From a0edaa039ad2c219da544b3b3c10490ace961de7 Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Thu, 12 Nov 2020 00:18:57 +0000 Subject: [PATCH 1/7] chore: update models as of 11/11 --- .../aws-models/amplify.2017-07-25.json | 1438 ++-- .../aws-models/auto-scaling.2011-01-01.json | 2056 +++--- .../aws-models/databrew.2017-07-25.json | 4811 +++++++++++++ .../aws-models/datasync.2018-11-09.json | 901 +-- .../aws-models/dynamodb.2012-08-10.json | 528 +- .../aws-models/ec2.2016-11-15.json | 84 +- .../aws-models/ecs.2014-11-13.json | 2941 ++++---- .../elastic-load-balancing-v2.2015-12-01.json | 1191 ++-- .../elasticsearch-service.2015-01-01.json | 232 + .../aws-models/forecast.2018-06-26.json | 1015 +-- .../aws-models/fsx.2018-03-01.json | 1299 ++-- .../aws-models/iotanalytics.2017-11-27.json | 1348 ++-- .../aws-models/macie2.2020-01-01.json | 2405 +++---- .../aws-models/mediaconvert.2017-08-29.json | 5849 ++++++++-------- .../aws-models/quicksight.2018-04-01.json | 5274 ++++++++------- .../sdk-codegen/aws-models/s3.2006-03-01.json | 6025 +++++++++-------- .../service-catalog.2015-12-10.json | 2824 ++++---- .../aws-models/ssm.2014-11-06.json | 12 +- .../storage-gateway.2013-06-30.json | 2542 +++---- 19 files changed, 24914 insertions(+), 17861 deletions(-) create mode 100644 codegen/sdk-codegen/aws-models/databrew.2017-07-25.json diff --git a/codegen/sdk-codegen/aws-models/amplify.2017-07-25.json b/codegen/sdk-codegen/aws-models/amplify.2017-07-25.json index 70f4dad095bc..10518e8f5206 100644 --- a/codegen/sdk-codegen/aws-models/amplify.2017-07-25.json +++ b/codegen/sdk-codegen/aws-models/amplify.2017-07-25.json @@ -192,29 +192,59 @@ "smithy.api#required": {} } }, - "autoBranchCreationPatterns": { - "target": "com.amazonaws.amplify#AutoBranchCreationPatterns", + "appArn": { + "target": "com.amazonaws.amplify#AppArn", "traits": { - "smithy.api#documentation": "

Describes the automated branch creation glob patterns for the Amplify app.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amplify app.

", + "smithy.api#required": {} } }, - "customRules": { - "target": "com.amazonaws.amplify#CustomRules", + "name": { + "target": "com.amazonaws.amplify#Name", "traits": { - "smithy.api#documentation": "

Describes the custom redirect and rewrite rules for the Amplify app.

" + "smithy.api#documentation": "

The name for the Amplify app.

", + "smithy.api#required": {} } }, - "environmentVariables": { - "target": "com.amazonaws.amplify#EnvironmentVariables", + "tags": { + "target": "com.amazonaws.amplify#TagMap", "traits": { - "smithy.api#documentation": "

The environment variables for the Amplify app.

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

The tag for the Amplify app.

" + } + }, + "description": { + "target": "com.amazonaws.amplify#Description", + "traits": { + "smithy.api#documentation": "

The description for the Amplify app.

", "smithy.api#required": {} } }, - "autoBranchCreationConfig": { - "target": "com.amazonaws.amplify#AutoBranchCreationConfig", + "repository": { + "target": "com.amazonaws.amplify#Repository", "traits": { - "smithy.api#documentation": "

Describes the automated branch creation configuration for the Amplify app.

" + "smithy.api#documentation": "

The repository for the Amplify app.

", + "smithy.api#required": {} + } + }, + "platform": { + "target": "com.amazonaws.amplify#Platform", + "traits": { + "smithy.api#documentation": "

The platform for the Amplify app.

", + "smithy.api#required": {} + } + }, + "createTime": { + "target": "com.amazonaws.amplify#CreateTime", + "traits": { + "smithy.api#documentation": "

Creates a date and time for the Amplify app.

", + "smithy.api#required": {} + } + }, + "updateTime": { + "target": "com.amazonaws.amplify#UpdateTime", + "traits": { + "smithy.api#documentation": "

Updates the date and time for the Amplify app.

", + "smithy.api#required": {} } }, "iamServiceRoleArn": { @@ -223,10 +253,11 @@ "smithy.api#documentation": "

The AWS Identity and Access Management (IAM) service role for the Amazon Resource\n Name (ARN) of the Amplify app.

" } }, - "enableAutoBranchCreation": { - "target": "com.amazonaws.amplify#EnableAutoBranchCreation", + "environmentVariables": { + "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

Enables automated branch creation for the Amplify app.

" + "smithy.api#documentation": "

The environment variables for the Amplify app.

", + "smithy.api#required": {} } }, "defaultDomain": { @@ -236,13 +267,6 @@ "smithy.api#required": {} } }, - "enableBasicAuth": { - "target": "com.amazonaws.amplify#EnableBasicAuth", - "traits": { - "smithy.api#documentation": "

Enables basic authorization for the Amplify app's branches.

", - "smithy.api#required": {} - } - }, "enableBranchAutoBuild": { "target": "com.amazonaws.amplify#EnableBranchAutoBuild", "traits": { @@ -250,38 +274,29 @@ "smithy.api#required": {} } }, - "repository": { - "target": "com.amazonaws.amplify#Repository", - "traits": { - "smithy.api#documentation": "

The repository for the Amplify app.

", - "smithy.api#required": {} - } - }, - "platform": { - "target": "com.amazonaws.amplify#Platform", + "enableBranchAutoDeletion": { + "target": "com.amazonaws.amplify#EnableBranchAutoDeletion", "traits": { - "smithy.api#documentation": "

The platform for the Amplify app.

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

Automatically disconnect a branch in the Amplify Console when you delete a branch\n from your Git repository.

" } }, - "description": { - "target": "com.amazonaws.amplify#Description", + "enableBasicAuth": { + "target": "com.amazonaws.amplify#EnableBasicAuth", "traits": { - "smithy.api#documentation": "

The description for the Amplify app.

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

Enables basic authorization for the Amplify app's branches.

", "smithy.api#required": {} } }, - "updateTime": { - "target": "com.amazonaws.amplify#UpdateTime", + "basicAuthCredentials": { + "target": "com.amazonaws.amplify#BasicAuthCredentials", "traits": { - "smithy.api#documentation": "

Updates the date and time for the Amplify app.

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

The basic authorization credentials for branches for the Amplify app.

" } }, - "tags": { - "target": "com.amazonaws.amplify#TagMap", + "customRules": { + "target": "com.amazonaws.amplify#CustomRules", "traits": { - "smithy.api#documentation": "

The tag for the Amplify app.

" + "smithy.api#documentation": "

Describes the custom redirect and rewrite rules for the Amplify app.

" } }, "productionBranch": { @@ -290,43 +305,34 @@ "smithy.api#documentation": "

Describes the information about a production branch of the Amplify app.

" } }, - "appArn": { - "target": "com.amazonaws.amplify#AppArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amplify app.

", - "smithy.api#required": {} - } - }, "buildSpec": { "target": "com.amazonaws.amplify#BuildSpec", "traits": { "smithy.api#documentation": "

Describes the content of the build specification (build spec) for the Amplify app.\n

" } }, - "basicAuthCredentials": { - "target": "com.amazonaws.amplify#BasicAuthCredentials", + "customHeaders": { + "target": "com.amazonaws.amplify#CustomHeaders", "traits": { - "smithy.api#documentation": "

The basic authorization credentials for branches for the Amplify app.

" + "smithy.api#documentation": "

Describes the custom HTTP headers for the Amplify app.

" } }, - "name": { - "target": "com.amazonaws.amplify#Name", + "enableAutoBranchCreation": { + "target": "com.amazonaws.amplify#EnableAutoBranchCreation", "traits": { - "smithy.api#documentation": "

The name for the Amplify app.

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

Enables automated branch creation for the Amplify app.

" } }, - "enableBranchAutoDeletion": { - "target": "com.amazonaws.amplify#EnableBranchAutoDeletion", + "autoBranchCreationPatterns": { + "target": "com.amazonaws.amplify#AutoBranchCreationPatterns", "traits": { - "smithy.api#documentation": "

Automatically disconnect a branch in the Amplify Console when you delete a branch\n from your Git repository.

" + "smithy.api#documentation": "

Describes the automated branch creation glob patterns for the Amplify app.

" } }, - "createTime": { - "target": "com.amazonaws.amplify#CreateTime", + "autoBranchCreationConfig": { + "target": "com.amazonaws.amplify#AutoBranchCreationConfig", "traits": { - "smithy.api#documentation": "

Creates a date and time for the Amplify app.

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

Describes the automated branch creation configuration for the Amplify app.

" } } }, @@ -348,8 +354,9 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 255 - } + "max": 20 + }, + "smithy.api#pattern": "d[a-z0-9]+" } }, "com.amazonaws.amplify#Apps": { @@ -361,17 +368,17 @@ "com.amazonaws.amplify#Artifact": { "type": "structure", "members": { - "artifactId": { - "target": "com.amazonaws.amplify#ArtifactId", + "artifactFileName": { + "target": "com.amazonaws.amplify#ArtifactFileName", "traits": { - "smithy.api#documentation": "

The unique ID for the artifact.

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

The file name for the artifact.

", "smithy.api#required": {} } }, - "artifactFileName": { - "target": "com.amazonaws.amplify#ArtifactFileName", + "artifactId": { + "target": "com.amazonaws.amplify#ArtifactId", "traits": { - "smithy.api#documentation": "

The file name for the artifact.

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

The unique ID for the artifact.

", "smithy.api#required": {} } } @@ -440,10 +447,16 @@ "com.amazonaws.amplify#AutoBranchCreationConfig": { "type": "structure", "members": { - "environmentVariables": { - "target": "com.amazonaws.amplify#EnvironmentVariables", + "stage": { + "target": "com.amazonaws.amplify#Stage", "traits": { - "smithy.api#documentation": "

The environment variables for the autocreated branch.

" + "smithy.api#documentation": "

Describes the current stage for the autocreated branch.

" + } + }, + "framework": { + "target": "com.amazonaws.amplify#Framework", + "traits": { + "smithy.api#documentation": "

The framework for the autocreated branch.

" } }, "enableAutoBuild": { @@ -452,10 +465,10 @@ "smithy.api#documentation": "

Enables auto building for the autocreated branch.

" } }, - "framework": { - "target": "com.amazonaws.amplify#Framework", + "environmentVariables": { + "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

The framework for the autocreated branch.

" + "smithy.api#documentation": "

The environment variables for the autocreated branch.

" } }, "basicAuthCredentials": { @@ -464,28 +477,28 @@ "smithy.api#documentation": "

The basic authorization credentials for the autocreated branch.

" } }, - "stage": { - "target": "com.amazonaws.amplify#Stage", + "enableBasicAuth": { + "target": "com.amazonaws.amplify#EnableBasicAuth", "traits": { - "smithy.api#documentation": "

Describes the current stage for the autocreated branch.

" + "smithy.api#documentation": "

Enables basic authorization for the autocreated branch.

" } }, - "buildSpec": { - "target": "com.amazonaws.amplify#BuildSpec", + "enablePerformanceMode": { + "target": "com.amazonaws.amplify#EnablePerformanceMode", "traits": { - "smithy.api#documentation": "

The build specification (build spec) for the autocreated branch.

" + "smithy.api#documentation": "

Enables performance mode for the branch.

\n

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

" } }, - "enablePerformanceMode": { - "target": "com.amazonaws.amplify#EnablePerformanceMode", + "buildSpec": { + "target": "com.amazonaws.amplify#BuildSpec", "traits": { - "smithy.api#documentation": "

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.

" + "smithy.api#documentation": "

The build specification (build spec) for the autocreated branch.

" } }, "enablePullRequestPreview": { "target": "com.amazonaws.amplify#EnablePullRequestPreview", "traits": { - "smithy.api#documentation": "

Enables pull request preview for the autocreated branch.

" + "smithy.api#documentation": "

Enables pull request previews for the autocreated branch.

" } }, "pullRequestEnvironmentName": { @@ -493,12 +506,6 @@ "traits": { "smithy.api#documentation": "

The Amplify environment name for the pull request.

" } - }, - "enableBasicAuth": { - "target": "com.amazonaws.amplify#EnableBasicAuth", - "traits": { - "smithy.api#documentation": "

Enables basic authorization for the autocreated branch.

" - } } }, "traits": { @@ -548,13 +555,6 @@ "com.amazonaws.amplify#BackendEnvironment": { "type": "structure", "members": { - "createTime": { - "target": "com.amazonaws.amplify#CreateTime", - "traits": { - "smithy.api#documentation": "

The creation date and time for a backend environment that is part of an Amplify app.\n

", - "smithy.api#required": {} - } - }, "backendEnvironmentArn": { "target": "com.amazonaws.amplify#BackendEnvironmentArn", "traits": { @@ -562,10 +562,10 @@ "smithy.api#required": {} } }, - "updateTime": { - "target": "com.amazonaws.amplify#UpdateTime", + "environmentName": { + "target": "com.amazonaws.amplify#EnvironmentName", "traits": { - "smithy.api#documentation": "

The last updated date and time for a backend environment that is part of an Amplify\n app.

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

The name for a backend environment that is part of an Amplify app.

", "smithy.api#required": {} } }, @@ -575,17 +575,24 @@ "smithy.api#documentation": "

The AWS CloudFormation stack name of a backend environment.

" } }, - "environmentName": { - "target": "com.amazonaws.amplify#EnvironmentName", + "deploymentArtifacts": { + "target": "com.amazonaws.amplify#DeploymentArtifacts", "traits": { - "smithy.api#documentation": "

The name for a backend environment that is part of an Amplify app.

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

The name of deployment artifacts.

" + } + }, + "createTime": { + "target": "com.amazonaws.amplify#CreateTime", + "traits": { + "smithy.api#documentation": "

The creation date and time for a backend environment that is part of an Amplify app.\n

", "smithy.api#required": {} } }, - "deploymentArtifacts": { - "target": "com.amazonaws.amplify#DeploymentArtifacts", + "updateTime": { + "target": "com.amazonaws.amplify#UpdateTime", "traits": { - "smithy.api#documentation": "

The name of deployment artifacts.

" + "smithy.api#documentation": "

The last updated date and time for a backend environment that is part of an Amplify\n app.

", + "smithy.api#required": {} } } }, @@ -634,100 +641,107 @@ "com.amazonaws.amplify#Branch": { "type": "structure", "members": { - "enableAutoBuild": { - "target": "com.amazonaws.amplify#EnableAutoBuild", + "branchArn": { + "target": "com.amazonaws.amplify#BranchArn", "traits": { - "smithy.api#documentation": "

Enables auto-building on push for a branch of an Amplify app.

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

The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.

", "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.amplify#TagMap", + "branchName": { + "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

The tag for the branch of an Amplify app.

" + "smithy.api#documentation": "

The name for the branch that is part of an Amplify app.

", + "smithy.api#required": {} } }, - "totalNumberOfJobs": { - "target": "com.amazonaws.amplify#TotalNumberOfJobs", + "description": { + "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "

The total number of jobs that are part of an Amplify app.

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

The description for the branch that is part of an Amplify app.

", "smithy.api#required": {} } }, - "sourceBranch": { - "target": "com.amazonaws.amplify#BranchName", + "tags": { + "target": "com.amazonaws.amplify#TagMap", "traits": { - "smithy.api#documentation": "

The source branch if the branch is a pull request branch.

" + "smithy.api#documentation": "

The tag for the branch of an Amplify app.

" } }, - "thumbnailUrl": { - "target": "com.amazonaws.amplify#ThumbnailUrl", + "stage": { + "target": "com.amazonaws.amplify#Stage", "traits": { - "smithy.api#documentation": "

The thumbnail URL for the branch of an Amplify app.

" + "smithy.api#documentation": "

The current stage for the branch that is part of an Amplify app.

", + "smithy.api#required": {} } }, - "pullRequestEnvironmentName": { - "target": "com.amazonaws.amplify#PullRequestEnvironmentName", + "displayName": { + "target": "com.amazonaws.amplify#DisplayName", "traits": { - "smithy.api#documentation": "

The Amplify environment name for the pull request.

" + "smithy.api#documentation": "

The display name for the branch. This is used as the default domain prefix.

", + "smithy.api#required": {} } }, - "destinationBranch": { - "target": "com.amazonaws.amplify#BranchName", + "enableNotification": { + "target": "com.amazonaws.amplify#EnableNotification", "traits": { - "smithy.api#documentation": "

The destination branch if the branch is a pull request branch.

" + "smithy.api#documentation": "

Enables notifications for a branch that is part of an Amplify app.

", + "smithy.api#required": {} } }, - "activeJobId": { - "target": "com.amazonaws.amplify#ActiveJobId", + "createTime": { + "target": "com.amazonaws.amplify#CreateTime", "traits": { - "smithy.api#documentation": "

The ID of the active job for a branch of an Amplify app.

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

The creation date and time for a branch that is part of an Amplify app.

", "smithy.api#required": {} } }, - "stage": { - "target": "com.amazonaws.amplify#Stage", + "updateTime": { + "target": "com.amazonaws.amplify#UpdateTime", "traits": { - "smithy.api#documentation": "

The current stage for the branch that is part of an Amplify app.

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

The last updated date and time for a branch that is part of an Amplify app.

", "smithy.api#required": {} } }, - "enablePerformanceMode": { - "target": "com.amazonaws.amplify#EnablePerformanceMode", + "environmentVariables": { + "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.

" + "smithy.api#documentation": "

The environment variables specific to a branch of an Amplify app.

", + "smithy.api#required": {} } }, - "associatedResources": { - "target": "com.amazonaws.amplify#AssociatedResources", + "enableAutoBuild": { + "target": "com.amazonaws.amplify#EnableAutoBuild", "traits": { - "smithy.api#documentation": "

A list of custom resources that are linked to this branch.

" + "smithy.api#documentation": "

Enables auto-building on push for a branch of an Amplify app.

", + "smithy.api#required": {} } }, - "createTime": { - "target": "com.amazonaws.amplify#CreateTime", + "customDomains": { + "target": "com.amazonaws.amplify#CustomDomains", "traits": { - "smithy.api#documentation": "

The creation date and time for a branch that is part of an Amplify app.

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

The custom domains for a branch of an Amplify app.

", "smithy.api#required": {} } }, - "buildSpec": { - "target": "com.amazonaws.amplify#BuildSpec", + "framework": { + "target": "com.amazonaws.amplify#Framework", "traits": { - "smithy.api#documentation": "

The build specification (build spec) content for the branch of an Amplify app.\n

" + "smithy.api#documentation": "

The framework for a branch of an Amplify app.

", + "smithy.api#required": {} } }, - "updateTime": { - "target": "com.amazonaws.amplify#UpdateTime", + "activeJobId": { + "target": "com.amazonaws.amplify#ActiveJobId", "traits": { - "smithy.api#documentation": "

The last updated date and time for a branch that is part of an Amplify app.

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

The ID of the active job for a branch of an Amplify app.

", "smithy.api#required": {} } }, - "framework": { - "target": "com.amazonaws.amplify#Framework", + "totalNumberOfJobs": { + "target": "com.amazonaws.amplify#TotalNumberOfJobs", "traits": { - "smithy.api#documentation": "

The framework for a branch of an Amplify app.

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

The total number of jobs that are part of an Amplify app.

", "smithy.api#required": {} } }, @@ -738,18 +752,16 @@ "smithy.api#required": {} } }, - "displayName": { - "target": "com.amazonaws.amplify#DisplayName", + "enablePerformanceMode": { + "target": "com.amazonaws.amplify#EnablePerformanceMode", "traits": { - "smithy.api#documentation": "

The display name for the branch. This is used as the default domain prefix.

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

Enables performance mode for the branch.

\n

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

" } }, - "description": { - "target": "com.amazonaws.amplify#Description", + "thumbnailUrl": { + "target": "com.amazonaws.amplify#ThumbnailUrl", "traits": { - "smithy.api#documentation": "

The description for the branch that is part of an Amplify app.

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

The thumbnail URL for the branch of an Amplify app.

" } }, "basicAuthCredentials": { @@ -758,53 +770,48 @@ "smithy.api#documentation": "

The basic authorization credentials for a branch of an Amplify app.

" } }, - "customDomains": { - "target": "com.amazonaws.amplify#CustomDomains", + "buildSpec": { + "target": "com.amazonaws.amplify#BuildSpec", "traits": { - "smithy.api#documentation": "

The custom domains for a branch of an Amplify app.

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

The build specification (build spec) content for the branch of an Amplify app.\n

" } }, - "environmentVariables": { - "target": "com.amazonaws.amplify#EnvironmentVariables", + "ttl": { + "target": "com.amazonaws.amplify#TTL", "traits": { - "smithy.api#documentation": "

The environment variables specific to a branch of an Amplify app.

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

The content Time to Live (TTL) for the website in seconds.

", "smithy.api#required": {} } }, - "enableNotification": { - "target": "com.amazonaws.amplify#EnableNotification", + "associatedResources": { + "target": "com.amazonaws.amplify#AssociatedResources", "traits": { - "smithy.api#documentation": "

Enables notifications for a branch that is part of an Amplify app.

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

A list of custom resources that are linked to this branch.

" } }, "enablePullRequestPreview": { "target": "com.amazonaws.amplify#EnablePullRequestPreview", "traits": { - "smithy.api#documentation": "

Enables pull request preview for the branch.

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

Enables pull request previews for the branch.

", "smithy.api#required": {} } }, - "branchArn": { - "target": "com.amazonaws.amplify#BranchArn", + "pullRequestEnvironmentName": { + "target": "com.amazonaws.amplify#PullRequestEnvironmentName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.

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

The Amplify environment name for the pull request.

" } }, - "branchName": { + "destinationBranch": { "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

The name for the branch that is part of an Amplify app.

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

The destination branch if the branch is a pull request branch.

" } }, - "ttl": { - "target": "com.amazonaws.amplify#TTL", + "sourceBranch": { + "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

The content Time to Live (TTL) for the website in seconds.

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

The source branch if the branch is a pull request branch.

" } }, "backendEnvironmentArn": { @@ -940,16 +947,11 @@ "com.amazonaws.amplify#CreateAppRequest": { "type": "structure", "members": { - "enableAutoBranchCreation": { - "target": "com.amazonaws.amplify#EnableAutoBranchCreation", - "traits": { - "smithy.api#documentation": "

Enables automated branch creation for the Amplify app.

" - } - }, - "enableBasicAuth": { - "target": "com.amazonaws.amplify#EnableBasicAuth", + "name": { + "target": "com.amazonaws.amplify#Name", "traits": { - "smithy.api#documentation": "

Enables basic authorization for an Amplify app. This will apply to all branches that\n are part of this app.

" + "smithy.api#documentation": "

The name for an Amplify app.

", + "smithy.api#required": {} } }, "description": { @@ -958,22 +960,40 @@ "smithy.api#documentation": "

The description for an Amplify app.

" } }, + "repository": { + "target": "com.amazonaws.amplify#Repository", + "traits": { + "smithy.api#documentation": "

The repository for an Amplify app.

" + } + }, "platform": { "target": "com.amazonaws.amplify#Platform", "traits": { "smithy.api#documentation": "

The platform or framework for an Amplify app.

" } }, + "iamServiceRoleArn": { + "target": "com.amazonaws.amplify#ServiceRoleArn", + "traits": { + "smithy.api#documentation": "

The AWS Identity and Access Management (IAM) service role for an Amplify app.

" + } + }, + "oauthToken": { + "target": "com.amazonaws.amplify#OauthToken", + "traits": { + "smithy.api#documentation": "

The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key. The OAuth token is not\n stored.

" + } + }, "accessToken": { "target": "com.amazonaws.amplify#AccessToken", "traits": { "smithy.api#documentation": "

The personal access token for a third-party source control system for an Amplify app.\n The personal access token is used to create a webhook and a read-only deploy key. The\n token is not stored.

" } }, - "repository": { - "target": "com.amazonaws.amplify#Repository", + "environmentVariables": { + "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

The repository for an Amplify app.

" + "smithy.api#documentation": "

The environment variables map for an Amplify app.

" } }, "enableBranchAutoBuild": { @@ -982,22 +1002,22 @@ "smithy.api#documentation": "

Enables the auto building of branches for an Amplify app.

" } }, - "tags": { - "target": "com.amazonaws.amplify#TagMap", + "enableBranchAutoDeletion": { + "target": "com.amazonaws.amplify#EnableBranchAutoDeletion", "traits": { - "smithy.api#documentation": "

The tag for an Amplify app.

" + "smithy.api#documentation": "

Automatically disconnects a branch in the Amplify Console when you delete a branch\n from your Git repository.

" } }, - "oauthToken": { - "target": "com.amazonaws.amplify#OauthToken", + "enableBasicAuth": { + "target": "com.amazonaws.amplify#EnableBasicAuth", "traits": { - "smithy.api#documentation": "

The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key. The OAuth token is not\n stored.

" + "smithy.api#documentation": "

Enables basic authorization for an Amplify app. This will apply to all branches that\n are part of this app.

" } }, - "autoBranchCreationPatterns": { - "target": "com.amazonaws.amplify#AutoBranchCreationPatterns", + "basicAuthCredentials": { + "target": "com.amazonaws.amplify#BasicAuthCredentials", "traits": { - "smithy.api#documentation": "

The automated branch creation glob patterns for the Amplify app.

" + "smithy.api#documentation": "

The credentials for basic authorization for an Amplify app.

" } }, "customRules": { @@ -1006,16 +1026,10 @@ "smithy.api#documentation": "

The custom rewrite and redirect rules for an Amplify app.

" } }, - "environmentVariables": { - "target": "com.amazonaws.amplify#EnvironmentVariables", - "traits": { - "smithy.api#documentation": "

The environment variables map for an Amplify app.

" - } - }, - "iamServiceRoleArn": { - "target": "com.amazonaws.amplify#ServiceRoleArn", + "tags": { + "target": "com.amazonaws.amplify#TagMap", "traits": { - "smithy.api#documentation": "

The AWS Identity and Access Management (IAM) service role for an Amplify app.

" + "smithy.api#documentation": "

The tag for an Amplify app.

" } }, "buildSpec": { @@ -1024,29 +1038,28 @@ "smithy.api#documentation": "

The build specification (build spec) for an Amplify app.

" } }, - "autoBranchCreationConfig": { - "target": "com.amazonaws.amplify#AutoBranchCreationConfig", + "customHeaders": { + "target": "com.amazonaws.amplify#CustomHeaders", "traits": { - "smithy.api#documentation": "

The automated branch creation configuration for the Amplify app.

" + "smithy.api#documentation": "

The custom HTTP headers for an Amplify app.

" } }, - "basicAuthCredentials": { - "target": "com.amazonaws.amplify#BasicAuthCredentials", + "enableAutoBranchCreation": { + "target": "com.amazonaws.amplify#EnableAutoBranchCreation", "traits": { - "smithy.api#documentation": "

The credentials for basic authorization for an Amplify app.

" + "smithy.api#documentation": "

Enables automated branch creation for an Amplify app.

" } }, - "name": { - "target": "com.amazonaws.amplify#Name", + "autoBranchCreationPatterns": { + "target": "com.amazonaws.amplify#AutoBranchCreationPatterns", "traits": { - "smithy.api#documentation": "

The name for the Amplify app.

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

The automated branch creation glob patterns for an Amplify app.

" } }, - "enableBranchAutoDeletion": { - "target": "com.amazonaws.amplify#EnableBranchAutoDeletion", + "autoBranchCreationConfig": { + "target": "com.amazonaws.amplify#AutoBranchCreationConfig", "traits": { - "smithy.api#documentation": "

Automatically disconnects a branch in the Amplify Console when you delete a branch\n from your Git repository.

" + "smithy.api#documentation": "

The automated branch creation configuration for an Amplify app.

" } } }, @@ -1117,17 +1130,17 @@ "smithy.api#required": {} } }, - "deploymentArtifacts": { - "target": "com.amazonaws.amplify#DeploymentArtifacts", - "traits": { - "smithy.api#documentation": "

The name of deployment artifacts.

" - } - }, "stackName": { "target": "com.amazonaws.amplify#StackName", "traits": { "smithy.api#documentation": "

The AWS CloudFormation stack name of a backend environment.

" } + }, + "deploymentArtifacts": { + "target": "com.amazonaws.amplify#DeploymentArtifacts", + "traits": { + "smithy.api#documentation": "

The name of deployment artifacts.

" + } } }, "traits": { @@ -1189,22 +1202,25 @@ "com.amazonaws.amplify#CreateBranchRequest": { "type": "structure", "members": { - "enableNotification": { - "target": "com.amazonaws.amplify#EnableNotification", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

Enables notifications for the branch.

" + "smithy.api#documentation": "

The unique ID for an Amplify app.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "enableBasicAuth": { - "target": "com.amazonaws.amplify#EnableBasicAuth", + "branchName": { + "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

Enables basic authorization for the branch.

" + "smithy.api#documentation": "

The name for the branch.

", + "smithy.api#required": {} } }, - "enablePerformanceMode": { - "target": "com.amazonaws.amplify#EnablePerformanceMode", + "description": { + "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.

" + "smithy.api#documentation": "

The description for the branch.

" } }, "stage": { @@ -1213,67 +1229,52 @@ "smithy.api#documentation": "

Describes the current stage for the branch.

" } }, - "enablePullRequestPreview": { - "target": "com.amazonaws.amplify#EnablePullRequestPreview", - "traits": { - "smithy.api#documentation": "

Enables pull request preview for this branch.

" - } - }, - "environmentVariables": { - "target": "com.amazonaws.amplify#EnvironmentVariables", - "traits": { - "smithy.api#documentation": "

The environment variables for the branch.

" - } - }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "framework": { + "target": "com.amazonaws.amplify#Framework", "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

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

The framework for the branch.

" } }, - "ttl": { - "target": "com.amazonaws.amplify#TTL", + "enableNotification": { + "target": "com.amazonaws.amplify#EnableNotification", "traits": { - "smithy.api#documentation": "

The content Time To Live (TTL) for the website in seconds.

" + "smithy.api#documentation": "

Enables notifications for the branch.

" } }, - "tags": { - "target": "com.amazonaws.amplify#TagMap", + "enableAutoBuild": { + "target": "com.amazonaws.amplify#EnableAutoBuild", "traits": { - "smithy.api#documentation": "

The tag for the branch.

" + "smithy.api#documentation": "

Enables auto building for the branch.

" } }, - "framework": { - "target": "com.amazonaws.amplify#Framework", + "environmentVariables": { + "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

The framework for the branch.

" + "smithy.api#documentation": "

The environment variables for the branch.

" } }, - "backendEnvironmentArn": { - "target": "com.amazonaws.amplify#BackendEnvironmentArn", + "basicAuthCredentials": { + "target": "com.amazonaws.amplify#BasicAuthCredentials", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.

" + "smithy.api#documentation": "

The basic authorization credentials for the branch.

" } }, - "description": { - "target": "com.amazonaws.amplify#Description", + "enableBasicAuth": { + "target": "com.amazonaws.amplify#EnableBasicAuth", "traits": { - "smithy.api#documentation": "

The description for the branch.

" + "smithy.api#documentation": "

Enables basic authorization for the branch.

" } }, - "basicAuthCredentials": { - "target": "com.amazonaws.amplify#BasicAuthCredentials", + "enablePerformanceMode": { + "target": "com.amazonaws.amplify#EnablePerformanceMode", "traits": { - "smithy.api#documentation": "

The basic authorization credentials for the branch.

" + "smithy.api#documentation": "

Enables performance mode for the branch.

\n

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

" } }, - "branchName": { - "target": "com.amazonaws.amplify#BranchName", + "tags": { + "target": "com.amazonaws.amplify#TagMap", "traits": { - "smithy.api#documentation": "

The name for the branch.

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

The tag for the branch.

" } }, "buildSpec": { @@ -1282,10 +1283,10 @@ "smithy.api#documentation": "

The build specification (build spec) for the branch.

" } }, - "enableAutoBuild": { - "target": "com.amazonaws.amplify#EnableAutoBuild", + "ttl": { + "target": "com.amazonaws.amplify#TTL", "traits": { - "smithy.api#documentation": "

Enables auto building for the branch.

" + "smithy.api#documentation": "

The content Time To Live (TTL) for the website in seconds.

" } }, "displayName": { @@ -1294,11 +1295,23 @@ "smithy.api#documentation": "

The display name for a branch. This is used as the default domain prefix.

" } }, + "enablePullRequestPreview": { + "target": "com.amazonaws.amplify#EnablePullRequestPreview", + "traits": { + "smithy.api#documentation": "

Enables pull request previews for this branch.

" + } + }, "pullRequestEnvironmentName": { "target": "com.amazonaws.amplify#PullRequestEnvironmentName", "traits": { "smithy.api#documentation": "

The Amplify environment name for the pull request.

" } + }, + "backendEnvironmentArn": { + "target": "com.amazonaws.amplify#BackendEnvironmentArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.

" + } } }, "traits": { @@ -1390,17 +1403,17 @@ "smithy.api#documentation": "

The job ID for this deployment. will supply to start deployment api.

" } }, - "zipUploadUrl": { - "target": "com.amazonaws.amplify#UploadUrl", + "fileUploadUrls": { + "target": "com.amazonaws.amplify#FileUploadUrls", "traits": { - "smithy.api#documentation": "

When the fileMap argument is not provided in the request, this\n zipUploadUrl is returned.

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

When the fileMap argument is provided in the request,\n fileUploadUrls will contain a map of file names to upload URLs.

", "smithy.api#required": {} } }, - "fileUploadUrls": { - "target": "com.amazonaws.amplify#FileUploadUrls", + "zipUploadUrl": { + "target": "com.amazonaws.amplify#UploadUrl", "traits": { - "smithy.api#documentation": "

When the fileMap argument is provided in the request,\n fileUploadUrls will contain a map of file names to upload URLs.

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

When the fileMap argument is not provided in the request, this\n zipUploadUrl is returned.

", "smithy.api#required": {} } } @@ -1449,6 +1462,14 @@ "com.amazonaws.amplify#CreateDomainAssociationRequest": { "type": "structure", "members": { + "appId": { + "target": "com.amazonaws.amplify#AppId", + "traits": { + "smithy.api#documentation": "

The unique ID for an Amplify app.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "domainName": { "target": "com.amazonaws.amplify#DomainName", "traits": { @@ -1456,6 +1477,12 @@ "smithy.api#required": {} } }, + "enableAutoSubDomain": { + "target": "com.amazonaws.amplify#EnableAutoSubDomain", + "traits": { + "smithy.api#documentation": "

Enables the automated creation of subdomains for branches.

" + } + }, "subDomainSettings": { "target": "com.amazonaws.amplify#SubDomainSettings", "traits": { @@ -1469,20 +1496,6 @@ "smithy.api#documentation": "

Sets the branch patterns for automatic subdomain creation.

" } }, - "appId": { - "target": "com.amazonaws.amplify#AppId", - "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "enableAutoSubDomain": { - "target": "com.amazonaws.amplify#EnableAutoSubDomain", - "traits": { - "smithy.api#documentation": "

Enables the automated creation of subdomains for branches.

" - } - }, "autoSubDomainIAMRole": { "target": "com.amazonaws.amplify#AutoSubDomainIAMRole", "traits": { @@ -1560,18 +1573,18 @@ "smithy.api#required": {} } }, - "description": { - "target": "com.amazonaws.amplify#Description", - "traits": { - "smithy.api#documentation": "

The description for a webhook.

" - } - }, "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { "smithy.api#documentation": "

The name for a branch that is part of an Amplify app.

", "smithy.api#required": {} } + }, + "description": { + "target": "com.amazonaws.amplify#Description", + "traits": { + "smithy.api#documentation": "

The description for a webhook.

" + } } }, "traits": { @@ -1614,20 +1627,30 @@ } } }, + "com.amazonaws.amplify#CustomHeaders": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 25000 + } + } + }, "com.amazonaws.amplify#CustomRule": { "type": "structure", "members": { - "target": { - "target": "com.amazonaws.amplify#Target", + "source": { + "target": "com.amazonaws.amplify#Source", "traits": { - "smithy.api#documentation": "

The target pattern for a URL rewrite or redirect rule.

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

The source pattern for a URL rewrite or redirect rule.

", "smithy.api#required": {} } }, - "condition": { - "target": "com.amazonaws.amplify#Condition", + "target": { + "target": "com.amazonaws.amplify#Target", "traits": { - "smithy.api#documentation": "

The condition for a URL rewrite or redirect rule, such as a country code.

" + "smithy.api#documentation": "

The target pattern for a URL rewrite or redirect rule.

", + "smithy.api#required": {} } }, "status": { @@ -1636,11 +1659,10 @@ "smithy.api#documentation": "

The status code for a URL rewrite or redirect rule.

\n \n
\n
200
\n
\n

Represents a 200 rewrite rule.

\n
\n
301
\n
\n

Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.

\n
\n
302
\n
\n

Represents a 302 temporary redirect rule.

\n
\n
404
\n
\n

Represents a 404 redirect rule.

\n
\n
404-200
\n
\n

Represents a 404 rewrite rule.

\n
\n
" } }, - "source": { - "target": "com.amazonaws.amplify#Source", + "condition": { + "target": "com.amazonaws.amplify#Condition", "traits": { - "smithy.api#documentation": "

The source pattern for a URL rewrite or redirect rule.

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

The condition for a URL rewrite or redirect rule, such as a country code.

" } } }, @@ -1846,18 +1868,18 @@ "com.amazonaws.amplify#DeleteBranchRequest": { "type": "structure", "members": { - "branchName": { - "target": "com.amazonaws.amplify#BranchName", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

The name for the branch.

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

The unique ID for an Amplify app.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "branchName": { + "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

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

The name for the branch.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1919,18 +1941,18 @@ "com.amazonaws.amplify#DeleteDomainAssociationRequest": { "type": "structure", "members": { - "domainName": { - "target": "com.amazonaws.amplify#DomainName", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

The name of the domain.

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

The unique id for an Amplify app.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "domainName": { + "target": "com.amazonaws.amplify#DomainName", "traits": { - "smithy.api#documentation": "

The unique id for an Amplify app.

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

The name of the domain.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1988,18 +2010,18 @@ "com.amazonaws.amplify#DeleteJobRequest": { "type": "structure", "members": { - "branchName": { - "target": "com.amazonaws.amplify#BranchName", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

The name for the branch, for the job.

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

The unique ID for an Amplify app.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "branchName": { + "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

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

The name for the branch, for the job.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2139,16 +2161,17 @@ "com.amazonaws.amplify#DomainAssociation": { "type": "structure", "members": { - "certificateVerificationDNSRecord": { - "target": "com.amazonaws.amplify#CertificateVerificationDNSRecord", + "domainAssociationArn": { + "target": "com.amazonaws.amplify#DomainAssociationArn", "traits": { - "smithy.api#documentation": "

The DNS record for certificate verification.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the domain association.

", + "smithy.api#required": {} } }, - "domainStatus": { - "target": "com.amazonaws.amplify#DomainStatus", + "domainName": { + "target": "com.amazonaws.amplify#DomainName", "traits": { - "smithy.api#documentation": "

The current status of the domain association.

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

The name of the domain.

", "smithy.api#required": {} } }, @@ -2159,45 +2182,44 @@ "smithy.api#required": {} } }, + "autoSubDomainCreationPatterns": { + "target": "com.amazonaws.amplify#AutoSubDomainCreationPatterns", + "traits": { + "smithy.api#documentation": "

Sets branch patterns for automatic subdomain creation.

" + } + }, "autoSubDomainIAMRole": { "target": "com.amazonaws.amplify#AutoSubDomainIAMRole", "traits": { "smithy.api#documentation": "

The required AWS Identity and Access Management (IAM) service role for the Amazon\n Resource Name (ARN) for automatically creating subdomains.

" } }, - "subDomains": { - "target": "com.amazonaws.amplify#SubDomains", + "domainStatus": { + "target": "com.amazonaws.amplify#DomainStatus", "traits": { - "smithy.api#documentation": "

The subdomains for the domain association.

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

The current status of the domain association.

", "smithy.api#required": {} } }, - "domainAssociationArn": { - "target": "com.amazonaws.amplify#DomainAssociationArn", + "statusReason": { + "target": "com.amazonaws.amplify#StatusReason", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the domain association.

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

The reason for the current status of the domain association.

", "smithy.api#required": {} } }, - "domainName": { - "target": "com.amazonaws.amplify#DomainName", + "certificateVerificationDNSRecord": { + "target": "com.amazonaws.amplify#CertificateVerificationDNSRecord", "traits": { - "smithy.api#documentation": "

The name of the domain.

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

The DNS record for certificate verification.

" } }, - "statusReason": { - "target": "com.amazonaws.amplify#StatusReason", + "subDomains": { + "target": "com.amazonaws.amplify#SubDomains", "traits": { - "smithy.api#documentation": "

The reason for the current status of the domain association.

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

The subdomains for the domain association.

", "smithy.api#required": {} } - }, - "autoSubDomainCreationPatterns": { - "target": "com.amazonaws.amplify#AutoSubDomainCreationPatterns", - "traits": { - "smithy.api#documentation": "

Sets branch patterns for automatic subdomain creation.

" - } } }, "traits": { @@ -2664,18 +2686,18 @@ "com.amazonaws.amplify#GetBackendEnvironmentRequest": { "type": "structure", "members": { - "environmentName": { - "target": "com.amazonaws.amplify#EnvironmentName", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

The name for the backend environment.

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

The unique id for an Amplify app.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "environmentName": { + "target": "com.amazonaws.amplify#EnvironmentName", "traits": { - "smithy.api#documentation": "

The unique id for an Amplify app.

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

The name for the backend environment.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3091,23 +3113,17 @@ "smithy.api#required": {} } }, - "endTime": { - "target": "com.amazonaws.amplify#EndTime", - "traits": { - "smithy.api#documentation": "

The end date and time for the job.

" - } - }, - "status": { - "target": "com.amazonaws.amplify#JobStatus", + "jobId": { + "target": "com.amazonaws.amplify#JobId", "traits": { - "smithy.api#documentation": "

The current status for the job.

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

The unique ID for the job.

", "smithy.api#required": {} } }, - "startTime": { - "target": "com.amazonaws.amplify#StartTime", + "commitId": { + "target": "com.amazonaws.amplify#CommitId", "traits": { - "smithy.api#documentation": "

The start date and time for the job.

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

The commit ID from a third-party repository provider for the job.

", "smithy.api#required": {} } }, @@ -3125,24 +3141,30 @@ "smithy.api#required": {} } }, - "jobId": { - "target": "com.amazonaws.amplify#JobId", + "startTime": { + "target": "com.amazonaws.amplify#StartTime", "traits": { - "smithy.api#documentation": "

The unique ID for the job.

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

The start date and time for the job.

", "smithy.api#required": {} } }, - "jobType": { - "target": "com.amazonaws.amplify#JobType", + "status": { + "target": "com.amazonaws.amplify#JobStatus", "traits": { - "smithy.api#documentation": "

The type for the job. If the value is RELEASE, the job was manually\n released from its source by using the StartJob API. If the value is\n RETRY, the job was manually retried using the StartJob\n API. If the value is WEB_HOOK, the job was automatically triggered by\n webhooks.

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

The current status for the job.

", "smithy.api#required": {} } }, - "commitId": { - "target": "com.amazonaws.amplify#CommitId", + "endTime": { + "target": "com.amazonaws.amplify#EndTime", "traits": { - "smithy.api#documentation": "

The commit ID from a third-party repository provider for the job.

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

The end date and time for the job.

" + } + }, + "jobType": { + "target": "com.amazonaws.amplify#JobType", + "traits": { + "smithy.api#documentation": "

The type for the job. If the value is RELEASE, the job was manually\n released from its source by using the StartJob API. If the value is\n RETRY, the job was manually retried using the StartJob\n API. If the value is WEB_HOOK, the job was automatically triggered by\n webhooks.

", "smithy.api#required": {} } } @@ -3225,19 +3247,19 @@ "com.amazonaws.amplify#ListAppsRequest": { "type": "structure", "members": { - "maxResults": { - "target": "com.amazonaws.amplify#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of records to list in a single response.

", - "smithy.api#httpQuery": "maxResults" - } - }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { "smithy.api#documentation": "

A pagination token. If non-null, the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.

", "smithy.api#httpQuery": "nextToken" } + }, + "maxResults": { + "target": "com.amazonaws.amplify#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of records to list in a single response.

", + "smithy.api#httpQuery": "maxResults" + } } }, "traits": { @@ -3299,11 +3321,12 @@ "com.amazonaws.amplify#ListArtifactsRequest": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.amplify#NextToken", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

A pagination token. Set to null to start listing artifacts from start. If a non-null\n pagination token is returned in a result, pass its value in here to list more artifacts.\n

", - "smithy.api#httpQuery": "nextToken" + "smithy.api#documentation": "

The unique ID for an Amplify app.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "branchName": { @@ -3314,13 +3337,6 @@ "smithy.api#required": {} } }, - "maxResults": { - "target": "com.amazonaws.amplify#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of records to list in a single response.

", - "smithy.api#httpQuery": "maxResults" - } - }, "jobId": { "target": "com.amazonaws.amplify#JobId", "traits": { @@ -3329,12 +3345,18 @@ "smithy.api#required": {} } }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "nextToken": { + "target": "com.amazonaws.amplify#NextToken", "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

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

A pagination token. Set to null to start listing artifacts from start. If a non-null\n pagination token is returned in a result, pass its value in here to list more artifacts.\n

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.amplify#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of records to list in a single response.

", + "smithy.api#httpQuery": "maxResults" } } }, @@ -3394,13 +3416,6 @@ "com.amazonaws.amplify#ListBackendEnvironmentsRequest": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.amplify#NextToken", - "traits": { - "smithy.api#documentation": "

A pagination token. Set to null to start listing backend environments from the start.\n If a non-null pagination token is returned in a result, pass its value in here to list\n more backend environments.

", - "smithy.api#httpQuery": "nextToken" - } - }, "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { @@ -3409,19 +3424,26 @@ "smithy.api#required": {} } }, - "maxResults": { - "target": "com.amazonaws.amplify#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of records to list in a single response.

", - "smithy.api#httpQuery": "maxResults" - } - }, "environmentName": { "target": "com.amazonaws.amplify#EnvironmentName", "traits": { "smithy.api#documentation": "

The name of the backend environment

", "smithy.api#httpQuery": "environmentName" } + }, + "nextToken": { + "target": "com.amazonaws.amplify#NextToken", + "traits": { + "smithy.api#documentation": "

A pagination token. Set to null to start listing backend environments from the start.\n If a non-null pagination token is returned in a result, pass its value in here to list\n more backend environments.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.amplify#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of records to list in a single response.

", + "smithy.api#httpQuery": "maxResults" + } } }, "traits": { @@ -3431,18 +3453,18 @@ "com.amazonaws.amplify#ListBackendEnvironmentsResult": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.amplify#NextToken", - "traits": { - "smithy.api#documentation": "

A pagination token. If a non-null pagination token is returned in a result, pass its\n value in another request to retrieve more entries.

" - } - }, "backendEnvironments": { "target": "com.amazonaws.amplify#BackendEnvironments", "traits": { "smithy.api#documentation": "

The list of backend environments for an Amplify app.

", "smithy.api#required": {} } + }, + "nextToken": { + "target": "com.amazonaws.amplify#NextToken", + "traits": { + "smithy.api#documentation": "

A pagination token. If a non-null pagination token is returned in a result, pass its\n value in another request to retrieve more entries.

" + } } }, "traits": { @@ -3480,6 +3502,14 @@ "com.amazonaws.amplify#ListBranchesRequest": { "type": "structure", "members": { + "appId": { + "target": "com.amazonaws.amplify#AppId", + "traits": { + "smithy.api#documentation": "

The unique ID for an Amplify app.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { @@ -3493,14 +3523,6 @@ "smithy.api#documentation": "

The maximum number of records to list in a single response.

", "smithy.api#httpQuery": "maxResults" } - }, - "appId": { - "target": "com.amazonaws.amplify#AppId", - "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } }, "traits": { @@ -3567,19 +3589,19 @@ "smithy.api#required": {} } }, - "maxResults": { - "target": "com.amazonaws.amplify#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of records to list in a single response.

", - "smithy.api#httpQuery": "maxResults" - } - }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { "smithy.api#documentation": "

A pagination token. Set to null to start listing apps from the start. If non-null, a\n pagination token is returned in a result. Pass its value in here to list more projects.\n

", "smithy.api#httpQuery": "nextToken" } + }, + "maxResults": { + "target": "com.amazonaws.amplify#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of records to list in a single response.

", + "smithy.api#httpQuery": "maxResults" + } } }, "traits": { @@ -3649,6 +3671,14 @@ "smithy.api#required": {} } }, + "branchName": { + "target": "com.amazonaws.amplify#BranchName", + "traits": { + "smithy.api#documentation": "

The name for a branch.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "nextToken": { "target": "com.amazonaws.amplify#NextToken", "traits": { @@ -3662,14 +3692,6 @@ "smithy.api#documentation": "

The maximum number of records to list in a single response.

", "smithy.api#httpQuery": "maxResults" } - }, - "branchName": { - "target": "com.amazonaws.amplify#BranchName", - "traits": { - "smithy.api#documentation": "

The name for a branch.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } }, "traits": { @@ -3679,18 +3701,18 @@ "com.amazonaws.amplify#ListJobsResult": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.amplify#NextToken", - "traits": { - "smithy.api#documentation": "

A pagination token. If non-null the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.

" - } - }, "jobSummaries": { "target": "com.amazonaws.amplify#JobSummaries", "traits": { "smithy.api#documentation": "

The result structure for the list job result request.

", "smithy.api#required": {} } + }, + "nextToken": { + "target": "com.amazonaws.amplify#NextToken", + "traits": { + "smithy.api#documentation": "

A pagination token. If non-null the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.

" + } } }, "traits": { @@ -3789,13 +3811,6 @@ "com.amazonaws.amplify#ListWebhooksRequest": { "type": "structure", "members": { - "maxResults": { - "target": "com.amazonaws.amplify#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of records to list in a single response.

", - "smithy.api#httpQuery": "maxResults" - } - }, "appId": { "target": "com.amazonaws.amplify#AppId", "traits": { @@ -3810,6 +3825,13 @@ "smithy.api#documentation": "

A pagination token. Set to null to start listing webhooks from the start. If\n non-null,the pagination token is returned in a result. Pass its value in here to list\n more webhooks.

", "smithy.api#httpQuery": "nextToken" } + }, + "maxResults": { + "target": "com.amazonaws.amplify#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of records to list in a single response.

", + "smithy.api#httpQuery": "maxResults" + } } }, "traits": { @@ -3819,18 +3841,18 @@ "com.amazonaws.amplify#ListWebhooksResult": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.amplify#NextToken", - "traits": { - "smithy.api#documentation": "

A pagination token. If non-null, the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.

" - } - }, "webhooks": { "target": "com.amazonaws.amplify#Webhooks", "traits": { "smithy.api#documentation": "

A list of webhooks.

", "smithy.api#required": {} } + }, + "nextToken": { + "target": "com.amazonaws.amplify#NextToken", + "traits": { + "smithy.api#documentation": "

A pagination token. If non-null, the pagination token is returned in a result. Pass\n its value in another request to retrieve more entries.

" + } } }, "traits": { @@ -3859,7 +3881,7 @@ "type": "integer", "traits": { "smithy.api#range": { - "min": 1, + "min": 0, "max": 100 } } @@ -3919,12 +3941,6 @@ "com.amazonaws.amplify#ProductionBranch": { "type": "structure", "members": { - "branchName": { - "target": "com.amazonaws.amplify#BranchName", - "traits": { - "smithy.api#documentation": "

The branch name for the production branch.

" - } - }, "lastDeployTime": { "target": "com.amazonaws.amplify#LastDeployTime", "traits": { @@ -3942,6 +3958,12 @@ "traits": { "smithy.api#documentation": "

The thumbnail URL for the production branch.

" } + }, + "branchName": { + "target": "com.amazonaws.amplify#BranchName", + "traits": { + "smithy.api#documentation": "

The branch name for the production branch.

" + } } }, "traits": { @@ -3975,14 +3997,14 @@ "com.amazonaws.amplify#ResourceNotFoundException": { "type": "structure", "members": { - "message": { - "target": "com.amazonaws.amplify#ErrorMessage", + "code": { + "target": "com.amazonaws.amplify#Code", "traits": { "smithy.api#required": {} } }, - "code": { - "target": "com.amazonaws.amplify#Code", + "message": { + "target": "com.amazonaws.amplify#ErrorMessage", "traits": { "smithy.api#required": {} } @@ -4103,24 +4125,18 @@ "com.amazonaws.amplify#StartDeploymentRequest": { "type": "structure", "members": { - "branchName": { - "target": "com.amazonaws.amplify#BranchName", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

The name for the branch, for the job.

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

The unique ID for an Amplify app.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "sourceUrl": { - "target": "com.amazonaws.amplify#SourceUrl", - "traits": { - "smithy.api#documentation": "

The source URL for this deployment, used when calling start deployment without create\n deployment. The source URL can be any HTTP GET URL that is publicly accessible and\n downloads a single .zip file.

" - } - }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "branchName": { + "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

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

The name for the branch, for the job.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4130,6 +4146,12 @@ "traits": { "smithy.api#documentation": "

The job ID for this deployment, generated by the create deployment request.

" } + }, + "sourceUrl": { + "target": "com.amazonaws.amplify#SourceUrl", + "traits": { + "smithy.api#documentation": "

The source URL for this deployment, used when calling start deployment without create\n deployment. The source URL can be any HTTP GET URL that is publicly accessible and\n downloads a single .zip file.

" + } } }, "traits": { @@ -4188,57 +4210,57 @@ "com.amazonaws.amplify#StartJobRequest": { "type": "structure", "members": { - "commitMessage": { - "target": "com.amazonaws.amplify#CommitMessage", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

The commit message from a third-party repository provider for the job.

" + "smithy.api#documentation": "

The unique ID for an Amplify app.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "jobReason": { - "target": "com.amazonaws.amplify#JobReason", + "branchName": { + "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

A descriptive reason for starting this job.

" + "smithy.api#documentation": "

The branch name for the job.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "commitId": { - "target": "com.amazonaws.amplify#CommitId", + "jobId": { + "target": "com.amazonaws.amplify#JobId", "traits": { - "smithy.api#documentation": "

The commit ID from a third-party repository provider for the job.

" + "smithy.api#documentation": "

The unique ID for an existing job. This is required if the value of\n jobType is RETRY.

" } }, - "commitTime": { - "target": "com.amazonaws.amplify#CommitTime", + "jobType": { + "target": "com.amazonaws.amplify#JobType", "traits": { - "smithy.api#documentation": "

The commit date and time for the job.

" + "smithy.api#documentation": "

Describes the type for the job. The job type RELEASE starts a new job\n with the latest change from the specified branch. This value is available only for apps\n that are connected to a repository. The job type RETRY retries an existing\n job. If the job type value is RETRY, the jobId is also\n required.

", + "smithy.api#required": {} } }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "jobReason": { + "target": "com.amazonaws.amplify#JobReason", "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

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

A descriptive reason for starting this job.

" } }, - "jobId": { - "target": "com.amazonaws.amplify#JobId", + "commitId": { + "target": "com.amazonaws.amplify#CommitId", "traits": { - "smithy.api#documentation": "

The unique ID for an existing job. This is required if the value of\n jobType is RETRY.

" + "smithy.api#documentation": "

The commit ID from a third-party repository provider for the job.

" } }, - "branchName": { - "target": "com.amazonaws.amplify#BranchName", + "commitMessage": { + "target": "com.amazonaws.amplify#CommitMessage", "traits": { - "smithy.api#documentation": "

The branch name for the job.

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

The commit message from a third-party repository provider for the job.

" } }, - "jobType": { - "target": "com.amazonaws.amplify#JobType", + "commitTime": { + "target": "com.amazonaws.amplify#CommitTime", "traits": { - "smithy.api#documentation": "

Describes the type for the job. The job type RELEASE starts a new job\n with the latest change from the specified branch. This value is available only for apps\n that are connected to a repository. The job type RETRY retries an existing\n job. If the job type value is RETRY, the jobId is also\n required.

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

The commit date and time for the job.

" } } }, @@ -4285,16 +4307,18 @@ "com.amazonaws.amplify#Step": { "type": "structure", "members": { - "logUrl": { - "target": "com.amazonaws.amplify#LogUrl", + "stepName": { + "target": "com.amazonaws.amplify#StepName", "traits": { - "smithy.api#documentation": "

The URL to the logs for the execution step.

" + "smithy.api#documentation": "

The name of the execution step.

", + "smithy.api#required": {} } }, - "testConfigUrl": { - "target": "com.amazonaws.amplify#TestConfigUrl", + "startTime": { + "target": "com.amazonaws.amplify#StartTime", "traits": { - "smithy.api#documentation": "

The URL to the test configuration for the execution step.

" + "smithy.api#documentation": "

The start date and time of the execution step.

", + "smithy.api#required": {} } }, "status": { @@ -4311,10 +4335,16 @@ "smithy.api#required": {} } }, - "screenshots": { - "target": "com.amazonaws.amplify#Screenshots", + "logUrl": { + "target": "com.amazonaws.amplify#LogUrl", "traits": { - "smithy.api#documentation": "

The list of screenshot URLs for the execution step, if relevant.

" + "smithy.api#documentation": "

The URL to the logs for the execution step.

" + } + }, + "artifactsUrl": { + "target": "com.amazonaws.amplify#ArtifactsUrl", + "traits": { + "smithy.api#documentation": "

The URL to the artifact for the execution step.

" } }, "testArtifactsUrl": { @@ -4323,17 +4353,16 @@ "smithy.api#documentation": "

The URL to the test artifact for the execution step.

" } }, - "startTime": { - "target": "com.amazonaws.amplify#StartTime", + "testConfigUrl": { + "target": "com.amazonaws.amplify#TestConfigUrl", "traits": { - "smithy.api#documentation": "

The start date and time of the execution step.

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

The URL to the test configuration for the execution step.

" } }, - "context": { - "target": "com.amazonaws.amplify#Context", + "screenshots": { + "target": "com.amazonaws.amplify#Screenshots", "traits": { - "smithy.api#documentation": "

The context for the current step. Includes a build image if the step is build.\n

" + "smithy.api#documentation": "

The list of screenshot URLs for the execution step, if relevant.

" } }, "statusReason": { @@ -4342,17 +4371,10 @@ "smithy.api#documentation": "

The reason for the current step status.

" } }, - "artifactsUrl": { - "target": "com.amazonaws.amplify#ArtifactsUrl", - "traits": { - "smithy.api#documentation": "

The URL to the artifact for the execution step.

" - } - }, - "stepName": { - "target": "com.amazonaws.amplify#StepName", + "context": { + "target": "com.amazonaws.amplify#Context", "traits": { - "smithy.api#documentation": "

The name of the execution step.

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

The context for the current step. Includes a build image if the step is build.\n

" } } }, @@ -4412,6 +4434,14 @@ "com.amazonaws.amplify#StopJobRequest": { "type": "structure", "members": { + "appId": { + "target": "com.amazonaws.amplify#AppId", + "traits": { + "smithy.api#documentation": "

The unique ID for an Amplify app.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { @@ -4427,14 +4457,6 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "appId": { - "target": "com.amazonaws.amplify#AppId", - "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } }, "traits": { @@ -4488,17 +4510,17 @@ "com.amazonaws.amplify#SubDomainSetting": { "type": "structure", "members": { - "branchName": { - "target": "com.amazonaws.amplify#BranchName", + "prefix": { + "target": "com.amazonaws.amplify#DomainPrefix", "traits": { - "smithy.api#documentation": "

The branch name setting for the subdomain.

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

The prefix setting for the subdomain.

", "smithy.api#required": {} } }, - "prefix": { - "target": "com.amazonaws.amplify#DomainPrefix", + "branchName": { + "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

The prefix setting for the subdomain.

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

The branch name setting for the subdomain.

", "smithy.api#required": {} } } @@ -4601,17 +4623,10 @@ "code": 200 } } - }, - "com.amazonaws.amplify#TagResourceRequest": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.amplify#TagMap", - "traits": { - "smithy.api#documentation": "

The tags used to tag the resource.

", - "smithy.api#required": {} - } - }, + }, + "com.amazonaws.amplify#TagResourceRequest": { + "type": "structure", + "members": { "resourceArn": { "target": "com.amazonaws.amplify#ResourceArn", "traits": { @@ -4619,6 +4634,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "tags": { + "target": "com.amazonaws.amplify#TagMap", + "traits": { + "smithy.api#documentation": "

The tags used to tag the resource.

", + "smithy.api#required": {} + } } }, "traits": { @@ -4801,28 +4823,18 @@ "com.amazonaws.amplify#UpdateAppRequest": { "type": "structure", "members": { - "accessToken": { - "target": "com.amazonaws.amplify#AccessToken", - "traits": { - "smithy.api#documentation": "

The personal access token for a third-party source control system for an Amplify app.\n The token is used to create webhook and a read-only deploy key. The token is not stored.\n

" - } - }, - "enableBranchAutoDeletion": { - "target": "com.amazonaws.amplify#EnableBranchAutoDeletion", - "traits": { - "smithy.api#documentation": "

Automatically disconnects a branch in the Amplify Console when you delete a branch\n from your Git repository.

" - } - }, - "enableBranchAutoBuild": { - "target": "com.amazonaws.amplify#EnableAutoBuild", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

Enables branch auto-building for an Amplify app.

" + "smithy.api#documentation": "

The unique ID for an Amplify app.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "repository": { - "target": "com.amazonaws.amplify#Repository", + "name": { + "target": "com.amazonaws.amplify#Name", "traits": { - "smithy.api#documentation": "

The name of the repository for an Amplify app

" + "smithy.api#documentation": "

The name for an Amplify app.

" } }, "description": { @@ -4831,10 +4843,10 @@ "smithy.api#documentation": "

The description for an Amplify app.

" } }, - "name": { - "target": "com.amazonaws.amplify#Name", + "platform": { + "target": "com.amazonaws.amplify#Platform", "traits": { - "smithy.api#documentation": "

The name for an Amplify app.

" + "smithy.api#documentation": "

The platform for an Amplify app.

" } }, "iamServiceRoleArn": { @@ -4849,10 +4861,28 @@ "smithy.api#documentation": "

The environment variables for an Amplify app.

" } }, - "autoBranchCreationConfig": { - "target": "com.amazonaws.amplify#AutoBranchCreationConfig", + "enableBranchAutoBuild": { + "target": "com.amazonaws.amplify#EnableAutoBuild", + "traits": { + "smithy.api#documentation": "

Enables branch auto-building for an Amplify app.

" + } + }, + "enableBranchAutoDeletion": { + "target": "com.amazonaws.amplify#EnableBranchAutoDeletion", + "traits": { + "smithy.api#documentation": "

Automatically disconnects a branch in the Amplify Console when you delete a branch\n from your Git repository.

" + } + }, + "enableBasicAuth": { + "target": "com.amazonaws.amplify#EnableBasicAuth", + "traits": { + "smithy.api#documentation": "

Enables basic authorization for an Amplify app.

" + } + }, + "basicAuthCredentials": { + "target": "com.amazonaws.amplify#BasicAuthCredentials", "traits": { - "smithy.api#documentation": "

The automated branch creation configuration for the Amplify app.

" + "smithy.api#documentation": "

The basic authorization credentials for an Amplify app.

" } }, "customRules": { @@ -4861,54 +4891,52 @@ "smithy.api#documentation": "

The custom redirect and rewrite rules for an Amplify app.

" } }, - "autoBranchCreationPatterns": { - "target": "com.amazonaws.amplify#AutoBranchCreationPatterns", + "buildSpec": { + "target": "com.amazonaws.amplify#BuildSpec", "traits": { - "smithy.api#documentation": "

Describes the automated branch creation glob patterns for the Amplify app.

" + "smithy.api#documentation": "

The build specification (build spec) for an Amplify app.

" } }, - "oauthToken": { - "target": "com.amazonaws.amplify#OauthToken", + "customHeaders": { + "target": "com.amazonaws.amplify#CustomHeaders", "traits": { - "smithy.api#documentation": "

The OAuth token for a third-party source control system for an Amplify app. The token\n is used to create a webhook and a read-only deploy key. The OAuth token is not stored.\n

" + "smithy.api#documentation": "

The custom HTTP headers for an Amplify app.

" } }, - "platform": { - "target": "com.amazonaws.amplify#Platform", + "enableAutoBranchCreation": { + "target": "com.amazonaws.amplify#EnableAutoBranchCreation", "traits": { - "smithy.api#documentation": "

The platform for an Amplify app.

" + "smithy.api#documentation": "

Enables automated branch creation for an Amplify app.

" } }, - "basicAuthCredentials": { - "target": "com.amazonaws.amplify#BasicAuthCredentials", + "autoBranchCreationPatterns": { + "target": "com.amazonaws.amplify#AutoBranchCreationPatterns", "traits": { - "smithy.api#documentation": "

The basic authorization credentials for an Amplify app.

" + "smithy.api#documentation": "

Describes the automated branch creation glob patterns for an Amplify app.

" } }, - "enableBasicAuth": { - "target": "com.amazonaws.amplify#EnableBasicAuth", + "autoBranchCreationConfig": { + "target": "com.amazonaws.amplify#AutoBranchCreationConfig", "traits": { - "smithy.api#documentation": "

Enables basic authorization for an Amplify app.

" + "smithy.api#documentation": "

The automated branch creation configuration for an Amplify app.

" } }, - "enableAutoBranchCreation": { - "target": "com.amazonaws.amplify#EnableAutoBranchCreation", + "repository": { + "target": "com.amazonaws.amplify#Repository", "traits": { - "smithy.api#documentation": "

Enables automated branch creation for the Amplify app.

" + "smithy.api#documentation": "

The name of the repository for an Amplify app

" } }, - "buildSpec": { - "target": "com.amazonaws.amplify#BuildSpec", + "oauthToken": { + "target": "com.amazonaws.amplify#OauthToken", "traits": { - "smithy.api#documentation": "

The build specification (build spec) for an Amplify app.

" + "smithy.api#documentation": "

The OAuth token for a third-party source control system for an Amplify app. The token\n is used to create a webhook and a read-only deploy key. The OAuth token is not stored.\n

" } }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "accessToken": { + "target": "com.amazonaws.amplify#AccessToken", "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

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

The personal access token for a third-party source control system for an Amplify app.\n The token is used to create webhook and a read-only deploy key. The token is not stored.\n

" } } }, @@ -4968,110 +4996,110 @@ "com.amazonaws.amplify#UpdateBranchRequest": { "type": "structure", "members": { - "enableNotification": { - "target": "com.amazonaws.amplify#EnableNotification", + "appId": { + "target": "com.amazonaws.amplify#AppId", "traits": { - "smithy.api#documentation": "

Enables notifications for the branch.

" + "smithy.api#documentation": "

The unique ID for an Amplify app.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "environmentVariables": { - "target": "com.amazonaws.amplify#EnvironmentVariables", + "branchName": { + "target": "com.amazonaws.amplify#BranchName", "traits": { - "smithy.api#documentation": "

The environment variables for the branch.

" + "smithy.api#documentation": "

The name for the branch.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "enableBasicAuth": { - "target": "com.amazonaws.amplify#EnableBasicAuth", + "description": { + "target": "com.amazonaws.amplify#Description", "traits": { - "smithy.api#documentation": "

Enables basic authorization for the branch.

" + "smithy.api#documentation": "

The description for the branch.

" } }, - "buildSpec": { - "target": "com.amazonaws.amplify#BuildSpec", + "framework": { + "target": "com.amazonaws.amplify#Framework", "traits": { - "smithy.api#documentation": "

The build specification (build spec) for the branch.

" + "smithy.api#documentation": "

The framework for the branch.

" } }, - "ttl": { - "target": "com.amazonaws.amplify#TTL", + "stage": { + "target": "com.amazonaws.amplify#Stage", "traits": { - "smithy.api#documentation": "

The content Time to Live (TTL) for the website in seconds.

" + "smithy.api#documentation": "

Describes the current stage for the branch.

" } }, - "backendEnvironmentArn": { - "target": "com.amazonaws.amplify#BackendEnvironmentArn", + "enableNotification": { + "target": "com.amazonaws.amplify#EnableNotification", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.

" + "smithy.api#documentation": "

Enables notifications for the branch.

" } }, - "appId": { - "target": "com.amazonaws.amplify#AppId", + "enableAutoBuild": { + "target": "com.amazonaws.amplify#EnableAutoBuild", "traits": { - "smithy.api#documentation": "

The unique ID for an Amplify app.

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

Enables auto building for the branch.

" } }, - "enablePerformanceMode": { - "target": "com.amazonaws.amplify#EnablePerformanceMode", + "environmentVariables": { + "target": "com.amazonaws.amplify#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.

" + "smithy.api#documentation": "

The environment variables for the branch.

" } }, - "framework": { - "target": "com.amazonaws.amplify#Framework", + "basicAuthCredentials": { + "target": "com.amazonaws.amplify#BasicAuthCredentials", "traits": { - "smithy.api#documentation": "

The framework for the branch.

" + "smithy.api#documentation": "

The basic authorization credentials for the branch.

" } }, - "enablePullRequestPreview": { - "target": "com.amazonaws.amplify#EnablePullRequestPreview", + "enableBasicAuth": { + "target": "com.amazonaws.amplify#EnableBasicAuth", "traits": { - "smithy.api#documentation": "

Enables pull request preview for this branch.

" + "smithy.api#documentation": "

Enables basic authorization for the branch.

" } }, - "stage": { - "target": "com.amazonaws.amplify#Stage", + "enablePerformanceMode": { + "target": "com.amazonaws.amplify#EnablePerformanceMode", "traits": { - "smithy.api#documentation": "

Describes the current stage for the branch.

" + "smithy.api#documentation": "

Enables performance mode for the branch.

\n

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

" } }, - "basicAuthCredentials": { - "target": "com.amazonaws.amplify#BasicAuthCredentials", + "buildSpec": { + "target": "com.amazonaws.amplify#BuildSpec", "traits": { - "smithy.api#documentation": "

The basic authorization credentials for the branch.

" + "smithy.api#documentation": "

The build specification (build spec) for the branch.

" } }, - "enableAutoBuild": { - "target": "com.amazonaws.amplify#EnableAutoBuild", + "ttl": { + "target": "com.amazonaws.amplify#TTL", "traits": { - "smithy.api#documentation": "

Enables auto building for the branch.

" + "smithy.api#documentation": "

The content Time to Live (TTL) for the website in seconds.

" } }, - "branchName": { - "target": "com.amazonaws.amplify#BranchName", + "displayName": { + "target": "com.amazonaws.amplify#DisplayName", "traits": { - "smithy.api#documentation": "

The name for the branch.

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

The display name for a branch. This is used as the default domain prefix.

" } }, - "pullRequestEnvironmentName": { - "target": "com.amazonaws.amplify#PullRequestEnvironmentName", + "enablePullRequestPreview": { + "target": "com.amazonaws.amplify#EnablePullRequestPreview", "traits": { - "smithy.api#documentation": "

The Amplify environment name for the pull request.

" + "smithy.api#documentation": "

Enables pull request previews for this branch.

" } }, - "description": { - "target": "com.amazonaws.amplify#Description", + "pullRequestEnvironmentName": { + "target": "com.amazonaws.amplify#PullRequestEnvironmentName", "traits": { - "smithy.api#documentation": "

The description for the branch.

" + "smithy.api#documentation": "

The Amplify environment name for the pull request.

" } }, - "displayName": { - "target": "com.amazonaws.amplify#DisplayName", + "backendEnvironmentArn": { + "target": "com.amazonaws.amplify#BackendEnvironmentArn", "traits": { - "smithy.api#documentation": "

The display name for a branch. This is used as the default domain prefix.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify\n app.

" } } }, @@ -5139,10 +5167,12 @@ "smithy.api#required": {} } }, - "autoSubDomainCreationPatterns": { - "target": "com.amazonaws.amplify#AutoSubDomainCreationPatterns", + "domainName": { + "target": "com.amazonaws.amplify#DomainName", "traits": { - "smithy.api#documentation": "

Sets the branch patterns for automatic subdomain creation.

" + "smithy.api#documentation": "

The name of the domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "enableAutoSubDomain": { @@ -5158,12 +5188,10 @@ "smithy.api#required": {} } }, - "domainName": { - "target": "com.amazonaws.amplify#DomainName", + "autoSubDomainCreationPatterns": { + "target": "com.amazonaws.amplify#AutoSubDomainCreationPatterns", "traits": { - "smithy.api#documentation": "

The name of the domain.

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

Sets the branch patterns for automatic subdomain creation.

" } }, "autoSubDomainIAMRole": { @@ -5240,17 +5268,17 @@ "smithy.api#required": {} } }, - "description": { - "target": "com.amazonaws.amplify#Description", - "traits": { - "smithy.api#documentation": "

The description for a webhook.

" - } - }, "branchName": { "target": "com.amazonaws.amplify#BranchName", "traits": { "smithy.api#documentation": "

The name for a branch that is part of an Amplify app.

" } + }, + "description": { + "target": "com.amazonaws.amplify#Description", + "traits": { + "smithy.api#documentation": "

The description for a webhook.

" + } } }, "traits": { @@ -5325,17 +5353,17 @@ "smithy.api#required": {} } }, - "updateTime": { - "target": "com.amazonaws.amplify#UpdateTime", + "createTime": { + "target": "com.amazonaws.amplify#CreateTime", "traits": { - "smithy.api#documentation": "

Updates the date and time for a webhook.

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

The create date and time for a webhook.

", "smithy.api#required": {} } }, - "createTime": { - "target": "com.amazonaws.amplify#CreateTime", + "updateTime": { + "target": "com.amazonaws.amplify#UpdateTime", "traits": { - "smithy.api#documentation": "

The create date and time for a webhook.

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

Updates the date and time for a webhook.

", "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.2011-01-01.json b/codegen/sdk-codegen/aws-models/auto-scaling.2011-01-01.json index 0f611d5416b7..54ee2e816f05 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling.2011-01-01.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling.2011-01-01.json @@ -69,12 +69,6 @@ "com.amazonaws.autoscaling#Activity": { "type": "structure", "members": { - "Description": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

A friendly, more verbose description of the activity.

" - } - }, "ActivityId": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { @@ -82,12 +76,6 @@ "smithy.api#required": {} } }, - "EndTime": { - "target": "com.amazonaws.autoscaling#TimestampType", - "traits": { - "smithy.api#documentation": "

The end time of the activity.

" - } - }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { @@ -95,10 +83,10 @@ "smithy.api#required": {} } }, - "Progress": { - "target": "com.amazonaws.autoscaling#Progress", + "Description": { + "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

A value between 0 and 100 that indicates the progress of the activity.

" + "smithy.api#documentation": "

A friendly, more verbose description of the activity.

" } }, "Cause": { @@ -108,16 +96,17 @@ "smithy.api#required": {} } }, - "StatusMessage": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "StartTime": { + "target": "com.amazonaws.autoscaling#TimestampType", "traits": { - "smithy.api#documentation": "

A friendly, more verbose description of the activity status.

" + "smithy.api#documentation": "

The start time of the activity.

", + "smithy.api#required": {} } }, - "Details": { - "target": "com.amazonaws.autoscaling#XmlString", + "EndTime": { + "target": "com.amazonaws.autoscaling#TimestampType", "traits": { - "smithy.api#documentation": "

The details about the activity.

" + "smithy.api#documentation": "

The end time of the activity.

" } }, "StatusCode": { @@ -127,11 +116,22 @@ "smithy.api#required": {} } }, - "StartTime": { - "target": "com.amazonaws.autoscaling#TimestampType", + "StatusMessage": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The start time of the activity.

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

A friendly, more verbose description of the activity status.

" + } + }, + "Progress": { + "target": "com.amazonaws.autoscaling#Progress", + "traits": { + "smithy.api#documentation": "

A value between 0 and 100 that indicates the progress of the activity.

" + } + }, + "Details": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

The details about the activity.

" } } }, @@ -179,17 +179,17 @@ "com.amazonaws.autoscaling#Alarm": { "type": "structure", "members": { - "AlarmARN": { - "target": "com.amazonaws.autoscaling#ResourceName", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the alarm.

" - } - }, "AlarmName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "

The name of the alarm.

" } + }, + "AlarmARN": { + "target": "com.amazonaws.autoscaling#ResourceName", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the alarm.

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

Attaches one or more EC2 instances to the specified Auto Scaling group.

\n

When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the\n number of instances being attached. If the number of instances being attached plus the\n desired capacity of the group exceeds the maximum size of the group, the operation\n fails.

\n

If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are\n also registered with the load balancer. If there are target groups attached to your Auto Scaling\n group, the instances are also registered with the target groups.

\n

For more information, see Attach EC2 Instances to\n Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Attaches one or more EC2 instances to the specified Auto Scaling group.

\n

When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the\n number of instances being attached. If the number of instances being attached plus the\n desired capacity of the group exceeds the maximum size of the group, the operation\n fails.

\n

If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are\n also registered with the load balancer. If there are target groups attached to your Auto Scaling\n group, the instances are also registered with the target groups.

\n

For more information, see Attach EC2 instances to\n your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#AttachInstancesQuery": { @@ -286,7 +286,7 @@ } ], "traits": { - "smithy.api#documentation": "

Attaches one or more target groups to the specified Auto Scaling group.

\n

To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from\n the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.

\n

With Application Load Balancers and Network Load Balancers, instances are registered\n as targets with a target group. With Classic Load Balancers, instances are registered\n with the load balancer. For more information, see Attaching a Load\n Balancer to Your Auto Scaling Group in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Attaches one or more target groups to the specified Auto Scaling group.

\n

To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from\n the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.

\n

With Application Load Balancers and Network Load Balancers, instances are registered\n as targets with a target group. With Classic Load Balancers, instances are registered\n with the load balancer. For more information, see Attaching a load\n balancer to your Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsResultType": { @@ -296,17 +296,17 @@ "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsType": { "type": "structure", "members": { - "TargetGroupARNs": { - "target": "com.amazonaws.autoscaling#TargetGroupARNs", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target\n groups.

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

The name of the Auto Scaling group.

", "smithy.api#required": {} } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "TargetGroupARNs": { + "target": "com.amazonaws.autoscaling#TargetGroupARNs", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target\n groups.

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

To attach an Application Load Balancer or a Network Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead.

\n
\n

Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling\n registers the running instances with these Classic Load Balancers.

\n

To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling\n group, call the DetachLoadBalancers API.

\n

For more information, see Attaching a Load\n Balancer to Your Auto Scaling Group in the\n Amazon EC2 Auto Scaling User Guide.

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

To attach an Application Load Balancer or a Network Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead.

\n
\n

Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling\n registers the running instances with these Classic Load Balancers.

\n

To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling\n group, call the DetachLoadBalancers API.

\n

For more information, see Attaching a load\n balancer to your Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#AttachLoadBalancersResultType": { @@ -358,16 +358,11 @@ "com.amazonaws.autoscaling#AutoScalingGroup": { "type": "structure", "members": { - "VPCZoneIdentifier": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen2047", - "traits": { - "smithy.api#documentation": "

One or more subnet IDs, if applicable, separated by commas.

" - } - }, - "EnabledMetrics": { - "target": "com.amazonaws.autoscaling#EnabledMetrics", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The metrics enabled for the group.

" + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} } }, "AutoScalingGroupARN": { @@ -376,68 +371,69 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Auto Scaling group.

" } }, - "DefaultCooldown": { - "target": "com.amazonaws.autoscaling#Cooldown", + "LaunchConfigurationName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The duration of the default cooldown period, in seconds.

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

The name of the associated launch configuration.

" } }, - "MaxSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", + "LaunchTemplate": { + "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", "traits": { - "smithy.api#documentation": "

The maximum size of the group.

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

The launch template for the group.

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "MixedInstancesPolicy": { + "target": "com.amazonaws.autoscaling#MixedInstancesPolicy", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

The mixed instances policy for the group.

" } }, - "TargetGroupARNs": { - "target": "com.amazonaws.autoscaling#TargetGroupARNs", + "MinSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the target groups for your load balancer.

" + "smithy.api#documentation": "

The minimum size of the group.

", + "smithy.api#required": {} } }, - "AvailabilityZones": { - "target": "com.amazonaws.autoscaling#AvailabilityZones", + "MaxSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { - "smithy.api#documentation": "

One or more Availability Zones for the group.

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

The maximum size of the group.

", "smithy.api#required": {} } }, - "Status": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "DesiredCapacity": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { - "smithy.api#documentation": "

The current state of the group when the DeleteAutoScalingGroup\n operation is in progress.

" + "smithy.api#documentation": "

The desired size of the group.

", + "smithy.api#required": {} } }, - "CapacityRebalance": { - "target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled", + "DefaultCooldown": { + "target": "com.amazonaws.autoscaling#Cooldown", "traits": { - "smithy.api#documentation": "

Indicates whether capacity rebalance is enabled.

" + "smithy.api#documentation": "

The duration of the default cooldown period, in seconds.

", + "smithy.api#required": {} } }, - "TerminationPolicies": { - "target": "com.amazonaws.autoscaling#TerminationPolicies", + "AvailabilityZones": { + "target": "com.amazonaws.autoscaling#AvailabilityZones", "traits": { - "smithy.api#documentation": "

The termination policies for the group.

" + "smithy.api#documentation": "

One or more Availability Zones for the group.

", + "smithy.api#required": {} } }, - "PlacementGroup": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "LoadBalancerNames": { + "target": "com.amazonaws.autoscaling#LoadBalancerNames", "traits": { - "smithy.api#documentation": "

The name of the placement group into which to launch your instances, if any.

" + "smithy.api#documentation": "

One or more load balancers associated with the group.

" } }, - "MaxInstanceLifetime": { - "target": "com.amazonaws.autoscaling#MaxInstanceLifetime", + "TargetGroupARNs": { + "target": "com.amazonaws.autoscaling#TargetGroupARNs", "traits": { - "smithy.api#documentation": "

The maximum amount of time, in seconds, that an instance can be in service.

\n

Valid Range: Minimum value of 0.

" + "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the target groups for your load balancer.

" } }, "HealthCheckType": { @@ -447,85 +443,89 @@ "smithy.api#required": {} } }, - "NewInstancesProtectedFromScaleIn": { - "target": "com.amazonaws.autoscaling#InstanceProtected", + "HealthCheckGracePeriod": { + "target": "com.amazonaws.autoscaling#HealthCheckGracePeriod", "traits": { - "smithy.api#documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in.

" + "smithy.api#documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service.

" } }, - "DesiredCapacity": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", + "Instances": { + "target": "com.amazonaws.autoscaling#Instances", "traits": { - "smithy.api#documentation": "

The desired size of the group.

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

The EC2 instances associated with the group.

" + } + }, + "CreatedTime": { + "target": "com.amazonaws.autoscaling#TimestampType", + "traits": { + "smithy.api#documentation": "

The date and time the group was created.

", "smithy.api#required": {} } }, - "ServiceLinkedRoleARN": { - "target": "com.amazonaws.autoscaling#ResourceName", + "SuspendedProcesses": { + "target": "com.amazonaws.autoscaling#SuspendedProcesses", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf.

" + "smithy.api#documentation": "

The suspended processes associated with the group.

" } }, - "MinSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", + "PlacementGroup": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The minimum size of the group.

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

The name of the placement group into which to launch your instances, if any.

" } }, - "LaunchTemplate": { - "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", + "VPCZoneIdentifier": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen2047", "traits": { - "smithy.api#documentation": "

The launch template for the group.

" + "smithy.api#documentation": "

One or more subnet IDs, if applicable, separated by commas.

" } }, - "Instances": { - "target": "com.amazonaws.autoscaling#Instances", + "EnabledMetrics": { + "target": "com.amazonaws.autoscaling#EnabledMetrics", "traits": { - "smithy.api#documentation": "

The EC2 instances associated with the group.

" + "smithy.api#documentation": "

The metrics enabled for the group.

" } }, - "CreatedTime": { - "target": "com.amazonaws.autoscaling#TimestampType", + "Status": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The date and time the group was created.

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

The current state of the group when the DeleteAutoScalingGroup\n operation is in progress.

" } }, - "HealthCheckGracePeriod": { - "target": "com.amazonaws.autoscaling#HealthCheckGracePeriod", + "Tags": { + "target": "com.amazonaws.autoscaling#TagDescriptionList", "traits": { - "smithy.api#documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service.

" + "smithy.api#documentation": "

The tags for the group.

" } }, - "MixedInstancesPolicy": { - "target": "com.amazonaws.autoscaling#MixedInstancesPolicy", + "TerminationPolicies": { + "target": "com.amazonaws.autoscaling#TerminationPolicies", "traits": { - "smithy.api#documentation": "

The mixed instances policy for the group.

" + "smithy.api#documentation": "

The termination policies for the group.

" } }, - "LoadBalancerNames": { - "target": "com.amazonaws.autoscaling#LoadBalancerNames", + "NewInstancesProtectedFromScaleIn": { + "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { - "smithy.api#documentation": "

One or more load balancers associated with the group.

" + "smithy.api#documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in.

" } }, - "Tags": { - "target": "com.amazonaws.autoscaling#TagDescriptionList", + "ServiceLinkedRoleARN": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The tags for the group.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf.

" } }, - "SuspendedProcesses": { - "target": "com.amazonaws.autoscaling#SuspendedProcesses", + "MaxInstanceLifetime": { + "target": "com.amazonaws.autoscaling#MaxInstanceLifetime", "traits": { - "smithy.api#documentation": "

The suspended processes associated with the group.

" + "smithy.api#documentation": "

The maximum amount of time, in seconds, that an instance can be in service.

\n

Valid Range: Minimum value of 0.

" } }, - "LaunchConfigurationName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "CapacityRebalance": { + "target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled", "traits": { - "smithy.api#documentation": "

The name of the associated launch configuration.

" + "smithy.api#documentation": "

Indicates whether Capacity Rebalancing is enabled.

" } } }, @@ -560,16 +560,16 @@ "com.amazonaws.autoscaling#AutoScalingGroupNamesType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", + "AutoScalingGroupNames": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupNames", "traits": { - "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + "smithy.api#documentation": "

The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can\n optionally increase this limit using the MaxRecords parameter.

\n

If you omit this parameter, all Auto Scaling groups are described.

" } }, - "AutoScalingGroupNames": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupNames", + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

The names of the Auto Scaling groups. Each name can be a maximum of 1600 characters. By\n default, you can only specify up to 50 names. You can optionally increase this limit\n using the MaxRecords parameter.

\n

If you omit this parameter, all Auto Scaling groups are described.

" + "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" } }, "MaxRecords": { @@ -589,41 +589,42 @@ "com.amazonaws.autoscaling#AutoScalingGroupsType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" - } - }, "AutoScalingGroups": { "target": "com.amazonaws.autoscaling#AutoScalingGroups", "traits": { "smithy.api#documentation": "

The groups.

", "smithy.api#required": {} } + }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" + } } } }, "com.amazonaws.autoscaling#AutoScalingInstanceDetails": { "type": "structure", "members": { - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "InstanceId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group for the instance.

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

The ID of the instance.

", "smithy.api#required": {} } }, - "WeightedCapacity": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", + "InstanceType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The number of capacity units contributed by the instance based on its instance\n type.

\n

Valid Range: Minimum value of 1. Maximum value of 999.

" + "smithy.api#documentation": "

The instance type of the EC2 instance.

" } }, - "InstanceType": { + "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The instance type of the EC2 instance.

" + "smithy.api#documentation": "

The name of the Auto Scaling group for the instance.

", + "smithy.api#required": {} } }, "AvailabilityZone": { @@ -633,10 +634,11 @@ "smithy.api#required": {} } }, - "LaunchTemplate": { - "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", + "LifecycleState": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { - "smithy.api#documentation": "

The launch template for the instance.

" + "smithy.api#documentation": "

The lifecycle state for the instance.

", + "smithy.api#required": {} } }, "HealthStatus": { @@ -646,18 +648,16 @@ "smithy.api#required": {} } }, - "LifecycleState": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", + "LaunchConfigurationName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The lifecycle state for the instance.

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

The launch configuration used to launch the instance. This value is not available if\n you attached the instance to the Auto Scaling group.

" } }, - "InstanceId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", + "LaunchTemplate": { + "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", "traits": { - "smithy.api#documentation": "

The ID of the instance.

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

The launch template for the instance.

" } }, "ProtectedFromScaleIn": { @@ -667,10 +667,10 @@ "smithy.api#required": {} } }, - "LaunchConfigurationName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "WeightedCapacity": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { - "smithy.api#documentation": "

The launch configuration used to launch the instance. This value is not available if\n you attached the instance to the Auto Scaling group.

" + "smithy.api#documentation": "

The number of capacity units contributed by the instance based on its instance\n type.

\n

Valid Range: Minimum value of 1. Maximum value of 999.

" } } }, @@ -996,17 +996,17 @@ "com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupActionType": { "type": "structure", "members": { - "ScheduledUpdateGroupActions": { - "target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequests", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

One or more scheduled actions. The maximum number allowed is 50.

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

The name of the Auto Scaling group.

", "smithy.api#required": {} } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "ScheduledUpdateGroupActions": { + "target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequests", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

One or more scheduled actions. The maximum number allowed is 50.

", "smithy.api#required": {} } } @@ -1056,6 +1056,12 @@ "com.amazonaws.autoscaling#BlockDeviceMapping": { "type": "structure", "members": { + "VirtualName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "traits": { + "smithy.api#documentation": "

The name of the virtual device (for example, ephemeral0).

\n

You can specify either VirtualName or Ebs, but not\n both.

" + } + }, "DeviceName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { @@ -1074,12 +1080,6 @@ "traits": { "smithy.api#documentation": "

Setting this value to true suppresses the specified device included in\n the block device mapping of the AMI.

\n

If NoDevice is true for the root device, instances might\n fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

\n

If you specify NoDevice, you cannot specify Ebs.

" } - }, - "VirtualName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The name of the virtual device (for example, ephemeral0).

\n

You can specify either VirtualName or Ebs, but not\n both.

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

Completes the lifecycle action for the specified token or instance with the specified\n result.

\n

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.

    \n
  2. \n
  3. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.

    \n
  4. \n
  5. \n

    Create the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.

    \n
  6. \n
  7. \n

    If you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state.

    \n
  8. \n
  9. \n

    \n If you finish before the timeout period ends, complete\n the lifecycle action.\n

    \n
  10. \n
\n

For more information, see Amazon EC2 Auto Scaling Lifecycle\n Hooks in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Completes the lifecycle action for the specified token or instance with the specified\n result.

\n

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.

    \n
  2. \n
  3. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.

    \n
  4. \n
  5. \n

    Create the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.

    \n
  6. \n
  7. \n

    If you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state.

    \n
  8. \n
  9. \n

    \n If you finish before the timeout period ends, complete\n the lifecycle action.\n

    \n
  10. \n
\n

For more information, see Amazon EC2 Auto Scaling lifecycle\n hooks in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#CompleteLifecycleActionAnswer": { @@ -1174,23 +1174,17 @@ "com.amazonaws.autoscaling#CompleteLifecycleActionType": { "type": "structure", "members": { - "LifecycleActionResult": { - "target": "com.amazonaws.autoscaling#LifecycleActionResult", + "LifecycleHookName": { + "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { - "smithy.api#documentation": "

The action for the group to take. This parameter can be either CONTINUE\n or ABANDON.

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

The name of the lifecycle hook.

", "smithy.api#required": {} } }, - "InstanceId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", - "traits": { - "smithy.api#documentation": "

The ID of the instance.

" - } - }, - "LifecycleHookName": { - "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the lifecycle hook.

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

The name of the Auto Scaling group.

", "smithy.api#required": {} } }, @@ -1200,12 +1194,18 @@ "smithy.api#documentation": "

A universally unique identifier (UUID) that identifies a specific lifecycle action\n associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you\n specified when you created the lifecycle hook.

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "LifecycleActionResult": { + "target": "com.amazonaws.autoscaling#LifecycleActionResult", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

The action for the group to take. This parameter can be either CONTINUE\n or ABANDON.

", "smithy.api#required": {} } + }, + "InstanceId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", + "traits": { + "smithy.api#documentation": "

The ID of the instance.

" + } } } }, @@ -1235,151 +1235,151 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Auto Scaling group with the specified name and attributes.

\n

If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,\n call the DescribeAccountLimits API. For information about updating\n this limit, see Amazon EC2 Auto Scaling Service\n Quotas in the Amazon EC2 Auto Scaling User Guide.

\n

For introductory exercises for creating an Auto Scaling group, see Getting Started with\n Amazon EC2 Auto Scaling and Tutorial: Set Up a\n Scaled and Load-Balanced Application in the\n Amazon EC2 Auto Scaling User Guide. For more information, see Auto Scaling\n Groups in the Amazon EC2 Auto Scaling User Guide.

\n

Every Auto Scaling group has three size parameters (DesiredCapacity,\n MaxSize, and MinSize). Usually, you set these sizes based\n on a specific number of instances. However, if you configure a mixed instances policy\n that defines weights for the instance types, you must specify these sizes with the same\n units that you use for weighting instances.

" + "smithy.api#documentation": "

Creates an Auto Scaling group with the specified name and attributes.

\n

If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,\n call the DescribeAccountLimits API. For information about updating\n this limit, see Amazon EC2 Auto Scaling service\n quotas in the Amazon EC2 Auto Scaling User Guide.

\n

For introductory exercises for creating an Auto Scaling group, see Getting started with\n Amazon EC2 Auto Scaling and Tutorial: Set up a\n scaled and load-balanced application in the\n Amazon EC2 Auto Scaling User Guide. For more information, see Auto Scaling\n groups in the Amazon EC2 Auto Scaling User Guide.

\n

Every Auto Scaling group has three size parameters (DesiredCapacity,\n MaxSize, and MinSize). Usually, you set these sizes based\n on a specific number of instances. However, if you configure a mixed instances policy\n that defines weights for the instance types, you must specify these sizes with the same\n units that you use for weighting instances.

" } }, "com.amazonaws.autoscaling#CreateAutoScalingGroupType": { "type": "structure", "members": { - "NewInstancesProtectedFromScaleIn": { - "target": "com.amazonaws.autoscaling#InstanceProtected", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in.

\n

For more information about preventing instances from terminating on scale in, see\n Instance Protection in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The name of the Auto Scaling group. This name must be unique per Region per account.

", + "smithy.api#required": {} } }, - "DesiredCapacity": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", + "LaunchConfigurationName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The desired capacity is the initial capacity of the Auto Scaling group at the time of its\n creation and the capacity it attempts to maintain. It can scale beyond this capacity if\n you configure automatic scaling.

\n

This number must be greater than or equal to the minimum size of the group and less\n than or equal to the maximum size of the group. If you do not specify a desired\n capacity, the default is the minimum size of the group.

" + "smithy.api#documentation": "

The name of the launch configuration to use to launch instances.

\n

Conditional: You must specify either a launch template (LaunchTemplate or\n MixedInstancesPolicy) or a launch configuration\n (LaunchConfigurationName or InstanceId).

" } }, - "MaxSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", + "LaunchTemplate": { + "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", "traits": { - "smithy.api#documentation": "

The maximum size of the group.

\n \n

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to\n go above MaxSize to meet your capacity requirements. In this event,\n Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance\n weight (weights that define how many units each instance contributes to the desired\n capacity of the group).

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

Parameters used to specify the launch\n template and version to use to launch instances.

\n

Conditional: You must specify either a launch template (LaunchTemplate or\n MixedInstancesPolicy) or a launch configuration\n (LaunchConfigurationName or InstanceId).

\n \n

The launch template that is specified must be configured for use with an Auto Scaling\n group. For more information, see Creating a launch\n template for an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.

\n
" } }, - "DefaultCooldown": { - "target": "com.amazonaws.autoscaling#Cooldown", + "MixedInstancesPolicy": { + "target": "com.amazonaws.autoscaling#MixedInstancesPolicy", "traits": { - "smithy.api#documentation": "

The amount of time, in seconds, after a scaling activity completes before another\n scaling activity can start. The default value is 300.

\n

This setting applies when using simple scaling policies, but not when using other\n scaling policies or scheduled scaling. For more information, see Scaling Cooldowns\n for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

An embedded object that specifies a mixed instances policy. The required parameters\n must be specified. If optional parameters are unspecified, their default values are\n used.

\n

The policy includes parameters that not only define the distribution of On-Demand\n Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the\n Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the\n parameters that specify the instance configuration information—the launch template and\n instance types. The policy can also include a weight for each instance type. For more\n information, see Auto Scaling groups with multiple\n instance types and purchase options in the Amazon EC2 Auto Scaling User\n Guide.

\n

Conditional: You must specify either a launch template (LaunchTemplate or\n MixedInstancesPolicy) or a launch configuration\n (LaunchConfigurationName or InstanceId).

" } }, - "HealthCheckType": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", + "InstanceId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { - "smithy.api#documentation": "

The service to use for the health checks. The valid values are EC2 and\n ELB. The default value is EC2. If you configure an Auto Scaling\n group to use ELB health checks, it considers the instance unhealthy if it fails either\n the EC2 status checks or the load balancer health checks.

\n

For more information, see Health Checks for Auto Scaling\n Instances in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The ID of the instance used to base the launch configuration on. If specified, Amazon\n EC2 Auto Scaling uses the configuration values from the specified instance to create a\n new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the\n Amazon EC2 Auto Scaling User Guide.

" } }, - "Tags": { - "target": "com.amazonaws.autoscaling#Tags", + "MinSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { - "smithy.api#documentation": "

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2\n instances it launches.

\n

Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the\n tags in a launch template but use caution. If the launch template specifies an instance\n tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value\n of that instance tag with the value specified by the Auto Scaling group.

\n

For more information, see Tagging Auto Scaling Groups and\n Instances in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The minimum size of the group.

", + "smithy.api#required": {} } }, - "LaunchTemplate": { - "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", + "MaxSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { - "smithy.api#documentation": "

Parameters used to specify the launch template and version to use when an instance is\n launched.

\n

For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API\n Reference.

\n

You can alternatively associate a launch template to the Auto Scaling group by using the\n MixedInstancesPolicy parameter.

\n

You must specify one of the following parameters in your request:\n LaunchConfigurationName, LaunchTemplate,\n InstanceId, or MixedInstancesPolicy.

" + "smithy.api#documentation": "

The maximum size of the group.

\n \n

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to\n go above MaxSize to meet your capacity requirements. In this event,\n Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance\n weight (weights that define how many units each instance contributes to the desired\n capacity of the group).

\n
", + "smithy.api#required": {} } }, - "LifecycleHookSpecificationList": { - "target": "com.amazonaws.autoscaling#LifecycleHookSpecifications", + "DesiredCapacity": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { - "smithy.api#documentation": "

One or more lifecycle hooks.

" + "smithy.api#documentation": "

The desired capacity is the initial capacity of the Auto Scaling group at the time of its\n creation and the capacity it attempts to maintain. It can scale beyond this capacity if\n you configure auto scaling. This number must be greater than or equal to the minimum\n size of the group and less than or equal to the maximum size of the group. If you do not\n specify a desired capacity, the default is the minimum size of the group.

" } }, - "InstanceId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", + "DefaultCooldown": { + "target": "com.amazonaws.autoscaling#Cooldown", "traits": { - "smithy.api#documentation": "

The ID of the instance used to create a launch configuration for the group. To get the\n instance ID, use the Amazon EC2 DescribeInstances API operation.

\n

When you specify an ID of an instance, Amazon EC2 Auto Scaling creates a new launch configuration and\n associates it with the group. This launch configuration derives its attributes from the\n specified instance, except for the block device mapping.

\n

You must specify one of the following parameters in your request:\n LaunchConfigurationName, LaunchTemplate,\n InstanceId, or MixedInstancesPolicy.

" + "smithy.api#documentation": "

The amount of time, in seconds, after a scaling activity completes before another\n scaling activity can start. The default value is 300. This setting applies\n when using simple scaling policies, but not when using other scaling policies or\n scheduled scaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling\n in the Amazon EC2 Auto Scaling User Guide.

" } }, - "PlacementGroup": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "AvailabilityZones": { + "target": "com.amazonaws.autoscaling#AvailabilityZones", "traits": { - "smithy.api#documentation": "

The name of the placement group into which to launch your instances, if any. A\n placement group is a logical grouping of instances within a single Availability Zone.\n You cannot specify multiple Availability Zones and a placement group. For more\n information, see Placement Groups in the\n Amazon EC2 User Guide for Linux Instances.

" + "smithy.api#documentation": "

A list of Availability Zones where instances in the Auto Scaling group can be created. This\n parameter is optional if you specify one or more subnets for\n VPCZoneIdentifier.

\n

Conditional: If your account supports EC2-Classic and VPC, this parameter is required\n to launch instances into EC2-Classic.

" } }, - "VPCZoneIdentifier": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen2047", + "LoadBalancerNames": { + "target": "com.amazonaws.autoscaling#LoadBalancerNames", "traits": { - "smithy.api#documentation": "

A comma-separated list of subnet IDs for your virtual private cloud (VPC).

\n

If you specify VPCZoneIdentifier with AvailabilityZones, the\n subnets that you specify for this parameter must reside in those Availability\n Zones.

\n

Conditional: If your account supports EC2-Classic and VPC, this parameter is required\n to launch instances into a VPC.

" + "smithy.api#documentation": "

A list of Classic Load Balancers associated with this Auto Scaling group. For\n Application Load Balancers and Network Load Balancers, specify\n TargetGroupARNs instead.

" } }, "TargetGroupARNs": { "target": "com.amazonaws.autoscaling#TargetGroupARNs", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group.\n Instances are registered as targets in a target group, and traffic is routed to the\n target group.

\n

For more information, see Using a Load Balancer\n with an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

" - } - }, - "MaxInstanceLifetime": { - "target": "com.amazonaws.autoscaling#MaxInstanceLifetime", - "traits": { - "smithy.api#documentation": "

The maximum amount of time, in seconds, that an instance can be in service. The\n default is null.

\n

This parameter is optional, but if you specify a value for it, you must specify a\n value of at least 604,800 seconds (7 days). To clear a previously set value, specify a\n new value of 0.

\n

For more information, see Replacing Auto Scaling\n Instances Based on Maximum Instance Lifetime in the\n Amazon EC2 Auto Scaling User Guide.

\n

Valid Range: Minimum value of 0.

" + "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group.\n Instances are registered as targets in a target group, and traffic is routed to the\n target group. For more information, see Elastic Load\n Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" } }, - "MixedInstancesPolicy": { - "target": "com.amazonaws.autoscaling#MixedInstancesPolicy", + "HealthCheckType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { - "smithy.api#documentation": "

An embedded object that specifies a mixed instances policy. The required parameters\n must be specified. If optional parameters are unspecified, their default values are\n used.

\n

The policy includes parameters that not only define the distribution of On-Demand\n Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the\n Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacity, but also the\n parameters that specify the instance configuration information—the launch template and\n instance types.

\n \n

For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and\n Auto Scaling Groups with Multiple\n Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User\n Guide.

\n

You must specify one of the following parameters in your request:\n LaunchConfigurationName, LaunchTemplate,\n InstanceId, or MixedInstancesPolicy.

" + "smithy.api#documentation": "

The service to use for the health checks. The valid values are EC2\n (default) and ELB. If you configure an Auto Scaling group to use load balancer\n (ELB) health checks, it considers the instance unhealthy if it fails either the EC2\n status checks or the load balancer health checks. For more information, see Health checks\n for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

" } }, "HealthCheckGracePeriod": { "target": "com.amazonaws.autoscaling#HealthCheckGracePeriod", "traits": { - "smithy.api#documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service. During this time, any health check\n failures for the instance are ignored. The default value is 0.

\n

For more information, see Health\n Check Grace Period in the Amazon EC2 Auto Scaling User Guide.

\n

Required if you are adding an ELB health check.

" + "smithy.api#documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service. During this time, any health check\n failures for the instance are ignored. The default value is 0. For more\n information, see Health\n check grace period in the Amazon EC2 Auto Scaling User Guide.

\n

Conditional: Required if you are adding an ELB health check.

" } }, - "LaunchConfigurationName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "PlacementGroup": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the launch configuration to use when an instance is launched. To get the\n launch configuration name, use the DescribeLaunchConfigurations API\n operation. New launch configurations can be created with the CreateLaunchConfiguration API.

\n

You must specify one of the following parameters in your request:\n LaunchConfigurationName, LaunchTemplate,\n InstanceId, or MixedInstancesPolicy.

" + "smithy.api#documentation": "

The name of an existing placement group into which to launch your instances, if any. A\n placement group is a logical grouping of instances within a single Availability Zone.\n You cannot specify multiple Availability Zones and a placement group. For more\n information, see Placement Groups in the\n Amazon EC2 User Guide for Linux Instances.

" } }, - "CapacityRebalance": { - "target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled", + "VPCZoneIdentifier": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen2047", "traits": { - "smithy.api#documentation": "

Indicates whether capacity rebalance is enabled. Otherwise, capacity rebalance is\n disabled.

\n

You can enable capacity rebalancing for your Auto Scaling groups when using Spot Instances.\n When you turn on capacity rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance\n whenever Amazon EC2 predicts that a Spot Instance is at an elevated risk of interruption.\n After launching a new instance, it then terminates an old instance. For more\n information, see Amazon EC2 Auto Scaling capacity\n rebalancing in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances\n in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with\n AvailabilityZones, the subnets that you specify for this parameter must\n reside in those Availability Zones.

\n

Conditional: If your account supports EC2-Classic and VPC, this parameter is required\n to launch instances into a VPC.

" } }, "TerminationPolicies": { "target": "com.amazonaws.autoscaling#TerminationPolicies", "traits": { - "smithy.api#documentation": "

One or more termination policies used to select the instance to terminate. These\n policies are executed in the order that they are listed.

\n

For more information, see Controlling Which\n Instances Auto Scaling Terminates During Scale In in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

A policy or a list of policies that are used to select the instance to terminate.\n These policies are executed in the order that you list them. For more information, see\n Controlling which Auto Scaling\n instances terminate during scale in in the\n Amazon EC2 Auto Scaling User Guide.

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "NewInstancesProtectedFromScaleIn": { + "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group. This name must be unique per Region per account.

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

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in. For more information about preventing instances from terminating on\n scale in, see Instance scale-in protection in the\n Amazon EC2 Auto Scaling User Guide.

" } }, - "LoadBalancerNames": { - "target": "com.amazonaws.autoscaling#LoadBalancerNames", + "CapacityRebalance": { + "target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled", "traits": { - "smithy.api#documentation": "

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load\n Balancers and Network Load Balancers, specify a list of target groups using the\n TargetGroupARNs property instead.

\n

For more information, see Using a Load Balancer\n with an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is\n disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot\n Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of\n interruption. After launching a new instance, it then terminates an old instance. For\n more information, see Amazon EC2 Auto Scaling Capacity\n Rebalancing in the Amazon EC2 Auto Scaling User Guide.

" } }, - "AvailabilityZones": { - "target": "com.amazonaws.autoscaling#AvailabilityZones", + "LifecycleHookSpecificationList": { + "target": "com.amazonaws.autoscaling#LifecycleHookSpecifications", "traits": { - "smithy.api#documentation": "

One or more Availability Zones for the group. This parameter is optional if you\n specify one or more subnets for VPCZoneIdentifier.

\n

Conditional: If your account supports EC2-Classic and VPC, this parameter is required\n to launch instances into EC2-Classic.

" + "smithy.api#documentation": "

One or more lifecycle hooks for the group, which specify actions to perform when\n Amazon EC2 Auto Scaling launches or terminates instances.

" } }, - "MinSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", + "Tags": { + "target": "com.amazonaws.autoscaling#Tags", "traits": { - "smithy.api#documentation": "

The minimum size of the group.

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

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2\n instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS\n volumes, specify the tags in a launch template but use caution. If the launch template\n specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling\n overrides the value of that instance tag with the value specified by the Auto Scaling group. For\n more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.

" } }, "ServiceLinkedRoleARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role\n named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more\n information, see Service-Linked\n Roles in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role\n named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more\n information, see Service-linked\n roles in the Amazon EC2 Auto Scaling User Guide.

" + } + }, + "MaxInstanceLifetime": { + "target": "com.amazonaws.autoscaling#MaxInstanceLifetime", + "traits": { + "smithy.api#documentation": "

The maximum amount of time, in seconds, that an instance can be in service. The\n default is null. If specified, the value must be either 0 or a number equal to or\n greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the\n Amazon EC2 Auto Scaling User Guide.

" } } } @@ -1401,125 +1401,125 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a launch configuration.

\n

If you exceed your maximum limit of launch configurations, the call fails. To query\n this limit, call the DescribeAccountLimits API. For information about\n updating this limit, see Amazon EC2 Auto Scaling Service\n Quotas in the Amazon EC2 Auto Scaling User Guide.

\n

For more information, see Launch\n Configurations in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Creates a launch configuration.

\n

If you exceed your maximum limit of launch configurations, the call fails. To query\n this limit, call the DescribeAccountLimits API. For information about\n updating this limit, see Amazon EC2 Auto Scaling service\n quotas in the Amazon EC2 Auto Scaling User Guide.

\n

For more information, see Launch\n configurations in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#CreateLaunchConfigurationType": { "type": "structure", "members": { - "RamdiskId": { + "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The ID of the RAM disk to select.

" + "smithy.api#documentation": "

The name of the launch configuration. This name must be unique per Region per\n account.

", + "smithy.api#required": {} } }, - "KeyName": { + "ImageId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the key pair. For more information, see Amazon EC2 Key Pairs in the\n Amazon EC2 User Guide for Linux Instances.

" + "smithy.api#documentation": "

The ID of the Amazon Machine Image (AMI) that was assigned during registration. For\n more information, see Finding an AMI in the\n Amazon EC2 User Guide for Linux Instances.

\n

If you do not specify InstanceId, you must specify\n ImageId.

" } }, - "SpotPrice": { - "target": "com.amazonaws.autoscaling#SpotPrice", + "KeyName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The maximum hourly price to be paid for any Spot Instance launched to fulfill the\n request. Spot Instances are launched when the price you specify exceeds the current Spot\n price. For more information, see Launching Spot\n Instances in Your Auto Scaling Group in the\n Amazon EC2 Auto Scaling User Guide.

\n \n

When you change your maximum price by creating a new launch configuration, running\n instances will continue to run as long as the maximum price for those running\n instances is higher than the current Spot price.

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

The name of the key pair. For more information, see Amazon EC2 Key Pairs in the\n Amazon EC2 User Guide for Linux Instances.

" } }, - "EbsOptimized": { - "target": "com.amazonaws.autoscaling#EbsOptimized", + "SecurityGroups": { + "target": "com.amazonaws.autoscaling#SecurityGroups", "traits": { - "smithy.api#documentation": "

Specifies whether the launch configuration is optimized for EBS I/O\n (true) or not (false). The optimization provides dedicated\n throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O\n performance. This optimization is not available with all instance types. Additional fees\n are incurred when you enable EBS optimization for an instance type that is not\n EBS-optimized by default. For more information, see Amazon EBS-Optimized\n Instances in the Amazon EC2 User Guide for Linux\n Instances.

\n

The default value is false.

" + "smithy.api#documentation": "

A list that contains the security groups to assign to the instances in the Auto Scaling\n group.

\n

[EC2-VPC] Specify the security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud\n User Guide.

\n

[EC2-Classic] Specify either the security group names or the security group IDs. For\n more information, see Amazon EC2 Security\n Groups in the Amazon EC2 User Guide for Linux\n Instances.

" } }, - "ImageId": { + "ClassicLinkVPCId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The ID of the Amazon Machine Image (AMI) that was assigned during registration. For\n more information, see Finding an AMI in the\n Amazon EC2 User Guide for Linux Instances.

\n

If you do not specify InstanceId, you must specify\n ImageId.

" + "smithy.api#documentation": "

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more\n information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

\n

This parameter can only be used if you are launching EC2-Classic instances.

" } }, - "InstanceMonitoring": { - "target": "com.amazonaws.autoscaling#InstanceMonitoring", + "ClassicLinkVPCSecurityGroups": { + "target": "com.amazonaws.autoscaling#ClassicLinkVPCSecurityGroups", "traits": { - "smithy.api#documentation": "

Controls whether instances in this group are launched with detailed\n (true) or basic (false) monitoring.

\n

The default value is true (enabled).

\n \n

When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and\n your account is charged a fee. When you disable detailed monitoring, CloudWatch generates\n metrics every 5 minutes. For more information, see Configure\n Monitoring for Auto Scaling Instances in the\n Amazon EC2 Auto Scaling User Guide.

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

The IDs of one or more security groups for the specified ClassicLink-enabled VPC. For\n more information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

\n

If you specify the ClassicLinkVPCId parameter, you must specify this\n parameter.

" } }, - "BlockDeviceMappings": { - "target": "com.amazonaws.autoscaling#BlockDeviceMappings", + "UserData": { + "target": "com.amazonaws.autoscaling#XmlStringUserData", "traits": { - "smithy.api#documentation": "

A block device mapping, which specifies the block devices for the instance. You can\n specify virtual devices and EBS volumes. For more information, see Block Device\n Mapping in the Amazon EC2 User Guide for Linux\n Instances.

" + "smithy.api#documentation": "

The Base64-encoded user data to make available to the launched EC2 instances. For more\n information, see Instance metadata and user\n data in the Amazon EC2 User Guide for Linux Instances.

" } }, "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { - "smithy.api#documentation": "

The ID of the instance to use to create the launch configuration. The new launch\n configuration derives attributes from the instance, except for the block device\n mapping.

\n

To create a launch configuration with a block device mapping or override any other\n instance attributes, specify them as part of the same request.

\n

For more information, see Create a Launch\n Configuration Using an EC2 Instance in the\n Amazon EC2 Auto Scaling User Guide.

\n

If you do not specify InstanceId, you must specify both\n ImageId and InstanceType.

" + "smithy.api#documentation": "

The ID of the instance to use to create the launch configuration. The new launch\n configuration derives attributes from the instance, except for the block device\n mapping.

\n

To create a launch configuration with a block device mapping or override any other\n instance attributes, specify them as part of the same request.

\n

For more information, see Creating a launch\n configuration using an EC2 instance in the\n Amazon EC2 Auto Scaling User Guide.

\n

If you do not specify InstanceId, you must specify both\n ImageId and InstanceType.

" } }, - "ClassicLinkVPCSecurityGroups": { - "target": "com.amazonaws.autoscaling#ClassicLinkVPCSecurityGroups", + "InstanceType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The IDs of one or more security groups for the specified ClassicLink-enabled VPC. For\n more information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n Instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

\n

If you specify the ClassicLinkVPCId parameter, you must specify this\n parameter.

" + "smithy.api#documentation": "

Specifies the instance type of the EC2 instance.

\n

For information about available instance types, see Available\n Instance Types in the Amazon EC2 User Guide for Linux\n Instances.\n

\n

If you do not specify InstanceId, you must specify\n InstanceType.

" } }, - "UserData": { - "target": "com.amazonaws.autoscaling#XmlStringUserData", + "KernelId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The Base64-encoded user data to make available to the launched EC2 instances. For more\n information, see Instance Metadata and User\n Data in the Amazon EC2 User Guide for Linux Instances.

" + "smithy.api#documentation": "

The ID of the kernel associated with the AMI.

" } }, - "InstanceType": { + "RamdiskId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

Specifies the instance type of the EC2 instance.

\n

For information about available instance types, see Available\n Instance Types in the Amazon EC2 User Guide for Linux\n Instances.\n

\n

If you do not specify InstanceId, you must specify\n InstanceType.

" + "smithy.api#documentation": "

The ID of the RAM disk to select.

" } }, - "ClassicLinkVPCId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "BlockDeviceMappings": { + "target": "com.amazonaws.autoscaling#BlockDeviceMappings", "traits": { - "smithy.api#documentation": "

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more\n information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n Instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

\n

This parameter can only be used if you are launching EC2-Classic instances.

" + "smithy.api#documentation": "

A block device mapping, which specifies the block devices for the instance. You can\n specify virtual devices and EBS volumes. For more information, see Block Device\n Mapping in the Amazon EC2 User Guide for Linux\n Instances.

" } }, - "PlacementTenancy": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", + "InstanceMonitoring": { + "target": "com.amazonaws.autoscaling#InstanceMonitoring", "traits": { - "smithy.api#documentation": "

The tenancy of the instance. An instance with dedicated tenancy runs on\n isolated, single-tenant hardware and can only be launched into a VPC.

\n

To launch dedicated instances into a shared tenancy VPC (a VPC with the instance\n placement tenancy attribute set to default), you must set the value of this\n parameter to dedicated.

\n

If you specify PlacementTenancy, you must specify at least one subnet for\n VPCZoneIdentifier when you create your group.

\n

For more information, see Instance Placement\n Tenancy in the Amazon EC2 Auto Scaling User Guide.

\n

Valid Values: default | dedicated\n

" + "smithy.api#documentation": "

Controls whether instances in this group are launched with detailed\n (true) or basic (false) monitoring.

\n

The default value is true (enabled).

\n \n

When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and\n your account is charged a fee. When you disable detailed monitoring, CloudWatch generates\n metrics every 5 minutes. For more information, see Configure\n Monitoring for Auto Scaling Instances in the\n Amazon EC2 Auto Scaling User Guide.

\n
" } }, - "MetadataOptions": { - "target": "com.amazonaws.autoscaling#InstanceMetadataOptions", + "SpotPrice": { + "target": "com.amazonaws.autoscaling#SpotPrice", "traits": { - "smithy.api#documentation": "

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The maximum hourly price to be paid for any Spot Instance launched to fulfill the\n request. Spot Instances are launched when the price you specify exceeds the current Spot\n price. For more information, see Requesting Spot\n Instances in the Amazon EC2 Auto Scaling User Guide.

\n \n

When you change your maximum price by creating a new launch configuration, running\n instances will continue to run as long as the maximum price for those running\n instances is higher than the current Spot price.

\n
" } }, - "KernelId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "IamInstanceProfile": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen1600", "traits": { - "smithy.api#documentation": "

The ID of the kernel associated with the AMI.

" + "smithy.api#documentation": "

The name or the Amazon Resource Name (ARN) of the instance profile associated with the\n IAM role for the instance. The instance profile contains the IAM role.

\n

For more information, see IAM role for applications that run\n on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

" } }, - "SecurityGroups": { - "target": "com.amazonaws.autoscaling#SecurityGroups", + "EbsOptimized": { + "target": "com.amazonaws.autoscaling#EbsOptimized", "traits": { - "smithy.api#documentation": "

A list that contains the security groups to assign to the instances in the Auto Scaling\n group.

\n

[EC2-VPC] Specify the security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud\n User Guide.

\n

[EC2-Classic] Specify either the security group names or the security group IDs. For\n more information, see Amazon EC2 Security\n Groups in the Amazon EC2 User Guide for Linux\n Instances.

" + "smithy.api#documentation": "

Specifies whether the launch configuration is optimized for EBS I/O\n (true) or not (false). The optimization provides dedicated\n throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O\n performance. This optimization is not available with all instance types. Additional fees\n are incurred when you enable EBS optimization for an instance type that is not\n EBS-optimized by default. For more information, see Amazon EBS-Optimized\n Instances in the Amazon EC2 User Guide for Linux\n Instances.

\n

The default value is false.

" } }, - "LaunchConfigurationName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "AssociatePublicIpAddress": { + "target": "com.amazonaws.autoscaling#AssociatePublicIpAddress", "traits": { - "smithy.api#documentation": "

The name of the launch configuration. This name must be unique per Region per\n account.

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

For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether\n to assign a public IP address to the group's instances. If you specify\n true, each instance in the Auto Scaling group receives a unique public IP address.\n For more information, see Launching Auto Scaling instances in a\n VPC in the Amazon EC2 Auto Scaling User Guide.

\n

If you specify this parameter, you must specify at least one subnet for\n VPCZoneIdentifier when you create your group.

\n \n

If the instance is launched into a default subnet, the default is to assign a\n public IP address, unless you disabled the option to assign a public IP address on\n the subnet. If the instance is launched into a nondefault subnet, the default is not\n to assign a public IP address, unless you enabled the option to assign a public IP\n address on the subnet.

\n
" } }, - "IamInstanceProfile": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen1600", + "PlacementTenancy": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { - "smithy.api#documentation": "

The name or the Amazon Resource Name (ARN) of the instance profile associated with the\n IAM role for the instance. The instance profile contains the IAM role.

\n

For more information, see IAM Role for Applications That Run\n on Amazon EC2 Instances in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The tenancy of the instance. An instance with dedicated tenancy runs on\n isolated, single-tenant hardware and can only be launched into a VPC.

\n

To launch dedicated instances into a shared tenancy VPC (a VPC with the instance\n placement tenancy attribute set to default), you must set the value of this\n parameter to dedicated.

\n

If you specify PlacementTenancy, you must specify at least one subnet for\n VPCZoneIdentifier when you create your group.

\n

For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the\n Amazon EC2 Auto Scaling User Guide.

\n

Valid Values: default | dedicated\n

" } }, - "AssociatePublicIpAddress": { - "target": "com.amazonaws.autoscaling#AssociatePublicIpAddress", + "MetadataOptions": { + "target": "com.amazonaws.autoscaling#InstanceMetadataOptions", "traits": { - "smithy.api#documentation": "

For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether\n to assign a public IP address to the group's instances. If you specify\n true, each instance in the Auto Scaling group receives a unique public IP address.\n For more information, see Launching Auto Scaling Instances in a\n VPC in the Amazon EC2 Auto Scaling User Guide.

\n

If you specify this parameter, you must specify at least one subnet for\n VPCZoneIdentifier when you create your group.

\n \n

If the instance is launched into a default subnet, the default is to assign a\n public IP address, unless you disabled the option to assign a public IP address on\n the subnet. If the instance is launched into a nondefault subnet, the default is not\n to assign a public IP address, unless you enabled the option to assign a public IP\n address on the subnet.

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

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the\n Amazon EC2 Auto Scaling User Guide.

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

Creates or updates tags for the specified Auto Scaling group.

\n

When you specify a tag with a key that already exists, the operation overwrites the\n previous tag definition, and you do not get an error message.

\n

For more information, see Tagging Auto Scaling Groups and\n Instances in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Creates or updates tags for the specified Auto Scaling group.

\n

When you specify a tag with a key that already exists, the operation overwrites the\n previous tag definition, and you do not get an error message.

\n

For more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#CreateOrUpdateTagsType": { @@ -1553,15 +1553,29 @@ "Tags": { "target": "com.amazonaws.autoscaling#Tags", "traits": { - "smithy.api#documentation": "

One or more tags.

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

One or more tags.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.autoscaling#CustomizedMetricSpecification": { + "type": "structure", + "members": { + "MetricName": { + "target": "com.amazonaws.autoscaling#MetricName", + "traits": { + "smithy.api#documentation": "

The name of the metric.

", + "smithy.api#required": {} + } + }, + "Namespace": { + "target": "com.amazonaws.autoscaling#MetricNamespace", + "traits": { + "smithy.api#documentation": "

The namespace of the metric.

", "smithy.api#required": {} } - } - } - }, - "com.amazonaws.autoscaling#CustomizedMetricSpecification": { - "type": "structure", - "members": { + }, "Dimensions": { "target": "com.amazonaws.autoscaling#MetricDimensions", "traits": { @@ -1580,20 +1594,6 @@ "traits": { "smithy.api#documentation": "

The unit of the metric.

" } - }, - "Namespace": { - "target": "com.amazonaws.autoscaling#MetricNamespace", - "traits": { - "smithy.api#documentation": "

The namespace of the metric.

", - "smithy.api#required": {} - } - }, - "MetricName": { - "target": "com.amazonaws.autoscaling#MetricName", - "traits": { - "smithy.api#documentation": "

The name of the metric.

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

Deletes the specified scaling policy.

\n

Deleting either a step scaling policy or a simple scaling policy deletes the\n underlying alarm action, but does not delete the alarm, even if it no longer has an\n associated action.

\n

For more information, see Deleting a Scaling\n Policy in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Deletes the specified scaling policy.

\n

Deleting either a step scaling policy or a simple scaling policy deletes the\n underlying alarm action, but does not delete the alarm, even if it no longer has an\n associated action.

\n

For more information, see Deleting a scaling\n policy in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#DeletePolicyType": { @@ -1780,17 +1780,17 @@ "com.amazonaws.autoscaling#DeleteScheduledActionType": { "type": "structure", "members": { - "ScheduledActionName": { + "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the action to delete.

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

The name of the Auto Scaling group.

", "smithy.api#required": {} } }, - "AutoScalingGroupName": { + "ScheduledActionName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

The name of the action to delete.

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

Describes the current Amazon EC2 Auto Scaling resource quotas for your AWS account.

\n

For information about requesting an increase, see Amazon EC2 Auto Scaling Service\n Quotas in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Describes the current Amazon EC2 Auto Scaling resource quotas for your AWS account.

\n

For information about requesting an increase, see Amazon EC2 Auto Scaling service\n quotas in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#DescribeAccountLimitsAnswer": { @@ -1848,18 +1848,18 @@ "smithy.api#documentation": "

The maximum number of groups allowed for your AWS account. The default is 200 groups\n per AWS Region.

" } }, - "NumberOfAutoScalingGroups": { - "target": "com.amazonaws.autoscaling#NumberOfAutoScalingGroups", - "traits": { - "smithy.api#documentation": "

The current number of groups for your AWS account.

" - } - }, "MaxNumberOfLaunchConfigurations": { "target": "com.amazonaws.autoscaling#MaxNumberOfLaunchConfigurations", "traits": { "smithy.api#documentation": "

The maximum number of launch configurations allowed for your AWS account. The default\n is 200 launch configurations per AWS Region.

" } }, + "NumberOfAutoScalingGroups": { + "target": "com.amazonaws.autoscaling#NumberOfAutoScalingGroups", + "traits": { + "smithy.api#documentation": "

The current number of groups for your AWS account.

" + } + }, "NumberOfLaunchConfigurations": { "target": "com.amazonaws.autoscaling#NumberOfLaunchConfigurations", "traits": { @@ -1954,17 +1954,17 @@ "smithy.api#documentation": "

The IDs of the instances. You can specify up to MaxRecords IDs. If you\n omit this parameter, all Auto Scaling instances are described. If you specify an ID that does\n not exist, it is ignored with no error.

" } }, - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" - } - }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "

The maximum number of items to return with this call. The default value is\n 50 and the maximum value is 50.

" } + }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + } } } }, @@ -2033,6 +2033,13 @@ "com.amazonaws.autoscaling#DescribeInstanceRefreshesType": { "type": "structure", "members": { + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "traits": { + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} + } + }, "InstanceRefreshIds": { "target": "com.amazonaws.autoscaling#InstanceRefreshIds", "traits": { @@ -2045,13 +2052,6 @@ "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

", - "smithy.api#required": {} - } - }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { @@ -2177,12 +2177,6 @@ "com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsRequest": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" - } - }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { @@ -2190,6 +2184,12 @@ "smithy.api#required": {} } }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + } + }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { @@ -2235,12 +2235,6 @@ "com.amazonaws.autoscaling#DescribeLoadBalancersRequest": { "type": "structure", "members": { - "MaxRecords": { - "target": "com.amazonaws.autoscaling#MaxRecords", - "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call. The default value is\n 100 and the maximum value is 100.

" - } - }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { @@ -2253,6 +2247,12 @@ "traits": { "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" } + }, + "MaxRecords": { + "target": "com.amazonaws.autoscaling#MaxRecords", + "traits": { + "smithy.api#documentation": "

The maximum number of items to return with this call. The default value is\n 100 and the maximum value is 100.

" + } } } }, @@ -2290,17 +2290,17 @@ "com.amazonaws.autoscaling#DescribeMetricCollectionTypesAnswer": { "type": "structure", "members": { - "Granularities": { - "target": "com.amazonaws.autoscaling#MetricGranularityTypes", - "traits": { - "smithy.api#documentation": "

The granularities for the metrics.

" - } - }, "Metrics": { "target": "com.amazonaws.autoscaling#MetricCollectionTypes", "traits": { "smithy.api#documentation": "

One or more metrics.

" } + }, + "Granularities": { + "target": "com.amazonaws.autoscaling#MetricGranularityTypes", + "traits": { + "smithy.api#documentation": "

The granularities for the metrics.

" + } } } }, @@ -2333,36 +2333,36 @@ "com.amazonaws.autoscaling#DescribeNotificationConfigurationsAnswer": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" - } - }, "NotificationConfigurations": { "target": "com.amazonaws.autoscaling#NotificationConfigurations", "traits": { "smithy.api#documentation": "

The notification configurations.

", "smithy.api#required": {} } + }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" + } } } }, "com.amazonaws.autoscaling#DescribeNotificationConfigurationsType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" - } - }, "AutoScalingGroupNames": { "target": "com.amazonaws.autoscaling#AutoScalingGroupNames", "traits": { "smithy.api#documentation": "

The name of the Auto Scaling group.

" } }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + } + }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { @@ -2409,16 +2409,10 @@ "smithy.api#documentation": "

The name of the Auto Scaling group.

" } }, - "MaxRecords": { - "target": "com.amazonaws.autoscaling#MaxRecords", - "traits": { - "smithy.api#documentation": "

The maximum number of items to be returned with each call. The default value is\n 50 and the maximum value is 100.

" - } - }, - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", + "PolicyNames": { + "target": "com.amazonaws.autoscaling#PolicyNames", "traits": { - "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + "smithy.api#documentation": "

The names of one or more policies. If you omit this parameter, all policies are\n described. If a group name is provided, the results are limited to that group. This list\n is limited to 50 items. If you specify an unknown policy name, it is ignored with no\n error.

" } }, "PolicyTypes": { @@ -2427,10 +2421,16 @@ "smithy.api#documentation": "

One or more policy types. The valid values are SimpleScaling,\n StepScaling, and TargetTrackingScaling.

" } }, - "PolicyNames": { - "target": "com.amazonaws.autoscaling#PolicyNames", + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

The names of one or more policies. If you omit this parameter, all policies are\n described. If a group name is provided, the results are limited to that group. This list\n is limited to 50 items. If you specify an unknown policy name, it is ignored with no\n error.

" + "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + } + }, + "MaxRecords": { + "target": "com.amazonaws.autoscaling#MaxRecords", + "traits": { + "smithy.api#documentation": "

The maximum number of items to be returned with each call. The default value is\n 50 and the maximum value is 100.

" } } } @@ -2464,12 +2464,6 @@ "com.amazonaws.autoscaling#DescribeScalingActivitiesType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" - } - }, "ActivityIds": { "target": "com.amazonaws.autoscaling#ActivityIds", "traits": { @@ -2487,6 +2481,12 @@ "traits": { "smithy.api#documentation": "

The maximum number of items to return with this call. The default value is\n 100 and the maximum value is 100.

" } + }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + } } } }, @@ -2533,12 +2533,6 @@ "com.amazonaws.autoscaling#DescribeScheduledActionsType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" - } - }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { @@ -2551,10 +2545,10 @@ "smithy.api#documentation": "

The names of one or more scheduled actions. You can specify up to 50 actions. If you\n omit this parameter, all scheduled actions are described. If you specify an unknown\n scheduled action, it is ignored with no error.

" } }, - "MaxRecords": { - "target": "com.amazonaws.autoscaling#MaxRecords", + "StartTime": { + "target": "com.amazonaws.autoscaling#TimestampType", "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call. The default value is\n 50 and the maximum value is 100.

" + "smithy.api#documentation": "

The earliest scheduled start time to return. If scheduled action names are provided,\n this parameter is ignored.

" } }, "EndTime": { @@ -2563,10 +2557,16 @@ "smithy.api#documentation": "

The latest scheduled start time to return. If scheduled action names are provided,\n this parameter is ignored.

" } }, - "StartTime": { - "target": "com.amazonaws.autoscaling#TimestampType", + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

The earliest scheduled start time to return. If scheduled action names are provided,\n this parameter is ignored.

" + "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + } + }, + "MaxRecords": { + "target": "com.amazonaws.autoscaling#MaxRecords", + "traits": { + "smithy.api#documentation": "

The maximum number of items to return with this call. The default value is\n 50 and the maximum value is 100.

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

Describes the specified tags.

\n

You can use filters to limit the results. For example, you can query for the tags for\n a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at\n least one of the specified values for it to be included in the results.

\n

You can also specify multiple filters. The result includes information for a\n particular tag only if it matches all the filters. If there's no match, no special\n message is returned.

\n

For more information, see Tagging Auto Scaling Groups and\n Instances in the Amazon EC2 Auto Scaling User Guide.

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

Describes the specified tags.

\n

You can use filters to limit the results. For example, you can query for the tags for\n a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at\n least one of the specified values for it to be included in the results.

\n

You can also specify multiple filters. The result includes information for a\n particular tag only if it matches all the filters. If there's no match, no special\n message is returned.

\n

For more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -2600,18 +2600,18 @@ "com.amazonaws.autoscaling#DescribeTagsType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" - } - }, "Filters": { "target": "com.amazonaws.autoscaling#Filters", "traits": { "smithy.api#documentation": "

One or more filters to scope the tags to return. The maximum number of filters per\n filter type (for example, auto-scaling-group) is 1000.

" } }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + } + }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { @@ -2631,7 +2631,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the termination policies supported by Amazon EC2 Auto Scaling.

\n

For more information, see Controlling Which Auto Scaling\n Instances Terminate During Scale In in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Describes the termination policies supported by Amazon EC2 Auto Scaling.

\n

For more information, see Controlling which Auto Scaling\n instances terminate during scale in in the\n Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#DescribeTerminationPolicyTypesAnswer": { @@ -2659,7 +2659,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes one or more instances from the specified Auto Scaling group.

\n

After the instances are detached, you can manage them independent of the Auto Scaling\n group.

\n

If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches\n instances to replace the ones that are detached.

\n

If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are\n deregistered from the load balancer. If there are target groups attached to the Auto Scaling\n group, the instances are deregistered from the target groups.

\n

For more information, see Detach EC2 Instances from\n Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Removes one or more instances from the specified Auto Scaling group.

\n

After the instances are detached, you can manage them independent of the Auto Scaling\n group.

\n

If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches\n instances to replace the ones that are detached.

\n

If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are\n deregistered from the load balancer. If there are target groups attached to the Auto Scaling\n group, the instances are deregistered from the target groups.

\n

For more information, see Detach EC2 instances from\n your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#DetachInstancesAnswer": { @@ -2676,11 +2676,10 @@ "com.amazonaws.autoscaling#DetachInstancesQuery": { "type": "structure", "members": { - "ShouldDecrementDesiredCapacity": { - "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", + "InstanceIds": { + "target": "com.amazonaws.autoscaling#InstanceIds", "traits": { - "smithy.api#documentation": "

Indicates whether the Auto Scaling group decrements the desired capacity value by the number\n of instances detached.

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

The IDs of the instances. You can specify up to 20 instances.

" } }, "AutoScalingGroupName": { @@ -2690,10 +2689,11 @@ "smithy.api#required": {} } }, - "InstanceIds": { - "target": "com.amazonaws.autoscaling#InstanceIds", + "ShouldDecrementDesiredCapacity": { + "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", "traits": { - "smithy.api#documentation": "

The IDs of the instances. You can specify up to 20 instances.

" + "smithy.api#documentation": "

Indicates whether the Auto Scaling group decrements the desired capacity value by the number\n of instances detached.

", + "smithy.api#required": {} } } } @@ -2722,17 +2722,17 @@ "com.amazonaws.autoscaling#DetachLoadBalancerTargetGroupsType": { "type": "structure", "members": { - "TargetGroupARNs": { - "target": "com.amazonaws.autoscaling#TargetGroupARNs", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target\n groups.

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

The name of the Auto Scaling group.

", "smithy.api#required": {} } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "TargetGroupARNs": { + "target": "com.amazonaws.autoscaling#TargetGroupARNs", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target\n groups.

", "smithy.api#required": {} } } @@ -2795,18 +2795,18 @@ "com.amazonaws.autoscaling#DisableMetricsCollectionQuery": { "type": "structure", "members": { - "Metrics": { - "target": "com.amazonaws.autoscaling#Metrics", - "traits": { - "smithy.api#documentation": "

Specifies one or more of the following metrics:

\n \n

If you omit this parameter, all metrics are disabled.

" - } - }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } + }, + "Metrics": { + "target": "com.amazonaws.autoscaling#Metrics", + "traits": { + "smithy.api#documentation": "

Specifies one or more of the following metrics:

\n \n

If you omit this parameter, all metrics are disabled.

" + } } } }, @@ -2818,23 +2818,11 @@ }, "com.amazonaws.autoscaling#Ebs": { "type": "structure", - "members": { - "VolumeType": { - "target": "com.amazonaws.autoscaling#BlockDeviceEbsVolumeType", - "traits": { - "smithy.api#documentation": "

The volume type, which can be standard for Magnetic, io1 for\n Provisioned IOPS SSD, gp2 for General Purpose SSD, st1 for\n Throughput Optimized HDD, or sc1 for Cold HDD. For more information, see\n Amazon\n EBS Volume Types in the Amazon EC2 User Guide for Linux\n Instances.

\n

Valid Values: standard | io1 | gp2 |\n st1 | sc1\n

" - } - }, - "Encrypted": { - "target": "com.amazonaws.autoscaling#BlockDeviceEbsEncrypted", - "traits": { - "smithy.api#documentation": "

Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be\n attached to instances that support Amazon EBS encryption. For more information, see\n Supported Instance Types. If your AMI uses encrypted volumes, you can also\n only launch it on supported instance types.

\n \n

If you are creating a volume from a snapshot, you cannot specify an encryption\n value. Volumes that are created from encrypted snapshots are automatically\n encrypted, and volumes that are created from unencrypted snapshots are automatically\n unencrypted. By default, encrypted snapshots use the AWS managed CMK that is used\n for EBS encryption, but you can specify a custom CMK when you create the snapshot.\n The ability to encrypt a snapshot during copying also allows you to apply a new CMK\n to an already-encrypted snapshot. Volumes restored from the\n resulting copy are only accessible using the new CMK.

\n

Enabling encryption by default results in all EBS volumes being encrypted with\n the AWS managed CMK or a customer managed CMK, whether or not the snapshot was\n encrypted.

\n
\n

For more information, see Using Encryption with EBS-Backed\n AMIs in the Amazon EC2 User Guide for Linux Instances\n and Required\n CMK Key Policy for Use with Encrypted Volumes in the\n Amazon EC2 Auto Scaling User Guide.

" - } - }, - "DeleteOnTermination": { - "target": "com.amazonaws.autoscaling#BlockDeviceEbsDeleteOnTermination", + "members": { + "SnapshotId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the\n default value is true.

" + "smithy.api#documentation": "

The snapshot ID of the volume to use.

\n

You must specify either a VolumeSize or a SnapshotId.

" } }, "VolumeSize": { @@ -2843,10 +2831,16 @@ "smithy.api#documentation": "

The volume size, in Gibibytes (GiB).

\n

This can be a number from 1-1,024 for standard, 4-16,384 for\n io1, 1-16,384 for gp2, and 500-16,384 for st1\n and sc1. If you specify a snapshot, the volume size must be equal to or\n larger than the snapshot size.

\n

Default: If you create a volume from a snapshot and you don't specify a volume size,\n the default is the snapshot size.

\n

You must specify either a VolumeSize or a SnapshotId. If you\n specify both SnapshotId and VolumeSize, the volume size must\n be equal or greater than the size of the snapshot.

" } }, - "SnapshotId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "VolumeType": { + "target": "com.amazonaws.autoscaling#BlockDeviceEbsVolumeType", "traits": { - "smithy.api#documentation": "

The snapshot ID of the volume to use.

\n

You must specify either a VolumeSize or a SnapshotId.

" + "smithy.api#documentation": "

The volume type, which can be standard for Magnetic, io1 for\n Provisioned IOPS SSD, gp2 for General Purpose SSD, st1 for\n Throughput Optimized HDD, or sc1 for Cold HDD. For more information, see\n Amazon\n EBS Volume Types in the Amazon EC2 User Guide for Linux\n Instances.

\n

Valid Values: standard | io1 | gp2 |\n st1 | sc1\n

" + } + }, + "DeleteOnTermination": { + "target": "com.amazonaws.autoscaling#BlockDeviceEbsDeleteOnTermination", + "traits": { + "smithy.api#documentation": "

Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the\n default value is true.

" } }, "Iops": { @@ -2854,6 +2848,12 @@ "traits": { "smithy.api#documentation": "

The number of I/O operations per second (IOPS) to provision for the volume. The\n maximum ratio of IOPS to volume size (in GiB) is 50:1. For more information, see Amazon EBS\n Volume Types in the Amazon EC2 User Guide for Linux Instances.

\n

Required when the volume type is io1. (Not used with\n standard, gp2, st1, or sc1\n volumes.)

" } + }, + "Encrypted": { + "target": "com.amazonaws.autoscaling#BlockDeviceEbsEncrypted", + "traits": { + "smithy.api#documentation": "

Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be\n attached to instances that support Amazon EBS encryption. For more information, see\n Supported Instance Types. If your AMI uses encrypted volumes, you can also\n only launch it on supported instance types.

\n \n

If you are creating a volume from a snapshot, you cannot specify an encryption\n value. Volumes that are created from encrypted snapshots are automatically\n encrypted, and volumes that are created from unencrypted snapshots are automatically\n unencrypted. By default, encrypted snapshots use the AWS managed CMK that is used\n for EBS encryption, but you can specify a custom CMK when you create the snapshot.\n The ability to encrypt a snapshot during copying also allows you to apply a new CMK\n to an already-encrypted snapshot. Volumes restored from the\n resulting copy are only accessible using the new CMK.

\n

Enabling encryption by default results in all EBS volumes being encrypted with\n the AWS managed CMK or a customer managed CMK, whether or not the snapshot was\n encrypted.

\n
\n

For more information, see Using Encryption with EBS-Backed\n AMIs in the Amazon EC2 User Guide for Linux Instances\n and Required\n CMK key policy for use with encrypted volumes in the\n Amazon EC2 Auto Scaling User Guide.

" + } } }, "traits": { @@ -2877,18 +2877,12 @@ } ], "traits": { - "smithy.api#documentation": "

Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring CloudWatch metrics for your Auto Scaling groups and instances in the\n Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#EnableMetricsCollectionQuery": { "type": "structure", "members": { - "Metrics": { - "target": "com.amazonaws.autoscaling#Metrics", - "traits": { - "smithy.api#documentation": "

Specifies which group-level metrics to start collecting. You can specify one or more\n of the following metrics:

\n \n

The instance weighting feature supports the following additional metrics:

\n \n

If you omit this parameter, all metrics are enabled.

" - } - }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { @@ -2896,6 +2890,12 @@ "smithy.api#required": {} } }, + "Metrics": { + "target": "com.amazonaws.autoscaling#Metrics", + "traits": { + "smithy.api#documentation": "

Specifies which group-level metrics to start collecting. You can specify one or more\n of the following metrics:

\n \n

The instance weighting feature supports the following additional metrics:

\n \n

If you omit this parameter, all metrics are enabled.

" + } + }, "Granularity": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { @@ -2945,7 +2945,7 @@ } ], "traits": { - "smithy.api#documentation": "

Moves the specified instances into the standby state.

\n

If you choose to decrement the desired capacity of the Auto Scaling group, the instances can\n enter standby as long as the desired capacity of the Auto Scaling group after the instances are\n placed into standby is equal to or greater than the minimum capacity of the\n group.

\n

If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group\n launches new instances to replace the instances on standby.

\n

For more information, see Temporarily Removing\n Instances from Your Auto Scaling Group in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Moves the specified instances into the standby state.

\n

If you choose to decrement the desired capacity of the Auto Scaling group, the instances can\n enter standby as long as the desired capacity of the Auto Scaling group after the instances are\n placed into standby is equal to or greater than the minimum capacity of the\n group.

\n

If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group\n launches new instances to replace the instances on standby.

\n

For more information, see Temporarily removing\n instances from your Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#EnterStandbyAnswer": { @@ -3010,12 +3010,6 @@ "com.amazonaws.autoscaling#ExecutePolicyType": { "type": "structure", "members": { - "HonorCooldown": { - "target": "com.amazonaws.autoscaling#HonorCooldown", - "traits": { - "smithy.api#documentation": "

Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing\n the policy.

\n

Valid only if the policy type is SimpleScaling. For more information, see\n Scaling\n Cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" - } - }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { @@ -3029,6 +3023,12 @@ "smithy.api#required": {} } }, + "HonorCooldown": { + "target": "com.amazonaws.autoscaling#HonorCooldown", + "traits": { + "smithy.api#documentation": "

Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing\n the policy.

\n

Valid only if the policy type is SimpleScaling. For more information, see\n Scaling\n cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" + } + }, "MetricValue": { "target": "com.amazonaws.autoscaling#MetricScale", "traits": { @@ -3057,7 +3057,7 @@ } ], "traits": { - "smithy.api#documentation": "

Moves the specified instances out of the standby state.

\n

After you put the instances back in service, the desired capacity is\n incremented.

\n

For more information, see Temporarily Removing\n Instances from Your Auto Scaling Group in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Moves the specified instances out of the standby state.

\n

After you put the instances back in service, the desired capacity is\n incremented.

\n

For more information, see Temporarily removing\n instances from your Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#ExitStandbyAnswer": { @@ -3074,30 +3074,24 @@ "com.amazonaws.autoscaling#ExitStandbyQuery": { "type": "structure", "members": { + "InstanceIds": { + "target": "com.amazonaws.autoscaling#InstanceIds", + "traits": { + "smithy.api#documentation": "

The IDs of the instances. You can specify up to 20 instances.

" + } + }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } - }, - "InstanceIds": { - "target": "com.amazonaws.autoscaling#InstanceIds", - "traits": { - "smithy.api#documentation": "

The IDs of the instances. You can specify up to 20 instances.

" - } } } }, "com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequest": { "type": "structure", "members": { - "ErrorMessage": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

The error message accompanying the error code.

" - } - }, "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { @@ -3110,6 +3104,12 @@ "traits": { "smithy.api#documentation": "

The error code.

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

The error message accompanying the error code.

" + } } }, "traits": { @@ -3125,21 +3125,21 @@ "com.amazonaws.autoscaling#Filter": { "type": "structure", "members": { - "Values": { - "target": "com.amazonaws.autoscaling#Values", - "traits": { - "smithy.api#documentation": "

One or more filter values. Filter values are case-sensitive.

" - } - }, "Name": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "

The name of the filter. The valid values are: auto-scaling-group,\n key, value, and propagate-at-launch.

" } + }, + "Values": { + "target": "com.amazonaws.autoscaling#Values", + "traits": { + "smithy.api#documentation": "

One or more filter values. Filter values are case-sensitive.

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

Describes a filter that is used to return a more specific list of results when\n describing tags.

\n

For more information, see Tagging Auto Scaling Groups and\n Instances in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Describes a filter that is used to return a more specific list of results when\n describing tags.

\n

For more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#Filters": { @@ -3181,12 +3181,6 @@ "com.amazonaws.autoscaling#Instance": { "type": "structure", "members": { - "InstanceType": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The instance type of the EC2 instance.

" - } - }, "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { @@ -3194,10 +3188,10 @@ "smithy.api#required": {} } }, - "WeightedCapacity": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", + "InstanceType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The number of capacity units contributed by the instance based on its instance\n type.

\n

Valid Range: Minimum value of 1. Maximum value of 999.

" + "smithy.api#documentation": "

The instance type of the EC2 instance.

" } }, "AvailabilityZone": { @@ -3207,6 +3201,13 @@ "smithy.api#required": {} } }, + "LifecycleState": { + "target": "com.amazonaws.autoscaling#LifecycleState", + "traits": { + "smithy.api#documentation": "

A description of the current lifecycle state. The Quarantined state is\n not used.

", + "smithy.api#required": {} + } + }, "HealthStatus": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { @@ -3214,11 +3215,10 @@ "smithy.api#required": {} } }, - "LifecycleState": { - "target": "com.amazonaws.autoscaling#LifecycleState", + "LaunchConfigurationName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

A description of the current lifecycle state. The Quarantined state is\n not used.

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

The launch configuration associated with the instance.

" } }, "LaunchTemplate": { @@ -3234,10 +3234,10 @@ "smithy.api#required": {} } }, - "LaunchConfigurationName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "WeightedCapacity": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { - "smithy.api#documentation": "

The launch configuration associated with the instance.

" + "smithy.api#documentation": "

The number of capacity units contributed by the instance based on its instance\n type.

\n

Valid Range: Minimum value of 1. Maximum value of 999.

" } } }, @@ -3294,18 +3294,18 @@ "com.amazonaws.autoscaling#InstanceMetadataOptions": { "type": "structure", "members": { - "HttpPutResponseHopLimit": { - "target": "com.amazonaws.autoscaling#InstanceMetadataHttpPutResponseHopLimit", - "traits": { - "smithy.api#documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel.

\n

Default: 1

\n

Possible values: Integers from 1 to 64

" - } - }, "HttpTokens": { "target": "com.amazonaws.autoscaling#InstanceMetadataHttpTokensState", "traits": { "smithy.api#documentation": "

The state of token usage for your instance metadata requests. If the parameter is not\n specified in the request, the default state is optional.

\n

If the state is optional, you can choose to retrieve instance metadata\n with or without a signed token header on your request. If you retrieve the IAM role\n credentials without a token, the version 1.0 role credentials are returned. If you\n retrieve the IAM role credentials using a valid signed token, the version 2.0 role\n credentials are returned.

\n

If the state is required, you must send a signed token header with any\n instance metadata retrieval requests. In this state, retrieving the IAM role credentials\n always returns the version 2.0 credentials; the version 1.0 credentials are not\n available.

" } }, + "HttpPutResponseHopLimit": { + "target": "com.amazonaws.autoscaling#InstanceMetadataHttpPutResponseHopLimit", + "traits": { + "smithy.api#documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel.

\n

Default: 1

\n

Possible values: Integers from 1 to 64

" + } + }, "HttpEndpoint": { "target": "com.amazonaws.autoscaling#InstanceMetadataEndpointState", "traits": { @@ -3340,34 +3340,22 @@ "com.amazonaws.autoscaling#InstanceRefresh": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.autoscaling#InstanceRefreshStatus", - "traits": { - "smithy.api#documentation": "

The current status for the instance refresh operation:

\n " - } - }, - "InstancesToUpdate": { - "target": "com.amazonaws.autoscaling#InstancesToUpdate", - "traits": { - "smithy.api#documentation": "

The number of instances remaining to update before the instance refresh is\n complete.

" - } - }, "InstanceRefreshId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "

The instance refresh ID.

" } }, - "PercentageComplete": { - "target": "com.amazonaws.autoscaling#IntPercent", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The percentage of the instance refresh that is complete. For each instance\n replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the\n instance's health status changes to healthy and the specified warm-up time passes, the\n instance is considered updated and added to the percentage complete.

" + "smithy.api#documentation": "

The name of the Auto Scaling group.

" } }, - "EndTime": { - "target": "com.amazonaws.autoscaling#TimestampType", + "Status": { + "target": "com.amazonaws.autoscaling#InstanceRefreshStatus", "traits": { - "smithy.api#documentation": "

The date and time at which the instance refresh ended.

" + "smithy.api#documentation": "

The current status for the instance refresh operation:

\n " } }, "StatusReason": { @@ -3382,10 +3370,22 @@ "smithy.api#documentation": "

The date and time at which the instance refresh began.

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "EndTime": { + "target": "com.amazonaws.autoscaling#TimestampType", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

" + "smithy.api#documentation": "

The date and time at which the instance refresh ended.

" + } + }, + "PercentageComplete": { + "target": "com.amazonaws.autoscaling#IntPercent", + "traits": { + "smithy.api#documentation": "

The percentage of the instance refresh that is complete. For each instance\n replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the\n instance's health status changes to healthy and the specified warm-up time passes, the\n instance is considered updated and added to the percentage complete.

" + } + }, + "InstancesToUpdate": { + "target": "com.amazonaws.autoscaling#InstancesToUpdate", + "traits": { + "smithy.api#documentation": "

The number of instances remaining to update before the instance refresh is\n complete.

" } } }, @@ -3461,42 +3461,42 @@ "OnDemandAllocationStrategy": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

Indicates how to allocate instance types to fulfill On-Demand capacity.

\n

The only valid value is prioritized, which is also the default value.\n This strategy uses the order of instance type overrides for the LaunchTemplate to define the launch priority of each instance type. The\n first instance type in the array is prioritized higher than the last. If all your\n On-Demand capacity cannot be fulfilled using your highest priority instance, then the\n Auto Scaling groups launches the remaining capacity using the second priority instance type, and\n so on.

" + "smithy.api#documentation": "

Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid\n value is prioritized, which is also the default value. This strategy uses\n the order of instance types in the overrides to define the launch priority of each\n instance type. The first instance type in the array is prioritized higher than the last.\n If all your On-Demand capacity cannot be fulfilled using your highest priority instance,\n then the Auto Scaling groups launches the remaining capacity using the second priority instance\n type, and so on.

" } }, - "SpotInstancePools": { - "target": "com.amazonaws.autoscaling#SpotInstancePools", + "OnDemandBaseCapacity": { + "target": "com.amazonaws.autoscaling#OnDemandBaseCapacity", "traits": { - "smithy.api#documentation": "

The number of Spot Instance pools across which to allocate your Spot Instances. The\n Spot pools are determined from the different instance types in the Overrides array of\n LaunchTemplate. Default if not set is 2.

\n

Used only when the Spot allocation strategy is lowest-price.

\n

Valid Range: Minimum value of 1. Maximum value of 20.

" + "smithy.api#documentation": "

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand\n Instances. This base portion is provisioned first as your group scales. Defaults to 0 if\n not specified. If you specify weights for the instance types in the overrides, set the\n value of OnDemandBaseCapacity in terms of the number of capacity units, and\n not the number of instances.

" } }, "OnDemandPercentageAboveBaseCapacity": { "target": "com.amazonaws.autoscaling#OnDemandPercentageAboveBaseCapacity", "traits": { - "smithy.api#documentation": "

Controls the percentages of On-Demand Instances and Spot Instances for your additional\n capacity beyond OnDemandBaseCapacity.

\n

Default if not set is 100. If you leave it set to 100, the percentages are 100% for\n On-Demand Instances and 0% for Spot Instances.

\n \n

An update to this setting means a gradual replacement of instances to maintain the\n percentage of On-Demand Instances for your additional capacity above the base\n capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before\n terminating the old ones.

\n
\n

Valid Range: Minimum value of 0. Maximum value of 100.

" + "smithy.api#documentation": "

Controls the percentages of On-Demand Instances and Spot Instances for your additional\n capacity beyond OnDemandBaseCapacity. Expressed as a number (for example,\n 20 specifies 20% On-Demand Instances, 80% Spot Instances). Defaults to 100 if not\n specified. If set to 100, only On-Demand Instances are provisioned.

" } }, - "OnDemandBaseCapacity": { - "target": "com.amazonaws.autoscaling#OnDemandBaseCapacity", + "SpotAllocationStrategy": { + "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand\n Instances. This base portion is provisioned first as your group scales.

\n

Default if not set is 0. If you leave it set to 0, On-Demand Instances are launched as\n a percentage of the Auto Scaling group's desired capacity, per the\n OnDemandPercentageAboveBaseCapacity setting.

\n \n

An update to this setting means a gradual replacement of instances to maintain the\n specified number of On-Demand Instances for your base capacity. When replacing\n instances, Amazon EC2 Auto Scaling launches new instances before terminating the old ones.

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

Indicates how to allocate instances across Spot Instance pools. If the allocation\n strategy is lowest-price, the Auto Scaling group launches instances using the Spot\n pools with the lowest price, and evenly allocates your instances across the number of\n Spot pools that you specify. If the allocation strategy is\n capacity-optimized, the Auto Scaling group launches instances using Spot pools\n that are optimally chosen based on the available Spot capacity. Defaults to\n lowest-price if not specified.

" } }, - "SpotAllocationStrategy": { - "target": "com.amazonaws.autoscaling#XmlString", + "SpotInstancePools": { + "target": "com.amazonaws.autoscaling#SpotInstancePools", "traits": { - "smithy.api#documentation": "

Indicates how to allocate instances across Spot Instance pools.

\n

If the allocation strategy is lowest-price, the Auto Scaling group launches\n instances using the Spot pools with the lowest price, and evenly allocates your\n instances across the number of Spot pools that you specify. If the allocation strategy\n is capacity-optimized, the Auto Scaling group launches instances using Spot pools\n that are optimally chosen based on the available Spot capacity.

\n

The default Spot allocation strategy for calls that you make through the API, the AWS\n CLI, or the AWS SDKs is lowest-price. The default Spot allocation strategy\n for the AWS Management Console is capacity-optimized.

\n

Valid values: lowest-price | capacity-optimized\n

" + "smithy.api#documentation": "

The number of Spot Instance pools across which to allocate your Spot Instances. The\n Spot pools are determined from the different instance types in the overrides. Defaults\n to 2 if not specified. Valid only when the Spot allocation strategy is\n lowest-price.

\n

Valid Range: Minimum value of 1. Maximum value of 20.

" } }, "SpotMaxPrice": { "target": "com.amazonaws.autoscaling#MixedInstanceSpotPrice", "traits": { - "smithy.api#documentation": "

The maximum price per unit hour that you are willing to pay for a Spot Instance. If\n you leave the value of this parameter blank (which is the default), the maximum Spot\n price is set at the On-Demand price.

\n

To remove a value that you previously set, include the parameter but leave the value\n blank.

" + "smithy.api#documentation": "

The maximum price per unit hour that you are willing to pay for a Spot Instance. If\n you leave the value of this parameter blank (which is the default), the maximum Spot\n price is set at the On-Demand price. To remove a value that you previously set, include\n the parameter but leave the value blank.

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

Describes an instances distribution for an Auto Scaling group with a MixedInstancesPolicy.

\n

The instances distribution specifies the distribution of On-Demand Instances and Spot\n Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates\n instance types to fulfill On-Demand and Spot capacity.

\n

When you update SpotAllocationStrategy, SpotInstancePools,\n or SpotMaxPrice, this update action does not deploy any changes across the\n running Amazon EC2 instances in the group. Your existing Spot Instances continue to run\n as long as the maximum price for those instances is higher than the current Spot price.\n When scale out occurs, Amazon EC2 Auto Scaling launches instances based on the new settings. When scale\n in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination\n policies.

" + "smithy.api#documentation": "

Describes an instances distribution for an Auto Scaling group with a MixedInstancesPolicy.

\n

The instances distribution specifies the distribution of On-Demand Instances and Spot\n Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates\n instance types to fulfill On-Demand and Spot capacities.

\n

When you update SpotAllocationStrategy, SpotInstancePools,\n or SpotMaxPrice, this update action does not deploy any changes across the\n running Amazon EC2 instances in the group. Your existing Spot Instances continue to run\n as long as the maximum price for those instances is higher than the current Spot price.\n When scale out occurs, Amazon EC2 Auto Scaling launches instances based on the new settings. When scale\n in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination\n policies.

" } }, "com.amazonaws.autoscaling#InstancesToUpdate": { @@ -3544,121 +3544,121 @@ "smithy.api#required": {} } }, - "ClassicLinkVPCId": { + "LaunchConfigurationARN": { + "target": "com.amazonaws.autoscaling#ResourceName", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the launch configuration.

" + } + }, + "ImageId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.

\n

For more information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n Instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more\n information, see Finding an AMI in the\n Amazon EC2 User Guide for Linux Instances.

", + "smithy.api#required": {} } }, - "MetadataOptions": { - "target": "com.amazonaws.autoscaling#InstanceMetadataOptions", + "KeyName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The name of the key pair.

\n

For more information, see Amazon EC2 Key Pairs in the\n Amazon EC2 User Guide for Linux Instances.

" } }, "SecurityGroups": { "target": "com.amazonaws.autoscaling#SecurityGroups", "traits": { - "smithy.api#documentation": "

A list that contains the security groups to assign to the instances in the Auto Scaling\n group.

\n

For more information, see Security Groups for Your\n VPC in the Amazon Virtual Private Cloud User\n Guide.

" + "smithy.api#documentation": "

A list that contains the security groups to assign to the instances in the Auto Scaling group.\n For more information, see Security Groups for Your\n VPC in the Amazon Virtual Private Cloud User\n Guide.

" } }, - "PlacementTenancy": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", + "ClassicLinkVPCId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The tenancy of the instance, either default or dedicated. An\n instance with dedicated tenancy runs on isolated, single-tenant hardware\n and can only be launched into a VPC.

\n

For more information, see Instance Placement\n Tenancy in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more\n information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

" } }, - "ImageId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "ClassicLinkVPCSecurityGroups": { + "target": "com.amazonaws.autoscaling#ClassicLinkVPCSecurityGroups", "traits": { - "smithy.api#documentation": "

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances.

\n

For more information, see Finding an AMI in the\n Amazon EC2 User Guide for Linux Instances.

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

The IDs of one or more security groups for the VPC specified in\n ClassicLinkVPCId.

\n

For more information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic instances to a VPC in the\n Amazon EC2 Auto Scaling User Guide.

" } }, "UserData": { "target": "com.amazonaws.autoscaling#XmlStringUserData", "traits": { - "smithy.api#documentation": "

The Base64-encoded user data to make available to the launched EC2 instances.

\n

For more information, see Instance Metadata and User\n Data in the Amazon EC2 User Guide for Linux Instances.

" + "smithy.api#documentation": "

The Base64-encoded user data to make available to the launched EC2 instances. For more\n information, see Instance metadata and user\n data in the Amazon EC2 User Guide for Linux Instances.

" } }, - "IamInstanceProfile": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen1600", + "InstanceType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name or the Amazon Resource Name (ARN) of the instance profile associated with the\n IAM role for the instance. The instance profile contains the IAM role.

\n

For more information, see IAM Role for Applications That Run\n on Amazon EC2 Instances in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The instance type for the instances.

\n

For information about available instance types, see Available\n Instance Types in the Amazon EC2 User Guide for Linux\n Instances.\n

", + "smithy.api#required": {} } }, - "ClassicLinkVPCSecurityGroups": { - "target": "com.amazonaws.autoscaling#ClassicLinkVPCSecurityGroups", + "KernelId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The IDs of one or more security groups for the VPC specified in\n ClassicLinkVPCId.

\n

For more information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic Instances to a VPC in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The ID of the kernel associated with the AMI.

" } }, - "AssociatePublicIpAddress": { - "target": "com.amazonaws.autoscaling#AssociatePublicIpAddress", + "RamdiskId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

For Auto Scaling groups that are running in a VPC, specifies whether to assign a public IP\n address to the group's instances.

\n

For more information, see Launching Auto Scaling Instances in a\n VPC in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The ID of the RAM disk associated with the AMI.

" } }, "BlockDeviceMappings": { "target": "com.amazonaws.autoscaling#BlockDeviceMappings", "traits": { - "smithy.api#documentation": "

A block device mapping, which specifies the block devices for the instance.

\n

For more information, see Block Device\n Mapping in the Amazon EC2 User Guide for Linux\n Instances.

" - } - }, - "KernelId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The ID of the kernel associated with the AMI.

" + "smithy.api#documentation": "

A block device mapping, which specifies the block devices for the instance. For more\n information, see Block Device\n Mapping in the Amazon EC2 User Guide for Linux\n Instances.

" } }, - "CreatedTime": { - "target": "com.amazonaws.autoscaling#TimestampType", + "InstanceMonitoring": { + "target": "com.amazonaws.autoscaling#InstanceMonitoring", "traits": { - "smithy.api#documentation": "

The creation date and time for the launch configuration.

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

Controls whether instances in this group are launched with detailed\n (true) or basic (false) monitoring.

\n

For more information, see Configure\n Monitoring for Auto Scaling Instances in the\n Amazon EC2 Auto Scaling User Guide.

" } }, - "EbsOptimized": { - "target": "com.amazonaws.autoscaling#EbsOptimized", + "SpotPrice": { + "target": "com.amazonaws.autoscaling#SpotPrice", "traits": { - "smithy.api#documentation": "

Specifies whether the launch configuration is optimized for EBS I/O\n (true) or not (false).

\n

For more information, see Amazon EBS-Optimized\n Instances in the Amazon EC2 User Guide for Linux\n Instances.

" + "smithy.api#documentation": "

The maximum hourly price to be paid for any Spot Instance launched to fulfill the\n request. Spot Instances are launched when the price you specify exceeds the current Spot\n price. For more information, see Requesting Spot\n Instances in the Amazon EC2 Auto Scaling User Guide.

" } }, - "KeyName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "IamInstanceProfile": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen1600", "traits": { - "smithy.api#documentation": "

The name of the key pair.

\n

For more information, see Amazon EC2 Key Pairs in the\n Amazon EC2 User Guide for Linux Instances.

" + "smithy.api#documentation": "

The name or the Amazon Resource Name (ARN) of the instance profile associated with the\n IAM role for the instance. The instance profile contains the IAM role. For more\n information, see IAM role for applications that run\n on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

" } }, - "InstanceMonitoring": { - "target": "com.amazonaws.autoscaling#InstanceMonitoring", + "CreatedTime": { + "target": "com.amazonaws.autoscaling#TimestampType", "traits": { - "smithy.api#documentation": "

Controls whether instances in this group are launched with detailed\n (true) or basic (false) monitoring.

\n

For more information, see Configure\n Monitoring for Auto Scaling Instances in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The creation date and time for the launch configuration.

", + "smithy.api#required": {} } }, - "InstanceType": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "EbsOptimized": { + "target": "com.amazonaws.autoscaling#EbsOptimized", "traits": { - "smithy.api#documentation": "

The instance type for the instances.

\n

For information about available instance types, see Available\n Instance Types in the Amazon EC2 User Guide for Linux\n Instances.\n

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

Specifies whether the launch configuration is optimized for EBS I/O\n (true) or not (false). For more information, see Amazon\n EBS-Optimized Instances in the Amazon EC2 User Guide for Linux\n Instances.

" } - }, - "LaunchConfigurationARN": { - "target": "com.amazonaws.autoscaling#ResourceName", + }, + "AssociatePublicIpAddress": { + "target": "com.amazonaws.autoscaling#AssociatePublicIpAddress", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the launch configuration.

" + "smithy.api#documentation": "

For Auto Scaling groups that are running in a VPC, specifies whether to assign a public IP\n address to the group's instances. For more information, see Launching Auto Scaling instances in a\n VPC in the Amazon EC2 Auto Scaling User Guide.

" } }, - "SpotPrice": { - "target": "com.amazonaws.autoscaling#SpotPrice", + "PlacementTenancy": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { - "smithy.api#documentation": "

The maximum hourly price to be paid for any Spot Instance launched to fulfill the\n request. Spot Instances are launched when the price you specify exceeds the current Spot\n price.

\n

For more information, see Launching Spot\n Instances in Your Auto Scaling Group in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The tenancy of the instance, either default or dedicated. An\n instance with dedicated tenancy runs on isolated, single-tenant hardware\n and can only be launched into a VPC.

\n

For more information, see Configuring\n instance tenancy with Amazon EC2 Auto Scaling in the\n Amazon EC2 Auto Scaling User Guide.

" } }, - "RamdiskId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "MetadataOptions": { + "target": "com.amazonaws.autoscaling#InstanceMetadataOptions", "traits": { - "smithy.api#documentation": "

The ID of the RAM disk associated with the AMI.

" + "smithy.api#documentation": "

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the\n Amazon EC2 Auto Scaling User Guide.

" } } }, @@ -3687,18 +3687,18 @@ "com.amazonaws.autoscaling#LaunchConfigurationNamesType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" - } - }, "LaunchConfigurationNames": { "target": "com.amazonaws.autoscaling#LaunchConfigurationNames", "traits": { "smithy.api#documentation": "

The launch configuration names. If you omit this parameter, all launch configurations\n are described.

" } }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

The token for the next set of items to return. (You received this token from a\n previous call.)

" + } + }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { @@ -3716,34 +3716,34 @@ "com.amazonaws.autoscaling#LaunchConfigurationsType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" - } - }, "LaunchConfigurations": { "target": "com.amazonaws.autoscaling#LaunchConfigurations", "traits": { "smithy.api#documentation": "

The launch configurations.

", "smithy.api#required": {} } + }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" + } } } }, "com.amazonaws.autoscaling#LaunchTemplate": { "type": "structure", "members": { - "Overrides": { - "target": "com.amazonaws.autoscaling#Overrides", + "LaunchTemplateSpecification": { + "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", "traits": { - "smithy.api#documentation": "

Any parameters that you specify override the same parameters in the launch template.\n Currently, the only supported override is instance type. You can specify between 1 and\n 20 instance types.

\n

If not provided, Amazon EC2 Auto Scaling will use the instance type specified in the launch template\n to launch instances.

" + "smithy.api#documentation": "

The launch template to use.

" } }, - "LaunchTemplateSpecification": { - "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", + "Overrides": { + "target": "com.amazonaws.autoscaling#Overrides", "traits": { - "smithy.api#documentation": "

The launch template to use. You must specify either the launch template ID or launch\n template name in the request.

" + "smithy.api#documentation": "

Any parameters that you specify override the same parameters in the launch template.\n Currently, the only supported override is instance type. You can specify between 1 and\n 20 instance types. If not provided, Amazon EC2 Auto Scaling will use the instance type specified in the\n launch template when it launches an instance.

" } } }, @@ -3767,13 +3767,13 @@ "InstanceType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The instance type. You must use an instance type that is supported in your requested\n Region and Availability Zones.

\n

For information about available instance types, see Available\n Instance Types in the Amazon Elastic Compute Cloud User\n Guide.\n

" + "smithy.api#documentation": "

The instance type, such as m3.xlarge. You must use an instance type that\n is supported in your requested Region and Availability Zones. For information about\n available instance types, see Available\n instance types in the Amazon Elastic Compute Cloud User\n Guide.\n

" } }, "WeightedCapacity": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { - "smithy.api#documentation": "

The number of capacity units, which gives the instance type a proportional weight to\n other instance types. For example, larger instance types are generally weighted more\n than smaller instance types. These are the same units that you chose to set the desired\n capacity in terms of instances, or a performance attribute such as vCPUs, memory, or\n I/O.

\n

For more information, see Instance Weighting for\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

\n

Valid Range: Minimum value of 1. Maximum value of 999.

" + "smithy.api#documentation": "

The number of capacity units provided by the specified instance type in terms of\n virtual CPUs, memory, storage, throughput, or other relative performance characteristic.\n When a Spot or On-Demand Instance is provisioned, the capacity units count toward the\n desired capacity. Amazon EC2 Auto Scaling provisions instances until the desired capacity is totally\n fulfilled, even if this results in an overage. For example, if there are 2 units\n remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only provision an instance with a\n WeightedCapacity of 5 units, the instance is provisioned, and the\n desired capacity is exceeded by 3 units. For more information, see Instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

\n

Valid Range: Minimum value of 1. Maximum value of 999.

" } } }, @@ -3784,27 +3784,27 @@ "com.amazonaws.autoscaling#LaunchTemplateSpecification": { "type": "structure", "members": { - "LaunchTemplateName": { - "target": "com.amazonaws.autoscaling#LaunchTemplateName", + "LaunchTemplateId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created\n using the Amazon EC2 CreateLaunchTemplate API.

\n

You must specify either a template ID or a template name.

" + "smithy.api#documentation": "

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created\n using the Amazon EC2 CreateLaunchTemplate API. You must specify either a\n LaunchTemplateId or a LaunchTemplateName.

" } }, - "Version": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "LaunchTemplateName": { + "target": "com.amazonaws.autoscaling#LaunchTemplateName", "traits": { - "smithy.api#documentation": "

The version number, $Latest, or $Default. To get the version\n number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions\n can be created using the Amazon EC2 CreateLaunchTemplateVersion API.

\n

If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the\n launch template when launching instances. If the value is $Default,\n Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances.\n The default value is $Default.

" + "smithy.api#documentation": "

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created\n using the Amazon EC2 CreateLaunchTemplate API. You must specify either a\n LaunchTemplateId or a LaunchTemplateName.

" } }, - "LaunchTemplateId": { + "Version": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created\n using the Amazon EC2 CreateLaunchTemplate API.

\n

You must specify either a template ID or a template name.

" + "smithy.api#documentation": "

The version number, $Latest, or $Default. To get the version\n number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions\n can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest,\n Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If\n the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch\n template when launching instances. The default value is $Default.

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

Describes the Amazon EC2 launch template and the launch template version that can be used\n by an Auto Scaling group to configure Amazon EC2 instances.

\n

The launch template that is specified must be configured for use with an Auto Scaling group.\n For more information, see Creating a Launch\n Template for an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Describes the Amazon EC2 launch template and the launch template version that can be used\n by an Auto Scaling group to configure Amazon EC2 instances.

\n

The launch template that is specified must be configured for use with an Auto Scaling group.\n For more information, see Creating a launch\n template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#LifecycleActionResult": { @@ -3822,22 +3822,34 @@ "com.amazonaws.autoscaling#LifecycleHook": { "type": "structure", "members": { + "LifecycleHookName": { + "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", + "traits": { + "smithy.api#documentation": "

The name of the lifecycle hook.

" + } + }, + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the Auto Scaling group for the lifecycle hook.

" + } + }, "LifecycleTransition": { "target": "com.amazonaws.autoscaling#LifecycleTransition", "traits": { "smithy.api#documentation": "

The state of the EC2 instance to which to attach the lifecycle hook. The following are\n possible values:

\n " } }, - "HeartbeatTimeout": { - "target": "com.amazonaws.autoscaling#HeartbeatTimeout", + "NotificationTargetARN": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The maximum time, in seconds, that can elapse before the lifecycle hook times out. If\n the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the\n DefaultResult parameter.

" + "smithy.api#documentation": "

The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the\n transition state for the lifecycle hook. The notification target can be either an SQS\n queue or an SNS topic.

" } }, - "NotificationTargetARN": { + "RoleARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the\n transition state for the lifecycle hook. The notification target can be either an SQS\n queue or an SNS topic.

" + "smithy.api#documentation": "

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target.

" } }, "NotificationMetadata": { @@ -3846,16 +3858,16 @@ "smithy.api#documentation": "

Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the\n notification target.

" } }, - "RoleARN": { - "target": "com.amazonaws.autoscaling#ResourceName", + "HeartbeatTimeout": { + "target": "com.amazonaws.autoscaling#HeartbeatTimeout", "traits": { - "smithy.api#documentation": "

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target.

" + "smithy.api#documentation": "

The maximum time, in seconds, that can elapse before the lifecycle hook times out. If\n the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the\n DefaultResult parameter.

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "GlobalTimeout": { + "target": "com.amazonaws.autoscaling#GlobalTimeout", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group for the lifecycle hook.

" + "smithy.api#documentation": "

The maximum time, in seconds, that an instance can remain in a\n Pending:Wait or Terminating:Wait state. The maximum is\n 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is\n smaller.

" } }, "DefaultResult": { @@ -3863,18 +3875,6 @@ "traits": { "smithy.api#documentation": "

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses\n or if an unexpected failure occurs. The possible values are CONTINUE and\n ABANDON.

" } - }, - "LifecycleHookName": { - "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The name of the lifecycle hook.

" - } - }, - "GlobalTimeout": { - "target": "com.amazonaws.autoscaling#GlobalTimeout", - "traits": { - "smithy.api#documentation": "

The maximum time, in seconds, that an instance can remain in a\n Pending:Wait or Terminating:Wait state. The maximum is\n 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is\n smaller.

" - } } }, "traits": { @@ -3896,6 +3896,13 @@ "com.amazonaws.autoscaling#LifecycleHookSpecification": { "type": "structure", "members": { + "LifecycleHookName": { + "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", + "traits": { + "smithy.api#documentation": "

The name of the lifecycle hook.

", + "smithy.api#required": {} + } + }, "LifecycleTransition": { "target": "com.amazonaws.autoscaling#LifecycleTransition", "traits": { @@ -3909,11 +3916,10 @@ "smithy.api#documentation": "

Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to\n the notification target.

" } }, - "LifecycleHookName": { - "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", + "HeartbeatTimeout": { + "target": "com.amazonaws.autoscaling#HeartbeatTimeout", "traits": { - "smithy.api#documentation": "

The name of the lifecycle hook.

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

The maximum time, in seconds, that can elapse before the lifecycle hook times\n out.

\n

If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in\n the DefaultResult parameter. You can prevent the lifecycle hook from timing\n out by calling RecordLifecycleActionHeartbeat.

" } }, "DefaultResult": { @@ -3933,16 +3939,10 @@ "traits": { "smithy.api#documentation": "

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target, for example, an Amazon SNS topic or an Amazon SQS queue.

" } - }, - "HeartbeatTimeout": { - "target": "com.amazonaws.autoscaling#HeartbeatTimeout", - "traits": { - "smithy.api#documentation": "

The maximum time, in seconds, that can elapse before the lifecycle hook times\n out.

\n

If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in\n the DefaultResult parameter. You can prevent the lifecycle hook from timing\n out by calling RecordLifecycleActionHeartbeat.

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

Describes information used to specify a lifecycle hook for an Auto Scaling\n group.

\n

A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance\n launches (before it is put into service) or as the instance terminates (before it is\n fully terminated).

\n

This step is a part of the procedure for creating a lifecycle hook for an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.

    \n
  2. \n
  3. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.

    \n
  4. \n
  5. \n

    \n Create the lifecycle hook. Specify whether the hook is\n used when the instances launch or terminate.\n

    \n
  6. \n
  7. \n

    If you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state.

    \n
  8. \n
  9. \n

    If you finish before the timeout period ends, complete the lifecycle\n action.

    \n
  10. \n
\n

For more information, see Amazon EC2 Auto Scaling Lifecycle\n Hooks in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Describes information used to specify a lifecycle hook for an Auto Scaling\n group.

\n

A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance\n launches (before it is put into service) or as the instance terminates (before it is\n fully terminated).

\n

This step is a part of the procedure for creating a lifecycle hook for an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.

    \n
  2. \n
  3. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.

    \n
  4. \n
  5. \n

    \n Create the lifecycle hook. Specify whether the hook is\n used when the instances launch or terminate.\n

    \n
  6. \n
  7. \n

    If you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state.

    \n
  8. \n
  9. \n

    If you finish before the timeout period ends, complete the lifecycle\n action.

    \n
  10. \n
\n

For more information, see Amazon EC2 Auto Scaling lifecycle\n hooks in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#LifecycleHookSpecifications": { @@ -4044,16 +4044,16 @@ "com.amazonaws.autoscaling#LoadBalancerState": { "type": "structure", "members": { - "State": { + "LoadBalancerName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

One of the following load balancer states:

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

The name of the load balancer.

" } }, - "LoadBalancerName": { + "State": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the load balancer.

" + "smithy.api#documentation": "

One of the following load balancer states:

\n " } } }, @@ -4287,21 +4287,21 @@ "com.amazonaws.autoscaling#MixedInstancesPolicy": { "type": "structure", "members": { - "InstancesDistribution": { - "target": "com.amazonaws.autoscaling#InstancesDistribution", + "LaunchTemplate": { + "target": "com.amazonaws.autoscaling#LaunchTemplate", "traits": { - "smithy.api#documentation": "

The instances distribution to use.

\n

If you leave this parameter unspecified, the value for each parameter in\n InstancesDistribution uses a default value.

" + "smithy.api#documentation": "

Specifies the launch template to use and optionally the instance types (overrides)\n that are used to provision EC2 instances to fulfill On-Demand and Spot capacities.\n Required when creating a mixed instances policy.

" } }, - "LaunchTemplate": { - "target": "com.amazonaws.autoscaling#LaunchTemplate", + "InstancesDistribution": { + "target": "com.amazonaws.autoscaling#InstancesDistribution", "traits": { - "smithy.api#documentation": "

The launch template and instance types (overrides).

\n

Required when creating a mixed instances policy.

" + "smithy.api#documentation": "

Specifies the instances distribution. If not provided, the value for each parameter in\n InstancesDistribution uses a default value.

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

Describes a mixed instances policy for an Auto Scaling group. With mixed instances, your Auto Scaling\n group can provision a combination of On-Demand Instances and Spot Instances across\n multiple instance types. For more information, see Auto Scaling Groups with\n Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User\n Guide.

\n

You can create a mixed instances policy for a new Auto Scaling group, or you can create it for\n an existing group by updating the group to specify MixedInstancesPolicy as\n the top-level parameter instead of a launch configuration or launch template. For more\n information, see CreateAutoScalingGroup and UpdateAutoScalingGroup.

" + "smithy.api#documentation": "

Describes a mixed instances policy for an Auto Scaling group. With mixed instances, your Auto Scaling\n group can provision a combination of On-Demand Instances and Spot Instances across\n multiple instance types. For more information, see Auto Scaling Groups with\n Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User\n Guide.

\n

You can create a mixed instances policy for a new Auto Scaling group, or you can create it for\n an existing group by updating the group to specify MixedInstancesPolicy as\n the top-level parameter instead of a launch configuration or launch template.

" } }, "com.amazonaws.autoscaling#MonitoringEnabled": { @@ -4319,10 +4319,10 @@ "com.amazonaws.autoscaling#NotificationConfiguration": { "type": "structure", "members": { - "NotificationType": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

One of the following event notification types:

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

The name of the Auto Scaling group.

" } }, "TopicARN": { @@ -4331,10 +4331,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS)\n topic.

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "NotificationType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

" + "smithy.api#documentation": "

One of the following event notification types:

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

Describes a process type.

\n

For more information, see Scaling Processes in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Describes a process type.

\n

For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#Processes": { @@ -4534,7 +4534,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates a lifecycle hook for the specified Auto Scaling group.

\n

A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance\n launches (before it is put into service) or as the instance terminates (before it is\n fully terminated).

\n

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.

    \n
  2. \n
  3. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.

    \n
  4. \n
  5. \n

    \n Create the lifecycle hook. Specify whether the hook is\n used when the instances launch or terminate.\n

    \n
  6. \n
  7. \n

    If you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state using the RecordLifecycleActionHeartbeat API call.

    \n
  8. \n
  9. \n

    If you finish before the timeout period ends, complete the lifecycle action\n using the CompleteLifecycleAction API call.

    \n
  10. \n
\n

For more information, see Amazon EC2 Auto Scaling Lifecycle\n Hooks in the Amazon EC2 Auto Scaling User Guide.

\n

If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling\n group, the call fails.

\n

You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle\n hook, you can delete it by calling the DeleteLifecycleHook API.

" + "smithy.api#documentation": "

Creates or updates a lifecycle hook for the specified Auto Scaling group.

\n

A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance\n launches (before it is put into service) or as the instance terminates (before it is\n fully terminated).

\n

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.

    \n
  2. \n
  3. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.

    \n
  4. \n
  5. \n

    \n Create the lifecycle hook. Specify whether the hook is\n used when the instances launch or terminate.\n

    \n
  6. \n
  7. \n

    If you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state using the RecordLifecycleActionHeartbeat API call.

    \n
  8. \n
  9. \n

    If you finish before the timeout period ends, complete the lifecycle action\n using the CompleteLifecycleAction API call.

    \n
  10. \n
\n

For more information, see Amazon EC2 Auto Scaling lifecycle\n hooks in the Amazon EC2 Auto Scaling User Guide.

\n

If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling\n group, the call fails.

\n

You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle\n hook, you can delete it by calling the DeleteLifecycleHook API.

" } }, "com.amazonaws.autoscaling#PutLifecycleHookAnswer": { @@ -4544,22 +4544,11 @@ "com.amazonaws.autoscaling#PutLifecycleHookType": { "type": "structure", "members": { - "LifecycleTransition": { - "target": "com.amazonaws.autoscaling#LifecycleTransition", - "traits": { - "smithy.api#documentation": "

The instance state to which you want to attach the lifecycle hook. The valid values\n are:

\n \n

Required for new lifecycle hooks, but optional when updating existing hooks.

" - } - }, - "HeartbeatTimeout": { - "target": "com.amazonaws.autoscaling#HeartbeatTimeout", - "traits": { - "smithy.api#documentation": "

The maximum time, in seconds, that can elapse before the lifecycle hook times out. The\n range is from 30 to 7200 seconds. The default value is\n 3600 seconds (1 hour).

\n

If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in\n the DefaultResult parameter. You can prevent the lifecycle hook from timing\n out by calling the RecordLifecycleActionHeartbeat API.

" - } - }, - "NotificationMetadata": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen1023", + "LifecycleHookName": { + "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { - "smithy.api#documentation": "

Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to\n the notification target.

" + "smithy.api#documentation": "

The name of the lifecycle hook.

", + "smithy.api#required": {} } }, "AutoScalingGroupName": { @@ -4569,17 +4558,16 @@ "smithy.api#required": {} } }, - "RoleARN": { - "target": "com.amazonaws.autoscaling#ResourceName", + "LifecycleTransition": { + "target": "com.amazonaws.autoscaling#LifecycleTransition", "traits": { - "smithy.api#documentation": "

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target, for example, an Amazon SNS topic or an Amazon SQS queue.

\n

Required for new lifecycle hooks, but optional when updating existing hooks.

" + "smithy.api#documentation": "

The instance state to which you want to attach the lifecycle hook. The valid values\n are:

\n \n

Required for new lifecycle hooks, but optional when updating existing hooks.

" } }, - "LifecycleHookName": { - "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", + "RoleARN": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the lifecycle hook.

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

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target, for example, an Amazon SNS topic or an Amazon SQS queue.

\n

Required for new lifecycle hooks, but optional when updating existing hooks.

" } }, "NotificationTargetARN": { @@ -4588,6 +4576,18 @@ "smithy.api#documentation": "

The ARN of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance\n is in the transition state for the lifecycle hook. This target can be either an SQS\n queue or an SNS topic.

\n

If you specify an empty string, this overrides the current ARN.

\n

This operation uses the JSON format when sending notifications to an Amazon SQS queue,\n and an email key-value pair format when sending notifications to an Amazon SNS\n topic.

\n

When you specify a notification target, Amazon EC2 Auto Scaling sends it a test message. Test\n messages contain the following additional key-value pair: \"Event\":\n \"autoscaling:TEST_NOTIFICATION\".

" } }, + "NotificationMetadata": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen1023", + "traits": { + "smithy.api#documentation": "

Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to\n the notification target.

" + } + }, + "HeartbeatTimeout": { + "target": "com.amazonaws.autoscaling#HeartbeatTimeout", + "traits": { + "smithy.api#documentation": "

The maximum time, in seconds, that can elapse before the lifecycle hook times out. The\n range is from 30 to 7200 seconds. The default value is\n 3600 seconds (1 hour).

\n

If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in\n the DefaultResult parameter. You can prevent the lifecycle hook from timing\n out by calling the RecordLifecycleActionHeartbeat API.

" + } + }, "DefaultResult": { "target": "com.amazonaws.autoscaling#LifecycleActionResult", "traits": { @@ -4613,12 +4613,19 @@ } ], "traits": { - "smithy.api#documentation": "

Configures an Auto Scaling group to send notifications when specified events take place.\n Subscribers to the specified topic can have messages delivered to an endpoint such as a\n web server or an email address.

\n

This configuration overwrites any existing configuration.

\n

For more information, see Getting Amazon SNS\n Notifications When Your Auto Scaling Group Scales in the\n Amazon EC2 Auto Scaling User Guide.

\n

If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call\n fails.

" + "smithy.api#documentation": "

Configures an Auto Scaling group to send notifications when specified events take place.\n Subscribers to the specified topic can have messages delivered to an endpoint such as a\n web server or an email address.

\n

This configuration overwrites any existing configuration.

\n

For more information, see Getting Amazon SNS\n notifications when your Auto Scaling group scales in the\n Amazon EC2 Auto Scaling User Guide.

\n

If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call\n fails.

" } }, "com.amazonaws.autoscaling#PutNotificationConfigurationType": { "type": "structure", "members": { + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} + } + }, "TopicARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { @@ -4632,13 +4639,6 @@ "smithy.api#documentation": "

The type of event that causes the notification to be sent. To query the notification\n types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.

", "smithy.api#required": {} } - }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

", - "smithy.api#required": {} - } } } }, @@ -4662,40 +4662,36 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates a scaling policy for an Auto Scaling group.

\n

For more information about using scaling policies to scale your Auto Scaling group, see Target Tracking Scaling Policies and Step and Simple Scaling\n Policies in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Creates or updates a scaling policy for an Auto Scaling group.

\n

For more information about using scaling policies to scale your Auto Scaling group, see Target tracking scaling policies and Step and simple scaling\n policies in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#PutScalingPolicyType": { "type": "structure", "members": { - "ScalingAdjustment": { - "target": "com.amazonaws.autoscaling#PolicyIncrement", - "traits": { - "smithy.api#documentation": "

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current capacity.\n For exact capacity, you must specify a positive value.

\n

Required if the policy type is SimpleScaling. (Not used with any other\n policy type.)

" - } - }, - "TargetTrackingConfiguration": { - "target": "com.amazonaws.autoscaling#TargetTrackingConfiguration", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

A target tracking scaling policy. Includes support for predefined or customized\n metrics.

\n

The following predefined metrics are available:

\n \n

If you specify ALBRequestCountPerTarget for the metric, you must specify\n the ResourceLabel parameter with the\n PredefinedMetricSpecification.

\n

For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API\n Reference.

\n

Required if the policy type is TargetTrackingScaling.

" + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} } }, - "AdjustmentType": { + "PolicyName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

Specifies how the scaling adjustment is interpreted (for example, an absolute number\n or a percentage). The valid values are ChangeInCapacity,\n ExactCapacity, and PercentChangeInCapacity.

\n

Required if the policy type is StepScaling or SimpleScaling.\n For more information, see Scaling Adjustment Types in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The name of the policy.

", + "smithy.api#required": {} } }, - "EstimatedInstanceWarmup": { - "target": "com.amazonaws.autoscaling#EstimatedInstanceWarmup", + "PolicyType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { - "smithy.api#documentation": "

The estimated time, in seconds, until a newly launched instance can contribute to the\n CloudWatch metrics. If not provided, the default is to use the value from the default cooldown\n period for the Auto Scaling group.

\n

Valid only if the policy type is TargetTrackingScaling or\n StepScaling.

" + "smithy.api#documentation": "

One of the following policy types:

\n " } }, - "Enabled": { - "target": "com.amazonaws.autoscaling#ScalingPolicyEnabled", + "AdjustmentType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

Indicates whether the scaling policy is enabled or disabled. The default is enabled.\n For more information, see Disabling a\n Scaling Policy for an Auto Scaling Group in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Specifies how the scaling adjustment is interpreted (for example, an absolute number\n or a percentage). The valid values are ChangeInCapacity,\n ExactCapacity, and PercentChangeInCapacity.

\n

Required if the policy type is StepScaling or SimpleScaling.\n For more information, see Scaling adjustment types in the Amazon EC2 Auto Scaling User Guide.

" } }, "MinAdjustmentStep": { @@ -4704,24 +4700,28 @@ "smithy.api#documentation": "

Available for backward compatibility. Use MinAdjustmentMagnitude\n instead.

" } }, - "PolicyName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "MinAdjustmentMagnitude": { + "target": "com.amazonaws.autoscaling#MinAdjustmentMagnitude", "traits": { - "smithy.api#documentation": "

The name of the policy.

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

The minimum value to scale by when the adjustment type is\n PercentChangeInCapacity. For example, suppose that you create a step\n scaling policy to scale out an Auto Scaling group by 25 percent and you specify a\n MinAdjustmentMagnitude of 2. If the group has 4 instances and the\n scaling policy is performed, 25 percent of 4 is 1. However, because you specified a\n MinAdjustmentMagnitude of 2, Amazon EC2 Auto Scaling scales out the group by 2\n instances.

\n

Valid only if the policy type is StepScaling or\n SimpleScaling. For more information, see Scaling adjustment types in the Amazon EC2 Auto Scaling User\n Guide.

\n \n

Some Auto Scaling groups use instance weights. In this case, set the\n MinAdjustmentMagnitude to a value that is at least as large as your\n largest instance weight.

\n
" } }, - "MinAdjustmentMagnitude": { - "target": "com.amazonaws.autoscaling#MinAdjustmentMagnitude", + "ScalingAdjustment": { + "target": "com.amazonaws.autoscaling#PolicyIncrement", "traits": { - "smithy.api#documentation": "

The minimum value to scale by when the adjustment type is\n PercentChangeInCapacity. For example, suppose that you create a step\n scaling policy to scale out an Auto Scaling group by 25 percent and you specify a\n MinAdjustmentMagnitude of 2. If the group has 4 instances and the\n scaling policy is performed, 25 percent of 4 is 1. However, because you specified a\n MinAdjustmentMagnitude of 2, Amazon EC2 Auto Scaling scales out the group by 2\n instances.

\n

Valid only if the policy type is StepScaling or\n SimpleScaling. For more information, see Scaling Adjustment Types in the Amazon EC2 Auto Scaling User\n Guide.

\n \n

Some Auto Scaling groups use instance weights. In this case, set the\n MinAdjustmentMagnitude to a value that is at least as large as your\n largest instance weight.

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

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current capacity.\n For exact capacity, you must specify a positive value.

\n

Required if the policy type is SimpleScaling. (Not used with any other\n policy type.)

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "Cooldown": { + "target": "com.amazonaws.autoscaling#Cooldown", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

The duration of the policy's cooldown period, in seconds. When a cooldown period is\n specified here, it overrides the default cooldown period defined for the Auto Scaling\n group.

\n

Valid only if the policy type is SimpleScaling. For more information, see\n Scaling\n cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" + } + }, + "MetricAggregationType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", + "traits": { + "smithy.api#documentation": "

The aggregation type for the CloudWatch metrics. The valid values are Minimum,\n Maximum, and Average. If the aggregation type is null, the\n value is treated as Average.

\n

Valid only if the policy type is StepScaling.

" } }, "StepAdjustments": { @@ -4730,22 +4730,22 @@ "smithy.api#documentation": "

A set of adjustments that enable you to scale based on the size of the alarm\n breach.

\n

Required if the policy type is StepScaling. (Not used with any other\n policy type.)

" } }, - "PolicyType": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", + "EstimatedInstanceWarmup": { + "target": "com.amazonaws.autoscaling#EstimatedInstanceWarmup", "traits": { - "smithy.api#documentation": "

One of the following policy types:

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

The estimated time, in seconds, until a newly launched instance can contribute to the\n CloudWatch metrics. If not provided, the default is to use the value from the default cooldown\n period for the Auto Scaling group.

\n

Valid only if the policy type is TargetTrackingScaling or\n StepScaling.

" } }, - "Cooldown": { - "target": "com.amazonaws.autoscaling#Cooldown", + "TargetTrackingConfiguration": { + "target": "com.amazonaws.autoscaling#TargetTrackingConfiguration", "traits": { - "smithy.api#documentation": "

The duration of the policy's cooldown period, in seconds. When a cooldown period is\n specified here, it overrides the default cooldown period defined for the Auto Scaling\n group.

\n

Valid only if the policy type is SimpleScaling. For more information, see\n Scaling\n Cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

A target tracking scaling policy. Includes support for predefined or customized\n metrics.

\n

The following predefined metrics are available:

\n \n

If you specify ALBRequestCountPerTarget for the metric, you must specify\n the ResourceLabel parameter with the\n PredefinedMetricSpecification.

\n

For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API\n Reference.

\n

Required if the policy type is TargetTrackingScaling.

" } }, - "MetricAggregationType": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", + "Enabled": { + "target": "com.amazonaws.autoscaling#ScalingPolicyEnabled", "traits": { - "smithy.api#documentation": "

The aggregation type for the CloudWatch metrics. The valid values are Minimum,\n Maximum, and Average. If the aggregation type is null, the\n value is treated as Average.

\n

Valid only if the policy type is StepScaling.

" + "smithy.api#documentation": "

Indicates whether the scaling policy is enabled or disabled. The default is enabled.\n For more information, see Disabling a\n scaling policy for an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.

" } } } @@ -4767,35 +4767,36 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates a scheduled scaling action for an Auto Scaling group. If you leave a\n parameter unspecified when updating a scheduled scaling action, the corresponding value\n remains unchanged.

\n

For more information, see Scheduled Scaling in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Creates or updates a scheduled scaling action for an Auto Scaling group. If you leave a\n parameter unspecified when updating a scheduled scaling action, the corresponding value\n remains unchanged.

\n

For more information, see Scheduled scaling in the\n Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#PutScheduledUpdateGroupActionType": { "type": "structure", "members": { - "Time": { - "target": "com.amazonaws.autoscaling#TimestampType", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

This parameter is no longer used.

" + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} } }, - "MinSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", + "ScheduledActionName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The minimum size of the Auto Scaling group.

" + "smithy.api#documentation": "

The name of this scaling action.

", + "smithy.api#required": {} } }, - "StartTime": { + "Time": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { - "smithy.api#documentation": "

The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT\n only and in quotes (for example, \"2019-06-01T00:00:00Z\").

\n

If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs\n the action at this time, and then performs the action based on the specified\n recurrence.

\n

If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error\n message.

" + "smithy.api#documentation": "

This parameter is no longer used.

" } }, - "ScheduledActionName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "StartTime": { + "target": "com.amazonaws.autoscaling#TimestampType", "traits": { - "smithy.api#documentation": "

The name of this scaling action.

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

The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT\n only and in quotes (for example, \"2019-06-01T00:00:00Z\").

\n

If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs\n the action at this time, and then performs the action based on the specified\n recurrence.

\n

If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error\n message.

" } }, "EndTime": { @@ -4804,11 +4805,16 @@ "smithy.api#documentation": "

The date and time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the\n action after this time.

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "Recurrence": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

The recurring schedule for this action, in Unix cron syntax format. This format\n consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month]\n [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, \"30 0 1\n 1,6,12 *\"). For more information about this format, see Crontab.

\n

When StartTime and EndTime are specified with\n Recurrence, they form the boundaries of when the recurring action\n starts and stops.

" + } + }, + "MinSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", + "traits": { + "smithy.api#documentation": "

The minimum size of the Auto Scaling group.

" } }, "MaxSize": { @@ -4822,12 +4828,6 @@ "traits": { "smithy.api#documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled\n action runs and the capacity it attempts to maintain. It can scale beyond this capacity\n if you add more scaling conditions.

" } - }, - "Recurrence": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The recurring schedule for this action, in Unix cron syntax format. This format\n consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month]\n [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, \"30 0 1\n 1,6,12 *\"). For more information about this format, see Crontab.

\n

When StartTime and EndTime are specified with\n Recurrence, they form the boundaries of when the recurring action\n starts and stops.

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

Records a heartbeat for the lifecycle action associated with the specified token or\n instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call.

\n\n

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.

    \n
  2. \n
  3. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.

    \n
  4. \n
  5. \n

    Create the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.

    \n
  6. \n
  7. \n

    \n If you need more time, record the lifecycle action\n heartbeat to keep the instance in a pending state.\n

    \n
  8. \n
  9. \n

    If you finish before the timeout period ends, complete the lifecycle\n action.

    \n
  10. \n
\n

For more information, see Auto Scaling\n Lifecycle in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Records a heartbeat for the lifecycle action associated with the specified token or\n instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call.

\n\n

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.

    \n
  2. \n
  3. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.

    \n
  4. \n
  5. \n

    Create the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.

    \n
  6. \n
  7. \n

    \n If you need more time, record the lifecycle action\n heartbeat to keep the instance in a pending state.\n

    \n
  8. \n
  9. \n

    If you finish before the timeout period ends, complete the lifecycle\n action.

    \n
  10. \n
\n

For more information, see Auto Scaling\n lifecycle in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#RecordLifecycleActionHeartbeatAnswer": { @@ -4862,6 +4862,13 @@ "smithy.api#required": {} } }, + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} + } + }, "LifecycleActionToken": { "target": "com.amazonaws.autoscaling#LifecycleActionToken", "traits": { @@ -4873,13 +4880,6 @@ "traits": { "smithy.api#documentation": "

The ID of the instance.

" } - }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

", - "smithy.api#required": {} - } } } }, @@ -4895,17 +4895,17 @@ "com.amazonaws.autoscaling#RefreshPreferences": { "type": "structure", "members": { - "InstanceWarmup": { - "target": "com.amazonaws.autoscaling#RefreshInstanceWarmup", - "traits": { - "smithy.api#documentation": "

The number of seconds until a newly launched instance is configured and ready to use.\n During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The\n default is to use the value for the health check grace period defined for the\n group.

" - } - }, "MinHealthyPercentage": { "target": "com.amazonaws.autoscaling#IntPercent", "traits": { "smithy.api#documentation": "

The amount of capacity in the Auto Scaling group that must remain healthy during an instance\n refresh to allow the operation to continue, as a percentage of the desired capacity of\n the Auto Scaling group (rounded up to the nearest integer). The default is 90.\n

" } + }, + "InstanceWarmup": { + "target": "com.amazonaws.autoscaling#RefreshInstanceWarmup", + "traits": { + "smithy.api#documentation": "

The number of seconds until a newly launched instance is configured and ready to use.\n During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The\n default is to use the value for the health check grace period defined for the\n group.

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

Resumes the specified suspended automatic scaling processes, or all suspended process,\n for the specified Auto Scaling group.

\n

For more information, see Suspending and\n Resuming Scaling Processes in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Resumes the specified suspended auto scaling processes, or all suspended process, for\n the specified Auto Scaling group.

\n

For more information, see Suspending and\n resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#ScalingActivityInProgressFault": { @@ -5062,40 +5062,40 @@ "com.amazonaws.autoscaling#ScalingPolicy": { "type": "structure", "members": { - "Alarms": { - "target": "com.amazonaws.autoscaling#Alarms", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The CloudWatch alarms related to the policy.

" + "smithy.api#documentation": "

The name of the Auto Scaling group.

" } }, - "EstimatedInstanceWarmup": { - "target": "com.amazonaws.autoscaling#EstimatedInstanceWarmup", + "PolicyName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The estimated time, in seconds, until a newly launched instance can contribute to the\n CloudWatch metrics.

" + "smithy.api#documentation": "

The name of the scaling policy.

" } }, - "AdjustmentType": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "PolicyARN": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

Specifies how the scaling adjustment is interpreted (for example, an absolute number\n or a percentage). The valid values are ChangeInCapacity,\n ExactCapacity, and PercentChangeInCapacity.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the policy.

" } }, - "ScalingAdjustment": { - "target": "com.amazonaws.autoscaling#PolicyIncrement", + "PolicyType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { - "smithy.api#documentation": "

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current\n capacity.

" + "smithy.api#documentation": "

One of the following policy types:

\n \n

For more information, see Target tracking\n scaling policies and Step and simple scaling\n policies in the Amazon EC2 Auto Scaling User Guide.

" } }, - "MinAdjustmentStep": { - "target": "com.amazonaws.autoscaling#MinAdjustmentStep", + "AdjustmentType": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

Available for backward compatibility. Use MinAdjustmentMagnitude\n instead.

" + "smithy.api#documentation": "

Specifies how the scaling adjustment is interpreted (for example, an absolute number\n or a percentage). The valid values are ChangeInCapacity,\n ExactCapacity, and PercentChangeInCapacity.

" } }, - "Enabled": { - "target": "com.amazonaws.autoscaling#ScalingPolicyEnabled", + "MinAdjustmentStep": { + "target": "com.amazonaws.autoscaling#MinAdjustmentStep", "traits": { - "smithy.api#documentation": "

Indicates whether the policy is enabled (true) or disabled\n (false).

" + "smithy.api#documentation": "

Available for backward compatibility. Use MinAdjustmentMagnitude\n instead.

" } }, "MinAdjustmentMagnitude": { @@ -5104,28 +5104,22 @@ "smithy.api#documentation": "

The minimum value to scale by when the adjustment type is\n PercentChangeInCapacity.

" } }, - "PolicyName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The name of the scaling policy.

" - } - }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "ScalingAdjustment": { + "target": "com.amazonaws.autoscaling#PolicyIncrement", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

" + "smithy.api#documentation": "

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current\n capacity.

" } }, - "PolicyARN": { - "target": "com.amazonaws.autoscaling#ResourceName", + "Cooldown": { + "target": "com.amazonaws.autoscaling#Cooldown", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the policy.

" + "smithy.api#documentation": "

The duration of the policy's cooldown period, in seconds.

" } }, - "TargetTrackingConfiguration": { - "target": "com.amazonaws.autoscaling#TargetTrackingConfiguration", + "StepAdjustments": { + "target": "com.amazonaws.autoscaling#StepAdjustments", "traits": { - "smithy.api#documentation": "

A target tracking scaling policy.

" + "smithy.api#documentation": "

A set of adjustments that enable you to scale based on the size of the alarm\n breach.

" } }, "MetricAggregationType": { @@ -5134,22 +5128,28 @@ "smithy.api#documentation": "

The aggregation type for the CloudWatch metrics. The valid values are Minimum,\n Maximum, and Average.

" } }, - "PolicyType": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", + "EstimatedInstanceWarmup": { + "target": "com.amazonaws.autoscaling#EstimatedInstanceWarmup", "traits": { - "smithy.api#documentation": "

One of the following policy types:

\n \n

For more information, see Target Tracking\n Scaling Policies and Step and Simple Scaling\n Policies in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The estimated time, in seconds, until a newly launched instance can contribute to the\n CloudWatch metrics.

" } }, - "StepAdjustments": { - "target": "com.amazonaws.autoscaling#StepAdjustments", + "Alarms": { + "target": "com.amazonaws.autoscaling#Alarms", "traits": { - "smithy.api#documentation": "

A set of adjustments that enable you to scale based on the size of the alarm\n breach.

" + "smithy.api#documentation": "

The CloudWatch alarms related to the policy.

" } }, - "Cooldown": { - "target": "com.amazonaws.autoscaling#Cooldown", + "TargetTrackingConfiguration": { + "target": "com.amazonaws.autoscaling#TargetTrackingConfiguration", "traits": { - "smithy.api#documentation": "

The duration of the policy's cooldown period, in seconds.

" + "smithy.api#documentation": "

A target tracking scaling policy.

" + } + }, + "Enabled": { + "target": "com.amazonaws.autoscaling#ScalingPolicyEnabled", + "traits": { + "smithy.api#documentation": "

Indicates whether the policy is enabled (true) or disabled\n (false).

" } } }, @@ -5166,18 +5166,18 @@ "com.amazonaws.autoscaling#ScalingProcessQuery": { "type": "structure", "members": { - "ScalingProcesses": { - "target": "com.amazonaws.autoscaling#ProcessNames", - "traits": { - "smithy.api#documentation": "

One or more of the following processes:

\n \n

If you omit this parameter, all processes are specified.

" - } - }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } + }, + "ScalingProcesses": { + "target": "com.amazonaws.autoscaling#ProcessNames", + "traits": { + "smithy.api#documentation": "

One or more of the following processes:

\n \n

If you omit this parameter, all processes are specified.

" + } } } }, @@ -5190,23 +5190,29 @@ "com.amazonaws.autoscaling#ScheduledActionsType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" - } - }, "ScheduledUpdateGroupActions": { "target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActions", "traits": { "smithy.api#documentation": "

The scheduled actions.

" } + }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" + } } } }, "com.amazonaws.autoscaling#ScheduledUpdateGroupAction": { "type": "structure", "members": { + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "traits": { + "smithy.api#documentation": "

The name of the Auto Scaling group.

" + } + }, "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { @@ -5219,28 +5225,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the scheduled action.

" } }, - "MaxSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", - "traits": { - "smithy.api#documentation": "

The maximum size of the Auto Scaling group.

" - } - }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

" - } - }, - "Recurrence": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The recurring schedule for the action, in Unix cron syntax format.

\n

When StartTime and EndTime are specified with\n Recurrence, they form the boundaries of when the recurring action\n starts and stops.

" - } - }, - "DesiredCapacity": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", + "Time": { + "target": "com.amazonaws.autoscaling#TimestampType", "traits": { - "smithy.api#documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled\n action runs and the capacity it attempts to maintain.

" + "smithy.api#documentation": "

This parameter is no longer used.

" } }, "StartTime": { @@ -5255,10 +5243,10 @@ "smithy.api#documentation": "

The date and time in UTC for the recurring schedule to end. For example,\n \"2019-06-01T00:00:00Z\".\n

" } }, - "Time": { - "target": "com.amazonaws.autoscaling#TimestampType", + "Recurrence": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

This parameter is no longer used.

" + "smithy.api#documentation": "

The recurring schedule for the action, in Unix cron syntax format.

\n

When StartTime and EndTime are specified with\n Recurrence, they form the boundaries of when the recurring action\n starts and stops.

" } }, "MinSize": { @@ -5266,6 +5254,18 @@ "traits": { "smithy.api#documentation": "

The minimum size of the Auto Scaling group.

" } + }, + "MaxSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", + "traits": { + "smithy.api#documentation": "

The maximum size of the Auto Scaling group.

" + } + }, + "DesiredCapacity": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", + "traits": { + "smithy.api#documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled\n action runs and the capacity it attempts to maintain.

" + } } }, "traits": { @@ -5273,20 +5273,8 @@ } }, "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequest": { - "type": "structure", - "members": { - "MinSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", - "traits": { - "smithy.api#documentation": "

The minimum size of the Auto Scaling group.

" - } - }, - "StartTime": { - "target": "com.amazonaws.autoscaling#TimestampType", - "traits": { - "smithy.api#documentation": "

The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT\n only and in quotes (for example, \"2019-06-01T00:00:00Z\").

\n

If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs\n the action at this time, and then performs the action based on the specified\n recurrence.

\n

If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error\n message.

" - } - }, + "type": "structure", + "members": { "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { @@ -5294,10 +5282,10 @@ "smithy.api#required": {} } }, - "MaxSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", + "StartTime": { + "target": "com.amazonaws.autoscaling#TimestampType", "traits": { - "smithy.api#documentation": "

The maximum size of the Auto Scaling group.

" + "smithy.api#documentation": "

The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT\n only and in quotes (for example, \"2019-06-01T00:00:00Z\").

\n

If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs\n the action at this time, and then performs the action based on the specified\n recurrence.

\n

If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error\n message.

" } }, "EndTime": { @@ -5312,6 +5300,18 @@ "smithy.api#documentation": "

The recurring schedule for the action, in Unix cron syntax format. This format\n consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month]\n [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, \"30 0 1\n 1,6,12 *\"). For more information about this format, see Crontab.

\n

When StartTime and EndTime are specified with\n Recurrence, they form the boundaries of when the recurring action\n starts and stops.

" } }, + "MinSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", + "traits": { + "smithy.api#documentation": "

The minimum size of the Auto Scaling group.

" + } + }, + "MaxSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", + "traits": { + "smithy.api#documentation": "

The maximum size of the Auto Scaling group.

" + } + }, "DesiredCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { @@ -5368,12 +5368,19 @@ } ], "traits": { - "smithy.api#documentation": "

Sets the size of the specified Auto Scaling group.

\n

If a scale-in activity occurs as a result of a new DesiredCapacity value\n that is lower than the current size of the group, the Auto Scaling group uses its termination\n policy to determine which instances to terminate.

\n

For more information, see Manual Scaling in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Sets the size of the specified Auto Scaling group.

\n

If a scale-in activity occurs as a result of a new DesiredCapacity value\n that is lower than the current size of the group, the Auto Scaling group uses its termination\n policy to determine which instances to terminate.

\n

For more information, see Manual scaling in the\n Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#SetDesiredCapacityType": { "type": "structure", "members": { + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} + } + }, "DesiredCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { @@ -5386,13 +5393,6 @@ "traits": { "smithy.api#documentation": "

Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating\n a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does\n not honor the cooldown period during manual scaling activities.

" } - }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

", - "smithy.api#required": {} - } } } }, @@ -5407,23 +5407,23 @@ } ], "traits": { - "smithy.api#documentation": "

Sets the health status of the specified instance.

\n

For more information, see Health Checks for Auto Scaling\n Instances in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Sets the health status of the specified instance.

\n

For more information, see Health checks for Auto Scaling\n instances in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#SetInstanceHealthQuery": { "type": "structure", "members": { - "HealthStatus": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", + "InstanceId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { - "smithy.api#documentation": "

The health status of the instance. Set to Healthy to have the instance\n remain in service. Set to Unhealthy to have the instance be out of service.\n Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

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

The ID of the instance.

", "smithy.api#required": {} } }, - "InstanceId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", + "HealthStatus": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { - "smithy.api#documentation": "

The ID of the instance.

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

The health status of the instance. Set to Healthy to have the instance\n remain in service. Set to Unhealthy to have the instance be out of service.\n Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

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

Updates the instance protection settings of the specified instances.

\n

For more information about preventing instances that are part of an Auto Scaling group from\n terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.

\n

If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call\n fails.

" + "smithy.api#documentation": "

Updates the instance protection settings of the specified instances.

\n

For more information about preventing instances that are part of an Auto Scaling group from\n terminating on scale in, see Instance scale-in protection in the\n Amazon EC2 Auto Scaling User Guide.

\n

If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call\n fails.

" } }, "com.amazonaws.autoscaling#SetInstanceProtectionAnswer": { @@ -5465,21 +5465,21 @@ "InstanceIds": { "target": "com.amazonaws.autoscaling#InstanceIds", "traits": { - "smithy.api#documentation": "

One or more instance IDs.

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

One or more instance IDs. You can specify up to 50 instances.

", "smithy.api#required": {} } }, - "ProtectedFromScaleIn": { - "target": "com.amazonaws.autoscaling#ProtectedFromScaleIn", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.

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

The name of the Auto Scaling group.

", "smithy.api#required": {} } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "ProtectedFromScaleIn": { + "target": "com.amazonaws.autoscaling#ProtectedFromScaleIn", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.

", "smithy.api#required": {} } } @@ -5549,6 +5549,13 @@ "com.amazonaws.autoscaling#StartInstanceRefreshType": { "type": "structure", "members": { + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "traits": { + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} + } + }, "Strategy": { "target": "com.amazonaws.autoscaling#RefreshStrategy", "traits": { @@ -5560,13 +5567,6 @@ "traits": { "smithy.api#documentation": "

Set of preferences associated with the instance refresh request.

\n

If not provided, the default values are used. For MinHealthyPercentage,\n the default value is 90. For InstanceWarmup, the default is to\n use the value specified for the health check grace period for the Auto Scaling group.

\n

For more information, see RefreshPreferences in the Amazon EC2 Auto Scaling API\n Reference.

" } - }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", - "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

The lower bound for the difference between the alarm threshold and the CloudWatch metric. If\n the metric value is above the breach threshold, the lower bound is inclusive (the metric\n must be greater than or equal to the threshold plus the lower bound). Otherwise, it is\n exclusive (the metric must be greater than the threshold plus the lower bound). A null\n value indicates negative infinity.

" } }, + "MetricIntervalUpperBound": { + "target": "com.amazonaws.autoscaling#MetricScale", + "traits": { + "smithy.api#documentation": "

The upper bound for the difference between the alarm threshold and the CloudWatch metric. If\n the metric value is above the breach threshold, the upper bound is exclusive (the metric\n must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the\n metric must be less than or equal to the threshold plus the upper bound). A null value\n indicates positive infinity.

\n

The upper bound must be greater than the lower bound.

" + } + }, "ScalingAdjustment": { "target": "com.amazonaws.autoscaling#PolicyIncrement", "traits": { "smithy.api#documentation": "

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current\n capacity.

", "smithy.api#required": {} } - }, - "MetricIntervalUpperBound": { - "target": "com.amazonaws.autoscaling#MetricScale", - "traits": { - "smithy.api#documentation": "

The upper bound for the difference between the alarm threshold and the CloudWatch metric. If\n the metric value is above the breach threshold, the upper bound is exclusive (the metric\n must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the\n metric must be less than or equal to the threshold plus the upper bound). A null value\n indicates positive infinity.

\n

The upper bound must be greater than the lower bound.

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

Describes information used to create a step adjustment for a step scaling\n policy.

\n

For the following examples, suppose that you have an alarm with a breach threshold of\n 50:

\n \n

There are a few rules for the step adjustments for your step policy:

\n \n

For more information, see Step\n Adjustments in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Describes information used to create a step adjustment for a step scaling\n policy.

\n

For the following examples, suppose that you have an alarm with a breach threshold of\n 50:

\n \n

There are a few rules for the step adjustments for your step policy:

\n \n

For more information, see Step\n adjustments in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#StepAdjustments": { @@ -5617,27 +5617,27 @@ } ], "traits": { - "smithy.api#documentation": "

Suspends the specified automatic scaling processes, or all processes, for the\n specified Auto Scaling group.

\n

If you suspend either the Launch or Terminate process types,\n it can prevent other process types from functioning properly. For more information, see\n Suspending and\n Resuming Scaling Processes in the Amazon EC2 Auto Scaling User Guide.

\n

To resume processes that have been suspended, call the ResumeProcesses API.

" + "smithy.api#documentation": "

Suspends the specified auto scaling processes, or all processes, for the specified\n Auto Scaling group.

\n

If you suspend either the Launch or Terminate process types,\n it can prevent other process types from functioning properly. For more information, see\n Suspending and\n resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.

\n

To resume processes that have been suspended, call the ResumeProcesses API.

" } }, "com.amazonaws.autoscaling#SuspendedProcess": { "type": "structure", "members": { - "SuspensionReason": { + "ProcessName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The reason that the process was suspended.

" + "smithy.api#documentation": "

The name of the suspended process.

" } }, - "ProcessName": { + "SuspensionReason": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the suspended process.

" + "smithy.api#documentation": "

The reason that the process was suspended.

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

Describes an automatic scaling process that has been suspended.

\n

For more information, see Scaling Processes in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Describes an auto scaling process that has been suspended.

\n

For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#SuspendedProcesses": { @@ -5655,6 +5655,12 @@ "smithy.api#documentation": "

The name of the group.

" } }, + "ResourceType": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

The type of resource. The only supported value is\n auto-scaling-group.

" + } + }, "Key": { "target": "com.amazonaws.autoscaling#TagKey", "traits": { @@ -5662,22 +5668,16 @@ "smithy.api#required": {} } }, - "PropagateAtLaunch": { - "target": "com.amazonaws.autoscaling#PropagateAtLaunch", - "traits": { - "smithy.api#documentation": "

Determines whether the tag is added to new instances as they are launched in the\n group.

" - } - }, "Value": { "target": "com.amazonaws.autoscaling#TagValue", "traits": { "smithy.api#documentation": "

The tag value.

" } }, - "ResourceType": { - "target": "com.amazonaws.autoscaling#XmlString", + "PropagateAtLaunch": { + "target": "com.amazonaws.autoscaling#PropagateAtLaunch", "traits": { - "smithy.api#documentation": "

The type of resource. The only supported value is\n auto-scaling-group.

" + "smithy.api#documentation": "

Determines whether the tag is added to new instances as they are launched in the\n group.

" } } }, @@ -5688,34 +5688,34 @@ "com.amazonaws.autoscaling#TagDescription": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.autoscaling#TagValue", + "ResourceId": { + "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

The tag value.

" + "smithy.api#documentation": "

The name of the group.

" } }, - "Key": { - "target": "com.amazonaws.autoscaling#TagKey", + "ResourceType": { + "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

The tag key.

" + "smithy.api#documentation": "

The type of resource. The only supported value is\n auto-scaling-group.

" } }, - "PropagateAtLaunch": { - "target": "com.amazonaws.autoscaling#PropagateAtLaunch", + "Key": { + "target": "com.amazonaws.autoscaling#TagKey", "traits": { - "smithy.api#documentation": "

Determines whether the tag is added to new instances as they are launched in the\n group.

" + "smithy.api#documentation": "

The tag key.

" } }, - "ResourceId": { - "target": "com.amazonaws.autoscaling#XmlString", + "Value": { + "target": "com.amazonaws.autoscaling#TagValue", "traits": { - "smithy.api#documentation": "

The name of the group.

" + "smithy.api#documentation": "

The tag value.

" } }, - "ResourceType": { - "target": "com.amazonaws.autoscaling#XmlString", + "PropagateAtLaunch": { + "target": "com.amazonaws.autoscaling#PropagateAtLaunch", "traits": { - "smithy.api#documentation": "

The type of resource. The only supported value is\n auto-scaling-group.

" + "smithy.api#documentation": "

Determines whether the tag is added to new instances as they are launched in the\n group.

" } } }, @@ -5758,17 +5758,17 @@ "com.amazonaws.autoscaling#TagsType": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.autoscaling#XmlString", - "traits": { - "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" - } - }, "Tags": { "target": "com.amazonaws.autoscaling#TagDescriptionList", "traits": { "smithy.api#documentation": "

One or more tags.

" } + }, + "NextToken": { + "target": "com.amazonaws.autoscaling#XmlString", + "traits": { + "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" + } } } }, @@ -5787,10 +5787,10 @@ "smithy.api#documentation": "

A predefined metric. You must specify either a predefined metric or a customized\n metric.

" } }, - "DisableScaleIn": { - "target": "com.amazonaws.autoscaling#DisableScaleIn", + "CustomizedMetricSpecification": { + "target": "com.amazonaws.autoscaling#CustomizedMetricSpecification", "traits": { - "smithy.api#documentation": "

Indicates whether scaling in by the target tracking scaling policy is disabled. If\n scaling in is disabled, the target tracking scaling policy doesn't remove instances from\n the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from\n the Auto Scaling group. The default is false.

" + "smithy.api#documentation": "

A customized metric. You must specify either a predefined metric or a customized\n metric.

" } }, "TargetValue": { @@ -5800,10 +5800,10 @@ "smithy.api#required": {} } }, - "CustomizedMetricSpecification": { - "target": "com.amazonaws.autoscaling#CustomizedMetricSpecification", + "DisableScaleIn": { + "target": "com.amazonaws.autoscaling#DisableScaleIn", "traits": { - "smithy.api#documentation": "

A customized metric. You must specify either a predefined metric or a customized\n metric.

" + "smithy.api#documentation": "

Indicates whether scaling in by the target tracking scaling policy is disabled. If\n scaling in is disabled, the target tracking scaling policy doesn't remove instances from\n the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from\n the Auto Scaling group. The default is false.

" } } }, @@ -5828,23 +5828,23 @@ } ], "traits": { - "smithy.api#documentation": "

Terminates the specified instance and optionally adjusts the desired group size.

\n

This call simply makes a termination request. The instance is not terminated\n immediately. When an instance is terminated, the instance status changes to\n terminated. You can't connect to or start an instance after you've\n terminated it.

\n

If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches\n instances to replace the ones that are terminated.

\n

By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you\n decrement the desired capacity, your Auto Scaling group can become unbalanced between\n Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might\n terminate instances in other zones. For more information, see Rebalancing Activities in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Terminates the specified instance and optionally adjusts the desired group size.

\n

This call simply makes a termination request. The instance is not terminated\n immediately. When an instance is terminated, the instance status changes to\n terminated. You can't connect to or start an instance after you've\n terminated it.

\n

If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches\n instances to replace the ones that are terminated.

\n

By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you\n decrement the desired capacity, your Auto Scaling group can become unbalanced between\n Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might\n terminate instances in other zones. For more information, see Rebalancing activities in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#TerminateInstanceInAutoScalingGroupType": { "type": "structure", "members": { - "ShouldDecrementDesiredCapacity": { - "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", + "InstanceId": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { - "smithy.api#documentation": "

Indicates whether terminating the instance also decrements the size of the Auto Scaling\n group.

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

The ID of the instance.

", "smithy.api#required": {} } }, - "InstanceId": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", + "ShouldDecrementDesiredCapacity": { + "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", "traits": { - "smithy.api#documentation": "

The ID of the instance.

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

Indicates whether terminating the instance also decrements the size of the Auto Scaling\n group.

", "smithy.api#required": {} } } @@ -5882,58 +5882,59 @@ "com.amazonaws.autoscaling#UpdateAutoScalingGroupType": { "type": "structure", "members": { - "NewInstancesProtectedFromScaleIn": { - "target": "com.amazonaws.autoscaling#InstanceProtected", + "AutoScalingGroupName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in.

\n

For more information about preventing instances from terminating on scale in, see\n Instance Protection in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} } }, - "VPCZoneIdentifier": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen2047", + "LaunchConfigurationName": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

A comma-separated list of subnet IDs for virtual private cloud (VPC).

\n

If you specify VPCZoneIdentifier with AvailabilityZones, the\n subnets that you specify for this parameter must reside in those Availability\n Zones.

" + "smithy.api#documentation": "

The name of the launch configuration. If you specify\n LaunchConfigurationName in your update request, you can't specify\n LaunchTemplate or MixedInstancesPolicy.

" } }, - "MaxSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", + "LaunchTemplate": { + "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", "traits": { - "smithy.api#documentation": "

The maximum size of the Auto Scaling group.

\n \n

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to\n go above MaxSize to meet your capacity requirements. In this event,\n Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance\n weight (weights that define how many units each instance contributes to the desired\n capacity of the group).

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

The launch template and version to use to specify the updates. If you specify\n LaunchTemplate in your update request, you can't specify\n LaunchConfigurationName or MixedInstancesPolicy.

" } }, - "DesiredCapacity": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", + "MixedInstancesPolicy": { + "target": "com.amazonaws.autoscaling#MixedInstancesPolicy", "traits": { - "smithy.api#documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after this operation\n completes and the capacity it attempts to maintain.

\n

This number must be greater than or equal to the minimum size of the group and less\n than or equal to the maximum size of the group.

" + "smithy.api#documentation": "

An embedded object that specifies a mixed instances policy. When you make changes to\n an existing policy, all optional parameters are left unchanged if not specified. For\n more information, see Auto Scaling Groups with Multiple\n Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User\n Guide.

" } }, - "LaunchTemplate": { - "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", + "MinSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { - "smithy.api#documentation": "

The launch template and version to use to specify the updates. If you specify\n LaunchTemplate in your update request, you can't specify\n LaunchConfigurationName or MixedInstancesPolicy.

\n

For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API\n Reference.

" + "smithy.api#documentation": "

The minimum size of the Auto Scaling group.

" } }, - "PlacementGroup": { - "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", + "MaxSize": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { - "smithy.api#documentation": "

The name of the placement group into which to launch your instances, if any. A\n placement group is a logical grouping of instances within a single Availability Zone.\n You cannot specify multiple Availability Zones and a placement group. For more\n information, see Placement Groups in the\n Amazon EC2 User Guide for Linux Instances.

" + "smithy.api#documentation": "

The maximum size of the Auto Scaling group.

\n \n

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to\n go above MaxSize to meet your capacity requirements. In this event,\n Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance\n weight (weights that define how many units each instance contributes to the desired\n capacity of the group).

\n
" } }, - "DefaultCooldown": { - "target": "com.amazonaws.autoscaling#Cooldown", + "DesiredCapacity": { + "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { - "smithy.api#documentation": "

The amount of time, in seconds, after a scaling activity completes before another\n scaling activity can start. The default value is 300.

\n

This setting applies when using simple scaling policies, but not when using other\n scaling policies or scheduled scaling. For more information, see Scaling Cooldowns\n for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after this operation\n completes and the capacity it attempts to maintain. This number must be greater than or\n equal to the minimum size of the group and less than or equal to the maximum size of the\n group.

" } }, - "MixedInstancesPolicy": { - "target": "com.amazonaws.autoscaling#MixedInstancesPolicy", + "DefaultCooldown": { + "target": "com.amazonaws.autoscaling#Cooldown", "traits": { - "smithy.api#documentation": "

An embedded object that specifies a mixed instances policy.

\n

In your call to UpdateAutoScalingGroup, you can make changes to the\n policy that is specified. All optional parameters are left unchanged if not\n specified.

\n \n

For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and\n Auto Scaling Groups with Multiple\n Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User\n Guide.

" + "smithy.api#documentation": "

The amount of time, in seconds, after a scaling activity completes before another\n scaling activity can start. The default value is 300. This setting applies\n when using simple scaling policies, but not when using other scaling policies or\n scheduled scaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling\n in the Amazon EC2 Auto Scaling User Guide.

" } }, - "HealthCheckGracePeriod": { - "target": "com.amazonaws.autoscaling#HealthCheckGracePeriod", + "AvailabilityZones": { + "target": "com.amazonaws.autoscaling#AvailabilityZones", "traits": { - "smithy.api#documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service. The default value is\n 0.

\n

For more information, see Health\n Check Grace Period in the Amazon EC2 Auto Scaling User Guide.

\n

Required if you are adding an ELB health check.

" + "smithy.api#documentation": "

One or more Availability Zones for the group.

" } }, "HealthCheckType": { @@ -5942,53 +5943,52 @@ "smithy.api#documentation": "

The service to use for the health checks. The valid values are EC2 and\n ELB. If you configure an Auto Scaling group to use ELB health checks, it\n considers the instance unhealthy if it fails either the EC2 status checks or the load\n balancer health checks.

" } }, - "MaxInstanceLifetime": { - "target": "com.amazonaws.autoscaling#MaxInstanceLifetime", + "HealthCheckGracePeriod": { + "target": "com.amazonaws.autoscaling#HealthCheckGracePeriod", "traits": { - "smithy.api#documentation": "

The maximum amount of time, in seconds, that an instance can be in service. The\n default is null.

\n

This parameter is optional, but if you specify a value for it, you must specify a\n value of at least 604,800 seconds (7 days). To clear a previously set value, specify a\n new value of 0.

\n

For more information, see Replacing Auto Scaling\n Instances Based on Maximum Instance Lifetime in the\n Amazon EC2 Auto Scaling User Guide.

\n

Valid Range: Minimum value of 0.

" + "smithy.api#documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service. The default value is 0. For\n more information, see Health\n check grace period in the Amazon EC2 Auto Scaling User Guide.

\n

Conditional: Required if you are adding an ELB health check.

" } }, - "AvailabilityZones": { - "target": "com.amazonaws.autoscaling#AvailabilityZones", + "PlacementGroup": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

One or more Availability Zones for the group.

" + "smithy.api#documentation": "

The name of an existing placement group into which to launch your instances, if any. A\n placement group is a logical grouping of instances within a single Availability Zone.\n You cannot specify multiple Availability Zones and a placement group. For more\n information, see Placement Groups in the\n Amazon EC2 User Guide for Linux Instances.

" } }, - "LaunchConfigurationName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "VPCZoneIdentifier": { + "target": "com.amazonaws.autoscaling#XmlStringMaxLen2047", "traits": { - "smithy.api#documentation": "

The name of the launch configuration. If you specify\n LaunchConfigurationName in your update request, you can't specify\n LaunchTemplate or MixedInstancesPolicy.

" + "smithy.api#documentation": "

A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you specify\n VPCZoneIdentifier with AvailabilityZones, the subnets that\n you specify for this parameter must reside in those Availability Zones.

" } }, - "MinSize": { - "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", + "TerminationPolicies": { + "target": "com.amazonaws.autoscaling#TerminationPolicies", "traits": { - "smithy.api#documentation": "

The minimum size of the Auto Scaling group.

" + "smithy.api#documentation": "

A policy or a list of policies that are used to select the instances to terminate. The\n policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the\n Amazon EC2 Auto Scaling User Guide.

" } }, - "CapacityRebalance": { - "target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled", + "NewInstancesProtectedFromScaleIn": { + "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { - "smithy.api#documentation": "

Enables or disables capacity rebalance.

\n

You can enable capacity rebalancing for your Auto Scaling groups when using Spot Instances.\n When you turn on capacity rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance\n whenever Amazon EC2 predicts that a Spot Instance is at an elevated risk of interruption.\n After launching a new instance, it then terminates an old instance. For more\n information, see Amazon EC2 Auto Scaling capacity\n rebalancing in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in. For more information about preventing instances from terminating on\n scale in, see Instance scale-in protection in the\n Amazon EC2 Auto Scaling User Guide.

" } }, - "TerminationPolicies": { - "target": "com.amazonaws.autoscaling#TerminationPolicies", + "ServiceLinkedRoleARN": { + "target": "com.amazonaws.autoscaling#ResourceName", "traits": { - "smithy.api#documentation": "

A standalone termination policy or a list of termination policies used to select the\n instance to terminate. The policies are executed in the order that they are\n listed.

\n

For more information, see Controlling Which\n Instances Auto Scaling Terminates During Scale In in the\n Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf. For more information, see Service-linked\n roles in the Amazon EC2 Auto Scaling User Guide.

" } }, - "ServiceLinkedRoleARN": { - "target": "com.amazonaws.autoscaling#ResourceName", + "MaxInstanceLifetime": { + "target": "com.amazonaws.autoscaling#MaxInstanceLifetime", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf. For more information, see Service-Linked\n Roles in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

The maximum amount of time, in seconds, that an instance can be in service. The\n default is null. If specified, the value must be either 0 or a number equal to or\n greater than 86,400 seconds (1 day). To clear a previously set value, specify a new\n value of 0. For more information, see Replacing Auto Scaling\n instances based on maximum instance lifetime in the\n Amazon EC2 Auto Scaling User Guide.

" } }, - "AutoScalingGroupName": { - "target": "com.amazonaws.autoscaling#ResourceName", + "CapacityRebalance": { + "target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

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

Enables or disables Capacity Rebalancing. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the\n Amazon EC2 Auto Scaling User Guide.

" } } } diff --git a/codegen/sdk-codegen/aws-models/databrew.2017-07-25.json b/codegen/sdk-codegen/aws-models/databrew.2017-07-25.json new file mode 100644 index 000000000000..fb2b90cd52f1 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/databrew.2017-07-25.json @@ -0,0 +1,4811 @@ +{ + "smithy": "1.0", + "metadata": { + "suppressions": [ + { + "id": "HttpMethodSemantics", + "namespace": "*" + }, + { + "id": "HttpResponseCodeSemantics", + "namespace": "*" + }, + { + "id": "PaginatedTrait", + "namespace": "*" + }, + { + "id": "HttpHeaderTrait", + "namespace": "*" + }, + { + "id": "HttpUriConflict", + "namespace": "*" + }, + { + "id": "Service", + "namespace": "*" + } + ] + }, + "shapes": { + "com.amazonaws.databrew#AWSGlueDataBrew": { + "type": "service", + "version": "2017-07-25", + "operations": [ + { + "target": "com.amazonaws.databrew#BatchDeleteRecipeVersion" + }, + { + "target": "com.amazonaws.databrew#CreateDataset" + }, + { + "target": "com.amazonaws.databrew#CreateProfileJob" + }, + { + "target": "com.amazonaws.databrew#CreateProject" + }, + { + "target": "com.amazonaws.databrew#CreateRecipe" + }, + { + "target": "com.amazonaws.databrew#CreateRecipeJob" + }, + { + "target": "com.amazonaws.databrew#CreateSchedule" + }, + { + "target": "com.amazonaws.databrew#DeleteDataset" + }, + { + "target": "com.amazonaws.databrew#DeleteJob" + }, + { + "target": "com.amazonaws.databrew#DeleteProject" + }, + { + "target": "com.amazonaws.databrew#DeleteRecipeVersion" + }, + { + "target": "com.amazonaws.databrew#DeleteSchedule" + }, + { + "target": "com.amazonaws.databrew#DescribeDataset" + }, + { + "target": "com.amazonaws.databrew#DescribeJob" + }, + { + "target": "com.amazonaws.databrew#DescribeProject" + }, + { + "target": "com.amazonaws.databrew#DescribeRecipe" + }, + { + "target": "com.amazonaws.databrew#DescribeSchedule" + }, + { + "target": "com.amazonaws.databrew#ListDatasets" + }, + { + "target": "com.amazonaws.databrew#ListJobRuns" + }, + { + "target": "com.amazonaws.databrew#ListJobs" + }, + { + "target": "com.amazonaws.databrew#ListProjects" + }, + { + "target": "com.amazonaws.databrew#ListRecipes" + }, + { + "target": "com.amazonaws.databrew#ListRecipeVersions" + }, + { + "target": "com.amazonaws.databrew#ListSchedules" + }, + { + "target": "com.amazonaws.databrew#ListTagsForResource" + }, + { + "target": "com.amazonaws.databrew#PublishRecipe" + }, + { + "target": "com.amazonaws.databrew#SendProjectSessionAction" + }, + { + "target": "com.amazonaws.databrew#StartJobRun" + }, + { + "target": "com.amazonaws.databrew#StartProjectSession" + }, + { + "target": "com.amazonaws.databrew#StopJobRun" + }, + { + "target": "com.amazonaws.databrew#TagResource" + }, + { + "target": "com.amazonaws.databrew#UntagResource" + }, + { + "target": "com.amazonaws.databrew#UpdateDataset" + }, + { + "target": "com.amazonaws.databrew#UpdateProfileJob" + }, + { + "target": "com.amazonaws.databrew#UpdateProject" + }, + { + "target": "com.amazonaws.databrew#UpdateRecipe" + }, + { + "target": "com.amazonaws.databrew#UpdateRecipeJob" + }, + { + "target": "com.amazonaws.databrew#UpdateSchedule" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "DataBrew", + "arnNamespace": "databrew", + "cloudFormationName": "DataBrew", + "cloudTrailEventSource": "databrew.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "databrew" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

AWS Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew\n simplifies data preparation tasks, targeting data issues that are hard to spot and\n time-consuming to fix. DataBrew empowers users of all technical levels to visualize the\n data and perform one-click data transformations, with no coding required.

", + "smithy.api#title": "AWS Glue DataBrew" + } + }, + "com.amazonaws.databrew#AccessDeniedException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.databrew#Message" + } + }, + "traits": { + "smithy.api#documentation": "

Access to the specified resource was denied.

", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.databrew#AccountId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 255 + } + } + }, + "com.amazonaws.databrew#ActionId": { + "type": "integer", + "traits": { + "smithy.api#box": {} + } + }, + "com.amazonaws.databrew#Arn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 2048 + } + } + }, + "com.amazonaws.databrew#AssumeControl": { + "type": "boolean" + }, + "com.amazonaws.databrew#Attempt": { + "type": "integer" + }, + "com.amazonaws.databrew#BatchDeleteRecipeVersion": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#BatchDeleteRecipeVersionRequest" + }, + "output": { + "target": "com.amazonaws.databrew#BatchDeleteRecipeVersionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ConflictException" + }, + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes one or more versions of a recipe at a time.

", + "smithy.api#http": { + "method": "POST", + "uri": "/recipes/{Name}/batchDeleteRecipeVersion", + "code": 200 + } + } + }, + "com.amazonaws.databrew#BatchDeleteRecipeVersionRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe to be modified.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "RecipeVersions": { + "target": "com.amazonaws.databrew#RecipeVersionList", + "traits": { + "smithy.api#documentation": "

An array of version identifiers to be deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#BatchDeleteRecipeVersionResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe that was modified.

", + "smithy.api#required": {} + } + }, + "Errors": { + "target": "com.amazonaws.databrew#RecipeErrorList", + "traits": { + "smithy.api#documentation": "

Errors, if any, that were encountered when deleting the recipe versions.

" + } + } + } + }, + "com.amazonaws.databrew#Bucket": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 63 + } + } + }, + "com.amazonaws.databrew#CatalogId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.databrew#ClientSessionId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]*$" + } + }, + "com.amazonaws.databrew#ColumnName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.databrew#ColumnNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#ColumnName" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.databrew#ColumnRange": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0, + "max": 20 + } + } + }, + "com.amazonaws.databrew#CompressionFormat": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "GZIP", + "name": "GZIP" + }, + { + "value": "LZ4", + "name": "LZ4" + }, + { + "value": "SNAPPY", + "name": "SNAPPY" + }, + { + "value": "BZIP2", + "name": "BZIP2" + }, + { + "value": "DEFLATE", + "name": "DEFLATE" + }, + { + "value": "LZO", + "name": "LZO" + }, + { + "value": "BROTLI", + "name": "BROTLI" + }, + { + "value": "ZSTD", + "name": "ZSTD" + }, + { + "value": "ZLIB", + "name": "ZLIB" + } + ] + } + }, + "com.amazonaws.databrew#Condition": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[A-Z\\_]+$" + } + }, + "com.amazonaws.databrew#ConditionExpression": { + "type": "structure", + "members": { + "Condition": { + "target": "com.amazonaws.databrew#Condition", + "traits": { + "smithy.api#documentation": "

A specific condition to apply to a recipe action. For more information, see Recipe\n structure in the AWS Glue DataBrew Developer\n Guide.

", + "smithy.api#required": {} + } + }, + "Value": { + "target": "com.amazonaws.databrew#ConditionValue", + "traits": { + "smithy.api#documentation": "

A value that the condition must evaluate to for the condition to succeed.

" + } + }, + "TargetColumn": { + "target": "com.amazonaws.databrew#TargetColumn", + "traits": { + "smithy.api#documentation": "

A column to apply this condition to, within an AWS Glue DataBrew dataset.

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

Represents an individual condition that evaluates to true or false.

\n

Conditions are used with recipe actions: The action is only performed for column\n values where the condition evaluates to true.

\n

If a recipe requires more than one condition, then the recipe must specify multiple\n ConditionExpression elements. Each condition is applied to the rows in\n a dataset first, before the recipe action is performed.

" + } + }, + "com.amazonaws.databrew#ConditionExpressionList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#ConditionExpression" + } + }, + "com.amazonaws.databrew#ConditionValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + } + } + }, + "com.amazonaws.databrew#ConflictException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.databrew#Message" + } + }, + "traits": { + "smithy.api#documentation": "

Updating or deleting a resource can cause an inconsistent state.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.databrew#CreateDataset": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#CreateDatasetRequest" + }, + "output": { + "target": "com.amazonaws.databrew#CreateDatasetResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#AccessDeniedException" + }, + { + "target": "com.amazonaws.databrew#ConflictException" + }, + { + "target": "com.amazonaws.databrew#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a new AWS Glue DataBrew dataset for this AWS account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/datasets", + "code": 200 + } + } + }, + "com.amazonaws.databrew#CreateDatasetRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset to be created.

", + "smithy.api#required": {} + } + }, + "FormatOptions": { + "target": "com.amazonaws.databrew#FormatOptions" + }, + "Input": { + "target": "com.amazonaws.databrew#Input", + "traits": { + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags to apply to this dataset.

" + } + } + } + }, + "com.amazonaws.databrew#CreateDatasetResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset that you created.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#CreateProfileJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#CreateProfileJobRequest" + }, + "output": { + "target": "com.amazonaws.databrew#CreateProfileJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a new job to profile an AWS Glue DataBrew dataset that exists in the current AWS\n account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/profileJobs", + "code": 200 + } + } + }, + "com.amazonaws.databrew#CreateProfileJobRequest": { + "type": "structure", + "members": { + "DatasetName": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset that this job is to act upon.

", + "smithy.api#required": {} + } + }, + "EncryptionKeyArn": { + "target": "com.amazonaws.databrew#EncryptionKeyArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an encryption key that is used to \n protect the job.

" + } + }, + "EncryptionMode": { + "target": "com.amazonaws.databrew#EncryptionMode", + "traits": { + "smithy.api#documentation": "

The encryption mode for the job, which can be one of the following:

\n " + } + }, + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job to be created.

", + "smithy.api#required": {} + } + }, + "LogSubscription": { + "target": "com.amazonaws.databrew#LogSubscription", + "traits": { + "smithy.api#documentation": "

A value that enables or disables Amazon CloudWatch logging for the current AWS\n account. If logging is enabled, CloudWatch writes one log stream for each job\n run.

" + } + }, + "MaxCapacity": { + "target": "com.amazonaws.databrew#MaxCapacity", + "traits": { + "smithy.api#documentation": "

The maximum number of nodes that DataBrew can use when the job processes data.

" + } + }, + "MaxRetries": { + "target": "com.amazonaws.databrew#MaxRetries", + "traits": { + "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" + } + }, + "OutputLocation": { + "target": "com.amazonaws.databrew#S3Location", + "traits": { + "smithy.api#required": {} + } + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to\n be assumed for this request.

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags to apply to this job.

" + } + }, + "Timeout": { + "target": "com.amazonaws.databrew#Timeout", + "traits": { + "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" + } + } + } + }, + "com.amazonaws.databrew#CreateProfileJobResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job that was created.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#CreateProject": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#CreateProjectRequest" + }, + "output": { + "target": "com.amazonaws.databrew#CreateProjectResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ConflictException" + }, + { + "target": "com.amazonaws.databrew#InternalServerException" + }, + { + "target": "com.amazonaws.databrew#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a new AWS Glue DataBrew project in the current AWS account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/projects", + "code": 200 + } + } + }, + "com.amazonaws.databrew#CreateProjectRequest": { + "type": "structure", + "members": { + "DatasetName": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset to associate this project with.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

A unique name for the new project.

", + "smithy.api#required": {} + } + }, + "RecipeName": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of an existing recipe to associate with the project.

", + "smithy.api#required": {} + } + }, + "Sample": { + "target": "com.amazonaws.databrew#Sample" + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to\n be assumed for this request.

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags to apply to this project.

" + } + } + } + }, + "com.amazonaws.databrew#CreateProjectResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project that you created.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#CreateRecipe": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#CreateRecipeRequest" + }, + "output": { + "target": "com.amazonaws.databrew#CreateRecipeResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ConflictException" + }, + { + "target": "com.amazonaws.databrew#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a new AWS Glue DataBrew recipe for the current AWS account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/recipes", + "code": 200 + } + } + }, + "com.amazonaws.databrew#CreateRecipeJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#CreateRecipeJobRequest" + }, + "output": { + "target": "com.amazonaws.databrew#CreateRecipeJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a new job for an existing AWS Glue DataBrew recipe in the current AWS account.\n You can create a standalone job using either a project, or a combination of a recipe and\n a dataset.

", + "smithy.api#http": { + "method": "POST", + "uri": "/recipeJobs", + "code": 200 + } + } + }, + "com.amazonaws.databrew#CreateRecipeJobRequest": { + "type": "structure", + "members": { + "DatasetName": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset that this job processes.

" + } + }, + "EncryptionKeyArn": { + "target": "com.amazonaws.databrew#EncryptionKeyArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

" + } + }, + "EncryptionMode": { + "target": "com.amazonaws.databrew#EncryptionMode", + "traits": { + "smithy.api#documentation": "

The encryption mode for the job, which can be one of the following:

\n " + } + }, + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

A unique name for the job.

", + "smithy.api#required": {} + } + }, + "LogSubscription": { + "target": "com.amazonaws.databrew#LogSubscription", + "traits": { + "smithy.api#documentation": "

A value that enables or disables Amazon CloudWatch logging for the current AWS\n account. If logging is enabled, CloudWatch writes one log stream for each job\n run.

" + } + }, + "MaxCapacity": { + "target": "com.amazonaws.databrew#MaxCapacity", + "traits": { + "smithy.api#documentation": "

The maximum number of nodes that DataBrew can consume when the job processes\n data.

" + } + }, + "MaxRetries": { + "target": "com.amazonaws.databrew#MaxRetries", + "traits": { + "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" + } + }, + "Outputs": { + "target": "com.amazonaws.databrew#OutputList", + "traits": { + "smithy.api#documentation": "

One or more artifacts that represent the output from running the job.

", + "smithy.api#required": {} + } + }, + "ProjectName": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

Either the name of an existing project, or a combination of a recipe and a dataset to\n associate with the recipe.

" + } + }, + "RecipeReference": { + "target": "com.amazonaws.databrew#RecipeReference" + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to\n be assumed for this request.

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags to apply to this job dataset.

" + } + }, + "Timeout": { + "target": "com.amazonaws.databrew#Timeout", + "traits": { + "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" + } + } + } + }, + "com.amazonaws.databrew#CreateRecipeJobResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job that you created.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#CreateRecipeRequest": { + "type": "structure", + "members": { + "Description": { + "target": "com.amazonaws.databrew#RecipeDescription", + "traits": { + "smithy.api#documentation": "

A description for the recipe.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

A unique name for the recipe.

", + "smithy.api#required": {} + } + }, + "Steps": { + "target": "com.amazonaws.databrew#RecipeStepList", + "traits": { + "smithy.api#documentation": "

An array containing the steps to be performed by the recipe. Each recipe step consists of one \n recipe action and (optionally) an array of condition expressions.

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags to apply to this recipe.

" + } + } + } + }, + "com.amazonaws.databrew#CreateRecipeResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe that you created.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#CreateSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#CreateScheduleRequest" + }, + "output": { + "target": "com.amazonaws.databrew#CreateScheduleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a new schedule for one or more AWS Glue DataBrew jobs. Jobs can be run at a\n specific date and time, or at regular intervals.

", + "smithy.api#http": { + "method": "POST", + "uri": "/schedules", + "code": 200 + } + } + }, + "com.amazonaws.databrew#CreateScheduleRequest": { + "type": "structure", + "members": { + "JobNames": { + "target": "com.amazonaws.databrew#JobNameList", + "traits": { + "smithy.api#documentation": "

The name or names of one or more jobs to be run.

" + } + }, + "CronExpression": { + "target": "com.amazonaws.databrew#CronExpression", + "traits": { + "smithy.api#documentation": "

The date or dates and time or times, in cron format, when the jobs are to\n be run.

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags to apply to this schedule.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#ScheduleName", + "traits": { + "smithy.api#documentation": "

A unique name for the schedule.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#CreateScheduleResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ScheduleName", + "traits": { + "smithy.api#documentation": "

The name of the schedule that was created.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#CreatedBy": { + "type": "string" + }, + "com.amazonaws.databrew#CronExpression": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 512 + } + } + }, + "com.amazonaws.databrew#DataCatalogInputDefinition": { + "type": "structure", + "members": { + "CatalogId": { + "target": "com.amazonaws.databrew#CatalogId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the AWS account that holds the Data Catalog that stores the\n data.

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

The name of a database in the Data Catalog.

", + "smithy.api#required": {} + } + }, + "TableName": { + "target": "com.amazonaws.databrew#TableName", + "traits": { + "smithy.api#documentation": "

The name of a database table in the Data Catalog. This table corresponds to a DataBrew\n dataset.

", + "smithy.api#required": {} + } + }, + "TempDirectory": { + "target": "com.amazonaws.databrew#S3Location", + "traits": { + "smithy.api#documentation": "

An Amazon location that AWS Glue Data Catalog can use as a temporary directory.

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

Represents how metadata stored in the AWS Glue Data Catalog is defined in an AWS Glue\n DataBrew dataset.

" + } + }, + "com.amazonaws.databrew#DatabaseName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.databrew#Dataset": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.databrew#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that owns the dataset.

" + } + }, + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who created the dataset.

" + } + }, + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the dataset was created.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The unique name of the dataset.

", + "smithy.api#required": {} + } + }, + "FormatOptions": { + "target": "com.amazonaws.databrew#FormatOptions", + "traits": { + "smithy.api#documentation": "

Options that define how DataBrew interprets the data in the dataset.

" + } + }, + "Input": { + "target": "com.amazonaws.databrew#Input", + "traits": { + "smithy.api#documentation": "

Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog\n or Amazon S3.

", + "smithy.api#required": {} + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The last modification date and time of the dataset.

" + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who last modified the dataset.

" + } + }, + "Source": { + "target": "com.amazonaws.databrew#Source", + "traits": { + "smithy.api#documentation": "

The location of the data for the dataset, either Amazon S3 or the AWS Glue Data\n Catalog.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags that have been applied to the dataset.

" + } + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The unique Amazon Resource Name (ARN) for the dataset.

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

Represents a dataset that can be processed by AWS Glue DataBrew.

" + } + }, + "com.amazonaws.databrew#DatasetList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#Dataset" + } + }, + "com.amazonaws.databrew#DatasetName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.databrew#Date": { + "type": "timestamp" + }, + "com.amazonaws.databrew#DeleteDataset": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DeleteDatasetRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DeleteDatasetResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a dataset from AWS Glue DataBrew.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/datasets/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DeleteDatasetRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset to be deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DeleteDatasetResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset that you deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DeleteJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DeleteJobRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DeleteJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes the specified AWS Glue DataBrew job from the current AWS account. The job can\n be for a recipe or for a profile.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/jobs/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DeleteJobRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job to be deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DeleteJobResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job that you deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DeleteProject": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DeleteProjectRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DeleteProjectResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes an existing AWS Glue DataBrew project from the current AWS account.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/projects/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DeleteProjectRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project to be deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DeleteProjectResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project that you deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DeleteRecipeVersion": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DeleteRecipeVersionRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DeleteRecipeVersionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a single version of an AWS Glue DataBrew recipe.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/recipes/{Name}/recipeVersion/{RecipeVersion}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DeleteRecipeVersionRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe to be deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "RecipeVersion": { + "target": "com.amazonaws.databrew#RecipeVersion", + "traits": { + "smithy.api#documentation": "

The version of the recipe to be deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DeleteRecipeVersionResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe that was deleted.

", + "smithy.api#required": {} + } + }, + "RecipeVersion": { + "target": "com.amazonaws.databrew#RecipeVersion", + "traits": { + "smithy.api#documentation": "

The version of the recipe that was deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DeleteSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DeleteScheduleRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DeleteScheduleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes the specified AWS Glue DataBrew schedule from the current AWS account.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/schedules/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DeleteScheduleRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ScheduleName", + "traits": { + "smithy.api#documentation": "

The name of the schedule to be deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DeleteScheduleResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ScheduleName", + "traits": { + "smithy.api#documentation": "

The name of the schedule that was deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DescribeDataset": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DescribeDatasetRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DescribeDatasetResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the definition of a specific AWS Glue DataBrew dataset that is in the current\n AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/datasets/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DescribeDatasetRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset to be described.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DescribeDatasetResponse": { + "type": "structure", + "members": { + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who created the dataset.

" + } + }, + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the dataset was created.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset.

", + "smithy.api#required": {} + } + }, + "FormatOptions": { + "target": "com.amazonaws.databrew#FormatOptions" + }, + "Input": { + "target": "com.amazonaws.databrew#Input", + "traits": { + "smithy.api#required": {} + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the dataset was last modified.

" + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who last modified the dataset.

" + } + }, + "Source": { + "target": "com.amazonaws.databrew#Source", + "traits": { + "smithy.api#documentation": "

The location of the data for this dataset, Amazon S3 or the AWS Glue Data\n Catalog.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags associated with this dataset.

" + } + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" + } + } + } + }, + "com.amazonaws.databrew#DescribeJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DescribeJobRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DescribeJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the definition of a specific AWS Glue DataBrew job that is in the current AWS\n account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/jobs/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DescribeJobRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job to be described.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DescribeJobResponse": { + "type": "structure", + "members": { + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the job was created.

" + } + }, + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user associated with the creation of the job.

" + } + }, + "DatasetName": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The dataset that the job acts upon.

" + } + }, + "EncryptionKeyArn": { + "target": "com.amazonaws.databrew#EncryptionKeyArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

" + } + }, + "EncryptionMode": { + "target": "com.amazonaws.databrew#EncryptionMode", + "traits": { + "smithy.api#documentation": "

The encryption mode for the job, which can be one of the following:

\n " + } + }, + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job.

", + "smithy.api#required": {} + } + }, + "Type": { + "target": "com.amazonaws.databrew#JobType", + "traits": { + "smithy.api#documentation": "

The job type, which must be one of the following:

\n " + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who last modified the job.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the job was last modified.

" + } + }, + "LogSubscription": { + "target": "com.amazonaws.databrew#LogSubscription", + "traits": { + "smithy.api#documentation": "

A value that indicates whether Amazon CloudWatch logging is enabled for this job.

" + } + }, + "MaxCapacity": { + "target": "com.amazonaws.databrew#MaxCapacity", + "traits": { + "smithy.api#documentation": "

The maximum number of nodes that AWS Glue DataBrew can consume when the job processes\n data.

" + } + }, + "MaxRetries": { + "target": "com.amazonaws.databrew#MaxRetries", + "traits": { + "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" + } + }, + "Outputs": { + "target": "com.amazonaws.databrew#OutputList", + "traits": { + "smithy.api#documentation": "

One or more artifacts that represent the output from running the job.

" + } + }, + "ProjectName": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The DataBrew project associated with this job.

" + } + }, + "RecipeReference": { + "target": "com.amazonaws.databrew#RecipeReference" + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job.

" + } + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that was assumed for this\n request.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags associated with this job.

" + } + }, + "Timeout": { + "target": "com.amazonaws.databrew#Timeout", + "traits": { + "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" + } + } + } + }, + "com.amazonaws.databrew#DescribeProject": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DescribeProjectRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DescribeProjectResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the definition of a specific AWS Glue DataBrew project that is in the current\n AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/projects/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DescribeProjectRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project to be described.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DescribeProjectResponse": { + "type": "structure", + "members": { + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the project was created.

" + } + }, + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who created the project.

" + } + }, + "DatasetName": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The dataset associated with the project.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the project was last modified.

" + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who last modified the project.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project.

", + "smithy.api#required": {} + } + }, + "RecipeName": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The recipe associated with this job.

" + } + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the project.

" + } + }, + "Sample": { + "target": "com.amazonaws.databrew#Sample" + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that was assumed for this\n request.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags associated with this project.

" + } + }, + "SessionStatus": { + "target": "com.amazonaws.databrew#SessionStatus", + "traits": { + "smithy.api#documentation": "

Describes the current state of the session:

\n " + } + }, + "OpenedBy": { + "target": "com.amazonaws.databrew#OpenedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user that opened the project for use.

" + } + }, + "OpenDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the project was opened.

" + } + } + } + }, + "com.amazonaws.databrew#DescribeRecipe": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DescribeRecipeRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DescribeRecipeResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the definition of a specific AWS Glue DataBrew recipe that is in the current\n AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/recipes/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DescribeRecipeRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe to be described.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "RecipeVersion": { + "target": "com.amazonaws.databrew#RecipeVersion", + "traits": { + "smithy.api#documentation": "

The recipe version identifier. If this parameter isn't specified, then the latest\n published version is returned.

", + "smithy.api#httpQuery": "recipeVersion" + } + } + } + }, + "com.amazonaws.databrew#DescribeRecipeResponse": { + "type": "structure", + "members": { + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who created the recipe.

" + } + }, + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the recipe was created.

" + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who last modified the recipe.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the recipe was last modified.

" + } + }, + "ProjectName": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project associated with this recipe.

" + } + }, + "PublishedBy": { + "target": "com.amazonaws.databrew#PublishedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who last published the recipe.

" + } + }, + "PublishedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the recipe was last published.

" + } + }, + "Description": { + "target": "com.amazonaws.databrew#RecipeDescription", + "traits": { + "smithy.api#documentation": "

The description of the recipe.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe.

", + "smithy.api#required": {} + } + }, + "Steps": { + "target": "com.amazonaws.databrew#RecipeStepList", + "traits": { + "smithy.api#documentation": "

One or more steps to be performed by the recipe. Each step consists of an action, and\n the conditions under which the action should succeed.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags associated with this project.

" + } + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The ARN of the recipe.

" + } + }, + "RecipeVersion": { + "target": "com.amazonaws.databrew#RecipeVersion", + "traits": { + "smithy.api#documentation": "

The recipe version identifier.

" + } + } + } + }, + "com.amazonaws.databrew#DescribeSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#DescribeScheduleRequest" + }, + "output": { + "target": "com.amazonaws.databrew#DescribeScheduleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the definition of a specific AWS Glue DataBrew schedule that is in the current\n AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/schedules/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#DescribeScheduleRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ScheduleName", + "traits": { + "smithy.api#documentation": "

The name of the schedule to be described.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#DescribeScheduleResponse": { + "type": "structure", + "members": { + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the schedule was created.

" + } + }, + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who created the schedule.

" + } + }, + "JobNames": { + "target": "com.amazonaws.databrew#JobNameList", + "traits": { + "smithy.api#documentation": "

The name or names of one or more jobs to be run by using the schedule.

" + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who last modified the schedule.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the schedule was last modified.

" + } + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the schedule.

" + } + }, + "CronExpression": { + "target": "com.amazonaws.databrew#CronExpression", + "traits": { + "smithy.api#documentation": "

The date or dates and time or times, in cron format, when the jobs are to\n be run for the schedule.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags associated with this schedule.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#ScheduleName", + "traits": { + "smithy.api#documentation": "

The name of the schedule.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#EncryptionKeyArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 2048 + } + } + }, + "com.amazonaws.databrew#EncryptionMode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SSE-KMS", + "name": "SSEKMS" + }, + { + "value": "SSE-S3", + "name": "SSES3" + } + ] + } + }, + "com.amazonaws.databrew#ErrorCode": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[1-5][0-9][0-9]$" + } + }, + "com.amazonaws.databrew#ExcelOptions": { + "type": "structure", + "members": { + "SheetNames": { + "target": "com.amazonaws.databrew#SheetNameList", + "traits": { + "smithy.api#documentation": "

Specifies one or more named sheets in the Excel file, which will be included in the dataset.

" + } + }, + "SheetIndexes": { + "target": "com.amazonaws.databrew#SheetIndexList", + "traits": { + "smithy.api#documentation": "

Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.

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

Options that define how DataBrew will interpret a Microsoft Excel file, when creating a\n dataset from that file.

" + } + }, + "com.amazonaws.databrew#ExecutionTime": { + "type": "integer" + }, + "com.amazonaws.databrew#FormatOptions": { + "type": "structure", + "members": { + "Json": { + "target": "com.amazonaws.databrew#JsonOptions", + "traits": { + "smithy.api#documentation": "

Options that define how JSON input is to be interpreted by DataBrew.

" + } + }, + "Excel": { + "target": "com.amazonaws.databrew#ExcelOptions", + "traits": { + "smithy.api#documentation": "

Options that define how Excel input is to be interpreted by DataBrew.

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

Options that define how Microsoft Excel input is to be interpreted by DataBrew.

" + } + }, + "com.amazonaws.databrew#HiddenColumnList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#ColumnName" + } + }, + "com.amazonaws.databrew#Input": { + "type": "structure", + "members": { + "S3InputDefinition": { + "target": "com.amazonaws.databrew#S3Location", + "traits": { + "smithy.api#documentation": "

The Amazon S3 location where the data is stored.

" + } + }, + "DataCatalogInputDefinition": { + "target": "com.amazonaws.databrew#DataCatalogInputDefinition", + "traits": { + "smithy.api#documentation": "

The AWS Glue Data Catalog parameters for the data.

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

Information on how AWS Glue DataBrew can find data, in either the AWS Glue Data\n Catalog or Amazon S3.

" + } + }, + "com.amazonaws.databrew#InternalServerException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.databrew#Message" + } + }, + "traits": { + "smithy.api#documentation": "

An internal service failure occurred.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.databrew#Job": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.databrew#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that owns the job.

" + } + }, + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who created the job.

" + } + }, + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the job was created.

" + } + }, + "DatasetName": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

A dataset that the job is to process.

" + } + }, + "EncryptionKeyArn": { + "target": "com.amazonaws.databrew#EncryptionKeyArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect a job.

" + } + }, + "EncryptionMode": { + "target": "com.amazonaws.databrew#EncryptionMode", + "traits": { + "smithy.api#documentation": "

The encryption mode for the job, which can be one of the following:

\n " + } + }, + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The unique name of the job.

", + "smithy.api#required": {} + } + }, + "Type": { + "target": "com.amazonaws.databrew#JobType", + "traits": { + "smithy.api#documentation": "

The job type of the job, which must be one of the following:

\n " + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who last modified the job.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The modification date and time of the job.

" + } + }, + "LogSubscription": { + "target": "com.amazonaws.databrew#LogSubscription", + "traits": { + "smithy.api#documentation": "

The current status of Amazon CloudWatch logging for the job.

" + } + }, + "MaxCapacity": { + "target": "com.amazonaws.databrew#MaxCapacity", + "traits": { + "smithy.api#documentation": "

The maximum number of nodes that can be consumed when the job processes data.

" + } + }, + "MaxRetries": { + "target": "com.amazonaws.databrew#MaxRetries", + "traits": { + "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" + } + }, + "Outputs": { + "target": "com.amazonaws.databrew#OutputList", + "traits": { + "smithy.api#documentation": "

One or more artifacts that represent output from running the job.

" + } + }, + "ProjectName": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project that the job is associated with.

" + } + }, + "RecipeReference": { + "target": "com.amazonaws.databrew#RecipeReference", + "traits": { + "smithy.api#documentation": "

A set of steps that the job runs.

" + } + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The unique Amazon Resource Name (ARN) for the job.

" + } + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role that will be assumed for this job.

" + } + }, + "Timeout": { + "target": "com.amazonaws.databrew#Timeout", + "traits": { + "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags that have been applied to the job.

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

Represents all of the attributes of an AWS Glue DataBrew job.

" + } + }, + "com.amazonaws.databrew#JobList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#Job" + } + }, + "com.amazonaws.databrew#JobName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 240 + } + } + }, + "com.amazonaws.databrew#JobNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#JobName" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.databrew#JobRun": { + "type": "structure", + "members": { + "Attempt": { + "target": "com.amazonaws.databrew#Attempt", + "traits": { + "smithy.api#documentation": "

The number of times that DataBrew has attempted to run the job.

" + } + }, + "CompletedOn": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the job completed processing.

" + } + }, + "DatasetName": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset for the job to process.

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

A message indicating an error (if any) that was encountered when the job ran.

" + } + }, + "ExecutionTime": { + "target": "com.amazonaws.databrew#ExecutionTime", + "traits": { + "smithy.api#documentation": "

The amount of time, in seconds, during which a job run consumed resources.

" + } + }, + "JobName": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job being processed during this run.

" + } + }, + "RunId": { + "target": "com.amazonaws.databrew#JobRunId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the job run.

" + } + }, + "State": { + "target": "com.amazonaws.databrew#JobRunState", + "traits": { + "smithy.api#documentation": "

The current state of the job run entity itself.

" + } + }, + "LogSubscription": { + "target": "com.amazonaws.databrew#LogSubscription", + "traits": { + "smithy.api#documentation": "

The current status of Amazon CloudWatch logging for the job run.

" + } + }, + "LogGroupName": { + "target": "com.amazonaws.databrew#LogGroupName", + "traits": { + "smithy.api#documentation": "

The name of an Amazon CloudWatch log group, where the job writes diagnostic messages\n when it runs.

" + } + }, + "Outputs": { + "target": "com.amazonaws.databrew#OutputList", + "traits": { + "smithy.api#documentation": "

One or more output artifacts from a job run.

" + } + }, + "RecipeReference": { + "target": "com.amazonaws.databrew#RecipeReference", + "traits": { + "smithy.api#documentation": "

The set of steps processed by the job.

" + } + }, + "StartedBy": { + "target": "com.amazonaws.databrew#StartedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who initiated the job run.

" + } + }, + "StartedOn": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the job run began.

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

Represents one run of an AWS Glue DataBrew job.

" + } + }, + "com.amazonaws.databrew#JobRunErrorMessage": { + "type": "string" + }, + "com.amazonaws.databrew#JobRunId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.databrew#JobRunList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#JobRun" + } + }, + "com.amazonaws.databrew#JobRunState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "STARTING", + "name": "STARTING" + }, + { + "value": "RUNNING", + "name": "RUNNING" + }, + { + "value": "STOPPING", + "name": "STOPPING" + }, + { + "value": "STOPPED", + "name": "STOPPED" + }, + { + "value": "SUCCEEDED", + "name": "SUCCEEDED" + }, + { + "value": "FAILED", + "name": "FAILED" + }, + { + "value": "TIMEOUT", + "name": "TIMEOUT" + } + ] + } + }, + "com.amazonaws.databrew#JobType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PROFILE", + "name": "PROFILE" + }, + { + "value": "RECIPE", + "name": "RECIPE" + } + ] + } + }, + "com.amazonaws.databrew#JsonOptions": { + "type": "structure", + "members": { + "MultiLine": { + "target": "com.amazonaws.databrew#MultiLine", + "traits": { + "smithy.api#documentation": "

A value that specifies whether JSON input contains embedded new line\n characters.

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

Represents the JSON-specific options that define how input is to be interpreted by AWS\n Glue DataBrew.

" + } + }, + "com.amazonaws.databrew#Key": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1280 + } + } + }, + "com.amazonaws.databrew#LastModifiedBy": { + "type": "string" + }, + "com.amazonaws.databrew#ListDatasets": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#ListDatasetsRequest" + }, + "output": { + "target": "com.amazonaws.databrew#ListDatasetsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all of the AWS Glue DataBrew datasets for the current AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/datasets", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Datasets", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.databrew#ListDatasetsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.databrew#MaxResults100", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this request.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by DataBrew that specifies where to continue pagination if a\n previous request was truncated. To get the next set of pages, pass in the NextToken\n value from the response object of the previous page call.

", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.databrew#ListDatasetsResponse": { + "type": "structure", + "members": { + "Datasets": { + "target": "com.amazonaws.databrew#DatasetList", + "traits": { + "smithy.api#documentation": "

A list of datasets that are defined in the current AWS account.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by DataBrew that specifies where to continue pagination if a previous\n request was truncated. To obtain the next set of pages, pass in the NextToken from the\n response object of the previous page call.

" + } + } + } + }, + "com.amazonaws.databrew#ListJobRuns": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#ListJobRunsRequest" + }, + "output": { + "target": "com.amazonaws.databrew#ListJobRunsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all of the previous runs of a particular AWS Glue DataBrew job in the current\n AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/jobs/{Name}/jobRuns", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "JobRuns", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.databrew#ListJobRunsRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.databrew#MaxResults100", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this request.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by AWS Glue DataBrew that specifies where to continue pagination if\n a previous request was truncated. To get the next set of pages, pass in the NextToken\n value from the response object of the previous page call.

", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.databrew#ListJobRunsResponse": { + "type": "structure", + "members": { + "JobRuns": { + "target": "com.amazonaws.databrew#JobRunList", + "traits": { + "smithy.api#documentation": "

A list of job runs that have occurred for the specified job.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by DataBrew that specifies where to continue pagination if a previous\n request was truncated. To obtain the next set of pages, pass in the NextToken from the\n response object of the previous page call.

" + } + } + } + }, + "com.amazonaws.databrew#ListJobs": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#ListJobsRequest" + }, + "output": { + "target": "com.amazonaws.databrew#ListJobsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the AWS Glue DataBrew jobs in the current AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/jobs", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Jobs", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.databrew#ListJobsRequest": { + "type": "structure", + "members": { + "DatasetName": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of a dataset. Using this parameter indicates to return only those jobs that\n act on the specified dataset.

", + "smithy.api#httpQuery": "datasetName" + } + }, + "MaxResults": { + "target": "com.amazonaws.databrew#MaxResults100", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this request.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by DataBrew that specifies where to continue pagination if a\n previous request was truncated. To get the next set of pages, pass in the NextToken\n value from the response object of the previous page call.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "ProjectName": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of a project. Using this parameter indicates to return\n only those jobs that are associated with the specified project.

", + "smithy.api#httpQuery": "projectName" + } + } + } + }, + "com.amazonaws.databrew#ListJobsResponse": { + "type": "structure", + "members": { + "Jobs": { + "target": "com.amazonaws.databrew#JobList", + "traits": { + "smithy.api#documentation": "

A list of jobs that are defined in the current AWS account.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by DataBrew that specifies where to continue pagination if a previous\n request was truncated. To obtain the next set of pages, pass in the NextToken from the\n response object of the previous page call.

" + } + } + } + }, + "com.amazonaws.databrew#ListProjects": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#ListProjectsRequest" + }, + "output": { + "target": "com.amazonaws.databrew#ListProjectsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all of the DataBrew projects in the current AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/projects", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Projects", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.databrew#ListProjectsRequest": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "MaxResults": { + "target": "com.amazonaws.databrew#MaxResults100", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this request.

", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.databrew#ListProjectsResponse": { + "type": "structure", + "members": { + "Projects": { + "target": "com.amazonaws.databrew#ProjectList", + "traits": { + "smithy.api#documentation": "

A list of projects that are defined in the current AWS account.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by DataBrew that specifies where to continue pagination if a\n previous request was truncated. To get the next set of pages, pass in the NextToken\n value from the response object of the previous page call.

" + } + } + } + }, + "com.amazonaws.databrew#ListRecipeVersions": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#ListRecipeVersionsRequest" + }, + "output": { + "target": "com.amazonaws.databrew#ListRecipeVersionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all of the versions of a particular AWS Glue DataBrew recipe in the current AWS\n account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/recipeVersions", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Recipes", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.databrew#ListRecipeVersionsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.databrew#MaxResults100", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this request.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe for which to return version information.

", + "smithy.api#httpQuery": "name", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#ListRecipeVersionsResponse": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by DataBrew that specifies where to continue pagination if a\n previous request was truncated. To get the next set of pages, pass in the NextToken\n value from the response object of the previous page call.

" + } + }, + "Recipes": { + "target": "com.amazonaws.databrew#RecipeList", + "traits": { + "smithy.api#documentation": "

A list of versions for the specified recipe.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#ListRecipes": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#ListRecipesRequest" + }, + "output": { + "target": "com.amazonaws.databrew#ListRecipesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all of the AWS Glue DataBrew recipes in the current AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/recipes", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Recipes", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.databrew#ListRecipesRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.databrew#MaxResults100", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this request.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "RecipeVersion": { + "target": "com.amazonaws.databrew#RecipeVersion", + "traits": { + "smithy.api#documentation": "

A version identifier. Using this parameter indicates to return only those \n recipes that have this version identifier.

", + "smithy.api#httpQuery": "recipeVersion" + } + } + } + }, + "com.amazonaws.databrew#ListRecipesResponse": { + "type": "structure", + "members": { + "Recipes": { + "target": "com.amazonaws.databrew#RecipeList", + "traits": { + "smithy.api#documentation": "

A list of recipes that are defined in the current AWS account.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by DataBrew that specifies where to continue pagination if a\n previous request was truncated. To get the next set of pages, pass in the NextToken\n value from the response object of the previous page call.

" + } + } + } + }, + "com.amazonaws.databrew#ListSchedules": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#ListSchedulesRequest" + }, + "output": { + "target": "com.amazonaws.databrew#ListSchedulesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the AWS Glue DataBrew schedules in the current AWS account.

", + "smithy.api#http": { + "method": "GET", + "uri": "/schedules", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Schedules", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.databrew#ListSchedulesRequest": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job that these schedules apply to.

", + "smithy.api#httpQuery": "jobName" + } + }, + "MaxResults": { + "target": "com.amazonaws.databrew#MaxResults100", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this request.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.databrew#ListSchedulesResponse": { + "type": "structure", + "members": { + "Schedules": { + "target": "com.amazonaws.databrew#ScheduleList", + "traits": { + "smithy.api#documentation": "

A list of schedules in the current AWS account.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.databrew#NextToken", + "traits": { + "smithy.api#documentation": "

A token generated by DataBrew that specifies where to continue pagination if a\n previous request was truncated. To get the next set of pages, pass in the NextToken\n value from the response object of the previous page call.

" + } + } + } + }, + "com.amazonaws.databrew#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.databrew#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#InternalServerException" + }, + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all the tags for an AWS Glue DataBrew resource.

", + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{ResourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) string that uniquely identifies the DataBrew resource.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

A list of tags associated with the DataBrew resource.

" + } + } + } + }, + "com.amazonaws.databrew#LogGroupName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 512 + } + } + }, + "com.amazonaws.databrew#LogSubscription": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ENABLE", + "name": "ENABLE" + }, + { + "value": "DISABLE", + "name": "DISABLE" + } + ] + } + }, + "com.amazonaws.databrew#MaxCapacity": { + "type": "integer" + }, + "com.amazonaws.databrew#MaxResults100": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.databrew#MaxRetries": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.databrew#Message": { + "type": "string" + }, + "com.amazonaws.databrew#MultiLine": { + "type": "boolean" + }, + "com.amazonaws.databrew#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2000 + } + } + }, + "com.amazonaws.databrew#OpenedBy": { + "type": "string" + }, + "com.amazonaws.databrew#Operation": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[A-Z\\_]+$" + } + }, + "com.amazonaws.databrew#Output": { + "type": "structure", + "members": { + "CompressionFormat": { + "target": "com.amazonaws.databrew#CompressionFormat", + "traits": { + "smithy.api#documentation": "

The compression algorithm used to compress the output text of the job.

" + } + }, + "Format": { + "target": "com.amazonaws.databrew#OutputFormat", + "traits": { + "smithy.api#documentation": "

The data format of the output of the job.

" + } + }, + "PartitionColumns": { + "target": "com.amazonaws.databrew#ColumnNameList", + "traits": { + "smithy.api#documentation": "

The names of one or more partition columns for the output of the job.

" + } + }, + "Location": { + "target": "com.amazonaws.databrew#S3Location", + "traits": { + "smithy.api#documentation": "

The location in Amazon S3 where the job writes its output.

", + "smithy.api#required": {} + } + }, + "Overwrite": { + "target": "com.amazonaws.databrew#OverwriteOutput", + "traits": { + "smithy.api#documentation": "

A value that, if true, means that any data in the location specified for output is\n overwritten with new output.

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

Represents individual output from a particular job run.

" + } + }, + "com.amazonaws.databrew#OutputFormat": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CSV", + "name": "CSV" + }, + { + "value": "JSON", + "name": "JSON" + }, + { + "value": "PARQUET", + "name": "PARQUET" + }, + { + "value": "GLUEPARQUET", + "name": "GLUEPARQUET" + }, + { + "value": "AVRO", + "name": "AVRO" + }, + { + "value": "ORC", + "name": "ORC" + }, + { + "value": "XML", + "name": "XML" + } + ] + } + }, + "com.amazonaws.databrew#OutputList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#Output" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.databrew#OverwriteOutput": { + "type": "boolean" + }, + "com.amazonaws.databrew#ParameterMap": { + "type": "map", + "key": { + "target": "com.amazonaws.databrew#ParameterName" + }, + "value": { + "target": "com.amazonaws.databrew#ParameterValue" + } + }, + "com.amazonaws.databrew#ParameterName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[A-Za-z0-9]+$" + } + }, + "com.amazonaws.databrew#ParameterValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 8192 + } + } + }, + "com.amazonaws.databrew#Preview": { + "type": "boolean" + }, + "com.amazonaws.databrew#Project": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.databrew#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that owns the project.

" + } + }, + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the project was created.

" + } + }, + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who crated the\n project.

" + } + }, + "DatasetName": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The dataset that the project is to act upon.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The last modification date and time for the project.

" + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who last modified the project.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The unique name of a project.

", + "smithy.api#required": {} + } + }, + "RecipeName": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of a recipe that will be developed during a project session.

", + "smithy.api#required": {} + } + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the project.

" + } + }, + "Sample": { + "target": "com.amazonaws.databrew#Sample", + "traits": { + "smithy.api#documentation": "

The sample size and sampling type to apply to the data. If this parameter isn't specified, then the sample will consiste of the first 500 rows from the dataset.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags that have been applied to the project.

" + } + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role that will be assumed for this project.

" + } + }, + "OpenedBy": { + "target": "com.amazonaws.databrew#OpenedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user that opened the project for use.

" + } + }, + "OpenDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the project was opened.

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

Represents all of the attributes of an AWS Glue DataBrew project.

" + } + }, + "com.amazonaws.databrew#ProjectList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#Project" + } + }, + "com.amazonaws.databrew#ProjectName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.databrew#PublishRecipe": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#PublishRecipeRequest" + }, + "output": { + "target": "com.amazonaws.databrew#PublishRecipeResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Publishes a new major version of an AWS Glue DataBrew recipe that exists in the\n current AWS account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/recipes/{Name}/publishRecipe", + "code": 200 + } + } + }, + "com.amazonaws.databrew#PublishRecipeRequest": { + "type": "structure", + "members": { + "Description": { + "target": "com.amazonaws.databrew#RecipeDescription", + "traits": { + "smithy.api#documentation": "

A description of the recipe to be published, for this version of the recipe.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe to be published.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#PublishRecipeResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe that you published.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#PublishedBy": { + "type": "string" + }, + "com.amazonaws.databrew#Recipe": { + "type": "structure", + "members": { + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who created the recipe.

" + } + }, + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the recipe was created.

" + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (user name) of the user who last modified the recipe.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The last modification date and time of the recipe.

" + } + }, + "ProjectName": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project that the recipe is associated with.

" + } + }, + "PublishedBy": { + "target": "com.amazonaws.databrew#PublishedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who published the recipe.

" + } + }, + "PublishedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the recipe was published.

" + } + }, + "Description": { + "target": "com.amazonaws.databrew#RecipeDescription", + "traits": { + "smithy.api#documentation": "

The description of the recipe.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The unique name for the recipe.

", + "smithy.api#required": {} + } + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the recipe.

" + } + }, + "Steps": { + "target": "com.amazonaws.databrew#RecipeStepList", + "traits": { + "smithy.api#documentation": "

A list of steps that are defined by the recipe.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags that have been applied to the recipe.

" + } + }, + "RecipeVersion": { + "target": "com.amazonaws.databrew#RecipeVersion", + "traits": { + "smithy.api#documentation": "

The identifier for the version for the recipe.

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

Represents one or more actions to be performed on an AWS Glue DataBrew dataset.

" + } + }, + "com.amazonaws.databrew#RecipeAction": { + "type": "structure", + "members": { + "Operation": { + "target": "com.amazonaws.databrew#Operation", + "traits": { + "smithy.api#documentation": "

The name of a valid DataBrew transformation to be performed on the data.

", + "smithy.api#required": {} + } + }, + "Parameters": { + "target": "com.amazonaws.databrew#ParameterMap", + "traits": { + "smithy.api#documentation": "

Contextual parameters for the transformation.

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

Represents a transformation and associated parameters that are used to apply a change\n to an AWS Glue DataBrew dataset. For more information, see Recipe structure and ecipe\n actions reference .

" + } + }, + "com.amazonaws.databrew#RecipeDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + } + } + }, + "com.amazonaws.databrew#RecipeErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#RecipeVersionErrorDetail" + } + }, + "com.amazonaws.databrew#RecipeErrorMessage": { + "type": "string" + }, + "com.amazonaws.databrew#RecipeList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#Recipe" + } + }, + "com.amazonaws.databrew#RecipeName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.databrew#RecipeReference": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe.

", + "smithy.api#required": {} + } + }, + "RecipeVersion": { + "target": "com.amazonaws.databrew#RecipeVersion", + "traits": { + "smithy.api#documentation": "

The identifier for the version for the recipe.

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

Represents all of the attributes of an AWS Glue DataBrew recipe.

" + } + }, + "com.amazonaws.databrew#RecipeStep": { + "type": "structure", + "members": { + "Action": { + "target": "com.amazonaws.databrew#RecipeAction", + "traits": { + "smithy.api#documentation": "

The particular action to be performed in the recipe step.

", + "smithy.api#required": {} + } + }, + "ConditionExpressions": { + "target": "com.amazonaws.databrew#ConditionExpressionList", + "traits": { + "smithy.api#documentation": "

One or more conditions that must be met, in order for the recipe step to succeed.

\n \n

All of the conditions in the array must be met. In other words, all of the\n conditions must be combined using a logical AND operation.

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

Represents a single step to be performed in an AWS Glue DataBrew recipe.

" + } + }, + "com.amazonaws.databrew#RecipeStepList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#RecipeStep" + } + }, + "com.amazonaws.databrew#RecipeVersion": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 16 + } + } + }, + "com.amazonaws.databrew#RecipeVersionErrorDetail": { + "type": "structure", + "members": { + "ErrorCode": { + "target": "com.amazonaws.databrew#ErrorCode", + "traits": { + "smithy.api#documentation": "

The HTTP status code for the error.

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

The text of the error message.

" + } + }, + "RecipeVersion": { + "target": "com.amazonaws.databrew#RecipeVersion", + "traits": { + "smithy.api#documentation": "

The identifier for the recipe version associated with this error.

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

Represents any errors encountered when attempting to delete multiple recipe versions.

" + } + }, + "com.amazonaws.databrew#RecipeVersionList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#RecipeVersion" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.databrew#ResourceNotFoundException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.databrew#Message" + } + }, + "traits": { + "smithy.api#documentation": "

One or more resources can't be found.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.databrew#Result": { + "type": "string" + }, + "com.amazonaws.databrew#S3Location": { + "type": "structure", + "members": { + "Bucket": { + "target": "com.amazonaws.databrew#Bucket", + "traits": { + "smithy.api#documentation": "

The S3 bucket name.

", + "smithy.api#required": {} + } + }, + "Key": { + "target": "com.amazonaws.databrew#Key", + "traits": { + "smithy.api#documentation": "

The unique name of the object in the bucket.

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

An Amazon S3 location (bucket name an object key) where DataBrew can read input data, or write output from a job.

" + } + }, + "com.amazonaws.databrew#Sample": { + "type": "structure", + "members": { + "Size": { + "target": "com.amazonaws.databrew#SampleSize", + "traits": { + "smithy.api#documentation": "

The number of rows in the sample.

" + } + }, + "Type": { + "target": "com.amazonaws.databrew#SampleType", + "traits": { + "smithy.api#documentation": "

The way in which DataBrew obtains rows from a dataset.

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

Represents the sample size and sampling type for AWS Glue DataBrew to use for\n interactive data analysis.

" + } + }, + "com.amazonaws.databrew#SampleSize": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 5000 + } + } + }, + "com.amazonaws.databrew#SampleType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "FIRST_N", + "name": "FIRST_N" + }, + { + "value": "LAST_N", + "name": "LAST_N" + }, + { + "value": "RANDOM", + "name": "RANDOM" + } + ] + } + }, + "com.amazonaws.databrew#Schedule": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.databrew#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that owns the schedule.

" + } + }, + "CreatedBy": { + "target": "com.amazonaws.databrew#CreatedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who created the schedule.

" + } + }, + "CreateDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the schedule was created.

" + } + }, + "JobNames": { + "target": "com.amazonaws.databrew#JobNameList", + "traits": { + "smithy.api#documentation": "

A list of jobs to be run, according to the schedule.

" + } + }, + "LastModifiedBy": { + "target": "com.amazonaws.databrew#LastModifiedBy", + "traits": { + "smithy.api#documentation": "

The identifier (the user name) of the user who last modified the schedule.

" + } + }, + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the schedule was last modified.

" + } + }, + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the schedule.

" + } + }, + "CronExpression": { + "target": "com.amazonaws.databrew#CronExpression", + "traits": { + "smithy.api#documentation": "

The date(s) and time(s), in cron format, when the job will run.

" + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

Metadata tags that have been applied to the schedule.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#ScheduleName", + "traits": { + "smithy.api#documentation": "

The name of the schedule.

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

Represents one or more dates and times when a job is to run.

" + } + }, + "com.amazonaws.databrew#ScheduleList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#Schedule" + } + }, + "com.amazonaws.databrew#ScheduleName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.databrew#SendProjectSessionAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#SendProjectSessionActionRequest" + }, + "output": { + "target": "com.amazonaws.databrew#SendProjectSessionActionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ConflictException" + }, + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Performs a recipe step within an interactive AWS Glue DataBrew session that's\n currently open.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/projects/{Name}/sendProjectSessionAction", + "code": 200 + } + } + }, + "com.amazonaws.databrew#SendProjectSessionActionRequest": { + "type": "structure", + "members": { + "Preview": { + "target": "com.amazonaws.databrew#Preview", + "traits": { + "smithy.api#documentation": "

Returns the result of the recipe step, without applying it. The result isn't\n added to the view frame stack.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project to apply the action to.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "RecipeStep": { + "target": "com.amazonaws.databrew#RecipeStep" + }, + "StepIndex": { + "target": "com.amazonaws.databrew#StepIndex", + "traits": { + "smithy.api#documentation": "

The index from which to preview a step. This index is used to preview the result of\n steps that have already been applied, so that the resulting view frame is from earlier\n in the view frame stack.

" + } + }, + "ClientSessionId": { + "target": "com.amazonaws.databrew#ClientSessionId", + "traits": { + "smithy.api#documentation": "

A unique identifier for an interactive session that's currently open and ready for\n work. The action will be performed on this session.

" + } + }, + "ViewFrame": { + "target": "com.amazonaws.databrew#ViewFrame" + } + } + }, + "com.amazonaws.databrew#SendProjectSessionActionResponse": { + "type": "structure", + "members": { + "Result": { + "target": "com.amazonaws.databrew#Result", + "traits": { + "smithy.api#documentation": "

A message indicating the result of performing the action.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project that was affected by the action.

", + "smithy.api#required": {} + } + }, + "ActionId": { + "target": "com.amazonaws.databrew#ActionId", + "traits": { + "smithy.api#documentation": "

A unique identifier for the action that was performed.

" + } + } + } + }, + "com.amazonaws.databrew#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.databrew#Message" + } + }, + "traits": { + "smithy.api#documentation": "

A service quota is exceeded.

", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.databrew#SessionStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ASSIGNED", + "name": "ASSIGNED" + }, + { + "value": "FAILED", + "name": "FAILED" + }, + { + "value": "INITIALIZING", + "name": "INITIALIZING" + }, + { + "value": "PROVISIONING", + "name": "PROVISIONING" + }, + { + "value": "READY", + "name": "READY" + }, + { + "value": "RECYCLING", + "name": "RECYCLING" + }, + { + "value": "ROTATING", + "name": "ROTATING" + }, + { + "value": "TERMINATED", + "name": "TERMINATED" + }, + { + "value": "TERMINATING", + "name": "TERMINATING" + }, + { + "value": "UPDATING", + "name": "UPDATING" + } + ] + } + }, + "com.amazonaws.databrew#SheetIndex": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.databrew#SheetIndexList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#SheetIndex" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.databrew#SheetName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 31 + } + } + }, + "com.amazonaws.databrew#SheetNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#SheetName" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.databrew#Source": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "S3", + "name": "S3" + }, + { + "value": "DATA-CATALOG", + "name": "DATACATALOG" + } + ] + } + }, + "com.amazonaws.databrew#StartColumnIndex": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.databrew#StartJobRun": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#StartJobRunRequest" + }, + "output": { + "target": "com.amazonaws.databrew#StartJobRunResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Runs an AWS Glue DataBrew job that exists in the current AWS account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/jobs/{Name}/startJobRun", + "code": 200 + } + } + }, + "com.amazonaws.databrew#StartJobRunRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job to be run.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#StartJobRunResponse": { + "type": "structure", + "members": { + "RunId": { + "target": "com.amazonaws.databrew#JobRunId", + "traits": { + "smithy.api#documentation": "

A system-generated identifier for this particular job run.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#StartProjectSession": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#StartProjectSessionRequest" + }, + "output": { + "target": "com.amazonaws.databrew#StartProjectSessionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates an interactive session, enabling you to manipulate an AWS Glue DataBrew\n project.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/projects/{Name}/startProjectSession", + "code": 200 + } + } + }, + "com.amazonaws.databrew#StartProjectSessionRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project to act upon.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "AssumeControl": { + "target": "com.amazonaws.databrew#AssumeControl", + "traits": { + "smithy.api#documentation": "

A value that, if true, enables you to take control of a session, even if a different client is\n currently accessing the project.

" + } + } + } + }, + "com.amazonaws.databrew#StartProjectSessionResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project to be acted upon.

", + "smithy.api#required": {} + } + }, + "ClientSessionId": { + "target": "com.amazonaws.databrew#ClientSessionId", + "traits": { + "smithy.api#documentation": "

A system-generated identifier for the session.

" + } + } + } + }, + "com.amazonaws.databrew#StartedBy": { + "type": "string" + }, + "com.amazonaws.databrew#StepIndex": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.databrew#StopJobRun": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#StopJobRunRequest" + }, + "output": { + "target": "com.amazonaws.databrew#StopJobRunResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Stops the specified job from running in the current AWS account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/jobs/{Name}/jobRun/{RunId}/stopJobRun", + "code": 200 + } + } + }, + "com.amazonaws.databrew#StopJobRunRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job to be stopped.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "RunId": { + "target": "com.amazonaws.databrew#JobRunId", + "traits": { + "smithy.api#documentation": "

The ID of the job run to be stopped.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#StopJobRunResponse": { + "type": "structure", + "members": { + "RunId": { + "target": "com.amazonaws.databrew#JobRunId", + "traits": { + "smithy.api#documentation": "

The ID of the job run that you stopped.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#TableName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.databrew#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.databrew#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.databrew#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.databrew#TagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.databrew#TagKey" + }, + "value": { + "target": "com.amazonaws.databrew#TagValue" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.databrew#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.databrew#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#InternalServerException" + }, + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Adds metadata tags to an AWS Glue DataBrew resource, such as a dataset, job, project,\n or recipe.

", + "smithy.api#http": { + "method": "POST", + "uri": "/tags/{ResourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#TagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The DataBrew resource to which tags should be added. The value for this parameter is\n an Amazon Resource Name (ARN). For DataBrew, you can tag a dataset, a job, a project, or a\n recipe.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.databrew#TagMap", + "traits": { + "smithy.api#documentation": "

One or more tags to be assigned to the resource.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.databrew#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, + "com.amazonaws.databrew#TargetColumn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.databrew#Timeout": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.databrew#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.databrew#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#InternalServerException" + }, + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Removes metadata tags from an AWS Glue DataBrew resource.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{ResourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#UntagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

An DataBrew resource from which you want to remove a tag or tags. The value for this\n parameter is an Amazon Resource Name (ARN).

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "TagKeys": { + "target": "com.amazonaws.databrew#TagKeyList", + "traits": { + "smithy.api#documentation": "

The tag keys (names) of one or more tags to be removed.

", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#UntagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.databrew#UpdateDataset": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#UpdateDatasetRequest" + }, + "output": { + "target": "com.amazonaws.databrew#UpdateDatasetResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Modifies the definition of an existing AWS Glue DataBrew dataset in the current AWS\n account.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/datasets/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#UpdateDatasetRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset to be updated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "FormatOptions": { + "target": "com.amazonaws.databrew#FormatOptions" + }, + "Input": { + "target": "com.amazonaws.databrew#Input", + "traits": { + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#UpdateDatasetResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the dataset that you updated.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#UpdateProfileJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#UpdateProfileJobRequest" + }, + "output": { + "target": "com.amazonaws.databrew#UpdateProfileJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Modifies the definition of an existing AWS Glue DataBrew job in the current AWS\n account.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/profileJobs/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#UpdateProfileJobRequest": { + "type": "structure", + "members": { + "EncryptionKeyArn": { + "target": "com.amazonaws.databrew#EncryptionKeyArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

" + } + }, + "EncryptionMode": { + "target": "com.amazonaws.databrew#EncryptionMode", + "traits": { + "smithy.api#documentation": "

The encryption mode for the job, which can be one of the following:

\n " + } + }, + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job to be updated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "LogSubscription": { + "target": "com.amazonaws.databrew#LogSubscription", + "traits": { + "smithy.api#documentation": "

A value that enables or disables Amazon CloudWatch logging for the current AWS\n account. If logging is enabled, CloudWatch writes one log stream for each job\n run.

" + } + }, + "MaxCapacity": { + "target": "com.amazonaws.databrew#MaxCapacity", + "traits": { + "smithy.api#documentation": "

The maximum number of nodes that DataBrew can use when the job processes data.

" + } + }, + "MaxRetries": { + "target": "com.amazonaws.databrew#MaxRetries", + "traits": { + "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" + } + }, + "OutputLocation": { + "target": "com.amazonaws.databrew#S3Location", + "traits": { + "smithy.api#required": {} + } + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to\n be assumed for this request.

", + "smithy.api#required": {} + } + }, + "Timeout": { + "target": "com.amazonaws.databrew#Timeout", + "traits": { + "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" + } + } + } + }, + "com.amazonaws.databrew#UpdateProfileJobResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job that was updated.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#UpdateProject": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#UpdateProjectRequest" + }, + "output": { + "target": "com.amazonaws.databrew#UpdateProjectResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Modifies the definition of an existing AWS Glue DataBrew project in the current AWS\n account.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/projects/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#UpdateProjectRequest": { + "type": "structure", + "members": { + "Sample": { + "target": "com.amazonaws.databrew#Sample" + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to be assumed for this request.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project to be updated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#UpdateProjectResponse": { + "type": "structure", + "members": { + "LastModifiedDate": { + "target": "com.amazonaws.databrew#Date", + "traits": { + "smithy.api#documentation": "

The date and time that the project was last modified.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#ProjectName", + "traits": { + "smithy.api#documentation": "

The name of the project that you updated.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#UpdateRecipe": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#UpdateRecipeRequest" + }, + "output": { + "target": "com.amazonaws.databrew#UpdateRecipeResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Modifies the definition of the latest working version of an AWS Glue DataBrew recipe\n in the current AWS account.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/recipes/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#UpdateRecipeJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#UpdateRecipeJobRequest" + }, + "output": { + "target": "com.amazonaws.databrew#UpdateRecipeJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Modifies the definition of an existing AWS Glue DataBrew recipe job in the current AWS\n account.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/recipeJobs/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#UpdateRecipeJobRequest": { + "type": "structure", + "members": { + "EncryptionKeyArn": { + "target": "com.amazonaws.databrew#EncryptionKeyArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

" + } + }, + "EncryptionMode": { + "target": "com.amazonaws.databrew#EncryptionMode", + "traits": { + "smithy.api#documentation": "

The encryption mode for the job, which can be one of the following:

\n " + } + }, + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job to update.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "LogSubscription": { + "target": "com.amazonaws.databrew#LogSubscription", + "traits": { + "smithy.api#documentation": "

A value that enables or disables Amazon CloudWatch logging for the current AWS\n account. If logging is enabled, CloudWatch writes one log stream for each job\n run.

" + } + }, + "MaxCapacity": { + "target": "com.amazonaws.databrew#MaxCapacity", + "traits": { + "smithy.api#documentation": "

The maximum number of nodes that DataBrew\n can consume when the job processes data.

" + } + }, + "MaxRetries": { + "target": "com.amazonaws.databrew#MaxRetries", + "traits": { + "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" + } + }, + "Outputs": { + "target": "com.amazonaws.databrew#OutputList", + "traits": { + "smithy.api#documentation": "

One or more artifacts that represent the output from running the job.

", + "smithy.api#required": {} + } + }, + "RoleArn": { + "target": "com.amazonaws.databrew#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to\n be assumed for this request.

", + "smithy.api#required": {} + } + }, + "Timeout": { + "target": "com.amazonaws.databrew#Timeout", + "traits": { + "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" + } + } + } + }, + "com.amazonaws.databrew#UpdateRecipeJobResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#JobName", + "traits": { + "smithy.api#documentation": "

The name of the job that you updated.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#UpdateRecipeRequest": { + "type": "structure", + "members": { + "Description": { + "target": "com.amazonaws.databrew#RecipeDescription", + "traits": { + "smithy.api#documentation": "

A description of the recipe.

" + } + }, + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe to be updated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Steps": { + "target": "com.amazonaws.databrew#RecipeStepList", + "traits": { + "smithy.api#documentation": "

One or more steps to be performed by the recipe. Each step consists of an action, and\n the conditions under which the action should succeed.

" + } + } + } + }, + "com.amazonaws.databrew#UpdateRecipeResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#RecipeName", + "traits": { + "smithy.api#documentation": "

The name of the recipe that was updated.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#UpdateSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.databrew#UpdateScheduleRequest" + }, + "output": { + "target": "com.amazonaws.databrew#UpdateScheduleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.databrew#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Modifies the definition of an existing AWS Glue DataBrew schedule in the current AWS\n account.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/schedules/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.databrew#UpdateScheduleRequest": { + "type": "structure", + "members": { + "JobNames": { + "target": "com.amazonaws.databrew#JobNameList", + "traits": { + "smithy.api#documentation": "

The name or names of one or more jobs to be run for this schedule.

" + } + }, + "CronExpression": { + "target": "com.amazonaws.databrew#CronExpression", + "traits": { + "smithy.api#documentation": "

The date or dates and time or times, in cron format, when the jobs are to\n be run.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.databrew#ScheduleName", + "traits": { + "smithy.api#documentation": "

The name of the schedule to update.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#UpdateScheduleResponse": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.databrew#ScheduleName", + "traits": { + "smithy.api#documentation": "

The name of the schedule that was updated.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.databrew#ValidationException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.databrew#Message" + } + }, + "traits": { + "smithy.api#documentation": "

The input parameters for this request failed validation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.databrew#ViewFrame": { + "type": "structure", + "members": { + "StartColumnIndex": { + "target": "com.amazonaws.databrew#StartColumnIndex", + "traits": { + "smithy.api#documentation": "

The starting index for the range of columns to return in the view\n frame.

", + "smithy.api#required": {} + } + }, + "ColumnRange": { + "target": "com.amazonaws.databrew#ColumnRange", + "traits": { + "smithy.api#documentation": "

The number of columns to include in the view frame, beginning with the\n StartColumnIndex value and ignoring any columns in the\n HiddenColumns list.

" + } + }, + "HiddenColumns": { + "target": "com.amazonaws.databrew#HiddenColumnList", + "traits": { + "smithy.api#documentation": "

A list of columns to hide in the view frame.

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

Represents the data being being transformed during an AWS Glue DataBrew project session.

" + } + } + } +} diff --git a/codegen/sdk-codegen/aws-models/datasync.2018-11-09.json b/codegen/sdk-codegen/aws-models/datasync.2018-11-09.json index 5bd532923eba..18116475d6f3 100644 --- a/codegen/sdk-codegen/aws-models/datasync.2018-11-09.json +++ b/codegen/sdk-codegen/aws-models/datasync.2018-11-09.json @@ -70,6 +70,12 @@ "com.amazonaws.datasync#AgentListEntry": { "type": "structure", "members": { + "AgentArn": { + "target": "com.amazonaws.datasync#AgentArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the agent.

" + } + }, "Name": { "target": "com.amazonaws.datasync#TagValue", "traits": { @@ -81,12 +87,6 @@ "traits": { "smithy.api#documentation": "

The status of the agent.

" } - }, - "AgentArn": { - "target": "com.amazonaws.datasync#AgentArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the agent.

" - } } }, "traits": { @@ -201,16 +201,10 @@ "smithy.api#required": {} } }, - "SecurityGroupArns": { - "target": "com.amazonaws.datasync#PLSecurityGroupArnList", - "traits": { - "smithy.api#documentation": "

The ARNs of the security groups used to protect your data transfer task subnets. See CreateAgentRequest$SubnetArns.

" - } - }, - "VpcEndpointId": { - "target": "com.amazonaws.datasync#VpcEndpointId", + "AgentName": { + "target": "com.amazonaws.datasync#TagValue", "traits": { - "smithy.api#documentation": "

The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is\n the client-side VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC\n endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.

\n

VPC endpoint ID looks like this: vpce-01234d5aff67890e1.

" + "smithy.api#documentation": "

The name you configured for your agent. This value is a text reference that is used to\n identify the agent in the console.

" } }, "Tags": { @@ -219,16 +213,22 @@ "smithy.api#documentation": "

The key-value pair that represents the tag that you want to associate with the agent.\n The value can be an empty string. This value helps you manage, filter, and search for your\n agents.

\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @.

\n
" } }, + "VpcEndpointId": { + "target": "com.amazonaws.datasync#VpcEndpointId", + "traits": { + "smithy.api#documentation": "

The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is\n the client-side VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC\n endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.

\n

VPC endpoint ID looks like this: vpce-01234d5aff67890e1.

" + } + }, "SubnetArns": { "target": "com.amazonaws.datasync#PLSubnetArnList", "traits": { "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic\n network interfaces for each data transfer task. The agent that runs a task must be private.\n When you start a task that is associated with an agent created in a VPC, or one that has\n access to an IP address in a VPC, then the task is also private. In this case, DataSync\n creates four network interfaces for each task in your subnet. For a data transfer to work, the\n agent must be able to route to all these four network interfaces.

" } }, - "AgentName": { - "target": "com.amazonaws.datasync#TagValue", + "SecurityGroupArns": { + "target": "com.amazonaws.datasync#PLSecurityGroupArnList", "traits": { - "smithy.api#documentation": "

The name you configured for your agent. This value is a text reference that is used to\n identify the agent in the console.

" + "smithy.api#documentation": "

The ARNs of the security groups used to protect your data transfer task subnets. See CreateAgentRequest$SubnetArns.

" } } }, @@ -273,18 +273,19 @@ "com.amazonaws.datasync#CreateLocationEfsRequest": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.datasync#InputTagList", - "traits": { - "smithy.api#documentation": "

The key-value pair that represents a tag that you want to add to the resource. The\n value can be an empty string. This value helps you manage, filter, and search for your\n resources. We recommend that you create a name tag for your location.

" - } - }, "Subdirectory": { "target": "com.amazonaws.datasync#EfsSubdirectory", "traits": { "smithy.api#documentation": "

A subdirectory in the location’s path. This subdirectory in the EFS file system is used\n to read data from the EFS source location or write data to the EFS destination. By default,\n AWS DataSync uses the root directory.

\n \n

\n Subdirectory must be specified with forward slashes. For example,\n /path/to/folder.

\n
" } }, + "EfsFilesystemArn": { + "target": "com.amazonaws.datasync#EfsFilesystemArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Amazon EFS file system.

", + "smithy.api#required": {} + } + }, "Ec2Config": { "target": "com.amazonaws.datasync#Ec2Config", "traits": { @@ -292,11 +293,10 @@ "smithy.api#required": {} } }, - "EfsFilesystemArn": { - "target": "com.amazonaws.datasync#EfsFilesystemArn", + "Tags": { + "target": "com.amazonaws.datasync#InputTagList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Amazon EFS file system.

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

The key-value pair that represents a tag that you want to add to the resource. The\n value can be an empty string. This value helps you manage, filter, and search for your\n resources. We recommend that you create a name tag for your location.

" } } }, @@ -341,23 +341,23 @@ "com.amazonaws.datasync#CreateLocationFsxWindowsRequest": { "type": "structure", "members": { - "SecurityGroupArns": { - "target": "com.amazonaws.datasync#Ec2SecurityGroupArnList", + "Subdirectory": { + "target": "com.amazonaws.datasync#FsxWindowsSubdirectory", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the security groups that are to use to configure the\n FSx for Windows file system.

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

A subdirectory in the location’s path. This subdirectory in the Amazon FSx for Windows file system is used\n to read data from the Amazon FSx for Windows source location or write data to the FSx for Windows destination.

" } }, - "Domain": { - "target": "com.amazonaws.datasync#SmbDomain", + "FsxFilesystemArn": { + "target": "com.amazonaws.datasync#FsxFilesystemArn", "traits": { - "smithy.api#documentation": "

The name of the Windows domain that the FSx for Windows server belongs to.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the FSx for Windows file system.

", + "smithy.api#required": {} } }, - "Password": { - "target": "com.amazonaws.datasync#SmbPassword", + "SecurityGroupArns": { + "target": "com.amazonaws.datasync#Ec2SecurityGroupArnList", "traits": { - "smithy.api#documentation": "

The password of the user who has the permissions to access files and folders in the\n FSx for Windows file system.

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

The Amazon Resource Names (ARNs) of the security groups that are to use to configure the\n FSx for Windows file system.

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

The key-value pair that represents a tag that you want to add to the resource. The\n value can be an empty string. This value helps you manage, filter, and search for your\n resources. We recommend that you create a name tag for your location.

" } }, - "Subdirectory": { - "target": "com.amazonaws.datasync#FsxWindowsSubdirectory", + "User": { + "target": "com.amazonaws.datasync#SmbUser", "traits": { - "smithy.api#documentation": "

A subdirectory in the location’s path. This subdirectory in the Amazon FSx for Windows file system is used\n to read data from the Amazon FSx for Windows source location or write data to the FSx for Windows destination.

" + "smithy.api#documentation": "

The user who has the permissions to access files and folders in the\n FSx for Windows file system.

", + "smithy.api#required": {} } }, - "FsxFilesystemArn": { - "target": "com.amazonaws.datasync#FsxFilesystemArn", + "Domain": { + "target": "com.amazonaws.datasync#SmbDomain", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the FSx for Windows file system.

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

The name of the Windows domain that the FSx for Windows server belongs to.

" } }, - "User": { - "target": "com.amazonaws.datasync#SmbUser", + "Password": { + "target": "com.amazonaws.datasync#SmbPassword", "traits": { - "smithy.api#documentation": "

The user who has the permissions to access files and folders in the\n FSx for Windows file system.

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

The password of the user who has the permissions to access files and folders in the\n FSx for Windows file system.

", "smithy.api#required": {} } } @@ -423,25 +423,13 @@ "com.amazonaws.datasync#CreateLocationNfsRequest": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.datasync#InputTagList", - "traits": { - "smithy.api#documentation": "

The key-value pair that represents the tag that you want to add to the location. The\n value can be an empty string. We recommend using tags to name your resources.

" - } - }, "Subdirectory": { "target": "com.amazonaws.datasync#NfsSubdirectory", "traits": { - "smithy.api#documentation": "

The subdirectory in the NFS file system that is used to read data from the NFS source\n location or write data to the NFS destination. The NFS path should be a path that's\n exported by the NFS server, or a subdirectory of that path. The path should be such that it\n can be mounted by other NFS clients in your network.

\n

To see all the paths exported by your NFS server. run \"showmount -e\n nfs-server-name\" from an NFS client that has access to your server. You can specify\n any directory that appears in the results, and any subdirectory of that directory. Ensure that\n the NFS export is accessible without Kerberos authentication.

\n

To transfer all the data in the folder you specified, DataSync needs to have\n permissions to read all the data. To ensure this, either configure the NFS export with\n no_root_squash, or ensure that the permissions for all of the files that you\n want DataSync allow read access for all users. Doing either enables the agent to read the\n files. For the agent to access directories, you must additionally enable all execute\n access.

\n

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

\n \n

For information about NFS export configuration, see 18.7. The /etc/exports\n Configuration File in the Red Hat Enterprise Linux documentation.

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

The subdirectory in the NFS file system that is used to read data from the NFS source\n location or write data to the NFS destination. The NFS path should be a path that's\n exported by the NFS server, or a subdirectory of that path. The path should be such that it\n can be mounted by other NFS clients in your network.

\n

To see all the paths exported by your NFS server, run \"showmount -e\n nfs-server-name\" from an NFS client that has access to your server. You can specify\n any directory that appears in the results, and any subdirectory of that directory. Ensure that\n the NFS export is accessible without Kerberos authentication.

\n

To transfer all the data in the folder you specified, DataSync needs to have\n permissions to read all the data. To ensure this, either configure the NFS export with\n no_root_squash, or ensure that the permissions for all of the files that you\n want DataSync allow read access for all users. Doing either enables the agent to read the\n files. For the agent to access directories, you must additionally enable all execute\n access.

\n

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

\n \n

For information about NFS export configuration, see 18.7. The /etc/exports\n Configuration File in the Red Hat Enterprise Linux documentation.

", "smithy.api#required": {} } }, - "MountOptions": { - "target": "com.amazonaws.datasync#NfsMountOptions", - "traits": { - "smithy.api#documentation": "

The NFS mount options that DataSync can use to mount your NFS share.

" - } - }, "ServerHostname": { "target": "com.amazonaws.datasync#ServerHostname", "traits": { @@ -455,6 +443,18 @@ "smithy.api#documentation": "

Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to\n an NFS server.

\n

If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

", "smithy.api#required": {} } + }, + "MountOptions": { + "target": "com.amazonaws.datasync#NfsMountOptions", + "traits": { + "smithy.api#documentation": "

The NFS mount options that DataSync can use to mount your NFS share.

" + } + }, + "Tags": { + "target": "com.amazonaws.datasync#InputTagList", + "traits": { + "smithy.api#documentation": "

The key-value pair that represents the tag that you want to add to the location. The\n value can be an empty string. We recommend using tags to name your resources.

" + } } }, "traits": { @@ -498,18 +498,6 @@ "com.amazonaws.datasync#CreateLocationObjectStorageRequest": { "type": "structure", "members": { - "ServerProtocol": { - "target": "com.amazonaws.datasync#ObjectStorageServerProtocol", - "traits": { - "smithy.api#documentation": "

The protocol that the object storage server uses to communicate. \n Valid values are HTTP or HTTPS.

" - } - }, - "SecretKey": { - "target": "com.amazonaws.datasync#ObjectStorageSecretKey", - "traits": { - "smithy.api#documentation": "

Optional. The secret key is used if credentials are required to access the self-managed\n object storage server. If your object storage requires a user name and password to\n authenticate, use AccessKey and SecretKey to provide the user name\n and password, respectively.

" - } - }, "ServerHostname": { "target": "com.amazonaws.datasync#ServerHostname", "traits": { @@ -517,11 +505,16 @@ "smithy.api#required": {} } }, - "BucketName": { - "target": "com.amazonaws.datasync#ObjectStorageBucketName", + "ServerPort": { + "target": "com.amazonaws.datasync#ObjectStorageServerPort", "traits": { - "smithy.api#documentation": "

The bucket on the self-managed object storage server that is used\n to read data from.

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

The port that your self-managed object storage server accepts inbound network traffic on.\n The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can \n specify a custom port if your self-managed object storage server requires one.

" + } + }, + "ServerProtocol": { + "target": "com.amazonaws.datasync#ObjectStorageServerProtocol", + "traits": { + "smithy.api#documentation": "

The protocol that the object storage server uses to communicate. \n Valid values are HTTP or HTTPS.

" } }, "Subdirectory": { @@ -530,16 +523,23 @@ "smithy.api#documentation": "

The subdirectory in the self-managed object storage server that is used\n to read data from.

" } }, + "BucketName": { + "target": "com.amazonaws.datasync#ObjectStorageBucketName", + "traits": { + "smithy.api#documentation": "

The bucket on the self-managed object storage server that is used\n to read data from.

", + "smithy.api#required": {} + } + }, "AccessKey": { "target": "com.amazonaws.datasync#ObjectStorageAccessKey", "traits": { "smithy.api#documentation": "

Optional. The access key is used if credentials are required to access the self-managed\n object storage server. If your object storage requires a user name and password to\n authenticate, use AccessKey and SecretKey to provide the user name\n and password, respectively.

" } }, - "ServerPort": { - "target": "com.amazonaws.datasync#ObjectStorageServerPort", + "SecretKey": { + "target": "com.amazonaws.datasync#ObjectStorageSecretKey", "traits": { - "smithy.api#documentation": "

The port that your self-managed object storage server accepts inbound network traffic on.\n The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can \n specify a custom port if your self-managed object storage server requires one.

" + "smithy.api#documentation": "

Optional. The secret key is used if credentials are required to access the self-managed\n object storage server. If your object storage requires a user name and password to\n authenticate, use AccessKey and SecretKey to provide the user name\n and password, respectively.

" } }, "AgentArns": { @@ -591,35 +591,29 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an endpoint for an Amazon S3 bucket.

\n\n \n

For more information, see\n https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli\n in the AWS DataSync User Guide.

" + "smithy.api#documentation": "

Creates an endpoint for an Amazon S3 bucket.

\n\n \n

For\n more information, see\n https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli\n in the AWS DataSync User Guide.

" } }, "com.amazonaws.datasync#CreateLocationS3Request": { "type": "structure", "members": { - "S3BucketArn": { - "target": "com.amazonaws.datasync#S3BucketArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon S3 bucket. If the bucket is on an \n AWS Outpost, this must be an access point ARN.

", - "smithy.api#required": {} - } - }, - "AgentArns": { - "target": "com.amazonaws.datasync#AgentArnList", + "Subdirectory": { + "target": "com.amazonaws.datasync#S3Subdirectory", "traits": { - "smithy.api#documentation": "

If you are using DataSync on an AWS Outpost, specify the Amazon Resource Names (ARNs) of \n the DataSync agents deployed on your AWS Outpost. For more information about launching a \n DataSync agent on an Amazon Outpost, see outposts-agent.

" + "smithy.api#documentation": "

A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read\n data from the S3 source location or write data to the S3 destination.

" } }, - "Tags": { - "target": "com.amazonaws.datasync#InputTagList", + "S3BucketArn": { + "target": "com.amazonaws.datasync#S3BucketArn", "traits": { - "smithy.api#documentation": "

The key-value pair that represents the tag that you want to add to the location. The\n value can be an empty string. We recommend using tags to name your resources.

" + "smithy.api#documentation": "

The ARN of the Amazon S3 bucket. If the bucket is on an AWS Outpost, this must be an\n access point ARN.

", + "smithy.api#required": {} } }, "S3StorageClass": { "target": "com.amazonaws.datasync#S3StorageClass", "traits": { - "smithy.api#documentation": "

The Amazon S3 storage class that you want to store your files in when this location is\n used as a task destination. For buckets in AWS Regions, the storage class defaults to Standard.\n For buckets on AWS Outposts, the storage class defaults to AWS S3 Outposts.

\n \n

For more information about S3 storage classes, see Amazon S3 Storage Classes in the\n Amazon Simple Storage Service Developer Guide. Some storage classes\n have behaviors that can affect your S3 storage cost. For detailed information, see using-storage-classes.

" + "smithy.api#documentation": "

The Amazon S3 storage class that you want to store your files in when this location is\n used as a task destination. For buckets in AWS Regions, the storage class defaults to Standard.\n For buckets on AWS Outposts, the storage class defaults to AWS S3 Outposts.

\n \n

For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that\n can affect your S3 storage cost. For detailed information, see using-storage-classes.

" } }, "S3Config": { @@ -628,10 +622,16 @@ "smithy.api#required": {} } }, - "Subdirectory": { - "target": "com.amazonaws.datasync#S3Subdirectory", + "AgentArns": { + "target": "com.amazonaws.datasync#AgentArnList", "traits": { - "smithy.api#documentation": "

A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read\n data from the S3 source location or write data to the S3 destination.

" + "smithy.api#documentation": "

If you are using DataSync on an AWS Outpost, specify the Amazon Resource Names (ARNs) of\n the DataSync agents deployed on your Outpost. For more information about launching a DataSync\n agent on an AWS Outpost, see outposts-agent.

" + } + }, + "Tags": { + "target": "com.amazonaws.datasync#InputTagList", + "traits": { + "smithy.api#documentation": "

The key-value pair that represents the tag that you want to add to the location. The\n value can be an empty string. We recommend using tags to name your resources.

" } } }, @@ -676,18 +676,6 @@ "com.amazonaws.datasync#CreateLocationSmbRequest": { "type": "structure", "members": { - "Domain": { - "target": "com.amazonaws.datasync#SmbDomain", - "traits": { - "smithy.api#documentation": "

The name of the Windows domain that the SMB server belongs to.

" - } - }, - "MountOptions": { - "target": "com.amazonaws.datasync#SmbMountOptions", - "traits": { - "smithy.api#documentation": "

The mount options used by DataSync to access the SMB server.

" - } - }, "Subdirectory": { "target": "com.amazonaws.datasync#SmbSubdirectory", "traits": { @@ -695,6 +683,13 @@ "smithy.api#required": {} } }, + "ServerHostname": { + "target": "com.amazonaws.datasync#ServerHostname", + "traits": { + "smithy.api#documentation": "

The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name\n of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB\n server in a network.

\n \n

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

\n
", + "smithy.api#required": {} + } + }, "User": { "target": "com.amazonaws.datasync#SmbUser", "traits": { @@ -702,6 +697,12 @@ "smithy.api#required": {} } }, + "Domain": { + "target": "com.amazonaws.datasync#SmbDomain", + "traits": { + "smithy.api#documentation": "

The name of the Windows domain that the SMB server belongs to.

" + } + }, "Password": { "target": "com.amazonaws.datasync#SmbPassword", "traits": { @@ -709,24 +710,23 @@ "smithy.api#required": {} } }, - "ServerHostname": { - "target": "com.amazonaws.datasync#ServerHostname", + "AgentArns": { + "target": "com.amazonaws.datasync#AgentArnList", "traits": { - "smithy.api#documentation": "

The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name\n of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB\n server in a network.

\n \n

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

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

The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB)\n location.

", "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.datasync#InputTagList", + "MountOptions": { + "target": "com.amazonaws.datasync#SmbMountOptions", "traits": { - "smithy.api#documentation": "

The key-value pair that represents the tag that you want to add to the location. The value\n can be an empty string. We recommend using tags to name your resources.

" + "smithy.api#documentation": "

The mount options used by DataSync to access the SMB server.

" } }, - "AgentArns": { - "target": "com.amazonaws.datasync#AgentArnList", + "Tags": { + "target": "com.amazonaws.datasync#InputTagList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB)\n location.

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

The key-value pair that represents the tag that you want to add to the location. The value\n can be an empty string. We recommend using tags to name your resources.

" } } }, @@ -778,41 +778,35 @@ "smithy.api#required": {} } }, - "Options": { - "target": "com.amazonaws.datasync#Options", - "traits": { - "smithy.api#documentation": "

The set of configuration options that control the behavior of a single execution of the\n task that occurs when you call StartTaskExecution. You can configure these\n options to preserve metadata such as user ID (UID) and group ID (GID), file permissions, data\n integrity verification, and so on.

\n

For each individual task execution, you can override these options by specifying the\n OverrideOptions before starting the task execution. For more information, see\n the operation.

" - } - }, - "Name": { - "target": "com.amazonaws.datasync#TagValue", + "DestinationLocationArn": { + "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

The name of a task. This value is a text reference that is used to identify the task in\n the console.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an AWS storage resource's location.

", + "smithy.api#required": {} } }, - "Excludes": { - "target": "com.amazonaws.datasync#FilterList", + "CloudWatchLogGroupArn": { + "target": "com.amazonaws.datasync#LogGroupArn", "traits": { - "smithy.api#documentation": "

A list of filter rules that determines which files to exclude from a task. The list should\n contain a single filter string that consists of the patterns to exclude. The patterns are\n delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\"\n

\n

\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to\n monitor and log events in the task.

" } }, - "Tags": { - "target": "com.amazonaws.datasync#InputTagList", + "Name": { + "target": "com.amazonaws.datasync#TagValue", "traits": { - "smithy.api#documentation": "

The key-value pair that represents the tag that you want to add to the resource. The\n value can be an empty string.

" + "smithy.api#documentation": "

The name of a task. This value is a text reference that is used to identify the task in\n the console.

" } }, - "DestinationLocationArn": { - "target": "com.amazonaws.datasync#LocationArn", + "Options": { + "target": "com.amazonaws.datasync#Options", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an AWS storage resource's location.

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

The set of configuration options that control the behavior of a single execution of the\n task that occurs when you call StartTaskExecution. You can configure these\n options to preserve metadata such as user ID (UID) and group ID (GID), file permissions, data\n integrity verification, and so on.

\n

For each individual task execution, you can override these options by specifying the\n OverrideOptions before starting the task execution. For more information, see\n the operation.

" } }, - "CloudWatchLogGroupArn": { - "target": "com.amazonaws.datasync#LogGroupArn", + "Excludes": { + "target": "com.amazonaws.datasync#FilterList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to\n monitor and log events in the task.

" + "smithy.api#documentation": "

A list of filter rules that determines which files to exclude from a task. The list should\n contain a single filter string that consists of the patterns to exclude. The patterns are\n delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\".

\n

\n

" } }, "Schedule": { @@ -820,6 +814,12 @@ "traits": { "smithy.api#documentation": "

Specifies a schedule used to periodically transfer files from a source to a destination\n location. The schedule should be specified in UTC time. For more information, see task-scheduling.

" } + }, + "Tags": { + "target": "com.amazonaws.datasync#InputTagList", + "traits": { + "smithy.api#documentation": "

The key-value pair that represents the tag that you want to add to the resource. The\n value can be an empty string.

" + } } }, "traits": { @@ -995,22 +995,16 @@ "com.amazonaws.datasync#DescribeAgentResponse": { "type": "structure", "members": { - "CreationTime": { - "target": "com.amazonaws.datasync#Time", - "traits": { - "smithy.api#documentation": "

The time that the agent was activated (that is, created in your account).

" - } - }, "AgentArn": { "target": "com.amazonaws.datasync#AgentArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the agent.

" } }, - "EndpointType": { - "target": "com.amazonaws.datasync#EndpointType", + "Name": { + "target": "com.amazonaws.datasync#TagValue", "traits": { - "smithy.api#documentation": "

The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint,\n the agent is not accessible over the public internet.

" + "smithy.api#documentation": "

The name of the agent.

" } }, "Status": { @@ -1019,22 +1013,28 @@ "smithy.api#documentation": "

The status of the agent. If the status is ONLINE, then the agent is configured properly\n and is available to use. The Running status is the normal running status for an agent. If the\n status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When\n the issue that caused the unhealthy state is resolved, the agent returns to ONLINE\n status.

" } }, - "PrivateLinkConfig": { - "target": "com.amazonaws.datasync#PrivateLinkConfig", + "LastConnectionTime": { + "target": "com.amazonaws.datasync#Time", "traits": { - "smithy.api#documentation": "

The subnet and the security group that DataSync used to access a VPC endpoint.

" + "smithy.api#documentation": "

The time that the agent last connected to DataSyc.

" } }, - "LastConnectionTime": { + "CreationTime": { "target": "com.amazonaws.datasync#Time", "traits": { - "smithy.api#documentation": "

The time that the agent last connected to DataSyc.

" + "smithy.api#documentation": "

The time that the agent was activated (that is, created in your account).

" } }, - "Name": { - "target": "com.amazonaws.datasync#TagValue", + "EndpointType": { + "target": "com.amazonaws.datasync#EndpointType", "traits": { - "smithy.api#documentation": "

The name of the agent.

" + "smithy.api#documentation": "

The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint,\n the agent is not accessible over the public internet.

" + } + }, + "PrivateLinkConfig": { + "target": "com.amazonaws.datasync#PrivateLinkConfig", + "traits": { + "smithy.api#documentation": "

The subnet and the security group that DataSync used to access a VPC endpoint.

" } } }, @@ -1080,15 +1080,6 @@ "com.amazonaws.datasync#DescribeLocationEfsResponse": { "type": "structure", "members": { - "CreationTime": { - "target": "com.amazonaws.datasync#Time", - "traits": { - "smithy.api#documentation": "

The time that the EFS location was created.

" - } - }, - "Ec2Config": { - "target": "com.amazonaws.datasync#Ec2Config" - }, "LocationArn": { "target": "com.amazonaws.datasync#LocationArn", "traits": { @@ -1100,6 +1091,15 @@ "traits": { "smithy.api#documentation": "

The URL of the EFS location that was described.

" } + }, + "Ec2Config": { + "target": "com.amazonaws.datasync#Ec2Config" + }, + "CreationTime": { + "target": "com.amazonaws.datasync#Time", + "traits": { + "smithy.api#documentation": "

The time that the EFS location was created.

" + } } }, "traits": { @@ -1153,10 +1153,10 @@ "smithy.api#documentation": "

The URL of the FSx for Windows location that was described.

" } }, - "User": { - "target": "com.amazonaws.datasync#SmbUser", + "SecurityGroupArns": { + "target": "com.amazonaws.datasync#Ec2SecurityGroupArnList", "traits": { - "smithy.api#documentation": "

The user who has the permissions to access files and folders in the\n FSx for Windows file system.

" + "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx\n for Windows file system.

" } }, "CreationTime": { @@ -1165,10 +1165,10 @@ "smithy.api#documentation": "

The time that the FSx for Windows location was created.

" } }, - "SecurityGroupArns": { - "target": "com.amazonaws.datasync#Ec2SecurityGroupArnList", + "User": { + "target": "com.amazonaws.datasync#SmbUser", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx\n for Windows file system.

" + "smithy.api#documentation": "

The user who has the permissions to access files and folders in the\n FSx for Windows file system.

" } }, "Domain": { @@ -1217,10 +1217,10 @@ "com.amazonaws.datasync#DescribeLocationNfsResponse": { "type": "structure", "members": { - "MountOptions": { - "target": "com.amazonaws.datasync#NfsMountOptions", + "LocationArn": { + "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

The NFS mount options that DataSync used to mount your NFS share.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the NFS location that was described.

" } }, "LocationUri": { @@ -1229,20 +1229,20 @@ "smithy.api#documentation": "

The URL of the source NFS location that was described.

" } }, - "LocationArn": { - "target": "com.amazonaws.datasync#LocationArn", + "OnPremConfig": { + "target": "com.amazonaws.datasync#OnPremConfig" + }, + "MountOptions": { + "target": "com.amazonaws.datasync#NfsMountOptions", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the NFS location that was described.

" + "smithy.api#documentation": "

The NFS mount options that DataSync used to mount your NFS share.

" } }, "CreationTime": { "target": "com.amazonaws.datasync#Time", "traits": { "smithy.api#documentation": "

The time that the NFS location was created.

" - } - }, - "OnPremConfig": { - "target": "com.amazonaws.datasync#OnPremConfig" + } } }, "traits": { @@ -1287,22 +1287,10 @@ "com.amazonaws.datasync#DescribeLocationObjectStorageResponse": { "type": "structure", "members": { - "AgentArns": { - "target": "com.amazonaws.datasync#AgentArnList", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the agents associated with the \n self-managed object storage server location.

" - } - }, - "CreationTime": { - "target": "com.amazonaws.datasync#Time", - "traits": { - "smithy.api#documentation": "

The time that the self-managed object storage server agent was created.

" - } - }, - "ServerProtocol": { - "target": "com.amazonaws.datasync#ObjectStorageServerProtocol", + "LocationArn": { + "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

The protocol that the object storage server uses to communicate. \n Valid values are HTTP or HTTPS.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.

" } }, "LocationUri": { @@ -1323,10 +1311,22 @@ "smithy.api#documentation": "

The port that your self-managed object storage server accepts inbound network traffic on.\n The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS).

" } }, - "LocationArn": { - "target": "com.amazonaws.datasync#LocationArn", + "ServerProtocol": { + "target": "com.amazonaws.datasync#ObjectStorageServerProtocol", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.

" + "smithy.api#documentation": "

The protocol that the object storage server uses to communicate. \n Valid values are HTTP or HTTPS.

" + } + }, + "AgentArns": { + "target": "com.amazonaws.datasync#AgentArnList", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the agents associated with the \n self-managed object storage server location.

" + } + }, + "CreationTime": { + "target": "com.amazonaws.datasync#Time", + "traits": { + "smithy.api#documentation": "

The time that the self-managed object storage server agent was created.

" } } }, @@ -1384,10 +1384,19 @@ "smithy.api#documentation": "

The URL of the Amazon S3 location that was described.

" } }, + "S3StorageClass": { + "target": "com.amazonaws.datasync#S3StorageClass", + "traits": { + "smithy.api#documentation": "

The Amazon S3 storage class that you chose to store your files in when this location is\n used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage\n classes have behaviors that can affect your S3 storage cost. For detailed information, see\n using-storage-classes.

" + } + }, + "S3Config": { + "target": "com.amazonaws.datasync#S3Config" + }, "AgentArns": { "target": "com.amazonaws.datasync#AgentArnList", "traits": { - "smithy.api#documentation": "

If you are using DataSync on an Amazon Outpost, the Amazon Resource Name (ARNs) \n of the EC2 agents deployed on your AWS Outpost. For more information about launching \n a DataSync agent on an Amazon Outpost, see outposts-agent.

" + "smithy.api#documentation": "

If you are using DataSync on an AWS Outpost, the Amazon Resource Name (ARNs) of the EC2\n agents deployed on your Outpost. For more information about launching a DataSync agent on an\n AWS Outpost, see outposts-agent.

" } }, "CreationTime": { @@ -1395,15 +1404,6 @@ "traits": { "smithy.api#documentation": "

The time that the Amazon S3 bucket location was created.

" } - }, - "S3StorageClass": { - "target": "com.amazonaws.datasync#S3StorageClass", - "traits": { - "smithy.api#documentation": "

The Amazon S3 storage class that you chose to store your files in when this location is\n used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes in the\n Amazon Simple Storage Service Developer Guide. Some storage classes\n have behaviors that can affect your S3 storage cost. For detailed information, see using-storage-classes.

" - } - }, - "S3Config": { - "target": "com.amazonaws.datasync#S3Config" } }, "traits": { @@ -1448,16 +1448,10 @@ "com.amazonaws.datasync#DescribeLocationSmbResponse": { "type": "structure", "members": { - "AgentArns": { - "target": "com.amazonaws.datasync#AgentArnList", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source SMB file system location that is\n created.

" - } - }, - "User": { - "target": "com.amazonaws.datasync#SmbUser", + "LocationArn": { + "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

The user who can mount the share, has the permissions to access files and folders in the\n SMB share.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the SMB location that was described.

" } }, "LocationUri": { @@ -1466,22 +1460,22 @@ "smithy.api#documentation": "

The URL of the source SBM location that was described.

" } }, - "CreationTime": { - "target": "com.amazonaws.datasync#Time", + "AgentArns": { + "target": "com.amazonaws.datasync#AgentArnList", "traits": { - "smithy.api#documentation": "

The time that the SMB location was created.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source SMB file system location that is\n created.

" } }, - "Domain": { - "target": "com.amazonaws.datasync#SmbDomain", + "User": { + "target": "com.amazonaws.datasync#SmbUser", "traits": { - "smithy.api#documentation": "

The name of the Windows domain that the SMB server belongs to.

" + "smithy.api#documentation": "

The user who can mount the share, has the permissions to access files and folders in the\n SMB share.

" } }, - "LocationArn": { - "target": "com.amazonaws.datasync#LocationArn", + "Domain": { + "target": "com.amazonaws.datasync#SmbDomain", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the SMB location that was described.

" + "smithy.api#documentation": "

The name of the Windows domain that the SMB server belongs to.

" } }, "MountOptions": { @@ -1489,6 +1483,12 @@ "traits": { "smithy.api#documentation": "

The mount options that are available for DataSync to use to access an SMB location.

" } + }, + "CreationTime": { + "target": "com.amazonaws.datasync#Time", + "traits": { + "smithy.api#documentation": "

The time that the SMB location was created.

" + } } }, "traits": { @@ -1553,8 +1553,11 @@ "com.amazonaws.datasync#DescribeTaskExecutionResponse": { "type": "structure", "members": { - "Options": { - "target": "com.amazonaws.datasync#Options" + "TaskExecutionArn": { + "target": "com.amazonaws.datasync#TaskExecutionArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task execution that was described.\n TaskExecutionArn is hierarchical and includes TaskArn for the task\n that was executed.

\n

For example, a TaskExecution value with the ARN\n arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b\n executed the task with the ARN\n arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.

" + } }, "Status": { "target": "com.amazonaws.datasync#TaskExecutionStatus", @@ -1562,17 +1565,8 @@ "smithy.api#documentation": "

The status of the task execution.

\n\n \n

For detailed information about task execution statuses, see Understanding\n Task Statuses in the AWS DataSync User Guide.\n

" } }, - "BytesTransferred": { - "target": "com.amazonaws.datasync#long", - "traits": { - "smithy.api#documentation": "

The physical number of bytes transferred over the network.

" - } - }, - "FilesTransferred": { - "target": "com.amazonaws.datasync#long", - "traits": { - "smithy.api#documentation": "

The actual number of files that was transferred over the network. This value is\n calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated\n periodically when each file is read from the source and sent over the network.

\n

If failures occur during a transfer, this value can be less than\n EstimatedFilesToTransfer. This value can also be greater than\n EstimatedFilesTransferred in some cases. This element is\n implementation-specific for some location types, so don't use it as an indicator for a correct\n file number or to monitor your task execution.

" - } + "Options": { + "target": "com.amazonaws.datasync#Options" }, "Excludes": { "target": "com.amazonaws.datasync#FilterList", @@ -1586,10 +1580,10 @@ "smithy.api#documentation": "

A list of filter rules that determines which files to include when running a task. The\n list should contain a single filter string that consists of the patterns to include. The\n patterns are delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"\n

\n

\n

" } }, - "BytesWritten": { - "target": "com.amazonaws.datasync#long", + "StartTime": { + "target": "com.amazonaws.datasync#Time", "traits": { - "smithy.api#documentation": "

The number of logical bytes written to the destination AWS storage resource.

" + "smithy.api#documentation": "

The time that the task execution was started.

" } }, "EstimatedFilesToTransfer": { @@ -1598,28 +1592,34 @@ "smithy.api#documentation": "

The expected number of files that is to be transferred over the network. This value is\n calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the\n expected number of files to be transferred. It's calculated based on comparing the\n content of the source and destination locations and finding the delta that needs to be\n transferred.

" } }, - "Result": { - "target": "com.amazonaws.datasync#TaskExecutionResultDetail", + "EstimatedBytesToTransfer": { + "target": "com.amazonaws.datasync#long", "traits": { - "smithy.api#documentation": "

The result of the task execution.

" + "smithy.api#documentation": "

The estimated physical number of bytes that is to be transferred over the\n network.

" } }, - "TaskExecutionArn": { - "target": "com.amazonaws.datasync#TaskExecutionArn", + "FilesTransferred": { + "target": "com.amazonaws.datasync#long", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task execution that was described.\n TaskExecutionArn is hierarchical and includes TaskArn for the task\n that was executed.

\n

For example, a TaskExecution value with the ARN\n arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b\n executed the task with the ARN\n arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.

" + "smithy.api#documentation": "

The actual number of files that was transferred over the network. This value is\n calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated\n periodically when each file is read from the source and sent over the network.

\n

If failures occur during a transfer, this value can be less than\n EstimatedFilesToTransfer. This value can also be greater than\n EstimatedFilesTransferred in some cases. This element is\n implementation-specific for some location types, so don't use it as an indicator for a correct\n file number or to monitor your task execution.

" } }, - "EstimatedBytesToTransfer": { + "BytesWritten": { "target": "com.amazonaws.datasync#long", "traits": { - "smithy.api#documentation": "

The estimated physical number of bytes that is to be transferred over the\n network.

" + "smithy.api#documentation": "

The number of logical bytes written to the destination AWS storage resource.

" } }, - "StartTime": { - "target": "com.amazonaws.datasync#Time", + "BytesTransferred": { + "target": "com.amazonaws.datasync#long", "traits": { - "smithy.api#documentation": "

The time that the task execution was started.

" + "smithy.api#documentation": "

The physical number of bytes transferred over the network.

" + } + }, + "Result": { + "target": "com.amazonaws.datasync#TaskExecutionResultDetail", + "traits": { + "smithy.api#documentation": "

The result of the task execution.

" } } }, @@ -1645,16 +1645,16 @@ "com.amazonaws.datasync#DescribeTaskResponse": { "type": "structure", "members": { - "ErrorDetail": { - "target": "com.amazonaws.datasync#string", + "TaskArn": { + "target": "com.amazonaws.datasync#TaskArn", "traits": { - "smithy.api#documentation": "

Detailed description of an error that was encountered during the task execution. You\n can use this information to help troubleshoot issues.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task that was described.

" } }, - "DestinationNetworkInterfaceArns": { - "target": "com.amazonaws.datasync#DestinationNetworkInterfaceArns", + "Status": { + "target": "com.amazonaws.datasync#TaskStatus", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that\n was created for your subnet.

" + "smithy.api#documentation": "

The status of the task that was described.

\n\n \n

For detailed information about task execution statuses, see Understanding\n Task Statuses in the AWS DataSync User Guide.

" } }, "Name": { @@ -1669,10 +1669,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task execution that is syncing files.

" } }, - "Excludes": { - "target": "com.amazonaws.datasync#FilterList", + "SourceLocationArn": { + "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

A list of filter rules that determines which files to exclude from a task. The list should\n contain a single filter string that consists of the patterns to exclude. The patterns are\n delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"\n

\n

\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source file system's location.

" } }, "DestinationLocationArn": { @@ -1681,10 +1681,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS storage resource's location.

" } }, - "TaskArn": { - "target": "com.amazonaws.datasync#TaskArn", + "CloudWatchLogGroupArn": { + "target": "com.amazonaws.datasync#LogGroupArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task that was described.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to\n monitor and log events in the task.

\n\n \n

For more information on these groups, see Working with Log Groups and Log\n Streams in the Amazon CloudWatch User Guide.

" } }, "SourceNetworkInterfaceArns": { @@ -1693,46 +1693,46 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was\n created for your subnet.

" } }, - "Status": { - "target": "com.amazonaws.datasync#TaskStatus", + "DestinationNetworkInterfaceArns": { + "target": "com.amazonaws.datasync#DestinationNetworkInterfaceArns", "traits": { - "smithy.api#documentation": "

The status of the task that was described.

\n\n \n

For detailed information about task execution statuses, see Understanding\n Task Statuses in the AWS DataSync User Guide.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that\n was created for your subnet.

" } }, - "Schedule": { - "target": "com.amazonaws.datasync#TaskSchedule", + "Options": { + "target": "com.amazonaws.datasync#Options", "traits": { - "smithy.api#documentation": "

The schedule used to periodically transfer files from a source to a destination location.

" + "smithy.api#documentation": "

The set of configuration options that control the behavior of a single execution of the\n task that occurs when you call StartTaskExecution. You can configure these\n options to preserve metadata such as user ID (UID) and group (GID), file permissions, data\n integrity verification, and so on.

\n

For each individual task execution, you can override these options by specifying the\n overriding OverrideOptions value to \n operation.

" } }, - "ErrorCode": { - "target": "com.amazonaws.datasync#string", + "Excludes": { + "target": "com.amazonaws.datasync#FilterList", "traits": { - "smithy.api#documentation": "

Errors that AWS DataSync encountered during execution of the task. You can use this\n error code to help troubleshoot issues.

" + "smithy.api#documentation": "

A list of filter rules that determines which files to exclude from a task. The list should\n contain a single filter string that consists of the patterns to exclude. The patterns are\n delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"\n

\n

\n

" } }, - "CreationTime": { - "target": "com.amazonaws.datasync#Time", + "Schedule": { + "target": "com.amazonaws.datasync#TaskSchedule", "traits": { - "smithy.api#documentation": "

The time that the task was created.

" + "smithy.api#documentation": "

The schedule used to periodically transfer files from a source to a destination location.

" } }, - "CloudWatchLogGroupArn": { - "target": "com.amazonaws.datasync#LogGroupArn", + "ErrorCode": { + "target": "com.amazonaws.datasync#string", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to\n monitor and log events in the task.

\n\n \n

For more information on these groups, see Working with Log Groups and Log\n Streams in the Amazon CloudWatch User Guide.

" + "smithy.api#documentation": "

Errors that AWS DataSync encountered during execution of the task. You can use this\n error code to help troubleshoot issues.

" } }, - "SourceLocationArn": { - "target": "com.amazonaws.datasync#LocationArn", + "ErrorDetail": { + "target": "com.amazonaws.datasync#string", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source file system's location.

" + "smithy.api#documentation": "

Detailed description of an error that was encountered during the task execution. You\n can use this information to help troubleshoot issues.

" } }, - "Options": { - "target": "com.amazonaws.datasync#Options", + "CreationTime": { + "target": "com.amazonaws.datasync#Time", "traits": { - "smithy.api#documentation": "

The set of configuration options that control the behavior of a single execution of the\n task that occurs when you call StartTaskExecution. You can configure these\n options to preserve metadata such as user ID (UID) and group (GID), file permissions, data\n integrity verification, and so on.

\n

For each individual task execution, you can override these options by specifying the\n overriding OverrideOptions value to \n operation.

" + "smithy.api#documentation": "

The time that the task was created.

" } } }, @@ -1758,17 +1758,17 @@ "com.amazonaws.datasync#Ec2Config": { "type": "structure", "members": { - "SecurityGroupArns": { - "target": "com.amazonaws.datasync#Ec2SecurityGroupArnList", + "SubnetArn": { + "target": "com.amazonaws.datasync#Ec2SubnetArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the\n Amazon EC2 resource.

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

The ARN of the subnet and the security group that DataSync uses to access the target\n EFS file system.

", "smithy.api#required": {} } }, - "SubnetArn": { - "target": "com.amazonaws.datasync#Ec2SubnetArn", + "SecurityGroupArns": { + "target": "com.amazonaws.datasync#Ec2SecurityGroupArnList", "traits": { - "smithy.api#documentation": "

The ARN of the subnet and the security group that DataSync uses to access the target\n EFS file system.

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

The Amazon Resource Names (ARNs) of the security groups that are configured for the\n Amazon EC2 resource.

", "smithy.api#required": {} } } @@ -2028,6 +2028,9 @@ }, { "target": "com.amazonaws.datasync#UpdateTask" + }, + { + "target": "com.amazonaws.datasync#UpdateTaskExecution" } ], "traits": { @@ -2035,7 +2038,7 @@ "sdkId": "DataSync", "arnNamespace": "datasync", "cloudFormationName": "DataSync", - "cloudTrailEventSource": "fmrs.amazonaws.com" + "cloudTrailEventSource": "datasync.amazonaws.com" }, "aws.auth#sigv4": { "name": "datasync" @@ -2113,10 +2116,10 @@ "com.amazonaws.datasync#InternalException": { "type": "structure", "members": { - "errorCode": { + "message": { "target": "com.amazonaws.datasync#string" }, - "message": { + "errorCode": { "target": "com.amazonaws.datasync#string" } }, @@ -2188,17 +2191,17 @@ "com.amazonaws.datasync#ListAgentsResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.datasync#NextToken", - "traits": { - "smithy.api#documentation": "

An opaque string that indicates the position at which to begin returning the next list\n of agents.

" - } - }, "Agents": { "target": "com.amazonaws.datasync#AgentList", "traits": { "smithy.api#documentation": "

A list of agents in your account.

" } + }, + "NextToken": { + "target": "com.amazonaws.datasync#NextToken", + "traits": { + "smithy.api#documentation": "

An opaque string that indicates the position at which to begin returning the next list\n of agents.

" + } } }, "traits": { @@ -2233,10 +2236,10 @@ "com.amazonaws.datasync#ListLocationsRequest": { "type": "structure", "members": { - "Filters": { - "target": "com.amazonaws.datasync#LocationFilters", + "MaxResults": { + "target": "com.amazonaws.datasync#MaxResults", "traits": { - "smithy.api#documentation": "

You can use API filters to narrow down the list of resources returned by ListLocations. \n For example, to retrieve all tasks on a specific source location, you can use ListLocations \n with filter name LocationType S3 and Operator Equals.

" + "smithy.api#documentation": "

The maximum number of locations to return.

" } }, "NextToken": { @@ -2245,10 +2248,10 @@ "smithy.api#documentation": "

An opaque string that indicates the position at which to begin the next list of\n locations.

" } }, - "MaxResults": { - "target": "com.amazonaws.datasync#MaxResults", + "Filters": { + "target": "com.amazonaws.datasync#LocationFilters", "traits": { - "smithy.api#documentation": "

The maximum number of locations to return.

" + "smithy.api#documentation": "

You can use API filters to narrow down the list of resources returned by ListLocations. \n For example, to retrieve all tasks on a specific source location, you can use ListLocations \n with filter name LocationType S3 and Operator Equals.

" } } }, @@ -2330,18 +2333,18 @@ }, "com.amazonaws.datasync#ListTagsForResourceResponse": { "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.datasync#NextToken", - "traits": { - "smithy.api#documentation": "

An opaque string that indicates the position at which to begin returning the next list\n of resource tags.

" - } - }, + "members": { "Tags": { "target": "com.amazonaws.datasync#OutputTagList", "traits": { "smithy.api#documentation": "

Array of resource tags.

" } + }, + "NextToken": { + "target": "com.amazonaws.datasync#NextToken", + "traits": { + "smithy.api#documentation": "

An opaque string that indicates the position at which to begin returning the next list\n of resource tags.

" + } } }, "traits": { @@ -2447,10 +2450,10 @@ "com.amazonaws.datasync#ListTasksRequest": { "type": "structure", "members": { - "Filters": { - "target": "com.amazonaws.datasync#TaskFilters", + "MaxResults": { + "target": "com.amazonaws.datasync#MaxResults", "traits": { - "smithy.api#documentation": "

You can use API filters to narrow down the list of resources returned by ListTasks. \n For example, to retrieve all tasks on a specific source location, you can use ListTasks\n with filter name LocationId and Operator Equals with the ARN for the \n location.

" + "smithy.api#documentation": "

The maximum number of tasks to return.

" } }, "NextToken": { @@ -2459,10 +2462,10 @@ "smithy.api#documentation": "

An opaque string that indicates the position at which to begin the next list of\n tasks.

" } }, - "MaxResults": { - "target": "com.amazonaws.datasync#MaxResults", + "Filters": { + "target": "com.amazonaws.datasync#TaskFilters", "traits": { - "smithy.api#documentation": "

The maximum number of tasks to return.

" + "smithy.api#documentation": "

You can use API filters to narrow down the list of resources returned by ListTasks. \n For example, to retrieve all tasks on a specific source location, you can use ListTasks\n with filter name LocationId and Operator Equals with the ARN for the \n location.

" } } }, @@ -2473,17 +2476,17 @@ "com.amazonaws.datasync#ListTasksResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.datasync#NextToken", - "traits": { - "smithy.api#documentation": "

An opaque string that indicates the position at which to begin returning the next list\n of tasks.

" - } - }, "Tasks": { "target": "com.amazonaws.datasync#TaskList", "traits": { "smithy.api#documentation": "

A list of all the tasks that are returned.

" } + }, + "NextToken": { + "target": "com.amazonaws.datasync#NextToken", + "traits": { + "smithy.api#documentation": "

An opaque string that indicates the position at which to begin returning the next list\n of tasks.

" + } } }, "traits": { @@ -2503,10 +2506,10 @@ "com.amazonaws.datasync#LocationFilter": { "type": "structure", "members": { - "Operator": { - "target": "com.amazonaws.datasync#Operator", + "Name": { + "target": "com.amazonaws.datasync#LocationFilterName", "traits": { - "smithy.api#documentation": "

The operator that is used to compare filter values (for example, Equals or \n Contains). For more about API filtering operators, see query-resources.

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

The name of the filter being used. Each API call supports a list of filters that are available \n for it (for example, LocationType for ListLocations).

", "smithy.api#required": {} } }, @@ -2517,10 +2520,10 @@ "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.datasync#LocationFilterName", + "Operator": { + "target": "com.amazonaws.datasync#Operator", "traits": { - "smithy.api#documentation": "

The name of the filter being used. Each API call supports a list of filters that are available \n for it (for example, LocationType for ListLocations).

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

The operator that is used to compare filter values (for example, Equals or \n Contains). For more about API filtering operators, see query-resources.

", "smithy.api#required": {} } } @@ -2838,12 +2841,6 @@ "smithy.api#documentation": "

A value that determines whether a data integrity verification should be performed at\n the end of a task execution after all data and metadata have been transferred. \n For more information, see \n create-task\n

\n

Default value: POINT_IN_TIME_CONSISTENT.

\n

ONLY_FILES_TRANSFERRED (recommended): Perform verification only on files that were transferred.\n

\n \n

POINT_IN_TIME_CONSISTENT: Scan the entire source and entire destination \n at the end of the transfer \n to verify that source and destination are fully \n synchronized. This option isn't supported when transferring to S3 Glacier or S3 Glacier \n Deep Archive storage classes.

\n

NONE: No additional verification is done at the end of the \n transfer, but all data transmissions are integrity-checked with \n checksum verification during the transfer.

" } }, - "PreserveDevices": { - "target": "com.amazonaws.datasync#PreserveDevices", - "traits": { - "smithy.api#documentation": "

A value that determines whether AWS DataSync should preserve the metadata of block\n and character devices in the source file system, and recreate the files with that device name\n and metadata on the destination.

\n \n

AWS DataSync can't sync the actual contents of such devices, because they are\n nonterminal and don't return an end-of-file (EOF) marker.

\n
\n

Default value: NONE.

\n

NONE: Ignore special devices (recommended).

\n

PRESERVE: Preserve character and block device metadata. This option isn't currently\n supported for Amazon EFS.

" - } - }, "OverwriteMode": { "target": "com.amazonaws.datasync#OverwriteMode", "traits": { @@ -2856,16 +2853,16 @@ "smithy.api#documentation": "

A file metadata value that shows the last time a file was accessed (that is, when the\n file was read or written to). If you set Atime to BEST_EFFORT, DataSync\n attempts to preserve the original Atime attribute on all source files (that is,\n the version before the PREPARING phase). However, Atime's behavior is not\n fully standard across platforms, so AWS DataSync can only do this on a best-effort basis.

\n

Default value: BEST_EFFORT.

\n

BEST_EFFORT: Attempt to preserve the per-file Atime value\n (recommended).

\n

NONE: Ignore Atime.

\n \n

If Atime is set to BEST_EFFORT, Mtime must be set to PRESERVE.

\n

If Atime is set to NONE, Mtime must also be NONE.

\n
" } }, - "PosixPermissions": { - "target": "com.amazonaws.datasync#PosixPermissions", + "Mtime": { + "target": "com.amazonaws.datasync#Mtime", "traits": { - "smithy.api#documentation": "

A value that determines which users or groups can access a file for a specific purpose\n such as reading, writing, or execution of the file.

\n

Default value: PRESERVE.

\n

PRESERVE: Preserve POSIX-style permissions (recommended).

\n

NONE: Ignore permissions.

\n \n

AWS DataSync can preserve extant permissions of a source location.

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

A value that indicates the last time that a file was modified (that is, a file was\n written to) before the PREPARING phase.

\n

Default value: PRESERVE.

\n

PRESERVE: Preserve original Mtime (recommended)

\n

NONE: Ignore Mtime.

\n \n

If Mtime is set to PRESERVE, Atime must be set to\n BEST_EFFORT.

\n

If Mtime is set to NONE, Atime must also be set to NONE.\n

\n
" } }, - "PreserveDeletedFiles": { - "target": "com.amazonaws.datasync#PreserveDeletedFiles", + "Uid": { + "target": "com.amazonaws.datasync#Uid", "traits": { - "smithy.api#documentation": "

A value that specifies whether files in the destination that don't exist in the source\n file system should be preserved. This option can affect your storage cost. \n If your task deletes objects, you might incur minimum storage duration charges for certain storage classes. For detailed\n information, see using-storage-classes in the AWS DataSync User\n Guide.

\n

Default value: PRESERVE.

\n

PRESERVE: Ignore such destination files (recommended).

\n

REMOVE: Delete destination files that aren’t present in the source.

" + "smithy.api#documentation": "

The user ID (UID) of the file's owner.

\n

Default value: INT_VALUE. This preserves the integer value of the ID.

\n

INT_VALUE: Preserve the integer value of UID and group ID (GID)\n (recommended).

\n

NONE: Ignore UID and GID.

" } }, "Gid": { @@ -2874,16 +2871,22 @@ "smithy.api#documentation": "

The group ID (GID) of the file's owners.

\n

Default value: INT_VALUE. This preserves the integer value of the ID.

\n

INT_VALUE: Preserve the integer value of user ID (UID) and GID (recommended).

\n

NONE: Ignore UID and GID.

" } }, - "Uid": { - "target": "com.amazonaws.datasync#Uid", + "PreserveDeletedFiles": { + "target": "com.amazonaws.datasync#PreserveDeletedFiles", "traits": { - "smithy.api#documentation": "

The user ID (UID) of the file's owner.

\n

Default value: INT_VALUE. This preserves the integer value of the ID.

\n

INT_VALUE: Preserve the integer value of UID and group ID (GID)\n (recommended).

\n

NONE: Ignore UID and GID.

" + "smithy.api#documentation": "

A value that specifies whether files in the destination that don't exist in the source\n file system should be preserved. This option can affect your storage cost. \n If your task deletes objects, you might incur minimum storage duration charges for certain storage classes. For detailed\n information, see using-storage-classes in the AWS DataSync User\n Guide.

\n

Default value: PRESERVE.

\n

PRESERVE: Ignore such destination files (recommended).

\n

REMOVE: Delete destination files that aren’t present in the source.

" } }, - "LogLevel": { - "target": "com.amazonaws.datasync#LogLevel", + "PreserveDevices": { + "target": "com.amazonaws.datasync#PreserveDevices", "traits": { - "smithy.api#documentation": "

A value that determines the type of logs that DataSync publishes to a log stream in the\n Amazon CloudWatch log group that you provide. For more information about providing a log group\n for DataSync, see CloudWatchLogGroupArn. If set to OFF, no logs are published.\n BASIC publishes logs on errors for individual files transferred, and\n TRANSFER publishes logs for every file or object that is transferred and\n integrity checked.

" + "smithy.api#documentation": "

A value that determines whether AWS DataSync should preserve the metadata of block\n and character devices in the source file system, and recreate the files with that device name\n and metadata on the destination.

\n \n

AWS DataSync can't sync the actual contents of such devices, because they are\n nonterminal and don't return an end-of-file (EOF) marker.

\n
\n

Default value: NONE.

\n

NONE: Ignore special devices (recommended).

\n

PRESERVE: Preserve character and block device metadata. This option isn't currently\n supported for Amazon EFS.

" + } + }, + "PosixPermissions": { + "target": "com.amazonaws.datasync#PosixPermissions", + "traits": { + "smithy.api#documentation": "

A value that determines which users or groups can access a file for a specific purpose\n such as reading, writing, or execution of the file.

\n

Default value: PRESERVE.

\n

PRESERVE: Preserve POSIX-style permissions (recommended).

\n

NONE: Ignore permissions.

\n \n

AWS DataSync can preserve extant permissions of a source location.

\n
" } }, "BytesPerSecond": { @@ -2892,22 +2895,22 @@ "smithy.api#documentation": "

A value that limits the bandwidth used by AWS DataSync. For example, if you want\n AWS DataSync to use a maximum of 1 MB, set this value to 1048576\n (=1024*1024).

" } }, - "Mtime": { - "target": "com.amazonaws.datasync#Mtime", + "TaskQueueing": { + "target": "com.amazonaws.datasync#TaskQueueing", "traits": { - "smithy.api#documentation": "

A value that indicates the last time that a file was modified (that is, a file was\n written to) before the PREPARING phase.

\n

Default value: PRESERVE.

\n

PRESERVE: Preserve original Mtime (recommended)

\n

NONE: Ignore Mtime.

\n \n

If Mtime is set to PRESERVE, Atime must be set to\n BEST_EFFORT.

\n

If Mtime is set to NONE, Atime must also be set to NONE.\n

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

A value that determines whether tasks should be queued before executing the tasks. If set\n to ENABLED, the tasks will be queued. The default is ENABLED.

\n

If you use the same agent to run multiple tasks, you can enable the tasks to run in\n series. For more information, see queue-task-execution.

" } }, - "TransferMode": { - "target": "com.amazonaws.datasync#TransferMode", + "LogLevel": { + "target": "com.amazonaws.datasync#LogLevel", "traits": { - "smithy.api#documentation": "

A value that determines whether DataSync transfers only the data and metadata that differ between the source \n and the destination location, or whether DataSync transfers all the content from the source, without comparing to \n the destination location.

\n

CHANGED: DataSync copies only data or metadata that is new or different content from the source location to the \n destination location.

\n

ALL: DataSync copies all source location content to the destination, without comparing to existing content on \n the destination.

" + "smithy.api#documentation": "

A value that determines the type of logs that DataSync publishes to a log stream in the\n Amazon CloudWatch log group that you provide. For more information about providing a log group\n for DataSync, see CloudWatchLogGroupArn. If set to OFF, no logs are published.\n BASIC publishes logs on errors for individual files transferred, and\n TRANSFER publishes logs for every file or object that is transferred and\n integrity checked.

" } }, - "TaskQueueing": { - "target": "com.amazonaws.datasync#TaskQueueing", + "TransferMode": { + "target": "com.amazonaws.datasync#TransferMode", "traits": { - "smithy.api#documentation": "

A value that determines whether tasks should be queued before executing the tasks. If set\n to ENABLED, the tasks will be queued. The default is ENABLED.

\n

If you use the same agent to run multiple tasks, you can enable the tasks to run in\n series. For more information, see queue-task-execution.

" + "smithy.api#documentation": "

A value that determines whether DataSync transfers only the data and metadata that differ between the source \n and the destination location, or whether DataSync transfers all the content from the source, without comparing to \n the destination location.

\n

CHANGED: DataSync copies only data or metadata that is new or different content from the source location to the \n destination location.

\n

ALL: DataSync copies all source location content to the destination, without comparing to existing content on \n the destination.

" } } }, @@ -3039,6 +3042,12 @@ "smithy.api#documentation": "

The ID of the VPC endpoint that is configured for an agent. An agent that is configured\n with a VPC endpoint will not be accessible over the public internet.

" } }, + "PrivateLinkEndpoint": { + "target": "com.amazonaws.datasync#Endpoint", + "traits": { + "smithy.api#documentation": "

The private endpoint that is configured for an agent that has access to IP addresses in a\n PrivateLink. An agent that is configured with this endpoint will not be accessible\n over the public internet.

" + } + }, "SubnetArns": { "target": "com.amazonaws.datasync#PLSubnetArnList", "traits": { @@ -3050,12 +3059,6 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2\n resource that hosts an agent activated in a VPC or an agent that has access to a VPC\n endpoint.

" } - }, - "PrivateLinkEndpoint": { - "target": "com.amazonaws.datasync#Endpoint", - "traits": { - "smithy.api#documentation": "

The private endpoint that is configured for an agent that has access to IP addresses in a\n PrivateLink. An agent that is configured with this endpoint will not be accessible\n over the public internet.

" - } } }, "traits": { @@ -3262,14 +3265,14 @@ "smithy.api#required": {} } }, + "OverrideOptions": { + "target": "com.amazonaws.datasync#Options" + }, "Includes": { "target": "com.amazonaws.datasync#FilterList", "traits": { - "smithy.api#documentation": "

A list of filter rules that determines which files to include when running a task. The\n pattern should contain a single filter string that consists of the patterns to include. The\n patterns are delimited by \"|\" (that is, a pipe). For example: \"/folder1|/folder2\"\n

\n

\n

" + "smithy.api#documentation": "

A list of filter rules that determines which files to include when running a task. The\n pattern should contain a single filter string that consists of the patterns to include. The\n patterns are delimited by \"|\" (that is, a pipe). For example: \"/folder1|/folder2\"\n

\n \n

\n

" } - }, - "OverrideOptions": { - "target": "com.amazonaws.datasync#Options" } }, "traits": { @@ -3315,18 +3318,18 @@ "com.amazonaws.datasync#TagListEntry": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.datasync#TagValue", - "traits": { - "smithy.api#documentation": "

The value for an AWS resource tag.

" - } - }, "Key": { "target": "com.amazonaws.datasync#TagKey", "traits": { "smithy.api#documentation": "

The key for an AWS resource tag.

", "smithy.api#required": {} } + }, + "Value": { + "target": "com.amazonaws.datasync#TagValue", + "traits": { + "smithy.api#documentation": "

The value for an AWS resource tag.

" + } } }, "traits": { @@ -3448,58 +3451,58 @@ "com.amazonaws.datasync#TaskExecutionResultDetail": { "type": "structure", "members": { - "PrepareStatus": { - "target": "com.amazonaws.datasync#PhaseStatus", + "PrepareDuration": { + "target": "com.amazonaws.datasync#Duration", "traits": { - "smithy.api#documentation": "

The status of the PREPARING phase.

" + "smithy.api#documentation": "

The total time in milliseconds that AWS DataSync spent in the PREPARING phase.\n

" } }, - "VerifyStatus": { + "PrepareStatus": { "target": "com.amazonaws.datasync#PhaseStatus", "traits": { - "smithy.api#documentation": "

The status of the VERIFYING Phase.

" + "smithy.api#documentation": "

The status of the PREPARING phase.

" } }, - "PrepareDuration": { + "TotalDuration": { "target": "com.amazonaws.datasync#Duration", "traits": { - "smithy.api#documentation": "

The total time in milliseconds that AWS DataSync spent in the PREPARING phase.\n

" + "smithy.api#documentation": "

The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination location.

" } }, - "VerifyDuration": { + "TransferDuration": { "target": "com.amazonaws.datasync#Duration", "traits": { - "smithy.api#documentation": "

The total time in milliseconds that AWS DataSync spent in the VERIFYING\n phase.

" + "smithy.api#documentation": "

The total time in milliseconds that AWS DataSync spent in the TRANSFERRING\n phase.

" } }, - "ErrorCode": { - "target": "com.amazonaws.datasync#string", + "TransferStatus": { + "target": "com.amazonaws.datasync#PhaseStatus", "traits": { - "smithy.api#documentation": "

Errors that AWS DataSync encountered during execution of the task. You can use this\n error code to help troubleshoot issues.

" + "smithy.api#documentation": "

The status of the TRANSFERRING phase.

" } }, - "ErrorDetail": { - "target": "com.amazonaws.datasync#string", + "VerifyDuration": { + "target": "com.amazonaws.datasync#Duration", "traits": { - "smithy.api#documentation": "

Detailed description of an error that was encountered during the task execution. You\n can use this information to help troubleshoot issues.

" + "smithy.api#documentation": "

The total time in milliseconds that AWS DataSync spent in the VERIFYING\n phase.

" } }, - "TransferStatus": { + "VerifyStatus": { "target": "com.amazonaws.datasync#PhaseStatus", "traits": { - "smithy.api#documentation": "

The status of the TRANSFERRING Phase.

" + "smithy.api#documentation": "

The status of the VERIFYING phase.

" } }, - "TotalDuration": { - "target": "com.amazonaws.datasync#Duration", + "ErrorCode": { + "target": "com.amazonaws.datasync#string", "traits": { - "smithy.api#documentation": "

The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination location.

" + "smithy.api#documentation": "

Errors that AWS DataSync encountered during execution of the task. You can use this\n error code to help troubleshoot issues.

" } }, - "TransferDuration": { - "target": "com.amazonaws.datasync#Duration", + "ErrorDetail": { + "target": "com.amazonaws.datasync#string", "traits": { - "smithy.api#documentation": "

The total time in milliseconds that AWS DataSync spent in the TRANSFERRING\n phase.

" + "smithy.api#documentation": "

Detailed description of an error that was encountered during the task execution. You\n can use this information to help troubleshoot issues.

" } } }, @@ -3545,10 +3548,10 @@ "com.amazonaws.datasync#TaskFilter": { "type": "structure", "members": { - "Operator": { - "target": "com.amazonaws.datasync#Operator", + "Name": { + "target": "com.amazonaws.datasync#TaskFilterName", "traits": { - "smithy.api#documentation": "

The operator that is used to compare filter values (for example, Equals or \n Contains). For more about API filtering operators, see query-resources.

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

The name of the filter being used. Each API call supports a list of filters that are available\n for it. For example, LocationId for ListTasks.

", "smithy.api#required": {} } }, @@ -3559,10 +3562,10 @@ "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.datasync#TaskFilterName", + "Operator": { + "target": "com.amazonaws.datasync#Operator", "traits": { - "smithy.api#documentation": "

The name of the filter being used. Each API call supports a list of filters that are available\n for it. For example, LocationId for ListTasks.

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

The operator that is used to compare filter values (for example, Equals or \n Contains). For more about API filtering operators, see query-resources.

", "smithy.api#required": {} } } @@ -3601,6 +3604,12 @@ "com.amazonaws.datasync#TaskListEntry": { "type": "structure", "members": { + "TaskArn": { + "target": "com.amazonaws.datasync#TaskArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task.

" + } + }, "Status": { "target": "com.amazonaws.datasync#TaskStatus", "traits": { @@ -3612,12 +3621,6 @@ "traits": { "smithy.api#documentation": "

The name of the task.

" } - }, - "TaskArn": { - "target": "com.amazonaws.datasync#TaskArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task.

" - } } }, "traits": { @@ -3745,17 +3748,17 @@ "com.amazonaws.datasync#UntagResourceRequest": { "type": "structure", "members": { - "Keys": { - "target": "com.amazonaws.datasync#TagKeyList", + "ResourceArn": { + "target": "com.amazonaws.datasync#TaggableResourceArn", "traits": { - "smithy.api#documentation": "

The keys in the key-value pair in the tag to remove.

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

The Amazon Resource Name (ARN) of the resource to remove the tag from.

", "smithy.api#required": {} } }, - "ResourceArn": { - "target": "com.amazonaws.datasync#TaggableResourceArn", + "Keys": { + "target": "com.amazonaws.datasync#TagKeyList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to remove the tag from.

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

The keys in the key-value pair in the tag to remove.

", "smithy.api#required": {} } } @@ -3833,6 +3836,48 @@ "smithy.api#documentation": "

Updates the metadata associated with a task.

" } }, + "com.amazonaws.datasync#UpdateTaskExecution": { + "type": "operation", + "input": { + "target": "com.amazonaws.datasync#UpdateTaskExecutionRequest" + }, + "output": { + "target": "com.amazonaws.datasync#UpdateTaskExecutionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.datasync#InternalException" + }, + { + "target": "com.amazonaws.datasync#InvalidRequestException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates execution of a task.

\n

You can modify bandwidth throttling for a task execution that is running or queued.\n For more information, see Adjusting Bandwidth Throttling for a Task Execution.

\n \n \n

The only Option that can be modified by UpdateTaskExecution \n is \n BytesPerSecond\n .

\n
" + } + }, + "com.amazonaws.datasync#UpdateTaskExecutionRequest": { + "type": "structure", + "members": { + "TaskExecutionArn": { + "target": "com.amazonaws.datasync#TaskExecutionArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the specific task execution that is being updated.

", + "smithy.api#required": {} + } + }, + "Options": { + "target": "com.amazonaws.datasync#Options", + "traits": { + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.datasync#UpdateTaskExecutionResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.datasync#UpdateTaskRequest": { "type": "structure", "members": { @@ -3843,14 +3888,20 @@ "smithy.api#required": {} } }, + "Options": { + "target": "com.amazonaws.datasync#Options" + }, "Excludes": { "target": "com.amazonaws.datasync#FilterList", "traits": { "smithy.api#documentation": "

A list of filter rules that determines which files to exclude from a task. The list should\n contain a single filter string that consists of the patterns to exclude. The patterns are\n delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"\n

\n

\n

" } }, - "Options": { - "target": "com.amazonaws.datasync#Options" + "Schedule": { + "target": "com.amazonaws.datasync#TaskSchedule", + "traits": { + "smithy.api#documentation": "

Specifies a schedule used to periodically transfer files from a source to a destination\n location. You can configure your task to execute hourly, daily, weekly or on specific days of\n the week. You control when in the day or hour you want the task to execute. The time you\n specify is UTC time. For more information, see task-scheduling.

" + } }, "Name": { "target": "com.amazonaws.datasync#TagValue", @@ -3863,12 +3914,6 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource name of the CloudWatch\n LogGroup.

" } - }, - "Schedule": { - "target": "com.amazonaws.datasync#TaskSchedule", - "traits": { - "smithy.api#documentation": "

Specifies a schedule used to periodically transfer files from a source to a destination\n location. You can configure your task to execute hourly, daily, weekly or on specific days of\n the week. You control when in the day or hour you want the task to execute. The time you\n specify is UTC time. For more information, see task-scheduling.

" - } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/dynamodb.2012-08-10.json b/codegen/sdk-codegen/aws-models/dynamodb.2012-08-10.json index f2fd84493159..830b9ed8cf46 100644 --- a/codegen/sdk-codegen/aws-models/dynamodb.2012-08-10.json +++ b/codegen/sdk-codegen/aws-models/dynamodb.2012-08-10.json @@ -921,6 +921,15 @@ } } }, + "com.amazonaws.dynamodb#BilledSizeBytes": { + "type": "long", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0 + } + } + }, "com.amazonaws.dynamodb#BillingMode": { "type": "string", "traits": { @@ -1048,6 +1057,9 @@ } } }, + "com.amazonaws.dynamodb#ClientToken": { + "type": "string" + }, "com.amazonaws.dynamodb#Code": { "type": "string" }, @@ -1386,7 +1398,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a Contributor Insights summary entry..

" + "smithy.api#documentation": "

Represents a Contributor Insights summary entry.

" } }, "com.amazonaws.dynamodb#CreateBackup": { @@ -2256,6 +2268,52 @@ } } }, + "com.amazonaws.dynamodb#DescribeExport": { + "type": "operation", + "input": { + "target": "com.amazonaws.dynamodb#DescribeExportInput" + }, + "output": { + "target": "com.amazonaws.dynamodb#DescribeExportOutput" + }, + "errors": [ + { + "target": "com.amazonaws.dynamodb#ExportNotFoundException" + }, + { + "target": "com.amazonaws.dynamodb#InternalServerError" + }, + { + "target": "com.amazonaws.dynamodb#LimitExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

Describes an existing table export.

" + } + }, + "com.amazonaws.dynamodb#DescribeExportInput": { + "type": "structure", + "members": { + "ExportArn": { + "target": "com.amazonaws.dynamodb#ExportArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with the export.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.dynamodb#DescribeExportOutput": { + "type": "structure", + "members": { + "ExportDescription": { + "target": "com.amazonaws.dynamodb#ExportDescription", + "traits": { + "smithy.api#documentation": "

Represents the properties of the export.

" + } + } + } + }, "com.amazonaws.dynamodb#DescribeGlobalTable": { "type": "operation", "input": { @@ -2600,6 +2658,9 @@ { "target": "com.amazonaws.dynamodb#DescribeEndpoints" }, + { + "target": "com.amazonaws.dynamodb#DescribeExport" + }, { "target": "com.amazonaws.dynamodb#DescribeGlobalTable" }, @@ -2618,6 +2679,9 @@ { "target": "com.amazonaws.dynamodb#DescribeTimeToLive" }, + { + "target": "com.amazonaws.dynamodb#ExportTableToPointInTime" + }, { "target": "com.amazonaws.dynamodb#GetItem" }, @@ -2627,6 +2691,9 @@ { "target": "com.amazonaws.dynamodb#ListContributorInsights" }, + { + "target": "com.amazonaws.dynamodb#ListExports" + }, { "target": "com.amazonaws.dynamodb#ListGlobalTables" }, @@ -2788,6 +2855,341 @@ "smithy.api#documentation": "

Represents a condition to be compared with an attribute value. This condition can be\n used with DeleteItem, PutItem, or UpdateItem\n operations; if the comparison evaluates to true, the operation succeeds; if not, the\n operation fails. You can use ExpectedAttributeValue in one of two different\n ways:

\n \n

\n Value and Exists are incompatible with AttributeValueList and\n ComparisonOperator. Note that if you use both sets of parameters at once, DynamoDB will\n return a ValidationException exception.

" } }, + "com.amazonaws.dynamodb#ExportArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 37, + "max": 1024 + } + } + }, + "com.amazonaws.dynamodb#ExportConflictException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.dynamodb#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

There was a conflict when writing to the specified S3 bucket.

", + "smithy.api#error": "client" + } + }, + "com.amazonaws.dynamodb#ExportDescription": { + "type": "structure", + "members": { + "ExportArn": { + "target": "com.amazonaws.dynamodb#ExportArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the table export.

" + } + }, + "ExportStatus": { + "target": "com.amazonaws.dynamodb#ExportStatus", + "traits": { + "smithy.api#documentation": "

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.

" + } + }, + "StartTime": { + "target": "com.amazonaws.dynamodb#ExportStartTime", + "traits": { + "smithy.api#documentation": "

The time at which the export task began.

" + } + }, + "EndTime": { + "target": "com.amazonaws.dynamodb#ExportEndTime", + "traits": { + "smithy.api#documentation": "

The time at which the export task completed.

" + } + }, + "ExportManifest": { + "target": "com.amazonaws.dynamodb#ExportManifest", + "traits": { + "smithy.api#documentation": "

The name of the manifest file for the export task.

" + } + }, + "TableArn": { + "target": "com.amazonaws.dynamodb#TableArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the table that was exported.

" + } + }, + "TableId": { + "target": "com.amazonaws.dynamodb#TableId", + "traits": { + "smithy.api#documentation": "

Unique ID of the table that was exported.

" + } + }, + "ExportTime": { + "target": "com.amazonaws.dynamodb#ExportTime", + "traits": { + "smithy.api#documentation": "

Point in time from which table data was exported.

" + } + }, + "ClientToken": { + "target": "com.amazonaws.dynamodb#ClientToken", + "traits": { + "smithy.api#documentation": "

The client token that was provided for the export task. A client token makes calls to\n ExportTableToPointInTimeInput idempotent, meaning that multiple\n identical calls have the same effect as one single call.

" + } + }, + "S3Bucket": { + "target": "com.amazonaws.dynamodb#S3Bucket", + "traits": { + "smithy.api#documentation": "

The name of the Amazon S3 bucket containing the export.

" + } + }, + "S3BucketOwner": { + "target": "com.amazonaws.dynamodb#S3BucketOwner", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that owns the bucket containing the export.

" + } + }, + "S3Prefix": { + "target": "com.amazonaws.dynamodb#S3Prefix", + "traits": { + "smithy.api#documentation": "

The Amazon S3 bucket prefix used as the file name and path of the exported\n snapshot.

" + } + }, + "S3SseAlgorithm": { + "target": "com.amazonaws.dynamodb#S3SseAlgorithm", + "traits": { + "smithy.api#documentation": "

Type of encryption used on the bucket where export data is stored. Valid values\n for S3SseAlgorithm are:

\n " + } + }, + "S3SseKmsKeyId": { + "target": "com.amazonaws.dynamodb#S3SseKmsKeyId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is\n stored (if applicable).

" + } + }, + "FailureCode": { + "target": "com.amazonaws.dynamodb#FailureCode", + "traits": { + "smithy.api#documentation": "

Status code for the result of the failed export.

" + } + }, + "FailureMessage": { + "target": "com.amazonaws.dynamodb#FailureMessage", + "traits": { + "smithy.api#documentation": "

Export failure reason description.

" + } + }, + "ExportFormat": { + "target": "com.amazonaws.dynamodb#ExportFormat", + "traits": { + "smithy.api#documentation": "

The format of the exported data. Valid values for ExportFormat are\n DYNAMODB_JSON or ION.

" + } + }, + "BilledSizeBytes": { + "target": "com.amazonaws.dynamodb#BilledSizeBytes", + "traits": { + "smithy.api#documentation": "

The billable size of the table export.

" + } + }, + "ItemCount": { + "target": "com.amazonaws.dynamodb#ItemCount", + "traits": { + "smithy.api#documentation": "

The number of items exported.

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

Represents the properties of the exported table.

" + } + }, + "com.amazonaws.dynamodb#ExportEndTime": { + "type": "timestamp" + }, + "com.amazonaws.dynamodb#ExportFormat": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "DYNAMODB_JSON", + "name": "DYNAMODB_JSON" + }, + { + "value": "ION", + "name": "ION" + } + ] + } + }, + "com.amazonaws.dynamodb#ExportManifest": { + "type": "string" + }, + "com.amazonaws.dynamodb#ExportNextToken": { + "type": "string" + }, + "com.amazonaws.dynamodb#ExportNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.dynamodb#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The specified export was not found.

", + "smithy.api#error": "client" + } + }, + "com.amazonaws.dynamodb#ExportStartTime": { + "type": "timestamp" + }, + "com.amazonaws.dynamodb#ExportStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.dynamodb#ExportSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.dynamodb#ExportSummary" + } + }, + "com.amazonaws.dynamodb#ExportSummary": { + "type": "structure", + "members": { + "ExportArn": { + "target": "com.amazonaws.dynamodb#ExportArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the export.

" + } + }, + "ExportStatus": { + "target": "com.amazonaws.dynamodb#ExportStatus", + "traits": { + "smithy.api#documentation": "

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.

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

Summary information about an export task.

" + } + }, + "com.amazonaws.dynamodb#ExportTableToPointInTime": { + "type": "operation", + "input": { + "target": "com.amazonaws.dynamodb#ExportTableToPointInTimeInput" + }, + "output": { + "target": "com.amazonaws.dynamodb#ExportTableToPointInTimeOutput" + }, + "errors": [ + { + "target": "com.amazonaws.dynamodb#ExportConflictException" + }, + { + "target": "com.amazonaws.dynamodb#InternalServerError" + }, + { + "target": "com.amazonaws.dynamodb#InvalidExportTimeException" + }, + { + "target": "com.amazonaws.dynamodb#LimitExceededException" + }, + { + "target": "com.amazonaws.dynamodb#PointInTimeRecoveryUnavailableException" + }, + { + "target": "com.amazonaws.dynamodb#TableNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Exports table data to an S3 bucket. The table must have point in time recovery\n enabled, and you can export data from any time within the point in time recovery\n window.

" + } + }, + "com.amazonaws.dynamodb#ExportTableToPointInTimeInput": { + "type": "structure", + "members": { + "TableArn": { + "target": "com.amazonaws.dynamodb#TableArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with the table to export.

", + "smithy.api#required": {} + } + }, + "ExportTime": { + "target": "com.amazonaws.dynamodb#ExportTime", + "traits": { + "smithy.api#documentation": "

Time in the past from which to export table data. The table export will be a snapshot\n of the table's state at this point in time.

" + } + }, + "ClientToken": { + "target": "com.amazonaws.dynamodb#ClientToken", + "traits": { + "smithy.api#documentation": "

Providing a ClientToken makes the call to\n ExportTableToPointInTimeInput idempotent, meaning that multiple\n identical calls have the same effect as one single call.

\n

A client token is valid for 8 hours after the first request that uses it is\n completed. After 8 hours, any request with the same client token is treated as a new\n request. Do not resubmit the same request with the same client token for more than 8\n hours, or the result might not be idempotent.

\n

If you submit a request with the same client token but a change in other parameters\n within the 8-hour idempotency window, DynamoDB returns an\n IdempotentParameterMismatch exception.

", + "smithy.api#idempotencyToken": {} + } + }, + "S3Bucket": { + "target": "com.amazonaws.dynamodb#S3Bucket", + "traits": { + "smithy.api#documentation": "

The name of the Amazon S3 bucket to export the snapshot to.

", + "smithy.api#required": {} + } + }, + "S3BucketOwner": { + "target": "com.amazonaws.dynamodb#S3BucketOwner", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that owns the bucket the export will be stored in.

" + } + }, + "S3Prefix": { + "target": "com.amazonaws.dynamodb#S3Prefix", + "traits": { + "smithy.api#documentation": "

The Amazon S3 bucket prefix to use as the file name and path of the exported\n snapshot.

" + } + }, + "S3SseAlgorithm": { + "target": "com.amazonaws.dynamodb#S3SseAlgorithm", + "traits": { + "smithy.api#documentation": "

Type of encryption used on the bucket where export data will be stored. Valid values\n for S3SseAlgorithm are:

\n " + } + }, + "S3SseKmsKeyId": { + "target": "com.amazonaws.dynamodb#S3SseKmsKeyId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will\n be stored (if applicable).

" + } + }, + "ExportFormat": { + "target": "com.amazonaws.dynamodb#ExportFormat", + "traits": { + "smithy.api#documentation": "

The format for the exported data. Valid values for ExportFormat are\n DYNAMODB_JSON or ION.

" + } + } + } + }, + "com.amazonaws.dynamodb#ExportTableToPointInTimeOutput": { + "type": "structure", + "members": { + "ExportDescription": { + "target": "com.amazonaws.dynamodb#ExportDescription", + "traits": { + "smithy.api#documentation": "

Contains a description of the table export.

" + } + } + } + }, + "com.amazonaws.dynamodb#ExportTime": { + "type": "timestamp" + }, "com.amazonaws.dynamodb#ExpressionAttributeNameMap": { "type": "map", "key": { @@ -2812,6 +3214,9 @@ "com.amazonaws.dynamodb#ExpressionAttributeValueVariable": { "type": "string" }, + "com.amazonaws.dynamodb#FailureCode": { + "type": "string" + }, "com.amazonaws.dynamodb#FailureException": { "type": "structure", "members": { @@ -2832,6 +3237,9 @@ "smithy.api#documentation": "

Represents a failure a contributor insights operation.

" } }, + "com.amazonaws.dynamodb#FailureMessage": { + "type": "string" + }, "com.amazonaws.dynamodb#FilterConditionMap": { "type": "map", "key": { @@ -3418,6 +3826,18 @@ "smithy.api#httpError": 421 } }, + "com.amazonaws.dynamodb#InvalidExportTimeException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.dynamodb#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The specified ExportTime is outside of the point in time recovery\n window.

", + "smithy.api#error": "client" + } + }, "com.amazonaws.dynamodb#InvalidRestoreTimeException": { "type": "structure", "members": { @@ -3851,6 +4271,81 @@ } } }, + "com.amazonaws.dynamodb#ListExports": { + "type": "operation", + "input": { + "target": "com.amazonaws.dynamodb#ListExportsInput" + }, + "output": { + "target": "com.amazonaws.dynamodb#ListExportsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.dynamodb#InternalServerError" + }, + { + "target": "com.amazonaws.dynamodb#LimitExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists completed exports within the past 90 days.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.dynamodb#ListExportsInput": { + "type": "structure", + "members": { + "TableArn": { + "target": "com.amazonaws.dynamodb#TableArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with the exported table.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.dynamodb#ListExportsMaxLimit", + "traits": { + "smithy.api#documentation": "

Maximum number of results to return per page.

" + } + }, + "NextToken": { + "target": "com.amazonaws.dynamodb#ExportNextToken", + "traits": { + "smithy.api#documentation": "

An optional string that, if supplied, must be copied from the output of a previous\n call to ListExports. When provided in this manner, the API fetches the next\n page of results.

" + } + } + } + }, + "com.amazonaws.dynamodb#ListExportsMaxLimit": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 25 + } + } + }, + "com.amazonaws.dynamodb#ListExportsOutput": { + "type": "structure", + "members": { + "ExportSummaries": { + "target": "com.amazonaws.dynamodb#ExportSummaries", + "traits": { + "smithy.api#documentation": "

A list of ExportSummary objects.

" + } + }, + "NextToken": { + "target": "com.amazonaws.dynamodb#ExportNextToken", + "traits": { + "smithy.api#documentation": "

If this value is returned, there are additional results to be displayed. To retrieve\n them, call ListExports again, with NextToken set to this\n value.

" + } + } + } + }, "com.amazonaws.dynamodb#ListGlobalTables": { "type": "operation", "input": { @@ -5766,6 +6261,37 @@ ] } }, + "com.amazonaws.dynamodb#S3Bucket": { + "type": "string" + }, + "com.amazonaws.dynamodb#S3BucketOwner": { + "type": "string" + }, + "com.amazonaws.dynamodb#S3Prefix": { + "type": "string" + }, + "com.amazonaws.dynamodb#S3SseAlgorithm": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AES256" + }, + { + "value": "KMS" + } + ] + } + }, + "com.amazonaws.dynamodb#S3SseKmsKeyId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, "com.amazonaws.dynamodb#SSEDescription": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json b/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json index ed27a42aa78b..af1019bf17a2 100644 --- a/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json +++ b/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json @@ -9805,6 +9805,12 @@ "smithy.api#xmlName": "dryRun" } }, + "VpcEndpointId": { + "target": "com.amazonaws.ec2#VpcEndpointId", + "traits": { + "smithy.api#documentation": "

The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.

" + } + }, "EgressOnlyInternetGatewayId": { "target": "com.amazonaws.ec2#EgressOnlyInternetGatewayId", "traits": { @@ -11280,7 +11286,7 @@ "target": "com.amazonaws.ec2#CreateVpcEndpointResult" }, "traits": { - "smithy.api#documentation": "

Creates a VPC endpoint for a specified service. An endpoint enables you to create a\n private connection between your VPC and the service. The service may be provided by AWS,\n an AWS Marketplace Partner, or another AWS account. For more information, see VPC Endpoints in\n the Amazon Virtual Private Cloud User Guide.

\n

A gateway endpoint serves as a target for a route in your route table for\n traffic destined for the AWS service. You can specify an endpoint policy to attach to\n the endpoint, which will control access to the service from your VPC. You can also\n specify the VPC route tables that use the endpoint.

\n

An interface endpoint is a network interface in your subnet that\n serves as an endpoint for communicating with the specified service. You can specify the\n subnets in which to create an endpoint, and the security groups to associate with the\n endpoint network interface.

\n

Use DescribeVpcEndpointServices to get a list of supported\n services.

" + "smithy.api#documentation": "

Creates a VPC endpoint for a specified service. An endpoint enables you to create a\n private connection between your VPC and the service. The service may be provided by AWS,\n an AWS Marketplace Partner, or another AWS account. For more information, see VPC Endpoints in\n the Amazon Virtual Private Cloud User Guide.

\n

A gateway endpoint serves as a target for a route in your route table for\n traffic destined for the AWS service. You can specify an endpoint policy to attach to\n the endpoint, which will control access to the service from your VPC. You can also\n specify the VPC route tables that use the endpoint.

\n

An interface endpoint is a network interface in your subnet that\n serves as an endpoint for communicating with the specified service. You can specify the\n subnets in which to create an endpoint, and the security groups to associate with the\n endpoint network interface.

\n

A GatewayLoadBalancer endpoint is a network interface in your subnet that serves an endpoint for communicating with a Gateway Load Balancer that you've configured as a VPC endpoint service.

\n

Use DescribeVpcEndpointServices to get a list of supported\n services.

" } }, "com.amazonaws.ec2#CreateVpcEndpointConnectionNotification": { @@ -11391,7 +11397,7 @@ "PolicyDocument": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

A policy to attach to the endpoint that controls access to the\n service. The policy must be in valid JSON format. If this parameter is not specified, we\n attach a default policy that allows full access to the service.

" + "smithy.api#documentation": "

(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the\n service. The policy must be in valid JSON format. If this parameter is not specified, we\n attach a default policy that allows full access to the service.

" } }, "RouteTableIds": { @@ -11404,7 +11410,7 @@ "SubnetIds": { "target": "com.amazonaws.ec2#VpcEndpointSubnetIdList", "traits": { - "smithy.api#documentation": "

(Interface endpoint) The ID of one or more subnets in which to create an endpoint\n network interface.

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

(Interface and Gateway Load Balancer endpoints) The ID of one or more subnets in which to create an endpoint\n network interface. For a Gateway Load Balancer endpoint, you can specify one subnet only.

", "smithy.api#xmlName": "SubnetId" } }, @@ -11472,7 +11478,7 @@ "target": "com.amazonaws.ec2#CreateVpcEndpointServiceConfigurationResult" }, "traits": { - "smithy.api#documentation": "

Creates a VPC endpoint service configuration to which service consumers (AWS accounts,\n IAM users, and IAM roles) can connect. Service consumers can create an interface VPC\n endpoint to connect to your service.

\n

To create an endpoint service configuration, you must first create a Network Load\n Balancer for your service. For more information, see VPC Endpoint Services in the\n Amazon Virtual Private Cloud User Guide.

\n\t

If you set the private DNS name, you must prove that you own the private DNS domain name. For more information, see VPC Endpoint Service Private DNS Name Verification in the Amazon Virtual Private Cloud User Guide.

" + "smithy.api#documentation": "

Creates a VPC endpoint service configuration to which service consumers (AWS accounts,\n IAM users, and IAM roles) can connect.

\n

To create an endpoint service configuration, you must first create one of the\n following for your service:

\n \n

For more information, see VPC Endpoint Services in the\n Amazon Virtual Private Cloud User Guide.

\n

If you set the private DNS name, you must prove that you own the private DNS domain\n name. For more information, see VPC Endpoint Service\n Private DNS Name Verification in the\n Amazon Virtual Private Cloud User Guide.

" } }, "com.amazonaws.ec2#CreateVpcEndpointServiceConfigurationRequest": { @@ -11493,17 +11499,23 @@ "PrivateDnsName": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

The private DNS name to assign to the VPC endpoint service.

" + "smithy.api#documentation": "

(Interface endpoint configuration) The private DNS name to assign to the VPC endpoint service.

" } }, "NetworkLoadBalancerArns": { "target": "com.amazonaws.ec2#ValueStringList", "traits": { "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your\n service.

", - "smithy.api#required": {}, "smithy.api#xmlName": "NetworkLoadBalancerArn" } }, + "GatewayLoadBalancerArns": { + "target": "com.amazonaws.ec2#ValueStringList", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

", + "smithy.api#xmlName": "GatewayLoadBalancerArn" + } + }, "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { @@ -14242,7 +14254,7 @@ "target": "com.amazonaws.ec2#DeleteVpcEndpointsResult" }, "traits": { - "smithy.api#documentation": "

Deletes one or more specified VPC endpoints. Deleting a gateway endpoint also deletes\n the endpoint routes in the route tables that were associated with the endpoint. Deleting\n an interface endpoint deletes the endpoint network interfaces.

" + "smithy.api#documentation": "

Deletes one or more specified VPC endpoints. Deleting a gateway endpoint also deletes\n the endpoint routes in the route tables that were associated with the endpoint. Deleting\n an interface endpoint or a Gateway Load Balancer endpoint deletes the endpoint network interfaces. Gateway Load Balancer endpoints can only be deleted if the routes that are associated with the endpoint are deleted.

" } }, "com.amazonaws.ec2#DeleteVpcEndpointsRequest": { @@ -23350,7 +23362,7 @@ "Filters": { "target": "com.amazonaws.ec2#FilterList", "traits": { - "smithy.api#documentation": "

One or more filters.

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

One or more filters.

\n ", "smithy.api#xmlName": "Filter" } }, @@ -41625,7 +41637,7 @@ "target": "com.amazonaws.ec2#ModifyVpcEndpointResult" }, "traits": { - "smithy.api#documentation": "

Modifies attributes of a specified VPC endpoint. The attributes that you can modify\n depend on the type of VPC endpoint (interface or gateway). For more information, see\n VPC\n Endpoints in the Amazon Virtual Private Cloud User Guide.

" + "smithy.api#documentation": "

Modifies attributes of a specified VPC endpoint. The attributes that you can modify\n depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). For more information, see\n VPC\n Endpoints in the Amazon Virtual Private Cloud User Guide.

" } }, "com.amazonaws.ec2#ModifyVpcEndpointConnectionNotification": { @@ -41708,7 +41720,7 @@ "PolicyDocument": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

A policy to attach to the endpoint that controls access to the service. The policy must\n be in valid JSON format.

" + "smithy.api#documentation": "

(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must\n be in valid JSON format.

" } }, "AddRouteTableIds": { @@ -41728,7 +41740,7 @@ "AddSubnetIds": { "target": "com.amazonaws.ec2#VpcEndpointSubnetIdList", "traits": { - "smithy.api#documentation": "

(Interface endpoint) One or more subnet IDs in which to serve the endpoint.

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

(Interface and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.

", "smithy.api#xmlName": "AddSubnetId" } }, @@ -41786,7 +41798,7 @@ "target": "com.amazonaws.ec2#ModifyVpcEndpointServiceConfigurationResult" }, "traits": { - "smithy.api#documentation": "

Modifies the attributes of your VPC endpoint service configuration. You can change the\n Network Load Balancers for your service, and you can specify whether acceptance is\n required for requests to connect to your endpoint service through an interface VPC\n endpoint.

\n\t

If you set or modify the private DNS name, you must prove that you own the private DNS\n domain name. For more information, see VPC Endpoint Service\n Private DNS Name Verification in the\n Amazon Virtual Private Cloud User Guide.

" + "smithy.api#documentation": "

Modifies the attributes of your VPC endpoint service configuration. You can change the\n Network Load Balancers or Gateway Load Balancers for your service, and you can specify whether acceptance is\n required for requests to connect to your endpoint service through an interface VPC\n endpoint.

\n\t

If you set or modify the private DNS name, you must prove that you own the private DNS\n domain name. For more information, see VPC Endpoint Service\n Private DNS Name Verification in the\n Amazon Virtual Private Cloud User Guide.

" } }, "com.amazonaws.ec2#ModifyVpcEndpointServiceConfigurationRequest": { @@ -41808,13 +41820,13 @@ "PrivateDnsName": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

The private DNS name to assign to the endpoint service.

" + "smithy.api#documentation": "

(Interface endpoint configuration) The private DNS name to assign to the endpoint service.

" } }, "RemovePrivateDnsName": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#documentation": "

Removes the private DNS name of the endpoint service.

" + "smithy.api#documentation": "

(Interface endpoint configuration) Removes the private DNS name of the endpoint service.

" } }, "AcceptanceRequired": { @@ -41836,6 +41848,20 @@ "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service\n configuration.

", "smithy.api#xmlName": "RemoveNetworkLoadBalancerArn" } + }, + "AddGatewayLoadBalancerArns": { + "target": "com.amazonaws.ec2#ValueStringList", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service\n configuration.

", + "smithy.api#xmlName": "AddGatewayLoadBalancerArn" + } + }, + "RemoveGatewayLoadBalancerArns": { + "target": "com.amazonaws.ec2#ValueStringList", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service\n configuration.

", + "smithy.api#xmlName": "RemoveGatewayLoadBalancerArn" + } } } }, @@ -46964,6 +46990,12 @@ "smithy.api#xmlName": "dryRun" } }, + "VpcEndpointId": { + "target": "com.amazonaws.ec2#VpcEndpointId", + "traits": { + "smithy.api#documentation": "

The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.

" + } + }, "EgressOnlyInternetGatewayId": { "target": "com.amazonaws.ec2#EgressOnlyInternetGatewayId", "traits": { @@ -51809,6 +51841,14 @@ "smithy.api#xmlName": "networkLoadBalancerArnSet" } }, + "GatewayLoadBalancerArns": { + "target": "com.amazonaws.ec2#ValueStringList", + "traits": { + "aws.protocols#ec2QueryName": "GatewayLoadBalancerArnSet", + "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

", + "smithy.api#xmlName": "gatewayLoadBalancerArnSet" + } + }, "BaseEndpointDnsNames": { "target": "com.amazonaws.ec2#ValueStringList", "traits": { @@ -52006,6 +52046,10 @@ { "value": "Gateway", "name": "Gateway" + }, + { + "value": "GatewayLoadBalancer", + "name": "GatewayLoadBalancer" } ] } @@ -59604,6 +59648,14 @@ "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the network load balancers for the service.

", "smithy.api#xmlName": "networkLoadBalancerArnSet" } + }, + "GatewayLoadBalancerArns": { + "target": "com.amazonaws.ec2#ValueStringList", + "traits": { + "aws.protocols#ec2QueryName": "GatewayLoadBalancerArnSet", + "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

", + "smithy.api#xmlName": "gatewayLoadBalancerArnSet" + } } }, "traits": { @@ -59690,6 +59742,10 @@ { "value": "Gateway", "name": "Gateway" + }, + { + "value": "GatewayLoadBalancer", + "name": "GatewayLoadBalancer" } ] } diff --git a/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json b/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json index 15e21eec52cd..cf0d14bbf48b 100644 --- a/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json +++ b/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json @@ -235,7 +235,7 @@ "name": "ecs" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Elastic Container Service\n

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes\n it easy to run, stop, and manage Docker containers on a cluster. You can host your\n cluster on a serverless infrastructure that is managed by Amazon ECS by launching your\n services or tasks using the Fargate launch type. For more control, you can host your\n tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the EC2\n launch type. For more information about launch types, see Amazon ECS Launch\n Types.

\n

Amazon ECS lets you launch and stop container-based applications with simple API calls,\n allows you to get the state of your cluster from a centralized service, and gives you\n access to many familiar Amazon EC2 features.

\n

You can use Amazon ECS to schedule the placement of containers across your cluster based on\n your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates\n the need for you to operate your own cluster management and configuration management\n systems or worry about scaling your management infrastructure.

", + "smithy.api#documentation": "Amazon Elastic Container Service\n\t\t

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes\n\t\t\tit easy to run, stop, and manage Docker containers on a cluster. You can host your\n\t\t\tcluster on a serverless infrastructure that is managed by Amazon ECS by launching your\n\t\t\tservices or tasks using the Fargate launch type. For more control, you can host your\n\t\t\ttasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the EC2\n\t\t\tlaunch type. For more information about launch types, see Amazon ECS Launch\n\t\t\tTypes.

\n\t\t

Amazon ECS lets you launch and stop container-based applications with simple API calls,\n\t\t\tallows you to get the state of your cluster from a centralized service, and gives you\n\t\t\taccess to many familiar Amazon EC2 features.

\n\t\t

You can use Amazon ECS to schedule the placement of containers across your cluster based on\n\t\t\tyour resource needs, isolation policies, and availability requirements. Amazon ECS eliminates\n\t\t\tthe need for you to operate your own cluster management and configuration management\n\t\t\tsystems or worry about scaling your management infrastructure.

", "smithy.api#title": "Amazon EC2 Container Service", "smithy.api#xmlNamespace": { "uri": "http://ecs.amazonaws.com/doc/2014-11-13/" @@ -263,7 +263,7 @@ "status": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The status of the attachment. Valid values are PRECREATED,\n CREATED, ATTACHING, ATTACHED,\n DETACHING, DETACHED, and DELETED.

" + "smithy.api#documentation": "

The status of the attachment. Valid values are PRECREATED,\n\t\t\t\tCREATED, ATTACHING, ATTACHED,\n\t\t\t\tDETACHING, DETACHED, and DELETED.

" } }, "type": { @@ -281,7 +281,7 @@ "details": { "target": "com.amazonaws.ecs#AttachmentDetails", "traits": { - "smithy.api#documentation": "

Details of the attachment. For elastic network interfaces, this includes the network\n interface ID, the MAC address, the subnet ID, and the private IPv4 address.

" + "smithy.api#documentation": "

Details of the attachment. For elastic network interfaces, this includes the network\n\t\t\tinterface ID, the MAC address, the subnet ID, and the private IPv4 address.

" } } }, @@ -332,34 +332,34 @@ "com.amazonaws.ecs#Attribute": { "type": "structure", "members": { - "name": { + "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers,\n hyphens, underscores, and periods are allowed.

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

The value of the attribute. The value must contain between 1 and 128\n\t\t\tcharacters and may contain letters (uppercase and lowercase), numbers, hyphens,\n\t\t\tunderscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces.\n\t\t\tThe value cannot contain any leading or trailing whitespace.

" } }, - "targetType": { - "target": "com.amazonaws.ecs#TargetType", + "targetId": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The type of the target with which to attach the attribute. This parameter is required\n if you use the short form ID for a resource instead of the full ARN.

" + "smithy.api#documentation": "

The ID of the target. You can specify the short form ID for a resource or the full\n\t\t\tAmazon Resource Name (ARN).

" } }, - "value": { - "target": "com.amazonaws.ecs#String", + "targetType": { + "target": "com.amazonaws.ecs#TargetType", "traits": { - "smithy.api#documentation": "

The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers,\n hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are\n allowed.

" + "smithy.api#documentation": "

The type of the target with which to attach the attribute. This parameter is required\n\t\t\tif you use the short form ID for a resource instead of the full ARN.

" } }, - "targetId": { + "name": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The ID of the target. You can specify the short form ID for a resource or the full\n Amazon Resource Name (ARN).

" + "smithy.api#documentation": "

The name of the attribute. The name must contain between 1 and 128\n\t\t\tcharacters and name may contain letters (uppercase and lowercase), numbers, hyphens,\n\t\t\tunderscores, forward slashes, back slashes, or periods.

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

An attribute is a name-value pair associated with an Amazon ECS object. Attributes enable\n you to extend the Amazon ECS data model by adding custom metadata to your resources. For more\n information, see Attributes in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

An attribute is a name-value pair associated with an Amazon ECS object. Attributes enable\n\t\t\tyou to extend the Amazon ECS data model by adding custom metadata to your resources. For more\n\t\t\tinformation, see Attributes in the Amazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#AttributeLimitExceededException": { @@ -370,7 +370,7 @@ } }, "traits": { - "smithy.api#documentation": "

You can apply up to 10 custom attributes per resource. You can view the attributes of\n a resource with ListAttributes. You can remove existing attributes on\n a resource with DeleteAttributes.

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

You can apply up to 10 custom attributes per resource. You can view the attributes of\n\t\t\ta resource with ListAttributes. You can remove existing attributes on\n\t\t\ta resource with DeleteAttributes.

", "smithy.api#error": "client" } }, @@ -383,6 +383,12 @@ "com.amazonaws.ecs#AutoScalingGroupProvider": { "type": "structure", "members": { + "managedTerminationProtection": { + "target": "com.amazonaws.ecs#ManagedTerminationProtection", + "traits": { + "smithy.api#documentation": "

The managed termination protection setting to use for the Auto Scaling group capacity\n\t\t\tprovider. This determines whether the Auto Scaling group has managed termination\n\t\t\tprotection.

\n\t\t \n\t\t\t

When using managed termination protection, managed scaling must also be used\n\t\t\t\totherwise managed termination protection will not work.

\n\t\t
\n\t\t

When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in\n\t\t\tan Auto Scaling group that contain tasks from being terminated during a scale-in action.\n\t\t\tThe Auto Scaling group and each instance in the Auto Scaling group must have instance\n\t\t\tprotection from scale-in actions enabled as well. For more information, see Instance Protection in the AWS Auto Scaling User Guide.

\n\t\t

When managed termination protection is disabled, your Amazon EC2 instances are not\n\t\t\tprotected from termination when the Auto Scaling group scales in.

" + } + }, "managedScaling": { "target": "com.amazonaws.ecs#ManagedScaling", "traits": { @@ -395,12 +401,6 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the Auto Scaling group.

", "smithy.api#required": {} } - }, - "managedTerminationProtection": { - "target": "com.amazonaws.ecs#ManagedTerminationProtection", - "traits": { - "smithy.api#documentation": "

The managed termination protection setting to use for the Auto Scaling group capacity\n provider. This determines whether the Auto Scaling group has managed termination\n protection.

\n \n

When using managed termination protection, managed scaling must also be used\n otherwise managed termination protection will not work.

\n
\n

When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in\n an Auto Scaling group that contain tasks from being terminated during a scale-in action.\n The Auto Scaling group and each instance in the Auto Scaling group must have instance\n protection from scale-in actions enabled as well. For more information, see Instance Protection in the AWS Auto Scaling User Guide.

\n

When managed termination protection is disabled, your Amazon EC2 instances are not\n protected from termination when the Auto Scaling group scales in.

" - } } }, "traits": { @@ -410,22 +410,22 @@ "com.amazonaws.ecs#AwsVpcConfiguration": { "type": "structure", "members": { - "assignPublicIp": { - "target": "com.amazonaws.ecs#AssignPublicIp", + "securityGroups": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

Whether the task's elastic network interface receives a public IP address. The default\n value is DISABLED.

" + "smithy.api#documentation": "

The IDs of the security groups associated with the task or service. If you do not\n\t\t\tspecify a security group, the default security group for the VPC is used. There is a\n\t\t\tlimit of 5 security groups that can be specified per\n\t\t\tAwsVpcConfiguration.

\n\t\t \n\t\t \n\t\t\t

All specified security groups must be from the same VPC.

\n\t\t
" } }, - "securityGroups": { - "target": "com.amazonaws.ecs#StringList", + "assignPublicIp": { + "target": "com.amazonaws.ecs#AssignPublicIp", "traits": { - "smithy.api#documentation": "

The security groups associated with the task or service. If you do not specify a\n security group, the default security group for the VPC is used. There is a limit of 5\n security groups that can be specified per AwsVpcConfiguration.

\n \n \n

All specified security groups must be from the same VPC.

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

Whether the task's elastic network interface receives a public IP address. The default\n\t\t\tvalue is DISABLED.

" } }, "subnets": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The subnets associated with the task or service. There is a limit of 16 subnets that\n can be specified per AwsVpcConfiguration.

\n \n \n

All specified subnets must be from the same VPC.

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

The IDs of the subnets associated with the task or service. There is a limit of 16\n\t\t\tsubnets that can be specified per AwsVpcConfiguration.

\n\t\t \n\t\t \n\t\t\t

All specified subnets must be from the same VPC.

\n\t\t
", "smithy.api#required": {} } } @@ -464,28 +464,22 @@ "com.amazonaws.ecs#CapacityProvider": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.ecs#CapacityProviderStatus", + "updateStatusReason": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The current status of the capacity provider. Only capacity providers in an\n ACTIVE state can be used in a cluster. When a capacity provider is\n successfully deleted, it will have an INACTIVE status.

" + "smithy.api#documentation": "

The update status reason. This provides further details about the update status for\n\t\t\tthe capacity provider.

" } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the capacity provider to help you categorize and\n organize it. Each tag consists of a key and an optional value, both of which you\n define.

\n

The following basic restrictions apply to tags:

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

The name of the capacity provider.

" + "smithy.api#documentation": "

The metadata that you apply to the capacity provider to help you categorize and\n\t\t\torganize it. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

\n

The following basic restrictions apply to tags:

\n " } }, - "updateStatus": { - "target": "com.amazonaws.ecs#CapacityProviderUpdateStatus", + "status": { + "target": "com.amazonaws.ecs#CapacityProviderStatus", "traits": { - "smithy.api#documentation": "

The update status of the capacity provider. The following are the possible states that\n will be returned.

\n
\n
DELETE_IN_PROGRESS
\n
\n

The capacity provider is in the process of being deleted.

\n
\n
DELETE_COMPLETE
\n
\n

The capacity provider has been successfully deleted and will have an\n INACTIVE status.

\n
\n
DELETE_FAILED
\n
\n

The capacity provider was unable to be deleted. The update status reason\n will provide further details about why the delete failed.

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

The current status of the capacity provider. Only capacity providers in an\n\t\t\t\tACTIVE state can be used in a cluster. When a capacity provider is\n\t\t\tsuccessfully deleted, it will have an INACTIVE status.

" } }, "capacityProviderArn": { @@ -500,10 +494,16 @@ "smithy.api#documentation": "

The Auto Scaling group settings for the capacity provider.

" } }, - "updateStatusReason": { + "name": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The update status reason. This provides further details about the update status for\n the capacity provider.

" + "smithy.api#documentation": "

The name of the capacity provider.

" + } + }, + "updateStatus": { + "target": "com.amazonaws.ecs#CapacityProviderUpdateStatus", + "traits": { + "smithy.api#documentation": "

The update status of the capacity provider. The following are the possible states that\n\t\t\twill be returned.

\n\t\t
\n
DELETE_IN_PROGRESS
\n
\n\t\t\t\t\t

The capacity provider is in the process of being deleted.

\n\t\t\t\t
\n
DELETE_COMPLETE
\n
\n\t\t\t\t\t

The capacity provider has been successfully deleted and will have an\n\t\t\t\t\t\t\tINACTIVE status.

\n\t\t\t\t
\n
DELETE_FAILED
\n
\n\t\t\t\t\t

The capacity provider was unable to be deleted. The update status reason\n\t\t\t\t\t\twill provide further details about why the delete failed.

\n\t\t\t\t
\n
" } } }, @@ -552,10 +552,10 @@ "com.amazonaws.ecs#CapacityProviderStrategyItem": { "type": "structure", "members": { - "base": { - "target": "com.amazonaws.ecs#CapacityProviderStrategyItemBase", + "weight": { + "target": "com.amazonaws.ecs#CapacityProviderStrategyItemWeight", "traits": { - "smithy.api#documentation": "

The base value designates how many tasks, at a minimum, to run on\n the specified capacity provider. Only one capacity provider in a capacity provider\n strategy can have a base defined.

" + "smithy.api#documentation": "

The weight value designates the relative percentage of the total\n\t\t\tnumber of tasks launched that should use the specified capacity provider.

\n\t\t

For example, if you have a strategy that contains two capacity providers and both have\n\t\t\ta weight of 1, then when the base is satisfied, the tasks will\n\t\t\tbe split evenly across the two capacity providers. Using that same logic, if you specify\n\t\t\ta weight of 1 for capacityProviderA and a weight of\n\t\t\t\t4 for capacityProviderB, then for every one task\n\t\t\tthat is run using capacityProviderA, four tasks would use\n\t\t\t\tcapacityProviderB.

" } }, "capacityProvider": { @@ -565,10 +565,10 @@ "smithy.api#required": {} } }, - "weight": { - "target": "com.amazonaws.ecs#CapacityProviderStrategyItemWeight", + "base": { + "target": "com.amazonaws.ecs#CapacityProviderStrategyItemBase", "traits": { - "smithy.api#documentation": "

The weight value designates the relative percentage of the total\n number of tasks launched that should use the specified capacity provider.

\n

For example, if you have a strategy that contains two capacity providers and both have\n a weight of 1, then when the base is satisfied, the tasks will\n be split evenly across the two capacity providers. Using that same logic, if you specify\n a weight of 1 for capacityProviderA and a weight of\n 4 for capacityProviderB, then for every one task\n that is run using capacityProviderA, four tasks would use\n capacityProviderB.

" + "smithy.api#documentation": "

The base value designates how many tasks, at a minimum, to run on\n\t\t\tthe specified capacity provider. Only one capacity provider in a capacity provider\n\t\t\tstrategy can have a base defined.

" } } }, @@ -627,35 +627,35 @@ } }, "traits": { - "smithy.api#documentation": "

These errors are usually caused by a client action, such as using an action or\n resource on behalf of a user that doesn't have permissions to use the action or\n resource, or specifying an identifier that is not valid.

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

These errors are usually caused by a client action, such as using an action or\n\t\t\tresource on behalf of a user that doesn't have permissions to use the action or\n\t\t\tresource, or specifying an identifier that is not valid.

", "smithy.api#error": "client" } }, "com.amazonaws.ecs#Cluster": { "type": "structure", "members": { - "activeServicesCount": { - "target": "com.amazonaws.ecs#Integer", - "traits": { - "smithy.api#documentation": "

The number of services that are running on the cluster in an ACTIVE\n state. You can view these services with ListServices.

" - } - }, "settings": { "target": "com.amazonaws.ecs#ClusterSettings", "traits": { - "smithy.api#documentation": "

The settings for the cluster. This parameter indicates whether CloudWatch Container Insights\n is enabled or disabled for a cluster.

" + "smithy.api#documentation": "

The settings for the cluster. This parameter indicates whether CloudWatch Container Insights\n\t\t\tis enabled or disabled for a cluster.

" } }, - "registeredContainerInstancesCount": { + "activeServicesCount": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The number of container instances registered into the cluster. This includes container\n instances in both ACTIVE and DRAINING status.

" + "smithy.api#documentation": "

The number of services that are running on the cluster in an ACTIVE\n\t\t\tstate. You can view these services with ListServices.

" } }, - "defaultCapacityProviderStrategy": { - "target": "com.amazonaws.ecs#CapacityProviderStrategy", + "attachments": { + "target": "com.amazonaws.ecs#Attachments", + "traits": { + "smithy.api#documentation": "

The resources attached to a cluster. When using a capacity provider with a cluster,\n\t\t\tthe Auto Scaling plan that is created will be returned as a cluster attachment.

" + } + }, + "capacityProviders": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The default capacity provider strategy for the cluster. When services or tasks are run\n in the cluster with no launch type or capacity provider strategy specified, the default\n capacity provider strategy is used.

" + "smithy.api#documentation": "

The capacity providers associated with the cluster.

" } }, "runningTasksCount": { @@ -664,28 +664,28 @@ "smithy.api#documentation": "

The number of tasks in the cluster that are in the RUNNING state.

" } }, - "attachments": { - "target": "com.amazonaws.ecs#Attachments", + "statistics": { + "target": "com.amazonaws.ecs#Statistics", "traits": { - "smithy.api#documentation": "

The resources attached to a cluster. When using a capacity provider with a cluster,\n the Auto Scaling plan that is created will be returned as a cluster attachment.

" + "smithy.api#documentation": "

Additional information about your clusters that are separated by launch type,\n\t\t\tincluding:

\n\t\t " } }, - "pendingTasksCount": { - "target": "com.amazonaws.ecs#Integer", + "defaultCapacityProviderStrategy": { + "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

The number of tasks in the cluster that are in the PENDING state.

" + "smithy.api#documentation": "

The default capacity provider strategy for the cluster. When services or tasks are run\n\t\t\tin the cluster with no launch type or capacity provider strategy specified, the default\n\t\t\tcapacity provider strategy is used.

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

The status of the cluster. The following are the possible states that will be\n returned.

\n
\n
ACTIVE
\n
\n

The cluster is ready to accept tasks and if applicable you can register\n container instances with the cluster.

\n
\n
PROVISIONING
\n
\n

The cluster has capacity providers associated with it and the resources\n needed for the capacity provider are being created.

\n
\n
DEPROVISIONING
\n
\n

The cluster has capacity providers associated with it and the resources\n needed for the capacity provider are being deleted.

\n
\n
FAILED
\n
\n

The cluster has capacity providers associated with it and the resources\n needed for the capacity provider have failed to create.

\n
\n
INACTIVE
\n
\n

The cluster has been deleted. Clusters with an INACTIVE\n status may remain discoverable in your account for a period of time.\n However, this behavior is subject to change in the future, so you should not\n rely on INACTIVE clusters persisting.

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

The status of the cluster. The following are the possible states that will be\n\t\t\treturned.

\n\t\t
\n
ACTIVE
\n
\n\t\t\t\t\t

The cluster is ready to accept tasks and if applicable you can register\n\t\t\t\t\t\tcontainer instances with the cluster.

\n\t\t\t\t
\n
PROVISIONING
\n
\n\t\t\t\t\t

The cluster has capacity providers associated with it and the resources\n\t\t\t\t\t\tneeded for the capacity provider are being created.

\n\t\t\t\t
\n
DEPROVISIONING
\n
\n\t\t\t\t\t

The cluster has capacity providers associated with it and the resources\n\t\t\t\t\t\tneeded for the capacity provider are being deleted.

\n\t\t\t\t
\n
FAILED
\n
\n\t\t\t\t\t

The cluster has capacity providers associated with it and the resources\n\t\t\t\t\t\tneeded for the capacity provider have failed to create.

\n\t\t\t\t
\n
INACTIVE
\n
\n\t\t\t\t\t

The cluster has been deleted. Clusters with an INACTIVE\n\t\t\t\t\t\tstatus may remain discoverable in your account for a period of time.\n\t\t\t\t\t\tHowever, this behavior is subject to change in the future, so you should not\n\t\t\t\t\t\trely on INACTIVE clusters persisting.

\n\t\t\t\t
\n
" } }, - "statistics": { - "target": "com.amazonaws.ecs#Statistics", + "pendingTasksCount": { + "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

Additional information about your clusters that are separated by launch type,\n including:

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

The number of tasks in the cluster that are in the PENDING state.

" } }, "clusterArn": { @@ -700,27 +700,27 @@ "smithy.api#documentation": "

A user-generated string that you use to identify your cluster.

" } }, - "attachmentsStatus": { - "target": "com.amazonaws.ecs#String", + "registeredContainerInstancesCount": { + "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The status of the capacity providers associated with the cluster. The following are\n the states that will be returned:

\n
\n
UPDATE_IN_PROGRESS
\n
\n

The available capacity providers for the cluster are updating. This occurs\n when the Auto Scaling plan is provisioning or deprovisioning.

\n
\n
UPDATE_COMPLETE
\n
\n

The capacity providers have successfully updated.

\n
\n
UPDATE_FAILED
\n
\n

The capacity provider updates failed.

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

The number of container instances registered into the cluster. This includes container\n\t\t\tinstances in both ACTIVE and DRAINING status.

" } }, - "capacityProviders": { - "target": "com.amazonaws.ecs#StringList", + "attachmentsStatus": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The capacity providers associated with the cluster.

" + "smithy.api#documentation": "

The status of the capacity providers associated with the cluster. The following are\n\t\t\tthe states that will be returned:

\n\t\t
\n
UPDATE_IN_PROGRESS
\n
\n\t\t\t\t\t

The available capacity providers for the cluster are updating. This occurs\n\t\t\t\t\t\twhen the Auto Scaling plan is provisioning or deprovisioning.

\n\t\t\t\t
\n
UPDATE_COMPLETE
\n
\n\t\t\t\t\t

The capacity providers have successfully updated.

\n\t\t\t\t
\n
UPDATE_FAILED
\n
\n\t\t\t\t\t

The capacity provider updates failed.

\n\t\t\t\t
\n
" } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the cluster to help you categorize and organize them.\n Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

The metadata that you apply to the cluster to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

\n\t\t

The following basic restrictions apply to tags:

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

A regional grouping of one or more container instances on which you can run task\n requests. Each account receives a default cluster the first time you use the Amazon ECS\n service, but you may also create other clusters. Clusters may contain more than one\n instance type simultaneously.

" + "smithy.api#documentation": "

A regional grouping of one or more container instances on which you can run task\n\t\t\trequests. Each account receives a default cluster the first time you use the Amazon ECS\n\t\t\tservice, but you may also create other clusters. Clusters may contain more than one\n\t\t\tinstance type simultaneously.

" } }, "com.amazonaws.ecs#ClusterContainsContainerInstancesException": { @@ -731,7 +731,7 @@ } }, "traits": { - "smithy.api#documentation": "

You cannot delete a cluster that has registered container instances. First, deregister\n the container instances before you can delete the cluster. For more information, see\n DeregisterContainerInstance.

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

You cannot delete a cluster that has registered container instances. First, deregister\n\t\t\tthe container instances before you can delete the cluster. For more information, see\n\t\t\t\tDeregisterContainerInstance.

", "smithy.api#error": "client" } }, @@ -743,7 +743,7 @@ } }, "traits": { - "smithy.api#documentation": "

You cannot delete a cluster that contains services. First, update the service to\n reduce its desired task count to 0 and then delete the service. For more information,\n see UpdateService and DeleteService.

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

You cannot delete a cluster that contains services. First, update the service to\n\t\t\treduce its desired task count to 0 and then delete the service. For more information,\n\t\t\tsee UpdateService and DeleteService.

", "smithy.api#error": "client" } }, @@ -796,28 +796,28 @@ } }, "traits": { - "smithy.api#documentation": "

The specified cluster could not be found. You can view your available clusters with\n ListClusters. Amazon ECS clusters are Region-specific.

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

The specified cluster could not be found. You can view your available clusters with\n\t\t\t\tListClusters. Amazon ECS clusters are Region-specific.

", "smithy.api#error": "client" } }, "com.amazonaws.ecs#ClusterSetting": { "type": "structure", "members": { - "value": { - "target": "com.amazonaws.ecs#String", + "name": { + "target": "com.amazonaws.ecs#ClusterSettingName", "traits": { - "smithy.api#documentation": "

The value to set for the cluster setting. The supported values are\n enabled and disabled. If enabled is\n specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be\n disabled unless the containerInsights account setting is enabled. If a\n cluster value is specified, it will override the containerInsights value\n set with PutAccountSetting or PutAccountSettingDefault.

" + "smithy.api#documentation": "

The name of the cluster setting. The only supported value is\n\t\t\t\tcontainerInsights.

" } }, - "name": { - "target": "com.amazonaws.ecs#ClusterSettingName", + "value": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the cluster setting. The only supported value is\n containerInsights.

" + "smithy.api#documentation": "

The value to set for the cluster setting. The supported values are\n\t\t\t\tenabled and disabled. If enabled is\n\t\t\tspecified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be\n\t\t\tdisabled unless the containerInsights account setting is enabled. If a\n\t\t\tcluster value is specified, it will override the containerInsights value\n\t\t\tset with PutAccountSetting or PutAccountSettingDefault.

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

The settings to use when creating a cluster. This parameter is used to enable CloudWatch\n Container Insights for a cluster.

" + "smithy.api#documentation": "

The settings to use when creating a cluster. This parameter is used to enable CloudWatch\n\t\t\tContainer Insights for a cluster.

" } }, "com.amazonaws.ecs#ClusterSettingName": { @@ -882,64 +882,58 @@ "com.amazonaws.ecs#Container": { "type": "structure", "members": { - "cpu": { - "target": "com.amazonaws.ecs#String", - "traits": { - "smithy.api#documentation": "

The number of CPU units set for the container. The value will be 0 if no\n value was specified in the container definition when the task definition was\n registered.

" - } - }, "networkBindings": { "target": "com.amazonaws.ecs#NetworkBindings", "traits": { "smithy.api#documentation": "

The network bindings associated with the container.

" } }, - "gpuIds": { - "target": "com.amazonaws.ecs#GpuIds", + "memoryReservation": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The IDs of each GPU assigned to the container.

" + "smithy.api#documentation": "

The soft limit (in MiB) of memory set for the container.

" } }, - "memoryReservation": { + "cpu": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The soft limit (in MiB) of memory set for the container.

" + "smithy.api#documentation": "

The number of CPU units set for the container. The value will be 0 if no\n\t\t\tvalue was specified in the container definition when the task definition was\n\t\t\tregistered.

" } }, - "image": { + "memory": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The image used for the container.

" + "smithy.api#documentation": "

The hard limit (in MiB) of memory set for the container.

" } }, - "imageDigest": { + "image": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The container image manifest digest.

\n \n

The imageDigest is only returned if the container is using an image\n hosted in Amazon ECR, otherwise it is omitted.

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

The image used for the container.

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

A short (255 max characters) human-readable string to provide additional details about\n a running or stopped container.

" + "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details about\n\t\t\ta running or stopped container.

" } }, - "healthStatus": { - "target": "com.amazonaws.ecs#HealthStatus", + "imageDigest": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The health status of the container. If health checks are not configured for this\n container in its task definition, then it reports the health status as\n UNKNOWN.

" + "smithy.api#documentation": "

The container image manifest digest.

\n\t\t \n\t\t\t

The imageDigest is only returned if the container is using an image\n\t\t\t\thosted in Amazon ECR, otherwise it is omitted.

\n\t\t
" } }, - "runtimeId": { - "target": "com.amazonaws.ecs#String", + "gpuIds": { + "target": "com.amazonaws.ecs#GpuIds", "traits": { - "smithy.api#documentation": "

The ID of the Docker container.

" + "smithy.api#documentation": "

The IDs of each GPU assigned to the container.

" } }, - "name": { + "runtimeId": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the container.

" + "smithy.api#documentation": "

The ID of the Docker container.

" } }, "containerArn": { @@ -948,16 +942,16 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the container.

" } }, - "taskArn": { - "target": "com.amazonaws.ecs#String", + "healthStatus": { + "target": "com.amazonaws.ecs#HealthStatus", "traits": { - "smithy.api#documentation": "

The ARN of the task.

" + "smithy.api#documentation": "

The health status of the container. If health checks are not configured for this\n\t\t\tcontainer in its task definition, then it reports the health status as\n\t\t\t\tUNKNOWN.

" } }, - "memory": { + "taskArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The hard limit (in MiB) of memory set for the container.

" + "smithy.api#documentation": "

The ARN of the task.

" } }, "networkInterfaces": { @@ -966,6 +960,12 @@ "smithy.api#documentation": "

The network interfaces associated with the container.

" } }, + "name": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The name of the container.

" + } + }, "lastStatus": { "target": "com.amazonaws.ecs#String", "traits": { @@ -1009,184 +1009,166 @@ "com.amazonaws.ecs#ContainerDefinition": { "type": "structure", "members": { - "pseudoTerminal": { - "target": "com.amazonaws.ecs#BoxedBoolean", - "traits": { - "smithy.api#documentation": "

When this parameter is true, a TTY is allocated. This parameter maps to\n Tty in the Create a container section of the\n Docker Remote API and the --tty option to docker run.

" - } - }, - "ulimits": { - "target": "com.amazonaws.ecs#UlimitList", - "traits": { - "smithy.api#documentation": "

A list of ulimits to set in the container. If a ulimit value is specified\n in a task definition, it will override the default values set by Docker. This parameter\n maps to Ulimits in the Create a container section of the\n Docker Remote API and the --ulimit option to docker run. Valid naming values are displayed\n in the Ulimit data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' \n

\n \n

This parameter is not supported for Windows containers.

\n
" - } - }, - "healthCheck": { - "target": "com.amazonaws.ecs#HealthCheck", - "traits": { - "smithy.api#documentation": "

The container health check command and associated configuration parameters for the\n container. This parameter maps to HealthCheck in the\n Create a container section of the Docker Remote API and the\n HEALTHCHECK parameter of docker\n run.

" - } - }, "disableNetworking": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

When this parameter is true, networking is disabled within the container. This\n parameter maps to NetworkDisabled in the Create a container\n section of the Docker Remote API.

\n \n

This parameter is not supported for Windows containers.

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

When this parameter is true, networking is disabled within the container. This\n\t\t\tparameter maps to NetworkDisabled in the Create a container\n\t\t\tsection of the Docker Remote API.

\n \n

This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

\n
" } }, "extraHosts": { "target": "com.amazonaws.ecs#HostEntryList", "traits": { - "smithy.api#documentation": "

A list of hostnames and IP address mappings to append to the /etc/hosts\n file on the container. This parameter maps to ExtraHosts in the\n Create a container section of the Docker Remote API and the\n --add-host option to docker\n run.

\n \n

This parameter is not supported for Windows containers or tasks that use the\n awsvpc network mode.

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

A list of hostnames and IP address mappings to append to the /etc/hosts\n\t\t\tfile on the container. This parameter maps to ExtraHosts in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--add-host option to docker\n\t\t\t\trun.

\n\t\t \n\t\t\t

This parameter is not supported for Windows containers or tasks that use the\n\t\t\t\t\tawsvpc network mode.

\n\t\t
" } }, - "user": { - "target": "com.amazonaws.ecs#String", + "ulimits": { + "target": "com.amazonaws.ecs#UlimitList", "traits": { - "smithy.api#documentation": "

The user name to use inside the container. This parameter maps to User in\n the Create a container section of the Docker Remote API and the\n --user option to docker\n run.

\n

You can use the following formats. If specifying a UID or GID, you must specify it as\n a positive integer.

\n \n \n

This parameter is not supported for Windows containers.

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

A list of ulimits to set in the container. If a ulimit value is specified\n\t\t\tin a task definition, it will override the default values set by Docker. This parameter\n\t\t\tmaps to Ulimits in the Create a container section of the\n\t\t\tDocker Remote API and the --ulimit option to docker run. Valid naming values are displayed\n\t\t\tin the Ulimit data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' \n

\n \n

This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

\n
" } }, - "dockerSecurityOptions": { - "target": "com.amazonaws.ecs#StringList", + "pseudoTerminal": { + "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

A list of strings to provide custom labels for SELinux and AppArmor multi-level\n security systems. This field is not valid for containers in tasks using the\n Fargate launch type.

\n

With Windows containers, this parameter can be used to reference a credential spec\n file when configuring a container for Active Directory authentication. For more\n information, see Using gMSAs for Windows\n Containers in the Amazon Elastic Container Service Developer Guide.

\n

This parameter maps to SecurityOpt in the\n Create a container section of the Docker Remote API and the\n --security-opt option to docker\n run.

\n \n

The Amazon ECS container agent running on a container instance must register with the\n ECS_SELINUX_CAPABLE=true or ECS_APPARMOR_CAPABLE=true\n environment variables before containers placed on that instance can use these\n security options. For more information, see Amazon ECS Container\n Agent Configuration in the Amazon Elastic Container Service Developer Guide.

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

When this parameter is true, a TTY is allocated. This parameter maps to\n\t\t\t\tTty in the Create a container section of the\n\t\t\tDocker Remote API and the --tty option to docker run.

" } }, - "links": { - "target": "com.amazonaws.ecs#StringList", + "volumesFrom": { + "target": "com.amazonaws.ecs#VolumeFromList", "traits": { - "smithy.api#documentation": "

The links parameter allows containers to communicate with each other\n without the need for port mappings. This parameter is only supported if the network mode\n of a task definition is bridge. The name:internalName\n construct is analogous to name:alias in Docker links.\n Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. For more information about linking Docker containers, go to\n Legacy container links\n in the Docker documentation. This parameter maps to Links in the\n Create a container section of the Docker Remote API and the\n --link option to docker\n run.

\n \n

This parameter is not supported for Windows containers.

\n
\n \n

Containers that are collocated on a single container instance may be able to\n communicate with each other without requiring links or host port mappings. Network\n isolation is achieved on the container instance using security groups and VPC\n settings.

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

Data volumes to mount from another container. This parameter maps to\n\t\t\t\tVolumesFrom in the Create a container section of the\n\t\t\tDocker Remote API and the --volumes-from option to docker run.

" } }, - "volumesFrom": { - "target": "com.amazonaws.ecs#VolumeFromList", + "healthCheck": { + "target": "com.amazonaws.ecs#HealthCheck", "traits": { - "smithy.api#documentation": "

Data volumes to mount from another container. This parameter maps to\n VolumesFrom in the Create a container section of the\n Docker Remote API and the --volumes-from option to docker run.

" + "smithy.api#documentation": "

The container health check command and associated configuration parameters for the\n\t\t\tcontainer. This parameter maps to HealthCheck in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\tHEALTHCHECK parameter of docker\n\t\t\t\trun.

" } }, - "name": { - "target": "com.amazonaws.ecs#String", + "dnsSearchDomains": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The name of a container. If you are linking multiple containers together in a task\n definition, the name of one container can be entered in the\n links of another container to connect the containers.\n Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. This parameter maps to name in the\n Create a container section of the Docker Remote API and the\n --name option to docker\n run.

" + "smithy.api#documentation": "

A list of DNS search domains that are presented to the container. This parameter maps\n\t\t\tto DnsSearch in the Create a container section of the\n\t\t\tDocker Remote API and the --dns-search option to docker run.

\n \n

This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

\n
" } }, "memory": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The amount (in MiB) of memory to present to the container. If your container attempts\n to exceed the memory specified here, the container is killed. The total amount of memory\n reserved for all containers within a task must be lower than the task\n memory value, if one is specified. This parameter maps to\n Memory in the Create a container section of the\n Docker Remote API and the --memory option to docker run.

\n

If using the Fargate launch type, this parameter is optional.

\n

If using the EC2 launch type, you must specify either a task-level\n memory value or a container-level memory value. If you specify both a container-level\n memory and memoryReservation value, memory\n must be greater than memoryReservation. If you specify\n memoryReservation, then that value is subtracted from the available\n memory resources for the container instance on which the container is placed. Otherwise,\n the value of memory is used.

\n

The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should\n not specify fewer than 4 MiB of memory for your containers.

" + "smithy.api#documentation": "

The amount (in MiB) of memory to present to the container. If your container attempts\n\t\t\tto exceed the memory specified here, the container is killed. The total amount of memory\n\t\t\treserved for all containers within a task must be lower than the task\n\t\t\t\tmemory value, if one is specified. This parameter maps to\n\t\t\t\tMemory in the Create a container section of the\n\t\t\tDocker Remote API and the --memory option to docker run.

\n\t\t

If using the Fargate launch type, this parameter is optional.

\n\t\t

If using the EC2 launch type, you must specify either a task-level\n\t\t\tmemory value or a container-level memory value. If you specify both a container-level\n\t\t\t\tmemory and memoryReservation value, memory\n\t\t\tmust be greater than memoryReservation. If you specify\n\t\t\t\tmemoryReservation, then that value is subtracted from the available\n\t\t\tmemory resources for the container instance on which the container is placed. Otherwise,\n\t\t\tthe value of memory is used.

\n\t\t

The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should\n\t\t\tnot specify fewer than 4 MiB of memory for your containers.

" } }, - "linuxParameters": { - "target": "com.amazonaws.ecs#LinuxParameters", + "user": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Linux-specific modifications that are applied to the container, such as Linux kernel\n capabilities. For more information see KernelCapabilities.

\n \n

This parameter is not supported for Windows containers.

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

The user name to use inside the container. This parameter maps to User in\n\t\t\tthe Create a container section of the Docker Remote API and the\n\t\t\t\t--user option to docker\n\t\t\trun.

\n\t\t

You can use the following formats. If specifying a UID or GID, you must specify it as\n\t\t\ta positive integer.

\n\t\t \n \n

This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

\n
" } }, - "dnsSearchDomains": { + "entryPoint": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

A list of DNS search domains that are presented to the container. This parameter maps\n to DnsSearch in the Create a container section of the\n Docker Remote API and the --dns-search option to docker run.

\n \n

This parameter is not supported for Windows containers.

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

Early versions of the Amazon ECS container agent do not properly handle\n\t\t\t\t\tentryPoint parameters. If you have problems using\n\t\t\t\t\tentryPoint, update your container agent or enter your commands and\n\t\t\t\targuments as command array items instead.

\n\t\t
\n\t\t

The entry point that is passed to the container. This parameter maps to\n\t\t\t\tEntrypoint in the Create a container section of the\n\t\t\tDocker Remote API and the --entrypoint option to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint.

" } }, - "essential": { + "interactive": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

If the essential parameter of a container is marked as true,\n and that container fails or stops for any reason, all other containers that are part of\n the task are stopped. If the essential parameter of a container is marked\n as false, then its failure does not affect the rest of the containers in a\n task. If this parameter is omitted, a container is assumed to be essential.

\n

All tasks must have at least one essential container. If you have an application that\n is composed of multiple containers, you should group containers that are used for a\n common purpose into components, and separate the different components into multiple task\n definitions. For more information, see Application\n Architecture in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

When this parameter is true, this allows you to deploy containerized\n\t\t\tapplications that require stdin or a tty to be allocated. This\n\t\t\tparameter maps to OpenStdin in the Create a container\n\t\t\tsection of the Docker Remote API and the --interactive option to docker run.

" } }, - "systemControls": { - "target": "com.amazonaws.ecs#SystemControls", + "logConfiguration": { + "target": "com.amazonaws.ecs#LogConfiguration", "traits": { - "smithy.api#documentation": "

A list of namespaced kernel parameters to set in the container. This parameter maps to\n Sysctls in the Create a container section of the\n Docker Remote API and the --sysctl option to docker run.

\n \n

It is not recommended that you specify network-related systemControls\n parameters for multiple containers in a single task that also uses either the\n awsvpc or host network modes. For tasks that use the\n awsvpc network mode, the container that is started last determines\n which systemControls parameters take effect. For tasks that use the\n host network mode, it changes the container instance's namespaced\n kernel parameters as well as the containers.

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

The log configuration specification for the container.

\n\t\t

This parameter maps to LogConfig in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--log-driver option to docker\n\t\t\t\trun. By default, containers use the same logging driver that the Docker\n\t\t\tdaemon uses. However the container may use a different logging driver than the Docker\n\t\t\tdaemon by specifying a log driver with this parameter in the container definition. To\n\t\t\tuse a different logging driver for a container, the log system must be configured\n\t\t\tproperly on the container instance (or on a different log server for remote logging\n\t\t\toptions). For more information on the options for different supported log drivers, see\n\t\t\t\tConfigure\n\t\t\t\tlogging drivers in the Docker documentation.

\n\t\t \n\t\t\t

Amazon ECS currently supports a subset of the logging drivers available to the Docker\n\t\t\t\tdaemon (shown in the LogConfiguration data type). Additional log\n\t\t\t\tdrivers may be available in future releases of the Amazon ECS container agent.

\n\t\t
\n\t\t

This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' \n

\n\t\t \n\t\t\t

The Amazon ECS container agent running on a container instance must register the\n\t\t\t\tlogging drivers available on that instance with the\n\t\t\t\t\tECS_AVAILABLE_LOGGING_DRIVERS environment variable before\n\t\t\t\tcontainers placed on that instance can use these log configuration options. For more\n\t\t\t\tinformation, see Amazon ECS Container\n\t\t\t\t\tAgent Configuration in the Amazon Elastic Container Service Developer Guide.

\n\t\t
" } }, - "environmentFiles": { - "target": "com.amazonaws.ecs#EnvironmentFiles", + "links": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

A list of files containing the environment variables to pass to a container. This\n parameter maps to the --env-file option to docker run.

\n

You can specify up to ten environment files. The file must have a .env\n file extension. Each line in an environment file should contain an environment variable\n in VARIABLE=VALUE format. Lines beginning with # are treated\n as comments and are ignored. For more information on the environment variable file\n syntax, see Declare default\n environment variables in file.

\n

If there are environment variables specified using the environment\n parameter in a container definition, they take precedence over the variables contained\n within an environment file. If multiple environment files are specified that contain the\n same variable, they are processed from the top down. It is recommended to use unique\n variable names. For more information, see Specifying Environment\n Variables in the Amazon Elastic Container Service Developer Guide.

\n

This field is not valid for containers in tasks using the Fargate launch\n type.

" + "smithy.api#documentation": "

The links parameter allows containers to communicate with each other\n\t\t\twithout the need for port mappings. This parameter is only supported if the network mode\n\t\t\tof a task definition is bridge. The name:internalName\n\t\t\tconstruct is analogous to name:alias in Docker links.\n\t\t\tUp to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. For more information about linking Docker containers, go to\n\t\t\t\tLegacy container links\n\t\t\tin the Docker documentation. This parameter maps to Links in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--link option to docker\n\t\t\trun.

\n \n

This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

\n
\n \n\t\t\t

Containers that are collocated on a single container instance may be able to\n\t\t\t\tcommunicate with each other without requiring links or host port mappings. Network\n\t\t\t\tisolation is achieved on the container instance using security groups and VPC\n\t\t\t\tsettings.

\n\t\t
" } }, - "environment": { - "target": "com.amazonaws.ecs#EnvironmentVariables", + "startTimeout": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The environment variables to pass to a container. This parameter maps to\n Env in the Create a container section of the\n Docker Remote API and the --env option to docker run.

\n \n

We do not recommend using plaintext environment variables for sensitive\n information, such as credential data.

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

Time duration (in seconds) to wait before giving up on resolving dependencies for a\n\t\t\tcontainer. For example, you specify two containers in a task definition with containerA\n\t\t\thaving a dependency on containerB reaching a COMPLETE,\n\t\t\tSUCCESS, or HEALTHY status. If a startTimeout\n\t\t\tvalue is specified for containerB and it does not reach the desired status within that\n\t\t\ttime then containerA will give up and not start. This results in the task transitioning\n\t\t\tto a STOPPED state.

\n\t\t \n\t\t\t

When the ECS_CONTAINER_START_TIMEOUT container agent configuration\n\t\t\t\tvariable is used, it is enforced indendently from this start timeout value.

\n\t\t
\n\t\t

For tasks using the Fargate launch type, this parameter requires that\n\t\t\tthe task or service uses platform version 1.3.0 or later.

\n\t\t

For tasks using the EC2 launch type, your container instances require at\n\t\t\tleast version 1.26.0 of the container agent to enable a container start\n\t\t\ttimeout value. However, we recommend using the latest container agent version. For\n\t\t\tinformation about checking your agent version and updating to the latest version, see\n\t\t\t\tUpdating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you are\n\t\t\tusing an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of\n\t\t\tthe ecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

" } }, - "readonlyRootFilesystem": { - "target": "com.amazonaws.ecs#BoxedBoolean", + "hostname": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

When this parameter is true, the container is given read-only access to its root file\n system. This parameter maps to ReadonlyRootfs in the\n Create a container section of the Docker Remote API and the\n --read-only option to docker\n run.

\n \n

This parameter is not supported for Windows containers.

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

The hostname to use for your container. This parameter maps to Hostname\n\t\t\tin the Create a container section of the Docker Remote API and the\n\t\t\t\t--hostname option to docker\n\t\t\t\trun.

\n\t\t \n\t\t\t

The hostname parameter is not supported if you are using the\n\t\t\t\t\tawsvpc network mode.

\n\t\t
" } }, - "workingDirectory": { - "target": "com.amazonaws.ecs#String", + "resourceRequirements": { + "target": "com.amazonaws.ecs#ResourceRequirements", "traits": { - "smithy.api#documentation": "

The working directory in which to run commands inside the container. This parameter\n maps to WorkingDir in the Create a container section of the\n Docker Remote API and the --workdir option to docker run.

" + "smithy.api#documentation": "

The type and amount of a resource to assign to a container. The only supported\n\t\t\tresource is a GPU.

" } }, - "secrets": { - "target": "com.amazonaws.ecs#SecretList", + "firelensConfiguration": { + "target": "com.amazonaws.ecs#FirelensConfiguration", "traits": { - "smithy.api#documentation": "

The secrets to pass to the container. For more information, see Specifying\n Sensitive Data in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The FireLens configuration for the container. This is used to specify and configure a\n\t\t\tlog router for container logs. For more information, see Custom Log Routing\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

" } }, - "command": { - "target": "com.amazonaws.ecs#StringList", + "image": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The command that is passed to the container. This parameter maps to Cmd\n in the Create a container section of the Docker Remote API and the\n COMMAND parameter to docker\n run. For more information, see https://docs.docker.com/engine/reference/builder/#cmd. If there are multiple arguments, each\n argument should be a separated string in the array.

" + "smithy.api#documentation": "

The image used to start a container. This string is passed directly to the Docker\n\t\t\tdaemon. Images in the Docker Hub registry are available by default. Other repositories\n\t\t\tare specified with either \n\t\t\t\t repository-url/image:tag\n\t\t\t or \n\t\t\t\t repository-url/image@digest\n\t\t\t . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\tIMAGE parameter of docker\n\t\t\t\trun.

\n\t\t " } }, - "dnsServers": { - "target": "com.amazonaws.ecs#StringList", + "memoryReservation": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

A list of DNS servers that are presented to the container. This parameter maps to\n Dns in the Create a container section of the\n Docker Remote API and the --dns option to docker run.

\n \n

This parameter is not supported for Windows containers.

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

The soft limit (in MiB) of memory to reserve for the container. When system memory is\n\t\t\tunder heavy contention, Docker attempts to keep the container memory to this soft limit.\n\t\t\tHowever, your container can consume more memory when it needs to, up to either the hard\n\t\t\tlimit specified with the memory parameter (if applicable), or all of the\n\t\t\tavailable memory on the container instance, whichever comes first. This parameter maps\n\t\t\tto MemoryReservation in the Create a container section of\n\t\t\tthe Docker Remote API and the --memory-reservation option to docker run.

\n\t\t

If a task-level memory value is not specified, you must specify a non-zero integer for\n\t\t\tone or both of memory or memoryReservation in a container\n\t\t\tdefinition. If you specify both, memory must be greater than\n\t\t\t\tmemoryReservation. If you specify memoryReservation, then\n\t\t\tthat value is subtracted from the available memory resources for the container instance\n\t\t\ton which the container is placed. Otherwise, the value of memory is\n\t\t\tused.

\n\t\t

For example, if your container normally uses 128 MiB of memory, but occasionally\n\t\t\tbursts to 256 MiB of memory for short periods of time, you can set a\n\t\t\t\tmemoryReservation of 128 MiB, and a memory hard limit of\n\t\t\t300 MiB. This configuration would allow the container to only reserve 128 MiB of memory\n\t\t\tfrom the remaining resources on the container instance, but also allow the container to\n\t\t\tconsume more memory resources when needed.

\n\t\t

The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should\n\t\t\tnot specify fewer than 4 MiB of memory for your containers.

" } }, - "resourceRequirements": { - "target": "com.amazonaws.ecs#ResourceRequirements", + "portMappings": { + "target": "com.amazonaws.ecs#PortMappingList", "traits": { - "smithy.api#documentation": "

The type and amount of a resource to assign to a container. The only supported\n resource is a GPU.

" + "smithy.api#documentation": "

The list of port mappings for the container. Port mappings allow containers to access\n\t\t\tports on the host container instance to send or receive traffic.

\n\t\t

For task definitions that use the awsvpc network mode, you should only\n\t\t\tspecify the containerPort. The hostPort can be left blank or\n\t\t\tit must be the same value as the containerPort.

\n\t\t

Port mappings on Windows use the NetNAT gateway address rather than\n\t\t\t\tlocalhost. There is no loopback for port mappings on Windows, so you\n\t\t\tcannot access a container's mapped port from the host itself.

\n\t\t

This parameter maps to PortBindings in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--publish option to docker\n\t\t\t\trun. If the network mode of a task definition is set to none,\n\t\t\tthen you can't specify port mappings. If the network mode of a task definition is set to\n\t\t\t\thost, then host ports must either be undefined or they must match the\n\t\t\tcontainer port in the port mapping.

\n\t\t \n\t\t\t

After a task reaches the RUNNING status, manual and automatic host\n\t\t\t\tand container port assignments are visible in the Network\n\t\t\t\t\tBindings section of a container description for a selected task in\n\t\t\t\tthe Amazon ECS console. The assignments are also visible in the\n\t\t\t\t\tnetworkBindings section DescribeTasks\n\t\t\t\tresponses.

\n\t\t
" } }, - "privileged": { - "target": "com.amazonaws.ecs#BoxedBoolean", + "dependsOn": { + "target": "com.amazonaws.ecs#ContainerDependencies", "traits": { - "smithy.api#documentation": "

When this parameter is true, the container is given elevated privileges on the host\n container instance (similar to the root user). This parameter maps to\n Privileged in the Create a container section of the\n Docker Remote API and the --privileged option to docker run.

\n \n

This parameter is not supported for Windows containers or tasks using the Fargate launch type.

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

The dependencies defined for container startup and shutdown. A container can contain\n\t\t\tmultiple dependencies. When a dependency is defined for container startup, for container\n\t\t\tshutdown it is reversed.

\n\t\t

For tasks using the EC2 launch type, the container instances require at\n\t\t\tleast version 1.26.0 of the container agent to enable container dependencies. However,\n\t\t\twe recommend using the latest container agent version. For information about checking\n\t\t\tyour agent version and updating to the latest version, see Updating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you are\n\t\t\tusing an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

\n\t\t

For tasks using the Fargate launch type, the task or service requires\n\t\t\tplatform version 1.3.0 or later.

" } }, "cpu": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The number of cpu units reserved for the container. This parameter maps\n to CpuShares in the Create a container section of the\n Docker Remote API and the --cpu-shares option to docker run.

\n

This field is optional for tasks using the Fargate launch type, and the\n only requirement is that the total amount of CPU reserved for all containers within a\n task be lower than the task-level cpu value.

\n \n

You can determine the number of CPU units that are available per EC2 instance type\n by multiplying the vCPUs listed for that instance type on the Amazon EC2 Instances detail page\n by 1,024.

\n
\n

Linux containers share unallocated CPU units with other containers on the container\n instance with the same ratio as their allocated amount. For example, if you run a\n single-container task on a single-core instance type with 512 CPU units specified for\n that container, and that is the only task running on the container instance, that\n container could use the full 1,024 CPU unit share at any given time. However, if you\n launched another copy of the same task on that container instance, each task would be\n guaranteed a minimum of 512 CPU units when needed, and each container could float to\n higher CPU usage if the other container was not using it, but if both tasks were 100%\n active all of the time, they would be limited to 512 CPU units.

\n

On Linux container instances, the Docker daemon on the container instance uses the CPU\n value to calculate the relative CPU share ratios for running containers. For more\n information, see CPU share\n constraint in the Docker documentation. The minimum valid CPU share value\n that the Linux kernel allows is 2. However, the CPU parameter is not required, and you\n can use CPU values below 2 in your container definitions. For CPU values below 2\n (including null), the behavior varies based on your Amazon ECS container agent\n version:

\n \n

On Windows container instances, the CPU limit is enforced as an absolute limit, or a\n quota. Windows containers only have access to the specified amount of CPU that is\n described in the task definition.

" + "smithy.api#documentation": "

The number of cpu units reserved for the container. This parameter maps\n\t\t\tto CpuShares in the Create a container section of the\n\t\t\tDocker Remote API and the --cpu-shares option to docker run.

\n\t\t

This field is optional for tasks using the Fargate launch type, and the\n\t\t\tonly requirement is that the total amount of CPU reserved for all containers within a\n\t\t\ttask be lower than the task-level cpu value.

\n\t\t \n\t\t\t

You can determine the number of CPU units that are available per EC2 instance type\n\t\t\t\tby multiplying the vCPUs listed for that instance type on the Amazon EC2 Instances detail page\n\t\t\t\tby 1,024.

\n\t\t
\n\t\t

Linux containers share unallocated CPU units with other containers on the container\n\t\t\tinstance with the same ratio as their allocated amount. For example, if you run a\n\t\t\tsingle-container task on a single-core instance type with 512 CPU units specified for\n\t\t\tthat container, and that is the only task running on the container instance, that\n\t\t\tcontainer could use the full 1,024 CPU unit share at any given time. However, if you\n\t\t\tlaunched another copy of the same task on that container instance, each task would be\n\t\t\tguaranteed a minimum of 512 CPU units when needed, and each container could float to\n\t\t\thigher CPU usage if the other container was not using it, but if both tasks were 100%\n\t\t\tactive all of the time, they would be limited to 512 CPU units.

\n\t\t

On Linux container instances, the Docker daemon on the container instance uses the CPU\n\t\t\tvalue to calculate the relative CPU share ratios for running containers. For more\n\t\t\tinformation, see CPU share\n\t\t\t\tconstraint in the Docker documentation. The minimum valid CPU share value\n\t\t\tthat the Linux kernel allows is 2. However, the CPU parameter is not required, and you\n\t\t\tcan use CPU values below 2 in your container definitions. For CPU values below 2\n\t\t\t(including null), the behavior varies based on your Amazon ECS container agent\n\t\t\tversion:

\n\t\t \n\t\t

On Windows container instances, the CPU limit is enforced as an absolute limit, or a\n\t\t\tquota. Windows containers only have access to the specified amount of CPU that is\n\t\t\tdescribed in the task definition. A null or zero CPU value is passed to Docker as\n\t\t\t\t0, which Windows interprets as 1% of one CPU.

" } }, "stopTimeout": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

Time duration (in seconds) to wait before the container is forcefully killed if it\n doesn't exit normally on its own.

\n

For tasks using the Fargate launch type, the task or service requires\n platform version 1.3.0 or later. The max stop timeout value is 120 seconds and if the\n parameter is not specified, the default value of 30 seconds is used.

\n

For tasks using the EC2 launch type, if the stopTimeout\n parameter is not specified, the value set for the Amazon ECS container agent configuration\n variable ECS_CONTAINER_STOP_TIMEOUT is used by default. If neither the\n stopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT\n agent configuration variable are set, then the default values of 30 seconds for Linux\n containers and 30 seconds on Windows containers are used. Your container instances\n require at least version 1.26.0 of the container agent to enable a container stop\n timeout value. However, we recommend using the latest container agent version. For\n information about checking your agent version and updating to the latest version, see\n Updating the Amazon ECS\n Container Agent in the Amazon Elastic Container Service Developer Guide. If you are\n using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n ecs-init package. If your container instances are launched from version\n 20190301 or later, then they contain the required versions of the\n container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Time duration (in seconds) to wait before the container is forcefully killed if it\n\t\t\tdoesn't exit normally on its own.

\n\t\t

For tasks using the Fargate launch type, the task or service requires\n\t\t\tplatform version 1.3.0 or later. The max stop timeout value is 120 seconds and if the\n\t\t\tparameter is not specified, the default value of 30 seconds is used.

\n\t\t

For tasks using the EC2 launch type, if the stopTimeout\n\t\t\tparameter is not specified, the value set for the Amazon ECS container agent configuration\n\t\t\tvariable ECS_CONTAINER_STOP_TIMEOUT is used by default. If neither the\n\t\t\t\tstopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT\n\t\t\tagent configuration variable are set, then the default values of 30 seconds for Linux\n\t\t\tcontainers and 30 seconds on Windows containers are used. Your container instances\n\t\t\trequire at least version 1.26.0 of the container agent to enable a container stop\n\t\t\ttimeout value. However, we recommend using the latest container agent version. For\n\t\t\tinformation about checking your agent version and updating to the latest version, see\n\t\t\t\tUpdating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you are\n\t\t\tusing an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

" } }, - "dependsOn": { - "target": "com.amazonaws.ecs#ContainerDependencies", + "dockerLabels": { + "target": "com.amazonaws.ecs#DockerLabelsMap", "traits": { - "smithy.api#documentation": "

The dependencies defined for container startup and shutdown. A container can contain\n multiple dependencies. When a dependency is defined for container startup, for container\n shutdown it is reversed.

\n

For tasks using the EC2 launch type, the container instances require at\n least version 1.26.0 of the container agent to enable container dependencies. However,\n we recommend using the latest container agent version. For information about checking\n your agent version and updating to the latest version, see Updating the Amazon ECS\n Container Agent in the Amazon Elastic Container Service Developer Guide. If you are\n using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n ecs-init package. If your container instances are launched from version\n 20190301 or later, then they contain the required versions of the\n container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

\n

For tasks using the Fargate launch type, the task or service requires\n platform version 1.3.0 or later.

" + "smithy.api#documentation": "

A key/value map of labels to add to the container. This parameter maps to\n\t\t\t\tLabels in the Create a container section of the\n\t\t\tDocker Remote API and the --label option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' \n

" } }, - "mountPoints": { - "target": "com.amazonaws.ecs#MountPointList", + "essential": { + "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

The mount points for data volumes in your container.

\n

This parameter maps to Volumes in the Create a container\n section of the Docker Remote API and the --volume option to docker run.

\n

Windows containers can mount whole directories on the same drive as\n $env:ProgramData. Windows containers cannot mount directories on a\n different drive, and mount point cannot be across drives.

" + "smithy.api#documentation": "

If the essential parameter of a container is marked as true,\n\t\t\tand that container fails or stops for any reason, all other containers that are part of\n\t\t\tthe task are stopped. If the essential parameter of a container is marked\n\t\t\tas false, then its failure does not affect the rest of the containers in a\n\t\t\ttask. If this parameter is omitted, a container is assumed to be essential.

\n\t\t

All tasks must have at least one essential container. If you have an application that\n\t\t\tis composed of multiple containers, you should group containers that are used for a\n\t\t\tcommon purpose into components, and separate the different components into multiple task\n\t\t\tdefinitions. For more information, see Application\n\t\t\t\tArchitecture in the Amazon Elastic Container Service Developer Guide.

" } }, - "entryPoint": { - "target": "com.amazonaws.ecs#StringList", + "linuxParameters": { + "target": "com.amazonaws.ecs#LinuxParameters", "traits": { - "smithy.api#documentation": "\n

Early versions of the Amazon ECS container agent do not properly handle\n entryPoint parameters. If you have problems using\n entryPoint, update your container agent or enter your commands and\n arguments as command array items instead.

\n
\n

The entry point that is passed to the container. This parameter maps to\n Entrypoint in the Create a container section of the\n Docker Remote API and the --entrypoint option to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint.

" + "smithy.api#documentation": "

Linux-specific modifications that are applied to the container, such as Linux kernel\n\t\t\tcapabilities. For more information see KernelCapabilities.

\n\t\t \n\t\t\t

This parameter is not supported for Windows containers.

\n\t\t
" } }, - "dockerLabels": { - "target": "com.amazonaws.ecs#DockerLabelsMap", + "dnsServers": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

A key/value map of labels to add to the container. This parameter maps to\n Labels in the Create a container section of the\n Docker Remote API and the --label option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' \n

" + "smithy.api#documentation": "

A list of DNS servers that are presented to the container. This parameter maps to\n\t\t\t\tDns in the Create a container section of the\n\t\t\tDocker Remote API and the --dns option to docker run.

\n \n

This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

\n
" } }, "repositoryCredentials": { @@ -1195,57 +1177,75 @@ "smithy.api#documentation": "

The private repository authentication credentials to use.

" } }, - "portMappings": { - "target": "com.amazonaws.ecs#PortMappingList", + "systemControls": { + "target": "com.amazonaws.ecs#SystemControls", "traits": { - "smithy.api#documentation": "

The list of port mappings for the container. Port mappings allow containers to access\n ports on the host container instance to send or receive traffic.

\n

For task definitions that use the awsvpc network mode, you should only\n specify the containerPort. The hostPort can be left blank or\n it must be the same value as the containerPort.

\n

Port mappings on Windows use the NetNAT gateway address rather than\n localhost. There is no loopback for port mappings on Windows, so you\n cannot access a container's mapped port from the host itself.

\n

This parameter maps to PortBindings in the\n Create a container section of the Docker Remote API and the\n --publish option to docker\n run. If the network mode of a task definition is set to none,\n then you can't specify port mappings. If the network mode of a task definition is set to\n host, then host ports must either be undefined or they must match the\n container port in the port mapping.

\n \n

After a task reaches the RUNNING status, manual and automatic host\n and container port assignments are visible in the Network\n Bindings section of a container description for a selected task in\n the Amazon ECS console. The assignments are also visible in the\n networkBindings section DescribeTasks\n responses.

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

A list of namespaced kernel parameters to set in the container. This parameter maps to\n\t\t\t\tSysctls in the Create a container section of the\n\t\t\tDocker Remote API and the --sysctl option to docker run.

\n\t\t \n\t\t\t

It is not recommended that you specify network-related systemControls\n\t\t\t\tparameters for multiple containers in a single task that also uses either the\n\t\t\t\t\tawsvpc or host network modes. For tasks that use the\n\t\t\t\t\tawsvpc network mode, the container that is started last determines\n\t\t\t\twhich systemControls parameters take effect. For tasks that use the\n\t\t\t\t\thost network mode, it changes the container instance's namespaced\n\t\t\t\tkernel parameters as well as the containers.

\n\t\t
" } }, - "interactive": { - "target": "com.amazonaws.ecs#BoxedBoolean", + "mountPoints": { + "target": "com.amazonaws.ecs#MountPointList", "traits": { - "smithy.api#documentation": "

When this parameter is true, this allows you to deploy containerized\n applications that require stdin or a tty to be allocated. This\n parameter maps to OpenStdin in the Create a container\n section of the Docker Remote API and the --interactive option to docker run.

" + "smithy.api#documentation": "

The mount points for data volumes in your container.

\n\t\t

This parameter maps to Volumes in the Create a container\n\t\t\tsection of the Docker Remote API and the --volume option to docker run.

\n\t\t

Windows containers can mount whole directories on the same drive as\n\t\t\t\t$env:ProgramData. Windows containers cannot mount directories on a\n\t\t\tdifferent drive, and mount point cannot be across drives.

" } }, - "startTimeout": { - "target": "com.amazonaws.ecs#BoxedInteger", + "name": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Time duration (in seconds) to wait before giving up on resolving dependencies for a\n container. For example, you specify two containers in a task definition with containerA\n having a dependency on containerB reaching a COMPLETE,\n SUCCESS, or HEALTHY status. If a startTimeout\n value is specified for containerB and it does not reach the desired status within that\n time then containerA will give up and not start. This results in the task transitioning\n to a STOPPED state.

\n

For tasks using the Fargate launch type, this parameter requires that\n the task or service uses platform version 1.3.0 or later. If this parameter is not\n specified, the default value of 3 minutes is used.

\n

For tasks using the EC2 launch type, if the startTimeout\n parameter is not specified, the value set for the Amazon ECS container agent configuration\n variable ECS_CONTAINER_START_TIMEOUT is used by default. If neither the\n startTimeout parameter or the ECS_CONTAINER_START_TIMEOUT\n agent configuration variable are set, then the default values of 3 minutes for Linux\n containers and 8 minutes on Windows containers are used. Your container instances\n require at least version 1.26.0 of the container agent to enable a container start\n timeout value. However, we recommend using the latest container agent version. For\n information about checking your agent version and updating to the latest version, see\n Updating the Amazon ECS\n Container Agent in the Amazon Elastic Container Service Developer Guide. If you are\n using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n ecs-init package. If your container instances are launched from version\n 20190301 or later, then they contain the required versions of the\n container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The name of a container. If you are linking multiple containers together in a task\n\t\t\tdefinition, the name of one container can be entered in the\n\t\t\t\tlinks of another container to connect the containers.\n\t\t\tUp to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. This parameter maps to name in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--name option to docker\n\t\t\trun.

" } }, - "hostname": { - "target": "com.amazonaws.ecs#String", + "dockerSecurityOptions": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The hostname to use for your container. This parameter maps to Hostname\n in the Create a container section of the Docker Remote API and the\n --hostname option to docker\n run.

\n \n

The hostname parameter is not supported if you are using the\n awsvpc network mode.

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

A list of strings to provide custom labels for SELinux and AppArmor multi-level\n\t\t\tsecurity systems. This field is not valid for containers in tasks using the\n\t\t\tFargate launch type.

\n\t\t

With Windows containers, this parameter can be used to reference a credential spec\n\t\t\tfile when configuring a container for Active Directory authentication. For more\n\t\t\tinformation, see Using gMSAs for Windows\n\t\t\t\tContainers in the Amazon Elastic Container Service Developer Guide.

\n\t\t

This parameter maps to SecurityOpt in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--security-opt option to docker\n\t\t\t\trun.

\n\t\t \n\t\t\t

The Amazon ECS container agent running on a container instance must register with the\n\t\t\t\t\tECS_SELINUX_CAPABLE=true or ECS_APPARMOR_CAPABLE=true\n\t\t\t\tenvironment variables before containers placed on that instance can use these\n\t\t\t\tsecurity options. For more information, see Amazon ECS Container\n\t\t\t\t\tAgent Configuration in the Amazon Elastic Container Service Developer Guide.

\n\t\t
\n\t\t

For more information about valid values, see Docker\n\t\t\t\tRun Security Configuration.

\n\t\t

Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | \"label:value\" |\n\t\t\t\"credentialspec:CredentialSpecFilePath\"

" } }, - "logConfiguration": { - "target": "com.amazonaws.ecs#LogConfiguration", + "environmentFiles": { + "target": "com.amazonaws.ecs#EnvironmentFiles", "traits": { - "smithy.api#documentation": "

The log configuration specification for the container.

\n

This parameter maps to LogConfig in the\n Create a container section of the Docker Remote API and the\n --log-driver option to docker\n run. By default, containers use the same logging driver that the Docker\n daemon uses. However the container may use a different logging driver than the Docker\n daemon by specifying a log driver with this parameter in the container definition. To\n use a different logging driver for a container, the log system must be configured\n properly on the container instance (or on a different log server for remote logging\n options). For more information on the options for different supported log drivers, see\n Configure\n logging drivers in the Docker documentation.

\n \n

Amazon ECS currently supports a subset of the logging drivers available to the Docker\n daemon (shown in the LogConfiguration data type). Additional log\n drivers may be available in future releases of the Amazon ECS container agent.

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' \n

\n \n

The Amazon ECS container agent running on a container instance must register the\n logging drivers available on that instance with the\n ECS_AVAILABLE_LOGGING_DRIVERS environment variable before\n containers placed on that instance can use these log configuration options. For more\n information, see Amazon ECS Container\n Agent Configuration in the Amazon Elastic Container Service Developer Guide.

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

A list of files containing the environment variables to pass to a container. This\n\t\t\tparameter maps to the --env-file option to docker run.

\n\t\t

You can specify up to ten environment files. The file must have a .env\n\t\t\tfile extension. Each line in an environment file should contain an environment variable\n\t\t\tin VARIABLE=VALUE format. Lines beginning with # are treated\n\t\t\tas comments and are ignored. For more information on the environment variable file\n\t\t\tsyntax, see Declare default\n\t\t\t\tenvironment variables in file.

\n\t\t

If there are environment variables specified using the environment\n\t\t\tparameter in a container definition, they take precedence over the variables contained\n\t\t\twithin an environment file. If multiple environment files are specified that contain the\n\t\t\tsame variable, they are processed from the top down. It is recommended to use unique\n\t\t\tvariable names. For more information, see Specifying Environment\n\t\t\t\tVariables in the Amazon Elastic Container Service Developer Guide.

\n\t\t

This field is not valid for containers in tasks using the Fargate launch\n\t\t\ttype.

" } }, - "image": { + "environment": { + "target": "com.amazonaws.ecs#EnvironmentVariables", + "traits": { + "smithy.api#documentation": "

The environment variables to pass to a container. This parameter maps to\n\t\t\t\tEnv in the Create a container section of the\n\t\t\tDocker Remote API and the --env option to docker run.

\n\t\t \n\t\t\t

We do not recommend using plaintext environment variables for sensitive\n\t\t\t\tinformation, such as credential data.

\n\t\t
" + } + }, + "readonlyRootFilesystem": { + "target": "com.amazonaws.ecs#BoxedBoolean", + "traits": { + "smithy.api#documentation": "

When this parameter is true, the container is given read-only access to its root file\n\t\t\tsystem. This parameter maps to ReadonlyRootfs in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--read-only option to docker\n\t\t\t\trun.

\n \n

This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

\n
" + } + }, + "workingDirectory": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The image used to start a container. This string is passed directly to the Docker\n daemon. Images in the Docker Hub registry are available by default. Other repositories\n are specified with either \n repository-url/image:tag\n or \n repository-url/image@digest\n . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the\n Create a container section of the Docker Remote API and the\n IMAGE parameter of docker\n run.

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

The working directory in which to run commands inside the container. This parameter\n\t\t\tmaps to WorkingDir in the Create a container section of the\n\t\t\tDocker Remote API and the --workdir option to docker run.

" } }, - "firelensConfiguration": { - "target": "com.amazonaws.ecs#FirelensConfiguration", + "privileged": { + "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

The FireLens configuration for the container. This is used to specify and configure a\n log router for container logs. For more information, see Custom Log Routing\n in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

When this parameter is true, the container is given elevated privileges on the host\n\t\t\tcontainer instance (similar to the root user). This parameter maps to\n\t\t\t\tPrivileged in the Create a container section of the\n\t\t\tDocker Remote API and the --privileged option to docker run.

\n \n

This parameter is not supported for Windows containers or tasks using the Fargate launch type.

\n
" } }, - "memoryReservation": { - "target": "com.amazonaws.ecs#BoxedInteger", + "command": { + "target": "com.amazonaws.ecs#StringList", + "traits": { + "smithy.api#documentation": "

The command that is passed to the container. This parameter maps to Cmd\n\t\t\tin the Create a container section of the Docker Remote API and the\n\t\t\t\tCOMMAND parameter to docker\n\t\t\t\trun. For more information, see https://docs.docker.com/engine/reference/builder/#cmd. If there are multiple arguments, each\n\t\t\targument should be a separated string in the array.

" + } + }, + "secrets": { + "target": "com.amazonaws.ecs#SecretList", "traits": { - "smithy.api#documentation": "

The soft limit (in MiB) of memory to reserve for the container. When system memory is\n under heavy contention, Docker attempts to keep the container memory to this soft limit.\n However, your container can consume more memory when it needs to, up to either the hard\n limit specified with the memory parameter (if applicable), or all of the\n available memory on the container instance, whichever comes first. This parameter maps\n to MemoryReservation in the Create a container section of\n the Docker Remote API and the --memory-reservation option to docker run.

\n

If a task-level memory value is not specified, you must specify a non-zero integer for\n one or both of memory or memoryReservation in a container\n definition. If you specify both, memory must be greater than\n memoryReservation. If you specify memoryReservation, then\n that value is subtracted from the available memory resources for the container instance\n on which the container is placed. Otherwise, the value of memory is\n used.

\n

For example, if your container normally uses 128 MiB of memory, but occasionally\n bursts to 256 MiB of memory for short periods of time, you can set a\n memoryReservation of 128 MiB, and a memory hard limit of\n 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory\n from the remaining resources on the container instance, but also allow the container to\n consume more memory resources when needed.

\n

The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should\n not specify fewer than 4 MiB of memory for your containers.

" + "smithy.api#documentation": "

The secrets to pass to the container. For more information, see Specifying\n\t\t\t\tSensitive Data in the Amazon Elastic Container Service Developer Guide.

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

Container definitions are used in task definitions to describe the different\n containers that are launched as part of a task.

" + "smithy.api#documentation": "

Container definitions are used in task definitions to describe the different\n\t\t\tcontainers that are launched as part of a task.

" } }, "com.amazonaws.ecs#ContainerDefinitions": { @@ -1266,7 +1266,7 @@ "condition": { "target": "com.amazonaws.ecs#ContainerCondition", "traits": { - "smithy.api#documentation": "

The dependency condition of the container. The following are the available conditions\n and their behavior:

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

The dependency condition of the container. The following are the available conditions\n\t\t\tand their behavior:

\n\t\t ", "smithy.api#required": {} } }, @@ -1279,94 +1279,88 @@ } }, "traits": { - "smithy.api#documentation": "

The dependencies defined for container startup and shutdown. A container can contain\n multiple dependencies. When a dependency is defined for container startup, for container\n shutdown it is reversed.

\n

Your Amazon ECS container instances require at least version 1.26.0 of the container agent\n to enable container dependencies. However, we recommend using the latest container agent\n version. For information about checking your agent version and updating to the latest\n version, see Updating the Amazon ECS\n Container Agent in the Amazon Elastic Container Service Developer Guide. If you are\n using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n ecs-init package. If your container instances are launched from version\n 20190301 or later, then they contain the required versions of the\n container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

\n \n

For tasks using the Fargate launch type, this parameter requires\n that the task or service uses platform version 1.3.0 or later.

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

The dependencies defined for container startup and shutdown. A container can contain\n\t\t\tmultiple dependencies. When a dependency is defined for container startup, for container\n\t\t\tshutdown it is reversed.

\n\t\t

Your Amazon ECS container instances require at least version 1.26.0 of the container agent\n\t\t\tto enable container dependencies. However, we recommend using the latest container agent\n\t\t\tversion. For information about checking your agent version and updating to the latest\n\t\t\tversion, see Updating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you are\n\t\t\tusing an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

\n\t\t \n\t\t\t

For tasks using the Fargate launch type, this parameter requires\n\t\t\t\tthat the task or service uses platform version 1.3.0 or later.

\n\t\t
" } }, "com.amazonaws.ecs#ContainerInstance": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.ecs#String", + "registeredResources": { + "target": "com.amazonaws.ecs#Resources", "traits": { - "smithy.api#documentation": "

The status of the container instance. The valid values are REGISTERING,\n REGISTRATION_FAILED, ACTIVE, INACTIVE,\n DEREGISTERING, or DRAINING.

\n

If your account has opted in to the awsvpcTrunking account setting, then\n any newly registered container instance will transition to a REGISTERING\n status while the trunk elastic network interface is provisioned for the instance. If the\n registration fails, the instance will transition to a REGISTRATION_FAILED\n status. You can describe the container instance and see the reason for failure in the\n statusReason parameter. Once the container instance is terminated, the\n instance transitions to a DEREGISTERING status while the trunk elastic\n network interface is deprovisioned. The instance then transitions to an\n INACTIVE status.

\n

The ACTIVE status indicates that the container instance can accept tasks.\n The DRAINING indicates that new tasks are not placed on the container\n instance and any service tasks running on the container instance are removed if\n possible. For more information, see Container Instance Draining in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

For CPU and memory resource types, this parameter describes the amount of each\n\t\t\tresource that was available on the container instance when the container agent\n\t\t\tregistered it with Amazon ECS. This value represents the total amount of CPU and memory that\n\t\t\tcan be allocated on this container instance to tasks. For port resource types, this\n\t\t\tparameter describes the ports that were reserved by the Amazon ECS container agent when it\n\t\t\tregistered the container instance with Amazon ECS.

" } }, "remainingResources": { "target": "com.amazonaws.ecs#Resources", "traits": { - "smithy.api#documentation": "

For CPU and memory resource types, this parameter describes the remaining CPU and\n memory that has not already been allocated to tasks and is therefore available for new\n tasks. For port resource types, this parameter describes the ports that were reserved by\n the Amazon ECS container agent (at instance registration time) and any task containers that\n have reserved port mappings on the host (with the host or\n bridge network mode). Any port that is not specified here is available\n for new tasks.

" + "smithy.api#documentation": "

For CPU and memory resource types, this parameter describes the remaining CPU and\n\t\t\tmemory that has not already been allocated to tasks and is therefore available for new\n\t\t\ttasks. For port resource types, this parameter describes the ports that were reserved by\n\t\t\tthe Amazon ECS container agent (at instance registration time) and any task containers that\n\t\t\thave reserved port mappings on the host (with the host or\n\t\t\t\tbridge network mode). Any port that is not specified here is available\n\t\t\tfor new tasks.

" } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the container instance to help you categorize and\n organize them. Each tag consists of a key and an optional value, both of which you\n define.

\n

The following basic restrictions apply to tags:

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

The metadata that you apply to the container instance to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

\n

The following basic restrictions apply to tags:

\n " } }, - "capacityProviderName": { + "status": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The capacity provider associated with the container instance.

" + "smithy.api#documentation": "

The status of the container instance. The valid values are REGISTERING,\n\t\t\t\tREGISTRATION_FAILED, ACTIVE, INACTIVE,\n\t\t\t\tDEREGISTERING, or DRAINING.

\n\t\t

If your account has opted in to the awsvpcTrunking account setting, then\n\t\t\tany newly registered container instance will transition to a REGISTERING\n\t\t\tstatus while the trunk elastic network interface is provisioned for the instance. If the\n\t\t\tregistration fails, the instance will transition to a REGISTRATION_FAILED\n\t\t\tstatus. You can describe the container instance and see the reason for failure in the\n\t\t\t\tstatusReason parameter. Once the container instance is terminated, the\n\t\t\tinstance transitions to a DEREGISTERING status while the trunk elastic\n\t\t\tnetwork interface is deprovisioned. The instance then transitions to an\n\t\t\t\tINACTIVE status.

\n\t\t

The ACTIVE status indicates that the container instance can accept tasks.\n\t\t\tThe DRAINING indicates that new tasks are not placed on the container\n\t\t\tinstance and any service tasks running on the container instance are removed if\n\t\t\tpossible. For more information, see Container Instance Draining in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

" } }, - "version": { - "target": "com.amazonaws.ecs#Long", + "ec2InstanceId": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The version counter for the container instance. Every time a container instance\n experiences a change that triggers a CloudWatch event, the version counter is\n incremented. If you are replicating your Amazon ECS container instance state with CloudWatch\n Events, you can compare the version of a container instance reported by the Amazon ECS APIs\n with the version reported in CloudWatch Events for the container instance (inside the\n detail object) to verify that the version in your event stream is\n current.

" + "smithy.api#documentation": "

The EC2 instance ID of the container instance.

" } }, - "containerInstanceArn": { + "capacityProviderName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

" + "smithy.api#documentation": "

The capacity provider associated with the container instance.

" } }, - "attachments": { - "target": "com.amazonaws.ecs#Attachments", + "version": { + "target": "com.amazonaws.ecs#Long", "traits": { - "smithy.api#documentation": "

The resources attached to a container instance, such as elastic network\n interfaces.

" + "smithy.api#documentation": "

The version counter for the container instance. Every time a container instance\n\t\t\texperiences a change that triggers a CloudWatch event, the version counter is\n\t\t\tincremented. If you are replicating your Amazon ECS container instance state with CloudWatch\n\t\t\tEvents, you can compare the version of a container instance reported by the Amazon ECS APIs\n\t\t\twith the version reported in CloudWatch Events for the container instance (inside the\n\t\t\t\tdetail object) to verify that the version in your event stream is\n\t\t\tcurrent.

" } }, - "agentUpdateStatus": { - "target": "com.amazonaws.ecs#AgentUpdateStatus", + "containerInstanceArn": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The status of the most recent agent update. If an update has never been requested,\n this value is NULL.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

" } }, "pendingTasksCount": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The number of tasks on the container instance that are in the PENDING\n status.

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

The EC2 instance ID of the container instance.

" + "smithy.api#documentation": "

The number of tasks on the container instance that are in the PENDING\n\t\t\tstatus.

" } }, - "runningTasksCount": { - "target": "com.amazonaws.ecs#Integer", + "agentUpdateStatus": { + "target": "com.amazonaws.ecs#AgentUpdateStatus", "traits": { - "smithy.api#documentation": "

The number of tasks on the container instance that are in the RUNNING\n status.

" + "smithy.api#documentation": "

The status of the most recent agent update. If an update has never been requested,\n\t\t\tthis value is NULL.

" } }, - "registeredResources": { - "target": "com.amazonaws.ecs#Resources", + "attachments": { + "target": "com.amazonaws.ecs#Attachments", "traits": { - "smithy.api#documentation": "

For CPU and memory resource types, this parameter describes the amount of each\n resource that was available on the container instance when the container agent\n registered it with Amazon ECS. This value represents the total amount of CPU and memory that\n can be allocated on this container instance to tasks. For port resource types, this\n parameter describes the ports that were reserved by the Amazon ECS container agent when it\n registered the container instance with Amazon ECS.

" + "smithy.api#documentation": "

The resources attached to a container instance, such as elastic network\n\t\t\tinterfaces.

" } }, "attributes": { "target": "com.amazonaws.ecs#Attributes", "traits": { - "smithy.api#documentation": "

The attributes set for the container instance, either by the Amazon ECS container agent at\n instance registration or manually with the PutAttributes\n operation.

" + "smithy.api#documentation": "

The attributes set for the container instance, either by the Amazon ECS container agent at\n\t\t\tinstance registration or manually with the PutAttributes\n\t\t\toperation.

" } }, - "agentConnected": { - "target": "com.amazonaws.ecs#Boolean", + "runningTasksCount": { + "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

This parameter returns true if the agent is connected to Amazon ECS.\n Registered instances with an agent that may be unhealthy or stopped return\n false. Only instances connected to an agent can accept placement\n requests.

" + "smithy.api#documentation": "

The number of tasks on the container instance that are in the RUNNING\n\t\t\tstatus.

" } }, "statusReason": { @@ -1375,21 +1369,27 @@ "smithy.api#documentation": "

The reason that the container instance reached its current status.

" } }, + "registeredAt": { + "target": "com.amazonaws.ecs#Timestamp", + "traits": { + "smithy.api#documentation": "

The Unix timestamp for when the container instance was registered.

" + } + }, "versionInfo": { "target": "com.amazonaws.ecs#VersionInfo", "traits": { - "smithy.api#documentation": "

The version information for the Amazon ECS container agent and Docker daemon running on the\n container instance.

" + "smithy.api#documentation": "

The version information for the Amazon ECS container agent and Docker daemon running on the\n\t\t\tcontainer instance.

" } }, - "registeredAt": { - "target": "com.amazonaws.ecs#Timestamp", + "agentConnected": { + "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the container instance was registered.

" + "smithy.api#documentation": "

This parameter returns true if the agent is connected to Amazon ECS.\n\t\t\tRegistered instances with an agent that may be unhealthy or stopped return\n\t\t\t\tfalse. Only instances connected to an agent can accept placement\n\t\t\trequests.

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

An EC2 instance that is running the Amazon ECS agent and has been registered with a\n cluster.

" + "smithy.api#documentation": "

An EC2 instance that is running the Amazon ECS agent and has been registered with a\n\t\t\tcluster.

" } }, "com.amazonaws.ecs#ContainerInstanceField": { @@ -1448,54 +1448,54 @@ "cpu": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The number of cpu units reserved for the container, instead of the\n default value from the task definition. You must also specify a container name.

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

The name of the container that receives the override. This parameter is required if\n any override is specified.

" + "smithy.api#documentation": "

The number of cpu units reserved for the container, instead of the\n\t\t\tdefault value from the task definition. You must also specify a container name.

" } }, "command": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The command to send to the container that overrides the default command from the\n Docker image or the task definition. You must also specify a container name.

" + "smithy.api#documentation": "

The command to send to the container that overrides the default command from the\n\t\t\tDocker image or the task definition. You must also specify a container name.

" } }, "memoryReservation": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The soft limit (in MiB) of memory to reserve for the container, instead of the default\n value from the task definition. You must also specify a container name.

" + "smithy.api#documentation": "

The soft limit (in MiB) of memory to reserve for the container, instead of the default\n\t\t\tvalue from the task definition. You must also specify a container name.

" } }, "resourceRequirements": { "target": "com.amazonaws.ecs#ResourceRequirements", "traits": { - "smithy.api#documentation": "

The type and amount of a resource to assign to a container, instead of the default\n value from the task definition. The only supported resource is a GPU.

" + "smithy.api#documentation": "

The type and amount of a resource to assign to a container, instead of the default\n\t\t\tvalue from the task definition. The only supported resource is a GPU.

" } }, - "memory": { - "target": "com.amazonaws.ecs#BoxedInteger", + "name": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The hard limit (in MiB) of memory to present to the container, instead of the default\n value from the task definition. If your container attempts to exceed the memory\n specified here, the container is killed. You must also specify a container name.

" + "smithy.api#documentation": "

The name of the container that receives the override. This parameter is required if\n\t\t\tany override is specified.

" } }, "environmentFiles": { "target": "com.amazonaws.ecs#EnvironmentFiles", "traits": { - "smithy.api#documentation": "

A list of files containing the environment variables to pass to a container, instead\n of the value from the container definition.

" + "smithy.api#documentation": "

A list of files containing the environment variables to pass to a container, instead\n\t\t\tof the value from the container definition.

" + } + }, + "memory": { + "target": "com.amazonaws.ecs#BoxedInteger", + "traits": { + "smithy.api#documentation": "

The hard limit (in MiB) of memory to present to the container, instead of the default\n\t\t\tvalue from the task definition. If your container attempts to exceed the memory\n\t\t\tspecified here, the container is killed. You must also specify a container name.

" } }, "environment": { "target": "com.amazonaws.ecs#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

The environment variables to send to the container. You can add new environment\n variables, which are added to the container at launch, or you can override the existing\n environment variables from the Docker image or the task definition. You must also\n specify a container name.

" + "smithy.api#documentation": "

The environment variables to send to the container. You can add new environment\n\t\t\tvariables, which are added to the container at launch, or you can override the existing\n\t\t\tenvironment variables from the Docker image or the task definition. You must also\n\t\t\tspecify a container name.

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

The overrides that should be sent to a container. An empty container override can be\n passed in. An example of an empty container override would be\n {\"containerOverrides\": [ ] }. If a non-empty container override is\n specified, the name parameter must be included.

" + "smithy.api#documentation": "

The overrides that should be sent to a container. An empty container override can be\n\t\t\tpassed in. An example of an empty container override would be\n\t\t\t\t{\"containerOverrides\": [ ] }. If a non-empty container override is\n\t\t\tspecified, the name parameter must be included.

" } }, "com.amazonaws.ecs#ContainerOverrides": { @@ -1507,22 +1507,16 @@ "com.amazonaws.ecs#ContainerStateChange": { "type": "structure", "members": { - "imageDigest": { - "target": "com.amazonaws.ecs#String", + "exitCode": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The container image SHA 256 digest.

" + "smithy.api#documentation": "

The exit code for the container, if the state change is a result of the container\n\t\t\texiting.

" } }, - "reason": { + "runtimeId": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The reason for the state change.

" - } - }, - "exitCode": { - "target": "com.amazonaws.ecs#BoxedInteger", - "traits": { - "smithy.api#documentation": "

The exit code for the container, if the state change is a result of the container\n exiting.

" + "smithy.api#documentation": "

The ID of the Docker container.

" } }, "status": { @@ -1531,10 +1525,10 @@ "smithy.api#documentation": "

The status of the container.

" } }, - "runtimeId": { + "imageDigest": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The ID of the Docker container.

" + "smithy.api#documentation": "

The container image SHA 256 digest.

" } }, "networkBindings": { @@ -1543,6 +1537,12 @@ "smithy.api#documentation": "

Any network bindings associated with the container.

" } }, + "reason": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The reason for the state change.

" + } + }, "containerName": { "target": "com.amazonaws.ecs#String", "traits": { @@ -1592,30 +1592,30 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new capacity provider. Capacity providers are associated with an Amazon ECS\n cluster and are used in capacity provider strategies to facilitate cluster auto\n scaling.

\n

Only capacity providers using an Auto Scaling group can be created. Amazon ECS tasks on\n AWS Fargate use the FARGATE and FARGATE_SPOT capacity providers\n which are already created and available to all accounts in Regions supported by\n AWS Fargate.

" + "smithy.api#documentation": "

Creates a new capacity provider. Capacity providers are associated with an Amazon ECS\n\t\t\tcluster and are used in capacity provider strategies to facilitate cluster auto\n\t\t\tscaling.

\n\t\t

Only capacity providers using an Auto Scaling group can be created. Amazon ECS tasks on\n\t\t\tAWS Fargate use the FARGATE and FARGATE_SPOT capacity providers\n\t\t\twhich are already created and available to all accounts in Regions supported by\n\t\t\tAWS Fargate.

" } }, "com.amazonaws.ecs#CreateCapacityProviderRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.ecs#Tags", + "autoScalingGroupProvider": { + "target": "com.amazonaws.ecs#AutoScalingGroupProvider", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the capacity provider to help you categorize and\n organize them. Each tag consists of a key and an optional value, both of which you\n define.

\n

The following basic restrictions apply to tags:

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

The details of the Auto Scaling group for the capacity provider.

", + "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the capacity provider. Up to 255 characters are allowed, including letters\n (upper and lowercase), numbers, underscores, and hyphens. The name cannot be prefixed\n with \"aws\", \"ecs\", or \"fargate\".

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

The name of the capacity provider. Up to 255 characters are allowed, including letters\n\t\t\t(upper and lowercase), numbers, underscores, and hyphens. The name cannot be prefixed\n\t\t\twith \"aws\", \"ecs\", or \"fargate\".

", "smithy.api#required": {} } }, - "autoScalingGroupProvider": { - "target": "com.amazonaws.ecs#AutoScalingGroupProvider", + "tags": { + "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The details of the Auto Scaling group for the capacity provider.

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

The metadata that you apply to the capacity provider to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

\n

The following basic restrictions apply to tags:

\n " } } } @@ -1651,40 +1651,40 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new Amazon ECS cluster. By default, your account receives a default\n cluster when you launch your first container instance. However, you can create your own\n cluster with a unique name with the CreateCluster action.

\n \n

When you call the CreateCluster API operation, Amazon ECS attempts to\n create the Amazon ECS service-linked role for your account so that required resources in\n other AWS services can be managed on your behalf. However, if the IAM user that\n makes the call does not have permissions to create the service-linked role, it is\n not created. For more information, see Using\n Service-Linked Roles for Amazon ECS in the\n Amazon Elastic Container Service Developer Guide.

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

Creates a new Amazon ECS cluster. By default, your account receives a default\n\t\t\tcluster when you launch your first container instance. However, you can create your own\n\t\t\tcluster with a unique name with the CreateCluster action.

\n\t\t \n\t\t\t

When you call the CreateCluster API operation, Amazon ECS attempts to\n\t\t\t\tcreate the Amazon ECS service-linked role for your account so that required resources in\n\t\t\t\tother AWS services can be managed on your behalf. However, if the IAM user that\n\t\t\t\tmakes the call does not have permissions to create the service-linked role, it is\n\t\t\t\tnot created. For more information, see Using\n\t\t\t\t\tService-Linked Roles for Amazon ECS in the\n\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t
" } }, "com.amazonaws.ecs#CreateClusterRequest": { "type": "structure", "members": { - "defaultCapacityProviderStrategy": { - "target": "com.amazonaws.ecs#CapacityProviderStrategy", + "clusterName": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The capacity provider strategy to use by default for the cluster.

\n

When creating a service or running a task on a cluster, if no capacity provider or\n launch type is specified then the default capacity provider strategy for the cluster is\n used.

\n

A capacity provider strategy consists of one or more capacity providers along with the\n base and weight to assign to them. A capacity provider\n must be associated with the cluster to be used in a capacity provider strategy. The\n PutClusterCapacityProviders API is used to associate a capacity\n provider with a cluster. Only capacity providers with an ACTIVE or\n UPDATING status can be used.

\n

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n

To use a AWS Fargate capacity provider, specify either the FARGATE or\n FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n available to all accounts and only need to be associated with a cluster to be\n used.

\n

If a default capacity provider strategy is not defined for a cluster during creation,\n it can be defined later with the PutClusterCapacityProviders API\n operation.

" + "smithy.api#documentation": "

The name of your cluster. If you do not specify a name for your cluster, you create a\n\t\t\tcluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

" } }, - "clusterName": { - "target": "com.amazonaws.ecs#String", + "tags": { + "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The name of your cluster. If you do not specify a name for your cluster, you create a\n cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

" + "smithy.api#documentation": "

The metadata that you apply to the cluster to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

\n\t\t

The following basic restrictions apply to tags:

\n " } }, - "capacityProviders": { - "target": "com.amazonaws.ecs#StringList", + "defaultCapacityProviderStrategy": { + "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

The short name of one or more capacity providers to associate\n with the cluster.

\n

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n provider must already be created and not already associated with another cluster. New\n capacity providers can be created with the CreateCapacityProvider API\n operation.

\n

To use a AWS Fargate capacity provider, specify either the FARGATE or\n FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n available to all accounts and only need to be associated with a cluster to be\n used.

\n

The PutClusterCapacityProviders API operation is used to update the\n list of available capacity providers for a cluster after the cluster is created.

" + "smithy.api#documentation": "

The capacity provider strategy to use by default for the cluster.

\n\t\t

When creating a service or running a task on a cluster, if no capacity provider or\n\t\t\tlaunch type is specified then the default capacity provider strategy for the cluster is\n\t\t\tused.

\n\t\t

A capacity provider strategy consists of one or more capacity providers along with the\n\t\t\t\tbase and weight to assign to them. A capacity provider\n\t\t\tmust be associated with the cluster to be used in a capacity provider strategy. The\n\t\t\t\tPutClusterCapacityProviders API is used to associate a capacity\n\t\t\tprovider with a cluster. Only capacity providers with an ACTIVE or\n\t\t\t\tUPDATING status can be used.

\n\t\t

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n\t\t

To use a AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

\n\t\t

If a default capacity provider strategy is not defined for a cluster during creation,\n\t\t\tit can be defined later with the PutClusterCapacityProviders API\n\t\t\toperation.

" } }, "settings": { "target": "com.amazonaws.ecs#ClusterSettings", "traits": { - "smithy.api#documentation": "

The setting to use when creating a cluster. This parameter is used to enable CloudWatch\n Container Insights for a cluster. If this value is specified, it will override the\n containerInsights value set with PutAccountSetting or\n PutAccountSettingDefault.

" + "smithy.api#documentation": "

The setting to use when creating a cluster. This parameter is used to enable CloudWatch\n\t\t\tContainer Insights for a cluster. If this value is specified, it will override the\n\t\t\t\tcontainerInsights value set with PutAccountSetting or\n\t\t\t\tPutAccountSettingDefault.

" } }, - "tags": { - "target": "com.amazonaws.ecs#Tags", + "capacityProviders": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the cluster to help you categorize and organize them.\n Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

The short name of one or more capacity providers to associate\n\t\t\twith the cluster.

\n\t\t

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created and not already associated with another cluster. New\n\t\t\tcapacity providers can be created with the CreateCapacityProvider API\n\t\t\toperation.

\n\t\t

To use a AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

\n\t\t

The PutClusterCapacityProviders API operation is used to update the\n\t\t\tlist of available capacity providers for a cluster after the cluster is created.

" } } } @@ -1735,137 +1735,137 @@ } ], "traits": { - "smithy.api#documentation": "

Runs and maintains a desired number of tasks from a specified task definition. If the\n number of tasks running in a service drops below the desiredCount, Amazon ECS\n runs another copy of the task in the specified cluster. To update an existing service,\n see the UpdateService action.

\n

In addition to maintaining the desired count of tasks in your service, you can\n optionally run your service behind one or more load balancers. The load balancers\n distribute traffic across the tasks that are associated with the service. For more\n information, see Service Load Balancing in the\n Amazon Elastic Container Service Developer Guide.

\n

Tasks for services that do not use a load balancer are considered\n healthy if they're in the RUNNING state. Tasks for services that\n do use a load balancer are considered healthy if they're in the\n RUNNING state and the container instance that they're hosted on is\n reported as healthy by the load balancer.

\n

There are two service scheduler strategies available:

\n \n

You can optionally specify a deployment configuration for your service. The deployment\n is triggered by changing properties, such as the task definition or the desired count of\n a service, with an UpdateService operation. The default value for a\n replica service for minimumHealthyPercent is 100%. The default value for a\n daemon service for minimumHealthyPercent is 0%.

\n

If a service is using the ECS deployment controller, the minimum healthy\n percent represents a lower limit on the number of tasks in a service that must remain in\n the RUNNING state during a deployment, as a percentage of the desired\n number of tasks (rounded up to the nearest integer), and while any container instances\n are in the DRAINING state if the service contains tasks using the\n EC2 launch type. This parameter enables you to deploy without using\n additional cluster capacity. For example, if your service has a desired number of four\n tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks\n to free up cluster capacity before starting two new tasks. Tasks for services that\n do not use a load balancer are considered healthy if they're in\n the RUNNING state. Tasks for services that do use a\n load balancer are considered healthy if they're in the RUNNING state and\n they're reported as healthy by the load balancer. The default value for minimum healthy\n percent is 100%.

\n

If a service is using the ECS deployment controller, the maximum percent parameter represents an upper limit on the\n number of tasks in a service that are allowed in the RUNNING or\n PENDING state during a deployment, as a percentage of the desired\n number of tasks (rounded down to the nearest integer), and while any container instances\n are in the DRAINING state if the service contains tasks using the\n EC2 launch type. This parameter enables you to define the deployment batch\n size. For example, if your service has a desired number of four tasks and a maximum\n percent value of 200%, the scheduler may start four new tasks before stopping the four\n older tasks (provided that the cluster resources required to do this are available). The\n default value for maximum percent is 200%.

\n

If a service is using either the CODE_DEPLOY or EXTERNAL\n deployment controller types and tasks that use the EC2 launch type, the\n minimum healthy percent and maximum percent values are used only to define the lower and upper limit\n on the number of the tasks in the service that remain in the RUNNING state\n while the container instances are in the DRAINING state. If the tasks in\n the service use the Fargate launch type, the minimum healthy percent and\n maximum percent values aren't used, although they're currently visible when describing\n your service.

\n

When creating a service that uses the EXTERNAL deployment controller, you\n can specify only parameters that aren't controlled at the task set level. The only\n required parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

\n

When the service scheduler launches new tasks, it determines task placement in your\n cluster using the following logic:

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

Runs and maintains a desired number of tasks from a specified task definition. If the\n\t\t\tnumber of tasks running in a service drops below the desiredCount, Amazon ECS\n\t\t\truns another copy of the task in the specified cluster. To update an existing service,\n\t\t\tsee the UpdateService action.

\n\t\t

In addition to maintaining the desired count of tasks in your service, you can\n\t\t\toptionally run your service behind one or more load balancers. The load balancers\n\t\t\tdistribute traffic across the tasks that are associated with the service. For more\n\t\t\tinformation, see Service Load Balancing in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t

Tasks for services that do not use a load balancer are considered\n\t\t\thealthy if they're in the RUNNING state. Tasks for services that\n\t\t\t\tdo use a load balancer are considered healthy if they're in the\n\t\t\t\tRUNNING state and the container instance that they're hosted on is\n\t\t\treported as healthy by the load balancer.

\n\t\t

There are two service scheduler strategies available:

\n\t\t \n\t\t

You can optionally specify a deployment configuration for your service. The deployment\n\t\t\tis triggered by changing properties, such as the task definition or the desired count of\n\t\t\ta service, with an UpdateService operation. The default value for a\n\t\t\treplica service for minimumHealthyPercent is 100%. The default value for a\n\t\t\tdaemon service for minimumHealthyPercent is 0%.

\n\t\t

If a service is using the ECS deployment controller, the minimum healthy\n\t\t\tpercent represents a lower limit on the number of tasks in a service that must remain in\n\t\t\tthe RUNNING state during a deployment, as a percentage of the desired\n\t\t\tnumber of tasks (rounded up to the nearest integer), and while any container instances\n\t\t\tare in the DRAINING state if the service contains tasks using the\n\t\t\tEC2 launch type. This parameter enables you to deploy without using\n\t\t\tadditional cluster capacity. For example, if your service has a desired number of four\n\t\t\ttasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks\n\t\t\tto free up cluster capacity before starting two new tasks. Tasks for services that\n\t\t\t\tdo not use a load balancer are considered healthy if they're in\n\t\t\tthe RUNNING state. Tasks for services that do use a\n\t\t\tload balancer are considered healthy if they're in the RUNNING state and\n\t\t\tthey're reported as healthy by the load balancer. The default value for minimum healthy\n\t\t\tpercent is 100%.

\n\t\t

If a service is using the ECS deployment controller, the maximum percent parameter represents an upper limit on the\n\t\t\tnumber of tasks in a service that are allowed in the RUNNING or\n\t\t\t\tPENDING state during a deployment, as a percentage of the desired\n\t\t\tnumber of tasks (rounded down to the nearest integer), and while any container instances\n\t\t\tare in the DRAINING state if the service contains tasks using the\n\t\t\tEC2 launch type. This parameter enables you to define the deployment batch\n\t\t\tsize. For example, if your service has a desired number of four tasks and a maximum\n\t\t\tpercent value of 200%, the scheduler may start four new tasks before stopping the four\n\t\t\tolder tasks (provided that the cluster resources required to do this are available). The\n\t\t\tdefault value for maximum percent is 200%.

\n\t\t

If a service is using either the CODE_DEPLOY or EXTERNAL\n\t\t\tdeployment controller types and tasks that use the EC2 launch type, the\n\t\t\t\tminimum healthy percent and maximum percent values are used only to define the lower and upper limit\n\t\t\ton the number of the tasks in the service that remain in the RUNNING state\n\t\t\twhile the container instances are in the DRAINING state. If the tasks in\n\t\t\tthe service use the Fargate launch type, the minimum healthy percent and\n\t\t\tmaximum percent values aren't used, although they're currently visible when describing\n\t\t\tyour service.

\n\t\t

When creating a service that uses the EXTERNAL deployment controller, you\n\t\t\tcan specify only parameters that aren't controlled at the task set level. The only\n\t\t\trequired parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

\n\t\t

When the service scheduler launches new tasks, it determines task placement in your\n\t\t\tcluster using the following logic:

\n\t\t " } }, "com.amazonaws.ecs#CreateServiceRequest": { "type": "structure", "members": { - "networkConfiguration": { - "target": "com.amazonaws.ecs#NetworkConfiguration", + "loadBalancers": { + "target": "com.amazonaws.ecs#LoadBalancers", "traits": { - "smithy.api#documentation": "

The network configuration for the service. This parameter is required for task\n definitions that use the awsvpc network mode to receive their own elastic\n network interface, and it is not supported for other network modes. For more\n information, see Task Networking\n in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

A load balancer object representing the load balancers to use with your service. For\n\t\t\tmore information, see Service Load Balancing in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t

If the service is using the rolling update (ECS) deployment controller\n\t\t\tand using either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to\n\t\t\tattach to the service. The service-linked role is required for services that make use of\n\t\t\tmultiple target groups. For more information, see Using Service-Linked Roles for Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t

If the service is using the CODE_DEPLOY deployment controller, the\n\t\t\tservice is required to use either an Application Load Balancer or Network Load Balancer. When creating an AWS CodeDeploy deployment\n\t\t\tgroup, you specify two target groups (referred to as a targetGroupPair).\n\t\t\tDuring a deployment, AWS CodeDeploy determines which task set in your service has the status\n\t\t\t\tPRIMARY and associates one target group with it, and then associates\n\t\t\tthe other target group with the replacement task set. The load balancer can also have up\n\t\t\tto two listeners: a required listener for production traffic and an optional listener\n\t\t\tthat allows you perform validation tests with Lambda functions before routing production\n\t\t\ttraffic to it.

\n\t\t

After you create a service using the ECS deployment controller, the load\n\t\t\tbalancer name or target group ARN, container name, and container port specified in the\n\t\t\tservice definition are immutable. If you are using the CODE_DEPLOY\n\t\t\tdeployment controller, these values can be changed when updating the service.

\n\t\t

For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN,\n\t\t\tthe container name (as it appears in a container definition), and the container port to\n\t\t\taccess from the load balancer. The load balancer name parameter must be omitted. When a\n\t\t\ttask from this service is placed on a container instance, the container instance and\n\t\t\tport combination is registered as a target in the target group specified here.

\n\t\t

For Classic Load Balancers, this object must contain the load balancer name, the container name (as it\n\t\t\tappears in a container definition), and the container port to access from the load\n\t\t\tbalancer. The target group ARN parameter must be omitted. When a task from this service\n\t\t\tis placed on a container instance, the container instance is registered with the load\n\t\t\tbalancer specified here.

\n\t\t

Services with tasks that use the awsvpc network mode (for example, those\n\t\t\twith the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers are\n\t\t\tnot supported. Also, when you create any target groups for these services, you must\n\t\t\tchoose ip as the target type, not instance, because tasks that\n\t\t\tuse the awsvpc network mode are associated with an elastic network\n\t\t\tinterface, not an Amazon EC2 instance.

" } }, - "deploymentController": { - "target": "com.amazonaws.ecs#DeploymentController", + "serviceRegistries": { + "target": "com.amazonaws.ecs#ServiceRegistries", "traits": { - "smithy.api#documentation": "

The deployment controller to use for the service.

" + "smithy.api#documentation": "

The details of the service discovery registries to assign to this service. For more\n\t\t\tinformation, see Service\n\t\t\t\tDiscovery.

\n\t\t \n\t\t\t

Service discovery is supported for Fargate tasks if you are using\n\t\t\t\tplatform version v1.1.0 or later. For more information, see AWS Fargate Platform\n\t\t\t\t\tVersions.

\n\t\t
" } }, - "serviceRegistries": { - "target": "com.amazonaws.ecs#ServiceRegistries", + "deploymentController": { + "target": "com.amazonaws.ecs#DeploymentController", "traits": { - "smithy.api#documentation": "

The details of the service discovery registries to assign to this service. For more\n information, see Service\n Discovery.

\n \n

Service discovery is supported for Fargate tasks if you are using\n platform version v1.1.0 or later. For more information, see AWS Fargate Platform\n Versions.

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

The deployment controller to use for the service.

" } }, - "cluster": { - "target": "com.amazonaws.ecs#String", + "propagateTags": { + "target": "com.amazonaws.ecs#PropagateTags", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service.\n If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttasks in the service. If no value is specified, the tags are not propagated. Tags can\n\t\t\tonly be propagated to the tasks within the service during service creation. To add tags\n\t\t\tto a task after service creation, use the TagResource API\n\t\t\taction.

" } }, "schedulingStrategy": { "target": "com.amazonaws.ecs#SchedulingStrategy", "traits": { - "smithy.api#documentation": "

The scheduling strategy to use for the service. For more information, see Services.

\n

There are two service scheduler strategies available:

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

The scheduling strategy to use for the service. For more information, see Services.

\n\t\t

There are two service scheduler strategies available:

\n\t\t " } }, - "propagateTags": { - "target": "com.amazonaws.ecs#PropagateTags", + "networkConfiguration": { + "target": "com.amazonaws.ecs#NetworkConfiguration", "traits": { - "smithy.api#documentation": "

Specifies whether to propagate the tags from the task definition or the service to the\n tasks in the service. If no value is specified, the tags are not propagated. Tags can\n only be propagated to the tasks within the service during service creation. To add tags\n to a task after service creation, use the TagResource API\n action.

" + "smithy.api#documentation": "

The network configuration for the service. This parameter is required for task\n\t\t\tdefinitions that use the awsvpc network mode to receive their own elastic\n\t\t\tnetwork interface, and it is not supported for other network modes. For more\n\t\t\tinformation, see Task Networking\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

" } }, - "loadBalancers": { - "target": "com.amazonaws.ecs#LoadBalancers", + "platformVersion": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

A load balancer object representing the load balancers to use with your service. For\n more information, see Service Load Balancing in the\n Amazon Elastic Container Service Developer Guide.

\n

If the service is using the rolling update (ECS) deployment controller\n and using either an Application Load Balancer or Network Load Balancer, you can specify multiple target groups to attach to\n the service. The service-linked role is required for services that make use of multiple\n target groups. For more information, see Using Service-Linked Roles for Amazon ECS in the\n Amazon Elastic Container Service Developer Guide.

\n

If the service is using the CODE_DEPLOY deployment controller, the\n service is required to use either an Application Load Balancer or Network Load Balancer. When creating an AWS CodeDeploy deployment\n group, you specify two target groups (referred to as a targetGroupPair).\n During a deployment, AWS CodeDeploy determines which task set in your service has the status\n PRIMARY and associates one target group with it, and then associates\n the other target group with the replacement task set. The load balancer can also have up\n to two listeners: a required listener for production traffic and an optional listener\n that allows you perform validation tests with Lambda functions before routing production\n traffic to it.

\n

After you create a service using the ECS deployment controller, the load\n balancer name or target group ARN, container name, and container port specified in the\n service definition are immutable. If you are using the CODE_DEPLOY\n deployment controller, these values can be changed when updating the service.

\n

For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN,\n the container name (as it appears in a container definition), and the container port to\n access from the load balancer. When a task from this service is placed on a container\n instance, the container instance and port combination is registered as a target in the\n target group specified here.

\n

For Classic Load Balancers, this object must contain the load balancer name, the container name (as it\n appears in a container definition), and the container port to access from the load\n balancer. When a task from this service is placed on a container instance, the container\n instance is registered with the load balancer specified here.

\n

Services with tasks that use the awsvpc network mode (for example, those\n with the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers are\n not supported. Also, when you create any target groups for these services, you must\n choose ip as the target type, not instance, because tasks that\n use the awsvpc network mode are associated with an elastic network\n interface, not an Amazon EC2 instance.

" + "smithy.api#documentation": "

The platform version that your tasks in the service are running on. A platform version\n\t\t\tis specified only for tasks using the Fargate launch type. If one isn't\n\t\t\tspecified, the LATEST platform version is used by default. For more\n\t\t\tinformation, see AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

" } }, - "desiredCount": { - "target": "com.amazonaws.ecs#BoxedInteger", + "cluster": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The number of instantiations of the specified task definition to place and keep\n running on your cluster.

\n

This is required if schedulingStrategy is REPLICA or is not\n specified. If schedulingStrategy is DAEMON then this is not\n required.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } }, - "serviceName": { + "role": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of your service. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. Service names must be unique within\n a cluster, but you can have similarly named services in multiple clusters within a\n Region or across multiple Regions.

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

The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your\n\t\t\tload balancer on your behalf. This parameter is only permitted if you are using a load\n\t\t\tbalancer with your service and your task definition does not use the awsvpc\n\t\t\tnetwork mode. If you specify the role parameter, you must also specify a\n\t\t\tload balancer object with the loadBalancers parameter.

\n\t\t \n\t\t\t

If your account has already created the Amazon ECS service-linked role, that role is\n\t\t\t\tused by default for your service unless you specify a role here. The service-linked\n\t\t\t\trole is required if your task definition uses the awsvpc network mode\n\t\t\t\tor if the service is configured to use service discovery, an external deployment\n\t\t\t\tcontroller, multiple target groups, or Elastic Inference accelerators in which case\n\t\t\t\tyou should not specify a role here. For more information, see Using\n\t\t\t\t\tService-Linked Roles for Amazon ECS in the\n\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t
\n\t\t

If your specified role has a path other than /, then you must either\n\t\t\tspecify the full role ARN (this is recommended) or prefix the role name with the path.\n\t\t\tFor example, if a role with the name bar has a path of /foo/\n\t\t\tthen you would specify /foo/bar as the role name. For more information, see\n\t\t\t\tFriendly Names and Paths in the IAM User Guide.

" } }, - "role": { - "target": "com.amazonaws.ecs#String", + "deploymentConfiguration": { + "target": "com.amazonaws.ecs#DeploymentConfiguration", "traits": { - "smithy.api#documentation": "

The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your\n load balancer on your behalf. This parameter is only permitted if you are using a load\n balancer with your service and your task definition does not use the awsvpc\n network mode. If you specify the role parameter, you must also specify a\n load balancer object with the loadBalancers parameter.

\n \n

If your account has already created the Amazon ECS service-linked role, that role is\n used by default for your service unless you specify a role here. The service-linked\n role is required if your task definition uses the awsvpc network mode\n or if the service is configured to use service discovery, an external deployment\n controller, multiple target groups, or Elastic Inference accelerators in which case\n you should not specify a role here. For more information, see Using\n Service-Linked Roles for Amazon ECS in the\n Amazon Elastic Container Service Developer Guide.

\n
\n

If your specified role has a path other than /, then you must either\n specify the full role ARN (this is recommended) or prefix the role name with the path.\n For example, if a role with the name bar has a path of /foo/\n then you would specify /foo/bar as the role name. For more information, see\n Friendly Names and Paths in the IAM User Guide.

" + "smithy.api#documentation": "

Optional deployment parameters that control how many tasks run during the deployment\n\t\t\tand the ordering of stopping and starting tasks.

" } }, - "tags": { - "target": "com.amazonaws.ecs#Tags", + "serviceName": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the service to help you categorize and organize them.\n Each tag consists of a key and an optional value, both of which you define. When a\n service is deleted, the tags are deleted as well.

\n

The following basic restrictions apply to tags:

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

The name of your service. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. Service names must be unique within\n\t\t\ta cluster, but you can have similarly named services in multiple clusters within a\n\t\t\tRegion or across multiple Regions.

", + "smithy.api#required": {} } }, - "placementStrategy": { - "target": "com.amazonaws.ecs#PlacementStrategies", + "tags": { + "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The placement strategy objects to use for tasks in your service. You can specify a\n maximum of five strategy rules per service.

" + "smithy.api#documentation": "

The metadata that you apply to the service to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define. When a\n\t\t\tservice is deleted, the tags are deleted as well.

\n

The following basic restrictions apply to tags:

\n " } }, "enableECSManagedTags": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the tasks within the service. For\n more information, see Tagging Your Amazon ECS\n Resources in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the tasks within the service. For\n\t\t\tmore information, see Tagging Your Amazon ECS\n\t\t\t\tResources in the Amazon Elastic Container Service Developer Guide.

" } }, - "deploymentConfiguration": { - "target": "com.amazonaws.ecs#DeploymentConfiguration", + "placementStrategy": { + "target": "com.amazonaws.ecs#PlacementStrategies", "traits": { - "smithy.api#documentation": "

Optional deployment parameters that control how many tasks run during the deployment\n and the ordering of stopping and starting tasks.

" + "smithy.api#documentation": "

The placement strategy objects to use for tasks in your service. You can specify a\n\t\t\tmaximum of five strategy rules per service.

" } }, - "clientToken": { - "target": "com.amazonaws.ecs#String", + "desiredCount": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. Up to 32 ASCII characters are allowed.

" + "smithy.api#documentation": "

The number of instantiations of the specified task definition to place and keep\n\t\t\trunning on your cluster.

\n\t\t

This is required if schedulingStrategy is REPLICA or is not\n\t\t\tspecified. If schedulingStrategy is DAEMON then this is not\n\t\t\trequired.

" } }, - "platformVersion": { + "clientToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The platform version that your tasks in the service are running on. A platform version\n is specified only for tasks using the Fargate launch type. If one isn't\n specified, the LATEST platform version is used by default. For more\n information, see AWS Fargate Platform\n Versions in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n\t\t\trequest. Up to 32 ASCII characters are allowed.

" } }, "placementConstraints": { "target": "com.amazonaws.ecs#PlacementConstraints", "traits": { - "smithy.api#documentation": "

An array of placement constraint objects to use for tasks in your service. You can\n specify a maximum of 10 constraints per task (this limit includes constraints in the\n task definition and those specified at runtime).

" + "smithy.api#documentation": "

An array of placement constraint objects to use for tasks in your service. You can\n\t\t\tspecify a maximum of 10 constraints per task (this limit includes constraints in the\n\t\t\ttask definition and those specified at runtime).

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

The family and revision (family:revision) or\n full ARN of the task definition to run in your service. If a revision is\n not specified, the latest ACTIVE revision is used.

\n

A task definition must be specified if the service is using the ECS\n deployment controller.

" + "smithy.api#documentation": "

The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to run in your service. If a revision is\n\t\t\tnot specified, the latest ACTIVE revision is used.

\n\t\t

A task definition must be specified if the service is using either the\n\t\t\t\tECS or CODE_DEPLOY deployment controllers.

" } }, "healthCheckGracePeriodSeconds": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The period of time, in seconds, that the Amazon ECS service scheduler should ignore\n unhealthy Elastic Load Balancing target health checks after a task has first started. This is only used\n when your service is configured to use a load balancer. If your service has a load\n balancer defined and you don't specify a health check grace period value, the default\n value of 0 is used.

\n

If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you\n can specify a health check grace period of up to 2,147,483,647 seconds. During that\n time, the Amazon ECS service scheduler ignores health check status. This grace period can\n prevent the service scheduler from marking tasks as unhealthy and stopping them before\n they have time to come up.

" + "smithy.api#documentation": "

The period of time, in seconds, that the Amazon ECS service scheduler should ignore\n\t\t\tunhealthy Elastic Load Balancing target health checks after a task has first started. This is only used\n\t\t\twhen your service is configured to use a load balancer. If your service has a load\n\t\t\tbalancer defined and you don't specify a health check grace period value, the default\n\t\t\tvalue of 0 is used.

\n\t\t

If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you\n\t\t\tcan specify a health check grace period of up to 2,147,483,647 seconds. During that\n\t\t\ttime, the Amazon ECS service scheduler ignores health check status. This grace period can\n\t\t\tprevent the service scheduler from marking tasks as unhealthy and stopping them before\n\t\t\tthey have time to come up.

" } }, "capacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

The capacity provider strategy to use for the service.

\n

A capacity provider strategy consists of one or more capacity providers along with the\n base and weight to assign to them. A capacity provider\n must be associated with the cluster to be used in a capacity provider strategy. The\n PutClusterCapacityProviders API is used to associate a capacity\n provider with a cluster. Only capacity providers with an ACTIVE or\n UPDATING status can be used.

\n

If a capacityProviderStrategy is specified, the launchType\n parameter must be omitted. If no capacityProviderStrategy or\n launchType is specified, the\n defaultCapacityProviderStrategy for the cluster is used.

\n

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n

To use a AWS Fargate capacity provider, specify either the FARGATE or\n FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n available to all accounts and only need to be associated with a cluster to be\n used.

\n

The PutClusterCapacityProviders API operation is used to update the\n list of available capacity providers for a cluster after the cluster is created.

" + "smithy.api#documentation": "

The capacity provider strategy to use for the service.

\n\t\t

A capacity provider strategy consists of one or more capacity providers along with the\n\t\t\t\tbase and weight to assign to them. A capacity provider\n\t\t\tmust be associated with the cluster to be used in a capacity provider strategy. The\n\t\t\t\tPutClusterCapacityProviders API is used to associate a capacity\n\t\t\tprovider with a cluster. Only capacity providers with an ACTIVE or\n\t\t\t\tUPDATING status can be used.

\n\t\t

If a capacityProviderStrategy is specified, the launchType\n\t\t\tparameter must be omitted. If no capacityProviderStrategy or\n\t\t\t\tlaunchType is specified, the\n\t\t\t\tdefaultCapacityProviderStrategy for the cluster is used.

\n\t\t

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n\t\t

To use a AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

\n\t\t

The PutClusterCapacityProviders API operation is used to update the\n\t\t\tlist of available capacity providers for a cluster after the cluster is created.

" } }, "launchType": { "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

The launch type on which to run your service. For more information, see Amazon ECS\n Launch Types in the Amazon Elastic Container Service Developer Guide.

\n

If a launchType is specified, the capacityProviderStrategy\n parameter must be omitted.

" + "smithy.api#documentation": "

The launch type on which to run your service. For more information, see Amazon ECS\n\t\t\t\tLaunch Types in the Amazon Elastic Container Service Developer Guide.

\n\t\t

If a launchType is specified, the capacityProviderStrategy\n\t\t\tparameter must be omitted.

" } } } @@ -1876,7 +1876,7 @@ "service": { "target": "com.amazonaws.ecs#Service", "traits": { - "smithy.api#documentation": "

The full description of your service following the create call.

\n

If a service is using the ECS deployment controller, the\n deploymentController and taskSets parameters will not be\n returned.

\n

If the service is using the CODE_DEPLOY deployment controller, the\n deploymentController, taskSets and\n deployments parameters will be returned, however the\n deployments parameter will be an empty list.

" + "smithy.api#documentation": "

The full description of your service following the create call.

\n\t\t

If a service is using the ECS deployment controller, the\n\t\t\t\tdeploymentController and taskSets parameters will not be\n\t\t\treturned.

\n\t\t

If the service is using the CODE_DEPLOY deployment controller, the\n\t\t\t\tdeploymentController, taskSets and\n\t\t\t\tdeployments parameters will be returned, however the\n\t\t\t\tdeployments parameter will be an empty list.

" } } } @@ -1922,62 +1922,67 @@ } ], "traits": { - "smithy.api#documentation": "

Create a task set in the specified cluster and service. This is used when a service\n uses the EXTERNAL deployment controller type. For more information, see\n Amazon ECS Deployment\n Types in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Create a task set in the specified cluster and service. This is used when a service\n\t\t\tuses the EXTERNAL deployment controller type. For more information, see\n\t\t\t\tAmazon ECS Deployment\n\t\t\t\tTypes in the Amazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#CreateTaskSetRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.ecs#Tags", + "capacityProviderStrategy": { + "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the task set to help you categorize and organize them.\n Each tag consists of a key and an optional value, both of which you define. When a\n service is deleted, the tags are deleted as well.

\n

The following basic restrictions apply to tags:

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

The capacity provider strategy to use for the task set.

\n\t\t

A capacity provider strategy consists of one or more capacity providers along with the\n\t\t\t\tbase and weight to assign to them. A capacity provider\n\t\t\tmust be associated with the cluster to be used in a capacity provider strategy. The\n\t\t\t\tPutClusterCapacityProviders API is used to associate a capacity\n\t\t\tprovider with a cluster. Only capacity providers with an ACTIVE or\n\t\t\t\tUPDATING status can be used.

\n\t\t

If a capacityProviderStrategy is specified, the launchType\n\t\t\tparameter must be omitted. If no capacityProviderStrategy or\n\t\t\t\tlaunchType is specified, the\n\t\t\t\tdefaultCapacityProviderStrategy for the cluster is used.

\n\t\t

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n\t\t

To use a AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

\n\t\t

The PutClusterCapacityProviders API operation is used to update the\n\t\t\tlist of available capacity providers for a cluster after the cluster is created.

" } }, "scale": { "target": "com.amazonaws.ecs#Scale" }, - "loadBalancers": { - "target": "com.amazonaws.ecs#LoadBalancers", + "tags": { + "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

A load balancer object representing the load balancer to use with the task set. The\n supported load balancer types are either an Application Load Balancer or a Network Load Balancer.

" + "smithy.api#documentation": "

The metadata that you apply to the task set to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define. When a\n\t\t\tservice is deleted, the tags are deleted as well.

\n

The following basic restrictions apply to tags:

\n " + } + }, + "launchType": { + "target": "com.amazonaws.ecs#LaunchType", + "traits": { + "smithy.api#documentation": "

The launch type that new tasks in the task set will use. For more information, see\n\t\t\t\tAmazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

\n\t\t

If a launchType is specified, the capacityProviderStrategy\n\t\t\tparameter must be omitted.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. Up to 32 ASCII characters are allowed.

" + "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n\t\t\trequest. Up to 32 ASCII characters are allowed.

" } }, - "externalId": { + "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

An optional non-unique tag that identifies this task set in external systems. If the\n task set is associated with a service discovery registry, the tasks in this task set\n will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided\n value.

" + "smithy.api#documentation": "

The platform version that the tasks in the task set should use. A platform version is\n\t\t\tspecified only for tasks using the Fargate launch type. If one isn't\n\t\t\tspecified, the LATEST platform version is used by default.

" } }, - "networkConfiguration": { - "target": "com.amazonaws.ecs#NetworkConfiguration" - }, "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the\n task set in.

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

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the\n\t\t\ttask set in.

", "smithy.api#required": {} } }, - "taskDefinition": { - "target": "com.amazonaws.ecs#String", + "loadBalancers": { + "target": "com.amazonaws.ecs#LoadBalancers", "traits": { - "smithy.api#documentation": "

The task definition for the tasks in the task set to use.

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

A load balancer object representing the load balancer to use with the task set. The\n\t\t\tsupported load balancer types are either an Application Load Balancer or a Network Load Balancer.

" } }, - "platformVersion": { + "externalId": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The platform version that the tasks in the task set should use. A platform version is\n specified only for tasks using the Fargate launch type. If one isn't\n specified, the LATEST platform version is used by default.

" + "smithy.api#documentation": "

An optional non-unique tag that identifies this task set in external systems. If the\n\t\t\ttask set is associated with a service discovery registry, the tasks in this task set\n\t\t\twill have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided\n\t\t\tvalue.

" } }, + "networkConfiguration": { + "target": "com.amazonaws.ecs#NetworkConfiguration" + }, "service": { "target": "com.amazonaws.ecs#String", "traits": { @@ -1985,22 +1990,17 @@ "smithy.api#required": {} } }, - "serviceRegistries": { - "target": "com.amazonaws.ecs#ServiceRegistries", - "traits": { - "smithy.api#documentation": "

The details of the service discovery registries to assign to this task set. For more\n information, see Service\n Discovery.

" - } - }, - "capacityProviderStrategy": { - "target": "com.amazonaws.ecs#CapacityProviderStrategy", + "taskDefinition": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The capacity provider strategy to use for the task set.

\n

A capacity provider strategy consists of one or more capacity providers along with the\n base and weight to assign to them. A capacity provider\n must be associated with the cluster to be used in a capacity provider strategy. The\n PutClusterCapacityProviders API is used to associate a capacity\n provider with a cluster. Only capacity providers with an ACTIVE or\n UPDATING status can be used.

\n

If a capacityProviderStrategy is specified, the launchType\n parameter must be omitted. If no capacityProviderStrategy or\n launchType is specified, the\n defaultCapacityProviderStrategy for the cluster is used.

\n

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n

To use a AWS Fargate capacity provider, specify either the FARGATE or\n FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n available to all accounts and only need to be associated with a cluster to be\n used.

\n

The PutClusterCapacityProviders API operation is used to update the\n list of available capacity providers for a cluster after the cluster is created.

" + "smithy.api#documentation": "

The task definition for the tasks in the task set to use.

", + "smithy.api#required": {} } }, - "launchType": { - "target": "com.amazonaws.ecs#LaunchType", + "serviceRegistries": { + "target": "com.amazonaws.ecs#ServiceRegistries", "traits": { - "smithy.api#documentation": "

The launch type that new tasks in the task set will use. For more information, see\n Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

\n

If a launchType is specified, the capacityProviderStrategy\n parameter must be omitted.

" + "smithy.api#documentation": "

The details of the service discovery registries to assign to this task set. For more\n\t\t\tinformation, see Service\n\t\t\t\tDiscovery.

" } } } @@ -2033,23 +2033,23 @@ } ], "traits": { - "smithy.api#documentation": "

Disables an account setting for a specified IAM user, IAM role, or the root user for\n an account.

" + "smithy.api#documentation": "

Disables an account setting for a specified IAM user, IAM role, or the root user for\n\t\t\tan account.

" } }, "com.amazonaws.ecs#DeleteAccountSettingRequest": { "type": "structure", "members": { - "name": { - "target": "com.amazonaws.ecs#SettingName", + "principalArn": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The resource name for which to disable the account setting. If\n serviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n affected. If taskLongArnFormat is specified, the ARN and resource ID for\n your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n specified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n awsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n instances is affected.

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

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you\n\t\t\tspecify the root user, it disables the account setting for all IAM users, IAM roles, and\n\t\t\tthe root user of the account unless an IAM user or role explicitly overrides these\n\t\t\tsettings. If this field is omitted, the setting is changed only for the authenticated\n\t\t\tuser.

" } }, - "principalArn": { - "target": "com.amazonaws.ecs#String", + "name": { + "target": "com.amazonaws.ecs#SettingName", "traits": { - "smithy.api#documentation": "

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you\n specify the root user, it disables the account setting for all IAM users, IAM roles, and\n the root user of the account unless an IAM user or role explicitly overrides these\n settings. If this field is omitted, the setting is changed only for the authenticated\n user.

" + "smithy.api#documentation": "

The resource name for which to disable the account setting. If\n\t\t\t\tserviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n\t\t\taffected. If taskLongArnFormat is specified, the ARN and resource ID for\n\t\t\tyour Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n\t\t\tspecified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n\t\t\t\tawsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n\t\t\tinstances is affected.

", + "smithy.api#required": {} } } } @@ -2094,14 +2094,14 @@ "attributes": { "target": "com.amazonaws.ecs#Attributes", "traits": { - "smithy.api#documentation": "

The attributes to delete from your resource. You can specify up to 10 attributes per\n request. For custom attributes, specify the attribute name and target ID, but do not\n specify the value. If you specify the target ID using the short form, you must also\n specify the target type.

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

The attributes to delete from your resource. You can specify up to 10 attributes per\n\t\t\trequest. For custom attributes, specify the attribute name and target ID, but do not\n\t\t\tspecify the value. If you specify the target ID using the short form, you must also\n\t\t\tspecify the target type.

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

The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete\n attributes. If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete\n\t\t\tattributes. If you do not specify a cluster, the default cluster is assumed.

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

Deletes the specified capacity provider.

\n \n

The FARGATE and FARGATE_SPOT capacity providers are\n reserved and cannot be deleted. You can disassociate them from a cluster using\n either the PutClusterCapacityProviders API or by deleting the\n cluster.

\n
\n

Prior to a capacity provider being deleted, the capacity provider must be removed from\n the capacity provider strategy from all services. The UpdateService\n API can be used to remove a capacity provider from a service's capacity provider\n strategy. When updating a service, the forceNewDeployment option can be\n used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity\n provider are transitioned to use the capacity from the remaining capacity providers.\n Only capacity providers that are not associated with a cluster can be deleted. To remove\n a capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

" + "smithy.api#documentation": "

Deletes the specified capacity provider.

\n\t\t \n\t\t\t

The FARGATE and FARGATE_SPOT capacity providers are\n\t\t\t\treserved and cannot be deleted. You can disassociate them from a cluster using\n\t\t\t\teither the PutClusterCapacityProviders API or by deleting the\n\t\t\t\tcluster.

\n\t\t
\n\t\t

Prior to a capacity provider being deleted, the capacity provider must be removed from\n\t\t\tthe capacity provider strategy from all services. The UpdateService\n\t\t\tAPI can be used to remove a capacity provider from a service's capacity provider\n\t\t\tstrategy. When updating a service, the forceNewDeployment option can be\n\t\t\tused to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity\n\t\t\tprovider are transitioned to use the capacity from the remaining capacity providers.\n\t\t\tOnly capacity providers that are not associated with a cluster can be deleted. To remove\n\t\t\ta capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

" } }, "com.amazonaws.ecs#DeleteCapacityProviderRequest": { @@ -2195,7 +2195,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified cluster. The cluster will transition to the\n INACTIVE state. Clusters with an INACTIVE status may\n remain discoverable in your account for a period of time. However, this behavior is\n subject to change in the future, so you should not rely on INACTIVE\n clusters persisting.

\n

You must deregister all container instances from this cluster before you may delete\n it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

" + "smithy.api#documentation": "

Deletes the specified cluster. The cluster will transition to the\n\t\t\t\tINACTIVE state. Clusters with an INACTIVE status may\n\t\t\tremain discoverable in your account for a period of time. However, this behavior is\n\t\t\tsubject to change in the future, so you should not rely on INACTIVE\n\t\t\tclusters persisting.

\n\t\t

You must deregister all container instances from this cluster before you may delete\n\t\t\tit. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

" } }, "com.amazonaws.ecs#DeleteClusterRequest": { @@ -2247,22 +2247,22 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a specified service within a cluster. You can delete a service if you have no\n running tasks in it and the desired task count is zero. If the service is actively\n maintaining tasks, you cannot delete it, and you must update the service to a desired\n task count of zero. For more information, see UpdateService.

\n \n

When you delete a service, if there are still running tasks that require cleanup,\n the service status moves from ACTIVE to DRAINING, and the\n service is no longer visible in the console or in the ListServices\n API operation. After all tasks have transitioned to either STOPPING or\n STOPPED status, the service status moves from DRAINING\n to INACTIVE. Services in the DRAINING or\n INACTIVE status can still be viewed with the DescribeServices API operation. However, in the future,\n INACTIVE services may be cleaned up and purged from Amazon ECS record\n keeping, and DescribeServices calls on those services return a\n ServiceNotFoundException error.

\n
\n \n

If you attempt to create a new service with the same name as an existing service\n in either ACTIVE or DRAINING status, you receive an\n error.

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

Deletes a specified service within a cluster. You can delete a service if you have no\n\t\t\trunning tasks in it and the desired task count is zero. If the service is actively\n\t\t\tmaintaining tasks, you cannot delete it, and you must update the service to a desired\n\t\t\ttask count of zero. For more information, see UpdateService.

\n\t\t \n\t\t\t

When you delete a service, if there are still running tasks that require cleanup,\n\t\t\t\tthe service status moves from ACTIVE to DRAINING, and the\n\t\t\t\tservice is no longer visible in the console or in the ListServices\n\t\t\t\tAPI operation. After all tasks have transitioned to either STOPPING or\n\t\t\t\t\tSTOPPED status, the service status moves from DRAINING\n\t\t\t\tto INACTIVE. Services in the DRAINING or\n\t\t\t\t\tINACTIVE status can still be viewed with the DescribeServices API operation. However, in the future,\n\t\t\t\t\tINACTIVE services may be cleaned up and purged from Amazon ECS record\n\t\t\t\tkeeping, and DescribeServices calls on those services return a\n\t\t\t\t\tServiceNotFoundException error.

\n\t\t
\n\t\t \n\t\t\t

If you attempt to create a new service with the same name as an existing service\n\t\t\t\tin either ACTIVE or DRAINING status, you receive an\n\t\t\t\terror.

\n\t\t
" } }, "com.amazonaws.ecs#DeleteServiceRequest": { "type": "structure", "members": { - "force": { - "target": "com.amazonaws.ecs#BoxedBoolean", + "cluster": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

If true, allows you to delete a service even if it has not been scaled\n down to zero tasks. It is only necessary to use this if the service is using the\n REPLICA scheduling strategy.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } }, - "cluster": { - "target": "com.amazonaws.ecs#String", + "force": { + "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete.\n If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

If true, allows you to delete a service even if it has not been scaled\n\t\t\tdown to zero tasks. It is only necessary to use this if the service is using the\n\t\t\t\tREPLICA scheduling strategy.

" } }, "service": { @@ -2323,37 +2323,37 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a specified task set within a service. This is used when a service uses the\n EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Deletes a specified task set within a service. This is used when a service uses the\n\t\t\t\tEXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#DeleteTaskSetRequest": { "type": "structure", "members": { - "taskSet": { - "target": "com.amazonaws.ecs#String", + "force": { + "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

The task set ID or full Amazon Resource Name (ARN) of the task set to delete.

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

If true, this allows you to delete a task set even if it hasn't been\n\t\t\tscaled down to zero.

" } }, - "service": { + "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to\n delete.

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

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n\t\t\tset exists in to delete.

", "smithy.api#required": {} } }, - "cluster": { + "service": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n set exists in to delete.

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

The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to\n\t\t\tdelete.

", "smithy.api#required": {} } }, - "force": { - "target": "com.amazonaws.ecs#BoxedBoolean", + "taskSet": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

If true, this allows you to delete a task set even if it hasn't been\n scaled down to zero.

" + "smithy.api#documentation": "

The task set ID or full Amazon Resource Name (ARN) of the task set to delete.

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

The capacity provider strategy that the deployment is using.

" } }, - "updatedAt": { - "target": "com.amazonaws.ecs#Timestamp", + "launchType": { + "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the service deployment was last updated.

" + "smithy.api#documentation": "

The launch type the tasks in the service are using. For more information, see Amazon ECS\n\t\t\t\tLaunch Types in the Amazon Elastic Container Service Developer Guide.

" } }, - "desiredCount": { - "target": "com.amazonaws.ecs#Integer", + "updatedAt": { + "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The most recent desired count of tasks that was specified for the service to deploy or\n maintain.

" + "smithy.api#documentation": "

The Unix timestamp for when the service deployment was last updated.

" } }, - "networkConfiguration": { - "target": "com.amazonaws.ecs#NetworkConfiguration", + "id": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The VPC subnet and security group configuration for tasks that receive their own\n elastic network interface by using the awsvpc networking mode.

" + "smithy.api#documentation": "

The ID of the deployment.

" } }, - "platformVersion": { - "target": "com.amazonaws.ecs#String", + "runningCount": { + "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The platform version on which your tasks in the service are running. A platform\n version is only specified for tasks using the Fargate launch type. If one\n is not specified, the LATEST platform version is used by default. For more\n information, see AWS Fargate Platform\n Versions in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The number of tasks in the deployment that are in the RUNNING\n\t\t\tstatus.

" } }, "createdAt": { @@ -2408,42 +2408,42 @@ "pendingCount": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The number of tasks in the deployment that are in the PENDING\n status.

" + "smithy.api#documentation": "

The number of tasks in the deployment that are in the PENDING\n\t\t\tstatus.

" } }, - "status": { - "target": "com.amazonaws.ecs#String", + "networkConfiguration": { + "target": "com.amazonaws.ecs#NetworkConfiguration", "traits": { - "smithy.api#documentation": "

The status of the deployment. The following describes each state:

\n
\n
PRIMARY
\n
\n

The most recent deployment of a service.

\n
\n
ACTIVE
\n
\n

A service deployment that still has running tasks, but are in the process\n of being replaced with a new PRIMARY deployment.

\n
\n
INACTIVE
\n
\n

A deployment that has been completely replaced.

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

The VPC subnet and security group configuration for tasks that receive their own\n elastic network interface by using the awsvpc networking mode.

" } }, - "runningCount": { + "desiredCount": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The number of tasks in the deployment that are in the RUNNING\n status.

" + "smithy.api#documentation": "

The most recent desired count of tasks that was specified for the service to deploy or\n\t\t\tmaintain.

" } }, - "launchType": { - "target": "com.amazonaws.ecs#LaunchType", + "status": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The launch type the tasks in the service are using. For more information, see Amazon ECS\n Launch Types in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The status of the deployment. The following describes each state:

\n\t\t
\n
PRIMARY
\n
\n\t\t\t\t\t

The most recent deployment of a service.

\n\t\t\t\t
\n
ACTIVE
\n
\n\t\t\t\t\t

A service deployment that still has running tasks, but are in the process\n\t\t\t\t\t\tof being replaced with a new PRIMARY deployment.

\n\t\t\t\t
\n
INACTIVE
\n
\n\t\t\t\t\t

A deployment that has been completely replaced.

\n\t\t\t\t
\n
" } }, - "id": { + "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The ID of the deployment.

" + "smithy.api#documentation": "

The platform version on which your tasks in the service are running. A platform\n\t\t\tversion is only specified for tasks using the Fargate launch type. If one\n\t\t\tis not specified, the LATEST platform version is used by default. For more\n\t\t\tinformation, see AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

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

The most recent task definition that was specified for the tasks in the service to\n use.

" + "smithy.api#documentation": "

The most recent task definition that was specified for the tasks in the service to\n\t\t\tuse.

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

The details of an Amazon ECS service deployment. This is used only when a service uses the\n ECS deployment controller type.

" + "smithy.api#documentation": "

The details of an Amazon ECS service deployment. This is used only when a service uses the\n\t\t\t\tECS deployment controller type.

" } }, "com.amazonaws.ecs#DeploymentConfiguration": { @@ -2452,18 +2452,18 @@ "minimumHealthyPercent": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

If a service is using the rolling update (ECS) deployment type, the\n minimum healthy percent represents a lower limit on\n the number of tasks in a service that must remain in the RUNNING state\n during a deployment, as a percentage of the desired number of tasks (rounded up to the\n nearest integer), and while any container instances are in the DRAINING\n state if the service contains tasks using the EC2 launch type. This\n parameter enables you to deploy without using additional cluster capacity. For example,\n if your service has a desired number of four tasks and a minimum healthy percent of 50%,\n the scheduler may stop two existing tasks to free up cluster capacity before starting\n two new tasks. Tasks for services that do not use a load balancer\n are considered healthy if they are in the RUNNING state; tasks for services\n that do use a load balancer are considered healthy if they are in\n the RUNNING state and they are reported as healthy by the load balancer.\n The default value for minimum healthy percent is 100%.

\n

If a service is using the blue/green (CODE_DEPLOY) or\n EXTERNAL deployment types and tasks that use the EC2\n launch type, the minimum healthy percent value is set\n to the default value and is used to define the lower limit on the number of the tasks in\n the service that remain in the RUNNING state while the container instances\n are in the DRAINING state. If the tasks in the service use the\n Fargate launch type, the minimum healthy percent value is not used,\n although it is returned when describing your service.

" + "smithy.api#documentation": "

If a service is using the rolling update (ECS) deployment type, the\n\t\t\t\tminimum healthy percent represents a lower limit on\n\t\t\tthe number of tasks in a service that must remain in the RUNNING state\n\t\t\tduring a deployment, as a percentage of the desired number of tasks (rounded up to the\n\t\t\tnearest integer), and while any container instances are in the DRAINING\n\t\t\tstate if the service contains tasks using the EC2 launch type. This\n\t\t\tparameter enables you to deploy without using additional cluster capacity. For example,\n\t\t\tif your service has a desired number of four tasks and a minimum healthy percent of 50%,\n\t\t\tthe scheduler may stop two existing tasks to free up cluster capacity before starting\n\t\t\ttwo new tasks. Tasks for services that do not use a load balancer\n\t\t\tare considered healthy if they are in the RUNNING state; tasks for services\n\t\t\tthat do use a load balancer are considered healthy if they are in\n\t\t\tthe RUNNING state and they are reported as healthy by the load balancer.\n\t\t\tThe default value for minimum healthy percent is 100%.

\n\t\t

If a service is using the blue/green (CODE_DEPLOY) or\n\t\t\t\tEXTERNAL deployment types and tasks that use the EC2\n\t\t\tlaunch type, the minimum healthy percent value is set\n\t\t\tto the default value and is used to define the lower limit on the number of the tasks in\n\t\t\tthe service that remain in the RUNNING state while the container instances\n\t\t\tare in the DRAINING state. If the tasks in the service use the\n\t\t\tFargate launch type, the minimum healthy percent value is not used,\n\t\t\talthough it is returned when describing your service.

" } }, "maximumPercent": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

If a service is using the rolling update (ECS) deployment type, the\n maximum percent parameter represents an upper limit\n on the number of tasks in a service that are allowed in the RUNNING or\n PENDING state during a deployment, as a percentage of the desired\n number of tasks (rounded down to the nearest integer), and while any container instances\n are in the DRAINING state if the service contains tasks using the\n EC2 launch type. This parameter enables you to define the deployment batch\n size. For example, if your service has a desired number of four tasks and a maximum\n percent value of 200%, the scheduler may start four new tasks before stopping the four\n older tasks (provided that the cluster resources required to do this are available). The\n default value for maximum percent is 200%.

\n

If a service is using the blue/green (CODE_DEPLOY) or\n EXTERNAL deployment types and tasks that use the EC2\n launch type, the maximum percent value is set to the\n default value and is used to define the upper limit on the number of the tasks in the\n service that remain in the RUNNING state while the container instances are\n in the DRAINING state. If the tasks in the service use the\n Fargate launch type, the maximum percent value is not used, although it is\n returned when describing your service.

" + "smithy.api#documentation": "

If a service is using the rolling update (ECS) deployment type, the\n\t\t\t\tmaximum percent parameter represents an upper limit\n\t\t\ton the number of tasks in a service that are allowed in the RUNNING or\n\t\t\t\tPENDING state during a deployment, as a percentage of the desired\n\t\t\tnumber of tasks (rounded down to the nearest integer), and while any container instances\n\t\t\tare in the DRAINING state if the service contains tasks using the\n\t\t\tEC2 launch type. This parameter enables you to define the deployment batch\n\t\t\tsize. For example, if your service has a desired number of four tasks and a maximum\n\t\t\tpercent value of 200%, the scheduler may start four new tasks before stopping the four\n\t\t\tolder tasks (provided that the cluster resources required to do this are available). The\n\t\t\tdefault value for maximum percent is 200%.

\n\t\t

If a service is using the blue/green (CODE_DEPLOY) or\n\t\t\t\tEXTERNAL deployment types and tasks that use the EC2\n\t\t\tlaunch type, the maximum percent value is set to the\n\t\t\tdefault value and is used to define the upper limit on the number of the tasks in the\n\t\t\tservice that remain in the RUNNING state while the container instances are\n\t\t\tin the DRAINING state. If the tasks in the service use the\n\t\t\tFargate launch type, the maximum percent value is not used, although it is\n\t\t\treturned when describing your service.

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

Optional deployment parameters that control how many tasks run during a deployment and\n the ordering of stopping and starting tasks.

" + "smithy.api#documentation": "

Optional deployment parameters that control how many tasks run during a deployment and\n\t\t\tthe ordering of stopping and starting tasks.

" } }, "com.amazonaws.ecs#DeploymentController": { @@ -2472,7 +2472,7 @@ "type": { "target": "com.amazonaws.ecs#DeploymentControllerType", "traits": { - "smithy.api#documentation": "

The deployment controller type to use.

\n

There are three deployment controller types available:

\n
\n
ECS
\n
\n

The rolling update (ECS) deployment type involves replacing\n the current running version of the container with the latest version. The\n number of containers Amazon ECS adds or removes from the service during a rolling\n update is controlled by adjusting the minimum and maximum number of healthy\n tasks allowed during a service deployment, as specified in the DeploymentConfiguration.

\n
\n
CODE_DEPLOY
\n
\n

The blue/green (CODE_DEPLOY) deployment type uses the\n blue/green deployment model powered by AWS CodeDeploy, which allows you to verify a\n new deployment of a service before sending production traffic to it.

\n
\n
EXTERNAL
\n
\n

The external (EXTERNAL) deployment type enables you to use\n any third-party deployment controller for full control over the deployment\n process for an Amazon ECS service.

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

The deployment controller type to use.

\n\t\t

There are three deployment controller types available:

\n\t\t
\n
ECS
\n
\n\t\t\t\t\t

The rolling update (ECS) deployment type involves replacing\n\t\t\t\t\t\tthe current running version of the container with the latest version. The\n\t\t\t\t\t\tnumber of containers Amazon ECS adds or removes from the service during a rolling\n\t\t\t\t\t\tupdate is controlled by adjusting the minimum and maximum number of healthy\n\t\t\t\t\t\ttasks allowed during a service deployment, as specified in the DeploymentConfiguration.

\n\t\t\t\t
\n
CODE_DEPLOY
\n
\n\t\t\t\t\t

The blue/green (CODE_DEPLOY) deployment type uses the\n\t\t\t\t\t\tblue/green deployment model powered by AWS CodeDeploy, which allows you to verify a\n\t\t\t\t\t\tnew deployment of a service before sending production traffic to it.

\n\t\t\t\t
\n
EXTERNAL
\n
\n\t\t\t\t\t

The external (EXTERNAL) deployment type enables you to use\n\t\t\t\t\t\tany third-party deployment controller for full control over the deployment\n\t\t\t\t\t\tprocess for an Amazon ECS service.

\n\t\t\t\t
\n
", "smithy.api#required": {} } } @@ -2529,7 +2529,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deregisters an Amazon ECS container instance from the specified cluster. This instance is\n no longer available to run tasks.

\n

If you intend to use the container instance for some other purpose after\n deregistration, you should stop all of the tasks running on the container instance\n before deregistration. That prevents any orphaned tasks from consuming resources.

\n

Deregistering a container instance removes the instance from a cluster, but it does\n not terminate the EC2 instance. If you are finished using the instance, be sure to\n terminate it in the Amazon EC2 console to stop billing.

\n \n

If you terminate a running container instance, Amazon ECS automatically deregisters the\n instance from your cluster (stopped container instances or instances with\n disconnected agents are not automatically deregistered when terminated).

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

Deregisters an Amazon ECS container instance from the specified cluster. This instance is\n\t\t\tno longer available to run tasks.

\n\t\t

If you intend to use the container instance for some other purpose after\n\t\t\tderegistration, you should stop all of the tasks running on the container instance\n\t\t\tbefore deregistration. That prevents any orphaned tasks from consuming resources.

\n\t\t

Deregistering a container instance removes the instance from a cluster, but it does\n\t\t\tnot terminate the EC2 instance. If you are finished using the instance, be sure to\n\t\t\tterminate it in the Amazon EC2 console to stop billing.

\n\t\t \n\t\t\t

If you terminate a running container instance, Amazon ECS automatically deregisters the\n\t\t\t\tinstance from your cluster (stopped container instances or instances with\n\t\t\t\tdisconnected agents are not automatically deregistered when terminated).

\n\t\t
" } }, "com.amazonaws.ecs#DeregisterContainerInstanceRequest": { @@ -2538,20 +2538,20 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to\n deregister. If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to\n\t\t\tderegister. If you do not specify a cluster, the default cluster is assumed.

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

The container instance ID or full ARN of the container instance to deregister.\n The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

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

The container instance ID or full ARN of the container instance to deregister.\n\t\t\tThe ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

", "smithy.api#required": {} } }, "force": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

Forces the deregistration of the container instance. If you have tasks running on the\n container instance when you deregister it with the force option, these\n tasks remain running until you terminate the instance or the tasks stop through some\n other means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If\n an orphaned task on your container instance is part of an Amazon ECS service, then the\n service scheduler starts another copy of that task, on a different container instance if\n possible.

\n

Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer\n target group are deregistered. They begin connection draining according to the settings\n on the load balancer or target group.

" + "smithy.api#documentation": "

Forces the deregistration of the container instance. If you have tasks running on the\n\t\t\tcontainer instance when you deregister it with the force option, these\n\t\t\ttasks remain running until you terminate the instance or the tasks stop through some\n\t\t\tother means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If\n\t\t\tan orphaned task on your container instance is part of an Amazon ECS service, then the\n\t\t\tservice scheduler starts another copy of that task, on a different container instance if\n\t\t\tpossible.

\n\t\t

Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer\n\t\t\ttarget group are deregistered. They begin connection draining according to the settings\n\t\t\ton the load balancer or target group.

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

Deregisters the specified task definition by family and revision. Upon deregistration,\n the task definition is marked as INACTIVE. Existing tasks and services that\n reference an INACTIVE task definition continue to run without disruption.\n Existing services that reference an INACTIVE task definition can still\n scale up or down by modifying the service's desired count.

\n

You cannot use an INACTIVE task definition to run new tasks or create new\n services, and you cannot update an existing service to reference an\n INACTIVE task definition. However, there may be up to a 10-minute\n window following deregistration where these restrictions have not yet taken\n effect.

\n \n

At this time, INACTIVE task definitions remain discoverable in your\n account indefinitely. However, this behavior is subject to change in the future, so\n you should not rely on INACTIVE task definitions persisting beyond the\n lifecycle of any associated tasks and services.

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

Deregisters the specified task definition by family and revision. Upon deregistration,\n\t\t\tthe task definition is marked as INACTIVE. Existing tasks and services that\n\t\t\treference an INACTIVE task definition continue to run without disruption.\n\t\t\tExisting services that reference an INACTIVE task definition can still\n\t\t\tscale up or down by modifying the service's desired count.

\n\t\t

You cannot use an INACTIVE task definition to run new tasks or create new\n\t\t\tservices, and you cannot update an existing service to reference an\n\t\t\t\tINACTIVE task definition. However, there may be up to a 10-minute\n\t\t\twindow following deregistration where these restrictions have not yet taken\n\t\t\teffect.

\n\t\t \n\t\t\t

At this time, INACTIVE task definitions remain discoverable in your\n\t\t\t\taccount indefinitely. However, this behavior is subject to change in the future, so\n\t\t\t\tyou should not rely on INACTIVE task definitions persisting beyond the\n\t\t\t\tlifecycle of any associated tasks and services.

\n\t\t
" } }, "com.amazonaws.ecs#DeregisterTaskDefinitionRequest": { @@ -2596,7 +2596,7 @@ "taskDefinition": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The family and revision (family:revision) or\n full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a\n revision.

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

The family and revision (family:revision) or\n\t\t\tfull Amazon Resource Name (ARN) of the task definition to deregister. You must specify a\n\t\t\t\trevision.

", "smithy.api#required": {} } } @@ -2642,25 +2642,25 @@ "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The maximum number of account setting results returned by\n DescribeCapacityProviders in paginated output. When this parameter is\n used, DescribeCapacityProviders only returns maxResults\n results in a single page along with a nextToken response element. The\n remaining results of the initial request can be seen by sending another\n DescribeCapacityProviders request with the returned\n nextToken value. This value can be between\n 1 and 10. If this\n parameter is not used, then DescribeCapacityProviders returns up to\n 10 results and a nextToken value\n if applicable.

" + "smithy.api#documentation": "

The maximum number of account setting results returned by\n\t\t\t\tDescribeCapacityProviders in paginated output. When this parameter is\n\t\t\tused, DescribeCapacityProviders only returns maxResults\n\t\t\tresults in a single page along with a nextToken response element. The\n\t\t\tremaining results of the initial request can be seen by sending another\n\t\t\t\tDescribeCapacityProviders request with the returned\n\t\t\t\tnextToken value. This value can be between\n\t\t\t1 and 10. If this\n\t\t\tparameter is not used, then DescribeCapacityProviders returns up to\n\t\t\t10 results and a nextToken value\n\t\t\tif applicable.

" } }, - "nextToken": { - "target": "com.amazonaws.ecs#String", + "capacityProviders": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n DescribeCapacityProviders request where maxResults was\n used and the results exceeded the value of that parameter. Pagination continues from the\n end of the previous results that returned the nextToken value.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to\n\t\t\t\t100 capacity providers can be described in an action.

" } }, - "capacityProviders": { - "target": "com.amazonaws.ecs#StringList", + "nextToken": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to\n 100 capacity providers can be described in an action.

" + "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n\t\t\t\tDescribeCapacityProviders request where maxResults was\n\t\t\tused and the results exceeded the value of that parameter. Pagination continues from the\n\t\t\tend of the previous results that returned the nextToken value.

\n\t\t \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, "include": { "target": "com.amazonaws.ecs#CapacityProviderFieldList", "traits": { - "smithy.api#documentation": "

Specifies whether or not you want to see the resource tags for the capacity provider.\n If TAGS is specified, the tags are included in the response. If this field\n is omitted, tags are not included in the response.

" + "smithy.api#documentation": "

Specifies whether or not you want to see the resource tags for the capacity provider.\n\t\t\tIf TAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags are not included in the response.

" } } } @@ -2674,16 +2674,16 @@ "smithy.api#documentation": "

The list of capacity providers.

" } }, - "failures": { - "target": "com.amazonaws.ecs#Failures", + "nextToken": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Any failures associated with the call.

" + "smithy.api#documentation": "

The nextToken value to include in a future\n\t\t\t\tDescribeCapacityProviders request. When the results of a\n\t\t\t\tDescribeCapacityProviders request exceed maxResults, this\n\t\t\tvalue can be used to retrieve the next page of results. This value is null\n\t\t\twhen there are no more results to return.

" } }, - "nextToken": { - "target": "com.amazonaws.ecs#String", + "failures": { + "target": "com.amazonaws.ecs#Failures", "traits": { - "smithy.api#documentation": "

The nextToken value to include in a future\n DescribeCapacityProviders request. When the results of a\n DescribeCapacityProviders request exceed maxResults, this\n value can be used to retrieve the next page of results. This value is null\n when there are no more results to return.

" + "smithy.api#documentation": "

Any failures associated with the call.

" } } } @@ -2717,13 +2717,13 @@ "clusters": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries.\n If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } }, "include": { "target": "com.amazonaws.ecs#ClusterFieldList", "traits": { - "smithy.api#documentation": "

Whether to include additional information about your clusters in the response. If this\n field is omitted, the attachments, statistics, and tags are not included.

\n

If ATTACHMENTS is specified, the attachments for the container instances\n or tasks within the cluster are included.

\n

If SETTINGS is specified, the settings for the cluster are\n included.

\n

If STATISTICS is specified, the following additional information,\n separated by launch type, is included:

\n \n

If TAGS is specified, the metadata tags associated with the cluster are\n included.

" + "smithy.api#documentation": "

Whether to include additional information about your clusters in the response. If this\n\t\t\tfield is omitted, the attachments, statistics, and tags are not included.

\n\t\t

If ATTACHMENTS is specified, the attachments for the container instances\n\t\t\tor tasks within the cluster are included.

\n\t\t

If SETTINGS is specified, the settings for the cluster are\n\t\t\tincluded.

\n\t\t

If STATISTICS is specified, the following additional information,\n\t\t\tseparated by launch type, is included:

\n\t\t \n\t\t

If TAGS is specified, the metadata tags associated with the cluster are\n\t\t\tincluded.

" } } } @@ -2768,22 +2768,22 @@ } ], "traits": { - "smithy.api#documentation": "

Describes Amazon Elastic Container Service container instances. Returns metadata about registered and\n remaining resources on each container instance requested.

" + "smithy.api#documentation": "

Describes Amazon Elastic Container Service container instances. Returns metadata about registered and\n\t\t\tremaining resources on each container instance requested.

" } }, "com.amazonaws.ecs#DescribeContainerInstancesRequest": { "type": "structure", "members": { - "cluster": { - "target": "com.amazonaws.ecs#String", + "include": { + "target": "com.amazonaws.ecs#ContainerInstanceFieldList", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to\n describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance\n or container instances you are describing were launched in any cluster other than the\n default cluster.

" + "smithy.api#documentation": "

Specifies whether you want to see the resource tags for the container instance. If\n\t\t\t\tTAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags are not included in the response.

" } }, - "include": { - "target": "com.amazonaws.ecs#ContainerInstanceFieldList", + "cluster": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Specifies whether you want to see the resource tags for the container instance. If\n TAGS is specified, the tags are included in the response. If this field\n is omitted, tags are not included in the response.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to\n\t\t\tdescribe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance\n\t\t\tor container instances you are describing were launched in any cluster other than the\n\t\t\tdefault cluster.

" } }, "containerInstances": { @@ -2798,17 +2798,17 @@ "com.amazonaws.ecs#DescribeContainerInstancesResponse": { "type": "structure", "members": { - "failures": { - "target": "com.amazonaws.ecs#Failures", - "traits": { - "smithy.api#documentation": "

Any failures associated with the call.

" - } - }, "containerInstances": { "target": "com.amazonaws.ecs#ContainerInstances", "traits": { "smithy.api#documentation": "

The list of container instances.

" } + }, + "failures": { + "target": "com.amazonaws.ecs#Failures", + "traits": { + "smithy.api#documentation": "

Any failures associated with the call.

" + } } } }, @@ -2841,23 +2841,23 @@ "com.amazonaws.ecs#DescribeServicesRequest": { "type": "structure", "members": { - "include": { - "target": "com.amazonaws.ecs#ServiceFieldList", - "traits": { - "smithy.api#documentation": "

Specifies whether you want to see the resource tags for the service. If\n TAGS is specified, the tags are included in the response. If this field\n is omitted, tags are not included in the response.

" - } - }, "services": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

A list of services to describe. You may specify up to 10 services to describe in a\n single operation.

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

A list of services to describe. You may specify up to 10 services to describe in a\n\t\t\tsingle operation.

", "smithy.api#required": {} } }, + "include": { + "target": "com.amazonaws.ecs#ServiceFieldList", + "traits": { + "smithy.api#documentation": "

Specifies whether you want to see the resource tags for the service. If\n\t\t\t\tTAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags are not included in the response.

" + } + }, "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe.\n If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are\n describing were launched in any cluster other than the default cluster.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are\n\t\t\tdescribing were launched in any cluster other than the default cluster.

" } } } @@ -2865,17 +2865,17 @@ "com.amazonaws.ecs#DescribeServicesResponse": { "type": "structure", "members": { - "failures": { - "target": "com.amazonaws.ecs#Failures", - "traits": { - "smithy.api#documentation": "

Any failures associated with the call.

" - } - }, "services": { "target": "com.amazonaws.ecs#Services", "traits": { "smithy.api#documentation": "

The list of services described.

" } + }, + "failures": { + "target": "com.amazonaws.ecs#Failures", + "traits": { + "smithy.api#documentation": "

Any failures associated with the call.

" + } } } }, @@ -2899,23 +2899,23 @@ } ], "traits": { - "smithy.api#documentation": "

Describes a task definition. You can specify a family and\n revision to find information about a specific task definition, or you\n can simply specify the family to find the latest ACTIVE revision in that\n family.

\n \n

You can only describe INACTIVE task definitions while an active task\n or service references them.

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

Describes a task definition. You can specify a family and\n\t\t\t\trevision to find information about a specific task definition, or you\n\t\t\tcan simply specify the family to find the latest ACTIVE revision in that\n\t\t\tfamily.

\n\t\t \n\t\t\t

You can only describe INACTIVE task definitions while an active task\n\t\t\t\tor service references them.

\n\t\t
" } }, "com.amazonaws.ecs#DescribeTaskDefinitionRequest": { "type": "structure", "members": { - "taskDefinition": { - "target": "com.amazonaws.ecs#String", + "include": { + "target": "com.amazonaws.ecs#TaskDefinitionFieldList", "traits": { - "smithy.api#documentation": "

The family for the latest ACTIVE revision,\n family and revision (family:revision) for a\n specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to\n describe.

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

Specifies whether to see the resource tags for the task definition. If\n\t\t\t\tTAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags are not included in the response.

" } }, - "include": { - "target": "com.amazonaws.ecs#TaskDefinitionFieldList", + "taskDefinition": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Specifies whether to see the resource tags for the task definition. If\n TAGS is specified, the tags are included in the response. If this field\n is omitted, tags are not included in the response.

" + "smithy.api#documentation": "

The family for the latest ACTIVE revision,\n\t\t\t\tfamily and revision (family:revision) for a\n\t\t\tspecific revision in the family, or full Amazon Resource Name (ARN) of the task definition to\n\t\t\tdescribe.

", + "smithy.api#required": {} } } } @@ -2932,7 +2932,7 @@ "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The metadata that is applied to the task definition to help you categorize and\n organize them. Each tag consists of a key and an optional value, both of which you\n define.

\n

The following basic restrictions apply to tags:

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

The metadata that is applied to the task definition to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

\n

The following basic restrictions apply to tags:

\n " } } } @@ -2972,54 +2972,54 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the task sets in the specified cluster and service. This is used when a\n service uses the EXTERNAL deployment controller type. For more information,\n see Amazon ECS Deployment\n Types in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Describes the task sets in the specified cluster and service. This is used when a\n\t\t\tservice uses the EXTERNAL deployment controller type. For more information,\n\t\t\tsee Amazon ECS Deployment\n\t\t\t\tTypes in the Amazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#DescribeTaskSetsRequest": { "type": "structure", "members": { - "include": { - "target": "com.amazonaws.ecs#TaskSetFieldList", + "taskSets": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

Specifies whether to see the resource tags for the task set. If TAGS is\n specified, the tags are included in the response. If this field is omitted, tags are not\n included in the response.

" + "smithy.api#documentation": "

The ID or full Amazon Resource Name (ARN) of task sets to\n\t\t\tdescribe.

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

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n sets exist in.

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

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n\t\t\tsets exist in.

", "smithy.api#required": {} } }, - "taskSets": { - "target": "com.amazonaws.ecs#StringList", - "traits": { - "smithy.api#documentation": "

The ID or full Amazon Resource Name (ARN) of task sets to\n describe.

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

The short name or full Amazon Resource Name (ARN) of the service that the task sets exist in.

", "smithy.api#required": {} } + }, + "include": { + "target": "com.amazonaws.ecs#TaskSetFieldList", + "traits": { + "smithy.api#documentation": "

Specifies whether to see the resource tags for the task set. If TAGS is\n\t\t\tspecified, the tags are included in the response. If this field is omitted, tags are not\n\t\t\tincluded in the response.

" + } } } }, "com.amazonaws.ecs#DescribeTaskSetsResponse": { "type": "structure", "members": { - "failures": { - "target": "com.amazonaws.ecs#Failures", - "traits": { - "smithy.api#documentation": "

Any failures associated with the call.

" - } - }, "taskSets": { "target": "com.amazonaws.ecs#TaskSets", "traits": { "smithy.api#documentation": "

The list of task sets described.

" } + }, + "failures": { + "target": "com.amazonaws.ecs#Failures", + "traits": { + "smithy.api#documentation": "

Any failures associated with the call.

" + } } } }, @@ -3052,10 +3052,10 @@ "com.amazonaws.ecs#DescribeTasksRequest": { "type": "structure", "members": { - "include": { - "target": "com.amazonaws.ecs#TaskFieldList", + "cluster": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Specifies whether you want to see the resource tags for the task. If TAGS\n is specified, the tags are included in the response. If this field is omitted, tags are\n not included in the response.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to\n\t\t\tdescribe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you\n\t\t\tare describing were launched in any cluster other than the default cluster.

" } }, "tasks": { @@ -3065,10 +3065,10 @@ "smithy.api#required": {} } }, - "cluster": { - "target": "com.amazonaws.ecs#String", + "include": { + "target": "com.amazonaws.ecs#TaskFieldList", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to\n describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you\n are describing were launched in any cluster other than the default cluster.

" + "smithy.api#documentation": "

Specifies whether you want to see the resource tags for the task. If TAGS\n\t\t\tis specified, the tags are included in the response. If this field is omitted, tags are\n\t\t\tnot included in the response.

" } } } @@ -3115,7 +3115,7 @@ "permissions": { "target": "com.amazonaws.ecs#DeviceCgroupPermissions", "traits": { - "smithy.api#documentation": "

The explicit permissions to provide to the container for the device. By default, the\n container has permissions for read, write, and\n mknod for the device.

" + "smithy.api#documentation": "

The explicit permissions to provide to the container for the device. By default, the\n\t\t\tcontainer has permissions for read, write, and\n\t\t\t\tmknod for the device.

" } }, "hostPath": { @@ -3184,7 +3184,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Returns an endpoint for\n the Amazon ECS agent to poll for updates.

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

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Returns an endpoint for\n\t\t\tthe Amazon ECS agent to poll for updates.

" } }, "com.amazonaws.ecs#DiscoverPollEndpointRequest": { @@ -3193,13 +3193,13 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance\n belongs.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance\n\t\t\tbelongs.

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

The container instance ID or full ARN of the container instance.\n The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

" + "smithy.api#documentation": "

The container instance ID or full ARN of the container instance.\n\t\t\tThe ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

" } } } @@ -3233,39 +3233,39 @@ "com.amazonaws.ecs#DockerVolumeConfiguration": { "type": "structure", "members": { - "labels": { - "target": "com.amazonaws.ecs#StringMap", + "autoprovision": { + "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

Custom metadata to add to your Docker volume. This parameter maps to\n Labels in the Create a volume section of the\n Docker Remote API and the xxlabel option to docker\n volume create.

" + "smithy.api#documentation": "

If this value is true, the Docker volume is created if it does not\n\t\t\talready exist.

\n\t\t \n\t\t\t

This field is only used if the scope is shared.

\n\t\t
" } }, - "driverOpts": { + "labels": { "target": "com.amazonaws.ecs#StringMap", "traits": { - "smithy.api#documentation": "

A map of Docker driver-specific options passed through. This parameter maps to\n DriverOpts in the Create a volume section of the\n Docker Remote API and the xxopt option to docker\n volume create.

" + "smithy.api#documentation": "

Custom metadata to add to your Docker volume. This parameter maps to\n\t\t\t\tLabels in the Create a volume section of the\n\t\t\tDocker Remote API and the xxlabel option to docker\n\t\t\t\tvolume create.

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

The Docker volume driver to use. The driver value must match the driver name provided\n by Docker because it is used for task placement. If the driver was installed using the\n Docker plugin CLI, use docker plugin ls to retrieve the driver name from\n your container instance. If the driver was installed using another method, use Docker\n plugin discovery to retrieve the driver name. For more information, see Docker\n plugin discovery. This parameter maps to Driver in the\n Create a volume section of the Docker Remote API and the\n xxdriver option to docker\n volume create.

" + "smithy.api#documentation": "

The Docker volume driver to use. The driver value must match the driver name provided\n\t\t\tby Docker because it is used for task placement. If the driver was installed using the\n\t\t\tDocker plugin CLI, use docker plugin ls to retrieve the driver name from\n\t\t\tyour container instance. If the driver was installed using another method, use Docker\n\t\t\tplugin discovery to retrieve the driver name. For more information, see Docker\n\t\t\t\tplugin discovery. This parameter maps to Driver in the\n\t\t\tCreate a volume section of the Docker Remote API and the\n\t\t\t\txxdriver option to docker\n\t\t\t\tvolume create.

" } }, - "autoprovision": { - "target": "com.amazonaws.ecs#BoxedBoolean", + "driverOpts": { + "target": "com.amazonaws.ecs#StringMap", "traits": { - "smithy.api#documentation": "

If this value is true, the Docker volume is created if it does not\n already exist.

\n \n

This field is only used if the scope is shared.

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

A map of Docker driver-specific options passed through. This parameter maps to\n\t\t\t\tDriverOpts in the Create a volume section of the\n\t\t\tDocker Remote API and the xxopt option to docker\n\t\t\t\tvolume create.

" } }, "scope": { "target": "com.amazonaws.ecs#Scope", "traits": { - "smithy.api#documentation": "

The scope for the Docker volume that determines its lifecycle. Docker volumes that are\n scoped to a task are automatically provisioned when the task starts and\n destroyed when the task stops. Docker volumes that are scoped as shared\n persist after the task stops.

" + "smithy.api#documentation": "

The scope for the Docker volume that determines its lifecycle. Docker volumes that are\n\t\t\tscoped to a task are automatically provisioned when the task starts and\n\t\t\tdestroyed when the task stops. Docker volumes that are scoped as shared\n\t\t\tpersist after the task stops.

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

This parameter is specified when you are using Docker volumes. Docker volumes are only\n supported when you are using the EC2 launch type. Windows containers only\n support the use of the local driver. To use bind mounts, specify a\n host instead.

" + "smithy.api#documentation": "

This parameter is specified when you are using Docker volumes. Docker volumes are only\n\t\t\tsupported when you are using the EC2 launch type. Windows containers only\n\t\t\tsupport the use of the local driver. To use bind mounts, specify a\n\t\t\t\thost instead.

" } }, "com.amazonaws.ecs#Double": { @@ -3274,16 +3274,16 @@ "com.amazonaws.ecs#EFSAuthorizationConfig": { "type": "structure", "members": { - "accessPointId": { - "target": "com.amazonaws.ecs#String", + "iam": { + "target": "com.amazonaws.ecs#EFSAuthorizationConfigIAM", "traits": { - "smithy.api#documentation": "

The Amazon EFS access point ID to use. If an access point is specified, the root directory\n value specified in the EFSVolumeConfiguration will be relative to the\n directory set for the access point. If an access point is used, transit encryption must\n be enabled in the EFSVolumeConfiguration. For more information, see Working with Amazon\n EFS Access Points in the Amazon Elastic File System User Guide.

" + "smithy.api#documentation": "

Whether or not to use the Amazon ECS task IAM role defined in a task definition when\n\t\t\tmounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the\n\t\t\t\tEFSVolumeConfiguration. If this parameter is omitted, the default value\n\t\t\tof DISABLED is used. For more information, see Using\n\t\t\t\tAmazon EFS Access Points in the Amazon Elastic Container Service Developer Guide.

" } }, - "iam": { - "target": "com.amazonaws.ecs#EFSAuthorizationConfigIAM", + "accessPointId": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Whether or not to use the Amazon ECS task IAM role defined in a task definition when\n mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the\n EFSVolumeConfiguration. If this parameter is omitted, the default value\n of DISABLED is used. For more information, see Using\n Amazon EFS Access Points in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The Amazon EFS access point ID to use. If an access point is specified, the root directory\n\t\t\tvalue specified in the EFSVolumeConfiguration must either be omitted or set\n\t\t\tto / which will enforce the path set on the EFS access point. If an access\n\t\t\tpoint is used, transit encryption must be enabled in the\n\t\t\t\tEFSVolumeConfiguration. For more information, see Working with Amazon\n\t\t\t\tEFS Access Points in the Amazon Elastic File System User Guide.

" } } }, @@ -3327,7 +3327,7 @@ "transitEncryptionPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS\n server. If you do not specify a transit encryption port, it will use the port selection\n strategy that the Amazon EFS mount helper uses. For more information, see EFS Mount\n Helper in the Amazon Elastic File System User Guide.

" + "smithy.api#documentation": "

The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS\n\t\t\tserver. If you do not specify a transit encryption port, it will use the port selection\n\t\t\tstrategy that the Amazon EFS mount helper uses. For more information, see EFS Mount\n\t\t\t\tHelper in the Amazon Elastic File System User Guide.

" } }, "fileSystemId": { @@ -3337,16 +3337,16 @@ "smithy.api#required": {} } }, - "rootDirectory": { - "target": "com.amazonaws.ecs#String", + "transitEncryption": { + "target": "com.amazonaws.ecs#EFSTransitEncryption", "traits": { - "smithy.api#documentation": "

The directory within the Amazon EFS file system to mount as the root directory inside the\n host. If this parameter is omitted, the root of the Amazon EFS volume will be used.\n Specifying / will have the same effect as omitting this parameter.

" + "smithy.api#documentation": "

Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host\n\t\t\tand the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is\n\t\t\tused. If this parameter is omitted, the default value of DISABLED is used.\n\t\t\tFor more information, see Encrypting Data in Transit in\n\t\t\tthe Amazon Elastic File System User Guide.

" } }, - "transitEncryption": { - "target": "com.amazonaws.ecs#EFSTransitEncryption", + "rootDirectory": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host\n and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is\n used. If this parameter is omitted, the default value of DISABLED is used.\n For more information, see Encrypting Data in Transit in\n the Amazon Elastic File System User Guide.

" + "smithy.api#documentation": "

The directory within the Amazon EFS file system to mount as the root directory inside the\n\t\t\thost. If this parameter is omitted, the root of the Amazon EFS volume will be used.\n\t\t\tSpecifying / will have the same effect as omitting this parameter.

\n\t\t \n\t\t\t

If an EFS access point is specified in the authorizationConfig, the\n\t\t\t\troot directory parameter must either be omitted or set to / which will\n\t\t\t\tenforce the path set on the EFS access point.

\n\t\t
" } }, "authorizationConfig": { @@ -3357,29 +3357,29 @@ } }, "traits": { - "smithy.api#documentation": "

This parameter is specified when you are using an Amazon Elastic File System file system for task\n storage. For more information, see Amazon EFS Volumes in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

This parameter is specified when you are using an Amazon Elastic File System file system for task\n\t\t\tstorage. For more information, see Amazon EFS Volumes in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#EnvironmentFile": { "type": "structure", "members": { - "type": { - "target": "com.amazonaws.ecs#EnvironmentFileType", + "value": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The file type to use. The only supported value is s3.

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

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment\n\t\t\tvariable file.

", "smithy.api#required": {} } }, - "value": { - "target": "com.amazonaws.ecs#String", + "type": { + "target": "com.amazonaws.ecs#EnvironmentFileType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment\n variable file.

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

The file type to use. The only supported value is s3.

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

A list of files containing the environment variables to pass to a container. You can\n specify up to ten environment files. The file must have a .env file\n extension. Each line in an environment file should contain an environment variable in\n VARIABLE=VALUE format. Lines beginning with # are treated\n as comments and are ignored. For more information on the environment variable file\n syntax, see Declare default\n environment variables in file.

\n

If there are environment variables specified using the environment\n parameter in a container definition, they take precedence over the variables contained\n within an environment file. If multiple environment files are specified that contain the\n same variable, they are processed from the top down. It is recommended to use unique\n variable names. For more information, see Specifying Environment\n Variables in the Amazon Elastic Container Service Developer Guide.

\n

This field is not valid for containers in tasks using the Fargate launch\n type.

" + "smithy.api#documentation": "

A list of files containing the environment variables to pass to a container. You can\n\t\t\tspecify up to ten environment files. The file must have a .env file\n\t\t\textension. Each line in an environment file should contain an environment variable in\n\t\t\t\tVARIABLE=VALUE format. Lines beginning with # are treated\n\t\t\tas comments and are ignored. For more information on the environment variable file\n\t\t\tsyntax, see Declare default\n\t\t\t\tenvironment variables in file.

\n\t\t

If there are environment variables specified using the environment\n\t\t\tparameter in a container definition, they take precedence over the variables contained\n\t\t\twithin an environment file. If multiple environment files are specified that contain the\n\t\t\tsame variable, they are processed from the top down. It is recommended to use unique\n\t\t\tvariable names. For more information, see Specifying Environment\n\t\t\t\tVariables in the Amazon Elastic Container Service Developer Guide.

\n\t\t

This field is not valid for containers in tasks using the Fargate launch\n\t\t\ttype.

" } }, "com.amazonaws.ecs#EnvironmentFileType": { @@ -3405,60 +3405,111 @@ "target": "com.amazonaws.ecs#KeyValuePair" } }, - "com.amazonaws.ecs#Failure": { + "com.amazonaws.ecs#FSxWindowsFileServerAuthorizationConfig": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.ecs#String", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the failed resource.

" - } - }, - "reason": { + "domain": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The reason for the failure.

" + "smithy.api#documentation": "

A fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted EC2\n\t\t\tAD.

", + "smithy.api#required": {} } }, - "detail": { + "credentialsParameter": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The details of the failure.

" + "smithy.api#documentation": "

The authorization credential option to use.

\n\t\t

The authorization credential options can be provided using either the AWS Secrets Manager ARN or\n\t\t\tthe AWS Systems Manager ARN. The ARNs refer to the stored credentials.

\n\t\t

\n options:\n

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

A failed resource.

" - } - }, - "com.amazonaws.ecs#Failures": { - "type": "list", - "member": { - "target": "com.amazonaws.ecs#Failure" + "smithy.api#documentation": "

The authorization configuration details for Amazon FSx for Windows File Server file system. See FSxWindowsFileServerVolumeConfiguration in the Amazon Elastic\n\t\t\t\tContainer Service API Reference.

\n\t\t

For more information and the input format, see Amazon FSx for Windows File Server Volumes\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

" } }, - "com.amazonaws.ecs#FirelensConfiguration": { + "com.amazonaws.ecs#FSxWindowsFileServerVolumeConfiguration": { "type": "structure", "members": { - "type": { - "target": "com.amazonaws.ecs#FirelensConfigurationType", + "rootDirectory": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The log router to use. The valid values are fluentd or\n fluentbit.

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

The directory within the Amazon FSx for Windows File Server file system to mount as the root directory\n\t\t\tinside the host.

", "smithy.api#required": {} } }, - "options": { - "target": "com.amazonaws.ecs#FirelensConfigurationOptionsMap", + "fileSystemId": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The Amazon FSx for Windows File Server file system ID to use.

", + "smithy.api#required": {} + } + }, + "authorizationConfig": { + "target": "com.amazonaws.ecs#FSxWindowsFileServerAuthorizationConfig", "traits": { - "smithy.api#documentation": "

The options to use when configuring the log router. This field is optional and can be\n used to specify a custom configuration file or to add additional metadata, such as the\n task, task definition, cluster, and container instance details to the log event. If\n specified, the syntax to use is\n \"options\":{\"enable-ecs-log-metadata\":\"true|false\",\"config-file-type:\"s3|file\",\"config-file-value\":\"arn:aws:s3:::mybucket/fluent.conf|filepath\"}.\n For more information, see Creating\n a Task Definition that Uses a FireLens Configuration in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The authorization configuration details for the Amazon FSx for Windows File Server file system.

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

The FireLens configuration for the container. This is used to specify and configure a\n log router for container logs. For more information, see Custom Log Routing\n in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

This parameter is specified when you are using Amazon FSx for Windows File Server file system for task\n\t\t\tstorage.

\n\t\t

For more information and the input format, see Amazon FSx for Windows File Server Volumes\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

" } }, - "com.amazonaws.ecs#FirelensConfigurationOptionsMap": { + "com.amazonaws.ecs#Failure": { + "type": "structure", + "members": { + "reason": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The reason for the failure.

" + } + }, + "detail": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The details of the failure.

" + } + }, + "arn": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the failed resource.

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

A failed resource. For a list of common causes, see API failure\n\t\t\t\treasons in the Amazon Elastic Container Service Developer Guide.

" + } + }, + "com.amazonaws.ecs#Failures": { + "type": "list", + "member": { + "target": "com.amazonaws.ecs#Failure" + } + }, + "com.amazonaws.ecs#FirelensConfiguration": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.ecs#FirelensConfigurationType", + "traits": { + "smithy.api#documentation": "

The log router to use. The valid values are fluentd or\n\t\t\t\tfluentbit.

", + "smithy.api#required": {} + } + }, + "options": { + "target": "com.amazonaws.ecs#FirelensConfigurationOptionsMap", + "traits": { + "smithy.api#documentation": "

The options to use when configuring the log router. This field is optional and can be\n\t\t\tused to specify a custom configuration file or to add additional metadata, such as the\n\t\t\ttask, task definition, cluster, and container instance details to the log event. If\n\t\t\tspecified, the syntax to use is\n\t\t\t\t\"options\":{\"enable-ecs-log-metadata\":\"true|false\",\"config-file-type:\"s3|file\",\"config-file-value\":\"arn:aws:s3:::mybucket/fluent.conf|filepath\"}.\n\t\t\tFor more information, see Creating\n\t\t\t\ta Task Definition that Uses a FireLens Configuration in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

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

The FireLens configuration for the container. This is used to specify and configure a\n\t\t\tlog router for container logs. For more information, see Custom Log Routing\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

" + } + }, + "com.amazonaws.ecs#FirelensConfigurationOptionsMap": { "type": "map", "key": { "target": "com.amazonaws.ecs#String" @@ -3491,40 +3542,40 @@ "com.amazonaws.ecs#HealthCheck": { "type": "structure", "members": { - "startPeriod": { + "retries": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The optional grace period within which to provide containers time to bootstrap before\n failed health checks count towards the maximum number of retries. You may specify\n between 0 and 300 seconds. The startPeriod is disabled by default.

\n \n

If a health check succeeds within the startPeriod, then the container\n is considered healthy and any subsequent failures count toward the maximum number of\n retries.

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

The number of times to retry a failed health check before the container is considered\n\t\t\tunhealthy. You may specify between 1 and 10 retries. The default value is 3.

" } }, "timeout": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The time period in seconds to wait for a health check to succeed before it is\n considered a failure. You may specify between 2 and 60 seconds. The default value is\n 5.

" + "smithy.api#documentation": "

The time period in seconds to wait for a health check to succeed before it is\n\t\t\tconsidered a failure. You may specify between 2 and 60 seconds. The default value is\n\t\t\t5.

" + } + }, + "startPeriod": { + "target": "com.amazonaws.ecs#BoxedInteger", + "traits": { + "smithy.api#documentation": "

The optional grace period within which to provide containers time to bootstrap before\n\t\t\tfailed health checks count towards the maximum number of retries. You may specify\n\t\t\tbetween 0 and 300 seconds. The startPeriod is disabled by default.

\n\t\t \n\t\t\t

If a health check succeeds within the startPeriod, then the container\n\t\t\t\tis considered healthy and any subsequent failures count toward the maximum number of\n\t\t\t\tretries.

\n\t\t
" } }, "interval": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The time period in seconds between each health check execution. You may specify\n between 5 and 300 seconds. The default value is 30 seconds.

" + "smithy.api#documentation": "

The time period in seconds between each health check execution. You may specify\n\t\t\tbetween 5 and 300 seconds. The default value is 30 seconds.

" } }, "command": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

A string array representing the command that the container runs to determine if it is\n healthy. The string array must start with CMD to execute the command\n arguments directly, or CMD-SHELL to run the command with the container's\n default shell. For example:

\n

\n [ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]\n

\n

An exit code of 0 indicates success, and non-zero exit code indicates failure. For\n more information, see HealthCheck in the Create a container\n section of the Docker Remote API.

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

A string array representing the command that the container runs to determine if it is\n\t\t\thealthy. The string array must start with CMD to execute the command\n\t\t\targuments directly, or CMD-SHELL to run the command with the container's\n\t\t\tdefault shell. For example:

\n\t\t

\n\t\t\t [ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]\n\t\t

\n\t\t

An exit code of 0 indicates success, and non-zero exit code indicates failure. For\n\t\t\tmore information, see HealthCheck in the Create a container\n\t\t\tsection of the Docker Remote API.

", "smithy.api#required": {} } - }, - "retries": { - "target": "com.amazonaws.ecs#BoxedInteger", - "traits": { - "smithy.api#documentation": "

The number of times to retry a failed health check before the container is considered\n unhealthy. You may specify between 1 and 10 retries. The default value is 3.

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

An object representing a container health check. Health check parameters that are\n specified in a container definition override any Docker health checks that exist in the\n container image (such as those specified in a parent image or from the image's\n Dockerfile).

\n

You can view the health status of both individual containers and a task with the\n DescribeTasks API operation or when viewing the task details in the console.

\n

The following describes the possible healthStatus values for a\n container:

\n \n

The following describes the possible healthStatus values for a task. The\n container health check status of nonessential containers do not have an effect on the\n health status of a task.

\n \n

If a task is run manually, and not as part of a service, the task will continue its\n lifecycle regardless of its health status. For tasks that are part of a service, if the\n task reports as unhealthy then the task will be stopped and the service scheduler will\n replace it.

\n

The following are notes about container health check support:

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

An object representing a container health check. Health check parameters that are\n\t\t\tspecified in a container definition override any Docker health checks that exist in the\n\t\t\tcontainer image (such as those specified in a parent image or from the image's\n\t\t\tDockerfile).

\n\t\t

You can view the health status of both individual containers and a task with the\n\t\t\tDescribeTasks API operation or when viewing the task details in the console.

\n\t\t

The following describes the possible healthStatus values for a\n\t\t\tcontainer:

\n\t\t \n\t\t

The following describes the possible healthStatus values for a task. The\n\t\t\tcontainer health check status of nonessential containers do not have an effect on the\n\t\t\thealth status of a task.

\n\t\t \n\t\t

If a task is run manually, and not as part of a service, the task will continue its\n\t\t\tlifecycle regardless of its health status. For tasks that are part of a service, if the\n\t\t\ttask reports as unhealthy then the task will be stopped and the service scheduler will\n\t\t\treplace it.

\n\t\t

The following are notes about container health check support:

\n\t\t " } }, "com.amazonaws.ecs#HealthStatus": { @@ -3565,7 +3616,7 @@ } }, "traits": { - "smithy.api#documentation": "

Hostnames and IP address entries that are added to the /etc/hosts file of\n a container via the extraHosts parameter of its ContainerDefinition.

" + "smithy.api#documentation": "

Hostnames and IP address entries that are added to the /etc/hosts file of\n\t\t\ta container via the extraHosts parameter of its ContainerDefinition.

" } }, "com.amazonaws.ecs#HostEntryList": { @@ -3580,7 +3631,7 @@ "sourcePath": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

When the host parameter is used, specify a sourcePath to\n declare the path on the host container instance that is presented to the container. If\n this parameter is empty, then the Docker daemon has assigned a host path for you. If the\n host parameter contains a sourcePath file location, then\n the data volume persists at the specified location on the host container instance until\n you delete it manually. If the sourcePath value does not exist on the host\n container instance, the Docker daemon creates it. If the location does exist, the\n contents of the source path folder are exported.

\n

If you are using the Fargate launch type, the sourcePath\n parameter is not supported.

" + "smithy.api#documentation": "

When the host parameter is used, specify a sourcePath to\n\t\t\tdeclare the path on the host container instance that is presented to the container. If\n\t\t\tthis parameter is empty, then the Docker daemon has assigned a host path for you. If the\n\t\t\t\thost parameter contains a sourcePath file location, then\n\t\t\tthe data volume persists at the specified location on the host container instance until\n\t\t\tyou delete it manually. If the sourcePath value does not exist on the host\n\t\t\tcontainer instance, the Docker daemon creates it. If the location does exist, the\n\t\t\tcontents of the source path folder are exported.

\n\t\t

If you are using the Fargate launch type, the sourcePath\n\t\t\tparameter is not supported.

" } } }, @@ -3591,23 +3642,23 @@ "com.amazonaws.ecs#InferenceAccelerator": { "type": "structure", "members": { - "deviceType": { + "deviceName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Elastic Inference accelerator type to use.

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

The Elastic Inference accelerator device name. The deviceName must also\n\t\t\tbe referenced in a container definition as a ResourceRequirement.

", "smithy.api#required": {} } }, - "deviceName": { + "deviceType": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Elastic Inference accelerator device name. The deviceName must also\n be referenced in a container definition as a ResourceRequirement.

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

The Elastic Inference accelerator type to use.

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

Details on a Elastic Inference accelerator. For more information, see Working with\n Amazon Elastic Inference on Amazon ECS in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Details on a Elastic Inference accelerator. For more information, see Working with\n\t\t\t\tAmazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#InferenceAcceleratorOverride": { @@ -3616,7 +3667,7 @@ "deviceName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Elastic Inference accelerator device name to override for the task. This parameter\n must match a deviceName specified in the task definition.

" + "smithy.api#documentation": "

The Elastic Inference accelerator device name to override for the task. This parameter\n\t\t\tmust match a deviceName specified in the task definition.

" } }, "deviceType": { @@ -3627,7 +3678,7 @@ } }, "traits": { - "smithy.api#documentation": "

Details on an Elastic Inference accelerator task override. This parameter is used to\n override the Elastic Inference accelerator specified in the task definition. For more\n information, see Working with Amazon Elastic Inference on Amazon ECS in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Details on an Elastic Inference accelerator task override. This parameter is used to\n\t\t\toverride the Elastic Inference accelerator specified in the task definition. For more\n\t\t\tinformation, see Working with Amazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#InferenceAcceleratorOverrides": { @@ -3653,7 +3704,7 @@ } }, "traits": { - "smithy.api#documentation": "

The specified parameter is invalid. Review the available parameters for the API\n request.

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

The specified parameter is invalid. Review the available parameters for the API\n\t\t\trequest.

", "smithy.api#error": "client" } }, @@ -3682,33 +3733,33 @@ "add": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The Linux capabilities for the container that have been added to the default\n configuration provided by Docker. This parameter maps to CapAdd in the\n Create a container section of the Docker Remote API and the\n --cap-add option to docker\n run.

\n \n

The SYS_PTRACE capability is supported for tasks that use the\n Fargate launch type if they are also using platform version 1.4.0. The\n other capabilities are not supported for any platform versions.

\n
\n

Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" |\n \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" |\n \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" |\n \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\"\n | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" |\n \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" |\n \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" |\n \"WAKE_ALARM\"\n

" + "smithy.api#documentation": "

The Linux capabilities for the container that have been added to the default\n\t\t\tconfiguration provided by Docker. This parameter maps to CapAdd in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--cap-add option to docker\n\t\t\t\trun.

\n\t\t \n\t\t\t

Tasks launched on AWS Fargate only support adding the SYS_PTRACE kernel\n\t\t\t\tcapability.

\n\t\t
\n\t\t

Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" |\n\t\t\t\t\"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" |\n\t\t\t\t\"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" |\n\t\t\t\t\"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\"\n\t\t\t\t| \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" |\n\t\t\t\t\"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" |\n\t\t\t\t\"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" |\n\t\t\t\"WAKE_ALARM\"\n

" } }, "drop": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The Linux capabilities for the container that have been removed from the default\n configuration provided by Docker. This parameter maps to CapDrop in the\n Create a container section of the Docker Remote API and the\n --cap-drop option to docker\n run.

\n

Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" |\n \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" |\n \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" |\n \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\"\n | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" |\n \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" |\n \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" |\n \"WAKE_ALARM\"\n

" + "smithy.api#documentation": "

The Linux capabilities for the container that have been removed from the default\n\t\t\tconfiguration provided by Docker. This parameter maps to CapDrop in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--cap-drop option to docker\n\t\t\t\trun.

\n\t\t

Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" |\n\t\t\t\t\"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" |\n\t\t\t\t\"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" |\n\t\t\t\t\"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\"\n\t\t\t\t| \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" |\n\t\t\t\t\"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" |\n\t\t\t\t\"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" |\n\t\t\t\"WAKE_ALARM\"\n

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

The Linux capabilities for the container that are added to or dropped from the default\n configuration provided by Docker. For more information on the default capabilities and\n the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run\n reference. For more detailed information on these Linux capabilities, see\n the capabilities(7) Linux manual page.

" + "smithy.api#documentation": "

The Linux capabilities for the container that are added to or dropped from the default\n\t\t\tconfiguration provided by Docker. For more information on the default capabilities and\n\t\t\tthe non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run\n\t\t\t\treference. For more detailed information on these Linux capabilities, see\n\t\t\tthe capabilities(7) Linux manual page.

" } }, "com.amazonaws.ecs#KeyValuePair": { "type": "structure", "members": { - "name": { + "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the key-value pair. For environment variables, this is the name of the\n environment variable.

" + "smithy.api#documentation": "

The value of the key-value pair. For environment variables, this is the value of the\n\t\t\tenvironment variable.

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

The value of the key-value pair. For environment variables, this is the value of the\n environment variable.

" + "smithy.api#documentation": "

The name of the key-value pair. For environment variables, this is the name of the\n\t\t\tenvironment variable.

" } } }, @@ -3746,46 +3797,46 @@ "com.amazonaws.ecs#LinuxParameters": { "type": "structure", "members": { - "devices": { - "target": "com.amazonaws.ecs#DevicesList", - "traits": { - "smithy.api#documentation": "

Any host devices to expose to the container. This parameter maps to\n Devices in the Create a container section of the\n Docker Remote API and the --device option to docker run.

\n \n

If you are using tasks that use the Fargate launch type, the\n devices parameter is not supported.

\n
" - } - }, - "maxSwap": { - "target": "com.amazonaws.ecs#BoxedInteger", + "tmpfs": { + "target": "com.amazonaws.ecs#TmpfsList", "traits": { - "smithy.api#documentation": "

The total amount of swap memory (in MiB) a container can use. This parameter will be\n translated to the --memory-swap option to docker run where the value would be the sum of\n the container memory plus the maxSwap value.

\n

If a maxSwap value of 0 is specified, the container will not\n use swap. Accepted values are 0 or any positive integer. If the\n maxSwap parameter is omitted, the container will use the swap\n configuration for the container instance it is running on. A maxSwap value\n must be set for the swappiness parameter to be used.

\n \n

If you are using tasks that use the Fargate launch type, the\n maxSwap parameter is not supported.

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

The container path, mount options, and size (in MiB) of the tmpfs mount. This\n\t\t\tparameter maps to the --tmpfs option to docker run.

\n\t\t \n\t\t\t

If you are using tasks that use the Fargate launch type, the\n\t\t\t\t\ttmpfs parameter is not supported.

\n\t\t
" } }, "capabilities": { "target": "com.amazonaws.ecs#KernelCapabilities", "traits": { - "smithy.api#documentation": "

The Linux capabilities for the container that are added to or dropped from the default\n configuration provided by Docker.

\n \n

For tasks that use the Fargate launch type,\n capabilities is supported for all platform versions but the\n add parameter is only supported if using platform version 1.4.0 or\n later.

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

The Linux capabilities for the container that are added to or dropped from the default\n\t\t\tconfiguration provided by Docker.

\n\t\t \n\t\t\t

For tasks that use the Fargate launch type,\n\t\t\t\t\tcapabilities is supported for all platform versions but the\n\t\t\t\t\tadd parameter is only supported if using platform version 1.4.0 or\n\t\t\t\tlater.

\n\t\t
" } }, "initProcessEnabled": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

Run an init process inside the container that forwards signals and reaps\n processes. This parameter maps to the --init option to docker run. This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'\n

" + "smithy.api#documentation": "

Run an init process inside the container that forwards signals and reaps\n\t\t\tprocesses. This parameter maps to the --init option to docker run. This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'\n

" } }, - "tmpfs": { - "target": "com.amazonaws.ecs#TmpfsList", + "sharedMemorySize": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The container path, mount options, and size (in MiB) of the tmpfs mount. This\n parameter maps to the --tmpfs option to docker run.

\n \n

If you are using tasks that use the Fargate launch type, the\n tmpfs parameter is not supported.

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

The value for the size (in MiB) of the /dev/shm volume. This parameter\n\t\t\tmaps to the --shm-size option to docker\n\t\t\t\trun.

\n\t\t \n\t\t\t

If you are using tasks that use the Fargate launch type, the\n\t\t\t\t\tsharedMemorySize parameter is not supported.

\n\t\t
" } }, - "swappiness": { + "maxSwap": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

This allows you to tune a container's memory swappiness behavior. A\n swappiness value of 0 will cause swapping to not happen\n unless absolutely necessary. A swappiness value of 100 will\n cause pages to be swapped very aggressively. Accepted values are whole numbers between\n 0 and 100. If the swappiness parameter is not\n specified, a default value of 60 is used. If a value is not specified for\n maxSwap then this parameter is ignored. This parameter maps to the\n --memory-swappiness option to docker run.

\n \n

If you are using tasks that use the Fargate launch type, the\n swappiness parameter is not supported.

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

The total amount of swap memory (in MiB) a container can use. This parameter will be\n\t\t\ttranslated to the --memory-swap option to docker run where the value would be the sum of\n\t\t\tthe container memory plus the maxSwap value.

\n\t\t

If a maxSwap value of 0 is specified, the container will not\n\t\t\tuse swap. Accepted values are 0 or any positive integer. If the\n\t\t\t\tmaxSwap parameter is omitted, the container will use the swap\n\t\t\tconfiguration for the container instance it is running on. A maxSwap value\n\t\t\tmust be set for the swappiness parameter to be used.

\n\t\t \n\t\t\t

If you are using tasks that use the Fargate launch type, the\n\t\t\t\t\tmaxSwap parameter is not supported.

\n\t\t
" } }, - "sharedMemorySize": { + "swappiness": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The value for the size (in MiB) of the /dev/shm volume. This parameter\n maps to the --shm-size option to docker\n run.

\n \n

If you are using tasks that use the Fargate launch type, the\n sharedMemorySize parameter is not supported.

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

This allows you to tune a container's memory swappiness behavior. A\n\t\t\t\tswappiness value of 0 will cause swapping to not happen\n\t\t\tunless absolutely necessary. A swappiness value of 100 will\n\t\t\tcause pages to be swapped very aggressively. Accepted values are whole numbers between\n\t\t\t\t0 and 100. If the swappiness parameter is not\n\t\t\tspecified, a default value of 60 is used. If a value is not specified for\n\t\t\t\tmaxSwap then this parameter is ignored. This parameter maps to the\n\t\t\t\t--memory-swappiness option to docker run.

\n\t\t \n\t\t\t

If you are using tasks that use the Fargate launch type, the\n\t\t\t\t\tswappiness parameter is not supported.

\n\t\t
" + } + }, + "devices": { + "target": "com.amazonaws.ecs#DevicesList", + "traits": { + "smithy.api#documentation": "

Any host devices to expose to the container. This parameter maps to\n\t\t\t\tDevices in the Create a container section of the\n\t\t\tDocker Remote API and the --device option to docker run.

\n\t\t \n\t\t\t

If you are using tasks that use the Fargate launch type, the\n\t\t\t\t\tdevices parameter is not supported.

\n\t\t
" } } }, @@ -3828,37 +3879,37 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a ListAccountSettings\n request indicating that more results are available to fulfill the request and further\n calls will be needed. If maxResults was provided, it is possible the number\n of results to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

The nextToken value returned from a ListAccountSettings\n\t\t\trequest indicating that more results are available to fulfill the request and further\n\t\t\tcalls will be needed. If maxResults was provided, it is possible the number\n\t\t\tof results to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, - "name": { - "target": "com.amazonaws.ecs#SettingName", + "value": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the account setting you want to list the settings for.

" + "smithy.api#documentation": "

The value of the account settings with which to filter results. You must also specify\n\t\t\tan account setting name to use this parameter.

" } }, - "value": { - "target": "com.amazonaws.ecs#String", + "name": { + "target": "com.amazonaws.ecs#SettingName", "traits": { - "smithy.api#documentation": "

The value of the account settings with which to filter results. You must also specify\n an account setting name to use this parameter.

" + "smithy.api#documentation": "

The name of the account setting you want to list the settings for.

" } }, "effectiveSettings": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether to return the effective settings. If true, the account\n settings for the root user or the default setting for the principalArn are\n returned. If false, the account settings for the principalArn\n are returned if they are set. Otherwise, no account settings are returned.

" + "smithy.api#documentation": "

Specifies whether to return the effective settings. If true, the account\n\t\t\tsettings for the root user or the default setting for the principalArn are\n\t\t\treturned. If false, the account settings for the principalArn\n\t\t\tare returned if they are set. Otherwise, no account settings are returned.

" } }, "maxResults": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of account setting results returned by\n ListAccountSettings in paginated output. When this parameter is used,\n ListAccountSettings only returns maxResults results in a\n single page along with a nextToken response element. The remaining results\n of the initial request can be seen by sending another ListAccountSettings\n request with the returned nextToken value. This value can be between\n 1 and 10. If this\n parameter is not used, then ListAccountSettings returns up to\n 10 results and a nextToken value\n if applicable.

" + "smithy.api#documentation": "

The maximum number of account setting results returned by\n\t\t\t\tListAccountSettings in paginated output. When this parameter is used,\n\t\t\t\tListAccountSettings only returns maxResults results in a\n\t\t\tsingle page along with a nextToken response element. The remaining results\n\t\t\tof the initial request can be seen by sending another ListAccountSettings\n\t\t\trequest with the returned nextToken value. This value can be between\n\t\t\t1 and 10. If this\n\t\t\tparameter is not used, then ListAccountSettings returns up to\n\t\t\t10 results and a nextToken value\n\t\t\tif applicable.

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

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If\n this field is omitted, the account settings are listed only for the authenticated\n user.

" + "smithy.api#documentation": "

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If\n\t\t\tthis field is omitted, the account settings are listed only for the authenticated\n\t\t\tuser.

" } } } @@ -3866,17 +3917,17 @@ "com.amazonaws.ecs#ListAccountSettingsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.ecs#String", - "traits": { - "smithy.api#documentation": "

The nextToken value to include in a future\n ListAccountSettings request. When the results of a\n ListAccountSettings request exceed maxResults, this value\n can be used to retrieve the next page of results. This value is null when\n there are no more results to return.

" - } - }, "settings": { "target": "com.amazonaws.ecs#Settings", "traits": { "smithy.api#documentation": "

The account settings for the resource.

" } + }, + "nextToken": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The nextToken value to include in a future\n\t\t\t\tListAccountSettings request. When the results of a\n\t\t\t\tListAccountSettings request exceed maxResults, this value\n\t\t\tcan be used to retrieve the next page of results. This value is null when\n\t\t\tthere are no more results to return.

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

Lists the attributes for Amazon ECS resources within a specified target type and cluster.\n When you specify a target type and cluster, ListAttributes returns a list\n of attribute objects, one for each attribute on each resource. You can filter the list\n of results to a single attribute name to only return results that have that name. You\n can also filter the results by attribute name and value, for example, to see which\n container instances in a cluster are running a Linux AMI\n (ecs.os-type=linux).

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

Lists the attributes for Amazon ECS resources within a specified target type and cluster.\n\t\t\tWhen you specify a target type and cluster, ListAttributes returns a list\n\t\t\tof attribute objects, one for each attribute on each resource. You can filter the list\n\t\t\tof results to a single attribute name to only return results that have that name. You\n\t\t\tcan also filter the results by attribute name and value, for example, to see which\n\t\t\tcontainer instances in a cluster are running a Linux AMI\n\t\t\t(ecs.os-type=linux).

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -3916,28 +3967,28 @@ "smithy.api#required": {} } }, - "attributeValue": { - "target": "com.amazonaws.ecs#String", + "maxResults": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The value of the attribute with which to filter results. You must also specify an\n attribute name to use this parameter.

" + "smithy.api#documentation": "

The maximum number of cluster results returned by ListAttributes in\n\t\t\tpaginated output. When this parameter is used, ListAttributes only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListAttributes request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If this\n\t\t\tparameter is not used, then ListAttributes returns up to\n\t\t\t100 results and a nextToken value if applicable.

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

The nextToken value returned from a ListAttributes request\n indicating that more results are available to fulfill the request and further calls will\n be needed. If maxResults was provided, it is possible the number of results\n to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

The nextToken value returned from a ListAttributes request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it is possible the number of results\n\t\t\tto be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, - "maxResults": { - "target": "com.amazonaws.ecs#BoxedInteger", + "attributeValue": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The maximum number of cluster results returned by ListAttributes in\n paginated output. When this parameter is used, ListAttributes only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListAttributes request with the returned nextToken\n value. This value can be between 1 and 100. If this\n parameter is not used, then ListAttributes returns up to\n 100 results and a nextToken value if applicable.

" + "smithy.api#documentation": "

The value of the attribute with which to filter results. You must also specify an\n\t\t\tattribute name to use this parameter.

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

The short name or full Amazon Resource Name (ARN) of the cluster to list attributes.\n If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster to list attributes.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } }, "attributeName": { @@ -3960,7 +4011,7 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The nextToken value to include in a future ListAttributes\n request. When the results of a ListAttributes request exceed\n maxResults, this value can be used to retrieve the next page of\n results. This value is null when there are no more results to\n return.

" + "smithy.api#documentation": "

The nextToken value to include in a future ListAttributes\n\t\t\trequest. When the results of a ListAttributes request exceed\n\t\t\t\tmaxResults, this value can be used to retrieve the next page of\n\t\t\tresults. This value is null when there are no more results to\n\t\t\treturn.

" } } } @@ -4000,13 +4051,13 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a ListClusters request\n indicating that more results are available to fulfill the request and further calls will\n be needed. If maxResults was provided, it is possible the number of results\n to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

The nextToken value returned from a ListClusters request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it is possible the number of results\n\t\t\tto be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The maximum number of cluster results returned by ListClusters in\n paginated output. When this parameter is used, ListClusters only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListClusters request with the returned nextToken\n value. This value can be between 1 and 100. If this\n parameter is not used, then ListClusters returns up to\n 100 results and a nextToken value if applicable.

" + "smithy.api#documentation": "

The maximum number of cluster results returned by ListClusters in\n\t\t\tpaginated output. When this parameter is used, ListClusters only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListClusters request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If this\n\t\t\tparameter is not used, then ListClusters returns up to\n\t\t\t100 results and a nextToken value if applicable.

" } } } @@ -4017,13 +4068,13 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The nextToken value to include in a future ListClusters\n request. When the results of a ListClusters request exceed\n maxResults, this value can be used to retrieve the next page of\n results. This value is null when there are no more results to\n return.

" + "smithy.api#documentation": "

The nextToken value to include in a future ListClusters\n\t\t\trequest. When the results of a ListClusters request exceed\n\t\t\t\tmaxResults, this value can be used to retrieve the next page of\n\t\t\tresults. This value is null when there are no more results to\n\t\t\treturn.

" } }, "clusterArns": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The list of full Amazon Resource Name (ARN) entries for each cluster associated with your\n account.

" + "smithy.api#documentation": "

The list of full Amazon Resource Name (ARN) entries for each cluster associated with your\n\t\t\taccount.

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

Returns a list of container instances in a specified cluster. You can filter the\n results of a ListContainerInstances operation with cluster query language\n statements inside the filter parameter. For more information, see Cluster Query Language in the\n Amazon Elastic Container Service Developer Guide.

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

Returns a list of container instances in a specified cluster. You can filter the\n\t\t\tresults of a ListContainerInstances operation with cluster query language\n\t\t\tstatements inside the filter parameter. For more information, see Cluster Query Language in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4066,31 +4117,31 @@ "filter": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

You can filter the results of a ListContainerInstances operation with\n cluster query language statements. For more information, see Cluster Query Language in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

You can filter the results of a ListContainerInstances operation with\n\t\t\tcluster query language statements. For more information, see Cluster Query Language in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

" } }, - "nextToken": { + "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a ListContainerInstances\n request indicating that more results are available to fulfill the request and further\n calls will be needed. If maxResults was provided, it is possible the number\n of results to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to\n\t\t\tlist. If you do not specify a cluster, the default cluster is assumed.

" } }, - "maxResults": { - "target": "com.amazonaws.ecs#BoxedInteger", + "nextToken": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The maximum number of container instance results returned by\n ListContainerInstances in paginated output. When this parameter is\n used, ListContainerInstances only returns maxResults results\n in a single page along with a nextToken response element. The remaining\n results of the initial request can be seen by sending another\n ListContainerInstances request with the returned nextToken\n value. This value can be between 1 and 100. If this\n parameter is not used, then ListContainerInstances returns up to\n 100 results and a nextToken value if applicable.

" + "smithy.api#documentation": "

The nextToken value returned from a ListContainerInstances\n\t\t\trequest indicating that more results are available to fulfill the request and further\n\t\t\tcalls will be needed. If maxResults was provided, it is possible the number\n\t\t\tof results to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, - "cluster": { - "target": "com.amazonaws.ecs#String", + "maxResults": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to\n list. If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The maximum number of container instance results returned by\n\t\t\t\tListContainerInstances in paginated output. When this parameter is\n\t\t\tused, ListContainerInstances only returns maxResults results\n\t\t\tin a single page along with a nextToken response element. The remaining\n\t\t\tresults of the initial request can be seen by sending another\n\t\t\t\tListContainerInstances request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If this\n\t\t\tparameter is not used, then ListContainerInstances returns up to\n\t\t\t100 results and a nextToken value if applicable.

" } }, "status": { "target": "com.amazonaws.ecs#ContainerInstanceStatus", "traits": { - "smithy.api#documentation": "

Filters the container instances by status. For example, if you specify the\n DRAINING status, the results include only container instances that have\n been set to DRAINING using UpdateContainerInstancesState.\n If you do not specify this parameter, the default is to include container instances set\n to all states other than INACTIVE.

" + "smithy.api#documentation": "

Filters the container instances by status. For example, if you specify the\n\t\t\t\tDRAINING status, the results include only container instances that have\n\t\t\tbeen set to DRAINING using UpdateContainerInstancesState.\n\t\t\tIf you do not specify this parameter, the default is to include container instances set\n\t\t\tto all states other than INACTIVE.

" } } } @@ -4101,13 +4152,13 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The nextToken value to include in a future\n ListContainerInstances request. When the results of a\n ListContainerInstances request exceed maxResults, this\n value can be used to retrieve the next page of results. This value is null\n when there are no more results to return.

" + "smithy.api#documentation": "

The nextToken value to include in a future\n\t\t\t\tListContainerInstances request. When the results of a\n\t\t\t\tListContainerInstances request exceed maxResults, this\n\t\t\tvalue can be used to retrieve the next page of results. This value is null\n\t\t\twhen there are no more results to return.

" } }, "containerInstanceArns": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The list of container instances with full ARN entries for each container instance\n associated with the specified cluster.

" + "smithy.api#documentation": "

The list of container instances with full ARN entries for each container instance\n\t\t\tassociated with the specified cluster.

" } } } @@ -4147,10 +4198,10 @@ "com.amazonaws.ecs#ListServicesRequest": { "type": "structure", "members": { - "launchType": { - "target": "com.amazonaws.ecs#LaunchType", + "nextToken": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The launch type for the services to list.

" + "smithy.api#documentation": "

The nextToken value returned from a ListServices request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it is possible the number of results\n\t\t\tto be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, "schedulingStrategy": { @@ -4159,22 +4210,22 @@ "smithy.api#documentation": "

The scheduling strategy for services to list.

" } }, - "cluster": { - "target": "com.amazonaws.ecs#String", + "launchType": { + "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list.\n If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The launch type for the services to list.

" } }, - "nextToken": { - "target": "com.amazonaws.ecs#String", + "maxResults": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a ListServices request\n indicating that more results are available to fulfill the request and further calls will\n be needed. If maxResults was provided, it is possible the number of results\n to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

The maximum number of service results returned by ListServices in\n\t\t\tpaginated output. When this parameter is used, ListServices only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListServices request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If\n\t\t\tthis parameter is not used, then ListServices returns up to\n\t\t\t10 results and a nextToken value if\n\t\t\tapplicable.

" } }, - "maxResults": { - "target": "com.amazonaws.ecs#BoxedInteger", + "cluster": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The maximum number of service results returned by ListServices in\n paginated output. When this parameter is used, ListServices only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListServices request with the returned nextToken\n value. This value can be between 1 and 100. If\n this parameter is not used, then ListServices returns up to\n 10 results and a nextToken value if\n applicable.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } } } @@ -4185,13 +4236,13 @@ "serviceArns": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The list of full ARN entries for each service associated with the specified\n cluster.

" + "smithy.api#documentation": "

The list of full ARN entries for each service associated with the specified\n\t\t\tcluster.

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

The nextToken value to include in a future ListServices\n request. When the results of a ListServices request exceed\n maxResults, this value can be used to retrieve the next page of\n results. This value is null when there are no more results to\n return.

" + "smithy.api#documentation": "

The nextToken value to include in a future ListServices\n\t\t\trequest. When the results of a ListServices request exceed\n\t\t\t\tmaxResults, this value can be used to retrieve the next page of\n\t\t\tresults. This value is null when there are no more results to\n\t\t\treturn.

" } } } @@ -4228,7 +4279,7 @@ "resourceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the\n supported resources are Amazon ECS tasks, services, task definitions, clusters, and container\n instances.

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

The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the\n\t\t\tsupported resources are Amazon ECS tasks, services, task definitions, clusters, and container\n\t\t\tinstances.

", "smithy.api#required": {} } } @@ -4265,7 +4316,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of task definition families that are registered to your account (which\n may include task definition families that no longer have any ACTIVE task\n definition revisions).

\n

You can filter out task definition families that do not contain any\n ACTIVE task definition revisions by setting the status\n parameter to ACTIVE. You can also filter the results with the\n familyPrefix parameter.

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

Returns a list of task definition families that are registered to your account (which\n\t\t\tmay include task definition families that no longer have any ACTIVE task\n\t\t\tdefinition revisions).

\n\t\t

You can filter out task definition families that do not contain any\n\t\t\t\tACTIVE task definition revisions by setting the status\n\t\t\tparameter to ACTIVE. You can also filter the results with the\n\t\t\t\tfamilyPrefix parameter.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4277,28 +4328,28 @@ "com.amazonaws.ecs#ListTaskDefinitionFamiliesRequest": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.ecs#TaskDefinitionFamilyStatus", + "maxResults": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The task definition family status with which to filter the\n ListTaskDefinitionFamilies results. By default, both\n ACTIVE and INACTIVE task definition families are listed.\n If this parameter is set to ACTIVE, only task definition families that have\n an ACTIVE task definition revision are returned. If this parameter is set\n to INACTIVE, only task definition families that do not have any\n ACTIVE task definition revisions are returned. If you paginate the\n resulting output, be sure to keep the status value constant in each\n subsequent request.

" + "smithy.api#documentation": "

The maximum number of task definition family results returned by\n\t\t\t\tListTaskDefinitionFamilies in paginated output. When this parameter is\n\t\t\tused, ListTaskDefinitions only returns maxResults results in a\n\t\t\tsingle page along with a nextToken response element. The remaining results\n\t\t\tof the initial request can be seen by sending another\n\t\t\t\tListTaskDefinitionFamilies request with the returned\n\t\t\t\tnextToken value. This value can be between 1 and\n\t\t\t100. If this parameter is not used, then\n\t\t\t\tListTaskDefinitionFamilies returns up to 100 results\n\t\t\tand a nextToken value if applicable.

" } }, - "nextToken": { - "target": "com.amazonaws.ecs#String", + "status": { + "target": "com.amazonaws.ecs#TaskDefinitionFamilyStatus", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a\n ListTaskDefinitionFamilies request indicating that more results are\n available to fulfill the request and further calls will be needed. If\n maxResults was provided, it is possible the number of results to be\n fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

The task definition family status with which to filter the\n\t\t\t\tListTaskDefinitionFamilies results. By default, both\n\t\t\t\tACTIVE and INACTIVE task definition families are listed.\n\t\t\tIf this parameter is set to ACTIVE, only task definition families that have\n\t\t\tan ACTIVE task definition revision are returned. If this parameter is set\n\t\t\tto INACTIVE, only task definition families that do not have any\n\t\t\t\tACTIVE task definition revisions are returned. If you paginate the\n\t\t\tresulting output, be sure to keep the status value constant in each\n\t\t\tsubsequent request.

" } }, - "maxResults": { - "target": "com.amazonaws.ecs#BoxedInteger", + "familyPrefix": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The maximum number of task definition family results returned by\n ListTaskDefinitionFamilies in paginated output. When this parameter is\n used, ListTaskDefinitions only returns maxResults results in a\n single page along with a nextToken response element. The remaining results\n of the initial request can be seen by sending another\n ListTaskDefinitionFamilies request with the returned\n nextToken value. This value can be between 1 and\n 100. If this parameter is not used, then\n ListTaskDefinitionFamilies returns up to 100 results\n and a nextToken value if applicable.

" + "smithy.api#documentation": "

The familyPrefix is a string that is used to filter the results of\n\t\t\t\tListTaskDefinitionFamilies. If you specify a familyPrefix,\n\t\t\tonly task definition family names that begin with the familyPrefix string\n\t\t\tare returned.

" } }, - "familyPrefix": { + "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The familyPrefix is a string that is used to filter the results of\n ListTaskDefinitionFamilies. If you specify a familyPrefix,\n only task definition family names that begin with the familyPrefix string\n are returned.

" + "smithy.api#documentation": "

The nextToken value returned from a\n\t\t\t\tListTaskDefinitionFamilies request indicating that more results are\n\t\t\tavailable to fulfill the request and further calls will be needed. If\n\t\t\t\tmaxResults was provided, it is possible the number of results to be\n\t\t\tfewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } } @@ -4309,13 +4360,13 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The nextToken value to include in a future\n ListTaskDefinitionFamilies request. When the results of a\n ListTaskDefinitionFamilies request exceed maxResults, this\n value can be used to retrieve the next page of results. This value is null\n when there are no more results to return.

" + "smithy.api#documentation": "

The nextToken value to include in a future\n\t\t\t\tListTaskDefinitionFamilies request. When the results of a\n\t\t\t\tListTaskDefinitionFamilies request exceed maxResults, this\n\t\t\tvalue can be used to retrieve the next page of results. This value is null\n\t\t\twhen there are no more results to return.

" } }, "families": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The list of task definition family names that match the\n ListTaskDefinitionFamilies request.

" + "smithy.api#documentation": "

The list of task definition family names that match the\n\t\t\t\tListTaskDefinitionFamilies request.

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

Returns a list of task definitions that are registered to your account. You can filter\n the results by family name with the familyPrefix parameter or by status\n with the status parameter.

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

Returns a list of task definitions that are registered to your account. You can filter\n\t\t\tthe results by family name with the familyPrefix parameter or by status\n\t\t\twith the status parameter.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4355,31 +4406,31 @@ "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The maximum number of task definition results returned by\n ListTaskDefinitions in paginated output. When this parameter is used,\n ListTaskDefinitions only returns maxResults results in a\n single page along with a nextToken response element. The remaining results\n of the initial request can be seen by sending another ListTaskDefinitions\n request with the returned nextToken value. This value can be between\n 1 and 100. If this parameter is not used, then\n ListTaskDefinitions returns up to 100 results and a\n nextToken value if applicable.

" + "smithy.api#documentation": "

The maximum number of task definition results returned by\n\t\t\t\tListTaskDefinitions in paginated output. When this parameter is used,\n\t\t\t\tListTaskDefinitions only returns maxResults results in a\n\t\t\tsingle page along with a nextToken response element. The remaining results\n\t\t\tof the initial request can be seen by sending another ListTaskDefinitions\n\t\t\trequest with the returned nextToken value. This value can be between\n\t\t\t1 and 100. If this parameter is not used, then\n\t\t\t\tListTaskDefinitions returns up to 100 results and a\n\t\t\t\tnextToken value if applicable.

" } }, - "nextToken": { + "familyPrefix": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a ListTaskDefinitions\n request indicating that more results are available to fulfill the request and further\n calls will be needed. If maxResults was provided, it is possible the number\n of results to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

The full family name with which to filter the ListTaskDefinitions\n\t\t\tresults. Specifying a familyPrefix limits the listed task definitions to\n\t\t\ttask definition revisions that belong to that family.

" } }, - "familyPrefix": { + "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The full family name with which to filter the ListTaskDefinitions\n results. Specifying a familyPrefix limits the listed task definitions to\n task definition revisions that belong to that family.

" + "smithy.api#documentation": "

The nextToken value returned from a ListTaskDefinitions\n\t\t\trequest indicating that more results are available to fulfill the request and further\n\t\t\tcalls will be needed. If maxResults was provided, it is possible the number\n\t\t\tof results to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, "sort": { "target": "com.amazonaws.ecs#SortOrder", "traits": { - "smithy.api#documentation": "

The order in which to sort the results. Valid values are ASC and\n DESC. By default (ASC), task definitions are listed\n lexicographically by family name and in ascending numerical order by revision so that\n the newest task definitions in a family are listed last. Setting this parameter to\n DESC reverses the sort order on family name and revision so that the\n newest task definitions in a family are listed first.

" + "smithy.api#documentation": "

The order in which to sort the results. Valid values are ASC and\n\t\t\t\tDESC. By default (ASC), task definitions are listed\n\t\t\tlexicographically by family name and in ascending numerical order by revision so that\n\t\t\tthe newest task definitions in a family are listed last. Setting this parameter to\n\t\t\t\tDESC reverses the sort order on family name and revision so that the\n\t\t\tnewest task definitions in a family are listed first.

" } }, "status": { "target": "com.amazonaws.ecs#TaskDefinitionStatus", "traits": { - "smithy.api#documentation": "

The task definition status with which to filter the ListTaskDefinitions\n results. By default, only ACTIVE task definitions are listed. By setting\n this parameter to INACTIVE, you can view task definitions that are\n INACTIVE as long as an active task or service still references them. If\n you paginate the resulting output, be sure to keep the status value\n constant in each subsequent request.

" + "smithy.api#documentation": "

The task definition status with which to filter the ListTaskDefinitions\n\t\t\tresults. By default, only ACTIVE task definitions are listed. By setting\n\t\t\tthis parameter to INACTIVE, you can view task definitions that are\n\t\t\t\tINACTIVE as long as an active task or service still references them. If\n\t\t\tyou paginate the resulting output, be sure to keep the status value\n\t\t\tconstant in each subsequent request.

" } } } @@ -4390,13 +4441,13 @@ "taskDefinitionArns": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions\n request.

" + "smithy.api#documentation": "

The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions\n\t\t\trequest.

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

The nextToken value to include in a future\n ListTaskDefinitions request. When the results of a\n ListTaskDefinitions request exceed maxResults, this value\n can be used to retrieve the next page of results. This value is null when\n there are no more results to return.

" + "smithy.api#documentation": "

The nextToken value to include in a future\n\t\t\t\tListTaskDefinitions request. When the results of a\n\t\t\t\tListTaskDefinitions request exceed maxResults, this value\n\t\t\tcan be used to retrieve the next page of results. This value is null when\n\t\t\tthere are no more results to return.

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

Returns a list of tasks for a specified cluster. You can filter the results by family\n name, by a particular container instance, or by the desired status of the task with the\n family, containerInstance, and desiredStatus\n parameters.

\n

Recently stopped tasks might appear in the returned results. Currently, stopped tasks\n appear in the returned results for at least one hour.

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

Returns a list of tasks for a specified cluster. You can filter the results by family\n\t\t\tname, by a particular container instance, or by the desired status of the task with the\n\t\t\t\tfamily, containerInstance, and desiredStatus\n\t\t\tparameters.

\n\t\t

Recently stopped tasks might appear in the returned results. Currently, stopped tasks\n\t\t\tappear in the returned results for at least one hour.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4439,58 +4490,58 @@ "com.amazonaws.ecs#ListTasksRequest": { "type": "structure", "members": { - "containerInstance": { + "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The container instance ID or full ARN of the container instance with which to filter\n the ListTasks results. Specifying a containerInstance limits\n the results to tasks that belong to that container instance.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks to list.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } }, - "family": { - "target": "com.amazonaws.ecs#String", + "launchType": { + "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

The name of the family with which to filter the ListTasks results.\n Specifying a family limits the results to tasks that belong to that\n family.

" + "smithy.api#documentation": "

The launch type for services to list.

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

The name of the service with which to filter the ListTasks results.\n Specifying a serviceName limits the results to tasks that belong to that\n service.

" + "smithy.api#documentation": "

The name of the service with which to filter the ListTasks results.\n\t\t\tSpecifying a serviceName limits the results to tasks that belong to that\n\t\t\tservice.

" } }, - "desiredStatus": { - "target": "com.amazonaws.ecs#DesiredStatus", + "family": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The task desired status with which to filter the ListTasks results.\n Specifying a desiredStatus of STOPPED limits the results to\n tasks that Amazon ECS has set the desired status to STOPPED. This can be useful\n for debugging tasks that are not starting properly or have died or finished. The default\n status filter is RUNNING, which shows tasks that Amazon ECS has set the desired\n status to RUNNING.

\n \n

Although you can filter results based on a desired status of PENDING,\n this does not return any results. Amazon ECS never sets the desired status of a task to\n that value (only a task's lastStatus may have a value of\n PENDING).

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

The name of the family with which to filter the ListTasks results.\n\t\t\tSpecifying a family limits the results to tasks that belong to that\n\t\t\tfamily.

" } }, - "launchType": { - "target": "com.amazonaws.ecs#LaunchType", + "desiredStatus": { + "target": "com.amazonaws.ecs#DesiredStatus", "traits": { - "smithy.api#documentation": "

The launch type for services to list.

" + "smithy.api#documentation": "

The task desired status with which to filter the ListTasks results.\n\t\t\tSpecifying a desiredStatus of STOPPED limits the results to\n\t\t\ttasks that Amazon ECS has set the desired status to STOPPED. This can be useful\n\t\t\tfor debugging tasks that are not starting properly or have died or finished. The default\n\t\t\tstatus filter is RUNNING, which shows tasks that Amazon ECS has set the desired\n\t\t\tstatus to RUNNING.

\n\t\t \n\t\t\t

Although you can filter results based on a desired status of PENDING,\n\t\t\t\tthis does not return any results. Amazon ECS never sets the desired status of a task to\n\t\t\t\tthat value (only a task's lastStatus may have a value of\n\t\t\t\t\tPENDING).

\n\t\t
" } }, - "maxResults": { - "target": "com.amazonaws.ecs#BoxedInteger", + "startedBy": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The maximum number of task results returned by ListTasks in paginated\n output. When this parameter is used, ListTasks only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListTasks request with the returned nextToken value.\n This value can be between 1 and 100. If this parameter is\n not used, then ListTasks returns up to 100 results and a\n nextToken value if applicable.

" + "smithy.api#documentation": "

The startedBy value with which to filter the task results. Specifying a\n\t\t\t\tstartedBy value limits the results to tasks that were started with that\n\t\t\tvalue.

" } }, - "nextToken": { + "containerInstance": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a ListTasks request\n indicating that more results are available to fulfill the request and further calls will\n be needed. If maxResults was provided, it is possible the number of results\n to be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

The container instance ID or full ARN of the container instance with which to filter\n\t\t\tthe ListTasks results. Specifying a containerInstance limits\n\t\t\tthe results to tasks that belong to that container instance.

" } }, - "cluster": { + "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks to list.\n If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The nextToken value returned from a ListTasks request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it is possible the number of results\n\t\t\tto be fewer than maxResults.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, - "startedBy": { - "target": "com.amazonaws.ecs#String", + "maxResults": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The startedBy value with which to filter the task results. Specifying a\n startedBy value limits the results to tasks that were started with that\n value.

" + "smithy.api#documentation": "

The maximum number of task results returned by ListTasks in paginated\n\t\t\toutput. When this parameter is used, ListTasks only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListTasks request with the returned nextToken value.\n\t\t\tThis value can be between 1 and 100. If this parameter is\n\t\t\tnot used, then ListTasks returns up to 100 results and a\n\t\t\t\tnextToken value if applicable.

" } } } @@ -4498,16 +4549,16 @@ "com.amazonaws.ecs#ListTasksResponse": { "type": "structure", "members": { - "taskArns": { - "target": "com.amazonaws.ecs#StringList", + "nextToken": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The list of task ARN entries for the ListTasks request.

" + "smithy.api#documentation": "

The nextToken value to include in a future ListTasks\n\t\t\trequest. When the results of a ListTasks request exceed\n\t\t\t\tmaxResults, this value can be used to retrieve the next page of\n\t\t\tresults. This value is null when there are no more results to\n\t\t\treturn.

" } }, - "nextToken": { - "target": "com.amazonaws.ecs#String", + "taskArns": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The nextToken value to include in a future ListTasks\n request. When the results of a ListTasks request exceed\n maxResults, this value can be used to retrieve the next page of\n results. This value is null when there are no more results to\n return.

" + "smithy.api#documentation": "

The list of task ARN entries for the ListTasks request.

" } } } @@ -4518,30 +4569,30 @@ "containerName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the container (as it appears in a container definition) to associate with\n the load balancer.

" + "smithy.api#documentation": "

The name of the container (as it appears in a container definition) to associate with\n\t\t\tthe load balancer.

" } }, - "targetGroupArn": { - "target": "com.amazonaws.ecs#String", + "containerPort": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or\n task set.

\n

A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a\n Classic Load Balancer the target group ARN should be omitted.

\n

For services using the ECS deployment controller, you can specify one or\n multiple target groups. For more information, see Registering Multiple Target Groups with a Service in\n the Amazon Elastic Container Service Developer Guide.

\n

For services using the CODE_DEPLOY deployment controller, you are\n required to define two target groups for the load balancer. For more information, see\n Blue/Green Deployment with CodeDeploy in the\n Amazon Elastic Container Service Developer Guide.

\n \n

If your service's task definition uses the awsvpc network mode (which\n is required for the Fargate launch type), you must choose\n ip as the target type, not instance, when creating\n your target groups because tasks that use the awsvpc network mode are\n associated with an elastic network interface, not an Amazon EC2 instance.

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

The port on the container to associate with the load balancer. This port must\n\t\t\tcorrespond to a containerPort in the task definition the tasks in the\n\t\t\tservice are using. For tasks that use the EC2 launch type, the container\n\t\t\tinstance they are launched on must allow ingress traffic on the hostPort of\n\t\t\tthe port mapping.

" } }, - "loadBalancerName": { + "targetGroupArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the load balancer to associate with the Amazon ECS service or task set.

\n

A load balancer name is only specified when using a Classic Load Balancer. If you are using an Application Load Balancer\n or a Network Load Balancer the load balancer name parameter should be omitted.

" + "smithy.api#documentation": "

The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or\n\t\t\ttask set.

\n\t\t

A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a\n\t\t\tClassic Load Balancer the target group ARN should be omitted.

\n\t\t

For services using the ECS deployment controller, you can specify one or\n\t\t\tmultiple target groups. For more information, see Registering Multiple Target Groups with a Service in\n\t\t\tthe Amazon Elastic Container Service Developer Guide.

\n\t\t

For services using the CODE_DEPLOY deployment controller, you are\n\t\t\trequired to define two target groups for the load balancer. For more information, see\n\t\t\t\tBlue/Green Deployment with CodeDeploy in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t \n\t\t\t

If your service's task definition uses the awsvpc network mode (which\n\t\t\t\tis required for the Fargate launch type), you must choose\n\t\t\t\t\tip as the target type, not instance, when creating\n\t\t\t\tyour target groups because tasks that use the awsvpc network mode are\n\t\t\t\tassociated with an elastic network interface, not an Amazon EC2 instance.

\n\t\t
" } }, - "containerPort": { - "target": "com.amazonaws.ecs#BoxedInteger", + "loadBalancerName": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The port on the container to associate with the load balancer. This port must\n correspond to a containerPort in the task definition the tasks in the\n service are using. For tasks that use the EC2 launch type, the container\n instance they are launched on must allow ingress traffic on the hostPort of\n the port mapping.

" + "smithy.api#documentation": "

The name of the load balancer to associate with the Amazon ECS service or task set.

\n\t\t

A load balancer name is only specified when using a Classic Load Balancer. If you are using an Application Load Balancer\n\t\t\tor a Network Load Balancer the load balancer name parameter should be omitted.

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

The load balancer configuration to use with a service or task set.

\n

For specific notes and restrictions regarding the use of load balancers with services\n and task sets, see the CreateService and CreateTaskSet actions.

" + "smithy.api#documentation": "

The load balancer configuration to use with a service or task set.

\n\t\t

For specific notes and restrictions regarding the use of load balancers with services\n\t\t\tand task sets, see the CreateService and CreateTaskSet actions.

" } }, "com.amazonaws.ecs#LoadBalancers": { @@ -4556,7 +4607,7 @@ "logDriver": { "target": "com.amazonaws.ecs#LogDriver", "traits": { - "smithy.api#documentation": "

The log driver to use for the container. The valid values listed earlier are log\n drivers that the Amazon ECS container agent can communicate with by default.

\n

For tasks using the Fargate launch type, the supported log drivers are\n awslogs, splunk, and awsfirelens.

\n

For tasks using the EC2 launch type, the supported log drivers are\n awslogs, fluentd, gelf,\n json-file, journald,\n logentries,syslog, splunk, and\n awsfirelens.

\n

For more information about using the awslogs log driver, see Using\n the awslogs Log Driver in the Amazon Elastic Container Service Developer Guide.

\n

For more information about using the awsfirelens log driver, see Custom Log Routing in the Amazon Elastic Container Service Developer Guide.

\n \n

If you have a custom driver that is not listed, you can fork the Amazon ECS container\n agent project that is available\n on GitHub and customize it to work with that driver. We encourage you to\n submit pull requests for changes that you would like to have included. However, we\n do not currently provide support for running modified copies of this\n software.

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

The log driver to use for the container.

\n\t\t

For tasks on AWS Fargate, the supported log drivers are awslogs,\n\t\t\t\tsplunk, and awsfirelens.

\n\t\t

For tasks hosted on Amazon EC2 instances, the supported log drivers are\n\t\t\t\tawslogs, fluentd, gelf,\n\t\t\t\tjson-file, journald,\n\t\t\t\tlogentries,syslog, splunk, and\n\t\t\t\tawsfirelens.

\n\t\t

For more information about using the awslogs log driver, see Using\n\t\t\t\tthe awslogs log driver in the Amazon Elastic Container Service Developer Guide.

\n\t\t

For more information about using the awsfirelens log driver, see Custom log routing in the Amazon Elastic Container Service Developer Guide.

\n\t\t \n\t\t\t

If you have a custom driver that is not listed, you can fork the Amazon ECS container\n\t\t\t\tagent project that is available\n\t\t\t\t\ton GitHub and customize it to work with that driver. We encourage you to\n\t\t\t\tsubmit pull requests for changes that you would like to have included. However, we\n\t\t\t\tdo not currently provide support for running modified copies of this\n\t\t\t\tsoftware.

\n\t\t
", "smithy.api#required": {} } }, @@ -4569,12 +4620,12 @@ "secretOptions": { "target": "com.amazonaws.ecs#SecretList", "traits": { - "smithy.api#documentation": "

The secrets to pass to the log configuration. For more information, see Specifying\n Sensitive Data in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The secrets to pass to the log configuration. For more information, see Specifying\n\t\t\t\tSensitive Data in the Amazon Elastic Container Service Developer Guide.

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

The log configuration specification for the container.

\n

This parameter maps to LogConfig in the\n Create a container section of the Docker Remote API and the\n --log-driver option to \n docker\n run\n . By default, containers use the same logging driver that the\n Docker daemon uses; however the container may use a different logging driver than the\n Docker daemon by specifying a log driver with this parameter in the container\n definition. To use a different logging driver for a container, the log system must be\n configured properly on the container instance (or on a different log server for remote\n logging options). For more information on the options for different supported log\n drivers, see Configure logging drivers in the Docker documentation.

\n

The following should be noted when specifying a log configuration for your\n containers:

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

The log configuration for the container. This parameter maps to LogConfig\n\t\t\tin the Create a container section of the Docker Remote API and the\n\t\t\t\t--log-driver option to \n docker\n\t\t\t\t\trun\n .

\n\t\t

By default, containers use the same logging driver that the Docker daemon uses;\n\t\t\thowever the container may use a different logging driver than the Docker daemon by\n\t\t\tspecifying a log driver configuration in the container definition. For more information\n\t\t\ton the options for different supported log drivers, see Configure logging\n\t\t\t\tdrivers in the Docker documentation.

\n\t\t

The following should be noted when specifying a log configuration for your\n\t\t\tcontainers:

\n\t\t " } }, "com.amazonaws.ecs#LogConfigurationOptionsMap": { @@ -4631,33 +4682,33 @@ "com.amazonaws.ecs#ManagedScaling": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.ecs#ManagedScalingStatus", + "minimumScalingStepSize": { + "target": "com.amazonaws.ecs#ManagedScalingStepSize", "traits": { - "smithy.api#documentation": "

Whether or not to enable managed scaling for the capacity provider.

" + "smithy.api#documentation": "

The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale\n\t\t\tin process is not affected by this parameter If this parameter is omitted, the default\n\t\t\tvalue of 1 is used.

\n\t\t

When additional capacity is required, Amazon ECS will scale up the minimum scaling step\n\t\t\tsize even if the actual demand is less than the minimum scaling step size.

\n\t\t

If you use a capacity provider with an Auto Scaling group configured with more than\n\t\t\tone Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum\n\t\t\tscaling step size value and will ignore both the maximum scaling step size as well as\n\t\t\tthe capacity demand.

" } }, "maximumScalingStepSize": { "target": "com.amazonaws.ecs#ManagedScalingStepSize", "traits": { - "smithy.api#documentation": "

The maximum number of container instances that Amazon ECS will scale in or scale out at one\n time. If this parameter is omitted, the default value of 10000 is\n used.

" + "smithy.api#documentation": "

The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale\n\t\t\tin process is not affected by this parameter. If this parameter is omitted, the default\n\t\t\tvalue of 10000 is used.

" } }, - "minimumScalingStepSize": { - "target": "com.amazonaws.ecs#ManagedScalingStepSize", + "targetCapacity": { + "target": "com.amazonaws.ecs#ManagedScalingTargetCapacity", "traits": { - "smithy.api#documentation": "

The minimum number of container instances that Amazon ECS will scale in or scale out at one\n time. If this parameter is omitted, the default value of 1 is used.

" + "smithy.api#documentation": "

The target capacity value for the capacity provider. The specified value must be\n\t\t\tgreater than 0 and less than or equal to 100. A value of\n\t\t\t\t100 will result in the Amazon EC2 instances in your Auto Scaling group being\n\t\t\tcompletely utilized.

" } }, - "targetCapacity": { - "target": "com.amazonaws.ecs#ManagedScalingTargetCapacity", + "status": { + "target": "com.amazonaws.ecs#ManagedScalingStatus", "traits": { - "smithy.api#documentation": "

The target capacity value for the capacity provider. The specified value must be\n greater than 0 and less than or equal to 100. A value of\n 100 will result in the Amazon EC2 instances in your Auto Scaling group being\n completely utilized.

" + "smithy.api#documentation": "

Whether or not to enable managed scaling for the capacity provider.

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

The managed scaling settings for the Auto Scaling group capacity provider.

\n

When managed scaling is enabled, Amazon ECS manages the scale-in and scale-out actions of\n the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an\n Amazon ECS-managed CloudWatch metric with the specified targetCapacity value as the\n target value for the metric. For more information, see Using Managed Scaling in the Amazon Elastic Container Service Developer Guide.

\n

If managed scaling is disabled, the user must manage the scaling of the Auto Scaling\n group.

" + "smithy.api#documentation": "

The managed scaling settings for the Auto Scaling group capacity provider.

\n\t\t

When managed scaling is enabled, Amazon ECS manages the scale-in and scale-out actions of\n\t\t\tthe Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an\n\t\t\tAmazon ECS-managed CloudWatch metric with the specified targetCapacity value as the\n\t\t\ttarget value for the metric. For more information, see Using Managed Scaling in the Amazon Elastic Container Service Developer Guide.

\n\t\t

If managed scaling is disabled, the user must manage the scaling of the Auto Scaling\n\t\t\tgroup.

" } }, "com.amazonaws.ecs#ManagedScalingStatus": { @@ -4718,7 +4769,7 @@ } }, "traits": { - "smithy.api#documentation": "

Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the\n container instance and does not have enough information to proceed with an update. This\n could be because the agent running on the container instance is an older or custom\n version that does not use our version information.

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

Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the\n\t\t\tcontainer instance and does not have enough information to proceed with an update. This\n\t\t\tcould be because the agent running on the container instance is an older or custom\n\t\t\tversion that does not use our version information.

", "smithy.api#error": "client" } }, @@ -4728,7 +4779,7 @@ "readOnly": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

If this value is true, the container has read-only access to the volume.\n If this value is false, then the container can write to the volume. The\n default value is false.

" + "smithy.api#documentation": "

If this value is true, the container has read-only access to the volume.\n\t\t\tIf this value is false, then the container can write to the volume. The\n\t\t\tdefault value is false.

" } }, "containerPath": { @@ -4740,7 +4791,7 @@ "sourceVolume": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the volume to mount. Must be a volume name referenced in the\n name parameter of task definition volume.

" + "smithy.api#documentation": "

The name of the volume to mount. Must be a volume name referenced in the\n\t\t\t\tname parameter of task definition volume.

" } } }, @@ -4757,16 +4808,16 @@ "com.amazonaws.ecs#NetworkBinding": { "type": "structure", "members": { - "containerPort": { + "hostPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The port number on the container that is used with the network binding.

" + "smithy.api#documentation": "

The port number on the host that is used with the network binding.

" } }, - "hostPort": { + "containerPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The port number on the host that is used with the network binding.

" + "smithy.api#documentation": "

The port number on the container that is used with the network binding.

" } }, "bindIP": { @@ -4783,7 +4834,7 @@ } }, "traits": { - "smithy.api#documentation": "

Details on the network bindings between a container and its host container instance.\n After a task reaches the RUNNING status, manual and automatic host and\n container port assignments are visible in the networkBindings section of\n DescribeTasks API responses.

" + "smithy.api#documentation": "

Details on the network bindings between a container and its host container instance.\n\t\t\tAfter a task reaches the RUNNING status, manual and automatic host and\n\t\t\tcontainer port assignments are visible in the networkBindings section of\n\t\t\t\tDescribeTasks API responses.

" } }, "com.amazonaws.ecs#NetworkBindings": { @@ -4798,7 +4849,7 @@ "awsvpcConfiguration": { "target": "com.amazonaws.ecs#AwsVpcConfiguration", "traits": { - "smithy.api#documentation": "

The VPC subnets and security groups associated with a task.

\n \n

All specified subnets and security groups must be from the same VPC.

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

The VPC subnets and security groups associated with a task.

\n\t\t \n\t\t\t

All specified subnets and security groups must be from the same VPC.

\n\t\t
" } } }, @@ -4829,7 +4880,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing the elastic network interface for tasks that use the\n awsvpc network mode.

" + "smithy.api#documentation": "

An object representing the elastic network interface for tasks that use the\n\t\t\t\tawsvpc network mode.

" } }, "com.amazonaws.ecs#NetworkInterfaces": { @@ -4869,7 +4920,7 @@ } }, "traits": { - "smithy.api#documentation": "

There is no update available for this Amazon ECS container agent. This could be because the\n agent is already running the latest version, or it is so old that there is no update\n path to the current version.

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

There is no update available for this Amazon ECS container agent. This could be because the\n\t\t\tagent is already running the latest version, or it is so old that there is no update\n\t\t\tpath to the current version.

", "smithy.api#error": "client" } }, @@ -4894,18 +4945,18 @@ "type": { "target": "com.amazonaws.ecs#PlacementConstraintType", "traits": { - "smithy.api#documentation": "

The type of constraint. Use distinctInstance to ensure that each task in\n a particular group is running on a different container instance. Use\n memberOf to restrict the selection to a group of valid\n candidates.

" + "smithy.api#documentation": "

The type of constraint. Use distinctInstance to ensure that each task in\n\t\t\ta particular group is running on a different container instance. Use\n\t\t\t\tmemberOf to restrict the selection to a group of valid\n\t\t\tcandidates.

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

A cluster query language expression to apply to the constraint. You cannot specify an\n expression if the constraint type is distinctInstance. For more\n information, see Cluster Query Language in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

A cluster query language expression to apply to the constraint. You cannot specify an\n\t\t\texpression if the constraint type is distinctInstance. For more\n\t\t\tinformation, see Cluster Query Language in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

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

An object representing a constraint on task placement. For more information, see\n Task Placement Constraints in the\n Amazon Elastic Container Service Developer Guide.

\n \n

If you are using the Fargate launch type, task placement constraints\n are not supported.

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

An object representing a constraint on task placement. For more information, see\n\t\t\t\tTask Placement Constraints in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t \n\t\t\t

If you are using the Fargate launch type, task placement constraints\n\t\t\t\tare not supported.

\n\t\t
" } }, "com.amazonaws.ecs#PlacementConstraintType": { @@ -4938,21 +4989,21 @@ "com.amazonaws.ecs#PlacementStrategy": { "type": "structure", "members": { - "type": { - "target": "com.amazonaws.ecs#PlacementStrategyType", + "field": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The type of placement strategy. The random placement strategy randomly\n places tasks on available candidates. The spread placement strategy spreads\n placement across available candidates evenly based on the field parameter.\n The binpack strategy places tasks on available candidates that have the\n least available amount of the resource that is specified with the field\n parameter. For example, if you binpack on memory, a task is placed on the instance with\n the least amount of remaining memory (but still enough to run the task).

" + "smithy.api#documentation": "

The field to apply the placement strategy against. For the spread\n\t\t\tplacement strategy, valid values are instanceId (or host,\n\t\t\twhich has the same effect), or any platform or custom attribute that is applied to a\n\t\t\tcontainer instance, such as attribute:ecs.availability-zone. For the\n\t\t\t\tbinpack placement strategy, valid values are cpu and\n\t\t\t\tmemory. For the random placement strategy, this field is\n\t\t\tnot used.

" } }, - "field": { - "target": "com.amazonaws.ecs#String", + "type": { + "target": "com.amazonaws.ecs#PlacementStrategyType", "traits": { - "smithy.api#documentation": "

The field to apply the placement strategy against. For the spread\n placement strategy, valid values are instanceId (or host,\n which has the same effect), or any platform or custom attribute that is applied to a\n container instance, such as attribute:ecs.availability-zone. For the\n binpack placement strategy, valid values are cpu and\n memory. For the random placement strategy, this field is\n not used.

" + "smithy.api#documentation": "

The type of placement strategy. The random placement strategy randomly\n\t\t\tplaces tasks on available candidates. The spread placement strategy spreads\n\t\t\tplacement across available candidates evenly based on the field parameter.\n\t\t\tThe binpack strategy places tasks on available candidates that have the\n\t\t\tleast available amount of the resource that is specified with the field\n\t\t\tparameter. For example, if you binpack on memory, a task is placed on the instance with\n\t\t\tthe least amount of remaining memory (but still enough to run the task).

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

The task placement strategy for a task or service. For more information, see Task Placement Strategies in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The task placement strategy for a task or service. For more information, see Task Placement Strategies in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#PlacementStrategyType": { @@ -4980,20 +5031,20 @@ "type": { "target": "com.amazonaws.ecs#PlatformDeviceType", "traits": { - "smithy.api#documentation": "

The type of device that is available on the container instance. The only supported\n value is GPU.

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

The type of device that is available on the container instance. The only supported\n\t\t\tvalue is GPU.

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

The ID for the GPU(s) on the container instance. The available GPU IDs can also be\n obtained on the container instance in the\n /var/lib/ecs/gpu/nvidia_gpu_info.json file.

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

The ID for the GPU(s) on the container instance. The available GPU IDs can also be\n\t\t\tobtained on the container instance in the\n\t\t\t\t/var/lib/ecs/gpu/nvidia_gpu_info.json file.

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

The devices that are available on the container instance. The only supported device\n type is a GPU.

" + "smithy.api#documentation": "

The devices that are available on the container instance. The only supported device\n\t\t\ttype is a GPU.

" } }, "com.amazonaws.ecs#PlatformDeviceType": { @@ -5021,7 +5072,7 @@ } }, "traits": { - "smithy.api#documentation": "

The specified platform version does not satisfy the task definition's required\n capabilities.

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

The specified platform version does not satisfy the task definition's required\n\t\t\tcapabilities.

", "smithy.api#error": "client" } }, @@ -5043,24 +5094,24 @@ "protocol": { "target": "com.amazonaws.ecs#TransportProtocol", "traits": { - "smithy.api#documentation": "

The protocol used for the port mapping. Valid values are tcp and\n udp. The default is tcp.

" + "smithy.api#documentation": "

The protocol used for the port mapping. Valid values are tcp and\n\t\t\t\tudp. The default is tcp.

" } }, "hostPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The port number on the container instance to reserve for your container.

\n

If you are using containers in a task with the awsvpc or\n host network mode, the hostPort can either be left blank\n or set to the same value as the containerPort.

\n

If you are using containers in a task with the bridge network mode, you\n can specify a non-reserved host port for your container port mapping, or you can omit\n the hostPort (or set it to 0) while specifying a\n containerPort and your container automatically receives a port in the\n ephemeral port range for your container instance operating system and Docker\n version.

\n

The default ephemeral port range for Docker version 1.6.0 and later is listed on the\n instance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel\n parameter is unavailable, the default ephemeral port range from 49153 through 65535 is\n used. Do not attempt to specify a host port in the ephemeral port range as these are\n reserved for automatic assignment. In general, ports below 32768 are outside of the\n ephemeral port range.

\n \n

The default ephemeral port range from 49153 through 65535 is always used for\n Docker versions before 1.6.0.

\n
\n

The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the\n Amazon ECS container agent ports 51678-51680. Any host port that was previously specified in\n a running task is also reserved while the task is running (after a task stops, the host\n port is released). The current reserved ports are displayed in the\n remainingResources of DescribeContainerInstances\n output. A container instance can have up to 100 reserved ports at a time, including the\n default reserved ports. Automatically assigned ports don't count toward the 100 reserved\n ports limit.

" + "smithy.api#documentation": "

The port number on the container instance to reserve for your container.

\n\t\t

If you are using containers in a task with the awsvpc or\n\t\t\t\thost network mode, the hostPort can either be left blank\n\t\t\tor set to the same value as the containerPort.

\n\t\t

If you are using containers in a task with the bridge network mode, you\n\t\t\tcan specify a non-reserved host port for your container port mapping, or you can omit\n\t\t\tthe hostPort (or set it to 0) while specifying a\n\t\t\t\tcontainerPort and your container automatically receives a port in the\n\t\t\tephemeral port range for your container instance operating system and Docker\n\t\t\tversion.

\n\t\t

The default ephemeral port range for Docker version 1.6.0 and later is listed on the\n\t\t\tinstance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel\n\t\t\tparameter is unavailable, the default ephemeral port range from 49153 through 65535 is\n\t\t\tused. Do not attempt to specify a host port in the ephemeral port range as these are\n\t\t\treserved for automatic assignment. In general, ports below 32768 are outside of the\n\t\t\tephemeral port range.

\n\t\t \n\t\t\t

The default ephemeral port range from 49153 through 65535 is always used for\n\t\t\t\tDocker versions before 1.6.0.

\n\t\t
\n\t\t

The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the\n\t\t\tAmazon ECS container agent ports 51678-51680. Any host port that was previously specified in\n\t\t\ta running task is also reserved while the task is running (after a task stops, the host\n\t\t\tport is released). The current reserved ports are displayed in the\n\t\t\t\tremainingResources of DescribeContainerInstances\n\t\t\toutput. A container instance can have up to 100 reserved ports at a time, including the\n\t\t\tdefault reserved ports. Automatically assigned ports don't count toward the 100 reserved\n\t\t\tports limit.

" } }, "containerPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The port number on the container that is bound to the user-specified or automatically\n assigned host port.

\n

If you are using containers in a task with the awsvpc or\n host network mode, exposed ports should be specified using\n containerPort.

\n

If you are using containers in a task with the bridge network mode and\n you specify a container port and not a host port, your container automatically receives\n a host port in the ephemeral port range. For more information, see\n hostPort. Port mappings that are automatically assigned in this way do not\n count toward the 100 reserved ports limit of a container instance.

\n \n

You cannot expose the same container port for multiple protocols. An error will be\n returned if this is attempted.

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

The port number on the container that is bound to the user-specified or automatically\n\t\t\tassigned host port.

\n\t\t

If you are using containers in a task with the awsvpc or\n\t\t\t\thost network mode, exposed ports should be specified using\n\t\t\t\tcontainerPort.

\n\t\t

If you are using containers in a task with the bridge network mode and\n\t\t\tyou specify a container port and not a host port, your container automatically receives\n\t\t\ta host port in the ephemeral port range. For more information, see\n\t\t\thostPort. Port mappings that are automatically assigned in this way do not\n\t\t\tcount toward the 100 reserved ports limit of a container instance.

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

Port mappings allow containers to access ports on the host container instance to send\n or receive traffic. Port mappings are specified as part of the container\n definition.

\n

If you are using containers in a task with the awsvpc or\n host network mode, exposed ports should be specified using\n containerPort. The hostPort can be left blank or it must\n be the same value as the containerPort.

\n

After a task reaches the RUNNING status, manual and automatic host and\n container port assignments are visible in the networkBindings section of\n DescribeTasks API responses.

" + "smithy.api#documentation": "

Port mappings allow containers to access ports on the host container instance to send\n\t\t\tor receive traffic. Port mappings are specified as part of the container\n\t\t\tdefinition.

\n\t\t

If you are using containers in a task with the awsvpc or\n\t\t\t\thost network mode, exposed ports should be specified using\n\t\t\t\tcontainerPort. The hostPort can be left blank or it must\n\t\t\tbe the same value as the containerPort.

\n\t\t

After a task reaches the RUNNING status, manual and automatic host and\n\t\t\tcontainer port assignments are visible in the networkBindings section of\n\t\t\t\tDescribeTasks API responses.

" } }, "com.amazonaws.ecs#PortMappingList": { @@ -5090,7 +5141,13 @@ "properties": { "target": "com.amazonaws.ecs#ProxyConfigurationProperties", "traits": { - "smithy.api#documentation": "

The set of network configuration parameters to provide the Container Network Interface\n (CNI) plugin, specified as key-value pairs.

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

The set of network configuration parameters to provide the Container Network Interface\n\t\t\t(CNI) plugin, specified as key-value pairs.

\n\t\t " + } + }, + "type": { + "target": "com.amazonaws.ecs#ProxyConfigurationType", + "traits": { + "smithy.api#documentation": "

The proxy type. The only supported value is APPMESH.

" } }, "containerName": { @@ -5099,16 +5156,10 @@ "smithy.api#documentation": "

The name of the container that will serve as the App Mesh proxy.

", "smithy.api#required": {} } - }, - "type": { - "target": "com.amazonaws.ecs#ProxyConfigurationType", - "traits": { - "smithy.api#documentation": "

The proxy type. The only supported value is APPMESH.

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

The configuration details for the App Mesh proxy.

\n

For tasks using the EC2 launch type, the container instances require at\n least version 1.26.0 of the container agent and at least version 1.26.0-1 of the\n ecs-init package to enable a proxy configuration. If your container\n instances are launched from the Amazon ECS-optimized AMI version 20190301 or\n later, then they contain the required versions of the container agent and\n ecs-init. For more information, see Amazon ECS-optimized Linux AMI\n in the Amazon Elastic Container Service Developer Guide.

\n

For tasks using the Fargate launch type, the task or service requires\n platform version 1.3.0 or later.

" + "smithy.api#documentation": "

The configuration details for the App Mesh proxy.

\n\t\t

For tasks using the EC2 launch type, the container instances require at\n\t\t\tleast version 1.26.0 of the container agent and at least version 1.26.0-1 of the\n\t\t\t\tecs-init package to enable a proxy configuration. If your container\n\t\t\tinstances are launched from the Amazon ECS-optimized AMI version 20190301 or\n\t\t\tlater, then they contain the required versions of the container agent and\n\t\t\t\tecs-init. For more information, see Amazon ECS-optimized Linux AMI\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

\n\t\t

For tasks using the Fargate launch type, the task or service requires\n\t\t\tplatform version 1.3.0 or later.

" } }, "com.amazonaws.ecs#ProxyConfigurationProperties": { @@ -5148,7 +5199,7 @@ } ], "traits": { - "smithy.api#documentation": "

Modifies an account setting. Account settings are set on a per-Region basis.

\n

If you change the account setting for the root user, the default settings for all of\n the IAM users and roles for which no individual account setting has been specified are\n reset. For more information, see Account\n Settings in the Amazon Elastic Container Service Developer Guide.

\n

When serviceLongArnFormat, taskLongArnFormat, or\n containerInstanceLongArnFormat are specified, the Amazon Resource Name\n (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or\n the root user for an account is affected. The opt-in and opt-out account setting must be\n set for each Amazon ECS resource separately. The ARN and resource ID format of a resource\n will be defined by the opt-in status of the IAM user or role that created the resource.\n You must enable this setting to use Amazon ECS features such as resource tagging.

\n

When awsvpcTrunking is specified, the elastic network interface (ENI)\n limit for any new container instances that support the feature is changed. If\n awsvpcTrunking is enabled, any new container instances that support the\n feature are launched have the increased ENI limits available to them. For more\n information, see Elastic Network\n Interface Trunking in the Amazon Elastic Container Service Developer Guide.

\n

When containerInsights is specified, the default setting indicating\n whether CloudWatch Container Insights is enabled for your clusters is changed. If\n containerInsights is enabled, any new clusters that are created will\n have Container Insights enabled unless you disable it during cluster creation. For more\n information, see CloudWatch\n Container Insights in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Modifies an account setting. Account settings are set on a per-Region basis.

\n\t\t

If you change the account setting for the root user, the default settings for all of\n\t\t\tthe IAM users and roles for which no individual account setting has been specified are\n\t\t\treset. For more information, see Account\n\t\t\t\tSettings in the Amazon Elastic Container Service Developer Guide.

\n\t\t

When serviceLongArnFormat, taskLongArnFormat, or\n\t\t\t\tcontainerInstanceLongArnFormat are specified, the Amazon Resource Name\n\t\t\t(ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or\n\t\t\tthe root user for an account is affected. The opt-in and opt-out account setting must be\n\t\t\tset for each Amazon ECS resource separately. The ARN and resource ID format of a resource\n\t\t\twill be defined by the opt-in status of the IAM user or role that created the resource.\n\t\t\tYou must enable this setting to use Amazon ECS features such as resource tagging.

\n\t\t

When awsvpcTrunking is specified, the elastic network interface (ENI)\n\t\t\tlimit for any new container instances that support the feature is changed. If\n\t\t\t\tawsvpcTrunking is enabled, any new container instances that support the\n\t\t\tfeature are launched have the increased ENI limits available to them. For more\n\t\t\tinformation, see Elastic Network\n\t\t\t\tInterface Trunking in the Amazon Elastic Container Service Developer Guide.

\n\t\t

When containerInsights is specified, the default setting indicating\n\t\t\twhether CloudWatch Container Insights is enabled for your clusters is changed. If\n\t\t\t\tcontainerInsights is enabled, any new clusters that are created will\n\t\t\thave Container Insights enabled unless you disable it during cluster creation. For more\n\t\t\tinformation, see CloudWatch\n\t\t\t\tContainer Insights in the Amazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#PutAccountSettingDefault": { @@ -5171,7 +5222,7 @@ } ], "traits": { - "smithy.api#documentation": "

Modifies an account setting for all IAM users on an account for whom no individual\n account setting has been specified. Account settings are set on a per-Region\n basis.

" + "smithy.api#documentation": "

Modifies an account setting for all IAM users on an account for whom no individual\n\t\t\taccount setting has been specified. Account settings are set on a per-Region\n\t\t\tbasis.

" } }, "com.amazonaws.ecs#PutAccountSettingDefaultRequest": { @@ -5180,14 +5231,14 @@ "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The account setting value for the specified principal ARN. Accepted values are\n enabled and disabled.

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

The account setting value for the specified principal ARN. Accepted values are\n\t\t\t\tenabled and disabled.

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.ecs#SettingName", "traits": { - "smithy.api#documentation": "

The resource name for which to modify the account setting. If\n serviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n affected. If taskLongArnFormat is specified, the ARN and resource ID for\n your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n specified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n awsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n instances is affected. If containerInsights is specified, the default\n setting for CloudWatch Container Insights for your clusters is affected.

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

The resource name for which to modify the account setting. If\n\t\t\t\tserviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n\t\t\taffected. If taskLongArnFormat is specified, the ARN and resource ID for\n\t\t\tyour Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n\t\t\tspecified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n\t\t\t\tawsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n\t\t\tinstances is affected. If containerInsights is specified, the default\n\t\t\tsetting for CloudWatch Container Insights for your clusters is affected.

", "smithy.api#required": {} } } @@ -5207,20 +5258,20 @@ "principalArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you\n specify the root user, it modifies the account setting for all IAM users, IAM roles, and\n the root user of the account unless an IAM user or role explicitly overrides these\n settings. If this field is omitted, the setting is changed only for the authenticated\n user.

" + "smithy.api#documentation": "

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you\n\t\t\tspecify the root user, it modifies the account setting for all IAM users, IAM roles, and\n\t\t\tthe root user of the account unless an IAM user or role explicitly overrides these\n\t\t\tsettings. If this field is omitted, the setting is changed only for the authenticated\n\t\t\tuser.

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

The account setting value for the specified principal ARN. Accepted values are\n enabled and disabled.

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

The account setting value for the specified principal ARN. Accepted values are\n\t\t\t\tenabled and disabled.

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.ecs#SettingName", "traits": { - "smithy.api#documentation": "

The Amazon ECS resource name for which to modify the account setting. If\n serviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n affected. If taskLongArnFormat is specified, the ARN and resource ID for\n your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n specified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n awsvpcTrunking is specified, the elastic network interface (ENI) limit\n for your Amazon ECS container instances is affected. If containerInsights is\n specified, the default setting for CloudWatch Container Insights for your clusters is\n affected.

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

The Amazon ECS resource name for which to modify the account setting. If\n\t\t\t\tserviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n\t\t\taffected. If taskLongArnFormat is specified, the ARN and resource ID for\n\t\t\tyour Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n\t\t\tspecified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n\t\t\t\tawsvpcTrunking is specified, the elastic network interface (ENI) limit\n\t\t\tfor your Amazon ECS container instances is affected. If containerInsights is\n\t\t\tspecified, the default setting for CloudWatch Container Insights for your clusters is\n\t\t\taffected.

", "smithy.api#required": {} } } @@ -5260,7 +5311,7 @@ } ], "traits": { - "smithy.api#documentation": "

Create or update an attribute on an Amazon ECS resource. If the attribute does not exist,\n it is created. If the attribute exists, its value is replaced with the specified value.\n To delete an attribute, use DeleteAttributes. For more information,\n see Attributes in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Create or update an attribute on an Amazon ECS resource. If the attribute does not exist,\n\t\t\tit is created. If the attribute exists, its value is replaced with the specified value.\n\t\t\tTo delete an attribute, use DeleteAttributes. For more information,\n\t\t\tsee Attributes in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#PutAttributesRequest": { @@ -5269,14 +5320,14 @@ "attributes": { "target": "com.amazonaws.ecs#Attributes", "traits": { - "smithy.api#documentation": "

The attributes to apply to your resource. You can specify up to 10 custom attributes\n per resource. You can specify up to 10 attributes in a single call.

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

The attributes to apply to your resource. You can specify up to 10 custom attributes\n\t\t\tper resource. You can specify up to 10 attributes in a single call.

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

The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply\n attributes. If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply\n\t\t\tattributes. If you do not specify a cluster, the default cluster is assumed.

" } } } @@ -5321,30 +5372,30 @@ } ], "traits": { - "smithy.api#documentation": "

Modifies the available capacity providers and the default capacity provider strategy\n for a cluster.

\n

You must specify both the available capacity providers and a default capacity provider\n strategy for the cluster. If the specified cluster has existing capacity providers\n associated with it, you must specify all existing capacity providers in addition to any\n new ones you want to add. Any existing capacity providers associated with a cluster that\n are omitted from a PutClusterCapacityProviders API call will be\n disassociated with the cluster. You can only disassociate an existing capacity provider\n from a cluster if it's not being used by any existing tasks.

\n

When creating a service or running a task on a cluster, if no capacity provider or\n launch type is specified, then the cluster's default capacity provider strategy is used.\n It is recommended to define a default capacity provider strategy for your cluster,\n however you may specify an empty array ([]) to bypass defining a default\n strategy.

" + "smithy.api#documentation": "

Modifies the available capacity providers and the default capacity provider strategy\n\t\t\tfor a cluster.

\n\t\t

You must specify both the available capacity providers and a default capacity provider\n\t\t\tstrategy for the cluster. If the specified cluster has existing capacity providers\n\t\t\tassociated with it, you must specify all existing capacity providers in addition to any\n\t\t\tnew ones you want to add. Any existing capacity providers associated with a cluster that\n\t\t\tare omitted from a PutClusterCapacityProviders API call will be\n\t\t\tdisassociated with the cluster. You can only disassociate an existing capacity provider\n\t\t\tfrom a cluster if it's not being used by any existing tasks.

\n\t\t

When creating a service or running a task on a cluster, if no capacity provider or\n\t\t\tlaunch type is specified, then the cluster's default capacity provider strategy is used.\n\t\t\tIt is recommended to define a default capacity provider strategy for your cluster,\n\t\t\thowever you may specify an empty array ([]) to bypass defining a default\n\t\t\tstrategy.

" } }, "com.amazonaws.ecs#PutClusterCapacityProvidersRequest": { "type": "structure", "members": { - "defaultCapacityProviderStrategy": { - "target": "com.amazonaws.ecs#CapacityProviderStrategy", - "traits": { - "smithy.api#documentation": "

The capacity provider strategy to use by default for the cluster.

\n

When creating a service or running a task on a cluster, if no capacity provider or\n launch type is specified then the default capacity provider strategy for the cluster is\n used.

\n

A capacity provider strategy consists of one or more capacity providers along with the\n base and weight to assign to them. A capacity provider\n must be associated with the cluster to be used in a capacity provider strategy. The\n PutClusterCapacityProviders API is used to associate a capacity\n provider with a cluster. Only capacity providers with an ACTIVE or\n UPDATING status can be used.

\n

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n

To use a AWS Fargate capacity provider, specify either the FARGATE or\n FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n available to all accounts and only need to be associated with a cluster to be\n used.

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

The short name or full Amazon Resource Name (ARN) of the cluster to modify the capacity provider\n settings for. If you do not specify a cluster, the default cluster is assumed.

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

The short name or full Amazon Resource Name (ARN) of the cluster to modify the capacity provider\n\t\t\tsettings for. If you do not specify a cluster, the default cluster is assumed.

", "smithy.api#required": {} } }, "capacityProviders": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The name of one or more capacity providers to associate with the cluster.

\n

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n

To use a AWS Fargate capacity provider, specify either the FARGATE or\n FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n available to all accounts and only need to be associated with a cluster to be\n used.

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

The name of one or more capacity providers to associate with the cluster.

\n\t\t

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n\t\t

To use a AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

", + "smithy.api#required": {} + } + }, + "defaultCapacityProviderStrategy": { + "target": "com.amazonaws.ecs#CapacityProviderStrategy", + "traits": { + "smithy.api#documentation": "

The capacity provider strategy to use by default for the cluster.

\n\t\t

When creating a service or running a task on a cluster, if no capacity provider or\n\t\t\tlaunch type is specified then the default capacity provider strategy for the cluster is\n\t\t\tused.

\n\t\t

A capacity provider strategy consists of one or more capacity providers along with the\n\t\t\t\tbase and weight to assign to them. A capacity provider\n\t\t\tmust be associated with the cluster to be used in a capacity provider strategy. The\n\t\t\t\tPutClusterCapacityProviders API is used to associate a capacity\n\t\t\tprovider with a cluster. Only capacity providers with an ACTIVE or\n\t\t\t\tUPDATING status can be used.

\n\t\t

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n\t\t

To use a AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

", "smithy.api#required": {} } } @@ -5378,40 +5429,28 @@ } ], "traits": { - "smithy.api#documentation": "\n

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Registers an EC2\n instance into the specified cluster. This instance becomes available to place containers\n on.

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

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Registers an EC2\n\t\t\tinstance into the specified cluster. This instance becomes available to place containers\n\t\t\ton.

" } }, "com.amazonaws.ecs#RegisterContainerInstanceRequest": { "type": "structure", "members": { - "versionInfo": { - "target": "com.amazonaws.ecs#VersionInfo", - "traits": { - "smithy.api#documentation": "

The version information for the Amazon ECS container agent and Docker daemon running on the\n container instance.

" - } - }, - "tags": { - "target": "com.amazonaws.ecs#Tags", - "traits": { - "smithy.api#documentation": "

The metadata that you apply to the container instance to help you categorize and\n organize them. Each tag consists of a key and an optional value, both of which you\n define.

\n

The following basic restrictions apply to tags:

\n " - } - }, "platformDevices": { "target": "com.amazonaws.ecs#PlatformDevices", "traits": { - "smithy.api#documentation": "

The devices that are available on the container instance. The only supported device\n type is a GPU.

" + "smithy.api#documentation": "

The devices that are available on the container instance. The only supported device\n\t\t\ttype is a GPU.

" } }, - "cluster": { + "instanceIdentityDocument": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container\n instance. If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The instance identity document for the EC2 instance to register. This document can be\n\t\t\tfound by running the following command from the instance: curl\n\t\t\t\thttp://169.254.169.254/latest/dynamic/instance-identity/document/\n\t\t

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

The instance identity document signature for the EC2 instance to register. This\n signature can be found by running the following command from the instance: curl\n http://169.254.169.254/latest/dynamic/instance-identity/signature/\n

" + "smithy.api#documentation": "

The instance identity document signature for the EC2 instance to register. This\n\t\t\tsignature can be found by running the following command from the instance: curl\n\t\t\t\thttp://169.254.169.254/latest/dynamic/instance-identity/signature/\n\t\t

" } }, "totalResources": { @@ -5420,16 +5459,16 @@ "smithy.api#documentation": "

The resources available on the instance.

" } }, - "containerInstanceArn": { - "target": "com.amazonaws.ecs#String", + "tags": { + "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The ARN of the container instance (if it was previously registered).

" + "smithy.api#documentation": "

The metadata that you apply to the container instance to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

\n

The following basic restrictions apply to tags:

\n " } }, - "instanceIdentityDocument": { + "containerInstanceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The instance identity document for the EC2 instance to register. This document can be\n found by running the following command from the instance: curl\n http://169.254.169.254/latest/dynamic/instance-identity/document/\n

" + "smithy.api#documentation": "

The ARN of the container instance (if it was previously registered).

" } }, "attributes": { @@ -5437,6 +5476,18 @@ "traits": { "smithy.api#documentation": "

The container instance attributes that this container instance supports.

" } + }, + "versionInfo": { + "target": "com.amazonaws.ecs#VersionInfo", + "traits": { + "smithy.api#documentation": "

The version information for the Amazon ECS container agent and Docker daemon running on the\n\t\t\tcontainer instance.

" + } + }, + "cluster": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container\n\t\t\tinstance. If you do not specify a cluster, the default cluster is assumed.

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

Registers a new task definition from the supplied family and\n containerDefinitions. Optionally, you can add data volumes to your\n containers with the volumes parameter. For more information about task\n definition parameters and defaults, see Amazon ECS Task\n Definitions in the Amazon Elastic Container Service Developer Guide.

\n

You can specify an IAM role for your task with the taskRoleArn parameter.\n When you specify an IAM role for a task, its containers can then use the latest versions\n of the AWS CLI or SDKs to make API requests to the AWS services that are specified in\n the IAM policy associated with the role. For more information, see IAM\n Roles for Tasks in the Amazon Elastic Container Service Developer Guide.

\n

You can specify a Docker networking mode for the containers in your task definition\n with the networkMode parameter. The available network modes correspond to\n those described in Network\n settings in the Docker run reference. If you specify the awsvpc\n network mode, the task is allocated an elastic network interface, and you must specify a\n NetworkConfiguration when you create a service or run a task with\n the task definition. For more information, see Task Networking\n in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Registers a new task definition from the supplied family and\n\t\t\t\tcontainerDefinitions. Optionally, you can add data volumes to your\n\t\t\tcontainers with the volumes parameter. For more information about task\n\t\t\tdefinition parameters and defaults, see Amazon ECS Task\n\t\t\t\tDefinitions in the Amazon Elastic Container Service Developer Guide.

\n\t\t

You can specify an IAM role for your task with the taskRoleArn parameter.\n\t\t\tWhen you specify an IAM role for a task, its containers can then use the latest versions\n\t\t\tof the AWS CLI or SDKs to make API requests to the AWS services that are specified in\n\t\t\tthe IAM policy associated with the role. For more information, see IAM\n\t\t\t\tRoles for Tasks in the Amazon Elastic Container Service Developer Guide.

\n\t\t

You can specify a Docker networking mode for the containers in your task definition\n\t\t\twith the networkMode parameter. The available network modes correspond to\n\t\t\tthose described in Network\n\t\t\t\tsettings in the Docker run reference. If you specify the awsvpc\n\t\t\tnetwork mode, the task is allocated an elastic network interface, and you must specify a\n\t\t\t\tNetworkConfiguration when you create a service or run a task with\n\t\t\tthe task definition. For more information, see Task Networking\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#RegisterTaskDefinitionRequest": { @@ -5480,41 +5531,47 @@ "family": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

You must specify a family for a task definition, which allows you to\n track multiple versions of the same task definition. The family is used as\n a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

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

You must specify a family for a task definition, which allows you to\n\t\t\ttrack multiple versions of the same task definition. The family is used as\n\t\t\ta name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

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

The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can\n assume. All containers in this task are granted the permissions that are specified in\n this role. For more information, see IAM Roles for\n Tasks in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can\n\t\t\tassume. All containers in this task are granted the permissions that are specified in\n\t\t\tthis role. For more information, see IAM Roles for\n\t\t\t\tTasks in the Amazon Elastic Container Service Developer Guide.

" } }, "volumes": { "target": "com.amazonaws.ecs#VolumeList", "traits": { - "smithy.api#documentation": "

A list of volume definitions in JSON format that containers in your task may\n use.

" + "smithy.api#documentation": "

A list of volume definitions in JSON format that containers in your task may\n\t\t\tuse.

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

The number of CPU units used by the task. It can be expressed as an integer using CPU\n units, for example 1024, or as a string using vCPUs, for example 1\n vCPU or 1 vcpu, in a task definition. String values are\n converted to an integer indicating the CPU units when the task definition is\n registered.

\n \n

Task-level CPU and memory parameters are ignored for Windows containers. We\n recommend specifying container-level resources for Windows containers.

\n
\n

If you are using the EC2 launch type, this field is optional. Supported\n values are between 128 CPU units (0.125 vCPUs) and\n 10240 CPU units (10 vCPUs).

\n

If you are using the Fargate launch type, this field is required and you\n must use one of the following values, which determines your range of supported values\n for the memory parameter:

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

The number of CPU units used by the task. It can be expressed as an integer using CPU\n\t\t\tunits, for example 1024, or as a string using vCPUs, for example 1\n\t\t\t\tvCPU or 1 vcpu, in a task definition. String values are\n\t\t\tconverted to an integer indicating the CPU units when the task definition is\n\t\t\tregistered.

\n\t\t \n\t\t\t

Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.

\n\t\t
\n\t\t

If you are using the EC2 launch type, this field is optional. Supported\n\t\t\tvalues are between 128 CPU units (0.125 vCPUs) and\n\t\t\t\t10240 CPU units (10 vCPUs).

\n\t\t

If you are using the Fargate launch type, this field is required and you\n\t\t\tmust use one of the following values, which determines your range of supported values\n\t\t\tfor the memory parameter:

\n " } }, - "requiresCompatibilities": { - "target": "com.amazonaws.ecs#CompatibilityList", + "pidMode": { + "target": "com.amazonaws.ecs#PidMode", "traits": { - "smithy.api#documentation": "

The launch type required by the task. If no value is specified, it defaults to\n EC2.

" + "smithy.api#documentation": "

The process namespace to use for the containers in the task. The valid\n values are host or task. If host\n is specified, then all containers within the tasks that specified the\n host PID mode on the same container instance share the\n same process namespace with the host Amazon EC2 instance. If task is\n specified, all containers within the specified task share the same\n process namespace. If no value is specified, the default is a private\n namespace. For more information, see PID settings in the Docker run\n reference.

\n

If the host PID mode is used, be aware that there is a\n heightened risk of undesired process namespace expose. For more\n information, see Docker\n security.

\n \n

This parameter is not supported for Windows containers or tasks using the Fargate launch type.

\n
" } }, "proxyConfiguration": { "target": "com.amazonaws.ecs#ProxyConfiguration" }, - "placementConstraints": { - "target": "com.amazonaws.ecs#TaskDefinitionPlacementConstraints", + "requiresCompatibilities": { + "target": "com.amazonaws.ecs#CompatibilityList", + "traits": { + "smithy.api#documentation": "

The task launch type that Amazon ECS should validate the task definition against. This\n\t\t\tensures that the task definition parameters are compatible with the specified launch\n\t\t\ttype. If no value is specified, it defaults to EC2.

" + } + }, + "memory": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

An array of placement constraint objects to use for the task. You can specify a\n maximum of 10 constraints per task (this limit includes constraints in the task\n definition and those specified at runtime).

" + "smithy.api#documentation": "

The amount of memory (in MiB) used by the task. It can be expressed as an integer\n\t\t\tusing MiB, for example 1024, or as a string using GB, for example\n\t\t\t\t1GB or 1 GB, in a task definition. String values are\n\t\t\tconverted to an integer indicating the MiB when the task definition is\n\t\t\tregistered.

\n\t\t \n\t\t\t

Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.

\n\t\t
\n\t\t

If using the EC2 launch type, this field is optional.

\n\t\t

If using the Fargate launch type, this field is required and you must\n\t\t\tuse one of the following values, which determines your range of supported values for the\n\t\t\t\tcpu parameter:

\n " } }, "networkMode": { @@ -5523,35 +5580,29 @@ "smithy.api#documentation": "

The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n The default Docker network mode is bridge. If you are using the\n Fargate launch type, the awsvpc network mode is required. If\n you are using the EC2 launch type, any network mode can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.

\n

With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.

\n

If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.

\n \n

Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants with the\n ecs-init package, or AWS Fargate infrastructure support the\n awsvpc network mode.

\n
\n

If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.

\n

Docker for Windows uses different network modes than Docker for Linux. When you\n register a task definition with Windows containers, you must not specify a network mode.\n If you use the console to register a task definition with Windows containers, you must\n choose the network mode object.

\n

For more information, see Network\n settings in the Docker run reference.

" } }, - "inferenceAccelerators": { - "target": "com.amazonaws.ecs#InferenceAccelerators", + "placementConstraints": { + "target": "com.amazonaws.ecs#TaskDefinitionPlacementConstraints", "traits": { - "smithy.api#documentation": "

The Elastic Inference accelerators to use for the containers in the task.

" + "smithy.api#documentation": "

An array of placement constraint objects to use for the task. You can specify a\n\t\t\tmaximum of 10 constraints per task (this limit includes constraints in the task\n\t\t\tdefinition and those specified at runtime).

" } }, "containerDefinitions": { "target": "com.amazonaws.ecs#ContainerDefinitions", "traits": { - "smithy.api#documentation": "

A list of container definitions in JSON format that describe the different containers\n that make up your task.

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

A list of container definitions in JSON format that describe the different containers\n\t\t\tthat make up your task.

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

The amount of memory (in MiB) used by the task. It can be expressed as an integer\n using MiB, for example 1024, or as a string using GB, for example\n 1GB or 1 GB, in a task definition. String values are\n converted to an integer indicating the MiB when the task definition is\n registered.

\n \n

Task-level CPU and memory parameters are ignored for Windows containers. We\n recommend specifying container-level resources for Windows containers.

\n
\n

If using the EC2 launch type, this field is optional.

\n

If using the Fargate launch type, this field is required and you must\n use one of the following values, which determines your range of supported values for the\n cpu parameter:

\n " - } - }, "ipcMode": { "target": "com.amazonaws.ecs#IpcMode", "traits": { "smithy.api#documentation": "

The IPC resource namespace to use for the containers in the task. The valid values are\n host, task, or none. If host is\n specified, then all containers within the tasks that specified the host IPC\n mode on the same container instance share the same IPC resources with the host Amazon EC2\n instance. If task is specified, all containers within the specified task\n share the same IPC resources. If none is specified, then IPC resources\n within the containers of a task are private and not shared with other containers in a\n task or on the container instance. If no value is specified, then the IPC resource\n namespace sharing depends on the Docker daemon setting on the container instance. For\n more information, see IPC\n settings in the Docker run reference.

\n

If the host IPC mode is used, be aware that there is a heightened risk of\n undesired IPC namespace expose. For more information, see Docker\n security.

\n

If you are setting namespaced kernel parameters using systemControls for\n the containers in the task, the following will apply to your IPC resource namespace. For\n more information, see System\n Controls in the Amazon Elastic Container Service Developer Guide.

\n \n \n

This parameter is not supported for Windows containers or tasks using the Fargate launch type.

\n
" } }, - "pidMode": { - "target": "com.amazonaws.ecs#PidMode", + "inferenceAccelerators": { + "target": "com.amazonaws.ecs#InferenceAccelerators", "traits": { - "smithy.api#documentation": "

The process namespace to use for the containers in the task. The valid\n values are host or task. If host\n is specified, then all containers within the tasks that specified the\n host PID mode on the same container instance share the\n same process namespace with the host Amazon EC2 instance. If task is\n specified, all containers within the specified task share the same\n process namespace. If no value is specified, the default is a private\n namespace. For more information, see PID settings in the Docker run\n reference.

\n

If the host PID mode is used, be aware that there is a\n heightened risk of undesired process namespace expose. For more\n information, see Docker\n security.

\n \n

This parameter is not supported for Windows containers or tasks using the Fargate launch type.

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

The Elastic Inference accelerators to use for the containers in the task.

" } }, "executionRoleArn": { @@ -5563,7 +5614,7 @@ "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the task definition to help you categorize and organize\n them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

The metadata that you apply to the task definition to help you categorize and organize\n\t\t\tthem. Each tag consists of a key and an optional value, both of which you define.

\n\t\t

The following basic restrictions apply to tags:

\n " } } } @@ -5571,17 +5622,17 @@ "com.amazonaws.ecs#RegisterTaskDefinitionResponse": { "type": "structure", "members": { - "taskDefinition": { - "target": "com.amazonaws.ecs#TaskDefinition", - "traits": { - "smithy.api#documentation": "

The full description of the registered task definition.

" - } - }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { "smithy.api#documentation": "

The list of tags associated with the task definition.

" } + }, + "taskDefinition": { + "target": "com.amazonaws.ecs#TaskDefinition", + "traits": { + "smithy.api#documentation": "

The full description of the registered task definition.

" + } } } }, @@ -5591,7 +5642,7 @@ "credentialsParameter": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the secret containing the private repository\n credentials.

\n \n

When you are using the Amazon ECS API, AWS CLI, or AWS SDK, if the secret exists in the\n same Region as the task that you are launching then you can use either the full ARN\n or the name of the secret. When you are using the AWS Management Console, you must specify the\n full ARN of the secret.

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

The Amazon Resource Name (ARN) of the secret containing the private repository\n\t\t\tcredentials.

\n\t\t \n\t\t\t

When you are using the Amazon ECS API, AWS CLI, or AWS SDK, if the secret exists in the\n\t\t\t\tsame Region as the task that you are launching then you can use either the full ARN\n\t\t\t\tor the name of the secret. When you are using the AWS Management Console, you must specify the\n\t\t\t\tfull ARN of the secret.

\n\t\t
", "smithy.api#required": {} } } @@ -5609,40 +5660,40 @@ "com.amazonaws.ecs#Resource": { "type": "structure", "members": { + "doubleValue": { + "target": "com.amazonaws.ecs#Double", + "traits": { + "smithy.api#documentation": "

When the doubleValue type is set, the value of the resource must be a\n\t\t\tdouble precision floating-point type.

" + } + }, "name": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the resource, such as CPU, MEMORY,\n PORTS, PORTS_UDP, or a user-defined resource.

" + "smithy.api#documentation": "

The name of the resource, such as CPU, MEMORY,\n\t\t\t\tPORTS, PORTS_UDP, or a user-defined resource.

" } }, "integerValue": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

When the integerValue type is set, the value of the resource must be an\n integer.

" - } - }, - "doubleValue": { - "target": "com.amazonaws.ecs#Double", - "traits": { - "smithy.api#documentation": "

When the doubleValue type is set, the value of the resource must be a\n double precision floating-point type.

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

The type of the resource, such as INTEGER, DOUBLE,\n LONG, or STRINGSET.

" + "smithy.api#documentation": "

When the integerValue type is set, the value of the resource must be an\n\t\t\tinteger.

" } }, "stringSetValue": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

When the stringSetValue type is set, the value of the resource must be a\n string type.

" + "smithy.api#documentation": "

When the stringSetValue type is set, the value of the resource must be a\n\t\t\tstring type.

" } }, "longValue": { "target": "com.amazonaws.ecs#Long", "traits": { - "smithy.api#documentation": "

When the longValue type is set, the value of the resource must be an\n extended precision floating-point type.

" + "smithy.api#documentation": "

When the longValue type is set, the value of the resource must be an\n\t\t\textended precision floating-point type.

" + } + }, + "type": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The type of the resource, such as INTEGER, DOUBLE,\n\t\t\t\tLONG, or STRINGSET.

" } } }, @@ -5680,20 +5731,20 @@ "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The value for the specified resource type.

\n

If the GPU type is used, the value is the number of physical\n GPUs the Amazon ECS container agent will reserve for the container. The\n number of GPUs reserved for all containers in a task should not exceed the number of\n available GPUs on the container instance the task is launched on.

\n

If the InferenceAccelerator type is used, the value should\n match the deviceName for an InferenceAccelerator\n specified in a task definition.

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

The value for the specified resource type.

\n\t\t

If the GPU type is used, the value is the number of physical\n\t\t\t\tGPUs the Amazon ECS container agent will reserve for the container. The\n\t\t\tnumber of GPUs reserved for all containers in a task should not exceed the number of\n\t\t\tavailable GPUs on the container instance the task is launched on.

\n\t\t

If the InferenceAccelerator type is used, the value should\n\t\t\tmatch the deviceName for an InferenceAccelerator\n\t\t\tspecified in a task definition.

", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.ecs#ResourceType", "traits": { - "smithy.api#documentation": "

The type of resource to assign to a container. The supported values are\n GPU or InferenceAccelerator.

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

The type of resource to assign to a container. The supported values are\n\t\t\t\tGPU or InferenceAccelerator.

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

The type and amount of a resource to assign to a container. The supported resource\n types are GPUs and Elastic Inference accelerators. For more information, see Working with\n GPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the\n Amazon Elastic Container Service Developer Guide\n

" + "smithy.api#documentation": "

The type and amount of a resource to assign to a container. The supported resource\n\t\t\ttypes are GPUs and Elastic Inference accelerators. For more information, see Working with\n\t\t\t\tGPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide\n

" } }, "com.amazonaws.ecs#ResourceRequirements": { @@ -5761,77 +5812,83 @@ } ], "traits": { - "smithy.api#documentation": "

Starts a new task using the specified task definition.

\n

You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places\n tasks using placement constraints and placement strategies. For more information, see\n Scheduling Tasks in the\n Amazon Elastic Container Service Developer Guide.

\n

Alternatively, you can use StartTask to use your own scheduler or\n place tasks manually on specific container instances.

\n

The Amazon ECS API follows an eventual consistency model, due to the distributed nature of\n the system supporting the API. This means that the result of an API command you run that\n affects your Amazon ECS resources might not be immediately visible to all subsequent commands\n you run. Keep this in mind when you carry out an API command that immediately follows a\n previous API command.

\n

To manage eventual consistency, you can do the following:

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

Starts a new task using the specified task definition.

\n\t\t

You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places\n\t\t\ttasks using placement constraints and placement strategies. For more information, see\n\t\t\t\tScheduling Tasks in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t

Alternatively, you can use StartTask to use your own scheduler or\n\t\t\tplace tasks manually on specific container instances.

\n\t\t

The Amazon ECS API follows an eventual consistency model, due to the distributed nature of\n\t\t\tthe system supporting the API. This means that the result of an API command you run that\n\t\t\taffects your Amazon ECS resources might not be immediately visible to all subsequent commands\n\t\t\tyou run. Keep this in mind when you carry out an API command that immediately follows a\n\t\t\tprevious API command.

\n\t\t

To manage eventual consistency, you can do the following:

\n\t\t " } }, "com.amazonaws.ecs#RunTaskRequest": { "type": "structure", "members": { + "platformVersion": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The platform version the task should run. A platform version is only specified for\n\t\t\ttasks using the Fargate launch type. If one is not specified, the\n\t\t\t\tLATEST platform version is used by default. For more information, see\n\t\t\t\tAWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

" + } + }, "taskDefinition": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The family and revision (family:revision) or\n full ARN of the task definition to run. If a revision is not specified,\n the latest ACTIVE revision is used.

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

The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to run. If a revision is not specified,\n\t\t\tthe latest ACTIVE revision is used.

", "smithy.api#required": {} } }, - "networkConfiguration": { - "target": "com.amazonaws.ecs#NetworkConfiguration", + "launchType": { + "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

The network configuration for the task. This parameter is required for task\n definitions that use the awsvpc network mode to receive their own elastic\n network interface, and it is not supported for other network modes. For more\n information, see Task Networking\n in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The launch type on which to run your task. For more information, see Amazon ECS\n\t\t\t\tLaunch Types in the Amazon Elastic Container Service Developer Guide.

\n\t\t

If a launchType is specified, the capacityProviderStrategy\n\t\t\tparameter must be omitted.

" } }, - "platformVersion": { - "target": "com.amazonaws.ecs#String", + "capacityProviderStrategy": { + "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

The platform version the task should run. A platform version is only specified for\n tasks using the Fargate launch type. If one is not specified, the\n LATEST platform version is used by default. For more information, see\n AWS Fargate Platform\n Versions in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The capacity provider strategy to use for the task.

\n\t\t

A capacity provider strategy consists of one or more capacity providers along with the\n\t\t\t\tbase and weight to assign to them. A capacity provider\n\t\t\tmust be associated with the cluster to be used in a capacity provider strategy. The\n\t\t\t\tPutClusterCapacityProviders API is used to associate a capacity\n\t\t\tprovider with a cluster. Only capacity providers with an ACTIVE or\n\t\t\t\tUPDATING status can be used.

\n\t\t

If a capacityProviderStrategy is specified, the launchType\n\t\t\tparameter must be omitted. If no capacityProviderStrategy or\n\t\t\t\tlaunchType is specified, the\n\t\t\t\tdefaultCapacityProviderStrategy for the cluster is used.

\n\t\t

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n\t\t

To use a AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

\n\t\t

The PutClusterCapacityProviders API operation is used to update the\n\t\t\tlist of available capacity providers for a cluster after the cluster is created.

" } }, "propagateTags": { "target": "com.amazonaws.ecs#PropagateTags", "traits": { - "smithy.api#documentation": "

Specifies whether to propagate the tags from the task definition to the task. If no\n value is specified, the tags are not propagated. Tags can only be propagated to the task\n during task creation. To add tags to a task after task creation, use the TagResource API action.

\n \n

An error will be received if you specify the SERVICE option when\n running a task.

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

Specifies whether to propagate the tags from the task definition to the task. If no\n\t\t\tvalue is specified, the tags are not propagated. Tags can only be propagated to the task\n\t\t\tduring task creation. To add tags to a task after task creation, use the TagResource API action.

\n\t\t \n\t\t\t

An error will be received if you specify the SERVICE option when\n\t\t\t\trunning a task.

\n\t\t
" } }, - "group": { - "target": "com.amazonaws.ecs#String", + "placementStrategy": { + "target": "com.amazonaws.ecs#PlacementStrategies", "traits": { - "smithy.api#documentation": "

The name of the task group to associate with the task. The default value is the family\n name of the task definition (for example, family:my-family-name).

" + "smithy.api#documentation": "

The placement strategy objects to use for the task. You can specify a maximum of five\n\t\t\tstrategy rules per task.

" } }, - "placementStrategy": { - "target": "com.amazonaws.ecs#PlacementStrategies", + "group": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The placement strategy objects to use for the task. You can specify a maximum of five\n strategy rules per task.

" + "smithy.api#documentation": "

The name of the task group to associate with the task. The default value is the family\n\t\t\tname of the task definition (for example, family:my-family-name).

" } }, - "launchType": { - "target": "com.amazonaws.ecs#LaunchType", + "enableECSManagedTags": { + "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

The launch type on which to run your task. For more information, see Amazon ECS\n Launch Types in the Amazon Elastic Container Service Developer Guide.

\n

If a launchType is specified, the capacityProviderStrategy\n parameter must be omitted.

" + "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the task. For more information, see\n\t\t\t\tTagging Your Amazon ECS\n\t\t\t\tResources in the Amazon Elastic Container Service Developer Guide.

" } }, "placementConstraints": { "target": "com.amazonaws.ecs#PlacementConstraints", "traits": { - "smithy.api#documentation": "

An array of placement constraint objects to use for the task. You can specify up to 10\n constraints per task (including constraints in the task definition and those specified\n at runtime).

" + "smithy.api#documentation": "

An array of placement constraint objects to use for the task. You can specify up to 10\n\t\t\tconstraints per task (including constraints in the task definition and those specified\n\t\t\tat runtime).

" } }, - "capacityProviderStrategy": { - "target": "com.amazonaws.ecs#CapacityProviderStrategy", + "tags": { + "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The capacity provider strategy to use for the task.

\n

A capacity provider strategy consists of one or more capacity providers along with the\n base and weight to assign to them. A capacity provider\n must be associated with the cluster to be used in a capacity provider strategy. The\n PutClusterCapacityProviders API is used to associate a capacity\n provider with a cluster. Only capacity providers with an ACTIVE or\n UPDATING status can be used.

\n

If a capacityProviderStrategy is specified, the launchType\n parameter must be omitted. If no capacityProviderStrategy or\n launchType is specified, the\n defaultCapacityProviderStrategy for the cluster is used.

\n

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n

To use a AWS Fargate capacity provider, specify either the FARGATE or\n FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n available to all accounts and only need to be associated with a cluster to be\n used.

\n

The PutClusterCapacityProviders API operation is used to update the\n list of available capacity providers for a cluster after the cluster is created.

" + "smithy.api#documentation": "

The metadata that you apply to the task to help you categorize and organize them. Each\n\t\t\ttag consists of a key and an optional value, both of which you define.

\n\t\t

The following basic restrictions apply to tags:

\n " } }, "count": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The number of instantiations of the specified task to place on your cluster. You can\n specify up to 10 tasks per call.

" + "smithy.api#documentation": "

The number of instantiations of the specified task to place on your cluster. You can\n\t\t\tspecify up to 10 tasks per call.

" } }, - "enableECSManagedTags": { - "target": "com.amazonaws.ecs#Boolean", + "overrides": { + "target": "com.amazonaws.ecs#TaskOverride", "traits": { - "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the task. For more information, see\n Tagging Your Amazon ECS\n Resources in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

A list of container overrides in JSON format that specify the name of a container in\n\t\t\tthe specified task definition and the overrides it should receive. You can override the\n\t\t\tdefault command for a container (that is specified in the task definition or Docker\n\t\t\timage) with a command override. You can also override existing environment\n\t\t\tvariables (that are specified in the task definition or Docker image) on a container or\n\t\t\tadd new environment variables to it with an environment override.

\n\t\t \n\t\t\t

A total of 8192 characters are allowed for overrides. This limit includes the JSON\n\t\t\t\tformatting characters of the override structure.

\n\t\t
" } }, "referenceId": { @@ -5840,28 +5897,22 @@ "smithy.api#documentation": "

The reference ID to use for the task.

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

The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task.\n If you do not specify a cluster, the default cluster is assumed.

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

An optional tag specified when a task is started. For example, if you automatically\n trigger a task to run a batch process job, you could apply a unique identifier for that\n job to your task with the startedBy parameter. You can then identify which\n tasks belong to that job by filtering the results of a ListTasks call\n with the startedBy value. Up to 36 letters (uppercase and lowercase),\n numbers, hyphens, and underscores are allowed.

\n

If a task is started by an Amazon ECS service, then the startedBy parameter\n contains the deployment ID of the service that starts it.

" + "smithy.api#documentation": "

An optional tag specified when a task is started. For example, if you automatically\n\t\t\ttrigger a task to run a batch process job, you could apply a unique identifier for that\n\t\t\tjob to your task with the startedBy parameter. You can then identify which\n\t\t\ttasks belong to that job by filtering the results of a ListTasks call\n\t\t\twith the startedBy value. Up to 36 letters (uppercase and lowercase),\n\t\t\tnumbers, hyphens, and underscores are allowed.

\n\t\t

If a task is started by an Amazon ECS service, then the startedBy parameter\n\t\t\tcontains the deployment ID of the service that starts it.

" } }, - "overrides": { - "target": "com.amazonaws.ecs#TaskOverride", + "networkConfiguration": { + "target": "com.amazonaws.ecs#NetworkConfiguration", "traits": { - "smithy.api#documentation": "

A list of container overrides in JSON format that specify the name of a container in\n the specified task definition and the overrides it should receive. You can override the\n default command for a container (that is specified in the task definition or Docker\n image) with a command override. You can also override existing environment\n variables (that are specified in the task definition or Docker image) on a container or\n add new environment variables to it with an environment override.

\n \n

A total of 8192 characters are allowed for overrides. This limit includes the JSON\n formatting characters of the override structure.

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

The network configuration for the task. This parameter is required for task\n\t\t\tdefinitions that use the awsvpc network mode to receive their own elastic\n\t\t\tnetwork interface, and it is not supported for other network modes. For more\n\t\t\tinformation, see Task Networking\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

" } }, - "tags": { - "target": "com.amazonaws.ecs#Tags", + "cluster": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the task to help you categorize and organize them. Each\n tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } } } @@ -5878,7 +5929,7 @@ "tasks": { "target": "com.amazonaws.ecs#Tasks", "traits": { - "smithy.api#documentation": "

A full description of the tasks that were run. The tasks that were successfully placed\n on your cluster are described here.

" + "smithy.api#documentation": "

A full description of the tasks that were run. The tasks that were successfully placed\n\t\t\ton your cluster are described here.

" } } } @@ -5886,21 +5937,21 @@ "com.amazonaws.ecs#Scale": { "type": "structure", "members": { - "value": { - "target": "com.amazonaws.ecs#Double", - "traits": { - "smithy.api#documentation": "

The value, specified as a percent total of a service's desiredCount, to\n scale the task set. Accepted values are numbers between 0 and 100.

" - } - }, "unit": { "target": "com.amazonaws.ecs#ScaleUnit", "traits": { "smithy.api#documentation": "

The unit of measure for the scale value.

" } + }, + "value": { + "target": "com.amazonaws.ecs#Double", + "traits": { + "smithy.api#documentation": "

The value, specified as a percent total of a service's desiredCount, to\n\t\t\tscale the task set. Accepted values are numbers between 0 and 100.

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

A floating-point percentage of the desired number of tasks to place and keep running\n in the task set.

" + "smithy.api#documentation": "

A floating-point percentage of the desired number of tasks to place and keep running\n\t\t\tin the task set.

" } }, "com.amazonaws.ecs#ScaleUnit": { @@ -5957,13 +6008,13 @@ "valueFrom": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The secret to expose to the container. The supported values are either the full ARN of\n the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.

\n \n

If the AWS Systems Manager Parameter Store parameter exists in the same Region as the task you\n are launching, then you can use either the full ARN or name of the parameter. If the\n parameter exists in a different Region, then the full ARN must be specified.

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

The secret to expose to the container. The supported values are either the full ARN of\n\t\t\tthe AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.

\n\t\t \n\t\t\t

If the AWS Systems Manager Parameter Store parameter exists in the same Region as the task you\n\t\t\t\tare launching, then you can use either the full ARN or name of the parameter. If the\n\t\t\t\tparameter exists in a different Region, then the full ARN must be specified.

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

An object representing the secret to expose to your container. Secrets can be exposed\n to a container in the following ways:

\n \n

For more information, see Specifying\n Sensitive Data in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

An object representing the secret to expose to your container. Secrets can be exposed\n\t\t\tto a container in the following ways:

\n\t\t \n\t\t

For more information, see Specifying\n\t\t\t\tSensitive Data in the Amazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#SecretList": { @@ -5987,178 +6038,178 @@ "com.amazonaws.ecs#Service": { "type": "structure", "members": { - "placementStrategy": { - "target": "com.amazonaws.ecs#PlacementStrategies", + "taskSets": { + "target": "com.amazonaws.ecs#TaskSets", "traits": { - "smithy.api#documentation": "

The placement strategy that determines how tasks for the service are placed.

" + "smithy.api#documentation": "

Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL\n\t\t\tdeployment. An Amazon ECS task set includes details such as the desired number of tasks, how\n\t\t\tmany tasks are running, and whether the task set serves production traffic.

" } }, - "taskSets": { - "target": "com.amazonaws.ecs#TaskSets", + "placementStrategy": { + "target": "com.amazonaws.ecs#PlacementStrategies", "traits": { - "smithy.api#documentation": "

Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL\n deployment. An Amazon ECS task set includes details such as the desired number of tasks, how\n many tasks are running, and whether the task set serves production traffic.

" + "smithy.api#documentation": "

The placement strategy that determines how tasks for the service are placed.

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

The status of the service. The valid values are ACTIVE,\n DRAINING, or INACTIVE.

" + "smithy.api#documentation": "

The status of the service. The valid values are ACTIVE,\n\t\t\t\tDRAINING, or INACTIVE.

" } }, - "networkConfiguration": { - "target": "com.amazonaws.ecs#NetworkConfiguration", + "loadBalancers": { + "target": "com.amazonaws.ecs#LoadBalancers", "traits": { - "smithy.api#documentation": "

The VPC subnet and security group configuration for tasks that receive their own\n elastic network interface by using the awsvpc networking mode.

" + "smithy.api#documentation": "

A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the\n\t\t\tcontainer name (as it appears in a container definition), and the container port to\n\t\t\taccess from the load balancer.

" } }, - "schedulingStrategy": { - "target": "com.amazonaws.ecs#SchedulingStrategy", + "propagateTags": { + "target": "com.amazonaws.ecs#PropagateTags", "traits": { - "smithy.api#documentation": "

The scheduling strategy to use for the service. For more information, see Services.

\n

There are two service scheduler strategies available:

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

Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttask. If no value is specified, the tags are not propagated.

" } }, - "serviceName": { + "taskDefinition": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of your service. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. Service names must be unique within\n a cluster, but you can have similarly named services in multiple clusters within a\n Region or across multiple Regions.

" + "smithy.api#documentation": "

The task definition to use for tasks in the service. This value is specified when the\n\t\t\tservice is created with CreateService, and it can be modified with\n\t\t\t\tUpdateService.

" } }, - "enableECSManagedTags": { - "target": "com.amazonaws.ecs#Boolean", + "platformVersion": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the tasks in the service. For more\n information, see Tagging Your Amazon ECS\n Resources in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The platform version on which to run your service. A platform version is only\n\t\t\tspecified for tasks using the Fargate launch type. If one is not\n\t\t\tspecified, the LATEST platform version is used by default. For more\n\t\t\tinformation, see AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

" } }, - "pendingCount": { - "target": "com.amazonaws.ecs#Integer", + "deployments": { + "target": "com.amazonaws.ecs#Deployments", "traits": { - "smithy.api#documentation": "

The number of tasks in the cluster that are in the PENDING state.

" + "smithy.api#documentation": "

The current state of deployments for the service.

" } }, - "runningCount": { - "target": "com.amazonaws.ecs#Integer", + "roleArn": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The number of tasks in the cluster that are in the RUNNING state.

" + "smithy.api#documentation": "

The ARN of the IAM role associated with the service that allows the Amazon ECS container\n\t\t\tagent to register container instances with an Elastic Load Balancing load balancer.

" } }, - "desiredCount": { - "target": "com.amazonaws.ecs#Integer", + "serviceArn": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The desired number of instantiations of the task definition to keep running on the\n service. This value is specified when the service is created with CreateService, and it can be modified with UpdateService.

" + "smithy.api#documentation": "

The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the Region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service.

" } }, - "createdAt": { - "target": "com.amazonaws.ecs#Timestamp", + "createdBy": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the service was created.

" + "smithy.api#documentation": "

The principal that created the service.

" } }, - "taskDefinition": { - "target": "com.amazonaws.ecs#String", + "deploymentController": { + "target": "com.amazonaws.ecs#DeploymentController", "traits": { - "smithy.api#documentation": "

The task definition to use for tasks in the service. This value is specified when the\n service is created with CreateService, and it can be modified with\n UpdateService.

" + "smithy.api#documentation": "

The deployment controller type the service is using. When using the DescribeServices\n\t\t\tAPI, this field is omitted if the service is using the ECS deployment\n\t\t\tcontroller type.

" } }, - "healthCheckGracePeriodSeconds": { - "target": "com.amazonaws.ecs#BoxedInteger", + "serviceRegistries": { + "target": "com.amazonaws.ecs#ServiceRegistries", "traits": { - "smithy.api#documentation": "

The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy\n Elastic Load Balancing target health checks after a task has first started.

" + "smithy.api#documentation": "

The details of the service discovery registries to assign to this service. For more\n\t\t\tinformation, see Service\n\t\t\t\tDiscovery.

" } }, - "capacityProviderStrategy": { - "target": "com.amazonaws.ecs#CapacityProviderStrategy", + "deploymentConfiguration": { + "target": "com.amazonaws.ecs#DeploymentConfiguration", "traits": { - "smithy.api#documentation": "

The capacity provider strategy associated with the service.

" + "smithy.api#documentation": "

Optional deployment parameters that control how many tasks run during the deployment\n\t\t\tand the ordering of stopping and starting tasks.

" } }, - "placementConstraints": { - "target": "com.amazonaws.ecs#PlacementConstraints", + "clusterArn": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The placement constraints for the tasks in the service.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the cluster that hosts the service.

" } }, - "events": { - "target": "com.amazonaws.ecs#ServiceEvents", + "tags": { + "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The event stream for your service. A maximum of 100 of the latest events are\n displayed.

" + "smithy.api#documentation": "

The metadata that you apply to the service to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

\n\t\t

The following basic restrictions apply to tags:

\n " } }, - "launchType": { - "target": "com.amazonaws.ecs#LaunchType", + "enableECSManagedTags": { + "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

The launch type on which your service is running. If no value is specified, it will\n default to EC2. Valid values include EC2 and\n FARGATE. For more information, see Amazon ECS\n Launch Types in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the tasks in the service. For more\n\t\t\tinformation, see Tagging Your Amazon ECS\n\t\t\t\tResources in the Amazon Elastic Container Service Developer Guide.

" } }, - "serviceArn": { - "target": "com.amazonaws.ecs#String", + "runningCount": { + "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the Region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service.

" + "smithy.api#documentation": "

The number of tasks in the cluster that are in the RUNNING state.

" } }, - "serviceRegistries": { - "target": "com.amazonaws.ecs#ServiceRegistries", + "pendingCount": { + "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The details of the service discovery registries to assign to this service. For more\n information, see Service\n Discovery.

" + "smithy.api#documentation": "

The number of tasks in the cluster that are in the PENDING state.

" } }, - "roleArn": { - "target": "com.amazonaws.ecs#String", + "desiredCount": { + "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The ARN of the IAM role associated with the service that allows the Amazon ECS container\n agent to register container instances with an Elastic Load Balancing load balancer.

" + "smithy.api#documentation": "

The desired number of instantiations of the task definition to keep running on the\n\t\t\tservice. This value is specified when the service is created with CreateService, and it can be modified with UpdateService.

" } }, - "loadBalancers": { - "target": "com.amazonaws.ecs#LoadBalancers", + "placementConstraints": { + "target": "com.amazonaws.ecs#PlacementConstraints", "traits": { - "smithy.api#documentation": "

A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the\n container name (as it appears in a container definition), and the container port to\n access from the load balancer.

" + "smithy.api#documentation": "

The placement constraints for the tasks in the service.

" } }, - "propagateTags": { - "target": "com.amazonaws.ecs#PropagateTags", + "createdAt": { + "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

Specifies whether to propagate the tags from the task definition or the service to the\n task. If no value is specified, the tags are not propagated.

" + "smithy.api#documentation": "

The Unix timestamp for when the service was created.

" } }, - "createdBy": { - "target": "com.amazonaws.ecs#String", + "capacityProviderStrategy": { + "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

The principal that created the service.

" + "smithy.api#documentation": "

The capacity provider strategy associated with the service.

" } }, - "deploymentController": { - "target": "com.amazonaws.ecs#DeploymentController", + "healthCheckGracePeriodSeconds": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The deployment controller type the service is using. When using the DescribeServices\n API, this field is omitted if the service is using the ECS deployment\n controller type.

" + "smithy.api#documentation": "

The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy\n\t\t\tElastic Load Balancing target health checks after a task has first started.

" } }, - "platformVersion": { - "target": "com.amazonaws.ecs#String", + "launchType": { + "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

The platform version on which to run your service. A platform version is only\n specified for tasks using the Fargate launch type. If one is not\n specified, the LATEST platform version is used by default. For more\n information, see AWS Fargate Platform\n Versions in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The launch type on which your service is running. If no value is specified, it will\n\t\t\tdefault to EC2. Valid values include EC2 and\n\t\t\t\tFARGATE. For more information, see Amazon ECS\n\t\t\t\tLaunch Types in the Amazon Elastic Container Service Developer Guide.

" } }, - "deployments": { - "target": "com.amazonaws.ecs#Deployments", + "events": { + "target": "com.amazonaws.ecs#ServiceEvents", "traits": { - "smithy.api#documentation": "

The current state of deployments for the service.

" + "smithy.api#documentation": "

The event stream for your service. A maximum of 100 of the latest events are\n\t\t\tdisplayed.

" } }, - "tags": { - "target": "com.amazonaws.ecs#Tags", + "networkConfiguration": { + "target": "com.amazonaws.ecs#NetworkConfiguration", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the service to help you categorize and organize them.\n Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

The VPC subnet and security group configuration for tasks that receive their own\n elastic network interface by using the awsvpc networking mode.

" } }, - "clusterArn": { + "serviceName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the cluster that hosts the service.

" + "smithy.api#documentation": "

The name of your service. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. Service names must be unique within\n\t\t\ta cluster, but you can have similarly named services in multiple clusters within a\n\t\t\tRegion or across multiple Regions.

" } }, - "deploymentConfiguration": { - "target": "com.amazonaws.ecs#DeploymentConfiguration", + "schedulingStrategy": { + "target": "com.amazonaws.ecs#SchedulingStrategy", "traits": { - "smithy.api#documentation": "

Optional deployment parameters that control how many tasks run during the deployment\n and the ordering of stopping and starting tasks.

" + "smithy.api#documentation": "

The scheduling strategy to use for the service. For more information, see Services.

\n\t\t

There are two service scheduler strategies available:

\n\t\t " } } }, @@ -6169,12 +6220,6 @@ "com.amazonaws.ecs#ServiceEvent": { "type": "structure", "members": { - "message": { - "target": "com.amazonaws.ecs#String", - "traits": { - "smithy.api#documentation": "

The event message.

" - } - }, "id": { "target": "com.amazonaws.ecs#String", "traits": { @@ -6186,6 +6231,12 @@ "traits": { "smithy.api#documentation": "

The Unix timestamp for when the event was triggered.

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

The event message.

" + } } }, "traits": { @@ -6223,7 +6274,7 @@ } }, "traits": { - "smithy.api#documentation": "

The specified service is not active. You can't update a service that is inactive. If\n you have previously deleted a service, you can re-create it with CreateService.

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

The specified service is not active. You can't update a service that is inactive. If\n\t\t\tyou have previously deleted a service, you can re-create it with CreateService.

", "smithy.api#error": "client" } }, @@ -6235,7 +6286,7 @@ } }, "traits": { - "smithy.api#documentation": "

The specified service could not be found. You can view your available services with\n ListServices. Amazon ECS services are cluster-specific and\n Region-specific.

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

The specified service could not be found. You can view your available services with\n\t\t\t\tListServices. Amazon ECS services are cluster-specific and\n\t\t\tRegion-specific.

", "smithy.api#error": "client" } }, @@ -6248,28 +6299,28 @@ "com.amazonaws.ecs#ServiceRegistry": { "type": "structure", "members": { - "registryArn": { - "target": "com.amazonaws.ecs#String", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is\n AWS Cloud Map. For more information, see CreateService.

" - } - }, - "port": { + "containerPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The port value used if your service discovery service specified an SRV record. This\n field may be used if both the awsvpc network mode and SRV records are\n used.

" + "smithy.api#documentation": "

The port value, already specified in the task definition, to be used for your service\n\t\t\tdiscovery service. If the task definition your service task specifies uses the\n\t\t\t\tbridge or host network mode, you must specify a\n\t\t\t\tcontainerName and containerPort combination from the task\n\t\t\tdefinition. If the task definition your service task specifies uses the\n\t\t\t\tawsvpc network mode and a type SRV DNS record is used, you must specify\n\t\t\teither a containerName and containerPort combination or a\n\t\t\t\tport value, but not both.

" } }, - "containerPort": { - "target": "com.amazonaws.ecs#BoxedInteger", + "containerName": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The port value, already specified in the task definition, to be used for your service\n discovery service. If the task definition your service task specifies uses the\n bridge or host network mode, you must specify a\n containerName and containerPort combination from the task\n definition. If the task definition your service task specifies uses the\n awsvpc network mode and a type SRV DNS record is used, you must specify\n either a containerName and containerPort combination or a\n port value, but not both.

" + "smithy.api#documentation": "

The container name value, already specified in the task definition, to be used for\n\t\t\tyour service discovery service. If the task definition that your service task specifies\n\t\t\tuses the bridge or host network mode, you must specify a\n\t\t\t\tcontainerName and containerPort combination from the task\n\t\t\tdefinition. If the task definition that your service task specifies uses the\n\t\t\t\tawsvpc network mode and a type SRV DNS record is used, you must specify\n\t\t\teither a containerName and containerPort combination or a\n\t\t\t\tport value, but not both.

" } }, - "containerName": { + "registryArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The container name value, already specified in the task definition, to be used for\n your service discovery service. If the task definition that your service task specifies\n uses the bridge or host network mode, you must specify a\n containerName and containerPort combination from the task\n definition. If the task definition that your service task specifies uses the\n awsvpc network mode and a type SRV DNS record is used, you must specify\n either a containerName and containerPort combination or a\n port value, but not both.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is\n\t\t\tAWS Cloud Map. For more information, see CreateService.

" + } + }, + "port": { + "target": "com.amazonaws.ecs#BoxedInteger", + "traits": { + "smithy.api#documentation": "

The port value used if your service discovery service specified an SRV record. This\n\t\t\tfield may be used if both the awsvpc network mode and SRV records are\n\t\t\tused.

" } } }, @@ -6289,7 +6340,7 @@ "principalArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If\n this field is omitted, the authenticated user is assumed.

" + "smithy.api#documentation": "

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If\n\t\t\tthis field is omitted, the authenticated user is assumed.

" } }, "name": { @@ -6395,78 +6446,78 @@ } ], "traits": { - "smithy.api#documentation": "

Starts a new task from the specified task definition on the specified container\n instance or instances.

\n

Alternatively, you can use RunTask to place tasks for you. For more\n information, see Scheduling Tasks in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Starts a new task from the specified task definition on the specified container\n\t\t\tinstance or instances.

\n\t\t

Alternatively, you can use RunTask to place tasks for you. For more\n\t\t\tinformation, see Scheduling Tasks in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#StartTaskRequest": { "type": "structure", "members": { - "cluster": { - "target": "com.amazonaws.ecs#String", + "propagateTags": { + "target": "com.amazonaws.ecs#PropagateTags", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task.\n If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttask. If no value is specified, the tags are not propagated.

" } }, - "group": { + "startedBy": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the task group to associate with the task. The default value is the family\n name of the task definition (for example, family:my-family-name).

" + "smithy.api#documentation": "

An optional tag specified when a task is started. For example, if you automatically\n\t\t\ttrigger a task to run a batch process job, you could apply a unique identifier for that\n\t\t\tjob to your task with the startedBy parameter. You can then identify which\n\t\t\ttasks belong to that job by filtering the results of a ListTasks call\n\t\t\twith the startedBy value. Up to 36 letters (uppercase and lowercase),\n\t\t\tnumbers, hyphens, and underscores are allowed.

\n\t\t

If a task is started by an Amazon ECS service, then the startedBy parameter\n\t\t\tcontains the deployment ID of the service that starts it.

" } }, - "tags": { - "target": "com.amazonaws.ecs#Tags", + "overrides": { + "target": "com.amazonaws.ecs#TaskOverride", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the task to help you categorize and organize them. Each\n tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

A list of container overrides in JSON format that specify the name of a container in\n\t\t\tthe specified task definition and the overrides it should receive. You can override the\n\t\t\tdefault command for a container (that is specified in the task definition or Docker\n\t\t\timage) with a command override. You can also override existing environment\n\t\t\tvariables (that are specified in the task definition or Docker image) on a container or\n\t\t\tadd new environment variables to it with an environment override.

\n\t\t \n\t\t\t

A total of 8192 characters are allowed for overrides. This limit includes the JSON\n\t\t\t\tformatting characters of the override structure.

\n\t\t
" } }, - "taskDefinition": { - "target": "com.amazonaws.ecs#String", + "containerInstances": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The family and revision (family:revision) or\n full ARN of the task definition to start. If a revision is not specified,\n the latest ACTIVE revision is used.

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

The container instance IDs or full ARN entries for the container instances on which\n\t\t\tyou would like to place your task. You can specify up to 10 container instances.

", "smithy.api#required": {} } }, - "referenceId": { + "group": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The reference ID to use for the task.

" + "smithy.api#documentation": "

The name of the task group to associate with the task. The default value is the family\n\t\t\tname of the task definition (for example, family:my-family-name).

" } }, - "enableECSManagedTags": { - "target": "com.amazonaws.ecs#Boolean", + "tags": { + "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the task. For more information, see\n Tagging Your Amazon ECS\n Resources in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The metadata that you apply to the task to help you categorize and organize them. Each\n\t\t\ttag consists of a key and an optional value, both of which you define.

\n\t\t

The following basic restrictions apply to tags:

\n " } }, - "containerInstances": { - "target": "com.amazonaws.ecs#StringList", + "referenceId": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The container instance IDs or full ARN entries for the container instances on which\n you would like to place your task. You can specify up to 10 container instances.

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

The reference ID to use for the task.

" } }, - "startedBy": { + "taskDefinition": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

An optional tag specified when a task is started. For example, if you automatically\n trigger a task to run a batch process job, you could apply a unique identifier for that\n job to your task with the startedBy parameter. You can then identify which\n tasks belong to that job by filtering the results of a ListTasks call\n with the startedBy value. Up to 36 letters (uppercase and lowercase),\n numbers, hyphens, and underscores are allowed.

\n

If a task is started by an Amazon ECS service, then the startedBy parameter\n contains the deployment ID of the service that starts it.

" + "smithy.api#documentation": "

The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to start. If a revision is not specified,\n\t\t\tthe latest ACTIVE revision is used.

", + "smithy.api#required": {} } }, - "networkConfiguration": { - "target": "com.amazonaws.ecs#NetworkConfiguration", + "enableECSManagedTags": { + "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

The VPC subnet and security group configuration for tasks that receive their own\n elastic network interface by using the awsvpc networking mode.

" + "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the task. For more information, see\n\t\t\t\tTagging Your Amazon ECS\n\t\t\t\tResources in the Amazon Elastic Container Service Developer Guide.

" } }, - "overrides": { - "target": "com.amazonaws.ecs#TaskOverride", + "cluster": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

A list of container overrides in JSON format that specify the name of a container in\n the specified task definition and the overrides it should receive. You can override the\n default command for a container (that is specified in the task definition or Docker\n image) with a command override. You can also override existing environment\n variables (that are specified in the task definition or Docker image) on a container or\n add new environment variables to it with an environment override.

\n \n

A total of 8192 characters are allowed for overrides. This limit includes the JSON\n formatting characters of the override structure.

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

The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } }, - "propagateTags": { - "target": "com.amazonaws.ecs#PropagateTags", + "networkConfiguration": { + "target": "com.amazonaws.ecs#NetworkConfiguration", "traits": { - "smithy.api#documentation": "

Specifies whether to propagate the tags from the task definition or the service to the\n task. If no value is specified, the tags are not propagated.

" + "smithy.api#documentation": "

The VPC subnet and security group configuration for tasks that receive their own\n elastic network interface by using the awsvpc networking mode.

" } } } @@ -6474,17 +6525,17 @@ "com.amazonaws.ecs#StartTaskResponse": { "type": "structure", "members": { - "tasks": { - "target": "com.amazonaws.ecs#Tasks", - "traits": { - "smithy.api#documentation": "

A full description of the tasks that were started. Each task that was successfully\n placed on your container instances is described.

" - } - }, "failures": { "target": "com.amazonaws.ecs#Failures", "traits": { "smithy.api#documentation": "

Any failures associated with the call.

" } + }, + "tasks": { + "target": "com.amazonaws.ecs#Tasks", + "traits": { + "smithy.api#documentation": "

A full description of the tasks that were started. Each task that was successfully\n\t\t\tplaced on your container instances is described.

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

Stops a running task. Any tags associated with the task will be deleted.

\n

When StopTask is called on a task, the equivalent of docker\n stop is issued to the containers running in the task. This results in a\n SIGTERM value and a default 30-second timeout, after which the\n SIGKILL value is sent and the containers are forcibly stopped. If the\n container handles the SIGTERM value gracefully and exits within 30 seconds\n from receiving it, no SIGKILL value is sent.

\n \n

The default 30-second timeout can be configured on the Amazon ECS container agent with\n the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see\n Amazon ECS Container Agent Configuration in the\n Amazon Elastic Container Service Developer Guide.

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

Stops a running task. Any tags associated with the task will be deleted.

\n\t\t

When StopTask is called on a task, the equivalent of docker\n\t\t\t\tstop is issued to the containers running in the task. This results in a\n\t\t\t\tSIGTERM value and a default 30-second timeout, after which the\n\t\t\t\tSIGKILL value is sent and the containers are forcibly stopped. If the\n\t\t\tcontainer handles the SIGTERM value gracefully and exits within 30 seconds\n\t\t\tfrom receiving it, no SIGKILL value is sent.

\n\t\t \n\t\t\t

The default 30-second timeout can be configured on the Amazon ECS container agent with\n\t\t\t\tthe ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see\n\t\t\t\t\tAmazon ECS Container Agent Configuration in the\n\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t
" } }, "com.amazonaws.ecs#StopTaskRequest": { @@ -6526,7 +6577,7 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop.\n If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } }, "task": { @@ -6539,7 +6590,7 @@ "reason": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

An optional message specified when a task is stopped. For example, if you are using a\n custom scheduler, you can use this parameter to specify the reason for stopping the task\n here, and the message appears in subsequent DescribeTasks API\n operations on this task. Up to 255 characters are allowed in this message.

" + "smithy.api#documentation": "

An optional message specified when a task is stopped. For example, if you are using a\n\t\t\tcustom scheduler, you can use this parameter to specify the reason for stopping the task\n\t\t\there, and the message appears in subsequent DescribeTasks API\n\t\t\toperations on this task. Up to 255 characters are allowed in this message.

" } } } @@ -6596,7 +6647,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Sent to\n acknowledge that an attachment changed states.

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

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Sent to\n\t\t\tacknowledge that an attachment changed states.

" } }, "com.amazonaws.ecs#SubmitAttachmentStateChangesRequest": { @@ -6612,7 +6663,7 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full ARN of the cluster that hosts the container instance the\n attachment belongs to.

" + "smithy.api#documentation": "

The short name or full ARN of the cluster that hosts the container instance the\n\t\t\tattachment belongs to.

" } } } @@ -6648,40 +6699,40 @@ } ], "traits": { - "smithy.api#documentation": "\n

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Sent to\n acknowledge that a container changed states.

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

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Sent to\n\t\t\tacknowledge that a container changed states.

" } }, "com.amazonaws.ecs#SubmitContainerStateChangeRequest": { "type": "structure", "members": { - "cluster": { + "task": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full ARN of the cluster that hosts the container.

" + "smithy.api#documentation": "

The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

" } }, - "reason": { + "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The reason for the state change request.

" + "smithy.api#documentation": "

The short name or full ARN of the cluster that hosts the container.

" } }, - "task": { - "target": "com.amazonaws.ecs#String", + "exitCode": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

" + "smithy.api#documentation": "

The exit code returned for the state change request.

" } }, - "runtimeId": { + "status": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The ID of the Docker container.

" + "smithy.api#documentation": "

The status of the state change request.

" } }, - "status": { + "runtimeId": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The status of the state change request.

" + "smithy.api#documentation": "

The ID of the Docker container.

" } }, "networkBindings": { @@ -6690,16 +6741,16 @@ "smithy.api#documentation": "

The network bindings of the container.

" } }, - "exitCode": { - "target": "com.amazonaws.ecs#BoxedInteger", + "containerName": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The exit code returned for the state change request.

" + "smithy.api#documentation": "

The name of the container.

" } }, - "containerName": { + "reason": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the container.

" + "smithy.api#documentation": "

The reason for the state change request.

" } } } @@ -6738,40 +6789,40 @@ } ], "traits": { - "smithy.api#documentation": "\n

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Sent to acknowledge\n that a task changed states.

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

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

\n
\n

Sent to acknowledge\n\t\t\tthat a task changed states.

" } }, "com.amazonaws.ecs#SubmitTaskStateChangeRequest": { "type": "structure", "members": { - "attachments": { - "target": "com.amazonaws.ecs#AttachmentStateChanges", + "containers": { + "target": "com.amazonaws.ecs#ContainerStateChanges", "traits": { - "smithy.api#documentation": "

Any attachments associated with the state change request.

" + "smithy.api#documentation": "

Any containers associated with the state change request.

" } }, - "pullStoppedAt": { + "pullStartedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the container image pull completed.

" + "smithy.api#documentation": "

The Unix timestamp for when the container image pull began.

" } }, - "task": { + "reason": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The task ID or full ARN of the task in the state change request.

" + "smithy.api#documentation": "

The reason for the state change request.

" } }, - "reason": { - "target": "com.amazonaws.ecs#String", + "pullStoppedAt": { + "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The reason for the state change request.

" + "smithy.api#documentation": "

The Unix timestamp for when the container image pull completed.

" } }, - "containers": { - "target": "com.amazonaws.ecs#ContainerStateChanges", + "task": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

Any containers associated with the state change request.

" + "smithy.api#documentation": "

The task ID or full ARN of the task in the state change request.

" } }, "status": { @@ -6780,10 +6831,10 @@ "smithy.api#documentation": "

The status of the state change request.

" } }, - "pullStartedAt": { + "executionStoppedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the container image pull began.

" + "smithy.api#documentation": "

The Unix timestamp for when the task execution stopped.

" } }, "cluster": { @@ -6792,10 +6843,10 @@ "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

" } }, - "executionStoppedAt": { - "target": "com.amazonaws.ecs#Timestamp", + "attachments": { + "target": "com.amazonaws.ecs#AttachmentStateChanges", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the task execution stopped.

" + "smithy.api#documentation": "

Any attachments associated with the state change request.

" } } } @@ -6814,21 +6865,21 @@ "com.amazonaws.ecs#SystemControl": { "type": "structure", "members": { - "value": { + "namespace": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The value for the namespaced kernel parameter specified in\n namespace.

" + "smithy.api#documentation": "

The namespaced kernel parameter for which to set a value.

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

The namespaced kernel parameter for which to set a value.

" + "smithy.api#documentation": "

The value for the namespaced kernel parameter specified in\n\t\t\tnamespace.

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

A list of namespaced kernel parameters to set in the container. This parameter maps to\n Sysctls in the Create a container section of the\n Docker Remote API and the --sysctl option to docker run.

\n

It is not recommended that you specify network-related systemControls\n parameters for multiple containers in a single task that also uses either the\n awsvpc or host network mode for the following\n reasons:

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

A list of namespaced kernel parameters to set in the container. This parameter maps to\n\t\t\t\tSysctls in the Create a container section of the\n\t\t\tDocker Remote API and the --sysctl option to docker run.

\n\t\t

It is not recommended that you specify network-related systemControls\n\t\t\tparameters for multiple containers in a single task that also uses either the\n\t\t\t\tawsvpc or host network mode for the following\n\t\t\treasons:

\n\t\t " } }, "com.amazonaws.ecs#SystemControls": { @@ -6843,18 +6894,18 @@ "value": { "target": "com.amazonaws.ecs#TagValue", "traits": { - "smithy.api#documentation": "

The optional part of a key-value pair that make up a tag. A value acts as\n a descriptor within a tag category (key).

" + "smithy.api#documentation": "

The optional part of a key-value pair that make up a tag. A value acts as\n\t\t\ta descriptor within a tag category (key).

" } }, "key": { "target": "com.amazonaws.ecs#TagKey", "traits": { - "smithy.api#documentation": "

One part of a key-value pair that make up a tag. A key is a general label\n that acts like a category for more specific tag values.

" + "smithy.api#documentation": "

One part of a key-value pair that make up a tag. A key is a general label\n\t\t\tthat acts like a category for more specific tag values.

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

The metadata that you apply to a resource to help you categorize and organize them.\n Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

The metadata that you apply to a resource to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

\n\t\t

The following basic restrictions apply to tags:

\n " } }, "com.amazonaws.ecs#TagKey": { @@ -6899,7 +6950,7 @@ } ], "traits": { - "smithy.api#documentation": "

Associates the specified tags to a resource with the specified\n resourceArn. If existing tags on a resource are not specified in the\n request parameters, they are not changed. When a resource is deleted, the tags\n associated with that resource are deleted as well.

" + "smithy.api#documentation": "

Associates the specified tags to a resource with the specified\n\t\t\t\tresourceArn. If existing tags on a resource are not specified in the\n\t\t\trequest parameters, they are not changed. When a resource is deleted, the tags\n\t\t\tassociated with that resource are deleted as well.

" } }, "com.amazonaws.ecs#TagResourceRequest": { @@ -6908,14 +6959,14 @@ "resourceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources\n are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container\n instances.

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

The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources\n\t\t\tare Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container\n\t\t\tinstances.

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The tags to add to the resource. A tag is an array of key-value pairs.

\n

The following basic restrictions apply to tags:

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

The tags to add to the resource. A tag is an array of key-value pairs.

\n\t\t

The following basic restrictions apply to tags:

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

The specified target could not be found. You can view your available container\n instances with ListContainerInstances. Amazon ECS container instances are\n cluster-specific and Region-specific.

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

The specified target could not be found. You can view your available container\n\t\t\tinstances with ListContainerInstances. Amazon ECS container instances are\n\t\t\tcluster-specific and Region-specific.

", "smithy.api#error": "client" } }, @@ -6979,22 +7030,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task.

" } }, - "launchType": { - "target": "com.amazonaws.ecs#LaunchType", - "traits": { - "smithy.api#documentation": "

The launch type on which your task is running. For more information, see Amazon ECS\n Launch Types in the Amazon Elastic Container Service Developer Guide.

" - } - }, - "attachments": { - "target": "com.amazonaws.ecs#Attachments", - "traits": { - "smithy.api#documentation": "

The Elastic Network Adapter associated with the task if the task uses the\n awsvpc network mode.

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

The platform version on which your task is running. A platform version is only\n specified for tasks using the Fargate launch type. If one is not\n specified, the LATEST platform version is used by default. For more\n information, see AWS Fargate Platform\n Versions in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The platform version on which your task is running. A platform version is only\n\t\t\tspecified for tasks using the Fargate launch type. If one is not\n\t\t\tspecified, the LATEST platform version is used by default. For more\n\t\t\tinformation, see AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

" } }, "clusterArn": { @@ -7024,151 +7063,163 @@ "startedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the task started (the task transitioned from the\n PENDING state to the RUNNING state).

" + "smithy.api#documentation": "

The Unix timestamp for when the task started (the task transitioned from the\n\t\t\t\tPENDING state to the RUNNING state).

" } }, - "stoppedReason": { + "cpu": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The reason that the task was stopped.

" + "smithy.api#documentation": "

The number of CPU units used by the task as expressed in a task definition. It can be\n\t\t\texpressed as an integer using CPU units, for example 1024. It can also be\n\t\t\texpressed as a string using vCPUs, for example 1 vCPU or 1\n\t\t\t\tvcpu. String values are converted to an integer indicating the CPU units when\n\t\t\tthe task definition is registered.

\n\t\t

If you are using the EC2 launch type, this field is optional. Supported\n\t\t\tvalues are between 128 CPU units (0.125 vCPUs) and\n\t\t\t\t10240 CPU units (10 vCPUs).

\n\t\t

If you are using the Fargate launch type, this field is required and you\n\t\t\tmust use one of the following values, which determines your range of supported values\n\t\t\tfor the memory parameter:

\n " } }, - "containers": { - "target": "com.amazonaws.ecs#Containers", + "pullStartedAt": { + "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The containers associated with the task.

" + "smithy.api#documentation": "

The Unix timestamp for when the container image pull began.

" } }, - "attributes": { - "target": "com.amazonaws.ecs#Attributes", + "createdAt": { + "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The attributes of the task

" + "smithy.api#documentation": "

The Unix timestamp for when the task was created (the task entered the\n\t\t\t\tPENDING state).

" } }, - "taskDefinitionArn": { - "target": "com.amazonaws.ecs#String", + "inferenceAccelerators": { + "target": "com.amazonaws.ecs#InferenceAccelerators", "traits": { - "smithy.api#documentation": "

The ARN of the task definition that creates the task.

" + "smithy.api#documentation": "

The Elastic Inference accelerator associated with the task.

" } }, - "lastStatus": { + "containerInstanceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The last known status of the task. For more information, see Task\n Lifecycle.

" + "smithy.api#documentation": "

The ARN of the container instances that host the task.

" } }, - "stopCode": { - "target": "com.amazonaws.ecs#TaskStopCode", + "launchType": { + "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

The stop code indicating why a task was stopped. The stoppedReason may\n contain additional details.

" + "smithy.api#documentation": "

The launch type on which your task is running. For more information, see Amazon ECS\n\t\t\t\tLaunch Types in the Amazon Elastic Container Service Developer Guide.

" } }, - "stoppingAt": { - "target": "com.amazonaws.ecs#Timestamp", + "attachments": { + "target": "com.amazonaws.ecs#Attachments", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the task stops (transitions from the RUNNING\n state to STOPPED).

" + "smithy.api#documentation": "

The Elastic Network Adapter associated with the task if the task uses the\n\t\t\t\tawsvpc network mode.

" } }, - "memory": { + "group": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The amount of memory (in MiB) used by the task as expressed in a task definition. It\n can be expressed as an integer using MiB, for example 1024. It can also be\n expressed as a string using GB, for example 1GB or 1 GB.\n String values are converted to an integer indicating the MiB when the task definition is\n registered.

\n

If you are using the EC2 launch type, this field is optional.

\n

If you are using the Fargate launch type, this field is required and you\n must use one of the following values, which determines your range of supported values\n for the cpu parameter:

\n " - } - }, - "overrides": { - "target": "com.amazonaws.ecs#TaskOverride", - "traits": { - "smithy.api#documentation": "

One or more container overrides.

" + "smithy.api#documentation": "

The name of the task group associated with the task.

" } }, - "connectivityAt": { - "target": "com.amazonaws.ecs#Timestamp", + "desiredStatus": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the task last went into CONNECTED\n status.

" + "smithy.api#documentation": "

The desired status of the task. For more information, see Task\n\t\t\tLifecycle.

" } }, - "desiredStatus": { + "startedBy": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The desired status of the task. For more information, see Task\n Lifecycle.

" + "smithy.api#documentation": "

The tag specified when a task is started. If the task is started by an Amazon ECS service,\n\t\t\tthen the startedBy parameter contains the deployment ID of the service that\n\t\t\tstarts it.

" } }, - "inferenceAccelerators": { - "target": "com.amazonaws.ecs#InferenceAccelerators", + "pullStoppedAt": { + "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The Elastic Inference accelerator associated with the task.

" + "smithy.api#documentation": "

The Unix timestamp for when the container image pull completed.

" } }, - "startedBy": { - "target": "com.amazonaws.ecs#String", + "connectivity": { + "target": "com.amazonaws.ecs#Connectivity", "traits": { - "smithy.api#documentation": "

The tag specified when a task is started. If the task is started by an Amazon ECS service,\n then the startedBy parameter contains the deployment ID of the service that\n starts it.

" + "smithy.api#documentation": "

The connectivity status of a task.

" } }, - "pullStoppedAt": { + "connectivityAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the container image pull completed.

" + "smithy.api#documentation": "

The Unix timestamp for when the task last went into CONNECTED\n\t\t\tstatus.

" } }, "healthStatus": { "target": "com.amazonaws.ecs#HealthStatus", "traits": { - "smithy.api#documentation": "

The health status for the task, which is determined by the health of the essential\n containers in the task. If all essential containers in the task are reporting as\n HEALTHY, then the task status also reports as HEALTHY. If\n any essential containers in the task are reporting as UNHEALTHY or\n UNKNOWN, then the task status also reports as UNHEALTHY or\n UNKNOWN, accordingly.

\n \n

The Amazon ECS container agent does not monitor or report on Docker health checks that\n are embedded in a container image (such as those specified in a parent image or from\n the image's Dockerfile) and not specified in the container definition. Health check\n parameters that are specified in a container definition override any Docker health\n checks that exist in the container image.

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

The health status for the task, which is determined by the health of the essential\n\t\t\tcontainers in the task. If all essential containers in the task are reporting as\n\t\t\t\tHEALTHY, then the task status also reports as HEALTHY. If\n\t\t\tany essential containers in the task are reporting as UNHEALTHY or\n\t\t\t\tUNKNOWN, then the task status also reports as UNHEALTHY or\n\t\t\t\tUNKNOWN, accordingly.

\n\t\t \n\t\t\t

The Amazon ECS container agent does not monitor or report on Docker health checks that\n\t\t\t\tare embedded in a container image (such as those specified in a parent image or from\n\t\t\t\tthe image's Dockerfile) and not specified in the container definition. Health check\n\t\t\t\tparameters that are specified in a container definition override any Docker health\n\t\t\t\tchecks that exist in the container image.

\n\t\t
" + } + }, + "version": { + "target": "com.amazonaws.ecs#Long", + "traits": { + "smithy.api#documentation": "

The version counter for the task. Every time a task experiences a change that triggers\n\t\t\ta CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task\n\t\t\tstate with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API\n\t\t\tactions with the version reported in CloudWatch Events for the task (inside the\n\t\t\t\tdetail object) to verify that the version in your event stream is\n\t\t\tcurrent.

" } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the task to help you categorize and organize them. Each\n tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

The metadata that you apply to the task to help you categorize and organize them. Each\n\t\t\ttag consists of a key and an optional value, both of which you define.

\n\t\t

The following basic restrictions apply to tags:

\n " } }, - "version": { - "target": "com.amazonaws.ecs#Long", + "overrides": { + "target": "com.amazonaws.ecs#TaskOverride", "traits": { - "smithy.api#documentation": "

The version counter for the task. Every time a task experiences a change that triggers\n a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task\n state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API\n actions with the version reported in CloudWatch Events for the task (inside the\n detail object) to verify that the version in your event stream is\n current.

" + "smithy.api#documentation": "

One or more container overrides.

" } }, "stoppedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the task was stopped (the task transitioned from the\n RUNNING state to the STOPPED state).

" + "smithy.api#documentation": "

The Unix timestamp for when the task was stopped (the task transitioned from the\n\t\t\t\tRUNNING state to the STOPPED state).

" } }, - "cpu": { - "target": "com.amazonaws.ecs#String", + "attributes": { + "target": "com.amazonaws.ecs#Attributes", "traits": { - "smithy.api#documentation": "

The number of CPU units used by the task as expressed in a task definition. It can be\n expressed as an integer using CPU units, for example 1024. It can also be\n expressed as a string using vCPUs, for example 1 vCPU or 1\n vcpu. String values are converted to an integer indicating the CPU units when\n the task definition is registered.

\n

If you are using the EC2 launch type, this field is optional. Supported\n values are between 128 CPU units (0.125 vCPUs) and\n 10240 CPU units (10 vCPUs).

\n

If you are using the Fargate launch type, this field is required and you\n must use one of the following values, which determines your range of supported values\n for the memory parameter:

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

The attributes of the task

" } }, - "pullStartedAt": { - "target": "com.amazonaws.ecs#Timestamp", + "stoppedReason": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the container image pull began.

" + "smithy.api#documentation": "

The reason that the task was stopped.

" } }, - "connectivity": { - "target": "com.amazonaws.ecs#Connectivity", + "containers": { + "target": "com.amazonaws.ecs#Containers", "traits": { - "smithy.api#documentation": "

The connectivity status of a task.

" + "smithy.api#documentation": "

The containers associated with the task.

" } }, - "createdAt": { - "target": "com.amazonaws.ecs#Timestamp", + "taskDefinitionArn": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the task was created (the task entered the\n PENDING state).

" + "smithy.api#documentation": "

The ARN of the task definition that creates the task.

" } }, - "group": { + "memory": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of the task group associated with the task.

" + "smithy.api#documentation": "

The amount of memory (in MiB) used by the task as expressed in a task definition. It\n\t\t\tcan be expressed as an integer using MiB, for example 1024. It can also be\n\t\t\texpressed as a string using GB, for example 1GB or 1 GB.\n\t\t\tString values are converted to an integer indicating the MiB when the task definition is\n\t\t\tregistered.

\n\t\t

If you are using the EC2 launch type, this field is optional.

\n\t\t

If you are using the Fargate launch type, this field is required and you\n\t\t\tmust use one of the following values, which determines your range of supported values\n\t\t\tfor the cpu parameter:

\n " } }, - "containerInstanceArn": { + "lastStatus": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The ARN of the container instances that host the task.

" + "smithy.api#documentation": "

The last known status of the task. For more information, see Task\n\t\t\t\tLifecycle.

" + } + }, + "stoppingAt": { + "target": "com.amazonaws.ecs#Timestamp", + "traits": { + "smithy.api#documentation": "

The Unix timestamp for when the task stops (transitions from the RUNNING\n\t\t\tstate to STOPPED).

" + } + }, + "stopCode": { + "target": "com.amazonaws.ecs#TaskStopCode", + "traits": { + "smithy.api#documentation": "

The stop code indicating why a task was stopped. The stoppedReason may\n\t\t\tcontain additional details.

" } } }, @@ -7179,46 +7230,52 @@ "com.amazonaws.ecs#TaskDefinition": { "type": "structure", "members": { - "family": { + "taskRoleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The name of a family that this task definition is registered to. Up to 255 letters\n (uppercase and lowercase), numbers, hyphens, and underscores are allowed.

\n

A family groups multiple versions of a task definition. Amazon ECS gives the first task\n definition that you registered to a family a revision number of 1. Amazon ECS gives\n sequential revision numbers to each task definition that you add.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants containers in the\n\t\t\ttask permission to call AWS APIs on your behalf. For more information, see Amazon ECS\n\t\t\t\tTask Role in the Amazon Elastic Container Service Developer Guide.

\n\t\t

IAM roles for tasks on Windows require that the -EnableTaskIAMRole option\n\t\t\tis set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some\n\t\t\tconfiguration code in order to take advantage of the feature. For more information, see\n\t\t\t\tWindows IAM Roles\n\t\t\t\tfor Tasks in the Amazon Elastic Container Service Developer Guide.

" } }, "revision": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The revision of the task in a particular family. The revision is a version number of a\n task definition in a family. When you register a task definition for the first time, the\n revision is 1. Each time that you register a new revision of a task\n definition in the same family, the revision value always increases by one, even if you\n have deregistered previous revisions in this family.

" + "smithy.api#documentation": "

The revision of the task in a particular family. The revision is a version number of a\n\t\t\ttask definition in a family. When you register a task definition for the first time, the\n\t\t\trevision is 1. Each time that you register a new revision of a task\n\t\t\tdefinition in the same family, the revision value always increases by one, even if you\n\t\t\thave deregistered previous revisions in this family.

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

The status of the task definition.

" } }, - "requiresCompatibilities": { - "target": "com.amazonaws.ecs#CompatibilityList", + "proxyConfiguration": { + "target": "com.amazonaws.ecs#ProxyConfiguration", "traits": { - "smithy.api#documentation": "

The launch type the task requires. If no value is specified, it will default to\n EC2. Valid values include EC2 and\n FARGATE.

" + "smithy.api#documentation": "

The configuration details for the App Mesh proxy.

\n\t\t

Your Amazon ECS container instances require at least version 1.26.0 of the container agent\n\t\t\tand at least version 1.26.0-1 of the ecs-init package to enable a proxy\n\t\t\tconfiguration. If your container instances are launched from the Amazon ECS-optimized AMI\n\t\t\tversion 20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

" } }, - "proxyConfiguration": { - "target": "com.amazonaws.ecs#ProxyConfiguration", + "placementConstraints": { + "target": "com.amazonaws.ecs#TaskDefinitionPlacementConstraints", "traits": { - "smithy.api#documentation": "

The configuration details for the App Mesh proxy.

\n

Your Amazon ECS container instances require at least version 1.26.0 of the container agent\n and at least version 1.26.0-1 of the ecs-init package to enable a proxy\n configuration. If your container instances are launched from the Amazon ECS-optimized AMI\n version 20190301 or later, then they contain the required versions of the\n container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

An array of placement constraint objects to use for tasks. This field is not valid if\n\t\t\tyou are using the Fargate launch type for your task.

" } }, - "status": { - "target": "com.amazonaws.ecs#TaskDefinitionStatus", + "networkMode": { + "target": "com.amazonaws.ecs#NetworkMode", "traits": { - "smithy.api#documentation": "

The status of the task definition.

" + "smithy.api#documentation": "

The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n The default Docker network mode is bridge. If you are using the\n Fargate launch type, the awsvpc network mode is required. If\n you are using the EC2 launch type, any network mode can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.

\n

With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.

\n

If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.

\n \n

Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants with the\n ecs-init package, or AWS Fargate infrastructure support the\n awsvpc network mode.

\n
\n

If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.

\n

Docker for Windows uses different network modes than Docker for Linux. When you\n register a task definition with Windows containers, you must not specify a network mode.\n If you use the console to register a task definition with Windows containers, you must\n choose the network mode object.

\n

For more information, see Network\n settings in the Docker run reference.

" } }, - "taskDefinitionArn": { + "family": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The full Amazon Resource Name (ARN) of the task definition.

" + "smithy.api#documentation": "

The name of a family that this task definition is registered to. Up to 255 letters\n\t\t\t(uppercase and lowercase), numbers, hyphens, and underscores are allowed.

\n\t\t

A family groups multiple versions of a task definition. Amazon ECS gives the first task\n\t\t\tdefinition that you registered to a family a revision number of 1. Amazon ECS gives\n\t\t\tsequential revision numbers to each task definition that you add.

" } }, - "taskRoleArn": { - "target": "com.amazonaws.ecs#String", + "requiresCompatibilities": { + "target": "com.amazonaws.ecs#CompatibilityList", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants containers in the\n task permission to call AWS APIs on your behalf. For more information, see Amazon ECS\n Task Role in the Amazon Elastic Container Service Developer Guide.

\n

IAM roles for tasks on Windows require that the -EnableTaskIAMRole option\n is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some\n configuration code in order to take advantage of the feature. For more information, see\n Windows IAM Roles\n for Tasks in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The launch type the task requires. If no value is specified, it will default to\n\t\t\t\tEC2. Valid values include EC2 and\n\t\t\tFARGATE.

" } }, "pidMode": { @@ -7227,22 +7284,22 @@ "smithy.api#documentation": "

The process namespace to use for the containers in the task. The valid\n values are host or task. If host\n is specified, then all containers within the tasks that specified the\n host PID mode on the same container instance share the\n same process namespace with the host Amazon EC2 instance. If task is\n specified, all containers within the specified task share the same\n process namespace. If no value is specified, the default is a private\n namespace. For more information, see PID settings in the Docker run\n reference.

\n

If the host PID mode is used, be aware that there is a\n heightened risk of undesired process namespace expose. For more\n information, see Docker\n security.

\n \n

This parameter is not supported for Windows containers or tasks using the Fargate launch type.

\n
" } }, - "ipcMode": { - "target": "com.amazonaws.ecs#IpcMode", + "taskDefinitionArn": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The IPC resource namespace to use for the containers in the task. The valid values are\n host, task, or none. If host is\n specified, then all containers within the tasks that specified the host IPC\n mode on the same container instance share the same IPC resources with the host Amazon EC2\n instance. If task is specified, all containers within the specified task\n share the same IPC resources. If none is specified, then IPC resources\n within the containers of a task are private and not shared with other containers in a\n task or on the container instance. If no value is specified, then the IPC resource\n namespace sharing depends on the Docker daemon setting on the container instance. For\n more information, see IPC\n settings in the Docker run reference.

\n

If the host IPC mode is used, be aware that there is a heightened risk of\n undesired IPC namespace expose. For more information, see Docker\n security.

\n

If you are setting namespaced kernel parameters using systemControls for\n the containers in the task, the following will apply to your IPC resource namespace. For\n more information, see System\n Controls in the Amazon Elastic Container Service Developer Guide.

\n \n \n

This parameter is not supported for Windows containers or tasks using the Fargate launch type.

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

The full Amazon Resource Name (ARN) of the task definition.

" } }, "compatibilities": { "target": "com.amazonaws.ecs#CompatibilityList", "traits": { - "smithy.api#documentation": "

The launch type to use with your task. For more information, see Amazon ECS\n Launch Types in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The launch type to use with your task. For more information, see Amazon ECS\n\t\t\t\tLaunch Types in the Amazon Elastic Container Service Developer Guide.

" } }, - "requiresAttributes": { - "target": "com.amazonaws.ecs#RequiresAttributes", + "containerDefinitions": { + "target": "com.amazonaws.ecs#ContainerDefinitions", "traits": { - "smithy.api#documentation": "

The container instance attributes required by your task. This field is not valid if\n you are using the Fargate launch type for your task.

" + "smithy.api#documentation": "

A list of container definitions in JSON format that describe the different containers\n\t\t\tthat make up your task. For more information about container definition parameters and\n\t\t\tdefaults, see Amazon ECS Task\n\t\t\t\tDefinitions in the Amazon Elastic Container Service Developer Guide.

" } }, "inferenceAccelerators": { @@ -7251,51 +7308,45 @@ "smithy.api#documentation": "

The Elastic Inference accelerator associated with the task.

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

The amount (in MiB) of memory used by the task.

\n

If using the EC2 launch type, this field is optional and any value can\n be used. If a task-level memory value is specified then the container-level memory value\n is optional.

\n

If using the Fargate launch type, this field is required and you must\n use one of the following values, which determines your range of valid values for the\n cpu parameter:

\n " - } - }, - "containerDefinitions": { - "target": "com.amazonaws.ecs#ContainerDefinitions", + "ipcMode": { + "target": "com.amazonaws.ecs#IpcMode", "traits": { - "smithy.api#documentation": "

A list of container definitions in JSON format that describe the different containers\n that make up your task. For more information about container definition parameters and\n defaults, see Amazon ECS Task\n Definitions in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The IPC resource namespace to use for the containers in the task. The valid values are\n host, task, or none. If host is\n specified, then all containers within the tasks that specified the host IPC\n mode on the same container instance share the same IPC resources with the host Amazon EC2\n instance. If task is specified, all containers within the specified task\n share the same IPC resources. If none is specified, then IPC resources\n within the containers of a task are private and not shared with other containers in a\n task or on the container instance. If no value is specified, then the IPC resource\n namespace sharing depends on the Docker daemon setting on the container instance. For\n more information, see IPC\n settings in the Docker run reference.

\n

If the host IPC mode is used, be aware that there is a heightened risk of\n undesired IPC namespace expose. For more information, see Docker\n security.

\n

If you are setting namespaced kernel parameters using systemControls for\n the containers in the task, the following will apply to your IPC resource namespace. For\n more information, see System\n Controls in the Amazon Elastic Container Service Developer Guide.

\n \n \n

This parameter is not supported for Windows containers or tasks using the Fargate launch type.

\n
" } }, - "networkMode": { - "target": "com.amazonaws.ecs#NetworkMode", + "memory": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n The default Docker network mode is bridge. If you are using the\n Fargate launch type, the awsvpc network mode is required. If\n you are using the EC2 launch type, any network mode can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.

\n

With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.

\n

If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.

\n \n

Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants with the\n ecs-init package, or AWS Fargate infrastructure support the\n awsvpc network mode.

\n
\n

If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.

\n

Docker for Windows uses different network modes than Docker for Linux. When you\n register a task definition with Windows containers, you must not specify a network mode.\n If you use the console to register a task definition with Windows containers, you must\n choose the network mode object.

\n

For more information, see Network\n settings in the Docker run reference.

" + "smithy.api#documentation": "

The amount (in MiB) of memory used by the task.

\n\t\t

If using the EC2 launch type, you must specify either a task-level\n\t\t\tmemory value or a container-level memory value. This field is optional and any value can\n\t\t\tbe used. If a task-level memory value is specified then the container-level memory value\n\t\t\tis optional. For more information regarding container-level memory and memory\n\t\t\treservation, see ContainerDefinition.

\n\t\t

If using the Fargate launch type, this field is required and you must\n\t\t\tuse one of the following values, which determines your range of valid values for the\n\t\t\t\tcpu parameter:

\n " } }, - "placementConstraints": { - "target": "com.amazonaws.ecs#TaskDefinitionPlacementConstraints", + "requiresAttributes": { + "target": "com.amazonaws.ecs#RequiresAttributes", "traits": { - "smithy.api#documentation": "

An array of placement constraint objects to use for tasks. This field is not valid if\n you are using the Fargate launch type for your task.

" + "smithy.api#documentation": "

The container instance attributes required by your task. This field is not valid if\n\t\t\tyou are using the Fargate launch type for your task.

" } }, - "volumes": { - "target": "com.amazonaws.ecs#VolumeList", + "executionRoleArn": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The list of volume definitions for the task.

\n

If your tasks are using the Fargate launch type, the host\n and sourcePath parameters are not supported.

\n

For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent\n permission to make AWS API calls on your behalf. The task execution IAM role is required\n depending on the requirements of your task. For more information, see Amazon ECS task\n execution IAM role in the Amazon Elastic Container Service Developer Guide.

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

The number of cpu units used by the task. If you are using the EC2 launch\n type, this field is optional and any value can be used. If you are using the Fargate\n launch type, this field is required and you must use one of the following values, which\n determines your range of valid values for the memory parameter:

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

The number of cpu units used by the task. If you are using the EC2 launch\n\t\t\ttype, this field is optional and any value can be used. If you are using the Fargate\n\t\t\tlaunch type, this field is required and you must use one of the following values, which\n\t\t\tdetermines your range of valid values for the memory parameter:

\n\t\t " } }, - "executionRoleArn": { - "target": "com.amazonaws.ecs#String", + "volumes": { + "target": "com.amazonaws.ecs#VolumeList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent\n permission to make AWS API calls on your behalf. The task execution IAM role is required\n depending on the requirements of your task. For more information, see Amazon ECS task\n execution IAM role in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The list of volume definitions for the task.

\n\t\t

If your tasks are using the Fargate launch type, the host\n\t\t\tand sourcePath parameters are not supported.

\n\t\t

For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon Elastic Container Service Developer Guide.

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

The details of a task definition which describes the container and volume definitions\n of an Amazon Elastic Container Service task. You can specify which Docker images to use, the required\n resources, and other configurations related to launching the task definition through an\n Amazon ECS service or task.

" + "smithy.api#documentation": "

The details of a task definition which describes the container and volume definitions\n\t\t\tof an Amazon Elastic Container Service task. You can specify which Docker images to use, the required\n\t\t\tresources, and other configurations related to launching the task definition through an\n\t\t\tAmazon ECS service or task.

" } }, "com.amazonaws.ecs#TaskDefinitionFamilyStatus": { @@ -7340,18 +7391,18 @@ "type": { "target": "com.amazonaws.ecs#TaskDefinitionPlacementConstraintType", "traits": { - "smithy.api#documentation": "

The type of constraint. The MemberOf constraint restricts selection to be\n from a group of valid candidates.

" + "smithy.api#documentation": "

The type of constraint. The MemberOf constraint restricts selection to be\n\t\t\tfrom a group of valid candidates.

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

A cluster query language expression to apply to the constraint. For more information,\n see Cluster Query Language in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

A cluster query language expression to apply to the constraint. For more information,\n\t\t\tsee Cluster Query Language in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

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

An object representing a constraint on task placement in the task definition. For more\n information, see Task Placement Constraints in the\n Amazon Elastic Container Service Developer Guide.

\n \n

If you are using the Fargate launch type, task placement constraints\n are not supported.

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

An object representing a constraint on task placement in the task definition. For more\n\t\t\tinformation, see Task Placement Constraints in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t \n\t\t\t

If you are using the Fargate launch type, task placement constraints\n\t\t\t\tare not supported.

\n\t\t
" } }, "com.amazonaws.ecs#TaskDefinitionPlacementConstraintType": { @@ -7412,10 +7463,10 @@ "smithy.api#documentation": "

One or more container overrides sent to a task.

" } }, - "cpu": { + "memory": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The cpu override for the task.

" + "smithy.api#documentation": "

The memory override for the task.

" } }, "executionRoleArn": { @@ -7424,22 +7475,22 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task execution IAM role override for the task.

" } }, - "inferenceAcceleratorOverrides": { - "target": "com.amazonaws.ecs#InferenceAcceleratorOverrides", + "cpu": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Elastic Inference accelerator override for the task.

" + "smithy.api#documentation": "

The cpu override for the task.

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

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers\n in this task are granted the permissions that are specified in this role.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers\n\t\t\tin this task are granted the permissions that are specified in this role.

" } }, - "memory": { - "target": "com.amazonaws.ecs#String", + "inferenceAcceleratorOverrides": { + "target": "com.amazonaws.ecs#InferenceAcceleratorOverrides", "traits": { - "smithy.api#documentation": "

The memory override for the task.

" + "smithy.api#documentation": "

The Elastic Inference accelerator override for the task.

" } } }, @@ -7450,10 +7501,10 @@ "com.amazonaws.ecs#TaskSet": { "type": "structure", "members": { - "loadBalancers": { - "target": "com.amazonaws.ecs#LoadBalancers", + "serviceRegistries": { + "target": "com.amazonaws.ecs#ServiceRegistries", "traits": { - "smithy.api#documentation": "

Details on a load balancer that is used with a task set.

" + "smithy.api#documentation": "

The details of the service discovery registries to assign to this task set. For more\n\t\t\tinformation, see Service\n\t\t\t\tDiscovery.

" } }, "serviceArn": { @@ -7465,37 +7516,25 @@ "externalId": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The external ID associated with the task set.

\n

If a task set is created by an AWS CodeDeploy deployment, the externalId parameter\n contains the AWS CodeDeploy deployment ID.

\n

If a task set is created for an external deployment and is associated with a service\n discovery registry, the externalId parameter contains the\n ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute.

" - } - }, - "serviceRegistries": { - "target": "com.amazonaws.ecs#ServiceRegistries", - "traits": { - "smithy.api#documentation": "

The details of the service discovery registries to assign to this task set. For more\n information, see Service\n Discovery.

" + "smithy.api#documentation": "

The external ID associated with the task set.

\n\t\t

If a task set is created by an AWS CodeDeploy deployment, the externalId parameter\n\t\t\tcontains the AWS CodeDeploy deployment ID.

\n\t\t

If a task set is created for an external deployment and is associated with a service\n\t\t\tdiscovery registry, the externalId parameter contains the\n\t\t\t\tECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute.

" } }, - "launchType": { - "target": "com.amazonaws.ecs#LaunchType", + "loadBalancers": { + "target": "com.amazonaws.ecs#LoadBalancers", "traits": { - "smithy.api#documentation": "

The launch type the tasks in the task set are using. For more information, see Amazon ECS\n Launch Types in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Details on a load balancer that is used with a task set.

" } }, - "taskDefinition": { + "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The task definition the task set is using.

" - } - }, - "stabilityStatus": { - "target": "com.amazonaws.ecs#StabilityStatus", - "traits": { - "smithy.api#documentation": "

The stability status, which indicates whether the task set has reached a steady state.\n If the following conditions are met, the task set will be in\n STEADY_STATE:

\n \n

If any of those conditions are not met, the stability status returns\n STABILIZING.

" + "smithy.api#documentation": "

The platform version on which the tasks in the task set are running. A platform\n\t\t\tversion is only specified for tasks using the Fargate launch type. If one\n\t\t\tis not specified, the LATEST platform version is used by default. For more\n\t\t\tinformation, see AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

" } }, "computedDesiredCount": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The computed desired count for the task set. This is calculated by multiplying the\n service's desiredCount by the task set's scale percentage. The\n result is always rounded up. For example, if the computed desired count is 1.2, it\n rounds up to 2 tasks.

" + "smithy.api#documentation": "

The computed desired count for the task set. This is calculated by multiplying the\n\t\t\tservice's desiredCount by the task set's scale percentage. The\n\t\t\tresult is always rounded up. For example, if the computed desired count is 1.2, it\n\t\t\trounds up to 2 tasks.

" } }, "id": { @@ -7504,16 +7543,16 @@ "smithy.api#documentation": "

The ID of the task set.

" } }, - "createdAt": { - "target": "com.amazonaws.ecs#Timestamp", + "taskDefinition": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the task set was created.

" + "smithy.api#documentation": "

The task definition the task set is using.

" } }, - "taskSetArn": { - "target": "com.amazonaws.ecs#String", + "launchType": { + "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task set.

" + "smithy.api#documentation": "

The launch type the tasks in the task set are using. For more information, see Amazon ECS\n\t\t\t\tLaunch Types in the Amazon Elastic Container Service Developer Guide.

" } }, "updatedAt": { @@ -7522,52 +7561,58 @@ "smithy.api#documentation": "

The Unix timestamp for when the task set was last updated.

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

The status of the task set. The following describes each state:

\n
\n
PRIMARY
\n
\n

The task set is serving production traffic.

\n
\n
ACTIVE
\n
\n

The task set is not serving production traffic.

\n
\n
DRAINING
\n
\n

The tasks in the task set are being stopped and their corresponding\n targets are being deregistered from their target group.

\n
\n
" - } - }, "capacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { "smithy.api#documentation": "

The capacity provider strategy associated with the task set.

" } }, - "pendingCount": { - "target": "com.amazonaws.ecs#Integer", + "createdAt": { + "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

The number of tasks in the task set that are in the PENDING status during\n a deployment. A task in the PENDING state is preparing to enter the\n RUNNING state. A task set enters the PENDING status when\n it launches for the first time or when it is restarted after being in the\n STOPPED state.

" + "smithy.api#documentation": "

The Unix timestamp for when the task set was created.

" } }, - "runningCount": { + "pendingCount": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The number of tasks in the task set that are in the RUNNING status during\n a deployment. A task in the RUNNING state is running and ready for\n use.

" + "smithy.api#documentation": "

The number of tasks in the task set that are in the PENDING status during\n\t\t\ta deployment. A task in the PENDING state is preparing to enter the\n\t\t\t\tRUNNING state. A task set enters the PENDING status when\n\t\t\tit launches for the first time or when it is restarted after being in the\n\t\t\t\tSTOPPED state.

" } }, - "scale": { - "target": "com.amazonaws.ecs#Scale", + "tags": { + "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

A floating-point percentage of the desired number of tasks to place and keep running\n in the task set.

" + "smithy.api#documentation": "

The metadata that you apply to the task set to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

\n\t\t

The following basic restrictions apply to tags:

\n " } }, - "clusterArn": { + "status": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists\n in.

" + "smithy.api#documentation": "

The status of the task set. The following describes each state:

\n\t\t
\n
PRIMARY
\n
\n\t\t\t\t\t

The task set is serving production traffic.

\n\t\t\t\t
\n
ACTIVE
\n
\n\t\t\t\t\t

The task set is not serving production traffic.

\n\t\t\t\t
\n
DRAINING
\n
\n\t\t\t\t\t

The tasks in the task set are being stopped and their corresponding\n\t\t\t\t\t\ttargets are being deregistered from their target group.

\n\t\t\t\t
\n
" } }, - "platformVersion": { + "runningCount": { + "target": "com.amazonaws.ecs#Integer", + "traits": { + "smithy.api#documentation": "

The number of tasks in the task set that are in the RUNNING status during\n\t\t\ta deployment. A task in the RUNNING state is running and ready for\n\t\t\tuse.

" + } + }, + "taskSetArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The platform version on which the tasks in the task set are running. A platform\n version is only specified for tasks using the Fargate launch type. If one\n is not specified, the LATEST platform version is used by default. For more\n information, see AWS Fargate Platform\n Versions in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task set.

" } }, - "tags": { - "target": "com.amazonaws.ecs#Tags", + "scale": { + "target": "com.amazonaws.ecs#Scale", + "traits": { + "smithy.api#documentation": "

A floating-point percentage of the desired number of tasks to place and keep running\n\t\t\tin the task set.

" + } + }, + "stabilityStatus": { + "target": "com.amazonaws.ecs#StabilityStatus", "traits": { - "smithy.api#documentation": "

The metadata that you apply to the task set to help you categorize and organize them.\n Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

The stability status, which indicates whether the task set has reached a steady state.\n\t\t\tIf the following conditions are met, the task set will be in\n\t\t\tSTEADY_STATE:

\n\t\t \n\t\t

If any of those conditions are not met, the stability status returns\n\t\t\t\tSTABILIZING.

" } }, "stabilityStatusAt": { @@ -7576,10 +7621,10 @@ "smithy.api#documentation": "

The Unix timestamp for when the task set stability status was retrieved.

" } }, - "startedBy": { + "clusterArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy\n deployment, the startedBy parameter is CODE_DEPLOY. For a task\n set created for an external deployment, the startedBy field isn't used.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists\n\t\t\tin.

" } }, "networkConfiguration": { @@ -7587,10 +7632,16 @@ "traits": { "smithy.api#documentation": "

The network configuration for the task set.

" } + }, + "startedBy": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "

The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy\n\t\t\tdeployment, the startedBy parameter is CODE_DEPLOY. For a task\n\t\t\tset created for an external deployment, the startedBy field isn't used.

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

Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL\n deployment. An Amazon ECS task set includes details such as the desired number of tasks, how\n many tasks are running, and whether the task set serves production traffic.

" + "smithy.api#documentation": "

Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL\n\t\t\tdeployment. An Amazon ECS task set includes details such as the desired number of tasks, how\n\t\t\tmany tasks are running, and whether the task set serves production traffic.

" } }, "com.amazonaws.ecs#TaskSetField": { @@ -7618,7 +7669,7 @@ } }, "traits": { - "smithy.api#documentation": "

The specified task set could not be found. You can view your available task sets with\n DescribeTaskSets. Task sets are specific to each cluster, service\n and Region.

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

The specified task set could not be found. You can view your available task sets with\n\t\t\t\tDescribeTaskSets. Task sets are specific to each cluster, service\n\t\t\tand Region.

", "smithy.api#error": "client" } }, @@ -7659,10 +7710,16 @@ "com.amazonaws.ecs#Tmpfs": { "type": "structure", "members": { + "mountOptions": { + "target": "com.amazonaws.ecs#StringList", + "traits": { + "smithy.api#documentation": "

The list of tmpfs volume mount options.

\n\t\t

Valid values: \"defaults\" | \"ro\" | \"rw\" | \"suid\" | \"nosuid\" | \"dev\" | \"nodev\" |\n\t\t\t\t\"exec\" | \"noexec\" | \"sync\" | \"async\" | \"dirsync\" | \"remount\" | \"mand\" | \"nomand\" |\n\t\t\t\t\"atime\" | \"noatime\" | \"diratime\" | \"nodiratime\" | \"bind\" | \"rbind\" | \"unbindable\" |\n\t\t\t\t\"runbindable\" | \"private\" | \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" |\n\t\t\t\t\"relatime\" | \"norelatime\" | \"strictatime\" | \"nostrictatime\" | \"mode\" | \"uid\" | \"gid\"\n\t\t\t\t| \"nr_inodes\" | \"nr_blocks\" | \"mpol\"\n

" + } + }, "size": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The size (in MiB) of the tmpfs volume.

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

The maximum size (in MiB) of the tmpfs volume.

", "smithy.api#required": {} } }, @@ -7672,12 +7729,6 @@ "smithy.api#documentation": "

The absolute file path where the tmpfs volume is to be mounted.

", "smithy.api#required": {} } - }, - "mountOptions": { - "target": "com.amazonaws.ecs#StringList", - "traits": { - "smithy.api#documentation": "

The list of tmpfs volume mount options.

\n

Valid values: \"defaults\" | \"ro\" | \"rw\" | \"suid\" | \"nosuid\" | \"dev\" | \"nodev\" |\n \"exec\" | \"noexec\" | \"sync\" | \"async\" | \"dirsync\" | \"remount\" | \"mand\" | \"nomand\" |\n \"atime\" | \"noatime\" | \"diratime\" | \"nodiratime\" | \"bind\" | \"rbind\" | \"unbindable\" |\n \"runbindable\" | \"private\" | \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" |\n \"relatime\" | \"norelatime\" | \"strictatime\" | \"nostrictatime\" | \"mode\" | \"uid\" | \"gid\"\n | \"nr_inodes\" | \"nr_blocks\" | \"mpol\"\n

" - } } }, "traits": { @@ -7708,17 +7759,17 @@ "com.amazonaws.ecs#Ulimit": { "type": "structure", "members": { - "hardLimit": { - "target": "com.amazonaws.ecs#Integer", + "name": { + "target": "com.amazonaws.ecs#UlimitName", "traits": { - "smithy.api#documentation": "

The hard limit for the ulimit type.

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

The type of the ulimit.

", "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.ecs#UlimitName", + "hardLimit": { + "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

The type of the ulimit.

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

The hard limit for the ulimit type.

", "smithy.api#required": {} } }, @@ -7861,7 +7912,7 @@ "resourceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported\n resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and\n container instances.

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

The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported\n\t\t\tresources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and\n\t\t\tcontainer instances.

", "smithy.api#required": {} } } @@ -7910,7 +7961,7 @@ "settings": { "target": "com.amazonaws.ecs#ClusterSettings", "traits": { - "smithy.api#documentation": "

The setting to use by default for a cluster. This parameter is used to enable CloudWatch\n Container Insights for a cluster. If this value is specified, it will override the\n containerInsights value set with PutAccountSetting or\n PutAccountSettingDefault.

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

The setting to use by default for a cluster. This parameter is used to enable CloudWatch\n\t\t\tContainer Insights for a cluster. If this value is specified, it will override the\n\t\t\t\tcontainerInsights value set with PutAccountSetting or\n\t\t\t\tPutAccountSettingDefault.

", "smithy.api#required": {} } } @@ -7956,7 +8007,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the Amazon ECS container agent on a specified container instance. Updating the\n Amazon ECS container agent does not interrupt running tasks or services on the container\n instance. The process for updating the agent differs depending on whether your container\n instance was launched with the Amazon ECS-optimized AMI or another operating system.

\n

\n UpdateContainerAgent requires the Amazon ECS-optimized AMI or Amazon Linux with\n the ecs-init service installed and running. For help updating the Amazon ECS\n container agent on other operating systems, see Manually Updating the Amazon ECS Container Agent in the\n Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Updates the Amazon ECS container agent on a specified container instance. Updating the\n\t\t\tAmazon ECS container agent does not interrupt running tasks or services on the container\n\t\t\tinstance. The process for updating the agent differs depending on whether your container\n\t\t\tinstance was launched with the Amazon ECS-optimized AMI or another operating system.

\n\t\t

\n\t\t\t UpdateContainerAgent requires the Amazon ECS-optimized AMI or Amazon Linux with\n\t\t\tthe ecs-init service installed and running. For help updating the Amazon ECS\n\t\t\tcontainer agent on other operating systems, see Manually Updating the Amazon ECS Container Agent in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#UpdateContainerAgentRequest": { @@ -7965,14 +8016,14 @@ "containerInstance": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The container instance ID or full ARN entries for the container instance on which\n you would like to update the Amazon ECS container agent.

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

The container instance ID or full ARN entries for the container instance on which\n\t\t\tyou would like to update the Amazon ECS container agent.

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

The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is\n running on. If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is\n\t\t\trunning on. If you do not specify a cluster, the default cluster is assumed.

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

Modifies the status of an Amazon ECS container instance.

\n

Once a container instance has reached an ACTIVE state, you can change the\n status of a container instance to DRAINING to manually remove an instance\n from a cluster, for example to perform system updates, update the Docker daemon, or\n scale down the cluster size.

\n \n

A container instance cannot be changed to DRAINING until it has\n reached an ACTIVE status. If the instance is in any other status, an\n error will be received.

\n
\n

When you set a container instance to DRAINING, Amazon ECS prevents new tasks\n from being scheduled for placement on the container instance and replacement service\n tasks are started on other container instances in the cluster if the resources are\n available. Service tasks on the container instance that are in the PENDING\n state are stopped immediately.

\n

Service tasks on the container instance that are in the RUNNING state are\n stopped and replaced according to the service's deployment configuration parameters,\n minimumHealthyPercent and maximumPercent. You can change\n the deployment configuration of your service using UpdateService.

\n \n

Any PENDING or RUNNING tasks that do not belong to a service\n are not affected. You must wait for them to finish or stop them manually.

\n

A container instance has completed draining when it has no more RUNNING\n tasks. You can verify this using ListTasks.

\n

When a container instance has been drained, you can set a container instance to\n ACTIVE status and once it has reached that status the Amazon ECS scheduler\n can begin scheduling tasks on the instance again.

" + "smithy.api#documentation": "

Modifies the status of an Amazon ECS container instance.

\n\t\t

Once a container instance has reached an ACTIVE state, you can change the\n\t\t\tstatus of a container instance to DRAINING to manually remove an instance\n\t\t\tfrom a cluster, for example to perform system updates, update the Docker daemon, or\n\t\t\tscale down the cluster size.

\n\t\t \n\t\t\t

A container instance cannot be changed to DRAINING until it has\n\t\t\t\treached an ACTIVE status. If the instance is in any other status, an\n\t\t\t\terror will be received.

\n\t\t
\n\t\t

When you set a container instance to DRAINING, Amazon ECS prevents new tasks\n\t\t\tfrom being scheduled for placement on the container instance and replacement service\n\t\t\ttasks are started on other container instances in the cluster if the resources are\n\t\t\tavailable. Service tasks on the container instance that are in the PENDING\n\t\t\tstate are stopped immediately.

\n\t\t

Service tasks on the container instance that are in the RUNNING state are\n\t\t\tstopped and replaced according to the service's deployment configuration parameters,\n\t\t\t\tminimumHealthyPercent and maximumPercent. You can change\n\t\t\tthe deployment configuration of your service using UpdateService.

\n\t\t \n\t\t

Any PENDING or RUNNING tasks that do not belong to a service\n\t\t\tare not affected. You must wait for them to finish or stop them manually.

\n\t\t

A container instance has completed draining when it has no more RUNNING\n\t\t\ttasks. You can verify this using ListTasks.

\n\t\t

When a container instance has been drained, you can set a container instance to\n\t\t\t\tACTIVE status and once it has reached that status the Amazon ECS scheduler\n\t\t\tcan begin scheduling tasks on the instance again.

" } }, "com.amazonaws.ecs#UpdateContainerInstancesStateRequest": { @@ -8020,20 +8071,20 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to\n update. If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to\n\t\t\tupdate. If you do not specify a cluster, the default cluster is assumed.

" } }, - "containerInstances": { - "target": "com.amazonaws.ecs#StringList", + "status": { + "target": "com.amazonaws.ecs#ContainerInstanceStatus", "traits": { - "smithy.api#documentation": "

A list of container instance IDs or full ARN entries.

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

The container instance state with which to update the container instance. The only\n\t\t\tvalid values for this action are ACTIVE and DRAINING. A\n\t\t\tcontainer instance can only be updated to DRAINING status once it has\n\t\t\treached an ACTIVE state. If a container instance is in\n\t\t\t\tREGISTERING, DEREGISTERING, or\n\t\t\t\tREGISTRATION_FAILED state you can describe the container instance but\n\t\t\twill be unable to update the container instance state.

", "smithy.api#required": {} } }, - "status": { - "target": "com.amazonaws.ecs#ContainerInstanceStatus", + "containerInstances": { + "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

The container instance state with which to update the container instance. The only\n valid values for this action are ACTIVE and DRAINING. A\n container instance can only be updated to DRAINING status once it has\n reached an ACTIVE state. If a container instance is in\n REGISTERING, DEREGISTERING, or\n REGISTRATION_FAILED state you can describe the container instance but\n will be unable to update the container instance state.

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

A list of container instance IDs or full ARN entries.

", "smithy.api#required": {} } } @@ -8064,7 +8115,7 @@ } }, "traits": { - "smithy.api#documentation": "

There is already a current Amazon ECS container agent update in progress on the specified\n container instance. If the container agent becomes disconnected while it is in a\n transitional stage, such as PENDING or STAGING, the update\n process can get stuck in that state. However, when the agent reconnects, it resumes\n where it stopped previously.

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

There is already a current Amazon ECS container agent update in progress on the specified\n\t\t\tcontainer instance. If the container agent becomes disconnected while it is in a\n\t\t\ttransitional stage, such as PENDING or STAGING, the update\n\t\t\tprocess can get stuck in that state. However, when the agent reconnects, it resumes\n\t\t\twhere it stopped previously.

", "smithy.api#error": "client" } }, @@ -8106,7 +8157,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

Updating the task placement strategies and constraints on an Amazon ECS service remains\n in preview and is a Beta Service as defined by and subject to the Beta Service\n Participation Service Terms located at https://aws.amazon.com/service-terms (\"Beta Terms\"). These Beta Terms\n apply to your participation in this preview.

\n
\n

Modifies the parameters of a service.

\n

For services using the rolling update (ECS) deployment controller, the\n desired count, deployment configuration, network configuration, task placement\n constraints and strategies, or task definition used can be updated.

\n

For services using the blue/green (CODE_DEPLOY) deployment controller,\n only the desired count, deployment configuration, task placement constraints and\n strategies, and health check grace period can be updated using this API. If the network\n configuration, platform version, or task definition need to be updated, a new AWS CodeDeploy\n deployment should be created. For more information, see CreateDeployment in the AWS CodeDeploy API Reference.

\n

For services using an external deployment controller, you can update only the desired\n count, task placement constraints and strategies, and health check grace period using\n this API. If the launch type, load balancer, network configuration, platform version, or\n task definition need to be updated, you should create a new task set. For more\n information, see CreateTaskSet.

\n

You can add to or subtract from the number of instantiations of a task definition in a\n service by specifying the cluster that the service is running in and a new\n desiredCount parameter.

\n

If you have updated the Docker image of your application, you can create a new task\n definition with that image and deploy it to your service. The service scheduler uses the\n minimum healthy percent and maximum percent parameters (in the service's deployment\n configuration) to determine the deployment strategy.

\n \n

If your updated Docker image uses the same tag as what is in the existing task\n definition for your service (for example, my_image:latest), you do not\n need to create a new revision of your task definition. You can update the service\n using the forceNewDeployment option. The new tasks launched by the\n deployment pull the current image/tag combination from your repository when they\n start.

\n
\n

You can also update the deployment configuration of a service. When a deployment is\n triggered by updating the task definition of a service, the service scheduler uses the\n deployment configuration parameters, minimumHealthyPercent and\n maximumPercent, to determine the deployment strategy.

\n \n

When UpdateService stops a task during a deployment, the equivalent\n of docker stop is issued to the containers running in the task. This\n results in a SIGTERM and a 30-second timeout, after which\n SIGKILL is sent and the containers are forcibly stopped. If the\n container handles the SIGTERM gracefully and exits within 30 seconds from\n receiving it, no SIGKILL is sent.

\n

When the service scheduler launches new tasks, it determines task placement in your\n cluster with the following logic:

\n \n

When the service scheduler stops running tasks, it attempts to maintain balance across\n the Availability Zones in your cluster using the following logic:

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

Updating the task placement strategies and constraints on an Amazon ECS service remains\n\t\t\t\tin preview and is a Beta Service as defined by and subject to the Beta Service\n\t\t\t\tParticipation Service Terms located at https://aws.amazon.com/service-terms (\"Beta Terms\"). These Beta Terms\n\t\t\t\tapply to your participation in this preview.

\n\t\t
\n\t\t

Modifies the parameters of a service.

\n\t\t

For services using the rolling update (ECS) deployment controller, the\n\t\t\tdesired count, deployment configuration, network configuration, task placement\n\t\t\tconstraints and strategies, or task definition used can be updated.

\n\t\t

For services using the blue/green (CODE_DEPLOY) deployment controller,\n\t\t\tonly the desired count, deployment configuration, task placement constraints and\n\t\t\tstrategies, and health check grace period can be updated using this API. If the network\n\t\t\tconfiguration, platform version, or task definition need to be updated, a new AWS CodeDeploy\n\t\t\tdeployment should be created. For more information, see CreateDeployment in the AWS CodeDeploy API Reference.

\n\t\t

For services using an external deployment controller, you can update only the desired\n\t\t\tcount, task placement constraints and strategies, and health check grace period using\n\t\t\tthis API. If the launch type, load balancer, network configuration, platform version, or\n\t\t\ttask definition need to be updated, you should create a new task set. For more\n\t\t\tinformation, see CreateTaskSet.

\n\t\t

You can add to or subtract from the number of instantiations of a task definition in a\n\t\t\tservice by specifying the cluster that the service is running in and a new\n\t\t\t\tdesiredCount parameter.

\n\t\t

If you have updated the Docker image of your application, you can create a new task\n\t\t\tdefinition with that image and deploy it to your service. The service scheduler uses the\n\t\t\tminimum healthy percent and maximum percent parameters (in the service's deployment\n\t\t\tconfiguration) to determine the deployment strategy.

\n\t\t \n\t\t\t

If your updated Docker image uses the same tag as what is in the existing task\n\t\t\t\tdefinition for your service (for example, my_image:latest), you do not\n\t\t\t\tneed to create a new revision of your task definition. You can update the service\n\t\t\t\tusing the forceNewDeployment option. The new tasks launched by the\n\t\t\t\tdeployment pull the current image/tag combination from your repository when they\n\t\t\t\tstart.

\n\t\t
\n\t\t

You can also update the deployment configuration of a service. When a deployment is\n\t\t\ttriggered by updating the task definition of a service, the service scheduler uses the\n\t\t\tdeployment configuration parameters, minimumHealthyPercent and\n\t\t\t\tmaximumPercent, to determine the deployment strategy.

\n\t\t \n\t\t

When UpdateService stops a task during a deployment, the equivalent\n\t\t\tof docker stop is issued to the containers running in the task. This\n\t\t\tresults in a SIGTERM and a 30-second timeout, after which\n\t\t\t\tSIGKILL is sent and the containers are forcibly stopped. If the\n\t\t\tcontainer handles the SIGTERM gracefully and exits within 30 seconds from\n\t\t\treceiving it, no SIGKILL is sent.

\n\t\t

When the service scheduler launches new tasks, it determines task placement in your\n\t\t\tcluster with the following logic:

\n\t\t \n\t\t

When the service scheduler stops running tasks, it attempts to maintain balance across\n\t\t\tthe Availability Zones in your cluster using the following logic:

\n\t\t " } }, "com.amazonaws.ecs#UpdateServicePrimaryTaskSet": { @@ -8147,7 +8198,7 @@ } ], "traits": { - "smithy.api#documentation": "

Modifies which task set in a service is the primary task set. Any parameters that are\n updated on the primary task set in a service will transition to the service. This is\n used when a service uses the EXTERNAL deployment controller type. For more\n information, see Amazon ECS Deployment\n Types in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Modifies which task set in a service is the primary task set. Any parameters that are\n\t\t\tupdated on the primary task set in a service will transition to the service. This is\n\t\t\tused when a service uses the EXTERNAL deployment controller type. For more\n\t\t\tinformation, see Amazon ECS Deployment\n\t\t\t\tTypes in the Amazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#UpdateServicePrimaryTaskSetRequest": { @@ -8160,17 +8211,17 @@ "smithy.api#required": {} } }, - "primaryTaskSet": { + "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the\n deployment.

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

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n\t\t\tset exists in.

", "smithy.api#required": {} } }, - "cluster": { + "primaryTaskSet": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n set exists in.

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

The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the\n\t\t\tdeployment.

", "smithy.api#required": {} } } @@ -8187,37 +8238,31 @@ "com.amazonaws.ecs#UpdateServiceRequest": { "type": "structure", "members": { - "deploymentConfiguration": { - "target": "com.amazonaws.ecs#DeploymentConfiguration", + "capacityProviderStrategy": { + "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

Optional deployment parameters that control how many tasks run during the deployment\n and the ordering of stopping and starting tasks.

" + "smithy.api#documentation": "

The capacity provider strategy to update the service to use.

\n\t\t

If the service is using the default capacity provider strategy for the cluster, the\n\t\t\tservice can be updated to use one or more capacity providers as opposed to the default\n\t\t\tcapacity provider strategy. However, when a service is using a capacity provider\n\t\t\tstrategy that is not the default capacity provider strategy, the service cannot be\n\t\t\tupdated to use the cluster's default capacity provider strategy.

\n\t\t

A capacity provider strategy consists of one or more capacity providers along with the\n\t\t\t\tbase and weight to assign to them. A capacity provider\n\t\t\tmust be associated with the cluster to be used in a capacity provider strategy. The\n\t\t\t\tPutClusterCapacityProviders API is used to associate a capacity\n\t\t\tprovider with a cluster. Only capacity providers with an ACTIVE or\n\t\t\t\tUPDATING status can be used.

\n\t\t

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n\t\t

To use a AWS Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

\n\t\t

The PutClusterCapacityProviders API operation is used to update the\n\t\t\tlist of available capacity providers for a cluster after the cluster is created.

\n\t\t

" } }, + "networkConfiguration": { + "target": "com.amazonaws.ecs#NetworkConfiguration" + }, "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on.\n If you do not specify a cluster, the default cluster is assumed.

" + "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

" } }, - "platformVersion": { - "target": "com.amazonaws.ecs#String", + "placementStrategy": { + "target": "com.amazonaws.ecs#PlacementStrategies", "traits": { - "smithy.api#documentation": "

The platform version on which your tasks in the service are running. A platform\n version is only specified for tasks using the Fargate launch type. If a\n platform version is not specified, the LATEST platform version is used by\n default. For more information, see AWS Fargate Platform\n Versions in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The task placement strategy objects to update the service to use. If no value is\n\t\t\tspecified, the existing placement strategy for the service will remain unchanged. If\n\t\t\tthis value is specified, it will override the existing placement strategy defined for\n\t\t\tthe service. To remove an existing placement strategy, specify an empty object.

\n\t\t

You can specify a maximum of five strategy rules per service.

" } }, - "networkConfiguration": { - "target": "com.amazonaws.ecs#NetworkConfiguration" - }, "desiredCount": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The number of instantiations of the task to place and keep running in your\n service.

" - } - }, - "placementStrategy": { - "target": "com.amazonaws.ecs#PlacementStrategies", - "traits": { - "smithy.api#documentation": "

The task placement strategy objects to update the service to use. If no value is\n specified, the existing placement strategy for the service will remain unchanged. If\n this value is specified, it will override the existing placement strategy defined for\n the service. To remove an existing placement strategy, specify an empty object.

\n

You can specify a maximum of five strategy rules per service.

" + "smithy.api#documentation": "

The number of instantiations of the task to place and keep running in your\n\t\t\tservice.

" } }, "service": { @@ -8227,34 +8272,40 @@ "smithy.api#required": {} } }, - "forceNewDeployment": { - "target": "com.amazonaws.ecs#Boolean", + "healthCheckGracePeriodSeconds": { + "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

Whether to force a new deployment of the service. Deployments are not forced by\n default. You can use this option to trigger a new deployment with no service definition\n changes. For example, you can update a service's tasks to use a newer Docker image with\n the same image/tag combination (my_image:latest) or to roll Fargate tasks\n onto a newer platform version.

" + "smithy.api#documentation": "

The period of time, in seconds, that the Amazon ECS service scheduler should ignore\n\t\t\tunhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid\n\t\t\tif your service is configured to use a load balancer. If your service's tasks take a\n\t\t\twhile to start and respond to Elastic Load Balancing health checks, you can specify a health check grace\n\t\t\tperiod of up to 2,147,483,647 seconds. During that time, the Amazon ECS service\n\t\t\tscheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS\n\t\t\tservice scheduler from marking tasks as unhealthy and stopping them before they have\n\t\t\ttime to come up.

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

The family and revision (family:revision) or\n full ARN of the task definition to run in your service. If a revision is\n not specified, the latest ACTIVE revision is used. If you modify the task\n definition with UpdateService, Amazon ECS spawns a task with the new version of\n the task definition and then stops an old task after the new version is running.

" + "smithy.api#documentation": "

The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to run in your service. If a revision is\n\t\t\tnot specified, the latest ACTIVE revision is used. If you modify the task\n\t\t\tdefinition with UpdateService, Amazon ECS spawns a task with the new version of\n\t\t\tthe task definition and then stops an old task after the new version is running.

" } }, - "healthCheckGracePeriodSeconds": { - "target": "com.amazonaws.ecs#BoxedInteger", + "platformVersion": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The period of time, in seconds, that the Amazon ECS service scheduler should ignore\n unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid\n if your service is configured to use a load balancer. If your service's tasks take a\n while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace\n period of up to 2,147,483,647 seconds. During that time, the Amazon ECS service\n scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS\n service scheduler from marking tasks as unhealthy and stopping them before they have\n time to come up.

" + "smithy.api#documentation": "

The platform version on which your tasks in the service are running. A platform\n\t\t\tversion is only specified for tasks using the Fargate launch type. If a\n\t\t\tplatform version is not specified, the LATEST platform version is used by\n\t\t\tdefault. For more information, see AWS Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

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

Whether to force a new deployment of the service. Deployments are not forced by\n\t\t\tdefault. You can use this option to trigger a new deployment with no service definition\n\t\t\tchanges. For example, you can update a service's tasks to use a newer Docker image with\n\t\t\tthe same image/tag combination (my_image:latest) or to roll Fargate tasks\n\t\t\tonto a newer platform version.

" } }, "placementConstraints": { "target": "com.amazonaws.ecs#PlacementConstraints", "traits": { - "smithy.api#documentation": "

An array of task placement constraint objects to update the service to use. If no\n value is specified, the existing placement constraints for the service will remain\n unchanged. If this value is specified, it will override any existing placement\n constraints defined for the service. To remove all existing placement constraints,\n specify an empty array.

\n

You can specify a maximum of 10 constraints per task (this limit includes constraints\n in the task definition and those specified at runtime).

" + "smithy.api#documentation": "

An array of task placement constraint objects to update the service to use. If no\n\t\t\tvalue is specified, the existing placement constraints for the service will remain\n\t\t\tunchanged. If this value is specified, it will override any existing placement\n\t\t\tconstraints defined for the service. To remove all existing placement constraints,\n\t\t\tspecify an empty array.

\n\t\t

You can specify a maximum of 10 constraints per task (this limit includes constraints\n\t\t\tin the task definition and those specified at runtime).

" } }, - "capacityProviderStrategy": { - "target": "com.amazonaws.ecs#CapacityProviderStrategy", + "deploymentConfiguration": { + "target": "com.amazonaws.ecs#DeploymentConfiguration", "traits": { - "smithy.api#documentation": "

The capacity provider strategy to update the service to use.

\n

If the service is using the default capacity provider strategy for the cluster, the\n service can be updated to use one or more capacity providers as opposed to the default\n capacity provider strategy. However, when a service is using a capacity provider\n strategy that is not the default capacity provider strategy, the service cannot be\n updated to use the cluster's default capacity provider strategy.

\n

A capacity provider strategy consists of one or more capacity providers along with the\n base and weight to assign to them. A capacity provider\n must be associated with the cluster to be used in a capacity provider strategy. The\n PutClusterCapacityProviders API is used to associate a capacity\n provider with a cluster. Only capacity providers with an ACTIVE or\n UPDATING status can be used.

\n

If specifying a capacity provider that uses an Auto Scaling group, the capacity\n provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

\n

To use a AWS Fargate capacity provider, specify either the FARGATE or\n FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are\n available to all accounts and only need to be associated with a cluster to be\n used.

\n

The PutClusterCapacityProviders API operation is used to update the\n list of available capacity providers for a cluster after the cluster is created.

\n

" + "smithy.api#documentation": "

Optional deployment parameters that control how many tasks run during the deployment\n\t\t\tand the ordering of stopping and starting tasks.

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

Modifies a task set. This is used when a service uses the EXTERNAL\n deployment controller type. For more information, see Amazon ECS Deployment\n Types in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

Modifies a task set. This is used when a service uses the EXTERNAL\n\t\t\tdeployment controller type. For more information, see Amazon ECS Deployment\n\t\t\t\tTypes in the Amazon Elastic Container Service Developer Guide.

" } }, "com.amazonaws.ecs#UpdateTaskSetRequest": { @@ -8320,24 +8371,24 @@ "smithy.api#required": {} } }, - "service": { + "taskSet": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

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

The short name or full Amazon Resource Name (ARN) of the task set to update.

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

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n set exists in.

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

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n\t\t\tset exists in.

", "smithy.api#required": {} } }, - "taskSet": { + "service": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the task set to update.

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

The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

", "smithy.api#required": {} } } @@ -8363,7 +8414,7 @@ "agentHash": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent\n GitHub repository.

" + "smithy.api#documentation": "

The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent\n\t\t\t GitHub repository.

" } }, "dockerVersion": { @@ -8374,54 +8425,60 @@ } }, "traits": { - "smithy.api#documentation": "

The Docker and Amazon ECS container agent version information about a container\n instance.

" + "smithy.api#documentation": "

The Docker and Amazon ECS container agent version information about a container\n\t\t\tinstance.

" } }, "com.amazonaws.ecs#Volume": { "type": "structure", "members": { - "efsVolumeConfiguration": { - "target": "com.amazonaws.ecs#EFSVolumeConfiguration", + "host": { + "target": "com.amazonaws.ecs#HostVolumeProperties", + "traits": { + "smithy.api#documentation": "

This parameter is specified when you are using bind mount host volumes. The contents\n\t\t\tof the host parameter determine whether your bind mount host volume\n\t\t\tpersists on the host container instance and where it is stored. If the host\n\t\t\tparameter is empty, then the Docker daemon assigns a host path for your data volume.\n\t\t\tHowever, the data is not guaranteed to persist after the containers associated with it\n\t\t\tstop running.

\n\t\t

Windows containers can mount whole directories on the same drive as\n\t\t\t\t$env:ProgramData. Windows containers cannot mount directories on a\n\t\t\tdifferent drive, and mount point cannot be across drives. For example, you can mount\n\t\t\t\tC:\\my\\path:C:\\my\\path and D:\\:D:\\, but not\n\t\t\t\tD:\\my\\path:C:\\my\\path or D:\\:C:\\my\\path.

" + } + }, + "name": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

This parameter is specified when you are using an Amazon Elastic File System file system for task\n storage.

" + "smithy.api#documentation": "

The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. This name is referenced in the\n\t\t\t\tsourceVolume parameter of container definition\n\t\t\tmountPoints.

" } }, "dockerVolumeConfiguration": { "target": "com.amazonaws.ecs#DockerVolumeConfiguration", "traits": { - "smithy.api#documentation": "

This parameter is specified when you are using Docker volumes. Docker volumes are only\n supported when you are using the EC2 launch type. Windows containers only\n support the use of the local driver. To use bind mounts, specify the\n host parameter instead.

" + "smithy.api#documentation": "

This parameter is specified when you are using Docker volumes. Docker volumes are only\n\t\t\tsupported when you are using the EC2 launch type. Windows containers only\n\t\t\tsupport the use of the local driver. To use bind mounts, specify the\n\t\t\t\thost parameter instead.

" } }, - "host": { - "target": "com.amazonaws.ecs#HostVolumeProperties", + "efsVolumeConfiguration": { + "target": "com.amazonaws.ecs#EFSVolumeConfiguration", "traits": { - "smithy.api#documentation": "

This parameter is specified when you are using bind mount host volumes. The contents\n of the host parameter determine whether your bind mount host volume\n persists on the host container instance and where it is stored. If the host\n parameter is empty, then the Docker daemon assigns a host path for your data volume.\n However, the data is not guaranteed to persist after the containers associated with it\n stop running.

\n

Windows containers can mount whole directories on the same drive as\n $env:ProgramData. Windows containers cannot mount directories on a\n different drive, and mount point cannot be across drives. For example, you can mount\n C:\\my\\path:C:\\my\\path and D:\\:D:\\, but not\n D:\\my\\path:C:\\my\\path or D:\\:C:\\my\\path.

" + "smithy.api#documentation": "

This parameter is specified when you are using an Amazon Elastic File System file system for task\n\t\t\tstorage.

" } }, - "name": { - "target": "com.amazonaws.ecs#String", + "fsxWindowsFileServerVolumeConfiguration": { + "target": "com.amazonaws.ecs#FSxWindowsFileServerVolumeConfiguration", "traits": { - "smithy.api#documentation": "

The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. This name is referenced in the\n sourceVolume parameter of container definition\n mountPoints.

" + "smithy.api#documentation": "

This parameter is specified when you are using Amazon FSx for Windows File Server file system for task\n\t\t\tstorage.

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

A data volume used in a task definition. For tasks that use Amazon Elastic File System\n (Amazon EFS) file storage, specify an efsVolumeConfiguration. For tasks\n that use a Docker volume, specify a DockerVolumeConfiguration. For tasks\n that use a bind mount host volume, specify a host and optional\n sourcePath. For more information, see Using Data Volumes in\n Tasks.

" + "smithy.api#documentation": "

A data volume used in a task definition. For tasks that use the Amazon Elastic File\n\t\t\tSystem (Amazon EFS), specify an efsVolumeConfiguration. For Windows tasks\n\t\t\tthat use Amazon FSx for Windows File Server file system, specify a\n\t\t\t\tfsxWindowsFileServerVolumeConfiguration. For tasks that use a Docker\n\t\t\tvolume, specify a DockerVolumeConfiguration. For tasks that use a bind\n\t\t\tmount host volume, specify a host and optional sourcePath. For\n\t\t\tmore information, see Using Data Volumes in\n\t\t\t\tTasks.

" } }, "com.amazonaws.ecs#VolumeFrom": { "type": "structure", "members": { - "sourceContainer": { - "target": "com.amazonaws.ecs#String", + "readOnly": { + "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

The name of another container within the same task definition from which to mount\n volumes.

" + "smithy.api#documentation": "

If this value is true, the container has read-only access to the volume.\n\t\t\tIf this value is false, then the container can write to the volume. The\n\t\t\tdefault value is false.

" } }, - "readOnly": { - "target": "com.amazonaws.ecs#BoxedBoolean", + "sourceContainer": { + "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

If this value is true, the container has read-only access to the volume.\n If this value is false, then the container can write to the volume. The\n default value is false.

" + "smithy.api#documentation": "

The name of another container within the same task definition from which to mount\n\t\t\tvolumes.

" } } }, diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json index 93ad171e5148..1e20f2b1525c 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json @@ -52,22 +52,22 @@ "smithy.api#required": {} } }, - "AuthenticateCognitoConfig": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionConfig", + "TargetGroupArn": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { - "smithy.api#documentation": "

[HTTPS listeners] Information for using Amazon Cognito to authenticate users. \n Specify only when Type is authenticate-cognito.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group. \n Specify only when Type is forward and you want to route to a single target group.\n To route to one or more target groups, use ForwardConfig instead.

" } }, - "RedirectConfig": { - "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionConfig", + "AuthenticateOidcConfig": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionConfig", "traits": { - "smithy.api#documentation": "

[Application Load Balancer] Information for creating a redirect action. \n Specify only when Type is redirect.

" + "smithy.api#documentation": "

[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). \n Specify only when Type is authenticate-oidc.

" } }, - "TargetGroupArn": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", + "AuthenticateCognitoConfig": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionConfig", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group. \n Specify only when Type is forward and you want to route to a single target group.\n To route to one or more target groups, use ForwardConfig instead.

" + "smithy.api#documentation": "

[HTTPS listeners] Information for using Amazon Cognito to authenticate users. \n Specify only when Type is authenticate-cognito.

" } }, "Order": { @@ -76,16 +76,16 @@ "smithy.api#documentation": "

The order for the action. This value is required for rules with multiple actions. \n The action with the lowest value for order is performed first.

" } }, - "FixedResponseConfig": { - "target": "com.amazonaws.elasticloadbalancingv2#FixedResponseActionConfig", + "RedirectConfig": { + "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionConfig", "traits": { - "smithy.api#documentation": "

[Application Load Balancer] Information for creating an action that returns a custom HTTP response. \n Specify only when Type is fixed-response.

" + "smithy.api#documentation": "

[Application Load Balancer] Information for creating a redirect action. \n Specify only when Type is redirect.

" } }, - "AuthenticateOidcConfig": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionConfig", + "FixedResponseConfig": { + "target": "com.amazonaws.elasticloadbalancingv2#FixedResponseActionConfig", "traits": { - "smithy.api#documentation": "

[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). \n Specify only when Type is authenticate-oidc.

" + "smithy.api#documentation": "

[Application Load Balancer] Information for creating an action that returns a custom HTTP response. \n Specify only when Type is fixed-response.

" } }, "ForwardConfig": { @@ -162,23 +162,23 @@ } ], "traits": { - "smithy.api#documentation": "

Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener.

\n

If the certificate in already in the certificate list, the call is successful but the certificate \n is not added again.

\n

To get the certificate list for a listener, use DescribeListenerCertificates. \n To remove certificates from the certificate list for a listener, use RemoveListenerCertificates.\n To replace the default certificate for a listener, use ModifyListener.

\n

For more information, see SSL Certificates\n in the Application Load Balancers Guide.

" + "smithy.api#documentation": "

Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener.

\n

If the certificate in already in the certificate list, the call is successful but the certificate \n is not added again.

\n \n

For more information, see HTTPS listeners in the Application Load Balancers Guide or TLS listeners in the\n Network Load Balancers Guide.

" } }, "com.amazonaws.elasticloadbalancingv2#AddListenerCertificatesInput": { "type": "structure", "members": { - "Certificates": { - "target": "com.amazonaws.elasticloadbalancingv2#CertificateList", + "ListenerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { - "smithy.api#documentation": "

The certificate to add. You can specify one certificate per call.\n Set CertificateArn to the certificate ARN but do not set IsDefault.

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

The Amazon Resource Name (ARN) of the listener.

", "smithy.api#required": {} } }, - "ListenerArn": { - "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", + "Certificates": { + "target": "com.amazonaws.elasticloadbalancingv2#CertificateList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

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

The certificate to add. You can specify one certificate per call.\n Set CertificateArn to the certificate ARN but do not set IsDefault.

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

Adds the specified tags to the specified Elastic Load Balancing resource. You can tag\n your Application Load Balancers, Network Load Balancers, target groups, listeners, and\n rules.

\n

Each tag consists of a key and an optional value. If a resource already has a tag with\n the same key, AddTags updates its value.

\n

To list the current tags for your resources, use DescribeTags. To\n remove tags from your resources, use RemoveTags.

" + "smithy.api#documentation": "

Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your\n Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups,\n listeners, and rules.

\n

Each tag consists of a key and an optional value. If a resource already has a tag with\n the same key, AddTags updates its value.

" } }, "com.amazonaws.elasticloadbalancingv2#AddTagsInput": { @@ -306,16 +306,18 @@ "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionConfig": { "type": "structure", "members": { - "SessionCookieName": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionSessionCookieName", + "UserPoolArn": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionUserPoolArn", "traits": { - "smithy.api#documentation": "

The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

", + "smithy.api#required": {} } }, - "Scope": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionScope", + "UserPoolClientId": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionUserPoolClientId", "traits": { - "smithy.api#documentation": "

The set of user claims to be requested from the IdP. The default is openid.

\n

To verify which scope values your IdP supports and how to separate multiple values,\n see the documentation for your IdP.

" + "smithy.api#documentation": "

The ID of the Amazon Cognito user pool client.

", + "smithy.api#required": {} } }, "UserPoolDomain": { @@ -325,17 +327,16 @@ "smithy.api#required": {} } }, - "UserPoolArn": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionUserPoolArn", + "SessionCookieName": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionSessionCookieName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

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

The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

" } }, - "AuthenticationRequestExtraParams": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionAuthenticationRequestExtraParams", + "Scope": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionScope", "traits": { - "smithy.api#documentation": "

The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

" + "smithy.api#documentation": "

The set of user claims to be requested from the IdP. The default is openid.

\n

To verify which scope values your IdP supports and how to separate multiple values,\n see the documentation for your IdP.

" } }, "SessionTimeout": { @@ -344,17 +345,16 @@ "smithy.api#documentation": "

The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).

" } }, - "OnUnauthenticatedRequest": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionConditionalBehaviorEnum", + "AuthenticationRequestExtraParams": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionAuthenticationRequestExtraParams", "traits": { - "smithy.api#documentation": "

The behavior if the user is not authenticated. The following are possible values:

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

The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

" } }, - "UserPoolClientId": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionUserPoolClientId", + "OnUnauthenticatedRequest": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionConditionalBehaviorEnum", "traits": { - "smithy.api#documentation": "

The ID of the Amazon Cognito user pool client.

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

The behavior if the user is not authenticated. The following are possible values:

\n " } } }, @@ -429,6 +429,13 @@ "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionConfig": { "type": "structure", "members": { + "Issuer": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionIssuer", + "traits": { + "smithy.api#documentation": "

The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

", + "smithy.api#required": {} + } + }, "AuthorizationEndpoint": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionAuthorizationEndpoint", "traits": { @@ -436,6 +443,13 @@ "smithy.api#required": {} } }, + "TokenEndpoint": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionTokenEndpoint", + "traits": { + "smithy.api#documentation": "

The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

", + "smithy.api#required": {} + } + }, "UserInfoEndpoint": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionUserInfoEndpoint", "traits": { @@ -456,24 +470,10 @@ "smithy.api#documentation": "

The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule,\n you can omit this parameter if you set UseExistingClientSecret to true.

" } }, - "UseExistingClientSecret": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionUseExistingClientSecret", - "traits": { - "smithy.api#documentation": "

Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule,\n you can omit this parameter or set it to false.

" - } - }, - "TokenEndpoint": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionTokenEndpoint", - "traits": { - "smithy.api#documentation": "

The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

", - "smithy.api#required": {} - } - }, - "Issuer": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionIssuer", + "SessionCookieName": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionSessionCookieName", "traits": { - "smithy.api#documentation": "

The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

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

The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

" } }, "Scope": { @@ -488,22 +488,22 @@ "smithy.api#documentation": "

The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).

" } }, - "OnUnauthenticatedRequest": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionConditionalBehaviorEnum", - "traits": { - "smithy.api#documentation": "

The behavior if the user is not authenticated. The following are possible values:

\n " - } - }, "AuthenticationRequestExtraParams": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionAuthenticationRequestExtraParams", "traits": { "smithy.api#documentation": "

The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

" } }, - "SessionCookieName": { - "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionSessionCookieName", + "OnUnauthenticatedRequest": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionConditionalBehaviorEnum", "traits": { - "smithy.api#documentation": "

The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

" + "smithy.api#documentation": "

The behavior if the user is not authenticated. The following are possible values:

\n " + } + }, + "UseExistingClientSecret": { + "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionUseExistingClientSecret", + "traits": { + "smithy.api#documentation": "

Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule,\n you can omit this parameter or set it to false.

" } } }, @@ -541,22 +541,16 @@ "com.amazonaws.elasticloadbalancingv2#AvailabilityZone": { "type": "structure", "members": { - "SubnetId": { - "target": "com.amazonaws.elasticloadbalancingv2#SubnetId", - "traits": { - "smithy.api#documentation": "

The ID of the subnet. You can specify one subnet per Availability Zone.

" - } - }, "ZoneName": { "target": "com.amazonaws.elasticloadbalancingv2#ZoneName", "traits": { "smithy.api#documentation": "

The name of the Availability Zone.

" } }, - "LoadBalancerAddresses": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerAddresses", + "SubnetId": { + "target": "com.amazonaws.elasticloadbalancingv2#SubnetId", "traits": { - "smithy.api#documentation": "

[Network Load Balancers] If you need static IP addresses for your load balancer, \n you can specify one Elastic IP address per Availability Zone when you create an \n internal-facing load balancer. For internal load balancers, you can specify a private \n IP address from the IPv4 range of the subnet.

" + "smithy.api#documentation": "

The ID of the subnet. You can specify one subnet per Availability Zone.

" } }, "OutpostId": { @@ -564,6 +558,12 @@ "traits": { "smithy.api#documentation": "

[Application Load Balancers on Outposts] The ID of the Outpost.

" } + }, + "LoadBalancerAddresses": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerAddresses", + "traits": { + "smithy.api#documentation": "

[Network Load Balancers] If you need static IP addresses for your load balancer, \n you can specify one Elastic IP address per Availability Zone when you create an \n internal-facing load balancer. For internal load balancers, you can specify a private \n IP address from the IPv4 range of the subnet.

" + } } }, "traits": { @@ -637,17 +637,17 @@ "com.amazonaws.elasticloadbalancingv2#Cipher": { "type": "structure", "members": { - "Priority": { - "target": "com.amazonaws.elasticloadbalancingv2#CipherPriority", - "traits": { - "smithy.api#documentation": "

The priority of the cipher.

" - } - }, "Name": { "target": "com.amazonaws.elasticloadbalancingv2#CipherName", "traits": { "smithy.api#documentation": "

The name of the cipher.

" } + }, + "Priority": { + "target": "com.amazonaws.elasticloadbalancingv2#CipherPriority", + "traits": { + "smithy.api#documentation": "

The priority of the cipher.

" + } } }, "traits": { @@ -740,19 +740,12 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a listener for the specified Application Load Balancer or Network Load\n Balancer.

\n

To update a listener, use ModifyListener. When you are finished with\n a listener, you can delete it using DeleteListener. If you are finished with\n both the listener and the load balancer, you can delete them both using DeleteLoadBalancer.

\n

This operation is idempotent, which means that it completes at most one time. If you\n attempt to create multiple listeners with the same settings, each call succeeds.

\n

For more information, see Listeners for\n Your Application Load Balancers in the Application Load Balancers\n Guide and Listeners for Your\n Network Load Balancers in the Network Load Balancers\n Guide.

" + "smithy.api#documentation": "

Creates a listener for the specified Application Load Balancer, Network Load Balancer. or\n Gateway Load Balancer.

\n \n\n

For more information, see the following:

\n \n\n

This operation is idempotent, which means that it completes at most one time. If you\n attempt to create multiple listeners with the same settings, each call succeeds.

" } }, "com.amazonaws.elasticloadbalancingv2#CreateListenerInput": { "type": "structure", "members": { - "Port": { - "target": "com.amazonaws.elasticloadbalancingv2#Port", - "traits": { - "smithy.api#documentation": "

The port on which the load balancer is listening.

", - "smithy.api#required": {} - } - }, "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { @@ -760,29 +753,28 @@ "smithy.api#required": {} } }, - "Certificates": { - "target": "com.amazonaws.elasticloadbalancingv2#CertificateList", + "Protocol": { + "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. \n Set CertificateArn to the certificate ARN but do not set IsDefault.

\n

To create a certificate list for the listener, use AddListenerCertificates.

" + "smithy.api#documentation": "

The protocol for connections from clients to the load balancer. For Application Load\n Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the\n supported protocols are TCP, TLS, UDP, and TCP_UDP. You cannot specify a protocol for a\n Gateway Load Balancer.

" } }, - "Tags": { - "target": "com.amazonaws.elasticloadbalancingv2#TagList", + "Port": { + "target": "com.amazonaws.elasticloadbalancingv2#Port", "traits": { - "smithy.api#documentation": "

The tags to assign to the listener.

" + "smithy.api#documentation": "

The port on which the load balancer is listening. You cannot specify a port for a\n Gateway Load Balancer.

" } }, - "Protocol": { - "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", + "SslPolicy": { + "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyName", "traits": { - "smithy.api#documentation": "

The protocol for connections from clients to the load balancer. For Application Load\n Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the\n supported protocols are TCP, TLS, UDP, and TCP_UDP.

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

[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are\n supported.

\n

For more information, see Security policies in the Application Load Balancers Guide and\n Security policies in the Network Load Balancers Guide.

" } }, - "AlpnPolicy": { - "target": "com.amazonaws.elasticloadbalancingv2#AlpnPolicyName", + "Certificates": { + "target": "com.amazonaws.elasticloadbalancingv2#CertificateList", "traits": { - "smithy.api#documentation": "

[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.\n You can specify one policy name. The following are the possible values:

\n \n

For more information, see ALPN Policies in the Network Load Balancers Guide.

" + "smithy.api#documentation": "

[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. \n Set CertificateArn to the certificate ARN but do not set IsDefault.

" } }, "DefaultActions": { @@ -792,10 +784,16 @@ "smithy.api#required": {} } }, - "SslPolicy": { - "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyName", + "AlpnPolicy": { + "target": "com.amazonaws.elasticloadbalancingv2#AlpnPolicyName", + "traits": { + "smithy.api#documentation": "

[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.\n You can specify one policy name. The following are the possible values:

\n \n

For more information, see ALPN policies in the Network Load Balancers Guide.

" + } + }, + "Tags": { + "target": "com.amazonaws.elasticloadbalancingv2#TagList", "traits": { - "smithy.api#documentation": "

[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are\n supported. The following are the possible values:

\n \n

For more information, see Security Policies in the Application Load Balancers Guide and\n Security Policies in the Network Load Balancers Guide.

" + "smithy.api#documentation": "

The tags to assign to the listener.

" } } } @@ -861,53 +859,47 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Application Load Balancer or a Network Load Balancer.

\n

When you create a load balancer, you can specify security groups, public subnets, IP address\n type, and tags. Otherwise, you could do so later using SetSecurityGroups,\n SetSubnets, SetIpAddressType, and AddTags.

\n

To create listeners for your load balancer, use CreateListener. To\n describe your current load balancers, see DescribeLoadBalancers. When you\n are finished with a load balancer, you can delete it using DeleteLoadBalancer.

\n

For limit information, see Limits for Your\n Application Load Balancer in the Application Load Balancers\n Guide and Limits for Your Network\n Load Balancer in the Network Load Balancers Guide.

\n

This operation is idempotent, which means that it completes at most one time. If you\n attempt to create multiple load balancers with the same settings, each call\n succeeds.

\n

For more information, see Application\n Load Balancers in the Application Load Balancers Guide and\n Network Load\n Balancers in the Network Load Balancers Guide.

" + "smithy.api#documentation": "

Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

\n\n \n\n

For more information, see the following:

\n \n\n

This operation is idempotent, which means that it completes at most one time. If you\n attempt to create multiple load balancers with the same settings, each call\n succeeds.

" } }, "com.amazonaws.elasticloadbalancingv2#CreateLoadBalancerInput": { "type": "structure", "members": { - "Scheme": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerSchemeEnum", - "traits": { - "smithy.api#documentation": "

The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of\n an Internet-facing load balancer is publicly resolvable to the public IP addresses of the\n nodes. Therefore, Internet-facing load balancers can route requests from clients over the\n internet.

\n

The nodes of an internal load balancer have only private IP addresses. The DNS name of\n an internal load balancer is publicly resolvable to the private IP addresses of the nodes.\n Therefore, internal load balancers can route requests only from clients with access to the VPC\n for the load balancer.

\n

The default is an Internet-facing load balancer.

" - } - }, - "IpAddressType": { - "target": "com.amazonaws.elasticloadbalancingv2#IpAddressType", + "Name": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerName", "traits": { - "smithy.api#documentation": "

[Application Load Balancers] The type of IP addresses used by the subnets for your load\n balancer. The possible values are ipv4 (for IPv4 addresses) and\n dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use\n ipv4.

" + "smithy.api#documentation": "

The name of the load balancer.

\n

This name must be unique per region per account, can have a maximum of 32 characters,\n must contain only alphanumeric characters or hyphens, must not begin or end with a\n hyphen, and must not begin with \"internal-\".

", + "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.elasticloadbalancingv2#TagList", + "Subnets": { + "target": "com.amazonaws.elasticloadbalancingv2#Subnets", "traits": { - "smithy.api#documentation": "

The tags to assign to the load balancer.

" + "smithy.api#documentation": "

The IDs of the public subnets. You can specify only one subnet per Availability Zone. \n You must specify either subnets or subnet mappings.

\n

[Application Load Balancers] You must specify subnets from at least two Availability\n Zones.

\n

[Application Load Balancers on Outposts] You must specify one Outpost subnet.

\n

[Application Load Balancers on Local Zones] You can specify subnets from one or more Local\n Zones.

\n

[Network Load Balancers] You can specify subnets from one or more Availability\n Zones.

\n

[Gateway Load Balancers] You can specify subnets from one or more Availability\n Zones.

" } }, - "CustomerOwnedIpv4Pool": { - "target": "com.amazonaws.elasticloadbalancingv2#CustomerOwnedIpv4Pool", + "SubnetMappings": { + "target": "com.amazonaws.elasticloadbalancingv2#SubnetMappings", "traits": { - "smithy.api#documentation": "

[Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP \n pool).

" + "smithy.api#documentation": "

The IDs of the public subnets. You can specify only one subnet per Availability Zone. \n You must specify either subnets or subnet mappings.

\n

[Application Load Balancers] You must specify subnets from at least two Availability\n Zones. You cannot specify Elastic IP addresses for your subnets.

\n

[Application Load Balancers on Outposts] You must specify one Outpost subnet.

\n

[Application Load Balancers on Local Zones] You can specify subnets from one or more Local\n Zones.

\n

[Network Load Balancers] You can specify subnets from one or more Availability Zones.\n You can specify one Elastic IP address per subnet if you need static IP addresses for\n your internet-facing load balancer. For internal load balancers, you can specify one \n private IP address per subnet from the IPv4 range of the subnet.

\n

[Gateway Load Balancers] You can specify subnets from one or more Availability\n Zones. You cannot specify Elastic IP addresses for your subnets.

" } }, - "Name": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerName", + "SecurityGroups": { + "target": "com.amazonaws.elasticloadbalancingv2#SecurityGroups", "traits": { - "smithy.api#documentation": "

The name of the load balancer.

\n

This name must be unique per region per account, can have a maximum of 32 characters,\n must contain only alphanumeric characters or hyphens, must not begin or end with a\n hyphen, and must not begin with \"internal-\".

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

[Application Load Balancers] The IDs of the security groups for the load balancer.

" } }, - "SubnetMappings": { - "target": "com.amazonaws.elasticloadbalancingv2#SubnetMappings", + "Scheme": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerSchemeEnum", "traits": { - "smithy.api#documentation": "

The IDs of the public subnets. You can specify only one subnet per Availability Zone. \n You must specify either subnets or subnet mappings.

\n

[Application Load Balancers] You must specify subnets from at least two Availability\n Zones. You cannot specify Elastic IP addresses for your subnets.

\n

[Application Load Balancers on Outposts] You must specify one Outpost subnet.

\n

[Application Load Balancers on Local Zones] You can specify subnets from one or more Local\n Zones.

\n

[Network Load Balancers] You can specify subnets from one or more Availability Zones.\n You can specify one Elastic IP address per subnet if you need static IP addresses for\n your internet-facing load balancer. For internal load balancers, you can specify one \n private IP address per subnet from the IPv4 range of the subnet.

" + "smithy.api#documentation": "

The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of\n an Internet-facing load balancer is publicly resolvable to the public IP addresses of the\n nodes. Therefore, Internet-facing load balancers can route requests from clients over the\n internet.

\n

The nodes of an internal load balancer have only private IP addresses. The DNS name of\n an internal load balancer is publicly resolvable to the private IP addresses of the nodes.\n Therefore, internal load balancers can route requests only from clients with access to the VPC\n for the load balancer.

\n

The default is an Internet-facing load balancer.

\n

You cannot specify a scheme for a Gateway Load Balancer.

" } }, - "Subnets": { - "target": "com.amazonaws.elasticloadbalancingv2#Subnets", + "Tags": { + "target": "com.amazonaws.elasticloadbalancingv2#TagList", "traits": { - "smithy.api#documentation": "

The IDs of the public subnets. You can specify only one subnet per Availability Zone. \n You must specify either subnets or subnet mappings.

\n

[Application Load Balancers] You must specify subnets from at least two Availability\n Zones.

\n

[Application Load Balancers on Outposts] You must specify one Outpost subnet.

\n

[Application Load Balancers on Local Zones] You can specify subnets from one or more Local\n Zones.

\n

[Network Load Balancers] You can specify subnets from one or more Availability\n Zones.

" + "smithy.api#documentation": "

The tags to assign to the load balancer.

" } }, "Type": { @@ -916,10 +908,16 @@ "smithy.api#documentation": "

The type of load balancer. The default is application.

" } }, - "SecurityGroups": { - "target": "com.amazonaws.elasticloadbalancingv2#SecurityGroups", + "IpAddressType": { + "target": "com.amazonaws.elasticloadbalancingv2#IpAddressType", "traits": { - "smithy.api#documentation": "

[Application Load Balancers] The IDs of the security groups for the load balancer.

" + "smithy.api#documentation": "

[Application Load Balancers] The type of IP addresses used by the subnets for your load\n balancer. The possible values are ipv4 (for IPv4 addresses) and\n dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use\n ipv4.

" + } + }, + "CustomerOwnedIpv4Pool": { + "target": "com.amazonaws.elasticloadbalancingv2#CustomerOwnedIpv4Pool", + "traits": { + "smithy.api#documentation": "

[Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP \n pool).

" } } } @@ -991,12 +989,26 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a rule for the specified listener. The listener must be associated with an\n Application Load Balancer.

\n

Each rule consists of a priority, one or more actions, and one or more conditions.\n Rules are evaluated in priority order, from the lowest value to the highest value. \n When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, \n the actions for the default rule are performed. For more information, see Listener Rules in the Application Load Balancers Guide.

\n

To view your current rules, use DescribeRules. To update a rule, use\n ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule.

" + "smithy.api#documentation": "

Creates a rule for the specified listener. The listener must be associated with an\n Application Load Balancer.

\n

Each rule consists of a priority, one or more actions, and one or more conditions.\n Rules are evaluated in priority order, from the lowest value to the highest value. \n When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, \n the actions for the default rule are performed. For more information, see Listener rules in the Application Load Balancers Guide.

" } }, "com.amazonaws.elasticloadbalancingv2#CreateRuleInput": { "type": "structure", "members": { + "ListenerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

", + "smithy.api#required": {} + } + }, + "Conditions": { + "target": "com.amazonaws.elasticloadbalancingv2#RuleConditionList", + "traits": { + "smithy.api#documentation": "

The conditions.

", + "smithy.api#required": {} + } + }, "Priority": { "target": "com.amazonaws.elasticloadbalancingv2#RulePriority", "traits": { @@ -1011,25 +1023,11 @@ "smithy.api#required": {} } }, - "ListenerArn": { - "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

", - "smithy.api#required": {} - } - }, "Tags": { "target": "com.amazonaws.elasticloadbalancingv2#TagList", "traits": { "smithy.api#documentation": "

The tags to assign to the rule.

" } - }, - "Conditions": { - "target": "com.amazonaws.elasticloadbalancingv2#RuleConditionList", - "traits": { - "smithy.api#documentation": "

The conditions.

", - "smithy.api#required": {} - } } } }, @@ -1067,41 +1065,53 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a target group.

\n

To register targets with the target group, use RegisterTargets. \n To update the health check settings for the target group, use ModifyTargetGroup. \n To monitor the health of targets in the target group, use DescribeTargetHealth.

\n

To route traffic to the targets in a target group, specify the target group in an\n action using CreateListener or CreateRule.

\n

To delete a target group, use DeleteTargetGroup.

\n

This operation is idempotent, which means that it completes at most one time. If you\n attempt to create multiple target groups with the same settings, each call succeeds.

\n

For more information, see Target Groups\n for Your Application Load Balancers in the Application Load Balancers\n Guide or Target Groups for\n Your Network Load Balancers in the Network Load Balancers\n Guide.

" + "smithy.api#documentation": "

Creates a target group.

\n \n \n \n

For more information, see the following:

\n \n\n

This operation is idempotent, which means that it completes at most one time. If you\n attempt to create multiple target groups with the same settings, each call succeeds.

" } }, "com.amazonaws.elasticloadbalancingv2#CreateTargetGroupInput": { "type": "structure", "members": { - "HealthyThresholdCount": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount", + "Name": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupName", "traits": { - "smithy.api#documentation": "

The number of consecutive health checks successes required before considering an unhealthy target healthy. \n For target groups with a protocol of HTTP or HTTPS, the default is 5. \n For target groups with a protocol of TCP or TLS, the default is 3.\n If the target type is lambda, the default is 5.

" + "smithy.api#documentation": "

The name of the target group.

\n

This name must be unique per region per account, can have a maximum of 32 characters,\n must contain only alphanumeric characters or hyphens, and must not begin or end with a\n hyphen.

", + "smithy.api#required": {} } }, - "HealthCheckProtocol": { + "Protocol": { "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

The protocol the load balancer uses when performing health checks on targets.\n For Application Load Balancers, the default is HTTP. For Network Load Balancers, the default is TCP.\n The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP.\n The TLS, UDP, and TCP_UDP protocols are not supported for health checks.

" + "smithy.api#documentation": "

The protocol to use for routing traffic to the targets. \n For Application Load Balancers, the supported protocols are HTTP and HTTPS. \n For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. \n For Gateway Load Balancers, the supported protocol is GENEVE. \n A TCP_UDP listener must be associated with a TCP_UDP target group. \n If the target is a Lambda function, this parameter does not apply.

" } }, - "Name": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupName", + "ProtocolVersion": { + "target": "com.amazonaws.elasticloadbalancingv2#ProtocolVersion", "traits": { - "smithy.api#documentation": "

The name of the target group.

\n

This name must be unique per region per account, can have a maximum of 32 characters,\n must contain only alphanumeric characters or hyphens, and must not begin or end with a\n hyphen.

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

[HTTP/HTTPS protocol] The protocol version. \n Specify GRPC to send requests to targets using gRPC.\n Specify HTTP2 to send requests to targets using HTTP/2.\n The default is HTTP1, which sends requests to targets using HTTP/1.1.

" + } + }, + "Port": { + "target": "com.amazonaws.elasticloadbalancingv2#Port", + "traits": { + "smithy.api#documentation": "

The port on which the targets receive traffic. This port is used unless you specify a port\n override when registering the target. \n If the target is a Lambda function, this parameter does not apply. \n If the protocol is GENEVE, the supported port is 6081.

" + } + }, + "VpcId": { + "target": "com.amazonaws.elasticloadbalancingv2#VpcId", + "traits": { + "smithy.api#documentation": "

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, \n this parameter does not apply. Otherwise, this parameter is required.

" } }, - "UnhealthyThresholdCount": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount", + "HealthCheckProtocol": { + "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

The number of consecutive health check failures required before considering a target unhealthy. \n For target groups with a protocol of HTTP or HTTPS, the default is 2. \n For target groups with a protocol of TCP or TLS, this value must be the same as the healthy threshold count.\n If the target type is lambda, the default is 2.

" + "smithy.api#documentation": "

The protocol the load balancer uses when performing health checks on targets. For\n Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load\n Balancers, the default is TCP. The TCP protocol is not supported for health checks if the\n protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are\n not supported for health checks.

" } }, - "ProtocolVersion": { - "target": "com.amazonaws.elasticloadbalancingv2#ProtocolVersion", + "HealthCheckPort": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckPort", "traits": { - "smithy.api#documentation": "

[HTTP/HTTPS protocol] The protocol version. \n Specify GRPC to send requests to targets using gRPC.\n Specify HTTP2 to send requests to targets using HTTP/2.\n The default is HTTP1, which sends requests to targets using HTTP/1.1.

" + "smithy.api#documentation": "

The port the load balancer uses when performing health checks on targets. If the protocol\n is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is\n the port on which each target receives traffic from the load balancer. If the protocol is\n GENEVE, the default is port 80.

" } }, "HealthCheckEnabled": { @@ -1110,64 +1120,52 @@ "smithy.api#documentation": "

Indicates whether health checks are enabled. If the target type is lambda,\n health checks are disabled by default but can be enabled. If the target type is instance \n or ip, health checks are always enabled and cannot be disabled.

" } }, - "HealthCheckTimeoutSeconds": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckTimeoutSeconds", - "traits": { - "smithy.api#documentation": "

The amount of time, in seconds, during which no response from a target means a failed health check. \n For target groups with a protocol of HTTP or HTTPS, the default is 5 seconds. \n For target groups with a protocol of TCP or TLS, this value must be 6 seconds for HTTP health checks \n and 10 seconds for TCP and HTTPS health checks.\n If the target type is lambda, the default is 30 seconds.

" - } - }, "HealthCheckPath": { "target": "com.amazonaws.elasticloadbalancingv2#Path", "traits": { "smithy.api#documentation": "

[HTTP/HTTPS health checks] The destination for health checks on the targets.

\n

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

\n

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. \n The default is /AWS.ALB/healthcheck.

" } }, - "Matcher": { - "target": "com.amazonaws.elasticloadbalancingv2#Matcher", - "traits": { - "smithy.api#documentation": "

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful \n response from a target.

" - } - }, - "VpcId": { - "target": "com.amazonaws.elasticloadbalancingv2#VpcId", + "HealthCheckIntervalSeconds": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckIntervalSeconds", "traits": { - "smithy.api#documentation": "

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, \n this parameter does not apply. Otherwise, this parameter is required.

" + "smithy.api#documentation": "

The approximate amount of time, in seconds, between health checks of an individual target.\n For TCP health checks, the supported values are 10 and 30 seconds. \n If the target type is instance or ip, the default is 30 seconds. \n If the target group protocol is GENEVE, the default is 10 seconds. \n If the target type is lambda, the default is 35 seconds.

" } }, - "HealthCheckPort": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckPort", + "HealthCheckTimeoutSeconds": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckTimeoutSeconds", "traits": { - "smithy.api#documentation": "

The port the load balancer uses when performing health checks on targets. The default\n is traffic-port, which is the port on which each target receives traffic from the\n load balancer.

" + "smithy.api#documentation": "

The amount of time, in seconds, during which no response from a target means a failed health check. \n For target groups with a protocol of HTTP, HTTPS, or GENEVE, the default is 5 seconds. \n For target groups with a protocol of TCP or TLS, this value must be 6 seconds for HTTP health checks \n and 10 seconds for TCP and HTTPS health checks.\n If the target type is lambda, the default is 30 seconds.

" } }, - "Port": { - "target": "com.amazonaws.elasticloadbalancingv2#Port", + "HealthyThresholdCount": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount", "traits": { - "smithy.api#documentation": "

The port on which the targets receive traffic. This port is used unless you specify a\n port override when registering the target. If the target is a Lambda function, this \n parameter does not apply.

" + "smithy.api#documentation": "

The number of consecutive health checks successes required before considering an unhealthy\n target healthy. For target groups with a protocol of HTTP or HTTPS, the default is 5. For\n target groups with a protocol of TCP, TLS, or GENEVE, the default is 3. If the target type is\n lambda, the default is 5.

" } }, - "Tags": { - "target": "com.amazonaws.elasticloadbalancingv2#TagList", + "UnhealthyThresholdCount": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount", "traits": { - "smithy.api#documentation": "

The tags to assign to the target group.

" + "smithy.api#documentation": "

The number of consecutive health check failures required before considering a target\n unhealthy. If the target group protocol is HTTP or HTTPS, the default is 2. If the target\n group protocol is TCP or TLS, this value must be the same as the healthy threshold count. If\n the target group protocol is GENEVE, the default is 3. If the target type is\n lambda, the default is 2.

" } }, - "HealthCheckIntervalSeconds": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckIntervalSeconds", + "Matcher": { + "target": "com.amazonaws.elasticloadbalancingv2#Matcher", "traits": { - "smithy.api#documentation": "

The approximate amount of time, in seconds, between health checks of an individual target. \n For HTTP and HTTPS health checks, the range is 5–300 seconds. \n For TCP health checks, the supported values are 10 and 30 seconds. \n If the target type is instance or ip, the default is 30 seconds. \n If the target type is lambda, the default is 35 seconds.

" + "smithy.api#documentation": "

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful \n response from a target.

" } }, - "Protocol": { - "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", + "TargetType": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetTypeEnum", "traits": { - "smithy.api#documentation": "

The protocol to use for routing traffic to the targets. For Application Load Balancers,\n the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols\n are TCP, TLS, UDP, or TCP_UDP. A TCP_UDP listener must be associated with a TCP_UDP target group.\n If the target is a Lambda function, this parameter does not apply.

" + "smithy.api#documentation": "

The type of target that you must specify when registering targets with this target group.\n You can't specify targets for a target group using more than one target type.

\n " } }, - "TargetType": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetTypeEnum", + "Tags": { + "target": "com.amazonaws.elasticloadbalancingv2#TagList", "traits": { - "smithy.api#documentation": "

The type of target that you must specify when registering targets with this target group.\n You can't specify targets for a target group using more than one target type.

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

The tags to assign to the target group.

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

Deletes the specified listener.

\n

Alternatively, your listener is deleted when you delete the load balancer to which it\n is attached, using DeleteLoadBalancer.

" + "smithy.api#documentation": "

Deletes the specified listener.

\n

Alternatively, your listener is deleted when you delete the load balancer to which it\n is attached.

" } }, "com.amazonaws.elasticloadbalancingv2#DeleteListenerInput": { @@ -1258,7 +1256,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified Application Load Balancer or Network Load Balancer and its\n attached listeners.

\n

You can't delete a load balancer if deletion protection is enabled. If the load\n balancer does not exist or has already been deleted, the call succeeds.

\n

Deleting a load balancer does not affect its registered targets. For example, your EC2\n instances continue to run and are still registered to their target groups. If you no longer\n need these EC2 instances, you can stop or terminate them.

" + "smithy.api#documentation": "

Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load\n Balancer. Deleting a load balancer also deletes its listeners.

\n

You can't delete a load balancer if deletion protection is enabled. If the load\n balancer does not exist or has already been deleted, the call succeeds.

\n

Deleting a load balancer does not affect its registered targets. For example, your EC2\n instances continue to run and are still registered to their target groups. If you no longer\n need these EC2 instances, you can stop or terminate them.

" } }, "com.amazonaws.elasticloadbalancingv2#DeleteLoadBalancerInput": { @@ -1327,7 +1325,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified target group.

\n

You can delete a target group if it is not referenced by any actions. Deleting a target\n group also deletes any associated health checks.

" + "smithy.api#documentation": "

Deletes the specified target group.

\n

You can delete a target group if it is not referenced by any actions. Deleting a target\n group also deletes any associated health checks. Deleting a target group does not affect its \n registered targets. For example, any EC2 instances continue to run until you stop or terminate\n them.

" } }, "com.amazonaws.elasticloadbalancingv2#DeleteTargetGroupInput": { @@ -1398,23 +1396,23 @@ "target": "com.amazonaws.elasticloadbalancingv2#DescribeAccountLimitsOutput" }, "traits": { - "smithy.api#documentation": "

Describes the current Elastic Load Balancing resource limits for your AWS\n account.

\n

For more information, see Limits for Your\n Application Load Balancers in the Application Load Balancer\n Guide or Limits for Your Network\n Load Balancers in the Network Load Balancers Guide.

" + "smithy.api#documentation": "

Describes the current Elastic Load Balancing resource limits for your AWS account.

\n

For more information, see the following:

\n " } }, "com.amazonaws.elasticloadbalancingv2#DescribeAccountLimitsInput": { "type": "structure", "members": { - "PageSize": { - "target": "com.amazonaws.elasticloadbalancingv2#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return with this call.

" - } - }, "Marker": { "target": "com.amazonaws.elasticloadbalancingv2#Marker", "traits": { "smithy.api#documentation": "

The marker for the next set of results. (You received this marker from a previous\n call.)

" } + }, + "PageSize": { + "target": "com.amazonaws.elasticloadbalancingv2#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return with this call.

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

Describes the default certificate and the certificate list for the specified HTTPS or TLS listener.

\n

If the default certificate is also in the certificate list, it appears twice in the results\n (once with IsDefault set to true and once with IsDefault set to false).

\n

For more information, see SSL Certificates\n in the Application Load Balancers Guide.

" + "smithy.api#documentation": "

Describes the default certificate and the certificate list for the specified HTTPS or TLS listener.

\n

If the default certificate is also in the certificate list, it appears twice in the results\n (once with IsDefault set to true and once with IsDefault set to false).

\n

For more information, see SSL certificates in the Application Load Balancers Guide or\n Server certificates in the Network Load Balancers Guide.

" } }, "com.amazonaws.elasticloadbalancingv2#DescribeListenerCertificatesInput": { @@ -1462,17 +1460,17 @@ "smithy.api#required": {} } }, - "PageSize": { - "target": "com.amazonaws.elasticloadbalancingv2#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return with this call.

" - } - }, "Marker": { "target": "com.amazonaws.elasticloadbalancingv2#Marker", "traits": { "smithy.api#documentation": "

The marker for the next set of results. (You received this marker from a previous\n call.)

" } + }, + "PageSize": { + "target": "com.amazonaws.elasticloadbalancingv2#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return with this call.

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

Describes the specified listeners or the listeners for the specified Application Load\n Balancer or Network Load Balancer. You must specify either a load balancer or one or more\n listeners.

\n

For an HTTPS or TLS listener, the output includes the default certificate for the listener.\n To describe the certificate list for the listener, use DescribeListenerCertificates.

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

Describes the specified listeners or the listeners for the specified Application Load\n Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load\n balancer or one or more listeners.

", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "NextMarker", @@ -1524,18 +1522,6 @@ "com.amazonaws.elasticloadbalancingv2#DescribeListenersInput": { "type": "structure", "members": { - "Marker": { - "target": "com.amazonaws.elasticloadbalancingv2#Marker", - "traits": { - "smithy.api#documentation": "

The marker for the next set of results. (You received this marker from a previous\n call.)

" - } - }, - "PageSize": { - "target": "com.amazonaws.elasticloadbalancingv2#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return with this call.

" - } - }, "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { @@ -1547,6 +1533,18 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the listeners.

" } + }, + "Marker": { + "target": "com.amazonaws.elasticloadbalancingv2#Marker", + "traits": { + "smithy.api#documentation": "

The marker for the next set of results. (You received this marker from a previous\n call.)

" + } + }, + "PageSize": { + "target": "com.amazonaws.elasticloadbalancingv2#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return with this call.

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

Describes the attributes for the specified Application Load Balancer or Network Load\n Balancer.

\n

For more information, see Load Balancer Attributes \n in the Application Load Balancers Guide or Load Balancer Attributes \n in the Network Load Balancers Guide.

" + "smithy.api#documentation": "

Describes the attributes for the specified Application Load Balancer, Network Load Balancer,\n or Gateway Load Balancer.

\n\n

For more information, see the following:

\n " } }, "com.amazonaws.elasticloadbalancingv2#DescribeLoadBalancerAttributesInput": { @@ -1621,7 +1619,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the specified load balancers or all of your load balancers.

\n

To describe the listeners for a load balancer, use DescribeListeners.\n To describe the attributes for a load balancer, use DescribeLoadBalancerAttributes.

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

Describes the specified load balancers or all of your load balancers.

", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "NextMarker", @@ -1632,46 +1630,46 @@ "com.amazonaws.elasticloadbalancingv2#DescribeLoadBalancersInput": { "type": "structure", "members": { - "Names": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerNames", - "traits": { - "smithy.api#documentation": "

The names of the load balancers.

" - } - }, - "PageSize": { - "target": "com.amazonaws.elasticloadbalancingv2#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return with this call.

" - } - }, "LoadBalancerArns": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArns", "traits": { "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load\n balancers in a single call.

" } }, + "Names": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerNames", + "traits": { + "smithy.api#documentation": "

The names of the load balancers.

" + } + }, "Marker": { "target": "com.amazonaws.elasticloadbalancingv2#Marker", "traits": { "smithy.api#documentation": "

The marker for the next set of results. (You received this marker from a previous\n call.)

" } + }, + "PageSize": { + "target": "com.amazonaws.elasticloadbalancingv2#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return with this call.

" + } } } }, "com.amazonaws.elasticloadbalancingv2#DescribeLoadBalancersOutput": { "type": "structure", "members": { - "NextMarker": { - "target": "com.amazonaws.elasticloadbalancingv2#Marker", - "traits": { - "smithy.api#documentation": "

If there are additional results, this is the marker for the next set of results. \n Otherwise, this is null.

" - } - }, "LoadBalancers": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancers", "traits": { "smithy.api#documentation": "

Information about the load balancers.

" } + }, + "NextMarker": { + "target": "com.amazonaws.elasticloadbalancingv2#Marker", + "traits": { + "smithy.api#documentation": "

If there are additional results, this is the marker for the next set of results. \n Otherwise, this is null.

" + } } } }, @@ -1701,18 +1699,6 @@ "com.amazonaws.elasticloadbalancingv2#DescribeRulesInput": { "type": "structure", "members": { - "Marker": { - "target": "com.amazonaws.elasticloadbalancingv2#Marker", - "traits": { - "smithy.api#documentation": "

The marker for the next set of results. (You received this marker from a previous\n call.)

" - } - }, - "PageSize": { - "target": "com.amazonaws.elasticloadbalancingv2#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return with this call.

" - } - }, "ListenerArn": { "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { @@ -1724,23 +1710,35 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the rules.

" } + }, + "Marker": { + "target": "com.amazonaws.elasticloadbalancingv2#Marker", + "traits": { + "smithy.api#documentation": "

The marker for the next set of results. (You received this marker from a previous\n call.)

" + } + }, + "PageSize": { + "target": "com.amazonaws.elasticloadbalancingv2#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return with this call.

" + } } } }, "com.amazonaws.elasticloadbalancingv2#DescribeRulesOutput": { "type": "structure", "members": { - "NextMarker": { - "target": "com.amazonaws.elasticloadbalancingv2#Marker", - "traits": { - "smithy.api#documentation": "

If there are additional results, this is the marker for the next set of results. \n Otherwise, this is null.

" - } - }, "Rules": { "target": "com.amazonaws.elasticloadbalancingv2#Rules", "traits": { "smithy.api#documentation": "

Information about the rules.

" } + }, + "NextMarker": { + "target": "com.amazonaws.elasticloadbalancingv2#Marker", + "traits": { + "smithy.api#documentation": "

If there are additional results, this is the marker for the next set of results. \n Otherwise, this is null.

" + } } } }, @@ -1758,12 +1756,18 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the specified policies or all policies used for SSL negotiation.

\n

For more information, see Security Policies in the Application Load Balancers\n Guide.

" + "smithy.api#documentation": "

Describes the specified policies or all policies used for SSL negotiation.

\n

For more information, see Security policies in the Application Load Balancers Guide or\n Security policies in the Network Load Balancers Guide.

" } }, "com.amazonaws.elasticloadbalancingv2#DescribeSSLPoliciesInput": { "type": "structure", "members": { + "Names": { + "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyNames", + "traits": { + "smithy.api#documentation": "

The names of the policies.

" + } + }, "Marker": { "target": "com.amazonaws.elasticloadbalancingv2#Marker", "traits": { @@ -1775,29 +1779,23 @@ "traits": { "smithy.api#documentation": "

The maximum number of results to return with this call.

" } - }, - "Names": { - "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyNames", - "traits": { - "smithy.api#documentation": "

The names of the policies.

" - } } } }, "com.amazonaws.elasticloadbalancingv2#DescribeSSLPoliciesOutput": { "type": "structure", "members": { - "NextMarker": { - "target": "com.amazonaws.elasticloadbalancingv2#Marker", - "traits": { - "smithy.api#documentation": "

If there are additional results, this is the marker for the next set of results. \n Otherwise, this is null.

" - } - }, "SslPolicies": { "target": "com.amazonaws.elasticloadbalancingv2#SslPolicies", "traits": { "smithy.api#documentation": "

Information about the security policies.

" } + }, + "NextMarker": { + "target": "com.amazonaws.elasticloadbalancingv2#Marker", + "traits": { + "smithy.api#documentation": "

If there are additional results, this is the marker for the next set of results. \n Otherwise, this is null.

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

Describes the tags for the specified Elastic Load Balancing resources. You can describe the tags for \n one or more Application Load Balancers, Network Load Balancers, target groups, listeners, or rules.

" + "smithy.api#documentation": "

Describes the tags for the specified Elastic Load Balancing resources. You can describe\n the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load\n Balancers, target groups, listeners, or rules.

" } }, "com.amazonaws.elasticloadbalancingv2#DescribeTagsInput": { @@ -1864,7 +1862,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the attributes for the specified target group.

\n

For more information, see Target Group Attributes \n in the Application Load Balancers Guide or Target Group Attributes \n in the Network Load Balancers Guide.

" + "smithy.api#documentation": "

Describes the attributes for the specified target group.

\n

For more information, see the following:

\n " } }, "com.amazonaws.elasticloadbalancingv2#DescribeTargetGroupAttributesInput": { @@ -1907,7 +1905,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the specified target groups or all of your target groups. By default, all\n target groups are described. Alternatively, you can specify one of the following to filter the\n results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of\n one or more target groups.

\n

To describe the targets for a target group, use DescribeTargetHealth.\n To describe the attributes of a target group, use DescribeTargetGroupAttributes.

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

Describes the specified target groups or all of your target groups. By default, all\n target groups are described. Alternatively, you can specify one of the following to filter the\n results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of\n one or more target groups.

", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "NextMarker", @@ -1918,16 +1916,22 @@ "com.amazonaws.elasticloadbalancingv2#DescribeTargetGroupsInput": { "type": "structure", "members": { + "LoadBalancerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

" + } + }, "TargetGroupArns": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArns", "traits": { "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the target groups.

" } }, - "LoadBalancerArn": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", + "Names": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupNames", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

" + "smithy.api#documentation": "

The names of the target groups.

" } }, "Marker": { @@ -1941,12 +1945,6 @@ "traits": { "smithy.api#documentation": "

The maximum number of results to return with this call.

" } - }, - "Names": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupNames", - "traits": { - "smithy.api#documentation": "

The names of the target groups.

" - } } } }, @@ -2192,7 +2190,7 @@ "name": "elasticloadbalancing" }, "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Elastic Load Balancing\n\n

A load balancer distributes incoming traffic across targets, such as your EC2\n instances. This enables you to increase the availability of your application. The load\n balancer also monitors the health of its registered targets and ensures that it routes traffic\n only to healthy targets. You configure your load balancer to accept incoming traffic by\n specifying one or more listeners, which are configured with a protocol and port number for\n connections from clients to the load balancer. You configure a target group with a protocol\n and port number for connections from the load balancer to the targets, and with health check\n settings to be used when checking the health status of the targets.

\n\n

Elastic Load Balancing supports the following types of load balancers: Application Load\n Balancers, Network Load Balancers, and Classic Load Balancers. This reference covers \n Application Load Balancers and Network Load Balancers.

\n

An Application Load Balancer makes routing and load balancing decisions at the\n application layer (HTTP/HTTPS). A Network Load Balancer makes routing and load balancing\n decisions at the transport layer (TCP/TLS). Both Application Load Balancers and Network Load\n Balancers can route requests to one or more ports on each EC2 instance or container instance\n in your virtual private cloud (VPC). For more information, see the Elastic Load Balancing User\n Guide.

\n \n \n \n\n \n \n\n

All Elastic Load Balancing operations are idempotent, which means that they complete at\n most one time. If you repeat an operation, it succeeds.

", + "smithy.api#documentation": "Elastic Load Balancing\n\n

A load balancer distributes incoming traffic across targets, such as your EC2\n instances. This enables you to increase the availability of your application. The load\n balancer also monitors the health of its registered targets and ensures that it routes traffic\n only to healthy targets. You configure your load balancer to accept incoming traffic by\n specifying one or more listeners, which are configured with a protocol and port number for\n connections from clients to the load balancer. You configure a target group with a protocol\n and port number for connections from the load balancer to the targets, and with health check\n settings to be used when checking the health status of the targets.

\n\n

Elastic Load Balancing supports the following types of load balancers: Application Load\n Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. \n This reference covers the following load balancer types:

\n \n\n

For more information, see the Elastic Load Balancing User Guide.

\n \n \n \n\n \n \n\n

All Elastic Load Balancing operations are idempotent, which means that they complete at\n most one time. If you repeat an operation, it succeeds.

", "smithy.api#title": "Elastic Load Balancing", "smithy.api#xmlNamespace": { "uri": "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/" @@ -2205,12 +2203,6 @@ "com.amazonaws.elasticloadbalancingv2#FixedResponseActionConfig": { "type": "structure", "members": { - "ContentType": { - "target": "com.amazonaws.elasticloadbalancingv2#FixedResponseActionContentType", - "traits": { - "smithy.api#documentation": "

The content type.

\n

Valid Values: text/plain | text/css | text/html | application/javascript | application/json

" - } - }, "MessageBody": { "target": "com.amazonaws.elasticloadbalancingv2#FixedResponseActionMessage", "traits": { @@ -2223,6 +2215,12 @@ "smithy.api#documentation": "

The HTTP response code (2XX, 4XX, or 5XX).

", "smithy.api#required": {} } + }, + "ContentType": { + "target": "com.amazonaws.elasticloadbalancingv2#FixedResponseActionContentType", + "traits": { + "smithy.api#documentation": "

The content type.

\n

Valid Values: text/plain | text/css | text/html | application/javascript | application/json

" + } } }, "traits": { @@ -2500,7 +2498,7 @@ "Name": { "target": "com.amazonaws.elasticloadbalancingv2#Name", "traits": { - "smithy.api#documentation": "

The name of the limit. The possible values are:

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

The name of the limit. The possible values are:

\n " } }, "Max": { @@ -2529,28 +2527,28 @@ "com.amazonaws.elasticloadbalancingv2#Listener": { "type": "structure", "members": { - "SslPolicy": { - "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyName", + "ListenerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { - "smithy.api#documentation": "

[HTTPS or TLS listener] The security policy that defines which protocols and ciphers \n are supported.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

" } }, - "Protocol": { - "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", + "LoadBalancerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { - "smithy.api#documentation": "

The protocol for connections from clients to the load balancer.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

" } }, - "DefaultActions": { - "target": "com.amazonaws.elasticloadbalancingv2#Actions", + "Port": { + "target": "com.amazonaws.elasticloadbalancingv2#Port", "traits": { - "smithy.api#documentation": "

The default actions for the listener.

" + "smithy.api#documentation": "

The port on which the load balancer is listening.

" } }, - "ListenerArn": { - "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", + "Protocol": { + "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

" + "smithy.api#documentation": "

The protocol for connections from clients to the load balancer.

" } }, "Certificates": { @@ -2559,22 +2557,22 @@ "smithy.api#documentation": "

[HTTPS or TLS listener] The default certificate for the listener.

" } }, - "AlpnPolicy": { - "target": "com.amazonaws.elasticloadbalancingv2#AlpnPolicyName", + "SslPolicy": { + "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyName", "traits": { - "smithy.api#documentation": "

[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.

" + "smithy.api#documentation": "

[HTTPS or TLS listener] The security policy that defines which protocols and ciphers \n are supported.

" } }, - "LoadBalancerArn": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", + "DefaultActions": { + "target": "com.amazonaws.elasticloadbalancingv2#Actions", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

" + "smithy.api#documentation": "

The default actions for the listener.

" } }, - "Port": { - "target": "com.amazonaws.elasticloadbalancingv2#Port", + "AlpnPolicy": { + "target": "com.amazonaws.elasticloadbalancingv2#AlpnPolicyName", "traits": { - "smithy.api#documentation": "

The port on which the load balancer is listening.

" + "smithy.api#documentation": "

[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.

" } } }, @@ -2613,28 +2611,16 @@ "com.amazonaws.elasticloadbalancingv2#LoadBalancer": { "type": "structure", "members": { - "Type": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerTypeEnum", - "traits": { - "smithy.api#documentation": "

The type of load balancer.

" - } - }, - "VpcId": { - "target": "com.amazonaws.elasticloadbalancingv2#VpcId", - "traits": { - "smithy.api#documentation": "

The ID of the VPC for the load balancer.

" - } - }, "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

" } }, - "State": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerState", + "DNSName": { + "target": "com.amazonaws.elasticloadbalancingv2#DNSName", "traits": { - "smithy.api#documentation": "

The state of the load balancer.

" + "smithy.api#documentation": "

The public DNS name of the load balancer.

" } }, "CanonicalHostedZoneId": { @@ -2643,40 +2629,52 @@ "smithy.api#documentation": "

The ID of the Amazon Route 53 hosted zone associated with the load balancer.

" } }, + "CreatedTime": { + "target": "com.amazonaws.elasticloadbalancingv2#CreatedTime", + "traits": { + "smithy.api#documentation": "

The date and time the load balancer was created.

" + } + }, "LoadBalancerName": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerName", "traits": { "smithy.api#documentation": "

The name of the load balancer.

" } }, - "CustomerOwnedIpv4Pool": { - "target": "com.amazonaws.elasticloadbalancingv2#CustomerOwnedIpv4Pool", + "Scheme": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerSchemeEnum", "traits": { - "smithy.api#documentation": "

[Application Load Balancers on Outposts] The ID of the customer-owned address pool.

" + "smithy.api#documentation": "

The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of\n an Internet-facing load balancer is publicly resolvable to the public IP addresses of the\n nodes. Therefore, Internet-facing load balancers can route requests from clients over the\n internet.

\n

The nodes of an internal load balancer have only private IP addresses. The DNS name of\n an internal load balancer is publicly resolvable to the private IP addresses of the nodes.\n Therefore, internal load balancers can route requests only from clients with access to the VPC\n for the load balancer.

" } }, - "AvailabilityZones": { - "target": "com.amazonaws.elasticloadbalancingv2#AvailabilityZones", + "VpcId": { + "target": "com.amazonaws.elasticloadbalancingv2#VpcId", "traits": { - "smithy.api#documentation": "

The subnets for the load balancer.

" + "smithy.api#documentation": "

The ID of the VPC for the load balancer.

" } }, - "SecurityGroups": { - "target": "com.amazonaws.elasticloadbalancingv2#SecurityGroups", + "State": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerState", "traits": { - "smithy.api#documentation": "

The IDs of the security groups for the load balancer.

" + "smithy.api#documentation": "

The state of the load balancer.

" } }, - "CreatedTime": { - "target": "com.amazonaws.elasticloadbalancingv2#CreatedTime", + "Type": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerTypeEnum", "traits": { - "smithy.api#documentation": "

The date and time the load balancer was created.

" + "smithy.api#documentation": "

The type of load balancer.

" } }, - "Scheme": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerSchemeEnum", + "AvailabilityZones": { + "target": "com.amazonaws.elasticloadbalancingv2#AvailabilityZones", "traits": { - "smithy.api#documentation": "

The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of\n an Internet-facing load balancer is publicly resolvable to the public IP addresses of the\n nodes. Therefore, Internet-facing load balancers can route requests from clients over the\n internet.

\n

The nodes of an internal load balancer have only private IP addresses. The DNS name of\n an internal load balancer is publicly resolvable to the private IP addresses of the nodes.\n Therefore, internal load balancers can route requests only from clients with access to the VPC\n for the load balancer.

" + "smithy.api#documentation": "

The subnets for the load balancer.

" + } + }, + "SecurityGroups": { + "target": "com.amazonaws.elasticloadbalancingv2#SecurityGroups", + "traits": { + "smithy.api#documentation": "

The IDs of the security groups for the load balancer.

" } }, "IpAddressType": { @@ -2685,10 +2683,10 @@ "smithy.api#documentation": "

The type of IP addresses used by the subnets for your load balancer. The possible\n values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and\n IPv6 addresses).

" } }, - "DNSName": { - "target": "com.amazonaws.elasticloadbalancingv2#DNSName", + "CustomerOwnedIpv4Pool": { + "target": "com.amazonaws.elasticloadbalancingv2#CustomerOwnedIpv4Pool", "traits": { - "smithy.api#documentation": "

The public DNS name of the load balancer.

" + "smithy.api#documentation": "

[Application Load Balancers on Outposts] The ID of the customer-owned address pool.

" } } }, @@ -2699,12 +2697,6 @@ "com.amazonaws.elasticloadbalancingv2#LoadBalancerAddress": { "type": "structure", "members": { - "PrivateIPv4Address": { - "target": "com.amazonaws.elasticloadbalancingv2#PrivateIPv4Address", - "traits": { - "smithy.api#documentation": "

[Network Load Balancers] The private IPv4 address for an internal load balancer.

" - } - }, "IpAddress": { "target": "com.amazonaws.elasticloadbalancingv2#IpAddress", "traits": { @@ -2716,6 +2708,12 @@ "traits": { "smithy.api#documentation": "

[Network Load Balancers] The allocation ID of the Elastic IP address for an internal-facing load balancer.

" } + }, + "PrivateIPv4Address": { + "target": "com.amazonaws.elasticloadbalancingv2#PrivateIPv4Address", + "traits": { + "smithy.api#documentation": "

[Network Load Balancers] The private IPv4 address for an internal load balancer.

" + } } }, "traits": { @@ -2740,16 +2738,16 @@ "com.amazonaws.elasticloadbalancingv2#LoadBalancerAttribute": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerAttributeValue", + "Key": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerAttributeKey", "traits": { - "smithy.api#documentation": "

The value of the attribute.

" + "smithy.api#documentation": "

The name of the attribute.

\n\n

The following attribute is supported by all load balancers:

\n \n\n

The following attributes are supported by both Application Load Balancers and Network Load Balancers:

\n \n\n

The following attributes are supported by only Application Load Balancers:

\n \n\n

The following attribute is supported by Network Load Balancers and Gateway Load Balancers:

\n " } }, - "Key": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerAttributeKey", + "Value": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerAttributeValue", "traits": { - "smithy.api#documentation": "

The name of the attribute.

\n

The following attributes are supported by both Application Load Balancers and Network Load Balancers:

\n \n

The following attributes are supported by only Application Load Balancers:

\n \n

The following attributes are supported by only Network Load Balancers:

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

The value of the attribute.

" } } }, @@ -2879,6 +2877,10 @@ { "value": "network", "name": "NETWORK" + }, + { + "value": "gateway", + "name": "GATEWAY" } ] } @@ -2898,7 +2900,7 @@ "HttpCode": { "target": "com.amazonaws.elasticloadbalancingv2#HttpCode", "traits": { - "smithy.api#documentation": "

For Application Load Balancers, you can specify values between 200 and 499, and the\n default value is 200. You can specify multiple values (for example, \"200,202\") or a range of\n values (for example, \"200-299\").

\n

For Network Load Balancers, this is \"200–399\".

" + "smithy.api#documentation": "

For Application Load Balancers, you can specify values between 200 and 499, and the\n default value is 200. You can specify multiple values (for example, \"200,202\") or a range of\n values (for example, \"200-299\").

\n

For Network Load Balancers and Gateway Load Balancers, this must be \"200–399\".

" } }, "GrpcCode": { @@ -2983,35 +2985,35 @@ "com.amazonaws.elasticloadbalancingv2#ModifyListenerInput": { "type": "structure", "members": { - "AlpnPolicy": { - "target": "com.amazonaws.elasticloadbalancingv2#AlpnPolicyName", + "ListenerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { - "smithy.api#documentation": "

[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.\n You can specify one policy name. The following are the possible values:

\n \n

For more information, see ALPN Policies in the Network Load Balancers Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

", + "smithy.api#required": {} } }, - "Protocol": { - "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", + "Port": { + "target": "com.amazonaws.elasticloadbalancingv2#Port", "traits": { - "smithy.api#documentation": "

The protocol for connections from clients to the load balancer. Application Load\n Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the\n TCP, TLS, UDP, and TCP_UDP protocols.

" + "smithy.api#documentation": "

The port for connections from clients to the load balancer.\n You cannot specify a port for a Gateway Load Balancer.

" } }, - "Certificates": { - "target": "com.amazonaws.elasticloadbalancingv2#CertificateList", + "Protocol": { + "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. \n Set CertificateArn to the certificate ARN but do not set IsDefault.

\n

To create a certificate list, use AddListenerCertificates.

" + "smithy.api#documentation": "

The protocol for connections from clients to the load balancer. \n Application Load Balancers support the HTTP and HTTPS protocols. \n Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. \n You cannot specify a protocol for a Gateway Load Balancer.

" } }, - "ListenerArn": { - "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", + "SslPolicy": { + "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

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

[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers \n are supported.

\n

For more information, see Security policies in the Application Load Balancers Guide or\n Security policies in the Network Load Balancers Guide.

" } }, - "Port": { - "target": "com.amazonaws.elasticloadbalancingv2#Port", + "Certificates": { + "target": "com.amazonaws.elasticloadbalancingv2#CertificateList", "traits": { - "smithy.api#documentation": "

The port for connections from clients to the load balancer.

" + "smithy.api#documentation": "

[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. \n Set CertificateArn to the certificate ARN but do not set IsDefault.

" } }, "DefaultActions": { @@ -3020,10 +3022,10 @@ "smithy.api#documentation": "

The actions for the default rule.

" } }, - "SslPolicy": { - "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyName", + "AlpnPolicy": { + "target": "com.amazonaws.elasticloadbalancingv2#AlpnPolicyName", "traits": { - "smithy.api#documentation": "

[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers \n are supported. The following are the possible values:

\n \n

For more information, see Security Policies in the Application Load Balancers Guide and\n Security Policies in the Network Load Balancers Guide.

" + "smithy.api#documentation": "

[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.\n You can specify one policy name. The following are the possible values:

\n \n

For more information, see ALPN policies in the Network Load Balancers Guide.

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

Modifies the specified attributes of the specified Application Load Balancer or Network\n Load Balancer.

\n

If any of the specified attributes can't be modified as requested, the call fails. Any\n existing attributes that you do not modify retain their current values.

" + "smithy.api#documentation": "

Modifies the specified attributes of the specified Application Load Balancer, Network Load\n Balancer, or Gateway Load Balancer.

\n

If any of the specified attributes can't be modified as requested, the call fails. Any\n existing attributes that you do not modify retain their current values.

" } }, "com.amazonaws.elasticloadbalancingv2#ModifyLoadBalancerAttributesInput": { @@ -3133,12 +3135,19 @@ } ], "traits": { - "smithy.api#documentation": "

Replaces the specified properties of the specified rule. Any properties that you do not\n specify are unchanged.

\n

To add an item to a list, remove an item from a list, or update an item in a list, \n you must provide the entire list. For example, to add an action, specify a list with the\n current actions plus the new action.

\n

To modify the actions for the default rule, use ModifyListener.

" + "smithy.api#documentation": "

Replaces the specified properties of the specified rule. Any properties that you do not\n specify are unchanged.

\n

To add an item to a list, remove an item from a list, or update an item in a list, \n you must provide the entire list. For example, to add an action, specify a list with the\n current actions plus the new action.

" } }, "com.amazonaws.elasticloadbalancingv2#ModifyRuleInput": { "type": "structure", "members": { + "RuleArn": { + "target": "com.amazonaws.elasticloadbalancingv2#RuleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the rule.

", + "smithy.api#required": {} + } + }, "Conditions": { "target": "com.amazonaws.elasticloadbalancingv2#RuleConditionList", "traits": { @@ -3150,13 +3159,6 @@ "traits": { "smithy.api#documentation": "

The actions.

" } - }, - "RuleArn": { - "target": "com.amazonaws.elasticloadbalancingv2#RuleArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the rule.

", - "smithy.api#required": {} - } } } }, @@ -3188,7 +3190,7 @@ } ], "traits": { - "smithy.api#documentation": "

Modifies the health checks used when evaluating the health state of the targets in the\n specified target group.

\n

To monitor the health of the targets, use DescribeTargetHealth.

" + "smithy.api#documentation": "

Modifies the health checks used when evaluating the health state of the targets in the\n specified target group.

" } }, "com.amazonaws.elasticloadbalancingv2#ModifyTargetGroupAttributes": { @@ -3214,17 +3216,17 @@ "com.amazonaws.elasticloadbalancingv2#ModifyTargetGroupAttributesInput": { "type": "structure", "members": { - "Attributes": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupAttributes", + "TargetGroupArn": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { - "smithy.api#documentation": "

The attributes.

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

The Amazon Resource Name (ARN) of the target group.

", "smithy.api#required": {} } }, - "TargetGroupArn": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", + "Attributes": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupAttributes", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

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

The attributes.

", "smithy.api#required": {} } } @@ -3251,10 +3253,10 @@ "smithy.api#required": {} } }, - "HealthCheckIntervalSeconds": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckIntervalSeconds", + "HealthCheckProtocol": { + "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

The approximate amount of time, in seconds, between health checks of an individual\n target. For HTTP and HTTPS health checks, the range is 5 to 300 seconds. For TPC\n health checks, the supported values are 10 or 30 seconds.

\n

With Network Load Balancers, you can't modify this setting.

" + "smithy.api#documentation": "

The protocol the load balancer uses when performing health checks on targets. The TCP\n protocol is supported for health checks only if the protocol of the target group is TCP, TLS,\n UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health\n checks.

\n

With Network Load Balancers, you can't modify this setting.

" } }, "HealthCheckPort": { @@ -3263,34 +3265,34 @@ "smithy.api#documentation": "

The port the load balancer uses when performing health checks on targets.

" } }, - "HealthCheckProtocol": { - "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", + "HealthCheckPath": { + "target": "com.amazonaws.elasticloadbalancingv2#Path", "traits": { - "smithy.api#documentation": "

The protocol the load balancer uses when performing health checks on targets. \n The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP.\n The TLS, UDP, and TCP_UDP protocols are not supported for health checks.

\n

With Network Load Balancers, you can't modify this setting.

" + "smithy.api#documentation": "

[HTTP/HTTPS health checks] The destination for health checks on the targets.

\n

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

\n

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. \n The default is /AWS.ALB/healthcheck.

" } }, - "HealthCheckTimeoutSeconds": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckTimeoutSeconds", + "HealthCheckEnabled": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckEnabled", "traits": { - "smithy.api#documentation": "

[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response\n means a failed health check.

\n

With Network Load Balancers, you can't modify this setting.

" + "smithy.api#documentation": "

Indicates whether health checks are enabled.

" } }, - "HealthyThresholdCount": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount", + "HealthCheckIntervalSeconds": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckIntervalSeconds", "traits": { - "smithy.api#documentation": "

The number of consecutive health checks successes required before considering an\n unhealthy target healthy.

" + "smithy.api#documentation": "

The approximate amount of time, in seconds, between health checks of an individual target. \n For TCP health checks, the supported values are 10 or 30 seconds.

\n

With Network Load Balancers, you can't modify this setting.

" } }, - "HealthCheckPath": { - "target": "com.amazonaws.elasticloadbalancingv2#Path", + "HealthCheckTimeoutSeconds": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckTimeoutSeconds", "traits": { - "smithy.api#documentation": "

[HTTP/HTTPS health checks] The destination for health checks on the targets.

\n

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

\n

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. \n The default is /AWS.ALB/healthcheck.

" + "smithy.api#documentation": "

[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response\n means a failed health check.

\n

With Network Load Balancers, you can't modify this setting.

" } }, - "HealthCheckEnabled": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckEnabled", + "HealthyThresholdCount": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount", "traits": { - "smithy.api#documentation": "

Indicates whether health checks are enabled.

" + "smithy.api#documentation": "

The number of consecutive health checks successes required before considering an\n unhealthy target healthy.

" } }, "UnhealthyThresholdCount": { @@ -3417,6 +3419,9 @@ }, { "value": "TCP_UDP" + }, + { + "value": "GENEVE" } ] } @@ -3441,16 +3446,16 @@ "com.amazonaws.elasticloadbalancingv2#QueryStringKeyValuePair": { "type": "structure", "members": { - "Value": { + "Key": { "target": "com.amazonaws.elasticloadbalancingv2#StringValue", "traits": { - "smithy.api#documentation": "

The value.

" + "smithy.api#documentation": "

The key. You can omit the key.

" } }, - "Key": { + "Value": { "target": "com.amazonaws.elasticloadbalancingv2#StringValue", "traits": { - "smithy.api#documentation": "

The key. You can omit the key.

" + "smithy.api#documentation": "

The value.

" } } }, @@ -3467,17 +3472,10 @@ "com.amazonaws.elasticloadbalancingv2#RedirectActionConfig": { "type": "structure", "members": { - "StatusCode": { - "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionStatusCodeEnum", - "traits": { - "smithy.api#documentation": "

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

", - "smithy.api#required": {} - } - }, - "Query": { - "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionQuery", + "Protocol": { + "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionProtocol", "traits": { - "smithy.api#documentation": "

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include\n the leading \"?\", as it is automatically added. You can specify any of the reserved\n keywords.

" + "smithy.api#documentation": "

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP,\n HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

" } }, "Port": { @@ -3486,22 +3484,29 @@ "smithy.api#documentation": "

The port. You can specify a value from 1 to 65535 or #{port}.

" } }, + "Host": { + "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionHost", + "traits": { + "smithy.api#documentation": "

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

" + } + }, "Path": { "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionPath", "traits": { "smithy.api#documentation": "

The absolute path, starting with the leading \"/\". This component is not percent-encoded.\n The path can contain #{host}, #{path}, and #{port}.

" } }, - "Host": { - "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionHost", + "Query": { + "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionQuery", "traits": { - "smithy.api#documentation": "

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

" + "smithy.api#documentation": "

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include\n the leading \"?\", as it is automatically added. You can specify any of the reserved\n keywords.

" } }, - "Protocol": { - "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionProtocol", + "StatusCode": { + "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionStatusCodeEnum", "traits": { - "smithy.api#documentation": "

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP,\n HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

" + "smithy.api#documentation": "

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

", + "smithy.api#required": {} } } }, @@ -3583,23 +3588,23 @@ } ], "traits": { - "smithy.api#documentation": "

Registers the specified targets with the specified target group.

\n\n

If the target is an EC2 instance, it must be in the running state when you register it.

\n\n

By default, the load balancer routes requests to registered targets using the protocol\n and port for the target group. Alternatively, you can override the port for a target when you\n register it. You can register each EC2 instance or IP address with the same target group\n multiple times using different ports.

\n\n

With a Network Load Balancer, you cannot register instances by instance ID if they have\n the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3,\n and T1. You can register instances of these types by IP address.

\n\n

To remove a target from a target group, use DeregisterTargets.

" + "smithy.api#documentation": "

Registers the specified targets with the specified target group.

\n\n

If the target is an EC2 instance, it must be in the running state when you register it.

\n\n

By default, the load balancer routes requests to registered targets using the protocol\n and port for the target group. Alternatively, you can override the port for a target when you\n register it. You can register each EC2 instance or IP address with the same target group\n multiple times using different ports.

\n\n

With a Network Load Balancer, you cannot register instances by instance ID if they have\n the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3,\n and T1. You can register instances of these types by IP address.

" } }, "com.amazonaws.elasticloadbalancingv2#RegisterTargetsInput": { "type": "structure", "members": { - "Targets": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetDescriptions", + "TargetGroupArn": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { - "smithy.api#documentation": "

The targets.

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

The Amazon Resource Name (ARN) of the target group.

", "smithy.api#required": {} } }, - "TargetGroupArn": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", + "Targets": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetDescriptions", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

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

The targets.

", "smithy.api#required": {} } } @@ -3626,7 +3631,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener.

\n

You can't remove the default certificate for a listener. To replace the default\n certificate, call ModifyListener.

\n

To list the certificates for your listener, use DescribeListenerCertificates.

" + "smithy.api#documentation": "

Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener.

" } }, "com.amazonaws.elasticloadbalancingv2#RemoveListenerCertificatesInput": { @@ -3678,23 +3683,23 @@ } ], "traits": { - "smithy.api#documentation": "

Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags \n for one or more Application Load Balancers, Network Load Balancers, target groups, listeners, or rules.

\n

To list the current tags for your resources, use DescribeTags.

" + "smithy.api#documentation": "

Removes the specified tags from the specified Elastic Load Balancing resources. You can\n remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway\n Load Balancers, target groups, listeners, or rules.

" } }, "com.amazonaws.elasticloadbalancingv2#RemoveTagsInput": { "type": "structure", "members": { - "TagKeys": { - "target": "com.amazonaws.elasticloadbalancingv2#TagKeys", + "ResourceArns": { + "target": "com.amazonaws.elasticloadbalancingv2#ResourceArns", "traits": { - "smithy.api#documentation": "

The tag keys for the tags to remove.

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

The Amazon Resource Name (ARN) of the resource.

", "smithy.api#required": {} } }, - "ResourceArns": { - "target": "com.amazonaws.elasticloadbalancingv2#ResourceArns", + "TagKeys": { + "target": "com.amazonaws.elasticloadbalancingv2#TagKeys", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

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

The tag keys for the tags to remove.

", "smithy.api#required": {} } } @@ -3735,10 +3740,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the rule.

" } }, - "IsDefault": { - "target": "com.amazonaws.elasticloadbalancingv2#IsDefault", + "Priority": { + "target": "com.amazonaws.elasticloadbalancingv2#String", "traits": { - "smithy.api#documentation": "

Indicates whether this is the default rule.

" + "smithy.api#documentation": "

The priority.

" } }, "Conditions": { @@ -3747,17 +3752,17 @@ "smithy.api#documentation": "

The conditions. Each rule can include zero or one of the following conditions:\n http-request-method, host-header, path-pattern,\n and source-ip, and zero or more of the following conditions:\n http-header and query-string.

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

The priority.

" - } - }, "Actions": { "target": "com.amazonaws.elasticloadbalancingv2#Actions", "traits": { "smithy.api#documentation": "

The actions. Each rule must include exactly one of the following types of actions: forward, \n redirect, or fixed-response, and it must be the last action to be performed.

" } + }, + "IsDefault": { + "target": "com.amazonaws.elasticloadbalancingv2#IsDefault", + "traits": { + "smithy.api#documentation": "

Indicates whether this is the default rule.

" + } } }, "traits": { @@ -3776,34 +3781,28 @@ "com.amazonaws.elasticloadbalancingv2#RuleCondition": { "type": "structure", "members": { - "HostHeaderConfig": { - "target": "com.amazonaws.elasticloadbalancingv2#HostHeaderConditionConfig", - "traits": { - "smithy.api#documentation": "

Information for a host header condition.\n Specify only when Field is host-header.

" - } - }, - "PathPatternConfig": { - "target": "com.amazonaws.elasticloadbalancingv2#PathPatternConditionConfig", - "traits": { - "smithy.api#documentation": "

Information for a path pattern condition.\n Specify only when Field is path-pattern.

" - } - }, "Field": { "target": "com.amazonaws.elasticloadbalancingv2#ConditionFieldName", "traits": { "smithy.api#documentation": "

The field in the HTTP request. The following are the possible values:

\n " } }, - "HttpRequestMethodConfig": { - "target": "com.amazonaws.elasticloadbalancingv2#HttpRequestMethodConditionConfig", + "Values": { + "target": "com.amazonaws.elasticloadbalancingv2#ListOfString", "traits": { - "smithy.api#documentation": "

Information for an HTTP method condition.\n Specify only when Field is http-request-method.

" + "smithy.api#documentation": "

The condition value. \n Specify only when Field is host-header or path-pattern. \n Alternatively, to specify multiple host names or multiple path patterns, \n use HostHeaderConfig or PathPatternConfig.

\n

If Field is host-header and you are not using HostHeaderConfig, \n you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be \n up to 128 characters in length, and can contain any of the following characters.

\n \n

If Field is path-pattern and you are not using PathPatternConfig, \n you can specify a single path pattern (for example, /img/*) in Values. A path pattern is \n case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

\n " } }, - "SourceIpConfig": { - "target": "com.amazonaws.elasticloadbalancingv2#SourceIpConditionConfig", + "HostHeaderConfig": { + "target": "com.amazonaws.elasticloadbalancingv2#HostHeaderConditionConfig", "traits": { - "smithy.api#documentation": "

Information for a source IP condition.\n Specify only when Field is source-ip.

" + "smithy.api#documentation": "

Information for a host header condition.\n Specify only when Field is host-header.

" + } + }, + "PathPatternConfig": { + "target": "com.amazonaws.elasticloadbalancingv2#PathPatternConditionConfig", + "traits": { + "smithy.api#documentation": "

Information for a path pattern condition.\n Specify only when Field is path-pattern.

" } }, "HttpHeaderConfig": { @@ -3818,10 +3817,16 @@ "smithy.api#documentation": "

Information for a query string condition.\n Specify only when Field is query-string.

" } }, - "Values": { - "target": "com.amazonaws.elasticloadbalancingv2#ListOfString", + "HttpRequestMethodConfig": { + "target": "com.amazonaws.elasticloadbalancingv2#HttpRequestMethodConditionConfig", "traits": { - "smithy.api#documentation": "

The condition value. \n Specify only when Field is host-header or path-pattern. \n Alternatively, to specify multiple host names or multiple path patterns, \n use HostHeaderConfig or PathPatternConfig.

\n

If Field is host-header and you are not using HostHeaderConfig, \n you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be \n up to 128 characters in length, and can contain any of the following characters.

\n \n

If Field is path-pattern and you are not using PathPatternConfig, \n you can specify a single path pattern (for example, /img/*) in Values. A path pattern is \n case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

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

Information for an HTTP method condition.\n Specify only when Field is http-request-method.

" + } + }, + "SourceIpConfig": { + "target": "com.amazonaws.elasticloadbalancingv2#SourceIpConditionConfig", + "traits": { + "smithy.api#documentation": "

Information for a source IP condition.\n Specify only when Field is source-ip.

" } } }, @@ -3867,17 +3872,17 @@ "com.amazonaws.elasticloadbalancingv2#RulePriorityPair": { "type": "structure", "members": { - "Priority": { - "target": "com.amazonaws.elasticloadbalancingv2#RulePriority", - "traits": { - "smithy.api#documentation": "

The rule priority.

" - } - }, "RuleArn": { "target": "com.amazonaws.elasticloadbalancingv2#RuleArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the rule.

" } + }, + "Priority": { + "target": "com.amazonaws.elasticloadbalancingv2#RulePriority", + "traits": { + "smithy.api#documentation": "

The rule priority.

" + } } }, "traits": { @@ -3938,17 +3943,17 @@ "com.amazonaws.elasticloadbalancingv2#SetIpAddressTypeInput": { "type": "structure", "members": { - "IpAddressType": { - "target": "com.amazonaws.elasticloadbalancingv2#IpAddressType", + "LoadBalancerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { - "smithy.api#documentation": "

The IP address type. The possible values are ipv4 (for IPv4 addresses) and\n dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use\n ipv4. Network Load Balancers must use ipv4.

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

The Amazon Resource Name (ARN) of the load balancer.

", "smithy.api#required": {} } }, - "LoadBalancerArn": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", + "IpAddressType": { + "target": "com.amazonaws.elasticloadbalancingv2#IpAddressType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

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

The IP address type. The possible values are ipv4 (for IPv4 addresses) and\n dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use\n ipv4.

", "smithy.api#required": {} } } @@ -4031,7 +4036,7 @@ } ], "traits": { - "smithy.api#documentation": "

Associates the specified security groups with the specified Application Load Balancer.\n The specified security groups override the previously associated security groups.

\n

You can't specify a security group for a Network Load Balancer.

" + "smithy.api#documentation": "

Associates the specified security groups with the specified Application Load Balancer.\n The specified security groups override the previously associated security groups.

\n

You can't specify a security group for a Network Load Balancer or Gateway Load\n Balancer.

" } }, "com.amazonaws.elasticloadbalancingv2#SetSecurityGroupsInput": { @@ -4093,16 +4098,17 @@ } ], "traits": { - "smithy.api#documentation": "

Enables the Availability Zones for the specified public subnets for the specified \n load balancer. The specified subnets replace the previously enabled subnets.

\n

When you specify subnets for a Network Load Balancer, you must include all\n subnets that were enabled previously, with their existing configurations, plus any \n additional subnets.

" + "smithy.api#documentation": "

Enables the Availability Zones for the specified public subnets for the specified \n Application Load Balancer or Network Load Balancer. The specified subnets replace the \n previously enabled subnets.

\n

When you specify subnets for a Network Load Balancer, you must include all\n subnets that were enabled previously, with their existing configurations, plus any \n additional subnets.

" } }, "com.amazonaws.elasticloadbalancingv2#SetSubnetsInput": { "type": "structure", "members": { - "SubnetMappings": { - "target": "com.amazonaws.elasticloadbalancingv2#SubnetMappings", + "LoadBalancerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { - "smithy.api#documentation": "

The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must \n specify either subnets or subnet mappings.

\n

[Application Load Balancers] You must specify subnets from at least two Availability Zones.\n You cannot specify Elastic IP addresses for your subnets.

\n

[Network Load Balancers] You can specify subnets from one or more Availability Zones. If you \n need static IP addresses for your internet-facing load balancer, you can specify one Elastic IP \n address per subnet. For internal load balancers, you can specify one private IP address per \n subnet from the IPv4 range of the subnet.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", + "smithy.api#required": {} } }, "Subnets": { @@ -4111,11 +4117,10 @@ "smithy.api#documentation": "

The IDs of the public subnets. You must specify subnets from at least two Availability Zones.\n You can specify only one subnet per Availability Zone. You must specify either subnets or\n subnet mappings.

" } }, - "LoadBalancerArn": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", + "SubnetMappings": { + "target": "com.amazonaws.elasticloadbalancingv2#SubnetMappings", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

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

The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must \n specify either subnets or subnet mappings.

\n

[Application Load Balancers] You must specify subnets from at least two Availability Zones.\n You cannot specify Elastic IP addresses for your subnets.

\n

[Network Load Balancers] You can specify subnets from one or more Availability Zones. If you \n need static IP addresses for your internet-facing load balancer, you can specify one Elastic IP \n address per subnet. For internal load balancers, you can specify one private IP address per \n subnet from the IPv4 range of the subnet.

" } } } @@ -4154,12 +4159,6 @@ "com.amazonaws.elasticloadbalancingv2#SslPolicy": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyName", - "traits": { - "smithy.api#documentation": "

The name of the policy.

" - } - }, "SslProtocols": { "target": "com.amazonaws.elasticloadbalancingv2#SslProtocols", "traits": { @@ -4171,6 +4170,12 @@ "traits": { "smithy.api#documentation": "

The ciphers.

" } + }, + "Name": { + "target": "com.amazonaws.elasticloadbalancingv2#SslPolicyName", + "traits": { + "smithy.api#documentation": "

The name of the policy.

" + } } }, "traits": { @@ -4210,10 +4215,10 @@ "com.amazonaws.elasticloadbalancingv2#SubnetMapping": { "type": "structure", "members": { - "PrivateIPv4Address": { - "target": "com.amazonaws.elasticloadbalancingv2#PrivateIPv4Address", + "SubnetId": { + "target": "com.amazonaws.elasticloadbalancingv2#SubnetId", "traits": { - "smithy.api#documentation": "

[Network Load Balancers] The private IPv4 address for an internal load balancer.

" + "smithy.api#documentation": "

The ID of the subnet.

" } }, "AllocationId": { @@ -4222,10 +4227,10 @@ "smithy.api#documentation": "

[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.

" } }, - "SubnetId": { - "target": "com.amazonaws.elasticloadbalancingv2#SubnetId", + "PrivateIPv4Address": { + "target": "com.amazonaws.elasticloadbalancingv2#PrivateIPv4Address", "traits": { - "smithy.api#documentation": "

The ID of the subnet.

" + "smithy.api#documentation": "

[Network Load Balancers] The private IPv4 address for an internal load balancer.

" } } }, @@ -4282,17 +4287,17 @@ "com.amazonaws.elasticloadbalancingv2#TagDescription": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.elasticloadbalancingv2#TagList", - "traits": { - "smithy.api#documentation": "

Information about the tags.

" - } - }, "ResourceArn": { "target": "com.amazonaws.elasticloadbalancingv2#ResourceArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" } + }, + "Tags": { + "target": "com.amazonaws.elasticloadbalancingv2#TagList", + "traits": { + "smithy.api#documentation": "

Information about the tags.

" + } } }, "traits": { @@ -4345,12 +4350,6 @@ "com.amazonaws.elasticloadbalancingv2#TargetDescription": { "type": "structure", "members": { - "AvailabilityZone": { - "target": "com.amazonaws.elasticloadbalancingv2#ZoneName", - "traits": { - "smithy.api#documentation": "

An Availability Zone or all. This determines whether the target receives\n traffic from the load balancer nodes in the specified Availability Zone or from all enabled\n Availability Zones for the load balancer.

\n

This parameter is not supported if the target type of the target group is instance.

\n

If the target type is ip and the IP address is in a subnet of the VPC for the \n target group, the Availability Zone is automatically detected and this parameter is optional. \n If the IP address is outside the VPC, this parameter is required.

\n

With an Application Load Balancer, if the target type is ip and the IP address \n is outside the VPC for the target group, the only supported value is all.

\n

If the target type is lambda, this parameter is optional and the only supported value is all.

" - } - }, "Id": { "target": "com.amazonaws.elasticloadbalancingv2#TargetId", "traits": { @@ -4361,7 +4360,13 @@ "Port": { "target": "com.amazonaws.elasticloadbalancingv2#Port", "traits": { - "smithy.api#documentation": "

The port on which the target is listening. Not used if the target is a Lambda function.

" + "smithy.api#documentation": "

The port on which the target is listening.\n If the target group protocol is GENEVE, the supported port is 6081.\n Not used if the target is a Lambda function.

" + } + }, + "AvailabilityZone": { + "target": "com.amazonaws.elasticloadbalancingv2#ZoneName", + "traits": { + "smithy.api#documentation": "

An Availability Zone or all. This determines whether the target receives\n traffic from the load balancer nodes in the specified Availability Zone or from all enabled\n Availability Zones for the load balancer.

\n

This parameter is not supported if the target type of the target group is instance.

\n

If the target type is ip and the IP address is in a subnet of the VPC for the \n target group, the Availability Zone is automatically detected and this parameter is optional. \n If the IP address is outside the VPC, this parameter is required.

\n

With an Application Load Balancer, if the target type is ip and the IP address \n is outside the VPC for the target group, the only supported value is all.

\n

If the target type is lambda, this parameter is optional and the only supported value is all.

" } } }, @@ -4378,52 +4383,52 @@ "com.amazonaws.elasticloadbalancingv2#TargetGroup": { "type": "structure", "members": { + "TargetGroupArn": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

" + } + }, "TargetGroupName": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupName", "traits": { "smithy.api#documentation": "

The name of the target group.

" } }, - "VpcId": { - "target": "com.amazonaws.elasticloadbalancingv2#VpcId", + "Protocol": { + "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

The ID of the VPC for the targets.

" + "smithy.api#documentation": "

The protocol to use for routing traffic to the targets.

" } }, - "HealthCheckPort": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckPort", + "Port": { + "target": "com.amazonaws.elasticloadbalancingv2#Port", "traits": { - "smithy.api#documentation": "

The port to use to connect with the target.

" + "smithy.api#documentation": "

The port on which the targets are listening. Not used if the target is a Lambda function.

" } }, - "TargetType": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetTypeEnum", + "VpcId": { + "target": "com.amazonaws.elasticloadbalancingv2#VpcId", "traits": { - "smithy.api#documentation": "

The type of target that you must specify when registering targets with this target\n group. The possible values are instance (targets are specified by instance ID) or\n ip (targets are specified by IP address).

" + "smithy.api#documentation": "

The ID of the VPC for the targets.

" } }, "HealthCheckProtocol": { "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

The protocol to use to connect with the target.

" - } - }, - "HealthyThresholdCount": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount", - "traits": { - "smithy.api#documentation": "

The number of consecutive health checks successes required before considering an\n unhealthy target healthy.

" + "smithy.api#documentation": "

The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols \n are not supported for health checks.

" } }, - "Protocol": { - "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", + "HealthCheckPort": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckPort", "traits": { - "smithy.api#documentation": "

The protocol to use for routing traffic to the targets.

" + "smithy.api#documentation": "

The port to use to connect with the target.

" } }, - "TargetGroupArn": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", + "HealthCheckEnabled": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckEnabled", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

" + "smithy.api#documentation": "

Indicates whether health checks are enabled.

" } }, "HealthCheckIntervalSeconds": { @@ -4432,34 +4437,16 @@ "smithy.api#documentation": "

The approximate amount of time, in seconds, between health checks of an individual\n target.

" } }, - "LoadBalancerArns": { - "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArns", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the load balancers that route traffic to this target\n group.

" - } - }, "HealthCheckTimeoutSeconds": { "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckTimeoutSeconds", "traits": { "smithy.api#documentation": "

The amount of time, in seconds, during which no response means a failed health\n check.

" } }, - "HealthCheckPath": { - "target": "com.amazonaws.elasticloadbalancingv2#Path", - "traits": { - "smithy.api#documentation": "

The destination for health checks on the targets.

" - } - }, - "Port": { - "target": "com.amazonaws.elasticloadbalancingv2#Port", - "traits": { - "smithy.api#documentation": "

The port on which the targets are listening. Not used if the target is a Lambda function.

" - } - }, - "ProtocolVersion": { - "target": "com.amazonaws.elasticloadbalancingv2#ProtocolVersion", + "HealthyThresholdCount": { + "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount", "traits": { - "smithy.api#documentation": "

[HTTP/HTTPS protocol] The protocol version. The possible values are GRPC,\n HTTP1, and HTTP2.

" + "smithy.api#documentation": "

The number of consecutive health checks successes required before considering an\n unhealthy target healthy.

" } }, "UnhealthyThresholdCount": { @@ -4468,10 +4455,10 @@ "smithy.api#documentation": "

The number of consecutive health check failures required before considering the target\n unhealthy.

" } }, - "HealthCheckEnabled": { - "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckEnabled", + "HealthCheckPath": { + "target": "com.amazonaws.elasticloadbalancingv2#Path", "traits": { - "smithy.api#documentation": "

Indicates whether health checks are enabled.

" + "smithy.api#documentation": "

The destination for health checks on the targets.

" } }, "Matcher": { @@ -4479,6 +4466,24 @@ "traits": { "smithy.api#documentation": "

The HTTP or gRPC codes to use when checking for a successful response from a target.

" } + }, + "LoadBalancerArns": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArns", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the load balancers that route traffic to this target\n group.

" + } + }, + "TargetType": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetTypeEnum", + "traits": { + "smithy.api#documentation": "

The type of target that you must specify when registering targets with this target\n group. The possible values are instance (register targets by instance ID), \n ip (register targets by IP address), or lambda (register a \n single Lambda function as a target).

" + } + }, + "ProtocolVersion": { + "target": "com.amazonaws.elasticloadbalancingv2#ProtocolVersion", + "traits": { + "smithy.api#documentation": "

[HTTP/HTTPS protocol] The protocol version. The possible values are GRPC,\n HTTP1, and HTTP2.

" + } } }, "traits": { @@ -4513,7 +4518,7 @@ "Key": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupAttributeKey", "traits": { - "smithy.api#documentation": "

The name of the attribute.

\n\n

The following attributes are supported by both Application Load Balancers and Network Load Balancers:

\n \n\n

The following attributes are supported only if the load balancer is an Application Load Balancer\n and the target is an instance or an IP address:

\n \n\n

The following attribute is supported only if the load balancer is an Application Load Balancer \n and the target is a Lambda function:

\n \n\n

The following attribute is supported only by Network Load Balancers:

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

The name of the attribute.

\n\n

The following attribute is supported by all load balancers:

\n \n\n

The following attributes are supported by both Application Load Balancers and Network Load Balancers:

\n \n\n

The following attributes are supported only if the load balancer is an Application Load Balancer\n and the target is an instance or an IP address:

\n \n\n

The following attribute is supported only if the load balancer is an Application Load Balancer \n and the target is a Lambda function:

\n \n\n

The following attribute is supported only by Network Load Balancers:

\n " } }, "Value": { @@ -4641,22 +4646,22 @@ "com.amazonaws.elasticloadbalancingv2#TargetHealth": { "type": "structure", "members": { - "Description": { - "target": "com.amazonaws.elasticloadbalancingv2#Description", + "State": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetHealthStateEnum", "traits": { - "smithy.api#documentation": "

A description of the target health that provides additional details. If the state is\n healthy, a description is not provided.

" + "smithy.api#documentation": "

The state of the target.

" } }, "Reason": { "target": "com.amazonaws.elasticloadbalancingv2#TargetHealthReasonEnum", "traits": { - "smithy.api#documentation": "

The reason code.

\n\n

If the target state is healthy, a reason code is not provided.

\n \n

If the target state is initial, the reason code can be one of the\n following values:

\n \n\n

If the target state is unhealthy, the reason code can be one of the\n following values:

\n \n\n

If the target state is unused, the reason code can be one of the following values:

\n \n\n

If the target state is draining, the reason code can be the following value:

\n \n\n

If the target state is unavailable, the reason code can be the following value:

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

The reason code.

\n\n

If the target state is healthy, a reason code is not provided.

\n \n

If the target state is initial, the reason code can be one of the\n following values:

\n \n\n

If the target state is unhealthy, the reason code can be one of the\n following values:

\n \n\n

If the target state is unused, the reason code can be one of the following values:

\n \n\n

If the target state is draining, the reason code can be the following value:

\n \n\n

If the target state is unavailable, the reason code can be the following value:

\n " } }, - "State": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetHealthStateEnum", + "Description": { + "target": "com.amazonaws.elasticloadbalancingv2#Description", "traits": { - "smithy.api#documentation": "

The state of the target.

" + "smithy.api#documentation": "

A description of the target health that provides additional details. If the state is\n healthy, a description is not provided.

" } } }, @@ -4667,10 +4672,10 @@ "com.amazonaws.elasticloadbalancingv2#TargetHealthDescription": { "type": "structure", "members": { - "TargetHealth": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetHealth", + "Target": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetDescription", "traits": { - "smithy.api#documentation": "

The health information for the target.

" + "smithy.api#documentation": "

The description of the target.

" } }, "HealthCheckPort": { @@ -4679,10 +4684,10 @@ "smithy.api#documentation": "

The port to use to connect with the target.

" } }, - "Target": { - "target": "com.amazonaws.elasticloadbalancingv2#TargetDescription", + "TargetHealth": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetHealth", "traits": { - "smithy.api#documentation": "

The description of the target.

" + "smithy.api#documentation": "

The health information for the target.

" } } }, diff --git a/codegen/sdk-codegen/aws-models/elasticsearch-service.2015-01-01.json b/codegen/sdk-codegen/aws-models/elasticsearch-service.2015-01-01.json index 38c8ffc293e8..ca23dc64c822 100644 --- a/codegen/sdk-codegen/aws-models/elasticsearch-service.2015-01-01.json +++ b/codegen/sdk-codegen/aws-models/elasticsearch-service.2015-01-01.json @@ -394,6 +394,9 @@ { "target": "com.amazonaws.elasticsearchservice#GetCompatibleElasticsearchVersions" }, + { + "target": "com.amazonaws.elasticsearchservice#GetPackageVersionHistory" + }, { "target": "com.amazonaws.elasticsearchservice#GetUpgradeHistory" }, @@ -433,6 +436,9 @@ { "target": "com.amazonaws.elasticsearchservice#UpdateElasticsearchDomainConfig" }, + { + "target": "com.amazonaws.elasticsearchservice#UpdatePackage" + }, { "target": "com.amazonaws.elasticsearchservice#UpgradeElasticsearchDomain" } @@ -680,6 +686,15 @@ "smithy.api#documentation": "

Status of the Cognito options for the specified Elasticsearch domain.

" } }, + "com.amazonaws.elasticsearchservice#CommitMessage": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 160 + } + } + }, "com.amazonaws.elasticsearchservice#CompatibleElasticsearchVersionsList": { "type": "list", "member": { @@ -2345,6 +2360,9 @@ "smithy.api#documentation": "

State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.

" } }, + "PackageVersion": { + "target": "com.amazonaws.elasticsearchservice#PackageVersion" + }, "ReferencePath": { "target": "com.amazonaws.elasticsearchservice#ReferencePath", "traits": { @@ -3181,6 +3199,95 @@ "smithy.api#documentation": "

\n Container for response returned by\n \n GetCompatibleElasticsearchVersions\n \n operation.\n

" } }, + "com.amazonaws.elasticsearchservice#GetPackageVersionHistory": { + "type": "operation", + "input": { + "target": "com.amazonaws.elasticsearchservice#GetPackageVersionHistoryRequest" + }, + "output": { + "target": "com.amazonaws.elasticsearchservice#GetPackageVersionHistoryResponse" + }, + "errors": [ + { + "target": "com.amazonaws.elasticsearchservice#AccessDeniedException" + }, + { + "target": "com.amazonaws.elasticsearchservice#BaseException" + }, + { + "target": "com.amazonaws.elasticsearchservice#InternalException" + }, + { + "target": "com.amazonaws.elasticsearchservice#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.elasticsearchservice#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a list of versions of the package, along with their creation time and commit message.

", + "smithy.api#http": { + "method": "GET", + "uri": "/2015-01-01/packages/{PackageID}/history", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.elasticsearchservice#GetPackageVersionHistoryRequest": { + "type": "structure", + "members": { + "PackageID": { + "target": "com.amazonaws.elasticsearchservice#PackageID", + "traits": { + "smithy.api#documentation": "

Returns an audit history of versions of the package.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.elasticsearchservice#MaxResults", + "traits": { + "smithy.api#documentation": "

Limits results to a maximum number of versions.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.elasticsearchservice#NextToken", + "traits": { + "smithy.api#documentation": "

Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

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

\n Container for request parameters to\n \n GetPackageVersionHistory\n \n operation.\n

" + } + }, + "com.amazonaws.elasticsearchservice#GetPackageVersionHistoryResponse": { + "type": "structure", + "members": { + "PackageID": { + "target": "com.amazonaws.elasticsearchservice#PackageID" + }, + "PackageVersionHistoryList": { + "target": "com.amazonaws.elasticsearchservice#PackageVersionHistoryList", + "traits": { + "smithy.api#documentation": "

List of PackageVersionHistory objects.

" + } + }, + "NextToken": { + "target": "com.amazonaws.elasticsearchservice#String" + } + }, + "traits": { + "smithy.api#documentation": "

\n Container for response returned by\n \n GetPackageVersionHistory\n \n operation.\n

" + } + }, "com.amazonaws.elasticsearchservice#GetUpgradeHistory": { "type": "operation", "input": { @@ -4436,6 +4543,12 @@ "smithy.api#documentation": "

Timestamp which tells creation date of the package.

" } }, + "LastUpdatedAt": { + "target": "com.amazonaws.elasticsearchservice#LastUpdated" + }, + "AvailablePackageVersion": { + "target": "com.amazonaws.elasticsearchservice#PackageVersion" + }, "ErrorDetails": { "target": "com.amazonaws.elasticsearchservice#ErrorDetails", "traits": { @@ -4527,6 +4640,41 @@ ] } }, + "com.amazonaws.elasticsearchservice#PackageVersion": { + "type": "string" + }, + "com.amazonaws.elasticsearchservice#PackageVersionHistory": { + "type": "structure", + "members": { + "PackageVersion": { + "target": "com.amazonaws.elasticsearchservice#PackageVersion", + "traits": { + "smithy.api#documentation": "

Version of the package.

" + } + }, + "CommitMessage": { + "target": "com.amazonaws.elasticsearchservice#CommitMessage", + "traits": { + "smithy.api#documentation": "

A message associated with the version.

" + } + }, + "CreatedAt": { + "target": "com.amazonaws.elasticsearchservice#CreatedAt", + "traits": { + "smithy.api#documentation": "

Timestamp which tells creation time of the package version.

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

Details of a package version.

" + } + }, + "com.amazonaws.elasticsearchservice#PackageVersionHistoryList": { + "type": "list", + "member": { + "target": "com.amazonaws.elasticsearchservice#PackageVersionHistory" + } + }, "com.amazonaws.elasticsearchservice#Password": { "type": "string", "traits": { @@ -5563,6 +5711,90 @@ "smithy.api#documentation": "

The result of an UpdateElasticsearchDomain request. Contains the status of the Elasticsearch domain being updated.

" } }, + "com.amazonaws.elasticsearchservice#UpdatePackage": { + "type": "operation", + "input": { + "target": "com.amazonaws.elasticsearchservice#UpdatePackageRequest" + }, + "output": { + "target": "com.amazonaws.elasticsearchservice#UpdatePackageResponse" + }, + "errors": [ + { + "target": "com.amazonaws.elasticsearchservice#AccessDeniedException" + }, + { + "target": "com.amazonaws.elasticsearchservice#BaseException" + }, + { + "target": "com.amazonaws.elasticsearchservice#InternalException" + }, + { + "target": "com.amazonaws.elasticsearchservice#LimitExceededException" + }, + { + "target": "com.amazonaws.elasticsearchservice#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.elasticsearchservice#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates a package for use with Amazon ES domains.

", + "smithy.api#http": { + "method": "POST", + "uri": "/2015-01-01/packages/update", + "code": 200 + } + } + }, + "com.amazonaws.elasticsearchservice#UpdatePackageRequest": { + "type": "structure", + "members": { + "PackageID": { + "target": "com.amazonaws.elasticsearchservice#PackageID", + "traits": { + "smithy.api#documentation": "

Unique identifier for the package.

", + "smithy.api#required": {} + } + }, + "PackageSource": { + "target": "com.amazonaws.elasticsearchservice#PackageSource", + "traits": { + "smithy.api#required": {} + } + }, + "PackageDescription": { + "target": "com.amazonaws.elasticsearchservice#PackageDescription", + "traits": { + "smithy.api#documentation": "

New description of the package.

" + } + }, + "CommitMessage": { + "target": "com.amazonaws.elasticsearchservice#CommitMessage", + "traits": { + "smithy.api#documentation": "

An info message for the new version which will be shown as part of GetPackageVersionHistoryResponse.

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

\n Container for request parameters to\n \n UpdatePackage\n \n operation.\n

" + } + }, + "com.amazonaws.elasticsearchservice#UpdatePackageResponse": { + "type": "structure", + "members": { + "PackageDetails": { + "target": "com.amazonaws.elasticsearchservice#PackageDetails", + "traits": { + "smithy.api#documentation": "

Information about the package PackageDetails.

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

\n Container for response returned by\n \n UpdatePackage\n \n operation.\n

" + } + }, "com.amazonaws.elasticsearchservice#UpdateTimestamp": { "type": "timestamp" }, diff --git a/codegen/sdk-codegen/aws-models/forecast.2018-06-26.json b/codegen/sdk-codegen/aws-models/forecast.2018-06-26.json index 29186a176ade..98ae55d5b2d0 100644 --- a/codegen/sdk-codegen/aws-models/forecast.2018-06-26.json +++ b/codegen/sdk-codegen/aws-models/forecast.2018-06-26.json @@ -218,12 +218,6 @@ "com.amazonaws.forecast#ContinuousParameterRange": { "type": "structure", "members": { - "ScalingType": { - "target": "com.amazonaws.forecast#ScalingType", - "traits": { - "smithy.api#documentation": "

The scale that hyperparameter tuning uses to search the hyperparameter range.\n Valid values:

\n
\n
Auto
\n
\n

Amazon Forecast hyperparameter tuning chooses the best scale for the hyperparameter.

\n
\n
Linear
\n
\n

Hyperparameter tuning searches the values in the hyperparameter range by using a\n linear scale.

\n
\n
Logarithmic
\n
\n

Hyperparameter tuning searches the values in the hyperparameter range by using a\n logarithmic scale.

\n

Logarithmic scaling works only for ranges that have values greater than 0.

\n
\n
ReverseLogarithmic
\n
\n

hyperparameter tuning searches the values in the hyperparameter range by using a\n reverse logarithmic scale.

\n

Reverse logarithmic scaling works only for ranges that are entirely within the\n range 0 <= x < 1.0.

\n
\n
\n

For information about choosing a hyperparameter scale, see\n Hyperparameter Scaling.\n One of the following values:

" - } - }, "Name": { "target": "com.amazonaws.forecast#Name", "traits": { @@ -231,19 +225,25 @@ "smithy.api#required": {} } }, - "MinValue": { + "MaxValue": { "target": "com.amazonaws.forecast#Double", "traits": { - "smithy.api#documentation": "

The minimum tunable value of the hyperparameter.

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

The maximum tunable value of the hyperparameter.

", "smithy.api#required": {} } }, - "MaxValue": { + "MinValue": { "target": "com.amazonaws.forecast#Double", "traits": { - "smithy.api#documentation": "

The maximum tunable value of the hyperparameter.

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

The minimum tunable value of the hyperparameter.

", "smithy.api#required": {} } + }, + "ScalingType": { + "target": "com.amazonaws.forecast#ScalingType", + "traits": { + "smithy.api#documentation": "

The scale that hyperparameter tuning uses to search the hyperparameter range.\n Valid values:

\n
\n
Auto
\n
\n

Amazon Forecast hyperparameter tuning chooses the best scale for the hyperparameter.

\n
\n
Linear
\n
\n

Hyperparameter tuning searches the values in the hyperparameter range by using a\n linear scale.

\n
\n
Logarithmic
\n
\n

Hyperparameter tuning searches the values in the hyperparameter range by using a\n logarithmic scale.

\n

Logarithmic scaling works only for ranges that have values greater than 0.

\n
\n
ReverseLogarithmic
\n
\n

hyperparameter tuning searches the values in the hyperparameter range by using a\n reverse logarithmic scale.

\n

Reverse logarithmic scaling works only for ranges that are entirely within the\n range 0 <= x < 1.0.

\n
\n
\n

For information about choosing a hyperparameter scale, see\n Hyperparameter Scaling.\n One of the following values:

" + } } }, "traits": { @@ -311,18 +311,12 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a dataset group, which holds a collection of related datasets. You can add\n datasets to the dataset group when you create the dataset group, or later by using the UpdateDatasetGroup operation.

\n

After creating a dataset group and adding datasets, you use the dataset group when you\n create a predictor. For more information, see howitworks-datasets-groups.

\n

To get a list of all your datasets groups, use the ListDatasetGroups\n operation.

\n \n

The Status of a dataset group must be ACTIVE before you can\n create use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.

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

Creates a dataset group, which holds a collection of related datasets. You can add\n datasets to the dataset group when you create the dataset group, or later by using the UpdateDatasetGroup operation.

\n

After creating a dataset group and adding datasets, you use the dataset group when you\n create a predictor. For more information, see howitworks-datasets-groups.

\n

To get a list of all your datasets groups, use the ListDatasetGroups\n operation.

\n \n

The Status of a dataset group must be ACTIVE before you can\n use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.

\n
" } }, "com.amazonaws.forecast#CreateDatasetGroupRequest": { "type": "structure", "members": { - "DatasetArns": { - "target": "com.amazonaws.forecast#ArnList", - "traits": { - "smithy.api#documentation": "

An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the\n dataset group.

" - } - }, "DatasetGroupName": { "target": "com.amazonaws.forecast#Name", "traits": { @@ -330,18 +324,24 @@ "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.forecast#Tags", - "traits": { - "smithy.api#documentation": "

The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

\n " - } - }, "Domain": { "target": "com.amazonaws.forecast#Domain", "traits": { "smithy.api#documentation": "

The domain associated with the dataset group. When you add a dataset to a dataset group,\n this value and the value specified for the Domain parameter of the CreateDataset operation must match.

\n

The Domain and DatasetType that you choose determine the fields\n that must be present in training data that you import to a dataset. For example, if you choose\n the RETAIL domain and TARGET_TIME_SERIES as the\n DatasetType, Amazon Forecast requires that item_id,\n timestamp, and demand fields are present in your data. For more\n information, see howitworks-datasets-groups.

", "smithy.api#required": {} } + }, + "DatasetArns": { + "target": "com.amazonaws.forecast#ArnList", + "traits": { + "smithy.api#documentation": "

An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the\n dataset group.

" + } + }, + "Tags": { + "target": "com.amazonaws.forecast#Tags", + "traits": { + "smithy.api#documentation": "

The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

\n " + } } } }, @@ -395,12 +395,6 @@ "smithy.api#required": {} } }, - "TimestampFormat": { - "target": "com.amazonaws.forecast#TimestampFormat", - "traits": { - "smithy.api#documentation": "

The format of timestamps in the dataset. The format that you specify depends on the\n DataFrequency specified when the dataset was created. The following formats are\n supported

\n \n

If the format isn't specified, Amazon Forecast expects the format to be \"yyyy-MM-dd\n HH:mm:ss\".

" - } - }, "DatasetArn": { "target": "com.amazonaws.forecast#Arn", "traits": { @@ -408,18 +402,24 @@ "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.forecast#Tags", - "traits": { - "smithy.api#documentation": "

The optional metadata that you apply to the dataset import job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

\n " - } - }, "DataSource": { "target": "com.amazonaws.forecast#DataSource", "traits": { "smithy.api#documentation": "

The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast\n can assume to access the data. The training data must be stored in an Amazon S3 bucket.

\n

If encryption is used, DataSource must include an AWS Key Management Service (KMS) key and the\n IAM role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must\n match those specified in the EncryptionConfig parameter of the CreateDataset operation.

", "smithy.api#required": {} } + }, + "TimestampFormat": { + "target": "com.amazonaws.forecast#TimestampFormat", + "traits": { + "smithy.api#documentation": "

The format of timestamps in the dataset. The format that you specify depends on the\n DataFrequency specified when the dataset was created. The following formats are\n supported

\n \n

If the format isn't specified, Amazon Forecast expects the format to be \"yyyy-MM-dd\n HH:mm:ss\".

" + } + }, + "Tags": { + "target": "com.amazonaws.forecast#Tags", + "traits": { + "smithy.api#documentation": "

The optional metadata that you apply to the dataset import job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

\n " + } } } }, @@ -437,23 +437,18 @@ "com.amazonaws.forecast#CreateDatasetRequest": { "type": "structure", "members": { - "Domain": { - "target": "com.amazonaws.forecast#Domain", + "DatasetName": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

The domain associated with the dataset. When you add a dataset to a dataset group, this\n value and the value specified for the Domain parameter of the CreateDatasetGroup operation must match.

\n

The Domain and DatasetType that you choose determine the fields\n that must be present in the training data that you import to the dataset. For example, if you\n choose the RETAIL domain and TARGET_TIME_SERIES as the\n DatasetType, Amazon Forecast requires item_id, timestamp,\n and demand fields to be present in your data. For more information, see howitworks-datasets-groups.

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

A name for the dataset.

", "smithy.api#required": {} } }, - "EncryptionConfig": { - "target": "com.amazonaws.forecast#EncryptionConfig", - "traits": { - "smithy.api#documentation": "

An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access\n the key.

" - } - }, - "Tags": { - "target": "com.amazonaws.forecast#Tags", + "Domain": { + "target": "com.amazonaws.forecast#Domain", "traits": { - "smithy.api#documentation": "

The optional metadata that you apply to the dataset to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

The domain associated with the dataset. When you add a dataset to a dataset group, this\n value and the value specified for the Domain parameter of the CreateDatasetGroup operation must match.

\n

The Domain and DatasetType that you choose determine the fields\n that must be present in the training data that you import to the dataset. For example, if you\n choose the RETAIL domain and TARGET_TIME_SERIES as the\n DatasetType, Amazon Forecast requires item_id, timestamp,\n and demand fields to be present in your data. For more information, see howitworks-datasets-groups.

", + "smithy.api#required": {} } }, "DatasetType": { @@ -463,6 +458,12 @@ "smithy.api#required": {} } }, + "DataFrequency": { + "target": "com.amazonaws.forecast#Frequency", + "traits": { + "smithy.api#documentation": "

The frequency of data collection. This parameter is required for RELATED_TIME_SERIES\n datasets.

\n

Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes),\n 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example,\n \"D\" indicates every day and \"15min\" indicates every 15 minutes.

" + } + }, "Schema": { "target": "com.amazonaws.forecast#Schema", "traits": { @@ -470,17 +471,16 @@ "smithy.api#required": {} } }, - "DataFrequency": { - "target": "com.amazonaws.forecast#Frequency", + "EncryptionConfig": { + "target": "com.amazonaws.forecast#EncryptionConfig", "traits": { - "smithy.api#documentation": "

The frequency of data collection. This parameter is required for RELATED_TIME_SERIES\n datasets.

\n

Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes),\n 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example,\n \"D\" indicates every day and \"15min\" indicates every 15 minutes.

" + "smithy.api#documentation": "

An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access\n the key.

" } }, - "DatasetName": { - "target": "com.amazonaws.forecast#Name", + "Tags": { + "target": "com.amazonaws.forecast#Tags", "traits": { - "smithy.api#documentation": "

A name for the dataset.

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

The optional metadata that you apply to the dataset to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

\n " } } } @@ -564,6 +564,13 @@ "smithy.api#required": {} } }, + "ForecastArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the forecast that you want to export.

", + "smithy.api#required": {} + } + }, "Destination": { "target": "com.amazonaws.forecast#DataDestination", "traits": { @@ -576,13 +583,6 @@ "traits": { "smithy.api#documentation": "

The optional metadata that you apply to the forecast export job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

\n " } - }, - "ForecastArn": { - "target": "com.amazonaws.forecast#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the forecast that you want to export.

", - "smithy.api#required": {} - } } } }, @@ -607,12 +607,6 @@ "smithy.api#required": {} } }, - "ForecastTypes": { - "target": "com.amazonaws.forecast#ForecastTypes", - "traits": { - "smithy.api#documentation": "

The quantiles at which probabilistic forecasts are generated. You\n can currently specify up to 5 quantiles per forecast. Accepted values include\n 0.01 to 0.99 (increments of .01 only) and mean. The mean forecast\n is different from the median (0.50) when the distribution is not symmetric (for example, Beta\n and Negative Binomial). The default value is [\"0.1\", \"0.5\", \"0.9\"].

" - } - }, "PredictorArn": { "target": "com.amazonaws.forecast#Arn", "traits": { @@ -620,6 +614,12 @@ "smithy.api#required": {} } }, + "ForecastTypes": { + "target": "com.amazonaws.forecast#ForecastTypes", + "traits": { + "smithy.api#documentation": "

The quantiles at which probabilistic forecasts are generated. You\n can currently specify up to 5 quantiles per forecast. Accepted values include\n 0.01 to 0.99 (increments of .01 only) and mean. The mean forecast\n is different from the median (0.50) when the distribution is not symmetric (for example, Beta\n and Negative Binomial). The default value is [\"0.1\", \"0.5\", \"0.9\"].

" + } + }, "Tags": { "target": "com.amazonaws.forecast#Tags", "traits": { @@ -665,23 +665,23 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Amazon Forecast predictor.

\n

In the request, you provide a dataset group and either specify an algorithm or let\n Amazon Forecast choose the algorithm for you using AutoML. If you specify an algorithm, you also can\n override algorithm-specific hyperparameters.

\n

Amazon Forecast uses the chosen algorithm to train a model using the latest version of the\n datasets in the specified dataset group. The result is called a predictor. You then generate a\n forecast using the CreateForecast operation.

\n

After training a model, the CreatePredictor operation also evaluates it. To\n see the evaluation metrics, use the GetAccuracyMetrics operation. Always\n review the evaluation metrics before deciding to use the predictor to generate a\n forecast.

\n

Optionally, you can specify a featurization configuration to fill and aggregate the data\n fields in the TARGET_TIME_SERIES dataset to improve model training. For more\n information, see FeaturizationConfig.

\n

For RELATED_TIME_SERIES datasets, CreatePredictor verifies that the\n DataFrequency specified when the dataset was created matches the\n ForecastFrequency. TARGET_TIME_SERIES datasets don't have this restriction.\n Amazon Forecast also verifies the delimiter and timestamp format. For more information, see howitworks-datasets-groups.

\n

\n AutoML\n

\n

If you want Amazon Forecast to evaluate each algorithm and choose the one that minimizes the\n objective function, set PerformAutoML to true. The\n objective function is defined as the mean of the weighted p10, p50, and p90\n quantile losses. For more information, see EvaluationResult.

\n

When AutoML is enabled, the following properties are disallowed:

\n \n\n \n\n

To get a list of all of your predictors, use the ListPredictors\n operation.

\n \n

Before you can use the predictor to create a forecast, the Status of the\n predictor must be ACTIVE, signifying that training has completed. To get the\n status, use the DescribePredictor operation.

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

Creates an Amazon Forecast predictor.

\n

In the request, provide a dataset group and either specify an algorithm or let\n Amazon Forecast choose an algorithm for you using AutoML. If you specify an algorithm, you also can\n override algorithm-specific hyperparameters.

\n

Amazon Forecast uses the algorithm to train a predictor using the latest version of the\n datasets in the specified dataset group. You can then generate a\n forecast using the CreateForecast operation.

\n

\n To see the evaluation metrics, use the GetAccuracyMetrics operation.\n

\n

You can specify a featurization configuration to fill and aggregate the data\n fields in the TARGET_TIME_SERIES dataset to improve model training. For more\n information, see FeaturizationConfig.

\n

For RELATED_TIME_SERIES datasets, CreatePredictor verifies that the\n DataFrequency specified when the dataset was created matches the\n ForecastFrequency. TARGET_TIME_SERIES datasets don't have this restriction.\n Amazon Forecast also verifies the delimiter and timestamp format. For more information, see howitworks-datasets-groups.

\n

By default, predictors are trained and evaluated at the 0.1 (P10), 0.5 (P50), and 0.9\n (P90) quantiles. You can choose custom forecast types to train and evaluate your predictor\n by setting the ForecastTypes.\n

\n

\n AutoML\n

\n

If you want Amazon Forecast to evaluate each algorithm and choose the one that minimizes the\n objective function, set PerformAutoML to true. The\n objective function is defined as the mean of the weighted losses over the\n forecast types. By default, these are the p10, p50, and p90\n quantile losses. For more information, see EvaluationResult.

\n

When AutoML is enabled, the following properties are disallowed:

\n \n\n \n\n

To get a list of all of your predictors, use the ListPredictors\n operation.

\n \n

Before you can use the predictor to create a forecast, the Status of the\n predictor must be ACTIVE, signifying that training has completed. To get the\n status, use the DescribePredictor operation.

\n
" } }, "com.amazonaws.forecast#CreatePredictorRequest": { "type": "structure", "members": { - "InputDataConfig": { - "target": "com.amazonaws.forecast#InputDataConfig", + "PredictorName": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

Describes the dataset group that contains the data to use to train the predictor.

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

A name for the predictor.

", "smithy.api#required": {} } }, - "EncryptionConfig": { - "target": "com.amazonaws.forecast#EncryptionConfig", + "AlgorithmArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access\n the key.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the algorithm to use for model training. Required if\n PerformAutoML is not set to true.

\n

\n Supported algorithms:\n

\n " } }, "ForecastHorizon": { @@ -691,47 +691,47 @@ "smithy.api#required": {} } }, - "EvaluationParameters": { - "target": "com.amazonaws.forecast#EvaluationParameters", + "ForecastTypes": { + "target": "com.amazonaws.forecast#ForecastTypes", "traits": { - "smithy.api#documentation": "

Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast\n evaluates a predictor by splitting a dataset into training data and testing data. The\n evaluation parameters define how to perform the split and the number of iterations.

" + "smithy.api#documentation": "

Specifies the forecast types used to train a predictor. You can specify up to five forecast types.\n Forecast types can be quantiles from 0.01 to 0.99, by increments of 0.01 or higher. You can also specify \n the mean forecast with mean.\n

\n

The default value is [\"0.10\", \"0.50\", \"0.9\"].

" } }, - "AlgorithmArn": { - "target": "com.amazonaws.forecast#Arn", + "PerformAutoML": { + "target": "com.amazonaws.forecast#Boolean", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the algorithm to use for model training. Required if\n PerformAutoML is not set to true.

\n

\n Supported algorithms:\n

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

Whether to perform AutoML. When Amazon Forecast performs AutoML, it evaluates the algorithms it\n provides and chooses the best algorithm and configuration for your training dataset.

\n

The default value is false. In this case, you are required to specify an\n algorithm.

\n

Set PerformAutoML to true to have Amazon Forecast perform AutoML. This\n is a good option if you aren't sure which algorithm is suitable for your training data. In\n this case, PerformHPO must be false.

" } }, - "HPOConfig": { - "target": "com.amazonaws.forecast#HyperParameterTuningJobConfig", + "PerformHPO": { + "target": "com.amazonaws.forecast#Boolean", "traits": { - "smithy.api#documentation": "

Provides hyperparameter override values for the algorithm. If you don't provide this\n parameter, Amazon Forecast uses default values. The individual algorithms specify which\n hyperparameters support hyperparameter optimization (HPO). For more information, see aws-forecast-choosing-recipes.

\n

If you included the HPOConfig object, you must set PerformHPO to\n true.

" + "smithy.api#documentation": "

Whether to perform hyperparameter optimization (HPO). HPO finds optimal hyperparameter\n values for your training data. The process of performing HPO is known as running a\n hyperparameter tuning job.

\n

The default value is false. In this case, Amazon Forecast uses default\n hyperparameter values from the chosen algorithm.

\n

To override the default values, set PerformHPO to true and,\n optionally, supply the HyperParameterTuningJobConfig object. The tuning job\n specifies a metric to optimize, which hyperparameters participate in tuning, and the valid\n range for each tunable hyperparameter. In this case, you are required to specify an algorithm\n and PerformAutoML must be false.

\n

The following algorithms support HPO:

\n " } }, - "PerformAutoML": { - "target": "com.amazonaws.forecast#Boolean", + "TrainingParameters": { + "target": "com.amazonaws.forecast#TrainingParameters", "traits": { - "smithy.api#documentation": "

Whether to perform AutoML. When Amazon Forecast performs AutoML, it evaluates the algorithms it\n provides and chooses the best algorithm and configuration for your training dataset.

\n

The default value is false. In this case, you are required to specify an\n algorithm.

\n

Set PerformAutoML to true to have Amazon Forecast perform AutoML. This\n is a good option if you aren't sure which algorithm is suitable for your training data. In\n this case, PerformHPO must be false.

" + "smithy.api#documentation": "

The hyperparameters to override for model training. The hyperparameters that you can\n override are listed in the individual algorithms. For the list of supported algorithms, see\n aws-forecast-choosing-recipes.

" } }, - "PerformHPO": { - "target": "com.amazonaws.forecast#Boolean", + "EvaluationParameters": { + "target": "com.amazonaws.forecast#EvaluationParameters", "traits": { - "smithy.api#documentation": "

Whether to perform hyperparameter optimization (HPO). HPO finds optimal hyperparameter\n values for your training data. The process of performing HPO is known as running a\n hyperparameter tuning job.

\n

The default value is false. In this case, Amazon Forecast uses default\n hyperparameter values from the chosen algorithm.

\n

To override the default values, set PerformHPO to true and,\n optionally, supply the HyperParameterTuningJobConfig object. The tuning job\n specifies a metric to optimize, which hyperparameters participate in tuning, and the valid\n range for each tunable hyperparameter. In this case, you are required to specify an algorithm\n and PerformAutoML must be false.

\n

The following algorithm supports HPO:

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

Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast\n evaluates a predictor by splitting a dataset into training data and testing data. The\n evaluation parameters define how to perform the split and the number of iterations.

" } }, - "PredictorName": { - "target": "com.amazonaws.forecast#Name", + "HPOConfig": { + "target": "com.amazonaws.forecast#HyperParameterTuningJobConfig", "traits": { - "smithy.api#documentation": "

A name for the predictor.

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

Provides hyperparameter override values for the algorithm. If you don't provide this\n parameter, Amazon Forecast uses default values. The individual algorithms specify which\n hyperparameters support hyperparameter optimization (HPO). For more information, see aws-forecast-choosing-recipes.

\n

If you included the HPOConfig object, you must set PerformHPO to\n true.

" } }, - "Tags": { - "target": "com.amazonaws.forecast#Tags", + "InputDataConfig": { + "target": "com.amazonaws.forecast#InputDataConfig", "traits": { - "smithy.api#documentation": "

The optional metadata that you apply to the predictor to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

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

Describes the dataset group that contains the data to use to train the predictor.

", + "smithy.api#required": {} } }, "FeaturizationConfig": { @@ -741,10 +741,16 @@ "smithy.api#required": {} } }, - "TrainingParameters": { - "target": "com.amazonaws.forecast#TrainingParameters", + "EncryptionConfig": { + "target": "com.amazonaws.forecast#EncryptionConfig", "traits": { - "smithy.api#documentation": "

The hyperparameters to override for model training. The hyperparameters that you can\n override are listed in the individual algorithms. For the list of supported algorithms, see\n aws-forecast-choosing-recipes.

" + "smithy.api#documentation": "

An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access\n the key.

" + } + }, + "Tags": { + "target": "com.amazonaws.forecast#Tags", + "traits": { + "smithy.api#documentation": "

The optional metadata that you apply to the predictor to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

\n " } } } @@ -831,16 +837,16 @@ "com.amazonaws.forecast#DatasetImportJobSummary": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.forecast#Status", + "DatasetImportJobArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The status of the dataset import job. The status is reflected in the status of the\n dataset. For example, when the import job status is CREATE_IN_PROGRESS, the\n status of the dataset is UPDATE_IN_PROGRESS. States include:

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

The Amazon Resource Name (ARN) of the dataset import job.

" } }, - "LastModificationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "DatasetImportJobName": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

The last time that the dataset was modified. The time depends on the status of the job, as\n follows:

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

The name of the dataset import job.

" } }, "DataSource": { @@ -849,6 +855,12 @@ "smithy.api#documentation": "

The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast\n can assume to access the data. The training data must be stored in an Amazon S3 bucket.

\n

If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

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

The status of the dataset import job. The status is reflected in the status of the\n dataset. For example, when the import job status is CREATE_IN_PROGRESS, the\n status of the dataset is UPDATE_IN_PROGRESS. States include:

\n " + } + }, "Message": { "target": "com.amazonaws.forecast#ErrorMessage", "traits": { @@ -861,16 +873,10 @@ "smithy.api#documentation": "

When the dataset import job was created.

" } }, - "DatasetImportJobName": { - "target": "com.amazonaws.forecast#Name", - "traits": { - "smithy.api#documentation": "

The name of the dataset import job.

" - } - }, - "DatasetImportJobArn": { - "target": "com.amazonaws.forecast#Arn", + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset import job.

" + "smithy.api#documentation": "

The last time that the dataset was modified. The time depends on the status of the job, as\n follows:

\n " } } }, @@ -911,16 +917,16 @@ "smithy.api#documentation": "

The domain associated with the dataset.

" } }, - "LastModificationTime": { + "CreationTime": { "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

When you create a dataset, LastModificationTime is the same as\n CreationTime. While data is being imported to the dataset,\n LastModificationTime is the current time of the ListDatasets call.\n After a CreateDatasetImportJob operation has finished,\n LastModificationTime is when the import job completed or failed.

" + "smithy.api#documentation": "

When the dataset was created.

" } }, - "CreationTime": { + "LastModificationTime": { "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

When the dataset was created.

" + "smithy.api#documentation": "

When you create a dataset, LastModificationTime is the same as\n CreationTime. While data is being imported to the dataset,\n LastModificationTime is the current time of the ListDatasets call.\n After a CreateDatasetImportJob operation has finished,\n LastModificationTime is when the import job completed or failed.

" } } }, @@ -1208,10 +1214,10 @@ "com.amazonaws.forecast#DescribeDatasetGroupResponse": { "type": "structure", "members": { - "CreationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "DatasetGroupName": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

When the dataset group was created.

" + "smithy.api#documentation": "

The name of the dataset group.

" } }, "DatasetGroupArn": { @@ -1220,34 +1226,34 @@ "smithy.api#documentation": "

The ARN of the dataset group.

" } }, - "Status": { - "target": "com.amazonaws.forecast#Status", - "traits": { - "smithy.api#documentation": "

The status of the dataset group. States include:

\n \n

The UPDATE states apply when you call the UpdateDatasetGroup operation.

\n \n

The Status of the dataset group must be ACTIVE before you can\n use the dataset group to create a predictor.

\n
" - } - }, - "DatasetGroupName": { - "target": "com.amazonaws.forecast#Name", - "traits": { - "smithy.api#documentation": "

The name of the dataset group.

" - } - }, "DatasetArns": { "target": "com.amazonaws.forecast#ArnList", "traits": { "smithy.api#documentation": "

An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset\n group.

" } }, - "LastModificationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "Domain": { + "target": "com.amazonaws.forecast#Domain", "traits": { - "smithy.api#documentation": "

When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated,\n LastModificationTime is the current time of the\n DescribeDatasetGroup call.

" + "smithy.api#documentation": "

The domain associated with the dataset group.

" } }, - "Domain": { - "target": "com.amazonaws.forecast#Domain", + "Status": { + "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The domain associated with the dataset group.

" + "smithy.api#documentation": "

The status of the dataset group. States include:

\n \n

The UPDATE states apply when you call the UpdateDatasetGroup operation.

\n \n

The Status of the dataset group must be ACTIVE before you can\n use the dataset group to create a predictor.

\n
" + } + }, + "CreationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

When the dataset group was created.

" + } + }, + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated,\n LastModificationTime is the current time of the\n DescribeDatasetGroup call.

" } } } @@ -1288,22 +1294,22 @@ "com.amazonaws.forecast#DescribeDatasetImportJobResponse": { "type": "structure", "members": { - "CreationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "DatasetImportJobName": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

When the dataset import job was created.

" + "smithy.api#documentation": "

The name of the dataset import job.

" } }, - "DataSource": { - "target": "com.amazonaws.forecast#DataSource", + "DatasetImportJobArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast\n can assume to access the data.

\n

If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

" + "smithy.api#documentation": "

The ARN of the dataset import job.

" } }, - "DatasetImportJobName": { - "target": "com.amazonaws.forecast#Name", + "DatasetArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The name of the dataset import job.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset that the training data was imported\n to.

" } }, "TimestampFormat": { @@ -1312,22 +1318,16 @@ "smithy.api#documentation": "

The format of timestamps in the dataset. The format that you specify depends on the\n DataFrequency specified when the dataset was created. The following formats are\n supported

\n " } }, - "Status": { - "target": "com.amazonaws.forecast#Status", - "traits": { - "smithy.api#documentation": "

The status of the dataset import job. The status is reflected in the status of the\n dataset. For example, when the import job status is CREATE_IN_PROGRESS, the\n status of the dataset is UPDATE_IN_PROGRESS. States include:

\n " - } - }, - "DatasetImportJobArn": { - "target": "com.amazonaws.forecast#Arn", + "DataSource": { + "target": "com.amazonaws.forecast#DataSource", "traits": { - "smithy.api#documentation": "

The ARN of the dataset import job.

" + "smithy.api#documentation": "

The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast\n can assume to access the data.

\n

If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

" } }, - "LastModificationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "FieldStatistics": { + "target": "com.amazonaws.forecast#FieldStatistics", "traits": { - "smithy.api#documentation": "

The last time that the dataset was modified. The time depends on the status of the job, as\n follows:

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

Statistical information about each field in the input data.

" } }, "DataSize": { @@ -1336,10 +1336,10 @@ "smithy.api#documentation": "

The size of the dataset in gigabytes (GB) after the import job has finished.

" } }, - "DatasetArn": { - "target": "com.amazonaws.forecast#Arn", + "Status": { + "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset that the training data was imported\n to.

" + "smithy.api#documentation": "

The status of the dataset import job. The status is reflected in the status of the\n dataset. For example, when the import job status is CREATE_IN_PROGRESS, the\n status of the dataset is UPDATE_IN_PROGRESS. States include:

\n " } }, "Message": { @@ -1348,10 +1348,16 @@ "smithy.api#documentation": "

If an error occurred, an informational message about the error.

" } }, - "FieldStatistics": { - "target": "com.amazonaws.forecast#FieldStatistics", + "CreationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

Statistical information about each field in the input data.

" + "smithy.api#documentation": "

When the dataset import job was created.

" + } + }, + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The last time that the dataset was modified. The time depends on the status of the job, as\n follows:

\n " } } } @@ -1371,10 +1377,16 @@ "com.amazonaws.forecast#DescribeDatasetResponse": { "type": "structure", "members": { - "DataFrequency": { - "target": "com.amazonaws.forecast#Frequency", + "DatasetArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The frequency of data collection.

\n

Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes),\n 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example,\n \"M\" indicates every month and \"30min\" indicates every 30 minutes.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" + } + }, + "DatasetName": { + "target": "com.amazonaws.forecast#Name", + "traits": { + "smithy.api#documentation": "

The name of the dataset.

" } }, "Domain": { @@ -1389,28 +1401,22 @@ "smithy.api#documentation": "

The dataset type.

" } }, - "DatasetArn": { - "target": "com.amazonaws.forecast#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" - } - }, - "EncryptionConfig": { - "target": "com.amazonaws.forecast#EncryptionConfig", + "DataFrequency": { + "target": "com.amazonaws.forecast#Frequency", "traits": { - "smithy.api#documentation": "

The AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access\n the key.

" + "smithy.api#documentation": "

The frequency of data collection.

\n

Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes),\n 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example,\n \"M\" indicates every month and \"30min\" indicates every 30 minutes.

" } }, - "CreationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "Schema": { + "target": "com.amazonaws.forecast#Schema", "traits": { - "smithy.api#documentation": "

When the dataset was created.

" + "smithy.api#documentation": "

An array of SchemaAttribute objects that specify the dataset fields. Each\n SchemaAttribute specifies the name and data type of a field.

" } }, - "LastModificationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "EncryptionConfig": { + "target": "com.amazonaws.forecast#EncryptionConfig", "traits": { - "smithy.api#documentation": "

When you create a dataset, LastModificationTime is the same as\n CreationTime. While data is being imported to the dataset,\n LastModificationTime is the current time of the DescribeDataset\n call. After a CreateDatasetImportJob operation has finished,\n LastModificationTime is when the import job completed or failed.

" + "smithy.api#documentation": "

The AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access\n the key.

" } }, "Status": { @@ -1419,16 +1425,16 @@ "smithy.api#documentation": "

The status of the dataset. States include:

\n \n

The UPDATE states apply while data is imported to the dataset from a call to\n the CreateDatasetImportJob operation and reflect the status of the dataset\n import job. For example, when the import job status is CREATE_IN_PROGRESS, the\n status of the dataset is UPDATE_IN_PROGRESS.

\n \n

The Status of the dataset must be ACTIVE before you can import\n training data.

\n
" } }, - "DatasetName": { - "target": "com.amazonaws.forecast#Name", + "CreationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

The name of the dataset.

" + "smithy.api#documentation": "

When the dataset was created.

" } }, - "Schema": { - "target": "com.amazonaws.forecast#Schema", + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

An array of SchemaAttribute objects that specify the dataset fields. Each\n SchemaAttribute specifies the name and data type of a field.

" + "smithy.api#documentation": "

When you create a dataset, LastModificationTime is the same as\n CreationTime. While data is being imported to the dataset,\n LastModificationTime is the current time of the DescribeDataset\n call. After a CreateDatasetImportJob operation has finished,\n LastModificationTime is when the import job completed or failed.

" } } } @@ -1490,16 +1496,10 @@ "com.amazonaws.forecast#DescribeForecastExportJobResponse": { "type": "structure", "members": { - "Message": { - "target": "com.amazonaws.forecast#Message", - "traits": { - "smithy.api#documentation": "

If an error occurred, an informational message about the error.

" - } - }, - "ForecastArn": { + "ForecastExportJobArn": { "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the exported forecast.

" + "smithy.api#documentation": "

The ARN of the forecast export job.

" } }, "ForecastExportJobName": { @@ -1508,10 +1508,10 @@ "smithy.api#documentation": "

The name of the forecast export job.

" } }, - "ForecastExportJobArn": { + "ForecastArn": { "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The ARN of the forecast export job.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the exported forecast.

" } }, "Destination": { @@ -1520,22 +1520,28 @@ "smithy.api#documentation": "

The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.

" } }, + "Message": { + "target": "com.amazonaws.forecast#Message", + "traits": { + "smithy.api#documentation": "

If an error occurred, an informational message about the error.

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

The status of the forecast export job. States include:

\n \n \n

The Status of the forecast export job must be ACTIVE before\n you can access the forecast in your S3 bucket.

\n
" } }, - "LastModificationTime": { + "CreationTime": { "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

When the last successful export job finished.

" + "smithy.api#documentation": "

When the forecast export job was created.

" } }, - "CreationTime": { + "LastModificationTime": { "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

When the forecast export job was created.

" + "smithy.api#documentation": "

When the last successful export job finished.

" } } } @@ -1555,10 +1561,10 @@ "com.amazonaws.forecast#DescribeForecastResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.forecast#String", + "ForecastArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The status of the forecast. States include:

\n \n \n

The Status of the forecast must be ACTIVE before you can query\n or export the forecast.

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

The forecast ARN as specified in the request.

" } }, "ForecastName": { @@ -1573,10 +1579,10 @@ "smithy.api#documentation": "

The quantiles at which probabilistic forecasts were generated.

" } }, - "Message": { - "target": "com.amazonaws.forecast#ErrorMessage", + "PredictorArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

If an error occurred, an informational message about the error.

" + "smithy.api#documentation": "

The ARN of the predictor used to generate the forecast.

" } }, "DatasetGroupArn": { @@ -1585,22 +1591,22 @@ "smithy.api#documentation": "

The ARN of the dataset group that provided the data used to train the predictor.

" } }, - "CreationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "Status": { + "target": "com.amazonaws.forecast#String", "traits": { - "smithy.api#documentation": "

When the forecast creation task was created.

" + "smithy.api#documentation": "

The status of the forecast. States include:

\n \n \n

The Status of the forecast must be ACTIVE before you can query\n or export the forecast.

\n
" } }, - "PredictorArn": { - "target": "com.amazonaws.forecast#Arn", + "Message": { + "target": "com.amazonaws.forecast#ErrorMessage", "traits": { - "smithy.api#documentation": "

The ARN of the predictor used to generate the forecast.

" + "smithy.api#documentation": "

If an error occurred, an informational message about the error.

" } }, - "ForecastArn": { - "target": "com.amazonaws.forecast#Arn", + "CreationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

The forecast ARN as specified in the request.

" + "smithy.api#documentation": "

When the forecast creation task was created.

" } }, "LastModificationTime": { @@ -1647,58 +1653,58 @@ "com.amazonaws.forecast#DescribePredictorResponse": { "type": "structure", "members": { - "LastModificationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "PredictorArn": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

Initially, the same as CreationTime (when the status is\n CREATE_PENDING). This value is updated when training starts (when the status\n changes to CREATE_IN_PROGRESS), and when training has completed (when the status\n changes to ACTIVE) or fails (when the status changes to\n CREATE_FAILED).

" + "smithy.api#documentation": "

The ARN of the predictor.

" } }, - "Status": { - "target": "com.amazonaws.forecast#Status", + "PredictorName": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

The status of the predictor. States include:

\n \n \n

The Status of the predictor must be ACTIVE before you can use\n the predictor to create a forecast.

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

The name of the predictor.

" } }, - "PerformAutoML": { - "target": "com.amazonaws.forecast#Boolean", + "AlgorithmArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

Whether the predictor is set to perform AutoML.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the algorithm used for model training.

" } }, - "EncryptionConfig": { - "target": "com.amazonaws.forecast#EncryptionConfig", + "ForecastHorizon": { + "target": "com.amazonaws.forecast#Integer", "traits": { - "smithy.api#documentation": "

An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access\n the key.

" + "smithy.api#documentation": "

The number of time-steps of the forecast. The forecast horizon is also called the\n prediction length.

" } }, - "PredictorName": { - "target": "com.amazonaws.forecast#Name", + "ForecastTypes": { + "target": "com.amazonaws.forecast#ForecastTypes", "traits": { - "smithy.api#documentation": "

The name of the predictor.

" + "smithy.api#documentation": "

The forecast types used during predictor training. Default value is [\"0.1\",\"0.5\",\"0.9\"]\n

" } }, - "InputDataConfig": { - "target": "com.amazonaws.forecast#InputDataConfig", + "PerformAutoML": { + "target": "com.amazonaws.forecast#Boolean", "traits": { - "smithy.api#documentation": "

Describes the dataset group that contains the data to use to train the predictor.

" + "smithy.api#documentation": "

Whether the predictor is set to perform AutoML.

" } }, - "PredictorExecutionDetails": { - "target": "com.amazonaws.forecast#PredictorExecutionDetails", + "PerformHPO": { + "target": "com.amazonaws.forecast#Boolean", "traits": { - "smithy.api#documentation": "

Details on the the status and results of the backtests performed to evaluate the accuracy\n of the predictor. You specify the number of backtests to perform when you call the operation.

" + "smithy.api#documentation": "

Whether the predictor is set to perform hyperparameter optimization (HPO).

" } }, - "CreationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "TrainingParameters": { + "target": "com.amazonaws.forecast#TrainingParameters", "traits": { - "smithy.api#documentation": "

When the model training task was created.

" + "smithy.api#documentation": "

The default training parameters or overrides selected during model training. When running\n AutoML or choosing HPO with CNN-QR or DeepAR+, the optimized values for the chosen\n hyperparameters are returned. For more information, see aws-forecast-choosing-recipes.

" } }, - "DatasetImportJobArns": { - "target": "com.amazonaws.forecast#ArnList", + "EvaluationParameters": { + "target": "com.amazonaws.forecast#EvaluationParameters", "traits": { - "smithy.api#documentation": "

An array of the ARNs of the dataset import jobs used to import training data for the\n predictor.

" + "smithy.api#documentation": "

Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast\n evaluates a predictor by splitting a dataset into training data and testing data. The\n evaluation parameters define how to perform the split and the number of iterations.

" } }, "HPOConfig": { @@ -1707,40 +1713,34 @@ "smithy.api#documentation": "

The hyperparameter override values for the algorithm.

" } }, - "FeaturizationConfig": { - "target": "com.amazonaws.forecast#FeaturizationConfig", - "traits": { - "smithy.api#documentation": "

The featurization configuration.

" - } - }, - "PredictorArn": { - "target": "com.amazonaws.forecast#Name", + "InputDataConfig": { + "target": "com.amazonaws.forecast#InputDataConfig", "traits": { - "smithy.api#documentation": "

The ARN of the predictor.

" + "smithy.api#documentation": "

Describes the dataset group that contains the data to use to train the predictor.

" } }, - "TrainingParameters": { - "target": "com.amazonaws.forecast#TrainingParameters", + "FeaturizationConfig": { + "target": "com.amazonaws.forecast#FeaturizationConfig", "traits": { - "smithy.api#documentation": "

The default training parameters or overrides selected during model training. If using the\n AutoML algorithm or if HPO is turned on while using the DeepAR+ algorithms, the optimized\n values for the chosen hyperparameters are returned. For more information, see aws-forecast-choosing-recipes.

" + "smithy.api#documentation": "

The featurization configuration.

" } }, - "EvaluationParameters": { - "target": "com.amazonaws.forecast#EvaluationParameters", + "EncryptionConfig": { + "target": "com.amazonaws.forecast#EncryptionConfig", "traits": { - "smithy.api#documentation": "

Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast\n evaluates a predictor by splitting a dataset into training data and testing data. The\n evaluation parameters define how to perform the split and the number of iterations.

" + "smithy.api#documentation": "

An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access\n the key.

" } }, - "PerformHPO": { - "target": "com.amazonaws.forecast#Boolean", + "PredictorExecutionDetails": { + "target": "com.amazonaws.forecast#PredictorExecutionDetails", "traits": { - "smithy.api#documentation": "

Whether the predictor is set to perform hyperparameter optimization (HPO).

" + "smithy.api#documentation": "

Details on the the status and results of the backtests performed to evaluate the accuracy\n of the predictor. You specify the number of backtests to perform when you call the operation.

" } }, - "AlgorithmArn": { - "target": "com.amazonaws.forecast#Arn", + "DatasetImportJobArns": { + "target": "com.amazonaws.forecast#ArnList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the algorithm used for model training.

" + "smithy.api#documentation": "

An array of the ARNs of the dataset import jobs used to import training data for the\n predictor.

" } }, "AutoMLAlgorithmArns": { @@ -1749,10 +1749,10 @@ "smithy.api#documentation": "

When PerformAutoML is specified, the ARN of the chosen algorithm.

" } }, - "ForecastHorizon": { - "target": "com.amazonaws.forecast#Integer", + "Status": { + "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The number of time-steps of the forecast. The forecast horizon is also called the\n prediction length.

" + "smithy.api#documentation": "

The status of the predictor. States include:

\n \n \n

The Status of the predictor must be ACTIVE before you can use\n the predictor to create a forecast.

\n
" } }, "Message": { @@ -1760,6 +1760,18 @@ "traits": { "smithy.api#documentation": "

If an error occurred, an informational message about the error.

" } + }, + "CreationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

When the model training task was created.

" + } + }, + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

Initially, the same as CreationTime (when the status is\n CREATE_PENDING). This value is updated when training starts (when the status\n changes to CREATE_IN_PROGRESS), and when training has completed (when the status\n changes to ACTIVE) or fails (when the status changes to\n CREATE_FAILED).

" + } } } }, @@ -1807,17 +1819,17 @@ "com.amazonaws.forecast#EncryptionConfig": { "type": "structure", "members": { - "KMSKeyArn": { - "target": "com.amazonaws.forecast#KMSKeyArn", + "RoleArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the KMS key.

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

The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.

\n

Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your\n account, you get an InvalidInputException error.

", "smithy.api#required": {} } }, - "RoleArn": { - "target": "com.amazonaws.forecast#Arn", + "KMSKeyArn": { + "target": "com.amazonaws.forecast#KMSKeyArn", "traits": { - "smithy.api#documentation": "

The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.

\n

Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your\n account, you get an InvalidInputException error.

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

The Amazon Resource Name (ARN) of the KMS key.

", "smithy.api#required": {} } } @@ -1829,6 +1841,38 @@ "com.amazonaws.forecast#ErrorMessage": { "type": "string" }, + "com.amazonaws.forecast#ErrorMetric": { + "type": "structure", + "members": { + "ForecastType": { + "target": "com.amazonaws.forecast#ForecastType", + "traits": { + "smithy.api#documentation": "

\n Forecast types can be quantiles from 0.01 to 0.99 (by increments of 0.01), and the mean.\n

" + } + }, + "WAPE": { + "target": "com.amazonaws.forecast#Double", + "traits": { + "smithy.api#documentation": "

\n The weighted absolute percentage error (WAPE).\n

" + } + }, + "RMSE": { + "target": "com.amazonaws.forecast#Double", + "traits": { + "smithy.api#documentation": "

\n The root-mean-square error (RMSE).\n

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

\n Provides detailed error metrics to evaluate the performance of a predictor. This object is\n part of the Metrics object.\n

" + } + }, + "com.amazonaws.forecast#ErrorMetrics": { + "type": "list", + "member": { + "target": "com.amazonaws.forecast#ErrorMetric" + } + }, "com.amazonaws.forecast#EvaluationParameters": { "type": "structure", "members": { @@ -1915,17 +1959,17 @@ "smithy.api#required": {} } }, - "Featurizations": { - "target": "com.amazonaws.forecast#Featurizations", - "traits": { - "smithy.api#documentation": "

An array of featurization (transformation) information for the fields of a dataset.

" - } - }, "ForecastDimensions": { "target": "com.amazonaws.forecast#ForecastDimensions", "traits": { "smithy.api#documentation": "

An array of dimension (field) names that specify how to group the generated forecast.

\n

For example, suppose that you are generating a forecast for item sales across all of\n your stores, and your dataset contains a store_id field. If you want the sales\n forecast for each item by store, you would specify store_id as the dimension.

\n

All forecast dimensions specified in the TARGET_TIME_SERIES dataset don't\n need to be specified in the CreatePredictor request.\n All forecast dimensions specified in the RELATED_TIME_SERIES dataset must\n be specified in the CreatePredictor request.

" } + }, + "Featurizations": { + "target": "com.amazonaws.forecast#Featurizations", + "traits": { + "smithy.api#documentation": "

An array of featurization (transformation) information for the fields of a dataset.

" + } } }, "traits": { @@ -1945,7 +1989,7 @@ "FeaturizationMethodParameters": { "target": "com.amazonaws.forecast#FeaturizationMethodParameters", "traits": { - "smithy.api#documentation": "

The method parameters (key-value pairs), which are a map of override parameters. Specify these parameters to override the default values. \n Related Time Series attributes do not accept aggregation parameters.

\n

The following list shows the parameters and their valid values for the \"filling\" featurization method for a Target Time Series dataset. Bold signifies the default\n value.

\n \n\n

The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults):

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

The method parameters (key-value pairs), which are a map of override parameters. Specify these parameters to override the default values. \n Related Time Series attributes do not accept aggregation parameters.

\n

The following list shows the parameters and their valid values for the \"filling\" featurization method for a Target Time Series dataset. Bold signifies the default\n value.

\n \n\n

The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults):

\n \n

To set a filling method to a specific value, set the fill parameter to value\n and define the value in a corresponding _value parameter. For example, to set\n backfilling to a value of 2, include the following: \"backfill\": \"value\" and\n \"backfill_value\":\"2\".

" } } }, @@ -2015,6 +2059,13 @@ "com.amazonaws.forecast#Filter": { "type": "structure", "members": { + "Key": { + "target": "com.amazonaws.forecast#String", + "traits": { + "smithy.api#documentation": "

The name of the parameter to filter on.

", + "smithy.api#required": {} + } + }, "Value": { "target": "com.amazonaws.forecast#Arn", "traits": { @@ -2028,13 +2079,6 @@ "smithy.api#documentation": "

The condition to apply. To include the objects that match the statement, specify\n IS. To exclude matching objects, specify IS_NOT.

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

The name of the parameter to filter on.

", - "smithy.api#required": {} - } } }, "traits": { @@ -2077,46 +2121,46 @@ "com.amazonaws.forecast#ForecastExportJobSummary": { "type": "structure", "members": { - "Message": { - "target": "com.amazonaws.forecast#ErrorMessage", + "ForecastExportJobArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

If an error occurred, an informational message about the error.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the forecast export job.

" } }, - "LastModificationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "ForecastExportJobName": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

When the last successful export job finished.

" + "smithy.api#documentation": "

The name of the forecast export job.

" } }, - "Status": { - "target": "com.amazonaws.forecast#Status", + "Destination": { + "target": "com.amazonaws.forecast#DataDestination", "traits": { - "smithy.api#documentation": "

The status of the forecast export job. States include:

\n \n \n

The Status of the forecast export job must be ACTIVE before\n you can access the forecast in your S3 bucket.

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

The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.

" } }, - "CreationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "Status": { + "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

When the forecast export job was created.

" + "smithy.api#documentation": "

The status of the forecast export job. States include:

\n \n \n

The Status of the forecast export job must be ACTIVE before\n you can access the forecast in your S3 bucket.

\n
" } }, - "ForecastExportJobArn": { - "target": "com.amazonaws.forecast#Arn", + "Message": { + "target": "com.amazonaws.forecast#ErrorMessage", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the forecast export job.

" + "smithy.api#documentation": "

If an error occurred, an informational message about the error.

" } }, - "Destination": { - "target": "com.amazonaws.forecast#DataDestination", + "CreationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.

" + "smithy.api#documentation": "

When the forecast export job was created.

" } }, - "ForecastExportJobName": { - "target": "com.amazonaws.forecast#Name", + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

The name of the forecast export job.

" + "smithy.api#documentation": "

When the last successful export job finished.

" } } }, @@ -2133,10 +2177,10 @@ "com.amazonaws.forecast#ForecastSummary": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.forecast#Status", + "ForecastArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The status of the forecast. States include:

\n \n \n

The Status of the forecast must be ACTIVE before you can query\n or export the forecast.

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

The ARN of the forecast.

" } }, "ForecastName": { @@ -2145,22 +2189,22 @@ "smithy.api#documentation": "

The name of the forecast.

" } }, - "LastModificationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "PredictorArn": { + "target": "com.amazonaws.forecast#String", "traits": { - "smithy.api#documentation": "

Initially, the same as CreationTime (status is CREATE_PENDING).\n Updated when inference (creating the forecast) starts (status changed to\n CREATE_IN_PROGRESS), and when inference is complete (status changed to\n ACTIVE) or fails (status changed to CREATE_FAILED).

" + "smithy.api#documentation": "

The ARN of the predictor used to generate the forecast.

" } }, - "CreationTime": { - "target": "com.amazonaws.forecast#Timestamp", + "DatasetGroupArn": { + "target": "com.amazonaws.forecast#String", "traits": { - "smithy.api#documentation": "

When the forecast creation task was created.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset group that provided the data used to train\n the predictor.

" } }, - "ForecastArn": { - "target": "com.amazonaws.forecast#Arn", + "Status": { + "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The ARN of the forecast.

" + "smithy.api#documentation": "

The status of the forecast. States include:

\n \n \n

The Status of the forecast must be ACTIVE before you can query\n or export the forecast.

\n
" } }, "Message": { @@ -2169,16 +2213,16 @@ "smithy.api#documentation": "

If an error occurred, an informational message about the error.

" } }, - "DatasetGroupArn": { - "target": "com.amazonaws.forecast#String", + "CreationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset group that provided the data used to train\n the predictor.

" + "smithy.api#documentation": "

When the forecast creation task was created.

" } }, - "PredictorArn": { - "target": "com.amazonaws.forecast#String", + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

The ARN of the predictor used to generate the forecast.

" + "smithy.api#documentation": "

Initially, the same as CreationTime (status is CREATE_PENDING).\n Updated when inference (creating the forecast) starts (status changed to\n CREATE_IN_PROGRESS), and when inference is complete (status changed to\n ACTIVE) or fails (status changed to CREATE_FAILED).

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

Provides metrics on the accuracy of the models that were trained by the\n CreatePredictor operation. Use metrics to see how well the model performed\n and to decide whether to use the predictor to generate a forecast. For more information, see\n metrics.

\n

This operation generates metrics for each backtest window that was evaluated. The number of backtest windows\n (NumberOfBacktestWindows) is specified using the\n EvaluationParameters object, which is optionally\n included in the CreatePredictor request. If\n NumberOfBacktestWindows isn't specified, the number defaults to one.

\n

The parameters of the filling method determine which items contribute to\n the metrics. If you want all items to contribute, specify zero.\n If you want only those items that have complete data in the range being evaluated to\n contribute, specify nan.\n For more information, see FeaturizationMethod.

\n \n \n

Before you can get accuracy metrics, the Status of the predictor must be\n ACTIVE, signifying that training has completed.\n To get the status, use the DescribePredictor operation.

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

Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation. Use metrics to see how well the model performed and\n to decide whether to use the predictor to generate a forecast. For more information, see\n Predictor\n Metrics.

\n

This operation generates metrics for each backtest window that was evaluated. The number of backtest windows\n (NumberOfBacktestWindows) is specified using the\n EvaluationParameters object, which is optionally\n included in the CreatePredictor request. If\n NumberOfBacktestWindows isn't specified, the number defaults to one.

\n

The parameters of the filling method determine which items contribute to\n the metrics. If you want all items to contribute, specify zero.\n If you want only those items that have complete data in the range being evaluated to\n contribute, specify nan.\n For more information, see FeaturizationMethod.

\n \n \n

Before you can get accuracy metrics, the Status of the predictor must be\n ACTIVE, signifying that training has completed.\n To get the status, use the DescribePredictor operation.

\n
", "smithy.api#idempotent": {} } }, @@ -2307,10 +2351,11 @@ "com.amazonaws.forecast#IntegerParameterRange": { "type": "structure", "members": { - "ScalingType": { - "target": "com.amazonaws.forecast#ScalingType", + "Name": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

The scale that hyperparameter tuning uses to search the hyperparameter range.\n Valid values:

\n
\n
Auto
\n
\n

Amazon Forecast hyperparameter tuning chooses the best scale for the hyperparameter.

\n
\n
Linear
\n
\n

Hyperparameter tuning searches the values in the hyperparameter range by using a\n linear scale.

\n
\n
Logarithmic
\n
\n

Hyperparameter tuning searches the values in the hyperparameter range by using a\n logarithmic scale.

\n

Logarithmic scaling works only for ranges that have values greater than 0.

\n
\n
ReverseLogarithmic
\n
\n

Not supported for IntegerParameterRange.

\n

Reverse logarithmic scaling works only for ranges that are entirely within the\n range 0 <= x < 1.0.

\n
\n
\n

For information about choosing a hyperparameter scale, see\n Hyperparameter Scaling.\n One of the following values:

" + "smithy.api#documentation": "

The name of the hyperparameter to tune.

", + "smithy.api#required": {} } }, "MaxValue": { @@ -2320,19 +2365,18 @@ "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.forecast#Name", - "traits": { - "smithy.api#documentation": "

The name of the hyperparameter to tune.

", - "smithy.api#required": {} - } - }, "MinValue": { "target": "com.amazonaws.forecast#Integer", "traits": { "smithy.api#documentation": "

The minimum tunable value of the hyperparameter.

", "smithy.api#required": {} } + }, + "ScalingType": { + "target": "com.amazonaws.forecast#ScalingType", + "traits": { + "smithy.api#documentation": "

The scale that hyperparameter tuning uses to search the hyperparameter range.\n Valid values:

\n
\n
Auto
\n
\n

Amazon Forecast hyperparameter tuning chooses the best scale for the hyperparameter.

\n
\n
Linear
\n
\n

Hyperparameter tuning searches the values in the hyperparameter range by using a\n linear scale.

\n
\n
Logarithmic
\n
\n

Hyperparameter tuning searches the values in the hyperparameter range by using a\n logarithmic scale.

\n

Logarithmic scaling works only for ranges that have values greater than 0.

\n
\n
ReverseLogarithmic
\n
\n

Not supported for IntegerParameterRange.

\n

Reverse logarithmic scaling works only for ranges that are entirely within the\n range 0 <= x < 1.0.

\n
\n
\n

For information about choosing a hyperparameter scale, see\n Hyperparameter Scaling.\n One of the following values:

" + } } }, "traits": { @@ -2427,17 +2471,17 @@ "com.amazonaws.forecast#ListDatasetGroupsRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.forecast#MaxResults", - "traits": { - "smithy.api#documentation": "

The number of items to return in the response.

" - } - }, "NextToken": { "target": "com.amazonaws.forecast#NextToken", "traits": { "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" } + }, + "MaxResults": { + "target": "com.amazonaws.forecast#MaxResults", + "traits": { + "smithy.api#documentation": "

The number of items to return in the response.

" + } } } }, @@ -2488,10 +2532,10 @@ "com.amazonaws.forecast#ListDatasetImportJobsRequest": { "type": "structure", "members": { - "Filters": { - "target": "com.amazonaws.forecast#Filters", + "NextToken": { + "target": "com.amazonaws.forecast#NextToken", "traits": { - "smithy.api#documentation": "

An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to include\n or exclude the datasets that match the statement from the list, respectively. The match\n statement consists of a key and a value.

\n

\n Filter properties\n

\n \n

For example, to list all dataset import jobs whose status is ACTIVE, you specify the\n following filter:

\n

\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" }\n ]\n

" + "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" } }, "MaxResults": { @@ -2500,10 +2544,10 @@ "smithy.api#documentation": "

The number of items to return in the response.

" } }, - "NextToken": { - "target": "com.amazonaws.forecast#NextToken", + "Filters": { + "target": "com.amazonaws.forecast#Filters", "traits": { - "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" + "smithy.api#documentation": "

An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to include\n or exclude the datasets that match the statement from the list, respectively. The match\n statement consists of a key and a value.

\n

\n Filter properties\n

\n \n

For example, to list all dataset import jobs whose status is ACTIVE, you specify the\n following filter:

\n

\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" }\n ]\n

" } } } @@ -2552,34 +2596,34 @@ "com.amazonaws.forecast#ListDatasetsRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.forecast#MaxResults", - "traits": { - "smithy.api#documentation": "

The number of items to return in the response.

" - } - }, "NextToken": { "target": "com.amazonaws.forecast#NextToken", "traits": { "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" } + }, + "MaxResults": { + "target": "com.amazonaws.forecast#MaxResults", + "traits": { + "smithy.api#documentation": "

The number of items to return in the response.

" + } } } }, "com.amazonaws.forecast#ListDatasetsResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.forecast#NextToken", - "traits": { - "smithy.api#documentation": "

If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.

" - } - }, "Datasets": { "target": "com.amazonaws.forecast#Datasets", "traits": { "smithy.api#documentation": "

An array of objects that summarize each dataset's properties.

" } + }, + "NextToken": { + "target": "com.amazonaws.forecast#NextToken", + "traits": { + "smithy.api#documentation": "

If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.

" + } } } }, @@ -2613,6 +2657,12 @@ "com.amazonaws.forecast#ListForecastExportJobsRequest": { "type": "structure", "members": { + "NextToken": { + "target": "com.amazonaws.forecast#NextToken", + "traits": { + "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" + } + }, "MaxResults": { "target": "com.amazonaws.forecast#MaxResults", "traits": { @@ -2624,29 +2674,23 @@ "traits": { "smithy.api#documentation": "

An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to include\n or exclude the forecast export jobs that match the statement from the list, respectively. The\n match statement consists of a key and a value.

\n

\n Filter properties\n

\n \n

For example, to list all jobs that export a forecast named\n electricityforecast, specify the following filter:

\n

\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"ForecastArn\", \"Value\":\n \"arn:aws:forecast:us-west-2::forecast/electricityforecast\" } ]\n

" } - }, - "NextToken": { - "target": "com.amazonaws.forecast#NextToken", - "traits": { - "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" - } } } }, "com.amazonaws.forecast#ListForecastExportJobsResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.forecast#NextToken", - "traits": { - "smithy.api#documentation": "

If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.

" - } - }, "ForecastExportJobs": { "target": "com.amazonaws.forecast#ForecastExportJobs", "traits": { "smithy.api#documentation": "

An array of objects that summarize each export job's properties.

" } + }, + "NextToken": { + "target": "com.amazonaws.forecast#NextToken", + "traits": { + "smithy.api#documentation": "

If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.

" + } } } }, @@ -2680,18 +2724,18 @@ "com.amazonaws.forecast#ListForecastsRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.forecast#MaxResults", - "traits": { - "smithy.api#documentation": "

The number of items to return in the response.

" - } - }, "NextToken": { "target": "com.amazonaws.forecast#NextToken", "traits": { "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" } }, + "MaxResults": { + "target": "com.amazonaws.forecast#MaxResults", + "traits": { + "smithy.api#documentation": "

The number of items to return in the response.

" + } + }, "Filters": { "target": "com.amazonaws.forecast#Filters", "traits": { @@ -2843,16 +2887,25 @@ "com.amazonaws.forecast#Metrics": { "type": "structure", "members": { + "RMSE": { + "target": "com.amazonaws.forecast#Double", + "traits": { + "smithy.api#deprecated": { + "message": "This property is deprecated, please refer to ErrorMetrics for both RMSE and WAPE" + }, + "smithy.api#documentation": "

The root-mean-square error (RMSE).

" + } + }, "WeightedQuantileLosses": { "target": "com.amazonaws.forecast#WeightedQuantileLosses", "traits": { "smithy.api#documentation": "

An array of weighted quantile losses. Quantiles divide a probability distribution into\n regions of equal probability. The distribution in this case is the loss function.

" } }, - "RMSE": { - "target": "com.amazonaws.forecast#Double", + "ErrorMetrics": { + "target": "com.amazonaws.forecast#ErrorMetrics", "traits": { - "smithy.api#documentation": "

The root mean square error (RMSE).

" + "smithy.api#documentation": "

\n Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted\n average percentage error (WAPE).\n

" } } }, @@ -2898,17 +2951,17 @@ "smithy.api#documentation": "

Specifies the tunable range for each categorical hyperparameter.

" } }, - "IntegerParameterRanges": { - "target": "com.amazonaws.forecast#IntegerParameterRanges", - "traits": { - "smithy.api#documentation": "

Specifies the tunable range for each integer hyperparameter.

" - } - }, "ContinuousParameterRanges": { "target": "com.amazonaws.forecast#ContinuousParameterRanges", "traits": { "smithy.api#documentation": "

Specifies the tunable range for each continuous hyperparameter.

" } + }, + "IntegerParameterRanges": { + "target": "com.amazonaws.forecast#IntegerParameterRanges", + "traits": { + "smithy.api#documentation": "

Specifies the tunable range for each integer hyperparameter.

" + } } }, "traits": { @@ -2934,17 +2987,17 @@ "com.amazonaws.forecast#PredictorExecution": { "type": "structure", "members": { - "TestWindows": { - "target": "com.amazonaws.forecast#TestWindowDetails", - "traits": { - "smithy.api#documentation": "

An array of test windows used to evaluate the algorithm. The\n NumberOfBacktestWindows from the \n object determines the number of windows in the array.

" - } - }, "AlgorithmArn": { "target": "com.amazonaws.forecast#Arn", "traits": { "smithy.api#documentation": "

The ARN of the algorithm used to test the predictor.

" } + }, + "TestWindows": { + "target": "com.amazonaws.forecast#TestWindowDetails", + "traits": { + "smithy.api#documentation": "

An array of test windows used to evaluate the algorithm. The\n NumberOfBacktestWindows from the \n object determines the number of windows in the array.

" + } } }, "traits": { @@ -2980,12 +3033,24 @@ "com.amazonaws.forecast#PredictorSummary": { "type": "structure", "members": { + "PredictorArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The ARN of the predictor.

" + } + }, "PredictorName": { "target": "com.amazonaws.forecast#Name", "traits": { "smithy.api#documentation": "

The name of the predictor.

" } }, + "DatasetGroupArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset group that contains the data used to train\n the predictor.

" + } + }, "Status": { "target": "com.amazonaws.forecast#Status", "traits": { @@ -2998,28 +3063,16 @@ "smithy.api#documentation": "

If an error occurred, an informational message about the error.

" } }, - "LastModificationTime": { - "target": "com.amazonaws.forecast#Timestamp", - "traits": { - "smithy.api#documentation": "

Initially, the same as CreationTime (status is CREATE_PENDING).\n Updated when training starts (status changed to CREATE_IN_PROGRESS), and when\n training is complete (status changed to ACTIVE) or fails (status changed to\n CREATE_FAILED).

" - } - }, "CreationTime": { "target": "com.amazonaws.forecast#Timestamp", "traits": { "smithy.api#documentation": "

When the model training task was created.

" } }, - "PredictorArn": { - "target": "com.amazonaws.forecast#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the predictor.

" - } - }, - "DatasetGroupArn": { - "target": "com.amazonaws.forecast#Arn", + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset group that contains the data used to train\n the predictor.

" + "smithy.api#documentation": "

Initially, the same as CreationTime (status is CREATE_PENDING).\n Updated when training starts (status changed to CREATE_IN_PROGRESS), and when\n training is complete (status changed to ACTIVE) or fails (status changed to\n CREATE_FAILED).

" } } }, @@ -3082,18 +3135,18 @@ "smithy.api#required": {} } }, - "KMSKeyArn": { - "target": "com.amazonaws.forecast#KMSKeyArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.

" - } - }, "RoleArn": { "target": "com.amazonaws.forecast#Arn", "traits": { "smithy.api#documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3\n bucket or files. If you provide a value for the KMSKeyArn key, the role must\n allow access to the key.

\n

Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your\n account, you get an InvalidInputException error.

", "smithy.api#required": {} } + }, + "KMSKeyArn": { + "target": "com.amazonaws.forecast#KMSKeyArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.

" + } } }, "traits": { @@ -3146,17 +3199,17 @@ "com.amazonaws.forecast#SchemaAttribute": { "type": "structure", "members": { - "AttributeType": { - "target": "com.amazonaws.forecast#AttributeType", - "traits": { - "smithy.api#documentation": "

The data type of the field.

" - } - }, "AttributeName": { "target": "com.amazonaws.forecast#Name", "traits": { "smithy.api#documentation": "

The name of the dataset field.

" } + }, + "AttributeType": { + "target": "com.amazonaws.forecast#AttributeType", + "traits": { + "smithy.api#documentation": "

The data type of the field.

" + } } }, "traits": { @@ -3184,46 +3237,46 @@ "smithy.api#documentation": "

The number of values in the field.

" } }, - "Stddev": { - "target": "com.amazonaws.forecast#Double", + "CountDistinct": { + "target": "com.amazonaws.forecast#Integer", "traits": { - "smithy.api#documentation": "

For a numeric field, the standard deviation.

" + "smithy.api#documentation": "

The number of distinct values in the field.

" } }, - "Min": { - "target": "com.amazonaws.forecast#String", + "CountNull": { + "target": "com.amazonaws.forecast#Integer", "traits": { - "smithy.api#documentation": "

For a numeric field, the minimum value in the field.

" + "smithy.api#documentation": "

The number of null values in the field.

" } }, - "Avg": { - "target": "com.amazonaws.forecast#Double", + "CountNan": { + "target": "com.amazonaws.forecast#Integer", "traits": { - "smithy.api#documentation": "

For a numeric field, the average value in the field.

" + "smithy.api#documentation": "

The number of NAN (not a number) values in the field.

" } }, - "Max": { + "Min": { "target": "com.amazonaws.forecast#String", "traits": { - "smithy.api#documentation": "

For a numeric field, the maximum value in the field.

" + "smithy.api#documentation": "

For a numeric field, the minimum value in the field.

" } }, - "CountDistinct": { - "target": "com.amazonaws.forecast#Integer", + "Max": { + "target": "com.amazonaws.forecast#String", "traits": { - "smithy.api#documentation": "

The number of distinct values in the field.

" + "smithy.api#documentation": "

For a numeric field, the maximum value in the field.

" } }, - "CountNull": { - "target": "com.amazonaws.forecast#Integer", + "Avg": { + "target": "com.amazonaws.forecast#Double", "traits": { - "smithy.api#documentation": "

The number of null values in the field.

" + "smithy.api#documentation": "

For a numeric field, the average value in the field.

" } }, - "CountNan": { - "target": "com.amazonaws.forecast#Integer", + "Stddev": { + "target": "com.amazonaws.forecast#Double", "traits": { - "smithy.api#documentation": "

The number of NAN (not a number) values in the field.

" + "smithy.api#documentation": "

For a numeric field, the standard deviation.

" } } }, @@ -3253,23 +3306,23 @@ "com.amazonaws.forecast#SupplementaryFeature": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.forecast#Value", + "Name": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

One of the following 2 letter country codes:

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

The name of the feature. This must be \"holiday\".

", "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.forecast#Name", + "Value": { + "target": "com.amazonaws.forecast#Value", "traits": { - "smithy.api#documentation": "

The name of the feature. This must be \"holiday\".

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

One of the following 2 letter country codes:

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

Describes a supplementary feature of a dataset group. This object is part of the InputDataConfig object.

\n

The only supported feature is a holiday calendar. If you use the calendar, all data in the\n datasets should belong to the same country as the calendar. For the holiday calendar data, see\n the Jollyday web site.

\n

India and Korea's holidays are not included in the Jollyday library, but both are\n supported by Amazon Forecast. Their holidays are:

\n

\n \"IN\" - INDIA\n

\n \n

\n \"KR\" - KOREA\n

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

Describes a supplementary feature of a dataset group. This object is part of the InputDataConfig object.

\n

The only supported feature is Holidays. If you use the calendar, all data in the\n datasets should belong to the same country as the calendar. For the holiday calendar data, see\n the Jollyday website.

" } }, "com.amazonaws.forecast#SupplementaryFeatures": { @@ -3354,17 +3407,17 @@ "com.amazonaws.forecast#TagResourceRequest": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.forecast#Tags", + "ResourceArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The tags to add to the resource. A tag is an array of key-value pairs.

\n

The following basic restrictions apply to tags:

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

The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are Forecast dataset groups, datasets, dataset import jobs, predictors, forecasts, and forecast export jobs.

", "smithy.api#required": {} } }, - "ResourceArn": { - "target": "com.amazonaws.forecast#Arn", + "Tags": { + "target": "com.amazonaws.forecast#Tags", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are Forecast dataset groups, datasets, dataset import jobs, predictors, forecasts, and forecast export jobs.

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

The tags to add to the resource. A tag is an array of key-value pairs.

\n

The following basic restrictions apply to tags:

\n ", "smithy.api#required": {} } } @@ -3405,10 +3458,10 @@ "com.amazonaws.forecast#TestWindowSummary": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.forecast#Status", + "TestWindowStart": { + "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

The status of the test. Possible status values are:

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

The time at which the test began.

" } }, "TestWindowEnd": { @@ -3417,10 +3470,10 @@ "smithy.api#documentation": "

The time at which the test ended.

" } }, - "TestWindowStart": { - "target": "com.amazonaws.forecast#Timestamp", + "Status": { + "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The time at which the test began.

" + "smithy.api#documentation": "

The status of the test. Possible status values are:

\n " } }, "Message": { @@ -3538,17 +3591,17 @@ "com.amazonaws.forecast#UpdateDatasetGroupRequest": { "type": "structure", "members": { - "DatasetArns": { - "target": "com.amazonaws.forecast#ArnList", + "DatasetGroupArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

An array of the Amazon Resource Names (ARNs) of the datasets to add to the dataset\n group.

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

The ARN of the dataset group.

", "smithy.api#required": {} } }, - "DatasetGroupArn": { - "target": "com.amazonaws.forecast#Arn", + "DatasetArns": { + "target": "com.amazonaws.forecast#ArnList", "traits": { - "smithy.api#documentation": "

The ARN of the dataset group.

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

An array of the Amazon Resource Names (ARNs) of the datasets to add to the dataset\n group.

", "smithy.api#required": {} } } @@ -3609,6 +3662,18 @@ "com.amazonaws.forecast#WindowSummary": { "type": "structure", "members": { + "TestWindowStart": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp that defines the start of the window.

" + } + }, + "TestWindowEnd": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp that defines the end of the window.

" + } + }, "ItemCount": { "target": "com.amazonaws.forecast#Integer", "traits": { @@ -3621,23 +3686,11 @@ "smithy.api#documentation": "

The type of evaluation.

\n " } }, - "TestWindowEnd": { - "target": "com.amazonaws.forecast#Timestamp", - "traits": { - "smithy.api#documentation": "

The timestamp that defines the end of the window.

" - } - }, "Metrics": { "target": "com.amazonaws.forecast#Metrics", "traits": { "smithy.api#documentation": "

Provides metrics used to evaluate the performance of a predictor.

" } - }, - "TestWindowStart": { - "target": "com.amazonaws.forecast#Timestamp", - "traits": { - "smithy.api#documentation": "

The timestamp that defines the start of the window.

" - } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/fsx.2018-03-01.json b/codegen/sdk-codegen/aws-models/fsx.2018-03-01.json index cbaa4aaee4e6..e78ece36740f 100644 --- a/codegen/sdk-codegen/aws-models/fsx.2018-03-01.json +++ b/codegen/sdk-codegen/aws-models/fsx.2018-03-01.json @@ -44,6 +44,9 @@ "type": "service", "version": "2018-03-01", "operations": [ + { + "target": "com.amazonaws.fsx#AssociateFileSystemAliases" + }, { "target": "com.amazonaws.fsx#CancelDataRepositoryTask" }, @@ -71,9 +74,15 @@ { "target": "com.amazonaws.fsx#DescribeDataRepositoryTasks" }, + { + "target": "com.amazonaws.fsx#DescribeFileSystemAliases" + }, { "target": "com.amazonaws.fsx#DescribeFileSystems" }, + { + "target": "com.amazonaws.fsx#DisassociateFileSystemAliases" + }, { "target": "com.amazonaws.fsx#ListTagsForResource" }, @@ -105,17 +114,17 @@ "com.amazonaws.fsx#ActiveDirectoryBackupAttributes": { "type": "structure", "members": { - "ActiveDirectoryId": { - "target": "com.amazonaws.fsx#DirectoryId", - "traits": { - "smithy.api#documentation": "

The ID of the AWS Managed Microsoft Active Directory instance to which the file system is joined.

" - } - }, "DomainName": { "target": "com.amazonaws.fsx#ActiveDirectoryFullyQualifiedName", "traits": { "smithy.api#documentation": "

The fully qualified domain name of the self-managed AD directory.

" } + }, + "ActiveDirectoryId": { + "target": "com.amazonaws.fsx#DirectoryId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS Managed Microsoft Active Directory instance to which the file system is joined.

" + } } }, "traits": { @@ -125,12 +134,6 @@ "com.amazonaws.fsx#ActiveDirectoryError": { "type": "structure", "members": { - "Type": { - "target": "com.amazonaws.fsx#ActiveDirectoryErrorType", - "traits": { - "smithy.api#documentation": "

The type of Active Directory error.

" - } - }, "ActiveDirectoryId": { "target": "com.amazonaws.fsx#DirectoryId", "traits": { @@ -138,6 +141,12 @@ "smithy.api#required": {} } }, + "Type": { + "target": "com.amazonaws.fsx#ActiveDirectoryErrorType", + "traits": { + "smithy.api#documentation": "

The type of Active Directory error.

" + } + }, "Message": { "target": "com.amazonaws.fsx#ErrorMessage" } @@ -187,10 +196,10 @@ "AdministrativeActionType": { "target": "com.amazonaws.fsx#AdministrativeActionType" }, - "Status": { - "target": "com.amazonaws.fsx#Status", + "ProgressPercent": { + "target": "com.amazonaws.fsx#ProgressPercent", "traits": { - "smithy.api#documentation": "

Describes the status of the administrative action, as follows:

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

Provides the percent complete of a STORAGE_OPTIMIZATION administrative action. \n Does not apply to any other administrative action type.

" } }, "RequestTime": { @@ -199,16 +208,16 @@ "smithy.api#documentation": "

Time that the administrative action request was received.

" } }, - "TargetFileSystemValues": { - "target": "com.amazonaws.fsx#FileSystem", + "Status": { + "target": "com.amazonaws.fsx#Status", "traits": { - "smithy.api#documentation": "

Describes the target StorageCapacity or ThroughputCapacity value \n provided in the UpdateFileSystem operation. \n Returned for FILE_SYSTEM_UPDATE administrative actions. \n

" + "smithy.api#documentation": "

Describes the status of the administrative action, as follows:

\n " } }, - "ProgressPercent": { - "target": "com.amazonaws.fsx#ProgressPercent", + "TargetFileSystemValues": { + "target": "com.amazonaws.fsx#FileSystem", "traits": { - "smithy.api#documentation": "

Provides the percent complete of a STORAGE_OPTIMIZATION administrative action.

" + "smithy.api#documentation": "

Describes the target value for the administration action, \n provided in the UpdateFileSystem operation. \n Returned for FILE_SYSTEM_UPDATE administrative actions. \n

" } }, "FailureDetails": { @@ -225,7 +234,7 @@ "Message": { "target": "com.amazonaws.fsx#ErrorMessage", "traits": { - "smithy.api#documentation": "

Error message providing details about the failure.

" + "smithy.api#documentation": "

Error message providing details about the failed administrative action.

" } } }, @@ -236,7 +245,7 @@ "com.amazonaws.fsx#AdministrativeActionType": { "type": "string", "traits": { - "smithy.api#documentation": "

Describes the type of administrative action, as follows:

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

Describes the type of administrative action, as follows:

\n ", "smithy.api#enum": [ { "value": "FILE_SYSTEM_UPDATE", @@ -245,6 +254,14 @@ { "value": "STORAGE_OPTIMIZATION", "name": "STORAGE_OPTIMIZATION" + }, + { + "value": "FILE_SYSTEM_ALIAS_ASSOCIATION", + "name": "FILE_SYSTEM_ALIAS_ASSOCIATION" + }, + { + "value": "FILE_SYSTEM_ALIAS_DISASSOCIATION", + "name": "FILE_SYSTEM_ALIAS_DISASSOCIATION" } ] } @@ -261,16 +278,163 @@ } } }, + "com.amazonaws.fsx#Alias": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.fsx#AlternateDNSName", + "traits": { + "smithy.api#documentation": "

The name of the DNS alias. The alias name has to meet the following requirements:

\n \n

For DNS names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: \n as uppercase letters, lowercase letters, or the corresponding letters in escape codes.

" + } + }, + "Lifecycle": { + "target": "com.amazonaws.fsx#AliasLifecycle", + "traits": { + "smithy.api#documentation": "

Describes the state of the DNS alias.

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

A DNS alias that is associated with the file system. You can use a DNS alias to access a file system using \n user-defined DNS names, in addition to the default DNS name\n that Amazon FSx assigns to the file system. For more information, see \n DNS aliases in the FSx for Windows File Server User Guide.

" + } + }, + "com.amazonaws.fsx#AliasLifecycle": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AVAILABLE", + "name": "AVAILABLE" + }, + { + "value": "CREATING", + "name": "CREATING" + }, + { + "value": "DELETING", + "name": "DELETING" + }, + { + "value": "CREATE_FAILED", + "name": "CREATE_FAILED" + }, + { + "value": "DELETE_FAILED", + "name": "DELETE_FAILED" + } + ] + } + }, + "com.amazonaws.fsx#Aliases": { + "type": "list", + "member": { + "target": "com.amazonaws.fsx#Alias" + }, + "traits": { + "smithy.api#documentation": "

An array of one or more DNS aliases that are currently associated with the Amazon FSx file system. \n Aliases allow you to use existing DNS names to access the data in your Amazon FSx file system. \n You can associate up to 50 aliases with a file system at any time. \n You can associate additional DNS aliases after you create the file system using the AssociateFileSystemAliases operation. \n You can remove DNS aliases from the file system after it is created using the DisassociateFileSystemAliases operation.\n You only need to specify the alias name in the request payload. For more information, see \n DNS aliases.

", + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.fsx#AlternateDNSName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 4, + "max": 253 + }, + "smithy.api#pattern": "^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{4,253}$" + } + }, + "com.amazonaws.fsx#AlternateDNSNames": { + "type": "list", + "member": { + "target": "com.amazonaws.fsx#AlternateDNSName" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, "com.amazonaws.fsx#ArchivePath": { "type": "string", "traits": { "smithy.api#length": { "min": 3, - "max": 900 + "max": 4357 }, "smithy.api#pattern": "^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{3,4357}$" } }, + "com.amazonaws.fsx#AssociateFileSystemAliases": { + "type": "operation", + "input": { + "target": "com.amazonaws.fsx#AssociateFileSystemAliasesRequest" + }, + "output": { + "target": "com.amazonaws.fsx#AssociateFileSystemAliasesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.fsx#BadRequest" + }, + { + "target": "com.amazonaws.fsx#FileSystemNotFound" + }, + { + "target": "com.amazonaws.fsx#InternalServerError" + } + ], + "traits": { + "smithy.api#documentation": "

Use this action to associate one or more Domain Name Server (DNS) aliases with an existing Amazon FSx for Windows File Server file system. \n A file systen can have a maximum of 50 DNS aliases associated with it at any one time. If you try to \n associate a DNS alias that is already associated with the file system, FSx takes no action on that alias in the request. \n For more information, see Working with DNS Aliases and \n Walkthrough 5: Using DNS aliases to access your file system, including\n additional steps you must take to be able to access your file system using a DNS alias.

\n

The system response shows the DNS aliases that \n Amazon FSx is attempting to associate with the file system. \n Use the API \n operation to monitor the status of the aliases Amazon FSx is \n associating with the file system.

" + } + }, + "com.amazonaws.fsx#AssociateFileSystemAliasesRequest": { + "type": "structure", + "members": { + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", + "traits": { + "smithy.api#idempotencyToken": {} + } + }, + "FileSystemId": { + "target": "com.amazonaws.fsx#FileSystemId", + "traits": { + "smithy.api#documentation": "

Specifies the file system with which you want to associate one or more DNS aliases.

", + "smithy.api#required": {} + } + }, + "Aliases": { + "target": "com.amazonaws.fsx#AlternateDNSNames", + "traits": { + "smithy.api#documentation": "

An array of one or more DNS alias names to associate with the file system. \n The alias name has to comply with the following formatting requirements:

\n \n

For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: \n as uppercase letters, lowercase letters, or the corresponding letters in escape codes.

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

The request object specifying one or more DNS alias names to associate with an Amazon FSx for Windows File Server file system.

" + } + }, + "com.amazonaws.fsx#AssociateFileSystemAliasesResponse": { + "type": "structure", + "members": { + "Aliases": { + "target": "com.amazonaws.fsx#Aliases", + "traits": { + "smithy.api#documentation": "

An array of the DNS aliases that Amazon FSx is associating with the file system.

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

The system generated response showing the DNS aliases that \n Amazon FSx is attempting to associate with the file system. \n Use the API \n operation to monitor the status of the aliases Amazon FSx is \n associating with the file system. It can take up to 2.5 minutes for \n the alias status to change from CREATING to AVAILABLE.

" + } + }, "com.amazonaws.fsx#AutoImportPolicyType": { "type": "string", "traits": { @@ -304,10 +468,10 @@ "com.amazonaws.fsx#Backup": { "type": "structure", "members": { - "FileSystem": { - "target": "com.amazonaws.fsx#FileSystem", + "BackupId": { + "target": "com.amazonaws.fsx#BackupId", "traits": { - "smithy.api#documentation": "

Metadata of the file system associated with the backup. This metadata is persisted\n even if the file system is deleted.

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

The ID of the backup.

", "smithy.api#required": {} } }, @@ -318,27 +482,6 @@ "smithy.api#required": {} } }, - "ResourceARN": { - "target": "com.amazonaws.fsx#ResourceARN", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the backup resource.

" - } - }, - "KmsKeyId": { - "target": "com.amazonaws.fsx#KmsKeyId", - "traits": { - "smithy.api#documentation": "

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the \n backup of the Amazon FSx file system's data at rest. \n

" - } - }, - "DirectoryInformation": { - "target": "com.amazonaws.fsx#ActiveDirectoryBackupAttributes", - "traits": { - "smithy.api#documentation": "

The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance is joined.

" - } - }, - "ProgressPercent": { - "target": "com.amazonaws.fsx#ProgressPercent" - }, "FailureDetails": { "target": "com.amazonaws.fsx#BackupFailureDetails", "traits": { @@ -352,6 +495,9 @@ "smithy.api#required": {} } }, + "ProgressPercent": { + "target": "com.amazonaws.fsx#ProgressPercent" + }, "CreationTime": { "target": "com.amazonaws.fsx#CreationTime", "traits": { @@ -359,11 +505,16 @@ "smithy.api#required": {} } }, - "BackupId": { - "target": "com.amazonaws.fsx#BackupId", + "KmsKeyId": { + "target": "com.amazonaws.fsx#KmsKeyId", "traits": { - "smithy.api#documentation": "

The ID of the backup.

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

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the \n backup of the Amazon FSx file system's data at rest. \n

" + } + }, + "ResourceARN": { + "target": "com.amazonaws.fsx#ResourceARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the backup resource.

" } }, "Tags": { @@ -371,6 +522,19 @@ "traits": { "smithy.api#documentation": "

Tags associated with a particular file system.

" } + }, + "FileSystem": { + "target": "com.amazonaws.fsx#FileSystem", + "traits": { + "smithy.api#documentation": "

Metadata of the file system associated with the backup. This metadata is persisted\n even if the file system is deleted.

", + "smithy.api#required": {} + } + }, + "DirectoryInformation": { + "target": "com.amazonaws.fsx#ActiveDirectoryBackupAttributes", + "traits": { + "smithy.api#documentation": "

The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance is joined.

" + } } }, "traits": { @@ -497,6 +661,10 @@ { "value": "USER_INITIATED", "name": "USER_INITIATED" + }, + { + "value": "AWS_BACKUP", + "name": "AWS_BACKUP" } ] } @@ -602,6 +770,13 @@ "com.amazonaws.fsx#CompletionReport": { "type": "structure", "members": { + "Enabled": { + "target": "com.amazonaws.fsx#Flag", + "traits": { + "smithy.api#documentation": "

Set Enabled to True to generate a CompletionReport when the task completes. \n If set to true, then you need to provide a report Scope, Path, and Format. \n Set Enabled to False if you do not want a CompletionReport generated when the task completes.

", + "smithy.api#required": {} + } + }, "Path": { "target": "com.amazonaws.fsx#ArchivePath", "traits": { @@ -614,13 +789,6 @@ "smithy.api#documentation": "

Required if Enabled is set to true. Specifies the format of the CompletionReport. REPORT_CSV_20191124 is the only format currently supported.\n When Format is set to REPORT_CSV_20191124, the CompletionReport is provided in CSV format, and is delivered to\n {path}/task-{id}/failures.csv. \n

" } }, - "Enabled": { - "target": "com.amazonaws.fsx#Flag", - "traits": { - "smithy.api#documentation": "

Set Enabled to True to generate a CompletionReport when the task completes. \n If set to true, then you need to provide a report Scope, Path, and Format. \n Set Enabled to False if you do not want a CompletionReport generated when the task completes.

", - "smithy.api#required": {} - } - }, "Scope": { "target": "com.amazonaws.fsx#ReportScope", "traits": { @@ -671,10 +839,11 @@ "com.amazonaws.fsx#CreateBackupRequest": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.fsx#Tags", + "FileSystemId": { + "target": "com.amazonaws.fsx#FileSystemId", "traits": { - "smithy.api#documentation": "

(Optional) The tags to apply to the backup at backup creation. The key value of the\n Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and \n you specify one or more tags using the CreateBackup action, no existing file system tags are copied from the file system to the backup.

" + "smithy.api#documentation": "

The ID of the file system to back up.

", + "smithy.api#required": {} } }, "ClientRequestToken": { @@ -684,11 +853,10 @@ "smithy.api#idempotencyToken": {} } }, - "FileSystemId": { - "target": "com.amazonaws.fsx#FileSystemId", + "Tags": { + "target": "com.amazonaws.fsx#Tags", "traits": { - "smithy.api#documentation": "

The ID of the file system to back up.

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

(Optional) The tags to apply to the backup at backup creation. The key value of the\n Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and \n you specify one or more tags using the CreateBackup action, no existing file system tags are copied from the file system to the backup.

" } } }, @@ -749,15 +917,22 @@ "com.amazonaws.fsx#CreateDataRepositoryTaskRequest": { "type": "structure", "members": { - "ClientRequestToken": { - "target": "com.amazonaws.fsx#ClientRequestToken", + "Type": { + "target": "com.amazonaws.fsx#DataRepositoryTaskType", "traits": { - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "

Specifies the type of data repository task to create.

", + "smithy.api#required": {} } }, - "FileSystemId": { - "target": "com.amazonaws.fsx#FileSystemId", - "traits": { + "Paths": { + "target": "com.amazonaws.fsx#DataRepositoryTaskPaths", + "traits": { + "smithy.api#documentation": "

(Optional) The path or paths on the Amazon FSx file system to use when the data repository task is processed. \n The default path is the file system root directory. The paths you provide need to be relative to the mount point of the file system. \n If the mount point is /mnt/fsx and /mnt/fsx/path1 is a directory or \n file on the file system you want to export, then the path to provide is path1.\n If a path that you provide isn't valid, the task fails.

" + } + }, + "FileSystemId": { + "target": "com.amazonaws.fsx#FileSystemId", + "traits": { "smithy.api#required": {} } }, @@ -768,21 +943,14 @@ "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.fsx#Tags" - }, - "Paths": { - "target": "com.amazonaws.fsx#DataRepositoryTaskPaths", + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", "traits": { - "smithy.api#documentation": "

(Optional) The path or paths on the Amazon FSx file system to use when the data repository task is processed. \n The default path is the file system root directory. The paths you provide need to be relative to the mount point of the file system. \n If the mount point is /mnt/fsx and /mnt/fsx/path1 is a directory or \n file on the file system you want to export, then the path to provide is path1.\n If a path that you provide isn't valid, the task fails.

" + "smithy.api#idempotencyToken": {} } }, - "Type": { - "target": "com.amazonaws.fsx#DataRepositoryTaskType", - "traits": { - "smithy.api#documentation": "

Specifies the type of data repository task to create.

", - "smithy.api#required": {} - } + "Tags": { + "target": "com.amazonaws.fsx#Tags" } } }, @@ -885,26 +1053,24 @@ "com.amazonaws.fsx#CreateFileSystemFromBackupRequest": { "type": "structure", "members": { - "SubnetIds": { - "target": "com.amazonaws.fsx#SubnetIds", - "traits": { - "smithy.api#documentation": "

Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 \n file system deployment types, provide exactly two subnet IDs, one for the preferred file server \n and one for the standby file server. You specify one of these subnets as the preferred subnet \n using the WindowsConfiguration > PreferredSubnetID property.

\n

For Windows SINGLE_AZ_1 and SINGLE_AZ_2 deployment \n types and Lustre file systems, provide exactly one subnet ID.\n The file server is launched in that subnet's Availability Zone.

", - "smithy.api#required": {} - } - }, "BackupId": { "target": "com.amazonaws.fsx#BackupId", "traits": { "smithy.api#required": {} } }, - "LustreConfiguration": { - "target": "com.amazonaws.fsx#CreateFileSystemLustreConfiguration" + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", + "traits": { + "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure\n idempotent creation. This string is automatically filled on your behalf when you use the\n AWS Command Line Interface (AWS CLI) or an AWS SDK.

", + "smithy.api#idempotencyToken": {} + } }, - "WindowsConfiguration": { - "target": "com.amazonaws.fsx#CreateFileSystemWindowsConfiguration", + "SubnetIds": { + "target": "com.amazonaws.fsx#SubnetIds", "traits": { - "smithy.api#documentation": "

The configuration for this Microsoft Windows file system.

" + "smithy.api#documentation": "

Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 \n file system deployment types, provide exactly two subnet IDs, one for the preferred file server \n and one for the standby file server. You specify one of these subnets as the preferred subnet \n using the WindowsConfiguration > PreferredSubnetID property.

\n

For Windows SINGLE_AZ_1 and SINGLE_AZ_2 deployment \n types and Lustre file systems, provide exactly one subnet ID.\n The file server is launched in that subnet's Availability Zone.

", + "smithy.api#required": {} } }, "SecurityGroupIds": { @@ -913,23 +1079,25 @@ "smithy.api#documentation": "

A list of IDs for the security groups that apply to the specified network\n interfaces created for file system access. These security groups apply to all network\n interfaces. This value isn't returned in later DescribeFileSystem requests.

" } }, - "StorageType": { - "target": "com.amazonaws.fsx#StorageType", + "Tags": { + "target": "com.amazonaws.fsx#Tags", "traits": { - "smithy.api#documentation": "

Sets the storage type for the Windows file system you're creating from a backup. \n Valid values are SSD and HDD.

\n \n

\n Default value is SSD. \n

\n \n

HDD and SSD storage types have different minimum storage capacity requirements. \n A restored file system's storage capacity is tied to the file system that was backed up. \n You can create a file system that uses HDD storage from a backup of a file system that \n used SSD storage only if the original SSD file system had a storage capacity of at least 2000 GiB. \n

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

The tags to be applied to the file system at file system creation. The key value of\n the Name tag appears in the console as the file system\n name.

" } }, - "ClientRequestToken": { - "target": "com.amazonaws.fsx#ClientRequestToken", + "WindowsConfiguration": { + "target": "com.amazonaws.fsx#CreateFileSystemWindowsConfiguration", "traits": { - "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure\n idempotent creation. This string is automatically filled on your behalf when you use the\n AWS Command Line Interface (AWS CLI) or an AWS SDK.

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

The configuration for this Microsoft Windows file system.

" } }, - "Tags": { - "target": "com.amazonaws.fsx#Tags", + "LustreConfiguration": { + "target": "com.amazonaws.fsx#CreateFileSystemLustreConfiguration" + }, + "StorageType": { + "target": "com.amazonaws.fsx#StorageType", "traits": { - "smithy.api#documentation": "

The tags to be applied to the file system at file system creation. The key value of\n the Name tag appears in the console as the file system\n name.

" + "smithy.api#documentation": "

Sets the storage type for the Windows file system you're creating from a backup. \n Valid values are SSD and HDD.

\n \n

\n Default value is SSD. \n

\n \n

HDD and SSD storage types have different minimum storage capacity requirements. \n A restored file system's storage capacity is tied to the file system that was backed up. \n You can create a file system that uses HDD storage from a backup of a file system that \n used SSD storage only if the original SSD file system had a storage capacity of at least 2000 GiB. \n

\n
" } } }, @@ -954,34 +1122,28 @@ "com.amazonaws.fsx#CreateFileSystemLustreConfiguration": { "type": "structure", "members": { - "ImportPath": { - "target": "com.amazonaws.fsx#ArchivePath", - "traits": { - "smithy.api#documentation": "

(Optional) The path to the Amazon S3 bucket (including the optional prefix) that\n you're using as the data repository for your Amazon FSx for Lustre file system.\n The root of your FSx for Lustre file system will\n be mapped to the root of the Amazon S3 bucket you select. An\n example is s3://import-bucket/optional-prefix. If you specify a prefix\n after the Amazon S3 bucket name, only object keys with that prefix are loaded into the\n file system.

" - } - }, "WeeklyMaintenanceStartTime": { "target": "com.amazonaws.fsx#WeeklyTime", "traits": { "smithy.api#documentation": "

(Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC\n time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

" } }, - "DriveCacheType": { - "target": "com.amazonaws.fsx#DriveCacheType", + "ImportPath": { + "target": "com.amazonaws.fsx#ArchivePath", "traits": { - "smithy.api#documentation": "

The type of drive cache used by PERSISTENT_1 file systems that are provisioned with\n HDD storage devices. This parameter is required when storage type is HDD. Set to\n READ, improve the performance for frequently accessed files and allows 20%\n of the total storage capacity of the file system to be cached.

\n

This parameter is required when StorageType is set to HDD.

" + "smithy.api#documentation": "

(Optional) The path to the Amazon S3 bucket (including the optional prefix) that\n you're using as the data repository for your Amazon FSx for Lustre file system.\n The root of your FSx for Lustre file system will\n be mapped to the root of the Amazon S3 bucket you select. An\n example is s3://import-bucket/optional-prefix. If you specify a prefix\n after the Amazon S3 bucket name, only object keys with that prefix are loaded into the\n file system.

" } }, - "AutoImportPolicy": { - "target": "com.amazonaws.fsx#AutoImportPolicyType", + "ExportPath": { + "target": "com.amazonaws.fsx#ArchivePath", "traits": { - "smithy.api#documentation": "

(Optional) When you create your file system, your existing S3 objects appear as file and directory listings. \n Use this property to choose how Amazon FSx keeps your file and directory listings up to date \n as you add or modify objects in your linked S3 bucket. AutoImportPolicy can\n have the following values:

\n \n \n \n \n

For more information, see Automatically import updates from your S3 bucket.

" + "smithy.api#documentation": "

(Optional) The path in Amazon S3 where the root of your Amazon FSx file system is exported. \n The path must use the same Amazon S3 bucket as specified in ImportPath. You can provide an optional prefix to which\n new and changed data is to be exported from your Amazon FSx for Lustre file system. If\n an ExportPath value is not provided, Amazon FSx sets a default export path,\n s3://import-bucket/FSxLustre[creation-timestamp]. The timestamp is in\n UTC format, for example\n s3://import-bucket/FSxLustre20181105T222312Z.

\n\n

The Amazon S3 export bucket must be the same as the import bucket specified by\n ImportPath. If you only specify a bucket name, such as\n s3://import-bucket, you get a 1:1 mapping of file system objects to S3\n bucket objects. This mapping means that the input data in S3 is overwritten on export.\n If you provide a custom prefix in the export path, such as\n s3://import-bucket/[custom-optional-prefix], Amazon FSx exports the contents of your file \n system to that export prefix in the Amazon S3 bucket.

" } }, - "CopyTagsToBackups": { - "target": "com.amazonaws.fsx#Flag", + "ImportedFileChunkSize": { + "target": "com.amazonaws.fsx#Megabytes", "traits": { - "smithy.api#documentation": "

(Optional) Not available to use with file systems that are linked to a data repository. \n A boolean flag indicating whether tags for the file system should be copied to\n backups. The default value is false. If it's set to true, all file system\n tags are copied to all automatic and user-initiated backups when the user\n doesn't specify any backup-specific tags. If this value is true, and you specify one or more backup tags, only\n the specified tags are copied to backups. If you specify one or more tags when creating a\n user-initiated backup, no tags are copied from the file system, regardless of this value.

\n

For more information, see Working with backups.

" + "smithy.api#documentation": "

(Optional) For files imported from a data repository, this value determines the stripe\n count and maximum amount of data per file (in MiB) stored on a single physical disk. The\n maximum number of disks that a single file can be striped across is limited by the total\n number of disks that make up the file system.

\n \n

The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500\n GiB). Amazon S3 objects have a maximum size of 5 TB.

" } }, "DeploymentType": { @@ -990,10 +1152,10 @@ "smithy.api#documentation": "

\n Choose SCRATCH_1 and SCRATCH_2 deployment \n types when you need temporary storage and shorter-term processing of data. \n The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst \n throughput capacity than SCRATCH_1.

\n \n

Choose PERSISTENT_1 deployment type for longer-term storage \n and workloads and encryption of data in transit. To learn more about deployment types, see \n \n FSx for Lustre Deployment Options.

\n

Encryption of data in-transit is automatically \n enabled when you access a SCRATCH_2 or PERSISTENT_1\n file system from Amazon EC2 instances that support this feature.\n (Default = SCRATCH_1)\n

\n

Encryption of data in-transit for SCRATCH_2 and PERSISTENT_1 \n deployment types is supported when accessed from supported instance types in supported AWS Regions. To learn more, \n Encrypting Data in Transit.

" } }, - "ImportedFileChunkSize": { - "target": "com.amazonaws.fsx#Megabytes", + "AutoImportPolicy": { + "target": "com.amazonaws.fsx#AutoImportPolicyType", "traits": { - "smithy.api#documentation": "

(Optional) For files imported from a data repository, this value determines the stripe\n count and maximum amount of data per file (in MiB) stored on a single physical disk. The\n maximum number of disks that a single file can be striped across is limited by the total\n number of disks that make up the file system.

\n \n

The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500\n GiB). Amazon S3 objects have a maximum size of 5 TB.

" + "smithy.api#documentation": "

(Optional) When you create your file system, your existing S3 objects appear as file and directory listings. \n Use this property to choose how Amazon FSx keeps your file and directory listings up to date \n as you add or modify objects in your linked S3 bucket. AutoImportPolicy can\n have the following values:

\n \n \n \n \n

For more information, see Automatically import updates from your S3 bucket.

" } }, "PerUnitStorageThroughput": { @@ -1002,16 +1164,22 @@ "smithy.api#documentation": "

\n Required for the PERSISTENT_1 deployment type, describes the amount of read and write \n throughput for each 1 tebibyte of storage, in MB/s/TiB. \n File system throughput capacity is calculated by multiplying file system storage capacity (TiB) by the PerUnitStorageThroughput\n (MB/s/TiB). For a 2.4 TiB file system, provisioning 50 MB/s/TiB of PerUnitStorageThroughput\n yields 120 MB/s of file system throughput. You pay for the amount of throughput that you\n provision.\n

\n

Valid values for SSD storage: 50, 100, 200. Valid values for HDD storage: 12, 40.

" } }, + "DailyAutomaticBackupStartTime": { + "target": "com.amazonaws.fsx#DailyTime" + }, "AutomaticBackupRetentionDays": { "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays" }, - "DailyAutomaticBackupStartTime": { - "target": "com.amazonaws.fsx#DailyTime" + "CopyTagsToBackups": { + "target": "com.amazonaws.fsx#Flag", + "traits": { + "smithy.api#documentation": "

(Optional) Not available to use with file systems that are linked to a data repository. \n A boolean flag indicating whether tags for the file system should be copied to\n backups. The default value is false. If it's set to true, all file system\n tags are copied to all automatic and user-initiated backups when the user\n doesn't specify any backup-specific tags. If this value is true, and you specify one or more backup tags, only\n the specified tags are copied to backups. If you specify one or more tags when creating a\n user-initiated backup, no tags are copied from the file system, regardless of this value.

\n

For more information, see Working with backups.

" + } }, - "ExportPath": { - "target": "com.amazonaws.fsx#ArchivePath", + "DriveCacheType": { + "target": "com.amazonaws.fsx#DriveCacheType", "traits": { - "smithy.api#documentation": "

(Optional) The path in Amazon S3 where the root of your Amazon FSx file system is exported. \n The path must use the same Amazon S3 bucket as specified in ImportPath. You can provide an optional prefix to which\n new and changed data is to be exported from your Amazon FSx for Lustre file system. If\n an ExportPath value is not provided, Amazon FSx sets a default export path,\n s3://import-bucket/FSxLustre[creation-timestamp]. The timestamp is in\n UTC format, for example\n s3://import-bucket/FSxLustre20181105T222312Z.

\n\n

The Amazon S3 export bucket must be the same as the import bucket specified by\n ImportPath. If you only specify a bucket name, such as\n s3://import-bucket, you get a 1:1 mapping of file system objects to S3\n bucket objects. This mapping means that the input data in S3 is overwritten on export.\n If you provide a custom prefix in the export path, such as\n s3://import-bucket/[custom-optional-prefix], Amazon FSx exports the contents of your file \n system to that export prefix in the Amazon S3 bucket.

" + "smithy.api#documentation": "

The type of drive cache used by PERSISTENT_1 file systems that are provisioned with\n HDD storage devices. This parameter is required when storage type is HDD. Set to\n READ, improve the performance for frequently accessed files and allows 20%\n of the total storage capacity of the file system to be cached.

\n

This parameter is required when StorageType is set to HDD.

" } } }, @@ -1022,26 +1190,11 @@ "com.amazonaws.fsx#CreateFileSystemRequest": { "type": "structure", "members": { - "KmsKeyId": { - "target": "com.amazonaws.fsx#KmsKeyId" - }, - "SubnetIds": { - "target": "com.amazonaws.fsx#SubnetIds", - "traits": { - "smithy.api#documentation": "

Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 \n file system deployment types, provide exactly two subnet IDs, one for the preferred file server \n and one for the standby file server. You specify one of these subnets as the preferred subnet \n using the WindowsConfiguration > PreferredSubnetID property.

\n

For Windows SINGLE_AZ_1 and SINGLE_AZ_2 file system deployment types and Lustre file systems, provide exactly one subnet ID.\n The file server is launched in that subnet's Availability Zone.

", - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.fsx#Tags", - "traits": { - "smithy.api#documentation": "

The tags to apply to the file system being created. The key value of\n the Name tag appears in the console as the file system name.

" - } - }, - "WindowsConfiguration": { - "target": "com.amazonaws.fsx#CreateFileSystemWindowsConfiguration", + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", "traits": { - "smithy.api#documentation": "

The Microsoft Windows configuration for the file system being created. \n

" + "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure\n idempotent creation. This string is automatically filled on your behalf when you use the\n AWS Command Line Interface (AWS CLI) or an AWS SDK.

", + "smithy.api#idempotencyToken": {} } }, "FileSystemType": { @@ -1058,27 +1211,42 @@ "smithy.api#required": {} } }, + "StorageType": { + "target": "com.amazonaws.fsx#StorageType", + "traits": { + "smithy.api#documentation": "

Sets the storage type for the file system you're creating. \n Valid values are SSD and HDD.

\n \n

\n Default value is SSD. For more information, see \n \n Storage Type Options in the Amazon FSx for Windows User Guide and \n Multiple Storage Options \n in the Amazon FSx for Lustre User Guide.\n

" + } + }, + "SubnetIds": { + "target": "com.amazonaws.fsx#SubnetIds", + "traits": { + "smithy.api#documentation": "

Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 \n file system deployment types, provide exactly two subnet IDs, one for the preferred file server \n and one for the standby file server. You specify one of these subnets as the preferred subnet \n using the WindowsConfiguration > PreferredSubnetID property.

\n

For Windows SINGLE_AZ_1 and SINGLE_AZ_2 file system deployment types and Lustre file systems, provide exactly one subnet ID.\n The file server is launched in that subnet's Availability Zone.

", + "smithy.api#required": {} + } + }, "SecurityGroupIds": { "target": "com.amazonaws.fsx#SecurityGroupIds", "traits": { "smithy.api#documentation": "

A list of IDs specifying the security groups to apply to all network interfaces\n created for file system access. This list isn't returned in later requests to\n describe the file system.

" } }, - "StorageType": { - "target": "com.amazonaws.fsx#StorageType", + "Tags": { + "target": "com.amazonaws.fsx#Tags", "traits": { - "smithy.api#documentation": "

Sets the storage type for the file system you're creating. \n Valid values are SSD and HDD.

\n \n

\n Default value is SSD. For more information, see \n \n Storage Type Options in the Amazon FSx for Windows User Guide and \n Multiple Storage Options \n in the Amazon FSx for Lustre User Guide.\n

" + "smithy.api#documentation": "

The tags to apply to the file system being created. The key value of\n the Name tag appears in the console as the file system name.

" } }, - "LustreConfiguration": { - "target": "com.amazonaws.fsx#CreateFileSystemLustreConfiguration" + "KmsKeyId": { + "target": "com.amazonaws.fsx#KmsKeyId" }, - "ClientRequestToken": { - "target": "com.amazonaws.fsx#ClientRequestToken", + "WindowsConfiguration": { + "target": "com.amazonaws.fsx#CreateFileSystemWindowsConfiguration", "traits": { - "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure\n idempotent creation. This string is automatically filled on your behalf when you use the\n AWS Command Line Interface (AWS CLI) or an AWS SDK.

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

The Microsoft Windows configuration for the file system being created. \n

" } + }, + "LustreConfiguration": { + "target": "com.amazonaws.fsx#CreateFileSystemLustreConfiguration" } }, "traits": { @@ -1102,22 +1270,32 @@ "com.amazonaws.fsx#CreateFileSystemWindowsConfiguration": { "type": "structure", "members": { - "PreferredSubnetId": { - "target": "com.amazonaws.fsx#SubnetId", + "ActiveDirectoryId": { + "target": "com.amazonaws.fsx#DirectoryId", "traits": { - "smithy.api#documentation": "

Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet \n in which you want the preferred file server to be located. For in-AWS applications, we recommend that you launch \n your clients in the same Availability Zone (AZ) as your preferred file server to reduce cross-AZ \n data transfer costs and minimize latency.

" + "smithy.api#documentation": "

The ID for an existing AWS Managed Microsoft Active Directory (AD) instance that the\n file system should join when it's created.

" } }, - "AutomaticBackupRetentionDays": { - "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays", + "SelfManagedActiveDirectoryConfiguration": { + "target": "com.amazonaws.fsx#SelfManagedActiveDirectoryConfiguration" + }, + "DeploymentType": { + "target": "com.amazonaws.fsx#WindowsDeploymentType", "traits": { - "smithy.api#documentation": "

The number of days to retain automatic backups. The default is to retain backups for 7\n days. Setting this value to 0 disables the creation of automatic backups. The maximum\n retention period for backups is 90 days.

" + "smithy.api#documentation": "

Specifies the file system deployment type, valid values are the following:

\n \n

For more information, see \n \n Availability and Durability: Single-AZ and Multi-AZ File Systems.

" } }, - "DailyAutomaticBackupStartTime": { - "target": "com.amazonaws.fsx#DailyTime", + "PreferredSubnetId": { + "target": "com.amazonaws.fsx#SubnetId", "traits": { - "smithy.api#documentation": "

The preferred time to take daily automatic backups, formatted HH:MM in the UTC time\n zone.

" + "smithy.api#documentation": "

Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet \n in which you want the preferred file server to be located. For in-AWS applications, we recommend that you launch \n your clients in the same Availability Zone (AZ) as your preferred file server to reduce cross-AZ \n data transfer costs and minimize latency.

" + } + }, + "ThroughputCapacity": { + "target": "com.amazonaws.fsx#MegabytesPerSecond", + "traits": { + "smithy.api#documentation": "

The throughput of an Amazon FSx file system, measured in megabytes per second, in 2 to\n the nth increments, between 2^3 (8) and 2^11 (2048).

", + "smithy.api#required": {} } }, "WeeklyMaintenanceStartTime": { @@ -1126,19 +1304,16 @@ "smithy.api#documentation": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC\n time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

" } }, - "ActiveDirectoryId": { - "target": "com.amazonaws.fsx#DirectoryId", + "DailyAutomaticBackupStartTime": { + "target": "com.amazonaws.fsx#DailyTime", "traits": { - "smithy.api#documentation": "

The ID for an existing AWS Managed Microsoft Active Directory (AD) instance that the\n file system should join when it's created.

" + "smithy.api#documentation": "

The preferred time to take daily automatic backups, formatted HH:MM in the UTC time\n zone.

" } }, - "SelfManagedActiveDirectoryConfiguration": { - "target": "com.amazonaws.fsx#SelfManagedActiveDirectoryConfiguration" - }, - "DeploymentType": { - "target": "com.amazonaws.fsx#WindowsDeploymentType", + "AutomaticBackupRetentionDays": { + "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays", "traits": { - "smithy.api#documentation": "

Specifies the file system deployment type, valid values are the following:

\n \n

For more information, see \n \n Availability and Durability: Single-AZ and Multi-AZ File Systems.

" + "smithy.api#documentation": "

The number of days to retain automatic backups. The default is to retain backups for 7\n days. Setting this value to 0 disables the creation of automatic backups. The maximum\n retention period for backups is 90 days.

" } }, "CopyTagsToBackups": { @@ -1147,11 +1322,10 @@ "smithy.api#documentation": "

A boolean flag indicating whether tags for the file system should be copied to\n backups. This value defaults to false. If it's set to true, all tags for the file\n system are copied to all automatic and user-initiated backups where the user\n doesn't specify tags. If this value is true, and you specify one or more tags, only\n the specified tags are copied to backups. If you specify one or more tags when creating a\n user-initiated backup, no tags are copied from the file system, regardless of this value.

" } }, - "ThroughputCapacity": { - "target": "com.amazonaws.fsx#MegabytesPerSecond", + "Aliases": { + "target": "com.amazonaws.fsx#AlternateDNSNames", "traits": { - "smithy.api#documentation": "

The throughput of an Amazon FSx file system, measured in megabytes per second, in 2 to\n the nth increments, between 2^3 (8) and 2^11 (2048).

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

An array of one or more DNS alias names that you want to associate with the Amazon FSx file system. \n Aliases allow you to use existing DNS names to access the data in your Amazon FSx file system. \n You can associate up to 50 aliases with a file system at any time. \n You can associate additional DNS aliases after you create the file system using the AssociateFileSystemAliases operation. \n You can remove DNS aliases from the file system after it is created using the DisassociateFileSystemAliases operation.\n You only need to specify the alias name in the request payload.

\n

For more information, see Working with DNS Aliases and \n Walkthrough 5: Using DNS aliases to access your file system, including\n additional steps you must take to be able to access your file system using a DNS alias.

\n

An alias name has to meet the following requirements:

\n \n

For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: \n as uppercase letters, lowercase letters, or the corresponding letters in escape codes.

" } } }, @@ -1202,26 +1376,26 @@ "smithy.api#documentation": "

The import path to the Amazon S3 bucket (and optional prefix) that you're using\n as the data repository for your FSx for Lustre file system, for example\n s3://import-bucket/optional-prefix. If a prefix is specified after the\n Amazon S3 bucket name, only object keys with that prefix are loaded into the file\n system.

" } }, - "FailureDetails": { - "target": "com.amazonaws.fsx#DataRepositoryFailureDetails" - }, "ExportPath": { "target": "com.amazonaws.fsx#ArchivePath", "traits": { "smithy.api#documentation": "

The export path to the Amazon S3 bucket (and prefix) that you are using to store new and\n changed Lustre file system files in S3.

" } }, + "ImportedFileChunkSize": { + "target": "com.amazonaws.fsx#Megabytes", + "traits": { + "smithy.api#documentation": "

For files imported from a data repository, this value determines the stripe count and\n maximum amount of data per file (in MiB) stored on a single physical disk. The maximum\n number of disks that a single file can be striped across is limited by the total number\n of disks that make up the file system.

\n\n

The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500\n GiB). Amazon S3 objects have a maximum size of 5 TB.

" + } + }, "AutoImportPolicy": { "target": "com.amazonaws.fsx#AutoImportPolicyType", "traits": { "smithy.api#documentation": "

Describes the file system's linked S3 data repository's AutoImportPolicy. \n The AutoImportPolicy configures how Amazon FSx keeps your file and directory listings up to date \n as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values:

\n \n

For more information, see Automatically import updates from your S3 bucket.

" } }, - "ImportedFileChunkSize": { - "target": "com.amazonaws.fsx#Megabytes", - "traits": { - "smithy.api#documentation": "

For files imported from a data repository, this value determines the stripe count and\n maximum amount of data per file (in MiB) stored on a single physical disk. The maximum\n number of disks that a single file can be striped across is limited by the total number\n of disks that make up the file system.

\n\n

The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500\n GiB). Amazon S3 objects have a maximum size of 5 TB.

" - } + "FailureDetails": { + "target": "com.amazonaws.fsx#DataRepositoryFailureDetails" } }, "traits": { @@ -1269,25 +1443,30 @@ "com.amazonaws.fsx#DataRepositoryTask": { "type": "structure", "members": { - "FailureDetails": { - "target": "com.amazonaws.fsx#DataRepositoryTaskFailureDetails", + "TaskId": { + "target": "com.amazonaws.fsx#TaskId", "traits": { - "smithy.api#documentation": "

Failure message describing why the task failed, it is populated only when Lifecycle is set to FAILED.

" + "smithy.api#documentation": "

The system-generated, unique 17-digit ID of the data repository task.

", + "smithy.api#required": {} } }, - "Report": { - "target": "com.amazonaws.fsx#CompletionReport" + "Lifecycle": { + "target": "com.amazonaws.fsx#DataRepositoryTaskLifecycle", + "traits": { + "smithy.api#documentation": "

The lifecycle status of the data repository task, as follows:

\n \n \n

You cannot delete an FSx for Lustre file system if there are data \n repository tasks for the file system in the PENDING or EXECUTING states.\n Please retry when the data repository task is finished (with a status of CANCELED, SUCCEEDED, or FAILED). \n You can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your file system immediately.

\n
", + "smithy.api#required": {} + } }, - "Status": { - "target": "com.amazonaws.fsx#DataRepositoryTaskStatus", + "Type": { + "target": "com.amazonaws.fsx#DataRepositoryTaskType", "traits": { - "smithy.api#documentation": "

Provides the status of the number of files that the task has processed successfully and failed to process.

" + "smithy.api#documentation": "

The type of data repository task; EXPORT_TO_REPOSITORY is the only type currently supported.

", + "smithy.api#required": {} } }, - "Lifecycle": { - "target": "com.amazonaws.fsx#DataRepositoryTaskLifecycle", + "CreationTime": { + "target": "com.amazonaws.fsx#CreationTime", "traits": { - "smithy.api#documentation": "

The lifecycle status of the data repository task, as follows:

\n \n \n

You cannot delete an FSx for Lustre file system if there are data \n repository tasks for the file system in the PENDING or EXECUTING states.\n Please retry when the data repository task is finished (with a status of CANCELED, SUCCEEDED, or FAILED). \n You can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your file system immediately.

\n
", "smithy.api#required": {} } }, @@ -1303,16 +1482,15 @@ "smithy.api#documentation": "

The time that Amazon FSx completed processing the task, populated after the task is complete.

" } }, - "Tags": { - "target": "com.amazonaws.fsx#Tags" - }, "ResourceARN": { "target": "com.amazonaws.fsx#ResourceARN" }, - "Type": { - "target": "com.amazonaws.fsx#DataRepositoryTaskType", + "Tags": { + "target": "com.amazonaws.fsx#Tags" + }, + "FileSystemId": { + "target": "com.amazonaws.fsx#FileSystemId", "traits": { - "smithy.api#documentation": "

The type of data repository task; EXPORT_TO_REPOSITORY is the only type currently supported.

", "smithy.api#required": {} } }, @@ -1322,24 +1500,20 @@ "smithy.api#documentation": "

An array of paths on the Amazon FSx for Lustre file system that specify the data for the data repository task to process. \n For example, in an EXPORT_TO_REPOSITORY task, the paths specify which data to export to the linked data repository.

\n

(Default) If Paths is not specified, Amazon FSx uses the file system root directory.

" } }, - "FileSystemId": { - "target": "com.amazonaws.fsx#FileSystemId", + "FailureDetails": { + "target": "com.amazonaws.fsx#DataRepositoryTaskFailureDetails", "traits": { - "smithy.api#required": {} + "smithy.api#documentation": "

Failure message describing why the task failed, it is populated only when Lifecycle is set to FAILED.

" } }, - "TaskId": { - "target": "com.amazonaws.fsx#TaskId", + "Status": { + "target": "com.amazonaws.fsx#DataRepositoryTaskStatus", "traits": { - "smithy.api#documentation": "

The system-generated, unique 17-digit ID of the data repository task.

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

Provides the status of the number of files that the task has processed successfully and failed to process.

" } }, - "CreationTime": { - "target": "com.amazonaws.fsx#CreationTime", - "traits": { - "smithy.api#required": {} - } + "Report": { + "target": "com.amazonaws.fsx#CompletionReport" } }, "traits": { @@ -1606,19 +1780,19 @@ "com.amazonaws.fsx#DeleteBackupRequest": { "type": "structure", "members": { - "ClientRequestToken": { - "target": "com.amazonaws.fsx#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure\n idempotent deletion. This is automatically filled on your behalf when using the AWS CLI\n or SDK.

", - "smithy.api#idempotencyToken": {} - } - }, "BackupId": { "target": "com.amazonaws.fsx#BackupId", "traits": { "smithy.api#documentation": "

The ID of the backup you want to delete.

", "smithy.api#required": {} } + }, + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", + "traits": { + "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure\n idempotent deletion. This is automatically filled on your behalf when using the AWS CLI\n or SDK.

", + "smithy.api#idempotencyToken": {} + } } }, "traits": { @@ -1678,17 +1852,17 @@ "com.amazonaws.fsx#DeleteFileSystemLustreConfiguration": { "type": "structure", "members": { - "FinalBackupTags": { - "target": "com.amazonaws.fsx#Tags", - "traits": { - "smithy.api#documentation": "

Use if SkipFinalBackup is set to false, \n and you want to apply an array of tags to the final backup. If you have set the file system property\n CopyTagsToBackups to true, and \n you specify one or more FinalBackupTags when deleting a file system, Amazon FSx will not copy any existing file system tags to the backup.

" - } - }, "SkipFinalBackup": { "target": "com.amazonaws.fsx#Flag", "traits": { "smithy.api#documentation": "

Set SkipFinalBackup to false if you want to take a final backup of the file \n system you are deleting. By default, Amazon FSx will not take a final backup on your behalf when the\n DeleteFileSystem operation is invoked. (Default = true)

" } + }, + "FinalBackupTags": { + "target": "com.amazonaws.fsx#Tags", + "traits": { + "smithy.api#documentation": "

Use if SkipFinalBackup is set to false, \n and you want to apply an array of tags to the final backup. If you have set the file system property\n CopyTagsToBackups to true, and \n you specify one or more FinalBackupTags when deleting a file system, Amazon FSx will not copy any existing file system tags to the backup.

" + } } }, "traits": { @@ -1698,17 +1872,17 @@ "com.amazonaws.fsx#DeleteFileSystemLustreResponse": { "type": "structure", "members": { - "FinalBackupTags": { - "target": "com.amazonaws.fsx#Tags", - "traits": { - "smithy.api#documentation": "

The set of tags applied to the final backup.

" - } - }, "FinalBackupId": { "target": "com.amazonaws.fsx#BackupId", "traits": { "smithy.api#documentation": "

The ID of the final backup for this file system.

" } + }, + "FinalBackupTags": { + "target": "com.amazonaws.fsx#Tags", + "traits": { + "smithy.api#documentation": "

The set of tags applied to the final backup.

" + } } }, "traits": { @@ -1718,11 +1892,12 @@ "com.amazonaws.fsx#DeleteFileSystemRequest": { "type": "structure", "members": { - "LustreConfiguration": { - "target": "com.amazonaws.fsx#DeleteFileSystemLustreConfiguration" - }, - "WindowsConfiguration": { - "target": "com.amazonaws.fsx#DeleteFileSystemWindowsConfiguration" + "FileSystemId": { + "target": "com.amazonaws.fsx#FileSystemId", + "traits": { + "smithy.api#documentation": "

The ID of the file system you want to delete.

", + "smithy.api#required": {} + } }, "ClientRequestToken": { "target": "com.amazonaws.fsx#ClientRequestToken", @@ -1731,12 +1906,11 @@ "smithy.api#idempotencyToken": {} } }, - "FileSystemId": { - "target": "com.amazonaws.fsx#FileSystemId", - "traits": { - "smithy.api#documentation": "

The ID of the file system you want to delete.

", - "smithy.api#required": {} - } + "WindowsConfiguration": { + "target": "com.amazonaws.fsx#DeleteFileSystemWindowsConfiguration" + }, + "LustreConfiguration": { + "target": "com.amazonaws.fsx#DeleteFileSystemLustreConfiguration" } }, "traits": { @@ -1746,23 +1920,23 @@ "com.amazonaws.fsx#DeleteFileSystemResponse": { "type": "structure", "members": { - "Lifecycle": { - "target": "com.amazonaws.fsx#FileSystemLifecycle", - "traits": { - "smithy.api#documentation": "

The file system lifecycle for the deletion request. Should be\n DELETING.

" - } - }, "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { "smithy.api#documentation": "

The ID of the file system being deleted.

" } }, - "LustreResponse": { - "target": "com.amazonaws.fsx#DeleteFileSystemLustreResponse" + "Lifecycle": { + "target": "com.amazonaws.fsx#FileSystemLifecycle", + "traits": { + "smithy.api#documentation": "

The file system lifecycle for the deletion request. Should be\n DELETING.

" + } }, "WindowsResponse": { "target": "com.amazonaws.fsx#DeleteFileSystemWindowsResponse" + }, + "LustreResponse": { + "target": "com.amazonaws.fsx#DeleteFileSystemLustreResponse" } }, "traits": { @@ -1849,6 +2023,12 @@ "smithy.api#documentation": "

IDs of the backups you want to retrieve (String). This overrides any\n filters. If any IDs are not found, BackupNotFound will be thrown.

" } }, + "Filters": { + "target": "com.amazonaws.fsx#Filters", + "traits": { + "smithy.api#documentation": "

Filters structure. Supported names are file-system-id and\n backup-type.

" + } + }, "MaxResults": { "target": "com.amazonaws.fsx#MaxResults", "traits": { @@ -1860,53 +2040,112 @@ "traits": { "smithy.api#documentation": "

Opaque pagination token returned from a previous\n DescribeBackups operation (String). If a token present, the action\n continues the list from where the returning call left off.

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

The request object for DescribeBackups operation.

" + } + }, + "com.amazonaws.fsx#DescribeBackupsResponse": { + "type": "structure", + "members": { + "Backups": { + "target": "com.amazonaws.fsx#Backups", + "traits": { + "smithy.api#documentation": "

Any array of backups.

" + } + }, + "NextToken": { + "target": "com.amazonaws.fsx#NextToken", + "traits": { + "smithy.api#documentation": "

This is present if there are more backups than returned in the response (String).\n You can use the NextToken value in the later request to fetch the backups.\n

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

Response object for DescribeBackups operation.

" + } + }, + "com.amazonaws.fsx#DescribeDataRepositoryTasks": { + "type": "operation", + "input": { + "target": "com.amazonaws.fsx#DescribeDataRepositoryTasksRequest" + }, + "output": { + "target": "com.amazonaws.fsx#DescribeDataRepositoryTasksResponse" + }, + "errors": [ + { + "target": "com.amazonaws.fsx#BadRequest" + }, + { + "target": "com.amazonaws.fsx#DataRepositoryTaskNotFound" + }, + { + "target": "com.amazonaws.fsx#FileSystemNotFound" + }, + { + "target": "com.amazonaws.fsx#InternalServerError" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the description of specific Amazon FSx for Lustre data repository tasks, if\n one or more TaskIds values are provided in the request, or if filters are used in the request. \n You can use filters to narrow the response to include just tasks for specific file systems, \n or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned \n by your AWS account in the AWS Region of the endpoint that you're calling.

\n \n

When retrieving all tasks, you can paginate the response by using the optional MaxResults\n parameter to limit the number of tasks returned in a response. If more tasks remain, Amazon\n FSx returns a NextToken value in the response. In this case, send a later\n request with the NextToken request parameter set to the value of\n NextToken from the last response.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.fsx#DescribeDataRepositoryTasksRequest": { + "type": "structure", + "members": { + "TaskIds": { + "target": "com.amazonaws.fsx#TaskIds", + "traits": { + "smithy.api#documentation": "

(Optional) IDs of the tasks whose descriptions you want to retrieve\n (String).

" + } }, "Filters": { - "target": "com.amazonaws.fsx#Filters", + "target": "com.amazonaws.fsx#DataRepositoryTaskFilters", "traits": { - "smithy.api#documentation": "

Filters structure. Supported names are file-system-id and\n backup-type.

" + "smithy.api#documentation": "

(Optional) You can use filters to narrow the DescribeDataRepositoryTasks response to \n include just tasks for specific file systems, or tasks in a specific lifecycle state.

" } + }, + "MaxResults": { + "target": "com.amazonaws.fsx#MaxResults" + }, + "NextToken": { + "target": "com.amazonaws.fsx#NextToken" } - }, - "traits": { - "smithy.api#documentation": "

The request object for DescribeBackups operation.

" } }, - "com.amazonaws.fsx#DescribeBackupsResponse": { + "com.amazonaws.fsx#DescribeDataRepositoryTasksResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.fsx#NextToken", + "DataRepositoryTasks": { + "target": "com.amazonaws.fsx#DataRepositoryTasks", "traits": { - "smithy.api#documentation": "

This is present if there are more backups than returned in the response (String).\n You can use the NextToken value in the later request to fetch the backups.\n

" + "smithy.api#documentation": "

The collection of data repository task descriptions returned.

" } }, - "Backups": { - "target": "com.amazonaws.fsx#Backups", - "traits": { - "smithy.api#documentation": "

Any array of backups.

" - } + "NextToken": { + "target": "com.amazonaws.fsx#NextToken" } - }, - "traits": { - "smithy.api#documentation": "

Response object for DescribeBackups operation.

" } }, - "com.amazonaws.fsx#DescribeDataRepositoryTasks": { + "com.amazonaws.fsx#DescribeFileSystemAliases": { "type": "operation", "input": { - "target": "com.amazonaws.fsx#DescribeDataRepositoryTasksRequest" + "target": "com.amazonaws.fsx#DescribeFileSystemAliasesRequest" }, "output": { - "target": "com.amazonaws.fsx#DescribeDataRepositoryTasksResponse" + "target": "com.amazonaws.fsx#DescribeFileSystemAliasesResponse" }, "errors": [ { "target": "com.amazonaws.fsx#BadRequest" }, - { - "target": "com.amazonaws.fsx#DataRepositoryTaskNotFound" - }, { "target": "com.amazonaws.fsx#FileSystemNotFound" }, @@ -1915,7 +2154,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the description of specific Amazon FSx for Lustre data repository tasks, if\n one or more TaskIds values are provided in the request, or if filters are used in the request. \n You can use filters to narrow the response to include just tasks for specific file systems, \n or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned \n by your AWS account in the AWS Region of the endpoint that you're calling.

\n \n

When retrieving all tasks, you can paginate the response by using the optional MaxResults\n parameter to limit the number of tasks returned in a response. If more tasks remain, Amazon\n FSx returns a NextToken value in the response. In this case, send a later\n request with the NextToken request parameter set to the value of\n NextToken from the last response.

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

Returns the DNS aliases that are associated with the specified Amazon FSx for Windows File Server file system. A history of \n all DNS aliases that have been associated with and disassociated from the file system is available in the list of AdministrativeAction \n provided in the DescribeFileSystems operation response.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1923,41 +2162,57 @@ } } }, - "com.amazonaws.fsx#DescribeDataRepositoryTasksRequest": { + "com.amazonaws.fsx#DescribeFileSystemAliasesRequest": { "type": "structure", "members": { - "TaskIds": { - "target": "com.amazonaws.fsx#TaskIds", + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", "traits": { - "smithy.api#documentation": "

(Optional) IDs of the tasks whose descriptions you want to retrieve\n (String).

" + "smithy.api#idempotencyToken": {} } }, - "Filters": { - "target": "com.amazonaws.fsx#DataRepositoryTaskFilters", + "FileSystemId": { + "target": "com.amazonaws.fsx#FileSystemId", "traits": { - "smithy.api#documentation": "

(Optional) You can use filters to narrow the DescribeDataRepositoryTasks response to \n include just tasks for specific file systems, or tasks in a specific lifecycle state.

" + "smithy.api#documentation": "

The ID of the file system to return the associated DNS aliases for\n (String).

", + "smithy.api#required": {} } }, "MaxResults": { - "target": "com.amazonaws.fsx#MaxResults" + "target": "com.amazonaws.fsx#MaxResults", + "traits": { + "smithy.api#documentation": "

Maximum number of DNS aliases to return in the response (integer). This\n parameter value must be greater than 0. The number of items that Amazon FSx returns is\n the minimum of the MaxResults parameter specified in the request and the\n service's internal maximum number of items per page.

" + } }, "NextToken": { - "target": "com.amazonaws.fsx#NextToken" + "target": "com.amazonaws.fsx#NextToken", + "traits": { + "smithy.api#documentation": "

Opaque pagination token returned from a previous\n DescribeFileSystemAliases operation (String). If a token is included in the request, the action\n continues the list from where the previous returning call left off.

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

The request object for DescribeFileSystemAliases operation.

" } }, - "com.amazonaws.fsx#DescribeDataRepositoryTasksResponse": { + "com.amazonaws.fsx#DescribeFileSystemAliasesResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.fsx#NextToken" + "Aliases": { + "target": "com.amazonaws.fsx#Aliases", + "traits": { + "smithy.api#documentation": "

An array of one or more DNS aliases currently associated with the specified file system.

" + } }, - "DataRepositoryTasks": { - "target": "com.amazonaws.fsx#DataRepositoryTasks", + "NextToken": { + "target": "com.amazonaws.fsx#NextToken", "traits": { - "smithy.api#documentation": "

The collection of data repository task descriptions returned.

" + "smithy.api#documentation": "

Present if there are more DNS aliases than returned in the response (String). You\n can use the NextToken value in a later request to fetch additional\n descriptions.

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

The response object for DescribeFileSystemAliases operation.

" } }, "com.amazonaws.fsx#DescribeFileSystems": { @@ -1991,10 +2246,10 @@ "com.amazonaws.fsx#DescribeFileSystemsRequest": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.fsx#NextToken", + "FileSystemIds": { + "target": "com.amazonaws.fsx#FileSystemIds", "traits": { - "smithy.api#documentation": "

Opaque pagination token returned from a previous\n DescribeFileSystems operation (String). If a token present, the action\n continues the list from where the returning call left off.

" + "smithy.api#documentation": "

IDs of the file systems whose descriptions you want to retrieve\n (String).

" } }, "MaxResults": { @@ -2003,10 +2258,10 @@ "smithy.api#documentation": "

Maximum number of file systems to return in the response (integer). This\n parameter value must be greater than 0. The number of items that Amazon FSx returns is\n the minimum of the MaxResults parameter specified in the request and the\n service's internal maximum number of items per page.

" } }, - "FileSystemIds": { - "target": "com.amazonaws.fsx#FileSystemIds", + "NextToken": { + "target": "com.amazonaws.fsx#NextToken", "traits": { - "smithy.api#documentation": "

IDs of the file systems whose descriptions you want to retrieve\n (String).

" + "smithy.api#documentation": "

Opaque pagination token returned from a previous\n DescribeFileSystems operation (String). If a token present, the action\n continues the list from where the returning call left off.

" } } }, @@ -2017,17 +2272,17 @@ "com.amazonaws.fsx#DescribeFileSystemsResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.fsx#NextToken", - "traits": { - "smithy.api#documentation": "

Present if there are more file systems than returned in the response (String). You\n can use the NextToken value in the later request to fetch the\n descriptions.

" - } - }, "FileSystems": { "target": "com.amazonaws.fsx#FileSystems", "traits": { "smithy.api#documentation": "

An array of file system descriptions.

" } + }, + "NextToken": { + "target": "com.amazonaws.fsx#NextToken", + "traits": { + "smithy.api#documentation": "

Present if there are more file systems than returned in the response (String). You\n can use the NextToken value in the later request to fetch the\n descriptions.

" + } } }, "traits": { @@ -2065,6 +2320,71 @@ "smithy.api#pattern": "^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{1,256}$" } }, + "com.amazonaws.fsx#DisassociateFileSystemAliases": { + "type": "operation", + "input": { + "target": "com.amazonaws.fsx#DisassociateFileSystemAliasesRequest" + }, + "output": { + "target": "com.amazonaws.fsx#DisassociateFileSystemAliasesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.fsx#BadRequest" + }, + { + "target": "com.amazonaws.fsx#FileSystemNotFound" + }, + { + "target": "com.amazonaws.fsx#InternalServerError" + } + ], + "traits": { + "smithy.api#documentation": "

Use this action to disassociate, or remove, one or more Domain Name Service (DNS) aliases \n from an Amazon FSx for Windows File Server file system. If you attempt to disassociate a DNS alias that is not \n associated with the file system, Amazon FSx responds with a 400 Bad Request. For more information, see \n Working with DNS Aliases.

\n

The system generated response showing the DNS aliases that \n Amazon FSx is attempting to disassociate from the file system. \n Use the API \n operation to monitor the status of the aliases Amazon FSx is \n disassociating with the file system.

" + } + }, + "com.amazonaws.fsx#DisassociateFileSystemAliasesRequest": { + "type": "structure", + "members": { + "ClientRequestToken": { + "target": "com.amazonaws.fsx#ClientRequestToken", + "traits": { + "smithy.api#idempotencyToken": {} + } + }, + "FileSystemId": { + "target": "com.amazonaws.fsx#FileSystemId", + "traits": { + "smithy.api#documentation": "

Specifies the file system from which to disassociate the DNS aliases.

", + "smithy.api#required": {} + } + }, + "Aliases": { + "target": "com.amazonaws.fsx#AlternateDNSNames", + "traits": { + "smithy.api#documentation": "

An array of one or more DNS alias names to disassociate, or remove, from the file system.

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

The request object of DNS aliases to disassociate from an Amazon FSx for Windows File Server file system.

" + } + }, + "com.amazonaws.fsx#DisassociateFileSystemAliasesResponse": { + "type": "structure", + "members": { + "Aliases": { + "target": "com.amazonaws.fsx#Aliases", + "traits": { + "smithy.api#documentation": "

An array of one or more DNS aliases that Amazon FSx is attempting to disassociate from the file system.

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

The system generated response showing the DNS aliases that Amazon FSx is attempting to disassociate from the file system. \n Use the API operation to monitor the status of the aliases Amazon FSx is removing from the file system.

" + } + }, "com.amazonaws.fsx#DnsIps": { "type": "list", "member": { @@ -2114,52 +2434,61 @@ "com.amazonaws.fsx#FileSystem": { "type": "structure", "members": { + "OwnerId": { + "target": "com.amazonaws.fsx#AWSAccountId", + "traits": { + "smithy.api#documentation": "

The AWS account that created the file system. If the file system was created by an AWS\n Identity and Access Management (IAM) user, the AWS account to which the IAM user belongs\n is the owner.

" + } + }, "CreationTime": { "target": "com.amazonaws.fsx#CreationTime", "traits": { "smithy.api#documentation": "

The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z),\n also known as Unix time.

" } }, - "WindowsConfiguration": { - "target": "com.amazonaws.fsx#WindowsFileSystemConfiguration", + "FileSystemId": { + "target": "com.amazonaws.fsx#FileSystemId", "traits": { - "smithy.api#documentation": "

The configuration for this Microsoft Windows file system.

" + "smithy.api#documentation": "

The system-generated, unique 17-digit ID of the file system.

" } }, - "DNSName": { - "target": "com.amazonaws.fsx#DNSName", + "FileSystemType": { + "target": "com.amazonaws.fsx#FileSystemType", "traits": { - "smithy.api#documentation": "

The DNS name for the file system.

" + "smithy.api#documentation": "

The type of Amazon FSx file system, either LUSTRE or WINDOWS.

" } }, - "ResourceARN": { - "target": "com.amazonaws.fsx#ResourceARN", + "Lifecycle": { + "target": "com.amazonaws.fsx#FileSystemLifecycle", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the file system resource.

" + "smithy.api#documentation": "

The lifecycle status of the file system, following are the possible values and what they mean:

\n " } }, - "FileSystemType": { - "target": "com.amazonaws.fsx#FileSystemType", + "FailureDetails": { + "target": "com.amazonaws.fsx#FileSystemFailureDetails" + }, + "StorageCapacity": { + "target": "com.amazonaws.fsx#StorageCapacity", "traits": { - "smithy.api#documentation": "

The type of Amazon FSx file system, either LUSTRE or WINDOWS.

" + "smithy.api#documentation": "

The storage capacity of the file system in gigabytes (GB).

" } }, - "SubnetIds": { - "target": "com.amazonaws.fsx#SubnetIds", + "StorageType": { + "target": "com.amazonaws.fsx#StorageType", "traits": { - "smithy.api#documentation": "

Specifies the IDs of the subnets that the file system is accessible from. For Windows MULTI_AZ_1 \n file system deployment type, there are two subnet IDs, one for the preferred file server \n and one for the standby file server. The preferred file server subnet identified in the \n PreferredSubnetID property. All other file systems have only one subnet ID.

\n

For Lustre file systems, and Single-AZ Windows file systems, this is the ID of \n the subnet that contains the endpoint for the file system. For MULTI_AZ_1 Windows file systems,\n the endpoint for the file system is available in the PreferredSubnetID.

" + "smithy.api#documentation": "

The storage type of the file system. \n Valid values are SSD and HDD.\n If set to SSD, the file system uses solid state drive storage. \n If set to HDD, the file system uses hard disk drive storage.\n

" } }, - "KmsKeyId": { - "target": "com.amazonaws.fsx#KmsKeyId", + "VpcId": { + "target": "com.amazonaws.fsx#VpcId", "traits": { - "smithy.api#documentation": "

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data\n for Amazon FSx for Windows File Server file systems and persistent Amazon FSx for Lustre file\n systems at rest. In either case, if not specified, the Amazon FSx managed key\n is used. The scratch Amazon FSx for Lustre file systems are always encrypted at rest using\n Amazon FSx managed keys. For more information, see Encrypt\n in the AWS Key Management Service API Reference.

" + "smithy.api#documentation": "

The ID of the primary VPC for the file system.

" } }, - "Lifecycle": { - "target": "com.amazonaws.fsx#FileSystemLifecycle", + "SubnetIds": { + "target": "com.amazonaws.fsx#SubnetIds", "traits": { - "smithy.api#documentation": "

The lifecycle status of the file system, following are the possible values and what they mean:

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

Specifies the IDs of the subnets that the file system is accessible from. For Windows MULTI_AZ_1 \n file system deployment type, there are two subnet IDs, one for the preferred file server \n and one for the standby file server. The preferred file server subnet identified in the \n PreferredSubnetID property. All other file systems have only one subnet ID.

\n

For Lustre file systems, and Single-AZ Windows file systems, this is the ID of \n the subnet that contains the endpoint for the file system. For MULTI_AZ_1 Windows file systems,\n the endpoint for the file system is available in the PreferredSubnetID.

" } }, "NetworkInterfaceIds": { @@ -2168,28 +2497,22 @@ "smithy.api#documentation": "

The IDs of the elastic network interface from which a specific file system is\n accessible. The elastic network interface is automatically created in the same VPC that\n the Amazon FSx file system was created in. For more information, see Elastic Network\n Interfaces in the Amazon EC2 User Guide.\n

\n\n

For an Amazon FSx for Windows File Server file system, you can have one network\n interface ID. For an Amazon FSx for Lustre file system, you can have more than\n one.

" } }, - "VpcId": { - "target": "com.amazonaws.fsx#VpcId", + "DNSName": { + "target": "com.amazonaws.fsx#DNSName", "traits": { - "smithy.api#documentation": "

The ID of the primary VPC for the file system.

" + "smithy.api#documentation": "

The DNS name for the file system.

" } }, - "LustreConfiguration": { - "target": "com.amazonaws.fsx#LustreFileSystemConfiguration" - }, - "FailureDetails": { - "target": "com.amazonaws.fsx#FileSystemFailureDetails" - }, - "StorageType": { - "target": "com.amazonaws.fsx#StorageType", + "KmsKeyId": { + "target": "com.amazonaws.fsx#KmsKeyId", "traits": { - "smithy.api#documentation": "

The storage type of the file system. \n Valid values are SSD and HDD.\n If set to SSD, the file system uses solid state drive storage. \n If set to HDD, the file system uses hard disk drive storage.\n

" + "smithy.api#documentation": "

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data\n for Amazon FSx for Windows File Server file systems and persistent Amazon FSx for Lustre file\n systems at rest. In either case, if not specified, the Amazon FSx managed key\n is used. The scratch Amazon FSx for Lustre file systems are always encrypted at rest using\n Amazon FSx managed keys. For more information, see Encrypt\n in the AWS Key Management Service API Reference.

" } }, - "OwnerId": { - "target": "com.amazonaws.fsx#AWSAccountId", + "ResourceARN": { + "target": "com.amazonaws.fsx#ResourceARN", "traits": { - "smithy.api#documentation": "

The AWS account that created the file system. If the file system was created by an AWS\n Identity and Access Management (IAM) user, the AWS account to which the IAM user belongs\n is the owner.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the file system resource.

" } }, "Tags": { @@ -2198,23 +2521,20 @@ "smithy.api#documentation": "

The tags to associate with the file system. For more information, see Tagging Your\n Amazon EC2 Resources in the Amazon EC2 User\n Guide.

" } }, - "StorageCapacity": { - "target": "com.amazonaws.fsx#StorageCapacity", + "WindowsConfiguration": { + "target": "com.amazonaws.fsx#WindowsFileSystemConfiguration", "traits": { - "smithy.api#documentation": "

The storage capacity of the file system in gigabytes (GB).

" + "smithy.api#documentation": "

The configuration for this Microsoft Windows file system.

" } }, + "LustreConfiguration": { + "target": "com.amazonaws.fsx#LustreFileSystemConfiguration" + }, "AdministrativeActions": { "target": "com.amazonaws.fsx#AdministrativeActions", "traits": { "smithy.api#documentation": "

A list of administrative actions for the file system that are in process or waiting to be processed. \n Administrative actions describe changes to the Windows file system that you have initiated using the UpdateFileSystem action.\n

" } - }, - "FileSystemId": { - "target": "com.amazonaws.fsx#FileSystemId", - "traits": { - "smithy.api#documentation": "

The system-generated, unique 17-digit ID of the file system.

" - } } }, "traits": { @@ -2457,15 +2777,15 @@ "com.amazonaws.fsx#IncompatibleParameterError": { "type": "structure", "members": { - "Message": { - "target": "com.amazonaws.fsx#ErrorMessage" - }, "Parameter": { "target": "com.amazonaws.fsx#Parameter", "traits": { "smithy.api#documentation": "

A parameter that is incompatible with the earlier request.

", "smithy.api#required": {} } + }, + "Message": { + "target": "com.amazonaws.fsx#ErrorMessage" } }, "traits": { @@ -2512,12 +2832,12 @@ "com.amazonaws.fsx#InvalidNetworkSettings": { "type": "structure", "members": { - "InvalidSubnetId": { - "target": "com.amazonaws.fsx#SubnetId" - }, "Message": { "target": "com.amazonaws.fsx#ErrorMessage" }, + "InvalidSubnetId": { + "target": "com.amazonaws.fsx#SubnetId" + }, "InvalidSecurityGroupId": { "target": "com.amazonaws.fsx#SecurityGroupId" } @@ -2595,17 +2915,17 @@ "com.amazonaws.fsx#ListTagsForResourceRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.fsx#MaxResults", + "ResourceARN": { + "target": "com.amazonaws.fsx#ResourceARN", "traits": { - "smithy.api#documentation": "

Maximum number of tags to return in the response (integer). This\n parameter value must be greater than 0. The number of items that Amazon FSx returns is\n the minimum of the MaxResults parameter specified in the request and the\n service's internal maximum number of items per page.

" + "smithy.api#documentation": "

The ARN of the Amazon FSx resource that will have its tags listed.

", + "smithy.api#required": {} } }, - "ResourceARN": { - "target": "com.amazonaws.fsx#ResourceARN", + "MaxResults": { + "target": "com.amazonaws.fsx#MaxResults", "traits": { - "smithy.api#documentation": "

The ARN of the Amazon FSx resource that will have its tags listed.

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

Maximum number of tags to return in the response (integer). This\n parameter value must be greater than 0. The number of items that Amazon FSx returns is\n the minimum of the MaxResults parameter specified in the request and the\n service's internal maximum number of items per page.

" } }, "NextToken": { @@ -2622,17 +2942,17 @@ "com.amazonaws.fsx#ListTagsForResourceResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.fsx#NextToken", - "traits": { - "smithy.api#documentation": "

This is present if there are more tags than returned in the response (String). You\n can use the NextToken value in the later request to fetch the tags.\n

" - } - }, "Tags": { "target": "com.amazonaws.fsx#Tags", "traits": { "smithy.api#documentation": "

A list of tags on the resource.

" } + }, + "NextToken": { + "target": "com.amazonaws.fsx#NextToken", + "traits": { + "smithy.api#documentation": "

This is present if there are more tags than returned in the response (String). You\n can use the NextToken value in the later request to fetch the tags.\n

" + } } }, "traits": { @@ -2661,14 +2981,20 @@ "com.amazonaws.fsx#LustreFileSystemConfiguration": { "type": "structure", "members": { - "CopyTagsToBackups": { - "target": "com.amazonaws.fsx#Flag", + "WeeklyMaintenanceStartTime": { + "target": "com.amazonaws.fsx#WeeklyTime", "traits": { - "smithy.api#documentation": "

A boolean flag indicating whether tags on the file system should be copied to backups.\n If it's set to true, all tags on the file system are\n copied to all automatic backups and any user-initiated backups where the user\n doesn't specify any tags. If this value is true, and you specify one or more tags,\n only the specified tags are copied to backups. If you specify one or more tags when \n creating a user-initiated backup, no tags are copied from the file system, \n regardless of this value. (Default = false)

" + "smithy.api#documentation": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC\n time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

" } }, - "DailyAutomaticBackupStartTime": { - "target": "com.amazonaws.fsx#DailyTime" + "DataRepositoryConfiguration": { + "target": "com.amazonaws.fsx#DataRepositoryConfiguration" + }, + "DeploymentType": { + "target": "com.amazonaws.fsx#LustreDeploymentType", + "traits": { + "smithy.api#documentation": "

The deployment type of the FSX for Lustre file system. Scratch deployment type is designed for temporary storage\n and shorter-term processing of data.

\n

\n SCRATCH_1 and SCRATCH_2 deployment \n types are best suited for when you need temporary storage and shorter-term processing of data. \n The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst \n throughput capacity than SCRATCH_1.

\n

The PERSISTENT_1 deployment type is used for longer-term storage \n and workloads and encryption of data in transit. To learn more about deployment types, see \n \n FSx for Lustre Deployment Options. (Default = SCRATCH_1)

" + } }, "PerUnitStorageThroughput": { "target": "com.amazonaws.fsx#PerUnitStorageThroughput", @@ -2676,22 +3002,22 @@ "smithy.api#documentation": "

Per unit storage throughput represents the megabytes per second of read or write\n throughput per 1 tebibyte of storage provisioned. File system throughput capacity is\n equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). This option is\n only valid for PERSISTENT_1 deployment types.

\n

Valid values for SSD storage: 50, 100, 200. Valid values for HDD storage: 12, 40.

" } }, - "AutomaticBackupRetentionDays": { - "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays" - }, - "DataRepositoryConfiguration": { - "target": "com.amazonaws.fsx#DataRepositoryConfiguration" - }, "MountName": { "target": "com.amazonaws.fsx#LustreFileSystemMountName", "traits": { "smithy.api#documentation": "

You use the MountName value when mounting the file system.

\n

For the SCRATCH_1 deployment type, this value is always \"fsx\". \n For SCRATCH_2 and PERSISTENT_1 deployment types, this \n value is a string that is unique within an AWS Region. \n \n

" } }, - "DeploymentType": { - "target": "com.amazonaws.fsx#LustreDeploymentType", + "DailyAutomaticBackupStartTime": { + "target": "com.amazonaws.fsx#DailyTime" + }, + "AutomaticBackupRetentionDays": { + "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays" + }, + "CopyTagsToBackups": { + "target": "com.amazonaws.fsx#Flag", "traits": { - "smithy.api#documentation": "

The deployment type of the FSX for Lustre file system. Scratch deployment type is designed for temporary storage\n and shorter-term processing of data.

\n

\n SCRATCH_1 and SCRATCH_2 deployment \n types are best suited for when you need temporary storage and shorter-term processing of data. \n The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst \n throughput capacity than SCRATCH_1.

\n

The PERSISTENT_1 deployment type is used for longer-term storage \n and workloads and encryption of data in transit. To learn more about deployment types, see \n \n FSx for Lustre Deployment Options. (Default = SCRATCH_1)

" + "smithy.api#documentation": "

A boolean flag indicating whether tags on the file system should be copied to backups.\n If it's set to true, all tags on the file system are\n copied to all automatic backups and any user-initiated backups where the user\n doesn't specify any tags. If this value is true, and you specify one or more tags,\n only the specified tags are copied to backups. If you specify one or more tags when \n creating a user-initiated backup, no tags are copied from the file system, \n regardless of this value. (Default = false)

" } }, "DriveCacheType": { @@ -2699,12 +3025,6 @@ "traits": { "smithy.api#documentation": "

The type of drive cache used by PERSISTENT_1 file systems that are provisioned with\n HDD storage devices. This parameter is required when storage type is HDD. Set to\n READ, improve the performance for frequently accessed files and allows 20%\n of the total storage capacity of the file system to be cached.

\n

This parameter is required when StorageType is set to HDD.

" } - }, - "WeeklyMaintenanceStartTime": { - "target": "com.amazonaws.fsx#WeeklyTime", - "traits": { - "smithy.api#documentation": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC\n time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

" - } } }, "traits": { @@ -2917,15 +3237,15 @@ "com.amazonaws.fsx#ResourceNotFound": { "type": "structure", "members": { - "Message": { - "target": "com.amazonaws.fsx#ErrorMessage" - }, "ResourceARN": { "target": "com.amazonaws.fsx#ResourceARN", "traits": { "smithy.api#documentation": "

The resource ARN of the resource that can't be found.

", "smithy.api#required": {} } + }, + "Message": { + "target": "com.amazonaws.fsx#ErrorMessage" } }, "traits": { @@ -2960,16 +3280,10 @@ "com.amazonaws.fsx#SelfManagedActiveDirectoryAttributes": { "type": "structure", "members": { - "FileSystemAdministratorsGroup": { - "target": "com.amazonaws.fsx#FileSystemAdministratorsGroupName", - "traits": { - "smithy.api#documentation": "

The name of the domain group whose members have administrative privileges for the FSx\n file system.

" - } - }, - "UserName": { - "target": "com.amazonaws.fsx#DirectoryUserName", + "DomainName": { + "target": "com.amazonaws.fsx#ActiveDirectoryFullyQualifiedName", "traits": { - "smithy.api#documentation": "

The user name for the service account on your self-managed AD domain that FSx uses to\n join to your AD domain.

" + "smithy.api#documentation": "

The fully qualified domain name of the self-managed AD directory.

" } }, "OrganizationalUnitDistinguishedName": { @@ -2978,10 +3292,16 @@ "smithy.api#documentation": "

The fully qualified distinguished name of the organizational unit within the\n self-managed AD directory to which the Windows File Server instance is joined.

" } }, - "DomainName": { - "target": "com.amazonaws.fsx#ActiveDirectoryFullyQualifiedName", + "FileSystemAdministratorsGroup": { + "target": "com.amazonaws.fsx#FileSystemAdministratorsGroupName", "traits": { - "smithy.api#documentation": "

The fully qualified domain name of the self-managed AD directory.

" + "smithy.api#documentation": "

The name of the domain group whose members have administrative privileges for the FSx\n file system.

" + } + }, + "UserName": { + "target": "com.amazonaws.fsx#DirectoryUserName", + "traits": { + "smithy.api#documentation": "

The user name for the service account on your self-managed AD domain that FSx uses to\n join to your AD domain.

" } }, "DnsIps": { @@ -2998,23 +3318,29 @@ "com.amazonaws.fsx#SelfManagedActiveDirectoryConfiguration": { "type": "structure", "members": { + "DomainName": { + "target": "com.amazonaws.fsx#ActiveDirectoryFullyQualifiedName", + "traits": { + "smithy.api#documentation": "

The fully qualified domain name of the self-managed AD directory, such as\n corp.example.com.

", + "smithy.api#required": {} + } + }, "OrganizationalUnitDistinguishedName": { "target": "com.amazonaws.fsx#OrganizationalUnitDistinguishedName", "traits": { "smithy.api#documentation": "

(Optional) The fully qualified distinguished name of the organizational unit within\n your self-managed AD directory that the Windows File Server instance will join. Amazon\n FSx only accepts OU as the direct parent of the file system. An example is\n OU=FSx,DC=yourdomain,DC=corp,DC=com. To learn more, see RFC 2253. If none is provided, the\n FSx file system is created in the default location of your self-managed AD directory.

\n \n

Only Organizational Unit (OU) objects can be the direct parent of the file system\n that you're creating.

\n
" } }, - "DomainName": { - "target": "com.amazonaws.fsx#ActiveDirectoryFullyQualifiedName", + "FileSystemAdministratorsGroup": { + "target": "com.amazonaws.fsx#FileSystemAdministratorsGroupName", "traits": { - "smithy.api#documentation": "

The fully qualified domain name of the self-managed AD directory, such as\n corp.example.com.

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

(Optional) The name of the domain group whose members are granted administrative\n privileges for the file system. Administrative privileges include taking ownership of\n files and folders, setting audit controls (audit ACLs) on files and folders, and \n administering the file system remotely by using the FSx Remote PowerShell.\n The group that you specify must already exist in your domain. If you don't provide one,\n your AD domain's Domain Admins group is used.

" } }, - "DnsIps": { - "target": "com.amazonaws.fsx#DnsIps", + "UserName": { + "target": "com.amazonaws.fsx#DirectoryUserName", "traits": { - "smithy.api#documentation": "

A list of up to two IP addresses of DNS servers or domain controllers in the\n self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range\n as the one in which your Amazon FSx file system is being created, or in the private IP version 4\n (IPv4) address ranges, as specified in RFC 1918:

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

The user name for the service account on your self-managed AD domain that Amazon FSx\n will use to join to your AD domain. This account must have the permission to join\n computers to the domain in the organizational unit provided in\n OrganizationalUnitDistinguishedName, or in the default location of your\n AD domain.

", "smithy.api#required": {} } }, @@ -3025,16 +3351,10 @@ "smithy.api#required": {} } }, - "FileSystemAdministratorsGroup": { - "target": "com.amazonaws.fsx#FileSystemAdministratorsGroupName", - "traits": { - "smithy.api#documentation": "

(Optional) The name of the domain group whose members are granted administrative\n privileges for the file system. Administrative privileges include taking ownership of\n files and folders, setting audit controls (audit ACLs) on files and folders, and \n administering the file system remotely by using the FSx Remote PowerShell.\n The group that you specify must already exist in your domain. If you don't provide one,\n your AD domain's Domain Admins group is used.

" - } - }, - "UserName": { - "target": "com.amazonaws.fsx#DirectoryUserName", + "DnsIps": { + "target": "com.amazonaws.fsx#DnsIps", "traits": { - "smithy.api#documentation": "

The user name for the service account on your self-managed AD domain that Amazon FSx\n will use to join to your AD domain. This account must have the permission to join\n computers to the domain in the organizational unit provided in\n OrganizationalUnitDistinguishedName, or in the default location of your\n AD domain.

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

A list of up to two IP addresses of DNS servers or domain controllers in the\n self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range\n as the one in which your Amazon FSx file system is being created, or in the private IP version 4\n (IPv4) address ranges, as specified in RFC 1918:

\n ", "smithy.api#required": {} } } @@ -3046,10 +3366,10 @@ "com.amazonaws.fsx#SelfManagedActiveDirectoryConfigurationUpdates": { "type": "structure", "members": { - "DnsIps": { - "target": "com.amazonaws.fsx#DnsIps", + "UserName": { + "target": "com.amazonaws.fsx#DirectoryUserName", "traits": { - "smithy.api#documentation": "

A list of up to two IP addresses of DNS servers or domain controllers in the\n self-managed AD directory.

" + "smithy.api#documentation": "

The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to\n your AD domain. This account must have the permission to join\n computers to the domain in the organizational unit provided in\n OrganizationalUnitDistinguishedName.

" } }, "Password": { @@ -3058,10 +3378,10 @@ "smithy.api#documentation": "

The password for the service account on your self-managed AD domain that Amazon FSx will use to join to\n your AD domain.

" } }, - "UserName": { - "target": "com.amazonaws.fsx#DirectoryUserName", + "DnsIps": { + "target": "com.amazonaws.fsx#DnsIps", "traits": { - "smithy.api#documentation": "

The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to\n your AD domain. This account must have the permission to join\n computers to the domain in the organizational unit provided in\n OrganizationalUnitDistinguishedName.

" + "smithy.api#documentation": "

A list of up to two IP addresses of DNS servers or domain controllers in the\n self-managed AD directory.

" } } }, @@ -3202,17 +3522,17 @@ "com.amazonaws.fsx#Tag": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.fsx#TagValue", + "Key": { + "target": "com.amazonaws.fsx#TagKey", "traits": { - "smithy.api#documentation": "

A value that specifies the TagValue, the value assigned to the\n corresponding tag key. Tag values can be null and don't have to be unique in a tag set.\n For example, you can have a key-value pair in a tag set of finances : April\n and also of payroll : April.

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

A value that specifies the TagKey, the name of the tag. Tag keys must\n be unique for the resource to which they are attached.

", "smithy.api#required": {} } }, - "Key": { - "target": "com.amazonaws.fsx#TagKey", + "Value": { + "target": "com.amazonaws.fsx#TagValue", "traits": { - "smithy.api#documentation": "

A value that specifies the TagKey, the name of the tag. Tag keys must\n be unique for the resource to which they are attached.

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

A value that specifies the TagValue, the value assigned to the\n corresponding tag key. Tag values can be null and don't have to be unique in a tag set.\n For example, you can have a key-value pair in a tag set of finances : April\n and also of payroll : April.

", "smithy.api#required": {} } } @@ -3465,23 +3785,23 @@ "com.amazonaws.fsx#UpdateFileSystemLustreConfiguration": { "type": "structure", "members": { - "AutoImportPolicy": { - "target": "com.amazonaws.fsx#AutoImportPolicyType", - "traits": { - "smithy.api#documentation": "

(Optional) When you create your file system, your existing S3 objects appear as file and directory listings. \n Use this property to choose how Amazon FSx keeps your file and directory listing up to date \n as you add or modify objects in your linked S3 bucket. AutoImportPolicy can\n have the following values:

\n \n

For more information, see Automatically import updates from your S3 bucket.

" - } - }, - "DailyAutomaticBackupStartTime": { - "target": "com.amazonaws.fsx#DailyTime" - }, "WeeklyMaintenanceStartTime": { "target": "com.amazonaws.fsx#WeeklyTime", "traits": { "smithy.api#documentation": "

(Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC\n time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

" } }, + "DailyAutomaticBackupStartTime": { + "target": "com.amazonaws.fsx#DailyTime" + }, "AutomaticBackupRetentionDays": { "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays" + }, + "AutoImportPolicy": { + "target": "com.amazonaws.fsx#AutoImportPolicyType", + "traits": { + "smithy.api#documentation": "

(Optional) When you create your file system, your existing S3 objects appear as file and directory listings. \n Use this property to choose how Amazon FSx keeps your file and directory listing up to date \n as you add or modify objects in your linked S3 bucket. AutoImportPolicy can\n have the following values:

\n \n

For more information, see Automatically import updates from your S3 bucket.

" + } } }, "traits": { @@ -3491,12 +3811,6 @@ "com.amazonaws.fsx#UpdateFileSystemRequest": { "type": "structure", "members": { - "WindowsConfiguration": { - "target": "com.amazonaws.fsx#UpdateFileSystemWindowsConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration updates for an Amazon FSx for Windows File Server file system.

" - } - }, "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { @@ -3504,9 +3818,6 @@ "smithy.api#required": {} } }, - "LustreConfiguration": { - "target": "com.amazonaws.fsx#UpdateFileSystemLustreConfiguration" - }, "ClientRequestToken": { "target": "com.amazonaws.fsx#ClientRequestToken", "traits": { @@ -3519,6 +3830,15 @@ "traits": { "smithy.api#documentation": "

Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server file system. \n Specifies the storage capacity target value, GiB, for the file system you're updating. \n The storage capacity target value must be at least 10 percent (%) greater than the current storage capacity value.\n In order to increase storage capacity, the file system needs to have at least 16 MB/s of throughput capacity. You cannot \n make a storage capacity increase request if there is an existing storage capacity increase request in progress. \n For more information, see \n Managing Storage Capacity.

" } + }, + "WindowsConfiguration": { + "target": "com.amazonaws.fsx#UpdateFileSystemWindowsConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration updates for an Amazon FSx for Windows File Server file system.

" + } + }, + "LustreConfiguration": { + "target": "com.amazonaws.fsx#UpdateFileSystemLustreConfiguration" } }, "traits": { @@ -3542,30 +3862,30 @@ "com.amazonaws.fsx#UpdateFileSystemWindowsConfiguration": { "type": "structure", "members": { - "AutomaticBackupRetentionDays": { - "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays", - "traits": { - "smithy.api#documentation": "

The number of days to retain automatic daily backups. Setting this to zero (0) disables automatic daily\n backups. You can retain automatic daily backups for a maximum of 90 days. For more information, see\n Working with Automatic Daily Backups.

" - } - }, "WeeklyMaintenanceStartTime": { "target": "com.amazonaws.fsx#WeeklyTime", "traits": { "smithy.api#documentation": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC\n time zone. Where d is the weekday number, from 1 through 7, with 1 = Monday and 7 = Sunday.

" } }, - "ThroughputCapacity": { - "target": "com.amazonaws.fsx#MegabytesPerSecond", - "traits": { - "smithy.api#documentation": "

Sets the target value for a file system's throughput capacity, in MB/s, that you are updating the file system to. Valid values are \n 8, 16, 32, 64, 128, 256, 512, 1024, 2048. You cannot make a throughput capacity update request if there is an existing throughput capacity update request in progress. For more information, \n see Managing Throughput Capacity.

" - } - }, "DailyAutomaticBackupStartTime": { "target": "com.amazonaws.fsx#DailyTime", "traits": { "smithy.api#documentation": "

The preferred time to start the daily automatic backup, in the UTC time zone, for example, 02:00\n

" } }, + "AutomaticBackupRetentionDays": { + "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays", + "traits": { + "smithy.api#documentation": "

The number of days to retain automatic daily backups. Setting this to zero (0) disables automatic daily\n backups. You can retain automatic daily backups for a maximum of 90 days. For more information, see\n Working with Automatic Daily Backups.

" + } + }, + "ThroughputCapacity": { + "target": "com.amazonaws.fsx#MegabytesPerSecond", + "traits": { + "smithy.api#documentation": "

Sets the target value for a file system's throughput capacity, in MB/s, that you are updating the file system to. Valid values are \n 8, 16, 32, 64, 128, 256, 512, 1024, 2048. You cannot make a throughput capacity update request if there is an existing throughput capacity update request in progress. For more information, \n see Managing Throughput Capacity.

" + } + }, "SelfManagedActiveDirectoryConfiguration": { "target": "com.amazonaws.fsx#SelfManagedActiveDirectoryConfigurationUpdates", "traits": { @@ -3627,10 +3947,19 @@ "smithy.api#documentation": "

The ID for an existing Microsoft Active Directory instance that the file system should join when\n it's created.

" } }, - "AutomaticBackupRetentionDays": { - "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays", + "SelfManagedActiveDirectoryConfiguration": { + "target": "com.amazonaws.fsx#SelfManagedActiveDirectoryAttributes" + }, + "DeploymentType": { + "target": "com.amazonaws.fsx#WindowsDeploymentType", "traits": { - "smithy.api#documentation": "

The number of days to retain automatic backups. Setting this to 0 disables automatic\n backups. You can retain automatic backups for a maximum of 90 days.

" + "smithy.api#documentation": "

Specifies the file system deployment type, valid values are the following:

\n \n

For more information, see \n Single-AZ and Multi-AZ File Systems.

" + } + }, + "RemoteAdministrationEndpoint": { + "target": "com.amazonaws.fsx#DNSName", + "traits": { + "smithy.api#documentation": "

For MULTI_AZ_1 deployment types, use this endpoint when performing administrative tasks on the file system using \n Amazon FSx Remote PowerShell.

\n

For SINGLE_AZ_1 and SINGLE_AZ_2 deployment types, this is the DNS name of the file system.

\n

This endpoint is temporarily unavailable when the file system is undergoing maintenance.

" } }, "PreferredSubnetId": { @@ -3639,10 +3968,10 @@ "smithy.api#documentation": "

For MULTI_AZ_1 deployment types, it specifies the ID of the subnet where the preferred file server is located. \n Must be one of the two subnet IDs specified in SubnetIds property.\n Amazon FSx serves traffic from this subnet except in the event of a failover to the secondary file server.

\n

For SINGLE_AZ_1 and SINGLE_AZ_2 deployment types, this value is the same as that for SubnetIDs.\n For more information, see \n Availability and Durability: Single-AZ and Multi-AZ File Systems\n

" } }, - "CopyTagsToBackups": { - "target": "com.amazonaws.fsx#Flag", + "PreferredFileServerIp": { + "target": "com.amazonaws.fsx#IpAddress", "traits": { - "smithy.api#documentation": "

A boolean flag indicating whether tags on the file system should be copied to backups.\n This value defaults to false. If it's set to true, all tags on the file system are\n copied to all automatic backups and any user-initiated backups where the user\n doesn't specify any tags. If this value is true, and you specify one or more tags,\n only the specified tags are copied to backups. If you specify one or more tags when \n creating a user-initiated backup, no tags are copied from the file system, \n regardless of this value.

" + "smithy.api#documentation": "

For MULTI_AZ_1 deployment types, the IP address of the primary, or preferred, file server.

\n

Use this IP address when mounting the file system on Linux SMB clients or Windows SMB clients that \n are not joined to a Microsoft Active Directory. \n Applicable for all Windows file system deployment types. \n This IP address is temporarily unavailable \n when the file system is undergoing maintenance. For Linux and Windows \n SMB clients that are joined to an Active Directory, use the file system's DNSName instead. For more information\n on mapping and mounting file shares, see \n Accessing File Shares.

" } }, "ThroughputCapacity": { @@ -3651,18 +3980,6 @@ "smithy.api#documentation": "

The throughput of an Amazon FSx file system, measured in megabytes per\n second.

" } }, - "RemoteAdministrationEndpoint": { - "target": "com.amazonaws.fsx#DNSName", - "traits": { - "smithy.api#documentation": "

For MULTI_AZ_1 deployment types, use this endpoint when performing administrative tasks on the file system using \n Amazon FSx Remote PowerShell.

\n

For SINGLE_AZ_1 and SINGLE_AZ_2 deployment types, this is the DNS name of the file system.

\n

This endpoint is temporarily unavailable when the file system is undergoing maintenance.

" - } - }, - "DailyAutomaticBackupStartTime": { - "target": "com.amazonaws.fsx#DailyTime", - "traits": { - "smithy.api#documentation": "

The preferred time to take daily automatic backups, in the UTC time zone.

" - } - }, "MaintenanceOperationsInProgress": { "target": "com.amazonaws.fsx#FileSystemMaintenanceOperations", "traits": { @@ -3675,20 +3992,26 @@ "smithy.api#documentation": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC\n time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

" } }, - "DeploymentType": { - "target": "com.amazonaws.fsx#WindowsDeploymentType", + "DailyAutomaticBackupStartTime": { + "target": "com.amazonaws.fsx#DailyTime", "traits": { - "smithy.api#documentation": "

Specifies the file system deployment type, valid values are the following:

\n \n

For more information, see \n Single-AZ and Multi-AZ File Systems.

" + "smithy.api#documentation": "

The preferred time to take daily automatic backups, in the UTC time zone.

" } }, - "SelfManagedActiveDirectoryConfiguration": { - "target": "com.amazonaws.fsx#SelfManagedActiveDirectoryAttributes" + "AutomaticBackupRetentionDays": { + "target": "com.amazonaws.fsx#AutomaticBackupRetentionDays", + "traits": { + "smithy.api#documentation": "

The number of days to retain automatic backups. Setting this to 0 disables automatic\n backups. You can retain automatic backups for a maximum of 90 days.

" + } }, - "PreferredFileServerIp": { - "target": "com.amazonaws.fsx#IpAddress", + "CopyTagsToBackups": { + "target": "com.amazonaws.fsx#Flag", "traits": { - "smithy.api#documentation": "

For MULTI_AZ_1 deployment types, the IP address of the primary, or preferred, file server.

\n

Use this IP address when mounting the file system on Linux SMB clients or Windows SMB clients that \n are not joined to a Microsoft Active Directory. \n Applicable for all Windows file system deployment types. \n This IP address is temporarily unavailable \n when the file system is undergoing maintenance. For Linux and Windows \n SMB clients that are joined to an Active Directory, use the file system's DNSName instead. For more information\n on mapping and mounting file shares, see \n Accessing File Shares.

" + "smithy.api#documentation": "

A boolean flag indicating whether tags on the file system should be copied to backups.\n This value defaults to false. If it's set to true, all tags on the file system are\n copied to all automatic backups and any user-initiated backups where the user\n doesn't specify any tags. If this value is true, and you specify one or more tags,\n only the specified tags are copied to backups. If you specify one or more tags when \n creating a user-initiated backup, no tags are copied from the file system, \n regardless of this value.

" } + }, + "Aliases": { + "target": "com.amazonaws.fsx#Aliases" } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/iotanalytics.2017-11-27.json b/codegen/sdk-codegen/aws-models/iotanalytics.2017-11-27.json index ad347e6aa2b8..e3fe16b2de2d 100644 --- a/codegen/sdk-codegen/aws-models/iotanalytics.2017-11-27.json +++ b/codegen/sdk-codegen/aws-models/iotanalytics.2017-11-27.json @@ -173,10 +173,17 @@ "com.amazonaws.iotanalytics#AddAttributesActivity": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.iotanalytics#ActivityName", + "traits": { + "smithy.api#documentation": "

The name of the addAttributes activity.

", + "smithy.api#required": {} + } + }, "attributes": { "target": "com.amazonaws.iotanalytics#AttributeNameMapping", "traits": { - "smithy.api#documentation": "

A list of 1-50 \"AttributeNameMapping\"\n objects that map an existing attribute to a new attribute.

\n \n

The existing attributes remain in the message,\n so if you want to remove the originals,\n use \"RemoveAttributeActivity\".

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

A list of 1-50 AttributeNameMapping objects that map an existing attribute\n to a new attribute.

\n \n

The existing attributes remain in the message, so if you want to remove the originals, use\n RemoveAttributeActivity.

\n
", "smithy.api#required": {} } }, @@ -185,13 +192,6 @@ "traits": { "smithy.api#documentation": "

The next activity in the pipeline.

" } - }, - "name": { - "target": "com.amazonaws.iotanalytics#ActivityName", - "traits": { - "smithy.api#documentation": "

The name of the 'addAttributes' activity.

", - "smithy.api#required": {} - } } }, "traits": { @@ -277,16 +277,10 @@ "com.amazonaws.iotanalytics#BatchPutMessageErrorEntry": { "type": "structure", "members": { - "errorMessage": { - "target": "com.amazonaws.iotanalytics#ErrorMessage", - "traits": { - "smithy.api#documentation": "

The message associated with the error.

" - } - }, "messageId": { "target": "com.amazonaws.iotanalytics#MessageId", "traits": { - "smithy.api#documentation": "

The ID of the message that caused the error. (See the value corresponding to the \n \"messageId\" key in the message object.)

" + "smithy.api#documentation": "

The ID of the message that caused the error. See the value corresponding to the\n messageId key in the message object.

" } }, "errorCode": { @@ -294,6 +288,12 @@ "traits": { "smithy.api#documentation": "

The code associated with the error.

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

The message associated with the error.

" + } } }, "traits": { @@ -313,7 +313,7 @@ "messages": { "target": "com.amazonaws.iotanalytics#Messages", "traits": { - "smithy.api#documentation": "

The list of messages to be sent. Each message has format:\n '{ \"messageId\": \"string\", \"payload\": \"string\"}'.

\n

Note that the field names of message payloads (data) that you send to AWS IoT Analytics:

\n \n

For example, {\"temp_01\": 29} or {\"_temp_01\": 29} are valid, but {\"temp-01\": 29},\n {\"01_temp\": 29} or {\"__temp_01\": 29} are invalid in message payloads.

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

The list of messages to be sent. Each message has the format: { \"messageId\": \"string\",\n \"payload\": \"string\"}.

\n

The field names of message payloads (data) that you send to AWS IoT Analytics:

\n \n

For example, {\"temp_01\": 29} or {\"_temp_01\": 29} are valid, but {\"temp-01\": 29},\n {\"01_temp\": 29} or {\"__temp_01\": 29} are invalid in message payloads.

", "smithy.api#required": {} } } @@ -398,7 +398,7 @@ "reprocessingId": { "target": "com.amazonaws.iotanalytics#ReprocessingId", "traits": { - "smithy.api#documentation": "

The ID of the reprocessing task (returned by \"StartPipelineReprocessing\").

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

The ID of the reprocessing task (returned by\n StartPipelineReprocessing).

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -412,28 +412,28 @@ "com.amazonaws.iotanalytics#Channel": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.iotanalytics#ChannelArn", + "name": { + "target": "com.amazonaws.iotanalytics#ChannelName", "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" + "smithy.api#documentation": "

The name of the channel.

" } }, "storage": { "target": "com.amazonaws.iotanalytics#ChannelStorage", "traits": { - "smithy.api#documentation": "

Where channel data is stored. You may choose one of \"serviceManagedS3\" or \"customerManagedS3\" \n storage. If not specified, the default is \"serviceManagedS3\". This cannot be changed after creation\n of the channel.

" + "smithy.api#documentation": "

Where channel data is stored. You can choose one of serviceManagedS3 or\n customerManagedS3 storage. If not specified, the default is\n serviceManagedS3. You cannot change this storage option after the channel is\n created.

" } }, - "lastUpdateTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "arn": { + "target": "com.amazonaws.iotanalytics#ChannelArn", "traits": { - "smithy.api#documentation": "

When the channel was last updated.

" + "smithy.api#documentation": "

The ARN of the channel.

" } }, - "name": { - "target": "com.amazonaws.iotanalytics#ChannelName", + "status": { + "target": "com.amazonaws.iotanalytics#ChannelStatus", "traits": { - "smithy.api#documentation": "

The name of the channel.

" + "smithy.api#documentation": "

The status of the channel.

" } }, "retentionPeriod": { @@ -442,16 +442,22 @@ "smithy.api#documentation": "

How long, in days, message data is kept for the channel.

" } }, - "status": { - "target": "com.amazonaws.iotanalytics#ChannelStatus", + "creationTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

The status of the channel.

" + "smithy.api#documentation": "

When the channel was created.

" } }, - "creationTime": { + "lastUpdateTime": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

When the channel was created.

" + "smithy.api#documentation": "

When the channel was last updated.

" + } + }, + "lastMessageArrivalTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", + "traits": { + "smithy.api#documentation": "

The last time when a new message arrived in the channel.

\n

AWS IoT Analytics updates this value at most once per minute for one channel. \n Hence, the lastMessageArrivalTime value is an approximation.

\n

This feature only applies to messages that arrived in the data store after October 23, 2020.

" } } }, @@ -462,6 +468,13 @@ "com.amazonaws.iotanalytics#ChannelActivity": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.iotanalytics#ActivityName", + "traits": { + "smithy.api#documentation": "

The name of the channel activity.

", + "smithy.api#required": {} + } + }, "channelName": { "target": "com.amazonaws.iotanalytics#ChannelName", "traits": { @@ -474,13 +487,6 @@ "traits": { "smithy.api#documentation": "

The next activity in the pipeline.

" } - }, - "name": { - "target": "com.amazonaws.iotanalytics#ActivityName", - "traits": { - "smithy.api#documentation": "

The name of the 'channel' activity.

", - "smithy.api#required": {} - } } }, "traits": { @@ -539,18 +545,18 @@ "serviceManagedS3": { "target": "com.amazonaws.iotanalytics#ServiceManagedChannelS3Storage", "traits": { - "smithy.api#documentation": "

Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service.\n The choice of service-managed or customer-managed S3 storage cannot be changed after creation\n of the channel.

" + "smithy.api#documentation": "

Use this to store channel data in an S3 bucket managed by AWS IoT Analytics. You cannot\n change the choice of service-managed or customer-managed S3 storage after the channel is\n created.

" } }, "customerManagedS3": { "target": "com.amazonaws.iotanalytics#CustomerManagedChannelS3Storage", "traits": { - "smithy.api#documentation": "

Use this to store channel data in an S3 bucket that you manage. If customer managed storage is \n selected, the \"retentionPeriod\" parameter is ignored. The choice of service-managed or customer-managed \n S3 storage cannot be changed after creation of the channel.

" + "smithy.api#documentation": "

Use this to store channel data in an S3 bucket that you manage. If customer managed\n storage is selected, the retentionPeriod parameter is ignored. You cannot change\n the choice of service-managed or customer-managed S3 storage after the channel is\n created.

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

Where channel data is stored. You may choose one of \"serviceManagedS3\" or \"customerManagedS3\" \n storage. If not specified, the default is \"serviceManagedS3\". This cannot be changed after creation\n of the channel.

" + "smithy.api#documentation": "

Where channel data is stored. You may choose one of serviceManagedS3 or\n customerManagedS3 storage. If not specified, the default is\n serviceManagedS3. This cannot be changed after creation of the channel.

" } }, "com.amazonaws.iotanalytics#ChannelStorageSummary": { @@ -559,7 +565,7 @@ "serviceManagedS3": { "target": "com.amazonaws.iotanalytics#ServiceManagedChannelS3StorageSummary", "traits": { - "smithy.api#documentation": "

Used to store channel data in an S3 bucket managed by the AWS IoT Analytics service.

" + "smithy.api#documentation": "

Used to store channel data in an S3 bucket managed by AWS IoT Analytics.

" } }, "customerManagedS3": { @@ -582,10 +588,10 @@ "com.amazonaws.iotanalytics#ChannelSummary": { "type": "structure", "members": { - "creationTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "channelName": { + "target": "com.amazonaws.iotanalytics#ChannelName", "traits": { - "smithy.api#documentation": "

When the channel was created.

" + "smithy.api#documentation": "

The name of the channel.

" } }, "channelStorage": { @@ -594,23 +600,29 @@ "smithy.api#documentation": "

Where channel data is stored.

" } }, - "channelName": { - "target": "com.amazonaws.iotanalytics#ChannelName", - "traits": { - "smithy.api#documentation": "

The name of the channel.

" - } - }, "status": { "target": "com.amazonaws.iotanalytics#ChannelStatus", "traits": { "smithy.api#documentation": "

The status of the channel.

" } }, + "creationTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", + "traits": { + "smithy.api#documentation": "

When the channel was created.

" + } + }, "lastUpdateTime": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { "smithy.api#documentation": "

The last time the channel was updated.

" } + }, + "lastMessageArrivalTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", + "traits": { + "smithy.api#documentation": "

The last time when a new message arrived in the channel.

\n

AWS IoT Analytics updates this value at most once per minute for one channel. \n Hence, the lastMessageArrivalTime value is an approximation.

\n

This feature only applies to messages that arrived in the data store after October 23, 2020.

" + } } }, "traits": { @@ -635,36 +647,36 @@ "com.amazonaws.iotanalytics#ContainerDatasetAction": { "type": "structure", "members": { - "variables": { - "target": "com.amazonaws.iotanalytics#Variables", + "image": { + "target": "com.amazonaws.iotanalytics#Image", "traits": { - "smithy.api#documentation": "

The values of variables used within the context of the execution of the containerized\n application (basically, parameters passed to the application). Each variable must have a\n name and a value given by one of \"stringValue\", \"datasetContentVersionValue\",\n or \"outputFileUriValue\".

" + "smithy.api#documentation": "

The ARN of the Docker container stored in your account. The Docker container contains an\n application and required support libraries and is used to generate dataset contents.

", + "smithy.api#required": {} } }, - "resourceConfiguration": { - "target": "com.amazonaws.iotanalytics#ResourceConfiguration", + "executionRoleArn": { + "target": "com.amazonaws.iotanalytics#RoleArn", "traits": { - "smithy.api#documentation": "

Configuration of the resource which executes the \"containerAction\".

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

The ARN of the role that gives permission to the system to access required resources to\n run the containerAction. This includes, at minimum, permission to retrieve the\n dataset contents that are the input to the containerized application.

", "smithy.api#required": {} } }, - "image": { - "target": "com.amazonaws.iotanalytics#Image", + "resourceConfiguration": { + "target": "com.amazonaws.iotanalytics#ResourceConfiguration", "traits": { - "smithy.api#documentation": "

The ARN of the Docker container stored in your account. The Docker container contains an\n application and needed support libraries and is used to generate data set contents.

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

Configuration of the resource that executes the containerAction.

", "smithy.api#required": {} } }, - "executionRoleArn": { - "target": "com.amazonaws.iotanalytics#RoleArn", + "variables": { + "target": "com.amazonaws.iotanalytics#Variables", "traits": { - "smithy.api#documentation": "

The ARN of the role which gives permission to the system to access needed resources in order\n to run the \"containerAction\". This includes, at minimum, permission to retrieve the data set\n contents which are the input to the containerized application.

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

The values of variables used in the context of the execution of the containerized\n application (basically, parameters passed to the application). Each variable must have a name\n and a value given by one of stringValue, datasetContentVersionValue,\n or outputFileUriValue.

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

Information needed to run the \"containerAction\" to produce data set contents.

" + "smithy.api#documentation": "

Information required to run the containerAction to produce dataset\n contents.

" } }, "com.amazonaws.iotanalytics#CreateChannel": { @@ -707,18 +719,6 @@ "com.amazonaws.iotanalytics#CreateChannelRequest": { "type": "structure", "members": { - "retentionPeriod": { - "target": "com.amazonaws.iotanalytics#RetentionPeriod", - "traits": { - "smithy.api#documentation": "

How long, in days, message data is kept for the channel. When \"customerManagedS3\" storage is \n selected, this parameter is ignored.

" - } - }, - "tags": { - "target": "com.amazonaws.iotanalytics#TagList", - "traits": { - "smithy.api#documentation": "

Metadata which can be used to manage the channel.

" - } - }, "channelName": { "target": "com.amazonaws.iotanalytics#ChannelName", "traits": { @@ -729,7 +729,19 @@ "channelStorage": { "target": "com.amazonaws.iotanalytics#ChannelStorage", "traits": { - "smithy.api#documentation": "

Where channel data is stored. You may choose one of \"serviceManagedS3\" or \"customerManagedS3\" \n storage. If not specified, the default is \"serviceManagedS3\". This cannot be changed after creation\n of the channel.

" + "smithy.api#documentation": "

Where channel data is stored. You can choose one of serviceManagedS3 or\n customerManagedS3 storage. If not specified, the default is\n serviceManagedS3. You cannot change this storage option after the channel is\n created.

" + } + }, + "retentionPeriod": { + "target": "com.amazonaws.iotanalytics#RetentionPeriod", + "traits": { + "smithy.api#documentation": "

How long, in days, message data is kept for the channel. When\n customerManagedS3 storage is selected, this parameter is ignored.

" + } + }, + "tags": { + "target": "com.amazonaws.iotanalytics#TagList", + "traits": { + "smithy.api#documentation": "

Metadata which can be used to manage the channel.

" } } } @@ -737,6 +749,12 @@ "com.amazonaws.iotanalytics#CreateChannelResponse": { "type": "structure", "members": { + "channelName": { + "target": "com.amazonaws.iotanalytics#ChannelName", + "traits": { + "smithy.api#documentation": "

The name of the channel.

" + } + }, "channelArn": { "target": "com.amazonaws.iotanalytics#ChannelArn", "traits": { @@ -748,12 +766,6 @@ "traits": { "smithy.api#documentation": "

How long, in days, message data is kept for the channel.

" } - }, - "channelName": { - "target": "com.amazonaws.iotanalytics#ChannelName", - "traits": { - "smithy.api#documentation": "

The name of the channel.

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

Creates a data set. A data set stores data retrieved from a data store by applying a\n \"queryAction\" (a SQL query) or a \"containerAction\" (executing a containerized application).\n This operation creates the skeleton of a data set. The data set can be populated manually\n by calling \"CreateDatasetContent\" or automatically according to a \"trigger\" you specify.

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

Creates a dataset. A dataset stores data retrieved from a data store by applying a\n queryAction (a SQL query) or a containerAction (executing a\n containerized application). This operation creates the skeleton of a dataset. The dataset can\n be populated manually by calling CreateDatasetContent or automatically according\n to a trigger you specify.

", "smithy.api#http": { "method": "POST", "uri": "/datasets", @@ -820,7 +832,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates the content of a data set by applying a \"queryAction\" (a SQL query) or a \"containerAction\" \n (executing a containerized application).

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

Creates the content of a data set by applying a queryAction (a SQL query)\n or a containerAction (executing a containerized application).

", "smithy.api#http": { "method": "POST", "uri": "/datasets/{datasetName}/content", @@ -834,10 +846,16 @@ "datasetName": { "target": "com.amazonaws.iotanalytics#DatasetName", "traits": { - "smithy.api#documentation": "

The name of the data set.

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

The name of the dataset.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "versionId": { + "target": "com.amazonaws.iotanalytics#DatasetContentVersion", + "traits": { + "smithy.api#documentation": "

The version ID of the dataset content. To specify versionId for a dataset\n content, the dataset must use a DeltaTimer filter.

" + } } } }, @@ -847,7 +865,7 @@ "versionId": { "target": "com.amazonaws.iotanalytics#DatasetContentVersion", "traits": { - "smithy.api#documentation": "

The version ID of the data set contents which are being created.

" + "smithy.api#documentation": "

The version ID of the dataset contents that are being created.

" } } } @@ -855,48 +873,54 @@ "com.amazonaws.iotanalytics#CreateDatasetRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.iotanalytics#TagList", + "datasetName": { + "target": "com.amazonaws.iotanalytics#DatasetName", "traits": { - "smithy.api#documentation": "

Metadata which can be used to manage the data set.

" + "smithy.api#documentation": "

The name of the data set.

", + "smithy.api#required": {} } }, - "versioningConfiguration": { - "target": "com.amazonaws.iotanalytics#VersioningConfiguration", + "actions": { + "target": "com.amazonaws.iotanalytics#DatasetActions", "traits": { - "smithy.api#documentation": "

[Optional] How many versions of data set contents are kept. If not specified or set to null, only the \n latest version plus the latest succeeded version (if they are different) are kept for \n the time period specified by the \"retentionPeriod\" parameter. (For more information, see\n https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)

" + "smithy.api#documentation": "

A list of actions that create the data set contents.

", + "smithy.api#required": {} + } + }, + "triggers": { + "target": "com.amazonaws.iotanalytics#DatasetTriggers", + "traits": { + "smithy.api#documentation": "

A list of triggers. A trigger causes data set contents to be populated at a specified\n time interval or when another data set's contents are created. The list of triggers can be\n empty or contain up to five DataSetTrigger objects.

" } }, "contentDeliveryRules": { "target": "com.amazonaws.iotanalytics#DatasetContentDeliveryRules", "traits": { - "smithy.api#documentation": "

When data set contents are created they are delivered to destinations specified here.

" + "smithy.api#documentation": "

When dataset contents are created, they are delivered to destinations specified\n here.

" } }, - "actions": { - "target": "com.amazonaws.iotanalytics#DatasetActions", + "retentionPeriod": { + "target": "com.amazonaws.iotanalytics#RetentionPeriod", "traits": { - "smithy.api#documentation": "

A list of actions that create the data set contents.

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

Optional. How long, in days, versions of dataset contents are kept for the dataset. If\n not specified or set to null, versions of dataset contents are retained for at\n most 90 days. The number of versions of dataset contents retained is determined by the\n versioningConfiguration parameter. For more information, see Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT\n Analytics User Guide.

" } }, - "datasetName": { - "target": "com.amazonaws.iotanalytics#DatasetName", + "versioningConfiguration": { + "target": "com.amazonaws.iotanalytics#VersioningConfiguration", "traits": { - "smithy.api#documentation": "

The name of the data set.

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

Optional. How many versions of dataset contents are kept. If not specified or set to\n null, only the latest version plus the latest succeeded version (if they are different) are\n kept for the time period specified by the retentionPeriod parameter. For more\n information, see\n Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT\n Analytics User Guide.

" } }, - "retentionPeriod": { - "target": "com.amazonaws.iotanalytics#RetentionPeriod", + "tags": { + "target": "com.amazonaws.iotanalytics#TagList", "traits": { - "smithy.api#documentation": "

[Optional] How long, in days, versions of data set contents are kept for the data set. If \n not specified or set to null, versions of data set contents are retained for at most 90 days. \n The number of versions of data set contents retained is determined by the \n versioningConfiguration parameter. (For more information, see \n https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)

" + "smithy.api#documentation": "

Metadata which can be used to manage the data set.

" } }, - "triggers": { - "target": "com.amazonaws.iotanalytics#DatasetTriggers", + "lateDataRules": { + "target": "com.amazonaws.iotanalytics#LateDataRules", "traits": { - "smithy.api#documentation": "

A list of triggers. A trigger causes data set contents to be populated at a specified \n time interval or when another data set's contents are created. The list of triggers can \n be empty or contain up to five DataSetTrigger objects.

" + "smithy.api#documentation": "

A list of data rules that send notifications to Amazon CloudWatch, when data arrives late. To\n specify lateDataRules, the dataset must use a DeltaTimer\n filter.

" } } } @@ -907,19 +931,19 @@ "datasetName": { "target": "com.amazonaws.iotanalytics#DatasetName", "traits": { - "smithy.api#documentation": "

The name of the data set.

" + "smithy.api#documentation": "

The name of the dataset.

" } }, - "retentionPeriod": { - "target": "com.amazonaws.iotanalytics#RetentionPeriod", + "datasetArn": { + "target": "com.amazonaws.iotanalytics#DatasetArn", "traits": { - "smithy.api#documentation": "

How long, in days, data set contents are kept for the data set.

" + "smithy.api#documentation": "

The ARN of the dataset.

" } }, - "datasetArn": { - "target": "com.amazonaws.iotanalytics#DatasetArn", + "retentionPeriod": { + "target": "com.amazonaws.iotanalytics#RetentionPeriod", "traits": { - "smithy.api#documentation": "

The ARN of the data set.

" + "smithy.api#documentation": "

How long, in days, dataset contents are kept for the dataset.

" } } } @@ -964,12 +988,6 @@ "com.amazonaws.iotanalytics#CreateDatastoreRequest": { "type": "structure", "members": { - "retentionPeriod": { - "target": "com.amazonaws.iotanalytics#RetentionPeriod", - "traits": { - "smithy.api#documentation": "

How long, in days, message data is kept for the data store. When \"customerManagedS3\" storage \n is selected, this parameter is ignored.

" - } - }, "datastoreName": { "target": "com.amazonaws.iotanalytics#DatastoreName", "traits": { @@ -977,16 +995,22 @@ "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.iotanalytics#TagList", + "datastoreStorage": { + "target": "com.amazonaws.iotanalytics#DatastoreStorage", "traits": { - "smithy.api#documentation": "

Metadata which can be used to manage the data store.

" + "smithy.api#documentation": "

Where data store data is stored. You can choose one of serviceManagedS3 or\n customerManagedS3 storage. If not specified, the default is\n serviceManagedS3. You cannot change this storage option after the data store is\n created.

" } }, - "datastoreStorage": { - "target": "com.amazonaws.iotanalytics#DatastoreStorage", + "retentionPeriod": { + "target": "com.amazonaws.iotanalytics#RetentionPeriod", + "traits": { + "smithy.api#documentation": "

How long, in days, message data is kept for the data store. When\n customerManagedS3 storage is selected, this parameter is ignored.

" + } + }, + "tags": { + "target": "com.amazonaws.iotanalytics#TagList", "traits": { - "smithy.api#documentation": "

Where data store data is stored. You may choose one of \"serviceManagedS3\" or \"customerManagedS3\" \n storage. If not specified, the default is \"serviceManagedS3\". This cannot be changed after the data\n store is created.

" + "smithy.api#documentation": "

Metadata which can be used to manage the data store.

" } } } @@ -994,10 +1018,10 @@ "com.amazonaws.iotanalytics#CreateDatastoreResponse": { "type": "structure", "members": { - "retentionPeriod": { - "target": "com.amazonaws.iotanalytics#RetentionPeriod", + "datastoreName": { + "target": "com.amazonaws.iotanalytics#DatastoreName", "traits": { - "smithy.api#documentation": "

How long, in days, message data is kept for the data store.

" + "smithy.api#documentation": "

The name of the data store.

" } }, "datastoreArn": { @@ -1006,10 +1030,10 @@ "smithy.api#documentation": "

The ARN of the data store.

" } }, - "datastoreName": { - "target": "com.amazonaws.iotanalytics#DatastoreName", + "retentionPeriod": { + "target": "com.amazonaws.iotanalytics#RetentionPeriod", "traits": { - "smithy.api#documentation": "

The name of the data store.

" + "smithy.api#documentation": "

How long, in days, message data is kept for the data store.

" } } } @@ -1054,17 +1078,17 @@ "com.amazonaws.iotanalytics#CreatePipelineRequest": { "type": "structure", "members": { - "pipelineActivities": { - "target": "com.amazonaws.iotanalytics#PipelineActivities", + "pipelineName": { + "target": "com.amazonaws.iotanalytics#PipelineName", "traits": { - "smithy.api#documentation": "

A list of \"PipelineActivity\" objects. Activities perform transformations on your messages, \n such as removing, renaming or adding message attributes; filtering messages based on attribute \n values; invoking your Lambda functions on messages for advanced processing; or performing \n mathematical transformations to normalize device data.

\n

The list can be 2-25 PipelineActivity objects and must \n contain both a channel and a datastore activity. Each entry in the \n list must contain only one activity, for example:

\n

\n pipelineActivities = [\n {\n \"channel\": { ... }\n },\n {\n \"lambda\": { ... }\n },\n ... \n]\n

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

The name of the pipeline.

", "smithy.api#required": {} } }, - "pipelineName": { - "target": "com.amazonaws.iotanalytics#PipelineName", + "pipelineActivities": { + "target": "com.amazonaws.iotanalytics#PipelineActivities", "traits": { - "smithy.api#documentation": "

The name of the pipeline.

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

A list of PipelineActivity objects. Activities perform transformations on\n your messages, such as removing, renaming or adding message attributes; filtering messages\n based on attribute values; invoking your Lambda functions on messages for advanced processing;\n or performing mathematical transformations to normalize device data.

\n

The list can be 2-25 PipelineActivity objects and must contain both a\n channel and a datastore activity. Each entry in the list must\n contain only one activity. For example:

\n

\n pipelineActivities = [\n {\n \"channel\": { ... }\n },\n {\n \"lambda\": { ... }\n },\n ... \n]\n

", "smithy.api#required": {} } }, @@ -1079,17 +1103,17 @@ "com.amazonaws.iotanalytics#CreatePipelineResponse": { "type": "structure", "members": { - "pipelineArn": { - "target": "com.amazonaws.iotanalytics#PipelineArn", - "traits": { - "smithy.api#documentation": "

The ARN of the pipeline.

" - } - }, "pipelineName": { "target": "com.amazonaws.iotanalytics#PipelineName", "traits": { "smithy.api#documentation": "

The name of the pipeline.

" } + }, + "pipelineArn": { + "target": "com.amazonaws.iotanalytics#PipelineArn", + "traits": { + "smithy.api#documentation": "

The ARN of the pipeline.

" + } } } }, @@ -1099,47 +1123,47 @@ "bucket": { "target": "com.amazonaws.iotanalytics#BucketName", "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 bucket in which channel data is stored.

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

The name of the S3 bucket in which channel data is stored.

", "smithy.api#required": {} } }, - "roleArn": { - "target": "com.amazonaws.iotanalytics#RoleArn", + "keyPrefix": { + "target": "com.amazonaws.iotanalytics#S3KeyPrefix", "traits": { - "smithy.api#documentation": "

The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.

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

Optional. The prefix used to create the keys of the channel data objects. Each object in\n an S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket\n has exactly one key. The prefix must end with a forward slash (/).

" } }, - "keyPrefix": { - "target": "com.amazonaws.iotanalytics#S3KeyPrefix", + "roleArn": { + "target": "com.amazonaws.iotanalytics#RoleArn", "traits": { - "smithy.api#documentation": "

[Optional] The prefix used to create the keys of the channel data objects. Each object in \n an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in \n a bucket has exactly one key). The prefix must end with a '/'.

" + "smithy.api#documentation": "

The ARN of the role that grants AWS IoT Analytics permission to interact with your\n Amazon S3 resources.

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

Use this to store channel data in an S3 bucket that you manage. If customer managed storage is\n selected, the \"retentionPeriod\" parameter is ignored. The choice of service-managed or customer-managed \n S3 storage cannot be changed after creation of the channel.

" + "smithy.api#documentation": "

Use this to store channel data in an S3 bucket that you manage. If customer managed\n storage is selected, the retentionPeriod parameter is ignored. You cannot change\n the choice of service-managed or customer-managed S3 storage after the channel is\n created.

" } }, "com.amazonaws.iotanalytics#CustomerManagedChannelS3StorageSummary": { "type": "structure", "members": { - "keyPrefix": { - "target": "com.amazonaws.iotanalytics#S3KeyPrefix", + "bucket": { + "target": "com.amazonaws.iotanalytics#BucketName", "traits": { - "smithy.api#documentation": "

[Optional] The prefix used to create the keys of the channel data objects. Each object in \n an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in \n a bucket has exactly one key). The prefix must end with a '/'.

" + "smithy.api#documentation": "

The name of the S3 bucket in which channel data is stored.

" } }, - "bucket": { - "target": "com.amazonaws.iotanalytics#BucketName", + "keyPrefix": { + "target": "com.amazonaws.iotanalytics#S3KeyPrefix", "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 bucket in which channel data is stored.

" + "smithy.api#documentation": "

Optional. The prefix used to create the keys of the channel data objects. Each object in\n an S3 bucket has a key that is its unique identifier within the bucket (each object in a\n bucket has exactly one key). The prefix must end with a forward slash (/).

" } }, "roleArn": { "target": "com.amazonaws.iotanalytics#RoleArn", "traits": { - "smithy.api#documentation": "

The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon \n S3 resources.

" + "smithy.api#documentation": "

The ARN of the role that grants AWS IoT Analytics permission to interact with your\n Amazon S3 resources.

" } } }, @@ -1150,29 +1174,29 @@ "com.amazonaws.iotanalytics#CustomerManagedDatastoreS3Storage": { "type": "structure", "members": { + "bucket": { + "target": "com.amazonaws.iotanalytics#BucketName", + "traits": { + "smithy.api#documentation": "

The name of the S3 bucket in which data store data is stored.

", + "smithy.api#required": {} + } + }, "keyPrefix": { "target": "com.amazonaws.iotanalytics#S3KeyPrefix", "traits": { - "smithy.api#documentation": "

[Optional] The prefix used to create the keys of the data store data objects. Each object in \n an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in a \n bucket has exactly one key). The prefix must end with a '/'.

" + "smithy.api#documentation": "

Optional. The prefix used to create the keys of the data store data objects. Each object\n in an S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket\n has exactly one key. The prefix must end with a forward slash (/).

" } }, "roleArn": { "target": "com.amazonaws.iotanalytics#RoleArn", "traits": { - "smithy.api#documentation": "

The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.

", - "smithy.api#required": {} - } - }, - "bucket": { - "target": "com.amazonaws.iotanalytics#BucketName", - "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 bucket in which data store data is stored.

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

The ARN of the role that grants AWS IoT Analytics permission to interact with your\n Amazon S3 resources.

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

Use this to store data store data in an S3 bucket that you manage. When customer managed storage is\n selected, the \"retentionPeriod\" parameter is ignored. The choice of service-managed or customer-managed \n S3 storage cannot be changed after creation of the data store.

" + "smithy.api#documentation": "

Use this to store data store data in an S3 bucket that you manage. When customer-managed\n storage is selected, the retentionPeriod parameter is ignored. You cannot change\n the choice of service-managed or customer-managed S3 storage after the data store is\n created.

" } }, "com.amazonaws.iotanalytics#CustomerManagedDatastoreS3StorageSummary": { @@ -1181,19 +1205,19 @@ "bucket": { "target": "com.amazonaws.iotanalytics#BucketName", "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 bucket in which data store data is stored.

" + "smithy.api#documentation": "

The name of the S3 bucket in which data store data is stored.

" } }, - "roleArn": { - "target": "com.amazonaws.iotanalytics#RoleArn", + "keyPrefix": { + "target": "com.amazonaws.iotanalytics#S3KeyPrefix", "traits": { - "smithy.api#documentation": "

The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.

" + "smithy.api#documentation": "

Optional. The prefix used to create the keys of the data store data objects. Each object\n in an S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket\n has exactly one key. The prefix must end with a forward slash (/).

" } }, - "keyPrefix": { - "target": "com.amazonaws.iotanalytics#S3KeyPrefix", + "roleArn": { + "target": "com.amazonaws.iotanalytics#RoleArn", "traits": { - "smithy.api#documentation": "

[Optional] The prefix used to create the keys of the data store data objects. Each object in \n an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in a \n bucket has exactly one key). The prefix must end with a '/'.

" + "smithy.api#documentation": "

The ARN of the role that grants AWS IoT Analytics permission to interact with your\n Amazon S3 resources.

" } } }, @@ -1204,64 +1228,70 @@ "com.amazonaws.iotanalytics#Dataset": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.iotanalytics#DatasetStatus", + "name": { + "target": "com.amazonaws.iotanalytics#DatasetName", "traits": { - "smithy.api#documentation": "

The status of the data set.

" + "smithy.api#documentation": "

The name of the data set.

" } }, - "triggers": { - "target": "com.amazonaws.iotanalytics#DatasetTriggers", + "arn": { + "target": "com.amazonaws.iotanalytics#DatasetArn", "traits": { - "smithy.api#documentation": "

The \"DatasetTrigger\" objects\n that specify when the data set is automatically updated.

" + "smithy.api#documentation": "

The ARN of the data set.

" } }, - "lastUpdateTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "actions": { + "target": "com.amazonaws.iotanalytics#DatasetActions", "traits": { - "smithy.api#documentation": "

The last time the data set was updated.

" + "smithy.api#documentation": "

The DatasetAction objects that automatically create the data set\n contents.

" } }, - "arn": { - "target": "com.amazonaws.iotanalytics#DatasetArn", + "triggers": { + "target": "com.amazonaws.iotanalytics#DatasetTriggers", "traits": { - "smithy.api#documentation": "

The ARN of the data set.

" + "smithy.api#documentation": "

The DatasetTrigger objects that specify when the data set is automatically\n updated.

" } }, - "name": { - "target": "com.amazonaws.iotanalytics#DatasetName", + "contentDeliveryRules": { + "target": "com.amazonaws.iotanalytics#DatasetContentDeliveryRules", "traits": { - "smithy.api#documentation": "

The name of the data set.

" + "smithy.api#documentation": "

When dataset contents are created they are delivered to destinations specified\n here.

" } }, - "actions": { - "target": "com.amazonaws.iotanalytics#DatasetActions", + "status": { + "target": "com.amazonaws.iotanalytics#DatasetStatus", "traits": { - "smithy.api#documentation": "

The \"DatasetAction\" objects that automatically create the data set contents.

" + "smithy.api#documentation": "

The status of the data set.

" } }, - "contentDeliveryRules": { - "target": "com.amazonaws.iotanalytics#DatasetContentDeliveryRules", + "creationTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

When data set contents are created they are delivered to destinations specified here.

" + "smithy.api#documentation": "

When the data set was created.

" + } + }, + "lastUpdateTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", + "traits": { + "smithy.api#documentation": "

The last time the data set was updated.

" } }, "retentionPeriod": { "target": "com.amazonaws.iotanalytics#RetentionPeriod", "traits": { - "smithy.api#documentation": "

[Optional] How long, in days, message data is kept for the data set.

" + "smithy.api#documentation": "

Optional. How long, in days, message data is kept for the data set.

" } }, "versioningConfiguration": { "target": "com.amazonaws.iotanalytics#VersioningConfiguration", "traits": { - "smithy.api#documentation": "

[Optional] How many versions of data set contents are kept. If not specified or set to null, only the \n latest version plus the latest succeeded version (if they are different) are kept for \n the time period specified by the \"retentionPeriod\" parameter. (For more information, see\n https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)

" + "smithy.api#documentation": "

Optional. How many versions of dataset contents are kept. If not specified or set to\n null, only the latest version plus the latest succeeded version (if they are different) are\n kept for the time period specified by the retentionPeriod parameter. For more\n information, see\n Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT\n Analytics User Guide.

" } }, - "creationTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "lateDataRules": { + "target": "com.amazonaws.iotanalytics#LateDataRules", "traits": { - "smithy.api#documentation": "

When the data set was created.

" + "smithy.api#documentation": "

A list of data rules that send notifications to Amazon CloudWatch, when data arrives late. To\n specify lateDataRules, the dataset must use a DeltaTimer\n filter.

" } } }, @@ -1272,27 +1302,27 @@ "com.amazonaws.iotanalytics#DatasetAction": { "type": "structure", "members": { + "actionName": { + "target": "com.amazonaws.iotanalytics#DatasetActionName", + "traits": { + "smithy.api#documentation": "

The name of the data set action by which data set contents are automatically created.

" + } + }, "queryAction": { "target": "com.amazonaws.iotanalytics#SqlQueryDatasetAction", "traits": { - "smithy.api#documentation": "

An \"SqlQueryDatasetAction\" object that uses an SQL query to automatically create data set contents.

" + "smithy.api#documentation": "

An SqlQueryDatasetAction object that uses an SQL query to automatically\n create data set contents.

" } }, "containerAction": { "target": "com.amazonaws.iotanalytics#ContainerDatasetAction", "traits": { - "smithy.api#documentation": "

Information which allows the system to run a containerized application in order to create\n the data set contents. The application must be in a Docker container along with any needed\n support libraries.

" - } - }, - "actionName": { - "target": "com.amazonaws.iotanalytics#DatasetActionName", - "traits": { - "smithy.api#documentation": "

The name of the data set action by which data set contents are automatically created.

" + "smithy.api#documentation": "

Information that allows the system to run a containerized application to create the\n dataset contents. The application must be in a Docker container along with any required\n support libraries.

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

A \"DatasetAction\" object that specifies how data set contents are automatically created.

" + "smithy.api#documentation": "

A DatasetAction object that specifies how data set contents are\n automatically created.

" } }, "com.amazonaws.iotanalytics#DatasetActionName": { @@ -1320,21 +1350,21 @@ "com.amazonaws.iotanalytics#DatasetActionSummary": { "type": "structure", "members": { - "actionType": { - "target": "com.amazonaws.iotanalytics#DatasetActionType", + "actionName": { + "target": "com.amazonaws.iotanalytics#DatasetActionName", "traits": { - "smithy.api#documentation": "

The type of action by which the data set's contents are automatically created.

" + "smithy.api#documentation": "

The name of the action that automatically creates the dataset's contents.

" } }, - "actionName": { - "target": "com.amazonaws.iotanalytics#DatasetActionName", + "actionType": { + "target": "com.amazonaws.iotanalytics#DatasetActionType", "traits": { - "smithy.api#documentation": "

The name of the action which automatically creates the data set's contents.

" + "smithy.api#documentation": "

The type of action by which the dataset's contents are automatically created.

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

Information about the action which automatically creates the data set's contents.

" + "smithy.api#documentation": "

Information about the action that automatically creates the dataset's contents.

" } }, "com.amazonaws.iotanalytics#DatasetActionType": { @@ -1373,39 +1403,39 @@ "iotEventsDestinationConfiguration": { "target": "com.amazonaws.iotanalytics#IotEventsDestinationConfiguration", "traits": { - "smithy.api#documentation": "

Configuration information for delivery of data set contents to AWS IoT Events.

" + "smithy.api#documentation": "

Configuration information for delivery of dataset contents to AWS IoT Events.

" } }, "s3DestinationConfiguration": { "target": "com.amazonaws.iotanalytics#S3DestinationConfiguration", "traits": { - "smithy.api#documentation": "

Configuration information for delivery of data set contents to Amazon S3.

" + "smithy.api#documentation": "

Configuration information for delivery of dataset contents to Amazon S3.

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

The destination to which data set contents are delivered.

" + "smithy.api#documentation": "

The destination to which dataset contents are delivered.

" } }, "com.amazonaws.iotanalytics#DatasetContentDeliveryRule": { "type": "structure", "members": { - "destination": { - "target": "com.amazonaws.iotanalytics#DatasetContentDeliveryDestination", + "entryName": { + "target": "com.amazonaws.iotanalytics#EntryName", "traits": { - "smithy.api#documentation": "

The destination to which data set contents are delivered.

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

The name of the dataset content delivery rules entry.

" } }, - "entryName": { - "target": "com.amazonaws.iotanalytics#EntryName", + "destination": { + "target": "com.amazonaws.iotanalytics#DatasetContentDeliveryDestination", "traits": { - "smithy.api#documentation": "

The name of the data set content delivery rules entry.

" + "smithy.api#documentation": "

The destination to which dataset contents are delivered.

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

When data set contents are created they are delivered to destination specified here.

" + "smithy.api#documentation": "

When dataset contents are created, they are delivered to destination specified\n here.

" } }, "com.amazonaws.iotanalytics#DatasetContentDeliveryRules": { @@ -1442,16 +1472,16 @@ "com.amazonaws.iotanalytics#DatasetContentStatus": { "type": "structure", "members": { - "reason": { - "target": "com.amazonaws.iotanalytics#Reason", + "state": { + "target": "com.amazonaws.iotanalytics#DatasetContentState", "traits": { - "smithy.api#documentation": "

The reason the data set contents are in this state.

" + "smithy.api#documentation": "

The state of the data set contents. Can be one of READY, CREATING, SUCCEEDED, or\n FAILED.

" } }, - "state": { - "target": "com.amazonaws.iotanalytics#DatasetContentState", + "reason": { + "target": "com.amazonaws.iotanalytics#Reason", "traits": { - "smithy.api#documentation": "

The state of the data set contents. Can be one of \"READY\", \"CREATING\", \"SUCCEEDED\" or\n \"FAILED\".

" + "smithy.api#documentation": "

The reason the data set contents are in this state.

" } } }, @@ -1468,28 +1498,28 @@ "com.amazonaws.iotanalytics#DatasetContentSummary": { "type": "structure", "members": { - "scheduleTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "version": { + "target": "com.amazonaws.iotanalytics#DatasetContentVersion", "traits": { - "smithy.api#documentation": "

The time the creation of the data set contents was scheduled to start.

" + "smithy.api#documentation": "

The version of the dataset contents.

" } }, - "creationTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "status": { + "target": "com.amazonaws.iotanalytics#DatasetContentStatus", "traits": { - "smithy.api#documentation": "

The actual time the creation of the data set contents was started.

" + "smithy.api#documentation": "

The status of the data set contents.

" } }, - "version": { - "target": "com.amazonaws.iotanalytics#DatasetContentVersion", + "creationTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

The version of the data set contents.

" + "smithy.api#documentation": "

The actual time the creation of the dataset contents was started.

" } }, - "status": { - "target": "com.amazonaws.iotanalytics#DatasetContentStatus", + "scheduleTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

The status of the data set contents.

" + "smithy.api#documentation": "

The time the creation of the dataset contents was scheduled to start.

" } }, "completionTime": { @@ -1500,7 +1530,7 @@ } }, "traits": { - "smithy.api#documentation": "

Summary information about data set contents.

" + "smithy.api#documentation": "

Summary information about dataset contents.

" } }, "com.amazonaws.iotanalytics#DatasetContentVersion": { @@ -1518,13 +1548,13 @@ "datasetName": { "target": "com.amazonaws.iotanalytics#DatasetName", "traits": { - "smithy.api#documentation": "

The name of the data set whose latest contents are used as input to the notebook or \n application.

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

The name of the dataset whose latest contents are used as input to the notebook or\n application.

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

The data set whose latest contents are used as input to the notebook or \n application.

" + "smithy.api#documentation": "

The dataset whose latest contents are used as input to the notebook or\n application.

" } }, "com.amazonaws.iotanalytics#DatasetEntries": { @@ -1536,17 +1566,17 @@ "com.amazonaws.iotanalytics#DatasetEntry": { "type": "structure", "members": { - "dataURI": { - "target": "com.amazonaws.iotanalytics#PresignedURI", - "traits": { - "smithy.api#documentation": "

The pre-signed URI of the data set item.

" - } - }, "entryName": { "target": "com.amazonaws.iotanalytics#EntryName", "traits": { "smithy.api#documentation": "

The name of the data set item.

" } + }, + "dataURI": { + "target": "com.amazonaws.iotanalytics#PresignedURI", + "traits": { + "smithy.api#documentation": "

The presigned URI of the data set item.

" + } } }, "traits": { @@ -1591,6 +1621,12 @@ "com.amazonaws.iotanalytics#DatasetSummary": { "type": "structure", "members": { + "datasetName": { + "target": "com.amazonaws.iotanalytics#DatasetName", + "traits": { + "smithy.api#documentation": "

The name of the data set.

" + } + }, "status": { "target": "com.amazonaws.iotanalytics#DatasetStatus", "traits": { @@ -1603,12 +1639,6 @@ "smithy.api#documentation": "

The time the data set was created.

" } }, - "datasetName": { - "target": "com.amazonaws.iotanalytics#DatasetName", - "traits": { - "smithy.api#documentation": "

The name of the data set.

" - } - }, "lastUpdateTime": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { @@ -1618,13 +1648,13 @@ "triggers": { "target": "com.amazonaws.iotanalytics#DatasetTriggers", "traits": { - "smithy.api#documentation": "

A list of triggers. A trigger causes data set content to be populated at a specified time\n interval or when another data set is populated. The list of triggers can be empty or contain up\n to five DataSetTrigger objects

" + "smithy.api#documentation": "

A list of triggers. A trigger causes data set content to be populated at a specified time\n interval or when another data set is populated. The list of triggers can be empty or contain up\n to five DataSetTrigger objects

" } }, "actions": { "target": "com.amazonaws.iotanalytics#DatasetActionSummaries", "traits": { - "smithy.api#documentation": "

A list of \"DataActionSummary\" objects.

" + "smithy.api#documentation": "

A list of DataActionSummary objects.

" } } }, @@ -1635,21 +1665,21 @@ "com.amazonaws.iotanalytics#DatasetTrigger": { "type": "structure", "members": { - "dataset": { - "target": "com.amazonaws.iotanalytics#TriggeringDataset", + "schedule": { + "target": "com.amazonaws.iotanalytics#Schedule", "traits": { - "smithy.api#documentation": "

The data set whose content creation triggers the creation of this data set's contents.

" + "smithy.api#documentation": "

The Schedule when the trigger is initiated.

" } }, - "schedule": { - "target": "com.amazonaws.iotanalytics#Schedule", + "dataset": { + "target": "com.amazonaws.iotanalytics#TriggeringDataset", "traits": { - "smithy.api#documentation": "

The \"Schedule\" when the trigger is initiated.

" + "smithy.api#documentation": "

The data set whose content creation triggers the creation of this data set's contents.

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

The \"DatasetTrigger\"\n that specifies when the data set is automatically updated.

" + "smithy.api#documentation": "

The DatasetTrigger that specifies when the data set is automatically\n updated.

" } }, "com.amazonaws.iotanalytics#DatasetTriggers": { @@ -1667,16 +1697,22 @@ "com.amazonaws.iotanalytics#Datastore": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.iotanalytics#DatastoreArn", + "name": { + "target": "com.amazonaws.iotanalytics#DatastoreName", "traits": { - "smithy.api#documentation": "

The ARN of the data store.

" + "smithy.api#documentation": "

The name of the data store.

" } }, "storage": { "target": "com.amazonaws.iotanalytics#DatastoreStorage", "traits": { - "smithy.api#documentation": "

Where data store data is stored. You may choose one of \"serviceManagedS3\" or \"customerManagedS3\" \n storage. If not specified, the default is \"serviceManagedS3\". This cannot be changed after the data\n store is created.

" + "smithy.api#documentation": "

Where data store data is stored. You can choose one of serviceManagedS3 or\n customerManagedS3 storage. If not specified, the default is\n serviceManagedS3. You cannot change this storage option after the data store is\n created.

" + } + }, + "arn": { + "target": "com.amazonaws.iotanalytics#DatastoreArn", + "traits": { + "smithy.api#documentation": "

The ARN of the data store.

" } }, "status": { @@ -1685,6 +1721,12 @@ "smithy.api#documentation": "

The status of a data store:

\n
\n
CREATING
\n
\n

The data store is being created.

\n
\n
ACTIVE
\n
\n

The data store has been created and can be used.

\n
\n
DELETING
\n
\n

The data store is being deleted.

\n
\n
" } }, + "retentionPeriod": { + "target": "com.amazonaws.iotanalytics#RetentionPeriod", + "traits": { + "smithy.api#documentation": "

How long, in days, message data is kept for the data store. When\n customerManagedS3 storage is selected, this parameter is ignored.

" + } + }, "creationTime": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { @@ -1697,16 +1739,10 @@ "smithy.api#documentation": "

The last time the data store was updated.

" } }, - "name": { - "target": "com.amazonaws.iotanalytics#DatastoreName", - "traits": { - "smithy.api#documentation": "

The name of the data store.

" - } - }, - "retentionPeriod": { - "target": "com.amazonaws.iotanalytics#RetentionPeriod", + "lastMessageArrivalTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

How long, in days, message data is kept for the data store. When \"customerManagedS3\" storage \n is selected, this parameter is ignored.

" + "smithy.api#documentation": "

The last time when a new message arrived in the data store.

\n

AWS IoT Analytics updates this value at most once per minute for one data store. \n Hence, the lastMessageArrivalTime value is an approximation.

\n

This feature only applies to messages that arrived in the data store after October 23, 2020.

" } } }, @@ -1720,7 +1756,7 @@ "name": { "target": "com.amazonaws.iotanalytics#ActivityName", "traits": { - "smithy.api#documentation": "

The name of the 'datastore' activity.

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

The name of the datastore activity.

", "smithy.api#required": {} } }, @@ -1733,7 +1769,7 @@ } }, "traits": { - "smithy.api#documentation": "

The 'datastore' activity that specifies where to store the processed data.

" + "smithy.api#documentation": "

The datastore activity that specifies where to store the processed data.

" } }, "com.amazonaws.iotanalytics#DatastoreArn": { @@ -1788,18 +1824,18 @@ "serviceManagedS3": { "target": "com.amazonaws.iotanalytics#ServiceManagedDatastoreS3Storage", "traits": { - "smithy.api#documentation": "

Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service.\n The choice of service-managed or customer-managed S3 storage cannot be changed after creation\n of the data store.

" + "smithy.api#documentation": "

Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You\n cannot change the choice of service-managed or customer-managed S3 storage after the data\n store is created.

" } }, "customerManagedS3": { "target": "com.amazonaws.iotanalytics#CustomerManagedDatastoreS3Storage", "traits": { - "smithy.api#documentation": "

Use this to store data store data in an S3 bucket that you manage. When customer managed storage is \n selected, the \"retentionPeriod\" parameter is ignored. The choice of service-managed or customer-managed \n S3 storage cannot be changed after creation of the data store.

" + "smithy.api#documentation": "

Use this to store data store data in an S3 bucket that you manage. When customer managed\n storage is selected, the retentionPeriod parameter is ignored. The choice of\n service-managed or customer-managed S3 storage cannot be changed after creation of the data\n store.

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

Where data store data is stored. You may choose one of \"serviceManagedS3\" or \"customerManagedS3\" \n storage. If not specified, the default is \"serviceManagedS3\". This cannot be changed after the data\n store is created.

" + "smithy.api#documentation": "

Where data store data is stored. You can choose one of serviceManagedS3 or\n customerManagedS3 storage. If not specified, the default is\n serviceManagedS3. You cannot change this storage option after the data store is\n created.

" } }, "com.amazonaws.iotanalytics#DatastoreStorageSummary": { @@ -1808,7 +1844,7 @@ "serviceManagedS3": { "target": "com.amazonaws.iotanalytics#ServiceManagedDatastoreS3StorageSummary", "traits": { - "smithy.api#documentation": "

Used to store data store data in an S3 bucket managed by the AWS IoT Analytics service.

" + "smithy.api#documentation": "

Used to store data store data in an S3 bucket managed by AWS IoT Analytics.

" } }, "customerManagedS3": { @@ -1831,10 +1867,16 @@ "com.amazonaws.iotanalytics#DatastoreSummary": { "type": "structure", "members": { - "creationTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "datastoreName": { + "target": "com.amazonaws.iotanalytics#DatastoreName", "traits": { - "smithy.api#documentation": "

When the data store was created.

" + "smithy.api#documentation": "

The name of the data store.

" + } + }, + "datastoreStorage": { + "target": "com.amazonaws.iotanalytics#DatastoreStorageSummary", + "traits": { + "smithy.api#documentation": "

Where data store data is stored.

" } }, "status": { @@ -1843,10 +1885,10 @@ "smithy.api#documentation": "

The status of the data store.

" } }, - "datastoreStorage": { - "target": "com.amazonaws.iotanalytics#DatastoreStorageSummary", + "creationTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

Where data store data is stored.

" + "smithy.api#documentation": "

When the data store was created.

" } }, "lastUpdateTime": { @@ -1855,10 +1897,10 @@ "smithy.api#documentation": "

The last time the data store was updated.

" } }, - "datastoreName": { - "target": "com.amazonaws.iotanalytics#DatastoreName", + "lastMessageArrivalTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

The name of the data store.

" + "smithy.api#documentation": "

The last time when a new message arrived in the data store.

\n

AWS IoT Analytics updates this value at most once per minute for one data store. \n Hence, the lastMessageArrivalTime value is an approximation.

\n

This feature only applies to messages that arrived in the data store after October 23, 2020.

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

Deletes the specified data set.

\n

You do not have to delete the content of the data set before you perform this operation.

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

Deletes the specified dataset.

\n

You do not have to delete the content of the dataset before you perform this\n operation.

", "smithy.api#http": { "method": "DELETE", "uri": "/datasets/{datasetName}", @@ -1964,7 +2006,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the content of the specified data set.

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

Deletes the content of the specified dataset.

", "smithy.api#http": { "method": "DELETE", "uri": "/datasets/{datasetName}/content", @@ -1978,7 +2020,7 @@ "datasetName": { "target": "com.amazonaws.iotanalytics#DatasetName", "traits": { - "smithy.api#documentation": "

The name of the data set whose content is deleted.

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

The name of the dataset whose content is deleted.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1986,7 +2028,7 @@ "versionId": { "target": "com.amazonaws.iotanalytics#DatasetContentVersion", "traits": { - "smithy.api#documentation": "

The version of the data set whose content is deleted. You can also use the strings\n \"$LATEST\" or \"$LATEST_SUCCEEDED\" to delete the latest or latest successfully \n completed data set. If not specified, \"$LATEST_SUCCEEDED\" is the default.

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

The version of the dataset whose content is deleted. You can also use the strings\n \"$LATEST\" or \"$LATEST_SUCCEEDED\" to delete the latest or latest successfully completed data\n set. If not specified, \"$LATEST_SUCCEEDED\" is the default.

", "smithy.api#httpQuery": "versionId" } } @@ -2099,20 +2141,35 @@ "offsetSeconds": { "target": "com.amazonaws.iotanalytics#OffsetSeconds", "traits": { - "smithy.api#documentation": "

The number of seconds of estimated \"in flight\" lag time of message data. When you create \n data set contents using message data from a specified time frame, some message data may still be \n \"in flight\" when processing begins, and so will not arrive in time to be processed. Use this \n field to make allowances for the \"in flight\" time of your message data, so that data not processed \n from a previous time frame will be included with the next time frame. Without this, missed message \n data would be excluded from processing during the next time frame as well, because its timestamp \n places it within the previous time frame.

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

The number of seconds of estimated in-flight lag time of message data. When you create\n dataset contents using message data from a specified timeframe, some message data might still\n be in flight when processing begins, and so do not arrive in time to be processed. Use this\n field to make allowances for the in flight time of your message data, so that data not\n processed from a previous timeframe is included with the next timeframe. Otherwise, missed\n message data would be excluded from processing during the next timeframe too, because its\n timestamp places it within the previous timeframe.

", "smithy.api#required": {} } }, "timeExpression": { "target": "com.amazonaws.iotanalytics#TimeExpression", "traits": { - "smithy.api#documentation": "

An expression by which the time of the message data may be determined. This may be the name\n of a timestamp field, or a SQL expression which is used to derive the time the message\n data was generated.

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

An expression by which the time of the message data might be determined. This can be the\n name of a timestamp field or a SQL expression that is used to derive the time the message data\n was generated.

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

Used to limit data to that which has arrived since the last execution of the action.

" + } + }, + "com.amazonaws.iotanalytics#DeltaTimeSessionWindowConfiguration": { + "type": "structure", + "members": { + "timeoutInMinutes": { + "target": "com.amazonaws.iotanalytics#SessionTimeoutInMinutes", + "traits": { + "smithy.api#documentation": "

A time interval. You can use timeoutInMinutes so that AWS IoT Analytics can batch up late data notifications \n that have been generated since the last execution. AWS IoT Analytics sends one batch of notifications to Amazon CloudWatch Events at one time.

\n

For more information about how to write a timestamp expression, \n see Date and Time Functions and Operators, \n in the Presto 0.172 Documentation.

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

Used to limit data to that which has arrived since the last execution of the action.

" + "smithy.api#documentation": "

A structure that contains the configuration information of a delta time session\n window.

\n

\n \n DeltaTime\n specifies a time interval. \n You can use DeltaTime to create dataset contents with data that has arrived in the data store since the last execution. \n For an example of DeltaTime, see \n Creating a SQL dataset with a delta window (CLI) in the AWS IoT Analytics User Guide.

" } }, "com.amazonaws.iotanalytics#DescribeChannel": { @@ -2172,17 +2229,17 @@ "com.amazonaws.iotanalytics#DescribeChannelResponse": { "type": "structure", "members": { - "statistics": { - "target": "com.amazonaws.iotanalytics#ChannelStatistics", - "traits": { - "smithy.api#documentation": "

Statistics about the channel. Included if the 'includeStatistics' parameter is set\n to true in the request.

" - } - }, "channel": { "target": "com.amazonaws.iotanalytics#Channel", "traits": { "smithy.api#documentation": "

An object that contains information about the channel.

" } + }, + "statistics": { + "target": "com.amazonaws.iotanalytics#ChannelStatistics", + "traits": { + "smithy.api#documentation": "

Statistics about the channel. Included if the includeStatistics parameter is\n set to true in the request.

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

Retrieves information about a data set.

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

Retrieves information about a dataset.

", "smithy.api#http": { "method": "GET", "uri": "/datasets/{datasetName}", @@ -2310,7 +2367,7 @@ "statistics": { "target": "com.amazonaws.iotanalytics#DatastoreStatistics", "traits": { - "smithy.api#documentation": "

Additional statistical information about the data store. Included if the 'includeStatistics' \n parameter is set to true in the request.

" + "smithy.api#documentation": "

Additional statistical information about the data store. Included if the\n includeStatistics parameter is set to true in the request.

" } } } @@ -2417,7 +2474,7 @@ "pipeline": { "target": "com.amazonaws.iotanalytics#Pipeline", "traits": { - "smithy.api#documentation": "

A \"Pipeline\" object\n that contains information about the pipeline.

" + "smithy.api#documentation": "

A Pipeline object that contains information about the pipeline.

" } } } @@ -2425,10 +2482,10 @@ "com.amazonaws.iotanalytics#DeviceRegistryEnrichActivity": { "type": "structure", "members": { - "roleArn": { - "target": "com.amazonaws.iotanalytics#RoleArn", + "name": { + "target": "com.amazonaws.iotanalytics#ActivityName", "traits": { - "smithy.api#documentation": "

The ARN of the role that allows access to the device's registry information.

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

The name of the deviceRegistryEnrich activity.

", "smithy.api#required": {} } }, @@ -2446,10 +2503,10 @@ "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.iotanalytics#ActivityName", + "roleArn": { + "target": "com.amazonaws.iotanalytics#RoleArn", "traits": { - "smithy.api#documentation": "

The name of the 'deviceRegistryEnrich' activity.

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

The ARN of the role that allows access to the device's registry information.

", "smithy.api#required": {} } }, @@ -2467,43 +2524,43 @@ "com.amazonaws.iotanalytics#DeviceShadowEnrichActivity": { "type": "structure", "members": { - "thingName": { - "target": "com.amazonaws.iotanalytics#AttributeName", + "name": { + "target": "com.amazonaws.iotanalytics#ActivityName", "traits": { - "smithy.api#documentation": "

The name of the IoT device whose shadow information is added to \n the message.

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

The name of the deviceShadowEnrich activity.

", "smithy.api#required": {} } }, - "roleArn": { - "target": "com.amazonaws.iotanalytics#RoleArn", + "attribute": { + "target": "com.amazonaws.iotanalytics#AttributeName", "traits": { - "smithy.api#documentation": "

The ARN of the role that allows access to the device's shadow.

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

The name of the attribute that is added to the message.

", "smithy.api#required": {} } }, - "attribute": { + "thingName": { "target": "com.amazonaws.iotanalytics#AttributeName", "traits": { - "smithy.api#documentation": "

The name of the attribute that is added to the message.

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

The name of the IoT device whose shadow information is added to \n the message.

", "smithy.api#required": {} } }, - "next": { - "target": "com.amazonaws.iotanalytics#ActivityName", + "roleArn": { + "target": "com.amazonaws.iotanalytics#RoleArn", "traits": { - "smithy.api#documentation": "

The next activity in the pipeline.

" + "smithy.api#documentation": "

The ARN of the role that allows access to the device's shadow.

", + "smithy.api#required": {} } }, - "name": { + "next": { "target": "com.amazonaws.iotanalytics#ActivityName", "traits": { - "smithy.api#documentation": "

The name of the 'deviceShadowEnrich' activity.

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

The next activity in the pipeline.

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

An activity that adds information from the AWS IoT Device Shadows service to a message.

" + "smithy.api#documentation": "

An activity that adds information from the AWS IoT Device Shadow service to a\n message.

" } }, "com.amazonaws.iotanalytics#DoubleValue": { @@ -2524,16 +2581,16 @@ "com.amazonaws.iotanalytics#EstimatedResourceSize": { "type": "structure", "members": { - "estimatedOn": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "estimatedSizeInBytes": { + "target": "com.amazonaws.iotanalytics#SizeInBytes", "traits": { - "smithy.api#documentation": "

The time when the estimate of the size of the resource was made.

" + "smithy.api#documentation": "

The estimated size of the resource, in bytes.

" } }, - "estimatedSizeInBytes": { - "target": "com.amazonaws.iotanalytics#SizeInBytes", + "estimatedOn": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

The estimated size of the resource in bytes.

" + "smithy.api#documentation": "

The time when the estimate of the size of the resource was made.

" } } }, @@ -2544,10 +2601,17 @@ "com.amazonaws.iotanalytics#FilterActivity": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.iotanalytics#ActivityName", + "traits": { + "smithy.api#documentation": "

The name of the filter activity.

", + "smithy.api#required": {} + } + }, "filter": { "target": "com.amazonaws.iotanalytics#FilterExpression", "traits": { - "smithy.api#documentation": "

An expression that looks like a SQL WHERE clause that must return a Boolean value.

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

An expression that looks like a SQL WHERE clause that must return a Boolean value. \n Messages that satisfy the condition are passed to the next activity.

", "smithy.api#required": {} } }, @@ -2556,13 +2620,6 @@ "traits": { "smithy.api#documentation": "

The next activity in the pipeline.

" } - }, - "name": { - "target": "com.amazonaws.iotanalytics#ActivityName", - "traits": { - "smithy.api#documentation": "

The name of the 'filter' activity.

", - "smithy.api#required": {} - } } }, "traits": { @@ -2604,7 +2661,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the contents of a data set as pre-signed URIs.

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

Retrieves the contents of a data set as presigned URIs.

", "smithy.api#http": { "method": "GET", "uri": "/datasets/{datasetName}/content", @@ -2638,7 +2695,7 @@ "entries": { "target": "com.amazonaws.iotanalytics#DatasetEntries", "traits": { - "smithy.api#documentation": "

A list of \"DatasetEntry\" objects.

" + "smithy.api#documentation": "

A list of DatasetEntry objects.

" } }, "timestamp": { @@ -2658,23 +2715,23 @@ "com.amazonaws.iotanalytics#GlueConfiguration": { "type": "structure", "members": { - "databaseName": { - "target": "com.amazonaws.iotanalytics#GlueDatabaseName", + "tableName": { + "target": "com.amazonaws.iotanalytics#GlueTableName", "traits": { - "smithy.api#documentation": "

The name of the database in your AWS Glue Data Catalog in which the table is located. (An AWS \n Glue Data Catalog database contains Glue Data tables.)

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

The name of the table in your AWS Glue Data Catalog that is used to perform the ETL\n operations. An AWS Glue Data Catalog table contains partitioned data and descriptions of data\n sources and targets.

", "smithy.api#required": {} } }, - "tableName": { - "target": "com.amazonaws.iotanalytics#GlueTableName", + "databaseName": { + "target": "com.amazonaws.iotanalytics#GlueDatabaseName", "traits": { - "smithy.api#documentation": "

The name of the table in your AWS Glue Data Catalog which is used to perform the ETL (extract, \n transform and load) operations. (An AWS Glue Data Catalog table contains partitioned data and descriptions \n of data sources and targets.)

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

The name of the database in your AWS Glue Data Catalog in which the table is located. An\n AWS Glue Data Catalog database contains metadata tables.

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

Configuration information for coordination with the AWS Glue ETL (extract, transform and \n load) service.

" + "smithy.api#documentation": "

Configuration information for coordination with AWS Glue, a fully managed extract,\n transform and load (ETL) service.

" } }, "com.amazonaws.iotanalytics#GlueDatabaseName": { @@ -2741,20 +2798,20 @@ "inputName": { "target": "com.amazonaws.iotanalytics#IotEventsInputName", "traits": { - "smithy.api#documentation": "

The name of the AWS IoT Events input to which data set contents are delivered.

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

The name of the AWS IoT Events input to which dataset contents are delivered.

", "smithy.api#required": {} } }, "roleArn": { "target": "com.amazonaws.iotanalytics#RoleArn", "traits": { - "smithy.api#documentation": "

The ARN of the role which grants AWS IoT Analytics permission to deliver data set contents\n to an AWS IoT Events input.

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

The ARN of the role that grants AWS IoT Analytics permission to deliver dataset contents\n to an AWS IoT Events input.

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

Configuration information for delivery of data set contents to AWS IoT Events.

" + "smithy.api#documentation": "

Configuration information for delivery of dataset contents to AWS IoT Events.

" } }, "com.amazonaws.iotanalytics#IotEventsInputName": { @@ -2770,17 +2827,11 @@ "com.amazonaws.iotanalytics#LambdaActivity": { "type": "structure", "members": { - "batchSize": { - "target": "com.amazonaws.iotanalytics#ActivityBatchSize", - "traits": { - "smithy.api#documentation": "

The number of messages passed to the Lambda function for processing.

\n

The AWS Lambda function must be able to process all of these messages within\n five minutes, which is the maximum timeout duration for Lambda functions.

", - "smithy.api#required": {} - } - }, - "next": { + "name": { "target": "com.amazonaws.iotanalytics#ActivityName", "traits": { - "smithy.api#documentation": "

The next activity in the pipeline.

" + "smithy.api#documentation": "

The name of the lambda activity.

", + "smithy.api#required": {} } }, "lambdaName": { @@ -2790,12 +2841,18 @@ "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.iotanalytics#ActivityName", + "batchSize": { + "target": "com.amazonaws.iotanalytics#ActivityBatchSize", "traits": { - "smithy.api#documentation": "

The name of the 'lambda' activity.

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

The number of messages passed to the Lambda function for processing.

\n

The Lambda function must be able to process all of these messages within five minutes,\n which is the maximum timeout duration for Lambda functions.

", "smithy.api#required": {} } + }, + "next": { + "target": "com.amazonaws.iotanalytics#ActivityName", + "traits": { + "smithy.api#documentation": "

The next activity in the pipeline.

" + } } }, "traits": { @@ -2812,6 +2869,63 @@ "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, + "com.amazonaws.iotanalytics#LateDataRule": { + "type": "structure", + "members": { + "ruleName": { + "target": "com.amazonaws.iotanalytics#LateDataRuleName", + "traits": { + "smithy.api#documentation": "

The name of the late data rule.

" + } + }, + "ruleConfiguration": { + "target": "com.amazonaws.iotanalytics#LateDataRuleConfiguration", + "traits": { + "smithy.api#documentation": "

The information needed to configure the late data rule.

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

A structure that contains the name and configuration information of a late data\n rule.

" + } + }, + "com.amazonaws.iotanalytics#LateDataRuleConfiguration": { + "type": "structure", + "members": { + "deltaTimeSessionWindowConfiguration": { + "target": "com.amazonaws.iotanalytics#DeltaTimeSessionWindowConfiguration", + "traits": { + "smithy.api#documentation": "

The information needed to configure a delta time session window.

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

The information needed to configure a delta time session window.

" + } + }, + "com.amazonaws.iotanalytics#LateDataRuleName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_]+$" + } + }, + "com.amazonaws.iotanalytics#LateDataRules": { + "type": "list", + "member": { + "target": "com.amazonaws.iotanalytics#LateDataRule" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, "com.amazonaws.iotanalytics#LimitExceededException": { "type": "structure", "members": { @@ -2886,7 +3000,7 @@ "channelSummaries": { "target": "com.amazonaws.iotanalytics#ChannelSummaries", "traits": { - "smithy.api#documentation": "

A list of \"ChannelSummary\" objects.

" + "smithy.api#documentation": "

A list of ChannelSummary objects.

" } }, "nextToken": { @@ -2947,13 +3061,6 @@ "smithy.api#required": {} } }, - "maxResults": { - "target": "com.amazonaws.iotanalytics#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in this request.

", - "smithy.api#httpQuery": "maxResults" - } - }, "nextToken": { "target": "com.amazonaws.iotanalytics#NextToken", "traits": { @@ -2961,17 +3068,24 @@ "smithy.api#httpQuery": "nextToken" } }, + "maxResults": { + "target": "com.amazonaws.iotanalytics#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this request.

", + "smithy.api#httpQuery": "maxResults" + } + }, "scheduledOnOrAfter": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

A filter to limit results to those data set contents whose creation is scheduled on or \n after the given time. See the field triggers.schedule in the CreateDataset \n request. (timestamp)

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

A filter to limit results to those data set contents whose creation is scheduled on or \n after the given time. See the field triggers.schedule in the CreateDataset \n request. (timestamp)

", "smithy.api#httpQuery": "scheduledOnOrAfter" } }, "scheduledBefore": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

A filter to limit results to those data set contents whose creation is scheduled before the \n given time. See the field triggers.schedule in the CreateDataset request. (timestamp)

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

A filter to limit results to those data set contents whose creation is scheduled before\n the given time. See the field triggers.schedule in the CreateDataset\n request. (timestamp)

", "smithy.api#httpQuery": "scheduledBefore" } } @@ -3033,35 +3147,35 @@ "com.amazonaws.iotanalytics#ListDatasetsRequest": { "type": "structure", "members": { - "maxResults": { - "target": "com.amazonaws.iotanalytics#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in this request.

\n

The default value is 100.

", - "smithy.api#httpQuery": "maxResults" - } - }, "nextToken": { "target": "com.amazonaws.iotanalytics#NextToken", "traits": { "smithy.api#documentation": "

The token for the next set of results.

", "smithy.api#httpQuery": "nextToken" } + }, + "maxResults": { + "target": "com.amazonaws.iotanalytics#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in this request.

\n

The default value is 100.

", + "smithy.api#httpQuery": "maxResults" + } } } }, "com.amazonaws.iotanalytics#ListDatasetsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.iotanalytics#NextToken", + "datasetSummaries": { + "target": "com.amazonaws.iotanalytics#DatasetSummaries", "traits": { - "smithy.api#documentation": "

The token to retrieve the next set of results, or null if there are no\n more results.

" + "smithy.api#documentation": "

A list of DatasetSummary objects.

" } }, - "datasetSummaries": { - "target": "com.amazonaws.iotanalytics#DatasetSummaries", + "nextToken": { + "target": "com.amazonaws.iotanalytics#NextToken", "traits": { - "smithy.api#documentation": "

A list of \"DatasetSummary\" objects.

" + "smithy.api#documentation": "

The token to retrieve the next set of results, or null if there are no\n more results.

" } } } @@ -3127,7 +3241,7 @@ "datastoreSummaries": { "target": "com.amazonaws.iotanalytics#DatastoreSummaries", "traits": { - "smithy.api#documentation": "

A list of \"DatastoreSummary\" objects.

" + "smithy.api#documentation": "

A list of DatastoreSummary objects.

" } }, "nextToken": { @@ -3199,7 +3313,7 @@ "pipelineSummaries": { "target": "com.amazonaws.iotanalytics#PipelineSummaries", "traits": { - "smithy.api#documentation": "

A list of \"PipelineSummary\" objects.

" + "smithy.api#documentation": "

A list of PipelineSummary objects.

" } }, "nextToken": { @@ -3239,7 +3353,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the tags (metadata) which you have assigned to the resource.

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

Lists the tags (metadata) that you have assigned to the resource.

", "smithy.api#http": { "method": "GET", "uri": "/tags", @@ -3266,7 +3380,7 @@ "tags": { "target": "com.amazonaws.iotanalytics#TagList", "traits": { - "smithy.api#documentation": "

The tags (metadata) which you have assigned to the resource.

" + "smithy.api#documentation": "

The tags (metadata) that you have assigned to the resource.

" } } } @@ -3298,17 +3412,17 @@ "smithy.api#required": {} } }, - "enabled": { - "target": "com.amazonaws.iotanalytics#LoggingEnabled", + "level": { + "target": "com.amazonaws.iotanalytics#LoggingLevel", "traits": { - "smithy.api#documentation": "

If true, logging is enabled for AWS IoT Analytics.

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

The logging level. Currently, only ERROR is supported.

", "smithy.api#required": {} } }, - "level": { - "target": "com.amazonaws.iotanalytics#LoggingLevel", + "enabled": { + "target": "com.amazonaws.iotanalytics#LoggingEnabled", "traits": { - "smithy.api#documentation": "

The logging level. Currently, only \"ERROR\" is supported.

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

If true, logging is enabled for AWS IoT Analytics.

", "smithy.api#required": {} } } @@ -3320,10 +3434,10 @@ "com.amazonaws.iotanalytics#MathActivity": { "type": "structure", "members": { - "math": { - "target": "com.amazonaws.iotanalytics#MathExpression", + "name": { + "target": "com.amazonaws.iotanalytics#ActivityName", "traits": { - "smithy.api#documentation": "

An expression that uses one or more existing attributes and must return an integer value.

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

The name of the math activity.

", "smithy.api#required": {} } }, @@ -3334,10 +3448,10 @@ "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.iotanalytics#ActivityName", + "math": { + "target": "com.amazonaws.iotanalytics#MathExpression", "traits": { - "smithy.api#documentation": "

The name of the 'math' activity.

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

An expression that uses one or more existing attributes and must return an integer value.

", "smithy.api#required": {} } }, @@ -3394,17 +3508,17 @@ "com.amazonaws.iotanalytics#Message": { "type": "structure", "members": { - "payload": { - "target": "com.amazonaws.iotanalytics#MessagePayload", + "messageId": { + "target": "com.amazonaws.iotanalytics#MessageId", "traits": { - "smithy.api#documentation": "

The payload of the message. This may be a JSON string or a Base64-encoded string \n representing binary data (in which case you must decode it by means of a pipeline activity).

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

The ID you want to assign to the message. Each messageId must be unique\n within each batch sent.

", "smithy.api#required": {} } }, - "messageId": { - "target": "com.amazonaws.iotanalytics#MessageId", + "payload": { + "target": "com.amazonaws.iotanalytics#MessagePayload", "traits": { - "smithy.api#documentation": "

The ID you wish to assign to the message. Each \"messageId\" must be unique \n within each batch sent.

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

The payload of the message. This can be a JSON string or a base64-encoded string\n representing binary data, in which case you must decode it by means of a pipeline\n activity.

", "smithy.api#required": {} } } @@ -3464,7 +3578,7 @@ "fileName": { "target": "com.amazonaws.iotanalytics#OutputFileName", "traits": { - "smithy.api#documentation": "

The URI of the location where data set contents are stored, usually the URI of a file in an \n S3 bucket.

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

The URI of the location where dataset contents are stored, usually the URI of a file in\n an S3 bucket.

", "smithy.api#required": {} } } @@ -3482,10 +3596,10 @@ "smithy.api#documentation": "

The name of the pipeline.

" } }, - "creationTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "arn": { + "target": "com.amazonaws.iotanalytics#PipelineArn", "traits": { - "smithy.api#documentation": "

When the pipeline was created.

" + "smithy.api#documentation": "

The ARN of the pipeline.

" } }, "activities": { @@ -3494,22 +3608,22 @@ "smithy.api#documentation": "

The activities that perform transformations on the messages.

" } }, - "arn": { - "target": "com.amazonaws.iotanalytics#PipelineArn", + "reprocessingSummaries": { + "target": "com.amazonaws.iotanalytics#ReprocessingSummaries", "traits": { - "smithy.api#documentation": "

The ARN of the pipeline.

" + "smithy.api#documentation": "

A summary of information about the pipeline reprocessing.

" } }, - "lastUpdateTime": { + "creationTime": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

The last time the pipeline was updated.

" + "smithy.api#documentation": "

When the pipeline was created.

" } }, - "reprocessingSummaries": { - "target": "com.amazonaws.iotanalytics#ReprocessingSummaries", + "lastUpdateTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

A summary of information about the pipeline reprocessing.

" + "smithy.api#documentation": "

The last time the pipeline was updated.

" } } }, @@ -3532,22 +3646,34 @@ "com.amazonaws.iotanalytics#PipelineActivity": { "type": "structure", "members": { + "channel": { + "target": "com.amazonaws.iotanalytics#ChannelActivity", + "traits": { + "smithy.api#documentation": "

Determines the source of the messages to be processed.

" + } + }, "lambda": { "target": "com.amazonaws.iotanalytics#LambdaActivity", "traits": { "smithy.api#documentation": "

Runs a Lambda function to modify the message.

" } }, - "math": { - "target": "com.amazonaws.iotanalytics#MathActivity", + "datastore": { + "target": "com.amazonaws.iotanalytics#DatastoreActivity", "traits": { - "smithy.api#documentation": "

Computes an arithmetic expression using the message's attributes and adds\n it to the message.

" + "smithy.api#documentation": "

Specifies where to store the processed message data.

" } }, - "filter": { - "target": "com.amazonaws.iotanalytics#FilterActivity", + "addAttributes": { + "target": "com.amazonaws.iotanalytics#AddAttributesActivity", "traits": { - "smithy.api#documentation": "

Filters a message based on its attributes.

" + "smithy.api#documentation": "

Adds other attributes based on existing attributes in the message.

" + } + }, + "removeAttributes": { + "target": "com.amazonaws.iotanalytics#RemoveAttributesActivity", + "traits": { + "smithy.api#documentation": "

Removes attributes from a message.

" } }, "selectAttributes": { @@ -3556,22 +3682,16 @@ "smithy.api#documentation": "

Creates a new message using only the specified attributes from the original message.\n

" } }, - "channel": { - "target": "com.amazonaws.iotanalytics#ChannelActivity", - "traits": { - "smithy.api#documentation": "

Determines the source of the messages to be processed.

" - } - }, - "removeAttributes": { - "target": "com.amazonaws.iotanalytics#RemoveAttributesActivity", + "filter": { + "target": "com.amazonaws.iotanalytics#FilterActivity", "traits": { - "smithy.api#documentation": "

Removes attributes from a message.

" + "smithy.api#documentation": "

Filters a message based on its attributes.

" } }, - "deviceShadowEnrich": { - "target": "com.amazonaws.iotanalytics#DeviceShadowEnrichActivity", + "math": { + "target": "com.amazonaws.iotanalytics#MathActivity", "traits": { - "smithy.api#documentation": "

Adds information from the AWS IoT Device Shadows service to a message.

" + "smithy.api#documentation": "

Computes an arithmetic expression using the message's attributes and adds\n it to the message.

" } }, "deviceRegistryEnrich": { @@ -3580,16 +3700,10 @@ "smithy.api#documentation": "

Adds data from the AWS IoT device registry to your message.

" } }, - "datastore": { - "target": "com.amazonaws.iotanalytics#DatastoreActivity", - "traits": { - "smithy.api#documentation": "

Specifies where to store the processed message data.

" - } - }, - "addAttributes": { - "target": "com.amazonaws.iotanalytics#AddAttributesActivity", + "deviceShadowEnrich": { + "target": "com.amazonaws.iotanalytics#DeviceShadowEnrichActivity", "traits": { - "smithy.api#documentation": "

Adds other attributes based on existing attributes in the message.

" + "smithy.api#documentation": "

Adds information from the AWS IoT Device Shadow service to a message.

" } } }, @@ -3619,16 +3733,10 @@ "com.amazonaws.iotanalytics#PipelineSummary": { "type": "structure", "members": { - "lastUpdateTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", - "traits": { - "smithy.api#documentation": "

When the pipeline was last updated.

" - } - }, - "creationTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "pipelineName": { + "target": "com.amazonaws.iotanalytics#PipelineName", "traits": { - "smithy.api#documentation": "

When the pipeline was created.

" + "smithy.api#documentation": "

The name of the pipeline.

" } }, "reprocessingSummaries": { @@ -3637,10 +3745,16 @@ "smithy.api#documentation": "

A summary of information about the pipeline reprocessing.

" } }, - "pipelineName": { - "target": "com.amazonaws.iotanalytics#PipelineName", + "creationTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

The name of the pipeline.

" + "smithy.api#documentation": "

When the pipeline was created.

" + } + }, + "lastUpdateTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", + "traits": { + "smithy.api#documentation": "

When the pipeline was last updated.

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

Sets or updates the AWS IoT Analytics logging options.

\n

Note that if you update the value of any loggingOptions field, it takes up to one \n minute for the change to take effect. Also, if you change the policy attached to the role \n you specified in the roleArn field (for example, to correct an invalid policy) it takes \n up to 5 minutes for that change to take effect.\n

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

Sets or updates the AWS IoT Analytics logging options.

\n

If you update the value of any loggingOptions field, it takes up to one\n minute for the change to take effect. Also, if you change the policy attached to the role you\n specified in the roleArn field (for example, to correct an invalid policy), it\n takes up to five minutes for that change to take effect.

", "smithy.api#http": { "method": "PUT", "uri": "/logging", @@ -3702,7 +3816,7 @@ } }, "traits": { - "smithy.api#documentation": "

Information which is used to filter message data, to segregate it according to the time\n frame in which it arrives.

" + "smithy.api#documentation": "

Information that is used to filter message data, to segregate it according to the\n timeframe in which it arrives.

" } }, "com.amazonaws.iotanalytics#QueryFilters": { @@ -3726,22 +3840,22 @@ "name": { "target": "com.amazonaws.iotanalytics#ActivityName", "traits": { - "smithy.api#documentation": "

The name of the 'removeAttributes' activity.

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

The name of the removeAttributes activity.

", "smithy.api#required": {} } }, - "next": { - "target": "com.amazonaws.iotanalytics#ActivityName", - "traits": { - "smithy.api#documentation": "

The next activity in the pipeline.

" - } - }, "attributes": { "target": "com.amazonaws.iotanalytics#AttributeNames", "traits": { "smithy.api#documentation": "

A list of 1-50 attributes to remove from the message.

", "smithy.api#required": {} } + }, + "next": { + "target": "com.amazonaws.iotanalytics#ActivityName", + "traits": { + "smithy.api#documentation": "

The next activity in the pipeline.

" + } } }, "traits": { @@ -3783,10 +3897,10 @@ "com.amazonaws.iotanalytics#ReprocessingSummary": { "type": "structure", "members": { - "creationTime": { - "target": "com.amazonaws.iotanalytics#Timestamp", + "id": { + "target": "com.amazonaws.iotanalytics#ReprocessingId", "traits": { - "smithy.api#documentation": "

The time the pipeline reprocessing was created.

" + "smithy.api#documentation": "

The reprocessingId returned by\n StartPipelineReprocessing.

" } }, "status": { @@ -3795,10 +3909,10 @@ "smithy.api#documentation": "

The status of the pipeline reprocessing.

" } }, - "id": { - "target": "com.amazonaws.iotanalytics#ReprocessingId", + "creationTime": { + "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "

The 'reprocessingId' returned by \"StartPipelineReprocessing\".

" + "smithy.api#documentation": "

The time the pipeline reprocessing was created.

" } } }, @@ -3809,15 +3923,15 @@ "com.amazonaws.iotanalytics#ResourceAlreadyExistsException": { "type": "structure", "members": { + "message": { + "target": "com.amazonaws.iotanalytics#ErrorMessage" + }, "resourceId": { "target": "com.amazonaws.iotanalytics#resourceId", "traits": { "smithy.api#documentation": "

The ID of the resource.

" } }, - "message": { - "target": "com.amazonaws.iotanalytics#ErrorMessage" - }, "resourceArn": { "target": "com.amazonaws.iotanalytics#ResourceArn2", "traits": { @@ -3849,20 +3963,20 @@ "computeType": { "target": "com.amazonaws.iotanalytics#ComputeType", "traits": { - "smithy.api#documentation": "

The type of the compute resource used to execute the \"containerAction\". Possible values \n are: ACU_1 (vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).

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

The type of the compute resource used to execute the containerAction.\n Possible values are: ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8,\n memory=32 GiB).

", "smithy.api#required": {} } }, "volumeSizeInGB": { "target": "com.amazonaws.iotanalytics#VolumeSizeInGB", "traits": { - "smithy.api#documentation": "

The size (in GB) of the persistent storage available to the resource instance used to\n execute the \"containerAction\" (min: 1, max: 50).

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

The size, in GB, of the persistent storage available to the resource instance used to\n execute the containerAction (min: 1, max: 50).

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

The configuration of the resource used to execute the \"containerAction\".

" + "smithy.api#documentation": "

The configuration of the resource used to execute the\n containerAction.

" } }, "com.amazonaws.iotanalytics#ResourceNotFoundException": { @@ -3890,7 +4004,7 @@ "numberOfDays": { "target": "com.amazonaws.iotanalytics#RetentionPeriodInDays", "traits": { - "smithy.api#documentation": "

The number of days that message data is kept. The \"unlimited\" parameter must be false.

" + "smithy.api#documentation": "

The number of days that message data is kept. The unlimited parameter must\n be false.

" } } }, @@ -3953,7 +4067,7 @@ "pipelineActivity": { "target": "com.amazonaws.iotanalytics#PipelineActivity", "traits": { - "smithy.api#documentation": "

The pipeline activity that is run. This must not be a 'channel' activity or a \n 'datastore' activity because these activities are used in a pipeline only to load the \n original message and to store the (possibly) transformed message. If a 'lambda' activity is\n specified, only short-running Lambda functions (those with a timeout of less than 30 seconds\n or less) can be used.

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

The pipeline activity that is run. This must not be a channel activity or a datastore\n activity because these activities are used in a pipeline only to load the original message and\n to store the (possibly) transformed message. If a lambda activity is specified, only\n short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be\n used.

", "smithy.api#required": {} } }, @@ -3986,36 +4100,36 @@ "com.amazonaws.iotanalytics#S3DestinationConfiguration": { "type": "structure", "members": { - "roleArn": { - "target": "com.amazonaws.iotanalytics#RoleArn", + "bucket": { + "target": "com.amazonaws.iotanalytics#BucketName", "traits": { - "smithy.api#documentation": "

The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3\n and AWS Glue resources.

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

The name of the S3 bucket to which dataset contents are delivered.

", "smithy.api#required": {} } }, - "glueConfiguration": { - "target": "com.amazonaws.iotanalytics#GlueConfiguration", - "traits": { - "smithy.api#documentation": "

Configuration information for coordination with the AWS Glue ETL (extract, transform and \n load) service.

" - } - }, "key": { "target": "com.amazonaws.iotanalytics#BucketKeyExpression", "traits": { - "smithy.api#documentation": "

The key of the data set contents object. Each object in an Amazon S3 bucket has a key that is \n its unique identifier within the bucket (each object in a bucket has exactly one key). To produce\n a unique key, you can use \"!{iotanalytics:scheduledTime}\" to insert the time of the scheduled SQL \n query run, or \"!{iotanalytics:versioned} to insert a unique hash identifying the data set, for \n example: \"/DataSet/!{iotanalytics:scheduledTime}/!{iotanalytics:versioned}.csv\".

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

The key of the dataset contents object in an S3 bucket. Each object has a key that is a\n unique identifier. Each object has exactly one key.

\n

You can create a unique key with the following options:

\n \n

The following example creates a unique key for a CSV file:\n dataset/mydataset/!{iotanalytics:scheduleTime}/!{iotanalytics:versionId}.csv\n

\n \n

If you don't use !{iotanalytics:versionId} to specify the key, you might\n get duplicate keys. For example, you might have two dataset contents with the same\n scheduleTime but different versionIds. \n This means that one dataset content overwrites the other.

\n
", "smithy.api#required": {} } }, - "bucket": { - "target": "com.amazonaws.iotanalytics#BucketName", + "glueConfiguration": { + "target": "com.amazonaws.iotanalytics#GlueConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information for coordination with AWS Glue, a fully managed extract,\n transform and load (ETL) service.

" + } + }, + "roleArn": { + "target": "com.amazonaws.iotanalytics#RoleArn", "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 bucket to which data set contents are delivered.

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

The ARN of the role that grants AWS IoT Analytics permission to interact with your\n Amazon S3 and AWS Glue resources.

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

Configuration information for delivery of data set contents to Amazon S3.

" + "smithy.api#documentation": "

Configuration information for delivery of dataset contents to Amazon Simple Storage\n Service (Amazon S3).

" } }, "com.amazonaws.iotanalytics#S3KeyPrefix": { @@ -4073,6 +4187,13 @@ "smithy.api#required": {} } }, + "maxMessages": { + "target": "com.amazonaws.iotanalytics#MaxMessages", + "traits": { + "smithy.api#documentation": "

The number of sample messages to be retrieved. The limit is 10. The default is also\n 10.

", + "smithy.api#httpQuery": "maxMessages" + } + }, "startTime": { "target": "com.amazonaws.iotanalytics#StartTime", "traits": { @@ -4080,13 +4201,6 @@ "smithy.api#httpQuery": "startTime" } }, - "maxMessages": { - "target": "com.amazonaws.iotanalytics#MaxMessages", - "traits": { - "smithy.api#documentation": "

The number of sample messages to be retrieved. The limit is 10, the default\n is also 10.

", - "smithy.api#httpQuery": "maxMessages" - } - }, "endTime": { "target": "com.amazonaws.iotanalytics#EndTime", "traits": { @@ -4113,7 +4227,7 @@ "expression": { "target": "com.amazonaws.iotanalytics#ScheduleExpression", "traits": { - "smithy.api#documentation": "

The expression that defines when to trigger an update. For more information, see \n \n Schedule Expressions for Rules in the Amazon CloudWatch Events User Guide.

" + "smithy.api#documentation": "

The expression that defines when to trigger an update. \n For more information, see Schedule Expressions for\n Rules in the Amazon CloudWatch Events User\n Guide.

" } } }, @@ -4127,6 +4241,13 @@ "com.amazonaws.iotanalytics#SelectAttributesActivity": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.iotanalytics#ActivityName", + "traits": { + "smithy.api#documentation": "

The name of the selectAttributes activity.

", + "smithy.api#required": {} + } + }, "attributes": { "target": "com.amazonaws.iotanalytics#AttributeNames", "traits": { @@ -4139,13 +4260,6 @@ "traits": { "smithy.api#documentation": "

The next activity in the pipeline.

" } - }, - "name": { - "target": "com.amazonaws.iotanalytics#ActivityName", - "traits": { - "smithy.api#documentation": "

The name of the 'selectAttributes' activity.

", - "smithy.api#required": {} - } } }, "traits": { @@ -4156,28 +4270,28 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service.\n The choice of service-managed or customer-managed S3 storage cannot be changed after creation\n of the channel.

" + "smithy.api#documentation": "

Use this to store channel data in an S3 bucket managed by AWS IoT Analytics. You cannot\n change the choice of service-managed or customer-managed S3 storage after the channel is\n created.

" } }, "com.amazonaws.iotanalytics#ServiceManagedChannelS3StorageSummary": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Used to store channel data in an S3 bucket managed by the AWS IoT Analytics service.

" + "smithy.api#documentation": "

Used to store channel data in an S3 bucket managed by AWS IoT Analytics.

" } }, "com.amazonaws.iotanalytics#ServiceManagedDatastoreS3Storage": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service.\n The choice of service-managed or customer-managed S3 storage cannot be changed after creation\n of the data store.

" + "smithy.api#documentation": "

Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You\n cannot change the choice of service-managed or customer-managed S3 storage after the data\n store is created.

" } }, "com.amazonaws.iotanalytics#ServiceManagedDatastoreS3StorageSummary": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Used to store data store data in an S3 bucket managed by the AWS IoT Analytics service.

" + "smithy.api#documentation": "

Used to store data store data in an S3 bucket managed by AWS IoT Analytics.

" } }, "com.amazonaws.iotanalytics#ServiceUnavailableException": { @@ -4193,6 +4307,16 @@ "smithy.api#httpError": 503 } }, + "com.amazonaws.iotanalytics#SessionTimeoutInMinutes": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 60 + } + } + }, "com.amazonaws.iotanalytics#SizeInBytes": { "type": "double", "traits": { @@ -4205,18 +4329,18 @@ "com.amazonaws.iotanalytics#SqlQueryDatasetAction": { "type": "structure", "members": { - "filters": { - "target": "com.amazonaws.iotanalytics#QueryFilters", - "traits": { - "smithy.api#documentation": "

Pre-filters applied to message data.

" - } - }, "sqlQuery": { "target": "com.amazonaws.iotanalytics#SqlQuery", "traits": { "smithy.api#documentation": "

A SQL query string.

", "smithy.api#required": {} } + }, + "filters": { + "target": "com.amazonaws.iotanalytics#QueryFilters", + "traits": { + "smithy.api#documentation": "

Prefilters applied to message data.

" + } } }, "traits": { @@ -4263,12 +4387,6 @@ "com.amazonaws.iotanalytics#StartPipelineReprocessingRequest": { "type": "structure", "members": { - "startTime": { - "target": "com.amazonaws.iotanalytics#StartTime", - "traits": { - "smithy.api#documentation": "

The start time (inclusive) of raw message data that is reprocessed.

" - } - }, "pipelineName": { "target": "com.amazonaws.iotanalytics#PipelineName", "traits": { @@ -4277,6 +4395,12 @@ "smithy.api#required": {} } }, + "startTime": { + "target": "com.amazonaws.iotanalytics#StartTime", + "traits": { + "smithy.api#documentation": "

The start time (inclusive) of raw message data that is reprocessed.

" + } + }, "endTime": { "target": "com.amazonaws.iotanalytics#EndTime", "traits": { @@ -4311,23 +4435,23 @@ "com.amazonaws.iotanalytics#Tag": { "type": "structure", "members": { - "value": { - "target": "com.amazonaws.iotanalytics#TagValue", + "key": { + "target": "com.amazonaws.iotanalytics#TagKey", "traits": { - "smithy.api#documentation": "

The tag's value.

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

The tag's key.

", "smithy.api#required": {} } }, - "key": { - "target": "com.amazonaws.iotanalytics#TagKey", + "value": { + "target": "com.amazonaws.iotanalytics#TagValue", "traits": { - "smithy.api#documentation": "

The tag's key.

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

The tag's value.

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

A set of key/value pairs which are used to manage the resource.

" + "smithy.api#documentation": "

A set of key-value pairs that are used to manage the resource.

" } }, "com.amazonaws.iotanalytics#TagKey": { @@ -4392,7 +4516,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds to or modifies the tags of the given resource. Tags are metadata \n which can be used to manage a resource.

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

Adds to or modifies the tags of the given resource. Tags are metadata that can be used\n to manage a resource.

", "smithy.api#http": { "method": "POST", "uri": "/tags", @@ -4458,13 +4582,13 @@ "name": { "target": "com.amazonaws.iotanalytics#DatasetName", "traits": { - "smithy.api#documentation": "

The name of the data set whose content generation triggers the new data set content \n generation.

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

The name of the dataset whose content generation triggers the new dataset content\n generation.

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

Information about the data set whose content generation triggers the new data set content \n generation.

" + "smithy.api#documentation": "

Information about the dataset whose content generation triggers the new dataset content\n generation.

" } }, "com.amazonaws.iotanalytics#UnlimitedRetentionPeriod": { @@ -4513,14 +4637,6 @@ "com.amazonaws.iotanalytics#UntagResourceRequest": { "type": "structure", "members": { - "tagKeys": { - "target": "com.amazonaws.iotanalytics#TagKeyList", - "traits": { - "smithy.api#documentation": "

The keys of those tags which you want to remove.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - }, "resourceArn": { "target": "com.amazonaws.iotanalytics#ResourceArn", "traits": { @@ -4528,6 +4644,14 @@ "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} } + }, + "tagKeys": { + "target": "com.amazonaws.iotanalytics#TagKeyList", + "traits": { + "smithy.api#documentation": "

The keys of those tags which you want to remove.

", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } } } }, @@ -4569,10 +4693,18 @@ "com.amazonaws.iotanalytics#UpdateChannelRequest": { "type": "structure", "members": { + "channelName": { + "target": "com.amazonaws.iotanalytics#ChannelName", + "traits": { + "smithy.api#documentation": "

The name of the channel to be updated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "channelStorage": { "target": "com.amazonaws.iotanalytics#ChannelStorage", "traits": { - "smithy.api#documentation": "

Where channel data is stored. You may choose one of \"serviceManagedS3\" or \"customerManagedS3\" \n storage. If not specified, the default is \"serviceManagedS3\". This cannot be changed after creation\n of the channel.

" + "smithy.api#documentation": "

Where channel data is stored. You can choose one of serviceManagedS3 or\n customerManagedS3 storage. If not specified, the default is\n serviceManagedS3. You cannot change this storage option after the channel is\n created.

" } }, "retentionPeriod": { @@ -4580,14 +4712,6 @@ "traits": { "smithy.api#documentation": "

How long, in days, message data is kept for the channel. The retention period cannot be updated\n if the channel's S3 storage is customer-managed.

" } - }, - "channelName": { - "target": "com.amazonaws.iotanalytics#ChannelName", - "traits": { - "smithy.api#documentation": "

The name of the channel to be updated.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, @@ -4636,32 +4760,38 @@ "actions": { "target": "com.amazonaws.iotanalytics#DatasetActions", "traits": { - "smithy.api#documentation": "

A list of \"DatasetAction\" objects.

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

A list of DatasetAction objects.

", "smithy.api#required": {} } }, - "versioningConfiguration": { - "target": "com.amazonaws.iotanalytics#VersioningConfiguration", + "triggers": { + "target": "com.amazonaws.iotanalytics#DatasetTriggers", "traits": { - "smithy.api#documentation": "

[Optional] How many versions of data set contents are kept. If not specified or set to null, only the \n latest version plus the latest succeeded version (if they are different) are kept for \n the time period specified by the \"retentionPeriod\" parameter. (For more information, see\n https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)

" + "smithy.api#documentation": "

A list of DatasetTrigger objects. The list can be empty or can contain up\n to five DatasetTrigger objects.

" } }, "contentDeliveryRules": { "target": "com.amazonaws.iotanalytics#DatasetContentDeliveryRules", "traits": { - "smithy.api#documentation": "

When data set contents are created they are delivered to destinations specified here.

" + "smithy.api#documentation": "

When dataset contents are created, they are delivered to destinations specified\n here.

" } }, "retentionPeriod": { "target": "com.amazonaws.iotanalytics#RetentionPeriod", "traits": { - "smithy.api#documentation": "

How long, in days, data set contents are kept for the data set.

" + "smithy.api#documentation": "

How long, in days, dataset contents are kept for the dataset.

" } }, - "triggers": { - "target": "com.amazonaws.iotanalytics#DatasetTriggers", + "versioningConfiguration": { + "target": "com.amazonaws.iotanalytics#VersioningConfiguration", + "traits": { + "smithy.api#documentation": "

Optional. How many versions of dataset contents are kept. If not specified or set to\n null, only the latest version plus the latest succeeded version (if they are different) are\n kept for the time period specified by the retentionPeriod parameter. For more\n information, see \n Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT\n Analytics User Guide.

" + } + }, + "lateDataRules": { + "target": "com.amazonaws.iotanalytics#LateDataRules", "traits": { - "smithy.api#documentation": "

A list of \"DatasetTrigger\" objects. The list can be empty or can contain up \n to five DataSetTrigger objects.

" + "smithy.api#documentation": "

A list of data rules that send notifications to Amazon CloudWatch, when data arrives late. To\n specify lateDataRules, the dataset must use a DeltaTimer\n filter.

" } } } @@ -4708,17 +4838,17 @@ "smithy.api#required": {} } }, - "datastoreStorage": { - "target": "com.amazonaws.iotanalytics#DatastoreStorage", - "traits": { - "smithy.api#documentation": "

Where data store data is stored. You may choose one of \"serviceManagedS3\" or \"customerManagedS3\" \n storage. If not specified, the default is \"serviceManagedS3\". This cannot be changed after the data\n store is created.

" - } - }, "retentionPeriod": { "target": "com.amazonaws.iotanalytics#RetentionPeriod", "traits": { "smithy.api#documentation": "

How long, in days, message data is kept for the data store. The retention period cannot be updated\n if the data store's S3 storage is customer-managed.

" } + }, + "datastoreStorage": { + "target": "com.amazonaws.iotanalytics#DatastoreStorage", + "traits": { + "smithy.api#documentation": "

Where data store data is stored. You can choose one of serviceManagedS3 or\n customerManagedS3 storage. If not specified, the default\n isserviceManagedS3. You cannot change this storage option after the data store\n is created.

" + } } } }, @@ -4759,13 +4889,6 @@ "com.amazonaws.iotanalytics#UpdatePipelineRequest": { "type": "structure", "members": { - "pipelineActivities": { - "target": "com.amazonaws.iotanalytics#PipelineActivities", - "traits": { - "smithy.api#documentation": "

A list of \"PipelineActivity\" objects. Activities perform transformations on your messages, \n such as removing, renaming or adding message attributes; filtering messages based on attribute \n values; invoking your Lambda functions on messages for advanced processing; or performing \n mathematical transformations to normalize device data.

\n

The list can be 2-25 PipelineActivity objects and must \n contain both a channel and a datastore activity. Each entry in the \n list must contain only one activity, for example:

\n

\n pipelineActivities = [\n {\n \"channel\": { ... }\n },\n {\n \"lambda\": { ... }\n },\n ... \n]\n

", - "smithy.api#required": {} - } - }, "pipelineName": { "target": "com.amazonaws.iotanalytics#PipelineName", "traits": { @@ -4773,16 +4896,30 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "pipelineActivities": { + "target": "com.amazonaws.iotanalytics#PipelineActivities", + "traits": { + "smithy.api#documentation": "

A list of PipelineActivity objects. Activities perform transformations on\n your messages, such as removing, renaming or adding message attributes; filtering messages\n based on attribute values; invoking your Lambda functions on messages for advanced processing;\n or performing mathematical transformations to normalize device data.

\n

The list can be 2-25 PipelineActivity objects and must contain both a\n channel and a datastore activity. Each entry in the list must\n contain only one activity. For example:

\n

\n pipelineActivities = [\n {\n \"channel\": { ... }\n },\n {\n \"lambda\": { ... }\n },\n ... \n]\n

", + "smithy.api#required": {} + } } } }, "com.amazonaws.iotanalytics#Variable": { "type": "structure", "members": { - "outputFileUriValue": { - "target": "com.amazonaws.iotanalytics#OutputFileUriValue", + "name": { + "target": "com.amazonaws.iotanalytics#VariableName", "traits": { - "smithy.api#documentation": "

The value of the variable as a structure that specifies an output file URI.

" + "smithy.api#documentation": "

The name of the variable.

", + "smithy.api#required": {} + } + }, + "stringValue": { + "target": "com.amazonaws.iotanalytics#StringValue", + "traits": { + "smithy.api#documentation": "

The value of the variable as a string.

" } }, "doubleValue": { @@ -4792,28 +4929,21 @@ "smithy.api#documentation": "

The value of the variable as a double (numeric).

" } }, - "name": { - "target": "com.amazonaws.iotanalytics#VariableName", - "traits": { - "smithy.api#documentation": "

The name of the variable.

", - "smithy.api#required": {} - } - }, "datasetContentVersionValue": { "target": "com.amazonaws.iotanalytics#DatasetContentVersionValue", "traits": { - "smithy.api#documentation": "

The value of the variable as a structure that specifies a data set content version.

" + "smithy.api#documentation": "

The value of the variable as a structure that specifies a dataset content\n version.

" } }, - "stringValue": { - "target": "com.amazonaws.iotanalytics#StringValue", + "outputFileUriValue": { + "target": "com.amazonaws.iotanalytics#OutputFileUriValue", "traits": { - "smithy.api#documentation": "

The value of the variable as a string.

" + "smithy.api#documentation": "

The value of the variable as a structure that specifies an output file URI.

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

An instance of a variable to be passed to the \"containerAction\" execution. Each variable \n must have a name and a value given by one of \"stringValue\", \"datasetContentVersionValue\", or \n \"outputFileUriValue\".

" + "smithy.api#documentation": "

An instance of a variable to be passed to the containerAction execution.\n Each variable must have a name and a value given by one of stringValue,\n datasetContentVersionValue, or outputFileUriValue.

" } }, "com.amazonaws.iotanalytics#VariableName": { @@ -4843,18 +4973,18 @@ "unlimited": { "target": "com.amazonaws.iotanalytics#UnlimitedVersioning", "traits": { - "smithy.api#documentation": "

If true, unlimited versions of data set contents will be kept.

" + "smithy.api#documentation": "

If true, unlimited versions of dataset contents are kept.

" } }, "maxVersions": { "target": "com.amazonaws.iotanalytics#MaxVersions", "traits": { - "smithy.api#documentation": "

How many versions of data set contents will be kept. The \"unlimited\" parameter must be false.

" + "smithy.api#documentation": "

How many versions of dataset contents are kept. The unlimited parameter\n must be false.

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

Information about the versioning of data set contents.

" + "smithy.api#documentation": "

Information about the versioning of dataset contents.

" } }, "com.amazonaws.iotanalytics#VolumeSizeInGB": { diff --git a/codegen/sdk-codegen/aws-models/macie2.2020-01-01.json b/codegen/sdk-codegen/aws-models/macie2.2020-01-01.json index 6d73b7d8b41f..b936a5cb83ed 100644 --- a/codegen/sdk-codegen/aws-models/macie2.2020-01-01.json +++ b/codegen/sdk-codegen/aws-models/macie2.2020-01-01.json @@ -72,19 +72,19 @@ "com.amazonaws.macie2#AcceptInvitationRequest": { "type": "structure", "members": { - "masterAccount": { + "invitationId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The AWS account ID for the account that sent the invitation.

", - "smithy.api#jsonName": "masterAccount", + "smithy.api#documentation": "

The unique identifier for the invitation to accept.

", + "smithy.api#jsonName": "invitationId", "smithy.api#required": {} } }, - "invitationId": { + "masterAccount": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the invitation to accept.

", - "smithy.api#jsonName": "invitationId", + "smithy.api#documentation": "

The AWS account ID for the account that sent the invitation.

", + "smithy.api#jsonName": "masterAccount", "smithy.api#required": {} } } @@ -97,18 +97,18 @@ "com.amazonaws.macie2#AccessControlList": { "type": "structure", "members": { - "allowsPublicWriteAccess": { + "allowsPublicReadAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the ACL grants the general public with write access permissions for the bucket.

", - "smithy.api#jsonName": "allowsPublicWriteAccess" + "smithy.api#documentation": "

Specifies whether the ACL grants the general public with read access permissions for the bucket.

", + "smithy.api#jsonName": "allowsPublicReadAccess" } }, - "allowsPublicReadAccess": { + "allowsPublicWriteAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the ACL grants the general public with read access permissions for the bucket.

", - "smithy.api#jsonName": "allowsPublicReadAccess" + "smithy.api#documentation": "

Specifies whether the ACL grants the general public with write access permissions for the bucket.

", + "smithy.api#jsonName": "allowsPublicWriteAccess" } } }, @@ -136,19 +136,19 @@ "com.amazonaws.macie2#AccountDetail": { "type": "structure", "members": { - "email": { + "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The email address for the account.

", - "smithy.api#jsonName": "email", + "smithy.api#documentation": "

The AWS account ID for the account.

", + "smithy.api#jsonName": "accountId", "smithy.api#required": {} } }, - "accountId": { + "email": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The AWS account ID for the account.

", - "smithy.api#jsonName": "accountId", + "smithy.api#documentation": "

The email address for the account.

", + "smithy.api#jsonName": "email", "smithy.api#required": {} } } @@ -175,19 +175,19 @@ "com.amazonaws.macie2#AdminAccount": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.macie2#AdminStatus", - "traits": { - "smithy.api#documentation": "

The current status of the account as a delegated administrator of Amazon Macie for the organization.

", - "smithy.api#jsonName": "status" - } - }, "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { "smithy.api#documentation": "

The AWS account ID for the account.

", "smithy.api#jsonName": "accountId" } + }, + "status": { + "target": "com.amazonaws.macie2#AdminStatus", + "traits": { + "smithy.api#documentation": "

The current status of the account as a delegated administrator of Amazon Macie for the organization.

", + "smithy.api#jsonName": "status" + } } }, "traits": { @@ -213,20 +213,6 @@ "com.amazonaws.macie2#ApiCallDetails": { "type": "structure", "members": { - "lastSeen": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.

", - "smithy.api#jsonName": "lastSeen" - } - }, - "firstSeen": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.

", - "smithy.api#jsonName": "firstSeen" - } - }, "api": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -240,6 +226,20 @@ "smithy.api#documentation": "

The URL of the AWS service that provides the operation, for example: s3.amazonaws.com.

", "smithy.api#jsonName": "apiServiceName" } + }, + "firstSeen": { + "target": "com.amazonaws.macie2#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.

", + "smithy.api#jsonName": "firstSeen" + } + }, + "lastSeen": { + "target": "com.amazonaws.macie2#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.

", + "smithy.api#jsonName": "lastSeen" + } } }, "traits": { @@ -249,25 +249,18 @@ "com.amazonaws.macie2#AssumedRole": { "type": "structure", "members": { - "principalId": { + "accessKeyId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the entity that was used to get the credentials.

", - "smithy.api#jsonName": "principalId" - } - }, - "sessionContext": { - "target": "com.amazonaws.macie2#SessionContext", - "traits": { - "smithy.api#documentation": "

The details of the session that was created for the credentials, including the entity that issued the session.

", - "smithy.api#jsonName": "sessionContext" + "smithy.api#documentation": "

The AWS access key ID that identifies the credentials.

", + "smithy.api#jsonName": "accessKeyId" } }, - "accessKeyId": { + "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The AWS access key ID that identifies the credentials.

", - "smithy.api#jsonName": "accessKeyId" + "smithy.api#documentation": "

The unique identifier for the AWS account that owns the entity that was used to get the credentials.

", + "smithy.api#jsonName": "accountId" } }, "arn": { @@ -277,11 +270,18 @@ "smithy.api#jsonName": "arn" } }, - "accountId": { + "principalId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the AWS account that owns the entity that was used to get the credentials.

", - "smithy.api#jsonName": "accountId" + "smithy.api#documentation": "

The unique identifier for the entity that was used to get the credentials.

", + "smithy.api#jsonName": "principalId" + } + }, + "sessionContext": { + "target": "com.amazonaws.macie2#SessionContext", + "traits": { + "smithy.api#documentation": "

The details of the session that was created for the credentials, including the entity that issued the session.

", + "smithy.api#jsonName": "sessionContext" } } }, @@ -292,18 +292,18 @@ "com.amazonaws.macie2#AwsAccount": { "type": "structure", "members": { - "principalId": { + "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the entity that performed the action.

", - "smithy.api#jsonName": "principalId" + "smithy.api#documentation": "

The unique identifier for the AWS account.

", + "smithy.api#jsonName": "accountId" } }, - "accountId": { + "principalId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the AWS account.

", - "smithy.api#jsonName": "accountId" + "smithy.api#documentation": "

The unique identifier for the entity that performed the action.

", + "smithy.api#jsonName": "principalId" } } }, @@ -336,11 +336,11 @@ "smithy.api#jsonName": "arn" } }, - "id": { - "target": "com.amazonaws.macie2#__string", + "createdAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

The unique identifier for the custom data identifier.

", - "smithy.api#jsonName": "id" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

", + "smithy.api#jsonName": "createdAt" } }, "deleted": { @@ -350,13 +350,6 @@ "smithy.api#jsonName": "deleted" } }, - "createdAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

", - "smithy.api#jsonName": "createdAt" - } - }, "description": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -364,6 +357,13 @@ "smithy.api#jsonName": "description" } }, + "id": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The unique identifier for the custom data identifier.

", + "smithy.api#jsonName": "id" + } + }, "name": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -450,11 +450,11 @@ "com.amazonaws.macie2#BlockPublicAccess": { "type": "structure", "members": { - "restrictPublicBuckets": { + "blockPublicAcls": { "target": "com.amazonaws.macie2#__boolean", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon S3 restricts public bucket policies for the bucket.

", - "smithy.api#jsonName": "restrictPublicBuckets" + "smithy.api#documentation": "

Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.

", + "smithy.api#jsonName": "blockPublicAcls" } }, "blockPublicPolicy": { @@ -471,11 +471,11 @@ "smithy.api#jsonName": "ignorePublicAcls" } }, - "blockPublicAcls": { + "restrictPublicBuckets": { "target": "com.amazonaws.macie2#__boolean", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.

", - "smithy.api#jsonName": "blockPublicAcls" + "smithy.api#documentation": "

Specifies whether Amazon S3 restricts public bucket policies for the bucket.

", + "smithy.api#jsonName": "restrictPublicBuckets" } } }, @@ -486,13 +486,6 @@ "com.amazonaws.macie2#BucketCountByEffectivePermission": { "type": "structure", "members": { - "unknown": { - "target": "com.amazonaws.macie2#__long", - "traits": { - "smithy.api#documentation": "

The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.

", - "smithy.api#jsonName": "unknown" - } - }, "publiclyAccessible": { "target": "com.amazonaws.macie2#__long", "traits": { @@ -513,6 +506,13 @@ "smithy.api#documentation": "

The total number of buckets that allow the general public to have write access to the bucket.

", "smithy.api#jsonName": "publiclyWritable" } + }, + "unknown": { + "target": "com.amazonaws.macie2#__long", + "traits": { + "smithy.api#documentation": "

The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.

", + "smithy.api#jsonName": "unknown" + } } }, "traits": { @@ -522,11 +522,11 @@ "com.amazonaws.macie2#BucketCountByEncryptionType": { "type": "structure", "members": { - "unencrypted": { + "kmsManaged": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.

", - "smithy.api#jsonName": "unencrypted" + "smithy.api#documentation": "

The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt objects. These buckets use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.

", + "smithy.api#jsonName": "kmsManaged" } }, "s3Managed": { @@ -536,11 +536,11 @@ "smithy.api#jsonName": "s3Managed" } }, - "kmsManaged": { + "unencrypted": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt objects. These buckets use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.

", - "smithy.api#jsonName": "kmsManaged" + "smithy.api#documentation": "

The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.

", + "smithy.api#jsonName": "unencrypted" } } }, @@ -558,13 +558,6 @@ "smithy.api#jsonName": "external" } }, - "unknown": { - "target": "com.amazonaws.macie2#__long", - "traits": { - "smithy.api#documentation": "

The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other AWS accounts.

", - "smithy.api#jsonName": "unknown" - } - }, "internal": { "target": "com.amazonaws.macie2#__long", "traits": { @@ -578,6 +571,13 @@ "smithy.api#documentation": "

The total number of buckets that aren't shared with other AWS accounts.

", "smithy.api#jsonName": "notShared" } + }, + "unknown": { + "target": "com.amazonaws.macie2#__long", + "traits": { + "smithy.api#documentation": "

The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other AWS accounts.

", + "smithy.api#jsonName": "unknown" + } } }, "traits": { @@ -599,13 +599,6 @@ "com.amazonaws.macie2#BucketCriteriaAdditionalProperties": { "type": "structure", "members": { - "lte": { - "target": "com.amazonaws.macie2#__long", - "traits": { - "smithy.api#documentation": "

A less than or equal to condition to apply to a specified attribute value for buckets.

", - "smithy.api#jsonName": "lte" - } - }, "eq": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { @@ -620,11 +613,11 @@ "smithy.api#jsonName": "gt" } }, - "prefix": { - "target": "com.amazonaws.macie2#__string", + "gte": { + "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The prefix of the buckets to include in the results.

", - "smithy.api#jsonName": "prefix" + "smithy.api#documentation": "

A greater than or equal to condition to apply to a specified attribute value for buckets.

", + "smithy.api#jsonName": "gte" } }, "lt": { @@ -634,11 +627,11 @@ "smithy.api#jsonName": "lt" } }, - "gte": { + "lte": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

A greater than or equal to condition to apply to a specified attribute value for buckets.

", - "smithy.api#jsonName": "gte" + "smithy.api#documentation": "

A less than or equal to condition to apply to a specified attribute value for buckets.

", + "smithy.api#jsonName": "lte" } }, "neq": { @@ -647,6 +640,13 @@ "smithy.api#documentation": "

A not equal to condition to apply to a specified attribute value for buckets.

", "smithy.api#jsonName": "neq" } + }, + "prefix": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The prefix of the buckets to include in the results.

", + "smithy.api#jsonName": "prefix" + } } }, "traits": { @@ -663,19 +663,19 @@ "smithy.api#jsonName": "accessControlList" } }, - "bucketPolicy": { - "target": "com.amazonaws.macie2#BucketPolicy", - "traits": { - "smithy.api#documentation": "

The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.

", - "smithy.api#jsonName": "bucketPolicy" - } - }, "blockPublicAccess": { "target": "com.amazonaws.macie2#BlockPublicAccess", "traits": { "smithy.api#documentation": "

The block public access settings for the bucket.

", "smithy.api#jsonName": "blockPublicAccess" } + }, + "bucketPolicy": { + "target": "com.amazonaws.macie2#BucketPolicy", + "traits": { + "smithy.api#documentation": "

The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.

", + "smithy.api#jsonName": "bucketPolicy" + } } }, "traits": { @@ -685,67 +685,60 @@ "com.amazonaws.macie2#BucketMetadata": { "type": "structure", "members": { - "bucketCreatedAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

", - "smithy.api#jsonName": "bucketCreatedAt" - } - }, - "region": { + "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The AWS Region that hosts the bucket.

", - "smithy.api#jsonName": "region" + "smithy.api#documentation": "

The unique identifier for the AWS account that owns the bucket.

", + "smithy.api#jsonName": "accountId" } }, - "accountId": { + "bucketArn": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the AWS account that owns the bucket.

", - "smithy.api#jsonName": "accountId" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the bucket.

", + "smithy.api#jsonName": "bucketArn" } }, - "sizeInBytesCompressed": { - "target": "com.amazonaws.macie2#__long", + "bucketCreatedAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

The total compressed storage size, in bytes, of the bucket.

", - "smithy.api#jsonName": "sizeInBytesCompressed" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

", + "smithy.api#jsonName": "bucketCreatedAt" } }, - "tags": { - "target": "com.amazonaws.macie2#__listOfKeyValuePair", + "bucketName": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

An array that specifies the tags (keys and values) that are associated with the bucket.

", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "

The name of the bucket.

", + "smithy.api#jsonName": "bucketName" } }, - "unclassifiableObjectCount": { - "target": "com.amazonaws.macie2#ObjectLevelStatistics", + "classifiableObjectCount": { + "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

", - "smithy.api#jsonName": "unclassifiableObjectCount" + "smithy.api#documentation": "

The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", + "smithy.api#jsonName": "classifiableObjectCount" } }, - "sizeInBytes": { + "classifiableSizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total storage size, in bytes, of the bucket.

", - "smithy.api#jsonName": "sizeInBytes" + "smithy.api#documentation": "

The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", + "smithy.api#jsonName": "classifiableSizeInBytes" } }, - "replicationDetails": { - "target": "com.amazonaws.macie2#ReplicationDetails", + "lastUpdated": { + "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts.

", - "smithy.api#jsonName": "replicationDetails" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the bucket from Amazon S3.

", + "smithy.api#jsonName": "lastUpdated" } }, - "bucketName": { - "target": "com.amazonaws.macie2#__string", + "objectCount": { + "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The name of the bucket.

", - "smithy.api#jsonName": "bucketName" + "smithy.api#documentation": "

The total number of objects in the bucket.

", + "smithy.api#jsonName": "objectCount" } }, "objectCountByEncryptionType": { @@ -755,67 +748,74 @@ "smithy.api#jsonName": "objectCountByEncryptionType" } }, - "unclassifiableObjectSizeInBytes": { - "target": "com.amazonaws.macie2#ObjectLevelStatistics", + "publicAccess": { + "target": "com.amazonaws.macie2#BucketPublicAccess", "traits": { - "smithy.api#documentation": "

The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

", - "smithy.api#jsonName": "unclassifiableObjectSizeInBytes" + "smithy.api#documentation": "

Specifies whether the bucket is publicly accessible. If this value is true, an access control list (ACL), bucket policy, or block public access settings allow the bucket to be accessed by the general public.

", + "smithy.api#jsonName": "publicAccess" } }, - "classifiableSizeInBytes": { - "target": "com.amazonaws.macie2#__long", + "region": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", - "smithy.api#jsonName": "classifiableSizeInBytes" + "smithy.api#documentation": "

The AWS Region that hosts the bucket.

", + "smithy.api#jsonName": "region" } }, - "classifiableObjectCount": { - "target": "com.amazonaws.macie2#__long", + "replicationDetails": { + "target": "com.amazonaws.macie2#ReplicationDetails", "traits": { - "smithy.api#documentation": "

The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", - "smithy.api#jsonName": "classifiableObjectCount" + "smithy.api#documentation": "

Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts.

", + "smithy.api#jsonName": "replicationDetails" } }, - "objectCount": { + "sharedAccess": { + "target": "com.amazonaws.macie2#SharedAccess", + "traits": { + "smithy.api#documentation": "

Specifies whether the bucket is shared with another AWS account. Possible values are:

", + "smithy.api#jsonName": "sharedAccess" + } + }, + "sizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of objects in the bucket.

", - "smithy.api#jsonName": "objectCount" + "smithy.api#documentation": "

The total storage size, in bytes, of the bucket.

", + "smithy.api#jsonName": "sizeInBytes" } }, - "sharedAccess": { - "target": "com.amazonaws.macie2#SharedAccess", + "sizeInBytesCompressed": { + "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

Specifies whether the bucket is shared with another AWS account. Possible values are:

", - "smithy.api#jsonName": "sharedAccess" + "smithy.api#documentation": "

The total compressed storage size, in bytes, of the bucket.

", + "smithy.api#jsonName": "sizeInBytesCompressed" } }, - "versioning": { - "target": "com.amazonaws.macie2#__boolean", + "tags": { + "target": "com.amazonaws.macie2#__listOfKeyValuePair", "traits": { - "smithy.api#documentation": "

Specifies whether versioning is enabled for the bucket.

", - "smithy.api#jsonName": "versioning" + "smithy.api#documentation": "

An array that specifies the tags (keys and values) that are associated with the bucket.

", + "smithy.api#jsonName": "tags" } }, - "bucketArn": { - "target": "com.amazonaws.macie2#__string", + "unclassifiableObjectCount": { + "target": "com.amazonaws.macie2#ObjectLevelStatistics", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the bucket.

", - "smithy.api#jsonName": "bucketArn" + "smithy.api#documentation": "

The total number of objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

", + "smithy.api#jsonName": "unclassifiableObjectCount" } }, - "lastUpdated": { - "target": "com.amazonaws.macie2#__timestampIso8601", + "unclassifiableObjectSizeInBytes": { + "target": "com.amazonaws.macie2#ObjectLevelStatistics", "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the bucket from Amazon S3.

", - "smithy.api#jsonName": "lastUpdated" + "smithy.api#documentation": "

The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

", + "smithy.api#jsonName": "unclassifiableObjectSizeInBytes" } }, - "publicAccess": { - "target": "com.amazonaws.macie2#BucketPublicAccess", + "versioning": { + "target": "com.amazonaws.macie2#__boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the bucket is publicly accessible. If this value is true, an access control list (ACL), bucket policy, or block public access settings allow the bucket to be accessed by the general public.

", - "smithy.api#jsonName": "publicAccess" + "smithy.api#documentation": "

Specifies whether versioning is enabled for the bucket.

", + "smithy.api#jsonName": "versioning" } } }, @@ -870,19 +870,19 @@ "com.amazonaws.macie2#BucketPublicAccess": { "type": "structure", "members": { - "permissionConfiguration": { - "target": "com.amazonaws.macie2#BucketPermissionConfiguration", - "traits": { - "smithy.api#documentation": "

The account-level and bucket-level permissions for the bucket.

", - "smithy.api#jsonName": "permissionConfiguration" - } - }, "effectivePermission": { "target": "com.amazonaws.macie2#EffectivePermission", "traits": { "smithy.api#documentation": "

Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:

", "smithy.api#jsonName": "effectivePermission" } + }, + "permissionConfiguration": { + "target": "com.amazonaws.macie2#BucketPermissionConfiguration", + "traits": { + "smithy.api#documentation": "

The account-level and bucket-level permissions for the bucket.

", + "smithy.api#jsonName": "permissionConfiguration" + } } }, "traits": { @@ -892,19 +892,19 @@ "com.amazonaws.macie2#BucketSortCriteria": { "type": "structure", "members": { - "orderBy": { - "target": "com.amazonaws.macie2#OrderBy", - "traits": { - "smithy.api#documentation": "

The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

", - "smithy.api#jsonName": "orderBy" - } - }, "attributeName": { "target": "com.amazonaws.macie2#__string", "traits": { "smithy.api#documentation": "

The name of the attribute to sort the results by. This value can be the name of any property that Amazon Macie defines as bucket metadata, such as bucketName or accountId.

", "smithy.api#jsonName": "attributeName" } + }, + "orderBy": { + "target": "com.amazonaws.macie2#OrderBy", + "traits": { + "smithy.api#documentation": "

The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

", + "smithy.api#jsonName": "orderBy" + } } }, "traits": { @@ -914,11 +914,11 @@ "com.amazonaws.macie2#Cell": { "type": "structure", "members": { - "row": { - "target": "com.amazonaws.macie2#__long", + "cellReference": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The row number of the row that contains the data.

", - "smithy.api#jsonName": "row" + "smithy.api#documentation": "

The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.

", + "smithy.api#jsonName": "cellReference" } }, "column": { @@ -935,11 +935,11 @@ "smithy.api#jsonName": "columnName" } }, - "cellReference": { - "target": "com.amazonaws.macie2#__string", + "row": { + "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.

", - "smithy.api#jsonName": "cellReference" + "smithy.api#documentation": "

The row number of the row that contains the data.

", + "smithy.api#jsonName": "row" } } }, @@ -959,6 +959,13 @@ "com.amazonaws.macie2#ClassificationDetails": { "type": "structure", "members": { + "detailedResultsLocation": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.

", + "smithy.api#jsonName": "detailedResultsLocation" + } + }, "jobArn": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -979,13 +986,6 @@ "smithy.api#documentation": "

The status and other details for the finding.

", "smithy.api#jsonName": "result" } - }, - "detailedResultsLocation": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.

", - "smithy.api#jsonName": "detailedResultsLocation" - } } }, "traits": { @@ -1010,11 +1010,18 @@ "com.amazonaws.macie2#ClassificationResult": { "type": "structure", "members": { - "sensitiveData": { - "target": "com.amazonaws.macie2#SensitiveData", + "additionalOccurrences": { + "target": "com.amazonaws.macie2#__boolean", "traits": { - "smithy.api#documentation": "

The category, types, and number of occurrences of the sensitive data that produced the finding.

", - "smithy.api#jsonName": "sensitiveData" + "smithy.api#documentation": "

Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

This value can help you to determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).

", + "smithy.api#jsonName": "additionalOccurrences" + } + }, + "customDataIdentifiers": { + "target": "com.amazonaws.macie2#CustomDataIdentifiers", + "traits": { + "smithy.api#documentation": "

The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.

", + "smithy.api#jsonName": "customDataIdentifiers" } }, "mimeType": { @@ -1024,6 +1031,13 @@ "smithy.api#jsonName": "mimeType" } }, + "sensitiveData": { + "target": "com.amazonaws.macie2#SensitiveData", + "traits": { + "smithy.api#documentation": "

The category, types, and number of occurrences of the sensitive data that produced the finding.

", + "smithy.api#jsonName": "sensitiveData" + } + }, "sizeClassified": { "target": "com.amazonaws.macie2#__long", "traits": { @@ -1031,26 +1045,12 @@ "smithy.api#jsonName": "sizeClassified" } }, - "additionalOccurrences": { - "target": "com.amazonaws.macie2#__boolean", - "traits": { - "smithy.api#documentation": "

Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

This value can help you to determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).

", - "smithy.api#jsonName": "additionalOccurrences" - } - }, "status": { "target": "com.amazonaws.macie2#ClassificationResultStatus", "traits": { "smithy.api#documentation": "

The status of the finding.

", "smithy.api#jsonName": "status" } - }, - "customDataIdentifiers": { - "target": "com.amazonaws.macie2#CustomDataIdentifiers", - "traits": { - "smithy.api#documentation": "

The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.

", - "smithy.api#jsonName": "customDataIdentifiers" - } } }, "traits": { @@ -1139,21 +1139,6 @@ "com.amazonaws.macie2#CreateClassificationJobRequest": { "type": "structure", "members": { - "s3JobDefinition": { - "target": "com.amazonaws.macie2#S3JobDefinition", - "traits": { - "smithy.api#documentation": "

The S3 buckets that contain the objects to analyze, and the scope of that analysis.

", - "smithy.api#jsonName": "s3JobDefinition", - "smithy.api#required": {} - } - }, - "customDataIdentifierIds": { - "target": "com.amazonaws.macie2#__listOf__string", - "traits": { - "smithy.api#documentation": "

The custom data identifiers to use for data analysis and classification.

", - "smithy.api#jsonName": "customDataIdentifierIds" - } - }, "clientToken": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -1163,11 +1148,11 @@ "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.macie2#TagMap", + "customDataIdentifierIds": { + "target": "com.amazonaws.macie2#__listOf__string", "traits": { - "smithy.api#documentation": "

A map of key-value pairs that specifies the tags to associate with the job.

A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "

The custom data identifiers to use for data analysis and classification.

", + "smithy.api#jsonName": "customDataIdentifierIds" } }, "description": { @@ -1192,13 +1177,6 @@ "smithy.api#required": {} } }, - "samplingPercentage": { - "target": "com.amazonaws.macie2#__integer", - "traits": { - "smithy.api#documentation": "

The sampling depth, as a percentage, to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.

", - "smithy.api#jsonName": "samplingPercentage" - } - }, "name": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -1207,12 +1185,34 @@ "smithy.api#required": {} } }, + "s3JobDefinition": { + "target": "com.amazonaws.macie2#S3JobDefinition", + "traits": { + "smithy.api#documentation": "

The S3 buckets that contain the objects to analyze, and the scope of that analysis.

", + "smithy.api#jsonName": "s3JobDefinition", + "smithy.api#required": {} + } + }, + "samplingPercentage": { + "target": "com.amazonaws.macie2#__integer", + "traits": { + "smithy.api#documentation": "

The sampling depth, as a percentage, to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.

", + "smithy.api#jsonName": "samplingPercentage" + } + }, "scheduleFrequency": { "target": "com.amazonaws.macie2#JobScheduleFrequency", "traits": { "smithy.api#documentation": "

The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value for the jobType property to ONE_TIME.

", "smithy.api#jsonName": "scheduleFrequency" } + }, + "tags": { + "target": "com.amazonaws.macie2#TagMap", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs that specifies the tags to associate with the job.

A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", + "smithy.api#jsonName": "tags" + } } } }, @@ -1278,11 +1278,12 @@ "com.amazonaws.macie2#CreateCustomDataIdentifierRequest": { "type": "structure", "members": { - "keywords": { - "target": "com.amazonaws.macie2#__listOf__string", + "clientToken": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 4 - 90 characters. Keywords aren't case sensitive.

", - "smithy.api#jsonName": "keywords" + "smithy.api#documentation": "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", + "smithy.api#idempotencyToken": {}, + "smithy.api#jsonName": "clientToken" } }, "description": { @@ -1299,19 +1300,18 @@ "smithy.api#jsonName": "ignoreWords" } }, - "clientToken": { - "target": "com.amazonaws.macie2#__string", + "keywords": { + "target": "com.amazonaws.macie2#__listOf__string", "traits": { - "smithy.api#documentation": "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", - "smithy.api#idempotencyToken": {}, - "smithy.api#jsonName": "clientToken" + "smithy.api#documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 4 - 90 characters. Keywords aren't case sensitive.

", + "smithy.api#jsonName": "keywords" } }, - "tags": { - "target": "com.amazonaws.macie2#TagMap", + "maximumMatchDistance": { + "target": "com.amazonaws.macie2#__integer", "traits": { - "smithy.api#documentation": "

A map of key-value pairs that specifies the tags to associate with the custom data identifier.

A custom data identifier can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

", + "smithy.api#jsonName": "maximumMatchDistance" } }, "name": { @@ -1328,11 +1328,11 @@ "smithy.api#jsonName": "regex" } }, - "maximumMatchDistance": { - "target": "com.amazonaws.macie2#__integer", + "tags": { + "target": "com.amazonaws.macie2#TagMap", "traits": { - "smithy.api#documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

", - "smithy.api#jsonName": "maximumMatchDistance" + "smithy.api#documentation": "

A map of key-value pairs that specifies the tags to associate with the custom data identifier.

A custom data identifier can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", + "smithy.api#jsonName": "tags" } } } @@ -1392,13 +1392,6 @@ "com.amazonaws.macie2#CreateFindingsFilterRequest": { "type": "structure", "members": { - "position": { - "target": "com.amazonaws.macie2#__integer", - "traits": { - "smithy.api#documentation": "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", - "smithy.api#jsonName": "position" - } - }, "action": { "target": "com.amazonaws.macie2#FindingsFilterAction", "traits": { @@ -1415,6 +1408,13 @@ "smithy.api#jsonName": "clientToken" } }, + "description": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

A custom description of the filter. The description can contain as many as 512 characters.

We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

", + "smithy.api#jsonName": "description" + } + }, "findingCriteria": { "target": "com.amazonaws.macie2#FindingCriteria", "traits": { @@ -1431,11 +1431,11 @@ "smithy.api#required": {} } }, - "description": { - "target": "com.amazonaws.macie2#__string", + "position": { + "target": "com.amazonaws.macie2#__integer", "traits": { - "smithy.api#documentation": "

A custom description of the filter. The description can contain as many as 512 characters.

We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

", - "smithy.api#jsonName": "description" + "smithy.api#documentation": "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", + "smithy.api#jsonName": "position" } }, "tags": { @@ -1509,11 +1509,12 @@ "com.amazonaws.macie2#CreateInvitationsRequest": { "type": "structure", "members": { - "message": { - "target": "com.amazonaws.macie2#__string", + "accountIds": { + "target": "com.amazonaws.macie2#__listOf__string", "traits": { - "smithy.api#documentation": "

A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.

", - "smithy.api#jsonName": "message" + "smithy.api#documentation": "

An array that lists AWS account IDs, one for each account to send the invitation to.

", + "smithy.api#jsonName": "accountIds", + "smithy.api#required": {} } }, "disableEmailNotification": { @@ -1522,13 +1523,12 @@ "smithy.api#documentation": "

Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true.

", "smithy.api#jsonName": "disableEmailNotification" } - }, - "accountIds": { - "target": "com.amazonaws.macie2#__listOf__string", + }, + "message": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

An array that lists AWS account IDs, one for each account to send the invitation to.

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

A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.

", + "smithy.api#jsonName": "message" } } } @@ -1588,13 +1588,6 @@ "com.amazonaws.macie2#CreateMemberRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.macie2#TagMap", - "traits": { - "smithy.api#documentation": "

A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", - "smithy.api#jsonName": "tags" - } - }, "account": { "target": "com.amazonaws.macie2#AccountDetail", "traits": { @@ -1602,6 +1595,13 @@ "smithy.api#jsonName": "account", "smithy.api#required": {} } + }, + "tags": { + "target": "com.amazonaws.macie2#TagMap", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", + "smithy.api#jsonName": "tags" + } } } }, @@ -1695,6 +1695,13 @@ "smithy.api#jsonName": "eq" } }, + "eqExactMatch": { + "target": "com.amazonaws.macie2#__listOf__string", + "traits": { + "smithy.api#documentation": "

A condition that requires an array field of a finding to exactly match the specified property values. You can use this operator with the following properties: customDataIdentifiers.detections.arn, customDataIdentifiers.detections.name, resourcesAffected.s3Bucket.tags.key, resourcesAffected.s3Bucket.tags.value, resourcesAffected.s3Object.tags.key, resourcesAffected.s3Object.tags.value, sensitiveData.category, and sensitiveData.detections.type.

", + "smithy.api#jsonName": "eqExactMatch" + } + }, "gt": { "target": "com.amazonaws.macie2#__long", "traits": { @@ -1702,11 +1709,11 @@ "smithy.api#jsonName": "gt" } }, - "lte": { + "gte": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

A less than or equal to condition to apply to a specified property value for findings.

", - "smithy.api#jsonName": "lte" + "smithy.api#documentation": "

A greater than or equal to condition to apply to a specified property value for findings.

", + "smithy.api#jsonName": "gte" } }, "lt": { @@ -1716,25 +1723,18 @@ "smithy.api#jsonName": "lt" } }, - "neq": { - "target": "com.amazonaws.macie2#__listOf__string", - "traits": { - "smithy.api#documentation": "

A not equal to condition to apply to a specified property value for findings.

", - "smithy.api#jsonName": "neq" - } - }, - "gte": { + "lte": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

A greater than or equal to condition to apply to a specified property value for findings.

", - "smithy.api#jsonName": "gte" + "smithy.api#documentation": "

A less than or equal to condition to apply to a specified property value for findings.

", + "smithy.api#jsonName": "lte" } }, - "eqExactMatch": { + "neq": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { - "smithy.api#documentation": "

A condition that requires an array field on a finding to exactly match the specified property values. You can use this operator with the following properties:

", - "smithy.api#jsonName": "eqExactMatch" + "smithy.api#documentation": "

A not equal to condition to apply to a specified property value for findings.

", + "smithy.api#jsonName": "neq" } } }, @@ -1757,13 +1757,6 @@ "com.amazonaws.macie2#CustomDataIdentifierSummary": { "type": "structure", "members": { - "name": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The custom name of the custom data identifier.

", - "smithy.api#jsonName": "name" - } - }, "arn": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -1771,13 +1764,6 @@ "smithy.api#jsonName": "arn" } }, - "description": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The custom description of the custom data identifier.

", - "smithy.api#jsonName": "description" - } - }, "createdAt": { "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { @@ -1785,12 +1771,26 @@ "smithy.api#jsonName": "createdAt" } }, + "description": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The custom description of the custom data identifier.

", + "smithy.api#jsonName": "description" + } + }, "id": { "target": "com.amazonaws.macie2#__string", "traits": { "smithy.api#documentation": "

The unique identifier for the custom data identifier.

", "smithy.api#jsonName": "id" } + }, + "name": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The custom name of the custom data identifier.

", + "smithy.api#jsonName": "name" + } } }, "traits": { @@ -1800,19 +1800,19 @@ "com.amazonaws.macie2#CustomDataIdentifiers": { "type": "structure", "members": { - "totalCount": { - "target": "com.amazonaws.macie2#__long", - "traits": { - "smithy.api#documentation": "

The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.

", - "smithy.api#jsonName": "totalCount" - } - }, "detections": { "target": "com.amazonaws.macie2#CustomDetections", "traits": { "smithy.api#documentation": "

The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.

", "smithy.api#jsonName": "detections" } + }, + "totalCount": { + "target": "com.amazonaws.macie2#__long", + "traits": { + "smithy.api#documentation": "

The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.

", + "smithy.api#jsonName": "totalCount" + } } }, "traits": { @@ -1822,11 +1822,11 @@ "com.amazonaws.macie2#CustomDetection": { "type": "structure", "members": { - "occurrences": { - "target": "com.amazonaws.macie2#Occurrences", + "arn": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

", - "smithy.api#jsonName": "occurrences" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the custom data identifier.

", + "smithy.api#jsonName": "arn" } }, "count": { @@ -1843,11 +1843,11 @@ "smithy.api#jsonName": "name" } }, - "arn": { - "target": "com.amazonaws.macie2#__string", + "occurrences": { + "target": "com.amazonaws.macie2#Occurrences", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the custom data identifier.

", - "smithy.api#jsonName": "arn" + "smithy.api#documentation": "

The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

", + "smithy.api#jsonName": "occurrences" } } }, @@ -1981,19 +1981,19 @@ "smithy.api#jsonName": "count" } }, - "type": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.

", - "smithy.api#jsonName": "type" - } - }, "occurrences": { "target": "com.amazonaws.macie2#Occurrences", "traits": { "smithy.api#documentation": "

The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

", "smithy.api#jsonName": "occurrences" } + }, + "type": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.

", + "smithy.api#jsonName": "type" + } } }, "traits": { @@ -2294,18 +2294,11 @@ "com.amazonaws.macie2#DescribeBucketsRequest": { "type": "structure", "members": { - "sortCriteria": { - "target": "com.amazonaws.macie2#BucketSortCriteria", - "traits": { - "smithy.api#documentation": "

The criteria to use to sort the query results.

", - "smithy.api#jsonName": "sortCriteria" - } - }, - "nextToken": { - "target": "com.amazonaws.macie2#__string", + "criteria": { + "target": "com.amazonaws.macie2#BucketCriteria", "traits": { - "smithy.api#documentation": "

The nextToken string that specifies which page of results to return in a paginated response.

", - "smithy.api#jsonName": "nextToken" + "smithy.api#documentation": "

The criteria to use to filter the query results.

", + "smithy.api#jsonName": "criteria" } }, "maxResults": { @@ -2315,11 +2308,18 @@ "smithy.api#jsonName": "maxResults" } }, - "criteria": { - "target": "com.amazonaws.macie2#BucketCriteria", + "nextToken": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The criteria to use to filter the query results.

", - "smithy.api#jsonName": "criteria" + "smithy.api#documentation": "

The nextToken string that specifies which page of results to return in a paginated response.

", + "smithy.api#jsonName": "nextToken" + } + }, + "sortCriteria": { + "target": "com.amazonaws.macie2#BucketSortCriteria", + "traits": { + "smithy.api#documentation": "

The criteria to use to sort the query results.

", + "smithy.api#jsonName": "sortCriteria" } } } @@ -2399,39 +2399,33 @@ "com.amazonaws.macie2#DescribeClassificationJobResponse": { "type": "structure", "members": { - "samplingPercentage": { - "target": "com.amazonaws.macie2#__integer", - "traits": { - "smithy.api#documentation": "

The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.

", - "smithy.api#jsonName": "samplingPercentage" - } - }, - "name": { + "clientToken": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The custom name of the job.

", - "smithy.api#jsonName": "name" + "smithy.api#documentation": "

The token that was provided to ensure the idempotency of the request to create the job.

", + "smithy.api#idempotencyToken": {}, + "smithy.api#jsonName": "clientToken" } }, - "jobArn": { - "target": "com.amazonaws.macie2#__string", + "createdAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job.

", - "smithy.api#jsonName": "jobArn" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the job was created.

", + "smithy.api#jsonName": "createdAt" } }, - "lastRunTime": { - "target": "com.amazonaws.macie2#__timestampIso8601", + "customDataIdentifierIds": { + "target": "com.amazonaws.macie2#__listOf__string", "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the job last ran.

", - "smithy.api#jsonName": "lastRunTime" + "smithy.api#documentation": "

The custom data identifiers that the job uses to analyze data.

", + "smithy.api#jsonName": "customDataIdentifierIds" } }, - "tags": { - "target": "com.amazonaws.macie2#TagMap", + "description": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

A map of key-value pairs that specifies which tags (keys and values) are associated with the classification job.

", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "

The custom description of the job.

", + "smithy.api#jsonName": "description" } }, "initialRun": { @@ -2441,47 +2435,46 @@ "smithy.api#jsonName": "initialRun" } }, - "userPausedDetails": { - "target": "com.amazonaws.macie2#UserPausedDetails", + "jobArn": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.

", - "smithy.api#jsonName": "userPausedDetails" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job.

", + "smithy.api#jsonName": "jobArn" } }, - "description": { + "jobId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The custom description of the job.

", - "smithy.api#jsonName": "description" + "smithy.api#documentation": "

The unique identifier for the job.

", + "smithy.api#jsonName": "jobId" } }, - "clientToken": { - "target": "com.amazonaws.macie2#__string", + "jobStatus": { + "target": "com.amazonaws.macie2#JobStatus", "traits": { - "smithy.api#documentation": "

The token that was provided to ensure the idempotency of the request to create the job.

", - "smithy.api#idempotencyToken": {}, - "smithy.api#jsonName": "clientToken" + "smithy.api#documentation": "

The current status of the job. Possible values are:

", + "smithy.api#jsonName": "jobStatus" } }, - "customDataIdentifierIds": { - "target": "com.amazonaws.macie2#__listOf__string", + "jobType": { + "target": "com.amazonaws.macie2#JobType", "traits": { - "smithy.api#documentation": "

The custom data identifiers that the job uses to analyze data.

", - "smithy.api#jsonName": "customDataIdentifierIds" + "smithy.api#documentation": "

The schedule for running the job. Possible values are:

", + "smithy.api#jsonName": "jobType" } }, - "scheduleFrequency": { - "target": "com.amazonaws.macie2#JobScheduleFrequency", + "lastRunTime": { + "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

The recurrence pattern for running the job. If the job is configured to run only once, this value is null.

", - "smithy.api#jsonName": "scheduleFrequency" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the job last ran.

", + "smithy.api#jsonName": "lastRunTime" } }, - "jobStatus": { - "target": "com.amazonaws.macie2#JobStatus", + "name": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The current status of the job. Possible values are:

", - "smithy.api#jsonName": "jobStatus" + "smithy.api#documentation": "

The custom name of the job.

", + "smithy.api#jsonName": "name" } }, "s3JobDefinition": { @@ -2491,11 +2484,18 @@ "smithy.api#jsonName": "s3JobDefinition" } }, - "createdAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", + "samplingPercentage": { + "target": "com.amazonaws.macie2#__integer", "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the job was created.

", - "smithy.api#jsonName": "createdAt" + "smithy.api#documentation": "

The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.

", + "smithy.api#jsonName": "samplingPercentage" + } + }, + "scheduleFrequency": { + "target": "com.amazonaws.macie2#JobScheduleFrequency", + "traits": { + "smithy.api#documentation": "

The recurrence pattern for running the job. If the job is configured to run only once, this value is null.

", + "smithy.api#jsonName": "scheduleFrequency" } }, "statistics": { @@ -2505,18 +2505,18 @@ "smithy.api#jsonName": "statistics" } }, - "jobType": { - "target": "com.amazonaws.macie2#JobType", + "tags": { + "target": "com.amazonaws.macie2#TagMap", "traits": { - "smithy.api#documentation": "

The schedule for running the job. Possible values are:

", - "smithy.api#jsonName": "jobType" + "smithy.api#documentation": "

A map of key-value pairs that specifies which tags (keys and values) are associated with the classification job.

", + "smithy.api#jsonName": "tags" } }, - "jobId": { - "target": "com.amazonaws.macie2#__string", + "userPausedDetails": { + "target": "com.amazonaws.macie2#UserPausedDetails", "traits": { - "smithy.api#documentation": "

The unique identifier for the job.

", - "smithy.api#jsonName": "jobId" + "smithy.api#documentation": "

If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.

", + "smithy.api#jsonName": "userPausedDetails" } } } @@ -2871,13 +2871,6 @@ "com.amazonaws.macie2#EnableMacieRequest": { "type": "structure", "members": { - "findingPublishingFrequency": { - "target": "com.amazonaws.macie2#FindingPublishingFrequency", - "traits": { - "smithy.api#documentation": "Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).", - "smithy.api#jsonName": "findingPublishingFrequency" - } - }, "clientToken": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -2886,6 +2879,13 @@ "smithy.api#jsonName": "clientToken" } }, + "findingPublishingFrequency": { + "target": "com.amazonaws.macie2#FindingPublishingFrequency", + "traits": { + "smithy.api#documentation": "Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).", + "smithy.api#jsonName": "findingPublishingFrequency" + } + }, "status": { "target": "com.amazonaws.macie2#MacieStatus", "traits": { @@ -3021,11 +3021,11 @@ "smithy.api#jsonName": "accountId" } }, - "sessionContext": { - "target": "com.amazonaws.macie2#SessionContext", + "arn": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The details of the session that was created for the credentials, including the entity that issued the session.

", - "smithy.api#jsonName": "sessionContext" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the entity that was used to get the credentials.

", + "smithy.api#jsonName": "arn" } }, "principalId": { @@ -3035,11 +3035,11 @@ "smithy.api#jsonName": "principalId" } }, - "arn": { - "target": "com.amazonaws.macie2#__string", + "sessionContext": { + "target": "com.amazonaws.macie2#SessionContext", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the entity that was used to get the credentials.

", - "smithy.api#jsonName": "arn" + "smithy.api#documentation": "

The details of the session that was created for the credentials, including the entity that issued the session.

", + "smithy.api#jsonName": "sessionContext" } } }, @@ -3050,20 +3050,6 @@ "com.amazonaws.macie2#Finding": { "type": "structure", "members": { - "count": { - "target": "com.amazonaws.macie2#__long", - "traits": { - "smithy.api#documentation": "

The total number of occurrences of the finding.

", - "smithy.api#jsonName": "count" - } - }, - "type": { - "target": "com.amazonaws.macie2#FindingType", - "traits": { - "smithy.api#documentation": "

The type of the finding.

", - "smithy.api#jsonName": "type" - } - }, "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -3071,25 +3057,32 @@ "smithy.api#jsonName": "accountId" } }, - "sample": { + "archived": { "target": "com.amazonaws.macie2#__boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

", - "smithy.api#jsonName": "sample" + "smithy.api#documentation": "

Specifies whether the finding is archived.

", + "smithy.api#jsonName": "archived" } }, - "description": { - "target": "com.amazonaws.macie2#__string", + "category": { + "target": "com.amazonaws.macie2#FindingCategory", "traits": { - "smithy.api#documentation": "

The description of the finding.

", - "smithy.api#jsonName": "description" + "smithy.api#documentation": "

The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

", + "smithy.api#jsonName": "category" } }, - "partition": { - "target": "com.amazonaws.macie2#__string", + "classificationDetails": { + "target": "com.amazonaws.macie2#ClassificationDetails", "traits": { - "smithy.api#documentation": "

The AWS partition that Amazon Macie created the finding in.

", - "smithy.api#jsonName": "partition" + "smithy.api#documentation": "

The details of a sensitive data finding. This value is null for a policy finding.

", + "smithy.api#jsonName": "classificationDetails" + } + }, + "count": { + "target": "com.amazonaws.macie2#__long", + "traits": { + "smithy.api#documentation": "

The total number of occurrences of the finding.

", + "smithy.api#jsonName": "count" } }, "createdAt": { @@ -3099,39 +3092,39 @@ "smithy.api#jsonName": "createdAt" } }, - "title": { + "description": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The brief description of the finding.

", - "smithy.api#jsonName": "title" + "smithy.api#documentation": "

The description of the finding.

", + "smithy.api#jsonName": "description" } }, - "schemaVersion": { + "id": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The version of the schema that was used to define the data structures in the finding.

", - "smithy.api#jsonName": "schemaVersion" + "smithy.api#documentation": "

The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.

", + "smithy.api#jsonName": "id" } }, - "updatedAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", + "partition": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

", - "smithy.api#jsonName": "updatedAt" + "smithy.api#documentation": "

The AWS partition that Amazon Macie created the finding in.

", + "smithy.api#jsonName": "partition" } }, - "category": { - "target": "com.amazonaws.macie2#FindingCategory", + "policyDetails": { + "target": "com.amazonaws.macie2#PolicyDetails", "traits": { - "smithy.api#documentation": "

The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

", - "smithy.api#jsonName": "category" + "smithy.api#documentation": "

The details of a policy finding. This value is null for a sensitive data finding.

", + "smithy.api#jsonName": "policyDetails" } }, - "classificationDetails": { - "target": "com.amazonaws.macie2#ClassificationDetails", + "region": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The details of a sensitive data finding. This value is null for a policy finding.

", - "smithy.api#jsonName": "classificationDetails" + "smithy.api#documentation": "

The AWS Region that Amazon Macie created the finding in.

", + "smithy.api#jsonName": "region" } }, "resourcesAffected": { @@ -3141,39 +3134,46 @@ "smithy.api#jsonName": "resourcesAffected" } }, - "archived": { + "sample": { "target": "com.amazonaws.macie2#__boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the finding is archived.

", - "smithy.api#jsonName": "archived" + "smithy.api#documentation": "

Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

", + "smithy.api#jsonName": "sample" } }, - "policyDetails": { - "target": "com.amazonaws.macie2#PolicyDetails", + "schemaVersion": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The details of a policy finding. This value is null for a sensitive data finding.

", - "smithy.api#jsonName": "policyDetails" + "smithy.api#documentation": "

The version of the schema that was used to define the data structures in the finding.

", + "smithy.api#jsonName": "schemaVersion" } }, - "region": { - "target": "com.amazonaws.macie2#__string", + "severity": { + "target": "com.amazonaws.macie2#Severity", "traits": { - "smithy.api#documentation": "

The AWS Region that Amazon Macie created the finding in.

", - "smithy.api#jsonName": "region" + "smithy.api#documentation": "

The severity level and score for the finding.

", + "smithy.api#jsonName": "severity" } }, - "id": { + "title": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.

", - "smithy.api#jsonName": "id" + "smithy.api#documentation": "

The brief description of the finding.

", + "smithy.api#jsonName": "title" } }, - "severity": { - "target": "com.amazonaws.macie2#Severity", + "type": { + "target": "com.amazonaws.macie2#FindingType", "traits": { - "smithy.api#documentation": "

The severity level and score for the finding.

", - "smithy.api#jsonName": "severity" + "smithy.api#documentation": "

The type of the finding.

", + "smithy.api#jsonName": "type" + } + }, + "updatedAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

", + "smithy.api#jsonName": "updatedAt" } } }, @@ -3218,13 +3218,6 @@ "com.amazonaws.macie2#FindingActor": { "type": "structure", "members": { - "ipAddressDetails": { - "target": "com.amazonaws.macie2#IpAddressDetails", - "traits": { - "smithy.api#documentation": "

The IP address of the device that the entity used to perform the action on the affected resource. This object also provides information such as the owner and geographic location for the IP address.

", - "smithy.api#jsonName": "ipAddressDetails" - } - }, "domainDetails": { "target": "com.amazonaws.macie2#DomainDetails", "traits": { @@ -3232,6 +3225,13 @@ "smithy.api#jsonName": "domainDetails" } }, + "ipAddressDetails": { + "target": "com.amazonaws.macie2#IpAddressDetails", + "traits": { + "smithy.api#documentation": "

The IP address of the device that the entity used to perform the action on the affected resource. This object also provides information such as the owner and geographic location for the IP address.

", + "smithy.api#jsonName": "ipAddressDetails" + } + }, "userIdentity": { "target": "com.amazonaws.macie2#UserIdentity", "traits": { @@ -3400,20 +3400,6 @@ "com.amazonaws.macie2#FindingsFilterListItem": { "type": "structure", "members": { - "id": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The unique identifier for the filter.

", - "smithy.api#jsonName": "id" - } - }, - "name": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The custom name of the filter.

", - "smithy.api#jsonName": "name" - } - }, "action": { "target": "com.amazonaws.macie2#FindingsFilterAction", "traits": { @@ -3428,6 +3414,20 @@ "smithy.api#jsonName": "arn" } }, + "id": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The unique identifier for the filter.

", + "smithy.api#jsonName": "id" + } + }, + "name": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The custom name of the filter.

", + "smithy.api#jsonName": "name" + } + }, "tags": { "target": "com.amazonaws.macie2#TagMap", "traits": { @@ -3495,11 +3495,18 @@ "com.amazonaws.macie2#GetBucketStatisticsResponse": { "type": "structure", "members": { - "classifiableObjectCount": { + "bucketCount": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", - "smithy.api#jsonName": "classifiableObjectCount" + "smithy.api#documentation": "

The total number of buckets.

", + "smithy.api#jsonName": "bucketCount" + } + }, + "bucketCountByEffectivePermission": { + "target": "com.amazonaws.macie2#BucketCountByEffectivePermission", + "traits": { + "smithy.api#documentation": "

The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.

", + "smithy.api#jsonName": "bucketCountByEffectivePermission" } }, "bucketCountByEncryptionType": { @@ -3509,39 +3516,32 @@ "smithy.api#jsonName": "bucketCountByEncryptionType" } }, - "sizeInBytesCompressed": { - "target": "com.amazonaws.macie2#__long", + "bucketCountBySharedAccessType": { + "target": "com.amazonaws.macie2#BucketCountBySharedAccessType", "traits": { - "smithy.api#documentation": "

The total compressed storage size, in bytes, of the buckets.

", - "smithy.api#jsonName": "sizeInBytesCompressed" + "smithy.api#documentation": "

The total number of buckets that are shared with another AWS account.

", + "smithy.api#jsonName": "bucketCountBySharedAccessType" } }, - "sizeInBytes": { + "classifiableObjectCount": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total storage size, in bytes, of the buckets.

", - "smithy.api#jsonName": "sizeInBytes" - } - }, - "lastUpdated": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the buckets from Amazon S3.

", - "smithy.api#jsonName": "lastUpdated" + "smithy.api#documentation": "

The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", + "smithy.api#jsonName": "classifiableObjectCount" } }, - "unclassifiableObjectCount": { - "target": "com.amazonaws.macie2#ObjectLevelStatistics", + "classifiableSizeInBytes": { + "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

", - "smithy.api#jsonName": "unclassifiableObjectCount" + "smithy.api#documentation": "

The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", + "smithy.api#jsonName": "classifiableSizeInBytes" } }, - "bucketCountBySharedAccessType": { - "target": "com.amazonaws.macie2#BucketCountBySharedAccessType", + "lastUpdated": { + "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

The total number of buckets that are shared with another AWS account.

", - "smithy.api#jsonName": "bucketCountBySharedAccessType" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the buckets from Amazon S3.

", + "smithy.api#jsonName": "lastUpdated" } }, "objectCount": { @@ -3551,25 +3551,25 @@ "smithy.api#jsonName": "objectCount" } }, - "bucketCountByEffectivePermission": { - "target": "com.amazonaws.macie2#BucketCountByEffectivePermission", + "sizeInBytes": { + "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.

", - "smithy.api#jsonName": "bucketCountByEffectivePermission" + "smithy.api#documentation": "

The total storage size, in bytes, of the buckets.

", + "smithy.api#jsonName": "sizeInBytes" } }, - "classifiableSizeInBytes": { + "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", - "smithy.api#jsonName": "classifiableSizeInBytes" + "smithy.api#documentation": "

The total compressed storage size, in bytes, of the buckets.

", + "smithy.api#jsonName": "sizeInBytesCompressed" } }, - "bucketCount": { - "target": "com.amazonaws.macie2#__long", + "unclassifiableObjectCount": { + "target": "com.amazonaws.macie2#ObjectLevelStatistics", "traits": { - "smithy.api#documentation": "

The total number of buckets.

", - "smithy.api#jsonName": "bucketCount" + "smithy.api#documentation": "

The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

", + "smithy.api#jsonName": "unclassifiableObjectCount" } }, "unclassifiableObjectSizeInBytes": { @@ -3693,18 +3693,18 @@ "com.amazonaws.macie2#GetCustomDataIdentifierResponse": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.macie2#TagMap", + "arn": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.

", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the custom data identifier.

", + "smithy.api#jsonName": "arn" } }, - "ignoreWords": { - "target": "com.amazonaws.macie2#__listOf__string", + "createdAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.

", - "smithy.api#jsonName": "ignoreWords" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

", + "smithy.api#jsonName": "createdAt" } }, "deleted": { @@ -3714,18 +3714,11 @@ "smithy.api#jsonName": "deleted" } }, - "createdAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

", - "smithy.api#jsonName": "createdAt" - } - }, - "maximumMatchDistance": { - "target": "com.amazonaws.macie2#__integer", + "description": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern.

", - "smithy.api#jsonName": "maximumMatchDistance" + "smithy.api#documentation": "

The custom description of the custom data identifier.

", + "smithy.api#jsonName": "description" } }, "id": { @@ -3735,25 +3728,25 @@ "smithy.api#jsonName": "id" } }, - "keywords": { + "ignoreWords": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { - "smithy.api#documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.

", - "smithy.api#jsonName": "keywords" + "smithy.api#documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.

", + "smithy.api#jsonName": "ignoreWords" } }, - "description": { - "target": "com.amazonaws.macie2#__string", + "keywords": { + "target": "com.amazonaws.macie2#__listOf__string", "traits": { - "smithy.api#documentation": "

The custom description of the custom data identifier.

", - "smithy.api#jsonName": "description" + "smithy.api#documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.

", + "smithy.api#jsonName": "keywords" } }, - "arn": { - "target": "com.amazonaws.macie2#__string", + "maximumMatchDistance": { + "target": "com.amazonaws.macie2#__integer", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the custom data identifier.

", - "smithy.api#jsonName": "arn" + "smithy.api#documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern.

", + "smithy.api#jsonName": "maximumMatchDistance" } }, "name": { @@ -3769,6 +3762,13 @@ "smithy.api#documentation": "

The regular expression (regex) that defines the pattern to match.

", "smithy.api#jsonName": "regex" } + }, + "tags": { + "target": "com.amazonaws.macie2#TagMap", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.

", + "smithy.api#jsonName": "tags" + } } } }, @@ -3815,11 +3815,11 @@ "com.amazonaws.macie2#GetFindingStatisticsRequest": { "type": "structure", "members": { - "sortCriteria": { - "target": "com.amazonaws.macie2#FindingStatisticsSortCriteria", + "findingCriteria": { + "target": "com.amazonaws.macie2#FindingCriteria", "traits": { - "smithy.api#documentation": "

The criteria to use to sort the query results.

", - "smithy.api#jsonName": "sortCriteria" + "smithy.api#documentation": "

The criteria to use to filter the query results.

", + "smithy.api#jsonName": "findingCriteria" } }, "groupBy": { @@ -3837,11 +3837,11 @@ "smithy.api#jsonName": "size" } }, - "findingCriteria": { - "target": "com.amazonaws.macie2#FindingCriteria", + "sortCriteria": { + "target": "com.amazonaws.macie2#FindingStatisticsSortCriteria", "traits": { - "smithy.api#documentation": "

The criteria to use to filter the query results.

", - "smithy.api#jsonName": "findingCriteria" + "smithy.api#documentation": "

The criteria to use to sort the query results.

", + "smithy.api#jsonName": "sortCriteria" } } } @@ -3954,6 +3954,13 @@ "com.amazonaws.macie2#GetFindingsFilterResponse": { "type": "structure", "members": { + "action": { + "target": "com.amazonaws.macie2#FindingsFilterAction", + "traits": { + "smithy.api#documentation": "

The action that's performed on findings that meet the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", + "smithy.api#jsonName": "action" + } + }, "arn": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -3961,32 +3968,32 @@ "smithy.api#jsonName": "arn" } }, - "id": { + "description": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the filter.

", - "smithy.api#jsonName": "id" + "smithy.api#documentation": "

The custom description of the filter.

", + "smithy.api#jsonName": "description" } }, - "tags": { - "target": "com.amazonaws.macie2#TagMap", + "findingCriteria": { + "target": "com.amazonaws.macie2#FindingCriteria", "traits": { - "smithy.api#documentation": "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.

", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "

The criteria that's used to filter findings.

", + "smithy.api#jsonName": "findingCriteria" } }, - "action": { - "target": "com.amazonaws.macie2#FindingsFilterAction", + "id": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The action that's performed on findings that meet the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", - "smithy.api#jsonName": "action" + "smithy.api#documentation": "

The unique identifier for the filter.

", + "smithy.api#jsonName": "id" } }, - "description": { + "name": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The custom description of the filter.

", - "smithy.api#jsonName": "description" + "smithy.api#documentation": "

The custom name of the filter.

", + "smithy.api#jsonName": "name" } }, "position": { @@ -3996,18 +4003,11 @@ "smithy.api#jsonName": "position" } }, - "name": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The custom name of the filter.

", - "smithy.api#jsonName": "name" - } - }, - "findingCriteria": { - "target": "com.amazonaws.macie2#FindingCriteria", + "tags": { + "target": "com.amazonaws.macie2#TagMap", "traits": { - "smithy.api#documentation": "

The criteria that's used to filter findings.

", - "smithy.api#jsonName": "findingCriteria" + "smithy.api#documentation": "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.

", + "smithy.api#jsonName": "tags" } } } @@ -4015,13 +4015,6 @@ "com.amazonaws.macie2#GetFindingsRequest": { "type": "structure", "members": { - "sortCriteria": { - "target": "com.amazonaws.macie2#SortCriteria", - "traits": { - "smithy.api#documentation": "

The criteria for sorting the results of the request.

", - "smithy.api#jsonName": "sortCriteria" - } - }, "findingIds": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { @@ -4029,6 +4022,13 @@ "smithy.api#jsonName": "findingIds", "smithy.api#required": {} } + }, + "sortCriteria": { + "target": "com.amazonaws.macie2#SortCriteria", + "traits": { + "smithy.api#documentation": "

The criteria for sorting the results of the request.

", + "smithy.api#jsonName": "sortCriteria" + } } } }, @@ -4147,20 +4147,6 @@ "com.amazonaws.macie2#GetMacieSessionResponse": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.macie2#MacieStatus", - "traits": { - "smithy.api#documentation": "

The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Amazon Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Amazon Macie activities are enabled for the account.

", - "smithy.api#jsonName": "status" - } - }, - "updatedAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.

", - "smithy.api#jsonName": "updatedAt" - } - }, "createdAt": { "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { @@ -4181,6 +4167,20 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in AWS resources for the account.

", "smithy.api#jsonName": "serviceRole" } + }, + "status": { + "target": "com.amazonaws.macie2#MacieStatus", + "traits": { + "smithy.api#documentation": "

The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Amazon Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Amazon Macie activities are enabled for the account.

", + "smithy.api#jsonName": "status" + } + }, + "updatedAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.

", + "smithy.api#jsonName": "updatedAt" + } } } }, @@ -4296,20 +4296,6 @@ "com.amazonaws.macie2#GetMemberResponse": { "type": "structure", "members": { - "invitedAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.

", - "smithy.api#jsonName": "invitedAt" - } - }, - "updatedAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.

", - "smithy.api#jsonName": "updatedAt" - } - }, "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -4317,11 +4303,11 @@ "smithy.api#jsonName": "accountId" } }, - "masterAccountId": { + "arn": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The AWS account ID for the master account.

", - "smithy.api#jsonName": "masterAccountId" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the account.

", + "smithy.api#jsonName": "arn" } }, "email": { @@ -4331,18 +4317,18 @@ "smithy.api#jsonName": "email" } }, - "tags": { - "target": "com.amazonaws.macie2#TagMap", + "invitedAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.

", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.

", + "smithy.api#jsonName": "invitedAt" } }, - "arn": { + "masterAccountId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the account.

", - "smithy.api#jsonName": "arn" + "smithy.api#documentation": "

The AWS account ID for the master account.

", + "smithy.api#jsonName": "masterAccountId" } }, "relationshipStatus": { @@ -4351,6 +4337,20 @@ "smithy.api#documentation": "

The current status of the relationship between the account and the master account.

", "smithy.api#jsonName": "relationshipStatus" } + }, + "tags": { + "target": "com.amazonaws.macie2#TagMap", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.

", + "smithy.api#jsonName": "tags" + } + }, + "updatedAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.

", + "smithy.api#jsonName": "updatedAt" + } } } }, @@ -4410,11 +4410,11 @@ "smithy.api#jsonName": "filterBy" } }, - "sortBy": { - "target": "com.amazonaws.macie2#UsageStatisticsSortBy", + "maxResults": { + "target": "com.amazonaws.macie2#__integer", "traits": { - "smithy.api#documentation": "

The criteria to use to sort the query results.

", - "smithy.api#jsonName": "sortBy" + "smithy.api#documentation": "

The maximum number of items to include in each page of the response.

", + "smithy.api#jsonName": "maxResults" } }, "nextToken": { @@ -4424,11 +4424,11 @@ "smithy.api#jsonName": "nextToken" } }, - "maxResults": { - "target": "com.amazonaws.macie2#__integer", + "sortBy": { + "target": "com.amazonaws.macie2#UsageStatisticsSortBy", "traits": { - "smithy.api#documentation": "

The maximum number of items to include in each page of the response.

", - "smithy.api#jsonName": "maxResults" + "smithy.api#documentation": "

The criteria to use to sort the query results.

", + "smithy.api#jsonName": "sortBy" } } } @@ -4436,19 +4436,19 @@ "com.amazonaws.macie2#GetUsageStatisticsResponse": { "type": "structure", "members": { - "records": { - "target": "com.amazonaws.macie2#__listOfUsageRecord", - "traits": { - "smithy.api#documentation": "

An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.

", - "smithy.api#jsonName": "records" - } - }, "nextToken": { "target": "com.amazonaws.macie2#__string", "traits": { "smithy.api#documentation": "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", "smithy.api#jsonName": "nextToken" } + }, + "records": { + "target": "com.amazonaws.macie2#__listOfUsageRecord", + "traits": { + "smithy.api#documentation": "

An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.

", + "smithy.api#jsonName": "records" + } } } }, @@ -4534,19 +4534,19 @@ "com.amazonaws.macie2#GroupCount": { "type": "structure", "members": { - "groupKey": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.

", - "smithy.api#jsonName": "groupKey" - } - }, "count": { "target": "com.amazonaws.macie2#__long", "traits": { "smithy.api#documentation": "

The total number of findings in the group of query results.

", "smithy.api#jsonName": "count" } + }, + "groupKey": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.

", + "smithy.api#jsonName": "groupKey" + } } }, "traits": { @@ -4556,11 +4556,11 @@ "com.amazonaws.macie2#IamUser": { "type": "structure", "members": { - "userName": { + "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The user name of the IAM user who performed the action.

", - "smithy.api#jsonName": "userName" + "smithy.api#documentation": "

The unique identifier for the AWS account that's associated with the IAM user who performed the action.

", + "smithy.api#jsonName": "accountId" } }, "arn": { @@ -4570,18 +4570,18 @@ "smithy.api#jsonName": "arn" } }, - "accountId": { + "principalId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the AWS account that's associated with the IAM user who performed the action.

", - "smithy.api#jsonName": "accountId" + "smithy.api#documentation": "

The unique identifier for the IAM user who performed the action.

", + "smithy.api#jsonName": "principalId" } }, - "principalId": { + "userName": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the IAM user who performed the action.

", - "smithy.api#jsonName": "principalId" + "smithy.api#documentation": "

The user name of the IAM user who performed the action.

", + "smithy.api#jsonName": "userName" } } }, @@ -4609,13 +4609,6 @@ "com.amazonaws.macie2#Invitation": { "type": "structure", "members": { - "invitedAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.

", - "smithy.api#jsonName": "invitedAt" - } - }, "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -4623,19 +4616,26 @@ "smithy.api#jsonName": "accountId" } }, - "relationshipStatus": { - "target": "com.amazonaws.macie2#RelationshipStatus", - "traits": { - "smithy.api#documentation": "

The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).

", - "smithy.api#jsonName": "relationshipStatus" - } - }, "invitationId": { "target": "com.amazonaws.macie2#__string", "traits": { "smithy.api#documentation": "

The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.

", "smithy.api#jsonName": "invitationId" } + }, + "invitedAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.

", + "smithy.api#jsonName": "invitedAt" + } + }, + "relationshipStatus": { + "target": "com.amazonaws.macie2#RelationshipStatus", + "traits": { + "smithy.api#documentation": "

The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).

", + "smithy.api#jsonName": "relationshipStatus" + } } }, "traits": { @@ -4645,20 +4645,6 @@ "com.amazonaws.macie2#IpAddressDetails": { "type": "structure", "members": { - "ipCity": { - "target": "com.amazonaws.macie2#IpCity", - "traits": { - "smithy.api#documentation": "

The city that the IP address originated from.

", - "smithy.api#jsonName": "ipCity" - } - }, - "ipGeoLocation": { - "target": "com.amazonaws.macie2#IpGeoLocation", - "traits": { - "smithy.api#documentation": "

The geographic coordinates of the location that the IP address originated from.

", - "smithy.api#jsonName": "ipGeoLocation" - } - }, "ipAddressV4": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -4666,6 +4652,13 @@ "smithy.api#jsonName": "ipAddressV4" } }, + "ipCity": { + "target": "com.amazonaws.macie2#IpCity", + "traits": { + "smithy.api#documentation": "

The city that the IP address originated from.

", + "smithy.api#jsonName": "ipCity" + } + }, "ipCountry": { "target": "com.amazonaws.macie2#IpCountry", "traits": { @@ -4673,6 +4666,13 @@ "smithy.api#jsonName": "ipCountry" } }, + "ipGeoLocation": { + "target": "com.amazonaws.macie2#IpGeoLocation", + "traits": { + "smithy.api#documentation": "

The geographic coordinates of the location that the IP address originated from.

", + "smithy.api#jsonName": "ipGeoLocation" + } + }, "ipOwner": { "target": "com.amazonaws.macie2#IpOwner", "traits": { @@ -4703,18 +4703,18 @@ "com.amazonaws.macie2#IpCountry": { "type": "structure", "members": { - "name": { + "code": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The name of the country that the IP address originated from.

", - "smithy.api#jsonName": "name" + "smithy.api#documentation": "

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

", + "smithy.api#jsonName": "code" } }, - "code": { + "name": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

", - "smithy.api#jsonName": "code" + "smithy.api#documentation": "

The name of the country that the IP address originated from.

", + "smithy.api#jsonName": "name" } } }, @@ -4761,18 +4761,18 @@ "smithy.api#jsonName": "asnOrg" } }, - "org": { + "isp": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The name of the organization that owned the IP address.

", - "smithy.api#jsonName": "org" + "smithy.api#documentation": "

The name of the internet service provider (ISP) that owned the IP address.

", + "smithy.api#jsonName": "isp" } }, - "isp": { + "org": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The name of the internet service provider (ISP) that owned the IP address.

", - "smithy.api#jsonName": "isp" + "smithy.api#documentation": "

The name of the organization that owned the IP address.

", + "smithy.api#jsonName": "org" } } }, @@ -4819,6 +4819,13 @@ "com.amazonaws.macie2#JobScheduleFrequency": { "type": "structure", "members": { + "dailySchedule": { + "target": "com.amazonaws.macie2#DailySchedule", + "traits": { + "smithy.api#documentation": "

Specifies a daily recurrence pattern for running the job.

", + "smithy.api#jsonName": "dailySchedule" + } + }, "monthlySchedule": { "target": "com.amazonaws.macie2#MonthlySchedule", "traits": { @@ -4832,13 +4839,6 @@ "smithy.api#documentation": "

Specifies a weekly recurrence pattern for running the job.

", "smithy.api#jsonName": "weeklySchedule" } - }, - "dailySchedule": { - "target": "com.amazonaws.macie2#DailySchedule", - "traits": { - "smithy.api#documentation": "

Specifies a daily recurrence pattern for running the job.

", - "smithy.api#jsonName": "dailySchedule" - } } }, "traits": { @@ -4848,19 +4848,19 @@ "com.amazonaws.macie2#JobScopeTerm": { "type": "structure", "members": { - "tagScopeTerm": { - "target": "com.amazonaws.macie2#TagScopeTerm", - "traits": { - "smithy.api#documentation": "

A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an object from the job.

", - "smithy.api#jsonName": "tagScopeTerm" - } - }, "simpleScopeTerm": { "target": "com.amazonaws.macie2#SimpleScopeTerm", "traits": { "smithy.api#documentation": "

A property-based condition that defines a property, operator, and one or more values for including or excluding an object from the job.

", "smithy.api#jsonName": "simpleScopeTerm" } + }, + "tagScopeTerm": { + "target": "com.amazonaws.macie2#TagScopeTerm", + "traits": { + "smithy.api#documentation": "

A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an object from the job.

", + "smithy.api#jsonName": "tagScopeTerm" + } } }, "traits": { @@ -4917,6 +4917,13 @@ "com.amazonaws.macie2#JobSummary": { "type": "structure", "members": { + "bucketDefinitions": { + "target": "com.amazonaws.macie2#__listOfS3BucketDefinitionForJob", + "traits": { + "smithy.api#documentation": "

The S3 buckets that the job is configured to analyze.

", + "smithy.api#jsonName": "bucketDefinitions" + } + }, "createdAt": { "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { @@ -4931,20 +4938,6 @@ "smithy.api#jsonName": "jobId" } }, - "jobType": { - "target": "com.amazonaws.macie2#JobType", - "traits": { - "smithy.api#documentation": "

The schedule for running the job. Possible values are:

", - "smithy.api#jsonName": "jobType" - } - }, - "userPausedDetails": { - "target": "com.amazonaws.macie2#UserPausedDetails", - "traits": { - "smithy.api#documentation": "

If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.

", - "smithy.api#jsonName": "userPausedDetails" - } - }, "jobStatus": { "target": "com.amazonaws.macie2#JobStatus", "traits": { @@ -4952,11 +4945,11 @@ "smithy.api#jsonName": "jobStatus" } }, - "bucketDefinitions": { - "target": "com.amazonaws.macie2#__listOfS3BucketDefinitionForJob", + "jobType": { + "target": "com.amazonaws.macie2#JobType", "traits": { - "smithy.api#documentation": "

The S3 buckets that the job is configured to analyze.

", - "smithy.api#jsonName": "bucketDefinitions" + "smithy.api#documentation": "

The schedule for running the job. Possible values are:

", + "smithy.api#jsonName": "jobType" } }, "name": { @@ -4965,6 +4958,13 @@ "smithy.api#documentation": "

The custom name of the job.

", "smithy.api#jsonName": "name" } + }, + "userPausedDetails": { + "target": "com.amazonaws.macie2#UserPausedDetails", + "traits": { + "smithy.api#documentation": "

If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.

", + "smithy.api#jsonName": "userPausedDetails" + } } }, "traits": { @@ -4990,18 +4990,18 @@ "com.amazonaws.macie2#KeyValuePair": { "type": "structure", "members": { - "value": { + "key": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be empty or null.

", - "smithy.api#jsonName": "value" + "smithy.api#documentation": "

One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.

", + "smithy.api#jsonName": "key" } }, - "key": { + "value": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.

", - "smithy.api#jsonName": "key" + "smithy.api#documentation": "

One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be empty or null.

", + "smithy.api#jsonName": "value" } } }, @@ -5067,6 +5067,13 @@ "com.amazonaws.macie2#ListClassificationJobsRequest": { "type": "structure", "members": { + "filterCriteria": { + "target": "com.amazonaws.macie2#ListJobsFilterCriteria", + "traits": { + "smithy.api#documentation": "

The criteria to use to filter the results.

", + "smithy.api#jsonName": "filterCriteria" + } + }, "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { @@ -5087,32 +5094,25 @@ "smithy.api#documentation": "

The criteria to use to sort the results.

", "smithy.api#jsonName": "sortCriteria" } - }, - "filterCriteria": { - "target": "com.amazonaws.macie2#ListJobsFilterCriteria", - "traits": { - "smithy.api#documentation": "

The criteria to use to filter the results.

", - "smithy.api#jsonName": "filterCriteria" - } } } }, "com.amazonaws.macie2#ListClassificationJobsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", - "smithy.api#jsonName": "nextToken" - } - }, "items": { "target": "com.amazonaws.macie2#__listOfJobSummary", "traits": { "smithy.api#documentation": "

An array of objects, one for each job that meets the filter criteria specified in the request.

", "smithy.api#jsonName": "items" } + }, + "nextToken": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", + "smithy.api#jsonName": "nextToken" + } } } }, @@ -5184,19 +5184,19 @@ "com.amazonaws.macie2#ListCustomDataIdentifiersResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", - "smithy.api#jsonName": "nextToken" - } - }, "items": { "target": "com.amazonaws.macie2#__listOfCustomDataIdentifierSummary", "traits": { "smithy.api#documentation": "

An array of objects, one for each custom data identifier.

", "smithy.api#jsonName": "items" } + }, + "nextToken": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", + "smithy.api#jsonName": "nextToken" + } } } }, @@ -5314,18 +5314,18 @@ "com.amazonaws.macie2#ListFindingsFiltersResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.macie2#__string", + "findingsFilterListItems": { + "target": "com.amazonaws.macie2#__listOfFindingsFilterListItem", "traits": { - "smithy.api#documentation": "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", - "smithy.api#jsonName": "nextToken" + "smithy.api#documentation": "

An array of objects, one for each filter that's associated with the account.

", + "smithy.api#jsonName": "findingsFilterListItems" } }, - "findingsFilterListItems": { - "target": "com.amazonaws.macie2#__listOfFindingsFilterListItem", + "nextToken": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

An array of objects, one for each filter that's associated with the account.

", - "smithy.api#jsonName": "findingsFilterListItems" + "smithy.api#documentation": "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", + "smithy.api#jsonName": "nextToken" } } } @@ -5333,6 +5333,13 @@ "com.amazonaws.macie2#ListFindingsRequest": { "type": "structure", "members": { + "findingCriteria": { + "target": "com.amazonaws.macie2#FindingCriteria", + "traits": { + "smithy.api#documentation": "

The criteria to use to filter the results.

", + "smithy.api#jsonName": "findingCriteria" + } + }, "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { @@ -5340,13 +5347,6 @@ "smithy.api#jsonName": "maxResults" } }, - "sortCriteria": { - "target": "com.amazonaws.macie2#SortCriteria", - "traits": { - "smithy.api#documentation": "

The criteria to use to sort the results.

", - "smithy.api#jsonName": "sortCriteria" - } - }, "nextToken": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -5354,11 +5354,11 @@ "smithy.api#jsonName": "nextToken" } }, - "findingCriteria": { - "target": "com.amazonaws.macie2#FindingCriteria", + "sortCriteria": { + "target": "com.amazonaws.macie2#SortCriteria", "traits": { - "smithy.api#documentation": "

The criteria to use to filter the results.

", - "smithy.api#jsonName": "findingCriteria" + "smithy.api#documentation": "

The criteria to use to sort the results.

", + "smithy.api#jsonName": "sortCriteria" } } } @@ -5431,38 +5431,38 @@ "com.amazonaws.macie2#ListInvitationsRequest": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The nextToken string that specifies which page of results to return in a paginated response.

", - "smithy.api#httpQuery": "nextToken" - } - }, "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of items to include in each page of a paginated response.

", "smithy.api#httpQuery": "maxResults" } + }, + "nextToken": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The nextToken string that specifies which page of results to return in a paginated response.

", + "smithy.api#httpQuery": "nextToken" + } } } }, "com.amazonaws.macie2#ListInvitationsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", - "smithy.api#jsonName": "nextToken" - } - }, "invitations": { "target": "com.amazonaws.macie2#__listOfInvitation", "traits": { "smithy.api#documentation": "

An array of objects, one for each invitation that was received by the account.

", "smithy.api#jsonName": "invitations" } + }, + "nextToken": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", + "smithy.api#jsonName": "nextToken" + } } } }, @@ -5515,11 +5515,11 @@ "com.amazonaws.macie2#ListJobsFilterTerm": { "type": "structure", "members": { - "values": { - "target": "com.amazonaws.macie2#__listOf__string", + "comparator": { + "target": "com.amazonaws.macie2#JobComparator", "traits": { - "smithy.api#documentation": "

An array that lists one or more values to use to filter the results.

", - "smithy.api#jsonName": "values" + "smithy.api#documentation": "

The operator to use to filter the results.

", + "smithy.api#jsonName": "comparator" } }, "key": { @@ -5529,11 +5529,11 @@ "smithy.api#jsonName": "key" } }, - "comparator": { - "target": "com.amazonaws.macie2#JobComparator", + "values": { + "target": "com.amazonaws.macie2#__listOf__string", "traits": { - "smithy.api#documentation": "

The operator to use to filter the results.

", - "smithy.api#jsonName": "comparator" + "smithy.api#documentation": "

An array that lists one or more values to use to filter the results.

", + "smithy.api#jsonName": "values" } } }, @@ -5568,19 +5568,19 @@ "com.amazonaws.macie2#ListJobsSortCriteria": { "type": "structure", "members": { - "orderBy": { - "target": "com.amazonaws.macie2#OrderBy", - "traits": { - "smithy.api#documentation": "

The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

", - "smithy.api#jsonName": "orderBy" - } - }, "attributeName": { "target": "com.amazonaws.macie2#ListJobsSortAttributeName", "traits": { "smithy.api#documentation": "

The property to sort the results by.

", "smithy.api#jsonName": "attributeName" } + }, + "orderBy": { + "target": "com.amazonaws.macie2#OrderBy", + "traits": { + "smithy.api#documentation": "

The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

", + "smithy.api#jsonName": "orderBy" + } } }, "traits": { @@ -5636,13 +5636,6 @@ "com.amazonaws.macie2#ListMembersRequest": { "type": "structure", "members": { - "onlyAssociated": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

Specifies which accounts to include in the response, based on the status of an account's relationship with the master account. By default, the response includes only current member accounts. To include all accounts, set the value for this parameter to false.

", - "smithy.api#httpQuery": "onlyAssociated" - } - }, "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { @@ -5656,6 +5649,13 @@ "smithy.api#documentation": "

The nextToken string that specifies which page of results to return in a paginated response.

", "smithy.api#httpQuery": "nextToken" } + }, + "onlyAssociated": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

Specifies which accounts to include in the response, based on the status of an account's relationship with the master account. By default, the response includes only current member accounts. To include all accounts, set the value for this parameter to false.

", + "smithy.api#httpQuery": "onlyAssociated" + } } } }, @@ -6005,18 +6005,25 @@ "com.amazonaws.macie2#Member": { "type": "structure", "members": { - "relationshipStatus": { - "target": "com.amazonaws.macie2#RelationshipStatus", + "accountId": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The current status of the relationship between the account and the master account.

", - "smithy.api#jsonName": "relationshipStatus" + "smithy.api#documentation": "

The AWS account ID for the account.

", + "smithy.api#jsonName": "accountId" } }, - "tags": { - "target": "com.amazonaws.macie2#TagMap", + "arn": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the account in Amazon Macie.

", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the account.

", + "smithy.api#jsonName": "arn" + } + }, + "email": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The email address for the account.

", + "smithy.api#jsonName": "email" } }, "invitedAt": { @@ -6026,13 +6033,6 @@ "smithy.api#jsonName": "invitedAt" } }, - "accountId": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The AWS account ID for the account.

", - "smithy.api#jsonName": "accountId" - } - }, "masterAccountId": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -6040,11 +6040,18 @@ "smithy.api#jsonName": "masterAccountId" } }, - "arn": { - "target": "com.amazonaws.macie2#__string", + "relationshipStatus": { + "target": "com.amazonaws.macie2#RelationshipStatus", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the account.

", - "smithy.api#jsonName": "arn" + "smithy.api#documentation": "

The current status of the relationship between the account and the master account.

", + "smithy.api#jsonName": "relationshipStatus" + } + }, + "tags": { + "target": "com.amazonaws.macie2#TagMap", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the account in Amazon Macie.

", + "smithy.api#jsonName": "tags" } }, "updatedAt": { @@ -6053,13 +6060,6 @@ "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.

", "smithy.api#jsonName": "updatedAt" } - }, - "email": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The email address for the account.

", - "smithy.api#jsonName": "email" - } } }, "traits": { @@ -6084,32 +6084,32 @@ "com.amazonaws.macie2#ObjectCountByEncryptionType": { "type": "structure", "members": { - "unencrypted": { + "customerManaged": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of objects that aren't encrypted or use client-side encryption.

", - "smithy.api#jsonName": "unencrypted" + "smithy.api#documentation": "

The total number of objects that are encrypted using a customer-managed key. The objects use customer-provided server-side (SSE-C) encryption.

", + "smithy.api#jsonName": "customerManaged" } }, - "s3Managed": { + "kmsManaged": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of objects that are encrypted using an Amazon S3-managed key. The objects use Amazon S3-managed (SSE-S3) encryption.

", - "smithy.api#jsonName": "s3Managed" + "smithy.api#documentation": "

The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.

", + "smithy.api#jsonName": "kmsManaged" } }, - "kmsManaged": { + "s3Managed": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.

", - "smithy.api#jsonName": "kmsManaged" + "smithy.api#documentation": "

The total number of objects that are encrypted using an Amazon S3-managed key. The objects use Amazon S3-managed (SSE-S3) encryption.

", + "smithy.api#jsonName": "s3Managed" } }, - "customerManaged": { + "unencrypted": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total number of objects that are encrypted using a customer-managed key. The objects use customer-provided server-side (SSE-C) encryption.

", - "smithy.api#jsonName": "customerManaged" + "smithy.api#documentation": "

The total number of objects that aren't encrypted or use client-side encryption.

", + "smithy.api#jsonName": "unencrypted" } } }, @@ -6127,18 +6127,18 @@ "smithy.api#jsonName": "fileType" } }, - "total": { + "storageClass": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class or don't have a file name extension for a supported file or storage format.

", - "smithy.api#jsonName": "total" + "smithy.api#documentation": "

The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class.

", + "smithy.api#jsonName": "storageClass" } }, - "storageClass": { + "total": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class.

", - "smithy.api#jsonName": "storageClass" + "smithy.api#documentation": "

The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class or don't have a file name extension for a supported file or storage format.

", + "smithy.api#jsonName": "total" } } }, @@ -6149,18 +6149,18 @@ "com.amazonaws.macie2#Occurrences": { "type": "structure", "members": { - "records": { - "target": "com.amazonaws.macie2#Records", + "cells": { + "target": "com.amazonaws.macie2#Cells", "traits": { - "smithy.api#documentation": "

An array of objects, one for each occurrence of sensitive data in an Apache Parquet file. Each object specifies the row that contains the data. This value is null for all other types of files.

", - "smithy.api#jsonName": "records" + "smithy.api#documentation": "

An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. Each object specifies the cell or field that contains the data. This value is null for all other types of files.

", + "smithy.api#jsonName": "cells" } }, - "pages": { - "target": "com.amazonaws.macie2#Pages", + "lineRanges": { + "target": "com.amazonaws.macie2#Ranges", "traits": { - "smithy.api#documentation": "

An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data, and the position of the data on that page. This value is null for all other types of files.

", - "smithy.api#jsonName": "pages" + "smithy.api#documentation": "

An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.

This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of: data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.

", + "smithy.api#jsonName": "lineRanges" } }, "offsetRanges": { @@ -6170,18 +6170,18 @@ "smithy.api#jsonName": "offsetRanges" } }, - "cells": { - "target": "com.amazonaws.macie2#Cells", + "pages": { + "target": "com.amazonaws.macie2#Pages", "traits": { - "smithy.api#documentation": "

An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. Each object specifies the cell that contains the data. This value is null for all other types of files.

", - "smithy.api#jsonName": "cells" + "smithy.api#documentation": "

An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data, and the position of the data on that page. This value is null for all other types of files.

", + "smithy.api#jsonName": "pages" } }, - "lineRanges": { - "target": "com.amazonaws.macie2#Ranges", + "records": { + "target": "com.amazonaws.macie2#Records", "traits": { - "smithy.api#documentation": "

An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, Microsoft Word document, or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.

This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.

", - "smithy.api#jsonName": "lineRanges" + "smithy.api#documentation": "

An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache Parquet file. Each object specifies the field or record that contains the data. This value is null for all other types of files.

", + "smithy.api#jsonName": "records" } } }, @@ -6245,19 +6245,19 @@ "com.amazonaws.macie2#PolicyDetails": { "type": "structure", "members": { - "actor": { - "target": "com.amazonaws.macie2#FindingActor", - "traits": { - "smithy.api#documentation": "

The entity that performed the action that produced the finding.

", - "smithy.api#jsonName": "actor" - } - }, "action": { "target": "com.amazonaws.macie2#FindingAction", "traits": { "smithy.api#documentation": "

The action that produced the finding.

", "smithy.api#jsonName": "action" } + }, + "actor": { + "target": "com.amazonaws.macie2#FindingActor", + "traits": { + "smithy.api#documentation": "

The entity that performed the action that produced the finding.

", + "smithy.api#jsonName": "actor" + } } }, "traits": { @@ -6355,7 +6355,7 @@ } }, "traits": { - "smithy.api#documentation": "

Provides details about the location of an occurrence of sensitive data in an Adobe Portable Document Format file, Apache Avro object container, Microsoft Word document, or non-binary text file.

" + "smithy.api#documentation": "

Provides details about the location of an occurrence of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.

" } }, "com.amazonaws.macie2#Ranges": { @@ -6364,22 +6364,29 @@ "target": "com.amazonaws.macie2#Range" }, "traits": { - "smithy.api#documentation": "

Provides details about the location of occurrences of sensitive data in an Adobe Portable Document Format file, Apache Avro object container, Microsoft Word document, or non-binary text file.

" + "smithy.api#documentation": "

Provides details about the location of occurrences of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.

" } }, "com.amazonaws.macie2#Record": { "type": "structure", "members": { + "jsonPath": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The path, as a JSONPath expression, to the field (in an Apache Avro object container) or record (in an Apache Parquet file) that contains the data.

If the name of an element exceeds 20 characters, Amazon Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.

", + "smithy.api#jsonName": "jsonPath" + } + }, "recordIndex": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The row index, starting from 0, for the row that contains the data.

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

The record index, starting from 0, for the record that contains the data.

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

Specifies the location of an occurrence of sensitive data in an Apache Parquet file.

" + "smithy.api#documentation": "

Specifies the location of an occurrence of sensitive data in an Apache Avro object container or Apache Parquet file.

" } }, "com.amazonaws.macie2#Records": { @@ -6517,18 +6524,11 @@ "smithy.api#jsonName": "arn" } }, - "owner": { - "target": "com.amazonaws.macie2#S3BucketOwner", - "traits": { - "smithy.api#documentation": "

The display name and account identifier for the user who owns the bucket.

", - "smithy.api#jsonName": "owner" - } - }, - "publicAccess": { - "target": "com.amazonaws.macie2#BucketPublicAccess", + "createdAt": { + "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

The permissions settings that determine whether the bucket is publicly accessible.

", - "smithy.api#jsonName": "publicAccess" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

", + "smithy.api#jsonName": "createdAt" } }, "defaultServerSideEncryption": { @@ -6541,8 +6541,22 @@ "name": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The name of the bucket.

", - "smithy.api#jsonName": "name" + "smithy.api#documentation": "

The name of the bucket.

", + "smithy.api#jsonName": "name" + } + }, + "owner": { + "target": "com.amazonaws.macie2#S3BucketOwner", + "traits": { + "smithy.api#documentation": "

The display name and account identifier for the user who owns the bucket.

", + "smithy.api#jsonName": "owner" + } + }, + "publicAccess": { + "target": "com.amazonaws.macie2#BucketPublicAccess", + "traits": { + "smithy.api#documentation": "

The permissions settings that determine whether the bucket is publicly accessible.

", + "smithy.api#jsonName": "publicAccess" } }, "tags": { @@ -6551,13 +6565,6 @@ "smithy.api#documentation": "

The tags that are associated with the bucket.

", "smithy.api#jsonName": "tags" } - }, - "createdAt": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

", - "smithy.api#jsonName": "createdAt" - } } }, "traits": { @@ -6567,19 +6574,19 @@ "com.amazonaws.macie2#S3BucketDefinitionForJob": { "type": "structure", "members": { - "buckets": { - "target": "com.amazonaws.macie2#__listOf__string", - "traits": { - "smithy.api#documentation": "

An array that lists the names of the buckets.

", - "smithy.api#jsonName": "buckets" - } - }, "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { "smithy.api#documentation": "

The unique identifier for the AWS account that owns one or more of the buckets. If specified, the job analyzes objects in all the buckets that are owned by the account and meet other conditions specified for the job.

", "smithy.api#jsonName": "accountId" } + }, + "buckets": { + "target": "com.amazonaws.macie2#__listOf__string", + "traits": { + "smithy.api#documentation": "

An array that lists the names of the buckets.

", + "smithy.api#jsonName": "buckets" + } } }, "traits": { @@ -6589,18 +6596,18 @@ "com.amazonaws.macie2#S3BucketOwner": { "type": "structure", "members": { - "id": { + "displayName": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The AWS account ID for the user who owns the bucket.

", - "smithy.api#jsonName": "id" + "smithy.api#documentation": "

The display name of the user who owns the bucket.

", + "smithy.api#jsonName": "displayName" } }, - "displayName": { + "id": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The display name of the user who owns the bucket.

", - "smithy.api#jsonName": "displayName" + "smithy.api#documentation": "

The AWS account ID for the user who owns the bucket.

", + "smithy.api#jsonName": "id" } } }, @@ -6642,19 +6649,19 @@ "com.amazonaws.macie2#S3JobDefinition": { "type": "structure", "members": { - "scoping": { - "target": "com.amazonaws.macie2#Scoping", - "traits": { - "smithy.api#documentation": "

The property- and tag-based conditions that determine which objects to include or exclude from the analysis.

", - "smithy.api#jsonName": "scoping" - } - }, "bucketDefinitions": { "target": "com.amazonaws.macie2#__listOfS3BucketDefinitionForJob", "traits": { "smithy.api#documentation": "

An array of objects, one for each bucket that contains objects to analyze.

", "smithy.api#jsonName": "bucketDefinitions" } + }, + "scoping": { + "target": "com.amazonaws.macie2#Scoping", + "traits": { + "smithy.api#documentation": "

The property- and tag-based conditions that determine which objects to include or exclude from the analysis.

", + "smithy.api#jsonName": "scoping" + } } }, "traits": { @@ -6664,6 +6671,13 @@ "com.amazonaws.macie2#S3Object": { "type": "structure", "members": { + "bucketArn": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the bucket that contains the object.

", + "smithy.api#jsonName": "bucketArn" + } + }, "eTag": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -6671,11 +6685,25 @@ "smithy.api#jsonName": "eTag" } }, - "tags": { - "target": "com.amazonaws.macie2#KeyValuePairList", + "extension": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The tags that are associated with the object.

", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "

The file name extension of the object. If the object doesn't have a file name extension, this value is \"\".

", + "smithy.api#jsonName": "extension" + } + }, + "key": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The full key (name) that's assigned to the object.

", + "smithy.api#jsonName": "key" + } + }, + "lastModified": { + "target": "com.amazonaws.macie2#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

", + "smithy.api#jsonName": "lastModified" } }, "path": { @@ -6692,13 +6720,6 @@ "smithy.api#jsonName": "publicAccess" } }, - "extension": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The file name extension of the object. If the object doesn't have a file name extension, this value is \"\".

", - "smithy.api#jsonName": "extension" - } - }, "serverSideEncryption": { "target": "com.amazonaws.macie2#ServerSideEncryption", "traits": { @@ -6706,11 +6727,11 @@ "smithy.api#jsonName": "serverSideEncryption" } }, - "key": { - "target": "com.amazonaws.macie2#__string", + "size": { + "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "

The full key (name) that's assigned to the object.

", - "smithy.api#jsonName": "key" + "smithy.api#documentation": "

The total storage size, in bytes, of the object.

", + "smithy.api#jsonName": "size" } }, "storageClass": { @@ -6720,11 +6741,11 @@ "smithy.api#jsonName": "storageClass" } }, - "size": { - "target": "com.amazonaws.macie2#__long", + "tags": { + "target": "com.amazonaws.macie2#KeyValuePairList", "traits": { - "smithy.api#documentation": "

The total storage size, in bytes, of the object.

", - "smithy.api#jsonName": "size" + "smithy.api#documentation": "

The tags that are associated with the object.

", + "smithy.api#jsonName": "tags" } }, "versionId": { @@ -6733,20 +6754,6 @@ "smithy.api#documentation": "

The identifier for the affected version of the object.

", "smithy.api#jsonName": "versionId" } - }, - "bucketArn": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the bucket that contains the object.

", - "smithy.api#jsonName": "bucketArn" - } - }, - "lastModified": { - "target": "com.amazonaws.macie2#__timestampIso8601", - "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

", - "smithy.api#jsonName": "lastModified" - } } }, "traits": { @@ -6784,18 +6791,18 @@ "com.amazonaws.macie2#Scoping": { "type": "structure", "members": { - "includes": { + "excludes": { "target": "com.amazonaws.macie2#JobScopingBlock", "traits": { - "smithy.api#documentation": "

The property- or tag-based conditions that determine which objects to include in the analysis.

", - "smithy.api#jsonName": "includes" + "smithy.api#documentation": "

The property- or tag-based conditions that determine which objects to exclude from the analysis.

", + "smithy.api#jsonName": "excludes" } }, - "excludes": { + "includes": { "target": "com.amazonaws.macie2#JobScopingBlock", "traits": { - "smithy.api#documentation": "

The property- or tag-based conditions that determine which objects to exclude from the analysis.

", - "smithy.api#jsonName": "excludes" + "smithy.api#documentation": "

The property- or tag-based conditions that determine which objects to include in the analysis.

", + "smithy.api#jsonName": "includes" } } }, @@ -6815,13 +6822,6 @@ "com.amazonaws.macie2#SensitiveDataItem": { "type": "structure", "members": { - "totalCount": { - "target": "com.amazonaws.macie2#__long", - "traits": { - "smithy.api#documentation": "

The total number of occurrences of the sensitive data that was detected.

", - "smithy.api#jsonName": "totalCount" - } - }, "category": { "target": "com.amazonaws.macie2#SensitiveDataItemCategory", "traits": { @@ -6835,6 +6835,13 @@ "smithy.api#documentation": "

An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.

", "smithy.api#jsonName": "detections" } + }, + "totalCount": { + "target": "com.amazonaws.macie2#__long", + "traits": { + "smithy.api#documentation": "

The total number of occurrences of the sensitive data that was detected.

", + "smithy.api#jsonName": "totalCount" + } } }, "traits": { @@ -6890,13 +6897,6 @@ "com.amazonaws.macie2#ServiceLimit": { "type": "structure", "members": { - "unit": { - "target": "com.amazonaws.macie2#Unit", - "traits": { - "smithy.api#documentation": "

The unit of measurement for the value specified by the value field.

", - "smithy.api#jsonName": "unit" - } - }, "isServiceLimited": { "target": "com.amazonaws.macie2#__boolean", "traits": { @@ -6904,6 +6904,13 @@ "smithy.api#jsonName": "isServiceLimited" } }, + "unit": { + "target": "com.amazonaws.macie2#Unit", + "traits": { + "smithy.api#documentation": "

The unit of measurement for the value specified by the value field.

", + "smithy.api#jsonName": "unit" + } + }, "value": { "target": "com.amazonaws.macie2#__long", "traits": { @@ -6958,19 +6965,19 @@ "com.amazonaws.macie2#SessionContextAttributes": { "type": "structure", "members": { - "mfaAuthenticated": { - "target": "com.amazonaws.macie2#__boolean", - "traits": { - "smithy.api#documentation": "

Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.

", - "smithy.api#jsonName": "mfaAuthenticated" - } - }, "creationDate": { "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date and time, in UTC and ISO 8601 format, when the credentials were issued.

", "smithy.api#jsonName": "creationDate" } + }, + "mfaAuthenticated": { + "target": "com.amazonaws.macie2#__boolean", + "traits": { + "smithy.api#documentation": "

Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.

", + "smithy.api#jsonName": "mfaAuthenticated" + } } }, "traits": { @@ -6987,32 +6994,32 @@ "smithy.api#jsonName": "accountId" } }, - "type": { + "arn": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The source of the temporary security credentials, such as Root, IAMUser, or Role.

", - "smithy.api#jsonName": "type" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source account, IAM user, or role that was used to get the credentials.

", + "smithy.api#jsonName": "arn" } }, - "userName": { + "principalId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.

", - "smithy.api#jsonName": "userName" + "smithy.api#documentation": "

The unique identifier for the entity that was used to get the credentials.

", + "smithy.api#jsonName": "principalId" } }, - "arn": { + "type": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source account, IAM user, or role that was used to get the credentials.

", - "smithy.api#jsonName": "arn" + "smithy.api#documentation": "

The source of the temporary security credentials, such as Root, IAMUser, or Role.

", + "smithy.api#jsonName": "type" } }, - "principalId": { + "userName": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the entity that was used to get the credentials.

", - "smithy.api#jsonName": "principalId" + "smithy.api#documentation": "

The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.

", + "smithy.api#jsonName": "userName" } } }, @@ -7023,19 +7030,19 @@ "com.amazonaws.macie2#Severity": { "type": "structure", "members": { - "score": { - "target": "com.amazonaws.macie2#__long", - "traits": { - "smithy.api#documentation": "

The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).

", - "smithy.api#jsonName": "score" - } - }, "description": { "target": "com.amazonaws.macie2#SeverityDescription", "traits": { "smithy.api#documentation": "

The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).

", "smithy.api#jsonName": "description" } + }, + "score": { + "target": "com.amazonaws.macie2#__long", + "traits": { + "smithy.api#documentation": "

The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).

", + "smithy.api#jsonName": "score" + } } }, "traits": { @@ -7095,19 +7102,19 @@ "smithy.api#jsonName": "comparator" } }, - "values": { - "target": "com.amazonaws.macie2#__listOf__string", - "traits": { - "smithy.api#documentation": "

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION, this array can specify multiple values and Amazon Macie uses an OR operator to join the values. Otherwise, this array can specify only one value. Valid values for each supported property (key) are:

", - "smithy.api#jsonName": "values" - } - }, "key": { "target": "com.amazonaws.macie2#ScopeFilterKey", "traits": { "smithy.api#documentation": "

The object property to use in the condition.

", "smithy.api#jsonName": "key" } + }, + "values": { + "target": "com.amazonaws.macie2#__listOf__string", + "traits": { + "smithy.api#documentation": "

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION, this array can specify multiple values and Amazon Macie uses an OR operator to join the values. Otherwise, this array can specify only one value. Valid values for each supported property (key) are:

", + "smithy.api#jsonName": "values" + } } }, "traits": { @@ -7117,19 +7124,19 @@ "com.amazonaws.macie2#SortCriteria": { "type": "structure", "members": { - "orderBy": { - "target": "com.amazonaws.macie2#OrderBy", - "traits": { - "smithy.api#documentation": "

The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

", - "smithy.api#jsonName": "orderBy" - } - }, "attributeName": { "target": "com.amazonaws.macie2#__string", "traits": { "smithy.api#documentation": "

The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.

", "smithy.api#jsonName": "attributeName" } + }, + "orderBy": { + "target": "com.amazonaws.macie2#OrderBy", + "traits": { + "smithy.api#documentation": "

The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

", + "smithy.api#jsonName": "orderBy" + } } }, "traits": { @@ -7226,14 +7233,6 @@ "com.amazonaws.macie2#TagResourceRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.macie2#TagMap", - "traits": { - "smithy.api#documentation": "

A map of key-value pairs that specifies the tags to associate with the resource.

A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", - "smithy.api#jsonName": "tags", - "smithy.api#required": {} - } - }, "resourceArn": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -7241,6 +7240,14 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "tags": { + "target": "com.amazonaws.macie2#TagMap", + "traits": { + "smithy.api#documentation": "

A map of key-value pairs that specifies the tags to associate with the resource.

A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", + "smithy.api#jsonName": "tags", + "smithy.api#required": {} + } } } }, @@ -7251,11 +7258,11 @@ "com.amazonaws.macie2#TagScopeTerm": { "type": "structure", "members": { - "tagValues": { - "target": "com.amazonaws.macie2#__listOfTagValuePair", + "comparator": { + "target": "com.amazonaws.macie2#JobComparator", "traits": { - "smithy.api#documentation": "

The tag keys or tag key and value pairs to use in the condition.

", - "smithy.api#jsonName": "tagValues" + "smithy.api#documentation": "

The operator to use in the condition. Valid operators are EQ (equals) or NE (not equals).

", + "smithy.api#jsonName": "comparator" } }, "key": { @@ -7265,19 +7272,19 @@ "smithy.api#jsonName": "key" } }, + "tagValues": { + "target": "com.amazonaws.macie2#__listOfTagValuePair", + "traits": { + "smithy.api#documentation": "

The tag keys or tag key and value pairs to use in the condition.

", + "smithy.api#jsonName": "tagValues" + } + }, "target": { "target": "com.amazonaws.macie2#TagTarget", "traits": { "smithy.api#documentation": "

The type of object to apply the condition to.

", "smithy.api#jsonName": "target" } - }, - "comparator": { - "target": "com.amazonaws.macie2#JobComparator", - "traits": { - "smithy.api#documentation": "

The operator to use in the condition. Valid operators are EQ (equals) or NE (not equals).

", - "smithy.api#jsonName": "comparator" - } } }, "traits": { @@ -7361,22 +7368,6 @@ "com.amazonaws.macie2#TestCustomDataIdentifierRequest": { "type": "structure", "members": { - "regex": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

", - "smithy.api#jsonName": "regex", - "smithy.api#required": {} - } - }, - "sampleText": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.

", - "smithy.api#jsonName": "sampleText", - "smithy.api#required": {} - } - }, "ignoreWords": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { @@ -7397,6 +7388,22 @@ "smithy.api#documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

", "smithy.api#jsonName": "maximumMatchDistance" } + }, + "regex": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

", + "smithy.api#jsonName": "regex", + "smithy.api#required": {} + } + }, + "sampleText": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.

", + "smithy.api#jsonName": "sampleText", + "smithy.api#required": {} + } } } }, @@ -7619,13 +7626,6 @@ "com.amazonaws.macie2#UpdateFindingsFilterRequest": { "type": "structure", "members": { - "position": { - "target": "com.amazonaws.macie2#__integer", - "traits": { - "smithy.api#documentation": "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", - "smithy.api#jsonName": "position" - } - }, "action": { "target": "com.amazonaws.macie2#FindingsFilterAction", "traits": { @@ -7633,13 +7633,6 @@ "smithy.api#jsonName": "action" } }, - "name": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.

", - "smithy.api#jsonName": "name" - } - }, "description": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -7647,6 +7640,13 @@ "smithy.api#jsonName": "description" } }, + "findingCriteria": { + "target": "com.amazonaws.macie2#FindingCriteria", + "traits": { + "smithy.api#documentation": "

The criteria to use to filter findings.

", + "smithy.api#jsonName": "findingCriteria" + } + }, "id": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -7655,11 +7655,18 @@ "smithy.api#required": {} } }, - "findingCriteria": { - "target": "com.amazonaws.macie2#FindingCriteria", + "name": { + "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The criteria to use to filter findings.

", - "smithy.api#jsonName": "findingCriteria" + "smithy.api#documentation": "

A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.

", + "smithy.api#jsonName": "name" + } + }, + "position": { + "target": "com.amazonaws.macie2#__integer", + "traits": { + "smithy.api#documentation": "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", + "smithy.api#jsonName": "position" } } } @@ -7667,18 +7674,18 @@ "com.amazonaws.macie2#UpdateFindingsFilterResponse": { "type": "structure", "members": { - "id": { + "arn": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the filter that was updated.

", - "smithy.api#jsonName": "id" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the filter that was updated.

", + "smithy.api#jsonName": "arn" } }, - "arn": { + "id": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the filter that was updated.

", - "smithy.api#jsonName": "arn" + "smithy.api#documentation": "

The unique identifier for the filter that was updated.

", + "smithy.api#jsonName": "id" } } } @@ -7726,19 +7733,19 @@ "com.amazonaws.macie2#UpdateMacieSessionRequest": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.macie2#MacieStatus", - "traits": { - "smithy.api#documentation": "

Specifies whether to change the status of the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

", - "smithy.api#jsonName": "status" - } - }, "findingPublishingFrequency": { "target": "com.amazonaws.macie2#FindingPublishingFrequency", "traits": { "smithy.api#documentation": "Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).", "smithy.api#jsonName": "findingPublishingFrequency" } + }, + "status": { + "target": "com.amazonaws.macie2#MacieStatus", + "traits": { + "smithy.api#documentation": "

Specifies whether to change the status of the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

", + "smithy.api#jsonName": "status" + } } } }, @@ -7789,14 +7796,6 @@ "com.amazonaws.macie2#UpdateMemberSessionRequest": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.macie2#MacieStatus", - "traits": { - "smithy.api#documentation": "

Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

", - "smithy.api#jsonName": "status", - "smithy.api#required": {} - } - }, "id": { "target": "com.amazonaws.macie2#__string", "traits": { @@ -7804,6 +7803,14 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "status": { + "target": "com.amazonaws.macie2#MacieStatus", + "traits": { + "smithy.api#documentation": "

Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

", + "smithy.api#jsonName": "status", + "smithy.api#required": {} + } } } }, @@ -7907,6 +7914,13 @@ "com.amazonaws.macie2#UsageRecord": { "type": "structure", "members": { + "accountId": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The unique identifier for the AWS account that the data applies to.

", + "smithy.api#jsonName": "accountId" + } + }, "freeTrialStartDate": { "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { @@ -7920,13 +7934,6 @@ "smithy.api#documentation": "

An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.

", "smithy.api#jsonName": "usage" } - }, - "accountId": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The unique identifier for the AWS account that the data applies to.

", - "smithy.api#jsonName": "accountId" - } } }, "traits": { @@ -7936,13 +7943,6 @@ "com.amazonaws.macie2#UsageStatisticsFilter": { "type": "structure", "members": { - "key": { - "target": "com.amazonaws.macie2#UsageStatisticsFilterKey", - "traits": { - "smithy.api#documentation": "

The field to use in the condition.

", - "smithy.api#jsonName": "key" - } - }, "comparator": { "target": "com.amazonaws.macie2#UsageStatisticsFilterComparator", "traits": { @@ -7950,6 +7950,13 @@ "smithy.api#jsonName": "comparator" } }, + "key": { + "target": "com.amazonaws.macie2#UsageStatisticsFilterKey", + "traits": { + "smithy.api#documentation": "

The field to use in the condition.

", + "smithy.api#jsonName": "key" + } + }, "values": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { @@ -8025,19 +8032,19 @@ "com.amazonaws.macie2#UsageStatisticsSortBy": { "type": "structure", "members": { - "orderBy": { - "target": "com.amazonaws.macie2#OrderBy", - "traits": { - "smithy.api#documentation": "

The sort order to apply to the results, based on the value for the field specified by the key property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

", - "smithy.api#jsonName": "orderBy" - } - }, "key": { "target": "com.amazonaws.macie2#UsageStatisticsSortKey", "traits": { "smithy.api#documentation": "

The field to sort the results by.

", "smithy.api#jsonName": "key" } + }, + "orderBy": { + "target": "com.amazonaws.macie2#OrderBy", + "traits": { + "smithy.api#documentation": "

The sort order to apply to the results, based on the value for the field specified by the key property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

", + "smithy.api#jsonName": "orderBy" + } } }, "traits": { @@ -8071,13 +8078,6 @@ "com.amazonaws.macie2#UsageTotal": { "type": "structure", "members": { - "estimatedCost": { - "target": "com.amazonaws.macie2#__string", - "traits": { - "smithy.api#documentation": "

The estimated value for the metric.

", - "smithy.api#jsonName": "estimatedCost" - } - }, "currency": { "target": "com.amazonaws.macie2#Currency", "traits": { @@ -8085,6 +8085,13 @@ "smithy.api#jsonName": "currency" } }, + "estimatedCost": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "

The estimated value for the metric.

", + "smithy.api#jsonName": "estimatedCost" + } + }, "type": { "target": "com.amazonaws.macie2#UsageType", "traits": { @@ -8116,20 +8123,6 @@ "com.amazonaws.macie2#UserIdentity": { "type": "structure", "members": { - "awsAccount": { - "target": "com.amazonaws.macie2#AwsAccount", - "traits": { - "smithy.api#documentation": "

If the action was performed using the credentials for another AWS account, the details of that account.

", - "smithy.api#jsonName": "awsAccount" - } - }, - "type": { - "target": "com.amazonaws.macie2#UserIdentityType", - "traits": { - "smithy.api#documentation": "

The type of entity that performed the action.

", - "smithy.api#jsonName": "type" - } - }, "assumedRole": { "target": "com.amazonaws.macie2#AssumedRole", "traits": { @@ -8137,6 +8130,13 @@ "smithy.api#jsonName": "assumedRole" } }, + "awsAccount": { + "target": "com.amazonaws.macie2#AwsAccount", + "traits": { + "smithy.api#documentation": "

If the action was performed using the credentials for another AWS account, the details of that account.

", + "smithy.api#jsonName": "awsAccount" + } + }, "awsService": { "target": "com.amazonaws.macie2#AwsService", "traits": { @@ -8144,11 +8144,11 @@ "smithy.api#jsonName": "awsService" } }, - "root": { - "target": "com.amazonaws.macie2#UserIdentityRoot", + "federatedUser": { + "target": "com.amazonaws.macie2#FederatedUser", "traits": { - "smithy.api#documentation": "

If the action was performed using the credentials for your AWS account, the details of your account.

", - "smithy.api#jsonName": "root" + "smithy.api#documentation": "

If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

", + "smithy.api#jsonName": "federatedUser" } }, "iamUser": { @@ -8158,11 +8158,18 @@ "smithy.api#jsonName": "iamUser" } }, - "federatedUser": { - "target": "com.amazonaws.macie2#FederatedUser", + "root": { + "target": "com.amazonaws.macie2#UserIdentityRoot", "traits": { - "smithy.api#documentation": "

If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

", - "smithy.api#jsonName": "federatedUser" + "smithy.api#documentation": "

If the action was performed using the credentials for your AWS account, the details of your account.

", + "smithy.api#jsonName": "root" + } + }, + "type": { + "target": "com.amazonaws.macie2#UserIdentityType", + "traits": { + "smithy.api#documentation": "

The type of entity that performed the action.

", + "smithy.api#jsonName": "type" } } }, @@ -8173,11 +8180,11 @@ "com.amazonaws.macie2#UserIdentityRoot": { "type": "structure", "members": { - "principalId": { + "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the entity that performed the action.

", - "smithy.api#jsonName": "principalId" + "smithy.api#documentation": "

The unique identifier for the AWS account.

", + "smithy.api#jsonName": "accountId" } }, "arn": { @@ -8187,11 +8194,11 @@ "smithy.api#jsonName": "arn" } }, - "accountId": { + "principalId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "

The unique identifier for the AWS account.

", - "smithy.api#jsonName": "accountId" + "smithy.api#documentation": "

The unique identifier for the entity that performed the action.

", + "smithy.api#jsonName": "principalId" } } }, @@ -8234,11 +8241,11 @@ "com.amazonaws.macie2#UserPausedDetails": { "type": "structure", "members": { - "jobPausedAt": { + "jobExpiresAt": { "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when you paused the job.

", - "smithy.api#jsonName": "jobPausedAt" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the job will expire and be cancelled if you don't resume it first. If you don't resume a job within 30 days of pausing it, the job expires and Amazon Macie cancels it.

", + "smithy.api#jsonName": "jobExpiresAt" } }, "jobImminentExpirationHealthEventArn": { @@ -8248,11 +8255,11 @@ "smithy.api#jsonName": "jobImminentExpirationHealthEventArn" } }, - "jobExpiresAt": { + "jobPausedAt": { "target": "com.amazonaws.macie2#__timestampIso8601", "traits": { - "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when the job will expire and be cancelled if you don't resume it first. If you don't resume a job within 30 days of pausing it, the job expires and Amazon Macie cancels it.

", - "smithy.api#jsonName": "jobExpiresAt" + "smithy.api#documentation": "

The date and time, in UTC and extended ISO 8601 format, when you paused the job.

", + "smithy.api#jsonName": "jobPausedAt" } } }, diff --git a/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json b/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json index 80b3b0120a44..33f8ed3e4690 100644 --- a/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json +++ b/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json @@ -128,18 +128,18 @@ "com.amazonaws.mediaconvert#AacSettings": { "type": "structure", "members": { - "VbrQuality": { - "target": "com.amazonaws.mediaconvert#AacVbrQuality", + "AudioDescriptionBroadcasterMix": { + "target": "com.amazonaws.mediaconvert#AacAudioDescriptionBroadcasterMix", "traits": { - "smithy.api#documentation": "VBR Quality Level - Only used if rate_control_mode is VBR.", - "smithy.api#jsonName": "vbrQuality" + "smithy.api#documentation": "Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains \"broadcaster mixed AD\". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.", + "smithy.api#jsonName": "audioDescriptionBroadcasterMix" } }, - "RawFormat": { - "target": "com.amazonaws.mediaconvert#AacRawFormat", + "Bitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin6000Max1024000", "traits": { - "smithy.api#documentation": "Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose \"No container\" for the output container.", - "smithy.api#jsonName": "rawFormat" + "smithy.api#documentation": "Specify the average bitrate in bits per second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values that you choose for Profile (codecProfile), Bitrate control mode (codingMode), and Sample rate (sampleRate). Default values depend on Bitrate control mode and Profile.", + "smithy.api#jsonName": "bitrate" } }, "CodecProfile": { @@ -149,11 +149,11 @@ "smithy.api#jsonName": "codecProfile" } }, - "SampleRate": { - "target": "com.amazonaws.mediaconvert#__integerMin8000Max96000", + "CodingMode": { + "target": "com.amazonaws.mediaconvert#AacCodingMode", "traits": { - "smithy.api#documentation": "Sample rate in Hz. Valid values depend on rate control mode and profile.", - "smithy.api#jsonName": "sampleRate" + "smithy.api#documentation": "Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. \"1.0 - Audio Description (Receiver Mix)\" setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.", + "smithy.api#jsonName": "codingMode" } }, "RateControlMode": { @@ -163,25 +163,18 @@ "smithy.api#jsonName": "rateControlMode" } }, - "CodingMode": { - "target": "com.amazonaws.mediaconvert#AacCodingMode", - "traits": { - "smithy.api#documentation": "Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. \"1.0 - Audio Description (Receiver Mix)\" setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.", - "smithy.api#jsonName": "codingMode" - } - }, - "AudioDescriptionBroadcasterMix": { - "target": "com.amazonaws.mediaconvert#AacAudioDescriptionBroadcasterMix", + "RawFormat": { + "target": "com.amazonaws.mediaconvert#AacRawFormat", "traits": { - "smithy.api#documentation": "Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains \"broadcaster mixed AD\". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.", - "smithy.api#jsonName": "audioDescriptionBroadcasterMix" + "smithy.api#documentation": "Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose \"No container\" for the output container.", + "smithy.api#jsonName": "rawFormat" } }, - "Bitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin6000Max1024000", + "SampleRate": { + "target": "com.amazonaws.mediaconvert#__integerMin8000Max96000", "traits": { - "smithy.api#documentation": "Specify the average bitrate in bits per second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values that you choose for Profile (codecProfile), Bitrate control mode (codingMode), and Sample rate (sampleRate). Default values depend on Bitrate control mode and Profile.", - "smithy.api#jsonName": "bitrate" + "smithy.api#documentation": "Sample rate in Hz. Valid values depend on rate control mode and profile.", + "smithy.api#jsonName": "sampleRate" } }, "Specification": { @@ -190,6 +183,13 @@ "smithy.api#documentation": "Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.", "smithy.api#jsonName": "specification" } + }, + "VbrQuality": { + "target": "com.amazonaws.mediaconvert#AacVbrQuality", + "traits": { + "smithy.api#documentation": "VBR Quality Level - Only used if rate_control_mode is VBR.", + "smithy.api#jsonName": "vbrQuality" + } } }, "traits": { @@ -358,6 +358,13 @@ "smithy.api#jsonName": "bitrate" } }, + "BitstreamMode": { + "target": "com.amazonaws.mediaconvert#Ac3BitstreamMode", + "traits": { + "smithy.api#documentation": "Specify the bitstream mode for the AC-3 stream that the encoder emits. For more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex E).", + "smithy.api#jsonName": "bitstreamMode" + } + }, "CodingMode": { "target": "com.amazonaws.mediaconvert#Ac3CodingMode", "traits": { @@ -372,13 +379,6 @@ "smithy.api#jsonName": "dialnorm" } }, - "BitstreamMode": { - "target": "com.amazonaws.mediaconvert#Ac3BitstreamMode", - "traits": { - "smithy.api#documentation": "Specify the bitstream mode for the AC-3 stream that the encoder emits. For more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex E).", - "smithy.api#jsonName": "bitstreamMode" - } - }, "DynamicRangeCompressionProfile": { "target": "com.amazonaws.mediaconvert#Ac3DynamicRangeCompressionProfile", "traits": { @@ -386,6 +386,13 @@ "smithy.api#jsonName": "dynamicRangeCompressionProfile" } }, + "LfeFilter": { + "target": "com.amazonaws.mediaconvert#Ac3LfeFilter", + "traits": { + "smithy.api#documentation": "Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.", + "smithy.api#jsonName": "lfeFilter" + } + }, "MetadataControl": { "target": "com.amazonaws.mediaconvert#Ac3MetadataControl", "traits": { @@ -399,13 +406,6 @@ "smithy.api#documentation": "This value is always 48000. It represents the sample rate in Hz.", "smithy.api#jsonName": "sampleRate" } - }, - "LfeFilter": { - "target": "com.amazonaws.mediaconvert#Ac3LfeFilter", - "traits": { - "smithy.api#documentation": "Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.", - "smithy.api#jsonName": "lfeFilter" - } } }, "traits": { @@ -495,11 +495,11 @@ "com.amazonaws.mediaconvert#AiffSettings": { "type": "structure", "members": { - "SampleRate": { - "target": "com.amazonaws.mediaconvert#__integerMin8000Max192000", + "BitDepth": { + "target": "com.amazonaws.mediaconvert#__integerMin16Max24", "traits": { - "smithy.api#documentation": "Sample rate in hz.", - "smithy.api#jsonName": "sampleRate" + "smithy.api#documentation": "Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.", + "smithy.api#jsonName": "bitDepth" } }, "Channels": { @@ -509,11 +509,11 @@ "smithy.api#jsonName": "channels" } }, - "BitDepth": { - "target": "com.amazonaws.mediaconvert#__integerMin16Max24", + "SampleRate": { + "target": "com.amazonaws.mediaconvert#__integerMin8000Max192000", "traits": { - "smithy.api#documentation": "Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.", - "smithy.api#jsonName": "bitDepth" + "smithy.api#documentation": "Sample rate in hz.", + "smithy.api#jsonName": "sampleRate" } } }, @@ -556,11 +556,11 @@ "com.amazonaws.mediaconvert#AncillarySourceSettings": { "type": "structure", "members": { - "TerminateCaptions": { - "target": "com.amazonaws.mediaconvert#AncillaryTerminateCaptions", + "Convert608To708": { + "target": "com.amazonaws.mediaconvert#AncillaryConvert608To708", "traits": { - "smithy.api#documentation": "By default, the service terminates any unterminated captions at the end of each input. If you want the caption to continue onto your next input, disable this setting.", - "smithy.api#jsonName": "terminateCaptions" + "smithy.api#documentation": "Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708.", + "smithy.api#jsonName": "convert608To708" } }, "SourceAncillaryChannelNumber": { @@ -570,11 +570,11 @@ "smithy.api#jsonName": "sourceAncillaryChannelNumber" } }, - "Convert608To708": { - "target": "com.amazonaws.mediaconvert#AncillaryConvert608To708", + "TerminateCaptions": { + "target": "com.amazonaws.mediaconvert#AncillaryTerminateCaptions", "traits": { - "smithy.api#documentation": "Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708.", - "smithy.api#jsonName": "convert608To708" + "smithy.api#documentation": "By default, the service terminates any unterminated captions at the end of each input. If you want the caption to continue onto your next input, disable this setting.", + "smithy.api#jsonName": "terminateCaptions" } } }, @@ -820,11 +820,11 @@ "smithy.api#jsonName": "ac3Settings" } }, - "WavSettings": { - "target": "com.amazonaws.mediaconvert#WavSettings", + "AiffSettings": { + "target": "com.amazonaws.mediaconvert#AiffSettings", "traits": { - "smithy.api#documentation": "Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV.", - "smithy.api#jsonName": "wavSettings" + "smithy.api#documentation": "Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF.", + "smithy.api#jsonName": "aiffSettings" } }, "Codec": { @@ -834,18 +834,18 @@ "smithy.api#jsonName": "codec" } }, - "VorbisSettings": { - "target": "com.amazonaws.mediaconvert#VorbisSettings", + "Eac3AtmosSettings": { + "target": "com.amazonaws.mediaconvert#Eac3AtmosSettings", "traits": { - "smithy.api#documentation": "Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.", - "smithy.api#jsonName": "vorbisSettings" + "smithy.api#documentation": "Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3_ATMOS.", + "smithy.api#jsonName": "eac3AtmosSettings" } }, - "AiffSettings": { - "target": "com.amazonaws.mediaconvert#AiffSettings", + "Eac3Settings": { + "target": "com.amazonaws.mediaconvert#Eac3Settings", "traits": { - "smithy.api#documentation": "Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF.", - "smithy.api#jsonName": "aiffSettings" + "smithy.api#documentation": "Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3.", + "smithy.api#jsonName": "eac3Settings" } }, "Mp2Settings": { @@ -855,6 +855,13 @@ "smithy.api#jsonName": "mp2Settings" } }, + "Mp3Settings": { + "target": "com.amazonaws.mediaconvert#Mp3Settings", + "traits": { + "smithy.api#documentation": "Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.", + "smithy.api#jsonName": "mp3Settings" + } + }, "OpusSettings": { "target": "com.amazonaws.mediaconvert#OpusSettings", "traits": { @@ -862,25 +869,18 @@ "smithy.api#jsonName": "opusSettings" } }, - "Eac3AtmosSettings": { - "target": "com.amazonaws.mediaconvert#Eac3AtmosSettings", - "traits": { - "smithy.api#documentation": "Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3_ATMOS.", - "smithy.api#jsonName": "eac3AtmosSettings" - } - }, - "Mp3Settings": { - "target": "com.amazonaws.mediaconvert#Mp3Settings", + "VorbisSettings": { + "target": "com.amazonaws.mediaconvert#VorbisSettings", "traits": { - "smithy.api#documentation": "Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.", - "smithy.api#jsonName": "mp3Settings" + "smithy.api#documentation": "Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.", + "smithy.api#jsonName": "vorbisSettings" } }, - "Eac3Settings": { - "target": "com.amazonaws.mediaconvert#Eac3Settings", + "WavSettings": { + "target": "com.amazonaws.mediaconvert#WavSettings", "traits": { - "smithy.api#documentation": "Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3.", - "smithy.api#jsonName": "eac3Settings" + "smithy.api#documentation": "Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV.", + "smithy.api#jsonName": "wavSettings" } } }, @@ -907,20 +907,6 @@ "com.amazonaws.mediaconvert#AudioDescription": { "type": "structure", "members": { - "AudioType": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max255", - "traits": { - "smithy.api#documentation": "Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually Impaired Commentary, 4-255 = Reserved.", - "smithy.api#jsonName": "audioType" - } - }, - "AudioSourceName": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Specifies which audio data to use from each input. In the simplest case, specify an \"Audio Selector\":#inputs-audio_selector by name based on its order within each input. For example if you specify \"Audio Selector 3\", then the third audio selector will be used from each input. If an input does not have an \"Audio Selector 3\", then the audio selector marked as \"default\" in that input will be used. If there is no audio selector marked as \"default\", silence will be inserted for the duration of that input. Alternatively, an \"Audio Selector Group\":#inputs-audio_selector_group name may be specified, with similar default/silence behavior. If no audio_source_name is specified, then \"Audio Selector 1\" will be chosen automatically.", - "smithy.api#jsonName": "audioSourceName" - } - }, "AudioChannelTaggingSettings": { "target": "com.amazonaws.mediaconvert#AudioChannelTaggingSettings", "traits": { @@ -928,13 +914,6 @@ "smithy.api#jsonName": "audioChannelTaggingSettings" } }, - "LanguageCodeControl": { - "target": "com.amazonaws.mediaconvert#AudioLanguageCodeControl", - "traits": { - "smithy.api#documentation": "Specify which source for language code takes precedence for this audio track. When you choose Follow input (FOLLOW_INPUT), the service uses the language code from the input track if it's present. If there's no languge code on the input track, the service uses the code that you specify in the setting Language code (languageCode or customLanguageCode). When you choose Use configured (USE_CONFIGURED), the service uses the language code that you specify.", - "smithy.api#jsonName": "languageCodeControl" - } - }, "AudioNormalizationSettings": { "target": "com.amazonaws.mediaconvert#AudioNormalizationSettings", "traits": { @@ -942,25 +921,25 @@ "smithy.api#jsonName": "audioNormalizationSettings" } }, - "LanguageCode": { - "target": "com.amazonaws.mediaconvert#LanguageCode", + "AudioSourceName": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code' drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language Code' is selected but there is no ISO 639 language code specified by the input.", - "smithy.api#jsonName": "languageCode" + "smithy.api#documentation": "Specifies which audio data to use from each input. In the simplest case, specify an \"Audio Selector\":#inputs-audio_selector by name based on its order within each input. For example if you specify \"Audio Selector 3\", then the third audio selector will be used from each input. If an input does not have an \"Audio Selector 3\", then the audio selector marked as \"default\" in that input will be used. If there is no audio selector marked as \"default\", silence will be inserted for the duration of that input. Alternatively, an \"Audio Selector Group\":#inputs-audio_selector_group name may be specified, with similar default/silence behavior. If no audio_source_name is specified, then \"Audio Selector 1\" will be chosen automatically.", + "smithy.api#jsonName": "audioSourceName" } }, - "RemixSettings": { - "target": "com.amazonaws.mediaconvert#RemixSettings", + "AudioType": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { - "smithy.api#documentation": "Advanced audio remixing settings.", - "smithy.api#jsonName": "remixSettings" + "smithy.api#documentation": "Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually Impaired Commentary, 4-255 = Reserved.", + "smithy.api#jsonName": "audioType" } }, - "StreamName": { - "target": "com.amazonaws.mediaconvert#__stringPatternWS", + "AudioTypeControl": { + "target": "com.amazonaws.mediaconvert#AudioTypeControl", "traits": { - "smithy.api#documentation": "Specify a label for this output audio stream. For example, \"English\", \"Director commentary\", or \"track_2\". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting.", - "smithy.api#jsonName": "streamName" + "smithy.api#documentation": "When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is included in the output. Otherwise the value in Audio Type is included in the output. Note that this field and audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD.", + "smithy.api#jsonName": "audioTypeControl" } }, "CodecSettings": { @@ -977,11 +956,32 @@ "smithy.api#jsonName": "customLanguageCode" } }, - "AudioTypeControl": { - "target": "com.amazonaws.mediaconvert#AudioTypeControl", + "LanguageCode": { + "target": "com.amazonaws.mediaconvert#LanguageCode", "traits": { - "smithy.api#documentation": "When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is included in the output. Otherwise the value in Audio Type is included in the output. Note that this field and audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD.", - "smithy.api#jsonName": "audioTypeControl" + "smithy.api#documentation": "Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code' drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language Code' is selected but there is no ISO 639 language code specified by the input.", + "smithy.api#jsonName": "languageCode" + } + }, + "LanguageCodeControl": { + "target": "com.amazonaws.mediaconvert#AudioLanguageCodeControl", + "traits": { + "smithy.api#documentation": "Specify which source for language code takes precedence for this audio track. When you choose Follow input (FOLLOW_INPUT), the service uses the language code from the input track if it's present. If there's no languge code on the input track, the service uses the code that you specify in the setting Language code (languageCode or customLanguageCode). When you choose Use configured (USE_CONFIGURED), the service uses the language code that you specify.", + "smithy.api#jsonName": "languageCodeControl" + } + }, + "RemixSettings": { + "target": "com.amazonaws.mediaconvert#RemixSettings", + "traits": { + "smithy.api#documentation": "Advanced audio remixing settings.", + "smithy.api#jsonName": "remixSettings" + } + }, + "StreamName": { + "target": "com.amazonaws.mediaconvert#__stringPatternWS", + "traits": { + "smithy.api#documentation": "Specify a label for this output audio stream. For example, \"English\", \"Director commentary\", or \"track_2\". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting.", + "smithy.api#jsonName": "streamName" } } }, @@ -1094,13 +1094,6 @@ "smithy.api#jsonName": "algorithmControl" } }, - "TargetLkfs": { - "target": "com.amazonaws.mediaconvert#__doubleMinNegative59Max0", - "traits": { - "smithy.api#documentation": "When you use Audio normalization (AudioNormalizationSettings), optionally use this setting to specify a target loudness. If you don't specify a value here, the encoder chooses a value for you, based on the algorithm that you choose for Algorithm (algorithm). If you choose algorithm 1770-1, the encoder will choose -24 LKFS; otherwise, the encoder will choose -23 LKFS.", - "smithy.api#jsonName": "targetLkfs" - } - }, "CorrectionGateLevel": { "target": "com.amazonaws.mediaconvert#__integerMinNegative70Max0", "traits": { @@ -1121,6 +1114,13 @@ "smithy.api#documentation": "If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio track loudness.", "smithy.api#jsonName": "peakCalculation" } + }, + "TargetLkfs": { + "target": "com.amazonaws.mediaconvert#__doubleMinNegative59Max0", + "traits": { + "smithy.api#documentation": "When you use Audio normalization (AudioNormalizationSettings), optionally use this setting to specify a target loudness. If you don't specify a value here, the encoder chooses a value for you, based on the algorithm that you choose for Algorithm (algorithm). If you choose algorithm 1770-1, the encoder will choose -24 LKFS; otherwise, the encoder will choose -23 LKFS.", + "smithy.api#jsonName": "targetLkfs" + } } }, "traits": { @@ -1130,6 +1130,27 @@ "com.amazonaws.mediaconvert#AudioSelector": { "type": "structure", "members": { + "CustomLanguageCode": { + "target": "com.amazonaws.mediaconvert#__stringMin3Max3PatternAZaZ3", + "traits": { + "smithy.api#documentation": "Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code", + "smithy.api#jsonName": "customLanguageCode" + } + }, + "DefaultSelection": { + "target": "com.amazonaws.mediaconvert#AudioDefaultSelection", + "traits": { + "smithy.api#documentation": "Enable this setting on one audio selector to set it as the default for the job. The service uses this default for outputs where it can't find the specified input audio. If you don't set a default, those outputs have no audio.", + "smithy.api#jsonName": "defaultSelection" + } + }, + "ExternalAudioFileInput": { + "target": "com.amazonaws.mediaconvert#__stringPatternS3MM2PPWWEEBBMMMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEEHttpsMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEE", + "traits": { + "smithy.api#documentation": "Specifies audio data from an external file source.", + "smithy.api#jsonName": "externalAudioFileInput" + } + }, "LanguageCode": { "target": "com.amazonaws.mediaconvert#LanguageCode", "traits": { @@ -1144,13 +1165,6 @@ "smithy.api#jsonName": "offset" } }, - "DefaultSelection": { - "target": "com.amazonaws.mediaconvert#AudioDefaultSelection", - "traits": { - "smithy.api#documentation": "Enable this setting on one audio selector to set it as the default for the job. The service uses this default for outputs where it can't find the specified input audio. If you don't set a default, those outputs have no audio.", - "smithy.api#jsonName": "defaultSelection" - } - }, "Pids": { "target": "com.amazonaws.mediaconvert#__listOf__integerMin1Max2147483647", "traits": { @@ -1158,11 +1172,11 @@ "smithy.api#jsonName": "pids" } }, - "Tracks": { - "target": "com.amazonaws.mediaconvert#__listOf__integerMin1Max2147483647", + "ProgramSelection": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max8", "traits": { - "smithy.api#documentation": "Identify a track from the input audio to include in this selector by entering the track index number. To include several tracks in a single audio selector, specify multiple tracks as follows. Using the console, enter a comma-separated list. For examle, type \"1,2,3\" to include tracks 1 through 3. Specifying directly in your JSON job file, provide the track numbers in an array. For example, \"tracks\": [1,2,3].", - "smithy.api#jsonName": "tracks" + "smithy.api#documentation": "Use this setting for input streams that contain Dolby E, to have the service extract specific program data from the track. To select multiple programs, create multiple selectors with the same Track and different Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the program number from the dropdown list. If you are sending a JSON file, provide the program ID, which is part of the audio metadata. If your input file has incorrect metadata, you can choose All channels instead of a program number to have the service ignore the program IDs and include all the programs in the track.", + "smithy.api#jsonName": "programSelection" } }, "RemixSettings": { @@ -1179,25 +1193,11 @@ "smithy.api#jsonName": "selectorType" } }, - "CustomLanguageCode": { - "target": "com.amazonaws.mediaconvert#__stringMin3Max3PatternAZaZ3", - "traits": { - "smithy.api#documentation": "Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code", - "smithy.api#jsonName": "customLanguageCode" - } - }, - "ExternalAudioFileInput": { - "target": "com.amazonaws.mediaconvert#__stringPatternS3MM2PPWWEEBBMMMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEEHttpsMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEE", - "traits": { - "smithy.api#documentation": "Specifies audio data from an external file source.", - "smithy.api#jsonName": "externalAudioFileInput" - } - }, - "ProgramSelection": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max8", + "Tracks": { + "target": "com.amazonaws.mediaconvert#__listOf__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Use this setting for input streams that contain Dolby E, to have the service extract specific program data from the track. To select multiple programs, create multiple selectors with the same Track and different Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the program number from the dropdown list. If you are sending a JSON file, provide the program ID, which is part of the audio metadata. If your input file has incorrect metadata, you can choose All channels instead of a program number to have the service ignore the program IDs and include all the programs in the track.", - "smithy.api#jsonName": "programSelection" + "smithy.api#documentation": "Identify a track from the input audio to include in this selector by entering the track index number. To include several tracks in a single audio selector, specify multiple tracks as follows. Using the console, enter a comma-separated list. For examle, type \"1,2,3\" to include tracks 1 through 3. Specifying directly in your JSON job file, provide the track numbers in an array. For example, \"tracks\": [1,2,3].", + "smithy.api#jsonName": "tracks" } } }, @@ -1256,6 +1256,50 @@ ] } }, + "com.amazonaws.mediaconvert#AutomatedAbrSettings": { + "type": "structure", + "members": { + "MaxAbrBitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin100000Max100000000", + "traits": { + "smithy.api#documentation": "Optional. The maximum target bit rate used in your automated ABR stack. Use this value to set an upper limit on the bandwidth consumed by the highest-quality rendition. This is the rendition that is delivered to viewers with the fastest internet connections. If you don't specify a value, MediaConvert uses 8,000,000 (8 mb/s) by default.", + "smithy.api#jsonName": "maxAbrBitrate" + } + }, + "MaxRenditions": { + "target": "com.amazonaws.mediaconvert#__integerMin3Max15", + "traits": { + "smithy.api#documentation": "Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set this to Auto in the console, which is equivalent to excluding it from your JSON job specification, MediaConvert defaults to a limit of 15.", + "smithy.api#jsonName": "maxRenditions" + } + }, + "MinAbrBitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin100000Max100000000", + "traits": { + "smithy.api#documentation": "Optional. The minimum target bitrate used in your automated ABR stack. Use this value to set a lower limit on the bitrate of video delivered to viewers with slow internet connections. If you don't specify a value, MediaConvert uses 600,000 (600 kb/s) by default.", + "smithy.api#jsonName": "minAbrBitrate" + } + } + }, + "traits": { + "smithy.api#documentation": "Use automated ABR to have MediaConvert set up the renditions in your ABR package for you automatically, based on characteristics of your input video. This feature optimizes video quality while minimizing the overall size of your ABR package." + } + }, + "com.amazonaws.mediaconvert#AutomatedEncodingSettings": { + "type": "structure", + "members": { + "AbrSettings": { + "target": "com.amazonaws.mediaconvert#AutomatedAbrSettings", + "traits": { + "smithy.api#documentation": "Use automated ABR to have MediaConvert set up the renditions in your ABR package for you automatically, based on characteristics of your input video. This feature optimizes video quality while minimizing the overall size of your ABR package.", + "smithy.api#jsonName": "abrSettings" + } + } + }, + "traits": { + "smithy.api#documentation": "Use automated encoding to have MediaConvert choose your encoding settings for you, based on characteristics of your input video." + } + }, "com.amazonaws.mediaconvert#Av1AdaptiveQuantization": { "type": "string", "traits": { @@ -1361,11 +1405,39 @@ "com.amazonaws.mediaconvert#Av1Settings": { "type": "structure", "members": { - "QvbrSettings": { - "target": "com.amazonaws.mediaconvert#Av1QvbrSettings", + "AdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#Av1AdaptiveQuantization", "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the AV1 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode.", - "smithy.api#jsonName": "qvbrSettings" + "smithy.api#documentation": "Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to Spatial adaptive quantization (spatialAdaptiveQuantization).", + "smithy.api#jsonName": "adaptiveQuantization" + } + }, + "FramerateControl": { + "target": "com.amazonaws.mediaconvert#Av1FramerateControl", + "traits": { + "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", + "smithy.api#jsonName": "framerateControl" + } + }, + "FramerateConversionAlgorithm": { + "target": "com.amazonaws.mediaconvert#Av1FramerateConversionAlgorithm", + "traits": { + "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", + "smithy.api#jsonName": "framerateConversionAlgorithm" + } + }, + "FramerateDenominator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateDenominator" + } + }, + "FramerateNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateNumerator" } }, "GopSize": { @@ -1375,13 +1447,6 @@ "smithy.api#jsonName": "gopSize" } }, - "NumberBFramesBetweenReferenceFrames": { - "target": "com.amazonaws.mediaconvert#__integerMin7Max15", - "traits": { - "smithy.api#documentation": "Specify the number of B-frames. With AV1, MediaConvert supports only 7 or 15.", - "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" - } - }, "MaxBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { @@ -1389,25 +1454,25 @@ "smithy.api#jsonName": "maxBitrate" } }, - "FramerateConversionAlgorithm": { - "target": "com.amazonaws.mediaconvert#Av1FramerateConversionAlgorithm", + "NumberBFramesBetweenReferenceFrames": { + "target": "com.amazonaws.mediaconvert#__integerMin7Max15", "traits": { - "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", - "smithy.api#jsonName": "framerateConversionAlgorithm" + "smithy.api#documentation": "Specify the number of B-frames. With AV1, MediaConvert supports only 7 or 15.", + "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" } }, - "AdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#Av1AdaptiveQuantization", + "QvbrSettings": { + "target": "com.amazonaws.mediaconvert#Av1QvbrSettings", "traits": { - "smithy.api#documentation": "Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to Spatial adaptive quantization (spatialAdaptiveQuantization).", - "smithy.api#jsonName": "adaptiveQuantization" + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the AV1 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode.", + "smithy.api#jsonName": "qvbrSettings" } }, - "FramerateDenominator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "RateControlMode": { + "target": "com.amazonaws.mediaconvert#Av1RateControlMode", "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateDenominator" + "smithy.api#documentation": "'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR). You can''t use CBR or VBR.'", + "smithy.api#jsonName": "rateControlMode" } }, "Slices": { @@ -1417,33 +1482,12 @@ "smithy.api#jsonName": "slices" } }, - "FramerateControl": { - "target": "com.amazonaws.mediaconvert#Av1FramerateControl", - "traits": { - "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", - "smithy.api#jsonName": "framerateControl" - } - }, "SpatialAdaptiveQuantization": { "target": "com.amazonaws.mediaconvert#Av1SpatialAdaptiveQuantization", "traits": { "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher.", "smithy.api#jsonName": "spatialAdaptiveQuantization" } - }, - "FramerateNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateNumerator" - } - }, - "RateControlMode": { - "target": "com.amazonaws.mediaconvert#Av1RateControlMode", - "traits": { - "smithy.api#documentation": "'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR). You can''t use CBR or VBR.'", - "smithy.api#jsonName": "rateControlMode" - } } }, "traits": { @@ -1575,11 +1619,11 @@ "smithy.api#jsonName": "avcIntraClass" } }, - "InterlaceMode": { - "target": "com.amazonaws.mediaconvert#AvcIntraInterlaceMode", + "FramerateControl": { + "target": "com.amazonaws.mediaconvert#AvcIntraFramerateControl", "traits": { - "smithy.api#documentation": "Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose.", - "smithy.api#jsonName": "interlaceMode" + "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", + "smithy.api#jsonName": "framerateControl" } }, "FramerateConversionAlgorithm": { @@ -1596,13 +1640,6 @@ "smithy.api#jsonName": "framerateDenominator" } }, - "FramerateControl": { - "target": "com.amazonaws.mediaconvert#AvcIntraFramerateControl", - "traits": { - "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", - "smithy.api#jsonName": "framerateControl" - } - }, "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin24Max60000", "traits": { @@ -1610,11 +1647,11 @@ "smithy.api#jsonName": "framerateNumerator" } }, - "Telecine": { - "target": "com.amazonaws.mediaconvert#AvcIntraTelecine", + "InterlaceMode": { + "target": "com.amazonaws.mediaconvert#AvcIntraInterlaceMode", "traits": { - "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", - "smithy.api#jsonName": "telecine" + "smithy.api#documentation": "Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose.", + "smithy.api#jsonName": "interlaceMode" } }, "SlowPal": { @@ -1623,6 +1660,13 @@ "smithy.api#documentation": "Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1.", "smithy.api#jsonName": "slowPal" } + }, + "Telecine": { + "target": "com.amazonaws.mediaconvert#AvcIntraTelecine", + "traits": { + "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", + "smithy.api#jsonName": "telecine" + } } }, "traits": { @@ -1704,25 +1748,11 @@ "com.amazonaws.mediaconvert#BurninDestinationSettings": { "type": "structure", "members": { - "ShadowYOffset": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", - "traits": { - "smithy.api#documentation": "Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "shadowYOffset" - } - }, - "XPosition": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", - "traits": { - "smithy.api#documentation": "Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "xPosition" - } - }, - "TeletextSpacing": { - "target": "com.amazonaws.mediaconvert#BurninSubtitleTeletextSpacing", + "Alignment": { + "target": "com.amazonaws.mediaconvert#BurninSubtitleAlignment", "traits": { - "smithy.api#documentation": "Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption.", - "smithy.api#jsonName": "teletextSpacing" + "smithy.api#documentation": "If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "alignment" } }, "BackgroundColor": { @@ -1732,25 +1762,11 @@ "smithy.api#jsonName": "backgroundColor" } }, - "FontSize": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max96", - "traits": { - "smithy.api#documentation": "A positive integer indicates the exact font size in points. Set to 0 for automatic font size selection. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "fontSize" - } - }, - "Alignment": { - "target": "com.amazonaws.mediaconvert#BurninSubtitleAlignment", - "traits": { - "smithy.api#documentation": "If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "alignment" - } - }, - "ShadowXOffset": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", + "BackgroundOpacity": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { - "smithy.api#documentation": "Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "shadowXOffset" + "smithy.api#documentation": "Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "backgroundOpacity" } }, "FontColor": { @@ -1760,25 +1776,39 @@ "smithy.api#jsonName": "fontColor" } }, - "ShadowColor": { - "target": "com.amazonaws.mediaconvert#BurninSubtitleShadowColor", + "FontOpacity": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { - "smithy.api#documentation": "Specifies the color of the shadow cast by the captions.\nAll burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "shadowColor" + "smithy.api#documentation": "Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent.\nAll burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "fontOpacity" } }, - "OutlineColor": { - "target": "com.amazonaws.mediaconvert#BurninSubtitleOutlineColor", + "FontResolution": { + "target": "com.amazonaws.mediaconvert#__integerMin96Max600", "traits": { - "smithy.api#documentation": "Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "outlineColor" + "smithy.api#documentation": "Font resolution in DPI (dots per inch); default is 96 dpi.\nAll burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "fontResolution" } }, - "ShadowOpacity": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max255", + "FontScript": { + "target": "com.amazonaws.mediaconvert#FontScript", "traits": { - "smithy.api#documentation": "Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "shadowOpacity" + "smithy.api#documentation": "Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use \"AUTOMATIC\" or leave unset. This is used to help determine the appropriate font for rendering burn-in captions.", + "smithy.api#jsonName": "fontScript" + } + }, + "FontSize": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max96", + "traits": { + "smithy.api#documentation": "A positive integer indicates the exact font size in points. Set to 0 for automatic font size selection. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "fontSize" + } + }, + "OutlineColor": { + "target": "com.amazonaws.mediaconvert#BurninSubtitleOutlineColor", + "traits": { + "smithy.api#documentation": "Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "outlineColor" } }, "OutlineSize": { @@ -1788,39 +1818,53 @@ "smithy.api#jsonName": "outlineSize" } }, - "BackgroundOpacity": { + "ShadowColor": { + "target": "com.amazonaws.mediaconvert#BurninSubtitleShadowColor", + "traits": { + "smithy.api#documentation": "Specifies the color of the shadow cast by the captions.\nAll burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "shadowColor" + } + }, + "ShadowOpacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { - "smithy.api#documentation": "Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "backgroundOpacity" + "smithy.api#documentation": "Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "shadowOpacity" } }, - "YPosition": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "ShadowXOffset": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { - "smithy.api#documentation": "Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "yPosition" + "smithy.api#documentation": "Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "shadowXOffset" } }, - "FontOpacity": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max255", + "ShadowYOffset": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { - "smithy.api#documentation": "Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent.\nAll burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "fontOpacity" + "smithy.api#documentation": "Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "shadowYOffset" } }, - "FontResolution": { - "target": "com.amazonaws.mediaconvert#__integerMin96Max600", + "TeletextSpacing": { + "target": "com.amazonaws.mediaconvert#BurninSubtitleTeletextSpacing", "traits": { - "smithy.api#documentation": "Font resolution in DPI (dots per inch); default is 96 dpi.\nAll burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "fontResolution" + "smithy.api#documentation": "Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption.", + "smithy.api#jsonName": "teletextSpacing" } }, - "FontScript": { - "target": "com.amazonaws.mediaconvert#FontScript", + "XPosition": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use \"AUTOMATIC\" or leave unset. This is used to help determine the appropriate font for rendering burn-in captions.", - "smithy.api#jsonName": "fontScript" + "smithy.api#documentation": "Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "xPosition" + } + }, + "YPosition": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "traits": { + "smithy.api#documentation": "Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "yPosition" } } }, @@ -2028,6 +2072,20 @@ "smithy.api#jsonName": "captionSelectorName" } }, + "CustomLanguageCode": { + "target": "com.amazonaws.mediaconvert#__stringPatternAZaZ23AZaZ", + "traits": { + "smithy.api#documentation": "Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.", + "smithy.api#jsonName": "customLanguageCode" + } + }, + "DestinationSettings": { + "target": "com.amazonaws.mediaconvert#CaptionDestinationSettings", + "traits": { + "smithy.api#documentation": "Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext.", + "smithy.api#jsonName": "destinationSettings" + } + }, "LanguageCode": { "target": "com.amazonaws.mediaconvert#LanguageCode", "traits": { @@ -2041,20 +2099,6 @@ "smithy.api#documentation": "Specify a label for this set of output captions. For example, \"English\", \"Director commentary\", or \"track_2\". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting.", "smithy.api#jsonName": "languageDescription" } - }, - "DestinationSettings": { - "target": "com.amazonaws.mediaconvert#CaptionDestinationSettings", - "traits": { - "smithy.api#documentation": "Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext.", - "smithy.api#jsonName": "destinationSettings" - } - }, - "CustomLanguageCode": { - "target": "com.amazonaws.mediaconvert#__stringPatternAZaZ23AZaZ", - "traits": { - "smithy.api#documentation": "Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.", - "smithy.api#jsonName": "customLanguageCode" - } } }, "traits": { @@ -2064,11 +2108,11 @@ "com.amazonaws.mediaconvert#CaptionDescriptionPreset": { "type": "structure", "members": { - "LanguageCode": { - "target": "com.amazonaws.mediaconvert#LanguageCode", + "CustomLanguageCode": { + "target": "com.amazonaws.mediaconvert#__stringPatternAZaZ23AZaZ", "traits": { - "smithy.api#documentation": "Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.", - "smithy.api#jsonName": "languageCode" + "smithy.api#documentation": "Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.", + "smithy.api#jsonName": "customLanguageCode" } }, "DestinationSettings": { @@ -2078,11 +2122,11 @@ "smithy.api#jsonName": "destinationSettings" } }, - "CustomLanguageCode": { - "target": "com.amazonaws.mediaconvert#__stringPatternAZaZ23AZaZ", + "LanguageCode": { + "target": "com.amazonaws.mediaconvert#LanguageCode", "traits": { - "smithy.api#documentation": "Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.", - "smithy.api#jsonName": "customLanguageCode" + "smithy.api#documentation": "Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.", + "smithy.api#jsonName": "languageCode" } }, "LanguageDescription": { @@ -2100,20 +2144,6 @@ "com.amazonaws.mediaconvert#CaptionDestinationSettings": { "type": "structure", "members": { - "ImscDestinationSettings": { - "target": "com.amazonaws.mediaconvert#ImscDestinationSettings", - "traits": { - "smithy.api#documentation": "Settings specific to IMSC caption outputs.", - "smithy.api#jsonName": "imscDestinationSettings" - } - }, - "TtmlDestinationSettings": { - "target": "com.amazonaws.mediaconvert#TtmlDestinationSettings", - "traits": { - "smithy.api#documentation": "Settings specific to TTML caption outputs, including Pass style information (TtmlStylePassthrough).", - "smithy.api#jsonName": "ttmlDestinationSettings" - } - }, "BurninDestinationSettings": { "target": "com.amazonaws.mediaconvert#BurninDestinationSettings", "traits": { @@ -2128,11 +2158,11 @@ "smithy.api#jsonName": "destinationType" } }, - "SccDestinationSettings": { - "target": "com.amazonaws.mediaconvert#SccDestinationSettings", + "DvbSubDestinationSettings": { + "target": "com.amazonaws.mediaconvert#DvbSubDestinationSettings", "traits": { - "smithy.api#documentation": "Settings for SCC caption output.", - "smithy.api#jsonName": "sccDestinationSettings" + "smithy.api#documentation": "DVB-Sub Destination Settings", + "smithy.api#jsonName": "dvbSubDestinationSettings" } }, "EmbeddedDestinationSettings": { @@ -2142,11 +2172,18 @@ "smithy.api#jsonName": "embeddedDestinationSettings" } }, - "DvbSubDestinationSettings": { - "target": "com.amazonaws.mediaconvert#DvbSubDestinationSettings", + "ImscDestinationSettings": { + "target": "com.amazonaws.mediaconvert#ImscDestinationSettings", "traits": { - "smithy.api#documentation": "DVB-Sub Destination Settings", - "smithy.api#jsonName": "dvbSubDestinationSettings" + "smithy.api#documentation": "Settings specific to IMSC caption outputs.", + "smithy.api#jsonName": "imscDestinationSettings" + } + }, + "SccDestinationSettings": { + "target": "com.amazonaws.mediaconvert#SccDestinationSettings", + "traits": { + "smithy.api#documentation": "Settings for SCC caption output.", + "smithy.api#jsonName": "sccDestinationSettings" } }, "TeletextDestinationSettings": { @@ -2155,6 +2192,13 @@ "smithy.api#documentation": "Settings for Teletext caption output", "smithy.api#jsonName": "teletextDestinationSettings" } + }, + "TtmlDestinationSettings": { + "target": "com.amazonaws.mediaconvert#TtmlDestinationSettings", + "traits": { + "smithy.api#documentation": "Settings specific to TTML caption outputs, including Pass style information (TtmlStylePassthrough).", + "smithy.api#jsonName": "ttmlDestinationSettings" + } } }, "traits": { @@ -2227,19 +2271,19 @@ "smithy.api#jsonName": "customLanguageCode" } }, - "SourceSettings": { - "target": "com.amazonaws.mediaconvert#CaptionSourceSettings", - "traits": { - "smithy.api#documentation": "If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.", - "smithy.api#jsonName": "sourceSettings" - } - }, "LanguageCode": { "target": "com.amazonaws.mediaconvert#LanguageCode", "traits": { "smithy.api#documentation": "The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.", "smithy.api#jsonName": "languageCode" } + }, + "SourceSettings": { + "target": "com.amazonaws.mediaconvert#CaptionSourceSettings", + "traits": { + "smithy.api#documentation": "If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.", + "smithy.api#jsonName": "sourceSettings" + } } }, "traits": { @@ -2271,6 +2315,13 @@ "com.amazonaws.mediaconvert#CaptionSourceSettings": { "type": "structure", "members": { + "AncillarySourceSettings": { + "target": "com.amazonaws.mediaconvert#AncillarySourceSettings", + "traits": { + "smithy.api#documentation": "Settings for ancillary captions source.", + "smithy.api#jsonName": "ancillarySourceSettings" + } + }, "DvbSubSourceSettings": { "target": "com.amazonaws.mediaconvert#DvbSubSourceSettings", "traits": { @@ -2285,6 +2336,13 @@ "smithy.api#jsonName": "embeddedSourceSettings" } }, + "FileSourceSettings": { + "target": "com.amazonaws.mediaconvert#FileSourceSettings", + "traits": { + "smithy.api#documentation": "If your input captions are SCC, SMI, SRT, STL, TTML, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.", + "smithy.api#jsonName": "fileSourceSettings" + } + }, "SourceType": { "target": "com.amazonaws.mediaconvert#CaptionSourceType", "traits": { @@ -2292,11 +2350,11 @@ "smithy.api#jsonName": "sourceType" } }, - "AncillarySourceSettings": { - "target": "com.amazonaws.mediaconvert#AncillarySourceSettings", + "TeletextSourceSettings": { + "target": "com.amazonaws.mediaconvert#TeletextSourceSettings", "traits": { - "smithy.api#documentation": "Settings for ancillary captions source.", - "smithy.api#jsonName": "ancillarySourceSettings" + "smithy.api#documentation": "Settings specific to Teletext caption sources, including Page number.", + "smithy.api#jsonName": "teletextSourceSettings" } }, "TrackSourceSettings": { @@ -2305,20 +2363,6 @@ "smithy.api#documentation": "Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings.", "smithy.api#jsonName": "trackSourceSettings" } - }, - "FileSourceSettings": { - "target": "com.amazonaws.mediaconvert#FileSourceSettings", - "traits": { - "smithy.api#documentation": "If your input captions are SCC, SMI, SRT, STL, TTML, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.", - "smithy.api#jsonName": "fileSourceSettings" - } - }, - "TeletextSourceSettings": { - "target": "com.amazonaws.mediaconvert#TeletextSourceSettings", - "traits": { - "smithy.api#documentation": "Settings specific to Teletext caption sources, including Page number.", - "smithy.api#jsonName": "teletextSourceSettings" - } } }, "traits": { @@ -2399,19 +2443,19 @@ "com.amazonaws.mediaconvert#CmafAdditionalManifest": { "type": "structure", "members": { - "SelectedOutputs": { - "target": "com.amazonaws.mediaconvert#__listOf__stringMin1", - "traits": { - "smithy.api#documentation": "Specify the outputs that you want this additional top-level manifest to reference.", - "smithy.api#jsonName": "selectedOutputs" - } - }, "ManifestNameModifier": { "target": "com.amazonaws.mediaconvert#__stringMin1", "traits": { "smithy.api#documentation": "Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your HLS group is film-name.m3u8. If you enter \"-no-premium\" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.m3u8. For HLS output groups, specify a manifestNameModifier that is different from the nameModifier of the output. The service uses the output name modifier to create unique names for the individual variant manifests.", "smithy.api#jsonName": "manifestNameModifier" } + }, + "SelectedOutputs": { + "target": "com.amazonaws.mediaconvert#__listOf__stringMin1", + "traits": { + "smithy.api#documentation": "Specify the outputs that you want this additional top-level manifest to reference.", + "smithy.api#jsonName": "selectedOutputs" + } } }, "traits": { @@ -2460,11 +2504,11 @@ "smithy.api#jsonName": "constantInitializationVector" } }, - "SpekeKeyProvider": { - "target": "com.amazonaws.mediaconvert#SpekeKeyProviderCmaf", + "EncryptionMethod": { + "target": "com.amazonaws.mediaconvert#CmafEncryptionType", "traits": { - "smithy.api#documentation": "If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead.", - "smithy.api#jsonName": "spekeKeyProvider" + "smithy.api#documentation": "Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR).", + "smithy.api#jsonName": "encryptionMethod" } }, "InitializationVectorInManifest": { @@ -2474,6 +2518,13 @@ "smithy.api#jsonName": "initializationVectorInManifest" } }, + "SpekeKeyProvider": { + "target": "com.amazonaws.mediaconvert#SpekeKeyProviderCmaf", + "traits": { + "smithy.api#documentation": "If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead.", + "smithy.api#jsonName": "spekeKeyProvider" + } + }, "StaticKeyProvider": { "target": "com.amazonaws.mediaconvert#StaticKeyProvider", "traits": { @@ -2487,13 +2538,6 @@ "smithy.api#documentation": "Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.", "smithy.api#jsonName": "type" } - }, - "EncryptionMethod": { - "target": "com.amazonaws.mediaconvert#CmafEncryptionType", - "traits": { - "smithy.api#documentation": "Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR).", - "smithy.api#jsonName": "encryptionMethod" - } } }, "traits": { @@ -2526,67 +2570,67 @@ "smithy.api#jsonName": "additionalManifests" } }, - "ManifestCompression": { - "target": "com.amazonaws.mediaconvert#CmafManifestCompression", + "BaseUrl": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "When set to GZIP, compresses HLS playlist.", - "smithy.api#jsonName": "manifestCompression" + "smithy.api#documentation": "A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.", + "smithy.api#jsonName": "baseUrl" } }, - "FragmentLength": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "ClientCache": { + "target": "com.amazonaws.mediaconvert#CmafClientCache", "traits": { - "smithy.api#documentation": "Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a single output file and it does not cause the creation of many output files as in other output types.", - "smithy.api#jsonName": "fragmentLength" + "smithy.api#documentation": "When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay.", + "smithy.api#jsonName": "clientCache" } }, - "BaseUrl": { - "target": "com.amazonaws.mediaconvert#__string", + "CodecSpecification": { + "target": "com.amazonaws.mediaconvert#CmafCodecSpecification", "traits": { - "smithy.api#documentation": "A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.", - "smithy.api#jsonName": "baseUrl" + "smithy.api#documentation": "Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.", + "smithy.api#jsonName": "codecSpecification" } }, - "WriteSegmentTimelineInRepresentation": { - "target": "com.amazonaws.mediaconvert#CmafWriteSegmentTimelineInRepresentation", + "Destination": { + "target": "com.amazonaws.mediaconvert#__stringPatternS3", "traits": { - "smithy.api#documentation": "When you enable Precise segment duration in DASH manifests (writeSegmentTimelineInRepresentation), your DASH manifest shows precise segment durations. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When this feature isn't enabled, the segment durations in your DASH manifest are approximate. The segment duration information appears in the duration attribute of the SegmentTemplate element.", - "smithy.api#jsonName": "writeSegmentTimelineInRepresentation" + "smithy.api#documentation": "Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.", + "smithy.api#jsonName": "destination" } }, - "SegmentControl": { - "target": "com.amazonaws.mediaconvert#CmafSegmentControl", + "DestinationSettings": { + "target": "com.amazonaws.mediaconvert#DestinationSettings", "traits": { - "smithy.api#documentation": "When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created.", - "smithy.api#jsonName": "segmentControl" + "smithy.api#documentation": "Settings associated with the destination. Will vary based on the type of destination", + "smithy.api#jsonName": "destinationSettings" } }, - "ClientCache": { - "target": "com.amazonaws.mediaconvert#CmafClientCache", + "Encryption": { + "target": "com.amazonaws.mediaconvert#CmafEncryptionSettings", "traits": { - "smithy.api#documentation": "When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay.", - "smithy.api#jsonName": "clientCache" + "smithy.api#documentation": "DRM settings.", + "smithy.api#jsonName": "encryption" } }, - "Destination": { - "target": "com.amazonaws.mediaconvert#__stringPatternS3", + "FragmentLength": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.", - "smithy.api#jsonName": "destination" + "smithy.api#documentation": "Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a single output file and it does not cause the creation of many output files as in other output types.", + "smithy.api#jsonName": "fragmentLength" } }, - "CodecSpecification": { - "target": "com.amazonaws.mediaconvert#CmafCodecSpecification", + "ManifestCompression": { + "target": "com.amazonaws.mediaconvert#CmafManifestCompression", "traits": { - "smithy.api#documentation": "Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.", - "smithy.api#jsonName": "codecSpecification" + "smithy.api#documentation": "When set to GZIP, compresses HLS playlist.", + "smithy.api#jsonName": "manifestCompression" } }, - "SegmentLength": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "ManifestDurationFormat": { + "target": "com.amazonaws.mediaconvert#CmafManifestDurationFormat", "traits": { - "smithy.api#documentation": "Use this setting to specify the length, in seconds, of each individual CMAF segment. This value applies to the whole package; that is, to every output in the output group. Note that segments end on the first keyframe after this number of seconds, so the actual segment length might be slightly longer. If you set Segment control (CmafSegmentControl) to single file, the service puts the content of each output in a single file that has metadata that marks these segments. If you set it to segmented files, the service creates multiple files for each output, each with the content of one segment.", - "smithy.api#jsonName": "segmentLength" + "smithy.api#documentation": "Indicates whether the output manifest should use floating point values for segment duration.", + "smithy.api#jsonName": "manifestDurationFormat" } }, "MinBufferTime": { @@ -2596,6 +2640,13 @@ "smithy.api#jsonName": "minBufferTime" } }, + "MinFinalSegmentLength": { + "target": "com.amazonaws.mediaconvert#__doubleMin0Max2147483647", + "traits": { + "smithy.api#documentation": "Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.", + "smithy.api#jsonName": "minFinalSegmentLength" + } + }, "MpdProfile": { "target": "com.amazonaws.mediaconvert#CmafMpdProfile", "traits": { @@ -2603,18 +2654,18 @@ "smithy.api#jsonName": "mpdProfile" } }, - "DestinationSettings": { - "target": "com.amazonaws.mediaconvert#DestinationSettings", + "SegmentControl": { + "target": "com.amazonaws.mediaconvert#CmafSegmentControl", "traits": { - "smithy.api#documentation": "Settings associated with the destination. Will vary based on the type of destination", - "smithy.api#jsonName": "destinationSettings" + "smithy.api#documentation": "When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created.", + "smithy.api#jsonName": "segmentControl" } }, - "MinFinalSegmentLength": { - "target": "com.amazonaws.mediaconvert#__doubleMin0Max2147483647", + "SegmentLength": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.", - "smithy.api#jsonName": "minFinalSegmentLength" + "smithy.api#documentation": "Use this setting to specify the length, in seconds, of each individual CMAF segment. This value applies to the whole package; that is, to every output in the output group. Note that segments end on the first keyframe after this number of seconds, so the actual segment length might be slightly longer. If you set Segment control (CmafSegmentControl) to single file, the service puts the content of each output in a single file that has metadata that marks these segments. If you set it to segmented files, the service creates multiple files for each output, each with the content of one segment.", + "smithy.api#jsonName": "segmentLength" } }, "StreamInfResolution": { @@ -2624,20 +2675,6 @@ "smithy.api#jsonName": "streamInfResolution" } }, - "WriteHlsManifest": { - "target": "com.amazonaws.mediaconvert#CmafWriteHLSManifest", - "traits": { - "smithy.api#documentation": "When set to ENABLED, an Apple HLS manifest will be generated for this output.", - "smithy.api#jsonName": "writeHlsManifest" - } - }, - "Encryption": { - "target": "com.amazonaws.mediaconvert#CmafEncryptionSettings", - "traits": { - "smithy.api#documentation": "DRM settings.", - "smithy.api#jsonName": "encryption" - } - }, "WriteDashManifest": { "target": "com.amazonaws.mediaconvert#CmafWriteDASHManifest", "traits": { @@ -2645,11 +2682,18 @@ "smithy.api#jsonName": "writeDashManifest" } }, - "ManifestDurationFormat": { - "target": "com.amazonaws.mediaconvert#CmafManifestDurationFormat", + "WriteHlsManifest": { + "target": "com.amazonaws.mediaconvert#CmafWriteHLSManifest", "traits": { - "smithy.api#documentation": "Indicates whether the output manifest should use floating point values for segment duration.", - "smithy.api#jsonName": "manifestDurationFormat" + "smithy.api#documentation": "When set to ENABLED, an Apple HLS manifest will be generated for this output.", + "smithy.api#jsonName": "writeHlsManifest" + } + }, + "WriteSegmentTimelineInRepresentation": { + "target": "com.amazonaws.mediaconvert#CmafWriteSegmentTimelineInRepresentation", + "traits": { + "smithy.api#documentation": "When you enable Precise segment duration in DASH manifests (writeSegmentTimelineInRepresentation), your DASH manifest shows precise segment durations. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When this feature isn't enabled, the segment durations in your DASH manifest are approximate. The segment duration information appears in the duration attribute of the SegmentTemplate element.", + "smithy.api#jsonName": "writeSegmentTimelineInRepresentation" } } }, @@ -2874,25 +2918,11 @@ "com.amazonaws.mediaconvert#ColorCorrector": { "type": "structure", "members": { - "Hue": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative180Max180", - "traits": { - "smithy.api#documentation": "Hue in degrees.", - "smithy.api#jsonName": "hue" - } - }, - "Contrast": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max100", - "traits": { - "smithy.api#documentation": "Contrast level.", - "smithy.api#jsonName": "contrast" - } - }, - "Saturation": { + "Brightness": { "target": "com.amazonaws.mediaconvert#__integerMin1Max100", "traits": { - "smithy.api#documentation": "Saturation level.", - "smithy.api#jsonName": "saturation" + "smithy.api#documentation": "Brightness level.", + "smithy.api#jsonName": "brightness" } }, "ColorSpaceConversion": { @@ -2902,11 +2932,11 @@ "smithy.api#jsonName": "colorSpaceConversion" } }, - "Brightness": { + "Contrast": { "target": "com.amazonaws.mediaconvert#__integerMin1Max100", "traits": { - "smithy.api#documentation": "Brightness level.", - "smithy.api#jsonName": "brightness" + "smithy.api#documentation": "Contrast level.", + "smithy.api#jsonName": "contrast" } }, "Hdr10Metadata": { @@ -2915,6 +2945,20 @@ "smithy.api#documentation": "Use these settings when you convert to the HDR 10 color space. Specify the SMPTE ST 2086 Mastering Display Color Volume static metadata that you want signaled in the output. These values don't affect the pixel values that are encoded in the video stream. They are intended to help the downstream video player display content in a way that reflects the intentions of the the content creator. When you set Color space conversion (ColorSpaceConversion) to HDR 10 (FORCE_HDR10), these settings are required. You must set values for Max frame average light level (maxFrameAverageLightLevel) and Max content light level (maxContentLightLevel); these settings don't have a default value. The default values for the other HDR 10 metadata settings are defined by the P3D65 color space. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.", "smithy.api#jsonName": "hdr10Metadata" } + }, + "Hue": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative180Max180", + "traits": { + "smithy.api#documentation": "Hue in degrees.", + "smithy.api#jsonName": "hue" + } + }, + "Saturation": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max100", + "traits": { + "smithy.api#documentation": "Saturation level.", + "smithy.api#jsonName": "saturation" + } } }, "traits": { @@ -3040,11 +3084,11 @@ "com.amazonaws.mediaconvert#ContainerSettings": { "type": "structure", "members": { - "M2tsSettings": { - "target": "com.amazonaws.mediaconvert#M2tsSettings", + "CmfcSettings": { + "target": "com.amazonaws.mediaconvert#CmfcSettings", "traits": { - "smithy.api#documentation": "MPEG-2 TS container settings. These apply to outputs in a File output group when the output's container (ContainerType) is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.", - "smithy.api#jsonName": "m2tsSettings" + "smithy.api#documentation": "Settings for MP4 segments in CMAF", + "smithy.api#jsonName": "cmfcSettings" } }, "Container": { @@ -3061,25 +3105,11 @@ "smithy.api#jsonName": "f4vSettings" } }, - "MxfSettings": { - "target": "com.amazonaws.mediaconvert#MxfSettings", - "traits": { - "smithy.api#documentation": "MXF settings", - "smithy.api#jsonName": "mxfSettings" - } - }, - "MpdSettings": { - "target": "com.amazonaws.mediaconvert#MpdSettings", - "traits": { - "smithy.api#documentation": "Settings for MP4 segments in DASH", - "smithy.api#jsonName": "mpdSettings" - } - }, - "Mp4Settings": { - "target": "com.amazonaws.mediaconvert#Mp4Settings", + "M2tsSettings": { + "target": "com.amazonaws.mediaconvert#M2tsSettings", "traits": { - "smithy.api#documentation": "Settings for MP4 container. You can create audio-only AAC outputs with this container.", - "smithy.api#jsonName": "mp4Settings" + "smithy.api#documentation": "MPEG-2 TS container settings. These apply to outputs in a File output group when the output's container (ContainerType) is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.", + "smithy.api#jsonName": "m2tsSettings" } }, "M3u8Settings": { @@ -3096,11 +3126,25 @@ "smithy.api#jsonName": "movSettings" } }, - "CmfcSettings": { - "target": "com.amazonaws.mediaconvert#CmfcSettings", + "Mp4Settings": { + "target": "com.amazonaws.mediaconvert#Mp4Settings", "traits": { - "smithy.api#documentation": "Settings for MP4 segments in CMAF", - "smithy.api#jsonName": "cmfcSettings" + "smithy.api#documentation": "Settings for MP4 container. You can create audio-only AAC outputs with this container.", + "smithy.api#jsonName": "mp4Settings" + } + }, + "MpdSettings": { + "target": "com.amazonaws.mediaconvert#MpdSettings", + "traits": { + "smithy.api#documentation": "Settings for MP4 segments in DASH", + "smithy.api#jsonName": "mpdSettings" + } + }, + "MxfSettings": { + "target": "com.amazonaws.mediaconvert#MxfSettings", + "traits": { + "smithy.api#documentation": "MXF settings", + "smithy.api#jsonName": "mxfSettings" } } }, @@ -3200,12 +3244,26 @@ "com.amazonaws.mediaconvert#CreateJobRequest": { "type": "structure", "members": { - "Role": { + "AccelerationSettings": { + "target": "com.amazonaws.mediaconvert#AccelerationSettings", + "traits": { + "smithy.api#documentation": "Optional. Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide.", + "smithy.api#jsonName": "accelerationSettings" + } + }, + "BillingTagsSource": { + "target": "com.amazonaws.mediaconvert#BillingTagsSource", + "traits": { + "smithy.api#documentation": "Optional. Choose a tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up. Any transcoding outputs that don't have an associated tag will appear in your billing report unsorted. If you don't choose a valid value for this field, your job outputs will appear on the billing report unsorted.", + "smithy.api#jsonName": "billingTagsSource" + } + }, + "ClientRequestToken": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.", - "smithy.api#jsonName": "role", - "smithy.api#required": {} + "smithy.api#documentation": "Optional. Idempotency token for CreateJob operation.", + "smithy.api#idempotencyToken": {}, + "smithy.api#jsonName": "clientRequestToken" } }, "HopDestinations": { @@ -3215,53 +3273,33 @@ "smithy.api#jsonName": "hopDestinations" } }, - "SimulateReservedQueue": { - "target": "com.amazonaws.mediaconvert#SimulateReservedQueue", + "JobTemplate": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Optional. Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default.", - "smithy.api#jsonName": "simulateReservedQueue" + "smithy.api#documentation": "Optional. When you create a job, you can either specify a job template or specify the transcoding settings individually.", + "smithy.api#jsonName": "jobTemplate" } }, - "Tags": { - "target": "com.amazonaws.mediaconvert#__mapOf__string", + "Priority": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { - "smithy.api#documentation": "Optional. The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "Optional. Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0.", + "smithy.api#jsonName": "priority" } }, - "UserMetadata": { - "target": "com.amazonaws.mediaconvert#__mapOf__string", + "Queue": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Optional. User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.", - "smithy.api#jsonName": "userMetadata" - } - }, - "StatusUpdateInterval": { - "target": "com.amazonaws.mediaconvert#StatusUpdateInterval", - "traits": { - "smithy.api#documentation": "Optional. Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.", - "smithy.api#jsonName": "statusUpdateInterval" - } - }, - "Priority": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", - "traits": { - "smithy.api#documentation": "Optional. Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0.", - "smithy.api#jsonName": "priority" - } - }, - "BillingTagsSource": { - "target": "com.amazonaws.mediaconvert#BillingTagsSource", - "traits": { - "smithy.api#documentation": "Optional. Choose a tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up. Any transcoding outputs that don't have an associated tag will appear in your billing report unsorted. If you don't choose a valid value for this field, your job outputs will appear on the billing report unsorted.", - "smithy.api#jsonName": "billingTagsSource" + "smithy.api#documentation": "Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html.", + "smithy.api#jsonName": "queue" } }, - "JobTemplate": { + "Role": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Optional. When you create a job, you can either specify a job template or specify the transcoding settings individually.", - "smithy.api#jsonName": "jobTemplate" + "smithy.api#documentation": "Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.", + "smithy.api#jsonName": "role", + "smithy.api#required": {} } }, "Settings": { @@ -3272,26 +3310,32 @@ "smithy.api#required": {} } }, - "Queue": { - "target": "com.amazonaws.mediaconvert#__string", + "SimulateReservedQueue": { + "target": "com.amazonaws.mediaconvert#SimulateReservedQueue", "traits": { - "smithy.api#documentation": "Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html.", - "smithy.api#jsonName": "queue" + "smithy.api#documentation": "Optional. Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default.", + "smithy.api#jsonName": "simulateReservedQueue" } }, - "AccelerationSettings": { - "target": "com.amazonaws.mediaconvert#AccelerationSettings", + "StatusUpdateInterval": { + "target": "com.amazonaws.mediaconvert#StatusUpdateInterval", "traits": { - "smithy.api#documentation": "Optional. Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide.", - "smithy.api#jsonName": "accelerationSettings" + "smithy.api#documentation": "Optional. Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.", + "smithy.api#jsonName": "statusUpdateInterval" } }, - "ClientRequestToken": { - "target": "com.amazonaws.mediaconvert#__string", + "Tags": { + "target": "com.amazonaws.mediaconvert#__mapOf__string", "traits": { - "smithy.api#documentation": "Optional. Idempotency token for CreateJob operation.", - "smithy.api#idempotencyToken": {}, - "smithy.api#jsonName": "clientRequestToken" + "smithy.api#documentation": "Optional. The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", + "smithy.api#jsonName": "tags" + } + }, + "UserMetadata": { + "target": "com.amazonaws.mediaconvert#__mapOf__string", + "traits": { + "smithy.api#documentation": "Optional. User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.", + "smithy.api#jsonName": "userMetadata" } } } @@ -3355,6 +3399,13 @@ "smithy.api#jsonName": "accelerationSettings" } }, + "Category": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Optional. A category for the job template you are creating", + "smithy.api#jsonName": "category" + } + }, "Description": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -3362,6 +3413,21 @@ "smithy.api#jsonName": "description" } }, + "HopDestinations": { + "target": "com.amazonaws.mediaconvert#__listOfHopDestination", + "traits": { + "smithy.api#documentation": "Optional. Use queue hopping to avoid overly long waits in the backlog of the queue that you submit your job to. Specify an alternate queue and the maximum time that your job will wait in the initial queue before hopping. For more information about this feature, see the AWS Elemental MediaConvert User Guide.", + "smithy.api#jsonName": "hopDestinations" + } + }, + "Name": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "The name of the job template you are creating.", + "smithy.api#jsonName": "name", + "smithy.api#required": {} + } + }, "Priority": { "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { @@ -3369,13 +3435,6 @@ "smithy.api#jsonName": "priority" } }, - "StatusUpdateInterval": { - "target": "com.amazonaws.mediaconvert#StatusUpdateInterval", - "traits": { - "smithy.api#documentation": "Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.", - "smithy.api#jsonName": "statusUpdateInterval" - } - }, "Queue": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -3383,20 +3442,6 @@ "smithy.api#jsonName": "queue" } }, - "Category": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Optional. A category for the job template you are creating", - "smithy.api#jsonName": "category" - } - }, - "Tags": { - "target": "com.amazonaws.mediaconvert#__mapOf__string", - "traits": { - "smithy.api#documentation": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", - "smithy.api#jsonName": "tags" - } - }, "Settings": { "target": "com.amazonaws.mediaconvert#JobTemplateSettings", "traits": { @@ -3405,19 +3450,18 @@ "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.mediaconvert#__string", + "StatusUpdateInterval": { + "target": "com.amazonaws.mediaconvert#StatusUpdateInterval", "traits": { - "smithy.api#documentation": "The name of the job template you are creating.", - "smithy.api#jsonName": "name", - "smithy.api#required": {} + "smithy.api#documentation": "Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.", + "smithy.api#jsonName": "statusUpdateInterval" } }, - "HopDestinations": { - "target": "com.amazonaws.mediaconvert#__listOfHopDestination", + "Tags": { + "target": "com.amazonaws.mediaconvert#__mapOf__string", "traits": { - "smithy.api#documentation": "Optional. Use queue hopping to avoid overly long waits in the backlog of the queue that you submit your job to. Specify an alternate queue and the maximum time that your job will wait in the initial queue before hopping. For more information about this feature, see the AWS Elemental MediaConvert User Guide.", - "smithy.api#jsonName": "hopDestinations" + "smithy.api#documentation": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", + "smithy.api#jsonName": "tags" } } } @@ -3474,18 +3518,18 @@ "com.amazonaws.mediaconvert#CreatePresetRequest": { "type": "structure", "members": { - "Description": { + "Category": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Optional. A description of the preset you are creating.", - "smithy.api#jsonName": "description" + "smithy.api#documentation": "Optional. A category for the preset you are creating.", + "smithy.api#jsonName": "category" } }, - "Tags": { - "target": "com.amazonaws.mediaconvert#__mapOf__string", + "Description": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "Optional. A description of the preset you are creating.", + "smithy.api#jsonName": "description" } }, "Name": { @@ -3504,11 +3548,11 @@ "smithy.api#required": {} } }, - "Category": { - "target": "com.amazonaws.mediaconvert#__string", + "Tags": { + "target": "com.amazonaws.mediaconvert#__mapOf__string", "traits": { - "smithy.api#documentation": "Optional. A category for the preset you are creating.", - "smithy.api#jsonName": "category" + "smithy.api#documentation": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", + "smithy.api#jsonName": "tags" } } } @@ -3580,13 +3624,6 @@ "smithy.api#required": {} } }, - "ReservationPlanSettings": { - "target": "com.amazonaws.mediaconvert#ReservationPlanSettings", - "traits": { - "smithy.api#documentation": "Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.", - "smithy.api#jsonName": "reservationPlanSettings" - } - }, "PricingPlan": { "target": "com.amazonaws.mediaconvert#PricingPlan", "traits": { @@ -3594,11 +3631,11 @@ "smithy.api#jsonName": "pricingPlan" } }, - "Tags": { - "target": "com.amazonaws.mediaconvert#__mapOf__string", + "ReservationPlanSettings": { + "target": "com.amazonaws.mediaconvert#ReservationPlanSettings", "traits": { - "smithy.api#documentation": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", - "smithy.api#jsonName": "tags" + "smithy.api#documentation": "Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.", + "smithy.api#jsonName": "reservationPlanSettings" } }, "Status": { @@ -3607,6 +3644,13 @@ "smithy.api#documentation": "Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.", "smithy.api#jsonName": "status" } + }, + "Tags": { + "target": "com.amazonaws.mediaconvert#__mapOf__string", + "traits": { + "smithy.api#documentation": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", + "smithy.api#jsonName": "tags" + } } } }, @@ -3625,19 +3669,19 @@ "com.amazonaws.mediaconvert#DashAdditionalManifest": { "type": "structure", "members": { - "SelectedOutputs": { - "target": "com.amazonaws.mediaconvert#__listOf__stringMin1", - "traits": { - "smithy.api#documentation": "Specify the outputs that you want this additional top-level manifest to reference.", - "smithy.api#jsonName": "selectedOutputs" - } - }, "ManifestNameModifier": { "target": "com.amazonaws.mediaconvert#__stringMin1", "traits": { "smithy.api#documentation": "Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your DASH group is film-name.mpd. If you enter \"-no-premium\" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.mpd.", "smithy.api#jsonName": "manifestNameModifier" } + }, + "SelectedOutputs": { + "target": "com.amazonaws.mediaconvert#__listOf__stringMin1", + "traits": { + "smithy.api#documentation": "Specify the outputs that you want this additional top-level manifest to reference.", + "smithy.api#jsonName": "selectedOutputs" + } } }, "traits": { @@ -3647,19 +3691,19 @@ "com.amazonaws.mediaconvert#DashIsoEncryptionSettings": { "type": "structure", "members": { - "SpekeKeyProvider": { - "target": "com.amazonaws.mediaconvert#SpekeKeyProvider", - "traits": { - "smithy.api#documentation": "If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.", - "smithy.api#jsonName": "spekeKeyProvider" - } - }, "PlaybackDeviceCompatibility": { "target": "com.amazonaws.mediaconvert#DashIsoPlaybackDeviceCompatibility", "traits": { "smithy.api#documentation": "This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH H.264 outputs with DRM encryption. Choose Unencrypted SEI (UNENCRYPTED_SEI) only to correct problems with playback on older devices. Otherwise, keep the default setting CENC v1 (CENC_V1). If you choose Unencrypted SEI, for that output, the service will exclude the access unit delimiter and will leave the SEI NAL units unencrypted.", "smithy.api#jsonName": "playbackDeviceCompatibility" } + }, + "SpekeKeyProvider": { + "target": "com.amazonaws.mediaconvert#SpekeKeyProvider", + "traits": { + "smithy.api#documentation": "If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.", + "smithy.api#jsonName": "spekeKeyProvider" + } } }, "traits": { @@ -3669,32 +3713,18 @@ "com.amazonaws.mediaconvert#DashIsoGroupSettings": { "type": "structure", "members": { - "DestinationSettings": { - "target": "com.amazonaws.mediaconvert#DestinationSettings", - "traits": { - "smithy.api#documentation": "Settings associated with the destination. Will vary based on the type of destination", - "smithy.api#jsonName": "destinationSettings" - } - }, - "WriteSegmentTimelineInRepresentation": { - "target": "com.amazonaws.mediaconvert#DashIsoWriteSegmentTimelineInRepresentation", - "traits": { - "smithy.api#documentation": "If you get an HTTP error in the 400 range when you play back your DASH output, enable this setting and run your transcoding job again. When you enable this setting, the service writes precise segment durations in the DASH manifest. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When you don't enable this setting, the service writes approximate segment durations in your DASH manifest.", - "smithy.api#jsonName": "writeSegmentTimelineInRepresentation" - } - }, - "MinBufferTime": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "AdditionalManifests": { + "target": "com.amazonaws.mediaconvert#__listOfDashAdditionalManifest", "traits": { - "smithy.api#documentation": "Minimum time of initially buffered media that is needed to ensure smooth playout.", - "smithy.api#jsonName": "minBufferTime" + "smithy.api#documentation": "By default, the service creates one .mpd DASH manifest for each DASH ISO output group in your job. This default manifest references every output in the output group. To create additional DASH manifests that reference a subset of the outputs in the output group, specify a list of them here.", + "smithy.api#jsonName": "additionalManifests" } }, - "Encryption": { - "target": "com.amazonaws.mediaconvert#DashIsoEncryptionSettings", + "BaseUrl": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "DRM settings.", - "smithy.api#jsonName": "encryption" + "smithy.api#documentation": "A partial URI prefix that will be put in the manifest (.mpd) file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.", + "smithy.api#jsonName": "baseUrl" } }, "Destination": { @@ -3704,18 +3734,18 @@ "smithy.api#jsonName": "destination" } }, - "MpdProfile": { - "target": "com.amazonaws.mediaconvert#DashIsoMpdProfile", + "DestinationSettings": { + "target": "com.amazonaws.mediaconvert#DestinationSettings", "traits": { - "smithy.api#documentation": "Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control (SegmentControl) to Single file (SINGLE_FILE).", - "smithy.api#jsonName": "mpdProfile" + "smithy.api#documentation": "Settings associated with the destination. Will vary based on the type of destination", + "smithy.api#jsonName": "destinationSettings" } }, - "BaseUrl": { - "target": "com.amazonaws.mediaconvert#__string", + "Encryption": { + "target": "com.amazonaws.mediaconvert#DashIsoEncryptionSettings", "traits": { - "smithy.api#documentation": "A partial URI prefix that will be put in the manifest (.mpd) file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.", - "smithy.api#jsonName": "baseUrl" + "smithy.api#documentation": "DRM settings.", + "smithy.api#jsonName": "encryption" } }, "FragmentLength": { @@ -3725,32 +3755,46 @@ "smithy.api#jsonName": "fragmentLength" } }, - "SegmentLength": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "HbbtvCompliance": { + "target": "com.amazonaws.mediaconvert#DashIsoHbbtvCompliance", "traits": { - "smithy.api#documentation": "Length of mpd segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer. When Emit Single File is checked, the segmentation is internal to a single output file and it does not cause the creation of many output files as in other output types.", - "smithy.api#jsonName": "segmentLength" + "smithy.api#documentation": "Supports HbbTV specification as indicated", + "smithy.api#jsonName": "hbbtvCompliance" } }, - "SegmentControl": { - "target": "com.amazonaws.mediaconvert#DashIsoSegmentControl", + "MinBufferTime": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created.", - "smithy.api#jsonName": "segmentControl" + "smithy.api#documentation": "Minimum time of initially buffered media that is needed to ensure smooth playout.", + "smithy.api#jsonName": "minBufferTime" } }, - "AdditionalManifests": { - "target": "com.amazonaws.mediaconvert#__listOfDashAdditionalManifest", + "MpdProfile": { + "target": "com.amazonaws.mediaconvert#DashIsoMpdProfile", "traits": { - "smithy.api#documentation": "By default, the service creates one .mpd DASH manifest for each DASH ISO output group in your job. This default manifest references every output in the output group. To create additional DASH manifests that reference a subset of the outputs in the output group, specify a list of them here.", - "smithy.api#jsonName": "additionalManifests" + "smithy.api#documentation": "Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control (SegmentControl) to Single file (SINGLE_FILE).", + "smithy.api#jsonName": "mpdProfile" } }, - "HbbtvCompliance": { - "target": "com.amazonaws.mediaconvert#DashIsoHbbtvCompliance", + "SegmentControl": { + "target": "com.amazonaws.mediaconvert#DashIsoSegmentControl", "traits": { - "smithy.api#documentation": "Supports HbbTV specification as indicated", - "smithy.api#jsonName": "hbbtvCompliance" + "smithy.api#documentation": "When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created.", + "smithy.api#jsonName": "segmentControl" + } + }, + "SegmentLength": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "Length of mpd segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer. When Emit Single File is checked, the segmentation is internal to a single output file and it does not cause the creation of many output files as in other output types.", + "smithy.api#jsonName": "segmentLength" + } + }, + "WriteSegmentTimelineInRepresentation": { + "target": "com.amazonaws.mediaconvert#DashIsoWriteSegmentTimelineInRepresentation", + "traits": { + "smithy.api#documentation": "If you get an HTTP error in the 400 range when you play back your DASH output, enable this setting and run your transcoding job again. When you enable this setting, the service writes precise segment durations in the DASH manifest. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When you don't enable this setting, the service writes approximate segment durations in your DASH manifest.", + "smithy.api#jsonName": "writeSegmentTimelineInRepresentation" } } }, @@ -3885,13 +3929,6 @@ "com.amazonaws.mediaconvert#Deinterlacer": { "type": "structure", "members": { - "Mode": { - "target": "com.amazonaws.mediaconvert#DeinterlacerMode", - "traits": { - "smithy.api#documentation": "Use Deinterlacer (DeinterlaceMode) to choose how the service will do deinterlacing. Default is Deinterlace. - Deinterlace converts interlaced to progressive. - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. - Adaptive auto-detects and converts to progressive.", - "smithy.api#jsonName": "mode" - } - }, "Algorithm": { "target": "com.amazonaws.mediaconvert#DeinterlaceAlgorithm", "traits": { @@ -3905,6 +3942,13 @@ "smithy.api#documentation": "- When set to NORMAL (default), the deinterlacer does not convert frames that are tagged in metadata as progressive. It will only convert those that are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer converts every frame to progressive - even those that are already tagged as progressive. Turn Force mode on only if there is a good chance that the metadata has tagged frames as progressive when they are not progressive. Do not turn on otherwise; processing frames that are already progressive into progressive will probably result in lower quality video.", "smithy.api#jsonName": "control" } + }, + "Mode": { + "target": "com.amazonaws.mediaconvert#DeinterlacerMode", + "traits": { + "smithy.api#documentation": "Use Deinterlacer (DeinterlaceMode) to choose how the service will do deinterlacing. Default is Deinterlace. - Deinterlace converts interlaced to progressive. - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. - Adaptive auto-detects and converts to progressive.", + "smithy.api#jsonName": "mode" + } } }, "traits": { @@ -4178,19 +4222,19 @@ "smithy.api#jsonName": "maxResults" } }, - "NextToken": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Use this string, provided with the response to a previous request, to request the next batch of endpoints.", - "smithy.api#jsonName": "nextToken" - } - }, "Mode": { "target": "com.amazonaws.mediaconvert#DescribeEndpointsMode", "traits": { "smithy.api#documentation": "Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.", "smithy.api#jsonName": "mode" } + }, + "NextToken": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Use this string, provided with the response to a previous request, to request the next batch of endpoints.", + "smithy.api#jsonName": "nextToken" + } } }, "traits": { @@ -4200,19 +4244,19 @@ "com.amazonaws.mediaconvert#DescribeEndpointsResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Use this string to request the next batch of endpoints.", - "smithy.api#jsonName": "nextToken" - } - }, "Endpoints": { "target": "com.amazonaws.mediaconvert#__listOfEndpoint", "traits": { "smithy.api#documentation": "List of endpoints", "smithy.api#jsonName": "endpoints" } + }, + "NextToken": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Use this string to request the next batch of endpoints.", + "smithy.api#jsonName": "nextToken" + } } } }, @@ -4288,13 +4332,6 @@ "com.amazonaws.mediaconvert#DolbyVision": { "type": "structure", "members": { - "Profile": { - "target": "com.amazonaws.mediaconvert#DolbyVisionProfile", - "traits": { - "smithy.api#documentation": "In the current MediaConvert implementation, the Dolby Vision profile is always 5 (PROFILE_5). Therefore, all of your inputs must contain Dolby Vision frame interleaved data.", - "smithy.api#jsonName": "profile" - } - }, "L6Metadata": { "target": "com.amazonaws.mediaconvert#DolbyVisionLevel6Metadata", "traits": { @@ -4308,6 +4345,13 @@ "smithy.api#documentation": "Use Dolby Vision Mode to choose how the service will handle Dolby Vision MaxCLL and MaxFALL properies.", "smithy.api#jsonName": "l6Mode" } + }, + "Profile": { + "target": "com.amazonaws.mediaconvert#DolbyVisionProfile", + "traits": { + "smithy.api#documentation": "In the current MediaConvert implementation, the Dolby Vision profile is always 5 (PROFILE_5). Therefore, all of your inputs must contain Dolby Vision frame interleaved data.", + "smithy.api#jsonName": "profile" + } } }, "traits": { @@ -4387,13 +4431,6 @@ "com.amazonaws.mediaconvert#DvbNitSettings": { "type": "structure", "members": { - "NitInterval": { - "target": "com.amazonaws.mediaconvert#__integerMin25Max10000", - "traits": { - "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", - "smithy.api#jsonName": "nitInterval" - } - }, "NetworkId": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { @@ -4407,6 +4444,13 @@ "smithy.api#documentation": "The network name text placed in the network_name_descriptor inside the Network Information Table. Maximum length is 256 characters.", "smithy.api#jsonName": "networkName" } + }, + "NitInterval": { + "target": "com.amazonaws.mediaconvert#__integerMin25Max10000", + "traits": { + "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", + "smithy.api#jsonName": "nitInterval" + } } }, "traits": { @@ -4416,20 +4460,6 @@ "com.amazonaws.mediaconvert#DvbSdtSettings": { "type": "structure", "members": { - "ServiceName": { - "target": "com.amazonaws.mediaconvert#__stringMin1Max256", - "traits": { - "smithy.api#documentation": "The service name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters.", - "smithy.api#jsonName": "serviceName" - } - }, - "ServiceProviderName": { - "target": "com.amazonaws.mediaconvert#__stringMin1Max256", - "traits": { - "smithy.api#documentation": "The service provider name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters.", - "smithy.api#jsonName": "serviceProviderName" - } - }, "OutputSdt": { "target": "com.amazonaws.mediaconvert#OutputSdt", "traits": { @@ -4443,6 +4473,20 @@ "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "sdtInterval" } + }, + "ServiceName": { + "target": "com.amazonaws.mediaconvert#__stringMin1Max256", + "traits": { + "smithy.api#documentation": "The service name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters.", + "smithy.api#jsonName": "serviceName" + } + }, + "ServiceProviderName": { + "target": "com.amazonaws.mediaconvert#__stringMin1Max256", + "traits": { + "smithy.api#documentation": "The service provider name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters.", + "smithy.api#jsonName": "serviceProviderName" + } } }, "traits": { @@ -4452,6 +4496,20 @@ "com.amazonaws.mediaconvert#DvbSubDestinationSettings": { "type": "structure", "members": { + "Alignment": { + "target": "com.amazonaws.mediaconvert#DvbSubtitleAlignment", + "traits": { + "smithy.api#documentation": "If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "alignment" + } + }, + "BackgroundColor": { + "target": "com.amazonaws.mediaconvert#DvbSubtitleBackgroundColor", + "traits": { + "smithy.api#documentation": "Specifies the color of the rectangle behind the captions.\nAll burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "backgroundColor" + } + }, "BackgroundOpacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { @@ -4459,18 +4517,32 @@ "smithy.api#jsonName": "backgroundOpacity" } }, - "OutlineSize": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max10", + "FontColor": { + "target": "com.amazonaws.mediaconvert#DvbSubtitleFontColor", "traits": { - "smithy.api#documentation": "Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "outlineSize" + "smithy.api#documentation": "Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "fontColor" } }, - "ShadowOpacity": { + "FontOpacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { - "smithy.api#documentation": "Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "shadowOpacity" + "smithy.api#documentation": "Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent.\nAll burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "fontOpacity" + } + }, + "FontResolution": { + "target": "com.amazonaws.mediaconvert#__integerMin96Max600", + "traits": { + "smithy.api#documentation": "Font resolution in DPI (dots per inch); default is 96 dpi.\nAll burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "fontResolution" + } + }, + "FontScript": { + "target": "com.amazonaws.mediaconvert#FontScript", + "traits": { + "smithy.api#documentation": "Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use \"AUTOMATIC\" or leave unset. This is used to help determine the appropriate font for rendering DVB-Sub captions.", + "smithy.api#jsonName": "fontScript" } }, "FontSize": { @@ -4487,11 +4559,11 @@ "smithy.api#jsonName": "outlineColor" } }, - "SubtitlingType": { - "target": "com.amazonaws.mediaconvert#DvbSubtitlingType", + "OutlineSize": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max10", "traits": { - "smithy.api#documentation": "Specify whether your DVB subtitles are standard or for hearing impaired. Choose hearing impaired if your subtitles include audio descriptions and dialogue. Choose standard if your subtitles include only dialogue.", - "smithy.api#jsonName": "subtitlingType" + "smithy.api#documentation": "Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "outlineSize" } }, "ShadowColor": { @@ -4501,25 +4573,11 @@ "smithy.api#jsonName": "shadowColor" } }, - "ShadowYOffset": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", - "traits": { - "smithy.api#documentation": "Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "shadowYOffset" - } - }, - "TeletextSpacing": { - "target": "com.amazonaws.mediaconvert#DvbSubtitleTeletextSpacing", - "traits": { - "smithy.api#documentation": "Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption.", - "smithy.api#jsonName": "teletextSpacing" - } - }, - "FontColor": { - "target": "com.amazonaws.mediaconvert#DvbSubtitleFontColor", + "ShadowOpacity": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { - "smithy.api#documentation": "Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "fontColor" + "smithy.api#documentation": "Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "shadowOpacity" } }, "ShadowXOffset": { @@ -4529,39 +4587,32 @@ "smithy.api#jsonName": "shadowXOffset" } }, - "XPosition": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", - "traits": { - "smithy.api#documentation": "Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "xPosition" - } - }, - "Alignment": { - "target": "com.amazonaws.mediaconvert#DvbSubtitleAlignment", + "ShadowYOffset": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { - "smithy.api#documentation": "If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "alignment" + "smithy.api#documentation": "Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "shadowYOffset" } }, - "BackgroundColor": { - "target": "com.amazonaws.mediaconvert#DvbSubtitleBackgroundColor", + "SubtitlingType": { + "target": "com.amazonaws.mediaconvert#DvbSubtitlingType", "traits": { - "smithy.api#documentation": "Specifies the color of the rectangle behind the captions.\nAll burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "backgroundColor" + "smithy.api#documentation": "Specify whether your DVB subtitles are standard or for hearing impaired. Choose hearing impaired if your subtitles include audio descriptions and dialogue. Choose standard if your subtitles include only dialogue.", + "smithy.api#jsonName": "subtitlingType" } }, - "FontScript": { - "target": "com.amazonaws.mediaconvert#FontScript", + "TeletextSpacing": { + "target": "com.amazonaws.mediaconvert#DvbSubtitleTeletextSpacing", "traits": { - "smithy.api#documentation": "Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use \"AUTOMATIC\" or leave unset. This is used to help determine the appropriate font for rendering DVB-Sub captions.", - "smithy.api#jsonName": "fontScript" + "smithy.api#documentation": "Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption.", + "smithy.api#jsonName": "teletextSpacing" } }, - "FontResolution": { - "target": "com.amazonaws.mediaconvert#__integerMin96Max600", + "XPosition": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "Font resolution in DPI (dots per inch); default is 96 dpi.\nAll burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "fontResolution" + "smithy.api#documentation": "Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", + "smithy.api#jsonName": "xPosition" } }, "YPosition": { @@ -4570,13 +4621,6 @@ "smithy.api#documentation": "Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "yPosition" } - }, - "FontOpacity": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max255", - "traits": { - "smithy.api#documentation": "Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent.\nAll burn-in and DVB-Sub font settings must match.", - "smithy.api#jsonName": "fontOpacity" - } } }, "traits": { @@ -4900,18 +4944,32 @@ "com.amazonaws.mediaconvert#Eac3AtmosSettings": { "type": "structure", "members": { - "LtRtSurroundMixLevel": { - "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", + "Bitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin384000Max768000", "traits": { - "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel.", - "smithy.api#jsonName": "ltRtSurroundMixLevel" + "smithy.api#documentation": "Specify the average bitrate in bits per second.\nValid values: 384k, 448k, 640k, 768k", + "smithy.api#jsonName": "bitrate" } }, - "LoRoSurroundMixLevel": { - "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", + "BitstreamMode": { + "target": "com.amazonaws.mediaconvert#Eac3AtmosBitstreamMode", "traits": { - "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel.", - "smithy.api#jsonName": "loRoSurroundMixLevel" + "smithy.api#documentation": "Specify the bitstream mode for the E-AC-3 stream that the encoder emits. For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex E).", + "smithy.api#jsonName": "bitstreamMode" + } + }, + "CodingMode": { + "target": "com.amazonaws.mediaconvert#Eac3AtmosCodingMode", + "traits": { + "smithy.api#documentation": "The coding mode for Dolby Digital Plus JOC (Atmos) is always 9.1.6 (CODING_MODE_9_1_6).", + "smithy.api#jsonName": "codingMode" + } + }, + "DialogueIntelligence": { + "target": "com.amazonaws.mediaconvert#Eac3AtmosDialogueIntelligence", + "traits": { + "smithy.api#documentation": "Enable Dolby Dialogue Intelligence to adjust loudness based on dialogue analysis.", + "smithy.api#jsonName": "dialogueIntelligence" } }, "DynamicRangeCompressionLine": { @@ -4921,6 +4979,27 @@ "smithy.api#jsonName": "dynamicRangeCompressionLine" } }, + "DynamicRangeCompressionRf": { + "target": "com.amazonaws.mediaconvert#Eac3AtmosDynamicRangeCompressionRf", + "traits": { + "smithy.api#documentation": "Specify how the service limits the audio dynamic range when compressing the audio.", + "smithy.api#jsonName": "dynamicRangeCompressionRf" + } + }, + "LoRoCenterMixLevel": { + "target": "com.amazonaws.mediaconvert#__doubleMinNegative6Max3", + "traits": { + "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left only/Right only center mix\n(Lo/Ro center). MediaConvert uses this value for downmixing. How the service uses this\nvalue depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix).\nValid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, and -6.0.", + "smithy.api#jsonName": "loRoCenterMixLevel" + } + }, + "LoRoSurroundMixLevel": { + "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", + "traits": { + "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel.", + "smithy.api#jsonName": "loRoSurroundMixLevel" + } + }, "LtRtCenterMixLevel": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative6Max3", "traits": { @@ -4928,6 +5007,13 @@ "smithy.api#jsonName": "ltRtCenterMixLevel" } }, + "LtRtSurroundMixLevel": { + "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", + "traits": { + "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel.", + "smithy.api#jsonName": "ltRtSurroundMixLevel" + } + }, "MeteringMode": { "target": "com.amazonaws.mediaconvert#Eac3AtmosMeteringMode", "traits": { @@ -4935,20 +5021,6 @@ "smithy.api#jsonName": "meteringMode" } }, - "BitstreamMode": { - "target": "com.amazonaws.mediaconvert#Eac3AtmosBitstreamMode", - "traits": { - "smithy.api#documentation": "Specify the bitstream mode for the E-AC-3 stream that the encoder emits. For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex E).", - "smithy.api#jsonName": "bitstreamMode" - } - }, - "DynamicRangeCompressionRf": { - "target": "com.amazonaws.mediaconvert#Eac3AtmosDynamicRangeCompressionRf", - "traits": { - "smithy.api#documentation": "Specify how the service limits the audio dynamic range when compressing the audio.", - "smithy.api#jsonName": "dynamicRangeCompressionRf" - } - }, "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin48000Max48000", "traits": { @@ -4956,11 +5028,11 @@ "smithy.api#jsonName": "sampleRate" } }, - "CodingMode": { - "target": "com.amazonaws.mediaconvert#Eac3AtmosCodingMode", + "SpeechThreshold": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max100", "traits": { - "smithy.api#documentation": "The coding mode for Dolby Digital Plus JOC (Atmos) is always 9.1.6 (CODING_MODE_9_1_6).", - "smithy.api#jsonName": "codingMode" + "smithy.api#documentation": "Specify the percentage of audio content that must be speech before the encoder uses the measured speech loudness as the overall program loudness.", + "smithy.api#jsonName": "speechThreshold" } }, "StereoDownmix": { @@ -4976,34 +5048,6 @@ "smithy.api#documentation": "Specify whether your input audio has an additional center rear surround channel matrix encoded into your left and right surround channels.", "smithy.api#jsonName": "surroundExMode" } - }, - "SpeechThreshold": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max100", - "traits": { - "smithy.api#documentation": "Specify the percentage of audio content that must be speech before the encoder uses the measured speech loudness as the overall program loudness.", - "smithy.api#jsonName": "speechThreshold" - } - }, - "LoRoCenterMixLevel": { - "target": "com.amazonaws.mediaconvert#__doubleMinNegative6Max3", - "traits": { - "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left only/Right only center mix\n(Lo/Ro center). MediaConvert uses this value for downmixing. How the service uses this\nvalue depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix).\nValid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, and -6.0.", - "smithy.api#jsonName": "loRoCenterMixLevel" - } - }, - "DialogueIntelligence": { - "target": "com.amazonaws.mediaconvert#Eac3AtmosDialogueIntelligence", - "traits": { - "smithy.api#documentation": "Enable Dolby Dialogue Intelligence to adjust loudness based on dialogue analysis.", - "smithy.api#jsonName": "dialogueIntelligence" - } - }, - "Bitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin384000Max768000", - "traits": { - "smithy.api#documentation": "Specify the average bitrate in bits per second.\nValid values: 384k, 448k, 640k, 768k", - "smithy.api#jsonName": "bitrate" - } } }, "traits": { @@ -5281,39 +5325,46 @@ "com.amazonaws.mediaconvert#Eac3Settings": { "type": "structure", "members": { - "SurroundExMode": { - "target": "com.amazonaws.mediaconvert#Eac3SurroundExMode", + "AttenuationControl": { + "target": "com.amazonaws.mediaconvert#Eac3AttenuationControl", "traits": { - "smithy.api#documentation": "When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.", - "smithy.api#jsonName": "surroundExMode" + "smithy.api#documentation": "If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.", + "smithy.api#jsonName": "attenuationControl" } }, - "LtRtCenterMixLevel": { - "target": "com.amazonaws.mediaconvert#__doubleMinNegative60Max3", + "Bitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin64000Max640000", "traits": { - "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left total/Right total center mix (Lt/Rt center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total center (ltRtCenterMixLevel).", - "smithy.api#jsonName": "ltRtCenterMixLevel" + "smithy.api#documentation": "Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode.", + "smithy.api#jsonName": "bitrate" } }, - "Dialnorm": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max31", + "BitstreamMode": { + "target": "com.amazonaws.mediaconvert#Eac3BitstreamMode", "traits": { - "smithy.api#documentation": "Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through.", - "smithy.api#jsonName": "dialnorm" + "smithy.api#documentation": "Specify the bitstream mode for the E-AC-3 stream that the encoder emits. For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex E).", + "smithy.api#jsonName": "bitstreamMode" } }, - "LoRoSurroundMixLevel": { - "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", + "CodingMode": { + "target": "com.amazonaws.mediaconvert#Eac3CodingMode", "traits": { - "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only surround (loRoSurroundMixLevel).", - "smithy.api#jsonName": "loRoSurroundMixLevel" + "smithy.api#documentation": "Dolby Digital Plus coding mode. Determines number of channels.", + "smithy.api#jsonName": "codingMode" } }, - "LtRtSurroundMixLevel": { - "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", + "DcFilter": { + "target": "com.amazonaws.mediaconvert#Eac3DcFilter", "traits": { - "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total surround (ltRtSurroundMixLevel).", - "smithy.api#jsonName": "ltRtSurroundMixLevel" + "smithy.api#documentation": "Activates a DC highpass filter for all input channels.", + "smithy.api#jsonName": "dcFilter" + } + }, + "Dialnorm": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max31", + "traits": { + "smithy.api#documentation": "Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through.", + "smithy.api#jsonName": "dialnorm" } }, "DynamicRangeCompressionLine": { @@ -5323,18 +5374,25 @@ "smithy.api#jsonName": "dynamicRangeCompressionLine" } }, - "MetadataControl": { - "target": "com.amazonaws.mediaconvert#Eac3MetadataControl", + "DynamicRangeCompressionRf": { + "target": "com.amazonaws.mediaconvert#Eac3DynamicRangeCompressionRf", "traits": { - "smithy.api#documentation": "When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.", - "smithy.api#jsonName": "metadataControl" + "smithy.api#documentation": "Specify how the service limits the audio dynamic range when compressing the audio.", + "smithy.api#jsonName": "dynamicRangeCompressionRf" } }, - "Bitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin64000Max640000", + "LfeControl": { + "target": "com.amazonaws.mediaconvert#Eac3LfeControl", "traits": { - "smithy.api#documentation": "Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode.", - "smithy.api#jsonName": "bitrate" + "smithy.api#documentation": "When encoding 3/2 audio, controls whether the LFE channel is enabled", + "smithy.api#jsonName": "lfeControl" + } + }, + "LfeFilter": { + "target": "com.amazonaws.mediaconvert#Eac3LfeFilter", + "traits": { + "smithy.api#documentation": "Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.", + "smithy.api#jsonName": "lfeFilter" } }, "LoRoCenterMixLevel": { @@ -5344,25 +5402,32 @@ "smithy.api#jsonName": "loRoCenterMixLevel" } }, - "LfeFilter": { - "target": "com.amazonaws.mediaconvert#Eac3LfeFilter", + "LoRoSurroundMixLevel": { + "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", "traits": { - "smithy.api#documentation": "Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.", - "smithy.api#jsonName": "lfeFilter" + "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only surround (loRoSurroundMixLevel).", + "smithy.api#jsonName": "loRoSurroundMixLevel" } }, - "LfeControl": { - "target": "com.amazonaws.mediaconvert#Eac3LfeControl", + "LtRtCenterMixLevel": { + "target": "com.amazonaws.mediaconvert#__doubleMinNegative60Max3", "traits": { - "smithy.api#documentation": "When encoding 3/2 audio, controls whether the LFE channel is enabled", - "smithy.api#jsonName": "lfeControl" + "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left total/Right total center mix (Lt/Rt center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total center (ltRtCenterMixLevel).", + "smithy.api#jsonName": "ltRtCenterMixLevel" } }, - "DynamicRangeCompressionRf": { - "target": "com.amazonaws.mediaconvert#Eac3DynamicRangeCompressionRf", + "LtRtSurroundMixLevel": { + "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", "traits": { - "smithy.api#documentation": "Specify how the service limits the audio dynamic range when compressing the audio.", - "smithy.api#jsonName": "dynamicRangeCompressionRf" + "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total surround (ltRtSurroundMixLevel).", + "smithy.api#jsonName": "ltRtSurroundMixLevel" + } + }, + "MetadataControl": { + "target": "com.amazonaws.mediaconvert#Eac3MetadataControl", + "traits": { + "smithy.api#documentation": "When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.", + "smithy.api#jsonName": "metadataControl" } }, "PassthroughControl": { @@ -5379,20 +5444,6 @@ "smithy.api#jsonName": "phaseControl" } }, - "CodingMode": { - "target": "com.amazonaws.mediaconvert#Eac3CodingMode", - "traits": { - "smithy.api#documentation": "Dolby Digital Plus coding mode. Determines number of channels.", - "smithy.api#jsonName": "codingMode" - } - }, - "SurroundMode": { - "target": "com.amazonaws.mediaconvert#Eac3SurroundMode", - "traits": { - "smithy.api#documentation": "When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.", - "smithy.api#jsonName": "surroundMode" - } - }, "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin48000Max48000", "traits": { @@ -5407,25 +5458,18 @@ "smithy.api#jsonName": "stereoDownmix" } }, - "BitstreamMode": { - "target": "com.amazonaws.mediaconvert#Eac3BitstreamMode", - "traits": { - "smithy.api#documentation": "Specify the bitstream mode for the E-AC-3 stream that the encoder emits. For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex E).", - "smithy.api#jsonName": "bitstreamMode" - } - }, - "AttenuationControl": { - "target": "com.amazonaws.mediaconvert#Eac3AttenuationControl", + "SurroundExMode": { + "target": "com.amazonaws.mediaconvert#Eac3SurroundExMode", "traits": { - "smithy.api#documentation": "If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.", - "smithy.api#jsonName": "attenuationControl" + "smithy.api#documentation": "When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.", + "smithy.api#jsonName": "surroundExMode" } }, - "DcFilter": { - "target": "com.amazonaws.mediaconvert#Eac3DcFilter", + "SurroundMode": { + "target": "com.amazonaws.mediaconvert#Eac3SurroundMode", "traits": { - "smithy.api#documentation": "Activates a DC highpass filter for all input channels.", - "smithy.api#jsonName": "dcFilter" + "smithy.api#documentation": "When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.", + "smithy.api#jsonName": "surroundMode" } } }, @@ -5516,19 +5560,19 @@ "com.amazonaws.mediaconvert#EmbeddedDestinationSettings": { "type": "structure", "members": { - "Destination708ServiceNumber": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max6", - "traits": { - "smithy.api#documentation": "Ignore this setting unless your input captions are SCC format and you want both 608 and 708 captions embedded in your output stream. Optionally, specify the 708 service number for each output captions channel. Choose a different number for each channel. To use this setting, also set Force 608 to 708 upconvert (Convert608To708) to Upconvert (UPCONVERT) in your input captions selector settings. If you choose to upconvert but don't specify a 708 service number, MediaConvert uses the number that you specify for CC channel number (destination608ChannelNumber) for the 708 service number. For more information, see https://docs.aws.amazon.com/console/mediaconvert/dual-scc-to-embedded.", - "smithy.api#jsonName": "destination708ServiceNumber" - } - }, "Destination608ChannelNumber": { "target": "com.amazonaws.mediaconvert#__integerMin1Max4", "traits": { "smithy.api#documentation": "Ignore this setting unless your input captions are SCC format and your output captions are embedded in the video stream. Specify a CC number for each captions channel in this output. If you have two channels, choose CC numbers that aren't in the same field. For example, choose 1 and 3. For more information, see https://docs.aws.amazon.com/console/mediaconvert/dual-scc-to-embedded.", "smithy.api#jsonName": "destination608ChannelNumber" } + }, + "Destination708ServiceNumber": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max6", + "traits": { + "smithy.api#documentation": "Ignore this setting unless your input captions are SCC format and you want both 608 and 708 captions embedded in your output stream. Optionally, specify the 708 service number for each output captions channel. Choose a different number for each channel. To use this setting, also set Force 608 to 708 upconvert (Convert608To708) to Upconvert (UPCONVERT) in your input captions selector settings. If you choose to upconvert but don't specify a 708 service number, MediaConvert uses the number that you specify for CC channel number (destination608ChannelNumber) for the 708 service number. For more information, see https://docs.aws.amazon.com/console/mediaconvert/dual-scc-to-embedded.", + "smithy.api#jsonName": "destination708ServiceNumber" + } } }, "traits": { @@ -5538,11 +5582,11 @@ "com.amazonaws.mediaconvert#EmbeddedSourceSettings": { "type": "structure", "members": { - "Source608TrackNumber": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max1", + "Convert608To708": { + "target": "com.amazonaws.mediaconvert#EmbeddedConvert608To708", "traits": { - "smithy.api#documentation": "Specifies the video track index used for extracting captions. The system only supports one input video track, so this should always be set to '1'.", - "smithy.api#jsonName": "source608TrackNumber" + "smithy.api#documentation": "Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708.", + "smithy.api#jsonName": "convert608To708" } }, "Source608ChannelNumber": { @@ -5552,19 +5596,19 @@ "smithy.api#jsonName": "source608ChannelNumber" } }, + "Source608TrackNumber": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max1", + "traits": { + "smithy.api#documentation": "Specifies the video track index used for extracting captions. The system only supports one input video track, so this should always be set to '1'.", + "smithy.api#jsonName": "source608TrackNumber" + } + }, "TerminateCaptions": { "target": "com.amazonaws.mediaconvert#EmbeddedTerminateCaptions", "traits": { "smithy.api#documentation": "By default, the service terminates any unterminated captions at the end of each input. If you want the caption to continue onto your next input, disable this setting.", "smithy.api#jsonName": "terminateCaptions" } - }, - "Convert608To708": { - "target": "com.amazonaws.mediaconvert#EmbeddedConvert608To708", - "traits": { - "smithy.api#documentation": "Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708.", - "smithy.api#jsonName": "convert608To708" - } } }, "traits": { @@ -5620,11 +5664,11 @@ "com.amazonaws.mediaconvert#EsamSettings": { "type": "structure", "members": { - "SignalProcessingNotification": { - "target": "com.amazonaws.mediaconvert#EsamSignalProcessingNotification", + "ManifestConfirmConditionNotification": { + "target": "com.amazonaws.mediaconvert#EsamManifestConfirmConditionNotification", "traits": { - "smithy.api#documentation": "Specifies an ESAM SignalProcessingNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the signal processing instructions that you provide in the setting SCC XML (sccXml).", - "smithy.api#jsonName": "signalProcessingNotification" + "smithy.api#documentation": "Specifies an ESAM ManifestConfirmConditionNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the manifest conditioning instructions that you provide in the setting MCC XML (mccXml).", + "smithy.api#jsonName": "manifestConfirmConditionNotification" } }, "ResponseSignalPreroll": { @@ -5634,11 +5678,11 @@ "smithy.api#jsonName": "responseSignalPreroll" } }, - "ManifestConfirmConditionNotification": { - "target": "com.amazonaws.mediaconvert#EsamManifestConfirmConditionNotification", + "SignalProcessingNotification": { + "target": "com.amazonaws.mediaconvert#EsamSignalProcessingNotification", "traits": { - "smithy.api#documentation": "Specifies an ESAM ManifestConfirmConditionNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the manifest conditioning instructions that you provide in the setting MCC XML (mccXml).", - "smithy.api#jsonName": "manifestConfirmConditionNotification" + "smithy.api#documentation": "Specifies an ESAM SignalProcessingNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the signal processing instructions that you provide in the setting SCC XML (sccXml).", + "smithy.api#jsonName": "signalProcessingNotification" } } }, @@ -5733,20 +5777,6 @@ "com.amazonaws.mediaconvert#FileSourceSettings": { "type": "structure", "members": { - "Framerate": { - "target": "com.amazonaws.mediaconvert#CaptionSourceFramerate", - "traits": { - "smithy.api#documentation": "Ignore this setting unless your input captions format is SCC. To have the service compensate for differing frame rates between your input captions and input video, specify the frame rate of the captions file. Specify this value as a fraction, using the settings Framerate numerator (framerateNumerator) and Framerate denominator (framerateDenominator). For example, you might specify 24 / 1 for 24 fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps.", - "smithy.api#jsonName": "framerate" - } - }, - "TimeDelta": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", - "traits": { - "smithy.api#documentation": "Specifies a time delta in seconds to offset the captions from the source file.", - "smithy.api#jsonName": "timeDelta" - } - }, "Convert608To708": { "target": "com.amazonaws.mediaconvert#FileSourceConvert608To708", "traits": { @@ -5754,12 +5784,26 @@ "smithy.api#jsonName": "convert608To708" } }, + "Framerate": { + "target": "com.amazonaws.mediaconvert#CaptionSourceFramerate", + "traits": { + "smithy.api#documentation": "Ignore this setting unless your input captions format is SCC. To have the service compensate for differing frame rates between your input captions and input video, specify the frame rate of the captions file. Specify this value as a fraction, using the settings Framerate numerator (framerateNumerator) and Framerate denominator (framerateDenominator). For example, you might specify 24 / 1 for 24 fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps.", + "smithy.api#jsonName": "framerate" + } + }, "SourceFile": { "target": "com.amazonaws.mediaconvert#__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMI", "traits": { "smithy.api#documentation": "External caption file used for loading captions. Accepted file extensions are 'scc', 'ttml', 'dfxp', 'stl', 'srt', 'xml', and 'smi'.", "smithy.api#jsonName": "sourceFile" } + }, + "TimeDelta": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", + "traits": { + "smithy.api#documentation": "Specifies a time delta in seconds to offset the captions from the source file.", + "smithy.api#jsonName": "timeDelta" + } } }, "traits": { @@ -5812,6 +5856,13 @@ "smithy.api#jsonName": "framerateDenominator" } }, + "FramerateNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded to 7 decimal places.", + "smithy.api#jsonName": "framerateNumerator" + } + }, "MaxCaptures": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10000000", "traits": { @@ -5825,13 +5876,6 @@ "smithy.api#documentation": "JPEG Quality - a higher value equals higher quality.", "smithy.api#jsonName": "quality" } - }, - "FramerateNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded to 7 decimal places.", - "smithy.api#jsonName": "framerateNumerator" - } } }, "traits": { @@ -6089,12 +6133,16 @@ "com.amazonaws.mediaconvert#H264AdaptiveQuantization": { "type": "string", "traits": { - "smithy.api#documentation": "Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization).", + "smithy.api#documentation": "Keep the default value, Auto (AUTO), for this setting to have MediaConvert automatically apply the best types of quantization for your video content. When you want to apply your quantization settings manually, you must set H264AdaptiveQuantization to a value other than Auto (AUTO). Use this setting to specify the strength of any adaptive quantization filters that you enable. If you don't want MediaConvert to do any adaptive quantization in this transcode, set Adaptive quantization (H264AdaptiveQuantization) to Off (OFF). Related settings: The value that you choose here applies to the following settings: H264FlickerAdaptiveQuantization, H264SpatialAdaptiveQuantization, and H264TemporalAdaptiveQuantization.", "smithy.api#enum": [ { "value": "OFF", "name": "OFF" }, + { + "value": "AUTO", + "name": "AUTO" + }, { "value": "LOW", "name": "LOW" @@ -6277,7 +6325,7 @@ "com.amazonaws.mediaconvert#H264FlickerAdaptiveQuantization": { "type": "string", "traits": { - "smithy.api#documentation": "Enable this setting to have the encoder reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. This setting is disabled by default. Related setting: In addition to enabling this setting, you must also set adaptiveQuantization to a value other than Off (OFF).", + "smithy.api#documentation": "Only use this setting when you change the default value, AUTO, for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264FlickerAdaptiveQuantization is Disabled (DISABLED). Change this value to Enabled (ENABLED) to reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. To manually enable or disable H264FlickerAdaptiveQuantization, you must set Adaptive quantization (H264AdaptiveQuantization) to a value other than AUTO.", "smithy.api#enum": [ { "value": "DISABLED", @@ -6432,19 +6480,19 @@ "smithy.api#jsonName": "maxAverageBitrate" } }, - "QvbrQualityLevelFineTune": { - "target": "com.amazonaws.mediaconvert#__doubleMin0Max1", - "traits": { - "smithy.api#documentation": "Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33.", - "smithy.api#jsonName": "qvbrQualityLevelFineTune" - } - }, "QvbrQualityLevel": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10", "traits": { "smithy.api#documentation": "Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h264Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", "smithy.api#jsonName": "qvbrQualityLevel" } + }, + "QvbrQualityLevelFineTune": { + "target": "com.amazonaws.mediaconvert#__doubleMin0Max1", + "traits": { + "smithy.api#documentation": "Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33.", + "smithy.api#jsonName": "qvbrQualityLevelFineTune" + } } }, "traits": { @@ -6510,32 +6558,39 @@ "com.amazonaws.mediaconvert#H264Settings": { "type": "structure", "members": { - "NumberReferenceFrames": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max6", + "AdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#H264AdaptiveQuantization", "traits": { - "smithy.api#documentation": "Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.", - "smithy.api#jsonName": "numberReferenceFrames" + "smithy.api#documentation": "Keep the default value, Auto (AUTO), for this setting to have MediaConvert automatically apply the best types of quantization for your video content. When you want to apply your quantization settings manually, you must set H264AdaptiveQuantization to a value other than Auto (AUTO). Use this setting to specify the strength of any adaptive quantization filters that you enable. If you don't want MediaConvert to do any adaptive quantization in this transcode, set Adaptive quantization (H264AdaptiveQuantization) to Off (OFF). Related settings: The value that you choose here applies to the following settings: H264FlickerAdaptiveQuantization, H264SpatialAdaptiveQuantization, and H264TemporalAdaptiveQuantization.", + "smithy.api#jsonName": "adaptiveQuantization" } }, - "UnregisteredSeiTimecode": { - "target": "com.amazonaws.mediaconvert#H264UnregisteredSeiTimecode", + "Bitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { - "smithy.api#documentation": "Inserts timecode for each frame as 4 bytes of an unregistered SEI message.", - "smithy.api#jsonName": "unregisteredSeiTimecode" + "smithy.api#documentation": "Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.", + "smithy.api#jsonName": "bitrate" } }, - "TemporalAdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#H264TemporalAdaptiveQuantization", + "CodecLevel": { + "target": "com.amazonaws.mediaconvert#H264CodecLevel", "traits": { - "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization).", - "smithy.api#jsonName": "temporalAdaptiveQuantization" + "smithy.api#documentation": "Specify an H.264 level that is consistent with your output video settings. If you aren't sure what level to specify, choose Auto (AUTO).", + "smithy.api#jsonName": "codecLevel" } }, - "FramerateConversionAlgorithm": { - "target": "com.amazonaws.mediaconvert#H264FramerateConversionAlgorithm", + "CodecProfile": { + "target": "com.amazonaws.mediaconvert#H264CodecProfile", "traits": { - "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", - "smithy.api#jsonName": "framerateConversionAlgorithm" + "smithy.api#documentation": "H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.", + "smithy.api#jsonName": "codecProfile" + } + }, + "DynamicSubGop": { + "target": "com.amazonaws.mediaconvert#H264DynamicSubGop", + "traits": { + "smithy.api#documentation": "Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).", + "smithy.api#jsonName": "dynamicSubGop" } }, "EntropyEncoding": { @@ -6545,27 +6600,6 @@ "smithy.api#jsonName": "entropyEncoding" } }, - "SceneChangeDetect": { - "target": "com.amazonaws.mediaconvert#H264SceneChangeDetect", - "traits": { - "smithy.api#documentation": "Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr.", - "smithy.api#jsonName": "sceneChangeDetect" - } - }, - "RepeatPps": { - "target": "com.amazonaws.mediaconvert#H264RepeatPps", - "traits": { - "smithy.api#documentation": "Places a PPS header on each encoded picture, even if repeated.", - "smithy.api#jsonName": "repeatPps" - } - }, - "MaxBitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", - "traits": { - "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR.", - "smithy.api#jsonName": "maxBitrate" - } - }, "FieldEncoding": { "target": "com.amazonaws.mediaconvert#H264FieldEncoding", "traits": { @@ -6573,46 +6607,39 @@ "smithy.api#jsonName": "fieldEncoding" } }, - "ParDenominator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", - "smithy.api#jsonName": "parDenominator" - } - }, - "MinIInterval": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max30", + "FlickerAdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#H264FlickerAdaptiveQuantization", "traits": { - "smithy.api#documentation": "Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", - "smithy.api#jsonName": "minIInterval" + "smithy.api#documentation": "Only use this setting when you change the default value, AUTO, for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264FlickerAdaptiveQuantization is Disabled (DISABLED). Change this value to Enabled (ENABLED) to reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. To manually enable or disable H264FlickerAdaptiveQuantization, you must set Adaptive quantization (H264AdaptiveQuantization) to a value other than AUTO.", + "smithy.api#jsonName": "flickerAdaptiveQuantization" } }, - "HrdBufferInitialFillPercentage": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max100", + "FramerateControl": { + "target": "com.amazonaws.mediaconvert#H264FramerateControl", "traits": { - "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", - "smithy.api#jsonName": "hrdBufferInitialFillPercentage" + "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", + "smithy.api#jsonName": "framerateControl" } }, - "CodecProfile": { - "target": "com.amazonaws.mediaconvert#H264CodecProfile", + "FramerateConversionAlgorithm": { + "target": "com.amazonaws.mediaconvert#H264FramerateConversionAlgorithm", "traits": { - "smithy.api#documentation": "H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.", - "smithy.api#jsonName": "codecProfile" + "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", + "smithy.api#jsonName": "framerateConversionAlgorithm" } }, - "ParNumerator": { + "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", - "smithy.api#jsonName": "parNumerator" + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateDenominator" } }, - "AdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#H264AdaptiveQuantization", + "FramerateNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization).", - "smithy.api#jsonName": "adaptiveQuantization" + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateNumerator" } }, "GopBReference": { @@ -6629,39 +6656,32 @@ "smithy.api#jsonName": "gopClosedCadence" } }, - "FramerateDenominator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateDenominator" - } - }, - "Telecine": { - "target": "com.amazonaws.mediaconvert#H264Telecine", + "GopSize": { + "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { - "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output that signals to the video player device to do the conversion during play back. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", - "smithy.api#jsonName": "telecine" + "smithy.api#documentation": "GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.", + "smithy.api#jsonName": "gopSize" } }, - "Bitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", + "GopSizeUnits": { + "target": "com.amazonaws.mediaconvert#H264GopSizeUnits", "traits": { - "smithy.api#documentation": "Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.", - "smithy.api#jsonName": "bitrate" + "smithy.api#documentation": "Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.", + "smithy.api#jsonName": "gopSizeUnits" } }, - "CodecLevel": { - "target": "com.amazonaws.mediaconvert#H264CodecLevel", + "HrdBufferInitialFillPercentage": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { - "smithy.api#documentation": "Specify an H.264 level that is consistent with your output video settings. If you aren't sure what level to specify, choose Auto (AUTO).", - "smithy.api#jsonName": "codecLevel" + "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", + "smithy.api#jsonName": "hrdBufferInitialFillPercentage" } }, - "QvbrSettings": { - "target": "com.amazonaws.mediaconvert#H264QvbrSettings", + "HrdBufferSize": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max1152000000", "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.264 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode.", - "smithy.api#jsonName": "qvbrSettings" + "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", + "smithy.api#jsonName": "hrdBufferSize" } }, "InterlaceMode": { @@ -6671,39 +6691,32 @@ "smithy.api#jsonName": "interlaceMode" } }, - "HrdBufferSize": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max1152000000", + "MaxBitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { - "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", - "smithy.api#jsonName": "hrdBufferSize" + "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR.", + "smithy.api#jsonName": "maxBitrate" } }, - "SpatialAdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#H264SpatialAdaptiveQuantization", + "MinIInterval": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max30", "traits": { - "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher.", - "smithy.api#jsonName": "spatialAdaptiveQuantization" + "smithy.api#documentation": "Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", + "smithy.api#jsonName": "minIInterval" } }, - "FramerateNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "NumberBFramesBetweenReferenceFrames": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max7", "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateNumerator" - } - }, - "RateControlMode": { - "target": "com.amazonaws.mediaconvert#H264RateControlMode", - "traits": { - "smithy.api#documentation": "Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR).", - "smithy.api#jsonName": "rateControlMode" + "smithy.api#documentation": "Number of B-frames between reference frames.", + "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" } }, - "GopSizeUnits": { - "target": "com.amazonaws.mediaconvert#H264GopSizeUnits", + "NumberReferenceFrames": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max6", "traits": { - "smithy.api#documentation": "Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.", - "smithy.api#jsonName": "gopSizeUnits" + "smithy.api#documentation": "Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.", + "smithy.api#jsonName": "numberReferenceFrames" } }, "ParControl": { @@ -6713,11 +6726,53 @@ "smithy.api#jsonName": "parControl" } }, - "FramerateControl": { - "target": "com.amazonaws.mediaconvert#H264FramerateControl", + "ParDenominator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", - "smithy.api#jsonName": "framerateControl" + "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", + "smithy.api#jsonName": "parDenominator" + } + }, + "ParNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", + "smithy.api#jsonName": "parNumerator" + } + }, + "QualityTuningLevel": { + "target": "com.amazonaws.mediaconvert#H264QualityTuningLevel", + "traits": { + "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding.", + "smithy.api#jsonName": "qualityTuningLevel" + } + }, + "QvbrSettings": { + "target": "com.amazonaws.mediaconvert#H264QvbrSettings", + "traits": { + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.264 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode.", + "smithy.api#jsonName": "qvbrSettings" + } + }, + "RateControlMode": { + "target": "com.amazonaws.mediaconvert#H264RateControlMode", + "traits": { + "smithy.api#documentation": "Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR).", + "smithy.api#jsonName": "rateControlMode" + } + }, + "RepeatPps": { + "target": "com.amazonaws.mediaconvert#H264RepeatPps", + "traits": { + "smithy.api#documentation": "Places a PPS header on each encoded picture, even if repeated.", + "smithy.api#jsonName": "repeatPps" + } + }, + "SceneChangeDetect": { + "target": "com.amazonaws.mediaconvert#H264SceneChangeDetect", + "traits": { + "smithy.api#documentation": "Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr.", + "smithy.api#jsonName": "sceneChangeDetect" } }, "Slices": { @@ -6734,11 +6789,18 @@ "smithy.api#jsonName": "slowPal" } }, - "GopSize": { - "target": "com.amazonaws.mediaconvert#__doubleMin0", + "Softness": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max128", "traits": { - "smithy.api#documentation": "GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.", - "smithy.api#jsonName": "gopSize" + "smithy.api#documentation": "Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.", + "smithy.api#jsonName": "softness" + } + }, + "SpatialAdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#H264SpatialAdaptiveQuantization", + "traits": { + "smithy.api#documentation": "Only use this setting when you change the default value, Auto (AUTO), for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264SpatialAdaptiveQuantization is Enabled (ENABLED). Keep this default value to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to set H264SpatialAdaptiveQuantization to Disabled (DISABLED). Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (H264AdaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. To manually enable or disable H264SpatialAdaptiveQuantization, you must set Adaptive quantization (H264AdaptiveQuantization) to a value other than AUTO.", + "smithy.api#jsonName": "spatialAdaptiveQuantization" } }, "Syntax": { @@ -6748,39 +6810,25 @@ "smithy.api#jsonName": "syntax" } }, - "NumberBFramesBetweenReferenceFrames": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max7", - "traits": { - "smithy.api#documentation": "Number of B-frames between reference frames.", - "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" - } - }, - "FlickerAdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#H264FlickerAdaptiveQuantization", - "traits": { - "smithy.api#documentation": "Enable this setting to have the encoder reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. This setting is disabled by default. Related setting: In addition to enabling this setting, you must also set adaptiveQuantization to a value other than Off (OFF).", - "smithy.api#jsonName": "flickerAdaptiveQuantization" - } - }, - "Softness": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max128", + "Telecine": { + "target": "com.amazonaws.mediaconvert#H264Telecine", "traits": { - "smithy.api#documentation": "Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.", - "smithy.api#jsonName": "softness" + "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output that signals to the video player device to do the conversion during play back. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", + "smithy.api#jsonName": "telecine" } }, - "QualityTuningLevel": { - "target": "com.amazonaws.mediaconvert#H264QualityTuningLevel", + "TemporalAdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#H264TemporalAdaptiveQuantization", "traits": { - "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding.", - "smithy.api#jsonName": "qualityTuningLevel" + "smithy.api#documentation": "Only use this setting when you change the default value, AUTO, for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264TemporalAdaptiveQuantization is Enabled (ENABLED). Keep this default value to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to set H264TemporalAdaptiveQuantization to Disabled (DISABLED). Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization). To manually enable or disable H264TemporalAdaptiveQuantization, you must set Adaptive quantization (H264AdaptiveQuantization) to a value other than AUTO.", + "smithy.api#jsonName": "temporalAdaptiveQuantization" } }, - "DynamicSubGop": { - "target": "com.amazonaws.mediaconvert#H264DynamicSubGop", + "UnregisteredSeiTimecode": { + "target": "com.amazonaws.mediaconvert#H264UnregisteredSeiTimecode", "traits": { - "smithy.api#documentation": "Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).", - "smithy.api#jsonName": "dynamicSubGop" + "smithy.api#documentation": "Inserts timecode for each frame as 4 bytes of an unregistered SEI message.", + "smithy.api#jsonName": "unregisteredSeiTimecode" } } }, @@ -6807,7 +6855,7 @@ "com.amazonaws.mediaconvert#H264SpatialAdaptiveQuantization": { "type": "string", "traits": { - "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher.", + "smithy.api#documentation": "Only use this setting when you change the default value, Auto (AUTO), for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264SpatialAdaptiveQuantization is Enabled (ENABLED). Keep this default value to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to set H264SpatialAdaptiveQuantization to Disabled (DISABLED). Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (H264AdaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. To manually enable or disable H264SpatialAdaptiveQuantization, you must set Adaptive quantization (H264AdaptiveQuantization) to a value other than AUTO.", "smithy.api#enum": [ { "value": "DISABLED", @@ -6859,7 +6907,7 @@ "com.amazonaws.mediaconvert#H264TemporalAdaptiveQuantization": { "type": "string", "traits": { - "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization).", + "smithy.api#documentation": "Only use this setting when you change the default value, AUTO, for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264TemporalAdaptiveQuantization is Enabled (ENABLED). Keep this default value to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to set H264TemporalAdaptiveQuantization to Disabled (DISABLED). Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization). To manually enable or disable H264TemporalAdaptiveQuantization, you must set Adaptive quantization (H264AdaptiveQuantization) to a value other than AUTO.", "smithy.api#enum": [ { "value": "DISABLED", @@ -7214,19 +7262,19 @@ "smithy.api#jsonName": "maxAverageBitrate" } }, - "QvbrQualityLevelFineTune": { - "target": "com.amazonaws.mediaconvert#__doubleMin0Max1", - "traits": { - "smithy.api#documentation": "Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33.", - "smithy.api#jsonName": "qvbrQualityLevelFineTune" - } - }, "QvbrQualityLevel": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10", "traits": { "smithy.api#documentation": "Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h265Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", "smithy.api#jsonName": "qvbrQualityLevel" } + }, + "QvbrQualityLevelFineTune": { + "target": "com.amazonaws.mediaconvert#__doubleMin0Max1", + "traits": { + "smithy.api#documentation": "Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33.", + "smithy.api#jsonName": "qvbrQualityLevelFineTune" + } } }, "traits": { @@ -7296,55 +7344,6 @@ "com.amazonaws.mediaconvert#H265Settings": { "type": "structure", "members": { - "SceneChangeDetect": { - "target": "com.amazonaws.mediaconvert#H265SceneChangeDetect", - "traits": { - "smithy.api#documentation": "Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr.", - "smithy.api#jsonName": "sceneChangeDetect" - } - }, - "MinIInterval": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max30", - "traits": { - "smithy.api#documentation": "Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", - "smithy.api#jsonName": "minIInterval" - } - }, - "QualityTuningLevel": { - "target": "com.amazonaws.mediaconvert#H265QualityTuningLevel", - "traits": { - "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding.", - "smithy.api#jsonName": "qualityTuningLevel" - } - }, - "MaxBitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin1000Max1466400000", - "traits": { - "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR.", - "smithy.api#jsonName": "maxBitrate" - } - }, - "HrdBufferInitialFillPercentage": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max100", - "traits": { - "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", - "smithy.api#jsonName": "hrdBufferInitialFillPercentage" - } - }, - "RateControlMode": { - "target": "com.amazonaws.mediaconvert#H265RateControlMode", - "traits": { - "smithy.api#documentation": "Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR).", - "smithy.api#jsonName": "rateControlMode" - } - }, - "ParNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", - "smithy.api#jsonName": "parNumerator" - } - }, "AdaptiveQuantization": { "target": "com.amazonaws.mediaconvert#H265AdaptiveQuantization", "traits": { @@ -7359,25 +7358,18 @@ "smithy.api#jsonName": "alternateTransferFunctionSei" } }, - "ParDenominator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", - "smithy.api#jsonName": "parDenominator" - } - }, - "NumberBFramesBetweenReferenceFrames": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max7", + "Bitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin1000Max1466400000", "traits": { - "smithy.api#documentation": "Number of B-frames between reference frames.", - "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" + "smithy.api#documentation": "Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.", + "smithy.api#jsonName": "bitrate" } }, - "FramerateDenominator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "CodecLevel": { + "target": "com.amazonaws.mediaconvert#H265CodecLevel", "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateDenominator" + "smithy.api#documentation": "H.265 Level.", + "smithy.api#jsonName": "codecLevel" } }, "CodecProfile": { @@ -7387,11 +7379,11 @@ "smithy.api#jsonName": "codecProfile" } }, - "TemporalIds": { - "target": "com.amazonaws.mediaconvert#H265TemporalIds", + "DynamicSubGop": { + "target": "com.amazonaws.mediaconvert#H265DynamicSubGop", "traits": { - "smithy.api#documentation": "Enables temporal layer identifiers in the encoded bitstream. Up to 3 layers are supported depending on GOP structure: I- and P-frames form one layer, reference B-frames can form a second layer and non-reference b-frames can form a third layer. Decoders can optionally decode only the lower temporal layers to generate a lower frame rate output. For example, given a bitstream with temporal IDs and with b-frames = 1 (i.e. IbPbPb display order), a decoder could decode all the frames for full frame rate output or only the I and P frames (lowest temporal layer) for a half frame rate output.", - "smithy.api#jsonName": "temporalIds" + "smithy.api#documentation": "Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).", + "smithy.api#jsonName": "dynamicSubGop" } }, "FlickerAdaptiveQuantization": { @@ -7401,46 +7393,46 @@ "smithy.api#jsonName": "flickerAdaptiveQuantization" } }, - "SampleAdaptiveOffsetFilterMode": { - "target": "com.amazonaws.mediaconvert#H265SampleAdaptiveOffsetFilterMode", + "FramerateControl": { + "target": "com.amazonaws.mediaconvert#H265FramerateControl", "traits": { - "smithy.api#documentation": "Specify Sample Adaptive Offset (SAO) filter strength. Adaptive mode dynamically selects best strength based on content", - "smithy.api#jsonName": "sampleAdaptiveOffsetFilterMode" + "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", + "smithy.api#jsonName": "framerateControl" } }, - "DynamicSubGop": { - "target": "com.amazonaws.mediaconvert#H265DynamicSubGop", + "FramerateConversionAlgorithm": { + "target": "com.amazonaws.mediaconvert#H265FramerateConversionAlgorithm", "traits": { - "smithy.api#documentation": "Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).", - "smithy.api#jsonName": "dynamicSubGop" + "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", + "smithy.api#jsonName": "framerateConversionAlgorithm" } }, - "UnregisteredSeiTimecode": { - "target": "com.amazonaws.mediaconvert#H265UnregisteredSeiTimecode", + "FramerateDenominator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Inserts timecode for each frame as 4 bytes of an unregistered SEI message.", - "smithy.api#jsonName": "unregisteredSeiTimecode" + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateDenominator" } }, - "TemporalAdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#H265TemporalAdaptiveQuantization", + "FramerateNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization).", - "smithy.api#jsonName": "temporalAdaptiveQuantization" + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateNumerator" } }, - "InterlaceMode": { - "target": "com.amazonaws.mediaconvert#H265InterlaceMode", + "GopBReference": { + "target": "com.amazonaws.mediaconvert#H265GopBReference", "traits": { - "smithy.api#documentation": "Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose.", - "smithy.api#jsonName": "interlaceMode" + "smithy.api#documentation": "If enable, use reference B frames for GOP structures that have B frames > 1.", + "smithy.api#jsonName": "gopBReference" } }, - "CodecLevel": { - "target": "com.amazonaws.mediaconvert#H265CodecLevel", + "GopClosedCadence": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "H.265 Level.", - "smithy.api#jsonName": "codecLevel" + "smithy.api#documentation": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", + "smithy.api#jsonName": "gopClosedCadence" } }, "GopSize": { @@ -7450,39 +7442,60 @@ "smithy.api#jsonName": "gopSize" } }, - "SlowPal": { - "target": "com.amazonaws.mediaconvert#H265SlowPal", + "GopSizeUnits": { + "target": "com.amazonaws.mediaconvert#H265GopSizeUnits", "traits": { - "smithy.api#documentation": "Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1.", - "smithy.api#jsonName": "slowPal" + "smithy.api#documentation": "Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.", + "smithy.api#jsonName": "gopSizeUnits" } }, - "Bitrate": { + "HrdBufferInitialFillPercentage": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max100", + "traits": { + "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", + "smithy.api#jsonName": "hrdBufferInitialFillPercentage" + } + }, + "HrdBufferSize": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max1466400000", + "traits": { + "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", + "smithy.api#jsonName": "hrdBufferSize" + } + }, + "InterlaceMode": { + "target": "com.amazonaws.mediaconvert#H265InterlaceMode", + "traits": { + "smithy.api#documentation": "Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose.", + "smithy.api#jsonName": "interlaceMode" + } + }, + "MaxBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1466400000", "traits": { - "smithy.api#documentation": "Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.", - "smithy.api#jsonName": "bitrate" + "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR.", + "smithy.api#jsonName": "maxBitrate" } }, - "WriteMp4PackagingType": { - "target": "com.amazonaws.mediaconvert#H265WriteMp4PackagingType", + "MinIInterval": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max30", "traits": { - "smithy.api#documentation": "If the location of parameter set NAL units doesn't matter in your workflow, ignore this setting. Use this setting only with CMAF or DASH outputs, or with standalone file outputs in an MPEG-4 container (MP4 outputs). Choose HVC1 to mark your output as HVC1. This makes your output compliant with the following specification: ISO IECJTC1 SC29 N13798 Text ISO/IEC FDIS 14496-15 3rd Edition. For these outputs, the service stores parameter set NAL units in the sample headers but not in the samples directly. For MP4 outputs, when you choose HVC1, your output video might not work properly with some downstream systems and video players. The service defaults to marking your output as HEV1. For these outputs, the service writes parameter set NAL units directly into the samples.", - "smithy.api#jsonName": "writeMp4PackagingType" + "smithy.api#documentation": "Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", + "smithy.api#jsonName": "minIInterval" } }, - "FramerateControl": { - "target": "com.amazonaws.mediaconvert#H265FramerateControl", + "NumberBFramesBetweenReferenceFrames": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max7", "traits": { - "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", - "smithy.api#jsonName": "framerateControl" + "smithy.api#documentation": "Number of B-frames between reference frames.", + "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" } }, - "Slices": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max32", + "NumberReferenceFrames": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max6", "traits": { - "smithy.api#documentation": "Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.", - "smithy.api#jsonName": "slices" + "smithy.api#documentation": "Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.", + "smithy.api#jsonName": "numberReferenceFrames" } }, "ParControl": { @@ -7492,6 +7505,27 @@ "smithy.api#jsonName": "parControl" } }, + "ParDenominator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", + "smithy.api#jsonName": "parDenominator" + } + }, + "ParNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", + "smithy.api#jsonName": "parNumerator" + } + }, + "QualityTuningLevel": { + "target": "com.amazonaws.mediaconvert#H265QualityTuningLevel", + "traits": { + "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding.", + "smithy.api#jsonName": "qualityTuningLevel" + } + }, "QvbrSettings": { "target": "com.amazonaws.mediaconvert#H265QvbrSettings", "traits": { @@ -7499,60 +7533,67 @@ "smithy.api#jsonName": "qvbrSettings" } }, - "Telecine": { - "target": "com.amazonaws.mediaconvert#H265Telecine", + "RateControlMode": { + "target": "com.amazonaws.mediaconvert#H265RateControlMode", "traits": { - "smithy.api#documentation": "This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970. This field works with the Streams > Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced Mode field (interlace_mode) to identify the scan type for the output: Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input. - Soft: produces 23.976; the player converts this output to 29.97i.", - "smithy.api#jsonName": "telecine" + "smithy.api#documentation": "Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR).", + "smithy.api#jsonName": "rateControlMode" } }, - "FramerateNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "SampleAdaptiveOffsetFilterMode": { + "target": "com.amazonaws.mediaconvert#H265SampleAdaptiveOffsetFilterMode", "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateNumerator" + "smithy.api#documentation": "Specify Sample Adaptive Offset (SAO) filter strength. Adaptive mode dynamically selects best strength based on content", + "smithy.api#jsonName": "sampleAdaptiveOffsetFilterMode" } }, - "SpatialAdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#H265SpatialAdaptiveQuantization", + "SceneChangeDetect": { + "target": "com.amazonaws.mediaconvert#H265SceneChangeDetect", "traits": { - "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher.", - "smithy.api#jsonName": "spatialAdaptiveQuantization" + "smithy.api#documentation": "Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr.", + "smithy.api#jsonName": "sceneChangeDetect" } }, - "GopClosedCadence": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "Slices": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max32", "traits": { - "smithy.api#documentation": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", - "smithy.api#jsonName": "gopClosedCadence" + "smithy.api#documentation": "Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.", + "smithy.api#jsonName": "slices" } }, - "NumberReferenceFrames": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max6", + "SlowPal": { + "target": "com.amazonaws.mediaconvert#H265SlowPal", "traits": { - "smithy.api#documentation": "Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.", - "smithy.api#jsonName": "numberReferenceFrames" + "smithy.api#documentation": "Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1.", + "smithy.api#jsonName": "slowPal" } }, - "FramerateConversionAlgorithm": { - "target": "com.amazonaws.mediaconvert#H265FramerateConversionAlgorithm", + "SpatialAdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#H265SpatialAdaptiveQuantization", "traits": { - "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", - "smithy.api#jsonName": "framerateConversionAlgorithm" + "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher.", + "smithy.api#jsonName": "spatialAdaptiveQuantization" } }, - "GopBReference": { - "target": "com.amazonaws.mediaconvert#H265GopBReference", + "Telecine": { + "target": "com.amazonaws.mediaconvert#H265Telecine", "traits": { - "smithy.api#documentation": "If enable, use reference B frames for GOP structures that have B frames > 1.", - "smithy.api#jsonName": "gopBReference" + "smithy.api#documentation": "This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970. This field works with the Streams > Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced Mode field (interlace_mode) to identify the scan type for the output: Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input. - Soft: produces 23.976; the player converts this output to 29.97i.", + "smithy.api#jsonName": "telecine" } }, - "GopSizeUnits": { - "target": "com.amazonaws.mediaconvert#H265GopSizeUnits", + "TemporalAdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#H265TemporalAdaptiveQuantization", "traits": { - "smithy.api#documentation": "Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.", - "smithy.api#jsonName": "gopSizeUnits" + "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization).", + "smithy.api#jsonName": "temporalAdaptiveQuantization" + } + }, + "TemporalIds": { + "target": "com.amazonaws.mediaconvert#H265TemporalIds", + "traits": { + "smithy.api#documentation": "Enables temporal layer identifiers in the encoded bitstream. Up to 3 layers are supported depending on GOP structure: I- and P-frames form one layer, reference B-frames can form a second layer and non-reference b-frames can form a third layer. Decoders can optionally decode only the lower temporal layers to generate a lower frame rate output. For example, given a bitstream with temporal IDs and with b-frames = 1 (i.e. IbPbPb display order), a decoder could decode all the frames for full frame rate output or only the I and P frames (lowest temporal layer) for a half frame rate output.", + "smithy.api#jsonName": "temporalIds" } }, "Tiles": { @@ -7562,11 +7603,18 @@ "smithy.api#jsonName": "tiles" } }, - "HrdBufferSize": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max1466400000", + "UnregisteredSeiTimecode": { + "target": "com.amazonaws.mediaconvert#H265UnregisteredSeiTimecode", "traits": { - "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", - "smithy.api#jsonName": "hrdBufferSize" + "smithy.api#documentation": "Inserts timecode for each frame as 4 bytes of an unregistered SEI message.", + "smithy.api#jsonName": "unregisteredSeiTimecode" + } + }, + "WriteMp4PackagingType": { + "target": "com.amazonaws.mediaconvert#H265WriteMp4PackagingType", + "traits": { + "smithy.api#documentation": "If the location of parameter set NAL units doesn't matter in your workflow, ignore this setting. Use this setting only with CMAF or DASH outputs, or with standalone file outputs in an MPEG-4 container (MP4 outputs). Choose HVC1 to mark your output as HVC1. This makes your output compliant with the following specification: ISO IECJTC1 SC29 N13798 Text ISO/IEC FDIS 14496-15 3rd Edition. For these outputs, the service stores parameter set NAL units in the sample headers but not in the samples directly. For MP4 outputs, when you choose HVC1, your output video might not work properly with some downstream systems and video players. The service defaults to marking your output as HEV1. For these outputs, the service writes parameter set NAL units directly into the samples.", + "smithy.api#jsonName": "writeMp4PackagingType" } } }, @@ -7709,13 +7757,6 @@ "com.amazonaws.mediaconvert#Hdr10Metadata": { "type": "structure", "members": { - "MaxLuminance": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", - "traits": { - "smithy.api#documentation": "Nominal maximum mastering display luminance in units of of 0.0001 candelas per square meter.", - "smithy.api#jsonName": "maxLuminance" - } - }, "BluePrimaryX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { @@ -7730,25 +7771,39 @@ "smithy.api#jsonName": "bluePrimaryY" } }, - "WhitePointY": { + "GreenPrimaryX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", - "smithy.api#jsonName": "whitePointY" + "smithy.api#jsonName": "greenPrimaryX" } }, - "RedPrimaryX": { + "GreenPrimaryY": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", - "smithy.api#jsonName": "redPrimaryX" + "smithy.api#jsonName": "greenPrimaryY" } }, - "WhitePointX": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", + "MaxContentLightLevel": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { - "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", - "smithy.api#jsonName": "whitePointX" + "smithy.api#documentation": "Maximum light level among all samples in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content.", + "smithy.api#jsonName": "maxContentLightLevel" + } + }, + "MaxFrameAverageLightLevel": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", + "traits": { + "smithy.api#documentation": "Maximum average light level of any frame in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content.", + "smithy.api#jsonName": "maxFrameAverageLightLevel" + } + }, + "MaxLuminance": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "traits": { + "smithy.api#documentation": "Nominal maximum mastering display luminance in units of of 0.0001 candelas per square meter.", + "smithy.api#jsonName": "maxLuminance" } }, "MinLuminance": { @@ -7758,39 +7813,32 @@ "smithy.api#jsonName": "minLuminance" } }, - "RedPrimaryY": { + "RedPrimaryX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", - "smithy.api#jsonName": "redPrimaryY" + "smithy.api#jsonName": "redPrimaryX" } }, - "GreenPrimaryY": { + "RedPrimaryY": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", - "smithy.api#jsonName": "greenPrimaryY" - } - }, - "MaxFrameAverageLightLevel": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", - "traits": { - "smithy.api#documentation": "Maximum average light level of any frame in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content.", - "smithy.api#jsonName": "maxFrameAverageLightLevel" + "smithy.api#jsonName": "redPrimaryY" } }, - "GreenPrimaryX": { + "WhitePointX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", - "smithy.api#jsonName": "greenPrimaryX" + "smithy.api#jsonName": "whitePointX" } }, - "MaxContentLightLevel": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", + "WhitePointY": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { - "smithy.api#documentation": "Maximum light level among all samples in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content.", - "smithy.api#jsonName": "maxContentLightLevel" + "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", + "smithy.api#jsonName": "whitePointY" } } }, @@ -7894,13 +7942,6 @@ "com.amazonaws.mediaconvert#HlsCaptionLanguageMapping": { "type": "structure", "members": { - "CustomLanguageCode": { - "target": "com.amazonaws.mediaconvert#__stringMin3Max3PatternAZaZ3", - "traits": { - "smithy.api#documentation": "Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code", - "smithy.api#jsonName": "customLanguageCode" - } - }, "CaptionChannel": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { @@ -7908,11 +7949,11 @@ "smithy.api#jsonName": "captionChannel" } }, - "LanguageDescription": { - "target": "com.amazonaws.mediaconvert#__string", + "CustomLanguageCode": { + "target": "com.amazonaws.mediaconvert#__stringMin3Max3PatternAZaZ3", "traits": { - "smithy.api#documentation": "Caption language description.", - "smithy.api#jsonName": "languageDescription" + "smithy.api#documentation": "Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code", + "smithy.api#jsonName": "customLanguageCode" } }, "LanguageCode": { @@ -7921,9 +7962,16 @@ "smithy.api#documentation": "Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php.", "smithy.api#jsonName": "languageCode" } - } - }, - "traits": { + }, + "LanguageDescription": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Caption language description.", + "smithy.api#jsonName": "languageDescription" + } + } + }, + "traits": { "smithy.api#documentation": "Caption Language Mapping" } }, @@ -7998,6 +8046,13 @@ "com.amazonaws.mediaconvert#HlsEncryptionSettings": { "type": "structure", "members": { + "ConstantInitializationVector": { + "target": "com.amazonaws.mediaconvert#__stringMin32Max32Pattern09aFAF32", + "traits": { + "smithy.api#documentation": "This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.", + "smithy.api#jsonName": "constantInitializationVector" + } + }, "EncryptionMethod": { "target": "com.amazonaws.mediaconvert#HlsEncryptionType", "traits": { @@ -8005,25 +8060,18 @@ "smithy.api#jsonName": "encryptionMethod" } }, - "StaticKeyProvider": { - "target": "com.amazonaws.mediaconvert#StaticKeyProvider", - "traits": { - "smithy.api#documentation": "Use these settings to set up encryption with a static key provider.", - "smithy.api#jsonName": "staticKeyProvider" - } - }, - "Type": { - "target": "com.amazonaws.mediaconvert#HlsKeyProviderType", + "InitializationVectorInManifest": { + "target": "com.amazonaws.mediaconvert#HlsInitializationVectorInManifest", "traits": { - "smithy.api#documentation": "Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.", - "smithy.api#jsonName": "type" + "smithy.api#documentation": "The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest.", + "smithy.api#jsonName": "initializationVectorInManifest" } }, - "ConstantInitializationVector": { - "target": "com.amazonaws.mediaconvert#__stringMin32Max32Pattern09aFAF32", + "OfflineEncrypted": { + "target": "com.amazonaws.mediaconvert#HlsOfflineEncrypted", "traits": { - "smithy.api#documentation": "This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.", - "smithy.api#jsonName": "constantInitializationVector" + "smithy.api#documentation": "Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for offline Apple HLS FairPlay content protection.", + "smithy.api#jsonName": "offlineEncrypted" } }, "SpekeKeyProvider": { @@ -8033,18 +8081,18 @@ "smithy.api#jsonName": "spekeKeyProvider" } }, - "OfflineEncrypted": { - "target": "com.amazonaws.mediaconvert#HlsOfflineEncrypted", + "StaticKeyProvider": { + "target": "com.amazonaws.mediaconvert#StaticKeyProvider", "traits": { - "smithy.api#documentation": "Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for offline Apple HLS FairPlay content protection.", - "smithy.api#jsonName": "offlineEncrypted" + "smithy.api#documentation": "Use these settings to set up encryption with a static key provider.", + "smithy.api#jsonName": "staticKeyProvider" } }, - "InitializationVectorInManifest": { - "target": "com.amazonaws.mediaconvert#HlsInitializationVectorInManifest", + "Type": { + "target": "com.amazonaws.mediaconvert#HlsKeyProviderType", "traits": { - "smithy.api#documentation": "The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest.", - "smithy.api#jsonName": "initializationVectorInManifest" + "smithy.api#documentation": "Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.", + "smithy.api#jsonName": "type" } } }, @@ -8071,27 +8119,6 @@ "com.amazonaws.mediaconvert#HlsGroupSettings": { "type": "structure", "members": { - "TimestampDeltaMilliseconds": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", - "traits": { - "smithy.api#documentation": "Provides an extra millisecond delta offset to fine tune the timestamps.", - "smithy.api#jsonName": "timestampDeltaMilliseconds" - } - }, - "DestinationSettings": { - "target": "com.amazonaws.mediaconvert#DestinationSettings", - "traits": { - "smithy.api#documentation": "Settings associated with the destination. Will vary based on the type of destination", - "smithy.api#jsonName": "destinationSettings" - } - }, - "DirectoryStructure": { - "target": "com.amazonaws.mediaconvert#HlsDirectoryStructure", - "traits": { - "smithy.api#documentation": "Indicates whether segments should be placed in subdirectories.", - "smithy.api#jsonName": "directoryStructure" - } - }, "AdMarkers": { "target": "com.amazonaws.mediaconvert#__listOfHlsAdMarkers", "traits": { @@ -8099,11 +8126,18 @@ "smithy.api#jsonName": "adMarkers" } }, - "ManifestDurationFormat": { - "target": "com.amazonaws.mediaconvert#HlsManifestDurationFormat", + "AdditionalManifests": { + "target": "com.amazonaws.mediaconvert#__listOfHlsAdditionalManifest", "traits": { - "smithy.api#documentation": "Indicates whether the output manifest should use floating point values for segment duration.", - "smithy.api#jsonName": "manifestDurationFormat" + "smithy.api#documentation": "By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your job. This default manifest references every output in the output group. To create additional top-level manifests that reference a subset of the outputs in the output group, specify a list of them here.", + "smithy.api#jsonName": "additionalManifests" + } + }, + "AudioOnlyHeader": { + "target": "com.amazonaws.mediaconvert#HlsAudioOnlyHeader", + "traits": { + "smithy.api#documentation": "Ignore this setting unless you are using FairPlay DRM with Verimatrix and you encounter playback issues. Keep the default value, Include (INCLUDE), to output audio-only headers. Choose Exclude (EXCLUDE) to remove the audio-only headers from your audio segments.", + "smithy.api#jsonName": "audioOnlyHeader" } }, "BaseUrl": { @@ -8113,6 +8147,13 @@ "smithy.api#jsonName": "baseUrl" } }, + "CaptionLanguageMappings": { + "target": "com.amazonaws.mediaconvert#__listOfHlsCaptionLanguageMapping", + "traits": { + "smithy.api#documentation": "Language to be used on Caption outputs", + "smithy.api#jsonName": "captionLanguageMappings" + } + }, "CaptionLanguageSetting": { "target": "com.amazonaws.mediaconvert#HlsCaptionLanguageSetting", "traits": { @@ -8120,6 +8161,13 @@ "smithy.api#jsonName": "captionLanguageSetting" } }, + "ClientCache": { + "target": "com.amazonaws.mediaconvert#HlsClientCache", + "traits": { + "smithy.api#documentation": "When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay.", + "smithy.api#jsonName": "clientCache" + } + }, "CodecSpecification": { "target": "com.amazonaws.mediaconvert#HlsCodecSpecification", "traits": { @@ -8127,13 +8175,6 @@ "smithy.api#jsonName": "codecSpecification" } }, - "SegmentControl": { - "target": "com.amazonaws.mediaconvert#HlsSegmentControl", - "traits": { - "smithy.api#documentation": "When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE tags to index segment for playback.", - "smithy.api#jsonName": "segmentControl" - } - }, "Destination": { "target": "com.amazonaws.mediaconvert#__stringPatternS3", "traits": { @@ -8141,25 +8182,39 @@ "smithy.api#jsonName": "destination" } }, - "ClientCache": { - "target": "com.amazonaws.mediaconvert#HlsClientCache", + "DestinationSettings": { + "target": "com.amazonaws.mediaconvert#DestinationSettings", "traits": { - "smithy.api#documentation": "When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay.", - "smithy.api#jsonName": "clientCache" + "smithy.api#documentation": "Settings associated with the destination. Will vary based on the type of destination", + "smithy.api#jsonName": "destinationSettings" } }, - "CaptionLanguageMappings": { - "target": "com.amazonaws.mediaconvert#__listOfHlsCaptionLanguageMapping", + "DirectoryStructure": { + "target": "com.amazonaws.mediaconvert#HlsDirectoryStructure", "traits": { - "smithy.api#documentation": "Language to be used on Caption outputs", - "smithy.api#jsonName": "captionLanguageMappings" + "smithy.api#documentation": "Indicates whether segments should be placed in subdirectories.", + "smithy.api#jsonName": "directoryStructure" } }, - "TimedMetadataId3Frame": { - "target": "com.amazonaws.mediaconvert#HlsTimedMetadataId3Frame", + "Encryption": { + "target": "com.amazonaws.mediaconvert#HlsEncryptionSettings", "traits": { - "smithy.api#documentation": "Indicates ID3 frame that has the timecode.", - "smithy.api#jsonName": "timedMetadataId3Frame" + "smithy.api#documentation": "DRM settings.", + "smithy.api#jsonName": "encryption" + } + }, + "ManifestCompression": { + "target": "com.amazonaws.mediaconvert#HlsManifestCompression", + "traits": { + "smithy.api#documentation": "When set to GZIP, compresses HLS playlist.", + "smithy.api#jsonName": "manifestCompression" + } + }, + "ManifestDurationFormat": { + "target": "com.amazonaws.mediaconvert#HlsManifestDurationFormat", + "traits": { + "smithy.api#documentation": "Indicates whether the output manifest should use floating point values for segment duration.", + "smithy.api#jsonName": "manifestDurationFormat" } }, "MinFinalSegmentLength": { @@ -8169,6 +8224,13 @@ "smithy.api#jsonName": "minFinalSegmentLength" } }, + "MinSegmentLength": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "traits": { + "smithy.api#documentation": "When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.", + "smithy.api#jsonName": "minSegmentLength" + } + }, "OutputSelection": { "target": "com.amazonaws.mediaconvert#HlsOutputSelection", "traits": { @@ -8176,13 +8238,6 @@ "smithy.api#jsonName": "outputSelection" } }, - "StreamInfResolution": { - "target": "com.amazonaws.mediaconvert#HlsStreamInfResolution", - "traits": { - "smithy.api#documentation": "Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.", - "smithy.api#jsonName": "streamInfResolution" - } - }, "ProgramDateTime": { "target": "com.amazonaws.mediaconvert#HlsProgramDateTime", "traits": { @@ -8190,25 +8245,18 @@ "smithy.api#jsonName": "programDateTime" } }, - "Encryption": { - "target": "com.amazonaws.mediaconvert#HlsEncryptionSettings", - "traits": { - "smithy.api#documentation": "DRM settings.", - "smithy.api#jsonName": "encryption" - } - }, - "ManifestCompression": { - "target": "com.amazonaws.mediaconvert#HlsManifestCompression", + "ProgramDateTimePeriod": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max3600", "traits": { - "smithy.api#documentation": "When set to GZIP, compresses HLS playlist.", - "smithy.api#jsonName": "manifestCompression" + "smithy.api#documentation": "Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.", + "smithy.api#jsonName": "programDateTimePeriod" } }, - "AdditionalManifests": { - "target": "com.amazonaws.mediaconvert#__listOfHlsAdditionalManifest", + "SegmentControl": { + "target": "com.amazonaws.mediaconvert#HlsSegmentControl", "traits": { - "smithy.api#documentation": "By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your job. This default manifest references every output in the output group. To create additional top-level manifests that reference a subset of the outputs in the output group, specify a list of them here.", - "smithy.api#jsonName": "additionalManifests" + "smithy.api#documentation": "When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE tags to index segment for playback.", + "smithy.api#jsonName": "segmentControl" } }, "SegmentLength": { @@ -8225,32 +8273,32 @@ "smithy.api#jsonName": "segmentsPerSubdirectory" } }, - "TimedMetadataId3Period": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", + "StreamInfResolution": { + "target": "com.amazonaws.mediaconvert#HlsStreamInfResolution", "traits": { - "smithy.api#documentation": "Timed Metadata interval in seconds.", - "smithy.api#jsonName": "timedMetadataId3Period" + "smithy.api#documentation": "Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.", + "smithy.api#jsonName": "streamInfResolution" } }, - "MinSegmentLength": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "TimedMetadataId3Frame": { + "target": "com.amazonaws.mediaconvert#HlsTimedMetadataId3Frame", "traits": { - "smithy.api#documentation": "When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.", - "smithy.api#jsonName": "minSegmentLength" + "smithy.api#documentation": "Indicates ID3 frame that has the timecode.", + "smithy.api#jsonName": "timedMetadataId3Frame" } }, - "AudioOnlyHeader": { - "target": "com.amazonaws.mediaconvert#HlsAudioOnlyHeader", + "TimedMetadataId3Period": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { - "smithy.api#documentation": "Ignore this setting unless you are using FairPlay DRM with Verimatrix and you encounter playback issues. Keep the default value, Include (INCLUDE), to output audio-only headers. Choose Exclude (EXCLUDE) to remove the audio-only headers from your audio segments.", - "smithy.api#jsonName": "audioOnlyHeader" + "smithy.api#documentation": "Timed Metadata interval in seconds.", + "smithy.api#jsonName": "timedMetadataId3Period" } }, - "ProgramDateTimePeriod": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max3600", + "TimestampDeltaMilliseconds": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { - "smithy.api#documentation": "Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.", - "smithy.api#jsonName": "programDateTimePeriod" + "smithy.api#documentation": "Provides an extra millisecond delta offset to fine tune the timestamps.", + "smithy.api#jsonName": "timestampDeltaMilliseconds" } } }, @@ -8412,18 +8460,18 @@ "smithy.api#jsonName": "audioGroupId" } }, - "IFrameOnlyManifest": { - "target": "com.amazonaws.mediaconvert#HlsIFrameOnlyManifest", + "AudioOnlyContainer": { + "target": "com.amazonaws.mediaconvert#HlsAudioOnlyContainer", "traits": { - "smithy.api#documentation": "When set to INCLUDE, writes I-Frame Only Manifest in addition to the HLS manifest", - "smithy.api#jsonName": "iFrameOnlyManifest" + "smithy.api#documentation": "Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic (AUTOMATIC) to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container.", + "smithy.api#jsonName": "audioOnlyContainer" } }, - "SegmentModifier": { + "AudioRenditionSets": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html", - "smithy.api#jsonName": "segmentModifier" + "smithy.api#documentation": "List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.", + "smithy.api#jsonName": "audioRenditionSets" } }, "AudioTrackType": { @@ -8433,18 +8481,18 @@ "smithy.api#jsonName": "audioTrackType" } }, - "AudioRenditionSets": { - "target": "com.amazonaws.mediaconvert#__string", + "IFrameOnlyManifest": { + "target": "com.amazonaws.mediaconvert#HlsIFrameOnlyManifest", "traits": { - "smithy.api#documentation": "List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.", - "smithy.api#jsonName": "audioRenditionSets" + "smithy.api#documentation": "When set to INCLUDE, writes I-Frame Only Manifest in addition to the HLS manifest", + "smithy.api#jsonName": "iFrameOnlyManifest" } }, - "AudioOnlyContainer": { - "target": "com.amazonaws.mediaconvert#HlsAudioOnlyContainer", + "SegmentModifier": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic (AUTOMATIC) to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container.", - "smithy.api#jsonName": "audioOnlyContainer" + "smithy.api#documentation": "Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html", + "smithy.api#jsonName": "segmentModifier" } } }, @@ -8491,11 +8539,11 @@ "com.amazonaws.mediaconvert#HopDestination": { "type": "structure", "members": { - "WaitMinutes": { - "target": "com.amazonaws.mediaconvert#__integer", + "Priority": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { - "smithy.api#documentation": "Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to the destination queue. Valid range is 1 to 1440 minutes, inclusive.", - "smithy.api#jsonName": "waitMinutes" + "smithy.api#documentation": "Optional. When you set up a job to use queue hopping, you can specify a different relative priority for the job in the destination queue. If you don't specify, the relative priority will remain the same as in the previous queue.", + "smithy.api#jsonName": "priority" } }, "Queue": { @@ -8505,11 +8553,11 @@ "smithy.api#jsonName": "queue" } }, - "Priority": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", + "WaitMinutes": { + "target": "com.amazonaws.mediaconvert#__integer", "traits": { - "smithy.api#documentation": "Optional. When you set up a job to use queue hopping, you can specify a different relative priority for the job in the destination queue. If you don't specify, the relative priority will remain the same as in the previous queue.", - "smithy.api#jsonName": "priority" + "smithy.api#documentation": "Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to the destination queue. Valid range is 1 to 1440 minutes, inclusive.", + "smithy.api#jsonName": "waitMinutes" } } }, @@ -8520,19 +8568,19 @@ "com.amazonaws.mediaconvert#Id3Insertion": { "type": "structure", "members": { - "Timecode": { - "target": "com.amazonaws.mediaconvert#__stringPattern010920405090509092", - "traits": { - "smithy.api#documentation": "Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.", - "smithy.api#jsonName": "timecode" - } - }, "Id3": { "target": "com.amazonaws.mediaconvert#__stringPatternAZaZ0902", "traits": { "smithy.api#documentation": "Use ID3 tag (Id3) to provide a tag value in base64-encode format.", "smithy.api#jsonName": "id3" } + }, + "Timecode": { + "target": "com.amazonaws.mediaconvert#__stringPattern010920405090509092", + "traits": { + "smithy.api#documentation": "Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.", + "smithy.api#jsonName": "timecode" + } } }, "traits": { @@ -8588,11 +8636,11 @@ "com.amazonaws.mediaconvert#Input": { "type": "structure", "members": { - "ProgramNumber": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "AudioSelectorGroups": { + "target": "com.amazonaws.mediaconvert#__mapOfAudioSelectorGroup", "traits": { - "smithy.api#documentation": "Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default.", - "smithy.api#jsonName": "programNumber" + "smithy.api#documentation": "Specifies set of audio selectors within an input to combine. An input may have multiple audio selector groups. See \"Audio Selector Group\":#inputs-audio_selector_group for more information.", + "smithy.api#jsonName": "audioSelectorGroups" } }, "AudioSelectors": { @@ -8609,11 +8657,25 @@ "smithy.api#jsonName": "captionSelectors" } }, - "PsiControl": { - "target": "com.amazonaws.mediaconvert#InputPsiControl", + "Crop": { + "target": "com.amazonaws.mediaconvert#Rectangle", "traits": { - "smithy.api#documentation": "Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data.", - "smithy.api#jsonName": "psiControl" + "smithy.api#documentation": "Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. If you specify a value here, it will override any value that you specify in the output setting Cropping selection (crop).", + "smithy.api#jsonName": "crop" + } + }, + "DeblockFilter": { + "target": "com.amazonaws.mediaconvert#InputDeblockFilter", + "traits": { + "smithy.api#documentation": "Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only manually controllable for MPEG2 and uncompressed video inputs.", + "smithy.api#jsonName": "deblockFilter" + } + }, + "DecryptionSettings": { + "target": "com.amazonaws.mediaconvert#InputDecryptionSettings", + "traits": { + "smithy.api#documentation": "Settings for decrypting any input files that you encrypt before you upload them to Amazon S3. MediaConvert can decrypt files only when you use AWS Key Management Service (KMS) to encrypt the data key that you use to encrypt your content.", + "smithy.api#jsonName": "decryptionSettings" } }, "DenoiseFilter": { @@ -8623,11 +8685,18 @@ "smithy.api#jsonName": "denoiseFilter" } }, - "TimecodeSource": { - "target": "com.amazonaws.mediaconvert#InputTimecodeSource", + "FileInput": { + "target": "com.amazonaws.mediaconvert#__stringPatternS3MM2PPMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8WWEEBBMMLLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMXXMMLLHttpsMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8WWEEBBMMLLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMXXMMLL", "traits": { - "smithy.api#documentation": "Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the service counts input video frames. This input frame count affects only the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode source, the service will use Embedded by default. For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode.", - "smithy.api#jsonName": "timecodeSource" + "smithy.api#documentation": "Specify the source file for your transcoding job. You can use multiple inputs in a single job. The service concatenates these inputs, in the order that you specify them in the job, to create the outputs. If your input format is IMF, specify your input by providing the path to your CPL. For example, \"s3://bucket/vf/cpl.xml\". If the CPL is in an incomplete IMP, make sure to use *Supplemental IMPs* (SupplementalImps) to specify any supplemental IMPs that contain assets referenced by the CPL.", + "smithy.api#jsonName": "fileInput" + } + }, + "FilterEnable": { + "target": "com.amazonaws.mediaconvert#InputFilterEnable", + "traits": { + "smithy.api#documentation": "Specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The input is filtered regardless of input type.", + "smithy.api#jsonName": "filterEnable" } }, "FilterStrength": { @@ -8637,11 +8706,11 @@ "smithy.api#jsonName": "filterStrength" } }, - "AudioSelectorGroups": { - "target": "com.amazonaws.mediaconvert#__mapOfAudioSelectorGroup", + "ImageInserter": { + "target": "com.amazonaws.mediaconvert#ImageInserter", "traits": { - "smithy.api#documentation": "Specifies set of audio selectors within an input to combine. An input may have multiple audio selector groups. See \"Audio Selector Group\":#inputs-audio_selector_group for more information.", - "smithy.api#jsonName": "audioSelectorGroups" + "smithy.api#documentation": "Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this feature for each input individually. This setting is disabled by default.", + "smithy.api#jsonName": "imageInserter" } }, "InputClippings": { @@ -8651,13 +8720,6 @@ "smithy.api#jsonName": "inputClippings" } }, - "TimecodeStart": { - "target": "com.amazonaws.mediaconvert#__stringMin11Max11Pattern01D20305D205D", - "traits": { - "smithy.api#documentation": "Specify the timecode that you want the service to use for this input's initial frame. To use this setting, you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to Specified start (SPECIFIEDSTART). For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode.", - "smithy.api#jsonName": "timecodeStart" - } - }, "InputScanType": { "target": "com.amazonaws.mediaconvert#InputScanType", "traits": { @@ -8665,60 +8727,46 @@ "smithy.api#jsonName": "inputScanType" } }, - "ImageInserter": { - "target": "com.amazonaws.mediaconvert#ImageInserter", - "traits": { - "smithy.api#documentation": "Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this feature for each input individually. This setting is disabled by default.", - "smithy.api#jsonName": "imageInserter" - } - }, - "FileInput": { - "target": "com.amazonaws.mediaconvert#__stringPatternS3MM2PPMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8WWEEBBMMLLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMXXMMLLHttpsMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8WWEEBBMMLLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMXXMMLL", - "traits": { - "smithy.api#documentation": "Specify the source file for your transcoding job. You can use multiple inputs in a single job. The service concatenates these inputs, in the order that you specify them in the job, to create the outputs. If your input format is IMF, specify your input by providing the path to your CPL. For example, \"s3://bucket/vf/cpl.xml\". If the CPL is in an incomplete IMP, make sure to use *Supplemental IMPs* (SupplementalImps) to specify any supplemental IMPs that contain assets referenced by the CPL.", - "smithy.api#jsonName": "fileInput" - } - }, - "DecryptionSettings": { - "target": "com.amazonaws.mediaconvert#InputDecryptionSettings", + "Position": { + "target": "com.amazonaws.mediaconvert#Rectangle", "traits": { - "smithy.api#documentation": "Settings for decrypting any input files that you encrypt before you upload them to Amazon S3. MediaConvert can decrypt files only when you use AWS Key Management Service (KMS) to encrypt the data key that you use to encrypt your content.", - "smithy.api#jsonName": "decryptionSettings" + "smithy.api#documentation": "Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black. If you specify a value here, it will override any value that you specify in the output setting Selection placement (position). If you specify a value here, this will override any AFD values in your input, even if you set Respond to AFD (RespondToAfd) to Respond (RESPOND). If you specify a value here, this will ignore anything that you specify for the setting Scaling Behavior (scalingBehavior).", + "smithy.api#jsonName": "position" } }, - "FilterEnable": { - "target": "com.amazonaws.mediaconvert#InputFilterEnable", + "ProgramNumber": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The input is filtered regardless of input type.", - "smithy.api#jsonName": "filterEnable" + "smithy.api#documentation": "Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default.", + "smithy.api#jsonName": "programNumber" } }, - "Crop": { - "target": "com.amazonaws.mediaconvert#Rectangle", + "PsiControl": { + "target": "com.amazonaws.mediaconvert#InputPsiControl", "traits": { - "smithy.api#documentation": "Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. If you specify a value here, it will override any value that you specify in the output setting Cropping selection (crop).", - "smithy.api#jsonName": "crop" + "smithy.api#documentation": "Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data.", + "smithy.api#jsonName": "psiControl" } }, - "DeblockFilter": { - "target": "com.amazonaws.mediaconvert#InputDeblockFilter", + "SupplementalImps": { + "target": "com.amazonaws.mediaconvert#__listOf__stringPatternS3ASSETMAPXml", "traits": { - "smithy.api#documentation": "Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only manually controllable for MPEG2 and uncompressed video inputs.", - "smithy.api#jsonName": "deblockFilter" + "smithy.api#documentation": "Provide a list of any necessary supplemental IMPs. You need supplemental IMPs if the CPL that you're using for your input is in an incomplete IMP. Specify either the supplemental IMP directories with a trailing slash or the ASSETMAP.xml files. For example [\"s3://bucket/ov/\", \"s3://bucket/vf2/ASSETMAP.xml\"]. You don't need to specify the IMP that contains your input CPL, because the service automatically detects it.", + "smithy.api#jsonName": "supplementalImps" } }, - "Position": { - "target": "com.amazonaws.mediaconvert#Rectangle", + "TimecodeSource": { + "target": "com.amazonaws.mediaconvert#InputTimecodeSource", "traits": { - "smithy.api#documentation": "Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black. If you specify a value here, it will override any value that you specify in the output setting Selection placement (position). If you specify a value here, this will override any AFD values in your input, even if you set Respond to AFD (RespondToAfd) to Respond (RESPOND). If you specify a value here, this will ignore anything that you specify for the setting Scaling Behavior (scalingBehavior).", - "smithy.api#jsonName": "position" + "smithy.api#documentation": "Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the service counts input video frames. This input frame count affects only the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode source, the service will use Embedded by default. For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode.", + "smithy.api#jsonName": "timecodeSource" } }, - "SupplementalImps": { - "target": "com.amazonaws.mediaconvert#__listOf__stringPatternS3ASSETMAPXml", + "TimecodeStart": { + "target": "com.amazonaws.mediaconvert#__stringMin11Max11Pattern01D20305D205D", "traits": { - "smithy.api#documentation": "Provide a list of any necessary supplemental IMPs. You need supplemental IMPs if the CPL that you're using for your input is in an incomplete IMP. Specify either the supplemental IMP directories with a trailing slash or the ASSETMAP.xml files. For example [\"s3://bucket/ov/\", \"s3://bucket/vf2/ASSETMAP.xml\"]. You don't need to specify the IMP that contains your input CPL, because the service automatically detects it.", - "smithy.api#jsonName": "supplementalImps" + "smithy.api#documentation": "Specify the timecode that you want the service to use for this input's initial frame. To use this setting, you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to Specified start (SPECIFIEDSTART). For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode.", + "smithy.api#jsonName": "timecodeStart" } }, "VideoSelector": { @@ -8736,18 +8784,18 @@ "com.amazonaws.mediaconvert#InputClipping": { "type": "structure", "members": { - "StartTimecode": { + "EndTimecode": { "target": "com.amazonaws.mediaconvert#__stringPattern010920405090509092", "traits": { - "smithy.api#documentation": "Set Start timecode (StartTimecode) to the beginning of the portion of the input you are clipping. The frame corresponding to the Start timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for Input timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to begin five minutes into the video, use 01:05:00:00.", - "smithy.api#jsonName": "startTimecode" + "smithy.api#documentation": "Set End timecode (EndTimecode) to the end of the portion of the input you are clipping. The frame corresponding to the End timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for timecode source under input settings (InputTimecodeSource). For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to end six minutes into the video, use 01:06:00:00.", + "smithy.api#jsonName": "endTimecode" } }, - "EndTimecode": { + "StartTimecode": { "target": "com.amazonaws.mediaconvert#__stringPattern010920405090509092", "traits": { - "smithy.api#documentation": "Set End timecode (EndTimecode) to the end of the portion of the input you are clipping. The frame corresponding to the End timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for timecode source under input settings (InputTimecodeSource). For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to end six minutes into the video, use 01:06:00:00.", - "smithy.api#jsonName": "endTimecode" + "smithy.api#documentation": "Set Start timecode (StartTimecode) to the beginning of the portion of the input you are clipping. The frame corresponding to the Start timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for Input timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to begin five minutes into the video, use 01:05:00:00.", + "smithy.api#jsonName": "startTimecode" } } }, @@ -8774,6 +8822,20 @@ "com.amazonaws.mediaconvert#InputDecryptionSettings": { "type": "structure", "members": { + "DecryptionMode": { + "target": "com.amazonaws.mediaconvert#DecryptionMode", + "traits": { + "smithy.api#documentation": "Specify the encryption mode that you used to encrypt your input files.", + "smithy.api#jsonName": "decryptionMode" + } + }, + "EncryptedDecryptionKey": { + "target": "com.amazonaws.mediaconvert#__stringMin24Max512PatternAZaZ0902", + "traits": { + "smithy.api#documentation": "Warning! Don't provide your encryption key in plaintext. Your job settings could be intercepted, making your encrypted content vulnerable. Specify the encrypted version of the data key that you used to encrypt your content. The data key must be encrypted by AWS Key Management Service (KMS). The key can be 128, 192, or 256 bits.", + "smithy.api#jsonName": "encryptedDecryptionKey" + } + }, "InitializationVector": { "target": "com.amazonaws.mediaconvert#__stringMin16Max24PatternAZaZ0922AZaZ0916", "traits": { @@ -8787,20 +8849,6 @@ "smithy.api#documentation": "Specify the AWS Region for AWS Key Management Service (KMS) that you used to encrypt your data key, if that Region is different from the one you are using for AWS Elemental MediaConvert.", "smithy.api#jsonName": "kmsKeyRegion" } - }, - "EncryptedDecryptionKey": { - "target": "com.amazonaws.mediaconvert#__stringMin24Max512PatternAZaZ0902", - "traits": { - "smithy.api#documentation": "Warning! Don't provide your encryption key in plaintext. Your job settings could be intercepted, making your encrypted content vulnerable. Specify the encrypted version of the data key that you used to encrypt your content. The data key must be encrypted by AWS Key Management Service (KMS). The key can be 128, 192, or 256 bits.", - "smithy.api#jsonName": "encryptedDecryptionKey" - } - }, - "DecryptionMode": { - "target": "com.amazonaws.mediaconvert#DecryptionMode", - "traits": { - "smithy.api#documentation": "Specify the encryption mode that you used to encrypt your input files.", - "smithy.api#jsonName": "decryptionMode" - } } }, "traits": { @@ -8913,6 +8961,27 @@ "smithy.api#jsonName": "audioSelectorGroups" } }, + "AudioSelectors": { + "target": "com.amazonaws.mediaconvert#__mapOfAudioSelector", + "traits": { + "smithy.api#documentation": "Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your outputs. You can use multiple Audio selectors per input.", + "smithy.api#jsonName": "audioSelectors" + } + }, + "CaptionSelectors": { + "target": "com.amazonaws.mediaconvert#__mapOfCaptionSelector", + "traits": { + "smithy.api#documentation": "Use captions selectors to specify the captions data from your input that you use in your outputs. You can use up to 20 captions selectors per input.", + "smithy.api#jsonName": "captionSelectors" + } + }, + "Crop": { + "target": "com.amazonaws.mediaconvert#Rectangle", + "traits": { + "smithy.api#documentation": "Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. If you specify a value here, it will override any value that you specify in the output setting Cropping selection (crop).", + "smithy.api#jsonName": "crop" + } + }, "DeblockFilter": { "target": "com.amazonaws.mediaconvert#InputDeblockFilter", "traits": { @@ -8920,25 +8989,25 @@ "smithy.api#jsonName": "deblockFilter" } }, - "InputClippings": { - "target": "com.amazonaws.mediaconvert#__listOfInputClipping", + "DenoiseFilter": { + "target": "com.amazonaws.mediaconvert#InputDenoiseFilter", "traits": { - "smithy.api#documentation": "(InputClippings) contains sets of start and end times that together specify a portion of the input to be used in the outputs. If you provide only a start time, the clip will be the entire input from that point to the end. If you provide only an end time, it will be the entire input up to that point. When you specify more than one input clip, the transcoding service creates the job outputs by stringing the clips together in the order you specify them.", - "smithy.api#jsonName": "inputClippings" + "smithy.api#documentation": "Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs.", + "smithy.api#jsonName": "denoiseFilter" } }, - "TimecodeStart": { - "target": "com.amazonaws.mediaconvert#__stringMin11Max11Pattern01D20305D205D", + "FilterEnable": { + "target": "com.amazonaws.mediaconvert#InputFilterEnable", "traits": { - "smithy.api#documentation": "Specify the timecode that you want the service to use for this input's initial frame. To use this setting, you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to Specified start (SPECIFIEDSTART). For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode.", - "smithy.api#jsonName": "timecodeStart" + "smithy.api#documentation": "Specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The input is filtered regardless of input type.", + "smithy.api#jsonName": "filterEnable" } }, - "InputScanType": { - "target": "com.amazonaws.mediaconvert#InputScanType", + "FilterStrength": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative5Max5", "traits": { - "smithy.api#documentation": "When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF. MediaConvert doesn't automatically detect PsF. Therefore, flagging your input as PsF results in better preservation of video quality when you do deinterlacing and frame rate conversion. If you don't specify, the default value is Auto (AUTO). Auto is the correct setting for all inputs that are not PsF. Don't set this value to PsF when your input is interlaced. Doing so creates horizontal interlacing artifacts.", - "smithy.api#jsonName": "inputScanType" + "smithy.api#documentation": "Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0.", + "smithy.api#jsonName": "filterStrength" } }, "ImageInserter": { @@ -8948,18 +9017,18 @@ "smithy.api#jsonName": "imageInserter" } }, - "ProgramNumber": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "InputClippings": { + "target": "com.amazonaws.mediaconvert#__listOfInputClipping", "traits": { - "smithy.api#documentation": "Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default.", - "smithy.api#jsonName": "programNumber" + "smithy.api#documentation": "(InputClippings) contains sets of start and end times that together specify a portion of the input to be used in the outputs. If you provide only a start time, the clip will be the entire input from that point to the end. If you provide only an end time, it will be the entire input up to that point. When you specify more than one input clip, the transcoding service creates the job outputs by stringing the clips together in the order you specify them.", + "smithy.api#jsonName": "inputClippings" } }, - "FilterStrength": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative5Max5", + "InputScanType": { + "target": "com.amazonaws.mediaconvert#InputScanType", "traits": { - "smithy.api#documentation": "Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0.", - "smithy.api#jsonName": "filterStrength" + "smithy.api#documentation": "When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF. MediaConvert doesn't automatically detect PsF. Therefore, flagging your input as PsF results in better preservation of video quality when you do deinterlacing and frame rate conversion. If you don't specify, the default value is Auto (AUTO). Auto is the correct setting for all inputs that are not PsF. Don't set this value to PsF when your input is interlaced. Doing so creates horizontal interlacing artifacts.", + "smithy.api#jsonName": "inputScanType" } }, "Position": { @@ -8969,6 +9038,13 @@ "smithy.api#jsonName": "position" } }, + "ProgramNumber": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default.", + "smithy.api#jsonName": "programNumber" + } + }, "PsiControl": { "target": "com.amazonaws.mediaconvert#InputPsiControl", "traits": { @@ -8983,18 +9059,11 @@ "smithy.api#jsonName": "timecodeSource" } }, - "AudioSelectors": { - "target": "com.amazonaws.mediaconvert#__mapOfAudioSelector", - "traits": { - "smithy.api#documentation": "Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your outputs. You can use multiple Audio selectors per input.", - "smithy.api#jsonName": "audioSelectors" - } - }, - "CaptionSelectors": { - "target": "com.amazonaws.mediaconvert#__mapOfCaptionSelector", + "TimecodeStart": { + "target": "com.amazonaws.mediaconvert#__stringMin11Max11Pattern01D20305D205D", "traits": { - "smithy.api#documentation": "Use captions selectors to specify the captions data from your input that you use in your outputs. You can use up to 20 captions selectors per input.", - "smithy.api#jsonName": "captionSelectors" + "smithy.api#documentation": "Specify the timecode that you want the service to use for this input's initial frame. To use this setting, you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to Specified start (SPECIFIEDSTART). For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode.", + "smithy.api#jsonName": "timecodeStart" } }, "VideoSelector": { @@ -9003,27 +9072,6 @@ "smithy.api#documentation": "Selector for video.", "smithy.api#jsonName": "videoSelector" } - }, - "DenoiseFilter": { - "target": "com.amazonaws.mediaconvert#InputDenoiseFilter", - "traits": { - "smithy.api#documentation": "Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs.", - "smithy.api#jsonName": "denoiseFilter" - } - }, - "FilterEnable": { - "target": "com.amazonaws.mediaconvert#InputFilterEnable", - "traits": { - "smithy.api#documentation": "Specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The input is filtered regardless of input type.", - "smithy.api#jsonName": "filterEnable" - } - }, - "Crop": { - "target": "com.amazonaws.mediaconvert#Rectangle", - "traits": { - "smithy.api#documentation": "Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. If you specify a value here, it will override any value that you specify in the output setting Cropping selection (crop).", - "smithy.api#jsonName": "crop" - } } }, "traits": { @@ -9053,13 +9101,6 @@ "com.amazonaws.mediaconvert#InsertableImage": { "type": "structure", "members": { - "Layer": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max99", - "traits": { - "smithy.api#documentation": "Specify how overlapping inserted images appear. Images with higher values for Layer appear on top of images with lower values for Layer.", - "smithy.api#jsonName": "layer" - } - }, "Duration": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { @@ -9067,13 +9108,6 @@ "smithy.api#jsonName": "duration" } }, - "StartTime": { - "target": "com.amazonaws.mediaconvert#__stringPattern01D20305D205D", - "traits": { - "smithy.api#documentation": "Specify the timecode of the frame that you want the overlay to first appear on. This must be in timecode (HH:MM:SS:FF or HH:MM:SS;FF) format. Remember to take into account your timecode source settings.", - "smithy.api#jsonName": "startTime" - } - }, "FadeIn": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { @@ -9081,11 +9115,11 @@ "smithy.api#jsonName": "fadeIn" } }, - "Width": { + "FadeOut": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "Specify the width of the inserted image in pixels. If you specify a value that's larger than the video resolution width, the service will crop your overlaid image to fit. To use the native width of the image, keep this setting blank.", - "smithy.api#jsonName": "width" + "smithy.api#documentation": "Specify the length of time, in milliseconds, between the end of the time that you have specified for the image overlay Duration and when the overlaid image has faded to total transparency. If you don't specify a value for Fade-out, the image will disappear abruptly at the end of the inserted image duration.", + "smithy.api#jsonName": "fadeOut" } }, "Height": { @@ -9095,6 +9129,13 @@ "smithy.api#jsonName": "height" } }, + "ImageInserterInput": { + "target": "com.amazonaws.mediaconvert#__stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA", + "traits": { + "smithy.api#documentation": "Specify the HTTP, HTTPS, or Amazon S3 location of the image that you want to overlay on the video. Use a PNG or TGA file.", + "smithy.api#jsonName": "imageInserterInput" + } + }, "ImageX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { @@ -9102,6 +9143,20 @@ "smithy.api#jsonName": "imageX" } }, + "ImageY": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "traits": { + "smithy.api#documentation": "Specify the distance, in pixels, between the overlaid image and the top edge of the video frame. Required for any image overlay that you specify.", + "smithy.api#jsonName": "imageY" + } + }, + "Layer": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max99", + "traits": { + "smithy.api#documentation": "Specify how overlapping inserted images appear. Images with higher values for Layer appear on top of images with lower values for Layer.", + "smithy.api#jsonName": "layer" + } + }, "Opacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { @@ -9109,25 +9164,18 @@ "smithy.api#jsonName": "opacity" } }, - "ImageInserterInput": { - "target": "com.amazonaws.mediaconvert#__stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA", - "traits": { - "smithy.api#documentation": "Specify the HTTP, HTTPS, or Amazon S3 location of the image that you want to overlay on the video. Use a PNG or TGA file.", - "smithy.api#jsonName": "imageInserterInput" - } - }, - "FadeOut": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "StartTime": { + "target": "com.amazonaws.mediaconvert#__stringPattern01D20305D205D", "traits": { - "smithy.api#documentation": "Specify the length of time, in milliseconds, between the end of the time that you have specified for the image overlay Duration and when the overlaid image has faded to total transparency. If you don't specify a value for Fade-out, the image will disappear abruptly at the end of the inserted image duration.", - "smithy.api#jsonName": "fadeOut" + "smithy.api#documentation": "Specify the timecode of the frame that you want the overlay to first appear on. This must be in timecode (HH:MM:SS:FF or HH:MM:SS;FF) format. Remember to take into account your timecode source settings.", + "smithy.api#jsonName": "startTime" } }, - "ImageY": { + "Width": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "Specify the distance, in pixels, between the overlaid image and the top edge of the video frame. Required for any image overlay that you specify.", - "smithy.api#jsonName": "imageY" + "smithy.api#documentation": "Specify the width of the inserted image in pixels. If you specify a value that's larger than the video resolution width, the service will crop your overlaid image to fit. To use the native width of the image, keep this setting blank.", + "smithy.api#jsonName": "width" } } }, @@ -9154,20 +9202,6 @@ "com.amazonaws.mediaconvert#Job": { "type": "structure", "members": { - "QueueTransitions": { - "target": "com.amazonaws.mediaconvert#__listOfQueueTransition", - "traits": { - "smithy.api#documentation": "The job's queue hopping history.", - "smithy.api#jsonName": "queueTransitions" - } - }, - "UserMetadata": { - "target": "com.amazonaws.mediaconvert#__mapOf__string", - "traits": { - "smithy.api#documentation": "User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.", - "smithy.api#jsonName": "userMetadata" - } - }, "AccelerationSettings": { "target": "com.amazonaws.mediaconvert#AccelerationSettings", "traits": { @@ -9175,18 +9209,18 @@ "smithy.api#jsonName": "accelerationSettings" } }, - "JobPercentComplete": { - "target": "com.amazonaws.mediaconvert#__integer", + "AccelerationStatus": { + "target": "com.amazonaws.mediaconvert#AccelerationStatus", "traits": { - "smithy.api#documentation": "An estimate of how far your job has progressed. This estimate is shown as a percentage of the total time from when your job leaves its queue to when your output files appear in your output Amazon S3 bucket. AWS Elemental MediaConvert provides jobPercentComplete in CloudWatch STATUS_UPDATE events and in the response to GetJob and ListJobs requests. The jobPercentComplete estimate is reliable for the following input containers: Quicktime, Transport Stream, MP4, and MXF. For some jobs, the service can't provide information about job progress. In those cases, jobPercentComplete returns a null value.", - "smithy.api#jsonName": "jobPercentComplete" + "smithy.api#documentation": "Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED.", + "smithy.api#jsonName": "accelerationStatus" } }, - "StatusUpdateInterval": { - "target": "com.amazonaws.mediaconvert#StatusUpdateInterval", + "Arn": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.", - "smithy.api#jsonName": "statusUpdateInterval" + "smithy.api#documentation": "An identifier for this resource that is unique within all of AWS.", + "smithy.api#jsonName": "arn" } }, "BillingTagsSource": { @@ -9196,11 +9230,11 @@ "smithy.api#jsonName": "billingTagsSource" } }, - "Priority": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", + "CreatedAt": { + "target": "com.amazonaws.mediaconvert#__timestampUnix", "traits": { - "smithy.api#documentation": "Relative priority on the job.", - "smithy.api#jsonName": "priority" + "smithy.api#documentation": "The time, in Unix epoch format in seconds, when the job got created.", + "smithy.api#jsonName": "createdAt" } }, "CurrentPhase": { @@ -9210,40 +9244,18 @@ "smithy.api#jsonName": "currentPhase" } }, - "RetryCount": { + "ErrorCode": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { - "smithy.api#documentation": "The number of times that the service automatically attempted to process your job after encountering an error.", - "smithy.api#jsonName": "retryCount" + "smithy.api#documentation": "Error code for the job", + "smithy.api#jsonName": "errorCode" } }, - "Queue": { + "ErrorMessage": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html", - "smithy.api#jsonName": "queue" - } - }, - "SimulateReservedQueue": { - "target": "com.amazonaws.mediaconvert#SimulateReservedQueue", - "traits": { - "smithy.api#documentation": "Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default.", - "smithy.api#jsonName": "simulateReservedQueue" - } - }, - "Settings": { - "target": "com.amazonaws.mediaconvert#JobSettings", - "traits": { - "smithy.api#documentation": "JobSettings contains all the transcode settings for a job.", - "smithy.api#jsonName": "settings", - "smithy.api#required": {} - } - }, - "ErrorCode": { - "target": "com.amazonaws.mediaconvert#__integer", - "traits": { - "smithy.api#documentation": "Error code for the job", - "smithy.api#jsonName": "errorCode" + "smithy.api#documentation": "Error message of Job", + "smithy.api#jsonName": "errorMessage" } }, "HopDestinations": { @@ -9253,13 +9265,6 @@ "smithy.api#jsonName": "hopDestinations" } }, - "OutputGroupDetails": { - "target": "com.amazonaws.mediaconvert#__listOfOutputGroupDetail", - "traits": { - "smithy.api#documentation": "List of output group details", - "smithy.api#jsonName": "outputGroupDetails" - } - }, "Id": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -9267,6 +9272,13 @@ "smithy.api#jsonName": "id" } }, + "JobPercentComplete": { + "target": "com.amazonaws.mediaconvert#__integer", + "traits": { + "smithy.api#documentation": "An estimate of how far your job has progressed. This estimate is shown as a percentage of the total time from when your job leaves its queue to when your output files appear in your output Amazon S3 bucket. AWS Elemental MediaConvert provides jobPercentComplete in CloudWatch STATUS_UPDATE events and in the response to GetJob and ListJobs requests. The jobPercentComplete estimate is reliable for the following input containers: Quicktime, Transport Stream, MP4, and MXF. For some jobs, the service can't provide information about job progress. In those cases, jobPercentComplete returns a null value.", + "smithy.api#jsonName": "jobPercentComplete" + } + }, "JobTemplate": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -9274,13 +9286,6 @@ "smithy.api#jsonName": "jobTemplate" } }, - "Timing": { - "target": "com.amazonaws.mediaconvert#Timing", - "traits": { - "smithy.api#documentation": "Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.", - "smithy.api#jsonName": "timing" - } - }, "Messages": { "target": "com.amazonaws.mediaconvert#JobMessages", "traits": { @@ -9288,18 +9293,39 @@ "smithy.api#jsonName": "messages" } }, - "AccelerationStatus": { - "target": "com.amazonaws.mediaconvert#AccelerationStatus", + "OutputGroupDetails": { + "target": "com.amazonaws.mediaconvert#__listOfOutputGroupDetail", "traits": { - "smithy.api#documentation": "Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED.", - "smithy.api#jsonName": "accelerationStatus" + "smithy.api#documentation": "List of output group details", + "smithy.api#jsonName": "outputGroupDetails" } }, - "CreatedAt": { - "target": "com.amazonaws.mediaconvert#__timestampUnix", + "Priority": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { - "smithy.api#documentation": "The time, in Unix epoch format in seconds, when the job got created.", - "smithy.api#jsonName": "createdAt" + "smithy.api#documentation": "Relative priority on the job.", + "smithy.api#jsonName": "priority" + } + }, + "Queue": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html", + "smithy.api#jsonName": "queue" + } + }, + "QueueTransitions": { + "target": "com.amazonaws.mediaconvert#__listOfQueueTransition", + "traits": { + "smithy.api#documentation": "The job's queue hopping history.", + "smithy.api#jsonName": "queueTransitions" + } + }, + "RetryCount": { + "target": "com.amazonaws.mediaconvert#__integer", + "traits": { + "smithy.api#documentation": "The number of times that the service automatically attempted to process your job after encountering an error.", + "smithy.api#jsonName": "retryCount" } }, "Role": { @@ -9310,6 +9336,21 @@ "smithy.api#required": {} } }, + "Settings": { + "target": "com.amazonaws.mediaconvert#JobSettings", + "traits": { + "smithy.api#documentation": "JobSettings contains all the transcode settings for a job.", + "smithy.api#jsonName": "settings", + "smithy.api#required": {} + } + }, + "SimulateReservedQueue": { + "target": "com.amazonaws.mediaconvert#SimulateReservedQueue", + "traits": { + "smithy.api#documentation": "Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default.", + "smithy.api#jsonName": "simulateReservedQueue" + } + }, "Status": { "target": "com.amazonaws.mediaconvert#JobStatus", "traits": { @@ -9317,18 +9358,25 @@ "smithy.api#jsonName": "status" } }, - "Arn": { - "target": "com.amazonaws.mediaconvert#__string", + "StatusUpdateInterval": { + "target": "com.amazonaws.mediaconvert#StatusUpdateInterval", "traits": { - "smithy.api#documentation": "An identifier for this resource that is unique within all of AWS.", - "smithy.api#jsonName": "arn" + "smithy.api#documentation": "Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.", + "smithy.api#jsonName": "statusUpdateInterval" } }, - "ErrorMessage": { - "target": "com.amazonaws.mediaconvert#__string", + "Timing": { + "target": "com.amazonaws.mediaconvert#Timing", "traits": { - "smithy.api#documentation": "Error message of Job", - "smithy.api#jsonName": "errorMessage" + "smithy.api#documentation": "Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.", + "smithy.api#jsonName": "timing" + } + }, + "UserMetadata": { + "target": "com.amazonaws.mediaconvert#__mapOf__string", + "traits": { + "smithy.api#documentation": "User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.", + "smithy.api#jsonName": "userMetadata" } } }, @@ -9381,6 +9429,13 @@ "com.amazonaws.mediaconvert#JobSettings": { "type": "structure", "members": { + "AdAvailOffset": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative1000Max1000", + "traits": { + "smithy.api#documentation": "When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.", + "smithy.api#jsonName": "adAvailOffset" + } + }, "AvailBlanking": { "target": "com.amazonaws.mediaconvert#AvailBlanking", "traits": { @@ -9388,13 +9443,6 @@ "smithy.api#jsonName": "availBlanking" } }, - "NielsenConfiguration": { - "target": "com.amazonaws.mediaconvert#NielsenConfiguration", - "traits": { - "smithy.api#documentation": "Settings for your Nielsen configuration. If you don't do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration (nielsenConfiguration), MediaConvert enables PCM to ID3 tagging for all outputs in the job. To enable Nielsen configuration programmatically, include an instance of nielsenConfiguration in your JSON job specification. Even if you don't include any children of nielsenConfiguration, you still enable the setting.", - "smithy.api#jsonName": "nielsenConfiguration" - } - }, "Esam": { "target": "com.amazonaws.mediaconvert#EsamSettings", "traits": { @@ -9402,25 +9450,11 @@ "smithy.api#jsonName": "esam" } }, - "TimecodeConfig": { - "target": "com.amazonaws.mediaconvert#TimecodeConfig", - "traits": { - "smithy.api#documentation": "Contains settings used to acquire and adjust timecode information from inputs.", - "smithy.api#jsonName": "timecodeConfig" - } - }, - "NielsenNonLinearWatermark": { - "target": "com.amazonaws.mediaconvert#NielsenNonLinearWatermarkSettings", - "traits": { - "smithy.api#documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]", - "smithy.api#jsonName": "nielsenNonLinearWatermark" - } - }, - "AdAvailOffset": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative1000Max1000", + "Inputs": { + "target": "com.amazonaws.mediaconvert#__listOfInput", "traits": { - "smithy.api#documentation": "When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.", - "smithy.api#jsonName": "adAvailOffset" + "smithy.api#documentation": "Use Inputs (inputs) to define source file used in the transcode job. There can be multiple inputs add in a job. These inputs will be concantenated together to create the output.", + "smithy.api#jsonName": "inputs" } }, "MotionImageInserter": { @@ -9430,11 +9464,18 @@ "smithy.api#jsonName": "motionImageInserter" } }, - "Inputs": { - "target": "com.amazonaws.mediaconvert#__listOfInput", + "NielsenConfiguration": { + "target": "com.amazonaws.mediaconvert#NielsenConfiguration", "traits": { - "smithy.api#documentation": "Use Inputs (inputs) to define source file used in the transcode job. There can be multiple inputs add in a job. These inputs will be concantenated together to create the output.", - "smithy.api#jsonName": "inputs" + "smithy.api#documentation": "Settings for your Nielsen configuration. If you don't do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration (nielsenConfiguration), MediaConvert enables PCM to ID3 tagging for all outputs in the job. To enable Nielsen configuration programmatically, include an instance of nielsenConfiguration in your JSON job specification. Even if you don't include any children of nielsenConfiguration, you still enable the setting.", + "smithy.api#jsonName": "nielsenConfiguration" + } + }, + "NielsenNonLinearWatermark": { + "target": "com.amazonaws.mediaconvert#NielsenNonLinearWatermarkSettings", + "traits": { + "smithy.api#documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]", + "smithy.api#jsonName": "nielsenNonLinearWatermark" } }, "OutputGroups": { @@ -9444,6 +9485,13 @@ "smithy.api#jsonName": "outputGroups" } }, + "TimecodeConfig": { + "target": "com.amazonaws.mediaconvert#TimecodeConfig", + "traits": { + "smithy.api#documentation": "Contains settings used to acquire and adjust timecode information from inputs.", + "smithy.api#jsonName": "timecodeConfig" + } + }, "TimedMetadataInsertion": { "target": "com.amazonaws.mediaconvert#TimedMetadataInsertion", "traits": { @@ -9487,13 +9535,6 @@ "com.amazonaws.mediaconvert#JobTemplate": { "type": "structure", "members": { - "HopDestinations": { - "target": "com.amazonaws.mediaconvert#__listOfHopDestination", - "traits": { - "smithy.api#documentation": "Optional list of hop destinations.", - "smithy.api#jsonName": "hopDestinations" - } - }, "AccelerationSettings": { "target": "com.amazonaws.mediaconvert#AccelerationSettings", "traits": { @@ -9501,26 +9542,18 @@ "smithy.api#jsonName": "accelerationSettings" } }, - "Type": { - "target": "com.amazonaws.mediaconvert#Type", - "traits": { - "smithy.api#documentation": "A job template can be of two types: system or custom. System or built-in job templates can't be modified or deleted by the user.", - "smithy.api#jsonName": "type" - } - }, - "Name": { + "Arn": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "A name you create for each job template. Each name must be unique within your account.", - "smithy.api#jsonName": "name", - "smithy.api#required": {} + "smithy.api#documentation": "An identifier for this resource that is unique within all of AWS.", + "smithy.api#jsonName": "arn" } }, - "Queue": { + "Category": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs will go to the default queue.", - "smithy.api#jsonName": "queue" + "smithy.api#documentation": "An optional category you create to organize your job templates.", + "smithy.api#jsonName": "category" } }, "CreatedAt": { @@ -9537,18 +9570,40 @@ "smithy.api#jsonName": "description" } }, - "Category": { + "HopDestinations": { + "target": "com.amazonaws.mediaconvert#__listOfHopDestination", + "traits": { + "smithy.api#documentation": "Optional list of hop destinations.", + "smithy.api#jsonName": "hopDestinations" + } + }, + "LastUpdated": { + "target": "com.amazonaws.mediaconvert#__timestampUnix", + "traits": { + "smithy.api#documentation": "The timestamp in epoch seconds when the Job template was last updated.", + "smithy.api#jsonName": "lastUpdated" + } + }, + "Name": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "An optional category you create to organize your job templates.", - "smithy.api#jsonName": "category" + "smithy.api#documentation": "A name you create for each job template. Each name must be unique within your account.", + "smithy.api#jsonName": "name", + "smithy.api#required": {} } }, - "Arn": { + "Priority": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", + "traits": { + "smithy.api#documentation": "Relative priority on the job.", + "smithy.api#jsonName": "priority" + } + }, + "Queue": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "An identifier for this resource that is unique within all of AWS.", - "smithy.api#jsonName": "arn" + "smithy.api#documentation": "Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs will go to the default queue.", + "smithy.api#jsonName": "queue" } }, "Settings": { @@ -9566,18 +9621,11 @@ "smithy.api#jsonName": "statusUpdateInterval" } }, - "LastUpdated": { - "target": "com.amazonaws.mediaconvert#__timestampUnix", - "traits": { - "smithy.api#documentation": "The timestamp in epoch seconds when the Job template was last updated.", - "smithy.api#jsonName": "lastUpdated" - } - }, - "Priority": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", + "Type": { + "target": "com.amazonaws.mediaconvert#Type", "traits": { - "smithy.api#documentation": "Relative priority on the job.", - "smithy.api#jsonName": "priority" + "smithy.api#documentation": "A job template can be of two types: system or custom. System or built-in job templates can't be modified or deleted by the user.", + "smithy.api#jsonName": "type" } } }, @@ -9608,39 +9656,39 @@ "com.amazonaws.mediaconvert#JobTemplateSettings": { "type": "structure", "members": { - "Inputs": { - "target": "com.amazonaws.mediaconvert#__listOfInputTemplate", + "AdAvailOffset": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative1000Max1000", "traits": { - "smithy.api#documentation": "Use Inputs (inputs) to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template.", - "smithy.api#jsonName": "inputs" + "smithy.api#documentation": "When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.", + "smithy.api#jsonName": "adAvailOffset" } }, - "MotionImageInserter": { - "target": "com.amazonaws.mediaconvert#MotionImageInserter", + "AvailBlanking": { + "target": "com.amazonaws.mediaconvert#AvailBlanking", "traits": { - "smithy.api#documentation": "Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups.", - "smithy.api#jsonName": "motionImageInserter" + "smithy.api#documentation": "Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails.", + "smithy.api#jsonName": "availBlanking" } }, - "NielsenNonLinearWatermark": { - "target": "com.amazonaws.mediaconvert#NielsenNonLinearWatermarkSettings", + "Esam": { + "target": "com.amazonaws.mediaconvert#EsamSettings", "traits": { - "smithy.api#documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]", - "smithy.api#jsonName": "nielsenNonLinearWatermark" + "smithy.api#documentation": "Settings for Event Signaling And Messaging (ESAM).", + "smithy.api#jsonName": "esam" } }, - "TimecodeConfig": { - "target": "com.amazonaws.mediaconvert#TimecodeConfig", + "Inputs": { + "target": "com.amazonaws.mediaconvert#__listOfInputTemplate", "traits": { - "smithy.api#documentation": "Contains settings used to acquire and adjust timecode information from inputs.", - "smithy.api#jsonName": "timecodeConfig" + "smithy.api#documentation": "Use Inputs (inputs) to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template.", + "smithy.api#jsonName": "inputs" } }, - "OutputGroups": { - "target": "com.amazonaws.mediaconvert#__listOfOutputGroup", + "MotionImageInserter": { + "target": "com.amazonaws.mediaconvert#MotionImageInserter", "traits": { - "smithy.api#documentation": "(OutputGroups) contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in (OutputGroups) is a group of settings that apply to the whole group. This required object depends on the value you set for (Type) under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings", - "smithy.api#jsonName": "outputGroups" + "smithy.api#documentation": "Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups.", + "smithy.api#jsonName": "motionImageInserter" } }, "NielsenConfiguration": { @@ -9650,32 +9698,32 @@ "smithy.api#jsonName": "nielsenConfiguration" } }, - "AvailBlanking": { - "target": "com.amazonaws.mediaconvert#AvailBlanking", + "NielsenNonLinearWatermark": { + "target": "com.amazonaws.mediaconvert#NielsenNonLinearWatermarkSettings", "traits": { - "smithy.api#documentation": "Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails.", - "smithy.api#jsonName": "availBlanking" + "smithy.api#documentation": "Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]", + "smithy.api#jsonName": "nielsenNonLinearWatermark" } }, - "TimedMetadataInsertion": { - "target": "com.amazonaws.mediaconvert#TimedMetadataInsertion", + "OutputGroups": { + "target": "com.amazonaws.mediaconvert#__listOfOutputGroup", "traits": { - "smithy.api#documentation": "Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in any HLS outputs. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects.", - "smithy.api#jsonName": "timedMetadataInsertion" + "smithy.api#documentation": "(OutputGroups) contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in (OutputGroups) is a group of settings that apply to the whole group. This required object depends on the value you set for (Type) under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings", + "smithy.api#jsonName": "outputGroups" } }, - "Esam": { - "target": "com.amazonaws.mediaconvert#EsamSettings", + "TimecodeConfig": { + "target": "com.amazonaws.mediaconvert#TimecodeConfig", "traits": { - "smithy.api#documentation": "Settings for Event Signaling And Messaging (ESAM).", - "smithy.api#jsonName": "esam" + "smithy.api#documentation": "Contains settings used to acquire and adjust timecode information from inputs.", + "smithy.api#jsonName": "timecodeConfig" } }, - "AdAvailOffset": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative1000Max1000", + "TimedMetadataInsertion": { + "target": "com.amazonaws.mediaconvert#TimedMetadataInsertion", "traits": { - "smithy.api#documentation": "When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.", - "smithy.api#jsonName": "adAvailOffset" + "smithy.api#documentation": "Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in any HLS outputs. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects.", + "smithy.api#jsonName": "timedMetadataInsertion" } } }, @@ -10501,6 +10549,13 @@ "com.amazonaws.mediaconvert#ListJobTemplatesRequest": { "type": "structure", "members": { + "Category": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Optionally, specify a job template category to limit responses to only job templates from that category.", + "smithy.api#httpQuery": "category" + } + }, "ListBy": { "target": "com.amazonaws.mediaconvert#JobTemplateListBy", "traits": { @@ -10508,13 +10563,6 @@ "smithy.api#httpQuery": "listBy" } }, - "NextToken": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Use this string, provided with the response to a previous request, to request the next batch of job templates.", - "smithy.api#httpQuery": "nextToken" - } - }, "MaxResults": { "target": "com.amazonaws.mediaconvert#__integerMin1Max20", "traits": { @@ -10522,38 +10570,38 @@ "smithy.api#httpQuery": "maxResults" } }, + "NextToken": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Use this string, provided with the response to a previous request, to request the next batch of job templates.", + "smithy.api#httpQuery": "nextToken" + } + }, "Order": { "target": "com.amazonaws.mediaconvert#Order", "traits": { "smithy.api#documentation": "Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.", "smithy.api#httpQuery": "order" } - }, - "Category": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Optionally, specify a job template category to limit responses to only job templates from that category.", - "smithy.api#httpQuery": "category" - } } } }, "com.amazonaws.mediaconvert#ListJobTemplatesResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Use this string to request the next batch of job templates.", - "smithy.api#jsonName": "nextToken" - } - }, "JobTemplates": { "target": "com.amazonaws.mediaconvert#__listOfJobTemplate", "traits": { "smithy.api#documentation": "List of Job templates.", "smithy.api#jsonName": "jobTemplates" } + }, + "NextToken": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Use this string to request the next batch of job templates.", + "smithy.api#jsonName": "nextToken" + } } } }, @@ -10603,6 +10651,13 @@ "com.amazonaws.mediaconvert#ListJobsRequest": { "type": "structure", "members": { + "MaxResults": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max20", + "traits": { + "smithy.api#documentation": "Optional. Number of jobs, up to twenty, that will be returned at one time.", + "smithy.api#httpQuery": "maxResults" + } + }, "NextToken": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -10610,6 +10665,13 @@ "smithy.api#httpQuery": "nextToken" } }, + "Order": { + "target": "com.amazonaws.mediaconvert#Order", + "traits": { + "smithy.api#documentation": "Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.", + "smithy.api#httpQuery": "order" + } + }, "Queue": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -10623,39 +10685,25 @@ "smithy.api#documentation": "Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.", "smithy.api#httpQuery": "status" } - }, - "MaxResults": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max20", - "traits": { - "smithy.api#documentation": "Optional. Number of jobs, up to twenty, that will be returned at one time.", - "smithy.api#httpQuery": "maxResults" - } - }, - "Order": { - "target": "com.amazonaws.mediaconvert#Order", - "traits": { - "smithy.api#documentation": "Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.", - "smithy.api#httpQuery": "order" - } } } }, "com.amazonaws.mediaconvert#ListJobsResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Use this string to request the next batch of jobs.", - "smithy.api#jsonName": "nextToken" - } - }, "Jobs": { "target": "com.amazonaws.mediaconvert#__listOfJob", "traits": { "smithy.api#documentation": "List of jobs", "smithy.api#jsonName": "jobs" } + }, + "NextToken": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Use this string to request the next batch of jobs.", + "smithy.api#jsonName": "nextToken" + } } } }, @@ -10705,11 +10753,18 @@ "com.amazonaws.mediaconvert#ListPresetsRequest": { "type": "structure", "members": { - "Order": { - "target": "com.amazonaws.mediaconvert#Order", + "Category": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.", - "smithy.api#httpQuery": "order" + "smithy.api#documentation": "Optionally, specify a preset category to limit responses to only presets from that category.", + "smithy.api#httpQuery": "category" + } + }, + "ListBy": { + "target": "com.amazonaws.mediaconvert#PresetListBy", + "traits": { + "smithy.api#documentation": "Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name.", + "smithy.api#httpQuery": "listBy" } }, "MaxResults": { @@ -10719,13 +10774,6 @@ "smithy.api#httpQuery": "maxResults" } }, - "Category": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Optionally, specify a preset category to limit responses to only presets from that category.", - "smithy.api#httpQuery": "category" - } - }, "NextToken": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -10733,11 +10781,11 @@ "smithy.api#httpQuery": "nextToken" } }, - "ListBy": { - "target": "com.amazonaws.mediaconvert#PresetListBy", + "Order": { + "target": "com.amazonaws.mediaconvert#Order", "traits": { - "smithy.api#documentation": "Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name.", - "smithy.api#httpQuery": "listBy" + "smithy.api#documentation": "Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.", + "smithy.api#httpQuery": "order" } } } @@ -10745,19 +10793,19 @@ "com.amazonaws.mediaconvert#ListPresetsResponse": { "type": "structure", "members": { - "Presets": { - "target": "com.amazonaws.mediaconvert#__listOfPreset", - "traits": { - "smithy.api#documentation": "List of presets", - "smithy.api#jsonName": "presets" - } - }, "NextToken": { "target": "com.amazonaws.mediaconvert#__string", "traits": { "smithy.api#documentation": "Use this string to request the next batch of presets.", "smithy.api#jsonName": "nextToken" } + }, + "Presets": { + "target": "com.amazonaws.mediaconvert#__listOfPreset", + "traits": { + "smithy.api#documentation": "List of presets", + "smithy.api#jsonName": "presets" + } } } }, @@ -10807,13 +10855,6 @@ "com.amazonaws.mediaconvert#ListQueuesRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max20", - "traits": { - "smithy.api#documentation": "Optional. Number of queues, up to twenty, that will be returned at one time.", - "smithy.api#httpQuery": "maxResults" - } - }, "ListBy": { "target": "com.amazonaws.mediaconvert#QueueListBy", "traits": { @@ -10821,6 +10862,13 @@ "smithy.api#httpQuery": "listBy" } }, + "MaxResults": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max20", + "traits": { + "smithy.api#documentation": "Optional. Number of queues, up to twenty, that will be returned at one time.", + "smithy.api#httpQuery": "maxResults" + } + }, "NextToken": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -11144,11 +11192,11 @@ "com.amazonaws.mediaconvert#M2tsSettings": { "type": "structure", "members": { - "SegmentationTime": { - "target": "com.amazonaws.mediaconvert#__doubleMin0", + "AudioBufferModel": { + "target": "com.amazonaws.mediaconvert#M2tsAudioBufferModel", "traits": { - "smithy.api#documentation": "Specify the length, in seconds, of each segment. Required unless markers is set to _none_.", - "smithy.api#jsonName": "segmentationTime" + "smithy.api#documentation": "Selects between the DVB and ATSC buffer models for Dolby Digital audio.", + "smithy.api#jsonName": "audioBufferModel" } }, "AudioFramesPerPes": { @@ -11158,60 +11206,18 @@ "smithy.api#jsonName": "audioFramesPerPes" } }, - "PcrPid": { - "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", - "traits": { - "smithy.api#documentation": "Specify the packet identifier (PID) for the program clock reference (PCR) in this output. If you do not specify a value, the service will use the value for Video PID (VideoPid).", - "smithy.api#jsonName": "pcrPid" - } - }, - "PrivateMetadataPid": { - "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", - "traits": { - "smithy.api#documentation": "Specify the packet identifier (PID) of the private metadata stream. Default is 503.", - "smithy.api#jsonName": "privateMetadataPid" - } - }, - "Scte35Pid": { - "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", - "traits": { - "smithy.api#documentation": "Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.", - "smithy.api#jsonName": "scte35Pid" - } - }, - "FragmentTime": { - "target": "com.amazonaws.mediaconvert#__doubleMin0", - "traits": { - "smithy.api#documentation": "The length, in seconds, of each fragment. Only used with EBP markers.", - "smithy.api#jsonName": "fragmentTime" - } - }, - "DvbSdtSettings": { - "target": "com.amazonaws.mediaconvert#DvbSdtSettings", - "traits": { - "smithy.api#documentation": "Inserts DVB Service Description Table (NIT) at the specified table repetition interval.", - "smithy.api#jsonName": "dvbSdtSettings" - } - }, - "MinEbpInterval": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max10000", - "traits": { - "smithy.api#documentation": "When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is \"stretched\" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate.", - "smithy.api#jsonName": "minEbpInterval" - } - }, - "AudioBufferModel": { - "target": "com.amazonaws.mediaconvert#M2tsAudioBufferModel", + "AudioPids": { + "target": "com.amazonaws.mediaconvert#__listOf__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Selects between the DVB and ATSC buffer models for Dolby Digital audio.", - "smithy.api#jsonName": "audioBufferModel" + "smithy.api#documentation": "Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492.", + "smithy.api#jsonName": "audioPids" } }, - "ForceTsVideoEbpOrder": { - "target": "com.amazonaws.mediaconvert#M2tsForceTsVideoEbpOrder", + "Bitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "Keep the default value (DEFAULT) unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force (FORCE).", - "smithy.api#jsonName": "forceTsVideoEbpOrder" + "smithy.api#documentation": "Specify the output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000.", + "smithy.api#jsonName": "bitrate" } }, "BufferModel": { @@ -11221,39 +11227,32 @@ "smithy.api#jsonName": "bufferModel" } }, - "VideoPid": { - "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", - "traits": { - "smithy.api#documentation": "Specify the packet identifier (PID) of the elementary video stream in the transport stream.", - "smithy.api#jsonName": "videoPid" - } - }, - "NielsenId3": { - "target": "com.amazonaws.mediaconvert#M2tsNielsenId3", + "DvbNitSettings": { + "target": "com.amazonaws.mediaconvert#DvbNitSettings", "traits": { - "smithy.api#documentation": "If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.", - "smithy.api#jsonName": "nielsenId3" + "smithy.api#documentation": "Inserts DVB Network Information Table (NIT) at the specified table repetition interval.", + "smithy.api#jsonName": "dvbNitSettings" } }, - "EbpAudioInterval": { - "target": "com.amazonaws.mediaconvert#M2tsEbpAudioInterval", + "DvbSdtSettings": { + "target": "com.amazonaws.mediaconvert#DvbSdtSettings", "traits": { - "smithy.api#documentation": "When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4. The interval between these additional markers will be fixed, and will be slightly shorter than the video EBP marker interval. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).", - "smithy.api#jsonName": "ebpAudioInterval" + "smithy.api#documentation": "Inserts DVB Service Description Table (NIT) at the specified table repetition interval.", + "smithy.api#jsonName": "dvbSdtSettings" } }, - "Bitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "DvbSubPids": { + "target": "com.amazonaws.mediaconvert#__listOf__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Specify the output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000.", - "smithy.api#jsonName": "bitrate" + "smithy.api#documentation": "Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479.", + "smithy.api#jsonName": "dvbSubPids" } }, - "MaxPcrInterval": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max500", + "DvbTdtSettings": { + "target": "com.amazonaws.mediaconvert#DvbTdtSettings", "traits": { - "smithy.api#documentation": "Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.", - "smithy.api#jsonName": "maxPcrInterval" + "smithy.api#documentation": "Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.", + "smithy.api#jsonName": "dvbTdtSettings" } }, "DvbTeletextPid": { @@ -11263,6 +11262,13 @@ "smithy.api#jsonName": "dvbTeletextPid" } }, + "EbpAudioInterval": { + "target": "com.amazonaws.mediaconvert#M2tsEbpAudioInterval", + "traits": { + "smithy.api#documentation": "When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4. The interval between these additional markers will be fixed, and will be slightly shorter than the video EBP marker interval. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).", + "smithy.api#jsonName": "ebpAudioInterval" + } + }, "EbpPlacement": { "target": "com.amazonaws.mediaconvert#M2tsEbpPlacement", "traits": { @@ -11270,32 +11276,46 @@ "smithy.api#jsonName": "ebpPlacement" } }, - "DvbSubPids": { - "target": "com.amazonaws.mediaconvert#__listOf__integerMin32Max8182", + "EsRateInPes": { + "target": "com.amazonaws.mediaconvert#M2tsEsRateInPes", "traits": { - "smithy.api#documentation": "Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479.", - "smithy.api#jsonName": "dvbSubPids" + "smithy.api#documentation": "Controls whether to include the ES Rate field in the PES header.", + "smithy.api#jsonName": "esRateInPes" } }, - "Scte35Esam": { - "target": "com.amazonaws.mediaconvert#M2tsScte35Esam", + "ForceTsVideoEbpOrder": { + "target": "com.amazonaws.mediaconvert#M2tsForceTsVideoEbpOrder", "traits": { - "smithy.api#documentation": "Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).", - "smithy.api#jsonName": "scte35Esam" + "smithy.api#documentation": "Keep the default value (DEFAULT) unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force (FORCE).", + "smithy.api#jsonName": "forceTsVideoEbpOrder" } }, - "TimedMetadataPid": { - "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", + "FragmentTime": { + "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { - "smithy.api#documentation": "Specify the packet identifier (PID) for timed metadata in this output. Default is 502.", - "smithy.api#jsonName": "timedMetadataPid" + "smithy.api#documentation": "The length, in seconds, of each fragment. Only used with EBP markers.", + "smithy.api#jsonName": "fragmentTime" } }, - "PmtInterval": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", + "MaxPcrInterval": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max500", "traits": { - "smithy.api#documentation": "Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.", - "smithy.api#jsonName": "pmtInterval" + "smithy.api#documentation": "Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.", + "smithy.api#jsonName": "maxPcrInterval" + } + }, + "MinEbpInterval": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max10000", + "traits": { + "smithy.api#documentation": "When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is \"stretched\" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate.", + "smithy.api#jsonName": "minEbpInterval" + } + }, + "NielsenId3": { + "target": "com.amazonaws.mediaconvert#M2tsNielsenId3", + "traits": { + "smithy.api#documentation": "If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.", + "smithy.api#jsonName": "nielsenId3" } }, "NullPacketBitrate": { @@ -11305,11 +11325,11 @@ "smithy.api#jsonName": "nullPacketBitrate" } }, - "RateMode": { - "target": "com.amazonaws.mediaconvert#M2tsRateMode", + "PatInterval": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", "traits": { - "smithy.api#documentation": "When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate.", - "smithy.api#jsonName": "rateMode" + "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", + "smithy.api#jsonName": "patInterval" } }, "PcrControl": { @@ -11319,67 +11339,67 @@ "smithy.api#jsonName": "pcrControl" } }, - "DvbTdtSettings": { - "target": "com.amazonaws.mediaconvert#DvbTdtSettings", + "PcrPid": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.", - "smithy.api#jsonName": "dvbTdtSettings" + "smithy.api#documentation": "Specify the packet identifier (PID) for the program clock reference (PCR) in this output. If you do not specify a value, the service will use the value for Video PID (VideoPid).", + "smithy.api#jsonName": "pcrPid" } }, - "ProgramNumber": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", + "PmtInterval": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", "traits": { - "smithy.api#documentation": "Use Program number (programNumber) to specify the program number used in the program map table (PMT) for this output. Default is 1. Program numbers and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.", - "smithy.api#jsonName": "programNumber" + "smithy.api#documentation": "Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.", + "smithy.api#jsonName": "pmtInterval" } }, - "AudioPids": { - "target": "com.amazonaws.mediaconvert#__listOf__integerMin32Max8182", + "PmtPid": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492.", - "smithy.api#jsonName": "audioPids" + "smithy.api#documentation": "Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.", + "smithy.api#jsonName": "pmtPid" } }, - "TransportStreamId": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", + "PrivateMetadataPid": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Specify the ID for the transport stream itself in the program map table for this output. Transport stream IDs and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.", - "smithy.api#jsonName": "transportStreamId" + "smithy.api#documentation": "Specify the packet identifier (PID) of the private metadata stream. Default is 503.", + "smithy.api#jsonName": "privateMetadataPid" } }, - "DvbNitSettings": { - "target": "com.amazonaws.mediaconvert#DvbNitSettings", + "ProgramNumber": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { - "smithy.api#documentation": "Inserts DVB Network Information Table (NIT) at the specified table repetition interval.", - "smithy.api#jsonName": "dvbNitSettings" + "smithy.api#documentation": "Use Program number (programNumber) to specify the program number used in the program map table (PMT) for this output. Default is 1. Program numbers and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.", + "smithy.api#jsonName": "programNumber" } }, - "Scte35Source": { - "target": "com.amazonaws.mediaconvert#M2tsScte35Source", + "RateMode": { + "target": "com.amazonaws.mediaconvert#M2tsRateMode", "traits": { - "smithy.api#documentation": "For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None (NONE). Also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml). Also enable ESAM SCTE-35 (include the property scte35Esam).", - "smithy.api#jsonName": "scte35Source" + "smithy.api#documentation": "When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate.", + "smithy.api#jsonName": "rateMode" } }, - "PmtPid": { - "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", + "Scte35Esam": { + "target": "com.amazonaws.mediaconvert#M2tsScte35Esam", "traits": { - "smithy.api#documentation": "Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.", - "smithy.api#jsonName": "pmtPid" + "smithy.api#documentation": "Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).", + "smithy.api#jsonName": "scte35Esam" } }, - "PatInterval": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", + "Scte35Pid": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { - "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", - "smithy.api#jsonName": "patInterval" + "smithy.api#documentation": "Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.", + "smithy.api#jsonName": "scte35Pid" } }, - "EsRateInPes": { - "target": "com.amazonaws.mediaconvert#M2tsEsRateInPes", + "Scte35Source": { + "target": "com.amazonaws.mediaconvert#M2tsScte35Source", "traits": { - "smithy.api#documentation": "Controls whether to include the ES Rate field in the PES header.", - "smithy.api#jsonName": "esRateInPes" + "smithy.api#documentation": "For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None (NONE). Also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml). Also enable ESAM SCTE-35 (include the property scte35Esam).", + "smithy.api#jsonName": "scte35Source" } }, "SegmentationMarkers": { @@ -11395,6 +11415,34 @@ "smithy.api#documentation": "The segmentation style parameter controls how segmentation markers are inserted into the transport stream. With avails, it is possible that segments may be truncated, which can influence where future segmentation markers are inserted. When a segmentation style of \"reset_cadence\" is selected and a segment is truncated due to an avail, we will reset the segmentation cadence. This means the subsequent segment will have a duration of of $segmentation_time seconds. When a segmentation style of \"maintain_cadence\" is selected and a segment is truncated due to an avail, we will not reset the segmentation cadence. This means the subsequent segment will likely be truncated as well. However, all segments after that will have a duration of $segmentation_time seconds. Note that EBP lookahead is a slight exception to this rule.", "smithy.api#jsonName": "segmentationStyle" } + }, + "SegmentationTime": { + "target": "com.amazonaws.mediaconvert#__doubleMin0", + "traits": { + "smithy.api#documentation": "Specify the length, in seconds, of each segment. Required unless markers is set to _none_.", + "smithy.api#jsonName": "segmentationTime" + } + }, + "TimedMetadataPid": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", + "traits": { + "smithy.api#documentation": "Specify the packet identifier (PID) for timed metadata in this output. Default is 502.", + "smithy.api#jsonName": "timedMetadataPid" + } + }, + "TransportStreamId": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", + "traits": { + "smithy.api#documentation": "Specify the ID for the transport stream itself in the program map table for this output. Transport stream IDs and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.", + "smithy.api#jsonName": "transportStreamId" + } + }, + "VideoPid": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", + "traits": { + "smithy.api#documentation": "Specify the packet identifier (PID) of the elementary video stream in the transport stream.", + "smithy.api#jsonName": "videoPid" + } } }, "traits": { @@ -11452,13 +11500,6 @@ "com.amazonaws.mediaconvert#M3u8Settings": { "type": "structure", "members": { - "PmtInterval": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", - "traits": { - "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", - "smithy.api#jsonName": "pmtInterval" - } - }, "AudioFramesPerPes": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { @@ -11466,18 +11507,18 @@ "smithy.api#jsonName": "audioFramesPerPes" } }, - "TimedMetadataPid": { - "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", + "AudioPids": { + "target": "com.amazonaws.mediaconvert#__listOf__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Packet Identifier (PID) of the timed metadata stream in the transport stream.", - "smithy.api#jsonName": "timedMetadataPid" + "smithy.api#documentation": "Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.", + "smithy.api#jsonName": "audioPids" } }, - "PcrControl": { - "target": "com.amazonaws.mediaconvert#M3u8PcrControl", + "NielsenId3": { + "target": "com.amazonaws.mediaconvert#M3u8NielsenId3", "traits": { - "smithy.api#documentation": "When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.", - "smithy.api#jsonName": "pcrControl" + "smithy.api#documentation": "If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.", + "smithy.api#jsonName": "nielsenId3" } }, "PatInterval": { @@ -11487,6 +11528,13 @@ "smithy.api#jsonName": "patInterval" } }, + "PcrControl": { + "target": "com.amazonaws.mediaconvert#M3u8PcrControl", + "traits": { + "smithy.api#documentation": "When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.", + "smithy.api#jsonName": "pcrControl" + } + }, "PcrPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { @@ -11494,32 +11542,25 @@ "smithy.api#jsonName": "pcrPid" } }, - "Scte35Source": { - "target": "com.amazonaws.mediaconvert#M3u8Scte35Source", - "traits": { - "smithy.api#documentation": "For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None (NONE) if you don't want manifest conditioning. Choose Passthrough (PASSTHROUGH) and choose Ad markers (adMarkers) if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml).", - "smithy.api#jsonName": "scte35Source" - } - }, - "TransportStreamId": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", + "PmtInterval": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", "traits": { - "smithy.api#documentation": "The value of the transport stream ID field in the Program Map Table.", - "smithy.api#jsonName": "transportStreamId" + "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", + "smithy.api#jsonName": "pmtInterval" } }, - "VideoPid": { + "PmtPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Packet Identifier (PID) of the elementary video stream in the transport stream.", - "smithy.api#jsonName": "videoPid" + "smithy.api#documentation": "Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.", + "smithy.api#jsonName": "pmtPid" } }, - "TimedMetadata": { - "target": "com.amazonaws.mediaconvert#TimedMetadata", + "PrivateMetadataPid": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Applies only to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output.", - "smithy.api#jsonName": "timedMetadata" + "smithy.api#documentation": "Packet Identifier (PID) of the private metadata stream in the transport stream.", + "smithy.api#jsonName": "privateMetadataPid" } }, "ProgramNumber": { @@ -11536,32 +11577,39 @@ "smithy.api#jsonName": "scte35Pid" } }, - "PmtPid": { - "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", + "Scte35Source": { + "target": "com.amazonaws.mediaconvert#M3u8Scte35Source", "traits": { - "smithy.api#documentation": "Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.", - "smithy.api#jsonName": "pmtPid" + "smithy.api#documentation": "For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None (NONE) if you don't want manifest conditioning. Choose Passthrough (PASSTHROUGH) and choose Ad markers (adMarkers) if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml).", + "smithy.api#jsonName": "scte35Source" + } + }, + "TimedMetadata": { + "target": "com.amazonaws.mediaconvert#TimedMetadata", + "traits": { + "smithy.api#documentation": "Applies only to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output.", + "smithy.api#jsonName": "timedMetadata" } }, - "PrivateMetadataPid": { + "TimedMetadataPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Packet Identifier (PID) of the private metadata stream in the transport stream.", - "smithy.api#jsonName": "privateMetadataPid" + "smithy.api#documentation": "Packet Identifier (PID) of the timed metadata stream in the transport stream.", + "smithy.api#jsonName": "timedMetadataPid" } }, - "AudioPids": { - "target": "com.amazonaws.mediaconvert#__listOf__integerMin32Max8182", + "TransportStreamId": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { - "smithy.api#documentation": "Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.", - "smithy.api#jsonName": "audioPids" + "smithy.api#documentation": "The value of the transport stream ID field in the Program Map Table.", + "smithy.api#jsonName": "transportStreamId" } }, - "NielsenId3": { - "target": "com.amazonaws.mediaconvert#M3u8NielsenId3", + "VideoPid": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { - "smithy.api#documentation": "If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.", - "smithy.api#jsonName": "nielsenId3" + "smithy.api#documentation": "Packet Identifier (PID) of the elementary video stream in the transport stream.", + "smithy.api#jsonName": "videoPid" } } }, @@ -11667,6 +11715,13 @@ "com.amazonaws.mediaconvert#MotionImageInserter": { "type": "structure", "members": { + "Framerate": { + "target": "com.amazonaws.mediaconvert#MotionImageInsertionFramerate", + "traits": { + "smithy.api#documentation": "If your motion graphic asset is a .mov file, keep this setting unspecified. If your motion graphic asset is a series of .png files, specify the frame rate of the overlay in frames per second, as a fraction. For example, specify 24 fps as 24/1. Make sure that the number of images in your series matches the frame rate and your intended overlay duration. For example, if you want a 30-second overlay at 30 fps, you should have 900 .png images. This overlay frame rate doesn't need to match the frame rate of the underlying video.", + "smithy.api#jsonName": "framerate" + } + }, "Input": { "target": "com.amazonaws.mediaconvert#__stringMin14Max1285PatternS3Mov09PngHttpsMov09Png", "traits": { @@ -11674,13 +11729,6 @@ "smithy.api#jsonName": "input" } }, - "Offset": { - "target": "com.amazonaws.mediaconvert#MotionImageInsertionOffset", - "traits": { - "smithy.api#documentation": "Use Offset to specify the placement of your motion graphic overlay on the video frame. Specify in pixels, from the upper-left corner of the frame. If you don't specify an offset, the service scales your overlay to the full size of the frame. Otherwise, the service inserts the overlay at its native resolution and scales the size up or down with any video scaling.", - "smithy.api#jsonName": "offset" - } - }, "InsertionMode": { "target": "com.amazonaws.mediaconvert#MotionImageInsertionMode", "traits": { @@ -11688,18 +11736,11 @@ "smithy.api#jsonName": "insertionMode" } }, - "Framerate": { - "target": "com.amazonaws.mediaconvert#MotionImageInsertionFramerate", - "traits": { - "smithy.api#documentation": "If your motion graphic asset is a .mov file, keep this setting unspecified. If your motion graphic asset is a series of .png files, specify the frame rate of the overlay in frames per second, as a fraction. For example, specify 24 fps as 24/1. Make sure that the number of images in your series matches the frame rate and your intended overlay duration. For example, if you want a 30-second overlay at 30 fps, you should have 900 .png images. This overlay frame rate doesn't need to match the frame rate of the underlying video.", - "smithy.api#jsonName": "framerate" - } - }, - "StartTime": { - "target": "com.amazonaws.mediaconvert#__stringMin11Max11Pattern01D20305D205D", + "Offset": { + "target": "com.amazonaws.mediaconvert#MotionImageInsertionOffset", "traits": { - "smithy.api#documentation": "Specify when the motion overlay begins. Use timecode format (HH:MM:SS:FF or HH:MM:SS;FF). Make sure that the timecode you provide here takes into account how you have set up your timecode configuration under both job settings and input settings. The simplest way to do that is to set both to start at 0. If you need to set up your job to follow timecodes embedded in your source that don't start at zero, make sure that you specify a start time that is after the first embedded timecode. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/setting-up-timecode.html Find job-wide and input timecode configuration settings in your JSON job settings specification at settings>timecodeConfig>source and settings>inputs>timecodeSource.", - "smithy.api#jsonName": "startTime" + "smithy.api#documentation": "Use Offset to specify the placement of your motion graphic overlay on the video frame. Specify in pixels, from the upper-left corner of the frame. If you don't specify an offset, the service scales your overlay to the full size of the frame. Otherwise, the service inserts the overlay at its native resolution and scales the size up or down with any video scaling.", + "smithy.api#jsonName": "offset" } }, "Playback": { @@ -11708,6 +11749,13 @@ "smithy.api#documentation": "Specify whether your motion graphic overlay repeats on a loop or plays only once.", "smithy.api#jsonName": "playback" } + }, + "StartTime": { + "target": "com.amazonaws.mediaconvert#__stringMin11Max11Pattern01D20305D205D", + "traits": { + "smithy.api#documentation": "Specify when the motion overlay begins. Use timecode format (HH:MM:SS:FF or HH:MM:SS;FF). Make sure that the timecode you provide here takes into account how you have set up your timecode configuration under both job settings and input settings. The simplest way to do that is to set both to start at 0. If you need to set up your job to follow timecodes embedded in your source that don't start at zero, make sure that you specify a start time that is after the first embedded timecode. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/setting-up-timecode.html Find job-wide and input timecode configuration settings in your JSON job settings specification at settings>timecodeConfig>source and settings>inputs>timecodeSource.", + "smithy.api#jsonName": "startTime" + } } }, "traits": { @@ -11880,18 +11928,11 @@ "smithy.api#jsonName": "clapAtom" } }, - "Reference": { - "target": "com.amazonaws.mediaconvert#MovReference", - "traits": { - "smithy.api#documentation": "Always keep the default value (SELF_CONTAINED) for this setting.", - "smithy.api#jsonName": "reference" - } - }, - "PaddingControl": { - "target": "com.amazonaws.mediaconvert#MovPaddingControl", + "CslgAtom": { + "target": "com.amazonaws.mediaconvert#MovCslgAtom", "traits": { - "smithy.api#documentation": "To make this output compatible with Omenon, keep the default value, OMNEON. Unless you need Omneon compatibility, set this value to NONE. When you keep the default value, OMNEON, MediaConvert increases the length of the edit list atom. This might cause file rejections when a recipient of the output file doesn't expct this extra padding.", - "smithy.api#jsonName": "paddingControl" + "smithy.api#documentation": "When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools.", + "smithy.api#jsonName": "cslgAtom" } }, "Mpeg2FourCCControl": { @@ -11901,11 +11942,18 @@ "smithy.api#jsonName": "mpeg2FourCCControl" } }, - "CslgAtom": { - "target": "com.amazonaws.mediaconvert#MovCslgAtom", + "PaddingControl": { + "target": "com.amazonaws.mediaconvert#MovPaddingControl", "traits": { - "smithy.api#documentation": "When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools.", - "smithy.api#jsonName": "cslgAtom" + "smithy.api#documentation": "To make this output compatible with Omenon, keep the default value, OMNEON. Unless you need Omneon compatibility, set this value to NONE. When you keep the default value, OMNEON, MediaConvert increases the length of the edit list atom. This might cause file rejections when a recipient of the output file doesn't expct this extra padding.", + "smithy.api#jsonName": "paddingControl" + } + }, + "Reference": { + "target": "com.amazonaws.mediaconvert#MovReference", + "traits": { + "smithy.api#documentation": "Always keep the default value (SELF_CONTAINED) for this setting.", + "smithy.api#jsonName": "reference" } } }, @@ -11961,6 +12009,13 @@ "com.amazonaws.mediaconvert#Mp3Settings": { "type": "structure", "members": { + "Bitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin16000Max320000", + "traits": { + "smithy.api#documentation": "Specify the average bitrate in bits per second.", + "smithy.api#jsonName": "bitrate" + } + }, "Channels": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2", "traits": { @@ -11988,13 +12043,6 @@ "smithy.api#documentation": "Required when you set Bitrate control mode (rateControlMode) to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).", "smithy.api#jsonName": "vbrQuality" } - }, - "Bitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin16000Max320000", - "traits": { - "smithy.api#documentation": "Specify the average bitrate in bits per second.", - "smithy.api#jsonName": "bitrate" - } } }, "traits": { @@ -12052,6 +12100,13 @@ "com.amazonaws.mediaconvert#Mp4Settings": { "type": "structure", "members": { + "CslgAtom": { + "target": "com.amazonaws.mediaconvert#Mp4CslgAtom", + "traits": { + "smithy.api#documentation": "When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools.", + "smithy.api#jsonName": "cslgAtom" + } + }, "CttsVersion": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1", "traits": { @@ -12066,13 +12121,6 @@ "smithy.api#jsonName": "freeSpaceBox" } }, - "Mp4MajorBrand": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Overrides the \"Major Brand\" field in the output file. Usually not necessary to specify.", - "smithy.api#jsonName": "mp4MajorBrand" - } - }, "MoovPlacement": { "target": "com.amazonaws.mediaconvert#Mp4MoovPlacement", "traits": { @@ -12080,11 +12128,11 @@ "smithy.api#jsonName": "moovPlacement" } }, - "CslgAtom": { - "target": "com.amazonaws.mediaconvert#Mp4CslgAtom", + "Mp4MajorBrand": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools.", - "smithy.api#jsonName": "cslgAtom" + "smithy.api#documentation": "Overrides the \"Major Brand\" field in the output file. Usually not necessary to specify.", + "smithy.api#jsonName": "mp4MajorBrand" } } }, @@ -12428,53 +12476,60 @@ "com.amazonaws.mediaconvert#Mpeg2Settings": { "type": "structure", "members": { - "NumberBFramesBetweenReferenceFrames": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max7", + "AdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#Mpeg2AdaptiveQuantization", "traits": { - "smithy.api#documentation": "Number of B-frames between reference frames.", - "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" + "smithy.api#documentation": "Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization).", + "smithy.api#jsonName": "adaptiveQuantization" } }, - "SpatialAdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#Mpeg2SpatialAdaptiveQuantization", + "Bitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin1000Max288000000", "traits": { - "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher.", - "smithy.api#jsonName": "spatialAdaptiveQuantization" + "smithy.api#documentation": "Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.", + "smithy.api#jsonName": "bitrate" } }, - "GopClosedCadence": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "CodecLevel": { + "target": "com.amazonaws.mediaconvert#Mpeg2CodecLevel", "traits": { - "smithy.api#documentation": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", - "smithy.api#jsonName": "gopClosedCadence" + "smithy.api#documentation": "Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.", + "smithy.api#jsonName": "codecLevel" } }, - "FramerateDenominator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max1001", + "CodecProfile": { + "target": "com.amazonaws.mediaconvert#Mpeg2CodecProfile", "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateDenominator" + "smithy.api#documentation": "Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.", + "smithy.api#jsonName": "codecProfile" } }, - "AdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#Mpeg2AdaptiveQuantization", + "DynamicSubGop": { + "target": "com.amazonaws.mediaconvert#Mpeg2DynamicSubGop", "traits": { - "smithy.api#documentation": "Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization).", - "smithy.api#jsonName": "adaptiveQuantization" + "smithy.api#documentation": "Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).", + "smithy.api#jsonName": "dynamicSubGop" } }, - "Syntax": { - "target": "com.amazonaws.mediaconvert#Mpeg2Syntax", + "FramerateControl": { + "target": "com.amazonaws.mediaconvert#Mpeg2FramerateControl", "traits": { - "smithy.api#documentation": "Specify whether this output's video uses the D10 syntax. Keep the default value to not use the syntax. Related settings: When you choose D10 (D_10) for your MXF profile (profile), you must also set this value to to D10 (D_10).", - "smithy.api#jsonName": "syntax" + "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", + "smithy.api#jsonName": "framerateControl" } }, - "ParControl": { - "target": "com.amazonaws.mediaconvert#Mpeg2ParControl", + "FramerateConversionAlgorithm": { + "target": "com.amazonaws.mediaconvert#Mpeg2FramerateConversionAlgorithm", "traits": { - "smithy.api#documentation": "Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings.", - "smithy.api#jsonName": "parControl" + "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", + "smithy.api#jsonName": "framerateConversionAlgorithm" + } + }, + "FramerateDenominator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max1001", + "traits": { + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateDenominator" } }, "FramerateNumerator": { @@ -12484,74 +12539,81 @@ "smithy.api#jsonName": "framerateNumerator" } }, - "RateControlMode": { - "target": "com.amazonaws.mediaconvert#Mpeg2RateControlMode", + "GopClosedCadence": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr).", - "smithy.api#jsonName": "rateControlMode" + "smithy.api#documentation": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", + "smithy.api#jsonName": "gopClosedCadence" } }, - "DynamicSubGop": { - "target": "com.amazonaws.mediaconvert#Mpeg2DynamicSubGop", + "GopSize": { + "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { - "smithy.api#documentation": "Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).", - "smithy.api#jsonName": "dynamicSubGop" + "smithy.api#documentation": "GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.", + "smithy.api#jsonName": "gopSize" } }, - "SceneChangeDetect": { - "target": "com.amazonaws.mediaconvert#Mpeg2SceneChangeDetect", + "GopSizeUnits": { + "target": "com.amazonaws.mediaconvert#Mpeg2GopSizeUnits", "traits": { - "smithy.api#documentation": "Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default.", - "smithy.api#jsonName": "sceneChangeDetect" + "smithy.api#documentation": "Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.", + "smithy.api#jsonName": "gopSizeUnits" } }, - "QualityTuningLevel": { - "target": "com.amazonaws.mediaconvert#Mpeg2QualityTuningLevel", + "HrdBufferInitialFillPercentage": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { - "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding.", - "smithy.api#jsonName": "qualityTuningLevel" + "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", + "smithy.api#jsonName": "hrdBufferInitialFillPercentage" } }, - "FramerateControl": { - "target": "com.amazonaws.mediaconvert#Mpeg2FramerateControl", + "HrdBufferSize": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max47185920", "traits": { - "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", - "smithy.api#jsonName": "framerateControl" + "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", + "smithy.api#jsonName": "hrdBufferSize" } }, - "TemporalAdaptiveQuantization": { - "target": "com.amazonaws.mediaconvert#Mpeg2TemporalAdaptiveQuantization", + "InterlaceMode": { + "target": "com.amazonaws.mediaconvert#Mpeg2InterlaceMode", "traits": { - "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization).", - "smithy.api#jsonName": "temporalAdaptiveQuantization" + "smithy.api#documentation": "Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose.", + "smithy.api#jsonName": "interlaceMode" } }, - "MinIInterval": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max30", + "IntraDcPrecision": { + "target": "com.amazonaws.mediaconvert#Mpeg2IntraDcPrecision", "traits": { - "smithy.api#documentation": "Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", - "smithy.api#jsonName": "minIInterval" + "smithy.api#documentation": "Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients. If you choose the value auto, the service will automatically select the precision based on the per-frame compression ratio.", + "smithy.api#jsonName": "intraDcPrecision" } }, - "GopSize": { - "target": "com.amazonaws.mediaconvert#__doubleMin0", + "MaxBitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin1000Max300000000", + "traits": { + "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000.", + "smithy.api#jsonName": "maxBitrate" + } + }, + "MinIInterval": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max30", "traits": { - "smithy.api#documentation": "GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.", - "smithy.api#jsonName": "gopSize" + "smithy.api#documentation": "Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", + "smithy.api#jsonName": "minIInterval" } }, - "Softness": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max128", + "NumberBFramesBetweenReferenceFrames": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max7", "traits": { - "smithy.api#documentation": "Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, to use the AWS Elemental default matrices. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.", - "smithy.api#jsonName": "softness" + "smithy.api#documentation": "Number of B-frames between reference frames.", + "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" } }, - "CodecLevel": { - "target": "com.amazonaws.mediaconvert#Mpeg2CodecLevel", + "ParControl": { + "target": "com.amazonaws.mediaconvert#Mpeg2ParControl", "traits": { - "smithy.api#documentation": "Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.", - "smithy.api#jsonName": "codecLevel" + "smithy.api#documentation": "Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings.", + "smithy.api#jsonName": "parControl" } }, "ParDenominator": { @@ -12561,32 +12623,32 @@ "smithy.api#jsonName": "parDenominator" } }, - "CodecProfile": { - "target": "com.amazonaws.mediaconvert#Mpeg2CodecProfile", + "ParNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.", - "smithy.api#jsonName": "codecProfile" + "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", + "smithy.api#jsonName": "parNumerator" } }, - "Telecine": { - "target": "com.amazonaws.mediaconvert#Mpeg2Telecine", + "QualityTuningLevel": { + "target": "com.amazonaws.mediaconvert#Mpeg2QualityTuningLevel", "traits": { - "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output that signals to the video player device to do the conversion during play back. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", - "smithy.api#jsonName": "telecine" + "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding.", + "smithy.api#jsonName": "qualityTuningLevel" } }, - "Bitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin1000Max288000000", + "RateControlMode": { + "target": "com.amazonaws.mediaconvert#Mpeg2RateControlMode", "traits": { - "smithy.api#documentation": "Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.", - "smithy.api#jsonName": "bitrate" + "smithy.api#documentation": "Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr).", + "smithy.api#jsonName": "rateControlMode" } }, - "GopSizeUnits": { - "target": "com.amazonaws.mediaconvert#Mpeg2GopSizeUnits", + "SceneChangeDetect": { + "target": "com.amazonaws.mediaconvert#Mpeg2SceneChangeDetect", "traits": { - "smithy.api#documentation": "Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.", - "smithy.api#jsonName": "gopSizeUnits" + "smithy.api#documentation": "Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default.", + "smithy.api#jsonName": "sceneChangeDetect" } }, "SlowPal": { @@ -12596,53 +12658,39 @@ "smithy.api#jsonName": "slowPal" } }, - "HrdBufferInitialFillPercentage": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max100", - "traits": { - "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", - "smithy.api#jsonName": "hrdBufferInitialFillPercentage" - } - }, - "ParNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", - "smithy.api#jsonName": "parNumerator" - } - }, - "HrdBufferSize": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max47185920", + "Softness": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max128", "traits": { - "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", - "smithy.api#jsonName": "hrdBufferSize" + "smithy.api#documentation": "Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, to use the AWS Elemental default matrices. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.", + "smithy.api#jsonName": "softness" } }, - "MaxBitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin1000Max300000000", + "SpatialAdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#Mpeg2SpatialAdaptiveQuantization", "traits": { - "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000.", - "smithy.api#jsonName": "maxBitrate" + "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher.", + "smithy.api#jsonName": "spatialAdaptiveQuantization" } }, - "FramerateConversionAlgorithm": { - "target": "com.amazonaws.mediaconvert#Mpeg2FramerateConversionAlgorithm", + "Syntax": { + "target": "com.amazonaws.mediaconvert#Mpeg2Syntax", "traits": { - "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", - "smithy.api#jsonName": "framerateConversionAlgorithm" + "smithy.api#documentation": "Specify whether this output's video uses the D10 syntax. Keep the default value to not use the syntax. Related settings: When you choose D10 (D_10) for your MXF profile (profile), you must also set this value to to D10 (D_10).", + "smithy.api#jsonName": "syntax" } }, - "IntraDcPrecision": { - "target": "com.amazonaws.mediaconvert#Mpeg2IntraDcPrecision", + "Telecine": { + "target": "com.amazonaws.mediaconvert#Mpeg2Telecine", "traits": { - "smithy.api#documentation": "Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients. If you choose the value auto, the service will automatically select the precision based on the per-frame compression ratio.", - "smithy.api#jsonName": "intraDcPrecision" + "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output that signals to the video player device to do the conversion during play back. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", + "smithy.api#jsonName": "telecine" } }, - "InterlaceMode": { - "target": "com.amazonaws.mediaconvert#Mpeg2InterlaceMode", + "TemporalAdaptiveQuantization": { + "target": "com.amazonaws.mediaconvert#Mpeg2TemporalAdaptiveQuantization", "traits": { - "smithy.api#documentation": "Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose.", - "smithy.api#jsonName": "interlaceMode" + "smithy.api#documentation": "Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization).", + "smithy.api#jsonName": "temporalAdaptiveQuantization" } } }, @@ -12737,19 +12785,19 @@ "com.amazonaws.mediaconvert#MsSmoothAdditionalManifest": { "type": "structure", "members": { - "SelectedOutputs": { - "target": "com.amazonaws.mediaconvert#__listOf__stringMin1", - "traits": { - "smithy.api#documentation": "Specify the outputs that you want this additional top-level manifest to reference.", - "smithy.api#jsonName": "selectedOutputs" - } - }, "ManifestNameModifier": { "target": "com.amazonaws.mediaconvert#__stringMin1", "traits": { "smithy.api#documentation": "Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your Microsoft Smooth group is film-name.ismv. If you enter \"-no-premium\" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.ismv.", "smithy.api#jsonName": "manifestNameModifier" } + }, + "SelectedOutputs": { + "target": "com.amazonaws.mediaconvert#__listOf__stringMin1", + "traits": { + "smithy.api#documentation": "Specify the outputs that you want this additional top-level manifest to reference.", + "smithy.api#jsonName": "selectedOutputs" + } } }, "traits": { @@ -12790,20 +12838,6 @@ "com.amazonaws.mediaconvert#MsSmoothGroupSettings": { "type": "structure", "members": { - "DestinationSettings": { - "target": "com.amazonaws.mediaconvert#DestinationSettings", - "traits": { - "smithy.api#documentation": "Settings associated with the destination. Will vary based on the type of destination", - "smithy.api#jsonName": "destinationSettings" - } - }, - "FragmentLength": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "Use Fragment length (FragmentLength) to specify the mp4 fragment sizes in seconds. Fragment length must be compatible with GOP size and frame rate.", - "smithy.api#jsonName": "fragmentLength" - } - }, "AdditionalManifests": { "target": "com.amazonaws.mediaconvert#__listOfMsSmoothAdditionalManifest", "traits": { @@ -12811,13 +12845,6 @@ "smithy.api#jsonName": "additionalManifests" } }, - "Destination": { - "target": "com.amazonaws.mediaconvert#__stringPatternS3", - "traits": { - "smithy.api#documentation": "Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.", - "smithy.api#jsonName": "destination" - } - }, "AudioDeduplication": { "target": "com.amazonaws.mediaconvert#MsSmoothAudioDeduplication", "traits": { @@ -12825,11 +12852,18 @@ "smithy.api#jsonName": "audioDeduplication" } }, - "ManifestEncoding": { - "target": "com.amazonaws.mediaconvert#MsSmoothManifestEncoding", + "Destination": { + "target": "com.amazonaws.mediaconvert#__stringPatternS3", "traits": { - "smithy.api#documentation": "Use Manifest encoding (MsSmoothManifestEncoding) to specify the encoding format for the server and client manifest. Valid options are utf8 and utf16.", - "smithy.api#jsonName": "manifestEncoding" + "smithy.api#documentation": "Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.", + "smithy.api#jsonName": "destination" + } + }, + "DestinationSettings": { + "target": "com.amazonaws.mediaconvert#DestinationSettings", + "traits": { + "smithy.api#documentation": "Settings associated with the destination. Will vary based on the type of destination", + "smithy.api#jsonName": "destinationSettings" } }, "Encryption": { @@ -12838,6 +12872,20 @@ "smithy.api#documentation": "If you are using DRM, set DRM System (MsSmoothEncryptionSettings) to specify the value SpekeKeyProvider.", "smithy.api#jsonName": "encryption" } + }, + "FragmentLength": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "Use Fragment length (FragmentLength) to specify the mp4 fragment sizes in seconds. Fragment length must be compatible with GOP size and frame rate.", + "smithy.api#jsonName": "fragmentLength" + } + }, + "ManifestEncoding": { + "target": "com.amazonaws.mediaconvert#MsSmoothManifestEncoding", + "traits": { + "smithy.api#documentation": "Use Manifest encoding (MsSmoothManifestEncoding) to specify the encoding format for the server and client manifest. Valid options are utf8 and utf16.", + "smithy.api#jsonName": "manifestEncoding" + } } }, "traits": { @@ -12921,13 +12969,6 @@ "com.amazonaws.mediaconvert#NexGuardFileMarkerSettings": { "type": "structure", "members": { - "Preset": { - "target": "com.amazonaws.mediaconvert#__stringMin1Max256", - "traits": { - "smithy.api#documentation": "Enter one of the watermarking preset strings that Nagra provides you. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job.", - "smithy.api#jsonName": "preset" - } - }, "License": { "target": "com.amazonaws.mediaconvert#__stringMin1Max100000", "traits": { @@ -12935,19 +12976,26 @@ "smithy.api#jsonName": "license" } }, - "Strength": { - "target": "com.amazonaws.mediaconvert#WatermarkingStrength", - "traits": { - "smithy.api#documentation": "Optional. Ignore this setting unless Nagra support directs you to specify a value. When you don't specify a value here, the Nagra NexGuard library uses its default value.", - "smithy.api#jsonName": "strength" - } - }, "Payload": { "target": "com.amazonaws.mediaconvert#__integerMin0Max4194303", "traits": { "smithy.api#documentation": "Specify the payload ID that you want associated with this output. Valid values vary depending on your Nagra NexGuard forensic watermarking workflow. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job. For PreRelease Content (NGPR/G2), specify an integer from 1 through 4,194,303. You must generate a unique ID for each asset you watermark, and keep a record of which ID you have assigned to each asset. Neither Nagra nor MediaConvert keep track of the relationship between output files and your IDs. For OTT Streaming, create two adaptive bitrate (ABR) stacks for each asset. Do this by setting up two output groups. For one output group, set the value of Payload ID (payload) to 0 in every output. For the other output group, set Payload ID (payload) to 1 in every output.", "smithy.api#jsonName": "payload" } + }, + "Preset": { + "target": "com.amazonaws.mediaconvert#__stringMin1Max256", + "traits": { + "smithy.api#documentation": "Enter one of the watermarking preset strings that Nagra provides you. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job.", + "smithy.api#jsonName": "preset" + } + }, + "Strength": { + "target": "com.amazonaws.mediaconvert#WatermarkingStrength", + "traits": { + "smithy.api#documentation": "Optional. Ignore this setting unless Nagra support directs you to specify a value. When you don't specify a value here, the Nagra NexGuard library uses its default value.", + "smithy.api#jsonName": "strength" + } } }, "traits": { @@ -12977,19 +13025,19 @@ "com.amazonaws.mediaconvert#NielsenConfiguration": { "type": "structure", "members": { - "DistributorId": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Use Distributor ID (DistributorID) to specify the distributor ID that is assigned to your organization by Neilsen.", - "smithy.api#jsonName": "distributorId" - } - }, "BreakoutCode": { "target": "com.amazonaws.mediaconvert#__integerMin0Max0", "traits": { "smithy.api#documentation": "Nielsen has discontinued the use of breakout code functionality. If you must include this property, set the value to zero.", "smithy.api#jsonName": "breakoutCode" } + }, + "DistributorId": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Use Distributor ID (DistributorID) to specify the distributor ID that is assigned to your organization by Neilsen.", + "smithy.api#jsonName": "distributorId" + } } }, "traits": { @@ -12999,25 +13047,32 @@ "com.amazonaws.mediaconvert#NielsenNonLinearWatermarkSettings": { "type": "structure", "members": { - "TicServerUrl": { - "target": "com.amazonaws.mediaconvert#__stringPatternHttps", + "ActiveWatermarkProcess": { + "target": "com.amazonaws.mediaconvert#NielsenActiveWatermarkProcessType", "traits": { - "smithy.api#documentation": "Specify the endpoint for the TIC server that you have deployed and configured in the AWS Cloud. Required for all Nielsen non-linear watermarking. MediaConvert can't connect directly to a TIC server. Instead, you must use API Gateway to provide a RESTful interface between MediaConvert and a TIC server that you deploy in your AWS account. For more information on deploying a TIC server in your AWS account and the required API Gateway, contact Nielsen support.", - "smithy.api#jsonName": "ticServerUrl" + "smithy.api#documentation": "Choose the type of Nielsen watermarks that you want in your outputs. When you choose NAES 2 and NW (NAES2_AND_NW), you must provide a value for the setting SID (sourceId). When you choose CBET (CBET), you must provide a value for the setting CSID (cbetSourceId). When you choose NAES 2, NW, and CBET (NAES2_AND_NW_AND_CBET), you must provide values for both of these settings.", + "smithy.api#jsonName": "activeWatermarkProcess" } }, - "SourceId": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max65534", + "AdiFilename": { + "target": "com.amazonaws.mediaconvert#__stringPatternS3", "traits": { - "smithy.api#documentation": "Use the SID that Nielsen provides to you. This source ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking. This ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking.", - "smithy.api#jsonName": "sourceId" + "smithy.api#documentation": "Optional. Use this setting when you want the service to include an ADI file in the Nielsen metadata .zip file. To provide an ADI file, store it in Amazon S3 and provide a URL to it here. The URL should be in the following format: S3://bucket/path/ADI-file. For more information about the metadata .zip file, see the setting Metadata destination (metadataDestination).", + "smithy.api#jsonName": "adiFilename" } }, - "UniqueTicPerAudioTrack": { - "target": "com.amazonaws.mediaconvert#NielsenUniqueTicPerAudioTrackType", + "AssetId": { + "target": "com.amazonaws.mediaconvert#__stringMin1Max20", "traits": { - "smithy.api#documentation": "To create assets that have the same TIC values in each audio track, keep the default value Share TICs (SAME_TICS_PER_TRACK). To create assets that have unique TIC values for each audio track, choose Use unique TICs (RESERVE_UNIQUE_TICS_PER_TRACK).", - "smithy.api#jsonName": "uniqueTicPerAudioTrack" + "smithy.api#documentation": "Use the asset ID that you provide to Nielsen to uniquely identify this asset. Required for all Nielsen non-linear watermarking.", + "smithy.api#jsonName": "assetId" + } + }, + "AssetName": { + "target": "com.amazonaws.mediaconvert#__stringMin1Max50", + "traits": { + "smithy.api#documentation": "Use the asset name that you provide to Nielsen for this asset. Required for all Nielsen non-linear watermarking.", + "smithy.api#jsonName": "assetName" } }, "CbetSourceId": { @@ -13034,18 +13089,18 @@ "smithy.api#jsonName": "episodeId" } }, - "ActiveWatermarkProcess": { - "target": "com.amazonaws.mediaconvert#NielsenActiveWatermarkProcessType", + "MetadataDestination": { + "target": "com.amazonaws.mediaconvert#__stringPatternS3", "traits": { - "smithy.api#documentation": "Choose the type of Nielsen watermarks that you want in your outputs. When you choose NAES 2 and NW (NAES2_AND_NW), you must provide a value for the setting SID (sourceId). When you choose CBET (CBET), you must provide a value for the setting CSID (cbetSourceId). When you choose NAES 2, NW, and CBET (NAES2_AND_NW_AND_CBET), you must provide values for both of these settings.", - "smithy.api#jsonName": "activeWatermarkProcess" + "smithy.api#documentation": "Specify the Amazon S3 location where you want MediaConvert to save your Nielsen non-linear metadata .zip file. This Amazon S3 bucket must be in the same Region as the one where you do your MediaConvert transcoding. If you want to include an ADI file in this .zip file, use the setting ADI file (adiFilename) to specify it. MediaConvert delivers the Nielsen metadata .zip files only to your metadata destination Amazon S3 bucket. It doesn't deliver the .zip files to Nielsen. You are responsible for delivering the metadata .zip files to Nielsen.", + "smithy.api#jsonName": "metadataDestination" } }, - "AdiFilename": { - "target": "com.amazonaws.mediaconvert#__stringPatternS3", + "SourceId": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max65534", "traits": { - "smithy.api#documentation": "Optional. Use this setting when you want the service to include an ADI file in the Nielsen metadata .zip file. To provide an ADI file, store it in Amazon S3 and provide a URL to it here. The URL should be in the following format: S3://bucket/path/ADI-file. For more information about the metadata .zip file, see the setting Metadata destination (metadataDestination).", - "smithy.api#jsonName": "adiFilename" + "smithy.api#documentation": "Use the SID that Nielsen provides to you. This source ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking. This ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking.", + "smithy.api#jsonName": "sourceId" } }, "SourceWatermarkStatus": { @@ -13055,25 +13110,18 @@ "smithy.api#jsonName": "sourceWatermarkStatus" } }, - "MetadataDestination": { - "target": "com.amazonaws.mediaconvert#__stringPatternS3", - "traits": { - "smithy.api#documentation": "Specify the Amazon S3 location where you want MediaConvert to save your Nielsen non-linear metadata .zip file. This Amazon S3 bucket must be in the same Region as the one where you do your MediaConvert transcoding. If you want to include an ADI file in this .zip file, use the setting ADI file (adiFilename) to specify it. MediaConvert delivers the Nielsen metadata .zip files only to your metadata destination Amazon S3 bucket. It doesn't deliver the .zip files to Nielsen. You are responsible for delivering the metadata .zip files to Nielsen.", - "smithy.api#jsonName": "metadataDestination" - } - }, - "AssetName": { - "target": "com.amazonaws.mediaconvert#__stringMin1Max50", + "TicServerUrl": { + "target": "com.amazonaws.mediaconvert#__stringPatternHttps", "traits": { - "smithy.api#documentation": "Use the asset name that you provide to Nielsen for this asset. Required for all Nielsen non-linear watermarking.", - "smithy.api#jsonName": "assetName" + "smithy.api#documentation": "Specify the endpoint for the TIC server that you have deployed and configured in the AWS Cloud. Required for all Nielsen non-linear watermarking. MediaConvert can't connect directly to a TIC server. Instead, you must use API Gateway to provide a RESTful interface between MediaConvert and a TIC server that you deploy in your AWS account. For more information on deploying a TIC server in your AWS account and the required API Gateway, contact Nielsen support.", + "smithy.api#jsonName": "ticServerUrl" } }, - "AssetId": { - "target": "com.amazonaws.mediaconvert#__stringMin1Max20", + "UniqueTicPerAudioTrack": { + "target": "com.amazonaws.mediaconvert#NielsenUniqueTicPerAudioTrackType", "traits": { - "smithy.api#documentation": "Use the asset ID that you provide to Nielsen to uniquely identify this asset. Required for all Nielsen non-linear watermarking.", - "smithy.api#jsonName": "assetId" + "smithy.api#documentation": "To create assets that have the same TIC values in each audio track, keep the default value Share TICs (SAME_TICS_PER_TRACK). To create assets that have unique TIC values for each audio track, choose Use unique TICs (RESERVE_UNIQUE_TICS_PER_TRACK).", + "smithy.api#jsonName": "uniqueTicPerAudioTrack" } } }, @@ -13136,13 +13184,6 @@ "com.amazonaws.mediaconvert#NoiseReducer": { "type": "structure", "members": { - "SpatialFilterSettings": { - "target": "com.amazonaws.mediaconvert#NoiseReducerSpatialFilterSettings", - "traits": { - "smithy.api#documentation": "Noise reducer filter settings for spatial filter.", - "smithy.api#jsonName": "spatialFilterSettings" - } - }, "Filter": { "target": "com.amazonaws.mediaconvert#NoiseReducerFilter", "traits": { @@ -13157,6 +13198,13 @@ "smithy.api#jsonName": "filterSettings" } }, + "SpatialFilterSettings": { + "target": "com.amazonaws.mediaconvert#NoiseReducerSpatialFilterSettings", + "traits": { + "smithy.api#documentation": "Noise reducer filter settings for spatial filter.", + "smithy.api#jsonName": "spatialFilterSettings" + } + }, "TemporalFilterSettings": { "target": "com.amazonaws.mediaconvert#NoiseReducerTemporalFilterSettings", "traits": { @@ -13234,19 +13282,19 @@ "smithy.api#jsonName": "postFilterSharpenStrength" } }, - "Strength": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max16", - "traits": { - "smithy.api#documentation": "Relative strength of noise reducing filter. Higher values produce stronger filtering.", - "smithy.api#jsonName": "strength" - } - }, "Speed": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2Max3", "traits": { "smithy.api#documentation": "The speed of the filter, from -2 (lower speed) to 3 (higher speed), with 0 being the nominal value.", "smithy.api#jsonName": "speed" } + }, + "Strength": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max16", + "traits": { + "smithy.api#documentation": "Relative strength of noise reducing filter. Higher values produce stronger filtering.", + "smithy.api#jsonName": "strength" + } } }, "traits": { @@ -13256,13 +13304,6 @@ "com.amazonaws.mediaconvert#NoiseReducerTemporalFilterSettings": { "type": "structure", "members": { - "Speed": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative1Max3", - "traits": { - "smithy.api#documentation": "The speed of the filter (higher number is faster). Low setting reduces bit rate at the cost of transcode time, high setting improves transcode time at the cost of bit rate.", - "smithy.api#jsonName": "speed" - } - }, "AggressiveMode": { "target": "com.amazonaws.mediaconvert#__integerMin0Max4", "traits": { @@ -13270,19 +13311,26 @@ "smithy.api#jsonName": "aggressiveMode" } }, - "Strength": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max16", - "traits": { - "smithy.api#documentation": "Specify the strength of the noise reducing filter on this output. Higher values produce stronger filtering. We recommend the following value ranges, depending on the result that you want: * 0-2 for complexity reduction with minimal sharpness loss * 2-8 for complexity reduction with image preservation * 8-16 for a high level of complexity reduction", - "smithy.api#jsonName": "strength" - } - }, "PostTemporalSharpening": { "target": "com.amazonaws.mediaconvert#NoiseFilterPostTemporalSharpening", "traits": { "smithy.api#documentation": "Optional. When you set Noise reducer (noiseReducer) to Temporal (TEMPORAL), you can use this setting to apply sharpening. The default behavior, Auto (AUTO), allows the transcoder to determine whether to apply filtering, depending on input type and quality. When you set Noise reducer to Temporal, your output bandwidth is reduced. When Post temporal sharpening is also enabled, that bandwidth reduction is smaller.", "smithy.api#jsonName": "postTemporalSharpening" } + }, + "Speed": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative1Max3", + "traits": { + "smithy.api#documentation": "The speed of the filter (higher number is faster). Low setting reduces bit rate at the cost of transcode time, high setting improves transcode time at the cost of bit rate.", + "smithy.api#jsonName": "speed" + } + }, + "Strength": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max16", + "traits": { + "smithy.api#documentation": "Specify the strength of the noise reducing filter on this output. Higher values produce stronger filtering. We recommend the following value ranges, depending on the result that you want: * 0-2 for complexity reduction with minimal sharpness loss * 2-8 for complexity reduction with image preservation * 8-16 for a high level of complexity reduction", + "smithy.api#jsonName": "strength" + } } }, "traits": { @@ -13353,11 +13401,11 @@ "com.amazonaws.mediaconvert#Output": { "type": "structure", "members": { - "VideoDescription": { - "target": "com.amazonaws.mediaconvert#VideoDescription", + "AudioDescriptions": { + "target": "com.amazonaws.mediaconvert#__listOfAudioDescription", "traits": { - "smithy.api#documentation": "(VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec that you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output.", - "smithy.api#jsonName": "videoDescription" + "smithy.api#documentation": "(AudioDescriptions) contains groups of audio encoding settings organized by audio codec. Include one instance of (AudioDescriptions) per output. (AudioDescriptions) can contain multiple groups of encoding settings.", + "smithy.api#jsonName": "audioDescriptions" } }, "CaptionDescriptions": { @@ -13367,13 +13415,6 @@ "smithy.api#jsonName": "captionDescriptions" } }, - "Extension": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "Use Extension (Extension) to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3)", - "smithy.api#jsonName": "extension" - } - }, "ContainerSettings": { "target": "com.amazonaws.mediaconvert#ContainerSettings", "traits": { @@ -13381,18 +13422,11 @@ "smithy.api#jsonName": "containerSettings" } }, - "AudioDescriptions": { - "target": "com.amazonaws.mediaconvert#__listOfAudioDescription", - "traits": { - "smithy.api#documentation": "(AudioDescriptions) contains groups of audio encoding settings organized by audio codec. Include one instance of (AudioDescriptions) per output. (AudioDescriptions) can contain multiple groups of encoding settings.", - "smithy.api#jsonName": "audioDescriptions" - } - }, - "OutputSettings": { - "target": "com.amazonaws.mediaconvert#OutputSettings", + "Extension": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Specific settings for this type of output.", - "smithy.api#jsonName": "outputSettings" + "smithy.api#documentation": "Use Extension (Extension) to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3)", + "smithy.api#jsonName": "extension" } }, "NameModifier": { @@ -13402,12 +13436,26 @@ "smithy.api#jsonName": "nameModifier" } }, + "OutputSettings": { + "target": "com.amazonaws.mediaconvert#OutputSettings", + "traits": { + "smithy.api#documentation": "Specific settings for this type of output.", + "smithy.api#jsonName": "outputSettings" + } + }, "Preset": { "target": "com.amazonaws.mediaconvert#__stringMin0", "traits": { "smithy.api#documentation": "Use Preset (Preset) to specifiy a preset for your transcoding settings. Provide the system or custom preset name. You can specify either Preset (Preset) or Container settings (ContainerSettings), but not both.", "smithy.api#jsonName": "preset" } + }, + "VideoDescription": { + "target": "com.amazonaws.mediaconvert#VideoDescription", + "traits": { + "smithy.api#documentation": "(VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec that you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output.", + "smithy.api#jsonName": "videoDescription" + } } }, "traits": { @@ -13454,11 +13502,11 @@ "com.amazonaws.mediaconvert#OutputGroup": { "type": "structure", "members": { - "Outputs": { - "target": "com.amazonaws.mediaconvert#__listOfOutput", + "AutomatedEncodingSettings": { + "target": "com.amazonaws.mediaconvert#AutomatedEncodingSettings", "traits": { - "smithy.api#documentation": "This object holds groups of encoding settings, one group of settings per output.", - "smithy.api#jsonName": "outputs" + "smithy.api#documentation": "Use automated encoding to have MediaConvert choose your encoding settings for you, based on characteristics of your input video.", + "smithy.api#jsonName": "automatedEncodingSettings" } }, "CustomName": { @@ -13468,6 +13516,13 @@ "smithy.api#jsonName": "customName" } }, + "Name": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Name of the output group", + "smithy.api#jsonName": "name" + } + }, "OutputGroupSettings": { "target": "com.amazonaws.mediaconvert#OutputGroupSettings", "traits": { @@ -13475,11 +13530,11 @@ "smithy.api#jsonName": "outputGroupSettings" } }, - "Name": { - "target": "com.amazonaws.mediaconvert#__string", + "Outputs": { + "target": "com.amazonaws.mediaconvert#__listOfOutput", "traits": { - "smithy.api#documentation": "Name of the output group", - "smithy.api#jsonName": "name" + "smithy.api#documentation": "This object holds groups of encoding settings, one group of settings per output.", + "smithy.api#jsonName": "outputs" } } }, @@ -13505,13 +13560,6 @@ "com.amazonaws.mediaconvert#OutputGroupSettings": { "type": "structure", "members": { - "Type": { - "target": "com.amazonaws.mediaconvert#OutputGroupType", - "traits": { - "smithy.api#documentation": "Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, CMAF)", - "smithy.api#jsonName": "type" - } - }, "CmafGroupSettings": { "target": "com.amazonaws.mediaconvert#CmafGroupSettings", "traits": { @@ -13519,6 +13567,13 @@ "smithy.api#jsonName": "cmafGroupSettings" } }, + "DashIsoGroupSettings": { + "target": "com.amazonaws.mediaconvert#DashIsoGroupSettings", + "traits": { + "smithy.api#documentation": "Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to DASH_ISO_GROUP_SETTINGS.", + "smithy.api#jsonName": "dashIsoGroupSettings" + } + }, "FileGroupSettings": { "target": "com.amazonaws.mediaconvert#FileGroupSettings", "traits": { @@ -13533,19 +13588,19 @@ "smithy.api#jsonName": "hlsGroupSettings" } }, - "DashIsoGroupSettings": { - "target": "com.amazonaws.mediaconvert#DashIsoGroupSettings", - "traits": { - "smithy.api#documentation": "Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to DASH_ISO_GROUP_SETTINGS.", - "smithy.api#jsonName": "dashIsoGroupSettings" - } - }, "MsSmoothGroupSettings": { "target": "com.amazonaws.mediaconvert#MsSmoothGroupSettings", "traits": { "smithy.api#documentation": "Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to MS_SMOOTH_GROUP_SETTINGS.", "smithy.api#jsonName": "msSmoothGroupSettings" } + }, + "Type": { + "target": "com.amazonaws.mediaconvert#OutputGroupType", + "traits": { + "smithy.api#documentation": "Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, CMAF)", + "smithy.api#jsonName": "type" + } } }, "traits": { @@ -13644,6 +13699,27 @@ "smithy.api#jsonName": "arn" } }, + "Category": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "An optional category you create to organize your presets.", + "smithy.api#jsonName": "category" + } + }, + "CreatedAt": { + "target": "com.amazonaws.mediaconvert#__timestampUnix", + "traits": { + "smithy.api#documentation": "The timestamp in epoch seconds for preset creation.", + "smithy.api#jsonName": "createdAt" + } + }, + "Description": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "An optional description you create for each preset.", + "smithy.api#jsonName": "description" + } + }, "LastUpdated": { "target": "com.amazonaws.mediaconvert#__timestampUnix", "traits": { @@ -13673,27 +13749,6 @@ "smithy.api#documentation": "A preset can be of two types: system or custom. System or built-in preset can't be modified or deleted by the user.", "smithy.api#jsonName": "type" } - }, - "CreatedAt": { - "target": "com.amazonaws.mediaconvert#__timestampUnix", - "traits": { - "smithy.api#documentation": "The timestamp in epoch seconds for preset creation.", - "smithy.api#jsonName": "createdAt" - } - }, - "Description": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "An optional description you create for each preset.", - "smithy.api#jsonName": "description" - } - }, - "Category": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "An optional category you create to organize your presets.", - "smithy.api#jsonName": "category" - } } }, "traits": { @@ -13730,11 +13785,11 @@ "smithy.api#jsonName": "audioDescriptions" } }, - "VideoDescription": { - "target": "com.amazonaws.mediaconvert#VideoDescription", + "CaptionDescriptions": { + "target": "com.amazonaws.mediaconvert#__listOfCaptionDescriptionPreset", "traits": { - "smithy.api#documentation": "(VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec that you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output.", - "smithy.api#jsonName": "videoDescription" + "smithy.api#documentation": "Caption settings for this preset. There can be multiple caption settings in a single output.", + "smithy.api#jsonName": "captionDescriptions" } }, "ContainerSettings": { @@ -13744,11 +13799,11 @@ "smithy.api#jsonName": "containerSettings" } }, - "CaptionDescriptions": { - "target": "com.amazonaws.mediaconvert#__listOfCaptionDescriptionPreset", + "VideoDescription": { + "target": "com.amazonaws.mediaconvert#VideoDescription", "traits": { - "smithy.api#documentation": "Caption settings for this preset. There can be multiple caption settings in a single output.", - "smithy.api#jsonName": "captionDescriptions" + "smithy.api#documentation": "(VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec that you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output.", + "smithy.api#jsonName": "videoDescription" } } }, @@ -13878,40 +13933,19 @@ }, "com.amazonaws.mediaconvert#ProresSettings": { "type": "structure", - "members": { - "ParControl": { - "target": "com.amazonaws.mediaconvert#ProresParControl", - "traits": { - "smithy.api#documentation": "Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings.", - "smithy.api#jsonName": "parControl" - } - }, - "Telecine": { - "target": "com.amazonaws.mediaconvert#ProresTelecine", - "traits": { - "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", - "smithy.api#jsonName": "telecine" - } - }, - "SlowPal": { - "target": "com.amazonaws.mediaconvert#ProresSlowPal", - "traits": { - "smithy.api#documentation": "Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1.", - "smithy.api#jsonName": "slowPal" - } - }, - "InterlaceMode": { - "target": "com.amazonaws.mediaconvert#ProresInterlaceMode", + "members": { + "CodecProfile": { + "target": "com.amazonaws.mediaconvert#ProresCodecProfile", "traits": { - "smithy.api#documentation": "Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose.", - "smithy.api#jsonName": "interlaceMode" + "smithy.api#documentation": "Use Profile (ProResCodecProfile) to specifiy the type of Apple ProRes codec to use for this output.", + "smithy.api#jsonName": "codecProfile" } }, - "ParDenominator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "FramerateControl": { + "target": "com.amazonaws.mediaconvert#ProresFramerateControl", "traits": { - "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", - "smithy.api#jsonName": "parDenominator" + "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", + "smithy.api#jsonName": "framerateControl" } }, "FramerateConversionAlgorithm": { @@ -13928,18 +13962,32 @@ "smithy.api#jsonName": "framerateDenominator" } }, - "CodecProfile": { - "target": "com.amazonaws.mediaconvert#ProresCodecProfile", + "FramerateNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Use Profile (ProResCodecProfile) to specifiy the type of Apple ProRes codec to use for this output.", - "smithy.api#jsonName": "codecProfile" + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateNumerator" } }, - "FramerateControl": { - "target": "com.amazonaws.mediaconvert#ProresFramerateControl", + "InterlaceMode": { + "target": "com.amazonaws.mediaconvert#ProresInterlaceMode", "traits": { - "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", - "smithy.api#jsonName": "framerateControl" + "smithy.api#documentation": "Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose.", + "smithy.api#jsonName": "interlaceMode" + } + }, + "ParControl": { + "target": "com.amazonaws.mediaconvert#ProresParControl", + "traits": { + "smithy.api#documentation": "Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings.", + "smithy.api#jsonName": "parControl" + } + }, + "ParDenominator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "traits": { + "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", + "smithy.api#jsonName": "parDenominator" } }, "ParNumerator": { @@ -13949,11 +13997,18 @@ "smithy.api#jsonName": "parNumerator" } }, - "FramerateNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "SlowPal": { + "target": "com.amazonaws.mediaconvert#ProresSlowPal", "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateNumerator" + "smithy.api#documentation": "Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1.", + "smithy.api#jsonName": "slowPal" + } + }, + "Telecine": { + "target": "com.amazonaws.mediaconvert#ProresTelecine", + "traits": { + "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", + "smithy.api#jsonName": "telecine" } } }, @@ -13996,18 +14051,18 @@ "com.amazonaws.mediaconvert#Queue": { "type": "structure", "members": { - "Type": { - "target": "com.amazonaws.mediaconvert#Type", + "Arn": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues.", - "smithy.api#jsonName": "type" + "smithy.api#documentation": "An identifier for this resource that is unique within all of AWS.", + "smithy.api#jsonName": "arn" } }, - "Status": { - "target": "com.amazonaws.mediaconvert#QueueStatus", + "CreatedAt": { + "target": "com.amazonaws.mediaconvert#__timestampUnix", "traits": { - "smithy.api#documentation": "Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error.", - "smithy.api#jsonName": "status" + "smithy.api#documentation": "The timestamp in epoch seconds for when you created the queue.", + "smithy.api#jsonName": "createdAt" } }, "Description": { @@ -14017,11 +14072,19 @@ "smithy.api#jsonName": "description" } }, - "CreatedAt": { + "LastUpdated": { "target": "com.amazonaws.mediaconvert#__timestampUnix", "traits": { - "smithy.api#documentation": "The timestamp in epoch seconds for when you created the queue.", - "smithy.api#jsonName": "createdAt" + "smithy.api#documentation": "The timestamp in epoch seconds for when you most recently updated the queue.", + "smithy.api#jsonName": "lastUpdated" + } + }, + "Name": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "A name that you create for each queue. Each name must be unique within your account.", + "smithy.api#jsonName": "name", + "smithy.api#required": {} } }, "PricingPlan": { @@ -14031,11 +14094,11 @@ "smithy.api#jsonName": "pricingPlan" } }, - "LastUpdated": { - "target": "com.amazonaws.mediaconvert#__timestampUnix", + "ProgressingJobsCount": { + "target": "com.amazonaws.mediaconvert#__integer", "traits": { - "smithy.api#documentation": "The timestamp in epoch seconds for when you most recently updated the queue.", - "smithy.api#jsonName": "lastUpdated" + "smithy.api#documentation": "The estimated number of jobs with a PROGRESSING status.", + "smithy.api#jsonName": "progressingJobsCount" } }, "ReservationPlan": { @@ -14045,6 +14108,13 @@ "smithy.api#jsonName": "reservationPlan" } }, + "Status": { + "target": "com.amazonaws.mediaconvert#QueueStatus", + "traits": { + "smithy.api#documentation": "Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error.", + "smithy.api#jsonName": "status" + } + }, "SubmittedJobsCount": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { @@ -14052,26 +14122,11 @@ "smithy.api#jsonName": "submittedJobsCount" } }, - "Arn": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "An identifier for this resource that is unique within all of AWS.", - "smithy.api#jsonName": "arn" - } - }, - "Name": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "A name that you create for each queue. Each name must be unique within your account.", - "smithy.api#jsonName": "name", - "smithy.api#required": {} - } - }, - "ProgressingJobsCount": { - "target": "com.amazonaws.mediaconvert#__integer", + "Type": { + "target": "com.amazonaws.mediaconvert#Type", "traits": { - "smithy.api#documentation": "The estimated number of jobs with a PROGRESSING status.", - "smithy.api#jsonName": "progressingJobsCount" + "smithy.api#documentation": "Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues.", + "smithy.api#jsonName": "type" } } }, @@ -14114,11 +14169,11 @@ "com.amazonaws.mediaconvert#QueueTransition": { "type": "structure", "members": { - "Timestamp": { - "target": "com.amazonaws.mediaconvert#__timestampUnix", + "DestinationQueue": { + "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "The time, in Unix epoch format, that the job moved from the source queue to the destination queue.", - "smithy.api#jsonName": "timestamp" + "smithy.api#documentation": "The queue that the job was on after the transition.", + "smithy.api#jsonName": "destinationQueue" } }, "SourceQueue": { @@ -14128,11 +14183,11 @@ "smithy.api#jsonName": "sourceQueue" } }, - "DestinationQueue": { - "target": "com.amazonaws.mediaconvert#__string", + "Timestamp": { + "target": "com.amazonaws.mediaconvert#__timestampUnix", "traits": { - "smithy.api#documentation": "The queue that the job was on after the transition.", - "smithy.api#jsonName": "destinationQueue" + "smithy.api#documentation": "The time, in Unix epoch format, that the job moved from the source queue to the destination queue.", + "smithy.api#jsonName": "timestamp" } } }, @@ -14143,11 +14198,11 @@ "com.amazonaws.mediaconvert#Rectangle": { "type": "structure", "members": { - "X": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", + "Height": { + "target": "com.amazonaws.mediaconvert#__integerMin2Max2147483647", "traits": { - "smithy.api#documentation": "The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.", - "smithy.api#jsonName": "x" + "smithy.api#documentation": "Height of rectangle in pixels. Specify only even numbers.", + "smithy.api#jsonName": "height" } }, "Width": { @@ -14157,18 +14212,18 @@ "smithy.api#jsonName": "width" } }, - "Y": { + "X": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.", - "smithy.api#jsonName": "y" + "smithy.api#documentation": "The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.", + "smithy.api#jsonName": "x" } }, - "Height": { - "target": "com.amazonaws.mediaconvert#__integerMin2Max2147483647", + "Y": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { - "smithy.api#documentation": "Height of rectangle in pixels. Specify only even numbers.", - "smithy.api#jsonName": "height" + "smithy.api#documentation": "The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.", + "smithy.api#jsonName": "y" } } }, @@ -14179,6 +14234,13 @@ "com.amazonaws.mediaconvert#RemixSettings": { "type": "structure", "members": { + "ChannelMapping": { + "target": "com.amazonaws.mediaconvert#ChannelMapping", + "traits": { + "smithy.api#documentation": "Channel mapping (ChannelMapping) contains the group of fields that hold the remixing value for each channel. Units are in dB. Acceptable values are within the range from -60 (mute) through 6. A setting of 0 passes the input channel unchanged to the output channel (no attenuation or amplification).", + "smithy.api#jsonName": "channelMapping" + } + }, "ChannelsIn": { "target": "com.amazonaws.mediaconvert#__integerMin1Max64", "traits": { @@ -14192,13 +14254,6 @@ "smithy.api#documentation": "Specify the number of channels in this output after remixing. Valid values: 1, 2, 4, 6, 8... 64. (1 and even numbers to 64.)", "smithy.api#jsonName": "channelsOut" } - }, - "ChannelMapping": { - "target": "com.amazonaws.mediaconvert#ChannelMapping", - "traits": { - "smithy.api#documentation": "Channel mapping (ChannelMapping) contains the group of fields that hold the remixing value for each channel. Units are in dB. Acceptable values are within the range from -60 (mute) through 6. A setting of 0 passes the input channel unchanged to the output channel (no attenuation or amplification).", - "smithy.api#jsonName": "channelMapping" - } } }, "traits": { @@ -14224,25 +14279,25 @@ "com.amazonaws.mediaconvert#ReservationPlan": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.mediaconvert#ReservationPlanStatus", + "Commitment": { + "target": "com.amazonaws.mediaconvert#Commitment", "traits": { - "smithy.api#documentation": "Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.", - "smithy.api#jsonName": "status" + "smithy.api#documentation": "The length of the term of your reserved queue pricing plan commitment.", + "smithy.api#jsonName": "commitment" } }, - "PurchasedAt": { + "ExpiresAt": { "target": "com.amazonaws.mediaconvert#__timestampUnix", "traits": { - "smithy.api#documentation": "The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.", - "smithy.api#jsonName": "purchasedAt" + "smithy.api#documentation": "The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.", + "smithy.api#jsonName": "expiresAt" } }, - "ExpiresAt": { + "PurchasedAt": { "target": "com.amazonaws.mediaconvert#__timestampUnix", "traits": { - "smithy.api#documentation": "The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.", - "smithy.api#jsonName": "expiresAt" + "smithy.api#documentation": "The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.", + "smithy.api#jsonName": "purchasedAt" } }, "RenewalType": { @@ -14252,19 +14307,19 @@ "smithy.api#jsonName": "renewalType" } }, - "Commitment": { - "target": "com.amazonaws.mediaconvert#Commitment", - "traits": { - "smithy.api#documentation": "The length of the term of your reserved queue pricing plan commitment.", - "smithy.api#jsonName": "commitment" - } - }, "ReservedSlots": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { "smithy.api#documentation": "Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue.", "smithy.api#jsonName": "reservedSlots" } + }, + "Status": { + "target": "com.amazonaws.mediaconvert#ReservationPlanStatus", + "traits": { + "smithy.api#documentation": "Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.", + "smithy.api#jsonName": "status" + } } }, "traits": { @@ -14274,14 +14329,6 @@ "com.amazonaws.mediaconvert#ReservationPlanSettings": { "type": "structure", "members": { - "ReservedSlots": { - "target": "com.amazonaws.mediaconvert#__integer", - "traits": { - "smithy.api#documentation": "Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can't decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can't cancel your commitment or revert to your original commitment after you increase the capacity.", - "smithy.api#jsonName": "reservedSlots", - "smithy.api#required": {} - } - }, "Commitment": { "target": "com.amazonaws.mediaconvert#Commitment", "traits": { @@ -14297,6 +14344,14 @@ "smithy.api#jsonName": "renewalType", "smithy.api#required": {} } + }, + "ReservedSlots": { + "target": "com.amazonaws.mediaconvert#__integer", + "traits": { + "smithy.api#documentation": "Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can't decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can't cancel your commitment or revert to your original commitment after you increase the capacity.", + "smithy.api#jsonName": "reservedSlots", + "smithy.api#required": {} + } } }, "traits": { @@ -14322,19 +14377,19 @@ "com.amazonaws.mediaconvert#ResourceTags": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.mediaconvert#__mapOf__string", - "traits": { - "smithy.api#documentation": "The tags for the resource.", - "smithy.api#jsonName": "tags" - } - }, "Arn": { "target": "com.amazonaws.mediaconvert#__string", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.", "smithy.api#jsonName": "arn" } + }, + "Tags": { + "target": "com.amazonaws.mediaconvert#__mapOf__string", + "traits": { + "smithy.api#documentation": "The tags for the resource.", + "smithy.api#jsonName": "tags" + } } }, "traits": { @@ -14374,24 +14429,24 @@ }, "traits": { "smithy.api#documentation": "Optional. Have MediaConvert automatically apply Amazon S3 access control for the outputs in this output group. When you don't use this setting, S3 automatically applies the default access control list PRIVATE." - } - }, - "com.amazonaws.mediaconvert#S3DestinationSettings": { - "type": "structure", - "members": { - "Encryption": { - "target": "com.amazonaws.mediaconvert#S3EncryptionSettings", - "traits": { - "smithy.api#documentation": "Settings for how your job outputs are encrypted as they are uploaded to Amazon S3.", - "smithy.api#jsonName": "encryption" - } - }, + } + }, + "com.amazonaws.mediaconvert#S3DestinationSettings": { + "type": "structure", + "members": { "AccessControl": { "target": "com.amazonaws.mediaconvert#S3DestinationAccessControl", "traits": { "smithy.api#documentation": "Optional. Have MediaConvert automatically apply Amazon S3 access control for the outputs in this output group. When you don't use this setting, S3 automatically applies the default access control list PRIVATE.", "smithy.api#jsonName": "accessControl" } + }, + "Encryption": { + "target": "com.amazonaws.mediaconvert#S3EncryptionSettings", + "traits": { + "smithy.api#documentation": "Settings for how your job outputs are encrypted as they are uploaded to Amazon S3.", + "smithy.api#jsonName": "encryption" + } } }, "traits": { @@ -14538,11 +14593,11 @@ "com.amazonaws.mediaconvert#SpekeKeyProvider": { "type": "structure", "members": { - "SystemIds": { - "target": "com.amazonaws.mediaconvert#__listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12", + "CertificateArn": { + "target": "com.amazonaws.mediaconvert#__stringPatternArnAwsUsGovAcm", "traits": { - "smithy.api#documentation": "Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. Other group types support one system id. See\n https://dashif.org/identifiers/content_protection/ for more details.", - "smithy.api#jsonName": "systemIds" + "smithy.api#documentation": "If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate's Amazon Resource Name (ARN) here.", + "smithy.api#jsonName": "certificateArn" } }, "ResourceId": { @@ -14552,11 +14607,11 @@ "smithy.api#jsonName": "resourceId" } }, - "CertificateArn": { - "target": "com.amazonaws.mediaconvert#__stringPatternArnAwsUsGovAcm", + "SystemIds": { + "target": "com.amazonaws.mediaconvert#__listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12", "traits": { - "smithy.api#documentation": "If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate's Amazon Resource Name (ARN) here.", - "smithy.api#jsonName": "certificateArn" + "smithy.api#documentation": "Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. Other group types support one system id. See\n https://dashif.org/identifiers/content_protection/ for more details.", + "smithy.api#jsonName": "systemIds" } }, "Url": { @@ -14574,20 +14629,6 @@ "com.amazonaws.mediaconvert#SpekeKeyProviderCmaf": { "type": "structure", "members": { - "Url": { - "target": "com.amazonaws.mediaconvert#__stringPatternHttps", - "traits": { - "smithy.api#documentation": "Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content.", - "smithy.api#jsonName": "url" - } - }, - "ResourceId": { - "target": "com.amazonaws.mediaconvert#__stringPatternW", - "traits": { - "smithy.api#documentation": "Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.", - "smithy.api#jsonName": "resourceId" - } - }, "CertificateArn": { "target": "com.amazonaws.mediaconvert#__stringPatternArnAwsUsGovAcm", "traits": { @@ -14608,6 +14649,20 @@ "smithy.api#documentation": "Specify the DRM system ID that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. The HLS manifest can currently signal only one system ID. For more information, see https://dashif.org/identifiers/content_protection/.", "smithy.api#jsonName": "hlsSignaledSystemIds" } + }, + "ResourceId": { + "target": "com.amazonaws.mediaconvert#__stringPatternW", + "traits": { + "smithy.api#documentation": "Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.", + "smithy.api#jsonName": "resourceId" + } + }, + "Url": { + "target": "com.amazonaws.mediaconvert#__stringPatternHttps", + "traits": { + "smithy.api#documentation": "Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content.", + "smithy.api#jsonName": "url" + } } }, "traits": { @@ -14617,13 +14672,6 @@ "com.amazonaws.mediaconvert#StaticKeyProvider": { "type": "structure", "members": { - "KeyFormatVersions": { - "target": "com.amazonaws.mediaconvert#__stringPatternDD", - "traits": { - "smithy.api#documentation": "Relates to DRM implementation. Either a single positive integer version value or a slash delimited list of version values (1/2/3).", - "smithy.api#jsonName": "keyFormatVersions" - } - }, "KeyFormat": { "target": "com.amazonaws.mediaconvert#__stringPatternIdentityAZaZ26AZaZ09163", "traits": { @@ -14631,11 +14679,11 @@ "smithy.api#jsonName": "keyFormat" } }, - "Url": { - "target": "com.amazonaws.mediaconvert#__string", + "KeyFormatVersions": { + "target": "com.amazonaws.mediaconvert#__stringPatternDD", "traits": { - "smithy.api#documentation": "Relates to DRM implementation. The location of the license server used for protecting content.", - "smithy.api#jsonName": "url" + "smithy.api#documentation": "Relates to DRM implementation. Either a single positive integer version value or a slash delimited list of version values (1/2/3).", + "smithy.api#jsonName": "keyFormatVersions" } }, "StaticKeyValue": { @@ -14644,6 +14692,13 @@ "smithy.api#documentation": "Relates to DRM implementation. Use a 32-character hexidecimal string to specify Key Value (StaticKeyValue).", "smithy.api#jsonName": "staticKeyValue" } + }, + "Url": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Relates to DRM implementation. The location of the license server used for protecting content.", + "smithy.api#jsonName": "url" + } } }, "traits": { @@ -14758,14 +14813,6 @@ "com.amazonaws.mediaconvert#TagResourceRequest": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.mediaconvert#__mapOf__string", - "traits": { - "smithy.api#documentation": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", - "smithy.api#jsonName": "tags", - "smithy.api#required": {} - } - }, "Arn": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -14773,6 +14820,14 @@ "smithy.api#jsonName": "arn", "smithy.api#required": {} } + }, + "Tags": { + "target": "com.amazonaws.mediaconvert#__mapOf__string", + "traits": { + "smithy.api#documentation": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", + "smithy.api#jsonName": "tags", + "smithy.api#required": {} + } } } }, @@ -14848,11 +14903,11 @@ "com.amazonaws.mediaconvert#TimecodeBurnin": { "type": "structure", "members": { - "Prefix": { - "target": "com.amazonaws.mediaconvert#__stringPattern", + "FontSize": { + "target": "com.amazonaws.mediaconvert#__integerMin10Max48", "traits": { - "smithy.api#documentation": "Use Prefix (Prefix) to place ASCII characters before any burned-in timecode. For example, a prefix of \"EZ-\" will result in the timecode \"EZ-00:00:00:00\". Provide either the characters themselves or the ASCII code equivalents. The supported range of characters is 0x20 through 0x7e. This includes letters, numbers, and all special characters represented on a standard English keyboard.", - "smithy.api#jsonName": "prefix" + "smithy.api#documentation": "Use Font Size (FontSize) to set the font size of any burned-in timecode. Valid values are 10, 16, 32, 48.", + "smithy.api#jsonName": "fontSize" } }, "Position": { @@ -14862,11 +14917,11 @@ "smithy.api#jsonName": "position" } }, - "FontSize": { - "target": "com.amazonaws.mediaconvert#__integerMin10Max48", + "Prefix": { + "target": "com.amazonaws.mediaconvert#__stringPattern", "traits": { - "smithy.api#documentation": "Use Font Size (FontSize) to set the font size of any burned-in timecode. Valid values are 10, 16, 32, 48.", - "smithy.api#jsonName": "fontSize" + "smithy.api#documentation": "Use Prefix (Prefix) to place ASCII characters before any burned-in timecode. For example, a prefix of \"EZ-\" will result in the timecode \"EZ-00:00:00:00\". Provide either the characters themselves or the ASCII code equivalents. The supported range of characters is 0x20 through 0x7e. This includes letters, numbers, and all special characters represented on a standard English keyboard.", + "smithy.api#jsonName": "prefix" } } }, @@ -14921,20 +14976,6 @@ "com.amazonaws.mediaconvert#TimecodeConfig": { "type": "structure", "members": { - "Start": { - "target": "com.amazonaws.mediaconvert#__stringPattern010920405090509092", - "traits": { - "smithy.api#documentation": "Only use when you set Source (TimecodeSource) to Specified start (SPECIFIEDSTART). Use Start timecode (Start) to specify the timecode for the initial frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF).", - "smithy.api#jsonName": "start" - } - }, - "TimestampOffset": { - "target": "com.amazonaws.mediaconvert#__stringPattern0940191020191209301", - "traits": { - "smithy.api#documentation": "Only applies to outputs that support program-date-time stamp. Use Timestamp offset (TimestampOffset) to overwrite the timecode date without affecting the time and frame number. Provide the new date as a string in the format \"yyyy-mm-dd\". To use Time stamp offset, you must also enable Insert program-date-time (InsertProgramDateTime) in the output settings. For example, if the date part of your timecodes is 2002-1-25 and you want to change it to one year later, set Timestamp offset (TimestampOffset) to 2003-1-25.", - "smithy.api#jsonName": "timestampOffset" - } - }, "Anchor": { "target": "com.amazonaws.mediaconvert#__stringPattern010920405090509092", "traits": { @@ -14948,6 +14989,20 @@ "smithy.api#documentation": "Use Source (TimecodeSource) to set how timecodes are handled within this job. To make sure that your video, audio, captions, and markers are synchronized and that time-based features, such as image inserter, work correctly, choose the Timecode source option that matches your assets. All timecodes are in a 24-hour format with frame number (HH:MM:SS:FF). * Embedded (EMBEDDED) - Use the timecode that is in the input video. If no embedded timecode is in the source, the service will use Start at 0 (ZEROBASED) instead. * Start at 0 (ZEROBASED) - Set the timecode of the initial frame to 00:00:00:00. * Specified Start (SPECIFIEDSTART) - Set the timecode of the initial frame to a value other than zero. You use Start timecode (Start) to provide this value.", "smithy.api#jsonName": "source" } + }, + "Start": { + "target": "com.amazonaws.mediaconvert#__stringPattern010920405090509092", + "traits": { + "smithy.api#documentation": "Only use when you set Source (TimecodeSource) to Specified start (SPECIFIEDSTART). Use Start timecode (Start) to specify the timecode for the initial frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF).", + "smithy.api#jsonName": "start" + } + }, + "TimestampOffset": { + "target": "com.amazonaws.mediaconvert#__stringPattern0940191020191209301", + "traits": { + "smithy.api#documentation": "Only applies to outputs that support program-date-time stamp. Use Timestamp offset (TimestampOffset) to overwrite the timecode date without affecting the time and frame number. Provide the new date as a string in the format \"yyyy-mm-dd\". To use Time stamp offset, you must also enable Insert program-date-time (InsertProgramDateTime) in the output settings. For example, if the date part of your timecodes is 2002-1-25 and you want to change it to one year later, set Timestamp offset (TimestampOffset) to 2003-1-25.", + "smithy.api#jsonName": "timestampOffset" + } } }, "traits": { @@ -15008,13 +15063,6 @@ "com.amazonaws.mediaconvert#Timing": { "type": "structure", "members": { - "SubmitTime": { - "target": "com.amazonaws.mediaconvert#__timestampUnix", - "traits": { - "smithy.api#documentation": "The time, in Unix epoch format, that you submitted the job.", - "smithy.api#jsonName": "submitTime" - } - }, "FinishTime": { "target": "com.amazonaws.mediaconvert#__timestampUnix", "traits": { @@ -15028,6 +15076,13 @@ "smithy.api#documentation": "The time, in Unix epoch format, that transcoding for the job began.", "smithy.api#jsonName": "startTime" } + }, + "SubmitTime": { + "target": "com.amazonaws.mediaconvert#__timestampUnix", + "traits": { + "smithy.api#documentation": "The time, in Unix epoch format, that you submitted the job.", + "smithy.api#jsonName": "submitTime" + } } }, "traits": { @@ -15151,13 +15206,6 @@ "com.amazonaws.mediaconvert#UntagResourceRequest": { "type": "structure", "members": { - "TagKeys": { - "target": "com.amazonaws.mediaconvert#__listOf__string", - "traits": { - "smithy.api#documentation": "The keys of the tags that you want to remove from the resource.", - "smithy.api#jsonName": "tagKeys" - } - }, "Arn": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -15165,6 +15213,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "TagKeys": { + "target": "com.amazonaws.mediaconvert#__listOf__string", + "traits": { + "smithy.api#documentation": "The keys of the tags that you want to remove from the resource.", + "smithy.api#jsonName": "tagKeys" + } } } }, @@ -15212,35 +15267,6 @@ "com.amazonaws.mediaconvert#UpdateJobTemplateRequest": { "type": "structure", "members": { - "StatusUpdateInterval": { - "target": "com.amazonaws.mediaconvert#StatusUpdateInterval", - "traits": { - "smithy.api#documentation": "Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.", - "smithy.api#jsonName": "statusUpdateInterval" - } - }, - "Settings": { - "target": "com.amazonaws.mediaconvert#JobTemplateSettings", - "traits": { - "smithy.api#documentation": "JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.", - "smithy.api#jsonName": "settings" - } - }, - "Name": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "The name of the job template you are modifying", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Priority": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", - "traits": { - "smithy.api#documentation": "Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0.", - "smithy.api#jsonName": "priority" - } - }, "AccelerationSettings": { "target": "com.amazonaws.mediaconvert#AccelerationSettings", "traits": { @@ -15248,6 +15274,13 @@ "smithy.api#jsonName": "accelerationSettings" } }, + "Category": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "The new category for the job template, if you are changing it.", + "smithy.api#jsonName": "category" + } + }, "Description": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -15262,11 +15295,19 @@ "smithy.api#jsonName": "hopDestinations" } }, - "Category": { + "Name": { "target": "com.amazonaws.mediaconvert#__string", "traits": { - "smithy.api#documentation": "The new category for the job template, if you are changing it.", - "smithy.api#jsonName": "category" + "smithy.api#documentation": "The name of the job template you are modifying", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Priority": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", + "traits": { + "smithy.api#documentation": "Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0.", + "smithy.api#jsonName": "priority" } }, "Queue": { @@ -15275,6 +15316,20 @@ "smithy.api#documentation": "The new queue for the job template, if you are changing it.", "smithy.api#jsonName": "queue" } + }, + "Settings": { + "target": "com.amazonaws.mediaconvert#JobTemplateSettings", + "traits": { + "smithy.api#documentation": "JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.", + "smithy.api#jsonName": "settings" + } + }, + "StatusUpdateInterval": { + "target": "com.amazonaws.mediaconvert#StatusUpdateInterval", + "traits": { + "smithy.api#documentation": "Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.", + "smithy.api#jsonName": "statusUpdateInterval" + } } } }, @@ -15330,6 +15385,13 @@ "com.amazonaws.mediaconvert#UpdatePresetRequest": { "type": "structure", "members": { + "Category": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "The new category for the preset, if you are changing it.", + "smithy.api#jsonName": "category" + } + }, "Description": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -15351,13 +15413,6 @@ "smithy.api#documentation": "Settings for preset", "smithy.api#jsonName": "settings" } - }, - "Category": { - "target": "com.amazonaws.mediaconvert#__string", - "traits": { - "smithy.api#documentation": "The new category for the preset, if you are changing it.", - "smithy.api#jsonName": "category" - } } } }, @@ -15413,13 +15468,6 @@ "com.amazonaws.mediaconvert#UpdateQueueRequest": { "type": "structure", "members": { - "ReservationPlanSettings": { - "target": "com.amazonaws.mediaconvert#ReservationPlanSettings", - "traits": { - "smithy.api#documentation": "The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can't cancel them.", - "smithy.api#jsonName": "reservationPlanSettings" - } - }, "Description": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -15435,6 +15483,13 @@ "smithy.api#required": {} } }, + "ReservationPlanSettings": { + "target": "com.amazonaws.mediaconvert#ReservationPlanSettings", + "traits": { + "smithy.api#documentation": "The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can't cancel them.", + "smithy.api#jsonName": "reservationPlanSettings" + } + }, "Status": { "target": "com.amazonaws.mediaconvert#QueueStatus", "traits": { @@ -15531,27 +15586,6 @@ "com.amazonaws.mediaconvert#Vc3Settings": { "type": "structure", "members": { - "FramerateNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin24Max60000", - "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateNumerator" - } - }, - "SlowPal": { - "target": "com.amazonaws.mediaconvert#Vc3SlowPal", - "traits": { - "smithy.api#documentation": "Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output by relabeling the video frames and resampling your audio. Note that enabling this setting will slightly reduce the duration of your video. Related settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1.", - "smithy.api#jsonName": "slowPal" - } - }, - "Telecine": { - "target": "com.amazonaws.mediaconvert#Vc3Telecine", - "traits": { - "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", - "smithy.api#jsonName": "telecine" - } - }, "FramerateControl": { "target": "com.amazonaws.mediaconvert#Vc3FramerateControl", "traits": { @@ -15573,11 +15607,11 @@ "smithy.api#jsonName": "framerateDenominator" } }, - "Vc3Class": { - "target": "com.amazonaws.mediaconvert#Vc3Class", + "FramerateNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin24Max60000", "traits": { - "smithy.api#documentation": "Specify the VC3 class to choose the quality characteristics for this output. VC3 class, together with the settings Framerate (framerateNumerator and framerateDenominator) and Resolution (height and width), determine your output bitrate. For example, say that your video resolution is 1920x1080 and your framerate is 29.97. Then Class 145 (CLASS_145) gives you an output with a bitrate of approximately 145 Mbps and Class 220 (CLASS_220) gives you and output with a bitrate of approximately 220 Mbps. VC3 class also specifies the color bit depth of your output.", - "smithy.api#jsonName": "vc3Class" + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateNumerator" } }, "InterlaceMode": { @@ -15586,6 +15620,27 @@ "smithy.api#documentation": "Optional. Choose the scan line type for this output. If you don't specify a value, MediaConvert will create a progressive output.", "smithy.api#jsonName": "interlaceMode" } + }, + "SlowPal": { + "target": "com.amazonaws.mediaconvert#Vc3SlowPal", + "traits": { + "smithy.api#documentation": "Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output by relabeling the video frames and resampling your audio. Note that enabling this setting will slightly reduce the duration of your video. Related settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1.", + "smithy.api#jsonName": "slowPal" + } + }, + "Telecine": { + "target": "com.amazonaws.mediaconvert#Vc3Telecine", + "traits": { + "smithy.api#documentation": "When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.", + "smithy.api#jsonName": "telecine" + } + }, + "Vc3Class": { + "target": "com.amazonaws.mediaconvert#Vc3Class", + "traits": { + "smithy.api#documentation": "Specify the VC3 class to choose the quality characteristics for this output. VC3 class, together with the settings Framerate (framerateNumerator and framerateDenominator) and Resolution (height and width), determine your output bitrate. For example, say that your video resolution is 1920x1080 and your framerate is 29.97. Then Class 145 (CLASS_145) gives you an output with a bitrate of approximately 145 Mbps and Class 220 (CLASS_220) gives you and output with a bitrate of approximately 220 Mbps. VC3 class also specifies the color bit depth of your output.", + "smithy.api#jsonName": "vc3Class" + } } }, "traits": { @@ -15682,13 +15737,6 @@ "smithy.api#jsonName": "av1Settings" } }, - "Mpeg2Settings": { - "target": "com.amazonaws.mediaconvert#Mpeg2Settings", - "traits": { - "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value MPEG2.", - "smithy.api#jsonName": "mpeg2Settings" - } - }, "AvcIntraSettings": { "target": "com.amazonaws.mediaconvert#AvcIntraSettings", "traits": { @@ -15696,25 +15744,11 @@ "smithy.api#jsonName": "avcIntraSettings" } }, - "ProresSettings": { - "target": "com.amazonaws.mediaconvert#ProresSettings", - "traits": { - "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value PRORES.", - "smithy.api#jsonName": "proresSettings" - } - }, - "Vp9Settings": { - "target": "com.amazonaws.mediaconvert#Vp9Settings", - "traits": { - "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VP9.", - "smithy.api#jsonName": "vp9Settings" - } - }, - "Vc3Settings": { - "target": "com.amazonaws.mediaconvert#Vc3Settings", + "Codec": { + "target": "com.amazonaws.mediaconvert#VideoCodec", "traits": { - "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VC3", - "smithy.api#jsonName": "vc3Settings" + "smithy.api#documentation": "Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec.", + "smithy.api#jsonName": "codec" } }, "FrameCaptureSettings": { @@ -15724,6 +15758,13 @@ "smithy.api#jsonName": "frameCaptureSettings" } }, + "H264Settings": { + "target": "com.amazonaws.mediaconvert#H264Settings", + "traits": { + "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value H_264.", + "smithy.api#jsonName": "h264Settings" + } + }, "H265Settings": { "target": "com.amazonaws.mediaconvert#H265Settings", "traits": { @@ -15731,6 +15772,27 @@ "smithy.api#jsonName": "h265Settings" } }, + "Mpeg2Settings": { + "target": "com.amazonaws.mediaconvert#Mpeg2Settings", + "traits": { + "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value MPEG2.", + "smithy.api#jsonName": "mpeg2Settings" + } + }, + "ProresSettings": { + "target": "com.amazonaws.mediaconvert#ProresSettings", + "traits": { + "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value PRORES.", + "smithy.api#jsonName": "proresSettings" + } + }, + "Vc3Settings": { + "target": "com.amazonaws.mediaconvert#Vc3Settings", + "traits": { + "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VC3", + "smithy.api#jsonName": "vc3Settings" + } + }, "Vp8Settings": { "target": "com.amazonaws.mediaconvert#Vp8Settings", "traits": { @@ -15738,18 +15800,11 @@ "smithy.api#jsonName": "vp8Settings" } }, - "H264Settings": { - "target": "com.amazonaws.mediaconvert#H264Settings", - "traits": { - "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value H_264.", - "smithy.api#jsonName": "h264Settings" - } - }, - "Codec": { - "target": "com.amazonaws.mediaconvert#VideoCodec", + "Vp9Settings": { + "target": "com.amazonaws.mediaconvert#Vp9Settings", "traits": { - "smithy.api#documentation": "Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec.", - "smithy.api#jsonName": "codec" + "smithy.api#documentation": "Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VP9.", + "smithy.api#jsonName": "vp9Settings" } } }, @@ -15760,18 +15815,11 @@ "com.amazonaws.mediaconvert#VideoDescription": { "type": "structure", "members": { - "Position": { - "target": "com.amazonaws.mediaconvert#Rectangle", - "traits": { - "smithy.api#documentation": "Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black.", - "smithy.api#jsonName": "position" - } - }, - "FixedAfd": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max15", + "AfdSignaling": { + "target": "com.amazonaws.mediaconvert#AfdSignaling", "traits": { - "smithy.api#documentation": "Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED). Use Fixed (FixedAfd) to specify a four-bit AFD value which the service will write on all frames of this video output.", - "smithy.api#jsonName": "fixedAfd" + "smithy.api#documentation": "This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling (AfdSignaling) to specify whether the service includes AFD values in the output video data and what those values are. * Choose None to remove all AFD values from this output. * Choose Fixed to ignore input AFD values and instead encode the value specified in the job. * Choose Auto to calculate output AFD values based on the input AFD scaler data.", + "smithy.api#jsonName": "afdSignaling" } }, "AntiAlias": { @@ -15788,18 +15836,11 @@ "smithy.api#jsonName": "codecSettings" } }, - "Sharpness": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max100", - "traits": { - "smithy.api#documentation": "Use Sharpness (Sharpness) setting to specify the strength of anti-aliasing. This setting changes the width of the anti-alias filter kernel used for scaling. Sharpness only applies if your output resolution is different from your input resolution. 0 is the softest setting, 100 the sharpest, and 50 recommended for most content.", - "smithy.api#jsonName": "sharpness" - } - }, - "AfdSignaling": { - "target": "com.amazonaws.mediaconvert#AfdSignaling", + "ColorMetadata": { + "target": "com.amazonaws.mediaconvert#ColorMetadata", "traits": { - "smithy.api#documentation": "This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling (AfdSignaling) to specify whether the service includes AFD values in the output video data and what those values are. * Choose None to remove all AFD values from this output. * Choose Fixed to ignore input AFD values and instead encode the value specified in the job. * Choose Auto to calculate output AFD values based on the input AFD scaler data.", - "smithy.api#jsonName": "afdSignaling" + "smithy.api#documentation": "Choose Insert (INSERT) for this setting to include color metadata in this output. Choose Ignore (IGNORE) to exclude color metadata from this output. If you don't specify a value, the service sets this to Insert by default.", + "smithy.api#jsonName": "colorMetadata" } }, "Crop": { @@ -15809,25 +15850,32 @@ "smithy.api#jsonName": "crop" } }, - "TimecodeInsertion": { - "target": "com.amazonaws.mediaconvert#VideoTimecodeInsertion", + "DropFrameTimecode": { + "target": "com.amazonaws.mediaconvert#DropFrameTimecode", "traits": { - "smithy.api#documentation": "Applies only to H.264, H.265, MPEG2, and ProRes outputs. Only enable Timecode insertion when the input frame rate is identical to the output frame rate. To include timecodes in this output, set Timecode insertion (VideoTimecodeInsertion) to PIC_TIMING_SEI. To leave them out, set it to DISABLED. Default is DISABLED. When the service inserts timecodes in an output, by default, it uses any embedded timecodes from the input. If none are present, the service will set the timecode for the first output frame to zero. To change this default behavior, adjust the settings under Timecode configuration (TimecodeConfig). In the console, these settings are located under Job > Job settings > Timecode configuration. Note - Timecode source under input settings (InputTimecodeSource) does not affect the timecodes that are inserted in the output. Source under Job settings > Timecode configuration (TimecodeSource) does.", - "smithy.api#jsonName": "timecodeInsertion" + "smithy.api#documentation": "Applies only to 29.97 fps outputs. When this feature is enabled, the service will use drop-frame timecode on outputs. If it is not possible to use drop-frame timecode, the system will fall back to non-drop-frame. This setting is enabled by default when Timecode insertion (TimecodeInsertion) is enabled.", + "smithy.api#jsonName": "dropFrameTimecode" } }, - "ColorMetadata": { - "target": "com.amazonaws.mediaconvert#ColorMetadata", + "FixedAfd": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max15", "traits": { - "smithy.api#documentation": "Choose Insert (INSERT) for this setting to include color metadata in this output. Choose Ignore (IGNORE) to exclude color metadata from this output. If you don't specify a value, the service sets this to Insert by default.", - "smithy.api#jsonName": "colorMetadata" + "smithy.api#documentation": "Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED). Use Fixed (FixedAfd) to specify a four-bit AFD value which the service will write on all frames of this video output.", + "smithy.api#jsonName": "fixedAfd" } }, - "ScalingBehavior": { - "target": "com.amazonaws.mediaconvert#ScalingBehavior", + "Height": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { - "smithy.api#documentation": "Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio. Choose Stretch to output (STRETCH_TO_OUTPUT) to have the service stretch your video image to fit. Keep the setting Default (DEFAULT) to have the service letterbox your video instead. This setting overrides any value that you specify for the setting Selection placement (position) in this output.", - "smithy.api#jsonName": "scalingBehavior" + "smithy.api#documentation": "Use the Height (Height) setting to define the video resolution height for this output. Specify in pixels. If you don't provide a value here, the service will use the input height.", + "smithy.api#jsonName": "height" + } + }, + "Position": { + "target": "com.amazonaws.mediaconvert#Rectangle", + "traits": { + "smithy.api#documentation": "Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black.", + "smithy.api#jsonName": "position" } }, "RespondToAfd": { @@ -15837,18 +15885,25 @@ "smithy.api#jsonName": "respondToAfd" } }, - "Height": { - "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", + "ScalingBehavior": { + "target": "com.amazonaws.mediaconvert#ScalingBehavior", "traits": { - "smithy.api#documentation": "Use the Height (Height) setting to define the video resolution height for this output. Specify in pixels. If you don't provide a value here, the service will use the input height.", - "smithy.api#jsonName": "height" + "smithy.api#documentation": "Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio. Choose Stretch to output (STRETCH_TO_OUTPUT) to have the service stretch your video image to fit. Keep the setting Default (DEFAULT) to have the service letterbox your video instead. This setting overrides any value that you specify for the setting Selection placement (position) in this output.", + "smithy.api#jsonName": "scalingBehavior" } }, - "DropFrameTimecode": { - "target": "com.amazonaws.mediaconvert#DropFrameTimecode", + "Sharpness": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { - "smithy.api#documentation": "Applies only to 29.97 fps outputs. When this feature is enabled, the service will use drop-frame timecode on outputs. If it is not possible to use drop-frame timecode, the system will fall back to non-drop-frame. This setting is enabled by default when Timecode insertion (TimecodeInsertion) is enabled.", - "smithy.api#jsonName": "dropFrameTimecode" + "smithy.api#documentation": "Use Sharpness (Sharpness) setting to specify the strength of anti-aliasing. This setting changes the width of the anti-alias filter kernel used for scaling. Sharpness only applies if your output resolution is different from your input resolution. 0 is the softest setting, 100 the sharpest, and 50 recommended for most content.", + "smithy.api#jsonName": "sharpness" + } + }, + "TimecodeInsertion": { + "target": "com.amazonaws.mediaconvert#VideoTimecodeInsertion", + "traits": { + "smithy.api#documentation": "Applies only to H.264, H.265, MPEG2, and ProRes outputs. Only enable Timecode insertion when the input frame rate is identical to the output frame rate. To include timecodes in this output, set Timecode insertion (VideoTimecodeInsertion) to PIC_TIMING_SEI. To leave them out, set it to DISABLED. Default is DISABLED. When the service inserts timecodes in an output, by default, it uses any embedded timecodes from the input. If none are present, the service will set the timecode for the first output frame to zero. To change this default behavior, adjust the settings under Timecode configuration (TimecodeConfig). In the console, these settings are located under Job > Job settings > Timecode configuration. Note - Timecode source under input settings (InputTimecodeSource) does not affect the timecodes that are inserted in the output. Source under Job settings > Timecode configuration (TimecodeSource) does.", + "smithy.api#jsonName": "timecodeInsertion" } }, "VideoPreprocessors": { @@ -15895,53 +15950,53 @@ "com.amazonaws.mediaconvert#VideoPreprocessor": { "type": "structure", "members": { - "NoiseReducer": { - "target": "com.amazonaws.mediaconvert#NoiseReducer", + "ColorCorrector": { + "target": "com.amazonaws.mediaconvert#ColorCorrector", "traits": { - "smithy.api#documentation": "Enable the Noise reducer (NoiseReducer) feature to remove noise from your video output if necessary. Enable or disable this feature for each output individually. This setting is disabled by default.", - "smithy.api#jsonName": "noiseReducer" + "smithy.api#documentation": "Enable the Color corrector (ColorCorrector) feature if necessary. Enable or disable this feature for each output individually. This setting is disabled by default.", + "smithy.api#jsonName": "colorCorrector" } }, - "TimecodeBurnin": { - "target": "com.amazonaws.mediaconvert#TimecodeBurnin", + "Deinterlacer": { + "target": "com.amazonaws.mediaconvert#Deinterlacer", "traits": { - "smithy.api#documentation": "Timecode burn-in (TimecodeBurnIn)--Burns the output timecode and specified prefix into the output.", - "smithy.api#jsonName": "timecodeBurnin" + "smithy.api#documentation": "Use Deinterlacer (Deinterlacer) to produce smoother motion and a clearer picture.", + "smithy.api#jsonName": "deinterlacer" } }, - "PartnerWatermarking": { - "target": "com.amazonaws.mediaconvert#PartnerWatermarking", + "DolbyVision": { + "target": "com.amazonaws.mediaconvert#DolbyVision", "traits": { - "smithy.api#documentation": "If you work with a third party video watermarking partner, use the group of settings that correspond with your watermarking partner to include watermarks in your output.", - "smithy.api#jsonName": "partnerWatermarking" + "smithy.api#documentation": "Enable Dolby Vision feature to produce Dolby Vision compatible video output.", + "smithy.api#jsonName": "dolbyVision" } }, - "Deinterlacer": { - "target": "com.amazonaws.mediaconvert#Deinterlacer", + "ImageInserter": { + "target": "com.amazonaws.mediaconvert#ImageInserter", "traits": { - "smithy.api#documentation": "Use Deinterlacer (Deinterlacer) to produce smoother motion and a clearer picture.", - "smithy.api#jsonName": "deinterlacer" + "smithy.api#documentation": "Enable the Image inserter (ImageInserter) feature to include a graphic overlay on your video. Enable or disable this feature for each output individually. This setting is disabled by default.", + "smithy.api#jsonName": "imageInserter" } }, - "ColorCorrector": { - "target": "com.amazonaws.mediaconvert#ColorCorrector", + "NoiseReducer": { + "target": "com.amazonaws.mediaconvert#NoiseReducer", "traits": { - "smithy.api#documentation": "Enable the Color corrector (ColorCorrector) feature if necessary. Enable or disable this feature for each output individually. This setting is disabled by default.", - "smithy.api#jsonName": "colorCorrector" + "smithy.api#documentation": "Enable the Noise reducer (NoiseReducer) feature to remove noise from your video output if necessary. Enable or disable this feature for each output individually. This setting is disabled by default.", + "smithy.api#jsonName": "noiseReducer" } }, - "DolbyVision": { - "target": "com.amazonaws.mediaconvert#DolbyVision", + "PartnerWatermarking": { + "target": "com.amazonaws.mediaconvert#PartnerWatermarking", "traits": { - "smithy.api#documentation": "Enable Dolby Vision feature to produce Dolby Vision compatible video output.", - "smithy.api#jsonName": "dolbyVision" + "smithy.api#documentation": "If you work with a third party video watermarking partner, use the group of settings that correspond with your watermarking partner to include watermarks in your output.", + "smithy.api#jsonName": "partnerWatermarking" } }, - "ImageInserter": { - "target": "com.amazonaws.mediaconvert#ImageInserter", + "TimecodeBurnin": { + "target": "com.amazonaws.mediaconvert#TimecodeBurnin", "traits": { - "smithy.api#documentation": "Enable the Image inserter (ImageInserter) feature to include a graphic overlay on your video. Enable or disable this feature for each output individually. This setting is disabled by default.", - "smithy.api#jsonName": "imageInserter" + "smithy.api#documentation": "Timecode burn-in (TimecodeBurnIn)--Burns the output timecode and specified prefix into the output.", + "smithy.api#jsonName": "timecodeBurnin" } } }, @@ -15952,20 +16007,6 @@ "com.amazonaws.mediaconvert#VideoSelector": { "type": "structure", "members": { - "Hdr10Metadata": { - "target": "com.amazonaws.mediaconvert#Hdr10Metadata", - "traits": { - "smithy.api#documentation": "Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video. Appropriate values vary depending on the input video and must be provided by a color grader. The color grader generates these values during the HDR 10 mastering process. The valid range for each of these settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings - When you specify these values, you must also set Color space (ColorSpace) to HDR 10 (HDR10). To specify whether the the values you specify here take precedence over the values in the metadata of your input file, set Color space usage (ColorSpaceUsage). To specify whether color metadata is included in an output, set Color metadata (ColorMetadata). For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.", - "smithy.api#jsonName": "hdr10Metadata" - } - }, - "ProgramNumber": { - "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", - "traits": { - "smithy.api#documentation": "Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported.", - "smithy.api#jsonName": "programNumber" - } - }, "AlphaBehavior": { "target": "com.amazonaws.mediaconvert#AlphaBehavior", "traits": { @@ -15973,6 +16014,13 @@ "smithy.api#jsonName": "alphaBehavior" } }, + "ColorSpace": { + "target": "com.amazonaws.mediaconvert#ColorSpace", + "traits": { + "smithy.api#documentation": "If your input video has accurate color space metadata, or if you don't know about color space, leave this set to the default value Follow (FOLLOW). The service will automatically detect your input color space. If your input video has metadata indicating the wrong color space, specify the accurate color space here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10 (FORCE_HDR10) here and specify correct values in the input HDR 10 metadata (Hdr10Metadata) settings. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.", + "smithy.api#jsonName": "colorSpace" + } + }, "ColorSpaceUsage": { "target": "com.amazonaws.mediaconvert#ColorSpaceUsage", "traits": { @@ -15980,11 +16028,11 @@ "smithy.api#jsonName": "colorSpaceUsage" } }, - "ColorSpace": { - "target": "com.amazonaws.mediaconvert#ColorSpace", + "Hdr10Metadata": { + "target": "com.amazonaws.mediaconvert#Hdr10Metadata", "traits": { - "smithy.api#documentation": "If your input video has accurate color space metadata, or if you don't know about color space, leave this set to the default value Follow (FOLLOW). The service will automatically detect your input color space. If your input video has metadata indicating the wrong color space, specify the accurate color space here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10 (FORCE_HDR10) here and specify correct values in the input HDR 10 metadata (Hdr10Metadata) settings. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.", - "smithy.api#jsonName": "colorSpace" + "smithy.api#documentation": "Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video. Appropriate values vary depending on the input video and must be provided by a color grader. The color grader generates these values during the HDR 10 mastering process. The valid range for each of these settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings - When you specify these values, you must also set Color space (ColorSpace) to HDR 10 (HDR10). To specify whether the the values you specify here take precedence over the values in the metadata of your input file, set Color space usage (ColorSpaceUsage). To specify whether color metadata is included in an output, set Color metadata (ColorMetadata). For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.", + "smithy.api#jsonName": "hdr10Metadata" } }, "Pid": { @@ -15994,6 +16042,13 @@ "smithy.api#jsonName": "pid" } }, + "ProgramNumber": { + "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", + "traits": { + "smithy.api#documentation": "Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported.", + "smithy.api#jsonName": "programNumber" + } + }, "Rotate": { "target": "com.amazonaws.mediaconvert#InputRotate", "traits": { @@ -16025,13 +16080,6 @@ "com.amazonaws.mediaconvert#VorbisSettings": { "type": "structure", "members": { - "SampleRate": { - "target": "com.amazonaws.mediaconvert#__integerMin22050Max48000", - "traits": { - "smithy.api#documentation": "Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The default value is 48000.", - "smithy.api#jsonName": "sampleRate" - } - }, "Channels": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2", "traits": { @@ -16039,6 +16087,13 @@ "smithy.api#jsonName": "channels" } }, + "SampleRate": { + "target": "com.amazonaws.mediaconvert#__integerMin22050Max48000", + "traits": { + "smithy.api#documentation": "Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The default value is 48000.", + "smithy.api#jsonName": "sampleRate" + } + }, "VbrQuality": { "target": "com.amazonaws.mediaconvert#__integerMinNegative1Max10", "traits": { @@ -16134,39 +16189,39 @@ "com.amazonaws.mediaconvert#Vp8Settings": { "type": "structure", "members": { - "FramerateDenominator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "Bitrate": { + "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateDenominator" + "smithy.api#documentation": "Target bitrate in bits/second. For example, enter five megabits per second as 5000000.", + "smithy.api#jsonName": "bitrate" } }, - "ParNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", + "FramerateControl": { + "target": "com.amazonaws.mediaconvert#Vp8FramerateControl", "traits": { - "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", - "smithy.api#jsonName": "parNumerator" + "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", + "smithy.api#jsonName": "framerateControl" } }, - "RateControlMode": { - "target": "com.amazonaws.mediaconvert#Vp8RateControlMode", + "FramerateConversionAlgorithm": { + "target": "com.amazonaws.mediaconvert#Vp8FramerateConversionAlgorithm", "traits": { - "smithy.api#documentation": "With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode.", - "smithy.api#jsonName": "rateControlMode" + "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", + "smithy.api#jsonName": "framerateConversionAlgorithm" } }, - "Bitrate": { - "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", + "FramerateDenominator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Target bitrate in bits/second. For example, enter five megabits per second as 5000000.", - "smithy.api#jsonName": "bitrate" + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateDenominator" } }, - "QualityTuningLevel": { - "target": "com.amazonaws.mediaconvert#Vp8QualityTuningLevel", + "FramerateNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding.", - "smithy.api#jsonName": "qualityTuningLevel" + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateNumerator" } }, "GopSize": { @@ -16176,25 +16231,11 @@ "smithy.api#jsonName": "gopSize" } }, - "ParDenominator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", - "smithy.api#jsonName": "parDenominator" - } - }, - "FramerateControl": { - "target": "com.amazonaws.mediaconvert#Vp8FramerateControl", - "traits": { - "smithy.api#documentation": "If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.", - "smithy.api#jsonName": "framerateControl" - } - }, - "FramerateConversionAlgorithm": { - "target": "com.amazonaws.mediaconvert#Vp8FramerateConversionAlgorithm", + "HrdBufferSize": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max47185920", "traits": { - "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", - "smithy.api#jsonName": "framerateConversionAlgorithm" + "smithy.api#documentation": "Optional. Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", + "smithy.api#jsonName": "hrdBufferSize" } }, "MaxBitrate": { @@ -16211,18 +16252,32 @@ "smithy.api#jsonName": "parControl" } }, - "FramerateNumerator": { + "ParDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateNumerator" + "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", + "smithy.api#jsonName": "parDenominator" } }, - "HrdBufferSize": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max47185920", + "ParNumerator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Optional. Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", - "smithy.api#jsonName": "hrdBufferSize" + "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", + "smithy.api#jsonName": "parNumerator" + } + }, + "QualityTuningLevel": { + "target": "com.amazonaws.mediaconvert#Vp8QualityTuningLevel", + "traits": { + "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding.", + "smithy.api#jsonName": "qualityTuningLevel" + } + }, + "RateControlMode": { + "target": "com.amazonaws.mediaconvert#Vp8RateControlMode", + "traits": { + "smithy.api#documentation": "With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode.", + "smithy.api#jsonName": "rateControlMode" } } }, @@ -16313,20 +16368,6 @@ "com.amazonaws.mediaconvert#Vp9Settings": { "type": "structure", "members": { - "FramerateNumerator": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", - "traits": { - "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", - "smithy.api#jsonName": "framerateNumerator" - } - }, - "ParControl": { - "target": "com.amazonaws.mediaconvert#Vp9ParControl", - "traits": { - "smithy.api#documentation": "Optional. Specify how the service determines the pixel aspect ratio for this output. The default behavior is to use the same pixel aspect ratio as your input video.", - "smithy.api#jsonName": "parControl" - } - }, "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max480000000", "traits": { @@ -16341,6 +16382,13 @@ "smithy.api#jsonName": "framerateControl" } }, + "FramerateConversionAlgorithm": { + "target": "com.amazonaws.mediaconvert#Vp9FramerateConversionAlgorithm", + "traits": { + "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", + "smithy.api#jsonName": "framerateConversionAlgorithm" + } + }, "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { @@ -16348,11 +16396,25 @@ "smithy.api#jsonName": "framerateDenominator" } }, - "ParDenominator": { + "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", - "smithy.api#jsonName": "parDenominator" + "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", + "smithy.api#jsonName": "framerateNumerator" + } + }, + "GopSize": { + "target": "com.amazonaws.mediaconvert#__doubleMin0", + "traits": { + "smithy.api#documentation": "GOP Length (keyframe interval) in frames. Must be greater than zero.", + "smithy.api#jsonName": "gopSize" + } + }, + "HrdBufferSize": { + "target": "com.amazonaws.mediaconvert#__integerMin0Max47185920", + "traits": { + "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", + "smithy.api#jsonName": "hrdBufferSize" } }, "MaxBitrate": { @@ -16362,18 +16424,18 @@ "smithy.api#jsonName": "maxBitrate" } }, - "QualityTuningLevel": { - "target": "com.amazonaws.mediaconvert#Vp9QualityTuningLevel", + "ParControl": { + "target": "com.amazonaws.mediaconvert#Vp9ParControl", "traits": { - "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding.", - "smithy.api#jsonName": "qualityTuningLevel" + "smithy.api#documentation": "Optional. Specify how the service determines the pixel aspect ratio for this output. The default behavior is to use the same pixel aspect ratio as your input video.", + "smithy.api#jsonName": "parControl" } }, - "GopSize": { - "target": "com.amazonaws.mediaconvert#__doubleMin0", + "ParDenominator": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { - "smithy.api#documentation": "GOP Length (keyframe interval) in frames. Must be greater than zero.", - "smithy.api#jsonName": "gopSize" + "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", + "smithy.api#jsonName": "parDenominator" } }, "ParNumerator": { @@ -16383,26 +16445,19 @@ "smithy.api#jsonName": "parNumerator" } }, + "QualityTuningLevel": { + "target": "com.amazonaws.mediaconvert#Vp9QualityTuningLevel", + "traits": { + "smithy.api#documentation": "Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding.", + "smithy.api#jsonName": "qualityTuningLevel" + } + }, "RateControlMode": { "target": "com.amazonaws.mediaconvert#Vp9RateControlMode", "traits": { "smithy.api#documentation": "With the VP9 codec, you can use only the variable bitrate (VBR) rate control mode.", "smithy.api#jsonName": "rateControlMode" } - }, - "FramerateConversionAlgorithm": { - "target": "com.amazonaws.mediaconvert#Vp9FramerateConversionAlgorithm", - "traits": { - "smithy.api#documentation": "Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.", - "smithy.api#jsonName": "framerateConversionAlgorithm" - } - }, - "HrdBufferSize": { - "target": "com.amazonaws.mediaconvert#__integerMin0Max47185920", - "traits": { - "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", - "smithy.api#jsonName": "hrdBufferSize" - } } }, "traits": { @@ -16463,11 +16518,11 @@ "smithy.api#jsonName": "bitDepth" } }, - "SampleRate": { - "target": "com.amazonaws.mediaconvert#__integerMin8000Max192000", + "Channels": { + "target": "com.amazonaws.mediaconvert#__integerMin1Max64", "traits": { - "smithy.api#documentation": "Sample rate in Hz.", - "smithy.api#jsonName": "sampleRate" + "smithy.api#documentation": "Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.", + "smithy.api#jsonName": "channels" } }, "Format": { @@ -16477,11 +16532,11 @@ "smithy.api#jsonName": "format" } }, - "Channels": { - "target": "com.amazonaws.mediaconvert#__integerMin1Max64", + "SampleRate": { + "target": "com.amazonaws.mediaconvert#__integerMin8000Max192000", "traits": { - "smithy.api#documentation": "Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.", - "smithy.api#jsonName": "channels" + "smithy.api#documentation": "Sample rate in Hz.", + "smithy.api#jsonName": "sampleRate" } } }, @@ -16774,6 +16829,15 @@ } } }, + "com.amazonaws.mediaconvert#__integerMin100000Max100000000": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 100000, + "max": 100000000 + } + } + }, "com.amazonaws.mediaconvert#__integerMin1000Max1152000000": { "type": "integer", "traits": { @@ -17107,6 +17171,15 @@ } } }, + "com.amazonaws.mediaconvert#__integerMin3Max15": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 3, + "max": 15 + } + } + }, "com.amazonaws.mediaconvert#__integerMin48000Max48000": { "type": "integer", "traits": { diff --git a/codegen/sdk-codegen/aws-models/quicksight.2018-04-01.json b/codegen/sdk-codegen/aws-models/quicksight.2018-04-01.json index a05a392aa42c..839dfb333e69 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.2018-04-01.json +++ b/codegen/sdk-codegen/aws-models/quicksight.2018-04-01.json @@ -65,10 +65,10 @@ "com.amazonaws.quicksight#AccountSettings": { "type": "structure", "members": { - "DefaultNamespace": { - "target": "com.amazonaws.quicksight#Namespace", + "AccountName": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The default QuickSight namespace for your AWS account.

" + "smithy.api#documentation": "

The \"account name\" you provided for the QuickSight subscription in your AWS account. \n You create this name when you sign up for QuickSight. It is unique in all of AWS and \n it appears only in the console when users sign in.

" } }, "Edition": { @@ -77,10 +77,10 @@ "smithy.api#documentation": "

The edition of QuickSight that you're currently subscribed to:\n Enterprise edition or Standard edition.

" } }, - "AccountName": { - "target": "com.amazonaws.quicksight#String", + "DefaultNamespace": { + "target": "com.amazonaws.quicksight#Namespace", "traits": { - "smithy.api#documentation": "

The \"account name\" you provided for the QuickSight subscription in your AWS account. \n You create this name when you sign up for QuickSight. It is unique in all of AWS and \n it appears only in the console when users sign in.

" + "smithy.api#documentation": "

The default QuickSight namespace for your AWS account.

" } }, "NotificationEmail": { @@ -109,17 +109,17 @@ "com.amazonaws.quicksight#ActiveIAMPolicyAssignment": { "type": "structure", "members": { - "PolicyArn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" - } - }, "AssignmentName": { "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", "traits": { "smithy.api#documentation": "

A name for the IAM policy assignment.

" } + }, + "PolicyArn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + } } }, "traits": { @@ -174,16 +174,22 @@ "com.amazonaws.quicksight#Analysis": { "type": "structure", "members": { + "AnalysisId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "traits": { + "smithy.api#documentation": "

The ID of the analysis.

" + } + }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the analysis.

" } }, - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "Name": { + "target": "com.amazonaws.quicksight#AnalysisName", "traits": { - "smithy.api#documentation": "

The time that the analysis was created.

" + "smithy.api#documentation": "

The descriptive name of the analysis.

" } }, "Status": { @@ -192,6 +198,12 @@ "smithy.api#documentation": "

Status associated with the analysis.

" } }, + "Errors": { + "target": "com.amazonaws.quicksight#AnalysisErrorList", + "traits": { + "smithy.api#documentation": "

Errors associated with the analysis.

" + } + }, "DataSetArns": { "target": "com.amazonaws.quicksight#DataSetArnsList", "traits": { @@ -204,16 +216,10 @@ "smithy.api#documentation": "

The ARN of the theme of the analysis.

" } }, - "AnalysisId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the analysis.

" - } - }, - "Errors": { - "target": "com.amazonaws.quicksight#AnalysisErrorList", + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

Errors associated with the analysis.

" + "smithy.api#documentation": "

The time that the analysis was created.

" } }, "LastUpdatedTime": { @@ -227,12 +233,6 @@ "traits": { "smithy.api#documentation": "

A list of the associated sheets with the unique identifier and name of each sheet.

" } - }, - "Name": { - "target": "com.amazonaws.quicksight#AnalysisName", - "traits": { - "smithy.api#documentation": "

The descriptive name of the analysis.

" - } } }, "traits": { @@ -242,17 +242,17 @@ "com.amazonaws.quicksight#AnalysisError": { "type": "structure", "members": { - "Message": { - "target": "com.amazonaws.quicksight#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The message associated with the analysis error.

" - } - }, "Type": { "target": "com.amazonaws.quicksight#AnalysisErrorType", "traits": { "smithy.api#documentation": "

The type of the analysis error.

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

The message associated with the analysis error.

" + } } }, "traits": { @@ -347,17 +347,17 @@ "smithy.api#documentation": "

The comparison operator that you want to use as a filter, for example\n \"Operator\": \"StringEquals\".

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

The value of the named item, in this case QUICKSIGHT_USER, that you want\n to use as a filter, for example \"Value\". An example is\n \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

" - } - }, "Name": { "target": "com.amazonaws.quicksight#AnalysisFilterAttribute", "traits": { "smithy.api#documentation": "

The name of the value that you want to use as a filter, for example \"Name\":\n \"QUICKSIGHT_USER\".

" } + }, + "Value": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The value of the named item, in this case QUICKSIGHT_USER, that you want\n to use as a filter, for example \"Value\". An example is\n \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

" + } } }, "traits": { @@ -415,22 +415,28 @@ "com.amazonaws.quicksight#AnalysisSummary": { "type": "structure", "members": { + "Arn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the analysis.

" + } + }, "AnalysisId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { "smithy.api#documentation": "

The ID of the analysis. This ID displays in the URL.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "Name": { + "target": "com.amazonaws.quicksight#AnalysisName", "traits": { - "smithy.api#documentation": "

The last known status for the analysis.

" + "smithy.api#documentation": "

The name of the analysis. This name is displayed in the QuickSight console.\n

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "Status": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the analysis.

" + "smithy.api#documentation": "

The last known status for the analysis.

" } }, "CreatedTime": { @@ -439,12 +445,6 @@ "smithy.api#documentation": "

The time that the analysis was created.

" } }, - "Name": { - "target": "com.amazonaws.quicksight#AnalysisName", - "traits": { - "smithy.api#documentation": "

The name of the analysis. This name is displayed in the QuickSight console.\n

" - } - }, "LastUpdatedTime": { "target": "com.amazonaws.quicksight#Timestamp", "traits": { @@ -507,6 +507,13 @@ "com.amazonaws.quicksight#AuroraParameters": { "type": "structure", "members": { + "Host": { + "target": "com.amazonaws.quicksight#Host", + "traits": { + "smithy.api#documentation": "

Host.

", + "smithy.api#required": {} + } + }, "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { @@ -520,13 +527,6 @@ "smithy.api#documentation": "

Database.

", "smithy.api#required": {} } - }, - "Host": { - "target": "com.amazonaws.quicksight#Host", - "traits": { - "smithy.api#documentation": "

Host.

", - "smithy.api#required": {} - } } }, "traits": { @@ -543,17 +543,17 @@ "smithy.api#required": {} } }, - "Database": { - "target": "com.amazonaws.quicksight#Database", + "Port": { + "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#documentation": "

Database.

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

Port.

", "smithy.api#required": {} } }, - "Port": { - "target": "com.amazonaws.quicksight#Port", + "Database": { + "target": "com.amazonaws.quicksight#Database", "traits": { - "smithy.api#documentation": "

Port.

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

Database.

", "smithy.api#required": {} } } @@ -614,17 +614,17 @@ "com.amazonaws.quicksight#CalculatedColumn": { "type": "structure", "members": { - "ColumnId": { - "target": "com.amazonaws.quicksight#ColumnId", + "ColumnName": { + "target": "com.amazonaws.quicksight#ColumnName", "traits": { - "smithy.api#documentation": "

A unique ID to identify a calculated column. During a dataset update, if the column ID\n of a calculated column matches that of an existing calculated column, Amazon QuickSight\n preserves the existing calculated column.

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

Column name.

", "smithy.api#required": {} } }, - "ColumnName": { - "target": "com.amazonaws.quicksight#ColumnName", + "ColumnId": { + "target": "com.amazonaws.quicksight#ColumnId", "traits": { - "smithy.api#documentation": "

Column name.

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

A unique ID to identify a calculated column. During a dataset update, if the column ID\n of a calculated column matches that of an existing calculated column, Amazon QuickSight\n preserves the existing calculated column.

", "smithy.api#required": {} } }, @@ -721,12 +721,6 @@ "com.amazonaws.quicksight#CancelIngestionResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -739,6 +733,12 @@ "smithy.api#documentation": "

An ID for the ingestion.

" } }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -751,17 +751,17 @@ "com.amazonaws.quicksight#CastColumnTypeOperation": { "type": "structure", "members": { - "NewColumnType": { - "target": "com.amazonaws.quicksight#ColumnDataType", + "ColumnName": { + "target": "com.amazonaws.quicksight#ColumnName", "traits": { - "smithy.api#documentation": "

New column data type.

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

Column name.

", "smithy.api#required": {} } }, - "ColumnName": { - "target": "com.amazonaws.quicksight#ColumnName", + "NewColumnType": { + "target": "com.amazonaws.quicksight#ColumnDataType", "traits": { - "smithy.api#documentation": "

Column name.

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

New column data type.

", "smithy.api#required": {} } }, @@ -954,6 +954,37 @@ } } }, + "com.amazonaws.quicksight#ColumnLevelPermissionRule": { + "type": "structure", + "members": { + "Principals": { + "target": "com.amazonaws.quicksight#PrincipalList", + "traits": { + "smithy.api#documentation": "

An array of Amazon Resource Names (ARNs) for QuickSight users or groups.

" + } + }, + "ColumnNames": { + "target": "com.amazonaws.quicksight#ColumnNameList", + "traits": { + "smithy.api#documentation": "

An array of column names.

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

A rule defined to grant access on one or more restricted columns. \n Each dataset can have multiple rules. \n To create a restricted column, you add it to one or more rules. \n Each rule must contain at least one column and at least one user or group. \n To be able to see a restricted column, a user or group needs to be added \n to a rule for that column.

" + } + }, + "com.amazonaws.quicksight#ColumnLevelPermissionRuleList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#ColumnLevelPermissionRule" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, "com.amazonaws.quicksight#ColumnList": { "type": "list", "member": { @@ -975,15 +1006,20 @@ } } }, + "com.amazonaws.quicksight#ColumnNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#String" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, "com.amazonaws.quicksight#ColumnSchema": { "type": "structure", "members": { - "GeographicRole": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The geographic role of the column schema.

" - } - }, "Name": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -995,6 +1031,12 @@ "traits": { "smithy.api#documentation": "

The data type of the column schema.

" } + }, + "GeographicRole": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The geographic role of the column schema.

" + } } }, "traits": { @@ -1048,10 +1090,10 @@ "com.amazonaws.quicksight#ConcurrentUpdatingException": { "type": "structure", "members": { - "RequestId": { + "Message": { "target": "com.amazonaws.quicksight#String" }, - "Message": { + "RequestId": { "target": "com.amazonaws.quicksight#String" } }, @@ -1168,11 +1210,16 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the customization that you created for this AWS account.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The ID for the AWS account that you want to customize QuickSight for.

" + } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The namespace associated with the customization you're creating.

" } }, "AccountCustomization": { @@ -1187,16 +1234,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID for the AWS account that you want to customize QuickSight for.

" - } - }, - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The namespace associated with the customization you're creating.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -1244,58 +1286,58 @@ "com.amazonaws.quicksight#CreateAnalysisRequest": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.quicksight#TagList", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the\n analysis.

" + "smithy.api#documentation": "

The ID of the AWS account where you are creating an analysis.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "ThemeArn": { - "target": "com.amazonaws.quicksight#Arn", + "AnalysisId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The ARN for the theme to apply to the analysis that you're creating. To see the theme\n in the QuickSight console, make sure that you have access to it.

" + "smithy.api#documentation": "

The ID for the analysis that you're creating. This ID displays in the URL of the\n analysis.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "SourceEntity": { - "target": "com.amazonaws.quicksight#AnalysisSourceEntity", + "Name": { + "target": "com.amazonaws.quicksight#AnalysisName", "traits": { - "smithy.api#documentation": "

A source entity to use for the analysis that you're creating. This metadata structure\n contains details that describe a source template and one or more datasets.

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

A descriptive name for the analysis that you're creating. This name displays for the\n analysis in the QuickSight console.

", "smithy.api#required": {} } }, - "AnalysisId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "Parameters": { + "target": "com.amazonaws.quicksight#Parameters", "traits": { - "smithy.api#documentation": "

The ID for the analysis that you're creating. This ID displays in the URL of the\n analysis.

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

The parameter names and override values that you want to use. An analysis can have \n any parameter type, and some parameters might accept multiple values.

" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { - "smithy.api#documentation": "

The ID of the AWS account where you are creating an analysis.

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

A structure that describes the principals and the resource-level permissions on an\n analysis. You can use the Permissions structure to grant permissions by\n providing a list of AWS Identity and Access Management (IAM) action information for each\n principal listed by Amazon Resource Name (ARN).

\n \n

To specify no permissions, omit Permissions.

" } }, - "Name": { - "target": "com.amazonaws.quicksight#AnalysisName", + "SourceEntity": { + "target": "com.amazonaws.quicksight#AnalysisSourceEntity", "traits": { - "smithy.api#documentation": "

A descriptive name for the analysis that you're creating. This name displays for the\n analysis in the QuickSight console.

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

A source entity to use for the analysis that you're creating. This metadata structure\n contains details that describe a source template and one or more datasets.

", "smithy.api#required": {} } }, - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", + "ThemeArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

A structure that describes the principals and the resource-level permissions on an\n analysis. You can use the Permissions structure to grant permissions by\n providing a list of AWS Identity and Access Management (IAM) action information for each\n principal listed by Amazon Resource Name (ARN).

\n \n

To specify no permissions, omit Permissions.

" + "smithy.api#documentation": "

The ARN for the theme to apply to the analysis that you're creating. To see the theme\n in the QuickSight console, make sure that you have access to it.

" } }, - "Parameters": { - "target": "com.amazonaws.quicksight#Parameters", + "Tags": { + "target": "com.amazonaws.quicksight#TagList", "traits": { - "smithy.api#documentation": "

The parameter names and override values that you want to use. An analysis can have \n any parameter type, and some parameters might accept multiple values.

" + "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the\n analysis.

" } } } @@ -1303,10 +1345,10 @@ "com.amazonaws.quicksight#CreateAnalysisResponse": { "type": "structure", "members": { - "CreationStatus": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The status of the creation of the analysis.

" + "smithy.api#documentation": "

The ARN for the analysis.

" } }, "AnalysisId": { @@ -1315,6 +1357,12 @@ "smithy.api#documentation": "

The ID of the analysis.

" } }, + "CreationStatus": { + "target": "com.amazonaws.quicksight#ResourceStatus", + "traits": { + "smithy.api#documentation": "

The status of the creation of the analysis.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -1322,12 +1370,6 @@ "smithy.api#httpResponseCode": {} } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The ARN for the analysis.

" - } - }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -1394,20 +1436,6 @@ "com.amazonaws.quicksight#CreateDashboardRequest": { "type": "structure", "members": { - "DashboardId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID for the dashboard, also added to the IAM policy.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "VersionDescription": { - "target": "com.amazonaws.quicksight#VersionDescription", - "traits": { - "smithy.api#documentation": "

A description for the first version of the dashboard being created.

" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -1416,10 +1444,12 @@ "smithy.api#required": {} } }, - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", + "DashboardId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

A structure that contains the permissions of the dashboard. You can use this structure\n for granting permissions by providing a list of IAM action information for each\n principal ARN.

\n \n

To specify no permissions, omit the permissions list.

" + "smithy.api#documentation": "

The ID for the dashboard, also added to the IAM policy.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "Name": { @@ -1435,10 +1465,10 @@ "smithy.api#documentation": "

The parameters for the creation of the dashboard, which you want to use to override\n the default settings. A dashboard can have any type of parameters, and some parameters\n might accept multiple values.

" } }, - "Tags": { - "target": "com.amazonaws.quicksight#TagList", + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { - "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the\n dashboard.

" + "smithy.api#documentation": "

A structure that contains the permissions of the dashboard. You can use this structure\n for granting permissions by providing a list of IAM action information for each\n principal ARN.

\n \n

To specify no permissions, omit the permissions list.

" } }, "SourceEntity": { @@ -1448,10 +1478,16 @@ "smithy.api#required": {} } }, - "ThemeArn": { - "target": "com.amazonaws.quicksight#Arn", + "Tags": { + "target": "com.amazonaws.quicksight#TagList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If\n you add a value for this field, it overrides the value that is used in the source\n entity. The theme ARN must exist in the same AWS account where you create the\n dashboard.

" + "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the\n dashboard.

" + } + }, + "VersionDescription": { + "target": "com.amazonaws.quicksight#VersionDescription", + "traits": { + "smithy.api#documentation": "

A description for the first version of the dashboard being created.

" } }, "DashboardPublishOptions": { @@ -1459,23 +1495,28 @@ "traits": { "smithy.api#documentation": "

Options for publishing the dashboard when you create it:

\n " } + }, + "ThemeArn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If\n you add a value for this field, it overrides the value that is used in the source\n entity. The theme ARN must exist in the same AWS account where you create the\n dashboard.

" + } } } }, "com.amazonaws.quicksight#CreateDashboardResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The ARN of the dashboard.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "VersionArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The ARN of the dashboard, including the version number of the first version that is\n created.

" } }, "DashboardId": { @@ -1484,22 +1525,23 @@ "smithy.api#documentation": "

The ID for the dashboard.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "CreationStatus": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

The ARN of the dashboard.

" + "smithy.api#documentation": "

The status of the dashboard creation request.

" } }, - "VersionArn": { - "target": "com.amazonaws.quicksight#Arn", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The ARN of the dashboard, including the version number of the first version that is\n created.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } }, - "CreationStatus": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The status of the dashboard creation request.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -1553,19 +1595,14 @@ "com.amazonaws.quicksight#CreateDataSetRequest": { "type": "structure", "members": { - "ImportMode": { - "target": "com.amazonaws.quicksight#DataSetImportMode", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

Indicates whether you want to import the data into SPICE.

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

The AWS account ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "RowLevelPermissionDataSet": { - "target": "com.amazonaws.quicksight#RowLevelPermissionDataSet", - "traits": { - "smithy.api#documentation": "

The row-level security configuration for the data that you want to create.

" - } - }, "DataSetId": { "target": "com.amazonaws.quicksight#ResourceId", "traits": { @@ -1573,10 +1610,11 @@ "smithy.api#required": {} } }, - "LogicalTableMap": { - "target": "com.amazonaws.quicksight#LogicalTableMap", + "Name": { + "target": "com.amazonaws.quicksight#ResourceName", "traits": { - "smithy.api#documentation": "

Configures the combination and transformation of the data from the physical tables.

" + "smithy.api#documentation": "

The display name for the dataset.

", + "smithy.api#required": {} } }, "PhysicalTableMap": { @@ -1586,10 +1624,17 @@ "smithy.api#required": {} } }, - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", + "LogicalTableMap": { + "target": "com.amazonaws.quicksight#LogicalTableMap", "traits": { - "smithy.api#documentation": "

A list of resource permissions on the dataset.

" + "smithy.api#documentation": "

Configures the combination and transformation of the data from the physical tables.

" + } + }, + "ImportMode": { + "target": "com.amazonaws.quicksight#DataSetImportMode", + "traits": { + "smithy.api#documentation": "

Indicates whether you want to import the data into SPICE.

", + "smithy.api#required": {} } }, "ColumnGroups": { @@ -1598,25 +1643,28 @@ "smithy.api#documentation": "

Groupings of columns that work together in certain QuickSight features. Currently, only geospatial hierarchy is supported.

" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { - "smithy.api#documentation": "

The AWS account ID.

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

A list of resource permissions on the dataset.

" } }, - "Tags": { - "target": "com.amazonaws.quicksight#TagList", + "RowLevelPermissionDataSet": { + "target": "com.amazonaws.quicksight#RowLevelPermissionDataSet", "traits": { - "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

" + "smithy.api#documentation": "

The row-level security configuration for the data that you want to create.

" } }, - "Name": { - "target": "com.amazonaws.quicksight#ResourceName", + "ColumnLevelPermissionRules": { + "target": "com.amazonaws.quicksight#ColumnLevelPermissionRuleList", "traits": { - "smithy.api#documentation": "

The display name for the dataset.

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

A set of one or more definitions of a \n ColumnLevelPermissionRule\n .

" + } + }, + "Tags": { + "target": "com.amazonaws.quicksight#TagList", + "traits": { + "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

" } } } @@ -1624,28 +1672,28 @@ "com.amazonaws.quicksight#CreateDataSetResponse": { "type": "structure", "members": { - "IngestionId": { - "target": "com.amazonaws.quicksight#ResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the ingestion, which is triggered as a result of dataset creation if the import\n\t\t\tmode is SPICE.

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" } }, + "DataSetId": { + "target": "com.amazonaws.quicksight#ResourceId", + "traits": { + "smithy.api#documentation": "

The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

" + } + }, "IngestionArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The ARN for the ingestion, which is triggered as a result of dataset creation if the import\n\t\t\tmode is SPICE.

" } }, - "DataSetId": { + "IngestionId": { "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

" + "smithy.api#documentation": "

The ID of the ingestion, which is triggered as a result of dataset creation if the import\n\t\t\tmode is SPICE.

" } }, "RequestId": { @@ -1709,22 +1757,26 @@ "com.amazonaws.quicksight#CreateDataSourceRequest": { "type": "structure", "members": { - "Credentials": { - "target": "com.amazonaws.quicksight#DataSourceCredentials", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The credentials QuickSight that uses to connect to your underlying source. Currently, only\n\t\t\tcredentials based on user name and password are supported.

" + "smithy.api#documentation": "

The AWS account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", + "DataSourceId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

A list of resource permissions on the data source.

" + "smithy.api#documentation": "

An ID for the data source. This ID is unique per AWS Region for each AWS account.

", + "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.quicksight#TagList", + "Name": { + "target": "com.amazonaws.quicksight#ResourceName", "traits": { - "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.

" + "smithy.api#documentation": "

A display name for the data source.

", + "smithy.api#required": {} } }, "Type": { @@ -1734,10 +1786,22 @@ "smithy.api#required": {} } }, - "SslProperties": { - "target": "com.amazonaws.quicksight#SslProperties", + "DataSourceParameters": { + "target": "com.amazonaws.quicksight#DataSourceParameters", "traits": { - "smithy.api#documentation": "

Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.

" + "smithy.api#documentation": "

The parameters that QuickSight uses to connect to your underlying source.

" + } + }, + "Credentials": { + "target": "com.amazonaws.quicksight#DataSourceCredentials", + "traits": { + "smithy.api#documentation": "

The credentials QuickSight that uses to connect to your underlying source. Currently, only\n\t\t\tcredentials based on user name and password are supported.

" + } + }, + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", + "traits": { + "smithy.api#documentation": "

A list of resource permissions on the data source.

" } }, "VpcConnectionProperties": { @@ -1746,32 +1810,16 @@ "smithy.api#documentation": "

Use this parameter only when you want QuickSight to use a VPC connection when connecting to\n\t\t\tyour underlying source.

" } }, - "Name": { - "target": "com.amazonaws.quicksight#ResourceName", + "SslProperties": { + "target": "com.amazonaws.quicksight#SslProperties", "traits": { - "smithy.api#documentation": "

A display name for the data source.

", - "smithy.api#required": {} - } - }, - "DataSourceId": { - "target": "com.amazonaws.quicksight#ResourceId", - "traits": { - "smithy.api#documentation": "

An ID for the data source. This ID is unique per AWS Region for each AWS account.

", - "smithy.api#required": {} - } - }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The AWS account ID.

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

Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.

" } }, - "DataSourceParameters": { - "target": "com.amazonaws.quicksight#DataSourceParameters", + "Tags": { + "target": "com.amazonaws.quicksight#TagList", "traits": { - "smithy.api#documentation": "

The parameters that QuickSight uses to connect to your underlying source.

" + "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.

" } } } @@ -1785,12 +1833,6 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data source.

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

The AWS request ID for this operation.

" - } - }, "DataSourceId": { "target": "com.amazonaws.quicksight#ResourceId", "traits": { @@ -1803,6 +1845,12 @@ "smithy.api#documentation": "

The status of creating the data source.

" } }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -1901,34 +1949,34 @@ "com.amazonaws.quicksight#CreateGroupMembershipRequest": { "type": "structure", "members": { - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", + "MemberName": { + "target": "com.amazonaws.quicksight#GroupMemberName", "traits": { - "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

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

The name of the user that you want to add to the group membership.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "GroupName": { + "target": "com.amazonaws.quicksight#GroupName", "traits": { - "smithy.api#documentation": "

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

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

The name of the group that you want to add the user to.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "GroupName": { - "target": "com.amazonaws.quicksight#GroupName", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The name of the group that you want to add the user to.

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

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "MemberName": { - "target": "com.amazonaws.quicksight#GroupMemberName", + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", "traits": { - "smithy.api#documentation": "

The name of the user that you want to add to the group membership.

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

The namespace. Currently, you should set this to default.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1938,6 +1986,12 @@ "com.amazonaws.quicksight#CreateGroupMembershipResponse": { "type": "structure", "members": { + "GroupMember": { + "target": "com.amazonaws.quicksight#GroupMember", + "traits": { + "smithy.api#documentation": "

The group member.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -1950,26 +2004,25 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "GroupMember": { - "target": "com.amazonaws.quicksight#GroupMember", - "traits": { - "smithy.api#documentation": "

The group member.

" - } } } }, "com.amazonaws.quicksight#CreateGroupRequest": { "type": "structure", "members": { - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", + "GroupName": { + "target": "com.amazonaws.quicksight#GroupName", "traits": { - "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

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

A name for the group that you want to create.

", "smithy.api#required": {} } }, + "Description": { + "target": "com.amazonaws.quicksight#GroupDescription", + "traits": { + "smithy.api#documentation": "

A description for the group that you want to create.

" + } + }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -1978,16 +2031,11 @@ "smithy.api#required": {} } }, - "Description": { - "target": "com.amazonaws.quicksight#GroupDescription", - "traits": { - "smithy.api#documentation": "

A description for the group that you want to create.

" - } - }, - "GroupName": { - "target": "com.amazonaws.quicksight#GroupName", + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", "traits": { - "smithy.api#documentation": "

A name for the group that you want to create.

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

The namespace. Currently, you should set this to default.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } } @@ -1999,18 +2047,18 @@ "com.amazonaws.quicksight#CreateGroupResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "Group": { "target": "com.amazonaws.quicksight#Group", "traits": { "smithy.api#documentation": "

The name of the group.

" } }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -2055,7 +2103,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name\n\t\t\t(ARN). This policy will be assigned to specified groups or users of Amazon QuickSight.\n\t\t\tThe users and groups need to be in the same namespace.

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

Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name \n\t\t\t(ARN). This policy assignment is attached to the specified groups or users of Amazon QuickSight.\n\t\t\tAssignment names are unique per AWS account. To avoid overwriting rules in other namespaces, \n\t\t\tuse assignment names that are unique.

", "smithy.api#http": { "method": "POST", "uri": "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments", @@ -2066,19 +2114,6 @@ "com.amazonaws.quicksight#CreateIAMPolicyAssignmentRequest": { "type": "structure", "members": { - "AssignmentName": { - "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", - "traits": { - "smithy.api#documentation": "

The name of the assignment. It must be unique within an AWS account.

", - "smithy.api#required": {} - } - }, - "Identities": { - "target": "com.amazonaws.quicksight#IdentityMap", - "traits": { - "smithy.api#documentation": "

The QuickSight users, groups, or both that you want to assign the policy to.

" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -2087,11 +2122,10 @@ "smithy.api#required": {} } }, - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", + "AssignmentName": { + "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", "traits": { - "smithy.api#documentation": "

The namespace that contains the assignment.

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

The name of the assignment, also called a rule. It must be unique within an AWS account.

", "smithy.api#required": {} } }, @@ -2107,23 +2141,30 @@ "traits": { "smithy.api#documentation": "

The ARN for the IAM policy to apply to the QuickSight users and groups\n\t\t\tspecified in this assignment.

" } + }, + "Identities": { + "target": "com.amazonaws.quicksight#IdentityMap", + "traits": { + "smithy.api#documentation": "

The QuickSight users, groups, or both that you want to assign the policy to.

" + } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The namespace that contains the assignment.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } } } }, "com.amazonaws.quicksight#CreateIAMPolicyAssignmentResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, - "PolicyArn": { - "target": "com.amazonaws.quicksight#Arn", + "AssignmentName": { + "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", "traits": { - "smithy.api#documentation": "

The ARN for the IAM policy that is applied to the QuickSight users and groups specified in this assignment.

" + "smithy.api#documentation": "

The name of the assignment. This name must be unique within the AWS account.

" } }, "AssignmentId": { @@ -2132,10 +2173,16 @@ "smithy.api#documentation": "

The ID for the assignment.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "AssignmentStatus": { + "target": "com.amazonaws.quicksight#AssignmentStatus", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The status of the assignment. Possible values are as follows:

\n\t\t " + } + }, + "PolicyArn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The ARN for the IAM policy that is applied to the QuickSight users and groups specified in this assignment.

" } }, "Identities": { @@ -2144,16 +2191,17 @@ "smithy.api#documentation": "

The QuickSight users, groups, or both that the IAM policy is assigned to.

" } }, - "AssignmentName": { - "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The name of the assignment. This name must be unique within the AWS account.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "AssignmentStatus": { - "target": "com.amazonaws.quicksight#AssignmentStatus", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The status of the assignment. Possible values are as follows:

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

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -2201,18 +2249,18 @@ "com.amazonaws.quicksight#CreateIngestionRequest": { "type": "structure", "members": { - "IngestionId": { - "target": "com.amazonaws.quicksight#IngestionId", + "DataSetId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

An ID for the ingestion.

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

The ID of the dataset used in the ingestion.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "DataSetId": { - "target": "com.amazonaws.quicksight#String", + "IngestionId": { + "target": "com.amazonaws.quicksight#IngestionId", "traits": { - "smithy.api#documentation": "

The ID of the dataset used in the ingestion.

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

An ID for the ingestion.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2230,35 +2278,35 @@ "com.amazonaws.quicksight#CreateIngestionResponse": { "type": "structure", "members": { - "IngestionStatus": { - "target": "com.amazonaws.quicksight#IngestionStatus", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The ingestion status.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the data ingestion.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "IngestionId": { + "target": "com.amazonaws.quicksight#IngestionId", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

An ID for the ingestion.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "IngestionStatus": { + "target": "com.amazonaws.quicksight#IngestionStatus", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The ingestion status.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the data ingestion.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "IngestionId": { - "target": "com.amazonaws.quicksight#IngestionId", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

An ID for the ingestion.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -2315,10 +2363,12 @@ "com.amazonaws.quicksight#CreateNamespaceRequest": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.quicksight#TagList", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The tags that you want to associate with the namespace that you're creating.

" + "smithy.api#documentation": "

The ID for the AWS account that you want to create the QuickSight namespace in.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "Namespace": { @@ -2335,12 +2385,10 @@ "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "Tags": { + "target": "com.amazonaws.quicksight#TagList", "traits": { - "smithy.api#documentation": "

The ID for the AWS account that you want to create the QuickSight namespace in.

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

The tags that you want to associate with the namespace that you're creating.

" } } } @@ -2348,10 +2396,10 @@ "com.amazonaws.quicksight#CreateNamespaceResponse": { "type": "structure", "members": { - "IdentityStore": { - "target": "com.amazonaws.quicksight#IdentityStore", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

Specifies the type of your user identity directory. Currently, this supports users\n with an identity type of QUICKSIGHT.

" + "smithy.api#documentation": "

The ARN of the QuickSight namespace you created.

" } }, "Name": { @@ -2360,35 +2408,35 @@ "smithy.api#documentation": "

The name of the new namespace that you created.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, "CapacityRegion": { "target": "com.amazonaws.quicksight#String", "traits": { "smithy.api#documentation": "

The AWS Region that you want to use for the free SPICE capacity for the new namespace.\n This is set to the region that you run CreateNamespace in.

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

The AWS request ID for this operation.

" - } - }, "CreationStatus": { "target": "com.amazonaws.quicksight#NamespaceStatus", "traits": { "smithy.api#documentation": "

The status of the creation of the namespace. This is an asynchronous process. A status\n of CREATED means that your namespace is ready to use. If an error occurs,\n it indicates if the process is retryable or non-retryable. In\n the case of a non-retryable error, refer to the error message for follow-up\n tasks.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "IdentityStore": { + "target": "com.amazonaws.quicksight#IdentityStore", "traits": { - "smithy.api#documentation": "

The ARN of the QuickSight namespace you created.

" + "smithy.api#documentation": "

Specifies the type of your user identity directory. Currently, this supports users\n with an identity type of QUICKSIGHT.

" + } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -2490,10 +2538,11 @@ "smithy.api#required": {} } }, - "TemplateVersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The version number of the template.

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

An ID for the template.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, @@ -2505,11 +2554,10 @@ "smithy.api#required": {} } }, - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "TemplateVersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

An ID for the template.

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

The version number of the template.

", "smithy.api#required": {} } } @@ -2518,6 +2566,12 @@ "com.amazonaws.quicksight#CreateTemplateAliasResponse": { "type": "structure", "members": { + "TemplateAlias": { + "target": "com.amazonaws.quicksight#TemplateAlias", + "traits": { + "smithy.api#documentation": "

Information about the template alias.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -2530,35 +2584,24 @@ "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } - }, - "TemplateAlias": { - "target": "com.amazonaws.quicksight#TemplateAlias", - "traits": { - "smithy.api#documentation": "

Information about the template alias.

" - } } } }, "com.amazonaws.quicksight#CreateTemplateRequest": { "type": "structure", "members": { - "VersionDescription": { - "target": "com.amazonaws.quicksight#VersionDescription", - "traits": { - "smithy.api#documentation": "

A description of the current template version being created. This API operation creates the\n\t\t\tfirst version of the template. Every time UpdateTemplate is called, a new\n\t\t\tversion is created. Each version of the template maintains a description of the version\n\t\t\tin the VersionDescription field.

" - } - }, - "SourceEntity": { - "target": "com.amazonaws.quicksight#TemplateSourceEntity", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The entity that you are using as a source when you create the template. In\n\t\t\tSourceEntity, you specify the type of object you're using as source:\n\t\t\tSourceTemplate for a template or SourceAnalysis for an\n\t\t\tanalysis. Both of these require an Amazon Resource Name (ARN). For\n\t\t\tSourceTemplate, specify the ARN of the source template. For\n\t\t\tSourceAnalysis, specify the ARN of the source analysis. The SourceTemplate\n\t\t\tARN can contain any AWS Account and any QuickSight-supported AWS Region.

\n\t\t

Use the DataSetReferences entity within SourceTemplate or\n\t\t\tSourceAnalysis to list the replacement datasets for the placeholders listed\n\t\t\tin the original. The schema in each dataset must match its placeholder.

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

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

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

An ID for the template that you want to create. This template is unique per AWS Region in\n\t\t\teach AWS account.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2569,24 +2612,29 @@ "smithy.api#documentation": "

A display name for the template.

" } }, - "Tags": { - "target": "com.amazonaws.quicksight#TagList", + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { - "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

" + "smithy.api#documentation": "

A list of resource permissions to be set on the template.

" } }, - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "SourceEntity": { + "target": "com.amazonaws.quicksight#TemplateSourceEntity", "traits": { - "smithy.api#documentation": "

An ID for the template that you want to create. This template is unique per AWS Region in\n\t\t\teach AWS account.

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

The entity that you are using as a source when you create the template. In\n\t\t\tSourceEntity, you specify the type of object you're using as source:\n\t\t\tSourceTemplate for a template or SourceAnalysis for an\n\t\t\tanalysis. Both of these require an Amazon Resource Name (ARN). For\n\t\t\tSourceTemplate, specify the ARN of the source template. For\n\t\t\tSourceAnalysis, specify the ARN of the source analysis. The SourceTemplate\n\t\t\tARN can contain any AWS Account and any QuickSight-supported AWS Region.

\n\t\t

Use the DataSetReferences entity within SourceTemplate or\n\t\t\tSourceAnalysis to list the replacement datasets for the placeholders listed\n\t\t\tin the original. The schema in each dataset must match its placeholder.

", "smithy.api#required": {} } }, - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", + "Tags": { + "target": "com.amazonaws.quicksight#TagList", "traits": { - "smithy.api#documentation": "

A list of resource permissions to be set on the template.

" + "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

" + } + }, + "VersionDescription": { + "target": "com.amazonaws.quicksight#VersionDescription", + "traits": { + "smithy.api#documentation": "

A description of the current template version being created. This API operation creates the\n\t\t\tfirst version of the template. Every time UpdateTemplate is called, a new\n\t\t\tversion is created. Each version of the template maintains a description of the version\n\t\t\tin the VersionDescription field.

" } } } @@ -2594,23 +2642,10 @@ "com.amazonaws.quicksight#CreateTemplateResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, - "CreationStatus": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The template creation status.

" + "smithy.api#documentation": "

The ARN for the template.

" } }, "VersionArn": { @@ -2625,10 +2660,23 @@ "smithy.api#documentation": "

The ID of the template.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "CreationStatus": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

The ARN for the template.

" + "smithy.api#documentation": "

The template creation status.

" + } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -2722,6 +2770,14 @@ "com.amazonaws.quicksight#CreateThemeAliasRequest": { "type": "structure", "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that contains the theme for the new theme alias.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "ThemeId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { @@ -2738,14 +2794,6 @@ "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the theme for the new theme alias.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "ThemeVersionNumber": { "target": "com.amazonaws.quicksight#VersionNumber", "traits": { @@ -2758,10 +2806,10 @@ "com.amazonaws.quicksight#CreateThemeAliasResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "ThemeAlias": { + "target": "com.amazonaws.quicksight#ThemeAlias", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

Information about the theme alias.

" } }, "Status": { @@ -2771,10 +2819,10 @@ "smithy.api#httpResponseCode": {} } }, - "ThemeAlias": { - "target": "com.amazonaws.quicksight#ThemeAlias", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

Information about the theme alias.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -2782,6 +2830,14 @@ "com.amazonaws.quicksight#CreateThemeRequest": { "type": "structure", "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account where you want to store the new theme.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "ThemeId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { @@ -2790,6 +2846,20 @@ "smithy.api#required": {} } }, + "Name": { + "target": "com.amazonaws.quicksight#ThemeName", + "traits": { + "smithy.api#documentation": "

A display name for the theme.

", + "smithy.api#required": {} + } + }, + "BaseThemeId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "traits": { + "smithy.api#documentation": "

The ID of the theme that a custom theme will inherit from. All themes inherit from one of\n\t\t\tthe starting themes defined by Amazon QuickSight. For a list of the starting themes, use\n\t\t\t\tListThemes or choose Themes from\n\t\t\twithin a QuickSight analysis.

", + "smithy.api#required": {} + } + }, "VersionDescription": { "target": "com.amazonaws.quicksight#VersionDescription", "traits": { @@ -2803,57 +2873,23 @@ "smithy.api#required": {} } }, - "BaseThemeId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the theme that a custom theme will inherit from. All themes inherit from one of\n\t\t\tthe starting themes defined by Amazon QuickSight. For a list of the starting themes, use\n\t\t\t\tListThemes or choose Themes from\n\t\t\twithin a QuickSight analysis.

", - "smithy.api#required": {} - } - }, "Permissions": { "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { "smithy.api#documentation": "

A valid grouping of resource permissions to apply to the new theme.\n\t\t\t

" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID of the AWS account where you want to store the new theme.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "Tags": { "target": "com.amazonaws.quicksight#TagList", "traits": { "smithy.api#documentation": "

A map of the key-value pairs for the resource tag or tags that you want to add to the\n\t\t\tresource.

" } - }, - "Name": { - "target": "com.amazonaws.quicksight#ThemeName", - "traits": { - "smithy.api#documentation": "

A display name for the theme.

", - "smithy.api#required": {} - } } } }, "com.amazonaws.quicksight#CreateThemeResponse": { "type": "structure", "members": { - "CreationStatus": { - "target": "com.amazonaws.quicksight#ResourceStatus", - "traits": { - "smithy.api#documentation": "

The theme creation status.

" - } - }, - "ThemeId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the theme.

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -2866,10 +2902,16 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the new theme.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "ThemeId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The ID of the theme.

" + } + }, + "CreationStatus": { + "target": "com.amazonaws.quicksight#ResourceStatus", + "traits": { + "smithy.api#documentation": "

The theme creation status.

" } }, "Status": { @@ -2878,6 +2920,12 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } } } }, @@ -2891,18 +2939,18 @@ "smithy.api#required": {} } }, - "AlternateDataSourceParameters": { - "target": "com.amazonaws.quicksight#DataSourceParametersList", - "traits": { - "smithy.api#documentation": "

A set of alternate data source parameters that you want to share for these\n credentials. The credentials are applied in tandem with the data source parameters when\n you copy a data source by using a create or update request. The API operation compares\n the DataSourceParameters structure that's in the request with the\n structures in the AlternateDataSourceParameters allow list. If the\n structures are an exact match, the request is allowed to use the new data source with\n the existing credentials. If the AlternateDataSourceParameters list is\n null, the DataSourceParameters originally used with these\n Credentials is automatically allowed.

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

Password.

", "smithy.api#required": {} } + }, + "AlternateDataSourceParameters": { + "target": "com.amazonaws.quicksight#DataSourceParametersList", + "traits": { + "smithy.api#documentation": "

A set of alternate data source parameters that you want to share for these\n credentials. The credentials are applied in tandem with the data source parameters when\n you copy a data source by using a create or update request. The API operation compares\n the DataSourceParameters structure that's in the request with the\n structures in the AlternateDataSourceParameters allow list. If the\n structures are an exact match, the request is allowed to use the new data source with\n the existing credentials. If the AlternateDataSourceParameters list is\n null, the DataSourceParameters originally used with these\n Credentials is automatically allowed.

" + } } }, "traits": { @@ -2912,16 +2960,10 @@ "com.amazonaws.quicksight#CustomSql": { "type": "structure", "members": { - "Columns": { - "target": "com.amazonaws.quicksight#InputColumnList", - "traits": { - "smithy.api#documentation": "

The column schema from the SQL query result set.

" - } - }, - "SqlQuery": { - "target": "com.amazonaws.quicksight#SqlQuery", + "DataSourceArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The SQL query.

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

The Amazon Resource Name (ARN) of the data source.

", "smithy.api#required": {} } }, @@ -2932,12 +2974,18 @@ "smithy.api#required": {} } }, - "DataSourceArn": { - "target": "com.amazonaws.quicksight#Arn", + "SqlQuery": { + "target": "com.amazonaws.quicksight#SqlQuery", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data source.

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

The SQL query.

", "smithy.api#required": {} } + }, + "Columns": { + "target": "com.amazonaws.quicksight#InputColumnList", + "traits": { + "smithy.api#documentation": "

The column schema from the SQL query result set.

" + } } }, "traits": { @@ -2956,22 +3004,22 @@ "com.amazonaws.quicksight#Dashboard": { "type": "structure", "members": { - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", - "traits": { - "smithy.api#documentation": "

The time that this dataset was created.

" - } - }, "DashboardId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { "smithy.api#documentation": "

Dashboard ID.

" } }, - "LastPublishedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The last time that this dataset was published.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + } + }, + "Name": { + "target": "com.amazonaws.quicksight#DashboardName", + "traits": { + "smithy.api#documentation": "

A display name for the dashboard.

" } }, "Version": { @@ -2980,22 +3028,22 @@ "smithy.api#documentation": "

Version.

" } }, - "Name": { - "target": "com.amazonaws.quicksight#DashboardName", + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

A display name for the dashboard.

" + "smithy.api#documentation": "

The time that this dataset was created.

" } }, - "LastUpdatedTime": { + "LastPublishedTime": { "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The last time that this dataset was updated.

" + "smithy.api#documentation": "

The last time that this dataset was published.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "LastUpdatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + "smithy.api#documentation": "

The last time that this dataset was updated.

" } } }, @@ -3126,17 +3174,17 @@ "smithy.api#documentation": "

Ad hoc (one-time) filtering option.

" } }, - "SheetControlsOption": { - "target": "com.amazonaws.quicksight#SheetControlsOption", - "traits": { - "smithy.api#documentation": "

Sheet controls option.

" - } - }, "ExportToCSVOption": { "target": "com.amazonaws.quicksight#ExportToCSVOption", "traits": { "smithy.api#documentation": "

Export to .csv option.

" } + }, + "SheetControlsOption": { + "target": "com.amazonaws.quicksight#SheetControlsOption", + "traits": { + "smithy.api#documentation": "

Sheet controls option.

" + } } }, "traits": { @@ -3153,17 +3201,17 @@ "smithy.api#required": {} } }, - "Value": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The value of the named item, in this case QUICKSIGHT_USER, that you want\n to use as a filter, for example, \"Value\":\n \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

" - } - }, "Name": { "target": "com.amazonaws.quicksight#DashboardFilterAttribute", "traits": { "smithy.api#documentation": "

The name of the value that you want to use as a filter, for example, \"Name\":\n \"QUICKSIGHT_USER\".

" } + }, + "Value": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The value of the named item, in this case QUICKSIGHT_USER, that you want\n to use as a filter, for example, \"Value\":\n \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\".

" + } } }, "traits": { @@ -3221,22 +3269,10 @@ "com.amazonaws.quicksight#DashboardSummary": { "type": "structure", "members": { - "PublishedVersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", - "traits": { - "smithy.api#documentation": "

Published version number.

" - } - }, - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", - "traits": { - "smithy.api#documentation": "

The time that this dashboard was created.

" - } - }, - "LastPublishedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The last time that this dashboard was published.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" } }, "DashboardId": { @@ -3251,16 +3287,28 @@ "smithy.api#documentation": "

A display name for the dashboard.

" } }, + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", + "traits": { + "smithy.api#documentation": "

The time that this dashboard was created.

" + } + }, "LastUpdatedTime": { "target": "com.amazonaws.quicksight#Timestamp", "traits": { "smithy.api#documentation": "

The last time that this dashboard was updated.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "PublishedVersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + "smithy.api#documentation": "

Published version number.

" + } + }, + "LastPublishedTime": { + "target": "com.amazonaws.quicksight#Timestamp", + "traits": { + "smithy.api#documentation": "

The last time that this dashboard was published.

" } } }, @@ -3298,34 +3346,34 @@ "com.amazonaws.quicksight#DashboardVersion": { "type": "structure", "members": { - "Sheets": { - "target": "com.amazonaws.quicksight#SheetList", + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

A list of the associated sheets with the unique identifier and name of each sheet.

" + "smithy.api#documentation": "

The time that this dashboard version was created.

" } }, - "VersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "Errors": { + "target": "com.amazonaws.quicksight#DashboardErrorList", "traits": { - "smithy.api#documentation": "

Version number for this version of the dashboard.

" + "smithy.api#documentation": "

Errors associated with this dashboard version.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "VersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + "smithy.api#documentation": "

Version number for this version of the dashboard.

" } }, - "Description": { - "target": "com.amazonaws.quicksight#VersionDescription", + "Status": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

Description.

" + "smithy.api#documentation": "

The HTTP status of the request.

" } }, - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The time that this dashboard version was created.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" } }, "SourceEntityArn": { @@ -3334,28 +3382,28 @@ "smithy.api#documentation": "

Source entity ARN.

" } }, - "Errors": { - "target": "com.amazonaws.quicksight#DashboardErrorList", + "DataSetArns": { + "target": "com.amazonaws.quicksight#DataSetArnsList", "traits": { - "smithy.api#documentation": "

Errors associated with this dashboard version.

" + "smithy.api#documentation": "

The Amazon Resource Numbers (ARNs) for the datasets that are associated with this\n version of the dashboard.

" } }, - "ThemeArn": { - "target": "com.amazonaws.quicksight#Arn", + "Description": { + "target": "com.amazonaws.quicksight#VersionDescription", "traits": { - "smithy.api#documentation": "

The ARN of the theme associated with a version of the dashboard.

" + "smithy.api#documentation": "

Description.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "ThemeArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

" + "smithy.api#documentation": "

The ARN of the theme associated with a version of the dashboard.

" } }, - "DataSetArns": { - "target": "com.amazonaws.quicksight#DataSetArnsList", + "Sheets": { + "target": "com.amazonaws.quicksight#SheetList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Numbers (ARNs) for the datasets that are associated with this\n version of the dashboard.

" + "smithy.api#documentation": "

A list of the associated sheets with the unique identifier and name of each sheet.

" } } }, @@ -3366,16 +3414,16 @@ "com.amazonaws.quicksight#DashboardVersionSummary": { "type": "structure", "members": { - "SourceEntityArn": { + "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

Source entity ARN.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + "smithy.api#documentation": "

The time that this dashboard version was created.

" } }, "VersionNumber": { @@ -3390,16 +3438,16 @@ "smithy.api#documentation": "

The HTTP status of the request.

" } }, - "Description": { - "target": "com.amazonaws.quicksight#VersionDescription", + "SourceEntityArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

Description.

" + "smithy.api#documentation": "

Source entity ARN.

" } }, - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "Description": { + "target": "com.amazonaws.quicksight#VersionDescription", "traits": { - "smithy.api#documentation": "

The time that this dashboard version was created.

" + "smithy.api#documentation": "

Description.

" } } }, @@ -3422,16 +3470,16 @@ "com.amazonaws.quicksight#DataColorPalette": { "type": "structure", "members": { - "MinMaxGradient": { + "Colors": { "target": "com.amazonaws.quicksight#ColorList", "traits": { - "smithy.api#documentation": "

The minimum and maximum hexadecimal codes that describe a color gradient.

" + "smithy.api#documentation": "

The hexadecimal codes for the colors.

" } }, - "Colors": { + "MinMaxGradient": { "target": "com.amazonaws.quicksight#ColorList", "traits": { - "smithy.api#documentation": "

The hexadecimal codes for the colors.

" + "smithy.api#documentation": "

The minimum and maximum hexadecimal codes that describe a color gradient.

" } }, "EmptyFillColor": { @@ -3448,76 +3496,82 @@ "com.amazonaws.quicksight#DataSet": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.quicksight#ResourceName", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

A display name for the dataset.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" } }, - "OutputColumns": { - "target": "com.amazonaws.quicksight#OutputColumnList", + "DataSetId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The list of columns after all transforms. These columns are available in templates,\n analyses, and dashboards.

" + "smithy.api#documentation": "

The ID of the dataset.

" } }, - "LogicalTableMap": { - "target": "com.amazonaws.quicksight#LogicalTableMap", + "Name": { + "target": "com.amazonaws.quicksight#ResourceName", "traits": { - "smithy.api#documentation": "

Configures the combination and transformation of the data from the physical\n tables.

" + "smithy.api#documentation": "

A display name for the dataset.

" } }, - "RowLevelPermissionDataSet": { - "target": "com.amazonaws.quicksight#RowLevelPermissionDataSet", + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The row-level security configuration for the dataset.

" + "smithy.api#documentation": "

The time that this dataset was created.

" } }, - "ConsumedSpiceCapacityInBytes": { - "target": "com.amazonaws.quicksight#Long", + "LastUpdatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't\n imported into SPICE.

" + "smithy.api#documentation": "

The last time that this dataset was updated.

" } }, - "ImportMode": { - "target": "com.amazonaws.quicksight#DataSetImportMode", + "PhysicalTableMap": { + "target": "com.amazonaws.quicksight#PhysicalTableMap", "traits": { - "smithy.api#documentation": "

Indicates whether you want to import the data into SPICE.

" + "smithy.api#documentation": "

Declares the physical tables that are available in the underlying data sources.

" } }, - "ColumnGroups": { - "target": "com.amazonaws.quicksight#ColumnGroupList", + "LogicalTableMap": { + "target": "com.amazonaws.quicksight#LogicalTableMap", "traits": { - "smithy.api#documentation": "

Groupings of columns that work together in certain Amazon QuickSight features.\n Currently, only geospatial hierarchy is supported.

" + "smithy.api#documentation": "

Configures the combination and transformation of the data from the physical\n tables.

" } }, - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "OutputColumns": { + "target": "com.amazonaws.quicksight#OutputColumnList", "traits": { - "smithy.api#documentation": "

The time that this dataset was created.

" + "smithy.api#documentation": "

The list of columns after all transforms. These columns are available in templates,\n analyses, and dashboards.

" } }, - "PhysicalTableMap": { - "target": "com.amazonaws.quicksight#PhysicalTableMap", + "ImportMode": { + "target": "com.amazonaws.quicksight#DataSetImportMode", "traits": { - "smithy.api#documentation": "

Declares the physical tables that are available in the underlying data sources.

" + "smithy.api#documentation": "

Indicates whether you want to import the data into SPICE.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "ConsumedSpiceCapacityInBytes": { + "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + "smithy.api#documentation": "

The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't\n imported into SPICE.

" } }, - "DataSetId": { - "target": "com.amazonaws.quicksight#ResourceId", + "ColumnGroups": { + "target": "com.amazonaws.quicksight#ColumnGroupList", "traits": { - "smithy.api#documentation": "

The ID of the dataset.

" + "smithy.api#documentation": "

Groupings of columns that work together in certain Amazon QuickSight features.\n Currently, only geospatial hierarchy is supported.

" } }, - "LastUpdatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "RowLevelPermissionDataSet": { + "target": "com.amazonaws.quicksight#RowLevelPermissionDataSet", "traits": { - "smithy.api#documentation": "

The last time that this dataset was updated.

" + "smithy.api#documentation": "

The row-level security configuration for the dataset.

" + } + }, + "ColumnLevelPermissionRules": { + "target": "com.amazonaws.quicksight#ColumnLevelPermissionRuleList", + "traits": { + "smithy.api#documentation": "

A set of one or more definitions of a \n ColumnLevelPermissionRule\n .

" } } }, @@ -3649,28 +3703,16 @@ "com.amazonaws.quicksight#DataSetSummary": { "type": "structure", "members": { - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", - "traits": { - "smithy.api#documentation": "

The time that this dataset was created.

" - } - }, - "ImportMode": { - "target": "com.amazonaws.quicksight#DataSetImportMode", - "traits": { - "smithy.api#documentation": "

Indicates whether you want to import the data into SPICE.

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" } }, - "RowLevelPermissionDataSet": { - "target": "com.amazonaws.quicksight#RowLevelPermissionDataSet", + "DataSetId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The row-level security configuration for the dataset.

" + "smithy.api#documentation": "

The ID of the dataset.

" } }, "Name": { @@ -3679,16 +3721,34 @@ "smithy.api#documentation": "

A display name for the dataset.

" } }, + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", + "traits": { + "smithy.api#documentation": "

The time that this dataset was created.

" + } + }, "LastUpdatedTime": { "target": "com.amazonaws.quicksight#Timestamp", "traits": { "smithy.api#documentation": "

The last time that this dataset was updated.

" } }, - "DataSetId": { - "target": "com.amazonaws.quicksight#ResourceId", + "ImportMode": { + "target": "com.amazonaws.quicksight#DataSetImportMode", "traits": { - "smithy.api#documentation": "

The ID of the dataset.

" + "smithy.api#documentation": "

Indicates whether you want to import the data into SPICE.

" + } + }, + "RowLevelPermissionDataSet": { + "target": "com.amazonaws.quicksight#RowLevelPermissionDataSet", + "traits": { + "smithy.api#documentation": "

The row-level security configuration for the dataset.

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

Indicates if the dataset has column level permission\n configured.

" } } }, @@ -3705,52 +3765,46 @@ "com.amazonaws.quicksight#DataSource": { "type": "structure", "members": { - "SslProperties": { - "target": "com.amazonaws.quicksight#SslProperties", - "traits": { - "smithy.api#documentation": "

Secure Socket Layer (SSL) properties that apply when QuickSight connects to your\n underlying source.

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data source.

" } }, - "AlternateDataSourceParameters": { - "target": "com.amazonaws.quicksight#DataSourceParametersList", + "DataSourceId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

A set of alternate data source parameters that you want to share for the credentials\n stored with this data source. The credentials are applied in tandem with the data source\n parameters when you copy a data source by using a create or update request. The API\n operation compares the DataSourceParameters structure that's in the request\n with the structures in the AlternateDataSourceParameters allow list. If the\n structures are an exact match, the request is allowed to use the credentials from this\n existing data source. If the AlternateDataSourceParameters list is null,\n the Credentials originally used with this DataSourceParameters\n are automatically allowed.

" + "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS\n account.

" } }, - "VpcConnectionProperties": { - "target": "com.amazonaws.quicksight#VpcConnectionProperties", + "Name": { + "target": "com.amazonaws.quicksight#ResourceName", "traits": { - "smithy.api#documentation": "

The VPC connection information. You need to use this parameter only when you want\n QuickSight to use a VPC connection when connecting to your underlying source.

" + "smithy.api#documentation": "

A display name for the data source.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "Type": { + "target": "com.amazonaws.quicksight#DataSourceType", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

" + "smithy.api#documentation": "

The type of the data source. This type indicates which database engine the data source\n connects to.

" } }, - "ErrorInfo": { - "target": "com.amazonaws.quicksight#DataSourceErrorInfo", + "Status": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

Error information from the last update or the creation of the data source.

" + "smithy.api#documentation": "

The HTTP status of the request.

" } }, - "Name": { - "target": "com.amazonaws.quicksight#ResourceName", + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

A display name for the data source.

" + "smithy.api#documentation": "

The time that this data source was created.

" } }, - "Type": { - "target": "com.amazonaws.quicksight#DataSourceType", + "LastUpdatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The type of the data source. This type indicates which database engine the data source\n connects to.

" + "smithy.api#documentation": "

The last time that this data source was updated.

" } }, "DataSourceParameters": { @@ -3759,22 +3813,28 @@ "smithy.api#documentation": "

The parameters that Amazon QuickSight uses to connect to your underlying source. This\n is a variant type structure. For this structure to be valid, only one of the attributes\n can be non-null.

" } }, - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "AlternateDataSourceParameters": { + "target": "com.amazonaws.quicksight#DataSourceParametersList", "traits": { - "smithy.api#documentation": "

The time that this data source was created.

" + "smithy.api#documentation": "

A set of alternate data source parameters that you want to share for the credentials\n stored with this data source. The credentials are applied in tandem with the data source\n parameters when you copy a data source by using a create or update request. The API\n operation compares the DataSourceParameters structure that's in the request\n with the structures in the AlternateDataSourceParameters allow list. If the\n structures are an exact match, the request is allowed to use the credentials from this\n existing data source. If the AlternateDataSourceParameters list is null,\n the Credentials originally used with this DataSourceParameters\n are automatically allowed.

" } }, - "DataSourceId": { - "target": "com.amazonaws.quicksight#ResourceId", + "VpcConnectionProperties": { + "target": "com.amazonaws.quicksight#VpcConnectionProperties", "traits": { - "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS\n account.

" + "smithy.api#documentation": "

The VPC connection information. You need to use this parameter only when you want\n QuickSight to use a VPC connection when connecting to your underlying source.

" } }, - "LastUpdatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "SslProperties": { + "target": "com.amazonaws.quicksight#SslProperties", + "traits": { + "smithy.api#documentation": "

Secure Socket Layer (SSL) properties that apply when QuickSight connects to your\n underlying source.

" + } + }, + "ErrorInfo": { + "target": "com.amazonaws.quicksight#DataSourceErrorInfo", "traits": { - "smithy.api#documentation": "

The last time that this data source was updated.

" + "smithy.api#documentation": "

Error information from the last update or the creation of the data source.

" } } }, @@ -3785,17 +3845,17 @@ "com.amazonaws.quicksight#DataSourceCredentials": { "type": "structure", "members": { - "CopySourceArn": { - "target": "com.amazonaws.quicksight#CopySourceArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a data source that has the credential pair that you\n want to use. When CopySourceArn is not null, the credential pair from the\n data source in the ARN is used as the credentials for the\n DataSourceCredentials structure.

" - } - }, "CredentialPair": { "target": "com.amazonaws.quicksight#CredentialPair", "traits": { "smithy.api#documentation": "

Credential pair. For more information, see CredentialPair.

" } + }, + "CopySourceArn": { + "target": "com.amazonaws.quicksight#CopySourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a data source that has the credential pair that you\n want to use. When CopySourceArn is not null, the credential pair from the\n data source in the ARN is used as the credentials for the\n DataSourceCredentials structure.

" + } } }, "traits": { @@ -3871,28 +3931,34 @@ "com.amazonaws.quicksight#DataSourceParameters": { "type": "structure", "members": { - "MySqlParameters": { - "target": "com.amazonaws.quicksight#MySqlParameters", + "AmazonElasticsearchParameters": { + "target": "com.amazonaws.quicksight#AmazonElasticsearchParameters", "traits": { - "smithy.api#documentation": "

MySQL parameters.

" + "smithy.api#documentation": "

Amazon Elasticsearch Service parameters.

" } }, - "AwsIotAnalyticsParameters": { - "target": "com.amazonaws.quicksight#AwsIotAnalyticsParameters", + "AthenaParameters": { + "target": "com.amazonaws.quicksight#AthenaParameters", "traits": { - "smithy.api#documentation": "

AWS IoT Analytics parameters.

" + "smithy.api#documentation": "

Amazon Athena parameters.

" } }, - "AmazonElasticsearchParameters": { - "target": "com.amazonaws.quicksight#AmazonElasticsearchParameters", + "AuroraParameters": { + "target": "com.amazonaws.quicksight#AuroraParameters", "traits": { - "smithy.api#documentation": "

Amazon Elasticsearch Service parameters.

" + "smithy.api#documentation": "

Amazon Aurora MySQL parameters.

" } }, - "RdsParameters": { - "target": "com.amazonaws.quicksight#RdsParameters", + "AuroraPostgreSqlParameters": { + "target": "com.amazonaws.quicksight#AuroraPostgreSqlParameters", "traits": { - "smithy.api#documentation": "

Amazon RDS parameters.

" + "smithy.api#documentation": "

Aurora PostgreSQL parameters.

" + } + }, + "AwsIotAnalyticsParameters": { + "target": "com.amazonaws.quicksight#AwsIotAnalyticsParameters", + "traits": { + "smithy.api#documentation": "

AWS IoT Analytics parameters.

" } }, "JiraParameters": { @@ -3901,52 +3967,52 @@ "smithy.api#documentation": "

Jira parameters.

" } }, - "RedshiftParameters": { - "target": "com.amazonaws.quicksight#RedshiftParameters", + "MariaDbParameters": { + "target": "com.amazonaws.quicksight#MariaDbParameters", "traits": { - "smithy.api#documentation": "

Amazon Redshift parameters.

" + "smithy.api#documentation": "

MariaDB parameters.

" } }, - "AthenaParameters": { - "target": "com.amazonaws.quicksight#AthenaParameters", + "MySqlParameters": { + "target": "com.amazonaws.quicksight#MySqlParameters", "traits": { - "smithy.api#documentation": "

Amazon Athena parameters.

" + "smithy.api#documentation": "

MySQL parameters.

" } }, - "S3Parameters": { - "target": "com.amazonaws.quicksight#S3Parameters", + "OracleParameters": { + "target": "com.amazonaws.quicksight#OracleParameters", "traits": { - "smithy.api#documentation": "

S3 parameters.

" + "smithy.api#documentation": "

Oracle parameters.

" } }, - "AuroraParameters": { - "target": "com.amazonaws.quicksight#AuroraParameters", + "PostgreSqlParameters": { + "target": "com.amazonaws.quicksight#PostgreSqlParameters", "traits": { - "smithy.api#documentation": "

Amazon Aurora MySQL parameters.

" + "smithy.api#documentation": "

PostgreSQL parameters.

" } }, - "MariaDbParameters": { - "target": "com.amazonaws.quicksight#MariaDbParameters", + "PrestoParameters": { + "target": "com.amazonaws.quicksight#PrestoParameters", "traits": { - "smithy.api#documentation": "

MariaDB parameters.

" + "smithy.api#documentation": "

Presto parameters.

" } }, - "SparkParameters": { - "target": "com.amazonaws.quicksight#SparkParameters", + "RdsParameters": { + "target": "com.amazonaws.quicksight#RdsParameters", "traits": { - "smithy.api#documentation": "

Spark parameters.

" + "smithy.api#documentation": "

Amazon RDS parameters.

" } }, - "AuroraPostgreSqlParameters": { - "target": "com.amazonaws.quicksight#AuroraPostgreSqlParameters", + "RedshiftParameters": { + "target": "com.amazonaws.quicksight#RedshiftParameters", "traits": { - "smithy.api#documentation": "

Aurora PostgreSQL parameters.

" + "smithy.api#documentation": "

Amazon Redshift parameters.

" } }, - "TwitterParameters": { - "target": "com.amazonaws.quicksight#TwitterParameters", + "S3Parameters": { + "target": "com.amazonaws.quicksight#S3Parameters", "traits": { - "smithy.api#documentation": "

Twitter parameters.

" + "smithy.api#documentation": "

S3 parameters.

" } }, "ServiceNowParameters": { @@ -3955,16 +4021,16 @@ "smithy.api#documentation": "

ServiceNow parameters.

" } }, - "PrestoParameters": { - "target": "com.amazonaws.quicksight#PrestoParameters", + "SnowflakeParameters": { + "target": "com.amazonaws.quicksight#SnowflakeParameters", "traits": { - "smithy.api#documentation": "

Presto parameters.

" + "smithy.api#documentation": "

Snowflake parameters.

" } }, - "PostgreSqlParameters": { - "target": "com.amazonaws.quicksight#PostgreSqlParameters", + "SparkParameters": { + "target": "com.amazonaws.quicksight#SparkParameters", "traits": { - "smithy.api#documentation": "

PostgreSQL parameters.

" + "smithy.api#documentation": "

Spark parameters.

" } }, "SqlServerParameters": { @@ -3973,17 +4039,17 @@ "smithy.api#documentation": "

SQL Server parameters.

" } }, - "SnowflakeParameters": { - "target": "com.amazonaws.quicksight#SnowflakeParameters", - "traits": { - "smithy.api#documentation": "

Snowflake parameters.

" - } - }, "TeradataParameters": { "target": "com.amazonaws.quicksight#TeradataParameters", "traits": { "smithy.api#documentation": "

Teradata parameters.

" } + }, + "TwitterParameters": { + "target": "com.amazonaws.quicksight#TwitterParameters", + "traits": { + "smithy.api#documentation": "

Twitter parameters.

" + } } }, "traits": { @@ -4046,6 +4112,10 @@ "value": "MYSQL", "name": "MYSQL" }, + { + "value": "ORACLE", + "name": "ORACLE" + }, { "value": "POSTGRESQL", "name": "POSTGRESQL" @@ -4143,17 +4213,17 @@ "com.amazonaws.quicksight#DecimalParameter": { "type": "structure", "members": { - "Values": { - "target": "com.amazonaws.quicksight#DoubleList", + "Name": { + "target": "com.amazonaws.quicksight#NonEmptyString", "traits": { - "smithy.api#documentation": "

The values for the decimal parameter.

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

A display name for the decimal parameter.

", "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.quicksight#NonEmptyString", + "Values": { + "target": "com.amazonaws.quicksight#DoubleList", "traits": { - "smithy.api#documentation": "

A display name for the decimal parameter.

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

The values for the decimal parameter.

", "smithy.api#required": {} } } @@ -4214,13 +4284,6 @@ "com.amazonaws.quicksight#DeleteAccountCustomizationRequest": { "type": "structure", "members": { - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", - "traits": { - "smithy.api#documentation": "

The QuickSight namespace that you're deleting the customizations from.

", - "smithy.api#httpQuery": "namespace" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -4228,24 +4291,31 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The QuickSight namespace that you're deleting the customizations from.

", + "smithy.api#httpQuery": "namespace" + } } } }, "com.amazonaws.quicksight#DeleteAccountCustomizationResponse": { "type": "structure", "members": { + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } } } }, @@ -4305,31 +4375,25 @@ "smithy.api#required": {} } }, - "ForceDeleteWithoutRecovery": { - "target": "com.amazonaws.quicksight#Boolean", - "traits": { - "smithy.api#documentation": "

This option defaults to the value NoForceDeleteWithoutRecovery. To\n immediately delete the analysis, add the ForceDeleteWithoutRecovery option.\n You can't restore an analysis after it's deleted.

", - "smithy.api#httpQuery": "force-delete-without-recovery" - } - }, "RecoveryWindowInDays": { "target": "com.amazonaws.quicksight#RecoveryWindowInDays", "traits": { "smithy.api#documentation": "

A value that specifies the number of days that QuickSight waits before it deletes the\n analysis. You can't use this parameter with the ForceDeleteWithoutRecovery\n option in the same API call. The default value is 30.

", "smithy.api#httpQuery": "recovery-window-in-days" } + }, + "ForceDeleteWithoutRecovery": { + "target": "com.amazonaws.quicksight#Boolean", + "traits": { + "smithy.api#documentation": "

This option defaults to the value NoForceDeleteWithoutRecovery. To\n immediately delete the analysis, add the ForceDeleteWithoutRecovery option.\n You can't restore an analysis after it's deleted.

", + "smithy.api#httpQuery": "force-delete-without-recovery" + } } } }, "com.amazonaws.quicksight#DeleteAnalysisResponse": { "type": "structure", "members": { - "AnalysisId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the deleted analysis.

" - } - }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -4337,18 +4401,24 @@ "smithy.api#httpResponseCode": {} } }, - "DeletionTime": { - "target": "com.amazonaws.quicksight#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time that the analysis is scheduled to be deleted.

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the deleted analysis.

" } }, + "AnalysisId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "traits": { + "smithy.api#documentation": "

The ID of the deleted analysis.

" + } + }, + "DeletionTime": { + "target": "com.amazonaws.quicksight#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time that the analysis is scheduled to be deleted.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -4397,6 +4467,14 @@ "com.amazonaws.quicksight#DeleteDashboardRequest": { "type": "structure", "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that contains the dashboard that you're\n deleting.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "DashboardId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { @@ -4411,14 +4489,6 @@ "smithy.api#documentation": "

The version number of the dashboard. If the version number property is provided, only\n the specified version of the dashboard is deleted.

", "smithy.api#httpQuery": "version-number" } - }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the dashboard that you're\n deleting.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, @@ -4432,10 +4502,10 @@ "smithy.api#httpResponseCode": {} } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The Secure Socket Layer (SSL) properties that apply for the resource.

" } }, "DashboardId": { @@ -4444,10 +4514,10 @@ "smithy.api#documentation": "

The ID of the dashboard.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The Secure Socket Layer (SSL) properties that apply for the resource.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -4510,6 +4580,12 @@ "com.amazonaws.quicksight#DeleteDataSetResponse": { "type": "structure", "members": { + "Arn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" + } + }, "DataSetId": { "target": "com.amazonaws.quicksight#ResourceId", "traits": { @@ -4528,12 +4604,6 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" - } } } }, @@ -4595,17 +4665,16 @@ "com.amazonaws.quicksight#DeleteDataSourceResponse": { "type": "structure", "members": { - "DataSourceId": { - "target": "com.amazonaws.quicksight#ResourceId", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS account.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data source that you deleted.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "DataSourceId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The ID of the data source. This ID is unique per AWS Region for each AWS account.

" } }, "RequestId": { @@ -4614,10 +4683,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data source that you deleted.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -4705,34 +4775,34 @@ "com.amazonaws.quicksight#DeleteGroupMembershipRequest": { "type": "structure", "members": { - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "MemberName": { + "target": "com.amazonaws.quicksight#GroupMemberName", "traits": { - "smithy.api#documentation": "

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

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

The name of the user that you want to delete from the group membership.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", + "GroupName": { + "target": "com.amazonaws.quicksight#GroupName", "traits": { - "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

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

The name of the group that you want to delete the user from.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "GroupName": { - "target": "com.amazonaws.quicksight#GroupName", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The name of the group that you want to delete the user from.

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

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "MemberName": { - "target": "com.amazonaws.quicksight#GroupMemberName", + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", "traits": { - "smithy.api#documentation": "

The name of the user that you want to delete from the group membership.

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

The namespace. Currently, you should set this to default.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4742,24 +4812,32 @@ "com.amazonaws.quicksight#DeleteGroupMembershipResponse": { "type": "structure", "members": { + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } } } }, "com.amazonaws.quicksight#DeleteGroupRequest": { "type": "structure", "members": { + "GroupName": { + "target": "com.amazonaws.quicksight#GroupName", + "traits": { + "smithy.api#documentation": "

The name of the group that you want to delete.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -4775,14 +4853,6 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "GroupName": { - "target": "com.amazonaws.quicksight#GroupName", - "traits": { - "smithy.api#documentation": "

The name of the group that you want to delete.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, @@ -4876,13 +4946,6 @@ "com.amazonaws.quicksight#DeleteIAMPolicyAssignmentResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, "AssignmentName": { "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", "traits": { @@ -4894,6 +4957,13 @@ "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } } } }, @@ -4961,18 +5031,18 @@ "com.amazonaws.quicksight#DeleteNamespaceResponse": { "type": "structure", "members": { + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } } } }, @@ -5053,18 +5123,18 @@ "com.amazonaws.quicksight#DeleteTemplateAliasRequest": { "type": "structure", "members": { - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID for the template that the specified alias is for.

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

The ID of the AWS account that contains the item to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the item to delete.

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

The ID for the template that the specified alias is for.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5082,16 +5152,17 @@ "com.amazonaws.quicksight#DeleteTemplateAliasResponse": { "type": "structure", "members": { - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

An ID for the template associated with the deletion.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template you want to delete.

" + "smithy.api#documentation": "

An ID for the template associated with the deletion.

" } }, "AliasName": { @@ -5100,17 +5171,16 @@ "smithy.api#documentation": "

The name for the template alias.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template you want to delete.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The AWS request ID for this operation.

" } } } @@ -5146,30 +5216,30 @@ "com.amazonaws.quicksight#DeleteTemplateResponse": { "type": "structure", "members": { - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

An ID for the template.

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

The AWS request ID for this operation.

" } }, + "Arn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + } + }, + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "traits": { + "smithy.api#documentation": "

An ID for the template.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" - } } } }, @@ -5253,6 +5323,14 @@ "com.amazonaws.quicksight#DeleteThemeAliasRequest": { "type": "structure", "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that contains the theme alias to delete.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "ThemeId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { @@ -5268,31 +5346,16 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the theme alias to delete.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, "com.amazonaws.quicksight#DeleteThemeAliasResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "AliasName": { + "target": "com.amazonaws.quicksight#AliasName", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The name for the theme alias.

" } }, "Arn": { @@ -5301,10 +5364,17 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the theme resource using the deleted alias.

" } }, - "AliasName": { - "target": "com.amazonaws.quicksight#AliasName", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The name for the theme alias.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } }, "ThemeId": { @@ -5318,11 +5388,12 @@ "com.amazonaws.quicksight#DeleteThemeRequest": { "type": "structure", "members": { - "VersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The version of the theme that you want to delete.

\n\t\t

\n Note: If you don't provide a version number, you're\n\t\t\tusing this call to DeleteTheme to delete all versions of the theme.

", - "smithy.api#httpQuery": "version-number" + "smithy.api#documentation": "

The ID of the AWS account that contains the theme that you're deleting.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "ThemeId": { @@ -5333,12 +5404,11 @@ "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "VersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the theme that you're deleting.

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

The version of the theme that you want to delete.

\n\t\t

\n Note: If you don't provide a version number, you're\n\t\t\tusing this call to DeleteTheme to delete all versions of the theme.

", + "smithy.api#httpQuery": "version-number" } } } @@ -5346,6 +5416,12 @@ "com.amazonaws.quicksight#DeleteThemeResponse": { "type": "structure", "members": { + "Arn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -5364,12 +5440,6 @@ "traits": { "smithy.api#documentation": "

An ID for the theme.

" } - }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" - } } } }, @@ -5456,14 +5526,6 @@ "com.amazonaws.quicksight#DeleteUserByPrincipalIdRequest": { "type": "structure", "members": { - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", - "traits": { - "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "PrincipalId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -5479,6 +5541,14 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } } }, "traits": { @@ -5599,13 +5669,6 @@ "com.amazonaws.quicksight#DescribeAccountCustomizationRequest": { "type": "structure", "members": { - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", - "traits": { - "smithy.api#documentation": "

The QuickSight namespace that you want to describe QuickSight customizations\n for.

", - "smithy.api#httpQuery": "namespace" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -5614,23 +5677,41 @@ "smithy.api#required": {} } }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The QuickSight namespace that you want to describe QuickSight customizations\n for.

", + "smithy.api#httpQuery": "namespace" + } + }, "Resolved": { "target": "com.amazonaws.quicksight#Boolean", "traits": { "smithy.api#documentation": "

The Resolved flag works with the other parameters to determine which view\n of QuickSight customizations is returned. You can add this flag to your command to use\n the same view that QuickSight uses to identify which customizations to apply to the\n console. Omit this flag, or set it to no-resolved, to reveal customizations\n that are configured at different levels.

", "smithy.api#httpQuery": "resolved" } - } - } - }, - "com.amazonaws.quicksight#DescribeAccountCustomizationResponse": { - "type": "structure", - "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + } + } + }, + "com.amazonaws.quicksight#DescribeAccountCustomizationResponse": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the customization that's associated with this AWS account.

" + } + }, + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID for the AWS account that you're describing.

" + } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The QuickSight namespace that you're describing.

" } }, "AccountCustomization": { @@ -5645,22 +5726,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID for the AWS account that you're describing.

" - } - }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the customization that's associated with this AWS account.

" - } - }, - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The QuickSight namespace that you're describing.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -5718,13 +5788,6 @@ "com.amazonaws.quicksight#DescribeAccountSettingsResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, "AccountSettings": { "target": "com.amazonaws.quicksight#AccountSettings", "traits": { @@ -5736,6 +5799,13 @@ "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } } } }, @@ -5813,18 +5883,18 @@ "com.amazonaws.quicksight#DescribeAnalysisPermissionsRequest": { "type": "structure", "members": { - "AnalysisId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID of the analysis whose permissions you're describing. The ID is part of the\n analysis URL.

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

The ID of the AWS account that contains the analysis whose permissions you're\n describing. You must be using the AWS account that the analysis is in.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "AnalysisId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the analysis whose permissions you're\n describing. You must be using the AWS account that the analysis is in.

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

The ID of the analysis whose permissions you're describing. The ID is part of the\n analysis URL.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5834,6 +5904,12 @@ "com.amazonaws.quicksight#DescribeAnalysisPermissionsResponse": { "type": "structure", "members": { + "AnalysisId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "traits": { + "smithy.api#documentation": "

The ID of the analysis whose permissions you're describing.

" + } + }, "AnalysisArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -5846,24 +5922,18 @@ "smithy.api#documentation": "

A structure that describes the principals and the resource-level permissions on an\n analysis.

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

The AWS request ID for this operation.

" - } - }, - "AnalysisId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the analysis whose permissions you're describing.

" - } - }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } } } }, @@ -5891,6 +5961,12 @@ "com.amazonaws.quicksight#DescribeAnalysisResponse": { "type": "structure", "members": { + "Analysis": { + "target": "com.amazonaws.quicksight#Analysis", + "traits": { + "smithy.api#documentation": "

A metadata structure that contains summary information for the analysis that you're\n describing.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -5898,12 +5974,6 @@ "smithy.api#httpResponseCode": {} } }, - "Analysis": { - "target": "com.amazonaws.quicksight#Analysis", - "traits": { - "smithy.api#documentation": "

A metadata structure that contains summary information for the analysis that you're\n describing.

" - } - }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -6007,10 +6077,10 @@ "com.amazonaws.quicksight#DescribeDashboardPermissionsResponse": { "type": "structure", "members": { - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", + "DashboardId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

A structure that contains the permissions for the dashboard.

" + "smithy.api#documentation": "

The ID for the dashboard.

" } }, "DashboardArn": { @@ -6019,16 +6089,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dashboard.

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

The AWS request ID for this operation.

" - } - }, - "DashboardId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { - "smithy.api#documentation": "

The ID for the dashboard.

" + "smithy.api#documentation": "

A structure that contains the permissions for the dashboard.

" } }, "Status": { @@ -6037,24 +6101,24 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } } } }, "com.amazonaws.quicksight#DescribeDashboardRequest": { "type": "structure", "members": { - "AliasName": { - "target": "com.amazonaws.quicksight#AliasName", - "traits": { - "smithy.api#documentation": "

The alias name.

", - "smithy.api#httpQuery": "alias-name" - } - }, - "VersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The version number for the dashboard. If a version number isn't passed, the\n latest published dashboard version is described.

", - "smithy.api#httpQuery": "version-number" + "smithy.api#documentation": "

The ID of the AWS account that contains the dashboard that you're\n describing.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "DashboardId": { @@ -6065,12 +6129,18 @@ "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "VersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the dashboard that you're\n describing.

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

The version number for the dashboard. If a version number isn't passed, the\n latest published dashboard version is described.

", + "smithy.api#httpQuery": "version-number" + } + }, + "AliasName": { + "target": "com.amazonaws.quicksight#AliasName", + "traits": { + "smithy.api#documentation": "

The alias name.

", + "smithy.api#httpQuery": "alias-name" } } } @@ -6078,6 +6148,12 @@ "com.amazonaws.quicksight#DescribeDashboardResponse": { "type": "structure", "members": { + "Dashboard": { + "target": "com.amazonaws.quicksight#Dashboard", + "traits": { + "smithy.api#documentation": "

Information about the dashboard.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -6090,12 +6166,6 @@ "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } - }, - "Dashboard": { - "target": "com.amazonaws.quicksight#Dashboard", - "traits": { - "smithy.api#documentation": "

Information about the dashboard.

" - } } } }, @@ -6170,18 +6240,18 @@ "com.amazonaws.quicksight#DescribeDataSetPermissionsRequest": { "type": "structure", "members": { - "DataSetId": { - "target": "com.amazonaws.quicksight#ResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

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

The AWS account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "DataSetId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The AWS account ID.

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

The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6191,17 +6261,10 @@ "com.amazonaws.quicksight#DescribeDataSetPermissionsResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "DataSetArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" } }, "DataSetId": { @@ -6210,35 +6273,42 @@ "smithy.api#documentation": "

The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

" } }, - "DataSetArn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" - } - }, "Permissions": { "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { "smithy.api#documentation": "

A list of resource permissions on the dataset.

" } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } } } }, "com.amazonaws.quicksight#DescribeDataSetRequest": { "type": "structure", "members": { - "DataSetId": { - "target": "com.amazonaws.quicksight#ResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

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

The AWS account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "DataSetId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The AWS account ID.

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

The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6248,18 +6318,18 @@ "com.amazonaws.quicksight#DescribeDataSetResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "DataSet": { "target": "com.amazonaws.quicksight#DataSet", "traits": { "smithy.api#documentation": "

Information on the dataset.

" } }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -6340,18 +6410,18 @@ "com.amazonaws.quicksight#DescribeDataSourcePermissionsRequest": { "type": "structure", "members": { - "DataSourceId": { - "target": "com.amazonaws.quicksight#ResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS account.

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

The AWS account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "DataSourceId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The AWS account ID.

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

The ID of the data source. This ID is unique per AWS Region for each AWS account.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6361,12 +6431,6 @@ "com.amazonaws.quicksight#DescribeDataSourcePermissionsResponse": { "type": "structure", "members": { - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", - "traits": { - "smithy.api#documentation": "

A list of resource permissions on the data source.

" - } - }, "DataSourceArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -6376,7 +6440,13 @@ "DataSourceId": { "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS account.

" + "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS account.

" + } + }, + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", + "traits": { + "smithy.api#documentation": "

A list of resource permissions on the data source.

" } }, "RequestId": { @@ -6418,11 +6488,10 @@ "com.amazonaws.quicksight#DescribeDataSourceResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "DataSource": { + "target": "com.amazonaws.quicksight#DataSource", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The information on the data source.

" } }, "RequestId": { @@ -6431,10 +6500,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "DataSource": { - "target": "com.amazonaws.quicksight#DataSource", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The information on the data source.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -6482,14 +6552,6 @@ "com.amazonaws.quicksight#DescribeGroupRequest": { "type": "structure", "members": { - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", - "traits": { - "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "GroupName": { "target": "com.amazonaws.quicksight#GroupName", "traits": { @@ -6505,6 +6567,14 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } } } }, @@ -6572,14 +6642,6 @@ "com.amazonaws.quicksight#DescribeIAMPolicyAssignmentRequest": { "type": "structure", "members": { - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", - "traits": { - "smithy.api#documentation": "

The namespace that contains the assignment.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -6591,7 +6653,15 @@ "AssignmentName": { "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", "traits": { - "smithy.api#documentation": "

The name of the assignment.

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

The name of the assignment, also called a rule.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The namespace that contains the assignment.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6601,18 +6671,18 @@ "com.amazonaws.quicksight#DescribeIAMPolicyAssignmentResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "IAMPolicyAssignment": { "target": "com.amazonaws.quicksight#IAMPolicyAssignment", "traits": { "smithy.api#documentation": "

Information describing the IAM policy assignment.

" } }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -6691,11 +6761,10 @@ "com.amazonaws.quicksight#DescribeIngestionResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "Ingestion": { + "target": "com.amazonaws.quicksight#Ingestion", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

Information about the ingestion.

" } }, "RequestId": { @@ -6704,10 +6773,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "Ingestion": { - "target": "com.amazonaws.quicksight#Ingestion", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

Information about the ingestion.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -6779,18 +6849,18 @@ "smithy.api#documentation": "

The information about the namespace that you're describing. The response includes \n the namespace ARN, name, AWS Region, creation status, and identity store. DescribeNamespace also\n works for namespaces that are in the process of being created. For incomplete namespaces,\n this API operation lists the namespace error types and messages associated with the creation process.

" } }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } } } }, @@ -6906,18 +6976,18 @@ "smithy.api#documentation": "

Information about the template alias.

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

The AWS request ID for this operation.

" - } - }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } } } }, @@ -6961,18 +7031,18 @@ "com.amazonaws.quicksight#DescribeTemplatePermissionsRequest": { "type": "structure", "members": { - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID for the template.

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

The ID of the AWS account that contains the template that you're describing.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the template that you're describing.

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

The ID for the template.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6982,54 +7052,54 @@ "com.amazonaws.quicksight#DescribeTemplatePermissionsResponse": { "type": "structure", "members": { - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", - "traits": { - "smithy.api#documentation": "

A list of resource permissions to be set on the template.

" - } - }, "TemplateId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { "smithy.api#documentation": "

The ID for the template.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, "TemplateArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template.

" } }, + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", + "traits": { + "smithy.api#documentation": "

A list of resource permissions to be set on the template.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } } } }, "com.amazonaws.quicksight#DescribeTemplateRequest": { "type": "structure", "members": { - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID for the template.

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

The ID of the AWS account that contains the template that you're describing.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the template that you're describing.

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

The ID for the template.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -7053,10 +7123,10 @@ "com.amazonaws.quicksight#DescribeTemplateResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "Template": { + "target": "com.amazonaws.quicksight#Template", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The template structure for the object you want to describe.

" } }, "Status": { @@ -7066,10 +7136,10 @@ "smithy.api#httpResponseCode": {} } }, - "Template": { - "target": "com.amazonaws.quicksight#Template", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The template structure for the object you want to describe.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -7154,6 +7224,14 @@ "com.amazonaws.quicksight#DescribeThemeAliasRequest": { "type": "structure", "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that contains the theme alias that you're\n\t\t\tdescribing.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "ThemeId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { @@ -7169,20 +7247,18 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the theme alias that you're\n\t\t\tdescribing.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, "com.amazonaws.quicksight#DescribeThemeAliasResponse": { "type": "structure", "members": { + "ThemeAlias": { + "target": "com.amazonaws.quicksight#ThemeAlias", + "traits": { + "smithy.api#documentation": "

Information about the theme alias.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -7195,12 +7271,6 @@ "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } - }, - "ThemeAlias": { - "target": "com.amazonaws.quicksight#ThemeAlias", - "traits": { - "smithy.api#documentation": "

Information about the theme alias.

" - } } } }, @@ -7265,22 +7335,28 @@ "com.amazonaws.quicksight#DescribeThemePermissionsResponse": { "type": "structure", "members": { + "ThemeId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "traits": { + "smithy.api#documentation": "

The ID for the theme.

" + } + }, "ThemeArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the theme.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

A list of resource permissions set on the theme.

" } }, - "ThemeId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The ID for the theme.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, "Status": { @@ -7289,37 +7365,24 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", - "traits": { - "smithy.api#documentation": "

A list of resource permissions set on the theme.

" - } } } }, "com.amazonaws.quicksight#DescribeThemeRequest": { "type": "structure", "members": { - "ThemeId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAndAccountId", "traits": { - "smithy.api#documentation": "

The ID for the theme.

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

The ID of the AWS account that contains the theme that you're describing.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AliasName": { - "target": "com.amazonaws.quicksight#AliasName", - "traits": { - "smithy.api#documentation": "

The alias of the theme that you want to describe. If you name a specific alias, you\n\t\t\tdescribe the version that the alias points to. You can specify the latest version of the\n\t\t\ttheme by providing the keyword $LATEST in the AliasName\n\t\t\tparameter. The keyword $PUBLISHED doesn't apply to themes.

", - "smithy.api#httpQuery": "alias-name" - } - }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAndAccountId", + "ThemeId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the theme that you're describing.

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

The ID for the theme.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -7330,12 +7393,25 @@ "smithy.api#documentation": "

The version number for the version to describe. If a VersionNumber parameter\n\t\t\tvalue isn't provided, the latest version of the theme is described.

", "smithy.api#httpQuery": "version-number" } + }, + "AliasName": { + "target": "com.amazonaws.quicksight#AliasName", + "traits": { + "smithy.api#documentation": "

The alias of the theme that you want to describe. If you name a specific alias, you\n\t\t\tdescribe the version that the alias points to. You can specify the latest version of the\n\t\t\ttheme by providing the keyword $LATEST in the AliasName\n\t\t\tparameter. The keyword $PUBLISHED doesn't apply to themes.

", + "smithy.api#httpQuery": "alias-name" + } } } }, "com.amazonaws.quicksight#DescribeThemeResponse": { "type": "structure", "members": { + "Theme": { + "target": "com.amazonaws.quicksight#Theme", + "traits": { + "smithy.api#documentation": "

The information about the theme that you are describing.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -7343,12 +7419,6 @@ "smithy.api#httpResponseCode": {} } }, - "Theme": { - "target": "com.amazonaws.quicksight#Theme", - "traits": { - "smithy.api#documentation": "

The information about the theme that you are describing.

" - } - }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -7400,6 +7470,14 @@ "com.amazonaws.quicksight#DescribeUserRequest": { "type": "structure", "members": { + "UserName": { + "target": "com.amazonaws.quicksight#UserName", + "traits": { + "smithy.api#documentation": "

The name of the user that you want to describe.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -7415,20 +7493,18 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "UserName": { - "target": "com.amazonaws.quicksight#UserName", - "traits": { - "smithy.api#documentation": "

The name of the user that you want to describe.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, "com.amazonaws.quicksight#DescribeUserResponse": { "type": "structure", "members": { + "User": { + "target": "com.amazonaws.quicksight#User", + "traits": { + "smithy.api#documentation": "

The user name.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -7441,12 +7517,6 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "User": { - "target": "com.amazonaws.quicksight#User", - "traits": { - "smithy.api#documentation": "

The user name.

" - } } } }, @@ -7520,17 +7590,17 @@ "com.amazonaws.quicksight#ErrorInfo": { "type": "structure", "members": { - "Message": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

Error message.

" - } - }, "Type": { "target": "com.amazonaws.quicksight#IngestionErrorType", "traits": { "smithy.api#documentation": "

Error type.

" } + }, + "Message": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

Error message.

" + } } }, "traits": { @@ -7663,10 +7733,10 @@ "com.amazonaws.quicksight#GeoSpatialColumnGroup": { "type": "structure", "members": { - "Columns": { - "target": "com.amazonaws.quicksight#ColumnList", + "Name": { + "target": "com.amazonaws.quicksight#ColumnGroupName", "traits": { - "smithy.api#documentation": "

Columns in this hierarchy.

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

A display name for the hierarchy.

", "smithy.api#required": {} } }, @@ -7677,10 +7747,10 @@ "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.quicksight#ColumnGroupName", + "Columns": { + "target": "com.amazonaws.quicksight#ColumnList", "traits": { - "smithy.api#documentation": "

A display name for the hierarchy.

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

Columns in this hierarchy.

", "smithy.api#required": {} } } @@ -7790,18 +7860,28 @@ "com.amazonaws.quicksight#GetDashboardEmbedUrlRequest": { "type": "structure", "members": { - "UndoRedoDisabled": { - "target": "com.amazonaws.quicksight#Boolean", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables\n\t\t\tthe undo/redo button.

", - "smithy.api#httpQuery": "undo-redo-disabled" + "smithy.api#documentation": "

The ID for the AWS account that contains the dashboard that you're embedding.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "ResetDisabled": { - "target": "com.amazonaws.quicksight#Boolean", + "DashboardId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

Remove the reset button on the embedded dashboard. The default is FALSE, which enables the\n\t\t\treset button.

", - "smithy.api#httpQuery": "reset-disabled" + "smithy.api#documentation": "

The ID for the dashboard, also added to the IAM policy.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "IdentityType": { + "target": "com.amazonaws.quicksight#IdentityType", + "traits": { + "smithy.api#documentation": "

The authentication method that the user uses to sign in.

", + "smithy.api#httpQuery": "creds-type", + "smithy.api#required": {} } }, "SessionLifetimeInMinutes": { @@ -7811,20 +7891,18 @@ "smithy.api#httpQuery": "session-lifetime" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "UndoRedoDisabled": { + "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#documentation": "

The ID for the AWS account that contains the dashboard that you're embedding.

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

Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables\n\t\t\tthe undo/redo button.

", + "smithy.api#httpQuery": "undo-redo-disabled" } }, - "IdentityType": { - "target": "com.amazonaws.quicksight#IdentityType", + "ResetDisabled": { + "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#documentation": "

The authentication method that the user uses to sign in.

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

Remove the reset button on the embedded dashboard. The default is FALSE, which enables the\n\t\t\treset button.

", + "smithy.api#httpQuery": "reset-disabled" } }, "UserArn": { @@ -7833,24 +7911,16 @@ "smithy.api#documentation": "

The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type.\n\t\t\tYou can use this for any Amazon QuickSight users in your account (readers, authors, or\n\t\t\tadmins) authenticated as one of the following:

\n\t\t \n

Omit this parameter for users in the third group – IAM users and IAM\n role-based sessions.

", "smithy.api#httpQuery": "user-arn" } - }, - "DashboardId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID for the dashboard, also added to the IAM policy.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, "com.amazonaws.quicksight#GetDashboardEmbedUrlResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "EmbedUrl": { + "target": "com.amazonaws.quicksight#EmbeddingUrl", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

A single-use URL that you can put into your server-side webpage to embed your\n\t\t\tdashboard. This URL is valid for 5 minutes. The API operation provides the URL with an\n\t\t\tauth_code value that enables one (and only one) sign-on to a user session\n\t\t\tthat is valid for 10 hours.

" } }, "Status": { @@ -7860,10 +7930,10 @@ "smithy.api#httpResponseCode": {} } }, - "EmbedUrl": { - "target": "com.amazonaws.quicksight#EmbeddingUrl", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

A single-use URL that you can put into your server-side webpage to embed your\n\t\t\tdashboard. This URL is valid for 5 minutes. The API operation provides the URL with an\n\t\t\tauth_code value that enables one (and only one) sign-on to a user session\n\t\t\tthat is valid for 10 hours.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -7917,6 +7987,14 @@ "com.amazonaws.quicksight#GetSessionEmbedUrlRequest": { "type": "structure", "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID for the AWS account associated with your QuickSight subscription.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "EntryPoint": { "target": "com.amazonaws.quicksight#EntryPoint", "traits": { @@ -7931,14 +8009,6 @@ "smithy.api#httpQuery": "session-lifetime" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID for the AWS account associated with your QuickSight subscription.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "UserArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -7951,12 +8021,6 @@ "com.amazonaws.quicksight#GetSessionEmbedUrlResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "EmbedUrl": { "target": "com.amazonaws.quicksight#EmbeddingUrl", "traits": { @@ -7969,24 +8033,18 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } } } }, "com.amazonaws.quicksight#Group": { "type": "structure", "members": { - "Description": { - "target": "com.amazonaws.quicksight#GroupDescription", - "traits": { - "smithy.api#documentation": "

The group description.

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

The principal ID of the group.

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -7998,6 +8056,18 @@ "traits": { "smithy.api#documentation": "

The name of the group.

" } + }, + "Description": { + "target": "com.amazonaws.quicksight#GroupDescription", + "traits": { + "smithy.api#documentation": "

The group description.

" + } + }, + "PrincipalId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The principal ID of the group.

" + } } }, "traits": { @@ -8022,17 +8092,17 @@ "com.amazonaws.quicksight#GroupMember": { "type": "structure", "members": { - "MemberName": { - "target": "com.amazonaws.quicksight#GroupMemberName", - "traits": { - "smithy.api#documentation": "

The name of the group member (user).

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the group member (user).

" } + }, + "MemberName": { + "target": "com.amazonaws.quicksight#GroupMemberName", + "traits": { + "smithy.api#documentation": "

The name of the group member (user).

" + } } }, "traits": { @@ -8109,10 +8179,10 @@ "smithy.api#documentation": "

Assignment ID.

" } }, - "Identities": { - "target": "com.amazonaws.quicksight#IdentityMap", + "AssignmentName": { + "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", "traits": { - "smithy.api#documentation": "

Identities.

" + "smithy.api#documentation": "

Assignment name.

" } }, "PolicyArn": { @@ -8121,16 +8191,16 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the IAM policy.

" } }, - "AssignmentStatus": { - "target": "com.amazonaws.quicksight#AssignmentStatus", + "Identities": { + "target": "com.amazonaws.quicksight#IdentityMap", "traits": { - "smithy.api#documentation": "

Assignment status.

" + "smithy.api#documentation": "

Identities.

" } }, - "AssignmentName": { - "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", + "AssignmentStatus": { + "target": "com.amazonaws.quicksight#AssignmentStatus", "traits": { - "smithy.api#documentation": "

Assignment name.

" + "smithy.api#documentation": "

Assignment status.

" } } }, @@ -8226,14 +8296,14 @@ "com.amazonaws.quicksight#IdentityTypeNotSupportedException": { "type": "structure", "members": { + "Message": { + "target": "com.amazonaws.quicksight#String" + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { "smithy.api#documentation": "

The AWS request ID for this request.

" } - }, - "Message": { - "target": "com.amazonaws.quicksight#String" } }, "traits": { @@ -8252,24 +8322,17 @@ "smithy.api#required": {} } }, - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", - "traits": { - "smithy.api#documentation": "

The time that this ingestion started.

", - "smithy.api#required": {} - } - }, - "IngestionSizeInBytes": { - "target": "com.amazonaws.quicksight#Long", + "IngestionId": { + "target": "com.amazonaws.quicksight#IngestionId", "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The size of the data ingested, in bytes.

" + "smithy.api#documentation": "

Ingestion ID.

" } }, - "RequestSource": { - "target": "com.amazonaws.quicksight#IngestionRequestSource", + "IngestionStatus": { + "target": "com.amazonaws.quicksight#IngestionStatus", "traits": { - "smithy.api#documentation": "

Event source for this ingestion.

" + "smithy.api#documentation": "

Ingestion status.

", + "smithy.api#required": {} } }, "ErrorInfo": { @@ -8278,36 +8341,43 @@ "smithy.api#documentation": "

Error information for this ingestion.

" } }, - "IngestionStatus": { - "target": "com.amazonaws.quicksight#IngestionStatus", - "traits": { - "smithy.api#documentation": "

Ingestion status.

", - "smithy.api#required": {} - } + "RowInfo": { + "target": "com.amazonaws.quicksight#RowInfo" }, "QueueInfo": { "target": "com.amazonaws.quicksight#QueueInfo" }, - "RowInfo": { - "target": "com.amazonaws.quicksight#RowInfo" + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", + "traits": { + "smithy.api#documentation": "

The time that this ingestion started.

", + "smithy.api#required": {} + } }, - "RequestType": { - "target": "com.amazonaws.quicksight#IngestionRequestType", + "IngestionTimeInSeconds": { + "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#documentation": "

Type of this ingestion.

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

The time that this ingestion took, measured in seconds.

" } }, - "IngestionId": { - "target": "com.amazonaws.quicksight#IngestionId", + "IngestionSizeInBytes": { + "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#documentation": "

Ingestion ID.

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

The size of the data ingested, in bytes.

" + } + }, + "RequestSource": { + "target": "com.amazonaws.quicksight#IngestionRequestSource", + "traits": { + "smithy.api#documentation": "

Event source for this ingestion.

" } }, - "IngestionTimeInSeconds": { - "target": "com.amazonaws.quicksight#Long", + "RequestType": { + "target": "com.amazonaws.quicksight#IngestionRequestType", "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The time that this ingestion took, measured in seconds.

" + "smithy.api#documentation": "

Type of this ingestion.

" } } }, @@ -8657,17 +8727,17 @@ "com.amazonaws.quicksight#IntegerParameter": { "type": "structure", "members": { - "Values": { - "target": "com.amazonaws.quicksight#LongList", + "Name": { + "target": "com.amazonaws.quicksight#NonEmptyString", "traits": { - "smithy.api#documentation": "

The values for the integer parameter.

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

The name of the integer parameter.

", "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.quicksight#NonEmptyString", + "Values": { + "target": "com.amazonaws.quicksight#LongList", "traits": { - "smithy.api#documentation": "

The name of the integer parameter.

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

The values for the integer parameter.

", "smithy.api#required": {} } } @@ -8710,14 +8780,14 @@ "com.amazonaws.quicksight#InvalidNextTokenException": { "type": "structure", "members": { + "Message": { + "target": "com.amazonaws.quicksight#String" + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { "smithy.api#documentation": "

The AWS request ID for this request.

" } - }, - "Message": { - "target": "com.amazonaws.quicksight#String" } }, "traits": { @@ -8763,31 +8833,31 @@ "com.amazonaws.quicksight#JoinInstruction": { "type": "structure", "members": { - "Type": { - "target": "com.amazonaws.quicksight#JoinType", + "LeftOperand": { + "target": "com.amazonaws.quicksight#LogicalTableId", "traits": { - "smithy.api#documentation": "

Type.

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

Left operand.

", "smithy.api#required": {} } }, - "OnClause": { - "target": "com.amazonaws.quicksight#OnClause", + "RightOperand": { + "target": "com.amazonaws.quicksight#LogicalTableId", "traits": { - "smithy.api#documentation": "

On Clause.

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

Right operand.

", "smithy.api#required": {} } }, - "RightOperand": { - "target": "com.amazonaws.quicksight#LogicalTableId", + "Type": { + "target": "com.amazonaws.quicksight#JoinType", "traits": { - "smithy.api#documentation": "

Right operand.

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

Type.

", "smithy.api#required": {} } }, - "LeftOperand": { - "target": "com.amazonaws.quicksight#LogicalTableId", + "OnClause": { + "target": "com.amazonaws.quicksight#OnClause", "traits": { - "smithy.api#documentation": "

Left operand.

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

On Clause.

", "smithy.api#required": {} } } @@ -8883,14 +8953,6 @@ "com.amazonaws.quicksight#ListAnalysesRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", - "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to return.

", - "smithy.api#httpQuery": "max-results" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -8905,16 +8967,24 @@ "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", "smithy.api#httpQuery": "next-token" } + }, + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of results to return.

", + "smithy.api#httpQuery": "max-results" + } } } }, "com.amazonaws.quicksight#ListAnalysesResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "AnalysisSummaryList": { + "target": "com.amazonaws.quicksight#AnalysisSummaryList", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

Metadata describing each of the analyses that are listed.

" } }, "NextToken": { @@ -8930,10 +9000,10 @@ "smithy.api#httpResponseCode": {} } }, - "AnalysisSummaryList": { - "target": "com.amazonaws.quicksight#AnalysisSummaryList", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

Metadata describing each of the analyses that are listed.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -8999,6 +9069,13 @@ "smithy.api#required": {} } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", + "smithy.api#httpQuery": "next-token" + } + }, "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { @@ -9006,19 +9083,18 @@ "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } - }, - "NextToken": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "next-token" - } } } }, "com.amazonaws.quicksight#ListDashboardVersionsResponse": { "type": "structure", "members": { + "DashboardVersionSummaryList": { + "target": "com.amazonaws.quicksight#DashboardVersionSummaryList", + "traits": { + "smithy.api#documentation": "

A structure that contains information about each version of the dashboard.

" + } + }, "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -9032,12 +9108,6 @@ "smithy.api#httpResponseCode": {} } }, - "DashboardVersionSummaryList": { - "target": "com.amazonaws.quicksight#DashboardVersionSummaryList", - "traits": { - "smithy.api#documentation": "

A structure that contains information about each version of the dashboard.

" - } - }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -9093,6 +9163,13 @@ "smithy.api#required": {} } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", + "smithy.api#httpQuery": "next-token" + } + }, "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { @@ -9100,31 +9177,24 @@ "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } - }, - "NextToken": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "next-token" - } } } }, "com.amazonaws.quicksight#ListDashboardsResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "DashboardSummaryList": { "target": "com.amazonaws.quicksight#DashboardSummaryList", "traits": { "smithy.api#documentation": "

A structure that contains all of the dashboards in your AWS account. This structure\n provides basic information about the dashboards.

" } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -9132,10 +9202,10 @@ "smithy.api#httpResponseCode": {} } }, - "NextToken": { + "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -9182,14 +9252,6 @@ "com.amazonaws.quicksight#ListDataSetsRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", - "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to be returned per request.

", - "smithy.api#httpQuery": "max-results" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -9204,23 +9266,30 @@ "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", "smithy.api#httpQuery": "next-token" } + }, + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of results to be returned per request.

", + "smithy.api#httpQuery": "max-results" + } } } }, "com.amazonaws.quicksight#ListDataSetsResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.quicksight#String", + "DataSetSummaries": { + "target": "com.amazonaws.quicksight#DataSetSummaryList", "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + "smithy.api#documentation": "

The list of dataset summaries.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "NextToken": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The token for the next set of results, or null if there are no more results.

" } }, "RequestId": { @@ -9229,10 +9298,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "DataSetSummaries": { - "target": "com.amazonaws.quicksight#DataSetSummaryList", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The list of dataset summaries.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -9313,13 +9383,6 @@ "smithy.api#documentation": "

A list of data sources.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -9331,6 +9394,13 @@ "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } } } }, @@ -9380,12 +9450,12 @@ "com.amazonaws.quicksight#ListGroupMembershipsRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", + "GroupName": { + "target": "com.amazonaws.quicksight#GroupName", "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to return from this request.

", - "smithy.api#httpQuery": "max-results" + "smithy.api#documentation": "

The name of the group that you want to see a membership list of.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "NextToken": { @@ -9395,18 +9465,18 @@ "smithy.api#httpQuery": "next-token" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#documentation": "

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

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

The maximum number of results to return from this request.

", + "smithy.api#httpQuery": "max-results" } }, - "GroupName": { - "target": "com.amazonaws.quicksight#GroupName", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The name of the group that you want to see a membership list of.

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

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9424,29 +9494,29 @@ "com.amazonaws.quicksight#ListGroupMembershipsResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, "GroupMemberList": { "target": "com.amazonaws.quicksight#GroupMemberList", "traits": { "smithy.api#documentation": "

The list of the members of the group.

" } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "NextToken": { - "target": "com.amazonaws.quicksight#String", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -9497,21 +9567,6 @@ "com.amazonaws.quicksight#ListGroupsRequest": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", - "smithy.api#httpQuery": "next-token" - } - }, - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", - "traits": { - "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -9520,6 +9575,13 @@ "smithy.api#required": {} } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", + "smithy.api#httpQuery": "next-token" + } + }, "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { @@ -9527,16 +9589,24 @@ "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#httpQuery": "max-results" } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } } } }, "com.amazonaws.quicksight#ListGroupsResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "GroupList": { + "target": "com.amazonaws.quicksight#GroupList", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The list of the groups.

" } }, "NextToken": { @@ -9545,10 +9615,10 @@ "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

" } }, - "GroupList": { - "target": "com.amazonaws.quicksight#GroupList", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The list of the groups.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, "Status": { @@ -9648,10 +9718,10 @@ "smithy.api#required": {} } }, - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", + "UserName": { + "target": "com.amazonaws.quicksight#UserName", "traits": { - "smithy.api#documentation": "

The namespace of the assignment.

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

The name of the user.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9671,10 +9741,10 @@ "smithy.api#httpQuery": "max-results" } }, - "UserName": { - "target": "com.amazonaws.quicksight#UserName", + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", "traits": { - "smithy.api#documentation": "

The name of the user.

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

The namespace of the assignment.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9684,16 +9754,22 @@ "com.amazonaws.quicksight#ListIAMPolicyAssignmentsForUserResponse": { "type": "structure", "members": { - "NextToken": { + "ActiveAssignments": { + "target": "com.amazonaws.quicksight#ActiveIAMPolicyAssignmentList", + "traits": { + "smithy.api#documentation": "

The active assignments for this user.

" + } + }, + "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "ActiveAssignments": { - "target": "com.amazonaws.quicksight#ActiveIAMPolicyAssignmentList", + "NextToken": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The active assignments for this user.

" + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" } }, "Status": { @@ -9702,32 +9778,12 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } } } }, "com.amazonaws.quicksight#ListIAMPolicyAssignmentsRequest": { "type": "structure", "members": { - "AssignmentStatus": { - "target": "com.amazonaws.quicksight#AssignmentStatus", - "traits": { - "smithy.api#documentation": "

The status of the assignments.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", - "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to be returned per request.

", - "smithy.api#httpQuery": "max-results" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -9736,6 +9792,12 @@ "smithy.api#required": {} } }, + "AssignmentStatus": { + "target": "com.amazonaws.quicksight#AssignmentStatus", + "traits": { + "smithy.api#documentation": "

The status of the assignments.

" + } + }, "Namespace": { "target": "com.amazonaws.quicksight#Namespace", "traits": { @@ -9750,35 +9812,43 @@ "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", "smithy.api#httpQuery": "next-token" } + }, + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of results to be returned per request.

", + "smithy.api#httpQuery": "max-results" + } } } }, "com.amazonaws.quicksight#ListIAMPolicyAssignmentsResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "IAMPolicyAssignments": { + "target": "com.amazonaws.quicksight#IAMPolicyAssignmentSummaryList", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

Information describing the IAM policy assignments.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "NextToken": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The token for the next set of results, or null if there are no more results.

" } }, - "NextToken": { + "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "IAMPolicyAssignments": { - "target": "com.amazonaws.quicksight#IAMPolicyAssignmentSummaryList", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

Information describing the IAM policy assignments.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -9831,14 +9901,6 @@ "com.amazonaws.quicksight#ListIngestionsRequest": { "type": "structure", "members": { - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The AWS account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "DataSetId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -9854,6 +9916,14 @@ "smithy.api#httpQuery": "next-token" } }, + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The AWS account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "MaxResults": { "target": "com.amazonaws.quicksight#IngestionMaxResults", "traits": { @@ -9867,6 +9937,12 @@ "com.amazonaws.quicksight#ListIngestionsResponse": { "type": "structure", "members": { + "Ingestions": { + "target": "com.amazonaws.quicksight#Ingestions", + "traits": { + "smithy.api#documentation": "

A list of the ingestions.

" + } + }, "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -9879,12 +9955,6 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "Ingestions": { - "target": "com.amazonaws.quicksight#Ingestions", - "traits": { - "smithy.api#documentation": "

A list of the ingestions.

" - } - }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -9945,14 +10015,6 @@ "com.amazonaws.quicksight#ListNamespacesRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", - "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to return.

", - "smithy.api#httpQuery": "max-results" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -9967,12 +10029,26 @@ "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", "smithy.api#httpQuery": "next-token" } + }, + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of results to return.

", + "smithy.api#httpQuery": "max-results" + } } } }, "com.amazonaws.quicksight#ListNamespacesResponse": { "type": "structure", "members": { + "Namespaces": { + "target": "com.amazonaws.quicksight#Namespaces", + "traits": { + "smithy.api#documentation": "

The information about the namespaces in this AWS account. The response includes \n the namespace ARN, name, AWS Region, notification email address, creation status, and \n identity store.

" + } + }, "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -9985,12 +10061,6 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "Namespaces": { - "target": "com.amazonaws.quicksight#Namespaces", - "traits": { - "smithy.api#documentation": "

The information about the namespaces in this AWS account. The response includes \n the namespace ARN, name, AWS Region, notification email address, creation status, and \n identity store.

" - } - }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -10050,11 +10120,10 @@ "com.amazonaws.quicksight#ListTagsForResourceResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "Tags": { + "target": "com.amazonaws.quicksight#TagList", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

Contains a map of the key-value pairs for the resource tag or tags assigned to the\n\t\t\tresource.

" } }, "RequestId": { @@ -10063,10 +10132,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "Tags": { - "target": "com.amazonaws.quicksight#TagList", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the\n\t\t\tresource.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -10113,21 +10183,6 @@ "com.amazonaws.quicksight#ListTemplateAliasesRequest": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "next-token" - } - }, - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", - "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to be returned per request.

", - "smithy.api#httpQuery": "max-result" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -10143,18 +10198,27 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", + "smithy.api#httpQuery": "next-token" + } + }, + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of results to be returned per request.

", + "smithy.api#httpQuery": "max-result" + } } } }, "com.amazonaws.quicksight#ListTemplateAliasesResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "TemplateAliasList": { "target": "com.amazonaws.quicksight#TemplateAliasList", "traits": { @@ -10168,6 +10232,12 @@ "smithy.api#httpResponseCode": {} } }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -10221,19 +10291,12 @@ "com.amazonaws.quicksight#ListTemplateVersionsRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", - "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to be returned per request.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.quicksight#String", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "next-token" + "smithy.api#documentation": "

The ID of the AWS account that contains the templates that you're listing.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "TemplateId": { @@ -10244,26 +10307,26 @@ "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "NextToken": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the templates that you're listing.

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

The token for the next set of results, or null if there are no more results.

", + "smithy.api#httpQuery": "next-token" } - } - } - }, - "com.amazonaws.quicksight#ListTemplateVersionsResponse": { - "type": "structure", - "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + }, + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The maximum number of results to be returned per request.

", + "smithy.api#httpQuery": "max-results" } - }, + } + } + }, + "com.amazonaws.quicksight#ListTemplateVersionsResponse": { + "type": "structure", + "members": { "TemplateVersionSummaryList": { "target": "com.amazonaws.quicksight#TemplateVersionSummaryList", "traits": { @@ -10276,6 +10339,13 @@ "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" } }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -10357,16 +10427,16 @@ "com.amazonaws.quicksight#ListTemplatesResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.quicksight#String", + "TemplateSummaryList": { + "target": "com.amazonaws.quicksight#TemplateSummaryList", "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + "smithy.api#documentation": "

A structure containing information about the templates in the list.

" } }, - "RequestId": { + "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" } }, "Status": { @@ -10376,10 +10446,10 @@ "smithy.api#httpResponseCode": {} } }, - "TemplateSummaryList": { - "target": "com.amazonaws.quicksight#TemplateSummaryList", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

A structure containing information about the templates in the list.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -10427,12 +10497,12 @@ "com.amazonaws.quicksight#ListThemeAliasesRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to be returned per request.

", - "smithy.api#httpQuery": "max-result" + "smithy.api#documentation": "

The ID of the AWS account that contains the theme aliases that you're listing.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "ThemeId": { @@ -10450,12 +10520,12 @@ "smithy.api#httpQuery": "next-token" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the theme aliases that you're listing.

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

The maximum number of results to be returned per request.

", + "smithy.api#httpQuery": "max-result" } } } @@ -10463,10 +10533,10 @@ "com.amazonaws.quicksight#ListThemeAliasesResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "ThemeAliasList": { + "target": "com.amazonaws.quicksight#ThemeAliasList", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

A structure containing the list of the theme's aliases.

" } }, "Status": { @@ -10476,10 +10546,10 @@ "smithy.api#httpResponseCode": {} } }, - "ThemeAliasList": { - "target": "com.amazonaws.quicksight#ThemeAliasList", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

A structure containing the list of the theme's aliases.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, "NextToken": { @@ -10533,20 +10603,20 @@ "com.amazonaws.quicksight#ListThemeVersionsRequest": { "type": "structure", "members": { - "ThemeId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID for the theme.

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

The ID of the AWS account that contains the themes that you're listing.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", + "ThemeId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to be returned per request.

", - "smithy.api#httpQuery": "max-results" + "smithy.api#documentation": "

The ID for the theme.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "NextToken": { @@ -10556,12 +10626,12 @@ "smithy.api#httpQuery": "next-token" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the themes that you're listing.

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

The maximum number of results to be returned per request.

", + "smithy.api#httpQuery": "max-results" } } } @@ -10575,6 +10645,12 @@ "smithy.api#documentation": "

A structure containing a list of all the versions of the specified theme.

" } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -10587,12 +10663,6 @@ "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

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

The token for the next set of results, or null if there are no more results.

" - } } } }, @@ -10639,13 +10709,6 @@ "com.amazonaws.quicksight#ListThemesRequest": { "type": "structure", "members": { - "Type": { - "target": "com.amazonaws.quicksight#ThemeType", - "traits": { - "smithy.api#documentation": "

The type of themes that you want to list. Valid options include the following:

\n \t ", - "smithy.api#httpQuery": "type" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -10654,6 +10717,13 @@ "smithy.api#required": {} } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", + "smithy.api#httpQuery": "next-token" + } + }, "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { @@ -10662,11 +10732,11 @@ "smithy.api#httpQuery": "max-results" } }, - "NextToken": { - "target": "com.amazonaws.quicksight#String", + "Type": { + "target": "com.amazonaws.quicksight#ThemeType", "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "next-token" + "smithy.api#documentation": "

The type of themes that you want to list. Valid options include the following:

\n \t ", + "smithy.api#httpQuery": "type" } } } @@ -10674,18 +10744,18 @@ "com.amazonaws.quicksight#ListThemesResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "ThemeSummaryList": { "target": "com.amazonaws.quicksight#ThemeSummaryList", "traits": { "smithy.api#documentation": "

Information about the themes in the list.

" } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -10693,10 +10763,10 @@ "smithy.api#httpResponseCode": {} } }, - "NextToken": { + "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -10752,6 +10822,22 @@ "smithy.api#required": {} } }, + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The AWS account ID that the user is in. Currently, you use the ID for the AWS account\n\t\t\tthat contains your Amazon QuickSight account.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -10766,51 +10852,35 @@ "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } - }, - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", - "traits": { - "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The AWS account ID that the user is in. Currently, you use the ID for the AWS account\n\t\t\tthat contains your Amazon QuickSight account.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, "com.amazonaws.quicksight#ListUserGroupsResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "GroupList": { + "target": "com.amazonaws.quicksight#GroupList", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The list of groups the user is a member of.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "NextToken": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

A pagination token that can be used in a subsequent request.

" } }, - "NextToken": { + "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "GroupList": { - "target": "com.amazonaws.quicksight#GroupList", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The list of groups the user is a member of.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -10861,21 +10931,6 @@ "com.amazonaws.quicksight#ListUsersRequest": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", - "smithy.api#httpQuery": "next-token" - } - }, - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", - "traits": { - "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -10884,6 +10939,13 @@ "smithy.api#required": {} } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

", + "smithy.api#httpQuery": "next-token" + } + }, "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { @@ -10891,23 +10953,30 @@ "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } + }, + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } } } }, "com.amazonaws.quicksight#ListUsersResponse": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.quicksight#String", + "UserList": { + "target": "com.amazonaws.quicksight#UserList", "traits": { - "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

" + "smithy.api#documentation": "

The list of users.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "NextToken": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

A pagination token that can be used in a subsequent request.

" } }, "RequestId": { @@ -10916,24 +10985,18 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "UserList": { - "target": "com.amazonaws.quicksight#UserList", - "traits": { - "smithy.api#documentation": "

The list of users.

" - } - } - } - }, - "com.amazonaws.quicksight#LogicalTable": { - "type": "structure", - "members": { - "Source": { - "target": "com.amazonaws.quicksight#LogicalTableSource", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

Source of this logical table.

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

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } - }, + } + } + }, + "com.amazonaws.quicksight#LogicalTable": { + "type": "structure", + "members": { "Alias": { "target": "com.amazonaws.quicksight#LogicalTableAlias", "traits": { @@ -10946,6 +11009,13 @@ "traits": { "smithy.api#documentation": "

Transform operations that act on this logical table.

" } + }, + "Source": { + "target": "com.amazonaws.quicksight#LogicalTableSource", + "traits": { + "smithy.api#documentation": "

Source of this logical table.

", + "smithy.api#required": {} + } } }, "traits": { @@ -11055,13 +11125,6 @@ "com.amazonaws.quicksight#MariaDbParameters": { "type": "structure", "members": { - "Database": { - "target": "com.amazonaws.quicksight#Database", - "traits": { - "smithy.api#documentation": "

Database.

", - "smithy.api#required": {} - } - }, "Host": { "target": "com.amazonaws.quicksight#Host", "traits": { @@ -11075,6 +11138,13 @@ "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } + }, + "Database": { + "target": "com.amazonaws.quicksight#Database", + "traits": { + "smithy.api#documentation": "

Database.

", + "smithy.api#required": {} + } } }, "traits": { @@ -11093,17 +11163,17 @@ "com.amazonaws.quicksight#MySqlParameters": { "type": "structure", "members": { - "Port": { - "target": "com.amazonaws.quicksight#Port", + "Host": { + "target": "com.amazonaws.quicksight#Host", "traits": { - "smithy.api#documentation": "

Port.

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

Host.

", "smithy.api#required": {} } }, - "Host": { - "target": "com.amazonaws.quicksight#Host", + "Port": { + "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#documentation": "

Host.

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

Port.

", "smithy.api#required": {} } }, @@ -11167,6 +11237,12 @@ "com.amazonaws.quicksight#NamespaceInfoV2": { "type": "structure", "members": { + "Name": { + "target": "com.amazonaws.quicksight#Namespace", + "traits": { + "smithy.api#documentation": "

The name of the error.

" + } + }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -11185,10 +11261,10 @@ "smithy.api#documentation": "

The creation status of a namespace that is not yet completely created.

" } }, - "Name": { - "target": "com.amazonaws.quicksight#Namespace", + "IdentityStore": { + "target": "com.amazonaws.quicksight#IdentityStore", "traits": { - "smithy.api#documentation": "

The name of the error.

" + "smithy.api#documentation": "

The identity store used for the namespace.

" } }, "NamespaceError": { @@ -11196,12 +11272,6 @@ "traits": { "smithy.api#documentation": "

An error that occurred when the namespace was created.

" } - }, - "IdentityStore": { - "target": "com.amazonaws.quicksight#IdentityStore", - "traits": { - "smithy.api#documentation": "

The identity store used for the namespace.

" - } } }, "traits": { @@ -11265,6 +11335,32 @@ } } }, + "com.amazonaws.quicksight#OracleParameters": { + "type": "structure", + "members": { + "Host": { + "target": "com.amazonaws.quicksight#Host", + "traits": { + "smithy.api#documentation": "

An Oracle host.

", + "smithy.api#required": {} + } + }, + "Port": { + "target": "com.amazonaws.quicksight#Port", + "traits": { + "smithy.api#documentation": "

Port.

", + "smithy.api#required": {} + } + }, + "Database": { + "target": "com.amazonaws.quicksight#Database", + "traits": { + "smithy.api#documentation": "

Database.

", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.quicksight#OutputColumn": { "type": "structure", "members": { @@ -11306,6 +11402,12 @@ "smithy.api#documentation": "

String parameters.

" } }, + "IntegerParameters": { + "target": "com.amazonaws.quicksight#IntegerParameterList", + "traits": { + "smithy.api#documentation": "

Integer parameters.

" + } + }, "DecimalParameters": { "target": "com.amazonaws.quicksight#DecimalParameterList", "traits": { @@ -11317,12 +11419,6 @@ "traits": { "smithy.api#documentation": "

Date-time parameters.

" } - }, - "IntegerParameters": { - "target": "com.amazonaws.quicksight#IntegerParameterList", - "traits": { - "smithy.api#documentation": "

Integer parameters.

" - } } }, "traits": { @@ -11409,13 +11505,6 @@ "com.amazonaws.quicksight#PostgreSqlParameters": { "type": "structure", "members": { - "Database": { - "target": "com.amazonaws.quicksight#Database", - "traits": { - "smithy.api#documentation": "

Database.

", - "smithy.api#required": {} - } - }, "Host": { "target": "com.amazonaws.quicksight#Host", "traits": { @@ -11429,6 +11518,13 @@ "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } + }, + "Database": { + "target": "com.amazonaws.quicksight#Database", + "traits": { + "smithy.api#documentation": "

Database.

", + "smithy.api#required": {} + } } }, "traits": { @@ -11438,14 +11534,14 @@ "com.amazonaws.quicksight#PreconditionNotMetException": { "type": "structure", "members": { + "Message": { + "target": "com.amazonaws.quicksight#String" + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { "smithy.api#documentation": "

The AWS request ID for this request.

" } - }, - "Message": { - "target": "com.amazonaws.quicksight#String" } }, "traits": { @@ -11457,6 +11553,13 @@ "com.amazonaws.quicksight#PrestoParameters": { "type": "structure", "members": { + "Host": { + "target": "com.amazonaws.quicksight#Host", + "traits": { + "smithy.api#documentation": "

Host.

", + "smithy.api#required": {} + } + }, "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { @@ -11470,13 +11573,6 @@ "smithy.api#documentation": "

Catalog.

", "smithy.api#required": {} } - }, - "Host": { - "target": "com.amazonaws.quicksight#Host", - "traits": { - "smithy.api#documentation": "

Host.

", - "smithy.api#required": {} - } } }, "traits": { @@ -11492,6 +11588,18 @@ } } }, + "com.amazonaws.quicksight#PrincipalList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#String" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, "com.amazonaws.quicksight#ProjectOperation": { "type": "structure", "members": { @@ -11531,17 +11639,17 @@ "com.amazonaws.quicksight#QueueInfo": { "type": "structure", "members": { - "QueuedIngestion": { + "WaitingOnIngestion": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The ID of the ongoing ingestion. The queued ingestion is waiting for the ongoing\n ingestion to complete.

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

The ID of the queued ingestion.

", "smithy.api#required": {} } }, - "WaitingOnIngestion": { + "QueuedIngestion": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The ID of the queued ingestion.

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

The ID of the ongoing ingestion. The queued ingestion is waiting for the ongoing\n ingestion to complete.

", "smithy.api#required": {} } } @@ -11889,17 +11997,17 @@ "com.amazonaws.quicksight#RdsParameters": { "type": "structure", "members": { - "Database": { - "target": "com.amazonaws.quicksight#Database", + "InstanceId": { + "target": "com.amazonaws.quicksight#InstanceId", "traits": { - "smithy.api#documentation": "

Database.

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

Instance ID.

", "smithy.api#required": {} } }, - "InstanceId": { - "target": "com.amazonaws.quicksight#InstanceId", + "Database": { + "target": "com.amazonaws.quicksight#Database", "traits": { - "smithy.api#documentation": "

Instance ID.

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

Database.

", "smithy.api#required": {} } } @@ -11921,18 +12029,18 @@ "com.amazonaws.quicksight#RedshiftParameters": { "type": "structure", "members": { - "ClusterId": { - "target": "com.amazonaws.quicksight#ClusterId", - "traits": { - "smithy.api#documentation": "

Cluster ID. This field can be blank if the Host and Port are\n provided.

" - } - }, "Host": { "target": "com.amazonaws.quicksight#Host", "traits": { "smithy.api#documentation": "

Host. This field can be blank if ClusterId is provided.

" } }, + "Port": { + "target": "com.amazonaws.quicksight#OptionalPort", + "traits": { + "smithy.api#documentation": "

Port. This field can be blank if the ClusterId is provided.

" + } + }, "Database": { "target": "com.amazonaws.quicksight#Database", "traits": { @@ -11940,10 +12048,10 @@ "smithy.api#required": {} } }, - "Port": { - "target": "com.amazonaws.quicksight#OptionalPort", + "ClusterId": { + "target": "com.amazonaws.quicksight#ClusterId", "traits": { - "smithy.api#documentation": "

Port. This field can be blank if the ClusterId is provided.

" + "smithy.api#documentation": "

Cluster ID. This field can be blank if the Host and Port are\n provided.

" } } }, @@ -12000,22 +12108,18 @@ "com.amazonaws.quicksight#RegisterUserRequest": { "type": "structure", "members": { - "SessionName": { - "target": "com.amazonaws.quicksight#RoleSessionName", - "traits": { - "smithy.api#documentation": "

You need to use this parameter only when you register one or more users using an assumed\n\t\t\tIAM role. You don't need to provide the session name for other scenarios, for example when\n\t\t\tyou are registering an IAM user or an Amazon QuickSight user. You can register multiple\n\t\t\tusers using the same IAM role if each user has a different session name. For more\n\t\t\tinformation on assuming IAM roles, see \n assume-role\n in the AWS CLI Reference.\n

" - } - }, - "CustomPermissionsName": { - "target": "com.amazonaws.quicksight#RoleName", + "IdentityType": { + "target": "com.amazonaws.quicksight#IdentityType", "traits": { - "smithy.api#documentation": "

(Enterprise edition only) The name of the custom permissions profile that you want to\n assign to this user. Customized permissions allows you to control a user's access by\n restricting access the following operations:

\n \n

To add custom permissions to an existing user, use \n UpdateUser\n instead.

\n

A set of custom permissions includes any combination of these restrictions. Currently,\n you need to create the profile names for custom permission sets by using the QuickSight\n console. Then, you use the RegisterUser API operation to assign the named set of\n permissions to a QuickSight user.

\n

QuickSight custom permissions are applied through IAM policies. Therefore, they\n override the permissions typically granted by assigning QuickSight users to one of the\n default security cohorts in QuickSight (admin, author, reader).

\n

This feature is available only to QuickSight Enterprise edition subscriptions that use\n SAML 2.0-Based Federation for Single Sign-On (SSO).

" + "smithy.api#documentation": "

Amazon QuickSight supports several ways of managing the identity of users. This\n\t\t\tparameter accepts two values:

\n\t\t ", + "smithy.api#required": {} } }, - "UserName": { - "target": "com.amazonaws.quicksight#UserName", + "Email": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The Amazon QuickSight user name that you want to create for the user you are\n\t\t\tregistering.

" + "smithy.api#documentation": "

The email address of the user that you want to register.

", + "smithy.api#required": {} } }, "UserRole": { @@ -12025,17 +12129,24 @@ "smithy.api#required": {} } }, - "Email": { + "IamArn": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The email address of the user that you want to register.

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

The ARN of the IAM user or role that you are registering with Amazon QuickSight.

" } }, - "IamArn": { - "target": "com.amazonaws.quicksight#String", + "SessionName": { + "target": "com.amazonaws.quicksight#RoleSessionName", "traits": { - "smithy.api#documentation": "

The ARN of the IAM user or role that you are registering with Amazon QuickSight.

" + "smithy.api#documentation": "

You need to use this parameter only when you register one or more users using an assumed\n\t\t\tIAM role. You don't need to provide the session name for other scenarios, for example when\n\t\t\tyou are registering an IAM user or an Amazon QuickSight user. You can register multiple\n\t\t\tusers using the same IAM role if each user has a different session name. For more\n\t\t\tinformation on assuming IAM roles, see \n assume-role\n in the AWS CLI Reference.\n

" + } + }, + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID for the AWS account that the user is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "Namespace": { @@ -12046,19 +12157,16 @@ "smithy.api#required": {} } }, - "IdentityType": { - "target": "com.amazonaws.quicksight#IdentityType", + "UserName": { + "target": "com.amazonaws.quicksight#UserName", "traits": { - "smithy.api#documentation": "

Amazon QuickSight supports several ways of managing the identity of users. This\n\t\t\tparameter accepts two values:

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

The Amazon QuickSight user name that you want to create for the user you are\n\t\t\tregistering.

" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "CustomPermissionsName": { + "target": "com.amazonaws.quicksight#RoleName", "traits": { - "smithy.api#documentation": "

The ID for the AWS account that the user is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

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

(Enterprise edition only) The name of the custom permissions profile that you want to\n assign to this user. Customized permissions allows you to control a user's access by\n restricting access the following operations:

\n \n

To add custom permissions to an existing user, use \n UpdateUser\n instead.

\n

A set of custom permissions includes any combination of these restrictions. Currently,\n you need to create the profile names for custom permission sets by using the QuickSight\n console. Then, you use the RegisterUser API operation to assign the named set of\n permissions to a QuickSight user.

\n

QuickSight custom permissions are applied through IAM policies. Therefore, they\n override the permissions typically granted by assigning QuickSight users to one of the\n default security cohorts in QuickSight (admin, author, reader).

\n

This feature is available only to QuickSight Enterprise edition subscriptions that use\n SAML 2.0-Based Federation for Single Sign-On (SSO).

" } } } @@ -12066,11 +12174,10 @@ "com.amazonaws.quicksight#RegisterUserResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "User": { + "target": "com.amazonaws.quicksight#User", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The user's user name.

" } }, "UserInvitationUrl": { @@ -12079,17 +12186,18 @@ "smithy.api#documentation": "

The URL the user visits to complete registration and provide a password. This is\n\t\t\treturned only for users with an identity type of QUICKSIGHT.

" } }, - "User": { - "target": "com.amazonaws.quicksight#User", - "traits": { - "smithy.api#documentation": "

The user's user name.

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

The AWS request ID for this operation.

" } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } } } }, @@ -12103,6 +12211,12 @@ "smithy.api#required": {} } }, + "Schema": { + "target": "com.amazonaws.quicksight#RelationalTableSchema", + "traits": { + "smithy.api#documentation": "

The schema name. This name applies to certain relational database engines.

" + } + }, "Name": { "target": "com.amazonaws.quicksight#RelationalTableName", "traits": { @@ -12116,12 +12230,6 @@ "smithy.api#documentation": "

The column schema of the table.

", "smithy.api#required": {} } - }, - "Schema": { - "target": "com.amazonaws.quicksight#RelationalTableSchema", - "traits": { - "smithy.api#documentation": "

The schema name. This name applies to certain relational database engines.

" - } } }, "traits": { @@ -12171,15 +12279,15 @@ "com.amazonaws.quicksight#ResourceExistsException": { "type": "structure", "members": { + "Message": { + "target": "com.amazonaws.quicksight#String" + }, "ResourceType": { "target": "com.amazonaws.quicksight#ExceptionResourceType", "traits": { "smithy.api#documentation": "

The resource type for this request.

" } }, - "Message": { - "target": "com.amazonaws.quicksight#String" - }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -12243,7 +12351,7 @@ "Actions": { "target": "com.amazonaws.quicksight#ActionList", "traits": { - "smithy.api#documentation": "

The IAM action to grant or revoke permissions on, for example\n \"quicksight:DescribeDashboard\".

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

The IAM action to grant or revoke permissions on.

", "smithy.api#required": {} } } @@ -12302,11 +12410,8 @@ "com.amazonaws.quicksight#ResourceUnavailableException": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this request.

" - } + "Message": { + "target": "com.amazonaws.quicksight#String" }, "ResourceType": { "target": "com.amazonaws.quicksight#ExceptionResourceType", @@ -12314,8 +12419,11 @@ "smithy.api#documentation": "

The resource type for this request.

" } }, - "Message": { - "target": "com.amazonaws.quicksight#String" + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this request.

" + } } }, "traits": { @@ -12385,10 +12493,11 @@ "com.amazonaws.quicksight#RestoreAnalysisResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } }, "Arn": { @@ -12403,11 +12512,10 @@ "smithy.api#documentation": "

The ID of the analysis that you're restoring.\n

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The AWS request ID for this operation.

" } } } @@ -12473,17 +12581,17 @@ "smithy.api#documentation": "

The namespace associated with the row-level permissions dataset.

" } }, - "PermissionPolicy": { - "target": "com.amazonaws.quicksight#RowLevelPermissionPolicy", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

Permission policy.

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

The Amazon Resource Name (ARN) of the permission dataset.

", "smithy.api#required": {} } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "PermissionPolicy": { + "target": "com.amazonaws.quicksight#RowLevelPermissionPolicy", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the permission dataset.

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

Permission policy.

", "smithy.api#required": {} } } @@ -12543,12 +12651,6 @@ "com.amazonaws.quicksight#S3Source": { "type": "structure", "members": { - "UploadSettings": { - "target": "com.amazonaws.quicksight#UploadSettings", - "traits": { - "smithy.api#documentation": "

Information about the format for the S3 source file or files.

" - } - }, "DataSourceArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -12556,6 +12658,12 @@ "smithy.api#required": {} } }, + "UploadSettings": { + "target": "com.amazonaws.quicksight#UploadSettings", + "traits": { + "smithy.api#documentation": "

Information about the format for the S3 source file or files.

" + } + }, "InputColumns": { "target": "com.amazonaws.quicksight#InputColumnList", "traits": { @@ -12628,47 +12736,47 @@ "smithy.api#required": {} } }, + "NextToken": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.

" + } + }, "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { "smithy.api#box": {}, "smithy.api#documentation": "

The maximum number of results to return.

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

A pagination token that can be used in a subsequent request.

" - } } } }, "com.amazonaws.quicksight#SearchAnalysesResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, "AnalysisSummaryList": { "target": "com.amazonaws.quicksight#AnalysisSummaryList", "traits": { "smithy.api#documentation": "

Metadata describing the analyses that you searched for.

" } }, - "RequestId": { + "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.\n

" } }, - "NextToken": { + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } + }, + "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

A pagination token that can be used in a subsequent request.\n

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -12718,13 +12826,6 @@ "com.amazonaws.quicksight#SearchDashboardsRequest": { "type": "structure", "members": { - "MaxResults": { - "target": "com.amazonaws.quicksight#MaxResults", - "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of results to be returned per request.

" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -12733,17 +12834,24 @@ "smithy.api#required": {} } }, + "Filters": { + "target": "com.amazonaws.quicksight#DashboardSearchFilterList", + "traits": { + "smithy.api#documentation": "

The filters to apply to the search. Currently, you can search only by user name, for\n example, \"Filters\": [ { \"Name\": \"QUICKSIGHT_USER\", \"Operator\": \"StringEquals\",\n \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\" } ]\n

", + "smithy.api#required": {} + } + }, "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" } }, - "Filters": { - "target": "com.amazonaws.quicksight#DashboardSearchFilterList", + "MaxResults": { + "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#documentation": "

The filters to apply to the search. Currently, you can search only by user name, for\n example, \"Filters\": [ { \"Name\": \"QUICKSIGHT_USER\", \"Operator\": \"StringEquals\",\n \"Value\": \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\" } ]\n

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

The maximum number of results to be returned per request.

" } } } @@ -12757,12 +12865,6 @@ "smithy.api#documentation": "

The list of dashboards owned by the user specified in Filters in your\n request.

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

The AWS request ID for this operation.

" - } - }, "NextToken": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -12775,6 +12877,12 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } } } }, @@ -12900,17 +13008,17 @@ "com.amazonaws.quicksight#SnowflakeParameters": { "type": "structure", "members": { - "Database": { - "target": "com.amazonaws.quicksight#Database", + "Host": { + "target": "com.amazonaws.quicksight#Host", "traits": { - "smithy.api#documentation": "

Database.

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

Host.

", "smithy.api#required": {} } }, - "Host": { - "target": "com.amazonaws.quicksight#Host", + "Database": { + "target": "com.amazonaws.quicksight#Database", "traits": { - "smithy.api#documentation": "

Host.

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

Database.

", "smithy.api#required": {} } }, @@ -12929,17 +13037,17 @@ "com.amazonaws.quicksight#SparkParameters": { "type": "structure", "members": { - "Port": { - "target": "com.amazonaws.quicksight#Port", + "Host": { + "target": "com.amazonaws.quicksight#Host", "traits": { - "smithy.api#documentation": "

Port.

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

Host.

", "smithy.api#required": {} } }, - "Host": { - "target": "com.amazonaws.quicksight#Host", + "Port": { + "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#documentation": "

Host.

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

Port.

", "smithy.api#required": {} } } @@ -12967,17 +13075,17 @@ "smithy.api#required": {} } }, - "Database": { - "target": "com.amazonaws.quicksight#Database", + "Port": { + "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#documentation": "

Database.

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

Port.

", "smithy.api#required": {} } }, - "Port": { - "target": "com.amazonaws.quicksight#Port", + "Database": { + "target": "com.amazonaws.quicksight#Database", "traits": { - "smithy.api#documentation": "

Port.

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

Database.

", "smithy.api#required": {} } } @@ -13015,17 +13123,17 @@ "com.amazonaws.quicksight#StringParameter": { "type": "structure", "members": { - "Values": { - "target": "com.amazonaws.quicksight#StringList", + "Name": { + "target": "com.amazonaws.quicksight#NonEmptyString", "traits": { - "smithy.api#documentation": "

The values of a string parameter.

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

A display name for a string parameter.

", "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.quicksight#NonEmptyString", + "Values": { + "target": "com.amazonaws.quicksight#StringList", "traits": { - "smithy.api#documentation": "

A display name for a string parameter.

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

The values of a string parameter.

", "smithy.api#required": {} } } @@ -13163,13 +13271,6 @@ "com.amazonaws.quicksight#TagResourceRequest": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.quicksight#TagList", - "traits": { - "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

", - "smithy.api#required": {} - } - }, "ResourceArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -13177,24 +13278,31 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "Tags": { + "target": "com.amazonaws.quicksight#TagList", + "traits": { + "smithy.api#documentation": "

Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

", + "smithy.api#required": {} + } } } }, "com.amazonaws.quicksight#TagResourceResponse": { "type": "structure", "members": { + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } } } }, @@ -13210,16 +13318,10 @@ "com.amazonaws.quicksight#Template": { "type": "structure", "members": { - "Version": { - "target": "com.amazonaws.quicksight#TemplateVersion", - "traits": { - "smithy.api#documentation": "

A structure describing the versions of the template.

" - } - }, - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The ID for the template. This is unique per AWS Region for each AWS account.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template.

" } }, "Name": { @@ -13228,10 +13330,16 @@ "smithy.api#documentation": "

The display name of the template.

" } }, - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "Version": { + "target": "com.amazonaws.quicksight#TemplateVersion", "traits": { - "smithy.api#documentation": "

Time when this was created.

" + "smithy.api#documentation": "

A structure describing the versions of the template.

" + } + }, + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "traits": { + "smithy.api#documentation": "

The ID for the template. This is unique per AWS Region for each AWS account.

" } }, "LastUpdatedTime": { @@ -13240,10 +13348,10 @@ "smithy.api#documentation": "

Time when this was last updated.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template.

" + "smithy.api#documentation": "

Time when this was created.

" } } }, @@ -13254,10 +13362,10 @@ "com.amazonaws.quicksight#TemplateAlias": { "type": "structure", "members": { - "TemplateVersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "AliasName": { + "target": "com.amazonaws.quicksight#AliasName", "traits": { - "smithy.api#documentation": "

The version number of the template alias.

" + "smithy.api#documentation": "

The display name of the template alias.

" } }, "Arn": { @@ -13266,10 +13374,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template alias.

" } }, - "AliasName": { - "target": "com.amazonaws.quicksight#AliasName", + "TemplateVersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

The display name of the template alias.

" + "smithy.api#documentation": "

The version number of the template alias.

" } } }, @@ -13413,10 +13521,10 @@ "com.amazonaws.quicksight#TemplateSummary": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.quicksight#TemplateName", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

A display name for the template.

" + "smithy.api#documentation": "

A summary of a template.

" } }, "TemplateId": { @@ -13425,16 +13533,16 @@ "smithy.api#documentation": "

The ID of the template. This ID is unique per AWS Region for each AWS account.

" } }, - "LastUpdatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "Name": { + "target": "com.amazonaws.quicksight#TemplateName", "traits": { - "smithy.api#documentation": "

The last time that this template was updated.

" + "smithy.api#documentation": "

A display name for the template.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "LatestVersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

A summary of a template.

" + "smithy.api#documentation": "

A structure containing a list of version numbers for the template summary.

" } }, "CreatedTime": { @@ -13443,10 +13551,10 @@ "smithy.api#documentation": "

The last time that this template was created.

" } }, - "LatestVersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "LastUpdatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

A structure containing a list of version numbers for the template summary.

" + "smithy.api#documentation": "

The last time that this template was updated.

" } } }, @@ -13469,40 +13577,28 @@ "com.amazonaws.quicksight#TemplateVersion": { "type": "structure", "members": { - "ThemeArn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the theme associated with this version of the template.

" - } - }, "CreatedTime": { "target": "com.amazonaws.quicksight#Timestamp", "traits": { "smithy.api#documentation": "

The time that this template version was created.

" } }, - "Description": { - "target": "com.amazonaws.quicksight#VersionDescription", - "traits": { - "smithy.api#documentation": "

The description of the template.

" - } - }, - "Status": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "Errors": { + "target": "com.amazonaws.quicksight#TemplateErrorList", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

" + "smithy.api#documentation": "

Errors associated with this template version.

" } }, - "Sheets": { - "target": "com.amazonaws.quicksight#SheetList", + "VersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

A list of the associated sheets with the unique identifier and name of each sheet.

" + "smithy.api#documentation": "

The version number of the template version.

" } }, - "Errors": { - "target": "com.amazonaws.quicksight#TemplateErrorList", + "Status": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

Errors associated with this template version.

" + "smithy.api#documentation": "

The HTTP status of the request.

" } }, "DataSetConfigurations": { @@ -13511,10 +13607,10 @@ "smithy.api#documentation": "

Schema of the dataset identified by the placeholder. Any dashboard created from this\n template should be bound to new datasets matching the same schema described through this\n API operation.

" } }, - "VersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "Description": { + "target": "com.amazonaws.quicksight#VersionDescription", "traits": { - "smithy.api#documentation": "

The version number of the template version.

" + "smithy.api#documentation": "

The description of the template.

" } }, "SourceEntityArn": { @@ -13522,6 +13618,18 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an analysis or template that was used to create this\n template.

" } + }, + "ThemeArn": { + "target": "com.amazonaws.quicksight#Arn", + "traits": { + "smithy.api#documentation": "

The ARN of the theme associated with this version of the template.

" + } + }, + "Sheets": { + "target": "com.amazonaws.quicksight#SheetList", + "traits": { + "smithy.api#documentation": "

A list of the associated sheets with the unique identifier and name of each sheet.

" + } } }, "traits": { @@ -13531,10 +13639,10 @@ "com.amazonaws.quicksight#TemplateVersionSummary": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The status of the template version.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template version.

" } }, "VersionNumber": { @@ -13543,22 +13651,22 @@ "smithy.api#documentation": "

The version number of the template version.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template version.

" + "smithy.api#documentation": "

The time that this template version was created.

" } }, - "Description": { - "target": "com.amazonaws.quicksight#VersionDescription", + "Status": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

The description of the template version.

" + "smithy.api#documentation": "

The status of the template version.

" } }, - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "Description": { + "target": "com.amazonaws.quicksight#VersionDescription", "traits": { - "smithy.api#documentation": "

The time that this template version was created.

" + "smithy.api#documentation": "

The description of the template version.

" } } }, @@ -13581,10 +13689,10 @@ "com.amazonaws.quicksight#TeradataParameters": { "type": "structure", "members": { - "Database": { - "target": "com.amazonaws.quicksight#Database", + "Host": { + "target": "com.amazonaws.quicksight#Host", "traits": { - "smithy.api#documentation": "

Database.

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

Host.

", "smithy.api#required": {} } }, @@ -13595,10 +13703,10 @@ "smithy.api#required": {} } }, - "Host": { - "target": "com.amazonaws.quicksight#Host", + "Database": { + "target": "com.amazonaws.quicksight#Database", "traits": { - "smithy.api#documentation": "

Host.

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

Database.

", "smithy.api#required": {} } } @@ -13625,14 +13733,17 @@ "com.amazonaws.quicksight#Theme": { "type": "structure", "members": { - "Type": { - "target": "com.amazonaws.quicksight#ThemeType", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The type of theme, based on how it was created. Valid values include:\n QUICKSIGHT and CUSTOM.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the theme.

" } }, - "Version": { - "target": "com.amazonaws.quicksight#ThemeVersion" + "Name": { + "target": "com.amazonaws.quicksight#ThemeName", + "traits": { + "smithy.api#documentation": "

The name that the user gives to the theme.

" + } }, "ThemeId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", @@ -13640,6 +13751,9 @@ "smithy.api#documentation": "

The identifier that the user gives to the theme.

" } }, + "Version": { + "target": "com.amazonaws.quicksight#ThemeVersion" + }, "CreatedTime": { "target": "com.amazonaws.quicksight#Timestamp", "traits": { @@ -13652,16 +13766,10 @@ "smithy.api#documentation": "

The date and time that the theme was last updated.

" } }, - "Name": { - "target": "com.amazonaws.quicksight#ThemeName", - "traits": { - "smithy.api#documentation": "

The name that the user gives to the theme.

" - } - }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "Type": { + "target": "com.amazonaws.quicksight#ThemeType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the theme.

" + "smithy.api#documentation": "

The type of theme, based on how it was created. Valid values include:\n QUICKSIGHT and CUSTOM.

" } } }, @@ -13672,18 +13780,18 @@ "com.amazonaws.quicksight#ThemeAlias": { "type": "structure", "members": { - "AliasName": { - "target": "com.amazonaws.quicksight#AliasName", - "traits": { - "smithy.api#documentation": "

The display name of the theme alias.

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the theme alias.

" } }, + "AliasName": { + "target": "com.amazonaws.quicksight#AliasName", + "traits": { + "smithy.api#documentation": "

The display name of the theme alias.

" + } + }, "ThemeVersionNumber": { "target": "com.amazonaws.quicksight#VersionNumber", "traits": { @@ -13710,18 +13818,18 @@ "com.amazonaws.quicksight#ThemeConfiguration": { "type": "structure", "members": { - "UIColorPalette": { - "target": "com.amazonaws.quicksight#UIColorPalette", - "traits": { - "smithy.api#documentation": "

Color properties that apply to the UI and to charts, excluding the colors that apply\n to data.

" - } - }, "DataColorPalette": { "target": "com.amazonaws.quicksight#DataColorPalette", "traits": { "smithy.api#documentation": "

Color properties that apply to chart data colors.

" } }, + "UIColorPalette": { + "target": "com.amazonaws.quicksight#UIColorPalette", + "traits": { + "smithy.api#documentation": "

Color properties that apply to the UI and to charts, excluding the colors that apply\n to data.

" + } + }, "Sheet": { "target": "com.amazonaws.quicksight#SheetStyle", "traits": { @@ -13787,16 +13895,16 @@ "com.amazonaws.quicksight#ThemeSummary": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.quicksight#ThemeName", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

the display name for the theme.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" } }, - "LastUpdatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "Name": { + "target": "com.amazonaws.quicksight#ThemeName", "traits": { - "smithy.api#documentation": "

The last date and time that this theme was updated.

" + "smithy.api#documentation": "

the display name for the theme.

" } }, "ThemeId": { @@ -13817,10 +13925,10 @@ "smithy.api#documentation": "

The date and time that this theme was created.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "LastUpdatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + "smithy.api#documentation": "

The last date and time that this theme was updated.

" } } }, @@ -13862,34 +13970,28 @@ "com.amazonaws.quicksight#ThemeVersion": { "type": "structure", "members": { - "Arn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" - } - }, - "Status": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "VersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

The status of the theme version.

" + "smithy.api#documentation": "

The version number of the theme.

" } }, - "Configuration": { - "target": "com.amazonaws.quicksight#ThemeConfiguration", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The theme configuration, which contains all the theme display properties.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" } }, - "VersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "Description": { + "target": "com.amazonaws.quicksight#VersionDescription", "traits": { - "smithy.api#documentation": "

The version number of the theme.

" + "smithy.api#documentation": "

The description of the theme.

" } }, - "Errors": { - "target": "com.amazonaws.quicksight#ThemeErrorList", + "BaseThemeId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

Errors associated with the theme.

" + "smithy.api#documentation": "

The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All\n themes initially inherit from a default QuickSight theme.

" } }, "CreatedTime": { @@ -13898,16 +14000,22 @@ "smithy.api#documentation": "

The date and time that this theme version was created.

" } }, - "BaseThemeId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "Configuration": { + "target": "com.amazonaws.quicksight#ThemeConfiguration", "traits": { - "smithy.api#documentation": "

The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All\n themes initially inherit from a default QuickSight theme.

" + "smithy.api#documentation": "

The theme configuration, which contains all the theme display properties.

" } }, - "Description": { - "target": "com.amazonaws.quicksight#VersionDescription", + "Errors": { + "target": "com.amazonaws.quicksight#ThemeErrorList", "traits": { - "smithy.api#documentation": "

The description of the theme.

" + "smithy.api#documentation": "

Errors associated with the theme.

" + } + }, + "Status": { + "target": "com.amazonaws.quicksight#ResourceStatus", + "traits": { + "smithy.api#documentation": "

The status of the theme version.

" } } }, @@ -13918,10 +14026,10 @@ "com.amazonaws.quicksight#ThemeVersionSummary": { "type": "structure", "members": { - "CreatedTime": { - "target": "com.amazonaws.quicksight#Timestamp", + "VersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

The date and time that this theme version was created.

" + "smithy.api#documentation": "

The version number of the theme version.

" } }, "Arn": { @@ -13936,16 +14044,16 @@ "smithy.api#documentation": "

The description of the theme version.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "CreatedTime": { + "target": "com.amazonaws.quicksight#Timestamp", "traits": { - "smithy.api#documentation": "

The status of the theme version.

" + "smithy.api#documentation": "

The date and time that this theme version was created.

" } }, - "VersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "Status": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

The version number of the theme version.

" + "smithy.api#documentation": "

The status of the theme version.

" } } }, @@ -14030,16 +14138,16 @@ "com.amazonaws.quicksight#TransformOperation": { "type": "structure", "members": { - "RenameColumnOperation": { - "target": "com.amazonaws.quicksight#RenameColumnOperation", + "ProjectOperation": { + "target": "com.amazonaws.quicksight#ProjectOperation", "traits": { - "smithy.api#documentation": "

An operation that renames a column.

" + "smithy.api#documentation": "

An operation that projects columns. Operations that come after a projection can only\n refer to projected columns.

" } }, - "TagColumnOperation": { - "target": "com.amazonaws.quicksight#TagColumnOperation", + "FilterOperation": { + "target": "com.amazonaws.quicksight#FilterOperation", "traits": { - "smithy.api#documentation": "

An operation that tags a column with additional information.

" + "smithy.api#documentation": "

An operation that filters rows based on some condition.

" } }, "CreateColumnsOperation": { @@ -14048,16 +14156,10 @@ "smithy.api#documentation": "

An operation that creates calculated columns. Columns created in one such operation\n form a lexical closure.

" } }, - "ProjectOperation": { - "target": "com.amazonaws.quicksight#ProjectOperation", - "traits": { - "smithy.api#documentation": "

An operation that projects columns. Operations that come after a projection can only\n refer to projected columns.

" - } - }, - "FilterOperation": { - "target": "com.amazonaws.quicksight#FilterOperation", + "RenameColumnOperation": { + "target": "com.amazonaws.quicksight#RenameColumnOperation", "traits": { - "smithy.api#documentation": "

An operation that filters rows based on some condition.

" + "smithy.api#documentation": "

An operation that renames a column.

" } }, "CastColumnTypeOperation": { @@ -14065,6 +14167,12 @@ "traits": { "smithy.api#documentation": "

A transform operation that casts a column to a different type.

" } + }, + "TagColumnOperation": { + "target": "com.amazonaws.quicksight#TagColumnOperation", + "traits": { + "smithy.api#documentation": "

An operation that tags a column with additional information.

" + } } }, "traits": { @@ -14117,88 +14225,88 @@ "com.amazonaws.quicksight#UIColorPalette": { "type": "structure", "members": { - "Danger": { + "PrimaryForeground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The color that applies to error messages.

" + "smithy.api#documentation": "

The color of text and other foreground elements that appear over the primary\n background regions, such as grid lines, borders, table banding, icons, and so on.

" } }, - "Success": { + "PrimaryBackground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The color that applies to success messages, for example the check mark for a\n successful download.

" + "smithy.api#documentation": "

The background color that applies to visuals and other high emphasis UI.

" } }, - "WarningForeground": { + "SecondaryForeground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n warning color.

" + "smithy.api#documentation": "

The foreground color that applies to any sheet title, sheet control text, or UI that\n appears over the secondary background.

" } }, - "Dimension": { + "SecondaryBackground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The color that applies to the names of fields that are identified as\n dimensions.

" + "smithy.api#documentation": "

The background color that applies to the sheet background and sheet controls.

" } }, - "DangerForeground": { + "Accent": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n error color.

" + "smithy.api#documentation": "

This color is that applies to selected states and buttons.

" } }, - "Accent": { + "AccentForeground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

This color is that applies to selected states and buttons.

" + "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n accent color.

" } }, - "Warning": { + "Danger": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

This color that applies to warning and informational messages.

" + "smithy.api#documentation": "

The color that applies to error messages.

" } }, - "MeasureForeground": { + "DangerForeground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n measure color.

" + "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n error color.

" } }, - "SuccessForeground": { + "Warning": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n success color.

" + "smithy.api#documentation": "

This color that applies to warning and informational messages.

" } }, - "AccentForeground": { + "WarningForeground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n accent color.

" + "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n warning color.

" } }, - "DimensionForeground": { + "Success": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n dimension color.

" + "smithy.api#documentation": "

The color that applies to success messages, for example the check mark for a\n successful download.

" } }, - "SecondaryForeground": { + "SuccessForeground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The foreground color that applies to any sheet title, sheet control text, or UI that\n appears over the secondary background.

" + "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n success color.

" } }, - "PrimaryForeground": { + "Dimension": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The color of text and other foreground elements that appear over the primary\n background regions, such as grid lines, borders, table banding, icons, and so on.

" + "smithy.api#documentation": "

The color that applies to the names of fields that are identified as\n dimensions.

" } }, - "SecondaryBackground": { + "DimensionForeground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The background color that applies to the sheet background and sheet controls.

" + "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n dimension color.

" } }, "Measure": { @@ -14207,10 +14315,10 @@ "smithy.api#documentation": "

The color that applies to the names of fields that are identified as measures.

" } }, - "PrimaryBackground": { + "MeasureForeground": { "target": "com.amazonaws.quicksight#HexColor", "traits": { - "smithy.api#documentation": "

The background color that applies to visuals and other high emphasis UI.

" + "smithy.api#documentation": "

The foreground color that applies to any text or other elements that appear over the\n measure color.

" } } }, @@ -14350,6 +14458,14 @@ "com.amazonaws.quicksight#UpdateAccountCustomizationRequest": { "type": "structure", "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID for the AWS account that you want to update QuickSight customizations\n for.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "Namespace": { "target": "com.amazonaws.quicksight#Namespace", "traits": { @@ -14363,24 +14479,16 @@ "smithy.api#documentation": "

The QuickSight customizations you're updating in the current AWS Region.

", "smithy.api#required": {} } - }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID for the AWS account that you want to update QuickSight customizations\n for.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, "com.amazonaws.quicksight#UpdateAccountCustomizationResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the updated customization for this AWS account.

" } }, "AwsAccountId": { @@ -14389,12 +14497,6 @@ "smithy.api#documentation": "

The ID for the AWS account that you want to update QuickSight customizations\n for.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the updated customization for this AWS account.

" - } - }, "Namespace": { "target": "com.amazonaws.quicksight#Namespace", "traits": { @@ -14407,6 +14509,12 @@ "smithy.api#documentation": "

The QuickSight customizations you're updating in the current AWS Region.

" } }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -14456,6 +14564,14 @@ "com.amazonaws.quicksight#UpdateAccountSettingsRequest": { "type": "structure", "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID for the AWS account that contains the QuickSight settings that you want to\n list.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "DefaultNamespace": { "target": "com.amazonaws.quicksight#Namespace", "traits": { @@ -14468,32 +14584,24 @@ "traits": { "smithy.api#documentation": "

The email address that you want QuickSight to send notifications to regarding your AWS\n account or QuickSight subscription.

" } - }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID for the AWS account that contains the QuickSight settings that you want to\n list.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, "com.amazonaws.quicksight#UpdateAccountSettingsResponse": { "type": "structure", "members": { + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } } } }, @@ -14577,18 +14685,18 @@ "com.amazonaws.quicksight#UpdateAnalysisPermissionsRequest": { "type": "structure", "members": { - "AnalysisId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID of the analysis whose permissions you're updating. The ID is part of the\n analysis URL.

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

The ID of the AWS account that contains the analysis whose permissions you're\n updating. You must be using the AWS account that the analysis is in.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "AnalysisId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the analysis whose permissions you're\n updating. You must be using the AWS account that the analysis is in.

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

The ID of the analysis whose permissions you're updating. The ID is part of the\n analysis URL.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -14610,10 +14718,10 @@ "com.amazonaws.quicksight#UpdateAnalysisPermissionsResponse": { "type": "structure", "members": { - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", + "AnalysisArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

A structure that describes the principals and the resource-level permissions on an\n analysis.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the analysis that you updated.

" } }, "AnalysisId": { @@ -14622,11 +14730,10 @@ "smithy.api#documentation": "

The ID of the analysis that you updated permissions for.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

A structure that describes the principals and the resource-level permissions on an\n analysis.

" } }, "RequestId": { @@ -14635,10 +14742,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "AnalysisArn": { - "target": "com.amazonaws.quicksight#Arn", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the analysis that you updated.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -14646,17 +14754,11 @@ "com.amazonaws.quicksight#UpdateAnalysisRequest": { "type": "structure", "members": { - "SourceEntity": { - "target": "com.amazonaws.quicksight#AnalysisSourceEntity", - "traits": { - "smithy.api#documentation": "

A source entity to use for the analysis that you're updating. This metadata structure\n contains details that describe a source template and one or more datasets.

", - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.quicksight#AnalysisName", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

A descriptive name for the analysis that you're updating. This name displays for the\n analysis in the QuickSight console.

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

The ID of the AWS account that contains the analysis that you're updating.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, @@ -14668,11 +14770,10 @@ "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "Name": { + "target": "com.amazonaws.quicksight#AnalysisName", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the analysis that you're updating.

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

A descriptive name for the analysis that you're updating. This name displays for the\n analysis in the QuickSight console.

", "smithy.api#required": {} } }, @@ -14682,6 +14783,13 @@ "smithy.api#documentation": "

The parameter names and override values that you want to use. An analysis can have \n any parameter type, and some parameters might accept multiple values.

" } }, + "SourceEntity": { + "target": "com.amazonaws.quicksight#AnalysisSourceEntity", + "traits": { + "smithy.api#documentation": "

A source entity to use for the analysis that you're updating. This metadata structure\n contains details that describe a source template and one or more datasets.

", + "smithy.api#required": {} + } + }, "ThemeArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { @@ -14693,36 +14801,36 @@ "com.amazonaws.quicksight#UpdateAnalysisResponse": { "type": "structure", "members": { - "UpdateStatus": { - "target": "com.amazonaws.quicksight#ResourceStatus", - "traits": { - "smithy.api#documentation": "

The update status of the last update that was made to the analysis.

" - } - }, "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The ARN of the analysis that you're updating.

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

The AWS request ID for this operation.

" - } - }, "AnalysisId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { "smithy.api#documentation": "

The ID of the analysis.

" } }, + "UpdateStatus": { + "target": "com.amazonaws.quicksight#ResourceStatus", + "traits": { + "smithy.api#documentation": "

The update status of the last update that was made to the analysis.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } } } }, @@ -14806,6 +14914,14 @@ "com.amazonaws.quicksight#UpdateDashboardPermissionsRequest": { "type": "structure", "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID of the AWS account that contains the dashboard whose permissions you're\n updating.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "DashboardId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { @@ -14825,31 +14941,16 @@ "traits": { "smithy.api#documentation": "

The permissions that you want to revoke from this resource.

" } - }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", - "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the dashboard whose permissions you're\n updating.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, "com.amazonaws.quicksight#UpdateDashboardPermissionsResponse": { "type": "structure", "members": { - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", - "traits": { - "smithy.api#documentation": "

Information about the permissions on the dashboard.

" - } - }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "DashboardArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The Amazon Resource Name (ARN) of the dashboard.

" } }, "DashboardId": { @@ -14858,16 +14959,23 @@ "smithy.api#documentation": "

The ID for the dashboard.

" } }, + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", + "traits": { + "smithy.api#documentation": "

Information about the permissions on the dashboard.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "DashboardArn": { - "target": "com.amazonaws.quicksight#Arn", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dashboard.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -14912,10 +15020,10 @@ "com.amazonaws.quicksight#UpdateDashboardPublishedVersionRequest": { "type": "structure", "members": { - "VersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The version number of the dashboard.

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

The ID of the AWS account that contains the dashboard that you're\n updating.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -14928,10 +15036,10 @@ "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "VersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the dashboard that you're\n updating.

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

The version number of the dashboard.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -14947,10 +15055,10 @@ "smithy.api#documentation": "

The ID for the dashboard.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "DashboardArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dashboard.

" } }, "Status": { @@ -14960,10 +15068,10 @@ "smithy.api#httpResponseCode": {} } }, - "DashboardArn": { - "target": "com.amazonaws.quicksight#Arn", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dashboard.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -14979,10 +15087,11 @@ "smithy.api#required": {} } }, - "SourceEntity": { - "target": "com.amazonaws.quicksight#DashboardSourceEntity", + "DashboardId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The entity that you are using as a source when you update the dashboard. In\n SourceEntity, you specify the type of object you're using as source. You\n can only update a dashboard from a template, so you use a SourceTemplate\n entity. If you need to update a dashboard from an analysis, first convert the analysis\n to a template by using the CreateTemplate API operation. For\n SourceTemplate, specify the Amazon Resource Name (ARN) of the source\n template. The SourceTemplate ARN can contain any AWS Account and any\n QuickSight-supported AWS Region.

\n

Use the DataSetReferences entity within SourceTemplate to\n list the replacement datasets for the placeholders listed in the original. The schema in\n each dataset must match its placeholder.

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

The ID for the dashboard.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, @@ -14993,6 +15102,19 @@ "smithy.api#required": {} } }, + "SourceEntity": { + "target": "com.amazonaws.quicksight#DashboardSourceEntity", + "traits": { + "smithy.api#documentation": "

The entity that you are using as a source when you update the dashboard. In\n SourceEntity, you specify the type of object you're using as source. You\n can only update a dashboard from a template, so you use a SourceTemplate\n entity. If you need to update a dashboard from an analysis, first convert the analysis\n to a template by using the CreateTemplate API operation. For\n SourceTemplate, specify the Amazon Resource Name (ARN) of the source\n template. The SourceTemplate ARN can contain any AWS Account and any\n QuickSight-supported AWS Region.

\n

Use the DataSetReferences entity within SourceTemplate to\n list the replacement datasets for the placeholders listed in the original. The schema in\n each dataset must match its placeholder.

", + "smithy.api#required": {} + } + }, + "Parameters": { + "target": "com.amazonaws.quicksight#Parameters", + "traits": { + "smithy.api#documentation": "

A structure that contains the parameters of the dashboard. These are parameter\n overrides for a dashboard. A dashboard can have any type of parameters, and some\n parameters might accept multiple values.

" + } + }, "VersionDescription": { "target": "com.amazonaws.quicksight#VersionDescription", "traits": { @@ -15010,36 +15132,22 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If\n you add a value for this field, it overrides the value that was originally associated\n with the entity. The theme ARN must exist in the same AWS account where you create the\n dashboard.

" } - }, - "DashboardId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID for the dashboard.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Parameters": { - "target": "com.amazonaws.quicksight#Parameters", - "traits": { - "smithy.api#documentation": "

A structure that contains the parameters of the dashboard. These are parameter\n overrides for a dashboard. A dashboard can have any type of parameters, and some\n parameters might accept multiple values.

" - } } } }, "com.amazonaws.quicksight#UpdateDashboardResponse": { "type": "structure", "members": { - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" } }, - "Arn": { + "VersionArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

" + "smithy.api#documentation": "

The ARN of the dashboard, including the version number.

" } }, "DashboardId": { @@ -15048,22 +15156,22 @@ "smithy.api#documentation": "

The ID for the dashboard.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "CreationStatus": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

" + "smithy.api#documentation": "

The creation status of the request.

" } }, - "VersionArn": { - "target": "com.amazonaws.quicksight#Arn", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The ARN of the dashboard, including the version number.

" + "smithy.api#documentation": "

The HTTP status of the request.

" } }, - "CreationStatus": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The creation status of the request.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -15151,18 +15259,6 @@ "com.amazonaws.quicksight#UpdateDataSetPermissionsRequest": { "type": "structure", "members": { - "RevokePermissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", - "traits": { - "smithy.api#documentation": "

The resource permissions that you want to revoke from the dataset.

" - } - }, - "GrantPermissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", - "traits": { - "smithy.api#documentation": "

The resource permissions that you want to grant to the dataset.

" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -15178,6 +15274,18 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "GrantPermissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", + "traits": { + "smithy.api#documentation": "

The resource permissions that you want to grant to the dataset.

" + } + }, + "RevokePermissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", + "traits": { + "smithy.api#documentation": "

The resource permissions that you want to revoke from the dataset.

" + } } } }, @@ -15190,6 +15298,12 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" } }, + "DataSetId": { + "target": "com.amazonaws.quicksight#ResourceId", + "traits": { + "smithy.api#documentation": "

The ID for the dataset whose permissions you want to update. This ID is unique per AWS\n\t\t\tRegion for each AWS account.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -15202,31 +15316,20 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "DataSetId": { - "target": "com.amazonaws.quicksight#ResourceId", - "traits": { - "smithy.api#documentation": "

The ID for the dataset whose permissions you want to update. This ID is unique per AWS\n\t\t\tRegion for each AWS account.

" - } } } }, "com.amazonaws.quicksight#UpdateDataSetRequest": { "type": "structure", "members": { - "PhysicalTableMap": { - "target": "com.amazonaws.quicksight#PhysicalTableMap", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

Declares the physical tables that are available in the underlying data sources.

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

The AWS account ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ColumnGroups": { - "target": "com.amazonaws.quicksight#ColumnGroupList", - "traits": { - "smithy.api#documentation": "

Groupings of columns that work together in certain QuickSight features. Currently, only geospatial hierarchy is supported.

" - } - }, "DataSetId": { "target": "com.amazonaws.quicksight#ResourceId", "traits": { @@ -15235,12 +15338,6 @@ "smithy.api#required": {} } }, - "LogicalTableMap": { - "target": "com.amazonaws.quicksight#LogicalTableMap", - "traits": { - "smithy.api#documentation": "

Configures the combination and transformation of the data from the physical tables.

" - } - }, "Name": { "target": "com.amazonaws.quicksight#ResourceName", "traits": { @@ -15248,14 +15345,19 @@ "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "PhysicalTableMap": { + "target": "com.amazonaws.quicksight#PhysicalTableMap", "traits": { - "smithy.api#documentation": "

The AWS account ID.

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

Declares the physical tables that are available in the underlying data sources.

", "smithy.api#required": {} } }, + "LogicalTableMap": { + "target": "com.amazonaws.quicksight#LogicalTableMap", + "traits": { + "smithy.api#documentation": "

Configures the combination and transformation of the data from the physical tables.

" + } + }, "ImportMode": { "target": "com.amazonaws.quicksight#DataSetImportMode", "traits": { @@ -15263,40 +15365,45 @@ "smithy.api#required": {} } }, + "ColumnGroups": { + "target": "com.amazonaws.quicksight#ColumnGroupList", + "traits": { + "smithy.api#documentation": "

Groupings of columns that work together in certain QuickSight features. Currently, only geospatial hierarchy is supported.

" + } + }, "RowLevelPermissionDataSet": { "target": "com.amazonaws.quicksight#RowLevelPermissionDataSet", "traits": { "smithy.api#documentation": "

The row-level security configuration for the data you want to create.

" } + }, + "ColumnLevelPermissionRules": { + "target": "com.amazonaws.quicksight#ColumnLevelPermissionRuleList", + "traits": { + "smithy.api#documentation": "

A set of one or more definitions of a \n ColumnLevelPermissionRule\n .

" + } } } }, "com.amazonaws.quicksight#UpdateDataSetResponse": { "type": "structure", "members": { - "IngestionArn": { + "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The ARN for the ingestion, which is triggered as a result of dataset creation if the import\n\t\t\tmode is SPICE.

" - } - }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

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

The Amazon Resource Name (ARN) of the dataset.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "DataSetId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

" } }, - "Arn": { + "IngestionArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset.

" + "smithy.api#documentation": "

The ARN for the ingestion, which is triggered as a result of dataset creation if the import\n\t\t\tmode is SPICE.

" } }, "IngestionId": { @@ -15305,10 +15412,17 @@ "smithy.api#documentation": "

The ID of the ingestion, which is triggered as a result of dataset creation if the import\n\t\t\tmode is SPICE.

" } }, - "DataSetId": { - "target": "com.amazonaws.quicksight#ResourceId", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -15390,18 +15504,6 @@ "com.amazonaws.quicksight#UpdateDataSourcePermissionsRequest": { "type": "structure", "members": { - "RevokePermissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", - "traits": { - "smithy.api#documentation": "

A list of resource permissions that you want to revoke on the data source.

" - } - }, - "GrantPermissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", - "traits": { - "smithy.api#documentation": "

A list of resource permissions that you want to grant on the data source.

" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -15417,24 +15519,36 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "GrantPermissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", + "traits": { + "smithy.api#documentation": "

A list of resource permissions that you want to grant on the data source.

" + } + }, + "RevokePermissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", + "traits": { + "smithy.api#documentation": "

A list of resource permissions that you want to revoke on the data source.

" + } } } }, "com.amazonaws.quicksight#UpdateDataSourcePermissionsResponse": { "type": "structure", "members": { - "DataSourceId": { - "target": "com.amazonaws.quicksight#ResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS account.

" - } - }, "DataSourceArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data source.

" } }, + "DataSourceId": { + "target": "com.amazonaws.quicksight#ResourceId", + "traits": { + "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS account.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -15461,23 +15575,31 @@ "smithy.api#required": {} } }, - "Credentials": { - "target": "com.amazonaws.quicksight#DataSourceCredentials", + "DataSourceId": { + "target": "com.amazonaws.quicksight#ResourceId", "traits": { - "smithy.api#documentation": "

The credentials that QuickSight that uses to connect to your underlying source. Currently,\n\t\t\tonly credentials based on user name and password are supported.

" + "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS account.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "SslProperties": { - "target": "com.amazonaws.quicksight#SslProperties", + "Name": { + "target": "com.amazonaws.quicksight#ResourceName", "traits": { - "smithy.api#documentation": "

Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying\n\t\t\tsource.

" + "smithy.api#documentation": "

A display name for the data source.

", + "smithy.api#required": {} + } + }, + "DataSourceParameters": { + "target": "com.amazonaws.quicksight#DataSourceParameters", + "traits": { + "smithy.api#documentation": "

The parameters that QuickSight uses to connect to your underlying source.

" } }, - "Name": { - "target": "com.amazonaws.quicksight#ResourceName", + "Credentials": { + "target": "com.amazonaws.quicksight#DataSourceCredentials", "traits": { - "smithy.api#documentation": "

A display name for the data source.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The credentials that QuickSight that uses to connect to your underlying source. Currently,\n\t\t\tonly credentials based on user name and password are supported.

" } }, "VpcConnectionProperties": { @@ -15486,18 +15608,10 @@ "smithy.api#documentation": "

Use this parameter only when you want QuickSight to use a VPC connection when connecting to\n\t\t\tyour underlying source.

" } }, - "DataSourceId": { - "target": "com.amazonaws.quicksight#ResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS account.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "DataSourceParameters": { - "target": "com.amazonaws.quicksight#DataSourceParameters", + "SslProperties": { + "target": "com.amazonaws.quicksight#SslProperties", "traits": { - "smithy.api#documentation": "

The parameters that QuickSight uses to connect to your underlying source.

" + "smithy.api#documentation": "

Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying\n\t\t\tsource.

" } } } @@ -15505,10 +15619,10 @@ "com.amazonaws.quicksight#UpdateDataSourceResponse": { "type": "structure", "members": { - "UpdateStatus": { - "target": "com.amazonaws.quicksight#ResourceStatus", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The update status of the data source's last update.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data source.

" } }, "DataSourceId": { @@ -15517,16 +15631,16 @@ "smithy.api#documentation": "

The ID of the data source. This ID is unique per AWS Region for each AWS account.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "UpdateStatus": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The update status of the data source's last update.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "RequestId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data source.

" + "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, "Status": { @@ -15581,34 +15695,34 @@ "com.amazonaws.quicksight#UpdateGroupRequest": { "type": "structure", "members": { - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "GroupName": { + "target": "com.amazonaws.quicksight#GroupName", "traits": { - "smithy.api#documentation": "

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

", + "smithy.api#documentation": "

The name of the group that you want to update.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Namespace": { - "target": "com.amazonaws.quicksight#Namespace", + "Description": { + "target": "com.amazonaws.quicksight#GroupDescription", "traits": { - "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The description for the group that you want to update.

" } }, - "GroupName": { - "target": "com.amazonaws.quicksight#GroupName", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The name of the group that you want to update.

", + "smithy.api#documentation": "

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS\n\t\t\taccount that contains your Amazon QuickSight account.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Description": { - "target": "com.amazonaws.quicksight#GroupDescription", + "Namespace": { + "target": "com.amazonaws.quicksight#Namespace", "traits": { - "smithy.api#documentation": "

The description for the group that you want to update.

" + "smithy.api#documentation": "

The namespace. Currently, you should set this to default.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } } @@ -15616,6 +15730,12 @@ "com.amazonaws.quicksight#UpdateGroupResponse": { "type": "structure", "members": { + "Group": { + "target": "com.amazonaws.quicksight#Group", + "traits": { + "smithy.api#documentation": "

The name of the group.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -15628,12 +15748,6 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "Group": { - "target": "com.amazonaws.quicksight#Group", - "traits": { - "smithy.api#documentation": "

The name of the group.

" - } } } }, @@ -15669,7 +15783,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates an existing IAM policy assignment. This operation updates only the optional\n\t\t\tparameter or parameters that are specified in the request.

", + "smithy.api#documentation": "

Updates an existing IAM policy assignment. This operation updates only the optional\n\t\t\tparameter or parameters that are specified in the request. \n\t\t This overwrites all of the users included in Identities. \n\t\t

", "smithy.api#http": { "method": "PUT", "uri": "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}", @@ -15683,7 +15797,15 @@ "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the IAM policy assignment.

", + "smithy.api#documentation": "

The ID of the AWS account that contains the IAM policy assignment.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "AssignmentName": { + "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", + "traits": { + "smithy.api#documentation": "

The name of the assignment, also called a rule. This name must be unique within an AWS account.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -15696,10 +15818,10 @@ "smithy.api#required": {} } }, - "Identities": { - "target": "com.amazonaws.quicksight#IdentityMap", + "AssignmentStatus": { + "target": "com.amazonaws.quicksight#AssignmentStatus", "traits": { - "smithy.api#documentation": "

The QuickSight users, groups, or both that you want to assign the policy to.

" + "smithy.api#documentation": "

The status of the assignment. Possible values are as follows:

\n\t\t " } }, "PolicyArn": { @@ -15708,18 +15830,10 @@ "smithy.api#documentation": "

The ARN for the IAM policy to apply to the QuickSight users and groups\n\t\t\tspecified in this assignment.

" } }, - "AssignmentName": { - "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", - "traits": { - "smithy.api#documentation": "

The name of the assignment. This name must be unique within an AWS account.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AssignmentStatus": { - "target": "com.amazonaws.quicksight#AssignmentStatus", + "Identities": { + "target": "com.amazonaws.quicksight#IdentityMap", "traits": { - "smithy.api#documentation": "

The status of the assignment. Possible values are as follows:

\n\t\t " + "smithy.api#documentation": "

The QuickSight users, groups, or both that you want to assign the policy to.

" } } } @@ -15727,35 +15841,34 @@ "com.amazonaws.quicksight#UpdateIAMPolicyAssignmentResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "AssignmentName": { + "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} + "smithy.api#documentation": "

The name of the assignment or rule.

" } }, - "PolicyArn": { - "target": "com.amazonaws.quicksight#Arn", + "AssignmentId": { + "target": "com.amazonaws.quicksight#String", "traits": { - "smithy.api#documentation": "

The ARN for the IAM policy applied to the QuickSight users and groups specified in this\n\t\t\tassignment.

" + "smithy.api#documentation": "

The ID of the assignment.

" } }, - "AssignmentStatus": { - "target": "com.amazonaws.quicksight#AssignmentStatus", + "PolicyArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The status of the assignment. Possible values are as follows:

\n\t\t " + "smithy.api#documentation": "

The ARN for the IAM policy applied to the QuickSight users and groups specified in this\n\t\t\tassignment.

" } }, - "AssignmentName": { - "target": "com.amazonaws.quicksight#IAMPolicyAssignmentName", + "Identities": { + "target": "com.amazonaws.quicksight#IdentityMap", "traits": { - "smithy.api#documentation": "

The name of the assignment.

" + "smithy.api#documentation": "

The QuickSight users, groups, or both that the IAM policy is assigned to.

" } }, - "AssignmentId": { - "target": "com.amazonaws.quicksight#String", + "AssignmentStatus": { + "target": "com.amazonaws.quicksight#AssignmentStatus", "traits": { - "smithy.api#documentation": "

The ID of the assignment.

" + "smithy.api#documentation": "

The status of the assignment. Possible values are as follows:

\n\t\t " } }, "RequestId": { @@ -15764,10 +15877,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "Identities": { - "target": "com.amazonaws.quicksight#IdentityMap", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The QuickSight users, groups, or both that the IAM policy is assigned to.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -15864,14 +15978,6 @@ "com.amazonaws.quicksight#UpdateTemplateAliasRequest": { "type": "structure", "members": { - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID for the template.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -15880,10 +15986,11 @@ "smithy.api#required": {} } }, - "TemplateVersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The version number of the template.

", + "smithy.api#documentation": "

The ID for the template.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, @@ -15894,6 +16001,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "TemplateVersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", + "traits": { + "smithy.api#documentation": "

The version number of the template.

", + "smithy.api#required": {} + } } } }, @@ -15906,18 +16020,18 @@ "smithy.api#documentation": "

The template alias.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } } } }, @@ -15961,12 +16075,6 @@ "com.amazonaws.quicksight#UpdateTemplatePermissionsRequest": { "type": "structure", "members": { - "RevokePermissions": { - "target": "com.amazonaws.quicksight#UpdateResourcePermissionList", - "traits": { - "smithy.api#documentation": "

A list of resource permissions to be revoked from the template.

" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -15988,23 +16096,34 @@ "traits": { "smithy.api#documentation": "

A list of resource permissions to be granted on the template.

" } + }, + "RevokePermissions": { + "target": "com.amazonaws.quicksight#UpdateResourcePermissionList", + "traits": { + "smithy.api#documentation": "

A list of resource permissions to be revoked from the template.

" + } } } }, "com.amazonaws.quicksight#UpdateTemplatePermissionsResponse": { "type": "structure", "members": { + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "traits": { + "smithy.api#documentation": "

The ID for the template.

" + } + }, "TemplateArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template.

" } }, - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} + "smithy.api#documentation": "

A list of resource permissions to be set on the template.

" } }, "RequestId": { @@ -16013,16 +16132,11 @@ "smithy.api#documentation": "

The AWS request ID for this operation.

" } }, - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", - "traits": { - "smithy.api#documentation": "

The ID for the template.

" - } - }, - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

A list of resource permissions to be set on the template.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} } } } @@ -16030,25 +16144,26 @@ "com.amazonaws.quicksight#UpdateTemplateRequest": { "type": "structure", "members": { - "TemplateId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The ID for the template.

", + "smithy.api#documentation": "

The ID of the AWS account that contains the template that you're updating.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.quicksight#TemplateName", + "TemplateId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The name for the template.

" + "smithy.api#documentation": "

The ID for the template.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "SourceEntity": { + "target": "com.amazonaws.quicksight#TemplateSourceEntity", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the template that you're updating.

", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "

The entity that you are using as a source when you update the template. In\n\t\t\tSourceEntity, you specify the type of object you're using as source:\n\t\t\tSourceTemplate for a template or SourceAnalysis for an\n\t\t\tanalysis. Both of these require an Amazon Resource Name (ARN). For\n\t\t\tSourceTemplate, specify the ARN of the source template. For\n\t\t\tSourceAnalysis, specify the ARN of the source analysis. The SourceTemplate\n\t\t\tARN can contain any AWS Account and any QuickSight-supported AWS Region.

\n\t\t

Use the DataSetReferences entity within SourceTemplate or\n\t\t\tSourceAnalysis to list the replacement datasets for the placeholders listed\n\t\t\tin the original. The schema in each dataset must match its placeholder.

", "smithy.api#required": {} } }, @@ -16058,11 +16173,10 @@ "smithy.api#documentation": "

A description of the current template version that is being updated. Every time you call\n\t\t\t\tUpdateTemplate, you create a new version of the template. Each version\n\t\t\tof the template maintains a description of the version in the\n\t\t\t\tVersionDescription field.

" } }, - "SourceEntity": { - "target": "com.amazonaws.quicksight#TemplateSourceEntity", + "Name": { + "target": "com.amazonaws.quicksight#TemplateName", "traits": { - "smithy.api#documentation": "

The entity that you are using as a source when you update the template. In\n\t\t\tSourceEntity, you specify the type of object you're using as source:\n\t\t\tSourceTemplate for a template or SourceAnalysis for an\n\t\t\tanalysis. Both of these require an Amazon Resource Name (ARN). For\n\t\t\tSourceTemplate, specify the ARN of the source template. For\n\t\t\tSourceAnalysis, specify the ARN of the source analysis. The SourceTemplate\n\t\t\tARN can contain any AWS Account and any QuickSight-supported AWS Region.

\n\t\t

Use the DataSetReferences entity within SourceTemplate or\n\t\t\tSourceAnalysis to list the replacement datasets for the placeholders listed\n\t\t\tin the original. The schema in each dataset must match its placeholder.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The name for the template.

" } } } @@ -16070,34 +16184,28 @@ "com.amazonaws.quicksight#UpdateTemplateResponse": { "type": "structure", "members": { - "CreationStatus": { - "target": "com.amazonaws.quicksight#ResourceStatus", - "traits": { - "smithy.api#documentation": "

The creation status of the template.

" - } - }, "TemplateId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { "smithy.api#documentation": "

The ID for the template.

" } }, - "VersionArn": { + "Arn": { "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The ARN for the template, including the version information of the first version.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the template.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "VersionArn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The ARN for the template, including the version information of the first version.

" } }, - "Arn": { - "target": "com.amazonaws.quicksight#Arn", + "CreationStatus": { + "target": "com.amazonaws.quicksight#ResourceStatus", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the template.

" + "smithy.api#documentation": "

The creation status of the template.

" } }, "Status": { @@ -16106,6 +16214,12 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } } } }, @@ -16195,10 +16309,10 @@ "com.amazonaws.quicksight#UpdateThemeAliasRequest": { "type": "structure", "members": { - "AliasName": { - "target": "com.amazonaws.quicksight#AliasName", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The name of the theme alias that you want to update.

", + "smithy.api#documentation": "

The ID of the AWS account that contains the theme alias that you're updating.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -16211,18 +16325,18 @@ "smithy.api#required": {} } }, - "ThemeVersionNumber": { - "target": "com.amazonaws.quicksight#VersionNumber", + "AliasName": { + "target": "com.amazonaws.quicksight#AliasName", "traits": { - "smithy.api#documentation": "

The version number of the theme that the alias should reference.

", + "smithy.api#documentation": "

The name of the theme alias that you want to update.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "ThemeVersionNumber": { + "target": "com.amazonaws.quicksight#VersionNumber", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the theme alias that you're updating.

", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "

The version number of the theme that the alias should reference.

", "smithy.api#required": {} } } @@ -16231,6 +16345,12 @@ "com.amazonaws.quicksight#UpdateThemeAliasResponse": { "type": "structure", "members": { + "ThemeAlias": { + "target": "com.amazonaws.quicksight#ThemeAlias", + "traits": { + "smithy.api#documentation": "

Information about the theme alias.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { @@ -16243,12 +16363,6 @@ "traits": { "smithy.api#documentation": "

The AWS request ID for this operation.

" } - }, - "ThemeAlias": { - "target": "com.amazonaws.quicksight#ThemeAlias", - "traits": { - "smithy.api#documentation": "

Information about the theme alias.

" - } } } }, @@ -16292,12 +16406,6 @@ "com.amazonaws.quicksight#UpdateThemePermissionsRequest": { "type": "structure", "members": { - "RevokePermissions": { - "target": "com.amazonaws.quicksight#UpdateResourcePermissionList", - "traits": { - "smithy.api#documentation": "

A list of resource permissions to be revoked from the theme.

" - } - }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -16306,18 +16414,24 @@ "smithy.api#required": {} } }, + "ThemeId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "traits": { + "smithy.api#documentation": "

The ID for the theme.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "GrantPermissions": { "target": "com.amazonaws.quicksight#UpdateResourcePermissionList", "traits": { "smithy.api#documentation": "

A list of resource permissions to be granted for the theme.

" } }, - "ThemeId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "RevokePermissions": { + "target": "com.amazonaws.quicksight#UpdateResourcePermissionList", "traits": { - "smithy.api#documentation": "

The ID for the theme.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

A list of resource permissions to be revoked from the theme.

" } } } @@ -16331,46 +16445,41 @@ "smithy.api#documentation": "

The ID for the theme.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", - "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" - } - }, "ThemeArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the theme.

" } }, + "Permissions": { + "target": "com.amazonaws.quicksight#ResourcePermissionList", + "traits": { + "smithy.api#documentation": "

The resulting list of resource permissions for the theme.

" + } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" + } + }, "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "Permissions": { - "target": "com.amazonaws.quicksight#ResourcePermissionList", - "traits": { - "smithy.api#documentation": "

The resulting list of resource permissions for the theme.

" - } } } }, "com.amazonaws.quicksight#UpdateThemeRequest": { "type": "structure", "members": { - "Configuration": { - "target": "com.amazonaws.quicksight#ThemeConfiguration", - "traits": { - "smithy.api#documentation": "

The theme configuration, which contains the theme display properties.

" - } - }, - "BaseThemeId": { - "target": "com.amazonaws.quicksight#RestrictiveResourceId", + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { - "smithy.api#documentation": "

The theme ID, defined by Amazon QuickSight, that a custom theme inherits from.\n\t\tAll themes initially inherit from a default QuickSight theme.

", + "smithy.api#documentation": "

The ID of the AWS account that contains the theme that you're updating.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, @@ -16382,24 +16491,29 @@ "smithy.api#required": {} } }, - "VersionDescription": { - "target": "com.amazonaws.quicksight#VersionDescription", + "Name": { + "target": "com.amazonaws.quicksight#ThemeName", "traits": { - "smithy.api#documentation": "

A description of the theme version that you're updating Every time that you call\n\t\t\t\tUpdateTheme, you create a new version of the theme. Each version of the\n\t\t\ttheme maintains a description of the version in VersionDescription.

" + "smithy.api#documentation": "

The name for the theme.

" } }, - "AwsAccountId": { - "target": "com.amazonaws.quicksight#AwsAccountId", + "BaseThemeId": { + "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { - "smithy.api#documentation": "

The ID of the AWS account that contains the theme that you're updating.

", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "

The theme ID, defined by Amazon QuickSight, that a custom theme inherits from.\n\t\tAll themes initially inherit from a default QuickSight theme.

", "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.quicksight#ThemeName", + "VersionDescription": { + "target": "com.amazonaws.quicksight#VersionDescription", "traits": { - "smithy.api#documentation": "

The name for the theme.

" + "smithy.api#documentation": "

A description of the theme version that you're updating Every time that you call\n\t\t\t\tUpdateTheme, you create a new version of the theme. Each version of the\n\t\t\ttheme maintains a description of the version in VersionDescription.

" + } + }, + "Configuration": { + "target": "com.amazonaws.quicksight#ThemeConfiguration", + "traits": { + "smithy.api#documentation": "

The theme configuration, which contains the theme display properties.

" } } } @@ -16407,29 +16521,22 @@ "com.amazonaws.quicksight#UpdateThemeResponse": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.quicksight#StatusCode", - "traits": { - "smithy.api#documentation": "

The HTTP status of the request.

", - "smithy.api#httpResponseCode": {} - } - }, "ThemeId": { "target": "com.amazonaws.quicksight#RestrictiveResourceId", "traits": { "smithy.api#documentation": "

The ID for the theme.

" } }, - "RequestId": { - "target": "com.amazonaws.quicksight#String", + "Arn": { + "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The AWS request ID for this operation.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the theme.

" } }, - "Arn": { + "VersionArn": { "target": "com.amazonaws.quicksight#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the theme.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the new version of the theme.

" } }, "CreationStatus": { @@ -16438,10 +16545,17 @@ "smithy.api#documentation": "

The creation status of the theme.

" } }, - "VersionArn": { - "target": "com.amazonaws.quicksight#Arn", + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the new version of the theme.

" + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The AWS request ID for this operation.

" } } } @@ -16489,6 +16603,14 @@ "com.amazonaws.quicksight#UpdateUserRequest": { "type": "structure", "members": { + "UserName": { + "target": "com.amazonaws.quicksight#UserName", + "traits": { + "smithy.api#documentation": "

The Amazon QuickSight user name that you want to update.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "AwsAccountId": { "target": "com.amazonaws.quicksight#AwsAccountId", "traits": { @@ -16519,12 +16641,10 @@ "smithy.api#required": {} } }, - "UserName": { - "target": "com.amazonaws.quicksight#UserName", + "CustomPermissionsName": { + "target": "com.amazonaws.quicksight#RoleName", "traits": { - "smithy.api#documentation": "

The Amazon QuickSight user name that you want to update.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

(Enterprise edition only) The name of the custom permissions profile that you want to\n assign to this user. Customized permissions allows you to control a user's access by\n restricting access the following operations:

\n \n

A set of custom permissions includes any combination of these restrictions. Currently,\n you need to create the profile names for custom permission sets by using the QuickSight\n console. Then, you use the RegisterUser API operation to assign the named set of\n permissions to a QuickSight user.

\n

QuickSight custom permissions are applied through IAM policies. Therefore, they\n override the permissions typically granted by assigning QuickSight users to one of the\n default security cohorts in QuickSight (admin, author, reader).

\n

This feature is available only to QuickSight Enterprise edition subscriptions that use\n SAML 2.0-Based Federation for Single Sign-On (SSO).

" } }, "UnapplyCustomPermissions": { @@ -16532,18 +16652,18 @@ "traits": { "smithy.api#documentation": "

A flag that you use to indicate that you want to remove all custom permissions\n from this user. Using this parameter resets the user to the state\n it was in before a custom permissions profile was applied. This parameter defaults to\n NULL and it doesn't accept any other value.

" } - }, - "CustomPermissionsName": { - "target": "com.amazonaws.quicksight#RoleName", - "traits": { - "smithy.api#documentation": "

(Enterprise edition only) The name of the custom permissions profile that you want to\n assign to this user. Customized permissions allows you to control a user's access by\n restricting access the following operations:

\n \n

A set of custom permissions includes any combination of these restrictions. Currently,\n you need to create the profile names for custom permission sets by using the QuickSight\n console. Then, you use the RegisterUser API operation to assign the named set of\n permissions to a QuickSight user.

\n

QuickSight custom permissions are applied through IAM policies. Therefore, they\n override the permissions typically granted by assigning QuickSight users to one of the\n default security cohorts in QuickSight (admin, author, reader).

\n

This feature is available only to QuickSight Enterprise edition subscriptions that use\n SAML 2.0-Based Federation for Single Sign-On (SSO).

" - } } } }, "com.amazonaws.quicksight#UpdateUserResponse": { "type": "structure", "members": { + "User": { + "target": "com.amazonaws.quicksight#User", + "traits": { + "smithy.api#documentation": "

The Amazon QuickSight user.

" + } + }, "RequestId": { "target": "com.amazonaws.quicksight#String", "traits": { @@ -16556,18 +16676,18 @@ "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } - }, - "User": { - "target": "com.amazonaws.quicksight#User", - "traits": { - "smithy.api#documentation": "

The Amazon QuickSight user.

" - } } } }, "com.amazonaws.quicksight#UploadSettings": { "type": "structure", "members": { + "Format": { + "target": "com.amazonaws.quicksight#FileFormat", + "traits": { + "smithy.api#documentation": "

File format.

" + } + }, "StartFromRow": { "target": "com.amazonaws.quicksight#PositiveInteger", "traits": { @@ -16575,16 +16695,11 @@ "smithy.api#documentation": "

A row number to start reading data from.

" } }, - "Format": { - "target": "com.amazonaws.quicksight#FileFormat", - "traits": { - "smithy.api#documentation": "

File format.

" - } - }, - "Delimiter": { - "target": "com.amazonaws.quicksight#Delimiter", + "ContainsHeader": { + "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#documentation": "

The delimiter between values in the file.

" + "smithy.api#box": {}, + "smithy.api#documentation": "

Whether the file has a header row, or the files each have a header row.

" } }, "TextQualifier": { @@ -16593,11 +16708,10 @@ "smithy.api#documentation": "

Text qualifier.

" } }, - "ContainsHeader": { - "target": "com.amazonaws.quicksight#Boolean", + "Delimiter": { + "target": "com.amazonaws.quicksight#Delimiter", "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

Whether the file has a header row, or the files each have a header row.

" + "smithy.api#documentation": "

The delimiter between values in the file.

" } } }, @@ -16614,18 +16728,6 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the user.

" } }, - "IdentityType": { - "target": "com.amazonaws.quicksight#IdentityType", - "traits": { - "smithy.api#documentation": "

The type of identity authentication used by the user.

" - } - }, - "Role": { - "target": "com.amazonaws.quicksight#UserRole", - "traits": { - "smithy.api#documentation": "

The Amazon QuickSight role for the user. The user role can be one of the\n following:.

\n " - } - }, "UserName": { "target": "com.amazonaws.quicksight#UserName", "traits": { @@ -16638,16 +16740,22 @@ "smithy.api#documentation": "

The user's email address.

" } }, - "Active": { - "target": "com.amazonaws.quicksight#Boolean", + "Role": { + "target": "com.amazonaws.quicksight#UserRole", "traits": { - "smithy.api#documentation": "

The active status of user. When you create an Amazon QuickSight user that’s not an IAM\n user or an Active Directory user, that user is inactive until they sign in and provide a\n password.

" + "smithy.api#documentation": "

The Amazon QuickSight role for the user. The user role can be one of the\n following:.

\n " } }, - "CustomPermissionsName": { - "target": "com.amazonaws.quicksight#RoleName", + "IdentityType": { + "target": "com.amazonaws.quicksight#IdentityType", "traits": { - "smithy.api#documentation": "

The custom permissions profile associated with this user.

" + "smithy.api#documentation": "

The type of identity authentication used by the user.

" + } + }, + "Active": { + "target": "com.amazonaws.quicksight#Boolean", + "traits": { + "smithy.api#documentation": "

The active status of user. When you create an Amazon QuickSight user that’s not an IAM\n user or an Active Directory user, that user is inactive until they sign in and provide a\n password.

" } }, "PrincipalId": { @@ -16655,6 +16763,12 @@ "traits": { "smithy.api#documentation": "

The principal ID of the user.

" } + }, + "CustomPermissionsName": { + "target": "com.amazonaws.quicksight#RoleName", + "traits": { + "smithy.api#documentation": "

The custom permissions profile associated with this user.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/s3.2006-03-01.json b/codegen/sdk-codegen/aws-models/s3.2006-03-01.json index 7c85157b085f..cf0cfbfa3a2f 100644 --- a/codegen/sdk-codegen/aws-models/s3.2006-03-01.json +++ b/codegen/sdk-codegen/aws-models/s3.2006-03-01.json @@ -38,12 +38,12 @@ "DaysAfterInitiation": { "target": "com.amazonaws.s3#DaysAfterInitiation", "traits": { - "smithy.api#documentation": "

Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.

" + "smithy.api#documentation": "

Specifies the number of days after which Amazon S3 aborts an incomplete multipart\n upload.

" } } }, "traits": { - "smithy.api#documentation": "

Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see \n Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy \n in the Amazon Simple Storage Service Developer Guide.

" + "smithy.api#documentation": "

Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will\n wait before permanently removing all parts of the upload. For more information, see \n Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy in the\n Amazon Simple Storage Service Developer Guide.

" } }, "com.amazonaws.s3#AbortMultipartUpload": { @@ -60,7 +60,7 @@ } ], "traits": { - "smithy.api#documentation": "

This operation aborts a multipart upload. After a multipart upload is aborted, no additional parts can be uploaded using that upload ID. The storage consumed by any previously uploaded parts will be freed. However, if any part uploads are currently in progress, those part uploads might or might not succeed. As a result, it might be necessary to abort a given multipart upload multiple times in order to completely free all storage consumed by all parts.

\n

To verify that all parts have been removed, so you don't get charged for the part storage, you\n should call the ListParts operation and ensure that the parts list is\n empty.

\n

For information about permissions required to use the multipart upload API, see Multipart\n Upload API and Permissions.

\n

The following operations are related to AbortMultipartUpload:

\n ", + "smithy.api#documentation": "

This operation aborts a multipart upload. After a multipart upload is aborted, no\n additional parts can be uploaded using that upload ID. The storage consumed by any\n previously uploaded parts will be freed. However, if any part uploads are currently in\n progress, those part uploads might or might not succeed. As a result, it might be necessary\n to abort a given multipart upload multiple times in order to completely free all storage\n consumed by all parts.

\n

To verify that all parts have been removed, so you don't get charged for the part\n storage, you should call the ListParts operation and ensure that\n the parts list is empty.

\n

For information about permissions required to use the multipart upload API, see Multipart Upload API and\n Permissions.

\n

The following operations are related to AbortMultipartUpload:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}/{Key+}?x-id=AbortMultipartUpload", @@ -82,6 +82,22 @@ "com.amazonaws.s3#AbortMultipartUploadRequest": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The bucket name to which the upload was taking place.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Key": { + "target": "com.amazonaws.s3#ObjectKey", + "traits": { + "smithy.api#documentation": "

Key of the object for which the multipart upload was initiated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { @@ -102,22 +118,6 @@ "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } - }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", - "traits": { - "smithy.api#documentation": "

Key of the object for which the multipart upload was initiated.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", - "traits": { - "smithy.api#documentation": "

The bucket name to which the upload was taking place.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, @@ -135,7 +135,7 @@ } }, "traits": { - "smithy.api#documentation": "

Configures the transfer acceleration state for an Amazon S3 bucket. \n For more information, see Amazon S3 Transfer Acceleration in the\n Amazon Simple Storage Service Developer Guide.

" + "smithy.api#documentation": "

Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see\n Amazon S3\n Transfer Acceleration in the Amazon Simple Storage Service Developer\n Guide.

" } }, "com.amazonaws.s3#AcceptRanges": { @@ -168,7 +168,7 @@ "Owner": { "target": "com.amazonaws.s3#OwnerOverride", "traits": { - "smithy.api#documentation": "

Specifies the replica ownership. For default and valid values, see PUT bucket\n replication in the Amazon Simple Storage Service API Reference.

", + "smithy.api#documentation": "

Specifies the replica ownership. For default and valid values, see PUT bucket\n replication in the Amazon Simple Storage Service API Reference.

", "smithy.api#required": {} } } @@ -241,6 +241,9 @@ { "target": "com.amazonaws.s3#DeleteBucketEncryption" }, + { + "target": "com.amazonaws.s3#DeleteBucketIntelligentTieringConfiguration" + }, { "target": "com.amazonaws.s3#DeleteBucketInventoryConfiguration" }, @@ -292,6 +295,9 @@ { "target": "com.amazonaws.s3#GetBucketEncryption" }, + { + "target": "com.amazonaws.s3#GetBucketIntelligentTieringConfiguration" + }, { "target": "com.amazonaws.s3#GetBucketInventoryConfiguration" }, @@ -367,6 +373,9 @@ { "target": "com.amazonaws.s3#ListBucketAnalyticsConfigurations" }, + { + "target": "com.amazonaws.s3#ListBucketIntelligentTieringConfigurations" + }, { "target": "com.amazonaws.s3#ListBucketInventoryConfigurations" }, @@ -406,6 +415,9 @@ { "target": "com.amazonaws.s3#PutBucketEncryption" }, + { + "target": "com.amazonaws.s3#PutBucketIntelligentTieringConfiguration" + }, { "target": "com.amazonaws.s3#PutBucketInventoryConfiguration" }, @@ -502,7 +514,7 @@ "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { - "smithy.api#documentation": "

The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.

" + "smithy.api#documentation": "

The prefix to use when evaluating an AND predicate: The prefix that an object must have\n to be included in the metrics results.

" } }, "Tags": { @@ -515,35 +527,35 @@ } }, "traits": { - "smithy.api#documentation": "

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates in any combination, and an object must match all of the predicates for the filter to apply.

" + "smithy.api#documentation": "

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.\n The operator must have at least two predicates in any combination, and an object must match\n all of the predicates for the filter to apply.

" } }, "com.amazonaws.s3#AnalyticsConfiguration": { "type": "structure", "members": { - "StorageClassAnalysis": { - "target": "com.amazonaws.s3#StorageClassAnalysis", + "Id": { + "target": "com.amazonaws.s3#AnalyticsId", "traits": { - "smithy.api#documentation": "

\n Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.\n

", + "smithy.api#documentation": "

The ID that identifies the analytics configuration.

", "smithy.api#required": {} } }, "Filter": { "target": "com.amazonaws.s3#AnalyticsFilter", "traits": { - "smithy.api#documentation": "

The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.

" + "smithy.api#documentation": "

The filter used to describe a set of objects for analyses. A filter must have exactly\n one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided,\n all objects will be considered in any analysis.

" } }, - "Id": { - "target": "com.amazonaws.s3#AnalyticsId", + "StorageClassAnalysis": { + "target": "com.amazonaws.s3#StorageClassAnalysis", "traits": { - "smithy.api#documentation": "

The ID that identifies the analytics configuration.

", + "smithy.api#documentation": "

Contains data related to access patterns to be collected and made available to analyze\n the tradeoffs between different storage classes.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

\n Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.

" + "smithy.api#documentation": "

Specifies the configuration and any analyses for the analytics filter of an Amazon S3\n bucket.

" } }, "com.amazonaws.s3#AnalyticsConfigurationList": { @@ -585,12 +597,12 @@ "And": { "target": "com.amazonaws.s3#AnalyticsAndOperator", "traits": { - "smithy.api#documentation": "

A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.

" + "smithy.api#documentation": "

A conjunction (logical AND) of predicates, which is used in evaluating an analytics\n filter. The operator must have at least two predicates.

" } } }, "traits": { - "smithy.api#documentation": "

The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.

" + "smithy.api#documentation": "

The filter used to describe a set of objects for analyses. A filter must have exactly\n one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided,\n all objects will be considered in any analysis.

" } }, "com.amazonaws.s3#AnalyticsId": { @@ -599,16 +611,17 @@ "com.amazonaws.s3#AnalyticsS3BucketDestination": { "type": "structure", "members": { - "Prefix": { - "target": "com.amazonaws.s3#Prefix", + "Format": { + "target": "com.amazonaws.s3#AnalyticsS3ExportFileFormat", "traits": { - "smithy.api#documentation": "

The prefix to use when exporting data. The prefix is prepended to all results.

" + "smithy.api#documentation": "

Specifies the file format used when exporting data to Amazon S3.

", + "smithy.api#required": {} } }, "BucketAccountId": { "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

The account ID that owns the destination S3 bucket. \n If no account ID is provided, the owner is not validated before exporting data.

\n \n

\n Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket \n ownership changes.\n

\n
" + "smithy.api#documentation": "

The account ID that owns the destination S3 bucket. If no account ID is provided, the\n owner is not validated before exporting data.

\n \n

Although this value is optional, we strongly recommend that you set it to help\n prevent problems if the destination bucket ownership changes.

\n
" } }, "Bucket": { @@ -618,11 +631,10 @@ "smithy.api#required": {} } }, - "Format": { - "target": "com.amazonaws.s3#AnalyticsS3ExportFileFormat", + "Prefix": { + "target": "com.amazonaws.s3#Prefix", "traits": { - "smithy.api#documentation": "

Specifies the file format used when exporting data to Amazon S3.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The prefix to use when exporting data. The prefix is prepended to all results.

" } } }, @@ -640,27 +652,40 @@ ] } }, + "com.amazonaws.s3#ArchiveStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ARCHIVE_ACCESS" + }, + { + "value": "DEEP_ARCHIVE_ACCESS" + } + ] + } + }, "com.amazonaws.s3#Body": { "type": "blob" }, "com.amazonaws.s3#Bucket": { "type": "structure", "members": { - "CreationDate": { - "target": "com.amazonaws.s3#CreationDate", - "traits": { - "smithy.api#documentation": "

Date the bucket was created.

" - } - }, "Name": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "

The name of the bucket.

" } + }, + "CreationDate": { + "target": "com.amazonaws.s3#CreationDate", + "traits": { + "smithy.api#documentation": "

Date the bucket was created.

" + } } }, "traits": { - "smithy.api#documentation": "

In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name is\n globally unique, and the namespace is shared by all AWS accounts.

" + "smithy.api#documentation": "

In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name is globally\n unique, and the namespace is shared by all AWS accounts.

" } }, "com.amazonaws.s3#BucketAccelerateStatus": { @@ -680,7 +705,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

The requested bucket name is not available. The bucket namespace is shared by all users of the\n system. Select a different name and try again.

", + "smithy.api#documentation": "

The requested bucket name is not available. The bucket namespace is shared by all users\n of the system. Select a different name and try again.

", "smithy.api#error": "client" } }, @@ -725,7 +750,7 @@ } }, "traits": { - "smithy.api#documentation": "

Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more\n information, see Object\n Lifecycle Management in the Amazon Simple Storage Service Developer Guide.

" + "smithy.api#documentation": "

Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more\n information, see Object Lifecycle Management\n in the Amazon Simple Storage Service Developer Guide.

" } }, "com.amazonaws.s3#BucketLocationConstraint": { @@ -880,7 +905,7 @@ "CORSRules": { "target": "com.amazonaws.s3#CORSRules", "traits": { - "smithy.api#documentation": "

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

", + "smithy.api#documentation": "

A set of origins and methods (cross-origin access that you want to allow). You can add\n up to 100 rules to the configuration.

", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "CORSRule" @@ -888,7 +913,7 @@ } }, "traits": { - "smithy.api#documentation": "

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling\n Cross-Origin Resource Sharing in the\n Amazon Simple Storage Service Developer Guide.

" + "smithy.api#documentation": "

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more\n information, see Enabling\n Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer\n Guide.

" } }, "com.amazonaws.s3#CORSRule": { @@ -897,11 +922,20 @@ "AllowedHeaders": { "target": "com.amazonaws.s3#AllowedHeaders", "traits": { - "smithy.api#documentation": "

Headers that are specified in the Access-Control-Request-Headers\n header. These headers are allowed in a preflight OPTIONS request. In response to\n any preflight OPTIONS request, Amazon S3 returns any requested headers that are\n allowed.

", + "smithy.api#documentation": "

Headers that are specified in the Access-Control-Request-Headers header.\n These headers are allowed in a preflight OPTIONS request. In response to any preflight\n OPTIONS request, Amazon S3 returns any requested headers that are allowed.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "AllowedHeader" } }, + "AllowedMethods": { + "target": "com.amazonaws.s3#AllowedMethods", + "traits": { + "smithy.api#documentation": "

An HTTP method that you allow the origin to execute. Valid values are GET,\n PUT, HEAD, POST, and DELETE.

", + "smithy.api#required": {}, + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "AllowedMethod" + } + }, "AllowedOrigins": { "target": "com.amazonaws.s3#AllowedOrigins", "traits": { @@ -911,27 +945,18 @@ "smithy.api#xmlName": "AllowedOrigin" } }, - "MaxAgeSeconds": { - "target": "com.amazonaws.s3#MaxAgeSeconds", - "traits": { - "smithy.api#documentation": "

The time in seconds that your browser is to cache the preflight response for the specified resource.

" - } - }, "ExposeHeaders": { "target": "com.amazonaws.s3#ExposeHeaders", "traits": { - "smithy.api#documentation": "

One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).

", + "smithy.api#documentation": "

One or more headers in the response that you want customers to be able to access from\n their applications (for example, from a JavaScript XMLHttpRequest\n object).

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "ExposeHeader" } }, - "AllowedMethods": { - "target": "com.amazonaws.s3#AllowedMethods", + "MaxAgeSeconds": { + "target": "com.amazonaws.s3#MaxAgeSeconds", "traits": { - "smithy.api#documentation": "

An HTTP method that you allow the origin to execute. Valid values are\n GET, PUT, HEAD, POST, and\n DELETE.

", - "smithy.api#required": {}, - "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "AllowedMethod" + "smithy.api#documentation": "

The time in seconds that your browser is to cache the preflight response for the\n specified resource.

" } } }, @@ -948,46 +973,46 @@ "com.amazonaws.s3#CSVInput": { "type": "structure", "members": { - "FieldDelimiter": { - "target": "com.amazonaws.s3#FieldDelimiter", - "traits": { - "smithy.api#documentation": "

A single character used to separate individual fields in a record. You can specify an arbitrary delimiter.

" - } - }, - "AllowQuotedRecordDelimiter": { - "target": "com.amazonaws.s3#AllowQuotedRecordDelimiter", - "traits": { - "smithy.api#documentation": "

Specifies that CSV field values may contain quoted record delimiters and such records should be allowed. Default value is FALSE. Setting this value to TRUE may lower performance.

" - } - }, "FileHeaderInfo": { "target": "com.amazonaws.s3#FileHeaderInfo", "traits": { - "smithy.api#documentation": "

Describes the first line of input. Valid values are:

\n " + "smithy.api#documentation": "

Describes the first line of input. Valid values are:

\n " } }, - "QuoteCharacter": { - "target": "com.amazonaws.s3#QuoteCharacter", + "Comments": { + "target": "com.amazonaws.s3#Comments", "traits": { - "smithy.api#documentation": "

A single character used for escaping when the field delimiter is part of the value.\n For example, if the value is a, b, Amazon S3 wraps this\n field value in quotation marks, as follows: \" a , b\n \".

\n

Type: String

\n

Default: \"\n

\n

Ancestors: CSV\n

" + "smithy.api#documentation": "

A single character used to indicate that a row should be ignored when the character is\n present at the start of that row. You can specify any character to indicate a comment\n line.

" } }, "QuoteEscapeCharacter": { "target": "com.amazonaws.s3#QuoteEscapeCharacter", "traits": { - "smithy.api#documentation": "

A single character used for escaping the quotation mark character inside an already escaped value. For example, the value \"\"\" a , b \"\"\" is parsed as \" a , b \".

" + "smithy.api#documentation": "

A single character used for escaping the quotation mark character inside an already\n escaped value. For example, the value \"\"\" a , b \"\"\" is parsed as \" a , b \".

" } }, "RecordDelimiter": { "target": "com.amazonaws.s3#RecordDelimiter", "traits": { - "smithy.api#documentation": "

A single character used to separate individual records in the input. Instead of the default value, you can specify an arbitrary delimiter.

" + "smithy.api#documentation": "

A single character used to separate individual records in the input. Instead of the\n default value, you can specify an arbitrary delimiter.

" } }, - "Comments": { - "target": "com.amazonaws.s3#Comments", + "FieldDelimiter": { + "target": "com.amazonaws.s3#FieldDelimiter", + "traits": { + "smithy.api#documentation": "

A single character used to separate individual fields in a record. You can specify an\n arbitrary delimiter.

" + } + }, + "QuoteCharacter": { + "target": "com.amazonaws.s3#QuoteCharacter", + "traits": { + "smithy.api#documentation": "

A single character used for escaping when the field delimiter is part of the value. For\n example, if the value is a, b, Amazon S3 wraps this field value in quotation marks,\n as follows: \" a , b \".

\n

Type: String

\n

Default: \"\n

\n

Ancestors: CSV\n

" + } + }, + "AllowQuotedRecordDelimiter": { + "target": "com.amazonaws.s3#AllowQuotedRecordDelimiter", "traits": { - "smithy.api#documentation": "

A single character used to indicate that a row should be ignored when the character is present at the start of that row. You can specify any character to indicate a comment line.

" + "smithy.api#documentation": "

Specifies that CSV field values may contain quoted record delimiters and such records\n should be allowed. Default value is FALSE. Setting this value to TRUE may lower\n performance.

" } } }, @@ -998,39 +1023,39 @@ "com.amazonaws.s3#CSVOutput": { "type": "structure", "members": { - "FieldDelimiter": { - "target": "com.amazonaws.s3#FieldDelimiter", - "traits": { - "smithy.api#documentation": "

The value used to separate individual fields in a record. You can specify an arbitrary delimiter.

" - } - }, "QuoteFields": { "target": "com.amazonaws.s3#QuoteFields", "traits": { "smithy.api#documentation": "

Indicates whether to use quotation marks around output fields.

\n " } }, - "QuoteCharacter": { - "target": "com.amazonaws.s3#QuoteCharacter", + "QuoteEscapeCharacter": { + "target": "com.amazonaws.s3#QuoteEscapeCharacter", "traits": { - "smithy.api#documentation": "

A single character used for escaping when the field delimiter is part of the value. For example, if the value is a, b, Amazon S3 wraps this\n field value in quotation marks, as follows: \" a , b\n \".

" + "smithy.api#documentation": "

The single character used for escaping the quote character inside an already escaped\n value.

" } }, "RecordDelimiter": { "target": "com.amazonaws.s3#RecordDelimiter", "traits": { - "smithy.api#documentation": "

A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.

" + "smithy.api#documentation": "

A single character used to separate individual records in the output. Instead of the\n default value, you can specify an arbitrary delimiter.

" } }, - "QuoteEscapeCharacter": { - "target": "com.amazonaws.s3#QuoteEscapeCharacter", + "FieldDelimiter": { + "target": "com.amazonaws.s3#FieldDelimiter", + "traits": { + "smithy.api#documentation": "

The value used to separate individual fields in a record. You can specify an arbitrary\n delimiter.

" + } + }, + "QuoteCharacter": { + "target": "com.amazonaws.s3#QuoteCharacter", "traits": { - "smithy.api#documentation": "

The single character used for escaping the quote character inside an already escaped\n value.

" + "smithy.api#documentation": "

A single character used for escaping when the field delimiter is part of the value. For\n example, if the value is a, b, Amazon S3 wraps this field value in quotation marks,\n as follows: \" a , b \".

" } } }, "traits": { - "smithy.api#documentation": "

Describes how uncompressed comma-separated values (CSV)-formatted results are formatted.

" + "smithy.api#documentation": "

Describes how uncompressed comma-separated values (CSV)-formatted results are\n formatted.

" } }, "com.amazonaws.s3#CacheControl": { @@ -1053,7 +1078,7 @@ } }, "traits": { - "smithy.api#documentation": "

Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. \n CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix.\n For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is \n notes/summer/. \n

" + "smithy.api#documentation": "

Container for all (if there are any) keys between Prefix and the next occurrence of the\n string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in\n the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter\n is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.

" } }, "com.amazonaws.s3#CommonPrefixList": { @@ -1071,7 +1096,7 @@ "target": "com.amazonaws.s3#CompleteMultipartUploadOutput" }, "traits": { - "smithy.api#documentation": "

Completes a multipart upload by assembling previously uploaded parts.

\n

You first initiate the multipart upload and then upload all parts using the \n UploadPart operation. After successfully uploading all relevant parts of an\n upload, you call this operation to complete the upload. Upon receiving this request, Amazon\n S3 concatenates all the parts in ascending order by part number to create a new object. In\n the Complete Multipart Upload request, you must provide the parts list. You must ensure\n that the parts list is complete. This operation concatenates the parts that you provide in\n the list. For each part in the list, you must provide the part number and the\n ETag value, returned after that part was uploaded.

\n

Processing of a Complete Multipart Upload request could take several minutes to complete.\n After Amazon S3 begins processing the request, it sends an HTTP response header that\n specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends\n white space characters to keep the connection from timing out. Because a request could fail\n after the initial 200 OK response has been sent, it is important that you check the\n response body to determine whether the request succeeded.

\n

Note that if CompleteMultipartUpload fails, applications should be prepared to retry the failed requests. For more information, see Amazon S3 Error Best Practices.

\n

For more information about multipart uploads, see Uploading\n Objects Using Multipart Upload.

\n

For information about permissions required to use the multipart upload API, see Multipart\n Upload API and Permissions.

\n \n \n

\n CompleteMultipartUpload has the following special errors:

\n \n \n

The following operations are related to CompleteMultipartUpload:

\n ", + "smithy.api#documentation": "

Completes a multipart upload by assembling previously uploaded parts.

\n

You first initiate the multipart upload and then upload all parts using the UploadPart\n operation. After successfully uploading all relevant parts of an upload, you call this\n operation to complete the upload. Upon receiving this request, Amazon S3 concatenates all\n the parts in ascending order by part number to create a new object. In the Complete\n Multipart Upload request, you must provide the parts list. You must ensure that the parts\n list is complete. This operation concatenates the parts that you provide in the list. For\n each part in the list, you must provide the part number and the ETag value,\n returned after that part was uploaded.

\n

Processing of a Complete Multipart Upload request could take several minutes to\n complete. After Amazon S3 begins processing the request, it sends an HTTP response header that\n specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white\n space characters to keep the connection from timing out. Because a request could fail after\n the initial 200 OK response has been sent, it is important that you check the response body\n to determine whether the request succeeded.

\n

Note that if CompleteMultipartUpload fails, applications should be prepared\n to retry the failed requests. For more information, see Amazon S3 Error Best Practices.

\n

For more information about multipart uploads, see Uploading Objects Using Multipart\n Upload.

\n

For information about permissions required to use the multipart upload API, see Multipart Upload API and\n Permissions.

\n\n\n

\n CompleteMultipartUpload has the following special errors:

\n \n\n

The following operations are related to CompleteMultipartUpload:

\n ", "smithy.api#http": { "method": "POST", "uri": "/{Bucket}/{Key+}", @@ -1082,11 +1107,10 @@ "com.amazonaws.s3#CompleteMultipartUploadOutput": { "type": "structure", "members": { - "Expiration": { - "target": "com.amazonaws.s3#Expiration", + "Location": { + "target": "com.amazonaws.s3#Location", "traits": { - "smithy.api#documentation": "

If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.

", - "smithy.api#httpHeader": "x-amz-expiration" + "smithy.api#documentation": "

The URI that identifies the newly created object.

" } }, "Bucket": { @@ -1095,49 +1119,50 @@ "smithy.api#documentation": "

The name of the bucket that contains the newly created object.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

" } }, - "ServerSideEncryption": { - "target": "com.amazonaws.s3#ServerSideEncryption", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

If you specified server-side encryption either with an Amazon S3-managed encryption key or an AWS KMS customer master key (CMK) in your initiate multipart upload request, the response includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the object.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption" + "smithy.api#documentation": "

The object key of the newly created object.

" } }, - "SSEKMSKeyId": { - "target": "com.amazonaws.s3#SSEKMSKeyId", + "Expiration": { + "target": "com.amazonaws.s3#Expiration", "traits": { - "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key\n (CMK) that was used for the object.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" + "smithy.api#documentation": "

If the object expiration is configured, this will contain the expiration date\n (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.

", + "smithy.api#httpHeader": "x-amz-expiration" } }, - "Location": { - "target": "com.amazonaws.s3#Location", + "ETag": { + "target": "com.amazonaws.s3#ETag", "traits": { - "smithy.api#documentation": "

The URI that identifies the newly created object.

" + "smithy.api#documentation": "

Entity tag that identifies the newly created object's data. Objects with different\n object data will have different entity tags. The entity tag is an opaque string. The entity\n tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5\n digest of the object data, it will contain one or more nonhexadecimal characters and/or\n will consist of less than 32 or more than 32 hexadecimal digits.

" } }, - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", + "ServerSideEncryption": { + "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "

Version ID of the newly created object, in case the bucket has versioning turned on.

", - "smithy.api#httpHeader": "x-amz-version-id" + "smithy.api#documentation": "

If you specified server-side encryption either with an Amazon S3-managed encryption key or an\n AWS KMS customer master key (CMK) in your initiate multipart upload request, the response\n includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the\n object.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, - "RequestCharged": { - "target": "com.amazonaws.s3#RequestCharged", + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" + "smithy.api#documentation": "

Version ID of the newly created object, in case the bucket has versioning turned\n on.

", + "smithy.api#httpHeader": "x-amz-version-id" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "SSEKMSKeyId": { + "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

The object key of the newly created object.

" + "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric\n customer managed customer master key (CMK) that was used for the object.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, - "ETag": { - "target": "com.amazonaws.s3#ETag", + "RequestCharged": { + "target": "com.amazonaws.s3#RequestCharged", "traits": { - "smithy.api#documentation": "

Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.

" + "smithy.api#httpHeader": "x-amz-request-charged" } } } @@ -1145,17 +1170,12 @@ "com.amazonaws.s3#CompleteMultipartUploadRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

Name of the bucket to which the multipart upload was initiated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "Key": { @@ -1166,12 +1186,12 @@ "smithy.api#required": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "MultipartUpload": { + "target": "com.amazonaws.s3#CompletedMultipartUpload", "traits": { - "smithy.api#documentation": "

Name of the bucket to which the multipart upload was initiated.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The container for the multipart upload request information.

", + "smithy.api#httpPayload": {}, + "smithy.api#xmlName": "CompleteMultipartUpload" } }, "UploadId": { @@ -1182,12 +1202,17 @@ "smithy.api#required": {} } }, - "MultipartUpload": { - "target": "com.amazonaws.s3#CompletedMultipartUpload", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

The container for the multipart upload request information.

", - "smithy.api#httpPayload": {}, - "smithy.api#xmlName": "CompleteMultipartUpload" + "smithy.api#httpHeader": "x-amz-request-payer" + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -1220,7 +1245,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { - "smithy.api#documentation": "

Part number that identifies the part. This is a positive integer between 1 and 10,000.

" + "smithy.api#documentation": "

Part number that identifies the part. This is a positive integer between 1 and\n 10,000.

" } } }, @@ -1253,21 +1278,21 @@ "com.amazonaws.s3#Condition": { "type": "structure", "members": { - "KeyPrefixEquals": { - "target": "com.amazonaws.s3#KeyPrefixEquals", + "HttpErrorCodeReturnedEquals": { + "target": "com.amazonaws.s3#HttpErrorCodeReturnedEquals", "traits": { - "smithy.api#documentation": "

The object key name prefix when the redirect is applied. For example, to redirect requests for\n ExamplePage.html, the key prefix will be ExamplePage.html. To\n redirect request for all pages with the prefix docs/, the key prefix will be\n /docs, which identifies all objects in the docs/ folder.\n Required when the parent element Condition is specified and sibling\n HttpErrorCodeReturnedEquals is not specified. If both conditions are\n specified, both must be true for the redirect to be applied.

" + "smithy.api#documentation": "

The HTTP error code when the redirect is applied. In the event of an error, if the error\n code equals this value, then the specified redirect is applied. Required when parent\n element Condition is specified and sibling KeyPrefixEquals is not\n specified. If both are specified, then both must be true for the redirect to be\n applied.

" } }, - "HttpErrorCodeReturnedEquals": { - "target": "com.amazonaws.s3#HttpErrorCodeReturnedEquals", + "KeyPrefixEquals": { + "target": "com.amazonaws.s3#KeyPrefixEquals", "traits": { - "smithy.api#documentation": "

The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

" + "smithy.api#documentation": "

The object key name prefix when the redirect is applied. For example, to redirect\n requests for ExamplePage.html, the key prefix will be\n ExamplePage.html. To redirect request for all pages with the prefix\n docs/, the key prefix will be /docs, which identifies all\n objects in the docs/ folder. Required when the parent element\n Condition is specified and sibling HttpErrorCodeReturnedEquals\n is not specified. If both conditions are specified, both must be true for the redirect to\n be applied.

" } } }, "traits": { - "smithy.api#documentation": "

A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.

" + "smithy.api#documentation": "

A container for describing a condition that must be met for the specified redirect to\n apply. For example, 1. If request is for pages in the /docs folder, redirect\n to the /documents folder. 2. If request results in HTTP error 4xx, redirect\n request to another host where you might process the error.

" } }, "com.amazonaws.s3#ConfirmRemoveSelfBucketAccess": { @@ -1315,7 +1340,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a copy of an object that is already stored in Amazon S3.

\n \n

You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your object\n up to 5 GB in size in a single atomic operation using this API. However, to copy an\n object greater than 5 GB, you must use the multipart upload Upload Part - Copy API. For\n more information, see Copy\n Object Using the REST Multipart Upload API.

\n
\n

All copy requests must be authenticated. Additionally, you must have read access to the source object and write access to the destination bucket. For more information, see REST Authentication. Both the Region that you want to copy the object from and the Region that you want to copy the object to must be enabled for your account.

\n

A copy request might return an error when Amazon S3 receives the copy request or while\n Amazon S3 is copying the files. If the error occurs before the copy operation starts, you\n receive a standard Amazon S3 error. If the error occurs during the copy operation, the\n\n error response is embedded in the 200 OK response. This means that a 200\n OK response can contain either a success or an error. Design your application to\n parse the contents of the response and handle it appropriately.

\n

If the copy is successful, you receive a response with information about the copied\n object.

\n \n

If the request is an HTTP 1.1 request, the response is chunk encoded. If it were not,\n it would not contain the content-length, and you would need to read the entire\n body.

\n
\n

The copy request charge is based on the storage class and Region that you specify for\n the destination object. For pricing information, see Amazon S3 pricing.

\n \n

Amazon S3 transfer acceleration does not support cross-Region copies. If you request a\n cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad\n Request error. For more information, see Transfer Acceleration.

\n
\n

\n Metadata\n

\n

When copying an object, you can preserve all metadata (default) or specify new metadata.\n However, the ACL is not preserved and is set to private for the user making the request. To\n override the default ACL setting, specify a new ACL when generating a copy request. For\n more information, see Using ACLs.

\n

To specify whether you want the object metadata copied from the source object or\n replaced with metadata provided in the request, you can optionally add the\n x-amz-metadata-directive header. When you grant permissions, you can use\n the s3:x-amz-metadata-directive condition key to enforce certain metadata\n behavior when objects are uploaded. For more information, see Specifying Conditions in a\n Policy in the Amazon S3 Developer Guide. For a complete list of\n Amazon S3-specific condition keys, see Actions, Resources, and Condition Keys for\n Amazon S3.

\n

\n \n x-amz-copy-source-if Headers\n

\n

To only copy an object under certain conditions, such as whether the Etag\n matches or whether the object was modified before or after a specified date, use the\n following request parameters:

\n \n

If both the x-amz-copy-source-if-match and\n x-amz-copy-source-if-unmodified-since headers are present in the\n\n request and evaluate as follows, Amazon S3 returns 200 OK and copies the\n data:

\n \n \n

If both the x-amz-copy-source-if-none-match and\n\n x-amz-copy-source-if-modified-since headers are present in the\n request and evaluate as follows, Amazon S3 returns the 412 Precondition\n Failed response code:

\n \n \n \n

All headers with the x-amz- prefix, including x-amz-copy-source,\n must be signed.

\n
\n

\n Encryption\n

\n

The source object that you are copying can be encrypted or unencrypted. The source object\n can be encrypted with server-side encryption using AWS managed encryption keys (SSE-S3 or\n SSE-KMS) or by using a customer-provided encryption key. With server-side encryption, Amazon S3\n encrypts your data as it writes it to disks in its data centers and decrypts the data when\n you access it.

\n

You can optionally use the appropriate encryption-related headers to request server-side\n encryption for the target object. You have the option to provide your own encryption key or\n use SSE-S3 or SSE-KMS, regardless of the form of server-side encryption that was used to\n encrypt the source object. You can even request encryption if the source object was not\n encrypted. For more information about server-side encryption, see Using\n Server-Side Encryption.

\n

\n Access Control List (ACL)-Specific Request Headers\n

\n

When copying an object, you can optionally use headers to grant ACL-based permissions. By\n default, all objects are private. Only the owner has full access control. When adding a new\n object, you can grant permissions to individual AWS accounts or to predefined groups\n defined by Amazon S3. These permissions are then added to the ACL on the object. For more\n information, see Access Control List (ACL) Overview and Managing ACLs Using the REST\n API.

\n \n

\n Storage Class Options\n

\n

You can use the CopyObject operation to change the storage class of an\n object that is already stored in Amazon S3 using the StorageClass parameter.\n For more information, see Storage\n Classes in the Amazon S3 Service Developer Guide.

\n

\n Versioning\n

\n

By default, x-amz-copy-source identifies the current version of an object\n to copy. If the current version is a delete marker, Amazon S3 behaves as if the object was\n deleted. To copy a different version, use the versionId subresource.

\n

If you enable versioning on the target bucket, Amazon S3 generates a unique version ID\n for the object being copied. This version ID is different from the version ID of the source\n object. Amazon S3 returns the version ID of the copied object in the\n x-amz-version-id response header in the response.

\n

If you do not enable versioning or suspend it on the target bucket, the version ID that\n Amazon S3 generates is always null.

\n

If the source object's storage class is GLACIER, you must restore a copy of this object\n before you can use it as a source object for the copy operation. For more information, see\n RestoreObject.

\n

The following operations are related to CopyObject:

\n \n

For more information, see Copying Objects.

", + "smithy.api#documentation": "

Creates a copy of an object that is already stored in Amazon S3.

\n \n

You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your\n object up to 5 GB in size in a single atomic operation using this API. However, to copy\n an object greater than 5 GB, you must use the multipart upload Upload Part - Copy API.\n For more information, see Copy Object Using the REST Multipart Upload API.

\n
\n

All copy requests must be authenticated. Additionally, you must have\n read access to the source object and write\n access to the destination bucket. For more information, see REST Authentication. Both the Region\n that you want to copy the object from and the Region that you want to copy the object to\n must be enabled for your account.

\n

A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3\n is copying the files. If the error occurs before the copy operation starts, you receive a\n standard Amazon S3 error. If the error occurs during the copy operation, the error response is\n embedded in the 200 OK response. This means that a 200 OK\n response can contain either a success or an error. Design your application to parse the\n contents of the response and handle it appropriately.

\n

If the copy is successful, you receive a response with information about the copied\n object.

\n \n

If the request is an HTTP 1.1 request, the response is chunk encoded. If it were not,\n it would not contain the content-length, and you would need to read the entire\n body.

\n
\n

The copy request charge is based on the storage class and Region that you specify for\n the destination object. For pricing information, see Amazon S3 pricing.

\n \n

Amazon S3 transfer acceleration does not support cross-Region copies. If you request a\n cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad\n Request error. For more information, see Transfer Acceleration.

\n
\n

\n Metadata\n

\n

When copying an object, you can preserve all metadata (default) or specify new metadata.\n However, the ACL is not preserved and is set to private for the user making the request. To\n override the default ACL setting, specify a new ACL when generating a copy request. For\n more information, see Using ACLs.

\n

To specify whether you want the object metadata copied from the source object or\n replaced with metadata provided in the request, you can optionally add the\n x-amz-metadata-directive header. When you grant permissions, you can use\n the s3:x-amz-metadata-directive condition key to enforce certain metadata\n behavior when objects are uploaded. For more information, see Specifying Conditions in a\n Policy in the Amazon S3 Developer Guide. For a complete list of\n Amazon S3-specific condition keys, see Actions, Resources, and Condition Keys for\n Amazon S3.

\n

\n \n x-amz-copy-source-if Headers\n

\n

To only copy an object under certain conditions, such as whether the Etag\n matches or whether the object was modified before or after a specified date, use the\n following request parameters:

\n \n

If both the x-amz-copy-source-if-match and\n x-amz-copy-source-if-unmodified-since headers are present in the request\n and evaluate as follows, Amazon S3 returns 200 OK and copies the data:

\n \n\n

If both the x-amz-copy-source-if-none-match and\n x-amz-copy-source-if-modified-since headers are present in the request and\n evaluate as follows, Amazon S3 returns the 412 Precondition Failed response\n code:

\n \n\n \n

All headers with the x-amz- prefix, including\n x-amz-copy-source, must be signed.

\n
\n

\n Encryption\n

\n

The source object that you are copying can be encrypted or unencrypted. The source\n object can be encrypted with server-side encryption using AWS managed encryption keys\n (SSE-S3 or SSE-KMS) or by using a customer-provided encryption key. With server-side\n encryption, Amazon S3 encrypts your data as it writes it to disks in its data centers and\n decrypts the data when you access it.

\n

You can optionally use the appropriate encryption-related headers to request server-side\n encryption for the target object. You have the option to provide your own encryption key or\n use SSE-S3 or SSE-KMS, regardless of the form of server-side encryption that was used to\n encrypt the source object. You can even request encryption if the source object was not\n encrypted. For more information about server-side encryption, see Using\n Server-Side Encryption.

\n

\n Access Control List (ACL)-Specific Request\n Headers\n

\n

When copying an object, you can optionally use headers to grant ACL-based permissions.\n By default, all objects are private. Only the owner has full access control. When adding a\n new object, you can grant permissions to individual AWS accounts or to predefined groups\n defined by Amazon S3. These permissions are then added to the ACL on the object. For more\n information, see Access Control List (ACL) Overview and Managing ACLs Using the REST\n API.

\n\n

\n Storage Class Options\n

\n

You can use the CopyObject operation to change the storage class of an\n object that is already stored in Amazon S3 using the StorageClass parameter. For\n more information, see Storage\n Classes in the Amazon S3 Service Developer Guide.

\n

\n Versioning\n

\n

By default, x-amz-copy-source identifies the current version of an object\n to copy. If the current version is a delete marker, Amazon S3 behaves as if the object was\n deleted. To copy a different version, use the versionId subresource.

\n

If you enable versioning on the target bucket, Amazon S3 generates a unique version ID for\n the object being copied. This version ID is different from the version ID of the source\n object. Amazon S3 returns the version ID of the copied object in the\n x-amz-version-id response header in the response.

\n

If you do not enable versioning or suspend it on the target bucket, the version ID that\n Amazon S3 generates is always null.

\n

If the source object's storage class is GLACIER, you must restore a copy of this object\n before you can use it as a source object for the copy operation. For more information, see\n RestoreObject.

\n

The following operations are related to CopyObject:

\n \n

For more information, see Copying\n Objects.

", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?x-id=CopyObject", @@ -1326,11 +1351,11 @@ "com.amazonaws.s3#CopyObjectOutput": { "type": "structure", "members": { - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", + "CopyObjectResult": { + "target": "com.amazonaws.s3#CopyObjectResult", "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response\n will include this header to provide round-trip message integrity verification of the\n customer-provided encryption key.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" + "smithy.api#documentation": "

Container for all response elements.

", + "smithy.api#httpPayload": {} } }, "Expiration": { @@ -1340,80 +1365,66 @@ "smithy.api#httpHeader": "x-amz-expiration" } }, - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", - "traits": { + "CopySourceVersionId": { + "target": "com.amazonaws.s3#CopySourceVersionId", + "traits": { + "smithy.api#documentation": "

Version of the copied object in the destination bucket.

", + "smithy.api#httpHeader": "x-amz-copy-source-version-id" + } + }, + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", + "traits": { "smithy.api#documentation": "

Version ID of the newly created copy.

", "smithy.api#httpHeader": "x-amz-version-id" } }, + "ServerSideEncryption": { + "target": "com.amazonaws.s3#ServerSideEncryption", + "traits": { + "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption" + } + }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

", + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header confirming the encryption algorithm used.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "CopySourceVersionId": { - "target": "com.amazonaws.s3#CopySourceVersionId", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

Version of the copied object in the destination bucket.

", - "smithy.api#httpHeader": "x-amz-copy-source-version-id" + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide round-trip message integrity verification of\n the customer-provided encryption key.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "CopyObjectResult": { - "target": "com.amazonaws.s3#CopyObjectResult", + "SSEKMSKeyId": { + "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

Container for all response elements.

", - "smithy.api#httpPayload": {} + "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric\n customer managed customer master key (CMK) that was used for the object.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

If present, specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

", + "smithy.api#documentation": "

If present, specifies the AWS KMS Encryption Context to use for object encryption. The\n value of this header is a base64-encoded UTF-8 string holding JSON with the encryption\n context key-value pairs.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, - "ServerSideEncryption": { - "target": "com.amazonaws.s3#ServerSideEncryption", - "traits": { - "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption" - } - }, "RequestCharged": { "target": "com.amazonaws.s3#RequestCharged", "traits": { "smithy.api#httpHeader": "x-amz-request-charged" } - }, - "SSEKMSKeyId": { - "target": "com.amazonaws.s3#SSEKMSKeyId", - "traits": { - "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key\n (CMK) that was used for the object.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" - } } } }, "com.amazonaws.s3#CopyObjectRequest": { "type": "structure", "members": { - "Tagging": { - "target": "com.amazonaws.s3#TaggingHeader", - "traits": { - "smithy.api#documentation": "

The tag-set for the object destination object this value must be used in conjunction with the\n TaggingDirective. The tag-set must be encoded as URL Query\n parameters.

", - "smithy.api#httpHeader": "x-amz-tagging" - } - }, - "SSEKMSEncryptionContext": { - "target": "com.amazonaws.s3#SSEKMSEncryptionContext", - "traits": { - "smithy.api#documentation": "

Specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-context" - } - }, "ACL": { "target": "com.amazonaws.s3#ObjectCannedACL", "traits": { @@ -1421,25 +1432,19 @@ "smithy.api#httpHeader": "x-amz-acl" } }, - "Expires": { - "target": "com.amazonaws.s3#Expires", - "traits": { - "smithy.api#documentation": "

The date and time at which the object is no longer cacheable.

", - "smithy.api#httpHeader": "Expires" - } - }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The account id of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

The name of the destination bucket.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "CopySourceIfModifiedSince": { - "target": "com.amazonaws.s3#CopySourceIfModifiedSince", + "CacheControl": { + "target": "com.amazonaws.s3#CacheControl", "traits": { - "smithy.api#documentation": "

Copies the object if it has been modified since the specified time.

", - "smithy.api#httpHeader": "x-amz-copy-source-if-modified-since" + "smithy.api#documentation": "

Specifies caching behavior along the request/reply chain.

", + "smithy.api#httpHeader": "Cache-Control" } }, "ContentDisposition": { @@ -1449,25 +1454,11 @@ "smithy.api#httpHeader": "Content-Disposition" } }, - "SSECustomerKey": { - "target": "com.amazonaws.s3#SSECustomerKey", - "traits": { - "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" - } - }, - "WebsiteRedirectLocation": { - "target": "com.amazonaws.s3#WebsiteRedirectLocation", - "traits": { - "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

", - "smithy.api#httpHeader": "x-amz-website-redirect-location" - } - }, - "ObjectLockRetainUntilDate": { - "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", + "ContentEncoding": { + "target": "com.amazonaws.s3#ContentEncoding", "traits": { - "smithy.api#documentation": "

The date and time when you want the copied object's Object Lock to expire.

", - "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" + "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.

", + "smithy.api#httpHeader": "Content-Encoding" } }, "ContentLanguage": { @@ -1477,69 +1468,68 @@ "smithy.api#httpHeader": "Content-Language" } }, - "GrantRead": { - "target": "com.amazonaws.s3#GrantRead", + "ContentType": { + "target": "com.amazonaws.s3#ContentType", "traits": { - "smithy.api#documentation": "

Allows grantee to read the object data and its metadata.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-read" + "smithy.api#documentation": "

A standard MIME type describing the format of the object data.

", + "smithy.api#httpHeader": "Content-Type" } }, - "ObjectLockLegalHoldStatus": { - "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", + "CopySource": { + "target": "com.amazonaws.s3#CopySource", "traits": { - "smithy.api#documentation": "

Specifies whether you want to apply a Legal Hold to the copied object.

", - "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" + "smithy.api#documentation": "

Specifies the source object for the copy operation. You specify the value in one of two\n formats, depending on whether you want to access the source object through an access\n point:

\n \n

To copy a specific version of an object, append ?versionId=\n to the value (for example,\n awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893).\n If you don't specify a version ID, Amazon S3 copies the latest version of the source\n object.

", + "smithy.api#httpHeader": "x-amz-copy-source", + "smithy.api#required": {} } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "CopySourceIfMatch": { + "target": "com.amazonaws.s3#CopySourceIfMatch", "traits": { - "smithy.api#documentation": "

The key of the destination object.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

Copies the object if its entity tag (ETag) matches the specified tag.

", + "smithy.api#httpHeader": "x-amz-copy-source-if-match" } }, - "GrantWriteACP": { - "target": "com.amazonaws.s3#GrantWriteACP", + "CopySourceIfModifiedSince": { + "target": "com.amazonaws.s3#CopySourceIfModifiedSince", "traits": { - "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable object.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-write-acp" + "smithy.api#documentation": "

Copies the object if it has been modified since the specified time.

", + "smithy.api#httpHeader": "x-amz-copy-source-if-modified-since" } }, - "CopySource": { - "target": "com.amazonaws.s3#CopySource", + "CopySourceIfNoneMatch": { + "target": "com.amazonaws.s3#CopySourceIfNoneMatch", "traits": { - "smithy.api#documentation": "

Specifies the source object for the copy operation. You specify the value in one of two formats, depending on whether you want \n to access the source object through an access point:

\n \n

To copy a specific version of an object, append ?versionId=\n to the value (for example,\n awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893).\n If you don't specify a version ID, Amazon S3 copies the latest version of the source\n object.

", - "smithy.api#httpHeader": "x-amz-copy-source", - "smithy.api#required": {} + "smithy.api#documentation": "

Copies the object if its entity tag (ETag) is different than the specified ETag.

", + "smithy.api#httpHeader": "x-amz-copy-source-if-none-match" } }, - "CopySourceSSECustomerAlgorithm": { - "target": "com.amazonaws.s3#CopySourceSSECustomerAlgorithm", + "CopySourceIfUnmodifiedSince": { + "target": "com.amazonaws.s3#CopySourceIfUnmodifiedSince", "traits": { - "smithy.api#documentation": "

Specifies the algorithm to use when decrypting the source object (for example, AES256).

", - "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-algorithm" + "smithy.api#documentation": "

Copies the object if it hasn't been modified since the specified time.

", + "smithy.api#httpHeader": "x-amz-copy-source-if-unmodified-since" } }, - "CopySourceSSECustomerKey": { - "target": "com.amazonaws.s3#CopySourceSSECustomerKey", + "Expires": { + "target": "com.amazonaws.s3#Expires", "traits": { - "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.

", - "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-key" + "smithy.api#documentation": "

The date and time at which the object is no longer cacheable.

", + "smithy.api#httpHeader": "Expires" } }, - "CopySourceSSECustomerKeyMD5": { - "target": "com.amazonaws.s3#CopySourceSSECustomerKeyMD5", + "GrantFullControl": { + "target": "com.amazonaws.s3#GrantFullControl", "traits": { - "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", - "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-key-MD5" + "smithy.api#documentation": "

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the\n object.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-full-control" } }, - "CacheControl": { - "target": "com.amazonaws.s3#CacheControl", + "GrantRead": { + "target": "com.amazonaws.s3#GrantRead", "traits": { - "smithy.api#documentation": "

Specifies caching behavior along the request/reply chain.

", - "smithy.api#httpHeader": "Cache-Control" + "smithy.api#documentation": "

Allows grantee to read the object data and its\n metadata.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-read" } }, "GrantReadACP": { @@ -1549,10 +1539,19 @@ "smithy.api#httpHeader": "x-amz-grant-read-acp" } }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "GrantWriteACP": { + "target": "com.amazonaws.s3#GrantWriteACP", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable\n object.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-write-acp" + } + }, + "Key": { + "target": "com.amazonaws.s3#ObjectKey", + "traits": { + "smithy.api#documentation": "

The key of the destination object.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "Metadata": { @@ -1562,117 +1561,143 @@ "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", + "MetadataDirective": { + "target": "com.amazonaws.s3#MetadataDirective", "traits": { - "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" + "smithy.api#documentation": "

Specifies whether the metadata is copied from the source object or replaced with\n metadata provided in the request.

", + "smithy.api#httpHeader": "x-amz-metadata-directive" } }, "TaggingDirective": { "target": "com.amazonaws.s3#TaggingDirective", "traits": { - "smithy.api#documentation": "

Specifies whether the object tag-set are copied from the source object or replaced with tag-set provided in the request.

", + "smithy.api#documentation": "

Specifies whether the object tag-set are copied from the source object or replaced with\n tag-set provided in the request.

", "smithy.api#httpHeader": "x-amz-tagging-directive" } }, - "ContentEncoding": { - "target": "com.amazonaws.s3#ContentEncoding", + "ServerSideEncryption": { + "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

", - "smithy.api#httpHeader": "Content-Encoding" + "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, - "CopySourceIfUnmodifiedSince": { - "target": "com.amazonaws.s3#CopySourceIfUnmodifiedSince", + "StorageClass": { + "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "

Copies the object if it hasn't been modified since the specified time.

", - "smithy.api#httpHeader": "x-amz-copy-source-if-unmodified-since" + "smithy.api#documentation": "

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the Amazon S3\n Service Developer Guide.

", + "smithy.api#httpHeader": "x-amz-storage-class" } }, - "ContentType": { - "target": "com.amazonaws.s3#ContentType", + "WebsiteRedirectLocation": { + "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { - "smithy.api#documentation": "

A standard MIME type describing the format of the object data.

", - "smithy.api#httpHeader": "Content-Type" + "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata.

", + "smithy.api#httpHeader": "x-amz-website-redirect-location" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example, AES256).

", + "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example,\n AES256).

", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "CopySourceIfMatch": { - "target": "com.amazonaws.s3#CopySourceIfMatch", - "traits": { - "smithy.api#documentation": "

Copies the object if its entity tag (ETag) matches the specified tag.

", - "smithy.api#httpHeader": "x-amz-copy-source-if-match" - } - }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "SSECustomerKey": { + "target": "com.amazonaws.s3#SSECustomerKey", "traits": { - "smithy.api#documentation": "

The name of the destination bucket.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" } }, - "ObjectLockMode": { - "target": "com.amazonaws.s3#ObjectLockMode", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

The Object Lock mode that you want to apply to the copied object.

", - "smithy.api#httpHeader": "x-amz-object-lock-mode" + "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, "SSEKMSKeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

Specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for an\n object protected by AWS KMS will fail if not made via SSL or using SigV4. For information\n about configuring using any of the officially supported AWS SDKs and AWS CLI, see Specifying the Signature Version in Request Authentication\n in the Amazon S3 Developer Guide.

", + "smithy.api#documentation": "

Specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for\n an object protected by AWS KMS will fail if not made via SSL or using SigV4. For\n information about configuring using any of the officially supported AWS SDKs and AWS CLI,\n see Specifying the\n Signature Version in Request Authentication in the Amazon S3 Developer\n Guide.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, - "ExpectedSourceBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "SSEKMSEncryptionContext": { + "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

The account id of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-source-expected-bucket-owner" + "smithy.api#documentation": "

Specifies the AWS KMS Encryption Context to use for object encryption. The value of this\n header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value\n pairs.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, - "ServerSideEncryption": { - "target": "com.amazonaws.s3#ServerSideEncryption", + "CopySourceSSECustomerAlgorithm": { + "target": "com.amazonaws.s3#CopySourceSSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption" + "smithy.api#documentation": "

Specifies the algorithm to use when decrypting the source object (for example,\n AES256).

", + "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-algorithm" } }, - "MetadataDirective": { - "target": "com.amazonaws.s3#MetadataDirective", + "CopySourceSSECustomerKey": { + "target": "com.amazonaws.s3#CopySourceSSECustomerKey", "traits": { - "smithy.api#documentation": "

Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.

", - "smithy.api#httpHeader": "x-amz-metadata-directive" + "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source\n object. The encryption key provided in this header must be one that was used when the\n source object was created.

", + "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-key" } }, - "GrantFullControl": { - "target": "com.amazonaws.s3#GrantFullControl", + "CopySourceSSECustomerKeyMD5": { + "target": "com.amazonaws.s3#CopySourceSSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-full-control" + "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", + "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-key-MD5" } }, - "CopySourceIfNoneMatch": { - "target": "com.amazonaws.s3#CopySourceIfNoneMatch", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

Copies the object if its entity tag (ETag) is different than the specified ETag.

", - "smithy.api#httpHeader": "x-amz-copy-source-if-none-match" + "smithy.api#httpHeader": "x-amz-request-payer" } }, - "StorageClass": { - "target": "com.amazonaws.s3#StorageClass", + "Tagging": { + "target": "com.amazonaws.s3#TaggingHeader", "traits": { - "smithy.api#documentation": "

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects.\n The STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only \n uses the OUTPOSTS Storage Class. For more information, see\n Storage Classes in the\n Amazon S3 Service Developer Guide.

", - "smithy.api#httpHeader": "x-amz-storage-class" + "smithy.api#documentation": "

The tag-set for the object destination object this value must be used in conjunction\n with the TaggingDirective. The tag-set must be encoded as URL Query\n parameters.

", + "smithy.api#httpHeader": "x-amz-tagging" + } + }, + "ObjectLockMode": { + "target": "com.amazonaws.s3#ObjectLockMode", + "traits": { + "smithy.api#documentation": "

The Object Lock mode that you want to apply to the copied object.

", + "smithy.api#httpHeader": "x-amz-object-lock-mode" + } + }, + "ObjectLockRetainUntilDate": { + "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", + "traits": { + "smithy.api#documentation": "

The date and time when you want the copied object's Object Lock to expire.

", + "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" + } + }, + "ObjectLockLegalHoldStatus": { + "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", + "traits": { + "smithy.api#documentation": "

Specifies whether you want to apply a Legal Hold to the copied object.

", + "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } + }, + "ExpectedSourceBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-source-expected-bucket-owner" } } } @@ -1683,7 +1708,7 @@ "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { - "smithy.api#documentation": "

Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata. The source and destination ETag is identical for a successfully copied object.

" + "smithy.api#documentation": "

Returns the ETag of the new object. The ETag reflects only changes to the contents of an\n object, not its metadata. The source and destination ETag is identical for a successfully\n copied object.

" } }, "LastModified": { @@ -1770,7 +1795,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new S3 bucket. To create a bucket, you must register with Amazon S3 and have a valid AWS Access Key ID to authenticate requests. Anonymous requests are never allowed to create buckets. By creating the bucket, you become the bucket owner.

\n

Not every string is an acceptable bucket name. For information about bucket naming\n restrictions, see Working with Amazon S3\n buckets.

\n

If you want to create an Amazon S3 on Outposts bucket, see Create Bucket.

\n

By default, the bucket is created in the US East (N. Virginia) Region. You can\n optionally specify a Region in the request body. You might choose a Region to optimize\n latency, minimize costs, or address regulatory requirements. For example, if you reside in\n Europe, you will probably find it advantageous to create buckets in the Europe (Ireland)\n Region. For more information, see Accessing a\n bucket.

\n \n

If you send your create bucket request to the s3.amazonaws.com endpoint, the\n request goes to the us-east-1 Region. Accordingly, the signature calculations in\n Signature Version 4 must use us-east-1 as the Region, even if the location constraint in\n the request specifies another Region where the bucket is to be created. If you create a\n bucket in a Region other than US East (N. Virginia), your application must be able to\n handle 307 redirect. For more information, see Virtual hosting of buckets.

\n
\n

When creating a bucket using this operation, you can optionally specify the accounts or groups that should be granted specific permissions on the bucket. There are two ways to grant the appropriate permissions using the request headers.

\n \n \n

You can use either a canned ACL or specify access permissions explicitly. You cannot do both.

\n
\n \n \n

The following operations are related to CreateBucket:

\n ", + "smithy.api#documentation": "

Creates a new S3 bucket. To create a bucket, you must register with Amazon S3 and have a\n valid AWS Access Key ID to authenticate requests. Anonymous requests are never allowed to\n create buckets. By creating the bucket, you become the bucket owner.

\n

Not every string is an acceptable bucket name. For information about bucket naming\n restrictions, see Working with Amazon S3\n buckets.

\n

If you want to create an Amazon S3 on Outposts bucket, see Create Bucket.

\n

By default, the bucket is created in the US East (N. Virginia) Region. You can\n optionally specify a Region in the request body. You might choose a Region to optimize\n latency, minimize costs, or address regulatory requirements. For example, if you reside in\n Europe, you will probably find it advantageous to create buckets in the Europe (Ireland)\n Region. For more information, see Accessing a\n bucket.

\n \n

If you send your create bucket request to the s3.amazonaws.com endpoint,\n the request goes to the us-east-1 Region. Accordingly, the signature calculations in\n Signature Version 4 must use us-east-1 as the Region, even if the location constraint in\n the request specifies another Region where the bucket is to be created. If you create a\n bucket in a Region other than US East (N. Virginia), your application must be able to\n handle 307 redirect. For more information, see Virtual hosting of buckets.

\n
\n

When creating a bucket using this operation, you can optionally specify the accounts or\n groups that should be granted specific permissions on the bucket. There are two ways to\n grant the appropriate permissions using the request headers.

\n \n \n

You can use either a canned ACL or specify access permissions explicitly. You cannot\n do both.

\n
\n\n\n

The following operations are related to CreateBucket:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}", @@ -1784,7 +1809,7 @@ "LocationConstraint": { "target": "com.amazonaws.s3#BucketLocationConstraint", "traits": { - "smithy.api#documentation": "

Specifies the Region where the bucket will be created. If you don't specify a Region, the\n bucket is created in the US East (N. Virginia) Region (us-east-1).

" + "smithy.api#documentation": "

Specifies the Region where the bucket will be created. If you don't specify a Region,\n the bucket is created in the US East (N. Virginia) Region (us-east-1).

" } } }, @@ -1807,32 +1832,11 @@ "com.amazonaws.s3#CreateBucketRequest": { "type": "structure", "members": { - "GrantReadACP": { - "target": "com.amazonaws.s3#GrantReadACP", - "traits": { - "smithy.api#documentation": "

Allows grantee to read the bucket ACL.

", - "smithy.api#httpHeader": "x-amz-grant-read-acp" - } - }, - "GrantRead": { - "target": "com.amazonaws.s3#GrantRead", - "traits": { - "smithy.api#documentation": "

Allows grantee to list the objects in the bucket.

", - "smithy.api#httpHeader": "x-amz-grant-read" - } - }, "ACL": { "target": "com.amazonaws.s3#BucketCannedACL", "traits": { "smithy.api#documentation": "

The canned ACL to apply to the bucket.

", - "smithy.api#httpHeader": "x-amz-acl" - } - }, - "GrantWrite": { - "target": "com.amazonaws.s3#GrantWrite", - "traits": { - "smithy.api#documentation": "

Allows grantee to create, overwrite, and delete any object in the bucket.

", - "smithy.api#httpHeader": "x-amz-grant-write" + "smithy.api#httpHeader": "x-amz-acl" } }, "Bucket": { @@ -1843,18 +1847,39 @@ "smithy.api#required": {} } }, + "CreateBucketConfiguration": { + "target": "com.amazonaws.s3#CreateBucketConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration information for the bucket.

", + "smithy.api#httpPayload": {} + } + }, "GrantFullControl": { "target": "com.amazonaws.s3#GrantFullControl", "traits": { - "smithy.api#documentation": "

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

", + "smithy.api#documentation": "

Allows grantee the read, write, read ACP, and write ACP permissions on the\n bucket.

", "smithy.api#httpHeader": "x-amz-grant-full-control" } }, - "ObjectLockEnabledForBucket": { - "target": "com.amazonaws.s3#ObjectLockEnabledForBucket", + "GrantRead": { + "target": "com.amazonaws.s3#GrantRead", "traits": { - "smithy.api#documentation": "

Specifies whether you want S3 Object Lock to be enabled for the new bucket.

", - "smithy.api#httpHeader": "x-amz-bucket-object-lock-enabled" + "smithy.api#documentation": "

Allows grantee to list the objects in the bucket.

", + "smithy.api#httpHeader": "x-amz-grant-read" + } + }, + "GrantReadACP": { + "target": "com.amazonaws.s3#GrantReadACP", + "traits": { + "smithy.api#documentation": "

Allows grantee to read the bucket ACL.

", + "smithy.api#httpHeader": "x-amz-grant-read-acp" + } + }, + "GrantWrite": { + "target": "com.amazonaws.s3#GrantWrite", + "traits": { + "smithy.api#documentation": "

Allows grantee to create, overwrite, and delete any object in the bucket.

", + "smithy.api#httpHeader": "x-amz-grant-write" } }, "GrantWriteACP": { @@ -1864,11 +1889,11 @@ "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, - "CreateBucketConfiguration": { - "target": "com.amazonaws.s3#CreateBucketConfiguration", + "ObjectLockEnabledForBucket": { + "target": "com.amazonaws.s3#ObjectLockEnabledForBucket", "traits": { - "smithy.api#documentation": "

The configuration information for the bucket.

", - "smithy.api#httpPayload": {} + "smithy.api#documentation": "

Specifies whether you want S3 Object Lock to be enabled for the new bucket.

", + "smithy.api#httpHeader": "x-amz-bucket-object-lock-enabled" } } } @@ -1882,7 +1907,7 @@ "target": "com.amazonaws.s3#CreateMultipartUploadOutput" }, "traits": { - "smithy.api#documentation": "

This operation initiates a multipart upload and returns an upload ID. This upload ID is used to associate all of the parts in the specific multipart upload. You specify this upload ID in each of your subsequent upload part requests (see UploadPart). You also include this upload ID in the final request to either complete or abort the multipart upload request.

\n \n

For more information about multipart uploads, see Multipart Upload Overview.

\n \n

If you have configured a lifecycle rule to abort incomplete multipart uploads, the upload must complete within the number of days specified in the bucket lifecycle configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort operation and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

\n \n

For information about the permissions required to use the multipart upload API, see Multipart Upload API and Permissions.

\n \n

For request signing, multipart upload is just a series of regular requests. You initiate a multipart upload, send one or more requests to upload parts, and then complete the multipart upload process. You sign each request individually. There is nothing special about signing multipart upload requests. For more information about signing, see Authenticating Requests (AWS Signature Version 4).

\n \n \n

After you initiate a multipart upload and upload one or more parts, to stop being charged for storing the uploaded parts, you must either complete or abort the multipart upload. Amazon S3 frees up the space used to store the parts and stop charging you for storing them only after you either complete or abort a multipart upload.\n

\n
\n \n

You can optionally request server-side encryption. For server-side encryption, Amazon S3\n encrypts your data as it writes it to disks in its data centers and decrypts it when you\n access it. You can provide your own encryption key, or use AWS Key Management Service (AWS\n KMS) customer master keys (CMKs) or Amazon S3-managed encryption keys. If you choose to provide\n your own encryption key, the request headers you provide in UploadPart and UploadPartCopy requests must match the headers you used in the request to\n initiate the upload by using CreateMultipartUpload.

\n

To perform a multipart upload with encryption using an AWS KMS CMK, the requester must have permission to the kms:Encrypt, kms:Decrypt, kms:ReEncrypt*, kms:GenerateDataKey*, and kms:DescribeKey actions on the key. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload.

\n \n

If your AWS Identity and Access Management (IAM) user or role is in the same AWS account as the AWS KMS CMK, then you must have these permissions on the key policy. If your IAM user or role belongs to a different account than the key, then you must have the permissions on both the key policy and your IAM user or role.

\n \n \n

For more information, see Protecting Data Using Server-Side Encryption.

\n \n
\n
Access Permissions
\n
\n

When copying an object, you can optionally specify the accounts or groups that should be granted specific permissions on the new object. There are two ways to grant the permissions using the request headers:

\n \n

You can use either a canned ACL or specify access permissions explicitly. You cannot do both.

\n
\n
Server-Side- Encryption-Specific Request Headers
\n
\n

You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption.\n Server-side encryption is for data encryption at rest. Amazon S3 encrypts your\n data as it writes it to disks in its data centers and decrypts it when you access\n it. The option you use depends on whether you want to use AWS managed encryption\n keys or provide your own encryption key.

\n \n
\n
Access-Control-List (ACL)-Specific Request Headers
\n
\n

You also can use the following access control–related headers with this operation. By default,\n all objects are private. Only the owner has full access control. When adding a new\n object, you can grant permissions to individual AWS accounts or to predefined\n groups defined by Amazon S3. These permissions are then added to the access\n control list (ACL) on the object. For more information, see Using ACLs. With this operation, you can grant access permissions\n using one of the following two methods:

\n \n \n
\n
\n \n

The following operations are related to CreateMultipartUpload:

\n ", + "smithy.api#documentation": "

This operation initiates a multipart upload and returns an upload ID. This upload ID is\n used to associate all of the parts in the specific multipart upload. You specify this\n upload ID in each of your subsequent upload part requests (see UploadPart). You also include this\n upload ID in the final request to either complete or abort the multipart upload\n request.

\n\n

For more information about multipart uploads, see Multipart Upload Overview.

\n\n

If you have configured a lifecycle rule to abort incomplete multipart uploads, the\n upload must complete within the number of days specified in the bucket lifecycle\n configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort\n operation and Amazon S3 aborts the multipart upload. For more information, see Aborting\n Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

\n\n

For information about the permissions required to use the multipart upload API, see\n Multipart Upload API and\n Permissions.

\n\n

For request signing, multipart upload is just a series of regular requests. You initiate\n a multipart upload, send one or more requests to upload parts, and then complete the\n multipart upload process. You sign each request individually. There is nothing special\n about signing multipart upload requests. For more information about signing, see Authenticating\n Requests (AWS Signature Version 4).

\n\n \n

After you initiate a multipart upload and upload one or more parts, to stop being\n charged for storing the uploaded parts, you must either complete or abort the multipart\n upload. Amazon S3 frees up the space used to store the parts and stop charging you for\n storing them only after you either complete or abort a multipart upload.

\n
\n\n

You can optionally request server-side encryption. For server-side encryption, Amazon S3\n encrypts your data as it writes it to disks in its data centers and decrypts it when you\n access it. You can provide your own encryption key, or use AWS Key Management Service (AWS\n KMS) customer master keys (CMKs) or Amazon S3-managed encryption keys. If you choose to provide\n your own encryption key, the request headers you provide in UploadPart and UploadPartCopy requests must match the headers you used in the request to\n initiate the upload by using CreateMultipartUpload.

\n

To perform a multipart upload with encryption using an AWS KMS CMK, the requester must\n have permission to the kms:Encrypt, kms:Decrypt,\n kms:ReEncrypt*, kms:GenerateDataKey*, and\n kms:DescribeKey actions on the key. These permissions are required because\n Amazon S3 must decrypt and read data from the encrypted file parts before it completes the\n multipart upload.

\n\n

If your AWS Identity and Access Management (IAM) user or role is in the same AWS account\n as the AWS KMS CMK, then you must have these permissions on the key policy. If your IAM\n user or role belongs to a different account than the key, then you must have the\n permissions on both the key policy and your IAM user or role.

\n\n\n

For more information, see Protecting\n Data Using Server-Side Encryption.

\n\n
\n
Access Permissions
\n
\n

When copying an object, you can optionally specify the accounts or groups that\n should be granted specific permissions on the new object. There are two ways to\n grant the permissions using the request headers:

\n \n

You can use either a canned ACL or specify access permissions explicitly. You\n cannot do both.

\n
\n
Server-Side- Encryption-Specific Request Headers
\n
\n

You can optionally tell Amazon S3 to encrypt data at rest using server-side\n encryption. Server-side encryption is for data encryption at rest. Amazon S3 encrypts\n your data as it writes it to disks in its data centers and decrypts it when you\n access it. The option you use depends on whether you want to use AWS managed\n encryption keys or provide your own encryption key.

\n \n
\n
Access-Control-List (ACL)-Specific Request Headers
\n
\n

You also can use the following access control–related headers with this\n operation. By default, all objects are private. Only the owner has full access\n control. When adding a new object, you can grant permissions to individual AWS\n accounts or to predefined groups defined by Amazon S3. These permissions are then added\n to the access control list (ACL) on the object. For more information, see Using ACLs. With this\n operation, you can grant access permissions using one of the following two\n methods:

\n \n\n
\n
\n\n

The following operations are related to CreateMultipartUpload:

\n ", "smithy.api#http": { "method": "POST", "uri": "/{Bucket}/{Key+}?uploads", @@ -1893,18 +1918,25 @@ "com.amazonaws.s3#CreateMultipartUploadOutput": { "type": "structure", "members": { - "SSEKMSEncryptionContext": { - "target": "com.amazonaws.s3#SSEKMSEncryptionContext", + "AbortDate": { + "target": "com.amazonaws.s3#AbortDate", "traits": { - "smithy.api#documentation": "

If present, specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-context" + "smithy.api#documentation": "

If the bucket has a lifecycle rule configured with an action to abort incomplete\n multipart uploads and the prefix in the lifecycle rule matches the object name in the\n request, the response includes this header. The header indicates when the initiated\n multipart upload becomes eligible for an abort operation. For more information, see \n Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

\n\n

The response also includes the x-amz-abort-rule-id header that provides the\n ID of the lifecycle configuration rule that defines this action.

", + "smithy.api#httpHeader": "x-amz-abort-date" } }, - "ServerSideEncryption": { - "target": "com.amazonaws.s3#ServerSideEncryption", + "AbortRuleId": { + "target": "com.amazonaws.s3#AbortRuleId", "traits": { - "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption" + "smithy.api#documentation": "

This header is returned along with the x-amz-abort-date header. It\n identifies the applicable lifecycle configuration rule that defines the action to abort\n incomplete multipart uploads.

", + "smithy.api#httpHeader": "x-amz-abort-rule-id" + } + }, + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The name of the bucket to which the multipart upload was initiated.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#xmlName": "Bucket" } }, "Key": { @@ -1913,58 +1945,51 @@ "smithy.api#documentation": "

Object key for which the multipart upload was initiated.

" } }, - "RequestCharged": { - "target": "com.amazonaws.s3#RequestCharged", + "UploadId": { + "target": "com.amazonaws.s3#MultipartUploadId", "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" + "smithy.api#documentation": "

ID for the initiated multipart upload.

" } }, - "AbortDate": { - "target": "com.amazonaws.s3#AbortDate", + "ServerSideEncryption": { + "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "

If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the prefix in the lifecycle rule matches the object name in the request, the response includes this header. The header indicates when the initiated multipart upload becomes eligible for an abort operation. For more information, see \n Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

\n \n

The response also includes the x-amz-abort-rule-id header that provides the\n ID of the lifecycle configuration rule that defines this action.

", - "smithy.api#httpHeader": "x-amz-abort-date" + "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

", + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header confirming the encryption algorithm used.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

The name of the bucket to which the multipart upload was initiated.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#xmlName": "Bucket" + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide round-trip message integrity verification of\n the customer-provided encryption key.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, "SSEKMSKeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key\n (CMK) that was used for the object.

", + "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric\n customer managed customer master key (CMK) that was used for the object.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, - "AbortRuleId": { - "target": "com.amazonaws.s3#AbortRuleId", - "traits": { - "smithy.api#documentation": "

This header is returned along with the x-amz-abort-date header. It identifies the\n applicable lifecycle configuration rule that defines the action to abort incomplete\n multipart uploads.

", - "smithy.api#httpHeader": "x-amz-abort-rule-id" - } - }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", + "SSEKMSEncryptionContext": { + "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response\n will include this header to provide round-trip message integrity verification of the\n customer-provided encryption key.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" + "smithy.api#documentation": "

If present, specifies the AWS KMS Encryption Context to use for object encryption. The\n value of this header is a base64-encoded UTF-8 string holding JSON with the encryption\n context key-value pairs.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, - "UploadId": { - "target": "com.amazonaws.s3#MultipartUploadId", + "RequestCharged": { + "target": "com.amazonaws.s3#RequestCharged", "traits": { - "smithy.api#documentation": "

ID for the initiated multipart upload.

" + "smithy.api#httpHeader": "x-amz-request-charged" } } } @@ -1972,11 +1997,11 @@ "com.amazonaws.s3#CreateMultipartUploadRequest": { "type": "structure", "members": { - "Metadata": { - "target": "com.amazonaws.s3#Metadata", + "ACL": { + "target": "com.amazonaws.s3#ObjectCannedACL", "traits": { - "smithy.api#documentation": "

A map of metadata to store with the object in S3.

", - "smithy.api#httpPrefixHeaders": "x-amz-meta-" + "smithy.api#documentation": "

The canned ACL to apply to the object.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-acl" } }, "Bucket": { @@ -1987,123 +2012,117 @@ "smithy.api#required": {} } }, - "GrantFullControl": { - "target": "com.amazonaws.s3#GrantFullControl", + "CacheControl": { + "target": "com.amazonaws.s3#CacheControl", "traits": { - "smithy.api#documentation": "

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-full-control" + "smithy.api#documentation": "

Specifies caching behavior along the request/reply chain.

", + "smithy.api#httpHeader": "Cache-Control" } }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", + "ContentDisposition": { + "target": "com.amazonaws.s3#ContentDisposition", "traits": { - "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" + "smithy.api#documentation": "

Specifies presentational information for the object.

", + "smithy.api#httpHeader": "Content-Disposition" } }, - "SSECustomerAlgorithm": { - "target": "com.amazonaws.s3#SSECustomerAlgorithm", + "ContentEncoding": { + "target": "com.amazonaws.s3#ContentEncoding", "traits": { - "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example, AES256).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" + "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.

", + "smithy.api#httpHeader": "Content-Encoding" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "ContentLanguage": { + "target": "com.amazonaws.s3#ContentLanguage", "traits": { - "smithy.api#documentation": "

Object key for which the multipart upload is to be initiated.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The language the content is in.

", + "smithy.api#httpHeader": "Content-Language" } }, - "SSEKMSKeyId": { - "target": "com.amazonaws.s3#SSEKMSKeyId", + "ContentType": { + "target": "com.amazonaws.s3#ContentType", "traits": { - "smithy.api#documentation": "

Specifies the ID of the symmetric customer managed AWS KMS CMK to use for object encryption. All GET and PUT requests for an\n object protected by AWS KMS will fail if not made via SSL or using SigV4. For information\n about configuring using any of the officially supported AWS SDKs and AWS CLI, see Specifying the Signature Version in Request Authentication\n in the Amazon S3 Developer Guide.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" + "smithy.api#documentation": "

A standard MIME type describing the format of the object data.

", + "smithy.api#httpHeader": "Content-Type" } }, - "ObjectLockLegalHoldStatus": { - "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", + "Expires": { + "target": "com.amazonaws.s3#Expires", "traits": { - "smithy.api#documentation": "

Specifies whether you want to apply a Legal Hold to the uploaded object.

", - "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" + "smithy.api#documentation": "

The date and time at which the object is no longer cacheable.

", + "smithy.api#httpHeader": "Expires" } }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "GrantFullControl": { + "target": "com.amazonaws.s3#GrantFullControl", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the\n object.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-full-control" } }, "GrantRead": { "target": "com.amazonaws.s3#GrantRead", "traits": { - "smithy.api#documentation": "

Allows grantee to read the object data and its metadata.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#documentation": "

Allows grantee to read the object data and its\n metadata.

\n

This action is not supported by Amazon S3 on Outposts.

", "smithy.api#httpHeader": "x-amz-grant-read" } }, - "GrantWriteACP": { - "target": "com.amazonaws.s3#GrantWriteACP", - "traits": { - "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable object.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-write-acp" - } - }, - "WebsiteRedirectLocation": { - "target": "com.amazonaws.s3#WebsiteRedirectLocation", + "GrantReadACP": { + "target": "com.amazonaws.s3#GrantReadACP", "traits": { - "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

", - "smithy.api#httpHeader": "x-amz-website-redirect-location" + "smithy.api#documentation": "

Allows grantee to read the object ACL.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-read-acp" } }, - "ContentType": { - "target": "com.amazonaws.s3#ContentType", + "GrantWriteACP": { + "target": "com.amazonaws.s3#GrantWriteACP", "traits": { - "smithy.api#documentation": "

A standard MIME type describing the format of the object data.

", - "smithy.api#httpHeader": "Content-Type" + "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable\n object.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, - "ContentLanguage": { - "target": "com.amazonaws.s3#ContentLanguage", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

The language the content is in.

", - "smithy.api#httpHeader": "Content-Language" + "smithy.api#documentation": "

Object key for which the multipart upload is to be initiated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "CacheControl": { - "target": "com.amazonaws.s3#CacheControl", + "Metadata": { + "target": "com.amazonaws.s3#Metadata", "traits": { - "smithy.api#documentation": "

Specifies caching behavior along the request/reply chain.

", - "smithy.api#httpHeader": "Cache-Control" + "smithy.api#documentation": "

A map of metadata to store with the object in S3.

", + "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, - "GrantReadACP": { - "target": "com.amazonaws.s3#GrantReadACP", + "ServerSideEncryption": { + "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "

Allows grantee to read the object ACL.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-read-acp" + "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, - "Tagging": { - "target": "com.amazonaws.s3#TaggingHeader", + "StorageClass": { + "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "

The tag-set for the object. The tag-set must be encoded as URL Query parameters.

", - "smithy.api#httpHeader": "x-amz-tagging" + "smithy.api#documentation": "

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the Amazon S3\n Service Developer Guide.

", + "smithy.api#httpHeader": "x-amz-storage-class" } }, - "SSEKMSEncryptionContext": { - "target": "com.amazonaws.s3#SSEKMSEncryptionContext", + "WebsiteRedirectLocation": { + "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { - "smithy.api#documentation": "

Specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-context" + "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata.

", + "smithy.api#httpHeader": "x-amz-website-redirect-location" } }, - "ACL": { - "target": "com.amazonaws.s3#ObjectCannedACL", + "SSECustomerAlgorithm": { + "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

The canned ACL to apply to the object.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-acl" + "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example,\n AES256).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, "SSECustomerKey": { @@ -2113,39 +2132,38 @@ "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "Expires": { - "target": "com.amazonaws.s3#Expires", + "SSEKMSKeyId": { + "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

The date and time at which the object is no longer cacheable.

", - "smithy.api#httpHeader": "Expires" + "smithy.api#documentation": "

Specifies the ID of the symmetric customer managed AWS KMS CMK to use for object\n encryption. All GET and PUT requests for an object protected by AWS KMS will fail if not\n made via SSL or using SigV4. For information about configuring using any of the officially\n supported AWS SDKs and AWS CLI, see Specifying the Signature Version in Request Authentication\n in the Amazon S3 Developer Guide.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, - "ObjectLockRetainUntilDate": { - "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", + "SSEKMSEncryptionContext": { + "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

Specifies the date and time when you want the Object Lock to expire.

", - "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" + "smithy.api#documentation": "

Specifies the AWS KMS Encryption Context to use for object encryption. The value of this\n header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value\n pairs.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, - "ServerSideEncryption": { - "target": "com.amazonaws.s3#ServerSideEncryption", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption" + "smithy.api#httpHeader": "x-amz-request-payer" } }, - "ContentDisposition": { - "target": "com.amazonaws.s3#ContentDisposition", - "traits": { - "smithy.api#documentation": "

Specifies presentational information for the object.

", - "smithy.api#httpHeader": "Content-Disposition" + "Tagging": { + "target": "com.amazonaws.s3#TaggingHeader", + "traits": { + "smithy.api#documentation": "

The tag-set for the object. The tag-set must be encoded as URL Query parameters.

", + "smithy.api#httpHeader": "x-amz-tagging" } }, "ObjectLockMode": { @@ -2155,18 +2173,25 @@ "smithy.api#httpHeader": "x-amz-object-lock-mode" } }, - "StorageClass": { - "target": "com.amazonaws.s3#StorageClass", + "ObjectLockRetainUntilDate": { + "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", "traits": { - "smithy.api#documentation": "

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects.\n The STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only \n uses the OUTPOSTS Storage Class. For more information, see\n Storage Classes in the\n Amazon S3 Service Developer Guide.

", - "smithy.api#httpHeader": "x-amz-storage-class" + "smithy.api#documentation": "

Specifies the date and time when you want the Object Lock to expire.

", + "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" } }, - "ContentEncoding": { - "target": "com.amazonaws.s3#ContentEncoding", + "ObjectLockLegalHoldStatus": { + "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", "traits": { - "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

", - "smithy.api#httpHeader": "Content-Encoding" + "smithy.api#documentation": "

Specifies whether you want to apply a Legal Hold to the uploaded object.

", + "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -2189,16 +2214,16 @@ "com.amazonaws.s3#DefaultRetention": { "type": "structure", "members": { - "Days": { - "target": "com.amazonaws.s3#Days", + "Mode": { + "target": "com.amazonaws.s3#ObjectLockRetentionMode", "traits": { - "smithy.api#documentation": "

The number of days that you want to specify for the default retention period.

" + "smithy.api#documentation": "

The default Object Lock retention mode you want to apply to new objects placed in the\n specified bucket.

" } }, - "Mode": { - "target": "com.amazonaws.s3#ObjectLockRetentionMode", + "Days": { + "target": "com.amazonaws.s3#Days", "traits": { - "smithy.api#documentation": "

The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.

" + "smithy.api#documentation": "

The number of days that you want to specify for the default retention period.

" } }, "Years": { @@ -2209,7 +2234,7 @@ } }, "traits": { - "smithy.api#documentation": "

The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.

" + "smithy.api#documentation": "

The container element for specifying the default Object Lock retention settings for new\n objects placed in the specified bucket.

" } }, "com.amazonaws.s3#Delete": { @@ -2227,7 +2252,7 @@ "Quiet": { "target": "com.amazonaws.s3#Quiet", "traits": { - "smithy.api#documentation": "

Element to enable quiet mode for the request. When you add this element, you must set its value to true.

" + "smithy.api#documentation": "

Element to enable quiet mode for the request. When you add this element, you must set\n its value to true.

" } } }, @@ -2241,7 +2266,7 @@ "target": "com.amazonaws.s3#DeleteBucketRequest" }, "traits": { - "smithy.api#documentation": "

Deletes the S3 bucket. All objects (including all object versions and delete markers) in the\n bucket must be deleted before the bucket itself can be deleted.

\n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Deletes the S3 bucket. All objects (including all object versions and delete markers) in\n the bucket must be deleted before the bucket itself can be deleted.

\n \n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}", @@ -2255,7 +2280,7 @@ "target": "com.amazonaws.s3#DeleteBucketAnalyticsConfigurationRequest" }, "traits": { - "smithy.api#documentation": "

Deletes an analytics configuration for the bucket (specified by the analytics configuration ID).

\n

To use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.

\n \n

For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis.

\n \n

The following operations are related to DeleteBucketAnalyticsConfiguration:

\n ", + "smithy.api#documentation": "

Deletes an analytics configuration for the bucket (specified by the analytics\n configuration ID).

\n

To use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.

\n\n

The following operations are related to\n DeleteBucketAnalyticsConfiguration:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?analytics", @@ -2266,6 +2291,14 @@ "com.amazonaws.s3#DeleteBucketAnalyticsConfigurationRequest": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The name of the bucket from which an analytics configuration is deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "Id": { "target": "com.amazonaws.s3#AnalyticsId", "traits": { @@ -2280,14 +2313,6 @@ "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } - }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", - "traits": { - "smithy.api#documentation": "

The name of the bucket from which an analytics configuration is deleted.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, @@ -2297,7 +2322,7 @@ "target": "com.amazonaws.s3#DeleteBucketCorsRequest" }, "traits": { - "smithy.api#documentation": "

Deletes the cors configuration information set for the bucket.

\n

To use this operation, you must have permission to perform the s3:PutBucketCORS action. \n The bucket owner has this permission by default and can grant this permission to others.

\n

For information about cors, see Enabling\n Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Related Resources:\n

\n ", + "smithy.api#documentation": "

Deletes the cors configuration information set for the bucket.

\n

To use this operation, you must have permission to perform the\n s3:PutBucketCORS action. The bucket owner has this permission by default\n and can grant this permission to others.

\n

For information about cors, see Enabling\n Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Related Resources:\n

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?cors", @@ -2308,13 +2333,6 @@ "com.amazonaws.s3#DeleteBucketCorsRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -2322,6 +2340,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -2331,7 +2356,7 @@ "target": "com.amazonaws.s3#DeleteBucketEncryptionRequest" }, "traits": { - "smithy.api#documentation": "

This implementation of the DELETE operation removes default encryption from the bucket. For information about the Amazon S3 \n default encryption feature, see Amazon S3 Default Bucket Encryption in the \n Amazon Simple Storage Service Developer Guide.

\n

To use this operation, you must have permissions to perform the s3:PutEncryptionConfiguration action. The bucket owner \n has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see \n Permissions Related to \n Bucket Subresource Operations and Managing Access Permissions to your Amazon S3 \n Resources in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

This implementation of the DELETE operation removes default encryption from the bucket.\n For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the\n Amazon Simple Storage Service Developer Guide.

\n

To use this operation, you must have permissions to perform the\n s3:PutEncryptionConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3\n Resources in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?encryption", @@ -2345,7 +2370,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The name of the bucket containing the server-side encryption configuration to delete.

", + "smithy.api#documentation": "

The name of the bucket containing the server-side encryption configuration to\n delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2359,13 +2384,48 @@ } } }, + "com.amazonaws.s3#DeleteBucketIntelligentTieringConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3#DeleteBucketIntelligentTieringConfigurationRequest" + }, + "traits": { + "smithy.api#documentation": "

Deletes the S3 Intelligent-Tiering configuration from the specified bucket.

\n

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. S3 Intelligent-Tiering delivers automatic cost savings by moving data between access tiers, when access patterns change.

\n

The S3 Intelligent-Tiering storage class is suitable for objects larger than 128 KB that you plan to store for at least 30 days. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the frequent access tier rates in the S3 Intelligent-Tiering storage class.

\n

If you delete an object before the end of the 30-day minimum storage duration period, you are charged for 30 days. For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

\n

Operations related to\n DeleteBucketIntelligentTieringConfiguration include:

\n ", + "smithy.api#http": { + "method": "DELETE", + "uri": "/{Bucket}?intelligent-tiering", + "code": 204 + } + } + }, + "com.amazonaws.s3#DeleteBucketIntelligentTieringConfigurationRequest": { + "type": "structure", + "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Id": { + "target": "com.amazonaws.s3#IntelligentTieringId", + "traits": { + "smithy.api#documentation": "

The ID used to identify the S3 Intelligent-Tiering configuration.

", + "smithy.api#httpQuery": "id", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.s3#DeleteBucketInventoryConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.s3#DeleteBucketInventoryConfigurationRequest" }, "traits": { - "smithy.api#documentation": "

Deletes an inventory configuration (identified by the inventory ID) from the bucket.

\n

To use this operation, you must have permissions to perform the s3:PutInventoryConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.

\n

Operations related to DeleteBucketInventoryConfiguration include:

\n ", + "smithy.api#documentation": "

Deletes an inventory configuration (identified by the inventory ID) from the\n bucket.

\n

To use this operation, you must have permissions to perform the\n s3:PutInventoryConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.

\n

Operations related to DeleteBucketInventoryConfiguration include:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?inventory", @@ -2376,13 +2436,6 @@ "com.amazonaws.s3#DeleteBucketInventoryConfigurationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -2398,6 +2451,13 @@ "smithy.api#httpQuery": "id", "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -2407,7 +2467,7 @@ "target": "com.amazonaws.s3#DeleteBucketLifecycleRequest" }, "traits": { - "smithy.api#documentation": "

Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of rules contained in the deleted lifecycle configuration.

\n

To use this operation, you must have permission to perform the s3:PutLifecycleConfiguration action. By default, the bucket owner has this permission and the bucket owner can grant this permission to others.

\n \n

There is usually some time lag before lifecycle configuration deletion is fully propagated to all the Amazon S3 systems.

\n \n

For more information about the object expiration, see Elements to Describe Lifecycle Actions.

\n

Related actions include:

\n ", + "smithy.api#documentation": "

Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the\n lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your\n objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of\n rules contained in the deleted lifecycle configuration.

\n

To use this operation, you must have permission to perform the\n s3:PutLifecycleConfiguration action. By default, the bucket owner has this\n permission and the bucket owner can grant this permission to others.

\n\n

There is usually some time lag before lifecycle configuration deletion is fully\n propagated to all the Amazon S3 systems.

\n\n

For more information about the object expiration, see Elements to\n Describe Lifecycle Actions.

\n

Related actions include:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?lifecycle", @@ -2441,7 +2501,7 @@ "target": "com.amazonaws.s3#DeleteBucketMetricsConfigurationRequest" }, "traits": { - "smithy.api#documentation": "

Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the metrics configuration ID) from the bucket. Note that this doesn't include the daily storage metrics.

\n \n

To use this operation, you must have permissions to perform the s3:PutMetricsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.\n

\n

The following operations are related to\n DeleteBucketMetricsConfiguration:

\n ", + "smithy.api#documentation": "

Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the\n metrics configuration ID) from the bucket. Note that this doesn't include the daily storage\n metrics.

\n\n

To use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.

\n

The following operations are related to\n DeleteBucketMetricsConfiguration:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?metrics", @@ -2452,11 +2512,12 @@ "com.amazonaws.s3#DeleteBucketMetricsConfigurationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

The name of the bucket containing the metrics configuration to delete.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "Id": { @@ -2467,12 +2528,11 @@ "smithy.api#required": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

The name of the bucket containing the metrics configuration to delete.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -2494,12 +2554,6 @@ "com.amazonaws.s3#DeleteBucketOwnershipControlsRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -2507,6 +2561,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -2516,7 +2577,7 @@ "target": "com.amazonaws.s3#DeleteBucketPolicyRequest" }, "traits": { - "smithy.api#documentation": "

This implementation of the DELETE operation uses the policy subresource to delete the policy\n of a specified bucket. If you are using an identity other than the root user of the AWS\n account that owns the bucket, the calling identity must have the\n DeleteBucketPolicy permissions on the specified bucket and belong to the\n bucket owner's account to use this operation.

\n \n

If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a\n 403 Access Denied error. If you have the correct permissions, but you're\n not using an identity that belongs to the bucket owner's account, Amazon S3 returns a\n 405 Method Not Allowed error.

\n \n \n \n

As a security precaution, the root user of the AWS account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.

\n
\n \n \n \n

For more information about bucket policies, see Using Bucket Policies and UserPolicies.\n

\n

The following operations are related to DeleteBucketPolicy\n

\n ", + "smithy.api#documentation": "

This implementation of the DELETE operation uses the policy subresource to delete the\n policy of a specified bucket. If you are using an identity other than the root user of the\n AWS account that owns the bucket, the calling identity must have the\n DeleteBucketPolicy permissions on the specified bucket and belong to the\n bucket owner's account to use this operation.

\n\n

If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a 403\n Access Denied error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed error.

\n\n\n \n

As a security precaution, the root user of the AWS account that owns a bucket can\n always use this operation, even if the policy explicitly denies the root user the\n ability to perform this action.

\n
\n\n\n\n

For more information about bucket policies, see Using Bucket Policies and\n UserPolicies.

\n

The following operations are related to DeleteBucketPolicy\n

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?policy", @@ -2550,7 +2611,7 @@ "target": "com.amazonaws.s3#DeleteBucketReplicationRequest" }, "traits": { - "smithy.api#documentation": "

\n Deletes the replication configuration from the bucket.

\n

To use this operation, you must have permissions to perform the s3:PutReplicationConfiguration action. The bucket owner has these permissions by default and can grant it to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

It can take a while for the deletion of a replication configuration to fully propagate.

\n
\n \n

For information about replication configuration, see Replication in the Amazon S3 Developer Guide. \n

\n \n

The following operations are related to DeleteBucketReplication:

\n ", + "smithy.api#documentation": "

Deletes the replication configuration from the bucket.

\n

To use this operation, you must have permissions to perform the\n s3:PutReplicationConfiguration action. The bucket owner has these\n permissions by default and can grant it to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n \n

It can take a while for the deletion of a replication configuration to fully\n propagate.

\n
\n\n

For information about replication configuration, see Replication in the Amazon S3 Developer\n Guide.

\n\n

The following operations are related to DeleteBucketReplication:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?replication", @@ -2564,7 +2625,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

\n The bucket name. \n

", + "smithy.api#documentation": "

The bucket name.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2581,13 +2642,6 @@ "com.amazonaws.s3#DeleteBucketRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -2595,6 +2649,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -2604,7 +2665,7 @@ "target": "com.amazonaws.s3#DeleteBucketTaggingRequest" }, "traits": { - "smithy.api#documentation": "

Deletes the tags from the bucket.

\n \n

To use this operation, you must have permission to perform the s3:PutBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others. \n

\n

The following operations are related to DeleteBucketTagging:

\n ", + "smithy.api#documentation": "

Deletes the tags from the bucket.

\n\n

To use this operation, you must have permission to perform the\n s3:PutBucketTagging action. By default, the bucket owner has this\n permission and can grant this permission to others.

\n

The following operations are related to DeleteBucketTagging:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?tagging", @@ -2615,13 +2676,6 @@ "com.amazonaws.s3#DeleteBucketTaggingRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -2629,6 +2683,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -2638,7 +2699,7 @@ "target": "com.amazonaws.s3#DeleteBucketWebsiteRequest" }, "traits": { - "smithy.api#documentation": "

This operation removes the website configuration for a bucket. Amazon S3 returns a 200 OK response upon successfully deleting a website configuration on the specified bucket. You will get a 200 OK response if the website configuration you are trying to delete does not exist on the bucket. Amazon S3 returns a 404 response if the bucket specified in the request does not exist.

\n \n

This DELETE operation requires the S3:DeleteBucketWebsite permission. By default, only the bucket owner can delete the website configuration attached to a bucket. However, bucket owners can grant other users permission to delete the website configuration by writing a bucket policy granting them the S3:DeleteBucketWebsite permission.

\n \n

For more information about hosting websites, see Hosting Websites on Amazon S3.\n

\n \n

The following operations are related to DeleteBucketWebsite:

\n ", + "smithy.api#documentation": "

This operation removes the website configuration for a bucket. Amazon S3 returns a 200\n OK response upon successfully deleting a website configuration on the specified\n bucket. You will get a 200 OK response if the website configuration you are\n trying to delete does not exist on the bucket. Amazon S3 returns a 404 response if\n the bucket specified in the request does not exist.

\n\n

This DELETE operation requires the S3:DeleteBucketWebsite permission. By\n default, only the bucket owner can delete the website configuration attached to a bucket.\n However, bucket owners can grant other users permission to delete the website configuration\n by writing a bucket policy granting them the S3:DeleteBucketWebsite\n permission.

\n\n

For more information about hosting websites, see Hosting Websites on Amazon S3.

\n\n

The following operations are related to DeleteBucketWebsite:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?website", @@ -2649,13 +2710,6 @@ "com.amazonaws.s3#DeleteBucketWebsiteRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -2663,6 +2717,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -2672,16 +2733,10 @@ "com.amazonaws.s3#DeleteMarkerEntry": { "type": "structure", "members": { - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", - "traits": { - "smithy.api#documentation": "

Version ID of an object.

" - } - }, - "LastModified": { - "target": "com.amazonaws.s3#LastModified", + "Owner": { + "target": "com.amazonaws.s3#Owner", "traits": { - "smithy.api#documentation": "

Date and time the object was last modified.

" + "smithy.api#documentation": "

The account that created the delete marker.>

" } }, "Key": { @@ -2690,16 +2745,22 @@ "smithy.api#documentation": "

The object key.

" } }, + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", + "traits": { + "smithy.api#documentation": "

Version ID of an object.

" + } + }, "IsLatest": { "target": "com.amazonaws.s3#IsLatest", "traits": { - "smithy.api#documentation": "

Specifies whether the object is (true) or is not (false) the latest version of an object.

" + "smithy.api#documentation": "

Specifies whether the object is (true) or is not (false) the latest version of an\n object.

" } }, - "Owner": { - "target": "com.amazonaws.s3#Owner", + "LastModified": { + "target": "com.amazonaws.s3#LastModified", "traits": { - "smithy.api#documentation": "

The account that created the delete marker.>

" + "smithy.api#documentation": "

Date and time the object was last modified.

" } } }, @@ -2713,12 +2774,12 @@ "Status": { "target": "com.amazonaws.s3#DeleteMarkerReplicationStatus", "traits": { - "smithy.api#documentation": "

Indicates whether to replicate delete markers.

\n \n

In the current implementation, Amazon S3 doesn't replicate the delete markers. The status\n must be Disabled.

\n
" + "smithy.api#documentation": "

Indicates whether to replicate delete markers.

\n \n

Indicates whether to replicate delete markers.

\n
" } } }, "traits": { - "smithy.api#documentation": "

Specifies whether Amazon S3 replicates the delete markers. If you specify a Filter, you must specify this element. However, in the latest version of replication configuration (when Filter is specified), Amazon S3 doesn't replicate delete markers. Therefore, the DeleteMarkerReplication element can contain only Disabled. For an example configuration, see Basic Rule Configuration.\n

\n \n \n

If you don't specify the Filter element, Amazon S3 assumes that the replication\n configuration is the earlier version, V1. In the earlier version, Amazon S3 handled\n replication of delete markers differently. For more information, see Backward Compatibility.

\n
" + "smithy.api#documentation": "

Specifies whether Amazon S3 replicates delete markers. If you specify a Filter\n in your replication configuration, you must also include a\n DeleteMarkerReplication element. If your Filter includes a\n Tag element, the DeleteMarkerReplication\n Status must be set to Disabled, because Amazon S3 does not support replicating\n delete markers for tag-based rules. For an example configuration, see Basic\n Rule Configuration.

\n

For more information about delete marker replication, see Basic Rule Configuration.

\n \n

If you are using an earlier version of the replication configuration, Amazon S3 handles\n replication of delete markers differently. For more information, see Backward Compatibility.

\n
" } }, "com.amazonaws.s3#DeleteMarkerReplicationStatus": { @@ -2752,7 +2813,7 @@ "target": "com.amazonaws.s3#DeleteObjectOutput" }, "traits": { - "smithy.api#documentation": "

Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects.

\n \n

To remove a specific version, you must be the bucket owner and you must use the version\n Id subresource. Using this subresource permanently deletes the version. If the object\n deleted is a delete marker, Amazon S3 sets the response header,\n x-amz-delete-marker, to true.

\n \n

If the object you want to delete is in a bucket where the bucket versioning\n configuration is MFA Delete enabled, you must include the x-amz-mfa request\n header in the DELETE versionId request. Requests that include\n x-amz-mfa must use HTTPS.

\n \n

For more information about MFA Delete, see Using MFA Delete. To see sample requests that use versioning, see Sample Request.

\n \n

You can delete objects by explicitly calling the DELETE Object API or configure its\n lifecycle (PutBucketLifecycle) to enable Amazon S3 to remove them for\n you. If you want to block users or accounts from removing or deleting objects from your\n bucket, you must deny them the s3:DeleteObject,\n s3:DeleteObjectVersion, and s3:PutLifeCycleConfiguration\n actions.

\n \n

The following operation is related to DeleteObject:

\n ", + "smithy.api#documentation": "

Removes the null version (if there is one) of an object and inserts a delete marker,\n which becomes the latest version of the object. If there isn't a null version, Amazon S3 does\n not remove any objects.

\n\n

To remove a specific version, you must be the bucket owner and you must use the version\n Id subresource. Using this subresource permanently deletes the version. If the object\n deleted is a delete marker, Amazon S3 sets the response header,\n x-amz-delete-marker, to true.

\n\n

If the object you want to delete is in a bucket where the bucket versioning\n configuration is MFA Delete enabled, you must include the x-amz-mfa request\n header in the DELETE versionId request. Requests that include\n x-amz-mfa must use HTTPS.

\n\n

For more information about MFA Delete, see Using MFA Delete. To see sample requests that use versioning, see Sample Request.

\n\n

You can delete objects by explicitly calling the DELETE Object API or configure its\n lifecycle (PutBucketLifecycle) to\n enable Amazon S3 to remove them for you. If you want to block users or accounts from removing or\n deleting objects from your bucket, you must deny them the s3:DeleteObject,\n s3:DeleteObjectVersion, and s3:PutLifeCycleConfiguration\n actions.

\n\n

The following operation is related to DeleteObject:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}/{Key+}?x-id=DeleteObject", @@ -2766,22 +2827,22 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { - "smithy.api#documentation": "

Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker.

", + "smithy.api#documentation": "

Specifies whether the versioned object that was permanently deleted was (true) or was\n not (false) a delete marker.

", "smithy.api#httpHeader": "x-amz-delete-marker" } }, - "RequestCharged": { - "target": "com.amazonaws.s3#RequestCharged", - "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" - } - }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { - "smithy.api#documentation": "

Returns the version ID of the delete marker created as a result of the DELETE operation.

", + "smithy.api#documentation": "

Returns the version ID of the delete marker created as a result of the DELETE\n operation.

", "smithy.api#httpHeader": "x-amz-version-id" } + }, + "RequestCharged": { + "target": "com.amazonaws.s3#RequestCharged", + "traits": { + "smithy.api#httpHeader": "x-amz-request-charged" + } } } }, @@ -2796,18 +2857,19 @@ "smithy.api#required": {} } }, - "MFA": { - "target": "com.amazonaws.s3#MFA", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

The concatenation of the authentication device's serial number, a space, and the value that is\n displayed on your authentication device. Required to permanently delete a versioned object\n if versioning is configured with MFA delete enabled.

", - "smithy.api#httpHeader": "x-amz-mfa" + "smithy.api#documentation": "

Key name of the object to delete.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "MFA": { + "target": "com.amazonaws.s3#MFA", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

The concatenation of the authentication device's serial number, a space, and the value\n that is displayed on your authentication device. Required to permanently delete a versioned\n object if versioning is configured with MFA delete enabled.

", + "smithy.api#httpHeader": "x-amz-mfa" } }, "VersionId": { @@ -2817,25 +2879,24 @@ "smithy.api#httpQuery": "versionId" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

Key name of the object to delete.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#httpHeader": "x-amz-request-payer" } }, "BypassGovernanceRetention": { "target": "com.amazonaws.s3#BypassGovernanceRetention", "traits": { - "smithy.api#documentation": "

Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process this operation.

", + "smithy.api#documentation": "

Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process\n this operation.

", "smithy.api#httpHeader": "x-amz-bypass-governance-retention" } }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -2849,7 +2910,7 @@ "target": "com.amazonaws.s3#DeleteObjectTaggingOutput" }, "traits": { - "smithy.api#documentation": "

Removes the entire tag set from the specified object. For more information about \n managing object tags, see \n Object Tagging.

\n \n

To use this operation, you must have permission to perform the\n s3:DeleteObjectTagging action.

\n \n

To delete tags of a specific object version, add the versionId query\n parameter in the request. You will need permission for the\n s3:DeleteObjectVersionTagging action.

\n \n

The following operations are related to\n DeleteBucketMetricsConfiguration:

\n ", + "smithy.api#documentation": "

Removes the entire tag set from the specified object. For more information about\n managing object tags, see Object\n Tagging.

\n\n

To use this operation, you must have permission to perform the\n s3:DeleteObjectTagging action.

\n\n

To delete tags of a specific object version, add the versionId query\n parameter in the request. You will need permission for the\n s3:DeleteObjectVersionTagging action.

\n\n

The following operations are related to\n DeleteBucketMetricsConfiguration:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}/{Key+}?tagging", @@ -2888,19 +2949,19 @@ "smithy.api#required": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "

The versionId of the object that the tag-set will be removed from.

", "smithy.api#httpQuery": "versionId" } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -2913,7 +2974,7 @@ "target": "com.amazonaws.s3#DeleteObjectsOutput" }, "traits": { - "smithy.api#documentation": "

This operation enables you to delete multiple objects from a bucket using a single HTTP request. If you know the object keys that you want to delete, then this operation provides a suitable alternative to sending individual delete requests, reducing per-request overhead.

\n \n

The request contains a list of up to 1000 keys that you want to delete. In the XML, you\n provide the object key names, and optionally, version IDs if you want to delete a specific\n version of the object from a versioning-enabled bucket. For each key, Amazon S3 performs a\n delete operation and returns the result of that delete, success, or failure, in the\n response. Note that if the object specified in the request is not found, Amazon S3 returns\n the result as deleted.

\n \n

The operation supports two modes for the response: verbose and quiet. By default, the\n operation uses verbose mode in which the response includes the result of deletion of each\n key in your request. In quiet mode the response includes only keys where the delete\n operation encountered an error. For a successful deletion, the operation does not return\n any information about the delete in the response body.

\n \n

When performing this operation on an MFA Delete enabled bucket, that attempts to delete\n any versioned objects, you must include an MFA token. If you do not provide one, the entire\n request will fail, even if there are non-versioned objects you are trying to delete. If you\n provide an invalid token, whether there are versioned keys in the request or not, the\n entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA Delete.

\n \n

Finally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon\n S3 uses the header value to ensure that your request body has not been altered in\n transit.

\n \n

The following operations are related to DeleteObjects:

\n ", + "smithy.api#documentation": "

This operation enables you to delete multiple objects from a bucket using a single HTTP\n request. If you know the object keys that you want to delete, then this operation provides\n a suitable alternative to sending individual delete requests, reducing per-request\n overhead.

\n\n

The request contains a list of up to 1000 keys that you want to delete. In the XML, you\n provide the object key names, and optionally, version IDs if you want to delete a specific\n version of the object from a versioning-enabled bucket. For each key, Amazon S3 performs a\n delete operation and returns the result of that delete, success, or failure, in the\n response. Note that if the object specified in the request is not found, Amazon S3 returns the\n result as deleted.

\n\n

The operation supports two modes for the response: verbose and quiet. By default, the\n operation uses verbose mode in which the response includes the result of deletion of each\n key in your request. In quiet mode the response includes only keys where the delete\n operation encountered an error. For a successful deletion, the operation does not return\n any information about the delete in the response body.

\n\n

When performing this operation on an MFA Delete enabled bucket, that attempts to delete\n any versioned objects, you must include an MFA token. If you do not provide one, the entire\n request will fail, even if there are non-versioned objects you are trying to delete. If you\n provide an invalid token, whether there are versioned keys in the request or not, the\n entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA\n Delete.

\n\n

Finally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon\n S3 uses the header value to ensure that your request body has not been altered in\n transit.

\n\n

The following operations are related to DeleteObjects:

\n ", "smithy.api#http": { "method": "POST", "uri": "/{Bucket}?delete", @@ -2925,18 +2986,10 @@ "com.amazonaws.s3#DeleteObjectsOutput": { "type": "structure", "members": { - "Errors": { - "target": "com.amazonaws.s3#Errors", - "traits": { - "smithy.api#documentation": "

Container for a failed delete operation that describes the object that Amazon S3 attempted to delete and the error it encountered.

", - "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "Error" - } - }, "Deleted": { "target": "com.amazonaws.s3#DeletedObjects", "traits": { - "smithy.api#documentation": "

Container element for a successful delete. It identifies the object that was successfully deleted.

", + "smithy.api#documentation": "

Container element for a successful delete. It identifies the object that was\n successfully deleted.

", "smithy.api#xmlFlattened": {} } }, @@ -2945,23 +2998,53 @@ "traits": { "smithy.api#httpHeader": "x-amz-request-charged" } + }, + "Errors": { + "target": "com.amazonaws.s3#Errors", + "traits": { + "smithy.api#documentation": "

Container for a failed delete operation that describes the object that Amazon S3 attempted to\n delete and the error it encountered.

", + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "Error" + } } } }, "com.amazonaws.s3#DeleteObjectsRequest": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The bucket name containing the objects to delete.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Delete": { + "target": "com.amazonaws.s3#Delete", + "traits": { + "smithy.api#documentation": "

Container for the request.

", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + }, "MFA": { "target": "com.amazonaws.s3#MFA", "traits": { - "smithy.api#documentation": "

The concatenation of the authentication device's serial number, a space, and the value that is\n displayed on your authentication device. Required to permanently delete a versioned object\n if versioning is configured with MFA delete enabled.

", + "smithy.api#documentation": "

The concatenation of the authentication device's serial number, a space, and the value\n that is displayed on your authentication device. Required to permanently delete a versioned\n object if versioning is configured with MFA delete enabled.

", "smithy.api#httpHeader": "x-amz-mfa" } }, + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", + "traits": { + "smithy.api#httpHeader": "x-amz-request-payer" + } + }, "BypassGovernanceRetention": { "target": "com.amazonaws.s3#BypassGovernanceRetention", "traits": { - "smithy.api#documentation": "

Specifies whether you want to delete this object even if it has a Governance-type Object Lock in place. You must have sufficient permissions to perform this operation.

", + "smithy.api#documentation": "

Specifies whether you want to delete this object even if it has a Governance-type Object\n Lock in place. You must have sufficient permissions to perform this operation.

", "smithy.api#httpHeader": "x-amz-bypass-governance-retention" } }, @@ -2971,28 +3054,6 @@ "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } - }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", - "traits": { - "smithy.api#documentation": "

The bucket name containing the objects to delete.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", - "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" - } - }, - "Delete": { - "target": "com.amazonaws.s3#Delete", - "traits": { - "smithy.api#documentation": "

Container for the request.

", - "smithy.api#httpPayload": {}, - "smithy.api#required": {} - } } } }, @@ -3002,7 +3063,7 @@ "target": "com.amazonaws.s3#DeletePublicAccessBlockRequest" }, "traits": { - "smithy.api#documentation": "

Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use this operation, you must have the s3:PutBucketPublicAccessBlock permission. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

The following operations are related to DeletePublicAccessBlock:

\n ", + "smithy.api#documentation": "

Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketPublicAccessBlock permission. For\n more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

The following operations are related to DeletePublicAccessBlock:

\n ", "smithy.api#http": { "method": "DELETE", "uri": "/{Bucket}?publicAccessBlock", @@ -3013,32 +3074,26 @@ "com.amazonaws.s3#DeletePublicAccessBlockRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket whose PublicAccessBlock configuration you want to\n delete.

", + "smithy.api#documentation": "

The Amazon S3 bucket whose PublicAccessBlock configuration you want to delete.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, "com.amazonaws.s3#DeletedObject": { "type": "structure", "members": { - "DeleteMarker": { - "target": "com.amazonaws.s3#DeleteMarker", - "traits": { - "smithy.api#documentation": "

Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or not (false) a delete marker was created.

" - } - }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { @@ -3051,10 +3106,16 @@ "smithy.api#documentation": "

The version ID of the deleted object.

" } }, + "DeleteMarker": { + "target": "com.amazonaws.s3#DeleteMarker", + "traits": { + "smithy.api#documentation": "

Specifies whether the versioned object that was permanently deleted was (true) or was\n not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or\n not (false) a delete marker was created.

" + } + }, "DeleteMarkerVersionId": { "target": "com.amazonaws.s3#DeleteMarkerVersionId", "traits": { - "smithy.api#documentation": "

The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.

" + "smithy.api#documentation": "

The version ID of the delete marker created as a result of the DELETE operation. If you\n delete a specific object version, the value returned by this header is the version ID of\n the object version deleted.

" } } }, @@ -3077,52 +3138,52 @@ "com.amazonaws.s3#Destination": { "type": "structure", "members": { - "EncryptionConfiguration": { - "target": "com.amazonaws.s3#EncryptionConfiguration", - "traits": { - "smithy.api#documentation": "

A container that provides information about encryption. If\n SourceSelectionCriteria is specified, you must specify this element.

" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the\n results.

", "smithy.api#required": {} } }, "Account": { "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3\n to change replica ownership to the AWS account that owns the destination bucket by\n specifying the AccessControlTranslation property, this is the account ID of\n the destination bucket owner. For more information, see Replication Additional\n Configuration: Changing the Replica Owner in the Amazon Simple Storage\n Service Developer Guide.

" + "smithy.api#documentation": "

Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to\n change replica ownership to the AWS account that owns the destination bucket by specifying\n the AccessControlTranslation property, this is the account ID of the\n destination bucket owner. For more information, see Replication Additional\n Configuration: Changing the Replica Owner in the Amazon Simple Storage\n Service Developer Guide.

" } }, "StorageClass": { "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "

\n The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica.\n

\n

For valid values, see the StorageClass element of the\n PUT Bucket\n replication action in the Amazon Simple Storage Service API Reference.

" + "smithy.api#documentation": "

The storage class to use when replicating objects, such as S3 Standard or reduced\n redundancy. By default, Amazon S3 uses the storage class of the source object to create the\n object replica.

\n

For valid values, see the StorageClass element of the PUT Bucket\n replication action in the Amazon Simple Storage Service API Reference.

" } }, - "Metrics": { - "target": "com.amazonaws.s3#Metrics", + "AccessControlTranslation": { + "target": "com.amazonaws.s3#AccessControlTranslation", "traits": { - "smithy.api#documentation": "

\n A container specifying replication metrics-related settings enabling metrics and Amazon S3 events for S3 Replication Time Control (S3 RTC). \n Must be specified together with a ReplicationTime block.\n

" + "smithy.api#documentation": "

Specify this only in a cross-account scenario (where source and destination bucket\n owners are not the same), and you want to change replica ownership to the AWS account that\n owns the destination bucket. If this is not specified in the replication configuration, the\n replicas are owned by same AWS account that owns the source object.

" } }, - "AccessControlTranslation": { - "target": "com.amazonaws.s3#AccessControlTranslation", + "EncryptionConfiguration": { + "target": "com.amazonaws.s3#EncryptionConfiguration", "traits": { - "smithy.api#documentation": "

Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object.

" + "smithy.api#documentation": "

A container that provides information about encryption. If\n SourceSelectionCriteria is specified, you must specify this element.

" } }, "ReplicationTime": { "target": "com.amazonaws.s3#ReplicationTime", "traits": { - "smithy.api#documentation": "

\n A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. \n Must be specified together with a Metrics block.\n

" + "smithy.api#documentation": "

A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time\n when all objects and operations on objects must be replicated. Must be specified together\n with a Metrics block.

" + } + }, + "Metrics": { + "target": "com.amazonaws.s3#Metrics", + "traits": { + "smithy.api#documentation": "

A container specifying replication metrics-related settings enabling replication\n metrics and events.

" } } }, "traits": { - "smithy.api#documentation": "

Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket\n and S3 Replication Time Control (S3 RTC).

" + "smithy.api#documentation": "

Specifies information about where to publish analysis or configuration results for an\n Amazon S3 bucket and S3 Replication Time Control (S3 RTC).

" } }, "com.amazonaws.s3#DisplayName": { @@ -3140,7 +3201,7 @@ "com.amazonaws.s3#EncodingType": { "type": "string", "traits": { - "smithy.api#documentation": "

Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.

", + "smithy.api#documentation": "

Requests Amazon S3 to encode the object keys in the response and specifies the encoding\n method to use. An object key may contain any Unicode character; however, XML 1.0 parser\n cannot parse some characters, such as characters with an ASCII value from 0 to 10. For\n characters that are not supported in XML 1.0, you can add this parameter to request that\n Amazon S3 encode the keys in the response.

", "smithy.api#enum": [ { "value": "url" @@ -3151,23 +3212,23 @@ "com.amazonaws.s3#Encryption": { "type": "structure", "members": { + "EncryptionType": { + "target": "com.amazonaws.s3#ServerSideEncryption", + "traits": { + "smithy.api#documentation": "

The server-side encryption algorithm used when storing job results in Amazon S3 (for example,\n AES256, aws:kms).

", + "smithy.api#required": {} + } + }, "KMSKeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

If the encryption type is aws:kms, this optional value specifies the ID of the symmetric customer managed AWS KMS CMK\n to use for encryption of job results. Amazon S3 only supports symmetric CMKs. For more information, see Using Symmetric and Asymmetric Keys in the AWS Key Management Service Developer Guide.

" + "smithy.api#documentation": "

If the encryption type is aws:kms, this optional value specifies the ID of\n the symmetric customer managed AWS KMS CMK to use for encryption of job results. Amazon S3 only\n supports symmetric CMKs. For more information, see Using Symmetric and\n Asymmetric Keys in the AWS Key Management Service Developer\n Guide.

" } }, "KMSContext": { "target": "com.amazonaws.s3#KMSContext", "traits": { - "smithy.api#documentation": "

If the encryption type is aws:kms, this optional value can be used to specify the\n encryption context for the restore results.

" - } - }, - "EncryptionType": { - "target": "com.amazonaws.s3#ServerSideEncryption", - "traits": { - "smithy.api#documentation": "

The server-side encryption algorithm used when storing job results in Amazon S3 (for example,\n AES256, aws:kms).

", - "smithy.api#required": {} + "smithy.api#documentation": "

If the encryption type is aws:kms, this optional value can be used to\n specify the encryption context for the restore results.

" } } }, @@ -3181,12 +3242,12 @@ "ReplicaKmsKeyID": { "target": "com.amazonaws.s3#ReplicaKmsKeyID", "traits": { - "smithy.api#documentation": "

Specifies the ID (Key ARN or Alias ARN) of the customer managed customer master key (CMK) stored in AWS Key Management Service (KMS) for the destination bucket. Amazon\n S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric customer managed CMKs. For more information, see Using Symmetric and Asymmetric Keys in the AWS Key Management Service Developer Guide.

" + "smithy.api#documentation": "

Specifies the ID (Key ARN or Alias ARN) of the customer managed customer master key\n (CMK) stored in AWS Key Management Service (KMS) for the destination bucket. Amazon S3 uses\n this key to encrypt replica objects. Amazon S3 only supports symmetric customer managed CMKs.\n For more information, see Using Symmetric and\n Asymmetric Keys in the AWS Key Management Service Developer\n Guide.

" } } }, "traits": { - "smithy.api#documentation": "

Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.

" + "smithy.api#documentation": "

Specifies encryption-related information for an Amazon S3 bucket that is a destination for\n replicated objects.

" } }, "com.amazonaws.s3#End": { @@ -3196,24 +3257,12 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

A message that indicates the request is complete and no more messages will be sent. You should not assume that the request is complete until the client receives an EndEvent.

" + "smithy.api#documentation": "

A message that indicates the request is complete and no more messages will be sent. You\n should not assume that the request is complete until the client receives an\n EndEvent.

" } }, "com.amazonaws.s3#Error": { "type": "structure", "members": { - "Message": { - "target": "com.amazonaws.s3#Message", - "traits": { - "smithy.api#documentation": "

The error message contains a generic description of the error condition in English. It is intended for a human audience. Simple programs display the message directly to the end user if they encounter an error condition they don't know how or don't care to handle. Sophisticated programs with more exhaustive error handling and proper internationalization are more likely to ignore the error message.

" - } - }, - "Code": { - "target": "com.amazonaws.s3#Code", - "traits": { - "smithy.api#documentation": "

The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type.

\n

\n Amazon S3 error codes\n

\n \n

" - } - }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { @@ -3225,6 +3274,18 @@ "traits": { "smithy.api#documentation": "

The version ID of the error.

" } + }, + "Code": { + "target": "com.amazonaws.s3#Code", + "traits": { + "smithy.api#documentation": "

The error code is a string that uniquely identifies an error condition. It is meant to\n be read and understood by programs that detect and handle errors by type.

\n

\n Amazon S3 error codes\n

\n \n

" + } + }, + "Message": { + "target": "com.amazonaws.s3#Message", + "traits": { + "smithy.api#documentation": "

The error message contains a generic description of the error condition in English. It\n is intended for a human audience. Simple programs display the message directly to the end\n user if they encounter an error condition they don't know how or don't care to handle.\n Sophisticated programs with more exhaustive error handling and proper internationalization\n are more likely to ignore the error message.

" + } } }, "traits": { @@ -3329,7 +3390,7 @@ } }, "traits": { - "smithy.api#documentation": "

Optional configuration to replicate existing source bucket objects. For more\n information, see Replicating Existing Objects in the Amazon S3 Developer\n Guide.

" + "smithy.api#documentation": "

Optional configuration to replicate existing source bucket objects. For more\n information, see Replicating Existing Objects in the Amazon S3 Developer Guide.\n

" } }, "com.amazonaws.s3#ExistingObjectReplicationStatus": { @@ -3420,7 +3481,7 @@ "Name": { "target": "com.amazonaws.s3#FilterRuleName", "traits": { - "smithy.api#documentation": "

The object key name prefix or suffix identifying one or more objects to which the filtering\n rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes\n are not supported. For more information, see Configuring Event Notifications in\n the Amazon Simple Storage Service Developer Guide.

" + "smithy.api#documentation": "

The object key name prefix or suffix identifying one or more objects to which the\n filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and\n suffixes are not supported. For more information, see Configuring Event Notifications\n in the Amazon Simple Storage Service Developer Guide.

" } }, "Value": { @@ -3431,7 +3492,7 @@ } }, "traits": { - "smithy.api#documentation": "

Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or prefix of the key name.

" + "smithy.api#documentation": "

Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or\n prefix of the key name.

" } }, "com.amazonaws.s3#FilterRuleList": { @@ -3468,7 +3529,7 @@ "target": "com.amazonaws.s3#GetBucketAccelerateConfigurationOutput" }, "traits": { - "smithy.api#documentation": "

This implementation of the GET operation uses the accelerate subresource to return the Transfer Acceleration \n state of a bucket, which is either Enabled or Suspended. Amazon S3 Transfer Acceleration is a bucket-level \n feature that enables you to perform faster data transfers to and from Amazon S3.

\n

To use this operation, you must have permission to perform the\n s3:GetAccelerateConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3\n Resources in the Amazon Simple Storage Service Developer Guide.

\n

You set the Transfer Acceleration state of an existing bucket to Enabled or Suspended by using \n the PutBucketAccelerateConfiguration operation.

\n

A GET accelerate request does not return a state value for a bucket that has\n no transfer acceleration state. A bucket has no Transfer Acceleration state if a state has\n never been set on the bucket.

\n \n

For more information about transfer acceleration, see Transfer Acceleration in the\n Amazon Simple Storage Service Developer Guide.

\n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

This implementation of the GET operation uses the accelerate subresource to\n return the Transfer Acceleration state of a bucket, which is either Enabled or\n Suspended. Amazon S3 Transfer Acceleration is a bucket-level feature that\n enables you to perform faster data transfers to and from Amazon S3.

\n

To use this operation, you must have permission to perform the\n s3:GetAccelerateConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3\n Resources in the Amazon Simple Storage Service Developer Guide.

\n

You set the Transfer Acceleration state of an existing bucket to Enabled or\n Suspended by using the PutBucketAccelerateConfiguration operation.

\n

A GET accelerate request does not return a state value for a bucket that\n has no transfer acceleration state. A bucket has no Transfer Acceleration state if a state\n has never been set on the bucket.

\n \n

For more information about transfer acceleration, see Transfer Acceleration in the\n Amazon Simple Storage Service Developer Guide.

\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?accelerate", @@ -3490,13 +3551,6 @@ "com.amazonaws.s3#GetBucketAccelerateConfigurationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -3504,6 +3558,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -3516,7 +3577,7 @@ "target": "com.amazonaws.s3#GetBucketAclOutput" }, "traits": { - "smithy.api#documentation": "

This implementation of the GET operation uses the acl subresource to return the access control list (ACL) of a bucket. \n To use GET to return the ACL of the bucket, you must have READ_ACP access to the bucket. If READ_ACP \n permission is granted to the anonymous user, you can return the ACL of the bucket without using an authorization header.

\n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

This implementation of the GET operation uses the acl\n subresource to return the access control list (ACL) of a bucket. To use GET to\n return the ACL of the bucket, you must have READ_ACP access to the bucket. If\n READ_ACP permission is granted to the anonymous user, you can return the\n ACL of the bucket without using an authorization header.

\n \n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?acl", @@ -3545,13 +3606,6 @@ "com.amazonaws.s3#GetBucketAclRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -3559,6 +3613,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -3571,7 +3632,7 @@ "target": "com.amazonaws.s3#GetBucketAnalyticsConfigurationOutput" }, "traits": { - "smithy.api#documentation": "

This implementation of the GET operation returns an analytics configuration (identified by\n the analytics configuration ID) from the bucket.

\n

To use this operation, you must have permissions to perform the\n s3:GetAnalyticsConfiguration action. The bucket owner has this\n permission by default. The bucket owner can grant this permission to others. For more\n information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon Simple Storage Service Developer Guide.

\n

For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis in the\n Amazon Simple Storage Service Developer Guide.

\n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

This implementation of the GET operation returns an analytics configuration (identified\n by the analytics configuration ID) from the bucket.

\n

To use this operation, you must have permissions to perform the\n s3:GetAnalyticsConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon Simple Storage Service Developer Guide.

\n

For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?analytics&x-id=GetBucketAnalyticsConfiguration", @@ -3594,13 +3655,6 @@ "com.amazonaws.s3#GetBucketAnalyticsConfigurationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -3616,6 +3670,13 @@ "smithy.api#httpQuery": "id", "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -3628,7 +3689,7 @@ "target": "com.amazonaws.s3#GetBucketCorsOutput" }, "traits": { - "smithy.api#documentation": "

Returns the cors configuration information set for the bucket.

\n \n

To use this operation, you must have permission to perform the s3:GetBucketCORS action. By default, the bucket owner has this permission and can grant it to others.

\n \n

For more information about cors, see Enabling Cross-Origin\n Resource Sharing.

\n \n

The following operations are related to GetBucketCors:

\n ", + "smithy.api#documentation": "

Returns the cors configuration information set for the bucket.

\n\n

To use this operation, you must have permission to perform the s3:GetBucketCORS action.\n By default, the bucket owner has this permission and can grant it to others.

\n\n

For more information about cors, see Enabling\n Cross-Origin Resource Sharing.

\n\n

The following operations are related to GetBucketCors:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?cors", @@ -3642,7 +3703,7 @@ "CORSRules": { "target": "com.amazonaws.s3#CORSRules", "traits": { - "smithy.api#documentation": "

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

", + "smithy.api#documentation": "

A set of origins and methods (cross-origin access that you want to allow). You can add\n up to 100 rules to the configuration.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "CORSRule" } @@ -3678,7 +3739,7 @@ "target": "com.amazonaws.s3#GetBucketEncryptionOutput" }, "traits": { - "smithy.api#documentation": "

Returns the default encryption configuration for an Amazon S3 bucket. For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.

\n \n

To use this operation, you must have permission to perform the s3:GetEncryptionConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n

The following operations are related to GetBucketEncryption:

\n ", + "smithy.api#documentation": "

Returns the default encryption configuration for an Amazon S3 bucket. For information about\n the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.

\n\n

To use this operation, you must have permission to perform the\n s3:GetEncryptionConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n

The following operations are related to GetBucketEncryption:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?encryption", @@ -3700,20 +3761,70 @@ "com.amazonaws.s3#GetBucketEncryptionRequest": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The name of the bucket from which the server-side encryption configuration is\n retrieved.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } - }, + } + } + }, + "com.amazonaws.s3#GetBucketIntelligentTieringConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3#GetBucketIntelligentTieringConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.s3#GetBucketIntelligentTieringConfigurationOutput" + }, + "traits": { + "smithy.api#documentation": "

Gets the S3 Intelligent-Tiering configuration from the specified bucket.

\n

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. S3 Intelligent-Tiering delivers automatic cost savings by moving data between access tiers, when access patterns change.

\n

The S3 Intelligent-Tiering storage class is suitable for objects larger than 128 KB that you plan to store for at least 30 days. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the frequent access tier rates in the S3 Intelligent-Tiering storage class.

\n

If you delete an object before the end of the 30-day minimum storage duration period, you are charged for 30 days. For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

\n

Operations related to\n GetBucketIntelligentTieringConfiguration include:

\n ", + "smithy.api#http": { + "method": "GET", + "uri": "/{Bucket}?intelligent-tiering&x-id=GetBucketIntelligentTieringConfiguration", + "code": 200 + } + } + }, + "com.amazonaws.s3#GetBucketIntelligentTieringConfigurationOutput": { + "type": "structure", + "members": { + "IntelligentTieringConfiguration": { + "target": "com.amazonaws.s3#IntelligentTieringConfiguration", + "traits": { + "smithy.api#documentation": "

Container for S3 Intelligent-Tiering configuration.

", + "smithy.api#httpPayload": {} + } + } + } + }, + "com.amazonaws.s3#GetBucketIntelligentTieringConfigurationRequest": { + "type": "structure", + "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The name of the bucket from which the server-side encryption configuration is retrieved.

", + "smithy.api#documentation": "

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "Id": { + "target": "com.amazonaws.s3#IntelligentTieringId", + "traits": { + "smithy.api#documentation": "

The ID used to identify the S3 Intelligent-Tiering configuration.

", + "smithy.api#httpQuery": "id", + "smithy.api#required": {} + } } } }, @@ -3726,7 +3837,7 @@ "target": "com.amazonaws.s3#GetBucketInventoryConfigurationOutput" }, "traits": { - "smithy.api#documentation": "

Returns an inventory configuration (identified by the inventory configuration ID) from the bucket.

\n \n

To use this operation, you must have permissions to perform the s3:GetInventoryConfiguration action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.

\n \n

The following operations are related to GetBucketInventoryConfiguration:

\n ", + "smithy.api#documentation": "

Returns an inventory configuration (identified by the inventory configuration ID) from\n the bucket.

\n\n

To use this operation, you must have permissions to perform the\n s3:GetInventoryConfiguration action. The bucket owner has this permission\n by default and can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.

\n\n

The following operations are related to\n GetBucketInventoryConfiguration:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?inventory&x-id=GetBucketInventoryConfiguration", @@ -3749,13 +3860,6 @@ "com.amazonaws.s3#GetBucketInventoryConfigurationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -3771,6 +3875,13 @@ "smithy.api#httpQuery": "id", "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -3783,7 +3894,7 @@ "target": "com.amazonaws.s3#GetBucketLifecycleConfigurationOutput" }, "traits": { - "smithy.api#documentation": "\n

Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key\n name prefix, one or more object tags, or a combination of both. Accordingly, this\n section describes the latest API. The response describes the new filter element that you\n can use to specify a filter to select a subset of objects to which the rule applies. If\n you are using a previous version of the lifecycle configuration, it still works. For the\n earlier API description, see GetBucketLifecycle.

\n
\n

Returns the lifecycle configuration information set on the bucket. For information about lifecycle configuration, \n see Object Lifecycle Management.

\n \n

To use this operation, you must have permission to perform the s3:GetLifecycleConfiguration action. The bucket owner has this permission, by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

\n GetBucketLifecycleConfiguration has the following special error:

\n \n

The following operations are related to GetBucketLifecycleConfiguration:

\n ", + "smithy.api#documentation": "\n

Bucket lifecycle configuration now supports specifying a lifecycle rule using an\n object key name prefix, one or more object tags, or a combination of both. Accordingly,\n this section describes the latest API. The response describes the new filter element\n that you can use to specify a filter to select a subset of objects to which the rule\n applies. If you are using a previous version of the lifecycle configuration, it still\n works. For the earlier API description, see GetBucketLifecycle.

\n
\n

Returns the lifecycle configuration information set on the bucket. For information about\n lifecycle configuration, see Object\n Lifecycle Management.

\n\n

To use this operation, you must have permission to perform the\n s3:GetLifecycleConfiguration action. The bucket owner has this permission,\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

\n GetBucketLifecycleConfiguration has the following special error:

\n \n

The following operations are related to\n GetBucketLifecycleConfiguration:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?lifecycle", @@ -3833,7 +3944,7 @@ "target": "com.amazonaws.s3#GetBucketLocationOutput" }, "traits": { - "smithy.api#documentation": "

Returns the Region the bucket resides in. You set the bucket's Region using the\n LocationConstraint request parameter in a CreateBucket\n request. For more information, see CreateBucket.

\n \n

To use this implementation of the operation, you must be the bucket owner.

\n \n

The following operations are related to GetBucketLocation:

\n ", + "smithy.api#documentation": "

Returns the Region the bucket resides in. You set the bucket's Region using the\n LocationConstraint request parameter in a CreateBucket\n request. For more information, see CreateBucket.

\n\n

To use this implementation of the operation, you must be the bucket owner.

\n\n

The following operations are related to GetBucketLocation:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?location", @@ -3847,7 +3958,7 @@ "LocationConstraint": { "target": "com.amazonaws.s3#BucketLocationConstraint", "traits": { - "smithy.api#documentation": "

Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported\n location constraints by Region, see Regions and\n\t\t Endpoints. Buckets in Region us-east-1 have a LocationConstraint of null.

" + "smithy.api#documentation": "

Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported\n location constraints by Region, see Regions and Endpoints.\n Buckets in Region us-east-1 have a LocationConstraint of\n null.

" } } } @@ -3855,13 +3966,6 @@ "com.amazonaws.s3#GetBucketLocationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -3869,6 +3973,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -3881,7 +3992,7 @@ "target": "com.amazonaws.s3#GetBucketLoggingOutput" }, "traits": { - "smithy.api#documentation": "

Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.

\n \n

The following operations are related to GetBucketLogging:

\n ", + "smithy.api#documentation": "

Returns the logging status of a bucket and the permissions users have to view and modify\n that status. To use GET, you must be the bucket owner.

\n\n

The following operations are related to GetBucketLogging:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?logging", @@ -3926,7 +4037,7 @@ "target": "com.amazonaws.s3#GetBucketMetricsConfigurationOutput" }, "traits": { - "smithy.api#documentation": "

Gets a metrics configuration (specified by the metrics configuration ID) from the bucket. Note that this doesn't include the daily storage metrics.

\n \n

To use this operation, you must have permissions to perform the s3:GetMetricsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.

\n \n

The following operations are related to GetBucketMetricsConfiguration:

\n ", + "smithy.api#documentation": "

Gets a metrics configuration (specified by the metrics configuration ID) from the\n bucket. Note that this doesn't include the daily storage metrics.

\n\n

To use this operation, you must have permissions to perform the\n s3:GetMetricsConfiguration action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon\n CloudWatch.

\n\n

The following operations are related to\n GetBucketMetricsConfiguration:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?metrics&x-id=GetBucketMetricsConfiguration", @@ -3945,17 +4056,10 @@ } } } - }, - "com.amazonaws.s3#GetBucketMetricsConfigurationRequest": { - "type": "structure", - "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, + }, + "com.amazonaws.s3#GetBucketMetricsConfigurationRequest": { + "type": "structure", + "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -3971,6 +4075,13 @@ "smithy.api#httpQuery": "id", "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -3983,7 +4094,7 @@ "target": "com.amazonaws.s3#NotificationConfiguration" }, "traits": { - "smithy.api#documentation": "

Returns the notification configuration of a bucket.

\n

If notifications are not enabled on the bucket, the operation returns an empty NotificationConfiguration element.

\n \n

By default, you must be the bucket owner to read the notification configuration of a bucket. However, the bucket owner can use a bucket policy to grant permission to other users to read this configuration with the s3:GetBucketNotification permission.

\n \n

For more information about setting and reading the notification configuration on a bucket, see Setting Up Notification of Bucket Events. For more information about bucket policies, see Using Bucket Policies.

\n \n

The following operation is related to GetBucketNotification:

\n ", + "smithy.api#documentation": "

Returns the notification configuration of a bucket.

\n

If notifications are not enabled on the bucket, the operation returns an empty\n NotificationConfiguration element.

\n\n

By default, you must be the bucket owner to read the notification configuration of a\n bucket. However, the bucket owner can use a bucket policy to grant permission to other\n users to read this configuration with the s3:GetBucketNotification\n permission.

\n\n

For more information about setting and reading the notification configuration on a\n bucket, see Setting Up Notification of\n Bucket Events. For more information about bucket policies, see Using Bucket Policies.

\n\n

The following operation is related to GetBucketNotification:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?notification", @@ -3994,13 +4105,6 @@ "com.amazonaws.s3#GetBucketNotificationConfigurationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -4008,6 +4112,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -4054,6 +4165,7 @@ "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } @@ -4068,7 +4180,7 @@ "target": "com.amazonaws.s3#GetBucketPolicyOutput" }, "traits": { - "smithy.api#documentation": "

Returns the policy of a specified bucket. If you are using an identity other than the root user of the AWS account that owns the bucket, the calling identity must have the GetBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.

\n \n

If you don't have GetBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error.

\n \n \n

As a security precaution, the root user of the AWS account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.

\n
\n \n

For more information about bucket policies, see Using Bucket Policies and User Policies.

\n \n

The following operation is related to GetBucketPolicy:

\n ", + "smithy.api#documentation": "

Returns the policy of a specified bucket. If you are using an identity other than the\n root user of the AWS account that owns the bucket, the calling identity must have the\n GetBucketPolicy permissions on the specified bucket and belong to the\n bucket owner's account in order to use this operation.

\n\n

If you don't have GetBucketPolicy permissions, Amazon S3 returns a 403\n Access Denied error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed error.

\n\n \n

As a security precaution, the root user of the AWS account that owns a bucket can\n always use this operation, even if the policy explicitly denies the root user the\n ability to perform this action.

\n
\n\n

For more information about bucket policies, see Using Bucket Policies and User\n Policies.

\n\n

The following operation is related to GetBucketPolicy:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?policy", @@ -4116,7 +4228,7 @@ "target": "com.amazonaws.s3#GetBucketPolicyStatusOutput" }, "traits": { - "smithy.api#documentation": "

Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public. In order to use this operation, you must have the s3:GetBucketPolicyStatus permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

\n \n

For more information about when Amazon S3 considers a bucket public, see The Meaning of \"Public\".

\n \n

The following operations are related to GetBucketPolicyStatus:

\n ", + "smithy.api#documentation": "

Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public.\n In order to use this operation, you must have the s3:GetBucketPolicyStatus\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.

\n\n

For more information about when Amazon S3 considers a bucket public, see The Meaning of \"Public\".

\n\n

The following operations are related to GetBucketPolicyStatus:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?policyStatus", @@ -4139,13 +4251,6 @@ "com.amazonaws.s3#GetBucketPolicyStatusRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -4153,6 +4258,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -4165,7 +4277,7 @@ "target": "com.amazonaws.s3#GetBucketReplicationOutput" }, "traits": { - "smithy.api#documentation": "

Returns the replication configuration of a bucket.

\n \n

\n It can take a while to propagate the put or delete a replication configuration to all Amazon S3 systems. Therefore, \n a get request soon after put or delete can return a wrong result.\n

\n
\n

For information about replication configuration, see Replication in the Amazon Simple Storage Service Developer Guide.

\n \n

This operation requires permissions for the s3:GetReplicationConfiguration action. For more information about permissions, see Using Bucket Policies and User Policies.

\n \n

If you include the Filter element in a replication configuration, you must also include the DeleteMarkerReplication and Priority elements. The response also returns those elements.

\n \n

For information about GetBucketReplication errors, see List of replication-related error codes\n

\n \n \n

The following operations are related to GetBucketReplication:

\n ", + "smithy.api#documentation": "

Returns the replication configuration of a bucket.

\n \n

It can take a while to propagate the put or delete a replication configuration to\n all Amazon S3 systems. Therefore, a get request soon after put or delete can return a wrong\n result.

\n
\n

For information about replication configuration, see Replication in the\n Amazon Simple Storage Service Developer Guide.

\n\n

This operation requires permissions for the s3:GetReplicationConfiguration\n action. For more information about permissions, see Using Bucket Policies and User\n Policies.

\n\n

If you include the Filter element in a replication configuration, you must\n also include the DeleteMarkerReplication and Priority elements.\n The response also returns those elements.

\n\n

For information about GetBucketReplication errors, see List of\n replication-related error codes\n

\n\n\n

The following operations are related to GetBucketReplication:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?replication", @@ -4187,13 +4299,6 @@ "com.amazonaws.s3#GetBucketReplicationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -4201,6 +4306,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -4213,7 +4325,7 @@ "target": "com.amazonaws.s3#GetBucketRequestPaymentOutput" }, "traits": { - "smithy.api#documentation": "

Returns the request payment configuration of a bucket. \n To use this version of the operation, you must be the bucket owner. For more information, see \n Requester Pays Buckets.

\n \n

The following operations are related to GetBucketRequestPayment:

\n ", + "smithy.api#documentation": "

Returns the request payment configuration of a bucket. To use this version of the\n operation, you must be the bucket owner. For more information, see Requester Pays Buckets.

\n\n

The following operations are related to GetBucketRequestPayment:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?requestPayment", @@ -4261,7 +4373,7 @@ "target": "com.amazonaws.s3#GetBucketTaggingOutput" }, "traits": { - "smithy.api#documentation": "

Returns the tag set associated with the bucket.

\n

To use this operation, you must have permission to perform the s3:GetBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others.

\n \n

\n GetBucketTagging has the following special error:

\n \n \n

The following operations are related to GetBucketTagging:

\n ", + "smithy.api#documentation": "

Returns the tag set associated with the bucket.

\n

To use this operation, you must have permission to perform the\n s3:GetBucketTagging action. By default, the bucket owner has this\n permission and can grant this permission to others.

\n\n

\n GetBucketTagging has the following special error:

\n \n\n

The following operations are related to GetBucketTagging:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?tagging", @@ -4284,13 +4396,6 @@ "com.amazonaws.s3#GetBucketTaggingRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -4298,6 +4403,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -4310,7 +4422,7 @@ "target": "com.amazonaws.s3#GetBucketVersioningOutput" }, "traits": { - "smithy.api#documentation": "

Returns the versioning state of a bucket.

\n

To retrieve the versioning state of a bucket, you must be the bucket owner.

\n \n

This implementation also returns the MFA Delete status of the versioning state. If the\n MFA Delete status is enabled, the bucket owner must use an authentication\n device to change the versioning state of the bucket.

\n \n

The following operations are related to GetBucketVersioning:

\n ", + "smithy.api#documentation": "

Returns the versioning state of a bucket.

\n

To retrieve the versioning state of a bucket, you must be the bucket owner.

\n\n

This implementation also returns the MFA Delete status of the versioning state. If the\n MFA Delete status is enabled, the bucket owner must use an authentication\n device to change the versioning state of the bucket.

\n\n

The following operations are related to GetBucketVersioning:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?versioning", @@ -4330,7 +4442,7 @@ "MFADelete": { "target": "com.amazonaws.s3#MFADeleteStatus", "traits": { - "smithy.api#documentation": "

Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.

", + "smithy.api#documentation": "

Specifies whether MFA delete is enabled in the bucket versioning configuration. This\n element is only returned if the bucket has been configured with MFA delete. If the bucket\n has never been so configured, this element is not returned.

", "smithy.api#xmlName": "MfaDelete" } } @@ -4339,13 +4451,6 @@ "com.amazonaws.s3#GetBucketVersioningRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -4353,6 +4458,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -4365,7 +4477,7 @@ "target": "com.amazonaws.s3#GetBucketWebsiteOutput" }, "traits": { - "smithy.api#documentation": "

Returns the website configuration for a bucket. To host website on Amazon S3, you can configure a bucket as website by adding a website configuration. For more information about hosting websites, see Hosting Websites on Amazon S3.\n

\n

This GET operation requires the S3:GetBucketWebsite permission. By default, only the bucket owner can read the bucket website configuration. However, bucket owners can allow other users to read the website configuration by writing a bucket policy granting them the S3:GetBucketWebsite permission.

\n

The following operations are related to DeleteBucketWebsite:

\n ", + "smithy.api#documentation": "

Returns the website configuration for a bucket. To host website on Amazon S3, you can\n configure a bucket as website by adding a website configuration. For more information about\n hosting websites, see Hosting Websites on\n Amazon S3.

\n

This GET operation requires the S3:GetBucketWebsite permission. By default,\n only the bucket owner can read the bucket website configuration. However, bucket owners can\n allow other users to read the website configuration by writing a bucket policy granting\n them the S3:GetBucketWebsite permission.

\n

The following operations are related to DeleteBucketWebsite:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?website", @@ -4376,28 +4488,28 @@ "com.amazonaws.s3#GetBucketWebsiteOutput": { "type": "structure", "members": { - "ErrorDocument": { - "target": "com.amazonaws.s3#ErrorDocument", + "RedirectAllRequestsTo": { + "target": "com.amazonaws.s3#RedirectAllRequestsTo", "traits": { - "smithy.api#documentation": "

The object key name of the website error document to use for 4XX class errors.

" + "smithy.api#documentation": "

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3\n bucket.

" } }, - "RedirectAllRequestsTo": { - "target": "com.amazonaws.s3#RedirectAllRequestsTo", + "IndexDocument": { + "target": "com.amazonaws.s3#IndexDocument", "traits": { - "smithy.api#documentation": "

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

" + "smithy.api#documentation": "

The name of the index document for the website (for example\n index.html).

" } }, - "RoutingRules": { - "target": "com.amazonaws.s3#RoutingRules", + "ErrorDocument": { + "target": "com.amazonaws.s3#ErrorDocument", "traits": { - "smithy.api#documentation": "

Rules that define when a redirect is applied and the redirect behavior.

" + "smithy.api#documentation": "

The object key name of the website error document to use for 4XX class errors.

" } }, - "IndexDocument": { - "target": "com.amazonaws.s3#IndexDocument", + "RoutingRules": { + "target": "com.amazonaws.s3#RoutingRules", "traits": { - "smithy.api#documentation": "

The name of the index document for the website (for example index.html).

" + "smithy.api#documentation": "

Rules that define when a redirect is applied and the redirect behavior.

" } } } @@ -4405,13 +4517,6 @@ "com.amazonaws.s3#GetBucketWebsiteRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -4419,6 +4524,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -4431,12 +4543,15 @@ "target": "com.amazonaws.s3#GetObjectOutput" }, "errors": [ + { + "target": "com.amazonaws.s3#InvalidObjectState" + }, { "target": "com.amazonaws.s3#NoSuchKey" } ], "traits": { - "smithy.api#documentation": "

Retrieves objects from Amazon S3. To use GET, you must have READ access to the object. If you grant READ access to the anonymous user, you can return the object without using an authorization header.

\n \n

An Amazon S3 bucket has no directory hierarchy such as you would find in a typical computer file system. You can, however, create a logical hierarchy by using object key names that imply a folder structure. For example, instead of naming an object sample.jpg, you can name it photos/2006/February/sample.jpg.

\n \n

To get an object from such a logical hierarchy, specify the full key name for the object\n in the GET operation. For a virtual hosted-style request example, if you have\n the object photos/2006/February/sample.jpg, specify the resource as\n /photos/2006/February/sample.jpg. For a path-style request example, if you\n have the object photos/2006/February/sample.jpg in the bucket named\n examplebucket, specify the resource as\n /examplebucket/photos/2006/February/sample.jpg. For more information about\n request types, see HTTP Host Header Bucket Specification.

\n \n

To distribute large files to many people, you can save bandwidth costs by using BitTorrent. For more information, see Amazon S3 Torrent. For more information about returning the ACL of an object, see GetObjectAcl.

\n \n

If the object you are retrieving is stored in the GLACIER or DEEP_ARCHIVE storage classes, before you can retrieve the object you must first restore a copy using RestoreObject. Otherwise, this operation returns an InvalidObjectStateError error. For information about restoring archived objects, see Restoring Archived Objects.

\n \n

Encryption request headers, like x-amz-server-side-encryption, should not be sent for GET requests if your object uses server-side encryption with CMKs stored in AWS KMS (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest error.

\n

If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object, you must use the following headers:

\n \n

For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys).

\n \n

Assuming you have permission to read object tags (permission for the s3:GetObjectVersionTagging action), \n the response also returns the x-amz-tagging-count header that provides the count of number of tags associated with the object. \n You can use GetObjectTagging to retrieve the tag set associated with an object.

\n \n

\n Permissions\n

\n

You need the s3:GetObject permission for this operation. For more information, see Specifying Permissions in a Policy. If the object you request does not exist, the error Amazon S3 returns depends on whether you also have the s3:ListBucket permission.

\n \n \n \n

\n Versioning\n

\n

By default, the GET operation returns the current version of an object. To return a different version, use the versionId subresource.

\n \n \n

If the current version of the object is a delete marker, Amazon S3 behaves as if the object was deleted and includes x-amz-delete-marker: true in the response.

\n
\n \n \n

For more information about versioning, see PutBucketVersioning.

\n \n

\n Overriding Response Header Values\n

\n

There are times when you want to override certain response header values in a GET response. For example, you might override the Content-Disposition response header value in your GET request.

\n \n

You can override values for a set of response headers using the following query parameters. These response header values are sent only on a successful request, that is, when status code 200 OK is returned. The set of headers you can override using these parameters is a subset of the headers that Amazon S3 accepts when you create an object. The response headers that you can override for the GET response are Content-Type, Content-Language, Expires, Cache-Control, Content-Disposition, and Content-Encoding. To override these header values in the GET response, you use the following request parameters.

\n \n \n

You must sign the request, either using an Authorization header or a presigned URL, when using these parameters. They cannot be used with an unsigned (anonymous) request.

\n
\n \n \n

\n Additional Considerations about Request Headers\n

\n \n

If both of the If-Match and If-Unmodified-Since headers are present in the request as follows: If-Match condition evaluates to true, and; If-Unmodified-Since condition evaluates to false; then, S3 returns 200 OK and the data requested.

\n \n

If both of the If-None-Match and If-Modified-Since headers are present in the request as follows: If-None-Match condition evaluates to false, and; If-Modified-Since condition evaluates to true; then, S3 returns 304 Not Modified response code.

\n \n

For more information about conditional requests, see RFC 7232.

\n \n

The following operations are related to GetObject:

\n ", + "smithy.api#documentation": "

Retrieves objects from Amazon S3. To use GET, you must have READ\n access to the object. If you grant READ access to the anonymous user, you can\n return the object without using an authorization header.

\n\n

An Amazon S3 bucket has no directory hierarchy such as you would find in a typical computer\n file system. You can, however, create a logical hierarchy by using object key names that\n imply a folder structure. For example, instead of naming an object sample.jpg,\n you can name it photos/2006/February/sample.jpg.

\n\n

To get an object from such a logical hierarchy, specify the full key name for the object\n in the GET operation. For a virtual hosted-style request example, if you have\n the object photos/2006/February/sample.jpg, specify the resource as\n /photos/2006/February/sample.jpg. For a path-style request example, if you\n have the object photos/2006/February/sample.jpg in the bucket named\n examplebucket, specify the resource as\n /examplebucket/photos/2006/February/sample.jpg. For more information about\n request types, see HTTP Host Header Bucket Specification.

\n\n

To distribute large files to many people, you can save bandwidth costs by using\n BitTorrent. For more information, see Amazon S3\n Torrent. For more information about returning the ACL of an object, see GetObjectAcl.

\n\n

If the object you are retrieving is stored in the S3 Glacier, S3 Glacier Deep Archive,\n S3 Intelligent-Tiering Archive, or S3 Intelligent-Tiering Deep Archive storage classes, before you can retrieve\n the object you must first restore a copy using RestoreObject. Otherwise, this\n operation returns an InvalidObjectStateError error. For information about\n restoring archived objects, see Restoring\n Archived Objects.

\n\n

Encryption request headers, like x-amz-server-side-encryption, should not\n be sent for GET requests if your object uses server-side encryption with CMKs stored in AWS\n KMS (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your\n object does use these types of keys, you’ll get an HTTP 400 BadRequest error.

\n

If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,\n you must use the following headers:

\n \n

For more information about SSE-C, see Server-Side Encryption (Using\n Customer-Provided Encryption Keys).

\n\n

Assuming you have permission to read object tags (permission for the\n s3:GetObjectVersionTagging action), the response also returns the\n x-amz-tagging-count header that provides the count of number of tags\n associated with the object. You can use GetObjectTagging to retrieve\n the tag set associated with an object.

\n\n

\n Permissions\n

\n

You need the s3:GetObject permission for this operation. For more\n information, see Specifying Permissions\n in a Policy. If the object you request does not exist, the error Amazon S3 returns\n depends on whether you also have the s3:ListBucket permission.

\n \n\n\n

\n Versioning\n

\n

By default, the GET operation returns the current version of an object. To return a\n different version, use the versionId subresource.

\n\n \n

If the current version of the object is a delete marker, Amazon S3 behaves as if the\n object was deleted and includes x-amz-delete-marker: true in the\n response.

\n
\n\n\n

For more information about versioning, see PutBucketVersioning.

\n\n

\n Overriding Response Header Values\n

\n

There are times when you want to override certain response header values in a GET\n response. For example, you might override the Content-Disposition response header value in\n your GET request.

\n\n

You can override values for a set of response headers using the following query\n parameters. These response header values are sent only on a successful request, that is,\n when status code 200 OK is returned. The set of headers you can override using these\n parameters is a subset of the headers that Amazon S3 accepts when you create an object. The\n response headers that you can override for the GET response are Content-Type,\n Content-Language, Expires, Cache-Control,\n Content-Disposition, and Content-Encoding. To override these\n header values in the GET response, you use the following request parameters.

\n\n \n

You must sign the request, either using an Authorization header or a presigned URL,\n when using these parameters. They cannot be used with an unsigned (anonymous)\n request.

\n
\n \n\n

\n Additional Considerations about Request Headers\n

\n\n

If both of the If-Match and If-Unmodified-Since headers are\n present in the request as follows: If-Match condition evaluates to\n true, and; If-Unmodified-Since condition evaluates to\n false; then, S3 returns 200 OK and the data requested.

\n\n

If both of the If-None-Match and If-Modified-Since headers are\n present in the request as follows: If-None-Match condition evaluates to\n false, and; If-Modified-Since condition evaluates to\n true; then, S3 returns 304 Not Modified response code.

\n\n

For more information about conditional requests, see RFC 7232.

\n\n

The following operations are related to GetObject:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}/{Key+}?x-id=GetObject", @@ -4458,7 +4573,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the access control list (ACL) of an object. To use this operation, you must have\n READ_ACP access to the object.

\n

This action is not supported by Amazon S3 on Outposts.

\n \n

\n Versioning\n

\n

By default, GET returns ACL information about the current version of an object. To return ACL information about a different version, use the versionId subresource.

\n \n

The following operations are related to GetObjectAcl:

\n ", + "smithy.api#documentation": "

Returns the access control list (ACL) of an object. To use this operation, you must have\n READ_ACP access to the object.

\n

This action is not supported by Amazon S3 on Outposts.

\n

\n Versioning\n

\n

By default, GET returns ACL information about the current version of an object. To\n return ACL information about a different version, use the versionId subresource.

\n\n

The following operations are related to GetObjectAcl:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}/{Key+}?acl", @@ -4469,6 +4584,12 @@ "com.amazonaws.s3#GetObjectAclOutput": { "type": "structure", "members": { + "Owner": { + "target": "com.amazonaws.s3#Owner", + "traits": { + "smithy.api#documentation": "

Container for the bucket owner's display name and ID.

" + } + }, "Grants": { "target": "com.amazonaws.s3#Grants", "traits": { @@ -4476,12 +4597,6 @@ "smithy.api#xmlName": "AccessControlList" } }, - "Owner": { - "target": "com.amazonaws.s3#Owner", - "traits": { - "smithy.api#documentation": "

\t\n Container for the bucket owner's display name and ID.

" - } - }, "RequestCharged": { "target": "com.amazonaws.s3#RequestCharged", "traits": { @@ -4493,27 +4608,27 @@ "com.amazonaws.s3#GetObjectAclRequest": { "type": "structure", "members": { - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The key of the object for which to get the ACL information.

", + "smithy.api#documentation": "

The bucket name that contains the object for which to get the ACL information.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

The bucket name that contains the object for which to get the ACL information.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#documentation": "

The key of the object for which to get the ACL information.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

VersionId used to reference a specific version of the object.

", + "smithy.api#httpQuery": "versionId" } }, "RequestPayer": { @@ -4522,11 +4637,11 @@ "smithy.api#httpHeader": "x-amz-request-payer" } }, - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

VersionId used to reference a specific version of the object.

", - "smithy.api#httpQuery": "versionId" + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -4540,7 +4655,7 @@ "target": "com.amazonaws.s3#GetObjectLegalHoldOutput" }, "traits": { - "smithy.api#documentation": "

Gets an object's current Legal Hold\n status. For more information, see Locking Objects.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#documentation": "

Gets an object's current Legal Hold status. For more information, see Locking Objects.

\n

This action is not supported by Amazon S3 on Outposts.

", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}/{Key+}?legal-hold", @@ -4563,10 +4678,18 @@ "com.amazonaws.s3#GetObjectLegalHoldRequest": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The bucket name containing the object whose Legal Hold status you want to retrieve.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

The key name for the object whose Legal Hold\n status you want to retrieve.

", + "smithy.api#documentation": "

The key name for the object whose Legal Hold status you want to retrieve.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4578,14 +4701,6 @@ "smithy.api#httpQuery": "versionId" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", - "traits": { - "smithy.api#documentation": "

The bucket name containing the object whose Legal\n Hold status you want to retrieve.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { @@ -4610,7 +4725,7 @@ "target": "com.amazonaws.s3#GetObjectLockConfigurationOutput" }, "traits": { - "smithy.api#documentation": "

Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see Locking Objects.

", + "smithy.api#documentation": "

Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock\n configuration will be applied by default to every new object placed in the specified\n bucket. For more information, see Locking\n Objects.

", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?object-lock", @@ -4653,53 +4768,46 @@ "com.amazonaws.s3#GetObjectOutput": { "type": "structure", "members": { - "ObjectLockMode": { - "target": "com.amazonaws.s3#ObjectLockMode", - "traits": { - "smithy.api#documentation": "

The Object Lock mode currently in place for this object.

", - "smithy.api#httpHeader": "x-amz-object-lock-mode" - } - }, - "ContentLanguage": { - "target": "com.amazonaws.s3#ContentLanguage", + "Body": { + "target": "com.amazonaws.s3#StreamingBlob", "traits": { - "smithy.api#documentation": "

The language the content is in.

", - "smithy.api#httpHeader": "Content-Language" + "smithy.api#documentation": "

Object data.

", + "smithy.api#httpPayload": {} } }, - "ContentDisposition": { - "target": "com.amazonaws.s3#ContentDisposition", + "DeleteMarker": { + "target": "com.amazonaws.s3#DeleteMarker", "traits": { - "smithy.api#documentation": "

Specifies presentational information for the object.

", - "smithy.api#httpHeader": "Content-Disposition" + "smithy.api#documentation": "

Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If\n false, this response header does not appear in the response.

", + "smithy.api#httpHeader": "x-amz-delete-marker" } }, - "CacheControl": { - "target": "com.amazonaws.s3#CacheControl", + "AcceptRanges": { + "target": "com.amazonaws.s3#AcceptRanges", "traits": { - "smithy.api#documentation": "

Specifies caching behavior along the request/reply chain.

", - "smithy.api#httpHeader": "Cache-Control" + "smithy.api#documentation": "

Indicates that a range of bytes was specified.

", + "smithy.api#httpHeader": "accept-ranges" } }, - "ContentType": { - "target": "com.amazonaws.s3#ContentType", + "Expiration": { + "target": "com.amazonaws.s3#Expiration", "traits": { - "smithy.api#documentation": "

A standard MIME type describing the format of the object data.

", - "smithy.api#httpHeader": "Content-Type" + "smithy.api#documentation": "

If the object expiration is configured (see PUT Bucket lifecycle), the response includes\n this header. It includes the expiry-date and rule-id key-value pairs providing object\n expiration information. The value of the rule-id is URL encoded.

", + "smithy.api#httpHeader": "x-amz-expiration" } }, - "ContentRange": { - "target": "com.amazonaws.s3#ContentRange", + "Restore": { + "target": "com.amazonaws.s3#Restore", "traits": { - "smithy.api#documentation": "

The portion of the object returned in the response.

", - "smithy.api#httpHeader": "Content-Range" + "smithy.api#documentation": "

Provides information about object restoration operation and expiration time of the\n restored object copy.

", + "smithy.api#httpHeader": "x-amz-restore" } }, - "SSEKMSKeyId": { - "target": "com.amazonaws.s3#SSEKMSKeyId", + "LastModified": { + "target": "com.amazonaws.s3#LastModified", "traits": { - "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key\n (CMK) that was used for the object.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" + "smithy.api#documentation": "

Last modified date of the object

", + "smithy.api#httpHeader": "Last-Modified" } }, "ContentLength": { @@ -4709,59 +4817,80 @@ "smithy.api#httpHeader": "Content-Length" } }, - "ObjectLockRetainUntilDate": { - "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", + "ETag": { + "target": "com.amazonaws.s3#ETag", "traits": { - "smithy.api#documentation": "

The date and time when this object's Object Lock will expire.

", - "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" + "smithy.api#documentation": "

An ETag is an opaque identifier assigned by a web server to a specific version of a\n resource found at a URL.

", + "smithy.api#httpHeader": "ETag" } }, - "ObjectLockLegalHoldStatus": { - "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", + "MissingMeta": { + "target": "com.amazonaws.s3#MissingMeta", "traits": { - "smithy.api#documentation": "

Indicates whether this object has an active legal hold. This field is only returned if you have permission to view an object's legal hold status.

", - "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" + "smithy.api#documentation": "

This is set to the number of metadata entries not returned in x-amz-meta\n headers. This can happen if you create metadata using an API like SOAP that supports more\n flexible metadata than the REST API. For example, using SOAP, you can create metadata whose\n values are not legal HTTP headers.

", + "smithy.api#httpHeader": "x-amz-missing-meta" } }, - "Metadata": { - "target": "com.amazonaws.s3#Metadata", + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", + "traits": { + "smithy.api#documentation": "

Version of the object.

", + "smithy.api#httpHeader": "x-amz-version-id" + } + }, + "CacheControl": { + "target": "com.amazonaws.s3#CacheControl", + "traits": { + "smithy.api#documentation": "

Specifies caching behavior along the request/reply chain.

", + "smithy.api#httpHeader": "Cache-Control" + } + }, + "ContentDisposition": { + "target": "com.amazonaws.s3#ContentDisposition", + "traits": { + "smithy.api#documentation": "

Specifies presentational information for the object.

", + "smithy.api#httpHeader": "Content-Disposition" + } + }, + "ContentEncoding": { + "target": "com.amazonaws.s3#ContentEncoding", "traits": { - "smithy.api#documentation": "

A map of metadata to store with the object in S3.

", - "smithy.api#httpPrefixHeaders": "x-amz-meta-" + "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.

", + "smithy.api#httpHeader": "Content-Encoding" } }, - "DeleteMarker": { - "target": "com.amazonaws.s3#DeleteMarker", + "ContentLanguage": { + "target": "com.amazonaws.s3#ContentLanguage", "traits": { - "smithy.api#documentation": "

Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.

", - "smithy.api#httpHeader": "x-amz-delete-marker" + "smithy.api#documentation": "

The language the content is in.

", + "smithy.api#httpHeader": "Content-Language" } }, - "StorageClass": { - "target": "com.amazonaws.s3#StorageClass", + "ContentRange": { + "target": "com.amazonaws.s3#ContentRange", "traits": { - "smithy.api#documentation": "

Provides storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

", - "smithy.api#httpHeader": "x-amz-storage-class" + "smithy.api#documentation": "

The portion of the object returned in the response.

", + "smithy.api#httpHeader": "Content-Range" } }, - "ContentEncoding": { - "target": "com.amazonaws.s3#ContentEncoding", + "ContentType": { + "target": "com.amazonaws.s3#ContentType", "traits": { - "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

", - "smithy.api#httpHeader": "Content-Encoding" + "smithy.api#documentation": "

A standard MIME type describing the format of the object data.

", + "smithy.api#httpHeader": "Content-Type" } }, - "Restore": { - "target": "com.amazonaws.s3#Restore", + "Expires": { + "target": "com.amazonaws.s3#Expires", "traits": { - "smithy.api#documentation": "

Provides information about object restoration operation and expiration time of the restored object copy.

", - "smithy.api#httpHeader": "x-amz-restore" + "smithy.api#documentation": "

The date and time at which the object is no longer cacheable.

", + "smithy.api#httpHeader": "Expires" } }, "WebsiteRedirectLocation": { "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { - "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

", + "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata.

", "smithy.api#httpHeader": "x-amz-website-redirect-location" } }, @@ -4772,69 +4901,61 @@ "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, - "PartsCount": { - "target": "com.amazonaws.s3#PartsCount", + "Metadata": { + "target": "com.amazonaws.s3#Metadata", "traits": { - "smithy.api#documentation": "

The count of parts this object has.

", - "smithy.api#httpHeader": "x-amz-mp-parts-count" + "smithy.api#documentation": "

A map of metadata to store with the object in S3.

", + "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

", + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header confirming the encryption algorithm used.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "AcceptRanges": { - "target": "com.amazonaws.s3#AcceptRanges", - "traits": { - "smithy.api#documentation": "

Indicates that a range of bytes was specified.

", - "smithy.api#httpHeader": "accept-ranges" - } - }, - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", - "traits": { - "smithy.api#documentation": "

Version of the object.

", - "smithy.api#httpHeader": "x-amz-version-id" - } - }, - "Body": { - "target": "com.amazonaws.s3#StreamingBlob", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

Object data.

", - "smithy.api#httpPayload": {} + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide round-trip message integrity verification of\n the customer-provided encryption key.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "Expires": { - "target": "com.amazonaws.s3#Expires", + "SSEKMSKeyId": { + "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

The date and time at which the object is no longer cacheable.

", - "smithy.api#httpHeader": "Expires" + "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric\n customer managed customer master key (CMK) that was used for the object.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, - "Expiration": { - "target": "com.amazonaws.s3#Expiration", + "StorageClass": { + "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "

If the object expiration is configured (see PUT Bucket lifecycle), the response includes this\n header. It includes the expiry-date and rule-id key-value pairs providing object expiration\n information. The value of the rule-id is URL encoded.

", - "smithy.api#httpHeader": "x-amz-expiration" + "smithy.api#documentation": "

Provides storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.

", + "smithy.api#httpHeader": "x-amz-storage-class" } }, - "MissingMeta": { - "target": "com.amazonaws.s3#MissingMeta", + "RequestCharged": { + "target": "com.amazonaws.s3#RequestCharged", "traits": { - "smithy.api#documentation": "

This is set to the number of metadata entries not returned in x-amz-meta headers.\n This can happen if you create metadata using an API like SOAP that supports more flexible\n metadata than the REST API. For example, using SOAP, you can create metadata whose values\n are not legal HTTP headers.

", - "smithy.api#httpHeader": "x-amz-missing-meta" + "smithy.api#httpHeader": "x-amz-request-charged" } }, "ReplicationStatus": { "target": "com.amazonaws.s3#ReplicationStatus", "traits": { - "smithy.api#documentation": "

Amazon S3 can return this if your request involves a bucket that is either a source or destination in a replication rule.

", + "smithy.api#documentation": "

Amazon S3 can return this if your request involves a bucket that is either a source or\n destination in a replication rule.

", "smithy.api#httpHeader": "x-amz-replication-status" } }, + "PartsCount": { + "target": "com.amazonaws.s3#PartsCount", + "traits": { + "smithy.api#documentation": "

The count of parts this object has.

", + "smithy.api#httpHeader": "x-amz-mp-parts-count" + } + }, "TagCount": { "target": "com.amazonaws.s3#TagCount", "traits": { @@ -4842,31 +4963,25 @@ "smithy.api#httpHeader": "x-amz-tagging-count" } }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", - "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response\n will include this header to provide round-trip message integrity verification of the\n customer-provided encryption key.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" - } - }, - "LastModified": { - "target": "com.amazonaws.s3#LastModified", + "ObjectLockMode": { + "target": "com.amazonaws.s3#ObjectLockMode", "traits": { - "smithy.api#documentation": "

Last modified date of the object

", - "smithy.api#httpHeader": "Last-Modified" + "smithy.api#documentation": "

The Object Lock mode currently in place for this object.

", + "smithy.api#httpHeader": "x-amz-object-lock-mode" } }, - "ETag": { - "target": "com.amazonaws.s3#ETag", + "ObjectLockRetainUntilDate": { + "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", "traits": { - "smithy.api#documentation": "

An ETag is an opaque identifier assigned by a web server to a specific version of a resource\n found at a URL.

", - "smithy.api#httpHeader": "ETag" + "smithy.api#documentation": "

The date and time when this object's Object Lock will expire.

", + "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" } }, - "RequestCharged": { - "target": "com.amazonaws.s3#RequestCharged", + "ObjectLockLegalHoldStatus": { + "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" + "smithy.api#documentation": "

Indicates whether this object has an active legal hold. This field is only returned if\n you have permission to view an object's legal hold status.

", + "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" } } } @@ -4874,20 +4989,6 @@ "com.amazonaws.s3#GetObjectRequest": { "type": "structure", "members": { - "ResponseContentEncoding": { - "target": "com.amazonaws.s3#ResponseContentEncoding", - "traits": { - "smithy.api#documentation": "

Sets the Content-Encoding header of the response.

", - "smithy.api#httpQuery": "response-content-encoding" - } - }, - "SSECustomerKey": { - "target": "com.amazonaws.s3#SSECustomerKey", - "traits": { - "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -4896,24 +4997,32 @@ "smithy.api#required": {} } }, - "SSECustomerAlgorithm": { - "target": "com.amazonaws.s3#SSECustomerAlgorithm", + "IfMatch": { + "target": "com.amazonaws.s3#IfMatch", "traits": { - "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example, AES256).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" + "smithy.api#documentation": "

Return the object only if its entity tag (ETag) is the same as the one specified,\n otherwise return a 412 (precondition failed).

", + "smithy.api#httpHeader": "If-Match" } }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", + "IfModifiedSince": { + "target": "com.amazonaws.s3#IfModifiedSince", "traits": { - "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" + "smithy.api#documentation": "

Return the object only if it has been modified since the specified time, otherwise\n return a 304 (not modified).

", + "smithy.api#httpHeader": "If-Modified-Since" } }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "IfNoneMatch": { + "target": "com.amazonaws.s3#IfNoneMatch", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

Return the object only if its entity tag (ETag) is different from the one specified,\n otherwise return a 304 (not modified).

", + "smithy.api#httpHeader": "If-None-Match" + } + }, + "IfUnmodifiedSince": { + "target": "com.amazonaws.s3#IfUnmodifiedSince", + "traits": { + "smithy.api#documentation": "

Return the object only if it has not been modified since the specified time, otherwise\n return a 412 (precondition failed).

", + "smithy.api#httpHeader": "If-Unmodified-Since" } }, "Key": { @@ -4924,6 +5033,13 @@ "smithy.api#required": {} } }, + "Range": { + "target": "com.amazonaws.s3#Range", + "traits": { + "smithy.api#documentation": "

Downloads the specified range bytes of an object. For more information about the HTTP\n Range header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.

\n \n

Amazon S3 doesn't support retrieving multiple ranges of data per GET\n request.

\n
", + "smithy.api#httpHeader": "Range" + } + }, "ResponseCacheControl": { "target": "com.amazonaws.s3#ResponseCacheControl", "traits": { @@ -4931,20 +5047,6 @@ "smithy.api#httpQuery": "response-cache-control" } }, - "ResponseContentLanguage": { - "target": "com.amazonaws.s3#ResponseContentLanguage", - "traits": { - "smithy.api#documentation": "

Sets the Content-Language header of the response.

", - "smithy.api#httpQuery": "response-content-language" - } - }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "ResponseContentDisposition": { "target": "com.amazonaws.s3#ResponseContentDisposition", "traits": { @@ -4952,25 +5054,32 @@ "smithy.api#httpQuery": "response-content-disposition" } }, - "IfUnmodifiedSince": { - "target": "com.amazonaws.s3#IfUnmodifiedSince", + "ResponseContentEncoding": { + "target": "com.amazonaws.s3#ResponseContentEncoding", "traits": { - "smithy.api#documentation": "

Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).

", - "smithy.api#httpHeader": "If-Unmodified-Since" + "smithy.api#documentation": "

Sets the Content-Encoding header of the response.

", + "smithy.api#httpQuery": "response-content-encoding" } }, - "PartNumber": { - "target": "com.amazonaws.s3#PartNumber", + "ResponseContentLanguage": { + "target": "com.amazonaws.s3#ResponseContentLanguage", "traits": { - "smithy.api#documentation": "

Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' GET request for the part specified. Useful for downloading just a part of an object.

", - "smithy.api#httpQuery": "partNumber" + "smithy.api#documentation": "

Sets the Content-Language header of the response.

", + "smithy.api#httpQuery": "response-content-language" } }, - "IfModifiedSince": { - "target": "com.amazonaws.s3#IfModifiedSince", + "ResponseContentType": { + "target": "com.amazonaws.s3#ResponseContentType", "traits": { - "smithy.api#documentation": "

Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).

", - "smithy.api#httpHeader": "If-Modified-Since" + "smithy.api#documentation": "

Sets the Content-Type header of the response.

", + "smithy.api#httpQuery": "response-content-type" + } + }, + "ResponseExpires": { + "target": "com.amazonaws.s3#ResponseExpires", + "traits": { + "smithy.api#documentation": "

Sets the Expires header of the response.

", + "smithy.api#httpQuery": "response-expires" } }, "VersionId": { @@ -4980,39 +5089,45 @@ "smithy.api#httpQuery": "versionId" } }, - "IfNoneMatch": { - "target": "com.amazonaws.s3#IfNoneMatch", + "SSECustomerAlgorithm": { + "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).

", - "smithy.api#httpHeader": "If-None-Match" + "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example,\n AES256).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "IfMatch": { - "target": "com.amazonaws.s3#IfMatch", + "SSECustomerKey": { + "target": "com.amazonaws.s3#SSECustomerKey", "traits": { - "smithy.api#documentation": "

Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).

", - "smithy.api#httpHeader": "If-Match" + "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" } }, - "ResponseExpires": { - "target": "com.amazonaws.s3#ResponseExpires", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

Sets the Expires header of the response.

", - "smithy.api#httpQuery": "response-expires" + "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "Range": { - "target": "com.amazonaws.s3#Range", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

Downloads the specified range bytes of an object. For more information about the HTTP Range\n header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.

\n \n

Amazon S3 doesn't support retrieving multiple ranges of data per GET request.

\n
", - "smithy.api#httpHeader": "Range" + "smithy.api#httpHeader": "x-amz-request-payer" } }, - "ResponseContentType": { - "target": "com.amazonaws.s3#ResponseContentType", + "PartNumber": { + "target": "com.amazonaws.s3#PartNumber", "traits": { - "smithy.api#documentation": "

Sets the Content-Type header of the response.

", - "smithy.api#httpQuery": "response-content-type" + "smithy.api#documentation": "

Part number of the object being read. This is a positive integer between 1 and 10,000.\n Effectively performs a 'ranged' GET request for the part specified. Useful for downloading\n just a part of an object.

", + "smithy.api#httpQuery": "partNumber" + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -5046,21 +5161,15 @@ } } }, - "com.amazonaws.s3#GetObjectRetentionRequest": { - "type": "structure", - "members": { - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", - "traits": { - "smithy.api#documentation": "

The version ID for the object whose retention settings you want to retrieve.

", - "smithy.api#httpQuery": "versionId" - } - }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "com.amazonaws.s3#GetObjectRetentionRequest": { + "type": "structure", + "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

The bucket name containing the object whose retention settings you want to retrieve.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "Key": { @@ -5071,18 +5180,24 @@ "smithy.api#required": {} } }, + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", + "traits": { + "smithy.api#documentation": "

The version ID for the object whose retention settings you want to retrieve.

", + "smithy.api#httpQuery": "versionId" + } + }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

The bucket name containing the object whose retention settings you want to retrieve.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -5096,7 +5211,7 @@ "target": "com.amazonaws.s3#GetObjectTaggingOutput" }, "traits": { - "smithy.api#documentation": "

Returns the tag-set of an object. You send the GET request against the tagging subresource associated with the object.

\n \n

To use this operation, you must have permission to perform the s3:GetObjectTagging action. By default, the GET operation returns information about current version of an object. For a versioned bucket, you can have multiple versions of an object in your bucket. To retrieve tags of any other version, use the versionId query parameter. You also need permission for the s3:GetObjectVersionTagging action.

\n \n

By default, the bucket owner has this permission and can grant this permission to others.

\n \n

For information about the Amazon S3 object tagging feature, see Object Tagging.

\n \n

The following operation is related to GetObjectTagging:

\n ", + "smithy.api#documentation": "

Returns the tag-set of an object. You send the GET request against the tagging\n subresource associated with the object.

\n\n

To use this operation, you must have permission to perform the\n s3:GetObjectTagging action. By default, the GET operation returns\n information about current version of an object. For a versioned bucket, you can have\n multiple versions of an object in your bucket. To retrieve tags of any other version, use\n the versionId query parameter. You also need permission for the\n s3:GetObjectVersionTagging action.

\n\n

By default, the bucket owner has this permission and can grant this permission to\n others.

\n\n

For information about the Amazon S3 object tagging feature, see Object Tagging.

\n\n

The following operation is related to GetObjectTagging:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}/{Key+}?tagging", @@ -5107,19 +5222,19 @@ "com.amazonaws.s3#GetObjectTaggingOutput": { "type": "structure", "members": { - "TagSet": { - "target": "com.amazonaws.s3#TagSet", - "traits": { - "smithy.api#documentation": "

Contains the tag set.

", - "smithy.api#required": {} - } - }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { "smithy.api#documentation": "

The versionId of the object for which you got the tagging information.

", "smithy.api#httpHeader": "x-amz-version-id" } + }, + "TagSet": { + "target": "com.amazonaws.s3#TagSet", + "traits": { + "smithy.api#documentation": "

Contains the tag set.

", + "smithy.api#required": {} + } } } }, @@ -5134,6 +5249,14 @@ "smithy.api#required": {} } }, + "Key": { + "target": "com.amazonaws.s3#ObjectKey", + "traits": { + "smithy.api#documentation": "

Object key for which to get the tagging information.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "VersionId": { "target": "com.amazonaws.s3#ObjectVersionId", "traits": { @@ -5147,14 +5270,6 @@ "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } - }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", - "traits": { - "smithy.api#documentation": "

Object key for which to get the tagging information.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, @@ -5167,7 +5282,7 @@ "target": "com.amazonaws.s3#GetObjectTorrentOutput" }, "traits": { - "smithy.api#documentation": "

Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're\n distributing large files. For more information about BitTorrent, see Using BitTorrent with Amazon S3.

\n \n

You can get torrent only for objects that are less than 5 GB in size, and that are not\n encrypted using server-side encryption with a customer-provided encryption key.

\n
\n

To use GET, you must have READ access to the object.

\n

This action is not supported by Amazon S3 on Outposts.

\n \n

The following operation is related to GetObjectTorrent:

\n ", + "smithy.api#documentation": "

Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're\n distributing large files. For more information about BitTorrent, see Using BitTorrent with Amazon S3.

\n \n

You can get torrent only for objects that are less than 5 GB in size, and that are\n not encrypted using server-side encryption with a customer-provided encryption\n key.

\n
\n

To use GET, you must have READ access to the object.

\n

This action is not supported by Amazon S3 on Outposts.

\n

The following operation is related to GetObjectTorrent:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}/{Key+}?torrent", @@ -5196,12 +5311,6 @@ "com.amazonaws.s3#GetObjectTorrentRequest": { "type": "structure", "members": { - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", - "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -5218,6 +5327,12 @@ "smithy.api#required": {} } }, + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", + "traits": { + "smithy.api#httpHeader": "x-amz-request-payer" + } + }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { @@ -5236,7 +5351,7 @@ "target": "com.amazonaws.s3#GetPublicAccessBlockOutput" }, "traits": { - "smithy.api#documentation": "

Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket. To\n use this operation, you must have the s3:GetBucketPublicAccessBlock\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

\n \n \n

When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an object, it checks the PublicAccessBlock configuration for both the bucket (or the bucket that contains the object) and the bucket owner's account. If the PublicAccessBlock settings are different between the bucket and the account, Amazon S3 uses the most restrictive combination of the bucket-level and account-level settings.

\n
\n \n

For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".

\n \n

The following operations are related to GetPublicAccessBlock:

\n ", + "smithy.api#documentation": "

Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket. To use\n this operation, you must have the s3:GetBucketPublicAccessBlock permission.\n For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.

\n\n \n

When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or\n an object, it checks the PublicAccessBlock configuration for both the\n bucket (or the bucket that contains the object) and the bucket owner's account. If the\n PublicAccessBlock settings are different between the bucket and the\n account, Amazon S3 uses the most restrictive combination of the bucket-level and\n account-level settings.

\n
\n\n

For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".

\n\n

The following operations are related to GetPublicAccessBlock:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?publicAccessBlock", @@ -5250,7 +5365,7 @@ "PublicAccessBlockConfiguration": { "target": "com.amazonaws.s3#PublicAccessBlockConfiguration", "traits": { - "smithy.api#documentation": "

The PublicAccessBlock configuration currently in effect for this Amazon S3\n bucket.

", + "smithy.api#documentation": "

The PublicAccessBlock configuration currently in effect for this Amazon S3\n bucket.

", "smithy.api#httpPayload": {} } } @@ -5259,20 +5374,20 @@ "com.amazonaws.s3#GetPublicAccessBlockRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 bucket whose PublicAccessBlock configuration you\n want to retrieve.

", + "smithy.api#documentation": "

The name of the Amazon S3 bucket whose PublicAccessBlock configuration you want\n to retrieve.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -5282,7 +5397,7 @@ "Tier": { "target": "com.amazonaws.s3#Tier", "traits": { - "smithy.api#documentation": "

S3 Glacier retrieval tier at which the restore will be processed.

", + "smithy.api#documentation": "

Retrieval tier at which the restore will be processed.

", "smithy.api#required": {} } } @@ -5329,22 +5444,16 @@ "com.amazonaws.s3#Grantee": { "type": "structure", "members": { - "EmailAddress": { - "target": "com.amazonaws.s3#EmailAddress", - "traits": { - "smithy.api#documentation": "

Email address of the grantee.

\n \n

Using email addresses to specify a grantee is only supported in the following AWS Regions:

\n \n

For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the AWS General Reference.

\n
" - } - }, "DisplayName": { "target": "com.amazonaws.s3#DisplayName", "traits": { "smithy.api#documentation": "

Screen name of the grantee.

" } }, - "URI": { - "target": "com.amazonaws.s3#URI", + "EmailAddress": { + "target": "com.amazonaws.s3#EmailAddress", "traits": { - "smithy.api#documentation": "

URI of the grantee group.

" + "smithy.api#documentation": "

Email address of the grantee.

\n \n

Using email addresses to specify a grantee is only supported in the following AWS Regions:

\n \n

For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the AWS General Reference.

\n
" } }, "ID": { @@ -5353,6 +5462,12 @@ "smithy.api#documentation": "

The canonical user ID of the grantee.

" } }, + "URI": { + "target": "com.amazonaws.s3#URI", + "traits": { + "smithy.api#documentation": "

URI of the grantee group.

" + } + }, "Type": { "target": "com.amazonaws.s3#Type", "traits": { @@ -5391,7 +5506,7 @@ } ], "traits": { - "smithy.api#documentation": "

This operation is useful to determine if a bucket exists and you have permission to access it. The operation returns a 200 OK if the bucket exists and you have permission to access it. Otherwise, the operation might return responses such as 404 Not Found and 403 Forbidden.

\n \n

To use this operation, you must have permissions to perform the s3:ListBucket action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

", + "smithy.api#documentation": "

This operation is useful to determine if a bucket exists and you have permission to\n access it. The operation returns a 200 OK if the bucket exists and you have\n permission to access it. Otherwise, the operation might return responses such as 404\n Not Found and 403 Forbidden.

\n\n

To use this operation, you must have permissions to perform the\n s3:ListBucket action. The bucket owner has this permission by default and\n can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

", "smithy.api#http": { "method": "HEAD", "uri": "/{Bucket}", @@ -5402,13 +5517,6 @@ "com.amazonaws.s3#HeadBucketRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -5416,6 +5524,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -5433,7 +5548,7 @@ } ], "traits": { - "smithy.api#documentation": "

The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use HEAD, you must have READ access to the object.

\n \n

A HEAD request has the same options as a GET operation on an object. The response is identical to the GET response except that there is no response body.

\n \n

If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the metadata from the object, you must use the following headers:

\n \n

For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys).

\n \n

Encryption request headers, like x-amz-server-side-encryption, should not be sent for GET requests if your object uses server-side encryption with CMKs stored in AWS KMS (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest error.

\n
\n \n \n \n \n\n \n \n

Request headers are limited to 8 KB in size. For more information, see Common Request Headers.

\n

Consider the following when using request headers:

\n \n \n

For more information about conditional requests, see RFC 7232.

\n \n

\n Permissions\n

\n

You need the s3:GetObject permission for this operation. For more information, see Specifying Permissions in a Policy. If the object you request does not exist, the error Amazon S3 returns depends on whether you also have the s3:ListBucket permission.

\n \n \n

The following operation is related to HeadObject:

\n ", + "smithy.api#documentation": "

The HEAD operation retrieves metadata from an object without returning the object\n itself. This operation is useful if you're only interested in an object's metadata. To use\n HEAD, you must have READ access to the object.

\n\n

A HEAD request has the same options as a GET operation on an\n object. The response is identical to the GET response except that there is no\n response body.

\n\n

If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the\n metadata from the object, you must use the following headers:

\n \n

For more information about SSE-C, see Server-Side Encryption (Using\n Customer-Provided Encryption Keys).

\n \n

Encryption request headers, like x-amz-server-side-encryption, should\n not be sent for GET requests if your object uses server-side encryption with CMKs stored\n in AWS KMS (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys\n (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest\n error.

\n
\n\n\n\n\n\n\n\n

Request headers are limited to 8 KB in size. For more information, see Common Request\n Headers.

\n

Consider the following when using request headers:

\n \n\n

For more information about conditional requests, see RFC 7232.

\n\n

\n Permissions\n

\n

You need the s3:GetObject permission for this operation. For more\n information, see Specifying Permissions\n in a Policy. If the object you request does not exist, the error Amazon S3 returns\n depends on whether you also have the s3:ListBucket permission.

\n \n\n

The following operation is related to HeadObject:

\n ", "smithy.api#http": { "method": "HEAD", "uri": "/{Bucket}/{Key+}", @@ -5444,11 +5559,46 @@ "com.amazonaws.s3#HeadObjectOutput": { "type": "structure", "members": { - "CacheControl": { - "target": "com.amazonaws.s3#CacheControl", + "DeleteMarker": { + "target": "com.amazonaws.s3#DeleteMarker", "traits": { - "smithy.api#documentation": "

Specifies caching behavior along the request/reply chain.

", - "smithy.api#httpHeader": "Cache-Control" + "smithy.api#documentation": "

Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If\n false, this response header does not appear in the response.

", + "smithy.api#httpHeader": "x-amz-delete-marker" + } + }, + "AcceptRanges": { + "target": "com.amazonaws.s3#AcceptRanges", + "traits": { + "smithy.api#documentation": "

Indicates that a range of bytes was specified.

", + "smithy.api#httpHeader": "accept-ranges" + } + }, + "Expiration": { + "target": "com.amazonaws.s3#Expiration", + "traits": { + "smithy.api#documentation": "

If the object expiration is configured (see PUT Bucket lifecycle), the response includes\n this header. It includes the expiry-date and rule-id key-value pairs providing object\n expiration information. The value of the rule-id is URL encoded.

", + "smithy.api#httpHeader": "x-amz-expiration" + } + }, + "Restore": { + "target": "com.amazonaws.s3#Restore", + "traits": { + "smithy.api#documentation": "

If the object is an archived object (an object whose storage class is GLACIER), the\n response includes this header if either the archive restoration is in progress (see RestoreObject or an archive copy is already restored.

\n\n

If an archive copy is already restored, the header value indicates when Amazon S3 is\n scheduled to delete the object copy. For example:

\n\n

\n x-amz-restore: ongoing-request=\"false\", expiry-date=\"Fri, 23 Dec 2012 00:00:00\n GMT\"\n

\n\n

If the object restoration is in progress, the header returns the value\n ongoing-request=\"true\".

\n\n

For more information about archiving objects, see Transitioning Objects: General Considerations.

", + "smithy.api#httpHeader": "x-amz-restore" + } + }, + "ArchiveStatus": { + "target": "com.amazonaws.s3#ArchiveStatus", + "traits": { + "smithy.api#documentation": "

The archive state of the head object.

", + "smithy.api#httpHeader": "x-amz-archive-status" + } + }, + "LastModified": { + "target": "com.amazonaws.s3#LastModified", + "traits": { + "smithy.api#documentation": "

Last modified date of the object

", + "smithy.api#httpHeader": "Last-Modified" } }, "ContentLength": { @@ -5458,25 +5608,32 @@ "smithy.api#httpHeader": "Content-Length" } }, - "ObjectLockRetainUntilDate": { - "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", + "ETag": { + "target": "com.amazonaws.s3#ETag", "traits": { - "smithy.api#documentation": "

The date and time when the Object Lock retention period expires. This header is only returned if the requester has the s3:GetObjectRetention permission.

", - "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" + "smithy.api#documentation": "

An ETag is an opaque identifier assigned by a web server to a specific version of a\n resource found at a URL.

", + "smithy.api#httpHeader": "ETag" } }, - "ContentType": { - "target": "com.amazonaws.s3#ContentType", + "MissingMeta": { + "target": "com.amazonaws.s3#MissingMeta", "traits": { - "smithy.api#documentation": "

A standard MIME type describing the format of the object data.

", - "smithy.api#httpHeader": "Content-Type" + "smithy.api#documentation": "

This is set to the number of metadata entries not returned in x-amz-meta\n headers. This can happen if you create metadata using an API like SOAP that supports more\n flexible metadata than the REST API. For example, using SOAP, you can create metadata whose\n values are not legal HTTP headers.

", + "smithy.api#httpHeader": "x-amz-missing-meta" } }, - "ETag": { - "target": "com.amazonaws.s3#ETag", + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", "traits": { - "smithy.api#documentation": "

An ETag is an opaque identifier assigned by a web server to a specific version of a resource\n found at a URL.

", - "smithy.api#httpHeader": "ETag" + "smithy.api#documentation": "

Version of the object.

", + "smithy.api#httpHeader": "x-amz-version-id" + } + }, + "CacheControl": { + "target": "com.amazonaws.s3#CacheControl", + "traits": { + "smithy.api#documentation": "

Specifies caching behavior along the request/reply chain.

", + "smithy.api#httpHeader": "Cache-Control" } }, "ContentDisposition": { @@ -5486,6 +5643,13 @@ "smithy.api#httpHeader": "Content-Disposition" } }, + "ContentEncoding": { + "target": "com.amazonaws.s3#ContentEncoding", + "traits": { + "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.

", + "smithy.api#httpHeader": "Content-Encoding" + } + }, "ContentLanguage": { "target": "com.amazonaws.s3#ContentLanguage", "traits": { @@ -5493,11 +5657,11 @@ "smithy.api#httpHeader": "Content-Language" } }, - "Expiration": { - "target": "com.amazonaws.s3#Expiration", + "ContentType": { + "target": "com.amazonaws.s3#ContentType", "traits": { - "smithy.api#documentation": "

If the object expiration is configured (see PUT Bucket lifecycle), the response includes this\n header. It includes the expiry-date and rule-id key-value pairs providing object expiration\n information. The value of the rule-id is URL encoded.

", - "smithy.api#httpHeader": "x-amz-expiration" + "smithy.api#documentation": "

A standard MIME type describing the format of the object data.

", + "smithy.api#httpHeader": "Content-Type" } }, "Expires": { @@ -5507,136 +5671,94 @@ "smithy.api#httpHeader": "Expires" } }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", - "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response\n will include this header to provide round-trip message integrity verification of the\n customer-provided encryption key.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" - } - }, - "ReplicationStatus": { - "target": "com.amazonaws.s3#ReplicationStatus", - "traits": { - "smithy.api#documentation": "

Amazon S3 can return this header if your request involves a bucket that is either a source or destination in a replication rule.

\n \n

In replication, you have a source bucket on which you configure replication and\n destination bucket where Amazon S3 stores object replicas. When you request an object\n (GetObject) or object metadata (HeadObject) from these\n buckets, Amazon S3 will return the x-amz-replication-status header in the\n response as follows:

\n \n \n

For more information, see Replication.

", - "smithy.api#httpHeader": "x-amz-replication-status" - } - }, - "ObjectLockLegalHoldStatus": { - "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", - "traits": { - "smithy.api#documentation": "

Specifies whether a legal hold is in effect for this object. This header is only returned if the requester has the s3:GetObjectLegalHold permission. This header is not returned if the specified version of this object has never had a legal hold applied. For more information about S3 Object Lock, see Object Lock.

", - "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" - } - }, "WebsiteRedirectLocation": { "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { - "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

", + "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata.

", "smithy.api#httpHeader": "x-amz-website-redirect-location" } }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "

If the object is stored using server-side encryption either with an AWS KMS customer master\n key (CMK) or an Amazon S3-managed encryption key, the response includes this header with\n the value of the server-side encryption algorithm used when storing this object in Amazon\n S3 (for example, AES256, aws:kms).

", + "smithy.api#documentation": "

If the object is stored using server-side encryption either with an AWS KMS customer\n master key (CMK) or an Amazon S3-managed encryption key, the response includes this header with\n the value of the server-side encryption algorithm used when storing this object in Amazon\n S3 (for example, AES256, aws:kms).

", "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", + "Metadata": { + "target": "com.amazonaws.s3#Metadata", "traits": { - "smithy.api#documentation": "

Version of the object.

", - "smithy.api#httpHeader": "x-amz-version-id" + "smithy.api#documentation": "

A map of metadata to store with the object in S3.

", + "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

", + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header confirming the encryption algorithm used.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "PartsCount": { - "target": "com.amazonaws.s3#PartsCount", - "traits": { - "smithy.api#documentation": "

The count of parts this object has.

", - "smithy.api#httpHeader": "x-amz-mp-parts-count" - } - }, - "RequestCharged": { - "target": "com.amazonaws.s3#RequestCharged", - "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" - } - }, - "LastModified": { - "target": "com.amazonaws.s3#LastModified", - "traits": { - "smithy.api#documentation": "

Last modified date of the object

", - "smithy.api#httpHeader": "Last-Modified" - } - }, - "MissingMeta": { - "target": "com.amazonaws.s3#MissingMeta", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

This is set to the number of metadata entries not returned in x-amz-meta headers.\n This can happen if you create metadata using an API like SOAP that supports more flexible\n metadata than the REST API. For example, using SOAP, you can create metadata whose values\n are not legal HTTP headers.

", - "smithy.api#httpHeader": "x-amz-missing-meta" + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide round-trip message integrity verification of\n the customer-provided encryption key.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "Restore": { - "target": "com.amazonaws.s3#Restore", + "SSEKMSKeyId": { + "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

If the object is an archived object (an object whose storage class is GLACIER), \n the response includes this header if either the archive restoration is in progress (see RestoreObject or an archive copy is already restored.

\n \n

If an archive copy is already restored, the header value indicates when Amazon S3 is scheduled to delete the object copy. For example:

\n \n

\n x-amz-restore: ongoing-request=\"false\", expiry-date=\"Fri, 23 Dec 2012 00:00:00 GMT\"\n

\n \n

If the object restoration is in progress, the header returns the value ongoing-request=\"true\".

\n \n

For more information about archiving objects, see Transitioning Objects: General Considerations.

", - "smithy.api#httpHeader": "x-amz-restore" + "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric\n customer managed customer master key (CMK) that was used for the object.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, - "ContentEncoding": { - "target": "com.amazonaws.s3#ContentEncoding", + "StorageClass": { + "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

", - "smithy.api#httpHeader": "Content-Encoding" + "smithy.api#documentation": "

Provides storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.

\n\n

For more information, see Storage\n Classes.

", + "smithy.api#httpHeader": "x-amz-storage-class" } }, - "StorageClass": { - "target": "com.amazonaws.s3#StorageClass", + "RequestCharged": { + "target": "com.amazonaws.s3#RequestCharged", "traits": { - "smithy.api#documentation": "

Provides storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

\n \n

For more information, see Storage Classes.

", - "smithy.api#httpHeader": "x-amz-storage-class" + "smithy.api#httpHeader": "x-amz-request-charged" } }, - "Metadata": { - "target": "com.amazonaws.s3#Metadata", + "ReplicationStatus": { + "target": "com.amazonaws.s3#ReplicationStatus", "traits": { - "smithy.api#documentation": "

A map of metadata to store with the object in S3.

", - "smithy.api#httpPrefixHeaders": "x-amz-meta-" + "smithy.api#documentation": "

Amazon S3 can return this header if your request involves a bucket that is either a source or\n destination in a replication rule.

\n\n

In replication, you have a source bucket on which you configure replication and\n destination bucket where Amazon S3 stores object replicas. When you request an object\n (GetObject) or object metadata (HeadObject) from these\n buckets, Amazon S3 will return the x-amz-replication-status header in the response\n as follows:

\n \n\n

For more information, see Replication.

", + "smithy.api#httpHeader": "x-amz-replication-status" } }, - "DeleteMarker": { - "target": "com.amazonaws.s3#DeleteMarker", + "PartsCount": { + "target": "com.amazonaws.s3#PartsCount", "traits": { - "smithy.api#documentation": "

Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.

", - "smithy.api#httpHeader": "x-amz-delete-marker" + "smithy.api#documentation": "

The count of parts this object has.

", + "smithy.api#httpHeader": "x-amz-mp-parts-count" } }, "ObjectLockMode": { "target": "com.amazonaws.s3#ObjectLockMode", "traits": { - "smithy.api#documentation": "

The Object Lock mode, if any, that's in effect for this object. This header is only returned if the requester has the s3:GetObjectRetention permission. For more information about S3 Object Lock, see Object Lock.

", + "smithy.api#documentation": "

The Object Lock mode, if any, that's in effect for this object. This header is only\n returned if the requester has the s3:GetObjectRetention permission. For more\n information about S3 Object Lock, see Object\n Lock.

", "smithy.api#httpHeader": "x-amz-object-lock-mode" } }, - "SSEKMSKeyId": { - "target": "com.amazonaws.s3#SSEKMSKeyId", + "ObjectLockRetainUntilDate": { + "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", "traits": { - "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key\n (CMK) that was used for the object.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" + "smithy.api#documentation": "

The date and time when the Object Lock retention period expires. This header is only\n returned if the requester has the s3:GetObjectRetention permission.

", + "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" } }, - "AcceptRanges": { - "target": "com.amazonaws.s3#AcceptRanges", + "ObjectLockLegalHoldStatus": { + "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", "traits": { - "smithy.api#documentation": "

Indicates that a range of bytes was specified.

", - "smithy.api#httpHeader": "accept-ranges" + "smithy.api#documentation": "

Specifies whether a legal hold is in effect for this object. This header is only\n returned if the requester has the s3:GetObjectLegalHold permission. This\n header is not returned if the specified version of this object has never had a legal hold\n applied. For more information about S3 Object Lock, see Object Lock.

", + "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" } } } @@ -5644,97 +5766,83 @@ "com.amazonaws.s3#HeadObjectRequest": { "type": "structure", "members": { - "SSECustomerAlgorithm": { - "target": "com.amazonaws.s3#SSECustomerAlgorithm", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example, AES256).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" + "smithy.api#documentation": "

The name of the bucket containing the object.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "SSECustomerKey": { - "target": "com.amazonaws.s3#SSECustomerKey", + "IfMatch": { + "target": "com.amazonaws.s3#IfMatch", "traits": { - "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" + "smithy.api#documentation": "

Return the object only if its entity tag (ETag) is the same as the one specified,\n otherwise return a 412 (precondition failed).

", + "smithy.api#httpHeader": "If-Match" } }, - "Range": { - "target": "com.amazonaws.s3#Range", + "IfModifiedSince": { + "target": "com.amazonaws.s3#IfModifiedSince", "traits": { - "smithy.api#documentation": "

Downloads the specified range bytes of an object. For more information about the HTTP Range\n header, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.

\n \n

Amazon S3 doesn't support retrieving multiple ranges of data per GET request.

\n
", - "smithy.api#httpHeader": "Range" + "smithy.api#documentation": "

Return the object only if it has been modified since the specified time, otherwise\n return a 304 (not modified).

", + "smithy.api#httpHeader": "If-Modified-Since" } }, "IfNoneMatch": { "target": "com.amazonaws.s3#IfNoneMatch", "traits": { - "smithy.api#documentation": "

Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).

", + "smithy.api#documentation": "

Return the object only if its entity tag (ETag) is different from the one specified,\n otherwise return a 304 (not modified).

", "smithy.api#httpHeader": "If-None-Match" } }, - "PartNumber": { - "target": "com.amazonaws.s3#PartNumber", - "traits": { - "smithy.api#documentation": "

Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' HEAD request for the part specified. Useful querying about the size of the part and the number of parts in this object.

", - "smithy.api#httpQuery": "partNumber" - } - }, "IfUnmodifiedSince": { "target": "com.amazonaws.s3#IfUnmodifiedSince", "traits": { - "smithy.api#documentation": "

Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).

", + "smithy.api#documentation": "

Return the object only if it has not been modified since the specified time, otherwise\n return a 412 (precondition failed).

", "smithy.api#httpHeader": "If-Unmodified-Since" } }, - "IfModifiedSince": { - "target": "com.amazonaws.s3#IfModifiedSince", - "traits": { - "smithy.api#documentation": "

Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).

", - "smithy.api#httpHeader": "If-Modified-Since" - } - }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

The object key.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", + "Range": { + "target": "com.amazonaws.s3#Range", "traits": { - "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" + "smithy.api#documentation": "

Downloads the specified range bytes of an object. For more information about the HTTP\n Range header, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.

\n \n

Amazon S3 doesn't support retrieving multiple ranges of data per GET\n request.

\n
", + "smithy.api#httpHeader": "Range" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", "traits": { - "smithy.api#documentation": "

The name of the bucket containing the object.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

VersionId used to reference a specific version of the object.

", + "smithy.api#httpQuery": "versionId" } }, - "IfMatch": { - "target": "com.amazonaws.s3#IfMatch", + "SSECustomerAlgorithm": { + "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).

", - "smithy.api#httpHeader": "If-Match" + "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example,\n AES256).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "SSECustomerKey": { + "target": "com.amazonaws.s3#SSECustomerKey", "traits": { - "smithy.api#documentation": "

The object key.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" } }, - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

VersionId used to reference a specific version of the object.

", - "smithy.api#httpQuery": "versionId" + "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, "RequestPayer": { @@ -5742,6 +5850,20 @@ "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } + }, + "PartNumber": { + "target": "com.amazonaws.s3#PartNumber", + "traits": { + "smithy.api#documentation": "

Part number of the object being read. This is a positive integer between 1 and 10,000.\n Effectively performs a 'ranged' HEAD request for the part specified. Useful querying about\n the size of the part and the number of parts in this object.

", + "smithy.api#httpQuery": "partNumber" + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -5775,7 +5897,7 @@ "Suffix": { "target": "com.amazonaws.s3#Suffix", "traits": { - "smithy.api#documentation": "

A suffix that is appended to a request that is for a directory on the website endpoint (for\n example,if the suffix is index.html and you make a request to samplebucket/images/ the data\n that is returned will be for the object with the key name images/index.html) The suffix\n must not be empty and must not include a slash character.

", + "smithy.api#documentation": "

A suffix that is appended to a request that is for a directory on the website endpoint\n (for example,if the suffix is index.html and you make a request to samplebucket/images/ the\n data that is returned will be for the object with the key name images/index.html) The\n suffix must not be empty and must not include a slash character.

", "smithy.api#required": {} } } @@ -5793,7 +5915,7 @@ "ID": { "target": "com.amazonaws.s3#ID", "traits": { - "smithy.api#documentation": "

If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.

" + "smithy.api#documentation": "

If the principal is an AWS account, it provides the Canonical User ID. If the principal\n is an IAM User, it provides a user ARN value.

" } }, "DisplayName": { @@ -5810,16 +5932,22 @@ "com.amazonaws.s3#InputSerialization": { "type": "structure", "members": { - "JSON": { - "target": "com.amazonaws.s3#JSONInput", + "CSV": { + "target": "com.amazonaws.s3#CSVInput", "traits": { - "smithy.api#documentation": "

Specifies JSON as object's input serialization format.

" + "smithy.api#documentation": "

Describes the serialization of a CSV-encoded object.

" } }, "CompressionType": { "target": "com.amazonaws.s3#CompressionType", "traits": { - "smithy.api#documentation": "

Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.

" + "smithy.api#documentation": "

Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value:\n NONE.

" + } + }, + "JSON": { + "target": "com.amazonaws.s3#JSONInput", + "traits": { + "smithy.api#documentation": "

Specifies JSON as object's input serialization format.

" } }, "Parquet": { @@ -5827,46 +5955,182 @@ "traits": { "smithy.api#documentation": "

Specifies Parquet as object's input serialization format.

" } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the serialization format of the object.

" + } + }, + "com.amazonaws.s3#IntelligentTieringAccessTier": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ARCHIVE_ACCESS" + }, + { + "value": "DEEP_ARCHIVE_ACCESS" + } + ] + } + }, + "com.amazonaws.s3#IntelligentTieringAndOperator": { + "type": "structure", + "members": { + "Prefix": { + "target": "com.amazonaws.s3#Prefix", + "traits": { + "smithy.api#documentation": "

An object key name prefix that identifies the subset of objects to which the\n configuration applies.

" + } }, - "CSV": { - "target": "com.amazonaws.s3#CSVInput", + "Tags": { + "target": "com.amazonaws.s3#TagSet", "traits": { - "smithy.api#documentation": "

Describes the serialization of a CSV-encoded object.

" + "smithy.api#documentation": "

All of these tags must exist in the object's tag set in order for the configuration to\n apply.

", + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "Tag" } } }, "traits": { - "smithy.api#documentation": "

Describes the serialization format of the object.

" + "smithy.api#documentation": "

A container for specifying S3 Intelligent-Tiering filters. The filters determine the\n subset of objects to which the rule applies.

" + } + }, + "com.amazonaws.s3#IntelligentTieringConfiguration": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.s3#IntelligentTieringId", + "traits": { + "smithy.api#documentation": "

The ID used to identify the S3 Intelligent-Tiering configuration.

", + "smithy.api#required": {} + } + }, + "Filter": { + "target": "com.amazonaws.s3#IntelligentTieringFilter", + "traits": { + "smithy.api#documentation": "

Specifies a bucket filter. The configuration only includes objects that meet the\n filter's criteria.

" + } + }, + "Status": { + "target": "com.amazonaws.s3#IntelligentTieringStatus", + "traits": { + "smithy.api#documentation": "

Specifies the status of the configuration.

", + "smithy.api#required": {} + } + }, + "Tierings": { + "target": "com.amazonaws.s3#TieringList", + "traits": { + "smithy.api#documentation": "

Specifies the S3 Intelligent-Tiering storage class tier of the configuration.

", + "smithy.api#required": {}, + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "Tiering" + } + } + }, + "traits": { + "smithy.api#documentation": "

Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.

\n

For information about the S3 Intelligent-Tiering storage class, see Storage class for\n automatically optimizing frequently and infrequently accessed objects.

" + } + }, + "com.amazonaws.s3#IntelligentTieringConfigurationList": { + "type": "list", + "member": { + "target": "com.amazonaws.s3#IntelligentTieringConfiguration" + } + }, + "com.amazonaws.s3#IntelligentTieringDays": { + "type": "integer" + }, + "com.amazonaws.s3#IntelligentTieringFilter": { + "type": "structure", + "members": { + "Prefix": { + "target": "com.amazonaws.s3#Prefix", + "traits": { + "smithy.api#documentation": "

An object key name prefix that identifies the subset of objects to which the rule\n applies.

" + } + }, + "Tag": { + "target": "com.amazonaws.s3#Tag" + }, + "And": { + "target": "com.amazonaws.s3#IntelligentTieringAndOperator", + "traits": { + "smithy.api#documentation": "

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.\n The operator must have at least two predicates, and an object must match all of the\n predicates in order for the filter to apply.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The Filter is used to identify objects that the S3 Intelligent-Tiering\n configuration applies to.

" + } + }, + "com.amazonaws.s3#IntelligentTieringId": { + "type": "string" + }, + "com.amazonaws.s3#IntelligentTieringStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Enabled" + }, + { + "value": "Disabled" + } + ] + } + }, + "com.amazonaws.s3#InvalidObjectState": { + "type": "structure", + "members": { + "StorageClass": { + "target": "com.amazonaws.s3#StorageClass" + }, + "AccessTier": { + "target": "com.amazonaws.s3#IntelligentTieringAccessTier" + } + }, + "traits": { + "smithy.api#documentation": "

Object is archived and inaccessible until restored.

", + "smithy.api#error": "client" } }, "com.amazonaws.s3#InventoryConfiguration": { "type": "structure", "members": { - "IncludedObjectVersions": { - "target": "com.amazonaws.s3#InventoryIncludedObjectVersions", + "Destination": { + "target": "com.amazonaws.s3#InventoryDestination", "traits": { - "smithy.api#documentation": "

Object versions to include in the inventory list. If set to All, the list includes all the object versions, which adds the version-related fields VersionId, IsLatest, and DeleteMarker to the list. If set to Current, the list does not contain these version-related fields.

", + "smithy.api#documentation": "

Contains information about where to publish the inventory results.

", "smithy.api#required": {} } }, "IsEnabled": { "target": "com.amazonaws.s3#IsEnabled", "traits": { - "smithy.api#documentation": "

Specifies whether the inventory is enabled or disabled. If set to True, an inventory list is generated. If set to False, no inventory list is generated.

", + "smithy.api#documentation": "

Specifies whether the inventory is enabled or disabled. If set to True, an\n inventory list is generated. If set to False, no inventory list is\n generated.

", "smithy.api#required": {} } }, - "Schedule": { - "target": "com.amazonaws.s3#InventorySchedule", + "Filter": { + "target": "com.amazonaws.s3#InventoryFilter", "traits": { - "smithy.api#documentation": "

Specifies the schedule for generating inventory results.

", + "smithy.api#documentation": "

Specifies an inventory filter. The inventory only includes objects that meet the\n filter's criteria.

" + } + }, + "Id": { + "target": "com.amazonaws.s3#InventoryId", + "traits": { + "smithy.api#documentation": "

The ID used to identify the inventory configuration.

", "smithy.api#required": {} } }, - "Filter": { - "target": "com.amazonaws.s3#InventoryFilter", + "IncludedObjectVersions": { + "target": "com.amazonaws.s3#InventoryIncludedObjectVersions", "traits": { - "smithy.api#documentation": "

Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.

" + "smithy.api#documentation": "

Object versions to include in the inventory list. If set to All, the list\n includes all the object versions, which adds the version-related fields\n VersionId, IsLatest, and DeleteMarker to the\n list. If set to Current, the list does not contain these version-related\n fields.

", + "smithy.api#required": {} } }, "OptionalFields": { @@ -5875,23 +6139,16 @@ "smithy.api#documentation": "

Contains the optional fields that are included in the inventory results.

" } }, - "Destination": { - "target": "com.amazonaws.s3#InventoryDestination", - "traits": { - "smithy.api#documentation": "

Contains information about where to publish the inventory results.

", - "smithy.api#required": {} - } - }, - "Id": { - "target": "com.amazonaws.s3#InventoryId", + "Schedule": { + "target": "com.amazonaws.s3#InventorySchedule", "traits": { - "smithy.api#documentation": "

The ID used to identify the inventory configuration.

", + "smithy.api#documentation": "

Specifies the schedule for generating inventory results.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Specifies the inventory configuration for an Amazon S3 bucket.\n For more information, see GET Bucket inventory in the Amazon Simple Storage Service API Reference.\n

" + "smithy.api#documentation": "

Specifies the inventory configuration for an Amazon S3 bucket. For more information, see\n GET Bucket inventory in the Amazon Simple Storage Service API Reference.\n

" } }, "com.amazonaws.s3#InventoryConfigurationList": { @@ -5906,7 +6163,7 @@ "S3BucketDestination": { "target": "com.amazonaws.s3#InventoryS3BucketDestination", "traits": { - "smithy.api#documentation": "

Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.

", + "smithy.api#documentation": "

Contains the bucket name, file format, bucket owner (optional), and prefix (optional)\n where inventory results are published.

", "smithy.api#required": {} } } @@ -5918,23 +6175,23 @@ "com.amazonaws.s3#InventoryEncryption": { "type": "structure", "members": { - "SSEKMS": { - "target": "com.amazonaws.s3#SSEKMS", - "traits": { - "smithy.api#documentation": "

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

", - "smithy.api#xmlName": "SSE-KMS" - } - }, "SSES3": { "target": "com.amazonaws.s3#SSES3", "traits": { "smithy.api#documentation": "

Specifies the use of SSE-S3 to encrypt delivered inventory reports.

", "smithy.api#xmlName": "SSE-S3" } + }, + "SSEKMS": { + "target": "com.amazonaws.s3#SSEKMS", + "traits": { + "smithy.api#documentation": "

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

", + "smithy.api#xmlName": "SSE-KMS" + } } }, "traits": { - "smithy.api#documentation": "

Contains the type of server-side encryption used to encrypt the inventory results.

" + "smithy.api#documentation": "

Contains the type of server-side encryption used to encrypt the inventory\n results.

" } }, "com.amazonaws.s3#InventoryFilter": { @@ -5949,7 +6206,7 @@ } }, "traits": { - "smithy.api#documentation": "

Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.

" + "smithy.api#documentation": "

Specifies an inventory filter. The inventory only includes objects that meet the\n filter's criteria.

" } }, "com.amazonaws.s3#InventoryFormat": { @@ -6049,17 +6306,24 @@ "com.amazonaws.s3#InventoryS3BucketDestination": { "type": "structure", "members": { - "Format": { - "target": "com.amazonaws.s3#InventoryFormat", + "AccountId": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

Specifies the output format of the inventory results.

", + "smithy.api#documentation": "

The account ID that owns the destination S3 bucket. If no account ID is provided, the\n owner is not validated before exporting data.

\n \n

Although this value is optional, we strongly recommend that you set it to help\n prevent problems if the destination bucket ownership changes.

\n
" + } + }, + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the bucket where inventory results will be\n published.

", "smithy.api#required": {} } }, - "Encryption": { - "target": "com.amazonaws.s3#InventoryEncryption", + "Format": { + "target": "com.amazonaws.s3#InventoryFormat", "traits": { - "smithy.api#documentation": "

Contains the type of server-side encryption used to encrypt the inventory results.

" + "smithy.api#documentation": "

Specifies the output format of the inventory results.

", + "smithy.api#required": {} } }, "Prefix": { @@ -6068,22 +6332,15 @@ "smithy.api#documentation": "

The prefix that is prepended to all inventory results.

" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

", - "smithy.api#required": {} - } - }, - "AccountId": { - "target": "com.amazonaws.s3#AccountId", + "Encryption": { + "target": "com.amazonaws.s3#InventoryEncryption", "traits": { - "smithy.api#documentation": "

The account ID that owns the destination S3 bucket. \n If no account ID is provided, the owner is not validated before exporting data.

\n \n

\n Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket \n ownership changes.\n

\n
" + "smithy.api#documentation": "

Contains the type of server-side encryption used to encrypt the inventory\n results.

" } } }, "traits": { - "smithy.api#documentation": "

Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where\n inventory results are published.

" + "smithy.api#documentation": "

Contains the bucket name, file format, bucket owner (optional), and prefix (optional)\n where inventory results are published.

" } }, "com.amazonaws.s3#InventorySchedule": { @@ -6133,7 +6390,7 @@ "RecordDelimiter": { "target": "com.amazonaws.s3#RecordDelimiter", "traits": { - "smithy.api#documentation": "

The value used to separate individual records in the output. If no value is specified, Amazon S3 \n uses a newline character ('\\n').

" + "smithy.api#documentation": "

The value used to separate individual records in the output. If no value is specified,\n Amazon S3 uses a newline character ('\\n').

" } } }, @@ -6174,10 +6431,21 @@ "com.amazonaws.s3#LambdaFunctionConfiguration": { "type": "structure", "members": { + "Id": { + "target": "com.amazonaws.s3#NotificationId" + }, + "LambdaFunctionArn": { + "target": "com.amazonaws.s3#LambdaFunctionArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 invokes when the\n specified event type occurs.

", + "smithy.api#required": {}, + "smithy.api#xmlName": "CloudFunction" + } + }, "Events": { "target": "com.amazonaws.s3#EventList", "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket event for which to invoke the AWS Lambda function.\n For more information, see Supported Event Types in the\n Amazon Simple Storage Service Developer Guide.

", + "smithy.api#documentation": "

The Amazon S3 bucket event for which to invoke the AWS Lambda function. For more information,\n see Supported\n Event Types in the Amazon Simple Storage Service Developer Guide.

", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Event" @@ -6185,17 +6453,6 @@ }, "Filter": { "target": "com.amazonaws.s3#NotificationConfigurationFilter" - }, - "LambdaFunctionArn": { - "target": "com.amazonaws.s3#LambdaFunctionArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 invokes when the specified event type occurs.

", - "smithy.api#required": {}, - "smithy.api#xmlName": "CloudFunction" - } - }, - "Id": { - "target": "com.amazonaws.s3#NotificationId" } }, "traits": { @@ -6214,22 +6471,22 @@ "com.amazonaws.s3#LifecycleExpiration": { "type": "structure", "members": { + "Date": { + "target": "com.amazonaws.s3#Date", + "traits": { + "smithy.api#documentation": "

Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601\n Format.

" + } + }, "Days": { "target": "com.amazonaws.s3#Days", "traits": { - "smithy.api#documentation": "

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

" + "smithy.api#documentation": "

Indicates the lifetime, in days, of the objects that are subject to the rule. The value\n must be a non-zero positive integer.

" } }, "ExpiredObjectDeleteMarker": { "target": "com.amazonaws.s3#ExpiredObjectDeleteMarker", "traits": { - "smithy.api#documentation": "

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

" - } - }, - "Date": { - "target": "com.amazonaws.s3#Date", - "traits": { - "smithy.api#documentation": "

Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.

" + "smithy.api#documentation": "

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set\n to true, the delete marker will be expired; if set to false the policy takes no action.\n This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

" } } }, @@ -6240,18 +6497,10 @@ "com.amazonaws.s3#LifecycleRule": { "type": "structure", "members": { - "NoncurrentVersionTransitions": { - "target": "com.amazonaws.s3#NoncurrentVersionTransitionList", - "traits": { - "smithy.api#documentation": "

Specifies the transition rule for the lifecycle rule that describes when noncurrent\n objects transition to a specific storage class. If your bucket is versioning-enabled (or\n versioning is suspended), you can set this action to request that Amazon S3 transition\n noncurrent object versions to a specific storage class at a set period in the object's\n lifetime.

", - "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "NoncurrentVersionTransition" - } - }, "Expiration": { "target": "com.amazonaws.s3#LifecycleExpiration", "traits": { - "smithy.api#documentation": "

Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.

" + "smithy.api#documentation": "

Specifies the expiration for the lifecycle of the object in the form of date, days and,\n whether the object has a delete marker.

" } }, "ID": { @@ -6260,6 +6509,23 @@ "smithy.api#documentation": "

Unique identifier for the rule. The value cannot be longer than 255 characters.

" } }, + "Prefix": { + "target": "com.amazonaws.s3#Prefix", + "traits": { + "smithy.api#deprecated": {}, + "smithy.api#documentation": "

Prefix identifying one or more objects to which the rule applies. This is\n No longer used; use Filter instead.

" + } + }, + "Filter": { + "target": "com.amazonaws.s3#LifecycleRuleFilter" + }, + "Status": { + "target": "com.amazonaws.s3#ExpirationStatus", + "traits": { + "smithy.api#documentation": "

If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not\n currently being applied.

", + "smithy.api#required": {} + } + }, "Transitions": { "target": "com.amazonaws.s3#TransitionList", "traits": { @@ -6268,11 +6534,12 @@ "smithy.api#xmlName": "Transition" } }, - "Prefix": { - "target": "com.amazonaws.s3#Prefix", + "NoncurrentVersionTransitions": { + "target": "com.amazonaws.s3#NoncurrentVersionTransitionList", "traits": { - "smithy.api#deprecated": {}, - "smithy.api#documentation": "

Prefix identifying one or more objects to which the rule applies. This is\n No longer used; use Filter instead.

" + "smithy.api#documentation": "

Specifies the transition rule for the lifecycle rule that describes when noncurrent\n objects transition to a specific storage class. If your bucket is versioning-enabled (or\n versioning is suspended), you can set this action to request that Amazon S3 transition\n noncurrent object versions to a specific storage class at a set period in the object's\n lifetime.

", + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "NoncurrentVersionTransition" } }, "NoncurrentVersionExpiration": { @@ -6280,16 +6547,6 @@ }, "AbortIncompleteMultipartUpload": { "target": "com.amazonaws.s3#AbortIncompleteMultipartUpload" - }, - "Filter": { - "target": "com.amazonaws.s3#LifecycleRuleFilter" - }, - "Status": { - "target": "com.amazonaws.s3#ExpirationStatus", - "traits": { - "smithy.api#documentation": "

If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.

", - "smithy.api#required": {} - } } }, "traits": { @@ -6308,22 +6565,19 @@ "Tags": { "target": "com.amazonaws.s3#TagSet", "traits": { - "smithy.api#documentation": "

All of these tags must exist in the object's tag set in order for the rule to apply.

", + "smithy.api#documentation": "

All of these tags must exist in the object's tag set in order for the rule to\n apply.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Tag" } } }, "traits": { - "smithy.api#documentation": "

This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.

" + "smithy.api#documentation": "

This is used in a Lifecycle Rule Filter to apply a logical AND to two or more\n predicates. The Lifecycle Rule will apply to any object matching all of the predicates\n configured inside the And operator.

" } }, "com.amazonaws.s3#LifecycleRuleFilter": { "type": "structure", "members": { - "And": { - "target": "com.amazonaws.s3#LifecycleRuleAndOperator" - }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { @@ -6335,6 +6589,9 @@ "traits": { "smithy.api#documentation": "

This tag must exist in the object's tag set in order for the rule to apply.

" } + }, + "And": { + "target": "com.amazonaws.s3#LifecycleRuleAndOperator" } }, "traits": { @@ -6356,7 +6613,7 @@ "target": "com.amazonaws.s3#ListBucketAnalyticsConfigurationsOutput" }, "traits": { - "smithy.api#documentation": "

Lists the analytics configurations for the bucket. You can have up to 1,000 analytics configurations per bucket.

\n \n

This operation supports list pagination and does not return more than 100 configurations at a time. You should always check the IsTruncated element in the response. If there are no more configurations to list, IsTruncated is set to false. If there are more configurations to list, IsTruncated is set to true, and there will be a value in NextContinuationToken. You use the NextContinuationToken value to continue the pagination of the list by passing the value in continuation-token in the request to GET the next page.

\n \n

To use this operation, you must have permissions to perform the s3:GetAnalyticsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis.

\n \n

The following operations are related to ListBucketAnalyticsConfigurations:

\n ", + "smithy.api#documentation": "

Lists the analytics configurations for the bucket. You can have up to 1,000 analytics\n configurations per bucket.

\n\n

This operation supports list pagination and does not return more than 100 configurations\n at a time. You should always check the IsTruncated element in the response. If\n there are no more configurations to list, IsTruncated is set to false. If\n there are more configurations to list, IsTruncated is set to true, and there\n will be a value in NextContinuationToken. You use the\n NextContinuationToken value to continue the pagination of the list by\n passing the value in continuation-token in the request to GET the next\n page.

\n\n

To use this operation, you must have permissions to perform the\n s3:GetAnalyticsConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.

\n\n

The following operations are related to\n ListBucketAnalyticsConfigurations:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?analytics&x-id=ListBucketAnalyticsConfigurations", @@ -6367,30 +6624,30 @@ "com.amazonaws.s3#ListBucketAnalyticsConfigurationsOutput": { "type": "structure", "members": { - "AnalyticsConfigurationList": { - "target": "com.amazonaws.s3#AnalyticsConfigurationList", + "IsTruncated": { + "target": "com.amazonaws.s3#IsTruncated", "traits": { - "smithy.api#documentation": "

The list of analytics configurations for a bucket.

", - "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "AnalyticsConfiguration" + "smithy.api#documentation": "

Indicates whether the returned list of analytics configurations is complete. A value of\n true indicates that the list is not complete and the NextContinuationToken will be provided\n for a subsequent request.

" } }, - "NextContinuationToken": { - "target": "com.amazonaws.s3#NextToken", + "ContinuationToken": { + "target": "com.amazonaws.s3#Token", "traits": { - "smithy.api#documentation": "

\n NextContinuationToken is sent when isTruncated is true, which\n indicates that there are more analytics configurations to list. The next request must\n include this NextContinuationToken. The token is obfuscated and is not a\n usable value.

" + "smithy.api#documentation": "

The marker that is used as a starting point for this analytics configuration list\n response. This value is present if it was sent in the request.

" } }, - "IsTruncated": { - "target": "com.amazonaws.s3#IsTruncated", + "NextContinuationToken": { + "target": "com.amazonaws.s3#NextToken", "traits": { - "smithy.api#documentation": "

Indicates whether the returned list of analytics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request.

" + "smithy.api#documentation": "

\n NextContinuationToken is sent when isTruncated is true, which\n indicates that there are more analytics configurations to list. The next request must\n include this NextContinuationToken. The token is obfuscated and is not a\n usable value.

" } }, - "ContinuationToken": { - "target": "com.amazonaws.s3#Token", + "AnalyticsConfigurationList": { + "target": "com.amazonaws.s3#AnalyticsConfigurationList", "traits": { - "smithy.api#documentation": "

The marker that is used as a starting point for this analytics configuration list response. This value is present if it was sent in the request.

" + "smithy.api#documentation": "

The list of analytics configurations for a bucket.

", + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "AnalyticsConfiguration" } } } @@ -6398,27 +6655,95 @@ "com.amazonaws.s3#ListBucketAnalyticsConfigurationsRequest": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The name of the bucket from which analytics configurations are retrieved.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "ContinuationToken": { + "target": "com.amazonaws.s3#Token", + "traits": { + "smithy.api#documentation": "

The ContinuationToken that represents a placeholder from where this request should\n begin.

", + "smithy.api#httpQuery": "continuation-token" + } + }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } + } + } + }, + "com.amazonaws.s3#ListBucketIntelligentTieringConfigurations": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3#ListBucketIntelligentTieringConfigurationsRequest" + }, + "output": { + "target": "com.amazonaws.s3#ListBucketIntelligentTieringConfigurationsOutput" + }, + "traits": { + "smithy.api#documentation": "

Lists the S3 Intelligent-Tiering configuration from the specified bucket.

\n

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. S3 Intelligent-Tiering delivers automatic cost savings by moving data between access tiers, when access patterns change.

\n

The S3 Intelligent-Tiering storage class is suitable for objects larger than 128 KB that you plan to store for at least 30 days. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the frequent access tier rates in the S3 Intelligent-Tiering storage class.

\n

If you delete an object before the end of the 30-day minimum storage duration period, you are charged for 30 days. For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

\n

Operations related to\n ListBucketIntelligentTieringConfigurations include:

\n ", + "smithy.api#http": { + "method": "GET", + "uri": "/{Bucket}?intelligent-tiering&x-id=ListBucketIntelligentTieringConfigurations", + "code": 200 + } + } + }, + "com.amazonaws.s3#ListBucketIntelligentTieringConfigurationsOutput": { + "type": "structure", + "members": { + "IsTruncated": { + "target": "com.amazonaws.s3#IsTruncated", + "traits": { + "smithy.api#documentation": "

Indicates whether the returned list of analytics configurations is complete. A value of\n true indicates that the list is not complete and the NextContinuationToken will be provided\n for a subsequent request.

" + } }, "ContinuationToken": { "target": "com.amazonaws.s3#Token", "traits": { - "smithy.api#documentation": "

The ContinuationToken that represents a placeholder from where this request should begin.

", - "smithy.api#httpQuery": "continuation-token" + "smithy.api#documentation": "

The ContinuationToken that represents a placeholder from where this request should\n begin.

" + } + }, + "NextContinuationToken": { + "target": "com.amazonaws.s3#NextToken", + "traits": { + "smithy.api#documentation": "

The marker used to continue this inventory configuration listing. Use the\n NextContinuationToken from this response to continue the listing in a\n subsequent request. The continuation token is an opaque value that Amazon S3 understands.

" } }, + "IntelligentTieringConfigurationList": { + "target": "com.amazonaws.s3#IntelligentTieringConfigurationList", + "traits": { + "smithy.api#documentation": "

The list of S3 Intelligent-Tiering configurations for a bucket.

", + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "IntelligentTieringConfiguration" + } + } + } + }, + "com.amazonaws.s3#ListBucketIntelligentTieringConfigurationsRequest": { + "type": "structure", + "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The name of the bucket from which analytics configurations are retrieved.

", + "smithy.api#documentation": "

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "ContinuationToken": { + "target": "com.amazonaws.s3#Token", + "traits": { + "smithy.api#documentation": "

The ContinuationToken that represents a placeholder from where this request should\n begin.

", + "smithy.api#httpQuery": "continuation-token" + } } } }, @@ -6431,7 +6756,7 @@ "target": "com.amazonaws.s3#ListBucketInventoryConfigurationsOutput" }, "traits": { - "smithy.api#documentation": "

Returns a list of inventory configurations for the bucket. You can have up to 1,000 analytics configurations per bucket.

\n \n

This operation supports list pagination and does not return more than 100 configurations at a time. Always check the IsTruncated element in the response. If there are no more configurations to list, IsTruncated is set to false. If there are more configurations to list, IsTruncated is set to true, and there is a value in NextContinuationToken. You use the NextContinuationToken value to continue the pagination of the list by passing the value in continuation-token in the request to GET the next page.

\n \n

To use this operation, you must have permissions to perform the s3:GetInventoryConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory\n

\n \n

The following operations are related to ListBucketInventoryConfigurations:

\n ", + "smithy.api#documentation": "

Returns a list of inventory configurations for the bucket. You can have up to 1,000\n analytics configurations per bucket.

\n\n

This operation supports list pagination and does not return more than 100 configurations\n at a time. Always check the IsTruncated element in the response. If there are\n no more configurations to list, IsTruncated is set to false. If there are more\n configurations to list, IsTruncated is set to true, and there is a value in\n NextContinuationToken. You use the NextContinuationToken value\n to continue the pagination of the list by passing the value in continuation-token in the\n request to GET the next page.

\n\n

To use this operation, you must have permissions to perform the\n s3:GetInventoryConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory\n

\n\n

The following operations are related to\n ListBucketInventoryConfigurations:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?inventory&x-id=ListBucketInventoryConfigurations", @@ -6442,6 +6767,12 @@ "com.amazonaws.s3#ListBucketInventoryConfigurationsOutput": { "type": "structure", "members": { + "ContinuationToken": { + "target": "com.amazonaws.s3#Token", + "traits": { + "smithy.api#documentation": "

If sent in the request, the marker that is used as a starting point for this inventory\n configuration list response.

" + } + }, "InventoryConfigurationList": { "target": "com.amazonaws.s3#InventoryConfigurationList", "traits": { @@ -6450,22 +6781,16 @@ "smithy.api#xmlName": "InventoryConfiguration" } }, - "NextContinuationToken": { - "target": "com.amazonaws.s3#NextToken", - "traits": { - "smithy.api#documentation": "

The marker used to continue this inventory configuration listing. Use the\n NextContinuationToken from this response to continue the listing in a\n subsequent request. The continuation token is an opaque value that Amazon S3\n understands.

" - } - }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { - "smithy.api#documentation": "

Tells whether the returned list of inventory configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken is provided for a subsequent request.

" + "smithy.api#documentation": "

Tells whether the returned list of inventory configurations is complete. A value of true\n indicates that the list is not complete and the NextContinuationToken is provided for a\n subsequent request.

" } }, - "ContinuationToken": { - "target": "com.amazonaws.s3#Token", + "NextContinuationToken": { + "target": "com.amazonaws.s3#NextToken", "traits": { - "smithy.api#documentation": "

If sent in the request, the marker that is used as a starting point for this inventory configuration list response.

" + "smithy.api#documentation": "

The marker used to continue this inventory configuration listing. Use the\n NextContinuationToken from this response to continue the listing in a\n subsequent request. The continuation token is an opaque value that Amazon S3 understands.

" } } } @@ -6481,19 +6806,19 @@ "smithy.api#required": {} } }, + "ContinuationToken": { + "target": "com.amazonaws.s3#Token", + "traits": { + "smithy.api#documentation": "

The marker used to continue an inventory configuration listing that has been truncated.\n Use the NextContinuationToken from a previously truncated list response to continue the\n listing. The continuation token is an opaque value that Amazon S3 understands.

", + "smithy.api#httpQuery": "continuation-token" + } + }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } - }, - "ContinuationToken": { - "target": "com.amazonaws.s3#Token", - "traits": { - "smithy.api#documentation": "

The marker used to continue an inventory configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.

", - "smithy.api#httpQuery": "continuation-token" - } } } }, @@ -6506,7 +6831,7 @@ "target": "com.amazonaws.s3#ListBucketMetricsConfigurationsOutput" }, "traits": { - "smithy.api#documentation": "

Lists the metrics configurations for the bucket. The metrics configurations are only for the request metrics of the bucket and do not provide information on daily storage metrics. You can have up to 1,000 configurations per bucket.

\n \n

This operation supports list pagination and does not return more than 100 configurations at a time. Always check the IsTruncated element in the response. If there are no more configurations to list, IsTruncated is set to false. If there are more configurations to list, IsTruncated is set to true, and there is a value in NextContinuationToken. You use the NextContinuationToken value to continue the pagination of the list by passing the value in continuation-token in the request to GET the next page.

\n \n

To use this operation, you must have permissions to perform the s3:GetMetricsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

For more information about metrics configurations and CloudWatch request metrics, see Monitoring Metrics with Amazon CloudWatch.

\n \n

The following operations are related to ListBucketMetricsConfigurations:

\n ", + "smithy.api#documentation": "

Lists the metrics configurations for the bucket. The metrics configurations are only for\n the request metrics of the bucket and do not provide information on daily storage metrics.\n You can have up to 1,000 configurations per bucket.

\n\n

This operation supports list pagination and does not return more than 100 configurations\n at a time. Always check the IsTruncated element in the response. If there are\n no more configurations to list, IsTruncated is set to false. If there are more\n configurations to list, IsTruncated is set to true, and there is a value in\n NextContinuationToken. You use the NextContinuationToken value\n to continue the pagination of the list by passing the value in\n continuation-token in the request to GET the next page.

\n\n

To use this operation, you must have permissions to perform the\n s3:GetMetricsConfiguration action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

For more information about metrics configurations and CloudWatch request metrics, see\n Monitoring Metrics with Amazon\n CloudWatch.

\n\n

The following operations are related to\n ListBucketMetricsConfigurations:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?metrics&x-id=ListBucketMetricsConfigurations", @@ -6517,30 +6842,30 @@ "com.amazonaws.s3#ListBucketMetricsConfigurationsOutput": { "type": "structure", "members": { - "NextContinuationToken": { - "target": "com.amazonaws.s3#NextToken", + "IsTruncated": { + "target": "com.amazonaws.s3#IsTruncated", "traits": { - "smithy.api#documentation": "

The marker used to continue a metrics configuration listing that has been truncated. Use the\n NextContinuationToken from a previously truncated list response to continue\n the listing. The continuation token is an opaque value that Amazon S3 understands.

" + "smithy.api#documentation": "

Indicates whether the returned list of metrics configurations is complete. A value of\n true indicates that the list is not complete and the NextContinuationToken will be provided\n for a subsequent request.

" } }, - "MetricsConfigurationList": { - "target": "com.amazonaws.s3#MetricsConfigurationList", + "ContinuationToken": { + "target": "com.amazonaws.s3#Token", "traits": { - "smithy.api#documentation": "

The list of metrics configurations for a bucket.

", - "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "MetricsConfiguration" + "smithy.api#documentation": "

The marker that is used as a starting point for this metrics configuration list\n response. This value is present if it was sent in the request.

" } }, - "ContinuationToken": { - "target": "com.amazonaws.s3#Token", + "NextContinuationToken": { + "target": "com.amazonaws.s3#NextToken", "traits": { - "smithy.api#documentation": "

The marker that is used as a starting point for this metrics configuration list response. This value is present if it was sent in the request.

" + "smithy.api#documentation": "

The marker used to continue a metrics configuration listing that has been truncated. Use\n the NextContinuationToken from a previously truncated list response to\n continue the listing. The continuation token is an opaque value that Amazon S3\n understands.

" } }, - "IsTruncated": { - "target": "com.amazonaws.s3#IsTruncated", + "MetricsConfigurationList": { + "target": "com.amazonaws.s3#MetricsConfigurationList", "traits": { - "smithy.api#documentation": "

Indicates whether the returned list of metrics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request.

" + "smithy.api#documentation": "

The list of metrics configurations for a bucket.

", + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "MetricsConfiguration" } } } @@ -6548,10 +6873,18 @@ "com.amazonaws.s3#ListBucketMetricsConfigurationsRequest": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The name of the bucket containing the metrics configurations to retrieve.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "ContinuationToken": { "target": "com.amazonaws.s3#Token", "traits": { - "smithy.api#documentation": "

The marker that is used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.

", + "smithy.api#documentation": "

The marker that is used to continue a metrics configuration listing that has been\n truncated. Use the NextContinuationToken from a previously truncated list response to\n continue the listing. The continuation token is an opaque value that Amazon S3\n understands.

", "smithy.api#httpQuery": "continuation-token" } }, @@ -6561,14 +6894,6 @@ "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } - }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", - "traits": { - "smithy.api#documentation": "

The name of the bucket containing the metrics configurations to retrieve.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, @@ -6589,17 +6914,17 @@ "com.amazonaws.s3#ListBucketsOutput": { "type": "structure", "members": { - "Owner": { - "target": "com.amazonaws.s3#Owner", - "traits": { - "smithy.api#documentation": "

The owner of the buckets listed.

" - } - }, "Buckets": { "target": "com.amazonaws.s3#Buckets", "traits": { "smithy.api#documentation": "

The list of buckets owned by the requestor.

" } + }, + "Owner": { + "target": "com.amazonaws.s3#Owner", + "traits": { + "smithy.api#documentation": "

The owner of the buckets listed.

" + } } } }, @@ -6612,7 +6937,7 @@ "target": "com.amazonaws.s3#ListMultipartUploadsOutput" }, "traits": { - "smithy.api#documentation": "

This operation lists in-progress multipart uploads. An in-progress multipart upload is a multipart upload that has been initiated using the Initiate Multipart Upload request, but has not yet been completed or aborted.

\n \n

This operation returns at most 1,000 multipart uploads in the response. 1,000 multipart uploads is the maximum number of uploads a response can include, which is also the default value. You can further limit the number of uploads in a response by specifying the max-uploads parameter in the response. If additional multipart uploads satisfy the list criteria, the response will contain an IsTruncated element with the value true. To list the additional multipart uploads, use the key-marker and upload-id-marker request parameters.

\n \n

In the response, the uploads are sorted by key. If your application has initiated more than one multipart upload using the same object key, then uploads in the response are first sorted by key. Additionally, uploads are sorted in ascending order within each key by the upload initiation time.

\n \n

For more information on multipart uploads, see Uploading Objects Using Multipart Upload.

\n \n

For information on permissions required to use the multipart upload API, see Multipart Upload API and Permissions.

\n \n

The following operations are related to ListMultipartUploads:

\n ", + "smithy.api#documentation": "

This operation lists in-progress multipart uploads. An in-progress multipart upload is a\n multipart upload that has been initiated using the Initiate Multipart Upload request, but\n has not yet been completed or aborted.

\n\n

This operation returns at most 1,000 multipart uploads in the response. 1,000 multipart\n uploads is the maximum number of uploads a response can include, which is also the default\n value. You can further limit the number of uploads in a response by specifying the\n max-uploads parameter in the response. If additional multipart uploads\n satisfy the list criteria, the response will contain an IsTruncated element\n with the value true. To list the additional multipart uploads, use the\n key-marker and upload-id-marker request parameters.

\n\n

In the response, the uploads are sorted by key. If your application has initiated more\n than one multipart upload using the same object key, then uploads in the response are first\n sorted by key. Additionally, uploads are sorted in ascending order within each key by the\n upload initiation time.

\n\n

For more information on multipart uploads, see Uploading Objects Using Multipart\n Upload.

\n\n

For information on permissions required to use the multipart upload API, see Multipart Upload API and\n Permissions.

\n\n

The following operations are related to ListMultipartUploads:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?uploads", @@ -6623,10 +6948,10 @@ "com.amazonaws.s3#ListMultipartUploadsOutput": { "type": "structure", "members": { - "Delimiter": { - "target": "com.amazonaws.s3#Delimiter", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

Contains the delimiter you specified in the request. If you don't specify a delimiter in your request, this element is absent from the response.

" + "smithy.api#documentation": "

The name of the bucket to which the multipart upload was initiated.

" } }, "KeyMarker": { @@ -6635,30 +6960,28 @@ "smithy.api#documentation": "

The key at or after which the listing began.

" } }, - "MaxUploads": { - "target": "com.amazonaws.s3#MaxUploads", + "UploadIdMarker": { + "target": "com.amazonaws.s3#UploadIdMarker", "traits": { - "smithy.api#documentation": "

Maximum number of multipart uploads that could have been included in the response.

" + "smithy.api#documentation": "

Upload ID after which listing began.

" } }, - "EncodingType": { - "target": "com.amazonaws.s3#EncodingType", + "NextKeyMarker": { + "target": "com.amazonaws.s3#NextKeyMarker", "traits": { - "smithy.api#documentation": "

Encoding type used by Amazon S3 to encode object keys in the response.

\n

If you specify encoding-type request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:

\n \n

\n Delimiter, KeyMarker, Prefix, NextKeyMarker, Key.

" + "smithy.api#documentation": "

When a list is truncated, this element specifies the value that should be used for the\n key-marker request parameter in a subsequent request.

" } }, - "IsTruncated": { - "target": "com.amazonaws.s3#IsTruncated", + "Prefix": { + "target": "com.amazonaws.s3#Prefix", "traits": { - "smithy.api#documentation": "

Indicates whether the returned list of multipart uploads is truncated. A value of true indicates that the list was truncated. The list can be truncated if the number of multipart uploads exceeds the limit allowed or specified by max uploads.

" + "smithy.api#documentation": "

When a prefix is provided in the request, this field contains the specified prefix. The\n result contains only keys starting with the specified prefix.

" } }, - "Uploads": { - "target": "com.amazonaws.s3#MultipartUploadList", + "Delimiter": { + "target": "com.amazonaws.s3#Delimiter", "traits": { - "smithy.api#documentation": "

Container for elements related to a particular multipart upload. A response can contain\n zero or more Upload elements.

", - "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "Upload" + "smithy.api#documentation": "

Contains the delimiter you specified in the request. If you don't specify a delimiter in\n your request, this element is absent from the response.

" } }, "NextUploadIdMarker": { @@ -6667,35 +6990,37 @@ "smithy.api#documentation": "

When a list is truncated, this element specifies the value that should be used for the\n upload-id-marker request parameter in a subsequent request.

" } }, - "UploadIdMarker": { - "target": "com.amazonaws.s3#UploadIdMarker", + "MaxUploads": { + "target": "com.amazonaws.s3#MaxUploads", "traits": { - "smithy.api#documentation": "

Upload ID after which listing began.

" + "smithy.api#documentation": "

Maximum number of multipart uploads that could have been included in the\n response.

" } }, - "CommonPrefixes": { - "target": "com.amazonaws.s3#CommonPrefixList", + "IsTruncated": { + "target": "com.amazonaws.s3#IsTruncated", "traits": { - "smithy.api#documentation": "

If you specify a delimiter in the request, then the result returns each distinct key\n prefix containing the delimiter in a CommonPrefixes element. The distinct key\n prefixes are returned in the Prefix child element.

", - "smithy.api#xmlFlattened": {} + "smithy.api#documentation": "

Indicates whether the returned list of multipart uploads is truncated. A value of true\n indicates that the list was truncated. The list can be truncated if the number of multipart\n uploads exceeds the limit allowed or specified by max uploads.

" } }, - "Prefix": { - "target": "com.amazonaws.s3#Prefix", + "Uploads": { + "target": "com.amazonaws.s3#MultipartUploadList", "traits": { - "smithy.api#documentation": "

When a prefix is provided in the request, this field contains the specified prefix. The result contains only keys starting with the specified prefix.

" + "smithy.api#documentation": "

Container for elements related to a particular multipart upload. A response can contain\n zero or more Upload elements.

", + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "Upload" } }, - "NextKeyMarker": { - "target": "com.amazonaws.s3#NextKeyMarker", + "CommonPrefixes": { + "target": "com.amazonaws.s3#CommonPrefixList", "traits": { - "smithy.api#documentation": "

When a list is truncated, this element specifies the value that should be used for the key-marker request parameter in a subsequent request.

" + "smithy.api#documentation": "

If you specify a delimiter in the request, then the result returns each distinct key\n prefix containing the delimiter in a CommonPrefixes element. The distinct key\n prefixes are returned in the Prefix child element.

", + "smithy.api#xmlFlattened": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "EncodingType": { + "target": "com.amazonaws.s3#EncodingType", "traits": { - "smithy.api#documentation": "

The name of the bucket to which the multipart upload was initiated.

" + "smithy.api#documentation": "

Encoding type used by Amazon S3 to encode object keys in the response.

\n

If you specify encoding-type request parameter, Amazon S3 includes this element\n in the response, and returns encoded key name values in the following response\n elements:

\n\n

\n Delimiter, KeyMarker, Prefix,\n NextKeyMarker, Key.

" } } } @@ -6703,13 +7028,6 @@ "com.amazonaws.s3#ListMultipartUploadsRequest": { "type": "structure", "members": { - "UploadIdMarker": { - "target": "com.amazonaws.s3#UploadIdMarker", - "traits": { - "smithy.api#documentation": "

Together with key-marker, specifies the multipart upload after which listing should begin. If\n key-marker is not specified, the upload-id-marker parameter is ignored. Otherwise, any\n multipart uploads for a key equal to the key-marker might be included in the list only if\n they have an upload ID lexicographically greater than the specified\n upload-id-marker.

", - "smithy.api#httpQuery": "upload-id-marker" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -6718,46 +7036,53 @@ "smithy.api#required": {} } }, - "Prefix": { - "target": "com.amazonaws.s3#Prefix", - "traits": { - "smithy.api#documentation": "

Lists in-progress uploads only for those keys that begin with the specified prefix. You can use prefixes to separate a bucket into different grouping of keys. (You can think of using prefix to make groups in the same way you'd use a folder in a file system.)

", - "smithy.api#httpQuery": "prefix" - } - }, "Delimiter": { "target": "com.amazonaws.s3#Delimiter", "traits": { - "smithy.api#documentation": "

Character you use to group keys.

\n

All keys that contain the same string between the prefix, if specified, and the first occurrence of the delimiter after the prefix are grouped under a single result element, CommonPrefixes. If you don't specify the prefix parameter, then the substring starts at the beginning of the key. The keys that are grouped under CommonPrefixes result element are not returned elsewhere in the response.

", + "smithy.api#documentation": "

Character you use to group keys.

\n

All keys that contain the same string between the prefix, if specified, and the first\n occurrence of the delimiter after the prefix are grouped under a single result element,\n CommonPrefixes. If you don't specify the prefix parameter, then the\n substring starts at the beginning of the key. The keys that are grouped under\n CommonPrefixes result element are not returned elsewhere in the\n response.

", "smithy.api#httpQuery": "delimiter" } }, - "MaxUploads": { - "target": "com.amazonaws.s3#MaxUploads", + "EncodingType": { + "target": "com.amazonaws.s3#EncodingType", "traits": { - "smithy.api#documentation": "

Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 is the maximum number of uploads that can be returned in a response.

", - "smithy.api#httpQuery": "max-uploads" + "smithy.api#httpQuery": "encoding-type" } }, "KeyMarker": { "target": "com.amazonaws.s3#KeyMarker", "traits": { - "smithy.api#documentation": "

Together with upload-id-marker, this parameter specifies the multipart upload after which listing should begin.

\n

If upload-id-marker is not specified, only the keys lexicographically greater than the specified key-marker will be included in the list.

\n \n

If upload-id-marker is specified, any multipart uploads for a key equal to the key-marker might also be included, provided those multipart uploads have upload IDs lexicographically greater than the specified upload-id-marker.

", + "smithy.api#documentation": "

Together with upload-id-marker, this parameter specifies the multipart upload after\n which listing should begin.

\n

If upload-id-marker is not specified, only the keys lexicographically\n greater than the specified key-marker will be included in the list.

\n\n

If upload-id-marker is specified, any multipart uploads for a key equal to\n the key-marker might also be included, provided those multipart uploads have\n upload IDs lexicographically greater than the specified\n upload-id-marker.

", "smithy.api#httpQuery": "key-marker" } }, + "MaxUploads": { + "target": "com.amazonaws.s3#MaxUploads", + "traits": { + "smithy.api#documentation": "

Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response\n body. 1,000 is the maximum number of uploads that can be returned in a response.

", + "smithy.api#httpQuery": "max-uploads" + } + }, + "Prefix": { + "target": "com.amazonaws.s3#Prefix", + "traits": { + "smithy.api#documentation": "

Lists in-progress uploads only for those keys that begin with the specified prefix. You\n can use prefixes to separate a bucket into different grouping of keys. (You can think of\n using prefix to make groups in the same way you'd use a folder in a file system.)

", + "smithy.api#httpQuery": "prefix" + } + }, + "UploadIdMarker": { + "target": "com.amazonaws.s3#UploadIdMarker", + "traits": { + "smithy.api#documentation": "

Together with key-marker, specifies the multipart upload after which listing should\n begin. If key-marker is not specified, the upload-id-marker parameter is ignored.\n Otherwise, any multipart uploads for a key equal to the key-marker might be included in the\n list only if they have an upload ID lexicographically greater than the specified\n upload-id-marker.

", + "smithy.api#httpQuery": "upload-id-marker" + } + }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } - }, - "EncodingType": { - "target": "com.amazonaws.s3#EncodingType", - "traits": { - "smithy.api#httpQuery": "encoding-type" - } } } }, @@ -6770,7 +7095,7 @@ "target": "com.amazonaws.s3#ListObjectVersionsOutput" }, "traits": { - "smithy.api#documentation": "

Returns metadata about all versions of the objects in a bucket. You can also use request\n parameters as selection criteria to return metadata about a subset of all the object\n versions.

\n \n

A 200 OK response can contain valid or invalid XML. Make sure to design your application to parse the contents of the response and handle it appropriately.

\n
\n

To use this operation, you must have READ access to the bucket.

\n

This action is not supported by Amazon S3 on Outposts.

\n

The following operations are related to ListObjectVersions:

\n ", + "smithy.api#documentation": "

Returns metadata about all versions of the objects in a bucket. You can also use request\n parameters as selection criteria to return metadata about a subset of all the object\n versions.

\n \n

A 200 OK response can contain valid or invalid XML. Make sure to design your\n application to parse the contents of the response and handle it appropriately.

\n
\n

To use this operation, you must have READ access to the bucket.

\n

This action is not supported by Amazon S3 on Outposts.

\n

The following operations are related to\n ListObjectVersions:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?versions", @@ -6781,28 +7106,22 @@ "com.amazonaws.s3#ListObjectVersionsOutput": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.s3#BucketName", - "traits": { - "smithy.api#documentation": "

The bucket name.

" - } - }, - "Delimiter": { - "target": "com.amazonaws.s3#Delimiter", + "IsTruncated": { + "target": "com.amazonaws.s3#IsTruncated", "traits": { - "smithy.api#documentation": "

The delimiter grouping the included keys. A delimiter is a character that you specify to\n group keys. All keys that contain the same string between the prefix and the first\n occurrence of the delimiter are grouped under a single result element in\n CommonPrefixes. These groups are counted as one result against the max-keys\n limitation. These keys are not returned elsewhere in the response.

" + "smithy.api#documentation": "

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria. If your results were truncated, you can make a follow-up paginated request using\n the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in\n another request to return the rest of the results.

" } }, - "EncodingType": { - "target": "com.amazonaws.s3#EncodingType", + "KeyMarker": { + "target": "com.amazonaws.s3#KeyMarker", "traits": { - "smithy.api#documentation": "

\t\n Encoding type used by Amazon S3 to encode object key names in the XML response.

\n \n

If you specify encoding-type request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:

\n \n

\n KeyMarker, NextKeyMarker, Prefix, Key, and Delimiter.

" + "smithy.api#documentation": "

Marks the last key returned in a truncated response.

" } }, - "NextVersionIdMarker": { - "target": "com.amazonaws.s3#NextVersionIdMarker", + "VersionIdMarker": { + "target": "com.amazonaws.s3#VersionIdMarker", "traits": { - "smithy.api#documentation": "

When the number of responses exceeds the value of MaxKeys,\n NextVersionIdMarker specifies the first object version not returned that\n satisfies the search criteria. Use this value for the version-id-marker request parameter\n in a subsequent request.

" + "smithy.api#documentation": "

Marks the last version of the key returned in a truncated response.

" } }, "NextKeyMarker": { @@ -6811,29 +7130,32 @@ "smithy.api#documentation": "

When the number of responses exceeds the value of MaxKeys,\n NextKeyMarker specifies the first key not returned that satisfies the\n search criteria. Use this value for the key-marker request parameter in a subsequent\n request.

" } }, - "CommonPrefixes": { - "target": "com.amazonaws.s3#CommonPrefixList", + "NextVersionIdMarker": { + "target": "com.amazonaws.s3#NextVersionIdMarker", "traits": { - "smithy.api#documentation": "

All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.

", - "smithy.api#xmlFlattened": {} + "smithy.api#documentation": "

When the number of responses exceeds the value of MaxKeys,\n NextVersionIdMarker specifies the first object version not returned that\n satisfies the search criteria. Use this value for the version-id-marker request parameter\n in a subsequent request.

" } }, - "VersionIdMarker": { - "target": "com.amazonaws.s3#VersionIdMarker", + "Versions": { + "target": "com.amazonaws.s3#ObjectVersionList", "traits": { - "smithy.api#documentation": "

Marks the last version of the key returned in a truncated response.

" + "smithy.api#documentation": "

Container for version information.

", + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "Version" } }, - "IsTruncated": { - "target": "com.amazonaws.s3#IsTruncated", + "DeleteMarkers": { + "target": "com.amazonaws.s3#DeleteMarkers", "traits": { - "smithy.api#documentation": "

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria. If your results were truncated, you can make a follow-up paginated request using\n the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in\n another request to return the rest of the results.

" + "smithy.api#documentation": "

Container for an object that is a delete marker.

", + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "DeleteMarker" } }, - "MaxKeys": { - "target": "com.amazonaws.s3#MaxKeys", + "Name": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

Specifies the maximum number of objects to return.

" + "smithy.api#documentation": "

The bucket name.

" } }, "Prefix": { @@ -6842,26 +7164,29 @@ "smithy.api#documentation": "

Selects objects that start with the value supplied by this parameter.

" } }, - "Versions": { - "target": "com.amazonaws.s3#ObjectVersionList", + "Delimiter": { + "target": "com.amazonaws.s3#Delimiter", "traits": { - "smithy.api#documentation": "

Container for version information.

", - "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "Version" + "smithy.api#documentation": "

The delimiter grouping the included keys. A delimiter is a character that you specify to\n group keys. All keys that contain the same string between the prefix and the first\n occurrence of the delimiter are grouped under a single result element in\n CommonPrefixes. These groups are counted as one result against the max-keys\n limitation. These keys are not returned elsewhere in the response.

" } }, - "DeleteMarkers": { - "target": "com.amazonaws.s3#DeleteMarkers", + "MaxKeys": { + "target": "com.amazonaws.s3#MaxKeys", "traits": { - "smithy.api#documentation": "

Container for an object that is a delete marker.

", - "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "DeleteMarker" + "smithy.api#documentation": "

Specifies the maximum number of objects to return.

" } }, - "KeyMarker": { - "target": "com.amazonaws.s3#KeyMarker", + "CommonPrefixes": { + "target": "com.amazonaws.s3#CommonPrefixList", "traits": { - "smithy.api#documentation": "

Marks the last key returned in a truncated response.

" + "smithy.api#documentation": "

All of the keys rolled up into a common prefix count as a single return when calculating\n the number of returns.

", + "smithy.api#xmlFlattened": {} + } + }, + "EncodingType": { + "target": "com.amazonaws.s3#EncodingType", + "traits": { + "smithy.api#documentation": "

Encoding type used by Amazon S3 to encode object key names in the XML response.

\n\n

If you specify encoding-type request parameter, Amazon S3 includes this element in the\n response, and returns encoded key name values in the following response elements:

\n\n

\n KeyMarker, NextKeyMarker, Prefix, Key, and Delimiter.

" } } } @@ -6869,60 +7194,60 @@ "com.amazonaws.s3#ListObjectVersionsRequest": { "type": "structure", "members": { - "KeyMarker": { - "target": "com.amazonaws.s3#KeyMarker", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

Specifies the key to start with when listing objects in a bucket.

", - "smithy.api#httpQuery": "key-marker" + "smithy.api#documentation": "

The bucket name that contains the objects.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "MaxKeys": { - "target": "com.amazonaws.s3#MaxKeys", + "Delimiter": { + "target": "com.amazonaws.s3#Delimiter", "traits": { - "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the API returns up to 1,000 key names. The response might contain fewer keys but will never contain more. If additional keys satisfy the search criteria, but were not returned because max-keys was exceeded, the response contains true. To return the additional keys, see key-marker and version-id-marker.

", - "smithy.api#httpQuery": "max-keys" + "smithy.api#documentation": "

A delimiter is a character that you specify to group keys. All keys that contain the\n same string between the prefix and the first occurrence of the delimiter are\n grouped under a single result element in CommonPrefixes. These groups are counted as one\n result against the max-keys limitation. These keys are not returned elsewhere in the\n response.

", + "smithy.api#httpQuery": "delimiter" } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "EncodingType": { + "target": "com.amazonaws.s3#EncodingType", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#httpQuery": "encoding-type" } }, - "Delimiter": { - "target": "com.amazonaws.s3#Delimiter", + "KeyMarker": { + "target": "com.amazonaws.s3#KeyMarker", "traits": { - "smithy.api#documentation": "

A delimiter is a character that you specify to group keys. All keys that contain the same string between the prefix and the first occurrence of the delimiter are grouped under a single result element in CommonPrefixes. These groups are counted as one result against the max-keys limitation. These keys are not returned elsewhere in the response.

", - "smithy.api#httpQuery": "delimiter" + "smithy.api#documentation": "

Specifies the key to start with when listing objects in a bucket.

", + "smithy.api#httpQuery": "key-marker" } }, - "VersionIdMarker": { - "target": "com.amazonaws.s3#VersionIdMarker", + "MaxKeys": { + "target": "com.amazonaws.s3#MaxKeys", "traits": { - "smithy.api#documentation": "

Specifies the object version you want to start listing from.

", - "smithy.api#httpQuery": "version-id-marker" + "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the API returns up\n to 1,000 key names. The response might contain fewer keys but will never contain more. If\n additional keys satisfy the search criteria, but were not returned because max-keys was\n exceeded, the response contains true. To return the\n additional keys, see key-marker and version-id-marker.

", + "smithy.api#httpQuery": "max-keys" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "Prefix": { + "target": "com.amazonaws.s3#Prefix", "traits": { - "smithy.api#documentation": "

The bucket name that contains the objects.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

Use this parameter to select only those keys that begin with the specified prefix. You\n can use prefixes to separate a bucket into different groupings of keys. (You can think of\n using prefix to make groups in the same way you'd use a folder in a file system.) You can\n use prefix with delimiter to roll up numerous objects into a single result under\n CommonPrefixes.

", + "smithy.api#httpQuery": "prefix" } }, - "Prefix": { - "target": "com.amazonaws.s3#Prefix", + "VersionIdMarker": { + "target": "com.amazonaws.s3#VersionIdMarker", "traits": { - "smithy.api#documentation": "

Use this parameter to select only those keys that begin with the specified prefix. You can use prefixes to separate a bucket into different groupings of keys. (You can think of using prefix to make groups in the same way you'd use a folder in a file system.) You can use prefix with delimiter to roll up numerous objects into a single result under CommonPrefixes.

", - "smithy.api#httpQuery": "prefix" + "smithy.api#documentation": "

Specifies the object version you want to start listing from.

", + "smithy.api#httpQuery": "version-id-marker" } }, - "EncodingType": { - "target": "com.amazonaws.s3#EncodingType", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#httpQuery": "encoding-type" + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -6941,7 +7266,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns some or all (up to 1,000) of the objects in a bucket. You can use the request\n parameters as selection criteria to return a subset of the objects in a bucket. A 200 OK\n response can contain valid or invalid XML. Be sure to design your application to parse the\n contents of the response and handle it appropriately.

\n \n

This API has been revised. We recommend that you use the newer version, ListObjectsV2, when developing applications. For backward compatibility, Amazon S3 continues to support ListObjects.

\n
\n \n \n

The following operations are related to ListObjects:

\n ", + "smithy.api#documentation": "

Returns some or all (up to 1,000) of the objects in a bucket. You can use the request\n parameters as selection criteria to return a subset of the objects in a bucket. A 200 OK\n response can contain valid or invalid XML. Be sure to design your application to parse the\n contents of the response and handle it appropriately.

\n \n

This API has been revised. We recommend that you use the newer version, ListObjectsV2, when developing applications. For backward compatibility,\n Amazon S3 continues to support ListObjects.

\n
\n\n\n

The following operations are related to ListObjects:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}", @@ -6952,10 +7277,22 @@ "com.amazonaws.s3#ListObjectsOutput": { "type": "structure", "members": { - "MaxKeys": { - "target": "com.amazonaws.s3#MaxKeys", + "IsTruncated": { + "target": "com.amazonaws.s3#IsTruncated", "traits": { - "smithy.api#documentation": "

The maximum number of keys returned in the response body.

" + "smithy.api#documentation": "

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria.

" + } + }, + "Marker": { + "target": "com.amazonaws.s3#Marker", + "traits": { + "smithy.api#documentation": "

Indicates where in the bucket listing begins. Marker is included in the response if it\n was sent with the request.

" + } + }, + "NextMarker": { + "target": "com.amazonaws.s3#NextMarker", + "traits": { + "smithy.api#documentation": "

When response is truncated (the IsTruncated element value in the response is true), you\n can use the key name in this field as marker in the subsequent request to get next set of\n objects. Amazon S3 lists objects in alphabetical order Note: This element is returned only if\n you have delimiter request parameter specified. If response does not include the NextMarker\n and it is truncated, you can use the value of the last Key in the response as the marker in\n the subsequent request to get the next set of object keys.

" } }, "Contents": { @@ -6965,72 +7302,67 @@ "smithy.api#xmlFlattened": {} } }, - "Delimiter": { - "target": "com.amazonaws.s3#Delimiter", - "traits": { - "smithy.api#documentation": "

Causes keys that contain the same string between the prefix and the first occurrence of\n the delimiter to be rolled up into a single result element in the\n CommonPrefixes collection. These rolled-up keys are not returned elsewhere\n in the response. Each rolled-up result counts as only one return against the\n MaxKeys value.

" - } - }, "Name": { "target": "com.amazonaws.s3#BucketName", "traits": { "smithy.api#documentation": "

The bucket name.

" } }, - "IsTruncated": { - "target": "com.amazonaws.s3#IsTruncated", - "traits": { - "smithy.api#documentation": "

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria.

" - } - }, - "NextMarker": { - "target": "com.amazonaws.s3#NextMarker", - "traits": { - "smithy.api#documentation": "

When response is truncated (the IsTruncated element value in the response is true), you can use the key name in this field as marker in the subsequent request to get next set of objects. Amazon S3 lists objects in alphabetical order Note: This element is returned only if you have delimiter request parameter specified. If response does not include the NextMarker and it is truncated, you can use the value of the last Key in the response as the marker in the subsequent request to get the next set of object keys.

" - } - }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "

Keys that begin with the indicated prefix.

" } }, - "Marker": { - "target": "com.amazonaws.s3#Marker", + "Delimiter": { + "target": "com.amazonaws.s3#Delimiter", "traits": { - "smithy.api#documentation": "

Indicates where in the bucket listing begins. Marker is included in the response if it was sent with the request.

" + "smithy.api#documentation": "

Causes keys that contain the same string between the prefix and the first occurrence of\n the delimiter to be rolled up into a single result element in the\n CommonPrefixes collection. These rolled-up keys are not returned elsewhere\n in the response. Each rolled-up result counts as only one return against the\n MaxKeys value.

" } }, - "EncodingType": { - "target": "com.amazonaws.s3#EncodingType", + "MaxKeys": { + "target": "com.amazonaws.s3#MaxKeys", "traits": { - "smithy.api#documentation": "

Encoding type used by Amazon S3 to encode object keys in the response.

" + "smithy.api#documentation": "

The maximum number of keys returned in the response body.

" } }, "CommonPrefixes": { "target": "com.amazonaws.s3#CommonPrefixList", "traits": { - "smithy.api#documentation": "

All of the keys rolled up in a common prefix count as a single return when calculating the number of returns.

\n \n

A response can contain CommonPrefixes only if you specify a delimiter.

\n \n

CommonPrefixes contains all (if there are any) keys between Prefix and the next occurrence of the string specified by the delimiter.

\n \n

CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix.

\n \n

For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/. All of the keys that roll up into a common prefix count as a single return when calculating the number of returns.

", + "smithy.api#documentation": "

All of the keys rolled up in a common prefix count as a single return when calculating\n the number of returns.

\n\n

A response can contain CommonPrefixes only if you specify a delimiter.

\n\n

CommonPrefixes contains all (if there are any) keys between Prefix and the next\n occurrence of the string specified by the delimiter.

\n\n

CommonPrefixes lists keys that act like subdirectories in the directory specified by\n Prefix.

\n\n

For example, if the prefix is notes/ and the delimiter is a slash (/) as in\n notes/summer/july, the common prefix is notes/summer/. All of the keys that roll up into a\n common prefix count as a single return when calculating the number of returns.

", "smithy.api#xmlFlattened": {} } + }, + "EncodingType": { + "target": "com.amazonaws.s3#EncodingType", + "traits": { + "smithy.api#documentation": "

Encoding type used by Amazon S3 to encode object keys in the response.

" + } } } }, "com.amazonaws.s3#ListObjectsRequest": { "type": "structure", "members": { - "MaxKeys": { - "target": "com.amazonaws.s3#MaxKeys", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the API returns up to 1,000 key names. The response might contain fewer keys but will never contain more.

", - "smithy.api#httpQuery": "max-keys" + "smithy.api#documentation": "

The name of the bucket containing the objects.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "Delimiter": { + "target": "com.amazonaws.s3#Delimiter", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

A delimiter is a character you use to group keys.

", + "smithy.api#httpQuery": "delimiter" + } + }, + "EncodingType": { + "target": "com.amazonaws.s3#EncodingType", + "traits": { + "smithy.api#httpQuery": "encoding-type" } }, "Marker": { @@ -7040,6 +7372,13 @@ "smithy.api#httpQuery": "marker" } }, + "MaxKeys": { + "target": "com.amazonaws.s3#MaxKeys", + "traits": { + "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the API returns up\n to 1,000 key names. The response might contain fewer keys but will never contain more.\n

", + "smithy.api#httpQuery": "max-keys" + } + }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { @@ -7047,32 +7386,18 @@ "smithy.api#httpQuery": "prefix" } }, - "Delimiter": { - "target": "com.amazonaws.s3#Delimiter", - "traits": { - "smithy.api#documentation": "

A delimiter is a character you use to group keys.

", - "smithy.api#httpQuery": "delimiter" - } - }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", - "traits": { - "smithy.api#documentation": "

The name of the bucket containing the objects.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

Confirms that the requester knows that she or he will be charged for the list objects request. Bucket owners need not specify this parameter in their requests.

", + "smithy.api#documentation": "

Confirms that the requester knows that she or he will be charged for the list objects\n request. Bucket owners need not specify this parameter in their requests.

", "smithy.api#httpHeader": "x-amz-request-payer" } }, - "EncodingType": { - "target": "com.amazonaws.s3#EncodingType", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#httpQuery": "encoding-type" + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -7091,7 +7416,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns some or all (up to 1,000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. A 200 OK response can contain valid or invalid XML. Make sure to design your application to parse the contents of the response and handle it appropriately.

\n \n

To use this operation, you must have READ access to the bucket.

\n \n

To use this operation in an AWS Identity and Access Management (IAM) policy, you must have permissions to perform the s3:ListBucket action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

This section describes the latest revision of the API. We recommend that you use this revised API for application development. For backward compatibility, Amazon S3 continues to support the prior version of this API, ListObjects.

\n
\n \n

To get a list of your buckets, see ListBuckets.

\n \n

The following operations are related to ListObjectsV2:

\n ", + "smithy.api#documentation": "

Returns some or all (up to 1,000) of the objects in a bucket. You can use the request\n parameters as selection criteria to return a subset of the objects in a bucket. A 200\n OK response can contain valid or invalid XML. Make sure to design your\n application to parse the contents of the response and handle it appropriately.

\n\n

To use this operation, you must have READ access to the bucket.

\n\n

To use this operation in an AWS Identity and Access Management (IAM) policy, you must\n have permissions to perform the s3:ListBucket action. The bucket owner has\n this permission by default and can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n \n

This section describes the latest revision of the API. We recommend that you use this\n revised API for application development. For backward compatibility, Amazon S3 continues to\n support the prior version of this API, ListObjects.

\n
\n\n

To get a list of your buckets, see ListBuckets.

\n\n

The following operations are related to ListObjectsV2:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?list-type=2", @@ -7107,16 +7432,17 @@ "com.amazonaws.s3#ListObjectsV2Output": { "type": "structure", "members": { - "Delimiter": { - "target": "com.amazonaws.s3#Delimiter", + "IsTruncated": { + "target": "com.amazonaws.s3#IsTruncated", "traits": { - "smithy.api#documentation": "

Causes keys that contain the same string between the prefix and the first occurrence of the\n delimiter to be rolled up into a single result element in the CommonPrefixes collection.\n These rolled-up keys are not returned elsewhere in the response. Each rolled-up result\n counts as only one return against the MaxKeys value.

" + "smithy.api#documentation": "

Set to false if all of the results were returned. Set to true if more keys are available\n to return. If the number of results exceeds that specified by MaxKeys, all of the results\n might not be returned.

" } }, - "IsTruncated": { - "target": "com.amazonaws.s3#IsTruncated", + "Contents": { + "target": "com.amazonaws.s3#ObjectList", "traits": { - "smithy.api#documentation": "

Set to false if all of the results were returned. Set to true if more keys are available to return. If the number of results exceeds that specified by MaxKeys, all of the results might not be returned.

" + "smithy.api#documentation": "

Metadata about each object returned.

", + "smithy.api#xmlFlattened": {} } }, "Name": { @@ -7125,60 +7451,59 @@ "smithy.api#documentation": "

The bucket name.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

" } }, - "EncodingType": { - "target": "com.amazonaws.s3#EncodingType", + "Prefix": { + "target": "com.amazonaws.s3#Prefix", "traits": { - "smithy.api#documentation": "

Encoding type used by Amazon S3 to encode object key names in the XML response.

\n \n

If you specify the encoding-type request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:

\n \n

\n Delimiter, Prefix, Key, and StartAfter.

" + "smithy.api#documentation": "

Keys that begin with the indicated prefix.

" } }, - "ContinuationToken": { - "target": "com.amazonaws.s3#Token", + "Delimiter": { + "target": "com.amazonaws.s3#Delimiter", "traits": { - "smithy.api#documentation": "

\t\n If ContinuationToken was sent with the request, it is included in the response.

" + "smithy.api#documentation": "

Causes keys that contain the same string between the prefix and the first occurrence of\n the delimiter to be rolled up into a single result element in the CommonPrefixes\n collection. These rolled-up keys are not returned elsewhere in the response. Each rolled-up\n result counts as only one return against the MaxKeys value.

" } }, - "Contents": { - "target": "com.amazonaws.s3#ObjectList", + "MaxKeys": { + "target": "com.amazonaws.s3#MaxKeys", "traits": { - "smithy.api#documentation": "

Metadata about each object returned.

", - "smithy.api#xmlFlattened": {} + "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the API returns up\n to 1,000 key names. The response might contain fewer keys but will never contain\n more.

" } }, "CommonPrefixes": { "target": "com.amazonaws.s3#CommonPrefixList", "traits": { - "smithy.api#documentation": "

All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.

\n \n

A response can contain CommonPrefixes only if you specify a delimiter.

\n \n

\n CommonPrefixes contains all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter.

\n \n

\n CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix.

\n \n

For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/. All of the keys that roll up into a common prefix count as a single return when calculating the number of returns.

", + "smithy.api#documentation": "

All of the keys rolled up into a common prefix count as a single return when calculating\n the number of returns.

\n\n

A response can contain CommonPrefixes only if you specify a\n delimiter.

\n\n

\n CommonPrefixes contains all (if there are any) keys between\n Prefix and the next occurrence of the string specified by a\n delimiter.

\n\n

\n CommonPrefixes lists keys that act like subdirectories in the directory\n specified by Prefix.

\n\n

For example, if the prefix is notes/ and the delimiter is a slash\n (/) as in notes/summer/july, the common prefix is\n notes/summer/. All of the keys that roll up into a common prefix count as a\n single return when calculating the number of returns.

", "smithy.api#xmlFlattened": {} } }, - "StartAfter": { - "target": "com.amazonaws.s3#StartAfter", + "EncodingType": { + "target": "com.amazonaws.s3#EncodingType", "traits": { - "smithy.api#documentation": "

If StartAfter was sent with the request, it is included in the response.

" + "smithy.api#documentation": "

Encoding type used by Amazon S3 to encode object key names in the XML response.

\n\n

If you specify the encoding-type request parameter, Amazon S3 includes this element in the\n response, and returns encoded key name values in the following response elements:

\n\n

\n Delimiter, Prefix, Key, and StartAfter.

" } }, - "NextContinuationToken": { - "target": "com.amazonaws.s3#NextToken", + "KeyCount": { + "target": "com.amazonaws.s3#KeyCount", "traits": { - "smithy.api#documentation": "

\n NextContinuationToken is sent when isTruncated is true, which means\n there are more keys in the bucket that can be listed. The next list requests to Amazon S3\n can be continued with this NextContinuationToken.\n NextContinuationToken is obfuscated and is not a real key

" + "smithy.api#documentation": "

KeyCount is the number of keys returned with this request. KeyCount will always be less\n than equals to MaxKeys field. Say you ask for 50 keys, your result will include less than\n equals 50 keys

" } }, - "MaxKeys": { - "target": "com.amazonaws.s3#MaxKeys", + "ContinuationToken": { + "target": "com.amazonaws.s3#Token", "traits": { - "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the API returns up to 1,000 key names. The response might contain fewer keys but will never contain more.

" + "smithy.api#documentation": "

If ContinuationToken was sent with the request, it is included in the response.

" } }, - "KeyCount": { - "target": "com.amazonaws.s3#KeyCount", + "NextContinuationToken": { + "target": "com.amazonaws.s3#NextToken", "traits": { - "smithy.api#documentation": "

KeyCount is the number of keys returned with this request. KeyCount will always be less than equals to MaxKeys field. Say you ask for 50 keys, your result will include less than equals 50 keys

" + "smithy.api#documentation": "

\n NextContinuationToken is sent when isTruncated is true, which\n means there are more keys in the bucket that can be listed. The next list requests to Amazon S3\n can be continued with this NextContinuationToken.\n NextContinuationToken is obfuscated and is not a real key

" } }, - "Prefix": { - "target": "com.amazonaws.s3#Prefix", + "StartAfter": { + "target": "com.amazonaws.s3#StartAfter", "traits": { - "smithy.api#documentation": "

\t\n Keys that begin with the indicated prefix.

" + "smithy.api#documentation": "

If StartAfter was sent with the request, it is included in the response.

" } } } @@ -7186,25 +7511,19 @@ "com.amazonaws.s3#ListObjectsV2Request": { "type": "structure", "members": { - "ContinuationToken": { - "target": "com.amazonaws.s3#Token", - "traits": { - "smithy.api#documentation": "

ContinuationToken indicates Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key.

", - "smithy.api#httpQuery": "continuation-token" - } - }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

Bucket name to list.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "FetchOwner": { - "target": "com.amazonaws.s3#FetchOwner", + "Delimiter": { + "target": "com.amazonaws.s3#Delimiter", "traits": { - "smithy.api#documentation": "

The owner field is not present in listV2 by default, if you want to return owner field with\n each key in the result then set the fetch owner field to true.

", - "smithy.api#httpQuery": "fetch-owner" + "smithy.api#documentation": "

A delimiter is a character you use to group keys.

", + "smithy.api#httpQuery": "delimiter" } }, "EncodingType": { @@ -7214,11 +7533,11 @@ "smithy.api#httpQuery": "encoding-type" } }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "MaxKeys": { + "target": "com.amazonaws.s3#MaxKeys", "traits": { - "smithy.api#documentation": "

Confirms that the requester knows that she or he will be charged for the list objects request in V2 style. Bucket owners need not specify this parameter in their requests.

", - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the API returns up\n to 1,000 key names. The response might contain fewer keys but will never contain\n more.

", + "smithy.api#httpQuery": "max-keys" } }, "Prefix": { @@ -7228,33 +7547,39 @@ "smithy.api#httpQuery": "prefix" } }, - "StartAfter": { - "target": "com.amazonaws.s3#StartAfter", + "ContinuationToken": { + "target": "com.amazonaws.s3#Token", "traits": { - "smithy.api#documentation": "

StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified key. StartAfter can be any key in the bucket.

", - "smithy.api#httpQuery": "start-after" + "smithy.api#documentation": "

ContinuationToken indicates Amazon S3 that the list is being continued on this bucket with a\n token. ContinuationToken is obfuscated and is not a real key.

", + "smithy.api#httpQuery": "continuation-token" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "FetchOwner": { + "target": "com.amazonaws.s3#FetchOwner", "traits": { - "smithy.api#documentation": "

Bucket name to list.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The owner field is not present in listV2 by default, if you want to return owner field\n with each key in the result then set the fetch owner field to true.

", + "smithy.api#httpQuery": "fetch-owner" } }, - "Delimiter": { - "target": "com.amazonaws.s3#Delimiter", + "StartAfter": { + "target": "com.amazonaws.s3#StartAfter", "traits": { - "smithy.api#documentation": "

A delimiter is a character you use to group keys.

", - "smithy.api#httpQuery": "delimiter" + "smithy.api#documentation": "

StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this\n specified key. StartAfter can be any key in the bucket.

", + "smithy.api#httpQuery": "start-after" } }, - "MaxKeys": { - "target": "com.amazonaws.s3#MaxKeys", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the API returns up to 1,000 key names. The response might contain fewer keys but will never contain more.

", - "smithy.api#httpQuery": "max-keys" + "smithy.api#documentation": "

Confirms that the requester knows that she or he will be charged for the list objects\n request in V2 style. Bucket owners need not specify this parameter in their\n requests.

", + "smithy.api#httpHeader": "x-amz-request-payer" + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -7268,40 +7593,41 @@ "target": "com.amazonaws.s3#ListPartsOutput" }, "traits": { - "smithy.api#documentation": "

Lists the parts that have been uploaded for a specific multipart upload. This operation must include the upload ID, which you obtain by sending the initiate multipart upload request (see CreateMultipartUpload). This request returns a maximum of 1,000 uploaded parts. The default number of parts returned is 1,000 parts. You can restrict the number of parts returned by specifying the max-parts request parameter. If your multipart upload consists of more than 1,000 parts, the response returns an IsTruncated field with the value of true, and a NextPartNumberMarker element. In subsequent ListParts requests you can include the part-number-marker query string parameter and set its value to the NextPartNumberMarker field value from the previous response.

\n \n

For more information on multipart uploads, see Uploading Objects Using Multipart Upload.

\n \n

For information on permissions required to use the multipart upload API, see Multipart Upload API and Permissions.

\n \n

The following operations are related to ListParts:

\n ", + "smithy.api#documentation": "

Lists the parts that have been uploaded for a specific multipart upload. This operation\n must include the upload ID, which you obtain by sending the initiate multipart upload\n request (see CreateMultipartUpload).\n This request returns a maximum of 1,000 uploaded parts. The default number of parts\n returned is 1,000 parts. You can restrict the number of parts returned by specifying the\n max-parts request parameter. If your multipart upload consists of more than\n 1,000 parts, the response returns an IsTruncated field with the value of true,\n and a NextPartNumberMarker element. In subsequent ListParts\n requests you can include the part-number-marker query string parameter and set its value to\n the NextPartNumberMarker field value from the previous response.

\n\n

For more information on multipart uploads, see Uploading Objects Using Multipart\n Upload.

\n\n

For information on permissions required to use the multipart upload API, see Multipart Upload API and\n Permissions.

\n\n

The following operations are related to ListParts:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}/{Key+}?x-id=ListParts", "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "PartNumberMarker", + "outputToken": "NextPartNumberMarker", + "items": "Parts", + "pageSize": "MaxParts" } } }, "com.amazonaws.s3#ListPartsOutput": { "type": "structure", "members": { - "StorageClass": { - "target": "com.amazonaws.s3#StorageClass", + "AbortDate": { + "target": "com.amazonaws.s3#AbortDate", "traits": { - "smithy.api#documentation": "

Class of storage (STANDARD or REDUCED_REDUNDANCY) used to store the uploaded object.

" + "smithy.api#documentation": "

If the bucket has a lifecycle rule configured with an action to abort incomplete\n multipart uploads and the prefix in the lifecycle rule matches the object name in the\n request, then the response includes this header indicating when the initiated multipart\n upload will become eligible for abort operation. For more information, see Aborting\n Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

\n\n

The response will also include the x-amz-abort-rule-id header that will\n provide the ID of the lifecycle configuration rule that defines this action.

", + "smithy.api#httpHeader": "x-amz-abort-date" } }, "AbortRuleId": { "target": "com.amazonaws.s3#AbortRuleId", "traits": { - "smithy.api#documentation": "

This header is returned along with the x-amz-abort-date header. It identifies\n applicable lifecycle configuration rule that defines the action to abort incomplete\n multipart uploads.

", + "smithy.api#documentation": "

This header is returned along with the x-amz-abort-date header. It\n identifies applicable lifecycle configuration rule that defines the action to abort\n incomplete multipart uploads.

", "smithy.api#httpHeader": "x-amz-abort-rule-id" } }, - "Owner": { - "target": "com.amazonaws.s3#Owner", - "traits": { - "smithy.api#documentation": "

\t\n Container element that identifies the object owner, after the object is created. If multipart upload is initiated by an IAM user, this element provides the parent account ID and display name.

" - } - }, - "NextPartNumberMarker": { - "target": "com.amazonaws.s3#NextPartNumberMarker", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.

" + "smithy.api#documentation": "

The name of the bucket to which the multipart upload was initiated.

" } }, "Key": { @@ -7310,22 +7636,22 @@ "smithy.api#documentation": "

Object key for which the multipart upload was initiated.

" } }, - "PartNumberMarker": { - "target": "com.amazonaws.s3#PartNumberMarker", + "UploadId": { + "target": "com.amazonaws.s3#MultipartUploadId", "traits": { - "smithy.api#documentation": "

When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.

" + "smithy.api#documentation": "

Upload ID identifying the multipart upload whose parts are being listed.

" } }, - "Initiator": { - "target": "com.amazonaws.s3#Initiator", + "PartNumberMarker": { + "target": "com.amazonaws.s3#PartNumberMarker", "traits": { - "smithy.api#documentation": "

Container element that identifies who initiated the multipart upload. If the initiator is an\n AWS account, this element provides the same information as the Owner element.\n If the initiator is an IAM User, this element provides the user ARN and display\n name.

" + "smithy.api#documentation": "

When a list is truncated, this element specifies the last part in the list, as well as\n the value to use for the part-number-marker request parameter in a subsequent\n request.

" } }, - "RequestCharged": { - "target": "com.amazonaws.s3#RequestCharged", + "NextPartNumberMarker": { + "target": "com.amazonaws.s3#NextPartNumberMarker", "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" + "smithy.api#documentation": "

When a list is truncated, this element specifies the last part in the list, as well as\n the value to use for the part-number-marker request parameter in a subsequent\n request.

" } }, "MaxParts": { @@ -7334,11 +7660,10 @@ "smithy.api#documentation": "

Maximum number of parts that were allowed in the response.

" } }, - "AbortDate": { - "target": "com.amazonaws.s3#AbortDate", + "IsTruncated": { + "target": "com.amazonaws.s3#IsTruncated", "traits": { - "smithy.api#documentation": "

If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the prefix in the lifecycle rule matches the object name in the request, then the response includes this header indicating when the initiated multipart upload will become eligible for abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

\n \n

The response will also include the x-amz-abort-rule-id header that will\n provide the ID of the lifecycle configuration rule that defines this action.

", - "smithy.api#httpHeader": "x-amz-abort-date" + "smithy.api#documentation": "

Indicates whether the returned list of parts is truncated. A true value indicates that\n the list was truncated. A list can be truncated if the number of parts exceeds the limit\n returned in the MaxParts element.

" } }, "Parts": { @@ -7349,22 +7674,28 @@ "smithy.api#xmlName": "Part" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "Initiator": { + "target": "com.amazonaws.s3#Initiator", + "traits": { + "smithy.api#documentation": "

Container element that identifies who initiated the multipart upload. If the initiator\n is an AWS account, this element provides the same information as the Owner\n element. If the initiator is an IAM User, this element provides the user ARN and display\n name.

" + } + }, + "Owner": { + "target": "com.amazonaws.s3#Owner", "traits": { - "smithy.api#documentation": "

The name of the bucket to which the multipart upload was initiated.

" + "smithy.api#documentation": "

Container element that identifies the object owner, after the object is created. If\n multipart upload is initiated by an IAM user, this element provides the parent account ID\n and display name.

" } }, - "IsTruncated": { - "target": "com.amazonaws.s3#IsTruncated", + "StorageClass": { + "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "

\t\n Indicates whether the returned list of parts is truncated. A true value indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts element.

" + "smithy.api#documentation": "

Class of storage (STANDARD or REDUCED_REDUNDANCY) used to store the uploaded\n object.

" } }, - "UploadId": { - "target": "com.amazonaws.s3#MultipartUploadId", + "RequestCharged": { + "target": "com.amazonaws.s3#RequestCharged", "traits": { - "smithy.api#documentation": "

Upload ID identifying the multipart upload whose parts are being listed.

" + "smithy.api#httpHeader": "x-amz-request-charged" } } } @@ -7372,24 +7703,18 @@ "com.amazonaws.s3#ListPartsRequest": { "type": "structure", "members": { - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", - "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" - } - }, - "UploadId": { - "target": "com.amazonaws.s3#MultipartUploadId", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

Upload ID identifying the multipart upload whose parts are being listed.

", - "smithy.api#httpQuery": "uploadId", + "smithy.api#documentation": "

The name of the bucket to which the parts are being uploaded.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

The name of the bucket to which the parts are being uploaded.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#documentation": "

Object key for which the multipart upload was initiated.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -7404,18 +7729,24 @@ "PartNumberMarker": { "target": "com.amazonaws.s3#PartNumberMarker", "traits": { - "smithy.api#documentation": "

Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.

", + "smithy.api#documentation": "

Specifies the part after which listing should begin. Only parts with higher part numbers\n will be listed.

", "smithy.api#httpQuery": "part-number-marker" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "UploadId": { + "target": "com.amazonaws.s3#MultipartUploadId", "traits": { - "smithy.api#documentation": "

Object key for which the multipart upload was initiated.

", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "

Upload ID identifying the multipart upload whose parts are being listed.

", + "smithy.api#httpQuery": "uploadId", "smithy.api#required": {} } }, + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", + "traits": { + "smithy.api#httpHeader": "x-amz-request-payer" + } + }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { @@ -7434,12 +7765,6 @@ "com.amazonaws.s3#LoggingEnabled": { "type": "structure", "members": { - "TargetGrants": { - "target": "com.amazonaws.s3#TargetGrants", - "traits": { - "smithy.api#documentation": "

Container for granting information.

" - } - }, "TargetBucket": { "target": "com.amazonaws.s3#TargetBucket", "traits": { @@ -7447,16 +7772,22 @@ "smithy.api#required": {} } }, + "TargetGrants": { + "target": "com.amazonaws.s3#TargetGrants", + "traits": { + "smithy.api#documentation": "

Container for granting information.

" + } + }, "TargetPrefix": { "target": "com.amazonaws.s3#TargetPrefix", "traits": { - "smithy.api#documentation": "

A prefix for all log object keys. If you store log files from multiple Amazon S3\n buckets in a single bucket, you can use a prefix to distinguish which log files\n came from which bucket.

", + "smithy.api#documentation": "

A prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a\n single bucket, you can use a prefix to distinguish which log files came from which\n bucket.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for\n a bucket. For more information, see PUT Bucket logging in the\n Amazon Simple Storage Service API Reference.

" + "smithy.api#documentation": "

Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys\n for a bucket. For more information, see PUT Bucket logging in the\n Amazon Simple Storage Service API Reference.

" } }, "com.amazonaws.s3#MFA": { @@ -7531,17 +7862,17 @@ "com.amazonaws.s3#MetadataEntry": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.s3#MetadataValue", - "traits": { - "smithy.api#documentation": "

Value of the Object.

" - } - }, "Name": { "target": "com.amazonaws.s3#MetadataKey", "traits": { "smithy.api#documentation": "

Name of the Object.

" } + }, + "Value": { + "target": "com.amazonaws.s3#MetadataValue", + "traits": { + "smithy.api#documentation": "

Value of the Object.

" + } } }, "traits": { @@ -7560,20 +7891,19 @@ "Status": { "target": "com.amazonaws.s3#MetricsStatus", "traits": { - "smithy.api#documentation": "

\n Specifies whether the replication metrics are enabled.\n

", + "smithy.api#documentation": "

Specifies whether the replication metrics are enabled.

", "smithy.api#required": {} } }, "EventThreshold": { "target": "com.amazonaws.s3#ReplicationTimeValue", "traits": { - "smithy.api#documentation": "

\n A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event.\n

", - "smithy.api#required": {} + "smithy.api#documentation": "

A container specifying the time threshold for emitting the\n s3:Replication:OperationMissedThreshold event.

" } } }, "traits": { - "smithy.api#documentation": "

A container specifying replication metrics-related settings enabling metrics and Amazon S3\n events for S3 Replication Time Control (S3 RTC). Must be specified together with a ReplicationTime\n block.

" + "smithy.api#documentation": "

A container specifying replication metrics-related settings enabling replication\n metrics and events.

" } }, "com.amazonaws.s3#MetricsAndOperator": { @@ -7595,7 +7925,7 @@ } }, "traits": { - "smithy.api#documentation": "

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator\n must have at least two predicates, and an object must match all of the predicates in order for the\n filter to apply.

" + "smithy.api#documentation": "

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.\n The operator must have at least two predicates, and an object must match all of the\n predicates in order for the filter to apply.

" } }, "com.amazonaws.s3#MetricsConfiguration": { @@ -7611,12 +7941,12 @@ "Filter": { "target": "com.amazonaws.s3#MetricsFilter", "traits": { - "smithy.api#documentation": "

Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction (MetricsAndOperator).

" + "smithy.api#documentation": "

Specifies a metrics configuration filter. The metrics configuration will only include\n objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction\n (MetricsAndOperator).

" } } }, "traits": { - "smithy.api#documentation": "

Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) \n from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. \n If you don't include the elements you want to keep, they are erased. For more information, see \n PUT Bucket metrics in the Amazon Simple Storage Service API Reference.

" + "smithy.api#documentation": "

Specifies a metrics configuration for the CloudWatch request metrics (specified by the\n metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics\n configuration, note that this is a full replacement of the existing metrics configuration.\n If you don't include the elements you want to keep, they are erased. For more information,\n see PUT Bucket\n metrics in the Amazon Simple Storage Service API Reference.

" } }, "com.amazonaws.s3#MetricsConfigurationList": { @@ -7628,12 +7958,6 @@ "com.amazonaws.s3#MetricsFilter": { "type": "structure", "members": { - "And": { - "target": "com.amazonaws.s3#MetricsAndOperator", - "traits": { - "smithy.api#documentation": "

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.

" - } - }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { @@ -7645,10 +7969,16 @@ "traits": { "smithy.api#documentation": "

The tag used when evaluating a metrics filter.

" } + }, + "And": { + "target": "com.amazonaws.s3#MetricsAndOperator", + "traits": { + "smithy.api#documentation": "

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.\n The operator must have at least two predicates, and an object must match all of the\n predicates in order for the filter to apply.

" + } } }, "traits": { - "smithy.api#documentation": "

Specifies a metrics configuration filter. The metrics configuration only\n includes objects that meet the filter's criteria. A filter must be a prefix, a\n tag, or a conjunction (MetricsAndOperator).

" + "smithy.api#documentation": "

Specifies a metrics configuration filter. The metrics configuration only includes\n objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction\n (MetricsAndOperator).

" } }, "com.amazonaws.s3#MetricsId": { @@ -7676,12 +8006,6 @@ "com.amazonaws.s3#MultipartUpload": { "type": "structure", "members": { - "Initiator": { - "target": "com.amazonaws.s3#Initiator", - "traits": { - "smithy.api#documentation": "

Identifies who initiated the multipart upload.

" - } - }, "UploadId": { "target": "com.amazonaws.s3#MultipartUploadId", "traits": { @@ -7694,10 +8018,10 @@ "smithy.api#documentation": "

Key of the object for which the multipart upload was initiated.

" } }, - "Owner": { - "target": "com.amazonaws.s3#Owner", + "Initiated": { + "target": "com.amazonaws.s3#Initiated", "traits": { - "smithy.api#documentation": "

Specifies the owner of the object that is part of the multipart upload.

" + "smithy.api#documentation": "

Date and time at which the multipart upload was initiated.

" } }, "StorageClass": { @@ -7706,10 +8030,16 @@ "smithy.api#documentation": "

The class of storage used to store the object.

" } }, - "Initiated": { - "target": "com.amazonaws.s3#Initiated", + "Owner": { + "target": "com.amazonaws.s3#Owner", "traits": { - "smithy.api#documentation": "

Date and time at which the multipart upload was initiated.

" + "smithy.api#documentation": "

Specifies the owner of the object that is part of the multipart upload.

" + } + }, + "Initiator": { + "target": "com.amazonaws.s3#Initiator", + "traits": { + "smithy.api#documentation": "

Identifies who initiated the multipart upload.

" } } }, @@ -7733,7 +8063,7 @@ "type": "string" }, "com.amazonaws.s3#NextPartNumberMarker": { - "type": "integer" + "type": "string" }, "com.amazonaws.s3#NextToken": { "type": "string" @@ -7774,32 +8104,32 @@ "NoncurrentDays": { "target": "com.amazonaws.s3#Days", "traits": { - "smithy.api#documentation": "

Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. For information about the noncurrent days calculations, see How\n Amazon S3 Calculates When an Object Became Noncurrent in the Amazon\n Simple Storage Service Developer Guide.

" + "smithy.api#documentation": "

Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. For information about the noncurrent days calculations, see How\n Amazon S3 Calculates When an Object Became Noncurrent in the Amazon Simple\n Storage Service Developer Guide.

" } } }, "traits": { - "smithy.api#documentation": "

Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions.\n\nYou set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.

" + "smithy.api#documentation": "

Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently\n deletes the noncurrent object versions. You set this lifecycle configuration action on a\n bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent\n object versions at a specific period in the object's lifetime.

" } }, "com.amazonaws.s3#NoncurrentVersionTransition": { "type": "structure", "members": { - "StorageClass": { - "target": "com.amazonaws.s3#TransitionStorageClass", + "NoncurrentDays": { + "target": "com.amazonaws.s3#Days", "traits": { - "smithy.api#documentation": "

The class of storage used to store the object.

" + "smithy.api#documentation": "

Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. For information about the noncurrent days calculations, see How\n Amazon S3 Calculates How Long an Object Has Been Noncurrent in the\n Amazon Simple Storage Service Developer Guide.

" } }, - "NoncurrentDays": { - "target": "com.amazonaws.s3#Days", + "StorageClass": { + "target": "com.amazonaws.s3#TransitionStorageClass", "traits": { - "smithy.api#documentation": "

Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent in the Amazon Simple Storage Service Developer Guide.

" + "smithy.api#documentation": "

The class of storage used to store the object.

" } } }, "traits": { - "smithy.api#documentation": "

Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, or DEEP_ARCHIVE storage class.\n\nIf your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, or DEEP_ARCHIVE storage class at a specific period in the object's lifetime.

" + "smithy.api#documentation": "

Container for the transition rule that describes when noncurrent objects transition to\n the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING,\n GLACIER, or DEEP_ARCHIVE storage class. If your bucket is\n versioning-enabled (or versioning is suspended), you can set this action to request that\n Amazon S3 transition noncurrent object versions to the STANDARD_IA,\n ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, or\n DEEP_ARCHIVE storage class at a specific period in the object's\n lifetime.

" } }, "com.amazonaws.s3#NoncurrentVersionTransitionList": { @@ -7814,7 +8144,7 @@ "TopicConfigurations": { "target": "com.amazonaws.s3#TopicConfigurationList", "traits": { - "smithy.api#documentation": "

The topic to which notifications are sent and the events for which notifications are generated.

", + "smithy.api#documentation": "

The topic to which notifications are sent and the events for which notifications are\n generated.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "TopicConfiguration" } @@ -7822,7 +8152,7 @@ "QueueConfigurations": { "target": "com.amazonaws.s3#QueueConfigurationList", "traits": { - "smithy.api#documentation": "

The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.

", + "smithy.api#documentation": "

The Amazon Simple Queue Service queues to publish messages to and the events for which\n to publish messages.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "QueueConfiguration" } @@ -7830,14 +8160,14 @@ "LambdaFunctionConfigurations": { "target": "com.amazonaws.s3#LambdaFunctionConfigurationList", "traits": { - "smithy.api#documentation": "

Describes the AWS Lambda functions to invoke and the events for which to invoke them.

", + "smithy.api#documentation": "

Describes the AWS Lambda functions to invoke and the events for which to invoke\n them.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "CloudFunctionConfiguration" } } }, "traits": { - "smithy.api#documentation": "

A container for specifying the notification configuration of the bucket. If this element is\n empty, notifications are turned off for the bucket.

" + "smithy.api#documentation": "

A container for specifying the notification configuration of the bucket. If this element\n is empty, notifications are turned off for the bucket.

" } }, "com.amazonaws.s3#NotificationConfigurationFilter": { @@ -7851,34 +8181,40 @@ } }, "traits": { - "smithy.api#documentation": "

Specifies object key name filtering rules. For information about key name filtering, see\n Configuring\n Event Notifications in the Amazon Simple Storage Service Developer\n Guide.

" + "smithy.api#documentation": "

Specifies object key name filtering rules. For information about key name filtering, see\n Configuring\n Event Notifications in the Amazon Simple Storage Service Developer\n Guide.

" } }, "com.amazonaws.s3#NotificationId": { "type": "string", "traits": { - "smithy.api#documentation": "

An optional unique identifier for configurations in a notification configuration. If you don't\n provide one, Amazon S3 will assign an ID.

" + "smithy.api#documentation": "

An optional unique identifier for configurations in a notification configuration. If you\n don't provide one, Amazon S3 will assign an ID.

" } }, "com.amazonaws.s3#Object": { "type": "structure", "members": { - "Size": { - "target": "com.amazonaws.s3#Size", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

Size in bytes of the object

" + "smithy.api#documentation": "

The name that you assign to an object. You use the object key to retrieve the\n object.

" + } + }, + "LastModified": { + "target": "com.amazonaws.s3#LastModified", + "traits": { + "smithy.api#documentation": "

The date the Object was Last Modified

" } }, "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { - "smithy.api#documentation": "

The entity tag is a hash of the object. The ETag reflects changes only to the\n contents of an object, not its metadata. The ETag may or may not be an MD5 digest of\n the object data. Whether or not it is depends on how the object was created and how it\n is encrypted as described below:

\n " + "smithy.api#documentation": "

The entity tag is a hash of the object. The ETag reflects changes only to the contents\n of an object, not its metadata. The ETag may or may not be an MD5 digest of the object\n data. Whether or not it is depends on how the object was created and how it is encrypted as\n described below:

\n " } }, - "Owner": { - "target": "com.amazonaws.s3#Owner", + "Size": { + "target": "com.amazonaws.s3#Size", "traits": { - "smithy.api#documentation": "

The owner of the object

" + "smithy.api#documentation": "

Size in bytes of the object

" } }, "StorageClass": { @@ -7887,16 +8223,10 @@ "smithy.api#documentation": "

The class of storage used to store the object.

" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", - "traits": { - "smithy.api#documentation": "

The name that you assign to an object. You use the object key to retrieve the object.

" - } - }, - "LastModified": { - "target": "com.amazonaws.s3#LastModified", + "Owner": { + "target": "com.amazonaws.s3#Owner", "traits": { - "smithy.api#documentation": "

The date the Object was Last Modified

" + "smithy.api#documentation": "

The owner of the object

" } } }, @@ -8099,7 +8429,7 @@ "DefaultRetention": { "target": "com.amazonaws.s3#DefaultRetention", "traits": { - "smithy.api#documentation": "

The default retention period that you want to apply to new objects placed in the specified bucket.

" + "smithy.api#documentation": "

The default retention period that you want to apply to new objects placed in the\n specified bucket.

" } } }, @@ -8114,7 +8444,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

The source object of the COPY operation is not in the active tier and is only stored in Amazon\n S3 Glacier.

", + "smithy.api#documentation": "

The source object of the COPY operation is not in the active tier and is only stored in\n Amazon S3 Glacier.

", "smithy.api#error": "client" } }, @@ -8166,16 +8496,16 @@ "com.amazonaws.s3#ObjectVersion": { "type": "structure", "members": { - "Size": { - "target": "com.amazonaws.s3#Size", + "ETag": { + "target": "com.amazonaws.s3#ETag", "traits": { - "smithy.api#documentation": "

Size in bytes of the object.

" + "smithy.api#documentation": "

The entity tag is an MD5 hash of that version of the object.

" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "Size": { + "target": "com.amazonaws.s3#Size", "traits": { - "smithy.api#documentation": "

The object key.

" + "smithy.api#documentation": "

Size in bytes of the object.

" } }, "StorageClass": { @@ -8184,22 +8514,22 @@ "smithy.api#documentation": "

The class of storage used to store the object.

" } }, - "Owner": { - "target": "com.amazonaws.s3#Owner", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

Specifies the owner of the object.

" + "smithy.api#documentation": "

The object key.

" } }, - "IsLatest": { - "target": "com.amazonaws.s3#IsLatest", + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", "traits": { - "smithy.api#documentation": "

Specifies whether the object is (true) or is not (false) the latest version of an object.

" + "smithy.api#documentation": "

Version ID of an object.

" } }, - "ETag": { - "target": "com.amazonaws.s3#ETag", + "IsLatest": { + "target": "com.amazonaws.s3#IsLatest", "traits": { - "smithy.api#documentation": "

The entity tag is an MD5 hash of that version of the object.

" + "smithy.api#documentation": "

Specifies whether the object is (true) or is not (false) the latest version of an\n object.

" } }, "LastModified": { @@ -8208,10 +8538,10 @@ "smithy.api#documentation": "

Date and time the object was last modified.

" } }, - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", + "Owner": { + "target": "com.amazonaws.s3#Owner", "traits": { - "smithy.api#documentation": "

Version ID of an object.

" + "smithy.api#documentation": "

Specifies the owner of the object.

" } } }, @@ -8255,17 +8585,17 @@ "com.amazonaws.s3#OutputSerialization": { "type": "structure", "members": { - "JSON": { - "target": "com.amazonaws.s3#JSONOutput", - "traits": { - "smithy.api#documentation": "

Specifies JSON as request's output serialization format.

" - } - }, "CSV": { "target": "com.amazonaws.s3#CSVOutput", "traits": { "smithy.api#documentation": "

Describes the serialization of CSV-encoded Select results.

" } + }, + "JSON": { + "target": "com.amazonaws.s3#JSONOutput", + "traits": { + "smithy.api#documentation": "

Specifies JSON as request's output serialization format.

" + } } }, "traits": { @@ -8349,10 +8679,10 @@ "com.amazonaws.s3#Part": { "type": "structure", "members": { - "Size": { - "target": "com.amazonaws.s3#Size", + "PartNumber": { + "target": "com.amazonaws.s3#PartNumber", "traits": { - "smithy.api#documentation": "

Size in bytes of the uploaded part data.

" + "smithy.api#documentation": "

Part number identifying the part. This is a positive integer between 1 and\n 10,000.

" } }, "LastModified": { @@ -8361,17 +8691,17 @@ "smithy.api#documentation": "

Date and time at which the part was uploaded.

" } }, - "PartNumber": { - "target": "com.amazonaws.s3#PartNumber", - "traits": { - "smithy.api#documentation": "

Part number identifying the part. This is a positive integer between 1 and 10,000.

" - } - }, "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { "smithy.api#documentation": "

Entity tag returned when the part was uploaded.

" } + }, + "Size": { + "target": "com.amazonaws.s3#Size", + "traits": { + "smithy.api#documentation": "

Size in bytes of the uploaded part data.

" + } } }, "traits": { @@ -8382,7 +8712,7 @@ "type": "integer" }, "com.amazonaws.s3#PartNumberMarker": { - "type": "integer" + "type": "string" }, "com.amazonaws.s3#Parts": { "type": "list", @@ -8437,7 +8767,7 @@ "IsPublic": { "target": "com.amazonaws.s3#IsPublic", "traits": { - "smithy.api#documentation": "

The policy status for this bucket. TRUE indicates that this bucket is public.\n FALSE indicates that the bucket is not public.

", + "smithy.api#documentation": "

The policy status for this bucket. TRUE indicates that this bucket is\n public. FALSE indicates that the bucket is not public.

", "smithy.api#xmlName": "IsPublic" } } @@ -8509,37 +8839,37 @@ "com.amazonaws.s3#PublicAccessBlockConfiguration": { "type": "structure", "members": { - "BlockPublicPolicy": { + "BlockPublicAcls": { "target": "com.amazonaws.s3#Setting", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting\n this element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the\n specified bucket policy allows public access.

\n

Enabling this setting doesn't affect existing bucket policies.

", - "smithy.api#xmlName": "BlockPublicPolicy" + "smithy.api#documentation": "

Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket\n and objects in this bucket. Setting this element to TRUE causes the following\n behavior:

\n \n

Enabling this setting doesn't affect existing policies or ACLs.

", + "smithy.api#xmlName": "BlockPublicAcls" } }, - "BlockPublicAcls": { + "IgnorePublicAcls": { "target": "com.amazonaws.s3#Setting", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon S3 should block public access control lists (ACLs) for this\n bucket and objects in this bucket. Setting this element to TRUE causes the\n following behavior:

\n \n

Enabling this setting doesn't affect existing policies or ACLs.

", - "smithy.api#xmlName": "BlockPublicAcls" + "smithy.api#documentation": "

Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this\n bucket. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs on\n this bucket and objects in this bucket.

\n

Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't\n prevent new public ACLs from being set.

", + "smithy.api#xmlName": "IgnorePublicAcls" } }, - "RestrictPublicBuckets": { + "BlockPublicPolicy": { "target": "com.amazonaws.s3#Setting", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon S3 should restrict public bucket policies for this bucket.\n Setting this element to TRUE restricts access to this bucket to only AWS services\n and authorized users within this account if the bucket has a public policy.

\n

Enabling this setting doesn't affect previously stored bucket policies, except that public\n and cross-account access within any public bucket policy, including non-public delegation to\n specific accounts, is blocked.

", - "smithy.api#xmlName": "RestrictPublicBuckets" + "smithy.api#documentation": "

Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting this\n element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the\n specified bucket policy allows public access.

\n

Enabling this setting doesn't affect existing bucket policies.

", + "smithy.api#xmlName": "BlockPublicPolicy" } }, - "IgnorePublicAcls": { + "RestrictPublicBuckets": { "target": "com.amazonaws.s3#Setting", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this\n bucket. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs\n on this bucket and objects in this bucket.

\n

Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't\n prevent new public ACLs from being set.

", - "smithy.api#xmlName": "IgnorePublicAcls" + "smithy.api#documentation": "

Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting\n this element to TRUE restricts access to this bucket to only AWS service\n principals and authorized users within this account if the bucket has a public\n policy.

\n

Enabling this setting doesn't affect previously stored bucket policies, except that\n public and cross-account access within any public bucket policy, including non-public\n delegation to specific accounts, is blocked.

", + "smithy.api#xmlName": "RestrictPublicBuckets" } } }, "traits": { - "smithy.api#documentation": "

The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You\n can enable the configuration options in any combination. For more information about when\n Amazon S3 considers a bucket or object public, see The Meaning of \"Public\" in the Amazon Simple Storage Service Developer Guide.

" + "smithy.api#documentation": "

The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can\n enable the configuration options in any combination. For more information about when Amazon S3\n considers a bucket or object public, see The Meaning of \"Public\" in the Amazon Simple Storage Service Developer Guide.

" } }, "com.amazonaws.s3#PutBucketAccelerateConfiguration": { @@ -8548,7 +8878,7 @@ "target": "com.amazonaws.s3#PutBucketAccelerateConfigurationRequest" }, "traits": { - "smithy.api#documentation": "

Sets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a bucket-level feature that enables you to perform faster data transfers to Amazon S3.

\n \n

To use this operation, you must have permission to perform the s3:PutAccelerateConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

The Transfer Acceleration state of a bucket can be set to one of the following two values:

\n \n \n \n

The GetBucketAccelerateConfiguration operation returns the transfer acceleration state of a bucket.

\n \n

After setting the Transfer Acceleration state of a bucket to Enabled, it might take up to thirty minutes before the data transfer rates to the bucket increase.

\n \n

The name of the bucket used for Transfer Acceleration must be DNS-compliant and must not contain periods (\".\").

\n \n

For more information about transfer acceleration, see Transfer Acceleration.

\n \n

The following operations are related to PutBucketAccelerateConfiguration:

\n ", + "smithy.api#documentation": "

Sets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a\n bucket-level feature that enables you to perform faster data transfers to Amazon S3.

\n\n

To use this operation, you must have permission to perform the\n s3:PutAccelerateConfiguration action. The bucket owner has this permission by default. The\n bucket owner can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

The Transfer Acceleration state of a bucket can be set to one of the following two\n values:

\n \n\n\n

The GetBucketAccelerateConfiguration operation returns the transfer acceleration\n state of a bucket.

\n\n

After setting the Transfer Acceleration state of a bucket to Enabled, it might take up\n to thirty minutes before the data transfer rates to the bucket increase.

\n\n

The name of the bucket used for Transfer Acceleration must be DNS-compliant and must\n not contain periods (\".\").

\n\n

For more information about transfer acceleration, see Transfer Acceleration.

\n\n

The following operations are related to\n PutBucketAccelerateConfiguration:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?accelerate", @@ -8567,13 +8897,6 @@ "smithy.api#required": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "AccelerateConfiguration": { "target": "com.amazonaws.s3#AccelerateConfiguration", "traits": { @@ -8581,6 +8904,13 @@ "smithy.api#httpPayload": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -8590,7 +8920,7 @@ "target": "com.amazonaws.s3#PutBucketAclRequest" }, "traits": { - "smithy.api#documentation": "

Sets the permissions on an existing bucket using access control lists (ACL). For more\n information, see Using\n ACLs. To set the ACL of a bucket, you must have WRITE_ACP\n permission.

\n \n

You can use one of the following two ways to set a bucket's permissions:

\n \n \n \n

You cannot specify access permission using both the body and the request headers.

\n
\n \n

Depending on your application needs, you may choose to set the ACL on a bucket using either the request body or the headers. For example, if you have an existing application that updates a bucket ACL using the request body, then you can continue to use that approach.

\n \n \n

\n Access Permissions\n

\n

You can set access permissions using one of the following methods:

\n \n

You can use either a canned ACL or specify access permissions explicitly. You cannot do both.

\n

\n Grantee Values\n

\n

You can specify the person (grantee) to whom you're assigning access rights (using request elements) in the following ways:

\n \n \n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Sets the permissions on an existing bucket using access control lists (ACL). For more\n information, see Using ACLs. To set\n the ACL of a bucket, you must have WRITE_ACP permission.

\n\n

You can use one of the following two ways to set a bucket's permissions:

\n \n\n \n

You cannot specify access permission using both the body and the request\n headers.

\n
\n\n

Depending on your application needs, you may choose to set the ACL on a bucket using\n either the request body or the headers. For example, if you have an existing application\n that updates a bucket ACL using the request body, then you can continue to use that\n approach.

\n\n\n

\n Access Permissions\n

\n

You can set access permissions using one of the following methods:

\n \n

You can use either a canned ACL or specify access permissions explicitly. You cannot do\n both.

\n

\n Grantee Values\n

\n

You can specify the person (grantee) to whom you're assigning access rights (using\n request elements) in the following ways:

\n \n\n\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?acl", @@ -8602,11 +8932,18 @@ "com.amazonaws.s3#PutBucketAclRequest": { "type": "structure", "members": { - "GrantFullControl": { - "target": "com.amazonaws.s3#GrantFullControl", + "ACL": { + "target": "com.amazonaws.s3#BucketCannedACL", "traits": { - "smithy.api#documentation": "

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

", - "smithy.api#httpHeader": "x-amz-grant-full-control" + "smithy.api#documentation": "

The canned ACL to apply to the bucket.

", + "smithy.api#httpHeader": "x-amz-acl" + } + }, + "AccessControlPolicy": { + "target": "com.amazonaws.s3#AccessControlPolicy", + "traits": { + "smithy.api#documentation": "

Contains the elements that set the ACL permissions for an object per grantee.

", + "smithy.api#httpPayload": {} } }, "Bucket": { @@ -8617,56 +8954,49 @@ "smithy.api#required": {} } }, - "GrantReadACP": { - "target": "com.amazonaws.s3#GrantReadACP", - "traits": { - "smithy.api#documentation": "

Allows grantee to read the bucket ACL.

", - "smithy.api#httpHeader": "x-amz-grant-read-acp" - } - }, - "GrantWrite": { - "target": "com.amazonaws.s3#GrantWrite", - "traits": { - "smithy.api#documentation": "

Allows grantee to create, overwrite, and delete any object in the bucket.

", - "smithy.api#httpHeader": "x-amz-grant-write" - } - }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#deprecated": { "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." }, - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity \n check to verify that the request body was not corrupted in transit. For more information, go to \n RFC 1864.\n

", + "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.\n

", "smithy.api#httpHeader": "Content-MD5" } }, - "ACL": { - "target": "com.amazonaws.s3#BucketCannedACL", + "GrantFullControl": { + "target": "com.amazonaws.s3#GrantFullControl", "traits": { - "smithy.api#documentation": "

The canned ACL to apply to the bucket.

", - "smithy.api#httpHeader": "x-amz-acl" + "smithy.api#documentation": "

Allows grantee the read, write, read ACP, and write ACP permissions on the\n bucket.

", + "smithy.api#httpHeader": "x-amz-grant-full-control" } }, - "GrantWriteACP": { - "target": "com.amazonaws.s3#GrantWriteACP", + "GrantRead": { + "target": "com.amazonaws.s3#GrantRead", "traits": { - "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable bucket.

", - "smithy.api#httpHeader": "x-amz-grant-write-acp" + "smithy.api#documentation": "

Allows grantee to list the objects in the bucket.

", + "smithy.api#httpHeader": "x-amz-grant-read" } }, - "AccessControlPolicy": { - "target": "com.amazonaws.s3#AccessControlPolicy", + "GrantReadACP": { + "target": "com.amazonaws.s3#GrantReadACP", "traits": { - "smithy.api#documentation": "

Contains the elements that set the ACL permissions for an object per grantee.

", - "smithy.api#httpPayload": {} + "smithy.api#documentation": "

Allows grantee to read the bucket ACL.

", + "smithy.api#httpHeader": "x-amz-grant-read-acp" } }, - "GrantRead": { - "target": "com.amazonaws.s3#GrantRead", + "GrantWrite": { + "target": "com.amazonaws.s3#GrantWrite", "traits": { - "smithy.api#documentation": "

Allows grantee to list the objects in the bucket.

", - "smithy.api#httpHeader": "x-amz-grant-read" + "smithy.api#documentation": "

Allows grantee to create, overwrite, and delete any object in the bucket.

", + "smithy.api#httpHeader": "x-amz-grant-write" + } + }, + "GrantWriteACP": { + "target": "com.amazonaws.s3#GrantWriteACP", + "traits": { + "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable bucket.

", + "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, "ExpectedBucketOwner": { @@ -8684,7 +9014,7 @@ "target": "com.amazonaws.s3#PutBucketAnalyticsConfigurationRequest" }, "traits": { - "smithy.api#documentation": "

Sets an analytics configuration for the bucket (specified by the analytics configuration ID). You can have up to 1,000 analytics configurations per bucket.

\n \n

You can choose to have storage class analysis export analysis reports sent to a\n comma-separated values (CSV) flat file. See the DataExport request element.\n Reports are updated daily and are based on the object filters that you configure. When\n selecting data export, you specify a destination bucket and an optional destination prefix\n where the file is written. You can export the data to a destination bucket in a different\n account. However, the destination bucket must be in the same Region as the bucket that you\n are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class Analysis.

\n \n \n

You must create a bucket policy on the destination bucket where the exported file is written to grant permissions to Amazon S3 to write objects to the bucket. For an example policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.

\n
\n \n

To use this operation, you must have permissions to perform the s3:PutAnalyticsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n \n

\n Special Errors\n

\n \n \n \n \n \n \n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Sets an analytics configuration for the bucket (specified by the analytics configuration\n ID). You can have up to 1,000 analytics configurations per bucket.

\n\n

You can choose to have storage class analysis export analysis reports sent to a\n comma-separated values (CSV) flat file. See the DataExport request element.\n Reports are updated daily and are based on the object filters that you configure. When\n selecting data export, you specify a destination bucket and an optional destination prefix\n where the file is written. You can export the data to a destination bucket in a different\n account. However, the destination bucket must be in the same Region as the bucket that you\n are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class\n Analysis.

\n\n \n

You must create a bucket policy on the destination bucket where the exported file is\n written to grant permissions to Amazon S3 to write objects to the bucket. For an example\n policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.

\n
\n\n

To use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n\n

\n Special Errors\n

\n \n\n \n\n\n\n\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?analytics", @@ -8695,14 +9025,6 @@ "com.amazonaws.s3#PutBucketAnalyticsConfigurationRequest": { "type": "structure", "members": { - "Id": { - "target": "com.amazonaws.s3#AnalyticsId", - "traits": { - "smithy.api#documentation": "

The ID that identifies the analytics configuration.

", - "smithy.api#httpQuery": "id", - "smithy.api#required": {} - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -8711,6 +9033,14 @@ "smithy.api#required": {} } }, + "Id": { + "target": "com.amazonaws.s3#AnalyticsId", + "traits": { + "smithy.api#documentation": "

The ID that identifies the analytics configuration.

", + "smithy.api#httpQuery": "id", + "smithy.api#required": {} + } + }, "AnalyticsConfiguration": { "target": "com.amazonaws.s3#AnalyticsConfiguration", "traits": { @@ -8734,7 +9064,7 @@ "target": "com.amazonaws.s3#PutBucketCorsRequest" }, "traits": { - "smithy.api#documentation": "

Sets the cors configuration for your bucket. If the configuration exists, Amazon S3 replaces it.

\n

To use this operation, you must be allowed to perform the s3:PutBucketCORS action. \n By default, the bucket owner has this permission and can grant it to others.

\n

You set this configuration on a bucket so that the bucket can service cross-origin requests.\n For example, you might want to enable a request whose origin is http://www.example.com to access your \n Amazon S3 bucket at my.example.bucket.com by using the browser's XMLHttpRequest capability.

\n

To enable cross-origin resource sharing (CORS) on a bucket, you add the cors subresource to the bucket. \n The cors subresource is an XML document in which you configure rules that identify origins and the HTTP \n methods that can be executed on your bucket. The document is limited to 64 KB in size.

\n

When Amazon S3 receives a cross-origin request (or a pre-flight OPTIONS request) against a\n bucket, it evaluates the cors configuration on the bucket and uses the\n first CORSRule rule that matches the incoming browser request to enable a\n cross-origin request. For a rule to match, the following conditions must be met:

\n \n

For more information about CORS, go to Enabling\n Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Sets the cors configuration for your bucket. If the configuration exists,\n Amazon S3 replaces it.

\n

To use this operation, you must be allowed to perform the s3:PutBucketCORS\n action. By default, the bucket owner has this permission and can grant it to others.

\n

You set this configuration on a bucket so that the bucket can service cross-origin\n requests. For example, you might want to enable a request whose origin is\n http://www.example.com to access your Amazon S3 bucket at\n my.example.bucket.com by using the browser's XMLHttpRequest\n capability.

\n

To enable cross-origin resource sharing (CORS) on a bucket, you add the\n cors subresource to the bucket. The cors subresource is an XML\n document in which you configure rules that identify origins and the HTTP methods that can\n be executed on your bucket. The document is limited to 64 KB in size.

\n

When Amazon S3 receives a cross-origin request (or a pre-flight OPTIONS request) against a\n bucket, it evaluates the cors configuration on the bucket and uses the first\n CORSRule rule that matches the incoming browser request to enable a\n cross-origin request. For a rule to match, the following conditions must be met:

\n \n

For more information about CORS, go to Enabling\n Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?cors", @@ -8754,24 +9084,24 @@ "smithy.api#required": {} } }, + "CORSConfiguration": { + "target": "com.amazonaws.s3#CORSConfiguration", + "traits": { + "smithy.api#documentation": "

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more\n information, see Enabling Cross-Origin Resource\n Sharing in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#deprecated": { "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." }, - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity \n check to verify that the request body was not corrupted in transit. For more information, go to \n RFC 1864.\n

", + "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.\n

", "smithy.api#httpHeader": "Content-MD5" } }, - "CORSConfiguration": { - "target": "com.amazonaws.s3#CORSConfiguration", - "traits": { - "smithy.api#documentation": "

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more\n information, see Enabling Cross-Origin Resource\n Sharing in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpPayload": {}, - "smithy.api#required": {} - } - }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { @@ -8787,7 +9117,7 @@ "target": "com.amazonaws.s3#PutBucketEncryptionRequest" }, "traits": { - "smithy.api#documentation": "

This implementation of the PUT operation uses the encryption subresource to set the default encryption \n state of an existing bucket.

\n

This implementation of the PUT operation sets default encryption for a\n bucket using server-side encryption with Amazon S3-managed keys SSE-S3 or AWS KMS customer\n master keys (CMKs) (SSE-KMS). For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.

\n \n

This operation requires AWS Signature Version 4. For more information, see \n Authenticating Requests (AWS Signature Version 4).\n

\n
\n

To use this operation, you must have permissions to perform the s3:PutEncryptionConfiguration action. \n The bucket owner has this permission by default. The bucket owner can grant this permission to others. \n For more information about permissions, see \n Permissions Related to Bucket Subresource Operations \n and Managing Access Permissions to Your Amazon S3 Resources in the Amazon Simple Storage Service Developer Guide. \n

\n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

This implementation of the PUT operation uses the encryption\n subresource to set the default encryption state of an existing bucket.

\n

This implementation of the PUT operation sets default encryption for a\n bucket using server-side encryption with Amazon S3-managed keys SSE-S3 or AWS KMS customer\n master keys (CMKs) (SSE-KMS). For information about the Amazon S3 default encryption feature,\n see Amazon S3 Default Bucket\n Encryption.

\n \n

This operation requires AWS Signature Version 4. For more information, see Authenticating Requests (AWS Signature\n Version 4).

\n
\n

To use this operation, you must have permissions to perform the\n s3:PutEncryptionConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?encryption", @@ -8799,11 +9129,12 @@ "com.amazonaws.s3#PutBucketEncryptionRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed\n keys (SSE-S3) or customer master keys stored in AWS KMS (SSE-KMS). For information about\n the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption\n in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "ContentMD5": { @@ -8816,17 +9147,59 @@ "smithy.api#httpHeader": "Content-MD5" } }, + "ServerSideEncryptionConfiguration": { + "target": "com.amazonaws.s3#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } + } + } + }, + "com.amazonaws.s3#PutBucketIntelligentTieringConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3#PutBucketIntelligentTieringConfigurationRequest" + }, + "traits": { + "smithy.api#documentation": "

Puts a S3 Intelligent-Tiering configuration to the specified bucket.

\n

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. S3 Intelligent-Tiering delivers automatic cost savings by moving data between access tiers, when access patterns change.

\n

The S3 Intelligent-Tiering storage class is suitable for objects larger than 128 KB that you plan to store for at least 30 days. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the frequent access tier rates in the S3 Intelligent-Tiering storage class.

\n

If you delete an object before the end of the 30-day minimum storage duration period, you are charged for 30 days. For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

\n

Operations related to\n PutBucketIntelligentTieringConfiguration include:

\n ", + "smithy.api#http": { + "method": "PUT", + "uri": "/{Bucket}?intelligent-tiering", + "code": 200 + } + } + }, + "com.amazonaws.s3#PutBucketIntelligentTieringConfigurationRequest": { + "type": "structure", + "members": { "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS (SSE-KMS). For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#documentation": "

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ServerSideEncryptionConfiguration": { - "target": "com.amazonaws.s3#ServerSideEncryptionConfiguration", + "Id": { + "target": "com.amazonaws.s3#IntelligentTieringId", + "traits": { + "smithy.api#documentation": "

The ID used to identify the S3 Intelligent-Tiering configuration.

", + "smithy.api#httpQuery": "id", + "smithy.api#required": {} + } + }, + "IntelligentTieringConfiguration": { + "target": "com.amazonaws.s3#IntelligentTieringConfiguration", "traits": { + "smithy.api#documentation": "

Container for S3 Intelligent-Tiering configuration.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8839,7 +9212,7 @@ "target": "com.amazonaws.s3#PutBucketInventoryConfigurationRequest" }, "traits": { - "smithy.api#documentation": "

This implementation of the PUT operation adds an inventory configuration (identified \n by the inventory ID) to the bucket. You can have up to 1,000 inventory configurations per bucket. \n

\n

Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly basis, and the results are published \n to a flat file. The bucket that is inventoried is called the source bucket, and the bucket where the \n inventory flat file is stored is called the destination bucket. The destination bucket must be in the same \n AWS Region as the source bucket.

\n

When you configure an inventory for a source bucket, you specify the destination bucket\n where you want the inventory to be stored, and whether to generate the inventory daily or weekly. You can also configure what object\n metadata to include and whether to inventory all object versions or only current versions. For more information, see \n Amazon S3 Inventory in the Amazon Simple Storage Service Developer Guide.

\n \n

You must create a bucket policy on the destination bucket to grant\n permissions to Amazon S3 to write objects to the bucket in the defined location. For an\n example policy, see \n Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.

\n
\n

To use this operation, you must have permissions to perform the s3:PutInventoryConfiguration action. The bucket \n owner has this permission by default and can grant this permission to others. For more information about permissions, see \n Permissions Related to \n Bucket Subresource Operations and Managing Access Permissions to Your \n Amazon S3 Resources in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Special Errors\n

\n \n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

This implementation of the PUT operation adds an inventory configuration\n (identified by the inventory ID) to the bucket. You can have up to 1,000 inventory\n configurations per bucket.

\n

Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly\n basis, and the results are published to a flat file. The bucket that is inventoried is\n called the source bucket, and the bucket where the inventory flat file\n is stored is called the destination bucket. The\n destination bucket must be in the same AWS Region as the\n source bucket.

\n

When you configure an inventory for a source bucket, you specify\n the destination bucket where you want the inventory to be stored, and\n whether to generate the inventory daily or weekly. You can also configure what object\n metadata to include and whether to inventory all object versions or only current versions.\n For more information, see Amazon S3\n Inventory in the Amazon Simple Storage Service Developer Guide.

\n \n

You must create a bucket policy on the destination bucket to\n grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an\n example policy, see \n Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.

\n
\n

To use this operation, you must have permissions to perform the\n s3:PutInventoryConfiguration action. The bucket owner has this permission\n by default and can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon Simple Storage Service Developer Guide.

\n \n

\n Special Errors\n

\n \n \n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?inventory", @@ -8889,7 +9262,7 @@ "target": "com.amazonaws.s3#PutBucketLifecycleConfigurationRequest" }, "traits": { - "smithy.api#documentation": "

Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle configuration. For information about lifecycle configuration, see Managing Access Permissions to Your Amazon S3 Resources.

\n \n \n

Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, or a combination of both. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility. For the related API description, see PutBucketLifecycle.

\n
\n \n \n

\n Rules \n

\n

You specify the lifecycle configuration in your request body. The lifecycle configuration is specified as XML consisting of one or more rules. Each rule consists of the following:

\n \n \n \n

For more information, see Object Lifecycle Management and Lifecycle Configuration Elements.

\n \n \n

\n Permissions \n

\n \n \n

By default, all Amazon S3 resources are private, including buckets, objects, and related subresources (for example, lifecycle configuration and website configuration). Only the resource owner (that is, the AWS account that created it) can access the resource. The resource owner can optionally grant access permissions to others by writing an access policy. For this operation, a user must get the s3:PutLifecycleConfiguration permission.

\n \n

You can also explicitly deny permissions. Explicit deny also supersedes any other permissions. If you want to block users or accounts from removing or deleting objects from your bucket, you must deny them permissions for the following actions:

\n \n \n \n \n

For more information about permissions, see Managing Access Permissions to Your Amazon S3 Resources.

\n \n

The following are related to PutBucketLifecycleConfiguration:

\n ", + "smithy.api#documentation": "

Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle\n configuration. For information about lifecycle configuration, see Managing Access Permissions to Your Amazon S3\n Resources.

\n\n \n

Bucket lifecycle configuration now supports specifying a lifecycle rule using an\n object key name prefix, one or more object tags, or a combination of both. Accordingly,\n this section describes the latest API. The previous version of the API supported\n filtering based only on an object key name prefix, which is supported for backward\n compatibility. For the related API description, see PutBucketLifecycle.

\n
\n\n\n

\n Rules\n

\n

You specify the lifecycle configuration in your request body. The lifecycle\n configuration is specified as XML consisting of one or more rules. Each rule consists of\n the following:

\n\n \n\n

For more information, see Object\n Lifecycle Management and Lifecycle Configuration Elements.

\n\n\n

\n Permissions\n

\n\n\n

By default, all Amazon S3 resources are private, including buckets, objects, and related\n subresources (for example, lifecycle configuration and website configuration). Only the\n resource owner (that is, the AWS account that created it) can access the resource. The\n resource owner can optionally grant access permissions to others by writing an access\n policy. For this operation, a user must get the s3:PutLifecycleConfiguration\n permission.

\n\n

You can also explicitly deny permissions. Explicit deny also supersedes any other\n permissions. If you want to block users or accounts from removing or deleting objects from\n your bucket, you must deny them permissions for the following actions:

\n\n \n\n\n

For more information about permissions, see Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

The following are related to PutBucketLifecycleConfiguration:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?lifecycle", @@ -8901,13 +9274,6 @@ "com.amazonaws.s3#PutBucketLifecycleConfigurationRequest": { "type": "structure", "members": { - "LifecycleConfiguration": { - "target": "com.amazonaws.s3#BucketLifecycleConfiguration", - "traits": { - "smithy.api#documentation": "

Container for lifecycle rules. You can add as many as 1,000 rules.

", - "smithy.api#httpPayload": {} - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -8916,6 +9282,13 @@ "smithy.api#required": {} } }, + "LifecycleConfiguration": { + "target": "com.amazonaws.s3#BucketLifecycleConfiguration", + "traits": { + "smithy.api#documentation": "

Container for lifecycle rules. You can add as many as 1,000 rules.

", + "smithy.api#httpPayload": {} + } + }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { @@ -8931,7 +9304,7 @@ "target": "com.amazonaws.s3#PutBucketLoggingRequest" }, "traits": { - "smithy.api#documentation": "

Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. All logs are saved to buckets in the same AWS Region as the source bucket. To set the logging status of a bucket, you must be the bucket owner.

\n \n

The bucket owner is automatically granted FULL_CONTROL to all logs. You use the\n Grantee request element to grant access to other people. The\n Permissions request element specifies the kind of access the grantee has to\n the logs.

\n \n

\n Grantee Values\n

\n

You can specify the person (grantee) to whom you're assigning access rights (using request elements) in the following ways:

\n \n \n \n \n

To enable logging, you use LoggingEnabled and its children request elements. To disable logging, you use an empty BucketLoggingStatus request element:

\n \n

\n \n

\n \n

For more information about server access logging, see Server Access Logging.

\n \n

For more information about creating a bucket, see CreateBucket. \n For more information about returning the logging status of a bucket, see GetBucketLogging.

\n \n

The following operations are related to PutBucketLogging:

\n ", + "smithy.api#documentation": "

Set the logging parameters for a bucket and to specify permissions for who can view and\n modify the logging parameters. All logs are saved to buckets in the same AWS Region as the\n source bucket. To set the logging status of a bucket, you must be the bucket owner.

\n\n

The bucket owner is automatically granted FULL_CONTROL to all logs. You use the\n Grantee request element to grant access to other people. The\n Permissions request element specifies the kind of access the grantee has to\n the logs.

\n\n

\n Grantee Values\n

\n

You can specify the person (grantee) to whom you're assigning access rights (using\n request elements) in the following ways:

\n\n \n\n\n

To enable logging, you use LoggingEnabled and its children request elements. To disable\n logging, you use an empty BucketLoggingStatus request element:

\n\n

\n \n

\n\n

For more information about server access logging, see Server Access Logging.

\n\n

For more information about creating a bucket, see CreateBucket. For more\n information about returning the logging status of a bucket, see GetBucketLogging.

\n\n

The following operations are related to PutBucketLogging:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?logging", @@ -8951,13 +9324,6 @@ "smithy.api#required": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "BucketLoggingStatus": { "target": "com.amazonaws.s3#BucketLoggingStatus", "traits": { @@ -8975,6 +9341,13 @@ "smithy.api#documentation": "

The MD5 hash of the PutBucketLogging request body.

", "smithy.api#httpHeader": "Content-MD5" } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -8984,7 +9357,7 @@ "target": "com.amazonaws.s3#PutBucketMetricsConfigurationRequest" }, "traits": { - "smithy.api#documentation": "

Sets a metrics configuration (specified by the metrics configuration ID) for the bucket. You can have up to 1,000 metrics configurations per bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased.

\n \n

To use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.

\n \n

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.

\n \n

The following operations are related to PutBucketMetricsConfiguration:

\n \n \n \n \n \n \n \n

\n GetBucketLifecycle has the following special error:

\n ", + "smithy.api#documentation": "

Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.\n You can have up to 1,000 metrics configurations per bucket. If you're updating an existing\n metrics configuration, note that this is a full replacement of the existing metrics\n configuration. If you don't include the elements you want to keep, they are erased.

\n\n

To use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon\n CloudWatch.

\n\n

The following operations are related to\n PutBucketMetricsConfiguration:

\n \n\n\n\n\n\n\n

\n GetBucketLifecycle has the following special error:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?metrics", @@ -8995,13 +9368,6 @@ "com.amazonaws.s3#PutBucketMetricsConfigurationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -9010,6 +9376,14 @@ "smithy.api#required": {} } }, + "Id": { + "target": "com.amazonaws.s3#MetricsId", + "traits": { + "smithy.api#documentation": "

The ID used to identify the metrics configuration.

", + "smithy.api#httpQuery": "id", + "smithy.api#required": {} + } + }, "MetricsConfiguration": { "target": "com.amazonaws.s3#MetricsConfiguration", "traits": { @@ -9018,12 +9392,11 @@ "smithy.api#required": {} } }, - "Id": { - "target": "com.amazonaws.s3#MetricsId", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

The ID used to identify the metrics configuration.

", - "smithy.api#httpQuery": "id", - "smithy.api#required": {} + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -9034,7 +9407,7 @@ "target": "com.amazonaws.s3#PutBucketNotificationConfigurationRequest" }, "traits": { - "smithy.api#documentation": "

Enables notifications of specified events for a bucket. For more information about event notifications, see Configuring Event Notifications.

\n \n

Using this API, you can replace an existing notification configuration. The configuration is an XML file that defines the event types that you want Amazon S3 to publish and the destination where you want Amazon S3 to publish an event notification when it detects an event of the specified type.

\n \n

By default, your bucket has no event notifications configured. That is, the notification configuration will be an empty NotificationConfiguration.

\n \n

\n \n

\n

\n \n

\n

This operation replaces the existing notification configuration with the configuration you include in the request body.

\n \n

After Amazon S3 receives this request, it first verifies that any Amazon Simple Notification Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and that the bucket owner has permission to publish to it by sending a test notification. In the case of AWS Lambda destinations, Amazon S3 verifies that the Lambda function permissions grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information, see Configuring Notifications for Amazon S3 Events.

\n \n

You can disable notifications by adding the empty NotificationConfiguration element.

\n \n

By default, only the bucket owner can configure notifications on a bucket. However, bucket owners can use a bucket policy to grant permission to other users to set this configuration with s3:PutBucketNotification permission.

\n \n \n

The PUT notification is an atomic operation. For example, suppose your notification configuration includes SNS topic, SQS queue, and Lambda function configurations. When you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS topic. If the message fails, the entire PUT operation will fail, and Amazon S3 will not add the configuration to your bucket.

\n
\n \n

\n Responses\n

\n

If the configuration in the request body includes only one\n TopicConfiguration specifying only the\n s3:ReducedRedundancyLostObject event type, the response will also include\n the x-amz-sns-test-message-id header containing the message ID of the test\n notification sent to the topic.

\n \n

The following operation is related to\n PutBucketNotificationConfiguration:

\n ", + "smithy.api#documentation": "

Enables notifications of specified events for a bucket. For more information about event\n notifications, see Configuring Event\n Notifications.

\n\n

Using this API, you can replace an existing notification configuration. The\n configuration is an XML file that defines the event types that you want Amazon S3 to publish and\n the destination where you want Amazon S3 to publish an event notification when it detects an\n event of the specified type.

\n\n

By default, your bucket has no event notifications configured. That is, the notification\n configuration will be an empty NotificationConfiguration.

\n\n

\n \n

\n

\n \n

\n

This operation replaces the existing notification configuration with the configuration\n you include in the request body.

\n\n

After Amazon S3 receives this request, it first verifies that any Amazon Simple Notification\n Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and\n that the bucket owner has permission to publish to it by sending a test notification. In\n the case of AWS Lambda destinations, Amazon S3 verifies that the Lambda function permissions\n grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information,\n see Configuring Notifications for Amazon S3\n Events.

\n\n

You can disable notifications by adding the empty NotificationConfiguration\n element.

\n\n

By default, only the bucket owner can configure notifications on a bucket. However,\n bucket owners can use a bucket policy to grant permission to other users to set this\n configuration with s3:PutBucketNotification permission.

\n\n \n

The PUT notification is an atomic operation. For example, suppose your notification\n configuration includes SNS topic, SQS queue, and Lambda function configurations. When\n you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS\n topic. If the message fails, the entire PUT operation will fail, and Amazon S3 will not add\n the configuration to your bucket.

\n
\n\n

\n Responses\n

\n

If the configuration in the request body includes only one\n TopicConfiguration specifying only the\n s3:ReducedRedundancyLostObject event type, the response will also include\n the x-amz-sns-test-message-id header containing the message ID of the test\n notification sent to the topic.

\n\n

The following operation is related to\n PutBucketNotificationConfiguration:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?notification", @@ -9045,11 +9418,12 @@ "com.amazonaws.s3#PutBucketNotificationConfigurationRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

The name of the bucket.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "NotificationConfiguration": { @@ -9059,12 +9433,11 @@ "smithy.api#required": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

The name of the bucket.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -9075,7 +9448,7 @@ "target": "com.amazonaws.s3#PutBucketOwnershipControlsRequest" }, "traits": { - "smithy.api#documentation": "

Creates or modifies OwnershipControls for an Amazon S3 bucket. To use this\n operation, you must have the s3:GetBucketOwnershipControls permission. For\n more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

\n

For information about Amazon S3 Object Ownership, see Using Object Ownership.

\n

The following operations are related to GetBucketOwnershipControls:

\n ", + "smithy.api#documentation": "

Creates or modifies OwnershipControls for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketOwnershipControls permission. For\n more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

\n

For information about Amazon S3 Object Ownership, see Using Object Ownership.

\n

The following operations are related to PutBucketOwnershipControls:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?ownershipControls", @@ -9101,6 +9474,13 @@ "smithy.api#httpHeader": "Content-MD5" } }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } + }, "OwnershipControls": { "target": "com.amazonaws.s3#OwnershipControls", "traits": { @@ -9108,12 +9488,6 @@ "smithy.api#httpPayload": {}, "smithy.api#required": {} } - }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } } } }, @@ -9123,7 +9497,7 @@ "target": "com.amazonaws.s3#PutBucketPolicyRequest" }, "traits": { - "smithy.api#documentation": "

Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than the root user of the AWS account that owns the bucket, the calling identity must have the PutBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.

\n \n

If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error.

\n \n \n

As a security precaution, the root user of the AWS account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.\n

\n
\n \n \n

For more information about bucket policies, see Using Bucket Policies and User Policies.

\n \n

The following operations are related to PutBucketPolicy:

\n ", + "smithy.api#documentation": "

Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than\n the root user of the AWS account that owns the bucket, the calling identity must have the\n PutBucketPolicy permissions on the specified bucket and belong to the\n bucket owner's account in order to use this operation.

\n\n

If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403\n Access Denied error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed error.

\n\n \n

As a security precaution, the root user of the AWS account that owns a bucket can\n always use this operation, even if the policy explicitly denies the root user the\n ability to perform this action.

\n
\n\n\n

For more information about bucket policies, see Using Bucket Policies and User\n Policies.

\n\n

The following operations are related to PutBucketPolicy:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?policy", @@ -9135,11 +9509,12 @@ "com.amazonaws.s3#PutBucketPolicyRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

The name of the bucket.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "ContentMD5": { @@ -9152,26 +9527,26 @@ "smithy.api#httpHeader": "Content-MD5" } }, - "Policy": { - "target": "com.amazonaws.s3#Policy", + "ConfirmRemoveSelfBucketAccess": { + "target": "com.amazonaws.s3#ConfirmRemoveSelfBucketAccess", "traits": { - "smithy.api#documentation": "

The bucket policy as a JSON document.

", - "smithy.api#required": {} + "smithy.api#documentation": "

Set this parameter to true to confirm that you want to remove your permissions to change\n this bucket policy in the future.

", + "smithy.api#httpHeader": "x-amz-confirm-remove-self-bucket-access" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "Policy": { + "target": "com.amazonaws.s3#Policy", "traits": { - "smithy.api#documentation": "

The name of the bucket.

", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "

The bucket policy as a JSON document.

", + "smithy.api#httpPayload": {}, "smithy.api#required": {} } }, - "ConfirmRemoveSelfBucketAccess": { - "target": "com.amazonaws.s3#ConfirmRemoveSelfBucketAccess", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.

", - "smithy.api#httpHeader": "x-amz-confirm-remove-self-bucket-access" + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -9182,56 +9557,56 @@ "target": "com.amazonaws.s3#PutBucketReplicationRequest" }, "traits": { - "smithy.api#documentation": "

Creates a replication configuration or replaces an existing one. For more information,\n see Replication in the Amazon S3 Developer Guide.

\n \n

To perform this operation, the user or role performing the operation must have the iam:PassRole permission.

\n
\n

Specify the replication configuration in the request body. In the replication configuration, you provide the name of the destination bucket where you want Amazon S3 to replicate objects, the IAM role that Amazon S3 can assume to replicate objects on your behalf, and other relevant information.

\n \n \n

A replication configuration must include at least one rule, and can contain a maximum of 1,000. Each rule identifies a subset of objects to replicate by filtering the objects in the source bucket. To choose additional subsets of objects to replicate, add a rule for each subset. All rules must specify the same destination bucket.

\n \n

To specify a subset of the objects in the source bucket to apply a replication rule to, add the Filter element as a child of the Rule element.\n You can filter objects based on an object key prefix, one or more object tags, or both. When you add the Filter element in the configuration, \n you must also add the following elements: DeleteMarkerReplication, Status, and Priority.

\n \n

The latest version of the replication configuration XML is V2. XML V2 replication configurations are those that contain the Filter \n element for rules, and rules that specify S3 Replication Time Control (S3 RTC). In XML V2 replication configurations, Amazon S3 doesn't replicate delete markers. Therefore, you must set the \n DeleteMarkerReplication element to Disabled. For backward compatibility, Amazon S3 continues to support the XML V1 replication configuration.

\n
\n

For information about enabling versioning on a bucket, see Using Versioning.

\n \n

By default, a resource owner, in this case the AWS account that created the bucket, can perform this operation. The resource owner can also grant others permissions to perform the operation. For more information about permissions, see Specifying Permissions in a Policy and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

\n Handling Replication of Encrypted Objects\n

\n

By default, Amazon S3 doesn't replicate objects that are stored at rest using server-side encryption with CMKs stored in AWS KMS. To replicate AWS KMS-encrypted objects, add the following: SourceSelectionCriteria, SseKmsEncryptedObjects, Status, EncryptionConfiguration, and ReplicaKmsKeyID. For information about replication configuration, see Replicating Objects Created with SSE Using CMKs stored in AWS KMS.

\n \n

For information on PutBucketReplication errors, see List of replication-related error codes\n

\n \n \n

The following operations are related to PutBucketReplication:

\n ", + "smithy.api#documentation": "

Creates a replication configuration or replaces an existing one. For more information,\n see Replication in the Amazon S3 Developer Guide.

\n \n

To perform this operation, the user or role performing the operation must have the\n iam:PassRole permission.

\n
\n

Specify the replication configuration in the request body. In the replication\n configuration, you provide the name of the destination bucket where you want Amazon S3 to\n replicate objects, the IAM role that Amazon S3 can assume to replicate objects on your behalf,\n and other relevant information.

\n\n\n

A replication configuration must include at least one rule, and can contain a maximum of\n 1,000. Each rule identifies a subset of objects to replicate by filtering the objects in\n the source bucket. To choose additional subsets of objects to replicate, add a rule for\n each subset. All rules must specify the same destination bucket.

\n\n

To specify a subset of the objects in the source bucket to apply a replication rule to,\n add the Filter element as a child of the Rule element. You can filter objects based on an\n object key prefix, one or more object tags, or both. When you add the Filter element in the\n configuration, you must also add the following elements:\n DeleteMarkerReplication, Status, and\n Priority.

\n \n

The latest version of the replication configuration XML is V2. XML V2 replication\n configurations are those that contain the Filter element for rules, and\n rules that specify S3 Replication Time Control (S3 RTC). In XML V2 replication configurations, Amazon S3 doesn't\n replicate delete markers. Therefore, you must set the\n DeleteMarkerReplication element to Disabled. For backward\n compatibility, Amazon S3 continues to support the XML V1 replication configuration.

\n
\n

For information about enabling versioning on a bucket, see Using Versioning.

\n\n

By default, a resource owner, in this case the AWS account that created the bucket, can\n perform this operation. The resource owner can also grant others permissions to perform the\n operation. For more information about permissions, see Specifying Permissions in a Policy\n and Managing Access Permissions to Your\n Amazon S3 Resources.

\n\n

\n Handling Replication of Encrypted Objects\n

\n

By default, Amazon S3 doesn't replicate objects that are stored at rest using server-side\n encryption with CMKs stored in AWS KMS. To replicate AWS KMS-encrypted objects, add the\n following: SourceSelectionCriteria, SseKmsEncryptedObjects,\n Status, EncryptionConfiguration, and\n ReplicaKmsKeyID. For information about replication configuration, see\n Replicating Objects\n Created with SSE Using CMKs stored in AWS KMS.

\n\n

For information on PutBucketReplication errors, see List of\n replication-related error codes\n

\n\n\n

The following operations are related to PutBucketReplication:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?replication", "code": 200 }, - "smithy.api#httpChecksumRequired": {} - } - }, - "com.amazonaws.s3#PutBucketReplicationRequest": { - "type": "structure", - "members": { - "Token": { - "target": "com.amazonaws.s3#ObjectLockToken", - "traits": { - "smithy.api#documentation": "

", - "smithy.api#httpHeader": "x-amz-bucket-object-lock-token" - } - }, - "ReplicationConfiguration": { - "target": "com.amazonaws.s3#ReplicationConfiguration", + "smithy.api#httpChecksumRequired": {} + } + }, + "com.amazonaws.s3#PutBucketReplicationRequest": { + "type": "structure", + "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#httpPayload": {}, + "smithy.api#documentation": "

The name of the bucket

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#deprecated": { "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." }, - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

", + "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

", "smithy.api#httpHeader": "Content-MD5" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "ReplicationConfiguration": { + "target": "com.amazonaws.s3#ReplicationConfiguration", "traits": { - "smithy.api#documentation": "

The name of the bucket

", - "smithy.api#httpLabel": {}, + "smithy.api#httpPayload": {}, "smithy.api#required": {} } + }, + "Token": { + "target": "com.amazonaws.s3#ObjectLockToken", + "traits": { + "smithy.api#documentation": "

A token to allow Object Lock to be enabled for an existing bucket.

", + "smithy.api#httpHeader": "x-amz-bucket-object-lock-token" + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -9241,7 +9616,7 @@ "target": "com.amazonaws.s3#PutBucketRequestPaymentRequest" }, "traits": { - "smithy.api#documentation": "

Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download. For more information, see Requester Pays Buckets.

\n \n

The following operations are related to PutBucketRequestPayment:

\n ", + "smithy.api#documentation": "

Sets the request payment configuration for a bucket. By default, the bucket owner pays\n for downloads from the bucket. This configuration parameter enables the bucket owner (only)\n to specify that the person requesting the download will be charged for the download. For\n more information, see Requester Pays\n Buckets.

\n\n

The following operations are related to PutBucketRequestPayment:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?requestPayment", @@ -9261,24 +9636,24 @@ "smithy.api#required": {} } }, - "RequestPaymentConfiguration": { - "target": "com.amazonaws.s3#RequestPaymentConfiguration", - "traits": { - "smithy.api#documentation": "

Container for Payer.

", - "smithy.api#httpPayload": {}, - "smithy.api#required": {} - } - }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#deprecated": { "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." }, - "smithy.api#documentation": "

>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

", + "smithy.api#documentation": "

>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a\n message integrity check to verify that the request body was not corrupted in transit. For\n more information, see RFC\n 1864.

", "smithy.api#httpHeader": "Content-MD5" } }, + "RequestPaymentConfiguration": { + "target": "com.amazonaws.s3#RequestPaymentConfiguration", + "traits": { + "smithy.api#documentation": "

Container for Payer.

", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + }, "ExpectedBucketOwner": { "target": "com.amazonaws.s3#AccountId", "traits": { @@ -9294,7 +9669,7 @@ "target": "com.amazonaws.s3#PutBucketTaggingRequest" }, "traits": { - "smithy.api#documentation": "

Sets the tags for a bucket.

\n

Use tags to organize your AWS bill to reflect your own cost structure. To do this, sign up to get your AWS account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key values. For example, you can tag several resources with a specific application name, and then organize your billing information to see the total cost of that application across several services. For more information, see Cost Allocation and Tagging.

\n \n \n

Within a bucket, if you add a tag that has the same key as an existing tag, the new value overwrites the old value. For more information, see Using Cost Allocation in Amazon S3 Bucket Tags.

\n
\n

To use this operation, you must have permissions to perform the s3:PutBucketTagging action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

\n \n

\n PutBucketTagging has the following special errors:

\n \n \n \n

The following operations are related to PutBucketTagging:

\n ", + "smithy.api#documentation": "

Sets the tags for a bucket.

\n

Use tags to organize your AWS bill to reflect your own cost structure. To do this, sign\n up to get your AWS account bill with tag key values included. Then, to see the cost of\n combined resources, organize your billing information according to resources with the same\n tag key values. For example, you can tag several resources with a specific application\n name, and then organize your billing information to see the total cost of that application\n across several services. For more information, see Cost Allocation\n and Tagging.

\n\n \n

Within a bucket, if you add a tag that has the same key as an existing tag, the new\n value overwrites the old value. For more information, see Using Cost Allocation in Amazon S3 Bucket\n Tags.

\n
\n

To use this operation, you must have permissions to perform the\n s3:PutBucketTagging action. The bucket owner has this permission by default\n and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

\n PutBucketTagging has the following special errors:

\n \n\n\n

The following operations are related to PutBucketTagging:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?tagging", @@ -9306,13 +9681,6 @@ "com.amazonaws.s3#PutBucketTaggingRequest": { "type": "structure", "members": { - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -9321,6 +9689,16 @@ "smithy.api#required": {} } }, + "ContentMD5": { + "target": "com.amazonaws.s3#ContentMD5", + "traits": { + "smithy.api#deprecated": { + "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." + }, + "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

", + "smithy.api#httpHeader": "Content-MD5" + } + }, "Tagging": { "target": "com.amazonaws.s3#Tagging", "traits": { @@ -9329,14 +9707,11 @@ "smithy.api#required": {} } }, - "ContentMD5": { - "target": "com.amazonaws.s3#ContentMD5", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#deprecated": { - "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." - }, - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

", - "smithy.api#httpHeader": "Content-MD5" + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -9347,7 +9722,7 @@ "target": "com.amazonaws.s3#PutBucketVersioningRequest" }, "traits": { - "smithy.api#documentation": "

Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner.

\n

You can set the versioning state with one of the following values:

\n \n

\n Enabled—Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID.

\n \n

\n Suspended—Disables versioning for the objects in the bucket. All objects added to the bucket receive the version ID null.

\n \n

If the versioning state has never been set on a bucket, it has no versioning state; a GetBucketVersioning request does not return a versioning state value.

\n \n

If the bucket owner enables MFA Delete in the bucket versioning configuration, the bucket\n owner must include the x-amz-mfa request header and the Status\n and the MfaDelete request elements in a request to set the versioning state of\n the bucket.

\n \n \n

If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletes of the noncurrent object versions in the version-enabled bucket. (A version-enabled bucket maintains one current and zero or more noncurrent object versions.) For more information, see Lifecycle and Versioning.

\n
\n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Sets the versioning state of an existing bucket. To set the versioning state, you must\n be the bucket owner.

\n

You can set the versioning state with one of the following values:

\n\n

\n Enabled—Enables versioning for the objects in the\n bucket. All objects added to the bucket receive a unique version ID.

\n\n

\n Suspended—Disables versioning for the objects in the\n bucket. All objects added to the bucket receive the version ID null.

\n\n

If the versioning state has never been set on a bucket, it has no versioning state; a\n GetBucketVersioning request does not return a versioning state value.

\n\n

If the bucket owner enables MFA Delete in the bucket versioning configuration, the\n bucket owner must include the x-amz-mfa request header and the\n Status and the MfaDelete request elements in a request to set\n the versioning state of the bucket.

\n\n \n

If you have an object expiration lifecycle policy in your non-versioned bucket and\n you want to maintain the same permanent delete behavior when you enable versioning, you\n must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will\n manage the deletes of the noncurrent object versions in the version-enabled bucket. (A\n version-enabled bucket maintains one current and zero or more noncurrent object\n versions.) For more information, see Lifecycle and Versioning.

\n
\n\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?versioning", @@ -9359,28 +9734,28 @@ "com.amazonaws.s3#PutBucketVersioningRequest": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The bucket name.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#deprecated": { "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." }, - "smithy.api#documentation": "

>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

", + "smithy.api#documentation": "

>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a\n message integrity check to verify that the request body was not corrupted in transit. For\n more information, see RFC\n 1864.

", "smithy.api#httpHeader": "Content-MD5" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", - "traits": { - "smithy.api#documentation": "

The bucket name.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "MFA": { "target": "com.amazonaws.s3#MFA", "traits": { - "smithy.api#documentation": "

The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.

", + "smithy.api#documentation": "

The concatenation of the authentication device's serial number, a space, and the value\n that is displayed on your authentication device.

", "smithy.api#httpHeader": "x-amz-mfa" } }, @@ -9407,7 +9782,7 @@ "target": "com.amazonaws.s3#PutBucketWebsiteRequest" }, "traits": { - "smithy.api#documentation": "

Sets the configuration of the website that is specified in the website subresource. To configure a bucket as a website, you can add this subresource on the bucket with website configuration information such as the file name of the index document and any redirect rules. For more information, see Hosting Websites on Amazon S3.

\n \n

This PUT operation requires the S3:PutBucketWebsite permission. By default, only the bucket owner can configure the website attached to a bucket; however, bucket owners can allow other users to set the website configuration by writing a bucket policy that grants them the S3:PutBucketWebsite permission.

\n \n

To redirect all website requests sent to the bucket's website endpoint, you add a website configuration with the following elements. Because all requests are sent to another website, you don't need to provide index document name for the bucket.

\n \n \n

If you want granular control over redirects, you can use the following elements to add routing rules that describe conditions for redirecting requests and information about the redirect destination. In this case, the website configuration must provide an index document for the bucket, because some requests might not be redirected.

\n \n \n

Amazon S3 has a limitation of 50 routing rules per website configuration. If you require more\n than 50 routing rules, you can use object redirect. For more information, see Configuring an Object Redirect in the\n Amazon Simple Storage Service Developer Guide.

", + "smithy.api#documentation": "

Sets the configuration of the website that is specified in the website\n subresource. To configure a bucket as a website, you can add this subresource on the bucket\n with website configuration information such as the file name of the index document and any\n redirect rules. For more information, see Hosting Websites on Amazon S3.

\n\n

This PUT operation requires the S3:PutBucketWebsite permission. By default,\n only the bucket owner can configure the website attached to a bucket; however, bucket\n owners can allow other users to set the website configuration by writing a bucket policy\n that grants them the S3:PutBucketWebsite permission.

\n\n

To redirect all website requests sent to the bucket's website endpoint, you add a\n website configuration with the following elements. Because all requests are sent to another\n website, you don't need to provide index document name for the bucket.

\n \n\n

If you want granular control over redirects, you can use the following elements to add\n routing rules that describe conditions for redirecting requests and information about the\n redirect destination. In this case, the website configuration must provide an index\n document for the bucket, because some requests might not be redirected.

\n \n\n

Amazon S3 has a limitation of 50 routing rules per website configuration. If you require more\n than 50 routing rules, you can use object redirect. For more information, see Configuring an\n Object Redirect in the Amazon Simple Storage Service Developer Guide.

", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?website", @@ -9419,38 +9794,38 @@ "com.amazonaws.s3#PutBucketWebsiteRequest": { "type": "structure", "members": { - "WebsiteConfiguration": { - "target": "com.amazonaws.s3#WebsiteConfiguration", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

Container for the request.

", - "smithy.api#httpPayload": {}, + "smithy.api#documentation": "

The bucket name.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { "smithy.api#deprecated": { "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." }, - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

", + "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

", "smithy.api#httpHeader": "Content-MD5" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "WebsiteConfiguration": { + "target": "com.amazonaws.s3#WebsiteConfiguration", "traits": { - "smithy.api#documentation": "

The bucket name.

", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "

Container for the request.

", + "smithy.api#httpPayload": {}, "smithy.api#required": {} } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -9463,7 +9838,7 @@ "target": "com.amazonaws.s3#PutObjectOutput" }, "traits": { - "smithy.api#documentation": "

Adds an object to a bucket. You must have WRITE permissions on a bucket to add an object to it.

\n \n\n

Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the entire object to the bucket.

\n \n

Amazon S3 is a distributed system. If it receives multiple write requests for the same object simultaneously, it overwrites all but the last object written. Amazon S3 does not provide object locking; if you need this, make sure to build it into your application layer or use versioning instead.

\n \n

To ensure that data is not corrupted traversing the network, use the Content-MD5 header. When you use this header, Amazon S3 checks the object against the provided MD5 value and, if they do not match, returns an error. Additionally, you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to the calculated MD5 value.

\n \n

\n The Content-MD5 header is required for any request to upload an object with a retention period configured using Amazon S3 Object Lock. For more information about Amazon S3 Object Lock, see Amazon S3 Object Lock Overview in the Amazon Simple Storage Service Developer Guide.\n

\n
\n \n \n

\n Server-side Encryption\n

\n

You can optionally request server-side encryption. With server-side encryption, Amazon S3 encrypts your data as it writes it to disks in its data centers and decrypts the data\n when you access it. You have the option to provide your own encryption key or use AWS\n managed encryption keys. For more information, see Using Server-Side\n Encryption.

\n

\n Access Control List (ACL)-Specific Request Headers\n

\n

You can use headers to grant ACL- based permissions. By default, all objects are\n private. Only the owner has full access control. When adding a new object, you can grant\n permissions to individual AWS accounts or to predefined groups defined by Amazon S3. These\n permissions are then added to the ACL on the object. For more information, see Access Control List\n (ACL) Overview and Managing ACLs Using the REST\n API.

\n \n

\n Storage Class Options\n

\n

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects.\n The STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only \n uses the OUTPOSTS Storage Class. For more information, see\n Storage Classes in the\n Amazon S3 Service Developer Guide.

\n \n \n

\n Versioning\n

\n

If you enable versioning for a bucket, Amazon S3 automatically generates a unique\n version ID for the object being stored. Amazon S3 returns this ID in the response. When you\n enable versioning for a bucket, if Amazon S3 receives multiple write requests for the\n same object simultaneously, it stores all of the objects.

\n

For more information about versioning, see Adding Objects to\n Versioning Enabled Buckets. For information about returning the versioning state\n of a bucket, see GetBucketVersioning.

\n\n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Adds an object to a bucket. You must have WRITE permissions on a bucket to add an object\n to it.

\n\n\n

Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the\n entire object to the bucket.

\n\n

Amazon S3 is a distributed system. If it receives multiple write requests for the same object\n simultaneously, it overwrites all but the last object written. Amazon S3 does not provide object\n locking; if you need this, make sure to build it into your application layer or use\n versioning instead.

\n\n

To ensure that data is not corrupted traversing the network, use the\n Content-MD5 header. When you use this header, Amazon S3 checks the object\n against the provided MD5 value and, if they do not match, returns an error. Additionally,\n you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to\n the calculated MD5 value.

\n \n

The Content-MD5 header is required for any request to upload an object\n with a retention period configured using Amazon S3 Object Lock. For more information about\n Amazon S3 Object Lock, see Amazon S3 Object Lock Overview\n in the Amazon Simple Storage Service Developer Guide.

\n
\n\n\n

\n Server-side Encryption\n

\n

You can optionally request server-side encryption. With server-side encryption, Amazon S3\n encrypts your data as it writes it to disks in its data centers and decrypts the data when\n you access it. You have the option to provide your own encryption key or use AWS managed\n encryption keys. For more information, see Using Server-Side\n Encryption.

\n

\n Access Control List (ACL)-Specific Request\n Headers\n

\n

You can use headers to grant ACL- based permissions. By default, all objects are\n private. Only the owner has full access control. When adding a new object, you can grant\n permissions to individual AWS accounts or to predefined groups defined by Amazon S3. These\n permissions are then added to the ACL on the object. For more information, see Access Control List\n (ACL) Overview and Managing ACLs Using the REST\n API.

\n\n

\n Storage Class Options\n

\n

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the Amazon S3\n Service Developer Guide.

\n\n\n

\n Versioning\n

\n

If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID\n for the object being stored. Amazon S3 returns this ID in the response. When you enable\n versioning for a bucket, if Amazon S3 receives multiple write requests for the same object\n simultaneously, it stores all of the objects.

\n

For more information about versioning, see Adding Objects to\n Versioning Enabled Buckets. For information about returning the versioning state\n of a bucket, see GetBucketVersioning.

\n\n\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?x-id=PutObject", @@ -9485,7 +9860,7 @@ } ], "traits": { - "smithy.api#documentation": "

Uses the acl subresource to set the access control list (ACL) permissions for a new or existing object in an S3 bucket. You must have WRITE_ACP permission to\n set the ACL of an object. For more information, see What permissions can I grant? in the Amazon Simple Storage Service Developer Guide.

\n

This action is not supported by Amazon S3 on Outposts.

\n

Depending on your application needs, you can choose to set the ACL on an object using\n either the request body or the headers. For example, if you have an existing application\n that updates a bucket ACL using the request body, you can continue to use that\n approach. For more information, see\n Access Control List (ACL) Overview in the Amazon S3 Developer Guide.

\n \n \n \n

\n Access Permissions\n

\n

You can set access permissions using one of the following methods:

\n \n

You can use either a canned ACL or specify access permissions explicitly. You cannot do both.

\n

\n Grantee Values\n

\n

You can specify the person (grantee) to whom you're assigning access rights (using request elements) in the following ways:

\n \n

\n Versioning\n

\n

The ACL of an object is set at the object version level. By default, PUT sets the ACL of the current version of an object. To set the ACL of a different version, use the versionId subresource.

\n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Uses the acl subresource to set the access control list (ACL) permissions\n for a new or existing object in an S3 bucket. You must have WRITE_ACP\n permission to set the ACL of an object. For more information, see What\n permissions can I grant? in the Amazon Simple Storage Service Developer Guide.

\n

This action is not supported by Amazon S3 on Outposts.

\n

Depending on your application needs, you can choose to set\n the ACL on an object using either the request body or the headers. For example, if you have\n an existing application that updates a bucket ACL using the request body, you can continue\n to use that approach. For more information, see Access Control List (ACL) Overview in the Amazon S3 Developer\n Guide.

\n\n\n\n

\n Access Permissions\n

\n

You can set access permissions using one of the following methods:

\n \n

You can use either a canned ACL or specify access permissions explicitly. You cannot do\n both.

\n

\n Grantee Values\n

\n

You can specify the person (grantee) to whom you're assigning access rights (using\n request elements) in the following ways:

\n \n

\n Versioning\n

\n

The ACL of an object is set at the object version level. By default, PUT sets the ACL of\n the current version of an object. To set the ACL of a different version, use the\n versionId subresource.

\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?acl", @@ -9508,24 +9883,26 @@ "com.amazonaws.s3#PutObjectAclRequest": { "type": "structure", "members": { - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", - "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" - } - }, "ACL": { "target": "com.amazonaws.s3#ObjectCannedACL", "traits": { - "smithy.api#documentation": "

The canned ACL to apply to the object. For more information, see Canned\n ACL.

", + "smithy.api#documentation": "

The canned ACL to apply to the object. For more information, see Canned ACL.

", "smithy.api#httpHeader": "x-amz-acl" } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "AccessControlPolicy": { + "target": "com.amazonaws.s3#AccessControlPolicy", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

Contains the elements that set the ACL permissions for an object per grantee.

", + "smithy.api#httpPayload": {} + } + }, + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The bucket name that contains the object to which you want to attach the ACL.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "ContentMD5": { @@ -9534,24 +9911,24 @@ "smithy.api#deprecated": { "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." }, - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity \n check to verify that the request body was not corrupted in transit. For more information, go to \n RFC 1864.>\n

", + "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.>\n

", "smithy.api#httpHeader": "Content-MD5" } }, - "AccessControlPolicy": { - "target": "com.amazonaws.s3#AccessControlPolicy", - "traits": { - "smithy.api#documentation": "

Contains the elements that set the ACL permissions for an object per grantee.

", - "smithy.api#httpPayload": {} - } - }, "GrantFullControl": { "target": "com.amazonaws.s3#GrantFullControl", "traits": { - "smithy.api#documentation": "

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#documentation": "

Allows grantee the read, write, read ACP, and write ACP permissions on the\n bucket.

\n

This action is not supported by Amazon S3 on Outposts.

", "smithy.api#httpHeader": "x-amz-grant-full-control" } }, + "GrantRead": { + "target": "com.amazonaws.s3#GrantRead", + "traits": { + "smithy.api#documentation": "

Allows grantee to list the objects in the\n bucket.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-read" + } + }, "GrantReadACP": { "target": "com.amazonaws.s3#GrantReadACP", "traits": { @@ -9559,13 +9936,6 @@ "smithy.api#httpHeader": "x-amz-grant-read-acp" } }, - "GrantRead": { - "target": "com.amazonaws.s3#GrantRead", - "traits": { - "smithy.api#documentation": "

Allows grantee to list the objects in the bucket.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-read" - } - }, "GrantWrite": { "target": "com.amazonaws.s3#GrantWrite", "traits": { @@ -9573,6 +9943,13 @@ "smithy.api#httpHeader": "x-amz-grant-write" } }, + "GrantWriteACP": { + "target": "com.amazonaws.s3#GrantWriteACP", + "traits": { + "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable\n bucket.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-write-acp" + } + }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { @@ -9581,11 +9958,10 @@ "smithy.api#required": {} } }, - "GrantWriteACP": { - "target": "com.amazonaws.s3#GrantWriteACP", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable bucket.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-write-acp" + "smithy.api#httpHeader": "x-amz-request-payer" } }, "VersionId": { @@ -9595,12 +9971,11 @@ "smithy.api#httpQuery": "versionId" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

The bucket name that contains the object to which you want to attach the ACL.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -9614,7 +9989,7 @@ "target": "com.amazonaws.s3#PutObjectLegalHoldOutput" }, "traits": { - "smithy.api#documentation": "

Applies a Legal Hold configuration to the specified object.

\n

This action is not supported by Amazon S3 on Outposts.

\n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Applies a Legal Hold configuration to the specified object.

\n

This action is not supported by Amazon S3 on Outposts.

\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?legal-hold", @@ -9645,28 +10020,25 @@ "smithy.api#required": {} } }, - "ContentMD5": { - "target": "com.amazonaws.s3#ContentMD5", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#deprecated": { - "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." - }, - "smithy.api#documentation": "

The MD5 hash for the request body.

", - "smithy.api#httpHeader": "Content-MD5" + "smithy.api#documentation": "

The key name for the object that you want to place a Legal Hold on.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "LegalHold": { "target": "com.amazonaws.s3#ObjectLockLegalHold", "traits": { - "smithy.api#documentation": "

Container element for the Legal Hold configuration you want to apply to the specified object.

", + "smithy.api#documentation": "

Container element for the Legal Hold configuration you want to apply to the specified\n object.

", "smithy.api#httpPayload": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#httpHeader": "x-amz-request-payer" } }, "VersionId": { @@ -9676,18 +10048,21 @@ "smithy.api#httpQuery": "versionId" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "ContentMD5": { + "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The key name for the object that you want to place a Legal Hold on.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#deprecated": { + "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." + }, + "smithy.api#documentation": "

The MD5 hash for the request body.

", + "smithy.api#httpHeader": "Content-MD5" } }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -9701,7 +10076,7 @@ "target": "com.amazonaws.s3#PutObjectLockConfigurationOutput" }, "traits": { - "smithy.api#documentation": "

Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket.

\n \n

\n DefaultRetention requires either Days or Years. You can't specify both at the same time.

\n
\n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Places an Object Lock configuration on the specified bucket. The rule specified in the\n Object Lock configuration will be applied by default to every new object placed in the\n specified bucket.

\n \n

\n DefaultRetention requires either Days or Years. You can't specify both\n at the same time.

\n
\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?object-lock", @@ -9724,17 +10099,12 @@ "com.amazonaws.s3#PutObjectLockConfigurationRequest": { "type": "structure", "members": { - "Token": { - "target": "com.amazonaws.s3#ObjectLockToken", - "traits": { - "smithy.api#documentation": "

A token to allow Object Lock to be enabled for an existing bucket.

", - "smithy.api#httpHeader": "x-amz-bucket-object-lock-token" - } - }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

The bucket whose Object Lock configuration you want to create or replace.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "ObjectLockConfiguration": { @@ -9744,12 +10114,17 @@ "smithy.api#httpPayload": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

The bucket whose Object Lock configuration you want to create or replace.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#httpHeader": "x-amz-request-payer" + } + }, + "Token": { + "target": "com.amazonaws.s3#ObjectLockToken", + "traits": { + "smithy.api#documentation": "

A token to allow Object Lock to be enabled for an existing bucket.

", + "smithy.api#httpHeader": "x-amz-bucket-object-lock-token" } }, "ContentMD5": { @@ -9774,27 +10149,13 @@ "com.amazonaws.s3#PutObjectOutput": { "type": "structure", "members": { - "SSEKMSEncryptionContext": { - "target": "com.amazonaws.s3#SSEKMSEncryptionContext", - "traits": { - "smithy.api#documentation": "

If present, specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-context" - } - }, "Expiration": { "target": "com.amazonaws.s3#Expiration", "traits": { - "smithy.api#documentation": "

\t\n If the expiration is configured for the object (see PutBucketLifecycleConfiguration), the response includes this header. It includes the expiry-date and rule-id key-value pairs that provide information about object expiration. The value of the rule-id is URL encoded.

", + "smithy.api#documentation": "

If the expiration is configured for the object (see PutBucketLifecycleConfiguration), the response includes this header. It\n includes the expiry-date and rule-id key-value pairs that provide information about object\n expiration. The value of the rule-id is URL encoded.

", "smithy.api#httpHeader": "x-amz-expiration" } }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", - "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response\n will include this header to provide round-trip message integrity verification of the\n customer-provided encryption key.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" - } - }, "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { @@ -9802,11 +10163,11 @@ "smithy.api#httpHeader": "ETag" } }, - "SSECustomerAlgorithm": { - "target": "com.amazonaws.s3#SSECustomerAlgorithm", + "ServerSideEncryption": { + "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" + "smithy.api#documentation": "

If you specified server-side encryption either with an AWS KMS customer master key (CMK)\n or Amazon S3-managed encryption key in your PUT request, the response includes this header. It\n confirms the encryption algorithm that Amazon S3 used to encrypt the object.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, "VersionId": { @@ -9816,24 +10177,38 @@ "smithy.api#httpHeader": "x-amz-version-id" } }, - "RequestCharged": { - "target": "com.amazonaws.s3#RequestCharged", + "SSECustomerAlgorithm": { + "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header confirming the encryption algorithm used.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" + } + }, + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", + "traits": { + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide round-trip message integrity verification of\n the customer-provided encryption key.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, "SSEKMSKeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

If x-amz-server-side-encryption is present and has the value of\n aws:kms, this header specifies the ID of the AWS Key Management Service\n (AWS KMS) symmetric customer managed customer master key (CMK) that was used for the object.

", + "smithy.api#documentation": "

If x-amz-server-side-encryption is present and has the value of\n aws:kms, this header specifies the ID of the AWS Key Management Service\n (AWS KMS) symmetric customer managed customer master key (CMK) that was used for the\n object.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, - "ServerSideEncryption": { - "target": "com.amazonaws.s3#ServerSideEncryption", + "SSEKMSEncryptionContext": { + "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

If you specified server-side encryption either with an AWS KMS customer master key (CMK) or Amazon S3-managed encryption key in your PUT request, the response includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the object.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption" + "smithy.api#documentation": "

If present, specifies the AWS KMS Encryption Context to use for object encryption. The\n value of this header is a base64-encoded UTF-8 string holding JSON with the encryption\n context key-value pairs.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-context" + } + }, + "RequestCharged": { + "target": "com.amazonaws.s3#RequestCharged", + "traits": { + "smithy.api#httpHeader": "x-amz-request-charged" } } } @@ -9841,6 +10216,20 @@ "com.amazonaws.s3#PutObjectRequest": { "type": "structure", "members": { + "ACL": { + "target": "com.amazonaws.s3#ObjectCannedACL", + "traits": { + "smithy.api#documentation": "

The canned ACL to apply to the object. For more information, see Canned\n ACL.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-acl" + } + }, + "Body": { + "target": "com.amazonaws.s3#StreamingBlob", + "traits": { + "smithy.api#documentation": "

Object data.

", + "smithy.api#httpPayload": {} + } + }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { @@ -9849,172 +10238,172 @@ "smithy.api#required": {} } }, - "GrantFullControl": { - "target": "com.amazonaws.s3#GrantFullControl", + "CacheControl": { + "target": "com.amazonaws.s3#CacheControl", "traits": { - "smithy.api#documentation": "

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-full-control" + "smithy.api#documentation": "

Can be used to specify caching behavior along the request/reply chain. For more\n information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.

", + "smithy.api#httpHeader": "Cache-Control" } }, - "Metadata": { - "target": "com.amazonaws.s3#Metadata", + "ContentDisposition": { + "target": "com.amazonaws.s3#ContentDisposition", "traits": { - "smithy.api#documentation": "

A map of metadata to store with the object in S3.

", - "smithy.api#httpPrefixHeaders": "x-amz-meta-" + "smithy.api#documentation": "

Specifies presentational information for the object. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1.

", + "smithy.api#httpHeader": "Content-Disposition" } }, "ContentEncoding": { "target": "com.amazonaws.s3#ContentEncoding", "traits": { - "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11.

", + "smithy.api#documentation": "

Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11.

", "smithy.api#httpHeader": "Content-Encoding" } }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "ContentLanguage": { + "target": "com.amazonaws.s3#ContentLanguage", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

The language the content is in.

", + "smithy.api#httpHeader": "Content-Language" } }, - "GrantReadACP": { - "target": "com.amazonaws.s3#GrantReadACP", + "ContentLength": { + "target": "com.amazonaws.s3#ContentLength", "traits": { - "smithy.api#documentation": "

Allows grantee to read the object ACL.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-read-acp" + "smithy.api#documentation": "

Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13.

", + "smithy.api#httpHeader": "Content-Length" } }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", + "ContentMD5": { + "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" + "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the message (without the headers) according to\n RFC 1864. This header can be used as a message integrity check to verify that the data is\n the same data that was originally sent. Although it is optional, we recommend using the\n Content-MD5 mechanism as an end-to-end integrity check. For more information about REST\n request authentication, see REST\n Authentication.

", + "smithy.api#httpHeader": "Content-MD5" } }, - "CacheControl": { - "target": "com.amazonaws.s3#CacheControl", + "ContentType": { + "target": "com.amazonaws.s3#ContentType", "traits": { - "smithy.api#documentation": "

\t\n Can be used to specify caching behavior along the request/reply chain. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.

", - "smithy.api#httpHeader": "Cache-Control" + "smithy.api#documentation": "

A standard MIME type describing the format of the contents. For more information, see\n http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17.

", + "smithy.api#httpHeader": "Content-Type" } }, - "WebsiteRedirectLocation": { - "target": "com.amazonaws.s3#WebsiteRedirectLocation", + "Expires": { + "target": "com.amazonaws.s3#Expires", "traits": { - "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another object\n in the same bucket or to an external URL. Amazon S3 stores the value of this header in the\n object metadata. For information about object metadata, see Object Key and Metadata.

\n \n

In the following example, the request header sets the redirect to an object (anotherPage.html) in the same bucket:

\n \n

\n x-amz-website-redirect-location: /anotherPage.html\n

\n \n

In the following example, the request header sets the object redirect to another website:

\n \n

\n x-amz-website-redirect-location: http://www.example.com/\n

\n \n

For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and How to Configure Website Page Redirects.

", - "smithy.api#httpHeader": "x-amz-website-redirect-location" + "smithy.api#documentation": "

The date and time at which the object is no longer cacheable. For more information, see\n http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21.

", + "smithy.api#httpHeader": "Expires" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "GrantFullControl": { + "target": "com.amazonaws.s3#GrantFullControl", "traits": { - "smithy.api#documentation": "

Object key for which the PUT operation was initiated.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the\n object.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-full-control" } }, - "ObjectLockLegalHoldStatus": { - "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", + "GrantRead": { + "target": "com.amazonaws.s3#GrantRead", "traits": { - "smithy.api#documentation": "

Specifies whether a legal hold will be applied to this object. For more information about S3 Object Lock, see Object Lock.

", - "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" + "smithy.api#documentation": "

Allows grantee to read the object data and its\n metadata.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-read" } }, - "GrantWriteACP": { - "target": "com.amazonaws.s3#GrantWriteACP", + "GrantReadACP": { + "target": "com.amazonaws.s3#GrantReadACP", "traits": { - "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable object.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-write-acp" + "smithy.api#documentation": "

Allows grantee to read the object ACL.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-read-acp" } }, - "ContentLength": { - "target": "com.amazonaws.s3#ContentLength", + "GrantWriteACP": { + "target": "com.amazonaws.s3#GrantWriteACP", "traits": { - "smithy.api#documentation": "

Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13.

", - "smithy.api#httpHeader": "Content-Length" + "smithy.api#documentation": "

Allows grantee to write the ACL for the applicable\n object.

\n

This action is not supported by Amazon S3 on Outposts.

", + "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, - "ObjectLockRetainUntilDate": { - "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

The date and time when you want this object's Object Lock to expire.

", - "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" + "smithy.api#documentation": "

Object key for which the PUT operation was initiated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "SSECustomerAlgorithm": { - "target": "com.amazonaws.s3#SSECustomerAlgorithm", + "Metadata": { + "target": "com.amazonaws.s3#Metadata", "traits": { - "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example, AES256).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" + "smithy.api#documentation": "

A map of metadata to store with the object in S3.

", + "smithy.api#httpPrefixHeaders": "x-amz-meta-" } }, - "ContentDisposition": { - "target": "com.amazonaws.s3#ContentDisposition", + "ServerSideEncryption": { + "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "

Specifies presentational information for the object. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1.

", - "smithy.api#httpHeader": "Content-Disposition" + "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, - "SSECustomerKey": { - "target": "com.amazonaws.s3#SSECustomerKey", + "StorageClass": { + "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" + "smithy.api#documentation": "

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the Amazon S3\n Service Developer Guide.

", + "smithy.api#httpHeader": "x-amz-storage-class" } }, - "SSEKMSEncryptionContext": { - "target": "com.amazonaws.s3#SSEKMSEncryptionContext", + "WebsiteRedirectLocation": { + "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { - "smithy.api#documentation": "

Specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-context" + "smithy.api#documentation": "

If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata. For information about object metadata, see Object Key and Metadata.

\n\n

In the following example, the request header sets the redirect to an object\n (anotherPage.html) in the same bucket:

\n\n

\n x-amz-website-redirect-location: /anotherPage.html\n

\n\n

In the following example, the request header sets the object redirect to another\n website:

\n\n

\n x-amz-website-redirect-location: http://www.example.com/\n

\n\n

For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and How to Configure Website Page\n Redirects.

", + "smithy.api#httpHeader": "x-amz-website-redirect-location" } }, - "Tagging": { - "target": "com.amazonaws.s3#TaggingHeader", + "SSECustomerAlgorithm": { + "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For example, \"Key1=Value1\")

", - "smithy.api#httpHeader": "x-amz-tagging" + "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example,\n AES256).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "Expires": { - "target": "com.amazonaws.s3#Expires", + "SSECustomerKey": { + "target": "com.amazonaws.s3#SSECustomerKey", "traits": { - "smithy.api#documentation": "

The date and time at which the object is no longer cacheable. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21.

", - "smithy.api#httpHeader": "Expires" + "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" } }, - "StorageClass": { - "target": "com.amazonaws.s3#StorageClass", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects.\n The STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only \n uses the OUTPOSTS Storage Class. For more information, see\n Storage Classes in the\n Amazon S3 Service Developer Guide.

", - "smithy.api#httpHeader": "x-amz-storage-class" + "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "SSEKMSKeyId": { + "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

If x-amz-server-side-encryption is present and has the value of\n aws:kms, this header specifies the ID of the AWS Key Management Service\n (AWS KMS) symmetrical customer managed customer master key (CMK) that was used for the\n object.

\n

If the value of x-amz-server-side-encryption is aws:kms, this\n header specifies the ID of the symmetric customer managed AWS KMS CMK that will be used for\n the object. If you specify x-amz-server-side-encryption:aws:kms, but do not\n provide x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the AWS\n managed CMK in AWS to protect the data.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, - "Body": { - "target": "com.amazonaws.s3#StreamingBlob", + "SSEKMSEncryptionContext": { + "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

Object data.

", - "smithy.api#httpPayload": {} + "smithy.api#documentation": "

Specifies the AWS KMS Encryption Context to use for object encryption. The value of this\n header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value\n pairs.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, - "ContentMD5": { - "target": "com.amazonaws.s3#ContentMD5", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the message (without the headers) according to RFC 1864. This header can be used as a message integrity check to verify that the data is the same data that was originally sent. Although it is optional, we recommend using the Content-MD5 mechanism as an end-to-end integrity check. For more information about REST request authentication, see REST Authentication.

", - "smithy.api#httpHeader": "Content-MD5" + "smithy.api#httpHeader": "x-amz-request-payer" } }, - "ServerSideEncryption": { - "target": "com.amazonaws.s3#ServerSideEncryption", + "Tagging": { + "target": "com.amazonaws.s3#TaggingHeader", "traits": { - "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption" + "smithy.api#documentation": "

The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For\n example, \"Key1=Value1\")

", + "smithy.api#httpHeader": "x-amz-tagging" } }, "ObjectLockMode": { @@ -10024,39 +10413,25 @@ "smithy.api#httpHeader": "x-amz-object-lock-mode" } }, - "SSEKMSKeyId": { - "target": "com.amazonaws.s3#SSEKMSKeyId", - "traits": { - "smithy.api#documentation": "

If x-amz-server-side-encryption is present and has the value of\n aws:kms, this header specifies the ID of the AWS Key Management Service\n (AWS KMS) symmetrical customer managed customer master key (CMK) that was used for the object.

\n

If the value of x-amz-server-side-encryption is aws:kms, this\n header specifies the ID of the symmetric customer managed AWS KMS CMK that will be used for the object. If you specify\n x-amz-server-side-encryption:aws:kms, but do not provide\n x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the AWS managed CMK\n in AWS to protect the data.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" - } - }, - "ContentLanguage": { - "target": "com.amazonaws.s3#ContentLanguage", - "traits": { - "smithy.api#documentation": "

The language the content is in.

", - "smithy.api#httpHeader": "Content-Language" - } - }, - "GrantRead": { - "target": "com.amazonaws.s3#GrantRead", + "ObjectLockRetainUntilDate": { + "target": "com.amazonaws.s3#ObjectLockRetainUntilDate", "traits": { - "smithy.api#documentation": "

Allows grantee to read the object data and its metadata.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-grant-read" + "smithy.api#documentation": "

The date and time when you want this object's Object Lock to expire.

", + "smithy.api#httpHeader": "x-amz-object-lock-retain-until-date" } }, - "ACL": { - "target": "com.amazonaws.s3#ObjectCannedACL", + "ObjectLockLegalHoldStatus": { + "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", "traits": { - "smithy.api#documentation": "

The canned ACL to apply to the object. For more information, see Canned ACL.

\n

This action is not supported by Amazon S3 on Outposts.

", - "smithy.api#httpHeader": "x-amz-acl" + "smithy.api#documentation": "

Specifies whether a legal hold will be applied to this object. For more information\n about S3 Object Lock, see Object\n Lock.

", + "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" } }, - "ContentType": { - "target": "com.amazonaws.s3#ContentType", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "

A standard MIME type describing the format of the contents. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17.

", - "smithy.api#httpHeader": "Content-Type" + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -10070,7 +10445,7 @@ "target": "com.amazonaws.s3#PutObjectRetentionOutput" }, "traits": { - "smithy.api#documentation": "

Places an Object Retention configuration on an object.

\n

This action is not supported by Amazon S3 on Outposts.

\n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Places an Object Retention configuration on an object.

\n

This action is not supported by Amazon S3 on Outposts.

\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?retention", @@ -10093,18 +10468,18 @@ "com.amazonaws.s3#PutObjectRetentionRequest": { "type": "structure", "members": { - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The key name for the object that you want to apply this Object Retention configuration to.

", + "smithy.api#documentation": "

The bucket name that contains the object you want to apply this Object Retention\n configuration to.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

The bucket name that contains the object you want to apply this Object Retention configuration to.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#documentation": "

The key name for the object that you want to apply this Object Retention configuration\n to.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10116,24 +10491,17 @@ "smithy.api#httpPayload": {} } }, - "VersionId": { - "target": "com.amazonaws.s3#ObjectVersionId", - "traits": { - "smithy.api#documentation": "

The version ID for the object that you want to apply this Object Retention configuration to.

", - "smithy.api#httpQuery": "versionId" - } - }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { "smithy.api#httpHeader": "x-amz-request-payer" } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "VersionId": { + "target": "com.amazonaws.s3#ObjectVersionId", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#documentation": "

The version ID for the object that you want to apply this Object Retention configuration\n to.

", + "smithy.api#httpQuery": "versionId" } }, "BypassGovernanceRetention": { @@ -10152,6 +10520,13 @@ "smithy.api#documentation": "

The MD5 hash for the request body.

", "smithy.api#httpHeader": "Content-MD5" } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -10164,7 +10539,7 @@ "target": "com.amazonaws.s3#PutObjectTaggingOutput" }, "traits": { - "smithy.api#documentation": "

Sets the supplied tag-set to an object that already exists in a bucket.

\n

A tag is a key-value pair. You can associate tags with an object by sending a PUT request against the tagging subresource that is associated with the object. You can retrieve tags by sending a GET request. For more information, see GetObjectTagging.

\n \n

For tagging-related restrictions related to characters and encodings, see Tag Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags per object.

\n \n

To use this operation, you must have permission to perform the s3:PutObjectTagging action. By default, the bucket owner has this permission and can grant this permission to others.

\n \n

To put tags of any other version, use the versionId query parameter. You also need permission for the s3:PutObjectVersionTagging action.

\n \n

For information about the Amazon S3 object tagging feature, see Object Tagging.

\n \n \n

\n Special Errors\n

\n \n \n \n \n \n \n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Sets the supplied tag-set to an object that already exists in a bucket.

\n

A tag is a key-value pair. You can associate tags with an object by sending a PUT\n request against the tagging subresource that is associated with the object. You can\n retrieve tags by sending a GET request. For more information, see GetObjectTagging.

\n\n

For tagging-related restrictions related to characters and encodings, see Tag\n Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags per\n object.

\n\n

To use this operation, you must have permission to perform the\n s3:PutObjectTagging action. By default, the bucket owner has this\n permission and can grant this permission to others.

\n\n

To put tags of any other version, use the versionId query parameter. You\n also need permission for the s3:PutObjectVersionTagging action.

\n\n

For information about the Amazon S3 object tagging feature, see Object Tagging.

\n\n\n

\n Special Errors\n

\n \n\n \n\n\n\n\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?tagging", @@ -10211,11 +10586,14 @@ "smithy.api#httpQuery": "versionId" } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "ContentMD5": { + "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#deprecated": { + "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." + }, + "smithy.api#documentation": "

The MD5 hash for the request body.

", + "smithy.api#httpHeader": "Content-MD5" } }, "Tagging": { @@ -10226,14 +10604,11 @@ "smithy.api#required": {} } }, - "ContentMD5": { - "target": "com.amazonaws.s3#ContentMD5", + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#deprecated": { - "message": "Content-MD5 header will now be automatically computed and injected in associated operation's Http request." - }, - "smithy.api#documentation": "

The MD5 hash for the request body.

", - "smithy.api#httpHeader": "Content-MD5" + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -10244,7 +10619,7 @@ "target": "com.amazonaws.s3#PutPublicAccessBlockRequest" }, "traits": { - "smithy.api#documentation": "

Creates or modifies the PublicAccessBlock configuration for an Amazon S3\n bucket. To use this operation, you must have the s3:PutBucketPublicAccessBlock\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

\n \n \n

When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an\n object, it checks the PublicAccessBlock configuration for both the bucket\n (or the bucket that contains the object) and the bucket owner's account. If the\n PublicAccessBlock configurations are different between the bucket and\n the account, Amazon S3 uses the most restrictive combination of the bucket-level and\n account-level settings.

\n
\n \n \n

For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".

\n \n \n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Creates or modifies the PublicAccessBlock configuration for an Amazon S3 bucket.\n To use this operation, you must have the s3:PutBucketPublicAccessBlock\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.

\n\n \n

When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or\n an object, it checks the PublicAccessBlock configuration for both the\n bucket (or the bucket that contains the object) and the bucket owner's account. If the\n PublicAccessBlock configurations are different between the bucket and\n the account, Amazon S3 uses the most restrictive combination of the bucket-level and\n account-level settings.

\n
\n\n\n

For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".

\n\n\n\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?publicAccessBlock", @@ -10256,25 +10631,10 @@ "com.amazonaws.s3#PutPublicAccessBlockRequest": { "type": "structure", "members": { - "PublicAccessBlockConfiguration": { - "target": "com.amazonaws.s3#PublicAccessBlockConfiguration", - "traits": { - "smithy.api#documentation": "

The PublicAccessBlock configuration that you want to apply to this Amazon S3\n bucket. You can enable the configuration options in any combination. For more information\n about when Amazon S3 considers a bucket or object public, see The Meaning of \"Public\" in the Amazon Simple Storage Service Developer\n Guide.

", - "smithy.api#httpPayload": {}, - "smithy.api#required": {} - } - }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 bucket whose PublicAccessBlock configuration you\n want to set.

", + "smithy.api#documentation": "

The name of the Amazon S3 bucket whose PublicAccessBlock configuration you want\n to set.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10288,6 +10648,21 @@ "smithy.api#documentation": "

The MD5 hash of the PutPublicAccessBlock request body.

", "smithy.api#httpHeader": "Content-MD5" } + }, + "PublicAccessBlockConfiguration": { + "target": "com.amazonaws.s3#PublicAccessBlockConfiguration", + "traits": { + "smithy.api#documentation": "

The PublicAccessBlock configuration that you want to apply to this Amazon S3\n bucket. You can enable the configuration options in any combination. For more information\n about when Amazon S3 considers a bucket or object public, see The Meaning of \"Public\" in the Amazon Simple Storage Service Developer\n Guide.

", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } } } }, @@ -10297,6 +10672,17 @@ "com.amazonaws.s3#QueueConfiguration": { "type": "structure", "members": { + "Id": { + "target": "com.amazonaws.s3#NotificationId" + }, + "QueueArn": { + "target": "com.amazonaws.s3#QueueArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message\n when it detects events of the specified type.

", + "smithy.api#required": {}, + "smithy.api#xmlName": "Queue" + } + }, "Events": { "target": "com.amazonaws.s3#EventList", "traits": { @@ -10306,23 +10692,12 @@ "smithy.api#xmlName": "Event" } }, - "Id": { - "target": "com.amazonaws.s3#NotificationId" - }, "Filter": { "target": "com.amazonaws.s3#NotificationConfigurationFilter" - }, - "QueueArn": { - "target": "com.amazonaws.s3#QueueArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a\n message when it detects events of the specified type.

", - "smithy.api#required": {}, - "smithy.api#xmlName": "Queue" - } } }, "traits": { - "smithy.api#documentation": "

Specifies the configuration for publishing messages to an Amazon Simple\n Queue Service (Amazon SQS) queue when Amazon S3 detects specified events.

" + "smithy.api#documentation": "

Specifies the configuration for publishing messages to an Amazon Simple Queue Service\n (Amazon SQS) queue when Amazon S3 detects specified events.

" } }, "com.amazonaws.s3#QueueConfigurationList": { @@ -10379,60 +10754,60 @@ "com.amazonaws.s3#Redirect": { "type": "structure", "members": { - "HttpRedirectCode": { - "target": "com.amazonaws.s3#HttpRedirectCode", + "HostName": { + "target": "com.amazonaws.s3#HostName", "traits": { - "smithy.api#documentation": "

The HTTP redirect code to use on the response. Not required if one of the siblings is present.

" + "smithy.api#documentation": "

The host name to use in the redirect request.

" } }, - "ReplaceKeyPrefixWith": { - "target": "com.amazonaws.s3#ReplaceKeyPrefixWith", + "HttpRedirectCode": { + "target": "com.amazonaws.s3#HttpRedirectCode", "traits": { - "smithy.api#documentation": "

The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.

" + "smithy.api#documentation": "

The HTTP redirect code to use on the response. Not required if one of the siblings is\n present.

" } }, "Protocol": { "target": "com.amazonaws.s3#Protocol", "traits": { - "smithy.api#documentation": "

Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

" + "smithy.api#documentation": "

Protocol to use when redirecting requests. The default is the protocol that is used in\n the original request.

" } }, - "HostName": { - "target": "com.amazonaws.s3#HostName", + "ReplaceKeyPrefixWith": { + "target": "com.amazonaws.s3#ReplaceKeyPrefixWith", "traits": { - "smithy.api#documentation": "

The host name to use in the redirect request.

" + "smithy.api#documentation": "

The object key prefix to use in the redirect request. For example, to redirect requests\n for all pages with prefix docs/ (objects in the docs/ folder) to\n documents/, you can set a condition block with KeyPrefixEquals\n set to docs/ and in the Redirect set ReplaceKeyPrefixWith to\n /documents. Not required if one of the siblings is present. Can be present\n only if ReplaceKeyWith is not provided.

" } }, "ReplaceKeyWith": { "target": "com.amazonaws.s3#ReplaceKeyWith", "traits": { - "smithy.api#documentation": "

The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the siblings is present. Can be present only if ReplaceKeyPrefixWith is not provided.

" + "smithy.api#documentation": "

The specific object key to use in the redirect request. For example, redirect request to\n error.html. Not required if one of the siblings is present. Can be present\n only if ReplaceKeyPrefixWith is not provided.

" } } }, "traits": { - "smithy.api#documentation": "

Specifies how requests are redirected. In the event of an error, you can specify a different error code to return.

" + "smithy.api#documentation": "

Specifies how requests are redirected. In the event of an error, you can specify a\n different error code to return.

" } }, "com.amazonaws.s3#RedirectAllRequestsTo": { "type": "structure", "members": { - "Protocol": { - "target": "com.amazonaws.s3#Protocol", - "traits": { - "smithy.api#documentation": "

Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

" - } - }, "HostName": { "target": "com.amazonaws.s3#HostName", "traits": { "smithy.api#documentation": "

Name of the host where requests are redirected.

", "smithy.api#required": {} } + }, + "Protocol": { + "target": "com.amazonaws.s3#Protocol", + "traits": { + "smithy.api#documentation": "

Protocol to use when redirecting requests. The default is the protocol that is used in\n the original request.

" + } } }, "traits": { - "smithy.api#documentation": "

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

" + "smithy.api#documentation": "

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3\n bucket.

" } }, "com.amazonaws.s3#ReplaceKeyPrefixWith": { @@ -10450,14 +10825,14 @@ "Role": { "target": "com.amazonaws.s3#Role", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that Amazon S3 assumes\n when replicating objects. For more information, see How to Set Up Replication in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that\n Amazon S3 assumes when replicating objects. For more information, see How to Set Up\n Replication in the Amazon Simple Storage Service Developer Guide.

", "smithy.api#required": {} } }, "Rules": { "target": "com.amazonaws.s3#ReplicationRules", "traits": { - "smithy.api#documentation": "

A container for one or more replication rules. A replication configuration must have at\n least one rule and can contain a maximum of 1,000 rules.

", + "smithy.api#documentation": "

A container for one or more replication rules. A replication configuration must have at\n least one rule and can contain a maximum of 1,000 rules.

", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Rule" @@ -10465,43 +10840,34 @@ } }, "traits": { - "smithy.api#documentation": "

A container for replication rules. You can add up to 1,000 rules. The maximum size of a\n replication configuration is 2 MB.

" + "smithy.api#documentation": "

A container for replication rules. You can add up to 1,000 rules. The maximum size of a\n replication configuration is 2 MB.

" } }, "com.amazonaws.s3#ReplicationRule": { "type": "structure", "members": { - "Prefix": { - "target": "com.amazonaws.s3#Prefix", - "traits": { - "smithy.api#deprecated": {}, - "smithy.api#documentation": "

An object key name prefix that identifies the object or objects to which the rule applies.\n The maximum prefix length is 1,024 characters. To include all objects in a bucket, specify\n an empty string.

" - } - }, "ID": { "target": "com.amazonaws.s3#ID", "traits": { "smithy.api#documentation": "

A unique identifier for the rule. The maximum value is 255 characters.

" } }, - "SourceSelectionCriteria": { - "target": "com.amazonaws.s3#SourceSelectionCriteria", + "Priority": { + "target": "com.amazonaws.s3#Priority", "traits": { - "smithy.api#documentation": "

A container that describes additional filters for identifying the source objects that you\n want to replicate. You can choose to enable or disable the replication of these objects.\n Currently, Amazon S3 supports only the filter that you can specify for objects created with\n server-side encryption using a customer master key (CMK) stored in AWS Key Management Service (SSE-KMS).

" + "smithy.api#documentation": "

The priority associated with the rule. If you specify multiple rules in a replication\n configuration, Amazon S3 prioritizes the rules to prevent conflicts when filtering. If two or\n more rules identify the same object based on a specified filter, the rule with higher\n priority takes precedence. For example:

\n \n

For more information, see Replication in the\n Amazon Simple Storage Service Developer Guide.

" } }, - "DeleteMarkerReplication": { - "target": "com.amazonaws.s3#DeleteMarkerReplication" + "Prefix": { + "target": "com.amazonaws.s3#Prefix", + "traits": { + "smithy.api#deprecated": {}, + "smithy.api#documentation": "

An object key name prefix that identifies the object or objects to which the rule\n applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket,\n specify an empty string.

" + } }, "Filter": { "target": "com.amazonaws.s3#ReplicationRuleFilter" }, - "Priority": { - "target": "com.amazonaws.s3#Priority", - "traits": { - "smithy.api#documentation": "

The priority associated with the rule. If you specify multiple rules in a replication\n configuration, Amazon S3 prioritizes the rules to prevent conflicts when filtering. If two or\n more rules identify the same object based on a specified filter, the rule with higher priority\n takes precedence. For example:

\n \n

For more information, see Replication in the Amazon Simple Storage Service Developer\n Guide.

" - } - }, "Status": { "target": "com.amazonaws.s3#ReplicationRuleStatus", "traits": { @@ -10509,6 +10875,12 @@ "smithy.api#required": {} } }, + "SourceSelectionCriteria": { + "target": "com.amazonaws.s3#SourceSelectionCriteria", + "traits": { + "smithy.api#documentation": "

A container that describes additional filters for identifying the source objects that\n you want to replicate. You can choose to enable or disable the replication of these\n objects. Currently, Amazon S3 supports only the filter that you can specify for objects created\n with server-side encryption using a customer master key (CMK) stored in AWS Key Management\n Service (SSE-KMS).

" + } + }, "ExistingObjectReplication": { "target": "com.amazonaws.s3#ExistingObjectReplication", "traits": { @@ -10518,9 +10890,12 @@ "Destination": { "target": "com.amazonaws.s3#Destination", "traits": { - "smithy.api#documentation": "

A container for information about the replication destination\n and its configurations including enabling the S3 Replication Time Control (S3 RTC).

", + "smithy.api#documentation": "

A container for information about the replication destination and its configurations\n including enabling the S3 Replication Time Control (S3 RTC).

", "smithy.api#required": {} } + }, + "DeleteMarkerReplication": { + "target": "com.amazonaws.s3#DeleteMarkerReplication" } }, "traits": { @@ -10546,33 +10921,33 @@ } }, "traits": { - "smithy.api#documentation": "

A container for specifying rule filters. The filters determine the subset of objects to which the rule\n applies. This element is required only if you specify more than one filter.

\n

For example:

\n " + "smithy.api#documentation": "

A container for specifying rule filters. The filters determine the subset of objects to\n which the rule applies. This element is required only if you specify more than one filter.

\n

For example:

\n " } }, "com.amazonaws.s3#ReplicationRuleFilter": { "type": "structure", "members": { - "Tag": { - "target": "com.amazonaws.s3#Tag", - "traits": { - "smithy.api#documentation": "

A container for specifying a tag key and value.

\n

The rule applies only to objects that have the tag in their tag set.

" - } - }, "Prefix": { "target": "com.amazonaws.s3#Prefix", "traits": { "smithy.api#documentation": "

An object key name prefix that identifies the subset of objects to which the rule\n applies.

" } }, + "Tag": { + "target": "com.amazonaws.s3#Tag", + "traits": { + "smithy.api#documentation": "

A container for specifying a tag key and value.

\n

The rule applies only to objects that have the tag in their tag set.

" + } + }, "And": { "target": "com.amazonaws.s3#ReplicationRuleAndOperator", "traits": { - "smithy.api#documentation": "

A container for specifying rule filters. The filters determine the subset of objects to\n which the rule applies. This element is required only if you specify more than one filter. For\n example:

\n " + "smithy.api#documentation": "

A container for specifying rule filters. The filters determine the subset of objects to\n which the rule applies. This element is required only if you specify more than one filter.\n For example:

\n " } } }, "traits": { - "smithy.api#documentation": "

A filter that identifies the subset of objects to which the replication rule applies. A\n Filter must specify exactly one Prefix, Tag, or an\n And child element.

" + "smithy.api#documentation": "

A filter that identifies the subset of objects to which the replication rule applies. A\n Filter must specify exactly one Prefix, Tag, or\n an And child element.

" } }, "com.amazonaws.s3#ReplicationRuleStatus": { @@ -10616,23 +10991,23 @@ "com.amazonaws.s3#ReplicationTime": { "type": "structure", "members": { - "Time": { - "target": "com.amazonaws.s3#ReplicationTimeValue", + "Status": { + "target": "com.amazonaws.s3#ReplicationTimeStatus", "traits": { - "smithy.api#documentation": "

A container specifying the time by which replication should be complete for all objects and\n operations on objects.

", + "smithy.api#documentation": "

Specifies whether the replication time is enabled.

", "smithy.api#required": {} } }, - "Status": { - "target": "com.amazonaws.s3#ReplicationTimeStatus", + "Time": { + "target": "com.amazonaws.s3#ReplicationTimeValue", "traits": { - "smithy.api#documentation": "

\n Specifies whether the replication time is enabled.\n

", + "smithy.api#documentation": "

A container specifying the time by which replication should be complete for all objects\n and operations on objects.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

\n A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on \n objects must be replicated. Must be specified together with a Metrics block.\n

" + "smithy.api#documentation": "

A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is\n enabled and the time when all objects and operations on objects must be replicated. Must be\n specified together with a Metrics block.

" } }, "com.amazonaws.s3#ReplicationTimeStatus": { @@ -10654,18 +11029,18 @@ "Minutes": { "target": "com.amazonaws.s3#Minutes", "traits": { - "smithy.api#documentation": "

\n Contains an integer specifying time in minutes.\n

\n

Valid values: 15 minutes.

" + "smithy.api#documentation": "

Contains an integer specifying time in minutes.

\n

Valid values: 15 minutes.

" } } }, "traits": { - "smithy.api#documentation": "

\n A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics EventThreshold. \n

" + "smithy.api#documentation": "

A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics\n EventThreshold.

" } }, "com.amazonaws.s3#RequestCharged": { "type": "string", "traits": { - "smithy.api#documentation": "

If present, indicates that the requester was successfully charged for the request.

", + "smithy.api#documentation": "

If present, indicates that the requester was successfully charged for the\n request.

", "smithy.api#enum": [ { "value": "requester" @@ -10676,7 +11051,7 @@ "com.amazonaws.s3#RequestPayer": { "type": "string", "traits": { - "smithy.api#documentation": "

Confirms that the requester knows that they will be charged for the request. Bucket\n owners need not specify this parameter in their requests. For information about downloading\n objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the\n Amazon S3 Developer Guide.

", + "smithy.api#documentation": "

Confirms that the requester knows that they will be charged for the request. Bucket\n owners need not specify this parameter in their requests. For information about downloading\n objects from requester pays buckets, see Downloading Objects in\n Requestor Pays Buckets in the Amazon S3 Developer Guide.

", "smithy.api#enum": [ { "value": "requester" @@ -10705,7 +11080,7 @@ "Enabled": { "target": "com.amazonaws.s3#EnableRequestProgress", "traits": { - "smithy.api#documentation": "

Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE, FALSE. Default value: FALSE.

" + "smithy.api#documentation": "

Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE,\n FALSE. Default value: FALSE.

" } } }, @@ -10748,7 +11123,7 @@ } ], "traits": { - "smithy.api#documentation": "

Restores an archived copy of an object back into Amazon S3

\n

This action is not supported by Amazon S3 on Outposts.

\n

This action performs the following types of requests:

\n \n

To use this operation, you must have permissions to perform the\n s3:RestoreObject action. The bucket owner\n has this permission by default and can grant this permission to others. For more\n information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon Simple Storage Service Developer Guide.

\n

\n Querying Archives with Select Requests\n

\n

You use a select type of request to perform SQL queries on archived objects. The\n archived objects that are being queried by the select request must be formatted as\n uncompressed comma-separated values (CSV) files. You can run queries and custom analytics\n on your archived data without having to restore your data to a hotter Amazon S3 tier. For an\n overview about select requests, see Querying Archived Objects in the Amazon Simple Storage Service Developer Guide.

\n

When making a select request, do the following:

\n \n

For more information about using SQL with S3 Glacier Select restore, see SQL Reference for Amazon S3 Select and\n S3 Glacier Select in the Amazon Simple Storage Service Developer Guide.

\n

When making a select request, you can also do the following:

\n \n

The following are additional important facts about the select feature:

\n \n

\n Restoring Archives\n

\n

Objects in the GLACIER and DEEP_ARCHIVE storage classes are archived. To access an\n archived object, you must first initiate a restore request. This restores a temporary copy\n of the archived object. In a restore request, you specify the number of days that you want\n the restored copy to exist. After the specified period, Amazon S3 deletes the temporary copy but\n the object remains archived in the GLACIER or DEEP_ARCHIVE storage class that object was\n restored from.

\n

To restore a specific object version, you can provide a version ID. If you don't provide\n a version ID, Amazon S3 restores the current version.

\n

The time it takes restore jobs to finish depends on which storage class the object is\n being restored from and which data access tier you specify.

\n

When restoring an archived object (or using a select request), you can specify one of\n the following data access tier options in the Tier element of the request\n body:

\n \n

For more information about archive retrieval options and provisioned capacity for\n Expedited data access, see Restoring Archived Objects in the Amazon Simple Storage Service Developer Guide.

\n

You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed\n while it is in progress. You upgrade the speed of an in-progress restoration by issuing\n another restore request to the same object, setting a new Tier request\n element. When issuing a request to upgrade the restore tier, you must choose a tier that is\n faster than the tier that the in-progress restore is using. You must not change any other\n parameters, such as the Days request element. For more information, see \n Upgrading the Speed of an In-Progress Restore in the\n Amazon Simple Storage Service Developer Guide.

\n

To get the status of object restoration, you can send a HEAD request.\n Operations return the x-amz-restore header, which provides information about\n the restoration status, in the response. You can use Amazon S3 event notifications to notify you\n when a restore is initiated or completed. For more information, see Configuring Amazon S3 Event Notifications in\n the Amazon Simple Storage Service Developer Guide.

\n

After restoring an archived object, you can update the restoration period by reissuing\n the request with a new period. Amazon S3 updates the restoration period relative to the current\n time and charges only for the request-there are no data transfer charges. You cannot\n update the restoration period when Amazon S3 is actively processing your current restore request\n for the object.

\n

If your bucket has a lifecycle configuration with a rule that includes an expiration\n action, the object expiration overrides the life span that you specify in a restore\n request. For example, if you restore an object copy for 10 days, but the object is\n scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days. For more information\n about lifecycle configuration, see PutBucketLifecycleConfiguration and\n Object Lifecycle Management\n in Amazon Simple Storage Service Developer Guide.

\n

\n Responses\n

\n

A successful operation returns either the 200 OK or 202\n Accepted status code.

\n \n

\n Special Errors\n

\n \n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Restores an archived copy of an object back into Amazon S3

\n

This action is not supported by Amazon S3 on Outposts.

\n

This action performs the following types of requests:

\n \n

To use this operation, you must have permissions to perform the\n s3:RestoreObject action. The bucket owner has this permission by default\n and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon Simple Storage Service Developer Guide.

\n

\n Querying Archives with Select Requests\n

\n

You use a select type of request to perform SQL queries on archived objects. The\n archived objects that are being queried by the select request must be formatted as\n uncompressed comma-separated values (CSV) files. You can run queries and custom analytics\n on your archived data without having to restore your data to a hotter Amazon S3 tier. For an\n overview about select requests, see Querying Archived Objects in the Amazon Simple Storage Service Developer Guide.

\n

When making a select request, do the following:

\n \n

For more information about using SQL with S3 Glacier Select restore, see SQL Reference for Amazon S3 Select and\n S3 Glacier Select in the Amazon Simple Storage Service Developer Guide.

\n

When making a select request, you can also do the following:

\n \n

The following are additional important facts about the select feature:

\n \n

\n Restoring Archives\n

\n

Objects that you archive to the S3 Glacier,\n S3 Glacier Deep Archive, S3 Intelligent-Tiering Archive, or S3 Intelligent-Tiering Deep Archive storage\n classes are not accessible in real time. For objects in Archive Access tier or\n Deep Archive Access tier you must first initiate a restore request, and then wait until the object\n is moved into the Frequent Access tier. For objects in S3 Glacier or\n S3 Glacier Deep Archive you must first initiate a restore request, and then wait\n until a temporary copy of the object is available. To access an archived object, you must\n restore the object for the duration (number of days) that you specify.

\n

To restore a specific object version, you can provide a version ID. If you don't provide\n a version ID, Amazon S3 restores the current version.

\n

When restoring an archived object (or using a select request), you can specify one of\n the following data access tier options in the Tier element of the request\n body:

\n \n

For more information about archive retrieval options and provisioned capacity for\n Expedited data access, see Restoring Archived Objects in the Amazon Simple Storage Service Developer Guide.

\n

You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed\n while it is in progress. For more information, see \n Upgrading the speed of an in-progress restore in the\n Amazon Simple Storage Service Developer Guide.

\n

To get the status of object restoration, you can send a HEAD request.\n Operations return the x-amz-restore header, which provides information about\n the restoration status, in the response. You can use Amazon S3 event notifications to notify you\n when a restore is initiated or completed. For more information, see Configuring Amazon S3 Event Notifications in\n the Amazon Simple Storage Service Developer Guide.

\n

After restoring an archived object, you can update the restoration period by reissuing\n the request with a new period. Amazon S3 updates the restoration period relative to the current\n time and charges only for the request-there are no data transfer charges. You cannot\n update the restoration period when Amazon S3 is actively processing your current restore request\n for the object.

\n

If your bucket has a lifecycle configuration with a rule that includes an expiration\n action, the object expiration overrides the life span that you specify in a restore\n request. For example, if you restore an object copy for 10 days, but the object is\n scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days. For more information\n about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management in\n Amazon Simple Storage Service Developer Guide.

\n

\n Responses\n

\n

A successful operation returns either the 200 OK or 202\n Accepted status code.

\n \n

\n Special Errors\n

\n \n \n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "POST", "uri": "/{Bucket}/{Key+}?restore", @@ -10768,7 +11143,7 @@ "RestoreOutputPath": { "target": "com.amazonaws.s3#RestoreOutputPath", "traits": { - "smithy.api#documentation": "

Indicates the path in the provided S3 output location where Select results will be restored to.

", + "smithy.api#documentation": "

Indicates the path in the provided S3 output location where Select results will be\n restored to.

", "smithy.api#httpHeader": "x-amz-restore-output-path" } } @@ -10777,16 +11152,20 @@ "com.amazonaws.s3#RestoreObjectRequest": { "type": "structure", "members": { - "RestoreRequest": { - "target": "com.amazonaws.s3#RestoreRequest", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#httpPayload": {} + "smithy.api#documentation": "

The bucket name containing the object to restore.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

Object key for which the operation was initiated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "VersionId": { @@ -10796,20 +11175,16 @@ "smithy.api#httpQuery": "versionId" } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "RestoreRequest": { + "target": "com.amazonaws.s3#RestoreRequest", "traits": { - "smithy.api#documentation": "

Object key for which the operation was initiated.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#httpPayload": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

The bucket name or containing the object to restore.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#httpHeader": "x-amz-request-payer" } }, "ExpectedBucketOwner": { @@ -10827,34 +11202,28 @@ "com.amazonaws.s3#RestoreRequest": { "type": "structure", "members": { - "GlacierJobParameters": { - "target": "com.amazonaws.s3#GlacierJobParameters", - "traits": { - "smithy.api#documentation": "

S3 Glacier related parameters pertaining to this job. Do not use with restores that specify\n OutputLocation.

" - } - }, "Days": { "target": "com.amazonaws.s3#Days", "traits": { - "smithy.api#documentation": "

Lifetime of the active copy in days. Do not use with restores that specify\n OutputLocation.

" + "smithy.api#documentation": "

Lifetime of the active copy in days. Do not use with restores that specify\n OutputLocation.

\n

The Days element is required for regular restores, and must not be provided for select\n requests.

" } }, - "OutputLocation": { - "target": "com.amazonaws.s3#OutputLocation", + "GlacierJobParameters": { + "target": "com.amazonaws.s3#GlacierJobParameters", "traits": { - "smithy.api#documentation": "

Describes the location where the restore job's output is stored.

" + "smithy.api#documentation": "

S3 Glacier related parameters pertaining to this job. Do not use with restores that\n specify OutputLocation.

" } }, - "SelectParameters": { - "target": "com.amazonaws.s3#SelectParameters", + "Type": { + "target": "com.amazonaws.s3#RestoreRequestType", "traits": { - "smithy.api#documentation": "

Describes the parameters for Select job types.

" + "smithy.api#documentation": "

Type of restore request.

" } }, "Tier": { "target": "com.amazonaws.s3#Tier", "traits": { - "smithy.api#documentation": "

S3 Glacier retrieval tier at which the restore will be processed.

" + "smithy.api#documentation": "

Retrieval tier at which the restore will be processed.

" } }, "Description": { @@ -10863,10 +11232,16 @@ "smithy.api#documentation": "

The optional description for the job.

" } }, - "Type": { - "target": "com.amazonaws.s3#RestoreRequestType", + "SelectParameters": { + "target": "com.amazonaws.s3#SelectParameters", "traits": { - "smithy.api#documentation": "

Type of restore request.

" + "smithy.api#documentation": "

Describes the parameters for Select job types.

" + } + }, + "OutputLocation": { + "target": "com.amazonaws.s3#OutputLocation", + "traits": { + "smithy.api#documentation": "

Describes the location where the restore job's output is stored.

" } } }, @@ -10891,17 +11266,17 @@ "com.amazonaws.s3#RoutingRule": { "type": "structure", "members": { - "Redirect": { - "target": "com.amazonaws.s3#Redirect", + "Condition": { + "target": "com.amazonaws.s3#Condition", "traits": { - "smithy.api#documentation": "

Container for redirect information. You can redirect requests to another host, to another\n page, or with another protocol. In the event of an error, you can specify a different error\n code to return.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A container for describing a condition that must be met for the specified redirect to\n apply. For example, 1. If request is for pages in the /docs folder, redirect\n to the /documents folder. 2. If request results in HTTP error 4xx, redirect\n request to another host where you might process the error.

" } }, - "Condition": { - "target": "com.amazonaws.s3#Condition", + "Redirect": { + "target": "com.amazonaws.s3#Redirect", "traits": { - "smithy.api#documentation": "

A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.

" + "smithy.api#documentation": "

Container for redirect information. You can redirect requests to another host, to\n another page, or with another protocol. In the event of an error, you can specify a\n different error code to return.

", + "smithy.api#required": {} } } }, @@ -10943,29 +11318,26 @@ "smithy.api#required": {} } }, - "StorageClass": { - "target": "com.amazonaws.s3#StorageClass", + "Prefix": { + "target": "com.amazonaws.s3#LocationPrefix", "traits": { - "smithy.api#documentation": "

The class of storage used to store the restore results.

" + "smithy.api#documentation": "

The prefix that is prepended to the restore results for this request.

", + "smithy.api#required": {} } }, + "Encryption": { + "target": "com.amazonaws.s3#Encryption" + }, "CannedACL": { "target": "com.amazonaws.s3#ObjectCannedACL", "traits": { "smithy.api#documentation": "

The canned ACL to apply to the restore results.

" } }, - "UserMetadata": { - "target": "com.amazonaws.s3#UserMetadata", - "traits": { - "smithy.api#documentation": "

A list of metadata to store with the restore results in S3.

" - } - }, - "Prefix": { - "target": "com.amazonaws.s3#LocationPrefix", + "AccessControlList": { + "target": "com.amazonaws.s3#Grants", "traits": { - "smithy.api#documentation": "

The prefix that is prepended to the restore results for this request.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A list of grants that control access to the staged results.

" } }, "Tagging": { @@ -10974,13 +11346,16 @@ "smithy.api#documentation": "

The tag-set that is applied to the restore results.

" } }, - "Encryption": { - "target": "com.amazonaws.s3#Encryption" + "UserMetadata": { + "target": "com.amazonaws.s3#UserMetadata", + "traits": { + "smithy.api#documentation": "

A list of metadata to store with the restore results in S3.

" + } }, - "AccessControlList": { - "target": "com.amazonaws.s3#Grants", + "StorageClass": { + "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "

A list of grants that control access to the staged results.

" + "smithy.api#documentation": "

The class of storage used to store the restore results.

" } } }, @@ -11006,7 +11381,7 @@ "KeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key (CMK) to use\n for encrypting inventory reports.

", + "smithy.api#documentation": "

Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed\n customer master key (CMK) to use for encrypting inventory reports.

", "smithy.api#required": {} } } @@ -11039,21 +11414,21 @@ "com.amazonaws.s3#ScanRange": { "type": "structure", "members": { - "End": { - "target": "com.amazonaws.s3#End", + "Start": { + "target": "com.amazonaws.s3#Start", "traits": { - "smithy.api#documentation": "

Specifies the end of the byte range. This parameter is optional. Valid values: non-negative\n integers. The default value is one less than the size of the object being queried. If only\n the End parameter is supplied, it is interpreted to mean scan the last N bytes of the file.\n For example, 50\n means scan the last 50 bytes.

" + "smithy.api#documentation": "

Specifies the start of the byte range. This parameter is optional. Valid values:\n non-negative integers. The default value is 0. If only start is supplied, it means scan\n from that point to the end of the file.For example;\n 50 means scan\n from byte 50 until the end of the file.

" } }, - "Start": { - "target": "com.amazonaws.s3#Start", + "End": { + "target": "com.amazonaws.s3#End", "traits": { - "smithy.api#documentation": "

Specifies the start of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is 0. \n If only start is supplied, it means scan from that point to the end of the file.For example; 50 means scan from byte 50 until the end of the file.

" + "smithy.api#documentation": "

Specifies the end of the byte range. This parameter is optional. Valid values:\n non-negative integers. The default value is one less than the size of the object being\n queried. If only the End parameter is supplied, it is interpreted to mean scan the last N\n bytes of the file. For example,\n 50 means scan the\n last 50 bytes.

" } } }, "traits": { - "smithy.api#documentation": "

Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional,\n but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.

" + "smithy.api#documentation": "

Specifies the byte range of the object to get the records from. A record is processed\n when its first byte is contained by the range. This parameter is optional, but when\n specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the\n start and end of the range.

" } }, "com.amazonaws.s3#SelectObjectContent": { @@ -11065,7 +11440,7 @@ "target": "com.amazonaws.s3#SelectObjectContentOutput" }, "traits": { - "smithy.api#documentation": "

This operation filters the contents of an Amazon S3 object based on a simple structured query\n language (SQL) statement. In the request, along with the SQL expression, you must also\n specify a data serialization format (JSON, CSV, or Apache Parquet) of the object. Amazon S3\n uses this format to parse object data into records, and returns only records that match\n the specified SQL expression. You must also specify the data serialization format for\n the response.

\n

This action is not supported by Amazon S3 on Outposts.

\n

For more information about Amazon S3 Select, see \n Selecting Content from Objects\n in the Amazon Simple Storage Service Developer Guide.

\n

For more information about using SQL with Amazon S3 Select, see SQL Reference for Amazon S3\n Select and S3 Glacier Select in the Amazon Simple Storage Service Developer Guide.

\n

\n

\n Permissions\n

\n

You must have s3:GetObject permission for this operation. Amazon S3 Select\n does not support anonymous access. For more information about permissions, see\n Specifying Permissions in a\n Policy in the Amazon Simple Storage Service Developer Guide.

\n

\n

\n Object Data Formats\n

\n

You can use Amazon S3 Select to query objects that have the following format\n properties:

\n \n\n

\n Working with the Response Body\n

\n

Given the response size is unknown, Amazon S3 Select streams the response as a series of messages and includes a Transfer-Encoding header with chunked\n as its value in the response. For more information, see Appendix: SelectObjectContent Response\n .

\n \n

\n

\n GetObject Support\n

\n

The SelectObjectContent operation does not support the following GetObject functionality. For more information, see GetObject.

\n \n

\n

\n Special Errors\n

\n\n

For a list of special errors for this operation, see \n List of SELECT Object Content Error Codes\n

\n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

This operation filters the contents of an Amazon S3 object based on a simple structured query\n language (SQL) statement. In the request, along with the SQL expression, you must also\n specify a data serialization format (JSON, CSV, or Apache Parquet) of the object. Amazon S3 uses\n this format to parse object data into records, and returns only records that match the\n specified SQL expression. You must also specify the data serialization format for the\n response.

\n

This action is not supported by Amazon S3 on Outposts.

\n

For more information about Amazon S3 Select,\n see Selecting Content from\n Objects in the Amazon Simple Storage Service Developer Guide.

\n

For more information about using SQL with Amazon S3 Select, see SQL Reference for Amazon S3 Select\n and S3 Glacier Select in the Amazon Simple Storage Service Developer Guide.

\n

\n

\n Permissions\n

\n

You must have s3:GetObject permission for this operation. Amazon S3 Select does\n not support anonymous access. For more information about permissions, see Specifying Permissions in a Policy\n in the Amazon Simple Storage Service Developer Guide.

\n

\n

\n Object Data Formats\n

\n

You can use Amazon S3 Select to query objects that have the following format\n properties:

\n \n\n

\n Working with the Response Body\n

\n

Given the response size is unknown, Amazon S3 Select streams the response as a series of\n messages and includes a Transfer-Encoding header with chunked as\n its value in the response. For more information, see Appendix: SelectObjectContent\n Response\n .

\n\n

\n

\n GetObject Support\n

\n

The SelectObjectContent operation does not support the following\n GetObject functionality. For more information, see GetObject.

\n \n

\n

\n Special Errors\n

\n\n

For a list of special errors for this operation, see List of\n SELECT Object Content Error Codes\n

\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "POST", "uri": "/{Bucket}/{Key+}?select&select-type=2", @@ -11076,10 +11451,16 @@ "com.amazonaws.s3#SelectObjectContentEventStream": { "type": "union", "members": { - "Cont": { - "target": "com.amazonaws.s3#ContinuationEvent", + "Records": { + "target": "com.amazonaws.s3#RecordsEvent", "traits": { - "smithy.api#documentation": "

The Continuation Event.

" + "smithy.api#documentation": "

The Records Event.

" + } + }, + "Stats": { + "target": "com.amazonaws.s3#StatsEvent", + "traits": { + "smithy.api#documentation": "

The Stats Event.

" } }, "Progress": { @@ -11088,10 +11469,10 @@ "smithy.api#documentation": "

The Progress Event.

" } }, - "Stats": { - "target": "com.amazonaws.s3#StatsEvent", + "Cont": { + "target": "com.amazonaws.s3#ContinuationEvent", "traits": { - "smithy.api#documentation": "

The Stats Event.

" + "smithy.api#documentation": "

The Continuation Event.

" } }, "End": { @@ -11099,12 +11480,6 @@ "traits": { "smithy.api#documentation": "

The End Event.

" } - }, - "Records": { - "target": "com.amazonaws.s3#RecordsEvent", - "traits": { - "smithy.api#documentation": "

The Records Event.

" - } } }, "traits": { @@ -11127,6 +11502,14 @@ "com.amazonaws.s3#SelectObjectContentRequest": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", + "traits": { + "smithy.api#documentation": "

The S3 bucket.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { @@ -11142,13 +11525,6 @@ "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "OutputSerialization": { - "target": "com.amazonaws.s3#OutputSerialization", - "traits": { - "smithy.api#documentation": "

Describes the format of the data that you want Amazon S3 to return in response.

", - "smithy.api#required": {} - } - }, "SSECustomerKey": { "target": "com.amazonaws.s3#SSECustomerKey", "traits": { @@ -11156,27 +11532,6 @@ "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" } }, - "ExpressionType": { - "target": "com.amazonaws.s3#ExpressionType", - "traits": { - "smithy.api#documentation": "

The type of the provided expression (for example, SQL).

", - "smithy.api#required": {} - } - }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, - "InputSerialization": { - "target": "com.amazonaws.s3#InputSerialization", - "traits": { - "smithy.api#documentation": "

Describes the format of the data in the object that is being queried.

", - "smithy.api#required": {} - } - }, "SSECustomerKeyMD5": { "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { @@ -11191,11 +11546,10 @@ "smithy.api#required": {} } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "ExpressionType": { + "target": "com.amazonaws.s3#ExpressionType", "traits": { - "smithy.api#documentation": "

The S3 bucket.

", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "

The type of the provided expression (for example, SQL).

", "smithy.api#required": {} } }, @@ -11205,31 +11559,52 @@ "smithy.api#documentation": "

Specifies if periodic request progress information should be enabled.

" } }, + "InputSerialization": { + "target": "com.amazonaws.s3#InputSerialization", + "traits": { + "smithy.api#documentation": "

Describes the format of the data in the object that is being queried.

", + "smithy.api#required": {} + } + }, + "OutputSerialization": { + "target": "com.amazonaws.s3#OutputSerialization", + "traits": { + "smithy.api#documentation": "

Describes the format of the data that you want Amazon S3 to return in response.

", + "smithy.api#required": {} + } + }, "ScanRange": { "target": "com.amazonaws.s3#ScanRange", "traits": { - "smithy.api#documentation": "

Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional,\n but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.

\n

\n ScanRangemay be used in the following ways:

\n " + "smithy.api#documentation": "

Specifies the byte range of the object to get the records from. A record is processed\n when its first byte is contained by the range. This parameter is optional, but when\n specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the\n start and end of the range.

\n

\n ScanRangemay be used in the following ways:

\n " + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } }, "traits": { - "smithy.api#documentation": "

Request to filter the contents of an Amazon S3 object based on a simple Structured Query\n Language (SQL) statement. In the request, along with the SQL expression, you must specify a\n data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object\n data into records. It returns only records that match the specified SQL expression. You must\n also specify the data serialization format for the response. For more information, see S3Select API\n Documentation.

" + "smithy.api#documentation": "

Request to filter the contents of an Amazon S3 object based on a simple Structured Query\n Language (SQL) statement. In the request, along with the SQL expression, you must specify a\n data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data\n into records. It returns only records that match the specified SQL expression. You must\n also specify the data serialization format for the response. For more information, see\n S3Select API Documentation.

" } }, "com.amazonaws.s3#SelectParameters": { "type": "structure", "members": { - "ExpressionType": { - "target": "com.amazonaws.s3#ExpressionType", + "InputSerialization": { + "target": "com.amazonaws.s3#InputSerialization", "traits": { - "smithy.api#documentation": "

The type of the provided expression (for example, SQL).

", + "smithy.api#documentation": "

Describes the serialization format of the object.

", "smithy.api#required": {} } }, - "OutputSerialization": { - "target": "com.amazonaws.s3#OutputSerialization", + "ExpressionType": { + "target": "com.amazonaws.s3#ExpressionType", "traits": { - "smithy.api#documentation": "

Describes how the results of the Select job are serialized.

", + "smithy.api#documentation": "

The type of the provided expression (for example, SQL).

", "smithy.api#required": {} } }, @@ -11240,10 +11615,10 @@ "smithy.api#required": {} } }, - "InputSerialization": { - "target": "com.amazonaws.s3#InputSerialization", + "OutputSerialization": { + "target": "com.amazonaws.s3#OutputSerialization", "traits": { - "smithy.api#documentation": "

Describes the serialization format of the object.

", + "smithy.api#documentation": "

Describes how the results of the Select job are serialized.

", "smithy.api#required": {} } } @@ -11278,12 +11653,12 @@ "KMSMasterKeyID": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

AWS Key Management Service (KMS) customer master key ID to use for the default encryption. This parameter is allowed if and only if SSEAlgorithm is set to aws:kms.

\n

You can specify the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are using encryption with cross-account operations, you must use a fully qualified CMK ARN. For more information, see Using encryption for cross-account operations.

\n

\n For example:\n

\n \n \n

Amazon S3 only supports symmetric CMKs and not asymmetric CMKs. For more information, see Using Symmetric and Asymmetric Keys in the AWS Key Management Service Developer Guide.

\n
" + "smithy.api#documentation": "

AWS Key Management Service (KMS) customer master key ID to use for the default\n encryption. This parameter is allowed if and only if SSEAlgorithm is set to\n aws:kms.

\n

You can specify the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you\n are using encryption with cross-account operations, you must use a fully qualified CMK ARN.\n For more information, see Using encryption for cross-account operations.

\n

\n For example:\n

\n \n \n

Amazon S3 only supports symmetric CMKs and not asymmetric CMKs. For more information, see\n Using Symmetric and\n Asymmetric Keys in the AWS Key Management Service Developer\n Guide.

\n
" } } }, "traits": { - "smithy.api#documentation": "

Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. For more information, see PUT Bucket encryption in the Amazon Simple Storage Service API Reference.

" + "smithy.api#documentation": "

Describes the default server-side encryption to apply to new objects in the bucket. If a\n PUT Object request doesn't specify any server-side encryption, this default encryption will\n be applied. For more information, see PUT Bucket encryption in\n the Amazon Simple Storage Service API Reference.

" } }, "com.amazonaws.s3#ServerSideEncryptionConfiguration": { @@ -11292,7 +11667,7 @@ "Rules": { "target": "com.amazonaws.s3#ServerSideEncryptionRules", "traits": { - "smithy.api#documentation": "

Container for information about a particular server-side encryption configuration rule.

", + "smithy.api#documentation": "

Container for information about a particular server-side encryption configuration\n rule.

", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Rule" @@ -11309,7 +11684,7 @@ "ApplyServerSideEncryptionByDefault": { "target": "com.amazonaws.s3#ServerSideEncryptionByDefault", "traits": { - "smithy.api#documentation": "

Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.

" + "smithy.api#documentation": "

Specifies the default server-side encryption to apply to new objects in the bucket. If a\n PUT Object request doesn't specify any server-side encryption, this default encryption will\n be applied.

" } } }, @@ -11335,12 +11710,12 @@ "SseKmsEncryptedObjects": { "target": "com.amazonaws.s3#SseKmsEncryptedObjects", "traits": { - "smithy.api#documentation": "

A container for filter information for the selection of Amazon S3 objects encrypted with AWS\n KMS. If you include SourceSelectionCriteria in the replication configuration,\n this element is required.

" + "smithy.api#documentation": "

A container for filter information for the selection of Amazon S3 objects encrypted with AWS\n KMS. If you include SourceSelectionCriteria in the replication configuration,\n this element is required.

" } } }, "traits": { - "smithy.api#documentation": "

A container that describes additional filters for identifying the source objects that you\n want to replicate. You can choose to enable or disable the replication of these objects.\n Currently, Amazon S3 supports only the filter that you can specify for objects created with\n server-side encryption using a customer master key (CMK) stored in AWS Key Management Service (SSE-KMS).

" + "smithy.api#documentation": "

A container that describes additional filters for identifying the source objects that\n you want to replicate. You can choose to enable or disable the replication of these\n objects. Currently, Amazon S3 supports only the filter that you can specify for objects created\n with server-side encryption using a customer master key (CMK) stored in AWS Key Management\n Service (SSE-KMS).

" } }, "com.amazonaws.s3#SseKmsEncryptedObjects": { @@ -11349,13 +11724,13 @@ "Status": { "target": "com.amazonaws.s3#SseKmsEncryptedObjectsStatus", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon S3 replicates objects created with server-side encryption using a customer master key (CMK) stored in AWS Key Management Service.

", + "smithy.api#documentation": "

Specifies whether Amazon S3 replicates objects created with server-side encryption using a\n customer master key (CMK) stored in AWS Key Management Service.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A container for filter information for the selection of S3 objects encrypted with AWS\n KMS.

" + "smithy.api#documentation": "

A container for filter information for the selection of S3 objects encrypted with AWS\n KMS.

" } }, "com.amazonaws.s3#SseKmsEncryptedObjectsStatus": { @@ -11380,12 +11755,6 @@ "com.amazonaws.s3#Stats": { "type": "structure", "members": { - "BytesReturned": { - "target": "com.amazonaws.s3#BytesReturned", - "traits": { - "smithy.api#documentation": "

The total number of bytes of records payload data returned.

" - } - }, "BytesScanned": { "target": "com.amazonaws.s3#BytesScanned", "traits": { @@ -11397,6 +11766,12 @@ "traits": { "smithy.api#documentation": "

The total number of uncompressed object bytes processed.

" } + }, + "BytesReturned": { + "target": "com.amazonaws.s3#BytesReturned", + "traits": { + "smithy.api#documentation": "

The total number of bytes of records payload data returned.

" + } } }, "traits": { @@ -11455,12 +11830,12 @@ "DataExport": { "target": "com.amazonaws.s3#StorageClassAnalysisDataExport", "traits": { - "smithy.api#documentation": "

Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.

" + "smithy.api#documentation": "

Specifies how data related to the storage class analysis for an Amazon S3 bucket should be\n exported.

" } } }, "traits": { - "smithy.api#documentation": "

Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket.

" + "smithy.api#documentation": "

Specifies data related to access patterns to be collected and made available to analyze\n the tradeoffs between different storage classes for an Amazon S3 bucket.

" } }, "com.amazonaws.s3#StorageClassAnalysisDataExport": { @@ -11469,7 +11844,7 @@ "OutputSchemaVersion": { "target": "com.amazonaws.s3#StorageClassAnalysisSchemaVersion", "traits": { - "smithy.api#documentation": "

The version of the output schema to use when exporting data. Must be V_1.

", + "smithy.api#documentation": "

The version of the output schema to use when exporting data. Must be\n V_1.

", "smithy.api#required": {} } }, @@ -11482,7 +11857,7 @@ } }, "traits": { - "smithy.api#documentation": "

Container for data related to the storage class analysis for an Amazon S3 bucket for export.

" + "smithy.api#documentation": "

Container for data related to the storage class analysis for an Amazon S3 bucket for\n export.

" } }, "com.amazonaws.s3#StorageClassAnalysisSchemaVersion": { @@ -11507,17 +11882,17 @@ "com.amazonaws.s3#Tag": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.s3#Value", + "Key": { + "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "

Value of the tag.

", + "smithy.api#documentation": "

Name of the object key.

", "smithy.api#required": {} } }, - "Key": { - "target": "com.amazonaws.s3#ObjectKey", + "Value": { + "target": "com.amazonaws.s3#Value", "traits": { - "smithy.api#documentation": "

Name of the object key.

", + "smithy.api#documentation": "

Value of the tag.

", "smithy.api#required": {} } } @@ -11620,6 +11995,34 @@ ] } }, + "com.amazonaws.s3#Tiering": { + "type": "structure", + "members": { + "Days": { + "target": "com.amazonaws.s3#IntelligentTieringDays", + "traits": { + "smithy.api#documentation": "

The number of days that you want your archived data to be accessible. The minimum number\n of days specified in the restore request must be at least 90 days. If a smaller value is\n specifed it will be ignored.

", + "smithy.api#required": {} + } + }, + "AccessTier": { + "target": "com.amazonaws.s3#IntelligentTieringAccessTier", + "traits": { + "smithy.api#documentation": "

S3 Intelligent-Tiering access tier. See Storage class for\n automatically optimizing frequently and infrequently accessed objects for a list\n of access tiers in the S3 Intelligent-Tiering storage class.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by\n automatically moving data to the most cost-effective storage access tier, without\n additional operational overhead.

" + } + }, + "com.amazonaws.s3#TieringList": { + "type": "list", + "member": { + "target": "com.amazonaws.s3#Tiering" + } + }, "com.amazonaws.s3#Token": { "type": "string" }, @@ -11629,10 +12032,21 @@ "com.amazonaws.s3#TopicConfiguration": { "type": "structure", "members": { + "Id": { + "target": "com.amazonaws.s3#NotificationId" + }, + "TopicArn": { + "target": "com.amazonaws.s3#TopicArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message\n when it detects events of the specified type.

", + "smithy.api#required": {}, + "smithy.api#xmlName": "Topic" + } + }, "Events": { "target": "com.amazonaws.s3#EventList", "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket event about which to send notifications. For more\n information, see Supported Event\n Types in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#documentation": "

The Amazon S3 bucket event about which to send notifications. For more information, see\n Supported\n Event Types in the Amazon Simple Storage Service Developer Guide.

", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Event" @@ -11640,21 +12054,10 @@ }, "Filter": { "target": "com.amazonaws.s3#NotificationConfigurationFilter" - }, - "TopicArn": { - "target": "com.amazonaws.s3#TopicArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a\n message when it detects events of the specified type.

", - "smithy.api#required": {}, - "smithy.api#xmlName": "Topic" - } - }, - "Id": { - "target": "com.amazonaws.s3#NotificationId" } }, "traits": { - "smithy.api#documentation": "

A container for specifying the configuration for publication of messages to an Amazon Simple\n Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.

" + "smithy.api#documentation": "

A container for specifying the configuration for publication of messages to an Amazon\n Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.

" } }, "com.amazonaws.s3#TopicConfigurationList": { @@ -11666,16 +12069,16 @@ "com.amazonaws.s3#Transition": { "type": "structure", "members": { - "Days": { - "target": "com.amazonaws.s3#Days", + "Date": { + "target": "com.amazonaws.s3#Date", "traits": { - "smithy.api#documentation": "

Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.

" + "smithy.api#documentation": "

Indicates when objects are transitioned to the specified storage class. The date value\n must be in ISO 8601 format. The time is always midnight UTC.

" } }, - "Date": { - "target": "com.amazonaws.s3#Date", + "Days": { + "target": "com.amazonaws.s3#Days", "traits": { - "smithy.api#documentation": "

Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.

" + "smithy.api#documentation": "

Indicates the number of days after creation when objects are transitioned to the\n specified storage class. The value must be a positive integer.

" } }, "StorageClass": { @@ -11686,7 +12089,7 @@ } }, "traits": { - "smithy.api#documentation": "

Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle in the Amazon Simple Storage Service Developer Guide.

" + "smithy.api#documentation": "

Specifies when an object transitions to a specified storage class. For more information\n about Amazon S3 lifecycle configuration rules, see Transitioning\n Objects Using Amazon S3 Lifecycle in the Amazon Simple Storage Service Developer Guide.

" } }, "com.amazonaws.s3#TransitionList": { @@ -11748,7 +12151,7 @@ "target": "com.amazonaws.s3#UploadPartOutput" }, "traits": { - "smithy.api#documentation": "

Uploads a part in a multipart upload.

\n \n

In this operation, you provide part data in your request. However, you have an\n option to specify your existing Amazon S3 object as a data source for the part you are\n uploading. To upload a part from an existing object, you use the UploadPartCopy\n operation.

\n
\n \n

You must initiate a multipart upload (see CreateMultipartUpload) before you can upload any part. In response to\n your initiate request, Amazon S3 returns an upload ID, a unique identifier, that you must\n include in your upload part request.

\n

Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely\n identifies a part and also defines its position within the object being created. If you\n upload a new part using the same part number that was used with a previous part, the\n previously uploaded part is overwritten. Each part must be at least 5 MB in size, except\n the last part. There is no size limit on the last part of your multipart upload.

\n

To ensure that data is not corrupted when traversing the network, specify the\n Content-MD5 header in the upload part request. Amazon S3 checks the part\n data against the provided MD5 value. If they do not match, Amazon S3 returns an error.

\n\t\t\n\t\t

If the upload request is signed with Signature Version 4, then AWS S3 uses the x-amz-content-sha256 header as a checksum instead of Content-MD5. For more information see Authenticating Requests: Using the Authorization Header (AWS Signature Version 4).

\n \n \n \n

\n Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.

\n \n

For more information on multipart uploads, go to Multipart Upload Overview in the\n Amazon Simple Storage Service Developer Guide .

\n

For information on the permissions required to use the multipart upload API, go to\n Multipart Upload API and\n Permissions in the Amazon Simple Storage Service Developer Guide.

\n \n

You can optionally request server-side encryption where Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it for you when you access it. You have\n the option of providing your own encryption key, or you can use the AWS managed encryption\n keys. If you choose to provide your own encryption key, the request headers you provide in\n the request must match the headers you used in the request to initiate the upload by using\n CreateMultipartUpload. For more information, go to Using Server-Side Encryption in\n the Amazon Simple Storage Service Developer Guide.

\n \n

Server-side encryption is supported by the S3 Multipart Upload actions. Unless you are\n using a customer-provided encryption key, you don't need to specify the encryption\n parameters in each UploadPart request. Instead, you only need to specify the server-side\n encryption parameters in the initial Initiate Multipart request. For more information, see\n CreateMultipartUpload.

\n \n

If you requested server-side encryption using a customer-provided encryption\n key in your initiate multipart upload request, you must provide identical\n encryption information in each part upload using the following headers.

\n \n \n \n \n

\n Special Errors\n

\n \n \n \n \n \n \n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Uploads a part in a multipart upload.

\n \n

In this operation, you provide part data in your request. However, you have an option\n to specify your existing Amazon S3 object as a data source for the part you are uploading. To\n upload a part from an existing object, you use the UploadPartCopy operation.\n

\n
\n\n

You must initiate a multipart upload (see CreateMultipartUpload)\n before you can upload any part. In response to your initiate request, Amazon S3 returns an\n upload ID, a unique identifier, that you must include in your upload part request.

\n

Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely\n identifies a part and also defines its position within the object being created. If you\n upload a new part using the same part number that was used with a previous part, the\n previously uploaded part is overwritten. Each part must be at least 5 MB in size, except\n the last part. There is no size limit on the last part of your multipart upload.

\n

To ensure that data is not corrupted when traversing the network, specify the\n Content-MD5 header in the upload part request. Amazon S3 checks the part data\n against the provided MD5 value. If they do not match, Amazon S3 returns an error.

\n\n

If the upload request is signed with Signature Version 4, then AWS S3 uses the\n x-amz-content-sha256 header as a checksum instead of\n Content-MD5. For more information see Authenticating Requests: Using the Authorization Header (AWS Signature Version\n 4).

\n\n\n\n

\n Note: After you initiate multipart upload and upload\n one or more parts, you must either complete or abort multipart upload in order to stop\n getting charged for storage of the uploaded parts. Only after you either complete or abort\n multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts\n storage.

\n\n

For more information on multipart uploads, go to Multipart Upload Overview in the\n Amazon Simple Storage Service Developer Guide .

\n

For information on the permissions required to use the multipart upload API, go to\n Multipart Upload API and\n Permissions in the Amazon Simple Storage Service Developer Guide.

\n\n

You can optionally request server-side encryption where Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it for you when you access it. You have\n the option of providing your own encryption key, or you can use the AWS managed encryption\n keys. If you choose to provide your own encryption key, the request headers you provide in\n the request must match the headers you used in the request to initiate the upload by using\n CreateMultipartUpload. For more information, go to Using Server-Side Encryption in\n the Amazon Simple Storage Service Developer Guide.

\n\n

Server-side encryption is supported by the S3 Multipart Upload actions. Unless you are\n using a customer-provided encryption key, you don't need to specify the encryption\n parameters in each UploadPart request. Instead, you only need to specify the server-side\n encryption parameters in the initial Initiate Multipart request. For more information, see\n CreateMultipartUpload.

\n\n

If you requested server-side encryption using a customer-provided encryption key in your\n initiate multipart upload request, you must provide identical encryption information in\n each part upload using the following headers.

\n\n\n \n\n

\n Special Errors\n

\n \n\n \n\n\n\n\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?x-id=UploadPart", @@ -11765,7 +12168,7 @@ "target": "com.amazonaws.s3#UploadPartCopyOutput" }, "traits": { - "smithy.api#documentation": "

Uploads a part by copying data from an existing object as data source. You specify the\n data source by adding the request header x-amz-copy-source in your request and a\n byte range by adding the request header x-amz-copy-source-range in your request.

\n

The minimum allowable part size for a multipart upload is 5 MB. For more information about\n multipart upload limits, go to Quick Facts in the\n Amazon Simple Storage Service Developer Guide.

\n \n

Instead of using an existing object as part data, you might use the UploadPart operation and provide data in your request.

\n
\n \n

You must initiate a multipart upload before you can upload any part. In response to your\n initiate request. Amazon S3 returns a unique identifier, the upload ID, that you must include in\n your upload part request.

\n

For more information about using the UploadPartCopy operation, see the\n following:

\n \n \n

Note the following additional considerations about the request headers\n x-amz-copy-source-if-match, x-amz-copy-source-if-none-match,\n x-amz-copy-source-if-unmodified-since, and\n x-amz-copy-source-if-modified-since:

\n

\n

\n \n

\n Versioning\n

\n

If your bucket has versioning enabled, you could have multiple versions of the same\n object. By default, x-amz-copy-source identifies the current version of\n the object to copy. If the current version is a delete marker and you don't specify a\n versionId in the x-amz-copy-source, Amazon S3 returns a 404 error, because\n the object does not exist. If you specify versionId in the\n x-amz-copy-source and the versionId is a delete marker, Amazon S3 returns\n an HTTP 400 error, because you are not allowed to specify a delete marker as a version for the\n x-amz-copy-source.

\n

You can optionally specify a specific version of the source object to copy by adding the\n versionId subresource as shown in the following example:

\n

\n x-amz-copy-source: /bucket/object?versionId=version id\n

\n \n

\n Special Errors\n

\n \n \n \n \n \n \n \n

\n Related Resources\n

\n ", + "smithy.api#documentation": "

Uploads a part by copying data from an existing object as data source. You specify the\n data source by adding the request header x-amz-copy-source in your request and\n a byte range by adding the request header x-amz-copy-source-range in your\n request.

\n

The minimum allowable part size for a multipart upload is 5 MB. For more information\n about multipart upload limits, go to Quick\n Facts in the Amazon Simple Storage Service Developer Guide.

\n \n

Instead of using an existing object as part data, you might use the UploadPart\n operation and provide data in your request.

\n
\n\n

You must initiate a multipart upload before you can upload any part. In response to your\n initiate request. Amazon S3 returns a unique identifier, the upload ID, that you must include in\n your upload part request.

\n

For more information about using the UploadPartCopy operation, see the\n following:

\n\n \n

Note the following additional considerations about the request headers\n x-amz-copy-source-if-match, x-amz-copy-source-if-none-match,\n x-amz-copy-source-if-unmodified-since, and\n x-amz-copy-source-if-modified-since:

\n

\n \n

\n Versioning\n

\n

If your bucket has versioning enabled, you could have multiple versions of the same\n object. By default, x-amz-copy-source identifies the current version of the\n object to copy. If the current version is a delete marker and you don't specify a versionId\n in the x-amz-copy-source, Amazon S3 returns a 404 error, because the object does\n not exist. If you specify versionId in the x-amz-copy-source and the versionId\n is a delete marker, Amazon S3 returns an HTTP 400 error, because you are not allowed to specify\n a delete marker as a version for the x-amz-copy-source.

\n

You can optionally specify a specific version of the source object to copy by adding the\n versionId subresource as shown in the following example:

\n

\n x-amz-copy-source: /bucket/object?versionId=version id\n

\n\n

\n Special Errors\n

\n \n\n \n\n\n\n\n

\n Related Resources\n

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?x-id=UploadPartCopy", @@ -11779,24 +12182,10 @@ "CopySourceVersionId": { "target": "com.amazonaws.s3#CopySourceVersionId", "traits": { - "smithy.api#documentation": "

The version of the source object that was copied, if you have enabled versioning on the source bucket.

", + "smithy.api#documentation": "

The version of the source object that was copied, if you have enabled versioning on the\n source bucket.

", "smithy.api#httpHeader": "x-amz-copy-source-version-id" } }, - "SSECustomerAlgorithm": { - "target": "com.amazonaws.s3#SSECustomerAlgorithm", - "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" - } - }, - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", - "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response\n will include this header to provide round-trip message integrity verification of the\n customer-provided encryption key.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" - } - }, "CopyPartResult": { "target": "com.amazonaws.s3#CopyPartResult", "traits": { @@ -11804,109 +12193,66 @@ "smithy.api#httpPayload": {} } }, - "RequestCharged": { - "target": "com.amazonaws.s3#RequestCharged", - "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" - } - }, - "SSEKMSKeyId": { - "target": "com.amazonaws.s3#SSEKMSKeyId", - "traits": { - "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key\n (CMK) that was used for the object.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" - } - }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { "smithy.api#documentation": "

The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption" - } - } - } - }, - "com.amazonaws.s3#UploadPartCopyRequest": { - "type": "structure", - "members": { - "UploadId": { - "target": "com.amazonaws.s3#MultipartUploadId", - "traits": { - "smithy.api#documentation": "

Upload ID identifying the multipart upload whose part is being copied.

", - "smithy.api#httpQuery": "uploadId", - "smithy.api#required": {} - } - }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", - "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" - } - }, - "CopySourceRange": { - "target": "com.amazonaws.s3#CopySourceRange", - "traits": { - "smithy.api#documentation": "

The range of bytes to copy from the source object. The range value must use the form\n bytes=first-last, where the first and last are the zero-based byte offsets to copy. For\n example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You\n can copy a range only if the source object is greater than 5 MB.

", - "smithy.api#httpHeader": "x-amz-copy-source-range" - } - }, - "SSECustomerKey": { - "target": "com.amazonaws.s3#SSECustomerKey", - "traits": { - "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header. This must be the\n same encryption key specified in the initiate multipart upload request.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" + "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example, AES256).

", + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header confirming the encryption algorithm used.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "CopySourceIfMatch": { - "target": "com.amazonaws.s3#CopySourceIfMatch", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#documentation": "

Copies the object if its entity tag (ETag) matches the specified tag.

", - "smithy.api#httpHeader": "x-amz-copy-source-if-match" + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide round-trip message integrity verification of\n the customer-provided encryption key.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "SSEKMSKeyId": { + "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

The bucket name.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric\n customer managed customer master key (CMK) that was used for the object.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "RequestCharged": { + "target": "com.amazonaws.s3#RequestCharged", "traits": { - "smithy.api#documentation": "

The account id of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + "smithy.api#httpHeader": "x-amz-request-charged" } - }, - "CopySourceSSECustomerKey": { - "target": "com.amazonaws.s3#CopySourceSSECustomerKey", + } + } + }, + "com.amazonaws.s3#UploadPartCopyRequest": { + "type": "structure", + "members": { + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.

", - "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-key" + "smithy.api#documentation": "

The bucket name.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "CopySource": { "target": "com.amazonaws.s3#CopySource", "traits": { - "smithy.api#documentation": "

Specifies the source object for the copy operation. You specify the value in one of two formats, depending on whether you want \n to access the source object through an access point:

\n \n

To copy a specific version of an object, append ?versionId=\n to the value (for example,\n awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893).\n If you don't specify a version ID, Amazon S3 copies the latest version of the source\n object.

", + "smithy.api#documentation": "

Specifies the source object for the copy operation. You specify the value in one of two\n formats, depending on whether you want to access the source object through an access\n point:

\n \n

To copy a specific version of an object, append ?versionId=\n to the value (for example,\n awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893).\n If you don't specify a version ID, Amazon S3 copies the latest version of the source\n object.

", "smithy.api#httpHeader": "x-amz-copy-source", "smithy.api#required": {} } }, - "PartNumber": { - "target": "com.amazonaws.s3#PartNumber", + "CopySourceIfMatch": { + "target": "com.amazonaws.s3#CopySourceIfMatch", "traits": { - "smithy.api#documentation": "

Part number of part being copied. This is a positive integer between 1 and 10,000.

", - "smithy.api#httpQuery": "partNumber", - "smithy.api#required": {} + "smithy.api#documentation": "

Copies the object if its entity tag (ETag) matches the specified tag.

", + "smithy.api#httpHeader": "x-amz-copy-source-if-match" } }, "CopySourceIfModifiedSince": { @@ -11916,11 +12262,25 @@ "smithy.api#httpHeader": "x-amz-copy-source-if-modified-since" } }, - "CopySourceSSECustomerAlgorithm": { - "target": "com.amazonaws.s3#CopySourceSSECustomerAlgorithm", + "CopySourceIfNoneMatch": { + "target": "com.amazonaws.s3#CopySourceIfNoneMatch", "traits": { - "smithy.api#documentation": "

Specifies the algorithm to use when decrypting the source object (for example, AES256).

", - "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-algorithm" + "smithy.api#documentation": "

Copies the object if its entity tag (ETag) is different than the specified ETag.

", + "smithy.api#httpHeader": "x-amz-copy-source-if-none-match" + } + }, + "CopySourceIfUnmodifiedSince": { + "target": "com.amazonaws.s3#CopySourceIfUnmodifiedSince", + "traits": { + "smithy.api#documentation": "

Copies the object if it hasn't been modified since the specified time.

", + "smithy.api#httpHeader": "x-amz-copy-source-if-unmodified-since" + } + }, + "CopySourceRange": { + "target": "com.amazonaws.s3#CopySourceRange", + "traits": { + "smithy.api#documentation": "

The range of bytes to copy from the source object. The range value must use the form\n bytes=first-last, where the first and last are the zero-based byte offsets to copy. For\n example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You\n can copy a range only if the source object is greater than 5 MB.

", + "smithy.api#httpHeader": "x-amz-copy-source-range" } }, "Key": { @@ -11931,18 +12291,34 @@ "smithy.api#required": {} } }, - "CopySourceIfUnmodifiedSince": { - "target": "com.amazonaws.s3#CopySourceIfUnmodifiedSince", + "PartNumber": { + "target": "com.amazonaws.s3#PartNumber", "traits": { - "smithy.api#documentation": "

Copies the object if it hasn't been modified since the specified time.

", - "smithy.api#httpHeader": "x-amz-copy-source-if-unmodified-since" + "smithy.api#documentation": "

Part number of part being copied. This is a positive integer between 1 and\n 10,000.

", + "smithy.api#httpQuery": "partNumber", + "smithy.api#required": {} } }, - "ExpectedSourceBucketOwner": { - "target": "com.amazonaws.s3#AccountId", + "UploadId": { + "target": "com.amazonaws.s3#MultipartUploadId", "traits": { - "smithy.api#documentation": "

The account id of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-source-expected-bucket-owner" + "smithy.api#documentation": "

Upload ID identifying the multipart upload whose part is being copied.

", + "smithy.api#httpQuery": "uploadId", + "smithy.api#required": {} + } + }, + "SSECustomerAlgorithm": { + "target": "com.amazonaws.s3#SSECustomerAlgorithm", + "traits": { + "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example,\n AES256).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" + } + }, + "SSECustomerKey": { + "target": "com.amazonaws.s3#SSECustomerKey", + "traits": { + "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header. This must be the\n same encryption key specified in the initiate multipart upload request.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" } }, "SSECustomerKeyMD5": { @@ -11952,11 +12328,18 @@ "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "CopySourceIfNoneMatch": { - "target": "com.amazonaws.s3#CopySourceIfNoneMatch", + "CopySourceSSECustomerAlgorithm": { + "target": "com.amazonaws.s3#CopySourceSSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

Copies the object if its entity tag (ETag) is different than the specified ETag.

", - "smithy.api#httpHeader": "x-amz-copy-source-if-none-match" + "smithy.api#documentation": "

Specifies the algorithm to use when decrypting the source object (for example,\n AES256).

", + "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-algorithm" + } + }, + "CopySourceSSECustomerKey": { + "target": "com.amazonaws.s3#CopySourceSSECustomerKey", + "traits": { + "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source\n object. The encryption key provided in this header must be one that was used when the\n source object was created.

", + "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-key" } }, "CopySourceSSECustomerKeyMD5": { @@ -11965,19 +12348,32 @@ "smithy.api#documentation": "

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.

", "smithy.api#httpHeader": "x-amz-copy-source-server-side-encryption-customer-key-MD5" } + }, + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", + "traits": { + "smithy.api#httpHeader": "x-amz-request-payer" + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" + } + }, + "ExpectedSourceBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-source-expected-bucket-owner" + } } } }, "com.amazonaws.s3#UploadPartOutput": { "type": "structure", "members": { - "SSECustomerKeyMD5": { - "target": "com.amazonaws.s3#SSECustomerKeyMD5", - "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response\n will include this header to provide round-trip message integrity verification of the\n customer-provided encryption key.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" - } - }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { @@ -11985,31 +12381,38 @@ "smithy.api#httpHeader": "x-amz-server-side-encryption" } }, - "SSEKMSKeyId": { - "target": "com.amazonaws.s3#SSEKMSKeyId", + "ETag": { + "target": "com.amazonaws.s3#ETag", "traits": { - "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key\n (CMK) was used for the object.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" + "smithy.api#documentation": "

Entity tag for the uploaded object.

", + "smithy.api#httpHeader": "ETag" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

", + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header confirming the encryption algorithm used.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, - "RequestCharged": { - "target": "com.amazonaws.s3#RequestCharged", + "SSECustomerKeyMD5": { + "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" + "smithy.api#documentation": "

If server-side encryption with a customer-provided encryption key was requested, the\n response will include this header to provide round-trip message integrity verification of\n the customer-provided encryption key.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "ETag": { - "target": "com.amazonaws.s3#ETag", + "SSEKMSKeyId": { + "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "

Entity tag for the uploaded object.

", - "smithy.api#httpHeader": "ETag" + "smithy.api#documentation": "

If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric\n customer managed customer master key (CMK) was used for the object.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" + } + }, + "RequestCharged": { + "target": "com.amazonaws.s3#RequestCharged", + "traits": { + "smithy.api#httpHeader": "x-amz-request-charged" } } } @@ -12017,14 +12420,6 @@ "com.amazonaws.s3#UploadPartRequest": { "type": "structure", "members": { - "PartNumber": { - "target": "com.amazonaws.s3#PartNumber", - "traits": { - "smithy.api#documentation": "

Part number of part being uploaded. This is a positive integer between 1 and 10,000.

", - "smithy.api#httpQuery": "partNumber", - "smithy.api#required": {} - } - }, "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { @@ -12032,39 +12427,26 @@ "smithy.api#httpPayload": {} } }, - "ExpectedBucketOwner": { - "target": "com.amazonaws.s3#AccountId", - "traits": { - "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", - "smithy.api#httpHeader": "x-amz-expected-bucket-owner" - } - }, - "RequestPayer": { - "target": "com.amazonaws.s3#RequestPayer", + "Bucket": { + "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" + "smithy.api#documentation": "

The name of the bucket to which the multipart upload was initiated.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { - "smithy.api#documentation": "

Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically.

", + "smithy.api#documentation": "

Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically.

", "smithy.api#httpHeader": "Content-Length" } }, - "SSECustomerKey": { - "target": "com.amazonaws.s3#SSECustomerKey", - "traits": { - "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header. This must be the\n same encryption key specified in the initiate multipart upload request.

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" - } - }, - "Bucket": { - "target": "com.amazonaws.s3#BucketName", + "ContentMD5": { + "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The name of the bucket to which the multipart upload was initiated.

\n

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

\n

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated\n when using the command from the CLI. This parameter is required if object lock parameters\n are specified.

", + "smithy.api#httpHeader": "Content-MD5" } }, "Key": { @@ -12075,11 +12457,12 @@ "smithy.api#required": {} } }, - "SSECustomerAlgorithm": { - "target": "com.amazonaws.s3#SSECustomerAlgorithm", + "PartNumber": { + "target": "com.amazonaws.s3#PartNumber", "traits": { - "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example, AES256).

", - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" + "smithy.api#documentation": "

Part number of part being uploaded. This is a positive integer between 1 and\n 10,000.

", + "smithy.api#httpQuery": "partNumber", + "smithy.api#required": {} } }, "UploadId": { @@ -12090,6 +12473,20 @@ "smithy.api#required": {} } }, + "SSECustomerAlgorithm": { + "target": "com.amazonaws.s3#SSECustomerAlgorithm", + "traits": { + "smithy.api#documentation": "

Specifies the algorithm to use to when encrypting the object (for example,\n AES256).

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" + } + }, + "SSECustomerKey": { + "target": "com.amazonaws.s3#SSECustomerKey", + "traits": { + "smithy.api#documentation": "

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm header. This must be the\n same encryption key specified in the initiate multipart upload request.

", + "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" + } + }, "SSECustomerKeyMD5": { "target": "com.amazonaws.s3#SSECustomerKeyMD5", "traits": { @@ -12097,11 +12494,17 @@ "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, - "ContentMD5": { - "target": "com.amazonaws.s3#ContentMD5", + "RequestPayer": { + "target": "com.amazonaws.s3#RequestPayer", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated when\n using the command from the CLI. This parameter is required if object lock parameters are\n specified.

", - "smithy.api#httpHeader": "Content-MD5" + "smithy.api#httpHeader": "x-amz-request-payer" + } + }, + "ExpectedBucketOwner": { + "target": "com.amazonaws.s3#AccountId", + "traits": { + "smithy.api#documentation": "

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

", + "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } } } @@ -12124,22 +12527,22 @@ "com.amazonaws.s3#VersioningConfiguration": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.s3#BucketVersioningStatus", - "traits": { - "smithy.api#documentation": "

The versioning state of the bucket.

" - } - }, "MFADelete": { "target": "com.amazonaws.s3#MFADelete", "traits": { - "smithy.api#documentation": "

Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.

", + "smithy.api#documentation": "

Specifies whether MFA delete is enabled in the bucket versioning configuration. This\n element is only returned if the bucket has been configured with MFA delete. If the bucket\n has never been so configured, this element is not returned.

", "smithy.api#xmlName": "MfaDelete" } + }, + "Status": { + "target": "com.amazonaws.s3#BucketVersioningStatus", + "traits": { + "smithy.api#documentation": "

The versioning state of the bucket.

" + } } }, "traits": { - "smithy.api#documentation": "

Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning in the\n Amazon Simple Storage Service API Reference.

" + "smithy.api#documentation": "

Describes the versioning state of an Amazon S3 bucket. For more information, see PUT\n Bucket versioning in the Amazon Simple Storage Service API Reference.

" } }, "com.amazonaws.s3#WebsiteConfiguration": { @@ -12151,18 +12554,18 @@ "smithy.api#documentation": "

The name of the error document for the website.

" } }, - "RedirectAllRequestsTo": { - "target": "com.amazonaws.s3#RedirectAllRequestsTo", - "traits": { - "smithy.api#documentation": "

The redirect behavior for every request to this bucket's website endpoint.

\n \n

If you specify this property, you can't specify any other property.

\n
" - } - }, "IndexDocument": { "target": "com.amazonaws.s3#IndexDocument", "traits": { "smithy.api#documentation": "

The name of the index document for the website.

" } }, + "RedirectAllRequestsTo": { + "target": "com.amazonaws.s3#RedirectAllRequestsTo", + "traits": { + "smithy.api#documentation": "

The redirect behavior for every request to this bucket's website endpoint.

\n \n

If you specify this property, you can't specify any other property.

\n
" + } + }, "RoutingRules": { "target": "com.amazonaws.s3#RoutingRules", "traits": { diff --git a/codegen/sdk-codegen/aws-models/service-catalog.2015-12-10.json b/codegen/sdk-codegen/aws-models/service-catalog.2015-12-10.json index 51708c0a9281..028a621794ae 100644 --- a/codegen/sdk-codegen/aws-models/service-catalog.2015-12-10.json +++ b/codegen/sdk-codegen/aws-models/service-catalog.2015-12-10.json @@ -342,18 +342,18 @@ "smithy.api#documentation": "

The language code.

\n " } }, - "PortfolioShareType": { - "target": "com.amazonaws.servicecatalog#PortfolioShareType", - "traits": { - "smithy.api#documentation": "

The type of shared portfolios to accept. The default is to accept imported portfolios.

\n \n

For example, aws servicecatalog accept-portfolio-share --portfolio-id \"port-2qwzkwxt3y5fk\" --portfolio-share-type AWS_ORGANIZATIONS\n

" - } - }, "PortfolioId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The portfolio identifier.

", "smithy.api#required": {} } + }, + "PortfolioShareType": { + "target": "com.amazonaws.servicecatalog#PortfolioShareType", + "traits": { + "smithy.api#documentation": "

The type of shared portfolios to accept. The default is to accept imported portfolios.

\n \n

For example, aws servicecatalog accept-portfolio-share --portfolio-id \"port-2qwzkwxt3y5fk\" --portfolio-share-type AWS_ORGANIZATIONS\n

" + } } } }, @@ -364,17 +364,17 @@ "com.amazonaws.servicecatalog#AccessLevelFilter": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.servicecatalog#AccessLevelFilterValue", - "traits": { - "smithy.api#documentation": "

The user to which the access level applies. The only supported value is Self.

" - } - }, "Key": { "target": "com.amazonaws.servicecatalog#AccessLevelFilterKey", "traits": { "smithy.api#documentation": "

The access level.

\n " } + }, + "Value": { + "target": "com.amazonaws.servicecatalog#AccessLevelFilterValue", + "traits": { + "smithy.api#documentation": "

The user to which the access level applies. The only supported value is Self.

" + } } }, "traits": { @@ -487,17 +487,17 @@ "com.amazonaws.servicecatalog#AssociateBudgetWithResourceInput": { "type": "structure", "members": { - "ResourceId": { - "target": "com.amazonaws.servicecatalog#Id", + "BudgetName": { + "target": "com.amazonaws.servicecatalog#BudgetName", "traits": { - "smithy.api#documentation": "

The resource identifier. Either a portfolio-id or a product-id.

", + "smithy.api#documentation": "

The name of the budget you want to associate.

", "smithy.api#required": {} } }, - "BudgetName": { - "target": "com.amazonaws.servicecatalog#BudgetName", + "ResourceId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The name of the budget you want to associate.

", + "smithy.api#documentation": "

The resource identifier. Either a portfolio-id or a product-id.

", "smithy.api#required": {} } } @@ -533,11 +533,10 @@ "com.amazonaws.servicecatalog#AssociatePrincipalWithPortfolioInput": { "type": "structure", "members": { - "PrincipalType": { - "target": "com.amazonaws.servicecatalog#PrincipalType", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The principal type. The supported value is IAM.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The language code.

\n " } }, "PortfolioId": { @@ -547,18 +546,19 @@ "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "PrincipalARN": { "target": "com.amazonaws.servicecatalog#PrincipalARN", "traits": { "smithy.api#documentation": "

The ARN of the principal (IAM user, role, or group).

", "smithy.api#required": {} } + }, + "PrincipalType": { + "target": "com.amazonaws.servicecatalog#PrincipalType", + "traits": { + "smithy.api#documentation": "

The principal type. The supported value is IAM.

", + "smithy.api#required": {} + } } } }, @@ -650,31 +650,31 @@ "com.amazonaws.servicecatalog#AssociateServiceActionWithProvisioningArtifactInput": { "type": "structure", "members": { - "ServiceActionId": { + "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The self-service action identifier. For example, act-fs7abcd89wxyz.

", + "smithy.api#documentation": "

The product identifier. For example, prod-abcdzk7xy33qa.

", "smithy.api#required": {} } }, - "ProductId": { + "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The product identifier. For example, prod-abcdzk7xy33qa.

", + "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

", "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "ServiceActionId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The self-service action identifier. For example, act-fs7abcd89wxyz.

", + "smithy.api#required": {} } }, - "ProvisioningArtifactId": { - "target": "com.amazonaws.servicecatalog#Id", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The language code.

\n " } } } @@ -718,17 +718,17 @@ "com.amazonaws.servicecatalog#AssociateTagOptionWithResourceInput": { "type": "structure", "members": { - "TagOptionId": { - "target": "com.amazonaws.servicecatalog#TagOptionId", + "ResourceId": { + "target": "com.amazonaws.servicecatalog#ResourceId", "traits": { - "smithy.api#documentation": "

The TagOption identifier.

", + "smithy.api#documentation": "

The resource identifier.

", "smithy.api#required": {} } }, - "ResourceId": { - "target": "com.amazonaws.servicecatalog#ResourceId", + "TagOptionId": { + "target": "com.amazonaws.servicecatalog#TagOptionId", "traits": { - "smithy.api#documentation": "

The resource identifier.

", + "smithy.api#documentation": "

The TagOption identifier.

", "smithy.api#required": {} } } @@ -807,18 +807,18 @@ "com.amazonaws.servicecatalog#BatchDisassociateServiceActionFromProvisioningArtifactInput": { "type": "structure", "members": { - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "ServiceActionAssociations": { "target": "com.amazonaws.servicecatalog#ServiceActionAssociations", "traits": { "smithy.api#documentation": "

One or more associations, each consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.

", "smithy.api#required": {} } + }, + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } } } }, @@ -919,12 +919,6 @@ "com.amazonaws.servicecatalog#ConstraintDetail": { "type": "structure", "members": { - "Owner": { - "target": "com.amazonaws.servicecatalog#AccountId", - "traits": { - "smithy.api#documentation": "

The owner of the constraint.

" - } - }, "ConstraintId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -943,6 +937,12 @@ "smithy.api#documentation": "

The description of the constraint.

" } }, + "Owner": { + "target": "com.amazonaws.servicecatalog#AccountId", + "traits": { + "smithy.api#documentation": "

The owner of the constraint.

" + } + }, "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -978,17 +978,17 @@ "com.amazonaws.servicecatalog#ConstraintSummary": { "type": "structure", "members": { - "Description": { - "target": "com.amazonaws.servicecatalog#ConstraintDescription", - "traits": { - "smithy.api#documentation": "

The description of the constraint.

" - } - }, "Type": { "target": "com.amazonaws.servicecatalog#ConstraintType", "traits": { "smithy.api#documentation": "

The type of constraint.

\n " } + }, + "Description": { + "target": "com.amazonaws.servicecatalog#ConstraintDescription", + "traits": { + "smithy.api#documentation": "

The description of the constraint.

" + } } }, "traits": { @@ -1044,11 +1044,16 @@ "com.amazonaws.servicecatalog#CopyProductInput": { "type": "structure", "members": { - "IdempotencyToken": { - "target": "com.amazonaws.servicecatalog#IdempotencyToken", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", - "smithy.api#idempotencyToken": {}, + "smithy.api#documentation": "

The language code.

\n " + } + }, + "SourceProductArn": { + "target": "com.amazonaws.servicecatalog#ProductArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source product.

", "smithy.api#required": {} } }, @@ -1058,34 +1063,29 @@ "smithy.api#documentation": "

The identifier of the target product. By default, a new product is created.

" } }, - "CopyOptions": { - "target": "com.amazonaws.servicecatalog#CopyOptions", - "traits": { - "smithy.api#documentation": "

The copy options. If the value is CopyTags, the tags from the source\n product are copied to the target product.

" - } - }, "TargetProductName": { "target": "com.amazonaws.servicecatalog#ProductViewName", "traits": { "smithy.api#documentation": "

A name for the target product. The default is the name of the source product.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "SourceProvisioningArtifactIdentifiers": { "target": "com.amazonaws.servicecatalog#SourceProvisioningArtifactProperties", "traits": { "smithy.api#documentation": "

The identifiers of the provisioning artifacts (also known as versions) of the product to copy. \n By default, all provisioning artifacts are copied.

" } }, - "SourceProductArn": { - "target": "com.amazonaws.servicecatalog#ProductArn", + "CopyOptions": { + "target": "com.amazonaws.servicecatalog#CopyOptions", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source product.

", + "smithy.api#documentation": "

The copy options. If the value is CopyTags, the tags from the source\n product are copied to the target product.

" + } + }, + "IdempotencyToken": { + "target": "com.amazonaws.servicecatalog#IdempotencyToken", + "traits": { + "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", + "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } } @@ -1156,13 +1156,6 @@ "smithy.api#documentation": "

The language code.

\n " } }, - "ProductId": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The product identifier.

", - "smithy.api#required": {} - } - }, "PortfolioId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -1170,17 +1163,17 @@ "smithy.api#required": {} } }, - "Description": { - "target": "com.amazonaws.servicecatalog#ConstraintDescription", + "ProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The description of the constraint.

" + "smithy.api#documentation": "

The product identifier.

", + "smithy.api#required": {} } }, - "IdempotencyToken": { - "target": "com.amazonaws.servicecatalog#IdempotencyToken", + "Parameters": { + "target": "com.amazonaws.servicecatalog#ConstraintParameters", "traits": { - "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", - "smithy.api#idempotencyToken": {}, + "smithy.api#documentation": "

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

\n
\n
LAUNCH
\n
\n

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

\n

Specify the RoleArn property as follows:

\n

\n {\"RoleArn\" : \"arn:aws:iam::123456789012:role/LaunchRole\"}\n

\n

Specify the LocalRoleName property as follows:

\n

\n {\"LocalRoleName\": \"SCBasicLaunchRole\"}\n

\n

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be \n account-agnostic so the administrator can create fewer resources per shared account.

\n \n

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

\n
\n

You cannot have both a LAUNCH and a STACKSET constraint.

\n

You also cannot have more than one LAUNCH constraint on a product and portfolio.

\n
\n
NOTIFICATION
\n
\n

Specify the NotificationArns property as follows:

\n

\n {\"NotificationArns\" : [\"arn:aws:sns:us-east-1:123456789012:Topic\"]}\n

\n
\n
RESOURCE_UPDATE
\n
\n

Specify the TagUpdatesOnProvisionedProduct property as follows:

\n

\n {\"Version\":\"2.0\",\"Properties\":{\"TagUpdateOnProvisionedProduct\":\"String\"}}\n

\n

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

\n
\n
STACKSET
\n
\n

Specify the Parameters property as follows:

\n

\n {\"Version\": \"String\", \"Properties\": {\"AccountList\": [ \"String\" ], \"RegionList\": [ \"String\" ], \"AdminRole\": \"String\", \"ExecutionRole\": \"String\"}}\n

\n

You cannot have both a LAUNCH and a STACKSET constraint.

\n

You also cannot have more than one STACKSET constraint on a product and portfolio.

\n

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

\n
\n
TEMPLATE
\n
\n

Specify the Rules property. For more information, see\n Template Constraint Rules.

\n
\n
", "smithy.api#required": {} } }, @@ -1191,10 +1184,17 @@ "smithy.api#required": {} } }, - "Parameters": { - "target": "com.amazonaws.servicecatalog#ConstraintParameters", + "Description": { + "target": "com.amazonaws.servicecatalog#ConstraintDescription", "traits": { - "smithy.api#documentation": "

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

\n
\n
LAUNCH
\n
\n

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

\n

Specify the RoleArn property as follows:

\n

\n {\"RoleArn\" : \"arn:aws:iam::123456789012:role/LaunchRole\"}\n

\n

Specify the LocalRoleName property as follows:

\n

\n {\"LocalRoleName\": \"SCBasicLaunchRole\"}\n

\n

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be \n account-agnostic so the administrator can create fewer resources per shared account.

\n \n

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

\n
\n

You cannot have both a LAUNCH and a STACKSET constraint.

\n

You also cannot have more than one LAUNCH constraint on a product and portfolio.

\n
\n
NOTIFICATION
\n
\n

Specify the NotificationArns property as follows:

\n

\n {\"NotificationArns\" : [\"arn:aws:sns:us-east-1:123456789012:Topic\"]}\n

\n
\n
RESOURCE_UPDATE
\n
\n

Specify the TagUpdatesOnProvisionedProduct property as follows:

\n

\n {\"Version\":\"2.0\",\"Properties\":{\"TagUpdateOnProvisionedProduct\":\"String\"}}\n

\n

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

\n
\n
STACKSET
\n
\n

Specify the Parameters property as follows:

\n

\n {\"Version\": \"String\", \"Properties\": {\"AccountList\": [ \"String\" ], \"RegionList\": [ \"String\" ], \"AdminRole\": \"String\", \"ExecutionRole\": \"String\"}}\n

\n

You cannot have both a LAUNCH and a STACKSET constraint.

\n

You also cannot have more than one STACKSET constraint on a product and portfolio.

\n

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

\n
\n
TEMPLATE
\n
\n

Specify the Rules property. For more information, see\n Template Constraint Rules.

\n
\n
", + "smithy.api#documentation": "

The description of the constraint.

" + } + }, + "IdempotencyToken": { + "target": "com.amazonaws.servicecatalog#IdempotencyToken", + "traits": { + "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", + "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } } @@ -1203,12 +1203,6 @@ "com.amazonaws.servicecatalog#CreateConstraintOutput": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.servicecatalog#Status", - "traits": { - "smithy.api#documentation": "

The status of the current request.

" - } - }, "ConstraintDetail": { "target": "com.amazonaws.servicecatalog#ConstraintDetail", "traits": { @@ -1220,6 +1214,12 @@ "traits": { "smithy.api#documentation": "

The constraint parameters.

" } + }, + "Status": { + "target": "com.amazonaws.servicecatalog#Status", + "traits": { + "smithy.api#documentation": "

The status of the current request.

" + } } } }, @@ -1249,18 +1249,19 @@ "com.amazonaws.servicecatalog#CreatePortfolioInput": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.servicecatalog#AddTags", - "traits": { - "smithy.api#documentation": "

One or more tags.

" - } - }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { "smithy.api#documentation": "

The language code.

\n " } }, + "DisplayName": { + "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", + "traits": { + "smithy.api#documentation": "

The name to use for display purposes.

", + "smithy.api#required": {} + } + }, "Description": { "target": "com.amazonaws.servicecatalog#PortfolioDescription", "traits": { @@ -1274,11 +1275,10 @@ "smithy.api#required": {} } }, - "DisplayName": { - "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", + "Tags": { + "target": "com.amazonaws.servicecatalog#AddTags", "traits": { - "smithy.api#documentation": "

The name to use for display purposes.

", - "smithy.api#required": {} + "smithy.api#documentation": "

One or more tags.

" } }, "IdempotencyToken": { @@ -1340,18 +1340,6 @@ "com.amazonaws.servicecatalog#CreatePortfolioShareInput": { "type": "structure", "members": { - "OrganizationNode": { - "target": "com.amazonaws.servicecatalog#OrganizationNode", - "traits": { - "smithy.api#documentation": "

The organization node to whom you are going to share. If OrganizationNode\n is passed in, PortfolioShare will be created for the node an\n ListOrganizationPortfolioAccessd its children (when applies), and a\n PortfolioShareToken will be returned in the output in order for the\n administrator to monitor the status of the PortfolioShare creation\n process.

" - } - }, - "AccountId": { - "target": "com.amazonaws.servicecatalog#AccountId", - "traits": { - "smithy.api#documentation": "

The AWS account ID. For example, 123456789012.

" - } - }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { @@ -1364,6 +1352,18 @@ "smithy.api#documentation": "

The portfolio identifier.

", "smithy.api#required": {} } + }, + "AccountId": { + "target": "com.amazonaws.servicecatalog#AccountId", + "traits": { + "smithy.api#documentation": "

The AWS account ID. For example, 123456789012.

" + } + }, + "OrganizationNode": { + "target": "com.amazonaws.servicecatalog#OrganizationNode", + "traits": { + "smithy.api#documentation": "

The organization node to whom you are going to share. If OrganizationNode\n is passed in, PortfolioShare will be created for the node an\n ListOrganizationPortfolioAccessd its children (when applies), and a\n PortfolioShareToken will be returned in the output in order for the\n administrator to monitor the status of the PortfolioShare creation\n process.

" + } } } }, @@ -1404,29 +1404,30 @@ "com.amazonaws.servicecatalog#CreateProductInput": { "type": "structure", "members": { - "SupportDescription": { - "target": "com.amazonaws.servicecatalog#SupportDescription", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The support information about the product.

" + "smithy.api#documentation": "

The language code.

\n " } }, - "ProductType": { - "target": "com.amazonaws.servicecatalog#ProductType", + "Name": { + "target": "com.amazonaws.servicecatalog#ProductViewName", "traits": { - "smithy.api#documentation": "

The type of product.

", + "smithy.api#documentation": "

The name of the product.

", "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "Owner": { + "target": "com.amazonaws.servicecatalog#ProductViewOwner", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The owner of the product.

", + "smithy.api#required": {} } }, - "SupportUrl": { - "target": "com.amazonaws.servicecatalog#SupportUrl", + "Description": { + "target": "com.amazonaws.servicecatalog#ProductViewShortDescription", "traits": { - "smithy.api#documentation": "

The contact URL for product support.

" + "smithy.api#documentation": "

The description of the product.

" } }, "Distributor": { @@ -1435,10 +1436,10 @@ "smithy.api#documentation": "

The distributor of the product.

" } }, - "Description": { - "target": "com.amazonaws.servicecatalog#ProductViewShortDescription", + "SupportDescription": { + "target": "com.amazonaws.servicecatalog#SupportDescription", "traits": { - "smithy.api#documentation": "

The description of the product.

" + "smithy.api#documentation": "

The support information about the product.

" } }, "SupportEmail": { @@ -1447,17 +1448,16 @@ "smithy.api#documentation": "

The contact email for product support.

" } }, - "Name": { - "target": "com.amazonaws.servicecatalog#ProductViewName", + "SupportUrl": { + "target": "com.amazonaws.servicecatalog#SupportUrl", "traits": { - "smithy.api#documentation": "

The name of the product.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The contact URL for product support.

" } }, - "ProvisioningArtifactParameters": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactProperties", + "ProductType": { + "target": "com.amazonaws.servicecatalog#ProductType", "traits": { - "smithy.api#documentation": "

The configuration of the provisioning artifact.

", + "smithy.api#documentation": "

The type of product.

", "smithy.api#required": {} } }, @@ -1467,18 +1467,18 @@ "smithy.api#documentation": "

One or more tags.

" } }, - "IdempotencyToken": { - "target": "com.amazonaws.servicecatalog#IdempotencyToken", + "ProvisioningArtifactParameters": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactProperties", "traits": { - "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", - "smithy.api#idempotencyToken": {}, + "smithy.api#documentation": "

The configuration of the provisioning artifact.

", "smithy.api#required": {} } }, - "Owner": { - "target": "com.amazonaws.servicecatalog#ProductViewOwner", + "IdempotencyToken": { + "target": "com.amazonaws.servicecatalog#IdempotencyToken", "traits": { - "smithy.api#documentation": "

The owner of the product.

", + "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", + "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } } @@ -1533,23 +1533,16 @@ "com.amazonaws.servicecatalog#CreateProvisionedProductPlanInput": { "type": "structure", "members": { - "ProvisioningArtifactId": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact.

", - "smithy.api#required": {} - } - }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { "smithy.api#documentation": "

The language code.

\n " } }, - "ProductId": { - "target": "com.amazonaws.servicecatalog#Id", + "PlanName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductPlanName", "traits": { - "smithy.api#documentation": "

The product identifier.

", + "smithy.api#documentation": "

The name of the plan.

", "smithy.api#required": {} } }, @@ -1566,16 +1559,16 @@ "smithy.api#documentation": "

Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related\n events.

" } }, - "ProvisioningParameters": { - "target": "com.amazonaws.servicecatalog#UpdateProvisioningParameters", + "PathId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

Parameters specified by the administrator that are required for provisioning the\n product.

" + "smithy.api#documentation": "

The path identifier of the product. This value is optional if the product \n has a default path, and required if the product has more than one path.\n To list the paths for a product, use ListLaunchPaths.

" } }, - "PlanName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductPlanName", + "ProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The name of the plan.

", + "smithy.api#documentation": "

The product identifier.

", "smithy.api#required": {} } }, @@ -1586,10 +1579,17 @@ "smithy.api#required": {} } }, - "PathId": { + "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The path identifier of the product. This value is optional if the product \n has a default path, and required if the product has more than one path.\n To list the paths for a product, use ListLaunchPaths.

" + "smithy.api#documentation": "

The identifier of the provisioning artifact.

", + "smithy.api#required": {} + } + }, + "ProvisioningParameters": { + "target": "com.amazonaws.servicecatalog#UpdateProvisioningParameters", + "traits": { + "smithy.api#documentation": "

Parameters specified by the administrator that are required for provisioning the\n product.

" } }, "IdempotencyToken": { @@ -1611,12 +1611,24 @@ "com.amazonaws.servicecatalog#CreateProvisionedProductPlanOutput": { "type": "structure", "members": { + "PlanName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductPlanName", + "traits": { + "smithy.api#documentation": "

The name of the plan.

" + } + }, "PlanId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The plan identifier.

" } }, + "ProvisionProductId": { + "target": "com.amazonaws.servicecatalog#Id", + "traits": { + "smithy.api#documentation": "

The product identifier.

" + } + }, "ProvisionedProductName": { "target": "com.amazonaws.servicecatalog#ProvisionedProductName", "traits": { @@ -1628,18 +1640,6 @@ "traits": { "smithy.api#documentation": "

The identifier of the provisioning artifact.

" } - }, - "PlanName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductPlanName", - "traits": { - "smithy.api#documentation": "

The name of the plan.

" - } - }, - "ProvisionProductId": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The product identifier.

" - } } } }, @@ -1669,11 +1669,16 @@ "com.amazonaws.servicecatalog#CreateProvisioningArtifactInput": { "type": "structure", "members": { - "IdempotencyToken": { - "target": "com.amazonaws.servicecatalog#IdempotencyToken", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", - "smithy.api#idempotencyToken": {}, + "smithy.api#documentation": "

The language code.

\n " + } + }, + "ProductId": { + "target": "com.amazonaws.servicecatalog#Id", + "traits": { + "smithy.api#documentation": "

The product identifier.

", "smithy.api#required": {} } }, @@ -1684,28 +1689,23 @@ "smithy.api#required": {} } }, - "ProductId": { - "target": "com.amazonaws.servicecatalog#Id", + "IdempotencyToken": { + "target": "com.amazonaws.servicecatalog#IdempotencyToken", "traits": { - "smithy.api#documentation": "

The product identifier.

", + "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", + "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, "com.amazonaws.servicecatalog#CreateProvisioningArtifactOutput": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.servicecatalog#Status", + "ProvisioningArtifactDetail": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactDetail", "traits": { - "smithy.api#documentation": "

The status of the current request.

" + "smithy.api#documentation": "

Information about the provisioning artifact.

" } }, "Info": { @@ -1714,10 +1714,10 @@ "smithy.api#documentation": "

The URL of the CloudFormation template in Amazon S3, in JSON format.

" } }, - "ProvisioningArtifactDetail": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactDetail", + "Status": { + "target": "com.amazonaws.servicecatalog#Status", "traits": { - "smithy.api#documentation": "

Information about the provisioning artifact.

" + "smithy.api#documentation": "

The status of the current request.

" } } } @@ -1745,24 +1745,17 @@ "com.amazonaws.servicecatalog#CreateServiceActionInput": { "type": "structure", "members": { - "IdempotencyToken": { - "target": "com.amazonaws.servicecatalog#IdempotencyToken", + "Name": { + "target": "com.amazonaws.servicecatalog#ServiceActionName", "traits": { - "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", - "smithy.api#idempotencyToken": {}, + "smithy.api#documentation": "

The self-service action name.

", "smithy.api#required": {} } }, - "Description": { - "target": "com.amazonaws.servicecatalog#ServiceActionDescription", - "traits": { - "smithy.api#documentation": "

The self-service action description.

" - } - }, - "Name": { - "target": "com.amazonaws.servicecatalog#ServiceActionName", + "DefinitionType": { + "target": "com.amazonaws.servicecatalog#ServiceActionDefinitionType", "traits": { - "smithy.api#documentation": "

The self-service action name.

", + "smithy.api#documentation": "

The service action definition type. For example, SSM_AUTOMATION.

", "smithy.api#required": {} } }, @@ -1773,16 +1766,23 @@ "smithy.api#required": {} } }, + "Description": { + "target": "com.amazonaws.servicecatalog#ServiceActionDescription", + "traits": { + "smithy.api#documentation": "

The self-service action description.

" + } + }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { "smithy.api#documentation": "

The language code.

\n " } }, - "DefinitionType": { - "target": "com.amazonaws.servicecatalog#ServiceActionDefinitionType", + "IdempotencyToken": { + "target": "com.amazonaws.servicecatalog#IdempotencyToken", "traits": { - "smithy.api#documentation": "

The service action definition type. For example, SSM_AUTOMATION.

", + "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", + "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } } @@ -1825,17 +1825,17 @@ "com.amazonaws.servicecatalog#CreateTagOptionInput": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.servicecatalog#TagOptionValue", + "Key": { + "target": "com.amazonaws.servicecatalog#TagOptionKey", "traits": { - "smithy.api#documentation": "

The TagOption value.

", + "smithy.api#documentation": "

The TagOption key.

", "smithy.api#required": {} } }, - "Key": { - "target": "com.amazonaws.servicecatalog#TagOptionKey", + "Value": { + "target": "com.amazonaws.servicecatalog#TagOptionValue", "traits": { - "smithy.api#documentation": "

The TagOption key.

", + "smithy.api#documentation": "

The TagOption value.

", "smithy.api#required": {} } } @@ -1884,18 +1884,18 @@ "com.amazonaws.servicecatalog#DeleteConstraintInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The identifier of the constraint.

", "smithy.api#required": {} } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, @@ -1932,18 +1932,18 @@ "com.amazonaws.servicecatalog#DeletePortfolioInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The portfolio identifier.

", "smithy.api#required": {} } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, @@ -1980,16 +1980,10 @@ "com.amazonaws.servicecatalog#DeletePortfolioShareInput": { "type": "structure", "members": { - "OrganizationNode": { - "target": "com.amazonaws.servicecatalog#OrganizationNode", - "traits": { - "smithy.api#documentation": "

The organization node to whom you are going to stop sharing.

" - } - }, - "AccountId": { - "target": "com.amazonaws.servicecatalog#AccountId", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The AWS account ID.

" + "smithy.api#documentation": "

The language code.

\n " } }, "PortfolioId": { @@ -1999,10 +1993,16 @@ "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "AccountId": { + "target": "com.amazonaws.servicecatalog#AccountId", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The AWS account ID.

" + } + }, + "OrganizationNode": { + "target": "com.amazonaws.servicecatalog#OrganizationNode", + "traits": { + "smithy.api#documentation": "

The organization node to whom you are going to stop sharing.

" } } } @@ -2047,18 +2047,18 @@ "com.amazonaws.servicecatalog#DeleteProductInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The product identifier.

", "smithy.api#required": {} } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, @@ -2089,6 +2089,12 @@ "com.amazonaws.servicecatalog#DeleteProvisionedProductPlanInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "PlanId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -2096,12 +2102,6 @@ "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "IgnoreErrors": { "target": "com.amazonaws.servicecatalog#IgnoreErrors", "traits": { @@ -2140,6 +2140,12 @@ "com.amazonaws.servicecatalog#DeleteProvisioningArtifactInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -2147,12 +2153,6 @@ "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -2189,18 +2189,18 @@ "com.amazonaws.servicecatalog#DeleteServiceActionInput": { "type": "structure", "members": { - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The self-service action identifier. For example, act-fs7abcd89wxyz.

", "smithy.api#required": {} } + }, + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } } } }, @@ -2268,24 +2268,30 @@ "com.amazonaws.servicecatalog#DescribeConstraintInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The identifier of the constraint.

", "smithy.api#required": {} } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, "com.amazonaws.servicecatalog#DescribeConstraintOutput": { "type": "structure", "members": { + "ConstraintDetail": { + "target": "com.amazonaws.servicecatalog#ConstraintDetail", + "traits": { + "smithy.api#documentation": "

Information about the constraint.

" + } + }, "ConstraintParameters": { "target": "com.amazonaws.servicecatalog#ConstraintParameters", "traits": { @@ -2297,12 +2303,6 @@ "traits": { "smithy.api#documentation": "

The status of the current request.

" } - }, - "ConstraintDetail": { - "target": "com.amazonaws.servicecatalog#ConstraintDetail", - "traits": { - "smithy.api#documentation": "

Information about the constraint.

" - } } } }, @@ -2350,17 +2350,17 @@ "smithy.api#documentation": "

The status of the copy product operation.

" } }, - "StatusDetail": { - "target": "com.amazonaws.servicecatalog#StatusDetail", - "traits": { - "smithy.api#documentation": "

The status message.

" - } - }, "TargetProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The identifier of the copied product.

" } + }, + "StatusDetail": { + "target": "com.amazonaws.servicecatalog#StatusDetail", + "traits": { + "smithy.api#documentation": "

The status message.

" + } } } }, @@ -2466,10 +2466,10 @@ "com.amazonaws.servicecatalog#DescribePortfolioShareStatusOutput": { "type": "structure", "members": { - "ShareDetails": { - "target": "com.amazonaws.servicecatalog#ShareDetails", + "PortfolioShareToken": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

Information about the portfolio share operation.

" + "smithy.api#documentation": "

The token for the portfolio share operation. For example, share-6v24abcdefghi.

" } }, "PortfolioId": { @@ -2484,17 +2484,17 @@ "smithy.api#documentation": "

Organization node identifier. It can be either account id, organizational unit id or organization id.

" } }, - "PortfolioShareToken": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The token for the portfolio share operation. For example, share-6v24abcdefghi.

" - } - }, "Status": { "target": "com.amazonaws.servicecatalog#ShareStatus", "traits": { "smithy.api#documentation": "

Status of the portfolio share operation.

" } + }, + "ShareDetails": { + "target": "com.amazonaws.servicecatalog#ShareDetails", + "traits": { + "smithy.api#documentation": "

Information about the portfolio share operation.

" + } } } }, @@ -2541,10 +2541,10 @@ "com.amazonaws.servicecatalog#DescribeProductAsAdminInput": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.servicecatalog#ProductViewName", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The product name.

" + "smithy.api#documentation": "

The language code.

\n " } }, "Id": { @@ -2553,10 +2553,10 @@ "smithy.api#documentation": "

The product identifier.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "Name": { + "target": "com.amazonaws.servicecatalog#ProductViewName", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The product name.

" } } } @@ -2564,6 +2564,18 @@ "com.amazonaws.servicecatalog#DescribeProductAsAdminOutput": { "type": "structure", "members": { + "ProductViewDetail": { + "target": "com.amazonaws.servicecatalog#ProductViewDetail", + "traits": { + "smithy.api#documentation": "

Information about the product view.

" + } + }, + "ProvisioningArtifactSummaries": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactSummaries", + "traits": { + "smithy.api#documentation": "

Information about the provisioning artifacts (also known as versions) for the specified product.

" + } + }, "Tags": { "target": "com.amazonaws.servicecatalog#Tags", "traits": { @@ -2581,24 +2593,18 @@ "traits": { "smithy.api#documentation": "

Information about the associated budgets.

" } - }, - "ProvisioningArtifactSummaries": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactSummaries", - "traits": { - "smithy.api#documentation": "

Information about the provisioning artifacts (also known as versions) for the specified product.

" - } - }, - "ProductViewDetail": { - "target": "com.amazonaws.servicecatalog#ProductViewDetail", - "traits": { - "smithy.api#documentation": "

Information about the product view.

" - } } } }, "com.amazonaws.servicecatalog#DescribeProductInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -2610,24 +2616,12 @@ "traits": { "smithy.api#documentation": "

The product name.

" } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, "com.amazonaws.servicecatalog#DescribeProductOutput": { "type": "structure", "members": { - "LaunchPaths": { - "target": "com.amazonaws.servicecatalog#LaunchPaths", - "traits": { - "smithy.api#documentation": "

Information about the associated launch paths.

" - } - }, "ProductViewSummary": { "target": "com.amazonaws.servicecatalog#ProductViewSummary", "traits": { @@ -2645,6 +2639,12 @@ "traits": { "smithy.api#documentation": "

Information about the associated budgets.

" } + }, + "LaunchPaths": { + "target": "com.amazonaws.servicecatalog#LaunchPaths", + "traits": { + "smithy.api#documentation": "

Information about the associated launch paths.

" + } } } }, @@ -2689,17 +2689,17 @@ "com.amazonaws.servicecatalog#DescribeProductViewOutput": { "type": "structure", "members": { - "ProvisioningArtifacts": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifacts", - "traits": { - "smithy.api#documentation": "

Information about the provisioning artifacts for the product.

" - } - }, "ProductViewSummary": { "target": "com.amazonaws.servicecatalog#ProductViewSummary", "traits": { "smithy.api#documentation": "

Summary information about the product.

" } + }, + "ProvisioningArtifacts": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifacts", + "traits": { + "smithy.api#documentation": "

Information about the provisioning artifacts for the product.

" + } } } }, @@ -2789,16 +2789,10 @@ "com.amazonaws.servicecatalog#DescribeProvisionedProductPlanInput": { "type": "structure", "members": { - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" - } - }, - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + "smithy.api#documentation": "

The language code.

\n " } }, "PlanId": { @@ -2808,10 +2802,16 @@ "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The maximum number of items to return with this call.

" + } + }, + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } } } @@ -2862,6 +2862,18 @@ "com.amazonaws.servicecatalog#DescribeProvisioningArtifactInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, + "ProvisioningArtifactId": { + "target": "com.amazonaws.servicecatalog#Id", + "traits": { + "smithy.api#documentation": "

The identifier of the provisioning artifact.

" + } + }, "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -2874,28 +2886,16 @@ "smithy.api#documentation": "

The provisioning artifact name.

" } }, - "Verbose": { - "target": "com.amazonaws.servicecatalog#Verbose", - "traits": { - "smithy.api#documentation": "

Indicates whether a verbose level of detail is enabled.

" - } - }, "ProductName": { "target": "com.amazonaws.servicecatalog#ProductViewName", "traits": { "smithy.api#documentation": "

The product name.

" } }, - "ProvisioningArtifactId": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact.

" - } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "Verbose": { + "target": "com.amazonaws.servicecatalog#Verbose", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

Indicates whether a verbose level of detail is enabled.

" } } } @@ -2909,17 +2909,17 @@ "smithy.api#documentation": "

Information about the provisioning artifact.

" } }, - "Status": { - "target": "com.amazonaws.servicecatalog#Status", - "traits": { - "smithy.api#documentation": "

The status of the current request.

" - } - }, "Info": { "target": "com.amazonaws.servicecatalog#ProvisioningArtifactInfo", "traits": { "smithy.api#documentation": "

The URL of the CloudFormation template in Amazon S3.

" } + }, + "Status": { + "target": "com.amazonaws.servicecatalog#Status", + "traits": { + "smithy.api#documentation": "

The status of the current request.

" + } } } }, @@ -2946,16 +2946,16 @@ "com.amazonaws.servicecatalog#DescribeProvisioningParametersInput": { "type": "structure", "members": { - "ProductId": { - "target": "com.amazonaws.servicecatalog#Id", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The product identifier. You must provide the product name or ID, but not both.

" + "smithy.api#documentation": "

The language code.

\n " } }, - "ProvisioningArtifactName": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", + "ProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The name of the provisioning artifact. You must provide the name or ID, but not both.

" + "smithy.api#documentation": "

The product identifier. You must provide the product name or ID, but not both.

" } }, "ProductName": { @@ -2964,28 +2964,28 @@ "smithy.api#documentation": "

The name of the product. You must provide the name or ID, but not both.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "ProvisioningArtifactId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The identifier of the provisioning artifact. You must provide the name or ID, but not both.

" } }, - "PathName": { - "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", + "ProvisioningArtifactName": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", "traits": { - "smithy.api#documentation": "

The name of the path. You must provide the name or ID, but not both.

" + "smithy.api#documentation": "

The name of the provisioning artifact. You must provide the name or ID, but not both.

" } }, - "ProvisioningArtifactId": { + "PathId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact. You must provide the name or ID, but not both.

" + "smithy.api#documentation": "

The path identifier of the product. This value is optional if the product \n has a default path, and required if the product has more than one path.\n To list the paths for a product, use ListLaunchPaths. You must provide the name or ID, but not both.

" } }, - "PathId": { - "target": "com.amazonaws.servicecatalog#Id", + "PathName": { + "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", "traits": { - "smithy.api#documentation": "

The path identifier of the product. This value is optional if the product \n has a default path, and required if the product has more than one path.\n To list the paths for a product, use ListLaunchPaths. You must provide the name or ID, but not both.

" + "smithy.api#documentation": "

The name of the path. You must provide the name or ID, but not both.

" } } } @@ -2993,12 +2993,6 @@ "com.amazonaws.servicecatalog#DescribeProvisioningParametersOutput": { "type": "structure", "members": { - "ProvisioningArtifactPreferences": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactPreferences", - "traits": { - "smithy.api#documentation": "

An object that contains information about preferences, such as regions and accounts, for the provisioning artifact.

" - } - }, "ProvisioningArtifactParameters": { "target": "com.amazonaws.servicecatalog#ProvisioningArtifactParameters", "traits": { @@ -3023,6 +3017,12 @@ "smithy.api#documentation": "

Information about the TagOptions associated with the resource.

" } }, + "ProvisioningArtifactPreferences": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactPreferences", + "traits": { + "smithy.api#documentation": "

An object that contains information about preferences, such as regions and accounts, for the provisioning artifact.

" + } + }, "ProvisioningArtifactOutputs": { "target": "com.amazonaws.servicecatalog#ProvisioningArtifactOutputs", "traits": { @@ -3051,10 +3051,10 @@ "com.amazonaws.servicecatalog#DescribeRecordInput": { "type": "structure", "members": { - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" + "smithy.api#documentation": "

The language code.

\n " } }, "Id": { @@ -3070,10 +3070,10 @@ "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The maximum number of items to return with this call.

" } } } @@ -3081,12 +3081,6 @@ "com.amazonaws.servicecatalog#DescribeRecordOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "RecordDetail": { "target": "com.amazonaws.servicecatalog#RecordDetail", "traits": { @@ -3098,6 +3092,12 @@ "traits": { "smithy.api#documentation": "

Information about the product created as the result of a request. For example, the output for \n a CloudFormation-backed product that creates an S3 bucket would include the S3 bucket URL.

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -3148,18 +3148,18 @@ "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "ServiceActionId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The self-service action identifier.

", "smithy.api#required": {} } + }, + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } } } }, @@ -3177,18 +3177,18 @@ "com.amazonaws.servicecatalog#DescribeServiceActionInput": { "type": "structure", "members": { - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The self-service action identifier.

", "smithy.api#required": {} } + }, + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } } } }, @@ -3405,17 +3405,17 @@ "smithy.api#documentation": "

The language code.

\n " } }, - "PortfolioId": { + "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The portfolio identifier.

", + "smithy.api#documentation": "

The product identifier.

", "smithy.api#required": {} } }, - "ProductId": { + "PortfolioId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The product identifier.

", + "smithy.api#documentation": "

The portfolio identifier.

", "smithy.api#required": {} } } @@ -3445,23 +3445,17 @@ "com.amazonaws.servicecatalog#DisassociateServiceActionFromProvisioningArtifactInput": { "type": "structure", "members": { - "ProvisioningArtifactId": { + "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

", + "smithy.api#documentation": "

The product identifier. For example, prod-abcdzk7xy33qa.

", "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, - "ProductId": { + "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The product identifier. For example, prod-abcdzk7xy33qa.

", + "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

", "smithy.api#required": {} } }, @@ -3471,6 +3465,12 @@ "smithy.api#documentation": "

The self-service action identifier. For example, act-fs7abcd89wxyz.

", "smithy.api#required": {} } + }, + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } } } }, @@ -3501,14 +3501,6 @@ "com.amazonaws.servicecatalog#DisassociateTagOptionFromResourceInput": { "type": "structure", "members": { - "TagOptionId": { - "target": "com.amazonaws.servicecatalog#TagOptionId", - "traits": { - "smithy.api#documentation": "

The TagOption identifier.

", - "smithy.api#httpQuery": "tagOptionId", - "smithy.api#required": {} - } - }, "ResourceId": { "target": "com.amazonaws.servicecatalog#ResourceId", "traits": { @@ -3516,6 +3508,14 @@ "smithy.api#httpQuery": "resourceId", "smithy.api#required": {} } + }, + "TagOptionId": { + "target": "com.amazonaws.servicecatalog#TagOptionId", + "traits": { + "smithy.api#documentation": "

The TagOption identifier.

", + "smithy.api#httpQuery": "tagOptionId", + "smithy.api#required": {} + } } } }, @@ -3631,18 +3631,18 @@ "smithy.api#documentation": "

The language code.

\n " } }, - "IdempotencyToken": { - "target": "com.amazonaws.servicecatalog#IdempotencyToken", + "PlanId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", - "smithy.api#idempotencyToken": {}, + "smithy.api#documentation": "

The plan identifier.

", "smithy.api#required": {} } }, - "PlanId": { - "target": "com.amazonaws.servicecatalog#Id", + "IdempotencyToken": { + "target": "com.amazonaws.servicecatalog#IdempotencyToken", "traits": { - "smithy.api#documentation": "

The plan identifier.

", + "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

", + "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } } @@ -3685,12 +3685,6 @@ "com.amazonaws.servicecatalog#ExecuteProvisionedProductServiceActionInput": { "type": "structure", "members": { - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "ProvisionedProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -3705,12 +3699,6 @@ "smithy.api#required": {} } }, - "Parameters": { - "target": "com.amazonaws.servicecatalog#ExecutionParameterMap", - "traits": { - "smithy.api#documentation": "

A map of all self-service action parameters and their values. If a provided parameter is of a special type, such as TARGET, the provided value will \n override the default value generated by AWS Service Catalog. If the parameters field is not provided, no additional parameters are passed and default values will be used for \n any special parameters such as TARGET.

" - } - }, "ExecuteToken": { "target": "com.amazonaws.servicecatalog#IdempotencyToken", "traits": { @@ -3718,6 +3706,18 @@ "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } + }, + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, + "Parameters": { + "target": "com.amazonaws.servicecatalog#ExecutionParameterMap", + "traits": { + "smithy.api#documentation": "

A map of all self-service action parameters and their values. If a provided parameter is of a special type, such as TARGET, the provided value will \n override the default value generated by AWS Service Catalog. If the parameters field is not provided, no additional parameters are passed and default values will be used for \n any special parameters such as TARGET.

" + } } } }, @@ -3735,18 +3735,18 @@ "com.amazonaws.servicecatalog#ExecutionParameter": { "type": "structure", "members": { - "Type": { - "target": "com.amazonaws.servicecatalog#ExecutionParameterType", - "traits": { - "smithy.api#documentation": "

The execution parameter type.

" - } - }, "Name": { "target": "com.amazonaws.servicecatalog#ExecutionParameterKey", "traits": { "smithy.api#documentation": "

The name of the execution parameter.

" } }, + "Type": { + "target": "com.amazonaws.servicecatalog#ExecutionParameterType", + "traits": { + "smithy.api#documentation": "

The execution parameter type.

" + } + }, "DefaultValues": { "target": "com.amazonaws.servicecatalog#ExecutionParameterValueList", "traits": { @@ -3821,16 +3821,10 @@ "com.amazonaws.servicecatalog#FailedServiceActionAssociation": { "type": "structure", "members": { - "ErrorCode": { - "target": "com.amazonaws.servicecatalog#ServiceActionAssociationErrorCode", - "traits": { - "smithy.api#documentation": "

The error code. Valid values are listed below.

" - } - }, - "ErrorMessage": { - "target": "com.amazonaws.servicecatalog#ServiceActionAssociationErrorMessage", + "ServiceActionId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

A text description of the error.

" + "smithy.api#documentation": "

The self-service action identifier. For example, act-fs7abcd89wxyz.

" } }, "ProductId": { @@ -3839,16 +3833,22 @@ "smithy.api#documentation": "

The product identifier. For example, prod-abcdzk7xy33qa.

" } }, - "ServiceActionId": { + "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The self-service action identifier. For example, act-fs7abcd89wxyz.

" + "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

" } }, - "ProvisioningArtifactId": { - "target": "com.amazonaws.servicecatalog#Id", + "ErrorCode": { + "target": "com.amazonaws.servicecatalog#ServiceActionAssociationErrorCode", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

" + "smithy.api#documentation": "

The error code. Valid values are listed below.

" + } + }, + "ErrorMessage": { + "target": "com.amazonaws.servicecatalog#ServiceActionAssociationErrorMessage", + "traits": { + "smithy.api#documentation": "

A text description of the error.

" } } }, @@ -3931,10 +3931,10 @@ "com.amazonaws.servicecatalog#GetProvisionedProductOutputsInput": { "type": "structure", "members": { - "ProvisionedProductName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductName", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The name of the provisioned product that you want the outputs from.

" + "smithy.api#documentation": "

The language code.

\n " } }, "ProvisionedProductId": { @@ -3943,6 +3943,12 @@ "smithy.api#documentation": "

The identifier of the provisioned product that you want the outputs from.

" } }, + "ProvisionedProductName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductName", + "traits": { + "smithy.api#documentation": "

The name of the provisioned product that you want the outputs from.

" + } + }, "OutputKeys": { "target": "com.amazonaws.servicecatalog#OutputKeys", "traits": { @@ -3960,29 +3966,23 @@ "traits": { "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, "com.amazonaws.servicecatalog#GetProvisionedProductOutputsOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "Outputs": { "target": "com.amazonaws.servicecatalog#RecordOutputs", "traits": { "smithy.api#documentation": "

Information about the product created as the result of a request. For example, the output for a CloudFormation-backed product that creates an S3 bucket would include the S3 bucket URL.\n

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -4048,17 +4048,17 @@ "com.amazonaws.servicecatalog#LaunchPath": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.servicecatalog#PortfolioName", - "traits": { - "smithy.api#documentation": "

The name of the launch path.

" - } - }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The identifier of the launch path.

" } + }, + "Name": { + "target": "com.amazonaws.servicecatalog#PortfolioName", + "traits": { + "smithy.api#documentation": "

The name of the launch path.

" + } } }, "traits": { @@ -4080,12 +4080,6 @@ "smithy.api#documentation": "

The identifier of the product path.

" } }, - "Name": { - "target": "com.amazonaws.servicecatalog#PortfolioName", - "traits": { - "smithy.api#documentation": "

The name of the portfolio to which the user was assigned.

" - } - }, "ConstraintSummaries": { "target": "com.amazonaws.servicecatalog#ConstraintSummaries", "traits": { @@ -4097,6 +4091,12 @@ "traits": { "smithy.api#documentation": "

The tags associated with this product path.

" } + }, + "Name": { + "target": "com.amazonaws.servicecatalog#PortfolioName", + "traits": { + "smithy.api#documentation": "

The name of the portfolio to which the user was assigned.

" + } } }, "traits": { @@ -4149,12 +4149,6 @@ "com.amazonaws.servicecatalog#ListAcceptedPortfolioSharesInput": { "type": "structure", "members": { - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" - } - }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { @@ -4167,6 +4161,12 @@ "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } }, + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of items to return with this call.

" + } + }, "PortfolioShareType": { "target": "com.amazonaws.servicecatalog#PortfolioShareType", "traits": { @@ -4178,17 +4178,17 @@ "com.amazonaws.servicecatalog#ListAcceptedPortfolioSharesOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "PortfolioDetails": { "target": "com.amazonaws.servicecatalog#PortfolioDetails", "traits": { "smithy.api#documentation": "

Information about the portfolios.

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -4220,6 +4220,12 @@ "com.amazonaws.servicecatalog#ListBudgetsForResourceInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "ResourceId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -4238,29 +4244,23 @@ "traits": { "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, "com.amazonaws.servicecatalog#ListBudgetsForResourceOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "Budgets": { "target": "com.amazonaws.servicecatalog#Budgets", "traits": { "smithy.api#documentation": "

Information about the associated budgets.

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -4292,6 +4292,12 @@ "com.amazonaws.servicecatalog#ListConstraintsForPortfolioInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "PortfolioId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -4299,29 +4305,23 @@ "smithy.api#required": {} } }, - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" - } - }, "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The product identifier.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { "smithy.api#documentation": "

The maximum number of items to return with this call.

" } + }, + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + } } } }, @@ -4370,6 +4370,12 @@ "com.amazonaws.servicecatalog#ListLaunchPathsInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -4377,10 +4383,10 @@ "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, "PageToken": { @@ -4388,12 +4394,6 @@ "traits": { "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } - }, - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" - } } } }, @@ -4451,12 +4451,6 @@ "smithy.api#documentation": "

The language code.

\n " } }, - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" - } - }, "PortfolioId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -4471,6 +4465,12 @@ "smithy.api#required": {} } }, + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + } + }, "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { @@ -4482,17 +4482,17 @@ "com.amazonaws.servicecatalog#ListOrganizationPortfolioAccessOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "OrganizationNodes": { "target": "com.amazonaws.servicecatalog#OrganizationNodes", "traits": { "smithy.api#documentation": "

Displays information about the organization nodes.

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -4524,6 +4524,19 @@ "com.amazonaws.servicecatalog#ListPortfolioAccessInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, + "PortfolioId": { + "target": "com.amazonaws.servicecatalog#Id", + "traits": { + "smithy.api#documentation": "

The portfolio identifier.

", + "smithy.api#required": {} + } + }, "OrganizationParentId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -4536,24 +4549,11 @@ "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { "smithy.api#documentation": "

The maximum number of items to return with this call.

" } - }, - "PortfolioId": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The portfolio identifier.

", - "smithy.api#required": {} - } } } }, @@ -4624,12 +4624,6 @@ "com.amazonaws.servicecatalog#ListPortfoliosForProductInput": { "type": "structure", "members": { - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" - } - }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { @@ -4643,6 +4637,12 @@ "smithy.api#required": {} } }, + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + } + }, "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { @@ -4671,6 +4671,12 @@ "com.amazonaws.servicecatalog#ListPortfoliosInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "PageToken": { "target": "com.amazonaws.servicecatalog#PageToken", "traits": { @@ -4682,12 +4688,6 @@ "traits": { "smithy.api#documentation": "

The maximum number of items to return with this call.

" } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, @@ -4736,10 +4736,10 @@ "com.amazonaws.servicecatalog#ListPrincipalsForPortfolioInput": { "type": "structure", "members": { - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" + "smithy.api#documentation": "

The language code.

\n " } }, "PortfolioId": { @@ -4749,10 +4749,10 @@ "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, "PageToken": { @@ -4766,17 +4766,17 @@ "com.amazonaws.servicecatalog#ListPrincipalsForPortfolioOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "Principals": { "target": "com.amazonaws.servicecatalog#Principals", "traits": { "smithy.api#documentation": "

The IAM principals (users or roles) associated with the portfolio.

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -4803,22 +4803,22 @@ "com.amazonaws.servicecatalog#ListProvisionedProductPlansInput": { "type": "structure", "members": { - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" + "smithy.api#documentation": "

The language code.

\n " } }, - "AccessLevelFilter": { - "target": "com.amazonaws.servicecatalog#AccessLevelFilter", + "ProvisionProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The access level to use to obtain results. The default is User.

" + "smithy.api#documentation": "

The product identifier.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, "PageToken": { @@ -4827,10 +4827,10 @@ "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } }, - "ProvisionProductId": { - "target": "com.amazonaws.servicecatalog#Id", + "AccessLevelFilter": { + "target": "com.amazonaws.servicecatalog#AccessLevelFilter", "traits": { - "smithy.api#documentation": "

The product identifier.

" + "smithy.api#documentation": "

The access level to use to obtain results. The default is User.

" } } } @@ -4838,17 +4838,17 @@ "com.amazonaws.servicecatalog#ListProvisionedProductPlansOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "ProvisionedProductPlans": { "target": "com.amazonaws.servicecatalog#ProvisionedProductPlans", "traits": { "smithy.api#documentation": "

Information about the plans.

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -4900,18 +4900,6 @@ "com.amazonaws.servicecatalog#ListProvisioningArtifactsForServiceActionInput": { "type": "structure", "members": { - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" - } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "ServiceActionId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -4924,6 +4912,18 @@ "traits": { "smithy.api#documentation": "

The maximum number of items to return with this call.

" } + }, + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + } + }, + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } } } }, @@ -4965,17 +4965,17 @@ "com.amazonaws.servicecatalog#ListProvisioningArtifactsOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "ProvisioningArtifactDetails": { "target": "com.amazonaws.servicecatalog#ProvisioningArtifactDetails", "traits": { "smithy.api#documentation": "

Information about the provisioning artifacts.

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -5005,6 +5005,12 @@ "smithy.api#documentation": "

The language code.

\n " } }, + "AccessLevelFilter": { + "target": "com.amazonaws.servicecatalog#AccessLevelFilter", + "traits": { + "smithy.api#documentation": "

The access level to use to obtain results. The default is User.

" + } + }, "SearchFilter": { "target": "com.amazonaws.servicecatalog#ListRecordHistorySearchFilter", "traits": { @@ -5017,12 +5023,6 @@ "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, - "AccessLevelFilter": { - "target": "com.amazonaws.servicecatalog#AccessLevelFilter", - "traits": { - "smithy.api#documentation": "

The access level to use to obtain results. The default is User.

" - } - }, "PageToken": { "target": "com.amazonaws.servicecatalog#PageToken", "traits": { @@ -5051,17 +5051,17 @@ "com.amazonaws.servicecatalog#ListRecordHistorySearchFilter": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.servicecatalog#SearchFilterValue", - "traits": { - "smithy.api#documentation": "

The filter value.

" - } - }, "Key": { "target": "com.amazonaws.servicecatalog#SearchFilterKey", "traits": { "smithy.api#documentation": "

The filter key.

\n " } + }, + "Value": { + "target": "com.amazonaws.servicecatalog#SearchFilterValue", + "traits": { + "smithy.api#documentation": "

The filter value.

" + } } }, "traits": { @@ -5107,13 +5107,6 @@ "smithy.api#required": {} } }, - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

", - "smithy.api#httpQuery": "pageSize" - } - }, "ResourceType": { "target": "com.amazonaws.servicecatalog#ResourceType", "traits": { @@ -5121,6 +5114,13 @@ "smithy.api#httpQuery": "resourceType" } }, + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of items to return with this call.

", + "smithy.api#httpQuery": "pageSize" + } + }, "PageToken": { "target": "com.amazonaws.servicecatalog#PageToken", "traits": { @@ -5133,17 +5133,17 @@ "com.amazonaws.servicecatalog#ListResourcesForTagOptionOutput": { "type": "structure", "members": { - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" - } - }, "ResourceDetails": { "target": "com.amazonaws.servicecatalog#ResourceDetails", "traits": { "smithy.api#documentation": "

Information about the resources.

" } + }, + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + } } } }, @@ -5197,12 +5197,6 @@ "com.amazonaws.servicecatalog#ListServiceActionsForProvisioningArtifactInput": { "type": "structure", "members": { - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" - } - }, "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -5210,12 +5204,6 @@ "smithy.api#required": {} } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } - }, "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -5223,11 +5211,23 @@ "smithy.api#required": {} } }, + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of items to return with this call.

" + } + }, "PageToken": { "target": "com.amazonaws.servicecatalog#PageToken", "traits": { "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } + }, + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } } } }, @@ -5257,34 +5257,34 @@ "smithy.api#documentation": "

The language code.

\n " } }, - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" - } - }, "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { "smithy.api#documentation": "

The maximum number of items to return with this call.

" } + }, + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + } } } }, "com.amazonaws.servicecatalog#ListServiceActionsOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "ServiceActionSummaries": { "target": "com.amazonaws.servicecatalog#ServiceActionSummaries", "traits": { "smithy.api#documentation": "

An object containing information about the service actions associated with the provisioning artifact.

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -5311,10 +5311,10 @@ "com.amazonaws.servicecatalog#ListStackInstancesForProvisionedProductInput": { "type": "structure", "members": { - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + "smithy.api#documentation": "

The language code.

\n " } }, "ProvisionedProductId": { @@ -5324,16 +5324,16 @@ "smithy.api#required": {} } }, - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The maximum number of items to return with this call.

" } } } @@ -5341,17 +5341,17 @@ "com.amazonaws.servicecatalog#ListStackInstancesForProvisionedProductOutput": { "type": "structure", "members": { - "NextPageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" - } - }, "StackInstances": { "target": "com.amazonaws.servicecatalog#StackInstances", "traits": { "smithy.api#documentation": "

List of stack instances.

" } + }, + "NextPageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

" + } } } }, @@ -5389,17 +5389,17 @@ "smithy.api#documentation": "

The TagOption key.

" } }, - "Active": { - "target": "com.amazonaws.servicecatalog#TagOptionActive", - "traits": { - "smithy.api#documentation": "

The active state.

" - } - }, "Value": { "target": "com.amazonaws.servicecatalog#TagOptionValue", "traits": { "smithy.api#documentation": "

The TagOption value.

" } + }, + "Active": { + "target": "com.amazonaws.servicecatalog#TagOptionActive", + "traits": { + "smithy.api#documentation": "

The active state.

" + } } }, "traits": { @@ -5409,10 +5409,10 @@ "com.amazonaws.servicecatalog#ListTagOptionsInput": { "type": "structure", "members": { - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", + "Filters": { + "target": "com.amazonaws.servicecatalog#ListTagOptionsFilters", "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + "smithy.api#documentation": "

The search filters. If no search filters are specified, the output includes all TagOptions.

" } }, "PageSize": { @@ -5421,10 +5421,10 @@ "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, - "Filters": { - "target": "com.amazonaws.servicecatalog#ListTagOptionsFilters", + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", "traits": { - "smithy.api#documentation": "

The search filters. If no search filters are specified, the output includes all TagOptions.

" + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } } } @@ -5498,17 +5498,17 @@ "com.amazonaws.servicecatalog#OrganizationNode": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.servicecatalog#OrganizationNodeValue", - "traits": { - "smithy.api#documentation": "

The identifier of the organization node.

" - } - }, "Type": { "target": "com.amazonaws.servicecatalog#OrganizationNodeType", "traits": { "smithy.api#documentation": "

The organization node type.

" } + }, + "Value": { + "target": "com.amazonaws.servicecatalog#OrganizationNodeValue", + "traits": { + "smithy.api#documentation": "

The identifier of the organization node.

" + } } }, "traits": { @@ -5663,12 +5663,6 @@ "com.amazonaws.servicecatalog#PortfolioDetail": { "type": "structure", "members": { - "DisplayName": { - "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", - "traits": { - "smithy.api#documentation": "

The name to use for display purposes.

" - } - }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -5681,10 +5675,10 @@ "smithy.api#documentation": "

The ARN assigned to the portfolio.

" } }, - "ProviderName": { - "target": "com.amazonaws.servicecatalog#ProviderName", + "DisplayName": { + "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", "traits": { - "smithy.api#documentation": "

The name of the portfolio provider.

" + "smithy.api#documentation": "

The name to use for display purposes.

" } }, "Description": { @@ -5698,6 +5692,12 @@ "traits": { "smithy.api#documentation": "

The UTC time stamp of the creation time.

" } + }, + "ProviderName": { + "target": "com.amazonaws.servicecatalog#ProviderName", + "traits": { + "smithy.api#documentation": "

The name of the portfolio provider.

" + } } }, "traits": { @@ -5744,17 +5744,17 @@ "com.amazonaws.servicecatalog#Principal": { "type": "structure", "members": { - "PrincipalType": { - "target": "com.amazonaws.servicecatalog#PrincipalType", - "traits": { - "smithy.api#documentation": "

The principal type. The supported value is IAM.

" - } - }, "PrincipalARN": { "target": "com.amazonaws.servicecatalog#PrincipalARN", "traits": { "smithy.api#documentation": "

The ARN of the principal (IAM user, role, or group).

" } + }, + "PrincipalType": { + "target": "com.amazonaws.servicecatalog#PrincipalType", + "traits": { + "smithy.api#documentation": "

The principal type. The supported value is IAM.

" + } } }, "traits": { @@ -5868,10 +5868,10 @@ "com.amazonaws.servicecatalog#ProductViewDetail": { "type": "structure", "members": { - "ProductARN": { - "target": "com.amazonaws.servicecatalog#ResourceARN", + "ProductViewSummary": { + "target": "com.amazonaws.servicecatalog#ProductViewSummary", "traits": { - "smithy.api#documentation": "

The ARN of the product.

" + "smithy.api#documentation": "

Summary information about the product view.

" } }, "Status": { @@ -5880,16 +5880,16 @@ "smithy.api#documentation": "

The status of the product.

\n " } }, - "CreatedTime": { - "target": "com.amazonaws.servicecatalog#CreatedTime", + "ProductARN": { + "target": "com.amazonaws.servicecatalog#ResourceARN", "traits": { - "smithy.api#documentation": "

The UTC time stamp of the creation time.

" + "smithy.api#documentation": "

The ARN of the product.

" } }, - "ProductViewSummary": { - "target": "com.amazonaws.servicecatalog#ProductViewSummary", + "CreatedTime": { + "target": "com.amazonaws.servicecatalog#CreatedTime", "traits": { - "smithy.api#documentation": "

Summary information about the product view.

" + "smithy.api#documentation": "

The UTC time stamp of the creation time.

" } } }, @@ -6002,28 +6002,16 @@ "com.amazonaws.servicecatalog#ProductViewSummary": { "type": "structure", "members": { - "Distributor": { - "target": "com.amazonaws.servicecatalog#ProductViewDistributor", - "traits": { - "smithy.api#documentation": "

The distributor of the product. Contact the product administrator for the\n significance of this value.

" - } - }, - "SupportEmail": { - "target": "com.amazonaws.servicecatalog#SupportEmail", - "traits": { - "smithy.api#documentation": "

The email contact information to obtain support for this Product.

" - } - }, - "Type": { - "target": "com.amazonaws.servicecatalog#ProductType", + "Id": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The product type. Contact the product administrator for the significance of this\n value. If this value is MARKETPLACE, the product was created by AWS\n Marketplace.

" + "smithy.api#documentation": "

The product view identifier.

" } }, - "SupportUrl": { - "target": "com.amazonaws.servicecatalog#SupportUrl", + "ProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The URL information to obtain support for this Product.

" + "smithy.api#documentation": "

The product identifier.

" } }, "Name": { @@ -6032,16 +6020,28 @@ "smithy.api#documentation": "

The name of the product.

" } }, + "Owner": { + "target": "com.amazonaws.servicecatalog#ProductViewOwner", + "traits": { + "smithy.api#documentation": "

The owner of the product. Contact the product administrator for the significance of\n this value.

" + } + }, "ShortDescription": { "target": "com.amazonaws.servicecatalog#ProductViewShortDescription", "traits": { "smithy.api#documentation": "

Short description of the product.

" } }, - "SupportDescription": { - "target": "com.amazonaws.servicecatalog#SupportDescription", + "Type": { + "target": "com.amazonaws.servicecatalog#ProductType", "traits": { - "smithy.api#documentation": "

The description of the support for this Product.

" + "smithy.api#documentation": "

The product type. Contact the product administrator for the significance of this\n value. If this value is MARKETPLACE, the product was created by AWS\n Marketplace.

" + } + }, + "Distributor": { + "target": "com.amazonaws.servicecatalog#ProductViewDistributor", + "traits": { + "smithy.api#documentation": "

The distributor of the product. Contact the product administrator for the\n significance of this value.

" } }, "HasDefaultPath": { @@ -6050,22 +6050,22 @@ "smithy.api#documentation": "

Indicates whether the product has a default path.\n If the product does not have a default path, call ListLaunchPaths \n to disambiguate between paths. Otherwise, ListLaunchPaths is not \n required, and the output of ProductViewSummary can be used directly with \n DescribeProvisioningParameters.

" } }, - "Id": { - "target": "com.amazonaws.servicecatalog#Id", + "SupportEmail": { + "target": "com.amazonaws.servicecatalog#SupportEmail", "traits": { - "smithy.api#documentation": "

The product view identifier.

" + "smithy.api#documentation": "

The email contact information to obtain support for this Product.

" } }, - "ProductId": { - "target": "com.amazonaws.servicecatalog#Id", + "SupportDescription": { + "target": "com.amazonaws.servicecatalog#SupportDescription", "traits": { - "smithy.api#documentation": "

The product identifier.

" + "smithy.api#documentation": "

The description of the support for this Product.

" } }, - "Owner": { - "target": "com.amazonaws.servicecatalog#ProductViewOwner", + "SupportUrl": { + "target": "com.amazonaws.servicecatalog#SupportUrl", "traits": { - "smithy.api#documentation": "

The owner of the product. Contact the product administrator for the significance of\n this value.

" + "smithy.api#documentation": "

The URL information to obtain support for this Product.

" } } }, @@ -6099,7 +6099,7 @@ "type": "string", "traits": { "smithy.api#length": { - "min": 1, + "min": 0, "max": 1024 } } @@ -6139,34 +6139,53 @@ "com.amazonaws.servicecatalog#ProvisionProductInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The product identifier. You must provide the name or ID, but not both.

" } }, + "ProductName": { + "target": "com.amazonaws.servicecatalog#ProductViewName", + "traits": { + "smithy.api#documentation": "

The name of the product. You must provide the name or ID, but not both.

" + } + }, + "ProvisioningArtifactId": { + "target": "com.amazonaws.servicecatalog#Id", + "traits": { + "smithy.api#documentation": "

The identifier of the provisioning artifact. You must provide the name or ID, but not both.

" + } + }, "ProvisioningArtifactName": { "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", "traits": { "smithy.api#documentation": "

The name of the provisioning artifact. You must provide the name or ID, but not both.

" } }, - "PathName": { - "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", + "PathId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The name of the path. You must provide the name or ID, but not both.

" + "smithy.api#documentation": "

The path identifier of the product. This value is optional if the product \n has a default path, and required if the product has more than one path.\n To list the paths for a product, use ListLaunchPaths. You must provide the name or ID, but not both.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PathName": { + "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The name of the path. You must provide the name or ID, but not both.

" } }, - "ProvisioningPreferences": { - "target": "com.amazonaws.servicecatalog#ProvisioningPreferences", + "ProvisionedProductName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductName", "traits": { - "smithy.api#documentation": "

An object that contains information about the provisioning preferences for a stack set.

" + "smithy.api#documentation": "

A user-friendly name for the provisioned product. This value must be\n unique for the AWS account and cannot be updated after the product is provisioned.

", + "smithy.api#required": {} } }, "ProvisioningParameters": { @@ -6175,29 +6194,22 @@ "smithy.api#documentation": "

Parameters specified by the administrator that are required for provisioning the\n product.

" } }, - "Tags": { - "target": "com.amazonaws.servicecatalog#Tags", - "traits": { - "smithy.api#documentation": "

One or more tags.

" - } - }, - "ProvisioningArtifactId": { - "target": "com.amazonaws.servicecatalog#Id", + "ProvisioningPreferences": { + "target": "com.amazonaws.servicecatalog#ProvisioningPreferences", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact. You must provide the name or ID, but not both.

" + "smithy.api#documentation": "

An object that contains information about the provisioning preferences for a stack set.

" } }, - "ProvisionedProductName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductName", + "Tags": { + "target": "com.amazonaws.servicecatalog#Tags", "traits": { - "smithy.api#documentation": "

A user-friendly name for the provisioned product. This value must be\n unique for the AWS account and cannot be updated after the product is provisioned.

", - "smithy.api#required": {} + "smithy.api#documentation": "

One or more tags.

" } }, - "ProductName": { - "target": "com.amazonaws.servicecatalog#ProductViewName", + "NotificationArns": { + "target": "com.amazonaws.servicecatalog#NotificationArns", "traits": { - "smithy.api#documentation": "

The name of the product. You must provide the name or ID, but not both.

" + "smithy.api#documentation": "

Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related\n events.

" } }, "ProvisionToken": { @@ -6207,18 +6219,6 @@ "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } - }, - "NotificationArns": { - "target": "com.amazonaws.servicecatalog#NotificationArns", - "traits": { - "smithy.api#documentation": "

Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related\n events.

" - } - }, - "PathId": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The path identifier of the product. This value is optional if the product \n has a default path, and required if the product has more than one path.\n To list the paths for a product, use ListLaunchPaths. You must provide the name or ID, but not both.

" - } } } }, @@ -6236,34 +6236,46 @@ "com.amazonaws.servicecatalog#ProvisionedProductAttribute": { "type": "structure", "members": { - "ProvisioningArtifactName": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", + "Name": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", "traits": { - "smithy.api#documentation": "

The name of the provisioning artifact.

" + "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" } }, - "ProductId": { + "Arn": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", + "traits": { + "smithy.api#documentation": "

The ARN of the provisioned product.

" + } + }, + "Type": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductType", + "traits": { + "smithy.api#documentation": "

The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

" + } + }, + "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The product identifier.

" + "smithy.api#documentation": "

The identifier of the provisioned product.

" } }, - "PhysicalId": { - "target": "com.amazonaws.servicecatalog#PhysicalId", + "Status": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductStatus", "traits": { - "smithy.api#documentation": "

The assigned identifier for the resource, such as an EC2 instance ID or an S3 bucket name.

" + "smithy.api#documentation": "

The current status of the provisioned product.

\n " } }, - "UserArnSession": { - "target": "com.amazonaws.servicecatalog#UserArnSession", + "StatusMessage": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductStatusMessage", "traits": { - "smithy.api#documentation": "

The ARN of the IAM user in the session. This ARN might contain a session ID.

" + "smithy.api#documentation": "

The current status message of the provisioned product.

" } }, - "Type": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductType", + "CreatedTime": { + "target": "com.amazonaws.servicecatalog#CreatedTime", "traits": { - "smithy.api#documentation": "

The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

" + "smithy.api#documentation": "

The UTC time stamp of the creation time.

" } }, "IdempotencyToken": { @@ -6272,58 +6284,58 @@ "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

" } }, - "Tags": { - "target": "com.amazonaws.servicecatalog#Tags", + "LastRecordId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

One or more tags.

" + "smithy.api#documentation": "

The record identifier of the last request performed on this provisioned product.

" } }, - "LastRecordId": { + "LastProvisioningRecordId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The record identifier of the last request performed on this provisioned product.

" + "smithy.api#documentation": "

The record identifier of the last request performed on this provisioned product of the following types:

\n " } }, - "ProvisioningArtifactId": { + "LastSuccessfulProvisioningRecordId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact.

" + "smithy.api#documentation": "

The record identifier of the last successful request performed on this provisioned product of the following types:

\n " } }, - "Arn": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", + "Tags": { + "target": "com.amazonaws.servicecatalog#Tags", "traits": { - "smithy.api#documentation": "

The ARN of the provisioned product.

" + "smithy.api#documentation": "

One or more tags.

" } }, - "ProductName": { - "target": "com.amazonaws.servicecatalog#ProductViewName", + "PhysicalId": { + "target": "com.amazonaws.servicecatalog#PhysicalId", "traits": { - "smithy.api#documentation": "

The name of the product.

" + "smithy.api#documentation": "

The assigned identifier for the resource, such as an EC2 instance ID or an S3 bucket name.

" } }, - "LastSuccessfulProvisioningRecordId": { + "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The record identifier of the last successful request performed on this provisioned product of the following types:

\n " + "smithy.api#documentation": "

The product identifier.

" } }, - "Id": { - "target": "com.amazonaws.servicecatalog#Id", + "ProductName": { + "target": "com.amazonaws.servicecatalog#ProductViewName", "traits": { - "smithy.api#documentation": "

The identifier of the provisioned product.

" + "smithy.api#documentation": "

The name of the product.

" } }, - "CreatedTime": { - "target": "com.amazonaws.servicecatalog#CreatedTime", + "ProvisioningArtifactId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The UTC time stamp of the creation time.

" + "smithy.api#documentation": "

The identifier of the provisioning artifact.

" } }, - "Status": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductStatus", + "ProvisioningArtifactName": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", "traits": { - "smithy.api#documentation": "

The current status of the provisioned product.

\n " + "smithy.api#documentation": "

The name of the provisioning artifact.

" } }, "UserArn": { @@ -6332,22 +6344,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM user.

" } }, - "Name": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", - "traits": { - "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" - } - }, - "LastProvisioningRecordId": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The record identifier of the last request performed on this provisioned product of the following types:

\n " - } - }, - "StatusMessage": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductStatusMessage", + "UserArnSession": { + "target": "com.amazonaws.servicecatalog#UserArnSession", "traits": { - "smithy.api#documentation": "

The current status message of the provisioned product.

" + "smithy.api#documentation": "

The ARN of the IAM user in the session. This ARN might contain a session ID.

" } } }, @@ -6364,10 +6364,10 @@ "com.amazonaws.servicecatalog#ProvisionedProductDetail": { "type": "structure", "members": { - "CreatedTime": { - "target": "com.amazonaws.servicecatalog#CreatedTime", + "Name": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", "traits": { - "smithy.api#documentation": "

The UTC time stamp of the creation time.

" + "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" } }, "Arn": { @@ -6376,22 +6376,22 @@ "smithy.api#documentation": "

The ARN of the provisioned product.

" } }, - "Id": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductId", + "Type": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductType", "traits": { - "smithy.api#documentation": "

The identifier of the provisioned product.

" + "smithy.api#documentation": "

The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

" } }, - "LastRecordId": { - "target": "com.amazonaws.servicecatalog#LastRequestId", + "Id": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductId", "traits": { - "smithy.api#documentation": "

The record identifier of the last request performed on this provisioned product.

" + "smithy.api#documentation": "

The identifier of the provisioned product.

" } }, - "Name": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", + "Status": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductStatus", "traits": { - "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" + "smithy.api#documentation": "

The current status of the provisioned product.

\n " } }, "StatusMessage": { @@ -6400,52 +6400,52 @@ "smithy.api#documentation": "

The current status message of the provisioned product.

" } }, - "LastSuccessfulProvisioningRecordId": { - "target": "com.amazonaws.servicecatalog#Id", + "CreatedTime": { + "target": "com.amazonaws.servicecatalog#CreatedTime", "traits": { - "smithy.api#documentation": "

The record identifier of the last successful request performed on this provisioned product of the following types:

\n " + "smithy.api#documentation": "

The UTC time stamp of the creation time.

" } }, - "LastProvisioningRecordId": { - "target": "com.amazonaws.servicecatalog#Id", + "IdempotencyToken": { + "target": "com.amazonaws.servicecatalog#IdempotencyToken", "traits": { - "smithy.api#documentation": "

The record identifier of the last request performed on this provisioned product of the following types:

\n " + "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

" } }, - "Type": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductType", + "LastRecordId": { + "target": "com.amazonaws.servicecatalog#LastRequestId", "traits": { - "smithy.api#documentation": "

The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

" + "smithy.api#documentation": "

The record identifier of the last request performed on this provisioned product.

" } }, - "LaunchRoleArn": { - "target": "com.amazonaws.servicecatalog#RoleArn", + "LastProvisioningRecordId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The ARN of the launch role associated with the provisioned product.

" + "smithy.api#documentation": "

The record identifier of the last request performed on this provisioned product of the following types:

\n " } }, - "IdempotencyToken": { - "target": "com.amazonaws.servicecatalog#IdempotencyToken", + "LastSuccessfulProvisioningRecordId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,\n the same response is returned for each repeated request.

" + "smithy.api#documentation": "

The record identifier of the last successful request performed on this provisioned product of the following types:

\n " } }, - "ProvisioningArtifactId": { + "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

" + "smithy.api#documentation": "

The product identifier. For example, prod-abcdzk7xy33qa.

" } }, - "ProductId": { + "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The product identifier. For example, prod-abcdzk7xy33qa.

" + "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

" } }, - "Status": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductStatus", + "LaunchRoleArn": { + "target": "com.amazonaws.servicecatalog#RoleArn", "traits": { - "smithy.api#documentation": "

The current status of the provisioned product.

\n " + "smithy.api#documentation": "

The ARN of the launch role associated with the provisioned product.

" } } }, @@ -6494,46 +6494,46 @@ "com.amazonaws.servicecatalog#ProvisionedProductPlanDetails": { "type": "structure", "members": { - "NotificationArns": { - "target": "com.amazonaws.servicecatalog#NotificationArns", + "CreatedTime": { + "target": "com.amazonaws.servicecatalog#CreatedTime", "traits": { - "smithy.api#documentation": "

Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related\n events.

" + "smithy.api#documentation": "

The UTC time stamp of the creation time.

" } }, - "ProvisioningArtifactId": { + "PathId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact.

" + "smithy.api#documentation": "

The path identifier of the product. This value is optional if the product \n has a default path, and required if the product has more than one path.\n To list the paths for a product, use ListLaunchPaths.

" } }, - "StatusMessage": { - "target": "com.amazonaws.servicecatalog#StatusMessage", + "ProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The status message.

" + "smithy.api#documentation": "

The product identifier.

" } }, - "Tags": { - "target": "com.amazonaws.servicecatalog#Tags", + "PlanName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductPlanName", "traits": { - "smithy.api#documentation": "

One or more tags.

" + "smithy.api#documentation": "

The name of the plan.

" } }, - "ProvisionProductId": { + "PlanId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The product identifier.

" + "smithy.api#documentation": "

The plan identifier.

" } }, - "ProvisioningParameters": { - "target": "com.amazonaws.servicecatalog#UpdateProvisioningParameters", + "ProvisionProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

Parameters specified by the administrator that are required for provisioning the\n product.

" + "smithy.api#documentation": "

The product identifier.

" } }, - "UpdatedTime": { - "target": "com.amazonaws.servicecatalog#UpdatedTime", + "ProvisionProductName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductName", "traits": { - "smithy.api#documentation": "

The time when the plan was last updated.

" + "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" } }, "PlanType": { @@ -6542,10 +6542,10 @@ "smithy.api#documentation": "

The plan type.

" } }, - "ProvisionProductName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductName", + "ProvisioningArtifactId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" + "smithy.api#documentation": "

The identifier of the provisioning artifact.

" } }, "Status": { @@ -6554,34 +6554,34 @@ "smithy.api#documentation": "

The status.

" } }, - "PathId": { - "target": "com.amazonaws.servicecatalog#Id", + "UpdatedTime": { + "target": "com.amazonaws.servicecatalog#UpdatedTime", "traits": { - "smithy.api#documentation": "

The path identifier of the product. This value is optional if the product \n has a default path, and required if the product has more than one path.\n To list the paths for a product, use ListLaunchPaths.

" + "smithy.api#documentation": "

The time when the plan was last updated.

" } }, - "PlanId": { - "target": "com.amazonaws.servicecatalog#Id", + "NotificationArns": { + "target": "com.amazonaws.servicecatalog#NotificationArns", "traits": { - "smithy.api#documentation": "

The plan identifier.

" + "smithy.api#documentation": "

Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related\n events.

" } }, - "CreatedTime": { - "target": "com.amazonaws.servicecatalog#CreatedTime", + "ProvisioningParameters": { + "target": "com.amazonaws.servicecatalog#UpdateProvisioningParameters", "traits": { - "smithy.api#documentation": "

The UTC time stamp of the creation time.

" + "smithy.api#documentation": "

Parameters specified by the administrator that are required for provisioning the\n product.

" } }, - "PlanName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductPlanName", + "Tags": { + "target": "com.amazonaws.servicecatalog#Tags", "traits": { - "smithy.api#documentation": "

The name of the plan.

" + "smithy.api#documentation": "

One or more tags.

" } }, - "ProductId": { - "target": "com.amazonaws.servicecatalog#Id", + "StatusMessage": { + "target": "com.amazonaws.servicecatalog#StatusMessage", "traits": { - "smithy.api#documentation": "

The product identifier.

" + "smithy.api#documentation": "

The status message.

" } } }, @@ -6626,22 +6626,28 @@ "com.amazonaws.servicecatalog#ProvisionedProductPlanSummary": { "type": "structure", "members": { + "PlanName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductPlanName", + "traits": { + "smithy.api#documentation": "

The name of the plan.

" + } + }, "PlanId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The plan identifier.

" } }, - "ProvisionProductName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductName", + "ProvisionProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" + "smithy.api#documentation": "

The product identifier.

" } }, - "ProvisioningArtifactId": { - "target": "com.amazonaws.servicecatalog#Id", + "ProvisionProductName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductName", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact.

" + "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" } }, "PlanType": { @@ -6650,16 +6656,10 @@ "smithy.api#documentation": "

The plan type.

" } }, - "ProvisionProductId": { + "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The product identifier.

" - } - }, - "PlanName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductPlanName", - "traits": { - "smithy.api#documentation": "

The name of the plan.

" + "smithy.api#documentation": "

The identifier of the provisioning artifact.

" } } }, @@ -6755,22 +6755,22 @@ "com.amazonaws.servicecatalog#ProvisioningArtifact": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", + "Id": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The name of the provisioning artifact.

" + "smithy.api#documentation": "

The identifier of the provisioning artifact.

" } }, - "Guidance": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactGuidance", + "Name": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", "traits": { - "smithy.api#documentation": "

Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

" + "smithy.api#documentation": "

The name of the provisioning artifact.

" } }, - "Id": { - "target": "com.amazonaws.servicecatalog#Id", + "Description": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactDescription", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact.

" + "smithy.api#documentation": "

The description of the provisioning artifact.

" } }, "CreatedTime": { @@ -6779,10 +6779,10 @@ "smithy.api#documentation": "

The UTC time stamp of the creation time.

" } }, - "Description": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactDescription", + "Guidance": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactGuidance", "traits": { - "smithy.api#documentation": "

The description of the provisioning artifact.

" + "smithy.api#documentation": "

Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

" } } }, @@ -6811,22 +6811,10 @@ "com.amazonaws.servicecatalog#ProvisioningArtifactDetail": { "type": "structure", "members": { - "Active": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactActive", - "traits": { - "smithy.api#documentation": "

Indicates whether the product version is active.

" - } - }, - "Type": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactType", - "traits": { - "smithy.api#documentation": "

The type of provisioning artifact.

\n " - } - }, - "Guidance": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactGuidance", + "Id": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

" + "smithy.api#documentation": "

The identifier of the provisioning artifact.

" } }, "Name": { @@ -6841,10 +6829,10 @@ "smithy.api#documentation": "

The description of the provisioning artifact.

" } }, - "Id": { - "target": "com.amazonaws.servicecatalog#Id", + "Type": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactType", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact.

" + "smithy.api#documentation": "

The type of provisioning artifact.

\n " } }, "CreatedTime": { @@ -6852,6 +6840,18 @@ "traits": { "smithy.api#documentation": "

The UTC time stamp of the creation time.

" } + }, + "Active": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactActive", + "traits": { + "smithy.api#documentation": "

Indicates whether the product version is active.

" + } + }, + "Guidance": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactGuidance", + "traits": { + "smithy.api#documentation": "

Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

" + } } }, "traits": { @@ -6912,17 +6912,17 @@ "com.amazonaws.servicecatalog#ProvisioningArtifactOutput": { "type": "structure", "members": { - "Description": { - "target": "com.amazonaws.servicecatalog#OutputDescription", - "traits": { - "smithy.api#documentation": "

Description of the provisioning artifact output key.

" - } - }, "Key": { "target": "com.amazonaws.servicecatalog#ProvisioningArtifactOutputKey", "traits": { "smithy.api#documentation": "

The provisioning artifact output key.

" } + }, + "Description": { + "target": "com.amazonaws.servicecatalog#OutputDescription", + "traits": { + "smithy.api#documentation": "

Description of the provisioning artifact output key.

" + } } }, "traits": { @@ -6954,28 +6954,16 @@ "com.amazonaws.servicecatalog#ProvisioningArtifactParameter": { "type": "structure", "members": { - "Description": { - "target": "com.amazonaws.servicecatalog#Description", - "traits": { - "smithy.api#documentation": "

The description of the parameter.

" - } - }, - "DefaultValue": { - "target": "com.amazonaws.servicecatalog#DefaultValue", - "traits": { - "smithy.api#documentation": "

The default value.

" - } - }, "ParameterKey": { "target": "com.amazonaws.servicecatalog#ParameterKey", "traits": { "smithy.api#documentation": "

The parameter key.

" } }, - "ParameterConstraints": { - "target": "com.amazonaws.servicecatalog#ParameterConstraints", + "DefaultValue": { + "target": "com.amazonaws.servicecatalog#DefaultValue", "traits": { - "smithy.api#documentation": "

Constraints that the administrator has put on a parameter.

" + "smithy.api#documentation": "

The default value.

" } }, "ParameterType": { @@ -6989,6 +6977,18 @@ "traits": { "smithy.api#documentation": "

If this value is true, the value for this parameter is obfuscated from view when the\n parameter is retrieved. This parameter is used to hide sensitive information.

" } + }, + "Description": { + "target": "com.amazonaws.servicecatalog#Description", + "traits": { + "smithy.api#documentation": "

The description of the parameter.

" + } + }, + "ParameterConstraints": { + "target": "com.amazonaws.servicecatalog#ParameterConstraints", + "traits": { + "smithy.api#documentation": "

Constraints that the administrator has put on a parameter.

" + } } }, "traits": { @@ -7036,12 +7036,6 @@ "smithy.api#documentation": "

The description of the provisioning artifact, including how it differs from the previous provisioning artifact.

" } }, - "DisableTemplateValidation": { - "target": "com.amazonaws.servicecatalog#DisableTemplateValidation", - "traits": { - "smithy.api#documentation": "

If set to true, AWS Service Catalog stops validating the specified provisioning artifact even if it is invalid.

" - } - }, "Info": { "target": "com.amazonaws.servicecatalog#ProvisioningArtifactInfo", "traits": { @@ -7054,6 +7048,12 @@ "traits": { "smithy.api#documentation": "

The type of provisioning artifact.

\n " } + }, + "DisableTemplateValidation": { + "target": "com.amazonaws.servicecatalog#DisableTemplateValidation", + "traits": { + "smithy.api#documentation": "

If set to true, AWS Service Catalog stops validating the specified provisioning artifact even if it is invalid.

" + } } }, "traits": { @@ -7083,6 +7083,12 @@ "com.amazonaws.servicecatalog#ProvisioningArtifactSummary": { "type": "structure", "members": { + "Id": { + "target": "com.amazonaws.servicecatalog#Id", + "traits": { + "smithy.api#documentation": "

The identifier of the provisioning artifact.

" + } + }, "Name": { "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", "traits": { @@ -7095,22 +7101,16 @@ "smithy.api#documentation": "

The description of the provisioning artifact.

" } }, - "ProvisioningArtifactMetadata": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactInfo", - "traits": { - "smithy.api#documentation": "

The metadata for the provisioning artifact. This is used with AWS Marketplace products.

" - } - }, "CreatedTime": { "target": "com.amazonaws.servicecatalog#ProvisioningArtifactCreatedTime", "traits": { "smithy.api#documentation": "

The UTC time stamp of the creation time.

" } }, - "Id": { - "target": "com.amazonaws.servicecatalog#Id", + "ProvisioningArtifactMetadata": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactInfo", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact.

" + "smithy.api#documentation": "

The metadata for the provisioning artifact. This is used with AWS Marketplace products.

" } } }, @@ -7198,10 +7198,10 @@ "com.amazonaws.servicecatalog#ProvisioningPreferences": { "type": "structure", "members": { - "StackSetFailureTolerancePercentage": { - "target": "com.amazonaws.servicecatalog#StackSetFailureTolerancePercentage", + "StackSetAccounts": { + "target": "com.amazonaws.servicecatalog#StackSetAccounts", "traits": { - "smithy.api#documentation": "

The percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

\n

When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetFailureToleranceCount or StackSetFailureTolerancePercentage, but not both.

" + "smithy.api#documentation": "

One or more AWS accounts that will have access to the provisioned product.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the DescribeProvisioningParameters operation.

\n

If no values are specified, the default value is all accounts from the STACKSET constraint.

" } }, "StackSetRegions": { @@ -7210,28 +7210,28 @@ "smithy.api#documentation": "

One or more AWS Regions where the provisioned product will be available.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the DescribeProvisioningParameters operation.

\n

If no values are specified, the default value is all regions from the STACKSET constraint.

" } }, - "StackSetMaxConcurrencyCount": { - "target": "com.amazonaws.servicecatalog#StackSetMaxConcurrencyCount", + "StackSetFailureToleranceCount": { + "target": "com.amazonaws.servicecatalog#StackSetFailureToleranceCount", "traits": { - "smithy.api#documentation": "

The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of StackSetFailureToleranceCount. StackSetMaxConcurrentCount is at most one more than the StackSetFailureToleranceCount.

\n

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

" + "smithy.api#documentation": "

The number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetFailureToleranceCount or StackSetFailureTolerancePercentage, but not both.

\n

The default value is 0 if no value is specified.

" } }, - "StackSetMaxConcurrencyPercentage": { - "target": "com.amazonaws.servicecatalog#StackSetMaxConcurrencyPercentage", + "StackSetFailureTolerancePercentage": { + "target": "com.amazonaws.servicecatalog#StackSetFailureTolerancePercentage", "traits": { - "smithy.api#documentation": "

The maximum percentage of accounts in which to perform this operation at one time.

\n

When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead.

\n

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

" + "smithy.api#documentation": "

The percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

\n

When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetFailureToleranceCount or StackSetFailureTolerancePercentage, but not both.

" } }, - "StackSetAccounts": { - "target": "com.amazonaws.servicecatalog#StackSetAccounts", + "StackSetMaxConcurrencyCount": { + "target": "com.amazonaws.servicecatalog#StackSetMaxConcurrencyCount", "traits": { - "smithy.api#documentation": "

One or more AWS accounts that will have access to the provisioned product.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the DescribeProvisioningParameters operation.

\n

If no values are specified, the default value is all accounts from the STACKSET constraint.

" + "smithy.api#documentation": "

The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of StackSetFailureToleranceCount. StackSetMaxConcurrentCount is at most one more than the StackSetFailureToleranceCount.

\n

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

" } }, - "StackSetFailureToleranceCount": { - "target": "com.amazonaws.servicecatalog#StackSetFailureToleranceCount", + "StackSetMaxConcurrencyPercentage": { + "target": "com.amazonaws.servicecatalog#StackSetMaxConcurrencyPercentage", "traits": { - "smithy.api#documentation": "

The number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetFailureToleranceCount or StackSetFailureTolerancePercentage, but not both.

\n

The default value is 0 if no value is specified.

" + "smithy.api#documentation": "

The maximum percentage of accounts in which to perform this operation at one time.

\n

When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead.

\n

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

" } } }, @@ -7242,22 +7242,22 @@ "com.amazonaws.servicecatalog#RecordDetail": { "type": "structure", "members": { - "ProvisionedProductType": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductType", + "RecordId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

" + "smithy.api#documentation": "

The identifier of the record.

" } }, - "Status": { - "target": "com.amazonaws.servicecatalog#RecordStatus", + "ProvisionedProductName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductName", "traits": { - "smithy.api#documentation": "

The status of the provisioned product.

\n " + "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" } }, - "PathId": { - "target": "com.amazonaws.servicecatalog#Id", + "Status": { + "target": "com.amazonaws.servicecatalog#RecordStatus", "traits": { - "smithy.api#documentation": "

The path identifier.

" + "smithy.api#documentation": "

The status of the provisioned product.

\n " } }, "CreatedTime": { @@ -7266,16 +7266,22 @@ "smithy.api#documentation": "

The UTC time stamp of the creation time.

" } }, - "RecordType": { - "target": "com.amazonaws.servicecatalog#RecordType", + "UpdatedTime": { + "target": "com.amazonaws.servicecatalog#UpdatedTime", "traits": { - "smithy.api#documentation": "

The record type.

\n " + "smithy.api#documentation": "

The time when the record was last updated.

" } }, - "ProvisionedProductName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductName", + "ProvisionedProductType": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductType", "traits": { - "smithy.api#documentation": "

The user-friendly name of the provisioned product.

" + "smithy.api#documentation": "

The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

" + } + }, + "RecordType": { + "target": "com.amazonaws.servicecatalog#RecordType", + "traits": { + "smithy.api#documentation": "

The record type.

\n " } }, "ProvisionedProductId": { @@ -7290,34 +7296,16 @@ "smithy.api#documentation": "

The product identifier.

" } }, - "RecordTags": { - "target": "com.amazonaws.servicecatalog#RecordTags", - "traits": { - "smithy.api#documentation": "

One or more tags.

" - } - }, - "LaunchRoleArn": { - "target": "com.amazonaws.servicecatalog#RoleArn", - "traits": { - "smithy.api#documentation": "

The ARN of the launch role associated with the provisioned product.

" - } - }, "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The identifier of the provisioning artifact.

" } }, - "UpdatedTime": { - "target": "com.amazonaws.servicecatalog#UpdatedTime", - "traits": { - "smithy.api#documentation": "

The time when the record was last updated.

" - } - }, - "RecordId": { + "PathId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The identifier of the record.

" + "smithy.api#documentation": "

The path identifier.

" } }, "RecordErrors": { @@ -7325,6 +7313,18 @@ "traits": { "smithy.api#documentation": "

The errors that occurred.

" } + }, + "RecordTags": { + "target": "com.amazonaws.servicecatalog#RecordTags", + "traits": { + "smithy.api#documentation": "

One or more tags.

" + } + }, + "LaunchRoleArn": { + "target": "com.amazonaws.servicecatalog#RoleArn", + "traits": { + "smithy.api#documentation": "

The ARN of the launch role associated with the provisioned product.

" + } } }, "traits": { @@ -7340,17 +7340,17 @@ "com.amazonaws.servicecatalog#RecordError": { "type": "structure", "members": { - "Description": { - "target": "com.amazonaws.servicecatalog#ErrorDescription", - "traits": { - "smithy.api#documentation": "

The description of the error.

" - } - }, "Code": { "target": "com.amazonaws.servicecatalog#ErrorCode", "traits": { "smithy.api#documentation": "

The numeric value of the error.

" } + }, + "Description": { + "target": "com.amazonaws.servicecatalog#ErrorDescription", + "traits": { + "smithy.api#documentation": "

The description of the error.

" + } } }, "traits": { @@ -7500,6 +7500,12 @@ "com.amazonaws.servicecatalog#RejectPortfolioShareInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "PortfolioId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -7512,12 +7518,6 @@ "traits": { "smithy.api#documentation": "

The type of shared portfolios to reject. The default is to reject imported portfolios.

\n \n

For example, aws servicecatalog reject-portfolio-share --portfolio-id \"port-2qwzkwxt3y5fk\" --portfolio-share-type AWS_ORGANIZATIONS\n

" } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, @@ -7606,22 +7606,16 @@ "com.amazonaws.servicecatalog#ResourceChange": { "type": "structure", "members": { - "ResourceType": { - "target": "com.amazonaws.servicecatalog#PlanResourceType", - "traits": { - "smithy.api#documentation": "

The type of resource.

" - } - }, "Action": { "target": "com.amazonaws.servicecatalog#ChangeAction", "traits": { "smithy.api#documentation": "

The change action.

" } }, - "Replacement": { - "target": "com.amazonaws.servicecatalog#Replacement", + "LogicalResourceId": { + "target": "com.amazonaws.servicecatalog#LogicalResourceId", "traits": { - "smithy.api#documentation": "

If the change type is Modify, indicates whether the existing resource\n is deleted and replaced with a new one.

" + "smithy.api#documentation": "

The ID of the resource, as defined in the CloudFormation template.

" } }, "PhysicalResourceId": { @@ -7630,16 +7624,16 @@ "smithy.api#documentation": "

The ID of the resource, if it was already created.

" } }, - "LogicalResourceId": { - "target": "com.amazonaws.servicecatalog#LogicalResourceId", + "ResourceType": { + "target": "com.amazonaws.servicecatalog#PlanResourceType", "traits": { - "smithy.api#documentation": "

The ID of the resource, as defined in the CloudFormation template.

" + "smithy.api#documentation": "

The type of resource.

" } }, - "Details": { - "target": "com.amazonaws.servicecatalog#ResourceChangeDetails", + "Replacement": { + "target": "com.amazonaws.servicecatalog#Replacement", "traits": { - "smithy.api#documentation": "

Information about the resource changes.

" + "smithy.api#documentation": "

If the change type is Modify, indicates whether the existing resource\n is deleted and replaced with a new one.

" } }, "Scope": { @@ -7647,6 +7641,12 @@ "traits": { "smithy.api#documentation": "

The change scope.

" } + }, + "Details": { + "target": "com.amazonaws.servicecatalog#ResourceChangeDetails", + "traits": { + "smithy.api#documentation": "

Information about the resource changes.

" + } } }, "traits": { @@ -7656,10 +7656,10 @@ "com.amazonaws.servicecatalog#ResourceChangeDetail": { "type": "structure", "members": { - "CausingEntity": { - "target": "com.amazonaws.servicecatalog#CausingEntity", + "Target": { + "target": "com.amazonaws.servicecatalog#ResourceTargetDefinition", "traits": { - "smithy.api#documentation": "

The ID of the entity that caused the change.

" + "smithy.api#documentation": "

Information about the resource attribute to be modified.

" } }, "Evaluation": { @@ -7668,10 +7668,10 @@ "smithy.api#documentation": "

For static evaluations, the value of the resource attribute will change and the new value is known.\n For dynamic evaluations, the value might change, and any new value will be determined when the plan is updated.

" } }, - "Target": { - "target": "com.amazonaws.servicecatalog#ResourceTargetDefinition", + "CausingEntity": { + "target": "com.amazonaws.servicecatalog#CausingEntity", "traits": { - "smithy.api#documentation": "

Information about the resource attribute to be modified.

" + "smithy.api#documentation": "

The ID of the entity that caused the change.

" } } }, @@ -7700,16 +7700,10 @@ "smithy.api#documentation": "

The identifier of the resource.

" } }, - "Description": { - "target": "com.amazonaws.servicecatalog#ResourceDetailDescription", - "traits": { - "smithy.api#documentation": "

The description of the resource.

" - } - }, - "CreatedTime": { - "target": "com.amazonaws.servicecatalog#ResourceDetailCreatedTime", + "ARN": { + "target": "com.amazonaws.servicecatalog#ResourceDetailARN", "traits": { - "smithy.api#documentation": "

The creation time of the resource.

" + "smithy.api#documentation": "

The ARN of the resource.

" } }, "Name": { @@ -7718,10 +7712,16 @@ "smithy.api#documentation": "

The name of the resource.

" } }, - "ARN": { - "target": "com.amazonaws.servicecatalog#ResourceDetailARN", + "Description": { + "target": "com.amazonaws.servicecatalog#ResourceDetailDescription", "traits": { - "smithy.api#documentation": "

The ARN of the resource.

" + "smithy.api#documentation": "

The description of the resource.

" + } + }, + "CreatedTime": { + "target": "com.amazonaws.servicecatalog#ResourceDetailCreatedTime", + "traits": { + "smithy.api#documentation": "

The creation time of the resource.

" } } }, @@ -7836,10 +7836,10 @@ "com.amazonaws.servicecatalog#ScanProvisionedProductsInput": { "type": "structure", "members": { - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" + "smithy.api#documentation": "

The language code.

\n " } }, "AccessLevelFilter": { @@ -7848,16 +7848,16 @@ "smithy.api#documentation": "

The access level to use to obtain results. The default is User.

" } }, - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } } } @@ -7941,52 +7941,52 @@ "com.amazonaws.servicecatalog#SearchProductsAsAdminInput": { "type": "structure", "members": { - "Filters": { - "target": "com.amazonaws.servicecatalog#ProductViewFilters", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The search filters. If no search filters are specified, the output includes all products \n to which the administrator has access.

" + "smithy.api#documentation": "

The language code.

\n " } }, - "ProductSource": { - "target": "com.amazonaws.servicecatalog#ProductSource", + "PortfolioId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

Access level of the source of the product.

" + "smithy.api#documentation": "

The portfolio identifier.

" } }, - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", + "Filters": { + "target": "com.amazonaws.servicecatalog#ProductViewFilters", "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" + "smithy.api#documentation": "

The search filters. If no search filters are specified, the output includes all products \n to which the administrator has access.

" } }, - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", + "SortBy": { + "target": "com.amazonaws.servicecatalog#ProductViewSortBy", "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + "smithy.api#documentation": "

The sort field. If no value is specified, the results are not sorted.

" } }, - "PortfolioId": { - "target": "com.amazonaws.servicecatalog#Id", + "SortOrder": { + "target": "com.amazonaws.servicecatalog#SortOrder", "traits": { - "smithy.api#documentation": "

The portfolio identifier.

" + "smithy.api#documentation": "

The sort order. If no value is specified, the results are not sorted.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } }, - "SortOrder": { - "target": "com.amazonaws.servicecatalog#SortOrder", + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", "traits": { - "smithy.api#documentation": "

The sort order. If no value is specified, the results are not sorted.

" + "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, - "SortBy": { - "target": "com.amazonaws.servicecatalog#ProductViewSortBy", + "ProductSource": { + "target": "com.amazonaws.servicecatalog#ProductSource", "traits": { - "smithy.api#documentation": "

The sort field. If no value is specified, the results are not sorted.

" + "smithy.api#documentation": "

Access level of the source of the product.

" } } } @@ -8011,22 +8011,10 @@ "com.amazonaws.servicecatalog#SearchProductsInput": { "type": "structure", "members": { - "PageSize": { - "target": "com.amazonaws.servicecatalog#PageSize", - "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call.

" - } - }, - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", - "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" - } - }, - "SortBy": { - "target": "com.amazonaws.servicecatalog#ProductViewSortBy", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The sort field. If no value is specified, the results are not sorted.

" + "smithy.api#documentation": "

The language code.

\n " } }, "Filters": { @@ -8035,10 +8023,16 @@ "smithy.api#documentation": "

The search filters. If no search filters are specified, the output includes\n all products to which the caller has access.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "PageSize": { + "target": "com.amazonaws.servicecatalog#PageSize", + "traits": { + "smithy.api#documentation": "

The maximum number of items to return with this call.

" + } + }, + "SortBy": { + "target": "com.amazonaws.servicecatalog#ProductViewSortBy", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The sort field. If no value is specified, the results are not sorted.

" } }, "SortOrder": { @@ -8046,6 +8040,12 @@ "traits": { "smithy.api#documentation": "

The sort order. If no value is specified, the results are not sorted.

" } + }, + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", + "traits": { + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + } } } }, @@ -8097,28 +8097,34 @@ "com.amazonaws.servicecatalog#SearchProvisionedProductsInput": { "type": "structure", "members": { - "SortOrder": { - "target": "com.amazonaws.servicecatalog#SortOrder", - "traits": { - "smithy.api#documentation": "

The sort order. If no value is specified, the results are not sorted.

" - } - }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { "smithy.api#documentation": "

The language code.

\n " } }, + "AccessLevelFilter": { + "target": "com.amazonaws.servicecatalog#AccessLevelFilter", + "traits": { + "smithy.api#documentation": "

The access level to use to obtain results. The default is User.

" + } + }, + "Filters": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductFilters", + "traits": { + "smithy.api#documentation": "

The search filters.

\n

When the key is SearchQuery, the searchable fields are arn, \n createdTime, id, lastRecordId,\n idempotencyToken, name, physicalId, productId, \n provisioningArtifact, type, status,\n tags, userArn, userArnSession, lastProvisioningRecordId, lastSuccessfulProvisioningRecordId, \n productName, and provisioningArtifactName.

\n

Example: \"SearchQuery\":[\"status:AVAILABLE\"]\n

" + } + }, "SortBy": { "target": "com.amazonaws.servicecatalog#SortField", "traits": { "smithy.api#documentation": "

The sort field. If no value is specified, the results are not sorted. The valid values are arn, id, name, \n and lastRecordId.

" } }, - "PageToken": { - "target": "com.amazonaws.servicecatalog#PageToken", + "SortOrder": { + "target": "com.amazonaws.servicecatalog#SortOrder", "traits": { - "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" + "smithy.api#documentation": "

The sort order. If no value is specified, the results are not sorted.

" } }, "PageSize": { @@ -8127,16 +8133,10 @@ "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, - "Filters": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductFilters", - "traits": { - "smithy.api#documentation": "

The search filters.

\n

When the key is SearchQuery, the searchable fields are arn, \n createdTime, id, lastRecordId,\n idempotencyToken, name, physicalId, productId, \n provisioningArtifact, type, status,\n tags, userArn, userArnSession, lastProvisioningRecordId, lastSuccessfulProvisioningRecordId, \n productName, and provisioningArtifactName.

\n

Example: \"SearchQuery\":[\"status:AVAILABLE\"]\n

" - } - }, - "AccessLevelFilter": { - "target": "com.amazonaws.servicecatalog#AccessLevelFilter", + "PageToken": { + "target": "com.amazonaws.servicecatalog#PageToken", "traits": { - "smithy.api#documentation": "

The access level to use to obtain results. The default is User.

" + "smithy.api#documentation": "

The page token for the next set of results. To retrieve the first set of results, use null.

" } } } @@ -8176,24 +8176,24 @@ "com.amazonaws.servicecatalog#ServiceActionAssociation": { "type": "structure", "members": { - "ProvisioningArtifactId": { + "ServiceActionId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

", + "smithy.api#documentation": "

The self-service action identifier. For example, act-fs7abcd89wxyz.

", "smithy.api#required": {} } }, - "ServiceActionId": { + "ProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The self-service action identifier. For example, act-fs7abcd89wxyz.

", + "smithy.api#documentation": "

The product identifier. For example, prod-abcdzk7xy33qa.

", "smithy.api#required": {} } }, - "ProductId": { + "ProvisioningArtifactId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The product identifier. For example, prod-abcdzk7xy33qa.

", + "smithy.api#documentation": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

", "smithy.api#required": {} } } @@ -8356,10 +8356,10 @@ "com.amazonaws.servicecatalog#ServiceActionSummary": { "type": "structure", "members": { - "Description": { - "target": "com.amazonaws.servicecatalog#ServiceActionDescription", + "Id": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The self-service action description.

" + "smithy.api#documentation": "

The self-service action identifier.

" } }, "Name": { @@ -8368,16 +8368,16 @@ "smithy.api#documentation": "

The self-service action name.

" } }, - "DefinitionType": { - "target": "com.amazonaws.servicecatalog#ServiceActionDefinitionType", + "Description": { + "target": "com.amazonaws.servicecatalog#ServiceActionDescription", "traits": { - "smithy.api#documentation": "

The self-service action definition type. For example, SSM_AUTOMATION.

" + "smithy.api#documentation": "

The self-service action description.

" } }, - "Id": { - "target": "com.amazonaws.servicecatalog#Id", + "DefinitionType": { + "target": "com.amazonaws.servicecatalog#ServiceActionDefinitionType", "traits": { - "smithy.api#documentation": "

The self-service action identifier.

" + "smithy.api#documentation": "

The self-service action definition type. For example, SSM_AUTOMATION.

" } } }, @@ -8388,17 +8388,17 @@ "com.amazonaws.servicecatalog#ShareDetails": { "type": "structure", "members": { - "ShareErrors": { - "target": "com.amazonaws.servicecatalog#ShareErrors", - "traits": { - "smithy.api#documentation": "

List of errors.

" - } - }, "SuccessfulShares": { "target": "com.amazonaws.servicecatalog#SuccessfulShares", "traits": { "smithy.api#documentation": "

List of accounts for whom the operation succeeded.

" } + }, + "ShareErrors": { + "target": "com.amazonaws.servicecatalog#ShareErrors", + "traits": { + "smithy.api#documentation": "

List of errors.

" + } } }, "traits": { @@ -8408,10 +8408,10 @@ "com.amazonaws.servicecatalog#ShareError": { "type": "structure", "members": { - "Error": { - "target": "com.amazonaws.servicecatalog#Error", + "Accounts": { + "target": "com.amazonaws.servicecatalog#Namespaces", "traits": { - "smithy.api#documentation": "

Error type that happened when processing the operation.

" + "smithy.api#documentation": "

List of accounts impacted by the error.

" } }, "Message": { @@ -8420,10 +8420,10 @@ "smithy.api#documentation": "

Information about the error.

" } }, - "Accounts": { - "target": "com.amazonaws.servicecatalog#Namespaces", + "Error": { + "target": "com.amazonaws.servicecatalog#Error", "traits": { - "smithy.api#documentation": "

List of accounts impacted by the error.

" + "smithy.api#documentation": "

Error type that happened when processing the operation.

" } } }, @@ -8506,17 +8506,17 @@ "smithy.api#documentation": "

The name of the AWS account that the stack instance is associated with.

" } }, - "StackInstanceStatus": { - "target": "com.amazonaws.servicecatalog#StackInstanceStatus", - "traits": { - "smithy.api#documentation": "

The status of the stack instance, in terms of its synchronization with its associated stack set.

\n " - } - }, "Region": { "target": "com.amazonaws.servicecatalog#Region", "traits": { "smithy.api#documentation": "

The name of the AWS region that the stack instance is associated with.

" } + }, + "StackInstanceStatus": { + "target": "com.amazonaws.servicecatalog#StackInstanceStatus", + "traits": { + "smithy.api#documentation": "

The status of the stack instance, in terms of its synchronization with its associated stack set.

\n " + } } }, "traits": { @@ -8678,17 +8678,17 @@ "com.amazonaws.servicecatalog#Tag": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.servicecatalog#TagValue", + "Key": { + "target": "com.amazonaws.servicecatalog#TagKey", "traits": { - "smithy.api#documentation": "

The value for this key.

", + "smithy.api#documentation": "

The tag key.

", "smithy.api#required": {} } }, - "Key": { - "target": "com.amazonaws.servicecatalog#TagKey", + "Value": { + "target": "com.amazonaws.servicecatalog#TagValue", "traits": { - "smithy.api#documentation": "

The tag key.

", + "smithy.api#documentation": "

The value for this key.

", "smithy.api#required": {} } } @@ -8722,12 +8722,6 @@ "com.amazonaws.servicecatalog#TagOptionDetail": { "type": "structure", "members": { - "Id": { - "target": "com.amazonaws.servicecatalog#TagOptionId", - "traits": { - "smithy.api#documentation": "

The TagOption identifier.

" - } - }, "Key": { "target": "com.amazonaws.servicecatalog#TagOptionKey", "traits": { @@ -8745,6 +8739,12 @@ "traits": { "smithy.api#documentation": "

The TagOption active state.

" } + }, + "Id": { + "target": "com.amazonaws.servicecatalog#TagOptionId", + "traits": { + "smithy.api#documentation": "

The TagOption identifier.

" + } } }, "traits": { @@ -8797,17 +8797,17 @@ "com.amazonaws.servicecatalog#TagOptionSummary": { "type": "structure", "members": { - "Values": { - "target": "com.amazonaws.servicecatalog#TagOptionValues", - "traits": { - "smithy.api#documentation": "

The TagOption value.

" - } - }, "Key": { "target": "com.amazonaws.servicecatalog#TagOptionKey", "traits": { "smithy.api#documentation": "

The TagOption key.

" } + }, + "Values": { + "target": "com.amazonaws.servicecatalog#TagOptionValues", + "traits": { + "smithy.api#documentation": "

The TagOption value.

" + } } }, "traits": { @@ -8872,16 +8872,10 @@ "com.amazonaws.servicecatalog#TerminateProvisionedProductInput": { "type": "structure", "members": { - "IgnoreErrors": { - "target": "com.amazonaws.servicecatalog#IgnoreErrors", - "traits": { - "smithy.api#documentation": "

If set to true, AWS Service Catalog stops managing the specified provisioned product even\n if it cannot delete the underlying resources.

" - } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "ProvisionedProductName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The name of the provisioned product. You cannot specify both\n ProvisionedProductName and ProvisionedProductId.

" } }, "ProvisionedProductId": { @@ -8898,10 +8892,16 @@ "smithy.api#required": {} } }, - "ProvisionedProductName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", + "IgnoreErrors": { + "target": "com.amazonaws.servicecatalog#IgnoreErrors", "traits": { - "smithy.api#documentation": "

The name of the provisioned product. You cannot specify both\n ProvisionedProductName and ProvisionedProductId.

" + "smithy.api#documentation": "

If set to true, AWS Service Catalog stops managing the specified provisioned product even\n if it cannot delete the underlying resources.

" + } + }, + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " } } } @@ -8943,12 +8943,6 @@ "com.amazonaws.servicecatalog#UpdateConstraintInput": { "type": "structure", "members": { - "Parameters": { - "target": "com.amazonaws.servicecatalog#ConstraintParameters", - "traits": { - "smithy.api#documentation": "

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

\n
\n
LAUNCH
\n
\n

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

\n

Specify the RoleArn property as follows:

\n

\n {\"RoleArn\" : \"arn:aws:iam::123456789012:role/LaunchRole\"}\n

\n

Specify the LocalRoleName property as follows:

\n

\n {\"LocalRoleName\": \"SCBasicLaunchRole\"}\n

\n

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be \n account-agnostic so the administrator can create fewer resources per shared account.

\n \n

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

\n
\n

You cannot have both a LAUNCH and a STACKSET constraint.

\n

You also cannot have more than one LAUNCH constraint on a product and portfolio.

\n
\n
NOTIFICATION
\n
\n

Specify the NotificationArns property as follows:

\n

\n {\"NotificationArns\" : [\"arn:aws:sns:us-east-1:123456789012:Topic\"]}\n

\n
\n
RESOURCE_UPDATE
\n
\n

Specify the TagUpdatesOnProvisionedProduct property as follows:

\n

\n {\"Version\":\"2.0\",\"Properties\":{\"TagUpdateOnProvisionedProduct\":\"String\"}}\n

\n

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

\n
\n
STACKSET
\n
\n

Specify the Parameters property as follows:

\n

\n {\"Version\": \"String\", \"Properties\": {\"AccountList\": [ \"String\" ], \"RegionList\": [ \"String\" ], \"AdminRole\": \"String\", \"ExecutionRole\": \"String\"}}\n

\n

You cannot have both a LAUNCH and a STACKSET constraint.

\n

You also cannot have more than one STACKSET constraint on a product and portfolio.

\n

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

\n
\n
TEMPLATE
\n
\n

Specify the Rules property. For more information, see\n Template Constraint Rules.

\n
\n
" - } - }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { @@ -8967,6 +8961,12 @@ "traits": { "smithy.api#documentation": "

The updated description of the constraint.

" } + }, + "Parameters": { + "target": "com.amazonaws.servicecatalog#ConstraintParameters", + "traits": { + "smithy.api#documentation": "

The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

\n
\n
LAUNCH
\n
\n

You are required to specify either the RoleArn or the LocalRoleName but can't use both.

\n

Specify the RoleArn property as follows:

\n

\n {\"RoleArn\" : \"arn:aws:iam::123456789012:role/LaunchRole\"}\n

\n

Specify the LocalRoleName property as follows:

\n

\n {\"LocalRoleName\": \"SCBasicLaunchRole\"}\n

\n

If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be \n account-agnostic so the administrator can create fewer resources per shared account.

\n \n

The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.

\n
\n

You cannot have both a LAUNCH and a STACKSET constraint.

\n

You also cannot have more than one LAUNCH constraint on a product and portfolio.

\n
\n
NOTIFICATION
\n
\n

Specify the NotificationArns property as follows:

\n

\n {\"NotificationArns\" : [\"arn:aws:sns:us-east-1:123456789012:Topic\"]}\n

\n
\n
RESOURCE_UPDATE
\n
\n

Specify the TagUpdatesOnProvisionedProduct property as follows:

\n

\n {\"Version\":\"2.0\",\"Properties\":{\"TagUpdateOnProvisionedProduct\":\"String\"}}\n

\n

The TagUpdatesOnProvisionedProduct property accepts a string value of ALLOWED or NOT_ALLOWED.

\n
\n
STACKSET
\n
\n

Specify the Parameters property as follows:

\n

\n {\"Version\": \"String\", \"Properties\": {\"AccountList\": [ \"String\" ], \"RegionList\": [ \"String\" ], \"AdminRole\": \"String\", \"ExecutionRole\": \"String\"}}\n

\n

You cannot have both a LAUNCH and a STACKSET constraint.

\n

You also cannot have more than one STACKSET constraint on a product and portfolio.

\n

Products with a STACKSET constraint will launch an AWS CloudFormation stack set.

\n
\n
TEMPLATE
\n
\n

Specify the Rules property. For more information, see\n Template Constraint Rules.

\n
\n
" + } } } }, @@ -8979,17 +8979,17 @@ "smithy.api#documentation": "

Information about the constraint.

" } }, - "Status": { - "target": "com.amazonaws.servicecatalog#Status", - "traits": { - "smithy.api#documentation": "

The status of the current request.

" - } - }, "ConstraintParameters": { "target": "com.amazonaws.servicecatalog#ConstraintParameters", "traits": { "smithy.api#documentation": "

The constraint parameters.

" } + }, + "Status": { + "target": "com.amazonaws.servicecatalog#Status", + "traits": { + "smithy.api#documentation": "

The status of the current request.

" + } } } }, @@ -9022,24 +9022,12 @@ "com.amazonaws.servicecatalog#UpdatePortfolioInput": { "type": "structure", "members": { - "DisplayName": { - "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", - "traits": { - "smithy.api#documentation": "

The name to use for display purposes.

" - } - }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { "smithy.api#documentation": "

The language code.

\n " } }, - "AddTags": { - "target": "com.amazonaws.servicecatalog#AddTags", - "traits": { - "smithy.api#documentation": "

The tags to add.

" - } - }, "Id": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -9047,10 +9035,16 @@ "smithy.api#required": {} } }, - "RemoveTags": { - "target": "com.amazonaws.servicecatalog#TagKeys", + "DisplayName": { + "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", "traits": { - "smithy.api#documentation": "

The tags to remove.

" + "smithy.api#documentation": "

The name to use for display purposes.

" + } + }, + "Description": { + "target": "com.amazonaws.servicecatalog#PortfolioDescription", + "traits": { + "smithy.api#documentation": "

The updated description of the portfolio.

" } }, "ProviderName": { @@ -9059,10 +9053,16 @@ "smithy.api#documentation": "

The updated name of the portfolio provider.

" } }, - "Description": { - "target": "com.amazonaws.servicecatalog#PortfolioDescription", + "AddTags": { + "target": "com.amazonaws.servicecatalog#AddTags", "traits": { - "smithy.api#documentation": "

The updated description of the portfolio.

" + "smithy.api#documentation": "

The tags to add.

" + } + }, + "RemoveTags": { + "target": "com.amazonaws.servicecatalog#TagKeys", + "traits": { + "smithy.api#documentation": "

The tags to remove.

" } } } @@ -9070,17 +9070,17 @@ "com.amazonaws.servicecatalog#UpdatePortfolioOutput": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.servicecatalog#Tags", - "traits": { - "smithy.api#documentation": "

Information about the tags associated with the portfolio.

" - } - }, "PortfolioDetail": { "target": "com.amazonaws.servicecatalog#PortfolioDetail", "traits": { "smithy.api#documentation": "

Information about the portfolio.

" } + }, + "Tags": { + "target": "com.amazonaws.servicecatalog#Tags", + "traits": { + "smithy.api#documentation": "

Information about the tags associated with the portfolio.

" + } } } }, @@ -9110,16 +9110,10 @@ "com.amazonaws.servicecatalog#UpdateProductInput": { "type": "structure", "members": { - "RemoveTags": { - "target": "com.amazonaws.servicecatalog#TagKeys", - "traits": { - "smithy.api#documentation": "

The tags to remove from the product.

" - } - }, - "SupportEmail": { - "target": "com.amazonaws.servicecatalog#SupportEmail", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The updated support email for the product.

" + "smithy.api#documentation": "

The language code.

\n " } }, "Id": { @@ -9129,10 +9123,16 @@ "smithy.api#required": {} } }, - "Distributor": { + "Name": { + "target": "com.amazonaws.servicecatalog#ProductViewName", + "traits": { + "smithy.api#documentation": "

The updated product name.

" + } + }, + "Owner": { "target": "com.amazonaws.servicecatalog#ProductViewOwner", "traits": { - "smithy.api#documentation": "

The updated distributor of the product.

" + "smithy.api#documentation": "

The updated owner of the product.

" } }, "Description": { @@ -9141,28 +9141,22 @@ "smithy.api#documentation": "

The updated description of the product.

" } }, - "SupportDescription": { - "target": "com.amazonaws.servicecatalog#SupportDescription", - "traits": { - "smithy.api#documentation": "

The updated support description for the product.

" - } - }, - "AddTags": { - "target": "com.amazonaws.servicecatalog#AddTags", + "Distributor": { + "target": "com.amazonaws.servicecatalog#ProductViewOwner", "traits": { - "smithy.api#documentation": "

The tags to add to the product.

" + "smithy.api#documentation": "

The updated distributor of the product.

" } }, - "Name": { - "target": "com.amazonaws.servicecatalog#ProductViewName", + "SupportDescription": { + "target": "com.amazonaws.servicecatalog#SupportDescription", "traits": { - "smithy.api#documentation": "

The updated product name.

" + "smithy.api#documentation": "

The updated support description for the product.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "SupportEmail": { + "target": "com.amazonaws.servicecatalog#SupportEmail", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

The updated support email for the product.

" } }, "SupportUrl": { @@ -9171,10 +9165,16 @@ "smithy.api#documentation": "

The updated support URL for the product.

" } }, - "Owner": { - "target": "com.amazonaws.servicecatalog#ProductViewOwner", + "AddTags": { + "target": "com.amazonaws.servicecatalog#AddTags", "traits": { - "smithy.api#documentation": "

The updated owner of the product.

" + "smithy.api#documentation": "

The tags to add to the product.

" + } + }, + "RemoveTags": { + "target": "com.amazonaws.servicecatalog#TagKeys", + "traits": { + "smithy.api#documentation": "

The tags to remove from the product.

" } } } @@ -9219,28 +9219,28 @@ "com.amazonaws.servicecatalog#UpdateProvisionedProductInput": { "type": "structure", "members": { - "PathName": { - "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", - "traits": { - "smithy.api#documentation": "

The name of the path. You must provide the name or ID, but not both.

" - } - }, "AcceptLanguage": { "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { "smithy.api#documentation": "

The language code.

\n " } }, + "ProvisionedProductName": { + "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", + "traits": { + "smithy.api#documentation": "

The name of the provisioned product. You cannot specify both\n ProvisionedProductName and ProvisionedProductId.

" + } + }, "ProvisionedProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { "smithy.api#documentation": "

The identifier of the provisioned product. You must provide the name or ID, but not both.

" } }, - "ProvisionedProductName": { - "target": "com.amazonaws.servicecatalog#ProvisionedProductNameOrArn", + "ProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The name of the provisioned product. You cannot specify both\n ProvisionedProductName and ProvisionedProductId.

" + "smithy.api#documentation": "

The identifier of the product. You must provide the name or ID, but not both.

" } }, "ProductName": { @@ -9249,40 +9249,46 @@ "smithy.api#documentation": "

The name of the product. You must provide the name or ID, but not both.

" } }, - "ProvisioningParameters": { - "target": "com.amazonaws.servicecatalog#UpdateProvisioningParameters", + "ProvisioningArtifactId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The new parameters.

" + "smithy.api#documentation": "

The identifier of the provisioning artifact.

" } }, - "ProvisioningArtifactId": { + "ProvisioningArtifactName": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", + "traits": { + "smithy.api#documentation": "

The name of the provisioning artifact. You must provide the name or ID, but not both.

" + } + }, + "PathId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The identifier of the provisioning artifact.

" + "smithy.api#documentation": "

The path identifier. This value is optional if the product \n has a default path, and required if the product has more than one path. You must provide the name or ID, but not both.

" } }, - "Tags": { - "target": "com.amazonaws.servicecatalog#Tags", + "PathName": { + "target": "com.amazonaws.servicecatalog#PortfolioDisplayName", "traits": { - "smithy.api#documentation": "

One or more tags. Requires the product to have RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates.

" + "smithy.api#documentation": "

The name of the path. You must provide the name or ID, but not both.

" } }, - "ProvisioningPreferences": { - "target": "com.amazonaws.servicecatalog#UpdateProvisioningPreferences", + "ProvisioningParameters": { + "target": "com.amazonaws.servicecatalog#UpdateProvisioningParameters", "traits": { - "smithy.api#documentation": "

An object that contains information about the provisioning preferences for a stack set.

" + "smithy.api#documentation": "

The new parameters.

" } }, - "ProvisioningArtifactName": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", + "ProvisioningPreferences": { + "target": "com.amazonaws.servicecatalog#UpdateProvisioningPreferences", "traits": { - "smithy.api#documentation": "

The name of the provisioning artifact. You must provide the name or ID, but not both.

" + "smithy.api#documentation": "

An object that contains information about the provisioning preferences for a stack set.

" } }, - "PathId": { - "target": "com.amazonaws.servicecatalog#Id", + "Tags": { + "target": "com.amazonaws.servicecatalog#Tags", "traits": { - "smithy.api#documentation": "

The path identifier. This value is optional if the product \n has a default path, and required if the product has more than one path. You must provide the name or ID, but not both.

" + "smithy.api#documentation": "

One or more tags. Requires the product to have RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates.

" } }, "UpdateToken": { @@ -9292,12 +9298,6 @@ "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } - }, - "ProductId": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The identifier of the product. You must provide the name or ID, but not both.

" - } } } }, @@ -9338,6 +9338,12 @@ "com.amazonaws.servicecatalog#UpdateProvisionedProductPropertiesInput": { "type": "structure", "members": { + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "traits": { + "smithy.api#documentation": "

The language code.

\n " + } + }, "ProvisionedProductId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { @@ -9348,7 +9354,7 @@ "ProvisionedProductProperties": { "target": "com.amazonaws.servicecatalog#ProvisionedProductProperties", "traits": { - "smithy.api#documentation": "

A map that contains the provisioned product properties to be updated.

\n

The LAUNCH_ROLE key accepts user ARNs and role ARNs. This key allows an\n administrator to call UpdateProvisionedProductProperties to update the launch\n role that is associated with a provisioned product. This role is used when an end-user\n calls a provisioning operation such as UpdateProvisionedProduct,\n TerminateProvisionedProduct, or\n ExecuteProvisionedProductServiceAction. Only an ARN role or\n null is valid. A user ARN is invalid. For example, if an admin user passes\n null as the value for the key LAUNCH_ROLE, the admin removes\n the launch role that is associated with the provisioned product. As a result, the end user\n operations use the credentials of the end user.

\n

The OWNER key accepts user ARNs and role ARNs. The owner is the user\n that has permission to see, update, terminate, and execute service actions in the\n provisioned product.

\n

The administrator can change the owner of a provisioned product to another IAM user within the same account. Both end user owners and \n administrators can see ownership history of the provisioned product using the ListRecordHistory API. The new owner can \n describe all past records for the provisioned product using the DescribeRecord API. The previous owner can no longer use DescribeRecord, \n but can still see the product's history from when he was an owner using ListRecordHistory.

\n

If a provisioned product ownership is assigned to an end user, they can see and perform any action through the API or \n Service Catalog console such as update, terminate, and execute service actions. \n If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through \n API or the Service Catalog console on that provisioned product.

", + "smithy.api#documentation": "

A map that contains the provisioned product properties to be updated.

\n

The LAUNCH_ROLE key accepts role ARNs. This key allows an\n administrator to call UpdateProvisionedProductProperties to update the launch\n role that is associated with a provisioned product. This role is used when an end user\n calls a provisioning operation such as UpdateProvisionedProduct,\n TerminateProvisionedProduct, or\n ExecuteProvisionedProductServiceAction. Only a role ARN or an empty string \"\" is valid.\n A user ARN is invalid. if an admin user passes an empty string \"\" as the value for the key LAUNCH_ROLE,\n the admin removes the launch role that is associated with the provisioned product. As a result, the end user\n operations use the credentials of the end user.

\n\n

The OWNER key accepts user ARNs and role ARNs. The owner is the user\n that has permission to see, update, terminate, and execute service actions in the\n provisioned product.

\n

The administrator can change the owner of a provisioned product to another IAM user within the same account. Both end user owners and \n administrators can see ownership history of the provisioned product using the ListRecordHistory API. The new owner can \n describe all past records for the provisioned product using the DescribeRecord API. The previous owner can no longer use DescribeRecord, \n but can still see the product's history from when he was an owner using ListRecordHistory.

\n

If a provisioned product ownership is assigned to an end user, they can see and perform any action through the API or \n Service Catalog console such as update, terminate, and execute service actions. \n If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through \n API or the Service Catalog console on that provisioned product.

", "smithy.api#required": {} } }, @@ -9359,22 +9365,16 @@ "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } - }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", - "traits": { - "smithy.api#documentation": "

The language code.

\n " - } } } }, "com.amazonaws.servicecatalog#UpdateProvisionedProductPropertiesOutput": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.servicecatalog#RecordStatus", + "ProvisionedProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The status of the request.

" + "smithy.api#documentation": "

The provisioned product identifier.

" } }, "ProvisionedProductProperties": { @@ -9383,16 +9383,16 @@ "smithy.api#documentation": "

A map that contains the properties updated.

" } }, - "ProvisionedProductId": { + "RecordId": { "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

The provisioned product identifier.

" + "smithy.api#documentation": "

The identifier of the record.

" } }, - "RecordId": { - "target": "com.amazonaws.servicecatalog#Id", + "Status": { + "target": "com.amazonaws.servicecatalog#RecordStatus", "traits": { - "smithy.api#documentation": "

The identifier of the record.

" + "smithy.api#documentation": "

The status of the request.

" } } } @@ -9420,22 +9420,17 @@ "com.amazonaws.servicecatalog#UpdateProvisioningArtifactInput": { "type": "structure", "members": { - "Active": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactActive", - "traits": { - "smithy.api#documentation": "

Indicates whether the product version is active.

\n

Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact.

" - } - }, - "Name": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", + "AcceptLanguage": { + "target": "com.amazonaws.servicecatalog#AcceptLanguage", "traits": { - "smithy.api#documentation": "

The updated name of the provisioning artifact.

" + "smithy.api#documentation": "

The language code.

\n " } }, - "Guidance": { - "target": "com.amazonaws.servicecatalog#ProvisioningArtifactGuidance", + "ProductId": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

\n

The DEFAULT value indicates that the product version is active.

\n

The administrator can set the guidance to DEPRECATED to inform\n users that the product version is deprecated. Users are able to make updates to a provisioned product \n of a deprecated version but cannot launch new provisioned products using a deprecated version.

" + "smithy.api#documentation": "

The product identifier.

", + "smithy.api#required": {} } }, "ProvisioningArtifactId": { @@ -9445,11 +9440,10 @@ "smithy.api#required": {} } }, - "ProductId": { - "target": "com.amazonaws.servicecatalog#Id", + "Name": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactName", "traits": { - "smithy.api#documentation": "

The product identifier.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The updated name of the provisioning artifact.

" } }, "Description": { @@ -9458,10 +9452,16 @@ "smithy.api#documentation": "

The updated description of the provisioning artifact.

" } }, - "AcceptLanguage": { - "target": "com.amazonaws.servicecatalog#AcceptLanguage", + "Active": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactActive", "traits": { - "smithy.api#documentation": "

The language code.

\n " + "smithy.api#documentation": "

Indicates whether the product version is active.

\n

Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact.

" + } + }, + "Guidance": { + "target": "com.amazonaws.servicecatalog#ProvisioningArtifactGuidance", + "traits": { + "smithy.api#documentation": "

Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

\n

The DEFAULT value indicates that the product version is active.

\n

The administrator can set the guidance to DEPRECATED to inform\n users that the product version is deprecated. Users are able to make updates to a provisioned product \n of a deprecated version but cannot launch new provisioned products using a deprecated version.

" } } } @@ -9492,6 +9492,12 @@ "com.amazonaws.servicecatalog#UpdateProvisioningParameter": { "type": "structure", "members": { + "Key": { + "target": "com.amazonaws.servicecatalog#ParameterKey", + "traits": { + "smithy.api#documentation": "

The parameter key.

" + } + }, "Value": { "target": "com.amazonaws.servicecatalog#ParameterValue", "traits": { @@ -9503,12 +9509,6 @@ "traits": { "smithy.api#documentation": "

If set to true, Value is ignored and the previous parameter value is kept.

" } - }, - "Key": { - "target": "com.amazonaws.servicecatalog#ParameterKey", - "traits": { - "smithy.api#documentation": "

The parameter key.

" - } } }, "traits": { @@ -9524,6 +9524,18 @@ "com.amazonaws.servicecatalog#UpdateProvisioningPreferences": { "type": "structure", "members": { + "StackSetAccounts": { + "target": "com.amazonaws.servicecatalog#StackSetAccounts", + "traits": { + "smithy.api#documentation": "

One or more AWS accounts that will have access to the provisioned product.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the DescribeProvisioningParameters operation.

\n

If no values are specified, the default value is all accounts from the STACKSET constraint.

" + } + }, + "StackSetRegions": { + "target": "com.amazonaws.servicecatalog#StackSetRegions", + "traits": { + "smithy.api#documentation": "

One or more AWS Regions where the provisioned product will be available.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the DescribeProvisioningParameters operation.

\n

If no values are specified, the default value is all regions from the STACKSET constraint.

" + } + }, "StackSetFailureToleranceCount": { "target": "com.amazonaws.servicecatalog#StackSetFailureToleranceCount", "traits": { @@ -9536,16 +9548,16 @@ "smithy.api#documentation": "

The percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

\n

When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetFailureToleranceCount or StackSetFailureTolerancePercentage, but not both.

" } }, - "StackSetMaxConcurrencyPercentage": { - "target": "com.amazonaws.servicecatalog#StackSetMaxConcurrencyPercentage", + "StackSetMaxConcurrencyCount": { + "target": "com.amazonaws.servicecatalog#StackSetMaxConcurrencyCount", "traits": { - "smithy.api#documentation": "

The maximum percentage of accounts in which to perform this operation at one time.

\n

When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead.

\n

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

" + "smithy.api#documentation": "

The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of StackSetFailureToleranceCount. StackSetMaxConcurrentCount is at most one more than the StackSetFailureToleranceCount.

\n

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

" } }, - "StackSetAccounts": { - "target": "com.amazonaws.servicecatalog#StackSetAccounts", + "StackSetMaxConcurrencyPercentage": { + "target": "com.amazonaws.servicecatalog#StackSetMaxConcurrencyPercentage", "traits": { - "smithy.api#documentation": "

One or more AWS accounts that will have access to the provisioned product.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the DescribeProvisioningParameters operation.

\n

If no values are specified, the default value is all accounts from the STACKSET constraint.

" + "smithy.api#documentation": "

The maximum percentage of accounts in which to perform this operation at one time.

\n

When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead.

\n

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

" } }, "StackSetOperationType": { @@ -9553,18 +9565,6 @@ "traits": { "smithy.api#documentation": "

Determines what action AWS Service Catalog performs to a stack set or a stack instance represented by the provisioned product. The default value is UPDATE if nothing is specified.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n
\n
CREATE
\n
\n

Creates a new stack instance in the stack set represented by the provisioned product. In this case, only new stack instances are created based on accounts and regions; if new ProductId or ProvisioningArtifactID are passed, they will be ignored.

\n
\n
UPDATE
\n
\n

Updates the stack set represented by the provisioned product and also its stack instances.

\n
\n
DELETE
\n
\n

Deletes a stack instance in the stack set represented by the provisioned product.

\n
\n
" } - }, - "StackSetRegions": { - "target": "com.amazonaws.servicecatalog#StackSetRegions", - "traits": { - "smithy.api#documentation": "

One or more AWS Regions where the provisioned product will be available.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the DescribeProvisioningParameters operation.

\n

If no values are specified, the default value is all regions from the STACKSET constraint.

" - } - }, - "StackSetMaxConcurrencyCount": { - "target": "com.amazonaws.servicecatalog#StackSetMaxConcurrencyCount", - "traits": { - "smithy.api#documentation": "

The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of StackSetFailureToleranceCount. StackSetMaxConcurrentCount is at most one more than the StackSetFailureToleranceCount.

\n

Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

\n

Applicable only to a CFN_STACKSET provisioned product type.

\n

Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

" - } } }, "traits": { @@ -9594,10 +9594,11 @@ "com.amazonaws.servicecatalog#UpdateServiceActionInput": { "type": "structure", "members": { - "Definition": { - "target": "com.amazonaws.servicecatalog#ServiceActionDefinitionMap", + "Id": { + "target": "com.amazonaws.servicecatalog#Id", "traits": { - "smithy.api#documentation": "

A map that defines the self-service action.

" + "smithy.api#documentation": "

The self-service action identifier.

", + "smithy.api#required": {} } }, "Name": { @@ -9606,6 +9607,12 @@ "smithy.api#documentation": "

The self-service action name.

" } }, + "Definition": { + "target": "com.amazonaws.servicecatalog#ServiceActionDefinitionMap", + "traits": { + "smithy.api#documentation": "

A map that defines the self-service action.

" + } + }, "Description": { "target": "com.amazonaws.servicecatalog#ServiceActionDescription", "traits": { @@ -9617,13 +9624,6 @@ "traits": { "smithy.api#documentation": "

The language code.

\n " } - }, - "Id": { - "target": "com.amazonaws.servicecatalog#Id", - "traits": { - "smithy.api#documentation": "

The self-service action identifier.

", - "smithy.api#required": {} - } } } }, @@ -9667,12 +9667,6 @@ "com.amazonaws.servicecatalog#UpdateTagOptionInput": { "type": "structure", "members": { - "Active": { - "target": "com.amazonaws.servicecatalog#TagOptionActive", - "traits": { - "smithy.api#documentation": "

The updated active state.

" - } - }, "Id": { "target": "com.amazonaws.servicecatalog#TagOptionId", "traits": { @@ -9685,6 +9679,12 @@ "traits": { "smithy.api#documentation": "

The updated value.

" } + }, + "Active": { + "target": "com.amazonaws.servicecatalog#TagOptionActive", + "traits": { + "smithy.api#documentation": "

The updated active state.

" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json b/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json index 840aa6e9d45b..99ee950357f2 100644 --- a/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json +++ b/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json @@ -2089,6 +2089,10 @@ { "value": "TagKey", "name": "TAG_KEY" + }, + { + "value": "TargetResourceGroup", + "name": "TARGET_RESOURCE_GROUP" } ] } @@ -19962,7 +19966,7 @@ "value": { "target": "com.amazonaws.ssm#SessionFilterValue", "traits": { - "smithy.api#documentation": "

The filter value. Valid values for each filter key are as follows:

\n ", + "smithy.api#documentation": "

The filter value. Valid values for each filter key are as follows:

\n ", "smithy.api#required": {} } } @@ -19994,6 +19998,10 @@ { "value": "Status", "name": "STATUS" + }, + { + "value": "SessionId", + "name": "SESSION_ID" } ] } @@ -20006,7 +20014,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 5 + "max": 6 } } }, diff --git a/codegen/sdk-codegen/aws-models/storage-gateway.2013-06-30.json b/codegen/sdk-codegen/aws-models/storage-gateway.2013-06-30.json index c0627be4a64b..90d6f049153e 100644 --- a/codegen/sdk-codegen/aws-models/storage-gateway.2013-06-30.json +++ b/codegen/sdk-codegen/aws-models/storage-gateway.2013-06-30.json @@ -52,43 +52,50 @@ "com.amazonaws.storagegateway#ActivateGatewayInput": { "type": "structure", "members": { - "GatewayRegion": { - "target": "com.amazonaws.storagegateway#RegionId", + "ActivationKey": { + "target": "com.amazonaws.storagegateway#ActivationKey", "traits": { - "smithy.api#documentation": "

A value that indicates the AWS Region where you want to store your data. The gateway AWS\n Region specified must be the same AWS Region as the AWS Region in your Host\n header in the request. For more information about available AWS Regions and endpoints for\n AWS Storage Gateway, see AWS\n Storage Gateway endpoints and quotas in the AWS General\n Reference.

\n\n

Valid Values: See AWS\n Storage Gateway endpoints and quotas in the AWS General\n Reference.\n \n

", + "smithy.api#documentation": "

Your gateway activation key. You can obtain the activation key by sending an HTTP GET\n request with redirects enabled to the gateway IP address (port 80). The redirect URL\n returned in the response provides you the activation key for your gateway in the query\n string parameter activationKey. It may also include other activation-related\n parameters, however, these are merely defaults -- the arguments you pass to the\n ActivateGateway API call determine the actual configuration of your\n gateway.

\n\n \n\n

For more information, see Getting activation\n key in the AWS Storage Gateway User Guide.

", "smithy.api#required": {} } }, - "GatewayType": { - "target": "com.amazonaws.storagegateway#GatewayType", + "GatewayName": { + "target": "com.amazonaws.storagegateway#GatewayName", "traits": { - "smithy.api#documentation": "

A value that defines the type of gateway to activate. The type specified is critical to\n all later functions of the gateway and cannot be changed after activation. The default\n value is CACHED.

\n\n

Valid Values: STORED | CACHED | VTL |\n FILE_S3\n

" + "smithy.api#documentation": "

The name you configured for your gateway.

", + "smithy.api#required": {} } }, - "MediumChangerType": { - "target": "com.amazonaws.storagegateway#MediumChangerType", + "GatewayTimezone": { + "target": "com.amazonaws.storagegateway#GatewayTimezone", "traits": { - "smithy.api#documentation": "

The value that indicates the type of medium changer to use for tape gateway. This field\n is optional.

\n\n

Valid Values: STK-L700 | AWS-Gateway-VTL |\n IBM-03584L32-0402\n

" + "smithy.api#documentation": "

A value that indicates the time zone you want to set for the gateway. The time zone is\n of the format \"GMT-hr:mm\" or \"GMT+hr:mm\". For example, GMT-4:00 indicates the time is 4\n hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is\n used, for example, for scheduling snapshots and your gateway's maintenance\n schedule.

", + "smithy.api#required": {} } }, - "ActivationKey": { - "target": "com.amazonaws.storagegateway#ActivationKey", + "GatewayRegion": { + "target": "com.amazonaws.storagegateway#RegionId", "traits": { - "smithy.api#documentation": "

Your gateway activation key. You can obtain the activation key by sending an HTTP GET\n request with redirects enabled to the gateway IP address (port 80). The redirect URL\n returned in the response provides you the activation key for your gateway in the query\n string parameter activationKey. It may also include other activation-related\n parameters, however, these are merely defaults -- the arguments you pass to the\n ActivateGateway API call determine the actual configuration of your\n gateway.

\n\n \n\n

For more information, see Getting activation\n key in the AWS Storage Gateway User Guide.

", + "smithy.api#documentation": "

A value that indicates the AWS Region where you want to store your data. The gateway AWS\n Region specified must be the same AWS Region as the AWS Region in your Host\n header in the request. For more information about available AWS Regions and endpoints for\n AWS Storage Gateway, see AWS\n Storage Gateway endpoints and quotas in the AWS General\n Reference.

\n\n

Valid Values: See AWS\n Storage Gateway endpoints and quotas in the AWS General\n Reference.\n \n

", "smithy.api#required": {} } }, + "GatewayType": { + "target": "com.amazonaws.storagegateway#GatewayType", + "traits": { + "smithy.api#documentation": "

A value that defines the type of gateway to activate. The type specified is critical to\n all later functions of the gateway and cannot be changed after activation. The default\n value is CACHED.

\n\n

Valid Values: STORED | CACHED | VTL |\n FILE_S3\n

" + } + }, "TapeDriveType": { "target": "com.amazonaws.storagegateway#TapeDriveType", "traits": { "smithy.api#documentation": "

The value that indicates the type of tape drive to use for tape gateway. This field is\n optional.

\n\n

Valid Values: IBM-ULT3580-TD5\n

" } }, - "GatewayTimezone": { - "target": "com.amazonaws.storagegateway#GatewayTimezone", + "MediumChangerType": { + "target": "com.amazonaws.storagegateway#MediumChangerType", "traits": { - "smithy.api#documentation": "

A value that indicates the time zone you want to set for the gateway. The time zone is\n of the format \"GMT-hr:mm\" or \"GMT+hr:mm\". For example, GMT-4:00 indicates the time is 4\n hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is\n used, for example, for scheduling snapshots and your gateway's maintenance\n schedule.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The value that indicates the type of medium changer to use for tape gateway. This field\n is optional.

\n\n

Valid Values: STK-L700 | AWS-Gateway-VTL |\n IBM-03584L32-0402\n

" } }, "Tags": { @@ -96,13 +103,6 @@ "traits": { "smithy.api#documentation": "

A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers that can be\n represented in UTF-8 format, and the following special characters: + - = . _ : / @. The\n maximum length of a tag's key is 128 characters, and the maximum length for a\n tag's value is 256 characters.

\n
" } - }, - "GatewayName": { - "target": "com.amazonaws.storagegateway#GatewayName", - "traits": { - "smithy.api#documentation": "

The name you configured for your gateway.

", - "smithy.api#required": {} - } } }, "traits": { @@ -282,16 +282,16 @@ "com.amazonaws.storagegateway#AddUploadBufferInput": { "type": "structure", "members": { - "DiskIds": { - "target": "com.amazonaws.storagegateway#DiskIds", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

An array of strings that identify disks that are to be configured as working storage.\n Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs\n from the ListLocalDisks API.

", "smithy.api#required": {} } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "DiskIds": { + "target": "com.amazonaws.storagegateway#DiskIds", "traits": { + "smithy.api#documentation": "

An array of strings that identify disks that are to be configured as working storage.\n Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs\n from the ListLocalDisks API.

", "smithy.api#required": {} } } @@ -328,16 +328,16 @@ "com.amazonaws.storagegateway#AddWorkingStorageInput": { "type": "structure", "members": { - "DiskIds": { - "target": "com.amazonaws.storagegateway#DiskIds", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

An array of strings that identify disks that are to be configured as working storage.\n Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs\n from the ListLocalDisks API.

", "smithy.api#required": {} } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "DiskIds": { + "target": "com.amazonaws.storagegateway#DiskIds", "traits": { + "smithy.api#documentation": "

An array of strings that identify disks that are to be configured as working storage.\n Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs\n from the ListLocalDisks API.

", "smithy.api#required": {} } } @@ -380,17 +380,17 @@ "com.amazonaws.storagegateway#AssignTapePoolInput": { "type": "structure", "members": { - "PoolId": { - "target": "com.amazonaws.storagegateway#PoolId", + "TapeARN": { + "target": "com.amazonaws.storagegateway#TapeARN", "traits": { - "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the S3 storage class that is associated with the pool. When you use\n your backup application to eject the tape, the tape is archived directly into the storage\n class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

", + "smithy.api#documentation": "

The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the\n tape pool.

", "smithy.api#required": {} } }, - "TapeARN": { - "target": "com.amazonaws.storagegateway#TapeARN", + "PoolId": { + "target": "com.amazonaws.storagegateway#PoolId", "traits": { - "smithy.api#documentation": "

The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the\n tape pool.

", + "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the S3 storage class that is associated with the pool. When you use\n your backup application to eject the tape, the tape is archived directly into the storage\n class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

", "smithy.api#required": {} } }, @@ -436,10 +436,11 @@ "com.amazonaws.storagegateway#AttachVolumeInput": { "type": "structure", "members": { - "DiskId": { - "target": "com.amazonaws.storagegateway#DiskId", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

The unique device ID or other distinguishing data that identifies the local disk used to\n create the volume. This value is only required when you are attaching a stored\n volume.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gateway that you want to attach the volume\n to.

", + "smithy.api#required": {} } }, "TargetName": { @@ -462,11 +463,10 @@ "smithy.api#required": {} } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "DiskId": { + "target": "com.amazonaws.storagegateway#DiskId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gateway that you want to attach the volume\n to.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The unique device ID or other distinguishing data that identifies the local disk used to\n create the volume. This value is only required when you are attaching a stored\n volume.

" } } }, @@ -516,14 +516,14 @@ "com.amazonaws.storagegateway#AutomaticTapeCreationPolicyInfo": { "type": "structure", "members": { - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" - }, "AutomaticTapeCreationRules": { "target": "com.amazonaws.storagegateway#AutomaticTapeCreationRules", "traits": { "smithy.api#documentation": "

An automatic tape creation policy consists of a list of automatic tape creation rules.\n This returns the rules that determine when and how to automatically create new\n tapes.

" } + }, + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" } }, "traits": { @@ -539,31 +539,31 @@ "com.amazonaws.storagegateway#AutomaticTapeCreationRule": { "type": "structure", "members": { - "MinimumNumTapes": { - "target": "com.amazonaws.storagegateway#MinimumNumTapes", + "TapeBarcodePrefix": { + "target": "com.amazonaws.storagegateway#TapeBarcodePrefix", "traits": { - "smithy.api#documentation": "

The minimum number of available virtual tapes that the gateway maintains at all times.\n If the number of tapes on the gateway goes below this value, the gateway creates as many\n new tapes as are needed to have MinimumNumTapes on the gateway. For more\n information about automatic tape creation, see Creating Tapes Automatically.

", + "smithy.api#documentation": "

A prefix that you append to the barcode of the virtual tape that you are creating. This\n prefix makes the barcode unique.

\n\n \n

The prefix must be 1-4 characters in length and must be one of the uppercase letters\n from A to Z.

\n
", "smithy.api#required": {} } }, - "TapeSizeInBytes": { - "target": "com.amazonaws.storagegateway#TapeSize", + "PoolId": { + "target": "com.amazonaws.storagegateway#PoolId", "traits": { - "smithy.api#documentation": "

The size, in bytes, of the virtual tape capacity.

", + "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the Amazon S3 storage class that is associated with the pool. When you\n use your backup application to eject the tape, the tape is archived directly into the\n storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

", "smithy.api#required": {} } }, - "TapeBarcodePrefix": { - "target": "com.amazonaws.storagegateway#TapeBarcodePrefix", + "TapeSizeInBytes": { + "target": "com.amazonaws.storagegateway#TapeSize", "traits": { - "smithy.api#documentation": "

A prefix that you append to the barcode of the virtual tape that you are creating. This\n prefix makes the barcode unique.

\n\n \n

The prefix must be 1-4 characters in length and must be one of the uppercase letters\n from A to Z.

\n
", + "smithy.api#documentation": "

The size, in bytes, of the virtual tape capacity.

", "smithy.api#required": {} } }, - "PoolId": { - "target": "com.amazonaws.storagegateway#PoolId", + "MinimumNumTapes": { + "target": "com.amazonaws.storagegateway#MinimumNumTapes", "traits": { - "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the Amazon S3 storage class that is associated with the pool. When you\n use your backup application to eject the tape, the tape is archived directly into the\n storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

", + "smithy.api#documentation": "

The minimum number of available virtual tapes that the gateway maintains at all times.\n If the number of tapes on the gateway goes below this value, the gateway creates as many\n new tapes as are needed to have MinimumNumTapes on the gateway. For more\n information about automatic tape creation, see Creating Tapes Automatically.

", "smithy.api#required": {} } }, @@ -615,6 +615,73 @@ } } }, + "com.amazonaws.storagegateway#BandwidthRateLimitInterval": { + "type": "structure", + "members": { + "StartHourOfDay": { + "target": "com.amazonaws.storagegateway#HourOfDay", + "traits": { + "smithy.api#documentation": "

\n The hour of the day to start the bandwidth rate limit interval.\n

", + "smithy.api#required": {} + } + }, + "StartMinuteOfHour": { + "target": "com.amazonaws.storagegateway#MinuteOfHour", + "traits": { + "smithy.api#documentation": "

\n The minute of the hour to start the bandwidth rate limit interval.\n The interval begins at the start of that minute. To begin an interval exactly at \n the start of the hour, use the value 0.\n

", + "smithy.api#required": {} + } + }, + "EndHourOfDay": { + "target": "com.amazonaws.storagegateway#HourOfDay", + "traits": { + "smithy.api#documentation": "

\n The hour of the day to end the bandwidth rate limit interval.\n

", + "smithy.api#required": {} + } + }, + "EndMinuteOfHour": { + "target": "com.amazonaws.storagegateway#MinuteOfHour", + "traits": { + "smithy.api#documentation": "

\n The minute of the hour to end the bandwidth rate limit interval.\n

\n \n \n

\n The bandwidth rate limit interval ends at the end of the minute. To end an interval\n at the end of an hour, use the value 59.\n

\n
", + "smithy.api#required": {} + } + }, + "DaysOfWeek": { + "target": "com.amazonaws.storagegateway#DaysOfWeek", + "traits": { + "smithy.api#documentation": "

\n The days of the week component of the bandwidth rate limit interval, \n represented as ordinal numbers from 0 to 6, where 0 represents Sunday and 6 Saturday. \n

", + "smithy.api#required": {} + } + }, + "AverageUploadRateLimitInBitsPerSec": { + "target": "com.amazonaws.storagegateway#BandwidthUploadRateLimit", + "traits": { + "smithy.api#documentation": "

\n The average upload rate limit component of the bandwidth rate limit interval,\n in bits per second. This field does not appear in the response if the upload rate limit is not set. \n

" + } + }, + "AverageDownloadRateLimitInBitsPerSec": { + "target": "com.amazonaws.storagegateway#BandwidthDownloadRateLimit", + "traits": { + "smithy.api#documentation": "

\n The average download rate limit component of the bandwidth rate limit interval, \n in bits per second. This field does not appear in the response if the download rate limit is not set. \n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n Describes a bandwidth rate limit interval for a gateway. A bandwidth\n rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit\n interval defines a period of time on one or more days of the week, during which bandwidth rate \n limits are specified for uploading, downloading, or both. \n

" + } + }, + "com.amazonaws.storagegateway#BandwidthRateLimitIntervals": { + "type": "list", + "member": { + "target": "com.amazonaws.storagegateway#BandwidthRateLimitInterval" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 20 + } + } + }, "com.amazonaws.storagegateway#BandwidthType": { "type": "string", "traits": { @@ -665,37 +732,28 @@ "com.amazonaws.storagegateway#CachediSCSIVolume": { "type": "structure", "members": { - "VolumeUsedInBytes": { - "target": "com.amazonaws.storagegateway#VolumeUsedInBytes", - "traits": { - "smithy.api#documentation": "

The size of the data stored on the volume in bytes. This value is calculated based on\n the number of blocks that are touched, instead of the actual amount of data written. This\n value can be useful for sequential write patterns but less accurate for random write\n patterns. VolumeUsedInBytes is different from the compressed size of the\n volume, which is the value that is used to calculate your bill.

\n\n \n

This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.

\n
" - } - }, - "TargetName": { - "target": "com.amazonaws.storagegateway#TargetName", + "VolumeARN": { + "target": "com.amazonaws.storagegateway#VolumeARN", "traits": { - "smithy.api#documentation": "

The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.\n The target name must be unique across all volumes on a gateway.

\n\n

If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the storage volume.

" } }, - "VolumeStatus": { - "target": "com.amazonaws.storagegateway#VolumeStatus", + "VolumeId": { + "target": "com.amazonaws.storagegateway#VolumeId", "traits": { - "smithy.api#documentation": "

One of the VolumeStatus values that indicates the state of the storage volume.

" + "smithy.api#documentation": "

The unique identifier of the volume, e.g., vol-AE4B946D.

" } }, - "KMSKey": { - "target": "com.amazonaws.storagegateway#KMSKey" - }, - "VolumeiSCSIAttributes": { - "target": "com.amazonaws.storagegateway#VolumeiSCSIAttributes", + "VolumeType": { + "target": "com.amazonaws.storagegateway#VolumeType", "traits": { - "smithy.api#documentation": "

An VolumeiSCSIAttributes object that represents a collection of iSCSI\n attributes for one stored volume.

" + "smithy.api#documentation": "

One of the VolumeType enumeration values that describes the type of the volume.

" } }, - "CreatedDate": { - "target": "com.amazonaws.storagegateway#CreatedDate", + "VolumeStatus": { + "target": "com.amazonaws.storagegateway#VolumeStatus", "traits": { - "smithy.api#documentation": "

The date the volume was created. Volumes created prior to March 28, 2017 don’t have this\n timestamp.

" + "smithy.api#documentation": "

One of the VolumeStatus values that indicates the state of the storage volume.

" } }, "VolumeAttachmentStatus": { @@ -704,40 +762,49 @@ "smithy.api#documentation": "

A value that indicates whether a storage volume is attached to or detached from a\n gateway. For more information, see Moving\n your volumes to a different gateway.

" } }, + "VolumeSizeInBytes": { + "target": "com.amazonaws.storagegateway#long", + "traits": { + "smithy.api#documentation": "

The size, in bytes, of the volume capacity.

" + } + }, "VolumeProgress": { "target": "com.amazonaws.storagegateway#DoubleObject", "traits": { "smithy.api#documentation": "

Represents the percentage complete if the volume is restoring or bootstrapping that\n represents the percent of data transferred. This field does not appear in the response if\n the cached volume is not restoring or bootstrapping.

" } }, - "VolumeSizeInBytes": { - "target": "com.amazonaws.storagegateway#long", + "SourceSnapshotId": { + "target": "com.amazonaws.storagegateway#SnapshotId", "traits": { - "smithy.api#documentation": "

The size, in bytes, of the volume capacity.

" + "smithy.api#documentation": "

If the cached volume was created from a snapshot, this field contains the snapshot ID\n used, e.g., snap-78e22663. Otherwise, this field is not included.

" } }, - "VolumeId": { - "target": "com.amazonaws.storagegateway#VolumeId", + "VolumeiSCSIAttributes": { + "target": "com.amazonaws.storagegateway#VolumeiSCSIAttributes", "traits": { - "smithy.api#documentation": "

The unique identifier of the volume, e.g., vol-AE4B946D.

" + "smithy.api#documentation": "

An VolumeiSCSIAttributes object that represents a collection of iSCSI\n attributes for one stored volume.

" } }, - "VolumeType": { - "target": "com.amazonaws.storagegateway#VolumeType", + "CreatedDate": { + "target": "com.amazonaws.storagegateway#CreatedDate", "traits": { - "smithy.api#documentation": "

One of the VolumeType enumeration values that describes the type of the volume.

" + "smithy.api#documentation": "

The date the volume was created. Volumes created prior to March 28, 2017 don’t have this\n timestamp.

" } }, - "SourceSnapshotId": { - "target": "com.amazonaws.storagegateway#SnapshotId", + "VolumeUsedInBytes": { + "target": "com.amazonaws.storagegateway#VolumeUsedInBytes", "traits": { - "smithy.api#documentation": "

If the cached volume was created from a snapshot, this field contains the snapshot ID\n used, e.g., snap-78e22663. Otherwise, this field is not included.

" + "smithy.api#documentation": "

The size of the data stored on the volume in bytes. This value is calculated based on\n the number of blocks that are touched, instead of the actual amount of data written. This\n value can be useful for sequential write patterns but less accurate for random write\n patterns. VolumeUsedInBytes is different from the compressed size of the\n volume, which is the value that is used to calculate your bill.

\n\n \n

This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.

\n
" } }, - "VolumeARN": { - "target": "com.amazonaws.storagegateway#VolumeARN", + "KMSKey": { + "target": "com.amazonaws.storagegateway#KMSKey" + }, + "TargetName": { + "target": "com.amazonaws.storagegateway#TargetName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the storage volume.

" + "smithy.api#documentation": "

The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.\n The target name must be unique across all volumes on a gateway.

\n\n

If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.

" } } }, @@ -829,16 +896,16 @@ "com.amazonaws.storagegateway#CancelRetrievalInput": { "type": "structure", "members": { - "TapeARN": { - "target": "com.amazonaws.storagegateway#TapeARN", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval\n for.

", "smithy.api#required": {} } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "TapeARN": { + "target": "com.amazonaws.storagegateway#TapeARN", "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval\n for.

", "smithy.api#required": {} } } @@ -883,28 +950,28 @@ "com.amazonaws.storagegateway#ChapInfo": { "type": "structure", "members": { - "SecretToAuthenticateTarget": { - "target": "com.amazonaws.storagegateway#ChapSecret", + "TargetARN": { + "target": "com.amazonaws.storagegateway#TargetARN", "traits": { - "smithy.api#documentation": "

The secret key that the target must provide to participate in mutual CHAP with the\n initiator (e.g., Windows client).

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the volume.

\n\n

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

" } }, - "InitiatorName": { - "target": "com.amazonaws.storagegateway#IqnName", + "SecretToAuthenticateInitiator": { + "target": "com.amazonaws.storagegateway#ChapSecret", "traits": { - "smithy.api#documentation": "

The iSCSI initiator that connects to the target.

" + "smithy.api#documentation": "

The secret key that the initiator (for example, the Windows client) must provide to\n participate in mutual CHAP with the target.

" } }, - "TargetARN": { - "target": "com.amazonaws.storagegateway#TargetARN", + "InitiatorName": { + "target": "com.amazonaws.storagegateway#IqnName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the volume.

\n\n

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

" + "smithy.api#documentation": "

The iSCSI initiator that connects to the target.

" } }, - "SecretToAuthenticateInitiator": { + "SecretToAuthenticateTarget": { "target": "com.amazonaws.storagegateway#ChapSecret", "traits": { - "smithy.api#documentation": "

The secret key that the initiator (for example, the Windows client) must provide to\n participate in mutual CHAP with the target.

" + "smithy.api#documentation": "

The secret key that the target must provide to participate in mutual CHAP with the\n initiator (e.g., Windows client).

" } } }, @@ -963,29 +1030,36 @@ "com.amazonaws.storagegateway#CreateCachediSCSIVolumeInput": { "type": "structure", "members": { - "SourceVolumeARN": { - "target": "com.amazonaws.storagegateway#VolumeARN", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

The ARN for an existing volume. Specifying this ARN makes the new volume into an exact\n copy of the specified existing volume's latest recovery point. The\n VolumeSizeInBytes value for this new volume must be equal to or larger than\n the size of the existing volume, in bytes.

" + "smithy.api#required": {} } }, - "TargetName": { - "target": "com.amazonaws.storagegateway#TargetName", + "VolumeSizeInBytes": { + "target": "com.amazonaws.storagegateway#long", "traits": { - "smithy.api#documentation": "

The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.\n The target name must be unique across all volumes on a gateway.

\n\n

If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.

", + "smithy.api#documentation": "

The size of the volume in bytes.

", "smithy.api#required": {} } }, - "KMSEncrypted": { - "target": "com.amazonaws.storagegateway#Boolean", + "SnapshotId": { + "target": "com.amazonaws.storagegateway#SnapshotId", "traits": { - "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The snapshot ID (e.g. \"snap-1122aabb\") of the snapshot to restore as the new cached\n volume. Specify this field if you want to create the iSCSI storage volume from a snapshot;\n otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API\n Reference.

" } }, - "KMSKey": { - "target": "com.amazonaws.storagegateway#KMSKey", + "TargetName": { + "target": "com.amazonaws.storagegateway#TargetName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" + "smithy.api#documentation": "

The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.\n The target name must be unique across all volumes on a gateway.

\n\n

If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.

", + "smithy.api#required": {} + } + }, + "SourceVolumeARN": { + "target": "com.amazonaws.storagegateway#VolumeARN", + "traits": { + "smithy.api#documentation": "

The ARN for an existing volume. Specifying this ARN makes the new volume into an exact\n copy of the specified existing volume's latest recovery point. The\n VolumeSizeInBytes value for this new volume must be equal to or larger than\n the size of the existing volume, in bytes.

" } }, "NetworkInterfaceId": { @@ -1002,29 +1076,22 @@ "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", - "traits": { - "smithy.api#documentation": "

A list of up to 50 tags that you can assign to a cached volume. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers that you can\n represent in UTF-8 format, and the following special characters: + - = . _ : / @. The\n maximum length of a tag's key is 128 characters, and the maximum length for a\n tag's value is 256 characters.

\n
" - } - }, - "SnapshotId": { - "target": "com.amazonaws.storagegateway#SnapshotId", + "KMSEncrypted": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The snapshot ID (e.g. \"snap-1122aabb\") of the snapshot to restore as the new cached\n volume. Specify this field if you want to create the iSCSI storage volume from a snapshot;\n otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API\n Reference.

" + "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "KMSKey": { + "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#required": {} + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" } }, - "VolumeSizeInBytes": { - "target": "com.amazonaws.storagegateway#long", + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "

The size of the volume in bytes.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A list of up to 50 tags that you can assign to a cached volume. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers that you can\n represent in UTF-8 format, and the following special characters: + - = . _ : / @. The\n maximum length of a tag's key is 128 characters, and the maximum length for a\n tag's value is 256 characters.

\n
" } } } @@ -1069,28 +1136,36 @@ "com.amazonaws.storagegateway#CreateNFSFileShareInput": { "type": "structure", "members": { - "DefaultStorageClass": { - "target": "com.amazonaws.storagegateway#StorageClass", + "ClientToken": { + "target": "com.amazonaws.storagegateway#ClientToken", "traits": { - "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" + "smithy.api#documentation": "

A unique string value that you supply that is used by file gateway to ensure idempotent\n file share creation.

", + "smithy.api#required": {} } }, - "ClientList": { - "target": "com.amazonaws.storagegateway#FileShareClientList", + "NFSFileShareDefaults": { + "target": "com.amazonaws.storagegateway#NFSFileShareDefaults", "traits": { - "smithy.api#documentation": "

The list of clients that are allowed to access the file gateway. The list must contain\n either valid IP addresses or valid CIDR blocks.

" + "smithy.api#documentation": "

File share default values. Optional.

" } }, - "ObjectACL": { - "target": "com.amazonaws.storagegateway#ObjectACL", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that a file gateway puts objects into. The default value is private.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the file gateway on which you want to create a file\n share.

", + "smithy.api#required": {} } }, - "Squash": { - "target": "com.amazonaws.storagegateway#Squash", + "KMSEncrypted": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

A value that maps a user to anonymous user.

\n\n

Valid values are the following:

\n\n " + "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + } + }, + "KMSKey": { + "target": "com.amazonaws.storagegateway#KMSKey", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" } }, "Role": { @@ -1107,41 +1182,46 @@ "smithy.api#required": {} } }, - "KMSEncrypted": { - "target": "com.amazonaws.storagegateway#Boolean", + "DefaultStorageClass": { + "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" } }, - "FileShareName": { - "target": "com.amazonaws.storagegateway#FileShareName", + "ObjectACL": { + "target": "com.amazonaws.storagegateway#ObjectACL", "traits": { - "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" + "smithy.api#documentation": "

A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that a file gateway puts objects into. The default value is private.

" } }, - "RequesterPays": { - "target": "com.amazonaws.storagegateway#Boolean", + "ClientList": { + "target": "com.amazonaws.storagegateway#FileShareClientList", "traits": { - "smithy.api#documentation": "

A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.

\n\n \n

\n RequesterPays is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.

\n
\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The list of clients that are allowed to access the file gateway. The list must contain\n either valid IP addresses or valid CIDR blocks.

" } }, - "GuessMIMETypeEnabled": { + "Squash": { + "target": "com.amazonaws.storagegateway#Squash", + "traits": { + "smithy.api#documentation": "

A value that maps a user to anonymous user.

\n\n

Valid values are the following:

\n\n " + } + }, + "ReadOnly": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set the write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" } }, - "ClientToken": { - "target": "com.amazonaws.storagegateway#ClientToken", + "GuessMIMETypeEnabled": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

A unique string value that you supply that is used by file gateway to ensure idempotent\n file share creation.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" } }, - "CacheAttributes": { - "target": "com.amazonaws.storagegateway#CacheAttributes", + "RequesterPays": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

Refresh cache information.

" + "smithy.api#documentation": "

A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.

\n\n \n

\n RequesterPays is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.

\n
\n\n

Valid Values: true | false\n

" } }, "Tags": { @@ -1150,35 +1230,22 @@ "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a\n key-value pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" } }, - "NotificationPolicy": { - "target": "com.amazonaws.storagegateway#NotificationPolicy", - "traits": { - "smithy.api#documentation": "

The notification policy of the file share.

" - } - }, - "ReadOnly": { - "target": "com.amazonaws.storagegateway#Boolean", - "traits": { - "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set the write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" - } - }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "FileShareName": { + "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the file gateway on which you want to create a file\n share.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" } }, - "KMSKey": { - "target": "com.amazonaws.storagegateway#KMSKey", + "CacheAttributes": { + "target": "com.amazonaws.storagegateway#CacheAttributes", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" + "smithy.api#documentation": "

Refresh cache information.

" } }, - "NFSFileShareDefaults": { - "target": "com.amazonaws.storagegateway#NFSFileShareDefaults", + "NotificationPolicy": { + "target": "com.amazonaws.storagegateway#NotificationPolicy", "traits": { - "smithy.api#documentation": "

File share default values. Optional.

" + "smithy.api#documentation": "

The notification policy of the file share.

" } } }, @@ -1223,23 +1290,24 @@ "com.amazonaws.storagegateway#CreateSMBFileShareInput": { "type": "structure", "members": { - "Role": { - "target": "com.amazonaws.storagegateway#Role", + "ClientToken": { + "target": "com.amazonaws.storagegateway#ClientToken", "traits": { - "smithy.api#documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes\n when it accesses the underlying storage.

", + "smithy.api#documentation": "

A unique string value that you supply that is used by file gateway to ensure idempotent\n file share creation.

", "smithy.api#required": {} } }, - "AuditDestinationARN": { - "target": "com.amazonaws.storagegateway#AuditDestinationARN", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the storage used for the audit logs.

" + "smithy.api#documentation": "

The ARN of the file gateway on which you want to create a file share.

", + "smithy.api#required": {} } }, - "SMBACLEnabled": { + "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

Set this value to true to enable access control list (ACL) on the SMB file\n share. Set it to false to map file and directory permissions to the POSIX\n permissions.

\n\n \n\n

For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the AWS Storage Gateway User\n Guide.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" } }, "KMSKey": { @@ -1248,47 +1316,42 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" } }, - "Authentication": { - "target": "com.amazonaws.storagegateway#Authentication", - "traits": { - "smithy.api#documentation": "

The authentication method that users use to access the file share. The default is\n ActiveDirectory.

\n\n

Valid Values: ActiveDirectory | GuestAccess\n

" - } - }, - "DefaultStorageClass": { - "target": "com.amazonaws.storagegateway#StorageClass", + "Role": { + "target": "com.amazonaws.storagegateway#Role", "traits": { - "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" + "smithy.api#documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes\n when it accesses the underlying storage.

", + "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", + "LocationARN": { + "target": "com.amazonaws.storagegateway#LocationARN", "traits": { - "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a\n key-value pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" + "smithy.api#documentation": "

The ARN of the backend storage used for storing file data. A prefix name can be added to\n the S3 bucket name. It must end with a \"/\".

", + "smithy.api#required": {} } }, - "CacheAttributes": { - "target": "com.amazonaws.storagegateway#CacheAttributes", + "DefaultStorageClass": { + "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

Refresh cache information.

" + "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" } }, - "ValidUserList": { - "target": "com.amazonaws.storagegateway#FileShareUserList", + "ObjectACL": { + "target": "com.amazonaws.storagegateway#ObjectACL", "traits": { - "smithy.api#documentation": "

A list of users or groups in the Active Directory that are allowed to access the file\n share. A group must be prefixed with the @ character. Acceptable formats\n include: DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" + "smithy.api#documentation": "

A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that a file gateway puts objects into. The default value is private.

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "ReadOnly": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The ARN of the file gateway on which you want to create a file share.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set the write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" } }, - "FileShareName": { - "target": "com.amazonaws.storagegateway#FileShareName", + "GuessMIMETypeEnabled": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" + "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" } }, "RequesterPays": { @@ -1297,17 +1360,16 @@ "smithy.api#documentation": "

A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.

\n\n \n

\n RequesterPays is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.

\n
\n\n

Valid Values: true | false\n

" } }, - "InvalidUserList": { - "target": "com.amazonaws.storagegateway#FileShareUserList", + "SMBACLEnabled": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

A list of users or groups in the Active Directory that are not allowed to access the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" + "smithy.api#documentation": "

Set this value to true to enable access control list (ACL) on the SMB file\n share. Set it to false to map file and directory permissions to the POSIX\n permissions.

\n\n \n\n

For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the AWS Storage Gateway User\n Guide.

\n\n

Valid Values: true | false\n

" } }, - "LocationARN": { - "target": "com.amazonaws.storagegateway#LocationARN", + "AccessBasedEnumeration": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The ARN of the backend storage used for storing file data. A prefix name can be added to\n the S3 bucket name. It must end with a \"/\".

", - "smithy.api#required": {} + "smithy.api#documentation": "

The files and folders on this share will only be visible to users with read\n access.

" } }, "AdminUserList": { @@ -1316,29 +1378,28 @@ "smithy.api#documentation": "

A list of users or groups in the Active Directory that will be granted administrator\n privileges on the file share. These users can do all file operations as the super-user.\n Acceptable formats include: DOMAIN\\User1, user1,\n @group1, and @DOMAIN\\group1.

\n\n \n

Use this option very carefully, because any user in this list can do anything they\n like on the file share, regardless of file permissions.

\n
" } }, - "GuessMIMETypeEnabled": { - "target": "com.amazonaws.storagegateway#Boolean", + "ValidUserList": { + "target": "com.amazonaws.storagegateway#FileShareUserList", "traits": { - "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

A list of users or groups in the Active Directory that are allowed to access the file\n share. A group must be prefixed with the @ character. Acceptable formats\n include: DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" } }, - "KMSEncrypted": { - "target": "com.amazonaws.storagegateway#Boolean", + "InvalidUserList": { + "target": "com.amazonaws.storagegateway#FileShareUserList", "traits": { - "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

A list of users or groups in the Active Directory that are not allowed to access the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" } }, - "ClientToken": { - "target": "com.amazonaws.storagegateway#ClientToken", + "AuditDestinationARN": { + "target": "com.amazonaws.storagegateway#AuditDestinationARN", "traits": { - "smithy.api#documentation": "

A unique string value that you supply that is used by file gateway to ensure idempotent\n file share creation.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the storage used for the audit logs.

" } }, - "AccessBasedEnumeration": { - "target": "com.amazonaws.storagegateway#Boolean", + "Authentication": { + "target": "com.amazonaws.storagegateway#Authentication", "traits": { - "smithy.api#documentation": "

The files and folders on this share will only be visible to users with read\n access.

" + "smithy.api#documentation": "

The authentication method that users use to access the file share. The default is\n ActiveDirectory.

\n\n

Valid Values: ActiveDirectory | GuestAccess\n

" } }, "CaseSensitivity": { @@ -1347,22 +1408,28 @@ "smithy.api#documentation": "

The case of an object name in an Amazon S3 bucket. For ClientSpecified, the\n client determines the case sensitivity. For CaseSensitive, the gateway\n determines the case sensitivity. The default value is ClientSpecified.

" } }, - "NotificationPolicy": { - "target": "com.amazonaws.storagegateway#NotificationPolicy", + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "

The notification policy of the file share.

" + "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a\n key-value pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" } }, - "ReadOnly": { - "target": "com.amazonaws.storagegateway#Boolean", + "FileShareName": { + "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set the write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" } }, - "ObjectACL": { - "target": "com.amazonaws.storagegateway#ObjectACL", + "CacheAttributes": { + "target": "com.amazonaws.storagegateway#CacheAttributes", "traits": { - "smithy.api#documentation": "

A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that a file gateway puts objects into. The default value is private.

" + "smithy.api#documentation": "

Refresh cache information.

" + } + }, + "NotificationPolicy": { + "target": "com.amazonaws.storagegateway#NotificationPolicy", + "traits": { + "smithy.api#documentation": "

The notification policy of the file share.

" } } }, @@ -1440,30 +1507,24 @@ "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", - "traits": { - "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" - } - }, "SnapshotDescription": { "target": "com.amazonaws.storagegateway#SnapshotDescription", "traits": { "smithy.api#documentation": "

Textual description of the snapshot that appears in the Amazon EC2 console, Elastic\n Block Store snapshots panel in the Description field, and\n in the AWS Storage Gateway snapshot Details pane,\n Description field.

", "smithy.api#required": {} } + }, + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", + "traits": { + "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" + } } } }, "com.amazonaws.storagegateway#CreateSnapshotFromVolumeRecoveryPointOutput": { "type": "structure", "members": { - "VolumeRecoveryPointTime": { - "target": "com.amazonaws.storagegateway#string", - "traits": { - "smithy.api#documentation": "

The time the volume was created from the recovery point.

" - } - }, "SnapshotId": { "target": "com.amazonaws.storagegateway#SnapshotId", "traits": { @@ -1475,6 +1536,12 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for\n specified VolumeARN.

" } + }, + "VolumeRecoveryPointTime": { + "target": "com.amazonaws.storagegateway#string", + "traits": { + "smithy.api#documentation": "

The time the volume was created from the recovery point.

" + } } } }, @@ -1488,18 +1555,18 @@ "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", - "traits": { - "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" - } - }, "SnapshotDescription": { "target": "com.amazonaws.storagegateway#SnapshotDescription", "traits": { "smithy.api#documentation": "

Textual description of the snapshot that appears in the Amazon EC2 console, Elastic\n Block Store snapshots panel in the Description field, and\n in the AWS Storage Gateway snapshot Details pane,\n Description field.

", "smithy.api#required": {} } + }, + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", + "traits": { + "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" + } } }, "traits": { @@ -1549,19 +1616,25 @@ "com.amazonaws.storagegateway#CreateStorediSCSIVolumeInput": { "type": "structure", "members": { - "KMSEncrypted": { - "target": "com.amazonaws.storagegateway#Boolean", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + "smithy.api#required": {} } }, - "NetworkInterfaceId": { - "target": "com.amazonaws.storagegateway#NetworkInterfaceId", + "DiskId": { + "target": "com.amazonaws.storagegateway#DiskId", "traits": { - "smithy.api#documentation": "

The network interface of the gateway on which to expose the iSCSI target. Only IPv4\n addresses are accepted. Use DescribeGatewayInformation to get a list of\n the network interfaces available on a gateway.

\n\n

Valid Values: A valid IP address.

", + "smithy.api#documentation": "

The unique identifier for the gateway local disk that is configured as a stored volume.\n Use ListLocalDisks to\n list disk IDs for a gateway.

", "smithy.api#required": {} } }, + "SnapshotId": { + "target": "com.amazonaws.storagegateway#SnapshotId", + "traits": { + "smithy.api#documentation": "

The snapshot ID (e.g. \"snap-1122aabb\") of the snapshot to restore as the new stored\n volume. Specify this field if you want to create the iSCSI storage volume from a snapshot;\n otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API\n Reference.

" + } + }, "PreserveExistingData": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { @@ -1569,23 +1642,24 @@ "smithy.api#required": {} } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "TargetName": { + "target": "com.amazonaws.storagegateway#TargetName", "traits": { + "smithy.api#documentation": "

The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.\n The target name must be unique across all volumes on a gateway.

\n\n

If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.

", "smithy.api#required": {} } }, - "DiskId": { - "target": "com.amazonaws.storagegateway#DiskId", + "NetworkInterfaceId": { + "target": "com.amazonaws.storagegateway#NetworkInterfaceId", "traits": { - "smithy.api#documentation": "

The unique identifier for the gateway local disk that is configured as a stored volume.\n Use ListLocalDisks to\n list disk IDs for a gateway.

", + "smithy.api#documentation": "

The network interface of the gateway on which to expose the iSCSI target. Only IPv4\n addresses are accepted. Use DescribeGatewayInformation to get a list of\n the network interfaces available on a gateway.

\n\n

Valid Values: A valid IP address.

", "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", + "KMSEncrypted": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a stored volume. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" + "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" } }, "KMSKey": { @@ -1594,17 +1668,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" } }, - "SnapshotId": { - "target": "com.amazonaws.storagegateway#SnapshotId", - "traits": { - "smithy.api#documentation": "

The snapshot ID (e.g. \"snap-1122aabb\") of the snapshot to restore as the new stored\n volume. Specify this field if you want to create the iSCSI storage volume from a snapshot;\n otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API\n Reference.

" - } - }, - "TargetName": { - "target": "com.amazonaws.storagegateway#TargetName", + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "

The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.\n The target name must be unique across all volumes on a gateway.

\n\n

If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a stored volume. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" } } }, @@ -1668,16 +1735,11 @@ "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", - "traits": { - "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" - } - }, - "RetentionLockTimeInDays": { - "target": "com.amazonaws.storagegateway#RetentionLockTimeInDays", + "StorageClass": { + "target": "com.amazonaws.storagegateway#TapeStorageClass", "traits": { - "smithy.api#documentation": "

Tape retention lock time is set in days. Tape retention lock can be enabled for up to\n 100 years (36,500 days).

" + "smithy.api#documentation": "

The storage class that is associated with the new custom pool. When you use your backup\n application to eject the tape, the tape is archived directly into the storage class (S3\n Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

", + "smithy.api#required": {} } }, "RetentionLockType": { @@ -1686,11 +1748,16 @@ "smithy.api#documentation": "

Tape retention lock can be configured in two modes. When configured in governance mode,\n AWS accounts with specific IAM permissions are authorized to remove the tape retention lock\n from archived virtual tapes. When configured in compliance mode, the tape retention lock\n cannot be removed by any user, including the root AWS account.

" } }, - "StorageClass": { - "target": "com.amazonaws.storagegateway#TapeStorageClass", + "RetentionLockTimeInDays": { + "target": "com.amazonaws.storagegateway#RetentionLockTimeInDays", "traits": { - "smithy.api#documentation": "

The storage class that is associated with the new custom pool. When you use your backup\n application to eject the tape, the tape is archived directly into the storage class (S3\n Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

", - "smithy.api#required": {} + "smithy.api#documentation": "

Tape retention lock time is set in days. Tape retention lock can be enabled for up to\n 100 years (36,500 days).

" + } + }, + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", + "traits": { + "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" } } } @@ -1729,55 +1796,55 @@ "com.amazonaws.storagegateway#CreateTapeWithBarcodeInput": { "type": "structure", "members": { - "KMSEncrypted": { - "target": "com.amazonaws.storagegateway#Boolean", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The unique Amazon Resource Name (ARN) that represents the gateway to associate the\n virtual tape with. Use the ListGateways operation to return a list of\n gateways for your account and AWS Region.

", + "smithy.api#required": {} } }, - "Worm": { - "target": "com.amazonaws.storagegateway#Boolean2", + "TapeSizeInBytes": { + "target": "com.amazonaws.storagegateway#TapeSize", "traits": { - "smithy.api#documentation": "

Set to TRUE if the tape you are creating is to be configured as a\n write-once-read-many (WORM) tape.

" + "smithy.api#documentation": "

The size, in bytes, of the virtual tape that you want to create.

\n\n \n

The size must be aligned by gigabyte (1024*1024*1024 bytes).

\n
", + "smithy.api#required": {} } }, - "KMSKey": { - "target": "com.amazonaws.storagegateway#KMSKey", + "TapeBarcode": { + "target": "com.amazonaws.storagegateway#TapeBarcode", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" + "smithy.api#documentation": "

The barcode that you want to assign to the tape.

\n\n \n

Barcodes cannot be reused. This includes barcodes used for tapes that have been\n deleted.

\n
", + "smithy.api#required": {} } }, - "PoolId": { - "target": "com.amazonaws.storagegateway#PoolId", + "KMSEncrypted": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the S3 storage class that is associated with the pool. When you use\n your backup application to eject the tape, the tape is archived directly into the storage\n class (S3 Glacier or S3 Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" + "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" } }, - "TapeBarcode": { - "target": "com.amazonaws.storagegateway#TapeBarcode", + "KMSKey": { + "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

The barcode that you want to assign to the tape.

\n\n \n

Barcodes cannot be reused. This includes barcodes used for tapes that have been\n deleted.

\n
", - "smithy.api#required": {} + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" } - }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", + }, + "PoolId": { + "target": "com.amazonaws.storagegateway#PoolId", "traits": { - "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a virtual tape that has a barcode. Each\n tag is a key-value pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" + "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the S3 storage class that is associated with the pool. When you use\n your backup application to eject the tape, the tape is archived directly into the storage\n class (S3 Glacier or S3 Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "Worm": { + "target": "com.amazonaws.storagegateway#Boolean2", "traits": { - "smithy.api#documentation": "

The unique Amazon Resource Name (ARN) that represents the gateway to associate the\n virtual tape with. Use the ListGateways operation to return a list of\n gateways for your account and AWS Region.

", - "smithy.api#required": {} + "smithy.api#documentation": "

Set to TRUE if the tape you are creating is to be configured as a\n write-once-read-many (WORM) tape.

" } }, - "TapeSizeInBytes": { - "target": "com.amazonaws.storagegateway#TapeSize", + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "

The size, in bytes, of the virtual tape that you want to create.

\n\n \n

The size must be aligned by gigabyte (1024*1024*1024 bytes).

\n
", - "smithy.api#required": {} + "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a virtual tape that has a barcode. Each\n tag is a key-value pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" } } }, @@ -1829,35 +1896,38 @@ "smithy.api#required": {} } }, - "ClientToken": { - "target": "com.amazonaws.storagegateway#ClientToken", + "TapeSizeInBytes": { + "target": "com.amazonaws.storagegateway#TapeSize", "traits": { - "smithy.api#documentation": "

A unique identifier that you use to retry a request. If you retry a request, use the\n same ClientToken you specified in the initial request.

\n\n \n

Using the same ClientToken prevents creating the tape multiple\n times.

\n
", + "smithy.api#documentation": "

The size, in bytes, of the virtual tapes that you want to create.

\n\n \n

The size must be aligned by gigabyte (1024*1024*1024 bytes).

\n
", "smithy.api#required": {} } }, - "KMSEncrypted": { - "target": "com.amazonaws.storagegateway#Boolean", + "ClientToken": { + "target": "com.amazonaws.storagegateway#ClientToken", "traits": { - "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

A unique identifier that you use to retry a request. If you retry a request, use the\n same ClientToken you specified in the initial request.

\n\n \n

Using the same ClientToken prevents creating the tape multiple\n times.

\n
", + "smithy.api#required": {} } }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", + "NumTapesToCreate": { + "target": "com.amazonaws.storagegateway#NumTapesToCreate", "traits": { - "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" + "smithy.api#documentation": "

The number of virtual tapes that you want to create.

", + "smithy.api#required": {} } }, - "Worm": { - "target": "com.amazonaws.storagegateway#Boolean2", + "TapeBarcodePrefix": { + "target": "com.amazonaws.storagegateway#TapeBarcodePrefix", "traits": { - "smithy.api#documentation": "

Set to TRUE if the tape you are creating is to be configured as a\n write-once-read-many (WORM) tape.

" + "smithy.api#documentation": "

A prefix that you append to the barcode of the virtual tape you are creating. This\n prefix makes the barcode unique.

\n\n \n

The prefix must be 1 to 4 characters in length and must be one of the uppercase\n letters from A to Z.

\n
", + "smithy.api#required": {} } }, - "PoolId": { - "target": "com.amazonaws.storagegateway#PoolId", + "KMSEncrypted": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the S3 storage class that is associated with the pool. When you use\n your backup application to eject the tape, the tape is archived directly into the storage\n class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" + "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" } }, "KMSKey": { @@ -1866,25 +1936,22 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" } }, - "NumTapesToCreate": { - "target": "com.amazonaws.storagegateway#NumTapesToCreate", + "PoolId": { + "target": "com.amazonaws.storagegateway#PoolId", "traits": { - "smithy.api#documentation": "

The number of virtual tapes that you want to create.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the S3 storage class that is associated with the pool. When you use\n your backup application to eject the tape, the tape is archived directly into the storage\n class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" } }, - "TapeSizeInBytes": { - "target": "com.amazonaws.storagegateway#TapeSize", + "Worm": { + "target": "com.amazonaws.storagegateway#Boolean2", "traits": { - "smithy.api#documentation": "

The size, in bytes, of the virtual tapes that you want to create.

\n\n \n

The size must be aligned by gigabyte (1024*1024*1024 bytes).

\n
", - "smithy.api#required": {} + "smithy.api#documentation": "

Set to TRUE if the tape you are creating is to be configured as a\n write-once-read-many (WORM) tape.

" } }, - "TapeBarcodePrefix": { - "target": "com.amazonaws.storagegateway#TapeBarcodePrefix", + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "

A prefix that you append to the barcode of the virtual tape you are creating. This\n prefix makes the barcode unique.

\n\n \n

The prefix must be 1 to 4 characters in length and must be one of the uppercase\n letters from A to Z.

\n
", - "smithy.api#required": {} + "smithy.api#documentation": "

A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value\n pair.

\n\n \n

Valid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.

\n
" } } }, @@ -1929,6 +1996,18 @@ } } }, + "com.amazonaws.storagegateway#DaysOfWeek": { + "type": "list", + "member": { + "target": "com.amazonaws.storagegateway#DayOfWeek" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 7 + } + } + }, "com.amazonaws.storagegateway#DeleteAutomaticTapeCreationPolicy": { "type": "operation", "input": { @@ -2268,18 +2347,18 @@ "com.amazonaws.storagegateway#DeleteTapeArchiveInput": { "type": "structure", "members": { - "BypassGovernanceRetention": { - "target": "com.amazonaws.storagegateway#Boolean2", - "traits": { - "smithy.api#documentation": "

Set to TRUE to delete an archived tape that belongs to a custom pool with\n tape retention lock. Only archived tapes with tape retention lock set to\n governance can be deleted. Archived tapes with tape retention lock set to\n compliance can't be deleted.

" - } - }, "TapeARN": { "target": "com.amazonaws.storagegateway#TapeARN", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf\n (VTS).

", "smithy.api#required": {} } + }, + "BypassGovernanceRetention": { + "target": "com.amazonaws.storagegateway#Boolean2", + "traits": { + "smithy.api#documentation": "

Set to TRUE to delete an archived tape that belongs to a custom pool with\n tape retention lock. Only archived tapes with tape retention lock set to\n governance can be deleted. Archived tapes with tape retention lock set to\n compliance can't be deleted.

" + } } }, "traits": { @@ -2310,18 +2389,18 @@ "smithy.api#required": {} } }, - "BypassGovernanceRetention": { - "target": "com.amazonaws.storagegateway#Boolean2", - "traits": { - "smithy.api#documentation": "

Set to TRUE to delete an archived tape that belongs to a custom pool with\n tape retention lock. Only archived tapes with tape retention lock set to\n governance can be deleted. Archived tapes with tape retention lock set to\n compliance can't be deleted.

" - } - }, "TapeARN": { "target": "com.amazonaws.storagegateway#TapeARN", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape to delete.

", "smithy.api#required": {} } + }, + "BypassGovernanceRetention": { + "target": "com.amazonaws.storagegateway#Boolean2", + "traits": { + "smithy.api#documentation": "

Set to TRUE to delete an archived tape that belongs to a custom pool with\n tape retention lock. Only archived tapes with tape retention lock set to\n governance can be deleted. Archived tapes with tape retention lock set to\n compliance can't be deleted.

" + } } }, "traits": { @@ -2531,11 +2610,8 @@ "com.amazonaws.storagegateway#DescribeBandwidthRateLimitOutput": { "type": "structure", "members": { - "AverageDownloadRateLimitInBitsPerSec": { - "target": "com.amazonaws.storagegateway#BandwidthDownloadRateLimit", - "traits": { - "smithy.api#documentation": "

The average download bandwidth rate limit in bits per second. This field does not appear\n in the response if the download rate limit is not set.

" - } + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" }, "AverageUploadRateLimitInBitsPerSec": { "target": "com.amazonaws.storagegateway#BandwidthUploadRateLimit", @@ -2543,14 +2619,62 @@ "smithy.api#documentation": "

The average upload bandwidth rate limit in bits per second. This field does not appear\n in the response if the upload rate limit is not set.

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" + "AverageDownloadRateLimitInBitsPerSec": { + "target": "com.amazonaws.storagegateway#BandwidthDownloadRateLimit", + "traits": { + "smithy.api#documentation": "

The average download bandwidth rate limit in bits per second. This field does not appear\n in the response if the download rate limit is not set.

" + } } }, "traits": { "smithy.api#documentation": "

A JSON object containing the following fields:

" } }, + "com.amazonaws.storagegateway#DescribeBandwidthRateLimitSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.storagegateway#DescribeBandwidthRateLimitScheduleInput" + }, + "output": { + "target": "com.amazonaws.storagegateway#DescribeBandwidthRateLimitScheduleOutput" + }, + "errors": [ + { + "target": "com.amazonaws.storagegateway#InternalServerError" + }, + { + "target": "com.amazonaws.storagegateway#InvalidGatewayRequestException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do \n not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This \n operation is supported only in the volume and tape gateway types.\n

\n \n

This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth\n rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit\n interval defines a period of time on one or more days of the week, during which bandwidth rate \n limits are specified for uploading, downloading, or both. \n

\n \n

\n A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, \n an ending hour and minute, and bandwidth rate limits for uploading and downloading\n

\n \n

\n If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an \n empty response. To specify which gateway to describe, use the Amazon Resource Name (ARN)\n of the gateway in your request.

" + } + }, + "com.amazonaws.storagegateway#DescribeBandwidthRateLimitScheduleInput": { + "type": "structure", + "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", + "traits": { + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.storagegateway#DescribeBandwidthRateLimitScheduleOutput": { + "type": "structure", + "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" + }, + "BandwidthRateLimitIntervals": { + "target": "com.amazonaws.storagegateway#BandwidthRateLimitIntervals", + "traits": { + "smithy.api#documentation": "

\n An array that contains the bandwidth rate limit intervals for a tape or volume gateway.\n

" + } + } + } + }, "com.amazonaws.storagegateway#DescribeCache": { "type": "operation", "input": { @@ -2585,22 +2709,25 @@ "com.amazonaws.storagegateway#DescribeCacheOutput": { "type": "structure", "members": { - "CacheUsedPercentage": { - "target": "com.amazonaws.storagegateway#double", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" + }, + "DiskIds": { + "target": "com.amazonaws.storagegateway#DiskIds", "traits": { - "smithy.api#documentation": "

Percent use of the gateway's cache storage. This metric applies only to the\n gateway-cached volume setup. The sample is taken at the end of the reporting period.

" + "smithy.api#documentation": "

An array of strings that identify disks that are to be configured as working storage.\n Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs\n from the ListLocalDisks API.

" } }, - "CacheHitPercentage": { - "target": "com.amazonaws.storagegateway#double", + "CacheAllocatedInBytes": { + "target": "com.amazonaws.storagegateway#long", "traits": { - "smithy.api#documentation": "

Percent of application read operations from the file shares that are served from cache.\n The sample is taken at the end of the reporting period.

" + "smithy.api#documentation": "

The amount of cache in bytes allocated to a gateway.

" } }, - "CacheMissPercentage": { + "CacheUsedPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { - "smithy.api#documentation": "

Percent of application read operations from the file shares that are not served from\n cache. The sample is taken at the end of the reporting period.

" + "smithy.api#documentation": "

Percent use of the gateway's cache storage. This metric applies only to the\n gateway-cached volume setup. The sample is taken at the end of the reporting period.

" } }, "CacheDirtyPercentage": { @@ -2609,19 +2736,16 @@ "smithy.api#documentation": "

The file share's contribution to the overall percentage of the gateway's cache\n that has not been persisted to AWS. The sample is taken at the end of the reporting\n period.

" } }, - "CacheAllocatedInBytes": { - "target": "com.amazonaws.storagegateway#long", + "CacheHitPercentage": { + "target": "com.amazonaws.storagegateway#double", "traits": { - "smithy.api#documentation": "

The amount of cache in bytes allocated to a gateway.

" + "smithy.api#documentation": "

Percent of application read operations from the file shares that are served from cache.\n The sample is taken at the end of the reporting period.

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" - }, - "DiskIds": { - "target": "com.amazonaws.storagegateway#DiskIds", + "CacheMissPercentage": { + "target": "com.amazonaws.storagegateway#double", "traits": { - "smithy.api#documentation": "

An array of strings that identify disks that are to be configured as working storage.\n Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs\n from the ListLocalDisks API.

" + "smithy.api#documentation": "

Percent of application read operations from the file shares that are not served from\n cache. The sample is taken at the end of the reporting period.

" } } } @@ -2758,16 +2882,13 @@ "com.amazonaws.storagegateway#DescribeGatewayInformationOutput": { "type": "structure", "members": { - "EndpointType": { - "target": "com.amazonaws.storagegateway#EndpointType", - "traits": { - "smithy.api#documentation": "

The type of endpoint for your gateway.

\n\n

Valid Values: STANDARD | FIPS\n

" - } + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" }, - "CloudWatchLogGroupARN": { - "target": "com.amazonaws.storagegateway#CloudWatchLogGroupARN", + "GatewayId": { + "target": "com.amazonaws.storagegateway#GatewayId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to\n monitor events in the gateway.

" + "smithy.api#documentation": "

The unique identifier assigned to your gateway during activation. This ID becomes part\n of the gateway Amazon Resource Name (ARN), which you use as input for other\n operations.

" } }, "GatewayName": { @@ -2776,10 +2897,10 @@ "smithy.api#documentation": "

The name you configured for your gateway.

" } }, - "Ec2InstanceId": { - "target": "com.amazonaws.storagegateway#Ec2InstanceId", + "GatewayTimezone": { + "target": "com.amazonaws.storagegateway#GatewayTimezone", "traits": { - "smithy.api#documentation": "

The ID of the Amazon EC2 instance that was used to launch the gateway.

" + "smithy.api#documentation": "

A value that indicates the time zone configured for the gateway.

" } }, "GatewayState": { @@ -2788,40 +2909,34 @@ "smithy.api#documentation": "

A value that indicates the operating state of the gateway.

" } }, - "GatewayTimezone": { - "target": "com.amazonaws.storagegateway#GatewayTimezone", - "traits": { - "smithy.api#documentation": "

A value that indicates the time zone configured for the gateway.

" - } - }, "GatewayNetworkInterfaces": { "target": "com.amazonaws.storagegateway#GatewayNetworkInterfaces", "traits": { "smithy.api#documentation": "

A NetworkInterface array that contains descriptions of the gateway\n network interfaces.

" } }, - "SoftwareUpdatesEndDate": { - "target": "com.amazonaws.storagegateway#SoftwareUpdatesEndDate", + "GatewayType": { + "target": "com.amazonaws.storagegateway#GatewayType", "traits": { - "smithy.api#documentation": "

Date after which this gateway will not receive software updates for new features.

" + "smithy.api#documentation": "

The type of the gateway.

" } }, - "DeprecationDate": { - "target": "com.amazonaws.storagegateway#DeprecationDate", + "NextUpdateAvailabilityDate": { + "target": "com.amazonaws.storagegateway#NextUpdateAvailabilityDate", "traits": { - "smithy.api#documentation": "

Date after which this gateway will not receive software updates for new features and bug\n fixes.

" + "smithy.api#documentation": "

The date on which an update to the gateway is available. This date is in the time zone\n of the gateway. If the gateway is not available for an update this field is not returned in\n the response.

" } }, - "VPCEndpoint": { - "target": "com.amazonaws.storagegateway#string", + "LastSoftwareUpdate": { + "target": "com.amazonaws.storagegateway#LastSoftwareUpdate", "traits": { - "smithy.api#documentation": "

The configuration settings for the virtual private cloud (VPC) endpoint for your\n gateway.

" + "smithy.api#documentation": "

The date on which the last software update was applied to the gateway. If the gateway\n has never been updated, this field does not return a value in the response.

" } }, - "HostEnvironment": { - "target": "com.amazonaws.storagegateway#HostEnvironment", + "Ec2InstanceId": { + "target": "com.amazonaws.storagegateway#Ec2InstanceId", "traits": { - "smithy.api#documentation": "

The type of hypervisor environment used by the host.

" + "smithy.api#documentation": "

The ID of the Amazon EC2 instance that was used to launch the gateway.

" } }, "Ec2InstanceRegion": { @@ -2830,37 +2945,46 @@ "smithy.api#documentation": "

The AWS Region where the Amazon EC2 instance is located.

" } }, - "GatewayType": { - "target": "com.amazonaws.storagegateway#GatewayType", + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "

The type of the gateway.

" + "smithy.api#documentation": "

A list of up to 50 tags assigned to the gateway, sorted alphabetically by key name. Each\n tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all\n tags using the ListTagsForResource API operation.

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" + "VPCEndpoint": { + "target": "com.amazonaws.storagegateway#string", + "traits": { + "smithy.api#documentation": "

The configuration settings for the virtual private cloud (VPC) endpoint for your\n gateway.

" + } + }, + "CloudWatchLogGroupARN": { + "target": "com.amazonaws.storagegateway#CloudWatchLogGroupARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to\n monitor events in the gateway.

" + } }, - "GatewayId": { - "target": "com.amazonaws.storagegateway#GatewayId", + "HostEnvironment": { + "target": "com.amazonaws.storagegateway#HostEnvironment", "traits": { - "smithy.api#documentation": "

The unique identifier assigned to your gateway during activation. This ID becomes part\n of the gateway Amazon Resource Name (ARN), which you use as input for other\n operations.

" + "smithy.api#documentation": "

The type of hypervisor environment used by the host.

" } }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", + "EndpointType": { + "target": "com.amazonaws.storagegateway#EndpointType", "traits": { - "smithy.api#documentation": "

A list of up to 50 tags assigned to the gateway, sorted alphabetically by key name. Each\n tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all\n tags using the ListTagsForResource API operation.

" + "smithy.api#documentation": "

The type of endpoint for your gateway.

\n\n

Valid Values: STANDARD | FIPS\n

" } }, - "LastSoftwareUpdate": { - "target": "com.amazonaws.storagegateway#LastSoftwareUpdate", + "SoftwareUpdatesEndDate": { + "target": "com.amazonaws.storagegateway#SoftwareUpdatesEndDate", "traits": { - "smithy.api#documentation": "

The date on which the last software update was applied to the gateway. If the gateway\n has never been updated, this field does not return a value in the response.

" + "smithy.api#documentation": "

Date after which this gateway will not receive software updates for new features.

" } }, - "NextUpdateAvailabilityDate": { - "target": "com.amazonaws.storagegateway#NextUpdateAvailabilityDate", + "DeprecationDate": { + "target": "com.amazonaws.storagegateway#DeprecationDate", "traits": { - "smithy.api#documentation": "

The date on which an update to the gateway is available. This date is in the time zone\n of the gateway. If the gateway is not available for an update this field is not returned in\n the response.

" + "smithy.api#documentation": "

Date after which this gateway will not receive software updates for new features and bug\n fixes.

" } } }, @@ -2905,21 +3029,9 @@ "com.amazonaws.storagegateway#DescribeMaintenanceStartTimeOutput": { "type": "structure", "members": { - "Timezone": { - "target": "com.amazonaws.storagegateway#GatewayTimezone", - "traits": { - "smithy.api#documentation": "

A value that indicates the time zone that is set for the gateway. The start time and day\n of week specified should be in the time zone of the gateway.

" - } - }, "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" }, - "DayOfMonth": { - "target": "com.amazonaws.storagegateway#DayOfMonth", - "traits": { - "smithy.api#documentation": "

The day of the month component of the maintenance start time represented as an ordinal\n number from 1 to 28, where 1 represents the first day of the month and 28 represents the\n last day of the month.

" - } - }, "HourOfDay": { "target": "com.amazonaws.storagegateway#HourOfDay", "traits": { @@ -2937,6 +3049,18 @@ "traits": { "smithy.api#documentation": "

An ordinal number between 0 and 6 that represents the day of the week, where 0\n represents Sunday and 6 represents Saturday. The day of week is in the time zone of the\n gateway.

" } + }, + "DayOfMonth": { + "target": "com.amazonaws.storagegateway#DayOfMonth", + "traits": { + "smithy.api#documentation": "

The day of the month component of the maintenance start time represented as an ordinal\n number from 1 to 28, where 1 represents the first day of the month and 28 represents the\n last day of the month.

" + } + }, + "Timezone": { + "target": "com.amazonaws.storagegateway#GatewayTimezone", + "traits": { + "smithy.api#documentation": "

A value that indicates the time zone that is set for the gateway. The start time and day\n of week specified should be in the time zone of the gateway.

" + } } }, "traits": { @@ -3075,33 +3199,33 @@ "com.amazonaws.storagegateway#DescribeSMBSettingsOutput": { "type": "structure", "members": { - "SMBSecurityStrategy": { - "target": "com.amazonaws.storagegateway#SMBSecurityStrategy", - "traits": { - "smithy.api#documentation": "

The type of security strategy that was specified for file gateway.

\n\n " - } - }, "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" }, - "ActiveDirectoryStatus": { - "target": "com.amazonaws.storagegateway#ActiveDirectoryStatus", - "traits": { - "smithy.api#documentation": "

Indicates the status of a gateway that is a member of the Active Directory\n domain.

\n\n " - } - }, "DomainName": { "target": "com.amazonaws.storagegateway#DomainName", "traits": { "smithy.api#documentation": "

The name of the domain that the gateway is joined to.

" } }, + "ActiveDirectoryStatus": { + "target": "com.amazonaws.storagegateway#ActiveDirectoryStatus", + "traits": { + "smithy.api#documentation": "

Indicates the status of a gateway that is a member of the Active Directory\n domain.

\n\n " + } + }, "SMBGuestPasswordSet": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { "smithy.api#documentation": "

This value is true if a password for the guest user smbguest\n is set, otherwise false.

\n\n

Valid Values: true | false\n

" } }, + "SMBSecurityStrategy": { + "target": "com.amazonaws.storagegateway#SMBSecurityStrategy", + "traits": { + "smithy.api#documentation": "

The type of security strategy that was specified for file gateway.

\n\n " + } + }, "FileSharesVisible": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { @@ -3148,30 +3272,18 @@ "com.amazonaws.storagegateway#DescribeSnapshotScheduleOutput": { "type": "structure", "members": { - "StartAt": { - "target": "com.amazonaws.storagegateway#HourOfDay", - "traits": { - "smithy.api#documentation": "

The hour of the day at which the snapshot schedule begins represented as\n hh, where hh is the hour (0 to 23). The hour\n of the day is in the time zone of the gateway.

" - } - }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", - "traits": { - "smithy.api#documentation": "

A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key\n name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can\n view all tags using the ListTagsForResource API operation.

" - } - }, - "Timezone": { - "target": "com.amazonaws.storagegateway#GatewayTimezone", - "traits": { - "smithy.api#documentation": "

A value that indicates the time zone of the gateway.

" - } - }, "VolumeARN": { "target": "com.amazonaws.storagegateway#VolumeARN", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the volume that was specified in the request.

" } }, + "StartAt": { + "target": "com.amazonaws.storagegateway#HourOfDay", + "traits": { + "smithy.api#documentation": "

The hour of the day at which the snapshot schedule begins represented as\n hh, where hh is the hour (0 to 23). The hour\n of the day is in the time zone of the gateway.

" + } + }, "RecurrenceInHours": { "target": "com.amazonaws.storagegateway#RecurrenceInHours", "traits": { @@ -3183,6 +3295,18 @@ "traits": { "smithy.api#documentation": "

The snapshot description.

" } + }, + "Timezone": { + "target": "com.amazonaws.storagegateway#GatewayTimezone", + "traits": { + "smithy.api#documentation": "

A value that indicates the time zone of the gateway.

" + } + }, + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", + "traits": { + "smithy.api#documentation": "

A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key\n name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can\n view all tags using the ListTagsForResource API operation.

" + } } } }, @@ -3261,10 +3385,10 @@ "com.amazonaws.storagegateway#DescribeTapeArchivesInput": { "type": "structure", "members": { - "Limit": { - "target": "com.amazonaws.storagegateway#PositiveIntObject", + "TapeARNs": { + "target": "com.amazonaws.storagegateway#TapeARNs", "traits": { - "smithy.api#documentation": "

Specifies that the number of virtual tapes described be limited to the specified\n number.

" + "smithy.api#documentation": "

Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual\n tapes you want to describe.

" } }, "Marker": { @@ -3273,10 +3397,10 @@ "smithy.api#documentation": "

An opaque string that indicates the position at which to begin describing virtual\n tapes.

" } }, - "TapeARNs": { - "target": "com.amazonaws.storagegateway#TapeARNs", + "Limit": { + "target": "com.amazonaws.storagegateway#PositiveIntObject", "traits": { - "smithy.api#documentation": "

Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual\n tapes you want to describe.

" + "smithy.api#documentation": "

Specifies that the number of virtual tapes described be limited to the specified\n number.

" } } }, @@ -3287,17 +3411,17 @@ "com.amazonaws.storagegateway#DescribeTapeArchivesOutput": { "type": "structure", "members": { - "Marker": { - "target": "com.amazonaws.storagegateway#Marker", - "traits": { - "smithy.api#documentation": "

An opaque string that indicates the position at which the virtual tapes that were\n fetched for description ended. Use this marker in your next request to fetch the next set\n of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to\n describe, this field does not appear in the response.

" - } - }, "TapeArchives": { "target": "com.amazonaws.storagegateway#TapeArchives", "traits": { "smithy.api#documentation": "

An array of virtual tape objects in the virtual tape shelf (VTS). The description\n includes of the Amazon Resource Name (ARN) of the virtual tapes. The information returned\n includes the Amazon Resource Names (ARNs) of the tapes, size of the tapes, status of the\n tapes, progress of the description, and tape barcode.

" } + }, + "Marker": { + "target": "com.amazonaws.storagegateway#Marker", + "traits": { + "smithy.api#documentation": "

An opaque string that indicates the position at which the virtual tapes that were\n fetched for description ended. Use this marker in your next request to fetch the next set\n of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to\n describe, this field does not appear in the response.

" + } } }, "traits": { @@ -3333,10 +3457,10 @@ "com.amazonaws.storagegateway#DescribeTapeRecoveryPointsInput": { "type": "structure", "members": { - "Limit": { - "target": "com.amazonaws.storagegateway#PositiveIntObject", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

Specifies that the number of virtual tape recovery points that are described be limited\n to the specified number.

" + "smithy.api#required": {} } }, "Marker": { @@ -3345,10 +3469,10 @@ "smithy.api#documentation": "

An opaque string that indicates the position at which to begin describing the virtual\n tape recovery points.

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "Limit": { + "target": "com.amazonaws.storagegateway#PositiveIntObject", "traits": { - "smithy.api#required": {} + "smithy.api#documentation": "

Specifies that the number of virtual tape recovery points that are described be limited\n to the specified number.

" } } }, @@ -3359,11 +3483,8 @@ "com.amazonaws.storagegateway#DescribeTapeRecoveryPointsOutput": { "type": "structure", "members": { - "Marker": { - "target": "com.amazonaws.storagegateway#Marker", - "traits": { - "smithy.api#documentation": "

An opaque string that indicates the position at which the virtual tape recovery points\n that were listed for description ended.

\n\n

Use this marker in your next request to list the next set of virtual tape recovery\n points in the list. If there are no more recovery points to describe, this field does not\n appear in the response.

" - } + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" }, "TapeRecoveryPointInfos": { "target": "com.amazonaws.storagegateway#TapeRecoveryPointInfos", @@ -3371,8 +3492,11 @@ "smithy.api#documentation": "

An array of TapeRecoveryPointInfos that are available for the specified gateway.

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" + "Marker": { + "target": "com.amazonaws.storagegateway#Marker", + "traits": { + "smithy.api#documentation": "

An opaque string that indicates the position at which the virtual tape recovery points\n that were listed for description ended.

\n\n

Use this marker in your next request to list the next set of virtual tape recovery\n points in the list. If there are no more recovery points to describe, this field does not\n appear in the response.

" + } } }, "traits": { @@ -3414,12 +3538,6 @@ "smithy.api#required": {} } }, - "Limit": { - "target": "com.amazonaws.storagegateway#PositiveIntObject", - "traits": { - "smithy.api#documentation": "

Specifies that the number of virtual tapes described be limited to the specified\n number.

\n\n \n

Amazon Web Services may impose its own limit, if this field is not set.

\n
" - } - }, "TapeARNs": { "target": "com.amazonaws.storagegateway#TapeARNs", "traits": { @@ -3431,6 +3549,12 @@ "traits": { "smithy.api#documentation": "

A marker value, obtained in a previous call to DescribeTapes. This marker\n indicates which page of results to retrieve.

\n\n

If not specified, the first page of results is retrieved.

" } + }, + "Limit": { + "target": "com.amazonaws.storagegateway#PositiveIntObject", + "traits": { + "smithy.api#documentation": "

Specifies that the number of virtual tapes described be limited to the specified\n number.

\n\n \n

Amazon Web Services may impose its own limit, if this field is not set.

\n
" + } } }, "traits": { @@ -3491,12 +3615,6 @@ "com.amazonaws.storagegateway#DescribeUploadBufferOutput": { "type": "structure", "members": { - "UploadBufferAllocatedInBytes": { - "target": "com.amazonaws.storagegateway#long", - "traits": { - "smithy.api#documentation": "

The total number of bytes allocated in the gateway's as upload buffer.

" - } - }, "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" }, @@ -3511,6 +3629,12 @@ "traits": { "smithy.api#documentation": "

The total number of bytes being used in the gateway's upload buffer.

" } + }, + "UploadBufferAllocatedInBytes": { + "target": "com.amazonaws.storagegateway#long", + "traits": { + "smithy.api#documentation": "

The total number of bytes allocated in the gateway's as upload buffer.

" + } } } }, @@ -3543,10 +3667,10 @@ "com.amazonaws.storagegateway#DescribeVTLDevicesInput": { "type": "structure", "members": { - "Marker": { - "target": "com.amazonaws.storagegateway#Marker", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

An opaque string that indicates the position at which to begin describing the VTL\n devices.

" + "smithy.api#required": {} } }, "VTLDeviceARNs": { @@ -3555,10 +3679,10 @@ "smithy.api#documentation": "

An array of strings, where each string represents the Amazon Resource Name (ARN) of a\n VTL device.

\n\n \n

All of the specified VTL devices must be from the same gateway. If no VTL devices are\n specified, the result will contain all devices on the specified gateway.

\n
" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "Marker": { + "target": "com.amazonaws.storagegateway#Marker", "traits": { - "smithy.api#required": {} + "smithy.api#documentation": "

An opaque string that indicates the position at which to begin describing the VTL\n devices.

" } }, "Limit": { @@ -3575,6 +3699,9 @@ "com.amazonaws.storagegateway#DescribeVTLDevicesOutput": { "type": "structure", "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" + }, "VTLDevices": { "target": "com.amazonaws.storagegateway#VTLDevices", "traits": { @@ -3586,9 +3713,6 @@ "traits": { "smithy.api#documentation": "

An opaque string that indicates the position at which the VTL devices that were fetched\n for description ended. Use the marker in your next request to fetch the next set of VTL\n devices in the list. If there are no more VTL devices to describe, this field does not\n appear in the response.

" } - }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" } }, "traits": { @@ -3632,10 +3756,13 @@ "com.amazonaws.storagegateway#DescribeWorkingStorageOutput": { "type": "structure", "members": { - "WorkingStorageAllocatedInBytes": { - "target": "com.amazonaws.storagegateway#long", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" + }, + "DiskIds": { + "target": "com.amazonaws.storagegateway#DiskIds", "traits": { - "smithy.api#documentation": "

The total working storage in bytes allocated for the gateway. If no working storage is\n configured for the gateway, this field returns 0.

" + "smithy.api#documentation": "

An array of the gateway's local disk IDs that are configured as working storage.\n Each local disk ID is specified as a string (minimum length of 1 and maximum length of\n 300). If no local disks are configured as working storage, then the DiskIds array is\n empty.

" } }, "WorkingStorageUsedInBytes": { @@ -3644,14 +3771,11 @@ "smithy.api#documentation": "

The total working storage in bytes in use by the gateway. If no working storage is\n configured for the gateway, this field returns 0.

" } }, - "DiskIds": { - "target": "com.amazonaws.storagegateway#DiskIds", + "WorkingStorageAllocatedInBytes": { + "target": "com.amazonaws.storagegateway#long", "traits": { - "smithy.api#documentation": "

An array of the gateway's local disk IDs that are configured as working storage.\n Each local disk ID is specified as a string (minimum length of 1 and maximum length of\n 300). If no local disks are configured as working storage, then the DiskIds array is\n empty.

" + "smithy.api#documentation": "

The total working storage in bytes allocated for the gateway. If no working storage is\n configured for the gateway, this field returns 0.

" } - }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" } }, "traits": { @@ -3734,28 +3858,28 @@ "com.amazonaws.storagegateway#DeviceiSCSIAttributes": { "type": "structure", "members": { - "ChapEnabled": { - "target": "com.amazonaws.storagegateway#Boolean2", - "traits": { - "smithy.api#documentation": "

Indicates whether mutual CHAP is enabled for the iSCSI target.

" - } - }, "TargetARN": { "target": "com.amazonaws.storagegateway#TargetARN", "traits": { "smithy.api#documentation": "

Specifies the unique Amazon Resource Name (ARN) that encodes the iSCSI qualified\n name(iqn) of a tape drive or media changer target.

" } }, + "NetworkInterfaceId": { + "target": "com.amazonaws.storagegateway#NetworkInterfaceId", + "traits": { + "smithy.api#documentation": "

The network interface identifier of the VTL device.

" + } + }, "NetworkInterfacePort": { "target": "com.amazonaws.storagegateway#integer", "traits": { "smithy.api#documentation": "

The port used to communicate with iSCSI VTL device targets.

" } }, - "NetworkInterfaceId": { - "target": "com.amazonaws.storagegateway#NetworkInterfaceId", + "ChapEnabled": { + "target": "com.amazonaws.storagegateway#Boolean2", "traits": { - "smithy.api#documentation": "

The network interface identifier of the VTL device.

" + "smithy.api#documentation": "

Indicates whether mutual CHAP is enabled for the iSCSI target.

" } } }, @@ -3814,10 +3938,28 @@ "com.amazonaws.storagegateway#Disk": { "type": "structure", "members": { + "DiskId": { + "target": "com.amazonaws.storagegateway#DiskId", + "traits": { + "smithy.api#documentation": "

The unique device ID or other distinguishing data that identifies a local disk.

" + } + }, + "DiskPath": { + "target": "com.amazonaws.storagegateway#string", + "traits": { + "smithy.api#documentation": "

The path of a local disk in the gateway virtual machine (VM).

" + } + }, "DiskNode": { "target": "com.amazonaws.storagegateway#string", "traits": { - "smithy.api#documentation": "

The device node of a local disk as assigned by the virtualization environment.

" + "smithy.api#documentation": "

The device node of a local disk as assigned by the virtualization environment.

" + } + }, + "DiskStatus": { + "target": "com.amazonaws.storagegateway#string", + "traits": { + "smithy.api#documentation": "

A value that represents the status of a local disk.

" } }, "DiskSizeInBytes": { @@ -3826,35 +3968,17 @@ "smithy.api#documentation": "

The local disk size in bytes.

" } }, - "DiskId": { - "target": "com.amazonaws.storagegateway#DiskId", - "traits": { - "smithy.api#documentation": "

The unique device ID or other distinguishing data that identifies a local disk.

" - } - }, - "DiskAttributeList": { - "target": "com.amazonaws.storagegateway#DiskAttributeList" - }, - "DiskAllocationResource": { - "target": "com.amazonaws.storagegateway#string", - "traits": { - "smithy.api#documentation": "

The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in\n the response if the local disk is not defined as an iSCSI target. The format of this field\n is targetIqn::LUNNumber::region-volumeId.

" - } - }, "DiskAllocationType": { "target": "com.amazonaws.storagegateway#DiskAllocationType" }, - "DiskStatus": { + "DiskAllocationResource": { "target": "com.amazonaws.storagegateway#string", "traits": { - "smithy.api#documentation": "

A value that represents the status of a local disk.

" + "smithy.api#documentation": "

The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in\n the response if the local disk is not defined as an iSCSI target. The format of this field\n is targetIqn::LUNNumber::region-volumeId.

" } }, - "DiskPath": { - "target": "com.amazonaws.storagegateway#string", - "traits": { - "smithy.api#documentation": "

The path of a local disk in the gateway virtual machine (VM).

" - } + "DiskAttributeList": { + "target": "com.amazonaws.storagegateway#DiskAttributeList" } }, "traits": { @@ -4207,11 +4331,8 @@ "com.amazonaws.storagegateway#FileShareInfo": { "type": "structure", "members": { - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" - }, - "FileShareStatus": { - "target": "com.amazonaws.storagegateway#FileShareStatus" + "FileShareType": { + "target": "com.amazonaws.storagegateway#FileShareType" }, "FileShareARN": { "target": "com.amazonaws.storagegateway#FileShareARN" @@ -4219,8 +4340,11 @@ "FileShareId": { "target": "com.amazonaws.storagegateway#FileShareId" }, - "FileShareType": { - "target": "com.amazonaws.storagegateway#FileShareType" + "FileShareStatus": { + "target": "com.amazonaws.storagegateway#FileShareStatus" + }, + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" } }, "traits": { @@ -4330,16 +4454,22 @@ "com.amazonaws.storagegateway#GatewayInfo": { "type": "structure", "members": { + "GatewayId": { + "target": "com.amazonaws.storagegateway#GatewayId", + "traits": { + "smithy.api#documentation": "

The unique identifier assigned to your gateway during activation. This ID becomes part\n of the gateway Amazon Resource Name (ARN), which you use as input for other\n operations.

" + } + }, "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and AWS Region.

" } }, - "Ec2InstanceId": { - "target": "com.amazonaws.storagegateway#Ec2InstanceId", + "GatewayType": { + "target": "com.amazonaws.storagegateway#GatewayType", "traits": { - "smithy.api#documentation": "

The ID of the Amazon EC2 instance that was used to launch the gateway.

" + "smithy.api#documentation": "

The type of the gateway.

" } }, "GatewayOperationalState": { @@ -4348,28 +4478,22 @@ "smithy.api#documentation": "

The state of the gateway.

\n\n

Valid Values: DISABLED | ACTIVE\n

" } }, - "GatewayId": { - "target": "com.amazonaws.storagegateway#GatewayId", - "traits": { - "smithy.api#documentation": "

The unique identifier assigned to your gateway during activation. This ID becomes part\n of the gateway Amazon Resource Name (ARN), which you use as input for other\n operations.

" - } - }, "GatewayName": { "target": "com.amazonaws.storagegateway#string", "traits": { "smithy.api#documentation": "

The name of the gateway.

" } }, - "Ec2InstanceRegion": { - "target": "com.amazonaws.storagegateway#Ec2InstanceRegion", + "Ec2InstanceId": { + "target": "com.amazonaws.storagegateway#Ec2InstanceId", "traits": { - "smithy.api#documentation": "

The AWS Region where the Amazon EC2 instance is located.

" + "smithy.api#documentation": "

The ID of the Amazon EC2 instance that was used to launch the gateway.

" } }, - "GatewayType": { - "target": "com.amazonaws.storagegateway#GatewayType", + "Ec2InstanceRegion": { + "target": "com.amazonaws.storagegateway#Ec2InstanceRegion", "traits": { - "smithy.api#documentation": "

The type of the gateway.

" + "smithy.api#documentation": "

The AWS Region where the Amazon EC2 instance is located.

" } } }, @@ -4508,17 +4632,17 @@ "com.amazonaws.storagegateway#InternalServerError": { "type": "structure", "members": { - "error": { - "target": "com.amazonaws.storagegateway#StorageGatewayError", - "traits": { - "smithy.api#documentation": "

A StorageGatewayError that provides more information about the cause\n of the error.

" - } - }, "message": { "target": "com.amazonaws.storagegateway#string", "traits": { "smithy.api#documentation": "

A human-readable message describing the error that occurred.

" } + }, + "error": { + "target": "com.amazonaws.storagegateway#StorageGatewayError", + "traits": { + "smithy.api#documentation": "

A StorageGatewayError that provides more information about the cause\n of the error.

" + } } }, "traits": { @@ -4530,17 +4654,17 @@ "com.amazonaws.storagegateway#InvalidGatewayRequestException": { "type": "structure", "members": { - "error": { - "target": "com.amazonaws.storagegateway#StorageGatewayError", - "traits": { - "smithy.api#documentation": "

A StorageGatewayError that provides more detail about the cause of the\n error.

" - } - }, "message": { "target": "com.amazonaws.storagegateway#string", "traits": { "smithy.api#documentation": "

A human-readable message describing the error that occurred.

" } + }, + "error": { + "target": "com.amazonaws.storagegateway#StorageGatewayError", + "traits": { + "smithy.api#documentation": "

A StorageGatewayError that provides more detail about the cause of the\n error.

" + } } }, "traits": { @@ -4582,18 +4706,6 @@ "com.amazonaws.storagegateway#JoinDomainInput": { "type": "structure", "members": { - "TimeoutInSeconds": { - "target": "com.amazonaws.storagegateway#TimeoutInSeconds", - "traits": { - "smithy.api#documentation": "

Specifies the time in seconds, in which the JoinDomain operation must\n complete. The default is 20 seconds.

" - } - }, - "OrganizationalUnit": { - "target": "com.amazonaws.storagegateway#OrganizationalUnit", - "traits": { - "smithy.api#documentation": "

The organizational unit (OU) is a container in an Active Directory that can hold users,\n groups, computers, and other OUs and this parameter specifies the OU that the gateway will\n join within the AD domain.

" - } - }, "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { @@ -4601,24 +4713,29 @@ "smithy.api#required": {} } }, - "Password": { - "target": "com.amazonaws.storagegateway#DomainUserPassword", + "DomainName": { + "target": "com.amazonaws.storagegateway#DomainName", "traits": { - "smithy.api#documentation": "

Sets the password of the user who has permission to add the gateway to the Active\n Directory domain.

", + "smithy.api#documentation": "

The name of the domain that you want the gateway to join.

", "smithy.api#required": {} } }, + "OrganizationalUnit": { + "target": "com.amazonaws.storagegateway#OrganizationalUnit", + "traits": { + "smithy.api#documentation": "

The organizational unit (OU) is a container in an Active Directory that can hold users,\n groups, computers, and other OUs and this parameter specifies the OU that the gateway will\n join within the AD domain.

" + } + }, "DomainControllers": { "target": "com.amazonaws.storagegateway#Hosts", "traits": { "smithy.api#documentation": "

List of IPv4 addresses, NetBIOS names, or host names of your domain server. If you need\n to specify the port number include it after the colon (“:”). For example,\n mydc.mydomain.com:389.

" } }, - "DomainName": { - "target": "com.amazonaws.storagegateway#DomainName", + "TimeoutInSeconds": { + "target": "com.amazonaws.storagegateway#TimeoutInSeconds", "traits": { - "smithy.api#documentation": "

The name of the domain that you want the gateway to join.

", - "smithy.api#required": {} + "smithy.api#documentation": "

Specifies the time in seconds, in which the JoinDomain operation must\n complete. The default is 20 seconds.

" } }, "UserName": { @@ -4627,6 +4744,13 @@ "smithy.api#documentation": "

Sets the user name of user who has permission to add the gateway to the Active Directory\n domain. The domain user account should be enabled to join computers to the domain. For\n example, you can use the domain administrator account or an account with delegated\n permissions to join computers to the domain.

", "smithy.api#required": {} } + }, + "Password": { + "target": "com.amazonaws.storagegateway#DomainUserPassword", + "traits": { + "smithy.api#documentation": "

Sets the password of the user who has permission to add the gateway to the Active\n Directory domain.

", + "smithy.api#required": {} + } } }, "traits": { @@ -4741,6 +4865,12 @@ "com.amazonaws.storagegateway#ListFileSharesInput": { "type": "structure", "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gateway whose file shares you want to list. If\n this field is not present, all file shares under your account are listed.

" + } + }, "Limit": { "target": "com.amazonaws.storagegateway#PositiveIntObject", "traits": { @@ -4752,12 +4882,6 @@ "traits": { "smithy.api#documentation": "

Opaque pagination token returned from a previous ListFileShares operation. If present,\n Marker specifies where to continue the list from after a previous call to\n ListFileShares. Optional.

" } - }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gateway whose file shares you want to list. If\n this field is not present, all file shares under your account are listed.

" - } } }, "traits": { @@ -4767,16 +4891,16 @@ "com.amazonaws.storagegateway#ListFileSharesOutput": { "type": "structure", "members": { - "NextMarker": { + "Marker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { - "smithy.api#documentation": "

If a value is present, there are more file shares to return. In a subsequent request,\n use NextMarker as the value for Marker to retrieve the next set\n of file shares.

" + "smithy.api#documentation": "

If the request includes Marker, the response returns that value in this\n field.

" } }, - "Marker": { + "NextMarker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { - "smithy.api#documentation": "

If the request includes Marker, the response returns that value in this\n field.

" + "smithy.api#documentation": "

If a value is present, there are more file shares to return. In a subsequent request,\n use NextMarker as the value for Marker to retrieve the next set\n of file shares.

" } }, "FileShareInfoList": { @@ -4819,17 +4943,17 @@ "com.amazonaws.storagegateway#ListGatewaysInput": { "type": "structure", "members": { - "Limit": { - "target": "com.amazonaws.storagegateway#PositiveIntObject", - "traits": { - "smithy.api#documentation": "

Specifies that the list of gateways returned be limited to the specified number of\n items.

" - } - }, "Marker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { "smithy.api#documentation": "

An opaque string that indicates the position at which to begin the returned list of\n gateways.

" } + }, + "Limit": { + "target": "com.amazonaws.storagegateway#PositiveIntObject", + "traits": { + "smithy.api#documentation": "

Specifies that the list of gateways returned be limited to the specified number of\n items.

" + } } }, "traits": { @@ -4839,17 +4963,17 @@ "com.amazonaws.storagegateway#ListGatewaysOutput": { "type": "structure", "members": { - "Marker": { - "target": "com.amazonaws.storagegateway#Marker", - "traits": { - "smithy.api#documentation": "

Use the marker in your next request to fetch the next set of gateways in the list. If\n there are no more gateways to list, this field does not appear in the response.

" - } - }, "Gateways": { "target": "com.amazonaws.storagegateway#Gateways", "traits": { "smithy.api#documentation": "

An array of GatewayInfo objects.

" } + }, + "Marker": { + "target": "com.amazonaws.storagegateway#Marker", + "traits": { + "smithy.api#documentation": "

Use the marker in your next request to fetch the next set of gateways in the list. If\n there are no more gateways to list, this field does not appear in the response.

" + } } } }, @@ -4937,17 +5061,17 @@ "smithy.api#required": {} } }, - "Limit": { - "target": "com.amazonaws.storagegateway#PositiveIntObject", - "traits": { - "smithy.api#documentation": "

Specifies that the list of tags returned be limited to the specified number of\n items.

" - } - }, "Marker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { "smithy.api#documentation": "

An opaque string that indicates the position at which to begin returning the list of\n tags.

" } + }, + "Limit": { + "target": "com.amazonaws.storagegateway#PositiveIntObject", + "traits": { + "smithy.api#documentation": "

Specifies that the list of tags returned be limited to the specified number of\n items.

" + } } }, "traits": { @@ -4963,17 +5087,17 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource for which you want to list tags.

" } }, - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", - "traits": { - "smithy.api#documentation": "

An array that contains the tags for the specified resource.

" - } - }, "Marker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { "smithy.api#documentation": "

An opaque string that indicates the position at which to stop returning the list of\n tags.

" } + }, + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", + "traits": { + "smithy.api#documentation": "

An array that contains the tags for the specified resource.

" + } } }, "traits": { @@ -4997,7 +5121,13 @@ } ], "traits": { - "smithy.api#documentation": "

Lists custom tape pools. You specify custom tape pools to list by specifying one or more\n custom tape pool Amazon Resource Names (ARNs). If you don't specify a custom tape pool ARN,\n the operation lists all custom tape pools.

\n\n

This operation supports pagination. You can optionally specify the Limit\n parameter in the body to limit the number of tape pools in the response. If the number of\n tape pools returned in the response is truncated, the response includes a\n Marker element that you can use in your subsequent request to retrieve the\n next set of tape pools.

" + "smithy.api#documentation": "

Lists custom tape pools. You specify custom tape pools to list by specifying one or more\n custom tape pool Amazon Resource Names (ARNs). If you don't specify a custom tape pool ARN,\n the operation lists all custom tape pools.

\n\n

This operation supports pagination. You can optionally specify the Limit\n parameter in the body to limit the number of tape pools in the response. If the number of\n tape pools returned in the response is truncated, the response includes a\n Marker element that you can use in your subsequent request to retrieve the\n next set of tape pools.

", + "smithy.api#paginated": { + "inputToken": "Marker", + "outputToken": "Marker", + "items": "PoolInfos", + "pageSize": "Limit" + } } }, "com.amazonaws.storagegateway#ListTapePoolsInput": { @@ -5026,17 +5156,17 @@ "com.amazonaws.storagegateway#ListTapePoolsOutput": { "type": "structure", "members": { - "Marker": { - "target": "com.amazonaws.storagegateway#Marker", - "traits": { - "smithy.api#documentation": "

A string that indicates the position at which to begin the returned list of tape pools.\n Use the marker in your next request to continue pagination of tape pools. If there are no\n more tape pools to list, this element does not appear in the response body.

" - } - }, "PoolInfos": { "target": "com.amazonaws.storagegateway#PoolInfos", "traits": { "smithy.api#documentation": "

An array of PoolInfo objects, where each object describes a single custom\n tape pool. If there are no custom tape pools, the PoolInfos is an empty array.\n

" } + }, + "Marker": { + "target": "com.amazonaws.storagegateway#Marker", + "traits": { + "smithy.api#documentation": "

A string that indicates the position at which to begin the returned list of tape pools.\n Use the marker in your next request to continue pagination of tape pools. If there are no\n more tape pools to list, this element does not appear in the response body.

" + } } } }, @@ -5229,6 +5359,9 @@ "com.amazonaws.storagegateway#ListVolumesInput": { "type": "structure", "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" + }, "Marker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { @@ -5240,9 +5373,6 @@ "traits": { "smithy.api#documentation": "

Specifies that the list of volumes returned be limited to the specified number of\n items.

" } - }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" } }, "traits": { @@ -5252,11 +5382,8 @@ "com.amazonaws.storagegateway#ListVolumesOutput": { "type": "structure", "members": { - "VolumeInfos": { - "target": "com.amazonaws.storagegateway#VolumeInfos", - "traits": { - "smithy.api#documentation": "

An array of VolumeInfo objects, where each object describes an iSCSI\n volume. If no volumes are defined for the gateway, then VolumeInfos is an\n empty array \"[]\".

" - } + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" }, "Marker": { "target": "com.amazonaws.storagegateway#Marker", @@ -5264,8 +5391,11 @@ "smithy.api#documentation": "

Use the marker in your next request to continue pagination of iSCSI volumes. If there\n are no more volumes to list, this field does not appear in the response body.

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" + "VolumeInfos": { + "target": "com.amazonaws.storagegateway#VolumeInfos", + "traits": { + "smithy.api#documentation": "

An array of VolumeInfo objects, where each object describes an iSCSI\n volume. If no volumes are defined for the gateway, then VolumeInfos is an\n empty array \"[]\".

" + } } }, "traits": { @@ -5334,28 +5464,28 @@ "com.amazonaws.storagegateway#NFSFileShareDefaults": { "type": "structure", "members": { - "GroupId": { - "target": "com.amazonaws.storagegateway#PermissionId", + "FileMode": { + "target": "com.amazonaws.storagegateway#PermissionMode", "traits": { - "smithy.api#documentation": "

The default group ID for the file share (unless the files have another group ID\n specified). The default value is nfsnobody.

" + "smithy.api#documentation": "

The Unix file mode in the form \"nnnn\". For example, 0666 represents the\n default file mode inside the file share. The default value is 0666.

" } }, - "OwnerId": { - "target": "com.amazonaws.storagegateway#PermissionId", + "DirectoryMode": { + "target": "com.amazonaws.storagegateway#PermissionMode", "traits": { - "smithy.api#documentation": "

The default owner ID for files in the file share (unless the files have another owner ID\n specified). The default value is nfsnobody.

" + "smithy.api#documentation": "

The Unix directory mode in the form \"nnnn\". For example, 0666 represents\n the default access mode for all directories inside the file share. The default value is\n 0777.

" } }, - "FileMode": { - "target": "com.amazonaws.storagegateway#PermissionMode", + "GroupId": { + "target": "com.amazonaws.storagegateway#PermissionId", "traits": { - "smithy.api#documentation": "

The Unix file mode in the form \"nnnn\". For example, 0666 represents the\n default file mode inside the file share. The default value is 0666.

" + "smithy.api#documentation": "

The default group ID for the file share (unless the files have another group ID\n specified). The default value is nfsnobody.

" } }, - "DirectoryMode": { - "target": "com.amazonaws.storagegateway#PermissionMode", + "OwnerId": { + "target": "com.amazonaws.storagegateway#PermissionId", "traits": { - "smithy.api#documentation": "

The Unix directory mode in the form \"nnnn\". For example, 0666 represents\n the default access mode for all directories inside the file share. The default value is\n 0777.

" + "smithy.api#documentation": "

The default owner ID for files in the file share (unless the files have another owner ID\n specified). The default value is nfsnobody.

" } } }, @@ -5366,29 +5496,20 @@ "com.amazonaws.storagegateway#NFSFileShareInfo": { "type": "structure", "members": { - "DefaultStorageClass": { - "target": "com.amazonaws.storagegateway#StorageClass", - "traits": { - "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" - } - }, - "ClientList": { - "target": "com.amazonaws.storagegateway#FileShareClientList" + "NFSFileShareDefaults": { + "target": "com.amazonaws.storagegateway#NFSFileShareDefaults" }, - "ObjectACL": { - "target": "com.amazonaws.storagegateway#ObjectACL" + "FileShareARN": { + "target": "com.amazonaws.storagegateway#FileShareARN" }, - "Squash": { - "target": "com.amazonaws.storagegateway#Squash" + "FileShareId": { + "target": "com.amazonaws.storagegateway#FileShareId" }, "FileShareStatus": { "target": "com.amazonaws.storagegateway#FileShareStatus" }, - "LocationARN": { - "target": "com.amazonaws.storagegateway#LocationARN" - }, - "Role": { - "target": "com.amazonaws.storagegateway#Role" + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" }, "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean2", @@ -5396,16 +5517,37 @@ "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" } }, - "FileShareName": { - "target": "com.amazonaws.storagegateway#FileShareName", + "KMSKey": { + "target": "com.amazonaws.storagegateway#KMSKey" + }, + "Path": { + "target": "com.amazonaws.storagegateway#Path" + }, + "Role": { + "target": "com.amazonaws.storagegateway#Role" + }, + "LocationARN": { + "target": "com.amazonaws.storagegateway#LocationARN" + }, + "DefaultStorageClass": { + "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" + "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" } }, - "RequesterPays": { + "ObjectACL": { + "target": "com.amazonaws.storagegateway#ObjectACL" + }, + "ClientList": { + "target": "com.amazonaws.storagegateway#FileShareClientList" + }, + "Squash": { + "target": "com.amazonaws.storagegateway#Squash" + }, + "ReadOnly": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.

\n\n \n

\n RequesterPays is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.

\n
\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set the write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" } }, "GuessMIMETypeEnabled": { @@ -5414,22 +5556,10 @@ "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" } }, - "FileShareARN": { - "target": "com.amazonaws.storagegateway#FileShareARN" - }, - "FileShareId": { - "target": "com.amazonaws.storagegateway#FileShareId" - }, - "NotificationPolicy": { - "target": "com.amazonaws.storagegateway#NotificationPolicy", - "traits": { - "smithy.api#documentation": "

The notification policy of the file share.

" - } - }, - "CacheAttributes": { - "target": "com.amazonaws.storagegateway#CacheAttributes", + "RequesterPays": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

Refresh cache information.

" + "smithy.api#documentation": "

A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.

\n\n \n

\n RequesterPays is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.

\n
\n\n

Valid Values: true | false\n

" } }, "Tags": { @@ -5438,23 +5568,23 @@ "smithy.api#documentation": "

A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key\n name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can\n view all tags using the ListTagsForResource API operation.

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" - }, - "Path": { - "target": "com.amazonaws.storagegateway#Path" - }, - "KMSKey": { - "target": "com.amazonaws.storagegateway#KMSKey" + "FileShareName": { + "target": "com.amazonaws.storagegateway#FileShareName", + "traits": { + "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" + } }, - "ReadOnly": { - "target": "com.amazonaws.storagegateway#Boolean", + "CacheAttributes": { + "target": "com.amazonaws.storagegateway#CacheAttributes", "traits": { - "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set the write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

Refresh cache information.

" } }, - "NFSFileShareDefaults": { - "target": "com.amazonaws.storagegateway#NFSFileShareDefaults" + "NotificationPolicy": { + "target": "com.amazonaws.storagegateway#NotificationPolicy", + "traits": { + "smithy.api#documentation": "

The notification policy of the file share.

" + } } }, "traits": { @@ -5470,22 +5600,22 @@ "com.amazonaws.storagegateway#NetworkInterface": { "type": "structure", "members": { - "MacAddress": { + "Ipv4Address": { "target": "com.amazonaws.storagegateway#string", "traits": { - "smithy.api#documentation": "

The Media Access Control (MAC) address of the interface.

\n\n \n

This is currently unsupported and will not be returned in output.

\n
" + "smithy.api#documentation": "

The Internet Protocol version 4 (IPv4) address of the interface.

" } }, - "Ipv6Address": { + "MacAddress": { "target": "com.amazonaws.storagegateway#string", "traits": { - "smithy.api#documentation": "

The Internet Protocol version 6 (IPv6) address of the interface. Currently not\n supported.

" + "smithy.api#documentation": "

The Media Access Control (MAC) address of the interface.

\n\n \n

This is currently unsupported and will not be returned in output.

\n
" } }, - "Ipv4Address": { + "Ipv6Address": { "target": "com.amazonaws.storagegateway#string", "traits": { - "smithy.api#documentation": "

The Internet Protocol version 4 (IPv4) address of the interface.

" + "smithy.api#documentation": "

The Internet Protocol version 6 (IPv6) address of the interface. Currently not\n supported.

" } } }, @@ -5562,11 +5692,11 @@ "com.amazonaws.storagegateway#NotifyWhenUploadedOutput": { "type": "structure", "members": { - "NotificationId": { - "target": "com.amazonaws.storagegateway#NotificationId" - }, "FileShareARN": { "target": "com.amazonaws.storagegateway#FileShareARN" + }, + "NotificationId": { + "target": "com.amazonaws.storagegateway#NotificationId" } } }, @@ -5671,22 +5801,10 @@ "com.amazonaws.storagegateway#PoolInfo": { "type": "structure", "members": { - "PoolStatus": { - "target": "com.amazonaws.storagegateway#PoolStatus", - "traits": { - "smithy.api#documentation": "

Status of the custom tape pool. Pool can be ACTIVE or\n DELETED.

" - } - }, - "RetentionLockType": { - "target": "com.amazonaws.storagegateway#RetentionLockType", - "traits": { - "smithy.api#documentation": "

Tape retention lock type, which can be configured in two modes. When configured in\n governance mode, AWS accounts with specific IAM permissions are authorized to remove the\n tape retention lock from archived virtual tapes. When configured in compliance mode, the\n tape retention lock cannot be removed by any user, including the root AWS account.

" - } - }, - "RetentionLockTimeInDays": { - "target": "com.amazonaws.storagegateway#RetentionLockTimeInDays", + "PoolARN": { + "target": "com.amazonaws.storagegateway#PoolARN", "traits": { - "smithy.api#documentation": "

Tape retention lock time is set in days. Tape retention lock can be enabled for up to\n 100 years (36,500 days).

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your\n account and AWS Region.

" } }, "PoolName": { @@ -5701,10 +5819,22 @@ "smithy.api#documentation": "

The storage class that is associated with the custom pool. When you use your backup\n application to eject the tape, the tape is archived directly into the storage class (S3\n Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

" } }, - "PoolARN": { - "target": "com.amazonaws.storagegateway#PoolARN", + "RetentionLockType": { + "target": "com.amazonaws.storagegateway#RetentionLockType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your\n account and AWS Region.

" + "smithy.api#documentation": "

Tape retention lock type, which can be configured in two modes. When configured in\n governance mode, AWS accounts with specific IAM permissions are authorized to remove the\n tape retention lock from archived virtual tapes. When configured in compliance mode, the\n tape retention lock cannot be removed by any user, including the root AWS account.

" + } + }, + "RetentionLockTimeInDays": { + "target": "com.amazonaws.storagegateway#RetentionLockTimeInDays", + "traits": { + "smithy.api#documentation": "

Tape retention lock time is set in days. Tape retention lock can be enabled for up to\n 100 years (36,500 days).

" + } + }, + "PoolStatus": { + "target": "com.amazonaws.storagegateway#PoolStatus", + "traits": { + "smithy.api#documentation": "

Status of the custom tape pool. Pool can be ACTIVE or\n DELETED.

" } } }, @@ -5783,12 +5913,6 @@ "com.amazonaws.storagegateway#RefreshCacheInput": { "type": "structure", "members": { - "Recursive": { - "target": "com.amazonaws.storagegateway#Boolean", - "traits": { - "smithy.api#documentation": "

A value that specifies whether to recursively refresh folders in the cache. The refresh\n includes folders that were in the cache the last time the gateway listed the folder's\n contents. If this value set to true, each folder that is listed in\n FolderList is recursively updated. Otherwise, subfolders listed in\n FolderList are not refreshed. Only objects that are in folders listed\n directly under FolderList are found and used for the update. The default is\n true.

\n\n

Valid Values: true | false\n

" - } - }, "FileShareARN": { "target": "com.amazonaws.storagegateway#FileShareARN", "traits": { @@ -5801,6 +5925,12 @@ "traits": { "smithy.api#documentation": "

A comma-separated list of the paths of folders to refresh in the cache. The default is\n [\"/\"]. The default refreshes objects and folders at the root of the Amazon\n S3 bucket. If Recursive is set to true, the entire S3 bucket that\n the file share has access to is refreshed.

" } + }, + "Recursive": { + "target": "com.amazonaws.storagegateway#Boolean", + "traits": { + "smithy.api#documentation": "

A value that specifies whether to recursively refresh folders in the cache. The refresh\n includes folders that were in the cache the last time the gateway listed the folder's\n contents. If this value set to true, each folder that is listed in\n FolderList is recursively updated. Otherwise, subfolders listed in\n FolderList are not refreshed. Only objects that are in folders listed\n directly under FolderList are found and used for the update. The default is\n true.

\n\n

Valid Values: true | false\n

" + } } }, "traits": { @@ -6039,16 +6169,16 @@ "com.amazonaws.storagegateway#RetrieveTapeRecoveryPointInput": { "type": "structure", "members": { - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "TapeARN": { + "target": "com.amazonaws.storagegateway#TapeARN", "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the\n recovery point.

", "smithy.api#required": {} } }, - "TapeARN": { - "target": "com.amazonaws.storagegateway#TapeARN", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the\n recovery point.

", "smithy.api#required": {} } } @@ -6085,49 +6215,43 @@ "com.amazonaws.storagegateway#SMBFileShareInfo": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.storagegateway#Tags", - "traits": { - "smithy.api#documentation": "

A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key\n name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can\n view all tags using the ListTagsForResource API operation.

" - } + "FileShareARN": { + "target": "com.amazonaws.storagegateway#FileShareARN" }, - "CacheAttributes": { - "target": "com.amazonaws.storagegateway#CacheAttributes", - "traits": { - "smithy.api#documentation": "

Refresh cache information.

" - } + "FileShareId": { + "target": "com.amazonaws.storagegateway#FileShareId" }, - "AdminUserList": { - "target": "com.amazonaws.storagegateway#FileShareUserList", - "traits": { - "smithy.api#documentation": "

A list of users or groups in the Active Directory that have administrator rights to the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" - } + "FileShareStatus": { + "target": "com.amazonaws.storagegateway#FileShareStatus" }, - "AuditDestinationARN": { - "target": "com.amazonaws.storagegateway#AuditDestinationARN", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" + }, + "KMSEncrypted": { + "target": "com.amazonaws.storagegateway#Boolean2", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the storage used for the audit logs.

" + "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey" }, - "SMBACLEnabled": { - "target": "com.amazonaws.storagegateway#Boolean", + "Path": { + "target": "com.amazonaws.storagegateway#Path", "traits": { - "smithy.api#documentation": "

If this value is set to true, it indicates that access control list (ACL)\n is enabled on the SMB file share. If it is set to false, it indicates that\n file and directory permissions are mapped to the POSIX permission.

\n\n \n\n

For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the AWS Storage Gateway User\n Guide.

" + "smithy.api#documentation": "

The file share path used by the SMB client to identify the mount point.

" } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" + "Role": { + "target": "com.amazonaws.storagegateway#Role" }, - "FileShareId": { - "target": "com.amazonaws.storagegateway#FileShareId" + "LocationARN": { + "target": "com.amazonaws.storagegateway#LocationARN" }, - "Path": { - "target": "com.amazonaws.storagegateway#Path", + "DefaultStorageClass": { + "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

The file share path used by the SMB client to identify the mount point.

" + "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" } }, "ObjectACL": { @@ -6139,10 +6263,34 @@ "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set the write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" } }, - "InvalidUserList": { + "GuessMIMETypeEnabled": { + "target": "com.amazonaws.storagegateway#Boolean", + "traits": { + "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" + } + }, + "RequesterPays": { + "target": "com.amazonaws.storagegateway#Boolean", + "traits": { + "smithy.api#documentation": "

A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.

\n\n \n

\n RequesterPays is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.

\n
\n\n

Valid Values: true | false\n

" + } + }, + "SMBACLEnabled": { + "target": "com.amazonaws.storagegateway#Boolean", + "traits": { + "smithy.api#documentation": "

If this value is set to true, it indicates that access control list (ACL)\n is enabled on the SMB file share. If it is set to false, it indicates that\n file and directory permissions are mapped to the POSIX permission.

\n\n \n\n

For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the AWS Storage Gateway User\n Guide.

" + } + }, + "AccessBasedEnumeration": { + "target": "com.amazonaws.storagegateway#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether AccessBasedEnumeration is enabled.

" + } + }, + "AdminUserList": { "target": "com.amazonaws.storagegateway#FileShareUserList", "traits": { - "smithy.api#documentation": "

A list of users or groups in the Active Directory that are not allowed to access the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" + "smithy.api#documentation": "

A list of users or groups in the Active Directory that have administrator rights to the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" } }, "ValidUserList": { @@ -6151,33 +6299,18 @@ "smithy.api#documentation": "

A list of users or groups in the Active Directory that are allowed to access the file\n share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" } }, - "FileShareARN": { - "target": "com.amazonaws.storagegateway#FileShareARN" - }, - "RequesterPays": { - "target": "com.amazonaws.storagegateway#Boolean", - "traits": { - "smithy.api#documentation": "

A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.

\n\n \n

\n RequesterPays is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.

\n
\n\n

Valid Values: true | false\n

" - } - }, - "FileShareName": { - "target": "com.amazonaws.storagegateway#FileShareName", + "InvalidUserList": { + "target": "com.amazonaws.storagegateway#FileShareUserList", "traits": { - "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" + "smithy.api#documentation": "

A list of users or groups in the Active Directory that are not allowed to access the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" } }, - "KMSEncrypted": { - "target": "com.amazonaws.storagegateway#Boolean2", + "AuditDestinationARN": { + "target": "com.amazonaws.storagegateway#AuditDestinationARN", "traits": { - "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the storage used for the audit logs.

" } }, - "Role": { - "target": "com.amazonaws.storagegateway#Role" - }, - "LocationARN": { - "target": "com.amazonaws.storagegateway#LocationARN" - }, "Authentication": { "target": "com.amazonaws.storagegateway#Authentication" }, @@ -6187,31 +6320,28 @@ "smithy.api#documentation": "

The case of an object name in an Amazon S3 bucket. For ClientSpecified, the\n client determines the case sensitivity. For CaseSensitive, the gateway\n determines the case sensitivity. The default value is ClientSpecified.

" } }, - "AccessBasedEnumeration": { - "target": "com.amazonaws.storagegateway#Boolean", + "Tags": { + "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "

Indicates whether AccessBasedEnumeration is enabled.

" + "smithy.api#documentation": "

A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key\n name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can\n view all tags using the ListTagsForResource API operation.

" } }, - "FileShareStatus": { - "target": "com.amazonaws.storagegateway#FileShareStatus" - }, - "NotificationPolicy": { - "target": "com.amazonaws.storagegateway#NotificationPolicy", + "FileShareName": { + "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

The notification policy of the file share.

" + "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" } }, - "DefaultStorageClass": { - "target": "com.amazonaws.storagegateway#StorageClass", + "CacheAttributes": { + "target": "com.amazonaws.storagegateway#CacheAttributes", "traits": { - "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" + "smithy.api#documentation": "

Refresh cache information.

" } }, - "GuessMIMETypeEnabled": { - "target": "com.amazonaws.storagegateway#Boolean", + "NotificationPolicy": { + "target": "com.amazonaws.storagegateway#NotificationPolicy", "traits": { - "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The notification policy of the file share.

" } } }, @@ -6346,17 +6476,17 @@ "com.amazonaws.storagegateway#SetSMBGuestPasswordInput": { "type": "structure", "members": { - "Password": { - "target": "com.amazonaws.storagegateway#SMBGuestPassword", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

The password that you want to set for your SMB server.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the file gateway the SMB file share is associated\n with.

", "smithy.api#required": {} } }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "Password": { + "target": "com.amazonaws.storagegateway#SMBGuestPassword", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the file gateway the SMB file share is associated\n with.

", + "smithy.api#documentation": "

The password that you want to set for your SMB server.

", "smithy.api#required": {} } } @@ -6549,17 +6679,17 @@ "com.amazonaws.storagegateway#StorageGatewayError": { "type": "structure", "members": { - "errorDetails": { - "target": "com.amazonaws.storagegateway#errorDetails", - "traits": { - "smithy.api#documentation": "

Human-readable text that provides detail about the error that occurred.

" - } - }, "errorCode": { "target": "com.amazonaws.storagegateway#ErrorCode", "traits": { "smithy.api#documentation": "

Additional information about the error.

" } + }, + "errorDetails": { + "target": "com.amazonaws.storagegateway#errorDetails", + "traits": { + "smithy.api#documentation": "

Human-readable text that provides detail about the error that occurred.

" + } } }, "traits": { @@ -6660,6 +6790,9 @@ { "target": "com.amazonaws.storagegateway#DescribeBandwidthRateLimit" }, + { + "target": "com.amazonaws.storagegateway#DescribeBandwidthRateLimitSchedule" + }, { "target": "com.amazonaws.storagegateway#DescribeCache" }, @@ -6786,6 +6919,9 @@ { "target": "com.amazonaws.storagegateway#UpdateBandwidthRateLimit" }, + { + "target": "com.amazonaws.storagegateway#UpdateBandwidthRateLimitSchedule" + }, { "target": "com.amazonaws.storagegateway#UpdateChapCredentials" }, @@ -6838,37 +6974,16 @@ "com.amazonaws.storagegateway#StorediSCSIVolume": { "type": "structure", "members": { - "VolumeId": { - "target": "com.amazonaws.storagegateway#VolumeId", - "traits": { - "smithy.api#documentation": "

The unique identifier of the volume, e.g., vol-AE4B946D.

" - } - }, - "KMSKey": { - "target": "com.amazonaws.storagegateway#KMSKey" - }, "VolumeARN": { "target": "com.amazonaws.storagegateway#VolumeARN", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the storage volume.

" } }, - "VolumeiSCSIAttributes": { - "target": "com.amazonaws.storagegateway#VolumeiSCSIAttributes", - "traits": { - "smithy.api#documentation": "

An VolumeiSCSIAttributes object that represents a collection of iSCSI\n attributes for one stored volume.

" - } - }, - "VolumeStatus": { - "target": "com.amazonaws.storagegateway#VolumeStatus", - "traits": { - "smithy.api#documentation": "

One of the VolumeStatus values that indicates the state of the storage volume.

" - } - }, - "TargetName": { - "target": "com.amazonaws.storagegateway#TargetName", + "VolumeId": { + "target": "com.amazonaws.storagegateway#VolumeId", "traits": { - "smithy.api#documentation": "

The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.\n The target name must be unique across all volumes on a gateway.

\n\n

If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.

" + "smithy.api#documentation": "

The unique identifier of the volume, e.g., vol-AE4B946D.

" } }, "VolumeType": { @@ -6877,6 +6992,12 @@ "smithy.api#documentation": "

One of the VolumeType enumeration values describing the type of the volume.

" } }, + "VolumeStatus": { + "target": "com.amazonaws.storagegateway#VolumeStatus", + "traits": { + "smithy.api#documentation": "

One of the VolumeStatus values that indicates the state of the storage volume.

" + } + }, "VolumeAttachmentStatus": { "target": "com.amazonaws.storagegateway#VolumeAttachmentStatus", "traits": { @@ -6889,6 +7010,12 @@ "smithy.api#documentation": "

The size of the volume in bytes.

" } }, + "VolumeProgress": { + "target": "com.amazonaws.storagegateway#DoubleObject", + "traits": { + "smithy.api#documentation": "

Represents the percentage complete if the volume is restoring or bootstrapping that\n represents the percent of data transferred. This field does not appear in the response if\n the stored volume is not restoring or bootstrapping.

" + } + }, "VolumeDiskId": { "target": "com.amazonaws.storagegateway#DiskId", "traits": { @@ -6901,16 +7028,16 @@ "smithy.api#documentation": "

If the stored volume was created from a snapshot, this field contains the snapshot ID\n used, e.g. snap-78e22663. Otherwise, this field is not included.

" } }, - "VolumeUsedInBytes": { - "target": "com.amazonaws.storagegateway#VolumeUsedInBytes", + "PreservedExistingData": { + "target": "com.amazonaws.storagegateway#Boolean2", "traits": { - "smithy.api#documentation": "

The size of the data stored on the volume in bytes. This value is calculated based on\n the number of blocks that are touched, instead of the actual amount of data written. This\n value can be useful for sequential write patterns but less accurate for random write\n patterns. VolumeUsedInBytes is different from the compressed size of the\n volume, which is the value that is used to calculate your bill.

\n\n \n

This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.

\n
" + "smithy.api#documentation": "

Indicates if when the stored volume was created, existing data on the underlying local\n disk was preserved.

\n\n

Valid Values: true | false\n

" } }, - "VolumeProgress": { - "target": "com.amazonaws.storagegateway#DoubleObject", + "VolumeiSCSIAttributes": { + "target": "com.amazonaws.storagegateway#VolumeiSCSIAttributes", "traits": { - "smithy.api#documentation": "

Represents the percentage complete if the volume is restoring or bootstrapping that\n represents the percent of data transferred. This field does not appear in the response if\n the stored volume is not restoring or bootstrapping.

" + "smithy.api#documentation": "

An VolumeiSCSIAttributes object that represents a collection of iSCSI\n attributes for one stored volume.

" } }, "CreatedDate": { @@ -6919,10 +7046,19 @@ "smithy.api#documentation": "

The date the volume was created. Volumes created prior to March 28, 2017 don’t have this\n timestamp.

" } }, - "PreservedExistingData": { - "target": "com.amazonaws.storagegateway#Boolean2", + "VolumeUsedInBytes": { + "target": "com.amazonaws.storagegateway#VolumeUsedInBytes", "traits": { - "smithy.api#documentation": "

Indicates if when the stored volume was created, existing data on the underlying local\n disk was preserved.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The size of the data stored on the volume in bytes. This value is calculated based on\n the number of blocks that are touched, instead of the actual amount of data written. This\n value can be useful for sequential write patterns but less accurate for random write\n patterns. VolumeUsedInBytes is different from the compressed size of the\n volume, which is the value that is used to calculate your bill.

\n\n \n

This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.

\n
" + } + }, + "KMSKey": { + "target": "com.amazonaws.storagegateway#KMSKey" + }, + "TargetName": { + "target": "com.amazonaws.storagegateway#TargetName", + "traits": { + "smithy.api#documentation": "

The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.\n The target name must be unique across all volumes on a gateway.

\n\n

If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.

" } } }, @@ -6939,17 +7075,17 @@ "com.amazonaws.storagegateway#Tag": { "type": "structure", "members": { - "Value": { - "target": "com.amazonaws.storagegateway#TagValue", + "Key": { + "target": "com.amazonaws.storagegateway#TagKey", "traits": { - "smithy.api#documentation": "

Value of the tag key.

", + "smithy.api#documentation": "

Tag key. The key can't start with aws:.

", "smithy.api#required": {} } }, - "Key": { - "target": "com.amazonaws.storagegateway#TagKey", + "Value": { + "target": "com.amazonaws.storagegateway#TagValue", "traits": { - "smithy.api#documentation": "

Tag key. The key can't start with aws:.

", + "smithy.api#documentation": "

Value of the tag key.

", "smithy.api#required": {} } } @@ -6992,28 +7128,34 @@ "com.amazonaws.storagegateway#Tape": { "type": "structure", "members": { - "TapeStatus": { - "target": "com.amazonaws.storagegateway#TapeStatus", + "TapeARN": { + "target": "com.amazonaws.storagegateway#TapeARN", "traits": { - "smithy.api#documentation": "

The current state of the virtual tape.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape.

" } }, - "TapeSizeInBytes": { - "target": "com.amazonaws.storagegateway#TapeSize", + "TapeBarcode": { + "target": "com.amazonaws.storagegateway#TapeBarcode", "traits": { - "smithy.api#documentation": "

The size, in bytes, of the virtual tape capacity.

" + "smithy.api#documentation": "

The barcode that identifies a specific virtual tape.

" } }, - "Progress": { - "target": "com.amazonaws.storagegateway#DoubleObject", + "TapeCreatedDate": { + "target": "com.amazonaws.storagegateway#Time", "traits": { - "smithy.api#documentation": "

For archiving virtual tapes, indicates how much data remains to be uploaded before\n archiving is complete.

\n\n

Range: 0 (not started) to 100 (complete).

" + "smithy.api#documentation": "

The date the virtual tape was created.

" } }, - "TapeUsedInBytes": { - "target": "com.amazonaws.storagegateway#TapeUsage", + "TapeSizeInBytes": { + "target": "com.amazonaws.storagegateway#TapeSize", "traits": { - "smithy.api#documentation": "

The size, in bytes, of data stored on the virtual tape.

\n\n \n

This value is not available for tapes created prior to May 13, 2015.

\n
" + "smithy.api#documentation": "

The size, in bytes, of the virtual tape capacity.

" + } + }, + "TapeStatus": { + "target": "com.amazonaws.storagegateway#TapeStatus", + "traits": { + "smithy.api#documentation": "

The current state of the virtual tape.

" } }, "VTLDevice": { @@ -7022,31 +7164,25 @@ "smithy.api#documentation": "

The virtual tape library (VTL) device that the virtual tape is associated with.

" } }, - "PoolId": { - "target": "com.amazonaws.storagegateway#PoolId", + "Progress": { + "target": "com.amazonaws.storagegateway#DoubleObject", "traits": { - "smithy.api#documentation": "

The ID of the pool that contains tapes that will be archived. The tapes in this pool are\n archived in the S3 storage class that is associated with the pool. When you use your backup\n application to eject the tape, the tape is archived directly into the storage class (S3\n Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" + "smithy.api#documentation": "

For archiving virtual tapes, indicates how much data remains to be uploaded before\n archiving is complete.

\n\n

Range: 0 (not started) to 100 (complete).

" } }, - "TapeARN": { - "target": "com.amazonaws.storagegateway#TapeARN", + "TapeUsedInBytes": { + "target": "com.amazonaws.storagegateway#TapeUsage", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape.

" + "smithy.api#documentation": "

The size, in bytes, of data stored on the virtual tape.

\n\n \n

This value is not available for tapes created prior to May 13, 2015.

\n
" } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey" }, - "TapeCreatedDate": { - "target": "com.amazonaws.storagegateway#Time", - "traits": { - "smithy.api#documentation": "

The date the virtual tape was created.

" - } - }, - "RetentionStartDate": { - "target": "com.amazonaws.storagegateway#Time", + "PoolId": { + "target": "com.amazonaws.storagegateway#PoolId", "traits": { - "smithy.api#documentation": "

The date that the tape is first archived with tape retention lock enabled.

" + "smithy.api#documentation": "

The ID of the pool that contains tapes that will be archived. The tapes in this pool are\n archived in the S3 storage class that is associated with the pool. When you use your backup\n application to eject the tape, the tape is archived directly into the storage class (S3\n Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" } }, "Worm": { @@ -7055,10 +7191,10 @@ "smithy.api#documentation": "

If the tape is archived as write-once-read-many (WORM), this value is\n true.

" } }, - "TapeBarcode": { - "target": "com.amazonaws.storagegateway#TapeBarcode", + "RetentionStartDate": { + "target": "com.amazonaws.storagegateway#Time", "traits": { - "smithy.api#documentation": "

The barcode that identifies a specific virtual tape.

" + "smithy.api#documentation": "

The date that the tape is first archived with tape retention lock enabled.

" } }, "PoolEntryDate": { @@ -7094,6 +7230,12 @@ "com.amazonaws.storagegateway#TapeArchive": { "type": "structure", "members": { + "TapeARN": { + "target": "com.amazonaws.storagegateway#TapeARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an archived virtual tape.

" + } + }, "TapeBarcode": { "target": "com.amazonaws.storagegateway#TapeBarcode", "traits": { @@ -7106,10 +7248,10 @@ "smithy.api#documentation": "

The date the virtual tape was created.

" } }, - "TapeUsedInBytes": { - "target": "com.amazonaws.storagegateway#TapeUsage", + "TapeSizeInBytes": { + "target": "com.amazonaws.storagegateway#TapeSize", "traits": { - "smithy.api#documentation": "

The size, in bytes, of data stored on the virtual tape.

\n\n \n

This value is not available for tapes created prior to May 13, 2015.

\n
" + "smithy.api#documentation": "

The size, in bytes, of the archived virtual tape.

" } }, "CompletionTime": { @@ -7118,10 +7260,31 @@ "smithy.api#documentation": "

The time that the archiving of the virtual tape was completed.

\n\n

The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z'\n format.

" } }, - "RetrievedTo": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "RetrievedTo": { + "target": "com.amazonaws.storagegateway#GatewayARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being\n retrieved to.

\n\n

The virtual tape is retrieved from the virtual tape shelf (VTS).

" + } + }, + "TapeStatus": { + "target": "com.amazonaws.storagegateway#TapeArchiveStatus", + "traits": { + "smithy.api#documentation": "

The current state of the archived virtual tape.

" + } + }, + "TapeUsedInBytes": { + "target": "com.amazonaws.storagegateway#TapeUsage", + "traits": { + "smithy.api#documentation": "

The size, in bytes, of data stored on the virtual tape.

\n\n \n

This value is not available for tapes created prior to May 13, 2015.

\n
" + } + }, + "KMSKey": { + "target": "com.amazonaws.storagegateway#KMSKey" + }, + "PoolId": { + "target": "com.amazonaws.storagegateway#PoolId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being\n retrieved to.

\n\n

The virtual tape is retrieved from the virtual tape shelf (VTS).

" + "smithy.api#documentation": "

The ID of the pool that was used to archive the tape. The tapes in this pool are\n archived in the S3 storage class that is associated with the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" } }, "Worm": { @@ -7130,44 +7293,17 @@ "smithy.api#documentation": "

Set to true if the archived tape is stored as write-once-read-many\n (WORM).

" } }, - "KMSKey": { - "target": "com.amazonaws.storagegateway#KMSKey" - }, "RetentionStartDate": { "target": "com.amazonaws.storagegateway#Time", "traits": { "smithy.api#documentation": "

If the archived tape is subject to tape retention lock, the date that the archived tape\n started being retained.

" } }, - "PoolId": { - "target": "com.amazonaws.storagegateway#PoolId", - "traits": { - "smithy.api#documentation": "

The ID of the pool that was used to archive the tape. The tapes in this pool are\n archived in the S3 storage class that is associated with the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" - } - }, "PoolEntryDate": { "target": "com.amazonaws.storagegateway#Time", "traits": { "smithy.api#documentation": "

The time that the tape entered the custom tape pool.

\n\n

The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z'\n format.

" } - }, - "TapeSizeInBytes": { - "target": "com.amazonaws.storagegateway#TapeSize", - "traits": { - "smithy.api#documentation": "

The size, in bytes, of the archived virtual tape.

" - } - }, - "TapeARN": { - "target": "com.amazonaws.storagegateway#TapeARN", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an archived virtual tape.

" - } - }, - "TapeStatus": { - "target": "com.amazonaws.storagegateway#TapeArchiveStatus", - "traits": { - "smithy.api#documentation": "

The current state of the archived virtual tape.

" - } } }, "traits": { @@ -7227,6 +7363,12 @@ "smithy.api#documentation": "

The barcode that identifies a specific virtual tape.

" } }, + "TapeSizeInBytes": { + "target": "com.amazonaws.storagegateway#TapeSize", + "traits": { + "smithy.api#documentation": "

The size, in bytes, of a virtual tape.

" + } + }, "TapeStatus": { "target": "com.amazonaws.storagegateway#TapeStatus", "traits": { @@ -7239,16 +7381,10 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and AWS Region.

" } }, - "PoolEntryDate": { - "target": "com.amazonaws.storagegateway#Time", - "traits": { - "smithy.api#documentation": "

The date that the tape entered the custom tape pool with tape retention lock\n enabled.

" - } - }, - "TapeSizeInBytes": { - "target": "com.amazonaws.storagegateway#TapeSize", + "PoolId": { + "target": "com.amazonaws.storagegateway#PoolId", "traits": { - "smithy.api#documentation": "

The size, in bytes, of a virtual tape.

" + "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the S3 storage class that is associated with the pool. When you use\n your backup application to eject the tape, the tape is archived directly into the storage\n class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" } }, "RetentionStartDate": { @@ -7257,10 +7393,10 @@ "smithy.api#documentation": "

The date that the tape became subject to tape retention lock.

" } }, - "PoolId": { - "target": "com.amazonaws.storagegateway#PoolId", + "PoolEntryDate": { + "target": "com.amazonaws.storagegateway#Time", "traits": { - "smithy.api#documentation": "

The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the S3 storage class that is associated with the pool. When you use\n your backup application to eject the tape, the tape is archived directly into the storage\n class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

\n\n

Valid Values: GLACIER | DEEP_ARCHIVE\n

" + "smithy.api#documentation": "

The date that the tape entered the custom tape pool with tape retention lock\n enabled.

" } } }, @@ -7280,16 +7416,10 @@ "com.amazonaws.storagegateway#TapeRecoveryPointInfo": { "type": "structure", "members": { - "TapeSizeInBytes": { - "target": "com.amazonaws.storagegateway#TapeSize", - "traits": { - "smithy.api#documentation": "

The size, in bytes, of the virtual tapes to recover.

" - } - }, - "TapeStatus": { - "target": "com.amazonaws.storagegateway#TapeRecoveryPointStatus", + "TapeARN": { + "target": "com.amazonaws.storagegateway#TapeARN", "traits": { - "smithy.api#documentation": "

The status of the virtual tapes.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape.

" } }, "TapeRecoveryPointTime": { @@ -7298,10 +7428,16 @@ "smithy.api#documentation": "

The time when the point-in-time view of the virtual tape was replicated for later\n recovery.

\n\n

The default timestamp format of the tape recovery point time is in the ISO8601 extended\n YYYY-MM-DD'T'HH:MM:SS'Z' format.

" } }, - "TapeARN": { - "target": "com.amazonaws.storagegateway#TapeARN", + "TapeSizeInBytes": { + "target": "com.amazonaws.storagegateway#TapeSize", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual tape.

" + "smithy.api#documentation": "

The size, in bytes, of the virtual tapes to recover.

" + } + }, + "TapeStatus": { + "target": "com.amazonaws.storagegateway#TapeRecoveryPointStatus", + "traits": { + "smithy.api#documentation": "

The status of the virtual tapes.

" } } }, @@ -7407,16 +7543,16 @@ "com.amazonaws.storagegateway#UpdateAutomaticTapeCreationPolicyInput": { "type": "structure", "members": { - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", + "AutomaticTapeCreationRules": { + "target": "com.amazonaws.storagegateway#AutomaticTapeCreationRules", "traits": { + "smithy.api#documentation": "

An automatic tape creation policy consists of a list of automatic tape creation rules.\n The rules determine when and how to automatically create new tapes.

", "smithy.api#required": {} } }, - "AutomaticTapeCreationRules": { - "target": "com.amazonaws.storagegateway#AutomaticTapeCreationRules", + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

An automatic tape creation policy consists of a list of automatic tape creation rules.\n The rules determine when and how to automatically create new tapes.

", "smithy.api#required": {} } } @@ -7453,12 +7589,6 @@ "com.amazonaws.storagegateway#UpdateBandwidthRateLimitInput": { "type": "structure", "members": { - "AverageDownloadRateLimitInBitsPerSec": { - "target": "com.amazonaws.storagegateway#BandwidthDownloadRateLimit", - "traits": { - "smithy.api#documentation": "

The average download bandwidth rate limit in bits per second.

" - } - }, "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { @@ -7470,6 +7600,12 @@ "traits": { "smithy.api#documentation": "

The average upload bandwidth rate limit in bits per second.

" } + }, + "AverageDownloadRateLimitInBitsPerSec": { + "target": "com.amazonaws.storagegateway#BandwidthDownloadRateLimit", + "traits": { + "smithy.api#documentation": "

The average download bandwidth rate limit in bits per second.

" + } } }, "traits": { @@ -7487,6 +7623,52 @@ "smithy.api#documentation": "

A JSON object containing the Amazon Resource Name (ARN) of the gateway whose throttle\n information was updated.

" } }, + "com.amazonaws.storagegateway#UpdateBandwidthRateLimitSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.storagegateway#UpdateBandwidthRateLimitScheduleInput" + }, + "output": { + "target": "com.amazonaws.storagegateway#UpdateBandwidthRateLimitScheduleOutput" + }, + "errors": [ + { + "target": "com.amazonaws.storagegateway#InternalServerError" + }, + { + "target": "com.amazonaws.storagegateway#InvalidGatewayRequestException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do \n not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect.\n Use this to initiate or update a gateway's bandwidth rate limit schedule.\n This operation is supported in the volume and tape gateway types.\n

" + } + }, + "com.amazonaws.storagegateway#UpdateBandwidthRateLimitScheduleInput": { + "type": "structure", + "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", + "traits": { + "smithy.api#required": {} + } + }, + "BandwidthRateLimitIntervals": { + "target": "com.amazonaws.storagegateway#BandwidthRateLimitIntervals", + "traits": { + "smithy.api#documentation": "

\n An array containing bandwidth rate limit schedule intervals for a gateway. \n When no bandwidth rate limit intervals have been scheduled, the array is empty.\n

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.storagegateway#UpdateBandwidthRateLimitScheduleOutput": { + "type": "structure", + "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" + } + } + }, "com.amazonaws.storagegateway#UpdateChapCredentials": { "type": "operation", "input": { @@ -7510,16 +7692,10 @@ "com.amazonaws.storagegateway#UpdateChapCredentialsInput": { "type": "structure", "members": { - "SecretToAuthenticateTarget": { - "target": "com.amazonaws.storagegateway#ChapSecret", - "traits": { - "smithy.api#documentation": "

The secret key that the target must provide to participate in mutual CHAP with the\n initiator (e.g. Windows client).

\n\n

Byte constraints: Minimum bytes of 12. Maximum bytes of 16.

\n\n \n

The secret key must be between 12 and 16 bytes when encoded in UTF-8.

\n
" - } - }, - "InitiatorName": { - "target": "com.amazonaws.storagegateway#IqnName", + "TargetARN": { + "target": "com.amazonaws.storagegateway#TargetARN", "traits": { - "smithy.api#documentation": "

The iSCSI initiator that connects to the target.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified\n VolumeARN.

", "smithy.api#required": {} } }, @@ -7530,12 +7706,18 @@ "smithy.api#required": {} } }, - "TargetARN": { - "target": "com.amazonaws.storagegateway#TargetARN", + "InitiatorName": { + "target": "com.amazonaws.storagegateway#IqnName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified\n VolumeARN.

", + "smithy.api#documentation": "

The iSCSI initiator that connects to the target.

", "smithy.api#required": {} } + }, + "SecretToAuthenticateTarget": { + "target": "com.amazonaws.storagegateway#ChapSecret", + "traits": { + "smithy.api#documentation": "

The secret key that the target must provide to participate in mutual CHAP with the\n initiator (e.g. Windows client).

\n\n

Byte constraints: Minimum bytes of 12. Maximum bytes of 16.

\n\n \n

The secret key must be between 12 and 16 bytes when encoded in UTF-8.

\n
" + } } }, "traits": { @@ -7545,17 +7727,17 @@ "com.amazonaws.storagegateway#UpdateChapCredentialsOutput": { "type": "structure", "members": { - "InitiatorName": { - "target": "com.amazonaws.storagegateway#IqnName", - "traits": { - "smithy.api#documentation": "

The iSCSI initiator that connects to the target. This is the same initiator name\n specified in the request.

" - } - }, "TargetARN": { "target": "com.amazonaws.storagegateway#TargetARN", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target. This is the same target specified in the\n request.

" } + }, + "InitiatorName": { + "target": "com.amazonaws.storagegateway#IqnName", + "traits": { + "smithy.api#documentation": "

The iSCSI initiator that connects to the target. This is the same initiator name\n specified in the request.

" + } } }, "traits": { @@ -7585,6 +7767,12 @@ "com.amazonaws.storagegateway#UpdateGatewayInformationInput": { "type": "structure", "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", + "traits": { + "smithy.api#required": {} + } + }, "GatewayName": { "target": "com.amazonaws.storagegateway#GatewayName" }, @@ -7599,26 +7787,20 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that you want to use\n to monitor and log events in the gateway.

\n\n

For more information, see What is Amazon CloudWatch\n Logs?\n

" } - }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", - "traits": { - "smithy.api#required": {} - } } } }, "com.amazonaws.storagegateway#UpdateGatewayInformationOutput": { "type": "structure", "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" + }, "GatewayName": { "target": "com.amazonaws.storagegateway#string", "traits": { "smithy.api#documentation": "

The name you configured for your gateway.

" } - }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN" } }, "traits": { @@ -7693,6 +7875,19 @@ "com.amazonaws.storagegateway#UpdateMaintenanceStartTimeInput": { "type": "structure", "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", + "traits": { + "smithy.api#required": {} + } + }, + "HourOfDay": { + "target": "com.amazonaws.storagegateway#HourOfDay", + "traits": { + "smithy.api#documentation": "

The hour component of the maintenance start time represented as hh,\n where hh is the hour (00 to 23). The hour of the day is in the time\n zone of the gateway.

", + "smithy.api#required": {} + } + }, "MinuteOfHour": { "target": "com.amazonaws.storagegateway#MinuteOfHour", "traits": { @@ -7711,19 +7906,6 @@ "traits": { "smithy.api#documentation": "

The day of the month component of the maintenance start time represented as an ordinal\n number from 1 to 28, where 1 represents the first day of the month and 28 represents the\n last day of the month.

" } - }, - "GatewayARN": { - "target": "com.amazonaws.storagegateway#GatewayARN", - "traits": { - "smithy.api#required": {} - } - }, - "HourOfDay": { - "target": "com.amazonaws.storagegateway#HourOfDay", - "traits": { - "smithy.api#documentation": "

The hour component of the maintenance start time represented as hh,\n where hh is the hour (00 to 23). The hour of the day is in the time\n zone of the gateway.

", - "smithy.api#required": {} - } } }, "traits": { @@ -7764,41 +7946,59 @@ "com.amazonaws.storagegateway#UpdateNFSFileShareInput": { "type": "structure", "members": { - "ObjectACL": { - "target": "com.amazonaws.storagegateway#ObjectACL", + "FileShareARN": { + "target": "com.amazonaws.storagegateway#FileShareARN", "traits": { - "smithy.api#documentation": "

A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that a file gateway puts objects into. The default value is private.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the file share to be updated.

", + "smithy.api#required": {} } }, - "ClientList": { - "target": "com.amazonaws.storagegateway#FileShareClientList", + "KMSEncrypted": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The list of clients that are allowed to access the file gateway. The list must contain\n either valid IP addresses or valid CIDR blocks.

" + "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" } }, - "ReadOnly": { - "target": "com.amazonaws.storagegateway#Boolean", + "KMSKey": { + "target": "com.amazonaws.storagegateway#KMSKey", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" + } + }, + "NFSFileShareDefaults": { + "target": "com.amazonaws.storagegateway#NFSFileShareDefaults", + "traits": { + "smithy.api#documentation": "

The default values for the file share. Optional.

" + } + }, + "DefaultStorageClass": { + "target": "com.amazonaws.storagegateway#StorageClass", + "traits": { + "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" + } + }, + "ObjectACL": { + "target": "com.amazonaws.storagegateway#ObjectACL", "traits": { - "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set the write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that a file gateway puts objects into. The default value is private.

" } }, - "KMSEncrypted": { - "target": "com.amazonaws.storagegateway#Boolean", + "ClientList": { + "target": "com.amazonaws.storagegateway#FileShareClientList", "traits": { - "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The list of clients that are allowed to access the file gateway. The list must contain\n either valid IP addresses or valid CIDR blocks.

" } }, - "FileShareARN": { - "target": "com.amazonaws.storagegateway#FileShareARN", + "Squash": { + "target": "com.amazonaws.storagegateway#Squash", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the file share to be updated.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The user mapped to anonymous user.

\n\n

Valid values are the following:

\n\n " } }, - "DefaultStorageClass": { - "target": "com.amazonaws.storagegateway#StorageClass", + "ReadOnly": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" + "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set the write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" } }, "GuessMIMETypeEnabled": { @@ -7807,22 +8007,16 @@ "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" } }, - "FileShareName": { - "target": "com.amazonaws.storagegateway#FileShareName", - "traits": { - "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" - } - }, "RequesterPays": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { "smithy.api#documentation": "

A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.

\n\n \n

\n RequesterPays is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.

\n
\n\n

Valid Values: true | false\n

" } }, - "KMSKey": { - "target": "com.amazonaws.storagegateway#KMSKey", + "FileShareName": { + "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" + "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" } }, "CacheAttributes": { @@ -7831,23 +8025,11 @@ "smithy.api#documentation": "

Refresh cache information.

" } }, - "Squash": { - "target": "com.amazonaws.storagegateway#Squash", - "traits": { - "smithy.api#documentation": "

The user mapped to anonymous user.

\n\n

Valid values are the following:

\n\n " - } - }, "NotificationPolicy": { "target": "com.amazonaws.storagegateway#NotificationPolicy", "traits": { "smithy.api#documentation": "

The notification policy of the file share.

" } - }, - "NFSFileShareDefaults": { - "target": "com.amazonaws.storagegateway#NFSFileShareDefaults", - "traits": { - "smithy.api#documentation": "

The default values for the file share. Optional.

" - } } }, "traits": { @@ -7891,46 +8073,47 @@ "com.amazonaws.storagegateway#UpdateSMBFileShareInput": { "type": "structure", "members": { - "DefaultStorageClass": { - "target": "com.amazonaws.storagegateway#StorageClass", + "FileShareARN": { + "target": "com.amazonaws.storagegateway#FileShareARN", "traits": { - "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the SMB file share that you want to update.

", + "smithy.api#required": {} } }, - "ValidUserList": { - "target": "com.amazonaws.storagegateway#FileShareUserList", + "KMSEncrypted": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

A list of users or groups in the Active Directory that are allowed to access the file\n share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" + "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" } }, - "ObjectACL": { - "target": "com.amazonaws.storagegateway#ObjectACL", + "KMSKey": { + "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that a file gateway puts objects into. The default value is private.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" } }, - "InvalidUserList": { - "target": "com.amazonaws.storagegateway#FileShareUserList", + "DefaultStorageClass": { + "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

A list of users or groups in the Active Directory that are not allowed to access the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" + "smithy.api#documentation": "

The default storage class for objects put into an Amazon S3 bucket by the file gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

\n\n

Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

" } }, - "AdminUserList": { - "target": "com.amazonaws.storagegateway#FileShareUserList", + "ObjectACL": { + "target": "com.amazonaws.storagegateway#ObjectACL", "traits": { - "smithy.api#documentation": "

A list of users or groups in the Active Directory that have administrator rights to the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" + "smithy.api#documentation": "

A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that a file gateway puts objects into. The default value is private.

" } }, - "KMSEncrypted": { + "ReadOnly": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own AWS KMS\n key, or false to use a key managed by Amazon S3. Optional.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" } }, - "FileShareName": { - "target": "com.amazonaws.storagegateway#FileShareName", + "GuessMIMETypeEnabled": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" + "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" } }, "RequesterPays": { @@ -7939,65 +8122,64 @@ "smithy.api#documentation": "

A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.

\n\n \n

\n RequesterPays is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.

\n
\n\n

Valid Values: true | false\n

" } }, - "GuessMIMETypeEnabled": { + "SMBACLEnabled": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true to enable MIME type guessing, otherwise set\n to false. The default value is true.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

Set this value to true to enable access control list (ACL) on the SMB file\n share. Set it to false to map file and directory permissions to the POSIX\n permissions.

\n\n \n\n

For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the AWS Storage Gateway User\n Guide.

\n\n

Valid Values: true | false\n

" } }, - "FileShareARN": { - "target": "com.amazonaws.storagegateway#FileShareARN", + "AccessBasedEnumeration": { + "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the SMB file share that you want to update.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The files and folders on this share will only be visible to users with read\n access.

" } }, - "CaseSensitivity": { - "target": "com.amazonaws.storagegateway#CaseSensitivity", + "AdminUserList": { + "target": "com.amazonaws.storagegateway#FileShareUserList", "traits": { - "smithy.api#documentation": "

The case of an object name in an Amazon S3 bucket. For ClientSpecified, the\n client determines the case sensitivity. For CaseSensitive, the gateway\n determines the case sensitivity. The default value is ClientSpecified.

" + "smithy.api#documentation": "

A list of users or groups in the Active Directory that have administrator rights to the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" } }, - "AccessBasedEnumeration": { - "target": "com.amazonaws.storagegateway#Boolean", + "ValidUserList": { + "target": "com.amazonaws.storagegateway#FileShareUserList", "traits": { - "smithy.api#documentation": "

The files and folders on this share will only be visible to users with read\n access.

" + "smithy.api#documentation": "

A list of users or groups in the Active Directory that are allowed to access the file\n share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" } }, - "CacheAttributes": { - "target": "com.amazonaws.storagegateway#CacheAttributes", + "InvalidUserList": { + "target": "com.amazonaws.storagegateway#FileShareUserList", "traits": { - "smithy.api#documentation": "

Refresh cache information.

" + "smithy.api#documentation": "

A list of users or groups in the Active Directory that are not allowed to access the\n file share. A group must be prefixed with the @ character. Acceptable formats include:\n DOMAIN\\User1, user1, @group1, and\n @DOMAIN\\group1. Can only be set if Authentication is set to\n ActiveDirectory.

" } }, - "NotificationPolicy": { - "target": "com.amazonaws.storagegateway#NotificationPolicy", + "AuditDestinationARN": { + "target": "com.amazonaws.storagegateway#AuditDestinationARN", "traits": { - "smithy.api#documentation": "

The notification policy of the file share.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the storage used for the audit logs.

" } }, - "ReadOnly": { - "target": "com.amazonaws.storagegateway#Boolean", + "CaseSensitivity": { + "target": "com.amazonaws.storagegateway#CaseSensitivity", "traits": { - "smithy.api#documentation": "

A value that sets the write status of a file share. Set this value to true\n to set write status to read-only, otherwise set to false.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The case of an object name in an Amazon S3 bucket. For ClientSpecified, the\n client determines the case sensitivity. For CaseSensitive, the gateway\n determines the case sensitivity. The default value is ClientSpecified.

" } }, - "SMBACLEnabled": { - "target": "com.amazonaws.storagegateway#Boolean", + "FileShareName": { + "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

Set this value to true to enable access control list (ACL) on the SMB file\n share. Set it to false to map file and directory permissions to the POSIX\n permissions.

\n\n \n\n

For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the AWS Storage Gateway User\n Guide.

\n\n

Valid Values: true | false\n

" + "smithy.api#documentation": "

The name of the file share. Optional.

\n\n \n

\n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

\n
" } }, - "KMSKey": { - "target": "com.amazonaws.storagegateway#KMSKey", + "CacheAttributes": { + "target": "com.amazonaws.storagegateway#CacheAttributes", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon\n S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

" + "smithy.api#documentation": "

Refresh cache information.

" } }, - "AuditDestinationARN": { - "target": "com.amazonaws.storagegateway#AuditDestinationARN", + "NotificationPolicy": { + "target": "com.amazonaws.storagegateway#NotificationPolicy", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the storage used for the audit logs.

" + "smithy.api#documentation": "

The notification policy of the file share.

" } } }, @@ -8141,10 +8323,11 @@ "smithy.api#required": {} } }, - "Description": { - "target": "com.amazonaws.storagegateway#Description", + "StartAt": { + "target": "com.amazonaws.storagegateway#HourOfDay", "traits": { - "smithy.api#documentation": "

Optional description of the snapshot that overwrites the existing description.

" + "smithy.api#documentation": "

The hour of the day at which the snapshot schedule begins represented as\n hh, where hh is the hour (0 to 23). The hour\n of the day is in the time zone of the gateway.

", + "smithy.api#required": {} } }, "RecurrenceInHours": { @@ -8154,11 +8337,10 @@ "smithy.api#required": {} } }, - "StartAt": { - "target": "com.amazonaws.storagegateway#HourOfDay", + "Description": { + "target": "com.amazonaws.storagegateway#Description", "traits": { - "smithy.api#documentation": "

The hour of the day at which the snapshot schedule begins represented as\n hh, where hh is the hour (0 to 23). The hour\n of the day is in the time zone of the gateway.

", - "smithy.api#required": {} + "smithy.api#documentation": "

Optional description of the snapshot that overwrites the existing description.

" } }, "Tags": { @@ -8209,17 +8391,17 @@ "com.amazonaws.storagegateway#UpdateVTLDeviceTypeInput": { "type": "structure", "members": { - "DeviceType": { - "target": "com.amazonaws.storagegateway#DeviceType", + "VTLDeviceARN": { + "target": "com.amazonaws.storagegateway#VTLDeviceARN", "traits": { - "smithy.api#documentation": "

The type of medium changer you want to select.

\n\n

Valid Values: STK-L700 | AWS-Gateway-VTL |\n IBM-03584L32-0402\n

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the medium changer you want to select.

", "smithy.api#required": {} } }, - "VTLDeviceARN": { - "target": "com.amazonaws.storagegateway#VTLDeviceARN", + "DeviceType": { + "target": "com.amazonaws.storagegateway#DeviceType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the medium changer you want to select.

", + "smithy.api#documentation": "

The type of medium changer you want to select.

\n\n

Valid Values: STK-L700 | AWS-Gateway-VTL |\n IBM-03584L32-0402\n

", "smithy.api#required": {} } } @@ -8248,10 +8430,10 @@ "smithy.api#documentation": "

Specifies the unique Amazon Resource Name (ARN) of the device (tape drive or media\n changer).

" } }, - "VTLDeviceProductIdentifier": { - "target": "com.amazonaws.storagegateway#VTLDeviceProductIdentifier", + "VTLDeviceType": { + "target": "com.amazonaws.storagegateway#VTLDeviceType", "traits": { - "smithy.api#documentation": "

Specifies the model number of device that the VTL device emulates.

" + "smithy.api#documentation": "

Specifies the type of device that the VTL device emulates.

" } }, "VTLDeviceVendor": { @@ -8260,10 +8442,10 @@ "smithy.api#documentation": "

Specifies the vendor of the device that the VTL device object emulates.

" } }, - "VTLDeviceType": { - "target": "com.amazonaws.storagegateway#VTLDeviceType", + "VTLDeviceProductIdentifier": { + "target": "com.amazonaws.storagegateway#VTLDeviceProductIdentifier", "traits": { - "smithy.api#documentation": "

Specifies the type of device that the VTL device emulates.

" + "smithy.api#documentation": "

Specifies the model number of device that the VTL device emulates.

" } }, "DeviceiSCSIAttributes": { @@ -8343,6 +8525,18 @@ "com.amazonaws.storagegateway#VolumeInfo": { "type": "structure", "members": { + "VolumeARN": { + "target": "com.amazonaws.storagegateway#VolumeARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the storage volume. For example, the following is a\n valid ARN:

\n\n

\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB\n

\n\n

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

" + } + }, + "VolumeId": { + "target": "com.amazonaws.storagegateway#VolumeId", + "traits": { + "smithy.api#documentation": "

The unique identifier assigned to the volume. This ID becomes part of the volume Amazon\n Resource Name (ARN), which you use as input for other operations.

\n\n

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

" + } + }, "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" }, @@ -8352,10 +8546,10 @@ "smithy.api#documentation": "

The unique identifier assigned to your gateway during activation. This ID becomes part\n of the gateway Amazon Resource Name (ARN), which you use as input for other\n operations.

\n\n

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

" } }, - "VolumeAttachmentStatus": { - "target": "com.amazonaws.storagegateway#VolumeAttachmentStatus", + "VolumeType": { + "target": "com.amazonaws.storagegateway#VolumeType", "traits": { - "smithy.api#documentation": "

One of the VolumeStatus values that indicates the state of the storage volume.

" + "smithy.api#documentation": "

One of the VolumeType enumeration values describing the type of the volume.

" } }, "VolumeSizeInBytes": { @@ -8364,22 +8558,10 @@ "smithy.api#documentation": "

The size of the volume in bytes.

\n\n

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

" } }, - "VolumeARN": { - "target": "com.amazonaws.storagegateway#VolumeARN", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the storage volume. For example, the following is a\n valid ARN:

\n\n

\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB\n

\n\n

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

" - } - }, - "VolumeId": { - "target": "com.amazonaws.storagegateway#VolumeId", - "traits": { - "smithy.api#documentation": "

The unique identifier assigned to the volume. This ID becomes part of the volume Amazon\n Resource Name (ARN), which you use as input for other operations.

\n\n

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

" - } - }, - "VolumeType": { - "target": "com.amazonaws.storagegateway#VolumeType", + "VolumeAttachmentStatus": { + "target": "com.amazonaws.storagegateway#VolumeAttachmentStatus", "traits": { - "smithy.api#documentation": "

One of the VolumeType enumeration values describing the type of the volume.

" + "smithy.api#documentation": "

One of the VolumeStatus values that indicates the state of the storage volume.

" } } }, @@ -8396,6 +8578,12 @@ "com.amazonaws.storagegateway#VolumeRecoveryPointInfo": { "type": "structure", "members": { + "VolumeARN": { + "target": "com.amazonaws.storagegateway#VolumeARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the volume target.

" + } + }, "VolumeSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { @@ -8408,12 +8596,6 @@ "smithy.api#documentation": "

The size of the data stored on the volume in bytes.

\n\n \n

This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.

\n
" } }, - "VolumeARN": { - "target": "com.amazonaws.storagegateway#VolumeARN", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the volume target.

" - } - }, "VolumeRecoveryPointTime": { "target": "com.amazonaws.storagegateway#string", "traits": { @@ -8458,28 +8640,22 @@ "com.amazonaws.storagegateway#VolumeiSCSIAttributes": { "type": "structure", "members": { - "NetworkInterfaceId": { - "target": "com.amazonaws.storagegateway#NetworkInterfaceId", - "traits": { - "smithy.api#documentation": "

The network interface identifier.

" - } - }, "TargetARN": { "target": "com.amazonaws.storagegateway#TargetARN", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the volume target.

" } }, - "NetworkInterfacePort": { - "target": "com.amazonaws.storagegateway#integer", + "NetworkInterfaceId": { + "target": "com.amazonaws.storagegateway#NetworkInterfaceId", "traits": { - "smithy.api#documentation": "

The port used to communicate with iSCSI targets.

" + "smithy.api#documentation": "

The network interface identifier.

" } }, - "ChapEnabled": { - "target": "com.amazonaws.storagegateway#Boolean2", + "NetworkInterfacePort": { + "target": "com.amazonaws.storagegateway#integer", "traits": { - "smithy.api#documentation": "

Indicates whether mutual CHAP is enabled for the iSCSI target.

" + "smithy.api#documentation": "

The port used to communicate with iSCSI targets.

" } }, "LunNumber": { @@ -8487,6 +8663,12 @@ "traits": { "smithy.api#documentation": "

The logical disk number.

" } + }, + "ChapEnabled": { + "target": "com.amazonaws.storagegateway#Boolean2", + "traits": { + "smithy.api#documentation": "

Indicates whether mutual CHAP is enabled for the iSCSI target.

" + } } }, "traits": { From 5a9222461e7de75241292415cedeb0250bd63e8e Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Thu, 12 Nov 2020 00:24:46 +0000 Subject: [PATCH 2/7] feat: update clients as of 11/11 --- .../ListAnalyzedResourcesPaginator.ts | 2 +- .../pagination/ListAnalyzersPaginator.ts | 2 +- .../pagination/ListArchiveRulesPaginator.ts | 2 +- .../pagination/ListFindingsPaginator.ts | 2 +- .../ListCertificateAuthoritiesPaginator.ts | 2 +- .../pagination/ListPermissionsPaginator.ts | 2 +- .../pagination/ListTagsPaginator.ts | 2 +- .../pagination/ListCertificatesPaginator.ts | 2 +- .../ListBusinessReportSchedulesPaginator.ts | 2 +- .../ListConferenceProvidersPaginator.ts | 2 +- .../pagination/ListDeviceEventsPaginator.ts | 2 +- .../pagination/ListGatewayGroupsPaginator.ts | 2 +- .../pagination/ListGatewaysPaginator.ts | 2 +- .../pagination/ListSkillsPaginator.ts | 2 +- .../ListSkillsStoreCategoriesPaginator.ts | 2 +- ...istSkillsStoreSkillsByCategoryPaginator.ts | 2 +- .../ListSmartHomeAppliancesPaginator.ts | 2 +- .../pagination/ListTagsPaginator.ts | 2 +- .../pagination/SearchAddressBooksPaginator.ts | 2 +- .../pagination/SearchContactsPaginator.ts | 2 +- .../pagination/SearchDevicesPaginator.ts | 2 +- .../SearchNetworkProfilesPaginator.ts | 2 +- .../pagination/SearchProfilesPaginator.ts | 2 +- .../pagination/SearchRoomsPaginator.ts | 2 +- .../pagination/SearchSkillGroupsPaginator.ts | 2 +- .../pagination/SearchUsersPaginator.ts | 2 +- clients/client-amplify/models/models_0.ts | 1001 +-- .../client-amplify/protocols/Aws_restJson1.ts | 138 +- .../pagination/GetApiKeysPaginator.ts | 2 +- .../GetBasePathMappingsPaginator.ts | 2 +- .../GetClientCertificatesPaginator.ts | 2 +- .../pagination/GetDeploymentsPaginator.ts | 2 +- .../pagination/GetDomainNamesPaginator.ts | 2 +- .../pagination/GetModelsPaginator.ts | 2 +- .../pagination/GetResourcesPaginator.ts | 2 +- .../pagination/GetRestApisPaginator.ts | 2 +- .../pagination/GetUsagePaginator.ts | 2 +- .../pagination/GetUsagePlanKeysPaginator.ts | 2 +- .../pagination/GetUsagePlansPaginator.ts | 2 +- .../pagination/GetVpcLinksPaginator.ts | 2 +- .../pagination/ListGatewayRoutesPaginator.ts | 2 +- .../pagination/ListMeshesPaginator.ts | 2 +- .../pagination/ListRoutesPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../ListVirtualGatewaysPaginator.ts | 2 +- .../pagination/ListVirtualNodesPaginator.ts | 2 +- .../pagination/ListVirtualRoutersPaginator.ts | 2 +- .../ListVirtualServicesPaginator.ts | 2 +- .../pagination/ListApplicationsPaginator.ts | 2 +- .../ListConfigurationProfilesPaginator.ts | 2 +- .../ListDeploymentStrategiesPaginator.ts | 2 +- .../pagination/ListDeploymentsPaginator.ts | 2 +- .../pagination/ListEnvironmentsPaginator.ts | 2 +- ...istHostedConfigurationVersionsPaginator.ts | 2 +- .../DescribeConnectorProfilesPaginator.ts | 2 +- .../pagination/DescribeConnectorsPaginator.ts | 2 +- .../DescribeFlowExecutionRecordsPaginator.ts | 2 +- .../pagination/ListFlowsPaginator.ts | 2 +- .../DescribeScalableTargetsPaginator.ts | 2 +- .../DescribeScalingActivitiesPaginator.ts | 2 +- .../DescribeScalingPoliciesPaginator.ts | 2 +- .../DescribeScheduledActionsPaginator.ts | 2 +- .../DescribeContinuousExportsPaginator.ts | 2 +- .../DescribeImportTasksPaginator.ts | 2 +- .../pagination/ListApplicationsPaginator.ts | 2 +- .../pagination/ListComponentsPaginator.ts | 2 +- .../ListConfigurationHistoryPaginator.ts | 2 +- .../pagination/ListLogPatternSetsPaginator.ts | 2 +- .../pagination/ListLogPatternsPaginator.ts | 2 +- .../pagination/ListProblemsPaginator.ts | 2 +- .../DescribeImagePermissionsPaginator.ts | 2 +- .../pagination/DescribeImagesPaginator.ts | 2 +- .../pagination/GetQueryResultsPaginator.ts | 2 +- .../pagination/ListDataCatalogsPaginator.ts | 2 +- .../pagination/ListDatabasesPaginator.ts | 2 +- .../pagination/ListNamedQueriesPaginator.ts | 2 +- .../ListQueryExecutionsPaginator.ts | 2 +- .../pagination/ListTableMetadataPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListWorkGroupsPaginator.ts | 2 +- clients/client-auto-scaling/AutoScaling.ts | 105 +- .../client-auto-scaling/models/models_0.ts | 2464 +++--- .../DescribeAutoScalingGroupsPaginator.ts | 2 +- .../DescribeAutoScalingInstancesPaginator.ts | 2 +- .../DescribeLaunchConfigurationsPaginator.ts | 2 +- ...ribeNotificationConfigurationsPaginator.ts | 2 +- .../pagination/DescribePoliciesPaginator.ts | 2 +- .../DescribeScalingActivitiesPaginator.ts | 2 +- .../DescribeScheduledActionsPaginator.ts | 2 +- .../pagination/DescribeTagsPaginator.ts | 2 +- .../protocols/Aws_query.ts | 1512 ++-- .../pagination/ListBackupJobsPaginator.ts | 2 +- .../ListBackupPlanTemplatesPaginator.ts | 2 +- .../ListBackupPlanVersionsPaginator.ts | 2 +- .../pagination/ListBackupPlansPaginator.ts | 2 +- .../ListBackupSelectionsPaginator.ts | 2 +- .../pagination/ListBackupVaultsPaginator.ts | 2 +- .../pagination/ListCopyJobsPaginator.ts | 2 +- .../ListProtectedResourcesPaginator.ts | 2 +- ...istRecoveryPointsByBackupVaultPaginator.ts | 2 +- .../ListRecoveryPointsByResourcePaginator.ts | 2 +- .../pagination/ListRestoreJobsPaginator.ts | 2 +- .../pagination/ListTagsPaginator.ts | 2 +- .../DescribeComputeEnvironmentsPaginator.ts | 2 +- .../DescribeJobDefinitionsPaginator.ts | 2 +- .../pagination/DescribeJobQueuesPaginator.ts | 2 +- .../pagination/ListJobsPaginator.ts | 2 +- .../pagination/SearchDevicesPaginator.ts | 2 +- .../pagination/SearchQuantumTasksPaginator.ts | 2 +- .../DescribeBudgetActionHistoriesPaginator.ts | 2 +- ...escribeBudgetActionsForAccountPaginator.ts | 2 +- ...DescribeBudgetActionsForBudgetPaginator.ts | 2 +- .../pagination/DescribeBudgetsPaginator.ts | 2 +- ...DescribeNotificationsForBudgetPaginator.ts | 2 +- ...ribeSubscribersForNotificationPaginator.ts | 2 +- .../pagination/ListAccountsPaginator.ts | 2 +- .../pagination/ListAttendeesPaginator.ts | 2 +- .../pagination/ListBotsPaginator.ts | 2 +- .../pagination/ListMeetingsPaginator.ts | 2 +- .../ListPhoneNumberOrdersPaginator.ts | 2 +- .../pagination/ListPhoneNumbersPaginator.ts | 2 +- .../pagination/ListProxySessionsPaginator.ts | 2 +- .../ListRoomMembershipsPaginator.ts | 2 +- .../pagination/ListRoomsPaginator.ts | 2 +- .../pagination/ListUsersPaginator.ts | 2 +- .../ListVoiceConnectorGroupsPaginator.ts | 2 +- .../ListVoiceConnectorsPaginator.ts | 2 +- ...DescribeEnvironmentMembershipsPaginator.ts | 2 +- .../pagination/ListEnvironmentsPaginator.ts | 2 +- .../ListAppliedSchemaArnsPaginator.ts | 2 +- .../ListAttachedIndicesPaginator.ts | 2 +- .../ListDevelopmentSchemaArnsPaginator.ts | 2 +- .../pagination/ListDirectoriesPaginator.ts | 2 +- .../ListFacetAttributesPaginator.ts | 2 +- .../pagination/ListFacetNamesPaginator.ts | 2 +- .../pagination/ListIndexPaginator.ts | 2 +- .../ListManagedSchemaArnsPaginator.ts | 2 +- .../ListObjectAttributesPaginator.ts | 2 +- .../pagination/ListObjectChildrenPaginator.ts | 2 +- .../ListObjectParentPathsPaginator.ts | 2 +- .../pagination/ListObjectParentsPaginator.ts | 2 +- .../pagination/ListObjectPoliciesPaginator.ts | 2 +- .../ListPolicyAttachmentsPaginator.ts | 2 +- .../ListPublishedSchemaArnsPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../ListTypedLinkFacetAttributesPaginator.ts | 2 +- .../ListTypedLinkFacetNamesPaginator.ts | 2 +- .../pagination/LookupPolicyPaginator.ts | 2 +- .../DescribeAccountLimitsPaginator.ts | 2 +- .../DescribeStackEventsPaginator.ts | 2 +- .../DescribeStackResourceDriftsPaginator.ts | 2 +- .../pagination/DescribeStacksPaginator.ts | 2 +- .../pagination/ListChangeSetsPaginator.ts | 2 +- .../pagination/ListExportsPaginator.ts | 2 +- .../pagination/ListImportsPaginator.ts | 2 +- .../pagination/ListStackInstancesPaginator.ts | 2 +- .../pagination/ListStackResourcesPaginator.ts | 2 +- .../ListStackSetOperationResultsPaginator.ts | 2 +- .../ListStackSetOperationsPaginator.ts | 2 +- .../pagination/ListStackSetsPaginator.ts | 2 +- .../pagination/ListStacksPaginator.ts | 2 +- .../ListTypeRegistrationsPaginator.ts | 2 +- .../pagination/ListTypeVersionsPaginator.ts | 2 +- .../pagination/ListTypesPaginator.ts | 2 +- .../pagination/DescribeBackupsPaginator.ts | 2 +- .../pagination/DescribeClustersPaginator.ts | 2 +- .../pagination/ListTagsPaginator.ts | 2 +- .../pagination/ListPublicKeysPaginator.ts | 2 +- .../pagination/ListTagsPaginator.ts | 2 +- .../pagination/ListTrailsPaginator.ts | 2 +- .../pagination/LookupEventsPaginator.ts | 2 +- .../DescribeDestinationsPaginator.ts | 2 +- .../pagination/DescribeLogGroupsPaginator.ts | 2 +- .../pagination/DescribeLogStreamsPaginator.ts | 2 +- .../DescribeMetricFiltersPaginator.ts | 2 +- .../DescribeSubscriptionFiltersPaginator.ts | 2 +- .../pagination/FilterLogEventsPaginator.ts | 2 +- .../pagination/GetLogEventsPaginator.ts | 2 +- .../DescribeAlarmHistoryPaginator.ts | 2 +- .../pagination/DescribeAlarmsPaginator.ts | 2 +- .../DescribeInsightRulesPaginator.ts | 2 +- .../pagination/GetMetricDataPaginator.ts | 2 +- .../pagination/ListDashboardsPaginator.ts | 2 +- .../pagination/ListMetricsPaginator.ts | 2 +- .../pagination/ListDomainsPaginator.ts | 2 +- .../ListPackageVersionAssetsPaginator.ts | 2 +- .../ListPackageVersionsPaginator.ts | 2 +- .../pagination/ListPackagesPaginator.ts | 2 +- .../ListRepositoriesInDomainPaginator.ts | 2 +- .../pagination/ListRepositoriesPaginator.ts | 2 +- .../DescribeCodeCoveragesPaginator.ts | 2 +- .../pagination/DescribeTestCasesPaginator.ts | 2 +- .../ListBuildBatchesForProjectPaginator.ts | 2 +- .../pagination/ListBuildBatchesPaginator.ts | 2 +- .../ListBuildsForProjectPaginator.ts | 2 +- .../pagination/ListBuildsPaginator.ts | 2 +- .../pagination/ListProjectsPaginator.ts | 2 +- .../pagination/ListReportGroupsPaginator.ts | 2 +- .../ListReportsForReportGroupPaginator.ts | 2 +- .../pagination/ListReportsPaginator.ts | 2 +- .../pagination/ListSharedProjectsPaginator.ts | 2 +- .../ListSharedReportGroupsPaginator.ts | 2 +- .../DescribeMergeConflictsPaginator.ts | 2 +- .../DescribePullRequestEventsPaginator.ts | 2 +- .../GetCommentReactionsPaginator.ts | 2 +- .../GetCommentsForComparedCommitPaginator.ts | 2 +- .../GetCommentsForPullRequestPaginator.ts | 2 +- .../pagination/GetDifferencesPaginator.ts | 2 +- .../pagination/GetMergeConflictsPaginator.ts | 2 +- .../ListApprovalRuleTemplatesPaginator.ts | 2 +- ...ovalRuleTemplatesForRepositoryPaginator.ts | 2 +- .../pagination/ListBranchesPaginator.ts | 2 +- .../pagination/ListPullRequestsPaginator.ts | 2 +- ...itoriesForApprovalRuleTemplatePaginator.ts | 2 +- .../pagination/ListRepositoriesPaginator.ts | 2 +- .../ListApplicationRevisionsPaginator.ts | 2 +- .../pagination/ListApplicationsPaginator.ts | 2 +- .../ListDeploymentConfigsPaginator.ts | 2 +- .../ListDeploymentGroupsPaginator.ts | 2 +- .../ListDeploymentInstancesPaginator.ts | 2 +- .../pagination/ListDeploymentsPaginator.ts | 2 +- .../pagination/ListCodeReviewsPaginator.ts | 2 +- .../ListRecommendationFeedbackPaginator.ts | 2 +- .../ListRecommendationsPaginator.ts | 2 +- .../ListRepositoryAssociationsPaginator.ts | 2 +- .../pagination/ListProfileTimesPaginator.ts | 2 +- .../ListProfilingGroupsPaginator.ts | 2 +- .../ListActionExecutionsPaginator.ts | 2 +- .../pagination/ListActionTypesPaginator.ts | 2 +- .../ListPipelineExecutionsPaginator.ts | 2 +- .../pagination/ListPipelinesPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListWebhooksPaginator.ts | 2 +- .../pagination/ListConnectionsPaginator.ts | 2 +- .../pagination/ListHostsPaginator.ts | 2 +- .../pagination/ListEventTypesPaginator.ts | 2 +- .../ListNotificationRulesPaginator.ts | 2 +- .../pagination/ListTargetsPaginator.ts | 2 +- .../AdminListGroupsForUserPaginator.ts | 2 +- .../AdminListUserAuthEventsPaginator.ts | 2 +- .../pagination/ListGroupsPaginator.ts | 2 +- .../ListIdentityProvidersPaginator.ts | 2 +- .../ListResourceServersPaginator.ts | 2 +- .../ListUserPoolClientsPaginator.ts | 2 +- .../pagination/ListUsersInGroupPaginator.ts | 2 +- .../pagination/ListUsersPaginator.ts | 2 +- ...ListDocumentClassificationJobsPaginator.ts | 2 +- .../ListDocumentClassifiersPaginator.ts | 2 +- ...tDominantLanguageDetectionJobsPaginator.ts | 2 +- .../ListEntitiesDetectionJobsPaginator.ts | 2 +- .../ListEntityRecognizersPaginator.ts | 2 +- .../ListKeyPhrasesDetectionJobsPaginator.ts | 2 +- .../ListSentimentDetectionJobsPaginator.ts | 2 +- .../ListTopicsDetectionJobsPaginator.ts | 2 +- .../DescribeRemediationExceptionsPaginator.ts | 2 +- ...ribeRemediationExecutionStatusPaginator.ts | 2 +- .../GetResourceConfigHistoryPaginator.ts | 2 +- .../SelectAggregateResourceConfigPaginator.ts | 2 +- .../GetCurrentMetricDataPaginator.ts | 2 +- .../pagination/GetMetricDataPaginator.ts | 2 +- .../pagination/ListContactFlowsPaginator.ts | 2 +- .../ListHoursOfOperationsPaginator.ts | 2 +- .../pagination/ListPhoneNumbersPaginator.ts | 2 +- .../pagination/ListPromptsPaginator.ts | 2 +- .../pagination/ListQueuesPaginator.ts | 2 +- .../ListRoutingProfileQueuesPaginator.ts | 2 +- .../ListRoutingProfilesPaginator.ts | 2 +- .../ListSecurityProfilesPaginator.ts | 2 +- .../ListUserHierarchyGroupsPaginator.ts | 2 +- .../pagination/ListUsersPaginator.ts | 2 +- .../pagination/GetTranscriptPaginator.ts | 2 +- .../DescribeReportDefinitionsPaginator.ts | 2 +- .../GetSavingsPlansCoveragePaginator.ts | 2 +- ...SavingsPlansUtilizationDetailsPaginator.ts | 2 +- .../ListCostCategoryDefinitionsPaginator.ts | 2 +- .../pagination/DescribeObjectsPaginator.ts | 2 +- .../pagination/ListPipelinesPaginator.ts | 2 +- .../pagination/QueryObjectsPaginator.ts | 2 +- ...pplicableIndividualAssessmentsPaginator.ts | 2 +- .../DescribeCertificatesPaginator.ts | 2 +- .../DescribeConnectionsPaginator.ts | 2 +- .../DescribeEndpointTypesPaginator.ts | 2 +- .../pagination/DescribeEndpointsPaginator.ts | 2 +- .../DescribeEventSubscriptionsPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- ...eOrderableReplicationInstancesPaginator.ts | 2 +- ...cribePendingMaintenanceActionsPaginator.ts | 2 +- ...ibeReplicationInstanceTaskLogsPaginator.ts | 2 +- .../DescribeReplicationInstancesPaginator.ts | 2 +- ...escribeReplicationSubnetGroupsPaginator.ts | 2 +- ...plicationTaskAssessmentResultsPaginator.ts | 2 +- ...eReplicationTaskAssessmentRunsPaginator.ts | 2 +- ...ationTaskIndividualAssessmentsPaginator.ts | 2 +- .../DescribeReplicationTasksPaginator.ts | 2 +- .../pagination/DescribeSchemasPaginator.ts | 2 +- .../DescribeTableStatisticsPaginator.ts | 2 +- clients/client-databrew/.gitignore | 14 + clients/client-databrew/.npmignore | 4 + clients/client-databrew/DataBrew.ts | 1346 ++++ clients/client-databrew/DataBrewClient.ts | 333 + clients/client-databrew/LICENSE | 201 + clients/client-databrew/README.md | 6 + .../BatchDeleteRecipeVersionCommand.ts | 82 + .../commands/CreateDatasetCommand.ts | 82 + .../commands/CreateProfileJobCommand.ts | 82 + .../commands/CreateProjectCommand.ts | 82 + .../commands/CreateRecipeCommand.ts | 82 + .../commands/CreateRecipeJobCommand.ts | 82 + .../commands/CreateScheduleCommand.ts | 82 + .../commands/DeleteDatasetCommand.ts | 82 + .../commands/DeleteJobCommand.ts | 82 + .../commands/DeleteProjectCommand.ts | 82 + .../commands/DeleteRecipeVersionCommand.ts | 82 + .../commands/DeleteScheduleCommand.ts | 82 + .../commands/DescribeDatasetCommand.ts | 82 + .../commands/DescribeJobCommand.ts | 82 + .../commands/DescribeProjectCommand.ts | 82 + .../commands/DescribeRecipeCommand.ts | 82 + .../commands/DescribeScheduleCommand.ts | 82 + .../commands/ListDatasetsCommand.ts | 82 + .../commands/ListJobRunsCommand.ts | 82 + .../commands/ListJobsCommand.ts | 82 + .../commands/ListProjectsCommand.ts | 82 + .../commands/ListRecipeVersionsCommand.ts | 82 + .../commands/ListRecipesCommand.ts | 82 + .../commands/ListSchedulesCommand.ts | 82 + .../commands/ListTagsForResourceCommand.ts | 82 + .../commands/PublishRecipeCommand.ts | 82 + .../SendProjectSessionActionCommand.ts | 82 + .../commands/StartJobRunCommand.ts | 82 + .../commands/StartProjectSessionCommand.ts | 82 + .../commands/StopJobRunCommand.ts | 82 + .../commands/TagResourceCommand.ts | 82 + .../commands/UntagResourceCommand.ts | 82 + .../commands/UpdateDatasetCommand.ts | 82 + .../commands/UpdateProfileJobCommand.ts | 82 + .../commands/UpdateProjectCommand.ts | 82 + .../commands/UpdateRecipeCommand.ts | 82 + .../commands/UpdateRecipeJobCommand.ts | 82 + .../commands/UpdateScheduleCommand.ts | 82 + clients/client-databrew/endpoints.ts | 81 + clients/client-databrew/index.ts | 49 + clients/client-databrew/models/index.ts | 1 + clients/client-databrew/models/models_0.ts | 2941 +++++++ clients/client-databrew/package.json | 83 + .../client-databrew/pagination/Interfaces.ts | 7 + .../pagination/ListDatasetsPaginator.ts | 51 + .../pagination/ListJobRunsPaginator.ts | 47 + .../pagination/ListJobsPaginator.ts | 47 + .../pagination/ListProjectsPaginator.ts | 51 + .../pagination/ListRecipeVersionsPaginator.ts | 51 + .../pagination/ListRecipesPaginator.ts | 47 + .../pagination/ListSchedulesPaginator.ts | 51 + .../protocols/Aws_restJson1.ts | 4748 +++++++++++ .../client-databrew/runtimeConfig.browser.ts | 31 + .../client-databrew/runtimeConfig.native.ts | 14 + .../client-databrew/runtimeConfig.shared.ts | 10 + clients/client-databrew/runtimeConfig.ts | 33 + clients/client-databrew/tsconfig.es.json | 12 + clients/client-databrew/tsconfig.json | 28 + .../ListDataSetRevisionsPaginator.ts | 2 +- .../pagination/ListDataSetsPaginator.ts | 2 +- .../pagination/ListJobsPaginator.ts | 2 +- .../pagination/ListRevisionAssetsPaginator.ts | 2 +- clients/client-datasync/DataSync.ts | 49 +- clients/client-datasync/DataSyncClient.ts | 10 +- .../commands/UpdateTaskExecutionCommand.ts | 82 + clients/client-datasync/index.ts | 1 + clients/client-datasync/models/models_0.ts | 1002 +-- .../pagination/ListAgentsPaginator.ts | 2 +- .../pagination/ListLocationsPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListTaskExecutionsPaginator.ts | 2 +- .../pagination/ListTasksPaginator.ts | 2 +- .../client-datasync/protocols/Aws_json1_1.ts | 99 + .../pagination/ListGraphsPaginator.ts | 2 +- .../pagination/ListInvitationsPaginator.ts | 2 +- .../pagination/ListMembersPaginator.ts | 2 +- .../pagination/GetOfferingStatusPaginator.ts | 2 +- .../pagination/ListArtifactsPaginator.ts | 2 +- .../pagination/ListDevicePoolsPaginator.ts | 2 +- .../pagination/ListDevicesPaginator.ts | 2 +- .../pagination/ListJobsPaginator.ts | 2 +- .../ListOfferingTransactionsPaginator.ts | 2 +- .../pagination/ListOfferingsPaginator.ts | 2 +- .../pagination/ListProjectsPaginator.ts | 2 +- .../pagination/ListRunsPaginator.ts | 2 +- .../pagination/ListSamplesPaginator.ts | 2 +- .../pagination/ListSuitesPaginator.ts | 2 +- .../ListTestGridProjectsPaginator.ts | 2 +- .../ListTestGridSessionActionsPaginator.ts | 2 +- .../ListTestGridSessionArtifactsPaginator.ts | 2 +- .../ListTestGridSessionsPaginator.ts | 2 +- .../pagination/ListTestsPaginator.ts | 2 +- .../pagination/ListUniqueProblemsPaginator.ts | 2 +- .../pagination/ListUploadsPaginator.ts | 2 +- .../DescribeDomainControllersPaginator.ts | 2 +- .../DescribeCertificatesPaginator.ts | 2 +- ...scribeDBClusterParameterGroupsPaginator.ts | 2 +- .../DescribeDBClusterParametersPaginator.ts | 2 +- .../DescribeDBClusterSnapshotsPaginator.ts | 2 +- .../pagination/DescribeDBClustersPaginator.ts | 2 +- .../DescribeDBEngineVersionsPaginator.ts | 2 +- .../DescribeDBInstancesPaginator.ts | 2 +- .../DescribeDBSubnetGroupsPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- ...ribeOrderableDBInstanceOptionsPaginator.ts | 2 +- ...cribePendingMaintenanceActionsPaginator.ts | 2 +- clients/client-dynamodb/DynamoDB.ts | 103 + clients/client-dynamodb/DynamoDBClient.ts | 12 + .../commands/DescribeExportCommand.ts | 82 + .../ExportTableToPointInTimeCommand.ts | 82 + .../commands/ListExportsCommand.ts | 82 + clients/client-dynamodb/index.ts | 4 + clients/client-dynamodb/models/models_0.ts | 395 +- .../ListContributorInsightsPaginator.ts | 2 +- .../pagination/ListExportsPaginator.ts | 47 + .../pagination/ListTablesPaginator.ts | 2 +- .../client-dynamodb/protocols/Aws_json1_0.ts | 467 ++ .../pagination/ListChangedBlocksPaginator.ts | 2 +- .../pagination/ListSnapshotBlocksPaginator.ts | 2 +- clients/client-ec2/EC2.ts | 30 +- clients/client-ec2/models/models_1.ts | 27 +- clients/client-ec2/models/models_3.ts | 9 + clients/client-ec2/models/models_4.ts | 25 +- .../DescribeCapacityReservationsPaginator.ts | 2 +- .../DescribeCarrierGatewaysPaginator.ts | 2 +- .../DescribeClassicLinkInstancesPaginator.ts | 2 +- ...ibeClientVpnAuthorizationRulesPaginator.ts | 2 +- .../DescribeClientVpnConnectionsPaginator.ts | 2 +- .../DescribeClientVpnEndpointsPaginator.ts | 2 +- .../DescribeClientVpnRoutesPaginator.ts | 2 +- ...escribeClientVpnTargetNetworksPaginator.ts | 2 +- .../pagination/DescribeCoipPoolsPaginator.ts | 2 +- .../DescribeDhcpOptionsPaginator.ts | 2 +- ...ribeEgressOnlyInternetGatewaysPaginator.ts | 2 +- .../DescribeExportImageTasksPaginator.ts | 2 +- .../DescribeFastSnapshotRestoresPaginator.ts | 2 +- .../pagination/DescribeFleetsPaginator.ts | 2 +- .../pagination/DescribeFlowLogsPaginator.ts | 2 +- .../pagination/DescribeFpgaImagesPaginator.ts | 2 +- ...scribeHostReservationOfferingsPaginator.ts | 2 +- .../DescribeHostReservationsPaginator.ts | 2 +- .../pagination/DescribeHostsPaginator.ts | 2 +- ...IamInstanceProfileAssociationsPaginator.ts | 2 +- .../DescribeImportImageTasksPaginator.ts | 2 +- .../DescribeImportSnapshotTasksPaginator.ts | 2 +- ...beInstanceCreditSpecificationsPaginator.ts | 2 +- .../DescribeInstanceStatusPaginator.ts | 2 +- .../DescribeInstanceTypeOfferingsPaginator.ts | 2 +- .../DescribeInstanceTypesPaginator.ts | 2 +- .../pagination/DescribeInstancesPaginator.ts | 2 +- .../DescribeInternetGatewaysPaginator.ts | 2 +- .../pagination/DescribeIpv6PoolsPaginator.ts | 2 +- ...DescribeLaunchTemplateVersionsPaginator.ts | 2 +- .../DescribeLaunchTemplatesPaginator.ts | 2 +- ...tualInterfaceGroupAssociationsPaginator.ts | 2 +- ...tewayRouteTableVpcAssociationsPaginator.ts | 2 +- ...escribeLocalGatewayRouteTablesPaginator.ts | 2 +- ...lGatewayVirtualInterfaceGroupsPaginator.ts | 2 +- ...eLocalGatewayVirtualInterfacesPaginator.ts | 2 +- .../DescribeLocalGatewaysPaginator.ts | 2 +- .../DescribeManagedPrefixListsPaginator.ts | 2 +- .../DescribeMovingAddressesPaginator.ts | 2 +- .../DescribeNatGatewaysPaginator.ts | 2 +- .../DescribeNetworkAclsPaginator.ts | 2 +- ...ibeNetworkInterfacePermissionsPaginator.ts | 2 +- .../DescribeNetworkInterfacesPaginator.ts | 2 +- .../DescribePrefixListsPaginator.ts | 2 +- .../DescribePrincipalIdFormatPaginator.ts | 2 +- .../DescribePublicIpv4PoolsPaginator.ts | 2 +- ...ReservedInstancesModificationsPaginator.ts | 2 +- ...ribeReservedInstancesOfferingsPaginator.ts | 2 +- .../DescribeRouteTablesPaginator.ts | 2 +- ...eScheduledInstanceAvailabilityPaginator.ts | 2 +- .../DescribeScheduledInstancesPaginator.ts | 2 +- .../DescribeSecurityGroupsPaginator.ts | 2 +- .../pagination/DescribeSnapshotsPaginator.ts | 2 +- .../DescribeSpotFleetRequestsPaginator.ts | 2 +- .../DescribeSpotInstanceRequestsPaginator.ts | 2 +- .../DescribeSpotPriceHistoryPaginator.ts | 2 +- .../DescribeStaleSecurityGroupsPaginator.ts | 2 +- .../pagination/DescribeSubnetsPaginator.ts | 2 +- .../pagination/DescribeTagsPaginator.ts | 2 +- .../DescribeTrafficMirrorFiltersPaginator.ts | 2 +- .../DescribeTrafficMirrorSessionsPaginator.ts | 2 +- .../DescribeTrafficMirrorTargetsPaginator.ts | 2 +- ...cribeTransitGatewayAttachmentsPaginator.ts | 2 +- ...TransitGatewayMulticastDomainsPaginator.ts | 2 +- ...ansitGatewayPeeringAttachmentsPaginator.ts | 2 +- ...cribeTransitGatewayRouteTablesPaginator.ts | 2 +- ...beTransitGatewayVpcAttachmentsPaginator.ts | 2 +- .../DescribeTransitGatewaysPaginator.ts | 2 +- .../DescribeVolumeStatusPaginator.ts | 2 +- .../DescribeVolumesModificationsPaginator.ts | 2 +- .../pagination/DescribeVolumesPaginator.ts | 2 +- ...scribeVpcClassicLinkDnsSupportPaginator.ts | 2 +- ...ndpointConnectionNotificationsPaginator.ts | 2 +- ...DescribeVpcEndpointConnectionsPaginator.ts | 2 +- ...cEndpointServiceConfigurationsPaginator.ts | 2 +- ...eVpcEndpointServicePermissionsPaginator.ts | 2 +- .../DescribeVpcEndpointsPaginator.ts | 2 +- .../DescribeVpcPeeringConnectionsPaginator.ts | 2 +- .../pagination/DescribeVpcsPaginator.ts | 2 +- .../GetAssociatedIpv6PoolCidrsPaginator.ts | 2 +- ...etGroupsForCapacityReservationPaginator.ts | 2 +- ...tManagedPrefixListAssociationsPaginator.ts | 2 +- .../GetManagedPrefixListEntriesPaginator.ts | 2 +- ...tGatewayAttachmentPropagationsPaginator.ts | 2 +- ...wayMulticastDomainAssociationsPaginator.ts | 2 +- ...sitGatewayPrefixListReferencesPaginator.ts | 2 +- ...tGatewayRouteTableAssociationsPaginator.ts | 2 +- ...tGatewayRouteTablePropagationsPaginator.ts | 2 +- .../SearchLocalGatewayRoutesPaginator.ts | 2 +- ...hTransitGatewayMulticastGroupsPaginator.ts | 2 +- clients/client-ec2/protocols/Aws_ec2.ts | 47 + .../DescribeImageScanFindingsPaginator.ts | 2 +- .../pagination/DescribeImagesPaginator.ts | 2 +- .../DescribeRepositoriesPaginator.ts | 2 +- .../GetLifecyclePolicyPreviewPaginator.ts | 2 +- .../pagination/ListImagesPaginator.ts | 2 +- clients/client-ecs/ECS.ts | 988 +-- clients/client-ecs/ECSClient.ts | 28 +- clients/client-ecs/models/models_0.ts | 6913 +++++++++-------- .../ListAccountSettingsPaginator.ts | 2 +- .../pagination/ListAttributesPaginator.ts | 2 +- .../pagination/ListClustersPaginator.ts | 2 +- .../ListContainerInstancesPaginator.ts | 2 +- .../pagination/ListServicesPaginator.ts | 2 +- .../ListTaskDefinitionFamiliesPaginator.ts | 2 +- .../ListTaskDefinitionsPaginator.ts | 2 +- .../pagination/ListTasksPaginator.ts | 2 +- clients/client-ecs/protocols/Aws_json1_1.ts | 70 + .../DescribeAccessPointsPaginator.ts | 2 +- .../DescribeFileSystemsPaginator.ts | 2 +- .../pagination/DescribeTagsPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListClustersPaginator.ts | 2 +- .../ListFargateProfilesPaginator.ts | 2 +- .../pagination/ListNodegroupsPaginator.ts | 2 +- .../pagination/ListUpdatesPaginator.ts | 2 +- ...nvironmentManagedActionHistoryPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- .../ListPlatformBranchesPaginator.ts | 2 +- .../ListPlatformVersionsPaginator.ts | 2 +- .../DescribeAcceleratorsPaginator.ts | 2 +- .../ElasticLoadBalancingV2.ts | 278 +- .../ElasticLoadBalancingV2Client.ts | 23 +- .../models/models_0.ts | 1289 ++- .../pagination/DescribeListenersPaginator.ts | 2 +- .../DescribeLoadBalancersPaginator.ts | 2 +- .../DescribeTargetGroupsPaginator.ts | 2 +- .../protocols/Aws_query.ts | 984 +-- .../DescribeLoadBalancersPaginator.ts | 2 +- .../pagination/ListJobsByPipelinePaginator.ts | 2 +- .../pagination/ListJobsByStatusPaginator.ts | 2 +- .../pagination/ListPipelinesPaginator.ts | 2 +- .../pagination/ListPresetsPaginator.ts | 2 +- .../DescribeCacheClustersPaginator.ts | 2 +- .../DescribeCacheEngineVersionsPaginator.ts | 2 +- .../DescribeCacheParameterGroupsPaginator.ts | 2 +- .../DescribeCacheParametersPaginator.ts | 2 +- .../DescribeCacheSecurityGroupsPaginator.ts | 2 +- .../DescribeCacheSubnetGroupsPaginator.ts | 2 +- ...escribeEngineDefaultParametersPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- ...escribeGlobalReplicationGroupsPaginator.ts | 2 +- .../DescribeReplicationGroupsPaginator.ts | 2 +- ...ibeReservedCacheNodesOfferingsPaginator.ts | 2 +- .../DescribeReservedCacheNodesPaginator.ts | 2 +- .../DescribeServiceUpdatesPaginator.ts | 2 +- .../pagination/DescribeSnapshotsPaginator.ts | 2 +- .../DescribeUpdateActionsPaginator.ts | 2 +- .../pagination/DescribeUserGroupsPaginator.ts | 2 +- .../pagination/DescribeUsersPaginator.ts | 2 +- .../ElasticsearchService.ts | 74 + .../ElasticsearchServiceClient.ts | 9 + .../GetPackageVersionHistoryCommand.ts | 86 + .../commands/UpdatePackageCommand.ts | 86 + clients/client-elasticsearch-service/index.ts | 3 + .../models/models_0.ts | 145 + ...dCrossClusterSearchConnectionsPaginator.ts | 2 +- ...dCrossClusterSearchConnectionsPaginator.ts | 2 +- .../pagination/DescribePackagesPaginator.ts | 2 +- ...ElasticsearchInstanceOfferingsPaginator.ts | 2 +- ...ReservedElasticsearchInstancesPaginator.ts | 2 +- .../GetPackageVersionHistoryPaginator.ts | 51 + .../pagination/GetUpgradeHistoryPaginator.ts | 2 +- .../ListDomainsForPackagePaginator.ts | 2 +- ...ListElasticsearchInstanceTypesPaginator.ts | 2 +- .../ListElasticsearchVersionsPaginator.ts | 2 +- .../ListPackagesForDomainPaginator.ts | 2 +- .../protocols/Aws_restJson1.ts | 293 + .../ListBootstrapActionsPaginator.ts | 2 +- .../pagination/ListClustersPaginator.ts | 2 +- .../pagination/ListInstanceFleetsPaginator.ts | 2 +- .../pagination/ListInstanceGroupsPaginator.ts | 2 +- .../pagination/ListInstancesPaginator.ts | 2 +- .../ListNotebookExecutionsPaginator.ts | 2 +- .../ListSecurityConfigurationsPaginator.ts | 2 +- .../pagination/ListStepsPaginator.ts | 2 +- .../ListComplianceStatusPaginator.ts | 2 +- .../pagination/ListMemberAccountsPaginator.ts | 2 +- .../pagination/ListPoliciesPaginator.ts | 2 +- clients/client-forecast/Forecast.ts | 34 +- clients/client-forecast/models/models_0.ts | 1348 ++-- .../pagination/ListDatasetGroupsPaginator.ts | 2 +- .../ListDatasetImportJobsPaginator.ts | 2 +- .../pagination/ListDatasetsPaginator.ts | 2 +- .../ListForecastExportJobsPaginator.ts | 2 +- .../pagination/ListForecastsPaginator.ts | 2 +- .../pagination/ListPredictorsPaginator.ts | 2 +- .../client-forecast/protocols/Aws_json1_1.ts | 24 + .../DescribeModelVersionsPaginator.ts | 2 +- .../pagination/GetDetectorsPaginator.ts | 2 +- .../pagination/GetEntityTypesPaginator.ts | 2 +- .../pagination/GetEventTypesPaginator.ts | 2 +- .../pagination/GetExternalModelsPaginator.ts | 2 +- .../pagination/GetLabelsPaginator.ts | 2 +- .../pagination/GetModelsPaginator.ts | 2 +- .../pagination/GetOutcomesPaginator.ts | 2 +- .../pagination/GetRulesPaginator.ts | 2 +- .../pagination/GetVariablesPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- clients/client-fsx/FSx.ts | 131 + clients/client-fsx/FSxClient.ts | 18 + .../AssociateFileSystemAliasesCommand.ts | 85 + .../DescribeFileSystemAliasesCommand.ts | 85 + .../DisassociateFileSystemAliasesCommand.ts | 85 + clients/client-fsx/index.ts | 4 + clients/client-fsx/models/models_0.ts | 1645 ++-- .../pagination/DescribeBackupsPaginator.ts | 2 +- .../DescribeDataRepositoryTasksPaginator.ts | 2 +- .../DescribeFileSystemAliasesPaginator.ts | 51 + .../DescribeFileSystemsPaginator.ts | 2 +- clients/client-fsx/protocols/Aws_json1_1.ts | 362 + .../DescribeFleetAttributesPaginator.ts | 2 +- .../DescribeFleetCapacityPaginator.ts | 2 +- .../DescribeFleetEventsPaginator.ts | 2 +- .../DescribeFleetUtilizationPaginator.ts | 2 +- .../DescribeGameServerInstancesPaginator.ts | 2 +- .../DescribeGameSessionDetailsPaginator.ts | 2 +- .../DescribeGameSessionQueuesPaginator.ts | 2 +- .../DescribeGameSessionsPaginator.ts | 2 +- .../pagination/DescribeInstancesPaginator.ts | 2 +- ...cribeMatchmakingConfigurationsPaginator.ts | 2 +- .../DescribeMatchmakingRuleSetsPaginator.ts | 2 +- .../DescribePlayerSessionsPaginator.ts | 2 +- .../DescribeScalingPoliciesPaginator.ts | 2 +- .../pagination/ListAliasesPaginator.ts | 2 +- .../pagination/ListBuildsPaginator.ts | 2 +- .../pagination/ListFleetsPaginator.ts | 2 +- .../ListGameServerGroupsPaginator.ts | 2 +- .../pagination/ListGameServersPaginator.ts | 2 +- .../pagination/ListScriptsPaginator.ts | 2 +- .../pagination/SearchGameSessionsPaginator.ts | 2 +- .../pagination/GetClassifiersPaginator.ts | 2 +- .../pagination/GetConnectionsPaginator.ts | 2 +- .../pagination/GetCrawlerMetricsPaginator.ts | 2 +- .../pagination/GetCrawlersPaginator.ts | 2 +- .../pagination/GetDatabasesPaginator.ts | 2 +- .../pagination/GetDevEndpointsPaginator.ts | 2 +- .../pagination/GetJobRunsPaginator.ts | 2 +- .../pagination/GetJobsPaginator.ts | 2 +- .../pagination/GetMLTaskRunsPaginator.ts | 2 +- .../pagination/GetMLTransformsPaginator.ts | 2 +- .../GetPartitionIndexesPaginator.ts | 2 +- .../pagination/GetPartitionsPaginator.ts | 2 +- .../GetSecurityConfigurationsPaginator.ts | 2 +- .../pagination/GetTableVersionsPaginator.ts | 2 +- .../pagination/GetTablesPaginator.ts | 2 +- .../pagination/GetTriggersPaginator.ts | 2 +- .../GetUserDefinedFunctionsPaginator.ts | 2 +- .../pagination/GetWorkflowRunsPaginator.ts | 2 +- .../pagination/ListCrawlersPaginator.ts | 2 +- .../pagination/ListDevEndpointsPaginator.ts | 2 +- .../pagination/ListJobsPaginator.ts | 2 +- .../pagination/ListMLTransformsPaginator.ts | 2 +- .../pagination/ListTriggersPaginator.ts | 2 +- .../pagination/ListWorkflowsPaginator.ts | 2 +- .../pagination/SearchTablesPaginator.ts | 2 +- .../pagination/ListConfigsPaginator.ts | 2 +- .../pagination/ListContactsPaginator.ts | 2 +- .../ListDataflowEndpointGroupsPaginator.ts | 2 +- .../pagination/ListGroundStationsPaginator.ts | 2 +- .../ListMissionProfilesPaginator.ts | 2 +- .../pagination/ListSatellitesPaginator.ts | 2 +- .../pagination/GetUsageStatisticsPaginator.ts | 2 +- .../pagination/ListDetectorsPaginator.ts | 2 +- .../pagination/ListFiltersPaginator.ts | 2 +- .../pagination/ListFindingsPaginator.ts | 2 +- .../pagination/ListIPSetsPaginator.ts | 2 +- .../pagination/ListInvitationsPaginator.ts | 2 +- .../pagination/ListMembersPaginator.ts | 2 +- .../ListOrganizationAdminAccountsPaginator.ts | 2 +- .../ListPublishingDestinationsPaginator.ts | 2 +- .../ListThreatIntelSetsPaginator.ts | 2 +- ...ffectedAccountsForOrganizationPaginator.ts | 2 +- ...ffectedEntitiesForOrganizationPaginator.ts | 2 +- .../DescribeAffectedEntitiesPaginator.ts | 2 +- .../DescribeEventAggregatesPaginator.ts | 2 +- .../pagination/DescribeEventTypesPaginator.ts | 2 +- .../DescribeEventsForOrganizationPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- ...GetAccountAuthorizationDetailsPaginator.ts | 2 +- .../pagination/GetGroupPaginator.ts | 2 +- .../pagination/ListAccessKeysPaginator.ts | 2 +- .../pagination/ListAccountAliasesPaginator.ts | 2 +- .../ListAttachedGroupPoliciesPaginator.ts | 2 +- .../ListAttachedRolePoliciesPaginator.ts | 2 +- .../ListAttachedUserPoliciesPaginator.ts | 2 +- .../ListEntitiesForPolicyPaginator.ts | 2 +- .../pagination/ListGroupPoliciesPaginator.ts | 2 +- .../pagination/ListGroupsForUserPaginator.ts | 2 +- .../pagination/ListGroupsPaginator.ts | 2 +- .../ListInstanceProfilesForRolePaginator.ts | 2 +- .../ListInstanceProfilesPaginator.ts | 2 +- .../pagination/ListMFADevicesPaginator.ts | 2 +- .../pagination/ListPoliciesPaginator.ts | 2 +- .../pagination/ListPolicyVersionsPaginator.ts | 2 +- .../pagination/ListRolePoliciesPaginator.ts | 2 +- .../pagination/ListRolesPaginator.ts | 2 +- .../pagination/ListSSHPublicKeysPaginator.ts | 2 +- .../ListServerCertificatesPaginator.ts | 2 +- .../ListSigningCertificatesPaginator.ts | 2 +- .../pagination/ListUserPoliciesPaginator.ts | 2 +- .../pagination/ListUsersPaginator.ts | 2 +- .../ListVirtualMFADevicesPaginator.ts | 2 +- .../SimulateCustomPolicyPaginator.ts | 2 +- .../SimulatePrincipalPolicyPaginator.ts | 2 +- .../pagination/ListGroupsPaginator.ts | 2 +- .../pagination/ListUsersPaginator.ts | 2 +- .../ListComponentBuildVersionsPaginator.ts | 2 +- .../pagination/ListComponentsPaginator.ts | 2 +- ...ListDistributionConfigurationsPaginator.ts | 2 +- .../ListImageBuildVersionsPaginator.ts | 2 +- .../ListImagePipelineImagesPaginator.ts | 2 +- .../pagination/ListImagePipelinesPaginator.ts | 2 +- .../pagination/ListImageRecipesPaginator.ts | 2 +- .../pagination/ListImagesPaginator.ts | 2 +- ...stInfrastructureConfigurationsPaginator.ts | 2 +- .../GetExclusionsPreviewPaginator.ts | 2 +- .../ListAssessmentRunAgentsPaginator.ts | 2 +- .../pagination/ListAssessmentRunsPaginator.ts | 2 +- .../ListAssessmentTargetsPaginator.ts | 2 +- .../ListAssessmentTemplatesPaginator.ts | 2 +- .../ListEventSubscriptionsPaginator.ts | 2 +- .../pagination/ListExclusionsPaginator.ts | 2 +- .../pagination/ListFindingsPaginator.ts | 2 +- .../pagination/ListRulesPackagesPaginator.ts | 2 +- .../pagination/PreviewAgentsPaginator.ts | 2 +- .../pagination/ListPlacementsPaginator.ts | 2 +- .../pagination/ListProjectsPaginator.ts | 2 +- .../ListActiveViolationsPaginator.ts | 2 +- .../ListAttachedPoliciesPaginator.ts | 2 +- .../pagination/ListAuditFindingsPaginator.ts | 2 +- ...ditMitigationActionsExecutionsPaginator.ts | 2 +- ...istAuditMitigationActionsTasksPaginator.ts | 2 +- .../ListAuditSuppressionsPaginator.ts | 2 +- .../pagination/ListAuditTasksPaginator.ts | 2 +- .../pagination/ListAuthorizersPaginator.ts | 2 +- .../pagination/ListBillingGroupsPaginator.ts | 2 +- .../pagination/ListCACertificatesPaginator.ts | 2 +- .../ListCertificatesByCAPaginator.ts | 2 +- .../pagination/ListCertificatesPaginator.ts | 2 +- .../pagination/ListDimensionsPaginator.ts | 2 +- .../ListDomainConfigurationsPaginator.ts | 2 +- .../pagination/ListIndicesPaginator.ts | 2 +- .../ListJobExecutionsForJobPaginator.ts | 2 +- .../ListJobExecutionsForThingPaginator.ts | 2 +- .../pagination/ListJobsPaginator.ts | 2 +- .../ListMitigationActionsPaginator.ts | 2 +- .../pagination/ListOTAUpdatesPaginator.ts | 2 +- .../ListOutgoingCertificatesPaginator.ts | 2 +- .../pagination/ListPoliciesPaginator.ts | 2 +- .../ListPolicyPrincipalsPaginator.ts | 2 +- .../ListPrincipalPoliciesPaginator.ts | 2 +- .../ListPrincipalThingsPaginator.ts | 2 +- ...stProvisioningTemplateVersionsPaginator.ts | 2 +- .../ListProvisioningTemplatesPaginator.ts | 2 +- .../pagination/ListRoleAliasesPaginator.ts | 2 +- .../ListScheduledAuditsPaginator.ts | 2 +- .../ListSecurityProfilesForTargetPaginator.ts | 2 +- .../ListSecurityProfilesPaginator.ts | 2 +- .../pagination/ListStreamsPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../ListTargetsForPolicyPaginator.ts | 2 +- .../ListTargetsForSecurityProfilePaginator.ts | 2 +- .../ListThingGroupsForThingPaginator.ts | 2 +- .../pagination/ListThingGroupsPaginator.ts | 2 +- .../ListThingPrincipalsPaginator.ts | 2 +- ...stThingRegistrationTaskReportsPaginator.ts | 2 +- .../ListThingRegistrationTasksPaginator.ts | 2 +- .../pagination/ListThingTypesPaginator.ts | 2 +- .../ListThingsInBillingGroupPaginator.ts | 2 +- .../ListThingsInThingGroupPaginator.ts | 2 +- .../pagination/ListThingsPaginator.ts | 2 +- .../ListTopicRuleDestinationsPaginator.ts | 2 +- .../pagination/ListTopicRulesPaginator.ts | 2 +- .../ListV2LoggingLevelsPaginator.ts | 2 +- .../ListViolationEventsPaginator.ts | 2 +- clients/client-iotanalytics/IoTAnalytics.ts | 39 +- .../client-iotanalytics/models/models_0.ts | 1337 ++-- .../pagination/ListChannelsPaginator.ts | 2 +- .../ListDatasetContentsPaginator.ts | 2 +- .../pagination/ListDatasetsPaginator.ts | 2 +- .../pagination/ListDatastoresPaginator.ts | 2 +- .../pagination/ListPipelinesPaginator.ts | 2 +- .../protocols/Aws_restJson1.ts | 117 +- .../pagination/ListTunnelsPaginator.ts | 2 +- .../GetAssetPropertyAggregatesPaginator.ts | 2 +- .../GetAssetPropertyValueHistoryPaginator.ts | 2 +- .../pagination/ListAccessPoliciesPaginator.ts | 2 +- .../pagination/ListAssetModelsPaginator.ts | 2 +- .../pagination/ListAssetsPaginator.ts | 2 +- .../ListAssociatedAssetsPaginator.ts | 2 +- .../pagination/ListDashboardsPaginator.ts | 2 +- .../pagination/ListGatewaysPaginator.ts | 2 +- .../pagination/ListPortalsPaginator.ts | 2 +- .../pagination/ListProjectAssetsPaginator.ts | 2 +- .../pagination/ListProjectsPaginator.ts | 2 +- .../GetFlowTemplateRevisionsPaginator.ts | 2 +- .../GetSystemTemplateRevisionsPaginator.ts | 2 +- .../ListFlowExecutionMessagesPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../pagination/SearchEntitiesPaginator.ts | 2 +- .../SearchFlowExecutionsPaginator.ts | 2 +- .../SearchFlowTemplatesPaginator.ts | 2 +- .../SearchSystemInstancesPaginator.ts | 2 +- .../SearchSystemTemplatesPaginator.ts | 2 +- .../pagination/SearchThingsPaginator.ts | 2 +- .../pagination/ListChannelsPaginator.ts | 2 +- .../ListPlaybackKeyPairsPaginator.ts | 2 +- .../pagination/ListStreamKeysPaginator.ts | 2 +- .../pagination/ListStreamsPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../ListClusterOperationsPaginator.ts | 2 +- .../pagination/ListClustersPaginator.ts | 2 +- .../ListConfigurationRevisionsPaginator.ts | 2 +- .../pagination/ListConfigurationsPaginator.ts | 2 +- .../pagination/ListKafkaVersionsPaginator.ts | 2 +- .../pagination/ListNodesPaginator.ts | 2 +- .../pagination/ListScramSecretsPaginator.ts | 2 +- .../ListDataSourceSyncJobsPaginator.ts | 2 +- .../pagination/ListDataSourcesPaginator.ts | 2 +- .../pagination/ListIndicesPaginator.ts | 2 +- .../ListSignalingChannelsPaginator.ts | 2 +- .../pagination/ListStreamsPaginator.ts | 2 +- .../ListStreamConsumersPaginator.ts | 2 +- .../pagination/ListAliasesPaginator.ts | 2 +- .../pagination/ListGrantsPaginator.ts | 2 +- .../pagination/ListKeyPoliciesPaginator.ts | 2 +- .../pagination/ListKeysPaginator.ts | 2 +- ...GetEffectivePermissionsForPathPaginator.ts | 2 +- .../pagination/ListPermissionsPaginator.ts | 2 +- .../pagination/ListResourcesPaginator.ts | 2 +- .../pagination/ListAliasesPaginator.ts | 2 +- .../ListEventSourceMappingsPaginator.ts | 2 +- ...ListFunctionEventInvokeConfigsPaginator.ts | 2 +- .../pagination/ListFunctionsPaginator.ts | 2 +- .../pagination/ListLayerVersionsPaginator.ts | 2 +- .../pagination/ListLayersPaginator.ts | 2 +- ...tProvisionedConcurrencyConfigsPaginator.ts | 2 +- .../ListVersionsByFunctionPaginator.ts | 2 +- .../pagination/GetBotAliasesPaginator.ts | 2 +- .../GetBotChannelAssociationsPaginator.ts | 2 +- .../pagination/GetBotVersionsPaginator.ts | 2 +- .../pagination/GetBotsPaginator.ts | 2 +- .../pagination/GetBuiltinIntentsPaginator.ts | 2 +- .../GetBuiltinSlotTypesPaginator.ts | 2 +- .../pagination/GetIntentVersionsPaginator.ts | 2 +- .../pagination/GetIntentsPaginator.ts | 2 +- .../GetSlotTypeVersionsPaginator.ts | 2 +- .../pagination/GetSlotTypesPaginator.ts | 2 +- .../DescribeBatchPredictionsPaginator.ts | 2 +- .../DescribeDataSourcesPaginator.ts | 2 +- .../DescribeEvaluationsPaginator.ts | 2 +- .../pagination/DescribeMLModelsPaginator.ts | 2 +- .../pagination/ListMemberAccountsPaginator.ts | 2 +- .../pagination/ListS3ResourcesPaginator.ts | 2 +- clients/client-macie2/models/models_0.ts | 1423 ++-- .../pagination/DescribeBucketsPaginator.ts | 2 +- .../pagination/GetUsageStatisticsPaginator.ts | 2 +- .../ListClassificationJobsPaginator.ts | 2 +- .../ListCustomDataIdentifiersPaginator.ts | 2 +- .../ListFindingsFiltersPaginator.ts | 2 +- .../pagination/ListFindingsPaginator.ts | 2 +- .../pagination/ListInvitationsPaginator.ts | 2 +- .../pagination/ListMembersPaginator.ts | 2 +- .../ListOrganizationAdminAccountsPaginator.ts | 2 +- .../client-macie2/protocols/Aws_restJson1.ts | 5 +- .../pagination/ListInvitationsPaginator.ts | 2 +- .../pagination/ListMembersPaginator.ts | 2 +- .../pagination/ListNetworksPaginator.ts | 2 +- .../pagination/ListNodesPaginator.ts | 2 +- .../pagination/ListProposalVotesPaginator.ts | 2 +- .../pagination/ListProposalsPaginator.ts | 2 +- .../pagination/ListChangeSetsPaginator.ts | 2 +- .../pagination/ListEntitiesPaginator.ts | 2 +- .../pagination/ListEntitlementsPaginator.ts | 2 +- .../pagination/ListFlowsPaginator.ts | 2 +- .../pagination/ListOfferingsPaginator.ts | 2 +- .../pagination/ListReservationsPaginator.ts | 2 +- .../client-mediaconvert/models/models_0.ts | 1791 ++--- .../client-mediaconvert/models/models_1.ts | 1514 ++-- .../pagination/DescribeEndpointsPaginator.ts | 2 +- .../pagination/ListJobTemplatesPaginator.ts | 2 +- .../pagination/ListJobsPaginator.ts | 2 +- .../pagination/ListPresetsPaginator.ts | 2 +- .../pagination/ListQueuesPaginator.ts | 2 +- .../protocols/Aws_restJson1.ts | 70 +- .../pagination/DescribeSchedulePaginator.ts | 2 +- .../pagination/ListChannelsPaginator.ts | 2 +- .../ListInputDeviceTransfersPaginator.ts | 2 +- .../pagination/ListInputDevicesPaginator.ts | 2 +- .../ListInputSecurityGroupsPaginator.ts | 2 +- .../pagination/ListInputsPaginator.ts | 2 +- .../ListMultiplexProgramsPaginator.ts | 2 +- .../pagination/ListMultiplexesPaginator.ts | 2 +- .../pagination/ListOfferingsPaginator.ts | 2 +- .../pagination/ListReservationsPaginator.ts | 2 +- .../pagination/ListAssetsPaginator.ts | 2 +- .../ListPackagingConfigurationsPaginator.ts | 2 +- .../ListPackagingGroupsPaginator.ts | 2 +- .../pagination/ListChannelsPaginator.ts | 2 +- .../pagination/ListHarvestJobsPaginator.ts | 2 +- .../ListOriginEndpointsPaginator.ts | 2 +- .../pagination/ListContainersPaginator.ts | 2 +- .../ListApplicationStatesPaginator.ts | 2 +- .../ListCreatedArtifactsPaginator.ts | 2 +- .../ListDiscoveredResourcesPaginator.ts | 2 +- .../pagination/ListMigrationTasksPaginator.ts | 2 +- .../ListProgressUpdateStreamsPaginator.ts | 2 +- .../DescribeHomeRegionControlsPaginator.ts | 2 +- .../pagination/ListBundlesPaginator.ts | 2 +- .../pagination/ListProjectsPaginator.ts | 2 +- .../pagination/ListBrokersPaginator.ts | 2 +- .../ListAssignmentsForHITPaginator.ts | 2 +- .../pagination/ListBonusPaymentsPaginator.ts | 2 +- .../ListHITsForQualificationTypePaginator.ts | 2 +- .../pagination/ListHITsPaginator.ts | 2 +- .../ListQualificationRequestsPaginator.ts | 2 +- .../ListQualificationTypesPaginator.ts | 2 +- .../ListReviewPolicyResultsForHITPaginator.ts | 2 +- .../pagination/ListReviewableHITsPaginator.ts | 2 +- .../pagination/ListWorkerBlocksPaginator.ts | 2 +- ...stWorkersWithQualificationTypePaginator.ts | 2 +- .../DescribeDBClusterEndpointsPaginator.ts | 2 +- .../DescribeDBEngineVersionsPaginator.ts | 2 +- .../DescribeDBInstancesPaginator.ts | 2 +- .../DescribeDBParameterGroupsPaginator.ts | 2 +- .../DescribeDBParametersPaginator.ts | 2 +- .../DescribeDBSubnetGroupsPaginator.ts | 2 +- ...escribeEngineDefaultParametersPaginator.ts | 2 +- .../DescribeEventSubscriptionsPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- ...ribeOrderableDBInstanceOptionsPaginator.ts | 2 +- .../DescribeGlobalNetworksPaginator.ts | 2 +- ...GetCustomerGatewayAssociationsPaginator.ts | 2 +- .../pagination/GetDevicesPaginator.ts | 2 +- .../GetLinkAssociationsPaginator.ts | 2 +- .../pagination/GetLinksPaginator.ts | 2 +- .../pagination/GetSitesPaginator.ts | 2 +- ...GetTransitGatewayRegistrationsPaginator.ts | 2 +- .../DescribeEcsClustersPaginator.ts | 2 +- .../pagination/DescribeBackupsPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- .../pagination/DescribeServersPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- ...WSServiceAccessForOrganizationPaginator.ts | 2 +- .../ListAccountsForParentPaginator.ts | 2 +- .../pagination/ListAccountsPaginator.ts | 2 +- .../pagination/ListChildrenPaginator.ts | 2 +- .../ListCreateAccountStatusPaginator.ts | 2 +- .../ListDelegatedAdministratorsPaginator.ts | 2 +- ...istDelegatedServicesForAccountPaginator.ts | 2 +- .../ListHandshakesForAccountPaginator.ts | 2 +- .../ListHandshakesForOrganizationPaginator.ts | 2 +- ...stOrganizationalUnitsForParentPaginator.ts | 2 +- .../pagination/ListParentsPaginator.ts | 2 +- .../ListPoliciesForTargetPaginator.ts | 2 +- .../pagination/ListPoliciesPaginator.ts | 2 +- .../pagination/ListRootsPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../ListTargetsForPolicyPaginator.ts | 2 +- .../pagination/ListOutpostsPaginator.ts | 2 +- .../pagination/ListSitesPaginator.ts | 2 +- .../ListBatchInferenceJobsPaginator.ts | 2 +- .../pagination/ListCampaignsPaginator.ts | 2 +- .../pagination/ListDatasetGroupsPaginator.ts | 2 +- .../ListDatasetImportJobsPaginator.ts | 2 +- .../pagination/ListDatasetsPaginator.ts | 2 +- .../pagination/ListEventTrackersPaginator.ts | 2 +- .../pagination/ListRecipesPaginator.ts | 2 +- .../pagination/ListSchemasPaginator.ts | 2 +- .../ListSolutionVersionsPaginator.ts | 2 +- .../pagination/ListSolutionsPaginator.ts | 2 +- .../pagination/GetDedicatedIpsPaginator.ts | 2 +- .../ListConfigurationSetsPaginator.ts | 2 +- .../ListDedicatedIpPoolsPaginator.ts | 2 +- .../ListDeliverabilityTestReportsPaginator.ts | 2 +- ...tDomainDeliverabilityCampaignsPaginator.ts | 2 +- .../ListEmailIdentitiesPaginator.ts | 2 +- .../ListSpeechSynthesisTasksPaginator.ts | 2 +- .../pagination/DescribeServicesPaginator.ts | 2 +- .../pagination/GetAttributeValuesPaginator.ts | 2 +- .../pagination/GetProductsPaginator.ts | 2 +- ...JournalKinesisStreamsForLedgerPaginator.ts | 2 +- .../ListJournalS3ExportsForLedgerPaginator.ts | 2 +- .../ListJournalS3ExportsPaginator.ts | 2 +- .../pagination/ListLedgersPaginator.ts | 2 +- clients/client-quicksight/QuickSight.ts | 9 +- .../commands/ListTagsForResourceCommand.ts | 3 +- .../commands/ListTemplateAliasesCommand.ts | 3 +- clients/client-quicksight/models/models_0.ts | 2810 +++---- clients/client-quicksight/models/models_1.ts | 1202 +-- .../pagination/ListAnalysesPaginator.ts | 2 +- .../ListDashboardVersionsPaginator.ts | 2 +- .../pagination/ListDashboardsPaginator.ts | 2 +- .../pagination/ListDataSetsPaginator.ts | 2 +- .../pagination/ListDataSourcesPaginator.ts | 2 +- .../pagination/ListIngestionsPaginator.ts | 2 +- .../pagination/ListNamespacesPaginator.ts | 2 +- .../ListTemplateAliasesPaginator.ts | 2 +- .../ListTemplateVersionsPaginator.ts | 2 +- .../pagination/ListTemplatesPaginator.ts | 2 +- .../pagination/SearchAnalysesPaginator.ts | 2 +- .../pagination/SearchDashboardsPaginator.ts | 2 +- .../protocols/Aws_restJson1.ts | 1085 +-- .../GetResourcePoliciesPaginator.ts | 2 +- .../GetResourceShareAssociationsPaginator.ts | 2 +- .../GetResourceShareInvitationsPaginator.ts | 2 +- .../pagination/GetResourceSharesPaginator.ts | 2 +- ...ListPendingInvitationResourcesPaginator.ts | 2 +- .../pagination/ListPrincipalsPaginator.ts | 2 +- .../pagination/ListResourcesPaginator.ts | 2 +- .../DescribeCertificatesPaginator.ts | 2 +- ...escribeCustomAvailabilityZonesPaginator.ts | 2 +- .../DescribeDBClusterBacktracksPaginator.ts | 2 +- .../DescribeDBClusterEndpointsPaginator.ts | 2 +- ...scribeDBClusterParameterGroupsPaginator.ts | 2 +- .../DescribeDBClusterParametersPaginator.ts | 2 +- .../DescribeDBClusterSnapshotsPaginator.ts | 2 +- .../pagination/DescribeDBClustersPaginator.ts | 2 +- .../DescribeDBEngineVersionsPaginator.ts | 2 +- ...ribeDBInstanceAutomatedBackupsPaginator.ts | 2 +- .../DescribeDBInstancesPaginator.ts | 2 +- .../pagination/DescribeDBLogFilesPaginator.ts | 2 +- .../DescribeDBParameterGroupsPaginator.ts | 2 +- .../DescribeDBParametersPaginator.ts | 2 +- .../pagination/DescribeDBProxiesPaginator.ts | 2 +- .../DescribeDBProxyTargetGroupsPaginator.ts | 2 +- .../DescribeDBProxyTargetsPaginator.ts | 2 +- .../DescribeDBSecurityGroupsPaginator.ts | 2 +- .../DescribeDBSnapshotsPaginator.ts | 2 +- .../DescribeDBSubnetGroupsPaginator.ts | 2 +- ...escribeEngineDefaultParametersPaginator.ts | 2 +- .../DescribeEventSubscriptionsPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- .../DescribeExportTasksPaginator.ts | 2 +- .../DescribeGlobalClustersPaginator.ts | 2 +- .../DescribeInstallationMediaPaginator.ts | 2 +- .../DescribeOptionGroupOptionsPaginator.ts | 2 +- .../DescribeOptionGroupsPaginator.ts | 2 +- ...ribeOrderableDBInstanceOptionsPaginator.ts | 2 +- ...cribePendingMaintenanceActionsPaginator.ts | 2 +- ...beReservedDBInstancesOfferingsPaginator.ts | 2 +- .../DescribeReservedDBInstancesPaginator.ts | 2 +- .../DescribeSourceRegionsPaginator.ts | 2 +- .../pagination/DescribeTablePaginator.ts | 2 +- .../pagination/GetStatementResultPaginator.ts | 2 +- .../pagination/ListDatabasesPaginator.ts | 2 +- .../pagination/ListSchemasPaginator.ts | 2 +- .../pagination/ListStatementsPaginator.ts | 2 +- .../pagination/ListTablesPaginator.ts | 2 +- ...DescribeClusterParameterGroupsPaginator.ts | 2 +- .../DescribeClusterParametersPaginator.ts | 2 +- .../DescribeClusterSecurityGroupsPaginator.ts | 2 +- .../DescribeClusterSnapshotsPaginator.ts | 2 +- .../DescribeClusterSubnetGroupsPaginator.ts | 2 +- .../DescribeClusterVersionsPaginator.ts | 2 +- .../pagination/DescribeClustersPaginator.ts | 2 +- ...scribeDefaultClusterParametersPaginator.ts | 2 +- .../DescribeEventSubscriptionsPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- .../DescribeHsmClientCertificatesPaginator.ts | 2 +- .../DescribeHsmConfigurationsPaginator.ts | 2 +- ...scribeNodeConfigurationOptionsPaginator.ts | 2 +- ...escribeOrderableClusterOptionsPaginator.ts | 2 +- .../DescribeReservedNodeOfferingsPaginator.ts | 2 +- .../DescribeReservedNodesPaginator.ts | 2 +- .../DescribeScheduledActionsPaginator.ts | 2 +- .../DescribeUsageLimitsPaginator.ts | 2 +- .../DescribeProjectVersionsPaginator.ts | 2 +- .../pagination/DescribeProjectsPaginator.ts | 2 +- .../GetCelebrityRecognitionPaginator.ts | 2 +- .../GetContentModerationPaginator.ts | 2 +- .../pagination/GetFaceDetectionPaginator.ts | 2 +- .../pagination/GetFaceSearchPaginator.ts | 2 +- .../pagination/GetLabelDetectionPaginator.ts | 2 +- .../pagination/GetPersonTrackingPaginator.ts | 2 +- .../GetSegmentDetectionPaginator.ts | 2 +- .../pagination/GetTextDetectionPaginator.ts | 2 +- .../pagination/ListCollectionsPaginator.ts | 2 +- .../pagination/ListFacesPaginator.ts | 2 +- .../ListStreamProcessorsPaginator.ts | 2 +- .../GetComplianceSummaryPaginator.ts | 2 +- .../pagination/GetResourcesPaginator.ts | 2 +- .../pagination/GetTagKeysPaginator.ts | 2 +- .../pagination/GetTagValuesPaginator.ts | 2 +- .../pagination/ListGroupResourcesPaginator.ts | 2 +- .../pagination/ListGroupsPaginator.ts | 2 +- .../pagination/SearchResourcesPaginator.ts | 2 +- .../pagination/ListDeploymentJobsPaginator.ts | 2 +- .../pagination/ListFleetsPaginator.ts | 2 +- .../ListRobotApplicationsPaginator.ts | 2 +- .../pagination/ListRobotsPaginator.ts | 2 +- .../ListSimulationApplicationsPaginator.ts | 2 +- .../ListSimulationJobBatchesPaginator.ts | 2 +- .../pagination/ListSimulationJobsPaginator.ts | 2 +- .../ListWorldExportJobsPaginator.ts | 2 +- .../ListWorldGenerationJobsPaginator.ts | 2 +- .../pagination/ListWorldTemplatesPaginator.ts | 2 +- .../pagination/ListWorldsPaginator.ts | 2 +- .../pagination/ListDomainsPaginator.ts | 2 +- .../pagination/ListOperationsPaginator.ts | 2 +- ...istResolverEndpointIpAddressesPaginator.ts | 2 +- .../ListResolverEndpointsPaginator.ts | 2 +- ...lverQueryLogConfigAssociationsPaginator.ts | 2 +- .../ListResolverQueryLogConfigsPaginator.ts | 2 +- .../ListResolverRuleAssociationsPaginator.ts | 2 +- .../pagination/ListResolverRulesPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListAccessPointsPaginator.ts | 2 +- .../pagination/ListJobsPaginator.ts | 2 +- .../ListRegionalBucketsPaginator.ts | 2 +- clients/client-s3/S3.ts | 2389 ++++-- clients/client-s3/S3Client.ts | 24 + ...tIntelligentTieringConfigurationCommand.ts | 93 + ...tIntelligentTieringConfigurationCommand.ts | 97 + ...IntelligentTieringConfigurationsCommand.ts | 97 + ...tIntelligentTieringConfigurationCommand.ts | 93 + clients/client-s3/index.ts | 5 + clients/client-s3/models/models_0.ts | 5428 +++++++------ clients/client-s3/models/models_1.ts | 829 +- .../pagination/ListObjectsV2Paginator.ts | 2 +- .../pagination/ListPartsPaginator.ts | 47 + clients/client-s3/protocols/Aws_restXml.ts | 2764 ++++--- .../pagination/ListEndpointsPaginator.ts | 2 +- .../pagination/ListHumanLoopsPaginator.ts | 2 +- .../pagination/ListAlgorithmsPaginator.ts | 2 +- .../pagination/ListAppsPaginator.ts | 2 +- .../pagination/ListAutoMLJobsPaginator.ts | 2 +- .../ListCandidatesForAutoMLJobPaginator.ts | 2 +- .../ListCodeRepositoriesPaginator.ts | 2 +- .../ListCompilationJobsPaginator.ts | 2 +- .../pagination/ListDomainsPaginator.ts | 2 +- .../ListEndpointConfigsPaginator.ts | 2 +- .../pagination/ListEndpointsPaginator.ts | 2 +- .../pagination/ListExperimentsPaginator.ts | 2 +- .../ListFlowDefinitionsPaginator.ts | 2 +- .../pagination/ListHumanTaskUisPaginator.ts | 2 +- .../ListHyperParameterTuningJobsPaginator.ts | 2 +- .../pagination/ListImageVersionsPaginator.ts | 2 +- .../pagination/ListImagesPaginator.ts | 2 +- .../ListLabelingJobsForWorkteamPaginator.ts | 2 +- .../pagination/ListLabelingJobsPaginator.ts | 2 +- .../pagination/ListModelPackagesPaginator.ts | 2 +- .../pagination/ListModelsPaginator.ts | 2 +- .../ListMonitoringExecutionsPaginator.ts | 2 +- .../ListMonitoringSchedulesPaginator.ts | 2 +- ...tebookInstanceLifecycleConfigsPaginator.ts | 2 +- .../ListNotebookInstancesPaginator.ts | 2 +- .../pagination/ListProcessingJobsPaginator.ts | 2 +- .../ListSubscribedWorkteamsPaginator.ts | 2 +- .../pagination/ListTagsPaginator.ts | 2 +- ...JobsForHyperParameterTuningJobPaginator.ts | 2 +- .../pagination/ListTrainingJobsPaginator.ts | 2 +- .../pagination/ListTransformJobsPaginator.ts | 2 +- .../ListTrialComponentsPaginator.ts | 2 +- .../pagination/ListTrialsPaginator.ts | 2 +- .../pagination/ListUserProfilesPaginator.ts | 2 +- .../pagination/ListWorkforcesPaginator.ts | 2 +- .../pagination/ListWorkteamsPaginator.ts | 2 +- .../pagination/SearchPaginator.ts | 2 +- .../pagination/ListDiscoverersPaginator.ts | 2 +- .../pagination/ListRegistriesPaginator.ts | 2 +- .../pagination/ListSchemaVersionsPaginator.ts | 2 +- .../pagination/ListSchemasPaginator.ts | 2 +- .../pagination/SearchSchemasPaginator.ts | 2 +- .../ListSecretVersionIdsPaginator.ts | 2 +- .../pagination/ListSecretsPaginator.ts | 2 +- .../DescribeActionTargetsPaginator.ts | 2 +- .../pagination/DescribeProductsPaginator.ts | 2 +- .../DescribeStandardsControlsPaginator.ts | 2 +- .../pagination/DescribeStandardsPaginator.ts | 2 +- .../GetEnabledStandardsPaginator.ts | 2 +- .../pagination/GetFindingsPaginator.ts | 2 +- .../pagination/GetInsightsPaginator.ts | 2 +- .../ListEnabledProductsForImportPaginator.ts | 2 +- .../pagination/ListInvitationsPaginator.ts | 2 +- .../pagination/ListMembersPaginator.ts | 2 +- .../ListApplicationDependenciesPaginator.ts | 2 +- .../ListApplicationVersionsPaginator.ts | 2 +- .../pagination/ListApplicationsPaginator.ts | 2 +- .../client-service-catalog/models/models_0.ts | 3104 ++++---- .../GetProvisionedProductOutputsPaginator.ts | 2 +- .../ListAcceptedPortfolioSharesPaginator.ts | 2 +- .../ListBudgetsForResourcePaginator.ts | 2 +- .../ListConstraintsForPortfolioPaginator.ts | 2 +- .../pagination/ListLaunchPathsPaginator.ts | 2 +- ...istOrganizationPortfolioAccessPaginator.ts | 2 +- .../ListPortfolioAccessPaginator.ts | 2 +- .../ListPortfoliosForProductPaginator.ts | 2 +- .../pagination/ListPortfoliosPaginator.ts | 2 +- .../ListPrincipalsForPortfolioPaginator.ts | 2 +- ...oningArtifactsForServiceActionPaginator.ts | 2 +- .../ListResourcesForTagOptionPaginator.ts | 2 +- ...ActionsForProvisioningArtifactPaginator.ts | 2 +- .../pagination/ListServiceActionsPaginator.ts | 2 +- .../pagination/ListTagOptionsPaginator.ts | 2 +- .../SearchProductsAsAdminPaginator.ts | 2 +- .../pagination/SearchProductsPaginator.ts | 2 +- .../SearchProvisionedProductsPaginator.ts | 2 +- .../ListAWSDefaultServiceQuotasPaginator.ts | 2 +- ...rviceQuotaChangeHistoryByQuotaPaginator.ts | 2 +- ...estedServiceQuotaChangeHistoryPaginator.ts | 2 +- ...uotaIncreaseRequestsInTemplatePaginator.ts | 2 +- .../pagination/ListServiceQuotasPaginator.ts | 2 +- .../pagination/ListServicesPaginator.ts | 2 +- .../GetInstancesHealthStatusPaginator.ts | 2 +- .../pagination/ListInstancesPaginator.ts | 2 +- .../pagination/ListNamespacesPaginator.ts | 2 +- .../pagination/ListOperationsPaginator.ts | 2 +- .../pagination/ListServicesPaginator.ts | 2 +- ...stomVerificationEmailTemplatesPaginator.ts | 2 +- .../pagination/ListIdentitiesPaginator.ts | 2 +- .../pagination/GetDedicatedIpsPaginator.ts | 2 +- .../ListConfigurationSetsPaginator.ts | 2 +- .../pagination/ListContactListsPaginator.ts | 2 +- .../pagination/ListContactsPaginator.ts | 2 +- ...stomVerificationEmailTemplatesPaginator.ts | 2 +- .../ListDedicatedIpPoolsPaginator.ts | 2 +- .../ListDeliverabilityTestReportsPaginator.ts | 2 +- ...tDomainDeliverabilityCampaignsPaginator.ts | 2 +- .../ListEmailIdentitiesPaginator.ts | 2 +- .../pagination/ListEmailTemplatesPaginator.ts | 2 +- .../pagination/ListImportJobsPaginator.ts | 2 +- .../ListSuppressedDestinationsPaginator.ts | 2 +- .../GetExecutionHistoryPaginator.ts | 2 +- .../pagination/ListActivitiesPaginator.ts | 2 +- .../pagination/ListExecutionsPaginator.ts | 2 +- .../pagination/ListStateMachinesPaginator.ts | 2 +- .../pagination/ListAttacksPaginator.ts | 2 +- .../pagination/ListProtectionsPaginator.ts | 2 +- .../pagination/ListSigningJobsPaginator.ts | 2 +- .../ListSigningPlatformsPaginator.ts | 2 +- .../ListSigningProfilesPaginator.ts | 2 +- .../pagination/GetConnectorsPaginator.ts | 2 +- .../pagination/GetReplicationJobsPaginator.ts | 2 +- .../pagination/GetReplicationRunsPaginator.ts | 2 +- .../pagination/GetServersPaginator.ts | 2 +- .../pagination/DescribeAddressesPaginator.ts | 2 +- .../pagination/ListJobsPaginator.ts | 2 +- ...EndpointsByPlatformApplicationPaginator.ts | 2 +- .../ListPlatformApplicationsPaginator.ts | 2 +- .../ListSubscriptionsByTopicPaginator.ts | 2 +- .../pagination/ListSubscriptionsPaginator.ts | 2 +- .../pagination/ListTopicsPaginator.ts | 2 +- .../ListDeadLetterSourceQueuesPaginator.ts | 2 +- .../pagination/ListQueuesPaginator.ts | 2 +- clients/client-ssm/models/models_0.ts | 5 + .../DescribeActivationsPaginator.ts | 2 +- ...ibeAssociationExecutionTargetsPaginator.ts | 2 +- .../DescribeAssociationExecutionsPaginator.ts | 2 +- .../DescribeAutomationExecutionsPaginator.ts | 2 +- ...scribeAutomationStepExecutionsPaginator.ts | 2 +- .../DescribeAvailablePatchesPaginator.ts | 2 +- ...eEffectiveInstanceAssociationsPaginator.ts | 2 +- ...fectivePatchesForPatchBaselinePaginator.ts | 2 +- ...ribeInstanceAssociationsStatusPaginator.ts | 2 +- .../DescribeInstanceInformationPaginator.ts | 2 +- ...stancePatchStatesForPatchGroupPaginator.ts | 2 +- .../DescribeInstancePatchStatesPaginator.ts | 2 +- .../DescribeInstancePatchesPaginator.ts | 2 +- .../DescribeInventoryDeletionsPaginator.ts | 2 +- ...WindowExecutionTaskInvocationsPaginator.ts | 2 +- ...aintenanceWindowExecutionTasksPaginator.ts | 2 +- ...ibeMaintenanceWindowExecutionsPaginator.ts | 2 +- ...cribeMaintenanceWindowSchedulePaginator.ts | 2 +- ...scribeMaintenanceWindowTargetsPaginator.ts | 2 +- ...DescribeMaintenanceWindowTasksPaginator.ts | 2 +- ...ibeMaintenanceWindowsForTargetPaginator.ts | 2 +- .../DescribeMaintenanceWindowsPaginator.ts | 2 +- .../pagination/DescribeOpsItemsPaginator.ts | 2 +- .../pagination/DescribeParametersPaginator.ts | 2 +- .../DescribePatchBaselinesPaginator.ts | 2 +- .../DescribePatchGroupsPaginator.ts | 2 +- .../DescribePatchPropertiesPaginator.ts | 2 +- .../pagination/DescribeSessionsPaginator.ts | 2 +- .../pagination/GetInventoryPaginator.ts | 2 +- .../pagination/GetInventorySchemaPaginator.ts | 2 +- .../pagination/GetOpsSummaryPaginator.ts | 2 +- .../GetParameterHistoryPaginator.ts | 2 +- .../GetParametersByPathPaginator.ts | 2 +- .../ListAssociationVersionsPaginator.ts | 2 +- .../pagination/ListAssociationsPaginator.ts | 2 +- .../ListCommandInvocationsPaginator.ts | 2 +- .../pagination/ListCommandsPaginator.ts | 2 +- .../ListComplianceItemsPaginator.ts | 2 +- .../ListComplianceSummariesPaginator.ts | 2 +- .../ListDocumentVersionsPaginator.ts | 2 +- .../pagination/ListDocumentsPaginator.ts | 2 +- ...istResourceComplianceSummariesPaginator.ts | 2 +- .../ListResourceDataSyncPaginator.ts | 2 +- ...ccountAssignmentCreationStatusPaginator.ts | 2 +- ...ccountAssignmentDeletionStatusPaginator.ts | 2 +- .../ListAccountAssignmentsPaginator.ts | 2 +- ...ntsForProvisionedPermissionSetPaginator.ts | 2 +- .../pagination/ListInstancesPaginator.ts | 2 +- ...ManagedPoliciesInPermissionSetPaginator.ts | 2 +- ...ermissionSetProvisioningStatusPaginator.ts | 2 +- .../pagination/ListPermissionSetsPaginator.ts | 2 +- ...issionSetsProvisionedToAccountPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListAccountRolesPaginator.ts | 2 +- .../pagination/ListAccountsPaginator.ts | 2 +- .../client-storage-gateway/StorageGateway.ts | 99 + .../StorageGatewayClient.ts | 12 + ...scribeBandwidthRateLimitScheduleCommand.ts | 89 + ...UpdateBandwidthRateLimitScheduleCommand.ts | 88 + clients/client-storage-gateway/index.ts | 3 + .../client-storage-gateway/models/models_0.ts | 3140 ++++---- .../DescribeTapeArchivesPaginator.ts | 2 +- .../DescribeTapeRecoveryPointsPaginator.ts | 2 +- .../pagination/DescribeTapesPaginator.ts | 2 +- .../pagination/DescribeVTLDevicesPaginator.ts | 2 +- .../pagination/ListFileSharesPaginator.ts | 2 +- .../pagination/ListGatewaysPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListTapePoolsPaginator.ts | 51 + .../pagination/ListTapesPaginator.ts | 2 +- .../pagination/ListVolumesPaginator.ts | 2 +- .../protocols/Aws_json1_1.ts | 281 + .../pagination/DescribeCasesPaginator.ts | 2 +- .../DescribeCommunicationsPaginator.ts | 2 +- .../GetWorkflowExecutionHistoryPaginator.ts | 2 +- .../pagination/ListActivityTypesPaginator.ts | 2 +- .../ListClosedWorkflowExecutionsPaginator.ts | 2 +- .../pagination/ListDomainsPaginator.ts | 2 +- .../ListOpenWorkflowExecutionsPaginator.ts | 2 +- .../pagination/ListWorkflowTypesPaginator.ts | 2 +- .../PollForDecisionTaskPaginator.ts | 2 +- .../DescribeCanariesLastRunPaginator.ts | 2 +- .../pagination/DescribeCanariesPaginator.ts | 2 +- .../DescribeRuntimeVersionsPaginator.ts | 2 +- .../pagination/GetCanaryRunsPaginator.ts | 2 +- .../pagination/QueryPaginator.ts | 2 +- .../pagination/ListDatabasesPaginator.ts | 2 +- .../pagination/ListTablesPaginator.ts | 2 +- .../pagination/ListLanguageModelsPaginator.ts | 2 +- .../ListMedicalTranscriptionJobsPaginator.ts | 2 +- .../ListMedicalVocabulariesPaginator.ts | 2 +- .../ListTranscriptionJobsPaginator.ts | 2 +- .../pagination/ListVocabulariesPaginator.ts | 2 +- .../ListVocabularyFiltersPaginator.ts | 2 +- .../ListSecurityPoliciesPaginator.ts | 2 +- .../pagination/ListServersPaginator.ts | 2 +- .../ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListUsersPaginator.ts | 2 +- .../pagination/ListTerminologiesPaginator.ts | 2 +- .../ListTextTranslationJobsPaginator.ts | 2 +- .../DescribeDocumentVersionsPaginator.ts | 2 +- .../DescribeFolderContentsPaginator.ts | 2 +- .../pagination/DescribeUsersPaginator.ts | 2 +- .../pagination/ListDevicesPaginator.ts | 2 +- .../pagination/ListDomainsPaginator.ts | 2 +- .../pagination/ListFleetsPaginator.ts | 2 +- ...tWebsiteAuthorizationProvidersPaginator.ts | 2 +- ...tWebsiteCertificateAuthoritiesPaginator.ts | 2 +- .../pagination/ListAliasesPaginator.ts | 2 +- .../pagination/ListGroupMembersPaginator.ts | 2 +- .../pagination/ListGroupsPaginator.ts | 2 +- .../ListMailboxExportJobsPaginator.ts | 2 +- .../ListMailboxPermissionsPaginator.ts | 2 +- .../pagination/ListOrganizationsPaginator.ts | 2 +- .../ListResourceDelegatesPaginator.ts | 2 +- .../pagination/ListResourcesPaginator.ts | 2 +- .../pagination/ListUsersPaginator.ts | 2 +- .../DescribeWorkspaceBundlesPaginator.ts | 2 +- .../DescribeWorkspaceDirectoriesPaginator.ts | 2 +- .../pagination/DescribeWorkspacesPaginator.ts | 2 +- .../pagination/BatchGetTracesPaginator.ts | 2 +- .../pagination/GetGroupsPaginator.ts | 2 +- .../pagination/GetInsightEventsPaginator.ts | 2 +- .../GetInsightSummariesPaginator.ts | 2 +- .../pagination/GetSamplingRulesPaginator.ts | 2 +- .../GetSamplingStatisticSummariesPaginator.ts | 2 +- .../pagination/GetServiceGraphPaginator.ts | 2 +- ...GetTimeSeriesServiceStatisticsPaginator.ts | 2 +- .../pagination/GetTraceGraphPaginator.ts | 2 +- .../pagination/GetTraceSummariesPaginator.ts | 2 +- 1402 files changed, 45128 insertions(+), 23988 deletions(-) create mode 100644 clients/client-databrew/.gitignore create mode 100644 clients/client-databrew/.npmignore create mode 100644 clients/client-databrew/DataBrew.ts create mode 100644 clients/client-databrew/DataBrewClient.ts create mode 100644 clients/client-databrew/LICENSE create mode 100644 clients/client-databrew/README.md create mode 100644 clients/client-databrew/commands/BatchDeleteRecipeVersionCommand.ts create mode 100644 clients/client-databrew/commands/CreateDatasetCommand.ts create mode 100644 clients/client-databrew/commands/CreateProfileJobCommand.ts create mode 100644 clients/client-databrew/commands/CreateProjectCommand.ts create mode 100644 clients/client-databrew/commands/CreateRecipeCommand.ts create mode 100644 clients/client-databrew/commands/CreateRecipeJobCommand.ts create mode 100644 clients/client-databrew/commands/CreateScheduleCommand.ts create mode 100644 clients/client-databrew/commands/DeleteDatasetCommand.ts create mode 100644 clients/client-databrew/commands/DeleteJobCommand.ts create mode 100644 clients/client-databrew/commands/DeleteProjectCommand.ts create mode 100644 clients/client-databrew/commands/DeleteRecipeVersionCommand.ts create mode 100644 clients/client-databrew/commands/DeleteScheduleCommand.ts create mode 100644 clients/client-databrew/commands/DescribeDatasetCommand.ts create mode 100644 clients/client-databrew/commands/DescribeJobCommand.ts create mode 100644 clients/client-databrew/commands/DescribeProjectCommand.ts create mode 100644 clients/client-databrew/commands/DescribeRecipeCommand.ts create mode 100644 clients/client-databrew/commands/DescribeScheduleCommand.ts create mode 100644 clients/client-databrew/commands/ListDatasetsCommand.ts create mode 100644 clients/client-databrew/commands/ListJobRunsCommand.ts create mode 100644 clients/client-databrew/commands/ListJobsCommand.ts create mode 100644 clients/client-databrew/commands/ListProjectsCommand.ts create mode 100644 clients/client-databrew/commands/ListRecipeVersionsCommand.ts create mode 100644 clients/client-databrew/commands/ListRecipesCommand.ts create mode 100644 clients/client-databrew/commands/ListSchedulesCommand.ts create mode 100644 clients/client-databrew/commands/ListTagsForResourceCommand.ts create mode 100644 clients/client-databrew/commands/PublishRecipeCommand.ts create mode 100644 clients/client-databrew/commands/SendProjectSessionActionCommand.ts create mode 100644 clients/client-databrew/commands/StartJobRunCommand.ts create mode 100644 clients/client-databrew/commands/StartProjectSessionCommand.ts create mode 100644 clients/client-databrew/commands/StopJobRunCommand.ts create mode 100644 clients/client-databrew/commands/TagResourceCommand.ts create mode 100644 clients/client-databrew/commands/UntagResourceCommand.ts create mode 100644 clients/client-databrew/commands/UpdateDatasetCommand.ts create mode 100644 clients/client-databrew/commands/UpdateProfileJobCommand.ts create mode 100644 clients/client-databrew/commands/UpdateProjectCommand.ts create mode 100644 clients/client-databrew/commands/UpdateRecipeCommand.ts create mode 100644 clients/client-databrew/commands/UpdateRecipeJobCommand.ts create mode 100644 clients/client-databrew/commands/UpdateScheduleCommand.ts create mode 100644 clients/client-databrew/endpoints.ts create mode 100644 clients/client-databrew/index.ts create mode 100644 clients/client-databrew/models/index.ts create mode 100644 clients/client-databrew/models/models_0.ts create mode 100644 clients/client-databrew/package.json create mode 100644 clients/client-databrew/pagination/Interfaces.ts create mode 100644 clients/client-databrew/pagination/ListDatasetsPaginator.ts create mode 100644 clients/client-databrew/pagination/ListJobRunsPaginator.ts create mode 100644 clients/client-databrew/pagination/ListJobsPaginator.ts create mode 100644 clients/client-databrew/pagination/ListProjectsPaginator.ts create mode 100644 clients/client-databrew/pagination/ListRecipeVersionsPaginator.ts create mode 100644 clients/client-databrew/pagination/ListRecipesPaginator.ts create mode 100644 clients/client-databrew/pagination/ListSchedulesPaginator.ts create mode 100644 clients/client-databrew/protocols/Aws_restJson1.ts create mode 100644 clients/client-databrew/runtimeConfig.browser.ts create mode 100644 clients/client-databrew/runtimeConfig.native.ts create mode 100644 clients/client-databrew/runtimeConfig.shared.ts create mode 100644 clients/client-databrew/runtimeConfig.ts create mode 100644 clients/client-databrew/tsconfig.es.json create mode 100644 clients/client-databrew/tsconfig.json create mode 100644 clients/client-datasync/commands/UpdateTaskExecutionCommand.ts create mode 100644 clients/client-dynamodb/commands/DescribeExportCommand.ts create mode 100644 clients/client-dynamodb/commands/ExportTableToPointInTimeCommand.ts create mode 100644 clients/client-dynamodb/commands/ListExportsCommand.ts create mode 100644 clients/client-dynamodb/pagination/ListExportsPaginator.ts create mode 100644 clients/client-elasticsearch-service/commands/GetPackageVersionHistoryCommand.ts create mode 100644 clients/client-elasticsearch-service/commands/UpdatePackageCommand.ts create mode 100644 clients/client-elasticsearch-service/pagination/GetPackageVersionHistoryPaginator.ts create mode 100644 clients/client-fsx/commands/AssociateFileSystemAliasesCommand.ts create mode 100644 clients/client-fsx/commands/DescribeFileSystemAliasesCommand.ts create mode 100644 clients/client-fsx/commands/DisassociateFileSystemAliasesCommand.ts create mode 100644 clients/client-fsx/pagination/DescribeFileSystemAliasesPaginator.ts create mode 100644 clients/client-s3/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts create mode 100644 clients/client-s3/commands/GetBucketIntelligentTieringConfigurationCommand.ts create mode 100644 clients/client-s3/commands/ListBucketIntelligentTieringConfigurationsCommand.ts create mode 100644 clients/client-s3/commands/PutBucketIntelligentTieringConfigurationCommand.ts create mode 100644 clients/client-s3/pagination/ListPartsPaginator.ts create mode 100644 clients/client-storage-gateway/commands/DescribeBandwidthRateLimitScheduleCommand.ts create mode 100644 clients/client-storage-gateway/commands/UpdateBandwidthRateLimitScheduleCommand.ts create mode 100644 clients/client-storage-gateway/pagination/ListTapePoolsPaginator.ts diff --git a/clients/client-accessanalyzer/pagination/ListAnalyzedResourcesPaginator.ts b/clients/client-accessanalyzer/pagination/ListAnalyzedResourcesPaginator.ts index 7eccc4c93dc4..b3a510716962 100644 --- a/clients/client-accessanalyzer/pagination/ListAnalyzedResourcesPaginator.ts +++ b/clients/client-accessanalyzer/pagination/ListAnalyzedResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAnalyzedResourcesCommand(input), ...args); + return await client.send(new ListAnalyzedResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: AccessAnalyzer, diff --git a/clients/client-accessanalyzer/pagination/ListAnalyzersPaginator.ts b/clients/client-accessanalyzer/pagination/ListAnalyzersPaginator.ts index 945be7217631..2842b555d56d 100644 --- a/clients/client-accessanalyzer/pagination/ListAnalyzersPaginator.ts +++ b/clients/client-accessanalyzer/pagination/ListAnalyzersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAnalyzersCommand(input), ...args); + return await client.send(new ListAnalyzersCommand(input, ...args)); }; const makePagedRequest = async ( client: AccessAnalyzer, diff --git a/clients/client-accessanalyzer/pagination/ListArchiveRulesPaginator.ts b/clients/client-accessanalyzer/pagination/ListArchiveRulesPaginator.ts index 5a853d41b127..aa18c636c650 100644 --- a/clients/client-accessanalyzer/pagination/ListArchiveRulesPaginator.ts +++ b/clients/client-accessanalyzer/pagination/ListArchiveRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListArchiveRulesCommand(input), ...args); + return await client.send(new ListArchiveRulesCommand(input, ...args)); }; const makePagedRequest = async ( client: AccessAnalyzer, diff --git a/clients/client-accessanalyzer/pagination/ListFindingsPaginator.ts b/clients/client-accessanalyzer/pagination/ListFindingsPaginator.ts index 2c4cf39d8a5e..35ac8b465b9b 100644 --- a/clients/client-accessanalyzer/pagination/ListFindingsPaginator.ts +++ b/clients/client-accessanalyzer/pagination/ListFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsCommand(input), ...args); + return await client.send(new ListFindingsCommand(input, ...args)); }; const makePagedRequest = async ( client: AccessAnalyzer, diff --git a/clients/client-acm-pca/pagination/ListCertificateAuthoritiesPaginator.ts b/clients/client-acm-pca/pagination/ListCertificateAuthoritiesPaginator.ts index c31bbb0d117e..c3f32a8763cf 100644 --- a/clients/client-acm-pca/pagination/ListCertificateAuthoritiesPaginator.ts +++ b/clients/client-acm-pca/pagination/ListCertificateAuthoritiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCertificateAuthoritiesCommand(input), ...args); + return await client.send(new ListCertificateAuthoritiesCommand(input, ...args)); }; const makePagedRequest = async ( client: ACMPCA, diff --git a/clients/client-acm-pca/pagination/ListPermissionsPaginator.ts b/clients/client-acm-pca/pagination/ListPermissionsPaginator.ts index ca7bdfa84c52..9a987716516f 100644 --- a/clients/client-acm-pca/pagination/ListPermissionsPaginator.ts +++ b/clients/client-acm-pca/pagination/ListPermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionsCommand(input), ...args); + return await client.send(new ListPermissionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ACMPCA, diff --git a/clients/client-acm-pca/pagination/ListTagsPaginator.ts b/clients/client-acm-pca/pagination/ListTagsPaginator.ts index f8b7800ab050..e82cf1ca9d56 100644 --- a/clients/client-acm-pca/pagination/ListTagsPaginator.ts +++ b/clients/client-acm-pca/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input), ...args); + return await client.send(new ListTagsCommand(input, ...args)); }; const makePagedRequest = async ( client: ACMPCA, diff --git a/clients/client-acm/pagination/ListCertificatesPaginator.ts b/clients/client-acm/pagination/ListCertificatesPaginator.ts index 8adc7d44acd0..fe8a979079d0 100644 --- a/clients/client-acm/pagination/ListCertificatesPaginator.ts +++ b/clients/client-acm/pagination/ListCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCertificatesCommand(input), ...args); + return await client.send(new ListCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: ACM, diff --git a/clients/client-alexa-for-business/pagination/ListBusinessReportSchedulesPaginator.ts b/clients/client-alexa-for-business/pagination/ListBusinessReportSchedulesPaginator.ts index b1736282e117..d332488b8db2 100644 --- a/clients/client-alexa-for-business/pagination/ListBusinessReportSchedulesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListBusinessReportSchedulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBusinessReportSchedulesCommand(input), ...args); + return await client.send(new ListBusinessReportSchedulesCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListConferenceProvidersPaginator.ts b/clients/client-alexa-for-business/pagination/ListConferenceProvidersPaginator.ts index cc3091b9f50a..2c06c213f6b4 100644 --- a/clients/client-alexa-for-business/pagination/ListConferenceProvidersPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListConferenceProvidersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConferenceProvidersCommand(input), ...args); + return await client.send(new ListConferenceProvidersCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListDeviceEventsPaginator.ts b/clients/client-alexa-for-business/pagination/ListDeviceEventsPaginator.ts index 8d44abece963..74e1d2724210 100644 --- a/clients/client-alexa-for-business/pagination/ListDeviceEventsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListDeviceEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeviceEventsCommand(input), ...args); + return await client.send(new ListDeviceEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListGatewayGroupsPaginator.ts b/clients/client-alexa-for-business/pagination/ListGatewayGroupsPaginator.ts index eb653c625376..895e8e2289f4 100644 --- a/clients/client-alexa-for-business/pagination/ListGatewayGroupsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListGatewayGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewayGroupsCommand(input), ...args); + return await client.send(new ListGatewayGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListGatewaysPaginator.ts b/clients/client-alexa-for-business/pagination/ListGatewaysPaginator.ts index 0be913af896c..38bbae5ec879 100644 --- a/clients/client-alexa-for-business/pagination/ListGatewaysPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewaysCommand(input), ...args); + return await client.send(new ListGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListSkillsPaginator.ts b/clients/client-alexa-for-business/pagination/ListSkillsPaginator.ts index 513ad7716286..6161663ece89 100644 --- a/clients/client-alexa-for-business/pagination/ListSkillsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListSkillsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSkillsCommand(input), ...args); + return await client.send(new ListSkillsCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListSkillsStoreCategoriesPaginator.ts b/clients/client-alexa-for-business/pagination/ListSkillsStoreCategoriesPaginator.ts index 803fb7b61d7f..cc7843f76b65 100644 --- a/clients/client-alexa-for-business/pagination/ListSkillsStoreCategoriesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListSkillsStoreCategoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSkillsStoreCategoriesCommand(input), ...args); + return await client.send(new ListSkillsStoreCategoriesCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListSkillsStoreSkillsByCategoryPaginator.ts b/clients/client-alexa-for-business/pagination/ListSkillsStoreSkillsByCategoryPaginator.ts index ab48882b4b79..905b0594f568 100644 --- a/clients/client-alexa-for-business/pagination/ListSkillsStoreSkillsByCategoryPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListSkillsStoreSkillsByCategoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSkillsStoreSkillsByCategoryCommand(input), ...args); + return await client.send(new ListSkillsStoreSkillsByCategoryCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListSmartHomeAppliancesPaginator.ts b/clients/client-alexa-for-business/pagination/ListSmartHomeAppliancesPaginator.ts index 7f3a33a19c11..a8429fb52606 100644 --- a/clients/client-alexa-for-business/pagination/ListSmartHomeAppliancesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListSmartHomeAppliancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSmartHomeAppliancesCommand(input), ...args); + return await client.send(new ListSmartHomeAppliancesCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListTagsPaginator.ts b/clients/client-alexa-for-business/pagination/ListTagsPaginator.ts index 7c99123a8a7d..0312f781fc6f 100644 --- a/clients/client-alexa-for-business/pagination/ListTagsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input), ...args); + return await client.send(new ListTagsCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchAddressBooksPaginator.ts b/clients/client-alexa-for-business/pagination/SearchAddressBooksPaginator.ts index a31fd0b8ed06..2ad0f225f8ea 100644 --- a/clients/client-alexa-for-business/pagination/SearchAddressBooksPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchAddressBooksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchAddressBooksCommand(input), ...args); + return await client.send(new SearchAddressBooksCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchContactsPaginator.ts b/clients/client-alexa-for-business/pagination/SearchContactsPaginator.ts index 971336fdd56e..1767a5c5d4d5 100644 --- a/clients/client-alexa-for-business/pagination/SearchContactsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchContactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchContactsCommand(input), ...args); + return await client.send(new SearchContactsCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchDevicesPaginator.ts b/clients/client-alexa-for-business/pagination/SearchDevicesPaginator.ts index 31eeef278a6e..865235854f89 100644 --- a/clients/client-alexa-for-business/pagination/SearchDevicesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchDevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchDevicesCommand(input), ...args); + return await client.send(new SearchDevicesCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchNetworkProfilesPaginator.ts b/clients/client-alexa-for-business/pagination/SearchNetworkProfilesPaginator.ts index c0fd3f75c21c..8b3b7dce1ed3 100644 --- a/clients/client-alexa-for-business/pagination/SearchNetworkProfilesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchNetworkProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchNetworkProfilesCommand(input), ...args); + return await client.send(new SearchNetworkProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchProfilesPaginator.ts b/clients/client-alexa-for-business/pagination/SearchProfilesPaginator.ts index d15ad233eac2..456b455993eb 100644 --- a/clients/client-alexa-for-business/pagination/SearchProfilesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchProfilesCommand(input), ...args); + return await client.send(new SearchProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchRoomsPaginator.ts b/clients/client-alexa-for-business/pagination/SearchRoomsPaginator.ts index ebb9a3b8192b..9bee4c72fb45 100644 --- a/clients/client-alexa-for-business/pagination/SearchRoomsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchRoomsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchRoomsCommand(input), ...args); + return await client.send(new SearchRoomsCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchSkillGroupsPaginator.ts b/clients/client-alexa-for-business/pagination/SearchSkillGroupsPaginator.ts index 50367f1fce58..65bb6042c125 100644 --- a/clients/client-alexa-for-business/pagination/SearchSkillGroupsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchSkillGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchSkillGroupsCommand(input), ...args); + return await client.send(new SearchSkillGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchUsersPaginator.ts b/clients/client-alexa-for-business/pagination/SearchUsersPaginator.ts index e6d9831656ee..3640a4d33aab 100644 --- a/clients/client-alexa-for-business/pagination/SearchUsersPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchUsersCommand(input), ...args); + return await client.send(new SearchUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-amplify/models/models_0.ts b/clients/client-amplify/models/models_0.ts index e3eceb8564b9..cdd84f24e27d 100644 --- a/clients/client-amplify/models/models_0.ts +++ b/clients/client-amplify/models/models_0.ts @@ -29,9 +29,14 @@ export enum Stage { */ export interface AutoBranchCreationConfig { /** - *

The environment variables for the autocreated branch.

+ *

Describes the current stage for the autocreated branch.

*/ - environmentVariables?: { [key: string]: string }; + stage?: Stage | string; + + /** + *

The framework for the autocreated branch.

+ */ + framework?: string; /** *

Enables auto building for the autocreated branch.

@@ -39,9 +44,9 @@ export interface AutoBranchCreationConfig { enableAutoBuild?: boolean; /** - *

The framework for the autocreated branch.

+ *

The environment variables for the autocreated branch.

*/ - framework?: string; + environmentVariables?: { [key: string]: string }; /** *

The basic authorization credentials for the autocreated branch.

@@ -49,22 +54,23 @@ export interface AutoBranchCreationConfig { basicAuthCredentials?: string; /** - *

Describes the current stage for the autocreated branch.

+ *

Enables basic authorization for the autocreated branch.

*/ - stage?: Stage | string; + enableBasicAuth?: boolean; /** - *

The build specification (build spec) for the autocreated branch.

+ *

Enables performance mode for the branch.

+ *

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

*/ - buildSpec?: string; + enablePerformanceMode?: boolean; /** - *

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.

+ *

The build specification (build spec) for the autocreated branch.

*/ - enablePerformanceMode?: boolean; + buildSpec?: string; /** - *

Enables pull request preview for the autocreated branch.

+ *

Enables pull request previews for the autocreated branch.

*/ enablePullRequestPreview?: boolean; @@ -72,11 +78,6 @@ export interface AutoBranchCreationConfig { *

The Amplify environment name for the pull request.

*/ pullRequestEnvironmentName?: string; - - /** - *

Enables basic authorization for the autocreated branch.

- */ - enableBasicAuth?: boolean; } export namespace AutoBranchCreationConfig { @@ -91,14 +92,14 @@ export namespace AutoBranchCreationConfig { */ export interface CustomRule { /** - *

The target pattern for a URL rewrite or redirect rule.

+ *

The source pattern for a URL rewrite or redirect rule.

*/ - target: string | undefined; + source: string | undefined; /** - *

The condition for a URL rewrite or redirect rule, such as a country code.

+ *

The target pattern for a URL rewrite or redirect rule.

*/ - condition?: string; + target: string | undefined; /** *

The status code for a URL rewrite or redirect rule.

@@ -129,9 +130,9 @@ export interface CustomRule { status?: string; /** - *

The source pattern for a URL rewrite or redirect rule.

+ *

The condition for a URL rewrite or redirect rule, such as a country code.

*/ - source: string | undefined; + condition?: string; } export namespace CustomRule { @@ -149,26 +150,37 @@ export enum Platform { */ export interface CreateAppRequest { /** - *

Enables automated branch creation for the Amplify app.

+ *

The name for an Amplify app.

*/ - enableAutoBranchCreation?: boolean; + name: string | undefined; /** - *

Enables basic authorization for an Amplify app. This will apply to all branches that - * are part of this app.

+ *

The description for an Amplify app.

*/ - enableBasicAuth?: boolean; + description?: string; /** - *

The description for an Amplify app.

+ *

The repository for an Amplify app.

*/ - description?: string; + repository?: string; /** *

The platform or framework for an Amplify app.

*/ platform?: Platform | string; + /** + *

The AWS Identity and Access Management (IAM) service role for an Amplify app.

+ */ + iamServiceRoleArn?: string; + + /** + *

The OAuth token for a third-party source control system for an Amplify app. The OAuth + * token is used to create a webhook and a read-only deploy key. The OAuth token is not + * stored.

+ */ + oauthToken?: string; + /** *

The personal access token for a third-party source control system for an Amplify app. * The personal access token is used to create a webhook and a read-only deploy key. The @@ -177,9 +189,9 @@ export interface CreateAppRequest { accessToken?: string; /** - *

The repository for an Amplify app.

+ *

The environment variables map for an Amplify app.

*/ - repository?: string; + environmentVariables?: { [key: string]: string }; /** *

Enables the auto building of branches for an Amplify app.

@@ -187,21 +199,21 @@ export interface CreateAppRequest { enableBranchAutoBuild?: boolean; /** - *

The tag for an Amplify app.

+ *

Automatically disconnects a branch in the Amplify Console when you delete a branch + * from your Git repository.

*/ - tags?: { [key: string]: string }; + enableBranchAutoDeletion?: boolean; /** - *

The OAuth token for a third-party source control system for an Amplify app. The OAuth - * token is used to create a webhook and a read-only deploy key. The OAuth token is not - * stored.

+ *

Enables basic authorization for an Amplify app. This will apply to all branches that + * are part of this app.

*/ - oauthToken?: string; + enableBasicAuth?: boolean; /** - *

The automated branch creation glob patterns for the Amplify app.

+ *

The credentials for basic authorization for an Amplify app.

*/ - autoBranchCreationPatterns?: string[]; + basicAuthCredentials?: string; /** *

The custom rewrite and redirect rules for an Amplify app.

@@ -209,14 +221,9 @@ export interface CreateAppRequest { customRules?: CustomRule[]; /** - *

The environment variables map for an Amplify app.

- */ - environmentVariables?: { [key: string]: string }; - - /** - *

The AWS Identity and Access Management (IAM) service role for an Amplify app.

+ *

The tag for an Amplify app.

*/ - iamServiceRoleArn?: string; + tags?: { [key: string]: string }; /** *

The build specification (build spec) for an Amplify app.

@@ -224,36 +231,35 @@ export interface CreateAppRequest { buildSpec?: string; /** - *

The automated branch creation configuration for the Amplify app.

+ *

The custom HTTP headers for an Amplify app.

*/ - autoBranchCreationConfig?: AutoBranchCreationConfig; + customHeaders?: string; /** - *

The credentials for basic authorization for an Amplify app.

+ *

Enables automated branch creation for an Amplify app.

*/ - basicAuthCredentials?: string; + enableAutoBranchCreation?: boolean; /** - *

The name for the Amplify app.

+ *

The automated branch creation glob patterns for an Amplify app.

*/ - name: string | undefined; + autoBranchCreationPatterns?: string[]; /** - *

Automatically disconnects a branch in the Amplify Console when you delete a branch - * from your Git repository.

+ *

The automated branch creation configuration for an Amplify app.

*/ - enableBranchAutoDeletion?: boolean; + autoBranchCreationConfig?: AutoBranchCreationConfig; } export namespace CreateAppRequest { export const filterSensitiveLog = (obj: CreateAppRequest): any => ({ ...obj, - ...(obj.accessToken && { accessToken: SENSITIVE_STRING }), ...(obj.oauthToken && { oauthToken: SENSITIVE_STRING }), + ...(obj.accessToken && { accessToken: SENSITIVE_STRING }), + ...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }), ...(obj.autoBranchCreationConfig && { autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig), }), - ...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }), }); } @@ -261,11 +267,6 @@ export namespace CreateAppRequest { *

Describes the information about a production branch for an Amplify app.

*/ export interface ProductionBranch { - /** - *

The branch name for the production branch.

- */ - branchName?: string; - /** *

The last deploy time of the production branch.

*/ @@ -280,6 +281,11 @@ export interface ProductionBranch { *

The thumbnail URL for the production branch.

*/ thumbnailUrl?: string; + + /** + *

The branch name for the production branch.

+ */ + branchName?: string; } export namespace ProductionBranch { @@ -299,85 +305,91 @@ export interface App { appId: string | undefined; /** - *

Describes the automated branch creation glob patterns for the Amplify app.

+ *

The Amazon Resource Name (ARN) of the Amplify app.

*/ - autoBranchCreationPatterns?: string[]; + appArn: string | undefined; /** - *

Describes the custom redirect and rewrite rules for the Amplify app.

+ *

The name for the Amplify app.

*/ - customRules?: CustomRule[]; + name: string | undefined; /** - *

The environment variables for the Amplify app.

+ *

The tag for the Amplify app.

*/ - environmentVariables: { [key: string]: string } | undefined; + tags?: { [key: string]: string }; /** - *

Describes the automated branch creation configuration for the Amplify app.

+ *

The description for the Amplify app.

*/ - autoBranchCreationConfig?: AutoBranchCreationConfig; + description: string | undefined; /** - *

The AWS Identity and Access Management (IAM) service role for the Amazon Resource - * Name (ARN) of the Amplify app.

+ *

The repository for the Amplify app.

*/ - iamServiceRoleArn?: string; + repository: string | undefined; /** - *

Enables automated branch creation for the Amplify app.

+ *

The platform for the Amplify app.

*/ - enableAutoBranchCreation?: boolean; + platform: Platform | string | undefined; /** - *

The default domain for the Amplify app.

+ *

Creates a date and time for the Amplify app.

*/ - defaultDomain: string | undefined; + createTime: Date | undefined; /** - *

Enables basic authorization for the Amplify app's branches.

+ *

Updates the date and time for the Amplify app.

*/ - enableBasicAuth: boolean | undefined; + updateTime: Date | undefined; /** - *

Enables the auto-building of branches for the Amplify app.

+ *

The AWS Identity and Access Management (IAM) service role for the Amazon Resource + * Name (ARN) of the Amplify app.

*/ - enableBranchAutoBuild: boolean | undefined; + iamServiceRoleArn?: string; /** - *

The repository for the Amplify app.

+ *

The environment variables for the Amplify app.

*/ - repository: string | undefined; + environmentVariables: { [key: string]: string } | undefined; /** - *

The platform for the Amplify app.

+ *

The default domain for the Amplify app.

*/ - platform: Platform | string | undefined; + defaultDomain: string | undefined; /** - *

The description for the Amplify app.

+ *

Enables the auto-building of branches for the Amplify app.

*/ - description: string | undefined; + enableBranchAutoBuild: boolean | undefined; /** - *

Updates the date and time for the Amplify app.

+ *

Automatically disconnect a branch in the Amplify Console when you delete a branch + * from your Git repository.

*/ - updateTime: Date | undefined; + enableBranchAutoDeletion?: boolean; /** - *

The tag for the Amplify app.

+ *

Enables basic authorization for the Amplify app's branches.

*/ - tags?: { [key: string]: string }; + enableBasicAuth: boolean | undefined; /** - *

Describes the information about a production branch of the Amplify app.

+ *

The basic authorization credentials for branches for the Amplify app.

*/ - productionBranch?: ProductionBranch; + basicAuthCredentials?: string; /** - *

The Amazon Resource Name (ARN) of the Amplify app.

+ *

Describes the custom redirect and rewrite rules for the Amplify app.

*/ - appArn: string | undefined; + customRules?: CustomRule[]; + + /** + *

Describes the information about a production branch of the Amplify app.

+ */ + productionBranch?: ProductionBranch; /** *

Describes the content of the build specification (build spec) for the Amplify app. @@ -386,34 +398,33 @@ export interface App { buildSpec?: string; /** - *

The basic authorization credentials for branches for the Amplify app.

+ *

Describes the custom HTTP headers for the Amplify app.

*/ - basicAuthCredentials?: string; + customHeaders?: string; /** - *

The name for the Amplify app.

+ *

Enables automated branch creation for the Amplify app.

*/ - name: string | undefined; + enableAutoBranchCreation?: boolean; /** - *

Automatically disconnect a branch in the Amplify Console when you delete a branch - * from your Git repository.

+ *

Describes the automated branch creation glob patterns for the Amplify app.

*/ - enableBranchAutoDeletion?: boolean; + autoBranchCreationPatterns?: string[]; /** - *

Creates a date and time for the Amplify app.

+ *

Describes the automated branch creation configuration for the Amplify app.

*/ - createTime: Date | undefined; + autoBranchCreationConfig?: AutoBranchCreationConfig; } export namespace App { export const filterSensitiveLog = (obj: App): any => ({ ...obj, + ...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }), ...(obj.autoBranchCreationConfig && { autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig), }), - ...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }), }); } @@ -507,14 +518,14 @@ export interface CreateBackendEnvironmentRequest { environmentName: string | undefined; /** - *

The name of deployment artifacts.

+ *

The AWS CloudFormation stack name of a backend environment.

*/ - deploymentArtifacts?: string; + stackName?: string; /** - *

The AWS CloudFormation stack name of a backend environment.

+ *

The name of deployment artifacts.

*/ - stackName?: string; + deploymentArtifacts?: string; } export namespace CreateBackendEnvironmentRequest { @@ -527,12 +538,6 @@ export namespace CreateBackendEnvironmentRequest { *

Describes the backend environment for an Amplify app.

*/ export interface BackendEnvironment { - /** - *

The creation date and time for a backend environment that is part of an Amplify app. - *

- */ - createTime: Date | undefined; - /** *

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify * app.

@@ -540,10 +545,9 @@ export interface BackendEnvironment { backendEnvironmentArn: string | undefined; /** - *

The last updated date and time for a backend environment that is part of an Amplify - * app.

+ *

The name for a backend environment that is part of an Amplify app.

*/ - updateTime: Date | undefined; + environmentName: string | undefined; /** *

The AWS CloudFormation stack name of a backend environment.

@@ -551,14 +555,21 @@ export interface BackendEnvironment { stackName?: string; /** - *

The name for a backend environment that is part of an Amplify app.

+ *

The name of deployment artifacts.

*/ - environmentName: string | undefined; + deploymentArtifacts?: string; /** - *

The name of deployment artifacts.

+ *

The creation date and time for a backend environment that is part of an Amplify app. + *

*/ - deploymentArtifacts?: string; + createTime: Date | undefined; + + /** + *

The last updated date and time for a backend environment that is part of an Amplify + * app.

+ */ + updateTime: Date | undefined; } export namespace BackendEnvironment { @@ -603,19 +614,19 @@ export namespace NotFoundException { */ export interface CreateBranchRequest { /** - *

Enables notifications for the branch.

+ *

The unique ID for an Amplify app.

*/ - enableNotification?: boolean; + appId: string | undefined; /** - *

Enables basic authorization for the branch.

+ *

The name for the branch.

*/ - enableBasicAuth?: boolean; + branchName: string | undefined; /** - *

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.

+ *

The description for the branch.

*/ - enablePerformanceMode?: boolean; + description?: string; /** *

Describes the current stage for the branch.

@@ -623,55 +634,45 @@ export interface CreateBranchRequest { stage?: Stage | string; /** - *

Enables pull request preview for this branch.

+ *

The framework for the branch.

*/ - enablePullRequestPreview?: boolean; + framework?: string; /** - *

The environment variables for the branch.

- */ - environmentVariables?: { [key: string]: string }; - - /** - *

The unique ID for an Amplify app.

- */ - appId: string | undefined; - - /** - *

The content Time To Live (TTL) for the website in seconds.

+ *

Enables notifications for the branch.

*/ - ttl?: string; + enableNotification?: boolean; /** - *

The tag for the branch.

+ *

Enables auto building for the branch.

*/ - tags?: { [key: string]: string }; + enableAutoBuild?: boolean; /** - *

The framework for the branch.

+ *

The environment variables for the branch.

*/ - framework?: string; + environmentVariables?: { [key: string]: string }; /** - *

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify - * app.

+ *

The basic authorization credentials for the branch.

*/ - backendEnvironmentArn?: string; + basicAuthCredentials?: string; /** - *

The description for the branch.

+ *

Enables basic authorization for the branch.

*/ - description?: string; + enableBasicAuth?: boolean; /** - *

The basic authorization credentials for the branch.

+ *

Enables performance mode for the branch.

+ *

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

*/ - basicAuthCredentials?: string; + enablePerformanceMode?: boolean; /** - *

The name for the branch.

+ *

The tag for the branch.

*/ - branchName: string | undefined; + tags?: { [key: string]: string }; /** *

The build specification (build spec) for the branch.

@@ -679,19 +680,30 @@ export interface CreateBranchRequest { buildSpec?: string; /** - *

Enables auto building for the branch.

+ *

The content Time To Live (TTL) for the website in seconds.

*/ - enableAutoBuild?: boolean; + ttl?: string; /** *

The display name for a branch. This is used as the default domain prefix.

*/ displayName?: string; + /** + *

Enables pull request previews for this branch.

+ */ + enablePullRequestPreview?: boolean; + /** *

The Amplify environment name for the pull request.

*/ pullRequestEnvironmentName?: string; + + /** + *

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify + * app.

+ */ + backendEnvironmentArn?: string; } export namespace CreateBranchRequest { @@ -706,80 +718,79 @@ export namespace CreateBranchRequest { */ export interface Branch { /** - *

Enables auto-building on push for a branch of an Amplify app.

+ *

The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.

*/ - enableAutoBuild: boolean | undefined; + branchArn: string | undefined; /** - *

The tag for the branch of an Amplify app.

+ *

The name for the branch that is part of an Amplify app.

*/ - tags?: { [key: string]: string }; + branchName: string | undefined; /** - *

The total number of jobs that are part of an Amplify app.

+ *

The description for the branch that is part of an Amplify app.

*/ - totalNumberOfJobs: string | undefined; + description: string | undefined; /** - *

The source branch if the branch is a pull request branch.

+ *

The tag for the branch of an Amplify app.

*/ - sourceBranch?: string; + tags?: { [key: string]: string }; /** - *

The thumbnail URL for the branch of an Amplify app.

+ *

The current stage for the branch that is part of an Amplify app.

*/ - thumbnailUrl?: string; + stage: Stage | string | undefined; /** - *

The Amplify environment name for the pull request.

+ *

The display name for the branch. This is used as the default domain prefix.

*/ - pullRequestEnvironmentName?: string; + displayName: string | undefined; /** - *

The destination branch if the branch is a pull request branch.

+ *

Enables notifications for a branch that is part of an Amplify app.

*/ - destinationBranch?: string; + enableNotification: boolean | undefined; /** - *

The ID of the active job for a branch of an Amplify app.

+ *

The creation date and time for a branch that is part of an Amplify app.

*/ - activeJobId: string | undefined; + createTime: Date | undefined; /** - *

The current stage for the branch that is part of an Amplify app.

+ *

The last updated date and time for a branch that is part of an Amplify app.

*/ - stage: Stage | string | undefined; + updateTime: Date | undefined; /** - *

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.

+ *

The environment variables specific to a branch of an Amplify app.

*/ - enablePerformanceMode?: boolean; + environmentVariables: { [key: string]: string } | undefined; /** - *

A list of custom resources that are linked to this branch.

+ *

Enables auto-building on push for a branch of an Amplify app.

*/ - associatedResources?: string[]; + enableAutoBuild: boolean | undefined; /** - *

The creation date and time for a branch that is part of an Amplify app.

+ *

The custom domains for a branch of an Amplify app.

*/ - createTime: Date | undefined; + customDomains: string[] | undefined; /** - *

The build specification (build spec) content for the branch of an Amplify app. - *

+ *

The framework for a branch of an Amplify app.

*/ - buildSpec?: string; + framework: string | undefined; /** - *

The last updated date and time for a branch that is part of an Amplify app.

+ *

The ID of the active job for a branch of an Amplify app.

*/ - updateTime: Date | undefined; + activeJobId: string | undefined; /** - *

The framework for a branch of an Amplify app.

+ *

The total number of jobs that are part of an Amplify app.

*/ - framework: string | undefined; + totalNumberOfJobs: string | undefined; /** *

Enables basic authorization for a branch of an Amplify app.

@@ -787,14 +798,15 @@ export interface Branch { enableBasicAuth: boolean | undefined; /** - *

The display name for the branch. This is used as the default domain prefix.

+ *

Enables performance mode for the branch.

+ *

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

*/ - displayName: string | undefined; + enablePerformanceMode?: boolean; /** - *

The description for the branch that is part of an Amplify app.

+ *

The thumbnail URL for the branch of an Amplify app.

*/ - description: string | undefined; + thumbnailUrl?: string; /** *

The basic authorization credentials for a branch of an Amplify app.

@@ -802,39 +814,40 @@ export interface Branch { basicAuthCredentials?: string; /** - *

The custom domains for a branch of an Amplify app.

+ *

The build specification (build spec) content for the branch of an Amplify app. + *

*/ - customDomains: string[] | undefined; + buildSpec?: string; /** - *

The environment variables specific to a branch of an Amplify app.

+ *

The content Time to Live (TTL) for the website in seconds.

*/ - environmentVariables: { [key: string]: string } | undefined; + ttl: string | undefined; /** - *

Enables notifications for a branch that is part of an Amplify app.

+ *

A list of custom resources that are linked to this branch.

*/ - enableNotification: boolean | undefined; + associatedResources?: string[]; /** - *

Enables pull request preview for the branch.

+ *

Enables pull request previews for the branch.

*/ enablePullRequestPreview: boolean | undefined; /** - *

The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.

+ *

The Amplify environment name for the pull request.

*/ - branchArn: string | undefined; + pullRequestEnvironmentName?: string; /** - *

The name for the branch that is part of an Amplify app.

+ *

The destination branch if the branch is a pull request branch.

*/ - branchName: string | undefined; + destinationBranch?: string; /** - *

The content Time to Live (TTL) for the website in seconds.

+ *

The source branch if the branch is a pull request branch.

*/ - ttl: string | undefined; + sourceBranch?: string; /** *

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify @@ -906,17 +919,17 @@ export interface CreateDeploymentResult { */ jobId?: string; - /** - *

When the fileMap argument is not provided in the request, this - * zipUploadUrl is returned.

- */ - zipUploadUrl: string | undefined; - /** *

When the fileMap argument is provided in the request, * fileUploadUrls will contain a map of file names to upload URLs.

*/ fileUploadUrls: { [key: string]: string } | undefined; + + /** + *

When the fileMap argument is not provided in the request, this + * zipUploadUrl is returned.

+ */ + zipUploadUrl: string | undefined; } export namespace CreateDeploymentResult { @@ -930,14 +943,14 @@ export namespace CreateDeploymentResult { */ export interface SubDomainSetting { /** - *

The branch name setting for the subdomain.

+ *

The prefix setting for the subdomain.

*/ - branchName: string | undefined; + prefix: string | undefined; /** - *

The prefix setting for the subdomain.

+ *

The branch name setting for the subdomain.

*/ - prefix: string | undefined; + branchName: string | undefined; } export namespace SubDomainSetting { @@ -951,29 +964,29 @@ export namespace SubDomainSetting { */ export interface CreateDomainAssociationRequest { /** - *

The domain name for the domain association.

+ *

The unique ID for an Amplify app.

*/ - domainName: string | undefined; + appId: string | undefined; /** - *

The setting for the subdomain.

+ *

The domain name for the domain association.

*/ - subDomainSettings: SubDomainSetting[] | undefined; + domainName: string | undefined; /** - *

Sets the branch patterns for automatic subdomain creation.

+ *

Enables the automated creation of subdomains for branches.

*/ - autoSubDomainCreationPatterns?: string[]; + enableAutoSubDomain?: boolean; /** - *

The unique ID for an Amplify app.

+ *

The setting for the subdomain.

*/ - appId: string | undefined; + subDomainSettings: SubDomainSetting[] | undefined; /** - *

Enables the automated creation of subdomains for branches.

+ *

Sets the branch patterns for automatic subdomain creation.

*/ - enableAutoSubDomain?: boolean; + autoSubDomainCreationPatterns?: string[]; /** *

The required AWS Identity and Access Management (IAM) service role for the Amazon @@ -1031,14 +1044,14 @@ export namespace SubDomain { */ export interface DomainAssociation { /** - *

The DNS record for certificate verification.

+ *

The Amazon Resource Name (ARN) for the domain association.

*/ - certificateVerificationDNSRecord?: string; + domainAssociationArn: string | undefined; /** - *

The current status of the domain association.

+ *

The name of the domain.

*/ - domainStatus: DomainStatus | string | undefined; + domainName: string | undefined; /** *

Enables the automated creation of subdomains for branches.

@@ -1046,35 +1059,35 @@ export interface DomainAssociation { enableAutoSubDomain: boolean | undefined; /** - *

The required AWS Identity and Access Management (IAM) service role for the Amazon - * Resource Name (ARN) for automatically creating subdomains.

+ *

Sets branch patterns for automatic subdomain creation.

*/ - autoSubDomainIAMRole?: string; + autoSubDomainCreationPatterns?: string[]; /** - *

The subdomains for the domain association.

+ *

The required AWS Identity and Access Management (IAM) service role for the Amazon + * Resource Name (ARN) for automatically creating subdomains.

*/ - subDomains: SubDomain[] | undefined; + autoSubDomainIAMRole?: string; /** - *

The Amazon Resource Name (ARN) for the domain association.

+ *

The current status of the domain association.

*/ - domainAssociationArn: string | undefined; + domainStatus: DomainStatus | string | undefined; /** - *

The name of the domain.

+ *

The reason for the current status of the domain association.

*/ - domainName: string | undefined; + statusReason: string | undefined; /** - *

The reason for the current status of the domain association.

+ *

The DNS record for certificate verification.

*/ - statusReason: string | undefined; + certificateVerificationDNSRecord?: string; /** - *

Sets branch patterns for automatic subdomain creation.

+ *

The subdomains for the domain association.

*/ - autoSubDomainCreationPatterns?: string[]; + subDomains: SubDomain[] | undefined; } export namespace DomainAssociation { @@ -1110,14 +1123,14 @@ export interface CreateWebhookRequest { appId: string | undefined; /** - *

The description for a webhook.

+ *

The name for a branch that is part of an Amplify app.

*/ - description?: string; + branchName: string | undefined; /** - *

The name for a branch that is part of an Amplify app.

+ *

The description for a webhook.

*/ - branchName: string | undefined; + description?: string; } export namespace CreateWebhookRequest { @@ -1156,14 +1169,14 @@ export interface Webhook { description: string | undefined; /** - *

Updates the date and time for a webhook.

+ *

The create date and time for a webhook.

*/ - updateTime: Date | undefined; + createTime: Date | undefined; /** - *

The create date and time for a webhook.

+ *

Updates the date and time for a webhook.

*/ - createTime: Date | undefined; + updateTime: Date | undefined; } export namespace Webhook { @@ -1264,14 +1277,14 @@ export namespace DeleteBackendEnvironmentResult { */ export interface DeleteBranchRequest { /** - *

The name for the branch.

+ *

The unique ID for an Amplify app.

*/ - branchName: string | undefined; + appId: string | undefined; /** - *

The unique ID for an Amplify app.

+ *

The name for the branch.

*/ - appId: string | undefined; + branchName: string | undefined; } export namespace DeleteBranchRequest { @@ -1302,14 +1315,14 @@ export namespace DeleteBranchResult { */ export interface DeleteDomainAssociationRequest { /** - *

The name of the domain.

+ *

The unique id for an Amplify app.

*/ - domainName: string | undefined; + appId: string | undefined; /** - *

The unique id for an Amplify app.

+ *

The name of the domain.

*/ - appId: string | undefined; + domainName: string | undefined; } export namespace DeleteDomainAssociationRequest { @@ -1336,18 +1349,18 @@ export namespace DeleteDomainAssociationResult { *

The request structure for the delete job request.

*/ export interface DeleteJobRequest { - /** - *

The name for the branch, for the job.

- */ - branchName: string | undefined; - /** *

The unique ID for an Amplify app.

*/ appId: string | undefined; /** - *

The unique ID for the job.

+ *

The name for the branch, for the job.

+ */ + branchName: string | undefined; + + /** + *

The unique ID for the job.

*/ jobId: string | undefined; } @@ -1385,19 +1398,14 @@ export interface JobSummary { jobArn: string | undefined; /** - *

The end date and time for the job.

- */ - endTime?: Date; - - /** - *

The current status for the job.

+ *

The unique ID for the job.

*/ - status: JobStatus | string | undefined; + jobId: string | undefined; /** - *

The start date and time for the job.

+ *

The commit ID from a third-party repository provider for the job.

*/ - startTime: Date | undefined; + commitId: string | undefined; /** *

The commit message from a third-party repository provider for the job.

@@ -1410,9 +1418,19 @@ export interface JobSummary { commitTime: Date | undefined; /** - *

The unique ID for the job.

+ *

The start date and time for the job.

*/ - jobId: string | undefined; + startTime: Date | undefined; + + /** + *

The current status for the job.

+ */ + status: JobStatus | string | undefined; + + /** + *

The end date and time for the job.

+ */ + endTime?: Date; /** *

The type for the job. If the value is RELEASE, the job was manually @@ -1422,11 +1440,6 @@ export interface JobSummary { * webhooks.

*/ jobType: JobType | string | undefined; - - /** - *

The commit ID from a third-party repository provider for the job.

- */ - commitId: string | undefined; } export namespace JobSummary { @@ -1605,14 +1618,14 @@ export namespace GetArtifactUrlResult { */ export interface GetBackendEnvironmentRequest { /** - *

The name for the backend environment.

+ *

The unique id for an Amplify app.

*/ - environmentName: string | undefined; + appId: string | undefined; /** - *

The unique id for an Amplify app.

+ *

The name for the backend environment.

*/ - appId: string | undefined; + environmentName: string | undefined; } export namespace GetBackendEnvironmentRequest { @@ -1741,14 +1754,14 @@ export namespace GetJobRequest { */ export interface Step { /** - *

The URL to the logs for the execution step.

+ *

The name of the execution step.

*/ - logUrl?: string; + stepName: string | undefined; /** - *

The URL to the test configuration for the execution step.

+ *

The start date and time of the execution step.

*/ - testConfigUrl?: string; + startTime: Date | undefined; /** *

The status of the execution step.

@@ -1761,9 +1774,14 @@ export interface Step { endTime: Date | undefined; /** - *

The list of screenshot URLs for the execution step, if relevant.

+ *

The URL to the logs for the execution step.

*/ - screenshots?: { [key: string]: string }; + logUrl?: string; + + /** + *

The URL to the artifact for the execution step.

+ */ + artifactsUrl?: string; /** *

The URL to the test artifact for the execution step.

@@ -1771,15 +1789,14 @@ export interface Step { testArtifactsUrl?: string; /** - *

The start date and time of the execution step.

+ *

The URL to the test configuration for the execution step.

*/ - startTime: Date | undefined; + testConfigUrl?: string; /** - *

The context for the current step. Includes a build image if the step is build. - *

+ *

The list of screenshot URLs for the execution step, if relevant.

*/ - context?: string; + screenshots?: { [key: string]: string }; /** *

The reason for the current step status.

@@ -1787,14 +1804,10 @@ export interface Step { statusReason?: string; /** - *

The URL to the artifact for the execution step.

- */ - artifactsUrl?: string; - - /** - *

The name of the execution step.

+ *

The context for the current step. Includes a build image if the step is build. + *

*/ - stepName: string | undefined; + context?: string; } export namespace Step { @@ -1873,16 +1886,16 @@ export namespace GetWebhookResult { *

The request structure for the list apps request.

*/ export interface ListAppsRequest { - /** - *

The maximum number of records to list in a single response.

- */ - maxResults?: number; - /** *

A pagination token. If non-null, the pagination token is returned in a result. Pass * its value in another request to retrieve more entries.

*/ nextToken?: string; + + /** + *

The maximum number of records to list in a single response.

+ */ + maxResults?: number; } export namespace ListAppsRequest { @@ -1920,11 +1933,9 @@ export namespace ListAppsResult { */ export interface ListArtifactsRequest { /** - *

A pagination token. Set to null to start listing artifacts from start. If a non-null - * pagination token is returned in a result, pass its value in here to list more artifacts. - *

+ *

The unique ID for an Amplify app.

*/ - nextToken?: string; + appId: string | undefined; /** *

The name of a branch that is part of an Amplify app.

@@ -1932,19 +1943,21 @@ export interface ListArtifactsRequest { branchName: string | undefined; /** - *

The maximum number of records to list in a single response.

+ *

The unique ID for a job.

*/ - maxResults?: number; + jobId: string | undefined; /** - *

The unique ID for a job.

+ *

A pagination token. Set to null to start listing artifacts from start. If a non-null + * pagination token is returned in a result, pass its value in here to list more artifacts. + *

*/ - jobId: string | undefined; + nextToken?: string; /** - *

The unique ID for an Amplify app.

+ *

The maximum number of records to list in a single response.

*/ - appId: string | undefined; + maxResults?: number; } export namespace ListArtifactsRequest { @@ -1958,14 +1971,14 @@ export namespace ListArtifactsRequest { */ export interface Artifact { /** - *

The unique ID for the artifact.

+ *

The file name for the artifact.

*/ - artifactId: string | undefined; + artifactFileName: string | undefined; /** - *

The file name for the artifact.

+ *

The unique ID for the artifact.

*/ - artifactFileName: string | undefined; + artifactId: string | undefined; } export namespace Artifact { @@ -2001,26 +2014,26 @@ export namespace ListArtifactsResult { */ export interface ListBackendEnvironmentsRequest { /** - *

A pagination token. Set to null to start listing backend environments from the start. - * If a non-null pagination token is returned in a result, pass its value in here to list - * more backend environments.

+ *

The unique ID for an Amplify app.

*/ - nextToken?: string; + appId: string | undefined; /** - *

The unique ID for an Amplify app.

+ *

The name of the backend environment

*/ - appId: string | undefined; + environmentName?: string; /** - *

The maximum number of records to list in a single response.

+ *

A pagination token. Set to null to start listing backend environments from the start. + * If a non-null pagination token is returned in a result, pass its value in here to list + * more backend environments.

*/ - maxResults?: number; + nextToken?: string; /** - *

The name of the backend environment

+ *

The maximum number of records to list in a single response.

*/ - environmentName?: string; + maxResults?: number; } export namespace ListBackendEnvironmentsRequest { @@ -2034,15 +2047,15 @@ export namespace ListBackendEnvironmentsRequest { */ export interface ListBackendEnvironmentsResult { /** - *

A pagination token. If a non-null pagination token is returned in a result, pass its - * value in another request to retrieve more entries.

+ *

The list of backend environments for an Amplify app.

*/ - nextToken?: string; + backendEnvironments: BackendEnvironment[] | undefined; /** - *

The list of backend environments for an Amplify app.

+ *

A pagination token. If a non-null pagination token is returned in a result, pass its + * value in another request to retrieve more entries.

*/ - backendEnvironments: BackendEnvironment[] | undefined; + nextToken?: string; } export namespace ListBackendEnvironmentsResult { @@ -2055,6 +2068,11 @@ export namespace ListBackendEnvironmentsResult { *

The request structure for the list branches request.

*/ export interface ListBranchesRequest { + /** + *

The unique ID for an Amplify app.

+ */ + appId: string | undefined; + /** *

A pagination token. Set to null to start listing branches from the start. If a * non-null pagination token is returned in a result, pass its value in here to list more @@ -2066,11 +2084,6 @@ export interface ListBranchesRequest { *

The maximum number of records to list in a single response.

*/ maxResults?: number; - - /** - *

The unique ID for an Amplify app.

- */ - appId: string | undefined; } export namespace ListBranchesRequest { @@ -2111,17 +2124,17 @@ export interface ListDomainAssociationsRequest { */ appId: string | undefined; - /** - *

The maximum number of records to list in a single response.

- */ - maxResults?: number; - /** *

A pagination token. Set to null to start listing apps from the start. If non-null, a * pagination token is returned in a result. Pass its value in here to list more projects. *

*/ nextToken?: string; + + /** + *

The maximum number of records to list in a single response.

+ */ + maxResults?: number; } export namespace ListDomainAssociationsRequest { @@ -2161,6 +2174,11 @@ export interface ListJobsRequest { */ appId: string | undefined; + /** + *

The name for a branch.

+ */ + branchName: string | undefined; + /** *

A pagination token. Set to null to start listing steps from the start. If a non-null * pagination token is returned in a result, pass its value in here to list more steps. @@ -2172,11 +2190,6 @@ export interface ListJobsRequest { *

The maximum number of records to list in a single response.

*/ maxResults?: number; - - /** - *

The name for a branch.

- */ - branchName: string | undefined; } export namespace ListJobsRequest { @@ -2190,15 +2203,15 @@ export namespace ListJobsRequest { */ export interface ListJobsResult { /** - *

A pagination token. If non-null the pagination token is returned in a result. Pass - * its value in another request to retrieve more entries.

+ *

The result structure for the list job result request.

*/ - nextToken?: string; + jobSummaries: JobSummary[] | undefined; /** - *

The result structure for the list job result request.

+ *

A pagination token. If non-null the pagination token is returned in a result. Pass + * its value in another request to retrieve more entries.

*/ - jobSummaries: JobSummary[] | undefined; + nextToken?: string; } export namespace ListJobsResult { @@ -2245,8 +2258,8 @@ export namespace ListTagsForResourceResponse { export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { name: "ResourceNotFoundException"; $fault: "client"; - message: string | undefined; code: string | undefined; + message: string | undefined; } export namespace ResourceNotFoundException { @@ -2259,11 +2272,6 @@ export namespace ResourceNotFoundException { *

The request structure for the list webhooks request.

*/ export interface ListWebhooksRequest { - /** - *

The maximum number of records to list in a single response.

- */ - maxResults?: number; - /** *

The unique ID for an Amplify app.

*/ @@ -2275,6 +2283,11 @@ export interface ListWebhooksRequest { * more webhooks.

*/ nextToken?: string; + + /** + *

The maximum number of records to list in a single response.

+ */ + maxResults?: number; } export namespace ListWebhooksRequest { @@ -2288,15 +2301,15 @@ export namespace ListWebhooksRequest { */ export interface ListWebhooksResult { /** - *

A pagination token. If non-null, the pagination token is returned in a result. Pass - * its value in another request to retrieve more entries.

+ *

A list of webhooks.

*/ - nextToken?: string; + webhooks: Webhook[] | undefined; /** - *

A list of webhooks.

+ *

A pagination token. If non-null, the pagination token is returned in a result. Pass + * its value in another request to retrieve more entries.

*/ - webhooks: Webhook[] | undefined; + nextToken?: string; } export namespace ListWebhooksResult { @@ -2310,26 +2323,26 @@ export namespace ListWebhooksResult { */ export interface StartDeploymentRequest { /** - *

The name for the branch, for the job.

+ *

The unique ID for an Amplify app.

*/ - branchName: string | undefined; + appId: string | undefined; /** - *

The source URL for this deployment, used when calling start deployment without create - * deployment. The source URL can be any HTTP GET URL that is publicly accessible and - * downloads a single .zip file.

+ *

The name for the branch, for the job.

*/ - sourceUrl?: string; + branchName: string | undefined; /** - *

The unique ID for an Amplify app.

+ *

The job ID for this deployment, generated by the create deployment request.

*/ - appId: string | undefined; + jobId?: string; /** - *

The job ID for this deployment, generated by the create deployment request.

+ *

The source URL for this deployment, used when calling start deployment without create + * deployment. The source URL can be any HTTP GET URL that is publicly accessible and + * downloads a single .zip file.

*/ - jobId?: string; + sourceUrl?: string; } export namespace StartDeploymentRequest { @@ -2359,49 +2372,49 @@ export namespace StartDeploymentResult { */ export interface StartJobRequest { /** - *

The commit message from a third-party repository provider for the job.

+ *

The unique ID for an Amplify app.

*/ - commitMessage?: string; + appId: string | undefined; /** - *

A descriptive reason for starting this job.

+ *

The branch name for the job.

*/ - jobReason?: string; + branchName: string | undefined; /** - *

The commit ID from a third-party repository provider for the job.

+ *

The unique ID for an existing job. This is required if the value of + * jobType is RETRY.

*/ - commitId?: string; + jobId?: string; /** - *

The commit date and time for the job.

+ *

Describes the type for the job. The job type RELEASE starts a new job + * with the latest change from the specified branch. This value is available only for apps + * that are connected to a repository. The job type RETRY retries an existing + * job. If the job type value is RETRY, the jobId is also + * required.

*/ - commitTime?: Date; + jobType: JobType | string | undefined; /** - *

The unique ID for an Amplify app.

+ *

A descriptive reason for starting this job.

*/ - appId: string | undefined; + jobReason?: string; /** - *

The unique ID for an existing job. This is required if the value of - * jobType is RETRY.

+ *

The commit ID from a third-party repository provider for the job.

*/ - jobId?: string; + commitId?: string; /** - *

The branch name for the job.

+ *

The commit message from a third-party repository provider for the job.

*/ - branchName: string | undefined; + commitMessage?: string; /** - *

Describes the type for the job. The job type RELEASE starts a new job - * with the latest change from the specified branch. This value is available only for apps - * that are connected to a repository. The job type RETRY retries an existing - * job. If the job type value is RETRY, the jobId is also - * required.

+ *

The commit date and time for the job.

*/ - jobType: JobType | string | undefined; + commitTime?: Date; } export namespace StartJobRequest { @@ -2430,6 +2443,11 @@ export namespace StartJobResult { *

The request structure for the stop job request.

*/ export interface StopJobRequest { + /** + *

The unique ID for an Amplify app.

+ */ + appId: string | undefined; + /** *

The name for the branch, for the job.

*/ @@ -2439,11 +2457,6 @@ export interface StopJobRequest { *

The unique id for the job.

*/ jobId: string | undefined; - - /** - *

The unique ID for an Amplify app.

- */ - appId: string | undefined; } export namespace StopJobRequest { @@ -2473,14 +2486,14 @@ export namespace StopJobResult { */ export interface TagResourceRequest { /** - *

The tags used to tag the resource.

+ *

The Amazon Resource Name (ARN) to use to tag a resource.

*/ - tags: { [key: string]: string } | undefined; + resourceArn: string | undefined; /** - *

The Amazon Resource Name (ARN) to use to tag a resource.

+ *

The tags used to tag the resource.

*/ - resourceArn: string | undefined; + tags: { [key: string]: string } | undefined; } export namespace TagResourceRequest { @@ -2537,27 +2550,14 @@ export namespace UntagResourceResponse { */ export interface UpdateAppRequest { /** - *

The personal access token for a third-party source control system for an Amplify app. - * The token is used to create webhook and a read-only deploy key. The token is not stored. - *

- */ - accessToken?: string; - - /** - *

Automatically disconnects a branch in the Amplify Console when you delete a branch - * from your Git repository.

- */ - enableBranchAutoDeletion?: boolean; - - /** - *

Enables branch auto-building for an Amplify app.

+ *

The unique ID for an Amplify app.

*/ - enableBranchAutoBuild?: boolean; + appId: string | undefined; /** - *

The name of the repository for an Amplify app

+ *

The name for an Amplify app.

*/ - repository?: string; + name?: string; /** *

The description for an Amplify app.

@@ -2565,9 +2565,9 @@ export interface UpdateAppRequest { description?: string; /** - *

The name for an Amplify app.

+ *

The platform for an Amplify app.

*/ - name?: string; + platform?: Platform | string; /** *

The AWS Identity and Access Management (IAM) service role for an Amplify app.

@@ -2580,9 +2580,25 @@ export interface UpdateAppRequest { environmentVariables?: { [key: string]: string }; /** - *

The automated branch creation configuration for the Amplify app.

+ *

Enables branch auto-building for an Amplify app.

*/ - autoBranchCreationConfig?: AutoBranchCreationConfig; + enableBranchAutoBuild?: boolean; + + /** + *

Automatically disconnects a branch in the Amplify Console when you delete a branch + * from your Git repository.

+ */ + enableBranchAutoDeletion?: boolean; + + /** + *

Enables basic authorization for an Amplify app.

+ */ + enableBasicAuth?: boolean; + + /** + *

The basic authorization credentials for an Amplify app.

+ */ + basicAuthCredentials?: string; /** *

The custom redirect and rewrite rules for an Amplify app.

@@ -2590,57 +2606,59 @@ export interface UpdateAppRequest { customRules?: CustomRule[]; /** - *

Describes the automated branch creation glob patterns for the Amplify app.

+ *

The build specification (build spec) for an Amplify app.

*/ - autoBranchCreationPatterns?: string[]; + buildSpec?: string; /** - *

The OAuth token for a third-party source control system for an Amplify app. The token - * is used to create a webhook and a read-only deploy key. The OAuth token is not stored. - *

+ *

The custom HTTP headers for an Amplify app.

*/ - oauthToken?: string; + customHeaders?: string; /** - *

The platform for an Amplify app.

+ *

Enables automated branch creation for an Amplify app.

*/ - platform?: Platform | string; + enableAutoBranchCreation?: boolean; /** - *

The basic authorization credentials for an Amplify app.

+ *

Describes the automated branch creation glob patterns for an Amplify app.

*/ - basicAuthCredentials?: string; + autoBranchCreationPatterns?: string[]; /** - *

Enables basic authorization for an Amplify app.

+ *

The automated branch creation configuration for an Amplify app.

*/ - enableBasicAuth?: boolean; + autoBranchCreationConfig?: AutoBranchCreationConfig; /** - *

Enables automated branch creation for the Amplify app.

+ *

The name of the repository for an Amplify app

*/ - enableAutoBranchCreation?: boolean; + repository?: string; /** - *

The build specification (build spec) for an Amplify app.

+ *

The OAuth token for a third-party source control system for an Amplify app. The token + * is used to create a webhook and a read-only deploy key. The OAuth token is not stored. + *

*/ - buildSpec?: string; + oauthToken?: string; /** - *

The unique ID for an Amplify app.

+ *

The personal access token for a third-party source control system for an Amplify app. + * The token is used to create webhook and a read-only deploy key. The token is not stored. + *

*/ - appId: string | undefined; + accessToken?: string; } export namespace UpdateAppRequest { export const filterSensitiveLog = (obj: UpdateAppRequest): any => ({ ...obj, - ...(obj.accessToken && { accessToken: SENSITIVE_STRING }), + ...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }), ...(obj.autoBranchCreationConfig && { autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig), }), ...(obj.oauthToken && { oauthToken: SENSITIVE_STRING }), - ...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }), + ...(obj.accessToken && { accessToken: SENSITIVE_STRING }), }); } @@ -2666,90 +2684,91 @@ export namespace UpdateAppResult { */ export interface UpdateBranchRequest { /** - *

Enables notifications for the branch.

+ *

The unique ID for an Amplify app.

*/ - enableNotification?: boolean; + appId: string | undefined; /** - *

The environment variables for the branch.

+ *

The name for the branch.

*/ - environmentVariables?: { [key: string]: string }; + branchName: string | undefined; /** - *

Enables basic authorization for the branch.

+ *

The description for the branch.

*/ - enableBasicAuth?: boolean; + description?: string; /** - *

The build specification (build spec) for the branch.

+ *

The framework for the branch.

*/ - buildSpec?: string; + framework?: string; /** - *

The content Time to Live (TTL) for the website in seconds.

+ *

Describes the current stage for the branch.

*/ - ttl?: string; + stage?: Stage | string; /** - *

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify - * app.

+ *

Enables notifications for the branch.

*/ - backendEnvironmentArn?: string; + enableNotification?: boolean; /** - *

The unique ID for an Amplify app.

+ *

Enables auto building for the branch.

*/ - appId: string | undefined; + enableAutoBuild?: boolean; /** - *

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. Enabling performance mode will mean that hosting configuration or code changes can take up to 10 minutes to roll out.

+ *

The environment variables for the branch.

*/ - enablePerformanceMode?: boolean; + environmentVariables?: { [key: string]: string }; /** - *

The framework for the branch.

+ *

The basic authorization credentials for the branch.

*/ - framework?: string; + basicAuthCredentials?: string; /** - *

Enables pull request preview for this branch.

+ *

Enables basic authorization for the branch.

*/ - enablePullRequestPreview?: boolean; + enableBasicAuth?: boolean; /** - *

Describes the current stage for the branch.

+ *

Enables performance mode for the branch.

+ *

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

*/ - stage?: Stage | string; + enablePerformanceMode?: boolean; /** - *

The basic authorization credentials for the branch.

+ *

The build specification (build spec) for the branch.

*/ - basicAuthCredentials?: string; + buildSpec?: string; /** - *

Enables auto building for the branch.

+ *

The content Time to Live (TTL) for the website in seconds.

*/ - enableAutoBuild?: boolean; + ttl?: string; /** - *

The name for the branch.

+ *

The display name for a branch. This is used as the default domain prefix.

*/ - branchName: string | undefined; + displayName?: string; /** - *

The Amplify environment name for the pull request.

+ *

Enables pull request previews for this branch.

*/ - pullRequestEnvironmentName?: string; + enablePullRequestPreview?: boolean; /** - *

The description for the branch.

+ *

The Amplify environment name for the pull request.

*/ - description?: string; + pullRequestEnvironmentName?: string; /** - *

The display name for a branch. This is used as the default domain prefix.

+ *

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify + * app.

*/ - displayName?: string; + backendEnvironmentArn?: string; } export namespace UpdateBranchRequest { @@ -2786,9 +2805,9 @@ export interface UpdateDomainAssociationRequest { appId: string | undefined; /** - *

Sets the branch patterns for automatic subdomain creation.

+ *

The name of the domain.

*/ - autoSubDomainCreationPatterns?: string[]; + domainName: string | undefined; /** *

Enables the automated creation of subdomains for branches.

@@ -2801,9 +2820,9 @@ export interface UpdateDomainAssociationRequest { subDomainSettings: SubDomainSetting[] | undefined; /** - *

The name of the domain.

+ *

Sets the branch patterns for automatic subdomain creation.

*/ - domainName: string | undefined; + autoSubDomainCreationPatterns?: string[]; /** *

The required AWS Identity and Access Management (IAM) service role for the Amazon @@ -2845,14 +2864,14 @@ export interface UpdateWebhookRequest { webhookId: string | undefined; /** - *

The description for a webhook.

+ *

The name for a branch that is part of an Amplify app.

*/ - description?: string; + branchName?: string; /** - *

The name for a branch that is part of an Amplify app.

+ *

The description for a webhook.

*/ - branchName?: string; + description?: string; } export namespace UpdateWebhookRequest { diff --git a/clients/client-amplify/protocols/Aws_restJson1.ts b/clients/client-amplify/protocols/Aws_restJson1.ts index 9e3adcbac470..36579f845ec3 100644 --- a/clients/client-amplify/protocols/Aws_restJson1.ts +++ b/clients/client-amplify/protocols/Aws_restJson1.ts @@ -122,6 +122,7 @@ export const serializeAws_restJson1CreateAppCommand = async ( }), ...(input.basicAuthCredentials !== undefined && { basicAuthCredentials: input.basicAuthCredentials }), ...(input.buildSpec !== undefined && { buildSpec: input.buildSpec }), + ...(input.customHeaders !== undefined && { customHeaders: input.customHeaders }), ...(input.customRules !== undefined && { customRules: serializeAws_restJson1CustomRules(input.customRules, context), }), @@ -437,15 +438,6 @@ export const serializeAws_restJson1DeleteBranchCommand = async ( "Content-Type": "", }; let resolvedPath = "/apps/{appId}/branches/{branchName}"; - if (input.branchName !== undefined) { - const labelValue: string = input.branchName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: branchName."); - } - resolvedPath = resolvedPath.replace("{branchName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: branchName."); - } if (input.appId !== undefined) { const labelValue: string = input.appId; if (labelValue.length <= 0) { @@ -455,6 +447,15 @@ export const serializeAws_restJson1DeleteBranchCommand = async ( } else { throw new Error("No value provided for input HTTP label: appId."); } + if (input.branchName !== undefined) { + const labelValue: string = input.branchName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: branchName."); + } + resolvedPath = resolvedPath.replace("{branchName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: branchName."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -476,15 +477,6 @@ export const serializeAws_restJson1DeleteDomainAssociationCommand = async ( "Content-Type": "", }; let resolvedPath = "/apps/{appId}/domains/{domainName}"; - if (input.domainName !== undefined) { - const labelValue: string = input.domainName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: domainName."); - } - resolvedPath = resolvedPath.replace("{domainName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: domainName."); - } if (input.appId !== undefined) { const labelValue: string = input.appId; if (labelValue.length <= 0) { @@ -494,6 +486,15 @@ export const serializeAws_restJson1DeleteDomainAssociationCommand = async ( } else { throw new Error("No value provided for input HTTP label: appId."); } + if (input.domainName !== undefined) { + const labelValue: string = input.domainName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: domainName."); + } + resolvedPath = resolvedPath.replace("{domainName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: domainName."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -515,15 +516,6 @@ export const serializeAws_restJson1DeleteJobCommand = async ( "Content-Type": "", }; let resolvedPath = "/apps/{appId}/branches/{branchName}/jobs/{jobId}"; - if (input.branchName !== undefined) { - const labelValue: string = input.branchName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: branchName."); - } - resolvedPath = resolvedPath.replace("{branchName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: branchName."); - } if (input.appId !== undefined) { const labelValue: string = input.appId; if (labelValue.length <= 0) { @@ -533,6 +525,15 @@ export const serializeAws_restJson1DeleteJobCommand = async ( } else { throw new Error("No value provided for input HTTP label: appId."); } + if (input.branchName !== undefined) { + const labelValue: string = input.branchName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: branchName."); + } + resolvedPath = resolvedPath.replace("{branchName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: branchName."); + } if (input.jobId !== undefined) { const labelValue: string = input.jobId; if (labelValue.length <= 0) { @@ -688,15 +689,6 @@ export const serializeAws_restJson1GetBackendEnvironmentCommand = async ( "Content-Type": "", }; let resolvedPath = "/apps/{appId}/backendenvironments/{environmentName}"; - if (input.environmentName !== undefined) { - const labelValue: string = input.environmentName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: environmentName."); - } - resolvedPath = resolvedPath.replace("{environmentName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: environmentName."); - } if (input.appId !== undefined) { const labelValue: string = input.appId; if (labelValue.length <= 0) { @@ -706,6 +698,15 @@ export const serializeAws_restJson1GetBackendEnvironmentCommand = async ( } else { throw new Error("No value provided for input HTTP label: appId."); } + if (input.environmentName !== undefined) { + const labelValue: string = input.environmentName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: environmentName."); + } + resolvedPath = resolvedPath.replace("{environmentName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: environmentName."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -884,8 +885,8 @@ export const serializeAws_restJson1ListAppsCommand = async ( }; let resolvedPath = "/apps"; const query: any = { - ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -909,6 +910,15 @@ export const serializeAws_restJson1ListArtifactsCommand = async ( "Content-Type": "", }; let resolvedPath = "/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts"; + if (input.appId !== undefined) { + const labelValue: string = input.appId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: appId."); + } + resolvedPath = resolvedPath.replace("{appId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: appId."); + } if (input.branchName !== undefined) { const labelValue: string = input.branchName; if (labelValue.length <= 0) { @@ -927,15 +937,6 @@ export const serializeAws_restJson1ListArtifactsCommand = async ( } else { throw new Error("No value provided for input HTTP label: jobId."); } - if (input.appId !== undefined) { - const labelValue: string = input.appId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: appId."); - } - resolvedPath = resolvedPath.replace("{appId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: appId."); - } const query: any = { ...(input.nextToken !== undefined && { nextToken: input.nextToken }), ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), @@ -972,9 +973,9 @@ export const serializeAws_restJson1ListBackendEnvironmentsCommand = async ( throw new Error("No value provided for input HTTP label: appId."); } const query: any = { + ...(input.environmentName !== undefined && { environmentName: input.environmentName }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), - ...(input.environmentName !== undefined && { environmentName: input.environmentName }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1043,8 +1044,8 @@ export const serializeAws_restJson1ListDomainAssociationsCommand = async ( throw new Error("No value provided for input HTTP label: appId."); } const query: any = { - ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1152,8 +1153,8 @@ export const serializeAws_restJson1ListWebhooksCommand = async ( throw new Error("No value provided for input HTTP label: appId."); } const query: any = { - ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1177,15 +1178,6 @@ export const serializeAws_restJson1StartDeploymentCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/apps/{appId}/branches/{branchName}/deployments/start"; - if (input.branchName !== undefined) { - const labelValue: string = input.branchName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: branchName."); - } - resolvedPath = resolvedPath.replace("{branchName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: branchName."); - } if (input.appId !== undefined) { const labelValue: string = input.appId; if (labelValue.length <= 0) { @@ -1195,6 +1187,15 @@ export const serializeAws_restJson1StartDeploymentCommand = async ( } else { throw new Error("No value provided for input HTTP label: appId."); } + if (input.branchName !== undefined) { + const labelValue: string = input.branchName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: branchName."); + } + resolvedPath = resolvedPath.replace("{branchName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: branchName."); + } let body: any; body = JSON.stringify({ ...(input.jobId !== undefined && { jobId: input.jobId }), @@ -1267,6 +1268,15 @@ export const serializeAws_restJson1StopJobCommand = async ( "Content-Type": "", }; let resolvedPath = "/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop"; + if (input.appId !== undefined) { + const labelValue: string = input.appId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: appId."); + } + resolvedPath = resolvedPath.replace("{appId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: appId."); + } if (input.branchName !== undefined) { const labelValue: string = input.branchName; if (labelValue.length <= 0) { @@ -1285,15 +1295,6 @@ export const serializeAws_restJson1StopJobCommand = async ( } else { throw new Error("No value provided for input HTTP label: jobId."); } - if (input.appId !== undefined) { - const labelValue: string = input.appId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: appId."); - } - resolvedPath = resolvedPath.replace("{appId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: appId."); - } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -1405,6 +1406,7 @@ export const serializeAws_restJson1UpdateAppCommand = async ( }), ...(input.basicAuthCredentials !== undefined && { basicAuthCredentials: input.basicAuthCredentials }), ...(input.buildSpec !== undefined && { buildSpec: input.buildSpec }), + ...(input.customHeaders !== undefined && { customHeaders: input.customHeaders }), ...(input.customRules !== undefined && { customRules: serializeAws_restJson1CustomRules(input.customRules, context), }), @@ -4891,6 +4893,8 @@ const deserializeAws_restJson1App = (output: any, context: __SerdeContext): App output.createTime !== undefined && output.createTime !== null ? new Date(Math.round(output.createTime * 1000)) : undefined, + customHeaders: + output.customHeaders !== undefined && output.customHeaders !== null ? output.customHeaders : undefined, customRules: output.customRules !== undefined && output.customRules !== null ? deserializeAws_restJson1CustomRules(output.customRules, context) diff --git a/clients/client-api-gateway/pagination/GetApiKeysPaginator.ts b/clients/client-api-gateway/pagination/GetApiKeysPaginator.ts index 5552bd3d58ce..60aa0ef760b6 100644 --- a/clients/client-api-gateway/pagination/GetApiKeysPaginator.ts +++ b/clients/client-api-gateway/pagination/GetApiKeysPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetApiKeysCommand(input), ...args); + return await client.send(new GetApiKeysCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetBasePathMappingsPaginator.ts b/clients/client-api-gateway/pagination/GetBasePathMappingsPaginator.ts index 3a61e8b220de..f6a42796dbe9 100644 --- a/clients/client-api-gateway/pagination/GetBasePathMappingsPaginator.ts +++ b/clients/client-api-gateway/pagination/GetBasePathMappingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBasePathMappingsCommand(input), ...args); + return await client.send(new GetBasePathMappingsCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetClientCertificatesPaginator.ts b/clients/client-api-gateway/pagination/GetClientCertificatesPaginator.ts index befdbe869951..7d004a89f502 100644 --- a/clients/client-api-gateway/pagination/GetClientCertificatesPaginator.ts +++ b/clients/client-api-gateway/pagination/GetClientCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetClientCertificatesCommand(input), ...args); + return await client.send(new GetClientCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetDeploymentsPaginator.ts b/clients/client-api-gateway/pagination/GetDeploymentsPaginator.ts index 9ce33886afe5..31c4359498e3 100644 --- a/clients/client-api-gateway/pagination/GetDeploymentsPaginator.ts +++ b/clients/client-api-gateway/pagination/GetDeploymentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDeploymentsCommand(input), ...args); + return await client.send(new GetDeploymentsCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetDomainNamesPaginator.ts b/clients/client-api-gateway/pagination/GetDomainNamesPaginator.ts index 1c8d33e12e37..5948f8b27805 100644 --- a/clients/client-api-gateway/pagination/GetDomainNamesPaginator.ts +++ b/clients/client-api-gateway/pagination/GetDomainNamesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDomainNamesCommand(input), ...args); + return await client.send(new GetDomainNamesCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetModelsPaginator.ts b/clients/client-api-gateway/pagination/GetModelsPaginator.ts index 4b6da79f4519..446116048dce 100644 --- a/clients/client-api-gateway/pagination/GetModelsPaginator.ts +++ b/clients/client-api-gateway/pagination/GetModelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetModelsCommand(input), ...args); + return await client.send(new GetModelsCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetResourcesPaginator.ts b/clients/client-api-gateway/pagination/GetResourcesPaginator.ts index 8e39d7e0df28..9452f3de0428 100644 --- a/clients/client-api-gateway/pagination/GetResourcesPaginator.ts +++ b/clients/client-api-gateway/pagination/GetResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourcesCommand(input), ...args); + return await client.send(new GetResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetRestApisPaginator.ts b/clients/client-api-gateway/pagination/GetRestApisPaginator.ts index 6c49604aeb2d..56e675b0328c 100644 --- a/clients/client-api-gateway/pagination/GetRestApisPaginator.ts +++ b/clients/client-api-gateway/pagination/GetRestApisPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetRestApisCommand(input), ...args); + return await client.send(new GetRestApisCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetUsagePaginator.ts b/clients/client-api-gateway/pagination/GetUsagePaginator.ts index 64f757d5c852..80a8d10715b7 100644 --- a/clients/client-api-gateway/pagination/GetUsagePaginator.ts +++ b/clients/client-api-gateway/pagination/GetUsagePaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsageCommand(input), ...args); + return await client.send(new GetUsageCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetUsagePlanKeysPaginator.ts b/clients/client-api-gateway/pagination/GetUsagePlanKeysPaginator.ts index 23fdf289e123..4b8438ff8647 100644 --- a/clients/client-api-gateway/pagination/GetUsagePlanKeysPaginator.ts +++ b/clients/client-api-gateway/pagination/GetUsagePlanKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsagePlanKeysCommand(input), ...args); + return await client.send(new GetUsagePlanKeysCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetUsagePlansPaginator.ts b/clients/client-api-gateway/pagination/GetUsagePlansPaginator.ts index 82ef64affdb2..777e13bc65fb 100644 --- a/clients/client-api-gateway/pagination/GetUsagePlansPaginator.ts +++ b/clients/client-api-gateway/pagination/GetUsagePlansPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsagePlansCommand(input), ...args); + return await client.send(new GetUsagePlansCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetVpcLinksPaginator.ts b/clients/client-api-gateway/pagination/GetVpcLinksPaginator.ts index a52748a1fc17..8e553b1f371e 100644 --- a/clients/client-api-gateway/pagination/GetVpcLinksPaginator.ts +++ b/clients/client-api-gateway/pagination/GetVpcLinksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetVpcLinksCommand(input), ...args); + return await client.send(new GetVpcLinksCommand(input, ...args)); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-app-mesh/pagination/ListGatewayRoutesPaginator.ts b/clients/client-app-mesh/pagination/ListGatewayRoutesPaginator.ts index 29f4763c30a2..23d816e37b29 100644 --- a/clients/client-app-mesh/pagination/ListGatewayRoutesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListGatewayRoutesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewayRoutesCommand(input), ...args); + return await client.send(new ListGatewayRoutesCommand(input, ...args)); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListMeshesPaginator.ts b/clients/client-app-mesh/pagination/ListMeshesPaginator.ts index b74a76088d99..9041dea34276 100644 --- a/clients/client-app-mesh/pagination/ListMeshesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListMeshesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMeshesCommand(input), ...args); + return await client.send(new ListMeshesCommand(input, ...args)); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListRoutesPaginator.ts b/clients/client-app-mesh/pagination/ListRoutesPaginator.ts index 48b190f36c54..dca8e0962cf8 100644 --- a/clients/client-app-mesh/pagination/ListRoutesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListRoutesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoutesCommand(input), ...args); + return await client.send(new ListRoutesCommand(input, ...args)); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListTagsForResourcePaginator.ts b/clients/client-app-mesh/pagination/ListTagsForResourcePaginator.ts index 1fd84dfd1d85..f825720e3260 100644 --- a/clients/client-app-mesh/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-app-mesh/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListVirtualGatewaysPaginator.ts b/clients/client-app-mesh/pagination/ListVirtualGatewaysPaginator.ts index 7155484a6512..159c2ccee471 100644 --- a/clients/client-app-mesh/pagination/ListVirtualGatewaysPaginator.ts +++ b/clients/client-app-mesh/pagination/ListVirtualGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualGatewaysCommand(input), ...args); + return await client.send(new ListVirtualGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListVirtualNodesPaginator.ts b/clients/client-app-mesh/pagination/ListVirtualNodesPaginator.ts index 432938560677..7b382c8eebe6 100644 --- a/clients/client-app-mesh/pagination/ListVirtualNodesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListVirtualNodesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualNodesCommand(input), ...args); + return await client.send(new ListVirtualNodesCommand(input, ...args)); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListVirtualRoutersPaginator.ts b/clients/client-app-mesh/pagination/ListVirtualRoutersPaginator.ts index b8a74867a295..2aa13ef8c063 100644 --- a/clients/client-app-mesh/pagination/ListVirtualRoutersPaginator.ts +++ b/clients/client-app-mesh/pagination/ListVirtualRoutersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualRoutersCommand(input), ...args); + return await client.send(new ListVirtualRoutersCommand(input, ...args)); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListVirtualServicesPaginator.ts b/clients/client-app-mesh/pagination/ListVirtualServicesPaginator.ts index d9d58ee48cfb..5c1df1de86dd 100644 --- a/clients/client-app-mesh/pagination/ListVirtualServicesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListVirtualServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualServicesCommand(input), ...args); + return await client.send(new ListVirtualServicesCommand(input, ...args)); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-appconfig/pagination/ListApplicationsPaginator.ts b/clients/client-appconfig/pagination/ListApplicationsPaginator.ts index 58c9e24e749d..aab6c15f8184 100644 --- a/clients/client-appconfig/pagination/ListApplicationsPaginator.ts +++ b/clients/client-appconfig/pagination/ListApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationsCommand(input), ...args); + return await client.send(new ListApplicationsCommand(input, ...args)); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListConfigurationProfilesPaginator.ts b/clients/client-appconfig/pagination/ListConfigurationProfilesPaginator.ts index 8ddda4f93d8e..0fe2bbc37a4c 100644 --- a/clients/client-appconfig/pagination/ListConfigurationProfilesPaginator.ts +++ b/clients/client-appconfig/pagination/ListConfigurationProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationProfilesCommand(input), ...args); + return await client.send(new ListConfigurationProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListDeploymentStrategiesPaginator.ts b/clients/client-appconfig/pagination/ListDeploymentStrategiesPaginator.ts index 1fee76dc170e..6d21d00b8760 100644 --- a/clients/client-appconfig/pagination/ListDeploymentStrategiesPaginator.ts +++ b/clients/client-appconfig/pagination/ListDeploymentStrategiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentStrategiesCommand(input), ...args); + return await client.send(new ListDeploymentStrategiesCommand(input, ...args)); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListDeploymentsPaginator.ts b/clients/client-appconfig/pagination/ListDeploymentsPaginator.ts index 306578397921..77f3462f9a21 100644 --- a/clients/client-appconfig/pagination/ListDeploymentsPaginator.ts +++ b/clients/client-appconfig/pagination/ListDeploymentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentsCommand(input), ...args); + return await client.send(new ListDeploymentsCommand(input, ...args)); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListEnvironmentsPaginator.ts b/clients/client-appconfig/pagination/ListEnvironmentsPaginator.ts index bfd5b6e9b1a3..1db9fcca5ae4 100644 --- a/clients/client-appconfig/pagination/ListEnvironmentsPaginator.ts +++ b/clients/client-appconfig/pagination/ListEnvironmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEnvironmentsCommand(input), ...args); + return await client.send(new ListEnvironmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListHostedConfigurationVersionsPaginator.ts b/clients/client-appconfig/pagination/ListHostedConfigurationVersionsPaginator.ts index f09213116573..ea79808b3757 100644 --- a/clients/client-appconfig/pagination/ListHostedConfigurationVersionsPaginator.ts +++ b/clients/client-appconfig/pagination/ListHostedConfigurationVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHostedConfigurationVersionsCommand(input), ...args); + return await client.send(new ListHostedConfigurationVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appflow/pagination/DescribeConnectorProfilesPaginator.ts b/clients/client-appflow/pagination/DescribeConnectorProfilesPaginator.ts index 3fbd4606e96b..9577614cbd3c 100644 --- a/clients/client-appflow/pagination/DescribeConnectorProfilesPaginator.ts +++ b/clients/client-appflow/pagination/DescribeConnectorProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeConnectorProfilesCommand(input), ...args); + return await client.send(new DescribeConnectorProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: Appflow, diff --git a/clients/client-appflow/pagination/DescribeConnectorsPaginator.ts b/clients/client-appflow/pagination/DescribeConnectorsPaginator.ts index c64ba4eae1a3..e4b40575f75f 100644 --- a/clients/client-appflow/pagination/DescribeConnectorsPaginator.ts +++ b/clients/client-appflow/pagination/DescribeConnectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeConnectorsCommand(input), ...args); + return await client.send(new DescribeConnectorsCommand(input, ...args)); }; const makePagedRequest = async ( client: Appflow, diff --git a/clients/client-appflow/pagination/DescribeFlowExecutionRecordsPaginator.ts b/clients/client-appflow/pagination/DescribeFlowExecutionRecordsPaginator.ts index 0de5fec9d130..ef181745de15 100644 --- a/clients/client-appflow/pagination/DescribeFlowExecutionRecordsPaginator.ts +++ b/clients/client-appflow/pagination/DescribeFlowExecutionRecordsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFlowExecutionRecordsCommand(input), ...args); + return await client.send(new DescribeFlowExecutionRecordsCommand(input, ...args)); }; const makePagedRequest = async ( client: Appflow, diff --git a/clients/client-appflow/pagination/ListFlowsPaginator.ts b/clients/client-appflow/pagination/ListFlowsPaginator.ts index 80a3cf669df8..a5ebe610481a 100644 --- a/clients/client-appflow/pagination/ListFlowsPaginator.ts +++ b/clients/client-appflow/pagination/ListFlowsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFlowsCommand(input), ...args); + return await client.send(new ListFlowsCommand(input, ...args)); }; const makePagedRequest = async ( client: Appflow, diff --git a/clients/client-application-auto-scaling/pagination/DescribeScalableTargetsPaginator.ts b/clients/client-application-auto-scaling/pagination/DescribeScalableTargetsPaginator.ts index 1923b1b548f9..30196730e559 100644 --- a/clients/client-application-auto-scaling/pagination/DescribeScalableTargetsPaginator.ts +++ b/clients/client-application-auto-scaling/pagination/DescribeScalableTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalableTargetsCommand(input), ...args); + return await client.send(new DescribeScalableTargetsCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationAutoScaling, diff --git a/clients/client-application-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts b/clients/client-application-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts index 385e99be4d47..451176f8d4e9 100644 --- a/clients/client-application-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts +++ b/clients/client-application-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalingActivitiesCommand(input), ...args); + return await client.send(new DescribeScalingActivitiesCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationAutoScaling, diff --git a/clients/client-application-auto-scaling/pagination/DescribeScalingPoliciesPaginator.ts b/clients/client-application-auto-scaling/pagination/DescribeScalingPoliciesPaginator.ts index 10cda54d9d34..4a53ec95f018 100644 --- a/clients/client-application-auto-scaling/pagination/DescribeScalingPoliciesPaginator.ts +++ b/clients/client-application-auto-scaling/pagination/DescribeScalingPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalingPoliciesCommand(input), ...args); + return await client.send(new DescribeScalingPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationAutoScaling, diff --git a/clients/client-application-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts b/clients/client-application-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts index f54beebd1cb3..876eb4c40280 100644 --- a/clients/client-application-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts +++ b/clients/client-application-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledActionsCommand(input), ...args); + return await client.send(new DescribeScheduledActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationAutoScaling, diff --git a/clients/client-application-discovery-service/pagination/DescribeContinuousExportsPaginator.ts b/clients/client-application-discovery-service/pagination/DescribeContinuousExportsPaginator.ts index 7b717861ba05..1387444ca004 100644 --- a/clients/client-application-discovery-service/pagination/DescribeContinuousExportsPaginator.ts +++ b/clients/client-application-discovery-service/pagination/DescribeContinuousExportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeContinuousExportsCommand(input), ...args); + return await client.send(new DescribeContinuousExportsCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationDiscoveryService, diff --git a/clients/client-application-discovery-service/pagination/DescribeImportTasksPaginator.ts b/clients/client-application-discovery-service/pagination/DescribeImportTasksPaginator.ts index 7dbafc987831..deca11a067a5 100644 --- a/clients/client-application-discovery-service/pagination/DescribeImportTasksPaginator.ts +++ b/clients/client-application-discovery-service/pagination/DescribeImportTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImportTasksCommand(input), ...args); + return await client.send(new DescribeImportTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationDiscoveryService, diff --git a/clients/client-application-insights/pagination/ListApplicationsPaginator.ts b/clients/client-application-insights/pagination/ListApplicationsPaginator.ts index 68852c5ca343..093865c95d0c 100644 --- a/clients/client-application-insights/pagination/ListApplicationsPaginator.ts +++ b/clients/client-application-insights/pagination/ListApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationsCommand(input), ...args); + return await client.send(new ListApplicationsCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListComponentsPaginator.ts b/clients/client-application-insights/pagination/ListComponentsPaginator.ts index 68baaa15c2e8..ae244c0261f3 100644 --- a/clients/client-application-insights/pagination/ListComponentsPaginator.ts +++ b/clients/client-application-insights/pagination/ListComponentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComponentsCommand(input), ...args); + return await client.send(new ListComponentsCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListConfigurationHistoryPaginator.ts b/clients/client-application-insights/pagination/ListConfigurationHistoryPaginator.ts index e21592c23dbb..13615d37eaab 100644 --- a/clients/client-application-insights/pagination/ListConfigurationHistoryPaginator.ts +++ b/clients/client-application-insights/pagination/ListConfigurationHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationHistoryCommand(input), ...args); + return await client.send(new ListConfigurationHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListLogPatternSetsPaginator.ts b/clients/client-application-insights/pagination/ListLogPatternSetsPaginator.ts index 7cde11b95b48..8e9f7a02a1c7 100644 --- a/clients/client-application-insights/pagination/ListLogPatternSetsPaginator.ts +++ b/clients/client-application-insights/pagination/ListLogPatternSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLogPatternSetsCommand(input), ...args); + return await client.send(new ListLogPatternSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListLogPatternsPaginator.ts b/clients/client-application-insights/pagination/ListLogPatternsPaginator.ts index 853c873a7859..0802fa7d4e3b 100644 --- a/clients/client-application-insights/pagination/ListLogPatternsPaginator.ts +++ b/clients/client-application-insights/pagination/ListLogPatternsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLogPatternsCommand(input), ...args); + return await client.send(new ListLogPatternsCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListProblemsPaginator.ts b/clients/client-application-insights/pagination/ListProblemsPaginator.ts index d3073f2eeec0..c719f5631854 100644 --- a/clients/client-application-insights/pagination/ListProblemsPaginator.ts +++ b/clients/client-application-insights/pagination/ListProblemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProblemsCommand(input), ...args); + return await client.send(new ListProblemsCommand(input, ...args)); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-appstream/pagination/DescribeImagePermissionsPaginator.ts b/clients/client-appstream/pagination/DescribeImagePermissionsPaginator.ts index ec9ff73039b0..feb9fa887bc5 100644 --- a/clients/client-appstream/pagination/DescribeImagePermissionsPaginator.ts +++ b/clients/client-appstream/pagination/DescribeImagePermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImagePermissionsCommand(input), ...args); + return await client.send(new DescribeImagePermissionsCommand(input, ...args)); }; const makePagedRequest = async ( client: AppStream, diff --git a/clients/client-appstream/pagination/DescribeImagesPaginator.ts b/clients/client-appstream/pagination/DescribeImagesPaginator.ts index cf197cec6f6b..7756113ce676 100644 --- a/clients/client-appstream/pagination/DescribeImagesPaginator.ts +++ b/clients/client-appstream/pagination/DescribeImagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImagesCommand(input), ...args); + return await client.send(new DescribeImagesCommand(input, ...args)); }; const makePagedRequest = async ( client: AppStream, diff --git a/clients/client-athena/pagination/GetQueryResultsPaginator.ts b/clients/client-athena/pagination/GetQueryResultsPaginator.ts index 6c93c0ef44a6..5ffb4acc6ead 100644 --- a/clients/client-athena/pagination/GetQueryResultsPaginator.ts +++ b/clients/client-athena/pagination/GetQueryResultsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetQueryResultsCommand(input), ...args); + return await client.send(new GetQueryResultsCommand(input, ...args)); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListDataCatalogsPaginator.ts b/clients/client-athena/pagination/ListDataCatalogsPaginator.ts index 681ca81e76b1..428a2236c49d 100644 --- a/clients/client-athena/pagination/ListDataCatalogsPaginator.ts +++ b/clients/client-athena/pagination/ListDataCatalogsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataCatalogsCommand(input), ...args); + return await client.send(new ListDataCatalogsCommand(input, ...args)); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListDatabasesPaginator.ts b/clients/client-athena/pagination/ListDatabasesPaginator.ts index c24bb88a3966..edc051b31488 100644 --- a/clients/client-athena/pagination/ListDatabasesPaginator.ts +++ b/clients/client-athena/pagination/ListDatabasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatabasesCommand(input), ...args); + return await client.send(new ListDatabasesCommand(input, ...args)); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListNamedQueriesPaginator.ts b/clients/client-athena/pagination/ListNamedQueriesPaginator.ts index 4fad359cfc9a..d31bf5d4e263 100644 --- a/clients/client-athena/pagination/ListNamedQueriesPaginator.ts +++ b/clients/client-athena/pagination/ListNamedQueriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNamedQueriesCommand(input), ...args); + return await client.send(new ListNamedQueriesCommand(input, ...args)); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListQueryExecutionsPaginator.ts b/clients/client-athena/pagination/ListQueryExecutionsPaginator.ts index c3cf368ce987..641fde0f0003 100644 --- a/clients/client-athena/pagination/ListQueryExecutionsPaginator.ts +++ b/clients/client-athena/pagination/ListQueryExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQueryExecutionsCommand(input), ...args); + return await client.send(new ListQueryExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListTableMetadataPaginator.ts b/clients/client-athena/pagination/ListTableMetadataPaginator.ts index 1412a3a670f1..3bc480ea2ba2 100644 --- a/clients/client-athena/pagination/ListTableMetadataPaginator.ts +++ b/clients/client-athena/pagination/ListTableMetadataPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTableMetadataCommand(input), ...args); + return await client.send(new ListTableMetadataCommand(input, ...args)); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListTagsForResourcePaginator.ts b/clients/client-athena/pagination/ListTagsForResourcePaginator.ts index 19866daa3c88..efd6965bf8bd 100644 --- a/clients/client-athena/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-athena/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListWorkGroupsPaginator.ts b/clients/client-athena/pagination/ListWorkGroupsPaginator.ts index 980249be6bbf..1f017b3fc7d3 100644 --- a/clients/client-athena/pagination/ListWorkGroupsPaginator.ts +++ b/clients/client-athena/pagination/ListWorkGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkGroupsCommand(input), ...args); + return await client.send(new ListWorkGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-auto-scaling/AutoScaling.ts b/clients/client-auto-scaling/AutoScaling.ts index b6260b2518e4..b49397095e09 100644 --- a/clients/client-auto-scaling/AutoScaling.ts +++ b/clients/client-auto-scaling/AutoScaling.ts @@ -297,8 +297,8 @@ export class AutoScaling extends AutoScalingClient { *

If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are * also registered with the load balancer. If there are target groups attached to your Auto Scaling * group, the instances are also registered with the target groups.

- *

For more information, see Attach EC2 Instances to - * Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Attach EC2 instances to + * your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

*/ public attachInstances( args: AttachInstancesCommandInput, @@ -337,8 +337,8 @@ export class AutoScaling extends AutoScalingClient { * registers the running instances with these Classic Load Balancers.

*

To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling * group, call the DetachLoadBalancers API.

- *

For more information, see Attaching a Load - * Balancer to Your Auto Scaling Group in the + *

For more information, see Attaching a load + * balancer to your Auto Scaling group in the * Amazon EC2 Auto Scaling User Guide.

*/ public attachLoadBalancers( @@ -376,8 +376,8 @@ export class AutoScaling extends AutoScalingClient { * the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.

*

With Application Load Balancers and Network Load Balancers, instances are registered * as targets with a target group. With Classic Load Balancers, instances are registered - * with the load balancer. For more information, see Attaching a Load - * Balancer to Your Auto Scaling Group in the + * with the load balancer. For more information, see Attaching a load + * balancer to your Auto Scaling group in the * Amazon EC2 Auto Scaling User Guide.

*/ public attachLoadBalancerTargetGroups( @@ -542,8 +542,8 @@ export class AutoScaling extends AutoScalingClient { *

* * - *

For more information, see Amazon EC2 Auto Scaling Lifecycle - * Hooks in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Amazon EC2 Auto Scaling lifecycle + * hooks in the Amazon EC2 Auto Scaling User Guide.

*/ public completeLifecycleAction( args: CompleteLifecycleActionCommandInput, @@ -578,13 +578,13 @@ export class AutoScaling extends AutoScalingClient { *

Creates an Auto Scaling group with the specified name and attributes.

*

If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit, * call the DescribeAccountLimits API. For information about updating - * this limit, see Amazon EC2 Auto Scaling Service - * Quotas in the Amazon EC2 Auto Scaling User Guide.

- *

For introductory exercises for creating an Auto Scaling group, see Getting Started with - * Amazon EC2 Auto Scaling and Tutorial: Set Up a - * Scaled and Load-Balanced Application in the + * this limit, see Amazon EC2 Auto Scaling service + * quotas in the Amazon EC2 Auto Scaling User Guide.

+ *

For introductory exercises for creating an Auto Scaling group, see Getting started with + * Amazon EC2 Auto Scaling and Tutorial: Set up a + * scaled and load-balanced application in the * Amazon EC2 Auto Scaling User Guide. For more information, see Auto Scaling - * Groups in the Amazon EC2 Auto Scaling User Guide.

+ * groups in the Amazon EC2 Auto Scaling User Guide.

*

Every Auto Scaling group has three size parameters (DesiredCapacity, * MaxSize, and MinSize). Usually, you set these sizes based * on a specific number of instances. However, if you configure a mixed instances policy @@ -624,10 +624,10 @@ export class AutoScaling extends AutoScalingClient { *

Creates a launch configuration.

*

If you exceed your maximum limit of launch configurations, the call fails. To query * this limit, call the DescribeAccountLimits API. For information about - * updating this limit, see Amazon EC2 Auto Scaling Service - * Quotas in the Amazon EC2 Auto Scaling User Guide.

+ * updating this limit, see Amazon EC2 Auto Scaling service + * quotas in the Amazon EC2 Auto Scaling User Guide.

*

For more information, see Launch - * Configurations in the Amazon EC2 Auto Scaling User Guide.

+ * configurations in the Amazon EC2 Auto Scaling User Guide.

*/ public createLaunchConfiguration( args: CreateLaunchConfigurationCommandInput, @@ -662,8 +662,8 @@ export class AutoScaling extends AutoScalingClient { *

Creates or updates tags for the specified Auto Scaling group.

*

When you specify a tag with a key that already exists, the operation overwrites the * previous tag definition, and you do not get an error message.

- *

For more information, see Tagging Auto Scaling Groups and - * Instances in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Tagging Auto Scaling groups and + * instances in the Amazon EC2 Auto Scaling User Guide.

*/ public createOrUpdateTags( args: CreateOrUpdateTagsCommandInput, @@ -841,8 +841,8 @@ export class AutoScaling extends AutoScalingClient { *

Deleting either a step scaling policy or a simple scaling policy deletes the * underlying alarm action, but does not delete the alarm, even if it no longer has an * associated action.

- *

For more information, see Deleting a Scaling - * Policy in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Deleting a scaling + * policy in the Amazon EC2 Auto Scaling User Guide.

*/ public deletePolicy( args: DeletePolicyCommandInput, @@ -930,8 +930,8 @@ export class AutoScaling extends AutoScalingClient { /** *

Describes the current Amazon EC2 Auto Scaling resource quotas for your AWS account.

- *

For information about requesting an increase, see Amazon EC2 Auto Scaling Service - * Quotas in the Amazon EC2 Auto Scaling User Guide.

+ *

For information about requesting an increase, see Amazon EC2 Auto Scaling service + * quotas in the Amazon EC2 Auto Scaling User Guide.

*/ public describeAccountLimits( args: DescribeAccountLimitsCommandInput, @@ -1545,8 +1545,8 @@ export class AutoScaling extends AutoScalingClient { *

You can also specify multiple filters. The result includes information for a * particular tag only if it matches all the filters. If there's no match, no special * message is returned.

- *

For more information, see Tagging Auto Scaling Groups and - * Instances in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Tagging Auto Scaling groups and + * instances in the Amazon EC2 Auto Scaling User Guide.

*/ public describeTags( args: DescribeTagsCommandInput, @@ -1576,8 +1576,8 @@ export class AutoScaling extends AutoScalingClient { /** *

Describes the termination policies supported by Amazon EC2 Auto Scaling.

- *

For more information, see Controlling Which Auto Scaling - * Instances Terminate During Scale In in the + *

For more information, see Controlling which Auto Scaling + * instances terminate during scale in in the * Amazon EC2 Auto Scaling User Guide.

*/ public describeTerminationPolicyTypes( @@ -1618,8 +1618,8 @@ export class AutoScaling extends AutoScalingClient { *

If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are * deregistered from the load balancer. If there are target groups attached to the Auto Scaling * group, the instances are deregistered from the target groups.

- *

For more information, see Detach EC2 Instances from - * Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Detach EC2 instances from + * your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

*/ public detachInstances( args: DetachInstancesCommandInput, @@ -1752,7 +1752,7 @@ export class AutoScaling extends AutoScalingClient { } /** - *

Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the + *

Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring CloudWatch metrics for your Auto Scaling groups and instances in the * Amazon EC2 Auto Scaling User Guide.

*/ public enableMetricsCollection( @@ -1792,8 +1792,8 @@ export class AutoScaling extends AutoScalingClient { * group.

*

If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group * launches new instances to replace the instances on standby.

- *

For more information, see Temporarily Removing - * Instances from Your Auto Scaling Group in the + *

For more information, see Temporarily removing + * instances from your Auto Scaling group in the * Amazon EC2 Auto Scaling User Guide.

*/ public enterStandby( @@ -1859,8 +1859,8 @@ export class AutoScaling extends AutoScalingClient { *

Moves the specified instances out of the standby state.

*

After you put the instances back in service, the desired capacity is * incremented.

- *

For more information, see Temporarily Removing - * Instances from Your Auto Scaling Group in the + *

For more information, see Temporarily removing + * instances from your Auto Scaling group in the * Amazon EC2 Auto Scaling User Guide.

*/ public exitStandby(args: ExitStandbyCommandInput, options?: __HttpHandlerOptions): Promise; @@ -1919,8 +1919,8 @@ export class AutoScaling extends AutoScalingClient { * using the CompleteLifecycleAction API call.

* * - *

For more information, see Amazon EC2 Auto Scaling Lifecycle - * Hooks in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Amazon EC2 Auto Scaling lifecycle + * hooks in the Amazon EC2 Auto Scaling User Guide.

*

If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling * group, the call fails.

*

You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle @@ -1961,7 +1961,7 @@ export class AutoScaling extends AutoScalingClient { * web server or an email address.

*

This configuration overwrites any existing configuration.

*

For more information, see Getting Amazon SNS - * Notifications When Your Auto Scaling Group Scales in the + * notifications when your Auto Scaling group scales in the * Amazon EC2 Auto Scaling User Guide.

*

If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call * fails.

@@ -1997,8 +1997,8 @@ export class AutoScaling extends AutoScalingClient { /** *

Creates or updates a scaling policy for an Auto Scaling group.

- *

For more information about using scaling policies to scale your Auto Scaling group, see Target Tracking Scaling Policies and Step and Simple Scaling - * Policies in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information about using scaling policies to scale your Auto Scaling group, see Target tracking scaling policies and Step and simple scaling + * policies in the Amazon EC2 Auto Scaling User Guide.

*/ public putScalingPolicy( args: PutScalingPolicyCommandInput, @@ -2033,7 +2033,7 @@ export class AutoScaling extends AutoScalingClient { *

Creates or updates a scheduled scaling action for an Auto Scaling group. If you leave a * parameter unspecified when updating a scheduled scaling action, the corresponding value * remains unchanged.

- *

For more information, see Scheduled Scaling in the + *

For more information, see Scheduled scaling in the * Amazon EC2 Auto Scaling User Guide.

*/ public putScheduledUpdateGroupAction( @@ -2098,7 +2098,7 @@ export class AutoScaling extends AutoScalingClient { * * *

For more information, see Auto Scaling - * Lifecycle in the Amazon EC2 Auto Scaling User Guide.

+ * lifecycle in the Amazon EC2 Auto Scaling User Guide.

*/ public recordLifecycleActionHeartbeat( args: RecordLifecycleActionHeartbeatCommandInput, @@ -2130,10 +2130,10 @@ export class AutoScaling extends AutoScalingClient { } /** - *

Resumes the specified suspended automatic scaling processes, or all suspended process, - * for the specified Auto Scaling group.

+ *

Resumes the specified suspended auto scaling processes, or all suspended process, for + * the specified Auto Scaling group.

*

For more information, see Suspending and - * Resuming Scaling Processes in the Amazon EC2 Auto Scaling User Guide.

+ * resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.

*/ public resumeProcesses( args: ResumeProcessesCommandInput, @@ -2169,7 +2169,7 @@ export class AutoScaling extends AutoScalingClient { *

If a scale-in activity occurs as a result of a new DesiredCapacity value * that is lower than the current size of the group, the Auto Scaling group uses its termination * policy to determine which instances to terminate.

- *

For more information, see Manual Scaling in the + *

For more information, see Manual scaling in the * Amazon EC2 Auto Scaling User Guide.

*/ public setDesiredCapacity( @@ -2203,8 +2203,8 @@ export class AutoScaling extends AutoScalingClient { /** *

Sets the health status of the specified instance.

- *

For more information, see Health Checks for Auto Scaling - * Instances in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Health checks for Auto Scaling + * instances in the Amazon EC2 Auto Scaling User Guide.

*/ public setInstanceHealth( args: SetInstanceHealthCommandInput, @@ -2238,7 +2238,8 @@ export class AutoScaling extends AutoScalingClient { /** *

Updates the instance protection settings of the specified instances.

*

For more information about preventing instances that are part of an Auto Scaling group from - * terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.

+ * terminating on scale in, see Instance scale-in protection in the + * Amazon EC2 Auto Scaling User Guide.

*

If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call * fails.

*/ @@ -2312,12 +2313,12 @@ export class AutoScaling extends AutoScalingClient { } /** - *

Suspends the specified automatic scaling processes, or all processes, for the - * specified Auto Scaling group.

+ *

Suspends the specified auto scaling processes, or all processes, for the specified + * Auto Scaling group.

*

If you suspend either the Launch or Terminate process types, * it can prevent other process types from functioning properly. For more information, see * Suspending and - * Resuming Scaling Processes in the Amazon EC2 Auto Scaling User Guide.

+ * resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.

*

To resume processes that have been suspended, call the ResumeProcesses API.

*/ public suspendProcesses( @@ -2360,7 +2361,7 @@ export class AutoScaling extends AutoScalingClient { *

By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you * decrement the desired capacity, your Auto Scaling group can become unbalanced between * Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might - * terminate instances in other zones. For more information, see Rebalancing Activities in the Amazon EC2 Auto Scaling User Guide.

+ * terminate instances in other zones. For more information, see Rebalancing activities in the Amazon EC2 Auto Scaling User Guide.

*/ public terminateInstanceInAutoScalingGroup( args: TerminateInstanceInAutoScalingGroupCommandInput, diff --git a/clients/client-auto-scaling/models/models_0.ts b/clients/client-auto-scaling/models/models_0.ts index 75c1201cb034..132ffcc55094 100644 --- a/clients/client-auto-scaling/models/models_0.ts +++ b/clients/client-auto-scaling/models/models_0.ts @@ -37,30 +37,20 @@ export enum ScalingActivityStatusCode { * to your Auto Scaling group, such as changing its size or replacing an instance.

*/ export interface Activity { - /** - *

A friendly, more verbose description of the activity.

- */ - Description?: string; - /** *

The ID of the activity.

*/ ActivityId: string | undefined; - /** - *

The end time of the activity.

- */ - EndTime?: Date; - /** *

The name of the Auto Scaling group.

*/ AutoScalingGroupName: string | undefined; /** - *

A value between 0 and 100 that indicates the progress of the activity.

+ *

A friendly, more verbose description of the activity.

*/ - Progress?: number; + Description?: string; /** *

The reason the activity began.

@@ -68,14 +58,14 @@ export interface Activity { Cause: string | undefined; /** - *

A friendly, more verbose description of the activity status.

+ *

The start time of the activity.

*/ - StatusMessage?: string; + StartTime: Date | undefined; /** - *

The details about the activity.

+ *

The end time of the activity.

*/ - Details?: string; + EndTime?: Date; /** *

The current status of the activity.

@@ -83,9 +73,19 @@ export interface Activity { StatusCode: ScalingActivityStatusCode | string | undefined; /** - *

The start time of the activity.

+ *

A friendly, more verbose description of the activity status.

*/ - StartTime: Date | undefined; + StatusMessage?: string; + + /** + *

A value between 0 and 100 that indicates the progress of the activity.

+ */ + Progress?: number; + + /** + *

The details about the activity.

+ */ + Details?: string; } export namespace Activity { @@ -151,14 +151,14 @@ export namespace AdjustmentType { */ export interface Alarm { /** - *

The Amazon Resource Name (ARN) of the alarm.

+ *

The name of the alarm.

*/ - AlarmARN?: string; + AlarmName?: string; /** - *

The name of the alarm.

+ *

The Amazon Resource Name (ARN) of the alarm.

*/ - AlarmName?: string; + AlarmARN?: string; } export namespace Alarm { @@ -273,15 +273,15 @@ export namespace AttachLoadBalancerTargetGroupsResultType { export interface AttachLoadBalancerTargetGroupsType { /** - *

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target - * groups.

+ *

The name of the Auto Scaling group.

*/ - TargetGroupARNs: string[] | undefined; + AutoScalingGroupName: string | undefined; /** - *

The name of the Auto Scaling group.

+ *

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target + * groups.

*/ - AutoScalingGroupName: string | undefined; + TargetGroupARNs: string[] | undefined; } export namespace AttachLoadBalancerTargetGroupsType { @@ -294,11 +294,6 @@ export namespace AttachLoadBalancerTargetGroupsType { *

Describes a scheduled action that could not be created, updated, or deleted.

*/ export interface FailedScheduledUpdateGroupActionRequest { - /** - *

The error message accompanying the error code.

- */ - ErrorMessage?: string; - /** *

The name of the scheduled action.

*/ @@ -308,6 +303,11 @@ export interface FailedScheduledUpdateGroupActionRequest { *

The error code.

*/ ErrorCode?: string; + + /** + *

The error message accompanying the error code.

+ */ + ErrorMessage?: string; } export namespace FailedScheduledUpdateGroupActionRequest { @@ -370,9 +370,9 @@ export namespace BatchPutScheduledUpdateGroupActionAnswer { */ export interface ScheduledUpdateGroupActionRequest { /** - *

The minimum size of the Auto Scaling group.

+ *

The name of the scaling action.

*/ - MinSize?: number; + ScheduledActionName: string | undefined; /** *

The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT @@ -385,16 +385,6 @@ export interface ScheduledUpdateGroupActionRequest { */ StartTime?: Date; - /** - *

The name of the scaling action.

- */ - ScheduledActionName: string | undefined; - - /** - *

The maximum size of the Auto Scaling group.

- */ - MaxSize?: number; - /** *

The date and time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the * action after this time.

@@ -412,6 +402,16 @@ export interface ScheduledUpdateGroupActionRequest { */ Recurrence?: string; + /** + *

The minimum size of the Auto Scaling group.

+ */ + MinSize?: number; + + /** + *

The maximum size of the Auto Scaling group.

+ */ + MaxSize?: number; + /** *

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled * action runs and the capacity it attempts to maintain.

@@ -427,14 +427,14 @@ export namespace ScheduledUpdateGroupActionRequest { export interface BatchPutScheduledUpdateGroupActionType { /** - *

One or more scheduled actions. The maximum number allowed is 50.

+ *

The name of the Auto Scaling group.

*/ - ScheduledUpdateGroupActions: ScheduledUpdateGroupActionRequest[] | undefined; + AutoScalingGroupName: string | undefined; /** - *

The name of the Auto Scaling group.

+ *

One or more scheduled actions. The maximum number allowed is 50.

*/ - AutoScalingGroupName: string | undefined; + ScheduledUpdateGroupActions: ScheduledUpdateGroupActionRequest[] | undefined; } export namespace BatchPutScheduledUpdateGroupActionType { @@ -500,20 +500,14 @@ export namespace CompleteLifecycleActionAnswer { export interface CompleteLifecycleActionType { /** - *

The action for the group to take. This parameter can be either CONTINUE - * or ABANDON.

- */ - LifecycleActionResult: string | undefined; - - /** - *

The ID of the instance.

+ *

The name of the lifecycle hook.

*/ - InstanceId?: string; + LifecycleHookName: string | undefined; /** - *

The name of the lifecycle hook.

+ *

The name of the Auto Scaling group.

*/ - LifecycleHookName: string | undefined; + AutoScalingGroupName: string | undefined; /** *

A universally unique identifier (UUID) that identifies a specific lifecycle action @@ -523,9 +517,15 @@ export interface CompleteLifecycleActionType { LifecycleActionToken?: string; /** - *

The name of the Auto Scaling group.

+ *

The action for the group to take. This parameter can be either CONTINUE + * or ABANDON.

*/ - AutoScalingGroupName: string | undefined; + LifecycleActionResult: string | undefined; + + /** + *

The ID of the instance.

+ */ + InstanceId?: string; } export namespace CompleteLifecycleActionType { @@ -538,34 +538,33 @@ export namespace CompleteLifecycleActionType { *

Describes the Amazon EC2 launch template and the launch template version that can be used * by an Auto Scaling group to configure Amazon EC2 instances.

*

The launch template that is specified must be configured for use with an Auto Scaling group. - * For more information, see Creating a Launch - * Template for an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

+ * For more information, see Creating a launch + * template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

*/ export interface LaunchTemplateSpecification { + /** + *

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created + * using the Amazon EC2 CreateLaunchTemplate API. You must specify either a + * LaunchTemplateId or a LaunchTemplateName.

+ */ + LaunchTemplateId?: string; + /** *

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created - * using the Amazon EC2 CreateLaunchTemplate API.

- *

You must specify either a template ID or a template name.

+ * using the Amazon EC2 CreateLaunchTemplate API. You must specify either a + * LaunchTemplateId or a LaunchTemplateName.

*/ LaunchTemplateName?: string; /** *

The version number, $Latest, or $Default. To get the version * number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions - * can be created using the Amazon EC2 CreateLaunchTemplateVersion API.

- *

If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the - * launch template when launching instances. If the value is $Default, - * Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. - * The default value is $Default.

+ * can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, + * Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If + * the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch + * template when launching instances. The default value is $Default.

*/ Version?: string; - - /** - *

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created - * using the Amazon EC2 CreateLaunchTemplate API.

- *

You must specify either a template ID or a template name.

- */ - LaunchTemplateId?: string; } export namespace LaunchTemplateSpecification { @@ -608,10 +607,15 @@ export namespace LaunchTemplateSpecification { * action.

* * - *

For more information, see Amazon EC2 Auto Scaling Lifecycle - * Hooks in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Amazon EC2 Auto Scaling lifecycle + * hooks in the Amazon EC2 Auto Scaling User Guide.

*/ export interface LifecycleHookSpecification { + /** + *

The name of the lifecycle hook.

+ */ + LifecycleHookName: string | undefined; + /** *

The state of the EC2 instance to which you want to attach the lifecycle hook. The * valid values are:

@@ -633,9 +637,13 @@ export interface LifecycleHookSpecification { NotificationMetadata?: string; /** - *

The name of the lifecycle hook.

+ *

The maximum time, in seconds, that can elapse before the lifecycle hook times + * out.

+ *

If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in + * the DefaultResult parameter. You can prevent the lifecycle hook from timing + * out by calling RecordLifecycleActionHeartbeat.

*/ - LifecycleHookName: string | undefined; + HeartbeatTimeout?: number; /** *

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses @@ -656,15 +664,6 @@ export interface LifecycleHookSpecification { * notification target, for example, an Amazon SNS topic or an Amazon SQS queue.

*/ RoleARN?: string; - - /** - *

The maximum time, in seconds, that can elapse before the lifecycle hook times - * out.

- *

If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in - * the DefaultResult parameter. You can prevent the lifecycle hook from timing - * out by calling RecordLifecycleActionHeartbeat.

- */ - HeartbeatTimeout?: number; } export namespace LifecycleHookSpecification { @@ -677,7 +676,7 @@ export namespace LifecycleHookSpecification { *

Describes an instances distribution for an Auto Scaling group with a MixedInstancesPolicy.

*

The instances distribution specifies the distribution of On-Demand Instances and Spot * Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates - * instance types to fulfill On-Demand and Spot capacity.

+ * instance types to fulfill On-Demand and Spot capacities.

*

When you update SpotAllocationStrategy, SpotInstancePools, * or SpotMaxPrice, this update action does not deploy any changes across the * running Amazon EC2 instances in the group. Your existing Spot Instances continue to run @@ -688,75 +687,58 @@ export namespace LifecycleHookSpecification { */ export interface InstancesDistribution { /** - *

Indicates how to allocate instance types to fulfill On-Demand capacity.

- *

The only valid value is prioritized, which is also the default value. - * This strategy uses the order of instance type overrides for the LaunchTemplate to define the launch priority of each instance type. The - * first instance type in the array is prioritized higher than the last. If all your - * On-Demand capacity cannot be fulfilled using your highest priority instance, then the - * Auto Scaling groups launches the remaining capacity using the second priority instance type, and - * so on.

+ *

Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid + * value is prioritized, which is also the default value. This strategy uses + * the order of instance types in the overrides to define the launch priority of each + * instance type. The first instance type in the array is prioritized higher than the last. + * If all your On-Demand capacity cannot be fulfilled using your highest priority instance, + * then the Auto Scaling groups launches the remaining capacity using the second priority instance + * type, and so on.

*/ OnDemandAllocationStrategy?: string; /** - *

The number of Spot Instance pools across which to allocate your Spot Instances. The - * Spot pools are determined from the different instance types in the Overrides array of - * LaunchTemplate. Default if not set is 2.

- *

Used only when the Spot allocation strategy is lowest-price.

- *

Valid Range: Minimum value of 1. Maximum value of 20.

+ *

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand + * Instances. This base portion is provisioned first as your group scales. Defaults to 0 if + * not specified. If you specify weights for the instance types in the overrides, set the + * value of OnDemandBaseCapacity in terms of the number of capacity units, and + * not the number of instances.

*/ - SpotInstancePools?: number; + OnDemandBaseCapacity?: number; /** *

Controls the percentages of On-Demand Instances and Spot Instances for your additional - * capacity beyond OnDemandBaseCapacity.

- *

Default if not set is 100. If you leave it set to 100, the percentages are 100% for - * On-Demand Instances and 0% for Spot Instances.

- * - *

An update to this setting means a gradual replacement of instances to maintain the - * percentage of On-Demand Instances for your additional capacity above the base - * capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before - * terminating the old ones.

- *
- *

Valid Range: Minimum value of 0. Maximum value of 100.

+ * capacity beyond OnDemandBaseCapacity. Expressed as a number (for example, + * 20 specifies 20% On-Demand Instances, 80% Spot Instances). Defaults to 100 if not + * specified. If set to 100, only On-Demand Instances are provisioned.

*/ OnDemandPercentageAboveBaseCapacity?: number; /** - *

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand - * Instances. This base portion is provisioned first as your group scales.

- *

Default if not set is 0. If you leave it set to 0, On-Demand Instances are launched as - * a percentage of the Auto Scaling group's desired capacity, per the - * OnDemandPercentageAboveBaseCapacity setting.

- * - *

An update to this setting means a gradual replacement of instances to maintain the - * specified number of On-Demand Instances for your base capacity. When replacing - * instances, Amazon EC2 Auto Scaling launches new instances before terminating the old ones.

- *
+ *

Indicates how to allocate instances across Spot Instance pools. If the allocation + * strategy is lowest-price, the Auto Scaling group launches instances using the Spot + * pools with the lowest price, and evenly allocates your instances across the number of + * Spot pools that you specify. If the allocation strategy is + * capacity-optimized, the Auto Scaling group launches instances using Spot pools + * that are optimally chosen based on the available Spot capacity. Defaults to + * lowest-price if not specified.

*/ - OnDemandBaseCapacity?: number; + SpotAllocationStrategy?: string; /** - *

Indicates how to allocate instances across Spot Instance pools.

- *

If the allocation strategy is lowest-price, the Auto Scaling group launches - * instances using the Spot pools with the lowest price, and evenly allocates your - * instances across the number of Spot pools that you specify. If the allocation strategy - * is capacity-optimized, the Auto Scaling group launches instances using Spot pools - * that are optimally chosen based on the available Spot capacity.

- *

The default Spot allocation strategy for calls that you make through the API, the AWS - * CLI, or the AWS SDKs is lowest-price. The default Spot allocation strategy - * for the AWS Management Console is capacity-optimized.

- *

Valid values: lowest-price | capacity-optimized - *

+ *

The number of Spot Instance pools across which to allocate your Spot Instances. The + * Spot pools are determined from the different instance types in the overrides. Defaults + * to 2 if not specified. Valid only when the Spot allocation strategy is + * lowest-price.

+ *

Valid Range: Minimum value of 1. Maximum value of 20.

*/ - SpotAllocationStrategy?: string; + SpotInstancePools?: number; /** *

The maximum price per unit hour that you are willing to pay for a Spot Instance. If * you leave the value of this parameter blank (which is the default), the maximum Spot - * price is set at the On-Demand price.

- *

To remove a value that you previously set, include the parameter but leave the value - * blank.

+ * price is set at the On-Demand price. To remove a value that you previously set, include + * the parameter but leave the value blank.

*/ SpotMaxPrice?: string; } @@ -775,23 +757,24 @@ export namespace InstancesDistribution { */ export interface LaunchTemplateOverrides { /** - *

The instance type. You must use an instance type that is supported in your requested - * Region and Availability Zones.

- *

For information about available instance types, see Available - * Instance Types in the Amazon Elastic Compute Cloud User + *

The instance type, such as m3.xlarge. You must use an instance type that + * is supported in your requested Region and Availability Zones. For information about + * available instance types, see Available + * instance types in the Amazon Elastic Compute Cloud User * Guide. *

*/ InstanceType?: string; /** - *

The number of capacity units, which gives the instance type a proportional weight to - * other instance types. For example, larger instance types are generally weighted more - * than smaller instance types. These are the same units that you chose to set the desired - * capacity in terms of instances, or a performance attribute such as vCPUs, memory, or - * I/O.

- *

For more information, see Instance Weighting for - * Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

+ *

The number of capacity units provided by the specified instance type in terms of + * virtual CPUs, memory, storage, throughput, or other relative performance characteristic. + * When a Spot or On-Demand Instance is provisioned, the capacity units count toward the + * desired capacity. Amazon EC2 Auto Scaling provisions instances until the desired capacity is totally + * fulfilled, even if this results in an overage. For example, if there are 2 units + * remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only provision an instance with a + * WeightedCapacity of 5 units, the instance is provisioned, and the + * desired capacity is exceeded by 3 units. For more information, see Instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

*

Valid Range: Minimum value of 1. Maximum value of 999.

*/ WeightedCapacity?: string; @@ -815,19 +798,17 @@ export namespace LaunchTemplateOverrides { */ export interface LaunchTemplate { /** - *

Any parameters that you specify override the same parameters in the launch template. - * Currently, the only supported override is instance type. You can specify between 1 and - * 20 instance types.

- *

If not provided, Amazon EC2 Auto Scaling will use the instance type specified in the launch template - * to launch instances.

+ *

The launch template to use.

*/ - Overrides?: LaunchTemplateOverrides[]; + LaunchTemplateSpecification?: LaunchTemplateSpecification; /** - *

The launch template to use. You must specify either the launch template ID or launch - * template name in the request.

+ *

Any parameters that you specify override the same parameters in the launch template. + * Currently, the only supported override is instance type. You can specify between 1 and + * 20 instance types. If not provided, Amazon EC2 Auto Scaling will use the instance type specified in the + * launch template when it launches an instance.

*/ - LaunchTemplateSpecification?: LaunchTemplateSpecification; + Overrides?: LaunchTemplateOverrides[]; } export namespace LaunchTemplate { @@ -844,22 +825,21 @@ export namespace LaunchTemplate { * Guide
.

*

You can create a mixed instances policy for a new Auto Scaling group, or you can create it for * an existing group by updating the group to specify MixedInstancesPolicy as - * the top-level parameter instead of a launch configuration or launch template. For more - * information, see CreateAutoScalingGroup and UpdateAutoScalingGroup.

+ * the top-level parameter instead of a launch configuration or launch template.

*/ export interface MixedInstancesPolicy { /** - *

The instances distribution to use.

- *

If you leave this parameter unspecified, the value for each parameter in - * InstancesDistribution uses a default value.

+ *

Specifies the launch template to use and optionally the instance types (overrides) + * that are used to provision EC2 instances to fulfill On-Demand and Spot capacities. + * Required when creating a mixed instances policy.

*/ - InstancesDistribution?: InstancesDistribution; + LaunchTemplate?: LaunchTemplate; /** - *

The launch template and instance types (overrides).

- *

Required when creating a mixed instances policy.

+ *

Specifies the instances distribution. If not provided, the value for each parameter in + * InstancesDistribution uses a default value.

*/ - LaunchTemplate?: LaunchTemplate; + InstancesDistribution?: InstancesDistribution; } export namespace MixedInstancesPolicy { @@ -878,15 +858,15 @@ export interface Tag { ResourceId?: string; /** - *

The tag key.

+ *

The type of resource. The only supported value is + * auto-scaling-group.

*/ - Key: string | undefined; + ResourceType?: string; /** - *

Determines whether the tag is added to new instances as they are launched in the - * group.

+ *

The tag key.

*/ - PropagateAtLaunch?: boolean; + Key: string | undefined; /** *

The tag value.

@@ -894,10 +874,10 @@ export interface Tag { Value?: string; /** - *

The type of resource. The only supported value is - * auto-scaling-group.

+ *

Determines whether the tag is added to new instances as they are launched in the + * group.

*/ - ResourceType?: string; + PropagateAtLaunch?: boolean; } export namespace Tag { @@ -908,22 +888,63 @@ export namespace Tag { export interface CreateAutoScalingGroupType { /** - *

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling - * when scaling in.

- *

For more information about preventing instances from terminating on scale in, see - * Instance Protection in the Amazon EC2 Auto Scaling User Guide.

+ *

The name of the Auto Scaling group. This name must be unique per Region per account.

*/ - NewInstancesProtectedFromScaleIn?: boolean; + AutoScalingGroupName: string | undefined; /** - *

The desired capacity is the initial capacity of the Auto Scaling group at the time of its - * creation and the capacity it attempts to maintain. It can scale beyond this capacity if - * you configure automatic scaling.

- *

This number must be greater than or equal to the minimum size of the group and less - * than or equal to the maximum size of the group. If you do not specify a desired - * capacity, the default is the minimum size of the group.

+ *

The name of the launch configuration to use to launch instances.

+ *

Conditional: You must specify either a launch template (LaunchTemplate or + * MixedInstancesPolicy) or a launch configuration + * (LaunchConfigurationName or InstanceId).

*/ - DesiredCapacity?: number; + LaunchConfigurationName?: string; + + /** + *

Parameters used to specify the launch + * template and version to use to launch instances.

+ *

Conditional: You must specify either a launch template (LaunchTemplate or + * MixedInstancesPolicy) or a launch configuration + * (LaunchConfigurationName or InstanceId).

+ * + *

The launch template that is specified must be configured for use with an Auto Scaling + * group. For more information, see Creating a launch + * template for an Auto Scaling group in the + * Amazon EC2 Auto Scaling User Guide.

+ *
+ */ + LaunchTemplate?: LaunchTemplateSpecification; + + /** + *

An embedded object that specifies a mixed instances policy. The required parameters + * must be specified. If optional parameters are unspecified, their default values are + * used.

+ *

The policy includes parameters that not only define the distribution of On-Demand + * Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the + * Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the + * parameters that specify the instance configuration information—the launch template and + * instance types. The policy can also include a weight for each instance type. For more + * information, see Auto Scaling groups with multiple + * instance types and purchase options in the Amazon EC2 Auto Scaling User + * Guide.

+ *

Conditional: You must specify either a launch template (LaunchTemplate or + * MixedInstancesPolicy) or a launch configuration + * (LaunchConfigurationName or InstanceId).

+ */ + MixedInstancesPolicy?: MixedInstancesPolicy; + + /** + *

The ID of the instance used to base the launch configuration on. If specified, Amazon + * EC2 Auto Scaling uses the configuration values from the specified instance to create a + * new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the + * Amazon EC2 Auto Scaling User Guide.

+ */ + InstanceId?: string; + + /** + *

The minimum size of the group.

+ */ + MinSize: number | undefined; /** *

The maximum size of the group.

@@ -937,69 +958,69 @@ export interface CreateAutoScalingGroupType { */ MaxSize: number | undefined; + /** + *

The desired capacity is the initial capacity of the Auto Scaling group at the time of its + * creation and the capacity it attempts to maintain. It can scale beyond this capacity if + * you configure auto scaling. This number must be greater than or equal to the minimum + * size of the group and less than or equal to the maximum size of the group. If you do not + * specify a desired capacity, the default is the minimum size of the group.

+ */ + DesiredCapacity?: number; + /** *

The amount of time, in seconds, after a scaling activity completes before another - * scaling activity can start. The default value is 300.

- *

This setting applies when using simple scaling policies, but not when using other - * scaling policies or scheduled scaling. For more information, see Scaling Cooldowns - * for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

+ * scaling activity can start. The default value is 300. This setting applies + * when using simple scaling policies, but not when using other scaling policies or + * scheduled scaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling + * in the Amazon EC2 Auto Scaling User Guide.

*/ DefaultCooldown?: number; /** - *

The service to use for the health checks. The valid values are EC2 and - * ELB. The default value is EC2. If you configure an Auto Scaling - * group to use ELB health checks, it considers the instance unhealthy if it fails either - * the EC2 status checks or the load balancer health checks.

- *

For more information, see Health Checks for Auto Scaling - * Instances in the Amazon EC2 Auto Scaling User Guide.

+ *

A list of Availability Zones where instances in the Auto Scaling group can be created. This + * parameter is optional if you specify one or more subnets for + * VPCZoneIdentifier.

+ *

Conditional: If your account supports EC2-Classic and VPC, this parameter is required + * to launch instances into EC2-Classic.

*/ - HealthCheckType?: string; + AvailabilityZones?: string[]; /** - *

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 - * instances it launches.

- *

Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the - * tags in a launch template but use caution. If the launch template specifies an instance - * tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value - * of that instance tag with the value specified by the Auto Scaling group.

- *

For more information, see Tagging Auto Scaling Groups and - * Instances in the Amazon EC2 Auto Scaling User Guide.

+ *

A list of Classic Load Balancers associated with this Auto Scaling group. For + * Application Load Balancers and Network Load Balancers, specify + * TargetGroupARNs instead.

*/ - Tags?: Tag[]; + LoadBalancerNames?: string[]; /** - *

Parameters used to specify the launch template and version to use when an instance is - * launched.

- *

For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API - * Reference.

- *

You can alternatively associate a launch template to the Auto Scaling group by using the - * MixedInstancesPolicy parameter.

- *

You must specify one of the following parameters in your request: - * LaunchConfigurationName, LaunchTemplate, - * InstanceId, or MixedInstancesPolicy.

- */ - LaunchTemplate?: LaunchTemplateSpecification; + *

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. + * Instances are registered as targets in a target group, and traffic is routed to the + * target group. For more information, see Elastic Load + * Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

+ */ + TargetGroupARNs?: string[]; /** - *

One or more lifecycle hooks.

+ *

The service to use for the health checks. The valid values are EC2 + * (default) and ELB. If you configure an Auto Scaling group to use load balancer + * (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 + * status checks or the load balancer health checks. For more information, see Health checks + * for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

*/ - LifecycleHookSpecificationList?: LifecycleHookSpecification[]; + HealthCheckType?: string; /** - *

The ID of the instance used to create a launch configuration for the group. To get the - * instance ID, use the Amazon EC2 DescribeInstances API operation.

- *

When you specify an ID of an instance, Amazon EC2 Auto Scaling creates a new launch configuration and - * associates it with the group. This launch configuration derives its attributes from the - * specified instance, except for the block device mapping.

- *

You must specify one of the following parameters in your request: - * LaunchConfigurationName, LaunchTemplate, - * InstanceId, or MixedInstancesPolicy.

+ *

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status + * of an EC2 instance that has come into service. During this time, any health check + * failures for the instance are ignored. The default value is 0. For more + * information, see Health + * check grace period in the Amazon EC2 Auto Scaling User Guide.

+ *

Conditional: Required if you are adding an ELB health check.

*/ - InstanceId?: string; + HealthCheckGracePeriod?: number; /** - *

The name of the placement group into which to launch your instances, if any. A + *

The name of an existing placement group into which to launch your instances, if any. A * placement group is a logical grouping of instances within a single Availability Zone. * You cannot specify multiple Availability Zones and a placement group. For more * information, see Placement Groups in the @@ -1008,133 +1029,75 @@ export interface CreateAutoScalingGroupType { PlacementGroup?: string; /** - *

A comma-separated list of subnet IDs for your virtual private cloud (VPC).

- *

If you specify VPCZoneIdentifier with AvailabilityZones, the - * subnets that you specify for this parameter must reside in those Availability - * Zones.

+ *

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances + * in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with + * AvailabilityZones, the subnets that you specify for this parameter must + * reside in those Availability Zones.

*

Conditional: If your account supports EC2-Classic and VPC, this parameter is required * to launch instances into a VPC.

*/ VPCZoneIdentifier?: string; /** - *

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. - * Instances are registered as targets in a target group, and traffic is routed to the - * target group.

- *

For more information, see Using a Load Balancer - * with an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

- */ - TargetGroupARNs?: string[]; - - /** - *

The maximum amount of time, in seconds, that an instance can be in service. The - * default is null.

- *

This parameter is optional, but if you specify a value for it, you must specify a - * value of at least 604,800 seconds (7 days). To clear a previously set value, specify a - * new value of 0.

- *

For more information, see Replacing Auto Scaling - * Instances Based on Maximum Instance Lifetime in the - * Amazon EC2 Auto Scaling User Guide.

- *

Valid Range: Minimum value of 0.

- */ - MaxInstanceLifetime?: number; - - /** - *

An embedded object that specifies a mixed instances policy. The required parameters - * must be specified. If optional parameters are unspecified, their default values are - * used.

- *

The policy includes parameters that not only define the distribution of On-Demand - * Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the - * Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacity, but also the - * parameters that specify the instance configuration information—the launch template and - * instance types.

- * - *

For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and - * Auto Scaling Groups with Multiple - * Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User - * Guide.

- *

You must specify one of the following parameters in your request: - * LaunchConfigurationName, LaunchTemplate, - * InstanceId, or MixedInstancesPolicy.

- */ - MixedInstancesPolicy?: MixedInstancesPolicy; - - /** - *

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status - * of an EC2 instance that has come into service. During this time, any health check - * failures for the instance are ignored. The default value is 0.

- *

For more information, see Health - * Check Grace Period in the Amazon EC2 Auto Scaling User Guide.

- *

Required if you are adding an ELB health check.

- */ - HealthCheckGracePeriod?: number; - - /** - *

The name of the launch configuration to use when an instance is launched. To get the - * launch configuration name, use the DescribeLaunchConfigurations API - * operation. New launch configurations can be created with the CreateLaunchConfiguration API.

- *

You must specify one of the following parameters in your request: - * LaunchConfigurationName, LaunchTemplate, - * InstanceId, or MixedInstancesPolicy.

- */ - LaunchConfigurationName?: string; - - /** - *

Indicates whether capacity rebalance is enabled. Otherwise, capacity rebalance is - * disabled.

- *

You can enable capacity rebalancing for your Auto Scaling groups when using Spot Instances. - * When you turn on capacity rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance - * whenever Amazon EC2 predicts that a Spot Instance is at an elevated risk of interruption. - * After launching a new instance, it then terminates an old instance. For more - * information, see Amazon EC2 Auto Scaling capacity - * rebalancing in the Amazon EC2 Auto Scaling User Guide.

- */ - CapacityRebalance?: boolean; - - /** - *

One or more termination policies used to select the instance to terminate. These - * policies are executed in the order that they are listed.

- *

For more information, see Controlling Which - * Instances Auto Scaling Terminates During Scale In in the + *

A policy or a list of policies that are used to select the instance to terminate. + * These policies are executed in the order that you list them. For more information, see + * Controlling which Auto Scaling + * instances terminate during scale in in the * Amazon EC2 Auto Scaling User Guide.

*/ TerminationPolicies?: string[]; /** - *

The name of the Auto Scaling group. This name must be unique per Region per account.

+ *

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling + * when scaling in. For more information about preventing instances from terminating on + * scale in, see Instance scale-in protection in the + * Amazon EC2 Auto Scaling User Guide.

*/ - AutoScalingGroupName: string | undefined; + NewInstancesProtectedFromScaleIn?: boolean; /** - *

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load - * Balancers and Network Load Balancers, specify a list of target groups using the - * TargetGroupARNs property instead.

- *

For more information, see Using a Load Balancer - * with an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

+ *

Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is + * disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot + * Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of + * interruption. After launching a new instance, it then terminates an old instance. For + * more information, see Amazon EC2 Auto Scaling Capacity + * Rebalancing in the Amazon EC2 Auto Scaling User Guide.

*/ - LoadBalancerNames?: string[]; + CapacityRebalance?: boolean; /** - *

One or more Availability Zones for the group. This parameter is optional if you - * specify one or more subnets for VPCZoneIdentifier.

- *

Conditional: If your account supports EC2-Classic and VPC, this parameter is required - * to launch instances into EC2-Classic.

+ *

One or more lifecycle hooks for the group, which specify actions to perform when + * Amazon EC2 Auto Scaling launches or terminates instances.

*/ - AvailabilityZones?: string[]; + LifecycleHookSpecificationList?: LifecycleHookSpecification[]; /** - *

The minimum size of the group.

+ *

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 + * instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS + * volumes, specify the tags in a launch template but use caution. If the launch template + * specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling + * overrides the value of that instance tag with the value specified by the Auto Scaling group. For + * more information, see Tagging Auto Scaling groups and + * instances in the Amazon EC2 Auto Scaling User Guide.

*/ - MinSize: number | undefined; + Tags?: Tag[]; /** *

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to * call other AWS services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role * named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more - * information, see Service-Linked - * Roles in the Amazon EC2 Auto Scaling User Guide.

+ * information, see Service-linked + * roles in the Amazon EC2 Auto Scaling User Guide.

*/ ServiceLinkedRoleARN?: string; + + /** + *

The maximum amount of time, in seconds, that an instance can be in service. The + * default is null. If specified, the value must be either 0 or a number equal to or + * greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the + * Amazon EC2 Auto Scaling User Guide.

+ */ + MaxInstanceLifetime?: number; } export namespace CreateAutoScalingGroupType { @@ -1148,6 +1111,26 @@ export namespace CreateAutoScalingGroupType { * mapping.

*/ export interface Ebs { + /** + *

The snapshot ID of the volume to use.

+ *

You must specify either a VolumeSize or a SnapshotId.

+ */ + SnapshotId?: string; + + /** + *

The volume size, in Gibibytes (GiB).

+ *

This can be a number from 1-1,024 for standard, 4-16,384 for + * io1, 1-16,384 for gp2, and 500-16,384 for st1 + * and sc1. If you specify a snapshot, the volume size must be equal to or + * larger than the snapshot size.

+ *

Default: If you create a volume from a snapshot and you don't specify a volume size, + * the default is the snapshot size.

+ *

You must specify either a VolumeSize or a SnapshotId. If you + * specify both SnapshotId and VolumeSize, the volume size must + * be equal or greater than the size of the snapshot.

+ */ + VolumeSize?: number; + /** *

The volume type, which can be standard for Magnetic, io1 for * Provisioned IOPS SSD, gp2 for General Purpose SSD, st1 for @@ -1161,6 +1144,22 @@ export interface Ebs { */ VolumeType?: string; + /** + *

Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the + * default value is true.

+ */ + DeleteOnTermination?: boolean; + + /** + *

The number of I/O operations per second (IOPS) to provision for the volume. The + * maximum ratio of IOPS to volume size (in GiB) is 50:1. For more information, see Amazon EBS + * Volume Types in the Amazon EC2 User Guide for Linux Instances.

+ *

Required when the volume type is io1. (Not used with + * standard, gp2, st1, or sc1 + * volumes.)

+ */ + Iops?: number; + /** *

Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be * attached to instances that support Amazon EBS encryption. For more information, see @@ -1182,46 +1181,10 @@ export interface Ebs { *

For more information, see Using Encryption with EBS-Backed * AMIs in the Amazon EC2 User Guide for Linux Instances * and Required - * CMK Key Policy for Use with Encrypted Volumes in the + * CMK key policy for use with encrypted volumes in the * Amazon EC2 Auto Scaling User Guide.

*/ Encrypted?: boolean; - - /** - *

Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the - * default value is true.

- */ - DeleteOnTermination?: boolean; - - /** - *

The volume size, in Gibibytes (GiB).

- *

This can be a number from 1-1,024 for standard, 4-16,384 for - * io1, 1-16,384 for gp2, and 500-16,384 for st1 - * and sc1. If you specify a snapshot, the volume size must be equal to or - * larger than the snapshot size.

- *

Default: If you create a volume from a snapshot and you don't specify a volume size, - * the default is the snapshot size.

- *

You must specify either a VolumeSize or a SnapshotId. If you - * specify both SnapshotId and VolumeSize, the volume size must - * be equal or greater than the size of the snapshot.

- */ - VolumeSize?: number; - - /** - *

The snapshot ID of the volume to use.

- *

You must specify either a VolumeSize or a SnapshotId.

- */ - SnapshotId?: string; - - /** - *

The number of I/O operations per second (IOPS) to provision for the volume. The - * maximum ratio of IOPS to volume size (in GiB) is 50:1. For more information, see Amazon EBS - * Volume Types in the Amazon EC2 User Guide for Linux Instances.

- *

Required when the volume type is io1. (Not used with - * standard, gp2, st1, or sc1 - * volumes.)

- */ - Iops?: number; } export namespace Ebs { @@ -1234,6 +1197,13 @@ export namespace Ebs { *

Describes a block device mapping.

*/ export interface BlockDeviceMapping { + /** + *

The name of the virtual device (for example, ephemeral0).

+ *

You can specify either VirtualName or Ebs, but not + * both.

+ */ + VirtualName?: string; + /** *

The device name exposed to the EC2 instance (for example, /dev/sdh or * xvdh). For more information, see Device Naming on Linux @@ -1258,13 +1228,6 @@ export interface BlockDeviceMapping { *

If you specify NoDevice, you cannot specify Ebs.

*/ NoDevice?: boolean; - - /** - *

The name of the virtual device (for example, ephemeral0).

- *

You can specify either VirtualName or Ebs, but not - * both.

- */ - VirtualName?: string; } export namespace BlockDeviceMapping { @@ -1305,14 +1268,6 @@ export enum InstanceMetadataHttpTokensState { * Amazon EC2 Auto Scaling User Guide.

*/ export interface InstanceMetadataOptions { - /** - *

The desired HTTP PUT response hop limit for instance metadata requests. The larger the - * number, the further instance metadata requests can travel.

- *

Default: 1

- *

Possible values: Integers from 1 to 64

- */ - HttpPutResponseHopLimit?: number; - /** *

The state of token usage for your instance metadata requests. If the parameter is not * specified in the request, the default state is optional.

@@ -1328,6 +1283,14 @@ export interface InstanceMetadataOptions { */ HttpTokens?: InstanceMetadataHttpTokensState | string; + /** + *

The desired HTTP PUT response hop limit for instance metadata requests. The larger the + * number, the further instance metadata requests can travel.

+ *

Default: 1

+ *

Possible values: Integers from 1 to 64

+ */ + HttpPutResponseHopLimit?: number; + /** *

This parameter enables or disables the HTTP metadata endpoint on your instances. If * the parameter is not specified, the default state is enabled.

@@ -1347,42 +1310,10 @@ export namespace InstanceMetadataOptions { export interface CreateLaunchConfigurationType { /** - *

The ID of the RAM disk to select.

- */ - RamdiskId?: string; - - /** - *

The name of the key pair. For more information, see Amazon EC2 Key Pairs in the - * Amazon EC2 User Guide for Linux Instances.

- */ - KeyName?: string; - - /** - *

The maximum hourly price to be paid for any Spot Instance launched to fulfill the - * request. Spot Instances are launched when the price you specify exceeds the current Spot - * price. For more information, see Launching Spot - * Instances in Your Auto Scaling Group in the - * Amazon EC2 Auto Scaling User Guide.

- * - *

When you change your maximum price by creating a new launch configuration, running - * instances will continue to run as long as the maximum price for those running - * instances is higher than the current Spot price.

- *
- */ - SpotPrice?: string; - - /** - *

Specifies whether the launch configuration is optimized for EBS I/O - * (true) or not (false). The optimization provides dedicated - * throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O - * performance. This optimization is not available with all instance types. Additional fees - * are incurred when you enable EBS optimization for an instance type that is not - * EBS-optimized by default. For more information, see Amazon EBS-Optimized - * Instances in the Amazon EC2 User Guide for Linux - * Instances.

- *

The default value is false.

+ *

The name of the launch configuration. This name must be unique per Region per + * account.

*/ - EbsOptimized?: boolean; + LaunchConfigurationName: string | undefined; /** *

The ID of the Amazon Machine Image (AMI) that was assigned during registration. For @@ -1394,46 +1325,37 @@ export interface CreateLaunchConfigurationType { ImageId?: string; /** - *

Controls whether instances in this group are launched with detailed - * (true) or basic (false) monitoring.

- *

The default value is true (enabled).

- * - *

When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and - * your account is charged a fee. When you disable detailed monitoring, CloudWatch generates - * metrics every 5 minutes. For more information, see Configure - * Monitoring for Auto Scaling Instances in the - * Amazon EC2 Auto Scaling User Guide.

- *
+ *

The name of the key pair. For more information, see Amazon EC2 Key Pairs in the + * Amazon EC2 User Guide for Linux Instances.

*/ - InstanceMonitoring?: InstanceMonitoring; + KeyName?: string; /** - *

A block device mapping, which specifies the block devices for the instance. You can - * specify virtual devices and EBS volumes. For more information, see Block Device - * Mapping in the Amazon EC2 User Guide for Linux - * Instances.

+ *

A list that contains the security groups to assign to the instances in the Auto Scaling + * group.

+ *

[EC2-VPC] Specify the security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud + * User Guide.

+ *

[EC2-Classic] Specify either the security group names or the security group IDs. For + * more information, see Amazon EC2 Security + * Groups in the Amazon EC2 User Guide for Linux + * Instances.

*/ - BlockDeviceMappings?: BlockDeviceMapping[]; + SecurityGroups?: string[]; /** - *

The ID of the instance to use to create the launch configuration. The new launch - * configuration derives attributes from the instance, except for the block device - * mapping.

- *

To create a launch configuration with a block device mapping or override any other - * instance attributes, specify them as part of the same request.

- *

For more information, see Create a Launch - * Configuration Using an EC2 Instance in the - * Amazon EC2 Auto Scaling User Guide.

- *

If you do not specify InstanceId, you must specify both - * ImageId and InstanceType.

+ *

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more + * information, see ClassicLink in the + * Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic + * instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

+ *

This parameter can only be used if you are launching EC2-Classic instances.

*/ - InstanceId?: string; + ClassicLinkVPCId?: string; /** *

The IDs of one or more security groups for the specified ClassicLink-enabled VPC. For * more information, see ClassicLink in the * Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic - * Instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

+ * instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

*

If you specify the ClassicLinkVPCId parameter, you must specify this * parameter.

*/ @@ -1441,11 +1363,25 @@ export interface CreateLaunchConfigurationType { /** *

The Base64-encoded user data to make available to the launched EC2 instances. For more - * information, see Instance Metadata and User - * Data in the Amazon EC2 User Guide for Linux Instances.

+ * information, see Instance metadata and user + * data in the Amazon EC2 User Guide for Linux Instances.

*/ UserData?: string; + /** + *

The ID of the instance to use to create the launch configuration. The new launch + * configuration derives attributes from the instance, except for the block device + * mapping.

+ *

To create a launch configuration with a block device mapping or override any other + * instance attributes, specify them as part of the same request.

+ *

For more information, see Creating a launch + * configuration using an EC2 instance in the + * Amazon EC2 Auto Scaling User Guide.

+ *

If you do not specify InstanceId, you must specify both + * ImageId and InstanceType.

+ */ + InstanceId?: string; + /** *

Specifies the instance type of the EC2 instance.

*

For information about available instance types, see Available @@ -1458,71 +1394,76 @@ export interface CreateLaunchConfigurationType { InstanceType?: string; /** - *

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more - * information, see ClassicLink in the - * Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic - * Instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

- *

This parameter can only be used if you are launching EC2-Classic instances.

- */ - ClassicLinkVPCId?: string; - - /** - *

The tenancy of the instance. An instance with dedicated tenancy runs on - * isolated, single-tenant hardware and can only be launched into a VPC.

- *

To launch dedicated instances into a shared tenancy VPC (a VPC with the instance - * placement tenancy attribute set to default), you must set the value of this - * parameter to dedicated.

- *

If you specify PlacementTenancy, you must specify at least one subnet for - * VPCZoneIdentifier when you create your group.

- *

For more information, see Instance Placement - * Tenancy in the Amazon EC2 Auto Scaling User Guide.

- *

Valid Values: default | dedicated - *

+ *

The ID of the kernel associated with the AMI.

*/ - PlacementTenancy?: string; + KernelId?: string; /** - *

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the - * Amazon EC2 Auto Scaling User Guide.

+ *

The ID of the RAM disk to select.

*/ - MetadataOptions?: InstanceMetadataOptions; + RamdiskId?: string; /** - *

The ID of the kernel associated with the AMI.

+ *

A block device mapping, which specifies the block devices for the instance. You can + * specify virtual devices and EBS volumes. For more information, see Block Device + * Mapping in the Amazon EC2 User Guide for Linux + * Instances.

*/ - KernelId?: string; + BlockDeviceMappings?: BlockDeviceMapping[]; /** - *

A list that contains the security groups to assign to the instances in the Auto Scaling - * group.

- *

[EC2-VPC] Specify the security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud - * User Guide.

- *

[EC2-Classic] Specify either the security group names or the security group IDs. For - * more information, see Amazon EC2 Security - * Groups in the Amazon EC2 User Guide for Linux - * Instances.

+ *

Controls whether instances in this group are launched with detailed + * (true) or basic (false) monitoring.

+ *

The default value is true (enabled).

+ * + *

When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and + * your account is charged a fee. When you disable detailed monitoring, CloudWatch generates + * metrics every 5 minutes. For more information, see Configure + * Monitoring for Auto Scaling Instances in the + * Amazon EC2 Auto Scaling User Guide.

+ *
*/ - SecurityGroups?: string[]; + InstanceMonitoring?: InstanceMonitoring; /** - *

The name of the launch configuration. This name must be unique per Region per - * account.

+ *

The maximum hourly price to be paid for any Spot Instance launched to fulfill the + * request. Spot Instances are launched when the price you specify exceeds the current Spot + * price. For more information, see Requesting Spot + * Instances in the Amazon EC2 Auto Scaling User Guide.

+ * + *

When you change your maximum price by creating a new launch configuration, running + * instances will continue to run as long as the maximum price for those running + * instances is higher than the current Spot price.

+ *
*/ - LaunchConfigurationName: string | undefined; + SpotPrice?: string; /** *

The name or the Amazon Resource Name (ARN) of the instance profile associated with the * IAM role for the instance. The instance profile contains the IAM role.

- *

For more information, see IAM Role for Applications That Run - * on Amazon EC2 Instances in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see IAM role for applications that run + * on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

*/ IamInstanceProfile?: string; + /** + *

Specifies whether the launch configuration is optimized for EBS I/O + * (true) or not (false). The optimization provides dedicated + * throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O + * performance. This optimization is not available with all instance types. Additional fees + * are incurred when you enable EBS optimization for an instance type that is not + * EBS-optimized by default. For more information, see Amazon EBS-Optimized + * Instances in the Amazon EC2 User Guide for Linux + * Instances.

+ *

The default value is false.

+ */ + EbsOptimized?: boolean; + /** *

For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether * to assign a public IP address to the group's instances. If you specify * true, each instance in the Auto Scaling group receives a unique public IP address. - * For more information, see Launching Auto Scaling Instances in a + * For more information, see Launching Auto Scaling instances in a * VPC in the Amazon EC2 Auto Scaling User Guide.

*

If you specify this parameter, you must specify at least one subnet for * VPCZoneIdentifier when you create your group.

@@ -1535,6 +1476,27 @@ export interface CreateLaunchConfigurationType { * */ AssociatePublicIpAddress?: boolean; + + /** + *

The tenancy of the instance. An instance with dedicated tenancy runs on + * isolated, single-tenant hardware and can only be launched into a VPC.

+ *

To launch dedicated instances into a shared tenancy VPC (a VPC with the instance + * placement tenancy attribute set to default), you must set the value of this + * parameter to dedicated.

+ *

If you specify PlacementTenancy, you must specify at least one subnet for + * VPCZoneIdentifier when you create your group.

+ *

For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the + * Amazon EC2 Auto Scaling User Guide.

+ *

Valid Values: default | dedicated + *

+ */ + PlacementTenancy?: string; + + /** + *

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the + * Amazon EC2 Auto Scaling User Guide.

+ */ + MetadataOptions?: InstanceMetadataOptions; } export namespace CreateLaunchConfigurationType { @@ -1691,14 +1653,14 @@ export namespace DeletePolicyType { export interface DeleteScheduledActionType { /** - *

The name of the action to delete.

+ *

The name of the Auto Scaling group.

*/ - ScheduledActionName: string | undefined; + AutoScalingGroupName: string | undefined; /** - *

The name of the Auto Scaling group.

+ *

The name of the action to delete.

*/ - AutoScalingGroupName: string | undefined; + ScheduledActionName: string | undefined; } export namespace DeleteScheduledActionType { @@ -1727,17 +1689,17 @@ export interface DescribeAccountLimitsAnswer { */ MaxNumberOfAutoScalingGroups?: number; - /** - *

The current number of groups for your AWS account.

- */ - NumberOfAutoScalingGroups?: number; - /** *

The maximum number of launch configurations allowed for your AWS account. The default * is 200 launch configurations per AWS Region.

*/ MaxNumberOfLaunchConfigurations?: number; + /** + *

The current number of groups for your AWS account.

+ */ + NumberOfAutoScalingGroups?: number; + /** *

The current number of launch configurations for your AWS account.

*/ @@ -1765,18 +1727,17 @@ export namespace DescribeAdjustmentTypesAnswer { export interface AutoScalingGroupNamesType { /** - *

The token for the next set of items to return. (You received this token from a - * previous call.)

+ *

The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can + * optionally increase this limit using the MaxRecords parameter.

+ *

If you omit this parameter, all Auto Scaling groups are described.

*/ - NextToken?: string; + AutoScalingGroupNames?: string[]; /** - *

The names of the Auto Scaling groups. Each name can be a maximum of 1600 characters. By - * default, you can only specify up to 50 names. You can optionally increase this limit - * using the MaxRecords parameter.

- *

If you omit this parameter, all Auto Scaling groups are described.

+ *

The token for the next set of items to return. (You received this token from a + * previous call.)

*/ - AutoScalingGroupNames?: string[]; + NextToken?: string; /** *

The maximum number of items to return with this call. The default value is @@ -1899,28 +1860,27 @@ export enum LifecycleState { *

Describes an EC2 instance.

*/ export interface Instance { - /** - *

The instance type of the EC2 instance.

- */ - InstanceType?: string; - /** *

The ID of the instance.

*/ InstanceId: string | undefined; /** - *

The number of capacity units contributed by the instance based on its instance - * type.

- *

Valid Range: Minimum value of 1. Maximum value of 999.

+ *

The instance type of the EC2 instance.

*/ - WeightedCapacity?: string; + InstanceType?: string; /** *

The Availability Zone in which the instance is running.

*/ AvailabilityZone: string | undefined; + /** + *

A description of the current lifecycle state. The Quarantined state is + * not used.

+ */ + LifecycleState: LifecycleState | string | undefined; + /** *

The last reported health status of the instance. "Healthy" means that the instance is * healthy and should remain in service. "Unhealthy" means that the instance is unhealthy @@ -1929,10 +1889,9 @@ export interface Instance { HealthStatus: string | undefined; /** - *

A description of the current lifecycle state. The Quarantined state is - * not used.

+ *

The launch configuration associated with the instance.

*/ - LifecycleState: LifecycleState | string | undefined; + LaunchConfigurationName?: string; /** *

The launch template for the instance.

@@ -1946,9 +1905,11 @@ export interface Instance { ProtectedFromScaleIn: boolean | undefined; /** - *

The launch configuration associated with the instance.

+ *

The number of capacity units contributed by the instance based on its instance + * type.

+ *

Valid Range: Minimum value of 1. Maximum value of 999.

*/ - LaunchConfigurationName?: string; + WeightedCapacity?: string; } export namespace Instance { @@ -1958,19 +1919,19 @@ export namespace Instance { } /** - *

Describes an automatic scaling process that has been suspended.

- *

For more information, see Scaling Processes in the Amazon EC2 Auto Scaling User Guide.

+ *

Describes an auto scaling process that has been suspended.

+ *

For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

*/ export interface SuspendedProcess { /** - *

The reason that the process was suspended.

+ *

The name of the suspended process.

*/ - SuspensionReason?: string; + ProcessName?: string; /** - *

The name of the suspended process.

+ *

The reason that the process was suspended.

*/ - ProcessName?: string; + SuspensionReason?: string; } export namespace SuspendedProcess { @@ -1984,31 +1945,31 @@ export namespace SuspendedProcess { */ export interface TagDescription { /** - *

The tag value.

+ *

The name of the group.

*/ - Value?: string; + ResourceId?: string; /** - *

The tag key.

+ *

The type of resource. The only supported value is + * auto-scaling-group.

*/ - Key?: string; + ResourceType?: string; /** - *

Determines whether the tag is added to new instances as they are launched in the - * group.

+ *

The tag key.

*/ - PropagateAtLaunch?: boolean; + Key?: string; /** - *

The name of the group.

+ *

The tag value.

*/ - ResourceId?: string; + Value?: string; /** - *

The type of resource. The only supported value is - * auto-scaling-group.

+ *

Determines whether the tag is added to new instances as they are launched in the + * group.

*/ - ResourceType?: string; + PropagateAtLaunch?: boolean; } export namespace TagDescription { @@ -2019,17 +1980,12 @@ export namespace TagDescription { /** *

Describes an Auto Scaling group.

- */ -export interface AutoScalingGroup { - /** - *

One or more subnet IDs, if applicable, separated by commas.

- */ - VPCZoneIdentifier?: string; - + */ +export interface AutoScalingGroup { /** - *

The metrics enabled for the group.

+ *

The name of the Auto Scaling group.

*/ - EnabledMetrics?: EnabledMetric[]; + AutoScalingGroupName: string | undefined; /** *

The Amazon Resource Name (ARN) of the Auto Scaling group.

@@ -2037,56 +1993,54 @@ export interface AutoScalingGroup { AutoScalingGroupARN?: string; /** - *

The duration of the default cooldown period, in seconds.

+ *

The name of the associated launch configuration.

*/ - DefaultCooldown: number | undefined; + LaunchConfigurationName?: string; /** - *

The maximum size of the group.

+ *

The launch template for the group.

*/ - MaxSize: number | undefined; + LaunchTemplate?: LaunchTemplateSpecification; /** - *

The name of the Auto Scaling group.

+ *

The mixed instances policy for the group.

*/ - AutoScalingGroupName: string | undefined; + MixedInstancesPolicy?: MixedInstancesPolicy; /** - *

The Amazon Resource Names (ARN) of the target groups for your load balancer.

+ *

The minimum size of the group.

*/ - TargetGroupARNs?: string[]; + MinSize: number | undefined; /** - *

One or more Availability Zones for the group.

+ *

The maximum size of the group.

*/ - AvailabilityZones: string[] | undefined; + MaxSize: number | undefined; /** - *

The current state of the group when the DeleteAutoScalingGroup - * operation is in progress.

+ *

The desired size of the group.

*/ - Status?: string; + DesiredCapacity: number | undefined; /** - *

Indicates whether capacity rebalance is enabled.

+ *

The duration of the default cooldown period, in seconds.

*/ - CapacityRebalance?: boolean; + DefaultCooldown: number | undefined; /** - *

The termination policies for the group.

+ *

One or more Availability Zones for the group.

*/ - TerminationPolicies?: string[]; + AvailabilityZones: string[] | undefined; /** - *

The name of the placement group into which to launch your instances, if any.

+ *

One or more load balancers associated with the group.

*/ - PlacementGroup?: string; + LoadBalancerNames?: string[]; /** - *

The maximum amount of time, in seconds, that an instance can be in service.

- *

Valid Range: Minimum value of 0.

+ *

The Amazon Resource Names (ARN) of the target groups for your load balancer.

*/ - MaxInstanceLifetime?: number; + TargetGroupARNs?: string[]; /** *

The service to use for the health checks. The valid values are EC2 and @@ -2097,72 +2051,79 @@ export interface AutoScalingGroup { HealthCheckType: string | undefined; /** - *

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling - * when scaling in.

+ *

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status + * of an EC2 instance that has come into service.

*/ - NewInstancesProtectedFromScaleIn?: boolean; + HealthCheckGracePeriod?: number; /** - *

The desired size of the group.

+ *

The EC2 instances associated with the group.

*/ - DesiredCapacity: number | undefined; + Instances?: Instance[]; /** - *

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to - * call other AWS services on your behalf.

+ *

The date and time the group was created.

*/ - ServiceLinkedRoleARN?: string; + CreatedTime: Date | undefined; /** - *

The minimum size of the group.

+ *

The suspended processes associated with the group.

*/ - MinSize: number | undefined; + SuspendedProcesses?: SuspendedProcess[]; /** - *

The launch template for the group.

+ *

The name of the placement group into which to launch your instances, if any.

*/ - LaunchTemplate?: LaunchTemplateSpecification; + PlacementGroup?: string; /** - *

The EC2 instances associated with the group.

+ *

One or more subnet IDs, if applicable, separated by commas.

*/ - Instances?: Instance[]; + VPCZoneIdentifier?: string; /** - *

The date and time the group was created.

+ *

The metrics enabled for the group.

*/ - CreatedTime: Date | undefined; + EnabledMetrics?: EnabledMetric[]; /** - *

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status - * of an EC2 instance that has come into service.

+ *

The current state of the group when the DeleteAutoScalingGroup + * operation is in progress.

*/ - HealthCheckGracePeriod?: number; + Status?: string; /** - *

The mixed instances policy for the group.

+ *

The tags for the group.

*/ - MixedInstancesPolicy?: MixedInstancesPolicy; + Tags?: TagDescription[]; /** - *

One or more load balancers associated with the group.

+ *

The termination policies for the group.

*/ - LoadBalancerNames?: string[]; + TerminationPolicies?: string[]; /** - *

The tags for the group.

+ *

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling + * when scaling in.

*/ - Tags?: TagDescription[]; + NewInstancesProtectedFromScaleIn?: boolean; /** - *

The suspended processes associated with the group.

+ *

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to + * call other AWS services on your behalf.

*/ - SuspendedProcesses?: SuspendedProcess[]; + ServiceLinkedRoleARN?: string; /** - *

The name of the associated launch configuration.

+ *

The maximum amount of time, in seconds, that an instance can be in service.

+ *

Valid Range: Minimum value of 0.

*/ - LaunchConfigurationName?: string; + MaxInstanceLifetime?: number; + + /** + *

Indicates whether Capacity Rebalancing is enabled.

+ */ + CapacityRebalance?: boolean; } export namespace AutoScalingGroup { @@ -2172,6 +2133,11 @@ export namespace AutoScalingGroup { } export interface AutoScalingGroupsType { + /** + *

The groups.

+ */ + AutoScalingGroups: AutoScalingGroup[] | undefined; + /** *

A string that indicates that the response contains more items than can be returned in * a single response. To receive additional items, specify this string for the @@ -2179,11 +2145,6 @@ export interface AutoScalingGroupsType { * null when there are no more items to return.

*/ NextToken?: string; - - /** - *

The groups.

- */ - AutoScalingGroups: AutoScalingGroup[] | undefined; } export namespace AutoScalingGroupsType { @@ -2215,21 +2176,19 @@ export namespace InvalidNextToken { */ export interface AutoScalingInstanceDetails { /** - *

The name of the Auto Scaling group for the instance.

+ *

The ID of the instance.

*/ - AutoScalingGroupName: string | undefined; + InstanceId: string | undefined; /** - *

The number of capacity units contributed by the instance based on its instance - * type.

- *

Valid Range: Minimum value of 1. Maximum value of 999.

+ *

The instance type of the EC2 instance.

*/ - WeightedCapacity?: string; + InstanceType?: string; /** - *

The instance type of the EC2 instance.

+ *

The name of the Auto Scaling group for the instance.

*/ - InstanceType?: string; + AutoScalingGroupName: string | undefined; /** *

The Availability Zone for the instance.

@@ -2237,9 +2196,9 @@ export interface AutoScalingInstanceDetails { AvailabilityZone: string | undefined; /** - *

The launch template for the instance.

+ *

The lifecycle state for the instance.

*/ - LaunchTemplate?: LaunchTemplateSpecification; + LifecycleState: string | undefined; /** *

The last reported health status of this instance. "Healthy" means that the instance is @@ -2249,14 +2208,15 @@ export interface AutoScalingInstanceDetails { HealthStatus: string | undefined; /** - *

The lifecycle state for the instance.

+ *

The launch configuration used to launch the instance. This value is not available if + * you attached the instance to the Auto Scaling group.

*/ - LifecycleState: string | undefined; + LaunchConfigurationName?: string; /** - *

The ID of the instance.

+ *

The launch template for the instance.

*/ - InstanceId: string | undefined; + LaunchTemplate?: LaunchTemplateSpecification; /** *

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling @@ -2265,10 +2225,11 @@ export interface AutoScalingInstanceDetails { ProtectedFromScaleIn: boolean | undefined; /** - *

The launch configuration used to launch the instance. This value is not available if - * you attached the instance to the Auto Scaling group.

+ *

The number of capacity units contributed by the instance based on its instance + * type.

+ *

Valid Range: Minimum value of 1. Maximum value of 999.

*/ - LaunchConfigurationName?: string; + WeightedCapacity?: string; } export namespace AutoScalingInstanceDetails { @@ -2306,17 +2267,17 @@ export interface DescribeAutoScalingInstancesType { */ InstanceIds?: string[]; - /** - *

The token for the next set of items to return. (You received this token from a - * previous call.)

- */ - NextToken?: string; - /** *

The maximum number of items to return with this call. The default value is * 50 and the maximum value is 50.

*/ MaxRecords?: number; + + /** + *

The token for the next set of items to return. (You received this token from a + * previous call.)

+ */ + NextToken?: string; } export namespace DescribeAutoScalingInstancesType { @@ -2351,6 +2312,16 @@ export enum InstanceRefreshStatus { *

Describes an instance refresh for an Auto Scaling group.

*/ export interface InstanceRefresh { + /** + *

The instance refresh ID.

+ */ + InstanceRefreshId?: string; + + /** + *

The name of the Auto Scaling group.

+ */ + AutoScalingGroupName?: string; + /** *

The current status for the instance refresh operation:

*
    @@ -2387,23 +2358,14 @@ export interface InstanceRefresh { Status?: InstanceRefreshStatus | string; /** - *

    The number of instances remaining to update before the instance refresh is - * complete.

    - */ - InstancesToUpdate?: number; - - /** - *

    The instance refresh ID.

    + *

    Provides more details about the current status of the instance refresh.

    */ - InstanceRefreshId?: string; + StatusReason?: string; /** - *

    The percentage of the instance refresh that is complete. For each instance - * replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the - * instance's health status changes to healthy and the specified warm-up time passes, the - * instance is considered updated and added to the percentage complete.

    + *

    The date and time at which the instance refresh began.

    */ - PercentageComplete?: number; + StartTime?: Date; /** *

    The date and time at which the instance refresh ended.

    @@ -2411,19 +2373,18 @@ export interface InstanceRefresh { EndTime?: Date; /** - *

    Provides more details about the current status of the instance refresh.

    - */ - StatusReason?: string; - - /** - *

    The date and time at which the instance refresh began.

    + *

    The percentage of the instance refresh that is complete. For each instance + * replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the + * instance's health status changes to healthy and the specified warm-up time passes, the + * instance is considered updated and added to the percentage complete.

    */ - StartTime?: Date; + PercentageComplete?: number; /** - *

    The name of the Auto Scaling group.

    + *

    The number of instances remaining to update before the instance refresh is + * complete.

    */ - AutoScalingGroupName?: string; + InstancesToUpdate?: number; } export namespace InstanceRefresh { @@ -2454,6 +2415,11 @@ export namespace DescribeInstanceRefreshesAnswer { } export interface DescribeInstanceRefreshesType { + /** + *

    The name of the Auto Scaling group.

    + */ + AutoScalingGroupName: string | undefined; + /** *

    One or more instance refresh IDs.

    */ @@ -2465,11 +2431,6 @@ export interface DescribeInstanceRefreshesType { */ NextToken?: string; - /** - *

    The name of the Auto Scaling group.

    - */ - AutoScalingGroupName: string | undefined; - /** *

    The maximum number of items to return with this call. The default value is * 50 and the maximum value is 100.

    @@ -2484,18 +2445,18 @@ export namespace DescribeInstanceRefreshesType { } export interface LaunchConfigurationNamesType { - /** - *

    The token for the next set of items to return. (You received this token from a - * previous call.)

    - */ - NextToken?: string; - /** *

    The launch configuration names. If you omit this parameter, all launch configurations * are described.

    */ LaunchConfigurationNames?: string[]; + /** + *

    The token for the next set of items to return. (You received this token from a + * previous call.)

    + */ + NextToken?: string; + /** *

    The maximum number of items to return with this call. The default value is * 50 and the maximum value is 100.

    @@ -2519,83 +2480,64 @@ export interface LaunchConfiguration { LaunchConfigurationName: string | undefined; /** - *

    The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.

    - *

    For more information, see ClassicLink in the - * Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic - * Instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

    - */ - ClassicLinkVPCId?: string; - - /** - *

    The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the - * Amazon EC2 Auto Scaling User Guide.

    - */ - MetadataOptions?: InstanceMetadataOptions; - - /** - *

    A list that contains the security groups to assign to the instances in the Auto Scaling - * group.

    - *

    For more information, see Security Groups for Your - * VPC in the Amazon Virtual Private Cloud User - * Guide.

    + *

    The Amazon Resource Name (ARN) of the launch configuration.

    */ - SecurityGroups?: string[]; + LaunchConfigurationARN?: string; /** - *

    The tenancy of the instance, either default or dedicated. An - * instance with dedicated tenancy runs on isolated, single-tenant hardware - * and can only be launched into a VPC.

    - *

    For more information, see Instance Placement - * Tenancy in the Amazon EC2 Auto Scaling User Guide.

    + *

    The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more + * information, see Finding an AMI in the + * Amazon EC2 User Guide for Linux Instances.

    */ - PlacementTenancy?: string; + ImageId: string | undefined; /** - *

    The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances.

    - *

    For more information, see Finding an AMI in the + *

    The name of the key pair.

    + *

    For more information, see Amazon EC2 Key Pairs in the * Amazon EC2 User Guide for Linux Instances.

    */ - ImageId: string | undefined; + KeyName?: string; /** - *

    The Base64-encoded user data to make available to the launched EC2 instances.

    - *

    For more information, see Instance Metadata and User - * Data in the Amazon EC2 User Guide for Linux Instances.

    + *

    A list that contains the security groups to assign to the instances in the Auto Scaling group. + * For more information, see Security Groups for Your + * VPC in the Amazon Virtual Private Cloud User + * Guide.

    */ - UserData?: string; + SecurityGroups?: string[]; /** - *

    The name or the Amazon Resource Name (ARN) of the instance profile associated with the - * IAM role for the instance. The instance profile contains the IAM role.

    - *

    For more information, see IAM Role for Applications That Run - * on Amazon EC2 Instances in the Amazon EC2 Auto Scaling User Guide.

    + *

    The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more + * information, see ClassicLink in the + * Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic + * instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

    */ - IamInstanceProfile?: string; + ClassicLinkVPCId?: string; /** *

    The IDs of one or more security groups for the VPC specified in * ClassicLinkVPCId.

    *

    For more information, see ClassicLink in the - * Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic Instances to a VPC in the + * Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic instances to a VPC in the * Amazon EC2 Auto Scaling User Guide.

    */ ClassicLinkVPCSecurityGroups?: string[]; /** - *

    For Auto Scaling groups that are running in a VPC, specifies whether to assign a public IP - * address to the group's instances.

    - *

    For more information, see Launching Auto Scaling Instances in a - * VPC in the Amazon EC2 Auto Scaling User Guide.

    + *

    The Base64-encoded user data to make available to the launched EC2 instances. For more + * information, see Instance metadata and user + * data in the Amazon EC2 User Guide for Linux Instances.

    */ - AssociatePublicIpAddress?: boolean; + UserData?: string; /** - *

    A block device mapping, which specifies the block devices for the instance.

    - *

    For more information, see Block Device - * Mapping in the Amazon EC2 User Guide for Linux - * Instances.

    + *

    The instance type for the instances.

    + *

    For information about available instance types, see Available + * Instance Types in the Amazon EC2 User Guide for Linux + * Instances. + *

    */ - BlockDeviceMappings?: BlockDeviceMapping[]; + InstanceType: string | undefined; /** *

    The ID of the kernel associated with the AMI.

    @@ -2603,25 +2545,17 @@ export interface LaunchConfiguration { KernelId?: string; /** - *

    The creation date and time for the launch configuration.

    + *

    The ID of the RAM disk associated with the AMI.

    */ - CreatedTime: Date | undefined; + RamdiskId?: string; /** - *

    Specifies whether the launch configuration is optimized for EBS I/O - * (true) or not (false).

    - *

    For more information, see Amazon EBS-Optimized - * Instances in the Amazon EC2 User Guide for Linux + *

    A block device mapping, which specifies the block devices for the instance. For more + * information, see Block Device + * Mapping in the Amazon EC2 User Guide for Linux * Instances.

    */ - EbsOptimized?: boolean; - - /** - *

    The name of the key pair.

    - *

    For more information, see Amazon EC2 Key Pairs in the - * Amazon EC2 User Guide for Linux Instances.

    - */ - KeyName?: string; + BlockDeviceMappings?: BlockDeviceMapping[]; /** *

    Controls whether instances in this group are launched with detailed @@ -2633,33 +2567,56 @@ export interface LaunchConfiguration { InstanceMonitoring?: InstanceMonitoring; /** - *

    The instance type for the instances.

    - *

    For information about available instance types, see Available - * Instance Types in the Amazon EC2 User Guide for Linux - * Instances. - *

    + *

    The maximum hourly price to be paid for any Spot Instance launched to fulfill the + * request. Spot Instances are launched when the price you specify exceeds the current Spot + * price. For more information, see Requesting Spot + * Instances in the Amazon EC2 Auto Scaling User Guide.

    */ - InstanceType: string | undefined; + SpotPrice?: string; /** - *

    The Amazon Resource Name (ARN) of the launch configuration.

    + *

    The name or the Amazon Resource Name (ARN) of the instance profile associated with the + * IAM role for the instance. The instance profile contains the IAM role. For more + * information, see IAM role for applications that run + * on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

    */ - LaunchConfigurationARN?: string; + IamInstanceProfile?: string; /** - *

    The maximum hourly price to be paid for any Spot Instance launched to fulfill the - * request. Spot Instances are launched when the price you specify exceeds the current Spot - * price.

    - *

    For more information, see Launching Spot - * Instances in Your Auto Scaling Group in the + *

    The creation date and time for the launch configuration.

    + */ + CreatedTime: Date | undefined; + + /** + *

    Specifies whether the launch configuration is optimized for EBS I/O + * (true) or not (false). For more information, see Amazon + * EBS-Optimized Instances in the Amazon EC2 User Guide for Linux + * Instances.

    + */ + EbsOptimized?: boolean; + + /** + *

    For Auto Scaling groups that are running in a VPC, specifies whether to assign a public IP + * address to the group's instances. For more information, see Launching Auto Scaling instances in a + * VPC in the Amazon EC2 Auto Scaling User Guide.

    + */ + AssociatePublicIpAddress?: boolean; + + /** + *

    The tenancy of the instance, either default or dedicated. An + * instance with dedicated tenancy runs on isolated, single-tenant hardware + * and can only be launched into a VPC.

    + *

    For more information, see Configuring + * instance tenancy with Amazon EC2 Auto Scaling in the * Amazon EC2 Auto Scaling User Guide.

    */ - SpotPrice?: string; + PlacementTenancy?: string; /** - *

    The ID of the RAM disk associated with the AMI.

    + *

    The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the + * Amazon EC2 Auto Scaling User Guide.

    */ - RamdiskId?: string; + MetadataOptions?: InstanceMetadataOptions; } export namespace LaunchConfiguration { @@ -2669,6 +2626,11 @@ export namespace LaunchConfiguration { } export interface LaunchConfigurationsType { + /** + *

    The launch configurations.

    + */ + LaunchConfigurations: LaunchConfiguration[] | undefined; + /** *

    A string that indicates that the response contains more items than can be returned in * a single response. To receive additional items, specify this string for the @@ -2676,11 +2638,6 @@ export interface LaunchConfigurationsType { * null when there are no more items to return.

    */ NextToken?: string; - - /** - *

    The launch configurations.

    - */ - LaunchConfigurations: LaunchConfiguration[] | undefined; } export namespace LaunchConfigurationsType { @@ -2695,6 +2652,16 @@ export namespace LaunchConfigurationsType { * instances.

    */ export interface LifecycleHook { + /** + *

    The name of the lifecycle hook.

    + */ + LifecycleHookName?: string; + + /** + *

    The name of the Auto Scaling group for the lifecycle hook.

    + */ + AutoScalingGroupName?: string; + /** *

    The state of the EC2 instance to which to attach the lifecycle hook. The following are * possible values:

    @@ -2709,13 +2676,6 @@ export interface LifecycleHook { */ LifecycleTransition?: string; - /** - *

    The maximum time, in seconds, that can elapse before the lifecycle hook times out. If - * the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the - * DefaultResult parameter.

    - */ - HeartbeatTimeout?: number; - /** *

    The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the * transition state for the lifecycle hook. The notification target can be either an SQS @@ -2723,12 +2683,6 @@ export interface LifecycleHook { */ NotificationTargetARN?: string; - /** - *

    Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the - * notification target.

    - */ - NotificationMetadata?: string; - /** *

    The ARN of the IAM role that allows the Auto Scaling group to publish to the specified * notification target.

    @@ -2736,21 +2690,17 @@ export interface LifecycleHook { RoleARN?: string; /** - *

    The name of the Auto Scaling group for the lifecycle hook.

    - */ - AutoScalingGroupName?: string; - - /** - *

    Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses - * or if an unexpected failure occurs. The possible values are CONTINUE and - * ABANDON.

    + *

    Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the + * notification target.

    */ - DefaultResult?: string; + NotificationMetadata?: string; /** - *

    The name of the lifecycle hook.

    + *

    The maximum time, in seconds, that can elapse before the lifecycle hook times out. If + * the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the + * DefaultResult parameter.

    */ - LifecycleHookName?: string; + HeartbeatTimeout?: number; /** *

    The maximum time, in seconds, that an instance can remain in a @@ -2759,6 +2709,13 @@ export interface LifecycleHook { * smaller.

    */ GlobalTimeout?: number; + + /** + *

    Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses + * or if an unexpected failure occurs. The possible values are CONTINUE and + * ABANDON.

    + */ + DefaultResult?: string; } export namespace LifecycleHook { @@ -2813,12 +2770,6 @@ export namespace DescribeLifecycleHookTypesAnswer { } export interface DescribeLoadBalancersRequest { - /** - *

    The maximum number of items to return with this call. The default value is - * 100 and the maximum value is 100.

    - */ - MaxRecords?: number; - /** *

    The name of the Auto Scaling group.

    */ @@ -2829,6 +2780,12 @@ export interface DescribeLoadBalancersRequest { * previous call.)

    */ NextToken?: string; + + /** + *

    The maximum number of items to return with this call. The default value is + * 100 and the maximum value is 100.

    + */ + MaxRecords?: number; } export namespace DescribeLoadBalancersRequest { @@ -2850,6 +2807,11 @@ export namespace DescribeLoadBalancersRequest { * Added state.

    */ export interface LoadBalancerState { + /** + *

    The name of the load balancer.

    + */ + LoadBalancerName?: string; + /** *

    One of the following load balancer states:

    *
      @@ -2883,11 +2845,6 @@ export interface LoadBalancerState { *
    */ State?: string; - - /** - *

    The name of the load balancer.

    - */ - LoadBalancerName?: string; } export namespace LoadBalancerState { @@ -2919,15 +2876,15 @@ export namespace DescribeLoadBalancersResponse { export interface DescribeLoadBalancerTargetGroupsRequest { /** - *

    The token for the next set of items to return. (You received this token from a - * previous call.)

    + *

    The name of the Auto Scaling group.

    */ - NextToken?: string; + AutoScalingGroupName: string | undefined; /** - *

    The name of the Auto Scaling group.

    + *

    The token for the next set of items to return. (You received this token from a + * previous call.)

    */ - AutoScalingGroupName: string | undefined; + NextToken?: string; /** *

    The maximum number of items to return with this call. The default value is @@ -3119,14 +3076,14 @@ export namespace MetricCollectionType { export interface DescribeMetricCollectionTypesAnswer { /** - *

    The granularities for the metrics.

    + *

    One or more metrics.

    */ - Granularities?: MetricGranularityType[]; + Metrics?: MetricCollectionType[]; /** - *

    One or more metrics.

    + *

    The granularities for the metrics.

    */ - Metrics?: MetricCollectionType[]; + Granularities?: MetricGranularityType[]; } export namespace DescribeMetricCollectionTypesAnswer { @@ -3139,6 +3096,17 @@ export namespace DescribeMetricCollectionTypesAnswer { *

    Describes a notification.

    */ export interface NotificationConfiguration { + /** + *

    The name of the Auto Scaling group.

    + */ + AutoScalingGroupName?: string; + + /** + *

    The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) + * topic.

    + */ + TopicARN?: string; + /** *

    One of the following event notification types:

    *
      @@ -3170,17 +3138,6 @@ export interface NotificationConfiguration { *
    */ NotificationType?: string; - - /** - *

    The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) - * topic.

    - */ - TopicARN?: string; - - /** - *

    The name of the Auto Scaling group.

    - */ - AutoScalingGroupName?: string; } export namespace NotificationConfiguration { @@ -3190,6 +3147,11 @@ export namespace NotificationConfiguration { } export interface DescribeNotificationConfigurationsAnswer { + /** + *

    The notification configurations.

    + */ + NotificationConfigurations: NotificationConfiguration[] | undefined; + /** *

    A string that indicates that the response contains more items than can be returned in * a single response. To receive additional items, specify this string for the @@ -3197,11 +3159,6 @@ export interface DescribeNotificationConfigurationsAnswer { * null when there are no more items to return.

    */ NextToken?: string; - - /** - *

    The notification configurations.

    - */ - NotificationConfigurations: NotificationConfiguration[] | undefined; } export namespace DescribeNotificationConfigurationsAnswer { @@ -3212,15 +3169,15 @@ export namespace DescribeNotificationConfigurationsAnswer { export interface DescribeNotificationConfigurationsType { /** - *

    The token for the next set of items to return. (You received this token from a - * previous call.)

    + *

    The name of the Auto Scaling group.

    */ - NextToken?: string; + AutoScalingGroupNames?: string[]; /** - *

    The name of the Auto Scaling group.

    + *

    The token for the next set of items to return. (You received this token from a + * previous call.)

    */ - AutoScalingGroupNames?: string[]; + NextToken?: string; /** *

    The maximum number of items to return with this call. The default value is @@ -3242,16 +3199,12 @@ export interface DescribePoliciesType { AutoScalingGroupName?: string; /** - *

    The maximum number of items to be returned with each call. The default value is - * 50 and the maximum value is 100.

    - */ - MaxRecords?: number; - - /** - *

    The token for the next set of items to return. (You received this token from a - * previous call.)

    + *

    The names of one or more policies. If you omit this parameter, all policies are + * described. If a group name is provided, the results are limited to that group. This list + * is limited to 50 items. If you specify an unknown policy name, it is ignored with no + * error.

    */ - NextToken?: string; + PolicyNames?: string[]; /** *

    One or more policy types. The valid values are SimpleScaling, @@ -3260,12 +3213,16 @@ export interface DescribePoliciesType { PolicyTypes?: string[]; /** - *

    The names of one or more policies. If you omit this parameter, all policies are - * described. If a group name is provided, the results are limited to that group. This list - * is limited to 50 items. If you specify an unknown policy name, it is ignored with no - * error.

    + *

    The token for the next set of items to return. (You received this token from a + * previous call.)

    + */ + NextToken?: string; + + /** + *

    The maximum number of items to be returned with each call. The default value is + * 50 and the maximum value is 100.

    */ - PolicyNames?: string[]; + MaxRecords?: number; } export namespace DescribePoliciesType { @@ -3309,7 +3266,7 @@ export namespace DescribePoliciesType { * *
*

For more information, see Step - * Adjustments in the Amazon EC2 Auto Scaling User Guide.

+ * adjustments in the Amazon EC2 Auto Scaling User Guide.

*/ export interface StepAdjustment { /** @@ -3321,13 +3278,6 @@ export interface StepAdjustment { */ MetricIntervalLowerBound?: number; - /** - *

The amount by which to scale, based on the specified adjustment type. A positive value - * adds to the current capacity while a negative number removes from the current - * capacity.

- */ - ScalingAdjustment: number | undefined; - /** *

The upper bound for the difference between the alarm threshold and the CloudWatch metric. If * the metric value is above the breach threshold, the upper bound is exclusive (the metric @@ -3337,6 +3287,13 @@ export interface StepAdjustment { *

The upper bound must be greater than the lower bound.

*/ MetricIntervalUpperBound?: number; + + /** + *

The amount by which to scale, based on the specified adjustment type. A positive value + * adds to the current capacity while a negative number removes from the current + * capacity.

+ */ + ScalingAdjustment: number | undefined; } export namespace StepAdjustment { @@ -3397,6 +3354,16 @@ export enum MetricStatistic { * Concepts.

*/ export interface CustomizedMetricSpecification { + /** + *

The name of the metric.

+ */ + MetricName: string | undefined; + + /** + *

The namespace of the metric.

+ */ + Namespace: string | undefined; + /** *

The dimensions of the metric.

*

Conditional: If you published your metric with dimensions, you must specify the same @@ -3413,16 +3380,6 @@ export interface CustomizedMetricSpecification { *

The unit of the metric.

*/ Unit?: string; - - /** - *

The namespace of the metric.

- */ - Namespace: string | undefined; - - /** - *

The name of the metric.

- */ - MetricName: string | undefined; } export namespace CustomizedMetricSpecification { @@ -3514,12 +3471,10 @@ export interface TargetTrackingConfiguration { PredefinedMetricSpecification?: PredefinedMetricSpecification; /** - *

Indicates whether scaling in by the target tracking scaling policy is disabled. If - * scaling in is disabled, the target tracking scaling policy doesn't remove instances from - * the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from - * the Auto Scaling group. The default is false.

+ *

A customized metric. You must specify either a predefined metric or a customized + * metric.

*/ - DisableScaleIn?: boolean; + CustomizedMetricSpecification?: CustomizedMetricSpecification; /** *

The target value for the metric.

@@ -3527,10 +3482,12 @@ export interface TargetTrackingConfiguration { TargetValue: number | undefined; /** - *

A customized metric. You must specify either a predefined metric or a customized - * metric.

+ *

Indicates whether scaling in by the target tracking scaling policy is disabled. If + * scaling in is disabled, the target tracking scaling policy doesn't remove instances from + * the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from + * the Auto Scaling group. The default is false.

*/ - CustomizedMetricSpecification?: CustomizedMetricSpecification; + DisableScaleIn?: boolean; } export namespace TargetTrackingConfiguration { @@ -3544,15 +3501,43 @@ export namespace TargetTrackingConfiguration { */ export interface ScalingPolicy { /** - *

The CloudWatch alarms related to the policy.

+ *

The name of the Auto Scaling group.

*/ - Alarms?: Alarm[]; + AutoScalingGroupName?: string; /** - *

The estimated time, in seconds, until a newly launched instance can contribute to the - * CloudWatch metrics.

+ *

The name of the scaling policy.

*/ - EstimatedInstanceWarmup?: number; + PolicyName?: string; + + /** + *

The Amazon Resource Name (ARN) of the policy.

+ */ + PolicyARN?: string; + + /** + *

One of the following policy types:

+ *
    + *
  • + *

    + * TargetTrackingScaling + *

    + *
  • + *
  • + *

    + * StepScaling + *

    + *
  • + *
  • + *

    + * SimpleScaling (default)

    + *
  • + *
+ *

For more information, see Target tracking + * scaling policies and Step and simple scaling + * policies in the Amazon EC2 Auto Scaling User Guide.

+ */ + PolicyType?: string; /** *

Specifies how the scaling adjustment is interpreted (for example, an absolute number @@ -3561,25 +3546,12 @@ export interface ScalingPolicy { */ AdjustmentType?: string; - /** - *

The amount by which to scale, based on the specified adjustment type. A positive value - * adds to the current capacity while a negative number removes from the current - * capacity.

- */ - ScalingAdjustment?: number; - /** *

Available for backward compatibility. Use MinAdjustmentMagnitude * instead.

*/ MinAdjustmentStep?: number; - /** - *

Indicates whether the policy is enabled (true) or disabled - * (false).

- */ - Enabled?: boolean; - /** *

The minimum value to scale by when the adjustment type is * PercentChangeInCapacity.

@@ -3587,24 +3559,22 @@ export interface ScalingPolicy { MinAdjustmentMagnitude?: number; /** - *

The name of the scaling policy.

- */ - PolicyName?: string; - - /** - *

The name of the Auto Scaling group.

+ *

The amount by which to scale, based on the specified adjustment type. A positive value + * adds to the current capacity while a negative number removes from the current + * capacity.

*/ - AutoScalingGroupName?: string; + ScalingAdjustment?: number; /** - *

The Amazon Resource Name (ARN) of the policy.

+ *

The duration of the policy's cooldown period, in seconds.

*/ - PolicyARN?: string; + Cooldown?: number; /** - *

A target tracking scaling policy.

+ *

A set of adjustments that enable you to scale based on the size of the alarm + * breach.

*/ - TargetTrackingConfiguration?: TargetTrackingConfiguration; + StepAdjustments?: StepAdjustment[]; /** *

The aggregation type for the CloudWatch metrics. The valid values are Minimum, @@ -3613,39 +3583,26 @@ export interface ScalingPolicy { MetricAggregationType?: string; /** - *

One of the following policy types:

- *
    - *
  • - *

    - * TargetTrackingScaling - *

    - *
  • - *
  • - *

    - * StepScaling - *

    - *
  • - *
  • - *

    - * SimpleScaling (default)

    - *
  • - *
- *

For more information, see Target Tracking - * Scaling Policies and Step and Simple Scaling - * Policies in the Amazon EC2 Auto Scaling User Guide.

+ *

The estimated time, in seconds, until a newly launched instance can contribute to the + * CloudWatch metrics.

*/ - PolicyType?: string; + EstimatedInstanceWarmup?: number; /** - *

A set of adjustments that enable you to scale based on the size of the alarm - * breach.

+ *

The CloudWatch alarms related to the policy.

*/ - StepAdjustments?: StepAdjustment[]; + Alarms?: Alarm[]; /** - *

The duration of the policy's cooldown period, in seconds.

+ *

A target tracking scaling policy.

*/ - Cooldown?: number; + TargetTrackingConfiguration?: TargetTrackingConfiguration; + + /** + *

Indicates whether the policy is enabled (true) or disabled + * (false).

+ */ + Enabled?: boolean; } export namespace ScalingPolicy { @@ -3676,12 +3633,6 @@ export namespace PoliciesType { } export interface DescribeScalingActivitiesType { - /** - *

The token for the next set of items to return. (You received this token from a - * previous call.)

- */ - NextToken?: string; - /** *

The activity IDs of the desired scaling activities. You can specify up to 50 IDs. If * you omit this parameter, all activities for the past six weeks are described. If unknown @@ -3700,6 +3651,12 @@ export interface DescribeScalingActivitiesType { * 100 and the maximum value is 100.

*/ MaxRecords?: number; + + /** + *

The token for the next set of items to return. (You received this token from a + * previous call.)

+ */ + NextToken?: string; } export namespace DescribeScalingActivitiesType { @@ -3710,7 +3667,7 @@ export namespace DescribeScalingActivitiesType { /** *

Describes a process type.

- *

For more information, see Scaling Processes in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

*/ export interface ProcessType { /** @@ -3786,12 +3743,6 @@ export namespace ProcessesType { } export interface DescribeScheduledActionsType { - /** - *

The token for the next set of items to return. (You received this token from a - * previous call.)

- */ - NextToken?: string; - /** *

The name of the Auto Scaling group.

*/ @@ -3805,10 +3756,10 @@ export interface DescribeScheduledActionsType { ScheduledActionNames?: string[]; /** - *

The maximum number of items to return with this call. The default value is - * 50 and the maximum value is 100.

+ *

The earliest scheduled start time to return. If scheduled action names are provided, + * this parameter is ignored.

*/ - MaxRecords?: number; + StartTime?: Date; /** *

The latest scheduled start time to return. If scheduled action names are provided, @@ -3817,10 +3768,16 @@ export interface DescribeScheduledActionsType { EndTime?: Date; /** - *

The earliest scheduled start time to return. If scheduled action names are provided, - * this parameter is ignored.

+ *

The token for the next set of items to return. (You received this token from a + * previous call.)

*/ - StartTime?: Date; + NextToken?: string; + + /** + *

The maximum number of items to return with this call. The default value is + * 50 and the maximum value is 100.

+ */ + MaxRecords?: number; } export namespace DescribeScheduledActionsType { @@ -3834,6 +3791,11 @@ export namespace DescribeScheduledActionsType { * action.

*/ export interface ScheduledUpdateGroupAction { + /** + *

The name of the Auto Scaling group.

+ */ + AutoScalingGroupName?: string; + /** *

The name of the scheduled action.

*/ @@ -3845,28 +3807,9 @@ export interface ScheduledUpdateGroupAction { ScheduledActionARN?: string; /** - *

The maximum size of the Auto Scaling group.

- */ - MaxSize?: number; - - /** - *

The name of the Auto Scaling group.

- */ - AutoScalingGroupName?: string; - - /** - *

The recurring schedule for the action, in Unix cron syntax format.

- *

When StartTime and EndTime are specified with - * Recurrence, they form the boundaries of when the recurring action - * starts and stops.

- */ - Recurrence?: string; - - /** - *

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled - * action runs and the capacity it attempts to maintain.

+ *

This parameter is no longer used.

*/ - DesiredCapacity?: number; + Time?: Date; /** *

The date and time in UTC for this action to start. For example, @@ -3883,14 +3826,28 @@ export interface ScheduledUpdateGroupAction { EndTime?: Date; /** - *

This parameter is no longer used.

+ *

The recurring schedule for the action, in Unix cron syntax format.

+ *

When StartTime and EndTime are specified with + * Recurrence, they form the boundaries of when the recurring action + * starts and stops.

*/ - Time?: Date; + Recurrence?: string; /** *

The minimum size of the Auto Scaling group.

*/ MinSize?: number; + + /** + *

The maximum size of the Auto Scaling group.

+ */ + MaxSize?: number; + + /** + *

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled + * action runs and the capacity it attempts to maintain.

+ */ + DesiredCapacity?: number; } export namespace ScheduledUpdateGroupAction { @@ -3900,6 +3857,11 @@ export namespace ScheduledUpdateGroupAction { } export interface ScheduledActionsType { + /** + *

The scheduled actions.

+ */ + ScheduledUpdateGroupActions?: ScheduledUpdateGroupAction[]; + /** *

A string that indicates that the response contains more items than can be returned in * a single response. To receive additional items, specify this string for the @@ -3907,11 +3869,6 @@ export interface ScheduledActionsType { * null when there are no more items to return.

*/ NextToken?: string; - - /** - *

The scheduled actions.

- */ - ScheduledUpdateGroupActions?: ScheduledUpdateGroupAction[]; } export namespace ScheduledActionsType { @@ -3923,20 +3880,20 @@ export namespace ScheduledActionsType { /** *

Describes a filter that is used to return a more specific list of results when * describing tags.

- *

For more information, see Tagging Auto Scaling Groups and - * Instances in the Amazon EC2 Auto Scaling User Guide.

+ *

For more information, see Tagging Auto Scaling groups and + * instances in the Amazon EC2 Auto Scaling User Guide.

*/ export interface Filter { - /** - *

One or more filter values. Filter values are case-sensitive.

- */ - Values?: string[]; - /** *

The name of the filter. The valid values are: auto-scaling-group, * key, value, and propagate-at-launch.

*/ - Name?: string; + Name?: string; + + /** + *

One or more filter values. Filter values are case-sensitive.

+ */ + Values?: string[]; } export namespace Filter { @@ -3946,18 +3903,18 @@ export namespace Filter { } export interface DescribeTagsType { - /** - *

The token for the next set of items to return. (You received this token from a - * previous call.)

- */ - NextToken?: string; - /** *

One or more filters to scope the tags to return. The maximum number of filters per * filter type (for example, auto-scaling-group) is 1000.

*/ Filters?: Filter[]; + /** + *

The token for the next set of items to return. (You received this token from a + * previous call.)

+ */ + NextToken?: string; + /** *

The maximum number of items to return with this call. The default value is * 50 and the maximum value is 100.

@@ -3972,6 +3929,11 @@ export namespace DescribeTagsType { } export interface TagsType { + /** + *

One or more tags.

+ */ + Tags?: TagDescription[]; + /** *

A string that indicates that the response contains more items than can be returned in * a single response. To receive additional items, specify this string for the @@ -3979,11 +3941,6 @@ export interface TagsType { * null when there are no more items to return.

*/ NextToken?: string; - - /** - *

One or more tags.

- */ - Tags?: TagDescription[]; } export namespace TagsType { @@ -4023,10 +3980,9 @@ export namespace DetachInstancesAnswer { export interface DetachInstancesQuery { /** - *

Indicates whether the Auto Scaling group decrements the desired capacity value by the number - * of instances detached.

+ *

The IDs of the instances. You can specify up to 20 instances.

*/ - ShouldDecrementDesiredCapacity: boolean | undefined; + InstanceIds?: string[]; /** *

The name of the Auto Scaling group.

@@ -4034,9 +3990,10 @@ export interface DetachInstancesQuery { AutoScalingGroupName: string | undefined; /** - *

The IDs of the instances. You can specify up to 20 instances.

+ *

Indicates whether the Auto Scaling group decrements the desired capacity value by the number + * of instances detached.

*/ - InstanceIds?: string[]; + ShouldDecrementDesiredCapacity: boolean | undefined; } export namespace DetachInstancesQuery { @@ -4081,15 +4038,15 @@ export namespace DetachLoadBalancerTargetGroupsResultType { export interface DetachLoadBalancerTargetGroupsType { /** - *

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target - * groups.

+ *

The name of the Auto Scaling group.

*/ - TargetGroupARNs: string[] | undefined; + AutoScalingGroupName: string | undefined; /** - *

The name of the Auto Scaling group.

+ *

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target + * groups.

*/ - AutoScalingGroupName: string | undefined; + TargetGroupARNs: string[] | undefined; } export namespace DetachLoadBalancerTargetGroupsType { @@ -4099,6 +4056,11 @@ export namespace DetachLoadBalancerTargetGroupsType { } export interface DisableMetricsCollectionQuery { + /** + *

The name of the Auto Scaling group.

+ */ + AutoScalingGroupName: string | undefined; + /** *

Specifies one or more of the following metrics:

*
    @@ -4171,11 +4133,6 @@ export interface DisableMetricsCollectionQuery { *

    If you omit this parameter, all metrics are disabled.

    */ Metrics?: string[]; - - /** - *

    The name of the Auto Scaling group.

    - */ - AutoScalingGroupName: string | undefined; } export namespace DisableMetricsCollectionQuery { @@ -4185,6 +4142,11 @@ export namespace DisableMetricsCollectionQuery { } export interface EnableMetricsCollectionQuery { + /** + *

    The name of the Auto Scaling group.

    + */ + AutoScalingGroupName: string | undefined; + /** *

    Specifies which group-level metrics to start collecting. You can specify one or more * of the following metrics:

    @@ -4262,11 +4224,6 @@ export interface EnableMetricsCollectionQuery { */ Metrics?: string[]; - /** - *

    The name of the Auto Scaling group.

    - */ - AutoScalingGroupName: string | undefined; - /** *

    The granularity to associate with the metrics to collect. The only valid value is * 1Minute.

    @@ -4318,15 +4275,6 @@ export namespace EnterStandbyQuery { } export interface ExecutePolicyType { - /** - *

    Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing - * the policy.

    - *

    Valid only if the policy type is SimpleScaling. For more information, see - * Scaling - * Cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    - */ - HonorCooldown?: boolean; - /** *

    The name of the Auto Scaling group.

    */ @@ -4337,6 +4285,15 @@ export interface ExecutePolicyType { */ PolicyName: string | undefined; + /** + *

    Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing + * the policy.

    + *

    Valid only if the policy type is SimpleScaling. For more information, see + * Scaling + * cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    + */ + HonorCooldown?: boolean; + /** *

    The metric value to compare to BreachThreshold. This enables you to * execute a policy of type StepScaling and determine which step adjustment to @@ -4379,14 +4336,14 @@ export namespace ExitStandbyAnswer { export interface ExitStandbyQuery { /** - *

    The name of the Auto Scaling group.

    + *

    The IDs of the instances. You can specify up to 20 instances.

    */ - AutoScalingGroupName: string | undefined; + InstanceIds?: string[]; /** - *

    The IDs of the instances. You can specify up to 20 instances.

    + *

    The name of the Auto Scaling group.

    */ - InstanceIds?: string[]; + AutoScalingGroupName: string | undefined; } export namespace ExitStandbyQuery { @@ -4404,6 +4361,16 @@ export namespace PutLifecycleHookAnswer { } export interface PutLifecycleHookType { + /** + *

    The name of the lifecycle hook.

    + */ + LifecycleHookName: string | undefined; + + /** + *

    The name of the Auto Scaling group.

    + */ + AutoScalingGroupName: string | undefined; + /** *

    The instance state to which you want to attach the lifecycle hook. The valid values * are:

    @@ -4419,27 +4386,6 @@ export interface PutLifecycleHookType { */ LifecycleTransition?: string; - /** - *

    The maximum time, in seconds, that can elapse before the lifecycle hook times out. The - * range is from 30 to 7200 seconds. The default value is - * 3600 seconds (1 hour).

    - *

    If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in - * the DefaultResult parameter. You can prevent the lifecycle hook from timing - * out by calling the RecordLifecycleActionHeartbeat API.

    - */ - HeartbeatTimeout?: number; - - /** - *

    Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to - * the notification target.

    - */ - NotificationMetadata?: string; - - /** - *

    The name of the Auto Scaling group.

    - */ - AutoScalingGroupName: string | undefined; - /** *

    The ARN of the IAM role that allows the Auto Scaling group to publish to the specified * notification target, for example, an Amazon SNS topic or an Amazon SQS queue.

    @@ -4447,11 +4393,6 @@ export interface PutLifecycleHookType { */ RoleARN?: string; - /** - *

    The name of the lifecycle hook.

    - */ - LifecycleHookName: string | undefined; - /** *

    The ARN of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance * is in the transition state for the lifecycle hook. This target can be either an SQS @@ -4466,6 +4407,22 @@ export interface PutLifecycleHookType { */ NotificationTargetARN?: string; + /** + *

    Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to + * the notification target.

    + */ + NotificationMetadata?: string; + + /** + *

    The maximum time, in seconds, that can elapse before the lifecycle hook times out. The + * range is from 30 to 7200 seconds. The default value is + * 3600 seconds (1 hour).

    + *

    If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in + * the DefaultResult parameter. You can prevent the lifecycle hook from timing + * out by calling the RecordLifecycleActionHeartbeat API.

    + */ + HeartbeatTimeout?: number; + /** *

    Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses * or if an unexpected failure occurs. This parameter can be either CONTINUE @@ -4481,6 +4438,11 @@ export namespace PutLifecycleHookType { } export interface PutNotificationConfigurationType { + /** + *

    The name of the Auto Scaling group.

    + */ + AutoScalingGroupName: string | undefined; + /** *

    The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) * topic.

    @@ -4492,11 +4454,6 @@ export interface PutNotificationConfigurationType { * types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.

    */ NotificationTypes: string[] | undefined; - - /** - *

    The name of the Auto Scaling group.

    - */ - AutoScalingGroupName: string | undefined; } export namespace PutNotificationConfigurationType { @@ -4528,86 +4485,51 @@ export namespace PolicyARNType { export interface PutScalingPolicyType { /** - *

    The amount by which to scale, based on the specified adjustment type. A positive value - * adds to the current capacity while a negative number removes from the current capacity. - * For exact capacity, you must specify a positive value.

    - *

    Required if the policy type is SimpleScaling. (Not used with any other - * policy type.)

    + *

    The name of the Auto Scaling group.

    */ - ScalingAdjustment?: number; + AutoScalingGroupName: string | undefined; /** - *

    A target tracking scaling policy. Includes support for predefined or customized - * metrics.

    - *

    The following predefined metrics are available:

    + *

    The name of the policy.

    + */ + PolicyName: string | undefined; + + /** + *

    One of the following policy types:

    *
      *
    • *

      - * ASGAverageCPUUtilization - *

      - *
    • - *
    • - *

      - * ASGAverageNetworkIn + * TargetTrackingScaling *

      *
    • *
    • *

      - * ASGAverageNetworkOut + * StepScaling *

      *
    • *
    • *

      - * ALBRequestCountPerTarget - *

      + * SimpleScaling (default)

      *
    • *
    - *

    If you specify ALBRequestCountPerTarget for the metric, you must specify - * the ResourceLabel parameter with the - * PredefinedMetricSpecification.

    - *

    For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API - * Reference.

    - *

    Required if the policy type is TargetTrackingScaling.

    */ - TargetTrackingConfiguration?: TargetTrackingConfiguration; + PolicyType?: string; /** *

    Specifies how the scaling adjustment is interpreted (for example, an absolute number * or a percentage). The valid values are ChangeInCapacity, * ExactCapacity, and PercentChangeInCapacity.

    *

    Required if the policy type is StepScaling or SimpleScaling. - * For more information, see Scaling Adjustment Types in the Amazon EC2 Auto Scaling User Guide.

    + * For more information, see Scaling adjustment types in the Amazon EC2 Auto Scaling User Guide.

    */ AdjustmentType?: string; - /** - *

    The estimated time, in seconds, until a newly launched instance can contribute to the - * CloudWatch metrics. If not provided, the default is to use the value from the default cooldown - * period for the Auto Scaling group.

    - *

    Valid only if the policy type is TargetTrackingScaling or - * StepScaling.

    - */ - EstimatedInstanceWarmup?: number; - - /** - *

    Indicates whether the scaling policy is enabled or disabled. The default is enabled. - * For more information, see Disabling a - * Scaling Policy for an Auto Scaling Group in the - * Amazon EC2 Auto Scaling User Guide.

    - */ - Enabled?: boolean; - /** *

    Available for backward compatibility. Use MinAdjustmentMagnitude * instead.

    */ MinAdjustmentStep?: number; - /** - *

    The name of the policy.

    - */ - PolicyName: string | undefined; - /** *

    The minimum value to scale by when the adjustment type is * PercentChangeInCapacity. For example, suppose that you create a step @@ -4617,7 +4539,7 @@ export interface PutScalingPolicyType { * MinAdjustmentMagnitude of 2, Amazon EC2 Auto Scaling scales out the group by 2 * instances.

    *

    Valid only if the policy type is StepScaling or - * SimpleScaling. For more information, see Scaling Adjustment Types in the Amazon EC2 Auto Scaling User + * SimpleScaling. For more information, see Scaling adjustment types in the Amazon EC2 Auto Scaling User * Guide.

    * *

    Some Auto Scaling groups use instance weights. In this case, set the @@ -4628,9 +4550,31 @@ export interface PutScalingPolicyType { MinAdjustmentMagnitude?: number; /** - *

    The name of the Auto Scaling group.

    + *

    The amount by which to scale, based on the specified adjustment type. A positive value + * adds to the current capacity while a negative number removes from the current capacity. + * For exact capacity, you must specify a positive value.

    + *

    Required if the policy type is SimpleScaling. (Not used with any other + * policy type.)

    */ - AutoScalingGroupName: string | undefined; + ScalingAdjustment?: number; + + /** + *

    The duration of the policy's cooldown period, in seconds. When a cooldown period is + * specified here, it overrides the default cooldown period defined for the Auto Scaling + * group.

    + *

    Valid only if the policy type is SimpleScaling. For more information, see + * Scaling + * cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    + */ + Cooldown?: number; + + /** + *

    The aggregation type for the CloudWatch metrics. The valid values are Minimum, + * Maximum, and Average. If the aggregation type is null, the + * value is treated as Average.

    + *

    Valid only if the policy type is StepScaling.

    + */ + MetricAggregationType?: string; /** *

    A set of adjustments that enable you to scale based on the size of the alarm @@ -4641,43 +4585,56 @@ export interface PutScalingPolicyType { StepAdjustments?: StepAdjustment[]; /** - *

    One of the following policy types:

    + *

    The estimated time, in seconds, until a newly launched instance can contribute to the + * CloudWatch metrics. If not provided, the default is to use the value from the default cooldown + * period for the Auto Scaling group.

    + *

    Valid only if the policy type is TargetTrackingScaling or + * StepScaling.

    + */ + EstimatedInstanceWarmup?: number; + + /** + *

    A target tracking scaling policy. Includes support for predefined or customized + * metrics.

    + *

    The following predefined metrics are available:

    *
      *
    • *

      - * TargetTrackingScaling + * ASGAverageCPUUtilization *

      *
    • *
    • *

      - * StepScaling + * ASGAverageNetworkIn + *

      + *
    • + *
    • + *

      + * ASGAverageNetworkOut *

      *
    • *
    • *

      - * SimpleScaling (default)

      + * ALBRequestCountPerTarget + *

      *
    • *
    + *

    If you specify ALBRequestCountPerTarget for the metric, you must specify + * the ResourceLabel parameter with the + * PredefinedMetricSpecification.

    + *

    For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API + * Reference.

    + *

    Required if the policy type is TargetTrackingScaling.

    */ - PolicyType?: string; - - /** - *

    The duration of the policy's cooldown period, in seconds. When a cooldown period is - * specified here, it overrides the default cooldown period defined for the Auto Scaling - * group.

    - *

    Valid only if the policy type is SimpleScaling. For more information, see - * Scaling - * Cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    - */ - Cooldown?: number; + TargetTrackingConfiguration?: TargetTrackingConfiguration; /** - *

    The aggregation type for the CloudWatch metrics. The valid values are Minimum, - * Maximum, and Average. If the aggregation type is null, the - * value is treated as Average.

    - *

    Valid only if the policy type is StepScaling.

    + *

    Indicates whether the scaling policy is enabled or disabled. The default is enabled. + * For more information, see Disabling a + * scaling policy for an Auto Scaling group in the + * Amazon EC2 Auto Scaling User Guide.

    */ - MetricAggregationType?: string; + Enabled?: boolean; } export namespace PutScalingPolicyType { @@ -4688,14 +4645,19 @@ export namespace PutScalingPolicyType { export interface PutScheduledUpdateGroupActionType { /** - *

    This parameter is no longer used.

    + *

    The name of the Auto Scaling group.

    */ - Time?: Date; + AutoScalingGroupName: string | undefined; /** - *

    The minimum size of the Auto Scaling group.

    + *

    The name of this scaling action.

    */ - MinSize?: number; + ScheduledActionName: string | undefined; + + /** + *

    This parameter is no longer used.

    + */ + Time?: Date; /** *

    The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT @@ -4708,11 +4670,6 @@ export interface PutScheduledUpdateGroupActionType { */ StartTime?: Date; - /** - *

    The name of this scaling action.

    - */ - ScheduledActionName: string | undefined; - /** *

    The date and time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the * action after this time.

    @@ -4720,9 +4677,20 @@ export interface PutScheduledUpdateGroupActionType { EndTime?: Date; /** - *

    The name of the Auto Scaling group.

    + *

    The recurring schedule for this action, in Unix cron syntax format. This format + * consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] + * [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 + * 1,6,12 *"). For more information about this format, see Crontab.

    + *

    When StartTime and EndTime are specified with + * Recurrence, they form the boundaries of when the recurring action + * starts and stops.

    */ - AutoScalingGroupName: string | undefined; + Recurrence?: string; + + /** + *

    The minimum size of the Auto Scaling group.

    + */ + MinSize?: number; /** *

    The maximum size of the Auto Scaling group.

    @@ -4735,17 +4703,6 @@ export interface PutScheduledUpdateGroupActionType { * if you add more scaling conditions.

    */ DesiredCapacity?: number; - - /** - *

    The recurring schedule for this action, in Unix cron syntax format. This format - * consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] - * [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 - * 1,6,12 *"). For more information about this format, see Crontab.

    - *

    When StartTime and EndTime are specified with - * Recurrence, they form the boundaries of when the recurring action - * starts and stops.

    - */ - Recurrence?: string; } export namespace PutScheduledUpdateGroupActionType { @@ -4768,6 +4725,11 @@ export interface RecordLifecycleActionHeartbeatType { */ LifecycleHookName: string | undefined; + /** + *

    The name of the Auto Scaling group.

    + */ + AutoScalingGroupName: string | undefined; + /** *

    A token that uniquely identifies a specific lifecycle action associated with an * instance. Amazon EC2 Auto Scaling sends this token to the notification target that you specified when @@ -4779,11 +4741,6 @@ export interface RecordLifecycleActionHeartbeatType { *

    The ID of the instance.

    */ InstanceId?: string; - - /** - *

    The name of the Auto Scaling group.

    - */ - AutoScalingGroupName: string | undefined; } export namespace RecordLifecycleActionHeartbeatType { @@ -4793,6 +4750,11 @@ export namespace RecordLifecycleActionHeartbeatType { } export interface ScalingProcessQuery { + /** + *

    The name of the Auto Scaling group.

    + */ + AutoScalingGroupName: string | undefined; + /** *

    One or more of the following processes:

    *
      @@ -4845,11 +4807,6 @@ export interface ScalingProcessQuery { *

      If you omit this parameter, all processes are specified.

      */ ScalingProcesses?: string[]; - - /** - *

      The name of the Auto Scaling group.

      - */ - AutoScalingGroupName: string | undefined; } export namespace ScalingProcessQuery { @@ -4859,6 +4816,11 @@ export namespace ScalingProcessQuery { } export interface SetDesiredCapacityType { + /** + *

      The name of the Auto Scaling group.

      + */ + AutoScalingGroupName: string | undefined; + /** *

      The desired capacity is the initial capacity of the Auto Scaling group after this operation * completes and the capacity it attempts to maintain.

      @@ -4871,11 +4833,6 @@ export interface SetDesiredCapacityType { * not honor the cooldown period during manual scaling activities.

      */ HonorCooldown?: boolean; - - /** - *

      The name of the Auto Scaling group.

      - */ - AutoScalingGroupName: string | undefined; } export namespace SetDesiredCapacityType { @@ -4885,6 +4842,11 @@ export namespace SetDesiredCapacityType { } export interface SetInstanceHealthQuery { + /** + *

      The ID of the instance.

      + */ + InstanceId: string | undefined; + /** *

      The health status of the instance. Set to Healthy to have the instance * remain in service. Set to Unhealthy to have the instance be out of service. @@ -4892,11 +4854,6 @@ export interface SetInstanceHealthQuery { */ HealthStatus: string | undefined; - /** - *

      The ID of the instance.

      - */ - InstanceId: string | undefined; - /** *

      If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod * specified for the group, by default, this call respects the grace period. Set this to @@ -4926,20 +4883,20 @@ export namespace SetInstanceProtectionAnswer { export interface SetInstanceProtectionQuery { /** - *

      One or more instance IDs.

      + *

      One or more instance IDs. You can specify up to 50 instances.

      */ InstanceIds: string[] | undefined; /** - *

      Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling - * in.

      + *

      The name of the Auto Scaling group.

      */ - ProtectedFromScaleIn: boolean | undefined; + AutoScalingGroupName: string | undefined; /** - *

      The name of the Auto Scaling group.

      + *

      Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling + * in.

      */ - AutoScalingGroupName: string | undefined; + ProtectedFromScaleIn: boolean | undefined; } export namespace SetInstanceProtectionQuery { @@ -4981,14 +4938,6 @@ export namespace StartInstanceRefreshAnswer { *

      Describes information used to start an instance refresh.

      */ export interface RefreshPreferences { - /** - *

      The number of seconds until a newly launched instance is configured and ready to use. - * During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The - * default is to use the value for the health check grace period defined for the - * group.

      - */ - InstanceWarmup?: number; - /** *

      The amount of capacity in the Auto Scaling group that must remain healthy during an instance * refresh to allow the operation to continue, as a percentage of the desired capacity of @@ -4996,6 +4945,14 @@ export interface RefreshPreferences { *

      */ MinHealthyPercentage?: number; + + /** + *

      The number of seconds until a newly launched instance is configured and ready to use. + * During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The + * default is to use the value for the health check grace period defined for the + * group.

      + */ + InstanceWarmup?: number; } export namespace RefreshPreferences { @@ -5009,6 +4966,11 @@ export enum RefreshStrategy { } export interface StartInstanceRefreshType { + /** + *

      The name of the Auto Scaling group.

      + */ + AutoScalingGroupName: string | undefined; + /** *

      The strategy to use for the instance refresh. The only valid value is * Rolling.

      @@ -5029,11 +4991,6 @@ export interface StartInstanceRefreshType { * Reference
      .

      */ Preferences?: RefreshPreferences; - - /** - *

      The name of the Auto Scaling group.

      - */ - AutoScalingGroupName: string | undefined; } export namespace StartInstanceRefreshType { @@ -5044,15 +5001,15 @@ export namespace StartInstanceRefreshType { export interface TerminateInstanceInAutoScalingGroupType { /** - *

      Indicates whether terminating the instance also decrements the size of the Auto Scaling - * group.

      + *

      The ID of the instance.

      */ - ShouldDecrementDesiredCapacity: boolean | undefined; + InstanceId: string | undefined; /** - *

      The ID of the instance.

      + *

      Indicates whether terminating the instance also decrements the size of the Auto Scaling + * group.

      */ - InstanceId: string | undefined; + ShouldDecrementDesiredCapacity: boolean | undefined; } export namespace TerminateInstanceInAutoScalingGroupType { @@ -5063,20 +5020,37 @@ export namespace TerminateInstanceInAutoScalingGroupType { export interface UpdateAutoScalingGroupType { /** - *

      Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling - * when scaling in.

      - *

      For more information about preventing instances from terminating on scale in, see - * Instance Protection in the Amazon EC2 Auto Scaling User Guide.

      + *

      The name of the Auto Scaling group.

      */ - NewInstancesProtectedFromScaleIn?: boolean; + AutoScalingGroupName: string | undefined; + + /** + *

      The name of the launch configuration. If you specify + * LaunchConfigurationName in your update request, you can't specify + * LaunchTemplate or MixedInstancesPolicy.

      + */ + LaunchConfigurationName?: string; /** - *

      A comma-separated list of subnet IDs for virtual private cloud (VPC).

      - *

      If you specify VPCZoneIdentifier with AvailabilityZones, the - * subnets that you specify for this parameter must reside in those Availability - * Zones.

      + *

      The launch template and version to use to specify the updates. If you specify + * LaunchTemplate in your update request, you can't specify + * LaunchConfigurationName or MixedInstancesPolicy.

      */ - VPCZoneIdentifier?: string; + LaunchTemplate?: LaunchTemplateSpecification; + + /** + *

      An embedded object that specifies a mixed instances policy. When you make changes to + * an existing policy, all optional parameters are left unchanged if not specified. For + * more information, see Auto Scaling Groups with Multiple + * Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User + * Guide.

      + */ + MixedInstancesPolicy?: MixedInstancesPolicy; + + /** + *

      The minimum size of the Auto Scaling group.

      + */ + MinSize?: number; /** *

      The maximum size of the Auto Scaling group.

      @@ -5092,61 +5066,25 @@ export interface UpdateAutoScalingGroupType { /** *

      The desired capacity is the initial capacity of the Auto Scaling group after this operation - * completes and the capacity it attempts to maintain.

      - *

      This number must be greater than or equal to the minimum size of the group and less - * than or equal to the maximum size of the group.

      + * completes and the capacity it attempts to maintain. This number must be greater than or + * equal to the minimum size of the group and less than or equal to the maximum size of the + * group.

      */ DesiredCapacity?: number; - /** - *

      The launch template and version to use to specify the updates. If you specify - * LaunchTemplate in your update request, you can't specify - * LaunchConfigurationName or MixedInstancesPolicy.

      - *

      For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API - * Reference.

      - */ - LaunchTemplate?: LaunchTemplateSpecification; - - /** - *

      The name of the placement group into which to launch your instances, if any. A - * placement group is a logical grouping of instances within a single Availability Zone. - * You cannot specify multiple Availability Zones and a placement group. For more - * information, see Placement Groups in the - * Amazon EC2 User Guide for Linux Instances.

      - */ - PlacementGroup?: string; - /** *

      The amount of time, in seconds, after a scaling activity completes before another - * scaling activity can start. The default value is 300.

      - *

      This setting applies when using simple scaling policies, but not when using other - * scaling policies or scheduled scaling. For more information, see Scaling Cooldowns - * for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

      + * scaling activity can start. The default value is 300. This setting applies + * when using simple scaling policies, but not when using other scaling policies or + * scheduled scaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling + * in the Amazon EC2 Auto Scaling User Guide.

      */ DefaultCooldown?: number; /** - *

      An embedded object that specifies a mixed instances policy.

      - *

      In your call to UpdateAutoScalingGroup, you can make changes to the - * policy that is specified. All optional parameters are left unchanged if not - * specified.

      - * - *

      For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and - * Auto Scaling Groups with Multiple - * Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User - * Guide.

      - */ - MixedInstancesPolicy?: MixedInstancesPolicy; - - /** - *

      The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status - * of an EC2 instance that has come into service. The default value is - * 0.

      - *

      For more information, see Health - * Check Grace Period in the Amazon EC2 Auto Scaling User Guide.

      - *

      Required if you are adding an ELB health check.

      + *

      One or more Availability Zones for the group.

      */ - HealthCheckGracePeriod?: number; + AvailabilityZones?: string[]; /** *

      The service to use for the health checks. The valid values are EC2 and @@ -5157,67 +5095,67 @@ export interface UpdateAutoScalingGroupType { HealthCheckType?: string; /** - *

      The maximum amount of time, in seconds, that an instance can be in service. The - * default is null.

      - *

      This parameter is optional, but if you specify a value for it, you must specify a - * value of at least 604,800 seconds (7 days). To clear a previously set value, specify a - * new value of 0.

      - *

      For more information, see Replacing Auto Scaling - * Instances Based on Maximum Instance Lifetime in the - * Amazon EC2 Auto Scaling User Guide.

      - *

      Valid Range: Minimum value of 0.

      + *

      The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status + * of an EC2 instance that has come into service. The default value is 0. For + * more information, see Health + * check grace period in the Amazon EC2 Auto Scaling User Guide.

      + *

      Conditional: Required if you are adding an ELB health check.

      */ - MaxInstanceLifetime?: number; + HealthCheckGracePeriod?: number; /** - *

      One or more Availability Zones for the group.

      + *

      The name of an existing placement group into which to launch your instances, if any. A + * placement group is a logical grouping of instances within a single Availability Zone. + * You cannot specify multiple Availability Zones and a placement group. For more + * information, see Placement Groups in the + * Amazon EC2 User Guide for Linux Instances.

      */ - AvailabilityZones?: string[]; + PlacementGroup?: string; /** - *

      The name of the launch configuration. If you specify - * LaunchConfigurationName in your update request, you can't specify - * LaunchTemplate or MixedInstancesPolicy.

      + *

      A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you specify + * VPCZoneIdentifier with AvailabilityZones, the subnets that + * you specify for this parameter must reside in those Availability Zones.

      */ - LaunchConfigurationName?: string; + VPCZoneIdentifier?: string; /** - *

      The minimum size of the Auto Scaling group.

      + *

      A policy or a list of policies that are used to select the instances to terminate. The + * policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the + * Amazon EC2 Auto Scaling User Guide.

      */ - MinSize?: number; + TerminationPolicies?: string[]; /** - *

      Enables or disables capacity rebalance.

      - *

      You can enable capacity rebalancing for your Auto Scaling groups when using Spot Instances. - * When you turn on capacity rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance - * whenever Amazon EC2 predicts that a Spot Instance is at an elevated risk of interruption. - * After launching a new instance, it then terminates an old instance. For more - * information, see Amazon EC2 Auto Scaling capacity - * rebalancing in the Amazon EC2 Auto Scaling User Guide.

      + *

      Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling + * when scaling in. For more information about preventing instances from terminating on + * scale in, see Instance scale-in protection in the + * Amazon EC2 Auto Scaling User Guide.

      */ - CapacityRebalance?: boolean; + NewInstancesProtectedFromScaleIn?: boolean; /** - *

      A standalone termination policy or a list of termination policies used to select the - * instance to terminate. The policies are executed in the order that they are - * listed.

      - *

      For more information, see Controlling Which - * Instances Auto Scaling Terminates During Scale In in the - * Amazon EC2 Auto Scaling User Guide.

      + *

      The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to + * call other AWS services on your behalf. For more information, see Service-linked + * roles in the Amazon EC2 Auto Scaling User Guide.

      */ - TerminationPolicies?: string[]; + ServiceLinkedRoleARN?: string; /** - *

      The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to - * call other AWS services on your behalf. For more information, see Service-Linked - * Roles in the Amazon EC2 Auto Scaling User Guide.

      + *

      The maximum amount of time, in seconds, that an instance can be in service. The + * default is null. If specified, the value must be either 0 or a number equal to or + * greater than 86,400 seconds (1 day). To clear a previously set value, specify a new + * value of 0. For more information, see Replacing Auto Scaling + * instances based on maximum instance lifetime in the + * Amazon EC2 Auto Scaling User Guide.

      */ - ServiceLinkedRoleARN?: string; + MaxInstanceLifetime?: number; /** - *

      The name of the Auto Scaling group.

      + *

      Enables or disables Capacity Rebalancing. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the + * Amazon EC2 Auto Scaling User Guide.

      */ - AutoScalingGroupName: string | undefined; + CapacityRebalance?: boolean; } export namespace UpdateAutoScalingGroupType { diff --git a/clients/client-auto-scaling/pagination/DescribeAutoScalingGroupsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeAutoScalingGroupsPaginator.ts index 09544f89876d..4e1aa82b7c1b 100644 --- a/clients/client-auto-scaling/pagination/DescribeAutoScalingGroupsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeAutoScalingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAutoScalingGroupsCommand(input), ...args); + return await client.send(new DescribeAutoScalingGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeAutoScalingInstancesPaginator.ts b/clients/client-auto-scaling/pagination/DescribeAutoScalingInstancesPaginator.ts index 5b7b705acbb2..9a125d24c064 100644 --- a/clients/client-auto-scaling/pagination/DescribeAutoScalingInstancesPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeAutoScalingInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAutoScalingInstancesCommand(input), ...args); + return await client.send(new DescribeAutoScalingInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeLaunchConfigurationsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeLaunchConfigurationsPaginator.ts index 46f3f234ee37..2a06955fd567 100644 --- a/clients/client-auto-scaling/pagination/DescribeLaunchConfigurationsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeLaunchConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLaunchConfigurationsCommand(input), ...args); + return await client.send(new DescribeLaunchConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeNotificationConfigurationsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeNotificationConfigurationsPaginator.ts index f7b6027a18ae..bce168376783 100644 --- a/clients/client-auto-scaling/pagination/DescribeNotificationConfigurationsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeNotificationConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNotificationConfigurationsCommand(input), ...args); + return await client.send(new DescribeNotificationConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribePoliciesPaginator.ts b/clients/client-auto-scaling/pagination/DescribePoliciesPaginator.ts index 517a7fee1068..cedf4142fd26 100644 --- a/clients/client-auto-scaling/pagination/DescribePoliciesPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribePoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePoliciesCommand(input), ...args); + return await client.send(new DescribePoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts b/clients/client-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts index 1efa7da1f476..ee1a34125a33 100644 --- a/clients/client-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalingActivitiesCommand(input), ...args); + return await client.send(new DescribeScalingActivitiesCommand(input, ...args)); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts index e0d814676c90..bcf644562034 100644 --- a/clients/client-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledActionsCommand(input), ...args); + return await client.send(new DescribeScheduledActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeTagsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeTagsPaginator.ts index c2960c213c66..e2c9a3868c1c 100644 --- a/clients/client-auto-scaling/pagination/DescribeTagsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeTagsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTagsCommand(input), ...args); + return await client.send(new DescribeTagsCommand(input, ...args)); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/protocols/Aws_query.ts b/clients/client-auto-scaling/protocols/Aws_query.ts index f7bd09f5eaed..c24b5e0c1327 100644 --- a/clients/client-auto-scaling/protocols/Aws_query.ts +++ b/clients/client-auto-scaling/protocols/Aws_query.ts @@ -4827,6 +4827,9 @@ const serializeAws_queryAttachLoadBalancerTargetGroupsType = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.TargetGroupARNs !== undefined) { const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4834,9 +4837,6 @@ const serializeAws_queryAttachLoadBalancerTargetGroupsType = ( entries[loc] = value; }); } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } return entries; }; @@ -4855,9 +4855,6 @@ const serializeAws_queryAutoScalingGroupNamesType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.NextToken !== undefined) { - entries["NextToken"] = input.NextToken; - } if (input.AutoScalingGroupNames !== undefined) { const memberEntries = serializeAws_queryAutoScalingGroupNames(input.AutoScalingGroupNames, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4865,6 +4862,9 @@ const serializeAws_queryAutoScalingGroupNamesType = ( entries[loc] = value; }); } + if (input.NextToken !== undefined) { + entries["NextToken"] = input.NextToken; + } if (input.MaxRecords !== undefined) { entries["MaxRecords"] = input.MaxRecords; } @@ -4914,6 +4914,9 @@ const serializeAws_queryBatchPutScheduledUpdateGroupActionType = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.ScheduledUpdateGroupActions !== undefined) { const memberEntries = serializeAws_queryScheduledUpdateGroupActionRequests( input.ScheduledUpdateGroupActions, @@ -4924,14 +4927,14 @@ const serializeAws_queryBatchPutScheduledUpdateGroupActionType = ( entries[loc] = value; }); } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } return entries; }; const serializeAws_queryBlockDeviceMapping = (input: BlockDeviceMapping, context: __SerdeContext): any => { const entries: any = {}; + if (input.VirtualName !== undefined) { + entries["VirtualName"] = input.VirtualName; + } if (input.DeviceName !== undefined) { entries["DeviceName"] = input.DeviceName; } @@ -4945,9 +4948,6 @@ const serializeAws_queryBlockDeviceMapping = (input: BlockDeviceMapping, context if (input.NoDevice !== undefined) { entries["NoDevice"] = input.NoDevice; } - if (input.VirtualName !== undefined) { - entries["VirtualName"] = input.VirtualName; - } return entries; }; @@ -4990,20 +4990,20 @@ const serializeAws_queryCompleteLifecycleActionType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.LifecycleActionResult !== undefined) { - entries["LifecycleActionResult"] = input.LifecycleActionResult; - } - if (input.InstanceId !== undefined) { - entries["InstanceId"] = input.InstanceId; - } if (input.LifecycleHookName !== undefined) { entries["LifecycleHookName"] = input.LifecycleHookName; } + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.LifecycleActionToken !== undefined) { entries["LifecycleActionToken"] = input.LifecycleActionToken; } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + if (input.LifecycleActionResult !== undefined) { + entries["LifecycleActionResult"] = input.LifecycleActionResult; + } + if (input.InstanceId !== undefined) { + entries["InstanceId"] = input.InstanceId; } return entries; }; @@ -5013,27 +5013,11 @@ const serializeAws_queryCreateAutoScalingGroupType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.NewInstancesProtectedFromScaleIn !== undefined) { - entries["NewInstancesProtectedFromScaleIn"] = input.NewInstancesProtectedFromScaleIn; - } - if (input.DesiredCapacity !== undefined) { - entries["DesiredCapacity"] = input.DesiredCapacity; - } - if (input.MaxSize !== undefined) { - entries["MaxSize"] = input.MaxSize; - } - if (input.DefaultCooldown !== undefined) { - entries["DefaultCooldown"] = input.DefaultCooldown; - } - if (input.HealthCheckType !== undefined) { - entries["HealthCheckType"] = input.HealthCheckType; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } - if (input.Tags !== undefined) { - const memberEntries = serializeAws_queryTags(input.Tags, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tags.${key}`; - entries[loc] = value; - }); + if (input.LaunchConfigurationName !== undefined) { + entries["LaunchConfigurationName"] = input.LaunchConfigurationName; } if (input.LaunchTemplate !== undefined) { const memberEntries = serializeAws_queryLaunchTemplateSpecification(input.LaunchTemplate, context); @@ -5042,47 +5026,60 @@ const serializeAws_queryCreateAutoScalingGroupType = ( entries[loc] = value; }); } - if (input.LifecycleHookSpecificationList !== undefined) { - const memberEntries = serializeAws_queryLifecycleHookSpecifications(input.LifecycleHookSpecificationList, context); + if (input.MixedInstancesPolicy !== undefined) { + const memberEntries = serializeAws_queryMixedInstancesPolicy(input.MixedInstancesPolicy, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LifecycleHookSpecificationList.${key}`; + const loc = `MixedInstancesPolicy.${key}`; entries[loc] = value; }); } if (input.InstanceId !== undefined) { entries["InstanceId"] = input.InstanceId; } - if (input.PlacementGroup !== undefined) { - entries["PlacementGroup"] = input.PlacementGroup; + if (input.MinSize !== undefined) { + entries["MinSize"] = input.MinSize; } - if (input.VPCZoneIdentifier !== undefined) { - entries["VPCZoneIdentifier"] = input.VPCZoneIdentifier; + if (input.MaxSize !== undefined) { + entries["MaxSize"] = input.MaxSize; } - if (input.TargetGroupARNs !== undefined) { - const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context); + if (input.DesiredCapacity !== undefined) { + entries["DesiredCapacity"] = input.DesiredCapacity; + } + if (input.DefaultCooldown !== undefined) { + entries["DefaultCooldown"] = input.DefaultCooldown; + } + if (input.AvailabilityZones !== undefined) { + const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TargetGroupARNs.${key}`; + const loc = `AvailabilityZones.${key}`; entries[loc] = value; }); } - if (input.MaxInstanceLifetime !== undefined) { - entries["MaxInstanceLifetime"] = input.MaxInstanceLifetime; + if (input.LoadBalancerNames !== undefined) { + const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LoadBalancerNames.${key}`; + entries[loc] = value; + }); } - if (input.MixedInstancesPolicy !== undefined) { - const memberEntries = serializeAws_queryMixedInstancesPolicy(input.MixedInstancesPolicy, context); + if (input.TargetGroupARNs !== undefined) { + const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MixedInstancesPolicy.${key}`; + const loc = `TargetGroupARNs.${key}`; entries[loc] = value; }); } + if (input.HealthCheckType !== undefined) { + entries["HealthCheckType"] = input.HealthCheckType; + } if (input.HealthCheckGracePeriod !== undefined) { entries["HealthCheckGracePeriod"] = input.HealthCheckGracePeriod; } - if (input.LaunchConfigurationName !== undefined) { - entries["LaunchConfigurationName"] = input.LaunchConfigurationName; + if (input.PlacementGroup !== undefined) { + entries["PlacementGroup"] = input.PlacementGroup; } - if (input.CapacityRebalance !== undefined) { - entries["CapacityRebalance"] = input.CapacityRebalance; + if (input.VPCZoneIdentifier !== undefined) { + entries["VPCZoneIdentifier"] = input.VPCZoneIdentifier; } if (input.TerminationPolicies !== undefined) { const memberEntries = serializeAws_queryTerminationPolicies(input.TerminationPolicies, context); @@ -5091,29 +5088,32 @@ const serializeAws_queryCreateAutoScalingGroupType = ( entries[loc] = value; }); } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + if (input.NewInstancesProtectedFromScaleIn !== undefined) { + entries["NewInstancesProtectedFromScaleIn"] = input.NewInstancesProtectedFromScaleIn; } - if (input.LoadBalancerNames !== undefined) { - const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context); + if (input.CapacityRebalance !== undefined) { + entries["CapacityRebalance"] = input.CapacityRebalance; + } + if (input.LifecycleHookSpecificationList !== undefined) { + const memberEntries = serializeAws_queryLifecycleHookSpecifications(input.LifecycleHookSpecificationList, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LoadBalancerNames.${key}`; + const loc = `LifecycleHookSpecificationList.${key}`; entries[loc] = value; }); } - if (input.AvailabilityZones !== undefined) { - const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context); + if (input.Tags !== undefined) { + const memberEntries = serializeAws_queryTags(input.Tags, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AvailabilityZones.${key}`; + const loc = `Tags.${key}`; entries[loc] = value; }); } - if (input.MinSize !== undefined) { - entries["MinSize"] = input.MinSize; - } if (input.ServiceLinkedRoleARN !== undefined) { entries["ServiceLinkedRoleARN"] = input.ServiceLinkedRoleARN; } + if (input.MaxInstanceLifetime !== undefined) { + entries["MaxInstanceLifetime"] = input.MaxInstanceLifetime; + } return entries; }; @@ -5122,37 +5122,24 @@ const serializeAws_queryCreateLaunchConfigurationType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.RamdiskId !== undefined) { - entries["RamdiskId"] = input.RamdiskId; - } - if (input.KeyName !== undefined) { - entries["KeyName"] = input.KeyName; - } - if (input.SpotPrice !== undefined) { - entries["SpotPrice"] = input.SpotPrice; - } - if (input.EbsOptimized !== undefined) { - entries["EbsOptimized"] = input.EbsOptimized; + if (input.LaunchConfigurationName !== undefined) { + entries["LaunchConfigurationName"] = input.LaunchConfigurationName; } if (input.ImageId !== undefined) { entries["ImageId"] = input.ImageId; } - if (input.InstanceMonitoring !== undefined) { - const memberEntries = serializeAws_queryInstanceMonitoring(input.InstanceMonitoring, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceMonitoring.${key}`; - entries[loc] = value; - }); + if (input.KeyName !== undefined) { + entries["KeyName"] = input.KeyName; } - if (input.BlockDeviceMappings !== undefined) { - const memberEntries = serializeAws_queryBlockDeviceMappings(input.BlockDeviceMappings, context); + if (input.SecurityGroups !== undefined) { + const memberEntries = serializeAws_querySecurityGroups(input.SecurityGroups, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BlockDeviceMappings.${key}`; + const loc = `SecurityGroups.${key}`; entries[loc] = value; }); } - if (input.InstanceId !== undefined) { - entries["InstanceId"] = input.InstanceId; + if (input.ClassicLinkVPCId !== undefined) { + entries["ClassicLinkVPCId"] = input.ClassicLinkVPCId; } if (input.ClassicLinkVPCSecurityGroups !== undefined) { const memberEntries = serializeAws_queryClassicLinkVPCSecurityGroups(input.ClassicLinkVPCSecurityGroups, context); @@ -5164,41 +5151,54 @@ const serializeAws_queryCreateLaunchConfigurationType = ( if (input.UserData !== undefined) { entries["UserData"] = input.UserData; } + if (input.InstanceId !== undefined) { + entries["InstanceId"] = input.InstanceId; + } if (input.InstanceType !== undefined) { entries["InstanceType"] = input.InstanceType; } - if (input.ClassicLinkVPCId !== undefined) { - entries["ClassicLinkVPCId"] = input.ClassicLinkVPCId; + if (input.KernelId !== undefined) { + entries["KernelId"] = input.KernelId; } - if (input.PlacementTenancy !== undefined) { - entries["PlacementTenancy"] = input.PlacementTenancy; + if (input.RamdiskId !== undefined) { + entries["RamdiskId"] = input.RamdiskId; } - if (input.MetadataOptions !== undefined) { - const memberEntries = serializeAws_queryInstanceMetadataOptions(input.MetadataOptions, context); + if (input.BlockDeviceMappings !== undefined) { + const memberEntries = serializeAws_queryBlockDeviceMappings(input.BlockDeviceMappings, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MetadataOptions.${key}`; + const loc = `BlockDeviceMappings.${key}`; entries[loc] = value; }); } - if (input.KernelId !== undefined) { - entries["KernelId"] = input.KernelId; - } - if (input.SecurityGroups !== undefined) { - const memberEntries = serializeAws_querySecurityGroups(input.SecurityGroups, context); + if (input.InstanceMonitoring !== undefined) { + const memberEntries = serializeAws_queryInstanceMonitoring(input.InstanceMonitoring, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroups.${key}`; + const loc = `InstanceMonitoring.${key}`; entries[loc] = value; }); } - if (input.LaunchConfigurationName !== undefined) { - entries["LaunchConfigurationName"] = input.LaunchConfigurationName; + if (input.SpotPrice !== undefined) { + entries["SpotPrice"] = input.SpotPrice; } if (input.IamInstanceProfile !== undefined) { entries["IamInstanceProfile"] = input.IamInstanceProfile; } + if (input.EbsOptimized !== undefined) { + entries["EbsOptimized"] = input.EbsOptimized; + } if (input.AssociatePublicIpAddress !== undefined) { entries["AssociatePublicIpAddress"] = input.AssociatePublicIpAddress; } + if (input.PlacementTenancy !== undefined) { + entries["PlacementTenancy"] = input.PlacementTenancy; + } + if (input.MetadataOptions !== undefined) { + const memberEntries = serializeAws_queryInstanceMetadataOptions(input.MetadataOptions, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MetadataOptions.${key}`; + entries[loc] = value; + }); + } return entries; }; @@ -5219,6 +5219,12 @@ const serializeAws_queryCustomizedMetricSpecification = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.MetricName !== undefined) { + entries["MetricName"] = input.MetricName; + } + if (input.Namespace !== undefined) { + entries["Namespace"] = input.Namespace; + } if (input.Dimensions !== undefined) { const memberEntries = serializeAws_queryMetricDimensions(input.Dimensions, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5232,12 +5238,6 @@ const serializeAws_queryCustomizedMetricSpecification = ( if (input.Unit !== undefined) { entries["Unit"] = input.Unit; } - if (input.Namespace !== undefined) { - entries["Namespace"] = input.Namespace; - } - if (input.MetricName !== undefined) { - entries["MetricName"] = input.MetricName; - } return entries; }; @@ -5296,12 +5296,12 @@ const serializeAws_queryDeleteScheduledActionType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.ScheduledActionName !== undefined) { - entries["ScheduledActionName"] = input.ScheduledActionName; - } if (input.AutoScalingGroupName !== undefined) { entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } + if (input.ScheduledActionName !== undefined) { + entries["ScheduledActionName"] = input.ScheduledActionName; + } return entries; }; @@ -5329,12 +5329,12 @@ const serializeAws_queryDescribeAutoScalingInstancesType = ( entries[loc] = value; }); } - if (input.NextToken !== undefined) { - entries["NextToken"] = input.NextToken; - } if (input.MaxRecords !== undefined) { entries["MaxRecords"] = input.MaxRecords; } + if (input.NextToken !== undefined) { + entries["NextToken"] = input.NextToken; + } return entries; }; @@ -5343,6 +5343,9 @@ const serializeAws_queryDescribeInstanceRefreshesType = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.InstanceRefreshIds !== undefined) { const memberEntries = serializeAws_queryInstanceRefreshIds(input.InstanceRefreshIds, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5353,9 +5356,6 @@ const serializeAws_queryDescribeInstanceRefreshesType = ( if (input.NextToken !== undefined) { entries["NextToken"] = input.NextToken; } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } if (input.MaxRecords !== undefined) { entries["MaxRecords"] = input.MaxRecords; } @@ -5385,15 +5385,15 @@ const serializeAws_queryDescribeLoadBalancersRequest = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.MaxRecords !== undefined) { - entries["MaxRecords"] = input.MaxRecords; - } if (input.AutoScalingGroupName !== undefined) { entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } if (input.NextToken !== undefined) { entries["NextToken"] = input.NextToken; } + if (input.MaxRecords !== undefined) { + entries["MaxRecords"] = input.MaxRecords; + } return entries; }; @@ -5402,12 +5402,12 @@ const serializeAws_queryDescribeLoadBalancerTargetGroupsRequest = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.NextToken !== undefined) { - entries["NextToken"] = input.NextToken; - } if (input.AutoScalingGroupName !== undefined) { entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } + if (input.NextToken !== undefined) { + entries["NextToken"] = input.NextToken; + } if (input.MaxRecords !== undefined) { entries["MaxRecords"] = input.MaxRecords; } @@ -5419,9 +5419,6 @@ const serializeAws_queryDescribeNotificationConfigurationsType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.NextToken !== undefined) { - entries["NextToken"] = input.NextToken; - } if (input.AutoScalingGroupNames !== undefined) { const memberEntries = serializeAws_queryAutoScalingGroupNames(input.AutoScalingGroupNames, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5429,6 +5426,9 @@ const serializeAws_queryDescribeNotificationConfigurationsType = ( entries[loc] = value; }); } + if (input.NextToken !== undefined) { + entries["NextToken"] = input.NextToken; + } if (input.MaxRecords !== undefined) { entries["MaxRecords"] = input.MaxRecords; } @@ -5440,11 +5440,12 @@ const serializeAws_queryDescribePoliciesType = (input: DescribePoliciesType, con if (input.AutoScalingGroupName !== undefined) { entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } - if (input.MaxRecords !== undefined) { - entries["MaxRecords"] = input.MaxRecords; - } - if (input.NextToken !== undefined) { - entries["NextToken"] = input.NextToken; + if (input.PolicyNames !== undefined) { + const memberEntries = serializeAws_queryPolicyNames(input.PolicyNames, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PolicyNames.${key}`; + entries[loc] = value; + }); } if (input.PolicyTypes !== undefined) { const memberEntries = serializeAws_queryPolicyTypes(input.PolicyTypes, context); @@ -5453,12 +5454,11 @@ const serializeAws_queryDescribePoliciesType = (input: DescribePoliciesType, con entries[loc] = value; }); } - if (input.PolicyNames !== undefined) { - const memberEntries = serializeAws_queryPolicyNames(input.PolicyNames, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PolicyNames.${key}`; - entries[loc] = value; - }); + if (input.NextToken !== undefined) { + entries["NextToken"] = input.NextToken; + } + if (input.MaxRecords !== undefined) { + entries["MaxRecords"] = input.MaxRecords; } return entries; }; @@ -5468,9 +5468,6 @@ const serializeAws_queryDescribeScalingActivitiesType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.NextToken !== undefined) { - entries["NextToken"] = input.NextToken; - } if (input.ActivityIds !== undefined) { const memberEntries = serializeAws_queryActivityIds(input.ActivityIds, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5484,6 +5481,9 @@ const serializeAws_queryDescribeScalingActivitiesType = ( if (input.MaxRecords !== undefined) { entries["MaxRecords"] = input.MaxRecords; } + if (input.NextToken !== undefined) { + entries["NextToken"] = input.NextToken; + } return entries; }; @@ -5492,9 +5492,6 @@ const serializeAws_queryDescribeScheduledActionsType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.NextToken !== undefined) { - entries["NextToken"] = input.NextToken; - } if (input.AutoScalingGroupName !== undefined) { entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } @@ -5505,23 +5502,23 @@ const serializeAws_queryDescribeScheduledActionsType = ( entries[loc] = value; }); } - if (input.MaxRecords !== undefined) { - entries["MaxRecords"] = input.MaxRecords; + if (input.StartTime !== undefined) { + entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z"; } if (input.EndTime !== undefined) { entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z"; } - if (input.StartTime !== undefined) { - entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z"; + if (input.NextToken !== undefined) { + entries["NextToken"] = input.NextToken; + } + if (input.MaxRecords !== undefined) { + entries["MaxRecords"] = input.MaxRecords; } return entries; }; const serializeAws_queryDescribeTagsType = (input: DescribeTagsType, context: __SerdeContext): any => { const entries: any = {}; - if (input.NextToken !== undefined) { - entries["NextToken"] = input.NextToken; - } if (input.Filters !== undefined) { const memberEntries = serializeAws_queryFilters(input.Filters, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5529,6 +5526,9 @@ const serializeAws_queryDescribeTagsType = (input: DescribeTagsType, context: __ entries[loc] = value; }); } + if (input.NextToken !== undefined) { + entries["NextToken"] = input.NextToken; + } if (input.MaxRecords !== undefined) { entries["MaxRecords"] = input.MaxRecords; } @@ -5537,12 +5537,6 @@ const serializeAws_queryDescribeTagsType = (input: DescribeTagsType, context: __ const serializeAws_queryDetachInstancesQuery = (input: DetachInstancesQuery, context: __SerdeContext): any => { const entries: any = {}; - if (input.ShouldDecrementDesiredCapacity !== undefined) { - entries["ShouldDecrementDesiredCapacity"] = input.ShouldDecrementDesiredCapacity; - } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } if (input.InstanceIds !== undefined) { const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5550,6 +5544,12 @@ const serializeAws_queryDetachInstancesQuery = (input: DetachInstancesQuery, con entries[loc] = value; }); } + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } + if (input.ShouldDecrementDesiredCapacity !== undefined) { + entries["ShouldDecrementDesiredCapacity"] = input.ShouldDecrementDesiredCapacity; + } return entries; }; @@ -5573,6 +5573,9 @@ const serializeAws_queryDetachLoadBalancerTargetGroupsType = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.TargetGroupARNs !== undefined) { const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5580,9 +5583,6 @@ const serializeAws_queryDetachLoadBalancerTargetGroupsType = ( entries[loc] = value; }); } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } return entries; }; @@ -5591,6 +5591,9 @@ const serializeAws_queryDisableMetricsCollectionQuery = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.Metrics !== undefined) { const memberEntries = serializeAws_queryMetrics(input.Metrics, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5598,32 +5601,29 @@ const serializeAws_queryDisableMetricsCollectionQuery = ( entries[loc] = value; }); } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } return entries; }; const serializeAws_queryEbs = (input: Ebs, context: __SerdeContext): any => { const entries: any = {}; + if (input.SnapshotId !== undefined) { + entries["SnapshotId"] = input.SnapshotId; + } + if (input.VolumeSize !== undefined) { + entries["VolumeSize"] = input.VolumeSize; + } if (input.VolumeType !== undefined) { entries["VolumeType"] = input.VolumeType; } - if (input.Encrypted !== undefined) { - entries["Encrypted"] = input.Encrypted; - } if (input.DeleteOnTermination !== undefined) { entries["DeleteOnTermination"] = input.DeleteOnTermination; } - if (input.VolumeSize !== undefined) { - entries["VolumeSize"] = input.VolumeSize; - } - if (input.SnapshotId !== undefined) { - entries["SnapshotId"] = input.SnapshotId; - } if (input.Iops !== undefined) { entries["Iops"] = input.Iops; } + if (input.Encrypted !== undefined) { + entries["Encrypted"] = input.Encrypted; + } return entries; }; @@ -5632,6 +5632,9 @@ const serializeAws_queryEnableMetricsCollectionQuery = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.Metrics !== undefined) { const memberEntries = serializeAws_queryMetrics(input.Metrics, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5639,9 +5642,6 @@ const serializeAws_queryEnableMetricsCollectionQuery = ( entries[loc] = value; }); } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } if (input.Granularity !== undefined) { entries["Granularity"] = input.Granularity; } @@ -5668,15 +5668,15 @@ const serializeAws_queryEnterStandbyQuery = (input: EnterStandbyQuery, context: const serializeAws_queryExecutePolicyType = (input: ExecutePolicyType, context: __SerdeContext): any => { const entries: any = {}; - if (input.HonorCooldown !== undefined) { - entries["HonorCooldown"] = input.HonorCooldown; - } if (input.AutoScalingGroupName !== undefined) { entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } if (input.PolicyName !== undefined) { entries["PolicyName"] = input.PolicyName; } + if (input.HonorCooldown !== undefined) { + entries["HonorCooldown"] = input.HonorCooldown; + } if (input.MetricValue !== undefined) { entries["MetricValue"] = input.MetricValue; } @@ -5688,9 +5688,6 @@ const serializeAws_queryExecutePolicyType = (input: ExecutePolicyType, context: const serializeAws_queryExitStandbyQuery = (input: ExitStandbyQuery, context: __SerdeContext): any => { const entries: any = {}; - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } if (input.InstanceIds !== undefined) { const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5698,11 +5695,17 @@ const serializeAws_queryExitStandbyQuery = (input: ExitStandbyQuery, context: __ entries[loc] = value; }); } + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } return entries; }; const serializeAws_queryFilter = (input: Filter, context: __SerdeContext): any => { const entries: any = {}; + if (input.Name !== undefined) { + entries["Name"] = input.Name; + } if (input.Values !== undefined) { const memberEntries = serializeAws_queryValues(input.Values, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5710,9 +5713,6 @@ const serializeAws_queryFilter = (input: Filter, context: __SerdeContext): any = entries[loc] = value; }); } - if (input.Name !== undefined) { - entries["Name"] = input.Name; - } return entries; }; @@ -5741,12 +5741,12 @@ const serializeAws_queryInstanceIds = (input: string[], context: __SerdeContext) const serializeAws_queryInstanceMetadataOptions = (input: InstanceMetadataOptions, context: __SerdeContext): any => { const entries: any = {}; - if (input.HttpPutResponseHopLimit !== undefined) { - entries["HttpPutResponseHopLimit"] = input.HttpPutResponseHopLimit; - } if (input.HttpTokens !== undefined) { entries["HttpTokens"] = input.HttpTokens; } + if (input.HttpPutResponseHopLimit !== undefined) { + entries["HttpPutResponseHopLimit"] = input.HttpPutResponseHopLimit; + } if (input.HttpEndpoint !== undefined) { entries["HttpEndpoint"] = input.HttpEndpoint; } @@ -5776,18 +5776,18 @@ const serializeAws_queryInstancesDistribution = (input: InstancesDistribution, c if (input.OnDemandAllocationStrategy !== undefined) { entries["OnDemandAllocationStrategy"] = input.OnDemandAllocationStrategy; } - if (input.SpotInstancePools !== undefined) { - entries["SpotInstancePools"] = input.SpotInstancePools; + if (input.OnDemandBaseCapacity !== undefined) { + entries["OnDemandBaseCapacity"] = input.OnDemandBaseCapacity; } if (input.OnDemandPercentageAboveBaseCapacity !== undefined) { entries["OnDemandPercentageAboveBaseCapacity"] = input.OnDemandPercentageAboveBaseCapacity; } - if (input.OnDemandBaseCapacity !== undefined) { - entries["OnDemandBaseCapacity"] = input.OnDemandBaseCapacity; - } if (input.SpotAllocationStrategy !== undefined) { entries["SpotAllocationStrategy"] = input.SpotAllocationStrategy; } + if (input.SpotInstancePools !== undefined) { + entries["SpotInstancePools"] = input.SpotInstancePools; + } if (input.SpotMaxPrice !== undefined) { entries["SpotMaxPrice"] = input.SpotMaxPrice; } @@ -5809,9 +5809,6 @@ const serializeAws_queryLaunchConfigurationNamesType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.NextToken !== undefined) { - entries["NextToken"] = input.NextToken; - } if (input.LaunchConfigurationNames !== undefined) { const memberEntries = serializeAws_queryLaunchConfigurationNames(input.LaunchConfigurationNames, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5819,6 +5816,9 @@ const serializeAws_queryLaunchConfigurationNamesType = ( entries[loc] = value; }); } + if (input.NextToken !== undefined) { + entries["NextToken"] = input.NextToken; + } if (input.MaxRecords !== undefined) { entries["MaxRecords"] = input.MaxRecords; } @@ -5838,17 +5838,17 @@ const serializeAws_queryLaunchConfigurationNameType = ( const serializeAws_queryLaunchTemplate = (input: LaunchTemplate, context: __SerdeContext): any => { const entries: any = {}; - if (input.Overrides !== undefined) { - const memberEntries = serializeAws_queryOverrides(input.Overrides, context); + if (input.LaunchTemplateSpecification !== undefined) { + const memberEntries = serializeAws_queryLaunchTemplateSpecification(input.LaunchTemplateSpecification, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Overrides.${key}`; + const loc = `LaunchTemplateSpecification.${key}`; entries[loc] = value; }); } - if (input.LaunchTemplateSpecification !== undefined) { - const memberEntries = serializeAws_queryLaunchTemplateSpecification(input.LaunchTemplateSpecification, context); + if (input.Overrides !== undefined) { + const memberEntries = serializeAws_queryOverrides(input.Overrides, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateSpecification.${key}`; + const loc = `Overrides.${key}`; entries[loc] = value; }); } @@ -5871,15 +5871,15 @@ const serializeAws_queryLaunchTemplateSpecification = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.LaunchTemplateId !== undefined) { + entries["LaunchTemplateId"] = input.LaunchTemplateId; + } if (input.LaunchTemplateName !== undefined) { entries["LaunchTemplateName"] = input.LaunchTemplateName; } if (input.Version !== undefined) { entries["Version"] = input.Version; } - if (input.LaunchTemplateId !== undefined) { - entries["LaunchTemplateId"] = input.LaunchTemplateId; - } return entries; }; @@ -5898,14 +5898,17 @@ const serializeAws_queryLifecycleHookSpecification = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.LifecycleHookName !== undefined) { + entries["LifecycleHookName"] = input.LifecycleHookName; + } if (input.LifecycleTransition !== undefined) { entries["LifecycleTransition"] = input.LifecycleTransition; } if (input.NotificationMetadata !== undefined) { entries["NotificationMetadata"] = input.NotificationMetadata; } - if (input.LifecycleHookName !== undefined) { - entries["LifecycleHookName"] = input.LifecycleHookName; + if (input.HeartbeatTimeout !== undefined) { + entries["HeartbeatTimeout"] = input.HeartbeatTimeout; } if (input.DefaultResult !== undefined) { entries["DefaultResult"] = input.DefaultResult; @@ -5916,9 +5919,6 @@ const serializeAws_queryLifecycleHookSpecification = ( if (input.RoleARN !== undefined) { entries["RoleARN"] = input.RoleARN; } - if (input.HeartbeatTimeout !== undefined) { - entries["HeartbeatTimeout"] = input.HeartbeatTimeout; - } return entries; }; @@ -5984,17 +5984,17 @@ const serializeAws_queryMetrics = (input: string[], context: __SerdeContext): an const serializeAws_queryMixedInstancesPolicy = (input: MixedInstancesPolicy, context: __SerdeContext): any => { const entries: any = {}; - if (input.InstancesDistribution !== undefined) { - const memberEntries = serializeAws_queryInstancesDistribution(input.InstancesDistribution, context); + if (input.LaunchTemplate !== undefined) { + const memberEntries = serializeAws_queryLaunchTemplate(input.LaunchTemplate, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstancesDistribution.${key}`; + const loc = `LaunchTemplate.${key}`; entries[loc] = value; }); } - if (input.LaunchTemplate !== undefined) { - const memberEntries = serializeAws_queryLaunchTemplate(input.LaunchTemplate, context); + if (input.InstancesDistribution !== undefined) { + const memberEntries = serializeAws_queryInstancesDistribution(input.InstancesDistribution, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplate.${key}`; + const loc = `InstancesDistribution.${key}`; entries[loc] = value; }); } @@ -6060,27 +6060,27 @@ const serializeAws_queryProcessNames = (input: string[], context: __SerdeContext const serializeAws_queryPutLifecycleHookType = (input: PutLifecycleHookType, context: __SerdeContext): any => { const entries: any = {}; - if (input.LifecycleTransition !== undefined) { - entries["LifecycleTransition"] = input.LifecycleTransition; - } - if (input.HeartbeatTimeout !== undefined) { - entries["HeartbeatTimeout"] = input.HeartbeatTimeout; - } - if (input.NotificationMetadata !== undefined) { - entries["NotificationMetadata"] = input.NotificationMetadata; + if (input.LifecycleHookName !== undefined) { + entries["LifecycleHookName"] = input.LifecycleHookName; } if (input.AutoScalingGroupName !== undefined) { entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } + if (input.LifecycleTransition !== undefined) { + entries["LifecycleTransition"] = input.LifecycleTransition; + } if (input.RoleARN !== undefined) { entries["RoleARN"] = input.RoleARN; } - if (input.LifecycleHookName !== undefined) { - entries["LifecycleHookName"] = input.LifecycleHookName; - } if (input.NotificationTargetARN !== undefined) { entries["NotificationTargetARN"] = input.NotificationTargetARN; } + if (input.NotificationMetadata !== undefined) { + entries["NotificationMetadata"] = input.NotificationMetadata; + } + if (input.HeartbeatTimeout !== undefined) { + entries["HeartbeatTimeout"] = input.HeartbeatTimeout; + } if (input.DefaultResult !== undefined) { entries["DefaultResult"] = input.DefaultResult; } @@ -6092,6 +6092,9 @@ const serializeAws_queryPutNotificationConfigurationType = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.TopicARN !== undefined) { entries["TopicARN"] = input.TopicARN; } @@ -6102,44 +6105,37 @@ const serializeAws_queryPutNotificationConfigurationType = ( entries[loc] = value; }); } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } return entries; }; const serializeAws_queryPutScalingPolicyType = (input: PutScalingPolicyType, context: __SerdeContext): any => { const entries: any = {}; - if (input.ScalingAdjustment !== undefined) { - entries["ScalingAdjustment"] = input.ScalingAdjustment; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } - if (input.TargetTrackingConfiguration !== undefined) { - const memberEntries = serializeAws_queryTargetTrackingConfiguration(input.TargetTrackingConfiguration, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TargetTrackingConfiguration.${key}`; - entries[loc] = value; - }); + if (input.PolicyName !== undefined) { + entries["PolicyName"] = input.PolicyName; + } + if (input.PolicyType !== undefined) { + entries["PolicyType"] = input.PolicyType; } if (input.AdjustmentType !== undefined) { entries["AdjustmentType"] = input.AdjustmentType; } - if (input.EstimatedInstanceWarmup !== undefined) { - entries["EstimatedInstanceWarmup"] = input.EstimatedInstanceWarmup; - } - if (input.Enabled !== undefined) { - entries["Enabled"] = input.Enabled; - } if (input.MinAdjustmentStep !== undefined) { entries["MinAdjustmentStep"] = input.MinAdjustmentStep; } - if (input.PolicyName !== undefined) { - entries["PolicyName"] = input.PolicyName; - } if (input.MinAdjustmentMagnitude !== undefined) { entries["MinAdjustmentMagnitude"] = input.MinAdjustmentMagnitude; } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + if (input.ScalingAdjustment !== undefined) { + entries["ScalingAdjustment"] = input.ScalingAdjustment; + } + if (input.Cooldown !== undefined) { + entries["Cooldown"] = input.Cooldown; + } + if (input.MetricAggregationType !== undefined) { + entries["MetricAggregationType"] = input.MetricAggregationType; } if (input.StepAdjustments !== undefined) { const memberEntries = serializeAws_queryStepAdjustments(input.StepAdjustments, context); @@ -6148,14 +6144,18 @@ const serializeAws_queryPutScalingPolicyType = (input: PutScalingPolicyType, con entries[loc] = value; }); } - if (input.PolicyType !== undefined) { - entries["PolicyType"] = input.PolicyType; + if (input.EstimatedInstanceWarmup !== undefined) { + entries["EstimatedInstanceWarmup"] = input.EstimatedInstanceWarmup; } - if (input.Cooldown !== undefined) { - entries["Cooldown"] = input.Cooldown; + if (input.TargetTrackingConfiguration !== undefined) { + const memberEntries = serializeAws_queryTargetTrackingConfiguration(input.TargetTrackingConfiguration, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TargetTrackingConfiguration.${key}`; + entries[loc] = value; + }); } - if (input.MetricAggregationType !== undefined) { - entries["MetricAggregationType"] = input.MetricAggregationType; + if (input.Enabled !== undefined) { + entries["Enabled"] = input.Enabled; } return entries; }; @@ -6165,23 +6165,26 @@ const serializeAws_queryPutScheduledUpdateGroupActionType = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } + if (input.ScheduledActionName !== undefined) { + entries["ScheduledActionName"] = input.ScheduledActionName; + } if (input.Time !== undefined) { entries["Time"] = input.Time.toISOString().split(".")[0] + "Z"; } - if (input.MinSize !== undefined) { - entries["MinSize"] = input.MinSize; - } if (input.StartTime !== undefined) { entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z"; } - if (input.ScheduledActionName !== undefined) { - entries["ScheduledActionName"] = input.ScheduledActionName; - } if (input.EndTime !== undefined) { entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z"; } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + if (input.Recurrence !== undefined) { + entries["Recurrence"] = input.Recurrence; + } + if (input.MinSize !== undefined) { + entries["MinSize"] = input.MinSize; } if (input.MaxSize !== undefined) { entries["MaxSize"] = input.MaxSize; @@ -6189,9 +6192,6 @@ const serializeAws_queryPutScheduledUpdateGroupActionType = ( if (input.DesiredCapacity !== undefined) { entries["DesiredCapacity"] = input.DesiredCapacity; } - if (input.Recurrence !== undefined) { - entries["Recurrence"] = input.Recurrence; - } return entries; }; @@ -6203,31 +6203,34 @@ const serializeAws_queryRecordLifecycleActionHeartbeatType = ( if (input.LifecycleHookName !== undefined) { entries["LifecycleHookName"] = input.LifecycleHookName; } + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.LifecycleActionToken !== undefined) { entries["LifecycleActionToken"] = input.LifecycleActionToken; } if (input.InstanceId !== undefined) { entries["InstanceId"] = input.InstanceId; } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } return entries; }; const serializeAws_queryRefreshPreferences = (input: RefreshPreferences, context: __SerdeContext): any => { const entries: any = {}; - if (input.InstanceWarmup !== undefined) { - entries["InstanceWarmup"] = input.InstanceWarmup; - } if (input.MinHealthyPercentage !== undefined) { entries["MinHealthyPercentage"] = input.MinHealthyPercentage; } + if (input.InstanceWarmup !== undefined) { + entries["InstanceWarmup"] = input.InstanceWarmup; + } return entries; }; const serializeAws_queryScalingProcessQuery = (input: ScalingProcessQuery, context: __SerdeContext): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.ScalingProcesses !== undefined) { const memberEntries = serializeAws_queryProcessNames(input.ScalingProcesses, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -6235,9 +6238,6 @@ const serializeAws_queryScalingProcessQuery = (input: ScalingProcessQuery, conte entries[loc] = value; }); } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } return entries; }; @@ -6256,17 +6256,11 @@ const serializeAws_queryScheduledUpdateGroupActionRequest = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.MinSize !== undefined) { - entries["MinSize"] = input.MinSize; - } - if (input.StartTime !== undefined) { - entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z"; - } if (input.ScheduledActionName !== undefined) { entries["ScheduledActionName"] = input.ScheduledActionName; } - if (input.MaxSize !== undefined) { - entries["MaxSize"] = input.MaxSize; + if (input.StartTime !== undefined) { + entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z"; } if (input.EndTime !== undefined) { entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z"; @@ -6274,6 +6268,12 @@ const serializeAws_queryScheduledUpdateGroupActionRequest = ( if (input.Recurrence !== undefined) { entries["Recurrence"] = input.Recurrence; } + if (input.MinSize !== undefined) { + entries["MinSize"] = input.MinSize; + } + if (input.MaxSize !== undefined) { + entries["MaxSize"] = input.MaxSize; + } if (input.DesiredCapacity !== undefined) { entries["DesiredCapacity"] = input.DesiredCapacity; } @@ -6308,26 +6308,26 @@ const serializeAws_querySecurityGroups = (input: string[], context: __SerdeConte const serializeAws_querySetDesiredCapacityType = (input: SetDesiredCapacityType, context: __SerdeContext): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.DesiredCapacity !== undefined) { entries["DesiredCapacity"] = input.DesiredCapacity; } if (input.HonorCooldown !== undefined) { entries["HonorCooldown"] = input.HonorCooldown; } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } return entries; }; const serializeAws_querySetInstanceHealthQuery = (input: SetInstanceHealthQuery, context: __SerdeContext): any => { const entries: any = {}; - if (input.HealthStatus !== undefined) { - entries["HealthStatus"] = input.HealthStatus; - } if (input.InstanceId !== undefined) { entries["InstanceId"] = input.InstanceId; } + if (input.HealthStatus !== undefined) { + entries["HealthStatus"] = input.HealthStatus; + } if (input.ShouldRespectGracePeriod !== undefined) { entries["ShouldRespectGracePeriod"] = input.ShouldRespectGracePeriod; } @@ -6346,17 +6346,20 @@ const serializeAws_querySetInstanceProtectionQuery = ( entries[loc] = value; }); } - if (input.ProtectedFromScaleIn !== undefined) { - entries["ProtectedFromScaleIn"] = input.ProtectedFromScaleIn; - } if (input.AutoScalingGroupName !== undefined) { entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } + if (input.ProtectedFromScaleIn !== undefined) { + entries["ProtectedFromScaleIn"] = input.ProtectedFromScaleIn; + } return entries; }; const serializeAws_queryStartInstanceRefreshType = (input: StartInstanceRefreshType, context: __SerdeContext): any => { const entries: any = {}; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + } if (input.Strategy !== undefined) { entries["Strategy"] = input.Strategy; } @@ -6367,9 +6370,6 @@ const serializeAws_queryStartInstanceRefreshType = (input: StartInstanceRefreshT entries[loc] = value; }); } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; - } return entries; }; @@ -6378,12 +6378,12 @@ const serializeAws_queryStepAdjustment = (input: StepAdjustment, context: __Serd if (input.MetricIntervalLowerBound !== undefined) { entries["MetricIntervalLowerBound"] = input.MetricIntervalLowerBound; } - if (input.ScalingAdjustment !== undefined) { - entries["ScalingAdjustment"] = input.ScalingAdjustment; - } if (input.MetricIntervalUpperBound !== undefined) { entries["MetricIntervalUpperBound"] = input.MetricIntervalUpperBound; } + if (input.ScalingAdjustment !== undefined) { + entries["ScalingAdjustment"] = input.ScalingAdjustment; + } return entries; }; @@ -6405,17 +6405,17 @@ const serializeAws_queryTag = (input: Tag, context: __SerdeContext): any => { if (input.ResourceId !== undefined) { entries["ResourceId"] = input.ResourceId; } + if (input.ResourceType !== undefined) { + entries["ResourceType"] = input.ResourceType; + } if (input.Key !== undefined) { entries["Key"] = input.Key; } - if (input.PropagateAtLaunch !== undefined) { - entries["PropagateAtLaunch"] = input.PropagateAtLaunch; - } if (input.Value !== undefined) { entries["Value"] = input.Value; } - if (input.ResourceType !== undefined) { - entries["ResourceType"] = input.ResourceType; + if (input.PropagateAtLaunch !== undefined) { + entries["PropagateAtLaunch"] = input.PropagateAtLaunch; } return entries; }; @@ -6455,12 +6455,6 @@ const serializeAws_queryTargetTrackingConfiguration = ( entries[loc] = value; }); } - if (input.DisableScaleIn !== undefined) { - entries["DisableScaleIn"] = input.DisableScaleIn; - } - if (input.TargetValue !== undefined) { - entries["TargetValue"] = input.TargetValue; - } if (input.CustomizedMetricSpecification !== undefined) { const memberEntries = serializeAws_queryCustomizedMetricSpecification(input.CustomizedMetricSpecification, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -6468,6 +6462,12 @@ const serializeAws_queryTargetTrackingConfiguration = ( entries[loc] = value; }); } + if (input.TargetValue !== undefined) { + entries["TargetValue"] = input.TargetValue; + } + if (input.DisableScaleIn !== undefined) { + entries["DisableScaleIn"] = input.DisableScaleIn; + } return entries; }; @@ -6476,12 +6476,12 @@ const serializeAws_queryTerminateInstanceInAutoScalingGroupType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.ShouldDecrementDesiredCapacity !== undefined) { - entries["ShouldDecrementDesiredCapacity"] = input.ShouldDecrementDesiredCapacity; - } if (input.InstanceId !== undefined) { entries["InstanceId"] = input.InstanceId; } + if (input.ShouldDecrementDesiredCapacity !== undefined) { + entries["ShouldDecrementDesiredCapacity"] = input.ShouldDecrementDesiredCapacity; + } return entries; }; @@ -6500,17 +6500,11 @@ const serializeAws_queryUpdateAutoScalingGroupType = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.NewInstancesProtectedFromScaleIn !== undefined) { - entries["NewInstancesProtectedFromScaleIn"] = input.NewInstancesProtectedFromScaleIn; - } - if (input.VPCZoneIdentifier !== undefined) { - entries["VPCZoneIdentifier"] = input.VPCZoneIdentifier; - } - if (input.MaxSize !== undefined) { - entries["MaxSize"] = input.MaxSize; + if (input.AutoScalingGroupName !== undefined) { + entries["AutoScalingGroupName"] = input.AutoScalingGroupName; } - if (input.DesiredCapacity !== undefined) { - entries["DesiredCapacity"] = input.DesiredCapacity; + if (input.LaunchConfigurationName !== undefined) { + entries["LaunchConfigurationName"] = input.LaunchConfigurationName; } if (input.LaunchTemplate !== undefined) { const memberEntries = serializeAws_queryLaunchTemplateSpecification(input.LaunchTemplate, context); @@ -6519,12 +6513,6 @@ const serializeAws_queryUpdateAutoScalingGroupType = ( entries[loc] = value; }); } - if (input.PlacementGroup !== undefined) { - entries["PlacementGroup"] = input.PlacementGroup; - } - if (input.DefaultCooldown !== undefined) { - entries["DefaultCooldown"] = input.DefaultCooldown; - } if (input.MixedInstancesPolicy !== undefined) { const memberEntries = serializeAws_queryMixedInstancesPolicy(input.MixedInstancesPolicy, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -6532,14 +6520,17 @@ const serializeAws_queryUpdateAutoScalingGroupType = ( entries[loc] = value; }); } - if (input.HealthCheckGracePeriod !== undefined) { - entries["HealthCheckGracePeriod"] = input.HealthCheckGracePeriod; + if (input.MinSize !== undefined) { + entries["MinSize"] = input.MinSize; } - if (input.HealthCheckType !== undefined) { - entries["HealthCheckType"] = input.HealthCheckType; + if (input.MaxSize !== undefined) { + entries["MaxSize"] = input.MaxSize; } - if (input.MaxInstanceLifetime !== undefined) { - entries["MaxInstanceLifetime"] = input.MaxInstanceLifetime; + if (input.DesiredCapacity !== undefined) { + entries["DesiredCapacity"] = input.DesiredCapacity; + } + if (input.DefaultCooldown !== undefined) { + entries["DefaultCooldown"] = input.DefaultCooldown; } if (input.AvailabilityZones !== undefined) { const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context); @@ -6548,14 +6539,17 @@ const serializeAws_queryUpdateAutoScalingGroupType = ( entries[loc] = value; }); } - if (input.LaunchConfigurationName !== undefined) { - entries["LaunchConfigurationName"] = input.LaunchConfigurationName; + if (input.HealthCheckType !== undefined) { + entries["HealthCheckType"] = input.HealthCheckType; } - if (input.MinSize !== undefined) { - entries["MinSize"] = input.MinSize; + if (input.HealthCheckGracePeriod !== undefined) { + entries["HealthCheckGracePeriod"] = input.HealthCheckGracePeriod; } - if (input.CapacityRebalance !== undefined) { - entries["CapacityRebalance"] = input.CapacityRebalance; + if (input.PlacementGroup !== undefined) { + entries["PlacementGroup"] = input.PlacementGroup; + } + if (input.VPCZoneIdentifier !== undefined) { + entries["VPCZoneIdentifier"] = input.VPCZoneIdentifier; } if (input.TerminationPolicies !== undefined) { const memberEntries = serializeAws_queryTerminationPolicies(input.TerminationPolicies, context); @@ -6564,11 +6558,17 @@ const serializeAws_queryUpdateAutoScalingGroupType = ( entries[loc] = value; }); } + if (input.NewInstancesProtectedFromScaleIn !== undefined) { + entries["NewInstancesProtectedFromScaleIn"] = input.NewInstancesProtectedFromScaleIn; + } if (input.ServiceLinkedRoleARN !== undefined) { entries["ServiceLinkedRoleARN"] = input.ServiceLinkedRoleARN; } - if (input.AutoScalingGroupName !== undefined) { - entries["AutoScalingGroupName"] = input.AutoScalingGroupName; + if (input.MaxInstanceLifetime !== undefined) { + entries["MaxInstanceLifetime"] = input.MaxInstanceLifetime; + } + if (input.CapacityRebalance !== undefined) { + entries["CapacityRebalance"] = input.CapacityRebalance; } return entries; }; @@ -6622,46 +6622,46 @@ const deserializeAws_queryActivitiesType = (output: any, context: __SerdeContext const deserializeAws_queryActivity = (output: any, context: __SerdeContext): Activity => { let contents: any = { - Description: undefined, ActivityId: undefined, - EndTime: undefined, AutoScalingGroupName: undefined, - Progress: undefined, + Description: undefined, Cause: undefined, + StartTime: undefined, + EndTime: undefined, + StatusCode: undefined, StatusMessage: undefined, + Progress: undefined, Details: undefined, - StatusCode: undefined, - StartTime: undefined, }; - if (output["Description"] !== undefined) { - contents.Description = output["Description"]; - } if (output["ActivityId"] !== undefined) { contents.ActivityId = output["ActivityId"]; } - if (output["EndTime"] !== undefined) { - contents.EndTime = new Date(output["EndTime"]); - } if (output["AutoScalingGroupName"] !== undefined) { contents.AutoScalingGroupName = output["AutoScalingGroupName"]; } - if (output["Progress"] !== undefined) { - contents.Progress = parseInt(output["Progress"]); + if (output["Description"] !== undefined) { + contents.Description = output["Description"]; } if (output["Cause"] !== undefined) { contents.Cause = output["Cause"]; } - if (output["StatusMessage"] !== undefined) { - contents.StatusMessage = output["StatusMessage"]; + if (output["StartTime"] !== undefined) { + contents.StartTime = new Date(output["StartTime"]); } - if (output["Details"] !== undefined) { - contents.Details = output["Details"]; + if (output["EndTime"] !== undefined) { + contents.EndTime = new Date(output["EndTime"]); } if (output["StatusCode"] !== undefined) { contents.StatusCode = output["StatusCode"]; } - if (output["StartTime"] !== undefined) { - contents.StartTime = new Date(output["StartTime"]); + if (output["StatusMessage"] !== undefined) { + contents.StatusMessage = output["StatusMessage"]; + } + if (output["Progress"] !== undefined) { + contents.Progress = parseInt(output["Progress"]); + } + if (output["Details"] !== undefined) { + contents.Details = output["Details"]; } return contents; }; @@ -6692,15 +6692,15 @@ const deserializeAws_queryAdjustmentTypes = (output: any, context: __SerdeContex const deserializeAws_queryAlarm = (output: any, context: __SerdeContext): Alarm => { let contents: any = { - AlarmARN: undefined, AlarmName: undefined, + AlarmARN: undefined, }; - if (output["AlarmARN"] !== undefined) { - contents.AlarmARN = output["AlarmARN"]; - } if (output["AlarmName"] !== undefined) { contents.AlarmName = output["AlarmName"]; } + if (output["AlarmARN"] !== undefined) { + contents.AlarmARN = output["AlarmARN"]; + } return contents; }; @@ -6736,66 +6736,60 @@ const deserializeAws_queryAttachLoadBalancerTargetGroupsResultType = ( const deserializeAws_queryAutoScalingGroup = (output: any, context: __SerdeContext): AutoScalingGroup => { let contents: any = { - VPCZoneIdentifier: undefined, - EnabledMetrics: undefined, + AutoScalingGroupName: undefined, AutoScalingGroupARN: undefined, - DefaultCooldown: undefined, + LaunchConfigurationName: undefined, + LaunchTemplate: undefined, + MixedInstancesPolicy: undefined, + MinSize: undefined, MaxSize: undefined, - AutoScalingGroupName: undefined, - TargetGroupARNs: undefined, + DesiredCapacity: undefined, + DefaultCooldown: undefined, AvailabilityZones: undefined, - Status: undefined, - CapacityRebalance: undefined, - TerminationPolicies: undefined, - PlacementGroup: undefined, - MaxInstanceLifetime: undefined, + LoadBalancerNames: undefined, + TargetGroupARNs: undefined, HealthCheckType: undefined, - NewInstancesProtectedFromScaleIn: undefined, - DesiredCapacity: undefined, - ServiceLinkedRoleARN: undefined, - MinSize: undefined, - LaunchTemplate: undefined, + HealthCheckGracePeriod: undefined, Instances: undefined, CreatedTime: undefined, - HealthCheckGracePeriod: undefined, - MixedInstancesPolicy: undefined, - LoadBalancerNames: undefined, - Tags: undefined, SuspendedProcesses: undefined, - LaunchConfigurationName: undefined, - }; - if (output["VPCZoneIdentifier"] !== undefined) { - contents.VPCZoneIdentifier = output["VPCZoneIdentifier"]; - } - if (output.EnabledMetrics === "") { - contents.EnabledMetrics = []; - } - if (output["EnabledMetrics"] !== undefined && output["EnabledMetrics"]["member"] !== undefined) { - contents.EnabledMetrics = deserializeAws_queryEnabledMetrics( - __getArrayIfSingleItem(output["EnabledMetrics"]["member"]), - context - ); + PlacementGroup: undefined, + VPCZoneIdentifier: undefined, + EnabledMetrics: undefined, + Status: undefined, + Tags: undefined, + TerminationPolicies: undefined, + NewInstancesProtectedFromScaleIn: undefined, + ServiceLinkedRoleARN: undefined, + MaxInstanceLifetime: undefined, + CapacityRebalance: undefined, + }; + if (output["AutoScalingGroupName"] !== undefined) { + contents.AutoScalingGroupName = output["AutoScalingGroupName"]; } if (output["AutoScalingGroupARN"] !== undefined) { contents.AutoScalingGroupARN = output["AutoScalingGroupARN"]; } - if (output["DefaultCooldown"] !== undefined) { - contents.DefaultCooldown = parseInt(output["DefaultCooldown"]); + if (output["LaunchConfigurationName"] !== undefined) { + contents.LaunchConfigurationName = output["LaunchConfigurationName"]; + } + if (output["LaunchTemplate"] !== undefined) { + contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context); + } + if (output["MixedInstancesPolicy"] !== undefined) { + contents.MixedInstancesPolicy = deserializeAws_queryMixedInstancesPolicy(output["MixedInstancesPolicy"], context); + } + if (output["MinSize"] !== undefined) { + contents.MinSize = parseInt(output["MinSize"]); } if (output["MaxSize"] !== undefined) { contents.MaxSize = parseInt(output["MaxSize"]); } - if (output["AutoScalingGroupName"] !== undefined) { - contents.AutoScalingGroupName = output["AutoScalingGroupName"]; - } - if (output.TargetGroupARNs === "") { - contents.TargetGroupARNs = []; + if (output["DesiredCapacity"] !== undefined) { + contents.DesiredCapacity = parseInt(output["DesiredCapacity"]); } - if (output["TargetGroupARNs"] !== undefined && output["TargetGroupARNs"]["member"] !== undefined) { - contents.TargetGroupARNs = deserializeAws_queryTargetGroupARNs( - __getArrayIfSingleItem(output["TargetGroupARNs"]["member"]), - context - ); + if (output["DefaultCooldown"] !== undefined) { + contents.DefaultCooldown = parseInt(output["DefaultCooldown"]); } if (output.AvailabilityZones === "") { contents.AvailabilityZones = []; @@ -6806,44 +6800,29 @@ const deserializeAws_queryAutoScalingGroup = (output: any, context: __SerdeConte context ); } - if (output["Status"] !== undefined) { - contents.Status = output["Status"]; - } - if (output["CapacityRebalance"] !== undefined) { - contents.CapacityRebalance = output["CapacityRebalance"] == "true"; - } - if (output.TerminationPolicies === "") { - contents.TerminationPolicies = []; + if (output.LoadBalancerNames === "") { + contents.LoadBalancerNames = []; } - if (output["TerminationPolicies"] !== undefined && output["TerminationPolicies"]["member"] !== undefined) { - contents.TerminationPolicies = deserializeAws_queryTerminationPolicies( - __getArrayIfSingleItem(output["TerminationPolicies"]["member"]), + if (output["LoadBalancerNames"] !== undefined && output["LoadBalancerNames"]["member"] !== undefined) { + contents.LoadBalancerNames = deserializeAws_queryLoadBalancerNames( + __getArrayIfSingleItem(output["LoadBalancerNames"]["member"]), context ); } - if (output["PlacementGroup"] !== undefined) { - contents.PlacementGroup = output["PlacementGroup"]; + if (output.TargetGroupARNs === "") { + contents.TargetGroupARNs = []; } - if (output["MaxInstanceLifetime"] !== undefined) { - contents.MaxInstanceLifetime = parseInt(output["MaxInstanceLifetime"]); + if (output["TargetGroupARNs"] !== undefined && output["TargetGroupARNs"]["member"] !== undefined) { + contents.TargetGroupARNs = deserializeAws_queryTargetGroupARNs( + __getArrayIfSingleItem(output["TargetGroupARNs"]["member"]), + context + ); } if (output["HealthCheckType"] !== undefined) { contents.HealthCheckType = output["HealthCheckType"]; } - if (output["NewInstancesProtectedFromScaleIn"] !== undefined) { - contents.NewInstancesProtectedFromScaleIn = output["NewInstancesProtectedFromScaleIn"] == "true"; - } - if (output["DesiredCapacity"] !== undefined) { - contents.DesiredCapacity = parseInt(output["DesiredCapacity"]); - } - if (output["ServiceLinkedRoleARN"] !== undefined) { - contents.ServiceLinkedRoleARN = output["ServiceLinkedRoleARN"]; - } - if (output["MinSize"] !== undefined) { - contents.MinSize = parseInt(output["MinSize"]); - } - if (output["LaunchTemplate"] !== undefined) { - contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context); + if (output["HealthCheckGracePeriod"] !== undefined) { + contents.HealthCheckGracePeriod = parseInt(output["HealthCheckGracePeriod"]); } if (output.Instances === "") { contents.Instances = []; @@ -6854,38 +6833,59 @@ const deserializeAws_queryAutoScalingGroup = (output: any, context: __SerdeConte if (output["CreatedTime"] !== undefined) { contents.CreatedTime = new Date(output["CreatedTime"]); } - if (output["HealthCheckGracePeriod"] !== undefined) { - contents.HealthCheckGracePeriod = parseInt(output["HealthCheckGracePeriod"]); + if (output.SuspendedProcesses === "") { + contents.SuspendedProcesses = []; } - if (output["MixedInstancesPolicy"] !== undefined) { - contents.MixedInstancesPolicy = deserializeAws_queryMixedInstancesPolicy(output["MixedInstancesPolicy"], context); + if (output["SuspendedProcesses"] !== undefined && output["SuspendedProcesses"]["member"] !== undefined) { + contents.SuspendedProcesses = deserializeAws_querySuspendedProcesses( + __getArrayIfSingleItem(output["SuspendedProcesses"]["member"]), + context + ); } - if (output.LoadBalancerNames === "") { - contents.LoadBalancerNames = []; + if (output["PlacementGroup"] !== undefined) { + contents.PlacementGroup = output["PlacementGroup"]; } - if (output["LoadBalancerNames"] !== undefined && output["LoadBalancerNames"]["member"] !== undefined) { - contents.LoadBalancerNames = deserializeAws_queryLoadBalancerNames( - __getArrayIfSingleItem(output["LoadBalancerNames"]["member"]), + if (output["VPCZoneIdentifier"] !== undefined) { + contents.VPCZoneIdentifier = output["VPCZoneIdentifier"]; + } + if (output.EnabledMetrics === "") { + contents.EnabledMetrics = []; + } + if (output["EnabledMetrics"] !== undefined && output["EnabledMetrics"]["member"] !== undefined) { + contents.EnabledMetrics = deserializeAws_queryEnabledMetrics( + __getArrayIfSingleItem(output["EnabledMetrics"]["member"]), context ); } + if (output["Status"] !== undefined) { + contents.Status = output["Status"]; + } if (output.Tags === "") { contents.Tags = []; } if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) { contents.Tags = deserializeAws_queryTagDescriptionList(__getArrayIfSingleItem(output["Tags"]["member"]), context); } - if (output.SuspendedProcesses === "") { - contents.SuspendedProcesses = []; + if (output.TerminationPolicies === "") { + contents.TerminationPolicies = []; } - if (output["SuspendedProcesses"] !== undefined && output["SuspendedProcesses"]["member"] !== undefined) { - contents.SuspendedProcesses = deserializeAws_querySuspendedProcesses( - __getArrayIfSingleItem(output["SuspendedProcesses"]["member"]), + if (output["TerminationPolicies"] !== undefined && output["TerminationPolicies"]["member"] !== undefined) { + contents.TerminationPolicies = deserializeAws_queryTerminationPolicies( + __getArrayIfSingleItem(output["TerminationPolicies"]["member"]), context ); } - if (output["LaunchConfigurationName"] !== undefined) { - contents.LaunchConfigurationName = output["LaunchConfigurationName"]; + if (output["NewInstancesProtectedFromScaleIn"] !== undefined) { + contents.NewInstancesProtectedFromScaleIn = output["NewInstancesProtectedFromScaleIn"] == "true"; + } + if (output["ServiceLinkedRoleARN"] !== undefined) { + contents.ServiceLinkedRoleARN = output["ServiceLinkedRoleARN"]; + } + if (output["MaxInstanceLifetime"] !== undefined) { + contents.MaxInstanceLifetime = parseInt(output["MaxInstanceLifetime"]); + } + if (output["CapacityRebalance"] !== undefined) { + contents.CapacityRebalance = output["CapacityRebalance"] == "true"; } return contents; }; @@ -6896,12 +6896,9 @@ const deserializeAws_queryAutoScalingGroups = (output: any, context: __SerdeCont const deserializeAws_queryAutoScalingGroupsType = (output: any, context: __SerdeContext): AutoScalingGroupsType => { let contents: any = { - NextToken: undefined, AutoScalingGroups: undefined, + NextToken: undefined, }; - if (output["NextToken"] !== undefined) { - contents.NextToken = output["NextToken"]; - } if (output.AutoScalingGroups === "") { contents.AutoScalingGroups = []; } @@ -6911,6 +6908,9 @@ const deserializeAws_queryAutoScalingGroupsType = (output: any, context: __Serde context ); } + if (output["NextToken"] !== undefined) { + contents.NextToken = output["NextToken"]; + } return contents; }; @@ -6919,46 +6919,46 @@ const deserializeAws_queryAutoScalingInstanceDetails = ( context: __SerdeContext ): AutoScalingInstanceDetails => { let contents: any = { - AutoScalingGroupName: undefined, - WeightedCapacity: undefined, + InstanceId: undefined, InstanceType: undefined, + AutoScalingGroupName: undefined, AvailabilityZone: undefined, - LaunchTemplate: undefined, - HealthStatus: undefined, LifecycleState: undefined, - InstanceId: undefined, - ProtectedFromScaleIn: undefined, + HealthStatus: undefined, LaunchConfigurationName: undefined, + LaunchTemplate: undefined, + ProtectedFromScaleIn: undefined, + WeightedCapacity: undefined, }; - if (output["AutoScalingGroupName"] !== undefined) { - contents.AutoScalingGroupName = output["AutoScalingGroupName"]; - } - if (output["WeightedCapacity"] !== undefined) { - contents.WeightedCapacity = output["WeightedCapacity"]; + if (output["InstanceId"] !== undefined) { + contents.InstanceId = output["InstanceId"]; } if (output["InstanceType"] !== undefined) { contents.InstanceType = output["InstanceType"]; } + if (output["AutoScalingGroupName"] !== undefined) { + contents.AutoScalingGroupName = output["AutoScalingGroupName"]; + } if (output["AvailabilityZone"] !== undefined) { contents.AvailabilityZone = output["AvailabilityZone"]; } - if (output["LaunchTemplate"] !== undefined) { - contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context); + if (output["LifecycleState"] !== undefined) { + contents.LifecycleState = output["LifecycleState"]; } if (output["HealthStatus"] !== undefined) { contents.HealthStatus = output["HealthStatus"]; } - if (output["LifecycleState"] !== undefined) { - contents.LifecycleState = output["LifecycleState"]; + if (output["LaunchConfigurationName"] !== undefined) { + contents.LaunchConfigurationName = output["LaunchConfigurationName"]; } - if (output["InstanceId"] !== undefined) { - contents.InstanceId = output["InstanceId"]; + if (output["LaunchTemplate"] !== undefined) { + contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context); } if (output["ProtectedFromScaleIn"] !== undefined) { contents.ProtectedFromScaleIn = output["ProtectedFromScaleIn"] == "true"; } - if (output["LaunchConfigurationName"] !== undefined) { - contents.LaunchConfigurationName = output["LaunchConfigurationName"]; + if (output["WeightedCapacity"] !== undefined) { + contents.WeightedCapacity = output["WeightedCapacity"]; } return contents; }; @@ -7044,11 +7044,14 @@ const deserializeAws_queryBatchPutScheduledUpdateGroupActionAnswer = ( const deserializeAws_queryBlockDeviceMapping = (output: any, context: __SerdeContext): BlockDeviceMapping => { let contents: any = { + VirtualName: undefined, DeviceName: undefined, Ebs: undefined, NoDevice: undefined, - VirtualName: undefined, }; + if (output["VirtualName"] !== undefined) { + contents.VirtualName = output["VirtualName"]; + } if (output["DeviceName"] !== undefined) { contents.DeviceName = output["DeviceName"]; } @@ -7058,9 +7061,6 @@ const deserializeAws_queryBlockDeviceMapping = (output: any, context: __SerdeCon if (output["NoDevice"] !== undefined) { contents.NoDevice = output["NoDevice"] == "true"; } - if (output["VirtualName"] !== undefined) { - contents.VirtualName = output["VirtualName"]; - } return contents; }; @@ -7098,12 +7098,18 @@ const deserializeAws_queryCustomizedMetricSpecification = ( context: __SerdeContext ): CustomizedMetricSpecification => { let contents: any = { + MetricName: undefined, + Namespace: undefined, Dimensions: undefined, Statistic: undefined, Unit: undefined, - Namespace: undefined, - MetricName: undefined, }; + if (output["MetricName"] !== undefined) { + contents.MetricName = output["MetricName"]; + } + if (output["Namespace"] !== undefined) { + contents.Namespace = output["Namespace"]; + } if (output.Dimensions === "") { contents.Dimensions = []; } @@ -7119,12 +7125,6 @@ const deserializeAws_queryCustomizedMetricSpecification = ( if (output["Unit"] !== undefined) { contents.Unit = output["Unit"]; } - if (output["Namespace"] !== undefined) { - contents.Namespace = output["Namespace"]; - } - if (output["MetricName"] !== undefined) { - contents.MetricName = output["MetricName"]; - } return contents; }; @@ -7142,19 +7142,19 @@ const deserializeAws_queryDescribeAccountLimitsAnswer = ( ): DescribeAccountLimitsAnswer => { let contents: any = { MaxNumberOfAutoScalingGroups: undefined, - NumberOfAutoScalingGroups: undefined, MaxNumberOfLaunchConfigurations: undefined, + NumberOfAutoScalingGroups: undefined, NumberOfLaunchConfigurations: undefined, }; if (output["MaxNumberOfAutoScalingGroups"] !== undefined) { contents.MaxNumberOfAutoScalingGroups = parseInt(output["MaxNumberOfAutoScalingGroups"]); } - if (output["NumberOfAutoScalingGroups"] !== undefined) { - contents.NumberOfAutoScalingGroups = parseInt(output["NumberOfAutoScalingGroups"]); - } if (output["MaxNumberOfLaunchConfigurations"] !== undefined) { contents.MaxNumberOfLaunchConfigurations = parseInt(output["MaxNumberOfLaunchConfigurations"]); } + if (output["NumberOfAutoScalingGroups"] !== undefined) { + contents.NumberOfAutoScalingGroups = parseInt(output["NumberOfAutoScalingGroups"]); + } if (output["NumberOfLaunchConfigurations"] !== undefined) { contents.NumberOfLaunchConfigurations = parseInt(output["NumberOfLaunchConfigurations"]); } @@ -7314,18 +7314,9 @@ const deserializeAws_queryDescribeMetricCollectionTypesAnswer = ( context: __SerdeContext ): DescribeMetricCollectionTypesAnswer => { let contents: any = { - Granularities: undefined, Metrics: undefined, + Granularities: undefined, }; - if (output.Granularities === "") { - contents.Granularities = []; - } - if (output["Granularities"] !== undefined && output["Granularities"]["member"] !== undefined) { - contents.Granularities = deserializeAws_queryMetricGranularityTypes( - __getArrayIfSingleItem(output["Granularities"]["member"]), - context - ); - } if (output.Metrics === "") { contents.Metrics = []; } @@ -7335,6 +7326,15 @@ const deserializeAws_queryDescribeMetricCollectionTypesAnswer = ( context ); } + if (output.Granularities === "") { + contents.Granularities = []; + } + if (output["Granularities"] !== undefined && output["Granularities"]["member"] !== undefined) { + contents.Granularities = deserializeAws_queryMetricGranularityTypes( + __getArrayIfSingleItem(output["Granularities"]["member"]), + context + ); + } return contents; }; @@ -7343,12 +7343,9 @@ const deserializeAws_queryDescribeNotificationConfigurationsAnswer = ( context: __SerdeContext ): DescribeNotificationConfigurationsAnswer => { let contents: any = { - NextToken: undefined, NotificationConfigurations: undefined, + NextToken: undefined, }; - if (output["NextToken"] !== undefined) { - contents.NextToken = output["NextToken"]; - } if (output.NotificationConfigurations === "") { contents.NotificationConfigurations = []; } @@ -7361,6 +7358,9 @@ const deserializeAws_queryDescribeNotificationConfigurationsAnswer = ( context ); } + if (output["NextToken"] !== undefined) { + contents.NextToken = output["NextToken"]; + } return contents; }; @@ -7417,31 +7417,31 @@ const deserializeAws_queryDetachLoadBalancerTargetGroupsResultType = ( const deserializeAws_queryEbs = (output: any, context: __SerdeContext): Ebs => { let contents: any = { + SnapshotId: undefined, + VolumeSize: undefined, VolumeType: undefined, - Encrypted: undefined, DeleteOnTermination: undefined, - VolumeSize: undefined, - SnapshotId: undefined, Iops: undefined, + Encrypted: undefined, }; + if (output["SnapshotId"] !== undefined) { + contents.SnapshotId = output["SnapshotId"]; + } + if (output["VolumeSize"] !== undefined) { + contents.VolumeSize = parseInt(output["VolumeSize"]); + } if (output["VolumeType"] !== undefined) { contents.VolumeType = output["VolumeType"]; } - if (output["Encrypted"] !== undefined) { - contents.Encrypted = output["Encrypted"] == "true"; - } if (output["DeleteOnTermination"] !== undefined) { contents.DeleteOnTermination = output["DeleteOnTermination"] == "true"; } - if (output["VolumeSize"] !== undefined) { - contents.VolumeSize = parseInt(output["VolumeSize"]); - } - if (output["SnapshotId"] !== undefined) { - contents.SnapshotId = output["SnapshotId"]; - } if (output["Iops"] !== undefined) { contents.Iops = parseInt(output["Iops"]); } + if (output["Encrypted"] !== undefined) { + contents.Encrypted = output["Encrypted"] == "true"; + } return contents; }; @@ -7500,19 +7500,19 @@ const deserializeAws_queryFailedScheduledUpdateGroupActionRequest = ( context: __SerdeContext ): FailedScheduledUpdateGroupActionRequest => { let contents: any = { - ErrorMessage: undefined, ScheduledActionName: undefined, ErrorCode: undefined, + ErrorMessage: undefined, }; - if (output["ErrorMessage"] !== undefined) { - contents.ErrorMessage = output["ErrorMessage"]; - } if (output["ScheduledActionName"] !== undefined) { contents.ScheduledActionName = output["ScheduledActionName"]; } if (output["ErrorCode"] !== undefined) { contents.ErrorCode = output["ErrorCode"]; } + if (output["ErrorMessage"] !== undefined) { + contents.ErrorMessage = output["ErrorMessage"]; + } return contents; }; @@ -7527,33 +7527,33 @@ const deserializeAws_queryFailedScheduledUpdateGroupActionRequests = ( const deserializeAws_queryInstance = (output: any, context: __SerdeContext): Instance => { let contents: any = { - InstanceType: undefined, InstanceId: undefined, - WeightedCapacity: undefined, + InstanceType: undefined, AvailabilityZone: undefined, - HealthStatus: undefined, LifecycleState: undefined, + HealthStatus: undefined, + LaunchConfigurationName: undefined, LaunchTemplate: undefined, ProtectedFromScaleIn: undefined, - LaunchConfigurationName: undefined, + WeightedCapacity: undefined, }; - if (output["InstanceType"] !== undefined) { - contents.InstanceType = output["InstanceType"]; - } if (output["InstanceId"] !== undefined) { contents.InstanceId = output["InstanceId"]; } - if (output["WeightedCapacity"] !== undefined) { - contents.WeightedCapacity = output["WeightedCapacity"]; + if (output["InstanceType"] !== undefined) { + contents.InstanceType = output["InstanceType"]; } if (output["AvailabilityZone"] !== undefined) { contents.AvailabilityZone = output["AvailabilityZone"]; } + if (output["LifecycleState"] !== undefined) { + contents.LifecycleState = output["LifecycleState"]; + } if (output["HealthStatus"] !== undefined) { contents.HealthStatus = output["HealthStatus"]; } - if (output["LifecycleState"] !== undefined) { - contents.LifecycleState = output["LifecycleState"]; + if (output["LaunchConfigurationName"] !== undefined) { + contents.LaunchConfigurationName = output["LaunchConfigurationName"]; } if (output["LaunchTemplate"] !== undefined) { contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context); @@ -7561,24 +7561,24 @@ const deserializeAws_queryInstance = (output: any, context: __SerdeContext): Ins if (output["ProtectedFromScaleIn"] !== undefined) { contents.ProtectedFromScaleIn = output["ProtectedFromScaleIn"] == "true"; } - if (output["LaunchConfigurationName"] !== undefined) { - contents.LaunchConfigurationName = output["LaunchConfigurationName"]; + if (output["WeightedCapacity"] !== undefined) { + contents.WeightedCapacity = output["WeightedCapacity"]; } return contents; }; const deserializeAws_queryInstanceMetadataOptions = (output: any, context: __SerdeContext): InstanceMetadataOptions => { let contents: any = { - HttpPutResponseHopLimit: undefined, HttpTokens: undefined, + HttpPutResponseHopLimit: undefined, HttpEndpoint: undefined, }; - if (output["HttpPutResponseHopLimit"] !== undefined) { - contents.HttpPutResponseHopLimit = parseInt(output["HttpPutResponseHopLimit"]); - } if (output["HttpTokens"] !== undefined) { contents.HttpTokens = output["HttpTokens"]; } + if (output["HttpPutResponseHopLimit"] !== undefined) { + contents.HttpPutResponseHopLimit = parseInt(output["HttpPutResponseHopLimit"]); + } if (output["HttpEndpoint"] !== undefined) { contents.HttpEndpoint = output["HttpEndpoint"]; } @@ -7597,29 +7597,23 @@ const deserializeAws_queryInstanceMonitoring = (output: any, context: __SerdeCon const deserializeAws_queryInstanceRefresh = (output: any, context: __SerdeContext): InstanceRefresh => { let contents: any = { - Status: undefined, - InstancesToUpdate: undefined, InstanceRefreshId: undefined, - PercentageComplete: undefined, - EndTime: undefined, + AutoScalingGroupName: undefined, + Status: undefined, StatusReason: undefined, StartTime: undefined, - AutoScalingGroupName: undefined, + EndTime: undefined, + PercentageComplete: undefined, + InstancesToUpdate: undefined, }; - if (output["Status"] !== undefined) { - contents.Status = output["Status"]; - } - if (output["InstancesToUpdate"] !== undefined) { - contents.InstancesToUpdate = parseInt(output["InstancesToUpdate"]); - } if (output["InstanceRefreshId"] !== undefined) { contents.InstanceRefreshId = output["InstanceRefreshId"]; } - if (output["PercentageComplete"] !== undefined) { - contents.PercentageComplete = parseInt(output["PercentageComplete"]); + if (output["AutoScalingGroupName"] !== undefined) { + contents.AutoScalingGroupName = output["AutoScalingGroupName"]; } - if (output["EndTime"] !== undefined) { - contents.EndTime = new Date(output["EndTime"]); + if (output["Status"] !== undefined) { + contents.Status = output["Status"]; } if (output["StatusReason"] !== undefined) { contents.StatusReason = output["StatusReason"]; @@ -7627,8 +7621,14 @@ const deserializeAws_queryInstanceRefresh = (output: any, context: __SerdeContex if (output["StartTime"] !== undefined) { contents.StartTime = new Date(output["StartTime"]); } - if (output["AutoScalingGroupName"] !== undefined) { - contents.AutoScalingGroupName = output["AutoScalingGroupName"]; + if (output["EndTime"] !== undefined) { + contents.EndTime = new Date(output["EndTime"]); + } + if (output["PercentageComplete"] !== undefined) { + contents.PercentageComplete = parseInt(output["PercentageComplete"]); + } + if (output["InstancesToUpdate"] !== undefined) { + contents.InstancesToUpdate = parseInt(output["InstancesToUpdate"]); } return contents; }; @@ -7657,27 +7657,27 @@ const deserializeAws_queryInstances = (output: any, context: __SerdeContext): In const deserializeAws_queryInstancesDistribution = (output: any, context: __SerdeContext): InstancesDistribution => { let contents: any = { OnDemandAllocationStrategy: undefined, - SpotInstancePools: undefined, - OnDemandPercentageAboveBaseCapacity: undefined, OnDemandBaseCapacity: undefined, + OnDemandPercentageAboveBaseCapacity: undefined, SpotAllocationStrategy: undefined, + SpotInstancePools: undefined, SpotMaxPrice: undefined, }; if (output["OnDemandAllocationStrategy"] !== undefined) { contents.OnDemandAllocationStrategy = output["OnDemandAllocationStrategy"]; } - if (output["SpotInstancePools"] !== undefined) { - contents.SpotInstancePools = parseInt(output["SpotInstancePools"]); + if (output["OnDemandBaseCapacity"] !== undefined) { + contents.OnDemandBaseCapacity = parseInt(output["OnDemandBaseCapacity"]); } if (output["OnDemandPercentageAboveBaseCapacity"] !== undefined) { contents.OnDemandPercentageAboveBaseCapacity = parseInt(output["OnDemandPercentageAboveBaseCapacity"]); } - if (output["OnDemandBaseCapacity"] !== undefined) { - contents.OnDemandBaseCapacity = parseInt(output["OnDemandBaseCapacity"]); - } if (output["SpotAllocationStrategy"] !== undefined) { contents.SpotAllocationStrategy = output["SpotAllocationStrategy"]; } + if (output["SpotInstancePools"] !== undefined) { + contents.SpotInstancePools = parseInt(output["SpotInstancePools"]); + } if (output["SpotMaxPrice"] !== undefined) { contents.SpotMaxPrice = output["SpotMaxPrice"]; } @@ -7697,34 +7697,37 @@ const deserializeAws_queryInvalidNextToken = (output: any, context: __SerdeConte const deserializeAws_queryLaunchConfiguration = (output: any, context: __SerdeContext): LaunchConfiguration => { let contents: any = { LaunchConfigurationName: undefined, - ClassicLinkVPCId: undefined, - MetadataOptions: undefined, - SecurityGroups: undefined, - PlacementTenancy: undefined, + LaunchConfigurationARN: undefined, ImageId: undefined, - UserData: undefined, - IamInstanceProfile: undefined, + KeyName: undefined, + SecurityGroups: undefined, + ClassicLinkVPCId: undefined, ClassicLinkVPCSecurityGroups: undefined, - AssociatePublicIpAddress: undefined, - BlockDeviceMappings: undefined, + UserData: undefined, + InstanceType: undefined, KernelId: undefined, - CreatedTime: undefined, - EbsOptimized: undefined, - KeyName: undefined, + RamdiskId: undefined, + BlockDeviceMappings: undefined, InstanceMonitoring: undefined, - InstanceType: undefined, - LaunchConfigurationARN: undefined, SpotPrice: undefined, - RamdiskId: undefined, + IamInstanceProfile: undefined, + CreatedTime: undefined, + EbsOptimized: undefined, + AssociatePublicIpAddress: undefined, + PlacementTenancy: undefined, + MetadataOptions: undefined, }; if (output["LaunchConfigurationName"] !== undefined) { contents.LaunchConfigurationName = output["LaunchConfigurationName"]; } - if (output["ClassicLinkVPCId"] !== undefined) { - contents.ClassicLinkVPCId = output["ClassicLinkVPCId"]; + if (output["LaunchConfigurationARN"] !== undefined) { + contents.LaunchConfigurationARN = output["LaunchConfigurationARN"]; } - if (output["MetadataOptions"] !== undefined) { - contents.MetadataOptions = deserializeAws_queryInstanceMetadataOptions(output["MetadataOptions"], context); + if (output["ImageId"] !== undefined) { + contents.ImageId = output["ImageId"]; + } + if (output["KeyName"] !== undefined) { + contents.KeyName = output["KeyName"]; } if (output.SecurityGroups === "") { contents.SecurityGroups = []; @@ -7735,17 +7738,8 @@ const deserializeAws_queryLaunchConfiguration = (output: any, context: __SerdeCo context ); } - if (output["PlacementTenancy"] !== undefined) { - contents.PlacementTenancy = output["PlacementTenancy"]; - } - if (output["ImageId"] !== undefined) { - contents.ImageId = output["ImageId"]; - } - if (output["UserData"] !== undefined) { - contents.UserData = output["UserData"]; - } - if (output["IamInstanceProfile"] !== undefined) { - contents.IamInstanceProfile = output["IamInstanceProfile"]; + if (output["ClassicLinkVPCId"] !== undefined) { + contents.ClassicLinkVPCId = output["ClassicLinkVPCId"]; } if (output.ClassicLinkVPCSecurityGroups === "") { contents.ClassicLinkVPCSecurityGroups = []; @@ -7759,8 +7753,17 @@ const deserializeAws_queryLaunchConfiguration = (output: any, context: __SerdeCo context ); } - if (output["AssociatePublicIpAddress"] !== undefined) { - contents.AssociatePublicIpAddress = output["AssociatePublicIpAddress"] == "true"; + if (output["UserData"] !== undefined) { + contents.UserData = output["UserData"]; + } + if (output["InstanceType"] !== undefined) { + contents.InstanceType = output["InstanceType"]; + } + if (output["KernelId"] !== undefined) { + contents.KernelId = output["KernelId"]; + } + if (output["RamdiskId"] !== undefined) { + contents.RamdiskId = output["RamdiskId"]; } if (output.BlockDeviceMappings === "") { contents.BlockDeviceMappings = []; @@ -7771,8 +7774,14 @@ const deserializeAws_queryLaunchConfiguration = (output: any, context: __SerdeCo context ); } - if (output["KernelId"] !== undefined) { - contents.KernelId = output["KernelId"]; + if (output["InstanceMonitoring"] !== undefined) { + contents.InstanceMonitoring = deserializeAws_queryInstanceMonitoring(output["InstanceMonitoring"], context); + } + if (output["SpotPrice"] !== undefined) { + contents.SpotPrice = output["SpotPrice"]; + } + if (output["IamInstanceProfile"] !== undefined) { + contents.IamInstanceProfile = output["IamInstanceProfile"]; } if (output["CreatedTime"] !== undefined) { contents.CreatedTime = new Date(output["CreatedTime"]); @@ -7780,23 +7789,14 @@ const deserializeAws_queryLaunchConfiguration = (output: any, context: __SerdeCo if (output["EbsOptimized"] !== undefined) { contents.EbsOptimized = output["EbsOptimized"] == "true"; } - if (output["KeyName"] !== undefined) { - contents.KeyName = output["KeyName"]; - } - if (output["InstanceMonitoring"] !== undefined) { - contents.InstanceMonitoring = deserializeAws_queryInstanceMonitoring(output["InstanceMonitoring"], context); - } - if (output["InstanceType"] !== undefined) { - contents.InstanceType = output["InstanceType"]; - } - if (output["LaunchConfigurationARN"] !== undefined) { - contents.LaunchConfigurationARN = output["LaunchConfigurationARN"]; + if (output["AssociatePublicIpAddress"] !== undefined) { + contents.AssociatePublicIpAddress = output["AssociatePublicIpAddress"] == "true"; } - if (output["SpotPrice"] !== undefined) { - contents.SpotPrice = output["SpotPrice"]; + if (output["PlacementTenancy"] !== undefined) { + contents.PlacementTenancy = output["PlacementTenancy"]; } - if (output["RamdiskId"] !== undefined) { - contents.RamdiskId = output["RamdiskId"]; + if (output["MetadataOptions"] !== undefined) { + contents.MetadataOptions = deserializeAws_queryInstanceMetadataOptions(output["MetadataOptions"], context); } return contents; }; @@ -7810,12 +7810,9 @@ const deserializeAws_queryLaunchConfigurationsType = ( context: __SerdeContext ): LaunchConfigurationsType => { let contents: any = { - NextToken: undefined, LaunchConfigurations: undefined, + NextToken: undefined, }; - if (output["NextToken"] !== undefined) { - contents.NextToken = output["NextToken"]; - } if (output.LaunchConfigurations === "") { contents.LaunchConfigurations = []; } @@ -7825,26 +7822,29 @@ const deserializeAws_queryLaunchConfigurationsType = ( context ); } + if (output["NextToken"] !== undefined) { + contents.NextToken = output["NextToken"]; + } return contents; }; const deserializeAws_queryLaunchTemplate = (output: any, context: __SerdeContext): LaunchTemplate => { let contents: any = { - Overrides: undefined, LaunchTemplateSpecification: undefined, + Overrides: undefined, }; - if (output.Overrides === "") { - contents.Overrides = []; - } - if (output["Overrides"] !== undefined && output["Overrides"]["member"] !== undefined) { - contents.Overrides = deserializeAws_queryOverrides(__getArrayIfSingleItem(output["Overrides"]["member"]), context); - } if (output["LaunchTemplateSpecification"] !== undefined) { contents.LaunchTemplateSpecification = deserializeAws_queryLaunchTemplateSpecification( output["LaunchTemplateSpecification"], context ); } + if (output.Overrides === "") { + contents.Overrides = []; + } + if (output["Overrides"] !== undefined && output["Overrides"]["member"] !== undefined) { + contents.Overrides = deserializeAws_queryOverrides(__getArrayIfSingleItem(output["Overrides"]["member"]), context); + } return contents; }; @@ -7867,61 +7867,61 @@ const deserializeAws_queryLaunchTemplateSpecification = ( context: __SerdeContext ): LaunchTemplateSpecification => { let contents: any = { + LaunchTemplateId: undefined, LaunchTemplateName: undefined, Version: undefined, - LaunchTemplateId: undefined, }; + if (output["LaunchTemplateId"] !== undefined) { + contents.LaunchTemplateId = output["LaunchTemplateId"]; + } if (output["LaunchTemplateName"] !== undefined) { contents.LaunchTemplateName = output["LaunchTemplateName"]; } if (output["Version"] !== undefined) { contents.Version = output["Version"]; } - if (output["LaunchTemplateId"] !== undefined) { - contents.LaunchTemplateId = output["LaunchTemplateId"]; - } return contents; }; const deserializeAws_queryLifecycleHook = (output: any, context: __SerdeContext): LifecycleHook => { let contents: any = { + LifecycleHookName: undefined, + AutoScalingGroupName: undefined, LifecycleTransition: undefined, - HeartbeatTimeout: undefined, NotificationTargetARN: undefined, - NotificationMetadata: undefined, RoleARN: undefined, - AutoScalingGroupName: undefined, - DefaultResult: undefined, - LifecycleHookName: undefined, + NotificationMetadata: undefined, + HeartbeatTimeout: undefined, GlobalTimeout: undefined, + DefaultResult: undefined, }; + if (output["LifecycleHookName"] !== undefined) { + contents.LifecycleHookName = output["LifecycleHookName"]; + } + if (output["AutoScalingGroupName"] !== undefined) { + contents.AutoScalingGroupName = output["AutoScalingGroupName"]; + } if (output["LifecycleTransition"] !== undefined) { contents.LifecycleTransition = output["LifecycleTransition"]; } - if (output["HeartbeatTimeout"] !== undefined) { - contents.HeartbeatTimeout = parseInt(output["HeartbeatTimeout"]); - } if (output["NotificationTargetARN"] !== undefined) { contents.NotificationTargetARN = output["NotificationTargetARN"]; } - if (output["NotificationMetadata"] !== undefined) { - contents.NotificationMetadata = output["NotificationMetadata"]; - } if (output["RoleARN"] !== undefined) { contents.RoleARN = output["RoleARN"]; } - if (output["AutoScalingGroupName"] !== undefined) { - contents.AutoScalingGroupName = output["AutoScalingGroupName"]; - } - if (output["DefaultResult"] !== undefined) { - contents.DefaultResult = output["DefaultResult"]; + if (output["NotificationMetadata"] !== undefined) { + contents.NotificationMetadata = output["NotificationMetadata"]; } - if (output["LifecycleHookName"] !== undefined) { - contents.LifecycleHookName = output["LifecycleHookName"]; + if (output["HeartbeatTimeout"] !== undefined) { + contents.HeartbeatTimeout = parseInt(output["HeartbeatTimeout"]); } if (output["GlobalTimeout"] !== undefined) { contents.GlobalTimeout = parseInt(output["GlobalTimeout"]); } + if (output["DefaultResult"] !== undefined) { + contents.DefaultResult = output["DefaultResult"]; + } return contents; }; @@ -7945,15 +7945,15 @@ const deserializeAws_queryLoadBalancerNames = (output: any, context: __SerdeCont const deserializeAws_queryLoadBalancerState = (output: any, context: __SerdeContext): LoadBalancerState => { let contents: any = { - State: undefined, LoadBalancerName: undefined, + State: undefined, }; - if (output["State"] !== undefined) { - contents.State = output["State"]; - } if (output["LoadBalancerName"] !== undefined) { contents.LoadBalancerName = output["LoadBalancerName"]; } + if (output["State"] !== undefined) { + contents.State = output["State"]; + } return contents; }; @@ -8033,18 +8033,18 @@ const deserializeAws_queryMetricGranularityTypes = (output: any, context: __Serd const deserializeAws_queryMixedInstancesPolicy = (output: any, context: __SerdeContext): MixedInstancesPolicy => { let contents: any = { - InstancesDistribution: undefined, LaunchTemplate: undefined, + InstancesDistribution: undefined, }; + if (output["LaunchTemplate"] !== undefined) { + contents.LaunchTemplate = deserializeAws_queryLaunchTemplate(output["LaunchTemplate"], context); + } if (output["InstancesDistribution"] !== undefined) { contents.InstancesDistribution = deserializeAws_queryInstancesDistribution( output["InstancesDistribution"], context ); } - if (output["LaunchTemplate"] !== undefined) { - contents.LaunchTemplate = deserializeAws_queryLaunchTemplate(output["LaunchTemplate"], context); - } return contents; }; @@ -8053,18 +8053,18 @@ const deserializeAws_queryNotificationConfiguration = ( context: __SerdeContext ): NotificationConfiguration => { let contents: any = { - NotificationType: undefined, - TopicARN: undefined, AutoScalingGroupName: undefined, + TopicARN: undefined, + NotificationType: undefined, }; - if (output["NotificationType"] !== undefined) { - contents.NotificationType = output["NotificationType"]; + if (output["AutoScalingGroupName"] !== undefined) { + contents.AutoScalingGroupName = output["AutoScalingGroupName"]; } if (output["TopicARN"] !== undefined) { contents.TopicARN = output["TopicARN"]; } - if (output["AutoScalingGroupName"] !== undefined) { - contents.AutoScalingGroupName = output["AutoScalingGroupName"]; + if (output["NotificationType"] !== undefined) { + contents.NotificationType = output["NotificationType"]; } return contents; }; @@ -8213,90 +8213,87 @@ const deserializeAws_queryScalingPolicies = (output: any, context: __SerdeContex const deserializeAws_queryScalingPolicy = (output: any, context: __SerdeContext): ScalingPolicy => { let contents: any = { - Alarms: undefined, - EstimatedInstanceWarmup: undefined, - AdjustmentType: undefined, - ScalingAdjustment: undefined, - MinAdjustmentStep: undefined, - Enabled: undefined, - MinAdjustmentMagnitude: undefined, - PolicyName: undefined, AutoScalingGroupName: undefined, + PolicyName: undefined, PolicyARN: undefined, - TargetTrackingConfiguration: undefined, - MetricAggregationType: undefined, PolicyType: undefined, - StepAdjustments: undefined, + AdjustmentType: undefined, + MinAdjustmentStep: undefined, + MinAdjustmentMagnitude: undefined, + ScalingAdjustment: undefined, Cooldown: undefined, + StepAdjustments: undefined, + MetricAggregationType: undefined, + EstimatedInstanceWarmup: undefined, + Alarms: undefined, + TargetTrackingConfiguration: undefined, + Enabled: undefined, }; - if (output.Alarms === "") { - contents.Alarms = []; + if (output["AutoScalingGroupName"] !== undefined) { + contents.AutoScalingGroupName = output["AutoScalingGroupName"]; } - if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) { - contents.Alarms = deserializeAws_queryAlarms(__getArrayIfSingleItem(output["Alarms"]["member"]), context); + if (output["PolicyName"] !== undefined) { + contents.PolicyName = output["PolicyName"]; } - if (output["EstimatedInstanceWarmup"] !== undefined) { - contents.EstimatedInstanceWarmup = parseInt(output["EstimatedInstanceWarmup"]); + if (output["PolicyARN"] !== undefined) { + contents.PolicyARN = output["PolicyARN"]; + } + if (output["PolicyType"] !== undefined) { + contents.PolicyType = output["PolicyType"]; } if (output["AdjustmentType"] !== undefined) { contents.AdjustmentType = output["AdjustmentType"]; } - if (output["ScalingAdjustment"] !== undefined) { - contents.ScalingAdjustment = parseInt(output["ScalingAdjustment"]); - } if (output["MinAdjustmentStep"] !== undefined) { contents.MinAdjustmentStep = parseInt(output["MinAdjustmentStep"]); } - if (output["Enabled"] !== undefined) { - contents.Enabled = output["Enabled"] == "true"; - } if (output["MinAdjustmentMagnitude"] !== undefined) { contents.MinAdjustmentMagnitude = parseInt(output["MinAdjustmentMagnitude"]); } - if (output["PolicyName"] !== undefined) { - contents.PolicyName = output["PolicyName"]; + if (output["ScalingAdjustment"] !== undefined) { + contents.ScalingAdjustment = parseInt(output["ScalingAdjustment"]); } - if (output["AutoScalingGroupName"] !== undefined) { - contents.AutoScalingGroupName = output["AutoScalingGroupName"]; + if (output["Cooldown"] !== undefined) { + contents.Cooldown = parseInt(output["Cooldown"]); } - if (output["PolicyARN"] !== undefined) { - contents.PolicyARN = output["PolicyARN"]; + if (output.StepAdjustments === "") { + contents.StepAdjustments = []; } - if (output["TargetTrackingConfiguration"] !== undefined) { - contents.TargetTrackingConfiguration = deserializeAws_queryTargetTrackingConfiguration( - output["TargetTrackingConfiguration"], + if (output["StepAdjustments"] !== undefined && output["StepAdjustments"]["member"] !== undefined) { + contents.StepAdjustments = deserializeAws_queryStepAdjustments( + __getArrayIfSingleItem(output["StepAdjustments"]["member"]), context ); } if (output["MetricAggregationType"] !== undefined) { contents.MetricAggregationType = output["MetricAggregationType"]; } - if (output["PolicyType"] !== undefined) { - contents.PolicyType = output["PolicyType"]; + if (output["EstimatedInstanceWarmup"] !== undefined) { + contents.EstimatedInstanceWarmup = parseInt(output["EstimatedInstanceWarmup"]); } - if (output.StepAdjustments === "") { - contents.StepAdjustments = []; + if (output.Alarms === "") { + contents.Alarms = []; } - if (output["StepAdjustments"] !== undefined && output["StepAdjustments"]["member"] !== undefined) { - contents.StepAdjustments = deserializeAws_queryStepAdjustments( - __getArrayIfSingleItem(output["StepAdjustments"]["member"]), + if (output["Alarms"] !== undefined && output["Alarms"]["member"] !== undefined) { + contents.Alarms = deserializeAws_queryAlarms(__getArrayIfSingleItem(output["Alarms"]["member"]), context); + } + if (output["TargetTrackingConfiguration"] !== undefined) { + contents.TargetTrackingConfiguration = deserializeAws_queryTargetTrackingConfiguration( + output["TargetTrackingConfiguration"], context ); } - if (output["Cooldown"] !== undefined) { - contents.Cooldown = parseInt(output["Cooldown"]); + if (output["Enabled"] !== undefined) { + contents.Enabled = output["Enabled"] == "true"; } return contents; }; const deserializeAws_queryScheduledActionsType = (output: any, context: __SerdeContext): ScheduledActionsType => { let contents: any = { - NextToken: undefined, ScheduledUpdateGroupActions: undefined, + NextToken: undefined, }; - if (output["NextToken"] !== undefined) { - contents.NextToken = output["NextToken"]; - } if (output.ScheduledUpdateGroupActions === "") { contents.ScheduledUpdateGroupActions = []; } @@ -8309,6 +8306,9 @@ const deserializeAws_queryScheduledActionsType = (output: any, context: __SerdeC context ); } + if (output["NextToken"] !== undefined) { + contents.NextToken = output["NextToken"]; + } return contents; }; @@ -8317,34 +8317,28 @@ const deserializeAws_queryScheduledUpdateGroupAction = ( context: __SerdeContext ): ScheduledUpdateGroupAction => { let contents: any = { + AutoScalingGroupName: undefined, ScheduledActionName: undefined, ScheduledActionARN: undefined, - MaxSize: undefined, - AutoScalingGroupName: undefined, - Recurrence: undefined, - DesiredCapacity: undefined, + Time: undefined, StartTime: undefined, EndTime: undefined, - Time: undefined, + Recurrence: undefined, MinSize: undefined, + MaxSize: undefined, + DesiredCapacity: undefined, }; + if (output["AutoScalingGroupName"] !== undefined) { + contents.AutoScalingGroupName = output["AutoScalingGroupName"]; + } if (output["ScheduledActionName"] !== undefined) { contents.ScheduledActionName = output["ScheduledActionName"]; } if (output["ScheduledActionARN"] !== undefined) { contents.ScheduledActionARN = output["ScheduledActionARN"]; } - if (output["MaxSize"] !== undefined) { - contents.MaxSize = parseInt(output["MaxSize"]); - } - if (output["AutoScalingGroupName"] !== undefined) { - contents.AutoScalingGroupName = output["AutoScalingGroupName"]; - } - if (output["Recurrence"] !== undefined) { - contents.Recurrence = output["Recurrence"]; - } - if (output["DesiredCapacity"] !== undefined) { - contents.DesiredCapacity = parseInt(output["DesiredCapacity"]); + if (output["Time"] !== undefined) { + contents.Time = new Date(output["Time"]); } if (output["StartTime"] !== undefined) { contents.StartTime = new Date(output["StartTime"]); @@ -8352,12 +8346,18 @@ const deserializeAws_queryScheduledUpdateGroupAction = ( if (output["EndTime"] !== undefined) { contents.EndTime = new Date(output["EndTime"]); } - if (output["Time"] !== undefined) { - contents.Time = new Date(output["Time"]); + if (output["Recurrence"] !== undefined) { + contents.Recurrence = output["Recurrence"]; } if (output["MinSize"] !== undefined) { contents.MinSize = parseInt(output["MinSize"]); } + if (output["MaxSize"] !== undefined) { + contents.MaxSize = parseInt(output["MaxSize"]); + } + if (output["DesiredCapacity"] !== undefined) { + contents.DesiredCapacity = parseInt(output["DesiredCapacity"]); + } return contents; }; @@ -8409,18 +8409,18 @@ const deserializeAws_queryStartInstanceRefreshAnswer = ( const deserializeAws_queryStepAdjustment = (output: any, context: __SerdeContext): StepAdjustment => { let contents: any = { MetricIntervalLowerBound: undefined, - ScalingAdjustment: undefined, MetricIntervalUpperBound: undefined, + ScalingAdjustment: undefined, }; if (output["MetricIntervalLowerBound"] !== undefined) { contents.MetricIntervalLowerBound = parseFloat(output["MetricIntervalLowerBound"]); } - if (output["ScalingAdjustment"] !== undefined) { - contents.ScalingAdjustment = parseInt(output["ScalingAdjustment"]); - } if (output["MetricIntervalUpperBound"] !== undefined) { contents.MetricIntervalUpperBound = parseFloat(output["MetricIntervalUpperBound"]); } + if (output["ScalingAdjustment"] !== undefined) { + contents.ScalingAdjustment = parseInt(output["ScalingAdjustment"]); + } return contents; }; @@ -8430,15 +8430,15 @@ const deserializeAws_queryStepAdjustments = (output: any, context: __SerdeContex const deserializeAws_querySuspendedProcess = (output: any, context: __SerdeContext): SuspendedProcess => { let contents: any = { - SuspensionReason: undefined, ProcessName: undefined, + SuspensionReason: undefined, }; - if (output["SuspensionReason"] !== undefined) { - contents.SuspensionReason = output["SuspensionReason"]; - } if (output["ProcessName"] !== undefined) { contents.ProcessName = output["ProcessName"]; } + if (output["SuspensionReason"] !== undefined) { + contents.SuspensionReason = output["SuspensionReason"]; + } return contents; }; @@ -8448,27 +8448,27 @@ const deserializeAws_querySuspendedProcesses = (output: any, context: __SerdeCon const deserializeAws_queryTagDescription = (output: any, context: __SerdeContext): TagDescription => { let contents: any = { - Value: undefined, - Key: undefined, - PropagateAtLaunch: undefined, ResourceId: undefined, ResourceType: undefined, + Key: undefined, + Value: undefined, + PropagateAtLaunch: undefined, }; - if (output["Value"] !== undefined) { - contents.Value = output["Value"]; + if (output["ResourceId"] !== undefined) { + contents.ResourceId = output["ResourceId"]; + } + if (output["ResourceType"] !== undefined) { + contents.ResourceType = output["ResourceType"]; } if (output["Key"] !== undefined) { contents.Key = output["Key"]; } + if (output["Value"] !== undefined) { + contents.Value = output["Value"]; + } if (output["PropagateAtLaunch"] !== undefined) { contents.PropagateAtLaunch = output["PropagateAtLaunch"] == "true"; } - if (output["ResourceId"] !== undefined) { - contents.ResourceId = output["ResourceId"]; - } - if (output["ResourceType"] !== undefined) { - contents.ResourceType = output["ResourceType"]; - } return contents; }; @@ -8478,18 +8478,18 @@ const deserializeAws_queryTagDescriptionList = (output: any, context: __SerdeCon const deserializeAws_queryTagsType = (output: any, context: __SerdeContext): TagsType => { let contents: any = { - NextToken: undefined, Tags: undefined, + NextToken: undefined, }; - if (output["NextToken"] !== undefined) { - contents.NextToken = output["NextToken"]; - } if (output.Tags === "") { contents.Tags = []; } if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) { contents.Tags = deserializeAws_queryTagDescriptionList(__getArrayIfSingleItem(output["Tags"]["member"]), context); } + if (output["NextToken"] !== undefined) { + contents.NextToken = output["NextToken"]; + } return contents; }; @@ -8503,9 +8503,9 @@ const deserializeAws_queryTargetTrackingConfiguration = ( ): TargetTrackingConfiguration => { let contents: any = { PredefinedMetricSpecification: undefined, - DisableScaleIn: undefined, - TargetValue: undefined, CustomizedMetricSpecification: undefined, + TargetValue: undefined, + DisableScaleIn: undefined, }; if (output["PredefinedMetricSpecification"] !== undefined) { contents.PredefinedMetricSpecification = deserializeAws_queryPredefinedMetricSpecification( @@ -8513,18 +8513,18 @@ const deserializeAws_queryTargetTrackingConfiguration = ( context ); } - if (output["DisableScaleIn"] !== undefined) { - contents.DisableScaleIn = output["DisableScaleIn"] == "true"; - } - if (output["TargetValue"] !== undefined) { - contents.TargetValue = parseFloat(output["TargetValue"]); - } if (output["CustomizedMetricSpecification"] !== undefined) { contents.CustomizedMetricSpecification = deserializeAws_queryCustomizedMetricSpecification( output["CustomizedMetricSpecification"], context ); } + if (output["TargetValue"] !== undefined) { + contents.TargetValue = parseFloat(output["TargetValue"]); + } + if (output["DisableScaleIn"] !== undefined) { + contents.DisableScaleIn = output["DisableScaleIn"] == "true"; + } return contents; }; diff --git a/clients/client-backup/pagination/ListBackupJobsPaginator.ts b/clients/client-backup/pagination/ListBackupJobsPaginator.ts index acd9ee444d4b..86e5da12a166 100644 --- a/clients/client-backup/pagination/ListBackupJobsPaginator.ts +++ b/clients/client-backup/pagination/ListBackupJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupJobsCommand(input), ...args); + return await client.send(new ListBackupJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupPlanTemplatesPaginator.ts b/clients/client-backup/pagination/ListBackupPlanTemplatesPaginator.ts index 16c6b463e24c..28420aae0e8a 100644 --- a/clients/client-backup/pagination/ListBackupPlanTemplatesPaginator.ts +++ b/clients/client-backup/pagination/ListBackupPlanTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupPlanTemplatesCommand(input), ...args); + return await client.send(new ListBackupPlanTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupPlanVersionsPaginator.ts b/clients/client-backup/pagination/ListBackupPlanVersionsPaginator.ts index 3468c342785a..0f07656a9826 100644 --- a/clients/client-backup/pagination/ListBackupPlanVersionsPaginator.ts +++ b/clients/client-backup/pagination/ListBackupPlanVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupPlanVersionsCommand(input), ...args); + return await client.send(new ListBackupPlanVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupPlansPaginator.ts b/clients/client-backup/pagination/ListBackupPlansPaginator.ts index d336394f8d18..62a584a2aa95 100644 --- a/clients/client-backup/pagination/ListBackupPlansPaginator.ts +++ b/clients/client-backup/pagination/ListBackupPlansPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupPlansCommand(input), ...args); + return await client.send(new ListBackupPlansCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupSelectionsPaginator.ts b/clients/client-backup/pagination/ListBackupSelectionsPaginator.ts index 3c0d3f1ff063..c974e2b90dca 100644 --- a/clients/client-backup/pagination/ListBackupSelectionsPaginator.ts +++ b/clients/client-backup/pagination/ListBackupSelectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupSelectionsCommand(input), ...args); + return await client.send(new ListBackupSelectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupVaultsPaginator.ts b/clients/client-backup/pagination/ListBackupVaultsPaginator.ts index a5b7d0201389..f835082a9ac1 100644 --- a/clients/client-backup/pagination/ListBackupVaultsPaginator.ts +++ b/clients/client-backup/pagination/ListBackupVaultsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupVaultsCommand(input), ...args); + return await client.send(new ListBackupVaultsCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListCopyJobsPaginator.ts b/clients/client-backup/pagination/ListCopyJobsPaginator.ts index 62960b32cb9f..9eabf3247dc7 100644 --- a/clients/client-backup/pagination/ListCopyJobsPaginator.ts +++ b/clients/client-backup/pagination/ListCopyJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCopyJobsCommand(input), ...args); + return await client.send(new ListCopyJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListProtectedResourcesPaginator.ts b/clients/client-backup/pagination/ListProtectedResourcesPaginator.ts index 99ec02850088..d0793c9eba97 100644 --- a/clients/client-backup/pagination/ListProtectedResourcesPaginator.ts +++ b/clients/client-backup/pagination/ListProtectedResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProtectedResourcesCommand(input), ...args); + return await client.send(new ListProtectedResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListRecoveryPointsByBackupVaultPaginator.ts b/clients/client-backup/pagination/ListRecoveryPointsByBackupVaultPaginator.ts index 2697697803af..5d55398b489a 100644 --- a/clients/client-backup/pagination/ListRecoveryPointsByBackupVaultPaginator.ts +++ b/clients/client-backup/pagination/ListRecoveryPointsByBackupVaultPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecoveryPointsByBackupVaultCommand(input), ...args); + return await client.send(new ListRecoveryPointsByBackupVaultCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListRecoveryPointsByResourcePaginator.ts b/clients/client-backup/pagination/ListRecoveryPointsByResourcePaginator.ts index e38d8b1fd17b..cf1f45e4899b 100644 --- a/clients/client-backup/pagination/ListRecoveryPointsByResourcePaginator.ts +++ b/clients/client-backup/pagination/ListRecoveryPointsByResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecoveryPointsByResourceCommand(input), ...args); + return await client.send(new ListRecoveryPointsByResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListRestoreJobsPaginator.ts b/clients/client-backup/pagination/ListRestoreJobsPaginator.ts index e7c36595805c..3720b85fd653 100644 --- a/clients/client-backup/pagination/ListRestoreJobsPaginator.ts +++ b/clients/client-backup/pagination/ListRestoreJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRestoreJobsCommand(input), ...args); + return await client.send(new ListRestoreJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListTagsPaginator.ts b/clients/client-backup/pagination/ListTagsPaginator.ts index aeaca9c21127..0e1e4b89fb20 100644 --- a/clients/client-backup/pagination/ListTagsPaginator.ts +++ b/clients/client-backup/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input), ...args); + return await client.send(new ListTagsCommand(input, ...args)); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-batch/pagination/DescribeComputeEnvironmentsPaginator.ts b/clients/client-batch/pagination/DescribeComputeEnvironmentsPaginator.ts index e2d3738271de..bc2a2a4e3f07 100644 --- a/clients/client-batch/pagination/DescribeComputeEnvironmentsPaginator.ts +++ b/clients/client-batch/pagination/DescribeComputeEnvironmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeComputeEnvironmentsCommand(input), ...args); + return await client.send(new DescribeComputeEnvironmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: Batch, diff --git a/clients/client-batch/pagination/DescribeJobDefinitionsPaginator.ts b/clients/client-batch/pagination/DescribeJobDefinitionsPaginator.ts index 21ccc024e551..ff5c28487b78 100644 --- a/clients/client-batch/pagination/DescribeJobDefinitionsPaginator.ts +++ b/clients/client-batch/pagination/DescribeJobDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeJobDefinitionsCommand(input), ...args); + return await client.send(new DescribeJobDefinitionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Batch, diff --git a/clients/client-batch/pagination/DescribeJobQueuesPaginator.ts b/clients/client-batch/pagination/DescribeJobQueuesPaginator.ts index a32767ff891e..c73b8c9cec4e 100644 --- a/clients/client-batch/pagination/DescribeJobQueuesPaginator.ts +++ b/clients/client-batch/pagination/DescribeJobQueuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeJobQueuesCommand(input), ...args); + return await client.send(new DescribeJobQueuesCommand(input, ...args)); }; const makePagedRequest = async ( client: Batch, diff --git a/clients/client-batch/pagination/ListJobsPaginator.ts b/clients/client-batch/pagination/ListJobsPaginator.ts index 7b56b7d4b8a5..1af80dcafce3 100644 --- a/clients/client-batch/pagination/ListJobsPaginator.ts +++ b/clients/client-batch/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input), ...args); + return await client.send(new ListJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Batch, diff --git a/clients/client-braket/pagination/SearchDevicesPaginator.ts b/clients/client-braket/pagination/SearchDevicesPaginator.ts index 122dc9c721f4..6630fcee72d0 100644 --- a/clients/client-braket/pagination/SearchDevicesPaginator.ts +++ b/clients/client-braket/pagination/SearchDevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchDevicesCommand(input), ...args); + return await client.send(new SearchDevicesCommand(input, ...args)); }; const makePagedRequest = async ( client: Braket, diff --git a/clients/client-braket/pagination/SearchQuantumTasksPaginator.ts b/clients/client-braket/pagination/SearchQuantumTasksPaginator.ts index b4e1961adb21..65429c361110 100644 --- a/clients/client-braket/pagination/SearchQuantumTasksPaginator.ts +++ b/clients/client-braket/pagination/SearchQuantumTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchQuantumTasksCommand(input), ...args); + return await client.send(new SearchQuantumTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: Braket, diff --git a/clients/client-budgets/pagination/DescribeBudgetActionHistoriesPaginator.ts b/clients/client-budgets/pagination/DescribeBudgetActionHistoriesPaginator.ts index be98c43df34a..d7c012829357 100644 --- a/clients/client-budgets/pagination/DescribeBudgetActionHistoriesPaginator.ts +++ b/clients/client-budgets/pagination/DescribeBudgetActionHistoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBudgetActionHistoriesCommand(input), ...args); + return await client.send(new DescribeBudgetActionHistoriesCommand(input, ...args)); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeBudgetActionsForAccountPaginator.ts b/clients/client-budgets/pagination/DescribeBudgetActionsForAccountPaginator.ts index c5990a5e55dc..3bb68cc225c5 100644 --- a/clients/client-budgets/pagination/DescribeBudgetActionsForAccountPaginator.ts +++ b/clients/client-budgets/pagination/DescribeBudgetActionsForAccountPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBudgetActionsForAccountCommand(input), ...args); + return await client.send(new DescribeBudgetActionsForAccountCommand(input, ...args)); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeBudgetActionsForBudgetPaginator.ts b/clients/client-budgets/pagination/DescribeBudgetActionsForBudgetPaginator.ts index 4ce47f986411..15e8a10e1375 100644 --- a/clients/client-budgets/pagination/DescribeBudgetActionsForBudgetPaginator.ts +++ b/clients/client-budgets/pagination/DescribeBudgetActionsForBudgetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBudgetActionsForBudgetCommand(input), ...args); + return await client.send(new DescribeBudgetActionsForBudgetCommand(input, ...args)); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeBudgetsPaginator.ts b/clients/client-budgets/pagination/DescribeBudgetsPaginator.ts index 14c405d16f78..67f77f47ef81 100644 --- a/clients/client-budgets/pagination/DescribeBudgetsPaginator.ts +++ b/clients/client-budgets/pagination/DescribeBudgetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBudgetsCommand(input), ...args); + return await client.send(new DescribeBudgetsCommand(input, ...args)); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeNotificationsForBudgetPaginator.ts b/clients/client-budgets/pagination/DescribeNotificationsForBudgetPaginator.ts index 089119772c6a..61364535321c 100644 --- a/clients/client-budgets/pagination/DescribeNotificationsForBudgetPaginator.ts +++ b/clients/client-budgets/pagination/DescribeNotificationsForBudgetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNotificationsForBudgetCommand(input), ...args); + return await client.send(new DescribeNotificationsForBudgetCommand(input, ...args)); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeSubscribersForNotificationPaginator.ts b/clients/client-budgets/pagination/DescribeSubscribersForNotificationPaginator.ts index 691d5979f29d..c01488ff9c0f 100644 --- a/clients/client-budgets/pagination/DescribeSubscribersForNotificationPaginator.ts +++ b/clients/client-budgets/pagination/DescribeSubscribersForNotificationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSubscribersForNotificationCommand(input), ...args); + return await client.send(new DescribeSubscribersForNotificationCommand(input, ...args)); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-chime/pagination/ListAccountsPaginator.ts b/clients/client-chime/pagination/ListAccountsPaginator.ts index 5b1f734cbf87..39fe86e05c68 100644 --- a/clients/client-chime/pagination/ListAccountsPaginator.ts +++ b/clients/client-chime/pagination/ListAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsCommand(input), ...args); + return await client.send(new ListAccountsCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListAttendeesPaginator.ts b/clients/client-chime/pagination/ListAttendeesPaginator.ts index 371306ef70a1..07ec7436a8b6 100644 --- a/clients/client-chime/pagination/ListAttendeesPaginator.ts +++ b/clients/client-chime/pagination/ListAttendeesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttendeesCommand(input), ...args); + return await client.send(new ListAttendeesCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListBotsPaginator.ts b/clients/client-chime/pagination/ListBotsPaginator.ts index bf7f1a2c5073..2c89b581aec2 100644 --- a/clients/client-chime/pagination/ListBotsPaginator.ts +++ b/clients/client-chime/pagination/ListBotsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBotsCommand(input), ...args); + return await client.send(new ListBotsCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListMeetingsPaginator.ts b/clients/client-chime/pagination/ListMeetingsPaginator.ts index 04043d0be7ba..d8b2cb174377 100644 --- a/clients/client-chime/pagination/ListMeetingsPaginator.ts +++ b/clients/client-chime/pagination/ListMeetingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMeetingsCommand(input), ...args); + return await client.send(new ListMeetingsCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListPhoneNumberOrdersPaginator.ts b/clients/client-chime/pagination/ListPhoneNumberOrdersPaginator.ts index 71f3c2f7c5de..2fab52f7dc01 100644 --- a/clients/client-chime/pagination/ListPhoneNumberOrdersPaginator.ts +++ b/clients/client-chime/pagination/ListPhoneNumberOrdersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPhoneNumberOrdersCommand(input), ...args); + return await client.send(new ListPhoneNumberOrdersCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListPhoneNumbersPaginator.ts b/clients/client-chime/pagination/ListPhoneNumbersPaginator.ts index 9a04303f6734..a69a25af13b4 100644 --- a/clients/client-chime/pagination/ListPhoneNumbersPaginator.ts +++ b/clients/client-chime/pagination/ListPhoneNumbersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPhoneNumbersCommand(input), ...args); + return await client.send(new ListPhoneNumbersCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListProxySessionsPaginator.ts b/clients/client-chime/pagination/ListProxySessionsPaginator.ts index 8dfc15fca4af..54662e9e770d 100644 --- a/clients/client-chime/pagination/ListProxySessionsPaginator.ts +++ b/clients/client-chime/pagination/ListProxySessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProxySessionsCommand(input), ...args); + return await client.send(new ListProxySessionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListRoomMembershipsPaginator.ts b/clients/client-chime/pagination/ListRoomMembershipsPaginator.ts index 2f1d984e414e..e60252194302 100644 --- a/clients/client-chime/pagination/ListRoomMembershipsPaginator.ts +++ b/clients/client-chime/pagination/ListRoomMembershipsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoomMembershipsCommand(input), ...args); + return await client.send(new ListRoomMembershipsCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListRoomsPaginator.ts b/clients/client-chime/pagination/ListRoomsPaginator.ts index fe1e0732f759..713c3e4d8843 100644 --- a/clients/client-chime/pagination/ListRoomsPaginator.ts +++ b/clients/client-chime/pagination/ListRoomsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoomsCommand(input), ...args); + return await client.send(new ListRoomsCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListUsersPaginator.ts b/clients/client-chime/pagination/ListUsersPaginator.ts index 79e060c21071..fb2b5b1d6f60 100644 --- a/clients/client-chime/pagination/ListUsersPaginator.ts +++ b/clients/client-chime/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input), ...args); + return await client.send(new ListUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListVoiceConnectorGroupsPaginator.ts b/clients/client-chime/pagination/ListVoiceConnectorGroupsPaginator.ts index 11b707c0486a..7f2c850177b5 100644 --- a/clients/client-chime/pagination/ListVoiceConnectorGroupsPaginator.ts +++ b/clients/client-chime/pagination/ListVoiceConnectorGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVoiceConnectorGroupsCommand(input), ...args); + return await client.send(new ListVoiceConnectorGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListVoiceConnectorsPaginator.ts b/clients/client-chime/pagination/ListVoiceConnectorsPaginator.ts index b34a14aea088..218487355fd5 100644 --- a/clients/client-chime/pagination/ListVoiceConnectorsPaginator.ts +++ b/clients/client-chime/pagination/ListVoiceConnectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVoiceConnectorsCommand(input), ...args); + return await client.send(new ListVoiceConnectorsCommand(input, ...args)); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-cloud9/pagination/DescribeEnvironmentMembershipsPaginator.ts b/clients/client-cloud9/pagination/DescribeEnvironmentMembershipsPaginator.ts index a1cd0d94d41f..423a6e6c2553 100644 --- a/clients/client-cloud9/pagination/DescribeEnvironmentMembershipsPaginator.ts +++ b/clients/client-cloud9/pagination/DescribeEnvironmentMembershipsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEnvironmentMembershipsCommand(input), ...args); + return await client.send(new DescribeEnvironmentMembershipsCommand(input, ...args)); }; const makePagedRequest = async ( client: Cloud9, diff --git a/clients/client-cloud9/pagination/ListEnvironmentsPaginator.ts b/clients/client-cloud9/pagination/ListEnvironmentsPaginator.ts index deeea58faa07..1fc58f8f30a7 100644 --- a/clients/client-cloud9/pagination/ListEnvironmentsPaginator.ts +++ b/clients/client-cloud9/pagination/ListEnvironmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEnvironmentsCommand(input), ...args); + return await client.send(new ListEnvironmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: Cloud9, diff --git a/clients/client-clouddirectory/pagination/ListAppliedSchemaArnsPaginator.ts b/clients/client-clouddirectory/pagination/ListAppliedSchemaArnsPaginator.ts index e7f87e19b61b..d429ade5f4ae 100644 --- a/clients/client-clouddirectory/pagination/ListAppliedSchemaArnsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListAppliedSchemaArnsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAppliedSchemaArnsCommand(input), ...args); + return await client.send(new ListAppliedSchemaArnsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListAttachedIndicesPaginator.ts b/clients/client-clouddirectory/pagination/ListAttachedIndicesPaginator.ts index 775b7fe64401..a4ba64f72263 100644 --- a/clients/client-clouddirectory/pagination/ListAttachedIndicesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListAttachedIndicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedIndicesCommand(input), ...args); + return await client.send(new ListAttachedIndicesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListDevelopmentSchemaArnsPaginator.ts b/clients/client-clouddirectory/pagination/ListDevelopmentSchemaArnsPaginator.ts index c9c66724890b..16c983e85bf9 100644 --- a/clients/client-clouddirectory/pagination/ListDevelopmentSchemaArnsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListDevelopmentSchemaArnsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevelopmentSchemaArnsCommand(input), ...args); + return await client.send(new ListDevelopmentSchemaArnsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListDirectoriesPaginator.ts b/clients/client-clouddirectory/pagination/ListDirectoriesPaginator.ts index 9d2a14850554..70b0ab1cf31f 100644 --- a/clients/client-clouddirectory/pagination/ListDirectoriesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListDirectoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDirectoriesCommand(input), ...args); + return await client.send(new ListDirectoriesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListFacetAttributesPaginator.ts b/clients/client-clouddirectory/pagination/ListFacetAttributesPaginator.ts index ddfe855bdb82..90458dd6de5c 100644 --- a/clients/client-clouddirectory/pagination/ListFacetAttributesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListFacetAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFacetAttributesCommand(input), ...args); + return await client.send(new ListFacetAttributesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListFacetNamesPaginator.ts b/clients/client-clouddirectory/pagination/ListFacetNamesPaginator.ts index 5bf554c3d7f5..a2152931696b 100644 --- a/clients/client-clouddirectory/pagination/ListFacetNamesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListFacetNamesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFacetNamesCommand(input), ...args); + return await client.send(new ListFacetNamesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListIndexPaginator.ts b/clients/client-clouddirectory/pagination/ListIndexPaginator.ts index d20cdaaf0de3..d409e6f5b191 100644 --- a/clients/client-clouddirectory/pagination/ListIndexPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListIndexPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIndexCommand(input), ...args); + return await client.send(new ListIndexCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListManagedSchemaArnsPaginator.ts b/clients/client-clouddirectory/pagination/ListManagedSchemaArnsPaginator.ts index 2806a95b9c6a..8e270716a4a9 100644 --- a/clients/client-clouddirectory/pagination/ListManagedSchemaArnsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListManagedSchemaArnsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListManagedSchemaArnsCommand(input), ...args); + return await client.send(new ListManagedSchemaArnsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectAttributesPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectAttributesPaginator.ts index 8e928fcfde2d..4fdaa79c4412 100644 --- a/clients/client-clouddirectory/pagination/ListObjectAttributesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectAttributesCommand(input), ...args); + return await client.send(new ListObjectAttributesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectChildrenPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectChildrenPaginator.ts index 02c31f4271ed..f1d972f9e170 100644 --- a/clients/client-clouddirectory/pagination/ListObjectChildrenPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectChildrenPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectChildrenCommand(input), ...args); + return await client.send(new ListObjectChildrenCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectParentPathsPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectParentPathsPaginator.ts index 390987eaf351..7b82765c03cd 100644 --- a/clients/client-clouddirectory/pagination/ListObjectParentPathsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectParentPathsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectParentPathsCommand(input), ...args); + return await client.send(new ListObjectParentPathsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectParentsPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectParentsPaginator.ts index b85035bc0fa6..f06ec184d941 100644 --- a/clients/client-clouddirectory/pagination/ListObjectParentsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectParentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectParentsCommand(input), ...args); + return await client.send(new ListObjectParentsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectPoliciesPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectPoliciesPaginator.ts index 3ebf186904ec..c697808b7117 100644 --- a/clients/client-clouddirectory/pagination/ListObjectPoliciesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectPoliciesCommand(input), ...args); + return await client.send(new ListObjectPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListPolicyAttachmentsPaginator.ts b/clients/client-clouddirectory/pagination/ListPolicyAttachmentsPaginator.ts index 5f1f441a0fab..9c857d71719d 100644 --- a/clients/client-clouddirectory/pagination/ListPolicyAttachmentsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListPolicyAttachmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPolicyAttachmentsCommand(input), ...args); + return await client.send(new ListPolicyAttachmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListPublishedSchemaArnsPaginator.ts b/clients/client-clouddirectory/pagination/ListPublishedSchemaArnsPaginator.ts index 43d66b424241..ba630feeca1c 100644 --- a/clients/client-clouddirectory/pagination/ListPublishedSchemaArnsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListPublishedSchemaArnsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPublishedSchemaArnsCommand(input), ...args); + return await client.send(new ListPublishedSchemaArnsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListTagsForResourcePaginator.ts b/clients/client-clouddirectory/pagination/ListTagsForResourcePaginator.ts index dcf4a2d6734e..b22f2e14cd81 100644 --- a/clients/client-clouddirectory/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-clouddirectory/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListTypedLinkFacetAttributesPaginator.ts b/clients/client-clouddirectory/pagination/ListTypedLinkFacetAttributesPaginator.ts index 450226179f33..909102dcc8bd 100644 --- a/clients/client-clouddirectory/pagination/ListTypedLinkFacetAttributesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListTypedLinkFacetAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypedLinkFacetAttributesCommand(input), ...args); + return await client.send(new ListTypedLinkFacetAttributesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListTypedLinkFacetNamesPaginator.ts b/clients/client-clouddirectory/pagination/ListTypedLinkFacetNamesPaginator.ts index 733f7d212568..3350b7a58a18 100644 --- a/clients/client-clouddirectory/pagination/ListTypedLinkFacetNamesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListTypedLinkFacetNamesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypedLinkFacetNamesCommand(input), ...args); + return await client.send(new ListTypedLinkFacetNamesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/LookupPolicyPaginator.ts b/clients/client-clouddirectory/pagination/LookupPolicyPaginator.ts index c5f57755677b..36e371f8b801 100644 --- a/clients/client-clouddirectory/pagination/LookupPolicyPaginator.ts +++ b/clients/client-clouddirectory/pagination/LookupPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new LookupPolicyCommand(input), ...args); + return await client.send(new LookupPolicyCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-cloudformation/pagination/DescribeAccountLimitsPaginator.ts b/clients/client-cloudformation/pagination/DescribeAccountLimitsPaginator.ts index 49621f395b2f..8a562b62c604 100644 --- a/clients/client-cloudformation/pagination/DescribeAccountLimitsPaginator.ts +++ b/clients/client-cloudformation/pagination/DescribeAccountLimitsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAccountLimitsCommand(input), ...args); + return await client.send(new DescribeAccountLimitsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/DescribeStackEventsPaginator.ts b/clients/client-cloudformation/pagination/DescribeStackEventsPaginator.ts index f50ccbfdf84b..81142edcd04f 100644 --- a/clients/client-cloudformation/pagination/DescribeStackEventsPaginator.ts +++ b/clients/client-cloudformation/pagination/DescribeStackEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStackEventsCommand(input), ...args); + return await client.send(new DescribeStackEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/DescribeStackResourceDriftsPaginator.ts b/clients/client-cloudformation/pagination/DescribeStackResourceDriftsPaginator.ts index 6210f41f70a3..db52da69e9cf 100644 --- a/clients/client-cloudformation/pagination/DescribeStackResourceDriftsPaginator.ts +++ b/clients/client-cloudformation/pagination/DescribeStackResourceDriftsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStackResourceDriftsCommand(input), ...args); + return await client.send(new DescribeStackResourceDriftsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/DescribeStacksPaginator.ts b/clients/client-cloudformation/pagination/DescribeStacksPaginator.ts index 9235c339ef47..e5e6d594e7f3 100644 --- a/clients/client-cloudformation/pagination/DescribeStacksPaginator.ts +++ b/clients/client-cloudformation/pagination/DescribeStacksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStacksCommand(input), ...args); + return await client.send(new DescribeStacksCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListChangeSetsPaginator.ts b/clients/client-cloudformation/pagination/ListChangeSetsPaginator.ts index 27b8749c50ef..6bf8e59df6ed 100644 --- a/clients/client-cloudformation/pagination/ListChangeSetsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListChangeSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChangeSetsCommand(input), ...args); + return await client.send(new ListChangeSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListExportsPaginator.ts b/clients/client-cloudformation/pagination/ListExportsPaginator.ts index d34c552e5d80..4d19ff6a0533 100644 --- a/clients/client-cloudformation/pagination/ListExportsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListExportsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListExportsCommand(input), ...args); + return await client.send(new ListExportsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListImportsPaginator.ts b/clients/client-cloudformation/pagination/ListImportsPaginator.ts index b711feea2548..3b52f63e10a9 100644 --- a/clients/client-cloudformation/pagination/ListImportsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListImportsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImportsCommand(input), ...args); + return await client.send(new ListImportsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackInstancesPaginator.ts b/clients/client-cloudformation/pagination/ListStackInstancesPaginator.ts index 3375bc793075..390354fa9f2e 100644 --- a/clients/client-cloudformation/pagination/ListStackInstancesPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackInstancesCommand(input), ...args); + return await client.send(new ListStackInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackResourcesPaginator.ts b/clients/client-cloudformation/pagination/ListStackResourcesPaginator.ts index 9ea73430f478..0adf9869dfbf 100644 --- a/clients/client-cloudformation/pagination/ListStackResourcesPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackResourcesCommand(input), ...args); + return await client.send(new ListStackResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackSetOperationResultsPaginator.ts b/clients/client-cloudformation/pagination/ListStackSetOperationResultsPaginator.ts index 7fd1758fec7c..5882aca1e1b5 100644 --- a/clients/client-cloudformation/pagination/ListStackSetOperationResultsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackSetOperationResultsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackSetOperationResultsCommand(input), ...args); + return await client.send(new ListStackSetOperationResultsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackSetOperationsPaginator.ts b/clients/client-cloudformation/pagination/ListStackSetOperationsPaginator.ts index 02c90b4ec037..f2dae1216758 100644 --- a/clients/client-cloudformation/pagination/ListStackSetOperationsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackSetOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackSetOperationsCommand(input), ...args); + return await client.send(new ListStackSetOperationsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackSetsPaginator.ts b/clients/client-cloudformation/pagination/ListStackSetsPaginator.ts index 03804a756869..740de39c7b71 100644 --- a/clients/client-cloudformation/pagination/ListStackSetsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackSetsCommand(input), ...args); + return await client.send(new ListStackSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStacksPaginator.ts b/clients/client-cloudformation/pagination/ListStacksPaginator.ts index 37adf2b458a5..0923f1cff39d 100644 --- a/clients/client-cloudformation/pagination/ListStacksPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStacksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStacksCommand(input), ...args); + return await client.send(new ListStacksCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListTypeRegistrationsPaginator.ts b/clients/client-cloudformation/pagination/ListTypeRegistrationsPaginator.ts index e821455af51b..ccc27a7cc769 100644 --- a/clients/client-cloudformation/pagination/ListTypeRegistrationsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListTypeRegistrationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypeRegistrationsCommand(input), ...args); + return await client.send(new ListTypeRegistrationsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListTypeVersionsPaginator.ts b/clients/client-cloudformation/pagination/ListTypeVersionsPaginator.ts index ea48cac39267..6b346bf0258c 100644 --- a/clients/client-cloudformation/pagination/ListTypeVersionsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListTypeVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypeVersionsCommand(input), ...args); + return await client.send(new ListTypeVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListTypesPaginator.ts b/clients/client-cloudformation/pagination/ListTypesPaginator.ts index 6af4b2280168..be21c1b63417 100644 --- a/clients/client-cloudformation/pagination/ListTypesPaginator.ts +++ b/clients/client-cloudformation/pagination/ListTypesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypesCommand(input), ...args); + return await client.send(new ListTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudhsm-v2/pagination/DescribeBackupsPaginator.ts b/clients/client-cloudhsm-v2/pagination/DescribeBackupsPaginator.ts index b5c19831c52e..b6dbcd0461fb 100644 --- a/clients/client-cloudhsm-v2/pagination/DescribeBackupsPaginator.ts +++ b/clients/client-cloudhsm-v2/pagination/DescribeBackupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBackupsCommand(input), ...args); + return await client.send(new DescribeBackupsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudHSMV2, diff --git a/clients/client-cloudhsm-v2/pagination/DescribeClustersPaginator.ts b/clients/client-cloudhsm-v2/pagination/DescribeClustersPaginator.ts index fc138316b401..c096a4f58f02 100644 --- a/clients/client-cloudhsm-v2/pagination/DescribeClustersPaginator.ts +++ b/clients/client-cloudhsm-v2/pagination/DescribeClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClustersCommand(input), ...args); + return await client.send(new DescribeClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudHSMV2, diff --git a/clients/client-cloudhsm-v2/pagination/ListTagsPaginator.ts b/clients/client-cloudhsm-v2/pagination/ListTagsPaginator.ts index a9a2335e8360..3b6dc4e70a8e 100644 --- a/clients/client-cloudhsm-v2/pagination/ListTagsPaginator.ts +++ b/clients/client-cloudhsm-v2/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input), ...args); + return await client.send(new ListTagsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudHSMV2, diff --git a/clients/client-cloudtrail/pagination/ListPublicKeysPaginator.ts b/clients/client-cloudtrail/pagination/ListPublicKeysPaginator.ts index 8897885cbd3b..6e5e108e82c1 100644 --- a/clients/client-cloudtrail/pagination/ListPublicKeysPaginator.ts +++ b/clients/client-cloudtrail/pagination/ListPublicKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPublicKeysCommand(input), ...args); + return await client.send(new ListPublicKeysCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudTrail, diff --git a/clients/client-cloudtrail/pagination/ListTagsPaginator.ts b/clients/client-cloudtrail/pagination/ListTagsPaginator.ts index 926b6c5eaca1..7f378fb0ae0a 100644 --- a/clients/client-cloudtrail/pagination/ListTagsPaginator.ts +++ b/clients/client-cloudtrail/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input), ...args); + return await client.send(new ListTagsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudTrail, diff --git a/clients/client-cloudtrail/pagination/ListTrailsPaginator.ts b/clients/client-cloudtrail/pagination/ListTrailsPaginator.ts index b87cd419b983..6b3e759c31f5 100644 --- a/clients/client-cloudtrail/pagination/ListTrailsPaginator.ts +++ b/clients/client-cloudtrail/pagination/ListTrailsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrailsCommand(input), ...args); + return await client.send(new ListTrailsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudTrail, diff --git a/clients/client-cloudtrail/pagination/LookupEventsPaginator.ts b/clients/client-cloudtrail/pagination/LookupEventsPaginator.ts index 32947eae49e7..7c2d80de2506 100644 --- a/clients/client-cloudtrail/pagination/LookupEventsPaginator.ts +++ b/clients/client-cloudtrail/pagination/LookupEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new LookupEventsCommand(input), ...args); + return await client.send(new LookupEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudTrail, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeDestinationsPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeDestinationsPaginator.ts index ea399cda4781..6ec29a3cdf90 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeDestinationsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeDestinationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDestinationsCommand(input), ...args); + return await client.send(new DescribeDestinationsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeLogGroupsPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeLogGroupsPaginator.ts index ee07f017f1fc..8ef15e83daa5 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeLogGroupsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeLogGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLogGroupsCommand(input), ...args); + return await client.send(new DescribeLogGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeLogStreamsPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeLogStreamsPaginator.ts index 9be7e4db33f6..35be16e6099f 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeLogStreamsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeLogStreamsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLogStreamsCommand(input), ...args); + return await client.send(new DescribeLogStreamsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeMetricFiltersPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeMetricFiltersPaginator.ts index 17b87ae63270..3e78acb199a8 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeMetricFiltersPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeMetricFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMetricFiltersCommand(input), ...args); + return await client.send(new DescribeMetricFiltersCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeSubscriptionFiltersPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeSubscriptionFiltersPaginator.ts index b610ac26c25c..829caaf6da31 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeSubscriptionFiltersPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeSubscriptionFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSubscriptionFiltersCommand(input), ...args); + return await client.send(new DescribeSubscriptionFiltersCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/FilterLogEventsPaginator.ts b/clients/client-cloudwatch-logs/pagination/FilterLogEventsPaginator.ts index f9d6f1a928c1..7855dddb85b5 100644 --- a/clients/client-cloudwatch-logs/pagination/FilterLogEventsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/FilterLogEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new FilterLogEventsCommand(input), ...args); + return await client.send(new FilterLogEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/GetLogEventsPaginator.ts b/clients/client-cloudwatch-logs/pagination/GetLogEventsPaginator.ts index 2415dd5ccf55..0ef59e447171 100644 --- a/clients/client-cloudwatch-logs/pagination/GetLogEventsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/GetLogEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLogEventsCommand(input), ...args); + return await client.send(new GetLogEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch/pagination/DescribeAlarmHistoryPaginator.ts b/clients/client-cloudwatch/pagination/DescribeAlarmHistoryPaginator.ts index 63e68a585153..251d4624b091 100644 --- a/clients/client-cloudwatch/pagination/DescribeAlarmHistoryPaginator.ts +++ b/clients/client-cloudwatch/pagination/DescribeAlarmHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAlarmHistoryCommand(input), ...args); + return await client.send(new DescribeAlarmHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/DescribeAlarmsPaginator.ts b/clients/client-cloudwatch/pagination/DescribeAlarmsPaginator.ts index d5b0c10d6590..2f2ed35b22b8 100644 --- a/clients/client-cloudwatch/pagination/DescribeAlarmsPaginator.ts +++ b/clients/client-cloudwatch/pagination/DescribeAlarmsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAlarmsCommand(input), ...args); + return await client.send(new DescribeAlarmsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/DescribeInsightRulesPaginator.ts b/clients/client-cloudwatch/pagination/DescribeInsightRulesPaginator.ts index ccd9f28cf809..780a01fdb034 100644 --- a/clients/client-cloudwatch/pagination/DescribeInsightRulesPaginator.ts +++ b/clients/client-cloudwatch/pagination/DescribeInsightRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInsightRulesCommand(input), ...args); + return await client.send(new DescribeInsightRulesCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/GetMetricDataPaginator.ts b/clients/client-cloudwatch/pagination/GetMetricDataPaginator.ts index 8de101fd8057..434d4fbf18bf 100644 --- a/clients/client-cloudwatch/pagination/GetMetricDataPaginator.ts +++ b/clients/client-cloudwatch/pagination/GetMetricDataPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMetricDataCommand(input), ...args); + return await client.send(new GetMetricDataCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/ListDashboardsPaginator.ts b/clients/client-cloudwatch/pagination/ListDashboardsPaginator.ts index 7ceadbe3914c..14aa83226599 100644 --- a/clients/client-cloudwatch/pagination/ListDashboardsPaginator.ts +++ b/clients/client-cloudwatch/pagination/ListDashboardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDashboardsCommand(input), ...args); + return await client.send(new ListDashboardsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/ListMetricsPaginator.ts b/clients/client-cloudwatch/pagination/ListMetricsPaginator.ts index 95d07a4b753c..35c8123b1c29 100644 --- a/clients/client-cloudwatch/pagination/ListMetricsPaginator.ts +++ b/clients/client-cloudwatch/pagination/ListMetricsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMetricsCommand(input), ...args); + return await client.send(new ListMetricsCommand(input, ...args)); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-codeartifact/pagination/ListDomainsPaginator.ts b/clients/client-codeartifact/pagination/ListDomainsPaginator.ts index 3db3bc0099f3..05fd24549471 100644 --- a/clients/client-codeartifact/pagination/ListDomainsPaginator.ts +++ b/clients/client-codeartifact/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input), ...args); + return await client.send(new ListDomainsCommand(input, ...args)); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListPackageVersionAssetsPaginator.ts b/clients/client-codeartifact/pagination/ListPackageVersionAssetsPaginator.ts index c0fb668e5335..9a5f853d4a66 100644 --- a/clients/client-codeartifact/pagination/ListPackageVersionAssetsPaginator.ts +++ b/clients/client-codeartifact/pagination/ListPackageVersionAssetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackageVersionAssetsCommand(input), ...args); + return await client.send(new ListPackageVersionAssetsCommand(input, ...args)); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListPackageVersionsPaginator.ts b/clients/client-codeartifact/pagination/ListPackageVersionsPaginator.ts index 956f3fb30cfc..30ee33b57d9f 100644 --- a/clients/client-codeartifact/pagination/ListPackageVersionsPaginator.ts +++ b/clients/client-codeartifact/pagination/ListPackageVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackageVersionsCommand(input), ...args); + return await client.send(new ListPackageVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListPackagesPaginator.ts b/clients/client-codeartifact/pagination/ListPackagesPaginator.ts index 004d35b26a68..2f73b129024d 100644 --- a/clients/client-codeartifact/pagination/ListPackagesPaginator.ts +++ b/clients/client-codeartifact/pagination/ListPackagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackagesCommand(input), ...args); + return await client.send(new ListPackagesCommand(input, ...args)); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListRepositoriesInDomainPaginator.ts b/clients/client-codeartifact/pagination/ListRepositoriesInDomainPaginator.ts index 5f5ad56c1f96..c76736a03ab8 100644 --- a/clients/client-codeartifact/pagination/ListRepositoriesInDomainPaginator.ts +++ b/clients/client-codeartifact/pagination/ListRepositoriesInDomainPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoriesInDomainCommand(input), ...args); + return await client.send(new ListRepositoriesInDomainCommand(input, ...args)); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListRepositoriesPaginator.ts b/clients/client-codeartifact/pagination/ListRepositoriesPaginator.ts index b71731770a9b..bd749857bc71 100644 --- a/clients/client-codeartifact/pagination/ListRepositoriesPaginator.ts +++ b/clients/client-codeartifact/pagination/ListRepositoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoriesCommand(input), ...args); + return await client.send(new ListRepositoriesCommand(input, ...args)); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codebuild/pagination/DescribeCodeCoveragesPaginator.ts b/clients/client-codebuild/pagination/DescribeCodeCoveragesPaginator.ts index 389cf1cf639c..43d00bf10e17 100644 --- a/clients/client-codebuild/pagination/DescribeCodeCoveragesPaginator.ts +++ b/clients/client-codebuild/pagination/DescribeCodeCoveragesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCodeCoveragesCommand(input), ...args); + return await client.send(new DescribeCodeCoveragesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/DescribeTestCasesPaginator.ts b/clients/client-codebuild/pagination/DescribeTestCasesPaginator.ts index 04b027abdb64..301bb6bf8abc 100644 --- a/clients/client-codebuild/pagination/DescribeTestCasesPaginator.ts +++ b/clients/client-codebuild/pagination/DescribeTestCasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTestCasesCommand(input), ...args); + return await client.send(new DescribeTestCasesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListBuildBatchesForProjectPaginator.ts b/clients/client-codebuild/pagination/ListBuildBatchesForProjectPaginator.ts index 7aa72e544dee..8a0d354c6e7c 100644 --- a/clients/client-codebuild/pagination/ListBuildBatchesForProjectPaginator.ts +++ b/clients/client-codebuild/pagination/ListBuildBatchesForProjectPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildBatchesForProjectCommand(input), ...args); + return await client.send(new ListBuildBatchesForProjectCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListBuildBatchesPaginator.ts b/clients/client-codebuild/pagination/ListBuildBatchesPaginator.ts index 585860d0ab83..5fba0cca255f 100644 --- a/clients/client-codebuild/pagination/ListBuildBatchesPaginator.ts +++ b/clients/client-codebuild/pagination/ListBuildBatchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildBatchesCommand(input), ...args); + return await client.send(new ListBuildBatchesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListBuildsForProjectPaginator.ts b/clients/client-codebuild/pagination/ListBuildsForProjectPaginator.ts index 371756bd4fcf..c1a60d0e96d3 100644 --- a/clients/client-codebuild/pagination/ListBuildsForProjectPaginator.ts +++ b/clients/client-codebuild/pagination/ListBuildsForProjectPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildsForProjectCommand(input), ...args); + return await client.send(new ListBuildsForProjectCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListBuildsPaginator.ts b/clients/client-codebuild/pagination/ListBuildsPaginator.ts index e2de8c0850b9..0c5be6a6d16a 100644 --- a/clients/client-codebuild/pagination/ListBuildsPaginator.ts +++ b/clients/client-codebuild/pagination/ListBuildsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildsCommand(input), ...args); + return await client.send(new ListBuildsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListProjectsPaginator.ts b/clients/client-codebuild/pagination/ListProjectsPaginator.ts index 1c2f804f6ac1..02297a3c7abb 100644 --- a/clients/client-codebuild/pagination/ListProjectsPaginator.ts +++ b/clients/client-codebuild/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input), ...args); + return await client.send(new ListProjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListReportGroupsPaginator.ts b/clients/client-codebuild/pagination/ListReportGroupsPaginator.ts index 0b3380cecc38..64df6e85f120 100644 --- a/clients/client-codebuild/pagination/ListReportGroupsPaginator.ts +++ b/clients/client-codebuild/pagination/ListReportGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReportGroupsCommand(input), ...args); + return await client.send(new ListReportGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListReportsForReportGroupPaginator.ts b/clients/client-codebuild/pagination/ListReportsForReportGroupPaginator.ts index dbb9eef9580d..e38caa63b0b8 100644 --- a/clients/client-codebuild/pagination/ListReportsForReportGroupPaginator.ts +++ b/clients/client-codebuild/pagination/ListReportsForReportGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReportsForReportGroupCommand(input), ...args); + return await client.send(new ListReportsForReportGroupCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListReportsPaginator.ts b/clients/client-codebuild/pagination/ListReportsPaginator.ts index 5ff214df944d..85de0485add9 100644 --- a/clients/client-codebuild/pagination/ListReportsPaginator.ts +++ b/clients/client-codebuild/pagination/ListReportsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReportsCommand(input), ...args); + return await client.send(new ListReportsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListSharedProjectsPaginator.ts b/clients/client-codebuild/pagination/ListSharedProjectsPaginator.ts index 542b89e16b9b..09da674f44d4 100644 --- a/clients/client-codebuild/pagination/ListSharedProjectsPaginator.ts +++ b/clients/client-codebuild/pagination/ListSharedProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSharedProjectsCommand(input), ...args); + return await client.send(new ListSharedProjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListSharedReportGroupsPaginator.ts b/clients/client-codebuild/pagination/ListSharedReportGroupsPaginator.ts index 2d6ca9f43f50..03113ac37c5b 100644 --- a/clients/client-codebuild/pagination/ListSharedReportGroupsPaginator.ts +++ b/clients/client-codebuild/pagination/ListSharedReportGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSharedReportGroupsCommand(input), ...args); + return await client.send(new ListSharedReportGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codecommit/pagination/DescribeMergeConflictsPaginator.ts b/clients/client-codecommit/pagination/DescribeMergeConflictsPaginator.ts index 9c674ede5acf..0cf3f9990fa3 100644 --- a/clients/client-codecommit/pagination/DescribeMergeConflictsPaginator.ts +++ b/clients/client-codecommit/pagination/DescribeMergeConflictsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMergeConflictsCommand(input), ...args); + return await client.send(new DescribeMergeConflictsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/DescribePullRequestEventsPaginator.ts b/clients/client-codecommit/pagination/DescribePullRequestEventsPaginator.ts index 3c3e91ed46b6..aed3c228e262 100644 --- a/clients/client-codecommit/pagination/DescribePullRequestEventsPaginator.ts +++ b/clients/client-codecommit/pagination/DescribePullRequestEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePullRequestEventsCommand(input), ...args); + return await client.send(new DescribePullRequestEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetCommentReactionsPaginator.ts b/clients/client-codecommit/pagination/GetCommentReactionsPaginator.ts index cb480a9ccec9..d49d833e9671 100644 --- a/clients/client-codecommit/pagination/GetCommentReactionsPaginator.ts +++ b/clients/client-codecommit/pagination/GetCommentReactionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCommentReactionsCommand(input), ...args); + return await client.send(new GetCommentReactionsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetCommentsForComparedCommitPaginator.ts b/clients/client-codecommit/pagination/GetCommentsForComparedCommitPaginator.ts index 05473930a40d..bd43006c00a3 100644 --- a/clients/client-codecommit/pagination/GetCommentsForComparedCommitPaginator.ts +++ b/clients/client-codecommit/pagination/GetCommentsForComparedCommitPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCommentsForComparedCommitCommand(input), ...args); + return await client.send(new GetCommentsForComparedCommitCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetCommentsForPullRequestPaginator.ts b/clients/client-codecommit/pagination/GetCommentsForPullRequestPaginator.ts index db603a6c9761..fa201adabdc9 100644 --- a/clients/client-codecommit/pagination/GetCommentsForPullRequestPaginator.ts +++ b/clients/client-codecommit/pagination/GetCommentsForPullRequestPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCommentsForPullRequestCommand(input), ...args); + return await client.send(new GetCommentsForPullRequestCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetDifferencesPaginator.ts b/clients/client-codecommit/pagination/GetDifferencesPaginator.ts index 93d8448bb8bc..23719dfc0aad 100644 --- a/clients/client-codecommit/pagination/GetDifferencesPaginator.ts +++ b/clients/client-codecommit/pagination/GetDifferencesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDifferencesCommand(input), ...args); + return await client.send(new GetDifferencesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetMergeConflictsPaginator.ts b/clients/client-codecommit/pagination/GetMergeConflictsPaginator.ts index e961c67c29a4..d8fee488d216 100644 --- a/clients/client-codecommit/pagination/GetMergeConflictsPaginator.ts +++ b/clients/client-codecommit/pagination/GetMergeConflictsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMergeConflictsCommand(input), ...args); + return await client.send(new GetMergeConflictsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListApprovalRuleTemplatesPaginator.ts b/clients/client-codecommit/pagination/ListApprovalRuleTemplatesPaginator.ts index 2ab03a8c755d..97dd6d3607d7 100644 --- a/clients/client-codecommit/pagination/ListApprovalRuleTemplatesPaginator.ts +++ b/clients/client-codecommit/pagination/ListApprovalRuleTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApprovalRuleTemplatesCommand(input), ...args); + return await client.send(new ListApprovalRuleTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.ts b/clients/client-codecommit/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.ts index 41cda2329990..3061e793bc2f 100644 --- a/clients/client-codecommit/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.ts +++ b/clients/client-codecommit/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociatedApprovalRuleTemplatesForRepositoryCommand(input), ...args); + return await client.send(new ListAssociatedApprovalRuleTemplatesForRepositoryCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListBranchesPaginator.ts b/clients/client-codecommit/pagination/ListBranchesPaginator.ts index 17a16170e72f..d712b396498c 100644 --- a/clients/client-codecommit/pagination/ListBranchesPaginator.ts +++ b/clients/client-codecommit/pagination/ListBranchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBranchesCommand(input), ...args); + return await client.send(new ListBranchesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListPullRequestsPaginator.ts b/clients/client-codecommit/pagination/ListPullRequestsPaginator.ts index 8ffb0a86f974..69e5971cf595 100644 --- a/clients/client-codecommit/pagination/ListPullRequestsPaginator.ts +++ b/clients/client-codecommit/pagination/ListPullRequestsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPullRequestsCommand(input), ...args); + return await client.send(new ListPullRequestsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.ts b/clients/client-codecommit/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.ts index 92c966f8d549..45d7ee5c131b 100644 --- a/clients/client-codecommit/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.ts +++ b/clients/client-codecommit/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoriesForApprovalRuleTemplateCommand(input), ...args); + return await client.send(new ListRepositoriesForApprovalRuleTemplateCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListRepositoriesPaginator.ts b/clients/client-codecommit/pagination/ListRepositoriesPaginator.ts index 2a53a60838ea..4705c1b1ff14 100644 --- a/clients/client-codecommit/pagination/ListRepositoriesPaginator.ts +++ b/clients/client-codecommit/pagination/ListRepositoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoriesCommand(input), ...args); + return await client.send(new ListRepositoriesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codedeploy/pagination/ListApplicationRevisionsPaginator.ts b/clients/client-codedeploy/pagination/ListApplicationRevisionsPaginator.ts index 1f593593050b..eb4101c3b9a8 100644 --- a/clients/client-codedeploy/pagination/ListApplicationRevisionsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListApplicationRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationRevisionsCommand(input), ...args); + return await client.send(new ListApplicationRevisionsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListApplicationsPaginator.ts b/clients/client-codedeploy/pagination/ListApplicationsPaginator.ts index 3601971e18a9..1de70d821d55 100644 --- a/clients/client-codedeploy/pagination/ListApplicationsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationsCommand(input), ...args); + return await client.send(new ListApplicationsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListDeploymentConfigsPaginator.ts b/clients/client-codedeploy/pagination/ListDeploymentConfigsPaginator.ts index 00c5c35615e9..647ca9efd280 100644 --- a/clients/client-codedeploy/pagination/ListDeploymentConfigsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListDeploymentConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentConfigsCommand(input), ...args); + return await client.send(new ListDeploymentConfigsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListDeploymentGroupsPaginator.ts b/clients/client-codedeploy/pagination/ListDeploymentGroupsPaginator.ts index 0c1f77e840b4..98714244e268 100644 --- a/clients/client-codedeploy/pagination/ListDeploymentGroupsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListDeploymentGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentGroupsCommand(input), ...args); + return await client.send(new ListDeploymentGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListDeploymentInstancesPaginator.ts b/clients/client-codedeploy/pagination/ListDeploymentInstancesPaginator.ts index 912a35ae38d8..2527c9fb642e 100644 --- a/clients/client-codedeploy/pagination/ListDeploymentInstancesPaginator.ts +++ b/clients/client-codedeploy/pagination/ListDeploymentInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentInstancesCommand(input), ...args); + return await client.send(new ListDeploymentInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListDeploymentsPaginator.ts b/clients/client-codedeploy/pagination/ListDeploymentsPaginator.ts index fde8865902b2..567b61a797fb 100644 --- a/clients/client-codedeploy/pagination/ListDeploymentsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListDeploymentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentsCommand(input), ...args); + return await client.send(new ListDeploymentsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codeguru-reviewer/pagination/ListCodeReviewsPaginator.ts b/clients/client-codeguru-reviewer/pagination/ListCodeReviewsPaginator.ts index 1673f821e348..30608b814d94 100644 --- a/clients/client-codeguru-reviewer/pagination/ListCodeReviewsPaginator.ts +++ b/clients/client-codeguru-reviewer/pagination/ListCodeReviewsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCodeReviewsCommand(input), ...args); + return await client.send(new ListCodeReviewsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeGuruReviewer, diff --git a/clients/client-codeguru-reviewer/pagination/ListRecommendationFeedbackPaginator.ts b/clients/client-codeguru-reviewer/pagination/ListRecommendationFeedbackPaginator.ts index 59a9a1a646d0..95dd55a4ee64 100644 --- a/clients/client-codeguru-reviewer/pagination/ListRecommendationFeedbackPaginator.ts +++ b/clients/client-codeguru-reviewer/pagination/ListRecommendationFeedbackPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecommendationFeedbackCommand(input), ...args); + return await client.send(new ListRecommendationFeedbackCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeGuruReviewer, diff --git a/clients/client-codeguru-reviewer/pagination/ListRecommendationsPaginator.ts b/clients/client-codeguru-reviewer/pagination/ListRecommendationsPaginator.ts index 69858cde6fce..5df1ce1d5358 100644 --- a/clients/client-codeguru-reviewer/pagination/ListRecommendationsPaginator.ts +++ b/clients/client-codeguru-reviewer/pagination/ListRecommendationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecommendationsCommand(input), ...args); + return await client.send(new ListRecommendationsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeGuruReviewer, diff --git a/clients/client-codeguru-reviewer/pagination/ListRepositoryAssociationsPaginator.ts b/clients/client-codeguru-reviewer/pagination/ListRepositoryAssociationsPaginator.ts index 5242a408f738..51d3f525fd95 100644 --- a/clients/client-codeguru-reviewer/pagination/ListRepositoryAssociationsPaginator.ts +++ b/clients/client-codeguru-reviewer/pagination/ListRepositoryAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoryAssociationsCommand(input), ...args); + return await client.send(new ListRepositoryAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeGuruReviewer, diff --git a/clients/client-codeguruprofiler/pagination/ListProfileTimesPaginator.ts b/clients/client-codeguruprofiler/pagination/ListProfileTimesPaginator.ts index 669a1602fcc3..79efddb7a657 100644 --- a/clients/client-codeguruprofiler/pagination/ListProfileTimesPaginator.ts +++ b/clients/client-codeguruprofiler/pagination/ListProfileTimesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProfileTimesCommand(input), ...args); + return await client.send(new ListProfileTimesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeGuruProfiler, diff --git a/clients/client-codeguruprofiler/pagination/ListProfilingGroupsPaginator.ts b/clients/client-codeguruprofiler/pagination/ListProfilingGroupsPaginator.ts index b297b3b30864..d564e6e7d952 100644 --- a/clients/client-codeguruprofiler/pagination/ListProfilingGroupsPaginator.ts +++ b/clients/client-codeguruprofiler/pagination/ListProfilingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProfilingGroupsCommand(input), ...args); + return await client.send(new ListProfilingGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeGuruProfiler, diff --git a/clients/client-codepipeline/pagination/ListActionExecutionsPaginator.ts b/clients/client-codepipeline/pagination/ListActionExecutionsPaginator.ts index 93d81dd8089b..e56bbe3194e8 100644 --- a/clients/client-codepipeline/pagination/ListActionExecutionsPaginator.ts +++ b/clients/client-codepipeline/pagination/ListActionExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActionExecutionsCommand(input), ...args); + return await client.send(new ListActionExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListActionTypesPaginator.ts b/clients/client-codepipeline/pagination/ListActionTypesPaginator.ts index 74acde428d8a..574754b13f9b 100644 --- a/clients/client-codepipeline/pagination/ListActionTypesPaginator.ts +++ b/clients/client-codepipeline/pagination/ListActionTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActionTypesCommand(input), ...args); + return await client.send(new ListActionTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListPipelineExecutionsPaginator.ts b/clients/client-codepipeline/pagination/ListPipelineExecutionsPaginator.ts index 0cf118b553c0..a8f3ff6482b7 100644 --- a/clients/client-codepipeline/pagination/ListPipelineExecutionsPaginator.ts +++ b/clients/client-codepipeline/pagination/ListPipelineExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelineExecutionsCommand(input), ...args); + return await client.send(new ListPipelineExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListPipelinesPaginator.ts b/clients/client-codepipeline/pagination/ListPipelinesPaginator.ts index 75a01d8cf0ea..98c6a8deac4d 100644 --- a/clients/client-codepipeline/pagination/ListPipelinesPaginator.ts +++ b/clients/client-codepipeline/pagination/ListPipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelinesCommand(input), ...args); + return await client.send(new ListPipelinesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListTagsForResourcePaginator.ts b/clients/client-codepipeline/pagination/ListTagsForResourcePaginator.ts index c9ca6ac4a8aa..db57ccedc6d7 100644 --- a/clients/client-codepipeline/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-codepipeline/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListWebhooksPaginator.ts b/clients/client-codepipeline/pagination/ListWebhooksPaginator.ts index 27e9ea8542f9..1e3a14ef7cf1 100644 --- a/clients/client-codepipeline/pagination/ListWebhooksPaginator.ts +++ b/clients/client-codepipeline/pagination/ListWebhooksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWebhooksCommand(input), ...args); + return await client.send(new ListWebhooksCommand(input, ...args)); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codestar-connections/pagination/ListConnectionsPaginator.ts b/clients/client-codestar-connections/pagination/ListConnectionsPaginator.ts index 6ff535e9f5b3..d3596a82c869 100644 --- a/clients/client-codestar-connections/pagination/ListConnectionsPaginator.ts +++ b/clients/client-codestar-connections/pagination/ListConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConnectionsCommand(input), ...args); + return await client.send(new ListConnectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeStarConnections, diff --git a/clients/client-codestar-connections/pagination/ListHostsPaginator.ts b/clients/client-codestar-connections/pagination/ListHostsPaginator.ts index 6b1347e2d6e2..fcb2147c15d2 100644 --- a/clients/client-codestar-connections/pagination/ListHostsPaginator.ts +++ b/clients/client-codestar-connections/pagination/ListHostsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHostsCommand(input), ...args); + return await client.send(new ListHostsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodeStarConnections, diff --git a/clients/client-codestar-notifications/pagination/ListEventTypesPaginator.ts b/clients/client-codestar-notifications/pagination/ListEventTypesPaginator.ts index 533d5da19a77..99103d69323e 100644 --- a/clients/client-codestar-notifications/pagination/ListEventTypesPaginator.ts +++ b/clients/client-codestar-notifications/pagination/ListEventTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEventTypesCommand(input), ...args); + return await client.send(new ListEventTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodestarNotifications, diff --git a/clients/client-codestar-notifications/pagination/ListNotificationRulesPaginator.ts b/clients/client-codestar-notifications/pagination/ListNotificationRulesPaginator.ts index 1b74a53ebfdf..384f75dc0720 100644 --- a/clients/client-codestar-notifications/pagination/ListNotificationRulesPaginator.ts +++ b/clients/client-codestar-notifications/pagination/ListNotificationRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNotificationRulesCommand(input), ...args); + return await client.send(new ListNotificationRulesCommand(input, ...args)); }; const makePagedRequest = async ( client: CodestarNotifications, diff --git a/clients/client-codestar-notifications/pagination/ListTargetsPaginator.ts b/clients/client-codestar-notifications/pagination/ListTargetsPaginator.ts index d9a36bc38e00..aafcef07093a 100644 --- a/clients/client-codestar-notifications/pagination/ListTargetsPaginator.ts +++ b/clients/client-codestar-notifications/pagination/ListTargetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTargetsCommand(input), ...args); + return await client.send(new ListTargetsCommand(input, ...args)); }; const makePagedRequest = async ( client: CodestarNotifications, diff --git a/clients/client-cognito-identity-provider/pagination/AdminListGroupsForUserPaginator.ts b/clients/client-cognito-identity-provider/pagination/AdminListGroupsForUserPaginator.ts index 6fb85dd4f084..bcbecdb46e8f 100644 --- a/clients/client-cognito-identity-provider/pagination/AdminListGroupsForUserPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/AdminListGroupsForUserPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new AdminListGroupsForUserCommand(input), ...args); + return await client.send(new AdminListGroupsForUserCommand(input, ...args)); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/AdminListUserAuthEventsPaginator.ts b/clients/client-cognito-identity-provider/pagination/AdminListUserAuthEventsPaginator.ts index 1f92e7669b78..431adfcd2273 100644 --- a/clients/client-cognito-identity-provider/pagination/AdminListUserAuthEventsPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/AdminListUserAuthEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new AdminListUserAuthEventsCommand(input), ...args); + return await client.send(new AdminListUserAuthEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListGroupsPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListGroupsPaginator.ts index f273ff05ea13..49dbc1d1a723 100644 --- a/clients/client-cognito-identity-provider/pagination/ListGroupsPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input), ...args); + return await client.send(new ListGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListIdentityProvidersPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListIdentityProvidersPaginator.ts index a6eb73bd5ced..081c86b38fe0 100644 --- a/clients/client-cognito-identity-provider/pagination/ListIdentityProvidersPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListIdentityProvidersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIdentityProvidersCommand(input), ...args); + return await client.send(new ListIdentityProvidersCommand(input, ...args)); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListResourceServersPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListResourceServersPaginator.ts index dfa6cb0f28f2..bc24cc57c862 100644 --- a/clients/client-cognito-identity-provider/pagination/ListResourceServersPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListResourceServersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourceServersCommand(input), ...args); + return await client.send(new ListResourceServersCommand(input, ...args)); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListUserPoolClientsPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListUserPoolClientsPaginator.ts index e518c8c269f7..f895aae59cbe 100644 --- a/clients/client-cognito-identity-provider/pagination/ListUserPoolClientsPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListUserPoolClientsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUserPoolClientsCommand(input), ...args); + return await client.send(new ListUserPoolClientsCommand(input, ...args)); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListUsersInGroupPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListUsersInGroupPaginator.ts index ab2b61df0edd..06f8baab704c 100644 --- a/clients/client-cognito-identity-provider/pagination/ListUsersInGroupPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListUsersInGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersInGroupCommand(input), ...args); + return await client.send(new ListUsersInGroupCommand(input, ...args)); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListUsersPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListUsersPaginator.ts index 9e5ae9083baf..f6d18e00f3b9 100644 --- a/clients/client-cognito-identity-provider/pagination/ListUsersPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input), ...args); + return await client.send(new ListUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-comprehend/pagination/ListDocumentClassificationJobsPaginator.ts b/clients/client-comprehend/pagination/ListDocumentClassificationJobsPaginator.ts index fa1a60251010..813da081f215 100644 --- a/clients/client-comprehend/pagination/ListDocumentClassificationJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListDocumentClassificationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDocumentClassificationJobsCommand(input), ...args); + return await client.send(new ListDocumentClassificationJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListDocumentClassifiersPaginator.ts b/clients/client-comprehend/pagination/ListDocumentClassifiersPaginator.ts index 17d007a1dda9..0209b58139d3 100644 --- a/clients/client-comprehend/pagination/ListDocumentClassifiersPaginator.ts +++ b/clients/client-comprehend/pagination/ListDocumentClassifiersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDocumentClassifiersCommand(input), ...args); + return await client.send(new ListDocumentClassifiersCommand(input, ...args)); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListDominantLanguageDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListDominantLanguageDetectionJobsPaginator.ts index cd27a27073cc..cc11c06b28d2 100644 --- a/clients/client-comprehend/pagination/ListDominantLanguageDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListDominantLanguageDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDominantLanguageDetectionJobsCommand(input), ...args); + return await client.send(new ListDominantLanguageDetectionJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListEntitiesDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListEntitiesDetectionJobsPaginator.ts index 23da0255706f..f062f5d5e6da 100644 --- a/clients/client-comprehend/pagination/ListEntitiesDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListEntitiesDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntitiesDetectionJobsCommand(input), ...args); + return await client.send(new ListEntitiesDetectionJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListEntityRecognizersPaginator.ts b/clients/client-comprehend/pagination/ListEntityRecognizersPaginator.ts index 02b341a2d46d..dfabdef5f40b 100644 --- a/clients/client-comprehend/pagination/ListEntityRecognizersPaginator.ts +++ b/clients/client-comprehend/pagination/ListEntityRecognizersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntityRecognizersCommand(input), ...args); + return await client.send(new ListEntityRecognizersCommand(input, ...args)); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListKeyPhrasesDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListKeyPhrasesDetectionJobsPaginator.ts index 6108e73145be..f6b70be95a9b 100644 --- a/clients/client-comprehend/pagination/ListKeyPhrasesDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListKeyPhrasesDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListKeyPhrasesDetectionJobsCommand(input), ...args); + return await client.send(new ListKeyPhrasesDetectionJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListSentimentDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListSentimentDetectionJobsPaginator.ts index ecab94b6c3ed..b17a7d3364d0 100644 --- a/clients/client-comprehend/pagination/ListSentimentDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListSentimentDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSentimentDetectionJobsCommand(input), ...args); + return await client.send(new ListSentimentDetectionJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListTopicsDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListTopicsDetectionJobsPaginator.ts index 5045a3c7e86e..cd13373185dd 100644 --- a/clients/client-comprehend/pagination/ListTopicsDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListTopicsDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTopicsDetectionJobsCommand(input), ...args); + return await client.send(new ListTopicsDetectionJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-config-service/pagination/DescribeRemediationExceptionsPaginator.ts b/clients/client-config-service/pagination/DescribeRemediationExceptionsPaginator.ts index c72db5c3d17a..30c4632a94a6 100644 --- a/clients/client-config-service/pagination/DescribeRemediationExceptionsPaginator.ts +++ b/clients/client-config-service/pagination/DescribeRemediationExceptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRemediationExceptionsCommand(input), ...args); + return await client.send(new DescribeRemediationExceptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ConfigService, diff --git a/clients/client-config-service/pagination/DescribeRemediationExecutionStatusPaginator.ts b/clients/client-config-service/pagination/DescribeRemediationExecutionStatusPaginator.ts index e9583df6e934..a7a1a34228e8 100644 --- a/clients/client-config-service/pagination/DescribeRemediationExecutionStatusPaginator.ts +++ b/clients/client-config-service/pagination/DescribeRemediationExecutionStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRemediationExecutionStatusCommand(input), ...args); + return await client.send(new DescribeRemediationExecutionStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: ConfigService, diff --git a/clients/client-config-service/pagination/GetResourceConfigHistoryPaginator.ts b/clients/client-config-service/pagination/GetResourceConfigHistoryPaginator.ts index 036dd75aa052..aa5c6063fd2e 100644 --- a/clients/client-config-service/pagination/GetResourceConfigHistoryPaginator.ts +++ b/clients/client-config-service/pagination/GetResourceConfigHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourceConfigHistoryCommand(input), ...args); + return await client.send(new GetResourceConfigHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: ConfigService, diff --git a/clients/client-config-service/pagination/SelectAggregateResourceConfigPaginator.ts b/clients/client-config-service/pagination/SelectAggregateResourceConfigPaginator.ts index c54c740c977c..14b4408abb09 100644 --- a/clients/client-config-service/pagination/SelectAggregateResourceConfigPaginator.ts +++ b/clients/client-config-service/pagination/SelectAggregateResourceConfigPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SelectAggregateResourceConfigCommand(input), ...args); + return await client.send(new SelectAggregateResourceConfigCommand(input, ...args)); }; const makePagedRequest = async ( client: ConfigService, diff --git a/clients/client-connect/pagination/GetCurrentMetricDataPaginator.ts b/clients/client-connect/pagination/GetCurrentMetricDataPaginator.ts index 4a14340fafa0..b65dc3610779 100644 --- a/clients/client-connect/pagination/GetCurrentMetricDataPaginator.ts +++ b/clients/client-connect/pagination/GetCurrentMetricDataPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCurrentMetricDataCommand(input), ...args); + return await client.send(new GetCurrentMetricDataCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/GetMetricDataPaginator.ts b/clients/client-connect/pagination/GetMetricDataPaginator.ts index 8a00cd6f2d66..c2e6d2c1b3a2 100644 --- a/clients/client-connect/pagination/GetMetricDataPaginator.ts +++ b/clients/client-connect/pagination/GetMetricDataPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMetricDataCommand(input), ...args); + return await client.send(new GetMetricDataCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListContactFlowsPaginator.ts b/clients/client-connect/pagination/ListContactFlowsPaginator.ts index 1d6fc968990b..65eac0fc7185 100644 --- a/clients/client-connect/pagination/ListContactFlowsPaginator.ts +++ b/clients/client-connect/pagination/ListContactFlowsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContactFlowsCommand(input), ...args); + return await client.send(new ListContactFlowsCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListHoursOfOperationsPaginator.ts b/clients/client-connect/pagination/ListHoursOfOperationsPaginator.ts index 5f56dae51fd8..9eea1e7ad84a 100644 --- a/clients/client-connect/pagination/ListHoursOfOperationsPaginator.ts +++ b/clients/client-connect/pagination/ListHoursOfOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHoursOfOperationsCommand(input), ...args); + return await client.send(new ListHoursOfOperationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListPhoneNumbersPaginator.ts b/clients/client-connect/pagination/ListPhoneNumbersPaginator.ts index ae99556ddcec..3926ef92411b 100644 --- a/clients/client-connect/pagination/ListPhoneNumbersPaginator.ts +++ b/clients/client-connect/pagination/ListPhoneNumbersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPhoneNumbersCommand(input), ...args); + return await client.send(new ListPhoneNumbersCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListPromptsPaginator.ts b/clients/client-connect/pagination/ListPromptsPaginator.ts index 3d164b22fea7..e2607ebc058f 100644 --- a/clients/client-connect/pagination/ListPromptsPaginator.ts +++ b/clients/client-connect/pagination/ListPromptsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPromptsCommand(input), ...args); + return await client.send(new ListPromptsCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListQueuesPaginator.ts b/clients/client-connect/pagination/ListQueuesPaginator.ts index cca39ca67045..7d6140fc573b 100644 --- a/clients/client-connect/pagination/ListQueuesPaginator.ts +++ b/clients/client-connect/pagination/ListQueuesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQueuesCommand(input), ...args); + return await client.send(new ListQueuesCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListRoutingProfileQueuesPaginator.ts b/clients/client-connect/pagination/ListRoutingProfileQueuesPaginator.ts index 69a92b0fecfa..f96d66797499 100644 --- a/clients/client-connect/pagination/ListRoutingProfileQueuesPaginator.ts +++ b/clients/client-connect/pagination/ListRoutingProfileQueuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoutingProfileQueuesCommand(input), ...args); + return await client.send(new ListRoutingProfileQueuesCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListRoutingProfilesPaginator.ts b/clients/client-connect/pagination/ListRoutingProfilesPaginator.ts index c736cf041c17..ef4b4156055e 100644 --- a/clients/client-connect/pagination/ListRoutingProfilesPaginator.ts +++ b/clients/client-connect/pagination/ListRoutingProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoutingProfilesCommand(input), ...args); + return await client.send(new ListRoutingProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListSecurityProfilesPaginator.ts b/clients/client-connect/pagination/ListSecurityProfilesPaginator.ts index 97c5e95bfaf8..5759e3e0fa22 100644 --- a/clients/client-connect/pagination/ListSecurityProfilesPaginator.ts +++ b/clients/client-connect/pagination/ListSecurityProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityProfilesCommand(input), ...args); + return await client.send(new ListSecurityProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListUserHierarchyGroupsPaginator.ts b/clients/client-connect/pagination/ListUserHierarchyGroupsPaginator.ts index 44bf38eab6b1..3eb6cea2770d 100644 --- a/clients/client-connect/pagination/ListUserHierarchyGroupsPaginator.ts +++ b/clients/client-connect/pagination/ListUserHierarchyGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUserHierarchyGroupsCommand(input), ...args); + return await client.send(new ListUserHierarchyGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListUsersPaginator.ts b/clients/client-connect/pagination/ListUsersPaginator.ts index 362286c1d092..7b91edc15dea 100644 --- a/clients/client-connect/pagination/ListUsersPaginator.ts +++ b/clients/client-connect/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input), ...args); + return await client.send(new ListUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connectparticipant/pagination/GetTranscriptPaginator.ts b/clients/client-connectparticipant/pagination/GetTranscriptPaginator.ts index e9eb346fbe55..b730431db3af 100644 --- a/clients/client-connectparticipant/pagination/GetTranscriptPaginator.ts +++ b/clients/client-connectparticipant/pagination/GetTranscriptPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTranscriptCommand(input), ...args); + return await client.send(new GetTranscriptCommand(input, ...args)); }; const makePagedRequest = async ( client: ConnectParticipant, diff --git a/clients/client-cost-and-usage-report-service/pagination/DescribeReportDefinitionsPaginator.ts b/clients/client-cost-and-usage-report-service/pagination/DescribeReportDefinitionsPaginator.ts index 5072b875e229..45522644d5df 100644 --- a/clients/client-cost-and-usage-report-service/pagination/DescribeReportDefinitionsPaginator.ts +++ b/clients/client-cost-and-usage-report-service/pagination/DescribeReportDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReportDefinitionsCommand(input), ...args); + return await client.send(new DescribeReportDefinitionsCommand(input, ...args)); }; const makePagedRequest = async ( client: CostAndUsageReportService, diff --git a/clients/client-cost-explorer/pagination/GetSavingsPlansCoveragePaginator.ts b/clients/client-cost-explorer/pagination/GetSavingsPlansCoveragePaginator.ts index 72e5c802c52f..ebe6a0275372 100644 --- a/clients/client-cost-explorer/pagination/GetSavingsPlansCoveragePaginator.ts +++ b/clients/client-cost-explorer/pagination/GetSavingsPlansCoveragePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSavingsPlansCoverageCommand(input), ...args); + return await client.send(new GetSavingsPlansCoverageCommand(input, ...args)); }; const makePagedRequest = async ( client: CostExplorer, diff --git a/clients/client-cost-explorer/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts b/clients/client-cost-explorer/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts index 300fa5785da0..45f07ec8a6a8 100644 --- a/clients/client-cost-explorer/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts +++ b/clients/client-cost-explorer/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSavingsPlansUtilizationDetailsCommand(input), ...args); + return await client.send(new GetSavingsPlansUtilizationDetailsCommand(input, ...args)); }; const makePagedRequest = async ( client: CostExplorer, diff --git a/clients/client-cost-explorer/pagination/ListCostCategoryDefinitionsPaginator.ts b/clients/client-cost-explorer/pagination/ListCostCategoryDefinitionsPaginator.ts index 167bdcaa2446..e59b3c527c02 100644 --- a/clients/client-cost-explorer/pagination/ListCostCategoryDefinitionsPaginator.ts +++ b/clients/client-cost-explorer/pagination/ListCostCategoryDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCostCategoryDefinitionsCommand(input), ...args); + return await client.send(new ListCostCategoryDefinitionsCommand(input, ...args)); }; const makePagedRequest = async ( client: CostExplorer, diff --git a/clients/client-data-pipeline/pagination/DescribeObjectsPaginator.ts b/clients/client-data-pipeline/pagination/DescribeObjectsPaginator.ts index 60170154eaf2..1342959053e8 100644 --- a/clients/client-data-pipeline/pagination/DescribeObjectsPaginator.ts +++ b/clients/client-data-pipeline/pagination/DescribeObjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeObjectsCommand(input), ...args); + return await client.send(new DescribeObjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: DataPipeline, diff --git a/clients/client-data-pipeline/pagination/ListPipelinesPaginator.ts b/clients/client-data-pipeline/pagination/ListPipelinesPaginator.ts index 62c917e29384..2884c06f2a7b 100644 --- a/clients/client-data-pipeline/pagination/ListPipelinesPaginator.ts +++ b/clients/client-data-pipeline/pagination/ListPipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelinesCommand(input), ...args); + return await client.send(new ListPipelinesCommand(input, ...args)); }; const makePagedRequest = async ( client: DataPipeline, diff --git a/clients/client-data-pipeline/pagination/QueryObjectsPaginator.ts b/clients/client-data-pipeline/pagination/QueryObjectsPaginator.ts index fe41204ced48..385f2834d047 100644 --- a/clients/client-data-pipeline/pagination/QueryObjectsPaginator.ts +++ b/clients/client-data-pipeline/pagination/QueryObjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new QueryObjectsCommand(input), ...args); + return await client.send(new QueryObjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: DataPipeline, diff --git a/clients/client-database-migration-service/pagination/DescribeApplicableIndividualAssessmentsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeApplicableIndividualAssessmentsPaginator.ts index de94d30bdc55..bd1907c7b5c3 100644 --- a/clients/client-database-migration-service/pagination/DescribeApplicableIndividualAssessmentsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeApplicableIndividualAssessmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeApplicableIndividualAssessmentsCommand(input), ...args); + return await client.send(new DescribeApplicableIndividualAssessmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeCertificatesPaginator.ts b/clients/client-database-migration-service/pagination/DescribeCertificatesPaginator.ts index fe307079984a..96a6d78c94e6 100644 --- a/clients/client-database-migration-service/pagination/DescribeCertificatesPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCertificatesCommand(input), ...args); + return await client.send(new DescribeCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeConnectionsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeConnectionsPaginator.ts index 61e0be2c00ff..1e2a4bd454a9 100644 --- a/clients/client-database-migration-service/pagination/DescribeConnectionsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeConnectionsCommand(input), ...args); + return await client.send(new DescribeConnectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeEndpointTypesPaginator.ts b/clients/client-database-migration-service/pagination/DescribeEndpointTypesPaginator.ts index 016c89e308d7..e8a4702d446c 100644 --- a/clients/client-database-migration-service/pagination/DescribeEndpointTypesPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeEndpointTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEndpointTypesCommand(input), ...args); + return await client.send(new DescribeEndpointTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeEndpointsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeEndpointsPaginator.ts index af4130f97309..ce09da114fd8 100644 --- a/clients/client-database-migration-service/pagination/DescribeEndpointsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEndpointsCommand(input), ...args); + return await client.send(new DescribeEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeEventSubscriptionsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeEventSubscriptionsPaginator.ts index 0bcd22be3c2b..e84ce1fc314b 100644 --- a/clients/client-database-migration-service/pagination/DescribeEventSubscriptionsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventSubscriptionsCommand(input), ...args); + return await client.send(new DescribeEventSubscriptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeEventsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeEventsPaginator.ts index 5c8e1bb3a521..33e63d6e707e 100644 --- a/clients/client-database-migration-service/pagination/DescribeEventsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input), ...args); + return await client.send(new DescribeEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeOrderableReplicationInstancesPaginator.ts b/clients/client-database-migration-service/pagination/DescribeOrderableReplicationInstancesPaginator.ts index 70455c958315..ba150951762f 100644 --- a/clients/client-database-migration-service/pagination/DescribeOrderableReplicationInstancesPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeOrderableReplicationInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableReplicationInstancesCommand(input), ...args); + return await client.send(new DescribeOrderableReplicationInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribePendingMaintenanceActionsPaginator.ts b/clients/client-database-migration-service/pagination/DescribePendingMaintenanceActionsPaginator.ts index 3061150f2753..011a752b86aa 100644 --- a/clients/client-database-migration-service/pagination/DescribePendingMaintenanceActionsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribePendingMaintenanceActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePendingMaintenanceActionsCommand(input), ...args); + return await client.send(new DescribePendingMaintenanceActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationInstanceTaskLogsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationInstanceTaskLogsPaginator.ts index 8918895350a6..8dbdbd8da46f 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationInstanceTaskLogsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationInstanceTaskLogsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationInstanceTaskLogsCommand(input), ...args); + return await client.send(new DescribeReplicationInstanceTaskLogsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationInstancesPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationInstancesPaginator.ts index 7d328a611f52..f49b399a229f 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationInstancesPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationInstancesCommand(input), ...args); + return await client.send(new DescribeReplicationInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationSubnetGroupsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationSubnetGroupsPaginator.ts index 99ba5ed54c0d..937209913a44 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationSubnetGroupsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationSubnetGroupsCommand(input), ...args); + return await client.send(new DescribeReplicationSubnetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentResultsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentResultsPaginator.ts index 228270fac4dc..4a1c71646ca1 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentResultsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentResultsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationTaskAssessmentResultsCommand(input), ...args); + return await client.send(new DescribeReplicationTaskAssessmentResultsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentRunsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentRunsPaginator.ts index 5ee8a14f81e0..90d5e1932191 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentRunsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationTaskAssessmentRunsCommand(input), ...args); + return await client.send(new DescribeReplicationTaskAssessmentRunsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.ts index 93cb58327d2c..93c4a51df55b 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationTaskIndividualAssessmentsCommand(input), ...args); + return await client.send(new DescribeReplicationTaskIndividualAssessmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationTasksPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationTasksPaginator.ts index 9b4890e06170..6fe0fcc6ca5c 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationTasksPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationTasksCommand(input), ...args); + return await client.send(new DescribeReplicationTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeSchemasPaginator.ts b/clients/client-database-migration-service/pagination/DescribeSchemasPaginator.ts index cf7b05167b7f..3be95233c5a4 100644 --- a/clients/client-database-migration-service/pagination/DescribeSchemasPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeSchemasPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSchemasCommand(input), ...args); + return await client.send(new DescribeSchemasCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeTableStatisticsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeTableStatisticsPaginator.ts index eebcb14fb381..3bffc3b8735c 100644 --- a/clients/client-database-migration-service/pagination/DescribeTableStatisticsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeTableStatisticsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTableStatisticsCommand(input), ...args); + return await client.send(new DescribeTableStatisticsCommand(input, ...args)); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-databrew/.gitignore b/clients/client-databrew/.gitignore new file mode 100644 index 000000000000..b41c05b597c4 --- /dev/null +++ b/clients/client-databrew/.gitignore @@ -0,0 +1,14 @@ +/node_modules/ +/build/ +/coverage/ +/docs/ +/types/ +/dist/ +*.tsbuildinfo +*.tgz +*.log +package-lock.json + +*.d.ts +*.js +*.js.map diff --git a/clients/client-databrew/.npmignore b/clients/client-databrew/.npmignore new file mode 100644 index 000000000000..b7ff81137c4a --- /dev/null +++ b/clients/client-databrew/.npmignore @@ -0,0 +1,4 @@ +/coverage/ +/docs/ +tsconfig.test.json +*.tsbuildinfo diff --git a/clients/client-databrew/DataBrew.ts b/clients/client-databrew/DataBrew.ts new file mode 100644 index 000000000000..6f717fd249bc --- /dev/null +++ b/clients/client-databrew/DataBrew.ts @@ -0,0 +1,1346 @@ +import { DataBrewClient } from "./DataBrewClient"; +import { + BatchDeleteRecipeVersionCommand, + BatchDeleteRecipeVersionCommandInput, + BatchDeleteRecipeVersionCommandOutput, +} from "./commands/BatchDeleteRecipeVersionCommand"; +import { + CreateDatasetCommand, + CreateDatasetCommandInput, + CreateDatasetCommandOutput, +} from "./commands/CreateDatasetCommand"; +import { + CreateProfileJobCommand, + CreateProfileJobCommandInput, + CreateProfileJobCommandOutput, +} from "./commands/CreateProfileJobCommand"; +import { + CreateProjectCommand, + CreateProjectCommandInput, + CreateProjectCommandOutput, +} from "./commands/CreateProjectCommand"; +import { + CreateRecipeCommand, + CreateRecipeCommandInput, + CreateRecipeCommandOutput, +} from "./commands/CreateRecipeCommand"; +import { + CreateRecipeJobCommand, + CreateRecipeJobCommandInput, + CreateRecipeJobCommandOutput, +} from "./commands/CreateRecipeJobCommand"; +import { + CreateScheduleCommand, + CreateScheduleCommandInput, + CreateScheduleCommandOutput, +} from "./commands/CreateScheduleCommand"; +import { + DeleteDatasetCommand, + DeleteDatasetCommandInput, + DeleteDatasetCommandOutput, +} from "./commands/DeleteDatasetCommand"; +import { DeleteJobCommand, DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand"; +import { + DeleteProjectCommand, + DeleteProjectCommandInput, + DeleteProjectCommandOutput, +} from "./commands/DeleteProjectCommand"; +import { + DeleteRecipeVersionCommand, + DeleteRecipeVersionCommandInput, + DeleteRecipeVersionCommandOutput, +} from "./commands/DeleteRecipeVersionCommand"; +import { + DeleteScheduleCommand, + DeleteScheduleCommandInput, + DeleteScheduleCommandOutput, +} from "./commands/DeleteScheduleCommand"; +import { + DescribeDatasetCommand, + DescribeDatasetCommandInput, + DescribeDatasetCommandOutput, +} from "./commands/DescribeDatasetCommand"; +import { DescribeJobCommand, DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand"; +import { + DescribeProjectCommand, + DescribeProjectCommandInput, + DescribeProjectCommandOutput, +} from "./commands/DescribeProjectCommand"; +import { + DescribeRecipeCommand, + DescribeRecipeCommandInput, + DescribeRecipeCommandOutput, +} from "./commands/DescribeRecipeCommand"; +import { + DescribeScheduleCommand, + DescribeScheduleCommandInput, + DescribeScheduleCommandOutput, +} from "./commands/DescribeScheduleCommand"; +import { + ListDatasetsCommand, + ListDatasetsCommandInput, + ListDatasetsCommandOutput, +} from "./commands/ListDatasetsCommand"; +import { ListJobRunsCommand, ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand"; +import { ListJobsCommand, ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand"; +import { + ListProjectsCommand, + ListProjectsCommandInput, + ListProjectsCommandOutput, +} from "./commands/ListProjectsCommand"; +import { + ListRecipeVersionsCommand, + ListRecipeVersionsCommandInput, + ListRecipeVersionsCommandOutput, +} from "./commands/ListRecipeVersionsCommand"; +import { ListRecipesCommand, ListRecipesCommandInput, ListRecipesCommandOutput } from "./commands/ListRecipesCommand"; +import { + ListSchedulesCommand, + ListSchedulesCommandInput, + ListSchedulesCommandOutput, +} from "./commands/ListSchedulesCommand"; +import { + ListTagsForResourceCommand, + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "./commands/ListTagsForResourceCommand"; +import { + PublishRecipeCommand, + PublishRecipeCommandInput, + PublishRecipeCommandOutput, +} from "./commands/PublishRecipeCommand"; +import { + SendProjectSessionActionCommand, + SendProjectSessionActionCommandInput, + SendProjectSessionActionCommandOutput, +} from "./commands/SendProjectSessionActionCommand"; +import { StartJobRunCommand, StartJobRunCommandInput, StartJobRunCommandOutput } from "./commands/StartJobRunCommand"; +import { + StartProjectSessionCommand, + StartProjectSessionCommandInput, + StartProjectSessionCommandOutput, +} from "./commands/StartProjectSessionCommand"; +import { StopJobRunCommand, StopJobRunCommandInput, StopJobRunCommandOutput } from "./commands/StopJobRunCommand"; +import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; +import { + UntagResourceCommand, + UntagResourceCommandInput, + UntagResourceCommandOutput, +} from "./commands/UntagResourceCommand"; +import { + UpdateDatasetCommand, + UpdateDatasetCommandInput, + UpdateDatasetCommandOutput, +} from "./commands/UpdateDatasetCommand"; +import { + UpdateProfileJobCommand, + UpdateProfileJobCommandInput, + UpdateProfileJobCommandOutput, +} from "./commands/UpdateProfileJobCommand"; +import { + UpdateProjectCommand, + UpdateProjectCommandInput, + UpdateProjectCommandOutput, +} from "./commands/UpdateProjectCommand"; +import { + UpdateRecipeCommand, + UpdateRecipeCommandInput, + UpdateRecipeCommandOutput, +} from "./commands/UpdateRecipeCommand"; +import { + UpdateRecipeJobCommand, + UpdateRecipeJobCommandInput, + UpdateRecipeJobCommandOutput, +} from "./commands/UpdateRecipeJobCommand"; +import { + UpdateScheduleCommand, + UpdateScheduleCommandInput, + UpdateScheduleCommandOutput, +} from "./commands/UpdateScheduleCommand"; +import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; + +/** + *

      AWS Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew + * simplifies data preparation tasks, targeting data issues that are hard to spot and + * time-consuming to fix. DataBrew empowers users of all technical levels to visualize the + * data and perform one-click data transformations, with no coding required.

      + */ +export class DataBrew extends DataBrewClient { + /** + *

      Deletes one or more versions of a recipe at a time.

      + */ + public batchDeleteRecipeVersion( + args: BatchDeleteRecipeVersionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public batchDeleteRecipeVersion( + args: BatchDeleteRecipeVersionCommandInput, + cb: (err: any, data?: BatchDeleteRecipeVersionCommandOutput) => void + ): void; + public batchDeleteRecipeVersion( + args: BatchDeleteRecipeVersionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: BatchDeleteRecipeVersionCommandOutput) => void + ): void; + public batchDeleteRecipeVersion( + args: BatchDeleteRecipeVersionCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDeleteRecipeVersionCommandOutput) => void), + cb?: (err: any, data?: BatchDeleteRecipeVersionCommandOutput) => void + ): Promise | void { + const command = new BatchDeleteRecipeVersionCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Creates a new AWS Glue DataBrew dataset for this AWS account.

      + */ + public createDataset( + args: CreateDatasetCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createDataset( + args: CreateDatasetCommandInput, + cb: (err: any, data?: CreateDatasetCommandOutput) => void + ): void; + public createDataset( + args: CreateDatasetCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateDatasetCommandOutput) => void + ): void; + public createDataset( + args: CreateDatasetCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDatasetCommandOutput) => void), + cb?: (err: any, data?: CreateDatasetCommandOutput) => void + ): Promise | void { + const command = new CreateDatasetCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Creates a new job to profile an AWS Glue DataBrew dataset that exists in the current AWS + * account.

      + */ + public createProfileJob( + args: CreateProfileJobCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createProfileJob( + args: CreateProfileJobCommandInput, + cb: (err: any, data?: CreateProfileJobCommandOutput) => void + ): void; + public createProfileJob( + args: CreateProfileJobCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateProfileJobCommandOutput) => void + ): void; + public createProfileJob( + args: CreateProfileJobCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProfileJobCommandOutput) => void), + cb?: (err: any, data?: CreateProfileJobCommandOutput) => void + ): Promise | void { + const command = new CreateProfileJobCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Creates a new AWS Glue DataBrew project in the current AWS account.

      + */ + public createProject( + args: CreateProjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createProject( + args: CreateProjectCommandInput, + cb: (err: any, data?: CreateProjectCommandOutput) => void + ): void; + public createProject( + args: CreateProjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateProjectCommandOutput) => void + ): void; + public createProject( + args: CreateProjectCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProjectCommandOutput) => void), + cb?: (err: any, data?: CreateProjectCommandOutput) => void + ): Promise | void { + const command = new CreateProjectCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Creates a new AWS Glue DataBrew recipe for the current AWS account.

      + */ + public createRecipe( + args: CreateRecipeCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createRecipe(args: CreateRecipeCommandInput, cb: (err: any, data?: CreateRecipeCommandOutput) => void): void; + public createRecipe( + args: CreateRecipeCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateRecipeCommandOutput) => void + ): void; + public createRecipe( + args: CreateRecipeCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRecipeCommandOutput) => void), + cb?: (err: any, data?: CreateRecipeCommandOutput) => void + ): Promise | void { + const command = new CreateRecipeCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Creates a new job for an existing AWS Glue DataBrew recipe in the current AWS account. + * You can create a standalone job using either a project, or a combination of a recipe and + * a dataset.

      + */ + public createRecipeJob( + args: CreateRecipeJobCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createRecipeJob( + args: CreateRecipeJobCommandInput, + cb: (err: any, data?: CreateRecipeJobCommandOutput) => void + ): void; + public createRecipeJob( + args: CreateRecipeJobCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateRecipeJobCommandOutput) => void + ): void; + public createRecipeJob( + args: CreateRecipeJobCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRecipeJobCommandOutput) => void), + cb?: (err: any, data?: CreateRecipeJobCommandOutput) => void + ): Promise | void { + const command = new CreateRecipeJobCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Creates a new schedule for one or more AWS Glue DataBrew jobs. Jobs can be run at a + * specific date and time, or at regular intervals.

      + */ + public createSchedule( + args: CreateScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createSchedule( + args: CreateScheduleCommandInput, + cb: (err: any, data?: CreateScheduleCommandOutput) => void + ): void; + public createSchedule( + args: CreateScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateScheduleCommandOutput) => void + ): void; + public createSchedule( + args: CreateScheduleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateScheduleCommandOutput) => void), + cb?: (err: any, data?: CreateScheduleCommandOutput) => void + ): Promise | void { + const command = new CreateScheduleCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Deletes a dataset from AWS Glue DataBrew.

      + */ + public deleteDataset( + args: DeleteDatasetCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteDataset( + args: DeleteDatasetCommandInput, + cb: (err: any, data?: DeleteDatasetCommandOutput) => void + ): void; + public deleteDataset( + args: DeleteDatasetCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteDatasetCommandOutput) => void + ): void; + public deleteDataset( + args: DeleteDatasetCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDatasetCommandOutput) => void), + cb?: (err: any, data?: DeleteDatasetCommandOutput) => void + ): Promise | void { + const command = new DeleteDatasetCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Deletes the specified AWS Glue DataBrew job from the current AWS account. The job can + * be for a recipe or for a profile.

      + */ + public deleteJob(args: DeleteJobCommandInput, options?: __HttpHandlerOptions): Promise; + public deleteJob(args: DeleteJobCommandInput, cb: (err: any, data?: DeleteJobCommandOutput) => void): void; + public deleteJob( + args: DeleteJobCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteJobCommandOutput) => void + ): void; + public deleteJob( + args: DeleteJobCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteJobCommandOutput) => void), + cb?: (err: any, data?: DeleteJobCommandOutput) => void + ): Promise | void { + const command = new DeleteJobCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Deletes an existing AWS Glue DataBrew project from the current AWS account.

      + */ + public deleteProject( + args: DeleteProjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteProject( + args: DeleteProjectCommandInput, + cb: (err: any, data?: DeleteProjectCommandOutput) => void + ): void; + public deleteProject( + args: DeleteProjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteProjectCommandOutput) => void + ): void; + public deleteProject( + args: DeleteProjectCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProjectCommandOutput) => void), + cb?: (err: any, data?: DeleteProjectCommandOutput) => void + ): Promise | void { + const command = new DeleteProjectCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Deletes a single version of an AWS Glue DataBrew recipe.

      + */ + public deleteRecipeVersion( + args: DeleteRecipeVersionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteRecipeVersion( + args: DeleteRecipeVersionCommandInput, + cb: (err: any, data?: DeleteRecipeVersionCommandOutput) => void + ): void; + public deleteRecipeVersion( + args: DeleteRecipeVersionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteRecipeVersionCommandOutput) => void + ): void; + public deleteRecipeVersion( + args: DeleteRecipeVersionCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRecipeVersionCommandOutput) => void), + cb?: (err: any, data?: DeleteRecipeVersionCommandOutput) => void + ): Promise | void { + const command = new DeleteRecipeVersionCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Deletes the specified AWS Glue DataBrew schedule from the current AWS account.

      + */ + public deleteSchedule( + args: DeleteScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteSchedule( + args: DeleteScheduleCommandInput, + cb: (err: any, data?: DeleteScheduleCommandOutput) => void + ): void; + public deleteSchedule( + args: DeleteScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteScheduleCommandOutput) => void + ): void; + public deleteSchedule( + args: DeleteScheduleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteScheduleCommandOutput) => void), + cb?: (err: any, data?: DeleteScheduleCommandOutput) => void + ): Promise | void { + const command = new DeleteScheduleCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Returns the definition of a specific AWS Glue DataBrew dataset that is in the current + * AWS account.

      + */ + public describeDataset( + args: DescribeDatasetCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeDataset( + args: DescribeDatasetCommandInput, + cb: (err: any, data?: DescribeDatasetCommandOutput) => void + ): void; + public describeDataset( + args: DescribeDatasetCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeDatasetCommandOutput) => void + ): void; + public describeDataset( + args: DescribeDatasetCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDatasetCommandOutput) => void), + cb?: (err: any, data?: DescribeDatasetCommandOutput) => void + ): Promise | void { + const command = new DescribeDatasetCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Returns the definition of a specific AWS Glue DataBrew job that is in the current AWS + * account.

      + */ + public describeJob(args: DescribeJobCommandInput, options?: __HttpHandlerOptions): Promise; + public describeJob(args: DescribeJobCommandInput, cb: (err: any, data?: DescribeJobCommandOutput) => void): void; + public describeJob( + args: DescribeJobCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeJobCommandOutput) => void + ): void; + public describeJob( + args: DescribeJobCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeJobCommandOutput) => void), + cb?: (err: any, data?: DescribeJobCommandOutput) => void + ): Promise | void { + const command = new DescribeJobCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Returns the definition of a specific AWS Glue DataBrew project that is in the current + * AWS account.

      + */ + public describeProject( + args: DescribeProjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeProject( + args: DescribeProjectCommandInput, + cb: (err: any, data?: DescribeProjectCommandOutput) => void + ): void; + public describeProject( + args: DescribeProjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeProjectCommandOutput) => void + ): void; + public describeProject( + args: DescribeProjectCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProjectCommandOutput) => void), + cb?: (err: any, data?: DescribeProjectCommandOutput) => void + ): Promise | void { + const command = new DescribeProjectCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Returns the definition of a specific AWS Glue DataBrew recipe that is in the current + * AWS account.

      + */ + public describeRecipe( + args: DescribeRecipeCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeRecipe( + args: DescribeRecipeCommandInput, + cb: (err: any, data?: DescribeRecipeCommandOutput) => void + ): void; + public describeRecipe( + args: DescribeRecipeCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeRecipeCommandOutput) => void + ): void; + public describeRecipe( + args: DescribeRecipeCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRecipeCommandOutput) => void), + cb?: (err: any, data?: DescribeRecipeCommandOutput) => void + ): Promise | void { + const command = new DescribeRecipeCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Returns the definition of a specific AWS Glue DataBrew schedule that is in the current + * AWS account.

      + */ + public describeSchedule( + args: DescribeScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeSchedule( + args: DescribeScheduleCommandInput, + cb: (err: any, data?: DescribeScheduleCommandOutput) => void + ): void; + public describeSchedule( + args: DescribeScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeScheduleCommandOutput) => void + ): void; + public describeSchedule( + args: DescribeScheduleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeScheduleCommandOutput) => void), + cb?: (err: any, data?: DescribeScheduleCommandOutput) => void + ): Promise | void { + const command = new DescribeScheduleCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Lists all of the AWS Glue DataBrew datasets for the current AWS account.

      + */ + public listDatasets( + args: ListDatasetsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listDatasets(args: ListDatasetsCommandInput, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void; + public listDatasets( + args: ListDatasetsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListDatasetsCommandOutput) => void + ): void; + public listDatasets( + args: ListDatasetsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDatasetsCommandOutput) => void), + cb?: (err: any, data?: ListDatasetsCommandOutput) => void + ): Promise | void { + const command = new ListDatasetsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Lists all of the previous runs of a particular AWS Glue DataBrew job in the current + * AWS account.

      + */ + public listJobRuns(args: ListJobRunsCommandInput, options?: __HttpHandlerOptions): Promise; + public listJobRuns(args: ListJobRunsCommandInput, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void; + public listJobRuns( + args: ListJobRunsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListJobRunsCommandOutput) => void + ): void; + public listJobRuns( + args: ListJobRunsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListJobRunsCommandOutput) => void), + cb?: (err: any, data?: ListJobRunsCommandOutput) => void + ): Promise | void { + const command = new ListJobRunsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Lists the AWS Glue DataBrew jobs in the current AWS account.

      + */ + public listJobs(args: ListJobsCommandInput, options?: __HttpHandlerOptions): Promise; + public listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void; + public listJobs( + args: ListJobsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListJobsCommandOutput) => void + ): void; + public listJobs( + args: ListJobsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListJobsCommandOutput) => void), + cb?: (err: any, data?: ListJobsCommandOutput) => void + ): Promise | void { + const command = new ListJobsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Lists all of the DataBrew projects in the current AWS account.

      + */ + public listProjects( + args: ListProjectsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listProjects(args: ListProjectsCommandInput, cb: (err: any, data?: ListProjectsCommandOutput) => void): void; + public listProjects( + args: ListProjectsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListProjectsCommandOutput) => void + ): void; + public listProjects( + args: ListProjectsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProjectsCommandOutput) => void), + cb?: (err: any, data?: ListProjectsCommandOutput) => void + ): Promise | void { + const command = new ListProjectsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Lists all of the AWS Glue DataBrew recipes in the current AWS account.

      + */ + public listRecipes(args: ListRecipesCommandInput, options?: __HttpHandlerOptions): Promise; + public listRecipes(args: ListRecipesCommandInput, cb: (err: any, data?: ListRecipesCommandOutput) => void): void; + public listRecipes( + args: ListRecipesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListRecipesCommandOutput) => void + ): void; + public listRecipes( + args: ListRecipesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRecipesCommandOutput) => void), + cb?: (err: any, data?: ListRecipesCommandOutput) => void + ): Promise | void { + const command = new ListRecipesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Lists all of the versions of a particular AWS Glue DataBrew recipe in the current AWS + * account.

      + */ + public listRecipeVersions( + args: ListRecipeVersionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listRecipeVersions( + args: ListRecipeVersionsCommandInput, + cb: (err: any, data?: ListRecipeVersionsCommandOutput) => void + ): void; + public listRecipeVersions( + args: ListRecipeVersionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListRecipeVersionsCommandOutput) => void + ): void; + public listRecipeVersions( + args: ListRecipeVersionsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRecipeVersionsCommandOutput) => void), + cb?: (err: any, data?: ListRecipeVersionsCommandOutput) => void + ): Promise | void { + const command = new ListRecipeVersionsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Lists the AWS Glue DataBrew schedules in the current AWS account.

      + */ + public listSchedules( + args: ListSchedulesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listSchedules( + args: ListSchedulesCommandInput, + cb: (err: any, data?: ListSchedulesCommandOutput) => void + ): void; + public listSchedules( + args: ListSchedulesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListSchedulesCommandOutput) => void + ): void; + public listSchedules( + args: ListSchedulesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSchedulesCommandOutput) => void), + cb?: (err: any, data?: ListSchedulesCommandOutput) => void + ): Promise | void { + const command = new ListSchedulesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Lists all the tags for an AWS Glue DataBrew resource.

      + */ + public listTagsForResource( + args: ListTagsForResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listTagsForResource( + args: ListTagsForResourceCommandInput, + cb: (err: any, data?: ListTagsForResourceCommandOutput) => void + ): void; + public listTagsForResource( + args: ListTagsForResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListTagsForResourceCommandOutput) => void + ): void; + public listTagsForResource( + args: ListTagsForResourceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void), + cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void + ): Promise | void { + const command = new ListTagsForResourceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Publishes a new major version of an AWS Glue DataBrew recipe that exists in the + * current AWS account.

      + */ + public publishRecipe( + args: PublishRecipeCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public publishRecipe( + args: PublishRecipeCommandInput, + cb: (err: any, data?: PublishRecipeCommandOutput) => void + ): void; + public publishRecipe( + args: PublishRecipeCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PublishRecipeCommandOutput) => void + ): void; + public publishRecipe( + args: PublishRecipeCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PublishRecipeCommandOutput) => void), + cb?: (err: any, data?: PublishRecipeCommandOutput) => void + ): Promise | void { + const command = new PublishRecipeCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Performs a recipe step within an interactive AWS Glue DataBrew session that's + * currently open.

      + */ + public sendProjectSessionAction( + args: SendProjectSessionActionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public sendProjectSessionAction( + args: SendProjectSessionActionCommandInput, + cb: (err: any, data?: SendProjectSessionActionCommandOutput) => void + ): void; + public sendProjectSessionAction( + args: SendProjectSessionActionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: SendProjectSessionActionCommandOutput) => void + ): void; + public sendProjectSessionAction( + args: SendProjectSessionActionCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SendProjectSessionActionCommandOutput) => void), + cb?: (err: any, data?: SendProjectSessionActionCommandOutput) => void + ): Promise | void { + const command = new SendProjectSessionActionCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Runs an AWS Glue DataBrew job that exists in the current AWS account.

      + */ + public startJobRun(args: StartJobRunCommandInput, options?: __HttpHandlerOptions): Promise; + public startJobRun(args: StartJobRunCommandInput, cb: (err: any, data?: StartJobRunCommandOutput) => void): void; + public startJobRun( + args: StartJobRunCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartJobRunCommandOutput) => void + ): void; + public startJobRun( + args: StartJobRunCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartJobRunCommandOutput) => void), + cb?: (err: any, data?: StartJobRunCommandOutput) => void + ): Promise | void { + const command = new StartJobRunCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Creates an interactive session, enabling you to manipulate an AWS Glue DataBrew + * project.

      + */ + public startProjectSession( + args: StartProjectSessionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public startProjectSession( + args: StartProjectSessionCommandInput, + cb: (err: any, data?: StartProjectSessionCommandOutput) => void + ): void; + public startProjectSession( + args: StartProjectSessionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartProjectSessionCommandOutput) => void + ): void; + public startProjectSession( + args: StartProjectSessionCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartProjectSessionCommandOutput) => void), + cb?: (err: any, data?: StartProjectSessionCommandOutput) => void + ): Promise | void { + const command = new StartProjectSessionCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Stops the specified job from running in the current AWS account.

      + */ + public stopJobRun(args: StopJobRunCommandInput, options?: __HttpHandlerOptions): Promise; + public stopJobRun(args: StopJobRunCommandInput, cb: (err: any, data?: StopJobRunCommandOutput) => void): void; + public stopJobRun( + args: StopJobRunCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StopJobRunCommandOutput) => void + ): void; + public stopJobRun( + args: StopJobRunCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopJobRunCommandOutput) => void), + cb?: (err: any, data?: StopJobRunCommandOutput) => void + ): Promise | void { + const command = new StopJobRunCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Adds metadata tags to an AWS Glue DataBrew resource, such as a dataset, job, project, + * or recipe.

      + */ + public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; + public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; + public tagResource( + args: TagResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: TagResourceCommandOutput) => void + ): void; + public tagResource( + args: TagResourceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void), + cb?: (err: any, data?: TagResourceCommandOutput) => void + ): Promise | void { + const command = new TagResourceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Removes metadata tags from an AWS Glue DataBrew resource.

      + */ + public untagResource( + args: UntagResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public untagResource( + args: UntagResourceCommandInput, + cb: (err: any, data?: UntagResourceCommandOutput) => void + ): void; + public untagResource( + args: UntagResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UntagResourceCommandOutput) => void + ): void; + public untagResource( + args: UntagResourceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void), + cb?: (err: any, data?: UntagResourceCommandOutput) => void + ): Promise | void { + const command = new UntagResourceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Modifies the definition of an existing AWS Glue DataBrew dataset in the current AWS + * account.

      + */ + public updateDataset( + args: UpdateDatasetCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateDataset( + args: UpdateDatasetCommandInput, + cb: (err: any, data?: UpdateDatasetCommandOutput) => void + ): void; + public updateDataset( + args: UpdateDatasetCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateDatasetCommandOutput) => void + ): void; + public updateDataset( + args: UpdateDatasetCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDatasetCommandOutput) => void), + cb?: (err: any, data?: UpdateDatasetCommandOutput) => void + ): Promise | void { + const command = new UpdateDatasetCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Modifies the definition of an existing AWS Glue DataBrew job in the current AWS + * account.

      + */ + public updateProfileJob( + args: UpdateProfileJobCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateProfileJob( + args: UpdateProfileJobCommandInput, + cb: (err: any, data?: UpdateProfileJobCommandOutput) => void + ): void; + public updateProfileJob( + args: UpdateProfileJobCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateProfileJobCommandOutput) => void + ): void; + public updateProfileJob( + args: UpdateProfileJobCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateProfileJobCommandOutput) => void), + cb?: (err: any, data?: UpdateProfileJobCommandOutput) => void + ): Promise | void { + const command = new UpdateProfileJobCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Modifies the definition of an existing AWS Glue DataBrew project in the current AWS + * account.

      + */ + public updateProject( + args: UpdateProjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateProject( + args: UpdateProjectCommandInput, + cb: (err: any, data?: UpdateProjectCommandOutput) => void + ): void; + public updateProject( + args: UpdateProjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateProjectCommandOutput) => void + ): void; + public updateProject( + args: UpdateProjectCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateProjectCommandOutput) => void), + cb?: (err: any, data?: UpdateProjectCommandOutput) => void + ): Promise | void { + const command = new UpdateProjectCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Modifies the definition of the latest working version of an AWS Glue DataBrew recipe + * in the current AWS account.

      + */ + public updateRecipe( + args: UpdateRecipeCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateRecipe(args: UpdateRecipeCommandInput, cb: (err: any, data?: UpdateRecipeCommandOutput) => void): void; + public updateRecipe( + args: UpdateRecipeCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateRecipeCommandOutput) => void + ): void; + public updateRecipe( + args: UpdateRecipeCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRecipeCommandOutput) => void), + cb?: (err: any, data?: UpdateRecipeCommandOutput) => void + ): Promise | void { + const command = new UpdateRecipeCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Modifies the definition of an existing AWS Glue DataBrew recipe job in the current AWS + * account.

      + */ + public updateRecipeJob( + args: UpdateRecipeJobCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateRecipeJob( + args: UpdateRecipeJobCommandInput, + cb: (err: any, data?: UpdateRecipeJobCommandOutput) => void + ): void; + public updateRecipeJob( + args: UpdateRecipeJobCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateRecipeJobCommandOutput) => void + ): void; + public updateRecipeJob( + args: UpdateRecipeJobCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRecipeJobCommandOutput) => void), + cb?: (err: any, data?: UpdateRecipeJobCommandOutput) => void + ): Promise | void { + const command = new UpdateRecipeJobCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

      Modifies the definition of an existing AWS Glue DataBrew schedule in the current AWS + * account.

      + */ + public updateSchedule( + args: UpdateScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateSchedule( + args: UpdateScheduleCommandInput, + cb: (err: any, data?: UpdateScheduleCommandOutput) => void + ): void; + public updateSchedule( + args: UpdateScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateScheduleCommandOutput) => void + ): void; + public updateSchedule( + args: UpdateScheduleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateScheduleCommandOutput) => void), + cb?: (err: any, data?: UpdateScheduleCommandOutput) => void + ): Promise | void { + const command = new UpdateScheduleCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } +} diff --git a/clients/client-databrew/DataBrewClient.ts b/clients/client-databrew/DataBrewClient.ts new file mode 100644 index 000000000000..cdfa619449af --- /dev/null +++ b/clients/client-databrew/DataBrewClient.ts @@ -0,0 +1,333 @@ +import { + BatchDeleteRecipeVersionCommandInput, + BatchDeleteRecipeVersionCommandOutput, +} from "./commands/BatchDeleteRecipeVersionCommand"; +import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand"; +import { CreateProfileJobCommandInput, CreateProfileJobCommandOutput } from "./commands/CreateProfileJobCommand"; +import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand"; +import { CreateRecipeCommandInput, CreateRecipeCommandOutput } from "./commands/CreateRecipeCommand"; +import { CreateRecipeJobCommandInput, CreateRecipeJobCommandOutput } from "./commands/CreateRecipeJobCommand"; +import { CreateScheduleCommandInput, CreateScheduleCommandOutput } from "./commands/CreateScheduleCommand"; +import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand"; +import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand"; +import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand"; +import { + DeleteRecipeVersionCommandInput, + DeleteRecipeVersionCommandOutput, +} from "./commands/DeleteRecipeVersionCommand"; +import { DeleteScheduleCommandInput, DeleteScheduleCommandOutput } from "./commands/DeleteScheduleCommand"; +import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand"; +import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand"; +import { DescribeProjectCommandInput, DescribeProjectCommandOutput } from "./commands/DescribeProjectCommand"; +import { DescribeRecipeCommandInput, DescribeRecipeCommandOutput } from "./commands/DescribeRecipeCommand"; +import { DescribeScheduleCommandInput, DescribeScheduleCommandOutput } from "./commands/DescribeScheduleCommand"; +import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand"; +import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand"; +import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand"; +import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/ListProjectsCommand"; +import { ListRecipeVersionsCommandInput, ListRecipeVersionsCommandOutput } from "./commands/ListRecipeVersionsCommand"; +import { ListRecipesCommandInput, ListRecipesCommandOutput } from "./commands/ListRecipesCommand"; +import { ListSchedulesCommandInput, ListSchedulesCommandOutput } from "./commands/ListSchedulesCommand"; +import { + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "./commands/ListTagsForResourceCommand"; +import { PublishRecipeCommandInput, PublishRecipeCommandOutput } from "./commands/PublishRecipeCommand"; +import { + SendProjectSessionActionCommandInput, + SendProjectSessionActionCommandOutput, +} from "./commands/SendProjectSessionActionCommand"; +import { StartJobRunCommandInput, StartJobRunCommandOutput } from "./commands/StartJobRunCommand"; +import { + StartProjectSessionCommandInput, + StartProjectSessionCommandOutput, +} from "./commands/StartProjectSessionCommand"; +import { StopJobRunCommandInput, StopJobRunCommandOutput } from "./commands/StopJobRunCommand"; +import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; +import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; +import { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "./commands/UpdateDatasetCommand"; +import { UpdateProfileJobCommandInput, UpdateProfileJobCommandOutput } from "./commands/UpdateProfileJobCommand"; +import { UpdateProjectCommandInput, UpdateProjectCommandOutput } from "./commands/UpdateProjectCommand"; +import { UpdateRecipeCommandInput, UpdateRecipeCommandOutput } from "./commands/UpdateRecipeCommand"; +import { UpdateRecipeJobCommandInput, UpdateRecipeJobCommandOutput } from "./commands/UpdateRecipeJobCommand"; +import { UpdateScheduleCommandInput, UpdateScheduleCommandOutput } from "./commands/UpdateScheduleCommand"; +import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig"; +import { + EndpointsInputConfig, + EndpointsResolvedConfig, + RegionInputConfig, + RegionResolvedConfig, + resolveEndpointsConfig, + resolveRegionConfig, +} from "@aws-sdk/config-resolver"; +import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length"; +import { + HostHeaderInputConfig, + HostHeaderResolvedConfig, + getHostHeaderPlugin, + resolveHostHeaderConfig, +} from "@aws-sdk/middleware-host-header"; +import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; +import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry"; +import { + AwsAuthInputConfig, + AwsAuthResolvedConfig, + getAwsAuthPlugin, + resolveAwsAuthConfig, +} from "@aws-sdk/middleware-signing"; +import { + UserAgentInputConfig, + UserAgentResolvedConfig, + getUserAgentPlugin, + resolveUserAgentConfig, +} from "@aws-sdk/middleware-user-agent"; +import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http"; +import { + Client as __Client, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, +} from "@aws-sdk/smithy-client"; +import { + RegionInfoProvider, + Credentials as __Credentials, + Decoder as __Decoder, + Encoder as __Encoder, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + StreamCollector as __StreamCollector, + UrlParser as __UrlParser, +} from "@aws-sdk/types"; + +export type ServiceInputTypes = + | BatchDeleteRecipeVersionCommandInput + | CreateDatasetCommandInput + | CreateProfileJobCommandInput + | CreateProjectCommandInput + | CreateRecipeCommandInput + | CreateRecipeJobCommandInput + | CreateScheduleCommandInput + | DeleteDatasetCommandInput + | DeleteJobCommandInput + | DeleteProjectCommandInput + | DeleteRecipeVersionCommandInput + | DeleteScheduleCommandInput + | DescribeDatasetCommandInput + | DescribeJobCommandInput + | DescribeProjectCommandInput + | DescribeRecipeCommandInput + | DescribeScheduleCommandInput + | ListDatasetsCommandInput + | ListJobRunsCommandInput + | ListJobsCommandInput + | ListProjectsCommandInput + | ListRecipeVersionsCommandInput + | ListRecipesCommandInput + | ListSchedulesCommandInput + | ListTagsForResourceCommandInput + | PublishRecipeCommandInput + | SendProjectSessionActionCommandInput + | StartJobRunCommandInput + | StartProjectSessionCommandInput + | StopJobRunCommandInput + | TagResourceCommandInput + | UntagResourceCommandInput + | UpdateDatasetCommandInput + | UpdateProfileJobCommandInput + | UpdateProjectCommandInput + | UpdateRecipeCommandInput + | UpdateRecipeJobCommandInput + | UpdateScheduleCommandInput; + +export type ServiceOutputTypes = + | BatchDeleteRecipeVersionCommandOutput + | CreateDatasetCommandOutput + | CreateProfileJobCommandOutput + | CreateProjectCommandOutput + | CreateRecipeCommandOutput + | CreateRecipeJobCommandOutput + | CreateScheduleCommandOutput + | DeleteDatasetCommandOutput + | DeleteJobCommandOutput + | DeleteProjectCommandOutput + | DeleteRecipeVersionCommandOutput + | DeleteScheduleCommandOutput + | DescribeDatasetCommandOutput + | DescribeJobCommandOutput + | DescribeProjectCommandOutput + | DescribeRecipeCommandOutput + | DescribeScheduleCommandOutput + | ListDatasetsCommandOutput + | ListJobRunsCommandOutput + | ListJobsCommandOutput + | ListProjectsCommandOutput + | ListRecipeVersionsCommandOutput + | ListRecipesCommandOutput + | ListSchedulesCommandOutput + | ListTagsForResourceCommandOutput + | PublishRecipeCommandOutput + | SendProjectSessionActionCommandOutput + | StartJobRunCommandOutput + | StartProjectSessionCommandOutput + | StopJobRunCommandOutput + | TagResourceCommandOutput + | UntagResourceCommandOutput + | UpdateDatasetCommandOutput + | UpdateProfileJobCommandOutput + | UpdateProjectCommandOutput + | UpdateRecipeCommandOutput + | UpdateRecipeJobCommandOutput + | UpdateScheduleCommandOutput; + +export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandler; + + /** + * A constructor for a class implementing the @aws-sdk/types.Hash interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + */ + sha256?: __HashConstructor; + + /** + * The function that will be used to convert strings into HTTP endpoints. + */ + urlParser?: __UrlParser; + + /** + * A function that can calculate the length of a request body. + */ + bodyLengthChecker?: (body: any) => number | undefined; + + /** + * A function that converts a stream into an array of bytes. + */ + streamCollector?: __StreamCollector; + + /** + * The function that will be used to convert a base64-encoded string to a byte array + */ + base64Decoder?: __Decoder; + + /** + * The function that will be used to convert binary data to a base64-encoded string + */ + base64Encoder?: __Encoder; + + /** + * The function that will be used to convert a UTF8-encoded string to a byte array + */ + utf8Decoder?: __Decoder; + + /** + * The function that will be used to convert binary data to a UTF-8 encoded string + */ + utf8Encoder?: __Encoder; + + /** + * The string that will be used to populate default value in 'User-Agent' header + */ + defaultUserAgent?: string; + + /** + * The runtime environment + */ + runtime?: string; + + /** + * Disable dyanamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + + /** + * The service name with which to sign requests. + */ + signingName?: string; + + /** + * Default credentials provider; Not available in browser runtime + */ + credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; + + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + + /** + * Fetch related hostname, signing name or signing region with given region. + */ + regionInfoProvider?: RegionInfoProvider; +} + +export type DataBrewClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & + ClientDefaults & + RegionInputConfig & + EndpointsInputConfig & + AwsAuthInputConfig & + RetryInputConfig & + UserAgentInputConfig & + HostHeaderInputConfig; + +export type DataBrewClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RegionResolvedConfig & + EndpointsResolvedConfig & + AwsAuthResolvedConfig & + RetryResolvedConfig & + UserAgentResolvedConfig & + HostHeaderResolvedConfig; + +/** + *

      AWS Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew + * simplifies data preparation tasks, targeting data issues that are hard to spot and + * time-consuming to fix. DataBrew empowers users of all technical levels to visualize the + * data and perform one-click data transformations, with no coding required.

      + */ +export class DataBrewClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + DataBrewClientResolvedConfig +> { + readonly config: DataBrewClientResolvedConfig; + + constructor(configuration: DataBrewClientConfig) { + let _config_0 = { + ...__ClientDefaultValues, + ...configuration, + }; + let _config_1 = resolveRegionConfig(_config_0); + let _config_2 = resolveEndpointsConfig(_config_1); + let _config_3 = resolveAwsAuthConfig(_config_2); + let _config_4 = resolveRetryConfig(_config_3); + let _config_5 = resolveUserAgentConfig(_config_4); + let _config_6 = resolveHostHeaderConfig(_config_5); + super(_config_6); + this.config = _config_6; + this.middlewareStack.use(getAwsAuthPlugin(this.config)); + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + } + + destroy(): void { + super.destroy(); + } +} diff --git a/clients/client-databrew/LICENSE b/clients/client-databrew/LICENSE new file mode 100644 index 000000000000..dd65ae06be7a --- /dev/null +++ b/clients/client-databrew/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/clients/client-databrew/README.md b/clients/client-databrew/README.md new file mode 100644 index 000000000000..1a016c279a55 --- /dev/null +++ b/clients/client-databrew/README.md @@ -0,0 +1,6 @@ +# @aws-sdk/client-databrew + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-databrew/rc.svg)](https://www.npmjs.com/package/@aws-sdk/client-databrew) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-databrew.svg)](https://www.npmjs.com/package/@aws-sdk/client-databrew) + +For SDK usage, please step to [SDK readme](https://github.com/aws/aws-sdk-js-v3). diff --git a/clients/client-databrew/commands/BatchDeleteRecipeVersionCommand.ts b/clients/client-databrew/commands/BatchDeleteRecipeVersionCommand.ts new file mode 100644 index 000000000000..9692dd00ddcd --- /dev/null +++ b/clients/client-databrew/commands/BatchDeleteRecipeVersionCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { BatchDeleteRecipeVersionRequest, BatchDeleteRecipeVersionResponse } from "../models/models_0"; +import { + deserializeAws_restJson1BatchDeleteRecipeVersionCommand, + serializeAws_restJson1BatchDeleteRecipeVersionCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type BatchDeleteRecipeVersionCommandInput = BatchDeleteRecipeVersionRequest; +export type BatchDeleteRecipeVersionCommandOutput = BatchDeleteRecipeVersionResponse & __MetadataBearer; + +export class BatchDeleteRecipeVersionCommand extends $Command< + BatchDeleteRecipeVersionCommandInput, + BatchDeleteRecipeVersionCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: BatchDeleteRecipeVersionCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "BatchDeleteRecipeVersionCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: BatchDeleteRecipeVersionRequest.filterSensitiveLog, + outputFilterSensitiveLog: BatchDeleteRecipeVersionResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: BatchDeleteRecipeVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1BatchDeleteRecipeVersionCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1BatchDeleteRecipeVersionCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/CreateDatasetCommand.ts b/clients/client-databrew/commands/CreateDatasetCommand.ts new file mode 100644 index 000000000000..cfc75f4797f7 --- /dev/null +++ b/clients/client-databrew/commands/CreateDatasetCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateDatasetCommand, + serializeAws_restJson1CreateDatasetCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateDatasetCommandInput = CreateDatasetRequest; +export type CreateDatasetCommandOutput = CreateDatasetResponse & __MetadataBearer; + +export class CreateDatasetCommand extends $Command< + CreateDatasetCommandInput, + CreateDatasetCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateDatasetCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "CreateDatasetCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateDatasetRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateDatasetResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateDatasetCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateDatasetCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/CreateProfileJobCommand.ts b/clients/client-databrew/commands/CreateProfileJobCommand.ts new file mode 100644 index 000000000000..7d592fa45589 --- /dev/null +++ b/clients/client-databrew/commands/CreateProfileJobCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { CreateProfileJobRequest, CreateProfileJobResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateProfileJobCommand, + serializeAws_restJson1CreateProfileJobCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateProfileJobCommandInput = CreateProfileJobRequest; +export type CreateProfileJobCommandOutput = CreateProfileJobResponse & __MetadataBearer; + +export class CreateProfileJobCommand extends $Command< + CreateProfileJobCommandInput, + CreateProfileJobCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateProfileJobCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "CreateProfileJobCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateProfileJobRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateProfileJobResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateProfileJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateProfileJobCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateProfileJobCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/CreateProjectCommand.ts b/clients/client-databrew/commands/CreateProjectCommand.ts new file mode 100644 index 000000000000..1a6a51446cf3 --- /dev/null +++ b/clients/client-databrew/commands/CreateProjectCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { CreateProjectRequest, CreateProjectResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateProjectCommand, + serializeAws_restJson1CreateProjectCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateProjectCommandInput = CreateProjectRequest; +export type CreateProjectCommandOutput = CreateProjectResponse & __MetadataBearer; + +export class CreateProjectCommand extends $Command< + CreateProjectCommandInput, + CreateProjectCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateProjectCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "CreateProjectCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateProjectRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateProjectResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateProjectCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateProjectCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateProjectCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/CreateRecipeCommand.ts b/clients/client-databrew/commands/CreateRecipeCommand.ts new file mode 100644 index 000000000000..2d9a55057fef --- /dev/null +++ b/clients/client-databrew/commands/CreateRecipeCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { CreateRecipeRequest, CreateRecipeResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateRecipeCommand, + serializeAws_restJson1CreateRecipeCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateRecipeCommandInput = CreateRecipeRequest; +export type CreateRecipeCommandOutput = CreateRecipeResponse & __MetadataBearer; + +export class CreateRecipeCommand extends $Command< + CreateRecipeCommandInput, + CreateRecipeCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateRecipeCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "CreateRecipeCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateRecipeRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateRecipeResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateRecipeCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateRecipeCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateRecipeCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/CreateRecipeJobCommand.ts b/clients/client-databrew/commands/CreateRecipeJobCommand.ts new file mode 100644 index 000000000000..76732745ed0f --- /dev/null +++ b/clients/client-databrew/commands/CreateRecipeJobCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { CreateRecipeJobRequest, CreateRecipeJobResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateRecipeJobCommand, + serializeAws_restJson1CreateRecipeJobCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateRecipeJobCommandInput = CreateRecipeJobRequest; +export type CreateRecipeJobCommandOutput = CreateRecipeJobResponse & __MetadataBearer; + +export class CreateRecipeJobCommand extends $Command< + CreateRecipeJobCommandInput, + CreateRecipeJobCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateRecipeJobCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "CreateRecipeJobCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateRecipeJobRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateRecipeJobResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateRecipeJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateRecipeJobCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateRecipeJobCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/CreateScheduleCommand.ts b/clients/client-databrew/commands/CreateScheduleCommand.ts new file mode 100644 index 000000000000..9d9457cdd015 --- /dev/null +++ b/clients/client-databrew/commands/CreateScheduleCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { CreateScheduleRequest, CreateScheduleResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateScheduleCommand, + serializeAws_restJson1CreateScheduleCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateScheduleCommandInput = CreateScheduleRequest; +export type CreateScheduleCommandOutput = CreateScheduleResponse & __MetadataBearer; + +export class CreateScheduleCommand extends $Command< + CreateScheduleCommandInput, + CreateScheduleCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateScheduleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "CreateScheduleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateScheduleRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateScheduleResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateScheduleCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateScheduleCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateScheduleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DeleteDatasetCommand.ts b/clients/client-databrew/commands/DeleteDatasetCommand.ts new file mode 100644 index 000000000000..46c79e6c2580 --- /dev/null +++ b/clients/client-databrew/commands/DeleteDatasetCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DeleteDatasetRequest, DeleteDatasetResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteDatasetCommand, + serializeAws_restJson1DeleteDatasetCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteDatasetCommandInput = DeleteDatasetRequest; +export type DeleteDatasetCommandOutput = DeleteDatasetResponse & __MetadataBearer; + +export class DeleteDatasetCommand extends $Command< + DeleteDatasetCommandInput, + DeleteDatasetCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteDatasetCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DeleteDatasetCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteDatasetRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteDatasetResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteDatasetCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteDatasetCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DeleteJobCommand.ts b/clients/client-databrew/commands/DeleteJobCommand.ts new file mode 100644 index 000000000000..bf47ae5a5656 --- /dev/null +++ b/clients/client-databrew/commands/DeleteJobCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DeleteJobRequest, DeleteJobResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteJobCommand, + serializeAws_restJson1DeleteJobCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteJobCommandInput = DeleteJobRequest; +export type DeleteJobCommandOutput = DeleteJobResponse & __MetadataBearer; + +export class DeleteJobCommand extends $Command< + DeleteJobCommandInput, + DeleteJobCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteJobCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DeleteJobCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteJobRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteJobResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteJobCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteJobCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DeleteProjectCommand.ts b/clients/client-databrew/commands/DeleteProjectCommand.ts new file mode 100644 index 000000000000..b3c567b6c82a --- /dev/null +++ b/clients/client-databrew/commands/DeleteProjectCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DeleteProjectRequest, DeleteProjectResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteProjectCommand, + serializeAws_restJson1DeleteProjectCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteProjectCommandInput = DeleteProjectRequest; +export type DeleteProjectCommandOutput = DeleteProjectResponse & __MetadataBearer; + +export class DeleteProjectCommand extends $Command< + DeleteProjectCommandInput, + DeleteProjectCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteProjectCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DeleteProjectCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteProjectRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteProjectResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteProjectCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteProjectCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteProjectCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DeleteRecipeVersionCommand.ts b/clients/client-databrew/commands/DeleteRecipeVersionCommand.ts new file mode 100644 index 000000000000..615d31c5dd1a --- /dev/null +++ b/clients/client-databrew/commands/DeleteRecipeVersionCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DeleteRecipeVersionRequest, DeleteRecipeVersionResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteRecipeVersionCommand, + serializeAws_restJson1DeleteRecipeVersionCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteRecipeVersionCommandInput = DeleteRecipeVersionRequest; +export type DeleteRecipeVersionCommandOutput = DeleteRecipeVersionResponse & __MetadataBearer; + +export class DeleteRecipeVersionCommand extends $Command< + DeleteRecipeVersionCommandInput, + DeleteRecipeVersionCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteRecipeVersionCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DeleteRecipeVersionCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteRecipeVersionRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteRecipeVersionResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteRecipeVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteRecipeVersionCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteRecipeVersionCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DeleteScheduleCommand.ts b/clients/client-databrew/commands/DeleteScheduleCommand.ts new file mode 100644 index 000000000000..819943238b1a --- /dev/null +++ b/clients/client-databrew/commands/DeleteScheduleCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DeleteScheduleRequest, DeleteScheduleResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteScheduleCommand, + serializeAws_restJson1DeleteScheduleCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteScheduleCommandInput = DeleteScheduleRequest; +export type DeleteScheduleCommandOutput = DeleteScheduleResponse & __MetadataBearer; + +export class DeleteScheduleCommand extends $Command< + DeleteScheduleCommandInput, + DeleteScheduleCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteScheduleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DeleteScheduleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteScheduleRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteScheduleResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteScheduleCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteScheduleCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteScheduleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DescribeDatasetCommand.ts b/clients/client-databrew/commands/DescribeDatasetCommand.ts new file mode 100644 index 000000000000..f7b939124238 --- /dev/null +++ b/clients/client-databrew/commands/DescribeDatasetCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DescribeDatasetRequest, DescribeDatasetResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeDatasetCommand, + serializeAws_restJson1DescribeDatasetCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeDatasetCommandInput = DescribeDatasetRequest; +export type DescribeDatasetCommandOutput = DescribeDatasetResponse & __MetadataBearer; + +export class DescribeDatasetCommand extends $Command< + DescribeDatasetCommandInput, + DescribeDatasetCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeDatasetCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DescribeDatasetCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeDatasetRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeDatasetResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeDatasetCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DescribeDatasetCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DescribeJobCommand.ts b/clients/client-databrew/commands/DescribeJobCommand.ts new file mode 100644 index 000000000000..2aa1e983aecb --- /dev/null +++ b/clients/client-databrew/commands/DescribeJobCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DescribeJobRequest, DescribeJobResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeJobCommand, + serializeAws_restJson1DescribeJobCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeJobCommandInput = DescribeJobRequest; +export type DescribeJobCommandOutput = DescribeJobResponse & __MetadataBearer; + +export class DescribeJobCommand extends $Command< + DescribeJobCommandInput, + DescribeJobCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeJobCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DescribeJobCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeJobRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeJobResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeJobCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DescribeJobCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DescribeProjectCommand.ts b/clients/client-databrew/commands/DescribeProjectCommand.ts new file mode 100644 index 000000000000..4bb2ce0a4209 --- /dev/null +++ b/clients/client-databrew/commands/DescribeProjectCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DescribeProjectRequest, DescribeProjectResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeProjectCommand, + serializeAws_restJson1DescribeProjectCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeProjectCommandInput = DescribeProjectRequest; +export type DescribeProjectCommandOutput = DescribeProjectResponse & __MetadataBearer; + +export class DescribeProjectCommand extends $Command< + DescribeProjectCommandInput, + DescribeProjectCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeProjectCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DescribeProjectCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeProjectRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeProjectResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeProjectCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeProjectCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DescribeProjectCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DescribeRecipeCommand.ts b/clients/client-databrew/commands/DescribeRecipeCommand.ts new file mode 100644 index 000000000000..0d363aa20d1a --- /dev/null +++ b/clients/client-databrew/commands/DescribeRecipeCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DescribeRecipeRequest, DescribeRecipeResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeRecipeCommand, + serializeAws_restJson1DescribeRecipeCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeRecipeCommandInput = DescribeRecipeRequest; +export type DescribeRecipeCommandOutput = DescribeRecipeResponse & __MetadataBearer; + +export class DescribeRecipeCommand extends $Command< + DescribeRecipeCommandInput, + DescribeRecipeCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeRecipeCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DescribeRecipeCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeRecipeRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeRecipeResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeRecipeCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeRecipeCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DescribeRecipeCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/DescribeScheduleCommand.ts b/clients/client-databrew/commands/DescribeScheduleCommand.ts new file mode 100644 index 000000000000..fe417cce608c --- /dev/null +++ b/clients/client-databrew/commands/DescribeScheduleCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { DescribeScheduleRequest, DescribeScheduleResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeScheduleCommand, + serializeAws_restJson1DescribeScheduleCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeScheduleCommandInput = DescribeScheduleRequest; +export type DescribeScheduleCommandOutput = DescribeScheduleResponse & __MetadataBearer; + +export class DescribeScheduleCommand extends $Command< + DescribeScheduleCommandInput, + DescribeScheduleCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeScheduleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "DescribeScheduleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeScheduleRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeScheduleResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeScheduleCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeScheduleCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DescribeScheduleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/ListDatasetsCommand.ts b/clients/client-databrew/commands/ListDatasetsCommand.ts new file mode 100644 index 000000000000..095762bd8529 --- /dev/null +++ b/clients/client-databrew/commands/ListDatasetsCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { ListDatasetsRequest, ListDatasetsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListDatasetsCommand, + serializeAws_restJson1ListDatasetsCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListDatasetsCommandInput = ListDatasetsRequest; +export type ListDatasetsCommandOutput = ListDatasetsResponse & __MetadataBearer; + +export class ListDatasetsCommand extends $Command< + ListDatasetsCommandInput, + ListDatasetsCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListDatasetsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "ListDatasetsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListDatasetsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListDatasetsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListDatasetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListDatasetsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListDatasetsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/ListJobRunsCommand.ts b/clients/client-databrew/commands/ListJobRunsCommand.ts new file mode 100644 index 000000000000..a16afb22df85 --- /dev/null +++ b/clients/client-databrew/commands/ListJobRunsCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { ListJobRunsRequest, ListJobRunsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListJobRunsCommand, + serializeAws_restJson1ListJobRunsCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListJobRunsCommandInput = ListJobRunsRequest; +export type ListJobRunsCommandOutput = ListJobRunsResponse & __MetadataBearer; + +export class ListJobRunsCommand extends $Command< + ListJobRunsCommandInput, + ListJobRunsCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListJobRunsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "ListJobRunsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListJobRunsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListJobRunsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListJobRunsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListJobRunsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListJobRunsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/ListJobsCommand.ts b/clients/client-databrew/commands/ListJobsCommand.ts new file mode 100644 index 000000000000..28569f439b55 --- /dev/null +++ b/clients/client-databrew/commands/ListJobsCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { ListJobsRequest, ListJobsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListJobsCommand, + serializeAws_restJson1ListJobsCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListJobsCommandInput = ListJobsRequest; +export type ListJobsCommandOutput = ListJobsResponse & __MetadataBearer; + +export class ListJobsCommand extends $Command< + ListJobsCommandInput, + ListJobsCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListJobsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "ListJobsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListJobsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListJobsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListJobsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListJobsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/ListProjectsCommand.ts b/clients/client-databrew/commands/ListProjectsCommand.ts new file mode 100644 index 000000000000..5b9a1613fc8c --- /dev/null +++ b/clients/client-databrew/commands/ListProjectsCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { ListProjectsRequest, ListProjectsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListProjectsCommand, + serializeAws_restJson1ListProjectsCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListProjectsCommandInput = ListProjectsRequest; +export type ListProjectsCommandOutput = ListProjectsResponse & __MetadataBearer; + +export class ListProjectsCommand extends $Command< + ListProjectsCommandInput, + ListProjectsCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListProjectsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "ListProjectsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListProjectsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListProjectsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListProjectsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListProjectsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListProjectsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/ListRecipeVersionsCommand.ts b/clients/client-databrew/commands/ListRecipeVersionsCommand.ts new file mode 100644 index 000000000000..4b5033ed738d --- /dev/null +++ b/clients/client-databrew/commands/ListRecipeVersionsCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { ListRecipeVersionsRequest, ListRecipeVersionsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListRecipeVersionsCommand, + serializeAws_restJson1ListRecipeVersionsCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListRecipeVersionsCommandInput = ListRecipeVersionsRequest; +export type ListRecipeVersionsCommandOutput = ListRecipeVersionsResponse & __MetadataBearer; + +export class ListRecipeVersionsCommand extends $Command< + ListRecipeVersionsCommandInput, + ListRecipeVersionsCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListRecipeVersionsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "ListRecipeVersionsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListRecipeVersionsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListRecipeVersionsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListRecipeVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListRecipeVersionsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListRecipeVersionsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/ListRecipesCommand.ts b/clients/client-databrew/commands/ListRecipesCommand.ts new file mode 100644 index 000000000000..b9c7bad065b5 --- /dev/null +++ b/clients/client-databrew/commands/ListRecipesCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { ListRecipesRequest, ListRecipesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListRecipesCommand, + serializeAws_restJson1ListRecipesCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListRecipesCommandInput = ListRecipesRequest; +export type ListRecipesCommandOutput = ListRecipesResponse & __MetadataBearer; + +export class ListRecipesCommand extends $Command< + ListRecipesCommandInput, + ListRecipesCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListRecipesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "ListRecipesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListRecipesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListRecipesResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListRecipesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListRecipesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListRecipesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/ListSchedulesCommand.ts b/clients/client-databrew/commands/ListSchedulesCommand.ts new file mode 100644 index 000000000000..0c62e37a99b0 --- /dev/null +++ b/clients/client-databrew/commands/ListSchedulesCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { ListSchedulesRequest, ListSchedulesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListSchedulesCommand, + serializeAws_restJson1ListSchedulesCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListSchedulesCommandInput = ListSchedulesRequest; +export type ListSchedulesCommandOutput = ListSchedulesResponse & __MetadataBearer; + +export class ListSchedulesCommand extends $Command< + ListSchedulesCommandInput, + ListSchedulesCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListSchedulesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "ListSchedulesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListSchedulesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListSchedulesResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListSchedulesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListSchedulesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListSchedulesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/ListTagsForResourceCommand.ts b/clients/client-databrew/commands/ListTagsForResourceCommand.ts new file mode 100644 index 000000000000..74bbeeda0a4a --- /dev/null +++ b/clients/client-databrew/commands/ListTagsForResourceCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListTagsForResourceCommand, + serializeAws_restJson1ListTagsForResourceCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; +export type ListTagsForResourceCommandOutput = ListTagsForResourceResponse & __MetadataBearer; + +export class ListTagsForResourceCommand extends $Command< + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListTagsForResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "ListTagsForResourceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListTagsForResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListTagsForResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/PublishRecipeCommand.ts b/clients/client-databrew/commands/PublishRecipeCommand.ts new file mode 100644 index 000000000000..7933ee7dd8dd --- /dev/null +++ b/clients/client-databrew/commands/PublishRecipeCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { PublishRecipeRequest, PublishRecipeResponse } from "../models/models_0"; +import { + deserializeAws_restJson1PublishRecipeCommand, + serializeAws_restJson1PublishRecipeCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type PublishRecipeCommandInput = PublishRecipeRequest; +export type PublishRecipeCommandOutput = PublishRecipeResponse & __MetadataBearer; + +export class PublishRecipeCommand extends $Command< + PublishRecipeCommandInput, + PublishRecipeCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: PublishRecipeCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "PublishRecipeCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: PublishRecipeRequest.filterSensitiveLog, + outputFilterSensitiveLog: PublishRecipeResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: PublishRecipeCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1PublishRecipeCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1PublishRecipeCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/SendProjectSessionActionCommand.ts b/clients/client-databrew/commands/SendProjectSessionActionCommand.ts new file mode 100644 index 000000000000..84ecef140692 --- /dev/null +++ b/clients/client-databrew/commands/SendProjectSessionActionCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { SendProjectSessionActionRequest, SendProjectSessionActionResponse } from "../models/models_0"; +import { + deserializeAws_restJson1SendProjectSessionActionCommand, + serializeAws_restJson1SendProjectSessionActionCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type SendProjectSessionActionCommandInput = SendProjectSessionActionRequest; +export type SendProjectSessionActionCommandOutput = SendProjectSessionActionResponse & __MetadataBearer; + +export class SendProjectSessionActionCommand extends $Command< + SendProjectSessionActionCommandInput, + SendProjectSessionActionCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: SendProjectSessionActionCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "SendProjectSessionActionCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: SendProjectSessionActionRequest.filterSensitiveLog, + outputFilterSensitiveLog: SendProjectSessionActionResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: SendProjectSessionActionCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1SendProjectSessionActionCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1SendProjectSessionActionCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/StartJobRunCommand.ts b/clients/client-databrew/commands/StartJobRunCommand.ts new file mode 100644 index 000000000000..c047f0a772b4 --- /dev/null +++ b/clients/client-databrew/commands/StartJobRunCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { StartJobRunRequest, StartJobRunResponse } from "../models/models_0"; +import { + deserializeAws_restJson1StartJobRunCommand, + serializeAws_restJson1StartJobRunCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type StartJobRunCommandInput = StartJobRunRequest; +export type StartJobRunCommandOutput = StartJobRunResponse & __MetadataBearer; + +export class StartJobRunCommand extends $Command< + StartJobRunCommandInput, + StartJobRunCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: StartJobRunCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "StartJobRunCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: StartJobRunRequest.filterSensitiveLog, + outputFilterSensitiveLog: StartJobRunResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: StartJobRunCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1StartJobRunCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1StartJobRunCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/StartProjectSessionCommand.ts b/clients/client-databrew/commands/StartProjectSessionCommand.ts new file mode 100644 index 000000000000..d78f4c961b39 --- /dev/null +++ b/clients/client-databrew/commands/StartProjectSessionCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { StartProjectSessionRequest, StartProjectSessionResponse } from "../models/models_0"; +import { + deserializeAws_restJson1StartProjectSessionCommand, + serializeAws_restJson1StartProjectSessionCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type StartProjectSessionCommandInput = StartProjectSessionRequest; +export type StartProjectSessionCommandOutput = StartProjectSessionResponse & __MetadataBearer; + +export class StartProjectSessionCommand extends $Command< + StartProjectSessionCommandInput, + StartProjectSessionCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: StartProjectSessionCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "StartProjectSessionCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: StartProjectSessionRequest.filterSensitiveLog, + outputFilterSensitiveLog: StartProjectSessionResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: StartProjectSessionCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1StartProjectSessionCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1StartProjectSessionCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/StopJobRunCommand.ts b/clients/client-databrew/commands/StopJobRunCommand.ts new file mode 100644 index 000000000000..def2ed1dc438 --- /dev/null +++ b/clients/client-databrew/commands/StopJobRunCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { StopJobRunRequest, StopJobRunResponse } from "../models/models_0"; +import { + deserializeAws_restJson1StopJobRunCommand, + serializeAws_restJson1StopJobRunCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type StopJobRunCommandInput = StopJobRunRequest; +export type StopJobRunCommandOutput = StopJobRunResponse & __MetadataBearer; + +export class StopJobRunCommand extends $Command< + StopJobRunCommandInput, + StopJobRunCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: StopJobRunCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "StopJobRunCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: StopJobRunRequest.filterSensitiveLog, + outputFilterSensitiveLog: StopJobRunResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: StopJobRunCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1StopJobRunCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1StopJobRunCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/TagResourceCommand.ts b/clients/client-databrew/commands/TagResourceCommand.ts new file mode 100644 index 000000000000..916890636ba3 --- /dev/null +++ b/clients/client-databrew/commands/TagResourceCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { TagResourceRequest, TagResourceResponse } from "../models/models_0"; +import { + deserializeAws_restJson1TagResourceCommand, + serializeAws_restJson1TagResourceCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type TagResourceCommandInput = TagResourceRequest; +export type TagResourceCommandOutput = TagResourceResponse & __MetadataBearer; + +export class TagResourceCommand extends $Command< + TagResourceCommandInput, + TagResourceCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: TagResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "TagResourceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog, + outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1TagResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1TagResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/UntagResourceCommand.ts b/clients/client-databrew/commands/UntagResourceCommand.ts new file mode 100644 index 000000000000..5f86ca1d58e9 --- /dev/null +++ b/clients/client-databrew/commands/UntagResourceCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UntagResourceCommand, + serializeAws_restJson1UntagResourceCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UntagResourceCommandInput = UntagResourceRequest; +export type UntagResourceCommandOutput = UntagResourceResponse & __MetadataBearer; + +export class UntagResourceCommand extends $Command< + UntagResourceCommandInput, + UntagResourceCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UntagResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "UntagResourceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog, + outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UntagResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UntagResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/UpdateDatasetCommand.ts b/clients/client-databrew/commands/UpdateDatasetCommand.ts new file mode 100644 index 000000000000..5a2b37ac4a31 --- /dev/null +++ b/clients/client-databrew/commands/UpdateDatasetCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { UpdateDatasetRequest, UpdateDatasetResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateDatasetCommand, + serializeAws_restJson1UpdateDatasetCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateDatasetCommandInput = UpdateDatasetRequest; +export type UpdateDatasetCommandOutput = UpdateDatasetResponse & __MetadataBearer; + +export class UpdateDatasetCommand extends $Command< + UpdateDatasetCommandInput, + UpdateDatasetCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateDatasetCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "UpdateDatasetCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateDatasetRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateDatasetResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateDatasetCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateDatasetCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/UpdateProfileJobCommand.ts b/clients/client-databrew/commands/UpdateProfileJobCommand.ts new file mode 100644 index 000000000000..d017aa986727 --- /dev/null +++ b/clients/client-databrew/commands/UpdateProfileJobCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { UpdateProfileJobRequest, UpdateProfileJobResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateProfileJobCommand, + serializeAws_restJson1UpdateProfileJobCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateProfileJobCommandInput = UpdateProfileJobRequest; +export type UpdateProfileJobCommandOutput = UpdateProfileJobResponse & __MetadataBearer; + +export class UpdateProfileJobCommand extends $Command< + UpdateProfileJobCommandInput, + UpdateProfileJobCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateProfileJobCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "UpdateProfileJobCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateProfileJobRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateProfileJobResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateProfileJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateProfileJobCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateProfileJobCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/UpdateProjectCommand.ts b/clients/client-databrew/commands/UpdateProjectCommand.ts new file mode 100644 index 000000000000..d7fe23e74e2e --- /dev/null +++ b/clients/client-databrew/commands/UpdateProjectCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { UpdateProjectRequest, UpdateProjectResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateProjectCommand, + serializeAws_restJson1UpdateProjectCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateProjectCommandInput = UpdateProjectRequest; +export type UpdateProjectCommandOutput = UpdateProjectResponse & __MetadataBearer; + +export class UpdateProjectCommand extends $Command< + UpdateProjectCommandInput, + UpdateProjectCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateProjectCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "UpdateProjectCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateProjectRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateProjectResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateProjectCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateProjectCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateProjectCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/UpdateRecipeCommand.ts b/clients/client-databrew/commands/UpdateRecipeCommand.ts new file mode 100644 index 000000000000..87d335164f5b --- /dev/null +++ b/clients/client-databrew/commands/UpdateRecipeCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { UpdateRecipeRequest, UpdateRecipeResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateRecipeCommand, + serializeAws_restJson1UpdateRecipeCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateRecipeCommandInput = UpdateRecipeRequest; +export type UpdateRecipeCommandOutput = UpdateRecipeResponse & __MetadataBearer; + +export class UpdateRecipeCommand extends $Command< + UpdateRecipeCommandInput, + UpdateRecipeCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateRecipeCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "UpdateRecipeCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateRecipeRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateRecipeResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateRecipeCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateRecipeCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateRecipeCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/UpdateRecipeJobCommand.ts b/clients/client-databrew/commands/UpdateRecipeJobCommand.ts new file mode 100644 index 000000000000..b9b1aeadce0d --- /dev/null +++ b/clients/client-databrew/commands/UpdateRecipeJobCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { UpdateRecipeJobRequest, UpdateRecipeJobResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateRecipeJobCommand, + serializeAws_restJson1UpdateRecipeJobCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateRecipeJobCommandInput = UpdateRecipeJobRequest; +export type UpdateRecipeJobCommandOutput = UpdateRecipeJobResponse & __MetadataBearer; + +export class UpdateRecipeJobCommand extends $Command< + UpdateRecipeJobCommandInput, + UpdateRecipeJobCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateRecipeJobCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "UpdateRecipeJobCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateRecipeJobRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateRecipeJobResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateRecipeJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateRecipeJobCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateRecipeJobCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/commands/UpdateScheduleCommand.ts b/clients/client-databrew/commands/UpdateScheduleCommand.ts new file mode 100644 index 000000000000..d75d30af985b --- /dev/null +++ b/clients/client-databrew/commands/UpdateScheduleCommand.ts @@ -0,0 +1,82 @@ +import { DataBrewClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataBrewClient"; +import { UpdateScheduleRequest, UpdateScheduleResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateScheduleCommand, + serializeAws_restJson1UpdateScheduleCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateScheduleCommandInput = UpdateScheduleRequest; +export type UpdateScheduleCommandOutput = UpdateScheduleResponse & __MetadataBearer; + +export class UpdateScheduleCommand extends $Command< + UpdateScheduleCommandInput, + UpdateScheduleCommandOutput, + DataBrewClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateScheduleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataBrewClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataBrewClient"; + const commandName = "UpdateScheduleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateScheduleRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateScheduleResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateScheduleCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateScheduleCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateScheduleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-databrew/endpoints.ts b/clients/client-databrew/endpoints.ts new file mode 100644 index 000000000000..88b23ae765d8 --- /dev/null +++ b/clients/client-databrew/endpoints.ts @@ -0,0 +1,81 @@ +import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; + +// Partition default templates +const AWS_TEMPLATE = "databrew.{region}.amazonaws.com"; +const AWS_CN_TEMPLATE = "databrew.{region}.amazonaws.com.cn"; +const AWS_ISO_TEMPLATE = "databrew.{region}.c2s.ic.gov"; +const AWS_ISO_B_TEMPLATE = "databrew.{region}.sc2s.sgov.gov"; +const AWS_US_GOV_TEMPLATE = "databrew.{region}.amazonaws.com"; + +// Partition regions +const AWS_REGIONS = new Set([ + "ap-east-1", + "ap-northeast-1", + "ap-northeast-2", + "ap-south-1", + "ap-southeast-1", + "ap-southeast-2", + "ca-central-1", + "eu-central-1", + "eu-north-1", + "eu-west-1", + "eu-west-2", + "eu-west-3", + "me-south-1", + "sa-east-1", + "us-east-1", + "us-east-2", + "us-west-1", + "us-west-2", +]); +const AWS_CN_REGIONS = new Set(["cn-north-1", "cn-northwest-1"]); +const AWS_ISO_REGIONS = new Set(["us-iso-east-1"]); +const AWS_ISO_B_REGIONS = new Set(["us-isob-east-1"]); +const AWS_US_GOV_REGIONS = new Set(["us-gov-east-1", "us-gov-west-1"]); + +export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, options?: any) => { + let regionInfo: RegionInfo | undefined = undefined; + switch (region) { + // First, try to match exact region names. + // Next, try to match partition endpoints. + default: + if (AWS_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_TEMPLATE.replace("{region}", region), + partition: "aws", + }; + } + if (AWS_CN_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_CN_TEMPLATE.replace("{region}", region), + partition: "aws-cn", + }; + } + if (AWS_ISO_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_ISO_TEMPLATE.replace("{region}", region), + partition: "aws-iso", + }; + } + if (AWS_ISO_B_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_ISO_B_TEMPLATE.replace("{region}", region), + partition: "aws-iso-b", + }; + } + if (AWS_US_GOV_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_US_GOV_TEMPLATE.replace("{region}", region), + partition: "aws-us-gov", + }; + } + // Finally, assume it's an AWS partition endpoint. + if (regionInfo === undefined) { + regionInfo = { + hostname: AWS_TEMPLATE.replace("{region}", region), + partition: "aws", + }; + } + } + return Promise.resolve(regionInfo); +}; diff --git a/clients/client-databrew/index.ts b/clients/client-databrew/index.ts new file mode 100644 index 000000000000..d75a2086c2df --- /dev/null +++ b/clients/client-databrew/index.ts @@ -0,0 +1,49 @@ +export * from "./DataBrewClient"; +export * from "./DataBrew"; +export * from "./commands/BatchDeleteRecipeVersionCommand"; +export * from "./commands/CreateDatasetCommand"; +export * from "./commands/CreateProfileJobCommand"; +export * from "./commands/CreateProjectCommand"; +export * from "./commands/CreateRecipeCommand"; +export * from "./commands/CreateRecipeJobCommand"; +export * from "./commands/CreateScheduleCommand"; +export * from "./commands/DeleteDatasetCommand"; +export * from "./commands/DeleteJobCommand"; +export * from "./commands/DeleteProjectCommand"; +export * from "./commands/DeleteRecipeVersionCommand"; +export * from "./commands/DeleteScheduleCommand"; +export * from "./commands/DescribeDatasetCommand"; +export * from "./commands/DescribeJobCommand"; +export * from "./commands/DescribeProjectCommand"; +export * from "./commands/DescribeRecipeCommand"; +export * from "./commands/DescribeScheduleCommand"; +export * from "./commands/ListDatasetsCommand"; +export * from "./pagination/ListDatasetsPaginator"; +export * from "./commands/ListJobRunsCommand"; +export * from "./pagination/ListJobRunsPaginator"; +export * from "./commands/ListJobsCommand"; +export * from "./pagination/ListJobsPaginator"; +export * from "./commands/ListProjectsCommand"; +export * from "./pagination/ListProjectsPaginator"; +export * from "./commands/ListRecipesCommand"; +export * from "./pagination/ListRecipesPaginator"; +export * from "./commands/ListRecipeVersionsCommand"; +export * from "./pagination/ListRecipeVersionsPaginator"; +export * from "./commands/ListSchedulesCommand"; +export * from "./pagination/ListSchedulesPaginator"; +export * from "./commands/ListTagsForResourceCommand"; +export * from "./commands/PublishRecipeCommand"; +export * from "./commands/SendProjectSessionActionCommand"; +export * from "./commands/StartJobRunCommand"; +export * from "./commands/StartProjectSessionCommand"; +export * from "./commands/StopJobRunCommand"; +export * from "./commands/TagResourceCommand"; +export * from "./commands/UntagResourceCommand"; +export * from "./commands/UpdateDatasetCommand"; +export * from "./commands/UpdateProfileJobCommand"; +export * from "./commands/UpdateProjectCommand"; +export * from "./commands/UpdateRecipeCommand"; +export * from "./commands/UpdateRecipeJobCommand"; +export * from "./commands/UpdateScheduleCommand"; +export * from "./pagination/Interfaces"; +export * from "./models/index"; diff --git a/clients/client-databrew/models/index.ts b/clients/client-databrew/models/index.ts new file mode 100644 index 000000000000..09c5d6e09b8c --- /dev/null +++ b/clients/client-databrew/models/index.ts @@ -0,0 +1 @@ +export * from "./models_0"; diff --git a/clients/client-databrew/models/models_0.ts b/clients/client-databrew/models/models_0.ts new file mode 100644 index 000000000000..2c8227ef1553 --- /dev/null +++ b/clients/client-databrew/models/models_0.ts @@ -0,0 +1,2941 @@ +import { SENSITIVE_STRING, SmithyException as __SmithyException } from "@aws-sdk/smithy-client"; +import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; + +/** + *

      Access to the specified resource was denied.

      + */ +export interface AccessDeniedException extends __SmithyException, $MetadataBearer { + name: "AccessDeniedException"; + $fault: "client"; + Message?: string; +} + +export namespace AccessDeniedException { + export const filterSensitiveLog = (obj: AccessDeniedException): any => ({ + ...obj, + }); +} + +export interface BatchDeleteRecipeVersionRequest { + /** + *

      The name of the recipe to be modified.

      + */ + Name: string | undefined; + + /** + *

      An array of version identifiers to be deleted.

      + */ + RecipeVersions: string[] | undefined; +} + +export namespace BatchDeleteRecipeVersionRequest { + export const filterSensitiveLog = (obj: BatchDeleteRecipeVersionRequest): any => ({ + ...obj, + }); +} + +/** + *

      Represents any errors encountered when attempting to delete multiple recipe versions.

      + */ +export interface RecipeVersionErrorDetail { + /** + *

      The HTTP status code for the error.

      + */ + ErrorCode?: string; + + /** + *

      The text of the error message.

      + */ + ErrorMessage?: string; + + /** + *

      The identifier for the recipe version associated with this error.

      + */ + RecipeVersion?: string; +} + +export namespace RecipeVersionErrorDetail { + export const filterSensitiveLog = (obj: RecipeVersionErrorDetail): any => ({ + ...obj, + }); +} + +export interface BatchDeleteRecipeVersionResponse { + /** + *

      The name of the recipe that was modified.

      + */ + Name: string | undefined; + + /** + *

      Errors, if any, that were encountered when deleting the recipe versions.

      + */ + Errors?: RecipeVersionErrorDetail[]; +} + +export namespace BatchDeleteRecipeVersionResponse { + export const filterSensitiveLog = (obj: BatchDeleteRecipeVersionResponse): any => ({ + ...obj, + }); +} + +/** + *

      Updating or deleting a resource can cause an inconsistent state.

      + */ +export interface ConflictException extends __SmithyException, $MetadataBearer { + name: "ConflictException"; + $fault: "client"; + Message?: string; +} + +export namespace ConflictException { + export const filterSensitiveLog = (obj: ConflictException): any => ({ + ...obj, + }); +} + +/** + *

      One or more resources can't be found.

      + */ +export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { + name: "ResourceNotFoundException"; + $fault: "client"; + Message?: string; +} + +export namespace ResourceNotFoundException { + export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({ + ...obj, + }); +} + +/** + *

      The input parameters for this request failed validation.

      + */ +export interface ValidationException extends __SmithyException, $MetadataBearer { + name: "ValidationException"; + $fault: "client"; + Message?: string; +} + +export namespace ValidationException { + export const filterSensitiveLog = (obj: ValidationException): any => ({ + ...obj, + }); +} + +/** + *

      Options that define how DataBrew will interpret a Microsoft Excel file, when creating a + * dataset from that file.

      + */ +export interface ExcelOptions { + /** + *

      Specifies one or more named sheets in the Excel file, which will be included in the dataset.

      + */ + SheetNames?: string[]; + + /** + *

      Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.

      + */ + SheetIndexes?: number[]; +} + +export namespace ExcelOptions { + export const filterSensitiveLog = (obj: ExcelOptions): any => ({ + ...obj, + }); +} + +/** + *

      Represents the JSON-specific options that define how input is to be interpreted by AWS + * Glue DataBrew.

      + */ +export interface JsonOptions { + /** + *

      A value that specifies whether JSON input contains embedded new line + * characters.

      + */ + MultiLine?: boolean; +} + +export namespace JsonOptions { + export const filterSensitiveLog = (obj: JsonOptions): any => ({ + ...obj, + }); +} + +/** + *

      Options that define how Microsoft Excel input is to be interpreted by DataBrew.

      + */ +export interface FormatOptions { + /** + *

      Options that define how JSON input is to be interpreted by DataBrew.

      + */ + Json?: JsonOptions; + + /** + *

      Options that define how Excel input is to be interpreted by DataBrew.

      + */ + Excel?: ExcelOptions; +} + +export namespace FormatOptions { + export const filterSensitiveLog = (obj: FormatOptions): any => ({ + ...obj, + }); +} + +/** + *

      An Amazon S3 location (bucket name an object key) where DataBrew can read input data, or write output from a job.

      + */ +export interface S3Location { + /** + *

      The S3 bucket name.

      + */ + Bucket: string | undefined; + + /** + *

      The unique name of the object in the bucket.

      + */ + Key?: string; +} + +export namespace S3Location { + export const filterSensitiveLog = (obj: S3Location): any => ({ + ...obj, + }); +} + +/** + *

      Represents how metadata stored in the AWS Glue Data Catalog is defined in an AWS Glue + * DataBrew dataset.

      + */ +export interface DataCatalogInputDefinition { + /** + *

      The unique identifier of the AWS account that holds the Data Catalog that stores the + * data.

      + */ + CatalogId?: string; + + /** + *

      The name of a database in the Data Catalog.

      + */ + DatabaseName: string | undefined; + + /** + *

      The name of a database table in the Data Catalog. This table corresponds to a DataBrew + * dataset.

      + */ + TableName: string | undefined; + + /** + *

      An Amazon location that AWS Glue Data Catalog can use as a temporary directory.

      + */ + TempDirectory?: S3Location; +} + +export namespace DataCatalogInputDefinition { + export const filterSensitiveLog = (obj: DataCatalogInputDefinition): any => ({ + ...obj, + }); +} + +/** + *

      Information on how AWS Glue DataBrew can find data, in either the AWS Glue Data + * Catalog or Amazon S3.

      + */ +export interface Input { + /** + *

      The Amazon S3 location where the data is stored.

      + */ + S3InputDefinition?: S3Location; + + /** + *

      The AWS Glue Data Catalog parameters for the data.

      + */ + DataCatalogInputDefinition?: DataCatalogInputDefinition; +} + +export namespace Input { + export const filterSensitiveLog = (obj: Input): any => ({ + ...obj, + }); +} + +export interface CreateDatasetRequest { + /** + *

      The name of the dataset to be created.

      + */ + Name: string | undefined; + + /** + *

      Options that define how Microsoft Excel input is to be interpreted by DataBrew.

      + */ + FormatOptions?: FormatOptions; + + /** + *

      Information on how AWS Glue DataBrew can find data, in either the AWS Glue Data + * Catalog or Amazon S3.

      + */ + Input: Input | undefined; + + /** + *

      Metadata tags to apply to this dataset.

      + */ + Tags?: { [key: string]: string }; +} + +export namespace CreateDatasetRequest { + export const filterSensitiveLog = (obj: CreateDatasetRequest): any => ({ + ...obj, + }); +} + +export interface CreateDatasetResponse { + /** + *

      The name of the dataset that you created.

      + */ + Name: string | undefined; +} + +export namespace CreateDatasetResponse { + export const filterSensitiveLog = (obj: CreateDatasetResponse): any => ({ + ...obj, + }); +} + +/** + *

      A service quota is exceeded.

      + */ +export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer { + name: "ServiceQuotaExceededException"; + $fault: "client"; + Message?: string; +} + +export namespace ServiceQuotaExceededException { + export const filterSensitiveLog = (obj: ServiceQuotaExceededException): any => ({ + ...obj, + }); +} + +export enum EncryptionMode { + SSEKMS = "SSE-KMS", + SSES3 = "SSE-S3", +} + +export enum LogSubscription { + DISABLE = "DISABLE", + ENABLE = "ENABLE", +} + +export interface CreateProfileJobRequest { + /** + *

      The name of the dataset that this job is to act upon.

      + */ + DatasetName: string | undefined; + + /** + *

      The Amazon Resource Name (ARN) of an encryption key that is used to + * protect the job.

      + */ + EncryptionKeyArn?: string; + + /** + *

      The encryption mode for the job, which can be one of the following:

      + *
        + *
      • + *

        + * SSE-KMS - para>SSE-KMS - server-side encryption with AWS KMS-managed keys.

        + *
      • + *
      • + *

        + * SSE-S3 - Server-side encryption with keys managed by Amazon + * S3.

        + *
      • + *
      + */ + EncryptionMode?: EncryptionMode | string; + + /** + *

      The name of the job to be created.

      + */ + Name: string | undefined; + + /** + *

      A value that enables or disables Amazon CloudWatch logging for the current AWS + * account. If logging is enabled, CloudWatch writes one log stream for each job + * run.

      + */ + LogSubscription?: LogSubscription | string; + + /** + *

      The maximum number of nodes that DataBrew can use when the job processes data.

      + */ + MaxCapacity?: number; + + /** + *

      The maximum number of times to retry the job after a job run fails.

      + */ + MaxRetries?: number; + + /** + *

      An Amazon S3 location (bucket name an object key) where DataBrew can read input data, or write output from a job.

      + */ + OutputLocation: S3Location | undefined; + + /** + *

      The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to + * be assumed for this request.

      + */ + RoleArn: string | undefined; + + /** + *

      Metadata tags to apply to this job.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The job's timeout in minutes. A job that attempts to run longer than this timeout + * period ends with a status of TIMEOUT.

      + */ + Timeout?: number; +} + +export namespace CreateProfileJobRequest { + export const filterSensitiveLog = (obj: CreateProfileJobRequest): any => ({ + ...obj, + }); +} + +export interface CreateProfileJobResponse { + /** + *

      The name of the job that was created.

      + */ + Name: string | undefined; +} + +export namespace CreateProfileJobResponse { + export const filterSensitiveLog = (obj: CreateProfileJobResponse): any => ({ + ...obj, + }); +} + +export enum SampleType { + FIRST_N = "FIRST_N", + LAST_N = "LAST_N", + RANDOM = "RANDOM", +} + +/** + *

      Represents the sample size and sampling type for AWS Glue DataBrew to use for + * interactive data analysis.

      + */ +export interface Sample { + /** + *

      The number of rows in the sample.

      + */ + Size?: number; + + /** + *

      The way in which DataBrew obtains rows from a dataset.

      + */ + Type: SampleType | string | undefined; +} + +export namespace Sample { + export const filterSensitiveLog = (obj: Sample): any => ({ + ...obj, + }); +} + +export interface CreateProjectRequest { + /** + *

      The name of the dataset to associate this project with.

      + */ + DatasetName: string | undefined; + + /** + *

      A unique name for the new project.

      + */ + Name: string | undefined; + + /** + *

      The name of an existing recipe to associate with the project.

      + */ + RecipeName: string | undefined; + + /** + *

      Represents the sample size and sampling type for AWS Glue DataBrew to use for + * interactive data analysis.

      + */ + Sample?: Sample; + + /** + *

      The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to + * be assumed for this request.

      + */ + RoleArn: string | undefined; + + /** + *

      Metadata tags to apply to this project.

      + */ + Tags?: { [key: string]: string }; +} + +export namespace CreateProjectRequest { + export const filterSensitiveLog = (obj: CreateProjectRequest): any => ({ + ...obj, + }); +} + +export interface CreateProjectResponse { + /** + *

      The name of the project that you created.

      + */ + Name: string | undefined; +} + +export namespace CreateProjectResponse { + export const filterSensitiveLog = (obj: CreateProjectResponse): any => ({ + ...obj, + }); +} + +/** + *

      An internal service failure occurred.

      + */ +export interface InternalServerException extends __SmithyException, $MetadataBearer { + name: "InternalServerException"; + $fault: "server"; + Message?: string; +} + +export namespace InternalServerException { + export const filterSensitiveLog = (obj: InternalServerException): any => ({ + ...obj, + }); +} + +/** + *

      Represents a transformation and associated parameters that are used to apply a change + * to an AWS Glue DataBrew dataset. For more information, see Recipe structure and ecipe + * actions reference .

      + */ +export interface RecipeAction { + /** + *

      The name of a valid DataBrew transformation to be performed on the data.

      + */ + Operation: string | undefined; + + /** + *

      Contextual parameters for the transformation.

      + */ + Parameters?: { [key: string]: string }; +} + +export namespace RecipeAction { + export const filterSensitiveLog = (obj: RecipeAction): any => ({ + ...obj, + }); +} + +/** + *

      Represents an individual condition that evaluates to true or false.

      + *

      Conditions are used with recipe actions: The action is only performed for column + * values where the condition evaluates to true.

      + *

      If a recipe requires more than one condition, then the recipe must specify multiple + * ConditionExpression elements. Each condition is applied to the rows in + * a dataset first, before the recipe action is performed.

      + */ +export interface ConditionExpression { + /** + *

      A specific condition to apply to a recipe action. For more information, see Recipe + * structure in the AWS Glue DataBrew Developer + * Guide.

      + */ + Condition: string | undefined; + + /** + *

      A value that the condition must evaluate to for the condition to succeed.

      + */ + Value?: string; + + /** + *

      A column to apply this condition to, within an AWS Glue DataBrew dataset.

      + */ + TargetColumn: string | undefined; +} + +export namespace ConditionExpression { + export const filterSensitiveLog = (obj: ConditionExpression): any => ({ + ...obj, + }); +} + +/** + *

      Represents a single step to be performed in an AWS Glue DataBrew recipe.

      + */ +export interface RecipeStep { + /** + *

      The particular action to be performed in the recipe step.

      + */ + Action: RecipeAction | undefined; + + /** + *

      One or more conditions that must be met, in order for the recipe step to succeed.

      + * + *

      All of the conditions in the array must be met. In other words, all of the + * conditions must be combined using a logical AND operation.

      + *
      + */ + ConditionExpressions?: ConditionExpression[]; +} + +export namespace RecipeStep { + export const filterSensitiveLog = (obj: RecipeStep): any => ({ + ...obj, + }); +} + +export interface CreateRecipeRequest { + /** + *

      A description for the recipe.

      + */ + Description?: string; + + /** + *

      A unique name for the recipe.

      + */ + Name: string | undefined; + + /** + *

      An array containing the steps to be performed by the recipe. Each recipe step consists of one + * recipe action and (optionally) an array of condition expressions.

      + */ + Steps: RecipeStep[] | undefined; + + /** + *

      Metadata tags to apply to this recipe.

      + */ + Tags?: { [key: string]: string }; +} + +export namespace CreateRecipeRequest { + export const filterSensitiveLog = (obj: CreateRecipeRequest): any => ({ + ...obj, + }); +} + +export interface CreateRecipeResponse { + /** + *

      The name of the recipe that you created.

      + */ + Name: string | undefined; +} + +export namespace CreateRecipeResponse { + export const filterSensitiveLog = (obj: CreateRecipeResponse): any => ({ + ...obj, + }); +} + +export enum CompressionFormat { + BROTLI = "BROTLI", + BZIP2 = "BZIP2", + DEFLATE = "DEFLATE", + GZIP = "GZIP", + LZ4 = "LZ4", + LZO = "LZO", + SNAPPY = "SNAPPY", + ZLIB = "ZLIB", + ZSTD = "ZSTD", +} + +export enum OutputFormat { + AVRO = "AVRO", + CSV = "CSV", + GLUEPARQUET = "GLUEPARQUET", + JSON = "JSON", + ORC = "ORC", + PARQUET = "PARQUET", + XML = "XML", +} + +/** + *

      Represents individual output from a particular job run.

      + */ +export interface Output { + /** + *

      The compression algorithm used to compress the output text of the job.

      + */ + CompressionFormat?: CompressionFormat | string; + + /** + *

      The data format of the output of the job.

      + */ + Format?: OutputFormat | string; + + /** + *

      The names of one or more partition columns for the output of the job.

      + */ + PartitionColumns?: string[]; + + /** + *

      The location in Amazon S3 where the job writes its output.

      + */ + Location: S3Location | undefined; + + /** + *

      A value that, if true, means that any data in the location specified for output is + * overwritten with new output.

      + */ + Overwrite?: boolean; +} + +export namespace Output { + export const filterSensitiveLog = (obj: Output): any => ({ + ...obj, + }); +} + +/** + *

      Represents all of the attributes of an AWS Glue DataBrew recipe.

      + */ +export interface RecipeReference { + /** + *

      The name of the recipe.

      + */ + Name: string | undefined; + + /** + *

      The identifier for the version for the recipe.

      + */ + RecipeVersion?: string; +} + +export namespace RecipeReference { + export const filterSensitiveLog = (obj: RecipeReference): any => ({ + ...obj, + }); +} + +export interface CreateRecipeJobRequest { + /** + *

      The name of the dataset that this job processes.

      + */ + DatasetName?: string; + + /** + *

      The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

      + */ + EncryptionKeyArn?: string; + + /** + *

      The encryption mode for the job, which can be one of the following:

      + *
        + *
      • + *

        + * SSE-KMS - Server-side encryption with AWS KMS-managed keys.

        + *
      • + *
      • + *

        + * SSE-S3 - Server-side encryption with keys managed by Amazon S3.

        + *
      • + *
      + */ + EncryptionMode?: EncryptionMode | string; + + /** + *

      A unique name for the job.

      + */ + Name: string | undefined; + + /** + *

      A value that enables or disables Amazon CloudWatch logging for the current AWS + * account. If logging is enabled, CloudWatch writes one log stream for each job + * run.

      + */ + LogSubscription?: LogSubscription | string; + + /** + *

      The maximum number of nodes that DataBrew can consume when the job processes + * data.

      + */ + MaxCapacity?: number; + + /** + *

      The maximum number of times to retry the job after a job run fails.

      + */ + MaxRetries?: number; + + /** + *

      One or more artifacts that represent the output from running the job.

      + */ + Outputs: Output[] | undefined; + + /** + *

      Either the name of an existing project, or a combination of a recipe and a dataset to + * associate with the recipe.

      + */ + ProjectName?: string; + + /** + *

      Represents all of the attributes of an AWS Glue DataBrew recipe.

      + */ + RecipeReference?: RecipeReference; + + /** + *

      The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to + * be assumed for this request.

      + */ + RoleArn: string | undefined; + + /** + *

      Metadata tags to apply to this job dataset.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The job's timeout in minutes. A job that attempts to run longer than this timeout + * period ends with a status of TIMEOUT.

      + */ + Timeout?: number; +} + +export namespace CreateRecipeJobRequest { + export const filterSensitiveLog = (obj: CreateRecipeJobRequest): any => ({ + ...obj, + }); +} + +export interface CreateRecipeJobResponse { + /** + *

      The name of the job that you created.

      + */ + Name: string | undefined; +} + +export namespace CreateRecipeJobResponse { + export const filterSensitiveLog = (obj: CreateRecipeJobResponse): any => ({ + ...obj, + }); +} + +export interface CreateScheduleRequest { + /** + *

      The name or names of one or more jobs to be run.

      + */ + JobNames?: string[]; + + /** + *

      The date or dates and time or times, in cron format, when the jobs are to + * be run.

      + */ + CronExpression: string | undefined; + + /** + *

      Metadata tags to apply to this schedule.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      A unique name for the schedule.

      + */ + Name: string | undefined; +} + +export namespace CreateScheduleRequest { + export const filterSensitiveLog = (obj: CreateScheduleRequest): any => ({ + ...obj, + }); +} + +export interface CreateScheduleResponse { + /** + *

      The name of the schedule that was created.

      + */ + Name: string | undefined; +} + +export namespace CreateScheduleResponse { + export const filterSensitiveLog = (obj: CreateScheduleResponse): any => ({ + ...obj, + }); +} + +export interface DeleteDatasetRequest { + /** + *

      The name of the dataset to be deleted.

      + */ + Name: string | undefined; +} + +export namespace DeleteDatasetRequest { + export const filterSensitiveLog = (obj: DeleteDatasetRequest): any => ({ + ...obj, + }); +} + +export interface DeleteDatasetResponse { + /** + *

      The name of the dataset that you deleted.

      + */ + Name: string | undefined; +} + +export namespace DeleteDatasetResponse { + export const filterSensitiveLog = (obj: DeleteDatasetResponse): any => ({ + ...obj, + }); +} + +export interface DeleteJobRequest { + /** + *

      The name of the job to be deleted.

      + */ + Name: string | undefined; +} + +export namespace DeleteJobRequest { + export const filterSensitiveLog = (obj: DeleteJobRequest): any => ({ + ...obj, + }); +} + +export interface DeleteJobResponse { + /** + *

      The name of the job that you deleted.

      + */ + Name: string | undefined; +} + +export namespace DeleteJobResponse { + export const filterSensitiveLog = (obj: DeleteJobResponse): any => ({ + ...obj, + }); +} + +export interface DeleteProjectRequest { + /** + *

      The name of the project to be deleted.

      + */ + Name: string | undefined; +} + +export namespace DeleteProjectRequest { + export const filterSensitiveLog = (obj: DeleteProjectRequest): any => ({ + ...obj, + }); +} + +export interface DeleteProjectResponse { + /** + *

      The name of the project that you deleted.

      + */ + Name: string | undefined; +} + +export namespace DeleteProjectResponse { + export const filterSensitiveLog = (obj: DeleteProjectResponse): any => ({ + ...obj, + }); +} + +export interface DeleteRecipeVersionRequest { + /** + *

      The name of the recipe to be deleted.

      + */ + Name: string | undefined; + + /** + *

      The version of the recipe to be deleted.

      + */ + RecipeVersion: string | undefined; +} + +export namespace DeleteRecipeVersionRequest { + export const filterSensitiveLog = (obj: DeleteRecipeVersionRequest): any => ({ + ...obj, + }); +} + +export interface DeleteRecipeVersionResponse { + /** + *

      The name of the recipe that was deleted.

      + */ + Name: string | undefined; + + /** + *

      The version of the recipe that was deleted.

      + */ + RecipeVersion: string | undefined; +} + +export namespace DeleteRecipeVersionResponse { + export const filterSensitiveLog = (obj: DeleteRecipeVersionResponse): any => ({ + ...obj, + }); +} + +export interface DeleteScheduleRequest { + /** + *

      The name of the schedule to be deleted.

      + */ + Name: string | undefined; +} + +export namespace DeleteScheduleRequest { + export const filterSensitiveLog = (obj: DeleteScheduleRequest): any => ({ + ...obj, + }); +} + +export interface DeleteScheduleResponse { + /** + *

      The name of the schedule that was deleted.

      + */ + Name: string | undefined; +} + +export namespace DeleteScheduleResponse { + export const filterSensitiveLog = (obj: DeleteScheduleResponse): any => ({ + ...obj, + }); +} + +export interface DescribeDatasetRequest { + /** + *

      The name of the dataset to be described.

      + */ + Name: string | undefined; +} + +export namespace DescribeDatasetRequest { + export const filterSensitiveLog = (obj: DescribeDatasetRequest): any => ({ + ...obj, + }); +} + +export enum Source { + DATACATALOG = "DATA-CATALOG", + S3 = "S3", +} + +export interface DescribeDatasetResponse { + /** + *

      The identifier (user name) of the user who created the dataset.

      + */ + CreatedBy?: string; + + /** + *

      The date and time that the dataset was created.

      + */ + CreateDate?: Date; + + /** + *

      The name of the dataset.

      + */ + Name: string | undefined; + + /** + *

      Options that define how Microsoft Excel input is to be interpreted by DataBrew.

      + */ + FormatOptions?: FormatOptions; + + /** + *

      Information on how AWS Glue DataBrew can find data, in either the AWS Glue Data + * Catalog or Amazon S3.

      + */ + Input: Input | undefined; + + /** + *

      The date and time that the dataset was last modified.

      + */ + LastModifiedDate?: Date; + + /** + *

      The identifier (user name) of the user who last modified the dataset.

      + */ + LastModifiedBy?: string; + + /** + *

      The location of the data for this dataset, Amazon S3 or the AWS Glue Data + * Catalog.

      + */ + Source?: Source | string; + + /** + *

      Metadata tags associated with this dataset.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The Amazon Resource Name (ARN) of the dataset.

      + */ + ResourceArn?: string; +} + +export namespace DescribeDatasetResponse { + export const filterSensitiveLog = (obj: DescribeDatasetResponse): any => ({ + ...obj, + }); +} + +export interface DescribeJobRequest { + /** + *

      The name of the job to be described.

      + */ + Name: string | undefined; +} + +export namespace DescribeJobRequest { + export const filterSensitiveLog = (obj: DescribeJobRequest): any => ({ + ...obj, + }); +} + +export enum JobType { + PROFILE = "PROFILE", + RECIPE = "RECIPE", +} + +export interface DescribeJobResponse { + /** + *

      The date and time that the job was created.

      + */ + CreateDate?: Date; + + /** + *

      The identifier (user name) of the user associated with the creation of the job.

      + */ + CreatedBy?: string; + + /** + *

      The dataset that the job acts upon.

      + */ + DatasetName?: string; + + /** + *

      The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

      + */ + EncryptionKeyArn?: string; + + /** + *

      The encryption mode for the job, which can be one of the following:

      + *
        + *
      • + *

        + * SSE-KMS - Server-side encryption with AWS KMS-managed keys.

        + *
      • + *
      • + *

        + * SSE-S3 - Server-side encryption with keys managed by Amazon S3.

        + *
      • + *
      + */ + EncryptionMode?: EncryptionMode | string; + + /** + *

      The name of the job.

      + */ + Name: string | undefined; + + /** + *

      The job type, which must be one of the following:

      + *
        + *
      • + *

        + * PROFILE - The job analyzes the dataset to determine its size, + * data types, data distribution, and more.

        + *
      • + *
      • + *

        + * RECIPE - The job applies one or more transformations to a + * dataset.

        + *
      • + *
      + */ + Type?: JobType | string; + + /** + *

      The identifier (user name) of the user who last modified the job.

      + */ + LastModifiedBy?: string; + + /** + *

      The date and time that the job was last modified.

      + */ + LastModifiedDate?: Date; + + /** + *

      A value that indicates whether Amazon CloudWatch logging is enabled for this job.

      + */ + LogSubscription?: LogSubscription | string; + + /** + *

      The maximum number of nodes that AWS Glue DataBrew can consume when the job processes + * data.

      + */ + MaxCapacity?: number; + + /** + *

      The maximum number of times to retry the job after a job run fails.

      + */ + MaxRetries?: number; + + /** + *

      One or more artifacts that represent the output from running the job.

      + */ + Outputs?: Output[]; + + /** + *

      The DataBrew project associated with this job.

      + */ + ProjectName?: string; + + /** + *

      Represents all of the attributes of an AWS Glue DataBrew recipe.

      + */ + RecipeReference?: RecipeReference; + + /** + *

      The Amazon Resource Name (ARN) of the job.

      + */ + ResourceArn?: string; + + /** + *

      The ARN of the AWS Identity and Access Management (IAM) role that was assumed for this + * request.

      + */ + RoleArn?: string; + + /** + *

      Metadata tags associated with this job.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The job's timeout in minutes. A job that attempts to run longer than this timeout + * period ends with a status of TIMEOUT.

      + */ + Timeout?: number; +} + +export namespace DescribeJobResponse { + export const filterSensitiveLog = (obj: DescribeJobResponse): any => ({ + ...obj, + }); +} + +export interface DescribeProjectRequest { + /** + *

      The name of the project to be described.

      + */ + Name: string | undefined; +} + +export namespace DescribeProjectRequest { + export const filterSensitiveLog = (obj: DescribeProjectRequest): any => ({ + ...obj, + }); +} + +export enum SessionStatus { + ASSIGNED = "ASSIGNED", + FAILED = "FAILED", + INITIALIZING = "INITIALIZING", + PROVISIONING = "PROVISIONING", + READY = "READY", + RECYCLING = "RECYCLING", + ROTATING = "ROTATING", + TERMINATED = "TERMINATED", + TERMINATING = "TERMINATING", + UPDATING = "UPDATING", +} + +export interface DescribeProjectResponse { + /** + *

      The date and time that the project was created.

      + */ + CreateDate?: Date; + + /** + *

      The identifier (user name) of the user who created the project.

      + */ + CreatedBy?: string; + + /** + *

      The dataset associated with the project.

      + */ + DatasetName?: string; + + /** + *

      The date and time that the project was last modified.

      + */ + LastModifiedDate?: Date; + + /** + *

      The identifier (user name) of the user who last modified the project.

      + */ + LastModifiedBy?: string; + + /** + *

      The name of the project.

      + */ + Name: string | undefined; + + /** + *

      The recipe associated with this job.

      + */ + RecipeName?: string; + + /** + *

      The Amazon Resource Name (ARN) of the project.

      + */ + ResourceArn?: string; + + /** + *

      Represents the sample size and sampling type for AWS Glue DataBrew to use for + * interactive data analysis.

      + */ + Sample?: Sample; + + /** + *

      The ARN of the AWS Identity and Access Management (IAM) role that was assumed for this + * request.

      + */ + RoleArn?: string; + + /** + *

      Metadata tags associated with this project.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      Describes the current state of the session:

      + *
        + *
      • + *

        + * PROVISIONING - allocating resources for the session.

        + *
      • + *
      • + *

        + * INITIALIZING - getting the session ready for first use.

        + *
      • + *
      • + *

        + * ASSIGNED - the session is ready for use.

        + *
      • + *
      + */ + SessionStatus?: SessionStatus | string; + + /** + *

      The identifier (user name) of the user that opened the project for use.

      + */ + OpenedBy?: string; + + /** + *

      The date and time when the project was opened.

      + */ + OpenDate?: Date; +} + +export namespace DescribeProjectResponse { + export const filterSensitiveLog = (obj: DescribeProjectResponse): any => ({ + ...obj, + }); +} + +export interface DescribeRecipeRequest { + /** + *

      The name of the recipe to be described.

      + */ + Name: string | undefined; + + /** + *

      The recipe version identifier. If this parameter isn't specified, then the latest + * published version is returned.

      + */ + RecipeVersion?: string; +} + +export namespace DescribeRecipeRequest { + export const filterSensitiveLog = (obj: DescribeRecipeRequest): any => ({ + ...obj, + }); +} + +export interface DescribeRecipeResponse { + /** + *

      The identifier (user name) of the user who created the recipe.

      + */ + CreatedBy?: string; + + /** + *

      The date and time that the recipe was created.

      + */ + CreateDate?: Date; + + /** + *

      The identifier (user name) of the user who last modified the recipe.

      + */ + LastModifiedBy?: string; + + /** + *

      The date and time that the recipe was last modified.

      + */ + LastModifiedDate?: Date; + + /** + *

      The name of the project associated with this recipe.

      + */ + ProjectName?: string; + + /** + *

      The identifier (user name) of the user who last published the recipe.

      + */ + PublishedBy?: string; + + /** + *

      The date and time when the recipe was last published.

      + */ + PublishedDate?: Date; + + /** + *

      The description of the recipe.

      + */ + Description?: string; + + /** + *

      The name of the recipe.

      + */ + Name: string | undefined; + + /** + *

      One or more steps to be performed by the recipe. Each step consists of an action, and + * the conditions under which the action should succeed.

      + */ + Steps?: RecipeStep[]; + + /** + *

      Metadata tags associated with this project.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The ARN of the recipe.

      + */ + ResourceArn?: string; + + /** + *

      The recipe version identifier.

      + */ + RecipeVersion?: string; +} + +export namespace DescribeRecipeResponse { + export const filterSensitiveLog = (obj: DescribeRecipeResponse): any => ({ + ...obj, + }); +} + +export interface DescribeScheduleRequest { + /** + *

      The name of the schedule to be described.

      + */ + Name: string | undefined; +} + +export namespace DescribeScheduleRequest { + export const filterSensitiveLog = (obj: DescribeScheduleRequest): any => ({ + ...obj, + }); +} + +export interface DescribeScheduleResponse { + /** + *

      The date and time that the schedule was created.

      + */ + CreateDate?: Date; + + /** + *

      The identifier (user name) of the user who created the schedule.

      + */ + CreatedBy?: string; + + /** + *

      The name or names of one or more jobs to be run by using the schedule.

      + */ + JobNames?: string[]; + + /** + *

      The identifier (user name) of the user who last modified the schedule.

      + */ + LastModifiedBy?: string; + + /** + *

      The date and time that the schedule was last modified.

      + */ + LastModifiedDate?: Date; + + /** + *

      The Amazon Resource Name (ARN) of the schedule.

      + */ + ResourceArn?: string; + + /** + *

      The date or dates and time or times, in cron format, when the jobs are to + * be run for the schedule.

      + */ + CronExpression?: string; + + /** + *

      Metadata tags associated with this schedule.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The name of the schedule.

      + */ + Name: string | undefined; +} + +export namespace DescribeScheduleResponse { + export const filterSensitiveLog = (obj: DescribeScheduleResponse): any => ({ + ...obj, + }); +} + +export interface ListDatasetsRequest { + /** + *

      The maximum number of results to return in this request.

      + */ + MaxResults?: number; + + /** + *

      A token generated by DataBrew that specifies where to continue pagination if a + * previous request was truncated. To get the next set of pages, pass in the NextToken + * value from the response object of the previous page call.

      + */ + NextToken?: string; +} + +export namespace ListDatasetsRequest { + export const filterSensitiveLog = (obj: ListDatasetsRequest): any => ({ + ...obj, + }); +} + +/** + *

      Represents a dataset that can be processed by AWS Glue DataBrew.

      + */ +export interface Dataset { + /** + *

      The ID of the AWS account that owns the dataset.

      + */ + AccountId?: string; + + /** + *

      The identifier (the user name) of the user who created the dataset.

      + */ + CreatedBy?: string; + + /** + *

      The date and time that the dataset was created.

      + */ + CreateDate?: Date; + + /** + *

      The unique name of the dataset.

      + */ + Name: string | undefined; + + /** + *

      Options that define how DataBrew interprets the data in the dataset.

      + */ + FormatOptions?: FormatOptions; + + /** + *

      Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog + * or Amazon S3.

      + */ + Input: Input | undefined; + + /** + *

      The last modification date and time of the dataset.

      + */ + LastModifiedDate?: Date; + + /** + *

      The identifier (the user name) of the user who last modified the dataset.

      + */ + LastModifiedBy?: string; + + /** + *

      The location of the data for the dataset, either Amazon S3 or the AWS Glue Data + * Catalog.

      + */ + Source?: Source | string; + + /** + *

      Metadata tags that have been applied to the dataset.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The unique Amazon Resource Name (ARN) for the dataset.

      + */ + ResourceArn?: string; +} + +export namespace Dataset { + export const filterSensitiveLog = (obj: Dataset): any => ({ + ...obj, + }); +} + +export interface ListDatasetsResponse { + /** + *

      A list of datasets that are defined in the current AWS account.

      + */ + Datasets: Dataset[] | undefined; + + /** + *

      A token generated by DataBrew that specifies where to continue pagination if a previous + * request was truncated. To obtain the next set of pages, pass in the NextToken from the + * response object of the previous page call.

      + */ + NextToken?: string; +} + +export namespace ListDatasetsResponse { + export const filterSensitiveLog = (obj: ListDatasetsResponse): any => ({ + ...obj, + }); +} + +export interface ListJobRunsRequest { + /** + *

      The name of the job.

      + */ + Name: string | undefined; + + /** + *

      The maximum number of results to return in this request.

      + */ + MaxResults?: number; + + /** + *

      A token generated by AWS Glue DataBrew that specifies where to continue pagination if + * a previous request was truncated. To get the next set of pages, pass in the NextToken + * value from the response object of the previous page call.

      + */ + NextToken?: string; +} + +export namespace ListJobRunsRequest { + export const filterSensitiveLog = (obj: ListJobRunsRequest): any => ({ + ...obj, + }); +} + +export enum JobRunState { + FAILED = "FAILED", + RUNNING = "RUNNING", + STARTING = "STARTING", + STOPPED = "STOPPED", + STOPPING = "STOPPING", + SUCCEEDED = "SUCCEEDED", + TIMEOUT = "TIMEOUT", +} + +/** + *

      Represents one run of an AWS Glue DataBrew job.

      + */ +export interface JobRun { + /** + *

      The number of times that DataBrew has attempted to run the job.

      + */ + Attempt?: number; + + /** + *

      The date and time when the job completed processing.

      + */ + CompletedOn?: Date; + + /** + *

      The name of the dataset for the job to process.

      + */ + DatasetName?: string; + + /** + *

      A message indicating an error (if any) that was encountered when the job ran.

      + */ + ErrorMessage?: string; + + /** + *

      The amount of time, in seconds, during which a job run consumed resources.

      + */ + ExecutionTime?: number; + + /** + *

      The name of the job being processed during this run.

      + */ + JobName?: string; + + /** + *

      The unique identifier of the job run.

      + */ + RunId?: string; + + /** + *

      The current state of the job run entity itself.

      + */ + State?: JobRunState | string; + + /** + *

      The current status of Amazon CloudWatch logging for the job run.

      + */ + LogSubscription?: LogSubscription | string; + + /** + *

      The name of an Amazon CloudWatch log group, where the job writes diagnostic messages + * when it runs.

      + */ + LogGroupName?: string; + + /** + *

      One or more output artifacts from a job run.

      + */ + Outputs?: Output[]; + + /** + *

      The set of steps processed by the job.

      + */ + RecipeReference?: RecipeReference; + + /** + *

      The identifier (the user name) of the user who initiated the job run.

      + */ + StartedBy?: string; + + /** + *

      The date and time when the job run began.

      + */ + StartedOn?: Date; +} + +export namespace JobRun { + export const filterSensitiveLog = (obj: JobRun): any => ({ + ...obj, + }); +} + +export interface ListJobRunsResponse { + /** + *

      A list of job runs that have occurred for the specified job.

      + */ + JobRuns: JobRun[] | undefined; + + /** + *

      A token generated by DataBrew that specifies where to continue pagination if a previous + * request was truncated. To obtain the next set of pages, pass in the NextToken from the + * response object of the previous page call.

      + */ + NextToken?: string; +} + +export namespace ListJobRunsResponse { + export const filterSensitiveLog = (obj: ListJobRunsResponse): any => ({ + ...obj, + }); +} + +export interface ListJobsRequest { + /** + *

      The name of a dataset. Using this parameter indicates to return only those jobs that + * act on the specified dataset.

      + */ + DatasetName?: string; + + /** + *

      The maximum number of results to return in this request.

      + */ + MaxResults?: number; + + /** + *

      A token generated by DataBrew that specifies where to continue pagination if a + * previous request was truncated. To get the next set of pages, pass in the NextToken + * value from the response object of the previous page call.

      + */ + NextToken?: string; + + /** + *

      The name of a project. Using this parameter indicates to return + * only those jobs that are associated with the specified project.

      + */ + ProjectName?: string; +} + +export namespace ListJobsRequest { + export const filterSensitiveLog = (obj: ListJobsRequest): any => ({ + ...obj, + }); +} + +/** + *

      Represents all of the attributes of an AWS Glue DataBrew job.

      + */ +export interface Job { + /** + *

      The ID of the AWS account that owns the job.

      + */ + AccountId?: string; + + /** + *

      The identifier (the user name) of the user who created the job.

      + */ + CreatedBy?: string; + + /** + *

      The date and time that the job was created.

      + */ + CreateDate?: Date; + + /** + *

      A dataset that the job is to process.

      + */ + DatasetName?: string; + + /** + *

      The Amazon Resource Name (ARN) of an encryption key that is used to protect a job.

      + */ + EncryptionKeyArn?: string; + + /** + *

      The encryption mode for the job, which can be one of the following:

      + *
        + *
      • + *

        + * SSE-KMS - Server-side encryption with AWS KMS-managed keys.

        + *
      • + *
      • + *

        + * SSE-S3 - Server-side encryption with keys managed by Amazon + * S3.

        + *
      • + *
      + */ + EncryptionMode?: EncryptionMode | string; + + /** + *

      The unique name of the job.

      + */ + Name: string | undefined; + + /** + *

      The job type of the job, which must be one of the following:

      + *
        + *
      • + *

        + * PROFILE - A job to analyze a dataset, to determine its size, data + * types, data distribution, and more.

        + *
      • + *
      • + *

        + * RECIPE - A job to apply one or more transformations to a + * dataset.

        + *
      • + *
      + */ + Type?: JobType | string; + + /** + *

      The identifier (the user name) of the user who last modified the job.

      + */ + LastModifiedBy?: string; + + /** + *

      The modification date and time of the job.

      + */ + LastModifiedDate?: Date; + + /** + *

      The current status of Amazon CloudWatch logging for the job.

      + */ + LogSubscription?: LogSubscription | string; + + /** + *

      The maximum number of nodes that can be consumed when the job processes data.

      + */ + MaxCapacity?: number; + + /** + *

      The maximum number of times to retry the job after a job run fails.

      + */ + MaxRetries?: number; + + /** + *

      One or more artifacts that represent output from running the job.

      + */ + Outputs?: Output[]; + + /** + *

      The name of the project that the job is associated with.

      + */ + ProjectName?: string; + + /** + *

      A set of steps that the job runs.

      + */ + RecipeReference?: RecipeReference; + + /** + *

      The unique Amazon Resource Name (ARN) for the job.

      + */ + ResourceArn?: string; + + /** + *

      The Amazon Resource Name (ARN) of the role that will be assumed for this job.

      + */ + RoleArn?: string; + + /** + *

      The job's timeout in minutes. A job that attempts to run longer than this timeout + * period ends with a status of TIMEOUT.

      + */ + Timeout?: number; + + /** + *

      Metadata tags that have been applied to the job.

      + */ + Tags?: { [key: string]: string }; +} + +export namespace Job { + export const filterSensitiveLog = (obj: Job): any => ({ + ...obj, + }); +} + +export interface ListJobsResponse { + /** + *

      A list of jobs that are defined in the current AWS account.

      + */ + Jobs: Job[] | undefined; + + /** + *

      A token generated by DataBrew that specifies where to continue pagination if a previous + * request was truncated. To obtain the next set of pages, pass in the NextToken from the + * response object of the previous page call.

      + */ + NextToken?: string; +} + +export namespace ListJobsResponse { + export const filterSensitiveLog = (obj: ListJobsResponse): any => ({ + ...obj, + }); +} + +export interface ListProjectsRequest { + /** + *

      A pagination token that can be used in a subsequent request.

      + */ + NextToken?: string; + + /** + *

      The maximum number of results to return in this request.

      + */ + MaxResults?: number; +} + +export namespace ListProjectsRequest { + export const filterSensitiveLog = (obj: ListProjectsRequest): any => ({ + ...obj, + }); +} + +/** + *

      Represents all of the attributes of an AWS Glue DataBrew project.

      + */ +export interface Project { + /** + *

      The ID of the AWS account that owns the project.

      + */ + AccountId?: string; + + /** + *

      The date and time that the project was created.

      + */ + CreateDate?: Date; + + /** + *

      The identifier (the user name) of the user who crated the + * project.

      + */ + CreatedBy?: string; + + /** + *

      The dataset that the project is to act upon.

      + */ + DatasetName?: string; + + /** + *

      The last modification date and time for the project.

      + */ + LastModifiedDate?: Date; + + /** + *

      The identifier (user name) of the user who last modified the project.

      + */ + LastModifiedBy?: string; + + /** + *

      The unique name of a project.

      + */ + Name: string | undefined; + + /** + *

      The name of a recipe that will be developed during a project session.

      + */ + RecipeName: string | undefined; + + /** + *

      The Amazon Resource Name (ARN) for the project.

      + */ + ResourceArn?: string; + + /** + *

      The sample size and sampling type to apply to the data. If this parameter isn't specified, then the sample will consiste of the first 500 rows from the dataset.

      + */ + Sample?: Sample; + + /** + *

      Metadata tags that have been applied to the project.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The Amazon Resource Name (ARN) of the role that will be assumed for this project.

      + */ + RoleArn?: string; + + /** + *

      The identifier (the user name) of the user that opened the project for use.

      + */ + OpenedBy?: string; + + /** + *

      The date and time when the project was opened.

      + */ + OpenDate?: Date; +} + +export namespace Project { + export const filterSensitiveLog = (obj: Project): any => ({ + ...obj, + }); +} + +export interface ListProjectsResponse { + /** + *

      A list of projects that are defined in the current AWS account.

      + */ + Projects: Project[] | undefined; + + /** + *

      A token generated by DataBrew that specifies where to continue pagination if a + * previous request was truncated. To get the next set of pages, pass in the NextToken + * value from the response object of the previous page call.

      + */ + NextToken?: string; +} + +export namespace ListProjectsResponse { + export const filterSensitiveLog = (obj: ListProjectsResponse): any => ({ + ...obj, + }); +} + +export interface ListRecipesRequest { + /** + *

      The maximum number of results to return in this request.

      + */ + MaxResults?: number; + + /** + *

      A pagination token that can be used in a subsequent request.

      + */ + NextToken?: string; + + /** + *

      A version identifier. Using this parameter indicates to return only those + * recipes that have this version identifier.

      + */ + RecipeVersion?: string; +} + +export namespace ListRecipesRequest { + export const filterSensitiveLog = (obj: ListRecipesRequest): any => ({ + ...obj, + }); +} + +/** + *

      Represents one or more actions to be performed on an AWS Glue DataBrew dataset.

      + */ +export interface Recipe { + /** + *

      The identifier (the user name) of the user who created the recipe.

      + */ + CreatedBy?: string; + + /** + *

      The date and time that the recipe was created.

      + */ + CreateDate?: Date; + + /** + *

      The identifier (user name) of the user who last modified the recipe.

      + */ + LastModifiedBy?: string; + + /** + *

      The last modification date and time of the recipe.

      + */ + LastModifiedDate?: Date; + + /** + *

      The name of the project that the recipe is associated with.

      + */ + ProjectName?: string; + + /** + *

      The identifier (the user name) of the user who published the recipe.

      + */ + PublishedBy?: string; + + /** + *

      The date and time when the recipe was published.

      + */ + PublishedDate?: Date; + + /** + *

      The description of the recipe.

      + */ + Description?: string; + + /** + *

      The unique name for the recipe.

      + */ + Name: string | undefined; + + /** + *

      The Amazon Resource Name (ARN) for the recipe.

      + */ + ResourceArn?: string; + + /** + *

      A list of steps that are defined by the recipe.

      + */ + Steps?: RecipeStep[]; + + /** + *

      Metadata tags that have been applied to the recipe.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The identifier for the version for the recipe.

      + */ + RecipeVersion?: string; +} + +export namespace Recipe { + export const filterSensitiveLog = (obj: Recipe): any => ({ + ...obj, + }); +} + +export interface ListRecipesResponse { + /** + *

      A list of recipes that are defined in the current AWS account.

      + */ + Recipes: Recipe[] | undefined; + + /** + *

      A token generated by DataBrew that specifies where to continue pagination if a + * previous request was truncated. To get the next set of pages, pass in the NextToken + * value from the response object of the previous page call.

      + */ + NextToken?: string; +} + +export namespace ListRecipesResponse { + export const filterSensitiveLog = (obj: ListRecipesResponse): any => ({ + ...obj, + }); +} + +export interface ListRecipeVersionsRequest { + /** + *

      The maximum number of results to return in this request.

      + */ + MaxResults?: number; + + /** + *

      A pagination token that can be used in a subsequent request.

      + */ + NextToken?: string; + + /** + *

      The name of the recipe for which to return version information.

      + */ + Name: string | undefined; +} + +export namespace ListRecipeVersionsRequest { + export const filterSensitiveLog = (obj: ListRecipeVersionsRequest): any => ({ + ...obj, + }); +} + +export interface ListRecipeVersionsResponse { + /** + *

      A token generated by DataBrew that specifies where to continue pagination if a + * previous request was truncated. To get the next set of pages, pass in the NextToken + * value from the response object of the previous page call.

      + */ + NextToken?: string; + + /** + *

      A list of versions for the specified recipe.

      + */ + Recipes: Recipe[] | undefined; +} + +export namespace ListRecipeVersionsResponse { + export const filterSensitiveLog = (obj: ListRecipeVersionsResponse): any => ({ + ...obj, + }); +} + +export interface ListSchedulesRequest { + /** + *

      The name of the job that these schedules apply to.

      + */ + JobName?: string; + + /** + *

      The maximum number of results to return in this request.

      + */ + MaxResults?: number; + + /** + *

      A pagination token that can be used in a subsequent request.

      + */ + NextToken?: string; +} + +export namespace ListSchedulesRequest { + export const filterSensitiveLog = (obj: ListSchedulesRequest): any => ({ + ...obj, + }); +} + +/** + *

      Represents one or more dates and times when a job is to run.

      + */ +export interface Schedule { + /** + *

      The ID of the AWS account that owns the schedule.

      + */ + AccountId?: string; + + /** + *

      The identifier (the user name) of the user who created the schedule.

      + */ + CreatedBy?: string; + + /** + *

      The date and time that the schedule was created.

      + */ + CreateDate?: Date; + + /** + *

      A list of jobs to be run, according to the schedule.

      + */ + JobNames?: string[]; + + /** + *

      The identifier (the user name) of the user who last modified the schedule.

      + */ + LastModifiedBy?: string; + + /** + *

      The date and time when the schedule was last modified.

      + */ + LastModifiedDate?: Date; + + /** + *

      The Amazon Resource Name (ARN) of the schedule.

      + */ + ResourceArn?: string; + + /** + *

      The date(s) and time(s), in cron format, when the job will run.

      + */ + CronExpression?: string; + + /** + *

      Metadata tags that have been applied to the schedule.

      + */ + Tags?: { [key: string]: string }; + + /** + *

      The name of the schedule.

      + */ + Name: string | undefined; +} + +export namespace Schedule { + export const filterSensitiveLog = (obj: Schedule): any => ({ + ...obj, + }); +} + +export interface ListSchedulesResponse { + /** + *

      A list of schedules in the current AWS account.

      + */ + Schedules: Schedule[] | undefined; + + /** + *

      A token generated by DataBrew that specifies where to continue pagination if a + * previous request was truncated. To get the next set of pages, pass in the NextToken + * value from the response object of the previous page call.

      + */ + NextToken?: string; +} + +export namespace ListSchedulesResponse { + export const filterSensitiveLog = (obj: ListSchedulesResponse): any => ({ + ...obj, + }); +} + +export interface ListTagsForResourceRequest { + /** + *

      The Amazon Resource Name (ARN) string that uniquely identifies the DataBrew resource.

      + */ + ResourceArn: string | undefined; +} + +export namespace ListTagsForResourceRequest { + export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({ + ...obj, + }); +} + +export interface ListTagsForResourceResponse { + /** + *

      A list of tags associated with the DataBrew resource.

      + */ + Tags?: { [key: string]: string }; +} + +export namespace ListTagsForResourceResponse { + export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({ + ...obj, + }); +} + +export interface PublishRecipeRequest { + /** + *

      A description of the recipe to be published, for this version of the recipe.

      + */ + Description?: string; + + /** + *

      The name of the recipe to be published.

      + */ + Name: string | undefined; +} + +export namespace PublishRecipeRequest { + export const filterSensitiveLog = (obj: PublishRecipeRequest): any => ({ + ...obj, + }); +} + +export interface PublishRecipeResponse { + /** + *

      The name of the recipe that you published.

      + */ + Name: string | undefined; +} + +export namespace PublishRecipeResponse { + export const filterSensitiveLog = (obj: PublishRecipeResponse): any => ({ + ...obj, + }); +} + +/** + *

      Represents the data being being transformed during an AWS Glue DataBrew project session.

      + */ +export interface ViewFrame { + /** + *

      The starting index for the range of columns to return in the view + * frame.

      + */ + StartColumnIndex: number | undefined; + + /** + *

      The number of columns to include in the view frame, beginning with the + * StartColumnIndex value and ignoring any columns in the + * HiddenColumns list.

      + */ + ColumnRange?: number; + + /** + *

      A list of columns to hide in the view frame.

      + */ + HiddenColumns?: string[]; +} + +export namespace ViewFrame { + export const filterSensitiveLog = (obj: ViewFrame): any => ({ + ...obj, + }); +} + +export interface SendProjectSessionActionRequest { + /** + *

      Returns the result of the recipe step, without applying it. The result isn't + * added to the view frame stack.

      + */ + Preview?: boolean; + + /** + *

      The name of the project to apply the action to.

      + */ + Name: string | undefined; + + /** + *

      Represents a single step to be performed in an AWS Glue DataBrew recipe.

      + */ + RecipeStep?: RecipeStep; + + /** + *

      The index from which to preview a step. This index is used to preview the result of + * steps that have already been applied, so that the resulting view frame is from earlier + * in the view frame stack.

      + */ + StepIndex?: number; + + /** + *

      A unique identifier for an interactive session that's currently open and ready for + * work. The action will be performed on this session.

      + */ + ClientSessionId?: string; + + /** + *

      Represents the data being being transformed during an AWS Glue DataBrew project session.

      + */ + ViewFrame?: ViewFrame; +} + +export namespace SendProjectSessionActionRequest { + export const filterSensitiveLog = (obj: SendProjectSessionActionRequest): any => ({ + ...obj, + }); +} + +export interface SendProjectSessionActionResponse { + /** + *

      A message indicating the result of performing the action.

      + */ + Result?: string; + + /** + *

      The name of the project that was affected by the action.

      + */ + Name: string | undefined; + + /** + *

      A unique identifier for the action that was performed.

      + */ + ActionId?: number; +} + +export namespace SendProjectSessionActionResponse { + export const filterSensitiveLog = (obj: SendProjectSessionActionResponse): any => ({ + ...obj, + }); +} + +export interface StartJobRunRequest { + /** + *

      The name of the job to be run.

      + */ + Name: string | undefined; +} + +export namespace StartJobRunRequest { + export const filterSensitiveLog = (obj: StartJobRunRequest): any => ({ + ...obj, + }); +} + +export interface StartJobRunResponse { + /** + *

      A system-generated identifier for this particular job run.

      + */ + RunId: string | undefined; +} + +export namespace StartJobRunResponse { + export const filterSensitiveLog = (obj: StartJobRunResponse): any => ({ + ...obj, + }); +} + +export interface StartProjectSessionRequest { + /** + *

      The name of the project to act upon.

      + */ + Name: string | undefined; + + /** + *

      A value that, if true, enables you to take control of a session, even if a different client is + * currently accessing the project.

      + */ + AssumeControl?: boolean; +} + +export namespace StartProjectSessionRequest { + export const filterSensitiveLog = (obj: StartProjectSessionRequest): any => ({ + ...obj, + }); +} + +export interface StartProjectSessionResponse { + /** + *

      The name of the project to be acted upon.

      + */ + Name: string | undefined; + + /** + *

      A system-generated identifier for the session.

      + */ + ClientSessionId?: string; +} + +export namespace StartProjectSessionResponse { + export const filterSensitiveLog = (obj: StartProjectSessionResponse): any => ({ + ...obj, + }); +} + +export interface StopJobRunRequest { + /** + *

      The name of the job to be stopped.

      + */ + Name: string | undefined; + + /** + *

      The ID of the job run to be stopped.

      + */ + RunId: string | undefined; +} + +export namespace StopJobRunRequest { + export const filterSensitiveLog = (obj: StopJobRunRequest): any => ({ + ...obj, + }); +} + +export interface StopJobRunResponse { + /** + *

      The ID of the job run that you stopped.

      + */ + RunId: string | undefined; +} + +export namespace StopJobRunResponse { + export const filterSensitiveLog = (obj: StopJobRunResponse): any => ({ + ...obj, + }); +} + +export interface TagResourceRequest { + /** + *

      The DataBrew resource to which tags should be added. The value for this parameter is + * an Amazon Resource Name (ARN). For DataBrew, you can tag a dataset, a job, a project, or a + * recipe.

      + */ + ResourceArn: string | undefined; + + /** + *

      One or more tags to be assigned to the resource.

      + */ + Tags: { [key: string]: string } | undefined; +} + +export namespace TagResourceRequest { + export const filterSensitiveLog = (obj: TagResourceRequest): any => ({ + ...obj, + }); +} + +export interface TagResourceResponse {} + +export namespace TagResourceResponse { + export const filterSensitiveLog = (obj: TagResourceResponse): any => ({ + ...obj, + }); +} + +export interface UntagResourceRequest { + /** + *

      An DataBrew resource from which you want to remove a tag or tags. The value for this + * parameter is an Amazon Resource Name (ARN).

      + */ + ResourceArn: string | undefined; + + /** + *

      The tag keys (names) of one or more tags to be removed.

      + */ + TagKeys: string[] | undefined; +} + +export namespace UntagResourceRequest { + export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({ + ...obj, + }); +} + +export interface UntagResourceResponse {} + +export namespace UntagResourceResponse { + export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({ + ...obj, + }); +} + +export interface UpdateDatasetRequest { + /** + *

      The name of the dataset to be updated.

      + */ + Name: string | undefined; + + /** + *

      Options that define how Microsoft Excel input is to be interpreted by DataBrew.

      + */ + FormatOptions?: FormatOptions; + + /** + *

      Information on how AWS Glue DataBrew can find data, in either the AWS Glue Data + * Catalog or Amazon S3.

      + */ + Input: Input | undefined; +} + +export namespace UpdateDatasetRequest { + export const filterSensitiveLog = (obj: UpdateDatasetRequest): any => ({ + ...obj, + }); +} + +export interface UpdateDatasetResponse { + /** + *

      The name of the dataset that you updated.

      + */ + Name: string | undefined; +} + +export namespace UpdateDatasetResponse { + export const filterSensitiveLog = (obj: UpdateDatasetResponse): any => ({ + ...obj, + }); +} + +export interface UpdateProfileJobRequest { + /** + *

      The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

      + */ + EncryptionKeyArn?: string; + + /** + *

      The encryption mode for the job, which can be one of the following:

      + *
        + *
      • + *

        + * SSE-KMS - Server-side encryption with AWS KMS-managed keys.

        + *
      • + *
      • + *

        + * SSE-S3 - Server-side encryption with keys managed by Amazon S3.

        + *
      • + *
      + */ + EncryptionMode?: EncryptionMode | string; + + /** + *

      The name of the job to be updated.

      + */ + Name: string | undefined; + + /** + *

      A value that enables or disables Amazon CloudWatch logging for the current AWS + * account. If logging is enabled, CloudWatch writes one log stream for each job + * run.

      + */ + LogSubscription?: LogSubscription | string; + + /** + *

      The maximum number of nodes that DataBrew can use when the job processes data.

      + */ + MaxCapacity?: number; + + /** + *

      The maximum number of times to retry the job after a job run fails.

      + */ + MaxRetries?: number; + + /** + *

      An Amazon S3 location (bucket name an object key) where DataBrew can read input data, or write output from a job.

      + */ + OutputLocation: S3Location | undefined; + + /** + *

      The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to + * be assumed for this request.

      + */ + RoleArn: string | undefined; + + /** + *

      The job's timeout in minutes. A job that attempts to run longer than this timeout + * period ends with a status of TIMEOUT.

      + */ + Timeout?: number; +} + +export namespace UpdateProfileJobRequest { + export const filterSensitiveLog = (obj: UpdateProfileJobRequest): any => ({ + ...obj, + }); +} + +export interface UpdateProfileJobResponse { + /** + *

      The name of the job that was updated.

      + */ + Name: string | undefined; +} + +export namespace UpdateProfileJobResponse { + export const filterSensitiveLog = (obj: UpdateProfileJobResponse): any => ({ + ...obj, + }); +} + +export interface UpdateProjectRequest { + /** + *

      Represents the sample size and sampling type for AWS Glue DataBrew to use for + * interactive data analysis.

      + */ + Sample?: Sample; + + /** + *

      The Amazon Resource Name (ARN) of the IAM role to be assumed for this request.

      + */ + RoleArn: string | undefined; + + /** + *

      The name of the project to be updated.

      + */ + Name: string | undefined; +} + +export namespace UpdateProjectRequest { + export const filterSensitiveLog = (obj: UpdateProjectRequest): any => ({ + ...obj, + }); +} + +export interface UpdateProjectResponse { + /** + *

      The date and time that the project was last modified.

      + */ + LastModifiedDate?: Date; + + /** + *

      The name of the project that you updated.

      + */ + Name: string | undefined; +} + +export namespace UpdateProjectResponse { + export const filterSensitiveLog = (obj: UpdateProjectResponse): any => ({ + ...obj, + }); +} + +export interface UpdateRecipeRequest { + /** + *

      A description of the recipe.

      + */ + Description?: string; + + /** + *

      The name of the recipe to be updated.

      + */ + Name: string | undefined; + + /** + *

      One or more steps to be performed by the recipe. Each step consists of an action, and + * the conditions under which the action should succeed.

      + */ + Steps?: RecipeStep[]; +} + +export namespace UpdateRecipeRequest { + export const filterSensitiveLog = (obj: UpdateRecipeRequest): any => ({ + ...obj, + }); +} + +export interface UpdateRecipeResponse { + /** + *

      The name of the recipe that was updated.

      + */ + Name: string | undefined; +} + +export namespace UpdateRecipeResponse { + export const filterSensitiveLog = (obj: UpdateRecipeResponse): any => ({ + ...obj, + }); +} + +export interface UpdateRecipeJobRequest { + /** + *

      The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

      + */ + EncryptionKeyArn?: string; + + /** + *

      The encryption mode for the job, which can be one of the following:

      + *
        + *
      • + *

        + * SSE-KMS - Server-side encryption with AWS KMS-managed keys.

        + *
      • + *
      • + *

        + * SSE-S3 - Server-side encryption with keys managed by Amazon S3.

        + *
      • + *
      + */ + EncryptionMode?: EncryptionMode | string; + + /** + *

      The name of the job to update.

      + */ + Name: string | undefined; + + /** + *

      A value that enables or disables Amazon CloudWatch logging for the current AWS + * account. If logging is enabled, CloudWatch writes one log stream for each job + * run.

      + */ + LogSubscription?: LogSubscription | string; + + /** + *

      The maximum number of nodes that DataBrew + * can consume when the job processes data.

      + */ + MaxCapacity?: number; + + /** + *

      The maximum number of times to retry the job after a job run fails.

      + */ + MaxRetries?: number; + + /** + *

      One or more artifacts that represent the output from running the job.

      + */ + Outputs: Output[] | undefined; + + /** + *

      The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to + * be assumed for this request.

      + */ + RoleArn: string | undefined; + + /** + *

      The job's timeout in minutes. A job that attempts to run longer than this timeout + * period ends with a status of TIMEOUT.

      + */ + Timeout?: number; +} + +export namespace UpdateRecipeJobRequest { + export const filterSensitiveLog = (obj: UpdateRecipeJobRequest): any => ({ + ...obj, + }); +} + +export interface UpdateRecipeJobResponse { + /** + *

      The name of the job that you updated.

      + */ + Name: string | undefined; +} + +export namespace UpdateRecipeJobResponse { + export const filterSensitiveLog = (obj: UpdateRecipeJobResponse): any => ({ + ...obj, + }); +} + +export interface UpdateScheduleRequest { + /** + *

      The name or names of one or more jobs to be run for this schedule.

      + */ + JobNames?: string[]; + + /** + *

      The date or dates and time or times, in cron format, when the jobs are to + * be run.

      + */ + CronExpression: string | undefined; + + /** + *

      The name of the schedule to update.

      + */ + Name: string | undefined; +} + +export namespace UpdateScheduleRequest { + export const filterSensitiveLog = (obj: UpdateScheduleRequest): any => ({ + ...obj, + }); +} + +export interface UpdateScheduleResponse { + /** + *

      The name of the schedule that was updated.

      + */ + Name: string | undefined; +} + +export namespace UpdateScheduleResponse { + export const filterSensitiveLog = (obj: UpdateScheduleResponse): any => ({ + ...obj, + }); +} diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json new file mode 100644 index 000000000000..ada2f5a502bd --- /dev/null +++ b/clients/client-databrew/package.json @@ -0,0 +1,83 @@ +{ + "name": "@aws-sdk/client-databrew", + "description": "AWS SDK for JavaScript Databrew Client for Node.js, Browser and React Native", + "version": "1.0.0-rc.1", + "scripts": { + "clean": "npm run remove-definitions && npm run remove-dist", + "build-documentation": "npm run clean && typedoc ./", + "prepublishOnly": "yarn build", + "pretest": "yarn build:cjs", + "remove-definitions": "rimraf ./types", + "remove-dist": "rimraf ./dist", + "remove-documentation": "rimraf ./docs", + "test": "yarn build && jest --coverage --passWithNoTests", + "build:cjs": "tsc -p tsconfig.json", + "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:cjs && yarn build:es" + }, + "main": "./dist/cjs/index.js", + "types": "./types/index.d.ts", + "module": "./dist/es/index.js", + "browser": { + "./runtimeConfig": "./runtimeConfig.browser" + }, + "react-native": { + "./runtimeConfig": "./runtimeConfig.native" + }, + "sideEffects": false, + "dependencies": { + "@aws-crypto/sha256-browser": "^1.0.0", + "@aws-crypto/sha256-js": "^1.0.0", + "@aws-sdk/config-resolver": "1.0.0-rc.5", + "@aws-sdk/credential-provider-node": "1.0.0-rc.5", + "@aws-sdk/fetch-http-handler": "1.0.0-rc.5", + "@aws-sdk/hash-node": "1.0.0-rc.5", + "@aws-sdk/invalid-dependency": "1.0.0-rc.3", + "@aws-sdk/middleware-content-length": "1.0.0-rc.5", + "@aws-sdk/middleware-host-header": "1.0.0-rc.5", + "@aws-sdk/middleware-logger": "1.0.0-rc.5", + "@aws-sdk/middleware-retry": "1.0.0-rc.5", + "@aws-sdk/middleware-serde": "1.0.0-rc.5", + "@aws-sdk/middleware-signing": "1.0.0-rc.5", + "@aws-sdk/middleware-stack": "1.0.0-rc.5", + "@aws-sdk/middleware-user-agent": "1.0.0-rc.5", + "@aws-sdk/node-config-provider": "1.0.0-rc.5", + "@aws-sdk/node-http-handler": "1.0.0-rc.5", + "@aws-sdk/protocol-http": "1.0.0-rc.5", + "@aws-sdk/smithy-client": "1.0.0-rc.5", + "@aws-sdk/url-parser-browser": "1.0.0-rc.5", + "@aws-sdk/url-parser-node": "1.0.0-rc.5", + "@aws-sdk/util-base64-browser": "1.0.0-rc.3", + "@aws-sdk/util-base64-node": "1.0.0-rc.3", + "@aws-sdk/util-body-length-browser": "1.0.0-rc.3", + "@aws-sdk/util-body-length-node": "1.0.0-rc.3", + "@aws-sdk/util-user-agent-browser": "1.0.0-rc.5", + "@aws-sdk/util-user-agent-node": "1.0.0-rc.5", + "@aws-sdk/util-utf8-browser": "1.0.0-rc.3", + "@aws-sdk/util-utf8-node": "1.0.0-rc.3", + "tslib": "^2.0.0" + }, + "devDependencies": { + "@aws-sdk/client-documentation-generator": "1.0.0-rc.3", + "@aws-sdk/types": "1.0.0-rc.3", + "@types/node": "^12.7.5", + "jest": "^26.1.0", + "rimraf": "^3.0.0", + "typedoc": "^0.17.8", + "typescript": "~4.0.2" + }, + "engines": { + "node": ">=10.0.0" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/clients/client-databrew", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "clients/client-databrew" + } +} diff --git a/clients/client-databrew/pagination/Interfaces.ts b/clients/client-databrew/pagination/Interfaces.ts new file mode 100644 index 000000000000..7cac7719be77 --- /dev/null +++ b/clients/client-databrew/pagination/Interfaces.ts @@ -0,0 +1,7 @@ +import { DataBrew } from "../DataBrew"; +import { DataBrewClient } from "../DataBrewClient"; +import { PaginationConfiguration } from "@aws-sdk/types"; + +export interface DataBrewPaginationConfiguration extends PaginationConfiguration { + client: DataBrew | DataBrewClient; +} diff --git a/clients/client-databrew/pagination/ListDatasetsPaginator.ts b/clients/client-databrew/pagination/ListDatasetsPaginator.ts new file mode 100644 index 000000000000..38fdcbf912d2 --- /dev/null +++ b/clients/client-databrew/pagination/ListDatasetsPaginator.ts @@ -0,0 +1,51 @@ +import { DataBrew } from "../DataBrew"; +import { DataBrewClient } from "../DataBrewClient"; +import { + ListDatasetsCommand, + ListDatasetsCommandInput, + ListDatasetsCommandOutput, +} from "../commands/ListDatasetsCommand"; +import { DataBrewPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: DataBrewClient, + input: ListDatasetsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListDatasetsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: DataBrew, + input: ListDatasetsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listDatasets(input, ...args); +}; +export async function* listDatasetsPaginate( + config: DataBrewPaginationConfiguration, + input: ListDatasetsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListDatasetsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof DataBrew) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof DataBrewClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected DataBrew | DataBrewClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-databrew/pagination/ListJobRunsPaginator.ts b/clients/client-databrew/pagination/ListJobRunsPaginator.ts new file mode 100644 index 000000000000..e43df9916ba2 --- /dev/null +++ b/clients/client-databrew/pagination/ListJobRunsPaginator.ts @@ -0,0 +1,47 @@ +import { DataBrew } from "../DataBrew"; +import { DataBrewClient } from "../DataBrewClient"; +import { ListJobRunsCommand, ListJobRunsCommandInput, ListJobRunsCommandOutput } from "../commands/ListJobRunsCommand"; +import { DataBrewPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: DataBrewClient, + input: ListJobRunsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListJobRunsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: DataBrew, + input: ListJobRunsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listJobRuns(input, ...args); +}; +export async function* listJobRunsPaginate( + config: DataBrewPaginationConfiguration, + input: ListJobRunsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListJobRunsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof DataBrew) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof DataBrewClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected DataBrew | DataBrewClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-databrew/pagination/ListJobsPaginator.ts b/clients/client-databrew/pagination/ListJobsPaginator.ts new file mode 100644 index 000000000000..719e36606aba --- /dev/null +++ b/clients/client-databrew/pagination/ListJobsPaginator.ts @@ -0,0 +1,47 @@ +import { DataBrew } from "../DataBrew"; +import { DataBrewClient } from "../DataBrewClient"; +import { ListJobsCommand, ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand"; +import { DataBrewPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: DataBrewClient, + input: ListJobsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListJobsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: DataBrew, + input: ListJobsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listJobs(input, ...args); +}; +export async function* listJobsPaginate( + config: DataBrewPaginationConfiguration, + input: ListJobsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListJobsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof DataBrew) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof DataBrewClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected DataBrew | DataBrewClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-databrew/pagination/ListProjectsPaginator.ts b/clients/client-databrew/pagination/ListProjectsPaginator.ts new file mode 100644 index 000000000000..64db82f213d2 --- /dev/null +++ b/clients/client-databrew/pagination/ListProjectsPaginator.ts @@ -0,0 +1,51 @@ +import { DataBrew } from "../DataBrew"; +import { DataBrewClient } from "../DataBrewClient"; +import { + ListProjectsCommand, + ListProjectsCommandInput, + ListProjectsCommandOutput, +} from "../commands/ListProjectsCommand"; +import { DataBrewPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: DataBrewClient, + input: ListProjectsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListProjectsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: DataBrew, + input: ListProjectsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listProjects(input, ...args); +}; +export async function* listProjectsPaginate( + config: DataBrewPaginationConfiguration, + input: ListProjectsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListProjectsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof DataBrew) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof DataBrewClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected DataBrew | DataBrewClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-databrew/pagination/ListRecipeVersionsPaginator.ts b/clients/client-databrew/pagination/ListRecipeVersionsPaginator.ts new file mode 100644 index 000000000000..55cc3b846c27 --- /dev/null +++ b/clients/client-databrew/pagination/ListRecipeVersionsPaginator.ts @@ -0,0 +1,51 @@ +import { DataBrew } from "../DataBrew"; +import { DataBrewClient } from "../DataBrewClient"; +import { + ListRecipeVersionsCommand, + ListRecipeVersionsCommandInput, + ListRecipeVersionsCommandOutput, +} from "../commands/ListRecipeVersionsCommand"; +import { DataBrewPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: DataBrewClient, + input: ListRecipeVersionsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListRecipeVersionsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: DataBrew, + input: ListRecipeVersionsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listRecipeVersions(input, ...args); +}; +export async function* listRecipeVersionsPaginate( + config: DataBrewPaginationConfiguration, + input: ListRecipeVersionsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListRecipeVersionsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof DataBrew) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof DataBrewClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected DataBrew | DataBrewClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-databrew/pagination/ListRecipesPaginator.ts b/clients/client-databrew/pagination/ListRecipesPaginator.ts new file mode 100644 index 000000000000..25793379224b --- /dev/null +++ b/clients/client-databrew/pagination/ListRecipesPaginator.ts @@ -0,0 +1,47 @@ +import { DataBrew } from "../DataBrew"; +import { DataBrewClient } from "../DataBrewClient"; +import { ListRecipesCommand, ListRecipesCommandInput, ListRecipesCommandOutput } from "../commands/ListRecipesCommand"; +import { DataBrewPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: DataBrewClient, + input: ListRecipesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListRecipesCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: DataBrew, + input: ListRecipesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listRecipes(input, ...args); +}; +export async function* listRecipesPaginate( + config: DataBrewPaginationConfiguration, + input: ListRecipesCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListRecipesCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof DataBrew) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof DataBrewClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected DataBrew | DataBrewClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-databrew/pagination/ListSchedulesPaginator.ts b/clients/client-databrew/pagination/ListSchedulesPaginator.ts new file mode 100644 index 000000000000..020577652440 --- /dev/null +++ b/clients/client-databrew/pagination/ListSchedulesPaginator.ts @@ -0,0 +1,51 @@ +import { DataBrew } from "../DataBrew"; +import { DataBrewClient } from "../DataBrewClient"; +import { + ListSchedulesCommand, + ListSchedulesCommandInput, + ListSchedulesCommandOutput, +} from "../commands/ListSchedulesCommand"; +import { DataBrewPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: DataBrewClient, + input: ListSchedulesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListSchedulesCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: DataBrew, + input: ListSchedulesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listSchedules(input, ...args); +}; +export async function* listSchedulesPaginate( + config: DataBrewPaginationConfiguration, + input: ListSchedulesCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListSchedulesCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof DataBrew) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof DataBrewClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected DataBrew | DataBrewClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-databrew/protocols/Aws_restJson1.ts b/clients/client-databrew/protocols/Aws_restJson1.ts new file mode 100644 index 000000000000..9ade5e7344b5 --- /dev/null +++ b/clients/client-databrew/protocols/Aws_restJson1.ts @@ -0,0 +1,4748 @@ +import { + BatchDeleteRecipeVersionCommandInput, + BatchDeleteRecipeVersionCommandOutput, +} from "../commands/BatchDeleteRecipeVersionCommand"; +import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "../commands/CreateDatasetCommand"; +import { CreateProfileJobCommandInput, CreateProfileJobCommandOutput } from "../commands/CreateProfileJobCommand"; +import { CreateProjectCommandInput, CreateProjectCommandOutput } from "../commands/CreateProjectCommand"; +import { CreateRecipeCommandInput, CreateRecipeCommandOutput } from "../commands/CreateRecipeCommand"; +import { CreateRecipeJobCommandInput, CreateRecipeJobCommandOutput } from "../commands/CreateRecipeJobCommand"; +import { CreateScheduleCommandInput, CreateScheduleCommandOutput } from "../commands/CreateScheduleCommand"; +import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "../commands/DeleteDatasetCommand"; +import { DeleteJobCommandInput, DeleteJobCommandOutput } from "../commands/DeleteJobCommand"; +import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "../commands/DeleteProjectCommand"; +import { + DeleteRecipeVersionCommandInput, + DeleteRecipeVersionCommandOutput, +} from "../commands/DeleteRecipeVersionCommand"; +import { DeleteScheduleCommandInput, DeleteScheduleCommandOutput } from "../commands/DeleteScheduleCommand"; +import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "../commands/DescribeDatasetCommand"; +import { DescribeJobCommandInput, DescribeJobCommandOutput } from "../commands/DescribeJobCommand"; +import { DescribeProjectCommandInput, DescribeProjectCommandOutput } from "../commands/DescribeProjectCommand"; +import { DescribeRecipeCommandInput, DescribeRecipeCommandOutput } from "../commands/DescribeRecipeCommand"; +import { DescribeScheduleCommandInput, DescribeScheduleCommandOutput } from "../commands/DescribeScheduleCommand"; +import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "../commands/ListDatasetsCommand"; +import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "../commands/ListJobRunsCommand"; +import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand"; +import { ListProjectsCommandInput, ListProjectsCommandOutput } from "../commands/ListProjectsCommand"; +import { ListRecipeVersionsCommandInput, ListRecipeVersionsCommandOutput } from "../commands/ListRecipeVersionsCommand"; +import { ListRecipesCommandInput, ListRecipesCommandOutput } from "../commands/ListRecipesCommand"; +import { ListSchedulesCommandInput, ListSchedulesCommandOutput } from "../commands/ListSchedulesCommand"; +import { + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "../commands/ListTagsForResourceCommand"; +import { PublishRecipeCommandInput, PublishRecipeCommandOutput } from "../commands/PublishRecipeCommand"; +import { + SendProjectSessionActionCommandInput, + SendProjectSessionActionCommandOutput, +} from "../commands/SendProjectSessionActionCommand"; +import { StartJobRunCommandInput, StartJobRunCommandOutput } from "../commands/StartJobRunCommand"; +import { + StartProjectSessionCommandInput, + StartProjectSessionCommandOutput, +} from "../commands/StartProjectSessionCommand"; +import { StopJobRunCommandInput, StopJobRunCommandOutput } from "../commands/StopJobRunCommand"; +import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; +import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; +import { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "../commands/UpdateDatasetCommand"; +import { UpdateProfileJobCommandInput, UpdateProfileJobCommandOutput } from "../commands/UpdateProfileJobCommand"; +import { UpdateProjectCommandInput, UpdateProjectCommandOutput } from "../commands/UpdateProjectCommand"; +import { UpdateRecipeCommandInput, UpdateRecipeCommandOutput } from "../commands/UpdateRecipeCommand"; +import { UpdateRecipeJobCommandInput, UpdateRecipeJobCommandOutput } from "../commands/UpdateRecipeJobCommand"; +import { UpdateScheduleCommandInput, UpdateScheduleCommandOutput } from "../commands/UpdateScheduleCommand"; +import { + AccessDeniedException, + ConditionExpression, + ConflictException, + DataCatalogInputDefinition, + Dataset, + ExcelOptions, + FormatOptions, + Input, + InternalServerException, + Job, + JobRun, + JsonOptions, + Output, + Project, + Recipe, + RecipeAction, + RecipeReference, + RecipeStep, + RecipeVersionErrorDetail, + ResourceNotFoundException, + S3Location, + Sample, + Schedule, + ServiceQuotaExceededException, + ValidationException, + ViewFrame, +} from "../models/models_0"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { + SmithyException as __SmithyException, + extendedEncodeURIComponent as __extendedEncodeURIComponent, +} from "@aws-sdk/smithy-client"; +import { + Endpoint as __Endpoint, + MetadataBearer as __MetadataBearer, + ResponseMetadata as __ResponseMetadata, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export const serializeAws_restJson1BatchDeleteRecipeVersionCommand = async ( + input: BatchDeleteRecipeVersionCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/recipes/{Name}/batchDeleteRecipeVersion"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.RecipeVersions !== undefined && { + RecipeVersions: serializeAws_restJson1RecipeVersionList(input.RecipeVersions, context), + }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateDatasetCommand = async ( + input: CreateDatasetCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/datasets"; + let body: any; + body = JSON.stringify({ + ...(input.FormatOptions !== undefined && { + FormatOptions: serializeAws_restJson1FormatOptions(input.FormatOptions, context), + }), + ...(input.Input !== undefined && { Input: serializeAws_restJson1Input(input.Input, context) }), + ...(input.Name !== undefined && { Name: input.Name }), + ...(input.Tags !== undefined && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateProfileJobCommand = async ( + input: CreateProfileJobCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/profileJobs"; + let body: any; + body = JSON.stringify({ + ...(input.DatasetName !== undefined && { DatasetName: input.DatasetName }), + ...(input.EncryptionKeyArn !== undefined && { EncryptionKeyArn: input.EncryptionKeyArn }), + ...(input.EncryptionMode !== undefined && { EncryptionMode: input.EncryptionMode }), + ...(input.LogSubscription !== undefined && { LogSubscription: input.LogSubscription }), + ...(input.MaxCapacity !== undefined && { MaxCapacity: input.MaxCapacity }), + ...(input.MaxRetries !== undefined && { MaxRetries: input.MaxRetries }), + ...(input.Name !== undefined && { Name: input.Name }), + ...(input.OutputLocation !== undefined && { + OutputLocation: serializeAws_restJson1S3Location(input.OutputLocation, context), + }), + ...(input.RoleArn !== undefined && { RoleArn: input.RoleArn }), + ...(input.Tags !== undefined && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }), + ...(input.Timeout !== undefined && { Timeout: input.Timeout }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateProjectCommand = async ( + input: CreateProjectCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/projects"; + let body: any; + body = JSON.stringify({ + ...(input.DatasetName !== undefined && { DatasetName: input.DatasetName }), + ...(input.Name !== undefined && { Name: input.Name }), + ...(input.RecipeName !== undefined && { RecipeName: input.RecipeName }), + ...(input.RoleArn !== undefined && { RoleArn: input.RoleArn }), + ...(input.Sample !== undefined && { Sample: serializeAws_restJson1Sample(input.Sample, context) }), + ...(input.Tags !== undefined && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateRecipeCommand = async ( + input: CreateRecipeCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/recipes"; + let body: any; + body = JSON.stringify({ + ...(input.Description !== undefined && { Description: input.Description }), + ...(input.Name !== undefined && { Name: input.Name }), + ...(input.Steps !== undefined && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) }), + ...(input.Tags !== undefined && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateRecipeJobCommand = async ( + input: CreateRecipeJobCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/recipeJobs"; + let body: any; + body = JSON.stringify({ + ...(input.DatasetName !== undefined && { DatasetName: input.DatasetName }), + ...(input.EncryptionKeyArn !== undefined && { EncryptionKeyArn: input.EncryptionKeyArn }), + ...(input.EncryptionMode !== undefined && { EncryptionMode: input.EncryptionMode }), + ...(input.LogSubscription !== undefined && { LogSubscription: input.LogSubscription }), + ...(input.MaxCapacity !== undefined && { MaxCapacity: input.MaxCapacity }), + ...(input.MaxRetries !== undefined && { MaxRetries: input.MaxRetries }), + ...(input.Name !== undefined && { Name: input.Name }), + ...(input.Outputs !== undefined && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) }), + ...(input.ProjectName !== undefined && { ProjectName: input.ProjectName }), + ...(input.RecipeReference !== undefined && { + RecipeReference: serializeAws_restJson1RecipeReference(input.RecipeReference, context), + }), + ...(input.RoleArn !== undefined && { RoleArn: input.RoleArn }), + ...(input.Tags !== undefined && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }), + ...(input.Timeout !== undefined && { Timeout: input.Timeout }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateScheduleCommand = async ( + input: CreateScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/schedules"; + let body: any; + body = JSON.stringify({ + ...(input.CronExpression !== undefined && { CronExpression: input.CronExpression }), + ...(input.JobNames !== undefined && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) }), + ...(input.Name !== undefined && { Name: input.Name }), + ...(input.Tags !== undefined && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteDatasetCommand = async ( + input: DeleteDatasetCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/datasets/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteJobCommand = async ( + input: DeleteJobCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/jobs/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteProjectCommand = async ( + input: DeleteProjectCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/projects/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteRecipeVersionCommand = async ( + input: DeleteRecipeVersionCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/recipes/{Name}/recipeVersion/{RecipeVersion}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + if (input.RecipeVersion !== undefined) { + const labelValue: string = input.RecipeVersion; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: RecipeVersion."); + } + resolvedPath = resolvedPath.replace("{RecipeVersion}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: RecipeVersion."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteScheduleCommand = async ( + input: DeleteScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/schedules/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeDatasetCommand = async ( + input: DescribeDatasetCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/datasets/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeJobCommand = async ( + input: DescribeJobCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/jobs/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeProjectCommand = async ( + input: DescribeProjectCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/projects/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeRecipeCommand = async ( + input: DescribeRecipeCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/recipes/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + const query: any = { + ...(input.RecipeVersion !== undefined && { recipeVersion: input.RecipeVersion }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1DescribeScheduleCommand = async ( + input: DescribeScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/schedules/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListDatasetsCommand = async ( + input: ListDatasetsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/datasets"; + const query: any = { + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListJobRunsCommand = async ( + input: ListJobRunsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/jobs/{Name}/jobRuns"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + const query: any = { + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListJobsCommand = async ( + input: ListJobsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/jobs"; + const query: any = { + ...(input.DatasetName !== undefined && { datasetName: input.DatasetName }), + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + ...(input.ProjectName !== undefined && { projectName: input.ProjectName }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListProjectsCommand = async ( + input: ListProjectsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/projects"; + const query: any = { + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListRecipesCommand = async ( + input: ListRecipesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/recipes"; + const query: any = { + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + ...(input.RecipeVersion !== undefined && { recipeVersion: input.RecipeVersion }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListRecipeVersionsCommand = async ( + input: ListRecipeVersionsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/recipeVersions"; + const query: any = { + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + ...(input.Name !== undefined && { name: input.Name }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListSchedulesCommand = async ( + input: ListSchedulesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/schedules"; + const query: any = { + ...(input.JobName !== undefined && { jobName: input.JobName }), + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListTagsForResourceCommand = async ( + input: ListTagsForResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/tags/{ResourceArn}"; + if (input.ResourceArn !== undefined) { + const labelValue: string = input.ResourceArn; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: ResourceArn."); + } + resolvedPath = resolvedPath.replace("{ResourceArn}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: ResourceArn."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1PublishRecipeCommand = async ( + input: PublishRecipeCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/recipes/{Name}/publishRecipe"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.Description !== undefined && { Description: input.Description }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1SendProjectSessionActionCommand = async ( + input: SendProjectSessionActionCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/projects/{Name}/sendProjectSessionAction"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.ClientSessionId !== undefined && { ClientSessionId: input.ClientSessionId }), + ...(input.Preview !== undefined && { Preview: input.Preview }), + ...(input.RecipeStep !== undefined && { RecipeStep: serializeAws_restJson1RecipeStep(input.RecipeStep, context) }), + ...(input.StepIndex !== undefined && { StepIndex: input.StepIndex }), + ...(input.ViewFrame !== undefined && { ViewFrame: serializeAws_restJson1ViewFrame(input.ViewFrame, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1StartJobRunCommand = async ( + input: StartJobRunCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/jobs/{Name}/startJobRun"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1StartProjectSessionCommand = async ( + input: StartProjectSessionCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/projects/{Name}/startProjectSession"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.AssumeControl !== undefined && { AssumeControl: input.AssumeControl }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1StopJobRunCommand = async ( + input: StopJobRunCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/jobs/{Name}/jobRun/{RunId}/stopJobRun"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + if (input.RunId !== undefined) { + const labelValue: string = input.RunId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: RunId."); + } + resolvedPath = resolvedPath.replace("{RunId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: RunId."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1TagResourceCommand = async ( + input: TagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/tags/{ResourceArn}"; + if (input.ResourceArn !== undefined) { + const labelValue: string = input.ResourceArn; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: ResourceArn."); + } + resolvedPath = resolvedPath.replace("{ResourceArn}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: ResourceArn."); + } + let body: any; + body = JSON.stringify({ + ...(input.Tags !== undefined && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1UntagResourceCommand = async ( + input: UntagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/tags/{ResourceArn}"; + if (input.ResourceArn !== undefined) { + const labelValue: string = input.ResourceArn; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: ResourceArn."); + } + resolvedPath = resolvedPath.replace("{ResourceArn}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: ResourceArn."); + } + const query: any = { + ...(input.TagKeys !== undefined && { tagKeys: (input.TagKeys || []).map((_entry) => _entry) }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1UpdateDatasetCommand = async ( + input: UpdateDatasetCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/datasets/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.FormatOptions !== undefined && { + FormatOptions: serializeAws_restJson1FormatOptions(input.FormatOptions, context), + }), + ...(input.Input !== undefined && { Input: serializeAws_restJson1Input(input.Input, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1UpdateProfileJobCommand = async ( + input: UpdateProfileJobCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/profileJobs/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.EncryptionKeyArn !== undefined && { EncryptionKeyArn: input.EncryptionKeyArn }), + ...(input.EncryptionMode !== undefined && { EncryptionMode: input.EncryptionMode }), + ...(input.LogSubscription !== undefined && { LogSubscription: input.LogSubscription }), + ...(input.MaxCapacity !== undefined && { MaxCapacity: input.MaxCapacity }), + ...(input.MaxRetries !== undefined && { MaxRetries: input.MaxRetries }), + ...(input.OutputLocation !== undefined && { + OutputLocation: serializeAws_restJson1S3Location(input.OutputLocation, context), + }), + ...(input.RoleArn !== undefined && { RoleArn: input.RoleArn }), + ...(input.Timeout !== undefined && { Timeout: input.Timeout }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1UpdateProjectCommand = async ( + input: UpdateProjectCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/projects/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.RoleArn !== undefined && { RoleArn: input.RoleArn }), + ...(input.Sample !== undefined && { Sample: serializeAws_restJson1Sample(input.Sample, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1UpdateRecipeCommand = async ( + input: UpdateRecipeCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/recipes/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.Description !== undefined && { Description: input.Description }), + ...(input.Steps !== undefined && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1UpdateRecipeJobCommand = async ( + input: UpdateRecipeJobCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/recipeJobs/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.EncryptionKeyArn !== undefined && { EncryptionKeyArn: input.EncryptionKeyArn }), + ...(input.EncryptionMode !== undefined && { EncryptionMode: input.EncryptionMode }), + ...(input.LogSubscription !== undefined && { LogSubscription: input.LogSubscription }), + ...(input.MaxCapacity !== undefined && { MaxCapacity: input.MaxCapacity }), + ...(input.MaxRetries !== undefined && { MaxRetries: input.MaxRetries }), + ...(input.Outputs !== undefined && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) }), + ...(input.RoleArn !== undefined && { RoleArn: input.RoleArn }), + ...(input.Timeout !== undefined && { Timeout: input.Timeout }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1UpdateScheduleCommand = async ( + input: UpdateScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/schedules/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + let body: any; + body = JSON.stringify({ + ...(input.CronExpression !== undefined && { CronExpression: input.CronExpression }), + ...(input.JobNames !== undefined && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const deserializeAws_restJson1BatchDeleteRecipeVersionCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1BatchDeleteRecipeVersionCommandError(output, context); + } + const contents: BatchDeleteRecipeVersionCommandOutput = { + $metadata: deserializeMetadata(output), + Errors: undefined, + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Errors !== undefined && data.Errors !== null) { + contents.Errors = deserializeAws_restJson1RecipeErrorList(data.Errors, context); + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1BatchDeleteRecipeVersionCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.databrew#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateDatasetCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateDatasetCommandError(output, context); + } + const contents: CreateDatasetCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateDatasetCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.databrew#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.databrew#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.databrew#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateProfileJobCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateProfileJobCommandError(output, context); + } + const contents: CreateProfileJobCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateProfileJobCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateProjectCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateProjectCommandError(output, context); + } + const contents: CreateProjectCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateProjectCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.databrew#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.databrew#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.databrew#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateRecipeCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateRecipeCommandError(output, context); + } + const contents: CreateRecipeCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateRecipeCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.databrew#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.databrew#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateRecipeJobCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateRecipeJobCommandError(output, context); + } + const contents: CreateRecipeJobCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateRecipeJobCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateScheduleCommandError(output, context); + } + const contents: CreateScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateScheduleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteDatasetCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteDatasetCommandError(output, context); + } + const contents: DeleteDatasetCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteDatasetCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteJobCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteJobCommandError(output, context); + } + const contents: DeleteJobCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteJobCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteProjectCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteProjectCommandError(output, context); + } + const contents: DeleteProjectCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteProjectCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteRecipeVersionCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteRecipeVersionCommandError(output, context); + } + const contents: DeleteRecipeVersionCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + RecipeVersion: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + if (data.RecipeVersion !== undefined && data.RecipeVersion !== null) { + contents.RecipeVersion = data.RecipeVersion; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteRecipeVersionCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteScheduleCommandError(output, context); + } + const contents: DeleteScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteScheduleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeDatasetCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeDatasetCommandError(output, context); + } + const contents: DescribeDatasetCommandOutput = { + $metadata: deserializeMetadata(output), + CreateDate: undefined, + CreatedBy: undefined, + FormatOptions: undefined, + Input: undefined, + LastModifiedBy: undefined, + LastModifiedDate: undefined, + Name: undefined, + ResourceArn: undefined, + Source: undefined, + Tags: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.CreateDate !== undefined && data.CreateDate !== null) { + contents.CreateDate = new Date(Math.round(data.CreateDate * 1000)); + } + if (data.CreatedBy !== undefined && data.CreatedBy !== null) { + contents.CreatedBy = data.CreatedBy; + } + if (data.FormatOptions !== undefined && data.FormatOptions !== null) { + contents.FormatOptions = deserializeAws_restJson1FormatOptions(data.FormatOptions, context); + } + if (data.Input !== undefined && data.Input !== null) { + contents.Input = deserializeAws_restJson1Input(data.Input, context); + } + if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) { + contents.LastModifiedBy = data.LastModifiedBy; + } + if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) { + contents.LastModifiedDate = new Date(Math.round(data.LastModifiedDate * 1000)); + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + if (data.ResourceArn !== undefined && data.ResourceArn !== null) { + contents.ResourceArn = data.ResourceArn; + } + if (data.Source !== undefined && data.Source !== null) { + contents.Source = data.Source; + } + if (data.Tags !== undefined && data.Tags !== null) { + contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeDatasetCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeJobCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeJobCommandError(output, context); + } + const contents: DescribeJobCommandOutput = { + $metadata: deserializeMetadata(output), + CreateDate: undefined, + CreatedBy: undefined, + DatasetName: undefined, + EncryptionKeyArn: undefined, + EncryptionMode: undefined, + LastModifiedBy: undefined, + LastModifiedDate: undefined, + LogSubscription: undefined, + MaxCapacity: undefined, + MaxRetries: undefined, + Name: undefined, + Outputs: undefined, + ProjectName: undefined, + RecipeReference: undefined, + ResourceArn: undefined, + RoleArn: undefined, + Tags: undefined, + Timeout: undefined, + Type: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.CreateDate !== undefined && data.CreateDate !== null) { + contents.CreateDate = new Date(Math.round(data.CreateDate * 1000)); + } + if (data.CreatedBy !== undefined && data.CreatedBy !== null) { + contents.CreatedBy = data.CreatedBy; + } + if (data.DatasetName !== undefined && data.DatasetName !== null) { + contents.DatasetName = data.DatasetName; + } + if (data.EncryptionKeyArn !== undefined && data.EncryptionKeyArn !== null) { + contents.EncryptionKeyArn = data.EncryptionKeyArn; + } + if (data.EncryptionMode !== undefined && data.EncryptionMode !== null) { + contents.EncryptionMode = data.EncryptionMode; + } + if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) { + contents.LastModifiedBy = data.LastModifiedBy; + } + if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) { + contents.LastModifiedDate = new Date(Math.round(data.LastModifiedDate * 1000)); + } + if (data.LogSubscription !== undefined && data.LogSubscription !== null) { + contents.LogSubscription = data.LogSubscription; + } + if (data.MaxCapacity !== undefined && data.MaxCapacity !== null) { + contents.MaxCapacity = data.MaxCapacity; + } + if (data.MaxRetries !== undefined && data.MaxRetries !== null) { + contents.MaxRetries = data.MaxRetries; + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + if (data.Outputs !== undefined && data.Outputs !== null) { + contents.Outputs = deserializeAws_restJson1OutputList(data.Outputs, context); + } + if (data.ProjectName !== undefined && data.ProjectName !== null) { + contents.ProjectName = data.ProjectName; + } + if (data.RecipeReference !== undefined && data.RecipeReference !== null) { + contents.RecipeReference = deserializeAws_restJson1RecipeReference(data.RecipeReference, context); + } + if (data.ResourceArn !== undefined && data.ResourceArn !== null) { + contents.ResourceArn = data.ResourceArn; + } + if (data.RoleArn !== undefined && data.RoleArn !== null) { + contents.RoleArn = data.RoleArn; + } + if (data.Tags !== undefined && data.Tags !== null) { + contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context); + } + if (data.Timeout !== undefined && data.Timeout !== null) { + contents.Timeout = data.Timeout; + } + if (data.Type !== undefined && data.Type !== null) { + contents.Type = data.Type; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeJobCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeProjectCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeProjectCommandError(output, context); + } + const contents: DescribeProjectCommandOutput = { + $metadata: deserializeMetadata(output), + CreateDate: undefined, + CreatedBy: undefined, + DatasetName: undefined, + LastModifiedBy: undefined, + LastModifiedDate: undefined, + Name: undefined, + OpenDate: undefined, + OpenedBy: undefined, + RecipeName: undefined, + ResourceArn: undefined, + RoleArn: undefined, + Sample: undefined, + SessionStatus: undefined, + Tags: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.CreateDate !== undefined && data.CreateDate !== null) { + contents.CreateDate = new Date(Math.round(data.CreateDate * 1000)); + } + if (data.CreatedBy !== undefined && data.CreatedBy !== null) { + contents.CreatedBy = data.CreatedBy; + } + if (data.DatasetName !== undefined && data.DatasetName !== null) { + contents.DatasetName = data.DatasetName; + } + if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) { + contents.LastModifiedBy = data.LastModifiedBy; + } + if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) { + contents.LastModifiedDate = new Date(Math.round(data.LastModifiedDate * 1000)); + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + if (data.OpenDate !== undefined && data.OpenDate !== null) { + contents.OpenDate = new Date(Math.round(data.OpenDate * 1000)); + } + if (data.OpenedBy !== undefined && data.OpenedBy !== null) { + contents.OpenedBy = data.OpenedBy; + } + if (data.RecipeName !== undefined && data.RecipeName !== null) { + contents.RecipeName = data.RecipeName; + } + if (data.ResourceArn !== undefined && data.ResourceArn !== null) { + contents.ResourceArn = data.ResourceArn; + } + if (data.RoleArn !== undefined && data.RoleArn !== null) { + contents.RoleArn = data.RoleArn; + } + if (data.Sample !== undefined && data.Sample !== null) { + contents.Sample = deserializeAws_restJson1Sample(data.Sample, context); + } + if (data.SessionStatus !== undefined && data.SessionStatus !== null) { + contents.SessionStatus = data.SessionStatus; + } + if (data.Tags !== undefined && data.Tags !== null) { + contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeProjectCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeRecipeCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeRecipeCommandError(output, context); + } + const contents: DescribeRecipeCommandOutput = { + $metadata: deserializeMetadata(output), + CreateDate: undefined, + CreatedBy: undefined, + Description: undefined, + LastModifiedBy: undefined, + LastModifiedDate: undefined, + Name: undefined, + ProjectName: undefined, + PublishedBy: undefined, + PublishedDate: undefined, + RecipeVersion: undefined, + ResourceArn: undefined, + Steps: undefined, + Tags: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.CreateDate !== undefined && data.CreateDate !== null) { + contents.CreateDate = new Date(Math.round(data.CreateDate * 1000)); + } + if (data.CreatedBy !== undefined && data.CreatedBy !== null) { + contents.CreatedBy = data.CreatedBy; + } + if (data.Description !== undefined && data.Description !== null) { + contents.Description = data.Description; + } + if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) { + contents.LastModifiedBy = data.LastModifiedBy; + } + if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) { + contents.LastModifiedDate = new Date(Math.round(data.LastModifiedDate * 1000)); + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + if (data.ProjectName !== undefined && data.ProjectName !== null) { + contents.ProjectName = data.ProjectName; + } + if (data.PublishedBy !== undefined && data.PublishedBy !== null) { + contents.PublishedBy = data.PublishedBy; + } + if (data.PublishedDate !== undefined && data.PublishedDate !== null) { + contents.PublishedDate = new Date(Math.round(data.PublishedDate * 1000)); + } + if (data.RecipeVersion !== undefined && data.RecipeVersion !== null) { + contents.RecipeVersion = data.RecipeVersion; + } + if (data.ResourceArn !== undefined && data.ResourceArn !== null) { + contents.ResourceArn = data.ResourceArn; + } + if (data.Steps !== undefined && data.Steps !== null) { + contents.Steps = deserializeAws_restJson1RecipeStepList(data.Steps, context); + } + if (data.Tags !== undefined && data.Tags !== null) { + contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeRecipeCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeScheduleCommandError(output, context); + } + const contents: DescribeScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + CreateDate: undefined, + CreatedBy: undefined, + CronExpression: undefined, + JobNames: undefined, + LastModifiedBy: undefined, + LastModifiedDate: undefined, + Name: undefined, + ResourceArn: undefined, + Tags: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.CreateDate !== undefined && data.CreateDate !== null) { + contents.CreateDate = new Date(Math.round(data.CreateDate * 1000)); + } + if (data.CreatedBy !== undefined && data.CreatedBy !== null) { + contents.CreatedBy = data.CreatedBy; + } + if (data.CronExpression !== undefined && data.CronExpression !== null) { + contents.CronExpression = data.CronExpression; + } + if (data.JobNames !== undefined && data.JobNames !== null) { + contents.JobNames = deserializeAws_restJson1JobNameList(data.JobNames, context); + } + if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) { + contents.LastModifiedBy = data.LastModifiedBy; + } + if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) { + contents.LastModifiedDate = new Date(Math.round(data.LastModifiedDate * 1000)); + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + if (data.ResourceArn !== undefined && data.ResourceArn !== null) { + contents.ResourceArn = data.ResourceArn; + } + if (data.Tags !== undefined && data.Tags !== null) { + contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeScheduleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListDatasetsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListDatasetsCommandError(output, context); + } + const contents: ListDatasetsCommandOutput = { + $metadata: deserializeMetadata(output), + Datasets: undefined, + NextToken: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Datasets !== undefined && data.Datasets !== null) { + contents.Datasets = deserializeAws_restJson1DatasetList(data.Datasets, context); + } + if (data.NextToken !== undefined && data.NextToken !== null) { + contents.NextToken = data.NextToken; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListDatasetsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListJobRunsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListJobRunsCommandError(output, context); + } + const contents: ListJobRunsCommandOutput = { + $metadata: deserializeMetadata(output), + JobRuns: undefined, + NextToken: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.JobRuns !== undefined && data.JobRuns !== null) { + contents.JobRuns = deserializeAws_restJson1JobRunList(data.JobRuns, context); + } + if (data.NextToken !== undefined && data.NextToken !== null) { + contents.NextToken = data.NextToken; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListJobRunsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListJobsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListJobsCommandError(output, context); + } + const contents: ListJobsCommandOutput = { + $metadata: deserializeMetadata(output), + Jobs: undefined, + NextToken: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Jobs !== undefined && data.Jobs !== null) { + contents.Jobs = deserializeAws_restJson1JobList(data.Jobs, context); + } + if (data.NextToken !== undefined && data.NextToken !== null) { + contents.NextToken = data.NextToken; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListJobsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListProjectsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListProjectsCommandError(output, context); + } + const contents: ListProjectsCommandOutput = { + $metadata: deserializeMetadata(output), + NextToken: undefined, + Projects: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.NextToken !== undefined && data.NextToken !== null) { + contents.NextToken = data.NextToken; + } + if (data.Projects !== undefined && data.Projects !== null) { + contents.Projects = deserializeAws_restJson1ProjectList(data.Projects, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListProjectsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListRecipesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListRecipesCommandError(output, context); + } + const contents: ListRecipesCommandOutput = { + $metadata: deserializeMetadata(output), + NextToken: undefined, + Recipes: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.NextToken !== undefined && data.NextToken !== null) { + contents.NextToken = data.NextToken; + } + if (data.Recipes !== undefined && data.Recipes !== null) { + contents.Recipes = deserializeAws_restJson1RecipeList(data.Recipes, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListRecipesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListRecipeVersionsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListRecipeVersionsCommandError(output, context); + } + const contents: ListRecipeVersionsCommandOutput = { + $metadata: deserializeMetadata(output), + NextToken: undefined, + Recipes: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.NextToken !== undefined && data.NextToken !== null) { + contents.NextToken = data.NextToken; + } + if (data.Recipes !== undefined && data.Recipes !== null) { + contents.Recipes = deserializeAws_restJson1RecipeList(data.Recipes, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListRecipeVersionsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListSchedulesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListSchedulesCommandError(output, context); + } + const contents: ListSchedulesCommandOutput = { + $metadata: deserializeMetadata(output), + NextToken: undefined, + Schedules: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.NextToken !== undefined && data.NextToken !== null) { + contents.NextToken = data.NextToken; + } + if (data.Schedules !== undefined && data.Schedules !== null) { + contents.Schedules = deserializeAws_restJson1ScheduleList(data.Schedules, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListSchedulesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListTagsForResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListTagsForResourceCommandError(output, context); + } + const contents: ListTagsForResourceCommandOutput = { + $metadata: deserializeMetadata(output), + Tags: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Tags !== undefined && data.Tags !== null) { + contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListTagsForResourceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.databrew#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1PublishRecipeCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1PublishRecipeCommandError(output, context); + } + const contents: PublishRecipeCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1PublishRecipeCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1SendProjectSessionActionCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1SendProjectSessionActionCommandError(output, context); + } + const contents: SendProjectSessionActionCommandOutput = { + $metadata: deserializeMetadata(output), + ActionId: undefined, + Name: undefined, + Result: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.ActionId !== undefined && data.ActionId !== null) { + contents.ActionId = data.ActionId; + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + if (data.Result !== undefined && data.Result !== null) { + contents.Result = data.Result; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1SendProjectSessionActionCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.databrew#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1StartJobRunCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1StartJobRunCommandError(output, context); + } + const contents: StartJobRunCommandOutput = { + $metadata: deserializeMetadata(output), + RunId: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.RunId !== undefined && data.RunId !== null) { + contents.RunId = data.RunId; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1StartJobRunCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1StartProjectSessionCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1StartProjectSessionCommandError(output, context); + } + const contents: StartProjectSessionCommandOutput = { + $metadata: deserializeMetadata(output), + ClientSessionId: undefined, + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.ClientSessionId !== undefined && data.ClientSessionId !== null) { + contents.ClientSessionId = data.ClientSessionId; + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1StartProjectSessionCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1StopJobRunCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1StopJobRunCommandError(output, context); + } + const contents: StopJobRunCommandOutput = { + $metadata: deserializeMetadata(output), + RunId: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.RunId !== undefined && data.RunId !== null) { + contents.RunId = data.RunId; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1StopJobRunCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1TagResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1TagResourceCommandError(output, context); + } + const contents: TagResourceCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1TagResourceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.databrew#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UntagResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UntagResourceCommandError(output, context); + } + const contents: UntagResourceCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UntagResourceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.databrew#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateDatasetCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateDatasetCommandError(output, context); + } + const contents: UpdateDatasetCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateDatasetCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateProfileJobCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateProfileJobCommandError(output, context); + } + const contents: UpdateProfileJobCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateProfileJobCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateProjectCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateProjectCommandError(output, context); + } + const contents: UpdateProjectCommandOutput = { + $metadata: deserializeMetadata(output), + LastModifiedDate: undefined, + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) { + contents.LastModifiedDate = new Date(Math.round(data.LastModifiedDate * 1000)); + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateProjectCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateRecipeCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateRecipeCommandError(output, context); + } + const contents: UpdateRecipeCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateRecipeCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ResourceNotFoundException": + case "com.amazonaws.databrew#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateRecipeJobCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateRecipeJobCommandError(output, context); + } + const contents: UpdateRecipeJobCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateRecipeJobCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateScheduleCommandError(output, context); + } + const contents: UpdateScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + Name: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.Name !== undefined && data.Name !== null) { + contents.Name = data.Name; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateScheduleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ValidationException": + case "com.amazonaws.databrew#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +const deserializeAws_restJson1AccessDeniedExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: AccessDeniedException = { + name: "AccessDeniedException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + Message: undefined, + }; + const data: any = parsedOutput.body; + if (data.Message !== undefined && data.Message !== null) { + contents.Message = data.Message; + } + return contents; +}; + +const deserializeAws_restJson1ConflictExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ConflictException = { + name: "ConflictException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + Message: undefined, + }; + const data: any = parsedOutput.body; + if (data.Message !== undefined && data.Message !== null) { + contents.Message = data.Message; + } + return contents; +}; + +const deserializeAws_restJson1InternalServerExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: InternalServerException = { + name: "InternalServerException", + $fault: "server", + $metadata: deserializeMetadata(parsedOutput), + Message: undefined, + }; + const data: any = parsedOutput.body; + if (data.Message !== undefined && data.Message !== null) { + contents.Message = data.Message; + } + return contents; +}; + +const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ResourceNotFoundException = { + name: "ResourceNotFoundException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + Message: undefined, + }; + const data: any = parsedOutput.body; + if (data.Message !== undefined && data.Message !== null) { + contents.Message = data.Message; + } + return contents; +}; + +const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ServiceQuotaExceededException = { + name: "ServiceQuotaExceededException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + Message: undefined, + }; + const data: any = parsedOutput.body; + if (data.Message !== undefined && data.Message !== null) { + contents.Message = data.Message; + } + return contents; +}; + +const deserializeAws_restJson1ValidationExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ValidationException = { + name: "ValidationException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + Message: undefined, + }; + const data: any = parsedOutput.body; + if (data.Message !== undefined && data.Message !== null) { + contents.Message = data.Message; + } + return contents; +}; + +const serializeAws_restJson1ColumnNameList = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + +const serializeAws_restJson1ConditionExpression = (input: ConditionExpression, context: __SerdeContext): any => { + return { + ...(input.Condition !== undefined && { Condition: input.Condition }), + ...(input.TargetColumn !== undefined && { TargetColumn: input.TargetColumn }), + ...(input.Value !== undefined && { Value: input.Value }), + }; +}; + +const serializeAws_restJson1ConditionExpressionList = (input: ConditionExpression[], context: __SerdeContext): any => { + return input.map((entry) => serializeAws_restJson1ConditionExpression(entry, context)); +}; + +const serializeAws_restJson1DataCatalogInputDefinition = ( + input: DataCatalogInputDefinition, + context: __SerdeContext +): any => { + return { + ...(input.CatalogId !== undefined && { CatalogId: input.CatalogId }), + ...(input.DatabaseName !== undefined && { DatabaseName: input.DatabaseName }), + ...(input.TableName !== undefined && { TableName: input.TableName }), + ...(input.TempDirectory !== undefined && { + TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context), + }), + }; +}; + +const serializeAws_restJson1ExcelOptions = (input: ExcelOptions, context: __SerdeContext): any => { + return { + ...(input.SheetIndexes !== undefined && { + SheetIndexes: serializeAws_restJson1SheetIndexList(input.SheetIndexes, context), + }), + ...(input.SheetNames !== undefined && { + SheetNames: serializeAws_restJson1SheetNameList(input.SheetNames, context), + }), + }; +}; + +const serializeAws_restJson1FormatOptions = (input: FormatOptions, context: __SerdeContext): any => { + return { + ...(input.Excel !== undefined && { Excel: serializeAws_restJson1ExcelOptions(input.Excel, context) }), + ...(input.Json !== undefined && { Json: serializeAws_restJson1JsonOptions(input.Json, context) }), + }; +}; + +const serializeAws_restJson1HiddenColumnList = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + +const serializeAws_restJson1Input = (input: Input, context: __SerdeContext): any => { + return { + ...(input.DataCatalogInputDefinition !== undefined && { + DataCatalogInputDefinition: serializeAws_restJson1DataCatalogInputDefinition( + input.DataCatalogInputDefinition, + context + ), + }), + ...(input.S3InputDefinition !== undefined && { + S3InputDefinition: serializeAws_restJson1S3Location(input.S3InputDefinition, context), + }), + }; +}; + +const serializeAws_restJson1JobNameList = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + +const serializeAws_restJson1JsonOptions = (input: JsonOptions, context: __SerdeContext): any => { + return { + ...(input.MultiLine !== undefined && { MultiLine: input.MultiLine }), + }; +}; + +const serializeAws_restJson1Output = (input: Output, context: __SerdeContext): any => { + return { + ...(input.CompressionFormat !== undefined && { CompressionFormat: input.CompressionFormat }), + ...(input.Format !== undefined && { Format: input.Format }), + ...(input.Location !== undefined && { Location: serializeAws_restJson1S3Location(input.Location, context) }), + ...(input.Overwrite !== undefined && { Overwrite: input.Overwrite }), + ...(input.PartitionColumns !== undefined && { + PartitionColumns: serializeAws_restJson1ColumnNameList(input.PartitionColumns, context), + }), + }; +}; + +const serializeAws_restJson1OutputList = (input: Output[], context: __SerdeContext): any => { + return input.map((entry) => serializeAws_restJson1Output(entry, context)); +}; + +const serializeAws_restJson1ParameterMap = (input: { [key: string]: string }, context: __SerdeContext): any => { + return Object.entries(input).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + +const serializeAws_restJson1RecipeAction = (input: RecipeAction, context: __SerdeContext): any => { + return { + ...(input.Operation !== undefined && { Operation: input.Operation }), + ...(input.Parameters !== undefined && { + Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context), + }), + }; +}; + +const serializeAws_restJson1RecipeReference = (input: RecipeReference, context: __SerdeContext): any => { + return { + ...(input.Name !== undefined && { Name: input.Name }), + ...(input.RecipeVersion !== undefined && { RecipeVersion: input.RecipeVersion }), + }; +}; + +const serializeAws_restJson1RecipeStep = (input: RecipeStep, context: __SerdeContext): any => { + return { + ...(input.Action !== undefined && { Action: serializeAws_restJson1RecipeAction(input.Action, context) }), + ...(input.ConditionExpressions !== undefined && { + ConditionExpressions: serializeAws_restJson1ConditionExpressionList(input.ConditionExpressions, context), + }), + }; +}; + +const serializeAws_restJson1RecipeStepList = (input: RecipeStep[], context: __SerdeContext): any => { + return input.map((entry) => serializeAws_restJson1RecipeStep(entry, context)); +}; + +const serializeAws_restJson1RecipeVersionList = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + +const serializeAws_restJson1S3Location = (input: S3Location, context: __SerdeContext): any => { + return { + ...(input.Bucket !== undefined && { Bucket: input.Bucket }), + ...(input.Key !== undefined && { Key: input.Key }), + }; +}; + +const serializeAws_restJson1Sample = (input: Sample, context: __SerdeContext): any => { + return { + ...(input.Size !== undefined && { Size: input.Size }), + ...(input.Type !== undefined && { Type: input.Type }), + }; +}; + +const serializeAws_restJson1SheetIndexList = (input: number[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + +const serializeAws_restJson1SheetNameList = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + +const serializeAws_restJson1TagMap = (input: { [key: string]: string }, context: __SerdeContext): any => { + return Object.entries(input).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + +const serializeAws_restJson1ViewFrame = (input: ViewFrame, context: __SerdeContext): any => { + return { + ...(input.ColumnRange !== undefined && { ColumnRange: input.ColumnRange }), + ...(input.HiddenColumns !== undefined && { + HiddenColumns: serializeAws_restJson1HiddenColumnList(input.HiddenColumns, context), + }), + ...(input.StartColumnIndex !== undefined && { StartColumnIndex: input.StartColumnIndex }), + }; +}; + +const deserializeAws_restJson1ColumnNameList = (output: any, context: __SerdeContext): string[] => { + return (output || []).map((entry: any) => entry); +}; + +const deserializeAws_restJson1ConditionExpression = (output: any, context: __SerdeContext): ConditionExpression => { + return { + Condition: output.Condition !== undefined && output.Condition !== null ? output.Condition : undefined, + TargetColumn: output.TargetColumn !== undefined && output.TargetColumn !== null ? output.TargetColumn : undefined, + Value: output.Value !== undefined && output.Value !== null ? output.Value : undefined, + } as any; +}; + +const deserializeAws_restJson1ConditionExpressionList = ( + output: any, + context: __SerdeContext +): ConditionExpression[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1ConditionExpression(entry, context)); +}; + +const deserializeAws_restJson1DataCatalogInputDefinition = ( + output: any, + context: __SerdeContext +): DataCatalogInputDefinition => { + return { + CatalogId: output.CatalogId !== undefined && output.CatalogId !== null ? output.CatalogId : undefined, + DatabaseName: output.DatabaseName !== undefined && output.DatabaseName !== null ? output.DatabaseName : undefined, + TableName: output.TableName !== undefined && output.TableName !== null ? output.TableName : undefined, + TempDirectory: + output.TempDirectory !== undefined && output.TempDirectory !== null + ? deserializeAws_restJson1S3Location(output.TempDirectory, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1Dataset = (output: any, context: __SerdeContext): Dataset => { + return { + AccountId: output.AccountId !== undefined && output.AccountId !== null ? output.AccountId : undefined, + CreateDate: + output.CreateDate !== undefined && output.CreateDate !== null + ? new Date(Math.round(output.CreateDate * 1000)) + : undefined, + CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null ? output.CreatedBy : undefined, + FormatOptions: + output.FormatOptions !== undefined && output.FormatOptions !== null + ? deserializeAws_restJson1FormatOptions(output.FormatOptions, context) + : undefined, + Input: + output.Input !== undefined && output.Input !== null + ? deserializeAws_restJson1Input(output.Input, context) + : undefined, + LastModifiedBy: + output.LastModifiedBy !== undefined && output.LastModifiedBy !== null ? output.LastModifiedBy : undefined, + LastModifiedDate: + output.LastModifiedDate !== undefined && output.LastModifiedDate !== null + ? new Date(Math.round(output.LastModifiedDate * 1000)) + : undefined, + Name: output.Name !== undefined && output.Name !== null ? output.Name : undefined, + ResourceArn: output.ResourceArn !== undefined && output.ResourceArn !== null ? output.ResourceArn : undefined, + Source: output.Source !== undefined && output.Source !== null ? output.Source : undefined, + Tags: + output.Tags !== undefined && output.Tags !== null + ? deserializeAws_restJson1TagMap(output.Tags, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1DatasetList = (output: any, context: __SerdeContext): Dataset[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1Dataset(entry, context)); +}; + +const deserializeAws_restJson1ExcelOptions = (output: any, context: __SerdeContext): ExcelOptions => { + return { + SheetIndexes: + output.SheetIndexes !== undefined && output.SheetIndexes !== null + ? deserializeAws_restJson1SheetIndexList(output.SheetIndexes, context) + : undefined, + SheetNames: + output.SheetNames !== undefined && output.SheetNames !== null + ? deserializeAws_restJson1SheetNameList(output.SheetNames, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1FormatOptions = (output: any, context: __SerdeContext): FormatOptions => { + return { + Excel: + output.Excel !== undefined && output.Excel !== null + ? deserializeAws_restJson1ExcelOptions(output.Excel, context) + : undefined, + Json: + output.Json !== undefined && output.Json !== null + ? deserializeAws_restJson1JsonOptions(output.Json, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1Input = (output: any, context: __SerdeContext): Input => { + return { + DataCatalogInputDefinition: + output.DataCatalogInputDefinition !== undefined && output.DataCatalogInputDefinition !== null + ? deserializeAws_restJson1DataCatalogInputDefinition(output.DataCatalogInputDefinition, context) + : undefined, + S3InputDefinition: + output.S3InputDefinition !== undefined && output.S3InputDefinition !== null + ? deserializeAws_restJson1S3Location(output.S3InputDefinition, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1Job = (output: any, context: __SerdeContext): Job => { + return { + AccountId: output.AccountId !== undefined && output.AccountId !== null ? output.AccountId : undefined, + CreateDate: + output.CreateDate !== undefined && output.CreateDate !== null + ? new Date(Math.round(output.CreateDate * 1000)) + : undefined, + CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null ? output.CreatedBy : undefined, + DatasetName: output.DatasetName !== undefined && output.DatasetName !== null ? output.DatasetName : undefined, + EncryptionKeyArn: + output.EncryptionKeyArn !== undefined && output.EncryptionKeyArn !== null ? output.EncryptionKeyArn : undefined, + EncryptionMode: + output.EncryptionMode !== undefined && output.EncryptionMode !== null ? output.EncryptionMode : undefined, + LastModifiedBy: + output.LastModifiedBy !== undefined && output.LastModifiedBy !== null ? output.LastModifiedBy : undefined, + LastModifiedDate: + output.LastModifiedDate !== undefined && output.LastModifiedDate !== null + ? new Date(Math.round(output.LastModifiedDate * 1000)) + : undefined, + LogSubscription: + output.LogSubscription !== undefined && output.LogSubscription !== null ? output.LogSubscription : undefined, + MaxCapacity: output.MaxCapacity !== undefined && output.MaxCapacity !== null ? output.MaxCapacity : undefined, + MaxRetries: output.MaxRetries !== undefined && output.MaxRetries !== null ? output.MaxRetries : undefined, + Name: output.Name !== undefined && output.Name !== null ? output.Name : undefined, + Outputs: + output.Outputs !== undefined && output.Outputs !== null + ? deserializeAws_restJson1OutputList(output.Outputs, context) + : undefined, + ProjectName: output.ProjectName !== undefined && output.ProjectName !== null ? output.ProjectName : undefined, + RecipeReference: + output.RecipeReference !== undefined && output.RecipeReference !== null + ? deserializeAws_restJson1RecipeReference(output.RecipeReference, context) + : undefined, + ResourceArn: output.ResourceArn !== undefined && output.ResourceArn !== null ? output.ResourceArn : undefined, + RoleArn: output.RoleArn !== undefined && output.RoleArn !== null ? output.RoleArn : undefined, + Tags: + output.Tags !== undefined && output.Tags !== null + ? deserializeAws_restJson1TagMap(output.Tags, context) + : undefined, + Timeout: output.Timeout !== undefined && output.Timeout !== null ? output.Timeout : undefined, + Type: output.Type !== undefined && output.Type !== null ? output.Type : undefined, + } as any; +}; + +const deserializeAws_restJson1JobList = (output: any, context: __SerdeContext): Job[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1Job(entry, context)); +}; + +const deserializeAws_restJson1JobNameList = (output: any, context: __SerdeContext): string[] => { + return (output || []).map((entry: any) => entry); +}; + +const deserializeAws_restJson1JobRun = (output: any, context: __SerdeContext): JobRun => { + return { + Attempt: output.Attempt !== undefined && output.Attempt !== null ? output.Attempt : undefined, + CompletedOn: + output.CompletedOn !== undefined && output.CompletedOn !== null + ? new Date(Math.round(output.CompletedOn * 1000)) + : undefined, + DatasetName: output.DatasetName !== undefined && output.DatasetName !== null ? output.DatasetName : undefined, + ErrorMessage: output.ErrorMessage !== undefined && output.ErrorMessage !== null ? output.ErrorMessage : undefined, + ExecutionTime: + output.ExecutionTime !== undefined && output.ExecutionTime !== null ? output.ExecutionTime : undefined, + JobName: output.JobName !== undefined && output.JobName !== null ? output.JobName : undefined, + LogGroupName: output.LogGroupName !== undefined && output.LogGroupName !== null ? output.LogGroupName : undefined, + LogSubscription: + output.LogSubscription !== undefined && output.LogSubscription !== null ? output.LogSubscription : undefined, + Outputs: + output.Outputs !== undefined && output.Outputs !== null + ? deserializeAws_restJson1OutputList(output.Outputs, context) + : undefined, + RecipeReference: + output.RecipeReference !== undefined && output.RecipeReference !== null + ? deserializeAws_restJson1RecipeReference(output.RecipeReference, context) + : undefined, + RunId: output.RunId !== undefined && output.RunId !== null ? output.RunId : undefined, + StartedBy: output.StartedBy !== undefined && output.StartedBy !== null ? output.StartedBy : undefined, + StartedOn: + output.StartedOn !== undefined && output.StartedOn !== null + ? new Date(Math.round(output.StartedOn * 1000)) + : undefined, + State: output.State !== undefined && output.State !== null ? output.State : undefined, + } as any; +}; + +const deserializeAws_restJson1JobRunList = (output: any, context: __SerdeContext): JobRun[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1JobRun(entry, context)); +}; + +const deserializeAws_restJson1JsonOptions = (output: any, context: __SerdeContext): JsonOptions => { + return { + MultiLine: output.MultiLine !== undefined && output.MultiLine !== null ? output.MultiLine : undefined, + } as any; +}; + +const deserializeAws_restJson1Output = (output: any, context: __SerdeContext): Output => { + return { + CompressionFormat: + output.CompressionFormat !== undefined && output.CompressionFormat !== null + ? output.CompressionFormat + : undefined, + Format: output.Format !== undefined && output.Format !== null ? output.Format : undefined, + Location: + output.Location !== undefined && output.Location !== null + ? deserializeAws_restJson1S3Location(output.Location, context) + : undefined, + Overwrite: output.Overwrite !== undefined && output.Overwrite !== null ? output.Overwrite : undefined, + PartitionColumns: + output.PartitionColumns !== undefined && output.PartitionColumns !== null + ? deserializeAws_restJson1ColumnNameList(output.PartitionColumns, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1OutputList = (output: any, context: __SerdeContext): Output[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1Output(entry, context)); +}; + +const deserializeAws_restJson1ParameterMap = (output: any, context: __SerdeContext): { [key: string]: string } => { + return Object.entries(output).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + +const deserializeAws_restJson1Project = (output: any, context: __SerdeContext): Project => { + return { + AccountId: output.AccountId !== undefined && output.AccountId !== null ? output.AccountId : undefined, + CreateDate: + output.CreateDate !== undefined && output.CreateDate !== null + ? new Date(Math.round(output.CreateDate * 1000)) + : undefined, + CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null ? output.CreatedBy : undefined, + DatasetName: output.DatasetName !== undefined && output.DatasetName !== null ? output.DatasetName : undefined, + LastModifiedBy: + output.LastModifiedBy !== undefined && output.LastModifiedBy !== null ? output.LastModifiedBy : undefined, + LastModifiedDate: + output.LastModifiedDate !== undefined && output.LastModifiedDate !== null + ? new Date(Math.round(output.LastModifiedDate * 1000)) + : undefined, + Name: output.Name !== undefined && output.Name !== null ? output.Name : undefined, + OpenDate: + output.OpenDate !== undefined && output.OpenDate !== null + ? new Date(Math.round(output.OpenDate * 1000)) + : undefined, + OpenedBy: output.OpenedBy !== undefined && output.OpenedBy !== null ? output.OpenedBy : undefined, + RecipeName: output.RecipeName !== undefined && output.RecipeName !== null ? output.RecipeName : undefined, + ResourceArn: output.ResourceArn !== undefined && output.ResourceArn !== null ? output.ResourceArn : undefined, + RoleArn: output.RoleArn !== undefined && output.RoleArn !== null ? output.RoleArn : undefined, + Sample: + output.Sample !== undefined && output.Sample !== null + ? deserializeAws_restJson1Sample(output.Sample, context) + : undefined, + Tags: + output.Tags !== undefined && output.Tags !== null + ? deserializeAws_restJson1TagMap(output.Tags, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1ProjectList = (output: any, context: __SerdeContext): Project[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1Project(entry, context)); +}; + +const deserializeAws_restJson1Recipe = (output: any, context: __SerdeContext): Recipe => { + return { + CreateDate: + output.CreateDate !== undefined && output.CreateDate !== null + ? new Date(Math.round(output.CreateDate * 1000)) + : undefined, + CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null ? output.CreatedBy : undefined, + Description: output.Description !== undefined && output.Description !== null ? output.Description : undefined, + LastModifiedBy: + output.LastModifiedBy !== undefined && output.LastModifiedBy !== null ? output.LastModifiedBy : undefined, + LastModifiedDate: + output.LastModifiedDate !== undefined && output.LastModifiedDate !== null + ? new Date(Math.round(output.LastModifiedDate * 1000)) + : undefined, + Name: output.Name !== undefined && output.Name !== null ? output.Name : undefined, + ProjectName: output.ProjectName !== undefined && output.ProjectName !== null ? output.ProjectName : undefined, + PublishedBy: output.PublishedBy !== undefined && output.PublishedBy !== null ? output.PublishedBy : undefined, + PublishedDate: + output.PublishedDate !== undefined && output.PublishedDate !== null + ? new Date(Math.round(output.PublishedDate * 1000)) + : undefined, + RecipeVersion: + output.RecipeVersion !== undefined && output.RecipeVersion !== null ? output.RecipeVersion : undefined, + ResourceArn: output.ResourceArn !== undefined && output.ResourceArn !== null ? output.ResourceArn : undefined, + Steps: + output.Steps !== undefined && output.Steps !== null + ? deserializeAws_restJson1RecipeStepList(output.Steps, context) + : undefined, + Tags: + output.Tags !== undefined && output.Tags !== null + ? deserializeAws_restJson1TagMap(output.Tags, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1RecipeAction = (output: any, context: __SerdeContext): RecipeAction => { + return { + Operation: output.Operation !== undefined && output.Operation !== null ? output.Operation : undefined, + Parameters: + output.Parameters !== undefined && output.Parameters !== null + ? deserializeAws_restJson1ParameterMap(output.Parameters, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1RecipeErrorList = (output: any, context: __SerdeContext): RecipeVersionErrorDetail[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1RecipeVersionErrorDetail(entry, context)); +}; + +const deserializeAws_restJson1RecipeList = (output: any, context: __SerdeContext): Recipe[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1Recipe(entry, context)); +}; + +const deserializeAws_restJson1RecipeReference = (output: any, context: __SerdeContext): RecipeReference => { + return { + Name: output.Name !== undefined && output.Name !== null ? output.Name : undefined, + RecipeVersion: + output.RecipeVersion !== undefined && output.RecipeVersion !== null ? output.RecipeVersion : undefined, + } as any; +}; + +const deserializeAws_restJson1RecipeStep = (output: any, context: __SerdeContext): RecipeStep => { + return { + Action: + output.Action !== undefined && output.Action !== null + ? deserializeAws_restJson1RecipeAction(output.Action, context) + : undefined, + ConditionExpressions: + output.ConditionExpressions !== undefined && output.ConditionExpressions !== null + ? deserializeAws_restJson1ConditionExpressionList(output.ConditionExpressions, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1RecipeStepList = (output: any, context: __SerdeContext): RecipeStep[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1RecipeStep(entry, context)); +}; + +const deserializeAws_restJson1RecipeVersionErrorDetail = ( + output: any, + context: __SerdeContext +): RecipeVersionErrorDetail => { + return { + ErrorCode: output.ErrorCode !== undefined && output.ErrorCode !== null ? output.ErrorCode : undefined, + ErrorMessage: output.ErrorMessage !== undefined && output.ErrorMessage !== null ? output.ErrorMessage : undefined, + RecipeVersion: + output.RecipeVersion !== undefined && output.RecipeVersion !== null ? output.RecipeVersion : undefined, + } as any; +}; + +const deserializeAws_restJson1S3Location = (output: any, context: __SerdeContext): S3Location => { + return { + Bucket: output.Bucket !== undefined && output.Bucket !== null ? output.Bucket : undefined, + Key: output.Key !== undefined && output.Key !== null ? output.Key : undefined, + } as any; +}; + +const deserializeAws_restJson1Sample = (output: any, context: __SerdeContext): Sample => { + return { + Size: output.Size !== undefined && output.Size !== null ? output.Size : undefined, + Type: output.Type !== undefined && output.Type !== null ? output.Type : undefined, + } as any; +}; + +const deserializeAws_restJson1Schedule = (output: any, context: __SerdeContext): Schedule => { + return { + AccountId: output.AccountId !== undefined && output.AccountId !== null ? output.AccountId : undefined, + CreateDate: + output.CreateDate !== undefined && output.CreateDate !== null + ? new Date(Math.round(output.CreateDate * 1000)) + : undefined, + CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null ? output.CreatedBy : undefined, + CronExpression: + output.CronExpression !== undefined && output.CronExpression !== null ? output.CronExpression : undefined, + JobNames: + output.JobNames !== undefined && output.JobNames !== null + ? deserializeAws_restJson1JobNameList(output.JobNames, context) + : undefined, + LastModifiedBy: + output.LastModifiedBy !== undefined && output.LastModifiedBy !== null ? output.LastModifiedBy : undefined, + LastModifiedDate: + output.LastModifiedDate !== undefined && output.LastModifiedDate !== null + ? new Date(Math.round(output.LastModifiedDate * 1000)) + : undefined, + Name: output.Name !== undefined && output.Name !== null ? output.Name : undefined, + ResourceArn: output.ResourceArn !== undefined && output.ResourceArn !== null ? output.ResourceArn : undefined, + Tags: + output.Tags !== undefined && output.Tags !== null + ? deserializeAws_restJson1TagMap(output.Tags, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1ScheduleList = (output: any, context: __SerdeContext): Schedule[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1Schedule(entry, context)); +}; + +const deserializeAws_restJson1SheetIndexList = (output: any, context: __SerdeContext): number[] => { + return (output || []).map((entry: any) => entry); +}; + +const deserializeAws_restJson1SheetNameList = (output: any, context: __SerdeContext): string[] => { + return (output || []).map((entry: any) => entry); +}; + +const deserializeAws_restJson1TagMap = (output: any, context: __SerdeContext): { [key: string]: string } => { + return Object.entries(output).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + +const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ + httpStatusCode: output.statusCode, + httpHeaders: output.headers, + requestId: output.headers["x-amzn-requestid"], +}); + +// Collect low-level response body stream to Uint8Array. +const collectBody = (streamBody: any = new Uint8Array(), context: __SerdeContext): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } + return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()); +}; + +// Encode Uint8Array data into string with utf-8. +const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => + collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); + +const isSerializableHeaderValue = (value: any): boolean => + value !== undefined && + value !== "" && + (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && + (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); + +const parseBody = (streamBody: any, context: __SerdeContext): any => + collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + return JSON.parse(encoded); + } + return {}; + }); + +/** + * Load an error code for the aws.rest-json-1.1 protocol. + */ +const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string => { + const findKey = (object: any, key: string) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + + const sanitizeErrorCode = (rawValue: string): string => { + let cleanValue = rawValue; + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== undefined) { + return sanitizeErrorCode(output.headers[headerKey]); + } + + if (data.code !== undefined) { + return sanitizeErrorCode(data.code); + } + + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } + + return ""; +}; diff --git a/clients/client-databrew/runtimeConfig.browser.ts b/clients/client-databrew/runtimeConfig.browser.ts new file mode 100644 index 000000000000..227fac2239a9 --- /dev/null +++ b/clients/client-databrew/runtimeConfig.browser.ts @@ -0,0 +1,31 @@ +import packageInfo from "./package.json"; + +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; +import { invalidFunction } from "@aws-sdk/invalid-dependency"; +import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; +import { parseUrl } from "@aws-sdk/url-parser-browser"; +import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; +import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; +import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; +import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser"; +import { ClientDefaults } from "./DataBrewClient"; +import { ClientSharedValues } from "./runtimeConfig.shared"; + +export const ClientDefaultValues: Required = { + ...ClientSharedValues, + runtime: "browser", + base64Decoder: fromBase64, + base64Encoder: toBase64, + bodyLengthChecker: calculateBodyLength, + credentialDefaultProvider: invalidFunction("Credential is missing") as any, + defaultUserAgent: defaultUserAgent(packageInfo.name, packageInfo.version), + maxAttempts: DEFAULT_MAX_ATTEMPTS, + region: invalidFunction("Region is missing") as any, + requestHandler: new FetchHttpHandler(), + sha256: Sha256, + streamCollector, + urlParser: parseUrl, + utf8Decoder: fromUtf8, + utf8Encoder: toUtf8, +}; diff --git a/clients/client-databrew/runtimeConfig.native.ts b/clients/client-databrew/runtimeConfig.native.ts new file mode 100644 index 000000000000..0ca6302c47f7 --- /dev/null +++ b/clients/client-databrew/runtimeConfig.native.ts @@ -0,0 +1,14 @@ +import packageInfo from "./package.json"; + +import { Sha256 } from "@aws-crypto/sha256-js"; +import { parseUrl } from "@aws-sdk/url-parser-node"; +import { ClientDefaults } from "./DataBrewClient"; +import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; + +export const ClientDefaultValues: Required = { + ...BrowserDefaults, + runtime: "react-native", + defaultUserAgent: `aws-sdk-js-v3-react-native-${packageInfo.name}/${packageInfo.version}`, + sha256: Sha256, + urlParser: parseUrl, +}; diff --git a/clients/client-databrew/runtimeConfig.shared.ts b/clients/client-databrew/runtimeConfig.shared.ts new file mode 100644 index 000000000000..1aa9de937f56 --- /dev/null +++ b/clients/client-databrew/runtimeConfig.shared.ts @@ -0,0 +1,10 @@ +import { defaultRegionInfoProvider } from "./endpoints"; +import { Logger as __Logger } from "@aws-sdk/types"; + +export const ClientSharedValues = { + apiVersion: "2017-07-25", + disableHostPrefix: false, + logger: {} as __Logger, + regionInfoProvider: defaultRegionInfoProvider, + signingName: "databrew", +}; diff --git a/clients/client-databrew/runtimeConfig.ts b/clients/client-databrew/runtimeConfig.ts new file mode 100644 index 000000000000..9a9a226ee11f --- /dev/null +++ b/clients/client-databrew/runtimeConfig.ts @@ -0,0 +1,33 @@ +import packageInfo from "./package.json"; + +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver"; +import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; +import { Hash } from "@aws-sdk/hash-node"; +import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; +import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; +import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; +import { parseUrl } from "@aws-sdk/url-parser-node"; +import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; +import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; +import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; +import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node"; +import { ClientDefaults } from "./DataBrewClient"; +import { ClientSharedValues } from "./runtimeConfig.shared"; + +export const ClientDefaultValues: Required = { + ...ClientSharedValues, + runtime: "node", + base64Decoder: fromBase64, + base64Encoder: toBase64, + bodyLengthChecker: calculateBodyLength, + credentialDefaultProvider, + defaultUserAgent: defaultUserAgent(packageInfo.name, packageInfo.version), + maxAttempts: loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: new NodeHttpHandler(), + sha256: Hash.bind(null, "sha256"), + streamCollector, + urlParser: parseUrl, + utf8Decoder: fromUtf8, + utf8Encoder: toUtf8, +}; diff --git a/clients/client-databrew/tsconfig.es.json b/clients/client-databrew/tsconfig.es.json new file mode 100644 index 000000000000..30df5d2e6986 --- /dev/null +++ b/clients/client-databrew/tsconfig.es.json @@ -0,0 +1,12 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "target": "es5", + "module": "esnext", + "moduleResolution": "node", + "declaration": false, + "declarationDir": null, + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], + "outDir": "dist/es" + } +} diff --git a/clients/client-databrew/tsconfig.json b/clients/client-databrew/tsconfig.json new file mode 100644 index 000000000000..3b440583a9a2 --- /dev/null +++ b/clients/client-databrew/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "alwaysStrict": true, + "target": "ES2018", + "module": "commonjs", + "declaration": true, + "strict": true, + "sourceMap": true, + "downlevelIteration": true, + "importHelpers": true, + "noEmitHelpers": true, + "incremental": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "declarationDir": "./types", + "outDir": "dist/cjs" + }, + "typedocOptions": { + "exclude": "**/node_modules/**", + "excludedNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "mode": "file", + "out": "./docs", + "plugin": "@aws-sdk/client-documentation-generator" + } +} diff --git a/clients/client-dataexchange/pagination/ListDataSetRevisionsPaginator.ts b/clients/client-dataexchange/pagination/ListDataSetRevisionsPaginator.ts index 3823e8848fd2..aed80ab1bc3a 100644 --- a/clients/client-dataexchange/pagination/ListDataSetRevisionsPaginator.ts +++ b/clients/client-dataexchange/pagination/ListDataSetRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSetRevisionsCommand(input), ...args); + return await client.send(new ListDataSetRevisionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DataExchange, diff --git a/clients/client-dataexchange/pagination/ListDataSetsPaginator.ts b/clients/client-dataexchange/pagination/ListDataSetsPaginator.ts index 957e9c4bde37..38bc71500b60 100644 --- a/clients/client-dataexchange/pagination/ListDataSetsPaginator.ts +++ b/clients/client-dataexchange/pagination/ListDataSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSetsCommand(input), ...args); + return await client.send(new ListDataSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: DataExchange, diff --git a/clients/client-dataexchange/pagination/ListJobsPaginator.ts b/clients/client-dataexchange/pagination/ListJobsPaginator.ts index 6338c939ab8e..da7873b8e4e0 100644 --- a/clients/client-dataexchange/pagination/ListJobsPaginator.ts +++ b/clients/client-dataexchange/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input), ...args); + return await client.send(new ListJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: DataExchange, diff --git a/clients/client-dataexchange/pagination/ListRevisionAssetsPaginator.ts b/clients/client-dataexchange/pagination/ListRevisionAssetsPaginator.ts index 9ebdc6dac76a..8e228fc4f446 100644 --- a/clients/client-dataexchange/pagination/ListRevisionAssetsPaginator.ts +++ b/clients/client-dataexchange/pagination/ListRevisionAssetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRevisionAssetsCommand(input), ...args); + return await client.send(new ListRevisionAssetsCommand(input, ...args)); }; const makePagedRequest = async ( client: DataExchange, diff --git a/clients/client-datasync/DataSync.ts b/clients/client-datasync/DataSync.ts index 85059ccc0723..b286f4ca6986 100644 --- a/clients/client-datasync/DataSync.ts +++ b/clients/client-datasync/DataSync.ts @@ -118,6 +118,11 @@ import { } from "./commands/UntagResourceCommand"; import { UpdateAgentCommand, UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand"; import { UpdateTaskCommand, UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand"; +import { + UpdateTaskExecutionCommand, + UpdateTaskExecutionCommandInput, + UpdateTaskExecutionCommandOutput, +} from "./commands/UpdateTaskExecutionCommand"; import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** @@ -343,7 +348,8 @@ export class DataSync extends DataSyncClient { *

      Creates an endpoint for an Amazon S3 bucket.

      * * - *

      For more information, see + *

      For + * more information, see * https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli * in the AWS DataSync User Guide.

      */ @@ -1128,4 +1134,45 @@ export class DataSync extends DataSyncClient { return this.send(command, optionsOrCb); } } + + /** + *

      Updates execution of a task.

      + *

      You can modify bandwidth throttling for a task execution that is running or queued. + * For more information, see Adjusting Bandwidth Throttling for a Task Execution.

      + * + * + *

      The only Option that can be modified by UpdateTaskExecution + * is + * BytesPerSecond + * .

      + *
      + */ + public updateTaskExecution( + args: UpdateTaskExecutionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateTaskExecution( + args: UpdateTaskExecutionCommandInput, + cb: (err: any, data?: UpdateTaskExecutionCommandOutput) => void + ): void; + public updateTaskExecution( + args: UpdateTaskExecutionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateTaskExecutionCommandOutput) => void + ): void; + public updateTaskExecution( + args: UpdateTaskExecutionCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateTaskExecutionCommandOutput) => void), + cb?: (err: any, data?: UpdateTaskExecutionCommandOutput) => void + ): Promise | void { + const command = new UpdateTaskExecutionCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } } diff --git a/clients/client-datasync/DataSyncClient.ts b/clients/client-datasync/DataSyncClient.ts index b5d5a67bfbcc..a22ec135fffa 100644 --- a/clients/client-datasync/DataSyncClient.ts +++ b/clients/client-datasync/DataSyncClient.ts @@ -59,6 +59,10 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand"; import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand"; +import { + UpdateTaskExecutionCommandInput, + UpdateTaskExecutionCommandOutput, +} from "./commands/UpdateTaskExecutionCommand"; import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig"; import { EndpointsInputConfig, @@ -139,7 +143,8 @@ export type ServiceInputTypes = | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput - | UpdateTaskCommandInput; + | UpdateTaskCommandInput + | UpdateTaskExecutionCommandInput; export type ServiceOutputTypes = | CancelTaskExecutionCommandOutput @@ -172,7 +177,8 @@ export type ServiceOutputTypes = | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput - | UpdateTaskCommandOutput; + | UpdateTaskCommandOutput + | UpdateTaskExecutionCommandOutput; export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { /** diff --git a/clients/client-datasync/commands/UpdateTaskExecutionCommand.ts b/clients/client-datasync/commands/UpdateTaskExecutionCommand.ts new file mode 100644 index 000000000000..38941a8554ca --- /dev/null +++ b/clients/client-datasync/commands/UpdateTaskExecutionCommand.ts @@ -0,0 +1,82 @@ +import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient"; +import { UpdateTaskExecutionRequest, UpdateTaskExecutionResponse } from "../models/models_0"; +import { + deserializeAws_json1_1UpdateTaskExecutionCommand, + serializeAws_json1_1UpdateTaskExecutionCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateTaskExecutionCommandInput = UpdateTaskExecutionRequest; +export type UpdateTaskExecutionCommandOutput = UpdateTaskExecutionResponse & __MetadataBearer; + +export class UpdateTaskExecutionCommand extends $Command< + UpdateTaskExecutionCommandInput, + UpdateTaskExecutionCommandOutput, + DataSyncClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateTaskExecutionCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DataSyncClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DataSyncClient"; + const commandName = "UpdateTaskExecutionCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateTaskExecutionRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateTaskExecutionResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateTaskExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1UpdateTaskExecutionCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1UpdateTaskExecutionCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-datasync/index.ts b/clients/client-datasync/index.ts index c8b87852935e..28795d305fde 100644 --- a/clients/client-datasync/index.ts +++ b/clients/client-datasync/index.ts @@ -36,5 +36,6 @@ export * from "./commands/TagResourceCommand"; export * from "./commands/UntagResourceCommand"; export * from "./commands/UpdateAgentCommand"; export * from "./commands/UpdateTaskCommand"; +export * from "./commands/UpdateTaskExecutionCommand"; export * from "./pagination/Interfaces"; export * from "./models/index"; diff --git a/clients/client-datasync/models/models_0.ts b/clients/client-datasync/models/models_0.ts index 979d03787307..e0d15ae7ee96 100644 --- a/clients/client-datasync/models/models_0.ts +++ b/clients/client-datasync/models/models_0.ts @@ -12,6 +12,11 @@ export enum AgentStatus { * called.

      */ export interface AgentListEntry { + /** + *

      The Amazon Resource Name (ARN) of the agent.

      + */ + AgentArn?: string; + /** *

      The name of the agent.

      */ @@ -21,11 +26,6 @@ export interface AgentListEntry { *

      The status of the agent.

      */ Status?: AgentStatus | string; - - /** - *

      The Amazon Resource Name (ARN) of the agent.

      - */ - AgentArn?: string; } export namespace AgentListEntry { @@ -69,8 +69,8 @@ export namespace CancelTaskExecutionResponse { export interface InternalException extends __SmithyException, $MetadataBearer { name: "InternalException"; $fault: "server"; - errorCode?: string; message?: string; + errorCode?: string; } export namespace InternalException { @@ -102,14 +102,14 @@ export namespace InvalidRequestException { */ export interface TagListEntry { /** - *

      The value for an AWS resource tag.

      + *

      The key for an AWS resource tag.

      */ - Value?: string; + Key: string | undefined; /** - *

      The key for an AWS resource tag.

      + *

      The value for an AWS resource tag.

      */ - Key: string | undefined; + Value?: string; } export namespace TagListEntry { @@ -139,17 +139,10 @@ export interface CreateAgentRequest { ActivationKey: string | undefined; /** - *

      The ARNs of the security groups used to protect your data transfer task subnets. See CreateAgentRequest$SubnetArns.

      - */ - SecurityGroupArns?: string[]; - - /** - *

      The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is - * the client-side VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC - * endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.

      - *

      VPC endpoint ID looks like this: vpce-01234d5aff67890e1.

      + *

      The name you configured for your agent. This value is a text reference that is used to + * identify the agent in the console.

      */ - VpcEndpointId?: string; + AgentName?: string; /** *

      The key-value pair that represents the tag that you want to associate with the agent. @@ -162,6 +155,14 @@ export interface CreateAgentRequest { */ Tags?: TagListEntry[]; + /** + *

      The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is + * the client-side VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC + * endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.

      + *

      VPC endpoint ID looks like this: vpce-01234d5aff67890e1.

      + */ + VpcEndpointId?: string; + /** *

      The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic * network interfaces for each data transfer task. The agent that runs a task must be private. @@ -173,10 +174,9 @@ export interface CreateAgentRequest { SubnetArns?: string[]; /** - *

      The name you configured for your agent. This value is a text reference that is used to - * identify the agent in the console.

      + *

      The ARNs of the security groups used to protect your data transfer task subnets. See CreateAgentRequest$SubnetArns.

      */ - AgentName?: string; + SecurityGroupArns?: string[]; } export namespace CreateAgentRequest { @@ -209,17 +209,17 @@ export namespace CreateAgentResponse { * subnet specified.

      */ export interface Ec2Config { - /** - *

      The Amazon Resource Names (ARNs) of the security groups that are configured for the - * Amazon EC2 resource.

      - */ - SecurityGroupArns: string[] | undefined; - /** *

      The ARN of the subnet and the security group that DataSync uses to access the target * EFS file system.

      */ SubnetArn: string | undefined; + + /** + *

      The Amazon Resource Names (ARNs) of the security groups that are configured for the + * Amazon EC2 resource.

      + */ + SecurityGroupArns: string[] | undefined; } export namespace Ec2Config { @@ -232,13 +232,6 @@ export namespace Ec2Config { *

      CreateLocationEfsRequest

      */ export interface CreateLocationEfsRequest { - /** - *

      The key-value pair that represents a tag that you want to add to the resource. The - * value can be an empty string. This value helps you manage, filter, and search for your - * resources. We recommend that you create a name tag for your location.

      - */ - Tags?: TagListEntry[]; - /** *

      A subdirectory in the location’s path. This subdirectory in the EFS file system is used * to read data from the EFS source location or write data to the EFS destination. By default, @@ -251,6 +244,11 @@ export interface CreateLocationEfsRequest { */ Subdirectory?: string; + /** + *

      The Amazon Resource Name (ARN) for the Amazon EFS file system.

      + */ + EfsFilesystemArn: string | undefined; + /** *

      The subnet and security group that the Amazon EFS file system uses. The security group * that you provide needs to be able to communicate with the security group on the mount target @@ -280,9 +278,11 @@ export interface CreateLocationEfsRequest { Ec2Config: Ec2Config | undefined; /** - *

      The Amazon Resource Name (ARN) for the Amazon EFS file system.

      + *

      The key-value pair that represents a tag that you want to add to the resource. The + * value can be an empty string. This value helps you manage, filter, and search for your + * resources. We recommend that you create a name tag for your location.

      */ - EfsFilesystemArn: string | undefined; + Tags?: TagListEntry[]; } export namespace CreateLocationEfsRequest { @@ -310,21 +310,21 @@ export namespace CreateLocationEfsResponse { export interface CreateLocationFsxWindowsRequest { /** - *

      The Amazon Resource Names (ARNs) of the security groups that are to use to configure the - * FSx for Windows file system.

      + *

      A subdirectory in the location’s path. This subdirectory in the Amazon FSx for Windows file system is used + * to read data from the Amazon FSx for Windows source location or write data to the FSx for Windows destination.

      */ - SecurityGroupArns: string[] | undefined; + Subdirectory?: string; /** - *

      The name of the Windows domain that the FSx for Windows server belongs to.

      + *

      The Amazon Resource Name (ARN) for the FSx for Windows file system.

      */ - Domain?: string; + FsxFilesystemArn: string | undefined; /** - *

      The password of the user who has the permissions to access files and folders in the + *

      The Amazon Resource Names (ARNs) of the security groups that are to use to configure the * FSx for Windows file system.

      */ - Password: string | undefined; + SecurityGroupArns: string[] | undefined; /** *

      The key-value pair that represents a tag that you want to add to the resource. The @@ -334,21 +334,21 @@ export interface CreateLocationFsxWindowsRequest { Tags?: TagListEntry[]; /** - *

      A subdirectory in the location’s path. This subdirectory in the Amazon FSx for Windows file system is used - * to read data from the Amazon FSx for Windows source location or write data to the FSx for Windows destination.

      + *

      The user who has the permissions to access files and folders in the + * FSx for Windows file system.

      */ - Subdirectory?: string; + User: string | undefined; /** - *

      The Amazon Resource Name (ARN) for the FSx for Windows file system.

      + *

      The name of the Windows domain that the FSx for Windows server belongs to.

      */ - FsxFilesystemArn: string | undefined; + Domain?: string; /** - *

      The user who has the permissions to access files and folders in the + *

      The password of the user who has the permissions to access files and folders in the * FSx for Windows file system.

      */ - User: string | undefined; + Password: string | undefined; } export namespace CreateLocationFsxWindowsRequest { @@ -446,18 +446,12 @@ export namespace OnPremConfig { *

      CreateLocationNfsRequest

      */ export interface CreateLocationNfsRequest { - /** - *

      The key-value pair that represents the tag that you want to add to the location. The - * value can be an empty string. We recommend using tags to name your resources.

      - */ - Tags?: TagListEntry[]; - /** *

      The subdirectory in the NFS file system that is used to read data from the NFS source * location or write data to the NFS destination. The NFS path should be a path that's * exported by the NFS server, or a subdirectory of that path. The path should be such that it * can be mounted by other NFS clients in your network.

      - *

      To see all the paths exported by your NFS server. run "showmount -e + *

      To see all the paths exported by your NFS server, run "showmount -e * nfs-server-name" from an NFS client that has access to your server. You can specify * any directory that appears in the results, and any subdirectory of that directory. Ensure that * the NFS export is accessible without Kerberos authentication.

      @@ -474,11 +468,6 @@ export interface CreateLocationNfsRequest { */ Subdirectory: string | undefined; - /** - *

      The NFS mount options that DataSync can use to mount your NFS share.

      - */ - MountOptions?: NfsMountOptions; - /** *

      The name of the NFS server. This value is the IP address or Domain Name Service (DNS) * name of the NFS server. An agent that is installed on-premises uses this host name to mount @@ -497,6 +486,17 @@ export interface CreateLocationNfsRequest { *

      If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

      */ OnPremConfig: OnPremConfig | undefined; + + /** + *

      The NFS mount options that DataSync can use to mount your NFS share.

      + */ + MountOptions?: NfsMountOptions; + + /** + *

      The key-value pair that represents the tag that you want to add to the location. The + * value can be an empty string. We recommend using tags to name your resources.

      + */ + Tags?: TagListEntry[]; } export namespace CreateLocationNfsRequest { @@ -532,37 +532,36 @@ export enum ObjectStorageServerProtocol { */ export interface CreateLocationObjectStorageRequest { /** - *

      The protocol that the object storage server uses to communicate. - * Valid values are HTTP or HTTPS.

      + *

      The name of the self-managed object storage server. This value is the + * IP address or Domain Name Service (DNS) name of the object storage server. + * An agent uses this host name to mount the object storage server in a network.

      */ - ServerProtocol?: ObjectStorageServerProtocol | string; + ServerHostname: string | undefined; /** - *

      Optional. The secret key is used if credentials are required to access the self-managed - * object storage server. If your object storage requires a user name and password to - * authenticate, use AccessKey and SecretKey to provide the user name - * and password, respectively.

      + *

      The port that your self-managed object storage server accepts inbound network traffic on. + * The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can + * specify a custom port if your self-managed object storage server requires one.

      */ - SecretKey?: string; + ServerPort?: number; /** - *

      The name of the self-managed object storage server. This value is the - * IP address or Domain Name Service (DNS) name of the object storage server. - * An agent uses this host name to mount the object storage server in a network.

      + *

      The protocol that the object storage server uses to communicate. + * Valid values are HTTP or HTTPS.

      */ - ServerHostname: string | undefined; + ServerProtocol?: ObjectStorageServerProtocol | string; /** - *

      The bucket on the self-managed object storage server that is used + *

      The subdirectory in the self-managed object storage server that is used * to read data from.

      */ - BucketName: string | undefined; + Subdirectory?: string; /** - *

      The subdirectory in the self-managed object storage server that is used + *

      The bucket on the self-managed object storage server that is used * to read data from.

      */ - Subdirectory?: string; + BucketName: string | undefined; /** *

      Optional. The access key is used if credentials are required to access the self-managed @@ -573,11 +572,12 @@ export interface CreateLocationObjectStorageRequest { AccessKey?: string; /** - *

      The port that your self-managed object storage server accepts inbound network traffic on. - * The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can - * specify a custom port if your self-managed object storage server requires one.

      + *

      Optional. The secret key is used if credentials are required to access the self-managed + * object storage server. If your object storage requires a user name and password to + * authenticate, use AccessKey and SecretKey to provide the user name + * and password, respectively.

      */ - ServerPort?: number; + SecretKey?: string; /** *

      The Amazon Resource Name (ARN) of the agents associated with the @@ -651,32 +651,24 @@ export enum S3StorageClass { */ export interface CreateLocationS3Request { /** - *

      The Amazon Resource Name (ARN) of the Amazon S3 bucket. If the bucket is on an - * AWS Outpost, this must be an access point ARN.

      - */ - S3BucketArn: string | undefined; - - /** - *

      If you are using DataSync on an AWS Outpost, specify the Amazon Resource Names (ARNs) of - * the DataSync agents deployed on your AWS Outpost. For more information about launching a - * DataSync agent on an Amazon Outpost, see outposts-agent.

      + *

      A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read + * data from the S3 source location or write data to the S3 destination.

      */ - AgentArns?: string[]; + Subdirectory?: string; /** - *

      The key-value pair that represents the tag that you want to add to the location. The - * value can be an empty string. We recommend using tags to name your resources.

      + *

      The ARN of the Amazon S3 bucket. If the bucket is on an AWS Outpost, this must be an + * access point ARN.

      */ - Tags?: TagListEntry[]; + S3BucketArn: string | undefined; /** *

      The Amazon S3 storage class that you want to store your files in when this location is * used as a task destination. For buckets in AWS Regions, the storage class defaults to Standard. * For buckets on AWS Outposts, the storage class defaults to AWS S3 Outposts.

      * - *

      For more information about S3 storage classes, see Amazon S3 Storage Classes in the - * Amazon Simple Storage Service Developer Guide. Some storage classes - * have behaviors that can affect your S3 storage cost. For detailed information, see using-storage-classes.

      + *

      For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that + * can affect your S3 storage cost. For detailed information, see using-storage-classes.

      */ S3StorageClass?: S3StorageClass | string; @@ -690,10 +682,17 @@ export interface CreateLocationS3Request { S3Config: S3Config | undefined; /** - *

      A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read - * data from the S3 source location or write data to the S3 destination.

      + *

      If you are using DataSync on an AWS Outpost, specify the Amazon Resource Names (ARNs) of + * the DataSync agents deployed on your Outpost. For more information about launching a DataSync + * agent on an AWS Outpost, see outposts-agent.

      */ - Subdirectory?: string; + AgentArns?: string[]; + + /** + *

      The key-value pair that represents the tag that you want to add to the location. The + * value can be an empty string. We recommend using tags to name your resources.

      + */ + Tags?: TagListEntry[]; } export namespace CreateLocationS3Request { @@ -748,16 +747,6 @@ export namespace SmbMountOptions { *

      CreateLocationSmbRequest

      */ export interface CreateLocationSmbRequest { - /** - *

      The name of the Windows domain that the SMB server belongs to.

      - */ - Domain?: string; - - /** - *

      The mount options used by DataSync to access the SMB server.

      - */ - MountOptions?: SmbMountOptions; - /** *

      The subdirectory in the SMB file system that is used to read data from the SMB source * location or write data to the SMB destination. The SMB path should be a path that's @@ -779,12 +768,27 @@ export interface CreateLocationSmbRequest { */ Subdirectory: string | undefined; + /** + *

      The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name + * of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB + * server in a network.

      + * + *

      This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

      + *
      + */ + ServerHostname: string | undefined; + /** *

      The user who can mount the share, has the permissions to access files and folders in the * SMB share.

      */ User: string | undefined; + /** + *

      The name of the Windows domain that the SMB server belongs to.

      + */ + Domain?: string; + /** *

      The password of the user who can mount the share, has the permissions to access files and * folders in the SMB share.

      @@ -792,26 +796,21 @@ export interface CreateLocationSmbRequest { Password: string | undefined; /** - *

      The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name - * of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB - * server in a network.

      - * - *

      This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

      - *
      + *

      The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) + * location.

      */ - ServerHostname: string | undefined; + AgentArns: string[] | undefined; /** - *

      The key-value pair that represents the tag that you want to add to the location. The value - * can be an empty string. We recommend using tags to name your resources.

      + *

      The mount options used by DataSync to access the SMB server.

      */ - Tags?: TagListEntry[]; + MountOptions?: SmbMountOptions; /** - *

      The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) - * location.

      + *

      The key-value pair that represents the tag that you want to add to the location. The value + * can be an empty string. We recommend using tags to name your resources.

      */ - AgentArns: string[] | undefined; + Tags?: TagListEntry[]; } export namespace CreateLocationSmbRequest { @@ -961,21 +960,6 @@ export interface Options { */ VerifyMode?: VerifyMode | string; - /** - *

      A value that determines whether AWS DataSync should preserve the metadata of block - * and character devices in the source file system, and recreate the files with that device name - * and metadata on the destination.

      - * - *

      AWS DataSync can't sync the actual contents of such devices, because they are - * nonterminal and don't return an end-of-file (EOF) marker.

      - *
      - *

      Default value: NONE.

      - *

      NONE: Ignore special devices (recommended).

      - *

      PRESERVE: Preserve character and block device metadata. This option isn't currently - * supported for Amazon EFS.

      - */ - PreserveDevices?: PreserveDevices | string; - /** *

      A value that determines whether files at the destination should be overwritten or * preserved when copying files. If set to NEVER a destination file will not be @@ -1004,16 +988,36 @@ export interface Options { Atime?: Atime | string; /** - *

      A value that determines which users or groups can access a file for a specific purpose - * such as reading, writing, or execution of the file.

      - *

      Default value: PRESERVE.

      - *

      PRESERVE: Preserve POSIX-style permissions (recommended).

      - *

      NONE: Ignore permissions.

      + *

      A value that indicates the last time that a file was modified (that is, a file was + * written to) before the PREPARING phase.

      + *

      Default value: PRESERVE.

      + *

      PRESERVE: Preserve original Mtime (recommended)

      + *

      NONE: Ignore Mtime.

      * - *

      AWS DataSync can preserve extant permissions of a source location.

      + *

      If Mtime is set to PRESERVE, Atime must be set to + * BEST_EFFORT.

      + *

      If Mtime is set to NONE, Atime must also be set to NONE. + *

      *
      */ - PosixPermissions?: PosixPermissions | string; + Mtime?: Mtime | string; + + /** + *

      The user ID (UID) of the file's owner.

      + *

      Default value: INT_VALUE. This preserves the integer value of the ID.

      + *

      INT_VALUE: Preserve the integer value of UID and group ID (GID) + * (recommended).

      + *

      NONE: Ignore UID and GID.

      + */ + Uid?: Uid | string; + + /** + *

      The group ID (GID) of the file's owners.

      + *

      Default value: INT_VALUE. This preserves the integer value of the ID.

      + *

      INT_VALUE: Preserve the integer value of user ID (UID) and GID (recommended).

      + *

      NONE: Ignore UID and GID.

      + */ + Gid?: Gid | string; /** *

      A value that specifies whether files in the destination that don't exist in the source @@ -1028,31 +1032,31 @@ export interface Options { PreserveDeletedFiles?: PreserveDeletedFiles | string; /** - *

      The group ID (GID) of the file's owners.

      - *

      Default value: INT_VALUE. This preserves the integer value of the ID.

      - *

      INT_VALUE: Preserve the integer value of user ID (UID) and GID (recommended).

      - *

      NONE: Ignore UID and GID.

      - */ - Gid?: Gid | string; - - /** - *

      The user ID (UID) of the file's owner.

      - *

      Default value: INT_VALUE. This preserves the integer value of the ID.

      - *

      INT_VALUE: Preserve the integer value of UID and group ID (GID) - * (recommended).

      - *

      NONE: Ignore UID and GID.

      + *

      A value that determines whether AWS DataSync should preserve the metadata of block + * and character devices in the source file system, and recreate the files with that device name + * and metadata on the destination.

      + * + *

      AWS DataSync can't sync the actual contents of such devices, because they are + * nonterminal and don't return an end-of-file (EOF) marker.

      + *
      + *

      Default value: NONE.

      + *

      NONE: Ignore special devices (recommended).

      + *

      PRESERVE: Preserve character and block device metadata. This option isn't currently + * supported for Amazon EFS.

      */ - Uid?: Uid | string; + PreserveDevices?: PreserveDevices | string; /** - *

      A value that determines the type of logs that DataSync publishes to a log stream in the - * Amazon CloudWatch log group that you provide. For more information about providing a log group - * for DataSync, see CloudWatchLogGroupArn. If set to OFF, no logs are published. - * BASIC publishes logs on errors for individual files transferred, and - * TRANSFER publishes logs for every file or object that is transferred and - * integrity checked.

      + *

      A value that determines which users or groups can access a file for a specific purpose + * such as reading, writing, or execution of the file.

      + *

      Default value: PRESERVE.

      + *

      PRESERVE: Preserve POSIX-style permissions (recommended).

      + *

      NONE: Ignore permissions.

      + * + *

      AWS DataSync can preserve extant permissions of a source location.

      + *
      */ - LogLevel?: LogLevel | string; + PosixPermissions?: PosixPermissions | string; /** *

      A value that limits the bandwidth used by AWS DataSync. For example, if you want @@ -1062,19 +1066,22 @@ export interface Options { BytesPerSecond?: number; /** - *

      A value that indicates the last time that a file was modified (that is, a file was - * written to) before the PREPARING phase.

      - *

      Default value: PRESERVE.

      - *

      PRESERVE: Preserve original Mtime (recommended)

      - *

      NONE: Ignore Mtime.

      - * - *

      If Mtime is set to PRESERVE, Atime must be set to - * BEST_EFFORT.

      - *

      If Mtime is set to NONE, Atime must also be set to NONE. - *

      - *
      + *

      A value that determines whether tasks should be queued before executing the tasks. If set + * to ENABLED, the tasks will be queued. The default is ENABLED.

      + *

      If you use the same agent to run multiple tasks, you can enable the tasks to run in + * series. For more information, see queue-task-execution.

      */ - Mtime?: Mtime | string; + TaskQueueing?: TaskQueueing | string; + + /** + *

      A value that determines the type of logs that DataSync publishes to a log stream in the + * Amazon CloudWatch log group that you provide. For more information about providing a log group + * for DataSync, see CloudWatchLogGroupArn. If set to OFF, no logs are published. + * BASIC publishes logs on errors for individual files transferred, and + * TRANSFER publishes logs for every file or object that is transferred and + * integrity checked.

      + */ + LogLevel?: LogLevel | string; /** *

      A value that determines whether DataSync transfers only the data and metadata that differ between the source @@ -1086,14 +1093,6 @@ export interface Options { * the destination.

      */ TransferMode?: TransferMode | string; - - /** - *

      A value that determines whether tasks should be queued before executing the tasks. If set - * to ENABLED, the tasks will be queued. The default is ENABLED.

      - *

      If you use the same agent to run multiple tasks, you can enable the tasks to run in - * series. For more information, see queue-task-execution.

      - */ - TaskQueueing?: TaskQueueing | string; } export namespace Options { @@ -1129,6 +1128,23 @@ export interface CreateTaskRequest { */ SourceLocationArn: string | undefined; + /** + *

      The Amazon Resource Name (ARN) of an AWS storage resource's location.

      + */ + DestinationLocationArn: string | undefined; + + /** + *

      The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to + * monitor and log events in the task.

      + */ + CloudWatchLogGroupArn?: string; + + /** + *

      The name of a task. This value is a text reference that is used to identify the task in + * the console.

      + */ + Name?: string; + /** *

      The set of configuration options that control the behavior of a single execution of the * task that occurs when you call StartTaskExecution. You can configure these @@ -1140,44 +1156,26 @@ export interface CreateTaskRequest { */ Options?: Options; - /** - *

      The name of a task. This value is a text reference that is used to identify the task in - * the console.

      - */ - Name?: string; - /** *

      A list of filter rules that determines which files to exclude from a task. The list should * contain a single filter string that consists of the patterns to exclude. The patterns are - * delimited by "|" (that is, a pipe), for example, "/folder1|/folder2" - *

      + * delimited by "|" (that is, a pipe), for example, "/folder1|/folder2".

      *

      *

      */ Excludes?: FilterRule[]; - /** - *

      The key-value pair that represents the tag that you want to add to the resource. The - * value can be an empty string.

      - */ - Tags?: TagListEntry[]; - - /** - *

      The Amazon Resource Name (ARN) of an AWS storage resource's location.

      - */ - DestinationLocationArn: string | undefined; - - /** - *

      The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to - * monitor and log events in the task.

      - */ - CloudWatchLogGroupArn?: string; - /** *

      Specifies a schedule used to periodically transfer files from a source to a destination * location. The schedule should be specified in UTC time. For more information, see task-scheduling.

      */ Schedule?: TaskSchedule; + + /** + *

      The key-value pair that represents the tag that you want to add to the resource. The + * value can be an empty string.

      + */ + Tags?: TagListEntry[]; } export namespace CreateTaskRequest { @@ -1308,6 +1306,13 @@ export interface PrivateLinkConfig { */ VpcEndpointId?: string; + /** + *

      The private endpoint that is configured for an agent that has access to IP addresses in a + * PrivateLink. An agent that is configured with this endpoint will not be accessible + * over the public internet.

      + */ + PrivateLinkEndpoint?: string; + /** *

      The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated * in a VPC or an agent that has access to a VPC endpoint.

      @@ -1320,13 +1325,6 @@ export interface PrivateLinkConfig { * endpoint.

      */ SecurityGroupArns?: string[]; - - /** - *

      The private endpoint that is configured for an agent that has access to IP addresses in a - * PrivateLink. An agent that is configured with this endpoint will not be accessible - * over the public internet.

      - */ - PrivateLinkEndpoint?: string; } export namespace PrivateLinkConfig { @@ -1339,21 +1337,15 @@ export namespace PrivateLinkConfig { *

      DescribeAgentResponse

      */ export interface DescribeAgentResponse { - /** - *

      The time that the agent was activated (that is, created in your account).

      - */ - CreationTime?: Date; - /** *

      The Amazon Resource Name (ARN) of the agent.

      */ AgentArn?: string; /** - *

      The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, - * the agent is not accessible over the public internet.

      + *

      The name of the agent.

      */ - EndpointType?: EndpointType | string; + Name?: string; /** *

      The status of the agent. If the status is ONLINE, then the agent is configured properly @@ -1365,19 +1357,25 @@ export interface DescribeAgentResponse { Status?: AgentStatus | string; /** - *

      The subnet and the security group that DataSync used to access a VPC endpoint.

      + *

      The time that the agent last connected to DataSyc.

      */ - PrivateLinkConfig?: PrivateLinkConfig; + LastConnectionTime?: Date; /** - *

      The time that the agent last connected to DataSyc.

      + *

      The time that the agent was activated (that is, created in your account).

      */ - LastConnectionTime?: Date; + CreationTime?: Date; /** - *

      The name of the agent.

      + *

      The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, + * the agent is not accessible over the public internet.

      */ - Name?: string; + EndpointType?: EndpointType | string; + + /** + *

      The subnet and the security group that DataSync used to access a VPC endpoint.

      + */ + PrivateLinkConfig?: PrivateLinkConfig; } export namespace DescribeAgentResponse { @@ -1407,9 +1405,14 @@ export namespace DescribeLocationEfsRequest { */ export interface DescribeLocationEfsResponse { /** - *

      The time that the EFS location was created.

      + *

      The Amazon Resource Name (ARN) of the EFS location that was described.

      */ - CreationTime?: Date; + LocationArn?: string; + + /** + *

      The URL of the EFS location that was described.

      + */ + LocationUri?: string; /** *

      The subnet and the security group that DataSync uses to access target EFS file system. @@ -1420,14 +1423,9 @@ export interface DescribeLocationEfsResponse { Ec2Config?: Ec2Config; /** - *

      The Amazon Resource Name (ARN) of the EFS location that was described.

      - */ - LocationArn?: string; - - /** - *

      The URL of the EFS location that was described.

      + *

      The time that the EFS location was created.

      */ - LocationUri?: string; + CreationTime?: Date; } export namespace DescribeLocationEfsResponse { @@ -1461,10 +1459,10 @@ export interface DescribeLocationFsxWindowsResponse { LocationUri?: string; /** - *

      The user who has the permissions to access files and folders in the - * FSx for Windows file system.

      + *

      The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx + * for Windows file system.

      */ - User?: string; + SecurityGroupArns?: string[]; /** *

      The time that the FSx for Windows location was created.

      @@ -1472,10 +1470,10 @@ export interface DescribeLocationFsxWindowsResponse { CreationTime?: Date; /** - *

      The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx - * for Windows file system.

      + *

      The user who has the permissions to access files and folders in the + * FSx for Windows file system.

      */ - SecurityGroupArns?: string[]; + User?: string; /** *

      The name of the Windows domain that the FSx for Windows server belongs to.

      @@ -1510,9 +1508,9 @@ export namespace DescribeLocationNfsRequest { */ export interface DescribeLocationNfsResponse { /** - *

      The NFS mount options that DataSync used to mount your NFS share.

      + *

      The Amazon Resource Name (ARN) of the NFS location that was described.

      */ - MountOptions?: NfsMountOptions; + LocationArn?: string; /** *

      The URL of the source NFS location that was described.

      @@ -1520,20 +1518,20 @@ export interface DescribeLocationNfsResponse { LocationUri?: string; /** - *

      The Amazon Resource Name (ARN) of the NFS location that was described.

      + *

      A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) + * location.

      */ - LocationArn?: string; + OnPremConfig?: OnPremConfig; /** - *

      The time that the NFS location was created.

      + *

      The NFS mount options that DataSync used to mount your NFS share.

      */ - CreationTime?: Date; + MountOptions?: NfsMountOptions; /** - *

      A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) - * location.

      + *

      The time that the NFS location was created.

      */ - OnPremConfig?: OnPremConfig; + CreationTime?: Date; } export namespace DescribeLocationNfsResponse { @@ -1563,21 +1561,9 @@ export namespace DescribeLocationObjectStorageRequest { */ export interface DescribeLocationObjectStorageResponse { /** - *

      The Amazon Resource Name (ARN) of the agents associated with the - * self-managed object storage server location.

      - */ - AgentArns?: string[]; - - /** - *

      The time that the self-managed object storage server agent was created.

      - */ - CreationTime?: Date; - - /** - *

      The protocol that the object storage server uses to communicate. - * Valid values are HTTP or HTTPS.

      + *

      The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.

      */ - ServerProtocol?: ObjectStorageServerProtocol | string; + LocationArn?: string; /** *

      The URL of the source self-managed object storage server location that was described.

      @@ -1599,9 +1585,21 @@ export interface DescribeLocationObjectStorageResponse { ServerPort?: number; /** - *

      The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.

      + *

      The protocol that the object storage server uses to communicate. + * Valid values are HTTP or HTTPS.

      */ - LocationArn?: string; + ServerProtocol?: ObjectStorageServerProtocol | string; + + /** + *

      The Amazon Resource Name (ARN) of the agents associated with the + * self-managed object storage server location.

      + */ + AgentArns?: string[]; + + /** + *

      The time that the self-managed object storage server agent was created.

      + */ + CreationTime?: Date; } export namespace DescribeLocationObjectStorageResponse { @@ -1640,23 +1638,11 @@ export interface DescribeLocationS3Response { */ LocationUri?: string; - /** - *

      If you are using DataSync on an Amazon Outpost, the Amazon Resource Name (ARNs) - * of the EC2 agents deployed on your AWS Outpost. For more information about launching - * a DataSync agent on an Amazon Outpost, see outposts-agent.

      - */ - AgentArns?: string[]; - - /** - *

      The time that the Amazon S3 bucket location was created.

      - */ - CreationTime?: Date; - /** *

      The Amazon S3 storage class that you chose to store your files in when this location is - * used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes in the - * Amazon Simple Storage Service Developer Guide. Some storage classes - * have behaviors that can affect your S3 storage cost. For detailed information, see using-storage-classes.

      + * used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage + * classes have behaviors that can affect your S3 storage cost. For detailed information, see + * using-storage-classes.

      */ S3StorageClass?: S3StorageClass | string; @@ -1668,6 +1654,18 @@ export interface DescribeLocationS3Response { * Amazon S3 in the AWS DataSync User Guide.

      */ S3Config?: S3Config; + + /** + *

      If you are using DataSync on an AWS Outpost, the Amazon Resource Name (ARNs) of the EC2 + * agents deployed on your Outpost. For more information about launching a DataSync agent on an + * AWS Outpost, see outposts-agent.

      + */ + AgentArns?: string[]; + + /** + *

      The time that the Amazon S3 bucket location was created.

      + */ + CreationTime?: Date; } export namespace DescribeLocationS3Response { @@ -1697,26 +1695,26 @@ export namespace DescribeLocationSmbRequest { */ export interface DescribeLocationSmbResponse { /** - *

      The Amazon Resource Name (ARN) of the source SMB file system location that is - * created.

      + *

      The Amazon Resource Name (ARN) of the SMB location that was described.

      */ - AgentArns?: string[]; + LocationArn?: string; /** - *

      The user who can mount the share, has the permissions to access files and folders in the - * SMB share.

      + *

      The URL of the source SBM location that was described.

      */ - User?: string; + LocationUri?: string; /** - *

      The URL of the source SBM location that was described.

      + *

      The Amazon Resource Name (ARN) of the source SMB file system location that is + * created.

      */ - LocationUri?: string; + AgentArns?: string[]; /** - *

      The time that the SMB location was created.

      + *

      The user who can mount the share, has the permissions to access files and folders in the + * SMB share.

      */ - CreationTime?: Date; + User?: string; /** *

      The name of the Windows domain that the SMB server belongs to.

      @@ -1724,14 +1722,14 @@ export interface DescribeLocationSmbResponse { Domain?: string; /** - *

      The Amazon Resource Name (ARN) of the SMB location that was described.

      + *

      The mount options that are available for DataSync to use to access an SMB location.

      */ - LocationArn?: string; + MountOptions?: SmbMountOptions; /** - *

      The mount options that are available for DataSync to use to access an SMB location.

      + *

      The time that the SMB location was created.

      */ - MountOptions?: SmbMountOptions; + CreationTime?: Date; } export namespace DescribeLocationSmbResponse { @@ -1769,16 +1767,18 @@ export enum TaskStatus { */ export interface DescribeTaskResponse { /** - *

      Detailed description of an error that was encountered during the task execution. You - * can use this information to help troubleshoot issues.

      + *

      The Amazon Resource Name (ARN) of the task that was described.

      */ - ErrorDetail?: string; + TaskArn?: string; /** - *

      The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that - * was created for your subnet.

      + *

      The status of the task that was described.

      + * + * + *

      For detailed information about task execution statuses, see Understanding + * Task Statuses in the AWS DataSync User Guide.

      */ - DestinationNetworkInterfaceArns?: string[]; + Status?: TaskStatus | string; /** *

      The name of the task that was described.

      @@ -1791,14 +1791,9 @@ export interface DescribeTaskResponse { CurrentTaskExecutionArn?: string; /** - *

      A list of filter rules that determines which files to exclude from a task. The list should - * contain a single filter string that consists of the patterns to exclude. The patterns are - * delimited by "|" (that is, a pipe), for example: "/folder1|/folder2" - *

      - *

      - *

      + *

      The Amazon Resource Name (ARN) of the source file system's location.

      */ - Excludes?: FilterRule[]; + SourceLocationArn?: string; /** *

      The Amazon Resource Name (ARN) of the AWS storage resource's location.

      @@ -1806,9 +1801,14 @@ export interface DescribeTaskResponse { DestinationLocationArn?: string; /** - *

      The Amazon Resource Name (ARN) of the task that was described.

      + *

      The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to + * monitor and log events in the task.

      + * + * + *

      For more information on these groups, see Working with Log Groups and Log + * Streams in the Amazon CloudWatch User Guide.

      */ - TaskArn?: string; + CloudWatchLogGroupArn?: string; /** *

      The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was @@ -1817,56 +1817,53 @@ export interface DescribeTaskResponse { SourceNetworkInterfaceArns?: string[]; /** - *

      The status of the task that was described.

      - * - * - *

      For detailed information about task execution statuses, see Understanding - * Task Statuses in the AWS DataSync User Guide. - *

      + *

      The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that + * was created for your subnet.

      */ - Status?: TaskStatus | string; + DestinationNetworkInterfaceArns?: string[]; /** - *

      The schedule used to periodically transfer files from a source to a destination location.

      + *

      The set of configuration options that control the behavior of a single execution of the + * task that occurs when you call StartTaskExecution. You can configure these + * options to preserve metadata such as user ID (UID) and group (GID), file permissions, data + * integrity verification, and so on.

      + *

      For each individual task execution, you can override these options by specifying the + * overriding OverrideOptions value to + * operation.

      */ - Schedule?: TaskSchedule; + Options?: Options; /** - *

      Errors that AWS DataSync encountered during execution of the task. You can use this - * error code to help troubleshoot issues.

      + *

      A list of filter rules that determines which files to exclude from a task. The list should + * contain a single filter string that consists of the patterns to exclude. The patterns are + * delimited by "|" (that is, a pipe), for example: "/folder1|/folder2" + *

      + *

      + *

      */ - ErrorCode?: string; + Excludes?: FilterRule[]; /** - *

      The time that the task was created.

      + *

      The schedule used to periodically transfer files from a source to a destination location.

      */ - CreationTime?: Date; + Schedule?: TaskSchedule; /** - *

      The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to - * monitor and log events in the task.

      - * - * - *

      For more information on these groups, see Working with Log Groups and Log - * Streams in the Amazon CloudWatch User Guide.

      + *

      Errors that AWS DataSync encountered during execution of the task. You can use this + * error code to help troubleshoot issues.

      */ - CloudWatchLogGroupArn?: string; + ErrorCode?: string; /** - *

      The Amazon Resource Name (ARN) of the source file system's location.

      + *

      Detailed description of an error that was encountered during the task execution. You + * can use this information to help troubleshoot issues.

      */ - SourceLocationArn?: string; + ErrorDetail?: string; /** - *

      The set of configuration options that control the behavior of a single execution of the - * task that occurs when you call StartTaskExecution. You can configure these - * options to preserve metadata such as user ID (UID) and group (GID), file permissions, data - * integrity verification, and so on.

      - *

      For each individual task execution, you can override these options by specifying the - * overriding OverrideOptions value to - * operation.

      + *

      The time that the task was created.

      */ - Options?: Options; + CreationTime?: Date; } export namespace DescribeTaskResponse { @@ -1904,54 +1901,54 @@ export enum PhaseStatus { */ export interface TaskExecutionResultDetail { /** - *

      The status of the PREPARING phase.

      + *

      The total time in milliseconds that AWS DataSync spent in the PREPARING phase. + *

      */ - PrepareStatus?: PhaseStatus | string; + PrepareDuration?: number; /** - *

      The status of the VERIFYING Phase.

      + *

      The status of the PREPARING phase.

      */ - VerifyStatus?: PhaseStatus | string; + PrepareStatus?: PhaseStatus | string; /** - *

      The total time in milliseconds that AWS DataSync spent in the PREPARING phase. - *

      + *

      The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination location.

      */ - PrepareDuration?: number; + TotalDuration?: number; /** - *

      The total time in milliseconds that AWS DataSync spent in the VERIFYING + *

      The total time in milliseconds that AWS DataSync spent in the TRANSFERRING * phase.

      */ - VerifyDuration?: number; + TransferDuration?: number; /** - *

      Errors that AWS DataSync encountered during execution of the task. You can use this - * error code to help troubleshoot issues.

      + *

      The status of the TRANSFERRING phase.

      */ - ErrorCode?: string; + TransferStatus?: PhaseStatus | string; /** - *

      Detailed description of an error that was encountered during the task execution. You - * can use this information to help troubleshoot issues.

      + *

      The total time in milliseconds that AWS DataSync spent in the VERIFYING + * phase.

      */ - ErrorDetail?: string; + VerifyDuration?: number; /** - *

      The status of the TRANSFERRING Phase.

      + *

      The status of the VERIFYING phase.

      */ - TransferStatus?: PhaseStatus | string; + VerifyStatus?: PhaseStatus | string; /** - *

      The total time in milliseconds that AWS DataSync took to transfer the file from the source to the destination location.

      + *

      Errors that AWS DataSync encountered during execution of the task. You can use this + * error code to help troubleshoot issues.

      */ - TotalDuration?: number; + ErrorCode?: string; /** - *

      The total time in milliseconds that AWS DataSync spent in the TRANSFERRING - * phase.

      + *

      Detailed description of an error that was encountered during the task execution. You + * can use this information to help troubleshoot issues.

      */ - TransferDuration?: number; + ErrorDetail?: string; } export namespace TaskExecutionResultDetail { @@ -1975,15 +1972,15 @@ export enum TaskExecutionStatus { */ export interface DescribeTaskExecutionResponse { /** - *

      Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user - * ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, - * data integrity verification, and so on.

      - *

      A task has a set of default options associated with it. If you don't specify an option - * in StartTaskExecution, the default value is used. You can override the - * defaults options on each task execution by specifying an overriding Options value - * to StartTaskExecution.

      + *

      The Amazon Resource Name (ARN) of the task execution that was described. + * TaskExecutionArn is hierarchical and includes TaskArn for the task + * that was executed.

      + *

      For example, a TaskExecution value with the ARN + * arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b + * executed the task with the ARN + * arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.

      */ - Options?: Options; + TaskExecutionArn?: string; /** *

      The status of the task execution.

      @@ -1996,21 +1993,15 @@ export interface DescribeTaskExecutionResponse { Status?: TaskExecutionStatus | string; /** - *

      The physical number of bytes transferred over the network.

      - */ - BytesTransferred?: number; - - /** - *

      The actual number of files that was transferred over the network. This value is - * calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated - * periodically when each file is read from the source and sent over the network.

      - *

      If failures occur during a transfer, this value can be less than - * EstimatedFilesToTransfer. This value can also be greater than - * EstimatedFilesTransferred in some cases. This element is - * implementation-specific for some location types, so don't use it as an indicator for a correct - * file number or to monitor your task execution.

      + *

      Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user + * ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, + * data integrity verification, and so on.

      + *

      A task has a set of default options associated with it. If you don't specify an option + * in StartTaskExecution, the default value is used. You can override the + * defaults options on each task execution by specifying an overriding Options value + * to StartTaskExecution.

      */ - FilesTransferred?: number; + Options?: Options; /** *

      A list of filter rules that determines which files to exclude from a task. The list should @@ -2033,9 +2024,9 @@ export interface DescribeTaskExecutionResponse { Includes?: FilterRule[]; /** - *

      The number of logical bytes written to the destination AWS storage resource.

      + *

      The time that the task execution was started.

      */ - BytesWritten?: number; + StartTime?: Date; /** *

      The expected number of files that is to be transferred over the network. This value is @@ -2047,31 +2038,37 @@ export interface DescribeTaskExecutionResponse { EstimatedFilesToTransfer?: number; /** - *

      The result of the task execution.

      + *

      The estimated physical number of bytes that is to be transferred over the + * network.

      */ - Result?: TaskExecutionResultDetail; + EstimatedBytesToTransfer?: number; /** - *

      The Amazon Resource Name (ARN) of the task execution that was described. - * TaskExecutionArn is hierarchical and includes TaskArn for the task - * that was executed.

      - *

      For example, a TaskExecution value with the ARN - * arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b - * executed the task with the ARN - * arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.

      + *

      The actual number of files that was transferred over the network. This value is + * calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated + * periodically when each file is read from the source and sent over the network.

      + *

      If failures occur during a transfer, this value can be less than + * EstimatedFilesToTransfer. This value can also be greater than + * EstimatedFilesTransferred in some cases. This element is + * implementation-specific for some location types, so don't use it as an indicator for a correct + * file number or to monitor your task execution.

      */ - TaskExecutionArn?: string; + FilesTransferred?: number; /** - *

      The estimated physical number of bytes that is to be transferred over the - * network.

      + *

      The number of logical bytes written to the destination AWS storage resource.

      */ - EstimatedBytesToTransfer?: number; + BytesWritten?: number; /** - *

      The time that the task execution was started.

      + *

      The physical number of bytes transferred over the network.

      */ - StartTime?: Date; + BytesTransferred?: number; + + /** + *

      The result of the task execution.

      + */ + Result?: TaskExecutionResultDetail; } export namespace DescribeTaskExecutionResponse { @@ -2107,15 +2104,15 @@ export namespace ListAgentsRequest { */ export interface ListAgentsResponse { /** - *

      An opaque string that indicates the position at which to begin returning the next list - * of agents.

      + *

      A list of agents in your account.

      */ - NextToken?: string; + Agents?: AgentListEntry[]; /** - *

      A list of agents in your account.

      + *

      An opaque string that indicates the position at which to begin returning the next list + * of agents.

      */ - Agents?: AgentListEntry[]; + NextToken?: string; } export namespace ListAgentsResponse { @@ -2150,10 +2147,10 @@ export enum Operator { */ export interface LocationFilter { /** - *

      The operator that is used to compare filter values (for example, Equals or - * Contains). For more about API filtering operators, see query-resources.

      + *

      The name of the filter being used. Each API call supports a list of filters that are available + * for it (for example, LocationType for ListLocations).

      */ - Operator: Operator | string | undefined; + Name: LocationFilterName | string | undefined; /** *

      The values that you want to filter for. For example, you might want to display only Amazon S3 @@ -2162,10 +2159,10 @@ export interface LocationFilter { Values: string[] | undefined; /** - *

      The name of the filter being used. Each API call supports a list of filters that are available - * for it (for example, LocationType for ListLocations).

      + *

      The operator that is used to compare filter values (for example, Equals or + * Contains). For more about API filtering operators, see query-resources.

      */ - Name: LocationFilterName | string | undefined; + Operator: Operator | string | undefined; } export namespace LocationFilter { @@ -2179,11 +2176,9 @@ export namespace LocationFilter { */ export interface ListLocationsRequest { /** - *

      You can use API filters to narrow down the list of resources returned by ListLocations. - * For example, to retrieve all tasks on a specific source location, you can use ListLocations - * with filter name LocationType S3 and Operator Equals.

      + *

      The maximum number of locations to return.

      */ - Filters?: LocationFilter[]; + MaxResults?: number; /** *

      An opaque string that indicates the position at which to begin the next list of @@ -2192,9 +2187,11 @@ export interface ListLocationsRequest { NextToken?: string; /** - *

      The maximum number of locations to return.

      + *

      You can use API filters to narrow down the list of resources returned by ListLocations. + * For example, to retrieve all tasks on a specific source location, you can use ListLocations + * with filter name LocationType S3 and Operator Equals.

      */ - MaxResults?: number; + Filters?: LocationFilter[]; } export namespace ListLocationsRequest { @@ -2295,15 +2292,15 @@ export namespace ListTagsForResourceRequest { */ export interface ListTagsForResourceResponse { /** - *

      An opaque string that indicates the position at which to begin returning the next list - * of resource tags.

      + *

      Array of resource tags.

      */ - NextToken?: string; + Tags?: TagListEntry[]; /** - *

      Array of resource tags.

      + *

      An opaque string that indicates the position at which to begin returning the next list + * of resource tags.

      */ - Tags?: TagListEntry[]; + NextToken?: string; } export namespace ListTagsForResourceResponse { @@ -2397,10 +2394,10 @@ export enum TaskFilterName { */ export interface TaskFilter { /** - *

      The operator that is used to compare filter values (for example, Equals or - * Contains). For more about API filtering operators, see query-resources.

      + *

      The name of the filter being used. Each API call supports a list of filters that are available + * for it. For example, LocationId for ListTasks.

      */ - Operator: Operator | string | undefined; + Name: TaskFilterName | string | undefined; /** *

      The values that you want to filter for. For example, you might want to display only tasks @@ -2409,10 +2406,10 @@ export interface TaskFilter { Values: string[] | undefined; /** - *

      The name of the filter being used. Each API call supports a list of filters that are available - * for it. For example, LocationId for ListTasks.

      + *

      The operator that is used to compare filter values (for example, Equals or + * Contains). For more about API filtering operators, see query-resources.

      */ - Name: TaskFilterName | string | undefined; + Operator: Operator | string | undefined; } export namespace TaskFilter { @@ -2426,12 +2423,9 @@ export namespace TaskFilter { */ export interface ListTasksRequest { /** - *

      You can use API filters to narrow down the list of resources returned by ListTasks. - * For example, to retrieve all tasks on a specific source location, you can use ListTasks - * with filter name LocationId and Operator Equals with the ARN for the - * location.

      + *

      The maximum number of tasks to return.

      */ - Filters?: TaskFilter[]; + MaxResults?: number; /** *

      An opaque string that indicates the position at which to begin the next list of @@ -2440,9 +2434,12 @@ export interface ListTasksRequest { NextToken?: string; /** - *

      The maximum number of tasks to return.

      + *

      You can use API filters to narrow down the list of resources returned by ListTasks. + * For example, to retrieve all tasks on a specific source location, you can use ListTasks + * with filter name LocationId and Operator Equals with the ARN for the + * location.

      */ - MaxResults?: number; + Filters?: TaskFilter[]; } export namespace ListTasksRequest { @@ -2458,6 +2455,11 @@ export namespace ListTasksRequest { * tasks.

      */ export interface TaskListEntry { + /** + *

      The Amazon Resource Name (ARN) of the task.

      + */ + TaskArn?: string; + /** *

      The status of the task.

      */ @@ -2467,11 +2469,6 @@ export interface TaskListEntry { *

      The name of the task.

      */ Name?: string; - - /** - *

      The Amazon Resource Name (ARN) of the task.

      - */ - TaskArn?: string; } export namespace TaskListEntry { @@ -2485,15 +2482,15 @@ export namespace TaskListEntry { */ export interface ListTasksResponse { /** - *

      An opaque string that indicates the position at which to begin returning the next list - * of tasks.

      + *

      A list of all the tasks that are returned.

      */ - NextToken?: string; + Tasks?: TaskListEntry[]; /** - *

      A list of all the tasks that are returned.

      + *

      An opaque string that indicates the position at which to begin returning the next list + * of tasks.

      */ - Tasks?: TaskListEntry[]; + NextToken?: string; } export namespace ListTasksResponse { @@ -2511,16 +2508,6 @@ export interface StartTaskExecutionRequest { */ TaskArn: string | undefined; - /** - *

      A list of filter rules that determines which files to include when running a task. The - * pattern should contain a single filter string that consists of the patterns to include. The - * patterns are delimited by "|" (that is, a pipe). For example: "/folder1|/folder2" - *

      - *

      - *

      - */ - Includes?: FilterRule[]; - /** *

      Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user * ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, @@ -2531,6 +2518,17 @@ export interface StartTaskExecutionRequest { * to StartTaskExecution.

      */ OverrideOptions?: Options; + + /** + *

      A list of filter rules that determines which files to include when running a task. The + * pattern should contain a single filter string that consists of the patterns to include. The + * patterns are delimited by "|" (that is, a pipe). For example: "/folder1|/folder2" + *

      + * + *

      + *

      + */ + Includes?: FilterRule[]; } export namespace StartTaskExecutionRequest { @@ -2590,14 +2588,14 @@ export namespace TagResourceResponse { */ export interface UntagResourceRequest { /** - *

      The keys in the key-value pair in the tag to remove.

      + *

      The Amazon Resource Name (ARN) of the resource to remove the tag from.

      */ - Keys: string[] | undefined; + ResourceArn: string | undefined; /** - *

      The Amazon Resource Name (ARN) of the resource to remove the tag from.

      + *

      The keys in the key-value pair in the tag to remove.

      */ - ResourceArn: string | undefined; + Keys: string[] | undefined; } export namespace UntagResourceRequest { @@ -2652,6 +2650,17 @@ export interface UpdateTaskRequest { */ TaskArn: string | undefined; + /** + *

      Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user + * ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, + * data integrity verification, and so on.

      + *

      A task has a set of default options associated with it. If you don't specify an option + * in StartTaskExecution, the default value is used. You can override the + * defaults options on each task execution by specifying an overriding Options value + * to StartTaskExecution.

      + */ + Options?: Options; + /** *

      A list of filter rules that determines which files to exclude from a task. The list should * contain a single filter string that consists of the patterns to exclude. The patterns are @@ -2663,15 +2672,12 @@ export interface UpdateTaskRequest { Excludes?: FilterRule[]; /** - *

      Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user - * ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, - * data integrity verification, and so on.

      - *

      A task has a set of default options associated with it. If you don't specify an option - * in StartTaskExecution, the default value is used. You can override the - * defaults options on each task execution by specifying an overriding Options value - * to StartTaskExecution.

      + *

      Specifies a schedule used to periodically transfer files from a source to a destination + * location. You can configure your task to execute hourly, daily, weekly or on specific days of + * the week. You control when in the day or hour you want the task to execute. The time you + * specify is UTC time. For more information, see task-scheduling.

      */ - Options?: Options; + Schedule?: TaskSchedule; /** *

      The name of the task to update.

      @@ -2683,14 +2689,6 @@ export interface UpdateTaskRequest { * LogGroup.

      */ CloudWatchLogGroupArn?: string; - - /** - *

      Specifies a schedule used to periodically transfer files from a source to a destination - * location. You can configure your task to execute hourly, daily, weekly or on specific days of - * the week. You control when in the day or hour you want the task to execute. The time you - * specify is UTC time. For more information, see task-scheduling.

      - */ - Schedule?: TaskSchedule; } export namespace UpdateTaskRequest { @@ -2706,3 +2704,35 @@ export namespace UpdateTaskResponse { ...obj, }); } + +export interface UpdateTaskExecutionRequest { + /** + *

      The Amazon Resource Name (ARN) of the specific task execution that is being updated.

      + */ + TaskExecutionArn: string | undefined; + + /** + *

      Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user + * ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, + * data integrity verification, and so on.

      + *

      A task has a set of default options associated with it. If you don't specify an option + * in StartTaskExecution, the default value is used. You can override the + * defaults options on each task execution by specifying an overriding Options value + * to StartTaskExecution.

      + */ + Options: Options | undefined; +} + +export namespace UpdateTaskExecutionRequest { + export const filterSensitiveLog = (obj: UpdateTaskExecutionRequest): any => ({ + ...obj, + }); +} + +export interface UpdateTaskExecutionResponse {} + +export namespace UpdateTaskExecutionResponse { + export const filterSensitiveLog = (obj: UpdateTaskExecutionResponse): any => ({ + ...obj, + }); +} diff --git a/clients/client-datasync/pagination/ListAgentsPaginator.ts b/clients/client-datasync/pagination/ListAgentsPaginator.ts index 9a15aa869a5d..ce4e0008472b 100644 --- a/clients/client-datasync/pagination/ListAgentsPaginator.ts +++ b/clients/client-datasync/pagination/ListAgentsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAgentsCommand(input), ...args); + return await client.send(new ListAgentsCommand(input, ...args)); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-datasync/pagination/ListLocationsPaginator.ts b/clients/client-datasync/pagination/ListLocationsPaginator.ts index e3116763fd40..d8de67e57258 100644 --- a/clients/client-datasync/pagination/ListLocationsPaginator.ts +++ b/clients/client-datasync/pagination/ListLocationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLocationsCommand(input), ...args); + return await client.send(new ListLocationsCommand(input, ...args)); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-datasync/pagination/ListTagsForResourcePaginator.ts b/clients/client-datasync/pagination/ListTagsForResourcePaginator.ts index 13f4a07f5024..4fba9cde78c8 100644 --- a/clients/client-datasync/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-datasync/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-datasync/pagination/ListTaskExecutionsPaginator.ts b/clients/client-datasync/pagination/ListTaskExecutionsPaginator.ts index 7e0e591d9947..2c0a59f312a3 100644 --- a/clients/client-datasync/pagination/ListTaskExecutionsPaginator.ts +++ b/clients/client-datasync/pagination/ListTaskExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTaskExecutionsCommand(input), ...args); + return await client.send(new ListTaskExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-datasync/pagination/ListTasksPaginator.ts b/clients/client-datasync/pagination/ListTasksPaginator.ts index 383ea63d203e..82a5e147674c 100644 --- a/clients/client-datasync/pagination/ListTasksPaginator.ts +++ b/clients/client-datasync/pagination/ListTasksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTasksCommand(input), ...args); + return await client.send(new ListTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-datasync/protocols/Aws_json1_1.ts b/clients/client-datasync/protocols/Aws_json1_1.ts index 0f2b395836ac..e649cf33c6aa 100644 --- a/clients/client-datasync/protocols/Aws_json1_1.ts +++ b/clients/client-datasync/protocols/Aws_json1_1.ts @@ -59,6 +59,10 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "../commands/UpdateAgentCommand"; import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "../commands/UpdateTaskCommand"; +import { + UpdateTaskExecutionCommandInput, + UpdateTaskExecutionCommandOutput, +} from "../commands/UpdateTaskExecutionCommand"; import { AgentListEntry, CancelTaskExecutionRequest, @@ -139,6 +143,8 @@ import { UntagResourceResponse, UpdateAgentRequest, UpdateAgentResponse, + UpdateTaskExecutionRequest, + UpdateTaskExecutionResponse, UpdateTaskRequest, UpdateTaskResponse, } from "../models/models_0"; @@ -555,6 +561,19 @@ export const serializeAws_json1_1UpdateTaskCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1UpdateTaskExecutionCommand = async ( + input: UpdateTaskExecutionCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "FmrsService.UpdateTaskExecution", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1UpdateTaskExecutionRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const deserializeAws_json1_1CancelTaskExecutionCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2508,6 +2527,69 @@ const deserializeAws_json1_1UpdateTaskCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1UpdateTaskExecutionCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1UpdateTaskExecutionCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1UpdateTaskExecutionResponse(data, context); + const response: UpdateTaskExecutionCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1UpdateTaskExecutionCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalException": + case "com.amazonaws.datasync#InternalException": + response = { + ...(await deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidRequestException": + case "com.amazonaws.datasync#InvalidRequestException": + response = { + ...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + const deserializeAws_json1_1InternalExceptionResponse = async ( parsedOutput: any, context: __SerdeContext @@ -2966,6 +3048,16 @@ const serializeAws_json1_1UpdateAgentRequest = (input: UpdateAgentRequest, conte }; }; +const serializeAws_json1_1UpdateTaskExecutionRequest = ( + input: UpdateTaskExecutionRequest, + context: __SerdeContext +): any => { + return { + ...(input.Options !== undefined && { Options: serializeAws_json1_1Options(input.Options, context) }), + ...(input.TaskExecutionArn !== undefined && { TaskExecutionArn: input.TaskExecutionArn }), + }; +}; + const serializeAws_json1_1UpdateTaskRequest = (input: UpdateTaskRequest, context: __SerdeContext): any => { return { ...(input.CloudWatchLogGroupArn !== undefined && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn }), @@ -3611,6 +3703,13 @@ const deserializeAws_json1_1UpdateAgentResponse = (output: any, context: __Serde return {} as any; }; +const deserializeAws_json1_1UpdateTaskExecutionResponse = ( + output: any, + context: __SerdeContext +): UpdateTaskExecutionResponse => { + return {} as any; +}; + const deserializeAws_json1_1UpdateTaskResponse = (output: any, context: __SerdeContext): UpdateTaskResponse => { return {} as any; }; diff --git a/clients/client-detective/pagination/ListGraphsPaginator.ts b/clients/client-detective/pagination/ListGraphsPaginator.ts index 37823af54d8f..fa88d6442cb5 100644 --- a/clients/client-detective/pagination/ListGraphsPaginator.ts +++ b/clients/client-detective/pagination/ListGraphsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGraphsCommand(input), ...args); + return await client.send(new ListGraphsCommand(input, ...args)); }; const makePagedRequest = async ( client: Detective, diff --git a/clients/client-detective/pagination/ListInvitationsPaginator.ts b/clients/client-detective/pagination/ListInvitationsPaginator.ts index 872afb17b054..dff37e8f3a7f 100644 --- a/clients/client-detective/pagination/ListInvitationsPaginator.ts +++ b/clients/client-detective/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input), ...args); + return await client.send(new ListInvitationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Detective, diff --git a/clients/client-detective/pagination/ListMembersPaginator.ts b/clients/client-detective/pagination/ListMembersPaginator.ts index 597d5fa1af73..9f5fe72b9e6c 100644 --- a/clients/client-detective/pagination/ListMembersPaginator.ts +++ b/clients/client-detective/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input), ...args); + return await client.send(new ListMembersCommand(input, ...args)); }; const makePagedRequest = async ( client: Detective, diff --git a/clients/client-device-farm/pagination/GetOfferingStatusPaginator.ts b/clients/client-device-farm/pagination/GetOfferingStatusPaginator.ts index cf5c4216fc52..0a58cf3eb5d8 100644 --- a/clients/client-device-farm/pagination/GetOfferingStatusPaginator.ts +++ b/clients/client-device-farm/pagination/GetOfferingStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetOfferingStatusCommand(input), ...args); + return await client.send(new GetOfferingStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListArtifactsPaginator.ts b/clients/client-device-farm/pagination/ListArtifactsPaginator.ts index 65ccb0d8c63e..5ae8b617b1d1 100644 --- a/clients/client-device-farm/pagination/ListArtifactsPaginator.ts +++ b/clients/client-device-farm/pagination/ListArtifactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListArtifactsCommand(input), ...args); + return await client.send(new ListArtifactsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListDevicePoolsPaginator.ts b/clients/client-device-farm/pagination/ListDevicePoolsPaginator.ts index 07827e1adefc..7eddeaf1b13b 100644 --- a/clients/client-device-farm/pagination/ListDevicePoolsPaginator.ts +++ b/clients/client-device-farm/pagination/ListDevicePoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevicePoolsCommand(input), ...args); + return await client.send(new ListDevicePoolsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListDevicesPaginator.ts b/clients/client-device-farm/pagination/ListDevicesPaginator.ts index cd6db338b294..7142348527ec 100644 --- a/clients/client-device-farm/pagination/ListDevicesPaginator.ts +++ b/clients/client-device-farm/pagination/ListDevicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevicesCommand(input), ...args); + return await client.send(new ListDevicesCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListJobsPaginator.ts b/clients/client-device-farm/pagination/ListJobsPaginator.ts index cfd6d6ba72f0..9f048fd7c9e0 100644 --- a/clients/client-device-farm/pagination/ListJobsPaginator.ts +++ b/clients/client-device-farm/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input), ...args); + return await client.send(new ListJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListOfferingTransactionsPaginator.ts b/clients/client-device-farm/pagination/ListOfferingTransactionsPaginator.ts index bf330290f708..0e77abc9600f 100644 --- a/clients/client-device-farm/pagination/ListOfferingTransactionsPaginator.ts +++ b/clients/client-device-farm/pagination/ListOfferingTransactionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOfferingTransactionsCommand(input), ...args); + return await client.send(new ListOfferingTransactionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListOfferingsPaginator.ts b/clients/client-device-farm/pagination/ListOfferingsPaginator.ts index d21a8bd7033f..212ead91e6db 100644 --- a/clients/client-device-farm/pagination/ListOfferingsPaginator.ts +++ b/clients/client-device-farm/pagination/ListOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOfferingsCommand(input), ...args); + return await client.send(new ListOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListProjectsPaginator.ts b/clients/client-device-farm/pagination/ListProjectsPaginator.ts index 20d51a5e2911..7433899b664b 100644 --- a/clients/client-device-farm/pagination/ListProjectsPaginator.ts +++ b/clients/client-device-farm/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input), ...args); + return await client.send(new ListProjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListRunsPaginator.ts b/clients/client-device-farm/pagination/ListRunsPaginator.ts index 682b925d8d11..5c874a124bca 100644 --- a/clients/client-device-farm/pagination/ListRunsPaginator.ts +++ b/clients/client-device-farm/pagination/ListRunsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRunsCommand(input), ...args); + return await client.send(new ListRunsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListSamplesPaginator.ts b/clients/client-device-farm/pagination/ListSamplesPaginator.ts index e6d443944580..fb0da128967d 100644 --- a/clients/client-device-farm/pagination/ListSamplesPaginator.ts +++ b/clients/client-device-farm/pagination/ListSamplesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSamplesCommand(input), ...args); + return await client.send(new ListSamplesCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListSuitesPaginator.ts b/clients/client-device-farm/pagination/ListSuitesPaginator.ts index f4c91500eeca..f10a6bd34cfb 100644 --- a/clients/client-device-farm/pagination/ListSuitesPaginator.ts +++ b/clients/client-device-farm/pagination/ListSuitesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSuitesCommand(input), ...args); + return await client.send(new ListSuitesCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestGridProjectsPaginator.ts b/clients/client-device-farm/pagination/ListTestGridProjectsPaginator.ts index b64faf1f6231..c5669cf641ae 100644 --- a/clients/client-device-farm/pagination/ListTestGridProjectsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestGridProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestGridProjectsCommand(input), ...args); + return await client.send(new ListTestGridProjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestGridSessionActionsPaginator.ts b/clients/client-device-farm/pagination/ListTestGridSessionActionsPaginator.ts index 76fecdbc2d78..4dde9ee6f048 100644 --- a/clients/client-device-farm/pagination/ListTestGridSessionActionsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestGridSessionActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestGridSessionActionsCommand(input), ...args); + return await client.send(new ListTestGridSessionActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestGridSessionArtifactsPaginator.ts b/clients/client-device-farm/pagination/ListTestGridSessionArtifactsPaginator.ts index c62d82cbba27..c458a6218f5c 100644 --- a/clients/client-device-farm/pagination/ListTestGridSessionArtifactsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestGridSessionArtifactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestGridSessionArtifactsCommand(input), ...args); + return await client.send(new ListTestGridSessionArtifactsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestGridSessionsPaginator.ts b/clients/client-device-farm/pagination/ListTestGridSessionsPaginator.ts index ed42c2aad4dd..275de20d2e17 100644 --- a/clients/client-device-farm/pagination/ListTestGridSessionsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestGridSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestGridSessionsCommand(input), ...args); + return await client.send(new ListTestGridSessionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestsPaginator.ts b/clients/client-device-farm/pagination/ListTestsPaginator.ts index 07b28007c66d..0e108abf0055 100644 --- a/clients/client-device-farm/pagination/ListTestsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestsCommand(input), ...args); + return await client.send(new ListTestsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListUniqueProblemsPaginator.ts b/clients/client-device-farm/pagination/ListUniqueProblemsPaginator.ts index b9df24a95b7d..5396929369a9 100644 --- a/clients/client-device-farm/pagination/ListUniqueProblemsPaginator.ts +++ b/clients/client-device-farm/pagination/ListUniqueProblemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUniqueProblemsCommand(input), ...args); + return await client.send(new ListUniqueProblemsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListUploadsPaginator.ts b/clients/client-device-farm/pagination/ListUploadsPaginator.ts index cce107ddae54..f4b5605a62cc 100644 --- a/clients/client-device-farm/pagination/ListUploadsPaginator.ts +++ b/clients/client-device-farm/pagination/ListUploadsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUploadsCommand(input), ...args); + return await client.send(new ListUploadsCommand(input, ...args)); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-directory-service/pagination/DescribeDomainControllersPaginator.ts b/clients/client-directory-service/pagination/DescribeDomainControllersPaginator.ts index 50e5e538e308..f3d482df0d65 100644 --- a/clients/client-directory-service/pagination/DescribeDomainControllersPaginator.ts +++ b/clients/client-directory-service/pagination/DescribeDomainControllersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDomainControllersCommand(input), ...args); + return await client.send(new DescribeDomainControllersCommand(input, ...args)); }; const makePagedRequest = async ( client: DirectoryService, diff --git a/clients/client-docdb/pagination/DescribeCertificatesPaginator.ts b/clients/client-docdb/pagination/DescribeCertificatesPaginator.ts index f05489be56a8..5a14ad14dea0 100644 --- a/clients/client-docdb/pagination/DescribeCertificatesPaginator.ts +++ b/clients/client-docdb/pagination/DescribeCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCertificatesCommand(input), ...args); + return await client.send(new DescribeCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBClusterParameterGroupsPaginator.ts b/clients/client-docdb/pagination/DescribeDBClusterParameterGroupsPaginator.ts index 9e7101ae35cb..87d4e8c0ea2b 100644 --- a/clients/client-docdb/pagination/DescribeDBClusterParameterGroupsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBClusterParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterParameterGroupsCommand(input), ...args); + return await client.send(new DescribeDBClusterParameterGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBClusterParametersPaginator.ts b/clients/client-docdb/pagination/DescribeDBClusterParametersPaginator.ts index bf6c33550602..02e359da96ae 100644 --- a/clients/client-docdb/pagination/DescribeDBClusterParametersPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBClusterParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterParametersCommand(input), ...args); + return await client.send(new DescribeDBClusterParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBClusterSnapshotsPaginator.ts b/clients/client-docdb/pagination/DescribeDBClusterSnapshotsPaginator.ts index 81da0c7ea9b4..217efb25eb9a 100644 --- a/clients/client-docdb/pagination/DescribeDBClusterSnapshotsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBClusterSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterSnapshotsCommand(input), ...args); + return await client.send(new DescribeDBClusterSnapshotsCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBClustersPaginator.ts b/clients/client-docdb/pagination/DescribeDBClustersPaginator.ts index c7eba7f8933d..256195b6e892 100644 --- a/clients/client-docdb/pagination/DescribeDBClustersPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClustersCommand(input), ...args); + return await client.send(new DescribeDBClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBEngineVersionsPaginator.ts b/clients/client-docdb/pagination/DescribeDBEngineVersionsPaginator.ts index 01adfd84816c..c0845dc2c754 100644 --- a/clients/client-docdb/pagination/DescribeDBEngineVersionsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBEngineVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBEngineVersionsCommand(input), ...args); + return await client.send(new DescribeDBEngineVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBInstancesPaginator.ts b/clients/client-docdb/pagination/DescribeDBInstancesPaginator.ts index 8de281fd683d..f6161942bf00 100644 --- a/clients/client-docdb/pagination/DescribeDBInstancesPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBInstancesCommand(input), ...args); + return await client.send(new DescribeDBInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBSubnetGroupsPaginator.ts b/clients/client-docdb/pagination/DescribeDBSubnetGroupsPaginator.ts index 7f93cc9401a8..eb76923cb28b 100644 --- a/clients/client-docdb/pagination/DescribeDBSubnetGroupsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args); + return await client.send(new DescribeDBSubnetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeEventsPaginator.ts b/clients/client-docdb/pagination/DescribeEventsPaginator.ts index 297c79b08125..2bc2c697f9e3 100644 --- a/clients/client-docdb/pagination/DescribeEventsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input), ...args); + return await client.send(new DescribeEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts b/clients/client-docdb/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts index 67870ec4802f..f503b2d08264 100644 --- a/clients/client-docdb/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args); + return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribePendingMaintenanceActionsPaginator.ts b/clients/client-docdb/pagination/DescribePendingMaintenanceActionsPaginator.ts index 09c40e959702..cc12e196ccd3 100644 --- a/clients/client-docdb/pagination/DescribePendingMaintenanceActionsPaginator.ts +++ b/clients/client-docdb/pagination/DescribePendingMaintenanceActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePendingMaintenanceActionsCommand(input), ...args); + return await client.send(new DescribePendingMaintenanceActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-dynamodb/DynamoDB.ts b/clients/client-dynamodb/DynamoDB.ts index 8c915ed2957b..fc70d8fb49b2 100644 --- a/clients/client-dynamodb/DynamoDB.ts +++ b/clients/client-dynamodb/DynamoDB.ts @@ -47,6 +47,11 @@ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, } from "./commands/DescribeEndpointsCommand"; +import { + DescribeExportCommand, + DescribeExportCommandInput, + DescribeExportCommandOutput, +} from "./commands/DescribeExportCommand"; import { DescribeGlobalTableCommand, DescribeGlobalTableCommandInput, @@ -77,6 +82,11 @@ import { DescribeTimeToLiveCommandInput, DescribeTimeToLiveCommandOutput, } from "./commands/DescribeTimeToLiveCommand"; +import { + ExportTableToPointInTimeCommand, + ExportTableToPointInTimeCommandInput, + ExportTableToPointInTimeCommandOutput, +} from "./commands/ExportTableToPointInTimeCommand"; import { GetItemCommand, GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand"; import { ListBackupsCommand, ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand"; import { @@ -84,6 +94,7 @@ import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput, } from "./commands/ListContributorInsightsCommand"; +import { ListExportsCommand, ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand"; import { ListGlobalTablesCommand, ListGlobalTablesCommandInput, @@ -797,6 +808,38 @@ export class DynamoDB extends DynamoDBClient { } } + /** + *

      Describes an existing table export.

      + */ + public describeExport( + args: DescribeExportCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeExport( + args: DescribeExportCommandInput, + cb: (err: any, data?: DescribeExportCommandOutput) => void + ): void; + public describeExport( + args: DescribeExportCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeExportCommandOutput) => void + ): void; + public describeExport( + args: DescribeExportCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeExportCommandOutput) => void), + cb?: (err: any, data?: DescribeExportCommandOutput) => void + ): Promise | void { + const command = new DescribeExportCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

      Returns information about the specified global table.

      * @@ -1068,6 +1111,40 @@ export class DynamoDB extends DynamoDBClient { } } + /** + *

      Exports table data to an S3 bucket. The table must have point in time recovery + * enabled, and you can export data from any time within the point in time recovery + * window.

      + */ + public exportTableToPointInTime( + args: ExportTableToPointInTimeCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public exportTableToPointInTime( + args: ExportTableToPointInTimeCommandInput, + cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void + ): void; + public exportTableToPointInTime( + args: ExportTableToPointInTimeCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void + ): void; + public exportTableToPointInTime( + args: ExportTableToPointInTimeCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExportTableToPointInTimeCommandOutput) => void), + cb?: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void + ): Promise | void { + const command = new ExportTableToPointInTimeCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

      The GetItem operation returns a set of attributes for the item with the given primary * key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response.

      @@ -1164,6 +1241,32 @@ export class DynamoDB extends DynamoDBClient { } } + /** + *

      Lists completed exports within the past 90 days.

      + */ + public listExports(args: ListExportsCommandInput, options?: __HttpHandlerOptions): Promise; + public listExports(args: ListExportsCommandInput, cb: (err: any, data?: ListExportsCommandOutput) => void): void; + public listExports( + args: ListExportsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListExportsCommandOutput) => void + ): void; + public listExports( + args: ListExportsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListExportsCommandOutput) => void), + cb?: (err: any, data?: ListExportsCommandOutput) => void + ): Promise | void { + const command = new ListExportsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

      Lists all global tables that have a replica in the specified Region.

      * diff --git a/clients/client-dynamodb/DynamoDBClient.ts b/clients/client-dynamodb/DynamoDBClient.ts index 814f0e3f15ab..6b4a95c3fd38 100644 --- a/clients/client-dynamodb/DynamoDBClient.ts +++ b/clients/client-dynamodb/DynamoDBClient.ts @@ -16,6 +16,7 @@ import { DescribeContributorInsightsCommandOutput, } from "./commands/DescribeContributorInsightsCommand"; import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand"; +import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand"; import { DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput, @@ -31,12 +32,17 @@ import { DescribeTableReplicaAutoScalingCommandOutput, } from "./commands/DescribeTableReplicaAutoScalingCommand"; import { DescribeTimeToLiveCommandInput, DescribeTimeToLiveCommandOutput } from "./commands/DescribeTimeToLiveCommand"; +import { + ExportTableToPointInTimeCommandInput, + ExportTableToPointInTimeCommandOutput, +} from "./commands/ExportTableToPointInTimeCommand"; import { GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand"; import { ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand"; import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput, } from "./commands/ListContributorInsightsCommand"; +import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand"; import { ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput } from "./commands/ListGlobalTablesCommand"; import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand"; import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "./commands/ListTagsOfResourceCommand"; @@ -137,15 +143,18 @@ export type ServiceInputTypes = | DescribeContinuousBackupsCommandInput | DescribeContributorInsightsCommandInput | DescribeEndpointsCommandInput + | DescribeExportCommandInput | DescribeGlobalTableCommandInput | DescribeGlobalTableSettingsCommandInput | DescribeLimitsCommandInput | DescribeTableCommandInput | DescribeTableReplicaAutoScalingCommandInput | DescribeTimeToLiveCommandInput + | ExportTableToPointInTimeCommandInput | GetItemCommandInput | ListBackupsCommandInput | ListContributorInsightsCommandInput + | ListExportsCommandInput | ListGlobalTablesCommandInput | ListTablesCommandInput | ListTagsOfResourceCommandInput @@ -180,15 +189,18 @@ export type ServiceOutputTypes = | DescribeContinuousBackupsCommandOutput | DescribeContributorInsightsCommandOutput | DescribeEndpointsCommandOutput + | DescribeExportCommandOutput | DescribeGlobalTableCommandOutput | DescribeGlobalTableSettingsCommandOutput | DescribeLimitsCommandOutput | DescribeTableCommandOutput | DescribeTableReplicaAutoScalingCommandOutput | DescribeTimeToLiveCommandOutput + | ExportTableToPointInTimeCommandOutput | GetItemCommandOutput | ListBackupsCommandOutput | ListContributorInsightsCommandOutput + | ListExportsCommandOutput | ListGlobalTablesCommandOutput | ListTablesCommandOutput | ListTagsOfResourceCommandOutput diff --git a/clients/client-dynamodb/commands/DescribeExportCommand.ts b/clients/client-dynamodb/commands/DescribeExportCommand.ts new file mode 100644 index 000000000000..8e04ac26efbd --- /dev/null +++ b/clients/client-dynamodb/commands/DescribeExportCommand.ts @@ -0,0 +1,82 @@ +import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; +import { DescribeExportInput, DescribeExportOutput } from "../models/models_0"; +import { + deserializeAws_json1_0DescribeExportCommand, + serializeAws_json1_0DescribeExportCommand, +} from "../protocols/Aws_json1_0"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeExportCommandInput = DescribeExportInput; +export type DescribeExportCommandOutput = DescribeExportOutput & __MetadataBearer; + +export class DescribeExportCommand extends $Command< + DescribeExportCommandInput, + DescribeExportCommandOutput, + DynamoDBClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeExportCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DynamoDBClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DynamoDBClient"; + const commandName = "DescribeExportCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeExportInput.filterSensitiveLog, + outputFilterSensitiveLog: DescribeExportOutput.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeExportCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_0DescribeExportCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_0DescribeExportCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-dynamodb/commands/ExportTableToPointInTimeCommand.ts b/clients/client-dynamodb/commands/ExportTableToPointInTimeCommand.ts new file mode 100644 index 000000000000..7091ea8f0fc1 --- /dev/null +++ b/clients/client-dynamodb/commands/ExportTableToPointInTimeCommand.ts @@ -0,0 +1,82 @@ +import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; +import { ExportTableToPointInTimeInput, ExportTableToPointInTimeOutput } from "../models/models_0"; +import { + deserializeAws_json1_0ExportTableToPointInTimeCommand, + serializeAws_json1_0ExportTableToPointInTimeCommand, +} from "../protocols/Aws_json1_0"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ExportTableToPointInTimeCommandInput = ExportTableToPointInTimeInput; +export type ExportTableToPointInTimeCommandOutput = ExportTableToPointInTimeOutput & __MetadataBearer; + +export class ExportTableToPointInTimeCommand extends $Command< + ExportTableToPointInTimeCommandInput, + ExportTableToPointInTimeCommandOutput, + DynamoDBClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ExportTableToPointInTimeCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DynamoDBClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DynamoDBClient"; + const commandName = "ExportTableToPointInTimeCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ExportTableToPointInTimeInput.filterSensitiveLog, + outputFilterSensitiveLog: ExportTableToPointInTimeOutput.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ExportTableToPointInTimeCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_0ExportTableToPointInTimeCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_0ExportTableToPointInTimeCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-dynamodb/commands/ListExportsCommand.ts b/clients/client-dynamodb/commands/ListExportsCommand.ts new file mode 100644 index 000000000000..e889542ac8ae --- /dev/null +++ b/clients/client-dynamodb/commands/ListExportsCommand.ts @@ -0,0 +1,82 @@ +import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; +import { ListExportsInput, ListExportsOutput } from "../models/models_0"; +import { + deserializeAws_json1_0ListExportsCommand, + serializeAws_json1_0ListExportsCommand, +} from "../protocols/Aws_json1_0"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListExportsCommandInput = ListExportsInput; +export type ListExportsCommandOutput = ListExportsOutput & __MetadataBearer; + +export class ListExportsCommand extends $Command< + ListExportsCommandInput, + ListExportsCommandOutput, + DynamoDBClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListExportsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: DynamoDBClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "DynamoDBClient"; + const commandName = "ListExportsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListExportsInput.filterSensitiveLog, + outputFilterSensitiveLog: ListExportsOutput.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListExportsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_0ListExportsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_0ListExportsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-dynamodb/index.ts b/clients/client-dynamodb/index.ts index 2c55a19e530b..f8de7e43125c 100644 --- a/clients/client-dynamodb/index.ts +++ b/clients/client-dynamodb/index.ts @@ -12,16 +12,20 @@ export * from "./commands/DescribeBackupCommand"; export * from "./commands/DescribeContinuousBackupsCommand"; export * from "./commands/DescribeContributorInsightsCommand"; export * from "./commands/DescribeEndpointsCommand"; +export * from "./commands/DescribeExportCommand"; export * from "./commands/DescribeGlobalTableCommand"; export * from "./commands/DescribeGlobalTableSettingsCommand"; export * from "./commands/DescribeLimitsCommand"; export * from "./commands/DescribeTableCommand"; export * from "./commands/DescribeTableReplicaAutoScalingCommand"; export * from "./commands/DescribeTimeToLiveCommand"; +export * from "./commands/ExportTableToPointInTimeCommand"; export * from "./commands/GetItemCommand"; export * from "./commands/ListBackupsCommand"; export * from "./commands/ListContributorInsightsCommand"; export * from "./pagination/ListContributorInsightsPaginator"; +export * from "./commands/ListExportsCommand"; +export * from "./pagination/ListExportsPaginator"; export * from "./commands/ListGlobalTablesCommand"; export * from "./commands/ListTablesCommand"; export * from "./pagination/ListTablesPaginator"; diff --git a/clients/client-dynamodb/models/models_0.ts b/clients/client-dynamodb/models/models_0.ts index 102cb21208c9..d8b42c32108b 100644 --- a/clients/client-dynamodb/models/models_0.ts +++ b/clients/client-dynamodb/models/models_0.ts @@ -1290,7 +1290,7 @@ export type ContributorInsightsAction = "DISABLE" | "ENABLE"; export type ContributorInsightsStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING" | "FAILED"; /** - *

      Represents a Contributor Insights summary entry..

      + *

      Represents a Contributor Insights summary entry.

      */ export interface ContributorInsightsSummary { /** @@ -3168,6 +3168,182 @@ export namespace DescribeEndpointsResponse { }); } +export interface DescribeExportInput { + /** + *

      The Amazon Resource Name (ARN) associated with the export.

      + */ + ExportArn: string | undefined; +} + +export namespace DescribeExportInput { + export const filterSensitiveLog = (obj: DescribeExportInput): any => ({ + ...obj, + }); +} + +export enum ExportFormat { + DYNAMODB_JSON = "DYNAMODB_JSON", + ION = "ION", +} + +export enum ExportStatus { + COMPLETED = "COMPLETED", + FAILED = "FAILED", + IN_PROGRESS = "IN_PROGRESS", +} + +export type S3SseAlgorithm = "AES256" | "KMS"; + +/** + *

      Represents the properties of the exported table.

      + */ +export interface ExportDescription { + /** + *

      The Amazon Resource Name (ARN) of the table export.

      + */ + ExportArn?: string; + + /** + *

      Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.

      + */ + ExportStatus?: ExportStatus | string; + + /** + *

      The time at which the export task began.

      + */ + StartTime?: Date; + + /** + *

      The time at which the export task completed.

      + */ + EndTime?: Date; + + /** + *

      The name of the manifest file for the export task.

      + */ + ExportManifest?: string; + + /** + *

      The Amazon Resource Name (ARN) of the table that was exported.

      + */ + TableArn?: string; + + /** + *

      Unique ID of the table that was exported.

      + */ + TableId?: string; + + /** + *

      Point in time from which table data was exported.

      + */ + ExportTime?: Date; + + /** + *

      The client token that was provided for the export task. A client token makes calls to + * ExportTableToPointInTimeInput idempotent, meaning that multiple + * identical calls have the same effect as one single call.

      + */ + ClientToken?: string; + + /** + *

      The name of the Amazon S3 bucket containing the export.

      + */ + S3Bucket?: string; + + /** + *

      The ID of the AWS account that owns the bucket containing the export.

      + */ + S3BucketOwner?: string; + + /** + *

      The Amazon S3 bucket prefix used as the file name and path of the exported + * snapshot.

      + */ + S3Prefix?: string; + + /** + *

      Type of encryption used on the bucket where export data is stored. Valid values + * for S3SseAlgorithm are:

      + *
        + *
      • + *

        + * AES256 - server-side encryption with Amazon S3 managed keys

        + *
      • + *
      • + *

        + * KMS - server-side encryption with AWS KMS managed keys

        + *
      • + *
      + */ + S3SseAlgorithm?: S3SseAlgorithm | string; + + /** + *

      The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is + * stored (if applicable).

      + */ + S3SseKmsKeyId?: string; + + /** + *

      Status code for the result of the failed export.

      + */ + FailureCode?: string; + + /** + *

      Export failure reason description.

      + */ + FailureMessage?: string; + + /** + *

      The format of the exported data. Valid values for ExportFormat are + * DYNAMODB_JSON or ION.

      + */ + ExportFormat?: ExportFormat | string; + + /** + *

      The billable size of the table export.

      + */ + BilledSizeBytes?: number; + + /** + *

      The number of items exported.

      + */ + ItemCount?: number; +} + +export namespace ExportDescription { + export const filterSensitiveLog = (obj: ExportDescription): any => ({ + ...obj, + }); +} + +export interface DescribeExportOutput { + /** + *

      Represents the properties of the export.

      + */ + ExportDescription?: ExportDescription; +} + +export namespace DescribeExportOutput { + export const filterSensitiveLog = (obj: DescribeExportOutput): any => ({ + ...obj, + }); +} + +/** + *

      The specified export was not found.

      + */ +export interface ExportNotFoundException extends __SmithyException, $MetadataBearer { + name: "ExportNotFoundException"; + $fault: "client"; + message?: string; +} + +export namespace ExportNotFoundException { + export const filterSensitiveLog = (obj: ExportNotFoundException): any => ({ + ...obj, + }); +} + export interface DescribeGlobalTableInput { /** *

      The name of the global table.

      @@ -3658,6 +3834,142 @@ export namespace DescribeTimeToLiveOutput { }); } +/** + *

      There was a conflict when writing to the specified S3 bucket.

      + */ +export interface ExportConflictException extends __SmithyException, $MetadataBearer { + name: "ExportConflictException"; + $fault: "client"; + message?: string; +} + +export namespace ExportConflictException { + export const filterSensitiveLog = (obj: ExportConflictException): any => ({ + ...obj, + }); +} + +export interface ExportTableToPointInTimeInput { + /** + *

      The Amazon Resource Name (ARN) associated with the table to export.

      + */ + TableArn: string | undefined; + + /** + *

      Time in the past from which to export table data. The table export will be a snapshot + * of the table's state at this point in time.

      + */ + ExportTime?: Date; + + /** + *

      Providing a ClientToken makes the call to + * ExportTableToPointInTimeInput idempotent, meaning that multiple + * identical calls have the same effect as one single call.

      + *

      A client token is valid for 8 hours after the first request that uses it is + * completed. After 8 hours, any request with the same client token is treated as a new + * request. Do not resubmit the same request with the same client token for more than 8 + * hours, or the result might not be idempotent.

      + *

      If you submit a request with the same client token but a change in other parameters + * within the 8-hour idempotency window, DynamoDB returns an + * IdempotentParameterMismatch exception.

      + */ + ClientToken?: string; + + /** + *

      The name of the Amazon S3 bucket to export the snapshot to.

      + */ + S3Bucket: string | undefined; + + /** + *

      The ID of the AWS account that owns the bucket the export will be stored in.

      + */ + S3BucketOwner?: string; + + /** + *

      The Amazon S3 bucket prefix to use as the file name and path of the exported + * snapshot.

      + */ + S3Prefix?: string; + + /** + *

      Type of encryption used on the bucket where export data will be stored. Valid values + * for S3SseAlgorithm are:

      + *
        + *
      • + *

        + * AES256 - server-side encryption with Amazon S3 managed keys

        + *
      • + *
      • + *

        + * KMS - server-side encryption with AWS KMS managed keys

        + *
      • + *
      + */ + S3SseAlgorithm?: S3SseAlgorithm | string; + + /** + *

      The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will + * be stored (if applicable).

      + */ + S3SseKmsKeyId?: string; + + /** + *

      The format for the exported data. Valid values for ExportFormat are + * DYNAMODB_JSON or ION.

      + */ + ExportFormat?: ExportFormat | string; +} + +export namespace ExportTableToPointInTimeInput { + export const filterSensitiveLog = (obj: ExportTableToPointInTimeInput): any => ({ + ...obj, + }); +} + +export interface ExportTableToPointInTimeOutput { + /** + *

      Contains a description of the table export.

      + */ + ExportDescription?: ExportDescription; +} + +export namespace ExportTableToPointInTimeOutput { + export const filterSensitiveLog = (obj: ExportTableToPointInTimeOutput): any => ({ + ...obj, + }); +} + +/** + *

      The specified ExportTime is outside of the point in time recovery + * window.

      + */ +export interface InvalidExportTimeException extends __SmithyException, $MetadataBearer { + name: "InvalidExportTimeException"; + $fault: "client"; + message?: string; +} + +export namespace InvalidExportTimeException { + export const filterSensitiveLog = (obj: InvalidExportTimeException): any => ({ + ...obj, + }); +} + +/** + *

      Point in time recovery has not yet been enabled for this source table.

      + */ +export interface PointInTimeRecoveryUnavailableException extends __SmithyException, $MetadataBearer { + name: "PointInTimeRecoveryUnavailableException"; + $fault: "client"; + message?: string; +} + +export namespace PointInTimeRecoveryUnavailableException { + export const filterSensitiveLog = (obj: PointInTimeRecoveryUnavailableException): any => ({ + ...obj, + }); +} + export interface ListBackupsInput { /** *

      The backups from the table specified by TableName are listed.

      @@ -3786,6 +4098,72 @@ export namespace ListContributorInsightsOutput { }); } +export interface ListExportsInput { + /** + *

      The Amazon Resource Name (ARN) associated with the exported table.

      + */ + TableArn?: string; + + /** + *

      Maximum number of results to return per page.

      + */ + MaxResults?: number; + + /** + *

      An optional string that, if supplied, must be copied from the output of a previous + * call to ListExports. When provided in this manner, the API fetches the next + * page of results.

      + */ + NextToken?: string; +} + +export namespace ListExportsInput { + export const filterSensitiveLog = (obj: ListExportsInput): any => ({ + ...obj, + }); +} + +/** + *

      Summary information about an export task.

      + */ +export interface ExportSummary { + /** + *

      The Amazon Resource Name (ARN) of the export.

      + */ + ExportArn?: string; + + /** + *

      Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.

      + */ + ExportStatus?: ExportStatus | string; +} + +export namespace ExportSummary { + export const filterSensitiveLog = (obj: ExportSummary): any => ({ + ...obj, + }); +} + +export interface ListExportsOutput { + /** + *

      A list of ExportSummary objects.

      + */ + ExportSummaries?: ExportSummary[]; + + /** + *

      If this value is returned, there are additional results to be displayed. To retrieve + * them, call ListExports again, with NextToken set to this + * value.

      + */ + NextToken?: string; +} + +export namespace ListExportsOutput { + export const filterSensitiveLog = (obj: ListExportsOutput): any => ({ + ...obj, + }); +} + export interface ListGlobalTablesInput { /** *

      The first global table name that this operation will evaluate.

      @@ -4031,21 +4409,6 @@ export namespace InvalidRestoreTimeException { }); } -/** - *

      Point in time recovery has not yet been enabled for this source table.

      - */ -export interface PointInTimeRecoveryUnavailableException extends __SmithyException, $MetadataBearer { - name: "PointInTimeRecoveryUnavailableException"; - $fault: "client"; - message?: string; -} - -export namespace PointInTimeRecoveryUnavailableException { - export const filterSensitiveLog = (obj: PointInTimeRecoveryUnavailableException): any => ({ - ...obj, - }); -} - export interface RestoreTableToPointInTimeInput { /** *

      The DynamoDB table that will be restored. This value is an Amazon diff --git a/clients/client-dynamodb/pagination/ListContributorInsightsPaginator.ts b/clients/client-dynamodb/pagination/ListContributorInsightsPaginator.ts index 8c0b0bd1bb28..da3a3caec56f 100644 --- a/clients/client-dynamodb/pagination/ListContributorInsightsPaginator.ts +++ b/clients/client-dynamodb/pagination/ListContributorInsightsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContributorInsightsCommand(input), ...args); + return await client.send(new ListContributorInsightsCommand(input, ...args)); }; const makePagedRequest = async ( client: DynamoDB, diff --git a/clients/client-dynamodb/pagination/ListExportsPaginator.ts b/clients/client-dynamodb/pagination/ListExportsPaginator.ts new file mode 100644 index 000000000000..6652d82125ca --- /dev/null +++ b/clients/client-dynamodb/pagination/ListExportsPaginator.ts @@ -0,0 +1,47 @@ +import { DynamoDB } from "../DynamoDB"; +import { DynamoDBClient } from "../DynamoDBClient"; +import { ListExportsCommand, ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand"; +import { DynamoDBPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: DynamoDBClient, + input: ListExportsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListExportsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: DynamoDB, + input: ListExportsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listExports(input, ...args); +}; +export async function* listExportsPaginate( + config: DynamoDBPaginationConfiguration, + input: ListExportsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListExportsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof DynamoDB) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof DynamoDBClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected DynamoDB | DynamoDBClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-dynamodb/pagination/ListTablesPaginator.ts b/clients/client-dynamodb/pagination/ListTablesPaginator.ts index 1d5752ece3f5..4daa76b58621 100644 --- a/clients/client-dynamodb/pagination/ListTablesPaginator.ts +++ b/clients/client-dynamodb/pagination/ListTablesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTablesCommand(input), ...args); + return await client.send(new ListTablesCommand(input, ...args)); }; const makePagedRequest = async ( client: DynamoDB, diff --git a/clients/client-dynamodb/protocols/Aws_json1_0.ts b/clients/client-dynamodb/protocols/Aws_json1_0.ts index b0e9fab4f08f..afc8998d0fe5 100644 --- a/clients/client-dynamodb/protocols/Aws_json1_0.ts +++ b/clients/client-dynamodb/protocols/Aws_json1_0.ts @@ -16,6 +16,7 @@ import { DescribeContributorInsightsCommandOutput, } from "../commands/DescribeContributorInsightsCommand"; import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "../commands/DescribeEndpointsCommand"; +import { DescribeExportCommandInput, DescribeExportCommandOutput } from "../commands/DescribeExportCommand"; import { DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput, @@ -31,12 +32,17 @@ import { DescribeTableReplicaAutoScalingCommandOutput, } from "../commands/DescribeTableReplicaAutoScalingCommand"; import { DescribeTimeToLiveCommandInput, DescribeTimeToLiveCommandOutput } from "../commands/DescribeTimeToLiveCommand"; +import { + ExportTableToPointInTimeCommandInput, + ExportTableToPointInTimeCommandOutput, +} from "../commands/ExportTableToPointInTimeCommand"; import { GetItemCommandInput, GetItemCommandOutput } from "../commands/GetItemCommand"; import { ListBackupsCommandInput, ListBackupsCommandOutput } from "../commands/ListBackupsCommand"; import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput, } from "../commands/ListContributorInsightsCommand"; +import { ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand"; import { ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput } from "../commands/ListGlobalTablesCommand"; import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand"; import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "../commands/ListTagsOfResourceCommand"; @@ -133,6 +139,8 @@ import { DescribeContributorInsightsOutput, DescribeEndpointsRequest, DescribeEndpointsResponse, + DescribeExportInput, + DescribeExportOutput, DescribeGlobalTableInput, DescribeGlobalTableOutput, DescribeGlobalTableSettingsInput, @@ -147,6 +155,12 @@ import { DescribeTimeToLiveOutput, Endpoint, ExpectedAttributeValue, + ExportConflictException, + ExportDescription, + ExportNotFoundException, + ExportSummary, + ExportTableToPointInTimeInput, + ExportTableToPointInTimeOutput, FailureException, Get, GetItemInput, @@ -165,6 +179,7 @@ import { IndexNotFoundException, InternalServerError, InvalidEndpointException, + InvalidExportTimeException, InvalidRestoreTimeException, ItemCollectionMetrics, ItemCollectionSizeLimitExceededException, @@ -176,6 +191,8 @@ import { ListBackupsOutput, ListContributorInsightsInput, ListContributorInsightsOutput, + ListExportsInput, + ListExportsOutput, ListGlobalTablesInput, ListGlobalTablesOutput, ListTablesInput, @@ -437,6 +454,19 @@ export const serializeAws_json1_0DescribeEndpointsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_0DescribeExportCommand = async ( + input: DescribeExportCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.0", + "X-Amz-Target": "DynamoDB_20120810.DescribeExport", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_0DescribeExportInput(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_0DescribeGlobalTableCommand = async ( input: DescribeGlobalTableCommandInput, context: __SerdeContext @@ -515,6 +545,19 @@ export const serializeAws_json1_0DescribeTimeToLiveCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_0ExportTableToPointInTimeCommand = async ( + input: ExportTableToPointInTimeCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.0", + "X-Amz-Target": "DynamoDB_20120810.ExportTableToPointInTime", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_0ExportTableToPointInTimeInput(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_0GetItemCommand = async ( input: GetItemCommandInput, context: __SerdeContext @@ -554,6 +597,19 @@ export const serializeAws_json1_0ListContributorInsightsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_0ListExportsCommand = async ( + input: ListExportsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.0", + "X-Amz-Target": "DynamoDB_20120810.ListExports", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_0ListExportsInput(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_0ListGlobalTablesCommand = async ( input: ListGlobalTablesCommandInput, context: __SerdeContext @@ -1802,6 +1858,77 @@ const deserializeAws_json1_0DescribeEndpointsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_0DescribeExportCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_0DescribeExportCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_0DescribeExportOutput(data, context); + const response: DescribeExportCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_0DescribeExportCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "ExportNotFoundException": + case "com.amazonaws.dynamodb#ExportNotFoundException": + response = { + ...(await deserializeAws_json1_0ExportNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerError": + case "com.amazonaws.dynamodb#InternalServerError": + response = { + ...(await deserializeAws_json1_0InternalServerErrorResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "LimitExceededException": + case "com.amazonaws.dynamodb#LimitExceededException": + response = { + ...(await deserializeAws_json1_0LimitExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_0DescribeGlobalTableCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2212,6 +2339,101 @@ const deserializeAws_json1_0DescribeTimeToLiveCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_0ExportTableToPointInTimeCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_0ExportTableToPointInTimeCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_0ExportTableToPointInTimeOutput(data, context); + const response: ExportTableToPointInTimeCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_0ExportTableToPointInTimeCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "ExportConflictException": + case "com.amazonaws.dynamodb#ExportConflictException": + response = { + ...(await deserializeAws_json1_0ExportConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerError": + case "com.amazonaws.dynamodb#InternalServerError": + response = { + ...(await deserializeAws_json1_0InternalServerErrorResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidExportTimeException": + case "com.amazonaws.dynamodb#InvalidExportTimeException": + response = { + ...(await deserializeAws_json1_0InvalidExportTimeExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "LimitExceededException": + case "com.amazonaws.dynamodb#LimitExceededException": + response = { + ...(await deserializeAws_json1_0LimitExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "PointInTimeRecoveryUnavailableException": + case "com.amazonaws.dynamodb#PointInTimeRecoveryUnavailableException": + response = { + ...(await deserializeAws_json1_0PointInTimeRecoveryUnavailableExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "TableNotFoundException": + case "com.amazonaws.dynamodb#TableNotFoundException": + response = { + ...(await deserializeAws_json1_0TableNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_0GetItemCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2425,6 +2647,69 @@ const deserializeAws_json1_0ListContributorInsightsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_0ListExportsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_0ListExportsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_0ListExportsOutput(data, context); + const response: ListExportsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_0ListExportsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.dynamodb#InternalServerError": + response = { + ...(await deserializeAws_json1_0InternalServerErrorResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "LimitExceededException": + case "com.amazonaws.dynamodb#LimitExceededException": + response = { + ...(await deserializeAws_json1_0LimitExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_0ListGlobalTablesCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -4259,6 +4544,36 @@ const deserializeAws_json1_0ContinuousBackupsUnavailableExceptionResponse = asyn return contents; }; +const deserializeAws_json1_0ExportConflictExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_0ExportConflictException(body, context); + const contents: ExportConflictException = { + name: "ExportConflictException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + +const deserializeAws_json1_0ExportNotFoundExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_0ExportNotFoundException(body, context); + const contents: ExportNotFoundException = { + name: "ExportNotFoundException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + const deserializeAws_json1_0GlobalTableAlreadyExistsExceptionResponse = async ( parsedOutput: any, context: __SerdeContext @@ -4349,6 +4664,21 @@ const deserializeAws_json1_0InvalidEndpointExceptionResponse = async ( return contents; }; +const deserializeAws_json1_0InvalidExportTimeExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_0InvalidExportTimeException(body, context); + const contents: InvalidExportTimeException = { + name: "InvalidExportTimeException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + const deserializeAws_json1_0InvalidRestoreTimeExceptionResponse = async ( parsedOutput: any, context: __SerdeContext @@ -4967,6 +5297,12 @@ const serializeAws_json1_0DescribeEndpointsRequest = ( return {}; }; +const serializeAws_json1_0DescribeExportInput = (input: DescribeExportInput, context: __SerdeContext): any => { + return { + ...(input.ExportArn !== undefined && { ExportArn: input.ExportArn }), + }; +}; + const serializeAws_json1_0DescribeGlobalTableInput = ( input: DescribeGlobalTableInput, context: __SerdeContext @@ -5034,6 +5370,23 @@ const serializeAws_json1_0ExpectedAttributeValue = (input: ExpectedAttributeValu }; }; +const serializeAws_json1_0ExportTableToPointInTimeInput = ( + input: ExportTableToPointInTimeInput, + context: __SerdeContext +): any => { + return { + ClientToken: input.ClientToken ?? generateIdempotencyToken(), + ...(input.ExportFormat !== undefined && { ExportFormat: input.ExportFormat }), + ...(input.ExportTime !== undefined && { ExportTime: Math.round(input.ExportTime.getTime() / 1000) }), + ...(input.S3Bucket !== undefined && { S3Bucket: input.S3Bucket }), + ...(input.S3BucketOwner !== undefined && { S3BucketOwner: input.S3BucketOwner }), + ...(input.S3Prefix !== undefined && { S3Prefix: input.S3Prefix }), + ...(input.S3SseAlgorithm !== undefined && { S3SseAlgorithm: input.S3SseAlgorithm }), + ...(input.S3SseKmsKeyId !== undefined && { S3SseKmsKeyId: input.S3SseKmsKeyId }), + ...(input.TableArn !== undefined && { TableArn: input.TableArn }), + }; +}; + const serializeAws_json1_0ExpressionAttributeNameMap = ( input: { [key: string]: string }, context: __SerdeContext @@ -5262,6 +5615,14 @@ const serializeAws_json1_0ListContributorInsightsInput = ( }; }; +const serializeAws_json1_0ListExportsInput = (input: ListExportsInput, context: __SerdeContext): any => { + return { + ...(input.MaxResults !== undefined && { MaxResults: input.MaxResults }), + ...(input.NextToken !== undefined && { NextToken: input.NextToken }), + ...(input.TableArn !== undefined && { TableArn: input.TableArn }), + }; +}; + const serializeAws_json1_0ListGlobalTablesInput = (input: ListGlobalTablesInput, context: __SerdeContext): any => { return { ...(input.ExclusiveStartGlobalTableName !== undefined && { @@ -6602,6 +6963,15 @@ const deserializeAws_json1_0DescribeEndpointsResponse = ( } as any; }; +const deserializeAws_json1_0DescribeExportOutput = (output: any, context: __SerdeContext): DescribeExportOutput => { + return { + ExportDescription: + output.ExportDescription !== undefined && output.ExportDescription !== null + ? deserializeAws_json1_0ExportDescription(output.ExportDescription, context) + : undefined, + } as any; +}; + const deserializeAws_json1_0DescribeGlobalTableOutput = ( output: any, context: __SerdeContext @@ -6696,6 +7066,84 @@ const deserializeAws_json1_0Endpoints = (output: any, context: __SerdeContext): return (output || []).map((entry: any) => deserializeAws_json1_0Endpoint(entry, context)); }; +const deserializeAws_json1_0ExportConflictException = ( + output: any, + context: __SerdeContext +): ExportConflictException => { + return { + message: output.message !== undefined && output.message !== null ? output.message : undefined, + } as any; +}; + +const deserializeAws_json1_0ExportDescription = (output: any, context: __SerdeContext): ExportDescription => { + return { + BilledSizeBytes: + output.BilledSizeBytes !== undefined && output.BilledSizeBytes !== null ? output.BilledSizeBytes : undefined, + ClientToken: output.ClientToken !== undefined && output.ClientToken !== null ? output.ClientToken : undefined, + EndTime: + output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined, + ExportArn: output.ExportArn !== undefined && output.ExportArn !== null ? output.ExportArn : undefined, + ExportFormat: output.ExportFormat !== undefined && output.ExportFormat !== null ? output.ExportFormat : undefined, + ExportManifest: + output.ExportManifest !== undefined && output.ExportManifest !== null ? output.ExportManifest : undefined, + ExportStatus: output.ExportStatus !== undefined && output.ExportStatus !== null ? output.ExportStatus : undefined, + ExportTime: + output.ExportTime !== undefined && output.ExportTime !== null + ? new Date(Math.round(output.ExportTime * 1000)) + : undefined, + FailureCode: output.FailureCode !== undefined && output.FailureCode !== null ? output.FailureCode : undefined, + FailureMessage: + output.FailureMessage !== undefined && output.FailureMessage !== null ? output.FailureMessage : undefined, + ItemCount: output.ItemCount !== undefined && output.ItemCount !== null ? output.ItemCount : undefined, + S3Bucket: output.S3Bucket !== undefined && output.S3Bucket !== null ? output.S3Bucket : undefined, + S3BucketOwner: + output.S3BucketOwner !== undefined && output.S3BucketOwner !== null ? output.S3BucketOwner : undefined, + S3Prefix: output.S3Prefix !== undefined && output.S3Prefix !== null ? output.S3Prefix : undefined, + S3SseAlgorithm: + output.S3SseAlgorithm !== undefined && output.S3SseAlgorithm !== null ? output.S3SseAlgorithm : undefined, + S3SseKmsKeyId: + output.S3SseKmsKeyId !== undefined && output.S3SseKmsKeyId !== null ? output.S3SseKmsKeyId : undefined, + StartTime: + output.StartTime !== undefined && output.StartTime !== null + ? new Date(Math.round(output.StartTime * 1000)) + : undefined, + TableArn: output.TableArn !== undefined && output.TableArn !== null ? output.TableArn : undefined, + TableId: output.TableId !== undefined && output.TableId !== null ? output.TableId : undefined, + } as any; +}; + +const deserializeAws_json1_0ExportNotFoundException = ( + output: any, + context: __SerdeContext +): ExportNotFoundException => { + return { + message: output.message !== undefined && output.message !== null ? output.message : undefined, + } as any; +}; + +const deserializeAws_json1_0ExportSummaries = (output: any, context: __SerdeContext): ExportSummary[] => { + return (output || []).map((entry: any) => deserializeAws_json1_0ExportSummary(entry, context)); +}; + +const deserializeAws_json1_0ExportSummary = (output: any, context: __SerdeContext): ExportSummary => { + return { + ExportArn: output.ExportArn !== undefined && output.ExportArn !== null ? output.ExportArn : undefined, + ExportStatus: output.ExportStatus !== undefined && output.ExportStatus !== null ? output.ExportStatus : undefined, + } as any; +}; + +const deserializeAws_json1_0ExportTableToPointInTimeOutput = ( + output: any, + context: __SerdeContext +): ExportTableToPointInTimeOutput => { + return { + ExportDescription: + output.ExportDescription !== undefined && output.ExportDescription !== null + ? deserializeAws_json1_0ExportDescription(output.ExportDescription, context) + : undefined, + } as any; +}; + const deserializeAws_json1_0ExpressionAttributeNameMap = ( output: any, context: __SerdeContext @@ -6879,6 +7327,15 @@ const deserializeAws_json1_0InvalidEndpointException = ( } as any; }; +const deserializeAws_json1_0InvalidExportTimeException = ( + output: any, + context: __SerdeContext +): InvalidExportTimeException => { + return { + message: output.message !== undefined && output.message !== null ? output.message : undefined, + } as any; +}; + const deserializeAws_json1_0InvalidRestoreTimeException = ( output: any, context: __SerdeContext @@ -7049,6 +7506,16 @@ const deserializeAws_json1_0ListContributorInsightsOutput = ( } as any; }; +const deserializeAws_json1_0ListExportsOutput = (output: any, context: __SerdeContext): ListExportsOutput => { + return { + ExportSummaries: + output.ExportSummaries !== undefined && output.ExportSummaries !== null + ? deserializeAws_json1_0ExportSummaries(output.ExportSummaries, context) + : undefined, + NextToken: output.NextToken !== undefined && output.NextToken !== null ? output.NextToken : undefined, + } as any; +}; + const deserializeAws_json1_0ListGlobalTablesOutput = (output: any, context: __SerdeContext): ListGlobalTablesOutput => { return { GlobalTables: diff --git a/clients/client-ebs/pagination/ListChangedBlocksPaginator.ts b/clients/client-ebs/pagination/ListChangedBlocksPaginator.ts index 80944d3236d0..892c10358e8b 100644 --- a/clients/client-ebs/pagination/ListChangedBlocksPaginator.ts +++ b/clients/client-ebs/pagination/ListChangedBlocksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChangedBlocksCommand(input), ...args); + return await client.send(new ListChangedBlocksCommand(input, ...args)); }; const makePagedRequest = async ( client: EBS, diff --git a/clients/client-ebs/pagination/ListSnapshotBlocksPaginator.ts b/clients/client-ebs/pagination/ListSnapshotBlocksPaginator.ts index d87579d9ff16..ff77b042e173 100644 --- a/clients/client-ebs/pagination/ListSnapshotBlocksPaginator.ts +++ b/clients/client-ebs/pagination/ListSnapshotBlocksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSnapshotBlocksCommand(input), ...args); + return await client.send(new ListSnapshotBlocksCommand(input, ...args)); }; const makePagedRequest = async ( client: EBS, diff --git a/clients/client-ec2/EC2.ts b/clients/client-ec2/EC2.ts index 21ba82e5d586..cc9173114f76 100644 --- a/clients/client-ec2/EC2.ts +++ b/clients/client-ec2/EC2.ts @@ -5550,6 +5550,7 @@ export class EC2 extends EC2Client { * serves as an endpoint for communicating with the specified service. You can specify the * subnets in which to create an endpoint, and the security groups to associate with the * endpoint network interface.

      + *

      A GatewayLoadBalancer endpoint is a network interface in your subnet that serves an endpoint for communicating with a Gateway Load Balancer that you've configured as a VPC endpoint service.

      *

      Use DescribeVpcEndpointServices to get a list of supported * services.

      */ @@ -5622,12 +5623,25 @@ export class EC2 extends EC2Client { /** *

      Creates a VPC endpoint service configuration to which service consumers (AWS accounts, - * IAM users, and IAM roles) can connect. Service consumers can create an interface VPC - * endpoint to connect to your service.

      - *

      To create an endpoint service configuration, you must first create a Network Load - * Balancer for your service. For more information, see VPC Endpoint Services in the + * IAM users, and IAM roles) can connect.

      + *

      To create an endpoint service configuration, you must first create one of the + * following for your service:

      + *
        + *
      • + *

        A Network Load Balancer. Service consumers connect to your service using an + * interface endpoint.

        + *
      • + *
      • + *

        A Gateway Load Balancer. Service consumers connect to your service using a + * Gateway Load Balancer endpoint.

        + *
      • + *
      + *

      For more information, see VPC Endpoint Services in the * Amazon Virtual Private Cloud User Guide.

      - *

      If you set the private DNS name, you must prove that you own the private DNS domain name. For more information, see VPC Endpoint Service Private DNS Name Verification in the Amazon Virtual Private Cloud User Guide.

      + *

      If you set the private DNS name, you must prove that you own the private DNS domain + * name. For more information, see VPC Endpoint Service + * Private DNS Name Verification in the + * Amazon Virtual Private Cloud User Guide.

      */ public createVpcEndpointServiceConfiguration( args: CreateVpcEndpointServiceConfigurationCommandInput, @@ -7255,7 +7269,7 @@ export class EC2 extends EC2Client { /** *

      Deletes one or more specified VPC endpoints. Deleting a gateway endpoint also deletes * the endpoint routes in the route tables that were associated with the endpoint. Deleting - * an interface endpoint deletes the endpoint network interfaces.

      + * an interface endpoint or a Gateway Load Balancer endpoint deletes the endpoint network interfaces. Gateway Load Balancer endpoints can only be deleted if the routes that are associated with the endpoint are deleted.

      */ public deleteVpcEndpoints( args: DeleteVpcEndpointsCommandInput, @@ -15044,7 +15058,7 @@ export class EC2 extends EC2Client { /** *

      Modifies attributes of a specified VPC endpoint. The attributes that you can modify - * depend on the type of VPC endpoint (interface or gateway). For more information, see + * depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). For more information, see * VPC * Endpoints in the Amazon Virtual Private Cloud User Guide.

      */ @@ -15114,7 +15128,7 @@ export class EC2 extends EC2Client { /** *

      Modifies the attributes of your VPC endpoint service configuration. You can change the - * Network Load Balancers for your service, and you can specify whether acceptance is + * Network Load Balancers or Gateway Load Balancers for your service, and you can specify whether acceptance is * required for requests to connect to your endpoint service through an interface VPC * endpoint.

      *

      If you set or modify the private DNS name, you must prove that you own the private DNS diff --git a/clients/client-ec2/models/models_1.ts b/clients/client-ec2/models/models_1.ts index 826b87c4e9a7..1fc9f4cd959f 100644 --- a/clients/client-ec2/models/models_1.ts +++ b/clients/client-ec2/models/models_1.ts @@ -3036,6 +3036,11 @@ export interface CreateRouteRequest { */ DryRun?: boolean; + /** + *

      The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.

      + */ + VpcEndpointId?: string; + /** *

      [IPv6 traffic only] The ID of an egress-only internet gateway.

      */ @@ -5453,6 +5458,7 @@ export namespace CreateVpcResult { export enum VpcEndpointType { Gateway = "Gateway", + GatewayLoadBalancer = "GatewayLoadBalancer", Interface = "Interface", } @@ -5485,7 +5491,7 @@ export interface CreateVpcEndpointRequest { ServiceName: string | undefined; /** - *

      A policy to attach to the endpoint that controls access to the + *

      (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the * service. The policy must be in valid JSON format. If this parameter is not specified, we * attach a default policy that allows full access to the service.

      */ @@ -5497,8 +5503,8 @@ export interface CreateVpcEndpointRequest { RouteTableIds?: string[]; /** - *

      (Interface endpoint) The ID of one or more subnets in which to create an endpoint - * network interface.

      + *

      (Interface and Gateway Load Balancer endpoints) The ID of one or more subnets in which to create an endpoint + * network interface. For a Gateway Load Balancer endpoint, you can specify one subnet only.

      */ SubnetIds?: string[]; @@ -5872,7 +5878,7 @@ export interface CreateVpcEndpointServiceConfigurationRequest { AcceptanceRequired?: boolean; /** - *

      The private DNS name to assign to the VPC endpoint service.

      + *

      (Interface endpoint configuration) The private DNS name to assign to the VPC endpoint service.

      */ PrivateDnsName?: string; @@ -5880,7 +5886,12 @@ export interface CreateVpcEndpointServiceConfigurationRequest { *

      The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your * service.

      */ - NetworkLoadBalancerArns: string[] | undefined; + NetworkLoadBalancerArns?: string[]; + + /** + *

      The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

      + */ + GatewayLoadBalancerArns?: string[]; /** *

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. @@ -5954,6 +5965,7 @@ export enum ServiceState { export enum ServiceType { Gateway = "Gateway", + GatewayLoadBalancer = "GatewayLoadBalancer", Interface = "Interface", } @@ -6018,6 +6030,11 @@ export interface ServiceConfiguration { */ NetworkLoadBalancerArns?: string[]; + /** + *

      The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

      + */ + GatewayLoadBalancerArns?: string[]; + /** *

      The DNS names for the service.

      */ diff --git a/clients/client-ec2/models/models_3.ts b/clients/client-ec2/models/models_3.ts index d16a3019bbf8..eb6b46f248ea 100644 --- a/clients/client-ec2/models/models_3.ts +++ b/clients/client-ec2/models/models_3.ts @@ -7782,6 +7782,11 @@ export interface VpcEndpointConnection { *

      The Amazon Resource Names (ARNs) of the network load balancers for the service.

      */ NetworkLoadBalancerArns?: string[]; + + /** + *

      The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

      + */ + GatewayLoadBalancerArns?: string[]; } export namespace VpcEndpointConnection { @@ -7847,6 +7852,10 @@ export interface DescribeVpcEndpointsRequest { * rejected | failed).

      * *
    • + *

      + * vpc-endpoint-type - The type of VPC endpoint (Interface | Gateway | GatewayLoadBalancer).

      + *
    • + *
    • *

      * tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

      *
    • diff --git a/clients/client-ec2/models/models_4.ts b/clients/client-ec2/models/models_4.ts index d6c9580a8257..d0651049b7a9 100644 --- a/clients/client-ec2/models/models_4.ts +++ b/clients/client-ec2/models/models_4.ts @@ -4225,7 +4225,7 @@ export interface ModifyVpcEndpointRequest { ResetPolicy?: boolean; /** - *

      A policy to attach to the endpoint that controls access to the service. The policy must + *

      (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must * be in valid JSON format.

      */ PolicyDocument?: string; @@ -4241,7 +4241,7 @@ export interface ModifyVpcEndpointRequest { RemoveRouteTableIds?: string[]; /** - *

      (Interface endpoint) One or more subnet IDs in which to serve the endpoint.

      + *

      (Interface and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.

      */ AddSubnetIds?: string[]; @@ -4344,12 +4344,12 @@ export interface ModifyVpcEndpointServiceConfigurationRequest { ServiceId: string | undefined; /** - *

      The private DNS name to assign to the endpoint service.

      + *

      (Interface endpoint configuration) The private DNS name to assign to the endpoint service.

      */ PrivateDnsName?: string; /** - *

      Removes the private DNS name of the endpoint service.

      + *

      (Interface endpoint configuration) Removes the private DNS name of the endpoint service.

      */ RemovePrivateDnsName?: boolean; @@ -4369,6 +4369,18 @@ export interface ModifyVpcEndpointServiceConfigurationRequest { * configuration.

      */ RemoveNetworkLoadBalancerArns?: string[]; + + /** + *

      The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service + * configuration.

      + */ + AddGatewayLoadBalancerArns?: string[]; + + /** + *

      The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service + * configuration.

      + */ + RemoveGatewayLoadBalancerArns?: string[]; } export namespace ModifyVpcEndpointServiceConfigurationRequest { @@ -6046,6 +6058,11 @@ export interface ReplaceRouteRequest { */ DryRun?: boolean; + /** + *

      The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.

      + */ + VpcEndpointId?: string; + /** *

      [IPv6 traffic only] The ID of an egress-only internet gateway.

      */ diff --git a/clients/client-ec2/pagination/DescribeCapacityReservationsPaginator.ts b/clients/client-ec2/pagination/DescribeCapacityReservationsPaginator.ts index 1cd1968fdea8..8c732a46878c 100644 --- a/clients/client-ec2/pagination/DescribeCapacityReservationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeCapacityReservationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCapacityReservationsCommand(input), ...args); + return await client.send(new DescribeCapacityReservationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeCarrierGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeCarrierGatewaysPaginator.ts index bffc51368c46..e95ba57eb32b 100644 --- a/clients/client-ec2/pagination/DescribeCarrierGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeCarrierGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCarrierGatewaysCommand(input), ...args); + return await client.send(new DescribeCarrierGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClassicLinkInstancesPaginator.ts b/clients/client-ec2/pagination/DescribeClassicLinkInstancesPaginator.ts index fb29fb4e46c5..04578e879066 100644 --- a/clients/client-ec2/pagination/DescribeClassicLinkInstancesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClassicLinkInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClassicLinkInstancesCommand(input), ...args); + return await client.send(new DescribeClassicLinkInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts index 2213ff81dcbf..5fb23a8673d1 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnAuthorizationRulesCommand(input), ...args); + return await client.send(new DescribeClientVpnAuthorizationRulesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnConnectionsPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnConnectionsPaginator.ts index 86c0e96e7350..908a362d07ad 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnConnectionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnConnectionsCommand(input), ...args); + return await client.send(new DescribeClientVpnConnectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnEndpointsPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnEndpointsPaginator.ts index 153ebfed2fb6..70fa3fb2d624 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnEndpointsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnEndpointsCommand(input), ...args); + return await client.send(new DescribeClientVpnEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnRoutesPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnRoutesPaginator.ts index a2f785fcaece..8e693bf51363 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnRoutesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnRoutesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnRoutesCommand(input), ...args); + return await client.send(new DescribeClientVpnRoutesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnTargetNetworksPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnTargetNetworksPaginator.ts index 480e11952d75..807463dbbdf9 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnTargetNetworksPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnTargetNetworksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnTargetNetworksCommand(input), ...args); + return await client.send(new DescribeClientVpnTargetNetworksCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeCoipPoolsPaginator.ts b/clients/client-ec2/pagination/DescribeCoipPoolsPaginator.ts index c532c9ecac17..2868fab736c5 100644 --- a/clients/client-ec2/pagination/DescribeCoipPoolsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeCoipPoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCoipPoolsCommand(input), ...args); + return await client.send(new DescribeCoipPoolsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeDhcpOptionsPaginator.ts b/clients/client-ec2/pagination/DescribeDhcpOptionsPaginator.ts index cd4a4cd39f44..94f6e23ddc91 100644 --- a/clients/client-ec2/pagination/DescribeDhcpOptionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeDhcpOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDhcpOptionsCommand(input), ...args); + return await client.send(new DescribeDhcpOptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts index 40d7ff4a10ca..f23e82942d0c 100644 --- a/clients/client-ec2/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEgressOnlyInternetGatewaysCommand(input), ...args); + return await client.send(new DescribeEgressOnlyInternetGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeExportImageTasksPaginator.ts b/clients/client-ec2/pagination/DescribeExportImageTasksPaginator.ts index fb8df78b0f5e..92758656577c 100644 --- a/clients/client-ec2/pagination/DescribeExportImageTasksPaginator.ts +++ b/clients/client-ec2/pagination/DescribeExportImageTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeExportImageTasksCommand(input), ...args); + return await client.send(new DescribeExportImageTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeFastSnapshotRestoresPaginator.ts b/clients/client-ec2/pagination/DescribeFastSnapshotRestoresPaginator.ts index 6a820a1c327f..c924e68c99ab 100644 --- a/clients/client-ec2/pagination/DescribeFastSnapshotRestoresPaginator.ts +++ b/clients/client-ec2/pagination/DescribeFastSnapshotRestoresPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFastSnapshotRestoresCommand(input), ...args); + return await client.send(new DescribeFastSnapshotRestoresCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeFleetsPaginator.ts b/clients/client-ec2/pagination/DescribeFleetsPaginator.ts index 03a25e5384b2..75145e8633b8 100644 --- a/clients/client-ec2/pagination/DescribeFleetsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeFleetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetsCommand(input), ...args); + return await client.send(new DescribeFleetsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeFlowLogsPaginator.ts b/clients/client-ec2/pagination/DescribeFlowLogsPaginator.ts index d8dc9977d6a4..0200fd0f78b1 100644 --- a/clients/client-ec2/pagination/DescribeFlowLogsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeFlowLogsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFlowLogsCommand(input), ...args); + return await client.send(new DescribeFlowLogsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeFpgaImagesPaginator.ts b/clients/client-ec2/pagination/DescribeFpgaImagesPaginator.ts index 3f3d1ee46a5e..06d76711038c 100644 --- a/clients/client-ec2/pagination/DescribeFpgaImagesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeFpgaImagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFpgaImagesCommand(input), ...args); + return await client.send(new DescribeFpgaImagesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeHostReservationOfferingsPaginator.ts b/clients/client-ec2/pagination/DescribeHostReservationOfferingsPaginator.ts index ccc274a7f117..5533412374ff 100644 --- a/clients/client-ec2/pagination/DescribeHostReservationOfferingsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeHostReservationOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHostReservationOfferingsCommand(input), ...args); + return await client.send(new DescribeHostReservationOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeHostReservationsPaginator.ts b/clients/client-ec2/pagination/DescribeHostReservationsPaginator.ts index ce4eee270c46..fd57695f3bd9 100644 --- a/clients/client-ec2/pagination/DescribeHostReservationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeHostReservationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHostReservationsCommand(input), ...args); + return await client.send(new DescribeHostReservationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeHostsPaginator.ts b/clients/client-ec2/pagination/DescribeHostsPaginator.ts index 66d134f9d080..5d36c5fcec6c 100644 --- a/clients/client-ec2/pagination/DescribeHostsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeHostsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHostsCommand(input), ...args); + return await client.send(new DescribeHostsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts b/clients/client-ec2/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts index 4885ab64a5df..a9f54e982b65 100644 --- a/clients/client-ec2/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeIamInstanceProfileAssociationsCommand(input), ...args); + return await client.send(new DescribeIamInstanceProfileAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeImportImageTasksPaginator.ts b/clients/client-ec2/pagination/DescribeImportImageTasksPaginator.ts index 023076620bee..51c6274bb64a 100644 --- a/clients/client-ec2/pagination/DescribeImportImageTasksPaginator.ts +++ b/clients/client-ec2/pagination/DescribeImportImageTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImportImageTasksCommand(input), ...args); + return await client.send(new DescribeImportImageTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeImportSnapshotTasksPaginator.ts b/clients/client-ec2/pagination/DescribeImportSnapshotTasksPaginator.ts index c114fc456b6e..989b296aefe0 100644 --- a/clients/client-ec2/pagination/DescribeImportSnapshotTasksPaginator.ts +++ b/clients/client-ec2/pagination/DescribeImportSnapshotTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImportSnapshotTasksCommand(input), ...args); + return await client.send(new DescribeImportSnapshotTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstanceCreditSpecificationsPaginator.ts b/clients/client-ec2/pagination/DescribeInstanceCreditSpecificationsPaginator.ts index faefee62286d..64fbbf98a91c 100644 --- a/clients/client-ec2/pagination/DescribeInstanceCreditSpecificationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstanceCreditSpecificationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceCreditSpecificationsCommand(input), ...args); + return await client.send(new DescribeInstanceCreditSpecificationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstanceStatusPaginator.ts b/clients/client-ec2/pagination/DescribeInstanceStatusPaginator.ts index 1df3021f208b..c3de02e7b7ea 100644 --- a/clients/client-ec2/pagination/DescribeInstanceStatusPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstanceStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceStatusCommand(input), ...args); + return await client.send(new DescribeInstanceStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstanceTypeOfferingsPaginator.ts b/clients/client-ec2/pagination/DescribeInstanceTypeOfferingsPaginator.ts index 354c55e78dba..f608425caf96 100644 --- a/clients/client-ec2/pagination/DescribeInstanceTypeOfferingsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstanceTypeOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceTypeOfferingsCommand(input), ...args); + return await client.send(new DescribeInstanceTypeOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstanceTypesPaginator.ts b/clients/client-ec2/pagination/DescribeInstanceTypesPaginator.ts index ced1f6f0d888..c7228156cbd5 100644 --- a/clients/client-ec2/pagination/DescribeInstanceTypesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstanceTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceTypesCommand(input), ...args); + return await client.send(new DescribeInstanceTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstancesPaginator.ts b/clients/client-ec2/pagination/DescribeInstancesPaginator.ts index 86fd0c45db6f..f16a25deacd6 100644 --- a/clients/client-ec2/pagination/DescribeInstancesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancesCommand(input), ...args); + return await client.send(new DescribeInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInternetGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeInternetGatewaysPaginator.ts index 39429945e7a5..c9fb9c30df67 100644 --- a/clients/client-ec2/pagination/DescribeInternetGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInternetGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInternetGatewaysCommand(input), ...args); + return await client.send(new DescribeInternetGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeIpv6PoolsPaginator.ts b/clients/client-ec2/pagination/DescribeIpv6PoolsPaginator.ts index 67a2f7861eeb..f76f64672b7b 100644 --- a/clients/client-ec2/pagination/DescribeIpv6PoolsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeIpv6PoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeIpv6PoolsCommand(input), ...args); + return await client.send(new DescribeIpv6PoolsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLaunchTemplateVersionsPaginator.ts b/clients/client-ec2/pagination/DescribeLaunchTemplateVersionsPaginator.ts index a57e0c5b0624..41e4b5d79d48 100644 --- a/clients/client-ec2/pagination/DescribeLaunchTemplateVersionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLaunchTemplateVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLaunchTemplateVersionsCommand(input), ...args); + return await client.send(new DescribeLaunchTemplateVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLaunchTemplatesPaginator.ts b/clients/client-ec2/pagination/DescribeLaunchTemplatesPaginator.ts index 0374f6a1d82f..5305a64653c6 100644 --- a/clients/client-ec2/pagination/DescribeLaunchTemplatesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLaunchTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLaunchTemplatesCommand(input), ...args); + return await client.send(new DescribeLaunchTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts index 445c1edc7f22..a6e8db28af72 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand(input), ...args); + return await client.send(new DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts index 5c1a69f00113..0f9a18fbd270 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayRouteTableVpcAssociationsCommand(input), ...args); + return await client.send(new DescribeLocalGatewayRouteTableVpcAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTablesPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTablesPaginator.ts index decc569a8400..a0994bb2b1bf 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTablesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayRouteTablesCommand(input), ...args); + return await client.send(new DescribeLocalGatewayRouteTablesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts index 40edb2852afd..600c36759b02 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayVirtualInterfaceGroupsCommand(input), ...args); + return await client.send(new DescribeLocalGatewayVirtualInterfaceGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts index 0be3335be9eb..98f7762ed4bd 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayVirtualInterfacesCommand(input), ...args); + return await client.send(new DescribeLocalGatewayVirtualInterfacesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewaysPaginator.ts index 5bf1cc51788d..128c1b7d56bf 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewaysCommand(input), ...args); + return await client.send(new DescribeLocalGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeManagedPrefixListsPaginator.ts b/clients/client-ec2/pagination/DescribeManagedPrefixListsPaginator.ts index 3f34c83b9899..0c5009ed025d 100644 --- a/clients/client-ec2/pagination/DescribeManagedPrefixListsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeManagedPrefixListsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeManagedPrefixListsCommand(input), ...args); + return await client.send(new DescribeManagedPrefixListsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeMovingAddressesPaginator.ts b/clients/client-ec2/pagination/DescribeMovingAddressesPaginator.ts index 940892013bf0..77168094d492 100644 --- a/clients/client-ec2/pagination/DescribeMovingAddressesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeMovingAddressesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMovingAddressesCommand(input), ...args); + return await client.send(new DescribeMovingAddressesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeNatGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeNatGatewaysPaginator.ts index 23311dc2dc16..0a5ca154945c 100644 --- a/clients/client-ec2/pagination/DescribeNatGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeNatGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNatGatewaysCommand(input), ...args); + return await client.send(new DescribeNatGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeNetworkAclsPaginator.ts b/clients/client-ec2/pagination/DescribeNetworkAclsPaginator.ts index 00e7bcba4e1a..a7a7d4b9825f 100644 --- a/clients/client-ec2/pagination/DescribeNetworkAclsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeNetworkAclsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNetworkAclsCommand(input), ...args); + return await client.send(new DescribeNetworkAclsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeNetworkInterfacePermissionsPaginator.ts b/clients/client-ec2/pagination/DescribeNetworkInterfacePermissionsPaginator.ts index 299cb757da09..0c05bddd377b 100644 --- a/clients/client-ec2/pagination/DescribeNetworkInterfacePermissionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeNetworkInterfacePermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNetworkInterfacePermissionsCommand(input), ...args); + return await client.send(new DescribeNetworkInterfacePermissionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeNetworkInterfacesPaginator.ts b/clients/client-ec2/pagination/DescribeNetworkInterfacesPaginator.ts index a05e5dc84ea3..e9c355435475 100644 --- a/clients/client-ec2/pagination/DescribeNetworkInterfacesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeNetworkInterfacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNetworkInterfacesCommand(input), ...args); + return await client.send(new DescribeNetworkInterfacesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribePrefixListsPaginator.ts b/clients/client-ec2/pagination/DescribePrefixListsPaginator.ts index 8b2339971ed2..5ef9558eb3b4 100644 --- a/clients/client-ec2/pagination/DescribePrefixListsPaginator.ts +++ b/clients/client-ec2/pagination/DescribePrefixListsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePrefixListsCommand(input), ...args); + return await client.send(new DescribePrefixListsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribePrincipalIdFormatPaginator.ts b/clients/client-ec2/pagination/DescribePrincipalIdFormatPaginator.ts index 28b3d7c66c9c..04e65c72a590 100644 --- a/clients/client-ec2/pagination/DescribePrincipalIdFormatPaginator.ts +++ b/clients/client-ec2/pagination/DescribePrincipalIdFormatPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePrincipalIdFormatCommand(input), ...args); + return await client.send(new DescribePrincipalIdFormatCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribePublicIpv4PoolsPaginator.ts b/clients/client-ec2/pagination/DescribePublicIpv4PoolsPaginator.ts index b797c9f4bc01..99235aab351e 100644 --- a/clients/client-ec2/pagination/DescribePublicIpv4PoolsPaginator.ts +++ b/clients/client-ec2/pagination/DescribePublicIpv4PoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePublicIpv4PoolsCommand(input), ...args); + return await client.send(new DescribePublicIpv4PoolsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeReservedInstancesModificationsPaginator.ts b/clients/client-ec2/pagination/DescribeReservedInstancesModificationsPaginator.ts index 1a5cec6c4056..569af2ff528d 100644 --- a/clients/client-ec2/pagination/DescribeReservedInstancesModificationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeReservedInstancesModificationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedInstancesModificationsCommand(input), ...args); + return await client.send(new DescribeReservedInstancesModificationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeReservedInstancesOfferingsPaginator.ts b/clients/client-ec2/pagination/DescribeReservedInstancesOfferingsPaginator.ts index 89899e1b6e4b..cdb98fb3ebae 100644 --- a/clients/client-ec2/pagination/DescribeReservedInstancesOfferingsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeReservedInstancesOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedInstancesOfferingsCommand(input), ...args); + return await client.send(new DescribeReservedInstancesOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeRouteTablesPaginator.ts b/clients/client-ec2/pagination/DescribeRouteTablesPaginator.ts index b1d15bc1c455..a4c82832a662 100644 --- a/clients/client-ec2/pagination/DescribeRouteTablesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeRouteTablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRouteTablesCommand(input), ...args); + return await client.send(new DescribeRouteTablesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts b/clients/client-ec2/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts index ef5b8b3cb832..d68d33d8a6ea 100644 --- a/clients/client-ec2/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts +++ b/clients/client-ec2/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledInstanceAvailabilityCommand(input), ...args); + return await client.send(new DescribeScheduledInstanceAvailabilityCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeScheduledInstancesPaginator.ts b/clients/client-ec2/pagination/DescribeScheduledInstancesPaginator.ts index 6234d8bcdda4..2c0fd000f3b6 100644 --- a/clients/client-ec2/pagination/DescribeScheduledInstancesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeScheduledInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledInstancesCommand(input), ...args); + return await client.send(new DescribeScheduledInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSecurityGroupsPaginator.ts b/clients/client-ec2/pagination/DescribeSecurityGroupsPaginator.ts index 6b7a22daa9d8..332ecf5594f2 100644 --- a/clients/client-ec2/pagination/DescribeSecurityGroupsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSecurityGroupsCommand(input), ...args); + return await client.send(new DescribeSecurityGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSnapshotsPaginator.ts b/clients/client-ec2/pagination/DescribeSnapshotsPaginator.ts index 8f174468ce34..7b402ea7799d 100644 --- a/clients/client-ec2/pagination/DescribeSnapshotsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSnapshotsCommand(input), ...args); + return await client.send(new DescribeSnapshotsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSpotFleetRequestsPaginator.ts b/clients/client-ec2/pagination/DescribeSpotFleetRequestsPaginator.ts index 22c6a1c14386..5ba4195cb126 100644 --- a/clients/client-ec2/pagination/DescribeSpotFleetRequestsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSpotFleetRequestsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSpotFleetRequestsCommand(input), ...args); + return await client.send(new DescribeSpotFleetRequestsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSpotInstanceRequestsPaginator.ts b/clients/client-ec2/pagination/DescribeSpotInstanceRequestsPaginator.ts index 74734fad8ed6..3c5507691131 100644 --- a/clients/client-ec2/pagination/DescribeSpotInstanceRequestsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSpotInstanceRequestsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSpotInstanceRequestsCommand(input), ...args); + return await client.send(new DescribeSpotInstanceRequestsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSpotPriceHistoryPaginator.ts b/clients/client-ec2/pagination/DescribeSpotPriceHistoryPaginator.ts index 7fc924ca2784..0e78fb977f55 100644 --- a/clients/client-ec2/pagination/DescribeSpotPriceHistoryPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSpotPriceHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSpotPriceHistoryCommand(input), ...args); + return await client.send(new DescribeSpotPriceHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeStaleSecurityGroupsPaginator.ts b/clients/client-ec2/pagination/DescribeStaleSecurityGroupsPaginator.ts index a17d27d9cb9e..bbb6d6f5527c 100644 --- a/clients/client-ec2/pagination/DescribeStaleSecurityGroupsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeStaleSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStaleSecurityGroupsCommand(input), ...args); + return await client.send(new DescribeStaleSecurityGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSubnetsPaginator.ts b/clients/client-ec2/pagination/DescribeSubnetsPaginator.ts index 3f789998e784..66dfd01a32e8 100644 --- a/clients/client-ec2/pagination/DescribeSubnetsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSubnetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSubnetsCommand(input), ...args); + return await client.send(new DescribeSubnetsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTagsPaginator.ts b/clients/client-ec2/pagination/DescribeTagsPaginator.ts index 8ea847803fba..c73b19e719f3 100644 --- a/clients/client-ec2/pagination/DescribeTagsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTagsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTagsCommand(input), ...args); + return await client.send(new DescribeTagsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTrafficMirrorFiltersPaginator.ts b/clients/client-ec2/pagination/DescribeTrafficMirrorFiltersPaginator.ts index 1e29d9579136..4aeaecd238bd 100644 --- a/clients/client-ec2/pagination/DescribeTrafficMirrorFiltersPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTrafficMirrorFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTrafficMirrorFiltersCommand(input), ...args); + return await client.send(new DescribeTrafficMirrorFiltersCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTrafficMirrorSessionsPaginator.ts b/clients/client-ec2/pagination/DescribeTrafficMirrorSessionsPaginator.ts index aa8f95395bdf..cbd15aad62e5 100644 --- a/clients/client-ec2/pagination/DescribeTrafficMirrorSessionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTrafficMirrorSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTrafficMirrorSessionsCommand(input), ...args); + return await client.send(new DescribeTrafficMirrorSessionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTrafficMirrorTargetsPaginator.ts b/clients/client-ec2/pagination/DescribeTrafficMirrorTargetsPaginator.ts index 34941217fc77..e9f138e4cd34 100644 --- a/clients/client-ec2/pagination/DescribeTrafficMirrorTargetsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTrafficMirrorTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTrafficMirrorTargetsCommand(input), ...args); + return await client.send(new DescribeTrafficMirrorTargetsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayAttachmentsPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayAttachmentsPaginator.ts index 831fc3be8ce2..4b022c19844a 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayAttachmentsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayAttachmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayAttachmentsCommand(input), ...args); + return await client.send(new DescribeTransitGatewayAttachmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts index 324418afa2d6..6566516a6b73 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayMulticastDomainsCommand(input), ...args); + return await client.send(new DescribeTransitGatewayMulticastDomainsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts index 760aea6ea533..bd33ec63ff8d 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayPeeringAttachmentsCommand(input), ...args); + return await client.send(new DescribeTransitGatewayPeeringAttachmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayRouteTablesPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayRouteTablesPaginator.ts index 3f99ba305f69..da6f0d2b1bd3 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayRouteTablesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayRouteTablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayRouteTablesCommand(input), ...args); + return await client.send(new DescribeTransitGatewayRouteTablesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts index 1e10620a95d3..cbed15bc41ed 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayVpcAttachmentsCommand(input), ...args); + return await client.send(new DescribeTransitGatewayVpcAttachmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewaysPaginator.ts index 2b66845b75c4..ffc7cdf43d7a 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewaysCommand(input), ...args); + return await client.send(new DescribeTransitGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVolumeStatusPaginator.ts b/clients/client-ec2/pagination/DescribeVolumeStatusPaginator.ts index 514764ec372a..721d8d69ad40 100644 --- a/clients/client-ec2/pagination/DescribeVolumeStatusPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVolumeStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVolumeStatusCommand(input), ...args); + return await client.send(new DescribeVolumeStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVolumesModificationsPaginator.ts b/clients/client-ec2/pagination/DescribeVolumesModificationsPaginator.ts index f3dacb00b70d..afaacb2b575c 100644 --- a/clients/client-ec2/pagination/DescribeVolumesModificationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVolumesModificationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVolumesModificationsCommand(input), ...args); + return await client.send(new DescribeVolumesModificationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVolumesPaginator.ts b/clients/client-ec2/pagination/DescribeVolumesPaginator.ts index 1960f183ac3b..e2e5dc99703d 100644 --- a/clients/client-ec2/pagination/DescribeVolumesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVolumesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVolumesCommand(input), ...args); + return await client.send(new DescribeVolumesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts b/clients/client-ec2/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts index 2e9bd36d9ea3..f6f4237d3f57 100644 --- a/clients/client-ec2/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcClassicLinkDnsSupportCommand(input), ...args); + return await client.send(new DescribeVpcClassicLinkDnsSupportCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts index 5b39a742ba72..fc76142ac0a6 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointConnectionNotificationsCommand(input), ...args); + return await client.send(new DescribeVpcEndpointConnectionNotificationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointConnectionsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointConnectionsPaginator.ts index 867be7c4a860..b48be76869f3 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointConnectionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointConnectionsCommand(input), ...args); + return await client.send(new DescribeVpcEndpointConnectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts index 126e0746a0e4..9a10a6598be4 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointServiceConfigurationsCommand(input), ...args); + return await client.send(new DescribeVpcEndpointServiceConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts index 17dc538207b7..2aa069bdeaa4 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointServicePermissionsCommand(input), ...args); + return await client.send(new DescribeVpcEndpointServicePermissionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointsPaginator.ts index 7608fbf69de7..c96e02834a57 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointsCommand(input), ...args); + return await client.send(new DescribeVpcEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcPeeringConnectionsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcPeeringConnectionsPaginator.ts index 081fc0d70245..d780b8dd8d0d 100644 --- a/clients/client-ec2/pagination/DescribeVpcPeeringConnectionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcPeeringConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcPeeringConnectionsCommand(input), ...args); + return await client.send(new DescribeVpcPeeringConnectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcsPaginator.ts index 499331aeba3a..40826a452778 100644 --- a/clients/client-ec2/pagination/DescribeVpcsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcsCommand(input), ...args); + return await client.send(new DescribeVpcsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts b/clients/client-ec2/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts index 8ebe8d327e40..b5fcfc2038db 100644 --- a/clients/client-ec2/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts +++ b/clients/client-ec2/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAssociatedIpv6PoolCidrsCommand(input), ...args); + return await client.send(new GetAssociatedIpv6PoolCidrsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetGroupsForCapacityReservationPaginator.ts b/clients/client-ec2/pagination/GetGroupsForCapacityReservationPaginator.ts index 5eb50672749e..854237f7381d 100644 --- a/clients/client-ec2/pagination/GetGroupsForCapacityReservationPaginator.ts +++ b/clients/client-ec2/pagination/GetGroupsForCapacityReservationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetGroupsForCapacityReservationCommand(input), ...args); + return await client.send(new GetGroupsForCapacityReservationCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetManagedPrefixListAssociationsPaginator.ts b/clients/client-ec2/pagination/GetManagedPrefixListAssociationsPaginator.ts index 163938d798f2..01a4a617e7e1 100644 --- a/clients/client-ec2/pagination/GetManagedPrefixListAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/GetManagedPrefixListAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetManagedPrefixListAssociationsCommand(input), ...args); + return await client.send(new GetManagedPrefixListAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetManagedPrefixListEntriesPaginator.ts b/clients/client-ec2/pagination/GetManagedPrefixListEntriesPaginator.ts index fb11132e2b0b..a5a7cf90b48c 100644 --- a/clients/client-ec2/pagination/GetManagedPrefixListEntriesPaginator.ts +++ b/clients/client-ec2/pagination/GetManagedPrefixListEntriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetManagedPrefixListEntriesCommand(input), ...args); + return await client.send(new GetManagedPrefixListEntriesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts index d77e881b140b..7aee478b1897 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayAttachmentPropagationsCommand(input), ...args); + return await client.send(new GetTransitGatewayAttachmentPropagationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts index f278ec669f9f..c340f4fb4dc7 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayMulticastDomainAssociationsCommand(input), ...args); + return await client.send(new GetTransitGatewayMulticastDomainAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts index 2f0cf91613e9..01b54401f5bf 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayPrefixListReferencesCommand(input), ...args); + return await client.send(new GetTransitGatewayPrefixListReferencesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts index ea7504dc34d5..ef4416848c79 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayRouteTableAssociationsCommand(input), ...args); + return await client.send(new GetTransitGatewayRouteTableAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts index b0ffea8855ff..eaf8dfbaa3ca 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayRouteTablePropagationsCommand(input), ...args); + return await client.send(new GetTransitGatewayRouteTablePropagationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/SearchLocalGatewayRoutesPaginator.ts b/clients/client-ec2/pagination/SearchLocalGatewayRoutesPaginator.ts index 2b1ebd624678..f11493398aab 100644 --- a/clients/client-ec2/pagination/SearchLocalGatewayRoutesPaginator.ts +++ b/clients/client-ec2/pagination/SearchLocalGatewayRoutesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchLocalGatewayRoutesCommand(input), ...args); + return await client.send(new SearchLocalGatewayRoutesCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts b/clients/client-ec2/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts index e05bee2832ea..4251f75fcbef 100644 --- a/clients/client-ec2/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts +++ b/clients/client-ec2/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchTransitGatewayMulticastGroupsCommand(input), ...args); + return await client.send(new SearchTransitGatewayMulticastGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/protocols/Aws_ec2.ts b/clients/client-ec2/protocols/Aws_ec2.ts index 64c4530867b2..5bcbd3267ddb 100644 --- a/clients/client-ec2/protocols/Aws_ec2.ts +++ b/clients/client-ec2/protocols/Aws_ec2.ts @@ -30989,6 +30989,9 @@ const serializeAws_ec2CreateRouteRequest = (input: CreateRouteRequest, context: if (input.DryRun !== undefined) { entries["DryRun"] = input.DryRun; } + if (input.VpcEndpointId !== undefined) { + entries["VpcEndpointId"] = input.VpcEndpointId; + } if (input.EgressOnlyInternetGatewayId !== undefined) { entries["EgressOnlyInternetGatewayId"] = input.EgressOnlyInternetGatewayId; } @@ -31742,6 +31745,13 @@ const serializeAws_ec2CreateVpcEndpointServiceConfigurationRequest = ( entries[loc] = value; }); } + if (input.GatewayLoadBalancerArns !== undefined) { + const memberEntries = serializeAws_ec2ValueStringList(input.GatewayLoadBalancerArns, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GatewayLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } if (input.ClientToken !== undefined) { entries["ClientToken"] = input.ClientToken; } @@ -40326,6 +40336,20 @@ const serializeAws_ec2ModifyVpcEndpointServiceConfigurationRequest = ( entries[loc] = value; }); } + if (input.AddGatewayLoadBalancerArns !== undefined) { + const memberEntries = serializeAws_ec2ValueStringList(input.AddGatewayLoadBalancerArns, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddGatewayLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input.RemoveGatewayLoadBalancerArns !== undefined) { + const memberEntries = serializeAws_ec2ValueStringList(input.RemoveGatewayLoadBalancerArns, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveGatewayLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } return entries; }; @@ -41676,6 +41700,9 @@ const serializeAws_ec2ReplaceRouteRequest = (input: ReplaceRouteRequest, context if (input.DryRun !== undefined) { entries["DryRun"] = input.DryRun; } + if (input.VpcEndpointId !== undefined) { + entries["VpcEndpointId"] = input.VpcEndpointId; + } if (input.EgressOnlyInternetGatewayId !== undefined) { entries["EgressOnlyInternetGatewayId"] = input.EgressOnlyInternetGatewayId; } @@ -60507,6 +60534,7 @@ const deserializeAws_ec2ServiceConfiguration = (output: any, context: __SerdeCon AcceptanceRequired: undefined, ManagesVpcEndpoints: undefined, NetworkLoadBalancerArns: undefined, + GatewayLoadBalancerArns: undefined, BaseEndpointDnsNames: undefined, PrivateDnsName: undefined, PrivateDnsNameConfiguration: undefined, @@ -60554,6 +60582,15 @@ const deserializeAws_ec2ServiceConfiguration = (output: any, context: __SerdeCon context ); } + if (output.gatewayLoadBalancerArnSet === "") { + contents.GatewayLoadBalancerArns = []; + } + if (output["gatewayLoadBalancerArnSet"] !== undefined && output["gatewayLoadBalancerArnSet"]["item"] !== undefined) { + contents.GatewayLoadBalancerArns = deserializeAws_ec2ValueStringList( + __getArrayIfSingleItem(output["gatewayLoadBalancerArnSet"]["item"]), + context + ); + } if (output.baseEndpointDnsNameSet === "") { contents.BaseEndpointDnsNames = []; } @@ -64274,6 +64311,7 @@ const deserializeAws_ec2VpcEndpointConnection = (output: any, context: __SerdeCo CreationTimestamp: undefined, DnsEntries: undefined, NetworkLoadBalancerArns: undefined, + GatewayLoadBalancerArns: undefined, }; if (output["serviceId"] !== undefined) { contents.ServiceId = output["serviceId"]; @@ -64305,6 +64343,15 @@ const deserializeAws_ec2VpcEndpointConnection = (output: any, context: __SerdeCo context ); } + if (output.gatewayLoadBalancerArnSet === "") { + contents.GatewayLoadBalancerArns = []; + } + if (output["gatewayLoadBalancerArnSet"] !== undefined && output["gatewayLoadBalancerArnSet"]["item"] !== undefined) { + contents.GatewayLoadBalancerArns = deserializeAws_ec2ValueStringList( + __getArrayIfSingleItem(output["gatewayLoadBalancerArnSet"]["item"]), + context + ); + } return contents; }; diff --git a/clients/client-ecr/pagination/DescribeImageScanFindingsPaginator.ts b/clients/client-ecr/pagination/DescribeImageScanFindingsPaginator.ts index 42e4aa215eda..4b36fcb59d27 100644 --- a/clients/client-ecr/pagination/DescribeImageScanFindingsPaginator.ts +++ b/clients/client-ecr/pagination/DescribeImageScanFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImageScanFindingsCommand(input), ...args); + return await client.send(new DescribeImageScanFindingsCommand(input, ...args)); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecr/pagination/DescribeImagesPaginator.ts b/clients/client-ecr/pagination/DescribeImagesPaginator.ts index 0291f2896ad3..51ac78d0e5f3 100644 --- a/clients/client-ecr/pagination/DescribeImagesPaginator.ts +++ b/clients/client-ecr/pagination/DescribeImagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImagesCommand(input), ...args); + return await client.send(new DescribeImagesCommand(input, ...args)); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecr/pagination/DescribeRepositoriesPaginator.ts b/clients/client-ecr/pagination/DescribeRepositoriesPaginator.ts index a6bda1c719bb..91bdeaf3fb6e 100644 --- a/clients/client-ecr/pagination/DescribeRepositoriesPaginator.ts +++ b/clients/client-ecr/pagination/DescribeRepositoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRepositoriesCommand(input), ...args); + return await client.send(new DescribeRepositoriesCommand(input, ...args)); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecr/pagination/GetLifecyclePolicyPreviewPaginator.ts b/clients/client-ecr/pagination/GetLifecyclePolicyPreviewPaginator.ts index a63a56e60dde..baeec6e1d1d4 100644 --- a/clients/client-ecr/pagination/GetLifecyclePolicyPreviewPaginator.ts +++ b/clients/client-ecr/pagination/GetLifecyclePolicyPreviewPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLifecyclePolicyPreviewCommand(input), ...args); + return await client.send(new GetLifecyclePolicyPreviewCommand(input, ...args)); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecr/pagination/ListImagesPaginator.ts b/clients/client-ecr/pagination/ListImagesPaginator.ts index fd6144717c63..4a781da4911f 100644 --- a/clients/client-ecr/pagination/ListImagesPaginator.ts +++ b/clients/client-ecr/pagination/ListImagesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagesCommand(input), ...args); + return await client.send(new ListImagesCommand(input, ...args)); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecs/ECS.ts b/clients/client-ecs/ECS.ts index 4ef4be9b4cec..7ffdcc68207b 100644 --- a/clients/client-ecs/ECS.ts +++ b/clients/client-ecs/ECS.ts @@ -228,30 +228,30 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** * Amazon Elastic Container Service - *

      Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes - * it easy to run, stop, and manage Docker containers on a cluster. You can host your - * cluster on a serverless infrastructure that is managed by Amazon ECS by launching your - * services or tasks using the Fargate launch type. For more control, you can host your - * tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the EC2 - * launch type. For more information about launch types, see Amazon ECS Launch - * Types.

      - *

      Amazon ECS lets you launch and stop container-based applications with simple API calls, - * allows you to get the state of your cluster from a centralized service, and gives you - * access to many familiar Amazon EC2 features.

      - *

      You can use Amazon ECS to schedule the placement of containers across your cluster based on - * your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates - * the need for you to operate your own cluster management and configuration management - * systems or worry about scaling your management infrastructure.

      + *

      Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes + * it easy to run, stop, and manage Docker containers on a cluster. You can host your + * cluster on a serverless infrastructure that is managed by Amazon ECS by launching your + * services or tasks using the Fargate launch type. For more control, you can host your + * tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the EC2 + * launch type. For more information about launch types, see Amazon ECS Launch + * Types.

      + *

      Amazon ECS lets you launch and stop container-based applications with simple API calls, + * allows you to get the state of your cluster from a centralized service, and gives you + * access to many familiar Amazon EC2 features.

      + *

      You can use Amazon ECS to schedule the placement of containers across your cluster based on + * your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates + * the need for you to operate your own cluster management and configuration management + * systems or worry about scaling your management infrastructure.

      */ export class ECS extends ECSClient { /** *

      Creates a new capacity provider. Capacity providers are associated with an Amazon ECS - * cluster and are used in capacity provider strategies to facilitate cluster auto - * scaling.

      - *

      Only capacity providers using an Auto Scaling group can be created. Amazon ECS tasks on - * AWS Fargate use the FARGATE and FARGATE_SPOT capacity providers - * which are already created and available to all accounts in Regions supported by - * AWS Fargate.

      + * cluster and are used in capacity provider strategies to facilitate cluster auto + * scaling.

      + *

      Only capacity providers using an Auto Scaling group can be created. Amazon ECS tasks on + * AWS Fargate use the FARGATE and FARGATE_SPOT capacity providers + * which are already created and available to all accounts in Regions supported by + * AWS Fargate.

      */ public createCapacityProvider( args: CreateCapacityProviderCommandInput, @@ -284,17 +284,17 @@ export class ECS extends ECSClient { /** *

      Creates a new Amazon ECS cluster. By default, your account receives a default - * cluster when you launch your first container instance. However, you can create your own - * cluster with a unique name with the CreateCluster action.

      - * - *

      When you call the CreateCluster API operation, Amazon ECS attempts to - * create the Amazon ECS service-linked role for your account so that required resources in - * other AWS services can be managed on your behalf. However, if the IAM user that - * makes the call does not have permissions to create the service-linked role, it is - * not created. For more information, see Using - * Service-Linked Roles for Amazon ECS in the - * Amazon Elastic Container Service Developer Guide.

      - *
      + * cluster when you launch your first container instance. However, you can create your own + * cluster with a unique name with the CreateCluster action.

      + * + *

      When you call the CreateCluster API operation, Amazon ECS attempts to + * create the Amazon ECS service-linked role for your account so that required resources in + * other AWS services can be managed on your behalf. However, if the IAM user that + * makes the call does not have permissions to create the service-linked role, it is + * not created. For more information, see Using + * Service-Linked Roles for Amazon ECS in the + * Amazon Elastic Container Service Developer Guide.

      + *
      */ public createCluster( args: CreateClusterCommandInput, @@ -327,110 +327,110 @@ export class ECS extends ECSClient { /** *

      Runs and maintains a desired number of tasks from a specified task definition. If the - * number of tasks running in a service drops below the desiredCount, Amazon ECS - * runs another copy of the task in the specified cluster. To update an existing service, - * see the UpdateService action.

      - *

      In addition to maintaining the desired count of tasks in your service, you can - * optionally run your service behind one or more load balancers. The load balancers - * distribute traffic across the tasks that are associated with the service. For more - * information, see Service Load Balancing in the - * Amazon Elastic Container Service Developer Guide.

      - *

      Tasks for services that do not use a load balancer are considered - * healthy if they're in the RUNNING state. Tasks for services that - * do use a load balancer are considered healthy if they're in the - * RUNNING state and the container instance that they're hosted on is - * reported as healthy by the load balancer.

      - *

      There are two service scheduler strategies available:

      - *
        + * number of tasks running in a service drops below the desiredCount, Amazon ECS + * runs another copy of the task in the specified cluster. To update an existing service, + * see the UpdateService action.

        + *

        In addition to maintaining the desired count of tasks in your service, you can + * optionally run your service behind one or more load balancers. The load balancers + * distribute traffic across the tasks that are associated with the service. For more + * information, see Service Load Balancing in the + * Amazon Elastic Container Service Developer Guide.

        + *

        Tasks for services that do not use a load balancer are considered + * healthy if they're in the RUNNING state. Tasks for services that + * do use a load balancer are considered healthy if they're in the + * RUNNING state and the container instance that they're hosted on is + * reported as healthy by the load balancer.

        + *

        There are two service scheduler strategies available:

        + *
          *
        • - *

          + *

          * REPLICA - The replica scheduling strategy places and - * maintains the desired number of tasks across your cluster. By default, the - * service scheduler spreads tasks across Availability Zones. You can use task - * placement strategies and constraints to customize task placement decisions. For - * more information, see Service Scheduler Concepts in the - * Amazon Elastic Container Service Developer Guide.

          - *
        • + * maintains the desired number of tasks across your cluster. By default, the + * service scheduler spreads tasks across Availability Zones. You can use task + * placement strategies and constraints to customize task placement decisions. For + * more information, see Service Scheduler Concepts in the + * Amazon Elastic Container Service Developer Guide.

          + * *
        • - *

          + *

          * DAEMON - The daemon scheduling strategy deploys exactly one - * task on each active container instance that meets all of the task placement - * constraints that you specify in your cluster. The service scheduler also - * evaluates the task placement constraints for running tasks and will stop tasks - * that do not meet the placement constraints. When using this strategy, you don't - * need to specify a desired number of tasks, a task placement strategy, or use - * Service Auto Scaling policies. For more information, see Service Scheduler Concepts in the - * Amazon Elastic Container Service Developer Guide.

          - *
        • + * task on each active container instance that meets all of the task placement + * constraints that you specify in your cluster. The service scheduler also + * evaluates the task placement constraints for running tasks and will stop tasks + * that do not meet the placement constraints. When using this strategy, you don't + * need to specify a desired number of tasks, a task placement strategy, or use + * Service Auto Scaling policies. For more information, see Service Scheduler Concepts in the + * Amazon Elastic Container Service Developer Guide.

          + * *
        - *

        You can optionally specify a deployment configuration for your service. The deployment - * is triggered by changing properties, such as the task definition or the desired count of - * a service, with an UpdateService operation. The default value for a - * replica service for minimumHealthyPercent is 100%. The default value for a - * daemon service for minimumHealthyPercent is 0%.

        - *

        If a service is using the ECS deployment controller, the minimum healthy - * percent represents a lower limit on the number of tasks in a service that must remain in - * the RUNNING state during a deployment, as a percentage of the desired - * number of tasks (rounded up to the nearest integer), and while any container instances - * are in the DRAINING state if the service contains tasks using the - * EC2 launch type. This parameter enables you to deploy without using - * additional cluster capacity. For example, if your service has a desired number of four - * tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks - * to free up cluster capacity before starting two new tasks. Tasks for services that - * do not use a load balancer are considered healthy if they're in - * the RUNNING state. Tasks for services that do use a - * load balancer are considered healthy if they're in the RUNNING state and - * they're reported as healthy by the load balancer. The default value for minimum healthy - * percent is 100%.

        - *

        If a service is using the ECS deployment controller, the maximum percent parameter represents an upper limit on the - * number of tasks in a service that are allowed in the RUNNING or - * PENDING state during a deployment, as a percentage of the desired - * number of tasks (rounded down to the nearest integer), and while any container instances - * are in the DRAINING state if the service contains tasks using the - * EC2 launch type. This parameter enables you to define the deployment batch - * size. For example, if your service has a desired number of four tasks and a maximum - * percent value of 200%, the scheduler may start four new tasks before stopping the four - * older tasks (provided that the cluster resources required to do this are available). The - * default value for maximum percent is 200%.

        - *

        If a service is using either the CODE_DEPLOY or EXTERNAL - * deployment controller types and tasks that use the EC2 launch type, the - * minimum healthy percent and maximum percent values are used only to define the lower and upper limit - * on the number of the tasks in the service that remain in the RUNNING state - * while the container instances are in the DRAINING state. If the tasks in - * the service use the Fargate launch type, the minimum healthy percent and - * maximum percent values aren't used, although they're currently visible when describing - * your service.

        - *

        When creating a service that uses the EXTERNAL deployment controller, you - * can specify only parameters that aren't controlled at the task set level. The only - * required parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

        - *

        When the service scheduler launches new tasks, it determines task placement in your - * cluster using the following logic:

        - *
          + *

          You can optionally specify a deployment configuration for your service. The deployment + * is triggered by changing properties, such as the task definition or the desired count of + * a service, with an UpdateService operation. The default value for a + * replica service for minimumHealthyPercent is 100%. The default value for a + * daemon service for minimumHealthyPercent is 0%.

          + *

          If a service is using the ECS deployment controller, the minimum healthy + * percent represents a lower limit on the number of tasks in a service that must remain in + * the RUNNING state during a deployment, as a percentage of the desired + * number of tasks (rounded up to the nearest integer), and while any container instances + * are in the DRAINING state if the service contains tasks using the + * EC2 launch type. This parameter enables you to deploy without using + * additional cluster capacity. For example, if your service has a desired number of four + * tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks + * to free up cluster capacity before starting two new tasks. Tasks for services that + * do not use a load balancer are considered healthy if they're in + * the RUNNING state. Tasks for services that do use a + * load balancer are considered healthy if they're in the RUNNING state and + * they're reported as healthy by the load balancer. The default value for minimum healthy + * percent is 100%.

          + *

          If a service is using the ECS deployment controller, the maximum percent parameter represents an upper limit on the + * number of tasks in a service that are allowed in the RUNNING or + * PENDING state during a deployment, as a percentage of the desired + * number of tasks (rounded down to the nearest integer), and while any container instances + * are in the DRAINING state if the service contains tasks using the + * EC2 launch type. This parameter enables you to define the deployment batch + * size. For example, if your service has a desired number of four tasks and a maximum + * percent value of 200%, the scheduler may start four new tasks before stopping the four + * older tasks (provided that the cluster resources required to do this are available). The + * default value for maximum percent is 200%.

          + *

          If a service is using either the CODE_DEPLOY or EXTERNAL + * deployment controller types and tasks that use the EC2 launch type, the + * minimum healthy percent and maximum percent values are used only to define the lower and upper limit + * on the number of the tasks in the service that remain in the RUNNING state + * while the container instances are in the DRAINING state. If the tasks in + * the service use the Fargate launch type, the minimum healthy percent and + * maximum percent values aren't used, although they're currently visible when describing + * your service.

          + *

          When creating a service that uses the EXTERNAL deployment controller, you + * can specify only parameters that aren't controlled at the task set level. The only + * required parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

          + *

          When the service scheduler launches new tasks, it determines task placement in your + * cluster using the following logic:

          + *
            *
          • - *

            Determine which of the container instances in your cluster can support your - * service's task definition (for example, they have the required CPU, memory, - * ports, and container instance attributes).

            - *
          • + *

            Determine which of the container instances in your cluster can support your + * service's task definition (for example, they have the required CPU, memory, + * ports, and container instance attributes).

            + * *
          • - *

            By default, the service scheduler attempts to balance tasks across - * Availability Zones in this manner (although you can choose a different placement - * strategy) with the placementStrategy parameter):

            - *
              + *

              By default, the service scheduler attempts to balance tasks across + * Availability Zones in this manner (although you can choose a different placement + * strategy) with the placementStrategy parameter):

              + *
                *
              • - *

                Sort the valid container instances, giving priority to instances that - * have the fewest number of running tasks for this service in their - * respective Availability Zone. For example, if zone A has one running - * service task and zones B and C each have zero, valid container instances - * in either zone B or C are considered optimal for placement.

                - *
              • + *

                Sort the valid container instances, giving priority to instances that + * have the fewest number of running tasks for this service in their + * respective Availability Zone. For example, if zone A has one running + * service task and zones B and C each have zero, valid container instances + * in either zone B or C are considered optimal for placement.

                + * *
              • - *

                Place the new service task on a valid container instance in an optimal - * Availability Zone (based on the previous steps), favoring container - * instances with the fewest number of running tasks for this - * service.

                - *
              • + *

                Place the new service task on a valid container instance in an optimal + * Availability Zone (based on the previous steps), favoring container + * instances with the fewest number of running tasks for this + * service.

                + * *
              - * + * *
            */ public createService( @@ -464,9 +464,9 @@ export class ECS extends ECSClient { /** *

            Create a task set in the specified cluster and service. This is used when a service - * uses the EXTERNAL deployment controller type. For more information, see - * Amazon ECS Deployment - * Types in the Amazon Elastic Container Service Developer Guide.

            + * uses the EXTERNAL deployment controller type. For more information, see + * Amazon ECS Deployment + * Types in the Amazon Elastic Container Service Developer Guide.

            */ public createTaskSet( args: CreateTaskSetCommandInput, @@ -499,7 +499,7 @@ export class ECS extends ECSClient { /** *

            Disables an account setting for a specified IAM user, IAM role, or the root user for - * an account.

            + * an account.

            */ public deleteAccountSetting( args: DeleteAccountSettingCommandInput, @@ -564,20 +564,20 @@ export class ECS extends ECSClient { /** *

            Deletes the specified capacity provider.

            - * - *

            The FARGATE and FARGATE_SPOT capacity providers are - * reserved and cannot be deleted. You can disassociate them from a cluster using - * either the PutClusterCapacityProviders API or by deleting the - * cluster.

            - *
            - *

            Prior to a capacity provider being deleted, the capacity provider must be removed from - * the capacity provider strategy from all services. The UpdateService - * API can be used to remove a capacity provider from a service's capacity provider - * strategy. When updating a service, the forceNewDeployment option can be - * used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity - * provider are transitioned to use the capacity from the remaining capacity providers. - * Only capacity providers that are not associated with a cluster can be deleted. To remove - * a capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

            + * + *

            The FARGATE and FARGATE_SPOT capacity providers are + * reserved and cannot be deleted. You can disassociate them from a cluster using + * either the PutClusterCapacityProviders API or by deleting the + * cluster.

            + *
            + *

            Prior to a capacity provider being deleted, the capacity provider must be removed from + * the capacity provider strategy from all services. The UpdateService + * API can be used to remove a capacity provider from a service's capacity provider + * strategy. When updating a service, the forceNewDeployment option can be + * used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity + * provider are transitioned to use the capacity from the remaining capacity providers. + * Only capacity providers that are not associated with a cluster can be deleted. To remove + * a capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

            */ public deleteCapacityProvider( args: DeleteCapacityProviderCommandInput, @@ -610,12 +610,12 @@ export class ECS extends ECSClient { /** *

            Deletes the specified cluster. The cluster will transition to the - * INACTIVE state. Clusters with an INACTIVE status may - * remain discoverable in your account for a period of time. However, this behavior is - * subject to change in the future, so you should not rely on INACTIVE - * clusters persisting.

            - *

            You must deregister all container instances from this cluster before you may delete - * it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

            + * INACTIVE state. Clusters with an INACTIVE status may + * remain discoverable in your account for a period of time. However, this behavior is + * subject to change in the future, so you should not rely on INACTIVE + * clusters persisting.

            + *

            You must deregister all container instances from this cluster before you may delete + * it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

            */ public deleteCluster( args: DeleteClusterCommandInput, @@ -648,26 +648,26 @@ export class ECS extends ECSClient { /** *

            Deletes a specified service within a cluster. You can delete a service if you have no - * running tasks in it and the desired task count is zero. If the service is actively - * maintaining tasks, you cannot delete it, and you must update the service to a desired - * task count of zero. For more information, see UpdateService.

            - * - *

            When you delete a service, if there are still running tasks that require cleanup, - * the service status moves from ACTIVE to DRAINING, and the - * service is no longer visible in the console or in the ListServices - * API operation. After all tasks have transitioned to either STOPPING or - * STOPPED status, the service status moves from DRAINING - * to INACTIVE. Services in the DRAINING or - * INACTIVE status can still be viewed with the DescribeServices API operation. However, in the future, - * INACTIVE services may be cleaned up and purged from Amazon ECS record - * keeping, and DescribeServices calls on those services return a - * ServiceNotFoundException error.

            - *
            - * - *

            If you attempt to create a new service with the same name as an existing service - * in either ACTIVE or DRAINING status, you receive an - * error.

            - *
            + * running tasks in it and the desired task count is zero. If the service is actively + * maintaining tasks, you cannot delete it, and you must update the service to a desired + * task count of zero. For more information, see UpdateService.

            + * + *

            When you delete a service, if there are still running tasks that require cleanup, + * the service status moves from ACTIVE to DRAINING, and the + * service is no longer visible in the console or in the ListServices + * API operation. After all tasks have transitioned to either STOPPING or + * STOPPED status, the service status moves from DRAINING + * to INACTIVE. Services in the DRAINING or + * INACTIVE status can still be viewed with the DescribeServices API operation. However, in the future, + * INACTIVE services may be cleaned up and purged from Amazon ECS record + * keeping, and DescribeServices calls on those services return a + * ServiceNotFoundException error.

            + *
            + * + *

            If you attempt to create a new service with the same name as an existing service + * in either ACTIVE or DRAINING status, you receive an + * error.

            + *
            */ public deleteService( args: DeleteServiceCommandInput, @@ -700,7 +700,7 @@ export class ECS extends ECSClient { /** *

            Deletes a specified task set within a service. This is used when a service uses the - * EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

            + * EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

            */ public deleteTaskSet( args: DeleteTaskSetCommandInput, @@ -733,18 +733,18 @@ export class ECS extends ECSClient { /** *

            Deregisters an Amazon ECS container instance from the specified cluster. This instance is - * no longer available to run tasks.

            - *

            If you intend to use the container instance for some other purpose after - * deregistration, you should stop all of the tasks running on the container instance - * before deregistration. That prevents any orphaned tasks from consuming resources.

            - *

            Deregistering a container instance removes the instance from a cluster, but it does - * not terminate the EC2 instance. If you are finished using the instance, be sure to - * terminate it in the Amazon EC2 console to stop billing.

            - * - *

            If you terminate a running container instance, Amazon ECS automatically deregisters the - * instance from your cluster (stopped container instances or instances with - * disconnected agents are not automatically deregistered when terminated).

            - *
            + * no longer available to run tasks.

            + *

            If you intend to use the container instance for some other purpose after + * deregistration, you should stop all of the tasks running on the container instance + * before deregistration. That prevents any orphaned tasks from consuming resources.

            + *

            Deregistering a container instance removes the instance from a cluster, but it does + * not terminate the EC2 instance. If you are finished using the instance, be sure to + * terminate it in the Amazon EC2 console to stop billing.

            + * + *

            If you terminate a running container instance, Amazon ECS automatically deregisters the + * instance from your cluster (stopped container instances or instances with + * disconnected agents are not automatically deregistered when terminated).

            + *
            */ public deregisterContainerInstance( args: DeregisterContainerInstanceCommandInput, @@ -777,21 +777,21 @@ export class ECS extends ECSClient { /** *

            Deregisters the specified task definition by family and revision. Upon deregistration, - * the task definition is marked as INACTIVE. Existing tasks and services that - * reference an INACTIVE task definition continue to run without disruption. - * Existing services that reference an INACTIVE task definition can still - * scale up or down by modifying the service's desired count.

            - *

            You cannot use an INACTIVE task definition to run new tasks or create new - * services, and you cannot update an existing service to reference an - * INACTIVE task definition. However, there may be up to a 10-minute - * window following deregistration where these restrictions have not yet taken - * effect.

            - * - *

            At this time, INACTIVE task definitions remain discoverable in your - * account indefinitely. However, this behavior is subject to change in the future, so - * you should not rely on INACTIVE task definitions persisting beyond the - * lifecycle of any associated tasks and services.

            - *
            + * the task definition is marked as INACTIVE. Existing tasks and services that + * reference an INACTIVE task definition continue to run without disruption. + * Existing services that reference an INACTIVE task definition can still + * scale up or down by modifying the service's desired count.

            + *

            You cannot use an INACTIVE task definition to run new tasks or create new + * services, and you cannot update an existing service to reference an + * INACTIVE task definition. However, there may be up to a 10-minute + * window following deregistration where these restrictions have not yet taken + * effect.

            + * + *

            At this time, INACTIVE task definitions remain discoverable in your + * account indefinitely. However, this behavior is subject to change in the future, so + * you should not rely on INACTIVE task definitions persisting beyond the + * lifecycle of any associated tasks and services.

            + *
            */ public deregisterTaskDefinition( args: DeregisterTaskDefinitionCommandInput, @@ -888,7 +888,7 @@ export class ECS extends ECSClient { /** *

            Describes Amazon Elastic Container Service container instances. Returns metadata about registered and - * remaining resources on each container instance requested.

            + * remaining resources on each container instance requested.

            */ public describeContainerInstances( args: DescribeContainerInstancesCommandInput, @@ -953,13 +953,13 @@ export class ECS extends ECSClient { /** *

            Describes a task definition. You can specify a family and - * revision to find information about a specific task definition, or you - * can simply specify the family to find the latest ACTIVE revision in that - * family.

            - * - *

            You can only describe INACTIVE task definitions while an active task - * or service references them.

            - *
            + * revision to find information about a specific task definition, or you + * can simply specify the family to find the latest ACTIVE revision in that + * family.

            + * + *

            You can only describe INACTIVE task definitions while an active task + * or service references them.

            + *
            */ public describeTaskDefinition( args: DescribeTaskDefinitionCommandInput, @@ -1024,9 +1024,9 @@ export class ECS extends ECSClient { /** *

            Describes the task sets in the specified cluster and service. This is used when a - * service uses the EXTERNAL deployment controller type. For more information, - * see Amazon ECS Deployment - * Types in the Amazon Elastic Container Service Developer Guide.

            + * service uses the EXTERNAL deployment controller type. For more information, + * see Amazon ECS Deployment + * Types in the Amazon Elastic Container Service Developer Guide.

            */ public describeTaskSets( args: DescribeTaskSetsCommandInput, @@ -1062,7 +1062,7 @@ export class ECS extends ECSClient { *

            This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

            * *

            Returns an endpoint for - * the Amazon ECS agent to poll for updates.

            + * the Amazon ECS agent to poll for updates.

            */ public discoverPollEndpoint( args: DiscoverPollEndpointCommandInput, @@ -1127,12 +1127,12 @@ export class ECS extends ECSClient { /** *

            Lists the attributes for Amazon ECS resources within a specified target type and cluster. - * When you specify a target type and cluster, ListAttributes returns a list - * of attribute objects, one for each attribute on each resource. You can filter the list - * of results to a single attribute name to only return results that have that name. You - * can also filter the results by attribute name and value, for example, to see which - * container instances in a cluster are running a Linux AMI - * (ecs.os-type=linux).

            + * When you specify a target type and cluster, ListAttributes returns a list + * of attribute objects, one for each attribute on each resource. You can filter the list + * of results to a single attribute name to only return results that have that name. You + * can also filter the results by attribute name and value, for example, to see which + * container instances in a cluster are running a Linux AMI + * (ecs.os-type=linux).

            */ public listAttributes( args: ListAttributesCommandInput, @@ -1194,9 +1194,9 @@ export class ECS extends ECSClient { /** *

            Returns a list of container instances in a specified cluster. You can filter the - * results of a ListContainerInstances operation with cluster query language - * statements inside the filter parameter. For more information, see Cluster Query Language in the - * Amazon Elastic Container Service Developer Guide.

            + * results of a ListContainerInstances operation with cluster query language + * statements inside the filter parameter. For more information, see Cluster Query Language in the + * Amazon Elastic Container Service Developer Guide.

            */ public listContainerInstances( args: ListContainerInstancesCommandInput, @@ -1290,12 +1290,12 @@ export class ECS extends ECSClient { /** *

            Returns a list of task definition families that are registered to your account (which - * may include task definition families that no longer have any ACTIVE task - * definition revisions).

            - *

            You can filter out task definition families that do not contain any - * ACTIVE task definition revisions by setting the status - * parameter to ACTIVE. You can also filter the results with the - * familyPrefix parameter.

            + * may include task definition families that no longer have any ACTIVE task + * definition revisions).

            + *

            You can filter out task definition families that do not contain any + * ACTIVE task definition revisions by setting the status + * parameter to ACTIVE. You can also filter the results with the + * familyPrefix parameter.

            */ public listTaskDefinitionFamilies( args: ListTaskDefinitionFamiliesCommandInput, @@ -1328,8 +1328,8 @@ export class ECS extends ECSClient { /** *

            Returns a list of task definitions that are registered to your account. You can filter - * the results by family name with the familyPrefix parameter or by status - * with the status parameter.

            + * the results by family name with the familyPrefix parameter or by status + * with the status parameter.

            */ public listTaskDefinitions( args: ListTaskDefinitionsCommandInput, @@ -1362,11 +1362,11 @@ export class ECS extends ECSClient { /** *

            Returns a list of tasks for a specified cluster. You can filter the results by family - * name, by a particular container instance, or by the desired status of the task with the - * family, containerInstance, and desiredStatus - * parameters.

            - *

            Recently stopped tasks might appear in the returned results. Currently, stopped tasks - * appear in the returned results for at least one hour.

            + * name, by a particular container instance, or by the desired status of the task with the + * family, containerInstance, and desiredStatus + * parameters.

            + *

            Recently stopped tasks might appear in the returned results. Currently, stopped tasks + * appear in the returned results for at least one hour.

            */ public listTasks(args: ListTasksCommandInput, options?: __HttpHandlerOptions): Promise; public listTasks(args: ListTasksCommandInput, cb: (err: any, data?: ListTasksCommandOutput) => void): void; @@ -1393,29 +1393,29 @@ export class ECS extends ECSClient { /** *

            Modifies an account setting. Account settings are set on a per-Region basis.

            - *

            If you change the account setting for the root user, the default settings for all of - * the IAM users and roles for which no individual account setting has been specified are - * reset. For more information, see Account - * Settings in the Amazon Elastic Container Service Developer Guide.

            - *

            When serviceLongArnFormat, taskLongArnFormat, or - * containerInstanceLongArnFormat are specified, the Amazon Resource Name - * (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or - * the root user for an account is affected. The opt-in and opt-out account setting must be - * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource - * will be defined by the opt-in status of the IAM user or role that created the resource. - * You must enable this setting to use Amazon ECS features such as resource tagging.

            - *

            When awsvpcTrunking is specified, the elastic network interface (ENI) - * limit for any new container instances that support the feature is changed. If - * awsvpcTrunking is enabled, any new container instances that support the - * feature are launched have the increased ENI limits available to them. For more - * information, see Elastic Network - * Interface Trunking in the Amazon Elastic Container Service Developer Guide.

            - *

            When containerInsights is specified, the default setting indicating - * whether CloudWatch Container Insights is enabled for your clusters is changed. If - * containerInsights is enabled, any new clusters that are created will - * have Container Insights enabled unless you disable it during cluster creation. For more - * information, see CloudWatch - * Container Insights in the Amazon Elastic Container Service Developer Guide.

            + *

            If you change the account setting for the root user, the default settings for all of + * the IAM users and roles for which no individual account setting has been specified are + * reset. For more information, see Account + * Settings in the Amazon Elastic Container Service Developer Guide.

            + *

            When serviceLongArnFormat, taskLongArnFormat, or + * containerInstanceLongArnFormat are specified, the Amazon Resource Name + * (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or + * the root user for an account is affected. The opt-in and opt-out account setting must be + * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource + * will be defined by the opt-in status of the IAM user or role that created the resource. + * You must enable this setting to use Amazon ECS features such as resource tagging.

            + *

            When awsvpcTrunking is specified, the elastic network interface (ENI) + * limit for any new container instances that support the feature is changed. If + * awsvpcTrunking is enabled, any new container instances that support the + * feature are launched have the increased ENI limits available to them. For more + * information, see Elastic Network + * Interface Trunking in the Amazon Elastic Container Service Developer Guide.

            + *

            When containerInsights is specified, the default setting indicating + * whether CloudWatch Container Insights is enabled for your clusters is changed. If + * containerInsights is enabled, any new clusters that are created will + * have Container Insights enabled unless you disable it during cluster creation. For more + * information, see CloudWatch + * Container Insights in the Amazon Elastic Container Service Developer Guide.

            */ public putAccountSetting( args: PutAccountSettingCommandInput, @@ -1448,8 +1448,8 @@ export class ECS extends ECSClient { /** *

            Modifies an account setting for all IAM users on an account for whom no individual - * account setting has been specified. Account settings are set on a per-Region - * basis.

            + * account setting has been specified. Account settings are set on a per-Region + * basis.

            */ public putAccountSettingDefault( args: PutAccountSettingDefaultCommandInput, @@ -1482,10 +1482,10 @@ export class ECS extends ECSClient { /** *

            Create or update an attribute on an Amazon ECS resource. If the attribute does not exist, - * it is created. If the attribute exists, its value is replaced with the specified value. - * To delete an attribute, use DeleteAttributes. For more information, - * see Attributes in the - * Amazon Elastic Container Service Developer Guide.

            + * it is created. If the attribute exists, its value is replaced with the specified value. + * To delete an attribute, use DeleteAttributes. For more information, + * see Attributes in the + * Amazon Elastic Container Service Developer Guide.

            */ public putAttributes( args: PutAttributesCommandInput, @@ -1518,19 +1518,19 @@ export class ECS extends ECSClient { /** *

            Modifies the available capacity providers and the default capacity provider strategy - * for a cluster.

            - *

            You must specify both the available capacity providers and a default capacity provider - * strategy for the cluster. If the specified cluster has existing capacity providers - * associated with it, you must specify all existing capacity providers in addition to any - * new ones you want to add. Any existing capacity providers associated with a cluster that - * are omitted from a PutClusterCapacityProviders API call will be - * disassociated with the cluster. You can only disassociate an existing capacity provider - * from a cluster if it's not being used by any existing tasks.

            - *

            When creating a service or running a task on a cluster, if no capacity provider or - * launch type is specified, then the cluster's default capacity provider strategy is used. - * It is recommended to define a default capacity provider strategy for your cluster, - * however you may specify an empty array ([]) to bypass defining a default - * strategy.

            + * for a cluster.

            + *

            You must specify both the available capacity providers and a default capacity provider + * strategy for the cluster. If the specified cluster has existing capacity providers + * associated with it, you must specify all existing capacity providers in addition to any + * new ones you want to add. Any existing capacity providers associated with a cluster that + * are omitted from a PutClusterCapacityProviders API call will be + * disassociated with the cluster. You can only disassociate an existing capacity provider + * from a cluster if it's not being used by any existing tasks.

            + *

            When creating a service or running a task on a cluster, if no capacity provider or + * launch type is specified, then the cluster's default capacity provider strategy is used. + * It is recommended to define a default capacity provider strategy for your cluster, + * however you may specify an empty array ([]) to bypass defining a default + * strategy.

            */ public putClusterCapacityProviders( args: PutClusterCapacityProvidersCommandInput, @@ -1566,8 +1566,8 @@ export class ECS extends ECSClient { *

            This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

            * *

            Registers an EC2 - * instance into the specified cluster. This instance becomes available to place containers - * on.

            + * instance into the specified cluster. This instance becomes available to place containers + * on.

            */ public registerContainerInstance( args: RegisterContainerInstanceCommandInput, @@ -1600,23 +1600,23 @@ export class ECS extends ECSClient { /** *

            Registers a new task definition from the supplied family and - * containerDefinitions. Optionally, you can add data volumes to your - * containers with the volumes parameter. For more information about task - * definition parameters and defaults, see Amazon ECS Task - * Definitions in the Amazon Elastic Container Service Developer Guide.

            - *

            You can specify an IAM role for your task with the taskRoleArn parameter. - * When you specify an IAM role for a task, its containers can then use the latest versions - * of the AWS CLI or SDKs to make API requests to the AWS services that are specified in - * the IAM policy associated with the role. For more information, see IAM - * Roles for Tasks in the Amazon Elastic Container Service Developer Guide.

            - *

            You can specify a Docker networking mode for the containers in your task definition - * with the networkMode parameter. The available network modes correspond to - * those described in Network - * settings in the Docker run reference. If you specify the awsvpc - * network mode, the task is allocated an elastic network interface, and you must specify a - * NetworkConfiguration when you create a service or run a task with - * the task definition. For more information, see Task Networking - * in the Amazon Elastic Container Service Developer Guide.

            + * containerDefinitions. Optionally, you can add data volumes to your + * containers with the volumes parameter. For more information about task + * definition parameters and defaults, see Amazon ECS Task + * Definitions in the Amazon Elastic Container Service Developer Guide.

            + *

            You can specify an IAM role for your task with the taskRoleArn parameter. + * When you specify an IAM role for a task, its containers can then use the latest versions + * of the AWS CLI or SDKs to make API requests to the AWS services that are specified in + * the IAM policy associated with the role. For more information, see IAM + * Roles for Tasks in the Amazon Elastic Container Service Developer Guide.

            + *

            You can specify a Docker networking mode for the containers in your task definition + * with the networkMode parameter. The available network modes correspond to + * those described in Network + * settings in the Docker run reference. If you specify the awsvpc + * network mode, the task is allocated an elastic network interface, and you must specify a + * NetworkConfiguration when you create a service or run a task with + * the task definition. For more information, see Task Networking + * in the Amazon Elastic Container Service Developer Guide.

            */ public registerTaskDefinition( args: RegisterTaskDefinitionCommandInput, @@ -1649,33 +1649,33 @@ export class ECS extends ECSClient { /** *

            Starts a new task using the specified task definition.

            - *

            You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places - * tasks using placement constraints and placement strategies. For more information, see - * Scheduling Tasks in the - * Amazon Elastic Container Service Developer Guide.

            - *

            Alternatively, you can use StartTask to use your own scheduler or - * place tasks manually on specific container instances.

            - *

            The Amazon ECS API follows an eventual consistency model, due to the distributed nature of - * the system supporting the API. This means that the result of an API command you run that - * affects your Amazon ECS resources might not be immediately visible to all subsequent commands - * you run. Keep this in mind when you carry out an API command that immediately follows a - * previous API command.

            - *

            To manage eventual consistency, you can do the following:

            - *
              + *

              You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places + * tasks using placement constraints and placement strategies. For more information, see + * Scheduling Tasks in the + * Amazon Elastic Container Service Developer Guide.

              + *

              Alternatively, you can use StartTask to use your own scheduler or + * place tasks manually on specific container instances.

              + *

              The Amazon ECS API follows an eventual consistency model, due to the distributed nature of + * the system supporting the API. This means that the result of an API command you run that + * affects your Amazon ECS resources might not be immediately visible to all subsequent commands + * you run. Keep this in mind when you carry out an API command that immediately follows a + * previous API command.

              + *

              To manage eventual consistency, you can do the following:

              + *
                *
              • - *

                Confirm the state of the resource before you run a command to modify it. Run - * the DescribeTasks command using an exponential backoff algorithm to ensure that - * you allow enough time for the previous command to propagate through the system. - * To do this, run the DescribeTasks command repeatedly, starting with a couple of - * seconds of wait time and increasing gradually up to five minutes of wait - * time.

                - *
              • + *

                Confirm the state of the resource before you run a command to modify it. Run + * the DescribeTasks command using an exponential backoff algorithm to ensure that + * you allow enough time for the previous command to propagate through the system. + * To do this, run the DescribeTasks command repeatedly, starting with a couple of + * seconds of wait time and increasing gradually up to five minutes of wait + * time.

                + * *
              • - *

                Add wait time between subsequent commands, even if the DescribeTasks command - * returns an accurate response. Apply an exponential backoff algorithm starting - * with a couple of seconds of wait time, and increase gradually up to about five - * minutes of wait time.

                - *
              • + *

                Add wait time between subsequent commands, even if the DescribeTasks command + * returns an accurate response. Apply an exponential backoff algorithm starting + * with a couple of seconds of wait time, and increase gradually up to about five + * minutes of wait time.

                + * *
              */ public runTask(args: RunTaskCommandInput, options?: __HttpHandlerOptions): Promise; @@ -1703,10 +1703,10 @@ export class ECS extends ECSClient { /** *

              Starts a new task from the specified task definition on the specified container - * instance or instances.

              - *

              Alternatively, you can use RunTask to place tasks for you. For more - * information, see Scheduling Tasks in the - * Amazon Elastic Container Service Developer Guide.

              + * instance or instances.

              + *

              Alternatively, you can use RunTask to place tasks for you. For more + * information, see Scheduling Tasks in the + * Amazon Elastic Container Service Developer Guide.

              */ public startTask(args: StartTaskCommandInput, options?: __HttpHandlerOptions): Promise; public startTask(args: StartTaskCommandInput, cb: (err: any, data?: StartTaskCommandOutput) => void): void; @@ -1733,18 +1733,18 @@ export class ECS extends ECSClient { /** *

              Stops a running task. Any tags associated with the task will be deleted.

              - *

              When StopTask is called on a task, the equivalent of docker - * stop is issued to the containers running in the task. This results in a - * SIGTERM value and a default 30-second timeout, after which the - * SIGKILL value is sent and the containers are forcibly stopped. If the - * container handles the SIGTERM value gracefully and exits within 30 seconds - * from receiving it, no SIGKILL value is sent.

              - * - *

              The default 30-second timeout can be configured on the Amazon ECS container agent with - * the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see - * Amazon ECS Container Agent Configuration in the - * Amazon Elastic Container Service Developer Guide.

              - *
              + *

              When StopTask is called on a task, the equivalent of docker + * stop is issued to the containers running in the task. This results in a + * SIGTERM value and a default 30-second timeout, after which the + * SIGKILL value is sent and the containers are forcibly stopped. If the + * container handles the SIGTERM value gracefully and exits within 30 seconds + * from receiving it, no SIGKILL value is sent.

              + * + *

              The default 30-second timeout can be configured on the Amazon ECS container agent with + * the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see + * Amazon ECS Container Agent Configuration in the + * Amazon Elastic Container Service Developer Guide.

              + *
              */ public stopTask(args: StopTaskCommandInput, options?: __HttpHandlerOptions): Promise; public stopTask(args: StopTaskCommandInput, cb: (err: any, data?: StopTaskCommandOutput) => void): void; @@ -1774,7 +1774,7 @@ export class ECS extends ECSClient { *

              This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

              * *

              Sent to - * acknowledge that an attachment changed states.

              + * acknowledge that an attachment changed states.

              */ public submitAttachmentStateChanges( args: SubmitAttachmentStateChangesCommandInput, @@ -1810,7 +1810,7 @@ export class ECS extends ECSClient { *

              This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

              * *

              Sent to - * acknowledge that a container changed states.

              + * acknowledge that a container changed states.

              */ public submitContainerStateChange( args: SubmitContainerStateChangeCommandInput, @@ -1846,7 +1846,7 @@ export class ECS extends ECSClient { *

              This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

              * *

              Sent to acknowledge - * that a task changed states.

              + * that a task changed states.

              */ public submitTaskStateChange( args: SubmitTaskStateChangeCommandInput, @@ -1879,9 +1879,9 @@ export class ECS extends ECSClient { /** *

              Associates the specified tags to a resource with the specified - * resourceArn. If existing tags on a resource are not specified in the - * request parameters, they are not changed. When a resource is deleted, the tags - * associated with that resource are deleted as well.

              + * resourceArn. If existing tags on a resource are not specified in the + * request parameters, they are not changed. When a resource is deleted, the tags + * associated with that resource are deleted as well.

              */ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; @@ -1972,14 +1972,14 @@ export class ECS extends ECSClient { /** *

              Updates the Amazon ECS container agent on a specified container instance. Updating the - * Amazon ECS container agent does not interrupt running tasks or services on the container - * instance. The process for updating the agent differs depending on whether your container - * instance was launched with the Amazon ECS-optimized AMI or another operating system.

              - *

              - * UpdateContainerAgent requires the Amazon ECS-optimized AMI or Amazon Linux with - * the ecs-init service installed and running. For help updating the Amazon ECS - * container agent on other operating systems, see Manually Updating the Amazon ECS Container Agent in the - * Amazon Elastic Container Service Developer Guide.

              + * Amazon ECS container agent does not interrupt running tasks or services on the container + * instance. The process for updating the agent differs depending on whether your container + * instance was launched with the Amazon ECS-optimized AMI or another operating system.

              + *

              + * UpdateContainerAgent requires the Amazon ECS-optimized AMI or Amazon Linux with + * the ecs-init service installed and running. For help updating the Amazon ECS + * container agent on other operating systems, see Manually Updating the Amazon ECS Container Agent in the + * Amazon Elastic Container Service Developer Guide.

              */ public updateContainerAgent( args: UpdateContainerAgentCommandInput, @@ -2012,54 +2012,54 @@ export class ECS extends ECSClient { /** *

              Modifies the status of an Amazon ECS container instance.

              - *

              Once a container instance has reached an ACTIVE state, you can change the - * status of a container instance to DRAINING to manually remove an instance - * from a cluster, for example to perform system updates, update the Docker daemon, or - * scale down the cluster size.

              - * - *

              A container instance cannot be changed to DRAINING until it has - * reached an ACTIVE status. If the instance is in any other status, an - * error will be received.

              - *
              - *

              When you set a container instance to DRAINING, Amazon ECS prevents new tasks - * from being scheduled for placement on the container instance and replacement service - * tasks are started on other container instances in the cluster if the resources are - * available. Service tasks on the container instance that are in the PENDING - * state are stopped immediately.

              - *

              Service tasks on the container instance that are in the RUNNING state are - * stopped and replaced according to the service's deployment configuration parameters, - * minimumHealthyPercent and maximumPercent. You can change - * the deployment configuration of your service using UpdateService.

              - *
                + *

                Once a container instance has reached an ACTIVE state, you can change the + * status of a container instance to DRAINING to manually remove an instance + * from a cluster, for example to perform system updates, update the Docker daemon, or + * scale down the cluster size.

                + * + *

                A container instance cannot be changed to DRAINING until it has + * reached an ACTIVE status. If the instance is in any other status, an + * error will be received.

                + *
                + *

                When you set a container instance to DRAINING, Amazon ECS prevents new tasks + * from being scheduled for placement on the container instance and replacement service + * tasks are started on other container instances in the cluster if the resources are + * available. Service tasks on the container instance that are in the PENDING + * state are stopped immediately.

                + *

                Service tasks on the container instance that are in the RUNNING state are + * stopped and replaced according to the service's deployment configuration parameters, + * minimumHealthyPercent and maximumPercent. You can change + * the deployment configuration of your service using UpdateService.

                + *
                  *
                • - *

                  If minimumHealthyPercent is below 100%, the scheduler can ignore - * desiredCount temporarily during task replacement. For example, - * desiredCount is four tasks, a minimum of 50% allows the - * scheduler to stop two existing tasks before starting two new tasks. If the - * minimum is 100%, the service scheduler can't remove existing tasks until the - * replacement tasks are considered healthy. Tasks for services that do not use a - * load balancer are considered healthy if they are in the RUNNING - * state. Tasks for services that use a load balancer are considered healthy if - * they are in the RUNNING state and the container instance they are - * hosted on is reported as healthy by the load balancer.

                  - *
                • + *

                  If minimumHealthyPercent is below 100%, the scheduler can ignore + * desiredCount temporarily during task replacement. For example, + * desiredCount is four tasks, a minimum of 50% allows the + * scheduler to stop two existing tasks before starting two new tasks. If the + * minimum is 100%, the service scheduler can't remove existing tasks until the + * replacement tasks are considered healthy. Tasks for services that do not use a + * load balancer are considered healthy if they are in the RUNNING + * state. Tasks for services that use a load balancer are considered healthy if + * they are in the RUNNING state and the container instance they are + * hosted on is reported as healthy by the load balancer.

                  + * *
                • - *

                  The maximumPercent parameter represents an upper limit on the - * number of running tasks during task replacement, which enables you to define the - * replacement batch size. For example, if desiredCount is four tasks, - * a maximum of 200% starts four new tasks before stopping the four tasks to be - * drained, provided that the cluster resources required to do this are available. - * If the maximum is 100%, then replacement tasks can't start until the draining - * tasks have stopped.

                  - *
                • + *

                  The maximumPercent parameter represents an upper limit on the + * number of running tasks during task replacement, which enables you to define the + * replacement batch size. For example, if desiredCount is four tasks, + * a maximum of 200% starts four new tasks before stopping the four tasks to be + * drained, provided that the cluster resources required to do this are available. + * If the maximum is 100%, then replacement tasks can't start until the draining + * tasks have stopped.

                  + * *
                - *

                Any PENDING or RUNNING tasks that do not belong to a service - * are not affected. You must wait for them to finish or stop them manually.

                - *

                A container instance has completed draining when it has no more RUNNING - * tasks. You can verify this using ListTasks.

                - *

                When a container instance has been drained, you can set a container instance to - * ACTIVE status and once it has reached that status the Amazon ECS scheduler - * can begin scheduling tasks on the instance again.

                + *

                Any PENDING or RUNNING tasks that do not belong to a service + * are not affected. You must wait for them to finish or stop them manually.

                + *

                A container instance has completed draining when it has no more RUNNING + * tasks. You can verify this using ListTasks.

                + *

                When a container instance has been drained, you can set a container instance to + * ACTIVE status and once it has reached that status the Amazon ECS scheduler + * can begin scheduling tasks on the instance again.

                */ public updateContainerInstancesState( args: UpdateContainerInstancesStateCommandInput, @@ -2092,113 +2092,113 @@ export class ECS extends ECSClient { /** * - *

                Updating the task placement strategies and constraints on an Amazon ECS service remains - * in preview and is a Beta Service as defined by and subject to the Beta Service - * Participation Service Terms located at https://aws.amazon.com/service-terms ("Beta Terms"). These Beta Terms - * apply to your participation in this preview.

                - *
                - *

                Modifies the parameters of a service.

                - *

                For services using the rolling update (ECS) deployment controller, the - * desired count, deployment configuration, network configuration, task placement - * constraints and strategies, or task definition used can be updated.

                - *

                For services using the blue/green (CODE_DEPLOY) deployment controller, - * only the desired count, deployment configuration, task placement constraints and - * strategies, and health check grace period can be updated using this API. If the network - * configuration, platform version, or task definition need to be updated, a new AWS CodeDeploy - * deployment should be created. For more information, see CreateDeployment in the AWS CodeDeploy API Reference.

                - *

                For services using an external deployment controller, you can update only the desired - * count, task placement constraints and strategies, and health check grace period using - * this API. If the launch type, load balancer, network configuration, platform version, or - * task definition need to be updated, you should create a new task set. For more - * information, see CreateTaskSet.

                - *

                You can add to or subtract from the number of instantiations of a task definition in a - * service by specifying the cluster that the service is running in and a new - * desiredCount parameter.

                - *

                If you have updated the Docker image of your application, you can create a new task - * definition with that image and deploy it to your service. The service scheduler uses the - * minimum healthy percent and maximum percent parameters (in the service's deployment - * configuration) to determine the deployment strategy.

                - * - *

                If your updated Docker image uses the same tag as what is in the existing task - * definition for your service (for example, my_image:latest), you do not - * need to create a new revision of your task definition. You can update the service - * using the forceNewDeployment option. The new tasks launched by the - * deployment pull the current image/tag combination from your repository when they - * start.

                - *
                - *

                You can also update the deployment configuration of a service. When a deployment is - * triggered by updating the task definition of a service, the service scheduler uses the - * deployment configuration parameters, minimumHealthyPercent and - * maximumPercent, to determine the deployment strategy.

                - *
                  + *

                  Updating the task placement strategies and constraints on an Amazon ECS service remains + * in preview and is a Beta Service as defined by and subject to the Beta Service + * Participation Service Terms located at https://aws.amazon.com/service-terms ("Beta Terms"). These Beta Terms + * apply to your participation in this preview.

                  + * + *

                  Modifies the parameters of a service.

                  + *

                  For services using the rolling update (ECS) deployment controller, the + * desired count, deployment configuration, network configuration, task placement + * constraints and strategies, or task definition used can be updated.

                  + *

                  For services using the blue/green (CODE_DEPLOY) deployment controller, + * only the desired count, deployment configuration, task placement constraints and + * strategies, and health check grace period can be updated using this API. If the network + * configuration, platform version, or task definition need to be updated, a new AWS CodeDeploy + * deployment should be created. For more information, see CreateDeployment in the AWS CodeDeploy API Reference.

                  + *

                  For services using an external deployment controller, you can update only the desired + * count, task placement constraints and strategies, and health check grace period using + * this API. If the launch type, load balancer, network configuration, platform version, or + * task definition need to be updated, you should create a new task set. For more + * information, see CreateTaskSet.

                  + *

                  You can add to or subtract from the number of instantiations of a task definition in a + * service by specifying the cluster that the service is running in and a new + * desiredCount parameter.

                  + *

                  If you have updated the Docker image of your application, you can create a new task + * definition with that image and deploy it to your service. The service scheduler uses the + * minimum healthy percent and maximum percent parameters (in the service's deployment + * configuration) to determine the deployment strategy.

                  + * + *

                  If your updated Docker image uses the same tag as what is in the existing task + * definition for your service (for example, my_image:latest), you do not + * need to create a new revision of your task definition. You can update the service + * using the forceNewDeployment option. The new tasks launched by the + * deployment pull the current image/tag combination from your repository when they + * start.

                  + *
                  + *

                  You can also update the deployment configuration of a service. When a deployment is + * triggered by updating the task definition of a service, the service scheduler uses the + * deployment configuration parameters, minimumHealthyPercent and + * maximumPercent, to determine the deployment strategy.

                  + *
                    *
                  • - *

                    If minimumHealthyPercent is below 100%, the scheduler can ignore - * desiredCount temporarily during a deployment. For example, if - * desiredCount is four tasks, a minimum of 50% allows the - * scheduler to stop two existing tasks before starting two new tasks. Tasks for - * services that do not use a load balancer are considered healthy if they are in - * the RUNNING state. Tasks for services that use a load balancer are - * considered healthy if they are in the RUNNING state and the - * container instance they are hosted on is reported as healthy by the load - * balancer.

                    - *
                  • + *

                    If minimumHealthyPercent is below 100%, the scheduler can ignore + * desiredCount temporarily during a deployment. For example, if + * desiredCount is four tasks, a minimum of 50% allows the + * scheduler to stop two existing tasks before starting two new tasks. Tasks for + * services that do not use a load balancer are considered healthy if they are in + * the RUNNING state. Tasks for services that use a load balancer are + * considered healthy if they are in the RUNNING state and the + * container instance they are hosted on is reported as healthy by the load + * balancer.

                    + * *
                  • - *

                    The maximumPercent parameter represents an upper limit on the - * number of running tasks during a deployment, which enables you to define the - * deployment batch size. For example, if desiredCount is four tasks, - * a maximum of 200% starts four new tasks before stopping the four older tasks - * (provided that the cluster resources required to do this are available).

                    - *
                  • + *

                    The maximumPercent parameter represents an upper limit on the + * number of running tasks during a deployment, which enables you to define the + * deployment batch size. For example, if desiredCount is four tasks, + * a maximum of 200% starts four new tasks before stopping the four older tasks + * (provided that the cluster resources required to do this are available).

                    + * *
                  - *

                  When UpdateService stops a task during a deployment, the equivalent - * of docker stop is issued to the containers running in the task. This - * results in a SIGTERM and a 30-second timeout, after which - * SIGKILL is sent and the containers are forcibly stopped. If the - * container handles the SIGTERM gracefully and exits within 30 seconds from - * receiving it, no SIGKILL is sent.

                  - *

                  When the service scheduler launches new tasks, it determines task placement in your - * cluster with the following logic:

                  - *
                    + *

                    When UpdateService stops a task during a deployment, the equivalent + * of docker stop is issued to the containers running in the task. This + * results in a SIGTERM and a 30-second timeout, after which + * SIGKILL is sent and the containers are forcibly stopped. If the + * container handles the SIGTERM gracefully and exits within 30 seconds from + * receiving it, no SIGKILL is sent.

                    + *

                    When the service scheduler launches new tasks, it determines task placement in your + * cluster with the following logic:

                    + *
                      *
                    • - *

                      Determine which of the container instances in your cluster can support your - * service's task definition (for example, they have the required CPU, memory, - * ports, and container instance attributes).

                      - *
                    • + *

                      Determine which of the container instances in your cluster can support your + * service's task definition (for example, they have the required CPU, memory, + * ports, and container instance attributes).

                      + * *
                    • - *

                      By default, the service scheduler attempts to balance tasks across - * Availability Zones in this manner (although you can choose a different placement - * strategy):

                      - *
                        + *

                        By default, the service scheduler attempts to balance tasks across + * Availability Zones in this manner (although you can choose a different placement + * strategy):

                        + *
                          *
                        • - *

                          Sort the valid container instances by the fewest number of running - * tasks for this service in the same Availability Zone as the instance. - * For example, if zone A has one running service task and zones B and C - * each have zero, valid container instances in either zone B or C are - * considered optimal for placement.

                          - *
                        • + *

                          Sort the valid container instances by the fewest number of running + * tasks for this service in the same Availability Zone as the instance. + * For example, if zone A has one running service task and zones B and C + * each have zero, valid container instances in either zone B or C are + * considered optimal for placement.

                          + * *
                        • - *

                          Place the new service task on a valid container instance in an optimal - * Availability Zone (based on the previous steps), favoring container - * instances with the fewest number of running tasks for this - * service.

                          - *
                        • + *

                          Place the new service task on a valid container instance in an optimal + * Availability Zone (based on the previous steps), favoring container + * instances with the fewest number of running tasks for this + * service.

                          + * *
                        - * + * *
                      - *

                      When the service scheduler stops running tasks, it attempts to maintain balance across - * the Availability Zones in your cluster using the following logic:

                      - *
                        + *

                        When the service scheduler stops running tasks, it attempts to maintain balance across + * the Availability Zones in your cluster using the following logic:

                        + *
                          *
                        • - *

                          Sort the container instances by the largest number of running tasks for this - * service in the same Availability Zone as the instance. For example, if zone A - * has one running service task and zones B and C each have two, container - * instances in either zone B or C are considered optimal for termination.

                          - *
                        • + *

                          Sort the container instances by the largest number of running tasks for this + * service in the same Availability Zone as the instance. For example, if zone A + * has one running service task and zones B and C each have two, container + * instances in either zone B or C are considered optimal for termination.

                          + * *
                        • - *

                          Stop the task on a container instance in an optimal Availability Zone (based - * on the previous steps), favoring container instances with the largest number of - * running tasks for this service.

                          - *
                        • + *

                          Stop the task on a container instance in an optimal Availability Zone (based + * on the previous steps), favoring container instances with the largest number of + * running tasks for this service.

                          + * *
                        */ public updateService( @@ -2232,10 +2232,10 @@ export class ECS extends ECSClient { /** *

                        Modifies which task set in a service is the primary task set. Any parameters that are - * updated on the primary task set in a service will transition to the service. This is - * used when a service uses the EXTERNAL deployment controller type. For more - * information, see Amazon ECS Deployment - * Types in the Amazon Elastic Container Service Developer Guide.

                        + * updated on the primary task set in a service will transition to the service. This is + * used when a service uses the EXTERNAL deployment controller type. For more + * information, see Amazon ECS Deployment + * Types in the Amazon Elastic Container Service Developer Guide.

                        */ public updateServicePrimaryTaskSet( args: UpdateServicePrimaryTaskSetCommandInput, @@ -2268,8 +2268,8 @@ export class ECS extends ECSClient { /** *

                        Modifies a task set. This is used when a service uses the EXTERNAL - * deployment controller type. For more information, see Amazon ECS Deployment - * Types in the Amazon Elastic Container Service Developer Guide.

                        + * deployment controller type. For more information, see Amazon ECS Deployment + * Types in the Amazon Elastic Container Service Developer Guide.

                        */ public updateTaskSet( args: UpdateTaskSetCommandInput, diff --git a/clients/client-ecs/ECSClient.ts b/clients/client-ecs/ECSClient.ts index 7a936c14a62f..375864a28933 100644 --- a/clients/client-ecs/ECSClient.ts +++ b/clients/client-ecs/ECSClient.ts @@ -387,20 +387,20 @@ export type ECSClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandle /** * Amazon Elastic Container Service - *

                        Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes - * it easy to run, stop, and manage Docker containers on a cluster. You can host your - * cluster on a serverless infrastructure that is managed by Amazon ECS by launching your - * services or tasks using the Fargate launch type. For more control, you can host your - * tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the EC2 - * launch type. For more information about launch types, see Amazon ECS Launch - * Types.

                        - *

                        Amazon ECS lets you launch and stop container-based applications with simple API calls, - * allows you to get the state of your cluster from a centralized service, and gives you - * access to many familiar Amazon EC2 features.

                        - *

                        You can use Amazon ECS to schedule the placement of containers across your cluster based on - * your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates - * the need for you to operate your own cluster management and configuration management - * systems or worry about scaling your management infrastructure.

                        + *

                        Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes + * it easy to run, stop, and manage Docker containers on a cluster. You can host your + * cluster on a serverless infrastructure that is managed by Amazon ECS by launching your + * services or tasks using the Fargate launch type. For more control, you can host your + * tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the EC2 + * launch type. For more information about launch types, see Amazon ECS Launch + * Types.

                        + *

                        Amazon ECS lets you launch and stop container-based applications with simple API calls, + * allows you to get the state of your cluster from a centralized service, and gives you + * access to many familiar Amazon EC2 features.

                        + *

                        You can use Amazon ECS to schedule the placement of containers across your cluster based on + * your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates + * the need for you to operate your own cluster management and configuration management + * systems or worry about scaling your management infrastructure.

                        */ export class ECSClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-ecs/models/models_0.ts b/clients/client-ecs/models/models_0.ts index 3e1aa23d95b2..0408209dec72 100644 --- a/clients/client-ecs/models/models_0.ts +++ b/clients/client-ecs/models/models_0.ts @@ -27,8 +27,8 @@ export enum AgentUpdateStatus { /** *

                        These errors are usually caused by a client action, such as using an action or - * resource on behalf of a user that doesn't have permissions to use the action or - * resource, or specifying an identifier that is not valid.

                        + * resource on behalf of a user that doesn't have permissions to use the action or + * resource, or specifying an identifier that is not valid.

                        */ export interface ClientException extends __SmithyException, $MetadataBearer { name: "ClientException"; @@ -49,39 +49,46 @@ export enum ManagedScalingStatus { /** *

                        The managed scaling settings for the Auto Scaling group capacity provider.

                        - *

                        When managed scaling is enabled, Amazon ECS manages the scale-in and scale-out actions of - * the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an - * Amazon ECS-managed CloudWatch metric with the specified targetCapacity value as the - * target value for the metric. For more information, see Using Managed Scaling in the Amazon Elastic Container Service Developer Guide.

                        - *

                        If managed scaling is disabled, the user must manage the scaling of the Auto Scaling - * group.

                        + *

                        When managed scaling is enabled, Amazon ECS manages the scale-in and scale-out actions of + * the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an + * Amazon ECS-managed CloudWatch metric with the specified targetCapacity value as the + * target value for the metric. For more information, see Using Managed Scaling in the Amazon Elastic Container Service Developer Guide.

                        + *

                        If managed scaling is disabled, the user must manage the scaling of the Auto Scaling + * group.

                        */ export interface ManagedScaling { /** - *

                        Whether or not to enable managed scaling for the capacity provider.

                        + *

                        The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale + * in process is not affected by this parameter If this parameter is omitted, the default + * value of 1 is used.

                        + *

                        When additional capacity is required, Amazon ECS will scale up the minimum scaling step + * size even if the actual demand is less than the minimum scaling step size.

                        + *

                        If you use a capacity provider with an Auto Scaling group configured with more than + * one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum + * scaling step size value and will ignore both the maximum scaling step size as well as + * the capacity demand.

                        */ - status?: ManagedScalingStatus | string; + minimumScalingStepSize?: number; /** - *

                        The maximum number of container instances that Amazon ECS will scale in or scale out at one - * time. If this parameter is omitted, the default value of 10000 is - * used.

                        + *

                        The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale + * in process is not affected by this parameter. If this parameter is omitted, the default + * value of 10000 is used.

                        */ maximumScalingStepSize?: number; /** - *

                        The minimum number of container instances that Amazon ECS will scale in or scale out at one - * time. If this parameter is omitted, the default value of 1 is used.

                        + *

                        The target capacity value for the capacity provider. The specified value must be + * greater than 0 and less than or equal to 100. A value of + * 100 will result in the Amazon EC2 instances in your Auto Scaling group being + * completely utilized.

                        */ - minimumScalingStepSize?: number; + targetCapacity?: number; /** - *

                        The target capacity value for the capacity provider. The specified value must be - * greater than 0 and less than or equal to 100. A value of - * 100 will result in the Amazon EC2 instances in your Auto Scaling group being - * completely utilized.

                        + *

                        Whether or not to enable managed scaling for the capacity provider.

                        */ - targetCapacity?: number; + status?: ManagedScalingStatus | string; } export namespace ManagedScaling { @@ -99,6 +106,23 @@ export enum ManagedTerminationProtection { *

                        The details of the Auto Scaling group for the capacity provider.

                        */ export interface AutoScalingGroupProvider { + /** + *

                        The managed termination protection setting to use for the Auto Scaling group capacity + * provider. This determines whether the Auto Scaling group has managed termination + * protection.

                        + * + *

                        When using managed termination protection, managed scaling must also be used + * otherwise managed termination protection will not work.

                        + *
                        + *

                        When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in + * an Auto Scaling group that contain tasks from being terminated during a scale-in action. + * The Auto Scaling group and each instance in the Auto Scaling group must have instance + * protection from scale-in actions enabled as well. For more information, see Instance Protection in the AWS Auto Scaling User Guide.

                        + *

                        When managed termination protection is disabled, your Amazon EC2 instances are not + * protected from termination when the Auto Scaling group scales in.

                        + */ + managedTerminationProtection?: ManagedTerminationProtection | string; + /** *

                        The managed scaling settings for the Auto Scaling group capacity provider.

                        */ @@ -108,23 +132,6 @@ export interface AutoScalingGroupProvider { *

                        The Amazon Resource Name (ARN) that identifies the Auto Scaling group.

                        */ autoScalingGroupArn: string | undefined; - - /** - *

                        The managed termination protection setting to use for the Auto Scaling group capacity - * provider. This determines whether the Auto Scaling group has managed termination - * protection.

                        - * - *

                        When using managed termination protection, managed scaling must also be used - * otherwise managed termination protection will not work.

                        - *
                        - *

                        When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in - * an Auto Scaling group that contain tasks from being terminated during a scale-in action. - * The Auto Scaling group and each instance in the Auto Scaling group must have instance - * protection from scale-in actions enabled as well. For more information, see Instance Protection in the AWS Auto Scaling User Guide.

                        - *

                        When managed termination protection is disabled, your Amazon EC2 instances are not - * protected from termination when the Auto Scaling group scales in.

                        - */ - managedTerminationProtection?: ManagedTerminationProtection | string; } export namespace AutoScalingGroupProvider { @@ -135,8 +142,8 @@ export namespace AutoScalingGroupProvider { /** *

                        The metadata that you apply to a resource to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

                        - *

                        The following basic restrictions apply to tags:

                        + * Each tag consists of a key and an optional value, both of which you define.

                        + *

                        The following basic restrictions apply to tags:

                        *
                          *
                        • *

                          Maximum number of tags per resource - 50

                          @@ -171,13 +178,13 @@ export namespace AutoScalingGroupProvider { export interface Tag { /** *

                          The optional part of a key-value pair that make up a tag. A value acts as - * a descriptor within a tag category (key).

                          + * a descriptor within a tag category (key).

                          */ value?: string; /** *

                          One part of a key-value pair that make up a tag. A key is a general label - * that acts like a category for more specific tag values.

                          + * that acts like a category for more specific tag values.

                          */ key?: string; } @@ -189,10 +196,22 @@ export namespace Tag { } export interface CreateCapacityProviderRequest { + /** + *

                          The details of the Auto Scaling group for the capacity provider.

                          + */ + autoScalingGroupProvider: AutoScalingGroupProvider | undefined; + + /** + *

                          The name of the capacity provider. Up to 255 characters are allowed, including letters + * (upper and lowercase), numbers, underscores, and hyphens. The name cannot be prefixed + * with "aws", "ecs", or "fargate".

                          + */ + name: string | undefined; + /** *

                          The metadata that you apply to the capacity provider to help you categorize and - * organize them. Each tag consists of a key and an optional value, both of which you - * define.

                          + * organize them. Each tag consists of a key and an optional value, both of which you + * define.

                          *

                          The following basic restrictions apply to tags:

                          *
                            *
                          • @@ -226,18 +245,6 @@ export interface CreateCapacityProviderRequest { *
                          */ tags?: Tag[]; - - /** - *

                          The name of the capacity provider. Up to 255 characters are allowed, including letters - * (upper and lowercase), numbers, underscores, and hyphens. The name cannot be prefixed - * with "aws", "ecs", or "fargate".

                          - */ - name: string | undefined; - - /** - *

                          The details of the Auto Scaling group for the capacity provider.

                          - */ - autoScalingGroupProvider: AutoScalingGroupProvider | undefined; } export namespace CreateCapacityProviderRequest { @@ -262,16 +269,15 @@ export enum CapacityProviderUpdateStatus { */ export interface CapacityProvider { /** - *

                          The current status of the capacity provider. Only capacity providers in an - * ACTIVE state can be used in a cluster. When a capacity provider is - * successfully deleted, it will have an INACTIVE status.

                          + *

                          The update status reason. This provides further details about the update status for + * the capacity provider.

                          */ - status?: CapacityProviderStatus | string; + updateStatusReason?: string; /** *

                          The metadata that you apply to the capacity provider to help you categorize and - * organize it. Each tag consists of a key and an optional value, both of which you - * define.

                          + * organize it. Each tag consists of a key and an optional value, both of which you + * define.

                          *

                          The following basic restrictions apply to tags:

                          *
                            *
                          • @@ -306,6 +312,23 @@ export interface CapacityProvider { */ tags?: Tag[]; + /** + *

                            The current status of the capacity provider. Only capacity providers in an + * ACTIVE state can be used in a cluster. When a capacity provider is + * successfully deleted, it will have an INACTIVE status.

                            + */ + status?: CapacityProviderStatus | string; + + /** + *

                            The Amazon Resource Name (ARN) that identifies the capacity provider.

                            + */ + capacityProviderArn?: string; + + /** + *

                            The Auto Scaling group settings for the capacity provider.

                            + */ + autoScalingGroupProvider?: AutoScalingGroupProvider; + /** *

                            The name of the capacity provider.

                            */ @@ -313,41 +336,25 @@ export interface CapacityProvider { /** *

                            The update status of the capacity provider. The following are the possible states that - * will be returned.

                            - *
                            + * will be returned.

                            + *
                            *
                            DELETE_IN_PROGRESS
                            *
                            - *

                            The capacity provider is in the process of being deleted.

                            - *
                            + *

                            The capacity provider is in the process of being deleted.

                            + * *
                            DELETE_COMPLETE
                            *
                            - *

                            The capacity provider has been successfully deleted and will have an - * INACTIVE status.

                            - *
                            + *

                            The capacity provider has been successfully deleted and will have an + * INACTIVE status.

                            + * *
                            DELETE_FAILED
                            *
                            - *

                            The capacity provider was unable to be deleted. The update status reason - * will provide further details about why the delete failed.

                            - *
                            + *

                            The capacity provider was unable to be deleted. The update status reason + * will provide further details about why the delete failed.

                            + * *
                            */ updateStatus?: CapacityProviderUpdateStatus | string; - - /** - *

                            The Amazon Resource Name (ARN) that identifies the capacity provider.

                            - */ - capacityProviderArn?: string; - - /** - *

                            The Auto Scaling group settings for the capacity provider.

                            - */ - autoScalingGroupProvider?: AutoScalingGroupProvider; - - /** - *

                            The update status reason. This provides further details about the update status for - * the capacity provider.

                            - */ - updateStatusReason?: string; } export namespace CapacityProvider { @@ -371,7 +378,7 @@ export namespace CreateCapacityProviderResponse { /** *

                            The specified parameter is invalid. Review the available parameters for the API - * request.

                            + * request.

                            */ export interface InvalidParameterException extends __SmithyException, $MetadataBearer { name: "InvalidParameterException"; @@ -417,10 +424,10 @@ export namespace ServerException { /** *

                            There is already a current Amazon ECS container agent update in progress on the specified - * container instance. If the container agent becomes disconnected while it is in a - * transitional stage, such as PENDING or STAGING, the update - * process can get stuck in that state. However, when the agent reconnects, it resumes - * where it stopped previously.

                            + * container instance. If the container agent becomes disconnected while it is in a + * transitional stage, such as PENDING or STAGING, the update + * process can get stuck in that state. However, when the agent reconnects, it resumes + * where it stopped previously.

                            */ export interface UpdateInProgressException extends __SmithyException, $MetadataBearer { name: "UpdateInProgressException"; @@ -439,11 +446,17 @@ export namespace UpdateInProgressException { */ export interface CapacityProviderStrategyItem { /** - *

                            The base value designates how many tasks, at a minimum, to run on - * the specified capacity provider. Only one capacity provider in a capacity provider - * strategy can have a base defined.

                            + *

                            The weight value designates the relative percentage of the total + * number of tasks launched that should use the specified capacity provider.

                            + *

                            For example, if you have a strategy that contains two capacity providers and both have + * a weight of 1, then when the base is satisfied, the tasks will + * be split evenly across the two capacity providers. Using that same logic, if you specify + * a weight of 1 for capacityProviderA and a weight of + * 4 for capacityProviderB, then for every one task + * that is run using capacityProviderA, four tasks would use + * capacityProviderB.

                            */ - base?: number; + weight?: number; /** *

                            The short name of the capacity provider.

                            @@ -451,17 +464,11 @@ export interface CapacityProviderStrategyItem { capacityProvider: string | undefined; /** - *

                            The weight value designates the relative percentage of the total - * number of tasks launched that should use the specified capacity provider.

                            - *

                            For example, if you have a strategy that contains two capacity providers and both have - * a weight of 1, then when the base is satisfied, the tasks will - * be split evenly across the two capacity providers. Using that same logic, if you specify - * a weight of 1 for capacityProviderA and a weight of - * 4 for capacityProviderB, then for every one task - * that is run using capacityProviderA, four tasks would use - * capacityProviderB.

                            + *

                            The base value designates how many tasks, at a minimum, to run on + * the specified capacity provider. Only one capacity provider in a capacity provider + * strategy can have a base defined.

                            */ - weight?: number; + base?: number; } export namespace CapacityProviderStrategyItem { @@ -476,24 +483,24 @@ export enum ClusterSettingName { /** *

                            The settings to use when creating a cluster. This parameter is used to enable CloudWatch - * Container Insights for a cluster.

                            + * Container Insights for a cluster.

                            */ export interface ClusterSetting { /** - *

                            The value to set for the cluster setting. The supported values are - * enabled and disabled. If enabled is - * specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be - * disabled unless the containerInsights account setting is enabled. If a - * cluster value is specified, it will override the containerInsights value - * set with PutAccountSetting or PutAccountSettingDefault.

                            + *

                            The name of the cluster setting. The only supported value is + * containerInsights.

                            */ - value?: string; + name?: ClusterSettingName | string; /** - *

                            The name of the cluster setting. The only supported value is - * containerInsights.

                            + *

                            The value to set for the cluster setting. The supported values are + * enabled and disabled. If enabled is + * specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be + * disabled unless the containerInsights account setting is enabled. If a + * cluster value is specified, it will override the containerInsights value + * set with PutAccountSetting or PutAccountSettingDefault.

                            */ - name?: ClusterSettingName | string; + value?: string; } export namespace ClusterSetting { @@ -503,63 +510,16 @@ export namespace ClusterSetting { } export interface CreateClusterRequest { - /** - *

                            The capacity provider strategy to use by default for the cluster.

                            - *

                            When creating a service or running a task on a cluster, if no capacity provider or - * launch type is specified then the default capacity provider strategy for the cluster is - * used.

                            - *

                            A capacity provider strategy consists of one or more capacity providers along with the - * base and weight to assign to them. A capacity provider - * must be associated with the cluster to be used in a capacity provider strategy. The - * PutClusterCapacityProviders API is used to associate a capacity - * provider with a cluster. Only capacity providers with an ACTIVE or - * UPDATING status can be used.

                            - *

                            If specifying a capacity provider that uses an Auto Scaling group, the capacity - * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                            - *

                            To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are - * available to all accounts and only need to be associated with a cluster to be - * used.

                            - *

                            If a default capacity provider strategy is not defined for a cluster during creation, - * it can be defined later with the PutClusterCapacityProviders API - * operation.

                            - */ - defaultCapacityProviderStrategy?: CapacityProviderStrategyItem[]; - /** *

                            The name of your cluster. If you do not specify a name for your cluster, you create a - * cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

                            + * cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

                            */ clusterName?: string; - /** - *

                            The short name of one or more capacity providers to associate - * with the cluster.

                            - *

                            If specifying a capacity provider that uses an Auto Scaling group, the capacity - * provider must already be created and not already associated with another cluster. New - * capacity providers can be created with the CreateCapacityProvider API - * operation.

                            - *

                            To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are - * available to all accounts and only need to be associated with a cluster to be - * used.

                            - *

                            The PutClusterCapacityProviders API operation is used to update the - * list of available capacity providers for a cluster after the cluster is created.

                            - */ - capacityProviders?: string[]; - - /** - *

                            The setting to use when creating a cluster. This parameter is used to enable CloudWatch - * Container Insights for a cluster. If this value is specified, it will override the - * containerInsights value set with PutAccountSetting or - * PutAccountSettingDefault.

                            - */ - settings?: ClusterSetting[]; - /** *

                            The metadata that you apply to the cluster to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

                            - *

                            The following basic restrictions apply to tags:

                            + * Each tag consists of a key and an optional value, both of which you define.

                            + *

                            The following basic restrictions apply to tags:

                            *
                              *
                            • *

                              Maximum number of tags per resource - 50

                              @@ -592,6 +552,53 @@ export interface CreateClusterRequest { *
                            */ tags?: Tag[]; + + /** + *

                            The capacity provider strategy to use by default for the cluster.

                            + *

                            When creating a service or running a task on a cluster, if no capacity provider or + * launch type is specified then the default capacity provider strategy for the cluster is + * used.

                            + *

                            A capacity provider strategy consists of one or more capacity providers along with the + * base and weight to assign to them. A capacity provider + * must be associated with the cluster to be used in a capacity provider strategy. The + * PutClusterCapacityProviders API is used to associate a capacity + * provider with a cluster. Only capacity providers with an ACTIVE or + * UPDATING status can be used.

                            + *

                            If specifying a capacity provider that uses an Auto Scaling group, the capacity + * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                            + *

                            To use a AWS Fargate capacity provider, specify either the FARGATE or + * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + * available to all accounts and only need to be associated with a cluster to be + * used.

                            + *

                            If a default capacity provider strategy is not defined for a cluster during creation, + * it can be defined later with the PutClusterCapacityProviders API + * operation.

                            + */ + defaultCapacityProviderStrategy?: CapacityProviderStrategyItem[]; + + /** + *

                            The setting to use when creating a cluster. This parameter is used to enable CloudWatch + * Container Insights for a cluster. If this value is specified, it will override the + * containerInsights value set with PutAccountSetting or + * PutAccountSettingDefault.

                            + */ + settings?: ClusterSetting[]; + + /** + *

                            The short name of one or more capacity providers to associate + * with the cluster.

                            + *

                            If specifying a capacity provider that uses an Auto Scaling group, the capacity + * provider must already be created and not already associated with another cluster. New + * capacity providers can be created with the CreateCapacityProvider API + * operation.

                            + *

                            To use a AWS Fargate capacity provider, specify either the FARGATE or + * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + * available to all accounts and only need to be associated with a cluster to be + * used.

                            + *

                            The PutClusterCapacityProviders API operation is used to update the + * list of available capacity providers for a cluster after the cluster is created.

                            + */ + capacityProviders?: string[]; } export namespace CreateClusterRequest { @@ -605,16 +612,16 @@ export namespace CreateClusterRequest { */ export interface KeyValuePair { /** - *

                            The name of the key-value pair. For environment variables, this is the name of the - * environment variable.

                            + *

                            The value of the key-value pair. For environment variables, this is the value of the + * environment variable.

                            */ - name?: string; + value?: string; /** - *

                            The value of the key-value pair. For environment variables, this is the value of the - * environment variable.

                            + *

                            The name of the key-value pair. For environment variables, this is the name of the + * environment variable.

                            */ - value?: string; + name?: string; } export namespace KeyValuePair { @@ -629,8 +636,8 @@ export namespace KeyValuePair { export interface Attachment { /** *

                            The status of the attachment. Valid values are PRECREATED, - * CREATED, ATTACHING, ATTACHED, - * DETACHING, DETACHED, and DELETED.

                            + * CREATED, ATTACHING, ATTACHED, + * DETACHING, DETACHED, and DELETED.

                            */ status?: string; @@ -646,7 +653,7 @@ export interface Attachment { /** *

                            Details of the attachment. For elastic network interfaces, this includes the network - * interface ID, the MAC address, the subnet ID, and the private IPv4 address.

                            + * interface ID, the MAC address, the subnet ID, and the private IPv4 address.

                            */ details?: KeyValuePair[]; } @@ -659,35 +666,33 @@ export namespace Attachment { /** *

                            A regional grouping of one or more container instances on which you can run task - * requests. Each account receives a default cluster the first time you use the Amazon ECS - * service, but you may also create other clusters. Clusters may contain more than one - * instance type simultaneously.

                            + * requests. Each account receives a default cluster the first time you use the Amazon ECS + * service, but you may also create other clusters. Clusters may contain more than one + * instance type simultaneously.

                            */ export interface Cluster { /** - *

                            The number of services that are running on the cluster in an ACTIVE - * state. You can view these services with ListServices.

                            + *

                            The settings for the cluster. This parameter indicates whether CloudWatch Container Insights + * is enabled or disabled for a cluster.

                            */ - activeServicesCount?: number; + settings?: ClusterSetting[]; /** - *

                            The settings for the cluster. This parameter indicates whether CloudWatch Container Insights - * is enabled or disabled for a cluster.

                            + *

                            The number of services that are running on the cluster in an ACTIVE + * state. You can view these services with ListServices.

                            */ - settings?: ClusterSetting[]; + activeServicesCount?: number; /** - *

                            The number of container instances registered into the cluster. This includes container - * instances in both ACTIVE and DRAINING status.

                            + *

                            The resources attached to a cluster. When using a capacity provider with a cluster, + * the Auto Scaling plan that is created will be returned as a cluster attachment.

                            */ - registeredContainerInstancesCount?: number; + attachments?: Attachment[]; /** - *

                            The default capacity provider strategy for the cluster. When services or tasks are run - * in the cluster with no launch type or capacity provider strategy specified, the default - * capacity provider strategy is used.

                            + *

                            The capacity providers associated with the cluster.

                            */ - defaultCapacityProviderStrategy?: CapacityProviderStrategyItem[]; + capacityProviders?: string[]; /** *

                            The number of tasks in the cluster that are in the RUNNING state.

                            @@ -695,82 +700,83 @@ export interface Cluster { runningTasksCount?: number; /** - *

                            The resources attached to a cluster. When using a capacity provider with a cluster, - * the Auto Scaling plan that is created will be returned as a cluster attachment.

                            + *

                            Additional information about your clusters that are separated by launch type, + * including:

                            + *
                              + *
                            • + *

                              runningEC2TasksCount

                              + *
                            • + *
                            • + *

                              RunningFargateTasksCount

                              + *
                            • + *
                            • + *

                              pendingEC2TasksCount

                              + *
                            • + *
                            • + *

                              pendingFargateTasksCount

                              + *
                            • + *
                            • + *

                              activeEC2ServiceCount

                              + *
                            • + *
                            • + *

                              activeFargateServiceCount

                              + *
                            • + *
                            • + *

                              drainingEC2ServiceCount

                              + *
                            • + *
                            • + *

                              drainingFargateServiceCount

                              + *
                            • + *
                            */ - attachments?: Attachment[]; + statistics?: KeyValuePair[]; /** - *

                            The number of tasks in the cluster that are in the PENDING state.

                            + *

                            The default capacity provider strategy for the cluster. When services or tasks are run + * in the cluster with no launch type or capacity provider strategy specified, the default + * capacity provider strategy is used.

                            */ - pendingTasksCount?: number; + defaultCapacityProviderStrategy?: CapacityProviderStrategyItem[]; /** *

                            The status of the cluster. The following are the possible states that will be - * returned.

                            - *
                            + * returned.

                            + *
                            *
                            ACTIVE
                            *
                            - *

                            The cluster is ready to accept tasks and if applicable you can register - * container instances with the cluster.

                            - *
                            + *

                            The cluster is ready to accept tasks and if applicable you can register + * container instances with the cluster.

                            + * *
                            PROVISIONING
                            *
                            - *

                            The cluster has capacity providers associated with it and the resources - * needed for the capacity provider are being created.

                            - *
                            + *

                            The cluster has capacity providers associated with it and the resources + * needed for the capacity provider are being created.

                            + * *
                            DEPROVISIONING
                            *
                            - *

                            The cluster has capacity providers associated with it and the resources - * needed for the capacity provider are being deleted.

                            - *
                            + *

                            The cluster has capacity providers associated with it and the resources + * needed for the capacity provider are being deleted.

                            + * *
                            FAILED
                            *
                            - *

                            The cluster has capacity providers associated with it and the resources - * needed for the capacity provider have failed to create.

                            - *
                            + *

                            The cluster has capacity providers associated with it and the resources + * needed for the capacity provider have failed to create.

                            + * *
                            INACTIVE
                            *
                            - *

                            The cluster has been deleted. Clusters with an INACTIVE - * status may remain discoverable in your account for a period of time. - * However, this behavior is subject to change in the future, so you should not - * rely on INACTIVE clusters persisting.

                            - *
                            + *

                            The cluster has been deleted. Clusters with an INACTIVE + * status may remain discoverable in your account for a period of time. + * However, this behavior is subject to change in the future, so you should not + * rely on INACTIVE clusters persisting.

                            + * *
                            */ status?: string; /** - *

                            Additional information about your clusters that are separated by launch type, - * including:

                            - *
                              - *
                            • - *

                              runningEC2TasksCount

                              - *
                            • - *
                            • - *

                              RunningFargateTasksCount

                              - *
                            • - *
                            • - *

                              pendingEC2TasksCount

                              - *
                            • - *
                            • - *

                              pendingFargateTasksCount

                              - *
                            • - *
                            • - *

                              activeEC2ServiceCount

                              - *
                            • - *
                            • - *

                              activeFargateServiceCount

                              - *
                            • - *
                            • - *

                              drainingEC2ServiceCount

                              - *
                            • - *
                            • - *

                              drainingFargateServiceCount

                              - *
                            • - *
                            + *

                            The number of tasks in the cluster that are in the PENDING state.

                            */ - statistics?: KeyValuePair[]; + pendingTasksCount?: number; /** *

                            The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the arn:aws:ecs namespace, followed by the Region of the cluster, the AWS account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region:012345678910:cluster/test.

                            @@ -782,36 +788,37 @@ export interface Cluster { */ clusterName?: string; + /** + *

                            The number of container instances registered into the cluster. This includes container + * instances in both ACTIVE and DRAINING status.

                            + */ + registeredContainerInstancesCount?: number; + /** *

                            The status of the capacity providers associated with the cluster. The following are - * the states that will be returned:

                            - *
                            + * the states that will be returned:

                            + *
                            *
                            UPDATE_IN_PROGRESS
                            *
                            - *

                            The available capacity providers for the cluster are updating. This occurs - * when the Auto Scaling plan is provisioning or deprovisioning.

                            - *
                            + *

                            The available capacity providers for the cluster are updating. This occurs + * when the Auto Scaling plan is provisioning or deprovisioning.

                            + * *
                            UPDATE_COMPLETE
                            *
                            - *

                            The capacity providers have successfully updated.

                            - *
                            + *

                            The capacity providers have successfully updated.

                            + * *
                            UPDATE_FAILED
                            *
                            - *

                            The capacity provider updates failed.

                            - *
                            + *

                            The capacity provider updates failed.

                            + * *
                            */ attachmentsStatus?: string; - /** - *

                            The capacity providers associated with the cluster.

                            - */ - capacityProviders?: string[]; - /** *

                            The metadata that you apply to the cluster to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

                            - *

                            The following basic restrictions apply to tags:

                            + * Each tag consists of a key and an optional value, both of which you define.

                            + *

                            The following basic restrictions apply to tags:

                            *
                              *
                            • *

                              Maximum number of tags per resource - 50

                              @@ -867,7 +874,7 @@ export namespace CreateClusterResponse { /** *

                              The specified cluster could not be found. You can view your available clusters with - * ListClusters. Amazon ECS clusters are Region-specific.

                              + * ListClusters. Amazon ECS clusters are Region-specific.

                              */ export interface ClusterNotFoundException extends __SmithyException, $MetadataBearer { name: "ClusterNotFoundException"; @@ -883,55 +890,55 @@ export namespace ClusterNotFoundException { /** *

                              Optional deployment parameters that control how many tasks run during a deployment and - * the ordering of stopping and starting tasks.

                              + * the ordering of stopping and starting tasks.

                              */ export interface DeploymentConfiguration { /** *

                              If a service is using the rolling update (ECS) deployment type, the - * minimum healthy percent represents a lower limit on - * the number of tasks in a service that must remain in the RUNNING state - * during a deployment, as a percentage of the desired number of tasks (rounded up to the - * nearest integer), and while any container instances are in the DRAINING - * state if the service contains tasks using the EC2 launch type. This - * parameter enables you to deploy without using additional cluster capacity. For example, - * if your service has a desired number of four tasks and a minimum healthy percent of 50%, - * the scheduler may stop two existing tasks to free up cluster capacity before starting - * two new tasks. Tasks for services that do not use a load balancer - * are considered healthy if they are in the RUNNING state; tasks for services - * that do use a load balancer are considered healthy if they are in - * the RUNNING state and they are reported as healthy by the load balancer. - * The default value for minimum healthy percent is 100%.

                              - *

                              If a service is using the blue/green (CODE_DEPLOY) or - * EXTERNAL deployment types and tasks that use the EC2 - * launch type, the minimum healthy percent value is set - * to the default value and is used to define the lower limit on the number of the tasks in - * the service that remain in the RUNNING state while the container instances - * are in the DRAINING state. If the tasks in the service use the - * Fargate launch type, the minimum healthy percent value is not used, - * although it is returned when describing your service.

                              + * minimum healthy percent represents a lower limit on + * the number of tasks in a service that must remain in the RUNNING state + * during a deployment, as a percentage of the desired number of tasks (rounded up to the + * nearest integer), and while any container instances are in the DRAINING + * state if the service contains tasks using the EC2 launch type. This + * parameter enables you to deploy without using additional cluster capacity. For example, + * if your service has a desired number of four tasks and a minimum healthy percent of 50%, + * the scheduler may stop two existing tasks to free up cluster capacity before starting + * two new tasks. Tasks for services that do not use a load balancer + * are considered healthy if they are in the RUNNING state; tasks for services + * that do use a load balancer are considered healthy if they are in + * the RUNNING state and they are reported as healthy by the load balancer. + * The default value for minimum healthy percent is 100%.

                              + *

                              If a service is using the blue/green (CODE_DEPLOY) or + * EXTERNAL deployment types and tasks that use the EC2 + * launch type, the minimum healthy percent value is set + * to the default value and is used to define the lower limit on the number of the tasks in + * the service that remain in the RUNNING state while the container instances + * are in the DRAINING state. If the tasks in the service use the + * Fargate launch type, the minimum healthy percent value is not used, + * although it is returned when describing your service.

                              */ minimumHealthyPercent?: number; /** *

                              If a service is using the rolling update (ECS) deployment type, the - * maximum percent parameter represents an upper limit - * on the number of tasks in a service that are allowed in the RUNNING or - * PENDING state during a deployment, as a percentage of the desired - * number of tasks (rounded down to the nearest integer), and while any container instances - * are in the DRAINING state if the service contains tasks using the - * EC2 launch type. This parameter enables you to define the deployment batch - * size. For example, if your service has a desired number of four tasks and a maximum - * percent value of 200%, the scheduler may start four new tasks before stopping the four - * older tasks (provided that the cluster resources required to do this are available). The - * default value for maximum percent is 200%.

                              - *

                              If a service is using the blue/green (CODE_DEPLOY) or - * EXTERNAL deployment types and tasks that use the EC2 - * launch type, the maximum percent value is set to the - * default value and is used to define the upper limit on the number of the tasks in the - * service that remain in the RUNNING state while the container instances are - * in the DRAINING state. If the tasks in the service use the - * Fargate launch type, the maximum percent value is not used, although it is - * returned when describing your service.

                              + * maximum percent parameter represents an upper limit + * on the number of tasks in a service that are allowed in the RUNNING or + * PENDING state during a deployment, as a percentage of the desired + * number of tasks (rounded down to the nearest integer), and while any container instances + * are in the DRAINING state if the service contains tasks using the + * EC2 launch type. This parameter enables you to define the deployment batch + * size. For example, if your service has a desired number of four tasks and a maximum + * percent value of 200%, the scheduler may start four new tasks before stopping the four + * older tasks (provided that the cluster resources required to do this are available). The + * default value for maximum percent is 200%.

                              + *

                              If a service is using the blue/green (CODE_DEPLOY) or + * EXTERNAL deployment types and tasks that use the EC2 + * launch type, the maximum percent value is set to the + * default value and is used to define the upper limit on the number of the tasks in the + * service that remain in the RUNNING state while the container instances are + * in the DRAINING state. If the tasks in the service use the + * Fargate launch type, the maximum percent value is not used, although it is + * returned when describing your service.

                              */ maximumPercent?: number; } @@ -954,28 +961,28 @@ export enum DeploymentControllerType { export interface DeploymentController { /** *

                              The deployment controller type to use.

                              - *

                              There are three deployment controller types available:

                              - *
                              + *

                              There are three deployment controller types available:

                              + *
                              *
                              ECS
                              *
                              - *

                              The rolling update (ECS) deployment type involves replacing - * the current running version of the container with the latest version. The - * number of containers Amazon ECS adds or removes from the service during a rolling - * update is controlled by adjusting the minimum and maximum number of healthy - * tasks allowed during a service deployment, as specified in the DeploymentConfiguration.

                              - *
                              + *

                              The rolling update (ECS) deployment type involves replacing + * the current running version of the container with the latest version. The + * number of containers Amazon ECS adds or removes from the service during a rolling + * update is controlled by adjusting the minimum and maximum number of healthy + * tasks allowed during a service deployment, as specified in the DeploymentConfiguration.

                              + * *
                              CODE_DEPLOY
                              *
                              - *

                              The blue/green (CODE_DEPLOY) deployment type uses the - * blue/green deployment model powered by AWS CodeDeploy, which allows you to verify a - * new deployment of a service before sending production traffic to it.

                              - *
                              + *

                              The blue/green (CODE_DEPLOY) deployment type uses the + * blue/green deployment model powered by AWS CodeDeploy, which allows you to verify a + * new deployment of a service before sending production traffic to it.

                              + * *
                              EXTERNAL
                              *
                              - *

                              The external (EXTERNAL) deployment type enables you to use - * any third-party deployment controller for full control over the deployment - * process for an Amazon ECS service.

                              - *
                              + *

                              The external (EXTERNAL) deployment type enables you to use + * any third-party deployment controller for full control over the deployment + * process for an Amazon ECS service.

                              + * *
                              */ type: DeploymentControllerType | string | undefined; @@ -994,53 +1001,53 @@ export enum LaunchType { /** *

                              The load balancer configuration to use with a service or task set.

                              - *

                              For specific notes and restrictions regarding the use of load balancers with services - * and task sets, see the CreateService and CreateTaskSet actions.

                              + *

                              For specific notes and restrictions regarding the use of load balancers with services + * and task sets, see the CreateService and CreateTaskSet actions.

                              */ export interface LoadBalancer { /** *

                              The name of the container (as it appears in a container definition) to associate with - * the load balancer.

                              + * the load balancer.

                              */ containerName?: string; + /** + *

                              The port on the container to associate with the load balancer. This port must + * correspond to a containerPort in the task definition the tasks in the + * service are using. For tasks that use the EC2 launch type, the container + * instance they are launched on must allow ingress traffic on the hostPort of + * the port mapping.

                              + */ + containerPort?: number; + /** *

                              The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or - * task set.

                              - *

                              A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a - * Classic Load Balancer the target group ARN should be omitted.

                              - *

                              For services using the ECS deployment controller, you can specify one or - * multiple target groups. For more information, see Registering Multiple Target Groups with a Service in - * the Amazon Elastic Container Service Developer Guide.

                              - *

                              For services using the CODE_DEPLOY deployment controller, you are - * required to define two target groups for the load balancer. For more information, see - * Blue/Green Deployment with CodeDeploy in the - * Amazon Elastic Container Service Developer Guide.

                              - * - *

                              If your service's task definition uses the awsvpc network mode (which - * is required for the Fargate launch type), you must choose - * ip as the target type, not instance, when creating - * your target groups because tasks that use the awsvpc network mode are - * associated with an elastic network interface, not an Amazon EC2 instance.

                              - *
                              + * task set.

                              + *

                              A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a + * Classic Load Balancer the target group ARN should be omitted.

                              + *

                              For services using the ECS deployment controller, you can specify one or + * multiple target groups. For more information, see Registering Multiple Target Groups with a Service in + * the Amazon Elastic Container Service Developer Guide.

                              + *

                              For services using the CODE_DEPLOY deployment controller, you are + * required to define two target groups for the load balancer. For more information, see + * Blue/Green Deployment with CodeDeploy in the + * Amazon Elastic Container Service Developer Guide.

                              + * + *

                              If your service's task definition uses the awsvpc network mode (which + * is required for the Fargate launch type), you must choose + * ip as the target type, not instance, when creating + * your target groups because tasks that use the awsvpc network mode are + * associated with an elastic network interface, not an Amazon EC2 instance.

                              + *
                              */ targetGroupArn?: string; /** *

                              The name of the load balancer to associate with the Amazon ECS service or task set.

                              - *

                              A load balancer name is only specified when using a Classic Load Balancer. If you are using an Application Load Balancer - * or a Network Load Balancer the load balancer name parameter should be omitted.

                              + *

                              A load balancer name is only specified when using a Classic Load Balancer. If you are using an Application Load Balancer + * or a Network Load Balancer the load balancer name parameter should be omitted.

                              */ loadBalancerName?: string; - - /** - *

                              The port on the container to associate with the load balancer. This port must - * correspond to a containerPort in the task definition the tasks in the - * service are using. For tasks that use the EC2 launch type, the container - * instance they are launched on must allow ingress traffic on the hostPort of - * the port mapping.

                              - */ - containerPort?: number; } export namespace LoadBalancer { @@ -1059,29 +1066,30 @@ export enum AssignPublicIp { */ export interface AwsVpcConfiguration { /** - *

                              Whether the task's elastic network interface receives a public IP address. The default - * value is DISABLED.

                              + *

                              The IDs of the security groups associated with the task or service. If you do not + * specify a security group, the default security group for the VPC is used. There is a + * limit of 5 security groups that can be specified per + * AwsVpcConfiguration.

                              + * + * + *

                              All specified security groups must be from the same VPC.

                              + *
                              */ - assignPublicIp?: AssignPublicIp | string; + securityGroups?: string[]; /** - *

                              The security groups associated with the task or service. If you do not specify a - * security group, the default security group for the VPC is used. There is a limit of 5 - * security groups that can be specified per AwsVpcConfiguration.

                              - * - * - *

                              All specified security groups must be from the same VPC.

                              - *
                              + *

                              Whether the task's elastic network interface receives a public IP address. The default + * value is DISABLED.

                              */ - securityGroups?: string[]; + assignPublicIp?: AssignPublicIp | string; /** - *

                              The subnets associated with the task or service. There is a limit of 16 subnets that - * can be specified per AwsVpcConfiguration.

                              + *

                              The IDs of the subnets associated with the task or service. There is a limit of 16 + * subnets that can be specified per AwsVpcConfiguration.

                              * - * - *

                              All specified subnets must be from the same VPC.

                              - *
                              + * + *

                              All specified subnets must be from the same VPC.

                              + *
                              */ subnets: string[] | undefined; } @@ -1098,9 +1106,9 @@ export namespace AwsVpcConfiguration { export interface NetworkConfiguration { /** *

                              The VPC subnets and security groups associated with a task.

                              - * - *

                              All specified subnets and security groups must be from the same VPC.

                              - *
                              + * + *

                              All specified subnets and security groups must be from the same VPC.

                              + *
                              */ awsvpcConfiguration?: AwsVpcConfiguration; } @@ -1118,27 +1126,27 @@ export enum PlacementConstraintType { /** *

                              An object representing a constraint on task placement. For more information, see - * Task Placement Constraints in the - * Amazon Elastic Container Service Developer Guide.

                              - * - *

                              If you are using the Fargate launch type, task placement constraints - * are not supported.

                              - *
                              + * Task Placement Constraints in the + * Amazon Elastic Container Service Developer Guide.

                              + * + *

                              If you are using the Fargate launch type, task placement constraints + * are not supported.

                              + *
                              */ export interface PlacementConstraint { /** *

                              The type of constraint. Use distinctInstance to ensure that each task in - * a particular group is running on a different container instance. Use - * memberOf to restrict the selection to a group of valid - * candidates.

                              + * a particular group is running on a different container instance. Use + * memberOf to restrict the selection to a group of valid + * candidates.

                              */ type?: PlacementConstraintType | string; /** *

                              A cluster query language expression to apply to the constraint. You cannot specify an - * expression if the constraint type is distinctInstance. For more - * information, see Cluster Query Language in the - * Amazon Elastic Container Service Developer Guide.

                              + * expression if the constraint type is distinctInstance. For more + * information, see Cluster Query Language in the + * Amazon Elastic Container Service Developer Guide.

                              */ expression?: string; } @@ -1157,30 +1165,30 @@ export enum PlacementStrategyType { /** *

                              The task placement strategy for a task or service. For more information, see Task Placement Strategies in the - * Amazon Elastic Container Service Developer Guide.

                              + * Amazon Elastic Container Service Developer Guide.

                              */ export interface PlacementStrategy { /** - *

                              The type of placement strategy. The random placement strategy randomly - * places tasks on available candidates. The spread placement strategy spreads - * placement across available candidates evenly based on the field parameter. - * The binpack strategy places tasks on available candidates that have the - * least available amount of the resource that is specified with the field - * parameter. For example, if you binpack on memory, a task is placed on the instance with - * the least amount of remaining memory (but still enough to run the task).

                              + *

                              The field to apply the placement strategy against. For the spread + * placement strategy, valid values are instanceId (or host, + * which has the same effect), or any platform or custom attribute that is applied to a + * container instance, such as attribute:ecs.availability-zone. For the + * binpack placement strategy, valid values are cpu and + * memory. For the random placement strategy, this field is + * not used.

                              */ - type?: PlacementStrategyType | string; + field?: string; /** - *

                              The field to apply the placement strategy against. For the spread - * placement strategy, valid values are instanceId (or host, - * which has the same effect), or any platform or custom attribute that is applied to a - * container instance, such as attribute:ecs.availability-zone. For the - * binpack placement strategy, valid values are cpu and - * memory. For the random placement strategy, this field is - * not used.

                              + *

                              The type of placement strategy. The random placement strategy randomly + * places tasks on available candidates. The spread placement strategy spreads + * placement across available candidates evenly based on the field parameter. + * The binpack strategy places tasks on available candidates that have the + * least available amount of the resource that is specified with the field + * parameter. For example, if you binpack on memory, a task is placed on the instance with + * the least amount of remaining memory (but still enough to run the task).

                              */ - field?: string; + type?: PlacementStrategyType | string; } export namespace PlacementStrategy { @@ -1204,41 +1212,41 @@ export enum SchedulingStrategy { */ export interface ServiceRegistry { /** - *

                              The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is - * AWS Cloud Map. For more information, see CreateService.

                              + *

                              The port value, already specified in the task definition, to be used for your service + * discovery service. If the task definition your service task specifies uses the + * bridge or host network mode, you must specify a + * containerName and containerPort combination from the task + * definition. If the task definition your service task specifies uses the + * awsvpc network mode and a type SRV DNS record is used, you must specify + * either a containerName and containerPort combination or a + * port value, but not both.

                              */ - registryArn?: string; + containerPort?: number; /** - *

                              The port value used if your service discovery service specified an SRV record. This - * field may be used if both the awsvpc network mode and SRV records are - * used.

                              + *

                              The container name value, already specified in the task definition, to be used for + * your service discovery service. If the task definition that your service task specifies + * uses the bridge or host network mode, you must specify a + * containerName and containerPort combination from the task + * definition. If the task definition that your service task specifies uses the + * awsvpc network mode and a type SRV DNS record is used, you must specify + * either a containerName and containerPort combination or a + * port value, but not both.

                              */ - port?: number; + containerName?: string; /** - *

                              The port value, already specified in the task definition, to be used for your service - * discovery service. If the task definition your service task specifies uses the - * bridge or host network mode, you must specify a - * containerName and containerPort combination from the task - * definition. If the task definition your service task specifies uses the - * awsvpc network mode and a type SRV DNS record is used, you must specify - * either a containerName and containerPort combination or a - * port value, but not both.

                              + *

                              The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is + * AWS Cloud Map. For more information, see CreateService.

                              */ - containerPort?: number; + registryArn?: string; /** - *

                              The container name value, already specified in the task definition, to be used for - * your service discovery service. If the task definition that your service task specifies - * uses the bridge or host network mode, you must specify a - * containerName and containerPort combination from the task - * definition. If the task definition that your service task specifies uses the - * awsvpc network mode and a type SRV DNS record is used, you must specify - * either a containerName and containerPort combination or a - * port value, but not both.

                              + *

                              The port value used if your service discovery service specified an SRV record. This + * field may be used if both the awsvpc network mode and SRV records are + * used.

                              */ - containerName?: string; + port?: number; } export namespace ServiceRegistry { @@ -1249,163 +1257,170 @@ export namespace ServiceRegistry { export interface CreateServiceRequest { /** - *

                              The network configuration for the service. This parameter is required for task - * definitions that use the awsvpc network mode to receive their own elastic - * network interface, and it is not supported for other network modes. For more - * information, see Task Networking - * in the Amazon Elastic Container Service Developer Guide.

                              - */ - networkConfiguration?: NetworkConfiguration; - - /** - *

                              The deployment controller to use for the service.

                              + *

                              A load balancer object representing the load balancers to use with your service. For + * more information, see Service Load Balancing in the + * Amazon Elastic Container Service Developer Guide.

                              + *

                              If the service is using the rolling update (ECS) deployment controller + * and using either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to + * attach to the service. The service-linked role is required for services that make use of + * multiple target groups. For more information, see Using Service-Linked Roles for Amazon ECS in the + * Amazon Elastic Container Service Developer Guide.

                              + *

                              If the service is using the CODE_DEPLOY deployment controller, the + * service is required to use either an Application Load Balancer or Network Load Balancer. When creating an AWS CodeDeploy deployment + * group, you specify two target groups (referred to as a targetGroupPair). + * During a deployment, AWS CodeDeploy determines which task set in your service has the status + * PRIMARY and associates one target group with it, and then associates + * the other target group with the replacement task set. The load balancer can also have up + * to two listeners: a required listener for production traffic and an optional listener + * that allows you perform validation tests with Lambda functions before routing production + * traffic to it.

                              + *

                              After you create a service using the ECS deployment controller, the load + * balancer name or target group ARN, container name, and container port specified in the + * service definition are immutable. If you are using the CODE_DEPLOY + * deployment controller, these values can be changed when updating the service.

                              + *

                              For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN, + * the container name (as it appears in a container definition), and the container port to + * access from the load balancer. The load balancer name parameter must be omitted. When a + * task from this service is placed on a container instance, the container instance and + * port combination is registered as a target in the target group specified here.

                              + *

                              For Classic Load Balancers, this object must contain the load balancer name, the container name (as it + * appears in a container definition), and the container port to access from the load + * balancer. The target group ARN parameter must be omitted. When a task from this service + * is placed on a container instance, the container instance is registered with the load + * balancer specified here.

                              + *

                              Services with tasks that use the awsvpc network mode (for example, those + * with the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers are + * not supported. Also, when you create any target groups for these services, you must + * choose ip as the target type, not instance, because tasks that + * use the awsvpc network mode are associated with an elastic network + * interface, not an Amazon EC2 instance.

                              */ - deploymentController?: DeploymentController; + loadBalancers?: LoadBalancer[]; /** *

                              The details of the service discovery registries to assign to this service. For more - * information, see Service - * Discovery.

                              - * - *

                              Service discovery is supported for Fargate tasks if you are using - * platform version v1.1.0 or later. For more information, see AWS Fargate Platform - * Versions.

                              - *
                              + * information, see Service + * Discovery.

                              + * + *

                              Service discovery is supported for Fargate tasks if you are using + * platform version v1.1.0 or later. For more information, see AWS Fargate Platform + * Versions.

                              + *
                              */ serviceRegistries?: ServiceRegistry[]; /** - *

                              The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service. - * If you do not specify a cluster, the default cluster is assumed.

                              + *

                              The deployment controller to use for the service.

                              */ - cluster?: string; + deploymentController?: DeploymentController; + + /** + *

                              Specifies whether to propagate the tags from the task definition or the service to the + * tasks in the service. If no value is specified, the tags are not propagated. Tags can + * only be propagated to the tasks within the service during service creation. To add tags + * to a task after service creation, use the TagResource API + * action.

                              + */ + propagateTags?: PropagateTags | string; /** *

                              The scheduling strategy to use for the service. For more information, see Services.

                              - *

                              There are two service scheduler strategies available:

                              - *
                                + *

                                There are two service scheduler strategies available:

                                + *
                                  *
                                • - *

                                  + *

                                  * REPLICA-The replica scheduling strategy places and - * maintains the desired number of tasks across your cluster. By default, the - * service scheduler spreads tasks across Availability Zones. You can use task - * placement strategies and constraints to customize task placement decisions. This - * scheduler strategy is required if the service is using the - * CODE_DEPLOY or EXTERNAL deployment controller - * types.

                                  - *
                                • - *
                                • - *

                                  + * maintains the desired number of tasks across your cluster. By default, the + * service scheduler spreads tasks across Availability Zones. You can use task + * placement strategies and constraints to customize task placement decisions. This + * scheduler strategy is required if the service is using the + * CODE_DEPLOY or EXTERNAL deployment controller + * types.

                                  + *
                                • + *
                                • + *

                                  * DAEMON-The daemon scheduling strategy deploys exactly one - * task on each active container instance that meets all of the task placement - * constraints that you specify in your cluster. The service scheduler also - * evaluates the task placement constraints for running tasks and will stop tasks - * that do not meet the placement constraints. When you're using this strategy, you - * don't need to specify a desired number of tasks, a task placement strategy, or - * use Service Auto Scaling policies.

                                  - * - *

                                  Tasks using the Fargate launch type or the - * CODE_DEPLOY or EXTERNAL deployment controller - * types don't support the DAEMON scheduling strategy.

                                  - *
                                  - *
                                • + * task on each active container instance that meets all of the task placement + * constraints that you specify in your cluster. The service scheduler also + * evaluates the task placement constraints for running tasks and will stop tasks + * that do not meet the placement constraints. When you're using this strategy, you + * don't need to specify a desired number of tasks, a task placement strategy, or + * use Service Auto Scaling policies.

                                  + * + *

                                  Tasks using the Fargate launch type or the + * CODE_DEPLOY or EXTERNAL deployment controller + * types don't support the DAEMON scheduling strategy.

                                  + *
                                  + * *
                                */ schedulingStrategy?: SchedulingStrategy | string; /** - *

                                Specifies whether to propagate the tags from the task definition or the service to the - * tasks in the service. If no value is specified, the tags are not propagated. Tags can - * only be propagated to the tasks within the service during service creation. To add tags - * to a task after service creation, use the TagResource API - * action.

                                + *

                                The network configuration for the service. This parameter is required for task + * definitions that use the awsvpc network mode to receive their own elastic + * network interface, and it is not supported for other network modes. For more + * information, see Task Networking + * in the Amazon Elastic Container Service Developer Guide.

                                */ - propagateTags?: PropagateTags | string; + networkConfiguration?: NetworkConfiguration; /** - *

                                A load balancer object representing the load balancers to use with your service. For - * more information, see Service Load Balancing in the - * Amazon Elastic Container Service Developer Guide.

                                - *

                                If the service is using the rolling update (ECS) deployment controller - * and using either an Application Load Balancer or Network Load Balancer, you can specify multiple target groups to attach to - * the service. The service-linked role is required for services that make use of multiple - * target groups. For more information, see Using Service-Linked Roles for Amazon ECS in the - * Amazon Elastic Container Service Developer Guide.

                                - *

                                If the service is using the CODE_DEPLOY deployment controller, the - * service is required to use either an Application Load Balancer or Network Load Balancer. When creating an AWS CodeDeploy deployment - * group, you specify two target groups (referred to as a targetGroupPair). - * During a deployment, AWS CodeDeploy determines which task set in your service has the status - * PRIMARY and associates one target group with it, and then associates - * the other target group with the replacement task set. The load balancer can also have up - * to two listeners: a required listener for production traffic and an optional listener - * that allows you perform validation tests with Lambda functions before routing production - * traffic to it.

                                - *

                                After you create a service using the ECS deployment controller, the load - * balancer name or target group ARN, container name, and container port specified in the - * service definition are immutable. If you are using the CODE_DEPLOY - * deployment controller, these values can be changed when updating the service.

                                - *

                                For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN, - * the container name (as it appears in a container definition), and the container port to - * access from the load balancer. When a task from this service is placed on a container - * instance, the container instance and port combination is registered as a target in the - * target group specified here.

                                - *

                                For Classic Load Balancers, this object must contain the load balancer name, the container name (as it - * appears in a container definition), and the container port to access from the load - * balancer. When a task from this service is placed on a container instance, the container - * instance is registered with the load balancer specified here.

                                - *

                                Services with tasks that use the awsvpc network mode (for example, those - * with the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers are - * not supported. Also, when you create any target groups for these services, you must - * choose ip as the target type, not instance, because tasks that - * use the awsvpc network mode are associated with an elastic network - * interface, not an Amazon EC2 instance.

                                + *

                                The platform version that your tasks in the service are running on. A platform version + * is specified only for tasks using the Fargate launch type. If one isn't + * specified, the LATEST platform version is used by default. For more + * information, see AWS Fargate Platform + * Versions in the Amazon Elastic Container Service Developer Guide.

                                */ - loadBalancers?: LoadBalancer[]; + platformVersion?: string; /** - *

                                The number of instantiations of the specified task definition to place and keep - * running on your cluster.

                                - *

                                This is required if schedulingStrategy is REPLICA or is not - * specified. If schedulingStrategy is DAEMON then this is not - * required.

                                + *

                                The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service. + * If you do not specify a cluster, the default cluster is assumed.

                                */ - desiredCount?: number; + cluster?: string; /** - *

                                The name of your service. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. Service names must be unique within - * a cluster, but you can have similarly named services in multiple clusters within a - * Region or across multiple Regions.

                                + *

                                The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your + * load balancer on your behalf. This parameter is only permitted if you are using a load + * balancer with your service and your task definition does not use the awsvpc + * network mode. If you specify the role parameter, you must also specify a + * load balancer object with the loadBalancers parameter.

                                + * + *

                                If your account has already created the Amazon ECS service-linked role, that role is + * used by default for your service unless you specify a role here. The service-linked + * role is required if your task definition uses the awsvpc network mode + * or if the service is configured to use service discovery, an external deployment + * controller, multiple target groups, or Elastic Inference accelerators in which case + * you should not specify a role here. For more information, see Using + * Service-Linked Roles for Amazon ECS in the + * Amazon Elastic Container Service Developer Guide.

                                + *
                                + *

                                If your specified role has a path other than /, then you must either + * specify the full role ARN (this is recommended) or prefix the role name with the path. + * For example, if a role with the name bar has a path of /foo/ + * then you would specify /foo/bar as the role name. For more information, see + * Friendly Names and Paths in the IAM User Guide.

                                */ - serviceName: string | undefined; + role?: string; /** - *

                                The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your - * load balancer on your behalf. This parameter is only permitted if you are using a load - * balancer with your service and your task definition does not use the awsvpc - * network mode. If you specify the role parameter, you must also specify a - * load balancer object with the loadBalancers parameter.

                                - * - *

                                If your account has already created the Amazon ECS service-linked role, that role is - * used by default for your service unless you specify a role here. The service-linked - * role is required if your task definition uses the awsvpc network mode - * or if the service is configured to use service discovery, an external deployment - * controller, multiple target groups, or Elastic Inference accelerators in which case - * you should not specify a role here. For more information, see Using - * Service-Linked Roles for Amazon ECS in the - * Amazon Elastic Container Service Developer Guide.

                                - *
                                - *

                                If your specified role has a path other than /, then you must either - * specify the full role ARN (this is recommended) or prefix the role name with the path. - * For example, if a role with the name bar has a path of /foo/ - * then you would specify /foo/bar as the role name. For more information, see - * Friendly Names and Paths in the IAM User Guide.

                                + *

                                Optional deployment parameters that control how many tasks run during the deployment + * and the ordering of stopping and starting tasks.

                                */ - role?: string; + deploymentConfiguration?: DeploymentConfiguration; + + /** + *

                                The name of your service. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. Service names must be unique within + * a cluster, but you can have similarly named services in multiple clusters within a + * Region or across multiple Regions.

                                + */ + serviceName: string | undefined; /** *

                                The metadata that you apply to the service to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define. When a - * service is deleted, the tags are deleted as well.

                                + * Each tag consists of a key and an optional value, both of which you define. When a + * service is deleted, the tags are deleted as well.

                                *

                                The following basic restrictions apply to tags:

                                *
                                  *
                                • @@ -1440,98 +1455,92 @@ export interface CreateServiceRequest { */ tags?: Tag[]; - /** - *

                                  The placement strategy objects to use for tasks in your service. You can specify a - * maximum of five strategy rules per service.

                                  - */ - placementStrategy?: PlacementStrategy[]; - /** *

                                  Specifies whether to enable Amazon ECS managed tags for the tasks within the service. For - * more information, see Tagging Your Amazon ECS - * Resources in the Amazon Elastic Container Service Developer Guide.

                                  + * more information, see Tagging Your Amazon ECS + * Resources in the Amazon Elastic Container Service Developer Guide.

                                  */ enableECSManagedTags?: boolean; /** - *

                                  Optional deployment parameters that control how many tasks run during the deployment - * and the ordering of stopping and starting tasks.

                                  + *

                                  The placement strategy objects to use for tasks in your service. You can specify a + * maximum of five strategy rules per service.

                                  */ - deploymentConfiguration?: DeploymentConfiguration; + placementStrategy?: PlacementStrategy[]; /** - *

                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. Up to 32 ASCII characters are allowed.

                                  + *

                                  The number of instantiations of the specified task definition to place and keep + * running on your cluster.

                                  + *

                                  This is required if schedulingStrategy is REPLICA or is not + * specified. If schedulingStrategy is DAEMON then this is not + * required.

                                  */ - clientToken?: string; + desiredCount?: number; /** - *

                                  The platform version that your tasks in the service are running on. A platform version - * is specified only for tasks using the Fargate launch type. If one isn't - * specified, the LATEST platform version is used by default. For more - * information, see AWS Fargate Platform - * Versions in the Amazon Elastic Container Service Developer Guide.

                                  + *

                                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the + * request. Up to 32 ASCII characters are allowed.

                                  */ - platformVersion?: string; + clientToken?: string; /** *

                                  An array of placement constraint objects to use for tasks in your service. You can - * specify a maximum of 10 constraints per task (this limit includes constraints in the - * task definition and those specified at runtime).

                                  + * specify a maximum of 10 constraints per task (this limit includes constraints in the + * task definition and those specified at runtime).

                                  */ placementConstraints?: PlacementConstraint[]; /** *

                                  The family and revision (family:revision) or - * full ARN of the task definition to run in your service. If a revision is - * not specified, the latest ACTIVE revision is used.

                                  - *

                                  A task definition must be specified if the service is using the ECS - * deployment controller.

                                  + * full ARN of the task definition to run in your service. If a revision is + * not specified, the latest ACTIVE revision is used.

                                  + *

                                  A task definition must be specified if the service is using either the + * ECS or CODE_DEPLOY deployment controllers.

                                  */ taskDefinition?: string; /** *

                                  The period of time, in seconds, that the Amazon ECS service scheduler should ignore - * unhealthy Elastic Load Balancing target health checks after a task has first started. This is only used - * when your service is configured to use a load balancer. If your service has a load - * balancer defined and you don't specify a health check grace period value, the default - * value of 0 is used.

                                  - *

                                  If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you - * can specify a health check grace period of up to 2,147,483,647 seconds. During that - * time, the Amazon ECS service scheduler ignores health check status. This grace period can - * prevent the service scheduler from marking tasks as unhealthy and stopping them before - * they have time to come up.

                                  + * unhealthy Elastic Load Balancing target health checks after a task has first started. This is only used + * when your service is configured to use a load balancer. If your service has a load + * balancer defined and you don't specify a health check grace period value, the default + * value of 0 is used.

                                  + *

                                  If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you + * can specify a health check grace period of up to 2,147,483,647 seconds. During that + * time, the Amazon ECS service scheduler ignores health check status. This grace period can + * prevent the service scheduler from marking tasks as unhealthy and stopping them before + * they have time to come up.

                                  */ healthCheckGracePeriodSeconds?: number; /** *

                                  The capacity provider strategy to use for the service.

                                  - *

                                  A capacity provider strategy consists of one or more capacity providers along with the - * base and weight to assign to them. A capacity provider - * must be associated with the cluster to be used in a capacity provider strategy. The - * PutClusterCapacityProviders API is used to associate a capacity - * provider with a cluster. Only capacity providers with an ACTIVE or - * UPDATING status can be used.

                                  - *

                                  If a capacityProviderStrategy is specified, the launchType - * parameter must be omitted. If no capacityProviderStrategy or - * launchType is specified, the - * defaultCapacityProviderStrategy for the cluster is used.

                                  - *

                                  If specifying a capacity provider that uses an Auto Scaling group, the capacity - * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                  - *

                                  To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are - * available to all accounts and only need to be associated with a cluster to be - * used.

                                  - *

                                  The PutClusterCapacityProviders API operation is used to update the - * list of available capacity providers for a cluster after the cluster is created.

                                  + *

                                  A capacity provider strategy consists of one or more capacity providers along with the + * base and weight to assign to them. A capacity provider + * must be associated with the cluster to be used in a capacity provider strategy. The + * PutClusterCapacityProviders API is used to associate a capacity + * provider with a cluster. Only capacity providers with an ACTIVE or + * UPDATING status can be used.

                                  + *

                                  If a capacityProviderStrategy is specified, the launchType + * parameter must be omitted. If no capacityProviderStrategy or + * launchType is specified, the + * defaultCapacityProviderStrategy for the cluster is used.

                                  + *

                                  If specifying a capacity provider that uses an Auto Scaling group, the capacity + * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                  + *

                                  To use a AWS Fargate capacity provider, specify either the FARGATE or + * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + * available to all accounts and only need to be associated with a cluster to be + * used.

                                  + *

                                  The PutClusterCapacityProviders API operation is used to update the + * list of available capacity providers for a cluster after the cluster is created.

                                  */ capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** *

                                  The launch type on which to run your service. For more information, see Amazon ECS - * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                  - *

                                  If a launchType is specified, the capacityProviderStrategy - * parameter must be omitted.

                                  + * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                  + *

                                  If a launchType is specified, the capacityProviderStrategy + * parameter must be omitted.

                                  */ launchType?: LaunchType | string; } @@ -1544,7 +1553,7 @@ export namespace CreateServiceRequest { /** *

                                  The details of an Amazon ECS service deployment. This is used only when a service uses the - * ECS deployment controller type.

                                  + * ECS deployment controller type.

                                  */ export interface Deployment { /** @@ -1553,30 +1562,26 @@ export interface Deployment { capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** - *

                                  The Unix timestamp for when the service deployment was last updated.

                                  + *

                                  The launch type the tasks in the service are using. For more information, see Amazon ECS + * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                  */ - updatedAt?: Date; + launchType?: LaunchType | string; /** - *

                                  The most recent desired count of tasks that was specified for the service to deploy or - * maintain.

                                  + *

                                  The Unix timestamp for when the service deployment was last updated.

                                  */ - desiredCount?: number; + updatedAt?: Date; /** - *

                                  The VPC subnet and security group configuration for tasks that receive their own - * elastic network interface by using the awsvpc networking mode.

                                  + *

                                  The ID of the deployment.

                                  */ - networkConfiguration?: NetworkConfiguration; + id?: string; /** - *

                                  The platform version on which your tasks in the service are running. A platform - * version is only specified for tasks using the Fargate launch type. If one - * is not specified, the LATEST platform version is used by default. For more - * information, see AWS Fargate Platform - * Versions in the Amazon Elastic Container Service Developer Guide.

                                  + *

                                  The number of tasks in the deployment that are in the RUNNING + * status.

                                  */ - platformVersion?: string; + runningCount?: number; /** *

                                  The Unix timestamp for when the service deployment was created.

                                  @@ -1585,50 +1590,54 @@ export interface Deployment { /** *

                                  The number of tasks in the deployment that are in the PENDING - * status.

                                  + * status.

                                  */ pendingCount?: number; + /** + *

                                  The VPC subnet and security group configuration for tasks that receive their own + * elastic network interface by using the awsvpc networking mode.

                                  + */ + networkConfiguration?: NetworkConfiguration; + + /** + *

                                  The most recent desired count of tasks that was specified for the service to deploy or + * maintain.

                                  + */ + desiredCount?: number; + /** *

                                  The status of the deployment. The following describes each state:

                                  - *
                                  + *
                                  *
                                  PRIMARY
                                  *
                                  - *

                                  The most recent deployment of a service.

                                  - *
                                  + *

                                  The most recent deployment of a service.

                                  + * *
                                  ACTIVE
                                  *
                                  - *

                                  A service deployment that still has running tasks, but are in the process - * of being replaced with a new PRIMARY deployment.

                                  - *
                                  + *

                                  A service deployment that still has running tasks, but are in the process + * of being replaced with a new PRIMARY deployment.

                                  + * *
                                  INACTIVE
                                  *
                                  - *

                                  A deployment that has been completely replaced.

                                  - *
                                  + *

                                  A deployment that has been completely replaced.

                                  + * *
                                  */ status?: string; /** - *

                                  The number of tasks in the deployment that are in the RUNNING - * status.

                                  - */ - runningCount?: number; - - /** - *

                                  The launch type the tasks in the service are using. For more information, see Amazon ECS - * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                  - */ - launchType?: LaunchType | string; - - /** - *

                                  The ID of the deployment.

                                  + *

                                  The platform version on which your tasks in the service are running. A platform + * version is only specified for tasks using the Fargate launch type. If one + * is not specified, the LATEST platform version is used by default. For more + * information, see AWS Fargate Platform + * Versions in the Amazon Elastic Container Service Developer Guide.

                                  */ - id?: string; + platformVersion?: string; /** *

                                  The most recent task definition that was specified for the tasks in the service to - * use.

                                  + * use.

                                  */ taskDefinition?: string; } @@ -1643,11 +1652,6 @@ export namespace Deployment { *

                                  Details on an event associated with a service.

                                  */ export interface ServiceEvent { - /** - *

                                  The event message.

                                  - */ - message?: string; - /** *

                                  The ID string of the event.

                                  */ @@ -1657,6 +1661,11 @@ export interface ServiceEvent { *

                                  The Unix timestamp for when the event was triggered.

                                  */ createdAt?: Date; + + /** + *

                                  The event message.

                                  + */ + message?: string; } export namespace ServiceEvent { @@ -1671,19 +1680,19 @@ export enum ScaleUnit { /** *

                                  A floating-point percentage of the desired number of tasks to place and keep running - * in the task set.

                                  + * in the task set.

                                  */ export interface Scale { /** - *

                                  The value, specified as a percent total of a service's desiredCount, to - * scale the task set. Accepted values are numbers between 0 and 100.

                                  + *

                                  The unit of measure for the scale value.

                                  */ - value?: number; + unit?: ScaleUnit | string; /** - *

                                  The unit of measure for the scale value.

                                  + *

                                  The value, specified as a percent total of a service's desiredCount, to + * scale the task set. Accepted values are numbers between 0 and 100.

                                  */ - unit?: ScaleUnit | string; + value?: number; } export namespace Scale { @@ -1699,14 +1708,16 @@ export enum StabilityStatus { /** *

                                  Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL - * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how - * many tasks are running, and whether the task set serves production traffic.

                                  + * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how + * many tasks are running, and whether the task set serves production traffic.

                                  */ export interface TaskSet { /** - *

                                  Details on a load balancer that is used with a task set.

                                  + *

                                  The details of the service discovery registries to assign to this task set. For more + * information, see Service + * Discovery.

                                  */ - loadBalancers?: LoadBalancer[]; + serviceRegistries?: ServiceRegistry[]; /** *

                                  The Amazon Resource Name (ARN) of the service the task set exists in.

                                  @@ -1715,63 +1726,33 @@ export interface TaskSet { /** *

                                  The external ID associated with the task set.

                                  - *

                                  If a task set is created by an AWS CodeDeploy deployment, the externalId parameter - * contains the AWS CodeDeploy deployment ID.

                                  - *

                                  If a task set is created for an external deployment and is associated with a service - * discovery registry, the externalId parameter contains the - * ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute.

                                  + *

                                  If a task set is created by an AWS CodeDeploy deployment, the externalId parameter + * contains the AWS CodeDeploy deployment ID.

                                  + *

                                  If a task set is created for an external deployment and is associated with a service + * discovery registry, the externalId parameter contains the + * ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute.

                                  */ externalId?: string; /** - *

                                  The details of the service discovery registries to assign to this task set. For more - * information, see Service - * Discovery.

                                  - */ - serviceRegistries?: ServiceRegistry[]; - - /** - *

                                  The launch type the tasks in the task set are using. For more information, see Amazon ECS - * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                  - */ - launchType?: LaunchType | string; - - /** - *

                                  The task definition the task set is using.

                                  + *

                                  Details on a load balancer that is used with a task set.

                                  */ - taskDefinition?: string; + loadBalancers?: LoadBalancer[]; /** - *

                                  The stability status, which indicates whether the task set has reached a steady state. - * If the following conditions are met, the task set will be in - * STEADY_STATE:

                                  - *
                                    - *
                                  • - *

                                    The task runningCount is equal to the - * computedDesiredCount.

                                    - *
                                  • - *
                                  • - *

                                    The pendingCount is 0.

                                    - *
                                  • - *
                                  • - *

                                    There are no tasks running on container instances in the DRAINING - * status.

                                    - *
                                  • - *
                                  • - *

                                    All tasks are reporting a healthy status from the load balancers, service - * discovery, and container health checks.

                                    - *
                                  • - *
                                  - *

                                  If any of those conditions are not met, the stability status returns - * STABILIZING.

                                  + *

                                  The platform version on which the tasks in the task set are running. A platform + * version is only specified for tasks using the Fargate launch type. If one + * is not specified, the LATEST platform version is used by default. For more + * information, see AWS Fargate Platform + * Versions in the Amazon Elastic Container Service Developer Guide.

                                  */ - stabilityStatus?: StabilityStatus | string; + platformVersion?: string; /** *

                                  The computed desired count for the task set. This is calculated by multiplying the - * service's desiredCount by the task set's scale percentage. The - * result is always rounded up. For example, if the computed desired count is 1.2, it - * rounds up to 2 tasks.

                                  + * service's desiredCount by the task set's scale percentage. The + * result is always rounded up. For example, if the computed desired count is 1.2, it + * rounds up to 2 tasks.

                                  */ computedDesiredCount?: number; @@ -1781,86 +1762,44 @@ export interface TaskSet { id?: string; /** - *

                                  The Unix timestamp for when the task set was created.

                                  + *

                                  The task definition the task set is using.

                                  */ - createdAt?: Date; + taskDefinition?: string; /** - *

                                  The Amazon Resource Name (ARN) of the task set.

                                  + *

                                  The launch type the tasks in the task set are using. For more information, see Amazon ECS + * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                  */ - taskSetArn?: string; + launchType?: LaunchType | string; /** *

                                  The Unix timestamp for when the task set was last updated.

                                  */ updatedAt?: Date; - /** - *

                                  The status of the task set. The following describes each state:

                                  - *
                                  - *
                                  PRIMARY
                                  - *
                                  - *

                                  The task set is serving production traffic.

                                  - *
                                  - *
                                  ACTIVE
                                  - *
                                  - *

                                  The task set is not serving production traffic.

                                  - *
                                  - *
                                  DRAINING
                                  - *
                                  - *

                                  The tasks in the task set are being stopped and their corresponding - * targets are being deregistered from their target group.

                                  - *
                                  - *
                                  - */ - status?: string; - /** *

                                  The capacity provider strategy associated with the task set.

                                  */ capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** - *

                                  The number of tasks in the task set that are in the PENDING status during - * a deployment. A task in the PENDING state is preparing to enter the - * RUNNING state. A task set enters the PENDING status when - * it launches for the first time or when it is restarted after being in the - * STOPPED state.

                                  - */ - pendingCount?: number; - - /** - *

                                  The number of tasks in the task set that are in the RUNNING status during - * a deployment. A task in the RUNNING state is running and ready for - * use.

                                  - */ - runningCount?: number; - - /** - *

                                  A floating-point percentage of the desired number of tasks to place and keep running - * in the task set.

                                  - */ - scale?: Scale; - - /** - *

                                  The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists - * in.

                                  + *

                                  The Unix timestamp for when the task set was created.

                                  */ - clusterArn?: string; + createdAt?: Date; /** - *

                                  The platform version on which the tasks in the task set are running. A platform - * version is only specified for tasks using the Fargate launch type. If one - * is not specified, the LATEST platform version is used by default. For more - * information, see AWS Fargate Platform - * Versions in the Amazon Elastic Container Service Developer Guide.

                                  + *

                                  The number of tasks in the task set that are in the PENDING status during + * a deployment. A task in the PENDING state is preparing to enter the + * RUNNING state. A task set enters the PENDING status when + * it launches for the first time or when it is restarted after being in the + * STOPPED state.

                                  */ - platformVersion?: string; + pendingCount?: number; /** *

                                  The metadata that you apply to the task set to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

                                  - *

                                  The following basic restrictions apply to tags:

                                  + * Each tag consists of a key and an optional value, both of which you define.

                                  + *

                                  The following basic restrictions apply to tags:

                                  *
                                    *
                                  • *

                                    Maximum number of tags per resource - 50

                                    @@ -1894,22 +1833,92 @@ export interface TaskSet { */ tags?: Tag[]; + /** + *

                                    The status of the task set. The following describes each state:

                                    + *
                                    + *
                                    PRIMARY
                                    + *
                                    + *

                                    The task set is serving production traffic.

                                    + *
                                    + *
                                    ACTIVE
                                    + *
                                    + *

                                    The task set is not serving production traffic.

                                    + *
                                    + *
                                    DRAINING
                                    + *
                                    + *

                                    The tasks in the task set are being stopped and their corresponding + * targets are being deregistered from their target group.

                                    + *
                                    + *
                                    + */ + status?: string; + + /** + *

                                    The number of tasks in the task set that are in the RUNNING status during + * a deployment. A task in the RUNNING state is running and ready for + * use.

                                    + */ + runningCount?: number; + + /** + *

                                    The Amazon Resource Name (ARN) of the task set.

                                    + */ + taskSetArn?: string; + + /** + *

                                    A floating-point percentage of the desired number of tasks to place and keep running + * in the task set.

                                    + */ + scale?: Scale; + + /** + *

                                    The stability status, which indicates whether the task set has reached a steady state. + * If the following conditions are met, the task set will be in + * STEADY_STATE:

                                    + *
                                      + *
                                    • + *

                                      The task runningCount is equal to the + * computedDesiredCount.

                                      + *
                                    • + *
                                    • + *

                                      The pendingCount is 0.

                                      + *
                                    • + *
                                    • + *

                                      There are no tasks running on container instances in the DRAINING + * status.

                                      + *
                                    • + *
                                    • + *

                                      All tasks are reporting a healthy status from the load balancers, service + * discovery, and container health checks.

                                      + *
                                    • + *
                                    + *

                                    If any of those conditions are not met, the stability status returns + * STABILIZING.

                                    + */ + stabilityStatus?: StabilityStatus | string; + /** *

                                    The Unix timestamp for when the task set stability status was retrieved.

                                    */ stabilityStatusAt?: Date; /** - *

                                    The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy - * deployment, the startedBy parameter is CODE_DEPLOY. For a task - * set created for an external deployment, the startedBy field isn't used.

                                    + *

                                    The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists + * in.

                                    */ - startedBy?: string; + clusterArn?: string; /** *

                                    The network configuration for the task set.

                                    */ networkConfiguration?: NetworkConfiguration; + + /** + *

                                    The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy + * deployment, the startedBy parameter is CODE_DEPLOY. For a task + * set created for an external deployment, the startedBy field isn't used.

                                    + */ + startedBy?: string; } export namespace TaskSet { @@ -1923,159 +1932,67 @@ export namespace TaskSet { */ export interface Service { /** - *

                                    The placement strategy that determines how tasks for the service are placed.

                                    + *

                                    Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL + * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how + * many tasks are running, and whether the task set serves production traffic.

                                    */ - placementStrategy?: PlacementStrategy[]; + taskSets?: TaskSet[]; /** - *

                                    Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL - * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how - * many tasks are running, and whether the task set serves production traffic.

                                    + *

                                    The placement strategy that determines how tasks for the service are placed.

                                    */ - taskSets?: TaskSet[]; + placementStrategy?: PlacementStrategy[]; /** *

                                    The status of the service. The valid values are ACTIVE, - * DRAINING, or INACTIVE.

                                    + * DRAINING, or INACTIVE.

                                    */ status?: string; /** - *

                                    The VPC subnet and security group configuration for tasks that receive their own - * elastic network interface by using the awsvpc networking mode.

                                    + *

                                    A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the + * container name (as it appears in a container definition), and the container port to + * access from the load balancer.

                                    */ - networkConfiguration?: NetworkConfiguration; + loadBalancers?: LoadBalancer[]; /** - *

                                    The scheduling strategy to use for the service. For more information, see Services.

                                    - *

                                    There are two service scheduler strategies available:

                                    - *
                                      - *
                                    • - *

                                      - * REPLICA-The replica scheduling strategy places and - * maintains the desired number of tasks across your cluster. By default, the - * service scheduler spreads tasks across Availability Zones. You can use task - * placement strategies and constraints to customize task placement - * decisions.

                                      - *
                                    • - *
                                    • - *

                                      - * DAEMON-The daemon scheduling strategy deploys exactly one - * task on each active container instance that meets all of the task placement - * constraints that you specify in your cluster. The service scheduler also - * evaluates the task placement constraints for running tasks and will stop tasks - * that do not meet the placement constraints.

                                      - * - *

                                      Fargate tasks do not support the DAEMON - * scheduling strategy.

                                      - *
                                      - *
                                    • - *
                                    - */ - schedulingStrategy?: SchedulingStrategy | string; - - /** - *

                                    The name of your service. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. Service names must be unique within - * a cluster, but you can have similarly named services in multiple clusters within a - * Region or across multiple Regions.

                                    - */ - serviceName?: string; - - /** - *

                                    Specifies whether to enable Amazon ECS managed tags for the tasks in the service. For more - * information, see Tagging Your Amazon ECS - * Resources in the Amazon Elastic Container Service Developer Guide.

                                    - */ - enableECSManagedTags?: boolean; - - /** - *

                                    The number of tasks in the cluster that are in the PENDING state.

                                    - */ - pendingCount?: number; - - /** - *

                                    The number of tasks in the cluster that are in the RUNNING state.

                                    - */ - runningCount?: number; - - /** - *

                                    The desired number of instantiations of the task definition to keep running on the - * service. This value is specified when the service is created with CreateService, and it can be modified with UpdateService.

                                    - */ - desiredCount?: number; - - /** - *

                                    The Unix timestamp for when the service was created.

                                    + *

                                    Specifies whether to propagate the tags from the task definition or the service to the + * task. If no value is specified, the tags are not propagated.

                                    */ - createdAt?: Date; + propagateTags?: PropagateTags | string; /** *

                                    The task definition to use for tasks in the service. This value is specified when the - * service is created with CreateService, and it can be modified with - * UpdateService.

                                    + * service is created with CreateService, and it can be modified with + * UpdateService.

                                    */ taskDefinition?: string; /** - *

                                    The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy - * Elastic Load Balancing target health checks after a task has first started.

                                    - */ - healthCheckGracePeriodSeconds?: number; - - /** - *

                                    The capacity provider strategy associated with the service.

                                    - */ - capacityProviderStrategy?: CapacityProviderStrategyItem[]; - - /** - *

                                    The placement constraints for the tasks in the service.

                                    - */ - placementConstraints?: PlacementConstraint[]; - - /** - *

                                    The event stream for your service. A maximum of 100 of the latest events are - * displayed.

                                    - */ - events?: ServiceEvent[]; - - /** - *

                                    The launch type on which your service is running. If no value is specified, it will - * default to EC2. Valid values include EC2 and - * FARGATE. For more information, see Amazon ECS - * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                    - */ - launchType?: LaunchType | string; - - /** - *

                                    The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the Region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service.

                                    + *

                                    The platform version on which to run your service. A platform version is only + * specified for tasks using the Fargate launch type. If one is not + * specified, the LATEST platform version is used by default. For more + * information, see AWS Fargate Platform + * Versions in the Amazon Elastic Container Service Developer Guide.

                                    */ - serviceArn?: string; + platformVersion?: string; /** - *

                                    The details of the service discovery registries to assign to this service. For more - * information, see Service - * Discovery.

                                    + *

                                    The current state of deployments for the service.

                                    */ - serviceRegistries?: ServiceRegistry[]; + deployments?: Deployment[]; /** *

                                    The ARN of the IAM role associated with the service that allows the Amazon ECS container - * agent to register container instances with an Elastic Load Balancing load balancer.

                                    + * agent to register container instances with an Elastic Load Balancing load balancer.

                                    */ roleArn?: string; /** - *

                                    A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the - * container name (as it appears in a container definition), and the container port to - * access from the load balancer.

                                    - */ - loadBalancers?: LoadBalancer[]; - - /** - *

                                    Specifies whether to propagate the tags from the task definition or the service to the - * task. If no value is specified, the tags are not propagated.

                                    + *

                                    The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the Region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service.

                                    */ - propagateTags?: PropagateTags | string; + serviceArn?: string; /** *

                                    The principal that created the service.

                                    @@ -2084,29 +2001,33 @@ export interface Service { /** *

                                    The deployment controller type the service is using. When using the DescribeServices - * API, this field is omitted if the service is using the ECS deployment - * controller type.

                                    + * API, this field is omitted if the service is using the ECS deployment + * controller type.

                                    */ deploymentController?: DeploymentController; /** - *

                                    The platform version on which to run your service. A platform version is only - * specified for tasks using the Fargate launch type. If one is not - * specified, the LATEST platform version is used by default. For more - * information, see AWS Fargate Platform - * Versions in the Amazon Elastic Container Service Developer Guide.

                                    + *

                                    The details of the service discovery registries to assign to this service. For more + * information, see Service + * Discovery.

                                    */ - platformVersion?: string; + serviceRegistries?: ServiceRegistry[]; /** - *

                                    The current state of deployments for the service.

                                    + *

                                    Optional deployment parameters that control how many tasks run during the deployment + * and the ordering of stopping and starting tasks.

                                    */ - deployments?: Deployment[]; + deploymentConfiguration?: DeploymentConfiguration; + + /** + *

                                    The Amazon Resource Name (ARN) of the cluster that hosts the service.

                                    + */ + clusterArn?: string; /** *

                                    The metadata that you apply to the service to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

                                    - *

                                    The following basic restrictions apply to tags:

                                    + * Each tag consists of a key and an optional value, both of which you define.

                                    + *

                                    The following basic restrictions apply to tags:

                                    *
                                      *
                                    • *

                                      Maximum number of tags per resource - 50

                                      @@ -2141,15 +2062,103 @@ export interface Service { tags?: Tag[]; /** - *

                                      The Amazon Resource Name (ARN) of the cluster that hosts the service.

                                      + *

                                      Specifies whether to enable Amazon ECS managed tags for the tasks in the service. For more + * information, see Tagging Your Amazon ECS + * Resources in the Amazon Elastic Container Service Developer Guide.

                                      */ - clusterArn?: string; + enableECSManagedTags?: boolean; /** - *

                                      Optional deployment parameters that control how many tasks run during the deployment - * and the ordering of stopping and starting tasks.

                                      + *

                                      The number of tasks in the cluster that are in the RUNNING state.

                                      */ - deploymentConfiguration?: DeploymentConfiguration; + runningCount?: number; + + /** + *

                                      The number of tasks in the cluster that are in the PENDING state.

                                      + */ + pendingCount?: number; + + /** + *

                                      The desired number of instantiations of the task definition to keep running on the + * service. This value is specified when the service is created with CreateService, and it can be modified with UpdateService.

                                      + */ + desiredCount?: number; + + /** + *

                                      The placement constraints for the tasks in the service.

                                      + */ + placementConstraints?: PlacementConstraint[]; + + /** + *

                                      The Unix timestamp for when the service was created.

                                      + */ + createdAt?: Date; + + /** + *

                                      The capacity provider strategy associated with the service.

                                      + */ + capacityProviderStrategy?: CapacityProviderStrategyItem[]; + + /** + *

                                      The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy + * Elastic Load Balancing target health checks after a task has first started.

                                      + */ + healthCheckGracePeriodSeconds?: number; + + /** + *

                                      The launch type on which your service is running. If no value is specified, it will + * default to EC2. Valid values include EC2 and + * FARGATE. For more information, see Amazon ECS + * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                      + */ + launchType?: LaunchType | string; + + /** + *

                                      The event stream for your service. A maximum of 100 of the latest events are + * displayed.

                                      + */ + events?: ServiceEvent[]; + + /** + *

                                      The VPC subnet and security group configuration for tasks that receive their own + * elastic network interface by using the awsvpc networking mode.

                                      + */ + networkConfiguration?: NetworkConfiguration; + + /** + *

                                      The name of your service. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. Service names must be unique within + * a cluster, but you can have similarly named services in multiple clusters within a + * Region or across multiple Regions.

                                      + */ + serviceName?: string; + + /** + *

                                      The scheduling strategy to use for the service. For more information, see Services.

                                      + *

                                      There are two service scheduler strategies available:

                                      + *
                                        + *
                                      • + *

                                        + * REPLICA-The replica scheduling strategy places and + * maintains the desired number of tasks across your cluster. By default, the + * service scheduler spreads tasks across Availability Zones. You can use task + * placement strategies and constraints to customize task placement + * decisions.

                                        + *
                                      • + *
                                      • + *

                                        + * DAEMON-The daemon scheduling strategy deploys exactly one + * task on each active container instance that meets all of the task placement + * constraints that you specify in your cluster. The service scheduler also + * evaluates the task placement constraints for running tasks and will stop tasks + * that do not meet the placement constraints.

                                        + * + *

                                        Fargate tasks do not support the DAEMON + * scheduling strategy.

                                        + *
                                        + *
                                      • + *
                                      + */ + schedulingStrategy?: SchedulingStrategy | string; } export namespace Service { @@ -2161,13 +2170,13 @@ export namespace Service { export interface CreateServiceResponse { /** *

                                      The full description of your service following the create call.

                                      - *

                                      If a service is using the ECS deployment controller, the - * deploymentController and taskSets parameters will not be - * returned.

                                      - *

                                      If the service is using the CODE_DEPLOY deployment controller, the - * deploymentController, taskSets and - * deployments parameters will be returned, however the - * deployments parameter will be an empty list.

                                      + *

                                      If a service is using the ECS deployment controller, the + * deploymentController and taskSets parameters will not be + * returned.

                                      + *

                                      If the service is using the CODE_DEPLOY deployment controller, the + * deploymentController, taskSets and + * deployments parameters will be returned, however the + * deployments parameter will be an empty list.

                                      */ service?: Service; } @@ -2180,7 +2189,7 @@ export namespace CreateServiceResponse { /** *

                                      The specified platform version does not satisfy the task definition's required - * capabilities.

                                      + * capabilities.

                                      */ export interface PlatformTaskDefinitionIncompatibilityException extends __SmithyException, $MetadataBearer { name: "PlatformTaskDefinitionIncompatibilityException"; @@ -2225,10 +2234,39 @@ export namespace UnsupportedFeatureException { } export interface CreateTaskSetRequest { + /** + *

                                      The capacity provider strategy to use for the task set.

                                      + *

                                      A capacity provider strategy consists of one or more capacity providers along with the + * base and weight to assign to them. A capacity provider + * must be associated with the cluster to be used in a capacity provider strategy. The + * PutClusterCapacityProviders API is used to associate a capacity + * provider with a cluster. Only capacity providers with an ACTIVE or + * UPDATING status can be used.

                                      + *

                                      If a capacityProviderStrategy is specified, the launchType + * parameter must be omitted. If no capacityProviderStrategy or + * launchType is specified, the + * defaultCapacityProviderStrategy for the cluster is used.

                                      + *

                                      If specifying a capacity provider that uses an Auto Scaling group, the capacity + * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                      + *

                                      To use a AWS Fargate capacity provider, specify either the FARGATE or + * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + * available to all accounts and only need to be associated with a cluster to be + * used.

                                      + *

                                      The PutClusterCapacityProviders API operation is used to update the + * list of available capacity providers for a cluster after the cluster is created.

                                      + */ + capacityProviderStrategy?: CapacityProviderStrategyItem[]; + + /** + *

                                      A floating-point percentage of the desired number of tasks to place and keep running + * in the task set.

                                      + */ + scale?: Scale; + /** *

                                      The metadata that you apply to the task set to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define. When a - * service is deleted, the tags are deleted as well.

                                      + * Each tag consists of a key and an optional value, both of which you define. When a + * service is deleted, the tags are deleted as well.

                                      *

                                      The following basic restrictions apply to tags:

                                      *
                                        *
                                      • @@ -2264,96 +2302,67 @@ export interface CreateTaskSetRequest { tags?: Tag[]; /** - *

                                        A floating-point percentage of the desired number of tasks to place and keep running - * in the task set.

                                        - */ - scale?: Scale; - - /** - *

                                        A load balancer object representing the load balancer to use with the task set. The - * supported load balancer types are either an Application Load Balancer or a Network Load Balancer.

                                        + *

                                        The launch type that new tasks in the task set will use. For more information, see + * Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

                                        + *

                                        If a launchType is specified, the capacityProviderStrategy + * parameter must be omitted.

                                        */ - loadBalancers?: LoadBalancer[]; + launchType?: LaunchType | string; /** *

                                        Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. Up to 32 ASCII characters are allowed.

                                        + * request. Up to 32 ASCII characters are allowed.

                                        */ clientToken?: string; /** - *

                                        An optional non-unique tag that identifies this task set in external systems. If the - * task set is associated with a service discovery registry, the tasks in this task set - * will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided - * value.

                                        - */ - externalId?: string; - - /** - *

                                        An object representing the network configuration for a task or service.

                                        + *

                                        The platform version that the tasks in the task set should use. A platform version is + * specified only for tasks using the Fargate launch type. If one isn't + * specified, the LATEST platform version is used by default.

                                        */ - networkConfiguration?: NetworkConfiguration; + platformVersion?: string; /** *

                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the - * task set in.

                                        + * task set in.

                                        */ cluster: string | undefined; /** - *

                                        The task definition for the tasks in the task set to use.

                                        + *

                                        A load balancer object representing the load balancer to use with the task set. The + * supported load balancer types are either an Application Load Balancer or a Network Load Balancer.

                                        */ - taskDefinition: string | undefined; + loadBalancers?: LoadBalancer[]; /** - *

                                        The platform version that the tasks in the task set should use. A platform version is - * specified only for tasks using the Fargate launch type. If one isn't - * specified, the LATEST platform version is used by default.

                                        + *

                                        An optional non-unique tag that identifies this task set in external systems. If the + * task set is associated with a service discovery registry, the tasks in this task set + * will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided + * value.

                                        */ - platformVersion?: string; + externalId?: string; /** - *

                                        The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

                                        + *

                                        An object representing the network configuration for a task or service.

                                        */ - service: string | undefined; + networkConfiguration?: NetworkConfiguration; /** - *

                                        The details of the service discovery registries to assign to this task set. For more - * information, see Service - * Discovery.

                                        + *

                                        The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

                                        */ - serviceRegistries?: ServiceRegistry[]; + service: string | undefined; /** - *

                                        The capacity provider strategy to use for the task set.

                                        - *

                                        A capacity provider strategy consists of one or more capacity providers along with the - * base and weight to assign to them. A capacity provider - * must be associated with the cluster to be used in a capacity provider strategy. The - * PutClusterCapacityProviders API is used to associate a capacity - * provider with a cluster. Only capacity providers with an ACTIVE or - * UPDATING status can be used.

                                        - *

                                        If a capacityProviderStrategy is specified, the launchType - * parameter must be omitted. If no capacityProviderStrategy or - * launchType is specified, the - * defaultCapacityProviderStrategy for the cluster is used.

                                        - *

                                        If specifying a capacity provider that uses an Auto Scaling group, the capacity - * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                        - *

                                        To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are - * available to all accounts and only need to be associated with a cluster to be - * used.

                                        - *

                                        The PutClusterCapacityProviders API operation is used to update the - * list of available capacity providers for a cluster after the cluster is created.

                                        + *

                                        The task definition for the tasks in the task set to use.

                                        */ - capacityProviderStrategy?: CapacityProviderStrategyItem[]; + taskDefinition: string | undefined; /** - *

                                        The launch type that new tasks in the task set will use. For more information, see - * Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

                                        - *

                                        If a launchType is specified, the capacityProviderStrategy - * parameter must be omitted.

                                        + *

                                        The details of the service discovery registries to assign to this task set. For more + * information, see Service + * Discovery.

                                        */ - launchType?: LaunchType | string; + serviceRegistries?: ServiceRegistry[]; } export namespace CreateTaskSetRequest { @@ -2365,8 +2374,8 @@ export namespace CreateTaskSetRequest { export interface CreateTaskSetResponse { /** *

                                        Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL - * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how - * many tasks are running, and whether the task set serves production traffic.

                                        + * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how + * many tasks are running, and whether the task set serves production traffic.

                                        */ taskSet?: TaskSet; } @@ -2379,7 +2388,7 @@ export namespace CreateTaskSetResponse { /** *

                                        The specified service is not active. You can't update a service that is inactive. If - * you have previously deleted a service, you can re-create it with CreateService.

                                        + * you have previously deleted a service, you can re-create it with CreateService.

                                        */ export interface ServiceNotActiveException extends __SmithyException, $MetadataBearer { name: "ServiceNotActiveException"; @@ -2395,8 +2404,8 @@ export namespace ServiceNotActiveException { /** *

                                        The specified service could not be found. You can view your available services with - * ListServices. Amazon ECS services are cluster-specific and - * Region-specific.

                                        + * ListServices. Amazon ECS services are cluster-specific and + * Region-specific.

                                        */ export interface ServiceNotFoundException extends __SmithyException, $MetadataBearer { name: "ServiceNotFoundException"; @@ -2420,24 +2429,24 @@ export enum SettingName { export interface DeleteAccountSettingRequest { /** - *

                                        The resource name for which to disable the account setting. If - * serviceLongArnFormat is specified, the ARN for your Amazon ECS services is - * affected. If taskLongArnFormat is specified, the ARN and resource ID for - * your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is - * specified, the ARN and resource ID for your Amazon ECS container instances is affected. If - * awsvpcTrunking is specified, the ENI limit for your Amazon ECS container - * instances is affected.

                                        + *

                                        The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you + * specify the root user, it disables the account setting for all IAM users, IAM roles, and + * the root user of the account unless an IAM user or role explicitly overrides these + * settings. If this field is omitted, the setting is changed only for the authenticated + * user.

                                        */ - name: SettingName | string | undefined; + principalArn?: string; /** - *

                                        The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you - * specify the root user, it disables the account setting for all IAM users, IAM roles, and - * the root user of the account unless an IAM user or role explicitly overrides these - * settings. If this field is omitted, the setting is changed only for the authenticated - * user.

                                        + *

                                        The resource name for which to disable the account setting. If + * serviceLongArnFormat is specified, the ARN for your Amazon ECS services is + * affected. If taskLongArnFormat is specified, the ARN and resource ID for + * your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is + * specified, the ARN and resource ID for your Amazon ECS container instances is affected. If + * awsvpcTrunking is specified, the ENI limit for your Amazon ECS container + * instances is affected.

                                        */ - principalArn?: string; + name: SettingName | string | undefined; } export namespace DeleteAccountSettingRequest { @@ -2452,7 +2461,7 @@ export namespace DeleteAccountSettingRequest { export interface Setting { /** *

                                        The ARN of the principal, which can be an IAM user, IAM role, or the root user. If - * this field is omitted, the authenticated user is assumed.

                                        + * this field is omitted, the authenticated user is assumed.

                                        */ principalArn?: string; @@ -2492,34 +2501,36 @@ export enum TargetType { /** *

                                        An attribute is a name-value pair associated with an Amazon ECS object. Attributes enable - * you to extend the Amazon ECS data model by adding custom metadata to your resources. For more - * information, see Attributes in the Amazon Elastic Container Service Developer Guide.

                                        + * you to extend the Amazon ECS data model by adding custom metadata to your resources. For more + * information, see Attributes in the Amazon Elastic Container Service Developer Guide.

                                        */ export interface Attribute { /** - *

                                        The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, - * hyphens, underscores, and periods are allowed.

                                        + *

                                        The value of the attribute. The value must contain between 1 and 128 + * characters and may contain letters (uppercase and lowercase), numbers, hyphens, + * underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. + * The value cannot contain any leading or trailing whitespace.

                                        */ - name: string | undefined; + value?: string; /** - *

                                        The type of the target with which to attach the attribute. This parameter is required - * if you use the short form ID for a resource instead of the full ARN.

                                        + *

                                        The ID of the target. You can specify the short form ID for a resource or the full + * Amazon Resource Name (ARN).

                                        */ - targetType?: TargetType | string; + targetId?: string; /** - *

                                        The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, - * hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are - * allowed.

                                        + *

                                        The type of the target with which to attach the attribute. This parameter is required + * if you use the short form ID for a resource instead of the full ARN.

                                        */ - value?: string; + targetType?: TargetType | string; /** - *

                                        The ID of the target. You can specify the short form ID for a resource or the full - * Amazon Resource Name (ARN).

                                        + *

                                        The name of the attribute. The name must contain between 1 and 128 + * characters and name may contain letters (uppercase and lowercase), numbers, hyphens, + * underscores, forward slashes, back slashes, or periods.

                                        */ - targetId?: string; + name: string | undefined; } export namespace Attribute { @@ -2531,15 +2542,15 @@ export namespace Attribute { export interface DeleteAttributesRequest { /** *

                                        The attributes to delete from your resource. You can specify up to 10 attributes per - * request. For custom attributes, specify the attribute name and target ID, but do not - * specify the value. If you specify the target ID using the short form, you must also - * specify the target type.

                                        + * request. For custom attributes, specify the attribute name and target ID, but do not + * specify the value. If you specify the target ID using the short form, you must also + * specify the target type.

                                        */ attributes: Attribute[] | undefined; /** *

                                        The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete - * attributes. If you do not specify a cluster, the default cluster is assumed.

                                        + * attributes. If you do not specify a cluster, the default cluster is assumed.

                                        */ cluster?: string; } @@ -2565,8 +2576,8 @@ export namespace DeleteAttributesResponse { /** *

                                        The specified target could not be found. You can view your available container - * instances with ListContainerInstances. Amazon ECS container instances are - * cluster-specific and Region-specific.

                                        + * instances with ListContainerInstances. Amazon ECS container instances are + * cluster-specific and Region-specific.

                                        */ export interface TargetNotFoundException extends __SmithyException, $MetadataBearer { name: "TargetNotFoundException"; @@ -2608,8 +2619,8 @@ export namespace DeleteCapacityProviderResponse { /** *

                                        You cannot delete a cluster that has registered container instances. First, deregister - * the container instances before you can delete the cluster. For more information, see - * DeregisterContainerInstance.

                                        + * the container instances before you can delete the cluster. For more information, see + * DeregisterContainerInstance.

                                        */ export interface ClusterContainsContainerInstancesException extends __SmithyException, $MetadataBearer { name: "ClusterContainsContainerInstancesException"; @@ -2625,8 +2636,8 @@ export namespace ClusterContainsContainerInstancesException { /** *

                                        You cannot delete a cluster that contains services. First, update the service to - * reduce its desired task count to 0 and then delete the service. For more information, - * see UpdateService and DeleteService.

                                        + * reduce its desired task count to 0 and then delete the service. For more information, + * see UpdateService and DeleteService.

                                        */ export interface ClusterContainsServicesException extends __SmithyException, $MetadataBearer { name: "ClusterContainsServicesException"; @@ -2683,17 +2694,17 @@ export namespace DeleteClusterResponse { export interface DeleteServiceRequest { /** - *

                                        If true, allows you to delete a service even if it has not been scaled - * down to zero tasks. It is only necessary to use this if the service is using the - * REPLICA scheduling strategy.

                                        + *

                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. + * If you do not specify a cluster, the default cluster is assumed.

                                        */ - force?: boolean; + cluster?: string; /** - *

                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. - * If you do not specify a cluster, the default cluster is assumed.

                                        + *

                                        If true, allows you to delete a service even if it has not been scaled + * down to zero tasks. It is only necessary to use this if the service is using the + * REPLICA scheduling strategy.

                                        */ - cluster?: string; + force?: boolean; /** *

                                        The name of the service to delete.

                                        @@ -2722,27 +2733,27 @@ export namespace DeleteServiceResponse { export interface DeleteTaskSetRequest { /** - *

                                        The task set ID or full Amazon Resource Name (ARN) of the task set to delete.

                                        + *

                                        If true, this allows you to delete a task set even if it hasn't been + * scaled down to zero.

                                        */ - taskSet: string | undefined; + force?: boolean; /** - *

                                        The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to - * delete.

                                        + *

                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task + * set exists in to delete.

                                        */ - service: string | undefined; + cluster: string | undefined; /** - *

                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task - * set exists in to delete.

                                        + *

                                        The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to + * delete.

                                        */ - cluster: string | undefined; + service: string | undefined; /** - *

                                        If true, this allows you to delete a task set even if it hasn't been - * scaled down to zero.

                                        + *

                                        The task set ID or full Amazon Resource Name (ARN) of the task set to delete.

                                        */ - force?: boolean; + taskSet: string | undefined; } export namespace DeleteTaskSetRequest { @@ -2754,8 +2765,8 @@ export namespace DeleteTaskSetRequest { export interface DeleteTaskSetResponse { /** *

                                        Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL - * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how - * many tasks are running, and whether the task set serves production traffic.

                                        + * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how + * many tasks are running, and whether the task set serves production traffic.

                                        */ taskSet?: TaskSet; } @@ -2768,8 +2779,8 @@ export namespace DeleteTaskSetResponse { /** *

                                        The specified task set could not be found. You can view your available task sets with - * DescribeTaskSets. Task sets are specific to each cluster, service - * and Region.

                                        + * DescribeTaskSets. Task sets are specific to each cluster, service + * and Region.

                                        */ export interface TaskSetNotFoundException extends __SmithyException, $MetadataBearer { name: "TaskSetNotFoundException"; @@ -2786,27 +2797,27 @@ export namespace TaskSetNotFoundException { export interface DeregisterContainerInstanceRequest { /** *

                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to - * deregister. If you do not specify a cluster, the default cluster is assumed.

                                        + * deregister. If you do not specify a cluster, the default cluster is assumed.

                                        */ cluster?: string; /** *

                                        The container instance ID or full ARN of the container instance to deregister. - * The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                        + * The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                        */ containerInstance: string | undefined; /** *

                                        Forces the deregistration of the container instance. If you have tasks running on the - * container instance when you deregister it with the force option, these - * tasks remain running until you terminate the instance or the tasks stop through some - * other means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If - * an orphaned task on your container instance is part of an Amazon ECS service, then the - * service scheduler starts another copy of that task, on a different container instance if - * possible.

                                        - *

                                        Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer - * target group are deregistered. They begin connection draining according to the settings - * on the load balancer or target group.

                                        + * container instance when you deregister it with the force option, these + * tasks remain running until you terminate the instance or the tasks stop through some + * other means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If + * an orphaned task on your container instance is part of an Amazon ECS service, then the + * service scheduler starts another copy of that task, on a different container instance if + * possible.

                                        + *

                                        Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer + * target group are deregistered. They begin connection draining according to the settings + * on the load balancer or target group.

                                        */ force?: boolean; } @@ -2822,40 +2833,40 @@ export namespace DeregisterContainerInstanceRequest { */ export interface Resource { /** - *

                                        The name of the resource, such as CPU, MEMORY, - * PORTS, PORTS_UDP, or a user-defined resource.

                                        - */ - name?: string; - - /** - *

                                        When the integerValue type is set, the value of the resource must be an - * integer.

                                        + *

                                        When the doubleValue type is set, the value of the resource must be a + * double precision floating-point type.

                                        */ - integerValue?: number; + doubleValue?: number; /** - *

                                        When the doubleValue type is set, the value of the resource must be a - * double precision floating-point type.

                                        + *

                                        The name of the resource, such as CPU, MEMORY, + * PORTS, PORTS_UDP, or a user-defined resource.

                                        */ - doubleValue?: number; + name?: string; /** - *

                                        The type of the resource, such as INTEGER, DOUBLE, - * LONG, or STRINGSET.

                                        + *

                                        When the integerValue type is set, the value of the resource must be an + * integer.

                                        */ - type?: string; + integerValue?: number; /** *

                                        When the stringSetValue type is set, the value of the resource must be a - * string type.

                                        + * string type.

                                        */ stringSetValue?: string[]; /** *

                                        When the longValue type is set, the value of the resource must be an - * extended precision floating-point type.

                                        + * extended precision floating-point type.

                                        */ longValue?: number; + + /** + *

                                        The type of the resource, such as INTEGER, DOUBLE, + * LONG, or STRINGSET.

                                        + */ + type?: string; } export namespace Resource { @@ -2866,7 +2877,7 @@ export namespace Resource { /** *

                                        The Docker and Amazon ECS container agent version information about a container - * instance.

                                        + * instance.

                                        */ export interface VersionInfo { /** @@ -2876,7 +2887,7 @@ export interface VersionInfo { /** *

                                        The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent - * GitHub repository.

                                        + * GitHub repository.

                                        */ agentHash?: string; @@ -2894,45 +2905,34 @@ export namespace VersionInfo { /** *

                                        An EC2 instance that is running the Amazon ECS agent and has been registered with a - * cluster.

                                        + * cluster.

                                        */ export interface ContainerInstance { /** - *

                                        The status of the container instance. The valid values are REGISTERING, - * REGISTRATION_FAILED, ACTIVE, INACTIVE, - * DEREGISTERING, or DRAINING.

                                        - *

                                        If your account has opted in to the awsvpcTrunking account setting, then - * any newly registered container instance will transition to a REGISTERING - * status while the trunk elastic network interface is provisioned for the instance. If the - * registration fails, the instance will transition to a REGISTRATION_FAILED - * status. You can describe the container instance and see the reason for failure in the - * statusReason parameter. Once the container instance is terminated, the - * instance transitions to a DEREGISTERING status while the trunk elastic - * network interface is deprovisioned. The instance then transitions to an - * INACTIVE status.

                                        - *

                                        The ACTIVE status indicates that the container instance can accept tasks. - * The DRAINING indicates that new tasks are not placed on the container - * instance and any service tasks running on the container instance are removed if - * possible. For more information, see Container Instance Draining in the - * Amazon Elastic Container Service Developer Guide.

                                        + *

                                        For CPU and memory resource types, this parameter describes the amount of each + * resource that was available on the container instance when the container agent + * registered it with Amazon ECS. This value represents the total amount of CPU and memory that + * can be allocated on this container instance to tasks. For port resource types, this + * parameter describes the ports that were reserved by the Amazon ECS container agent when it + * registered the container instance with Amazon ECS.

                                        */ - status?: string; + registeredResources?: Resource[]; /** *

                                        For CPU and memory resource types, this parameter describes the remaining CPU and - * memory that has not already been allocated to tasks and is therefore available for new - * tasks. For port resource types, this parameter describes the ports that were reserved by - * the Amazon ECS container agent (at instance registration time) and any task containers that - * have reserved port mappings on the host (with the host or - * bridge network mode). Any port that is not specified here is available - * for new tasks.

                                        + * memory that has not already been allocated to tasks and is therefore available for new + * tasks. For port resource types, this parameter describes the ports that were reserved by + * the Amazon ECS container agent (at instance registration time) and any task containers that + * have reserved port mappings on the host (with the host or + * bridge network mode). Any port that is not specified here is available + * for new tasks.

                                        */ remainingResources?: Resource[]; /** *

                                        The metadata that you apply to the container instance to help you categorize and - * organize them. Each tag consists of a key and an optional value, both of which you - * define.

                                        + * organize them. Each tag consists of a key and an optional value, both of which you + * define.

                                        *

                                        The following basic restrictions apply to tags:

                                        *
                                          *
                                        • @@ -2967,6 +2967,32 @@ export interface ContainerInstance { */ tags?: Tag[]; + /** + *

                                          The status of the container instance. The valid values are REGISTERING, + * REGISTRATION_FAILED, ACTIVE, INACTIVE, + * DEREGISTERING, or DRAINING.

                                          + *

                                          If your account has opted in to the awsvpcTrunking account setting, then + * any newly registered container instance will transition to a REGISTERING + * status while the trunk elastic network interface is provisioned for the instance. If the + * registration fails, the instance will transition to a REGISTRATION_FAILED + * status. You can describe the container instance and see the reason for failure in the + * statusReason parameter. Once the container instance is terminated, the + * instance transitions to a DEREGISTERING status while the trunk elastic + * network interface is deprovisioned. The instance then transitions to an + * INACTIVE status.

                                          + *

                                          The ACTIVE status indicates that the container instance can accept tasks. + * The DRAINING indicates that new tasks are not placed on the container + * instance and any service tasks running on the container instance are removed if + * possible. For more information, see Container Instance Draining in the + * Amazon Elastic Container Service Developer Guide.

                                          + */ + status?: string; + + /** + *

                                          The EC2 instance ID of the container instance.

                                          + */ + ec2InstanceId?: string; + /** *

                                          The capacity provider associated with the container instance.

                                          */ @@ -2974,12 +3000,12 @@ export interface ContainerInstance { /** *

                                          The version counter for the container instance. Every time a container instance - * experiences a change that triggers a CloudWatch event, the version counter is - * incremented. If you are replicating your Amazon ECS container instance state with CloudWatch - * Events, you can compare the version of a container instance reported by the Amazon ECS APIs - * with the version reported in CloudWatch Events for the container instance (inside the - * detail object) to verify that the version in your event stream is - * current.

                                          + * experiences a change that triggers a CloudWatch event, the version counter is + * incremented. If you are replicating your Amazon ECS container instance state with CloudWatch + * Events, you can compare the version of a container instance reported by the Amazon ECS APIs + * with the version reported in CloudWatch Events for the container instance (inside the + * detail object) to verify that the version in your event stream is + * current.

                                          */ version?: number; @@ -2989,74 +3015,59 @@ export interface ContainerInstance { containerInstanceArn?: string; /** - *

                                          The resources attached to a container instance, such as elastic network - * interfaces.

                                          + *

                                          The number of tasks on the container instance that are in the PENDING + * status.

                                          */ - attachments?: Attachment[]; + pendingTasksCount?: number; /** *

                                          The status of the most recent agent update. If an update has never been requested, - * this value is NULL.

                                          + * this value is NULL.

                                          */ agentUpdateStatus?: AgentUpdateStatus | string; /** - *

                                          The number of tasks on the container instance that are in the PENDING - * status.

                                          + *

                                          The resources attached to a container instance, such as elastic network + * interfaces.

                                          */ - pendingTasksCount?: number; + attachments?: Attachment[]; /** - *

                                          The EC2 instance ID of the container instance.

                                          + *

                                          The attributes set for the container instance, either by the Amazon ECS container agent at + * instance registration or manually with the PutAttributes + * operation.

                                          */ - ec2InstanceId?: string; + attributes?: Attribute[]; /** *

                                          The number of tasks on the container instance that are in the RUNNING - * status.

                                          + * status.

                                          */ runningTasksCount?: number; /** - *

                                          For CPU and memory resource types, this parameter describes the amount of each - * resource that was available on the container instance when the container agent - * registered it with Amazon ECS. This value represents the total amount of CPU and memory that - * can be allocated on this container instance to tasks. For port resource types, this - * parameter describes the ports that were reserved by the Amazon ECS container agent when it - * registered the container instance with Amazon ECS.

                                          - */ - registeredResources?: Resource[]; - - /** - *

                                          The attributes set for the container instance, either by the Amazon ECS container agent at - * instance registration or manually with the PutAttributes - * operation.

                                          - */ - attributes?: Attribute[]; - - /** - *

                                          This parameter returns true if the agent is connected to Amazon ECS. - * Registered instances with an agent that may be unhealthy or stopped return - * false. Only instances connected to an agent can accept placement - * requests.

                                          + *

                                          The reason that the container instance reached its current status.

                                          */ - agentConnected?: boolean; + statusReason?: string; /** - *

                                          The reason that the container instance reached its current status.

                                          + *

                                          The Unix timestamp for when the container instance was registered.

                                          */ - statusReason?: string; + registeredAt?: Date; /** *

                                          The version information for the Amazon ECS container agent and Docker daemon running on the - * container instance.

                                          + * container instance.

                                          */ versionInfo?: VersionInfo; /** - *

                                          The Unix timestamp for when the container instance was registered.

                                          + *

                                          This parameter returns true if the agent is connected to Amazon ECS. + * Registered instances with an agent that may be unhealthy or stopped return + * false. Only instances connected to an agent can accept placement + * requests.

                                          */ - registeredAt?: Date; + agentConnected?: boolean; } export namespace ContainerInstance { @@ -3081,8 +3092,8 @@ export namespace DeregisterContainerInstanceResponse { export interface DeregisterTaskDefinitionRequest { /** *

                                          The family and revision (family:revision) or - * full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a - * revision.

                                          + * full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a + * revision.

                                          */ taskDefinition: string | undefined; } @@ -3107,53 +3118,54 @@ export enum ContainerCondition { /** *

                                          The dependencies defined for container startup and shutdown. A container can contain - * multiple dependencies. When a dependency is defined for container startup, for container - * shutdown it is reversed.

                                          - *

                                          Your Amazon ECS container instances require at least version 1.26.0 of the container agent - * to enable container dependencies. However, we recommend using the latest container agent - * version. For information about checking your agent version and updating to the latest - * version, see Updating the Amazon ECS - * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are - * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the - * ecs-init package. If your container instances are launched from version - * 20190301 or later, then they contain the required versions of the - * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                          - * - *

                                          For tasks using the Fargate launch type, this parameter requires - * that the task or service uses platform version 1.3.0 or later.

                                          - *
                                          + * multiple dependencies. When a dependency is defined for container startup, for container + * shutdown it is reversed.

                                          + *

                                          Your Amazon ECS container instances require at least version 1.26.0 of the container agent + * to enable container dependencies. However, we recommend using the latest container agent + * version. For information about checking your agent version and updating to the latest + * version, see Updating the Amazon ECS + * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are + * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the + * ecs-init package. If your container instances are launched from version + * 20190301 or later, then they contain the required versions of the + * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                          + * + *

                                          For tasks using the Fargate launch type, this parameter requires + * that the task or service uses platform version 1.3.0 or later.

                                          + *
                                          */ export interface ContainerDependency { /** *

                                          The dependency condition of the container. The following are the available conditions - * and their behavior:

                                          - *
                                            + * and their behavior:

                                            + *
                                              *
                                            • - *

                                              + *

                                              * START - This condition emulates the behavior of links and - * volumes today. It validates that a dependent container is started before - * permitting other containers to start.

                                              - *
                                            • + * volumes today. It validates that a dependent container is started before + * permitting other containers to start.

                                              + * *
                                            • - *

                                              + *

                                              * COMPLETE - This condition validates that a dependent - * container runs to completion (exits) before permitting other containers to - * start. This can be useful for nonessential containers that run a script and then - * exit.

                                              - *
                                            • + * container runs to completion (exits) before permitting other containers to + * start. This can be useful for nonessential containers that run a script and then + * exit. This condition cannot be set on an essential container.

                                              + * *
                                            • - *

                                              + *

                                              * SUCCESS - This condition is the same as - * COMPLETE, but it also requires that the container exits with a - * zero status.

                                              - *
                                            • + * COMPLETE, but it also requires that the container exits with a + * zero status. This condition cannot be set on an essential + * container.

                                              + * *
                                            • - *

                                              + *

                                              * HEALTHY - This condition validates that the dependent - * container passes its Docker health check before permitting other containers to - * start. This requires that the dependent container has health checks configured. - * This condition is confirmed only at task startup.

                                              - *
                                            • + * container passes its Docker health check before permitting other containers to + * start. This requires that the dependent container has health checks configured. + * This condition is confirmed only at task startup.

                                              + * *
                                            */ condition: ContainerCondition | string | undefined; @@ -3176,32 +3188,32 @@ export enum EnvironmentFileType { /** *

                                            A list of files containing the environment variables to pass to a container. You can - * specify up to ten environment files. The file must have a .env file - * extension. Each line in an environment file should contain an environment variable in - * VARIABLE=VALUE format. Lines beginning with # are treated - * as comments and are ignored. For more information on the environment variable file - * syntax, see Declare default - * environment variables in file.

                                            - *

                                            If there are environment variables specified using the environment - * parameter in a container definition, they take precedence over the variables contained - * within an environment file. If multiple environment files are specified that contain the - * same variable, they are processed from the top down. It is recommended to use unique - * variable names. For more information, see Specifying Environment - * Variables in the Amazon Elastic Container Service Developer Guide.

                                            - *

                                            This field is not valid for containers in tasks using the Fargate launch - * type.

                                            + * specify up to ten environment files. The file must have a .env file + * extension. Each line in an environment file should contain an environment variable in + * VARIABLE=VALUE format. Lines beginning with # are treated + * as comments and are ignored. For more information on the environment variable file + * syntax, see Declare default + * environment variables in file.

                                            + *

                                            If there are environment variables specified using the environment + * parameter in a container definition, they take precedence over the variables contained + * within an environment file. If multiple environment files are specified that contain the + * same variable, they are processed from the top down. It is recommended to use unique + * variable names. For more information, see Specifying Environment + * Variables in the Amazon Elastic Container Service Developer Guide.

                                            + *

                                            This field is not valid for containers in tasks using the Fargate launch + * type.

                                            */ export interface EnvironmentFile { /** - *

                                            The file type to use. The only supported value is s3.

                                            + *

                                            The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment + * variable file.

                                            */ - type: EnvironmentFileType | string | undefined; + value: string | undefined; /** - *

                                            The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment - * variable file.

                                            + *

                                            The file type to use. The only supported value is s3.

                                            */ - value: string | undefined; + type: EnvironmentFileType | string | undefined; } export namespace EnvironmentFile { @@ -3212,7 +3224,7 @@ export namespace EnvironmentFile { /** *

                                            Hostnames and IP address entries that are added to the /etc/hosts file of - * a container via the extraHosts parameter of its ContainerDefinition.

                                            + * a container via the extraHosts parameter of its ContainerDefinition.

                                            */ export interface HostEntry { /** @@ -3239,25 +3251,25 @@ export enum FirelensConfigurationType { /** *

                                            The FireLens configuration for the container. This is used to specify and configure a - * log router for container logs. For more information, see Custom Log Routing - * in the Amazon Elastic Container Service Developer Guide.

                                            + * log router for container logs. For more information, see Custom Log Routing + * in the Amazon Elastic Container Service Developer Guide.

                                            */ export interface FirelensConfiguration { /** *

                                            The log router to use. The valid values are fluentd or - * fluentbit.

                                            + * fluentbit.

                                            */ type: FirelensConfigurationType | string | undefined; /** *

                                            The options to use when configuring the log router. This field is optional and can be - * used to specify a custom configuration file or to add additional metadata, such as the - * task, task definition, cluster, and container instance details to the log event. If - * specified, the syntax to use is - * "options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}. - * For more information, see Creating - * a Task Definition that Uses a FireLens Configuration in the - * Amazon Elastic Container Service Developer Guide.

                                            + * used to specify a custom configuration file or to add additional metadata, such as the + * task, task definition, cluster, and container instance details to the log event. If + * specified, the syntax to use is + * "options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}. + * For more information, see Creating + * a Task Definition that Uses a FireLens Configuration in the + * Amazon Elastic Container Service Developer Guide.

                                            */ options?: { [key: string]: string }; } @@ -3270,117 +3282,117 @@ export namespace FirelensConfiguration { /** *

                                            An object representing a container health check. Health check parameters that are - * specified in a container definition override any Docker health checks that exist in the - * container image (such as those specified in a parent image or from the image's - * Dockerfile).

                                            - *

                                            You can view the health status of both individual containers and a task with the - * DescribeTasks API operation or when viewing the task details in the console.

                                            - *

                                            The following describes the possible healthStatus values for a - * container:

                                            - *
                                              + * specified in a container definition override any Docker health checks that exist in the + * container image (such as those specified in a parent image or from the image's + * Dockerfile).

                                              + *

                                              You can view the health status of both individual containers and a task with the + * DescribeTasks API operation or when viewing the task details in the console.

                                              + *

                                              The following describes the possible healthStatus values for a + * container:

                                              + *
                                                *
                                              • - *

                                                + *

                                                * HEALTHY-The container health check has passed - * successfully.

                                                - *
                                              • + * successfully.

                                                + * *
                                              • - *

                                                + *

                                                * UNHEALTHY-The container health check has failed.

                                                - *
                                              • + * *
                                              • - *

                                                + *

                                                * UNKNOWN-The container health check is being evaluated or - * there is no container health check defined.

                                                - *
                                              • + * there is no container health check defined.

                                                + * *
                                              - *

                                              The following describes the possible healthStatus values for a task. The - * container health check status of nonessential containers do not have an effect on the - * health status of a task.

                                              - *
                                                + *

                                                The following describes the possible healthStatus values for a task. The + * container health check status of nonessential containers do not have an effect on the + * health status of a task.

                                                + *
                                                  *
                                                • - *

                                                  + *

                                                  * HEALTHY-All essential containers within the task have - * passed their health checks.

                                                  - *
                                                • + * passed their health checks.

                                                  + * *
                                                • - *

                                                  + *

                                                  * UNHEALTHY-One or more essential containers have failed - * their health check.

                                                  - *
                                                • + * their health check.

                                                  + * *
                                                • - *

                                                  + *

                                                  * UNKNOWN-The essential containers within the task are still - * having their health checks evaluated or there are no container health checks - * defined.

                                                  - *
                                                • + * having their health checks evaluated or there are no container health checks + * defined.

                                                  + * *
                                                - *

                                                If a task is run manually, and not as part of a service, the task will continue its - * lifecycle regardless of its health status. For tasks that are part of a service, if the - * task reports as unhealthy then the task will be stopped and the service scheduler will - * replace it.

                                                - *

                                                The following are notes about container health check support:

                                                - *
                                                  + *

                                                  If a task is run manually, and not as part of a service, the task will continue its + * lifecycle regardless of its health status. For tasks that are part of a service, if the + * task reports as unhealthy then the task will be stopped and the service scheduler will + * replace it.

                                                  + *

                                                  The following are notes about container health check support:

                                                  + *
                                                    *
                                                  • - *

                                                    Container health checks require version 1.17.0 or greater of the Amazon ECS - * container agent. For more information, see Updating the - * Amazon ECS Container Agent.

                                                    - *
                                                  • + *

                                                    Container health checks require version 1.17.0 or greater of the Amazon ECS + * container agent. For more information, see Updating the + * Amazon ECS Container Agent.

                                                    + * *
                                                  • - *

                                                    Container health checks are supported for Fargate tasks if you - * are using platform version 1.1.0 or greater. For more information, see AWS Fargate - * Platform Versions.

                                                    - *
                                                  • + *

                                                    Container health checks are supported for Fargate tasks if you + * are using platform version 1.1.0 or greater. For more information, see AWS Fargate + * Platform Versions.

                                                    + * *
                                                  • - *

                                                    Container health checks are not supported for tasks that are part of a service - * that is configured to use a Classic Load Balancer.

                                                    - *
                                                  • + *

                                                    Container health checks are not supported for tasks that are part of a service + * that is configured to use a Classic Load Balancer.

                                                    + * *
                                                  */ export interface HealthCheck { /** - *

                                                  The optional grace period within which to provide containers time to bootstrap before - * failed health checks count towards the maximum number of retries. You may specify - * between 0 and 300 seconds. The startPeriod is disabled by default.

                                                  - * - *

                                                  If a health check succeeds within the startPeriod, then the container - * is considered healthy and any subsequent failures count toward the maximum number of - * retries.

                                                  - *
                                                  + *

                                                  The number of times to retry a failed health check before the container is considered + * unhealthy. You may specify between 1 and 10 retries. The default value is 3.

                                                  */ - startPeriod?: number; + retries?: number; /** *

                                                  The time period in seconds to wait for a health check to succeed before it is - * considered a failure. You may specify between 2 and 60 seconds. The default value is - * 5.

                                                  + * considered a failure. You may specify between 2 and 60 seconds. The default value is + * 5.

                                                  */ timeout?: number; + /** + *

                                                  The optional grace period within which to provide containers time to bootstrap before + * failed health checks count towards the maximum number of retries. You may specify + * between 0 and 300 seconds. The startPeriod is disabled by default.

                                                  + * + *

                                                  If a health check succeeds within the startPeriod, then the container + * is considered healthy and any subsequent failures count toward the maximum number of + * retries.

                                                  + *
                                                  + */ + startPeriod?: number; + /** *

                                                  The time period in seconds between each health check execution. You may specify - * between 5 and 300 seconds. The default value is 30 seconds.

                                                  + * between 5 and 300 seconds. The default value is 30 seconds.

                                                  */ interval?: number; /** *

                                                  A string array representing the command that the container runs to determine if it is - * healthy. The string array must start with CMD to execute the command - * arguments directly, or CMD-SHELL to run the command with the container's - * default shell. For example:

                                                  - *

                                                  - * [ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ] - *

                                                  - *

                                                  An exit code of 0 indicates success, and non-zero exit code indicates failure. For - * more information, see HealthCheck in the Create a container - * section of the Docker Remote API.

                                                  + * healthy. The string array must start with CMD to execute the command + * arguments directly, or CMD-SHELL to run the command with the container's + * default shell. For example:

                                                  + *

                                                  + * [ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ] + *

                                                  + *

                                                  An exit code of 0 indicates success, and non-zero exit code indicates failure. For + * more information, see HealthCheck in the Create a container + * section of the Docker Remote API.

                                                  */ command: string[] | undefined; - - /** - *

                                                  The number of times to retry a failed health check before the container is considered - * unhealthy. You may specify between 1 and 10 retries. The default value is 3.

                                                  - */ - retries?: number; } export namespace HealthCheck { @@ -3391,49 +3403,48 @@ export namespace HealthCheck { /** *

                                                  The Linux capabilities for the container that are added to or dropped from the default - * configuration provided by Docker. For more information on the default capabilities and - * the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run - * reference. For more detailed information on these Linux capabilities, see - * the capabilities(7) Linux manual page.

                                                  + * configuration provided by Docker. For more information on the default capabilities and + * the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run + * reference. For more detailed information on these Linux capabilities, see + * the capabilities(7) Linux manual page.

                                                  */ export interface KernelCapabilities { /** *

                                                  The Linux capabilities for the container that have been added to the default - * configuration provided by Docker. This parameter maps to CapAdd in the - * Create a container section of the Docker Remote API and the - * --cap-add option to docker - * run.

                                                  - * - *

                                                  The SYS_PTRACE capability is supported for tasks that use the - * Fargate launch type if they are also using platform version 1.4.0. The - * other capabilities are not supported for any platform versions.

                                                  - *
                                                  - *

                                                  Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | - * "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | - * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | - * "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" - * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | - * "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | - * "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | - * "WAKE_ALARM" + * configuration provided by Docker. This parameter maps to CapAdd in the + * Create a container section of the Docker Remote API and the + * --cap-add option to docker + * run.

                                                  + * + *

                                                  Tasks launched on AWS Fargate only support adding the SYS_PTRACE kernel + * capability.

                                                  + *
                                                  + *

                                                  Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | + * "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | + * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | + * "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" + * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | + * "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | + * "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | + * "WAKE_ALARM" *

                                                  */ add?: string[]; /** *

                                                  The Linux capabilities for the container that have been removed from the default - * configuration provided by Docker. This parameter maps to CapDrop in the - * Create a container section of the Docker Remote API and the - * --cap-drop option to docker - * run.

                                                  - *

                                                  Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | - * "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | - * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | - * "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" - * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | - * "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | - * "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | - * "WAKE_ALARM" + * configuration provided by Docker. This parameter maps to CapDrop in the + * Create a container section of the Docker Remote API and the + * --cap-drop option to docker + * run.

                                                  + *

                                                  Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | + * "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | + * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | + * "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" + * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | + * "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | + * "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | + * "WAKE_ALARM" *

                                                  */ drop?: string[]; @@ -3457,8 +3468,8 @@ export enum DeviceCgroupPermission { export interface Device { /** *

                                                  The explicit permissions to provide to the container for the device. By default, the - * container has permissions for read, write, and - * mknod for the device.

                                                  + * container has permissions for read, write, and + * mknod for the device.

                                                  */ permissions?: (DeviceCgroupPermission | string)[]; @@ -3484,26 +3495,26 @@ export namespace Device { */ export interface Tmpfs { /** - *

                                                  The size (in MiB) of the tmpfs volume.

                                                  + *

                                                  The list of tmpfs volume mount options.

                                                  + *

                                                  Valid values: "defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | + * "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | + * "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | + * "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | + * "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" + * | "nr_inodes" | "nr_blocks" | "mpol" + *

                                                  */ - size: number | undefined; + mountOptions?: string[]; /** - *

                                                  The absolute file path where the tmpfs volume is to be mounted.

                                                  + *

                                                  The maximum size (in MiB) of the tmpfs volume.

                                                  */ - containerPath: string | undefined; + size: number | undefined; /** - *

                                                  The list of tmpfs volume mount options.

                                                  - *

                                                  Valid values: "defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | - * "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | - * "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | - * "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | - * "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" - * | "nr_inodes" | "nr_blocks" | "mpol" - *

                                                  + *

                                                  The absolute file path where the tmpfs volume is to be mounted.

                                                  */ - mountOptions?: string[]; + containerPath: string | undefined; } export namespace Tmpfs { @@ -3517,87 +3528,87 @@ export namespace Tmpfs { */ export interface LinuxParameters { /** - *

                                                  Any host devices to expose to the container. This parameter maps to - * Devices in the Create a container section of the - * Docker Remote API and the --device option to docker run.

                                                  - * - *

                                                  If you are using tasks that use the Fargate launch type, the - * devices parameter is not supported.

                                                  - *
                                                  - */ - devices?: Device[]; - - /** - *

                                                  The total amount of swap memory (in MiB) a container can use. This parameter will be - * translated to the --memory-swap option to docker run where the value would be the sum of - * the container memory plus the maxSwap value.

                                                  - *

                                                  If a maxSwap value of 0 is specified, the container will not - * use swap. Accepted values are 0 or any positive integer. If the - * maxSwap parameter is omitted, the container will use the swap - * configuration for the container instance it is running on. A maxSwap value - * must be set for the swappiness parameter to be used.

                                                  - * - *

                                                  If you are using tasks that use the Fargate launch type, the - * maxSwap parameter is not supported.

                                                  - *
                                                  + *

                                                  The container path, mount options, and size (in MiB) of the tmpfs mount. This + * parameter maps to the --tmpfs option to docker run.

                                                  + * + *

                                                  If you are using tasks that use the Fargate launch type, the + * tmpfs parameter is not supported.

                                                  + *
                                                  */ - maxSwap?: number; + tmpfs?: Tmpfs[]; /** *

                                                  The Linux capabilities for the container that are added to or dropped from the default - * configuration provided by Docker.

                                                  - * - *

                                                  For tasks that use the Fargate launch type, - * capabilities is supported for all platform versions but the - * add parameter is only supported if using platform version 1.4.0 or - * later.

                                                  - *
                                                  + * configuration provided by Docker.

                                                  + * + *

                                                  For tasks that use the Fargate launch type, + * capabilities is supported for all platform versions but the + * add parameter is only supported if using platform version 1.4.0 or + * later.

                                                  + *
                                                  */ capabilities?: KernelCapabilities; /** *

                                                  Run an init process inside the container that forwards signals and reaps - * processes. This parameter maps to the --init option to docker run. This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' + * processes. This parameter maps to the --init option to docker run. This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' *

                                                  */ initProcessEnabled?: boolean; /** - *

                                                  The container path, mount options, and size (in MiB) of the tmpfs mount. This - * parameter maps to the --tmpfs option to docker run.

                                                  - * - *

                                                  If you are using tasks that use the Fargate launch type, the - * tmpfs parameter is not supported.

                                                  - *
                                                  + *

                                                  The value for the size (in MiB) of the /dev/shm volume. This parameter + * maps to the --shm-size option to docker + * run.

                                                  + * + *

                                                  If you are using tasks that use the Fargate launch type, the + * sharedMemorySize parameter is not supported.

                                                  + *
                                                  */ - tmpfs?: Tmpfs[]; + sharedMemorySize?: number; + + /** + *

                                                  The total amount of swap memory (in MiB) a container can use. This parameter will be + * translated to the --memory-swap option to docker run where the value would be the sum of + * the container memory plus the maxSwap value.

                                                  + *

                                                  If a maxSwap value of 0 is specified, the container will not + * use swap. Accepted values are 0 or any positive integer. If the + * maxSwap parameter is omitted, the container will use the swap + * configuration for the container instance it is running on. A maxSwap value + * must be set for the swappiness parameter to be used.

                                                  + * + *

                                                  If you are using tasks that use the Fargate launch type, the + * maxSwap parameter is not supported.

                                                  + *
                                                  + */ + maxSwap?: number; /** *

                                                  This allows you to tune a container's memory swappiness behavior. A - * swappiness value of 0 will cause swapping to not happen - * unless absolutely necessary. A swappiness value of 100 will - * cause pages to be swapped very aggressively. Accepted values are whole numbers between - * 0 and 100. If the swappiness parameter is not - * specified, a default value of 60 is used. If a value is not specified for - * maxSwap then this parameter is ignored. This parameter maps to the - * --memory-swappiness option to docker run.

                                                  - * - *

                                                  If you are using tasks that use the Fargate launch type, the - * swappiness parameter is not supported.

                                                  - *
                                                  + * swappiness value of 0 will cause swapping to not happen + * unless absolutely necessary. A swappiness value of 100 will + * cause pages to be swapped very aggressively. Accepted values are whole numbers between + * 0 and 100. If the swappiness parameter is not + * specified, a default value of 60 is used. If a value is not specified for + * maxSwap then this parameter is ignored. This parameter maps to the + * --memory-swappiness option to docker run.

                                                  + * + *

                                                  If you are using tasks that use the Fargate launch type, the + * swappiness parameter is not supported.

                                                  + *
                                                  */ swappiness?: number; /** - *

                                                  The value for the size (in MiB) of the /dev/shm volume. This parameter - * maps to the --shm-size option to docker - * run.

                                                  - * - *

                                                  If you are using tasks that use the Fargate launch type, the - * sharedMemorySize parameter is not supported.

                                                  - *
                                                  + *

                                                  Any host devices to expose to the container. This parameter maps to + * Devices in the Create a container section of the + * Docker Remote API and the --device option to docker run.

                                                  + * + *

                                                  If you are using tasks that use the Fargate launch type, the + * devices parameter is not supported.

                                                  + *
                                                  */ - sharedMemorySize?: number; + devices?: Device[]; } export namespace LinuxParameters { @@ -3619,19 +3630,19 @@ export enum LogDriver { /** *

                                                  An object representing the secret to expose to your container. Secrets can be exposed - * to a container in the following ways:

                                                  - *
                                                    + * to a container in the following ways:

                                                    + *
                                                      *
                                                    • - *

                                                      To inject sensitive data into your containers as environment variables, use - * the secrets container definition parameter.

                                                      - *
                                                    • + *

                                                      To inject sensitive data into your containers as environment variables, use + * the secrets container definition parameter.

                                                      + * *
                                                    • - *

                                                      To reference sensitive information in the log configuration of a container, - * use the secretOptions container definition parameter.

                                                      - *
                                                    • + *

                                                      To reference sensitive information in the log configuration of a container, + * use the secretOptions container definition parameter.

                                                      + * *
                                                    - *

                                                    For more information, see Specifying - * Sensitive Data in the Amazon Elastic Container Service Developer Guide.

                                                    + *

                                                    For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.

                                                    */ export interface Secret { /** @@ -3641,12 +3652,12 @@ export interface Secret { /** *

                                                    The secret to expose to the container. The supported values are either the full ARN of - * the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.

                                                    - * - *

                                                    If the AWS Systems Manager Parameter Store parameter exists in the same Region as the task you - * are launching, then you can use either the full ARN or name of the parameter. If the - * parameter exists in a different Region, then the full ARN must be specified.

                                                    - *
                                                    + * the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.

                                                    + * + *

                                                    If the AWS Systems Manager Parameter Store parameter exists in the same Region as the task you + * are launching, then you can use either the full ARN or name of the parameter. If the + * parameter exists in a different Region, then the full ARN must be specified.

                                                    + *
                                                    */ valueFrom: string | undefined; } @@ -3658,70 +3669,66 @@ export namespace Secret { } /** - *

                                                    The log configuration specification for the container.

                                                    - *

                                                    This parameter maps to LogConfig in the - * Create a container section of the Docker Remote API and the - * --log-driver option to + *

                                                    The log configuration for the container. This parameter maps to LogConfig + * in the Create a container section of the Docker Remote API and the + * --log-driver option to * docker - * run - * . By default, containers use the same logging driver that the - * Docker daemon uses; however the container may use a different logging driver than the - * Docker daemon by specifying a log driver with this parameter in the container - * definition. To use a different logging driver for a container, the log system must be - * configured properly on the container instance (or on a different log server for remote - * logging options). For more information on the options for different supported log - * drivers, see Configure logging drivers in the Docker documentation.

                                                    - *

                                                    The following should be noted when specifying a log configuration for your - * containers:

                                                    - *
                                                      + * run + * .

                                                      + *

                                                      By default, containers use the same logging driver that the Docker daemon uses; + * however the container may use a different logging driver than the Docker daemon by + * specifying a log driver configuration in the container definition. For more information + * on the options for different supported log drivers, see Configure logging + * drivers in the Docker documentation.

                                                      + *

                                                      The following should be noted when specifying a log configuration for your + * containers:

                                                      + *
                                                        *
                                                      • - *

                                                        Amazon ECS currently supports a subset of the logging drivers available to the - * Docker daemon (shown in the valid values below). Additional log drivers may be - * available in future releases of the Amazon ECS container agent.

                                                        - *
                                                      • + *

                                                        Amazon ECS currently supports a subset of the logging drivers available to the + * Docker daemon (shown in the valid values below). Additional log drivers may be + * available in future releases of the Amazon ECS container agent.

                                                        + * *
                                                      • - *

                                                        This parameter requires version 1.18 of the Docker Remote API or greater on - * your container instance.

                                                        - *
                                                      • + *

                                                        This parameter requires version 1.18 of the Docker Remote API or greater on + * your container instance.

                                                        + * *
                                                      • - *

                                                        For tasks using the EC2 launch type, the Amazon ECS container agent - * running on a container instance must register the logging drivers available on - * that instance with the ECS_AVAILABLE_LOGGING_DRIVERS environment - * variable before containers placed on that instance can use these log - * configuration options. For more information, see Amazon ECS Container Agent Configuration in the - * Amazon Elastic Container Service Developer Guide.

                                                        - *
                                                      • + *

                                                        For tasks hosted on Amazon EC2 instances, the Amazon ECS container agent must register + * the available logging drivers with the + * ECS_AVAILABLE_LOGGING_DRIVERS environment variable before + * containers placed on that instance can use these log configuration options. For + * more information, see Amazon ECS container agent configuration in the + * Amazon Elastic Container Service Developer Guide.

                                                        + * *
                                                      • - *

                                                        For tasks using the Fargate launch type, because you do not have - * access to the underlying infrastructure your tasks are hosted on, any additional - * software needed will have to be installed outside of the task. For example, the - * Fluentd output aggregators or a remote host running Logstash to send Gelf logs - * to.

                                                        - *
                                                      • + *

                                                        For tasks on AWS Fargate, because you do not have access to the underlying + * infrastructure your tasks are hosted on, any additional software needed will + * have to be installed outside of the task. For example, the Fluentd output + * aggregators or a remote host running Logstash to send Gelf logs to.

                                                        + * *
                                                      */ export interface LogConfiguration { /** - *

                                                      The log driver to use for the container. The valid values listed earlier are log - * drivers that the Amazon ECS container agent can communicate with by default.

                                                      - *

                                                      For tasks using the Fargate launch type, the supported log drivers are - * awslogs, splunk, and awsfirelens.

                                                      - *

                                                      For tasks using the EC2 launch type, the supported log drivers are - * awslogs, fluentd, gelf, - * json-file, journald, - * logentries,syslog, splunk, and - * awsfirelens.

                                                      - *

                                                      For more information about using the awslogs log driver, see Using - * the awslogs Log Driver in the Amazon Elastic Container Service Developer Guide.

                                                      - *

                                                      For more information about using the awsfirelens log driver, see Custom Log Routing in the Amazon Elastic Container Service Developer Guide.

                                                      - * - *

                                                      If you have a custom driver that is not listed, you can fork the Amazon ECS container - * agent project that is available - * on GitHub and customize it to work with that driver. We encourage you to - * submit pull requests for changes that you would like to have included. However, we - * do not currently provide support for running modified copies of this - * software.

                                                      - *
                                                      + *

                                                      The log driver to use for the container.

                                                      + *

                                                      For tasks on AWS Fargate, the supported log drivers are awslogs, + * splunk, and awsfirelens.

                                                      + *

                                                      For tasks hosted on Amazon EC2 instances, the supported log drivers are + * awslogs, fluentd, gelf, + * json-file, journald, + * logentries,syslog, splunk, and + * awsfirelens.

                                                      + *

                                                      For more information about using the awslogs log driver, see Using + * the awslogs log driver in the Amazon Elastic Container Service Developer Guide.

                                                      + *

                                                      For more information about using the awsfirelens log driver, see Custom log routing in the Amazon Elastic Container Service Developer Guide.

                                                      + * + *

                                                      If you have a custom driver that is not listed, you can fork the Amazon ECS container + * agent project that is available + * on GitHub and customize it to work with that driver. We encourage you to + * submit pull requests for changes that you would like to have included. However, we + * do not currently provide support for running modified copies of this + * software.

                                                      + *
                                                      */ logDriver: LogDriver | string | undefined; @@ -3733,7 +3740,7 @@ export interface LogConfiguration { /** *

                                                      The secrets to pass to the log configuration. For more information, see Specifying - * Sensitive Data in the Amazon Elastic Container Service Developer Guide.

                                                      + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.

                                                      */ secretOptions?: Secret[]; } @@ -3750,8 +3757,8 @@ export namespace LogConfiguration { export interface MountPoint { /** *

                                                      If this value is true, the container has read-only access to the volume. - * If this value is false, then the container can write to the volume. The - * default value is false.

                                                      + * If this value is false, then the container can write to the volume. The + * default value is false.

                                                      */ readOnly?: boolean; @@ -3762,7 +3769,7 @@ export interface MountPoint { /** *

                                                      The name of the volume to mount. Must be a volume name referenced in the - * name parameter of task definition volume.

                                                      + * name parameter of task definition volume.

                                                      */ sourceVolume?: string; } @@ -3780,70 +3787,66 @@ export enum TransportProtocol { /** *

                                                      Port mappings allow containers to access ports on the host container instance to send - * or receive traffic. Port mappings are specified as part of the container - * definition.

                                                      - *

                                                      If you are using containers in a task with the awsvpc or - * host network mode, exposed ports should be specified using - * containerPort. The hostPort can be left blank or it must - * be the same value as the containerPort.

                                                      - *

                                                      After a task reaches the RUNNING status, manual and automatic host and - * container port assignments are visible in the networkBindings section of - * DescribeTasks API responses.

                                                      + * or receive traffic. Port mappings are specified as part of the container + * definition.

                                                      + *

                                                      If you are using containers in a task with the awsvpc or + * host network mode, exposed ports should be specified using + * containerPort. The hostPort can be left blank or it must + * be the same value as the containerPort.

                                                      + *

                                                      After a task reaches the RUNNING status, manual and automatic host and + * container port assignments are visible in the networkBindings section of + * DescribeTasks API responses.

                                                      */ export interface PortMapping { /** *

                                                      The protocol used for the port mapping. Valid values are tcp and - * udp. The default is tcp.

                                                      + * udp. The default is tcp.

                                                      */ protocol?: TransportProtocol | string; /** *

                                                      The port number on the container instance to reserve for your container.

                                                      - *

                                                      If you are using containers in a task with the awsvpc or - * host network mode, the hostPort can either be left blank - * or set to the same value as the containerPort.

                                                      - *

                                                      If you are using containers in a task with the bridge network mode, you - * can specify a non-reserved host port for your container port mapping, or you can omit - * the hostPort (or set it to 0) while specifying a - * containerPort and your container automatically receives a port in the - * ephemeral port range for your container instance operating system and Docker - * version.

                                                      - *

                                                      The default ephemeral port range for Docker version 1.6.0 and later is listed on the - * instance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel - * parameter is unavailable, the default ephemeral port range from 49153 through 65535 is - * used. Do not attempt to specify a host port in the ephemeral port range as these are - * reserved for automatic assignment. In general, ports below 32768 are outside of the - * ephemeral port range.

                                                      - * - *

                                                      The default ephemeral port range from 49153 through 65535 is always used for - * Docker versions before 1.6.0.

                                                      - *
                                                      - *

                                                      The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the - * Amazon ECS container agent ports 51678-51680. Any host port that was previously specified in - * a running task is also reserved while the task is running (after a task stops, the host - * port is released). The current reserved ports are displayed in the - * remainingResources of DescribeContainerInstances - * output. A container instance can have up to 100 reserved ports at a time, including the - * default reserved ports. Automatically assigned ports don't count toward the 100 reserved - * ports limit.

                                                      + *

                                                      If you are using containers in a task with the awsvpc or + * host network mode, the hostPort can either be left blank + * or set to the same value as the containerPort.

                                                      + *

                                                      If you are using containers in a task with the bridge network mode, you + * can specify a non-reserved host port for your container port mapping, or you can omit + * the hostPort (or set it to 0) while specifying a + * containerPort and your container automatically receives a port in the + * ephemeral port range for your container instance operating system and Docker + * version.

                                                      + *

                                                      The default ephemeral port range for Docker version 1.6.0 and later is listed on the + * instance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel + * parameter is unavailable, the default ephemeral port range from 49153 through 65535 is + * used. Do not attempt to specify a host port in the ephemeral port range as these are + * reserved for automatic assignment. In general, ports below 32768 are outside of the + * ephemeral port range.

                                                      + * + *

                                                      The default ephemeral port range from 49153 through 65535 is always used for + * Docker versions before 1.6.0.

                                                      + *
                                                      + *

                                                      The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the + * Amazon ECS container agent ports 51678-51680. Any host port that was previously specified in + * a running task is also reserved while the task is running (after a task stops, the host + * port is released). The current reserved ports are displayed in the + * remainingResources of DescribeContainerInstances + * output. A container instance can have up to 100 reserved ports at a time, including the + * default reserved ports. Automatically assigned ports don't count toward the 100 reserved + * ports limit.

                                                      */ hostPort?: number; /** *

                                                      The port number on the container that is bound to the user-specified or automatically - * assigned host port.

                                                      - *

                                                      If you are using containers in a task with the awsvpc or - * host network mode, exposed ports should be specified using - * containerPort.

                                                      - *

                                                      If you are using containers in a task with the bridge network mode and - * you specify a container port and not a host port, your container automatically receives - * a host port in the ephemeral port range. For more information, see - * hostPort. Port mappings that are automatically assigned in this way do not - * count toward the 100 reserved ports limit of a container instance.

                                                      - * - *

                                                      You cannot expose the same container port for multiple protocols. An error will be - * returned if this is attempted.

                                                      - *
                                                      + * assigned host port.

                                                      + *

                                                      If you are using containers in a task with the awsvpc or + * host network mode, exposed ports should be specified using + * containerPort.

                                                      + *

                                                      If you are using containers in a task with the bridge network mode and + * you specify a container port and not a host port, your container automatically receives + * a host port in the ephemeral port range. For more information, see + * hostPort. Port mappings that are automatically assigned in this way do not + * count toward the 100 reserved ports limit of a container instance.

                                                      */ containerPort?: number; } @@ -3860,13 +3863,13 @@ export namespace PortMapping { export interface RepositoryCredentials { /** *

                                                      The Amazon Resource Name (ARN) of the secret containing the private repository - * credentials.

                                                      - * - *

                                                      When you are using the Amazon ECS API, AWS CLI, or AWS SDK, if the secret exists in the - * same Region as the task that you are launching then you can use either the full ARN - * or the name of the secret. When you are using the AWS Management Console, you must specify the - * full ARN of the secret.

                                                      - *
                                                      + * credentials.

                                                      + * + *

                                                      When you are using the Amazon ECS API, AWS CLI, or AWS SDK, if the secret exists in the + * same Region as the task that you are launching then you can use either the full ARN + * or the name of the secret. When you are using the AWS Management Console, you must specify the + * full ARN of the secret.

                                                      + *
                                                      */ credentialsParameter: string | undefined; } @@ -3884,27 +3887,27 @@ export enum ResourceType { /** *

                                                      The type and amount of a resource to assign to a container. The supported resource - * types are GPUs and Elastic Inference accelerators. For more information, see Working with - * GPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the - * Amazon Elastic Container Service Developer Guide + * types are GPUs and Elastic Inference accelerators. For more information, see Working with + * GPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the + * Amazon Elastic Container Service Developer Guide *

                                                      */ export interface ResourceRequirement { /** *

                                                      The value for the specified resource type.

                                                      - *

                                                      If the GPU type is used, the value is the number of physical - * GPUs the Amazon ECS container agent will reserve for the container. The - * number of GPUs reserved for all containers in a task should not exceed the number of - * available GPUs on the container instance the task is launched on.

                                                      - *

                                                      If the InferenceAccelerator type is used, the value should - * match the deviceName for an InferenceAccelerator - * specified in a task definition.

                                                      + *

                                                      If the GPU type is used, the value is the number of physical + * GPUs the Amazon ECS container agent will reserve for the container. The + * number of GPUs reserved for all containers in a task should not exceed the number of + * available GPUs on the container instance the task is launched on.

                                                      + *

                                                      If the InferenceAccelerator type is used, the value should + * match the deviceName for an InferenceAccelerator + * specified in a task definition.

                                                      */ value: string | undefined; /** *

                                                      The type of resource to assign to a container. The supported values are - * GPU or InferenceAccelerator.

                                                      + * GPU or InferenceAccelerator.

                                                      */ type: ResourceType | string | undefined; } @@ -3917,39 +3920,39 @@ export namespace ResourceRequirement { /** *

                                                      A list of namespaced kernel parameters to set in the container. This parameter maps to - * Sysctls in the Create a container section of the - * Docker Remote API and the --sysctl option to docker run.

                                                      - *

                                                      It is not recommended that you specify network-related systemControls - * parameters for multiple containers in a single task that also uses either the - * awsvpc or host network mode for the following - * reasons:

                                                      - *
                                                        + * Sysctls in the Create a container section of the + * Docker Remote API and the --sysctl option to docker run.

                                                        + *

                                                        It is not recommended that you specify network-related systemControls + * parameters for multiple containers in a single task that also uses either the + * awsvpc or host network mode for the following + * reasons:

                                                        + *
                                                          *
                                                        • - *

                                                          For tasks that use the awsvpc network mode, if you set - * systemControls for any container, it applies to all containers - * in the task. If you set different systemControls for multiple - * containers in a single task, the container that is started last determines which - * systemControls take effect.

                                                          - *
                                                        • + *

                                                          For tasks that use the awsvpc network mode, if you set + * systemControls for any container, it applies to all containers + * in the task. If you set different systemControls for multiple + * containers in a single task, the container that is started last determines which + * systemControls take effect.

                                                          + * *
                                                        • - *

                                                          For tasks that use the host network mode, the - * systemControls parameter applies to the container instance's - * kernel parameter as well as that of all containers of any tasks running on that - * container instance.

                                                          - *
                                                        • + *

                                                          For tasks that use the host network mode, the + * systemControls parameter applies to the container instance's + * kernel parameter as well as that of all containers of any tasks running on that + * container instance.

                                                          + * *
                                                        */ export interface SystemControl { /** - *

                                                        The value for the namespaced kernel parameter specified in - * namespace.

                                                        + *

                                                        The namespaced kernel parameter for which to set a value.

                                                        */ - value?: string; + namespace?: string; /** - *

                                                        The namespaced kernel parameter for which to set a value.

                                                        + *

                                                        The value for the namespaced kernel parameter specified in + * namespace.

                                                        */ - namespace?: string; + value?: string; } export namespace SystemControl { @@ -3981,14 +3984,14 @@ export enum UlimitName { */ export interface Ulimit { /** - *

                                                        The hard limit for the ulimit type.

                                                        + *

                                                        The type of the ulimit.

                                                        */ - hardLimit: number | undefined; + name: UlimitName | string | undefined; /** - *

                                                        The type of the ulimit.

                                                        + *

                                                        The hard limit for the ulimit type.

                                                        */ - name: UlimitName | string | undefined; + hardLimit: number | undefined; /** *

                                                        The soft limit for the ulimit type.

                                                        @@ -4007,17 +4010,17 @@ export namespace Ulimit { */ export interface VolumeFrom { /** - *

                                                        The name of another container within the same task definition from which to mount - * volumes.

                                                        + *

                                                        If this value is true, the container has read-only access to the volume. + * If this value is false, then the container can write to the volume. The + * default value is false.

                                                        */ - sourceContainer?: string; + readOnly?: boolean; /** - *

                                                        If this value is true, the container has read-only access to the volume. - * If this value is false, then the container can write to the volume. The - * default value is false.

                                                        + *

                                                        The name of another container within the same task definition from which to mount + * volumes.

                                                        */ - readOnly?: boolean; + sourceContainer?: string; } export namespace VolumeFrom { @@ -4028,639 +4031,642 @@ export namespace VolumeFrom { /** *

                                                        Container definitions are used in task definitions to describe the different - * containers that are launched as part of a task.

                                                        + * containers that are launched as part of a task.

                                                        */ export interface ContainerDefinition { /** - *

                                                        When this parameter is true, a TTY is allocated. This parameter maps to - * Tty in the Create a container section of the - * Docker Remote API and the --tty option to docker run.

                                                        + *

                                                        When this parameter is true, networking is disabled within the container. This + * parameter maps to NetworkDisabled in the Create a container + * section of the Docker Remote API.

                                                        + * + *

                                                        This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

                                                        + *
                                                        */ - pseudoTerminal?: boolean; + disableNetworking?: boolean; + + /** + *

                                                        A list of hostnames and IP address mappings to append to the /etc/hosts + * file on the container. This parameter maps to ExtraHosts in the + * Create a container section of the Docker Remote API and the + * --add-host option to docker + * run.

                                                        + * + *

                                                        This parameter is not supported for Windows containers or tasks that use the + * awsvpc network mode.

                                                        + *
                                                        + */ + extraHosts?: HostEntry[]; /** *

                                                        A list of ulimits to set in the container. If a ulimit value is specified - * in a task definition, it will override the default values set by Docker. This parameter - * maps to Ulimits in the Create a container section of the - * Docker Remote API and the --ulimit option to docker run. Valid naming values are displayed - * in the Ulimit data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' + * in a task definition, it will override the default values set by Docker. This parameter + * maps to Ulimits in the Create a container section of the + * Docker Remote API and the --ulimit option to docker run. Valid naming values are displayed + * in the Ulimit data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' *

                                                        * - *

                                                        This parameter is not supported for Windows containers.

                                                        + *

                                                        This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

                                                        *
                                                        */ ulimits?: Ulimit[]; + /** + *

                                                        When this parameter is true, a TTY is allocated. This parameter maps to + * Tty in the Create a container section of the + * Docker Remote API and the --tty option to docker run.

                                                        + */ + pseudoTerminal?: boolean; + + /** + *

                                                        Data volumes to mount from another container. This parameter maps to + * VolumesFrom in the Create a container section of the + * Docker Remote API and the --volumes-from option to docker run.

                                                        + */ + volumesFrom?: VolumeFrom[]; + /** *

                                                        The container health check command and associated configuration parameters for the - * container. This parameter maps to HealthCheck in the - * Create a container section of the Docker Remote API and the - * HEALTHCHECK parameter of docker - * run.

                                                        + * container. This parameter maps to HealthCheck in the + * Create a container section of the Docker Remote API and the + * HEALTHCHECK parameter of docker + * run.

                                                        */ healthCheck?: HealthCheck; /** - *

                                                        When this parameter is true, networking is disabled within the container. This - * parameter maps to NetworkDisabled in the Create a container - * section of the Docker Remote API.

                                                        + *

                                                        A list of DNS search domains that are presented to the container. This parameter maps + * to DnsSearch in the Create a container section of the + * Docker Remote API and the --dns-search option to docker run.

                                                        * - *

                                                        This parameter is not supported for Windows containers.

                                                        + *

                                                        This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

                                                        *
                                                        */ - disableNetworking?: boolean; + dnsSearchDomains?: string[]; /** - *

                                                        A list of hostnames and IP address mappings to append to the /etc/hosts - * file on the container. This parameter maps to ExtraHosts in the - * Create a container section of the Docker Remote API and the - * --add-host option to docker - * run.

                                                        - * - *

                                                        This parameter is not supported for Windows containers or tasks that use the - * awsvpc network mode.

                                                        - *
                                                        + *

                                                        The amount (in MiB) of memory to present to the container. If your container attempts + * to exceed the memory specified here, the container is killed. The total amount of memory + * reserved for all containers within a task must be lower than the task + * memory value, if one is specified. This parameter maps to + * Memory in the Create a container section of the + * Docker Remote API and the --memory option to docker run.

                                                        + *

                                                        If using the Fargate launch type, this parameter is optional.

                                                        + *

                                                        If using the EC2 launch type, you must specify either a task-level + * memory value or a container-level memory value. If you specify both a container-level + * memory and memoryReservation value, memory + * must be greater than memoryReservation. If you specify + * memoryReservation, then that value is subtracted from the available + * memory resources for the container instance on which the container is placed. Otherwise, + * the value of memory is used.

                                                        + *

                                                        The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should + * not specify fewer than 4 MiB of memory for your containers.

                                                        */ - extraHosts?: HostEntry[]; + memory?: number; /** *

                                                        The user name to use inside the container. This parameter maps to User in - * the Create a container section of the Docker Remote API and the - * --user option to docker - * run.

                                                        - *

                                                        You can use the following formats. If specifying a UID or GID, you must specify it as - * a positive integer.

                                                        - *
                                                          - *
                                                        • - *

                                                          + * the Create a container section of the Docker Remote API and the + * --user option to docker + * run.

                                                          + *

                                                          You can use the following formats. If specifying a UID or GID, you must specify it as + * a positive integer.

                                                          + *
                                                            + *
                                                          • + *

                                                            * user *

                                                            - *
                                                          • + * *
                                                          • - *

                                                            + *

                                                            * user:group *

                                                            - *
                                                          • + * *
                                                          • - *

                                                            + *

                                                            * uid *

                                                            - *
                                                          • + * *
                                                          • - *

                                                            + *

                                                            * uid:gid *

                                                            - *
                                                          • + * *
                                                          • - *

                                                            + *

                                                            * user:gid *

                                                            - *
                                                          • + * *
                                                          • - *

                                                            + *

                                                            * uid:group *

                                                            - *
                                                          • + * *
                                                          * - *

                                                          This parameter is not supported for Windows containers.

                                                          + *

                                                          This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

                                                          *
                                                          */ user?: string; /** - *

                                                          A list of strings to provide custom labels for SELinux and AppArmor multi-level - * security systems. This field is not valid for containers in tasks using the - * Fargate launch type.

                                                          - *

                                                          With Windows containers, this parameter can be used to reference a credential spec - * file when configuring a container for Active Directory authentication. For more - * information, see Using gMSAs for Windows - * Containers in the Amazon Elastic Container Service Developer Guide.

                                                          - *

                                                          This parameter maps to SecurityOpt in the - * Create a container section of the Docker Remote API and the - * --security-opt option to docker - * run.

                                                          - * - *

                                                          The Amazon ECS container agent running on a container instance must register with the - * ECS_SELINUX_CAPABLE=true or ECS_APPARMOR_CAPABLE=true - * environment variables before containers placed on that instance can use these - * security options. For more information, see Amazon ECS Container - * Agent Configuration in the Amazon Elastic Container Service Developer Guide.

                                                          - *
                                                          + * + *

                                                          Early versions of the Amazon ECS container agent do not properly handle + * entryPoint parameters. If you have problems using + * entryPoint, update your container agent or enter your commands and + * arguments as command array items instead.

                                                          + *
                                                          + *

                                                          The entry point that is passed to the container. This parameter maps to + * Entrypoint in the Create a container section of the + * Docker Remote API and the --entrypoint option to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint.

                                                          */ - dockerSecurityOptions?: string[]; + entryPoint?: string[]; /** - *

                                                          The links parameter allows containers to communicate with each other - * without the need for port mappings. This parameter is only supported if the network mode - * of a task definition is bridge. The name:internalName - * construct is analogous to name:alias in Docker links. - * Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. For more information about linking Docker containers, go to - * Legacy container links - * in the Docker documentation. This parameter maps to Links in the - * Create a container section of the Docker Remote API and the - * --link option to docker - * run.

                                                          - * - *

                                                          This parameter is not supported for Windows containers.

                                                          - *
                                                          - * - *

                                                          Containers that are collocated on a single container instance may be able to - * communicate with each other without requiring links or host port mappings. Network - * isolation is achieved on the container instance using security groups and VPC - * settings.

                                                          - *
                                                          + *

                                                          When this parameter is true, this allows you to deploy containerized + * applications that require stdin or a tty to be allocated. This + * parameter maps to OpenStdin in the Create a container + * section of the Docker Remote API and the --interactive option to docker run.

                                                          */ - links?: string[]; + interactive?: boolean; /** - *

                                                          Data volumes to mount from another container. This parameter maps to - * VolumesFrom in the Create a container section of the - * Docker Remote API and the --volumes-from option to docker run.

                                                          + *

                                                          The log configuration specification for the container.

                                                          + *

                                                          This parameter maps to LogConfig in the + * Create a container section of the Docker Remote API and the + * --log-driver option to docker + * run. By default, containers use the same logging driver that the Docker + * daemon uses. However the container may use a different logging driver than the Docker + * daemon by specifying a log driver with this parameter in the container definition. To + * use a different logging driver for a container, the log system must be configured + * properly on the container instance (or on a different log server for remote logging + * options). For more information on the options for different supported log drivers, see + * Configure + * logging drivers in the Docker documentation.

                                                          + * + *

                                                          Amazon ECS currently supports a subset of the logging drivers available to the Docker + * daemon (shown in the LogConfiguration data type). Additional log + * drivers may be available in future releases of the Amazon ECS container agent.

                                                          + *
                                                          + *

                                                          This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' + *

                                                          + * + *

                                                          The Amazon ECS container agent running on a container instance must register the + * logging drivers available on that instance with the + * ECS_AVAILABLE_LOGGING_DRIVERS environment variable before + * containers placed on that instance can use these log configuration options. For more + * information, see Amazon ECS Container + * Agent Configuration in the Amazon Elastic Container Service Developer Guide.

                                                          + *
                                                          */ - volumesFrom?: VolumeFrom[]; + logConfiguration?: LogConfiguration; /** - *

                                                          The name of a container. If you are linking multiple containers together in a task - * definition, the name of one container can be entered in the - * links of another container to connect the containers. - * Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. This parameter maps to name in the - * Create a container section of the Docker Remote API and the - * --name option to docker - * run.

                                                          + *

                                                          The links parameter allows containers to communicate with each other + * without the need for port mappings. This parameter is only supported if the network mode + * of a task definition is bridge. The name:internalName + * construct is analogous to name:alias in Docker links. + * Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. For more information about linking Docker containers, go to + * Legacy container links + * in the Docker documentation. This parameter maps to Links in the + * Create a container section of the Docker Remote API and the + * --link option to docker + * run.

                                                          + * + *

                                                          This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

                                                          + *
                                                          + * + *

                                                          Containers that are collocated on a single container instance may be able to + * communicate with each other without requiring links or host port mappings. Network + * isolation is achieved on the container instance using security groups and VPC + * settings.

                                                          + *
                                                          */ - name?: string; + links?: string[]; /** - *

                                                          The amount (in MiB) of memory to present to the container. If your container attempts - * to exceed the memory specified here, the container is killed. The total amount of memory - * reserved for all containers within a task must be lower than the task - * memory value, if one is specified. This parameter maps to - * Memory in the Create a container section of the - * Docker Remote API and the --memory option to docker run.

                                                          - *

                                                          If using the Fargate launch type, this parameter is optional.

                                                          - *

                                                          If using the EC2 launch type, you must specify either a task-level - * memory value or a container-level memory value. If you specify both a container-level - * memory and memoryReservation value, memory - * must be greater than memoryReservation. If you specify - * memoryReservation, then that value is subtracted from the available - * memory resources for the container instance on which the container is placed. Otherwise, - * the value of memory is used.

                                                          - *

                                                          The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should - * not specify fewer than 4 MiB of memory for your containers.

                                                          + *

                                                          Time duration (in seconds) to wait before giving up on resolving dependencies for a + * container. For example, you specify two containers in a task definition with containerA + * having a dependency on containerB reaching a COMPLETE, + * SUCCESS, or HEALTHY status. If a startTimeout + * value is specified for containerB and it does not reach the desired status within that + * time then containerA will give up and not start. This results in the task transitioning + * to a STOPPED state.

                                                          + * + *

                                                          When the ECS_CONTAINER_START_TIMEOUT container agent configuration + * variable is used, it is enforced indendently from this start timeout value.

                                                          + *
                                                          + *

                                                          For tasks using the Fargate launch type, this parameter requires that + * the task or service uses platform version 1.3.0 or later.

                                                          + *

                                                          For tasks using the EC2 launch type, your container instances require at + * least version 1.26.0 of the container agent to enable a container start + * timeout value. However, we recommend using the latest container agent version. For + * information about checking your agent version and updating to the latest version, see + * Updating the Amazon ECS + * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are + * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of + * the ecs-init package. If your container instances are launched from version + * 20190301 or later, then they contain the required versions of the + * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                                          */ - memory?: number; + startTimeout?: number; /** - *

                                                          Linux-specific modifications that are applied to the container, such as Linux kernel - * capabilities. For more information see KernelCapabilities.

                                                          - * - *

                                                          This parameter is not supported for Windows containers.

                                                          - *
                                                          + *

                                                          The hostname to use for your container. This parameter maps to Hostname + * in the Create a container section of the Docker Remote API and the + * --hostname option to docker + * run.

                                                          + * + *

                                                          The hostname parameter is not supported if you are using the + * awsvpc network mode.

                                                          + *
                                                          */ - linuxParameters?: LinuxParameters; + hostname?: string; /** - *

                                                          A list of DNS search domains that are presented to the container. This parameter maps - * to DnsSearch in the Create a container section of the - * Docker Remote API and the --dns-search option to docker run.

                                                          - * - *

                                                          This parameter is not supported for Windows containers.

                                                          - *
                                                          + *

                                                          The type and amount of a resource to assign to a container. The only supported + * resource is a GPU.

                                                          */ - dnsSearchDomains?: string[]; + resourceRequirements?: ResourceRequirement[]; /** - *

                                                          If the essential parameter of a container is marked as true, - * and that container fails or stops for any reason, all other containers that are part of - * the task are stopped. If the essential parameter of a container is marked - * as false, then its failure does not affect the rest of the containers in a - * task. If this parameter is omitted, a container is assumed to be essential.

                                                          - *

                                                          All tasks must have at least one essential container. If you have an application that - * is composed of multiple containers, you should group containers that are used for a - * common purpose into components, and separate the different components into multiple task - * definitions. For more information, see Application - * Architecture in the Amazon Elastic Container Service Developer Guide.

                                                          + *

                                                          The FireLens configuration for the container. This is used to specify and configure a + * log router for container logs. For more information, see Custom Log Routing + * in the Amazon Elastic Container Service Developer Guide.

                                                          */ - essential?: boolean; + firelensConfiguration?: FirelensConfiguration; /** - *

                                                          A list of namespaced kernel parameters to set in the container. This parameter maps to - * Sysctls in the Create a container section of the - * Docker Remote API and the --sysctl option to docker run.

                                                          - * - *

                                                          It is not recommended that you specify network-related systemControls - * parameters for multiple containers in a single task that also uses either the - * awsvpc or host network modes. For tasks that use the - * awsvpc network mode, the container that is started last determines - * which systemControls parameters take effect. For tasks that use the - * host network mode, it changes the container instance's namespaced - * kernel parameters as well as the containers.

                                                          - *
                                                          + *

                                                          The image used to start a container. This string is passed directly to the Docker + * daemon. Images in the Docker Hub registry are available by default. Other repositories + * are specified with either + * repository-url/image:tag + * or + * repository-url/image@digest + * . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the + * Create a container section of the Docker Remote API and the + * IMAGE parameter of docker + * run.

                                                          + *
                                                            + *
                                                          • + *

                                                            When a new task starts, the Amazon ECS container agent pulls the latest version of + * the specified image and tag for the container to use. However, subsequent + * updates to a repository image are not propagated to already running + * tasks.

                                                            + *
                                                          • + *
                                                          • + *

                                                            Images in Amazon ECR repositories can be specified by either using the full + * registry/repository:tag or + * registry/repository@digest. For example, + * 012345678910.dkr.ecr..amazonaws.com/:latest + * or + * 012345678910.dkr.ecr..amazonaws.com/@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE. + *

                                                            + *
                                                          • + *
                                                          • + *

                                                            Images in official repositories on Docker Hub use a single name (for example, + * ubuntu or mongo).

                                                            + *
                                                          • + *
                                                          • + *

                                                            Images in other repositories on Docker Hub are qualified with an organization + * name (for example, amazon/amazon-ecs-agent).

                                                            + *
                                                          • + *
                                                          • + *

                                                            Images in other online repositories are qualified further by a domain name + * (for example, quay.io/assemblyline/ubuntu).

                                                            + *
                                                          • + *
                                                          */ - systemControls?: SystemControl[]; + image?: string; /** - *

                                                          A list of files containing the environment variables to pass to a container. This - * parameter maps to the --env-file option to docker run.

                                                          - *

                                                          You can specify up to ten environment files. The file must have a .env - * file extension. Each line in an environment file should contain an environment variable - * in VARIABLE=VALUE format. Lines beginning with # are treated - * as comments and are ignored. For more information on the environment variable file - * syntax, see Declare default - * environment variables in file.

                                                          - *

                                                          If there are environment variables specified using the environment - * parameter in a container definition, they take precedence over the variables contained - * within an environment file. If multiple environment files are specified that contain the - * same variable, they are processed from the top down. It is recommended to use unique - * variable names. For more information, see Specifying Environment - * Variables in the Amazon Elastic Container Service Developer Guide.

                                                          - *

                                                          This field is not valid for containers in tasks using the Fargate launch - * type.

                                                          + *

                                                          The soft limit (in MiB) of memory to reserve for the container. When system memory is + * under heavy contention, Docker attempts to keep the container memory to this soft limit. + * However, your container can consume more memory when it needs to, up to either the hard + * limit specified with the memory parameter (if applicable), or all of the + * available memory on the container instance, whichever comes first. This parameter maps + * to MemoryReservation in the Create a container section of + * the Docker Remote API and the --memory-reservation option to docker run.

                                                          + *

                                                          If a task-level memory value is not specified, you must specify a non-zero integer for + * one or both of memory or memoryReservation in a container + * definition. If you specify both, memory must be greater than + * memoryReservation. If you specify memoryReservation, then + * that value is subtracted from the available memory resources for the container instance + * on which the container is placed. Otherwise, the value of memory is + * used.

                                                          + *

                                                          For example, if your container normally uses 128 MiB of memory, but occasionally + * bursts to 256 MiB of memory for short periods of time, you can set a + * memoryReservation of 128 MiB, and a memory hard limit of + * 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory + * from the remaining resources on the container instance, but also allow the container to + * consume more memory resources when needed.

                                                          + *

                                                          The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should + * not specify fewer than 4 MiB of memory for your containers.

                                                          */ - environmentFiles?: EnvironmentFile[]; + memoryReservation?: number; /** - *

                                                          The environment variables to pass to a container. This parameter maps to - * Env in the Create a container section of the - * Docker Remote API and the --env option to docker run.

                                                          - * - *

                                                          We do not recommend using plaintext environment variables for sensitive - * information, such as credential data.

                                                          - *
                                                          + *

                                                          The list of port mappings for the container. Port mappings allow containers to access + * ports on the host container instance to send or receive traffic.

                                                          + *

                                                          For task definitions that use the awsvpc network mode, you should only + * specify the containerPort. The hostPort can be left blank or + * it must be the same value as the containerPort.

                                                          + *

                                                          Port mappings on Windows use the NetNAT gateway address rather than + * localhost. There is no loopback for port mappings on Windows, so you + * cannot access a container's mapped port from the host itself.

                                                          + *

                                                          This parameter maps to PortBindings in the + * Create a container section of the Docker Remote API and the + * --publish option to docker + * run. If the network mode of a task definition is set to none, + * then you can't specify port mappings. If the network mode of a task definition is set to + * host, then host ports must either be undefined or they must match the + * container port in the port mapping.

                                                          + * + *

                                                          After a task reaches the RUNNING status, manual and automatic host + * and container port assignments are visible in the Network + * Bindings section of a container description for a selected task in + * the Amazon ECS console. The assignments are also visible in the + * networkBindings section DescribeTasks + * responses.

                                                          + *
                                                          */ - environment?: KeyValuePair[]; + portMappings?: PortMapping[]; /** - *

                                                          When this parameter is true, the container is given read-only access to its root file - * system. This parameter maps to ReadonlyRootfs in the - * Create a container section of the Docker Remote API and the - * --read-only option to docker - * run.

                                                          - * - *

                                                          This parameter is not supported for Windows containers.

                                                          - *
                                                          + *

                                                          The dependencies defined for container startup and shutdown. A container can contain + * multiple dependencies. When a dependency is defined for container startup, for container + * shutdown it is reversed.

                                                          + *

                                                          For tasks using the EC2 launch type, the container instances require at + * least version 1.26.0 of the container agent to enable container dependencies. However, + * we recommend using the latest container agent version. For information about checking + * your agent version and updating to the latest version, see Updating the Amazon ECS + * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are + * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the + * ecs-init package. If your container instances are launched from version + * 20190301 or later, then they contain the required versions of the + * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                                          + *

                                                          For tasks using the Fargate launch type, the task or service requires + * platform version 1.3.0 or later.

                                                          */ - readonlyRootFilesystem?: boolean; + dependsOn?: ContainerDependency[]; /** - *

                                                          The working directory in which to run commands inside the container. This parameter - * maps to WorkingDir in the Create a container section of the - * Docker Remote API and the --workdir option to docker run.

                                                          + *

                                                          The number of cpu units reserved for the container. This parameter maps + * to CpuShares in the Create a container section of the + * Docker Remote API and the --cpu-shares option to docker run.

                                                          + *

                                                          This field is optional for tasks using the Fargate launch type, and the + * only requirement is that the total amount of CPU reserved for all containers within a + * task be lower than the task-level cpu value.

                                                          + * + *

                                                          You can determine the number of CPU units that are available per EC2 instance type + * by multiplying the vCPUs listed for that instance type on the Amazon EC2 Instances detail page + * by 1,024.

                                                          + *
                                                          + *

                                                          Linux containers share unallocated CPU units with other containers on the container + * instance with the same ratio as their allocated amount. For example, if you run a + * single-container task on a single-core instance type with 512 CPU units specified for + * that container, and that is the only task running on the container instance, that + * container could use the full 1,024 CPU unit share at any given time. However, if you + * launched another copy of the same task on that container instance, each task would be + * guaranteed a minimum of 512 CPU units when needed, and each container could float to + * higher CPU usage if the other container was not using it, but if both tasks were 100% + * active all of the time, they would be limited to 512 CPU units.

                                                          + *

                                                          On Linux container instances, the Docker daemon on the container instance uses the CPU + * value to calculate the relative CPU share ratios for running containers. For more + * information, see CPU share + * constraint in the Docker documentation. The minimum valid CPU share value + * that the Linux kernel allows is 2. However, the CPU parameter is not required, and you + * can use CPU values below 2 in your container definitions. For CPU values below 2 + * (including null), the behavior varies based on your Amazon ECS container agent + * version:

                                                          + *
                                                            + *
                                                          • + *

                                                            + * Agent versions less than or equal to 1.1.0: + * Null and zero CPU values are passed to Docker as 0, which Docker then converts + * to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux + * kernel converts to two CPU shares.

                                                            + *
                                                          • + *
                                                          • + *

                                                            + * Agent versions greater than or equal to 1.2.0: + * Null, zero, and CPU values of 1 are passed to Docker as 2.

                                                            + *
                                                          • + *
                                                          + *

                                                          On Windows container instances, the CPU limit is enforced as an absolute limit, or a + * quota. Windows containers only have access to the specified amount of CPU that is + * described in the task definition. A null or zero CPU value is passed to Docker as + * 0, which Windows interprets as 1% of one CPU.

                                                          */ - workingDirectory?: string; + cpu?: number; /** - *

                                                          The secrets to pass to the container. For more information, see Specifying - * Sensitive Data in the Amazon Elastic Container Service Developer Guide.

                                                          + *

                                                          Time duration (in seconds) to wait before the container is forcefully killed if it + * doesn't exit normally on its own.

                                                          + *

                                                          For tasks using the Fargate launch type, the task or service requires + * platform version 1.3.0 or later. The max stop timeout value is 120 seconds and if the + * parameter is not specified, the default value of 30 seconds is used.

                                                          + *

                                                          For tasks using the EC2 launch type, if the stopTimeout + * parameter is not specified, the value set for the Amazon ECS container agent configuration + * variable ECS_CONTAINER_STOP_TIMEOUT is used by default. If neither the + * stopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT + * agent configuration variable are set, then the default values of 30 seconds for Linux + * containers and 30 seconds on Windows containers are used. Your container instances + * require at least version 1.26.0 of the container agent to enable a container stop + * timeout value. However, we recommend using the latest container agent version. For + * information about checking your agent version and updating to the latest version, see + * Updating the Amazon ECS + * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are + * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the + * ecs-init package. If your container instances are launched from version + * 20190301 or later, then they contain the required versions of the + * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                                          */ - secrets?: Secret[]; + stopTimeout?: number; /** - *

                                                          The command that is passed to the container. This parameter maps to Cmd - * in the Create a container section of the Docker Remote API and the - * COMMAND parameter to docker - * run. For more information, see https://docs.docker.com/engine/reference/builder/#cmd. If there are multiple arguments, each - * argument should be a separated string in the array.

                                                          + *

                                                          A key/value map of labels to add to the container. This parameter maps to + * Labels in the Create a container section of the + * Docker Remote API and the --label option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' + *

                                                          */ - command?: string[]; + dockerLabels?: { [key: string]: string }; /** - *

                                                          A list of DNS servers that are presented to the container. This parameter maps to - * Dns in the Create a container section of the - * Docker Remote API and the --dns option to docker run.

                                                          - * - *

                                                          This parameter is not supported for Windows containers.

                                                          - *
                                                          + *

                                                          If the essential parameter of a container is marked as true, + * and that container fails or stops for any reason, all other containers that are part of + * the task are stopped. If the essential parameter of a container is marked + * as false, then its failure does not affect the rest of the containers in a + * task. If this parameter is omitted, a container is assumed to be essential.

                                                          + *

                                                          All tasks must have at least one essential container. If you have an application that + * is composed of multiple containers, you should group containers that are used for a + * common purpose into components, and separate the different components into multiple task + * definitions. For more information, see Application + * Architecture in the Amazon Elastic Container Service Developer Guide.

                                                          */ - dnsServers?: string[]; + essential?: boolean; /** - *

                                                          The type and amount of a resource to assign to a container. The only supported - * resource is a GPU.

                                                          + *

                                                          Linux-specific modifications that are applied to the container, such as Linux kernel + * capabilities. For more information see KernelCapabilities.

                                                          + * + *

                                                          This parameter is not supported for Windows containers.

                                                          + *
                                                          */ - resourceRequirements?: ResourceRequirement[]; + linuxParameters?: LinuxParameters; /** - *

                                                          When this parameter is true, the container is given elevated privileges on the host - * container instance (similar to the root user). This parameter maps to - * Privileged in the Create a container section of the - * Docker Remote API and the --privileged option to docker run.

                                                          + *

                                                          A list of DNS servers that are presented to the container. This parameter maps to + * Dns in the Create a container section of the + * Docker Remote API and the --dns option to docker run.

                                                          * - *

                                                          This parameter is not supported for Windows containers or tasks using the Fargate launch type.

                                                          - *
                                                          - */ - privileged?: boolean; - - /** - *

                                                          The number of cpu units reserved for the container. This parameter maps - * to CpuShares in the Create a container section of the - * Docker Remote API and the --cpu-shares option to docker run.

                                                          - *

                                                          This field is optional for tasks using the Fargate launch type, and the - * only requirement is that the total amount of CPU reserved for all containers within a - * task be lower than the task-level cpu value.

                                                          - * - *

                                                          You can determine the number of CPU units that are available per EC2 instance type - * by multiplying the vCPUs listed for that instance type on the Amazon EC2 Instances detail page - * by 1,024.

                                                          - *
                                                          - *

                                                          Linux containers share unallocated CPU units with other containers on the container - * instance with the same ratio as their allocated amount. For example, if you run a - * single-container task on a single-core instance type with 512 CPU units specified for - * that container, and that is the only task running on the container instance, that - * container could use the full 1,024 CPU unit share at any given time. However, if you - * launched another copy of the same task on that container instance, each task would be - * guaranteed a minimum of 512 CPU units when needed, and each container could float to - * higher CPU usage if the other container was not using it, but if both tasks were 100% - * active all of the time, they would be limited to 512 CPU units.

                                                          - *

                                                          On Linux container instances, the Docker daemon on the container instance uses the CPU - * value to calculate the relative CPU share ratios for running containers. For more - * information, see CPU share - * constraint in the Docker documentation. The minimum valid CPU share value - * that the Linux kernel allows is 2. However, the CPU parameter is not required, and you - * can use CPU values below 2 in your container definitions. For CPU values below 2 - * (including null), the behavior varies based on your Amazon ECS container agent - * version:

                                                          - *
                                                            - *
                                                          • - *

                                                            - * Agent versions less than or equal to 1.1.0: - * Null and zero CPU values are passed to Docker as 0, which Docker then converts - * to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux - * kernel converts to two CPU shares.

                                                            - *
                                                          • - *
                                                          • - *

                                                            - * Agent versions greater than or equal to 1.2.0: - * Null, zero, and CPU values of 1 are passed to Docker as 2.

                                                            - *
                                                          • - *
                                                          - *

                                                          On Windows container instances, the CPU limit is enforced as an absolute limit, or a - * quota. Windows containers only have access to the specified amount of CPU that is - * described in the task definition.

                                                          + *

                                                          This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

                                                          + * */ - cpu?: number; + dnsServers?: string[]; /** - *

                                                          Time duration (in seconds) to wait before the container is forcefully killed if it - * doesn't exit normally on its own.

                                                          - *

                                                          For tasks using the Fargate launch type, the task or service requires - * platform version 1.3.0 or later. The max stop timeout value is 120 seconds and if the - * parameter is not specified, the default value of 30 seconds is used.

                                                          - *

                                                          For tasks using the EC2 launch type, if the stopTimeout - * parameter is not specified, the value set for the Amazon ECS container agent configuration - * variable ECS_CONTAINER_STOP_TIMEOUT is used by default. If neither the - * stopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT - * agent configuration variable are set, then the default values of 30 seconds for Linux - * containers and 30 seconds on Windows containers are used. Your container instances - * require at least version 1.26.0 of the container agent to enable a container stop - * timeout value. However, we recommend using the latest container agent version. For - * information about checking your agent version and updating to the latest version, see - * Updating the Amazon ECS - * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are - * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the - * ecs-init package. If your container instances are launched from version - * 20190301 or later, then they contain the required versions of the - * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                                          + *

                                                          The private repository authentication credentials to use.

                                                          */ - stopTimeout?: number; + repositoryCredentials?: RepositoryCredentials; /** - *

                                                          The dependencies defined for container startup and shutdown. A container can contain - * multiple dependencies. When a dependency is defined for container startup, for container - * shutdown it is reversed.

                                                          - *

                                                          For tasks using the EC2 launch type, the container instances require at - * least version 1.26.0 of the container agent to enable container dependencies. However, - * we recommend using the latest container agent version. For information about checking - * your agent version and updating to the latest version, see Updating the Amazon ECS - * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are - * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the - * ecs-init package. If your container instances are launched from version - * 20190301 or later, then they contain the required versions of the - * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                                          - *

                                                          For tasks using the Fargate launch type, the task or service requires - * platform version 1.3.0 or later.

                                                          + *

                                                          A list of namespaced kernel parameters to set in the container. This parameter maps to + * Sysctls in the Create a container section of the + * Docker Remote API and the --sysctl option to docker run.

                                                          + * + *

                                                          It is not recommended that you specify network-related systemControls + * parameters for multiple containers in a single task that also uses either the + * awsvpc or host network modes. For tasks that use the + * awsvpc network mode, the container that is started last determines + * which systemControls parameters take effect. For tasks that use the + * host network mode, it changes the container instance's namespaced + * kernel parameters as well as the containers.

                                                          + *
                                                          */ - dependsOn?: ContainerDependency[]; + systemControls?: SystemControl[]; /** *

                                                          The mount points for data volumes in your container.

                                                          - *

                                                          This parameter maps to Volumes in the Create a container - * section of the Docker Remote API and the --volume option to docker run.

                                                          - *

                                                          Windows containers can mount whole directories on the same drive as - * $env:ProgramData. Windows containers cannot mount directories on a - * different drive, and mount point cannot be across drives.

                                                          + *

                                                          This parameter maps to Volumes in the Create a container + * section of the Docker Remote API and the --volume option to docker run.

                                                          + *

                                                          Windows containers can mount whole directories on the same drive as + * $env:ProgramData. Windows containers cannot mount directories on a + * different drive, and mount point cannot be across drives.

                                                          */ mountPoints?: MountPoint[]; /** - * - *

                                                          Early versions of the Amazon ECS container agent do not properly handle - * entryPoint parameters. If you have problems using - * entryPoint, update your container agent or enter your commands and - * arguments as command array items instead.

                                                          - *
                                                          - *

                                                          The entry point that is passed to the container. This parameter maps to - * Entrypoint in the Create a container section of the - * Docker Remote API and the --entrypoint option to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint.

                                                          - */ - entryPoint?: string[]; - - /** - *

                                                          A key/value map of labels to add to the container. This parameter maps to - * Labels in the Create a container section of the - * Docker Remote API and the --label option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' - *

                                                          - */ - dockerLabels?: { [key: string]: string }; - - /** - *

                                                          The private repository authentication credentials to use.

                                                          + *

                                                          The name of a container. If you are linking multiple containers together in a task + * definition, the name of one container can be entered in the + * links of another container to connect the containers. + * Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. This parameter maps to name in the + * Create a container section of the Docker Remote API and the + * --name option to docker + * run.

                                                          */ - repositoryCredentials?: RepositoryCredentials; + name?: string; /** - *

                                                          The list of port mappings for the container. Port mappings allow containers to access - * ports on the host container instance to send or receive traffic.

                                                          - *

                                                          For task definitions that use the awsvpc network mode, you should only - * specify the containerPort. The hostPort can be left blank or - * it must be the same value as the containerPort.

                                                          - *

                                                          Port mappings on Windows use the NetNAT gateway address rather than - * localhost. There is no loopback for port mappings on Windows, so you - * cannot access a container's mapped port from the host itself.

                                                          - *

                                                          This parameter maps to PortBindings in the - * Create a container section of the Docker Remote API and the - * --publish option to docker - * run. If the network mode of a task definition is set to none, - * then you can't specify port mappings. If the network mode of a task definition is set to - * host, then host ports must either be undefined or they must match the - * container port in the port mapping.

                                                          - * - *

                                                          After a task reaches the RUNNING status, manual and automatic host - * and container port assignments are visible in the Network - * Bindings section of a container description for a selected task in - * the Amazon ECS console. The assignments are also visible in the - * networkBindings section DescribeTasks - * responses.

                                                          - *
                                                          + *

                                                          A list of strings to provide custom labels for SELinux and AppArmor multi-level + * security systems. This field is not valid for containers in tasks using the + * Fargate launch type.

                                                          + *

                                                          With Windows containers, this parameter can be used to reference a credential spec + * file when configuring a container for Active Directory authentication. For more + * information, see Using gMSAs for Windows + * Containers in the Amazon Elastic Container Service Developer Guide.

                                                          + *

                                                          This parameter maps to SecurityOpt in the + * Create a container section of the Docker Remote API and the + * --security-opt option to docker + * run.

                                                          + * + *

                                                          The Amazon ECS container agent running on a container instance must register with the + * ECS_SELINUX_CAPABLE=true or ECS_APPARMOR_CAPABLE=true + * environment variables before containers placed on that instance can use these + * security options. For more information, see Amazon ECS Container + * Agent Configuration in the Amazon Elastic Container Service Developer Guide.

                                                          + *
                                                          + *

                                                          For more information about valid values, see Docker + * Run Security Configuration.

                                                          + *

                                                          Valid values: "no-new-privileges" | "apparmor:PROFILE" | "label:value" | + * "credentialspec:CredentialSpecFilePath"

                                                          */ - portMappings?: PortMapping[]; + dockerSecurityOptions?: string[]; /** - *

                                                          When this parameter is true, this allows you to deploy containerized - * applications that require stdin or a tty to be allocated. This - * parameter maps to OpenStdin in the Create a container - * section of the Docker Remote API and the --interactive option to docker run.

                                                          + *

                                                          A list of files containing the environment variables to pass to a container. This + * parameter maps to the --env-file option to docker run.

                                                          + *

                                                          You can specify up to ten environment files. The file must have a .env + * file extension. Each line in an environment file should contain an environment variable + * in VARIABLE=VALUE format. Lines beginning with # are treated + * as comments and are ignored. For more information on the environment variable file + * syntax, see Declare default + * environment variables in file.

                                                          + *

                                                          If there are environment variables specified using the environment + * parameter in a container definition, they take precedence over the variables contained + * within an environment file. If multiple environment files are specified that contain the + * same variable, they are processed from the top down. It is recommended to use unique + * variable names. For more information, see Specifying Environment + * Variables in the Amazon Elastic Container Service Developer Guide.

                                                          + *

                                                          This field is not valid for containers in tasks using the Fargate launch + * type.

                                                          */ - interactive?: boolean; + environmentFiles?: EnvironmentFile[]; /** - *

                                                          Time duration (in seconds) to wait before giving up on resolving dependencies for a - * container. For example, you specify two containers in a task definition with containerA - * having a dependency on containerB reaching a COMPLETE, - * SUCCESS, or HEALTHY status. If a startTimeout - * value is specified for containerB and it does not reach the desired status within that - * time then containerA will give up and not start. This results in the task transitioning - * to a STOPPED state.

                                                          - *

                                                          For tasks using the Fargate launch type, this parameter requires that - * the task or service uses platform version 1.3.0 or later. If this parameter is not - * specified, the default value of 3 minutes is used.

                                                          - *

                                                          For tasks using the EC2 launch type, if the startTimeout - * parameter is not specified, the value set for the Amazon ECS container agent configuration - * variable ECS_CONTAINER_START_TIMEOUT is used by default. If neither the - * startTimeout parameter or the ECS_CONTAINER_START_TIMEOUT - * agent configuration variable are set, then the default values of 3 minutes for Linux - * containers and 8 minutes on Windows containers are used. Your container instances - * require at least version 1.26.0 of the container agent to enable a container start - * timeout value. However, we recommend using the latest container agent version. For - * information about checking your agent version and updating to the latest version, see - * Updating the Amazon ECS - * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are - * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the - * ecs-init package. If your container instances are launched from version - * 20190301 or later, then they contain the required versions of the - * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                                          + *

                                                          The environment variables to pass to a container. This parameter maps to + * Env in the Create a container section of the + * Docker Remote API and the --env option to docker run.

                                                          + * + *

                                                          We do not recommend using plaintext environment variables for sensitive + * information, such as credential data.

                                                          + *
                                                          */ - startTimeout?: number; + environment?: KeyValuePair[]; /** - *

                                                          The hostname to use for your container. This parameter maps to Hostname - * in the Create a container section of the Docker Remote API and the - * --hostname option to docker - * run.

                                                          - * - *

                                                          The hostname parameter is not supported if you are using the - * awsvpc network mode.

                                                          - *
                                                          + *

                                                          When this parameter is true, the container is given read-only access to its root file + * system. This parameter maps to ReadonlyRootfs in the + * Create a container section of the Docker Remote API and the + * --read-only option to docker + * run.

                                                          + * + *

                                                          This parameter is not supported for Windows containers or tasks that use the awsvpc network mode.

                                                          + *
                                                          */ - hostname?: string; + readonlyRootFilesystem?: boolean; /** - *

                                                          The log configuration specification for the container.

                                                          - *

                                                          This parameter maps to LogConfig in the - * Create a container section of the Docker Remote API and the - * --log-driver option to docker - * run. By default, containers use the same logging driver that the Docker - * daemon uses. However the container may use a different logging driver than the Docker - * daemon by specifying a log driver with this parameter in the container definition. To - * use a different logging driver for a container, the log system must be configured - * properly on the container instance (or on a different log server for remote logging - * options). For more information on the options for different supported log drivers, see - * Configure - * logging drivers in the Docker documentation.

                                                          - * - *

                                                          Amazon ECS currently supports a subset of the logging drivers available to the Docker - * daemon (shown in the LogConfiguration data type). Additional log - * drivers may be available in future releases of the Amazon ECS container agent.

                                                          - *
                                                          - *

                                                          This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' - *

                                                          - * - *

                                                          The Amazon ECS container agent running on a container instance must register the - * logging drivers available on that instance with the - * ECS_AVAILABLE_LOGGING_DRIVERS environment variable before - * containers placed on that instance can use these log configuration options. For more - * information, see Amazon ECS Container - * Agent Configuration in the Amazon Elastic Container Service Developer Guide.

                                                          - *
                                                          + *

                                                          The working directory in which to run commands inside the container. This parameter + * maps to WorkingDir in the Create a container section of the + * Docker Remote API and the --workdir option to docker run.

                                                          */ - logConfiguration?: LogConfiguration; + workingDirectory?: string; /** - *

                                                          The image used to start a container. This string is passed directly to the Docker - * daemon. Images in the Docker Hub registry are available by default. Other repositories - * are specified with either - * repository-url/image:tag - * or - * repository-url/image@digest - * . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the - * Create a container section of the Docker Remote API and the - * IMAGE parameter of docker - * run.

                                                          - *
                                                            - *
                                                          • - *

                                                            When a new task starts, the Amazon ECS container agent pulls the latest version of - * the specified image and tag for the container to use. However, subsequent - * updates to a repository image are not propagated to already running - * tasks.

                                                            - *
                                                          • - *
                                                          • - *

                                                            Images in Amazon ECR repositories can be specified by either using the full - * registry/repository:tag or - * registry/repository@digest. For example, - * 012345678910.dkr.ecr..amazonaws.com/:latest - * or - * 012345678910.dkr.ecr..amazonaws.com/@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE. - *

                                                            - *
                                                          • - *
                                                          • - *

                                                            Images in official repositories on Docker Hub use a single name (for example, - * ubuntu or mongo).

                                                            - *
                                                          • - *
                                                          • - *

                                                            Images in other repositories on Docker Hub are qualified with an organization - * name (for example, amazon/amazon-ecs-agent).

                                                            - *
                                                          • - *
                                                          • - *

                                                            Images in other online repositories are qualified further by a domain name - * (for example, quay.io/assemblyline/ubuntu).

                                                            - *
                                                          • - *
                                                          + *

                                                          When this parameter is true, the container is given elevated privileges on the host + * container instance (similar to the root user). This parameter maps to + * Privileged in the Create a container section of the + * Docker Remote API and the --privileged option to docker run.

                                                          + * + *

                                                          This parameter is not supported for Windows containers or tasks using the Fargate launch type.

                                                          + *
                                                          */ - image?: string; + privileged?: boolean; /** - *

                                                          The FireLens configuration for the container. This is used to specify and configure a - * log router for container logs. For more information, see Custom Log Routing - * in the Amazon Elastic Container Service Developer Guide.

                                                          + *

                                                          The command that is passed to the container. This parameter maps to Cmd + * in the Create a container section of the Docker Remote API and the + * COMMAND parameter to docker + * run. For more information, see https://docs.docker.com/engine/reference/builder/#cmd. If there are multiple arguments, each + * argument should be a separated string in the array.

                                                          */ - firelensConfiguration?: FirelensConfiguration; + command?: string[]; /** - *

                                                          The soft limit (in MiB) of memory to reserve for the container. When system memory is - * under heavy contention, Docker attempts to keep the container memory to this soft limit. - * However, your container can consume more memory when it needs to, up to either the hard - * limit specified with the memory parameter (if applicable), or all of the - * available memory on the container instance, whichever comes first. This parameter maps - * to MemoryReservation in the Create a container section of - * the Docker Remote API and the --memory-reservation option to docker run.

                                                          - *

                                                          If a task-level memory value is not specified, you must specify a non-zero integer for - * one or both of memory or memoryReservation in a container - * definition. If you specify both, memory must be greater than - * memoryReservation. If you specify memoryReservation, then - * that value is subtracted from the available memory resources for the container instance - * on which the container is placed. Otherwise, the value of memory is - * used.

                                                          - *

                                                          For example, if your container normally uses 128 MiB of memory, but occasionally - * bursts to 256 MiB of memory for short periods of time, you can set a - * memoryReservation of 128 MiB, and a memory hard limit of - * 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory - * from the remaining resources on the container instance, but also allow the container to - * consume more memory resources when needed.

                                                          - *

                                                          The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should - * not specify fewer than 4 MiB of memory for your containers.

                                                          + *

                                                          The secrets to pass to the container. For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.

                                                          */ - memoryReservation?: number; + secrets?: Secret[]; } export namespace ContainerDefinition { @@ -4671,20 +4677,20 @@ export namespace ContainerDefinition { /** *

                                                          Details on a Elastic Inference accelerator. For more information, see Working with - * Amazon Elastic Inference on Amazon ECS in the - * Amazon Elastic Container Service Developer Guide.

                                                          + * Amazon Elastic Inference on Amazon ECS in the + * Amazon Elastic Container Service Developer Guide.

                                                          */ export interface InferenceAccelerator { /** - *

                                                          The Elastic Inference accelerator type to use.

                                                          + *

                                                          The Elastic Inference accelerator device name. The deviceName must also + * be referenced in a container definition as a ResourceRequirement.

                                                          */ - deviceType: string | undefined; + deviceName: string | undefined; /** - *

                                                          The Elastic Inference accelerator device name. The deviceName must also - * be referenced in a container definition as a ResourceRequirement.

                                                          + *

                                                          The Elastic Inference accelerator type to use.

                                                          */ - deviceName: string | undefined; + deviceType: string | undefined; } export namespace InferenceAccelerator { @@ -4717,24 +4723,24 @@ export enum TaskDefinitionPlacementConstraintType { /** *

                                                          An object representing a constraint on task placement in the task definition. For more - * information, see Task Placement Constraints in the - * Amazon Elastic Container Service Developer Guide.

                                                          - * - *

                                                          If you are using the Fargate launch type, task placement constraints - * are not supported.

                                                          - *
                                                          + * information, see Task Placement Constraints in the + * Amazon Elastic Container Service Developer Guide.

                                                          + * + *

                                                          If you are using the Fargate launch type, task placement constraints + * are not supported.

                                                          + *
                                                          */ export interface TaskDefinitionPlacementConstraint { /** *

                                                          The type of constraint. The MemberOf constraint restricts selection to be - * from a group of valid candidates.

                                                          + * from a group of valid candidates.

                                                          */ type?: TaskDefinitionPlacementConstraintType | string; /** *

                                                          A cluster query language expression to apply to the constraint. For more information, - * see Cluster Query Language in the - * Amazon Elastic Container Service Developer Guide.

                                                          + * see Cluster Query Language in the + * Amazon Elastic Container Service Developer Guide.

                                                          */ expression?: string; } @@ -4751,76 +4757,76 @@ export enum ProxyConfigurationType { /** *

                                                          The configuration details for the App Mesh proxy.

                                                          - *

                                                          For tasks using the EC2 launch type, the container instances require at - * least version 1.26.0 of the container agent and at least version 1.26.0-1 of the - * ecs-init package to enable a proxy configuration. If your container - * instances are launched from the Amazon ECS-optimized AMI version 20190301 or - * later, then they contain the required versions of the container agent and - * ecs-init. For more information, see Amazon ECS-optimized Linux AMI - * in the Amazon Elastic Container Service Developer Guide.

                                                          - *

                                                          For tasks using the Fargate launch type, the task or service requires - * platform version 1.3.0 or later.

                                                          + *

                                                          For tasks using the EC2 launch type, the container instances require at + * least version 1.26.0 of the container agent and at least version 1.26.0-1 of the + * ecs-init package to enable a proxy configuration. If your container + * instances are launched from the Amazon ECS-optimized AMI version 20190301 or + * later, then they contain the required versions of the container agent and + * ecs-init. For more information, see Amazon ECS-optimized Linux AMI + * in the Amazon Elastic Container Service Developer Guide.

                                                          + *

                                                          For tasks using the Fargate launch type, the task or service requires + * platform version 1.3.0 or later.

                                                          */ export interface ProxyConfiguration { /** *

                                                          The set of network configuration parameters to provide the Container Network Interface - * (CNI) plugin, specified as key-value pairs.

                                                          - *
                                                            + * (CNI) plugin, specified as key-value pairs.

                                                            + *
                                                              *
                                                            • - *

                                                              + *

                                                              * IgnoredUID - (Required) The user ID (UID) of the proxy - * container as defined by the user parameter in a container - * definition. This is used to ensure the proxy ignores its own traffic. If - * IgnoredGID is specified, this field can be empty.

                                                              - *
                                                            • + * container as defined by the user parameter in a container + * definition. This is used to ensure the proxy ignores its own traffic. If + * IgnoredGID is specified, this field can be empty.

                                                              + * *
                                                            • - *

                                                              + *

                                                              * IgnoredGID - (Required) The group ID (GID) of the proxy - * container as defined by the user parameter in a container - * definition. This is used to ensure the proxy ignores its own traffic. If - * IgnoredUID is specified, this field can be empty.

                                                              - *
                                                            • + * container as defined by the user parameter in a container + * definition. This is used to ensure the proxy ignores its own traffic. If + * IgnoredUID is specified, this field can be empty.

                                                              + * *
                                                            • - *

                                                              + *

                                                              * AppPorts - (Required) The list of ports that the - * application uses. Network traffic to these ports is forwarded to the - * ProxyIngressPort and ProxyEgressPort.

                                                              - *
                                                            • + * application uses. Network traffic to these ports is forwarded to the + * ProxyIngressPort and ProxyEgressPort.

                                                              + * *
                                                            • - *

                                                              + *

                                                              * ProxyIngressPort - (Required) Specifies the port that - * incoming traffic to the AppPorts is directed to.

                                                              - *
                                                            • + * incoming traffic to the AppPorts is directed to.

                                                              + * *
                                                            • - *

                                                              + *

                                                              * ProxyEgressPort - (Required) Specifies the port that - * outgoing traffic from the AppPorts is directed to.

                                                              - *
                                                            • + * outgoing traffic from the AppPorts is directed to.

                                                              + * *
                                                            • - *

                                                              + *

                                                              * EgressIgnoredPorts - (Required) The egress traffic going to - * the specified ports is ignored and not redirected to the - * ProxyEgressPort. It can be an empty list.

                                                              - *
                                                            • + * the specified ports is ignored and not redirected to the + * ProxyEgressPort. It can be an empty list.

                                                              + * *
                                                            • - *

                                                              + *

                                                              * EgressIgnoredIPs - (Required) The egress traffic going to - * the specified IP addresses is ignored and not redirected to the - * ProxyEgressPort. It can be an empty list.

                                                              - *
                                                            • + * the specified IP addresses is ignored and not redirected to the + * ProxyEgressPort. It can be an empty list.

                                                              + * *
                                                            */ properties?: KeyValuePair[]; /** - *

                                                            The name of the container that will serve as the App Mesh proxy.

                                                            + *

                                                            The proxy type. The only supported value is APPMESH.

                                                            */ - containerName: string | undefined; + type?: ProxyConfigurationType | string; /** - *

                                                            The proxy type. The only supported value is APPMESH.

                                                            + *

                                                            The name of the container that will serve as the App Mesh proxy.

                                                            */ - type?: ProxyConfigurationType | string; + containerName: string | undefined; } export namespace ProxyConfiguration { @@ -4841,54 +4847,54 @@ export enum Scope { /** *

                                                            This parameter is specified when you are using Docker volumes. Docker volumes are only - * supported when you are using the EC2 launch type. Windows containers only - * support the use of the local driver. To use bind mounts, specify a - * host instead.

                                                            + * supported when you are using the EC2 launch type. Windows containers only + * support the use of the local driver. To use bind mounts, specify a + * host instead.

                                                            */ export interface DockerVolumeConfiguration { /** - *

                                                            Custom metadata to add to your Docker volume. This parameter maps to - * Labels in the Create a volume section of the - * Docker Remote API and the xxlabel option to docker - * volume create.

                                                            + *

                                                            If this value is true, the Docker volume is created if it does not + * already exist.

                                                            + * + *

                                                            This field is only used if the scope is shared.

                                                            + *
                                                            */ - labels?: { [key: string]: string }; + autoprovision?: boolean; /** - *

                                                            A map of Docker driver-specific options passed through. This parameter maps to - * DriverOpts in the Create a volume section of the - * Docker Remote API and the xxopt option to docker - * volume create.

                                                            + *

                                                            Custom metadata to add to your Docker volume. This parameter maps to + * Labels in the Create a volume section of the + * Docker Remote API and the xxlabel option to docker + * volume create.

                                                            */ - driverOpts?: { [key: string]: string }; + labels?: { [key: string]: string }; /** *

                                                            The Docker volume driver to use. The driver value must match the driver name provided - * by Docker because it is used for task placement. If the driver was installed using the - * Docker plugin CLI, use docker plugin ls to retrieve the driver name from - * your container instance. If the driver was installed using another method, use Docker - * plugin discovery to retrieve the driver name. For more information, see Docker - * plugin discovery. This parameter maps to Driver in the - * Create a volume section of the Docker Remote API and the - * xxdriver option to docker - * volume create.

                                                            + * by Docker because it is used for task placement. If the driver was installed using the + * Docker plugin CLI, use docker plugin ls to retrieve the driver name from + * your container instance. If the driver was installed using another method, use Docker + * plugin discovery to retrieve the driver name. For more information, see Docker + * plugin discovery. This parameter maps to Driver in the + * Create a volume section of the Docker Remote API and the + * xxdriver option to docker + * volume create.

                                                            */ driver?: string; /** - *

                                                            If this value is true, the Docker volume is created if it does not - * already exist.

                                                            - * - *

                                                            This field is only used if the scope is shared.

                                                            - *
                                                            + *

                                                            A map of Docker driver-specific options passed through. This parameter maps to + * DriverOpts in the Create a volume section of the + * Docker Remote API and the xxopt option to docker + * volume create.

                                                            */ - autoprovision?: boolean; + driverOpts?: { [key: string]: string }; /** *

                                                            The scope for the Docker volume that determines its lifecycle. Docker volumes that are - * scoped to a task are automatically provisioned when the task starts and - * destroyed when the task stops. Docker volumes that are scoped as shared - * persist after the task stops.

                                                            + * scoped to a task are automatically provisioned when the task starts and + * destroyed when the task stops. Docker volumes that are scoped as shared + * persist after the task stops.

                                                            */ scope?: Scope | string; } @@ -4909,22 +4915,23 @@ export enum EFSAuthorizationConfigIAM { */ export interface EFSAuthorizationConfig { /** - *

                                                            The Amazon EFS access point ID to use. If an access point is specified, the root directory - * value specified in the EFSVolumeConfiguration will be relative to the - * directory set for the access point. If an access point is used, transit encryption must - * be enabled in the EFSVolumeConfiguration. For more information, see Working with Amazon - * EFS Access Points in the Amazon Elastic File System User Guide.

                                                            + *

                                                            Whether or not to use the Amazon ECS task IAM role defined in a task definition when + * mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the + * EFSVolumeConfiguration. If this parameter is omitted, the default value + * of DISABLED is used. For more information, see Using + * Amazon EFS Access Points in the Amazon Elastic Container Service Developer Guide.

                                                            */ - accessPointId?: string; + iam?: EFSAuthorizationConfigIAM | string; /** - *

                                                            Whether or not to use the Amazon ECS task IAM role defined in a task definition when - * mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the - * EFSVolumeConfiguration. If this parameter is omitted, the default value - * of DISABLED is used. For more information, see Using - * Amazon EFS Access Points in the Amazon Elastic Container Service Developer Guide.

                                                            + *

                                                            The Amazon EFS access point ID to use. If an access point is specified, the root directory + * value specified in the EFSVolumeConfiguration must either be omitted or set + * to / which will enforce the path set on the EFS access point. If an access + * point is used, transit encryption must be enabled in the + * EFSVolumeConfiguration. For more information, see Working with Amazon + * EFS Access Points in the Amazon Elastic File System User Guide.

                                                            */ - iam?: EFSAuthorizationConfigIAM | string; + accessPointId?: string; } export namespace EFSAuthorizationConfig { @@ -4940,15 +4947,15 @@ export enum EFSTransitEncryption { /** *

                                                            This parameter is specified when you are using an Amazon Elastic File System file system for task - * storage. For more information, see Amazon EFS Volumes in the - * Amazon Elastic Container Service Developer Guide.

                                                            + * storage. For more information, see Amazon EFS Volumes in the + * Amazon Elastic Container Service Developer Guide.

                                                            */ export interface EFSVolumeConfiguration { /** *

                                                            The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS - * server. If you do not specify a transit encryption port, it will use the port selection - * strategy that the Amazon EFS mount helper uses. For more information, see EFS Mount - * Helper in the Amazon Elastic File System User Guide.

                                                            + * server. If you do not specify a transit encryption port, it will use the port selection + * strategy that the Amazon EFS mount helper uses. For more information, see EFS Mount + * Helper in the Amazon Elastic File System User Guide.

                                                            */ transitEncryptionPort?: number; @@ -4958,20 +4965,25 @@ export interface EFSVolumeConfiguration { fileSystemId: string | undefined; /** - *

                                                            The directory within the Amazon EFS file system to mount as the root directory inside the - * host. If this parameter is omitted, the root of the Amazon EFS volume will be used. - * Specifying / will have the same effect as omitting this parameter.

                                                            + *

                                                            Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host + * and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is + * used. If this parameter is omitted, the default value of DISABLED is used. + * For more information, see Encrypting Data in Transit in + * the Amazon Elastic File System User Guide.

                                                            */ - rootDirectory?: string; + transitEncryption?: EFSTransitEncryption | string; /** - *

                                                            Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host - * and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is - * used. If this parameter is omitted, the default value of DISABLED is used. - * For more information, see Encrypting Data in Transit in - * the Amazon Elastic File System User Guide.

                                                            + *

                                                            The directory within the Amazon EFS file system to mount as the root directory inside the + * host. If this parameter is omitted, the root of the Amazon EFS volume will be used. + * Specifying / will have the same effect as omitting this parameter.

                                                            + * + *

                                                            If an EFS access point is specified in the authorizationConfig, the + * root directory parameter must either be omitted or set to / which will + * enforce the path set on the EFS access point.

                                                            + *
                                                            */ - transitEncryption?: EFSTransitEncryption | string; + rootDirectory?: string; /** *

                                                            The authorization configuration details for the Amazon EFS file system.

                                                            @@ -4985,21 +4997,94 @@ export namespace EFSVolumeConfiguration { }); } +/** + *

                                                            The authorization configuration details for Amazon FSx for Windows File Server file system. See FSxWindowsFileServerVolumeConfiguration in the Amazon Elastic + * Container Service API Reference.

                                                            + *

                                                            For more information and the input format, see Amazon FSx for Windows File Server Volumes + * in the Amazon Elastic Container Service Developer Guide.

                                                            + */ +export interface FSxWindowsFileServerAuthorizationConfig { + /** + *

                                                            A fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted EC2 + * AD.

                                                            + */ + domain: string | undefined; + + /** + *

                                                            The authorization credential option to use.

                                                            + *

                                                            The authorization credential options can be provided using either the AWS Secrets Manager ARN or + * the AWS Systems Manager ARN. The ARNs refer to the stored credentials.

                                                            + *

                                                            + * options: + *

                                                            + * + */ + credentialsParameter: string | undefined; +} + +export namespace FSxWindowsFileServerAuthorizationConfig { + export const filterSensitiveLog = (obj: FSxWindowsFileServerAuthorizationConfig): any => ({ + ...obj, + }); +} + +/** + *

                                                            This parameter is specified when you are using Amazon FSx for Windows File Server file system for task + * storage.

                                                            + *

                                                            For more information and the input format, see Amazon FSx for Windows File Server Volumes + * in the Amazon Elastic Container Service Developer Guide.

                                                            + */ +export interface FSxWindowsFileServerVolumeConfiguration { + /** + *

                                                            The directory within the Amazon FSx for Windows File Server file system to mount as the root directory + * inside the host.

                                                            + */ + rootDirectory: string | undefined; + + /** + *

                                                            The Amazon FSx for Windows File Server file system ID to use.

                                                            + */ + fileSystemId: string | undefined; + + /** + *

                                                            The authorization configuration details for the Amazon FSx for Windows File Server file system.

                                                            + */ + authorizationConfig: FSxWindowsFileServerAuthorizationConfig | undefined; +} + +export namespace FSxWindowsFileServerVolumeConfiguration { + export const filterSensitiveLog = (obj: FSxWindowsFileServerVolumeConfiguration): any => ({ + ...obj, + }); +} + /** *

                                                            Details on a container instance bind mount host volume.

                                                            */ export interface HostVolumeProperties { /** *

                                                            When the host parameter is used, specify a sourcePath to - * declare the path on the host container instance that is presented to the container. If - * this parameter is empty, then the Docker daemon has assigned a host path for you. If the - * host parameter contains a sourcePath file location, then - * the data volume persists at the specified location on the host container instance until - * you delete it manually. If the sourcePath value does not exist on the host - * container instance, the Docker daemon creates it. If the location does exist, the - * contents of the source path folder are exported.

                                                            - *

                                                            If you are using the Fargate launch type, the sourcePath - * parameter is not supported.

                                                            + * declare the path on the host container instance that is presented to the container. If + * this parameter is empty, then the Docker daemon has assigned a host path for you. If the + * host parameter contains a sourcePath file location, then + * the data volume persists at the specified location on the host container instance until + * you delete it manually. If the sourcePath value does not exist on the host + * container instance, the Docker daemon creates it. If the location does exist, the + * contents of the source path folder are exported.

                                                            + *

                                                            If you are using the Fargate launch type, the sourcePath + * parameter is not supported.

                                                            */ sourcePath?: string; } @@ -5011,49 +5096,57 @@ export namespace HostVolumeProperties { } /** - *

                                                            A data volume used in a task definition. For tasks that use Amazon Elastic File System - * (Amazon EFS) file storage, specify an efsVolumeConfiguration. For tasks - * that use a Docker volume, specify a DockerVolumeConfiguration. For tasks - * that use a bind mount host volume, specify a host and optional - * sourcePath. For more information, see Using Data Volumes in - * Tasks.

                                                            + *

                                                            A data volume used in a task definition. For tasks that use the Amazon Elastic File + * System (Amazon EFS), specify an efsVolumeConfiguration. For Windows tasks + * that use Amazon FSx for Windows File Server file system, specify a + * fsxWindowsFileServerVolumeConfiguration. For tasks that use a Docker + * volume, specify a DockerVolumeConfiguration. For tasks that use a bind + * mount host volume, specify a host and optional sourcePath. For + * more information, see Using Data Volumes in + * Tasks.

                                                            */ export interface Volume { /** - *

                                                            This parameter is specified when you are using an Amazon Elastic File System file system for task - * storage.

                                                            + *

                                                            This parameter is specified when you are using bind mount host volumes. The contents + * of the host parameter determine whether your bind mount host volume + * persists on the host container instance and where it is stored. If the host + * parameter is empty, then the Docker daemon assigns a host path for your data volume. + * However, the data is not guaranteed to persist after the containers associated with it + * stop running.

                                                            + *

                                                            Windows containers can mount whole directories on the same drive as + * $env:ProgramData. Windows containers cannot mount directories on a + * different drive, and mount point cannot be across drives. For example, you can mount + * C:\my\path:C:\my\path and D:\:D:\, but not + * D:\my\path:C:\my\path or D:\:C:\my\path.

                                                            */ - efsVolumeConfiguration?: EFSVolumeConfiguration; + host?: HostVolumeProperties; + + /** + *

                                                            The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. This name is referenced in the + * sourceVolume parameter of container definition + * mountPoints.

                                                            + */ + name?: string; /** *

                                                            This parameter is specified when you are using Docker volumes. Docker volumes are only - * supported when you are using the EC2 launch type. Windows containers only - * support the use of the local driver. To use bind mounts, specify the - * host parameter instead.

                                                            + * supported when you are using the EC2 launch type. Windows containers only + * support the use of the local driver. To use bind mounts, specify the + * host parameter instead.

                                                            */ dockerVolumeConfiguration?: DockerVolumeConfiguration; /** - *

                                                            This parameter is specified when you are using bind mount host volumes. The contents - * of the host parameter determine whether your bind mount host volume - * persists on the host container instance and where it is stored. If the host - * parameter is empty, then the Docker daemon assigns a host path for your data volume. - * However, the data is not guaranteed to persist after the containers associated with it - * stop running.

                                                            - *

                                                            Windows containers can mount whole directories on the same drive as - * $env:ProgramData. Windows containers cannot mount directories on a - * different drive, and mount point cannot be across drives. For example, you can mount - * C:\my\path:C:\my\path and D:\:D:\, but not - * D:\my\path:C:\my\path or D:\:C:\my\path.

                                                            + *

                                                            This parameter is specified when you are using an Amazon Elastic File System file system for task + * storage.

                                                            */ - host?: HostVolumeProperties; + efsVolumeConfiguration?: EFSVolumeConfiguration; /** - *

                                                            The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed. This name is referenced in the - * sourceVolume parameter of container definition - * mountPoints.

                                                            + *

                                                            This parameter is specified when you are using Amazon FSx for Windows File Server file system for task + * storage.

                                                            */ - name?: string; + fsxWindowsFileServerVolumeConfiguration?: FSxWindowsFileServerVolumeConfiguration; } export namespace Volume { @@ -5064,67 +5157,104 @@ export namespace Volume { /** *

                                                            The details of a task definition which describes the container and volume definitions - * of an Amazon Elastic Container Service task. You can specify which Docker images to use, the required - * resources, and other configurations related to launching the task definition through an - * Amazon ECS service or task.

                                                            + * of an Amazon Elastic Container Service task. You can specify which Docker images to use, the required + * resources, and other configurations related to launching the task definition through an + * Amazon ECS service or task.

                                                            */ export interface TaskDefinition { /** - *

                                                            The name of a family that this task definition is registered to. Up to 255 letters - * (uppercase and lowercase), numbers, hyphens, and underscores are allowed.

                                                            - *

                                                            A family groups multiple versions of a task definition. Amazon ECS gives the first task - * definition that you registered to a family a revision number of 1. Amazon ECS gives - * sequential revision numbers to each task definition that you add.

                                                            + *

                                                            The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants containers in the + * task permission to call AWS APIs on your behalf. For more information, see Amazon ECS + * Task Role in the Amazon Elastic Container Service Developer Guide.

                                                            + *

                                                            IAM roles for tasks on Windows require that the -EnableTaskIAMRole option + * is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some + * configuration code in order to take advantage of the feature. For more information, see + * Windows IAM Roles + * for Tasks in the Amazon Elastic Container Service Developer Guide.

                                                            */ - family?: string; + taskRoleArn?: string; /** *

                                                            The revision of the task in a particular family. The revision is a version number of a - * task definition in a family. When you register a task definition for the first time, the - * revision is 1. Each time that you register a new revision of a task - * definition in the same family, the revision value always increases by one, even if you - * have deregistered previous revisions in this family.

                                                            + * task definition in a family. When you register a task definition for the first time, the + * revision is 1. Each time that you register a new revision of a task + * definition in the same family, the revision value always increases by one, even if you + * have deregistered previous revisions in this family.

                                                            */ revision?: number; /** - *

                                                            The launch type the task requires. If no value is specified, it will default to - * EC2. Valid values include EC2 and - * FARGATE.

                                                            + *

                                                            The status of the task definition.

                                                            */ - requiresCompatibilities?: (Compatibility | string)[]; + status?: TaskDefinitionStatus | string; /** *

                                                            The configuration details for the App Mesh proxy.

                                                            - *

                                                            Your Amazon ECS container instances require at least version 1.26.0 of the container agent - * and at least version 1.26.0-1 of the ecs-init package to enable a proxy - * configuration. If your container instances are launched from the Amazon ECS-optimized AMI - * version 20190301 or later, then they contain the required versions of the - * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                                            + *

                                                            Your Amazon ECS container instances require at least version 1.26.0 of the container agent + * and at least version 1.26.0-1 of the ecs-init package to enable a proxy + * configuration. If your container instances are launched from the Amazon ECS-optimized AMI + * version 20190301 or later, then they contain the required versions of the + * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                                            */ proxyConfiguration?: ProxyConfiguration; /** - *

                                                            The status of the task definition.

                                                            + *

                                                            An array of placement constraint objects to use for tasks. This field is not valid if + * you are using the Fargate launch type for your task.

                                                            */ - status?: TaskDefinitionStatus | string; + placementConstraints?: TaskDefinitionPlacementConstraint[]; /** - *

                                                            The full Amazon Resource Name (ARN) of the task definition.

                                                            + *

                                                            The Docker networking mode to use for the containers in the task. The valid values are + * none, bridge, awsvpc, and host. + * The default Docker network mode is bridge. If you are using the + * Fargate launch type, the awsvpc network mode is required. If + * you are using the EC2 launch type, any network mode can be used. If the network + * mode is set to none, you cannot specify port mappings in your container + * definitions, and the tasks containers do not have external connectivity. The + * host and awsvpc network modes offer the highest networking + * performance for containers because they use the EC2 network stack instead of the + * virtualized network stack provided by the bridge mode.

                                                            + *

                                                            With the host and awsvpc network modes, exposed container + * ports are mapped directly to the corresponding host port (for the host + * network mode) or the attached elastic network interface port (for the + * awsvpc network mode), so you cannot take advantage of dynamic host port + * mappings.

                                                            + *

                                                            If the network mode is awsvpc, the task is allocated an elastic network + * interface, and you must specify a NetworkConfiguration value when you create + * a service or run a task with the task definition. For more information, see Task Networking in the + * Amazon Elastic Container Service Developer Guide.

                                                            + * + *

                                                            Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants with the + * ecs-init package, or AWS Fargate infrastructure support the + * awsvpc network mode.

                                                            + *
                                                            + *

                                                            If the network mode is host, you cannot run multiple instantiations of the + * same task on a single container instance when port mappings are used.

                                                            + *

                                                            Docker for Windows uses different network modes than Docker for Linux. When you + * register a task definition with Windows containers, you must not specify a network mode. + * If you use the console to register a task definition with Windows containers, you must + * choose the network mode object.

                                                            + *

                                                            For more information, see Network + * settings in the Docker run reference.

                                                            + */ + networkMode?: NetworkMode | string; + + /** + *

                                                            The name of a family that this task definition is registered to. Up to 255 letters + * (uppercase and lowercase), numbers, hyphens, and underscores are allowed.

                                                            + *

                                                            A family groups multiple versions of a task definition. Amazon ECS gives the first task + * definition that you registered to a family a revision number of 1. Amazon ECS gives + * sequential revision numbers to each task definition that you add.

                                                            */ - taskDefinitionArn?: string; + family?: string; /** - *

                                                            The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants containers in the - * task permission to call AWS APIs on your behalf. For more information, see Amazon ECS - * Task Role in the Amazon Elastic Container Service Developer Guide.

                                                            - *

                                                            IAM roles for tasks on Windows require that the -EnableTaskIAMRole option - * is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some - * configuration code in order to take advantage of the feature. For more information, see - * Windows IAM Roles - * for Tasks in the Amazon Elastic Container Service Developer Guide.

                                                            + *

                                                            The launch type the task requires. If no value is specified, it will default to + * EC2. Valid values include EC2 and + * FARGATE.

                                                            */ - taskRoleArn?: string; + requiresCompatibilities?: (Compatibility | string)[]; /** *

                                                            The process namespace to use for the containers in the task. The valid @@ -5146,6 +5276,30 @@ export interface TaskDefinition { */ pidMode?: PidMode | string; + /** + *

                                                            The full Amazon Resource Name (ARN) of the task definition.

                                                            + */ + taskDefinitionArn?: string; + + /** + *

                                                            The launch type to use with your task. For more information, see Amazon ECS + * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                                            + */ + compatibilities?: (Compatibility | string)[]; + + /** + *

                                                            A list of container definitions in JSON format that describe the different containers + * that make up your task. For more information about container definition parameters and + * defaults, see Amazon ECS Task + * Definitions in the Amazon Elastic Container Service Developer Guide.

                                                            + */ + containerDefinitions?: ContainerDefinition[]; + + /** + *

                                                            The Elastic Inference accelerator associated with the task.

                                                            + */ + inferenceAccelerators?: InferenceAccelerator[]; + /** *

                                                            The IPC resource namespace to use for the containers in the task. The valid values are * host, task, or none. If host is @@ -5182,31 +5336,16 @@ export interface TaskDefinition { */ ipcMode?: IpcMode | string; - /** - *

                                                            The launch type to use with your task. For more information, see Amazon ECS - * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                                            - */ - compatibilities?: (Compatibility | string)[]; - - /** - *

                                                            The container instance attributes required by your task. This field is not valid if - * you are using the Fargate launch type for your task.

                                                            - */ - requiresAttributes?: Attribute[]; - - /** - *

                                                            The Elastic Inference accelerator associated with the task.

                                                            - */ - inferenceAccelerators?: InferenceAccelerator[]; - /** *

                                                            The amount (in MiB) of memory used by the task.

                                                            - *

                                                            If using the EC2 launch type, this field is optional and any value can - * be used. If a task-level memory value is specified then the container-level memory value - * is optional.

                                                            - *

                                                            If using the Fargate launch type, this field is required and you must - * use one of the following values, which determines your range of valid values for the - * cpu parameter:

                                                            + *

                                                            If using the EC2 launch type, you must specify either a task-level + * memory value or a container-level memory value. This field is optional and any value can + * be used. If a task-level memory value is specified then the container-level memory value + * is optional. For more information regarding container-level memory and memory + * reservation, see ContainerDefinition.

                                                            + *

                                                            If using the Fargate launch type, this field is required and you must + * use one of the following values, which determines your range of valid values for the + * cpu parameter:

                                                            *
                                                              *
                                                            • *

                                                              512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                                              @@ -5228,69 +5367,25 @@ export interface TaskDefinition { memory?: string; /** - *

                                                              A list of container definitions in JSON format that describe the different containers - * that make up your task. For more information about container definition parameters and - * defaults, see Amazon ECS Task - * Definitions in the Amazon Elastic Container Service Developer Guide.

                                                              - */ - containerDefinitions?: ContainerDefinition[]; - - /** - *

                                                              The Docker networking mode to use for the containers in the task. The valid values are - * none, bridge, awsvpc, and host. - * The default Docker network mode is bridge. If you are using the - * Fargate launch type, the awsvpc network mode is required. If - * you are using the EC2 launch type, any network mode can be used. If the network - * mode is set to none, you cannot specify port mappings in your container - * definitions, and the tasks containers do not have external connectivity. The - * host and awsvpc network modes offer the highest networking - * performance for containers because they use the EC2 network stack instead of the - * virtualized network stack provided by the bridge mode.

                                                              - *

                                                              With the host and awsvpc network modes, exposed container - * ports are mapped directly to the corresponding host port (for the host - * network mode) or the attached elastic network interface port (for the - * awsvpc network mode), so you cannot take advantage of dynamic host port - * mappings.

                                                              - *

                                                              If the network mode is awsvpc, the task is allocated an elastic network - * interface, and you must specify a NetworkConfiguration value when you create - * a service or run a task with the task definition. For more information, see Task Networking in the - * Amazon Elastic Container Service Developer Guide.

                                                              - * - *

                                                              Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants with the - * ecs-init package, or AWS Fargate infrastructure support the - * awsvpc network mode.

                                                              - *
                                                              - *

                                                              If the network mode is host, you cannot run multiple instantiations of the - * same task on a single container instance when port mappings are used.

                                                              - *

                                                              Docker for Windows uses different network modes than Docker for Linux. When you - * register a task definition with Windows containers, you must not specify a network mode. - * If you use the console to register a task definition with Windows containers, you must - * choose the network mode object.

                                                              - *

                                                              For more information, see Network - * settings in the Docker run reference.

                                                              - */ - networkMode?: NetworkMode | string; - - /** - *

                                                              An array of placement constraint objects to use for tasks. This field is not valid if - * you are using the Fargate launch type for your task.

                                                              + *

                                                              The container instance attributes required by your task. This field is not valid if + * you are using the Fargate launch type for your task.

                                                              */ - placementConstraints?: TaskDefinitionPlacementConstraint[]; + requiresAttributes?: Attribute[]; /** - *

                                                              The list of volume definitions for the task.

                                                              - *

                                                              If your tasks are using the Fargate launch type, the host - * and sourcePath parameters are not supported.

                                                              - *

                                                              For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon Elastic Container Service Developer Guide.

                                                              + *

                                                              The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent + * permission to make AWS API calls on your behalf. The task execution IAM role is required + * depending on the requirements of your task. For more information, see Amazon ECS task + * execution IAM role in the Amazon Elastic Container Service Developer Guide.

                                                              */ - volumes?: Volume[]; + executionRoleArn?: string; /** *

                                                              The number of cpu units used by the task. If you are using the EC2 launch - * type, this field is optional and any value can be used. If you are using the Fargate - * launch type, this field is required and you must use one of the following values, which - * determines your range of valid values for the memory parameter:

                                                              - *
                                                                + * type, this field is optional and any value can be used. If you are using the Fargate + * launch type, this field is required and you must use one of the following values, which + * determines your range of valid values for the memory parameter:

                                                                + *
                                                                  *
                                                                • *

                                                                  256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                                                  *
                                                                • @@ -5311,12 +5406,12 @@ export interface TaskDefinition { cpu?: string; /** - *

                                                                  The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent - * permission to make AWS API calls on your behalf. The task execution IAM role is required - * depending on the requirements of your task. For more information, see Amazon ECS task - * execution IAM role in the Amazon Elastic Container Service Developer Guide.

                                                                  + *

                                                                  The list of volume definitions for the task.

                                                                  + *

                                                                  If your tasks are using the Fargate launch type, the host + * and sourcePath parameters are not supported.

                                                                  + *

                                                                  For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon Elastic Container Service Developer Guide.

                                                                  */ - executionRoleArn?: string; + volumes?: Volume[]; } export namespace TaskDefinition { @@ -5345,41 +5440,41 @@ export enum CapacityProviderField { export interface DescribeCapacityProvidersRequest { /** *

                                                                  The maximum number of account setting results returned by - * DescribeCapacityProviders in paginated output. When this parameter is - * used, DescribeCapacityProviders only returns maxResults - * results in a single page along with a nextToken response element. The - * remaining results of the initial request can be seen by sending another - * DescribeCapacityProviders request with the returned - * nextToken value. This value can be between - * 1 and 10. If this - * parameter is not used, then DescribeCapacityProviders returns up to - * 10 results and a nextToken value - * if applicable.

                                                                  + * DescribeCapacityProviders in paginated output. When this parameter is + * used, DescribeCapacityProviders only returns maxResults + * results in a single page along with a nextToken response element. The + * remaining results of the initial request can be seen by sending another + * DescribeCapacityProviders request with the returned + * nextToken value. This value can be between + * 1 and 10. If this + * parameter is not used, then DescribeCapacityProviders returns up to + * 10 results and a nextToken value + * if applicable.

                                                                  */ maxResults?: number; + /** + *

                                                                  The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to + * 100 capacity providers can be described in an action.

                                                                  + */ + capacityProviders?: string[]; + /** *

                                                                  The nextToken value returned from a previous paginated - * DescribeCapacityProviders request where maxResults was - * used and the results exceeded the value of that parameter. Pagination continues from the - * end of the previous results that returned the nextToken value.

                                                                  - * + * DescribeCapacityProviders request where maxResults was + * used and the results exceeded the value of that parameter. Pagination continues from the + * end of the previous results that returned the nextToken value.

                                                                  + * *

                                                                  This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                  *
                                                                  */ nextToken?: string; - /** - *

                                                                  The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to - * 100 capacity providers can be described in an action.

                                                                  - */ - capacityProviders?: string[]; - /** *

                                                                  Specifies whether or not you want to see the resource tags for the capacity provider. - * If TAGS is specified, the tags are included in the response. If this field - * is omitted, tags are not included in the response.

                                                                  + * If TAGS is specified, the tags are included in the response. If this field + * is omitted, tags are not included in the response.

                                                                  */ include?: (CapacityProviderField | string)[]; } @@ -5391,14 +5486,10 @@ export namespace DescribeCapacityProvidersRequest { } /** - *

                                                                  A failed resource.

                                                                  + *

                                                                  A failed resource. For a list of common causes, see API failure + * reasons in the Amazon Elastic Container Service Developer Guide.

                                                                  */ export interface Failure { - /** - *

                                                                  The Amazon Resource Name (ARN) of the failed resource.

                                                                  - */ - arn?: string; - /** *

                                                                  The reason for the failure.

                                                                  */ @@ -5408,6 +5499,11 @@ export interface Failure { *

                                                                  The details of the failure.

                                                                  */ detail?: string; + + /** + *

                                                                  The Amazon Resource Name (ARN) of the failed resource.

                                                                  + */ + arn?: string; } export namespace Failure { @@ -5423,18 +5519,18 @@ export interface DescribeCapacityProvidersResponse { capacityProviders?: CapacityProvider[]; /** - *

                                                                  Any failures associated with the call.

                                                                  + *

                                                                  The nextToken value to include in a future + * DescribeCapacityProviders request. When the results of a + * DescribeCapacityProviders request exceed maxResults, this + * value can be used to retrieve the next page of results. This value is null + * when there are no more results to return.

                                                                  */ - failures?: Failure[]; + nextToken?: string; /** - *

                                                                  The nextToken value to include in a future - * DescribeCapacityProviders request. When the results of a - * DescribeCapacityProviders request exceed maxResults, this - * value can be used to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                  + *

                                                                  Any failures associated with the call.

                                                                  */ - nextToken?: string; + failures?: Failure[]; } export namespace DescribeCapacityProvidersResponse { @@ -5453,47 +5549,47 @@ export enum ClusterField { export interface DescribeClustersRequest { /** *

                                                                  A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. - * If you do not specify a cluster, the default cluster is assumed.

                                                                  + * If you do not specify a cluster, the default cluster is assumed.

                                                                  */ clusters?: string[]; /** *

                                                                  Whether to include additional information about your clusters in the response. If this - * field is omitted, the attachments, statistics, and tags are not included.

                                                                  - *

                                                                  If ATTACHMENTS is specified, the attachments for the container instances - * or tasks within the cluster are included.

                                                                  - *

                                                                  If SETTINGS is specified, the settings for the cluster are - * included.

                                                                  - *

                                                                  If STATISTICS is specified, the following additional information, - * separated by launch type, is included:

                                                                  - *
                                                                    + * field is omitted, the attachments, statistics, and tags are not included.

                                                                    + *

                                                                    If ATTACHMENTS is specified, the attachments for the container instances + * or tasks within the cluster are included.

                                                                    + *

                                                                    If SETTINGS is specified, the settings for the cluster are + * included.

                                                                    + *

                                                                    If STATISTICS is specified, the following additional information, + * separated by launch type, is included:

                                                                    + *
                                                                      *
                                                                    • - *

                                                                      runningEC2TasksCount

                                                                      - *
                                                                    • + *

                                                                      runningEC2TasksCount

                                                                      + * *
                                                                    • - *

                                                                      runningFargateTasksCount

                                                                      - *
                                                                    • + *

                                                                      runningFargateTasksCount

                                                                      + * *
                                                                    • - *

                                                                      pendingEC2TasksCount

                                                                      - *
                                                                    • + *

                                                                      pendingEC2TasksCount

                                                                      + * *
                                                                    • - *

                                                                      pendingFargateTasksCount

                                                                      - *
                                                                    • + *

                                                                      pendingFargateTasksCount

                                                                      + * *
                                                                    • - *

                                                                      activeEC2ServiceCount

                                                                      - *
                                                                    • + *

                                                                      activeEC2ServiceCount

                                                                      + * *
                                                                    • - *

                                                                      activeFargateServiceCount

                                                                      - *
                                                                    • + *

                                                                      activeFargateServiceCount

                                                                      + * *
                                                                    • - *

                                                                      drainingEC2ServiceCount

                                                                      - *
                                                                    • + *

                                                                      drainingEC2ServiceCount

                                                                      + * *
                                                                    • - *

                                                                      drainingFargateServiceCount

                                                                      - *
                                                                    • + *

                                                                      drainingFargateServiceCount

                                                                      + * *
                                                                    - *

                                                                    If TAGS is specified, the metadata tags associated with the cluster are - * included.

                                                                    + *

                                                                    If TAGS is specified, the metadata tags associated with the cluster are + * included.

                                                                    */ include?: (ClusterField | string)[]; } @@ -5528,19 +5624,19 @@ export enum ContainerInstanceField { export interface DescribeContainerInstancesRequest { /** - *

                                                                    The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to - * describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance - * or container instances you are describing were launched in any cluster other than the - * default cluster.

                                                                    + *

                                                                    Specifies whether you want to see the resource tags for the container instance. If + * TAGS is specified, the tags are included in the response. If this field + * is omitted, tags are not included in the response.

                                                                    */ - cluster?: string; + include?: (ContainerInstanceField | string)[]; /** - *

                                                                    Specifies whether you want to see the resource tags for the container instance. If - * TAGS is specified, the tags are included in the response. If this field - * is omitted, tags are not included in the response.

                                                                    + *

                                                                    The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to + * describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance + * or container instances you are describing were launched in any cluster other than the + * default cluster.

                                                                    */ - include?: (ContainerInstanceField | string)[]; + cluster?: string; /** *

                                                                    A list of up to 100 container instance IDs or full Amazon Resource Name (ARN) entries.

                                                                    @@ -5556,14 +5652,14 @@ export namespace DescribeContainerInstancesRequest { export interface DescribeContainerInstancesResponse { /** - *

                                                                    Any failures associated with the call.

                                                                    + *

                                                                    The list of container instances.

                                                                    */ - failures?: Failure[]; + containerInstances?: ContainerInstance[]; /** - *

                                                                    The list of container instances.

                                                                    + *

                                                                    Any failures associated with the call.

                                                                    */ - containerInstances?: ContainerInstance[]; + failures?: Failure[]; } export namespace DescribeContainerInstancesResponse { @@ -5578,22 +5674,22 @@ export enum ServiceField { export interface DescribeServicesRequest { /** - *

                                                                    Specifies whether you want to see the resource tags for the service. If - * TAGS is specified, the tags are included in the response. If this field - * is omitted, tags are not included in the response.

                                                                    + *

                                                                    A list of services to describe. You may specify up to 10 services to describe in a + * single operation.

                                                                    */ - include?: (ServiceField | string)[]; + services: string[] | undefined; /** - *

                                                                    A list of services to describe. You may specify up to 10 services to describe in a - * single operation.

                                                                    + *

                                                                    Specifies whether you want to see the resource tags for the service. If + * TAGS is specified, the tags are included in the response. If this field + * is omitted, tags are not included in the response.

                                                                    */ - services: string[] | undefined; + include?: (ServiceField | string)[]; /** *

                                                                    The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. - * If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are - * describing were launched in any cluster other than the default cluster.

                                                                    + * If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are + * describing were launched in any cluster other than the default cluster.

                                                                    */ cluster?: string; } @@ -5606,14 +5702,14 @@ export namespace DescribeServicesRequest { export interface DescribeServicesResponse { /** - *

                                                                    Any failures associated with the call.

                                                                    + *

                                                                    The list of services described.

                                                                    */ - failures?: Failure[]; + services?: Service[]; /** - *

                                                                    The list of services described.

                                                                    + *

                                                                    Any failures associated with the call.

                                                                    */ - services?: Service[]; + failures?: Failure[]; } export namespace DescribeServicesResponse { @@ -5628,19 +5724,19 @@ export enum TaskDefinitionField { export interface DescribeTaskDefinitionRequest { /** - *

                                                                    The family for the latest ACTIVE revision, - * family and revision (family:revision) for a - * specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to - * describe.

                                                                    + *

                                                                    Specifies whether to see the resource tags for the task definition. If + * TAGS is specified, the tags are included in the response. If this field + * is omitted, tags are not included in the response.

                                                                    */ - taskDefinition: string | undefined; + include?: (TaskDefinitionField | string)[]; /** - *

                                                                    Specifies whether to see the resource tags for the task definition. If - * TAGS is specified, the tags are included in the response. If this field - * is omitted, tags are not included in the response.

                                                                    + *

                                                                    The family for the latest ACTIVE revision, + * family and revision (family:revision) for a + * specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to + * describe.

                                                                    */ - include?: (TaskDefinitionField | string)[]; + taskDefinition: string | undefined; } export namespace DescribeTaskDefinitionRequest { @@ -5657,8 +5753,8 @@ export interface DescribeTaskDefinitionResponse { /** *

                                                                    The metadata that is applied to the task definition to help you categorize and - * organize them. Each tag consists of a key and an optional value, both of which you - * define.

                                                                    + * organize them. Each tag consists of a key and an optional value, both of which you + * define.

                                                                    *

                                                                    The following basic restrictions apply to tags:

                                                                    *
                                                                      *
                                                                    • @@ -5706,11 +5802,11 @@ export enum TaskField { export interface DescribeTasksRequest { /** - *

                                                                      Specifies whether you want to see the resource tags for the task. If TAGS - * is specified, the tags are included in the response. If this field is omitted, tags are - * not included in the response.

                                                                      + *

                                                                      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to + * describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you + * are describing were launched in any cluster other than the default cluster.

                                                                      */ - include?: (TaskField | string)[]; + cluster?: string; /** *

                                                                      A list of up to 100 task IDs or full ARN entries.

                                                                      @@ -5718,11 +5814,11 @@ export interface DescribeTasksRequest { tasks: string[] | undefined; /** - *

                                                                      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to - * describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you - * are describing were launched in any cluster other than the default cluster.

                                                                      + *

                                                                      Specifies whether you want to see the resource tags for the task. If TAGS + * is specified, the tags are included in the response. If this field is omitted, tags are + * not included in the response.

                                                                      */ - cluster?: string; + include?: (TaskField | string)[]; } export namespace DescribeTasksRequest { @@ -5744,20 +5840,20 @@ export enum HealthStatus { /** *

                                                                      Details on the network bindings between a container and its host container instance. - * After a task reaches the RUNNING status, manual and automatic host and - * container port assignments are visible in the networkBindings section of - * DescribeTasks API responses.

                                                                      + * After a task reaches the RUNNING status, manual and automatic host and + * container port assignments are visible in the networkBindings section of + * DescribeTasks API responses.

                                                                      */ export interface NetworkBinding { /** - *

                                                                      The port number on the container that is used with the network binding.

                                                                      + *

                                                                      The port number on the host that is used with the network binding.

                                                                      */ - containerPort?: number; + hostPort?: number; /** - *

                                                                      The port number on the host that is used with the network binding.

                                                                      + *

                                                                      The port number on the container that is used with the network binding.

                                                                      */ - hostPort?: number; + containerPort?: number; /** *

                                                                      The IP address that the container is bound to on the container instance.

                                                                      @@ -5778,7 +5874,7 @@ export namespace NetworkBinding { /** *

                                                                      An object representing the elastic network interface for tasks that use the - * awsvpc network mode.

                                                                      + * awsvpc network mode.

                                                                      */ export interface NetworkInterface { /** @@ -5808,26 +5904,26 @@ export namespace NetworkInterface { */ export interface Container { /** - *

                                                                      The number of CPU units set for the container. The value will be 0 if no - * value was specified in the container definition when the task definition was - * registered.

                                                                      + *

                                                                      The network bindings associated with the container.

                                                                      */ - cpu?: string; + networkBindings?: NetworkBinding[]; /** - *

                                                                      The network bindings associated with the container.

                                                                      + *

                                                                      The soft limit (in MiB) of memory set for the container.

                                                                      */ - networkBindings?: NetworkBinding[]; + memoryReservation?: string; /** - *

                                                                      The IDs of each GPU assigned to the container.

                                                                      + *

                                                                      The number of CPU units set for the container. The value will be 0 if no + * value was specified in the container definition when the task definition was + * registered.

                                                                      */ - gpuIds?: string[]; + cpu?: string; /** - *

                                                                      The soft limit (in MiB) of memory set for the container.

                                                                      + *

                                                                      The hard limit (in MiB) of memory set for the container.

                                                                      */ - memoryReservation?: string; + memory?: string; /** *

                                                                      The image used for the container.

                                                                      @@ -5835,26 +5931,24 @@ export interface Container { image?: string; /** - *

                                                                      The container image manifest digest.

                                                                      - * - *

                                                                      The imageDigest is only returned if the container is using an image - * hosted in Amazon ECR, otherwise it is omitted.

                                                                      - *
                                                                      + *

                                                                      A short (255 max characters) human-readable string to provide additional details about + * a running or stopped container.

                                                                      */ - imageDigest?: string; + reason?: string; /** - *

                                                                      A short (255 max characters) human-readable string to provide additional details about - * a running or stopped container.

                                                                      + *

                                                                      The container image manifest digest.

                                                                      + * + *

                                                                      The imageDigest is only returned if the container is using an image + * hosted in Amazon ECR, otherwise it is omitted.

                                                                      + *
                                                                      */ - reason?: string; + imageDigest?: string; /** - *

                                                                      The health status of the container. If health checks are not configured for this - * container in its task definition, then it reports the health status as - * UNKNOWN.

                                                                      + *

                                                                      The IDs of each GPU assigned to the container.

                                                                      */ - healthStatus?: HealthStatus | string; + gpuIds?: string[]; /** *

                                                                      The ID of the Docker container.

                                                                      @@ -5862,14 +5956,16 @@ export interface Container { runtimeId?: string; /** - *

                                                                      The name of the container.

                                                                      + *

                                                                      The Amazon Resource Name (ARN) of the container.

                                                                      */ - name?: string; + containerArn?: string; /** - *

                                                                      The Amazon Resource Name (ARN) of the container.

                                                                      + *

                                                                      The health status of the container. If health checks are not configured for this + * container in its task definition, then it reports the health status as + * UNKNOWN.

                                                                      */ - containerArn?: string; + healthStatus?: HealthStatus | string; /** *

                                                                      The ARN of the task.

                                                                      @@ -5877,14 +5973,14 @@ export interface Container { taskArn?: string; /** - *

                                                                      The hard limit (in MiB) of memory set for the container.

                                                                      + *

                                                                      The network interfaces associated with the container.

                                                                      */ - memory?: string; + networkInterfaces?: NetworkInterface[]; /** - *

                                                                      The network interfaces associated with the container.

                                                                      + *

                                                                      The name of the container.

                                                                      */ - networkInterfaces?: NetworkInterface[]; + name?: string; /** *

                                                                      The last known status of the container.

                                                                      @@ -5905,59 +6001,59 @@ export namespace Container { /** *

                                                                      The overrides that should be sent to a container. An empty container override can be - * passed in. An example of an empty container override would be - * {"containerOverrides": [ ] }. If a non-empty container override is - * specified, the name parameter must be included.

                                                                      + * passed in. An example of an empty container override would be + * {"containerOverrides": [ ] }. If a non-empty container override is + * specified, the name parameter must be included.

                                                                      */ export interface ContainerOverride { /** *

                                                                      The number of cpu units reserved for the container, instead of the - * default value from the task definition. You must also specify a container name.

                                                                      + * default value from the task definition. You must also specify a container name.

                                                                      */ cpu?: number; - /** - *

                                                                      The name of the container that receives the override. This parameter is required if - * any override is specified.

                                                                      - */ - name?: string; - /** *

                                                                      The command to send to the container that overrides the default command from the - * Docker image or the task definition. You must also specify a container name.

                                                                      + * Docker image or the task definition. You must also specify a container name.

                                                                      */ command?: string[]; /** *

                                                                      The soft limit (in MiB) of memory to reserve for the container, instead of the default - * value from the task definition. You must also specify a container name.

                                                                      + * value from the task definition. You must also specify a container name.

                                                                      */ memoryReservation?: number; /** *

                                                                      The type and amount of a resource to assign to a container, instead of the default - * value from the task definition. The only supported resource is a GPU.

                                                                      + * value from the task definition. The only supported resource is a GPU.

                                                                      */ resourceRequirements?: ResourceRequirement[]; /** - *

                                                                      The hard limit (in MiB) of memory to present to the container, instead of the default - * value from the task definition. If your container attempts to exceed the memory - * specified here, the container is killed. You must also specify a container name.

                                                                      + *

                                                                      The name of the container that receives the override. This parameter is required if + * any override is specified.

                                                                      */ - memory?: number; + name?: string; /** *

                                                                      A list of files containing the environment variables to pass to a container, instead - * of the value from the container definition.

                                                                      + * of the value from the container definition.

                                                                      */ environmentFiles?: EnvironmentFile[]; + /** + *

                                                                      The hard limit (in MiB) of memory to present to the container, instead of the default + * value from the task definition. If your container attempts to exceed the memory + * specified here, the container is killed. You must also specify a container name.

                                                                      + */ + memory?: number; + /** *

                                                                      The environment variables to send to the container. You can add new environment - * variables, which are added to the container at launch, or you can override the existing - * environment variables from the Docker image or the task definition. You must also - * specify a container name.

                                                                      + * variables, which are added to the container at launch, or you can override the existing + * environment variables from the Docker image or the task definition. You must also + * specify a container name.

                                                                      */ environment?: KeyValuePair[]; } @@ -5970,14 +6066,14 @@ export namespace ContainerOverride { /** *

                                                                      Details on an Elastic Inference accelerator task override. This parameter is used to - * override the Elastic Inference accelerator specified in the task definition. For more - * information, see Working with Amazon Elastic Inference on Amazon ECS in the - * Amazon Elastic Container Service Developer Guide.

                                                                      + * override the Elastic Inference accelerator specified in the task definition. For more + * information, see Working with Amazon Elastic Inference on Amazon ECS in the + * Amazon Elastic Container Service Developer Guide.

                                                                      */ export interface InferenceAcceleratorOverride { /** *

                                                                      The Elastic Inference accelerator device name to override for the task. This parameter - * must match a deviceName specified in the task definition.

                                                                      + * must match a deviceName specified in the task definition.

                                                                      */ deviceName?: string; @@ -6003,9 +6099,9 @@ export interface TaskOverride { containerOverrides?: ContainerOverride[]; /** - *

                                                                      The cpu override for the task.

                                                                      + *

                                                                      The memory override for the task.

                                                                      */ - cpu?: string; + memory?: string; /** *

                                                                      The Amazon Resource Name (ARN) of the task execution IAM role override for the task.

                                                                      @@ -6013,20 +6109,20 @@ export interface TaskOverride { executionRoleArn?: string; /** - *

                                                                      The Elastic Inference accelerator override for the task.

                                                                      + *

                                                                      The cpu override for the task.

                                                                      */ - inferenceAcceleratorOverrides?: InferenceAcceleratorOverride[]; + cpu?: string; /** *

                                                                      The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers - * in this task are granted the permissions that are specified in this role.

                                                                      + * in this task are granted the permissions that are specified in this role.

                                                                      */ taskRoleArn?: string; /** - *

                                                                      The memory override for the task.

                                                                      + *

                                                                      The Elastic Inference accelerator override for the task.

                                                                      */ - memory?: string; + inferenceAcceleratorOverrides?: InferenceAcceleratorOverride[]; } export namespace TaskOverride { @@ -6050,24 +6146,12 @@ export interface Task { */ taskArn?: string; - /** - *

                                                                      The launch type on which your task is running. For more information, see Amazon ECS - * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                                                      - */ - launchType?: LaunchType | string; - - /** - *

                                                                      The Elastic Network Adapter associated with the task if the task uses the - * awsvpc network mode.

                                                                      - */ - attachments?: Attachment[]; - /** *

                                                                      The platform version on which your task is running. A platform version is only - * specified for tasks using the Fargate launch type. If one is not - * specified, the LATEST platform version is used by default. For more - * information, see AWS Fargate Platform - * Versions in the Amazon Elastic Container Service Developer Guide.

                                                                      + * specified for tasks using the Fargate launch type. If one is not + * specified, the LATEST platform version is used by default. For more + * information, see AWS Fargate Platform + * Versions in the Amazon Elastic Container Service Developer Guide.

                                                                      */ platformVersion?: string; @@ -6093,133 +6177,140 @@ export interface Task { /** *

                                                                      The Unix timestamp for when the task started (the task transitioned from the - * PENDING state to the RUNNING state).

                                                                      + * PENDING state to the RUNNING state).

                                                                      */ startedAt?: Date; /** - *

                                                                      The reason that the task was stopped.

                                                                      + *

                                                                      The number of CPU units used by the task as expressed in a task definition. It can be + * expressed as an integer using CPU units, for example 1024. It can also be + * expressed as a string using vCPUs, for example 1 vCPU or 1 + * vcpu. String values are converted to an integer indicating the CPU units when + * the task definition is registered.

                                                                      + *

                                                                      If you are using the EC2 launch type, this field is optional. Supported + * values are between 128 CPU units (0.125 vCPUs) and + * 10240 CPU units (10 vCPUs).

                                                                      + *

                                                                      If you are using the Fargate launch type, this field is required and you + * must use one of the following values, which determines your range of supported values + * for the memory parameter:

                                                                      + *
                                                                        + *
                                                                      • + *

                                                                        256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

                                                                        + *
                                                                      • + *
                                                                      • + *

                                                                        4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

                                                                        + *
                                                                      • + *
                                                                      */ - stoppedReason?: string; + cpu?: string; /** - *

                                                                      The containers associated with the task.

                                                                      + *

                                                                      The Unix timestamp for when the container image pull began.

                                                                      */ - containers?: Container[]; + pullStartedAt?: Date; /** - *

                                                                      The attributes of the task

                                                                      + *

                                                                      The Unix timestamp for when the task was created (the task entered the + * PENDING state).

                                                                      */ - attributes?: Attribute[]; + createdAt?: Date; /** - *

                                                                      The ARN of the task definition that creates the task.

                                                                      + *

                                                                      The Elastic Inference accelerator associated with the task.

                                                                      */ - taskDefinitionArn?: string; + inferenceAccelerators?: InferenceAccelerator[]; /** - *

                                                                      The last known status of the task. For more information, see Task - * Lifecycle.

                                                                      + *

                                                                      The ARN of the container instances that host the task.

                                                                      */ - lastStatus?: string; + containerInstanceArn?: string; /** - *

                                                                      The stop code indicating why a task was stopped. The stoppedReason may - * contain additional details.

                                                                      + *

                                                                      The launch type on which your task is running. For more information, see Amazon ECS + * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                                                      */ - stopCode?: TaskStopCode | string; + launchType?: LaunchType | string; /** - *

                                                                      The Unix timestamp for when the task stops (transitions from the RUNNING - * state to STOPPED).

                                                                      + *

                                                                      The Elastic Network Adapter associated with the task if the task uses the + * awsvpc network mode.

                                                                      */ - stoppingAt?: Date; + attachments?: Attachment[]; /** - *

                                                                      The amount of memory (in MiB) used by the task as expressed in a task definition. It - * can be expressed as an integer using MiB, for example 1024. It can also be - * expressed as a string using GB, for example 1GB or 1 GB. - * String values are converted to an integer indicating the MiB when the task definition is - * registered.

                                                                      - *

                                                                      If you are using the EC2 launch type, this field is optional.

                                                                      - *

                                                                      If you are using the Fargate launch type, this field is required and you - * must use one of the following values, which determines your range of supported values - * for the cpu parameter:

                                                                      - *
                                                                        - *
                                                                      • - *

                                                                        512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                                                        - *
                                                                      • - *
                                                                      • - *

                                                                        1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                                                        - *
                                                                      • - *
                                                                      • - *

                                                                        2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                                                        - *
                                                                      • - *
                                                                      • - *

                                                                        Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                                                        - *
                                                                      • - *
                                                                      • - *

                                                                        Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

                                                                        - *
                                                                      • - *
                                                                      + *

                                                                      The name of the task group associated with the task.

                                                                      */ - memory?: string; + group?: string; /** - *

                                                                      One or more container overrides.

                                                                      + *

                                                                      The desired status of the task. For more information, see Task + * Lifecycle.

                                                                      */ - overrides?: TaskOverride; + desiredStatus?: string; /** - *

                                                                      The Unix timestamp for when the task last went into CONNECTED - * status.

                                                                      + *

                                                                      The tag specified when a task is started. If the task is started by an Amazon ECS service, + * then the startedBy parameter contains the deployment ID of the service that + * starts it.

                                                                      */ - connectivityAt?: Date; + startedBy?: string; /** - *

                                                                      The desired status of the task. For more information, see Task - * Lifecycle.

                                                                      + *

                                                                      The Unix timestamp for when the container image pull completed.

                                                                      */ - desiredStatus?: string; + pullStoppedAt?: Date; /** - *

                                                                      The Elastic Inference accelerator associated with the task.

                                                                      + *

                                                                      The connectivity status of a task.

                                                                      */ - inferenceAccelerators?: InferenceAccelerator[]; + connectivity?: Connectivity | string; /** - *

                                                                      The tag specified when a task is started. If the task is started by an Amazon ECS service, - * then the startedBy parameter contains the deployment ID of the service that - * starts it.

                                                                      + *

                                                                      The Unix timestamp for when the task last went into CONNECTED + * status.

                                                                      */ - startedBy?: string; + connectivityAt?: Date; /** - *

                                                                      The Unix timestamp for when the container image pull completed.

                                                                      + *

                                                                      The health status for the task, which is determined by the health of the essential + * containers in the task. If all essential containers in the task are reporting as + * HEALTHY, then the task status also reports as HEALTHY. If + * any essential containers in the task are reporting as UNHEALTHY or + * UNKNOWN, then the task status also reports as UNHEALTHY or + * UNKNOWN, accordingly.

                                                                      + * + *

                                                                      The Amazon ECS container agent does not monitor or report on Docker health checks that + * are embedded in a container image (such as those specified in a parent image or from + * the image's Dockerfile) and not specified in the container definition. Health check + * parameters that are specified in a container definition override any Docker health + * checks that exist in the container image.

                                                                      + *
                                                                      */ - pullStoppedAt?: Date; + healthStatus?: HealthStatus | string; /** - *

                                                                      The health status for the task, which is determined by the health of the essential - * containers in the task. If all essential containers in the task are reporting as - * HEALTHY, then the task status also reports as HEALTHY. If - * any essential containers in the task are reporting as UNHEALTHY or - * UNKNOWN, then the task status also reports as UNHEALTHY or - * UNKNOWN, accordingly.

                                                                      - * - *

                                                                      The Amazon ECS container agent does not monitor or report on Docker health checks that - * are embedded in a container image (such as those specified in a parent image or from - * the image's Dockerfile) and not specified in the container definition. Health check - * parameters that are specified in a container definition override any Docker health - * checks that exist in the container image.

                                                                      - *
                                                                      + *

                                                                      The version counter for the task. Every time a task experiences a change that triggers + * a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task + * state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API + * actions with the version reported in CloudWatch Events for the task (inside the + * detail object) to verify that the version in your event stream is + * current.

                                                                      */ - healthStatus?: HealthStatus | string; + version?: number; /** *

                                                                      The metadata that you apply to the task to help you categorize and organize them. Each - * tag consists of a key and an optional value, both of which you define.

                                                                      - *

                                                                      The following basic restrictions apply to tags:

                                                                      + * tag consists of a key and an optional value, both of which you define.

                                                                      + *

                                                                      The following basic restrictions apply to tags:

                                                                      *
                                                                        *
                                                                      • *

                                                                        Maximum number of tags per resource - 50

                                                                        @@ -6254,78 +6345,83 @@ export interface Task { tags?: Tag[]; /** - *

                                                                        The version counter for the task. Every time a task experiences a change that triggers - * a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task - * state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API - * actions with the version reported in CloudWatch Events for the task (inside the - * detail object) to verify that the version in your event stream is - * current.

                                                                        + *

                                                                        One or more container overrides.

                                                                        */ - version?: number; + overrides?: TaskOverride; /** *

                                                                        The Unix timestamp for when the task was stopped (the task transitioned from the - * RUNNING state to the STOPPED state).

                                                                        + * RUNNING state to the STOPPED state).

                                                                        */ stoppedAt?: Date; /** - *

                                                                        The number of CPU units used by the task as expressed in a task definition. It can be - * expressed as an integer using CPU units, for example 1024. It can also be - * expressed as a string using vCPUs, for example 1 vCPU or 1 - * vcpu. String values are converted to an integer indicating the CPU units when - * the task definition is registered.

                                                                        - *

                                                                        If you are using the EC2 launch type, this field is optional. Supported - * values are between 128 CPU units (0.125 vCPUs) and - * 10240 CPU units (10 vCPUs).

                                                                        - *

                                                                        If you are using the Fargate launch type, this field is required and you - * must use one of the following values, which determines your range of supported values - * for the memory parameter:

                                                                        + *

                                                                        The attributes of the task

                                                                        + */ + attributes?: Attribute[]; + + /** + *

                                                                        The reason that the task was stopped.

                                                                        + */ + stoppedReason?: string; + + /** + *

                                                                        The containers associated with the task.

                                                                        + */ + containers?: Container[]; + + /** + *

                                                                        The ARN of the task definition that creates the task.

                                                                        + */ + taskDefinitionArn?: string; + + /** + *

                                                                        The amount of memory (in MiB) used by the task as expressed in a task definition. It + * can be expressed as an integer using MiB, for example 1024. It can also be + * expressed as a string using GB, for example 1GB or 1 GB. + * String values are converted to an integer indicating the MiB when the task definition is + * registered.

                                                                        + *

                                                                        If you are using the EC2 launch type, this field is optional.

                                                                        + *

                                                                        If you are using the Fargate launch type, this field is required and you + * must use one of the following values, which determines your range of supported values + * for the cpu parameter:

                                                                        *
                                                                          *
                                                                        • - *

                                                                          256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                                                          + *

                                                                          512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

                                                                          + *

                                                                          1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

                                                                          + *

                                                                          2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

                                                                          + *

                                                                          Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

                                                                          + *

                                                                          Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

                                                                          *
                                                                        • *
                                                                        */ - cpu?: string; - - /** - *

                                                                        The Unix timestamp for when the container image pull began.

                                                                        - */ - pullStartedAt?: Date; - - /** - *

                                                                        The connectivity status of a task.

                                                                        - */ - connectivity?: Connectivity | string; + memory?: string; /** - *

                                                                        The Unix timestamp for when the task was created (the task entered the - * PENDING state).

                                                                        + *

                                                                        The last known status of the task. For more information, see Task + * Lifecycle.

                                                                        */ - createdAt?: Date; + lastStatus?: string; /** - *

                                                                        The name of the task group associated with the task.

                                                                        + *

                                                                        The Unix timestamp for when the task stops (transitions from the RUNNING + * state to STOPPED).

                                                                        */ - group?: string; + stoppingAt?: Date; /** - *

                                                                        The ARN of the container instances that host the task.

                                                                        + *

                                                                        The stop code indicating why a task was stopped. The stoppedReason may + * contain additional details.

                                                                        */ - containerInstanceArn?: string; + stopCode?: TaskStopCode | string; } export namespace Task { @@ -6358,28 +6454,28 @@ export enum TaskSetField { export interface DescribeTaskSetsRequest { /** - *

                                                                        Specifies whether to see the resource tags for the task set. If TAGS is - * specified, the tags are included in the response. If this field is omitted, tags are not - * included in the response.

                                                                        + *

                                                                        The ID or full Amazon Resource Name (ARN) of task sets to + * describe.

                                                                        */ - include?: (TaskSetField | string)[]; + taskSets?: string[]; /** *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task - * sets exist in.

                                                                        + * sets exist in.

                                                                        */ cluster: string | undefined; /** - *

                                                                        The ID or full Amazon Resource Name (ARN) of task sets to - * describe.

                                                                        + *

                                                                        The short name or full Amazon Resource Name (ARN) of the service that the task sets exist in.

                                                                        */ - taskSets?: string[]; + service: string | undefined; /** - *

                                                                        The short name or full Amazon Resource Name (ARN) of the service that the task sets exist in.

                                                                        + *

                                                                        Specifies whether to see the resource tags for the task set. If TAGS is + * specified, the tags are included in the response. If this field is omitted, tags are not + * included in the response.

                                                                        */ - service: string | undefined; + include?: (TaskSetField | string)[]; } export namespace DescribeTaskSetsRequest { @@ -6390,14 +6486,14 @@ export namespace DescribeTaskSetsRequest { export interface DescribeTaskSetsResponse { /** - *

                                                                        Any failures associated with the call.

                                                                        + *

                                                                        The list of task sets described.

                                                                        */ - failures?: Failure[]; + taskSets?: TaskSet[]; /** - *

                                                                        The list of task sets described.

                                                                        + *

                                                                        Any failures associated with the call.

                                                                        */ - taskSets?: TaskSet[]; + failures?: Failure[]; } export namespace DescribeTaskSetsResponse { @@ -6409,13 +6505,13 @@ export namespace DescribeTaskSetsResponse { export interface DiscoverPollEndpointRequest { /** *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance - * belongs.

                                                                        + * belongs.

                                                                        */ cluster?: string; /** *

                                                                        The container instance ID or full ARN of the container instance. - * The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                                        + * The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

                                                                        */ containerInstance?: string; } @@ -6447,9 +6543,9 @@ export namespace DiscoverPollEndpointResponse { export interface ListAccountSettingsRequest { /** *

                                                                        The nextToken value returned from a ListAccountSettings - * request indicating that more results are available to fulfill the request and further - * calls will be needed. If maxResults was provided, it is possible the number - * of results to be fewer than maxResults.

                                                                        + * request indicating that more results are available to fulfill the request and further + * calls will be needed. If maxResults was provided, it is possible the number + * of results to be fewer than maxResults.

                                                                        * *

                                                                        This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                        @@ -6458,42 +6554,42 @@ export interface ListAccountSettingsRequest { nextToken?: string; /** - *

                                                                        The name of the account setting you want to list the settings for.

                                                                        + *

                                                                        The value of the account settings with which to filter results. You must also specify + * an account setting name to use this parameter.

                                                                        */ - name?: SettingName | string; + value?: string; /** - *

                                                                        The value of the account settings with which to filter results. You must also specify - * an account setting name to use this parameter.

                                                                        + *

                                                                        The name of the account setting you want to list the settings for.

                                                                        */ - value?: string; + name?: SettingName | string; /** *

                                                                        Specifies whether to return the effective settings. If true, the account - * settings for the root user or the default setting for the principalArn are - * returned. If false, the account settings for the principalArn - * are returned if they are set. Otherwise, no account settings are returned.

                                                                        + * settings for the root user or the default setting for the principalArn are + * returned. If false, the account settings for the principalArn + * are returned if they are set. Otherwise, no account settings are returned.

                                                                        */ effectiveSettings?: boolean; /** *

                                                                        The maximum number of account setting results returned by - * ListAccountSettings in paginated output. When this parameter is used, - * ListAccountSettings only returns maxResults results in a - * single page along with a nextToken response element. The remaining results - * of the initial request can be seen by sending another ListAccountSettings - * request with the returned nextToken value. This value can be between - * 1 and 10. If this - * parameter is not used, then ListAccountSettings returns up to - * 10 results and a nextToken value - * if applicable.

                                                                        + * ListAccountSettings in paginated output. When this parameter is used, + * ListAccountSettings only returns maxResults results in a + * single page along with a nextToken response element. The remaining results + * of the initial request can be seen by sending another ListAccountSettings + * request with the returned nextToken value. This value can be between + * 1 and 10. If this + * parameter is not used, then ListAccountSettings returns up to + * 10 results and a nextToken value + * if applicable.

                                                                        */ maxResults?: number; /** *

                                                                        The ARN of the principal, which can be an IAM user, IAM role, or the root user. If - * this field is omitted, the account settings are listed only for the authenticated - * user.

                                                                        + * this field is omitted, the account settings are listed only for the authenticated + * user.

                                                                        */ principalArn?: string; } @@ -6506,18 +6602,18 @@ export namespace ListAccountSettingsRequest { export interface ListAccountSettingsResponse { /** - *

                                                                        The nextToken value to include in a future - * ListAccountSettings request. When the results of a - * ListAccountSettings request exceed maxResults, this value - * can be used to retrieve the next page of results. This value is null when - * there are no more results to return.

                                                                        + *

                                                                        The account settings for the resource.

                                                                        */ - nextToken?: string; + settings?: Setting[]; /** - *

                                                                        The account settings for the resource.

                                                                        + *

                                                                        The nextToken value to include in a future + * ListAccountSettings request. When the results of a + * ListAccountSettings request exceed maxResults, this value + * can be used to retrieve the next page of results. This value is null when + * there are no more results to return.

                                                                        */ - settings?: Setting[]; + nextToken?: string; } export namespace ListAccountSettingsResponse { @@ -6533,16 +6629,22 @@ export interface ListAttributesRequest { targetType: TargetType | string | undefined; /** - *

                                                                        The value of the attribute with which to filter results. You must also specify an - * attribute name to use this parameter.

                                                                        + *

                                                                        The maximum number of cluster results returned by ListAttributes in + * paginated output. When this parameter is used, ListAttributes only returns + * maxResults results in a single page along with a nextToken + * response element. The remaining results of the initial request can be seen by sending + * another ListAttributes request with the returned nextToken + * value. This value can be between 1 and 100. If this + * parameter is not used, then ListAttributes returns up to + * 100 results and a nextToken value if applicable.

                                                                        */ - attributeValue?: string; + maxResults?: number; /** *

                                                                        The nextToken value returned from a ListAttributes request - * indicating that more results are available to fulfill the request and further calls will - * be needed. If maxResults was provided, it is possible the number of results - * to be fewer than maxResults.

                                                                        + * indicating that more results are available to fulfill the request and further calls will + * be needed. If maxResults was provided, it is possible the number of results + * to be fewer than maxResults.

                                                                        * *

                                                                        This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                        @@ -6551,20 +6653,14 @@ export interface ListAttributesRequest { nextToken?: string; /** - *

                                                                        The maximum number of cluster results returned by ListAttributes in - * paginated output. When this parameter is used, ListAttributes only returns - * maxResults results in a single page along with a nextToken - * response element. The remaining results of the initial request can be seen by sending - * another ListAttributes request with the returned nextToken - * value. This value can be between 1 and 100. If this - * parameter is not used, then ListAttributes returns up to - * 100 results and a nextToken value if applicable.

                                                                        + *

                                                                        The value of the attribute with which to filter results. You must also specify an + * attribute name to use this parameter.

                                                                        */ - maxResults?: number; + attributeValue?: string; /** *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster to list attributes. - * If you do not specify a cluster, the default cluster is assumed.

                                                                        + * If you do not specify a cluster, the default cluster is assumed.

                                                                        */ cluster?: string; @@ -6588,10 +6684,10 @@ export interface ListAttributesResponse { /** *

                                                                        The nextToken value to include in a future ListAttributes - * request. When the results of a ListAttributes request exceed - * maxResults, this value can be used to retrieve the next page of - * results. This value is null when there are no more results to - * return.

                                                                        + * request. When the results of a ListAttributes request exceed + * maxResults, this value can be used to retrieve the next page of + * results. This value is null when there are no more results to + * return.

                                                                        */ nextToken?: string; } @@ -6605,9 +6701,9 @@ export namespace ListAttributesResponse { export interface ListClustersRequest { /** *

                                                                        The nextToken value returned from a ListClusters request - * indicating that more results are available to fulfill the request and further calls will - * be needed. If maxResults was provided, it is possible the number of results - * to be fewer than maxResults.

                                                                        + * indicating that more results are available to fulfill the request and further calls will + * be needed. If maxResults was provided, it is possible the number of results + * to be fewer than maxResults.

                                                                        * *

                                                                        This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                        @@ -6617,13 +6713,13 @@ export interface ListClustersRequest { /** *

                                                                        The maximum number of cluster results returned by ListClusters in - * paginated output. When this parameter is used, ListClusters only returns - * maxResults results in a single page along with a nextToken - * response element. The remaining results of the initial request can be seen by sending - * another ListClusters request with the returned nextToken - * value. This value can be between 1 and 100. If this - * parameter is not used, then ListClusters returns up to - * 100 results and a nextToken value if applicable.

                                                                        + * paginated output. When this parameter is used, ListClusters only returns + * maxResults results in a single page along with a nextToken + * response element. The remaining results of the initial request can be seen by sending + * another ListClusters request with the returned nextToken + * value. This value can be between 1 and 100. If this + * parameter is not used, then ListClusters returns up to + * 100 results and a nextToken value if applicable.

                                                                        */ maxResults?: number; } @@ -6637,16 +6733,16 @@ export namespace ListClustersRequest { export interface ListClustersResponse { /** *

                                                                        The nextToken value to include in a future ListClusters - * request. When the results of a ListClusters request exceed - * maxResults, this value can be used to retrieve the next page of - * results. This value is null when there are no more results to - * return.

                                                                        + * request. When the results of a ListClusters request exceed + * maxResults, this value can be used to retrieve the next page of + * results. This value is null when there are no more results to + * return.

                                                                        */ nextToken?: string; /** *

                                                                        The list of full Amazon Resource Name (ARN) entries for each cluster associated with your - * account.

                                                                        + * account.

                                                                        */ clusterArns?: string[]; } @@ -6668,16 +6764,22 @@ export enum ContainerInstanceStatus { export interface ListContainerInstancesRequest { /** *

                                                                        You can filter the results of a ListContainerInstances operation with - * cluster query language statements. For more information, see Cluster Query Language in the - * Amazon Elastic Container Service Developer Guide.

                                                                        + * cluster query language statements. For more information, see Cluster Query Language in the + * Amazon Elastic Container Service Developer Guide.

                                                                        */ filter?: string; + /** + *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to + * list. If you do not specify a cluster, the default cluster is assumed.

                                                                        + */ + cluster?: string; + /** *

                                                                        The nextToken value returned from a ListContainerInstances - * request indicating that more results are available to fulfill the request and further - * calls will be needed. If maxResults was provided, it is possible the number - * of results to be fewer than maxResults.

                                                                        + * request indicating that more results are available to fulfill the request and further + * calls will be needed. If maxResults was provided, it is possible the number + * of results to be fewer than maxResults.

                                                                        * *

                                                                        This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                        @@ -6687,29 +6789,23 @@ export interface ListContainerInstancesRequest { /** *

                                                                        The maximum number of container instance results returned by - * ListContainerInstances in paginated output. When this parameter is - * used, ListContainerInstances only returns maxResults results - * in a single page along with a nextToken response element. The remaining - * results of the initial request can be seen by sending another - * ListContainerInstances request with the returned nextToken - * value. This value can be between 1 and 100. If this - * parameter is not used, then ListContainerInstances returns up to - * 100 results and a nextToken value if applicable.

                                                                        + * ListContainerInstances in paginated output. When this parameter is + * used, ListContainerInstances only returns maxResults results + * in a single page along with a nextToken response element. The remaining + * results of the initial request can be seen by sending another + * ListContainerInstances request with the returned nextToken + * value. This value can be between 1 and 100. If this + * parameter is not used, then ListContainerInstances returns up to + * 100 results and a nextToken value if applicable.

                                                                        */ maxResults?: number; - /** - *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to - * list. If you do not specify a cluster, the default cluster is assumed.

                                                                        - */ - cluster?: string; - /** *

                                                                        Filters the container instances by status. For example, if you specify the - * DRAINING status, the results include only container instances that have - * been set to DRAINING using UpdateContainerInstancesState. - * If you do not specify this parameter, the default is to include container instances set - * to all states other than INACTIVE.

                                                                        + * DRAINING status, the results include only container instances that have + * been set to DRAINING using UpdateContainerInstancesState. + * If you do not specify this parameter, the default is to include container instances set + * to all states other than INACTIVE.

                                                                        */ status?: ContainerInstanceStatus | string; } @@ -6723,16 +6819,16 @@ export namespace ListContainerInstancesRequest { export interface ListContainerInstancesResponse { /** *

                                                                        The nextToken value to include in a future - * ListContainerInstances request. When the results of a - * ListContainerInstances request exceed maxResults, this - * value can be used to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                        + * ListContainerInstances request. When the results of a + * ListContainerInstances request exceed maxResults, this + * value can be used to retrieve the next page of results. This value is null + * when there are no more results to return.

                                                                        */ nextToken?: string; /** *

                                                                        The list of container instances with full ARN entries for each container instance - * associated with the specified cluster.

                                                                        + * associated with the specified cluster.

                                                                        */ containerInstanceArns?: string[]; } @@ -6745,9 +6841,16 @@ export namespace ListContainerInstancesResponse { export interface ListServicesRequest { /** - *

                                                                        The launch type for the services to list.

                                                                        + *

                                                                        The nextToken value returned from a ListServices request + * indicating that more results are available to fulfill the request and further calls will + * be needed. If maxResults was provided, it is possible the number of results + * to be fewer than maxResults.

                                                                        + * + *

                                                                        This token should be treated as an opaque identifier that is only used to + * retrieve the next items in a list and not for other programmatic purposes.

                                                                        + *
                                                                        */ - launchType?: LaunchType | string; + nextToken?: string; /** *

                                                                        The scheduling strategy for services to list.

                                                                        @@ -6755,35 +6858,28 @@ export interface ListServicesRequest { schedulingStrategy?: SchedulingStrategy | string; /** - *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. - * If you do not specify a cluster, the default cluster is assumed.

                                                                        + *

                                                                        The launch type for the services to list.

                                                                        */ - cluster?: string; + launchType?: LaunchType | string; /** - *

                                                                        The nextToken value returned from a ListServices request - * indicating that more results are available to fulfill the request and further calls will - * be needed. If maxResults was provided, it is possible the number of results - * to be fewer than maxResults.

                                                                        - * - *

                                                                        This token should be treated as an opaque identifier that is only used to - * retrieve the next items in a list and not for other programmatic purposes.

                                                                        - *
                                                                        + *

                                                                        The maximum number of service results returned by ListServices in + * paginated output. When this parameter is used, ListServices only returns + * maxResults results in a single page along with a nextToken + * response element. The remaining results of the initial request can be seen by sending + * another ListServices request with the returned nextToken + * value. This value can be between 1 and 100. If + * this parameter is not used, then ListServices returns up to + * 10 results and a nextToken value if + * applicable.

                                                                        */ - nextToken?: string; + maxResults?: number; /** - *

                                                                        The maximum number of service results returned by ListServices in - * paginated output. When this parameter is used, ListServices only returns - * maxResults results in a single page along with a nextToken - * response element. The remaining results of the initial request can be seen by sending - * another ListServices request with the returned nextToken - * value. This value can be between 1 and 100. If - * this parameter is not used, then ListServices returns up to - * 10 results and a nextToken value if - * applicable.

                                                                        + *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. + * If you do not specify a cluster, the default cluster is assumed.

                                                                        */ - maxResults?: number; + cluster?: string; } export namespace ListServicesRequest { @@ -6795,16 +6891,16 @@ export namespace ListServicesRequest { export interface ListServicesResponse { /** *

                                                                        The list of full ARN entries for each service associated with the specified - * cluster.

                                                                        + * cluster.

                                                                        */ serviceArns?: string[]; /** *

                                                                        The nextToken value to include in a future ListServices - * request. When the results of a ListServices request exceed - * maxResults, this value can be used to retrieve the next page of - * results. This value is null when there are no more results to - * return.

                                                                        + * request. When the results of a ListServices request exceed + * maxResults, this value can be used to retrieve the next page of + * results. This value is null when there are no more results to + * return.

                                                                        */ nextToken?: string; } @@ -6818,8 +6914,8 @@ export namespace ListServicesResponse { export interface ListTagsForResourceRequest { /** *

                                                                        The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the - * supported resources are Amazon ECS tasks, services, task definitions, clusters, and container - * instances.

                                                                        + * supported resources are Amazon ECS tasks, services, task definitions, clusters, and container + * instances.

                                                                        */ resourceArn: string | undefined; } @@ -6850,53 +6946,53 @@ export enum TaskDefinitionFamilyStatus { } export interface ListTaskDefinitionFamiliesRequest { + /** + *

                                                                        The maximum number of task definition family results returned by + * ListTaskDefinitionFamilies in paginated output. When this parameter is + * used, ListTaskDefinitions only returns maxResults results in a + * single page along with a nextToken response element. The remaining results + * of the initial request can be seen by sending another + * ListTaskDefinitionFamilies request with the returned + * nextToken value. This value can be between 1 and + * 100. If this parameter is not used, then + * ListTaskDefinitionFamilies returns up to 100 results + * and a nextToken value if applicable.

                                                                        + */ + maxResults?: number; + /** *

                                                                        The task definition family status with which to filter the - * ListTaskDefinitionFamilies results. By default, both - * ACTIVE and INACTIVE task definition families are listed. - * If this parameter is set to ACTIVE, only task definition families that have - * an ACTIVE task definition revision are returned. If this parameter is set - * to INACTIVE, only task definition families that do not have any - * ACTIVE task definition revisions are returned. If you paginate the - * resulting output, be sure to keep the status value constant in each - * subsequent request.

                                                                        + * ListTaskDefinitionFamilies results. By default, both + * ACTIVE and INACTIVE task definition families are listed. + * If this parameter is set to ACTIVE, only task definition families that have + * an ACTIVE task definition revision are returned. If this parameter is set + * to INACTIVE, only task definition families that do not have any + * ACTIVE task definition revisions are returned. If you paginate the + * resulting output, be sure to keep the status value constant in each + * subsequent request.

                                                                        */ status?: TaskDefinitionFamilyStatus | string; + /** + *

                                                                        The familyPrefix is a string that is used to filter the results of + * ListTaskDefinitionFamilies. If you specify a familyPrefix, + * only task definition family names that begin with the familyPrefix string + * are returned.

                                                                        + */ + familyPrefix?: string; + /** *

                                                                        The nextToken value returned from a - * ListTaskDefinitionFamilies request indicating that more results are - * available to fulfill the request and further calls will be needed. If - * maxResults was provided, it is possible the number of results to be - * fewer than maxResults.

                                                                        + * ListTaskDefinitionFamilies request indicating that more results are + * available to fulfill the request and further calls will be needed. If + * maxResults was provided, it is possible the number of results to be + * fewer than maxResults.

                                                                        * *

                                                                        This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                        *
                                                                        */ nextToken?: string; - - /** - *

                                                                        The maximum number of task definition family results returned by - * ListTaskDefinitionFamilies in paginated output. When this parameter is - * used, ListTaskDefinitions only returns maxResults results in a - * single page along with a nextToken response element. The remaining results - * of the initial request can be seen by sending another - * ListTaskDefinitionFamilies request with the returned - * nextToken value. This value can be between 1 and - * 100. If this parameter is not used, then - * ListTaskDefinitionFamilies returns up to 100 results - * and a nextToken value if applicable.

                                                                        - */ - maxResults?: number; - - /** - *

                                                                        The familyPrefix is a string that is used to filter the results of - * ListTaskDefinitionFamilies. If you specify a familyPrefix, - * only task definition family names that begin with the familyPrefix string - * are returned.

                                                                        - */ - familyPrefix?: string; } export namespace ListTaskDefinitionFamiliesRequest { @@ -6908,16 +7004,16 @@ export namespace ListTaskDefinitionFamiliesRequest { export interface ListTaskDefinitionFamiliesResponse { /** *

                                                                        The nextToken value to include in a future - * ListTaskDefinitionFamilies request. When the results of a - * ListTaskDefinitionFamilies request exceed maxResults, this - * value can be used to retrieve the next page of results. This value is null - * when there are no more results to return.

                                                                        + * ListTaskDefinitionFamilies request. When the results of a + * ListTaskDefinitionFamilies request exceed maxResults, this + * value can be used to retrieve the next page of results. This value is null + * when there are no more results to return.

                                                                        */ nextToken?: string; /** *

                                                                        The list of task definition family names that match the - * ListTaskDefinitionFamilies request.

                                                                        + * ListTaskDefinitionFamilies request.

                                                                        */ families?: string[]; } @@ -6936,22 +7032,29 @@ export enum SortOrder { export interface ListTaskDefinitionsRequest { /** *

                                                                        The maximum number of task definition results returned by - * ListTaskDefinitions in paginated output. When this parameter is used, - * ListTaskDefinitions only returns maxResults results in a - * single page along with a nextToken response element. The remaining results - * of the initial request can be seen by sending another ListTaskDefinitions - * request with the returned nextToken value. This value can be between - * 1 and 100. If this parameter is not used, then - * ListTaskDefinitions returns up to 100 results and a - * nextToken value if applicable.

                                                                        + * ListTaskDefinitions in paginated output. When this parameter is used, + * ListTaskDefinitions only returns maxResults results in a + * single page along with a nextToken response element. The remaining results + * of the initial request can be seen by sending another ListTaskDefinitions + * request with the returned nextToken value. This value can be between + * 1 and 100. If this parameter is not used, then + * ListTaskDefinitions returns up to 100 results and a + * nextToken value if applicable.

                                                                        */ maxResults?: number; + /** + *

                                                                        The full family name with which to filter the ListTaskDefinitions + * results. Specifying a familyPrefix limits the listed task definitions to + * task definition revisions that belong to that family.

                                                                        + */ + familyPrefix?: string; + /** *

                                                                        The nextToken value returned from a ListTaskDefinitions - * request indicating that more results are available to fulfill the request and further - * calls will be needed. If maxResults was provided, it is possible the number - * of results to be fewer than maxResults.

                                                                        + * request indicating that more results are available to fulfill the request and further + * calls will be needed. If maxResults was provided, it is possible the number + * of results to be fewer than maxResults.

                                                                        * *

                                                                        This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                        @@ -6959,30 +7062,23 @@ export interface ListTaskDefinitionsRequest { */ nextToken?: string; - /** - *

                                                                        The full family name with which to filter the ListTaskDefinitions - * results. Specifying a familyPrefix limits the listed task definitions to - * task definition revisions that belong to that family.

                                                                        - */ - familyPrefix?: string; - /** *

                                                                        The order in which to sort the results. Valid values are ASC and - * DESC. By default (ASC), task definitions are listed - * lexicographically by family name and in ascending numerical order by revision so that - * the newest task definitions in a family are listed last. Setting this parameter to - * DESC reverses the sort order on family name and revision so that the - * newest task definitions in a family are listed first.

                                                                        + * DESC. By default (ASC), task definitions are listed + * lexicographically by family name and in ascending numerical order by revision so that + * the newest task definitions in a family are listed last. Setting this parameter to + * DESC reverses the sort order on family name and revision so that the + * newest task definitions in a family are listed first.

                                                                        */ sort?: SortOrder | string; /** *

                                                                        The task definition status with which to filter the ListTaskDefinitions - * results. By default, only ACTIVE task definitions are listed. By setting - * this parameter to INACTIVE, you can view task definitions that are - * INACTIVE as long as an active task or service still references them. If - * you paginate the resulting output, be sure to keep the status value - * constant in each subsequent request.

                                                                        + * results. By default, only ACTIVE task definitions are listed. By setting + * this parameter to INACTIVE, you can view task definitions that are + * INACTIVE as long as an active task or service still references them. If + * you paginate the resulting output, be sure to keep the status value + * constant in each subsequent request.

                                                                        */ status?: TaskDefinitionStatus | string; } @@ -6996,16 +7092,16 @@ export namespace ListTaskDefinitionsRequest { export interface ListTaskDefinitionsResponse { /** *

                                                                        The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions - * request.

                                                                        + * request.

                                                                        */ taskDefinitionArns?: string[]; /** *

                                                                        The nextToken value to include in a future - * ListTaskDefinitions request. When the results of a - * ListTaskDefinitions request exceed maxResults, this value - * can be used to retrieve the next page of results. This value is null when - * there are no more results to return.

                                                                        + * ListTaskDefinitions request. When the results of a + * ListTaskDefinitions request exceed maxResults, this value + * can be used to retrieve the next page of results. This value is null when + * there are no more results to return.

                                                                        */ nextToken?: string; } @@ -7024,64 +7120,65 @@ export enum DesiredStatus { export interface ListTasksRequest { /** - *

                                                                        The container instance ID or full ARN of the container instance with which to filter - * the ListTasks results. Specifying a containerInstance limits - * the results to tasks that belong to that container instance.

                                                                        + *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks to list. + * If you do not specify a cluster, the default cluster is assumed.

                                                                        */ - containerInstance?: string; + cluster?: string; /** - *

                                                                        The name of the family with which to filter the ListTasks results. - * Specifying a family limits the results to tasks that belong to that - * family.

                                                                        + *

                                                                        The launch type for services to list.

                                                                        */ - family?: string; + launchType?: LaunchType | string; /** *

                                                                        The name of the service with which to filter the ListTasks results. - * Specifying a serviceName limits the results to tasks that belong to that - * service.

                                                                        + * Specifying a serviceName limits the results to tasks that belong to that + * service.

                                                                        */ serviceName?: string; + /** + *

                                                                        The name of the family with which to filter the ListTasks results. + * Specifying a family limits the results to tasks that belong to that + * family.

                                                                        + */ + family?: string; + /** *

                                                                        The task desired status with which to filter the ListTasks results. - * Specifying a desiredStatus of STOPPED limits the results to - * tasks that Amazon ECS has set the desired status to STOPPED. This can be useful - * for debugging tasks that are not starting properly or have died or finished. The default - * status filter is RUNNING, which shows tasks that Amazon ECS has set the desired - * status to RUNNING.

                                                                        - * - *

                                                                        Although you can filter results based on a desired status of PENDING, - * this does not return any results. Amazon ECS never sets the desired status of a task to - * that value (only a task's lastStatus may have a value of - * PENDING).

                                                                        - *
                                                                        + * Specifying a desiredStatus of STOPPED limits the results to + * tasks that Amazon ECS has set the desired status to STOPPED. This can be useful + * for debugging tasks that are not starting properly or have died or finished. The default + * status filter is RUNNING, which shows tasks that Amazon ECS has set the desired + * status to RUNNING.

                                                                        + * + *

                                                                        Although you can filter results based on a desired status of PENDING, + * this does not return any results. Amazon ECS never sets the desired status of a task to + * that value (only a task's lastStatus may have a value of + * PENDING).

                                                                        + *
                                                                        */ desiredStatus?: DesiredStatus | string; /** - *

                                                                        The launch type for services to list.

                                                                        + *

                                                                        The startedBy value with which to filter the task results. Specifying a + * startedBy value limits the results to tasks that were started with that + * value.

                                                                        */ - launchType?: LaunchType | string; + startedBy?: string; /** - *

                                                                        The maximum number of task results returned by ListTasks in paginated - * output. When this parameter is used, ListTasks only returns - * maxResults results in a single page along with a nextToken - * response element. The remaining results of the initial request can be seen by sending - * another ListTasks request with the returned nextToken value. - * This value can be between 1 and 100. If this parameter is - * not used, then ListTasks returns up to 100 results and a - * nextToken value if applicable.

                                                                        + *

                                                                        The container instance ID or full ARN of the container instance with which to filter + * the ListTasks results. Specifying a containerInstance limits + * the results to tasks that belong to that container instance.

                                                                        */ - maxResults?: number; + containerInstance?: string; /** *

                                                                        The nextToken value returned from a ListTasks request - * indicating that more results are available to fulfill the request and further calls will - * be needed. If maxResults was provided, it is possible the number of results - * to be fewer than maxResults.

                                                                        + * indicating that more results are available to fulfill the request and further calls will + * be needed. If maxResults was provided, it is possible the number of results + * to be fewer than maxResults.

                                                                        * *

                                                                        This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                        @@ -7090,17 +7187,16 @@ export interface ListTasksRequest { nextToken?: string; /** - *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks to list. - * If you do not specify a cluster, the default cluster is assumed.

                                                                        - */ - cluster?: string; - - /** - *

                                                                        The startedBy value with which to filter the task results. Specifying a - * startedBy value limits the results to tasks that were started with that - * value.

                                                                        + *

                                                                        The maximum number of task results returned by ListTasks in paginated + * output. When this parameter is used, ListTasks only returns + * maxResults results in a single page along with a nextToken + * response element. The remaining results of the initial request can be seen by sending + * another ListTasks request with the returned nextToken value. + * This value can be between 1 and 100. If this parameter is + * not used, then ListTasks returns up to 100 results and a + * nextToken value if applicable.

                                                                        */ - startedBy?: string; + maxResults?: number; } export namespace ListTasksRequest { @@ -7111,18 +7207,18 @@ export namespace ListTasksRequest { export interface ListTasksResponse { /** - *

                                                                        The list of task ARN entries for the ListTasks request.

                                                                        + *

                                                                        The nextToken value to include in a future ListTasks + * request. When the results of a ListTasks request exceed + * maxResults, this value can be used to retrieve the next page of + * results. This value is null when there are no more results to + * return.

                                                                        */ - taskArns?: string[]; + nextToken?: string; /** - *

                                                                        The nextToken value to include in a future ListTasks - * request. When the results of a ListTasks request exceed - * maxResults, this value can be used to retrieve the next page of - * results. This value is null when there are no more results to - * return.

                                                                        + *

                                                                        The list of task ARN entries for the ListTasks request.

                                                                        */ - nextToken?: string; + taskArns?: string[]; } export namespace ListTasksResponse { @@ -7134,29 +7230,29 @@ export namespace ListTasksResponse { export interface PutAccountSettingRequest { /** *

                                                                        The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you - * specify the root user, it modifies the account setting for all IAM users, IAM roles, and - * the root user of the account unless an IAM user or role explicitly overrides these - * settings. If this field is omitted, the setting is changed only for the authenticated - * user.

                                                                        + * specify the root user, it modifies the account setting for all IAM users, IAM roles, and + * the root user of the account unless an IAM user or role explicitly overrides these + * settings. If this field is omitted, the setting is changed only for the authenticated + * user.

                                                                        */ principalArn?: string; /** *

                                                                        The account setting value for the specified principal ARN. Accepted values are - * enabled and disabled.

                                                                        + * enabled and disabled.

                                                                        */ value: string | undefined; /** *

                                                                        The Amazon ECS resource name for which to modify the account setting. If - * serviceLongArnFormat is specified, the ARN for your Amazon ECS services is - * affected. If taskLongArnFormat is specified, the ARN and resource ID for - * your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is - * specified, the ARN and resource ID for your Amazon ECS container instances is affected. If - * awsvpcTrunking is specified, the elastic network interface (ENI) limit - * for your Amazon ECS container instances is affected. If containerInsights is - * specified, the default setting for CloudWatch Container Insights for your clusters is - * affected.

                                                                        + * serviceLongArnFormat is specified, the ARN for your Amazon ECS services is + * affected. If taskLongArnFormat is specified, the ARN and resource ID for + * your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is + * specified, the ARN and resource ID for your Amazon ECS container instances is affected. If + * awsvpcTrunking is specified, the elastic network interface (ENI) limit + * for your Amazon ECS container instances is affected. If containerInsights is + * specified, the default setting for CloudWatch Container Insights for your clusters is + * affected.

                                                                        */ name: SettingName | string | undefined; } @@ -7183,19 +7279,19 @@ export namespace PutAccountSettingResponse { export interface PutAccountSettingDefaultRequest { /** *

                                                                        The account setting value for the specified principal ARN. Accepted values are - * enabled and disabled.

                                                                        + * enabled and disabled.

                                                                        */ value: string | undefined; /** *

                                                                        The resource name for which to modify the account setting. If - * serviceLongArnFormat is specified, the ARN for your Amazon ECS services is - * affected. If taskLongArnFormat is specified, the ARN and resource ID for - * your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is - * specified, the ARN and resource ID for your Amazon ECS container instances is affected. If - * awsvpcTrunking is specified, the ENI limit for your Amazon ECS container - * instances is affected. If containerInsights is specified, the default - * setting for CloudWatch Container Insights for your clusters is affected.

                                                                        + * serviceLongArnFormat is specified, the ARN for your Amazon ECS services is + * affected. If taskLongArnFormat is specified, the ARN and resource ID for + * your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is + * specified, the ARN and resource ID for your Amazon ECS container instances is affected. If + * awsvpcTrunking is specified, the ENI limit for your Amazon ECS container + * instances is affected. If containerInsights is specified, the default + * setting for CloudWatch Container Insights for your clusters is affected.

                                                                        */ name: SettingName | string | undefined; } @@ -7221,8 +7317,8 @@ export namespace PutAccountSettingDefaultResponse { /** *

                                                                        You can apply up to 10 custom attributes per resource. You can view the attributes of - * a resource with ListAttributes. You can remove existing attributes on - * a resource with DeleteAttributes.

                                                                        + * a resource with ListAttributes. You can remove existing attributes on + * a resource with DeleteAttributes.

                                                                        */ export interface AttributeLimitExceededException extends __SmithyException, $MetadataBearer { name: "AttributeLimitExceededException"; @@ -7239,13 +7335,13 @@ export namespace AttributeLimitExceededException { export interface PutAttributesRequest { /** *

                                                                        The attributes to apply to your resource. You can specify up to 10 custom attributes - * per resource. You can specify up to 10 attributes in a single call.

                                                                        + * per resource. You can specify up to 10 attributes in a single call.

                                                                        */ attributes: Attribute[] | undefined; /** *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply - * attributes. If you do not specify a cluster, the default cluster is assumed.

                                                                        + * attributes. If you do not specify a cluster, the default cluster is assumed.

                                                                        */ cluster?: string; } @@ -7270,42 +7366,42 @@ export namespace PutAttributesResponse { } export interface PutClusterCapacityProvidersRequest { - /** - *

                                                                        The capacity provider strategy to use by default for the cluster.

                                                                        - *

                                                                        When creating a service or running a task on a cluster, if no capacity provider or - * launch type is specified then the default capacity provider strategy for the cluster is - * used.

                                                                        - *

                                                                        A capacity provider strategy consists of one or more capacity providers along with the - * base and weight to assign to them. A capacity provider - * must be associated with the cluster to be used in a capacity provider strategy. The - * PutClusterCapacityProviders API is used to associate a capacity - * provider with a cluster. Only capacity providers with an ACTIVE or - * UPDATING status can be used.

                                                                        - *

                                                                        If specifying a capacity provider that uses an Auto Scaling group, the capacity - * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                                        - *

                                                                        To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are - * available to all accounts and only need to be associated with a cluster to be - * used.

                                                                        - */ - defaultCapacityProviderStrategy: CapacityProviderStrategyItem[] | undefined; - /** *

                                                                        The short name or full Amazon Resource Name (ARN) of the cluster to modify the capacity provider - * settings for. If you do not specify a cluster, the default cluster is assumed.

                                                                        + * settings for. If you do not specify a cluster, the default cluster is assumed.

                                                                        */ cluster: string | undefined; /** *

                                                                        The name of one or more capacity providers to associate with the cluster.

                                                                        - *

                                                                        If specifying a capacity provider that uses an Auto Scaling group, the capacity - * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                                        - *

                                                                        To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are - * available to all accounts and only need to be associated with a cluster to be - * used.

                                                                        + *

                                                                        If specifying a capacity provider that uses an Auto Scaling group, the capacity + * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                                        + *

                                                                        To use a AWS Fargate capacity provider, specify either the FARGATE or + * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + * available to all accounts and only need to be associated with a cluster to be + * used.

                                                                        */ capacityProviders: string[] | undefined; + + /** + *

                                                                        The capacity provider strategy to use by default for the cluster.

                                                                        + *

                                                                        When creating a service or running a task on a cluster, if no capacity provider or + * launch type is specified then the default capacity provider strategy for the cluster is + * used.

                                                                        + *

                                                                        A capacity provider strategy consists of one or more capacity providers along with the + * base and weight to assign to them. A capacity provider + * must be associated with the cluster to be used in a capacity provider strategy. The + * PutClusterCapacityProviders API is used to associate a capacity + * provider with a cluster. Only capacity providers with an ACTIVE or + * UPDATING status can be used.

                                                                        + *

                                                                        If specifying a capacity provider that uses an Auto Scaling group, the capacity + * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                                        + *

                                                                        To use a AWS Fargate capacity provider, specify either the FARGATE or + * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + * available to all accounts and only need to be associated with a cluster to be + * used.

                                                                        + */ + defaultCapacityProviderStrategy: CapacityProviderStrategyItem[] | undefined; } export namespace PutClusterCapacityProvidersRequest { @@ -7317,9 +7413,9 @@ export namespace PutClusterCapacityProvidersRequest { export interface PutClusterCapacityProvidersResponse { /** *

                                                                        A regional grouping of one or more container instances on which you can run task - * requests. Each account receives a default cluster the first time you use the Amazon ECS - * service, but you may also create other clusters. Clusters may contain more than one - * instance type simultaneously.

                                                                        + * requests. Each account receives a default cluster the first time you use the Amazon ECS + * service, but you may also create other clusters. Clusters may contain more than one + * instance type simultaneously.

                                                                        */ cluster?: Cluster; } @@ -7351,19 +7447,19 @@ export enum PlatformDeviceType { /** *

                                                                        The devices that are available on the container instance. The only supported device - * type is a GPU.

                                                                        + * type is a GPU.

                                                                        */ export interface PlatformDevice { /** *

                                                                        The type of device that is available on the container instance. The only supported - * value is GPU.

                                                                        + * value is GPU.

                                                                        */ type: PlatformDeviceType | string | undefined; /** *

                                                                        The ID for the GPU(s) on the container instance. The available GPU IDs can also be - * obtained on the container instance in the - * /var/lib/ecs/gpu/nvidia_gpu_info.json file.

                                                                        + * obtained on the container instance in the + * /var/lib/ecs/gpu/nvidia_gpu_info.json file.

                                                                        */ id: string | undefined; } @@ -7376,15 +7472,36 @@ export namespace PlatformDevice { export interface RegisterContainerInstanceRequest { /** - *

                                                                        The version information for the Amazon ECS container agent and Docker daemon running on the - * container instance.

                                                                        + *

                                                                        The devices that are available on the container instance. The only supported device + * type is a GPU.

                                                                        */ - versionInfo?: VersionInfo; + platformDevices?: PlatformDevice[]; + + /** + *

                                                                        The instance identity document for the EC2 instance to register. This document can be + * found by running the following command from the instance: curl + * http://169.254.169.254/latest/dynamic/instance-identity/document/ + *

                                                                        + */ + instanceIdentityDocument?: string; + + /** + *

                                                                        The instance identity document signature for the EC2 instance to register. This + * signature can be found by running the following command from the instance: curl + * http://169.254.169.254/latest/dynamic/instance-identity/signature/ + *

                                                                        + */ + instanceIdentityDocumentSignature?: string; + + /** + *

                                                                        The resources available on the instance.

                                                                        + */ + totalResources?: Resource[]; /** *

                                                                        The metadata that you apply to the container instance to help you categorize and - * organize them. Each tag consists of a key and an optional value, both of which you - * define.

                                                                        + * organize them. Each tag consists of a key and an optional value, both of which you + * define.

                                                                        *

                                                                        The following basic restrictions apply to tags:

                                                                        *
                                                                          *
                                                                        • @@ -7420,47 +7537,26 @@ export interface RegisterContainerInstanceRequest { tags?: Tag[]; /** - *

                                                                          The devices that are available on the container instance. The only supported device - * type is a GPU.

                                                                          - */ - platformDevices?: PlatformDevice[]; - - /** - *

                                                                          The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container - * instance. If you do not specify a cluster, the default cluster is assumed.

                                                                          - */ - cluster?: string; - - /** - *

                                                                          The instance identity document signature for the EC2 instance to register. This - * signature can be found by running the following command from the instance: curl - * http://169.254.169.254/latest/dynamic/instance-identity/signature/ - *

                                                                          - */ - instanceIdentityDocumentSignature?: string; - - /** - *

                                                                          The resources available on the instance.

                                                                          + *

                                                                          The ARN of the container instance (if it was previously registered).

                                                                          */ - totalResources?: Resource[]; + containerInstanceArn?: string; /** - *

                                                                          The ARN of the container instance (if it was previously registered).

                                                                          + *

                                                                          The container instance attributes that this container instance supports.

                                                                          */ - containerInstanceArn?: string; + attributes?: Attribute[]; /** - *

                                                                          The instance identity document for the EC2 instance to register. This document can be - * found by running the following command from the instance: curl - * http://169.254.169.254/latest/dynamic/instance-identity/document/ - *

                                                                          + *

                                                                          The version information for the Amazon ECS container agent and Docker daemon running on the + * container instance.

                                                                          */ - instanceIdentityDocument?: string; + versionInfo?: VersionInfo; /** - *

                                                                          The container instance attributes that this container instance supports.

                                                                          + *

                                                                          The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container + * instance. If you do not specify a cluster, the default cluster is assumed.

                                                                          */ - attributes?: Attribute[]; + cluster?: string; } export namespace RegisterContainerInstanceRequest { @@ -7485,41 +7581,41 @@ export namespace RegisterContainerInstanceResponse { export interface RegisterTaskDefinitionRequest { /** *

                                                                          You must specify a family for a task definition, which allows you to - * track multiple versions of the same task definition. The family is used as - * a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

                                                                          + * track multiple versions of the same task definition. The family is used as + * a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

                                                                          */ family: string | undefined; /** *

                                                                          The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can - * assume. All containers in this task are granted the permissions that are specified in - * this role. For more information, see IAM Roles for - * Tasks in the Amazon Elastic Container Service Developer Guide.

                                                                          + * assume. All containers in this task are granted the permissions that are specified in + * this role. For more information, see IAM Roles for + * Tasks in the Amazon Elastic Container Service Developer Guide.

                                                                          */ taskRoleArn?: string; /** *

                                                                          A list of volume definitions in JSON format that containers in your task may - * use.

                                                                          + * use.

                                                                          */ volumes?: Volume[]; /** *

                                                                          The number of CPU units used by the task. It can be expressed as an integer using CPU - * units, for example 1024, or as a string using vCPUs, for example 1 - * vCPU or 1 vcpu, in a task definition. String values are - * converted to an integer indicating the CPU units when the task definition is - * registered.

                                                                          - * - *

                                                                          Task-level CPU and memory parameters are ignored for Windows containers. We - * recommend specifying container-level resources for Windows containers.

                                                                          - *
                                                                          - *

                                                                          If you are using the EC2 launch type, this field is optional. Supported - * values are between 128 CPU units (0.125 vCPUs) and - * 10240 CPU units (10 vCPUs).

                                                                          - *

                                                                          If you are using the Fargate launch type, this field is required and you - * must use one of the following values, which determines your range of supported values - * for the memory parameter:

                                                                          + * units, for example 1024, or as a string using vCPUs, for example 1 + * vCPU or 1 vcpu, in a task definition. String values are + * converted to an integer indicating the CPU units when the task definition is + * registered.

                                                                          + * + *

                                                                          Task-level CPU and memory parameters are ignored for Windows containers. We + * recommend specifying container-level resources for Windows containers.

                                                                          + *
                                                                          + *

                                                                          If you are using the EC2 launch type, this field is optional. Supported + * values are between 128 CPU units (0.125 vCPUs) and + * 10240 CPU units (10 vCPUs).

                                                                          + *

                                                                          If you are using the Fargate launch type, this field is required and you + * must use one of the following values, which determines your range of supported values + * for the memory parameter:

                                                                          *
                                                                            *
                                                                          • *

                                                                            256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                                                            @@ -7541,31 +7637,79 @@ export interface RegisterTaskDefinitionRequest { cpu?: string; /** - *

                                                                            The launch type required by the task. If no value is specified, it defaults to - * EC2.

                                                                            + *

                                                                            The process namespace to use for the containers in the task. The valid + * values are host or task. If host + * is specified, then all containers within the tasks that specified the + * host PID mode on the same container instance share the + * same process namespace with the host Amazon EC2 instance. If task is + * specified, all containers within the specified task share the same + * process namespace. If no value is specified, the default is a private + * namespace. For more information, see PID settings in the Docker run + * reference.

                                                                            + *

                                                                            If the host PID mode is used, be aware that there is a + * heightened risk of undesired process namespace expose. For more + * information, see Docker + * security.

                                                                            + * + *

                                                                            This parameter is not supported for Windows containers or tasks using the Fargate launch type.

                                                                            + *
                                                                            */ - requiresCompatibilities?: (Compatibility | string)[]; + pidMode?: PidMode | string; /** *

                                                                            The configuration details for the App Mesh proxy.

                                                                            - *

                                                                            For tasks using the EC2 launch type, the container instances require at - * least version 1.26.0 of the container agent and at least version 1.26.0-1 of the - * ecs-init package to enable a proxy configuration. If your container - * instances are launched from the Amazon ECS-optimized AMI version 20190301 or - * later, then they contain the required versions of the container agent and - * ecs-init. For more information, see Amazon ECS-optimized Linux AMI - * in the Amazon Elastic Container Service Developer Guide.

                                                                            - *

                                                                            For tasks using the Fargate launch type, the task or service requires - * platform version 1.3.0 or later.

                                                                            + *

                                                                            For tasks using the EC2 launch type, the container instances require at + * least version 1.26.0 of the container agent and at least version 1.26.0-1 of the + * ecs-init package to enable a proxy configuration. If your container + * instances are launched from the Amazon ECS-optimized AMI version 20190301 or + * later, then they contain the required versions of the container agent and + * ecs-init. For more information, see Amazon ECS-optimized Linux AMI + * in the Amazon Elastic Container Service Developer Guide.

                                                                            + *

                                                                            For tasks using the Fargate launch type, the task or service requires + * platform version 1.3.0 or later.

                                                                            */ proxyConfiguration?: ProxyConfiguration; /** - *

                                                                            An array of placement constraint objects to use for the task. You can specify a - * maximum of 10 constraints per task (this limit includes constraints in the task - * definition and those specified at runtime).

                                                                            + *

                                                                            The task launch type that Amazon ECS should validate the task definition against. This + * ensures that the task definition parameters are compatible with the specified launch + * type. If no value is specified, it defaults to EC2.

                                                                            */ - placementConstraints?: TaskDefinitionPlacementConstraint[]; + requiresCompatibilities?: (Compatibility | string)[]; + + /** + *

                                                                            The amount of memory (in MiB) used by the task. It can be expressed as an integer + * using MiB, for example 1024, or as a string using GB, for example + * 1GB or 1 GB, in a task definition. String values are + * converted to an integer indicating the MiB when the task definition is + * registered.

                                                                            + * + *

                                                                            Task-level CPU and memory parameters are ignored for Windows containers. We + * recommend specifying container-level resources for Windows containers.

                                                                            + *
                                                                            + *

                                                                            If using the EC2 launch type, this field is optional.

                                                                            + *

                                                                            If using the Fargate launch type, this field is required and you must + * use one of the following values, which determines your range of supported values for the + * cpu parameter:

                                                                            + *
                                                                              + *
                                                                            • + *

                                                                              512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

                                                                              + *
                                                                            • + *
                                                                            + */ + memory?: string; /** *

                                                                            The Docker networking mode to use for the containers in the task. The valid values are @@ -7604,50 +7748,18 @@ export interface RegisterTaskDefinitionRequest { networkMode?: NetworkMode | string; /** - *

                                                                            The Elastic Inference accelerators to use for the containers in the task.

                                                                            + *

                                                                            An array of placement constraint objects to use for the task. You can specify a + * maximum of 10 constraints per task (this limit includes constraints in the task + * definition and those specified at runtime).

                                                                            */ - inferenceAccelerators?: InferenceAccelerator[]; + placementConstraints?: TaskDefinitionPlacementConstraint[]; /** *

                                                                            A list of container definitions in JSON format that describe the different containers - * that make up your task.

                                                                            + * that make up your task.

                                                                            */ containerDefinitions: ContainerDefinition[] | undefined; - /** - *

                                                                            The amount of memory (in MiB) used by the task. It can be expressed as an integer - * using MiB, for example 1024, or as a string using GB, for example - * 1GB or 1 GB, in a task definition. String values are - * converted to an integer indicating the MiB when the task definition is - * registered.

                                                                            - * - *

                                                                            Task-level CPU and memory parameters are ignored for Windows containers. We - * recommend specifying container-level resources for Windows containers.

                                                                            - *
                                                                            - *

                                                                            If using the EC2 launch type, this field is optional.

                                                                            - *

                                                                            If using the Fargate launch type, this field is required and you must - * use one of the following values, which determines your range of supported values for the - * cpu parameter:

                                                                            - *
                                                                              - *
                                                                            • - *

                                                                              512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

                                                                              - *
                                                                            • - *
                                                                            - */ - memory?: string; - /** *

                                                                            The IPC resource namespace to use for the containers in the task. The valid values are * host, task, or none. If host is @@ -7685,24 +7797,9 @@ export interface RegisterTaskDefinitionRequest { ipcMode?: IpcMode | string; /** - *

                                                                            The process namespace to use for the containers in the task. The valid - * values are host or task. If host - * is specified, then all containers within the tasks that specified the - * host PID mode on the same container instance share the - * same process namespace with the host Amazon EC2 instance. If task is - * specified, all containers within the specified task share the same - * process namespace. If no value is specified, the default is a private - * namespace. For more information, see PID settings in the Docker run - * reference.

                                                                            - *

                                                                            If the host PID mode is used, be aware that there is a - * heightened risk of undesired process namespace expose. For more - * information, see Docker - * security.

                                                                            - * - *

                                                                            This parameter is not supported for Windows containers or tasks using the Fargate launch type.

                                                                            - *
                                                                            + *

                                                                            The Elastic Inference accelerators to use for the containers in the task.

                                                                            */ - pidMode?: PidMode | string; + inferenceAccelerators?: InferenceAccelerator[]; /** *

                                                                            The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent @@ -7714,8 +7811,8 @@ export interface RegisterTaskDefinitionRequest { /** *

                                                                            The metadata that you apply to the task definition to help you categorize and organize - * them. Each tag consists of a key and an optional value, both of which you define.

                                                                            - *

                                                                            The following basic restrictions apply to tags:

                                                                            + * them. Each tag consists of a key and an optional value, both of which you define.

                                                                            + *

                                                                            The following basic restrictions apply to tags:

                                                                            *
                                                                              *
                                                                            • *

                                                                              Maximum number of tags per resource - 50

                                                                              @@ -7758,14 +7855,14 @@ export namespace RegisterTaskDefinitionRequest { export interface RegisterTaskDefinitionResponse { /** - *

                                                                              The full description of the registered task definition.

                                                                              + *

                                                                              The list of tags associated with the task definition.

                                                                              */ - taskDefinition?: TaskDefinition; + tags?: Tag[]; /** - *

                                                                              The list of tags associated with the task definition.

                                                                              + *

                                                                              The full description of the registered task definition.

                                                                              */ - tags?: Tag[]; + taskDefinition?: TaskDefinition; } export namespace RegisterTaskDefinitionResponse { @@ -7790,146 +7887,94 @@ export namespace BlockedException { } export interface RunTaskRequest { - /** - *

                                                                              The family and revision (family:revision) or - * full ARN of the task definition to run. If a revision is not specified, - * the latest ACTIVE revision is used.

                                                                              - */ - taskDefinition: string | undefined; - - /** - *

                                                                              The network configuration for the task. This parameter is required for task - * definitions that use the awsvpc network mode to receive their own elastic - * network interface, and it is not supported for other network modes. For more - * information, see Task Networking - * in the Amazon Elastic Container Service Developer Guide.

                                                                              - */ - networkConfiguration?: NetworkConfiguration; - /** *

                                                                              The platform version the task should run. A platform version is only specified for - * tasks using the Fargate launch type. If one is not specified, the - * LATEST platform version is used by default. For more information, see - * AWS Fargate Platform - * Versions in the Amazon Elastic Container Service Developer Guide.

                                                                              + * tasks using the Fargate launch type. If one is not specified, the + * LATEST platform version is used by default. For more information, see + * AWS Fargate Platform + * Versions in the Amazon Elastic Container Service Developer Guide.

                                                                              */ platformVersion?: string; /** - *

                                                                              Specifies whether to propagate the tags from the task definition to the task. If no - * value is specified, the tags are not propagated. Tags can only be propagated to the task - * during task creation. To add tags to a task after task creation, use the TagResource API action.

                                                                              - * - *

                                                                              An error will be received if you specify the SERVICE option when - * running a task.

                                                                              - *
                                                                              - */ - propagateTags?: PropagateTags | string; - - /** - *

                                                                              The name of the task group to associate with the task. The default value is the family - * name of the task definition (for example, family:my-family-name).

                                                                              - */ - group?: string; - - /** - *

                                                                              The placement strategy objects to use for the task. You can specify a maximum of five - * strategy rules per task.

                                                                              + *

                                                                              The family and revision (family:revision) or + * full ARN of the task definition to run. If a revision is not specified, + * the latest ACTIVE revision is used.

                                                                              */ - placementStrategy?: PlacementStrategy[]; + taskDefinition: string | undefined; /** *

                                                                              The launch type on which to run your task. For more information, see Amazon ECS - * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                                                              - *

                                                                              If a launchType is specified, the capacityProviderStrategy - * parameter must be omitted.

                                                                              + * Launch Types in the Amazon Elastic Container Service Developer Guide.

                                                                              + *

                                                                              If a launchType is specified, the capacityProviderStrategy + * parameter must be omitted.

                                                                              */ launchType?: LaunchType | string; - /** - *

                                                                              An array of placement constraint objects to use for the task. You can specify up to 10 - * constraints per task (including constraints in the task definition and those specified - * at runtime).

                                                                              - */ - placementConstraints?: PlacementConstraint[]; - /** *

                                                                              The capacity provider strategy to use for the task.

                                                                              - *

                                                                              A capacity provider strategy consists of one or more capacity providers along with the - * base and weight to assign to them. A capacity provider - * must be associated with the cluster to be used in a capacity provider strategy. The - * PutClusterCapacityProviders API is used to associate a capacity - * provider with a cluster. Only capacity providers with an ACTIVE or - * UPDATING status can be used.

                                                                              - *

                                                                              If a capacityProviderStrategy is specified, the launchType - * parameter must be omitted. If no capacityProviderStrategy or - * launchType is specified, the - * defaultCapacityProviderStrategy for the cluster is used.

                                                                              - *

                                                                              If specifying a capacity provider that uses an Auto Scaling group, the capacity - * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                                              - *

                                                                              To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are - * available to all accounts and only need to be associated with a cluster to be - * used.

                                                                              - *

                                                                              The PutClusterCapacityProviders API operation is used to update the - * list of available capacity providers for a cluster after the cluster is created.

                                                                              + *

                                                                              A capacity provider strategy consists of one or more capacity providers along with the + * base and weight to assign to them. A capacity provider + * must be associated with the cluster to be used in a capacity provider strategy. The + * PutClusterCapacityProviders API is used to associate a capacity + * provider with a cluster. Only capacity providers with an ACTIVE or + * UPDATING status can be used.

                                                                              + *

                                                                              If a capacityProviderStrategy is specified, the launchType + * parameter must be omitted. If no capacityProviderStrategy or + * launchType is specified, the + * defaultCapacityProviderStrategy for the cluster is used.

                                                                              + *

                                                                              If specifying a capacity provider that uses an Auto Scaling group, the capacity + * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                                              + *

                                                                              To use a AWS Fargate capacity provider, specify either the FARGATE or + * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + * available to all accounts and only need to be associated with a cluster to be + * used.

                                                                              + *

                                                                              The PutClusterCapacityProviders API operation is used to update the + * list of available capacity providers for a cluster after the cluster is created.

                                                                              */ capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** - *

                                                                              The number of instantiations of the specified task to place on your cluster. You can - * specify up to 10 tasks per call.

                                                                              - */ - count?: number; - - /** - *

                                                                              Specifies whether to enable Amazon ECS managed tags for the task. For more information, see - * Tagging Your Amazon ECS - * Resources in the Amazon Elastic Container Service Developer Guide.

                                                                              + *

                                                                              Specifies whether to propagate the tags from the task definition to the task. If no + * value is specified, the tags are not propagated. Tags can only be propagated to the task + * during task creation. To add tags to a task after task creation, use the TagResource API action.

                                                                              + * + *

                                                                              An error will be received if you specify the SERVICE option when + * running a task.

                                                                              + *
                                                                              */ - enableECSManagedTags?: boolean; + propagateTags?: PropagateTags | string; /** - *

                                                                              The reference ID to use for the task.

                                                                              + *

                                                                              The placement strategy objects to use for the task. You can specify a maximum of five + * strategy rules per task.

                                                                              */ - referenceId?: string; + placementStrategy?: PlacementStrategy[]; /** - *

                                                                              The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task. - * If you do not specify a cluster, the default cluster is assumed.

                                                                              + *

                                                                              The name of the task group to associate with the task. The default value is the family + * name of the task definition (for example, family:my-family-name).

                                                                              */ - cluster?: string; + group?: string; /** - *

                                                                              An optional tag specified when a task is started. For example, if you automatically - * trigger a task to run a batch process job, you could apply a unique identifier for that - * job to your task with the startedBy parameter. You can then identify which - * tasks belong to that job by filtering the results of a ListTasks call - * with the startedBy value. Up to 36 letters (uppercase and lowercase), - * numbers, hyphens, and underscores are allowed.

                                                                              - *

                                                                              If a task is started by an Amazon ECS service, then the startedBy parameter - * contains the deployment ID of the service that starts it.

                                                                              + *

                                                                              Specifies whether to enable Amazon ECS managed tags for the task. For more information, see + * Tagging Your Amazon ECS + * Resources in the Amazon Elastic Container Service Developer Guide.

                                                                              */ - startedBy?: string; + enableECSManagedTags?: boolean; /** - *

                                                                              A list of container overrides in JSON format that specify the name of a container in - * the specified task definition and the overrides it should receive. You can override the - * default command for a container (that is specified in the task definition or Docker - * image) with a command override. You can also override existing environment - * variables (that are specified in the task definition or Docker image) on a container or - * add new environment variables to it with an environment override.

                                                                              - * - *

                                                                              A total of 8192 characters are allowed for overrides. This limit includes the JSON - * formatting characters of the override structure.

                                                                              - *
                                                                              + *

                                                                              An array of placement constraint objects to use for the task. You can specify up to 10 + * constraints per task (including constraints in the task definition and those specified + * at runtime).

                                                                              */ - overrides?: TaskOverride; + placementConstraints?: PlacementConstraint[]; /** *

                                                                              The metadata that you apply to the task to help you categorize and organize them. Each - * tag consists of a key and an optional value, both of which you define.

                                                                              - *

                                                                              The following basic restrictions apply to tags:

                                                                              + * tag consists of a key and an optional value, both of which you define.

                                                                              + *

                                                                              The following basic restrictions apply to tags:

                                                                              *
                                                                                *
                                                                              • *

                                                                                Maximum number of tags per resource - 50

                                                                                @@ -7962,6 +8007,58 @@ export interface RunTaskRequest { *
                                                                              */ tags?: Tag[]; + + /** + *

                                                                              The number of instantiations of the specified task to place on your cluster. You can + * specify up to 10 tasks per call.

                                                                              + */ + count?: number; + + /** + *

                                                                              A list of container overrides in JSON format that specify the name of a container in + * the specified task definition and the overrides it should receive. You can override the + * default command for a container (that is specified in the task definition or Docker + * image) with a command override. You can also override existing environment + * variables (that are specified in the task definition or Docker image) on a container or + * add new environment variables to it with an environment override.

                                                                              + * + *

                                                                              A total of 8192 characters are allowed for overrides. This limit includes the JSON + * formatting characters of the override structure.

                                                                              + *
                                                                              + */ + overrides?: TaskOverride; + + /** + *

                                                                              The reference ID to use for the task.

                                                                              + */ + referenceId?: string; + + /** + *

                                                                              An optional tag specified when a task is started. For example, if you automatically + * trigger a task to run a batch process job, you could apply a unique identifier for that + * job to your task with the startedBy parameter. You can then identify which + * tasks belong to that job by filtering the results of a ListTasks call + * with the startedBy value. Up to 36 letters (uppercase and lowercase), + * numbers, hyphens, and underscores are allowed.

                                                                              + *

                                                                              If a task is started by an Amazon ECS service, then the startedBy parameter + * contains the deployment ID of the service that starts it.

                                                                              + */ + startedBy?: string; + + /** + *

                                                                              The network configuration for the task. This parameter is required for task + * definitions that use the awsvpc network mode to receive their own elastic + * network interface, and it is not supported for other network modes. For more + * information, see Task Networking + * in the Amazon Elastic Container Service Developer Guide.

                                                                              + */ + networkConfiguration?: NetworkConfiguration; + + /** + *

                                                                              The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task. + * If you do not specify a cluster, the default cluster is assumed.

                                                                              + */ + cluster?: string; } export namespace RunTaskRequest { @@ -7978,7 +8075,7 @@ export interface RunTaskResponse { /** *

                                                                              A full description of the tasks that were run. The tasks that were successfully placed - * on your cluster are described here.

                                                                              + * on your cluster are described here.

                                                                              */ tasks?: Task[]; } @@ -7991,21 +8088,53 @@ export namespace RunTaskResponse { export interface StartTaskRequest { /** - *

                                                                              The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task. - * If you do not specify a cluster, the default cluster is assumed.

                                                                              + *

                                                                              Specifies whether to propagate the tags from the task definition or the service to the + * task. If no value is specified, the tags are not propagated.

                                                                              */ - cluster?: string; + propagateTags?: PropagateTags | string; + + /** + *

                                                                              An optional tag specified when a task is started. For example, if you automatically + * trigger a task to run a batch process job, you could apply a unique identifier for that + * job to your task with the startedBy parameter. You can then identify which + * tasks belong to that job by filtering the results of a ListTasks call + * with the startedBy value. Up to 36 letters (uppercase and lowercase), + * numbers, hyphens, and underscores are allowed.

                                                                              + *

                                                                              If a task is started by an Amazon ECS service, then the startedBy parameter + * contains the deployment ID of the service that starts it.

                                                                              + */ + startedBy?: string; + + /** + *

                                                                              A list of container overrides in JSON format that specify the name of a container in + * the specified task definition and the overrides it should receive. You can override the + * default command for a container (that is specified in the task definition or Docker + * image) with a command override. You can also override existing environment + * variables (that are specified in the task definition or Docker image) on a container or + * add new environment variables to it with an environment override.

                                                                              + * + *

                                                                              A total of 8192 characters are allowed for overrides. This limit includes the JSON + * formatting characters of the override structure.

                                                                              + *
                                                                              + */ + overrides?: TaskOverride; + + /** + *

                                                                              The container instance IDs or full ARN entries for the container instances on which + * you would like to place your task. You can specify up to 10 container instances.

                                                                              + */ + containerInstances: string[] | undefined; /** *

                                                                              The name of the task group to associate with the task. The default value is the family - * name of the task definition (for example, family:my-family-name).

                                                                              + * name of the task definition (for example, family:my-family-name).

                                                                              */ group?: string; /** *

                                                                              The metadata that you apply to the task to help you categorize and organize them. Each - * tag consists of a key and an optional value, both of which you define.

                                                                              - *

                                                                              The following basic restrictions apply to tags:

                                                                              + * tag consists of a key and an optional value, both of which you define.

                                                                              + *

                                                                              The following basic restrictions apply to tags:

                                                                              *
                                                                                *
                                                                              • *

                                                                                Maximum number of tags per resource - 50

                                                                                @@ -8039,68 +8168,36 @@ export interface StartTaskRequest { */ tags?: Tag[]; - /** - *

                                                                                The family and revision (family:revision) or - * full ARN of the task definition to start. If a revision is not specified, - * the latest ACTIVE revision is used.

                                                                                - */ - taskDefinition: string | undefined; - /** *

                                                                                The reference ID to use for the task.

                                                                                */ referenceId?: string; /** - *

                                                                                Specifies whether to enable Amazon ECS managed tags for the task. For more information, see - * Tagging Your Amazon ECS - * Resources in the Amazon Elastic Container Service Developer Guide.

                                                                                + *

                                                                                The family and revision (family:revision) or + * full ARN of the task definition to start. If a revision is not specified, + * the latest ACTIVE revision is used.

                                                                                */ - enableECSManagedTags?: boolean; + taskDefinition: string | undefined; /** - *

                                                                                The container instance IDs or full ARN entries for the container instances on which - * you would like to place your task. You can specify up to 10 container instances.

                                                                                + *

                                                                                Specifies whether to enable Amazon ECS managed tags for the task. For more information, see + * Tagging Your Amazon ECS + * Resources in the Amazon Elastic Container Service Developer Guide.

                                                                                */ - containerInstances: string[] | undefined; + enableECSManagedTags?: boolean; /** - *

                                                                                An optional tag specified when a task is started. For example, if you automatically - * trigger a task to run a batch process job, you could apply a unique identifier for that - * job to your task with the startedBy parameter. You can then identify which - * tasks belong to that job by filtering the results of a ListTasks call - * with the startedBy value. Up to 36 letters (uppercase and lowercase), - * numbers, hyphens, and underscores are allowed.

                                                                                - *

                                                                                If a task is started by an Amazon ECS service, then the startedBy parameter - * contains the deployment ID of the service that starts it.

                                                                                + *

                                                                                The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task. + * If you do not specify a cluster, the default cluster is assumed.

                                                                                */ - startedBy?: string; + cluster?: string; /** *

                                                                                The VPC subnet and security group configuration for tasks that receive their own * elastic network interface by using the awsvpc networking mode.

                                                                                */ networkConfiguration?: NetworkConfiguration; - - /** - *

                                                                                A list of container overrides in JSON format that specify the name of a container in - * the specified task definition and the overrides it should receive. You can override the - * default command for a container (that is specified in the task definition or Docker - * image) with a command override. You can also override existing environment - * variables (that are specified in the task definition or Docker image) on a container or - * add new environment variables to it with an environment override.

                                                                                - * - *

                                                                                A total of 8192 characters are allowed for overrides. This limit includes the JSON - * formatting characters of the override structure.

                                                                                - *
                                                                                - */ - overrides?: TaskOverride; - - /** - *

                                                                                Specifies whether to propagate the tags from the task definition or the service to the - * task. If no value is specified, the tags are not propagated.

                                                                                - */ - propagateTags?: PropagateTags | string; } export namespace StartTaskRequest { @@ -8111,15 +8208,15 @@ export namespace StartTaskRequest { export interface StartTaskResponse { /** - *

                                                                                A full description of the tasks that were started. Each task that was successfully - * placed on your container instances is described.

                                                                                + *

                                                                                Any failures associated with the call.

                                                                                */ - tasks?: Task[]; + failures?: Failure[]; /** - *

                                                                                Any failures associated with the call.

                                                                                + *

                                                                                A full description of the tasks that were started. Each task that was successfully + * placed on your container instances is described.

                                                                                */ - failures?: Failure[]; + tasks?: Task[]; } export namespace StartTaskResponse { @@ -8131,7 +8228,7 @@ export namespace StartTaskResponse { export interface StopTaskRequest { /** *

                                                                                The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. - * If you do not specify a cluster, the default cluster is assumed.

                                                                                + * If you do not specify a cluster, the default cluster is assumed.

                                                                                */ cluster?: string; @@ -8142,9 +8239,9 @@ export interface StopTaskRequest { /** *

                                                                                An optional message specified when a task is stopped. For example, if you are using a - * custom scheduler, you can use this parameter to specify the reason for stopping the task - * here, and the message appears in subsequent DescribeTasks API - * operations on this task. Up to 255 characters are allowed in this message.

                                                                                + * custom scheduler, you can use this parameter to specify the reason for stopping the task + * here, and the message appears in subsequent DescribeTasks API + * operations on this task. Up to 255 characters are allowed in this message.

                                                                                */ reason?: string; } @@ -8197,7 +8294,7 @@ export interface SubmitAttachmentStateChangesRequest { /** *

                                                                                The short name or full ARN of the cluster that hosts the container instance the - * attachment belongs to.

                                                                                + * attachment belongs to.

                                                                                */ cluster?: string; } @@ -8222,45 +8319,45 @@ export namespace SubmitAttachmentStateChangesResponse { } export interface SubmitContainerStateChangeRequest { + /** + *

                                                                                The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

                                                                                + */ + task?: string; + /** *

                                                                                The short name or full ARN of the cluster that hosts the container.

                                                                                */ cluster?: string; /** - *

                                                                                The reason for the state change request.

                                                                                + *

                                                                                The exit code returned for the state change request.

                                                                                */ - reason?: string; + exitCode?: number; /** - *

                                                                                The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

                                                                                + *

                                                                                The status of the state change request.

                                                                                */ - task?: string; + status?: string; /** *

                                                                                The ID of the Docker container.

                                                                                */ runtimeId?: string; - /** - *

                                                                                The status of the state change request.

                                                                                - */ - status?: string; - /** *

                                                                                The network bindings of the container.

                                                                                */ networkBindings?: NetworkBinding[]; /** - *

                                                                                The exit code returned for the state change request.

                                                                                + *

                                                                                The name of the container.

                                                                                */ - exitCode?: number; + containerName?: string; /** - *

                                                                                The name of the container.

                                                                                + *

                                                                                The reason for the state change request.

                                                                                */ - containerName?: string; + reason?: string; } export namespace SubmitContainerStateChangeRequest { @@ -8287,20 +8384,15 @@ export namespace SubmitContainerStateChangeResponse { */ export interface ContainerStateChange { /** - *

                                                                                The container image SHA 256 digest.

                                                                                - */ - imageDigest?: string; - - /** - *

                                                                                The reason for the state change.

                                                                                + *

                                                                                The exit code for the container, if the state change is a result of the container + * exiting.

                                                                                */ - reason?: string; + exitCode?: number; /** - *

                                                                                The exit code for the container, if the state change is a result of the container - * exiting.

                                                                                + *

                                                                                The ID of the Docker container.

                                                                                */ - exitCode?: number; + runtimeId?: string; /** *

                                                                                The status of the container.

                                                                                @@ -8308,15 +8400,20 @@ export interface ContainerStateChange { status?: string; /** - *

                                                                                The ID of the Docker container.

                                                                                + *

                                                                                The container image SHA 256 digest.

                                                                                */ - runtimeId?: string; + imageDigest?: string; /** *

                                                                                Any network bindings associated with the container.

                                                                                */ networkBindings?: NetworkBinding[]; + /** + *

                                                                                The reason for the state change.

                                                                                + */ + reason?: string; + /** *

                                                                                The name of the container.

                                                                                */ @@ -8331,29 +8428,29 @@ export namespace ContainerStateChange { export interface SubmitTaskStateChangeRequest { /** - *

                                                                                Any attachments associated with the state change request.

                                                                                + *

                                                                                Any containers associated with the state change request.

                                                                                */ - attachments?: AttachmentStateChange[]; + containers?: ContainerStateChange[]; /** - *

                                                                                The Unix timestamp for when the container image pull completed.

                                                                                + *

                                                                                The Unix timestamp for when the container image pull began.

                                                                                */ - pullStoppedAt?: Date; + pullStartedAt?: Date; /** - *

                                                                                The task ID or full ARN of the task in the state change request.

                                                                                + *

                                                                                The reason for the state change request.

                                                                                */ - task?: string; + reason?: string; /** - *

                                                                                The reason for the state change request.

                                                                                + *

                                                                                The Unix timestamp for when the container image pull completed.

                                                                                */ - reason?: string; + pullStoppedAt?: Date; /** - *

                                                                                Any containers associated with the state change request.

                                                                                + *

                                                                                The task ID or full ARN of the task in the state change request.

                                                                                */ - containers?: ContainerStateChange[]; + task?: string; /** *

                                                                                The status of the state change request.

                                                                                @@ -8361,9 +8458,9 @@ export interface SubmitTaskStateChangeRequest { status?: string; /** - *

                                                                                The Unix timestamp for when the container image pull began.

                                                                                + *

                                                                                The Unix timestamp for when the task execution stopped.

                                                                                */ - pullStartedAt?: Date; + executionStoppedAt?: Date; /** *

                                                                                The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

                                                                                @@ -8371,9 +8468,9 @@ export interface SubmitTaskStateChangeRequest { cluster?: string; /** - *

                                                                                The Unix timestamp for when the task execution stopped.

                                                                                + *

                                                                                Any attachments associated with the state change request.

                                                                                */ - executionStoppedAt?: Date; + attachments?: AttachmentStateChange[]; } export namespace SubmitTaskStateChangeRequest { @@ -8413,14 +8510,14 @@ export namespace ResourceNotFoundException { export interface TagResourceRequest { /** *

                                                                                The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources - * are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container - * instances.

                                                                                + * are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container + * instances.

                                                                                */ resourceArn: string | undefined; /** *

                                                                                The tags to add to the resource. A tag is an array of key-value pairs.

                                                                                - *

                                                                                The following basic restrictions apply to tags:

                                                                                + *

                                                                                The following basic restrictions apply to tags:

                                                                                *
                                                                                  *
                                                                                • *

                                                                                  Maximum number of tags per resource - 50

                                                                                  @@ -8477,8 +8574,8 @@ export interface UntagResourceRequest { /** *

                                                                                  The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported - * resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and - * container instances.

                                                                                  + * resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and + * container instances.

                                                                                  */ resourceArn: string | undefined; } @@ -8505,9 +8602,9 @@ export interface UpdateClusterSettingsRequest { /** *

                                                                                  The setting to use by default for a cluster. This parameter is used to enable CloudWatch - * Container Insights for a cluster. If this value is specified, it will override the - * containerInsights value set with PutAccountSetting or - * PutAccountSettingDefault.

                                                                                  + * Container Insights for a cluster. If this value is specified, it will override the + * containerInsights value set with PutAccountSetting or + * PutAccountSettingDefault.

                                                                                  */ settings: ClusterSetting[] | undefined; } @@ -8521,9 +8618,9 @@ export namespace UpdateClusterSettingsRequest { export interface UpdateClusterSettingsResponse { /** *

                                                                                  A regional grouping of one or more container instances on which you can run task - * requests. Each account receives a default cluster the first time you use the Amazon ECS - * service, but you may also create other clusters. Clusters may contain more than one - * instance type simultaneously.

                                                                                  + * requests. Each account receives a default cluster the first time you use the Amazon ECS + * service, but you may also create other clusters. Clusters may contain more than one + * instance type simultaneously.

                                                                                  */ cluster?: Cluster; } @@ -8536,9 +8633,9 @@ export namespace UpdateClusterSettingsResponse { /** *

                                                                                  Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the - * container instance and does not have enough information to proceed with an update. This - * could be because the agent running on the container instance is an older or custom - * version that does not use our version information.

                                                                                  + * container instance and does not have enough information to proceed with an update. This + * could be because the agent running on the container instance is an older or custom + * version that does not use our version information.

                                                                                  */ export interface MissingVersionException extends __SmithyException, $MetadataBearer { name: "MissingVersionException"; @@ -8554,8 +8651,8 @@ export namespace MissingVersionException { /** *

                                                                                  There is no update available for this Amazon ECS container agent. This could be because the - * agent is already running the latest version, or it is so old that there is no update - * path to the current version.

                                                                                  + * agent is already running the latest version, or it is so old that there is no update + * path to the current version.

                                                                                  */ export interface NoUpdateAvailableException extends __SmithyException, $MetadataBearer { name: "NoUpdateAvailableException"; @@ -8572,13 +8669,13 @@ export namespace NoUpdateAvailableException { export interface UpdateContainerAgentRequest { /** *

                                                                                  The container instance ID or full ARN entries for the container instance on which - * you would like to update the Amazon ECS container agent.

                                                                                  + * you would like to update the Amazon ECS container agent.

                                                                                  */ containerInstance: string | undefined; /** *

                                                                                  The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is - * running on. If you do not specify a cluster, the default cluster is assumed.

                                                                                  + * running on. If you do not specify a cluster, the default cluster is assumed.

                                                                                  */ cluster?: string; } @@ -8605,25 +8702,25 @@ export namespace UpdateContainerAgentResponse { export interface UpdateContainerInstancesStateRequest { /** *

                                                                                  The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to - * update. If you do not specify a cluster, the default cluster is assumed.

                                                                                  + * update. If you do not specify a cluster, the default cluster is assumed.

                                                                                  */ cluster?: string; /** - *

                                                                                  A list of container instance IDs or full ARN entries.

                                                                                  + *

                                                                                  The container instance state with which to update the container instance. The only + * valid values for this action are ACTIVE and DRAINING. A + * container instance can only be updated to DRAINING status once it has + * reached an ACTIVE state. If a container instance is in + * REGISTERING, DEREGISTERING, or + * REGISTRATION_FAILED state you can describe the container instance but + * will be unable to update the container instance state.

                                                                                  */ - containerInstances: string[] | undefined; + status: ContainerInstanceStatus | string | undefined; /** - *

                                                                                  The container instance state with which to update the container instance. The only - * valid values for this action are ACTIVE and DRAINING. A - * container instance can only be updated to DRAINING status once it has - * reached an ACTIVE state. If a container instance is in - * REGISTERING, DEREGISTERING, or - * REGISTRATION_FAILED state you can describe the container instance but - * will be unable to update the container instance state.

                                                                                  + *

                                                                                  A list of container instance IDs or full ARN entries.

                                                                                  */ - status: ContainerInstanceStatus | string | undefined; + containerInstances: string[] | undefined; } export namespace UpdateContainerInstancesStateRequest { @@ -8652,116 +8749,116 @@ export namespace UpdateContainerInstancesStateResponse { export interface UpdateServiceRequest { /** - *

                                                                                  Optional deployment parameters that control how many tasks run during the deployment - * and the ordering of stopping and starting tasks.

                                                                                  + *

                                                                                  The capacity provider strategy to update the service to use.

                                                                                  + *

                                                                                  If the service is using the default capacity provider strategy for the cluster, the + * service can be updated to use one or more capacity providers as opposed to the default + * capacity provider strategy. However, when a service is using a capacity provider + * strategy that is not the default capacity provider strategy, the service cannot be + * updated to use the cluster's default capacity provider strategy.

                                                                                  + *

                                                                                  A capacity provider strategy consists of one or more capacity providers along with the + * base and weight to assign to them. A capacity provider + * must be associated with the cluster to be used in a capacity provider strategy. The + * PutClusterCapacityProviders API is used to associate a capacity + * provider with a cluster. Only capacity providers with an ACTIVE or + * UPDATING status can be used.

                                                                                  + *

                                                                                  If specifying a capacity provider that uses an Auto Scaling group, the capacity + * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                                                  + *

                                                                                  To use a AWS Fargate capacity provider, specify either the FARGATE or + * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are + * available to all accounts and only need to be associated with a cluster to be + * used.

                                                                                  + *

                                                                                  The PutClusterCapacityProviders API operation is used to update the + * list of available capacity providers for a cluster after the cluster is created.

                                                                                  + *

                                                                                  */ - deploymentConfiguration?: DeploymentConfiguration; + capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** - *

                                                                                  The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. - * If you do not specify a cluster, the default cluster is assumed.

                                                                                  + *

                                                                                  An object representing the network configuration for a task or service.

                                                                                  */ - cluster?: string; + networkConfiguration?: NetworkConfiguration; /** - *

                                                                                  The platform version on which your tasks in the service are running. A platform - * version is only specified for tasks using the Fargate launch type. If a - * platform version is not specified, the LATEST platform version is used by - * default. For more information, see AWS Fargate Platform - * Versions in the Amazon Elastic Container Service Developer Guide.

                                                                                  + *

                                                                                  The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. + * If you do not specify a cluster, the default cluster is assumed.

                                                                                  */ - platformVersion?: string; + cluster?: string; /** - *

                                                                                  An object representing the network configuration for a task or service.

                                                                                  + *

                                                                                  The task placement strategy objects to update the service to use. If no value is + * specified, the existing placement strategy for the service will remain unchanged. If + * this value is specified, it will override the existing placement strategy defined for + * the service. To remove an existing placement strategy, specify an empty object.

                                                                                  + *

                                                                                  You can specify a maximum of five strategy rules per service.

                                                                                  */ - networkConfiguration?: NetworkConfiguration; + placementStrategy?: PlacementStrategy[]; /** *

                                                                                  The number of instantiations of the task to place and keep running in your - * service.

                                                                                  + * service.

                                                                                  */ desiredCount?: number; - /** - *

                                                                                  The task placement strategy objects to update the service to use. If no value is - * specified, the existing placement strategy for the service will remain unchanged. If - * this value is specified, it will override the existing placement strategy defined for - * the service. To remove an existing placement strategy, specify an empty object.

                                                                                  - *

                                                                                  You can specify a maximum of five strategy rules per service.

                                                                                  - */ - placementStrategy?: PlacementStrategy[]; - /** *

                                                                                  The name of the service to update.

                                                                                  */ service: string | undefined; /** - *

                                                                                  Whether to force a new deployment of the service. Deployments are not forced by - * default. You can use this option to trigger a new deployment with no service definition - * changes. For example, you can update a service's tasks to use a newer Docker image with - * the same image/tag combination (my_image:latest) or to roll Fargate tasks - * onto a newer platform version.

                                                                                  + *

                                                                                  The period of time, in seconds, that the Amazon ECS service scheduler should ignore + * unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid + * if your service is configured to use a load balancer. If your service's tasks take a + * while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace + * period of up to 2,147,483,647 seconds. During that time, the Amazon ECS service + * scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS + * service scheduler from marking tasks as unhealthy and stopping them before they have + * time to come up.

                                                                                  */ - forceNewDeployment?: boolean; + healthCheckGracePeriodSeconds?: number; /** *

                                                                                  The family and revision (family:revision) or - * full ARN of the task definition to run in your service. If a revision is - * not specified, the latest ACTIVE revision is used. If you modify the task - * definition with UpdateService, Amazon ECS spawns a task with the new version of - * the task definition and then stops an old task after the new version is running.

                                                                                  + * full ARN of the task definition to run in your service. If a revision is + * not specified, the latest ACTIVE revision is used. If you modify the task + * definition with UpdateService, Amazon ECS spawns a task with the new version of + * the task definition and then stops an old task after the new version is running.

                                                                                  */ taskDefinition?: string; /** - *

                                                                                  The period of time, in seconds, that the Amazon ECS service scheduler should ignore - * unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid - * if your service is configured to use a load balancer. If your service's tasks take a - * while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace - * period of up to 2,147,483,647 seconds. During that time, the Amazon ECS service - * scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS - * service scheduler from marking tasks as unhealthy and stopping them before they have - * time to come up.

                                                                                  + *

                                                                                  The platform version on which your tasks in the service are running. A platform + * version is only specified for tasks using the Fargate launch type. If a + * platform version is not specified, the LATEST platform version is used by + * default. For more information, see AWS Fargate Platform + * Versions in the Amazon Elastic Container Service Developer Guide.

                                                                                  */ - healthCheckGracePeriodSeconds?: number; + platformVersion?: string; + + /** + *

                                                                                  Whether to force a new deployment of the service. Deployments are not forced by + * default. You can use this option to trigger a new deployment with no service definition + * changes. For example, you can update a service's tasks to use a newer Docker image with + * the same image/tag combination (my_image:latest) or to roll Fargate tasks + * onto a newer platform version.

                                                                                  + */ + forceNewDeployment?: boolean; /** *

                                                                                  An array of task placement constraint objects to update the service to use. If no - * value is specified, the existing placement constraints for the service will remain - * unchanged. If this value is specified, it will override any existing placement - * constraints defined for the service. To remove all existing placement constraints, - * specify an empty array.

                                                                                  - *

                                                                                  You can specify a maximum of 10 constraints per task (this limit includes constraints - * in the task definition and those specified at runtime).

                                                                                  + * value is specified, the existing placement constraints for the service will remain + * unchanged. If this value is specified, it will override any existing placement + * constraints defined for the service. To remove all existing placement constraints, + * specify an empty array.

                                                                                  + *

                                                                                  You can specify a maximum of 10 constraints per task (this limit includes constraints + * in the task definition and those specified at runtime).

                                                                                  */ placementConstraints?: PlacementConstraint[]; /** - *

                                                                                  The capacity provider strategy to update the service to use.

                                                                                  - *

                                                                                  If the service is using the default capacity provider strategy for the cluster, the - * service can be updated to use one or more capacity providers as opposed to the default - * capacity provider strategy. However, when a service is using a capacity provider - * strategy that is not the default capacity provider strategy, the service cannot be - * updated to use the cluster's default capacity provider strategy.

                                                                                  - *

                                                                                  A capacity provider strategy consists of one or more capacity providers along with the - * base and weight to assign to them. A capacity provider - * must be associated with the cluster to be used in a capacity provider strategy. The - * PutClusterCapacityProviders API is used to associate a capacity - * provider with a cluster. Only capacity providers with an ACTIVE or - * UPDATING status can be used.

                                                                                  - *

                                                                                  If specifying a capacity provider that uses an Auto Scaling group, the capacity - * provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                                                                  - *

                                                                                  To use a AWS Fargate capacity provider, specify either the FARGATE or - * FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are - * available to all accounts and only need to be associated with a cluster to be - * used.

                                                                                  - *

                                                                                  The PutClusterCapacityProviders API operation is used to update the - * list of available capacity providers for a cluster after the cluster is created.

                                                                                  - *

                                                                                  + *

                                                                                  Optional deployment parameters that control how many tasks run during the deployment + * and the ordering of stopping and starting tasks.

                                                                                  */ - capacityProviderStrategy?: CapacityProviderStrategyItem[]; + deploymentConfiguration?: DeploymentConfiguration; } export namespace UpdateServiceRequest { @@ -8790,16 +8887,16 @@ export interface UpdateServicePrimaryTaskSetRequest { service: string | undefined; /** - *

                                                                                  The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the - * deployment.

                                                                                  + *

                                                                                  The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task + * set exists in.

                                                                                  */ - primaryTaskSet: string | undefined; + cluster: string | undefined; /** - *

                                                                                  The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task - * set exists in.

                                                                                  + *

                                                                                  The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the + * deployment.

                                                                                  */ - cluster: string | undefined; + primaryTaskSet: string | undefined; } export namespace UpdateServicePrimaryTaskSetRequest { @@ -8811,8 +8908,8 @@ export namespace UpdateServicePrimaryTaskSetRequest { export interface UpdateServicePrimaryTaskSetResponse { /** *

                                                                                  Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL - * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how - * many tasks are running, and whether the task set serves production traffic.

                                                                                  + * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how + * many tasks are running, and whether the task set serves production traffic.

                                                                                  */ taskSet?: TaskSet; } @@ -8826,25 +8923,25 @@ export namespace UpdateServicePrimaryTaskSetResponse { export interface UpdateTaskSetRequest { /** *

                                                                                  A floating-point percentage of the desired number of tasks to place and keep running - * in the task set.

                                                                                  + * in the task set.

                                                                                  */ scale: Scale | undefined; /** - *

                                                                                  The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

                                                                                  + *

                                                                                  The short name or full Amazon Resource Name (ARN) of the task set to update.

                                                                                  */ - service: string | undefined; + taskSet: string | undefined; /** *

                                                                                  The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task - * set exists in.

                                                                                  + * set exists in.

                                                                                  */ cluster: string | undefined; /** - *

                                                                                  The short name or full Amazon Resource Name (ARN) of the task set to update.

                                                                                  + *

                                                                                  The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

                                                                                  */ - taskSet: string | undefined; + service: string | undefined; } export namespace UpdateTaskSetRequest { @@ -8856,8 +8953,8 @@ export namespace UpdateTaskSetRequest { export interface UpdateTaskSetResponse { /** *

                                                                                  Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL - * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how - * many tasks are running, and whether the task set serves production traffic.

                                                                                  + * deployment. An Amazon ECS task set includes details such as the desired number of tasks, how + * many tasks are running, and whether the task set serves production traffic.

                                                                                  */ taskSet?: TaskSet; } diff --git a/clients/client-ecs/pagination/ListAccountSettingsPaginator.ts b/clients/client-ecs/pagination/ListAccountSettingsPaginator.ts index 5276765cfa24..e4747da52044 100644 --- a/clients/client-ecs/pagination/ListAccountSettingsPaginator.ts +++ b/clients/client-ecs/pagination/ListAccountSettingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountSettingsCommand(input), ...args); + return await client.send(new ListAccountSettingsCommand(input, ...args)); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListAttributesPaginator.ts b/clients/client-ecs/pagination/ListAttributesPaginator.ts index 06cbeb75816a..dc1d1acebe3a 100644 --- a/clients/client-ecs/pagination/ListAttributesPaginator.ts +++ b/clients/client-ecs/pagination/ListAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttributesCommand(input), ...args); + return await client.send(new ListAttributesCommand(input, ...args)); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListClustersPaginator.ts b/clients/client-ecs/pagination/ListClustersPaginator.ts index 0b6a5bfa573c..3b3fb2e7d7a8 100644 --- a/clients/client-ecs/pagination/ListClustersPaginator.ts +++ b/clients/client-ecs/pagination/ListClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClustersCommand(input), ...args); + return await client.send(new ListClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListContainerInstancesPaginator.ts b/clients/client-ecs/pagination/ListContainerInstancesPaginator.ts index 74a2a0e9ebc6..ed743cc4fc67 100644 --- a/clients/client-ecs/pagination/ListContainerInstancesPaginator.ts +++ b/clients/client-ecs/pagination/ListContainerInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContainerInstancesCommand(input), ...args); + return await client.send(new ListContainerInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListServicesPaginator.ts b/clients/client-ecs/pagination/ListServicesPaginator.ts index ffa882a9404b..3ad8c3d34aa7 100644 --- a/clients/client-ecs/pagination/ListServicesPaginator.ts +++ b/clients/client-ecs/pagination/ListServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServicesCommand(input), ...args); + return await client.send(new ListServicesCommand(input, ...args)); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListTaskDefinitionFamiliesPaginator.ts b/clients/client-ecs/pagination/ListTaskDefinitionFamiliesPaginator.ts index c7ed15387f4f..dedc8d06dc18 100644 --- a/clients/client-ecs/pagination/ListTaskDefinitionFamiliesPaginator.ts +++ b/clients/client-ecs/pagination/ListTaskDefinitionFamiliesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTaskDefinitionFamiliesCommand(input), ...args); + return await client.send(new ListTaskDefinitionFamiliesCommand(input, ...args)); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListTaskDefinitionsPaginator.ts b/clients/client-ecs/pagination/ListTaskDefinitionsPaginator.ts index e93558bbb0bc..ba5311fc4e27 100644 --- a/clients/client-ecs/pagination/ListTaskDefinitionsPaginator.ts +++ b/clients/client-ecs/pagination/ListTaskDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTaskDefinitionsCommand(input), ...args); + return await client.send(new ListTaskDefinitionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListTasksPaginator.ts b/clients/client-ecs/pagination/ListTasksPaginator.ts index 3a0bb54a15cf..56cdfbc1054d 100644 --- a/clients/client-ecs/pagination/ListTasksPaginator.ts +++ b/clients/client-ecs/pagination/ListTasksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTasksCommand(input), ...args); + return await client.send(new ListTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/protocols/Aws_json1_1.ts b/clients/client-ecs/protocols/Aws_json1_1.ts index f0512c7c8187..706d20fca891 100644 --- a/clients/client-ecs/protocols/Aws_json1_1.ts +++ b/clients/client-ecs/protocols/Aws_json1_1.ts @@ -199,6 +199,8 @@ import { EFSAuthorizationConfig, EFSVolumeConfiguration, EnvironmentFile, + FSxWindowsFileServerAuthorizationConfig, + FSxWindowsFileServerVolumeConfiguration, Failure, FirelensConfiguration, HealthCheck, @@ -6038,6 +6040,32 @@ const serializeAws_json1_1FirelensConfigurationOptionsMap = ( ); }; +const serializeAws_json1_1FSxWindowsFileServerAuthorizationConfig = ( + input: FSxWindowsFileServerAuthorizationConfig, + context: __SerdeContext +): any => { + return { + ...(input.credentialsParameter !== undefined && { credentialsParameter: input.credentialsParameter }), + ...(input.domain !== undefined && { domain: input.domain }), + }; +}; + +const serializeAws_json1_1FSxWindowsFileServerVolumeConfiguration = ( + input: FSxWindowsFileServerVolumeConfiguration, + context: __SerdeContext +): any => { + return { + ...(input.authorizationConfig !== undefined && { + authorizationConfig: serializeAws_json1_1FSxWindowsFileServerAuthorizationConfig( + input.authorizationConfig, + context + ), + }), + ...(input.fileSystemId !== undefined && { fileSystemId: input.fileSystemId }), + ...(input.rootDirectory !== undefined && { rootDirectory: input.rootDirectory }), + }; +}; + const serializeAws_json1_1HealthCheck = (input: HealthCheck, context: __SerdeContext): any => { return { ...(input.command !== undefined && { command: serializeAws_json1_1StringList(input.command, context) }), @@ -6877,6 +6905,12 @@ const serializeAws_json1_1Volume = (input: Volume, context: __SerdeContext): any ...(input.efsVolumeConfiguration !== undefined && { efsVolumeConfiguration: serializeAws_json1_1EFSVolumeConfiguration(input.efsVolumeConfiguration, context), }), + ...(input.fsxWindowsFileServerVolumeConfiguration !== undefined && { + fsxWindowsFileServerVolumeConfiguration: serializeAws_json1_1FSxWindowsFileServerVolumeConfiguration( + input.fsxWindowsFileServerVolumeConfiguration, + context + ), + }), ...(input.host !== undefined && { host: serializeAws_json1_1HostVolumeProperties(input.host, context) }), ...(input.name !== undefined && { name: input.name }), }; @@ -7846,6 +7880,34 @@ const deserializeAws_json1_1FirelensConfigurationOptionsMap = ( ); }; +const deserializeAws_json1_1FSxWindowsFileServerAuthorizationConfig = ( + output: any, + context: __SerdeContext +): FSxWindowsFileServerAuthorizationConfig => { + return { + credentialsParameter: + output.credentialsParameter !== undefined && output.credentialsParameter !== null + ? output.credentialsParameter + : undefined, + domain: output.domain !== undefined && output.domain !== null ? output.domain : undefined, + } as any; +}; + +const deserializeAws_json1_1FSxWindowsFileServerVolumeConfiguration = ( + output: any, + context: __SerdeContext +): FSxWindowsFileServerVolumeConfiguration => { + return { + authorizationConfig: + output.authorizationConfig !== undefined && output.authorizationConfig !== null + ? deserializeAws_json1_1FSxWindowsFileServerAuthorizationConfig(output.authorizationConfig, context) + : undefined, + fileSystemId: output.fileSystemId !== undefined && output.fileSystemId !== null ? output.fileSystemId : undefined, + rootDirectory: + output.rootDirectory !== undefined && output.rootDirectory !== null ? output.rootDirectory : undefined, + } as any; +}; + const deserializeAws_json1_1GpuIds = (output: any, context: __SerdeContext): string[] => { return (output || []).map((entry: any) => entry); }; @@ -9076,6 +9138,14 @@ const deserializeAws_json1_1Volume = (output: any, context: __SerdeContext): Vol output.efsVolumeConfiguration !== undefined && output.efsVolumeConfiguration !== null ? deserializeAws_json1_1EFSVolumeConfiguration(output.efsVolumeConfiguration, context) : undefined, + fsxWindowsFileServerVolumeConfiguration: + output.fsxWindowsFileServerVolumeConfiguration !== undefined && + output.fsxWindowsFileServerVolumeConfiguration !== null + ? deserializeAws_json1_1FSxWindowsFileServerVolumeConfiguration( + output.fsxWindowsFileServerVolumeConfiguration, + context + ) + : undefined, host: output.host !== undefined && output.host !== null ? deserializeAws_json1_1HostVolumeProperties(output.host, context) diff --git a/clients/client-efs/pagination/DescribeAccessPointsPaginator.ts b/clients/client-efs/pagination/DescribeAccessPointsPaginator.ts index 20a1fc37e950..141c94d324b8 100644 --- a/clients/client-efs/pagination/DescribeAccessPointsPaginator.ts +++ b/clients/client-efs/pagination/DescribeAccessPointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAccessPointsCommand(input), ...args); + return await client.send(new DescribeAccessPointsCommand(input, ...args)); }; const makePagedRequest = async ( client: EFS, diff --git a/clients/client-efs/pagination/DescribeFileSystemsPaginator.ts b/clients/client-efs/pagination/DescribeFileSystemsPaginator.ts index 5c77e524c272..030e9de05190 100644 --- a/clients/client-efs/pagination/DescribeFileSystemsPaginator.ts +++ b/clients/client-efs/pagination/DescribeFileSystemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFileSystemsCommand(input), ...args); + return await client.send(new DescribeFileSystemsCommand(input, ...args)); }; const makePagedRequest = async ( client: EFS, diff --git a/clients/client-efs/pagination/DescribeTagsPaginator.ts b/clients/client-efs/pagination/DescribeTagsPaginator.ts index 0530f2d3b56e..4f78aa199060 100644 --- a/clients/client-efs/pagination/DescribeTagsPaginator.ts +++ b/clients/client-efs/pagination/DescribeTagsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTagsCommand(input), ...args); + return await client.send(new DescribeTagsCommand(input, ...args)); }; const makePagedRequest = async ( client: EFS, diff --git a/clients/client-efs/pagination/ListTagsForResourcePaginator.ts b/clients/client-efs/pagination/ListTagsForResourcePaginator.ts index 16f8abb70130..6d53121a0b7e 100644 --- a/clients/client-efs/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-efs/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: EFS, diff --git a/clients/client-eks/pagination/ListClustersPaginator.ts b/clients/client-eks/pagination/ListClustersPaginator.ts index 1529c5c7a2a9..46e98aca1909 100644 --- a/clients/client-eks/pagination/ListClustersPaginator.ts +++ b/clients/client-eks/pagination/ListClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClustersCommand(input), ...args); + return await client.send(new ListClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: EKS, diff --git a/clients/client-eks/pagination/ListFargateProfilesPaginator.ts b/clients/client-eks/pagination/ListFargateProfilesPaginator.ts index d68cfa905572..1b853837bd5d 100644 --- a/clients/client-eks/pagination/ListFargateProfilesPaginator.ts +++ b/clients/client-eks/pagination/ListFargateProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFargateProfilesCommand(input), ...args); + return await client.send(new ListFargateProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: EKS, diff --git a/clients/client-eks/pagination/ListNodegroupsPaginator.ts b/clients/client-eks/pagination/ListNodegroupsPaginator.ts index 1a807bd2f6f5..16db87b48609 100644 --- a/clients/client-eks/pagination/ListNodegroupsPaginator.ts +++ b/clients/client-eks/pagination/ListNodegroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNodegroupsCommand(input), ...args); + return await client.send(new ListNodegroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: EKS, diff --git a/clients/client-eks/pagination/ListUpdatesPaginator.ts b/clients/client-eks/pagination/ListUpdatesPaginator.ts index 6bfd1a12433c..c77335b2f6ab 100644 --- a/clients/client-eks/pagination/ListUpdatesPaginator.ts +++ b/clients/client-eks/pagination/ListUpdatesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUpdatesCommand(input), ...args); + return await client.send(new ListUpdatesCommand(input, ...args)); }; const makePagedRequest = async ( client: EKS, diff --git a/clients/client-elastic-beanstalk/pagination/DescribeEnvironmentManagedActionHistoryPaginator.ts b/clients/client-elastic-beanstalk/pagination/DescribeEnvironmentManagedActionHistoryPaginator.ts index d12190f340d8..38345a7a7774 100644 --- a/clients/client-elastic-beanstalk/pagination/DescribeEnvironmentManagedActionHistoryPaginator.ts +++ b/clients/client-elastic-beanstalk/pagination/DescribeEnvironmentManagedActionHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEnvironmentManagedActionHistoryCommand(input), ...args); + return await client.send(new DescribeEnvironmentManagedActionHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticBeanstalk, diff --git a/clients/client-elastic-beanstalk/pagination/DescribeEventsPaginator.ts b/clients/client-elastic-beanstalk/pagination/DescribeEventsPaginator.ts index 474f84e65031..aa5cdb843532 100644 --- a/clients/client-elastic-beanstalk/pagination/DescribeEventsPaginator.ts +++ b/clients/client-elastic-beanstalk/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input), ...args); + return await client.send(new DescribeEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticBeanstalk, diff --git a/clients/client-elastic-beanstalk/pagination/ListPlatformBranchesPaginator.ts b/clients/client-elastic-beanstalk/pagination/ListPlatformBranchesPaginator.ts index fdce8eeddd6e..f70c736d07f5 100644 --- a/clients/client-elastic-beanstalk/pagination/ListPlatformBranchesPaginator.ts +++ b/clients/client-elastic-beanstalk/pagination/ListPlatformBranchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlatformBranchesCommand(input), ...args); + return await client.send(new ListPlatformBranchesCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticBeanstalk, diff --git a/clients/client-elastic-beanstalk/pagination/ListPlatformVersionsPaginator.ts b/clients/client-elastic-beanstalk/pagination/ListPlatformVersionsPaginator.ts index f8268e266619..ca0390cd2aa8 100644 --- a/clients/client-elastic-beanstalk/pagination/ListPlatformVersionsPaginator.ts +++ b/clients/client-elastic-beanstalk/pagination/ListPlatformVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlatformVersionsCommand(input), ...args); + return await client.send(new ListPlatformVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticBeanstalk, diff --git a/clients/client-elastic-inference/pagination/DescribeAcceleratorsPaginator.ts b/clients/client-elastic-inference/pagination/DescribeAcceleratorsPaginator.ts index c96cc0efaff6..af6b0bb80157 100644 --- a/clients/client-elastic-inference/pagination/DescribeAcceleratorsPaginator.ts +++ b/clients/client-elastic-inference/pagination/DescribeAcceleratorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAcceleratorsCommand(input), ...args); + return await client.send(new DescribeAcceleratorsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticInference, diff --git a/clients/client-elastic-load-balancing-v2/ElasticLoadBalancingV2.ts b/clients/client-elastic-load-balancing-v2/ElasticLoadBalancingV2.ts index 96ae11d04f5e..518bd272404b 100644 --- a/clients/client-elastic-load-balancing-v2/ElasticLoadBalancingV2.ts +++ b/clients/client-elastic-load-balancing-v2/ElasticLoadBalancingV2.ts @@ -160,14 +160,21 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; * settings to be used when checking the health status of the targets.

                                                                                  * *

                                                                                  Elastic Load Balancing supports the following types of load balancers: Application Load - * Balancers, Network Load Balancers, and Classic Load Balancers. This reference covers - * Application Load Balancers and Network Load Balancers.

                                                                                  - *

                                                                                  An Application Load Balancer makes routing and load balancing decisions at the - * application layer (HTTP/HTTPS). A Network Load Balancer makes routing and load balancing - * decisions at the transport layer (TCP/TLS). Both Application Load Balancers and Network Load - * Balancers can route requests to one or more ports on each EC2 instance or container instance - * in your virtual private cloud (VPC). For more information, see the Elastic Load Balancing User - * Guide.

                                                                                  + * Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. + * This reference covers the following load balancer types:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    Gateway Load Balancer - Operates at the network layer (layer 3).

                                                                                    + *
                                                                                  • + *
                                                                                  + * + *

                                                                                  For more information, see the Elastic Load Balancing User Guide.

                                                                                  * * * @@ -183,11 +190,9 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { *

                                                                                  Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener.

                                                                                  *

                                                                                  If the certificate in already in the certificate list, the call is successful but the certificate * is not added again.

                                                                                  - *

                                                                                  To get the certificate list for a listener, use DescribeListenerCertificates. - * To remove certificates from the certificate list for a listener, use RemoveListenerCertificates. - * To replace the default certificate for a listener, use ModifyListener.

                                                                                  - *

                                                                                  For more information, see SSL Certificates - * in the Application Load Balancers Guide.

                                                                                  + * + *

                                                                                  For more information, see HTTPS listeners in the Application Load Balancers Guide or TLS listeners in the + * Network Load Balancers Guide.

                                                                                  */ public addListenerCertificates( args: AddListenerCertificatesCommandInput, @@ -219,13 +224,11 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { } /** - *

                                                                                  Adds the specified tags to the specified Elastic Load Balancing resource. You can tag - * your Application Load Balancers, Network Load Balancers, target groups, listeners, and - * rules.

                                                                                  + *

                                                                                  Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your + * Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, + * listeners, and rules.

                                                                                  *

                                                                                  Each tag consists of a key and an optional value. If a resource already has a tag with * the same key, AddTags updates its value.

                                                                                  - *

                                                                                  To list the current tags for your resources, use DescribeTags. To - * remove tags from your resources, use RemoveTags.

                                                                                  */ public addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise; public addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void; @@ -251,18 +254,34 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { } /** - *

                                                                                  Creates a listener for the specified Application Load Balancer or Network Load - * Balancer.

                                                                                  - *

                                                                                  To update a listener, use ModifyListener. When you are finished with - * a listener, you can delete it using DeleteListener. If you are finished with - * both the listener and the load balancer, you can delete them both using DeleteLoadBalancer.

                                                                                  + *

                                                                                  Creates a listener for the specified Application Load Balancer, Network Load Balancer. or + * Gateway Load Balancer.

                                                                                  + * + * + *

                                                                                  For more information, see the following:

                                                                                  + * + * *

                                                                                  This operation is idempotent, which means that it completes at most one time. If you * attempt to create multiple listeners with the same settings, each call succeeds.

                                                                                  - *

                                                                                  For more information, see Listeners for - * Your Application Load Balancers in the Application Load Balancers - * Guide and Listeners for Your - * Network Load Balancers in the Network Load Balancers - * Guide.

                                                                                  */ public createListener( args: CreateListenerCommandInput, @@ -294,24 +313,32 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { } /** - *

                                                                                  Creates an Application Load Balancer or a Network Load Balancer.

                                                                                  - *

                                                                                  When you create a load balancer, you can specify security groups, public subnets, IP address - * type, and tags. Otherwise, you could do so later using SetSecurityGroups, - * SetSubnets, SetIpAddressType, and AddTags.

                                                                                  - *

                                                                                  To create listeners for your load balancer, use CreateListener. To - * describe your current load balancers, see DescribeLoadBalancers. When you - * are finished with a load balancer, you can delete it using DeleteLoadBalancer.

                                                                                  - *

                                                                                  For limit information, see Limits for Your - * Application Load Balancer in the Application Load Balancers - * Guide and Limits for Your Network - * Load Balancer in the Network Load Balancers Guide.

                                                                                  + *

                                                                                  Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

                                                                                  + * + * + * + *

                                                                                  For more information, see the following:

                                                                                  + * + * *

                                                                                  This operation is idempotent, which means that it completes at most one time. If you * attempt to create multiple load balancers with the same settings, each call * succeeds.

                                                                                  - *

                                                                                  For more information, see Application - * Load Balancers in the Application Load Balancers Guide and - * Network Load - * Balancers in the Network Load Balancers Guide.

                                                                                  */ public createLoadBalancer( args: CreateLoadBalancerCommandInput, @@ -348,9 +375,7 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { *

                                                                                  Each rule consists of a priority, one or more actions, and one or more conditions. * Rules are evaluated in priority order, from the lowest value to the highest value. * When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, - * the actions for the default rule are performed. For more information, see Listener Rules in the Application Load Balancers Guide.

                                                                                  - *

                                                                                  To view your current rules, use DescribeRules. To update a rule, use - * ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule.

                                                                                  + * the actions for the default rule are performed. For more information, see Listener rules in the Application Load Balancers Guide.

                                                                                  */ public createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise; public createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void; @@ -377,19 +402,30 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Creates a target group.

                                                                                  - *

                                                                                  To register targets with the target group, use RegisterTargets. - * To update the health check settings for the target group, use ModifyTargetGroup. - * To monitor the health of targets in the target group, use DescribeTargetHealth.

                                                                                  - *

                                                                                  To route traffic to the targets in a target group, specify the target group in an - * action using CreateListener or CreateRule.

                                                                                  - *

                                                                                  To delete a target group, use DeleteTargetGroup.

                                                                                  + * + * + * + *

                                                                                  For more information, see the following:

                                                                                  + * + * *

                                                                                  This operation is idempotent, which means that it completes at most one time. If you * attempt to create multiple target groups with the same settings, each call succeeds.

                                                                                  - *

                                                                                  For more information, see Target Groups - * for Your Application Load Balancers in the Application Load Balancers - * Guide or Target Groups for - * Your Network Load Balancers in the Network Load Balancers - * Guide.

                                                                                  */ public createTargetGroup( args: CreateTargetGroupCommandInput, @@ -423,7 +459,7 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Deletes the specified listener.

                                                                                  *

                                                                                  Alternatively, your listener is deleted when you delete the load balancer to which it - * is attached, using DeleteLoadBalancer.

                                                                                  + * is attached.

                                                                                  */ public deleteListener( args: DeleteListenerCommandInput, @@ -455,8 +491,8 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { } /** - *

                                                                                  Deletes the specified Application Load Balancer or Network Load Balancer and its - * attached listeners.

                                                                                  + *

                                                                                  Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load + * Balancer. Deleting a load balancer also deletes its listeners.

                                                                                  *

                                                                                  You can't delete a load balancer if deletion protection is enabled. If the load * balancer does not exist or has already been deleted, the call succeeds.

                                                                                  *

                                                                                  Deleting a load balancer does not affect its registered targets. For example, your EC2 @@ -522,7 +558,9 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Deletes the specified target group.

                                                                                  *

                                                                                  You can delete a target group if it is not referenced by any actions. Deleting a target - * group also deletes any associated health checks.

                                                                                  + * group also deletes any associated health checks. Deleting a target group does not affect its + * registered targets. For example, any EC2 instances continue to run until you stop or terminate + * them.

                                                                                  */ public deleteTargetGroup( args: DeleteTargetGroupCommandInput, @@ -587,12 +625,25 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { } /** - *

                                                                                  Describes the current Elastic Load Balancing resource limits for your AWS - * account.

                                                                                  - *

                                                                                  For more information, see Limits for Your - * Application Load Balancers in the Application Load Balancer - * Guide or Limits for Your Network - * Load Balancers in the Network Load Balancers Guide.

                                                                                  + *

                                                                                  Describes the current Elastic Load Balancing resource limits for your AWS account.

                                                                                  + *

                                                                                  For more information, see the following:

                                                                                  + * */ public describeAccountLimits( args: DescribeAccountLimitsCommandInput, @@ -627,8 +678,8 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { *

                                                                                  Describes the default certificate and the certificate list for the specified HTTPS or TLS listener.

                                                                                  *

                                                                                  If the default certificate is also in the certificate list, it appears twice in the results * (once with IsDefault set to true and once with IsDefault set to false).

                                                                                  - *

                                                                                  For more information, see SSL Certificates - * in the Application Load Balancers Guide.

                                                                                  + *

                                                                                  For more information, see SSL certificates in the Application Load Balancers Guide or + * Server certificates in the Network Load Balancers Guide.

                                                                                  */ public describeListenerCertificates( args: DescribeListenerCertificatesCommandInput, @@ -661,10 +712,8 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Describes the specified listeners or the listeners for the specified Application Load - * Balancer or Network Load Balancer. You must specify either a load balancer or one or more - * listeners.

                                                                                  - *

                                                                                  For an HTTPS or TLS listener, the output includes the default certificate for the listener. - * To describe the certificate list for the listener, use DescribeListenerCertificates.

                                                                                  + * Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load + * balancer or one or more listeners.

                                                                                  */ public describeListeners( args: DescribeListenersCommandInput, @@ -696,11 +745,27 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { } /** - *

                                                                                  Describes the attributes for the specified Application Load Balancer or Network Load - * Balancer.

                                                                                  - *

                                                                                  For more information, see Load Balancer Attributes - * in the Application Load Balancers Guide or Load Balancer Attributes - * in the Network Load Balancers Guide.

                                                                                  + *

                                                                                  Describes the attributes for the specified Application Load Balancer, Network Load Balancer, + * or Gateway Load Balancer.

                                                                                  + * + *

                                                                                  For more information, see the following:

                                                                                  + * */ public describeLoadBalancerAttributes( args: DescribeLoadBalancerAttributesCommandInput, @@ -733,8 +798,6 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Describes the specified load balancers or all of your load balancers.

                                                                                  - *

                                                                                  To describe the listeners for a load balancer, use DescribeListeners. - * To describe the attributes for a load balancer, use DescribeLoadBalancerAttributes.

                                                                                  */ public describeLoadBalancers( args: DescribeLoadBalancersCommandInput, @@ -800,8 +863,8 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Describes the specified policies or all policies used for SSL negotiation.

                                                                                  - *

                                                                                  For more information, see Security Policies in the Application Load Balancers - * Guide.

                                                                                  + *

                                                                                  For more information, see Security policies in the Application Load Balancers Guide or + * Security policies in the Network Load Balancers Guide.

                                                                                  */ public describeSSLPolicies( args: DescribeSSLPoliciesCommandInput, @@ -833,8 +896,9 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { } /** - *

                                                                                  Describes the tags for the specified Elastic Load Balancing resources. You can describe the tags for - * one or more Application Load Balancers, Network Load Balancers, target groups, listeners, or rules.

                                                                                  + *

                                                                                  Describes the tags for the specified Elastic Load Balancing resources. You can describe + * the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load + * Balancers, target groups, listeners, or rules.

                                                                                  */ public describeTags( args: DescribeTagsCommandInput, @@ -864,9 +928,24 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Describes the attributes for the specified target group.

                                                                                  - *

                                                                                  For more information, see Target Group Attributes - * in the Application Load Balancers Guide or Target Group Attributes - * in the Network Load Balancers Guide.

                                                                                  + *

                                                                                  For more information, see the following:

                                                                                  + * */ public describeTargetGroupAttributes( args: DescribeTargetGroupAttributesCommandInput, @@ -902,8 +981,6 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { * target groups are described. Alternatively, you can specify one of the following to filter the * results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of * one or more target groups.

                                                                                  - *

                                                                                  To describe the targets for a target group, use DescribeTargetHealth. - * To describe the attributes of a target group, use DescribeTargetGroupAttributes.

                                                                                  */ public describeTargetGroups( args: DescribeTargetGroupsCommandInput, @@ -1006,8 +1083,8 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { } /** - *

                                                                                  Modifies the specified attributes of the specified Application Load Balancer or Network - * Load Balancer.

                                                                                  + *

                                                                                  Modifies the specified attributes of the specified Application Load Balancer, Network Load + * Balancer, or Gateway Load Balancer.

                                                                                  *

                                                                                  If any of the specified attributes can't be modified as requested, the call fails. Any * existing attributes that you do not modify retain their current values.

                                                                                  */ @@ -1046,7 +1123,6 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { *

                                                                                  To add an item to a list, remove an item from a list, or update an item in a list, * you must provide the entire list. For example, to add an action, specify a list with the * current actions plus the new action.

                                                                                  - *

                                                                                  To modify the actions for the default rule, use ModifyListener.

                                                                                  */ public modifyRule(args: ModifyRuleCommandInput, options?: __HttpHandlerOptions): Promise; public modifyRule(args: ModifyRuleCommandInput, cb: (err: any, data?: ModifyRuleCommandOutput) => void): void; @@ -1074,7 +1150,6 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Modifies the health checks used when evaluating the health state of the targets in the * specified target group.

                                                                                  - *

                                                                                  To monitor the health of the targets, use DescribeTargetHealth.

                                                                                  */ public modifyTargetGroup( args: ModifyTargetGroupCommandInput, @@ -1150,8 +1225,6 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { *

                                                                                  With a Network Load Balancer, you cannot register instances by instance ID if they have * the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, * and T1. You can register instances of these types by IP address.

                                                                                  - * - *

                                                                                  To remove a target from a target group, use DeregisterTargets.

                                                                                  */ public registerTargets( args: RegisterTargetsCommandInput, @@ -1184,9 +1257,6 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener.

                                                                                  - *

                                                                                  You can't remove the default certificate for a listener. To replace the default - * certificate, call ModifyListener.

                                                                                  - *

                                                                                  To list the certificates for your listener, use DescribeListenerCertificates.

                                                                                  */ public removeListenerCertificates( args: RemoveListenerCertificatesCommandInput, @@ -1218,9 +1288,9 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { } /** - *

                                                                                  Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags - * for one or more Application Load Balancers, Network Load Balancers, target groups, listeners, or rules.

                                                                                  - *

                                                                                  To list the current tags for your resources, use DescribeTags.

                                                                                  + *

                                                                                  Removes the specified tags from the specified Elastic Load Balancing resources. You can + * remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway + * Load Balancers, target groups, listeners, or rules.

                                                                                  */ public removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise; public removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void; @@ -1315,7 +1385,8 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Associates the specified security groups with the specified Application Load Balancer. * The specified security groups override the previously associated security groups.

                                                                                  - *

                                                                                  You can't specify a security group for a Network Load Balancer.

                                                                                  + *

                                                                                  You can't specify a security group for a Network Load Balancer or Gateway Load + * Balancer.

                                                                                  */ public setSecurityGroups( args: SetSecurityGroupsCommandInput, @@ -1348,7 +1419,8 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

                                                                                  Enables the Availability Zones for the specified public subnets for the specified - * load balancer. The specified subnets replace the previously enabled subnets.

                                                                                  + * Application Load Balancer or Network Load Balancer. The specified subnets replace the + * previously enabled subnets.

                                                                                  *

                                                                                  When you specify subnets for a Network Load Balancer, you must include all * subnets that were enabled previously, with their existing configurations, plus any * additional subnets.

                                                                                  diff --git a/clients/client-elastic-load-balancing-v2/ElasticLoadBalancingV2Client.ts b/clients/client-elastic-load-balancing-v2/ElasticLoadBalancingV2Client.ts index 77c2a0dd2249..ba03e7f28f77 100644 --- a/clients/client-elastic-load-balancing-v2/ElasticLoadBalancingV2Client.ts +++ b/clients/client-elastic-load-balancing-v2/ElasticLoadBalancingV2Client.ts @@ -314,14 +314,21 @@ export type ElasticLoadBalancingV2ClientResolvedConfig = __SmithyResolvedConfigu * settings to be used when checking the health status of the targets.

                                                                                  * *

                                                                                  Elastic Load Balancing supports the following types of load balancers: Application Load - * Balancers, Network Load Balancers, and Classic Load Balancers. This reference covers - * Application Load Balancers and Network Load Balancers.

                                                                                  - *

                                                                                  An Application Load Balancer makes routing and load balancing decisions at the - * application layer (HTTP/HTTPS). A Network Load Balancer makes routing and load balancing - * decisions at the transport layer (TCP/TLS). Both Application Load Balancers and Network Load - * Balancers can route requests to one or more ports on each EC2 instance or container instance - * in your virtual private cloud (VPC). For more information, see the Elastic Load Balancing User - * Guide.

                                                                                  + * Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. + * This reference covers the following load balancer types:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    Gateway Load Balancer - Operates at the network layer (layer 3).

                                                                                    + *
                                                                                  • + *
                                                                                  + * + *

                                                                                  For more information, see the Elastic Load Balancing User Guide.

                                                                                  * * * diff --git a/clients/client-elastic-load-balancing-v2/models/models_0.ts b/clients/client-elastic-load-balancing-v2/models/models_0.ts index 64ca970a737c..ed483061a637 100644 --- a/clients/client-elastic-load-balancing-v2/models/models_0.ts +++ b/clients/client-elastic-load-balancing-v2/models/models_0.ts @@ -12,16 +12,14 @@ export enum AuthenticateCognitoActionConditionalBehaviorEnum { */ export interface AuthenticateCognitoActionConfig { /** - *

                                                                                  The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

                                                                                  */ - SessionCookieName?: string; + UserPoolArn: string | undefined; /** - *

                                                                                  The set of user claims to be requested from the IdP. The default is openid.

                                                                                  - *

                                                                                  To verify which scope values your IdP supports and how to separate multiple values, - * see the documentation for your IdP.

                                                                                  + *

                                                                                  The ID of the Amazon Cognito user pool client.

                                                                                  */ - Scope?: string; + UserPoolClientId: string | undefined; /** *

                                                                                  The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.

                                                                                  @@ -29,20 +27,27 @@ export interface AuthenticateCognitoActionConfig { UserPoolDomain: string | undefined; /** - *

                                                                                  The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

                                                                                  + *

                                                                                  The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

                                                                                  */ - UserPoolArn: string | undefined; + SessionCookieName?: string; /** - *

                                                                                  The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

                                                                                  + *

                                                                                  The set of user claims to be requested from the IdP. The default is openid.

                                                                                  + *

                                                                                  To verify which scope values your IdP supports and how to separate multiple values, + * see the documentation for your IdP.

                                                                                  */ - AuthenticationRequestExtraParams?: { [key: string]: string }; + Scope?: string; /** *

                                                                                  The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).

                                                                                  */ SessionTimeout?: number; + /** + *

                                                                                  The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

                                                                                  + */ + AuthenticationRequestExtraParams?: { [key: string]: string }; + /** *

                                                                                  The behavior if the user is not authenticated. The following are possible values:

                                                                                  *
                                                                                    @@ -58,11 +63,6 @@ export interface AuthenticateCognitoActionConfig { *
                                                                                  */ OnUnauthenticatedRequest?: AuthenticateCognitoActionConditionalBehaviorEnum | string; - - /** - *

                                                                                  The ID of the Amazon Cognito user pool client.

                                                                                  - */ - UserPoolClientId: string | undefined; } export namespace AuthenticateCognitoActionConfig { @@ -81,11 +81,21 @@ export enum AuthenticateOidcActionConditionalBehaviorEnum { *

                                                                                  Request parameters when using an identity provider (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.

                                                                                  */ export interface AuthenticateOidcActionConfig { + /** + *

                                                                                  The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

                                                                                  + */ + Issuer: string | undefined; + /** *

                                                                                  The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

                                                                                  */ AuthorizationEndpoint: string | undefined; + /** + *

                                                                                  The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

                                                                                  + */ + TokenEndpoint: string | undefined; + /** *

                                                                                  The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

                                                                                  */ @@ -103,20 +113,9 @@ export interface AuthenticateOidcActionConfig { ClientSecret?: string; /** - *

                                                                                  Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, - * you can omit this parameter or set it to false.

                                                                                  - */ - UseExistingClientSecret?: boolean; - - /** - *

                                                                                  The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

                                                                                  - */ - TokenEndpoint: string | undefined; - - /** - *

                                                                                  The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

                                                                                  + *

                                                                                  The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

                                                                                  */ - Issuer: string | undefined; + SessionCookieName?: string; /** *

                                                                                  The set of user claims to be requested from the IdP. The default is openid.

                                                                                  @@ -130,6 +129,11 @@ export interface AuthenticateOidcActionConfig { */ SessionTimeout?: number; + /** + *

                                                                                  The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

                                                                                  + */ + AuthenticationRequestExtraParams?: { [key: string]: string }; + /** *

                                                                                  The behavior if the user is not authenticated. The following are possible values:

                                                                                  *
                                                                                    @@ -147,14 +151,10 @@ export interface AuthenticateOidcActionConfig { OnUnauthenticatedRequest?: AuthenticateOidcActionConditionalBehaviorEnum | string; /** - *

                                                                                    The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

                                                                                    - */ - AuthenticationRequestExtraParams?: { [key: string]: string }; - - /** - *

                                                                                    The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

                                                                                    + *

                                                                                    Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, + * you can omit this parameter or set it to false.

                                                                                    */ - SessionCookieName?: string; + UseExistingClientSecret?: boolean; } export namespace AuthenticateOidcActionConfig { @@ -167,12 +167,6 @@ export namespace AuthenticateOidcActionConfig { *

                                                                                    Information about an action that returns a custom HTTP response.

                                                                                    */ export interface FixedResponseActionConfig { - /** - *

                                                                                    The content type.

                                                                                    - *

                                                                                    Valid Values: text/plain | text/css | text/html | application/javascript | application/json

                                                                                    - */ - ContentType?: string; - /** *

                                                                                    The message.

                                                                                    */ @@ -182,6 +176,12 @@ export interface FixedResponseActionConfig { *

                                                                                    The HTTP response code (2XX, 4XX, or 5XX).

                                                                                    */ StatusCode: string | undefined; + + /** + *

                                                                                    The content type.

                                                                                    + *

                                                                                    Valid Values: text/plain | text/css | text/html | application/javascript | application/json

                                                                                    + */ + ContentType?: string; } export namespace FixedResponseActionConfig { @@ -287,21 +287,20 @@ export enum RedirectActionStatusCodeEnum { */ export interface RedirectActionConfig { /** - *

                                                                                    The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

                                                                                    + *

                                                                                    The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, + * HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

                                                                                    */ - StatusCode: RedirectActionStatusCodeEnum | string | undefined; + Protocol?: string; /** - *

                                                                                    The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include - * the leading "?", as it is automatically added. You can specify any of the reserved - * keywords.

                                                                                    + *

                                                                                    The port. You can specify a value from 1 to 65535 or #{port}.

                                                                                    */ - Query?: string; + Port?: string; /** - *

                                                                                    The port. You can specify a value from 1 to 65535 or #{port}.

                                                                                    + *

                                                                                    The hostname. This component is not percent-encoded. The hostname can contain #{host}.

                                                                                    */ - Port?: string; + Host?: string; /** *

                                                                                    The absolute path, starting with the leading "/". This component is not percent-encoded. @@ -310,15 +309,16 @@ export interface RedirectActionConfig { Path?: string; /** - *

                                                                                    The hostname. This component is not percent-encoded. The hostname can contain #{host}.

                                                                                    + *

                                                                                    The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include + * the leading "?", as it is automatically added. You can specify any of the reserved + * keywords.

                                                                                    */ - Host?: string; + Query?: string; /** - *

                                                                                    The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, - * HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

                                                                                    + *

                                                                                    The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

                                                                                    */ - Protocol?: string; + StatusCode: RedirectActionStatusCodeEnum | string | undefined; } export namespace RedirectActionConfig { @@ -348,23 +348,23 @@ export interface Action { Type: ActionTypeEnum | string | undefined; /** - *

                                                                                    [HTTPS listeners] Information for using Amazon Cognito to authenticate users. - * Specify only when Type is authenticate-cognito.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the target group. + * Specify only when Type is forward and you want to route to a single target group. + * To route to one or more target groups, use ForwardConfig instead.

                                                                                    */ - AuthenticateCognitoConfig?: AuthenticateCognitoActionConfig; + TargetGroupArn?: string; /** - *

                                                                                    [Application Load Balancer] Information for creating a redirect action. - * Specify only when Type is redirect.

                                                                                    + *

                                                                                    [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). + * Specify only when Type is authenticate-oidc.

                                                                                    */ - RedirectConfig?: RedirectActionConfig; + AuthenticateOidcConfig?: AuthenticateOidcActionConfig; /** - *

                                                                                    The Amazon Resource Name (ARN) of the target group. - * Specify only when Type is forward and you want to route to a single target group. - * To route to one or more target groups, use ForwardConfig instead.

                                                                                    + *

                                                                                    [HTTPS listeners] Information for using Amazon Cognito to authenticate users. + * Specify only when Type is authenticate-cognito.

                                                                                    */ - TargetGroupArn?: string; + AuthenticateCognitoConfig?: AuthenticateCognitoActionConfig; /** *

                                                                                    The order for the action. This value is required for rules with multiple actions. @@ -373,16 +373,16 @@ export interface Action { Order?: number; /** - *

                                                                                    [Application Load Balancer] Information for creating an action that returns a custom HTTP response. - * Specify only when Type is fixed-response.

                                                                                    + *

                                                                                    [Application Load Balancer] Information for creating a redirect action. + * Specify only when Type is redirect.

                                                                                    */ - FixedResponseConfig?: FixedResponseActionConfig; + RedirectConfig?: RedirectActionConfig; /** - *

                                                                                    [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). - * Specify only when Type is authenticate-oidc.

                                                                                    + *

                                                                                    [Application Load Balancer] Information for creating an action that returns a custom HTTP response. + * Specify only when Type is fixed-response.

                                                                                    */ - AuthenticateOidcConfig?: AuthenticateOidcActionConfig; + FixedResponseConfig?: FixedResponseActionConfig; /** *

                                                                                    Information for creating an action that distributes requests among one or more target groups. @@ -425,15 +425,15 @@ export namespace Certificate { export interface AddListenerCertificatesInput { /** - *

                                                                                    The certificate to add. You can specify one certificate per call. - * Set CertificateArn to the certificate ARN but do not set IsDefault.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the listener.

                                                                                    */ - Certificates: Certificate[] | undefined; + ListenerArn: string | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) of the listener.

                                                                                    + *

                                                                                    The certificate to add. You can specify one certificate per call. + * Set CertificateArn to the certificate ARN but do not set IsDefault.

                                                                                    */ - ListenerArn: string | undefined; + Certificates: Certificate[] | undefined; } export namespace AddListenerCertificatesInput { @@ -641,11 +641,6 @@ export namespace ALPNPolicyNotSupportedException { *

                                                                                    Information about a static IP address for a load balancer.

                                                                                    */ export interface LoadBalancerAddress { - /** - *

                                                                                    [Network Load Balancers] The private IPv4 address for an internal load balancer.

                                                                                    - */ - PrivateIPv4Address?: string; - /** *

                                                                                    The static IP address.

                                                                                    */ @@ -655,6 +650,11 @@ export interface LoadBalancerAddress { *

                                                                                    [Network Load Balancers] The allocation ID of the Elastic IP address for an internal-facing load balancer.

                                                                                    */ AllocationId?: string; + + /** + *

                                                                                    [Network Load Balancers] The private IPv4 address for an internal load balancer.

                                                                                    + */ + PrivateIPv4Address?: string; } export namespace LoadBalancerAddress { @@ -667,15 +667,20 @@ export namespace LoadBalancerAddress { *

                                                                                    Information about an Availability Zone.

                                                                                    */ export interface AvailabilityZone { + /** + *

                                                                                    The name of the Availability Zone.

                                                                                    + */ + ZoneName?: string; + /** *

                                                                                    The ID of the subnet. You can specify one subnet per Availability Zone.

                                                                                    */ SubnetId?: string; /** - *

                                                                                    The name of the Availability Zone.

                                                                                    + *

                                                                                    [Application Load Balancers on Outposts] The ID of the Outpost.

                                                                                    */ - ZoneName?: string; + OutpostId?: string; /** *

                                                                                    [Network Load Balancers] If you need static IP addresses for your load balancer, @@ -684,11 +689,6 @@ export interface AvailabilityZone { * IP address from the IPv4 range of the subnet.

                                                                                    */ LoadBalancerAddresses?: LoadBalancerAddress[]; - - /** - *

                                                                                    [Application Load Balancers on Outposts] The ID of the Outpost.

                                                                                    - */ - OutpostId?: string; } export namespace AvailabilityZone { @@ -717,14 +717,14 @@ export namespace AvailabilityZoneNotSupportedException { */ export interface Cipher { /** - *

                                                                                    The priority of the cipher.

                                                                                    + *

                                                                                    The name of the cipher.

                                                                                    */ - Priority?: number; + Name?: string; /** - *

                                                                                    The name of the cipher.

                                                                                    + *

                                                                                    The priority of the cipher.

                                                                                    */ - Name?: string; + Priority?: number; } export namespace Cipher { @@ -733,37 +733,46 @@ export namespace Cipher { }); } -export type ProtocolEnum = "HTTP" | "HTTPS" | "TCP" | "TCP_UDP" | "TLS" | "UDP"; +export type ProtocolEnum = "GENEVE" | "HTTP" | "HTTPS" | "TCP" | "TCP_UDP" | "TLS" | "UDP"; export interface CreateListenerInput { /** - *

                                                                                    The port on which the load balancer is listening.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the load balancer.

                                                                                    */ - Port: number | undefined; + LoadBalancerArn: string | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) of the load balancer.

                                                                                    + *

                                                                                    The protocol for connections from clients to the load balancer. For Application Load + * Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the + * supported protocols are TCP, TLS, UDP, and TCP_UDP. You cannot specify a protocol for a + * Gateway Load Balancer.

                                                                                    */ - LoadBalancerArn: string | undefined; + Protocol?: ProtocolEnum | string; /** - *

                                                                                    [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. - * Set CertificateArn to the certificate ARN but do not set IsDefault.

                                                                                    - *

                                                                                    To create a certificate list for the listener, use AddListenerCertificates.

                                                                                    + *

                                                                                    The port on which the load balancer is listening. You cannot specify a port for a + * Gateway Load Balancer.

                                                                                    */ - Certificates?: Certificate[]; + Port?: number; /** - *

                                                                                    The tags to assign to the listener.

                                                                                    + *

                                                                                    [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are + * supported.

                                                                                    + *

                                                                                    For more information, see Security policies in the Application Load Balancers Guide and + * Security policies in the Network Load Balancers Guide.

                                                                                    */ - Tags?: Tag[]; + SslPolicy?: string; /** - *

                                                                                    The protocol for connections from clients to the load balancer. For Application Load - * Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the - * supported protocols are TCP, TLS, UDP, and TCP_UDP.

                                                                                    + *

                                                                                    [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. + * Set CertificateArn to the certificate ARN but do not set IsDefault.

                                                                                    + */ + Certificates?: Certificate[]; + + /** + *

                                                                                    The actions for the default rule.

                                                                                    */ - Protocol: ProtocolEnum | string | undefined; + DefaultActions: Action[] | undefined; /** *

                                                                                    [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. @@ -795,69 +804,14 @@ export interface CreateListenerInput { *

                                                                                    * *
                                                                                  - *

                                                                                  For more information, see ALPN Policies in the Network Load Balancers Guide.

                                                                                  + *

                                                                                  For more information, see ALPN policies in the Network Load Balancers Guide.

                                                                                  */ AlpnPolicy?: string[]; /** - *

                                                                                  The actions for the default rule.

                                                                                  - */ - DefaultActions: Action[] | undefined; - - /** - *

                                                                                  [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are - * supported. The following are the possible values:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    - * ELBSecurityPolicy-2016-08 - *

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * ELBSecurityPolicy-TLS-1-0-2015-04 - *

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * ELBSecurityPolicy-TLS-1-1-2017-01 - *

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * ELBSecurityPolicy-TLS-1-2-2017-01 - *

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * ELBSecurityPolicy-TLS-1-2-Ext-2018-06 - *

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * ELBSecurityPolicy-FS-2018-06 - *

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * ELBSecurityPolicy-FS-1-1-2019-08 - *

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * ELBSecurityPolicy-FS-1-2-2019-08 - *

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * ELBSecurityPolicy-FS-1-2-Res-2019-08 - *

                                                                                    - *
                                                                                  • - *
                                                                                  - *

                                                                                  For more information, see Security Policies in the Application Load Balancers Guide and - * Security Policies in the Network Load Balancers Guide.

                                                                                  + *

                                                                                  The tags to assign to the listener.

                                                                                  */ - SslPolicy?: string; + Tags?: Tag[]; } export namespace CreateListenerInput { @@ -871,25 +825,24 @@ export namespace CreateListenerInput { */ export interface Listener { /** - *

                                                                                  [HTTPS or TLS listener] The security policy that defines which protocols and ciphers - * are supported.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the listener.

                                                                                  */ - SslPolicy?: string; + ListenerArn?: string; /** - *

                                                                                  The protocol for connections from clients to the load balancer.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the load balancer.

                                                                                  */ - Protocol?: ProtocolEnum | string; + LoadBalancerArn?: string; /** - *

                                                                                  The default actions for the listener.

                                                                                  + *

                                                                                  The port on which the load balancer is listening.

                                                                                  */ - DefaultActions?: Action[]; + Port?: number; /** - *

                                                                                  The Amazon Resource Name (ARN) of the listener.

                                                                                  + *

                                                                                  The protocol for connections from clients to the load balancer.

                                                                                  */ - ListenerArn?: string; + Protocol?: ProtocolEnum | string; /** *

                                                                                  [HTTPS or TLS listener] The default certificate for the listener.

                                                                                  @@ -897,19 +850,20 @@ export interface Listener { Certificates?: Certificate[]; /** - *

                                                                                  [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.

                                                                                  + *

                                                                                  [HTTPS or TLS listener] The security policy that defines which protocols and ciphers + * are supported.

                                                                                  */ - AlpnPolicy?: string[]; + SslPolicy?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the load balancer.

                                                                                  + *

                                                                                  The default actions for the listener.

                                                                                  */ - LoadBalancerArn?: string; + DefaultActions?: Action[]; /** - *

                                                                                  The port on which the load balancer is listening.

                                                                                  + *

                                                                                  [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.

                                                                                  */ - Port?: number; + AlpnPolicy?: string[]; } export namespace Listener { @@ -1129,9 +1083,9 @@ export enum LoadBalancerSchemeEnum { */ export interface SubnetMapping { /** - *

                                                                                  [Network Load Balancers] The private IPv4 address for an internal load balancer.

                                                                                  + *

                                                                                  The ID of the subnet.

                                                                                  */ - PrivateIPv4Address?: string; + SubnetId?: string; /** *

                                                                                  [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.

                                                                                  @@ -1139,9 +1093,9 @@ export interface SubnetMapping { AllocationId?: string; /** - *

                                                                                  The ID of the subnet.

                                                                                  + *

                                                                                  [Network Load Balancers] The private IPv4 address for an internal load balancer.

                                                                                  */ - SubnetId?: string; + PrivateIPv4Address?: string; } export namespace SubnetMapping { @@ -1152,42 +1106,11 @@ export namespace SubnetMapping { export enum LoadBalancerTypeEnum { APPLICATION = "application", + GATEWAY = "gateway", NETWORK = "network", } export interface CreateLoadBalancerInput { - /** - *

                                                                                  The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of - * an Internet-facing load balancer is publicly resolvable to the public IP addresses of the - * nodes. Therefore, Internet-facing load balancers can route requests from clients over the - * internet.

                                                                                  - *

                                                                                  The nodes of an internal load balancer have only private IP addresses. The DNS name of - * an internal load balancer is publicly resolvable to the private IP addresses of the nodes. - * Therefore, internal load balancers can route requests only from clients with access to the VPC - * for the load balancer.

                                                                                  - *

                                                                                  The default is an Internet-facing load balancer.

                                                                                  - */ - Scheme?: LoadBalancerSchemeEnum | string; - - /** - *

                                                                                  [Application Load Balancers] The type of IP addresses used by the subnets for your load - * balancer. The possible values are ipv4 (for IPv4 addresses) and - * dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use - * ipv4.

                                                                                  - */ - IpAddressType?: IpAddressType | string; - - /** - *

                                                                                  The tags to assign to the load balancer.

                                                                                  - */ - Tags?: Tag[]; - - /** - *

                                                                                  [Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP - * pool).

                                                                                  - */ - CustomerOwnedIpv4Pool?: string; - /** *

                                                                                  The name of the load balancer.

                                                                                  *

                                                                                  This name must be unique per region per account, can have a maximum of 32 characters, @@ -1200,29 +1123,57 @@ export interface CreateLoadBalancerInput { *

                                                                                  The IDs of the public subnets. You can specify only one subnet per Availability Zone. * You must specify either subnets or subnet mappings.

                                                                                  *

                                                                                  [Application Load Balancers] You must specify subnets from at least two Availability - * Zones. You cannot specify Elastic IP addresses for your subnets.

                                                                                  + * Zones.

                                                                                  *

                                                                                  [Application Load Balancers on Outposts] You must specify one Outpost subnet.

                                                                                  *

                                                                                  [Application Load Balancers on Local Zones] You can specify subnets from one or more Local * Zones.

                                                                                  - *

                                                                                  [Network Load Balancers] You can specify subnets from one or more Availability Zones. - * You can specify one Elastic IP address per subnet if you need static IP addresses for - * your internet-facing load balancer. For internal load balancers, you can specify one - * private IP address per subnet from the IPv4 range of the subnet.

                                                                                  + *

                                                                                  [Network Load Balancers] You can specify subnets from one or more Availability + * Zones.

                                                                                  + *

                                                                                  [Gateway Load Balancers] You can specify subnets from one or more Availability + * Zones.

                                                                                  */ - SubnetMappings?: SubnetMapping[]; + Subnets?: string[]; /** *

                                                                                  The IDs of the public subnets. You can specify only one subnet per Availability Zone. * You must specify either subnets or subnet mappings.

                                                                                  *

                                                                                  [Application Load Balancers] You must specify subnets from at least two Availability - * Zones.

                                                                                  + * Zones. You cannot specify Elastic IP addresses for your subnets.

                                                                                  *

                                                                                  [Application Load Balancers on Outposts] You must specify one Outpost subnet.

                                                                                  *

                                                                                  [Application Load Balancers on Local Zones] You can specify subnets from one or more Local * Zones.

                                                                                  - *

                                                                                  [Network Load Balancers] You can specify subnets from one or more Availability - * Zones.

                                                                                  + *

                                                                                  [Network Load Balancers] You can specify subnets from one or more Availability Zones. + * You can specify one Elastic IP address per subnet if you need static IP addresses for + * your internet-facing load balancer. For internal load balancers, you can specify one + * private IP address per subnet from the IPv4 range of the subnet.

                                                                                  + *

                                                                                  [Gateway Load Balancers] You can specify subnets from one or more Availability + * Zones. You cannot specify Elastic IP addresses for your subnets.

                                                                                  */ - Subnets?: string[]; + SubnetMappings?: SubnetMapping[]; + + /** + *

                                                                                  [Application Load Balancers] The IDs of the security groups for the load balancer.

                                                                                  + */ + SecurityGroups?: string[]; + + /** + *

                                                                                  The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of + * an Internet-facing load balancer is publicly resolvable to the public IP addresses of the + * nodes. Therefore, Internet-facing load balancers can route requests from clients over the + * internet.

                                                                                  + *

                                                                                  The nodes of an internal load balancer have only private IP addresses. The DNS name of + * an internal load balancer is publicly resolvable to the private IP addresses of the nodes. + * Therefore, internal load balancers can route requests only from clients with access to the VPC + * for the load balancer.

                                                                                  + *

                                                                                  The default is an Internet-facing load balancer.

                                                                                  + *

                                                                                  You cannot specify a scheme for a Gateway Load Balancer.

                                                                                  + */ + Scheme?: LoadBalancerSchemeEnum | string; + + /** + *

                                                                                  The tags to assign to the load balancer.

                                                                                  + */ + Tags?: Tag[]; /** *

                                                                                  The type of load balancer. The default is application.

                                                                                  @@ -1230,9 +1181,18 @@ export interface CreateLoadBalancerInput { Type?: LoadBalancerTypeEnum | string; /** - *

                                                                                  [Application Load Balancers] The IDs of the security groups for the load balancer.

                                                                                  + *

                                                                                  [Application Load Balancers] The type of IP addresses used by the subnets for your load + * balancer. The possible values are ipv4 (for IPv4 addresses) and + * dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use + * ipv4.

                                                                                  */ - SecurityGroups?: string[]; + IpAddressType?: IpAddressType | string; + + /** + *

                                                                                  [Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP + * pool).

                                                                                  + */ + CustomerOwnedIpv4Pool?: string; } export namespace CreateLoadBalancerInput { @@ -1276,67 +1236,67 @@ export namespace LoadBalancerState { *

                                                                                  Information about a load balancer.

                                                                                  */ export interface LoadBalancer { - /** - *

                                                                                  The type of load balancer.

                                                                                  - */ - Type?: LoadBalancerTypeEnum | string; - - /** - *

                                                                                  The ID of the VPC for the load balancer.

                                                                                  - */ - VpcId?: string; - /** *

                                                                                  The Amazon Resource Name (ARN) of the load balancer.

                                                                                  */ LoadBalancerArn?: string; /** - *

                                                                                  The state of the load balancer.

                                                                                  + *

                                                                                  The public DNS name of the load balancer.

                                                                                  */ - State?: LoadBalancerState; + DNSName?: string; /** *

                                                                                  The ID of the Amazon Route 53 hosted zone associated with the load balancer.

                                                                                  */ CanonicalHostedZoneId?: string; + /** + *

                                                                                  The date and time the load balancer was created.

                                                                                  + */ + CreatedTime?: Date; + /** *

                                                                                  The name of the load balancer.

                                                                                  */ LoadBalancerName?: string; /** - *

                                                                                  [Application Load Balancers on Outposts] The ID of the customer-owned address pool.

                                                                                  + *

                                                                                  The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of + * an Internet-facing load balancer is publicly resolvable to the public IP addresses of the + * nodes. Therefore, Internet-facing load balancers can route requests from clients over the + * internet.

                                                                                  + *

                                                                                  The nodes of an internal load balancer have only private IP addresses. The DNS name of + * an internal load balancer is publicly resolvable to the private IP addresses of the nodes. + * Therefore, internal load balancers can route requests only from clients with access to the VPC + * for the load balancer.

                                                                                  */ - CustomerOwnedIpv4Pool?: string; + Scheme?: LoadBalancerSchemeEnum | string; /** - *

                                                                                  The subnets for the load balancer.

                                                                                  + *

                                                                                  The ID of the VPC for the load balancer.

                                                                                  */ - AvailabilityZones?: AvailabilityZone[]; + VpcId?: string; /** - *

                                                                                  The IDs of the security groups for the load balancer.

                                                                                  + *

                                                                                  The state of the load balancer.

                                                                                  */ - SecurityGroups?: string[]; + State?: LoadBalancerState; /** - *

                                                                                  The date and time the load balancer was created.

                                                                                  + *

                                                                                  The type of load balancer.

                                                                                  */ - CreatedTime?: Date; + Type?: LoadBalancerTypeEnum | string; /** - *

                                                                                  The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of - * an Internet-facing load balancer is publicly resolvable to the public IP addresses of the - * nodes. Therefore, Internet-facing load balancers can route requests from clients over the - * internet.

                                                                                  - *

                                                                                  The nodes of an internal load balancer have only private IP addresses. The DNS name of - * an internal load balancer is publicly resolvable to the private IP addresses of the nodes. - * Therefore, internal load balancers can route requests only from clients with access to the VPC - * for the load balancer.

                                                                                  + *

                                                                                  The subnets for the load balancer.

                                                                                  */ - Scheme?: LoadBalancerSchemeEnum | string; + AvailabilityZones?: AvailabilityZone[]; + + /** + *

                                                                                  The IDs of the security groups for the load balancer.

                                                                                  + */ + SecurityGroups?: string[]; /** *

                                                                                  The type of IP addresses used by the subnets for your load balancer. The possible @@ -1346,9 +1306,9 @@ export interface LoadBalancer { IpAddressType?: IpAddressType | string; /** - *

                                                                                  The public DNS name of the load balancer.

                                                                                  + *

                                                                                  [Application Load Balancers on Outposts] The ID of the customer-owned address pool.

                                                                                  */ - DNSName?: string; + CustomerOwnedIpv4Pool?: string; } export namespace LoadBalancer { @@ -1592,14 +1552,14 @@ export namespace PathPatternConditionConfig { */ export interface QueryStringKeyValuePair { /** - *

                                                                                  The value.

                                                                                  + *

                                                                                  The key. You can omit the key.

                                                                                  */ - Value?: string; + Key?: string; /** - *

                                                                                  The key. You can omit the key.

                                                                                  + *

                                                                                  The value.

                                                                                  */ - Key?: string; + Value?: string; } export namespace QueryStringKeyValuePair { @@ -1665,18 +1625,6 @@ export namespace SourceIpConditionConfig { * http-header and query-string.

                                                                                  */ export interface RuleCondition { - /** - *

                                                                                  Information for a host header condition. - * Specify only when Field is host-header.

                                                                                  - */ - HostHeaderConfig?: HostHeaderConditionConfig; - - /** - *

                                                                                  Information for a path pattern condition. - * Specify only when Field is path-pattern.

                                                                                  - */ - PathPatternConfig?: PathPatternConditionConfig; - /** *

                                                                                  The field in the HTTP request. The following are the possible values:

                                                                                  *
                                                                                    @@ -1714,30 +1662,6 @@ export interface RuleCondition { */ Field?: string; - /** - *

                                                                                    Information for an HTTP method condition. - * Specify only when Field is http-request-method.

                                                                                    - */ - HttpRequestMethodConfig?: HttpRequestMethodConditionConfig; - - /** - *

                                                                                    Information for a source IP condition. - * Specify only when Field is source-ip.

                                                                                    - */ - SourceIpConfig?: SourceIpConditionConfig; - - /** - *

                                                                                    Information for an HTTP header condition. - * Specify only when Field is http-header.

                                                                                    - */ - HttpHeaderConfig?: HttpHeaderConditionConfig; - - /** - *

                                                                                    Information for a query string condition. - * Specify only when Field is query-string.

                                                                                    - */ - QueryStringConfig?: QueryStringConditionConfig; - /** *

                                                                                    The condition value. * Specify only when Field is host-header or path-pattern. @@ -1782,39 +1706,75 @@ export interface RuleCondition { *

                                                                                  */ Values?: string[]; -} - -export namespace RuleCondition { - export const filterSensitiveLog = (obj: RuleCondition): any => ({ - ...obj, - }); -} -export interface CreateRuleInput { /** - *

                                                                                  The rule priority. A listener can't have multiple rules with the same priority.

                                                                                  + *

                                                                                  Information for a host header condition. + * Specify only when Field is host-header.

                                                                                  */ - Priority: number | undefined; + HostHeaderConfig?: HostHeaderConditionConfig; /** - *

                                                                                  The actions.

                                                                                  + *

                                                                                  Information for a path pattern condition. + * Specify only when Field is path-pattern.

                                                                                  */ - Actions: Action[] | undefined; + PathPatternConfig?: PathPatternConditionConfig; /** - *

                                                                                  The Amazon Resource Name (ARN) of the listener.

                                                                                  + *

                                                                                  Information for an HTTP header condition. + * Specify only when Field is http-header.

                                                                                  */ - ListenerArn: string | undefined; + HttpHeaderConfig?: HttpHeaderConditionConfig; /** - *

                                                                                  The tags to assign to the rule.

                                                                                  + *

                                                                                  Information for a query string condition. + * Specify only when Field is query-string.

                                                                                  */ - Tags?: Tag[]; + QueryStringConfig?: QueryStringConditionConfig; + + /** + *

                                                                                  Information for an HTTP method condition. + * Specify only when Field is http-request-method.

                                                                                  + */ + HttpRequestMethodConfig?: HttpRequestMethodConditionConfig; + + /** + *

                                                                                  Information for a source IP condition. + * Specify only when Field is source-ip.

                                                                                  + */ + SourceIpConfig?: SourceIpConditionConfig; +} + +export namespace RuleCondition { + export const filterSensitiveLog = (obj: RuleCondition): any => ({ + ...obj, + }); +} + +export interface CreateRuleInput { + /** + *

                                                                                  The Amazon Resource Name (ARN) of the listener.

                                                                                  + */ + ListenerArn: string | undefined; /** *

                                                                                  The conditions.

                                                                                  */ Conditions: RuleCondition[] | undefined; + + /** + *

                                                                                  The rule priority. A listener can't have multiple rules with the same priority.

                                                                                  + */ + Priority: number | undefined; + + /** + *

                                                                                  The actions.

                                                                                  + */ + Actions: Action[] | undefined; + + /** + *

                                                                                  The tags to assign to the rule.

                                                                                  + */ + Tags?: Tag[]; } export namespace CreateRuleInput { @@ -1833,9 +1793,9 @@ export interface Rule { RuleArn?: string; /** - *

                                                                                  Indicates whether this is the default rule.

                                                                                  + *

                                                                                  The priority.

                                                                                  */ - IsDefault?: boolean; + Priority?: string; /** *

                                                                                  The conditions. Each rule can include zero or one of the following conditions: @@ -1845,16 +1805,16 @@ export interface Rule { */ Conditions?: RuleCondition[]; - /** - *

                                                                                  The priority.

                                                                                  - */ - Priority?: string; - /** *

                                                                                  The actions. Each rule must include exactly one of the following types of actions: forward, * redirect, or fixed-response, and it must be the last action to be performed.

                                                                                  */ Actions?: Action[]; + + /** + *

                                                                                  Indicates whether this is the default rule.

                                                                                  + */ + IsDefault?: boolean; } export namespace Rule { @@ -1930,7 +1890,7 @@ export interface Matcher { *

                                                                                  For Application Load Balancers, you can specify values between 200 and 499, and the * default value is 200. You can specify multiple values (for example, "200,202") or a range of * values (for example, "200-299").

                                                                                  - *

                                                                                  For Network Load Balancers, this is "200–399".

                                                                                  + *

                                                                                  For Network Load Balancers and Gateway Load Balancers, this must be "200–399".

                                                                                  */ HttpCode?: string; @@ -1955,22 +1915,6 @@ export enum TargetTypeEnum { } export interface CreateTargetGroupInput { - /** - *

                                                                                  The number of consecutive health checks successes required before considering an unhealthy target healthy. - * For target groups with a protocol of HTTP or HTTPS, the default is 5. - * For target groups with a protocol of TCP or TLS, the default is 3. - * If the target type is lambda, the default is 5.

                                                                                  - */ - HealthyThresholdCount?: number; - - /** - *

                                                                                  The protocol the load balancer uses when performing health checks on targets. - * For Application Load Balancers, the default is HTTP. For Network Load Balancers, the default is TCP. - * The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. - * The TLS, UDP, and TCP_UDP protocols are not supported for health checks.

                                                                                  - */ - HealthCheckProtocol?: ProtocolEnum | string; - /** *

                                                                                  The name of the target group.

                                                                                  *

                                                                                  This name must be unique per region per account, can have a maximum of 32 characters, @@ -1980,12 +1924,14 @@ export interface CreateTargetGroupInput { Name: string | undefined; /** - *

                                                                                  The number of consecutive health check failures required before considering a target unhealthy. - * For target groups with a protocol of HTTP or HTTPS, the default is 2. - * For target groups with a protocol of TCP or TLS, this value must be the same as the healthy threshold count. - * If the target type is lambda, the default is 2.

                                                                                  + *

                                                                                  The protocol to use for routing traffic to the targets. + * For Application Load Balancers, the supported protocols are HTTP and HTTPS. + * For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. + * For Gateway Load Balancers, the supported protocol is GENEVE. + * A TCP_UDP listener must be associated with a TCP_UDP target group. + * If the target is a Lambda function, this parameter does not apply.

                                                                                  */ - UnhealthyThresholdCount?: number; + Protocol?: ProtocolEnum | string; /** *

                                                                                  [HTTP/HTTPS protocol] The protocol version. @@ -1996,34 +1942,12 @@ export interface CreateTargetGroupInput { ProtocolVersion?: string; /** - *

                                                                                  Indicates whether health checks are enabled. If the target type is lambda, - * health checks are disabled by default but can be enabled. If the target type is instance - * or ip, health checks are always enabled and cannot be disabled.

                                                                                  - */ - HealthCheckEnabled?: boolean; - - /** - *

                                                                                  The amount of time, in seconds, during which no response from a target means a failed health check. - * For target groups with a protocol of HTTP or HTTPS, the default is 5 seconds. - * For target groups with a protocol of TCP or TLS, this value must be 6 seconds for HTTP health checks - * and 10 seconds for TCP and HTTPS health checks. - * If the target type is lambda, the default is 30 seconds.

                                                                                  + *

                                                                                  The port on which the targets receive traffic. This port is used unless you specify a port + * override when registering the target. + * If the target is a Lambda function, this parameter does not apply. + * If the protocol is GENEVE, the supported port is 6081.

                                                                                  */ - HealthCheckTimeoutSeconds?: number; - - /** - *

                                                                                  [HTTP/HTTPS health checks] The destination for health checks on the targets.

                                                                                  - *

                                                                                  [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

                                                                                  - *

                                                                                  [GRPC protocol version] The path of a custom health check method with the format /package.service/method. - * The default is /AWS.ALB/healthcheck.

                                                                                  - */ - HealthCheckPath?: string; - - /** - *

                                                                                  [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful - * response from a target.

                                                                                  - */ - Matcher?: Matcher; + Port?: number; /** *

                                                                                  The identifier of the virtual private cloud (VPC). If the target is a Lambda function, @@ -2032,40 +1956,77 @@ export interface CreateTargetGroupInput { VpcId?: string; /** - *

                                                                                  The port the load balancer uses when performing health checks on targets. The default - * is traffic-port, which is the port on which each target receives traffic from the - * load balancer.

                                                                                  + *

                                                                                  The protocol the load balancer uses when performing health checks on targets. For + * Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load + * Balancers, the default is TCP. The TCP protocol is not supported for health checks if the + * protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are + * not supported for health checks.

                                                                                  + */ + HealthCheckProtocol?: ProtocolEnum | string; + + /** + *

                                                                                  The port the load balancer uses when performing health checks on targets. If the protocol + * is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is + * the port on which each target receives traffic from the load balancer. If the protocol is + * GENEVE, the default is port 80.

                                                                                  */ HealthCheckPort?: string; /** - *

                                                                                  The port on which the targets receive traffic. This port is used unless you specify a - * port override when registering the target. If the target is a Lambda function, this - * parameter does not apply.

                                                                                  + *

                                                                                  Indicates whether health checks are enabled. If the target type is lambda, + * health checks are disabled by default but can be enabled. If the target type is instance + * or ip, health checks are always enabled and cannot be disabled.

                                                                                  */ - Port?: number; + HealthCheckEnabled?: boolean; /** - *

                                                                                  The tags to assign to the target group.

                                                                                  + *

                                                                                  [HTTP/HTTPS health checks] The destination for health checks on the targets.

                                                                                  + *

                                                                                  [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

                                                                                  + *

                                                                                  [GRPC protocol version] The path of a custom health check method with the format /package.service/method. + * The default is /AWS.ALB/healthcheck.

                                                                                  */ - Tags?: Tag[]; + HealthCheckPath?: string; /** *

                                                                                  The approximate amount of time, in seconds, between health checks of an individual target. - * For HTTP and HTTPS health checks, the range is 5–300 seconds. * For TCP health checks, the supported values are 10 and 30 seconds. * If the target type is instance or ip, the default is 30 seconds. + * If the target group protocol is GENEVE, the default is 10 seconds. * If the target type is lambda, the default is 35 seconds.

                                                                                  */ HealthCheckIntervalSeconds?: number; /** - *

                                                                                  The protocol to use for routing traffic to the targets. For Application Load Balancers, - * the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols - * are TCP, TLS, UDP, or TCP_UDP. A TCP_UDP listener must be associated with a TCP_UDP target group. - * If the target is a Lambda function, this parameter does not apply.

                                                                                  + *

                                                                                  The amount of time, in seconds, during which no response from a target means a failed health check. + * For target groups with a protocol of HTTP, HTTPS, or GENEVE, the default is 5 seconds. + * For target groups with a protocol of TCP or TLS, this value must be 6 seconds for HTTP health checks + * and 10 seconds for TCP and HTTPS health checks. + * If the target type is lambda, the default is 30 seconds.

                                                                                  */ - Protocol?: ProtocolEnum | string; + HealthCheckTimeoutSeconds?: number; + + /** + *

                                                                                  The number of consecutive health checks successes required before considering an unhealthy + * target healthy. For target groups with a protocol of HTTP or HTTPS, the default is 5. For + * target groups with a protocol of TCP, TLS, or GENEVE, the default is 3. If the target type is + * lambda, the default is 5.

                                                                                  + */ + HealthyThresholdCount?: number; + + /** + *

                                                                                  The number of consecutive health check failures required before considering a target + * unhealthy. If the target group protocol is HTTP or HTTPS, the default is 2. If the target + * group protocol is TCP or TLS, this value must be the same as the healthy threshold count. If + * the target group protocol is GENEVE, the default is 3. If the target type is + * lambda, the default is 2.

                                                                                  + */ + UnhealthyThresholdCount?: number; + + /** + *

                                                                                  [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful + * response from a target.

                                                                                  + */ + Matcher?: Matcher; /** *

                                                                                  The type of target that you must specify when registering targets with this target group. @@ -2073,22 +2034,27 @@ export interface CreateTargetGroupInput { *

                                                                                    *
                                                                                  • *

                                                                                    - * instance - Targets are specified by instance ID. This is the default value.

                                                                                    + * instance - Register targets by instance ID. This is the default value.

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    - * ip - Targets are specified by IP address. You can specify IP addresses + * ip - Register targets by IP address. You can specify IP addresses * from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 * range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range * (100.64.0.0/10). You can't specify publicly routable IP addresses.

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    - * lambda - The target groups contains a single Lambda function.

                                                                                    + * lambda - Register a single Lambda function as a target.

                                                                                    *
                                                                                  • *
                                                                                  */ TargetType?: TargetTypeEnum | string; + + /** + *

                                                                                  The tags to assign to the target group.

                                                                                  + */ + Tags?: Tag[]; } export namespace CreateTargetGroupInput { @@ -2102,47 +2068,45 @@ export namespace CreateTargetGroupInput { */ export interface TargetGroup { /** - *

                                                                                  The name of the target group.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the target group.

                                                                                  */ - TargetGroupName?: string; + TargetGroupArn?: string; /** - *

                                                                                  The ID of the VPC for the targets.

                                                                                  + *

                                                                                  The name of the target group.

                                                                                  */ - VpcId?: string; + TargetGroupName?: string; /** - *

                                                                                  The port to use to connect with the target.

                                                                                  + *

                                                                                  The protocol to use for routing traffic to the targets.

                                                                                  */ - HealthCheckPort?: string; + Protocol?: ProtocolEnum | string; /** - *

                                                                                  The type of target that you must specify when registering targets with this target - * group. The possible values are instance (targets are specified by instance ID) or - * ip (targets are specified by IP address).

                                                                                  + *

                                                                                  The port on which the targets are listening. Not used if the target is a Lambda function.

                                                                                  */ - TargetType?: TargetTypeEnum | string; + Port?: number; /** - *

                                                                                  The protocol to use to connect with the target.

                                                                                  + *

                                                                                  The ID of the VPC for the targets.

                                                                                  */ - HealthCheckProtocol?: ProtocolEnum | string; + VpcId?: string; /** - *

                                                                                  The number of consecutive health checks successes required before considering an - * unhealthy target healthy.

                                                                                  + *

                                                                                  The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols + * are not supported for health checks.

                                                                                  */ - HealthyThresholdCount?: number; + HealthCheckProtocol?: ProtocolEnum | string; /** - *

                                                                                  The protocol to use for routing traffic to the targets.

                                                                                  + *

                                                                                  The port to use to connect with the target.

                                                                                  */ - Protocol?: ProtocolEnum | string; + HealthCheckPort?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the target group.

                                                                                  + *

                                                                                  Indicates whether health checks are enabled.

                                                                                  */ - TargetGroupArn?: string; + HealthCheckEnabled?: boolean; /** *

                                                                                  The approximate amount of time, in seconds, between health checks of an individual @@ -2150,12 +2114,6 @@ export interface TargetGroup { */ HealthCheckIntervalSeconds?: number; - /** - *

                                                                                  The Amazon Resource Names (ARN) of the load balancers that route traffic to this target - * group.

                                                                                  - */ - LoadBalancerArns?: string[]; - /** *

                                                                                  The amount of time, in seconds, during which no response means a failed health * check.

                                                                                  @@ -2163,36 +2121,46 @@ export interface TargetGroup { HealthCheckTimeoutSeconds?: number; /** - *

                                                                                  The destination for health checks on the targets.

                                                                                  + *

                                                                                  The number of consecutive health checks successes required before considering an + * unhealthy target healthy.

                                                                                  */ - HealthCheckPath?: string; + HealthyThresholdCount?: number; /** - *

                                                                                  The port on which the targets are listening. Not used if the target is a Lambda function.

                                                                                  + *

                                                                                  The number of consecutive health check failures required before considering the target + * unhealthy.

                                                                                  */ - Port?: number; + UnhealthyThresholdCount?: number; /** - *

                                                                                  [HTTP/HTTPS protocol] The protocol version. The possible values are GRPC, - * HTTP1, and HTTP2.

                                                                                  + *

                                                                                  The destination for health checks on the targets.

                                                                                  */ - ProtocolVersion?: string; + HealthCheckPath?: string; /** - *

                                                                                  The number of consecutive health check failures required before considering the target - * unhealthy.

                                                                                  + *

                                                                                  The HTTP or gRPC codes to use when checking for a successful response from a target.

                                                                                  */ - UnhealthyThresholdCount?: number; + Matcher?: Matcher; /** - *

                                                                                  Indicates whether health checks are enabled.

                                                                                  + *

                                                                                  The Amazon Resource Names (ARN) of the load balancers that route traffic to this target + * group.

                                                                                  */ - HealthCheckEnabled?: boolean; + LoadBalancerArns?: string[]; /** - *

                                                                                  The HTTP or gRPC codes to use when checking for a successful response from a target.

                                                                                  + *

                                                                                  The type of target that you must specify when registering targets with this target + * group. The possible values are instance (register targets by instance ID), + * ip (register targets by IP address), or lambda (register a + * single Lambda function as a target).

                                                                                  */ - Matcher?: Matcher; + TargetType?: TargetTypeEnum | string; + + /** + *

                                                                                  [HTTP/HTTPS protocol] The protocol version. The possible values are GRPC, + * HTTP1, and HTTP2.

                                                                                  + */ + ProtocolVersion?: string; } export namespace TargetGroup { @@ -2332,6 +2300,20 @@ export namespace DeleteTargetGroupOutput { *

                                                                                  Information about a target.

                                                                                  */ export interface TargetDescription { + /** + *

                                                                                  The ID of the target. If the target type of the target group is instance, + * specify an instance ID. If the target type is ip, specify an IP address. + * If the target type is lambda, specify the ARN of the Lambda function.

                                                                                  + */ + Id: string | undefined; + + /** + *

                                                                                  The port on which the target is listening. + * If the target group protocol is GENEVE, the supported port is 6081. + * Not used if the target is a Lambda function.

                                                                                  + */ + Port?: number; + /** *

                                                                                  An Availability Zone or all. This determines whether the target receives * traffic from the load balancer nodes in the specified Availability Zone or from all enabled @@ -2345,18 +2327,6 @@ export interface TargetDescription { *

                                                                                  If the target type is lambda, this parameter is optional and the only supported value is all.

                                                                                  */ AvailabilityZone?: string; - - /** - *

                                                                                  The ID of the target. If the target type of the target group is instance, - * specify an instance ID. If the target type is ip, specify an IP address. - * If the target type is lambda, specify the ARN of the Lambda function.

                                                                                  - */ - Id: string | undefined; - - /** - *

                                                                                  The port on which the target is listening. Not used if the target is a Lambda function.

                                                                                  - */ - Port?: number; } export namespace TargetDescription { @@ -2409,16 +2379,16 @@ export namespace InvalidTargetException { } export interface DescribeAccountLimitsInput { - /** - *

                                                                                  The maximum number of results to return with this call.

                                                                                  - */ - PageSize?: number; - /** *

                                                                                  The marker for the next set of results. (You received this marker from a previous * call.)

                                                                                  */ Marker?: string; + + /** + *

                                                                                  The maximum number of results to return with this call.

                                                                                  + */ + PageSize?: number; } export namespace DescribeAccountLimitsInput { @@ -2439,6 +2409,21 @@ export interface Limit { *

                                                                                  application-load-balancers

                                                                                  *
                                                                                • *
                                                                                • + *

                                                                                  condition-values-per-alb-rule

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  condition-wildcards-per-alb-rule

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  gateway-load-balancers

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  gateway-load-balancers-per-vpc

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  geneve-target-groups

                                                                                  + *
                                                                                • + *
                                                                                • *

                                                                                  listeners-per-application-load-balancer

                                                                                  *
                                                                                • *
                                                                                • @@ -2466,6 +2451,9 @@ export interface Limit { *

                                                                                  targets-per-application-load-balancer

                                                                                  *
                                                                                • *
                                                                                • + *

                                                                                  targets-per-availability-zone-per-gateway-load-balancer

                                                                                  + *
                                                                                • + *
                                                                                • *

                                                                                  targets-per-availability-zone-per-network-load-balancer

                                                                                  *
                                                                                • *
                                                                                • @@ -2512,16 +2500,16 @@ export interface DescribeListenerCertificatesInput { */ ListenerArn: string | undefined; - /** - *

                                                                                  The maximum number of results to return with this call.

                                                                                  - */ - PageSize?: number; - /** *

                                                                                  The marker for the next set of results. (You received this marker from a previous * call.)

                                                                                  */ Marker?: string; + + /** + *

                                                                                  The maximum number of results to return with this call.

                                                                                  + */ + PageSize?: number; } export namespace DescribeListenerCertificatesInput { @@ -2551,25 +2539,25 @@ export namespace DescribeListenerCertificatesOutput { export interface DescribeListenersInput { /** - *

                                                                                  The marker for the next set of results. (You received this marker from a previous - * call.)

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the load balancer.

                                                                                  */ - Marker?: string; + LoadBalancerArn?: string; /** - *

                                                                                  The maximum number of results to return with this call.

                                                                                  + *

                                                                                  The Amazon Resource Names (ARN) of the listeners.

                                                                                  */ - PageSize?: number; + ListenerArns?: string[]; /** - *

                                                                                  The Amazon Resource Name (ARN) of the load balancer.

                                                                                  + *

                                                                                  The marker for the next set of results. (You received this marker from a previous + * call.)

                                                                                  */ - LoadBalancerArn?: string; + Marker?: string; /** - *

                                                                                  The Amazon Resource Names (ARN) of the listeners.

                                                                                  + *

                                                                                  The maximum number of results to return with this call.

                                                                                  */ - ListenerArns?: string[]; + PageSize?: number; } export namespace DescribeListenersInput { @@ -2614,13 +2602,18 @@ export namespace DescribeLoadBalancerAttributesInput { *

                                                                                  Information about a load balancer attribute.

                                                                                  */ export interface LoadBalancerAttribute { - /** - *

                                                                                  The value of the attribute.

                                                                                  - */ - Value?: string; - /** *

                                                                                  The name of the attribute.

                                                                                  + * + *

                                                                                  The following attribute is supported by all load balancers:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    + * deletion_protection.enabled - Indicates whether deletion protection is enabled. + * The value is true or false. The default is false.

                                                                                    + *
                                                                                  • + *
                                                                                  + * *

                                                                                  The following attributes are supported by both Application Load Balancers and Network Load Balancers:

                                                                                  *
                                                                                    *
                                                                                  • @@ -2639,12 +2632,8 @@ export interface LoadBalancerAttribute { *

                                                                                    * access_logs.s3.prefix - The prefix for the location in the S3 bucket for the access logs.

                                                                                    *
                                                                                  • - *
                                                                                  • - *

                                                                                    - * deletion_protection.enabled - Indicates whether deletion protection is enabled. - * The value is true or false. The default is false.

                                                                                    - *
                                                                                  • *
                                                                                  + * *

                                                                                  The following attributes are supported by only Application Load Balancers:

                                                                                  *
                                                                                    *
                                                                                  • @@ -2671,7 +2660,8 @@ export interface LoadBalancerAttribute { * requires that message header names contain only alphanumeric characters and hyphens.

                                                                                    *
                                                                                  • *
                                                                                  - *

                                                                                  The following attributes are supported by only Network Load Balancers:

                                                                                  + * + *

                                                                                  The following attribute is supported by Network Load Balancers and Gateway Load Balancers:

                                                                                  *
                                                                                    *
                                                                                  • *

                                                                                    @@ -2681,6 +2671,11 @@ export interface LoadBalancerAttribute { *

                                                                                  */ Key?: string; + + /** + *

                                                                                  The value of the attribute.

                                                                                  + */ + Value?: string; } export namespace LoadBalancerAttribute { @@ -2703,27 +2698,27 @@ export namespace DescribeLoadBalancerAttributesOutput { } export interface DescribeLoadBalancersInput { - /** - *

                                                                                  The names of the load balancers.

                                                                                  - */ - Names?: string[]; - - /** - *

                                                                                  The maximum number of results to return with this call.

                                                                                  - */ - PageSize?: number; - /** *

                                                                                  The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load * balancers in a single call.

                                                                                  */ LoadBalancerArns?: string[]; + /** + *

                                                                                  The names of the load balancers.

                                                                                  + */ + Names?: string[]; + /** *

                                                                                  The marker for the next set of results. (You received this marker from a previous * call.)

                                                                                  */ Marker?: string; + + /** + *

                                                                                  The maximum number of results to return with this call.

                                                                                  + */ + PageSize?: number; } export namespace DescribeLoadBalancersInput { @@ -2734,15 +2729,15 @@ export namespace DescribeLoadBalancersInput { export interface DescribeLoadBalancersOutput { /** - *

                                                                                  If there are additional results, this is the marker for the next set of results. - * Otherwise, this is null.

                                                                                  + *

                                                                                  Information about the load balancers.

                                                                                  */ - NextMarker?: string; + LoadBalancers?: LoadBalancer[]; /** - *

                                                                                  Information about the load balancers.

                                                                                  + *

                                                                                  If there are additional results, this is the marker for the next set of results. + * Otherwise, this is null.

                                                                                  */ - LoadBalancers?: LoadBalancer[]; + NextMarker?: string; } export namespace DescribeLoadBalancersOutput { @@ -2753,25 +2748,25 @@ export namespace DescribeLoadBalancersOutput { export interface DescribeRulesInput { /** - *

                                                                                  The marker for the next set of results. (You received this marker from a previous - * call.)

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the listener.

                                                                                  */ - Marker?: string; + ListenerArn?: string; /** - *

                                                                                  The maximum number of results to return with this call.

                                                                                  + *

                                                                                  The Amazon Resource Names (ARN) of the rules.

                                                                                  */ - PageSize?: number; + RuleArns?: string[]; /** - *

                                                                                  The Amazon Resource Name (ARN) of the listener.

                                                                                  + *

                                                                                  The marker for the next set of results. (You received this marker from a previous + * call.)

                                                                                  */ - ListenerArn?: string; + Marker?: string; /** - *

                                                                                  The Amazon Resource Names (ARN) of the rules.

                                                                                  + *

                                                                                  The maximum number of results to return with this call.

                                                                                  */ - RuleArns?: string[]; + PageSize?: number; } export namespace DescribeRulesInput { @@ -2782,15 +2777,15 @@ export namespace DescribeRulesInput { export interface DescribeRulesOutput { /** - *

                                                                                  If there are additional results, this is the marker for the next set of results. - * Otherwise, this is null.

                                                                                  + *

                                                                                  Information about the rules.

                                                                                  */ - NextMarker?: string; + Rules?: Rule[]; /** - *

                                                                                  Information about the rules.

                                                                                  + *

                                                                                  If there are additional results, this is the marker for the next set of results. + * Otherwise, this is null.

                                                                                  */ - Rules?: Rule[]; + NextMarker?: string; } export namespace DescribeRulesOutput { @@ -2800,6 +2795,11 @@ export namespace DescribeRulesOutput { } export interface DescribeSSLPoliciesInput { + /** + *

                                                                                  The names of the policies.

                                                                                  + */ + Names?: string[]; + /** *

                                                                                  The marker for the next set of results. (You received this marker from a previous * call.)

                                                                                  @@ -2810,11 +2810,6 @@ export interface DescribeSSLPoliciesInput { *

                                                                                  The maximum number of results to return with this call.

                                                                                  */ PageSize?: number; - - /** - *

                                                                                  The names of the policies.

                                                                                  - */ - Names?: string[]; } export namespace DescribeSSLPoliciesInput { @@ -2827,11 +2822,6 @@ export namespace DescribeSSLPoliciesInput { *

                                                                                  Information about a policy used for SSL negotiation.

                                                                                  */ export interface SslPolicy { - /** - *

                                                                                  The name of the policy.

                                                                                  - */ - Name?: string; - /** *

                                                                                  The protocols.

                                                                                  */ @@ -2841,6 +2831,11 @@ export interface SslPolicy { *

                                                                                  The ciphers.

                                                                                  */ Ciphers?: Cipher[]; + + /** + *

                                                                                  The name of the policy.

                                                                                  + */ + Name?: string; } export namespace SslPolicy { @@ -2851,15 +2846,15 @@ export namespace SslPolicy { export interface DescribeSSLPoliciesOutput { /** - *

                                                                                  If there are additional results, this is the marker for the next set of results. - * Otherwise, this is null.

                                                                                  + *

                                                                                  Information about the security policies.

                                                                                  */ - NextMarker?: string; + SslPolicies?: SslPolicy[]; /** - *

                                                                                  Information about the security policies.

                                                                                  + *

                                                                                  If there are additional results, this is the marker for the next set of results. + * Otherwise, this is null.

                                                                                  */ - SslPolicies?: SslPolicy[]; + NextMarker?: string; } export namespace DescribeSSLPoliciesOutput { @@ -2886,14 +2881,14 @@ export namespace DescribeTagsInput { */ export interface TagDescription { /** - *

                                                                                  Information about the tags.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  */ - Tags?: Tag[]; + ResourceArn?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + *

                                                                                  Information about the tags.

                                                                                  */ - ResourceArn?: string; + Tags?: Tag[]; } export namespace TagDescription { @@ -2935,7 +2930,7 @@ export interface TargetGroupAttribute { /** *

                                                                                  The name of the attribute.

                                                                                  * - *

                                                                                  The following attributes are supported by both Application Load Balancers and Network Load Balancers:

                                                                                  + *

                                                                                  The following attribute is supported by all load balancers:

                                                                                  *
                                                                                    *
                                                                                  • *

                                                                                    @@ -2944,6 +2939,10 @@ export interface TargetGroupAttribute { * draining to unused. The range is 0-3600 seconds. The default * value is 300 seconds. If the target is a Lambda function, this attribute is not supported.

                                                                                    *
                                                                                  • + *
                                                                                  + * + *

                                                                                  The following attributes are supported by both Application Load Balancers and Network Load Balancers:

                                                                                  + *
                                                                                    *
                                                                                  • *

                                                                                    * stickiness.enabled - Indicates whether sticky sessions are enabled. @@ -3033,15 +3032,20 @@ export namespace DescribeTargetGroupAttributesOutput { } export interface DescribeTargetGroupsInput { + /** + *

                                                                                    The Amazon Resource Name (ARN) of the load balancer.

                                                                                    + */ + LoadBalancerArn?: string; + /** *

                                                                                    The Amazon Resource Names (ARN) of the target groups.

                                                                                    */ TargetGroupArns?: string[]; /** - *

                                                                                    The Amazon Resource Name (ARN) of the load balancer.

                                                                                    + *

                                                                                    The names of the target groups.

                                                                                    */ - LoadBalancerArn?: string; + Names?: string[]; /** *

                                                                                    The marker for the next set of results. (You received this marker from a previous @@ -3053,11 +3057,6 @@ export interface DescribeTargetGroupsInput { *

                                                                                    The maximum number of results to return with this call.

                                                                                    */ PageSize?: number; - - /** - *

                                                                                    The names of the target groups.

                                                                                    - */ - Names?: string[]; } export namespace DescribeTargetGroupsInput { @@ -3132,10 +3131,9 @@ export enum TargetHealthStateEnum { */ export interface TargetHealth { /** - *

                                                                                    A description of the target health that provides additional details. If the state is - * healthy, a description is not provided.

                                                                                    + *

                                                                                    The state of the target.

                                                                                    */ - Description?: string; + State?: TargetHealthStateEnum | string; /** *

                                                                                    The reason code.

                                                                                    @@ -3163,12 +3161,12 @@ export interface TargetHealth { *
                                                                                  • *

                                                                                    * Target.ResponseCodeMismatch - The health checks did not return an expected - * HTTP code. Applies only to Application Load Balancers.

                                                                                    + * HTTP code. Applies only to Application Load Balancers and Gateway Load Balancers.

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    * Target.Timeout - The health check requests timed out. - * Applies only to Application Load Balancers.

                                                                                    + * Applies only to Application Load Balancers and Gateway Load Balancers.

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    @@ -3229,9 +3227,10 @@ export interface TargetHealth { Reason?: TargetHealthReasonEnum | string; /** - *

                                                                                    The state of the target.

                                                                                    + *

                                                                                    A description of the target health that provides additional details. If the state is + * healthy, a description is not provided.

                                                                                    */ - State?: TargetHealthStateEnum | string; + Description?: string; } export namespace TargetHealth { @@ -3245,9 +3244,9 @@ export namespace TargetHealth { */ export interface TargetHealthDescription { /** - *

                                                                                    The health information for the target.

                                                                                    + *

                                                                                    The description of the target.

                                                                                    */ - TargetHealth?: TargetHealth; + Target?: TargetDescription; /** *

                                                                                    The port to use to connect with the target.

                                                                                    @@ -3255,9 +3254,9 @@ export interface TargetHealthDescription { HealthCheckPort?: string; /** - *

                                                                                    The description of the target.

                                                                                    + *

                                                                                    The health information for the target.

                                                                                    */ - Target?: TargetDescription; + TargetHealth?: TargetHealth; } export namespace TargetHealthDescription { @@ -3297,62 +3296,37 @@ export namespace HealthUnavailableException { export interface ModifyListenerInput { /** - *

                                                                                    [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. - * You can specify one policy name. The following are the possible values:

                                                                                    - *
                                                                                      - *
                                                                                    • - *

                                                                                      - * HTTP1Only - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * HTTP2Only - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * HTTP2Optional - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * HTTP2Preferred - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * None - *

                                                                                      - *
                                                                                    • - *
                                                                                    - *

                                                                                    For more information, see ALPN Policies in the Network Load Balancers Guide.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the listener.

                                                                                    */ - AlpnPolicy?: string[]; + ListenerArn: string | undefined; /** - *

                                                                                    The protocol for connections from clients to the load balancer. Application Load - * Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the - * TCP, TLS, UDP, and TCP_UDP protocols.

                                                                                    + *

                                                                                    The port for connections from clients to the load balancer. + * You cannot specify a port for a Gateway Load Balancer.

                                                                                    */ - Protocol?: ProtocolEnum | string; + Port?: number; /** - *

                                                                                    [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. - * Set CertificateArn to the certificate ARN but do not set IsDefault.

                                                                                    - *

                                                                                    To create a certificate list, use AddListenerCertificates.

                                                                                    + *

                                                                                    The protocol for connections from clients to the load balancer. + * Application Load Balancers support the HTTP and HTTPS protocols. + * Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. + * You cannot specify a protocol for a Gateway Load Balancer.

                                                                                    */ - Certificates?: Certificate[]; + Protocol?: ProtocolEnum | string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the listener.

                                                                                    + *

                                                                                    [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers + * are supported.

                                                                                    + *

                                                                                    For more information, see Security policies in the Application Load Balancers Guide or + * Security policies in the Network Load Balancers Guide.

                                                                                    */ - ListenerArn: string | undefined; + SslPolicy?: string; /** - *

                                                                                    The port for connections from clients to the load balancer.

                                                                                    + *

                                                                                    [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. + * Set CertificateArn to the certificate ARN but do not set IsDefault.

                                                                                    */ - Port?: number; + Certificates?: Certificate[]; /** *

                                                                                    The actions for the default rule.

                                                                                    @@ -3360,59 +3334,38 @@ export interface ModifyListenerInput { DefaultActions?: Action[]; /** - *

                                                                                    [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers - * are supported. The following are the possible values:

                                                                                    + *

                                                                                    [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. + * You can specify one policy name. The following are the possible values:

                                                                                    *
                                                                                      *
                                                                                    • *

                                                                                      - * ELBSecurityPolicy-2016-08 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * ELBSecurityPolicy-TLS-1-0-2015-04 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * ELBSecurityPolicy-TLS-1-1-2017-01 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * ELBSecurityPolicy-TLS-1-2-2017-01 - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * ELBSecurityPolicy-TLS-1-2-Ext-2018-06 + * HTTP1Only *

                                                                                      *
                                                                                    • *
                                                                                    • *

                                                                                      - * ELBSecurityPolicy-FS-2018-06 + * HTTP2Only *

                                                                                      *
                                                                                    • *
                                                                                    • *

                                                                                      - * ELBSecurityPolicy-FS-1-1-2019-08 + * HTTP2Optional *

                                                                                      *
                                                                                    • *
                                                                                    • *

                                                                                      - * ELBSecurityPolicy-FS-1-2-2019-08 + * HTTP2Preferred *

                                                                                      *
                                                                                    • *
                                                                                    • *

                                                                                      - * ELBSecurityPolicy-FS-1-2-Res-2019-08 + * None *

                                                                                      *
                                                                                    • *
                                                                                    - *

                                                                                    For more information, see Security Policies in the Application Load Balancers Guide and - * Security Policies in the Network Load Balancers Guide.

                                                                                    + *

                                                                                    For more information, see ALPN policies in the Network Load Balancers Guide.

                                                                                    */ - SslPolicy?: string; + AlpnPolicy?: string[]; } export namespace ModifyListenerInput { @@ -3466,6 +3419,11 @@ export namespace ModifyLoadBalancerAttributesOutput { } export interface ModifyRuleInput { + /** + *

                                                                                    The Amazon Resource Name (ARN) of the rule.

                                                                                    + */ + RuleArn: string | undefined; + /** *

                                                                                    The conditions.

                                                                                    */ @@ -3475,11 +3433,6 @@ export interface ModifyRuleInput { *

                                                                                    The actions.

                                                                                    */ Actions?: Action[]; - - /** - *

                                                                                    The Amazon Resource Name (ARN) of the rule.

                                                                                    - */ - RuleArn: string | undefined; } export namespace ModifyRuleInput { @@ -3508,12 +3461,13 @@ export interface ModifyTargetGroupInput { TargetGroupArn: string | undefined; /** - *

                                                                                    The approximate amount of time, in seconds, between health checks of an individual - * target. For HTTP and HTTPS health checks, the range is 5 to 300 seconds. For TPC - * health checks, the supported values are 10 or 30 seconds.

                                                                                    + *

                                                                                    The protocol the load balancer uses when performing health checks on targets. The TCP + * protocol is supported for health checks only if the protocol of the target group is TCP, TLS, + * UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health + * checks.

                                                                                    *

                                                                                    With Network Load Balancers, you can't modify this setting.

                                                                                    */ - HealthCheckIntervalSeconds?: number; + HealthCheckProtocol?: ProtocolEnum | string; /** *

                                                                                    The port the load balancer uses when performing health checks on targets.

                                                                                    @@ -3521,12 +3475,24 @@ export interface ModifyTargetGroupInput { HealthCheckPort?: string; /** - *

                                                                                    The protocol the load balancer uses when performing health checks on targets. - * The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. - * The TLS, UDP, and TCP_UDP protocols are not supported for health checks.

                                                                                    + *

                                                                                    [HTTP/HTTPS health checks] The destination for health checks on the targets.

                                                                                    + *

                                                                                    [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

                                                                                    + *

                                                                                    [GRPC protocol version] The path of a custom health check method with the format /package.service/method. + * The default is /AWS.ALB/healthcheck.

                                                                                    + */ + HealthCheckPath?: string; + + /** + *

                                                                                    Indicates whether health checks are enabled.

                                                                                    + */ + HealthCheckEnabled?: boolean; + + /** + *

                                                                                    The approximate amount of time, in seconds, between health checks of an individual target. + * For TCP health checks, the supported values are 10 or 30 seconds.

                                                                                    *

                                                                                    With Network Load Balancers, you can't modify this setting.

                                                                                    */ - HealthCheckProtocol?: ProtocolEnum | string; + HealthCheckIntervalSeconds?: number; /** *

                                                                                    [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response @@ -3541,19 +3507,6 @@ export interface ModifyTargetGroupInput { */ HealthyThresholdCount?: number; - /** - *

                                                                                    [HTTP/HTTPS health checks] The destination for health checks on the targets.

                                                                                    - *

                                                                                    [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

                                                                                    - *

                                                                                    [GRPC protocol version] The path of a custom health check method with the format /package.service/method. - * The default is /AWS.ALB/healthcheck.

                                                                                    - */ - HealthCheckPath?: string; - - /** - *

                                                                                    Indicates whether health checks are enabled.

                                                                                    - */ - HealthCheckEnabled?: boolean; - /** *

                                                                                    The number of consecutive health check failures required before considering the target * unhealthy. For target groups with a protocol of TCP or TLS, this value must be the same as @@ -3590,14 +3543,14 @@ export namespace ModifyTargetGroupOutput { export interface ModifyTargetGroupAttributesInput { /** - *

                                                                                    The attributes.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the target group.

                                                                                    */ - Attributes: TargetGroupAttribute[] | undefined; + TargetGroupArn: string | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) of the target group.

                                                                                    + *

                                                                                    The attributes.

                                                                                    */ - TargetGroupArn: string | undefined; + Attributes: TargetGroupAttribute[] | undefined; } export namespace ModifyTargetGroupAttributesInput { @@ -3621,14 +3574,14 @@ export namespace ModifyTargetGroupAttributesOutput { export interface RegisterTargetsInput { /** - *

                                                                                    The targets.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the target group.

                                                                                    */ - Targets: TargetDescription[] | undefined; + TargetGroupArn: string | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) of the target group.

                                                                                    + *

                                                                                    The targets.

                                                                                    */ - TargetGroupArn: string | undefined; + Targets: TargetDescription[] | undefined; } export namespace RegisterTargetsInput { @@ -3674,14 +3627,14 @@ export namespace RemoveListenerCertificatesOutput { export interface RemoveTagsInput { /** - *

                                                                                    The tag keys for the tags to remove.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the resource.

                                                                                    */ - TagKeys: string[] | undefined; + ResourceArns: string[] | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) of the resource.

                                                                                    + *

                                                                                    The tag keys for the tags to remove.

                                                                                    */ - ResourceArns: string[] | undefined; + TagKeys: string[] | undefined; } export namespace RemoveTagsInput { @@ -3700,16 +3653,16 @@ export namespace RemoveTagsOutput { export interface SetIpAddressTypeInput { /** - *

                                                                                    The IP address type. The possible values are ipv4 (for IPv4 addresses) and - * dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use - * ipv4. Network Load Balancers must use ipv4.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the load balancer.

                                                                                    */ - IpAddressType: IpAddressType | string | undefined; + LoadBalancerArn: string | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) of the load balancer.

                                                                                    + *

                                                                                    The IP address type. The possible values are ipv4 (for IPv4 addresses) and + * dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use + * ipv4.

                                                                                    */ - LoadBalancerArn: string | undefined; + IpAddressType: IpAddressType | string | undefined; } export namespace SetIpAddressTypeInput { @@ -3736,14 +3689,14 @@ export namespace SetIpAddressTypeOutput { */ export interface RulePriorityPair { /** - *

                                                                                    The rule priority.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the rule.

                                                                                    */ - Priority?: number; + RuleArn?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the rule.

                                                                                    + *

                                                                                    The rule priority.

                                                                                    */ - RuleArn?: string; + Priority?: number; } export namespace RulePriorityPair { @@ -3811,16 +3764,9 @@ export namespace SetSecurityGroupsOutput { export interface SetSubnetsInput { /** - *

                                                                                    The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must - * specify either subnets or subnet mappings.

                                                                                    - *

                                                                                    [Application Load Balancers] You must specify subnets from at least two Availability Zones. - * You cannot specify Elastic IP addresses for your subnets.

                                                                                    - *

                                                                                    [Network Load Balancers] You can specify subnets from one or more Availability Zones. If you - * need static IP addresses for your internet-facing load balancer, you can specify one Elastic IP - * address per subnet. For internal load balancers, you can specify one private IP address per - * subnet from the IPv4 range of the subnet.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the load balancer.

                                                                                    */ - SubnetMappings?: SubnetMapping[]; + LoadBalancerArn: string | undefined; /** *

                                                                                    The IDs of the public subnets. You must specify subnets from at least two Availability Zones. @@ -3830,9 +3776,16 @@ export interface SetSubnetsInput { Subnets?: string[]; /** - *

                                                                                    The Amazon Resource Name (ARN) of the load balancer.

                                                                                    + *

                                                                                    The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must + * specify either subnets or subnet mappings.

                                                                                    + *

                                                                                    [Application Load Balancers] You must specify subnets from at least two Availability Zones. + * You cannot specify Elastic IP addresses for your subnets.

                                                                                    + *

                                                                                    [Network Load Balancers] You can specify subnets from one or more Availability Zones. If you + * need static IP addresses for your internet-facing load balancer, you can specify one Elastic IP + * address per subnet. For internal load balancers, you can specify one private IP address per + * subnet from the IPv4 range of the subnet.

                                                                                    */ - LoadBalancerArn: string | undefined; + SubnetMappings?: SubnetMapping[]; } export namespace SetSubnetsInput { diff --git a/clients/client-elastic-load-balancing-v2/pagination/DescribeListenersPaginator.ts b/clients/client-elastic-load-balancing-v2/pagination/DescribeListenersPaginator.ts index cfc1bb16f3bd..cf788f84d6fd 100644 --- a/clients/client-elastic-load-balancing-v2/pagination/DescribeListenersPaginator.ts +++ b/clients/client-elastic-load-balancing-v2/pagination/DescribeListenersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeListenersCommand(input), ...args); + return await client.send(new DescribeListenersCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticLoadBalancingV2, diff --git a/clients/client-elastic-load-balancing-v2/pagination/DescribeLoadBalancersPaginator.ts b/clients/client-elastic-load-balancing-v2/pagination/DescribeLoadBalancersPaginator.ts index 704477db7b51..96bdd0516554 100644 --- a/clients/client-elastic-load-balancing-v2/pagination/DescribeLoadBalancersPaginator.ts +++ b/clients/client-elastic-load-balancing-v2/pagination/DescribeLoadBalancersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLoadBalancersCommand(input), ...args); + return await client.send(new DescribeLoadBalancersCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticLoadBalancingV2, diff --git a/clients/client-elastic-load-balancing-v2/pagination/DescribeTargetGroupsPaginator.ts b/clients/client-elastic-load-balancing-v2/pagination/DescribeTargetGroupsPaginator.ts index 3e0b1dd23774..919e2111575b 100644 --- a/clients/client-elastic-load-balancing-v2/pagination/DescribeTargetGroupsPaginator.ts +++ b/clients/client-elastic-load-balancing-v2/pagination/DescribeTargetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTargetGroupsCommand(input), ...args); + return await client.send(new DescribeTargetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticLoadBalancingV2, diff --git a/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts b/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts index 7848bf7f79a0..78d21f02d420 100644 --- a/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts +++ b/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts @@ -4067,6 +4067,16 @@ const serializeAws_queryAction = (input: Action, context: __SerdeContext): any = if (input.Type !== undefined) { entries["Type"] = input.Type; } + if (input.TargetGroupArn !== undefined) { + entries["TargetGroupArn"] = input.TargetGroupArn; + } + if (input.AuthenticateOidcConfig !== undefined) { + const memberEntries = serializeAws_queryAuthenticateOidcActionConfig(input.AuthenticateOidcConfig, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AuthenticateOidcConfig.${key}`; + entries[loc] = value; + }); + } if (input.AuthenticateCognitoConfig !== undefined) { const memberEntries = serializeAws_queryAuthenticateCognitoActionConfig(input.AuthenticateCognitoConfig, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4074,6 +4084,9 @@ const serializeAws_queryAction = (input: Action, context: __SerdeContext): any = entries[loc] = value; }); } + if (input.Order !== undefined) { + entries["Order"] = input.Order; + } if (input.RedirectConfig !== undefined) { const memberEntries = serializeAws_queryRedirectActionConfig(input.RedirectConfig, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4081,12 +4094,6 @@ const serializeAws_queryAction = (input: Action, context: __SerdeContext): any = entries[loc] = value; }); } - if (input.TargetGroupArn !== undefined) { - entries["TargetGroupArn"] = input.TargetGroupArn; - } - if (input.Order !== undefined) { - entries["Order"] = input.Order; - } if (input.FixedResponseConfig !== undefined) { const memberEntries = serializeAws_queryFixedResponseActionConfig(input.FixedResponseConfig, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4094,13 +4101,6 @@ const serializeAws_queryAction = (input: Action, context: __SerdeContext): any = entries[loc] = value; }); } - if (input.AuthenticateOidcConfig !== undefined) { - const memberEntries = serializeAws_queryAuthenticateOidcActionConfig(input.AuthenticateOidcConfig, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AuthenticateOidcConfig.${key}`; - entries[loc] = value; - }); - } if (input.ForwardConfig !== undefined) { const memberEntries = serializeAws_queryForwardActionConfig(input.ForwardConfig, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4129,6 +4129,9 @@ const serializeAws_queryAddListenerCertificatesInput = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.ListenerArn !== undefined) { + entries["ListenerArn"] = input.ListenerArn; + } if (input.Certificates !== undefined) { const memberEntries = serializeAws_queryCertificateList(input.Certificates, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4136,9 +4139,6 @@ const serializeAws_queryAddListenerCertificatesInput = ( entries[loc] = value; }); } - if (input.ListenerArn !== undefined) { - entries["ListenerArn"] = input.ListenerArn; - } return entries; }; @@ -4190,17 +4190,23 @@ const serializeAws_queryAuthenticateCognitoActionConfig = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.UserPoolArn !== undefined) { + entries["UserPoolArn"] = input.UserPoolArn; + } + if (input.UserPoolClientId !== undefined) { + entries["UserPoolClientId"] = input.UserPoolClientId; + } + if (input.UserPoolDomain !== undefined) { + entries["UserPoolDomain"] = input.UserPoolDomain; + } if (input.SessionCookieName !== undefined) { entries["SessionCookieName"] = input.SessionCookieName; } if (input.Scope !== undefined) { entries["Scope"] = input.Scope; } - if (input.UserPoolDomain !== undefined) { - entries["UserPoolDomain"] = input.UserPoolDomain; - } - if (input.UserPoolArn !== undefined) { - entries["UserPoolArn"] = input.UserPoolArn; + if (input.SessionTimeout !== undefined) { + entries["SessionTimeout"] = input.SessionTimeout; } if (input.AuthenticationRequestExtraParams !== undefined) { const memberEntries = serializeAws_queryAuthenticateCognitoActionAuthenticationRequestExtraParams( @@ -4212,15 +4218,9 @@ const serializeAws_queryAuthenticateCognitoActionConfig = ( entries[loc] = value; }); } - if (input.SessionTimeout !== undefined) { - entries["SessionTimeout"] = input.SessionTimeout; - } if (input.OnUnauthenticatedRequest !== undefined) { entries["OnUnauthenticatedRequest"] = input.OnUnauthenticatedRequest; } - if (input.UserPoolClientId !== undefined) { - entries["UserPoolClientId"] = input.UserPoolClientId; - } return entries; }; @@ -4243,9 +4243,15 @@ const serializeAws_queryAuthenticateOidcActionConfig = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.Issuer !== undefined) { + entries["Issuer"] = input.Issuer; + } if (input.AuthorizationEndpoint !== undefined) { entries["AuthorizationEndpoint"] = input.AuthorizationEndpoint; } + if (input.TokenEndpoint !== undefined) { + entries["TokenEndpoint"] = input.TokenEndpoint; + } if (input.UserInfoEndpoint !== undefined) { entries["UserInfoEndpoint"] = input.UserInfoEndpoint; } @@ -4255,14 +4261,8 @@ const serializeAws_queryAuthenticateOidcActionConfig = ( if (input.ClientSecret !== undefined) { entries["ClientSecret"] = input.ClientSecret; } - if (input.UseExistingClientSecret !== undefined) { - entries["UseExistingClientSecret"] = input.UseExistingClientSecret; - } - if (input.TokenEndpoint !== undefined) { - entries["TokenEndpoint"] = input.TokenEndpoint; - } - if (input.Issuer !== undefined) { - entries["Issuer"] = input.Issuer; + if (input.SessionCookieName !== undefined) { + entries["SessionCookieName"] = input.SessionCookieName; } if (input.Scope !== undefined) { entries["Scope"] = input.Scope; @@ -4270,9 +4270,6 @@ const serializeAws_queryAuthenticateOidcActionConfig = ( if (input.SessionTimeout !== undefined) { entries["SessionTimeout"] = input.SessionTimeout; } - if (input.OnUnauthenticatedRequest !== undefined) { - entries["OnUnauthenticatedRequest"] = input.OnUnauthenticatedRequest; - } if (input.AuthenticationRequestExtraParams !== undefined) { const memberEntries = serializeAws_queryAuthenticateOidcActionAuthenticationRequestExtraParams( input.AuthenticationRequestExtraParams, @@ -4283,8 +4280,11 @@ const serializeAws_queryAuthenticateOidcActionConfig = ( entries[loc] = value; }); } - if (input.SessionCookieName !== undefined) { - entries["SessionCookieName"] = input.SessionCookieName; + if (input.OnUnauthenticatedRequest !== undefined) { + entries["OnUnauthenticatedRequest"] = input.OnUnauthenticatedRequest; + } + if (input.UseExistingClientSecret !== undefined) { + entries["UseExistingClientSecret"] = input.UseExistingClientSecret; } return entries; }; @@ -4315,11 +4315,17 @@ const serializeAws_queryCertificateList = (input: Certificate[], context: __Serd const serializeAws_queryCreateListenerInput = (input: CreateListenerInput, context: __SerdeContext): any => { const entries: any = {}; + if (input.LoadBalancerArn !== undefined) { + entries["LoadBalancerArn"] = input.LoadBalancerArn; + } + if (input.Protocol !== undefined) { + entries["Protocol"] = input.Protocol; + } if (input.Port !== undefined) { entries["Port"] = input.Port; } - if (input.LoadBalancerArn !== undefined) { - entries["LoadBalancerArn"] = input.LoadBalancerArn; + if (input.SslPolicy !== undefined) { + entries["SslPolicy"] = input.SslPolicy; } if (input.Certificates !== undefined) { const memberEntries = serializeAws_queryCertificateList(input.Certificates, context); @@ -4328,16 +4334,13 @@ const serializeAws_queryCreateListenerInput = (input: CreateListenerInput, conte entries[loc] = value; }); } - if (input.Tags !== undefined) { - const memberEntries = serializeAws_queryTagList(input.Tags, context); + if (input.DefaultActions !== undefined) { + const memberEntries = serializeAws_queryActions(input.DefaultActions, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tags.${key}`; + const loc = `DefaultActions.${key}`; entries[loc] = value; }); } - if (input.Protocol !== undefined) { - entries["Protocol"] = input.Protocol; - } if (input.AlpnPolicy !== undefined) { const memberEntries = serializeAws_queryAlpnPolicyName(input.AlpnPolicy, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4345,40 +4348,28 @@ const serializeAws_queryCreateListenerInput = (input: CreateListenerInput, conte entries[loc] = value; }); } - if (input.DefaultActions !== undefined) { - const memberEntries = serializeAws_queryActions(input.DefaultActions, context); + if (input.Tags !== undefined) { + const memberEntries = serializeAws_queryTagList(input.Tags, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DefaultActions.${key}`; + const loc = `Tags.${key}`; entries[loc] = value; }); } - if (input.SslPolicy !== undefined) { - entries["SslPolicy"] = input.SslPolicy; - } return entries; }; const serializeAws_queryCreateLoadBalancerInput = (input: CreateLoadBalancerInput, context: __SerdeContext): any => { const entries: any = {}; - if (input.Scheme !== undefined) { - entries["Scheme"] = input.Scheme; - } - if (input.IpAddressType !== undefined) { - entries["IpAddressType"] = input.IpAddressType; + if (input.Name !== undefined) { + entries["Name"] = input.Name; } - if (input.Tags !== undefined) { - const memberEntries = serializeAws_queryTagList(input.Tags, context); + if (input.Subnets !== undefined) { + const memberEntries = serializeAws_querySubnets(input.Subnets, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tags.${key}`; + const loc = `Subnets.${key}`; entries[loc] = value; }); } - if (input.CustomerOwnedIpv4Pool !== undefined) { - entries["CustomerOwnedIpv4Pool"] = input.CustomerOwnedIpv4Pool; - } - if (input.Name !== undefined) { - entries["Name"] = input.Name; - } if (input.SubnetMappings !== undefined) { const memberEntries = serializeAws_querySubnetMappings(input.SubnetMappings, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4386,28 +4377,47 @@ const serializeAws_queryCreateLoadBalancerInput = (input: CreateLoadBalancerInpu entries[loc] = value; }); } - if (input.Subnets !== undefined) { - const memberEntries = serializeAws_querySubnets(input.Subnets, context); + if (input.SecurityGroups !== undefined) { + const memberEntries = serializeAws_querySecurityGroups(input.SecurityGroups, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Subnets.${key}`; + const loc = `SecurityGroups.${key}`; entries[loc] = value; }); } - if (input.Type !== undefined) { - entries["Type"] = input.Type; + if (input.Scheme !== undefined) { + entries["Scheme"] = input.Scheme; } - if (input.SecurityGroups !== undefined) { - const memberEntries = serializeAws_querySecurityGroups(input.SecurityGroups, context); + if (input.Tags !== undefined) { + const memberEntries = serializeAws_queryTagList(input.Tags, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroups.${key}`; + const loc = `Tags.${key}`; entries[loc] = value; }); } + if (input.Type !== undefined) { + entries["Type"] = input.Type; + } + if (input.IpAddressType !== undefined) { + entries["IpAddressType"] = input.IpAddressType; + } + if (input.CustomerOwnedIpv4Pool !== undefined) { + entries["CustomerOwnedIpv4Pool"] = input.CustomerOwnedIpv4Pool; + } return entries; }; const serializeAws_queryCreateRuleInput = (input: CreateRuleInput, context: __SerdeContext): any => { const entries: any = {}; + if (input.ListenerArn !== undefined) { + entries["ListenerArn"] = input.ListenerArn; + } + if (input.Conditions !== undefined) { + const memberEntries = serializeAws_queryRuleConditionList(input.Conditions, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Conditions.${key}`; + entries[loc] = value; + }); + } if (input.Priority !== undefined) { entries["Priority"] = input.Priority; } @@ -4418,9 +4428,6 @@ const serializeAws_queryCreateRuleInput = (input: CreateRuleInput, context: __Se entries[loc] = value; }); } - if (input.ListenerArn !== undefined) { - entries["ListenerArn"] = input.ListenerArn; - } if (input.Tags !== undefined) { const memberEntries = serializeAws_queryTagList(input.Tags, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4428,41 +4435,49 @@ const serializeAws_queryCreateRuleInput = (input: CreateRuleInput, context: __Se entries[loc] = value; }); } - if (input.Conditions !== undefined) { - const memberEntries = serializeAws_queryRuleConditionList(input.Conditions, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Conditions.${key}`; - entries[loc] = value; - }); - } return entries; }; const serializeAws_queryCreateTargetGroupInput = (input: CreateTargetGroupInput, context: __SerdeContext): any => { const entries: any = {}; - if (input.HealthyThresholdCount !== undefined) { - entries["HealthyThresholdCount"] = input.HealthyThresholdCount; - } - if (input.HealthCheckProtocol !== undefined) { - entries["HealthCheckProtocol"] = input.HealthCheckProtocol; - } if (input.Name !== undefined) { entries["Name"] = input.Name; } - if (input.UnhealthyThresholdCount !== undefined) { - entries["UnhealthyThresholdCount"] = input.UnhealthyThresholdCount; + if (input.Protocol !== undefined) { + entries["Protocol"] = input.Protocol; } if (input.ProtocolVersion !== undefined) { entries["ProtocolVersion"] = input.ProtocolVersion; } + if (input.Port !== undefined) { + entries["Port"] = input.Port; + } + if (input.VpcId !== undefined) { + entries["VpcId"] = input.VpcId; + } + if (input.HealthCheckProtocol !== undefined) { + entries["HealthCheckProtocol"] = input.HealthCheckProtocol; + } + if (input.HealthCheckPort !== undefined) { + entries["HealthCheckPort"] = input.HealthCheckPort; + } if (input.HealthCheckEnabled !== undefined) { entries["HealthCheckEnabled"] = input.HealthCheckEnabled; } + if (input.HealthCheckPath !== undefined) { + entries["HealthCheckPath"] = input.HealthCheckPath; + } + if (input.HealthCheckIntervalSeconds !== undefined) { + entries["HealthCheckIntervalSeconds"] = input.HealthCheckIntervalSeconds; + } if (input.HealthCheckTimeoutSeconds !== undefined) { entries["HealthCheckTimeoutSeconds"] = input.HealthCheckTimeoutSeconds; } - if (input.HealthCheckPath !== undefined) { - entries["HealthCheckPath"] = input.HealthCheckPath; + if (input.HealthyThresholdCount !== undefined) { + entries["HealthyThresholdCount"] = input.HealthyThresholdCount; + } + if (input.UnhealthyThresholdCount !== undefined) { + entries["UnhealthyThresholdCount"] = input.UnhealthyThresholdCount; } if (input.Matcher !== undefined) { const memberEntries = serializeAws_queryMatcher(input.Matcher, context); @@ -4471,14 +4486,8 @@ const serializeAws_queryCreateTargetGroupInput = (input: CreateTargetGroupInput, entries[loc] = value; }); } - if (input.VpcId !== undefined) { - entries["VpcId"] = input.VpcId; - } - if (input.HealthCheckPort !== undefined) { - entries["HealthCheckPort"] = input.HealthCheckPort; - } - if (input.Port !== undefined) { - entries["Port"] = input.Port; + if (input.TargetType !== undefined) { + entries["TargetType"] = input.TargetType; } if (input.Tags !== undefined) { const memberEntries = serializeAws_queryTagList(input.Tags, context); @@ -4487,15 +4496,6 @@ const serializeAws_queryCreateTargetGroupInput = (input: CreateTargetGroupInput, entries[loc] = value; }); } - if (input.HealthCheckIntervalSeconds !== undefined) { - entries["HealthCheckIntervalSeconds"] = input.HealthCheckIntervalSeconds; - } - if (input.Protocol !== undefined) { - entries["Protocol"] = input.Protocol; - } - if (input.TargetType !== undefined) { - entries["TargetType"] = input.TargetType; - } return entries; }; @@ -4551,12 +4551,12 @@ const serializeAws_queryDescribeAccountLimitsInput = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.PageSize !== undefined) { - entries["PageSize"] = input.PageSize; - } if (input.Marker !== undefined) { entries["Marker"] = input.Marker; } + if (input.PageSize !== undefined) { + entries["PageSize"] = input.PageSize; + } return entries; }; @@ -4568,23 +4568,17 @@ const serializeAws_queryDescribeListenerCertificatesInput = ( if (input.ListenerArn !== undefined) { entries["ListenerArn"] = input.ListenerArn; } - if (input.PageSize !== undefined) { - entries["PageSize"] = input.PageSize; - } if (input.Marker !== undefined) { entries["Marker"] = input.Marker; } + if (input.PageSize !== undefined) { + entries["PageSize"] = input.PageSize; + } return entries; }; const serializeAws_queryDescribeListenersInput = (input: DescribeListenersInput, context: __SerdeContext): any => { const entries: any = {}; - if (input.Marker !== undefined) { - entries["Marker"] = input.Marker; - } - if (input.PageSize !== undefined) { - entries["PageSize"] = input.PageSize; - } if (input.LoadBalancerArn !== undefined) { entries["LoadBalancerArn"] = input.LoadBalancerArn; } @@ -4595,6 +4589,12 @@ const serializeAws_queryDescribeListenersInput = (input: DescribeListenersInput, entries[loc] = value; }); } + if (input.Marker !== undefined) { + entries["Marker"] = input.Marker; + } + if (input.PageSize !== undefined) { + entries["PageSize"] = input.PageSize; + } return entries; }; @@ -4614,37 +4614,31 @@ const serializeAws_queryDescribeLoadBalancersInput = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.Names !== undefined) { - const memberEntries = serializeAws_queryLoadBalancerNames(input.Names, context); + if (input.LoadBalancerArns !== undefined) { + const memberEntries = serializeAws_queryLoadBalancerArns(input.LoadBalancerArns, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Names.${key}`; + const loc = `LoadBalancerArns.${key}`; entries[loc] = value; }); } - if (input.PageSize !== undefined) { - entries["PageSize"] = input.PageSize; - } - if (input.LoadBalancerArns !== undefined) { - const memberEntries = serializeAws_queryLoadBalancerArns(input.LoadBalancerArns, context); + if (input.Names !== undefined) { + const memberEntries = serializeAws_queryLoadBalancerNames(input.Names, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LoadBalancerArns.${key}`; + const loc = `Names.${key}`; entries[loc] = value; }); } if (input.Marker !== undefined) { entries["Marker"] = input.Marker; } + if (input.PageSize !== undefined) { + entries["PageSize"] = input.PageSize; + } return entries; }; const serializeAws_queryDescribeRulesInput = (input: DescribeRulesInput, context: __SerdeContext): any => { const entries: any = {}; - if (input.Marker !== undefined) { - entries["Marker"] = input.Marker; - } - if (input.PageSize !== undefined) { - entries["PageSize"] = input.PageSize; - } if (input.ListenerArn !== undefined) { entries["ListenerArn"] = input.ListenerArn; } @@ -4655,17 +4649,17 @@ const serializeAws_queryDescribeRulesInput = (input: DescribeRulesInput, context entries[loc] = value; }); } - return entries; -}; - -const serializeAws_queryDescribeSSLPoliciesInput = (input: DescribeSSLPoliciesInput, context: __SerdeContext): any => { - const entries: any = {}; if (input.Marker !== undefined) { entries["Marker"] = input.Marker; } if (input.PageSize !== undefined) { entries["PageSize"] = input.PageSize; } + return entries; +}; + +const serializeAws_queryDescribeSSLPoliciesInput = (input: DescribeSSLPoliciesInput, context: __SerdeContext): any => { + const entries: any = {}; if (input.Names !== undefined) { const memberEntries = serializeAws_querySslPolicyNames(input.Names, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4673,6 +4667,12 @@ const serializeAws_queryDescribeSSLPoliciesInput = (input: DescribeSSLPoliciesIn entries[loc] = value; }); } + if (input.Marker !== undefined) { + entries["Marker"] = input.Marker; + } + if (input.PageSize !== undefined) { + entries["PageSize"] = input.PageSize; + } return entries; }; @@ -4704,6 +4704,9 @@ const serializeAws_queryDescribeTargetGroupsInput = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.LoadBalancerArn !== undefined) { + entries["LoadBalancerArn"] = input.LoadBalancerArn; + } if (input.TargetGroupArns !== undefined) { const memberEntries = serializeAws_queryTargetGroupArns(input.TargetGroupArns, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4711,15 +4714,6 @@ const serializeAws_queryDescribeTargetGroupsInput = ( entries[loc] = value; }); } - if (input.LoadBalancerArn !== undefined) { - entries["LoadBalancerArn"] = input.LoadBalancerArn; - } - if (input.Marker !== undefined) { - entries["Marker"] = input.Marker; - } - if (input.PageSize !== undefined) { - entries["PageSize"] = input.PageSize; - } if (input.Names !== undefined) { const memberEntries = serializeAws_queryTargetGroupNames(input.Names, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4727,6 +4721,12 @@ const serializeAws_queryDescribeTargetGroupsInput = ( entries[loc] = value; }); } + if (input.Marker !== undefined) { + entries["Marker"] = input.Marker; + } + if (input.PageSize !== undefined) { + entries["PageSize"] = input.PageSize; + } return entries; }; @@ -4753,15 +4753,15 @@ const serializeAws_queryFixedResponseActionConfig = ( context: __SerdeContext ): any => { const entries: any = {}; - if (input.ContentType !== undefined) { - entries["ContentType"] = input.ContentType; - } if (input.MessageBody !== undefined) { entries["MessageBody"] = input.MessageBody; } if (input.StatusCode !== undefined) { entries["StatusCode"] = input.StatusCode; } + if (input.ContentType !== undefined) { + entries["ContentType"] = input.ContentType; + } return entries; }; @@ -4864,12 +4864,12 @@ const serializeAws_queryLoadBalancerArns = (input: string[], context: __SerdeCon const serializeAws_queryLoadBalancerAttribute = (input: LoadBalancerAttribute, context: __SerdeContext): any => { const entries: any = {}; - if (input.Value !== undefined) { - entries["Value"] = input.Value; - } if (input.Key !== undefined) { entries["Key"] = input.Key; } + if (input.Value !== undefined) { + entries["Value"] = input.Value; + } return entries; }; @@ -4909,16 +4909,18 @@ const serializeAws_queryMatcher = (input: Matcher, context: __SerdeContext): any const serializeAws_queryModifyListenerInput = (input: ModifyListenerInput, context: __SerdeContext): any => { const entries: any = {}; - if (input.AlpnPolicy !== undefined) { - const memberEntries = serializeAws_queryAlpnPolicyName(input.AlpnPolicy, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AlpnPolicy.${key}`; - entries[loc] = value; - }); + if (input.ListenerArn !== undefined) { + entries["ListenerArn"] = input.ListenerArn; + } + if (input.Port !== undefined) { + entries["Port"] = input.Port; } if (input.Protocol !== undefined) { entries["Protocol"] = input.Protocol; } + if (input.SslPolicy !== undefined) { + entries["SslPolicy"] = input.SslPolicy; + } if (input.Certificates !== undefined) { const memberEntries = serializeAws_queryCertificateList(input.Certificates, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4926,12 +4928,6 @@ const serializeAws_queryModifyListenerInput = (input: ModifyListenerInput, conte entries[loc] = value; }); } - if (input.ListenerArn !== undefined) { - entries["ListenerArn"] = input.ListenerArn; - } - if (input.Port !== undefined) { - entries["Port"] = input.Port; - } if (input.DefaultActions !== undefined) { const memberEntries = serializeAws_queryActions(input.DefaultActions, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4939,8 +4935,12 @@ const serializeAws_queryModifyListenerInput = (input: ModifyListenerInput, conte entries[loc] = value; }); } - if (input.SslPolicy !== undefined) { - entries["SslPolicy"] = input.SslPolicy; + if (input.AlpnPolicy !== undefined) { + const memberEntries = serializeAws_queryAlpnPolicyName(input.AlpnPolicy, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AlpnPolicy.${key}`; + entries[loc] = value; + }); } return entries; }; @@ -4965,6 +4965,9 @@ const serializeAws_queryModifyLoadBalancerAttributesInput = ( const serializeAws_queryModifyRuleInput = (input: ModifyRuleInput, context: __SerdeContext): any => { const entries: any = {}; + if (input.RuleArn !== undefined) { + entries["RuleArn"] = input.RuleArn; + } if (input.Conditions !== undefined) { const memberEntries = serializeAws_queryRuleConditionList(input.Conditions, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4979,9 +4982,6 @@ const serializeAws_queryModifyRuleInput = (input: ModifyRuleInput, context: __Se entries[loc] = value; }); } - if (input.RuleArn !== undefined) { - entries["RuleArn"] = input.RuleArn; - } return entries; }; @@ -4990,6 +4990,9 @@ const serializeAws_queryModifyTargetGroupAttributesInput = ( context: __SerdeContext ): any => { const entries: any = {}; + if (input.TargetGroupArn !== undefined) { + entries["TargetGroupArn"] = input.TargetGroupArn; + } if (input.Attributes !== undefined) { const memberEntries = serializeAws_queryTargetGroupAttributes(input.Attributes, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -4997,9 +5000,6 @@ const serializeAws_queryModifyTargetGroupAttributesInput = ( entries[loc] = value; }); } - if (input.TargetGroupArn !== undefined) { - entries["TargetGroupArn"] = input.TargetGroupArn; - } return entries; }; @@ -5008,14 +5008,20 @@ const serializeAws_queryModifyTargetGroupInput = (input: ModifyTargetGroupInput, if (input.TargetGroupArn !== undefined) { entries["TargetGroupArn"] = input.TargetGroupArn; } - if (input.HealthCheckIntervalSeconds !== undefined) { - entries["HealthCheckIntervalSeconds"] = input.HealthCheckIntervalSeconds; + if (input.HealthCheckProtocol !== undefined) { + entries["HealthCheckProtocol"] = input.HealthCheckProtocol; } if (input.HealthCheckPort !== undefined) { entries["HealthCheckPort"] = input.HealthCheckPort; } - if (input.HealthCheckProtocol !== undefined) { - entries["HealthCheckProtocol"] = input.HealthCheckProtocol; + if (input.HealthCheckPath !== undefined) { + entries["HealthCheckPath"] = input.HealthCheckPath; + } + if (input.HealthCheckEnabled !== undefined) { + entries["HealthCheckEnabled"] = input.HealthCheckEnabled; + } + if (input.HealthCheckIntervalSeconds !== undefined) { + entries["HealthCheckIntervalSeconds"] = input.HealthCheckIntervalSeconds; } if (input.HealthCheckTimeoutSeconds !== undefined) { entries["HealthCheckTimeoutSeconds"] = input.HealthCheckTimeoutSeconds; @@ -5023,12 +5029,6 @@ const serializeAws_queryModifyTargetGroupInput = (input: ModifyTargetGroupInput, if (input.HealthyThresholdCount !== undefined) { entries["HealthyThresholdCount"] = input.HealthyThresholdCount; } - if (input.HealthCheckPath !== undefined) { - entries["HealthCheckPath"] = input.HealthCheckPath; - } - if (input.HealthCheckEnabled !== undefined) { - entries["HealthCheckEnabled"] = input.HealthCheckEnabled; - } if (input.UnhealthyThresholdCount !== undefined) { entries["UnhealthyThresholdCount"] = input.UnhealthyThresholdCount; } @@ -5074,12 +5074,12 @@ const serializeAws_queryQueryStringConditionConfig = ( const serializeAws_queryQueryStringKeyValuePair = (input: QueryStringKeyValuePair, context: __SerdeContext): any => { const entries: any = {}; - if (input.Value !== undefined) { - entries["Value"] = input.Value; - } if (input.Key !== undefined) { entries["Key"] = input.Key; } + if (input.Value !== undefined) { + entries["Value"] = input.Value; + } return entries; }; @@ -5101,29 +5101,32 @@ const serializeAws_queryQueryStringKeyValuePairList = ( const serializeAws_queryRedirectActionConfig = (input: RedirectActionConfig, context: __SerdeContext): any => { const entries: any = {}; - if (input.StatusCode !== undefined) { - entries["StatusCode"] = input.StatusCode; - } - if (input.Query !== undefined) { - entries["Query"] = input.Query; + if (input.Protocol !== undefined) { + entries["Protocol"] = input.Protocol; } if (input.Port !== undefined) { entries["Port"] = input.Port; } + if (input.Host !== undefined) { + entries["Host"] = input.Host; + } if (input.Path !== undefined) { entries["Path"] = input.Path; } - if (input.Host !== undefined) { - entries["Host"] = input.Host; + if (input.Query !== undefined) { + entries["Query"] = input.Query; } - if (input.Protocol !== undefined) { - entries["Protocol"] = input.Protocol; + if (input.StatusCode !== undefined) { + entries["StatusCode"] = input.StatusCode; } return entries; }; const serializeAws_queryRegisterTargetsInput = (input: RegisterTargetsInput, context: __SerdeContext): any => { const entries: any = {}; + if (input.TargetGroupArn !== undefined) { + entries["TargetGroupArn"] = input.TargetGroupArn; + } if (input.Targets !== undefined) { const memberEntries = serializeAws_queryTargetDescriptions(input.Targets, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5131,9 +5134,6 @@ const serializeAws_queryRegisterTargetsInput = (input: RegisterTargetsInput, con entries[loc] = value; }); } - if (input.TargetGroupArn !== undefined) { - entries["TargetGroupArn"] = input.TargetGroupArn; - } return entries; }; @@ -5157,17 +5157,17 @@ const serializeAws_queryRemoveListenerCertificatesInput = ( const serializeAws_queryRemoveTagsInput = (input: RemoveTagsInput, context: __SerdeContext): any => { const entries: any = {}; - if (input.TagKeys !== undefined) { - const memberEntries = serializeAws_queryTagKeys(input.TagKeys, context); + if (input.ResourceArns !== undefined) { + const memberEntries = serializeAws_queryResourceArns(input.ResourceArns, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagKeys.${key}`; + const loc = `ResourceArns.${key}`; entries[loc] = value; }); } - if (input.ResourceArns !== undefined) { - const memberEntries = serializeAws_queryResourceArns(input.ResourceArns, context); + if (input.TagKeys !== undefined) { + const memberEntries = serializeAws_queryTagKeys(input.TagKeys, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ResourceArns.${key}`; + const loc = `TagKeys.${key}`; entries[loc] = value; }); } @@ -5196,6 +5196,16 @@ const serializeAws_queryRuleArns = (input: string[], context: __SerdeContext): a const serializeAws_queryRuleCondition = (input: RuleCondition, context: __SerdeContext): any => { const entries: any = {}; + if (input.Field !== undefined) { + entries["Field"] = input.Field; + } + if (input.Values !== undefined) { + const memberEntries = serializeAws_queryListOfString(input.Values, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Values.${key}`; + entries[loc] = value; + }); + } if (input.HostHeaderConfig !== undefined) { const memberEntries = serializeAws_queryHostHeaderConditionConfig(input.HostHeaderConfig, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5210,23 +5220,6 @@ const serializeAws_queryRuleCondition = (input: RuleCondition, context: __SerdeC entries[loc] = value; }); } - if (input.Field !== undefined) { - entries["Field"] = input.Field; - } - if (input.HttpRequestMethodConfig !== undefined) { - const memberEntries = serializeAws_queryHttpRequestMethodConditionConfig(input.HttpRequestMethodConfig, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HttpRequestMethodConfig.${key}`; - entries[loc] = value; - }); - } - if (input.SourceIpConfig !== undefined) { - const memberEntries = serializeAws_querySourceIpConditionConfig(input.SourceIpConfig, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourceIpConfig.${key}`; - entries[loc] = value; - }); - } if (input.HttpHeaderConfig !== undefined) { const memberEntries = serializeAws_queryHttpHeaderConditionConfig(input.HttpHeaderConfig, context); Object.entries(memberEntries).forEach(([key, value]) => { @@ -5241,10 +5234,17 @@ const serializeAws_queryRuleCondition = (input: RuleCondition, context: __SerdeC entries[loc] = value; }); } - if (input.Values !== undefined) { - const memberEntries = serializeAws_queryListOfString(input.Values, context); + if (input.HttpRequestMethodConfig !== undefined) { + const memberEntries = serializeAws_queryHttpRequestMethodConditionConfig(input.HttpRequestMethodConfig, context); Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Values.${key}`; + const loc = `HttpRequestMethodConfig.${key}`; + entries[loc] = value; + }); + } + if (input.SourceIpConfig !== undefined) { + const memberEntries = serializeAws_querySourceIpConditionConfig(input.SourceIpConfig, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourceIpConfig.${key}`; entries[loc] = value; }); } @@ -5279,12 +5279,12 @@ const serializeAws_queryRulePriorityList = (input: RulePriorityPair[], context: const serializeAws_queryRulePriorityPair = (input: RulePriorityPair, context: __SerdeContext): any => { const entries: any = {}; - if (input.Priority !== undefined) { - entries["Priority"] = input.Priority; - } if (input.RuleArn !== undefined) { entries["RuleArn"] = input.RuleArn; } + if (input.Priority !== undefined) { + entries["Priority"] = input.Priority; + } return entries; }; @@ -5299,13 +5299,13 @@ const serializeAws_querySecurityGroups = (input: string[], context: __SerdeConte }; const serializeAws_querySetIpAddressTypeInput = (input: SetIpAddressTypeInput, context: __SerdeContext): any => { - const entries: any = {}; - if (input.IpAddressType !== undefined) { - entries["IpAddressType"] = input.IpAddressType; - } + const entries: any = {}; if (input.LoadBalancerArn !== undefined) { entries["LoadBalancerArn"] = input.LoadBalancerArn; } + if (input.IpAddressType !== undefined) { + entries["IpAddressType"] = input.IpAddressType; + } return entries; }; @@ -5338,12 +5338,8 @@ const serializeAws_querySetSecurityGroupsInput = (input: SetSecurityGroupsInput, const serializeAws_querySetSubnetsInput = (input: SetSubnetsInput, context: __SerdeContext): any => { const entries: any = {}; - if (input.SubnetMappings !== undefined) { - const memberEntries = serializeAws_querySubnetMappings(input.SubnetMappings, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetMappings.${key}`; - entries[loc] = value; - }); + if (input.LoadBalancerArn !== undefined) { + entries["LoadBalancerArn"] = input.LoadBalancerArn; } if (input.Subnets !== undefined) { const memberEntries = serializeAws_querySubnets(input.Subnets, context); @@ -5352,8 +5348,12 @@ const serializeAws_querySetSubnetsInput = (input: SetSubnetsInput, context: __Se entries[loc] = value; }); } - if (input.LoadBalancerArn !== undefined) { - entries["LoadBalancerArn"] = input.LoadBalancerArn; + if (input.SubnetMappings !== undefined) { + const memberEntries = serializeAws_querySubnetMappings(input.SubnetMappings, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetMappings.${key}`; + entries[loc] = value; + }); } return entries; }; @@ -5382,14 +5382,14 @@ const serializeAws_querySslPolicyNames = (input: string[], context: __SerdeConte const serializeAws_querySubnetMapping = (input: SubnetMapping, context: __SerdeContext): any => { const entries: any = {}; - if (input.PrivateIPv4Address !== undefined) { - entries["PrivateIPv4Address"] = input.PrivateIPv4Address; + if (input.SubnetId !== undefined) { + entries["SubnetId"] = input.SubnetId; } if (input.AllocationId !== undefined) { entries["AllocationId"] = input.AllocationId; } - if (input.SubnetId !== undefined) { - entries["SubnetId"] = input.SubnetId; + if (input.PrivateIPv4Address !== undefined) { + entries["PrivateIPv4Address"] = input.PrivateIPv4Address; } return entries; }; @@ -5453,15 +5453,15 @@ const serializeAws_queryTagList = (input: Tag[], context: __SerdeContext): any = const serializeAws_queryTargetDescription = (input: TargetDescription, context: __SerdeContext): any => { const entries: any = {}; - if (input.AvailabilityZone !== undefined) { - entries["AvailabilityZone"] = input.AvailabilityZone; - } if (input.Id !== undefined) { entries["Id"] = input.Id; } if (input.Port !== undefined) { entries["Port"] = input.Port; } + if (input.AvailabilityZone !== undefined) { + entries["AvailabilityZone"] = input.AvailabilityZone; + } return entries; }; @@ -5563,44 +5563,44 @@ const serializeAws_queryTargetGroupTuple = (input: TargetGroupTuple, context: __ const deserializeAws_queryAction = (output: any, context: __SerdeContext): Action => { let contents: any = { Type: undefined, - AuthenticateCognitoConfig: undefined, - RedirectConfig: undefined, TargetGroupArn: undefined, + AuthenticateOidcConfig: undefined, + AuthenticateCognitoConfig: undefined, Order: undefined, + RedirectConfig: undefined, FixedResponseConfig: undefined, - AuthenticateOidcConfig: undefined, ForwardConfig: undefined, }; if (output["Type"] !== undefined) { contents.Type = output["Type"]; } + if (output["TargetGroupArn"] !== undefined) { + contents.TargetGroupArn = output["TargetGroupArn"]; + } + if (output["AuthenticateOidcConfig"] !== undefined) { + contents.AuthenticateOidcConfig = deserializeAws_queryAuthenticateOidcActionConfig( + output["AuthenticateOidcConfig"], + context + ); + } if (output["AuthenticateCognitoConfig"] !== undefined) { contents.AuthenticateCognitoConfig = deserializeAws_queryAuthenticateCognitoActionConfig( output["AuthenticateCognitoConfig"], context ); } - if (output["RedirectConfig"] !== undefined) { - contents.RedirectConfig = deserializeAws_queryRedirectActionConfig(output["RedirectConfig"], context); - } - if (output["TargetGroupArn"] !== undefined) { - contents.TargetGroupArn = output["TargetGroupArn"]; - } if (output["Order"] !== undefined) { contents.Order = parseInt(output["Order"]); } + if (output["RedirectConfig"] !== undefined) { + contents.RedirectConfig = deserializeAws_queryRedirectActionConfig(output["RedirectConfig"], context); + } if (output["FixedResponseConfig"] !== undefined) { contents.FixedResponseConfig = deserializeAws_queryFixedResponseActionConfig( output["FixedResponseConfig"], context ); } - if (output["AuthenticateOidcConfig"] !== undefined) { - contents.AuthenticateOidcConfig = deserializeAws_queryAuthenticateOidcActionConfig( - output["AuthenticateOidcConfig"], - context - ); - } if (output["ForwardConfig"] !== undefined) { contents.ForwardConfig = deserializeAws_queryForwardActionConfig(output["ForwardConfig"], context); } @@ -5683,26 +5683,32 @@ const deserializeAws_queryAuthenticateCognitoActionConfig = ( context: __SerdeContext ): AuthenticateCognitoActionConfig => { let contents: any = { + UserPoolArn: undefined, + UserPoolClientId: undefined, + UserPoolDomain: undefined, SessionCookieName: undefined, Scope: undefined, - UserPoolDomain: undefined, - UserPoolArn: undefined, - AuthenticationRequestExtraParams: undefined, SessionTimeout: undefined, + AuthenticationRequestExtraParams: undefined, OnUnauthenticatedRequest: undefined, - UserPoolClientId: undefined, }; + if (output["UserPoolArn"] !== undefined) { + contents.UserPoolArn = output["UserPoolArn"]; + } + if (output["UserPoolClientId"] !== undefined) { + contents.UserPoolClientId = output["UserPoolClientId"]; + } + if (output["UserPoolDomain"] !== undefined) { + contents.UserPoolDomain = output["UserPoolDomain"]; + } if (output["SessionCookieName"] !== undefined) { contents.SessionCookieName = output["SessionCookieName"]; } if (output["Scope"] !== undefined) { contents.Scope = output["Scope"]; } - if (output["UserPoolDomain"] !== undefined) { - contents.UserPoolDomain = output["UserPoolDomain"]; - } - if (output["UserPoolArn"] !== undefined) { - contents.UserPoolArn = output["UserPoolArn"]; + if (output["SessionTimeout"] !== undefined) { + contents.SessionTimeout = parseInt(output["SessionTimeout"]); } if (output.AuthenticationRequestExtraParams === "") { contents.AuthenticationRequestExtraParams = {}; @@ -5716,15 +5722,9 @@ const deserializeAws_queryAuthenticateCognitoActionConfig = ( context ); } - if (output["SessionTimeout"] !== undefined) { - contents.SessionTimeout = parseInt(output["SessionTimeout"]); - } if (output["OnUnauthenticatedRequest"] !== undefined) { contents.OnUnauthenticatedRequest = output["OnUnauthenticatedRequest"]; } - if (output["UserPoolClientId"] !== undefined) { - contents.UserPoolClientId = output["UserPoolClientId"]; - } return contents; }; @@ -5746,22 +5746,28 @@ const deserializeAws_queryAuthenticateOidcActionConfig = ( context: __SerdeContext ): AuthenticateOidcActionConfig => { let contents: any = { + Issuer: undefined, AuthorizationEndpoint: undefined, + TokenEndpoint: undefined, UserInfoEndpoint: undefined, ClientId: undefined, ClientSecret: undefined, - UseExistingClientSecret: undefined, - TokenEndpoint: undefined, - Issuer: undefined, + SessionCookieName: undefined, Scope: undefined, SessionTimeout: undefined, - OnUnauthenticatedRequest: undefined, AuthenticationRequestExtraParams: undefined, - SessionCookieName: undefined, + OnUnauthenticatedRequest: undefined, + UseExistingClientSecret: undefined, }; + if (output["Issuer"] !== undefined) { + contents.Issuer = output["Issuer"]; + } if (output["AuthorizationEndpoint"] !== undefined) { contents.AuthorizationEndpoint = output["AuthorizationEndpoint"]; } + if (output["TokenEndpoint"] !== undefined) { + contents.TokenEndpoint = output["TokenEndpoint"]; + } if (output["UserInfoEndpoint"] !== undefined) { contents.UserInfoEndpoint = output["UserInfoEndpoint"]; } @@ -5771,14 +5777,8 @@ const deserializeAws_queryAuthenticateOidcActionConfig = ( if (output["ClientSecret"] !== undefined) { contents.ClientSecret = output["ClientSecret"]; } - if (output["UseExistingClientSecret"] !== undefined) { - contents.UseExistingClientSecret = output["UseExistingClientSecret"] == "true"; - } - if (output["TokenEndpoint"] !== undefined) { - contents.TokenEndpoint = output["TokenEndpoint"]; - } - if (output["Issuer"] !== undefined) { - contents.Issuer = output["Issuer"]; + if (output["SessionCookieName"] !== undefined) { + contents.SessionCookieName = output["SessionCookieName"]; } if (output["Scope"] !== undefined) { contents.Scope = output["Scope"]; @@ -5786,9 +5786,6 @@ const deserializeAws_queryAuthenticateOidcActionConfig = ( if (output["SessionTimeout"] !== undefined) { contents.SessionTimeout = parseInt(output["SessionTimeout"]); } - if (output["OnUnauthenticatedRequest"] !== undefined) { - contents.OnUnauthenticatedRequest = output["OnUnauthenticatedRequest"]; - } if (output.AuthenticationRequestExtraParams === "") { contents.AuthenticationRequestExtraParams = {}; } @@ -5801,24 +5798,30 @@ const deserializeAws_queryAuthenticateOidcActionConfig = ( context ); } - if (output["SessionCookieName"] !== undefined) { - contents.SessionCookieName = output["SessionCookieName"]; + if (output["OnUnauthenticatedRequest"] !== undefined) { + contents.OnUnauthenticatedRequest = output["OnUnauthenticatedRequest"]; + } + if (output["UseExistingClientSecret"] !== undefined) { + contents.UseExistingClientSecret = output["UseExistingClientSecret"] == "true"; } return contents; }; const deserializeAws_queryAvailabilityZone = (output: any, context: __SerdeContext): AvailabilityZone => { let contents: any = { - SubnetId: undefined, ZoneName: undefined, - LoadBalancerAddresses: undefined, + SubnetId: undefined, OutpostId: undefined, + LoadBalancerAddresses: undefined, }; + if (output["ZoneName"] !== undefined) { + contents.ZoneName = output["ZoneName"]; + } if (output["SubnetId"] !== undefined) { contents.SubnetId = output["SubnetId"]; } - if (output["ZoneName"] !== undefined) { - contents.ZoneName = output["ZoneName"]; + if (output["OutpostId"] !== undefined) { + contents.OutpostId = output["OutpostId"]; } if (output.LoadBalancerAddresses === "") { contents.LoadBalancerAddresses = []; @@ -5829,9 +5832,6 @@ const deserializeAws_queryAvailabilityZone = (output: any, context: __SerdeConte context ); } - if (output["OutpostId"] !== undefined) { - contents.OutpostId = output["OutpostId"]; - } return contents; }; @@ -5885,15 +5885,15 @@ const deserializeAws_queryCertificateNotFoundException = ( const deserializeAws_queryCipher = (output: any, context: __SerdeContext): Cipher => { let contents: any = { - Priority: undefined, Name: undefined, + Priority: undefined, }; - if (output["Priority"] !== undefined) { - contents.Priority = parseInt(output["Priority"]); - } if (output["Name"] !== undefined) { contents.Name = output["Name"]; } + if (output["Priority"] !== undefined) { + contents.Priority = parseInt(output["Priority"]); + } return contents; }; @@ -6074,12 +6074,9 @@ const deserializeAws_queryDescribeLoadBalancersOutput = ( context: __SerdeContext ): DescribeLoadBalancersOutput => { let contents: any = { - NextMarker: undefined, LoadBalancers: undefined, + NextMarker: undefined, }; - if (output["NextMarker"] !== undefined) { - contents.NextMarker = output["NextMarker"]; - } if (output.LoadBalancers === "") { contents.LoadBalancers = []; } @@ -6089,23 +6086,26 @@ const deserializeAws_queryDescribeLoadBalancersOutput = ( context ); } + if (output["NextMarker"] !== undefined) { + contents.NextMarker = output["NextMarker"]; + } return contents; }; const deserializeAws_queryDescribeRulesOutput = (output: any, context: __SerdeContext): DescribeRulesOutput => { let contents: any = { - NextMarker: undefined, Rules: undefined, + NextMarker: undefined, }; - if (output["NextMarker"] !== undefined) { - contents.NextMarker = output["NextMarker"]; - } if (output.Rules === "") { contents.Rules = []; } if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) { contents.Rules = deserializeAws_queryRules(__getArrayIfSingleItem(output["Rules"]["member"]), context); } + if (output["NextMarker"] !== undefined) { + contents.NextMarker = output["NextMarker"]; + } return contents; }; @@ -6114,12 +6114,9 @@ const deserializeAws_queryDescribeSSLPoliciesOutput = ( context: __SerdeContext ): DescribeSSLPoliciesOutput => { let contents: any = { - NextMarker: undefined, SslPolicies: undefined, + NextMarker: undefined, }; - if (output["NextMarker"] !== undefined) { - contents.NextMarker = output["NextMarker"]; - } if (output.SslPolicies === "") { contents.SslPolicies = []; } @@ -6129,6 +6126,9 @@ const deserializeAws_queryDescribeSSLPoliciesOutput = ( context ); } + if (output["NextMarker"] !== undefined) { + contents.NextMarker = output["NextMarker"]; + } return contents; }; @@ -6266,19 +6266,19 @@ const deserializeAws_queryFixedResponseActionConfig = ( context: __SerdeContext ): FixedResponseActionConfig => { let contents: any = { - ContentType: undefined, MessageBody: undefined, StatusCode: undefined, + ContentType: undefined, }; - if (output["ContentType"] !== undefined) { - contents.ContentType = output["ContentType"]; - } if (output["MessageBody"] !== undefined) { contents.MessageBody = output["MessageBody"]; } if (output["StatusCode"] !== undefined) { contents.StatusCode = output["StatusCode"]; } + if (output["ContentType"] !== undefined) { + contents.ContentType = output["ContentType"]; + } return contents; }; @@ -6472,32 +6472,26 @@ const deserializeAws_queryLimits = (output: any, context: __SerdeContext): Limit const deserializeAws_queryListener = (output: any, context: __SerdeContext): Listener => { let contents: any = { - SslPolicy: undefined, - Protocol: undefined, - DefaultActions: undefined, ListenerArn: undefined, - Certificates: undefined, - AlpnPolicy: undefined, LoadBalancerArn: undefined, Port: undefined, + Protocol: undefined, + Certificates: undefined, + SslPolicy: undefined, + DefaultActions: undefined, + AlpnPolicy: undefined, }; - if (output["SslPolicy"] !== undefined) { - contents.SslPolicy = output["SslPolicy"]; - } - if (output["Protocol"] !== undefined) { - contents.Protocol = output["Protocol"]; + if (output["ListenerArn"] !== undefined) { + contents.ListenerArn = output["ListenerArn"]; } - if (output.DefaultActions === "") { - contents.DefaultActions = []; + if (output["LoadBalancerArn"] !== undefined) { + contents.LoadBalancerArn = output["LoadBalancerArn"]; } - if (output["DefaultActions"] !== undefined && output["DefaultActions"]["member"] !== undefined) { - contents.DefaultActions = deserializeAws_queryActions( - __getArrayIfSingleItem(output["DefaultActions"]["member"]), - context - ); + if (output["Port"] !== undefined) { + contents.Port = parseInt(output["Port"]); } - if (output["ListenerArn"] !== undefined) { - contents.ListenerArn = output["ListenerArn"]; + if (output["Protocol"] !== undefined) { + contents.Protocol = output["Protocol"]; } if (output.Certificates === "") { contents.Certificates = []; @@ -6508,6 +6502,18 @@ const deserializeAws_queryListener = (output: any, context: __SerdeContext): Lis context ); } + if (output["SslPolicy"] !== undefined) { + contents.SslPolicy = output["SslPolicy"]; + } + if (output.DefaultActions === "") { + contents.DefaultActions = []; + } + if (output["DefaultActions"] !== undefined && output["DefaultActions"]["member"] !== undefined) { + contents.DefaultActions = deserializeAws_queryActions( + __getArrayIfSingleItem(output["DefaultActions"]["member"]), + context + ); + } if (output.AlpnPolicy === "") { contents.AlpnPolicy = []; } @@ -6517,12 +6523,6 @@ const deserializeAws_queryListener = (output: any, context: __SerdeContext): Lis context ); } - if (output["LoadBalancerArn"] !== undefined) { - contents.LoadBalancerArn = output["LoadBalancerArn"]; - } - if (output["Port"] !== undefined) { - contents.Port = parseInt(output["Port"]); - } return contents; }; @@ -6549,40 +6549,46 @@ const deserializeAws_queryListOfString = (output: any, context: __SerdeContext): const deserializeAws_queryLoadBalancer = (output: any, context: __SerdeContext): LoadBalancer => { let contents: any = { - Type: undefined, - VpcId: undefined, LoadBalancerArn: undefined, - State: undefined, + DNSName: undefined, CanonicalHostedZoneId: undefined, - LoadBalancerName: undefined, - CustomerOwnedIpv4Pool: undefined, - AvailabilityZones: undefined, - SecurityGroups: undefined, CreatedTime: undefined, + LoadBalancerName: undefined, Scheme: undefined, - IpAddressType: undefined, - DNSName: undefined, - }; - if (output["Type"] !== undefined) { - contents.Type = output["Type"]; - } - if (output["VpcId"] !== undefined) { - contents.VpcId = output["VpcId"]; - } + VpcId: undefined, + State: undefined, + Type: undefined, + AvailabilityZones: undefined, + SecurityGroups: undefined, + IpAddressType: undefined, + CustomerOwnedIpv4Pool: undefined, + }; if (output["LoadBalancerArn"] !== undefined) { contents.LoadBalancerArn = output["LoadBalancerArn"]; } - if (output["State"] !== undefined) { - contents.State = deserializeAws_queryLoadBalancerState(output["State"], context); + if (output["DNSName"] !== undefined) { + contents.DNSName = output["DNSName"]; } if (output["CanonicalHostedZoneId"] !== undefined) { contents.CanonicalHostedZoneId = output["CanonicalHostedZoneId"]; } + if (output["CreatedTime"] !== undefined) { + contents.CreatedTime = new Date(output["CreatedTime"]); + } if (output["LoadBalancerName"] !== undefined) { contents.LoadBalancerName = output["LoadBalancerName"]; } - if (output["CustomerOwnedIpv4Pool"] !== undefined) { - contents.CustomerOwnedIpv4Pool = output["CustomerOwnedIpv4Pool"]; + if (output["Scheme"] !== undefined) { + contents.Scheme = output["Scheme"]; + } + if (output["VpcId"] !== undefined) { + contents.VpcId = output["VpcId"]; + } + if (output["State"] !== undefined) { + contents.State = deserializeAws_queryLoadBalancerState(output["State"], context); + } + if (output["Type"] !== undefined) { + contents.Type = output["Type"]; } if (output.AvailabilityZones === "") { contents.AvailabilityZones = []; @@ -6602,36 +6608,30 @@ const deserializeAws_queryLoadBalancer = (output: any, context: __SerdeContext): context ); } - if (output["CreatedTime"] !== undefined) { - contents.CreatedTime = new Date(output["CreatedTime"]); - } - if (output["Scheme"] !== undefined) { - contents.Scheme = output["Scheme"]; - } if (output["IpAddressType"] !== undefined) { contents.IpAddressType = output["IpAddressType"]; } - if (output["DNSName"] !== undefined) { - contents.DNSName = output["DNSName"]; + if (output["CustomerOwnedIpv4Pool"] !== undefined) { + contents.CustomerOwnedIpv4Pool = output["CustomerOwnedIpv4Pool"]; } return contents; }; const deserializeAws_queryLoadBalancerAddress = (output: any, context: __SerdeContext): LoadBalancerAddress => { let contents: any = { - PrivateIPv4Address: undefined, IpAddress: undefined, AllocationId: undefined, + PrivateIPv4Address: undefined, }; - if (output["PrivateIPv4Address"] !== undefined) { - contents.PrivateIPv4Address = output["PrivateIPv4Address"]; - } if (output["IpAddress"] !== undefined) { contents.IpAddress = output["IpAddress"]; } if (output["AllocationId"] !== undefined) { contents.AllocationId = output["AllocationId"]; } + if (output["PrivateIPv4Address"] !== undefined) { + contents.PrivateIPv4Address = output["PrivateIPv4Address"]; + } return contents; }; @@ -6645,15 +6645,15 @@ const deserializeAws_queryLoadBalancerArns = (output: any, context: __SerdeConte const deserializeAws_queryLoadBalancerAttribute = (output: any, context: __SerdeContext): LoadBalancerAttribute => { let contents: any = { - Value: undefined, Key: undefined, + Value: undefined, }; - if (output["Value"] !== undefined) { - contents.Value = output["Value"]; - } if (output["Key"] !== undefined) { contents.Key = output["Key"]; } + if (output["Value"] !== undefined) { + contents.Value = output["Value"]; + } return contents; }; @@ -6846,15 +6846,15 @@ const deserializeAws_queryQueryStringConditionConfig = ( const deserializeAws_queryQueryStringKeyValuePair = (output: any, context: __SerdeContext): QueryStringKeyValuePair => { let contents: any = { - Value: undefined, Key: undefined, + Value: undefined, }; - if (output["Value"] !== undefined) { - contents.Value = output["Value"]; - } if (output["Key"] !== undefined) { contents.Key = output["Key"]; } + if (output["Value"] !== undefined) { + contents.Value = output["Value"]; + } return contents; }; @@ -6867,30 +6867,30 @@ const deserializeAws_queryQueryStringKeyValuePairList = ( const deserializeAws_queryRedirectActionConfig = (output: any, context: __SerdeContext): RedirectActionConfig => { let contents: any = { - StatusCode: undefined, - Query: undefined, + Protocol: undefined, Port: undefined, - Path: undefined, Host: undefined, - Protocol: undefined, + Path: undefined, + Query: undefined, + StatusCode: undefined, }; - if (output["StatusCode"] !== undefined) { - contents.StatusCode = output["StatusCode"]; - } - if (output["Query"] !== undefined) { - contents.Query = output["Query"]; + if (output["Protocol"] !== undefined) { + contents.Protocol = output["Protocol"]; } if (output["Port"] !== undefined) { contents.Port = output["Port"]; } + if (output["Host"] !== undefined) { + contents.Host = output["Host"]; + } if (output["Path"] !== undefined) { contents.Path = output["Path"]; } - if (output["Host"] !== undefined) { - contents.Host = output["Host"]; + if (output["Query"] !== undefined) { + contents.Query = output["Query"]; } - if (output["Protocol"] !== undefined) { - contents.Protocol = output["Protocol"]; + if (output["StatusCode"] !== undefined) { + contents.StatusCode = output["StatusCode"]; } return contents; }; @@ -6926,16 +6926,16 @@ const deserializeAws_queryResourceInUseException = (output: any, context: __Serd const deserializeAws_queryRule = (output: any, context: __SerdeContext): Rule => { let contents: any = { RuleArn: undefined, - IsDefault: undefined, - Conditions: undefined, Priority: undefined, + Conditions: undefined, Actions: undefined, + IsDefault: undefined, }; if (output["RuleArn"] !== undefined) { contents.RuleArn = output["RuleArn"]; } - if (output["IsDefault"] !== undefined) { - contents.IsDefault = output["IsDefault"] == "true"; + if (output["Priority"] !== undefined) { + contents.Priority = output["Priority"]; } if (output.Conditions === "") { contents.Conditions = []; @@ -6946,37 +6946,49 @@ const deserializeAws_queryRule = (output: any, context: __SerdeContext): Rule => context ); } - if (output["Priority"] !== undefined) { - contents.Priority = output["Priority"]; - } if (output.Actions === "") { contents.Actions = []; } if (output["Actions"] !== undefined && output["Actions"]["member"] !== undefined) { contents.Actions = deserializeAws_queryActions(__getArrayIfSingleItem(output["Actions"]["member"]), context); } + if (output["IsDefault"] !== undefined) { + contents.IsDefault = output["IsDefault"] == "true"; + } return contents; }; const deserializeAws_queryRuleCondition = (output: any, context: __SerdeContext): RuleCondition => { let contents: any = { + Field: undefined, + Values: undefined, HostHeaderConfig: undefined, PathPatternConfig: undefined, - Field: undefined, - HttpRequestMethodConfig: undefined, - SourceIpConfig: undefined, HttpHeaderConfig: undefined, QueryStringConfig: undefined, - Values: undefined, + HttpRequestMethodConfig: undefined, + SourceIpConfig: undefined, }; + if (output["Field"] !== undefined) { + contents.Field = output["Field"]; + } + if (output.Values === "") { + contents.Values = []; + } + if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) { + contents.Values = deserializeAws_queryListOfString(__getArrayIfSingleItem(output["Values"]["member"]), context); + } if (output["HostHeaderConfig"] !== undefined) { contents.HostHeaderConfig = deserializeAws_queryHostHeaderConditionConfig(output["HostHeaderConfig"], context); } if (output["PathPatternConfig"] !== undefined) { contents.PathPatternConfig = deserializeAws_queryPathPatternConditionConfig(output["PathPatternConfig"], context); } - if (output["Field"] !== undefined) { - contents.Field = output["Field"]; + if (output["HttpHeaderConfig"] !== undefined) { + contents.HttpHeaderConfig = deserializeAws_queryHttpHeaderConditionConfig(output["HttpHeaderConfig"], context); + } + if (output["QueryStringConfig"] !== undefined) { + contents.QueryStringConfig = deserializeAws_queryQueryStringConditionConfig(output["QueryStringConfig"], context); } if (output["HttpRequestMethodConfig"] !== undefined) { contents.HttpRequestMethodConfig = deserializeAws_queryHttpRequestMethodConditionConfig( @@ -6987,18 +6999,6 @@ const deserializeAws_queryRuleCondition = (output: any, context: __SerdeContext) if (output["SourceIpConfig"] !== undefined) { contents.SourceIpConfig = deserializeAws_querySourceIpConditionConfig(output["SourceIpConfig"], context); } - if (output["HttpHeaderConfig"] !== undefined) { - contents.HttpHeaderConfig = deserializeAws_queryHttpHeaderConditionConfig(output["HttpHeaderConfig"], context); - } - if (output["QueryStringConfig"] !== undefined) { - contents.QueryStringConfig = deserializeAws_queryQueryStringConditionConfig(output["QueryStringConfig"], context); - } - if (output.Values === "") { - contents.Values = []; - } - if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) { - contents.Values = deserializeAws_queryListOfString(__getArrayIfSingleItem(output["Values"]["member"]), context); - } return contents; }; @@ -7098,13 +7098,10 @@ const deserializeAws_querySslPolicies = (output: any, context: __SerdeContext): const deserializeAws_querySslPolicy = (output: any, context: __SerdeContext): SslPolicy => { let contents: any = { - Name: undefined, SslProtocols: undefined, Ciphers: undefined, + Name: undefined, }; - if (output["Name"] !== undefined) { - contents.Name = output["Name"]; - } if (output.SslProtocols === "") { contents.SslProtocols = []; } @@ -7120,6 +7117,9 @@ const deserializeAws_querySslPolicy = (output: any, context: __SerdeContext): Ss if (output["Ciphers"] !== undefined && output["Ciphers"]["member"] !== undefined) { contents.Ciphers = deserializeAws_queryCiphers(__getArrayIfSingleItem(output["Ciphers"]["member"]), context); } + if (output["Name"] !== undefined) { + contents.Name = output["Name"]; + } return contents; }; @@ -7166,18 +7166,18 @@ const deserializeAws_queryTag = (output: any, context: __SerdeContext): Tag => { const deserializeAws_queryTagDescription = (output: any, context: __SerdeContext): TagDescription => { let contents: any = { - Tags: undefined, ResourceArn: undefined, + Tags: undefined, }; + if (output["ResourceArn"] !== undefined) { + contents.ResourceArn = output["ResourceArn"]; + } if (output.Tags === "") { contents.Tags = []; } if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) { contents.Tags = deserializeAws_queryTagList(__getArrayIfSingleItem(output["Tags"]["member"]), context); } - if (output["ResourceArn"] !== undefined) { - contents.ResourceArn = output["ResourceArn"]; - } return contents; }; @@ -7191,68 +7191,83 @@ const deserializeAws_queryTagList = (output: any, context: __SerdeContext): Tag[ const deserializeAws_queryTargetDescription = (output: any, context: __SerdeContext): TargetDescription => { let contents: any = { - AvailabilityZone: undefined, Id: undefined, Port: undefined, + AvailabilityZone: undefined, }; - if (output["AvailabilityZone"] !== undefined) { - contents.AvailabilityZone = output["AvailabilityZone"]; - } if (output["Id"] !== undefined) { contents.Id = output["Id"]; } if (output["Port"] !== undefined) { contents.Port = parseInt(output["Port"]); } + if (output["AvailabilityZone"] !== undefined) { + contents.AvailabilityZone = output["AvailabilityZone"]; + } return contents; }; const deserializeAws_queryTargetGroup = (output: any, context: __SerdeContext): TargetGroup => { let contents: any = { + TargetGroupArn: undefined, TargetGroupName: undefined, + Protocol: undefined, + Port: undefined, VpcId: undefined, - HealthCheckPort: undefined, - TargetType: undefined, HealthCheckProtocol: undefined, - HealthyThresholdCount: undefined, - Protocol: undefined, - TargetGroupArn: undefined, + HealthCheckPort: undefined, + HealthCheckEnabled: undefined, HealthCheckIntervalSeconds: undefined, - LoadBalancerArns: undefined, HealthCheckTimeoutSeconds: undefined, - HealthCheckPath: undefined, - Port: undefined, - ProtocolVersion: undefined, + HealthyThresholdCount: undefined, UnhealthyThresholdCount: undefined, - HealthCheckEnabled: undefined, + HealthCheckPath: undefined, Matcher: undefined, + LoadBalancerArns: undefined, + TargetType: undefined, + ProtocolVersion: undefined, }; + if (output["TargetGroupArn"] !== undefined) { + contents.TargetGroupArn = output["TargetGroupArn"]; + } if (output["TargetGroupName"] !== undefined) { contents.TargetGroupName = output["TargetGroupName"]; } + if (output["Protocol"] !== undefined) { + contents.Protocol = output["Protocol"]; + } + if (output["Port"] !== undefined) { + contents.Port = parseInt(output["Port"]); + } if (output["VpcId"] !== undefined) { contents.VpcId = output["VpcId"]; } + if (output["HealthCheckProtocol"] !== undefined) { + contents.HealthCheckProtocol = output["HealthCheckProtocol"]; + } if (output["HealthCheckPort"] !== undefined) { contents.HealthCheckPort = output["HealthCheckPort"]; } - if (output["TargetType"] !== undefined) { - contents.TargetType = output["TargetType"]; + if (output["HealthCheckEnabled"] !== undefined) { + contents.HealthCheckEnabled = output["HealthCheckEnabled"] == "true"; } - if (output["HealthCheckProtocol"] !== undefined) { - contents.HealthCheckProtocol = output["HealthCheckProtocol"]; + if (output["HealthCheckIntervalSeconds"] !== undefined) { + contents.HealthCheckIntervalSeconds = parseInt(output["HealthCheckIntervalSeconds"]); + } + if (output["HealthCheckTimeoutSeconds"] !== undefined) { + contents.HealthCheckTimeoutSeconds = parseInt(output["HealthCheckTimeoutSeconds"]); } if (output["HealthyThresholdCount"] !== undefined) { contents.HealthyThresholdCount = parseInt(output["HealthyThresholdCount"]); } - if (output["Protocol"] !== undefined) { - contents.Protocol = output["Protocol"]; + if (output["UnhealthyThresholdCount"] !== undefined) { + contents.UnhealthyThresholdCount = parseInt(output["UnhealthyThresholdCount"]); } - if (output["TargetGroupArn"] !== undefined) { - contents.TargetGroupArn = output["TargetGroupArn"]; + if (output["HealthCheckPath"] !== undefined) { + contents.HealthCheckPath = output["HealthCheckPath"]; } - if (output["HealthCheckIntervalSeconds"] !== undefined) { - contents.HealthCheckIntervalSeconds = parseInt(output["HealthCheckIntervalSeconds"]); + if (output["Matcher"] !== undefined) { + contents.Matcher = deserializeAws_queryMatcher(output["Matcher"], context); } if (output.LoadBalancerArns === "") { contents.LoadBalancerArns = []; @@ -7263,27 +7278,12 @@ const deserializeAws_queryTargetGroup = (output: any, context: __SerdeContext): context ); } - if (output["HealthCheckTimeoutSeconds"] !== undefined) { - contents.HealthCheckTimeoutSeconds = parseInt(output["HealthCheckTimeoutSeconds"]); - } - if (output["HealthCheckPath"] !== undefined) { - contents.HealthCheckPath = output["HealthCheckPath"]; - } - if (output["Port"] !== undefined) { - contents.Port = parseInt(output["Port"]); + if (output["TargetType"] !== undefined) { + contents.TargetType = output["TargetType"]; } if (output["ProtocolVersion"] !== undefined) { contents.ProtocolVersion = output["ProtocolVersion"]; } - if (output["UnhealthyThresholdCount"] !== undefined) { - contents.UnhealthyThresholdCount = parseInt(output["UnhealthyThresholdCount"]); - } - if (output["HealthCheckEnabled"] !== undefined) { - contents.HealthCheckEnabled = output["HealthCheckEnabled"] == "true"; - } - if (output["Matcher"] !== undefined) { - contents.Matcher = deserializeAws_queryMatcher(output["Matcher"], context); - } return contents; }; @@ -7372,36 +7372,36 @@ const deserializeAws_queryTargetGroupTuple = (output: any, context: __SerdeConte const deserializeAws_queryTargetHealth = (output: any, context: __SerdeContext): TargetHealth => { let contents: any = { - Description: undefined, - Reason: undefined, State: undefined, + Reason: undefined, + Description: undefined, }; - if (output["Description"] !== undefined) { - contents.Description = output["Description"]; + if (output["State"] !== undefined) { + contents.State = output["State"]; } if (output["Reason"] !== undefined) { contents.Reason = output["Reason"]; } - if (output["State"] !== undefined) { - contents.State = output["State"]; + if (output["Description"] !== undefined) { + contents.Description = output["Description"]; } return contents; }; const deserializeAws_queryTargetHealthDescription = (output: any, context: __SerdeContext): TargetHealthDescription => { let contents: any = { - TargetHealth: undefined, - HealthCheckPort: undefined, Target: undefined, + HealthCheckPort: undefined, + TargetHealth: undefined, }; - if (output["TargetHealth"] !== undefined) { - contents.TargetHealth = deserializeAws_queryTargetHealth(output["TargetHealth"], context); + if (output["Target"] !== undefined) { + contents.Target = deserializeAws_queryTargetDescription(output["Target"], context); } if (output["HealthCheckPort"] !== undefined) { contents.HealthCheckPort = output["HealthCheckPort"]; } - if (output["Target"] !== undefined) { - contents.Target = deserializeAws_queryTargetDescription(output["Target"], context); + if (output["TargetHealth"] !== undefined) { + contents.TargetHealth = deserializeAws_queryTargetHealth(output["TargetHealth"], context); } return contents; }; diff --git a/clients/client-elastic-load-balancing/pagination/DescribeLoadBalancersPaginator.ts b/clients/client-elastic-load-balancing/pagination/DescribeLoadBalancersPaginator.ts index cc91d801870d..337a1985e807 100644 --- a/clients/client-elastic-load-balancing/pagination/DescribeLoadBalancersPaginator.ts +++ b/clients/client-elastic-load-balancing/pagination/DescribeLoadBalancersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLoadBalancersCommand(input), ...args); + return await client.send(new DescribeLoadBalancersCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticLoadBalancing, diff --git a/clients/client-elastic-transcoder/pagination/ListJobsByPipelinePaginator.ts b/clients/client-elastic-transcoder/pagination/ListJobsByPipelinePaginator.ts index 8dc5407ea76f..87f1131a5005 100644 --- a/clients/client-elastic-transcoder/pagination/ListJobsByPipelinePaginator.ts +++ b/clients/client-elastic-transcoder/pagination/ListJobsByPipelinePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsByPipelineCommand(input), ...args); + return await client.send(new ListJobsByPipelineCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticTranscoder, diff --git a/clients/client-elastic-transcoder/pagination/ListJobsByStatusPaginator.ts b/clients/client-elastic-transcoder/pagination/ListJobsByStatusPaginator.ts index 80ead62bf560..625700d39aca 100644 --- a/clients/client-elastic-transcoder/pagination/ListJobsByStatusPaginator.ts +++ b/clients/client-elastic-transcoder/pagination/ListJobsByStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsByStatusCommand(input), ...args); + return await client.send(new ListJobsByStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticTranscoder, diff --git a/clients/client-elastic-transcoder/pagination/ListPipelinesPaginator.ts b/clients/client-elastic-transcoder/pagination/ListPipelinesPaginator.ts index 2ef0f9095676..d9050e59c31d 100644 --- a/clients/client-elastic-transcoder/pagination/ListPipelinesPaginator.ts +++ b/clients/client-elastic-transcoder/pagination/ListPipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelinesCommand(input), ...args); + return await client.send(new ListPipelinesCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticTranscoder, diff --git a/clients/client-elastic-transcoder/pagination/ListPresetsPaginator.ts b/clients/client-elastic-transcoder/pagination/ListPresetsPaginator.ts index eaafea0a9bf2..adaa8ce3fd0b 100644 --- a/clients/client-elastic-transcoder/pagination/ListPresetsPaginator.ts +++ b/clients/client-elastic-transcoder/pagination/ListPresetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPresetsCommand(input), ...args); + return await client.send(new ListPresetsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticTranscoder, diff --git a/clients/client-elasticache/pagination/DescribeCacheClustersPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheClustersPaginator.ts index 122e7950e5a6..e7717ec47319 100644 --- a/clients/client-elasticache/pagination/DescribeCacheClustersPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheClustersCommand(input), ...args); + return await client.send(new DescribeCacheClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheEngineVersionsPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheEngineVersionsPaginator.ts index ee998d3d6dcb..e5c69742fc56 100644 --- a/clients/client-elasticache/pagination/DescribeCacheEngineVersionsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheEngineVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheEngineVersionsCommand(input), ...args); + return await client.send(new DescribeCacheEngineVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheParameterGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheParameterGroupsPaginator.ts index d30eabd708e4..3d020ee77544 100644 --- a/clients/client-elasticache/pagination/DescribeCacheParameterGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheParameterGroupsCommand(input), ...args); + return await client.send(new DescribeCacheParameterGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheParametersPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheParametersPaginator.ts index 31895d44d754..ed2e4c80caa4 100644 --- a/clients/client-elasticache/pagination/DescribeCacheParametersPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheParametersCommand(input), ...args); + return await client.send(new DescribeCacheParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheSecurityGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheSecurityGroupsPaginator.ts index e2e005770d85..cb302ee93e19 100644 --- a/clients/client-elasticache/pagination/DescribeCacheSecurityGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheSecurityGroupsCommand(input), ...args); + return await client.send(new DescribeCacheSecurityGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheSubnetGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheSubnetGroupsPaginator.ts index c6b842c64144..594ccbb2f78d 100644 --- a/clients/client-elasticache/pagination/DescribeCacheSubnetGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheSubnetGroupsCommand(input), ...args); + return await client.send(new DescribeCacheSubnetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeEngineDefaultParametersPaginator.ts b/clients/client-elasticache/pagination/DescribeEngineDefaultParametersPaginator.ts index e37881d9484f..c8278bbb83e1 100644 --- a/clients/client-elasticache/pagination/DescribeEngineDefaultParametersPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeEngineDefaultParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args); + return await client.send(new DescribeEngineDefaultParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeEventsPaginator.ts b/clients/client-elasticache/pagination/DescribeEventsPaginator.ts index a2d33774e47a..ae47e7919bc6 100644 --- a/clients/client-elasticache/pagination/DescribeEventsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input), ...args); + return await client.send(new DescribeEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeGlobalReplicationGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeGlobalReplicationGroupsPaginator.ts index 059beab4dc8d..03247f0e964b 100644 --- a/clients/client-elasticache/pagination/DescribeGlobalReplicationGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeGlobalReplicationGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGlobalReplicationGroupsCommand(input), ...args); + return await client.send(new DescribeGlobalReplicationGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeReplicationGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeReplicationGroupsPaginator.ts index 1b6461b81154..eac8c9025200 100644 --- a/clients/client-elasticache/pagination/DescribeReplicationGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeReplicationGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationGroupsCommand(input), ...args); + return await client.send(new DescribeReplicationGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts b/clients/client-elasticache/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts index 2a1a97d33790..cad7840d5a48 100644 --- a/clients/client-elasticache/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedCacheNodesOfferingsCommand(input), ...args); + return await client.send(new DescribeReservedCacheNodesOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeReservedCacheNodesPaginator.ts b/clients/client-elasticache/pagination/DescribeReservedCacheNodesPaginator.ts index 1be4e9b0d247..ef0fd7150cf6 100644 --- a/clients/client-elasticache/pagination/DescribeReservedCacheNodesPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeReservedCacheNodesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedCacheNodesCommand(input), ...args); + return await client.send(new DescribeReservedCacheNodesCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeServiceUpdatesPaginator.ts b/clients/client-elasticache/pagination/DescribeServiceUpdatesPaginator.ts index 83bd15b07f45..4963ad0ab113 100644 --- a/clients/client-elasticache/pagination/DescribeServiceUpdatesPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeServiceUpdatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeServiceUpdatesCommand(input), ...args); + return await client.send(new DescribeServiceUpdatesCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeSnapshotsPaginator.ts b/clients/client-elasticache/pagination/DescribeSnapshotsPaginator.ts index d79616375dc3..e83215c7cbc2 100644 --- a/clients/client-elasticache/pagination/DescribeSnapshotsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSnapshotsCommand(input), ...args); + return await client.send(new DescribeSnapshotsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeUpdateActionsPaginator.ts b/clients/client-elasticache/pagination/DescribeUpdateActionsPaginator.ts index a42ed7ea9af9..360d91ce041d 100644 --- a/clients/client-elasticache/pagination/DescribeUpdateActionsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeUpdateActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUpdateActionsCommand(input), ...args); + return await client.send(new DescribeUpdateActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeUserGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeUserGroupsPaginator.ts index c8f131161f6d..a85528182b61 100644 --- a/clients/client-elasticache/pagination/DescribeUserGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeUserGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUserGroupsCommand(input), ...args); + return await client.send(new DescribeUserGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeUsersPaginator.ts b/clients/client-elasticache/pagination/DescribeUsersPaginator.ts index ce355a93458f..caf445511687 100644 --- a/clients/client-elasticache/pagination/DescribeUsersPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeUsersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUsersCommand(input), ...args); + return await client.send(new DescribeUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticsearch-service/ElasticsearchService.ts b/clients/client-elasticsearch-service/ElasticsearchService.ts index 0228de9b7951..6082449d6966 100644 --- a/clients/client-elasticsearch-service/ElasticsearchService.ts +++ b/clients/client-elasticsearch-service/ElasticsearchService.ts @@ -110,6 +110,11 @@ import { GetCompatibleElasticsearchVersionsCommandInput, GetCompatibleElasticsearchVersionsCommandOutput, } from "./commands/GetCompatibleElasticsearchVersionsCommand"; +import { + GetPackageVersionHistoryCommand, + GetPackageVersionHistoryCommandInput, + GetPackageVersionHistoryCommandOutput, +} from "./commands/GetPackageVersionHistoryCommand"; import { GetUpgradeHistoryCommand, GetUpgradeHistoryCommandInput, @@ -167,6 +172,11 @@ import { UpdateElasticsearchDomainConfigCommandInput, UpdateElasticsearchDomainConfigCommandOutput, } from "./commands/UpdateElasticsearchDomainConfigCommand"; +import { + UpdatePackageCommand, + UpdatePackageCommandInput, + UpdatePackageCommandOutput, +} from "./commands/UpdatePackageCommand"; import { UpgradeElasticsearchDomainCommand, UpgradeElasticsearchDomainCommandInput, @@ -950,6 +960,38 @@ export class ElasticsearchService extends ElasticsearchServiceClient { } } + /** + *

                                                                                    Returns a list of versions of the package, along with their creation time and commit message.

                                                                                    + */ + public getPackageVersionHistory( + args: GetPackageVersionHistoryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getPackageVersionHistory( + args: GetPackageVersionHistoryCommandInput, + cb: (err: any, data?: GetPackageVersionHistoryCommandOutput) => void + ): void; + public getPackageVersionHistory( + args: GetPackageVersionHistoryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetPackageVersionHistoryCommandOutput) => void + ): void; + public getPackageVersionHistory( + args: GetPackageVersionHistoryCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPackageVersionHistoryCommandOutput) => void), + cb?: (err: any, data?: GetPackageVersionHistoryCommandOutput) => void + ): Promise | void { + const command = new GetPackageVersionHistoryCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                                                                                    Retrieves the complete history of the last 10 upgrades that were performed on the domain.

                                                                                    */ @@ -1360,6 +1402,38 @@ export class ElasticsearchService extends ElasticsearchServiceClient { } } + /** + *

                                                                                    Updates a package for use with Amazon ES domains.

                                                                                    + */ + public updatePackage( + args: UpdatePackageCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updatePackage( + args: UpdatePackageCommandInput, + cb: (err: any, data?: UpdatePackageCommandOutput) => void + ): void; + public updatePackage( + args: UpdatePackageCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdatePackageCommandOutput) => void + ): void; + public updatePackage( + args: UpdatePackageCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdatePackageCommandOutput) => void), + cb?: (err: any, data?: UpdatePackageCommandOutput) => void + ): Promise | void { + const command = new UpdatePackageCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                                                                                    Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.

                                                                                    */ diff --git a/clients/client-elasticsearch-service/ElasticsearchServiceClient.ts b/clients/client-elasticsearch-service/ElasticsearchServiceClient.ts index 24d0cb5da366..1ffd5e66ffc7 100644 --- a/clients/client-elasticsearch-service/ElasticsearchServiceClient.ts +++ b/clients/client-elasticsearch-service/ElasticsearchServiceClient.ts @@ -72,6 +72,10 @@ import { GetCompatibleElasticsearchVersionsCommandInput, GetCompatibleElasticsearchVersionsCommandOutput, } from "./commands/GetCompatibleElasticsearchVersionsCommand"; +import { + GetPackageVersionHistoryCommandInput, + GetPackageVersionHistoryCommandOutput, +} from "./commands/GetPackageVersionHistoryCommand"; import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "./commands/GetUpgradeHistoryCommand"; import { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "./commands/GetUpgradeStatusCommand"; import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand"; @@ -109,6 +113,7 @@ import { UpdateElasticsearchDomainConfigCommandInput, UpdateElasticsearchDomainConfigCommandOutput, } from "./commands/UpdateElasticsearchDomainConfigCommand"; +import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand"; import { UpgradeElasticsearchDomainCommandInput, UpgradeElasticsearchDomainCommandOutput, @@ -186,6 +191,7 @@ export type ServiceInputTypes = | DescribeReservedElasticsearchInstancesCommandInput | DissociatePackageCommandInput | GetCompatibleElasticsearchVersionsCommandInput + | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput @@ -199,6 +205,7 @@ export type ServiceInputTypes = | RemoveTagsCommandInput | StartElasticsearchServiceSoftwareUpdateCommandInput | UpdateElasticsearchDomainConfigCommandInput + | UpdatePackageCommandInput | UpgradeElasticsearchDomainCommandInput; export type ServiceOutputTypes = @@ -225,6 +232,7 @@ export type ServiceOutputTypes = | DescribeReservedElasticsearchInstancesCommandOutput | DissociatePackageCommandOutput | GetCompatibleElasticsearchVersionsCommandOutput + | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput @@ -238,6 +246,7 @@ export type ServiceOutputTypes = | RemoveTagsCommandOutput | StartElasticsearchServiceSoftwareUpdateCommandOutput | UpdateElasticsearchDomainConfigCommandOutput + | UpdatePackageCommandOutput | UpgradeElasticsearchDomainCommandOutput; export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { diff --git a/clients/client-elasticsearch-service/commands/GetPackageVersionHistoryCommand.ts b/clients/client-elasticsearch-service/commands/GetPackageVersionHistoryCommand.ts new file mode 100644 index 000000000000..cb00237fe48d --- /dev/null +++ b/clients/client-elasticsearch-service/commands/GetPackageVersionHistoryCommand.ts @@ -0,0 +1,86 @@ +import { + ElasticsearchServiceClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ElasticsearchServiceClient"; +import { GetPackageVersionHistoryRequest, GetPackageVersionHistoryResponse } from "../models/models_0"; +import { + deserializeAws_restJson1GetPackageVersionHistoryCommand, + serializeAws_restJson1GetPackageVersionHistoryCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetPackageVersionHistoryCommandInput = GetPackageVersionHistoryRequest; +export type GetPackageVersionHistoryCommandOutput = GetPackageVersionHistoryResponse & __MetadataBearer; + +export class GetPackageVersionHistoryCommand extends $Command< + GetPackageVersionHistoryCommandInput, + GetPackageVersionHistoryCommandOutput, + ElasticsearchServiceClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetPackageVersionHistoryCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ElasticsearchServiceClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ElasticsearchServiceClient"; + const commandName = "GetPackageVersionHistoryCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetPackageVersionHistoryRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetPackageVersionHistoryResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetPackageVersionHistoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1GetPackageVersionHistoryCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1GetPackageVersionHistoryCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-elasticsearch-service/commands/UpdatePackageCommand.ts b/clients/client-elasticsearch-service/commands/UpdatePackageCommand.ts new file mode 100644 index 000000000000..56982bf5ad75 --- /dev/null +++ b/clients/client-elasticsearch-service/commands/UpdatePackageCommand.ts @@ -0,0 +1,86 @@ +import { + ElasticsearchServiceClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ElasticsearchServiceClient"; +import { UpdatePackageRequest, UpdatePackageResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdatePackageCommand, + serializeAws_restJson1UpdatePackageCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdatePackageCommandInput = UpdatePackageRequest; +export type UpdatePackageCommandOutput = UpdatePackageResponse & __MetadataBearer; + +export class UpdatePackageCommand extends $Command< + UpdatePackageCommandInput, + UpdatePackageCommandOutput, + ElasticsearchServiceClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdatePackageCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ElasticsearchServiceClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ElasticsearchServiceClient"; + const commandName = "UpdatePackageCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdatePackageRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdatePackageResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdatePackageCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdatePackageCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdatePackageCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-elasticsearch-service/index.ts b/clients/client-elasticsearch-service/index.ts index 5a440ebc0594..1a30eb537362 100644 --- a/clients/client-elasticsearch-service/index.ts +++ b/clients/client-elasticsearch-service/index.ts @@ -28,6 +28,8 @@ export * from "./commands/DescribeReservedElasticsearchInstancesCommand"; export * from "./pagination/DescribeReservedElasticsearchInstancesPaginator"; export * from "./commands/DissociatePackageCommand"; export * from "./commands/GetCompatibleElasticsearchVersionsCommand"; +export * from "./commands/GetPackageVersionHistoryCommand"; +export * from "./pagination/GetPackageVersionHistoryPaginator"; export * from "./commands/GetUpgradeHistoryCommand"; export * from "./pagination/GetUpgradeHistoryPaginator"; export * from "./commands/GetUpgradeStatusCommand"; @@ -46,6 +48,7 @@ export * from "./commands/RejectInboundCrossClusterSearchConnectionCommand"; export * from "./commands/RemoveTagsCommand"; export * from "./commands/StartElasticsearchServiceSoftwareUpdateCommand"; export * from "./commands/UpdateElasticsearchDomainConfigCommand"; +export * from "./commands/UpdatePackageCommand"; export * from "./commands/UpgradeElasticsearchDomainCommand"; export * from "./pagination/Interfaces"; export * from "./models/index"; diff --git a/clients/client-elasticsearch-service/models/models_0.ts b/clients/client-elasticsearch-service/models/models_0.ts index eaa08a95a30d..f83420e37c48 100644 --- a/clients/client-elasticsearch-service/models/models_0.ts +++ b/clients/client-elasticsearch-service/models/models_0.ts @@ -725,6 +725,7 @@ export interface DomainPackageDetails { */ DomainPackageStatus?: DomainPackageStatus | string; + PackageVersion?: string; /** *

                                                                                    The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.

                                                                                    */ @@ -1714,6 +1715,8 @@ export interface PackageDetails { */ CreatedAt?: Date; + LastUpdatedAt?: Date; + AvailablePackageVersion?: string; /** *

                                                                                    Additional information if the package is in an error state. Null otherwise.

                                                                                    */ @@ -3202,6 +3205,89 @@ export namespace GetCompatibleElasticsearchVersionsResponse { }); } +/** + *

                                                                                    + * Container for request parameters to + * + * GetPackageVersionHistory + * + * operation. + *

                                                                                    + */ +export interface GetPackageVersionHistoryRequest { + /** + *

                                                                                    Returns an audit history of versions of the package.

                                                                                    + */ + PackageID: string | undefined; + + /** + *

                                                                                    Limits results to a maximum number of versions.

                                                                                    + */ + MaxResults?: number; + + /** + *

                                                                                    Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

                                                                                    + */ + NextToken?: string; +} + +export namespace GetPackageVersionHistoryRequest { + export const filterSensitiveLog = (obj: GetPackageVersionHistoryRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    Details of a package version.

                                                                                    + */ +export interface PackageVersionHistory { + /** + *

                                                                                    Version of the package.

                                                                                    + */ + PackageVersion?: string; + + /** + *

                                                                                    A message associated with the version.

                                                                                    + */ + CommitMessage?: string; + + /** + *

                                                                                    Timestamp which tells creation time of the package version.

                                                                                    + */ + CreatedAt?: Date; +} + +export namespace PackageVersionHistory { + export const filterSensitiveLog = (obj: PackageVersionHistory): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    + * Container for response returned by + * + * GetPackageVersionHistory + * + * operation. + *

                                                                                    + */ +export interface GetPackageVersionHistoryResponse { + PackageID?: string; + /** + *

                                                                                    List of PackageVersionHistory objects.

                                                                                    + */ + PackageVersionHistoryList?: PackageVersionHistory[]; + + NextToken?: string; +} + +export namespace GetPackageVersionHistoryResponse { + export const filterSensitiveLog = (obj: GetPackageVersionHistoryResponse): any => ({ + ...obj, + }); +} + /** *

                                                                                    * Container for request parameters to @@ -4000,6 +4086,65 @@ export namespace UpdateElasticsearchDomainConfigResponse { }); } +/** + *

                                                                                    + * Container for request parameters to + * + * UpdatePackage + * + * operation. + *

                                                                                    + */ +export interface UpdatePackageRequest { + /** + *

                                                                                    Unique identifier for the package.

                                                                                    + */ + PackageID: string | undefined; + + /** + *

                                                                                    The S3 location for importing the package specified as S3BucketName and S3Key

                                                                                    + */ + PackageSource: PackageSource | undefined; + + /** + *

                                                                                    New description of the package.

                                                                                    + */ + PackageDescription?: string; + + /** + *

                                                                                    An info message for the new version which will be shown as part of GetPackageVersionHistoryResponse.

                                                                                    + */ + CommitMessage?: string; +} + +export namespace UpdatePackageRequest { + export const filterSensitiveLog = (obj: UpdatePackageRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    + * Container for response returned by + * + * UpdatePackage + * + * operation. + *

                                                                                    + */ +export interface UpdatePackageResponse { + /** + *

                                                                                    Information about the package PackageDetails.

                                                                                    + */ + PackageDetails?: PackageDetails; +} + +export namespace UpdatePackageResponse { + export const filterSensitiveLog = (obj: UpdatePackageResponse): any => ({ + ...obj, + }); +} + /** *

                                                                                    * Container for request parameters to diff --git a/clients/client-elasticsearch-service/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.ts index a15af66d4578..531d25048f1b 100644 --- a/clients/client-elasticsearch-service/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInboundCrossClusterSearchConnectionsCommand(input), ...args); + return await client.send(new DescribeInboundCrossClusterSearchConnectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.ts index 04fb0a80e064..c9867b0aa3f1 100644 --- a/clients/client-elasticsearch-service/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOutboundCrossClusterSearchConnectionsCommand(input), ...args); + return await client.send(new DescribeOutboundCrossClusterSearchConnectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/DescribePackagesPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribePackagesPaginator.ts index 324137f32910..c2813c5679a9 100644 --- a/clients/client-elasticsearch-service/pagination/DescribePackagesPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribePackagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePackagesCommand(input), ...args); + return await client.send(new DescribePackagesCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.ts index 5aa607d85d33..7b15924b2d1e 100644 --- a/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedElasticsearchInstanceOfferingsCommand(input), ...args); + return await client.send(new DescribeReservedElasticsearchInstanceOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstancesPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstancesPaginator.ts index b86eca935a8c..70579b6e9e7b 100644 --- a/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstancesPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedElasticsearchInstancesCommand(input), ...args); + return await client.send(new DescribeReservedElasticsearchInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/GetPackageVersionHistoryPaginator.ts b/clients/client-elasticsearch-service/pagination/GetPackageVersionHistoryPaginator.ts new file mode 100644 index 000000000000..35266c43bbd8 --- /dev/null +++ b/clients/client-elasticsearch-service/pagination/GetPackageVersionHistoryPaginator.ts @@ -0,0 +1,51 @@ +import { ElasticsearchService } from "../ElasticsearchService"; +import { ElasticsearchServiceClient } from "../ElasticsearchServiceClient"; +import { + GetPackageVersionHistoryCommand, + GetPackageVersionHistoryCommandInput, + GetPackageVersionHistoryCommandOutput, +} from "../commands/GetPackageVersionHistoryCommand"; +import { ElasticsearchServicePaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: ElasticsearchServiceClient, + input: GetPackageVersionHistoryCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new GetPackageVersionHistoryCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: ElasticsearchService, + input: GetPackageVersionHistoryCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.getPackageVersionHistory(input, ...args); +}; +export async function* getPackageVersionHistoryPaginate( + config: ElasticsearchServicePaginationConfiguration, + input: GetPackageVersionHistoryCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: GetPackageVersionHistoryCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof ElasticsearchService) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ElasticsearchServiceClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected ElasticsearchService | ElasticsearchServiceClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-elasticsearch-service/pagination/GetUpgradeHistoryPaginator.ts b/clients/client-elasticsearch-service/pagination/GetUpgradeHistoryPaginator.ts index 09c8ea869421..86059acabcb8 100644 --- a/clients/client-elasticsearch-service/pagination/GetUpgradeHistoryPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/GetUpgradeHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUpgradeHistoryCommand(input), ...args); + return await client.send(new GetUpgradeHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/ListDomainsForPackagePaginator.ts b/clients/client-elasticsearch-service/pagination/ListDomainsForPackagePaginator.ts index cd2fa373a0d8..f715ba55cac1 100644 --- a/clients/client-elasticsearch-service/pagination/ListDomainsForPackagePaginator.ts +++ b/clients/client-elasticsearch-service/pagination/ListDomainsForPackagePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsForPackageCommand(input), ...args); + return await client.send(new ListDomainsForPackageCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/ListElasticsearchInstanceTypesPaginator.ts b/clients/client-elasticsearch-service/pagination/ListElasticsearchInstanceTypesPaginator.ts index 44c9b71a6adf..fdda45361183 100644 --- a/clients/client-elasticsearch-service/pagination/ListElasticsearchInstanceTypesPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/ListElasticsearchInstanceTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListElasticsearchInstanceTypesCommand(input), ...args); + return await client.send(new ListElasticsearchInstanceTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/ListElasticsearchVersionsPaginator.ts b/clients/client-elasticsearch-service/pagination/ListElasticsearchVersionsPaginator.ts index c5611935b024..0b70cf51041e 100644 --- a/clients/client-elasticsearch-service/pagination/ListElasticsearchVersionsPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/ListElasticsearchVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListElasticsearchVersionsCommand(input), ...args); + return await client.send(new ListElasticsearchVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/ListPackagesForDomainPaginator.ts b/clients/client-elasticsearch-service/pagination/ListPackagesForDomainPaginator.ts index 2bc2f48726d4..b276b66a3b82 100644 --- a/clients/client-elasticsearch-service/pagination/ListPackagesForDomainPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/ListPackagesForDomainPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackagesForDomainCommand(input), ...args); + return await client.send(new ListPackagesForDomainCommand(input, ...args)); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/protocols/Aws_restJson1.ts b/clients/client-elasticsearch-service/protocols/Aws_restJson1.ts index 8a423263a1bc..f272f30c5b61 100644 --- a/clients/client-elasticsearch-service/protocols/Aws_restJson1.ts +++ b/clients/client-elasticsearch-service/protocols/Aws_restJson1.ts @@ -72,6 +72,10 @@ import { GetCompatibleElasticsearchVersionsCommandInput, GetCompatibleElasticsearchVersionsCommandOutput, } from "../commands/GetCompatibleElasticsearchVersionsCommand"; +import { + GetPackageVersionHistoryCommandInput, + GetPackageVersionHistoryCommandOutput, +} from "../commands/GetPackageVersionHistoryCommand"; import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "../commands/GetUpgradeHistoryCommand"; import { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "../commands/GetUpgradeStatusCommand"; import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "../commands/ListDomainNamesCommand"; @@ -109,6 +113,7 @@ import { UpdateElasticsearchDomainConfigCommandInput, UpdateElasticsearchDomainConfigCommandOutput, } from "../commands/UpdateElasticsearchDomainConfigCommand"; +import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "../commands/UpdatePackageCommand"; import { UpgradeElasticsearchDomainCommandInput, UpgradeElasticsearchDomainCommandOutput, @@ -165,6 +170,7 @@ import { OutboundCrossClusterSearchConnectionStatus, PackageDetails, PackageSource, + PackageVersionHistory, RecurringCharge, ReservedElasticsearchInstance, ReservedElasticsearchInstanceOffering, @@ -913,6 +919,41 @@ export const serializeAws_restJson1GetCompatibleElasticsearchVersionsCommand = a }); }; +export const serializeAws_restJson1GetPackageVersionHistoryCommand = async ( + input: GetPackageVersionHistoryCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/2015-01-01/packages/{PackageID}/history"; + if (input.PackageID !== undefined) { + const labelValue: string = input.PackageID; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: PackageID."); + } + resolvedPath = resolvedPath.replace("{PackageID}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: PackageID."); + } + const query: any = { + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + export const serializeAws_restJson1GetUpgradeHistoryCommand = async ( input: GetUpgradeHistoryCommandInput, context: __SerdeContext @@ -1326,6 +1367,35 @@ export const serializeAws_restJson1UpdateElasticsearchDomainConfigCommand = asyn }); }; +export const serializeAws_restJson1UpdatePackageCommand = async ( + input: UpdatePackageCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/2015-01-01/packages/update"; + let body: any; + body = JSON.stringify({ + ...(input.CommitMessage !== undefined && { CommitMessage: input.CommitMessage }), + ...(input.PackageDescription !== undefined && { PackageDescription: input.PackageDescription }), + ...(input.PackageID !== undefined && { PackageID: input.PackageID }), + ...(input.PackageSource !== undefined && { + PackageSource: serializeAws_restJson1PackageSource(input.PackageSource, context), + }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1UpgradeElasticsearchDomainCommand = async ( input: UpgradeElasticsearchDomainCommandInput, context: __SerdeContext @@ -3270,6 +3340,104 @@ const deserializeAws_restJson1GetCompatibleElasticsearchVersionsCommandError = a return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1GetPackageVersionHistoryCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1GetPackageVersionHistoryCommandError(output, context); + } + const contents: GetPackageVersionHistoryCommandOutput = { + $metadata: deserializeMetadata(output), + NextToken: undefined, + PackageID: undefined, + PackageVersionHistoryList: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.NextToken !== undefined && data.NextToken !== null) { + contents.NextToken = data.NextToken; + } + if (data.PackageID !== undefined && data.PackageID !== null) { + contents.PackageID = data.PackageID; + } + if (data.PackageVersionHistoryList !== undefined && data.PackageVersionHistoryList !== null) { + contents.PackageVersionHistoryList = deserializeAws_restJson1PackageVersionHistoryList( + data.PackageVersionHistoryList, + context + ); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1GetPackageVersionHistoryCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.elasticsearchservice#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "BaseException": + case "com.amazonaws.elasticsearchservice#BaseException": + response = { + ...(await deserializeAws_restJson1BaseExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalException": + case "com.amazonaws.elasticsearchservice#InternalException": + response = { + ...(await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.elasticsearchservice#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.elasticsearchservice#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1GetUpgradeHistoryCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -4367,6 +4535,101 @@ const deserializeAws_restJson1UpdateElasticsearchDomainConfigCommandError = asyn return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1UpdatePackageCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdatePackageCommandError(output, context); + } + const contents: UpdatePackageCommandOutput = { + $metadata: deserializeMetadata(output), + PackageDetails: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.PackageDetails !== undefined && data.PackageDetails !== null) { + contents.PackageDetails = deserializeAws_restJson1PackageDetails(data.PackageDetails, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdatePackageCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.elasticsearchservice#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "BaseException": + case "com.amazonaws.elasticsearchservice#BaseException": + response = { + ...(await deserializeAws_restJson1BaseExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalException": + case "com.amazonaws.elasticsearchservice#InternalException": + response = { + ...(await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "LimitExceededException": + case "com.amazonaws.elasticsearchservice#LimitExceededException": + response = { + ...(await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.elasticsearchservice#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.elasticsearchservice#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1UpgradeElasticsearchDomainCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -5088,6 +5351,8 @@ const deserializeAws_restJson1DomainPackageDetails = (output: any, context: __Se PackageID: output.PackageID !== undefined && output.PackageID !== null ? output.PackageID : undefined, PackageName: output.PackageName !== undefined && output.PackageName !== null ? output.PackageName : undefined, PackageType: output.PackageType !== undefined && output.PackageType !== null ? output.PackageType : undefined, + PackageVersion: + output.PackageVersion !== undefined && output.PackageVersion !== null ? output.PackageVersion : undefined, ReferencePath: output.ReferencePath !== undefined && output.ReferencePath !== null ? output.ReferencePath : undefined, } as any; @@ -5612,6 +5877,10 @@ const deserializeAws_restJson1OutboundCrossClusterSearchConnectionStatus = ( const deserializeAws_restJson1PackageDetails = (output: any, context: __SerdeContext): PackageDetails => { return { + AvailablePackageVersion: + output.AvailablePackageVersion !== undefined && output.AvailablePackageVersion !== null + ? output.AvailablePackageVersion + : undefined, CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null ? new Date(Math.round(output.CreatedAt * 1000)) @@ -5620,6 +5889,10 @@ const deserializeAws_restJson1PackageDetails = (output: any, context: __SerdeCon output.ErrorDetails !== undefined && output.ErrorDetails !== null ? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context) : undefined, + LastUpdatedAt: + output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null + ? new Date(Math.round(output.LastUpdatedAt * 1000)) + : undefined, PackageDescription: output.PackageDescription !== undefined && output.PackageDescription !== null ? output.PackageDescription @@ -5636,6 +5909,26 @@ const deserializeAws_restJson1PackageDetailsList = (output: any, context: __Serd return (output || []).map((entry: any) => deserializeAws_restJson1PackageDetails(entry, context)); }; +const deserializeAws_restJson1PackageVersionHistory = (output: any, context: __SerdeContext): PackageVersionHistory => { + return { + CommitMessage: + output.CommitMessage !== undefined && output.CommitMessage !== null ? output.CommitMessage : undefined, + CreatedAt: + output.CreatedAt !== undefined && output.CreatedAt !== null + ? new Date(Math.round(output.CreatedAt * 1000)) + : undefined, + PackageVersion: + output.PackageVersion !== undefined && output.PackageVersion !== null ? output.PackageVersion : undefined, + } as any; +}; + +const deserializeAws_restJson1PackageVersionHistoryList = ( + output: any, + context: __SerdeContext +): PackageVersionHistory[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1PackageVersionHistory(entry, context)); +}; + const deserializeAws_restJson1RecurringCharge = (output: any, context: __SerdeContext): RecurringCharge => { return { RecurringChargeAmount: diff --git a/clients/client-emr/pagination/ListBootstrapActionsPaginator.ts b/clients/client-emr/pagination/ListBootstrapActionsPaginator.ts index 13af6f340da8..05cf976224cd 100644 --- a/clients/client-emr/pagination/ListBootstrapActionsPaginator.ts +++ b/clients/client-emr/pagination/ListBootstrapActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBootstrapActionsCommand(input), ...args); + return await client.send(new ListBootstrapActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListClustersPaginator.ts b/clients/client-emr/pagination/ListClustersPaginator.ts index 2c30a4b41a11..d80da8e96d6d 100644 --- a/clients/client-emr/pagination/ListClustersPaginator.ts +++ b/clients/client-emr/pagination/ListClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClustersCommand(input), ...args); + return await client.send(new ListClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListInstanceFleetsPaginator.ts b/clients/client-emr/pagination/ListInstanceFleetsPaginator.ts index 4fb02dea1fb4..449543004136 100644 --- a/clients/client-emr/pagination/ListInstanceFleetsPaginator.ts +++ b/clients/client-emr/pagination/ListInstanceFleetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstanceFleetsCommand(input), ...args); + return await client.send(new ListInstanceFleetsCommand(input, ...args)); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListInstanceGroupsPaginator.ts b/clients/client-emr/pagination/ListInstanceGroupsPaginator.ts index 3999a47baf86..634cf6753e09 100644 --- a/clients/client-emr/pagination/ListInstanceGroupsPaginator.ts +++ b/clients/client-emr/pagination/ListInstanceGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstanceGroupsCommand(input), ...args); + return await client.send(new ListInstanceGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListInstancesPaginator.ts b/clients/client-emr/pagination/ListInstancesPaginator.ts index 8938bd948699..580a8612e001 100644 --- a/clients/client-emr/pagination/ListInstancesPaginator.ts +++ b/clients/client-emr/pagination/ListInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstancesCommand(input), ...args); + return await client.send(new ListInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListNotebookExecutionsPaginator.ts b/clients/client-emr/pagination/ListNotebookExecutionsPaginator.ts index d5df42fd835b..0b790df8c1b9 100644 --- a/clients/client-emr/pagination/ListNotebookExecutionsPaginator.ts +++ b/clients/client-emr/pagination/ListNotebookExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNotebookExecutionsCommand(input), ...args); + return await client.send(new ListNotebookExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListSecurityConfigurationsPaginator.ts b/clients/client-emr/pagination/ListSecurityConfigurationsPaginator.ts index bd9496cc9bcc..a08648268076 100644 --- a/clients/client-emr/pagination/ListSecurityConfigurationsPaginator.ts +++ b/clients/client-emr/pagination/ListSecurityConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityConfigurationsCommand(input), ...args); + return await client.send(new ListSecurityConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListStepsPaginator.ts b/clients/client-emr/pagination/ListStepsPaginator.ts index db806160094e..751e4e8e2ee4 100644 --- a/clients/client-emr/pagination/ListStepsPaginator.ts +++ b/clients/client-emr/pagination/ListStepsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStepsCommand(input), ...args); + return await client.send(new ListStepsCommand(input, ...args)); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-fms/pagination/ListComplianceStatusPaginator.ts b/clients/client-fms/pagination/ListComplianceStatusPaginator.ts index 87fa267ac655..2b2b31e5d753 100644 --- a/clients/client-fms/pagination/ListComplianceStatusPaginator.ts +++ b/clients/client-fms/pagination/ListComplianceStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComplianceStatusCommand(input), ...args); + return await client.send(new ListComplianceStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: FMS, diff --git a/clients/client-fms/pagination/ListMemberAccountsPaginator.ts b/clients/client-fms/pagination/ListMemberAccountsPaginator.ts index e797d218e707..f5a3ed7d79bd 100644 --- a/clients/client-fms/pagination/ListMemberAccountsPaginator.ts +++ b/clients/client-fms/pagination/ListMemberAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMemberAccountsCommand(input), ...args); + return await client.send(new ListMemberAccountsCommand(input, ...args)); }; const makePagedRequest = async ( client: FMS, diff --git a/clients/client-fms/pagination/ListPoliciesPaginator.ts b/clients/client-fms/pagination/ListPoliciesPaginator.ts index 2a5439c6b1d2..b732038dee1c 100644 --- a/clients/client-fms/pagination/ListPoliciesPaginator.ts +++ b/clients/client-fms/pagination/ListPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesCommand(input), ...args); + return await client.send(new ListPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: FMS, diff --git a/clients/client-forecast/Forecast.ts b/clients/client-forecast/Forecast.ts index bf82f0808b5b..da1d322df670 100644 --- a/clients/client-forecast/Forecast.ts +++ b/clients/client-forecast/Forecast.ts @@ -228,7 +228,7 @@ export class Forecast extends ForecastClient { * operation.

                                                                                    * *

                                                                                    The Status of a dataset group must be ACTIVE before you can - * create use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.

                                                                                    + * use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.

                                                                                    *
                                                                                    */ public createDatasetGroup( @@ -408,29 +408,33 @@ export class Forecast extends ForecastClient { /** *

                                                                                    Creates an Amazon Forecast predictor.

                                                                                    - *

                                                                                    In the request, you provide a dataset group and either specify an algorithm or let - * Amazon Forecast choose the algorithm for you using AutoML. If you specify an algorithm, you also can + *

                                                                                    In the request, provide a dataset group and either specify an algorithm or let + * Amazon Forecast choose an algorithm for you using AutoML. If you specify an algorithm, you also can * override algorithm-specific hyperparameters.

                                                                                    - *

                                                                                    Amazon Forecast uses the chosen algorithm to train a model using the latest version of the - * datasets in the specified dataset group. The result is called a predictor. You then generate a + *

                                                                                    Amazon Forecast uses the algorithm to train a predictor using the latest version of the + * datasets in the specified dataset group. You can then generate a * forecast using the CreateForecast operation.

                                                                                    - *

                                                                                    After training a model, the CreatePredictor operation also evaluates it. To - * see the evaluation metrics, use the GetAccuracyMetrics operation. Always - * review the evaluation metrics before deciding to use the predictor to generate a - * forecast.

                                                                                    - *

                                                                                    Optionally, you can specify a featurization configuration to fill and aggregate the data + *

                                                                                    + * To see the evaluation metrics, use the GetAccuracyMetrics operation. + *

                                                                                    + *

                                                                                    You can specify a featurization configuration to fill and aggregate the data * fields in the TARGET_TIME_SERIES dataset to improve model training. For more * information, see FeaturizationConfig.

                                                                                    *

                                                                                    For RELATED_TIME_SERIES datasets, CreatePredictor verifies that the * DataFrequency specified when the dataset was created matches the * ForecastFrequency. TARGET_TIME_SERIES datasets don't have this restriction. * Amazon Forecast also verifies the delimiter and timestamp format. For more information, see howitworks-datasets-groups.

                                                                                    + *

                                                                                    By default, predictors are trained and evaluated at the 0.1 (P10), 0.5 (P50), and 0.9 + * (P90) quantiles. You can choose custom forecast types to train and evaluate your predictor + * by setting the ForecastTypes. + *

                                                                                    *

                                                                                    * AutoML *

                                                                                    *

                                                                                    If you want Amazon Forecast to evaluate each algorithm and choose the one that minimizes the * objective function, set PerformAutoML to true. The - * objective function is defined as the mean of the weighted p10, p50, and p90 + * objective function is defined as the mean of the weighted losses over the + * forecast types. By default, these are the p10, p50, and p90 * quantile losses. For more information, see EvaluationResult.

                                                                                    *

                                                                                    When AutoML is enabled, the following properties are disallowed:

                                                                                    *
                                                                                      @@ -1065,10 +1069,10 @@ export class Forecast extends ForecastClient { } /** - *

                                                                                      Provides metrics on the accuracy of the models that were trained by the - * CreatePredictor operation. Use metrics to see how well the model performed - * and to decide whether to use the predictor to generate a forecast. For more information, see - * metrics.

                                                                                      + *

                                                                                      Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation. Use metrics to see how well the model performed and + * to decide whether to use the predictor to generate a forecast. For more information, see + * Predictor + * Metrics.

                                                                                      *

                                                                                      This operation generates metrics for each backtest window that was evaluated. The number of backtest windows * (NumberOfBacktestWindows) is specified using the * EvaluationParameters object, which is optionally diff --git a/clients/client-forecast/models/models_0.ts b/clients/client-forecast/models/models_0.ts index 94623b58dee5..d28db642c1ee 100644 --- a/clients/client-forecast/models/models_0.ts +++ b/clients/client-forecast/models/models_0.ts @@ -23,17 +23,17 @@ export enum Domain { * CreateDataset and CreatePredictor requests.

                                                                                      */ export interface EncryptionConfig { - /** - *

                                                                                      The Amazon Resource Name (ARN) of the KMS key.

                                                                                      - */ - KMSKeyArn: string | undefined; - /** *

                                                                                      The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.

                                                                                      *

                                                                                      Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your * account, you get an InvalidInputException error.

                                                                                      */ RoleArn: string | undefined; + + /** + *

                                                                                      The Amazon Resource Name (ARN) of the KMS key.

                                                                                      + */ + KMSKeyArn: string | undefined; } export namespace EncryptionConfig { @@ -56,14 +56,14 @@ export enum AttributeType { */ export interface SchemaAttribute { /** - *

                                                                                      The data type of the field.

                                                                                      + *

                                                                                      The name of the dataset field.

                                                                                      */ - AttributeType?: AttributeType | string; + AttributeName?: string; /** - *

                                                                                      The name of the dataset field.

                                                                                      + *

                                                                                      The data type of the field.

                                                                                      */ - AttributeName?: string; + AttributeType?: AttributeType | string; } export namespace SchemaAttribute { @@ -134,6 +134,11 @@ export namespace Tag { } export interface CreateDatasetRequest { + /** + *

                                                                                      A name for the dataset.

                                                                                      + */ + DatasetName: string | undefined; + /** *

                                                                                      The domain associated with the dataset. When you add a dataset to a dataset group, this * value and the value specified for the Domain parameter of the CreateDatasetGroup operation must match.

                                                                                      @@ -145,6 +150,28 @@ export interface CreateDatasetRequest { */ Domain: Domain | string | undefined; + /** + *

                                                                                      The dataset type. Valid values depend on the chosen Domain.

                                                                                      + */ + DatasetType: DatasetType | string | undefined; + + /** + *

                                                                                      The frequency of data collection. This parameter is required for RELATED_TIME_SERIES + * datasets.

                                                                                      + *

                                                                                      Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), + * 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, + * "D" indicates every day and "15min" indicates every 15 minutes.

                                                                                      + */ + DataFrequency?: string; + + /** + *

                                                                                      The schema for the dataset. The schema attributes and their order must match the fields in + * your data. The dataset Domain and DatasetType that you choose + * determine the minimum required fields in your training data. For information about the + * required fields for a specific dataset domain and type, see howitworks-domains-ds-types.

                                                                                      + */ + Schema: Schema | undefined; + /** *

                                                                                      An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access * the key.

                                                                                      @@ -179,33 +206,6 @@ export interface CreateDatasetRequest { *
                                                                                    */ Tags?: Tag[]; - - /** - *

                                                                                    The dataset type. Valid values depend on the chosen Domain.

                                                                                    - */ - DatasetType: DatasetType | string | undefined; - - /** - *

                                                                                    The schema for the dataset. The schema attributes and their order must match the fields in - * your data. The dataset Domain and DatasetType that you choose - * determine the minimum required fields in your training data. For information about the - * required fields for a specific dataset domain and type, see howitworks-domains-ds-types.

                                                                                    - */ - Schema: Schema | undefined; - - /** - *

                                                                                    The frequency of data collection. This parameter is required for RELATED_TIME_SERIES - * datasets.

                                                                                    - *

                                                                                    Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), - * 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, - * "D" indicates every day and "15min" indicates every 15 minutes.

                                                                                    - */ - DataFrequency?: string; - - /** - *

                                                                                    A name for the dataset.

                                                                                    - */ - DatasetName: string | undefined; } export namespace CreateDatasetRequest { @@ -275,15 +275,27 @@ export namespace ResourceAlreadyExistsException { export interface CreateDatasetGroupRequest { /** - *

                                                                                    An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the - * dataset group.

                                                                                    + *

                                                                                    A name for the dataset group.

                                                                                    */ - DatasetArns?: string[]; + DatasetGroupName: string | undefined; /** - *

                                                                                    A name for the dataset group.

                                                                                    + *

                                                                                    The domain associated with the dataset group. When you add a dataset to a dataset group, + * this value and the value specified for the Domain parameter of the CreateDataset operation must match.

                                                                                    + *

                                                                                    The Domain and DatasetType that you choose determine the fields + * that must be present in training data that you import to a dataset. For example, if you choose + * the RETAIL domain and TARGET_TIME_SERIES as the + * DatasetType, Amazon Forecast requires that item_id, + * timestamp, and demand fields are present in your data. For more + * information, see howitworks-datasets-groups.

                                                                                    */ - DatasetGroupName: string | undefined; + Domain: Domain | string | undefined; + + /** + *

                                                                                    An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the + * dataset group.

                                                                                    + */ + DatasetArns?: string[]; /** *

                                                                                    The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

                                                                                    @@ -313,18 +325,6 @@ export interface CreateDatasetGroupRequest { *
                                                                                  */ Tags?: Tag[]; - - /** - *

                                                                                  The domain associated with the dataset group. When you add a dataset to a dataset group, - * this value and the value specified for the Domain parameter of the CreateDataset operation must match.

                                                                                  - *

                                                                                  The Domain and DatasetType that you choose determine the fields - * that must be present in training data that you import to a dataset. For example, if you choose - * the RETAIL domain and TARGET_TIME_SERIES as the - * DatasetType, Amazon Forecast requires that item_id, - * timestamp, and demand fields are present in your data. For more - * information, see howitworks-datasets-groups.

                                                                                  - */ - Domain: Domain | string | undefined; } export namespace CreateDatasetGroupRequest { @@ -391,11 +391,6 @@ export interface S3Config { */ Path: string | undefined; - /** - *

                                                                                  The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.

                                                                                  - */ - KMSKeyArn?: string; - /** *

                                                                                  The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 * bucket or files. If you provide a value for the KMSKeyArn key, the role must @@ -404,6 +399,11 @@ export interface S3Config { * account, you get an InvalidInputException error.

                                                                                  */ RoleArn: string | undefined; + + /** + *

                                                                                  The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.

                                                                                  + */ + KMSKeyArn?: string; } export namespace S3Config { @@ -439,6 +439,21 @@ export interface CreateDatasetImportJobRequest { */ DatasetImportJobName: string | undefined; + /** + *

                                                                                  The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data + * to.

                                                                                  + */ + DatasetArn: string | undefined; + + /** + *

                                                                                  The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast + * can assume to access the data. The training data must be stored in an Amazon S3 bucket.

                                                                                  + *

                                                                                  If encryption is used, DataSource must include an AWS Key Management Service (KMS) key and the + * IAM role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must + * match those specified in the EncryptionConfig parameter of the CreateDataset operation.

                                                                                  + */ + DataSource: DataSource | undefined; + /** *

                                                                                  The format of timestamps in the dataset. The format that you specify depends on the * DataFrequency specified when the dataset was created. The following formats are @@ -459,12 +474,6 @@ export interface CreateDatasetImportJobRequest { */ TimestampFormat?: string; - /** - *

                                                                                  The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data - * to.

                                                                                  - */ - DatasetArn: string | undefined; - /** *

                                                                                  The optional metadata that you apply to the dataset import job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

                                                                                  *

                                                                                  The following basic restrictions apply to tags:

                                                                                  @@ -493,15 +502,6 @@ export interface CreateDatasetImportJobRequest { *
                                                                                */ Tags?: Tag[]; - - /** - *

                                                                                The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast - * can assume to access the data. The training data must be stored in an Amazon S3 bucket.

                                                                                - *

                                                                                If encryption is used, DataSource must include an AWS Key Management Service (KMS) key and the - * IAM role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must - * match those specified in the EncryptionConfig parameter of the CreateDataset operation.

                                                                                - */ - DataSource: DataSource | undefined; } export namespace CreateDatasetImportJobRequest { @@ -529,6 +529,11 @@ export interface CreateForecastRequest { */ ForecastName: string | undefined; + /** + *

                                                                                The Amazon Resource Name (ARN) of the predictor to use to generate the forecast.

                                                                                + */ + PredictorArn: string | undefined; + /** *

                                                                                The quantiles at which probabilistic forecasts are generated. You * can currently specify up to 5 quantiles per forecast. Accepted values include @@ -538,11 +543,6 @@ export interface CreateForecastRequest { */ ForecastTypes?: string[]; - /** - *

                                                                                The Amazon Resource Name (ARN) of the predictor to use to generate the forecast.

                                                                                - */ - PredictorArn: string | undefined; - /** *

                                                                                The optional metadata that you apply to the forecast to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

                                                                                *

                                                                                The following basic restrictions apply to tags:

                                                                                @@ -617,6 +617,11 @@ export interface CreateForecastExportJobRequest { */ ForecastExportJobName: string | undefined; + /** + *

                                                                                The Amazon Resource Name (ARN) of the forecast that you want to export.

                                                                                + */ + ForecastArn: string | undefined; + /** *

                                                                                The location where you want to save the forecast and an AWS Identity and Access Management (IAM) role that * Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 @@ -654,11 +659,6 @@ export interface CreateForecastExportJobRequest { *

                                                                              */ Tags?: Tag[]; - - /** - *

                                                                              The Amazon Resource Name (ARN) of the forecast that you want to export.

                                                                              - */ - ForecastArn: string | undefined; } export namespace CreateForecastExportJobRequest { @@ -785,6 +785,10 @@ export interface FeaturizationMethod { *

                                                                              *
                                                                            • *
                                                                            + *

                                                                            To set a filling method to a specific value, set the fill parameter to value + * and define the value in a corresponding _value parameter. For example, to set + * backfilling to a value of 2, include the following: "backfill": "value" and + * "backfill_value":"2".

                                                                            */ FeaturizationMethodParameters?: { [key: string]: string }; } @@ -872,11 +876,6 @@ export interface FeaturizationConfig { */ ForecastFrequency: string | undefined; - /** - *

                                                                            An array of featurization (transformation) information for the fields of a dataset.

                                                                            - */ - Featurizations?: Featurization[]; - /** *

                                                                            An array of dimension (field) names that specify how to group the generated forecast.

                                                                            *

                                                                            For example, suppose that you are generating a forecast for item sales across all of @@ -888,6 +887,11 @@ export interface FeaturizationConfig { * be specified in the CreatePredictor request.

                                                                            */ ForecastDimensions?: string[]; + + /** + *

                                                                            An array of featurization (transformation) information for the fields of a dataset.

                                                                            + */ + Featurizations?: Featurization[]; } export namespace FeaturizationConfig { @@ -930,6 +934,21 @@ export enum ScalingType { * This object is part of the ParameterRanges object.

                                                                            */ export interface ContinuousParameterRange { + /** + *

                                                                            The name of the hyperparameter to tune.

                                                                            + */ + Name: string | undefined; + + /** + *

                                                                            The maximum tunable value of the hyperparameter.

                                                                            + */ + MaxValue: number | undefined; + + /** + *

                                                                            The minimum tunable value of the hyperparameter.

                                                                            + */ + MinValue: number | undefined; + /** *

                                                                            The scale that hyperparameter tuning uses to search the hyperparameter range. * Valid values:

                                                                            @@ -962,21 +981,6 @@ export interface ContinuousParameterRange { * One of the following values:

                                                                            */ ScalingType?: ScalingType | string; - - /** - *

                                                                            The name of the hyperparameter to tune.

                                                                            - */ - Name: string | undefined; - - /** - *

                                                                            The minimum tunable value of the hyperparameter.

                                                                            - */ - MinValue: number | undefined; - - /** - *

                                                                            The maximum tunable value of the hyperparameter.

                                                                            - */ - MaxValue: number | undefined; } export namespace ContinuousParameterRange { @@ -990,6 +994,21 @@ export namespace ContinuousParameterRange { * This object is part of the ParameterRanges object.

                                                                            */ export interface IntegerParameterRange { + /** + *

                                                                            The name of the hyperparameter to tune.

                                                                            + */ + Name: string | undefined; + + /** + *

                                                                            The maximum tunable value of the hyperparameter.

                                                                            + */ + MaxValue: number | undefined; + + /** + *

                                                                            The minimum tunable value of the hyperparameter.

                                                                            + */ + MinValue: number | undefined; + /** *

                                                                            The scale that hyperparameter tuning uses to search the hyperparameter range. * Valid values:

                                                                            @@ -1021,21 +1040,6 @@ export interface IntegerParameterRange { * One of the following values:

                                                                            */ ScalingType?: ScalingType | string; - - /** - *

                                                                            The maximum tunable value of the hyperparameter.

                                                                            - */ - MaxValue: number | undefined; - - /** - *

                                                                            The name of the hyperparameter to tune.

                                                                            - */ - Name: string | undefined; - - /** - *

                                                                            The minimum tunable value of the hyperparameter.

                                                                            - */ - MinValue: number | undefined; } export namespace IntegerParameterRange { @@ -1057,14 +1061,14 @@ export interface ParameterRanges { CategoricalParameterRanges?: CategoricalParameterRange[]; /** - *

                                                                            Specifies the tunable range for each integer hyperparameter.

                                                                            + *

                                                                            Specifies the tunable range for each continuous hyperparameter.

                                                                            */ - IntegerParameterRanges?: IntegerParameterRange[]; + ContinuousParameterRanges?: ContinuousParameterRange[]; /** - *

                                                                            Specifies the tunable range for each continuous hyperparameter.

                                                                            + *

                                                                            Specifies the tunable range for each integer hyperparameter.

                                                                            */ - ContinuousParameterRanges?: ContinuousParameterRange[]; + IntegerParameterRanges?: IntegerParameterRange[]; } export namespace ParameterRanges { @@ -1099,82 +1103,23 @@ export namespace HyperParameterTuningJobConfig { /** *

                                                                            Describes a supplementary feature of a dataset group. This object is part of the InputDataConfig object.

                                                                            - *

                                                                            The only supported feature is a holiday calendar. If you use the calendar, all data in the + *

                                                                            The only supported feature is Holidays. If you use the calendar, all data in the * datasets should belong to the same country as the calendar. For the holiday calendar data, see - * the Jollyday web site.

                                                                            - *

                                                                            India and Korea's holidays are not included in the Jollyday library, but both are - * supported by Amazon Forecast. Their holidays are:

                                                                            - *

                                                                            - * "IN" - INDIA - *

                                                                            - *
                                                                              - *
                                                                            • - *

                                                                              - * JANUARY 26 - REPUBLIC DAY - *

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * AUGUST 15 - INDEPENDENCE DAY - *

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * OCTOBER 2 GANDHI'S BIRTHDAY - *

                                                                              - *
                                                                            • - *
                                                                            - *

                                                                            - * "KR" - KOREA - *

                                                                            - *
                                                                              - *
                                                                            • - *

                                                                              - * JANUARY 1 - NEW YEAR - *

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * MARCH 1 - INDEPENDENCE MOVEMENT DAY - *

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * MAY 5 - CHILDREN'S DAY - *

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * JUNE 6 - MEMORIAL DAY - *

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * AUGUST 15 - LIBERATION DAY - *

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * OCTOBER 3 - NATIONAL FOUNDATION DAY - *

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * OCTOBER 9 - HANGEUL DAY - *

                                                                              - *
                                                                            • - *
                                                                            • - *

                                                                              - * DECEMBER 25 - CHRISTMAS DAY - *

                                                                              - *
                                                                            • - *
                                                                            + * the Jollyday website.

                                                                            */ export interface SupplementaryFeature { + /** + *

                                                                            The name of the feature. This must be "holiday".

                                                                            + */ + Name: string | undefined; + /** *

                                                                            One of the following 2 letter country codes:

                                                                            *
                                                                              *
                                                                            • + *

                                                                              "AL" - ALBANIA

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "AR" - ARGENTINA

                                                                              *
                                                                            • *
                                                                            • @@ -1184,16 +1129,37 @@ export interface SupplementaryFeature { *

                                                                              "AU" - AUSTRALIA

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "BA" - BOSNIA HERZEGOVINA

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "BE" - BELGIUM

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "BG" - BULGARIA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "BO" - BOLIVIA

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "BR" - BRAZIL

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "BY" - BELARUS

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "CA" - CANADA

                                                                              *
                                                                            • *
                                                                            • - *

                                                                              "CN" - CHINA

                                                                              + *

                                                                              "CL" - CHILE

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "CO" - COLOMBIA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "CR" - COSTA RICA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "HR" - CROATIA

                                                                              *
                                                                            • *
                                                                            • *

                                                                              "CZ" - CZECH REPUBLIC

                                                                              @@ -1205,6 +1171,12 @@ export interface SupplementaryFeature { *

                                                                              "EC" - ECUADOR

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "EE" - ESTONIA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "ET" - ETHIOPIA

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "FI" - FINLAND

                                                                              *
                                                                            • *
                                                                            • @@ -1214,45 +1186,105 @@ export interface SupplementaryFeature { *

                                                                              "DE" - GERMANY

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "GR" - GREECE

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "HU" - HUNGARY

                                                                              *
                                                                            • *
                                                                            • - *

                                                                              "IE" - IRELAND

                                                                              + *

                                                                              "IS" - ICELAND

                                                                              *
                                                                            • *
                                                                            • *

                                                                              "IN" - INDIA

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "IE" - IRELAND

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "IT" - ITALY

                                                                              *
                                                                            • *
                                                                            • *

                                                                              "JP" - JAPAN

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "KZ" - KAZAKHSTAN

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "KR" - KOREA

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "LV" - LATVIA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "LI" - LIECHTENSTEIN

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "LT" - LITHUANIA

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "LU" - LUXEMBOURG

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "MK" - MACEDONIA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "MT" - MALTA

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "MX" - MEXICO

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "MD" - MOLDOVA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "ME" - MONTENEGRO

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "NL" - NETHERLANDS

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "NZ" - NEW ZEALAND

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "NI" - NICARAGUA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "NG" - NIGERIA

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "NO" - NORWAY

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "PA" - PANAMA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "PY" - PARAGUAY

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "PE" - PERU

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "PL" - POLAND

                                                                              *
                                                                            • *
                                                                            • *

                                                                              "PT" - PORTUGAL

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "RO" - ROMANIA

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "RU" - RUSSIA

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "RS" - SERBIA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "SK" - SLOVAKIA

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "SI" - SLOVENIA

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "ZA" - SOUTH AFRICA

                                                                              *
                                                                            • *
                                                                            • @@ -1265,19 +1297,26 @@ export interface SupplementaryFeature { *

                                                                              "CH" - SWITZERLAND

                                                                              *
                                                                            • *
                                                                            • + *

                                                                              "UA" - UKRAINE

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "AE" - UNITED ARAB EMIRATES

                                                                              + *
                                                                            • + *
                                                                            • *

                                                                              "US" - UNITED STATES

                                                                              *
                                                                            • *
                                                                            • *

                                                                              "UK" - UNITED KINGDOM

                                                                              *
                                                                            • + *
                                                                            • + *

                                                                              "UY" - URUGUAY

                                                                              + *
                                                                            • + *
                                                                            • + *

                                                                              "VE" - VENEZUELA

                                                                              + *
                                                                            • *
                                                                            */ Value: string | undefined; - - /** - *

                                                                            The name of the feature. This must be "holiday".

                                                                            - */ - Name: string | undefined; } export namespace SupplementaryFeature { @@ -1312,33 +1351,9 @@ export namespace InputDataConfig { export interface CreatePredictorRequest { /** - *

                                                                            Describes the dataset group that contains the data to use to train the predictor.

                                                                            - */ - InputDataConfig: InputDataConfig | undefined; - - /** - *

                                                                            An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access - * the key.

                                                                            - */ - EncryptionConfig?: EncryptionConfig; - - /** - *

                                                                            Specifies the number of time-steps that the model is trained to predict. The forecast - * horizon is also called the prediction length.

                                                                            - *

                                                                            For example, if you configure a dataset for daily data collection (using the - * DataFrequency parameter of the CreateDataset operation) and - * set the forecast horizon to 10, the model returns predictions for 10 days.

                                                                            - *

                                                                            The maximum forecast horizon is the lesser of 500 time-steps or 1/3 of the - * TARGET_TIME_SERIES dataset length.

                                                                            - */ - ForecastHorizon: number | undefined; - - /** - *

                                                                            Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast - * evaluates a predictor by splitting a dataset into training data and testing data. The - * evaluation parameters define how to perform the split and the number of iterations.

                                                                            + *

                                                                            A name for the predictor.

                                                                            */ - EvaluationParameters?: EvaluationParameters; + PredictorName: string | undefined; /** *

                                                                            The Amazon Resource Name (ARN) of the algorithm to use for model training. Required if @@ -1354,9 +1369,13 @@ export interface CreatePredictorRequest { *

                                                                          • *
                                                                          • *

                                                                            + * arn:aws:forecast:::algorithm/CNN-QR + *

                                                                            + *
                                                                          • + *
                                                                          • + *

                                                                            * arn:aws:forecast:::algorithm/Deep_AR_Plus *

                                                                            - *

                                                                            Supports hyperparameter optimization (HPO)

                                                                            *
                                                                          • *
                                                                          • *

                                                                            @@ -1378,13 +1397,24 @@ export interface CreatePredictorRequest { AlgorithmArn?: string; /** - *

                                                                            Provides hyperparameter override values for the algorithm. If you don't provide this - * parameter, Amazon Forecast uses default values. The individual algorithms specify which - * hyperparameters support hyperparameter optimization (HPO). For more information, see aws-forecast-choosing-recipes.

                                                                            - *

                                                                            If you included the HPOConfig object, you must set PerformHPO to - * true.

                                                                            + *

                                                                            Specifies the number of time-steps that the model is trained to predict. The forecast + * horizon is also called the prediction length.

                                                                            + *

                                                                            For example, if you configure a dataset for daily data collection (using the + * DataFrequency parameter of the CreateDataset operation) and + * set the forecast horizon to 10, the model returns predictions for 10 days.

                                                                            + *

                                                                            The maximum forecast horizon is the lesser of 500 time-steps or 1/3 of the + * TARGET_TIME_SERIES dataset length.

                                                                            */ - HPOConfig?: HyperParameterTuningJobConfig; + ForecastHorizon: number | undefined; + + /** + *

                                                                            Specifies the forecast types used to train a predictor. You can specify up to five forecast types. + * Forecast types can be quantiles from 0.01 to 0.99, by increments of 0.01 or higher. You can also specify + * the mean forecast with mean. + *

                                                                            + *

                                                                            The default value is ["0.10", "0.50", "0.9"].

                                                                            + */ + ForecastTypes?: string[]; /** *

                                                                            Whether to perform AutoML. When Amazon Forecast performs AutoML, it evaluates the algorithms it @@ -1408,19 +1438,56 @@ export interface CreatePredictorRequest { * specifies a metric to optimize, which hyperparameters participate in tuning, and the valid * range for each tunable hyperparameter. In this case, you are required to specify an algorithm * and PerformAutoML must be false.

                                                                            - *

                                                                            The following algorithm supports HPO:

                                                                            + *

                                                                            The following algorithms support HPO:

                                                                            *
                                                                              *
                                                                            • *

                                                                              DeepAR+

                                                                              *
                                                                            • + *
                                                                            • + *

                                                                              CNN-QR

                                                                              + *
                                                                            • *
                                                                            */ PerformHPO?: boolean; /** - *

                                                                            A name for the predictor.

                                                                            + *

                                                                            The hyperparameters to override for model training. The hyperparameters that you can + * override are listed in the individual algorithms. For the list of supported algorithms, see + * aws-forecast-choosing-recipes.

                                                                            */ - PredictorName: string | undefined; + TrainingParameters?: { [key: string]: string }; + + /** + *

                                                                            Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast + * evaluates a predictor by splitting a dataset into training data and testing data. The + * evaluation parameters define how to perform the split and the number of iterations.

                                                                            + */ + EvaluationParameters?: EvaluationParameters; + + /** + *

                                                                            Provides hyperparameter override values for the algorithm. If you don't provide this + * parameter, Amazon Forecast uses default values. The individual algorithms specify which + * hyperparameters support hyperparameter optimization (HPO). For more information, see aws-forecast-choosing-recipes.

                                                                            + *

                                                                            If you included the HPOConfig object, you must set PerformHPO to + * true.

                                                                            + */ + HPOConfig?: HyperParameterTuningJobConfig; + + /** + *

                                                                            Describes the dataset group that contains the data to use to train the predictor.

                                                                            + */ + InputDataConfig: InputDataConfig | undefined; + + /** + *

                                                                            The featurization configuration.

                                                                            + */ + FeaturizationConfig: FeaturizationConfig | undefined; + + /** + *

                                                                            An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access + * the key.

                                                                            + */ + EncryptionConfig?: EncryptionConfig; /** *

                                                                            The optional metadata that you apply to the predictor to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

                                                                            @@ -1450,18 +1517,6 @@ export interface CreatePredictorRequest { *
                                                                          */ Tags?: Tag[]; - - /** - *

                                                                          The featurization configuration.

                                                                          - */ - FeaturizationConfig: FeaturizationConfig | undefined; - - /** - *

                                                                          The hyperparameters to override for model training. The hyperparameters that you can - * override are listed in the individual algorithms. For the list of supported algorithms, see - * aws-forecast-choosing-recipes.

                                                                          - */ - TrainingParameters?: { [key: string]: string }; } export namespace CreatePredictorRequest { @@ -1576,12 +1631,14 @@ export namespace DescribeDatasetRequest { export interface DescribeDatasetResponse { /** - *

                                                                          The frequency of data collection.

                                                                          - *

                                                                          Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), - * 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, - * "M" indicates every month and "30min" indicates every 30 minutes.

                                                                          + *

                                                                          The Amazon Resource Name (ARN) of the dataset.

                                                                          */ - DataFrequency?: string; + DatasetArn?: string; + + /** + *

                                                                          The name of the dataset.

                                                                          + */ + DatasetName?: string; /** *

                                                                          The domain associated with the dataset.

                                                                          @@ -1594,29 +1651,24 @@ export interface DescribeDatasetResponse { DatasetType?: DatasetType | string; /** - *

                                                                          The Amazon Resource Name (ARN) of the dataset.

                                                                          - */ - DatasetArn?: string; - - /** - *

                                                                          The AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access - * the key.

                                                                          + *

                                                                          The frequency of data collection.

                                                                          + *

                                                                          Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), + * 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, + * "M" indicates every month and "30min" indicates every 30 minutes.

                                                                          */ - EncryptionConfig?: EncryptionConfig; + DataFrequency?: string; /** - *

                                                                          When the dataset was created.

                                                                          + *

                                                                          An array of SchemaAttribute objects that specify the dataset fields. Each + * SchemaAttribute specifies the name and data type of a field.

                                                                          */ - CreationTime?: Date; + Schema?: Schema; /** - *

                                                                          When you create a dataset, LastModificationTime is the same as - * CreationTime. While data is being imported to the dataset, - * LastModificationTime is the current time of the DescribeDataset - * call. After a CreateDatasetImportJob operation has finished, - * LastModificationTime is when the import job completed or failed.

                                                                          + *

                                                                          The AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access + * the key.

                                                                          */ - LastModificationTime?: Date; + EncryptionConfig?: EncryptionConfig; /** *

                                                                          The status of the dataset. States include:

                                                                          @@ -1657,15 +1709,18 @@ export interface DescribeDatasetResponse { Status?: string; /** - *

                                                                          The name of the dataset.

                                                                          + *

                                                                          When the dataset was created.

                                                                          */ - DatasetName?: string; + CreationTime?: Date; /** - *

                                                                          An array of SchemaAttribute objects that specify the dataset fields. Each - * SchemaAttribute specifies the name and data type of a field.

                                                                          + *

                                                                          When you create a dataset, LastModificationTime is the same as + * CreationTime. While data is being imported to the dataset, + * LastModificationTime is the current time of the DescribeDataset + * call. After a CreateDatasetImportJob operation has finished, + * LastModificationTime is when the import job completed or failed.

                                                                          */ - Schema?: Schema; + LastModificationTime?: Date; } export namespace DescribeDatasetResponse { @@ -1689,15 +1744,26 @@ export namespace DescribeDatasetGroupRequest { export interface DescribeDatasetGroupResponse { /** - *

                                                                          When the dataset group was created.

                                                                          + *

                                                                          The name of the dataset group.

                                                                          */ - CreationTime?: Date; + DatasetGroupName?: string; /** *

                                                                          The ARN of the dataset group.

                                                                          */ DatasetGroupArn?: string; + /** + *

                                                                          An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset + * group.

                                                                          + */ + DatasetArns?: string[]; + + /** + *

                                                                          The domain associated with the dataset group.

                                                                          + */ + Domain?: Domain | string; + /** *

                                                                          The status of the dataset group. States include:

                                                                          *
                                                                            @@ -1734,15 +1800,9 @@ export interface DescribeDatasetGroupResponse { Status?: string; /** - *

                                                                            The name of the dataset group.

                                                                            - */ - DatasetGroupName?: string; - - /** - *

                                                                            An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset - * group.

                                                                            + *

                                                                            When the dataset group was created.

                                                                            */ - DatasetArns?: string[]; + CreationTime?: Date; /** *

                                                                            When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated, @@ -1750,11 +1810,6 @@ export interface DescribeDatasetGroupResponse { * DescribeDatasetGroup call.

                                                                            */ LastModificationTime?: Date; - - /** - *

                                                                            The domain associated with the dataset group.

                                                                            - */ - Domain?: Domain | string; } export namespace DescribeDatasetGroupResponse { @@ -1787,39 +1842,39 @@ export interface Statistics { Count?: number; /** - *

                                                                            For a numeric field, the standard deviation.

                                                                            + *

                                                                            The number of distinct values in the field.

                                                                            */ - Stddev?: number; + CountDistinct?: number; /** - *

                                                                            For a numeric field, the minimum value in the field.

                                                                            + *

                                                                            The number of null values in the field.

                                                                            */ - Min?: string; + CountNull?: number; /** - *

                                                                            For a numeric field, the average value in the field.

                                                                            + *

                                                                            The number of NAN (not a number) values in the field.

                                                                            */ - Avg?: number; + CountNan?: number; /** - *

                                                                            For a numeric field, the maximum value in the field.

                                                                            + *

                                                                            For a numeric field, the minimum value in the field.

                                                                            */ - Max?: string; + Min?: string; /** - *

                                                                            The number of distinct values in the field.

                                                                            + *

                                                                            For a numeric field, the maximum value in the field.

                                                                            */ - CountDistinct?: number; + Max?: string; /** - *

                                                                            The number of null values in the field.

                                                                            + *

                                                                            For a numeric field, the average value in the field.

                                                                            */ - CountNull?: number; + Avg?: number; /** - *

                                                                            The number of NAN (not a number) values in the field.

                                                                            + *

                                                                            For a numeric field, the standard deviation.

                                                                            */ - CountNan?: number; + Stddev?: number; } export namespace Statistics { @@ -1830,21 +1885,20 @@ export namespace Statistics { export interface DescribeDatasetImportJobResponse { /** - *

                                                                            When the dataset import job was created.

                                                                            + *

                                                                            The name of the dataset import job.

                                                                            */ - CreationTime?: Date; + DatasetImportJobName?: string; /** - *

                                                                            The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast - * can assume to access the data.

                                                                            - *

                                                                            If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

                                                                            + *

                                                                            The ARN of the dataset import job.

                                                                            */ - DataSource?: DataSource; + DatasetImportJobArn?: string; /** - *

                                                                            The name of the dataset import job.

                                                                            + *

                                                                            The Amazon Resource Name (ARN) of the dataset that the training data was imported + * to.

                                                                            */ - DatasetImportJobName?: string; + DatasetArn?: string; /** *

                                                                            The format of timestamps in the dataset. The format that you specify depends on the @@ -1864,6 +1918,23 @@ export interface DescribeDatasetImportJobResponse { */ TimestampFormat?: string; + /** + *

                                                                            The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast + * can assume to access the data.

                                                                            + *

                                                                            If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

                                                                            + */ + DataSource?: DataSource; + + /** + *

                                                                            Statistical information about each field in the input data.

                                                                            + */ + FieldStatistics?: { [key: string]: Statistics }; + + /** + *

                                                                            The size of the dataset in gigabytes (GB) after the import job has finished.

                                                                            + */ + DataSize?: number; + /** *

                                                                            The status of the dataset import job. The status is reflected in the status of the * dataset. For example, when the import job status is CREATE_IN_PROGRESS, the @@ -1891,9 +1962,14 @@ export interface DescribeDatasetImportJobResponse { Status?: string; /** - *

                                                                            The ARN of the dataset import job.

                                                                            + *

                                                                            If an error occurred, an informational message about the error.

                                                                            */ - DatasetImportJobArn?: string; + Message?: string; + + /** + *

                                                                            When the dataset import job was created.

                                                                            + */ + CreationTime?: Date; /** *

                                                                            The last time that the dataset was modified. The time depends on the status of the job, as @@ -1915,27 +1991,6 @@ export interface DescribeDatasetImportJobResponse { *

                                                                          */ LastModificationTime?: Date; - - /** - *

                                                                          The size of the dataset in gigabytes (GB) after the import job has finished.

                                                                          - */ - DataSize?: number; - - /** - *

                                                                          The Amazon Resource Name (ARN) of the dataset that the training data was imported - * to.

                                                                          - */ - DatasetArn?: string; - - /** - *

                                                                          If an error occurred, an informational message about the error.

                                                                          - */ - Message?: string; - - /** - *

                                                                          Statistical information about each field in the input data.

                                                                          - */ - FieldStatistics?: { [key: string]: Statistics }; } export namespace DescribeDatasetImportJobResponse { @@ -1958,6 +2013,31 @@ export namespace DescribeForecastRequest { } export interface DescribeForecastResponse { + /** + *

                                                                          The forecast ARN as specified in the request.

                                                                          + */ + ForecastArn?: string; + + /** + *

                                                                          The name of the forecast.

                                                                          + */ + ForecastName?: string; + + /** + *

                                                                          The quantiles at which probabilistic forecasts were generated.

                                                                          + */ + ForecastTypes?: string[]; + + /** + *

                                                                          The ARN of the predictor used to generate the forecast.

                                                                          + */ + PredictorArn?: string; + + /** + *

                                                                          The ARN of the dataset group that provided the data used to train the predictor.

                                                                          + */ + DatasetGroupArn?: string; + /** *

                                                                          The status of the forecast. States include:

                                                                          *
                                                                            @@ -1986,41 +2066,16 @@ export interface DescribeForecastResponse { */ Status?: string; - /** - *

                                                                            The name of the forecast.

                                                                            - */ - ForecastName?: string; - - /** - *

                                                                            The quantiles at which probabilistic forecasts were generated.

                                                                            - */ - ForecastTypes?: string[]; - /** *

                                                                            If an error occurred, an informational message about the error.

                                                                            */ Message?: string; - /** - *

                                                                            The ARN of the dataset group that provided the data used to train the predictor.

                                                                            - */ - DatasetGroupArn?: string; - /** *

                                                                            When the forecast creation task was created.

                                                                            */ CreationTime?: Date; - /** - *

                                                                            The ARN of the predictor used to generate the forecast.

                                                                            - */ - PredictorArn?: string; - - /** - *

                                                                            The forecast ARN as specified in the request.

                                                                            - */ - ForecastArn?: string; - /** *

                                                                            Initially, the same as CreationTime (status is CREATE_PENDING). * Updated when inference (creating the forecast) starts (status changed to @@ -2051,14 +2106,9 @@ export namespace DescribeForecastExportJobRequest { export interface DescribeForecastExportJobResponse { /** - *

                                                                            If an error occurred, an informational message about the error.

                                                                            - */ - Message?: string; - - /** - *

                                                                            The Amazon Resource Name (ARN) of the exported forecast.

                                                                            + *

                                                                            The ARN of the forecast export job.

                                                                            */ - ForecastArn?: string; + ForecastExportJobArn?: string; /** *

                                                                            The name of the forecast export job.

                                                                            @@ -2066,15 +2116,20 @@ export interface DescribeForecastExportJobResponse { ForecastExportJobName?: string; /** - *

                                                                            The ARN of the forecast export job.

                                                                            + *

                                                                            The Amazon Resource Name (ARN) of the exported forecast.

                                                                            */ - ForecastExportJobArn?: string; + ForecastArn?: string; /** *

                                                                            The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.

                                                                            */ Destination?: DataDestination; + /** + *

                                                                            If an error occurred, an informational message about the error.

                                                                            + */ + Message?: string; + /** *

                                                                            The status of the forecast export job. States include:

                                                                            *
                                                                              @@ -2104,14 +2159,14 @@ export interface DescribeForecastExportJobResponse { Status?: string; /** - *

                                                                              When the last successful export job finished.

                                                                              + *

                                                                              When the forecast export job was created.

                                                                              */ - LastModificationTime?: Date; + CreationTime?: Date; /** - *

                                                                              When the forecast export job was created.

                                                                              + *

                                                                              When the last successful export job finished.

                                                                              */ - CreationTime?: Date; + LastModificationTime?: Date; } export namespace DescribeForecastExportJobResponse { @@ -2138,6 +2193,16 @@ export namespace DescribePredictorRequest { * applicable.

                                                                              */ export interface TestWindowSummary { + /** + *

                                                                              The time at which the test began.

                                                                              + */ + TestWindowStart?: Date; + + /** + *

                                                                              The time at which the test ended.

                                                                              + */ + TestWindowEnd?: Date; + /** *

                                                                              The status of the test. Possible status values are:

                                                                              *
                                                                                @@ -2160,16 +2225,6 @@ export interface TestWindowSummary { */ Status?: string; - /** - *

                                                                                The time at which the test ended.

                                                                                - */ - TestWindowEnd?: Date; - - /** - *

                                                                                The time at which the test began.

                                                                                - */ - TestWindowStart?: Date; - /** *

                                                                                If the test failed, the reason why it failed.

                                                                                */ @@ -2186,17 +2241,17 @@ export namespace TestWindowSummary { *

                                                                                The algorithm used to perform a backtest and the status of those tests.

                                                                                */ export interface PredictorExecution { + /** + *

                                                                                The ARN of the algorithm used to test the predictor.

                                                                                + */ + AlgorithmArn?: string; + /** *

                                                                                An array of test windows used to evaluate the algorithm. The * NumberOfBacktestWindows from the * object determines the number of windows in the array.

                                                                                */ TestWindows?: TestWindowSummary[]; - - /** - *

                                                                                The ARN of the algorithm used to test the predictor.

                                                                                - */ - AlgorithmArn?: string; } export namespace PredictorExecution { @@ -2227,140 +2282,146 @@ export namespace PredictorExecutionDetails { export interface DescribePredictorResponse { /** - *

                                                                                Initially, the same as CreationTime (when the status is - * CREATE_PENDING). This value is updated when training starts (when the status - * changes to CREATE_IN_PROGRESS), and when training has completed (when the status - * changes to ACTIVE) or fails (when the status changes to - * CREATE_FAILED).

                                                                                + *

                                                                                The ARN of the predictor.

                                                                                */ - LastModificationTime?: Date; + PredictorArn?: string; /** - *

                                                                                The status of the predictor. States include:

                                                                                - *
                                                                                  - *
                                                                                • - *

                                                                                  - * ACTIVE - *

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * CREATE_PENDING, CREATE_IN_PROGRESS, - * CREATE_FAILED - *

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * DELETE_PENDING, DELETE_IN_PROGRESS, - * DELETE_FAILED - *

                                                                                  - *
                                                                                • - *
                                                                                • - *

                                                                                  - * UPDATE_PENDING, UPDATE_IN_PROGRESS, - * UPDATE_FAILED - *

                                                                                  - *
                                                                                • - *
                                                                                - * - *

                                                                                The Status of the predictor must be ACTIVE before you can use - * the predictor to create a forecast.

                                                                                - *
                                                                                + *

                                                                                The name of the predictor.

                                                                                */ - Status?: string; + PredictorName?: string; /** - *

                                                                                Whether the predictor is set to perform AutoML.

                                                                                + *

                                                                                The Amazon Resource Name (ARN) of the algorithm used for model training.

                                                                                */ - PerformAutoML?: boolean; + AlgorithmArn?: string; /** - *

                                                                                An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access - * the key.

                                                                                + *

                                                                                The number of time-steps of the forecast. The forecast horizon is also called the + * prediction length.

                                                                                */ - EncryptionConfig?: EncryptionConfig; + ForecastHorizon?: number; /** - *

                                                                                The name of the predictor.

                                                                                + *

                                                                                The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"] + *

                                                                                */ - PredictorName?: string; + ForecastTypes?: string[]; /** - *

                                                                                Describes the dataset group that contains the data to use to train the predictor.

                                                                                + *

                                                                                Whether the predictor is set to perform AutoML.

                                                                                */ - InputDataConfig?: InputDataConfig; + PerformAutoML?: boolean; /** - *

                                                                                Details on the the status and results of the backtests performed to evaluate the accuracy - * of the predictor. You specify the number of backtests to perform when you call the operation.

                                                                                + *

                                                                                Whether the predictor is set to perform hyperparameter optimization (HPO).

                                                                                */ - PredictorExecutionDetails?: PredictorExecutionDetails; + PerformHPO?: boolean; /** - *

                                                                                When the model training task was created.

                                                                                + *

                                                                                The default training parameters or overrides selected during model training. When running + * AutoML or choosing HPO with CNN-QR or DeepAR+, the optimized values for the chosen + * hyperparameters are returned. For more information, see aws-forecast-choosing-recipes.

                                                                                */ - CreationTime?: Date; + TrainingParameters?: { [key: string]: string }; /** - *

                                                                                An array of the ARNs of the dataset import jobs used to import training data for the - * predictor.

                                                                                + *

                                                                                Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast + * evaluates a predictor by splitting a dataset into training data and testing data. The + * evaluation parameters define how to perform the split and the number of iterations.

                                                                                */ - DatasetImportJobArns?: string[]; + EvaluationParameters?: EvaluationParameters; /** *

                                                                                The hyperparameter override values for the algorithm.

                                                                                */ HPOConfig?: HyperParameterTuningJobConfig; + /** + *

                                                                                Describes the dataset group that contains the data to use to train the predictor.

                                                                                + */ + InputDataConfig?: InputDataConfig; + /** *

                                                                                The featurization configuration.

                                                                                */ FeaturizationConfig?: FeaturizationConfig; /** - *

                                                                                The ARN of the predictor.

                                                                                + *

                                                                                An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access + * the key.

                                                                                */ - PredictorArn?: string; + EncryptionConfig?: EncryptionConfig; /** - *

                                                                                The default training parameters or overrides selected during model training. If using the - * AutoML algorithm or if HPO is turned on while using the DeepAR+ algorithms, the optimized - * values for the chosen hyperparameters are returned. For more information, see aws-forecast-choosing-recipes.

                                                                                + *

                                                                                Details on the the status and results of the backtests performed to evaluate the accuracy + * of the predictor. You specify the number of backtests to perform when you call the operation.

                                                                                */ - TrainingParameters?: { [key: string]: string }; + PredictorExecutionDetails?: PredictorExecutionDetails; /** - *

                                                                                Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast - * evaluates a predictor by splitting a dataset into training data and testing data. The - * evaluation parameters define how to perform the split and the number of iterations.

                                                                                + *

                                                                                An array of the ARNs of the dataset import jobs used to import training data for the + * predictor.

                                                                                */ - EvaluationParameters?: EvaluationParameters; + DatasetImportJobArns?: string[]; /** - *

                                                                                Whether the predictor is set to perform hyperparameter optimization (HPO).

                                                                                + *

                                                                                When PerformAutoML is specified, the ARN of the chosen algorithm.

                                                                                */ - PerformHPO?: boolean; + AutoMLAlgorithmArns?: string[]; /** - *

                                                                                The Amazon Resource Name (ARN) of the algorithm used for model training.

                                                                                + *

                                                                                The status of the predictor. States include:

                                                                                + *
                                                                                  + *
                                                                                • + *

                                                                                  + * ACTIVE + *

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  + * CREATE_PENDING, CREATE_IN_PROGRESS, + * CREATE_FAILED + *

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  + * DELETE_PENDING, DELETE_IN_PROGRESS, + * DELETE_FAILED + *

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  + * UPDATE_PENDING, UPDATE_IN_PROGRESS, + * UPDATE_FAILED + *

                                                                                  + *
                                                                                • + *
                                                                                + * + *

                                                                                The Status of the predictor must be ACTIVE before you can use + * the predictor to create a forecast.

                                                                                + *
                                                                                */ - AlgorithmArn?: string; + Status?: string; /** - *

                                                                                When PerformAutoML is specified, the ARN of the chosen algorithm.

                                                                                + *

                                                                                If an error occurred, an informational message about the error.

                                                                                */ - AutoMLAlgorithmArns?: string[]; + Message?: string; /** - *

                                                                                The number of time-steps of the forecast. The forecast horizon is also called the - * prediction length.

                                                                                + *

                                                                                When the model training task was created.

                                                                                */ - ForecastHorizon?: number; + CreationTime?: Date; /** - *

                                                                                If an error occurred, an informational message about the error.

                                                                                + *

                                                                                Initially, the same as CreationTime (when the status is + * CREATE_PENDING). This value is updated when training starts (when the status + * changes to CREATE_IN_PROGRESS), and when training has completed (when the status + * changes to ACTIVE) or fails (when the status changes to + * CREATE_FAILED).

                                                                                */ - Message?: string; + LastModificationTime?: Date; } export namespace DescribePredictorResponse { @@ -2387,6 +2448,41 @@ export enum EvaluationType { SUMMARY = "SUMMARY", } +/** + *

                                                                                + * Provides detailed error metrics to evaluate the performance of a predictor. This object is + * part of the Metrics object. + *

                                                                                + */ +export interface ErrorMetric { + /** + *

                                                                                + * Forecast types can be quantiles from 0.01 to 0.99 (by increments of 0.01), and the mean. + *

                                                                                + */ + ForecastType?: string; + + /** + *

                                                                                + * The weighted absolute percentage error (WAPE). + *

                                                                                + */ + WAPE?: number; + + /** + *

                                                                                + * The root-mean-square error (RMSE). + *

                                                                                + */ + RMSE?: number; +} + +export namespace ErrorMetric { + export const filterSensitiveLog = (obj: ErrorMetric): any => ({ + ...obj, + }); +} + /** *

                                                                                The weighted loss value for a quantile. This object is part of the * Metrics object.

                                                                                @@ -2417,6 +2513,11 @@ export namespace WeightedQuantileLoss { * is part of the WindowSummary object.

                                                                                */ export interface Metrics { + /** + *

                                                                                The root-mean-square error (RMSE).

                                                                                + */ + RMSE?: number; + /** *

                                                                                An array of weighted quantile losses. Quantiles divide a probability distribution into * regions of equal probability. The distribution in this case is the loss function.

                                                                                @@ -2424,9 +2525,12 @@ export interface Metrics { WeightedQuantileLosses?: WeightedQuantileLoss[]; /** - *

                                                                                The root mean square error (RMSE).

                                                                                + *

                                                                                + * Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted + * average percentage error (WAPE). + *

                                                                                */ - RMSE?: number; + ErrorMetrics?: ErrorMetric[]; } export namespace Metrics { @@ -2443,6 +2547,16 @@ export namespace Metrics { * EvaluationParameters object.

                                                                                */ export interface WindowSummary { + /** + *

                                                                                The timestamp that defines the start of the window.

                                                                                + */ + TestWindowStart?: Date; + + /** + *

                                                                                The timestamp that defines the end of the window.

                                                                                + */ + TestWindowEnd?: Date; + /** *

                                                                                The number of data points within the window.

                                                                                */ @@ -2463,20 +2577,10 @@ export interface WindowSummary { */ EvaluationType?: EvaluationType | string; - /** - *

                                                                                The timestamp that defines the end of the window.

                                                                                - */ - TestWindowEnd?: Date; - /** *

                                                                                Provides metrics used to evaluate the performance of a predictor.

                                                                                */ Metrics?: Metrics; - - /** - *

                                                                                The timestamp that defines the start of the window.

                                                                                - */ - TestWindowStart?: Date; } export namespace WindowSummary { @@ -2538,17 +2642,17 @@ export namespace InvalidNextTokenException { } export interface ListDatasetGroupsRequest { - /** - *

                                                                                The number of items to return in the response.

                                                                                - */ - MaxResults?: number; - /** *

                                                                                If the result of the previous request was truncated, the response includes a * NextToken. To retrieve the next set of results, use the token in the next * request. Tokens expire after 24 hours.

                                                                                */ NextToken?: string; + + /** + *

                                                                                The number of items to return in the response.

                                                                                + */ + MaxResults?: number; } export namespace ListDatasetGroupsRequest { @@ -2624,6 +2728,11 @@ export enum FilterConditionString { * value.

                                                                                */ export interface Filter { + /** + *

                                                                                The name of the parameter to filter on.

                                                                                + */ + Key: string | undefined; + /** *

                                                                                The value to match.

                                                                                */ @@ -2634,11 +2743,6 @@ export interface Filter { * IS. To exclude matching objects, specify IS_NOT.

                                                                                */ Condition: FilterConditionString | string | undefined; - - /** - *

                                                                                The name of the parameter to filter on.

                                                                                - */ - Key: string | undefined; } export namespace Filter { @@ -2648,6 +2752,18 @@ export namespace Filter { } export interface ListDatasetImportJobsRequest { + /** + *

                                                                                If the result of the previous request was truncated, the response includes a + * NextToken. To retrieve the next set of results, use the token in the next + * request. Tokens expire after 24 hours.

                                                                                + */ + NextToken?: string; + + /** + *

                                                                                The number of items to return in the response.

                                                                                + */ + MaxResults?: number; + /** *

                                                                                An array of filters. For each filter, you provide a condition and a match statement. The * condition is either IS or IS_NOT, which specifies whether to include @@ -2681,18 +2797,6 @@ export interface ListDatasetImportJobsRequest { *

                                                                                */ Filters?: Filter[]; - - /** - *

                                                                                The number of items to return in the response.

                                                                                - */ - MaxResults?: number; - - /** - *

                                                                                If the result of the previous request was truncated, the response includes a - * NextToken. To retrieve the next set of results, use the token in the next - * request. Tokens expire after 24 hours.

                                                                                - */ - NextToken?: string; } export namespace ListDatasetImportJobsRequest { @@ -2707,6 +2811,23 @@ export namespace ListDatasetImportJobsRequest { * DatasetImportJobArn.

                                                                                */ export interface DatasetImportJobSummary { + /** + *

                                                                                The Amazon Resource Name (ARN) of the dataset import job.

                                                                                + */ + DatasetImportJobArn?: string; + + /** + *

                                                                                The name of the dataset import job.

                                                                                + */ + DatasetImportJobName?: string; + + /** + *

                                                                                The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast + * can assume to access the data. The training data must be stored in an Amazon S3 bucket.

                                                                                + *

                                                                                If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

                                                                                + */ + DataSource?: DataSource; + /** *

                                                                                The status of the dataset import job. The status is reflected in the status of the * dataset. For example, when the import job status is CREATE_IN_PROGRESS, the @@ -2733,6 +2854,16 @@ export interface DatasetImportJobSummary { */ Status?: string; + /** + *

                                                                                If an error occurred, an informational message about the error.

                                                                                + */ + Message?: string; + + /** + *

                                                                                When the dataset import job was created.

                                                                                + */ + CreationTime?: Date; + /** *

                                                                                The last time that the dataset was modified. The time depends on the status of the job, as * follows:

                                                                                @@ -2753,33 +2884,6 @@ export interface DatasetImportJobSummary { *
                                                                              */ LastModificationTime?: Date; - - /** - *

                                                                              The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast - * can assume to access the data. The training data must be stored in an Amazon S3 bucket.

                                                                              - *

                                                                              If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

                                                                              - */ - DataSource?: DataSource; - - /** - *

                                                                              If an error occurred, an informational message about the error.

                                                                              - */ - Message?: string; - - /** - *

                                                                              When the dataset import job was created.

                                                                              - */ - CreationTime?: Date; - - /** - *

                                                                              The name of the dataset import job.

                                                                              - */ - DatasetImportJobName?: string; - - /** - *

                                                                              The Amazon Resource Name (ARN) of the dataset import job.

                                                                              - */ - DatasetImportJobArn?: string; } export namespace DatasetImportJobSummary { @@ -2808,17 +2912,17 @@ export namespace ListDatasetImportJobsResponse { } export interface ListDatasetsRequest { - /** - *

                                                                              The number of items to return in the response.

                                                                              - */ - MaxResults?: number; - /** *

                                                                              If the result of the previous request was truncated, the response includes a * NextToken. To retrieve the next set of results, use the token in the next * request. Tokens expire after 24 hours.

                                                                              */ NextToken?: string; + + /** + *

                                                                              The number of items to return in the response.

                                                                              + */ + MaxResults?: number; } export namespace ListDatasetsRequest { @@ -2853,6 +2957,11 @@ export interface DatasetSummary { */ Domain?: Domain | string; + /** + *

                                                                              When the dataset was created.

                                                                              + */ + CreationTime?: Date; + /** *

                                                                              When you create a dataset, LastModificationTime is the same as * CreationTime. While data is being imported to the dataset, @@ -2861,11 +2970,6 @@ export interface DatasetSummary { * LastModificationTime is when the import job completed or failed.

                                                                              */ LastModificationTime?: Date; - - /** - *

                                                                              When the dataset was created.

                                                                              - */ - CreationTime?: Date; } export namespace DatasetSummary { @@ -2876,15 +2980,15 @@ export namespace DatasetSummary { export interface ListDatasetsResponse { /** - *

                                                                              If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of - * results, use the token in the next request.

                                                                              + *

                                                                              An array of objects that summarize each dataset's properties.

                                                                              */ - NextToken?: string; + Datasets?: DatasetSummary[]; /** - *

                                                                              An array of objects that summarize each dataset's properties.

                                                                              + *

                                                                              If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of + * results, use the token in the next request.

                                                                              */ - Datasets?: DatasetSummary[]; + NextToken?: string; } export namespace ListDatasetsResponse { @@ -2894,6 +2998,13 @@ export namespace ListDatasetsResponse { } export interface ListForecastExportJobsRequest { + /** + *

                                                                              If the result of the previous request was truncated, the response includes a + * NextToken. To retrieve the next set of results, use the token in the next + * request. Tokens expire after 24 hours.

                                                                              + */ + NextToken?: string; + /** *

                                                                              The number of items to return in the response.

                                                                              */ @@ -2933,13 +3044,6 @@ export interface ListForecastExportJobsRequest { *

                                                                              */ Filters?: Filter[]; - - /** - *

                                                                              If the result of the previous request was truncated, the response includes a - * NextToken. To retrieve the next set of results, use the token in the next - * request. Tokens expire after 24 hours.

                                                                              - */ - NextToken?: string; } export namespace ListForecastExportJobsRequest { @@ -2955,14 +3059,19 @@ export namespace ListForecastExportJobsRequest { */ export interface ForecastExportJobSummary { /** - *

                                                                              If an error occurred, an informational message about the error.

                                                                              + *

                                                                              The Amazon Resource Name (ARN) of the forecast export job.

                                                                              */ - Message?: string; + ForecastExportJobArn?: string; /** - *

                                                                              When the last successful export job finished.

                                                                              + *

                                                                              The name of the forecast export job.

                                                                              */ - LastModificationTime?: Date; + ForecastExportJobName?: string; + + /** + *

                                                                              The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.

                                                                              + */ + Destination?: DataDestination; /** *

                                                                              The status of the forecast export job. States include:

                                                                              @@ -2993,24 +3102,19 @@ export interface ForecastExportJobSummary { Status?: string; /** - *

                                                                              When the forecast export job was created.

                                                                              - */ - CreationTime?: Date; - - /** - *

                                                                              The Amazon Resource Name (ARN) of the forecast export job.

                                                                              + *

                                                                              If an error occurred, an informational message about the error.

                                                                              */ - ForecastExportJobArn?: string; + Message?: string; /** - *

                                                                              The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.

                                                                              + *

                                                                              When the forecast export job was created.

                                                                              */ - Destination?: DataDestination; + CreationTime?: Date; /** - *

                                                                              The name of the forecast export job.

                                                                              + *

                                                                              When the last successful export job finished.

                                                                              */ - ForecastExportJobName?: string; + LastModificationTime?: Date; } export namespace ForecastExportJobSummary { @@ -3021,15 +3125,15 @@ export namespace ForecastExportJobSummary { export interface ListForecastExportJobsResponse { /** - *

                                                                              If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of - * results, use the token in the next request.

                                                                              + *

                                                                              An array of objects that summarize each export job's properties.

                                                                              */ - NextToken?: string; + ForecastExportJobs?: ForecastExportJobSummary[]; /** - *

                                                                              An array of objects that summarize each export job's properties.

                                                                              + *

                                                                              If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of + * results, use the token in the next request.

                                                                              */ - ForecastExportJobs?: ForecastExportJobSummary[]; + NextToken?: string; } export namespace ListForecastExportJobsResponse { @@ -3039,11 +3143,6 @@ export namespace ListForecastExportJobsResponse { } export interface ListForecastsRequest { - /** - *

                                                                              The number of items to return in the response.

                                                                              - */ - MaxResults?: number; - /** *

                                                                              If the result of the previous request was truncated, the response includes a * NextToken. To retrieve the next set of results, use the token in the next @@ -3051,6 +3150,11 @@ export interface ListForecastsRequest { */ NextToken?: string; + /** + *

                                                                              The number of items to return in the response.

                                                                              + */ + MaxResults?: number; + /** *

                                                                              An array of filters. For each filter, you provide a condition and a match statement. The * condition is either IS or IS_NOT, which specifies whether to include @@ -3097,6 +3201,27 @@ export namespace ListForecastsRequest { * operation, and provide the ForecastArn that is listed in the summary.

                                                                              */ export interface ForecastSummary { + /** + *

                                                                              The ARN of the forecast.

                                                                              + */ + ForecastArn?: string; + + /** + *

                                                                              The name of the forecast.

                                                                              + */ + ForecastName?: string; + + /** + *

                                                                              The ARN of the predictor used to generate the forecast.

                                                                              + */ + PredictorArn?: string; + + /** + *

                                                                              The Amazon Resource Name (ARN) of the dataset group that provided the data used to train + * the predictor.

                                                                              + */ + DatasetGroupArn?: string; + /** *

                                                                              The status of the forecast. States include:

                                                                              *
                                                                                @@ -3125,44 +3250,23 @@ export interface ForecastSummary { */ Status?: string; - /** - *

                                                                                The name of the forecast.

                                                                                - */ - ForecastName?: string; - - /** - *

                                                                                Initially, the same as CreationTime (status is CREATE_PENDING). - * Updated when inference (creating the forecast) starts (status changed to - * CREATE_IN_PROGRESS), and when inference is complete (status changed to - * ACTIVE) or fails (status changed to CREATE_FAILED).

                                                                                - */ - LastModificationTime?: Date; - - /** - *

                                                                                When the forecast creation task was created.

                                                                                - */ - CreationTime?: Date; - - /** - *

                                                                                The ARN of the forecast.

                                                                                - */ - ForecastArn?: string; - /** *

                                                                                If an error occurred, an informational message about the error.

                                                                                */ Message?: string; /** - *

                                                                                The Amazon Resource Name (ARN) of the dataset group that provided the data used to train - * the predictor.

                                                                                + *

                                                                                When the forecast creation task was created.

                                                                                */ - DatasetGroupArn?: string; + CreationTime?: Date; /** - *

                                                                                The ARN of the predictor used to generate the forecast.

                                                                                + *

                                                                                Initially, the same as CreationTime (status is CREATE_PENDING). + * Updated when inference (creating the forecast) starts (status changed to + * CREATE_IN_PROGRESS), and when inference is complete (status changed to + * ACTIVE) or fails (status changed to CREATE_FAILED).

                                                                                */ - PredictorArn?: string; + LastModificationTime?: Date; } export namespace ForecastSummary { @@ -3248,11 +3352,22 @@ export namespace ListPredictorsRequest { * PredictorArn.

                                                                                */ export interface PredictorSummary { + /** + *

                                                                                The ARN of the predictor.

                                                                                + */ + PredictorArn?: string; + /** *

                                                                                The name of the predictor.

                                                                                */ PredictorName?: string; + /** + *

                                                                                The Amazon Resource Name (ARN) of the dataset group that contains the data used to train + * the predictor.

                                                                                + */ + DatasetGroupArn?: string; + /** *

                                                                                The status of the predictor. States include:

                                                                                *
                                                                                  @@ -3292,29 +3407,18 @@ export interface PredictorSummary { */ Message?: string; - /** - *

                                                                                  Initially, the same as CreationTime (status is CREATE_PENDING). - * Updated when training starts (status changed to CREATE_IN_PROGRESS), and when - * training is complete (status changed to ACTIVE) or fails (status changed to - * CREATE_FAILED).

                                                                                  - */ - LastModificationTime?: Date; - /** *

                                                                                  When the model training task was created.

                                                                                  */ CreationTime?: Date; /** - *

                                                                                  The ARN of the predictor.

                                                                                  - */ - PredictorArn?: string; - - /** - *

                                                                                  The Amazon Resource Name (ARN) of the dataset group that contains the data used to train - * the predictor.

                                                                                  + *

                                                                                  Initially, the same as CreationTime (status is CREATE_PENDING). + * Updated when training starts (status changed to CREATE_IN_PROGRESS), and when + * training is complete (status changed to ACTIVE) or fails (status changed to + * CREATE_FAILED).

                                                                                  */ - DatasetGroupArn?: string; + LastModificationTime?: Date; } export namespace PredictorSummary { @@ -3369,6 +3473,11 @@ export namespace ListTagsForResourceResponse { } export interface TagResourceRequest { + /** + *

                                                                                  The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are Forecast dataset groups, datasets, dataset import jobs, predictors, forecasts, and forecast export jobs.

                                                                                  + */ + ResourceArn: string | undefined; + /** *

                                                                                  The tags to add to the resource. A tag is an array of key-value pairs.

                                                                                  *

                                                                                  The following basic restrictions apply to tags:

                                                                                  @@ -3397,11 +3506,6 @@ export interface TagResourceRequest { *
                                                                                */ Tags: Tag[] | undefined; - - /** - *

                                                                                The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are Forecast dataset groups, datasets, dataset import jobs, predictors, forecasts, and forecast export jobs.

                                                                                - */ - ResourceArn: string | undefined; } export namespace TagResourceRequest { @@ -3446,15 +3550,15 @@ export namespace UntagResourceResponse { export interface UpdateDatasetGroupRequest { /** - *

                                                                                An array of the Amazon Resource Names (ARNs) of the datasets to add to the dataset - * group.

                                                                                + *

                                                                                The ARN of the dataset group.

                                                                                */ - DatasetArns: string[] | undefined; + DatasetGroupArn: string | undefined; /** - *

                                                                                The ARN of the dataset group.

                                                                                + *

                                                                                An array of the Amazon Resource Names (ARNs) of the datasets to add to the dataset + * group.

                                                                                */ - DatasetGroupArn: string | undefined; + DatasetArns: string[] | undefined; } export namespace UpdateDatasetGroupRequest { diff --git a/clients/client-forecast/pagination/ListDatasetGroupsPaginator.ts b/clients/client-forecast/pagination/ListDatasetGroupsPaginator.ts index 2bade7f4e9fc..b3ab4e1f49e0 100644 --- a/clients/client-forecast/pagination/ListDatasetGroupsPaginator.ts +++ b/clients/client-forecast/pagination/ListDatasetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetGroupsCommand(input), ...args); + return await client.send(new ListDatasetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListDatasetImportJobsPaginator.ts b/clients/client-forecast/pagination/ListDatasetImportJobsPaginator.ts index a53da6ae9958..8694b34c34f8 100644 --- a/clients/client-forecast/pagination/ListDatasetImportJobsPaginator.ts +++ b/clients/client-forecast/pagination/ListDatasetImportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetImportJobsCommand(input), ...args); + return await client.send(new ListDatasetImportJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListDatasetsPaginator.ts b/clients/client-forecast/pagination/ListDatasetsPaginator.ts index 79e675e9acbb..ddaec14f40c3 100644 --- a/clients/client-forecast/pagination/ListDatasetsPaginator.ts +++ b/clients/client-forecast/pagination/ListDatasetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetsCommand(input), ...args); + return await client.send(new ListDatasetsCommand(input, ...args)); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListForecastExportJobsPaginator.ts b/clients/client-forecast/pagination/ListForecastExportJobsPaginator.ts index a1edf1ac1e2b..514cbc47eb19 100644 --- a/clients/client-forecast/pagination/ListForecastExportJobsPaginator.ts +++ b/clients/client-forecast/pagination/ListForecastExportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListForecastExportJobsCommand(input), ...args); + return await client.send(new ListForecastExportJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListForecastsPaginator.ts b/clients/client-forecast/pagination/ListForecastsPaginator.ts index d6df656345ab..bf666805ebf2 100644 --- a/clients/client-forecast/pagination/ListForecastsPaginator.ts +++ b/clients/client-forecast/pagination/ListForecastsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListForecastsCommand(input), ...args); + return await client.send(new ListForecastsCommand(input, ...args)); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListPredictorsPaginator.ts b/clients/client-forecast/pagination/ListPredictorsPaginator.ts index a0fcdaf1b5bb..14fa7989326f 100644 --- a/clients/client-forecast/pagination/ListPredictorsPaginator.ts +++ b/clients/client-forecast/pagination/ListPredictorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPredictorsCommand(input), ...args); + return await client.send(new ListPredictorsCommand(input, ...args)); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/protocols/Aws_json1_1.ts b/clients/client-forecast/protocols/Aws_json1_1.ts index 5987e8a9a4a8..397e787441c4 100644 --- a/clients/client-forecast/protocols/Aws_json1_1.ts +++ b/clients/client-forecast/protocols/Aws_json1_1.ts @@ -96,6 +96,7 @@ import { DescribePredictorRequest, DescribePredictorResponse, EncryptionConfig, + ErrorMetric, EvaluationParameters, EvaluationResult, Featurization, @@ -2737,6 +2738,9 @@ const serializeAws_json1_1CreatePredictorRequest = (input: CreatePredictorReques FeaturizationConfig: serializeAws_json1_1FeaturizationConfig(input.FeaturizationConfig, context), }), ...(input.ForecastHorizon !== undefined && { ForecastHorizon: input.ForecastHorizon }), + ...(input.ForecastTypes !== undefined && { + ForecastTypes: serializeAws_json1_1ForecastTypes(input.ForecastTypes, context), + }), ...(input.HPOConfig !== undefined && { HPOConfig: serializeAws_json1_1HyperParameterTuningJobConfig(input.HPOConfig, context), }), @@ -3540,6 +3544,10 @@ const deserializeAws_json1_1DescribePredictorResponse = ( : undefined, ForecastHorizon: output.ForecastHorizon !== undefined && output.ForecastHorizon !== null ? output.ForecastHorizon : undefined, + ForecastTypes: + output.ForecastTypes !== undefined && output.ForecastTypes !== null + ? deserializeAws_json1_1ForecastTypes(output.ForecastTypes, context) + : undefined, HPOConfig: output.HPOConfig !== undefined && output.HPOConfig !== null ? deserializeAws_json1_1HyperParameterTuningJobConfig(output.HPOConfig, context) @@ -3578,6 +3586,18 @@ const deserializeAws_json1_1EncryptionConfig = (output: any, context: __SerdeCon } as any; }; +const deserializeAws_json1_1ErrorMetric = (output: any, context: __SerdeContext): ErrorMetric => { + return { + ForecastType: output.ForecastType !== undefined && output.ForecastType !== null ? output.ForecastType : undefined, + RMSE: output.RMSE !== undefined && output.RMSE !== null ? output.RMSE : undefined, + WAPE: output.WAPE !== undefined && output.WAPE !== null ? output.WAPE : undefined, + } as any; +}; + +const deserializeAws_json1_1ErrorMetrics = (output: any, context: __SerdeContext): ErrorMetric[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ErrorMetric(entry, context)); +}; + const deserializeAws_json1_1EvaluationParameters = (output: any, context: __SerdeContext): EvaluationParameters => { return { BackTestWindowOffset: @@ -3892,6 +3912,10 @@ const deserializeAws_json1_1ListTagsForResourceResponse = ( const deserializeAws_json1_1Metrics = (output: any, context: __SerdeContext): Metrics => { return { + ErrorMetrics: + output.ErrorMetrics !== undefined && output.ErrorMetrics !== null + ? deserializeAws_json1_1ErrorMetrics(output.ErrorMetrics, context) + : undefined, RMSE: output.RMSE !== undefined && output.RMSE !== null ? output.RMSE : undefined, WeightedQuantileLosses: output.WeightedQuantileLosses !== undefined && output.WeightedQuantileLosses !== null diff --git a/clients/client-frauddetector/pagination/DescribeModelVersionsPaginator.ts b/clients/client-frauddetector/pagination/DescribeModelVersionsPaginator.ts index 1476ac62e012..ba7fc87b1e18 100644 --- a/clients/client-frauddetector/pagination/DescribeModelVersionsPaginator.ts +++ b/clients/client-frauddetector/pagination/DescribeModelVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeModelVersionsCommand(input), ...args); + return await client.send(new DescribeModelVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetDetectorsPaginator.ts b/clients/client-frauddetector/pagination/GetDetectorsPaginator.ts index 1c2c0330edf0..ec4f374b1203 100644 --- a/clients/client-frauddetector/pagination/GetDetectorsPaginator.ts +++ b/clients/client-frauddetector/pagination/GetDetectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDetectorsCommand(input), ...args); + return await client.send(new GetDetectorsCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetEntityTypesPaginator.ts b/clients/client-frauddetector/pagination/GetEntityTypesPaginator.ts index 44ce8d949f98..67abdacac833 100644 --- a/clients/client-frauddetector/pagination/GetEntityTypesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetEntityTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetEntityTypesCommand(input), ...args); + return await client.send(new GetEntityTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetEventTypesPaginator.ts b/clients/client-frauddetector/pagination/GetEventTypesPaginator.ts index ee482fae45f3..34ec778a5166 100644 --- a/clients/client-frauddetector/pagination/GetEventTypesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetEventTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetEventTypesCommand(input), ...args); + return await client.send(new GetEventTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetExternalModelsPaginator.ts b/clients/client-frauddetector/pagination/GetExternalModelsPaginator.ts index 2cd1643a2939..50089b32d42c 100644 --- a/clients/client-frauddetector/pagination/GetExternalModelsPaginator.ts +++ b/clients/client-frauddetector/pagination/GetExternalModelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetExternalModelsCommand(input), ...args); + return await client.send(new GetExternalModelsCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetLabelsPaginator.ts b/clients/client-frauddetector/pagination/GetLabelsPaginator.ts index 0d9af1249205..78abad957b3b 100644 --- a/clients/client-frauddetector/pagination/GetLabelsPaginator.ts +++ b/clients/client-frauddetector/pagination/GetLabelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLabelsCommand(input), ...args); + return await client.send(new GetLabelsCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetModelsPaginator.ts b/clients/client-frauddetector/pagination/GetModelsPaginator.ts index 1ebca44fd90b..25a83583396a 100644 --- a/clients/client-frauddetector/pagination/GetModelsPaginator.ts +++ b/clients/client-frauddetector/pagination/GetModelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetModelsCommand(input), ...args); + return await client.send(new GetModelsCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetOutcomesPaginator.ts b/clients/client-frauddetector/pagination/GetOutcomesPaginator.ts index a7d19f50da5d..22d9d48928ac 100644 --- a/clients/client-frauddetector/pagination/GetOutcomesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetOutcomesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetOutcomesCommand(input), ...args); + return await client.send(new GetOutcomesCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetRulesPaginator.ts b/clients/client-frauddetector/pagination/GetRulesPaginator.ts index 35294280cba4..df8b4d4470bc 100644 --- a/clients/client-frauddetector/pagination/GetRulesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetRulesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetRulesCommand(input), ...args); + return await client.send(new GetRulesCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetVariablesPaginator.ts b/clients/client-frauddetector/pagination/GetVariablesPaginator.ts index 0cc4000066d5..239f59c24f6c 100644 --- a/clients/client-frauddetector/pagination/GetVariablesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetVariablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetVariablesCommand(input), ...args); + return await client.send(new GetVariablesCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/ListTagsForResourcePaginator.ts b/clients/client-frauddetector/pagination/ListTagsForResourcePaginator.ts index c62a86f966e0..22b004259e6b 100644 --- a/clients/client-frauddetector/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-frauddetector/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-fsx/FSx.ts b/clients/client-fsx/FSx.ts index 0063cee2e6ae..2db2a8d0df98 100644 --- a/clients/client-fsx/FSx.ts +++ b/clients/client-fsx/FSx.ts @@ -1,4 +1,9 @@ import { FSxClient } from "./FSxClient"; +import { + AssociateFileSystemAliasesCommand, + AssociateFileSystemAliasesCommandInput, + AssociateFileSystemAliasesCommandOutput, +} from "./commands/AssociateFileSystemAliasesCommand"; import { CancelDataRepositoryTaskCommand, CancelDataRepositoryTaskCommandInput, @@ -44,11 +49,21 @@ import { DescribeDataRepositoryTasksCommandInput, DescribeDataRepositoryTasksCommandOutput, } from "./commands/DescribeDataRepositoryTasksCommand"; +import { + DescribeFileSystemAliasesCommand, + DescribeFileSystemAliasesCommandInput, + DescribeFileSystemAliasesCommandOutput, +} from "./commands/DescribeFileSystemAliasesCommand"; import { DescribeFileSystemsCommand, DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput, } from "./commands/DescribeFileSystemsCommand"; +import { + DisassociateFileSystemAliasesCommand, + DisassociateFileSystemAliasesCommandInput, + DisassociateFileSystemAliasesCommandOutput, +} from "./commands/DisassociateFileSystemAliasesCommand"; import { ListTagsForResourceCommand, ListTagsForResourceCommandInput, @@ -72,6 +87,48 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; * application administrators to launch and use shared file storage.

                                                                                */ export class FSx extends FSxClient { + /** + *

                                                                                Use this action to associate one or more Domain Name Server (DNS) aliases with an existing Amazon FSx for Windows File Server file system. + * A file systen can have a maximum of 50 DNS aliases associated with it at any one time. If you try to + * associate a DNS alias that is already associated with the file system, FSx takes no action on that alias in the request. + * For more information, see Working with DNS Aliases and + * Walkthrough 5: Using DNS aliases to access your file system, including + * additional steps you must take to be able to access your file system using a DNS alias.

                                                                                + *

                                                                                The system response shows the DNS aliases that + * Amazon FSx is attempting to associate with the file system. + * Use the API + * operation to monitor the status of the aliases Amazon FSx is + * associating with the file system.

                                                                                + */ + public associateFileSystemAliases( + args: AssociateFileSystemAliasesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public associateFileSystemAliases( + args: AssociateFileSystemAliasesCommandInput, + cb: (err: any, data?: AssociateFileSystemAliasesCommandOutput) => void + ): void; + public associateFileSystemAliases( + args: AssociateFileSystemAliasesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AssociateFileSystemAliasesCommandOutput) => void + ): void; + public associateFileSystemAliases( + args: AssociateFileSystemAliasesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateFileSystemAliasesCommandOutput) => void), + cb?: (err: any, data?: AssociateFileSystemAliasesCommandOutput) => void + ): Promise | void { + const command = new AssociateFileSystemAliasesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                                                                                Cancels an existing Amazon FSx for Lustre data repository task if that task is in either the * PENDING or EXECUTING state. When you cancel a task, Amazon FSx does the following.

                                                                                @@ -554,6 +611,40 @@ export class FSx extends FSxClient { } } + /** + *

                                                                                Returns the DNS aliases that are associated with the specified Amazon FSx for Windows File Server file system. A history of + * all DNS aliases that have been associated with and disassociated from the file system is available in the list of AdministrativeAction + * provided in the DescribeFileSystems operation response.

                                                                                + */ + public describeFileSystemAliases( + args: DescribeFileSystemAliasesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeFileSystemAliases( + args: DescribeFileSystemAliasesCommandInput, + cb: (err: any, data?: DescribeFileSystemAliasesCommandOutput) => void + ): void; + public describeFileSystemAliases( + args: DescribeFileSystemAliasesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeFileSystemAliasesCommandOutput) => void + ): void; + public describeFileSystemAliases( + args: DescribeFileSystemAliasesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFileSystemAliasesCommandOutput) => void), + cb?: (err: any, data?: DescribeFileSystemAliasesCommandOutput) => void + ): Promise | void { + const command = new DescribeFileSystemAliasesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                                                                                Returns the description of specific Amazon FSx file systems, if a * FileSystemIds value is provided for that file system. Otherwise, it @@ -617,6 +708,46 @@ export class FSx extends FSxClient { } } + /** + *

                                                                                Use this action to disassociate, or remove, one or more Domain Name Service (DNS) aliases + * from an Amazon FSx for Windows File Server file system. If you attempt to disassociate a DNS alias that is not + * associated with the file system, Amazon FSx responds with a 400 Bad Request. For more information, see + * Working with DNS Aliases.

                                                                                + *

                                                                                The system generated response showing the DNS aliases that + * Amazon FSx is attempting to disassociate from the file system. + * Use the API + * operation to monitor the status of the aliases Amazon FSx is + * disassociating with the file system.

                                                                                + */ + public disassociateFileSystemAliases( + args: DisassociateFileSystemAliasesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public disassociateFileSystemAliases( + args: DisassociateFileSystemAliasesCommandInput, + cb: (err: any, data?: DisassociateFileSystemAliasesCommandOutput) => void + ): void; + public disassociateFileSystemAliases( + args: DisassociateFileSystemAliasesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DisassociateFileSystemAliasesCommandOutput) => void + ): void; + public disassociateFileSystemAliases( + args: DisassociateFileSystemAliasesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateFileSystemAliasesCommandOutput) => void), + cb?: (err: any, data?: DisassociateFileSystemAliasesCommandOutput) => void + ): Promise | void { + const command = new DisassociateFileSystemAliasesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                                                                                Lists tags for an Amazon FSx file systems and backups in the case of Amazon FSx for * Windows File Server.

                                                                                diff --git a/clients/client-fsx/FSxClient.ts b/clients/client-fsx/FSxClient.ts index 81caa96348ee..ccd886da47e4 100644 --- a/clients/client-fsx/FSxClient.ts +++ b/clients/client-fsx/FSxClient.ts @@ -1,3 +1,7 @@ +import { + AssociateFileSystemAliasesCommandInput, + AssociateFileSystemAliasesCommandOutput, +} from "./commands/AssociateFileSystemAliasesCommand"; import { CancelDataRepositoryTaskCommandInput, CancelDataRepositoryTaskCommandOutput, @@ -19,10 +23,18 @@ import { DescribeDataRepositoryTasksCommandInput, DescribeDataRepositoryTasksCommandOutput, } from "./commands/DescribeDataRepositoryTasksCommand"; +import { + DescribeFileSystemAliasesCommandInput, + DescribeFileSystemAliasesCommandOutput, +} from "./commands/DescribeFileSystemAliasesCommand"; import { DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput, } from "./commands/DescribeFileSystemsCommand"; +import { + DisassociateFileSystemAliasesCommandInput, + DisassociateFileSystemAliasesCommandOutput, +} from "./commands/DisassociateFileSystemAliasesCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, @@ -80,6 +92,7 @@ import { } from "@aws-sdk/types"; export type ServiceInputTypes = + | AssociateFileSystemAliasesCommandInput | CancelDataRepositoryTaskCommandInput | CreateBackupCommandInput | CreateDataRepositoryTaskCommandInput @@ -89,13 +102,16 @@ export type ServiceInputTypes = | DeleteFileSystemCommandInput | DescribeBackupsCommandInput | DescribeDataRepositoryTasksCommandInput + | DescribeFileSystemAliasesCommandInput | DescribeFileSystemsCommandInput + | DisassociateFileSystemAliasesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFileSystemCommandInput; export type ServiceOutputTypes = + | AssociateFileSystemAliasesCommandOutput | CancelDataRepositoryTaskCommandOutput | CreateBackupCommandOutput | CreateDataRepositoryTaskCommandOutput @@ -105,7 +121,9 @@ export type ServiceOutputTypes = | DeleteFileSystemCommandOutput | DescribeBackupsCommandOutput | DescribeDataRepositoryTasksCommandOutput + | DescribeFileSystemAliasesCommandOutput | DescribeFileSystemsCommandOutput + | DisassociateFileSystemAliasesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput diff --git a/clients/client-fsx/commands/AssociateFileSystemAliasesCommand.ts b/clients/client-fsx/commands/AssociateFileSystemAliasesCommand.ts new file mode 100644 index 000000000000..c95a305ce034 --- /dev/null +++ b/clients/client-fsx/commands/AssociateFileSystemAliasesCommand.ts @@ -0,0 +1,85 @@ +import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; +import { AssociateFileSystemAliasesRequest, AssociateFileSystemAliasesResponse } from "../models/models_0"; +import { + deserializeAws_json1_1AssociateFileSystemAliasesCommand, + serializeAws_json1_1AssociateFileSystemAliasesCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type AssociateFileSystemAliasesCommandInput = AssociateFileSystemAliasesRequest; +export type AssociateFileSystemAliasesCommandOutput = AssociateFileSystemAliasesResponse & __MetadataBearer; + +export class AssociateFileSystemAliasesCommand extends $Command< + AssociateFileSystemAliasesCommandInput, + AssociateFileSystemAliasesCommandOutput, + FSxClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: AssociateFileSystemAliasesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FSxClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FSxClient"; + const commandName = "AssociateFileSystemAliasesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: AssociateFileSystemAliasesRequest.filterSensitiveLog, + outputFilterSensitiveLog: AssociateFileSystemAliasesResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: AssociateFileSystemAliasesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1AssociateFileSystemAliasesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1AssociateFileSystemAliasesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-fsx/commands/DescribeFileSystemAliasesCommand.ts b/clients/client-fsx/commands/DescribeFileSystemAliasesCommand.ts new file mode 100644 index 000000000000..da3623ba6f24 --- /dev/null +++ b/clients/client-fsx/commands/DescribeFileSystemAliasesCommand.ts @@ -0,0 +1,85 @@ +import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; +import { DescribeFileSystemAliasesRequest, DescribeFileSystemAliasesResponse } from "../models/models_0"; +import { + deserializeAws_json1_1DescribeFileSystemAliasesCommand, + serializeAws_json1_1DescribeFileSystemAliasesCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeFileSystemAliasesCommandInput = DescribeFileSystemAliasesRequest; +export type DescribeFileSystemAliasesCommandOutput = DescribeFileSystemAliasesResponse & __MetadataBearer; + +export class DescribeFileSystemAliasesCommand extends $Command< + DescribeFileSystemAliasesCommandInput, + DescribeFileSystemAliasesCommandOutput, + FSxClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeFileSystemAliasesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FSxClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FSxClient"; + const commandName = "DescribeFileSystemAliasesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeFileSystemAliasesRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeFileSystemAliasesResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeFileSystemAliasesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DescribeFileSystemAliasesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1DescribeFileSystemAliasesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-fsx/commands/DisassociateFileSystemAliasesCommand.ts b/clients/client-fsx/commands/DisassociateFileSystemAliasesCommand.ts new file mode 100644 index 000000000000..9189050f3e5f --- /dev/null +++ b/clients/client-fsx/commands/DisassociateFileSystemAliasesCommand.ts @@ -0,0 +1,85 @@ +import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; +import { DisassociateFileSystemAliasesRequest, DisassociateFileSystemAliasesResponse } from "../models/models_0"; +import { + deserializeAws_json1_1DisassociateFileSystemAliasesCommand, + serializeAws_json1_1DisassociateFileSystemAliasesCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DisassociateFileSystemAliasesCommandInput = DisassociateFileSystemAliasesRequest; +export type DisassociateFileSystemAliasesCommandOutput = DisassociateFileSystemAliasesResponse & __MetadataBearer; + +export class DisassociateFileSystemAliasesCommand extends $Command< + DisassociateFileSystemAliasesCommandInput, + DisassociateFileSystemAliasesCommandOutput, + FSxClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DisassociateFileSystemAliasesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FSxClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FSxClient"; + const commandName = "DisassociateFileSystemAliasesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DisassociateFileSystemAliasesRequest.filterSensitiveLog, + outputFilterSensitiveLog: DisassociateFileSystemAliasesResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DisassociateFileSystemAliasesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DisassociateFileSystemAliasesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1DisassociateFileSystemAliasesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-fsx/index.ts b/clients/client-fsx/index.ts index ba6ae6e17301..21fa10739a64 100644 --- a/clients/client-fsx/index.ts +++ b/clients/client-fsx/index.ts @@ -1,5 +1,6 @@ export * from "./FSxClient"; export * from "./FSx"; +export * from "./commands/AssociateFileSystemAliasesCommand"; export * from "./commands/CancelDataRepositoryTaskCommand"; export * from "./commands/CreateBackupCommand"; export * from "./commands/CreateDataRepositoryTaskCommand"; @@ -11,8 +12,11 @@ export * from "./commands/DescribeBackupsCommand"; export * from "./pagination/DescribeBackupsPaginator"; export * from "./commands/DescribeDataRepositoryTasksCommand"; export * from "./pagination/DescribeDataRepositoryTasksPaginator"; +export * from "./commands/DescribeFileSystemAliasesCommand"; +export * from "./pagination/DescribeFileSystemAliasesPaginator"; export * from "./commands/DescribeFileSystemsCommand"; export * from "./pagination/DescribeFileSystemsPaginator"; +export * from "./commands/DisassociateFileSystemAliasesCommand"; export * from "./commands/ListTagsForResourceCommand"; export * from "./commands/TagResourceCommand"; export * from "./commands/UntagResourceCommand"; diff --git a/clients/client-fsx/models/models_0.ts b/clients/client-fsx/models/models_0.ts index 373ca1a7c39b..22fab3d5e2a0 100644 --- a/clients/client-fsx/models/models_0.ts +++ b/clients/client-fsx/models/models_0.ts @@ -6,14 +6,14 @@ import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; */ export interface ActiveDirectoryBackupAttributes { /** - *

                                                                                The ID of the AWS Managed Microsoft Active Directory instance to which the file system is joined.

                                                                                + *

                                                                                The fully qualified domain name of the self-managed AD directory.

                                                                                */ - ActiveDirectoryId?: string; + DomainName?: string; /** - *

                                                                                The fully qualified domain name of the self-managed AD directory.

                                                                                + *

                                                                                The ID of the AWS Managed Microsoft Active Directory instance to which the file system is joined.

                                                                                */ - DomainName?: string; + ActiveDirectoryId?: string; } export namespace ActiveDirectoryBackupAttributes { @@ -36,14 +36,14 @@ export interface ActiveDirectoryError extends __SmithyException, $MetadataBearer name: "ActiveDirectoryError"; $fault: "client"; /** - *

                                                                                The type of Active Directory error.

                                                                                + *

                                                                                The directory ID of the directory that an error pertains to.

                                                                                */ - Type?: ActiveDirectoryErrorType | string; + ActiveDirectoryId: string | undefined; /** - *

                                                                                The directory ID of the directory that an error pertains to.

                                                                                + *

                                                                                The type of Active Directory error.

                                                                                */ - ActiveDirectoryId: string | undefined; + Type?: ActiveDirectoryErrorType | string; /** *

                                                                                A detailed error message.

                                                                                @@ -58,6 +58,8 @@ export namespace ActiveDirectoryError { } export enum AdministrativeActionType { + FILE_SYSTEM_ALIAS_ASSOCIATION = "FILE_SYSTEM_ALIAS_ASSOCIATION", + FILE_SYSTEM_ALIAS_DISASSOCIATION = "FILE_SYSTEM_ALIAS_DISASSOCIATION", FILE_SYSTEM_UPDATE = "FILE_SYSTEM_UPDATE", STORAGE_OPTIMIZATION = "STORAGE_OPTIMIZATION", } @@ -67,7 +69,7 @@ export enum AdministrativeActionType { */ export interface AdministrativeActionFailureDetails { /** - *

                                                                                Error message providing details about the failure.

                                                                                + *

                                                                                Error message providing details about the failed administrative action.

                                                                                */ Message?: string; } @@ -191,18 +193,23 @@ export interface DataRepositoryConfiguration { */ ImportPath?: string; - /** - *

                                                                                Provides detailed information about the data respository if its Lifecycle is - * set to MISCONFIGURED.

                                                                                - */ - FailureDetails?: DataRepositoryFailureDetails; - /** *

                                                                                The export path to the Amazon S3 bucket (and prefix) that you are using to store new and * changed Lustre file system files in S3.

                                                                                */ ExportPath?: string; + /** + *

                                                                                For files imported from a data repository, this value determines the stripe count and + * maximum amount of data per file (in MiB) stored on a single physical disk. The maximum + * number of disks that a single file can be striped across is limited by the total number + * of disks that make up the file system.

                                                                                + * + *

                                                                                The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 + * GiB). Amazon S3 objects have a maximum size of 5 TB.

                                                                                + */ + ImportedFileChunkSize?: number; + /** *

                                                                                Describes the file system's linked S3 data repository's AutoImportPolicy. * The AutoImportPolicy configures how Amazon FSx keeps your file and directory listings up to date @@ -234,15 +241,10 @@ export interface DataRepositoryConfiguration { AutoImportPolicy?: AutoImportPolicyType | string; /** - *

                                                                                For files imported from a data repository, this value determines the stripe count and - * maximum amount of data per file (in MiB) stored on a single physical disk. The maximum - * number of disks that a single file can be striped across is limited by the total number - * of disks that make up the file system.

                                                                                - * - *

                                                                                The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 - * GiB). Amazon S3 objects have a maximum size of 5 TB.

                                                                                + *

                                                                                Provides detailed information about the data respository if its Lifecycle is + * set to MISCONFIGURED.

                                                                                */ - ImportedFileChunkSize?: number; + FailureDetails?: DataRepositoryFailureDetails; } export namespace DataRepositoryConfiguration { @@ -267,22 +269,31 @@ export enum DriveCacheType { */ export interface LustreFileSystemConfiguration { /** - *

                                                                                A boolean flag indicating whether tags on the file system should be copied to backups. - * If it's set to true, all tags on the file system are - * copied to all automatic backups and any user-initiated backups where the user - * doesn't specify any tags. If this value is true, and you specify one or more tags, - * only the specified tags are copied to backups. If you specify one or more tags when - * creating a user-initiated backup, no tags are copied from the file system, - * regardless of this value. (Default = false)

                                                                                + *

                                                                                The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC + * time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                */ - CopyTagsToBackups?: boolean; + WeeklyMaintenanceStartTime?: string; /** - *

                                                                                A recurring daily time, in the format HH:MM. HH is the - * zero-padded hour of the day (0-23), and MM is the zero-padded minute of the - * hour. For example, 05:00 specifies 5 AM daily.

                                                                                + *

                                                                                The data repository configuration object for Lustre file systems returned in the response of + * the CreateFileSystem operation.

                                                                                */ - DailyAutomaticBackupStartTime?: string; + DataRepositoryConfiguration?: DataRepositoryConfiguration; + + /** + *

                                                                                The deployment type of the FSX for Lustre file system. Scratch deployment type is designed for temporary storage + * and shorter-term processing of data.

                                                                                + *

                                                                                + * SCRATCH_1 and SCRATCH_2 deployment + * types are best suited for when you need temporary storage and shorter-term processing of data. + * The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst + * throughput capacity than SCRATCH_1.

                                                                                + *

                                                                                The PERSISTENT_1 deployment type is used for longer-term storage + * and workloads and encryption of data in transit. To learn more about deployment types, see + * + * FSx for Lustre Deployment Options. (Default = SCRATCH_1)

                                                                                + */ + DeploymentType?: LustreDeploymentType | string; /** *

                                                                                Per unit storage throughput represents the megabytes per second of read or write @@ -293,18 +304,6 @@ export interface LustreFileSystemConfiguration { */ PerUnitStorageThroughput?: number; - /** - *

                                                                                The number of days to retain automatic backups. Setting this to 0 disables - * automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0.

                                                                                - */ - AutomaticBackupRetentionDays?: number; - - /** - *

                                                                                The data repository configuration object for Lustre file systems returned in the response of - * the CreateFileSystem operation.

                                                                                - */ - DataRepositoryConfiguration?: DataRepositoryConfiguration; - /** *

                                                                                You use the MountName value when mounting the file system.

                                                                                *

                                                                                For the SCRATCH_1 deployment type, this value is always "fsx". @@ -316,19 +315,28 @@ export interface LustreFileSystemConfiguration { MountName?: string; /** - *

                                                                                The deployment type of the FSX for Lustre file system. Scratch deployment type is designed for temporary storage - * and shorter-term processing of data.

                                                                                - *

                                                                                - * SCRATCH_1 and SCRATCH_2 deployment - * types are best suited for when you need temporary storage and shorter-term processing of data. - * The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst - * throughput capacity than SCRATCH_1.

                                                                                - *

                                                                                The PERSISTENT_1 deployment type is used for longer-term storage - * and workloads and encryption of data in transit. To learn more about deployment types, see - * - * FSx for Lustre Deployment Options. (Default = SCRATCH_1)

                                                                                + *

                                                                                A recurring daily time, in the format HH:MM. HH is the + * zero-padded hour of the day (0-23), and MM is the zero-padded minute of the + * hour. For example, 05:00 specifies 5 AM daily.

                                                                                */ - DeploymentType?: LustreDeploymentType | string; + DailyAutomaticBackupStartTime?: string; + + /** + *

                                                                                The number of days to retain automatic backups. Setting this to 0 disables + * automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0.

                                                                                + */ + AutomaticBackupRetentionDays?: number; + + /** + *

                                                                                A boolean flag indicating whether tags on the file system should be copied to backups. + * If it's set to true, all tags on the file system are + * copied to all automatic backups and any user-initiated backups where the user + * doesn't specify any tags. If this value is true, and you specify one or more tags, + * only the specified tags are copied to backups. If you specify one or more tags when + * creating a user-initiated backup, no tags are copied from the file system, + * regardless of this value. (Default = false)

                                                                                + */ + CopyTagsToBackups?: boolean; /** *

                                                                                The type of drive cache used by PERSISTENT_1 file systems that are provisioned with @@ -338,12 +346,6 @@ export interface LustreFileSystemConfiguration { *

                                                                                This parameter is required when StorageType is set to HDD.

                                                                                */ DriveCacheType?: DriveCacheType | string; - - /** - *

                                                                                The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC - * time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                - */ - WeeklyMaintenanceStartTime?: string; } export namespace LustreFileSystemConfiguration { @@ -361,6 +363,12 @@ export enum StorageType { *

                                                                                Specifies a key-value pair for a resource tag.

                                                                                */ export interface Tag { + /** + *

                                                                                A value that specifies the TagKey, the name of the tag. Tag keys must + * be unique for the resource to which they are attached.

                                                                                + */ + Key: string | undefined; + /** *

                                                                                A value that specifies the TagValue, the value assigned to the * corresponding tag key. Tag values can be null and don't have to be unique in a tag set. @@ -368,16 +376,75 @@ export interface Tag { * and also of payroll : April.

                                                                                */ Value: string | undefined; +} + +export namespace Tag { + export const filterSensitiveLog = (obj: Tag): any => ({ + ...obj, + }); +} + +export enum AliasLifecycle { + AVAILABLE = "AVAILABLE", + CREATE_FAILED = "CREATE_FAILED", + CREATING = "CREATING", + DELETE_FAILED = "DELETE_FAILED", + DELETING = "DELETING", +} +/** + *

                                                                                A DNS alias that is associated with the file system. You can use a DNS alias to access a file system using + * user-defined DNS names, in addition to the default DNS name + * that Amazon FSx assigns to the file system. For more information, see + * DNS aliases in the FSx for Windows File Server User Guide.

                                                                                + */ +export interface Alias { /** - *

                                                                                A value that specifies the TagKey, the name of the tag. Tag keys must - * be unique for the resource to which they are attached.

                                                                                + *

                                                                                The name of the DNS alias. The alias name has to meet the following requirements:

                                                                                + *
                                                                                  + *
                                                                                • + *

                                                                                  Formatted as a fully-qualified domain name (FQDN), hostname.domain, for example, accounting.example.com.

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  Can contain alphanumeric characters and the hyphen (-).

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  Cannot start or end with a hyphen.

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  Can start with a numeric.

                                                                                  + *
                                                                                • + *
                                                                                + *

                                                                                For DNS names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: + * as uppercase letters, lowercase letters, or the corresponding letters in escape codes.

                                                                                */ - Key: string | undefined; + Name?: string; + + /** + *

                                                                                Describes the state of the DNS alias.

                                                                                + *
                                                                                  + *
                                                                                • + *

                                                                                  AVAILABLE - The DNS alias is associated with an Amazon FSx file system.

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  CREATING - Amazon FSx is creating the DNS alias and associating it with the file system.

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  CREATE_FAILED - Amazon FSx was unable to associate the DNS alias with the file system.

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  DELETING - Amazon FSx is disassociating the DNS alias from the file system and deleting it.

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  DELETE_FAILED - Amazon FSx was unable to disassocate the DNS alias from the file system.

                                                                                  + *
                                                                                • + *
                                                                                + */ + Lifecycle?: AliasLifecycle | string; } -export namespace Tag { - export const filterSensitiveLog = (obj: Tag): any => ({ +export namespace Alias { + export const filterSensitiveLog = (obj: Alias): any => ({ ...obj, }); } @@ -399,16 +466,9 @@ export enum FileSystemMaintenanceOperation { */ export interface SelfManagedActiveDirectoryAttributes { /** - *

                                                                                The name of the domain group whose members have administrative privileges for the FSx - * file system.

                                                                                - */ - FileSystemAdministratorsGroup?: string; - - /** - *

                                                                                The user name for the service account on your self-managed AD domain that FSx uses to - * join to your AD domain.

                                                                                + *

                                                                                The fully qualified domain name of the self-managed AD directory.

                                                                                */ - UserName?: string; + DomainName?: string; /** *

                                                                                The fully qualified distinguished name of the organizational unit within the @@ -417,9 +477,16 @@ export interface SelfManagedActiveDirectoryAttributes { OrganizationalUnitDistinguishedName?: string; /** - *

                                                                                The fully qualified domain name of the self-managed AD directory.

                                                                                + *

                                                                                The name of the domain group whose members have administrative privileges for the FSx + * file system.

                                                                                */ - DomainName?: string; + FileSystemAdministratorsGroup?: string; + + /** + *

                                                                                The user name for the service account on your self-managed AD domain that FSx uses to + * join to your AD domain.

                                                                                + */ + UserName?: string; /** *

                                                                                A list of up to two IP addresses of DNS servers or domain controllers in the @@ -445,10 +512,42 @@ export interface WindowsFileSystemConfiguration { ActiveDirectoryId?: string; /** - *

                                                                                The number of days to retain automatic backups. Setting this to 0 disables automatic - * backups. You can retain automatic backups for a maximum of 90 days.

                                                                                + *

                                                                                The configuration of the self-managed Microsoft Active Directory (AD) directory to + * which the Windows File Server instance is joined.

                                                                                */ - AutomaticBackupRetentionDays?: number; + SelfManagedActiveDirectoryConfiguration?: SelfManagedActiveDirectoryAttributes; + + /** + *

                                                                                Specifies the file system deployment type, valid values are the following:

                                                                                + *
                                                                                  + *
                                                                                • + *

                                                                                  + * MULTI_AZ_1 - Specifies a high availability file system that is configured for Multi-AZ + * redundancy to tolerate temporary Availability Zone (AZ) unavailability, and supports SSD and HDD storage.

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  + * SINGLE_AZ_1 - (Default) Specifies a file system that is configured for single AZ redundancy, + * only supports SSD storage.

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  + * SINGLE_AZ_2 - Latest generation Single AZ file system. + * Specifies a file system that is configured for single AZ redundancy and supports SSD and HDD storage.

                                                                                  + *
                                                                                • + *
                                                                                + *

                                                                                For more information, see + * Single-AZ and Multi-AZ File Systems.

                                                                                + */ + DeploymentType?: WindowsDeploymentType | string; + + /** + *

                                                                                For MULTI_AZ_1 deployment types, use this endpoint when performing administrative tasks on the file system using + * Amazon FSx Remote PowerShell.

                                                                                + *

                                                                                For SINGLE_AZ_1 and SINGLE_AZ_2 deployment types, this is the DNS name of the file system.

                                                                                + *

                                                                                This endpoint is temporarily unavailable when the file system is undergoing maintenance.

                                                                                + */ + RemoteAdministrationEndpoint?: string; /** *

                                                                                For MULTI_AZ_1 deployment types, it specifies the ID of the subnet where the preferred file server is located. @@ -462,15 +561,17 @@ export interface WindowsFileSystemConfiguration { PreferredSubnetId?: string; /** - *

                                                                                A boolean flag indicating whether tags on the file system should be copied to backups. - * This value defaults to false. If it's set to true, all tags on the file system are - * copied to all automatic backups and any user-initiated backups where the user - * doesn't specify any tags. If this value is true, and you specify one or more tags, - * only the specified tags are copied to backups. If you specify one or more tags when - * creating a user-initiated backup, no tags are copied from the file system, - * regardless of this value.

                                                                                + *

                                                                                For MULTI_AZ_1 deployment types, the IP address of the primary, or preferred, file server.

                                                                                + *

                                                                                Use this IP address when mounting the file system on Linux SMB clients or Windows SMB clients that + * are not joined to a Microsoft Active Directory. + * Applicable for all Windows file system deployment types. + * This IP address is temporarily unavailable + * when the file system is undergoing maintenance. For Linux and Windows + * SMB clients that are joined to an Active Directory, use the file system's DNSName instead. For more information + * on mapping and mounting file shares, see + * Accessing File Shares.

                                                                                */ - CopyTagsToBackups?: boolean; + PreferredFileServerIp?: string; /** *

                                                                                The throughput of an Amazon FSx file system, measured in megabytes per @@ -479,12 +580,15 @@ export interface WindowsFileSystemConfiguration { ThroughputCapacity?: number; /** - *

                                                                                For MULTI_AZ_1 deployment types, use this endpoint when performing administrative tasks on the file system using - * Amazon FSx Remote PowerShell.

                                                                                - *

                                                                                For SINGLE_AZ_1 and SINGLE_AZ_2 deployment types, this is the DNS name of the file system.

                                                                                - *

                                                                                This endpoint is temporarily unavailable when the file system is undergoing maintenance.

                                                                                + *

                                                                                The list of maintenance operations in progress for this file system.

                                                                                */ - RemoteAdministrationEndpoint?: string; + MaintenanceOperationsInProgress?: (FileSystemMaintenanceOperation | string)[]; + + /** + *

                                                                                The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC + * time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                + */ + WeeklyMaintenanceStartTime?: string; /** *

                                                                                The preferred time to take daily automatic backups, in the UTC time zone.

                                                                                @@ -492,62 +596,105 @@ export interface WindowsFileSystemConfiguration { DailyAutomaticBackupStartTime?: string; /** - *

                                                                                The list of maintenance operations in progress for this file system.

                                                                                + *

                                                                                The number of days to retain automatic backups. Setting this to 0 disables automatic + * backups. You can retain automatic backups for a maximum of 90 days.

                                                                                */ - MaintenanceOperationsInProgress?: (FileSystemMaintenanceOperation | string)[]; + AutomaticBackupRetentionDays?: number; /** - *

                                                                                The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC - * time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                + *

                                                                                A boolean flag indicating whether tags on the file system should be copied to backups. + * This value defaults to false. If it's set to true, all tags on the file system are + * copied to all automatic backups and any user-initiated backups where the user + * doesn't specify any tags. If this value is true, and you specify one or more tags, + * only the specified tags are copied to backups. If you specify one or more tags when + * creating a user-initiated backup, no tags are copied from the file system, + * regardless of this value.

                                                                                */ - WeeklyMaintenanceStartTime?: string; + CopyTagsToBackups?: boolean; /** - *

                                                                                Specifies the file system deployment type, valid values are the following:

                                                                                - *
                                                                                  + *

                                                                                  An array of one or more DNS aliases that are currently associated with the Amazon FSx file system. + * Aliases allow you to use existing DNS names to access the data in your Amazon FSx file system. + * You can associate up to 50 aliases with a file system at any time. + * You can associate additional DNS aliases after you create the file system using the AssociateFileSystemAliases operation. + * You can remove DNS aliases from the file system after it is created using the DisassociateFileSystemAliases operation. + * You only need to specify the alias name in the request payload. For more information, see + * DNS aliases.

                                                                                  + */ + Aliases?: Alias[]; +} + +export namespace WindowsFileSystemConfiguration { + export const filterSensitiveLog = (obj: WindowsFileSystemConfiguration): any => ({ + ...obj, + }); +} + +/** + *

                                                                                  The request object specifying one or more DNS alias names to associate with an Amazon FSx for Windows File Server file system.

                                                                                  + */ +export interface AssociateFileSystemAliasesRequest { + /** + *

                                                                                  (Optional) An idempotency token for resource creation, in a string of up to 64 + * ASCII characters. This token is automatically filled on your behalf when you use the AWS + * Command Line Interface (AWS CLI) or an AWS SDK.

                                                                                  + */ + ClientRequestToken?: string; + + /** + *

                                                                                  Specifies the file system with which you want to associate one or more DNS aliases.

                                                                                  + */ + FileSystemId: string | undefined; + + /** + *

                                                                                  An array of one or more DNS alias names to associate with the file system. + * The alias name has to comply with the following formatting requirements:

                                                                                  + *
                                                                                    *
                                                                                  • - *

                                                                                    - * MULTI_AZ_1 - Specifies a high availability file system that is configured for Multi-AZ - * redundancy to tolerate temporary Availability Zone (AZ) unavailability, and supports SSD and HDD storage.

                                                                                    + *

                                                                                    Formatted as a fully-qualified domain name (FQDN), + * hostname.domain + * , + * for example, accounting.corp.example.com.

                                                                                    *
                                                                                  • *
                                                                                  • - *

                                                                                    - * SINGLE_AZ_1 - (Default) Specifies a file system that is configured for single AZ redundancy, - * only supports SSD storage.

                                                                                    + *

                                                                                    Can contain alphanumeric characters and the hyphen (-).

                                                                                    *
                                                                                  • *
                                                                                  • - *

                                                                                    - * SINGLE_AZ_2 - Latest generation Single AZ file system. - * Specifies a file system that is configured for single AZ redundancy and supports SSD and HDD storage.

                                                                                    + *

                                                                                    Cannot start or end with a hyphen.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    Can start with a numeric.

                                                                                    *
                                                                                  • *
                                                                                  - *

                                                                                  For more information, see - * Single-AZ and Multi-AZ File Systems.

                                                                                  + *

                                                                                  For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: + * as uppercase letters, lowercase letters, or the corresponding letters in escape codes.

                                                                                  */ - DeploymentType?: WindowsDeploymentType | string; + Aliases: string[] | undefined; +} - /** - *

                                                                                  The configuration of the self-managed Microsoft Active Directory (AD) directory to - * which the Windows File Server instance is joined.

                                                                                  - */ - SelfManagedActiveDirectoryConfiguration?: SelfManagedActiveDirectoryAttributes; +export namespace AssociateFileSystemAliasesRequest { + export const filterSensitiveLog = (obj: AssociateFileSystemAliasesRequest): any => ({ + ...obj, + }); +} +/** + *

                                                                                  The system generated response showing the DNS aliases that + * Amazon FSx is attempting to associate with the file system. + * Use the API + * operation to monitor the status of the aliases Amazon FSx is + * associating with the file system. It can take up to 2.5 minutes for + * the alias status to change from CREATING to AVAILABLE.

                                                                                  + */ +export interface AssociateFileSystemAliasesResponse { /** - *

                                                                                  For MULTI_AZ_1 deployment types, the IP address of the primary, or preferred, file server.

                                                                                  - *

                                                                                  Use this IP address when mounting the file system on Linux SMB clients or Windows SMB clients that - * are not joined to a Microsoft Active Directory. - * Applicable for all Windows file system deployment types. - * This IP address is temporarily unavailable - * when the file system is undergoing maintenance. For Linux and Windows - * SMB clients that are joined to an Active Directory, use the file system's DNSName instead. For more information - * on mapping and mounting file shares, see - * Accessing File Shares.

                                                                                  + *

                                                                                  An array of the DNS aliases that Amazon FSx is associating with the file system.

                                                                                  */ - PreferredFileServerIp?: string; + Aliases?: Alias[]; } -export namespace WindowsFileSystemConfiguration { - export const filterSensitiveLog = (obj: WindowsFileSystemConfiguration): any => ({ +export namespace AssociateFileSystemAliasesResponse { + export const filterSensitiveLog = (obj: AssociateFileSystemAliasesResponse): any => ({ ...obj, }); } @@ -570,6 +717,42 @@ export namespace BadRequest { }); } +/** + *

                                                                                  No Amazon FSx file systems were found based upon supplied parameters.

                                                                                  + */ +export interface FileSystemNotFound extends __SmithyException, $MetadataBearer { + name: "FileSystemNotFound"; + $fault: "client"; + /** + *

                                                                                  A detailed error message.

                                                                                  + */ + Message?: string; +} + +export namespace FileSystemNotFound { + export const filterSensitiveLog = (obj: FileSystemNotFound): any => ({ + ...obj, + }); +} + +/** + *

                                                                                  A generic error indicating a server-side failure.

                                                                                  + */ +export interface InternalServerError extends __SmithyException, $MetadataBearer { + name: "InternalServerError"; + $fault: "server"; + /** + *

                                                                                  A detailed error message.

                                                                                  + */ + Message?: string; +} + +export namespace InternalServerError { + export const filterSensitiveLog = (obj: InternalServerError): any => ({ + ...obj, + }); +} + /** *

                                                                                  Cancels a data repository task.

                                                                                  */ @@ -676,24 +859,6 @@ export namespace DataRepositoryTaskNotFound { }); } -/** - *

                                                                                  A generic error indicating a server-side failure.

                                                                                  - */ -export interface InternalServerError extends __SmithyException, $MetadataBearer { - name: "InternalServerError"; - $fault: "server"; - /** - *

                                                                                  A detailed error message.

                                                                                  - */ - Message?: string; -} - -export namespace InternalServerError { - export const filterSensitiveLog = (obj: InternalServerError): any => ({ - ...obj, - }); -} - /** *

                                                                                  The requested operation is not supported for this resource or API.

                                                                                  */ @@ -736,11 +901,9 @@ export namespace BackupInProgress { */ export interface CreateBackupRequest { /** - *

                                                                                  (Optional) The tags to apply to the backup at backup creation. The key value of the - * Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and - * you specify one or more tags using the CreateBackup action, no existing file system tags are copied from the file system to the backup.

                                                                                  + *

                                                                                  The ID of the file system to back up.

                                                                                  */ - Tags?: Tag[]; + FileSystemId: string | undefined; /** *

                                                                                  (Optional) A string of up to 64 ASCII characters that Amazon FSx uses to ensure @@ -750,9 +913,11 @@ export interface CreateBackupRequest { ClientRequestToken?: string; /** - *

                                                                                  The ID of the file system to back up.

                                                                                  + *

                                                                                  (Optional) The tags to apply to the backup at backup creation. The key value of the + * Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and + * you specify one or more tags using the CreateBackup action, no existing file system tags are copied from the file system to the backup.

                                                                                  */ - FileSystemId: string | undefined; + Tags?: Tag[]; } export namespace CreateBackupRequest { @@ -788,27 +953,10 @@ export enum BackupLifecycle { export enum BackupType { AUTOMATIC = "AUTOMATIC", + AWS_BACKUP = "AWS_BACKUP", USER_INITIATED = "USER_INITIATED", } -/** - *

                                                                                  No Amazon FSx file systems were found based upon supplied parameters.

                                                                                  - */ -export interface FileSystemNotFound extends __SmithyException, $MetadataBearer { - name: "FileSystemNotFound"; - $fault: "client"; - /** - *

                                                                                  A detailed error message.

                                                                                  - */ - Message?: string; -} - -export namespace FileSystemNotFound { - export const filterSensitiveLog = (obj: FileSystemNotFound): any => ({ - ...obj, - }); -} - /** *

                                                                                  The error returned when a second request is received with the same client request * token but different parameters settings. A client request token should always uniquely @@ -818,14 +966,14 @@ export interface IncompatibleParameterError extends __SmithyException, $Metadata name: "IncompatibleParameterError"; $fault: "client"; /** - *

                                                                                  A detailed error message.

                                                                                  + *

                                                                                  A parameter that is incompatible with the earlier request.

                                                                                  */ - Message?: string; + Parameter: string | undefined; /** - *

                                                                                  A parameter that is incompatible with the earlier request.

                                                                                  + *

                                                                                  A detailed error message.

                                                                                  */ - Parameter: string | undefined; + Message?: string; } export namespace IncompatibleParameterError { @@ -881,6 +1029,13 @@ export enum ReportScope { * You can specify whether or not a report gets generated for a task using the Enabled parameter.

                                                                                  */ export interface CompletionReport { + /** + *

                                                                                  Set Enabled to True to generate a CompletionReport when the task completes. + * If set to true, then you need to provide a report Scope, Path, and Format. + * Set Enabled to False if you do not want a CompletionReport generated when the task completes.

                                                                                  + */ + Enabled: boolean | undefined; + /** *

                                                                                  Required if Enabled is set to true. Specifies the location of the report on the file system's linked S3 data repository. An absolute path that defines where the completion report will be stored in the destination location. * The Path you provide must be located within the file system’s ExportPath. @@ -898,13 +1053,6 @@ export interface CompletionReport { */ Format?: ReportFormat | string; - /** - *

                                                                                  Set Enabled to True to generate a CompletionReport when the task completes. - * If set to true, then you need to provide a report Scope, Path, and Format. - * Set Enabled to False if you do not want a CompletionReport generated when the task completes.

                                                                                  - */ - Enabled: boolean | undefined; - /** *

                                                                                  Required if Enabled is set to true. Specifies the scope of the CompletionReport; FAILED_FILES_ONLY is the only scope currently supported. * When Scope is set to FAILED_FILES_ONLY, the CompletionReport only contains information about files that the data repository task failed to process.

                                                                                  @@ -924,11 +1072,18 @@ export enum DataRepositoryTaskType { export interface CreateDataRepositoryTaskRequest { /** - *

                                                                                  (Optional) An idempotency token for resource creation, in a string of up to 64 - * ASCII characters. This token is automatically filled on your behalf when you use the AWS - * Command Line Interface (AWS CLI) or an AWS SDK.

                                                                                  + *

                                                                                  Specifies the type of data repository task to create.

                                                                                  */ - ClientRequestToken?: string; + Type: DataRepositoryTaskType | string | undefined; + + /** + *

                                                                                  (Optional) The path or paths on the Amazon FSx file system to use when the data repository task is processed. + * The default path is the file system root directory. The paths you provide need to be relative to the mount point of the file system. + * If the mount point is /mnt/fsx and /mnt/fsx/path1 is a directory or + * file on the file system you want to export, then the path to provide is path1. + * If a path that you provide isn't valid, the task fails.

                                                                                  + */ + Paths?: string[]; /** *

                                                                                  The globally unique ID of the file system, assigned by Amazon FSx.

                                                                                  @@ -944,23 +1099,16 @@ export interface CreateDataRepositoryTaskRequest { Report: CompletionReport | undefined; /** - *

                                                                                  A list of Tag values, with a maximum of 50 elements.

                                                                                  - */ - Tags?: Tag[]; - - /** - *

                                                                                  (Optional) The path or paths on the Amazon FSx file system to use when the data repository task is processed. - * The default path is the file system root directory. The paths you provide need to be relative to the mount point of the file system. - * If the mount point is /mnt/fsx and /mnt/fsx/path1 is a directory or - * file on the file system you want to export, then the path to provide is path1. - * If a path that you provide isn't valid, the task fails.

                                                                                  + *

                                                                                  (Optional) An idempotency token for resource creation, in a string of up to 64 + * ASCII characters. This token is automatically filled on your behalf when you use the AWS + * Command Line Interface (AWS CLI) or an AWS SDK.

                                                                                  */ - Paths?: string[]; + ClientRequestToken?: string; /** - *

                                                                                  Specifies the type of data repository task to create.

                                                                                  + *

                                                                                  A list of Tag values, with a maximum of 50 elements.

                                                                                  */ - Type: DataRepositoryTaskType | string | undefined; + Tags?: Tag[]; } export namespace CreateDataRepositoryTaskRequest { @@ -1026,22 +1174,9 @@ export namespace DataRepositoryTaskStatus { */ export interface DataRepositoryTask { /** - *

                                                                                  Failure message describing why the task failed, it is populated only when Lifecycle is set to FAILED.

                                                                                  - */ - FailureDetails?: DataRepositoryTaskFailureDetails; - - /** - *

                                                                                  Provides a report detailing the data repository task results of the files processed that match the criteria specified in the report Scope parameter. - * FSx delivers the report to the file system's linked data repository in Amazon S3, - * using the path specified in the report Path parameter. - * You can specify whether or not a report gets generated for a task using the Enabled parameter.

                                                                                  - */ - Report?: CompletionReport; - - /** - *

                                                                                  Provides the status of the number of files that the task has processed successfully and failed to process.

                                                                                  + *

                                                                                  The system-generated, unique 17-digit ID of the data repository task.

                                                                                  */ - Status?: DataRepositoryTaskStatus; + TaskId: string | undefined; /** *

                                                                                  The lifecycle status of the data repository task, as follows:

                                                                                  @@ -1081,6 +1216,17 @@ export interface DataRepositoryTask { */ Lifecycle: DataRepositoryTaskLifecycle | string | undefined; + /** + *

                                                                                  The type of data repository task; EXPORT_TO_REPOSITORY is the only type currently supported.

                                                                                  + */ + Type: DataRepositoryTaskType | string | undefined; + + /** + *

                                                                                  The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), + * also known as Unix time.

                                                                                  + */ + CreationTime: Date | undefined; + /** *

                                                                                  The time that Amazon FSx began processing the task.

                                                                                  */ @@ -1091,11 +1237,6 @@ export interface DataRepositoryTask { */ EndTime?: Date; - /** - *

                                                                                  A list of Tag values, with a maximum of 50 elements.

                                                                                  - */ - Tags?: Tag[]; - /** *

                                                                                  The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify AWS * resources. We require an ARN when you need to specify a resource unambiguously across @@ -1106,9 +1247,14 @@ export interface DataRepositoryTask { ResourceARN?: string; /** - *

                                                                                  The type of data repository task; EXPORT_TO_REPOSITORY is the only type currently supported.

                                                                                  + *

                                                                                  A list of Tag values, with a maximum of 50 elements.

                                                                                  */ - Type: DataRepositoryTaskType | string | undefined; + Tags?: Tag[]; + + /** + *

                                                                                  The globally unique ID of the file system, assigned by Amazon FSx.

                                                                                  + */ + FileSystemId: string | undefined; /** *

                                                                                  An array of paths on the Amazon FSx for Lustre file system that specify the data for the data repository task to process. @@ -1118,20 +1264,22 @@ export interface DataRepositoryTask { Paths?: string[]; /** - *

                                                                                  The globally unique ID of the file system, assigned by Amazon FSx.

                                                                                  + *

                                                                                  Failure message describing why the task failed, it is populated only when Lifecycle is set to FAILED.

                                                                                  */ - FileSystemId: string | undefined; + FailureDetails?: DataRepositoryTaskFailureDetails; /** - *

                                                                                  The system-generated, unique 17-digit ID of the data repository task.

                                                                                  + *

                                                                                  Provides the status of the number of files that the task has processed successfully and failed to process.

                                                                                  */ - TaskId: string | undefined; + Status?: DataRepositoryTaskStatus; /** - *

                                                                                  The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), - * also known as Unix time.

                                                                                  + *

                                                                                  Provides a report detailing the data repository task results of the files processed that match the criteria specified in the report Scope parameter. + * FSx delivers the report to the file system's linked data repository in Amazon S3, + * using the path specified in the report Path parameter. + * You can specify whether or not a report gets generated for a task using the Enabled parameter.

                                                                                  */ - CreationTime: Date | undefined; + Report?: CompletionReport; } export namespace DataRepositoryTask { @@ -1177,6 +1325,12 @@ export namespace DataRepositoryTaskExecuting { *

                                                                                  */ export interface CreateFileSystemLustreConfiguration { + /** + *

                                                                                  (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC + * time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                  + */ + WeeklyMaintenanceStartTime?: string; + /** *

                                                                                  (Optional) The path to the Amazon S3 bucket (including the optional prefix) that * you're using as the data repository for your Amazon FSx for Lustre file system. @@ -1189,19 +1343,56 @@ export interface CreateFileSystemLustreConfiguration { ImportPath?: string; /** - *

                                                                                  (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC - * time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                  + *

                                                                                  (Optional) The path in Amazon S3 where the root of your Amazon FSx file system is exported. + * The path must use the same Amazon S3 bucket as specified in ImportPath. You can provide an optional prefix to which + * new and changed data is to be exported from your Amazon FSx for Lustre file system. If + * an ExportPath value is not provided, Amazon FSx sets a default export path, + * s3://import-bucket/FSxLustre[creation-timestamp]. The timestamp is in + * UTC format, for example + * s3://import-bucket/FSxLustre20181105T222312Z.

                                                                                  + * + *

                                                                                  The Amazon S3 export bucket must be the same as the import bucket specified by + * ImportPath. If you only specify a bucket name, such as + * s3://import-bucket, you get a 1:1 mapping of file system objects to S3 + * bucket objects. This mapping means that the input data in S3 is overwritten on export. + * If you provide a custom prefix in the export path, such as + * s3://import-bucket/[custom-optional-prefix], Amazon FSx exports the contents of your file + * system to that export prefix in the Amazon S3 bucket.

                                                                                  */ - WeeklyMaintenanceStartTime?: string; + ExportPath?: string; /** - *

                                                                                  The type of drive cache used by PERSISTENT_1 file systems that are provisioned with - * HDD storage devices. This parameter is required when storage type is HDD. Set to - * READ, improve the performance for frequently accessed files and allows 20% - * of the total storage capacity of the file system to be cached.

                                                                                  - *

                                                                                  This parameter is required when StorageType is set to HDD.

                                                                                  + *

                                                                                  (Optional) For files imported from a data repository, this value determines the stripe + * count and maximum amount of data per file (in MiB) stored on a single physical disk. The + * maximum number of disks that a single file can be striped across is limited by the total + * number of disks that make up the file system.

                                                                                  + * + *

                                                                                  The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 + * GiB). Amazon S3 objects have a maximum size of 5 TB.

                                                                                  */ - DriveCacheType?: DriveCacheType | string; + ImportedFileChunkSize?: number; + + /** + *

                                                                                  + * Choose SCRATCH_1 and SCRATCH_2 deployment + * types when you need temporary storage and shorter-term processing of data. + * The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst + * throughput capacity than SCRATCH_1.

                                                                                  + * + *

                                                                                  Choose PERSISTENT_1 deployment type for longer-term storage + * and workloads and encryption of data in transit. To learn more about deployment types, see + * + * FSx for Lustre Deployment Options.

                                                                                  + *

                                                                                  Encryption of data in-transit is automatically + * enabled when you access a SCRATCH_2 or PERSISTENT_1 + * file system from Amazon EC2 instances that support this feature. + * (Default = SCRATCH_1) + *

                                                                                  + *

                                                                                  Encryption of data in-transit for SCRATCH_2 and PERSISTENT_1 + * deployment types is supported when accessed from supported instance types in supported AWS Regions. To learn more, + * Encrypting Data in Transit.

                                                                                  + */ + DeploymentType?: LustreDeploymentType | string; /** *

                                                                                  (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. @@ -1237,51 +1428,6 @@ export interface CreateFileSystemLustreConfiguration { */ AutoImportPolicy?: AutoImportPolicyType | string; - /** - *

                                                                                  (Optional) Not available to use with file systems that are linked to a data repository. - * A boolean flag indicating whether tags for the file system should be copied to - * backups. The default value is false. If it's set to true, all file system - * tags are copied to all automatic and user-initiated backups when the user - * doesn't specify any backup-specific tags. If this value is true, and you specify one or more backup tags, only - * the specified tags are copied to backups. If you specify one or more tags when creating a - * user-initiated backup, no tags are copied from the file system, regardless of this value.

                                                                                  - *

                                                                                  For more information, see Working with backups.

                                                                                  - */ - CopyTagsToBackups?: boolean; - - /** - *

                                                                                  - * Choose SCRATCH_1 and SCRATCH_2 deployment - * types when you need temporary storage and shorter-term processing of data. - * The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst - * throughput capacity than SCRATCH_1.

                                                                                  - * - *

                                                                                  Choose PERSISTENT_1 deployment type for longer-term storage - * and workloads and encryption of data in transit. To learn more about deployment types, see - * - * FSx for Lustre Deployment Options.

                                                                                  - *

                                                                                  Encryption of data in-transit is automatically - * enabled when you access a SCRATCH_2 or PERSISTENT_1 - * file system from Amazon EC2 instances that support this feature. - * (Default = SCRATCH_1) - *

                                                                                  - *

                                                                                  Encryption of data in-transit for SCRATCH_2 and PERSISTENT_1 - * deployment types is supported when accessed from supported instance types in supported AWS Regions. To learn more, - * Encrypting Data in Transit.

                                                                                  - */ - DeploymentType?: LustreDeploymentType | string; - - /** - *

                                                                                  (Optional) For files imported from a data repository, this value determines the stripe - * count and maximum amount of data per file (in MiB) stored on a single physical disk. The - * maximum number of disks that a single file can be striped across is limited by the total - * number of disks that make up the file system.

                                                                                  - * - *

                                                                                  The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 - * GiB). Amazon S3 objects have a maximum size of 5 TB.

                                                                                  - */ - ImportedFileChunkSize?: number; - /** *

                                                                                  * Required for the PERSISTENT_1 deployment type, describes the amount of read and write @@ -1295,6 +1441,13 @@ export interface CreateFileSystemLustreConfiguration { */ PerUnitStorageThroughput?: number; + /** + *

                                                                                  A recurring daily time, in the format HH:MM. HH is the + * zero-padded hour of the day (0-23), and MM is the zero-padded minute of the + * hour. For example, 05:00 specifies 5 AM daily.

                                                                                  + */ + DailyAutomaticBackupStartTime?: string; + /** *

                                                                                  The number of days to retain automatic backups. Setting this to 0 disables * automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0.

                                                                                  @@ -1302,30 +1455,25 @@ export interface CreateFileSystemLustreConfiguration { AutomaticBackupRetentionDays?: number; /** - *

                                                                                  A recurring daily time, in the format HH:MM. HH is the - * zero-padded hour of the day (0-23), and MM is the zero-padded minute of the - * hour. For example, 05:00 specifies 5 AM daily.

                                                                                  + *

                                                                                  (Optional) Not available to use with file systems that are linked to a data repository. + * A boolean flag indicating whether tags for the file system should be copied to + * backups. The default value is false. If it's set to true, all file system + * tags are copied to all automatic and user-initiated backups when the user + * doesn't specify any backup-specific tags. If this value is true, and you specify one or more backup tags, only + * the specified tags are copied to backups. If you specify one or more tags when creating a + * user-initiated backup, no tags are copied from the file system, regardless of this value.

                                                                                  + *

                                                                                  For more information, see Working with backups.

                                                                                  */ - DailyAutomaticBackupStartTime?: string; + CopyTagsToBackups?: boolean; /** - *

                                                                                  (Optional) The path in Amazon S3 where the root of your Amazon FSx file system is exported. - * The path must use the same Amazon S3 bucket as specified in ImportPath. You can provide an optional prefix to which - * new and changed data is to be exported from your Amazon FSx for Lustre file system. If - * an ExportPath value is not provided, Amazon FSx sets a default export path, - * s3://import-bucket/FSxLustre[creation-timestamp]. The timestamp is in - * UTC format, for example - * s3://import-bucket/FSxLustre20181105T222312Z.

                                                                                  - * - *

                                                                                  The Amazon S3 export bucket must be the same as the import bucket specified by - * ImportPath. If you only specify a bucket name, such as - * s3://import-bucket, you get a 1:1 mapping of file system objects to S3 - * bucket objects. This mapping means that the input data in S3 is overwritten on export. - * If you provide a custom prefix in the export path, such as - * s3://import-bucket/[custom-optional-prefix], Amazon FSx exports the contents of your file - * system to that export prefix in the Amazon S3 bucket.

                                                                                  + *

                                                                                  The type of drive cache used by PERSISTENT_1 file systems that are provisioned with + * HDD storage devices. This parameter is required when storage type is HDD. Set to + * READ, improve the performance for frequently accessed files and allows 20% + * of the total storage capacity of the file system to be cached.

                                                                                  + *

                                                                                  This parameter is required when StorageType is set to HDD.

                                                                                  */ - ExportPath?: string; + DriveCacheType?: DriveCacheType | string; } export namespace CreateFileSystemLustreConfiguration { @@ -1340,6 +1488,12 @@ export namespace CreateFileSystemLustreConfiguration { * directory.

                                                                                  */ export interface SelfManagedActiveDirectoryConfiguration { + /** + *

                                                                                  The fully qualified domain name of the self-managed AD directory, such as + * corp.example.com.

                                                                                  + */ + DomainName: string | undefined; + /** *

                                                                                  (Optional) The fully qualified distinguished name of the organizational unit within * your self-managed AD directory that the Windows File Server instance will join. Amazon @@ -1353,37 +1507,6 @@ export interface SelfManagedActiveDirectoryConfiguration { */ OrganizationalUnitDistinguishedName?: string; - /** - *

                                                                                  The fully qualified domain name of the self-managed AD directory, such as - * corp.example.com.

                                                                                  - */ - DomainName: string | undefined; - - /** - *

                                                                                  A list of up to two IP addresses of DNS servers or domain controllers in the - * self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range - * as the one in which your Amazon FSx file system is being created, or in the private IP version 4 - * (IPv4) address ranges, as specified in RFC 1918:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    10.0.0.0 - 10.255.255.255 (10/8 prefix)

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    172.16.0.0 - 172.31.255.255 (172.16/12 prefix)

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

                                                                                    - *
                                                                                  • - *
                                                                                  - */ - DnsIps: string[] | undefined; - - /** - *

                                                                                  The password for the service account on your self-managed AD domain that Amazon FSx - * will use to join to your AD domain.

                                                                                  - */ - Password: string | undefined; - /** *

                                                                                  (Optional) The name of the domain group whose members are granted administrative * privileges for the file system. Administrative privileges include taking ownership of @@ -1401,7 +1524,32 @@ export interface SelfManagedActiveDirectoryConfiguration { * OrganizationalUnitDistinguishedName, or in the default location of your * AD domain.

                                                                                  */ - UserName: string | undefined; + UserName: string | undefined; + + /** + *

                                                                                  The password for the service account on your self-managed AD domain that Amazon FSx + * will use to join to your AD domain.

                                                                                  + */ + Password: string | undefined; + + /** + *

                                                                                  A list of up to two IP addresses of DNS servers or domain controllers in the + * self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range + * as the one in which your Amazon FSx file system is being created, or in the private IP version 4 + * (IPv4) address ranges, as specified in RFC 1918:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    10.0.0.0 - 10.255.255.255 (10/8 prefix)

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    172.16.0.0 - 172.31.255.255 (172.16/12 prefix)

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

                                                                                    + *
                                                                                  • + *
                                                                                  + */ + DnsIps: string[] | undefined; } export namespace SelfManagedActiveDirectoryConfiguration { @@ -1417,33 +1565,6 @@ export namespace SelfManagedActiveDirectoryConfiguration { * operations.

                                                                                  */ export interface CreateFileSystemWindowsConfiguration { - /** - *

                                                                                  Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet - * in which you want the preferred file server to be located. For in-AWS applications, we recommend that you launch - * your clients in the same Availability Zone (AZ) as your preferred file server to reduce cross-AZ - * data transfer costs and minimize latency.

                                                                                  - */ - PreferredSubnetId?: string; - - /** - *

                                                                                  The number of days to retain automatic backups. The default is to retain backups for 7 - * days. Setting this value to 0 disables the creation of automatic backups. The maximum - * retention period for backups is 90 days.

                                                                                  - */ - AutomaticBackupRetentionDays?: number; - - /** - *

                                                                                  The preferred time to take daily automatic backups, formatted HH:MM in the UTC time - * zone.

                                                                                  - */ - DailyAutomaticBackupStartTime?: string; - - /** - *

                                                                                  The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC - * time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                  - */ - WeeklyMaintenanceStartTime?: string; - /** *

                                                                                  The ID for an existing AWS Managed Microsoft Active Directory (AD) instance that the * file system should join when it's created.

                                                                                  @@ -1483,6 +1604,39 @@ export interface CreateFileSystemWindowsConfiguration { */ DeploymentType?: WindowsDeploymentType | string; + /** + *

                                                                                  Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet + * in which you want the preferred file server to be located. For in-AWS applications, we recommend that you launch + * your clients in the same Availability Zone (AZ) as your preferred file server to reduce cross-AZ + * data transfer costs and minimize latency.

                                                                                  + */ + PreferredSubnetId?: string; + + /** + *

                                                                                  The throughput of an Amazon FSx file system, measured in megabytes per second, in 2 to + * the nth increments, between 2^3 (8) and 2^11 (2048).

                                                                                  + */ + ThroughputCapacity: number | undefined; + + /** + *

                                                                                  The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC + * time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                  + */ + WeeklyMaintenanceStartTime?: string; + + /** + *

                                                                                  The preferred time to take daily automatic backups, formatted HH:MM in the UTC time + * zone.

                                                                                  + */ + DailyAutomaticBackupStartTime?: string; + + /** + *

                                                                                  The number of days to retain automatic backups. The default is to retain backups for 7 + * days. Setting this value to 0 disables the creation of automatic backups. The maximum + * retention period for backups is 90 days.

                                                                                  + */ + AutomaticBackupRetentionDays?: number; + /** *

                                                                                  A boolean flag indicating whether tags for the file system should be copied to * backups. This value defaults to false. If it's set to true, all tags for the file @@ -1494,10 +1648,34 @@ export interface CreateFileSystemWindowsConfiguration { CopyTagsToBackups?: boolean; /** - *

                                                                                  The throughput of an Amazon FSx file system, measured in megabytes per second, in 2 to - * the nth increments, between 2^3 (8) and 2^11 (2048).

                                                                                  + *

                                                                                  An array of one or more DNS alias names that you want to associate with the Amazon FSx file system. + * Aliases allow you to use existing DNS names to access the data in your Amazon FSx file system. + * You can associate up to 50 aliases with a file system at any time. + * You can associate additional DNS aliases after you create the file system using the AssociateFileSystemAliases operation. + * You can remove DNS aliases from the file system after it is created using the DisassociateFileSystemAliases operation. + * You only need to specify the alias name in the request payload.

                                                                                  + *

                                                                                  For more information, see Working with DNS Aliases and + * Walkthrough 5: Using DNS aliases to access your file system, including + * additional steps you must take to be able to access your file system using a DNS alias.

                                                                                  + *

                                                                                  An alias name has to meet the following requirements:

                                                                                  + *
                                                                                    + *
                                                                                  • + *

                                                                                    Formatted as a fully-qualified domain name (FQDN), hostname.domain, for example, accounting.example.com.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    Can contain alphanumeric characters and the hyphen (-).

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    Cannot start or end with a hyphen.

                                                                                    + *
                                                                                  • + *
                                                                                  • + *

                                                                                    Can start with a numeric.

                                                                                    + *
                                                                                  • + *
                                                                                  + *

                                                                                  For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: + * as uppercase letters, lowercase letters, or the corresponding letters in escape codes.

                                                                                  */ - ThroughputCapacity: number | undefined; + Aliases?: string[]; } export namespace CreateFileSystemWindowsConfiguration { @@ -1516,36 +1694,11 @@ export namespace CreateFileSystemWindowsConfiguration { */ export interface CreateFileSystemRequest { /** - *

                                                                                  The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data - * for Amazon FSx for Windows File Server file systems and Amazon FSx for Lustre PERSISTENT_1 file - * systems at rest. In either case, if not specified, the Amazon FSx managed key - * is used. The Amazon FSx for Lustre SCRATCH_1 and SCRATCH_2 file systems are always encrypted at rest using - * Amazon FSx managed keys. For more information, see Encrypt - * in the AWS Key Management Service API Reference.

                                                                                  - */ - KmsKeyId?: string; - - /** - *

                                                                                  Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 - * file system deployment types, provide exactly two subnet IDs, one for the preferred file server - * and one for the standby file server. You specify one of these subnets as the preferred subnet - * using the WindowsConfiguration > PreferredSubnetID property.

                                                                                  - *

                                                                                  For Windows SINGLE_AZ_1 and SINGLE_AZ_2 file system deployment types and Lustre file systems, provide exactly one subnet ID. - * The file server is launched in that subnet's Availability Zone.

                                                                                  - */ - SubnetIds: string[] | undefined; - - /** - *

                                                                                  The tags to apply to the file system being created. The key value of - * the Name tag appears in the console as the file system name.

                                                                                  - */ - Tags?: Tag[]; - - /** - *

                                                                                  The Microsoft Windows configuration for the file system being created. - *

                                                                                  + *

                                                                                  A string of up to 64 ASCII characters that Amazon FSx uses to ensure + * idempotent creation. This string is automatically filled on your behalf when you use the + * AWS Command Line Interface (AWS CLI) or an AWS SDK.

                                                                                  */ - WindowsConfiguration?: CreateFileSystemWindowsConfiguration; + ClientRequestToken?: string; /** *

                                                                                  The type of Amazon FSx file system to create, either WINDOWS or LUSTRE.

                                                                                  @@ -1581,13 +1734,6 @@ export interface CreateFileSystemRequest { */ StorageCapacity: number | undefined; - /** - *

                                                                                  A list of IDs specifying the security groups to apply to all network interfaces - * created for file system access. This list isn't returned in later requests to - * describe the file system.

                                                                                  - */ - SecurityGroupIds?: string[]; - /** *

                                                                                  Sets the storage type for the file system you're creating. * Valid values are SSD and HDD.

                                                                                  @@ -1614,17 +1760,49 @@ export interface CreateFileSystemRequest { StorageType?: StorageType | string; /** - *

                                                                                  The Lustre configuration for the file system being created. + *

                                                                                  Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 + * file system deployment types, provide exactly two subnet IDs, one for the preferred file server + * and one for the standby file server. You specify one of these subnets as the preferred subnet + * using the WindowsConfiguration > PreferredSubnetID property.

                                                                                  + *

                                                                                  For Windows SINGLE_AZ_1 and SINGLE_AZ_2 file system deployment types and Lustre file systems, provide exactly one subnet ID. + * The file server is launched in that subnet's Availability Zone.

                                                                                  + */ + SubnetIds: string[] | undefined; + + /** + *

                                                                                  A list of IDs specifying the security groups to apply to all network interfaces + * created for file system access. This list isn't returned in later requests to + * describe the file system.

                                                                                  + */ + SecurityGroupIds?: string[]; + + /** + *

                                                                                  The tags to apply to the file system being created. The key value of + * the Name tag appears in the console as the file system name.

                                                                                  + */ + Tags?: Tag[]; + + /** + *

                                                                                  The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data + * for Amazon FSx for Windows File Server file systems and Amazon FSx for Lustre PERSISTENT_1 file + * systems at rest. In either case, if not specified, the Amazon FSx managed key + * is used. The Amazon FSx for Lustre SCRATCH_1 and SCRATCH_2 file systems are always encrypted at rest using + * Amazon FSx managed keys. For more information, see Encrypt + * in the AWS Key Management Service API Reference.

                                                                                  + */ + KmsKeyId?: string; + + /** + *

                                                                                  The Microsoft Windows configuration for the file system being created. *

                                                                                  */ - LustreConfiguration?: CreateFileSystemLustreConfiguration; + WindowsConfiguration?: CreateFileSystemWindowsConfiguration; /** - *

                                                                                  A string of up to 64 ASCII characters that Amazon FSx uses to ensure - * idempotent creation. This string is automatically filled on your behalf when you use the - * AWS Command Line Interface (AWS CLI) or an AWS SDK.

                                                                                  + *

                                                                                  The Lustre configuration for the file system being created. + *

                                                                                  */ - ClientRequestToken?: string; + LustreConfiguration?: CreateFileSystemLustreConfiguration; } export namespace CreateFileSystemRequest { @@ -1683,6 +1861,11 @@ export namespace InvalidImportPath { export interface InvalidNetworkSettings extends __SmithyException, $MetadataBearer { name: "InvalidNetworkSettings"; $fault: "client"; + /** + *

                                                                                  A detailed error message.

                                                                                  + */ + Message?: string; + /** *

                                                                                  The ID for a subnet. A subnet is a range of IP addresses in * your virtual private cloud (VPC). For more information, see VPC and Subnets in the @@ -1691,11 +1874,6 @@ export interface InvalidNetworkSettings extends __SmithyException, $MetadataBear */ InvalidSubnetId?: string; - /** - *

                                                                                  A detailed error message.

                                                                                  - */ - Message?: string; - /** *

                                                                                  The ID of your Amazon EC2 security group. This ID is used to control network access * to the endpoint that Amazon FSx creates on your behalf in each subnet. For more @@ -1771,6 +1949,18 @@ export namespace BackupNotFound { * operation.

                                                                                  */ export interface CreateFileSystemFromBackupRequest { + /** + *

                                                                                  The ID of the backup. Specifies the backup to use if you're creating a file system from an existing backup.

                                                                                  + */ + BackupId: string | undefined; + + /** + *

                                                                                  A string of up to 64 ASCII characters that Amazon FSx uses to ensure + * idempotent creation. This string is automatically filled on your behalf when you use the + * AWS Command Line Interface (AWS CLI) or an AWS SDK.

                                                                                  + */ + ClientRequestToken?: string; + /** *

                                                                                  Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 * file system deployment types, provide exactly two subnet IDs, one for the preferred file server @@ -1783,15 +1973,18 @@ export interface CreateFileSystemFromBackupRequest { SubnetIds: string[] | undefined; /** - *

                                                                                  The ID of the backup. Specifies the backup to use if you're creating a file system from an existing backup.

                                                                                  + *

                                                                                  A list of IDs for the security groups that apply to the specified network + * interfaces created for file system access. These security groups apply to all network + * interfaces. This value isn't returned in later DescribeFileSystem requests.

                                                                                  */ - BackupId: string | undefined; + SecurityGroupIds?: string[]; /** - *

                                                                                  The Lustre configuration for the file system being created. - *

                                                                                  + *

                                                                                  The tags to be applied to the file system at file system creation. The key value of + * the Name tag appears in the console as the file system + * name.

                                                                                  */ - LustreConfiguration?: CreateFileSystemLustreConfiguration; + Tags?: Tag[]; /** *

                                                                                  The configuration for this Microsoft Windows file system.

                                                                                  @@ -1799,11 +1992,10 @@ export interface CreateFileSystemFromBackupRequest { WindowsConfiguration?: CreateFileSystemWindowsConfiguration; /** - *

                                                                                  A list of IDs for the security groups that apply to the specified network - * interfaces created for file system access. These security groups apply to all network - * interfaces. This value isn't returned in later DescribeFileSystem requests.

                                                                                  + *

                                                                                  The Lustre configuration for the file system being created. + *

                                                                                  */ - SecurityGroupIds?: string[]; + LustreConfiguration?: CreateFileSystemLustreConfiguration; /** *

                                                                                  Sets the storage type for the Windows file system you're creating from a backup. @@ -1831,20 +2023,6 @@ export interface CreateFileSystemFromBackupRequest { * */ StorageType?: StorageType | string; - - /** - *

                                                                                  A string of up to 64 ASCII characters that Amazon FSx uses to ensure - * idempotent creation. This string is automatically filled on your behalf when you use the - * AWS Command Line Interface (AWS CLI) or an AWS SDK.

                                                                                  - */ - ClientRequestToken?: string; - - /** - *

                                                                                  The tags to be applied to the file system at file system creation. The key value of - * the Name tag appears in the console as the file system - * name.

                                                                                  - */ - Tags?: Tag[]; } export namespace CreateFileSystemFromBackupRequest { @@ -1884,17 +2062,17 @@ export namespace BackupRestoring { *

                                                                                  The request object for DeleteBackup operation.

                                                                                  */ export interface DeleteBackupRequest { + /** + *

                                                                                  The ID of the backup you want to delete.

                                                                                  + */ + BackupId: string | undefined; + /** *

                                                                                  A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent deletion. This is automatically filled on your behalf when using the AWS CLI * or SDK.

                                                                                  */ ClientRequestToken?: string; - - /** - *

                                                                                  The ID of the backup you want to delete.

                                                                                  - */ - BackupId: string | undefined; } export namespace DeleteBackupRequest { @@ -1929,6 +2107,13 @@ export namespace DeleteBackupResponse { * DeleteFileSystem operation.

                                                                                  */ export interface DeleteFileSystemLustreConfiguration { + /** + *

                                                                                  Set SkipFinalBackup to false if you want to take a final backup of the file + * system you are deleting. By default, Amazon FSx will not take a final backup on your behalf when the + * DeleteFileSystem operation is invoked. (Default = true)

                                                                                  + */ + SkipFinalBackup?: boolean; + /** *

                                                                                  Use if SkipFinalBackup is set to false, * and you want to apply an array of tags to the final backup. If you have set the file system property @@ -1936,13 +2121,6 @@ export interface DeleteFileSystemLustreConfiguration { * you specify one or more FinalBackupTags when deleting a file system, Amazon FSx will not copy any existing file system tags to the backup.

                                                                                  */ FinalBackupTags?: Tag[]; - - /** - *

                                                                                  Set SkipFinalBackup to false if you want to take a final backup of the file - * system you are deleting. By default, Amazon FSx will not take a final backup on your behalf when the - * DeleteFileSystem operation is invoked. (Default = true)

                                                                                  - */ - SkipFinalBackup?: boolean; } export namespace DeleteFileSystemLustreConfiguration { @@ -1974,23 +2152,16 @@ export namespace DeleteFileSystemWindowsConfiguration { export const filterSensitiveLog = (obj: DeleteFileSystemWindowsConfiguration): any => ({ ...obj, }); -} - -/** - *

                                                                                  The request object for DeleteFileSystem operation.

                                                                                  - */ -export interface DeleteFileSystemRequest { - /** - *

                                                                                  The configuration object for the Amazon FSx for Lustre file system being deleted in the - * DeleteFileSystem operation.

                                                                                  - */ - LustreConfiguration?: DeleteFileSystemLustreConfiguration; +} +/** + *

                                                                                  The request object for DeleteFileSystem operation.

                                                                                  + */ +export interface DeleteFileSystemRequest { /** - *

                                                                                  The configuration object for the Microsoft Windows file system used in the - * DeleteFileSystem operation.

                                                                                  + *

                                                                                  The ID of the file system you want to delete.

                                                                                  */ - WindowsConfiguration?: DeleteFileSystemWindowsConfiguration; + FileSystemId: string | undefined; /** *

                                                                                  A string of up to 64 ASCII characters that Amazon FSx uses to ensure @@ -2000,9 +2171,16 @@ export interface DeleteFileSystemRequest { ClientRequestToken?: string; /** - *

                                                                                  The ID of the file system you want to delete.

                                                                                  + *

                                                                                  The configuration object for the Microsoft Windows file system used in the + * DeleteFileSystem operation.

                                                                                  */ - FileSystemId: string | undefined; + WindowsConfiguration?: DeleteFileSystemWindowsConfiguration; + + /** + *

                                                                                  The configuration object for the Amazon FSx for Lustre file system being deleted in the + * DeleteFileSystem operation.

                                                                                  + */ + LustreConfiguration?: DeleteFileSystemLustreConfiguration; } export namespace DeleteFileSystemRequest { @@ -2017,14 +2195,14 @@ export namespace DeleteFileSystemRequest { */ export interface DeleteFileSystemLustreResponse { /** - *

                                                                                  The set of tags applied to the final backup.

                                                                                  + *

                                                                                  The ID of the final backup for this file system.

                                                                                  */ - FinalBackupTags?: Tag[]; + FinalBackupId?: string; /** - *

                                                                                  The ID of the final backup for this file system.

                                                                                  + *

                                                                                  The set of tags applied to the final backup.

                                                                                  */ - FinalBackupId?: string; + FinalBackupTags?: Tag[]; } export namespace DeleteFileSystemLustreResponse { @@ -2059,6 +2237,11 @@ export namespace DeleteFileSystemWindowsResponse { *

                                                                                  The response object for the DeleteFileSystem operation.

                                                                                  */ export interface DeleteFileSystemResponse { + /** + *

                                                                                  The ID of the file system being deleted.

                                                                                  + */ + FileSystemId?: string; + /** *

                                                                                  The file system lifecycle for the deletion request. Should be * DELETING.

                                                                                  @@ -2066,21 +2249,16 @@ export interface DeleteFileSystemResponse { Lifecycle?: FileSystemLifecycle | string; /** - *

                                                                                  The ID of the file system being deleted.

                                                                                  + *

                                                                                  The response object for the Microsoft Windows file system used in the + * DeleteFileSystem operation.

                                                                                  */ - FileSystemId?: string; + WindowsResponse?: DeleteFileSystemWindowsResponse; /** *

                                                                                  The response object for the Amazon FSx for Lustre file system being deleted in the * DeleteFileSystem operation.

                                                                                  */ LustreResponse?: DeleteFileSystemLustreResponse; - - /** - *

                                                                                  The response object for the Microsoft Windows file system used in the - * DeleteFileSystem operation.

                                                                                  - */ - WindowsResponse?: DeleteFileSystemWindowsResponse; } export namespace DeleteFileSystemResponse { @@ -2128,6 +2306,12 @@ export interface DescribeBackupsRequest { */ BackupIds?: string[]; + /** + *

                                                                                  Filters structure. Supported names are file-system-id and + * backup-type.

                                                                                  + */ + Filters?: Filter[]; + /** *

                                                                                  Maximum number of backups to return in the response (integer). This * parameter value must be greater than 0. The number of items that Amazon FSx returns is @@ -2142,12 +2326,6 @@ export interface DescribeBackupsRequest { * continues the list from where the returning call left off.

                                                                                  */ NextToken?: string; - - /** - *

                                                                                  Filters structure. Supported names are file-system-id and - * backup-type.

                                                                                  - */ - Filters?: Filter[]; } export namespace DescribeBackupsRequest { @@ -2228,21 +2406,83 @@ export namespace DescribeDataRepositoryTasksRequest { } export interface DescribeDataRepositoryTasksResponse { + /** + *

                                                                                  The collection of data repository task descriptions returned.

                                                                                  + */ + DataRepositoryTasks?: DataRepositoryTask[]; + /** *

                                                                                  (Optional) Opaque pagination token returned from a previous operation (String). If * present, this token indicates from what point you can continue processing the request, where * the previous NextToken value left off.

                                                                                  */ NextToken?: string; +} + +export namespace DescribeDataRepositoryTasksResponse { + export const filterSensitiveLog = (obj: DescribeDataRepositoryTasksResponse): any => ({ + ...obj, + }); +} + +/** + *

                                                                                  The request object for DescribeFileSystemAliases operation.

                                                                                  + */ +export interface DescribeFileSystemAliasesRequest { + /** + *

                                                                                  (Optional) An idempotency token for resource creation, in a string of up to 64 + * ASCII characters. This token is automatically filled on your behalf when you use the AWS + * Command Line Interface (AWS CLI) or an AWS SDK.

                                                                                  + */ + ClientRequestToken?: string; + + /** + *

                                                                                  The ID of the file system to return the associated DNS aliases for + * (String).

                                                                                  + */ + FileSystemId: string | undefined; + + /** + *

                                                                                  Maximum number of DNS aliases to return in the response (integer). This + * parameter value must be greater than 0. The number of items that Amazon FSx returns is + * the minimum of the MaxResults parameter specified in the request and the + * service's internal maximum number of items per page.

                                                                                  + */ + MaxResults?: number; + + /** + *

                                                                                  Opaque pagination token returned from a previous + * DescribeFileSystemAliases operation (String). If a token is included in the request, the action + * continues the list from where the previous returning call left off.

                                                                                  + */ + NextToken?: string; +} +export namespace DescribeFileSystemAliasesRequest { + export const filterSensitiveLog = (obj: DescribeFileSystemAliasesRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                  The response object for DescribeFileSystemAliases operation.

                                                                                  + */ +export interface DescribeFileSystemAliasesResponse { /** - *

                                                                                  The collection of data repository task descriptions returned.

                                                                                  + *

                                                                                  An array of one or more DNS aliases currently associated with the specified file system.

                                                                                  */ - DataRepositoryTasks?: DataRepositoryTask[]; + Aliases?: Alias[]; + + /** + *

                                                                                  Present if there are more DNS aliases than returned in the response (String). You + * can use the NextToken value in a later request to fetch additional + * descriptions.

                                                                                  + */ + NextToken?: string; } -export namespace DescribeDataRepositoryTasksResponse { - export const filterSensitiveLog = (obj: DescribeDataRepositoryTasksResponse): any => ({ +export namespace DescribeFileSystemAliasesResponse { + export const filterSensitiveLog = (obj: DescribeFileSystemAliasesResponse): any => ({ ...obj, }); } @@ -2252,11 +2492,10 @@ export namespace DescribeDataRepositoryTasksResponse { */ export interface DescribeFileSystemsRequest { /** - *

                                                                                  Opaque pagination token returned from a previous - * DescribeFileSystems operation (String). If a token present, the action - * continues the list from where the returning call left off.

                                                                                  + *

                                                                                  IDs of the file systems whose descriptions you want to retrieve + * (String).

                                                                                  */ - NextToken?: string; + FileSystemIds?: string[]; /** *

                                                                                  Maximum number of file systems to return in the response (integer). This @@ -2267,10 +2506,11 @@ export interface DescribeFileSystemsRequest { MaxResults?: number; /** - *

                                                                                  IDs of the file systems whose descriptions you want to retrieve - * (String).

                                                                                  + *

                                                                                  Opaque pagination token returned from a previous + * DescribeFileSystems operation (String). If a token present, the action + * continues the list from where the returning call left off.

                                                                                  */ - FileSystemIds?: string[]; + NextToken?: string; } export namespace DescribeFileSystemsRequest { @@ -2279,10 +2519,60 @@ export namespace DescribeFileSystemsRequest { }); } +/** + *

                                                                                  The request object of DNS aliases to disassociate from an Amazon FSx for Windows File Server file system.

                                                                                  + */ +export interface DisassociateFileSystemAliasesRequest { + /** + *

                                                                                  (Optional) An idempotency token for resource creation, in a string of up to 64 + * ASCII characters. This token is automatically filled on your behalf when you use the AWS + * Command Line Interface (AWS CLI) or an AWS SDK.

                                                                                  + */ + ClientRequestToken?: string; + + /** + *

                                                                                  Specifies the file system from which to disassociate the DNS aliases.

                                                                                  + */ + FileSystemId: string | undefined; + + /** + *

                                                                                  An array of one or more DNS alias names to disassociate, or remove, from the file system.

                                                                                  + */ + Aliases: string[] | undefined; +} + +export namespace DisassociateFileSystemAliasesRequest { + export const filterSensitiveLog = (obj: DisassociateFileSystemAliasesRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                  The system generated response showing the DNS aliases that Amazon FSx is attempting to disassociate from the file system. + * Use the API operation to monitor the status of the aliases Amazon FSx is removing from the file system.

                                                                                  + */ +export interface DisassociateFileSystemAliasesResponse { + /** + *

                                                                                  An array of one or more DNS aliases that Amazon FSx is attempting to disassociate from the file system.

                                                                                  + */ + Aliases?: Alias[]; +} + +export namespace DisassociateFileSystemAliasesResponse { + export const filterSensitiveLog = (obj: DisassociateFileSystemAliasesResponse): any => ({ + ...obj, + }); +} + /** *

                                                                                  The request object for ListTagsForResource operation.

                                                                                  */ export interface ListTagsForResourceRequest { + /** + *

                                                                                  The ARN of the Amazon FSx resource that will have its tags listed.

                                                                                  + */ + ResourceARN: string | undefined; + /** *

                                                                                  Maximum number of tags to return in the response (integer). This * parameter value must be greater than 0. The number of items that Amazon FSx returns is @@ -2291,11 +2581,6 @@ export interface ListTagsForResourceRequest { */ MaxResults?: number; - /** - *

                                                                                  The ARN of the Amazon FSx resource that will have its tags listed.

                                                                                  - */ - ResourceARN: string | undefined; - /** *

                                                                                  Opaque pagination token returned from a previous * ListTagsForResource operation (String). If a token present, the action @@ -2314,17 +2599,17 @@ export namespace ListTagsForResourceRequest { *

                                                                                  The response object for ListTagsForResource operation.

                                                                                  */ export interface ListTagsForResourceResponse { + /** + *

                                                                                  A list of tags on the resource.

                                                                                  + */ + Tags?: Tag[]; + /** *

                                                                                  This is present if there are more tags than returned in the response (String). You * can use the NextToken value in the later request to fetch the tags. *

                                                                                  */ NextToken?: string; - - /** - *

                                                                                  A list of tags on the resource.

                                                                                  - */ - Tags?: Tag[]; } export namespace ListTagsForResourceResponse { @@ -2388,14 +2673,14 @@ export interface ResourceNotFound extends __SmithyException, $MetadataBearer { name: "ResourceNotFound"; $fault: "client"; /** - *

                                                                                  A detailed error message.

                                                                                  + *

                                                                                  The resource ARN of the resource that can't be found.

                                                                                  */ - Message?: string; + ResourceARN: string | undefined; /** - *

                                                                                  The resource ARN of the resource that can't be found.

                                                                                  + *

                                                                                  A detailed error message.

                                                                                  */ - ResourceARN: string | undefined; + Message?: string; } export namespace ResourceNotFound { @@ -2476,6 +2761,25 @@ export namespace UntagResourceResponse { * UpdateFileSystem operation.

                                                                                  */ export interface UpdateFileSystemLustreConfiguration { + /** + *

                                                                                  (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC + * time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                  + */ + WeeklyMaintenanceStartTime?: string; + + /** + *

                                                                                  A recurring daily time, in the format HH:MM. HH is the + * zero-padded hour of the day (0-23), and MM is the zero-padded minute of the + * hour. For example, 05:00 specifies 5 AM daily.

                                                                                  + */ + DailyAutomaticBackupStartTime?: string; + + /** + *

                                                                                  The number of days to retain automatic backups. Setting this to 0 disables + * automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0.

                                                                                  + */ + AutomaticBackupRetentionDays?: number; + /** *

                                                                                  (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. * Use this property to choose how Amazon FSx keeps your file and directory listing up to date @@ -2506,25 +2810,6 @@ export interface UpdateFileSystemLustreConfiguration { *

                                                                                  For more information, see Automatically import updates from your S3 bucket.

                                                                                  */ AutoImportPolicy?: AutoImportPolicyType | string; - - /** - *

                                                                                  A recurring daily time, in the format HH:MM. HH is the - * zero-padded hour of the day (0-23), and MM is the zero-padded minute of the - * hour. For example, 05:00 specifies 5 AM daily.

                                                                                  - */ - DailyAutomaticBackupStartTime?: string; - - /** - *

                                                                                  (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC - * time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

                                                                                  - */ - WeeklyMaintenanceStartTime?: string; - - /** - *

                                                                                  The number of days to retain automatic backups. Setting this to 0 disables - * automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0.

                                                                                  - */ - AutomaticBackupRetentionDays?: number; } export namespace UpdateFileSystemLustreConfiguration { @@ -2539,10 +2824,12 @@ export namespace UpdateFileSystemLustreConfiguration { */ export interface SelfManagedActiveDirectoryConfigurationUpdates { /** - *

                                                                                  A list of up to two IP addresses of DNS servers or domain controllers in the - * self-managed AD directory.

                                                                                  + *

                                                                                  The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to + * your AD domain. This account must have the permission to join + * computers to the domain in the organizational unit provided in + * OrganizationalUnitDistinguishedName.

                                                                                  */ - DnsIps?: string[]; + UserName?: string; /** *

                                                                                  The password for the service account on your self-managed AD domain that Amazon FSx will use to join to @@ -2551,12 +2838,10 @@ export interface SelfManagedActiveDirectoryConfigurationUpdates { Password?: string; /** - *

                                                                                  The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to - * your AD domain. This account must have the permission to join - * computers to the domain in the organizational unit provided in - * OrganizationalUnitDistinguishedName.

                                                                                  + *

                                                                                  A list of up to two IP addresses of DNS servers or domain controllers in the + * self-managed AD directory.

                                                                                  */ - UserName?: string; + DnsIps?: string[]; } export namespace SelfManagedActiveDirectoryConfigurationUpdates { @@ -2566,12 +2851,24 @@ export namespace SelfManagedActiveDirectoryConfigurationUpdates { }); } -/** - *

                                                                                  Updates the configuration for an existing Amazon FSx for Windows - * File Server file system. Amazon FSx only overwrites existing properties with non-null values - * provided in the request.

                                                                                  - */ -export interface UpdateFileSystemWindowsConfiguration { +/** + *

                                                                                  Updates the configuration for an existing Amazon FSx for Windows + * File Server file system. Amazon FSx only overwrites existing properties with non-null values + * provided in the request.

                                                                                  + */ +export interface UpdateFileSystemWindowsConfiguration { + /** + *

                                                                                  The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC + * time zone. Where d is the weekday number, from 1 through 7, with 1 = Monday and 7 = Sunday.

                                                                                  + */ + WeeklyMaintenanceStartTime?: string; + + /** + *

                                                                                  The preferred time to start the daily automatic backup, in the UTC time zone, for example, 02:00 + *

                                                                                  + */ + DailyAutomaticBackupStartTime?: string; + /** *

                                                                                  The number of days to retain automatic daily backups. Setting this to zero (0) disables automatic daily * backups. You can retain automatic daily backups for a maximum of 90 days. For more information, see @@ -2579,12 +2876,6 @@ export interface UpdateFileSystemWindowsConfiguration { */ AutomaticBackupRetentionDays?: number; - /** - *

                                                                                  The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC - * time zone. Where d is the weekday number, from 1 through 7, with 1 = Monday and 7 = Sunday.

                                                                                  - */ - WeeklyMaintenanceStartTime?: string; - /** *

                                                                                  Sets the target value for a file system's throughput capacity, in MB/s, that you are updating the file system to. Valid values are * 8, 16, 32, 64, 128, 256, 512, 1024, 2048. You cannot make a throughput capacity update request if there is an existing throughput capacity update request in progress. For more information, @@ -2592,12 +2883,6 @@ export interface UpdateFileSystemWindowsConfiguration { */ ThroughputCapacity?: number; - /** - *

                                                                                  The preferred time to start the daily automatic backup, in the UTC time zone, for example, 02:00 - *

                                                                                  - */ - DailyAutomaticBackupStartTime?: string; - /** *

                                                                                  The configuration Amazon FSx uses to join the Windows File Server instance to the * self-managed Microsoft AD directory. You cannot make a self-managed Microsoft AD update request if there is an existing self-managed Microsoft AD update request in progress.

                                                                                  @@ -2620,22 +2905,11 @@ export namespace UpdateFileSystemWindowsConfiguration { *

                                                                                  The request object for the UpdateFileSystem operation.

                                                                                  */ export interface UpdateFileSystemRequest { - /** - *

                                                                                  The configuration updates for an Amazon FSx for Windows File Server file system.

                                                                                  - */ - WindowsConfiguration?: UpdateFileSystemWindowsConfiguration; - /** *

                                                                                  Identifies the file system that you are updating.

                                                                                  */ FileSystemId: string | undefined; - /** - *

                                                                                  The configuration object for Amazon FSx for Lustre file systems used in the - * UpdateFileSystem operation.

                                                                                  - */ - LustreConfiguration?: UpdateFileSystemLustreConfiguration; - /** *

                                                                                  A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent updates. This string is automatically filled on your behalf when you use the AWS @@ -2653,6 +2927,17 @@ export interface UpdateFileSystemRequest { * Managing Storage Capacity.

                                                                                  */ StorageCapacity?: number; + + /** + *

                                                                                  The configuration updates for an Amazon FSx for Windows File Server file system.

                                                                                  + */ + WindowsConfiguration?: UpdateFileSystemWindowsConfiguration; + + /** + *

                                                                                  The configuration object for Amazon FSx for Lustre file systems used in the + * UpdateFileSystem operation.

                                                                                  + */ + LustreConfiguration?: UpdateFileSystemLustreConfiguration; } export namespace UpdateFileSystemRequest { @@ -2674,7 +2959,7 @@ export interface AdministrativeAction { *
                                                                                • *

                                                                                  * FILE_SYSTEM_UPDATE - A file system update administrative action initiated by the user from the - * Amazon FSx console, API (UpdateFileSystem), or CLI (update-file-system). A

                                                                                  + * Amazon FSx console, API (UpdateFileSystem), or CLI (update-file-system).

                                                                                  *
                                                                                • *
                                                                                • *

                                                                                  @@ -2688,10 +2973,32 @@ export interface AdministrativeAction { * Managing Storage Capacity. *

                                                                                  *
                                                                                • + *
                                                                                • + *

                                                                                  + * FILE_SYSTEM_ALIAS_ASSOCIATION - A file system update to associate a new DNS alias with the file system. + * For more information, see + * .

                                                                                  + *
                                                                                • + *
                                                                                • + *

                                                                                  + * FILE_SYSTEM_ALIAS_DISASSOCIATION - A file system update to disassociate a DNS alias from the file system. + * For more information, see .

                                                                                  + *
                                                                                • *
                                                                                */ AdministrativeActionType?: AdministrativeActionType | string; + /** + *

                                                                                Provides the percent complete of a STORAGE_OPTIMIZATION administrative action. + * Does not apply to any other administrative action type.

                                                                                + */ + ProgressPercent?: number; + + /** + *

                                                                                Time that the administrative action request was received.

                                                                                + */ + RequestTime?: Date; + /** *

                                                                                Describes the status of the administrative action, as follows:

                                                                                *
                                                                                  @@ -2722,23 +3029,13 @@ export interface AdministrativeAction { Status?: Status | string; /** - *

                                                                                  Time that the administrative action request was received.

                                                                                  - */ - RequestTime?: Date; - - /** - *

                                                                                  Describes the target StorageCapacity or ThroughputCapacity value + *

                                                                                  Describes the target value for the administration action, * provided in the UpdateFileSystem operation. - * Returned for FILE_SYSTEM_UPDATE administrative actions. + * Returned for FILE_SYSTEM_UPDATE administrative actions. *

                                                                                  */ TargetFileSystemValues?: FileSystem; - /** - *

                                                                                  Provides the percent complete of a STORAGE_OPTIMIZATION administrative action.

                                                                                  - */ - ProgressPercent?: number; - /** *

                                                                                  Provides information about a failed administrative action.

                                                                                  */ @@ -2756,52 +3053,28 @@ export namespace AdministrativeAction { */ export interface FileSystem { /** - *

                                                                                  The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), - * also known as Unix time.

                                                                                  - */ - CreationTime?: Date; - - /** - *

                                                                                  The configuration for this Microsoft Windows file system.

                                                                                  + *

                                                                                  The AWS account that created the file system. If the file system was created by an AWS + * Identity and Access Management (IAM) user, the AWS account to which the IAM user belongs + * is the owner.

                                                                                  */ - WindowsConfiguration?: WindowsFileSystemConfiguration; + OwnerId?: string; /** - *

                                                                                  The DNS name for the file system.

                                                                                  + *

                                                                                  The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), + * also known as Unix time.

                                                                                  */ - DNSName?: string; + CreationTime?: Date; /** - *

                                                                                  The Amazon Resource Name (ARN) for the file system resource.

                                                                                  + *

                                                                                  The system-generated, unique 17-digit ID of the file system.

                                                                                  */ - ResourceARN?: string; + FileSystemId?: string; /** *

                                                                                  The type of Amazon FSx file system, either LUSTRE or WINDOWS.

                                                                                  */ FileSystemType?: FileSystemType | string; - /** - *

                                                                                  Specifies the IDs of the subnets that the file system is accessible from. For Windows MULTI_AZ_1 - * file system deployment type, there are two subnet IDs, one for the preferred file server - * and one for the standby file server. The preferred file server subnet identified in the - * PreferredSubnetID property. All other file systems have only one subnet ID.

                                                                                  - *

                                                                                  For Lustre file systems, and Single-AZ Windows file systems, this is the ID of - * the subnet that contains the endpoint for the file system. For MULTI_AZ_1 Windows file systems, - * the endpoint for the file system is available in the PreferredSubnetID.

                                                                                  - */ - SubnetIds?: string[]; - - /** - *

                                                                                  The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data - * for Amazon FSx for Windows File Server file systems and persistent Amazon FSx for Lustre file - * systems at rest. In either case, if not specified, the Amazon FSx managed key - * is used. The scratch Amazon FSx for Lustre file systems are always encrypted at rest using - * Amazon FSx managed keys. For more information, see Encrypt - * in the AWS Key Management Service API Reference.

                                                                                  - */ - KmsKeyId?: string; - /** *

                                                                                  The lifecycle status of the file system, following are the possible values and what they mean:

                                                                                  *
                                                                                    @@ -2834,6 +3107,42 @@ export interface FileSystem { */ Lifecycle?: FileSystemLifecycle | string; + /** + *

                                                                                    A structure providing details of any failures that occur when creating the file system + * has failed.

                                                                                    + */ + FailureDetails?: FileSystemFailureDetails; + + /** + *

                                                                                    The storage capacity of the file system in gigabytes (GB).

                                                                                    + */ + StorageCapacity?: number; + + /** + *

                                                                                    The storage type of the file system. + * Valid values are SSD and HDD. + * If set to SSD, the file system uses solid state drive storage. + * If set to HDD, the file system uses hard disk drive storage. + *

                                                                                    + */ + StorageType?: StorageType | string; + + /** + *

                                                                                    The ID of the primary VPC for the file system.

                                                                                    + */ + VpcId?: string; + + /** + *

                                                                                    Specifies the IDs of the subnets that the file system is accessible from. For Windows MULTI_AZ_1 + * file system deployment type, there are two subnet IDs, one for the preferred file server + * and one for the standby file server. The preferred file server subnet identified in the + * PreferredSubnetID property. All other file systems have only one subnet ID.

                                                                                    + *

                                                                                    For Lustre file systems, and Single-AZ Windows file systems, this is the ID of + * the subnet that contains the endpoint for the file system. For MULTI_AZ_1 Windows file systems, + * the endpoint for the file system is available in the PreferredSubnetID.

                                                                                    + */ + SubnetIds?: string[]; + /** *

                                                                                    The IDs of the elastic network interface from which a specific file system is * accessible. The elastic network interface is automatically created in the same VPC that @@ -2848,36 +3157,24 @@ export interface FileSystem { NetworkInterfaceIds?: string[]; /** - *

                                                                                    The ID of the primary VPC for the file system.

                                                                                    - */ - VpcId?: string; - - /** - *

                                                                                    The configuration for the Amazon FSx for Lustre file system.

                                                                                    - */ - LustreConfiguration?: LustreFileSystemConfiguration; - - /** - *

                                                                                    A structure providing details of any failures that occur when creating the file system - * has failed.

                                                                                    + *

                                                                                    The DNS name for the file system.

                                                                                    */ - FailureDetails?: FileSystemFailureDetails; + DNSName?: string; /** - *

                                                                                    The storage type of the file system. - * Valid values are SSD and HDD. - * If set to SSD, the file system uses solid state drive storage. - * If set to HDD, the file system uses hard disk drive storage. - *

                                                                                    + *

                                                                                    The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data + * for Amazon FSx for Windows File Server file systems and persistent Amazon FSx for Lustre file + * systems at rest. In either case, if not specified, the Amazon FSx managed key + * is used. The scratch Amazon FSx for Lustre file systems are always encrypted at rest using + * Amazon FSx managed keys. For more information, see Encrypt + * in the AWS Key Management Service API Reference.

                                                                                    */ - StorageType?: StorageType | string; + KmsKeyId?: string; /** - *

                                                                                    The AWS account that created the file system. If the file system was created by an AWS - * Identity and Access Management (IAM) user, the AWS account to which the IAM user belongs - * is the owner.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) for the file system resource.

                                                                                    */ - OwnerId?: string; + ResourceARN?: string; /** *

                                                                                    The tags to associate with the file system. For more information, see Tagging Your @@ -2887,9 +3184,14 @@ export interface FileSystem { Tags?: Tag[]; /** - *

                                                                                    The storage capacity of the file system in gigabytes (GB).

                                                                                    + *

                                                                                    The configuration for this Microsoft Windows file system.

                                                                                    */ - StorageCapacity?: number; + WindowsConfiguration?: WindowsFileSystemConfiguration; + + /** + *

                                                                                    The configuration for the Amazon FSx for Lustre file system.

                                                                                    + */ + LustreConfiguration?: LustreFileSystemConfiguration; /** *

                                                                                    A list of administrative actions for the file system that are in process or waiting to be processed. @@ -2897,11 +3199,6 @@ export interface FileSystem { *

                                                                                    */ AdministrativeActions?: AdministrativeAction[]; - - /** - *

                                                                                    The system-generated, unique 17-digit ID of the file system.

                                                                                    - */ - FileSystemId?: string; } export namespace FileSystem { @@ -2915,10 +3212,9 @@ export namespace FileSystem { */ export interface Backup { /** - *

                                                                                    Metadata of the file system associated with the backup. This metadata is persisted - * even if the file system is deleted.

                                                                                    + *

                                                                                    The ID of the backup.

                                                                                    */ - FileSystem: FileSystem | undefined; + BackupId: string | undefined; /** *

                                                                                    The lifecycle status of the backup.

                                                                                    @@ -2948,51 +3244,52 @@ export interface Backup { Lifecycle: BackupLifecycle | string | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) for the backup resource.

                                                                                    + *

                                                                                    Details explaining any failures that occur when creating a backup.

                                                                                    */ - ResourceARN?: string; + FailureDetails?: BackupFailureDetails; /** - *

                                                                                    The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the - * backup of the Amazon FSx file system's data at rest. - *

                                                                                    + *

                                                                                    The type of the file system backup.

                                                                                    */ - KmsKeyId?: string; + Type: BackupType | string | undefined; /** - *

                                                                                    The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance is joined.

                                                                                    + *

                                                                                    The current percent of progress of an asynchronous task.

                                                                                    */ - DirectoryInformation?: ActiveDirectoryBackupAttributes; + ProgressPercent?: number; /** - *

                                                                                    The current percent of progress of an asynchronous task.

                                                                                    + *

                                                                                    The time when a particular backup was created.

                                                                                    */ - ProgressPercent?: number; + CreationTime: Date | undefined; /** - *

                                                                                    Details explaining any failures that occur when creating a backup.

                                                                                    + *

                                                                                    The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the + * backup of the Amazon FSx file system's data at rest. + *

                                                                                    */ - FailureDetails?: BackupFailureDetails; + KmsKeyId?: string; /** - *

                                                                                    The type of the file system backup.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) for the backup resource.

                                                                                    */ - Type: BackupType | string | undefined; + ResourceARN?: string; /** - *

                                                                                    The time when a particular backup was created.

                                                                                    + *

                                                                                    Tags associated with a particular file system.

                                                                                    */ - CreationTime: Date | undefined; + Tags?: Tag[]; /** - *

                                                                                    The ID of the backup.

                                                                                    + *

                                                                                    Metadata of the file system associated with the backup. This metadata is persisted + * even if the file system is deleted.

                                                                                    */ - BackupId: string | undefined; + FileSystem: FileSystem | undefined; /** - *

                                                                                    Tags associated with a particular file system.

                                                                                    + *

                                                                                    The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance is joined.

                                                                                    */ - Tags?: Tag[]; + DirectoryInformation?: ActiveDirectoryBackupAttributes; } export namespace Backup { @@ -3070,17 +3367,17 @@ export namespace CreateBackupResponse { *

                                                                                    The response object for DescribeFileSystems operation.

                                                                                    */ export interface DescribeFileSystemsResponse { + /** + *

                                                                                    An array of file system descriptions.

                                                                                    + */ + FileSystems?: FileSystem[]; + /** *

                                                                                    Present if there are more file systems than returned in the response (String). You * can use the NextToken value in the later request to fetch the * descriptions.

                                                                                    */ NextToken?: string; - - /** - *

                                                                                    An array of file system descriptions.

                                                                                    - */ - FileSystems?: FileSystem[]; } export namespace DescribeFileSystemsResponse { @@ -3093,17 +3390,17 @@ export namespace DescribeFileSystemsResponse { *

                                                                                    Response object for DescribeBackups operation.

                                                                                    */ export interface DescribeBackupsResponse { + /** + *

                                                                                    Any array of backups.

                                                                                    + */ + Backups?: Backup[]; + /** *

                                                                                    This is present if there are more backups than returned in the response (String). * You can use the NextToken value in the later request to fetch the backups. *

                                                                                    */ NextToken?: string; - - /** - *

                                                                                    Any array of backups.

                                                                                    - */ - Backups?: Backup[]; } export namespace DescribeBackupsResponse { diff --git a/clients/client-fsx/pagination/DescribeBackupsPaginator.ts b/clients/client-fsx/pagination/DescribeBackupsPaginator.ts index ba46335c8871..bc79002e8599 100644 --- a/clients/client-fsx/pagination/DescribeBackupsPaginator.ts +++ b/clients/client-fsx/pagination/DescribeBackupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBackupsCommand(input), ...args); + return await client.send(new DescribeBackupsCommand(input, ...args)); }; const makePagedRequest = async ( client: FSx, diff --git a/clients/client-fsx/pagination/DescribeDataRepositoryTasksPaginator.ts b/clients/client-fsx/pagination/DescribeDataRepositoryTasksPaginator.ts index 060c2a76f695..85fa8c9f004b 100644 --- a/clients/client-fsx/pagination/DescribeDataRepositoryTasksPaginator.ts +++ b/clients/client-fsx/pagination/DescribeDataRepositoryTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDataRepositoryTasksCommand(input), ...args); + return await client.send(new DescribeDataRepositoryTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: FSx, diff --git a/clients/client-fsx/pagination/DescribeFileSystemAliasesPaginator.ts b/clients/client-fsx/pagination/DescribeFileSystemAliasesPaginator.ts new file mode 100644 index 000000000000..d1abedc63ef7 --- /dev/null +++ b/clients/client-fsx/pagination/DescribeFileSystemAliasesPaginator.ts @@ -0,0 +1,51 @@ +import { FSx } from "../FSx"; +import { FSxClient } from "../FSxClient"; +import { + DescribeFileSystemAliasesCommand, + DescribeFileSystemAliasesCommandInput, + DescribeFileSystemAliasesCommandOutput, +} from "../commands/DescribeFileSystemAliasesCommand"; +import { FSxPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: FSxClient, + input: DescribeFileSystemAliasesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new DescribeFileSystemAliasesCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: FSx, + input: DescribeFileSystemAliasesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.describeFileSystemAliases(input, ...args); +}; +export async function* describeFileSystemAliasesPaginate( + config: FSxPaginationConfiguration, + input: DescribeFileSystemAliasesCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: DescribeFileSystemAliasesCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof FSx) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof FSxClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected FSx | FSxClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-fsx/pagination/DescribeFileSystemsPaginator.ts b/clients/client-fsx/pagination/DescribeFileSystemsPaginator.ts index 55018ed345fc..832f61b100ed 100644 --- a/clients/client-fsx/pagination/DescribeFileSystemsPaginator.ts +++ b/clients/client-fsx/pagination/DescribeFileSystemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFileSystemsCommand(input), ...args); + return await client.send(new DescribeFileSystemsCommand(input, ...args)); }; const makePagedRequest = async ( client: FSx, diff --git a/clients/client-fsx/protocols/Aws_json1_1.ts b/clients/client-fsx/protocols/Aws_json1_1.ts index 6f43eb027d51..7425dbdcc5fc 100644 --- a/clients/client-fsx/protocols/Aws_json1_1.ts +++ b/clients/client-fsx/protocols/Aws_json1_1.ts @@ -1,3 +1,7 @@ +import { + AssociateFileSystemAliasesCommandInput, + AssociateFileSystemAliasesCommandOutput, +} from "../commands/AssociateFileSystemAliasesCommand"; import { CancelDataRepositoryTaskCommandInput, CancelDataRepositoryTaskCommandOutput, @@ -19,10 +23,18 @@ import { DescribeDataRepositoryTasksCommandInput, DescribeDataRepositoryTasksCommandOutput, } from "../commands/DescribeDataRepositoryTasksCommand"; +import { + DescribeFileSystemAliasesCommandInput, + DescribeFileSystemAliasesCommandOutput, +} from "../commands/DescribeFileSystemAliasesCommand"; import { DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput, } from "../commands/DescribeFileSystemsCommand"; +import { + DisassociateFileSystemAliasesCommandInput, + DisassociateFileSystemAliasesCommandOutput, +} from "../commands/DisassociateFileSystemAliasesCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, @@ -35,6 +47,9 @@ import { ActiveDirectoryError, AdministrativeAction, AdministrativeActionFailureDetails, + Alias, + AssociateFileSystemAliasesRequest, + AssociateFileSystemAliasesResponse, Backup, BackupFailureDetails, BackupInProgress, @@ -75,8 +90,12 @@ import { DescribeBackupsResponse, DescribeDataRepositoryTasksRequest, DescribeDataRepositoryTasksResponse, + DescribeFileSystemAliasesRequest, + DescribeFileSystemAliasesResponse, DescribeFileSystemsRequest, DescribeFileSystemsResponse, + DisassociateFileSystemAliasesRequest, + DisassociateFileSystemAliasesResponse, FileSystem, FileSystemFailureDetails, FileSystemMaintenanceOperation, @@ -122,6 +141,19 @@ import { } from "@aws-sdk/types"; import { v4 as generateIdempotencyToken } from "uuid"; +export const serializeAws_json1_1AssociateFileSystemAliasesCommand = async ( + input: AssociateFileSystemAliasesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSSimbaAPIService_v20180301.AssociateFileSystemAliases", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1AssociateFileSystemAliasesRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1CancelDataRepositoryTaskCommand = async ( input: CancelDataRepositoryTaskCommandInput, context: __SerdeContext @@ -239,6 +271,19 @@ export const serializeAws_json1_1DescribeDataRepositoryTasksCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DescribeFileSystemAliasesCommand = async ( + input: DescribeFileSystemAliasesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSSimbaAPIService_v20180301.DescribeFileSystemAliases", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DescribeFileSystemAliasesRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DescribeFileSystemsCommand = async ( input: DescribeFileSystemsCommandInput, context: __SerdeContext @@ -252,6 +297,19 @@ export const serializeAws_json1_1DescribeFileSystemsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DisassociateFileSystemAliasesCommand = async ( + input: DisassociateFileSystemAliasesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSSimbaAPIService_v20180301.DisassociateFileSystemAliases", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DisassociateFileSystemAliasesRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1ListTagsForResourceCommand = async ( input: ListTagsForResourceCommandInput, context: __SerdeContext @@ -304,6 +362,77 @@ export const serializeAws_json1_1UpdateFileSystemCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const deserializeAws_json1_1AssociateFileSystemAliasesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1AssociateFileSystemAliasesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1AssociateFileSystemAliasesResponse(data, context); + const response: AssociateFileSystemAliasesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1AssociateFileSystemAliasesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "BadRequest": + case "com.amazonaws.fsx#BadRequest": + response = { + ...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "FileSystemNotFound": + case "com.amazonaws.fsx#FileSystemNotFound": + response = { + ...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerError": + case "com.amazonaws.fsx#InternalServerError": + response = { + ...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1CancelDataRepositoryTaskCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1183,6 +1312,77 @@ const deserializeAws_json1_1DescribeDataRepositoryTasksCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1DescribeFileSystemAliasesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DescribeFileSystemAliasesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DescribeFileSystemAliasesResponse(data, context); + const response: DescribeFileSystemAliasesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DescribeFileSystemAliasesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "BadRequest": + case "com.amazonaws.fsx#BadRequest": + response = { + ...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "FileSystemNotFound": + case "com.amazonaws.fsx#FileSystemNotFound": + response = { + ...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerError": + case "com.amazonaws.fsx#InternalServerError": + response = { + ...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1DescribeFileSystemsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1254,6 +1454,77 @@ const deserializeAws_json1_1DescribeFileSystemsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1DisassociateFileSystemAliasesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DisassociateFileSystemAliasesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DisassociateFileSystemAliasesResponse(data, context); + const response: DisassociateFileSystemAliasesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DisassociateFileSystemAliasesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "BadRequest": + case "com.amazonaws.fsx#BadRequest": + response = { + ...(await deserializeAws_json1_1BadRequestResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "FileSystemNotFound": + case "com.amazonaws.fsx#FileSystemNotFound": + response = { + ...(await deserializeAws_json1_1FileSystemNotFoundResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerError": + case "com.amazonaws.fsx#InternalServerError": + response = { + ...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1ListTagsForResourceCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1933,6 +2204,21 @@ const deserializeAws_json1_1UnsupportedOperationResponse = async ( return contents; }; +const serializeAws_json1_1AlternateDNSNames = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + +const serializeAws_json1_1AssociateFileSystemAliasesRequest = ( + input: AssociateFileSystemAliasesRequest, + context: __SerdeContext +): any => { + return { + ...(input.Aliases !== undefined && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) }), + ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(), + ...(input.FileSystemId !== undefined && { FileSystemId: input.FileSystemId }), + }; +}; + const serializeAws_json1_1BackupIds = (input: string[], context: __SerdeContext): any => { return input.map((entry) => entry); }; @@ -2057,6 +2343,7 @@ const serializeAws_json1_1CreateFileSystemWindowsConfiguration = ( ): any => { return { ...(input.ActiveDirectoryId !== undefined && { ActiveDirectoryId: input.ActiveDirectoryId }), + ...(input.Aliases !== undefined && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) }), ...(input.AutomaticBackupRetentionDays !== undefined && { AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays, }), @@ -2176,6 +2463,18 @@ const serializeAws_json1_1DescribeDataRepositoryTasksRequest = ( }; }; +const serializeAws_json1_1DescribeFileSystemAliasesRequest = ( + input: DescribeFileSystemAliasesRequest, + context: __SerdeContext +): any => { + return { + ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(), + ...(input.FileSystemId !== undefined && { FileSystemId: input.FileSystemId }), + ...(input.MaxResults !== undefined && { MaxResults: input.MaxResults }), + ...(input.NextToken !== undefined && { NextToken: input.NextToken }), + }; +}; + const serializeAws_json1_1DescribeFileSystemsRequest = ( input: DescribeFileSystemsRequest, context: __SerdeContext @@ -2189,6 +2488,17 @@ const serializeAws_json1_1DescribeFileSystemsRequest = ( }; }; +const serializeAws_json1_1DisassociateFileSystemAliasesRequest = ( + input: DisassociateFileSystemAliasesRequest, + context: __SerdeContext +): any => { + return { + ...(input.Aliases !== undefined && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) }), + ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(), + ...(input.FileSystemId !== undefined && { FileSystemId: input.FileSystemId }), + }; +}; + const serializeAws_json1_1DnsIps = (input: string[], context: __SerdeContext): any => { return input.map((entry) => entry); }; @@ -2413,6 +2723,29 @@ const deserializeAws_json1_1AdministrativeActions = (output: any, context: __Ser return (output || []).map((entry: any) => deserializeAws_json1_1AdministrativeAction(entry, context)); }; +const deserializeAws_json1_1Alias = (output: any, context: __SerdeContext): Alias => { + return { + Lifecycle: output.Lifecycle !== undefined && output.Lifecycle !== null ? output.Lifecycle : undefined, + Name: output.Name !== undefined && output.Name !== null ? output.Name : undefined, + } as any; +}; + +const deserializeAws_json1_1Aliases = (output: any, context: __SerdeContext): Alias[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1Alias(entry, context)); +}; + +const deserializeAws_json1_1AssociateFileSystemAliasesResponse = ( + output: any, + context: __SerdeContext +): AssociateFileSystemAliasesResponse => { + return { + Aliases: + output.Aliases !== undefined && output.Aliases !== null + ? deserializeAws_json1_1Aliases(output.Aliases, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1Backup = (output: any, context: __SerdeContext): Backup => { return { BackupId: output.BackupId !== undefined && output.BackupId !== null ? output.BackupId : undefined, @@ -2749,6 +3082,19 @@ const deserializeAws_json1_1DescribeDataRepositoryTasksResponse = ( } as any; }; +const deserializeAws_json1_1DescribeFileSystemAliasesResponse = ( + output: any, + context: __SerdeContext +): DescribeFileSystemAliasesResponse => { + return { + Aliases: + output.Aliases !== undefined && output.Aliases !== null + ? deserializeAws_json1_1Aliases(output.Aliases, context) + : undefined, + NextToken: output.NextToken !== undefined && output.NextToken !== null ? output.NextToken : undefined, + } as any; +}; + const deserializeAws_json1_1DescribeFileSystemsResponse = ( output: any, context: __SerdeContext @@ -2762,6 +3108,18 @@ const deserializeAws_json1_1DescribeFileSystemsResponse = ( } as any; }; +const deserializeAws_json1_1DisassociateFileSystemAliasesResponse = ( + output: any, + context: __SerdeContext +): DisassociateFileSystemAliasesResponse => { + return { + Aliases: + output.Aliases !== undefined && output.Aliases !== null + ? deserializeAws_json1_1Aliases(output.Aliases, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1DnsIps = (output: any, context: __SerdeContext): string[] => { return (output || []).map((entry: any) => entry); }; @@ -3055,6 +3413,10 @@ const deserializeAws_json1_1WindowsFileSystemConfiguration = ( output.ActiveDirectoryId !== undefined && output.ActiveDirectoryId !== null ? output.ActiveDirectoryId : undefined, + Aliases: + output.Aliases !== undefined && output.Aliases !== null + ? deserializeAws_json1_1Aliases(output.Aliases, context) + : undefined, AutomaticBackupRetentionDays: output.AutomaticBackupRetentionDays !== undefined && output.AutomaticBackupRetentionDays !== null ? output.AutomaticBackupRetentionDays diff --git a/clients/client-gamelift/pagination/DescribeFleetAttributesPaginator.ts b/clients/client-gamelift/pagination/DescribeFleetAttributesPaginator.ts index c1e36da1e6bf..39bae8c654a2 100644 --- a/clients/client-gamelift/pagination/DescribeFleetAttributesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeFleetAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetAttributesCommand(input), ...args); + return await client.send(new DescribeFleetAttributesCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeFleetCapacityPaginator.ts b/clients/client-gamelift/pagination/DescribeFleetCapacityPaginator.ts index 5d5776d83cd8..2c90e8220dbe 100644 --- a/clients/client-gamelift/pagination/DescribeFleetCapacityPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeFleetCapacityPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetCapacityCommand(input), ...args); + return await client.send(new DescribeFleetCapacityCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeFleetEventsPaginator.ts b/clients/client-gamelift/pagination/DescribeFleetEventsPaginator.ts index 71ed81a1bafc..e7923cfbbe2e 100644 --- a/clients/client-gamelift/pagination/DescribeFleetEventsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeFleetEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetEventsCommand(input), ...args); + return await client.send(new DescribeFleetEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeFleetUtilizationPaginator.ts b/clients/client-gamelift/pagination/DescribeFleetUtilizationPaginator.ts index 8e3a3cb07e69..125e43f9e3ff 100644 --- a/clients/client-gamelift/pagination/DescribeFleetUtilizationPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeFleetUtilizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetUtilizationCommand(input), ...args); + return await client.send(new DescribeFleetUtilizationCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeGameServerInstancesPaginator.ts b/clients/client-gamelift/pagination/DescribeGameServerInstancesPaginator.ts index 3f4b0be4edd0..33fe95900608 100644 --- a/clients/client-gamelift/pagination/DescribeGameServerInstancesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeGameServerInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGameServerInstancesCommand(input), ...args); + return await client.send(new DescribeGameServerInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeGameSessionDetailsPaginator.ts b/clients/client-gamelift/pagination/DescribeGameSessionDetailsPaginator.ts index e6dfbdc4f86e..4fb7468c062d 100644 --- a/clients/client-gamelift/pagination/DescribeGameSessionDetailsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeGameSessionDetailsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGameSessionDetailsCommand(input), ...args); + return await client.send(new DescribeGameSessionDetailsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeGameSessionQueuesPaginator.ts b/clients/client-gamelift/pagination/DescribeGameSessionQueuesPaginator.ts index 346323a4609b..a98d49ad1839 100644 --- a/clients/client-gamelift/pagination/DescribeGameSessionQueuesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeGameSessionQueuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGameSessionQueuesCommand(input), ...args); + return await client.send(new DescribeGameSessionQueuesCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeGameSessionsPaginator.ts b/clients/client-gamelift/pagination/DescribeGameSessionsPaginator.ts index 3d95a978e231..e4ab76575564 100644 --- a/clients/client-gamelift/pagination/DescribeGameSessionsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeGameSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGameSessionsCommand(input), ...args); + return await client.send(new DescribeGameSessionsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeInstancesPaginator.ts b/clients/client-gamelift/pagination/DescribeInstancesPaginator.ts index 2e1f05532acb..fc1e61d23c6e 100644 --- a/clients/client-gamelift/pagination/DescribeInstancesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancesCommand(input), ...args); + return await client.send(new DescribeInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeMatchmakingConfigurationsPaginator.ts b/clients/client-gamelift/pagination/DescribeMatchmakingConfigurationsPaginator.ts index 3fcd25f6a6a5..a5721c22855b 100644 --- a/clients/client-gamelift/pagination/DescribeMatchmakingConfigurationsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeMatchmakingConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMatchmakingConfigurationsCommand(input), ...args); + return await client.send(new DescribeMatchmakingConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeMatchmakingRuleSetsPaginator.ts b/clients/client-gamelift/pagination/DescribeMatchmakingRuleSetsPaginator.ts index 4d7e60eb2200..0a3a6748024f 100644 --- a/clients/client-gamelift/pagination/DescribeMatchmakingRuleSetsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeMatchmakingRuleSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMatchmakingRuleSetsCommand(input), ...args); + return await client.send(new DescribeMatchmakingRuleSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribePlayerSessionsPaginator.ts b/clients/client-gamelift/pagination/DescribePlayerSessionsPaginator.ts index 37ed11692aec..28921c8f944b 100644 --- a/clients/client-gamelift/pagination/DescribePlayerSessionsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribePlayerSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePlayerSessionsCommand(input), ...args); + return await client.send(new DescribePlayerSessionsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeScalingPoliciesPaginator.ts b/clients/client-gamelift/pagination/DescribeScalingPoliciesPaginator.ts index 0acbeff14708..3f2b421fb586 100644 --- a/clients/client-gamelift/pagination/DescribeScalingPoliciesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeScalingPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalingPoliciesCommand(input), ...args); + return await client.send(new DescribeScalingPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListAliasesPaginator.ts b/clients/client-gamelift/pagination/ListAliasesPaginator.ts index 2f7ef2ee1a02..cee8a210644b 100644 --- a/clients/client-gamelift/pagination/ListAliasesPaginator.ts +++ b/clients/client-gamelift/pagination/ListAliasesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAliasesCommand(input), ...args); + return await client.send(new ListAliasesCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListBuildsPaginator.ts b/clients/client-gamelift/pagination/ListBuildsPaginator.ts index 5c07baf04b17..7bd4f8e4297c 100644 --- a/clients/client-gamelift/pagination/ListBuildsPaginator.ts +++ b/clients/client-gamelift/pagination/ListBuildsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildsCommand(input), ...args); + return await client.send(new ListBuildsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListFleetsPaginator.ts b/clients/client-gamelift/pagination/ListFleetsPaginator.ts index 5677055375ca..49d6d2a9a63b 100644 --- a/clients/client-gamelift/pagination/ListFleetsPaginator.ts +++ b/clients/client-gamelift/pagination/ListFleetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFleetsCommand(input), ...args); + return await client.send(new ListFleetsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListGameServerGroupsPaginator.ts b/clients/client-gamelift/pagination/ListGameServerGroupsPaginator.ts index 731ed9af8f08..93a61313f32a 100644 --- a/clients/client-gamelift/pagination/ListGameServerGroupsPaginator.ts +++ b/clients/client-gamelift/pagination/ListGameServerGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGameServerGroupsCommand(input), ...args); + return await client.send(new ListGameServerGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListGameServersPaginator.ts b/clients/client-gamelift/pagination/ListGameServersPaginator.ts index cf8d748e2850..b3b5848d16d5 100644 --- a/clients/client-gamelift/pagination/ListGameServersPaginator.ts +++ b/clients/client-gamelift/pagination/ListGameServersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGameServersCommand(input), ...args); + return await client.send(new ListGameServersCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListScriptsPaginator.ts b/clients/client-gamelift/pagination/ListScriptsPaginator.ts index cd7635d46d78..bfee681aee09 100644 --- a/clients/client-gamelift/pagination/ListScriptsPaginator.ts +++ b/clients/client-gamelift/pagination/ListScriptsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListScriptsCommand(input), ...args); + return await client.send(new ListScriptsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/SearchGameSessionsPaginator.ts b/clients/client-gamelift/pagination/SearchGameSessionsPaginator.ts index 494239d101b7..47b12a567d4c 100644 --- a/clients/client-gamelift/pagination/SearchGameSessionsPaginator.ts +++ b/clients/client-gamelift/pagination/SearchGameSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchGameSessionsCommand(input), ...args); + return await client.send(new SearchGameSessionsCommand(input, ...args)); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-glue/pagination/GetClassifiersPaginator.ts b/clients/client-glue/pagination/GetClassifiersPaginator.ts index 9c9fbe13c538..bb6099e29c2b 100644 --- a/clients/client-glue/pagination/GetClassifiersPaginator.ts +++ b/clients/client-glue/pagination/GetClassifiersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetClassifiersCommand(input), ...args); + return await client.send(new GetClassifiersCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetConnectionsPaginator.ts b/clients/client-glue/pagination/GetConnectionsPaginator.ts index 48f539ec6ff2..8e0f76ca1a47 100644 --- a/clients/client-glue/pagination/GetConnectionsPaginator.ts +++ b/clients/client-glue/pagination/GetConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetConnectionsCommand(input), ...args); + return await client.send(new GetConnectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetCrawlerMetricsPaginator.ts b/clients/client-glue/pagination/GetCrawlerMetricsPaginator.ts index b3c8c56b5ae8..102ee5bff2a6 100644 --- a/clients/client-glue/pagination/GetCrawlerMetricsPaginator.ts +++ b/clients/client-glue/pagination/GetCrawlerMetricsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCrawlerMetricsCommand(input), ...args); + return await client.send(new GetCrawlerMetricsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetCrawlersPaginator.ts b/clients/client-glue/pagination/GetCrawlersPaginator.ts index 09999d40c469..59ded1a6f1fa 100644 --- a/clients/client-glue/pagination/GetCrawlersPaginator.ts +++ b/clients/client-glue/pagination/GetCrawlersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCrawlersCommand(input), ...args); + return await client.send(new GetCrawlersCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetDatabasesPaginator.ts b/clients/client-glue/pagination/GetDatabasesPaginator.ts index a6d3a39ea2f4..bce9d330fed7 100644 --- a/clients/client-glue/pagination/GetDatabasesPaginator.ts +++ b/clients/client-glue/pagination/GetDatabasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDatabasesCommand(input), ...args); + return await client.send(new GetDatabasesCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetDevEndpointsPaginator.ts b/clients/client-glue/pagination/GetDevEndpointsPaginator.ts index 483d861f426b..4ee867bf4f9c 100644 --- a/clients/client-glue/pagination/GetDevEndpointsPaginator.ts +++ b/clients/client-glue/pagination/GetDevEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDevEndpointsCommand(input), ...args); + return await client.send(new GetDevEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetJobRunsPaginator.ts b/clients/client-glue/pagination/GetJobRunsPaginator.ts index 9dba5f19b323..d306a0af3141 100644 --- a/clients/client-glue/pagination/GetJobRunsPaginator.ts +++ b/clients/client-glue/pagination/GetJobRunsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetJobRunsCommand(input), ...args); + return await client.send(new GetJobRunsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetJobsPaginator.ts b/clients/client-glue/pagination/GetJobsPaginator.ts index e5720729db4d..260de79fea86 100644 --- a/clients/client-glue/pagination/GetJobsPaginator.ts +++ b/clients/client-glue/pagination/GetJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetJobsCommand(input), ...args); + return await client.send(new GetJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetMLTaskRunsPaginator.ts b/clients/client-glue/pagination/GetMLTaskRunsPaginator.ts index 1953349814b3..4dd915286773 100644 --- a/clients/client-glue/pagination/GetMLTaskRunsPaginator.ts +++ b/clients/client-glue/pagination/GetMLTaskRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMLTaskRunsCommand(input), ...args); + return await client.send(new GetMLTaskRunsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetMLTransformsPaginator.ts b/clients/client-glue/pagination/GetMLTransformsPaginator.ts index 6bca154d384c..a1ff00b93276 100644 --- a/clients/client-glue/pagination/GetMLTransformsPaginator.ts +++ b/clients/client-glue/pagination/GetMLTransformsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMLTransformsCommand(input), ...args); + return await client.send(new GetMLTransformsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetPartitionIndexesPaginator.ts b/clients/client-glue/pagination/GetPartitionIndexesPaginator.ts index 544e6858eaa4..4e58b8a90ae4 100644 --- a/clients/client-glue/pagination/GetPartitionIndexesPaginator.ts +++ b/clients/client-glue/pagination/GetPartitionIndexesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetPartitionIndexesCommand(input), ...args); + return await client.send(new GetPartitionIndexesCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetPartitionsPaginator.ts b/clients/client-glue/pagination/GetPartitionsPaginator.ts index 61d6d0d0b422..6b0d7a1b43b3 100644 --- a/clients/client-glue/pagination/GetPartitionsPaginator.ts +++ b/clients/client-glue/pagination/GetPartitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetPartitionsCommand(input), ...args); + return await client.send(new GetPartitionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetSecurityConfigurationsPaginator.ts b/clients/client-glue/pagination/GetSecurityConfigurationsPaginator.ts index 23f907a906e6..4d004efe46f8 100644 --- a/clients/client-glue/pagination/GetSecurityConfigurationsPaginator.ts +++ b/clients/client-glue/pagination/GetSecurityConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSecurityConfigurationsCommand(input), ...args); + return await client.send(new GetSecurityConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetTableVersionsPaginator.ts b/clients/client-glue/pagination/GetTableVersionsPaginator.ts index d2502c95982f..b652785c3e52 100644 --- a/clients/client-glue/pagination/GetTableVersionsPaginator.ts +++ b/clients/client-glue/pagination/GetTableVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTableVersionsCommand(input), ...args); + return await client.send(new GetTableVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetTablesPaginator.ts b/clients/client-glue/pagination/GetTablesPaginator.ts index c1892b46c57b..782449f02f57 100644 --- a/clients/client-glue/pagination/GetTablesPaginator.ts +++ b/clients/client-glue/pagination/GetTablesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTablesCommand(input), ...args); + return await client.send(new GetTablesCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetTriggersPaginator.ts b/clients/client-glue/pagination/GetTriggersPaginator.ts index 1ee8a76ba698..e19516a64570 100644 --- a/clients/client-glue/pagination/GetTriggersPaginator.ts +++ b/clients/client-glue/pagination/GetTriggersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTriggersCommand(input), ...args); + return await client.send(new GetTriggersCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetUserDefinedFunctionsPaginator.ts b/clients/client-glue/pagination/GetUserDefinedFunctionsPaginator.ts index cb5253e129c1..3a5fe9aa0d59 100644 --- a/clients/client-glue/pagination/GetUserDefinedFunctionsPaginator.ts +++ b/clients/client-glue/pagination/GetUserDefinedFunctionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUserDefinedFunctionsCommand(input), ...args); + return await client.send(new GetUserDefinedFunctionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetWorkflowRunsPaginator.ts b/clients/client-glue/pagination/GetWorkflowRunsPaginator.ts index f1b07f77060f..ecf465d04f00 100644 --- a/clients/client-glue/pagination/GetWorkflowRunsPaginator.ts +++ b/clients/client-glue/pagination/GetWorkflowRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetWorkflowRunsCommand(input), ...args); + return await client.send(new GetWorkflowRunsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListCrawlersPaginator.ts b/clients/client-glue/pagination/ListCrawlersPaginator.ts index c1001e679dcf..a2f4af431ae8 100644 --- a/clients/client-glue/pagination/ListCrawlersPaginator.ts +++ b/clients/client-glue/pagination/ListCrawlersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCrawlersCommand(input), ...args); + return await client.send(new ListCrawlersCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListDevEndpointsPaginator.ts b/clients/client-glue/pagination/ListDevEndpointsPaginator.ts index 2685e893cf58..b171ecc4a363 100644 --- a/clients/client-glue/pagination/ListDevEndpointsPaginator.ts +++ b/clients/client-glue/pagination/ListDevEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevEndpointsCommand(input), ...args); + return await client.send(new ListDevEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListJobsPaginator.ts b/clients/client-glue/pagination/ListJobsPaginator.ts index 8f9f1a9369e1..0e84110b56b9 100644 --- a/clients/client-glue/pagination/ListJobsPaginator.ts +++ b/clients/client-glue/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input), ...args); + return await client.send(new ListJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListMLTransformsPaginator.ts b/clients/client-glue/pagination/ListMLTransformsPaginator.ts index a364d807676d..bf16bb16fc3b 100644 --- a/clients/client-glue/pagination/ListMLTransformsPaginator.ts +++ b/clients/client-glue/pagination/ListMLTransformsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMLTransformsCommand(input), ...args); + return await client.send(new ListMLTransformsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListTriggersPaginator.ts b/clients/client-glue/pagination/ListTriggersPaginator.ts index aad82b88e13f..8cb6caa21bf8 100644 --- a/clients/client-glue/pagination/ListTriggersPaginator.ts +++ b/clients/client-glue/pagination/ListTriggersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTriggersCommand(input), ...args); + return await client.send(new ListTriggersCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListWorkflowsPaginator.ts b/clients/client-glue/pagination/ListWorkflowsPaginator.ts index 111706faa411..94b30f37b555 100644 --- a/clients/client-glue/pagination/ListWorkflowsPaginator.ts +++ b/clients/client-glue/pagination/ListWorkflowsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkflowsCommand(input), ...args); + return await client.send(new ListWorkflowsCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/SearchTablesPaginator.ts b/clients/client-glue/pagination/SearchTablesPaginator.ts index 8790750bbd13..35f956dd7384 100644 --- a/clients/client-glue/pagination/SearchTablesPaginator.ts +++ b/clients/client-glue/pagination/SearchTablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchTablesCommand(input), ...args); + return await client.send(new SearchTablesCommand(input, ...args)); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-groundstation/pagination/ListConfigsPaginator.ts b/clients/client-groundstation/pagination/ListConfigsPaginator.ts index 4c33bbce5d3f..1d373715a08e 100644 --- a/clients/client-groundstation/pagination/ListConfigsPaginator.ts +++ b/clients/client-groundstation/pagination/ListConfigsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigsCommand(input), ...args); + return await client.send(new ListConfigsCommand(input, ...args)); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListContactsPaginator.ts b/clients/client-groundstation/pagination/ListContactsPaginator.ts index 2ed00c72a441..5dba07bef221 100644 --- a/clients/client-groundstation/pagination/ListContactsPaginator.ts +++ b/clients/client-groundstation/pagination/ListContactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContactsCommand(input), ...args); + return await client.send(new ListContactsCommand(input, ...args)); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListDataflowEndpointGroupsPaginator.ts b/clients/client-groundstation/pagination/ListDataflowEndpointGroupsPaginator.ts index e48cd04bacb7..ee422ab9c4a7 100644 --- a/clients/client-groundstation/pagination/ListDataflowEndpointGroupsPaginator.ts +++ b/clients/client-groundstation/pagination/ListDataflowEndpointGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataflowEndpointGroupsCommand(input), ...args); + return await client.send(new ListDataflowEndpointGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListGroundStationsPaginator.ts b/clients/client-groundstation/pagination/ListGroundStationsPaginator.ts index f3bab063846c..ce158bfaad9c 100644 --- a/clients/client-groundstation/pagination/ListGroundStationsPaginator.ts +++ b/clients/client-groundstation/pagination/ListGroundStationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroundStationsCommand(input), ...args); + return await client.send(new ListGroundStationsCommand(input, ...args)); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListMissionProfilesPaginator.ts b/clients/client-groundstation/pagination/ListMissionProfilesPaginator.ts index 7207df6870bb..243d38c65ce6 100644 --- a/clients/client-groundstation/pagination/ListMissionProfilesPaginator.ts +++ b/clients/client-groundstation/pagination/ListMissionProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMissionProfilesCommand(input), ...args); + return await client.send(new ListMissionProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListSatellitesPaginator.ts b/clients/client-groundstation/pagination/ListSatellitesPaginator.ts index 8d1029491f5d..afccb71627b5 100644 --- a/clients/client-groundstation/pagination/ListSatellitesPaginator.ts +++ b/clients/client-groundstation/pagination/ListSatellitesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSatellitesCommand(input), ...args); + return await client.send(new ListSatellitesCommand(input, ...args)); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-guardduty/pagination/GetUsageStatisticsPaginator.ts b/clients/client-guardduty/pagination/GetUsageStatisticsPaginator.ts index b01e22745413..ce0612bb1cef 100644 --- a/clients/client-guardduty/pagination/GetUsageStatisticsPaginator.ts +++ b/clients/client-guardduty/pagination/GetUsageStatisticsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsageStatisticsCommand(input), ...args); + return await client.send(new GetUsageStatisticsCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListDetectorsPaginator.ts b/clients/client-guardduty/pagination/ListDetectorsPaginator.ts index f3582169c14a..5ec5d968f517 100644 --- a/clients/client-guardduty/pagination/ListDetectorsPaginator.ts +++ b/clients/client-guardduty/pagination/ListDetectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDetectorsCommand(input), ...args); + return await client.send(new ListDetectorsCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListFiltersPaginator.ts b/clients/client-guardduty/pagination/ListFiltersPaginator.ts index 4938266e7c6a..942a1330bdbf 100644 --- a/clients/client-guardduty/pagination/ListFiltersPaginator.ts +++ b/clients/client-guardduty/pagination/ListFiltersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFiltersCommand(input), ...args); + return await client.send(new ListFiltersCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListFindingsPaginator.ts b/clients/client-guardduty/pagination/ListFindingsPaginator.ts index 536a1da8bbe0..96c5fad28b7f 100644 --- a/clients/client-guardduty/pagination/ListFindingsPaginator.ts +++ b/clients/client-guardduty/pagination/ListFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsCommand(input), ...args); + return await client.send(new ListFindingsCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListIPSetsPaginator.ts b/clients/client-guardduty/pagination/ListIPSetsPaginator.ts index 1e3c4781f6cf..b82c0e642371 100644 --- a/clients/client-guardduty/pagination/ListIPSetsPaginator.ts +++ b/clients/client-guardduty/pagination/ListIPSetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIPSetsCommand(input), ...args); + return await client.send(new ListIPSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListInvitationsPaginator.ts b/clients/client-guardduty/pagination/ListInvitationsPaginator.ts index 3490d8e2d293..35931447808b 100644 --- a/clients/client-guardduty/pagination/ListInvitationsPaginator.ts +++ b/clients/client-guardduty/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input), ...args); + return await client.send(new ListInvitationsCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListMembersPaginator.ts b/clients/client-guardduty/pagination/ListMembersPaginator.ts index ea12e8dcc271..a4525eb43734 100644 --- a/clients/client-guardduty/pagination/ListMembersPaginator.ts +++ b/clients/client-guardduty/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input), ...args); + return await client.send(new ListMembersCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListOrganizationAdminAccountsPaginator.ts b/clients/client-guardduty/pagination/ListOrganizationAdminAccountsPaginator.ts index 5595b13d1e75..91cf87c851ec 100644 --- a/clients/client-guardduty/pagination/ListOrganizationAdminAccountsPaginator.ts +++ b/clients/client-guardduty/pagination/ListOrganizationAdminAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationAdminAccountsCommand(input), ...args); + return await client.send(new ListOrganizationAdminAccountsCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListPublishingDestinationsPaginator.ts b/clients/client-guardduty/pagination/ListPublishingDestinationsPaginator.ts index d6e5f42f8236..1f5d0aa2d030 100644 --- a/clients/client-guardduty/pagination/ListPublishingDestinationsPaginator.ts +++ b/clients/client-guardduty/pagination/ListPublishingDestinationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPublishingDestinationsCommand(input), ...args); + return await client.send(new ListPublishingDestinationsCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListThreatIntelSetsPaginator.ts b/clients/client-guardduty/pagination/ListThreatIntelSetsPaginator.ts index 5c0319352976..127c542c6f9b 100644 --- a/clients/client-guardduty/pagination/ListThreatIntelSetsPaginator.ts +++ b/clients/client-guardduty/pagination/ListThreatIntelSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThreatIntelSetsCommand(input), ...args); + return await client.send(new ListThreatIntelSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-health/pagination/DescribeAffectedAccountsForOrganizationPaginator.ts b/clients/client-health/pagination/DescribeAffectedAccountsForOrganizationPaginator.ts index 1b356d960f64..63eecdc82bb4 100644 --- a/clients/client-health/pagination/DescribeAffectedAccountsForOrganizationPaginator.ts +++ b/clients/client-health/pagination/DescribeAffectedAccountsForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAffectedAccountsForOrganizationCommand(input), ...args); + return await client.send(new DescribeAffectedAccountsForOrganizationCommand(input, ...args)); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeAffectedEntitiesForOrganizationPaginator.ts b/clients/client-health/pagination/DescribeAffectedEntitiesForOrganizationPaginator.ts index 0be3045c0020..29c114ff6e6a 100644 --- a/clients/client-health/pagination/DescribeAffectedEntitiesForOrganizationPaginator.ts +++ b/clients/client-health/pagination/DescribeAffectedEntitiesForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAffectedEntitiesForOrganizationCommand(input), ...args); + return await client.send(new DescribeAffectedEntitiesForOrganizationCommand(input, ...args)); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeAffectedEntitiesPaginator.ts b/clients/client-health/pagination/DescribeAffectedEntitiesPaginator.ts index fa836fb57061..7e272be5bdd3 100644 --- a/clients/client-health/pagination/DescribeAffectedEntitiesPaginator.ts +++ b/clients/client-health/pagination/DescribeAffectedEntitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAffectedEntitiesCommand(input), ...args); + return await client.send(new DescribeAffectedEntitiesCommand(input, ...args)); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeEventAggregatesPaginator.ts b/clients/client-health/pagination/DescribeEventAggregatesPaginator.ts index 73fb8a57dcb1..baa5e64237f3 100644 --- a/clients/client-health/pagination/DescribeEventAggregatesPaginator.ts +++ b/clients/client-health/pagination/DescribeEventAggregatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventAggregatesCommand(input), ...args); + return await client.send(new DescribeEventAggregatesCommand(input, ...args)); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeEventTypesPaginator.ts b/clients/client-health/pagination/DescribeEventTypesPaginator.ts index f8b510b2091d..15c3f300c688 100644 --- a/clients/client-health/pagination/DescribeEventTypesPaginator.ts +++ b/clients/client-health/pagination/DescribeEventTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventTypesCommand(input), ...args); + return await client.send(new DescribeEventTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeEventsForOrganizationPaginator.ts b/clients/client-health/pagination/DescribeEventsForOrganizationPaginator.ts index 09d7e9091c34..3f4aea527f39 100644 --- a/clients/client-health/pagination/DescribeEventsForOrganizationPaginator.ts +++ b/clients/client-health/pagination/DescribeEventsForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsForOrganizationCommand(input), ...args); + return await client.send(new DescribeEventsForOrganizationCommand(input, ...args)); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeEventsPaginator.ts b/clients/client-health/pagination/DescribeEventsPaginator.ts index 9976d4db770d..d0213b91a9c4 100644 --- a/clients/client-health/pagination/DescribeEventsPaginator.ts +++ b/clients/client-health/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input), ...args); + return await client.send(new DescribeEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-iam/pagination/GetAccountAuthorizationDetailsPaginator.ts b/clients/client-iam/pagination/GetAccountAuthorizationDetailsPaginator.ts index 205d38656a82..8b3359226887 100644 --- a/clients/client-iam/pagination/GetAccountAuthorizationDetailsPaginator.ts +++ b/clients/client-iam/pagination/GetAccountAuthorizationDetailsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAccountAuthorizationDetailsCommand(input), ...args); + return await client.send(new GetAccountAuthorizationDetailsCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/GetGroupPaginator.ts b/clients/client-iam/pagination/GetGroupPaginator.ts index 1378b3455abf..fc1305f59fdb 100644 --- a/clients/client-iam/pagination/GetGroupPaginator.ts +++ b/clients/client-iam/pagination/GetGroupPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetGroupCommand(input), ...args); + return await client.send(new GetGroupCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAccessKeysPaginator.ts b/clients/client-iam/pagination/ListAccessKeysPaginator.ts index 2ca32329e1de..921df1cf1748 100644 --- a/clients/client-iam/pagination/ListAccessKeysPaginator.ts +++ b/clients/client-iam/pagination/ListAccessKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccessKeysCommand(input), ...args); + return await client.send(new ListAccessKeysCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAccountAliasesPaginator.ts b/clients/client-iam/pagination/ListAccountAliasesPaginator.ts index 9e077e590c67..32776e37a46d 100644 --- a/clients/client-iam/pagination/ListAccountAliasesPaginator.ts +++ b/clients/client-iam/pagination/ListAccountAliasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountAliasesCommand(input), ...args); + return await client.send(new ListAccountAliasesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAttachedGroupPoliciesPaginator.ts b/clients/client-iam/pagination/ListAttachedGroupPoliciesPaginator.ts index 6f00653925c7..cf2b6a567b6f 100644 --- a/clients/client-iam/pagination/ListAttachedGroupPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListAttachedGroupPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedGroupPoliciesCommand(input), ...args); + return await client.send(new ListAttachedGroupPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAttachedRolePoliciesPaginator.ts b/clients/client-iam/pagination/ListAttachedRolePoliciesPaginator.ts index 9b38ccfb68c5..c4e626fbad13 100644 --- a/clients/client-iam/pagination/ListAttachedRolePoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListAttachedRolePoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedRolePoliciesCommand(input), ...args); + return await client.send(new ListAttachedRolePoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAttachedUserPoliciesPaginator.ts b/clients/client-iam/pagination/ListAttachedUserPoliciesPaginator.ts index b6d519554403..0a34e4c9abf3 100644 --- a/clients/client-iam/pagination/ListAttachedUserPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListAttachedUserPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedUserPoliciesCommand(input), ...args); + return await client.send(new ListAttachedUserPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListEntitiesForPolicyPaginator.ts b/clients/client-iam/pagination/ListEntitiesForPolicyPaginator.ts index 821ca24af3f5..5333defe095e 100644 --- a/clients/client-iam/pagination/ListEntitiesForPolicyPaginator.ts +++ b/clients/client-iam/pagination/ListEntitiesForPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntitiesForPolicyCommand(input), ...args); + return await client.send(new ListEntitiesForPolicyCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListGroupPoliciesPaginator.ts b/clients/client-iam/pagination/ListGroupPoliciesPaginator.ts index a234ba194442..ca2d61b8469e 100644 --- a/clients/client-iam/pagination/ListGroupPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListGroupPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupPoliciesCommand(input), ...args); + return await client.send(new ListGroupPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListGroupsForUserPaginator.ts b/clients/client-iam/pagination/ListGroupsForUserPaginator.ts index c8428fbeee8b..a8a7a7b0d9ed 100644 --- a/clients/client-iam/pagination/ListGroupsForUserPaginator.ts +++ b/clients/client-iam/pagination/ListGroupsForUserPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsForUserCommand(input), ...args); + return await client.send(new ListGroupsForUserCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListGroupsPaginator.ts b/clients/client-iam/pagination/ListGroupsPaginator.ts index 7f9a421e7f1e..774cbe886f01 100644 --- a/clients/client-iam/pagination/ListGroupsPaginator.ts +++ b/clients/client-iam/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input), ...args); + return await client.send(new ListGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListInstanceProfilesForRolePaginator.ts b/clients/client-iam/pagination/ListInstanceProfilesForRolePaginator.ts index 574d078f3212..f329f65c71b4 100644 --- a/clients/client-iam/pagination/ListInstanceProfilesForRolePaginator.ts +++ b/clients/client-iam/pagination/ListInstanceProfilesForRolePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstanceProfilesForRoleCommand(input), ...args); + return await client.send(new ListInstanceProfilesForRoleCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListInstanceProfilesPaginator.ts b/clients/client-iam/pagination/ListInstanceProfilesPaginator.ts index 225d01b40bb0..204a82874529 100644 --- a/clients/client-iam/pagination/ListInstanceProfilesPaginator.ts +++ b/clients/client-iam/pagination/ListInstanceProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstanceProfilesCommand(input), ...args); + return await client.send(new ListInstanceProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListMFADevicesPaginator.ts b/clients/client-iam/pagination/ListMFADevicesPaginator.ts index 1483d57a33cf..034f500c44e0 100644 --- a/clients/client-iam/pagination/ListMFADevicesPaginator.ts +++ b/clients/client-iam/pagination/ListMFADevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMFADevicesCommand(input), ...args); + return await client.send(new ListMFADevicesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListPoliciesPaginator.ts b/clients/client-iam/pagination/ListPoliciesPaginator.ts index 1dde80e61f26..dbfbb9cc265b 100644 --- a/clients/client-iam/pagination/ListPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesCommand(input), ...args); + return await client.send(new ListPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListPolicyVersionsPaginator.ts b/clients/client-iam/pagination/ListPolicyVersionsPaginator.ts index bbfd5a2b5f54..f6d51fb20db0 100644 --- a/clients/client-iam/pagination/ListPolicyVersionsPaginator.ts +++ b/clients/client-iam/pagination/ListPolicyVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPolicyVersionsCommand(input), ...args); + return await client.send(new ListPolicyVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListRolePoliciesPaginator.ts b/clients/client-iam/pagination/ListRolePoliciesPaginator.ts index c2e02fb50f22..c89fa75a8e51 100644 --- a/clients/client-iam/pagination/ListRolePoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListRolePoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRolePoliciesCommand(input), ...args); + return await client.send(new ListRolePoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListRolesPaginator.ts b/clients/client-iam/pagination/ListRolesPaginator.ts index c04d01489bb2..74c33d5aeb31 100644 --- a/clients/client-iam/pagination/ListRolesPaginator.ts +++ b/clients/client-iam/pagination/ListRolesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRolesCommand(input), ...args); + return await client.send(new ListRolesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListSSHPublicKeysPaginator.ts b/clients/client-iam/pagination/ListSSHPublicKeysPaginator.ts index 06ce00c92aa5..94b8d3093021 100644 --- a/clients/client-iam/pagination/ListSSHPublicKeysPaginator.ts +++ b/clients/client-iam/pagination/ListSSHPublicKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSSHPublicKeysCommand(input), ...args); + return await client.send(new ListSSHPublicKeysCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListServerCertificatesPaginator.ts b/clients/client-iam/pagination/ListServerCertificatesPaginator.ts index 9a4d5a3ca21d..07bbee76ba70 100644 --- a/clients/client-iam/pagination/ListServerCertificatesPaginator.ts +++ b/clients/client-iam/pagination/ListServerCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServerCertificatesCommand(input), ...args); + return await client.send(new ListServerCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListSigningCertificatesPaginator.ts b/clients/client-iam/pagination/ListSigningCertificatesPaginator.ts index b4dca3d2d81c..b2ba4c583f49 100644 --- a/clients/client-iam/pagination/ListSigningCertificatesPaginator.ts +++ b/clients/client-iam/pagination/ListSigningCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSigningCertificatesCommand(input), ...args); + return await client.send(new ListSigningCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListUserPoliciesPaginator.ts b/clients/client-iam/pagination/ListUserPoliciesPaginator.ts index 2cda0f2fdeb3..9e055a172b5e 100644 --- a/clients/client-iam/pagination/ListUserPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListUserPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUserPoliciesCommand(input), ...args); + return await client.send(new ListUserPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListUsersPaginator.ts b/clients/client-iam/pagination/ListUsersPaginator.ts index 365029b00695..293c723109de 100644 --- a/clients/client-iam/pagination/ListUsersPaginator.ts +++ b/clients/client-iam/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input), ...args); + return await client.send(new ListUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListVirtualMFADevicesPaginator.ts b/clients/client-iam/pagination/ListVirtualMFADevicesPaginator.ts index 2d49ddd3d1e6..dd0e159b5117 100644 --- a/clients/client-iam/pagination/ListVirtualMFADevicesPaginator.ts +++ b/clients/client-iam/pagination/ListVirtualMFADevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualMFADevicesCommand(input), ...args); + return await client.send(new ListVirtualMFADevicesCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/SimulateCustomPolicyPaginator.ts b/clients/client-iam/pagination/SimulateCustomPolicyPaginator.ts index 9d310ec61ae7..f5602d9761a4 100644 --- a/clients/client-iam/pagination/SimulateCustomPolicyPaginator.ts +++ b/clients/client-iam/pagination/SimulateCustomPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SimulateCustomPolicyCommand(input), ...args); + return await client.send(new SimulateCustomPolicyCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/SimulatePrincipalPolicyPaginator.ts b/clients/client-iam/pagination/SimulatePrincipalPolicyPaginator.ts index f24ec3153363..68c42643edfd 100644 --- a/clients/client-iam/pagination/SimulatePrincipalPolicyPaginator.ts +++ b/clients/client-iam/pagination/SimulatePrincipalPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SimulatePrincipalPolicyCommand(input), ...args); + return await client.send(new SimulatePrincipalPolicyCommand(input, ...args)); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-identitystore/pagination/ListGroupsPaginator.ts b/clients/client-identitystore/pagination/ListGroupsPaginator.ts index bd9b4d7053eb..b47ee881d7f7 100644 --- a/clients/client-identitystore/pagination/ListGroupsPaginator.ts +++ b/clients/client-identitystore/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input), ...args); + return await client.send(new ListGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Identitystore, diff --git a/clients/client-identitystore/pagination/ListUsersPaginator.ts b/clients/client-identitystore/pagination/ListUsersPaginator.ts index dba88288588c..d5bdf0cd771c 100644 --- a/clients/client-identitystore/pagination/ListUsersPaginator.ts +++ b/clients/client-identitystore/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input), ...args); + return await client.send(new ListUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: Identitystore, diff --git a/clients/client-imagebuilder/pagination/ListComponentBuildVersionsPaginator.ts b/clients/client-imagebuilder/pagination/ListComponentBuildVersionsPaginator.ts index 583788ed585b..d1e893ed5693 100644 --- a/clients/client-imagebuilder/pagination/ListComponentBuildVersionsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListComponentBuildVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComponentBuildVersionsCommand(input), ...args); + return await client.send(new ListComponentBuildVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListComponentsPaginator.ts b/clients/client-imagebuilder/pagination/ListComponentsPaginator.ts index 21061fbc5860..c0079e29ff83 100644 --- a/clients/client-imagebuilder/pagination/ListComponentsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListComponentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComponentsCommand(input), ...args); + return await client.send(new ListComponentsCommand(input, ...args)); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts b/clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts index d00828db323e..7900b78a81a5 100644 --- a/clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDistributionConfigurationsCommand(input), ...args); + return await client.send(new ListDistributionConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImageBuildVersionsPaginator.ts b/clients/client-imagebuilder/pagination/ListImageBuildVersionsPaginator.ts index 5d7258a7b804..46d23cd7cb6e 100644 --- a/clients/client-imagebuilder/pagination/ListImageBuildVersionsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImageBuildVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImageBuildVersionsCommand(input), ...args); + return await client.send(new ListImageBuildVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImagePipelineImagesPaginator.ts b/clients/client-imagebuilder/pagination/ListImagePipelineImagesPaginator.ts index 098efbba6857..4ff24bbbf207 100644 --- a/clients/client-imagebuilder/pagination/ListImagePipelineImagesPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImagePipelineImagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagePipelineImagesCommand(input), ...args); + return await client.send(new ListImagePipelineImagesCommand(input, ...args)); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImagePipelinesPaginator.ts b/clients/client-imagebuilder/pagination/ListImagePipelinesPaginator.ts index c6058bb9c857..fbfe546ae5de 100644 --- a/clients/client-imagebuilder/pagination/ListImagePipelinesPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImagePipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagePipelinesCommand(input), ...args); + return await client.send(new ListImagePipelinesCommand(input, ...args)); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImageRecipesPaginator.ts b/clients/client-imagebuilder/pagination/ListImageRecipesPaginator.ts index 492a1a1f6252..43aec5aa7067 100644 --- a/clients/client-imagebuilder/pagination/ListImageRecipesPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImageRecipesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImageRecipesCommand(input), ...args); + return await client.send(new ListImageRecipesCommand(input, ...args)); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImagesPaginator.ts b/clients/client-imagebuilder/pagination/ListImagesPaginator.ts index 302e4fc62ff3..a0ff17b8c183 100644 --- a/clients/client-imagebuilder/pagination/ListImagesPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImagesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagesCommand(input), ...args); + return await client.send(new ListImagesCommand(input, ...args)); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListInfrastructureConfigurationsPaginator.ts b/clients/client-imagebuilder/pagination/ListInfrastructureConfigurationsPaginator.ts index ee026faf3560..5a14dda05919 100644 --- a/clients/client-imagebuilder/pagination/ListInfrastructureConfigurationsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListInfrastructureConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInfrastructureConfigurationsCommand(input), ...args); + return await client.send(new ListInfrastructureConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-inspector/pagination/GetExclusionsPreviewPaginator.ts b/clients/client-inspector/pagination/GetExclusionsPreviewPaginator.ts index 31bdbff619d9..791c60966365 100644 --- a/clients/client-inspector/pagination/GetExclusionsPreviewPaginator.ts +++ b/clients/client-inspector/pagination/GetExclusionsPreviewPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetExclusionsPreviewCommand(input), ...args); + return await client.send(new GetExclusionsPreviewCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListAssessmentRunAgentsPaginator.ts b/clients/client-inspector/pagination/ListAssessmentRunAgentsPaginator.ts index 4b4f2a0b3693..6b6b12132d66 100644 --- a/clients/client-inspector/pagination/ListAssessmentRunAgentsPaginator.ts +++ b/clients/client-inspector/pagination/ListAssessmentRunAgentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssessmentRunAgentsCommand(input), ...args); + return await client.send(new ListAssessmentRunAgentsCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListAssessmentRunsPaginator.ts b/clients/client-inspector/pagination/ListAssessmentRunsPaginator.ts index c90e76c5ff3c..5016527d7231 100644 --- a/clients/client-inspector/pagination/ListAssessmentRunsPaginator.ts +++ b/clients/client-inspector/pagination/ListAssessmentRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssessmentRunsCommand(input), ...args); + return await client.send(new ListAssessmentRunsCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListAssessmentTargetsPaginator.ts b/clients/client-inspector/pagination/ListAssessmentTargetsPaginator.ts index fa865af027ed..25ac97ed551b 100644 --- a/clients/client-inspector/pagination/ListAssessmentTargetsPaginator.ts +++ b/clients/client-inspector/pagination/ListAssessmentTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssessmentTargetsCommand(input), ...args); + return await client.send(new ListAssessmentTargetsCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListAssessmentTemplatesPaginator.ts b/clients/client-inspector/pagination/ListAssessmentTemplatesPaginator.ts index ae5bbb912731..5282f81ed601 100644 --- a/clients/client-inspector/pagination/ListAssessmentTemplatesPaginator.ts +++ b/clients/client-inspector/pagination/ListAssessmentTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssessmentTemplatesCommand(input), ...args); + return await client.send(new ListAssessmentTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListEventSubscriptionsPaginator.ts b/clients/client-inspector/pagination/ListEventSubscriptionsPaginator.ts index 9fd6d36da91a..6c4938062988 100644 --- a/clients/client-inspector/pagination/ListEventSubscriptionsPaginator.ts +++ b/clients/client-inspector/pagination/ListEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEventSubscriptionsCommand(input), ...args); + return await client.send(new ListEventSubscriptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListExclusionsPaginator.ts b/clients/client-inspector/pagination/ListExclusionsPaginator.ts index cf1c735b3400..272c1640e26b 100644 --- a/clients/client-inspector/pagination/ListExclusionsPaginator.ts +++ b/clients/client-inspector/pagination/ListExclusionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListExclusionsCommand(input), ...args); + return await client.send(new ListExclusionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListFindingsPaginator.ts b/clients/client-inspector/pagination/ListFindingsPaginator.ts index 653e45ae76ac..d386e7d3f83c 100644 --- a/clients/client-inspector/pagination/ListFindingsPaginator.ts +++ b/clients/client-inspector/pagination/ListFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsCommand(input), ...args); + return await client.send(new ListFindingsCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListRulesPackagesPaginator.ts b/clients/client-inspector/pagination/ListRulesPackagesPaginator.ts index 9fbe520eac9b..afb3ddc80169 100644 --- a/clients/client-inspector/pagination/ListRulesPackagesPaginator.ts +++ b/clients/client-inspector/pagination/ListRulesPackagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRulesPackagesCommand(input), ...args); + return await client.send(new ListRulesPackagesCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/PreviewAgentsPaginator.ts b/clients/client-inspector/pagination/PreviewAgentsPaginator.ts index 49c36194d994..2699237c91db 100644 --- a/clients/client-inspector/pagination/PreviewAgentsPaginator.ts +++ b/clients/client-inspector/pagination/PreviewAgentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new PreviewAgentsCommand(input), ...args); + return await client.send(new PreviewAgentsCommand(input, ...args)); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-iot-1click-projects/pagination/ListPlacementsPaginator.ts b/clients/client-iot-1click-projects/pagination/ListPlacementsPaginator.ts index 2c8ab9edd778..112553d7a06e 100644 --- a/clients/client-iot-1click-projects/pagination/ListPlacementsPaginator.ts +++ b/clients/client-iot-1click-projects/pagination/ListPlacementsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlacementsCommand(input), ...args); + return await client.send(new ListPlacementsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT1ClickProjects, diff --git a/clients/client-iot-1click-projects/pagination/ListProjectsPaginator.ts b/clients/client-iot-1click-projects/pagination/ListProjectsPaginator.ts index c7742de36957..2eae9a134106 100644 --- a/clients/client-iot-1click-projects/pagination/ListProjectsPaginator.ts +++ b/clients/client-iot-1click-projects/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input), ...args); + return await client.send(new ListProjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT1ClickProjects, diff --git a/clients/client-iot/pagination/ListActiveViolationsPaginator.ts b/clients/client-iot/pagination/ListActiveViolationsPaginator.ts index 2fb7e593b971..9596cddf2d57 100644 --- a/clients/client-iot/pagination/ListActiveViolationsPaginator.ts +++ b/clients/client-iot/pagination/ListActiveViolationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActiveViolationsCommand(input), ...args); + return await client.send(new ListActiveViolationsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAttachedPoliciesPaginator.ts b/clients/client-iot/pagination/ListAttachedPoliciesPaginator.ts index 89738e8daffe..f2b1dbc0146b 100644 --- a/clients/client-iot/pagination/ListAttachedPoliciesPaginator.ts +++ b/clients/client-iot/pagination/ListAttachedPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedPoliciesCommand(input), ...args); + return await client.send(new ListAttachedPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditFindingsPaginator.ts b/clients/client-iot/pagination/ListAuditFindingsPaginator.ts index 8f7f355f05ad..fc8ddbe35427 100644 --- a/clients/client-iot/pagination/ListAuditFindingsPaginator.ts +++ b/clients/client-iot/pagination/ListAuditFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditFindingsCommand(input), ...args); + return await client.send(new ListAuditFindingsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditMitigationActionsExecutionsPaginator.ts b/clients/client-iot/pagination/ListAuditMitigationActionsExecutionsPaginator.ts index b81d1449a979..3de613c18d45 100644 --- a/clients/client-iot/pagination/ListAuditMitigationActionsExecutionsPaginator.ts +++ b/clients/client-iot/pagination/ListAuditMitigationActionsExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditMitigationActionsExecutionsCommand(input), ...args); + return await client.send(new ListAuditMitigationActionsExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditMitigationActionsTasksPaginator.ts b/clients/client-iot/pagination/ListAuditMitigationActionsTasksPaginator.ts index a1572241c1a7..7e89a7358259 100644 --- a/clients/client-iot/pagination/ListAuditMitigationActionsTasksPaginator.ts +++ b/clients/client-iot/pagination/ListAuditMitigationActionsTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditMitigationActionsTasksCommand(input), ...args); + return await client.send(new ListAuditMitigationActionsTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditSuppressionsPaginator.ts b/clients/client-iot/pagination/ListAuditSuppressionsPaginator.ts index 8f85fe5cdd23..646907095ced 100644 --- a/clients/client-iot/pagination/ListAuditSuppressionsPaginator.ts +++ b/clients/client-iot/pagination/ListAuditSuppressionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditSuppressionsCommand(input), ...args); + return await client.send(new ListAuditSuppressionsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditTasksPaginator.ts b/clients/client-iot/pagination/ListAuditTasksPaginator.ts index cc71f14202b1..1637c418998b 100644 --- a/clients/client-iot/pagination/ListAuditTasksPaginator.ts +++ b/clients/client-iot/pagination/ListAuditTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditTasksCommand(input), ...args); + return await client.send(new ListAuditTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuthorizersPaginator.ts b/clients/client-iot/pagination/ListAuthorizersPaginator.ts index 3cf425512f0f..9976faaf9cee 100644 --- a/clients/client-iot/pagination/ListAuthorizersPaginator.ts +++ b/clients/client-iot/pagination/ListAuthorizersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuthorizersCommand(input), ...args); + return await client.send(new ListAuthorizersCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListBillingGroupsPaginator.ts b/clients/client-iot/pagination/ListBillingGroupsPaginator.ts index 545db15c0b98..2b832ab6df49 100644 --- a/clients/client-iot/pagination/ListBillingGroupsPaginator.ts +++ b/clients/client-iot/pagination/ListBillingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBillingGroupsCommand(input), ...args); + return await client.send(new ListBillingGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListCACertificatesPaginator.ts b/clients/client-iot/pagination/ListCACertificatesPaginator.ts index 73e8312b2d71..9150f47c0a05 100644 --- a/clients/client-iot/pagination/ListCACertificatesPaginator.ts +++ b/clients/client-iot/pagination/ListCACertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCACertificatesCommand(input), ...args); + return await client.send(new ListCACertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListCertificatesByCAPaginator.ts b/clients/client-iot/pagination/ListCertificatesByCAPaginator.ts index e3135650e0ca..d3e655cce32f 100644 --- a/clients/client-iot/pagination/ListCertificatesByCAPaginator.ts +++ b/clients/client-iot/pagination/ListCertificatesByCAPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCertificatesByCACommand(input), ...args); + return await client.send(new ListCertificatesByCACommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListCertificatesPaginator.ts b/clients/client-iot/pagination/ListCertificatesPaginator.ts index 4a40a4edd0a2..8e793d8524dd 100644 --- a/clients/client-iot/pagination/ListCertificatesPaginator.ts +++ b/clients/client-iot/pagination/ListCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCertificatesCommand(input), ...args); + return await client.send(new ListCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListDimensionsPaginator.ts b/clients/client-iot/pagination/ListDimensionsPaginator.ts index 4c20cc442077..b0dcc3b5c1f2 100644 --- a/clients/client-iot/pagination/ListDimensionsPaginator.ts +++ b/clients/client-iot/pagination/ListDimensionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDimensionsCommand(input), ...args); + return await client.send(new ListDimensionsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListDomainConfigurationsPaginator.ts b/clients/client-iot/pagination/ListDomainConfigurationsPaginator.ts index 8eff604fe48d..e58b443345d4 100644 --- a/clients/client-iot/pagination/ListDomainConfigurationsPaginator.ts +++ b/clients/client-iot/pagination/ListDomainConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainConfigurationsCommand(input), ...args); + return await client.send(new ListDomainConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListIndicesPaginator.ts b/clients/client-iot/pagination/ListIndicesPaginator.ts index af06f59b17c9..68fcf2c84d46 100644 --- a/clients/client-iot/pagination/ListIndicesPaginator.ts +++ b/clients/client-iot/pagination/ListIndicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIndicesCommand(input), ...args); + return await client.send(new ListIndicesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListJobExecutionsForJobPaginator.ts b/clients/client-iot/pagination/ListJobExecutionsForJobPaginator.ts index bfc8791702b6..281bf0dd34e7 100644 --- a/clients/client-iot/pagination/ListJobExecutionsForJobPaginator.ts +++ b/clients/client-iot/pagination/ListJobExecutionsForJobPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobExecutionsForJobCommand(input), ...args); + return await client.send(new ListJobExecutionsForJobCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListJobExecutionsForThingPaginator.ts b/clients/client-iot/pagination/ListJobExecutionsForThingPaginator.ts index 9647cc5d3212..bd74f537ee2a 100644 --- a/clients/client-iot/pagination/ListJobExecutionsForThingPaginator.ts +++ b/clients/client-iot/pagination/ListJobExecutionsForThingPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobExecutionsForThingCommand(input), ...args); + return await client.send(new ListJobExecutionsForThingCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListJobsPaginator.ts b/clients/client-iot/pagination/ListJobsPaginator.ts index c4dcae921a35..086af19bd9bf 100644 --- a/clients/client-iot/pagination/ListJobsPaginator.ts +++ b/clients/client-iot/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input), ...args); + return await client.send(new ListJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListMitigationActionsPaginator.ts b/clients/client-iot/pagination/ListMitigationActionsPaginator.ts index e991ae80f4ac..15f46bddb0a9 100644 --- a/clients/client-iot/pagination/ListMitigationActionsPaginator.ts +++ b/clients/client-iot/pagination/ListMitigationActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMitigationActionsCommand(input), ...args); + return await client.send(new ListMitigationActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListOTAUpdatesPaginator.ts b/clients/client-iot/pagination/ListOTAUpdatesPaginator.ts index 11f9b32a1db9..161c39383d5d 100644 --- a/clients/client-iot/pagination/ListOTAUpdatesPaginator.ts +++ b/clients/client-iot/pagination/ListOTAUpdatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOTAUpdatesCommand(input), ...args); + return await client.send(new ListOTAUpdatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListOutgoingCertificatesPaginator.ts b/clients/client-iot/pagination/ListOutgoingCertificatesPaginator.ts index 29025e4a2019..d844c9477eed 100644 --- a/clients/client-iot/pagination/ListOutgoingCertificatesPaginator.ts +++ b/clients/client-iot/pagination/ListOutgoingCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOutgoingCertificatesCommand(input), ...args); + return await client.send(new ListOutgoingCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListPoliciesPaginator.ts b/clients/client-iot/pagination/ListPoliciesPaginator.ts index 97b0b1f2ab22..d2bbb1e2a385 100644 --- a/clients/client-iot/pagination/ListPoliciesPaginator.ts +++ b/clients/client-iot/pagination/ListPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesCommand(input), ...args); + return await client.send(new ListPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListPolicyPrincipalsPaginator.ts b/clients/client-iot/pagination/ListPolicyPrincipalsPaginator.ts index 43f36bf17b16..0276ed4e5a2e 100644 --- a/clients/client-iot/pagination/ListPolicyPrincipalsPaginator.ts +++ b/clients/client-iot/pagination/ListPolicyPrincipalsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPolicyPrincipalsCommand(input), ...args); + return await client.send(new ListPolicyPrincipalsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListPrincipalPoliciesPaginator.ts b/clients/client-iot/pagination/ListPrincipalPoliciesPaginator.ts index 4d3112137a76..52b5c88eacba 100644 --- a/clients/client-iot/pagination/ListPrincipalPoliciesPaginator.ts +++ b/clients/client-iot/pagination/ListPrincipalPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPrincipalPoliciesCommand(input), ...args); + return await client.send(new ListPrincipalPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListPrincipalThingsPaginator.ts b/clients/client-iot/pagination/ListPrincipalThingsPaginator.ts index 9507cc6049e0..cf6bced2cc37 100644 --- a/clients/client-iot/pagination/ListPrincipalThingsPaginator.ts +++ b/clients/client-iot/pagination/ListPrincipalThingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPrincipalThingsCommand(input), ...args); + return await client.send(new ListPrincipalThingsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListProvisioningTemplateVersionsPaginator.ts b/clients/client-iot/pagination/ListProvisioningTemplateVersionsPaginator.ts index 7d43a2eb108a..97cad69d98b6 100644 --- a/clients/client-iot/pagination/ListProvisioningTemplateVersionsPaginator.ts +++ b/clients/client-iot/pagination/ListProvisioningTemplateVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProvisioningTemplateVersionsCommand(input), ...args); + return await client.send(new ListProvisioningTemplateVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListProvisioningTemplatesPaginator.ts b/clients/client-iot/pagination/ListProvisioningTemplatesPaginator.ts index 8012e04c51a3..1c3310b8fe56 100644 --- a/clients/client-iot/pagination/ListProvisioningTemplatesPaginator.ts +++ b/clients/client-iot/pagination/ListProvisioningTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProvisioningTemplatesCommand(input), ...args); + return await client.send(new ListProvisioningTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListRoleAliasesPaginator.ts b/clients/client-iot/pagination/ListRoleAliasesPaginator.ts index 1677b47cae60..eb219fae5535 100644 --- a/clients/client-iot/pagination/ListRoleAliasesPaginator.ts +++ b/clients/client-iot/pagination/ListRoleAliasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoleAliasesCommand(input), ...args); + return await client.send(new ListRoleAliasesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListScheduledAuditsPaginator.ts b/clients/client-iot/pagination/ListScheduledAuditsPaginator.ts index f125b1fe175f..6c6dc57be3ef 100644 --- a/clients/client-iot/pagination/ListScheduledAuditsPaginator.ts +++ b/clients/client-iot/pagination/ListScheduledAuditsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListScheduledAuditsCommand(input), ...args); + return await client.send(new ListScheduledAuditsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListSecurityProfilesForTargetPaginator.ts b/clients/client-iot/pagination/ListSecurityProfilesForTargetPaginator.ts index bbcc5b2f2f0c..4f8144e75e05 100644 --- a/clients/client-iot/pagination/ListSecurityProfilesForTargetPaginator.ts +++ b/clients/client-iot/pagination/ListSecurityProfilesForTargetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityProfilesForTargetCommand(input), ...args); + return await client.send(new ListSecurityProfilesForTargetCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListSecurityProfilesPaginator.ts b/clients/client-iot/pagination/ListSecurityProfilesPaginator.ts index 2a97c2bdbce9..5c7fc9974d37 100644 --- a/clients/client-iot/pagination/ListSecurityProfilesPaginator.ts +++ b/clients/client-iot/pagination/ListSecurityProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityProfilesCommand(input), ...args); + return await client.send(new ListSecurityProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListStreamsPaginator.ts b/clients/client-iot/pagination/ListStreamsPaginator.ts index 6485a80d2bc6..813726ec1036 100644 --- a/clients/client-iot/pagination/ListStreamsPaginator.ts +++ b/clients/client-iot/pagination/ListStreamsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamsCommand(input), ...args); + return await client.send(new ListStreamsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTagsForResourcePaginator.ts b/clients/client-iot/pagination/ListTagsForResourcePaginator.ts index 3bb48286b4fb..94663f053fec 100644 --- a/clients/client-iot/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-iot/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTargetsForPolicyPaginator.ts b/clients/client-iot/pagination/ListTargetsForPolicyPaginator.ts index 073fd93de4b3..dd5b60ec09ad 100644 --- a/clients/client-iot/pagination/ListTargetsForPolicyPaginator.ts +++ b/clients/client-iot/pagination/ListTargetsForPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTargetsForPolicyCommand(input), ...args); + return await client.send(new ListTargetsForPolicyCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTargetsForSecurityProfilePaginator.ts b/clients/client-iot/pagination/ListTargetsForSecurityProfilePaginator.ts index 0b356124be73..051b9337319c 100644 --- a/clients/client-iot/pagination/ListTargetsForSecurityProfilePaginator.ts +++ b/clients/client-iot/pagination/ListTargetsForSecurityProfilePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTargetsForSecurityProfileCommand(input), ...args); + return await client.send(new ListTargetsForSecurityProfileCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingGroupsForThingPaginator.ts b/clients/client-iot/pagination/ListThingGroupsForThingPaginator.ts index 7fa10b51a409..6a3b534ab2f3 100644 --- a/clients/client-iot/pagination/ListThingGroupsForThingPaginator.ts +++ b/clients/client-iot/pagination/ListThingGroupsForThingPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingGroupsForThingCommand(input), ...args); + return await client.send(new ListThingGroupsForThingCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingGroupsPaginator.ts b/clients/client-iot/pagination/ListThingGroupsPaginator.ts index 9462aab8dc72..42fb4c4b6a70 100644 --- a/clients/client-iot/pagination/ListThingGroupsPaginator.ts +++ b/clients/client-iot/pagination/ListThingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingGroupsCommand(input), ...args); + return await client.send(new ListThingGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingPrincipalsPaginator.ts b/clients/client-iot/pagination/ListThingPrincipalsPaginator.ts index 4b13b964698e..fe310fad1295 100644 --- a/clients/client-iot/pagination/ListThingPrincipalsPaginator.ts +++ b/clients/client-iot/pagination/ListThingPrincipalsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingPrincipalsCommand(input), ...args); + return await client.send(new ListThingPrincipalsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingRegistrationTaskReportsPaginator.ts b/clients/client-iot/pagination/ListThingRegistrationTaskReportsPaginator.ts index 7e5c1bf4a03a..42f2aad8736b 100644 --- a/clients/client-iot/pagination/ListThingRegistrationTaskReportsPaginator.ts +++ b/clients/client-iot/pagination/ListThingRegistrationTaskReportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingRegistrationTaskReportsCommand(input), ...args); + return await client.send(new ListThingRegistrationTaskReportsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingRegistrationTasksPaginator.ts b/clients/client-iot/pagination/ListThingRegistrationTasksPaginator.ts index 51d0bec1fc3d..5757627f8b5c 100644 --- a/clients/client-iot/pagination/ListThingRegistrationTasksPaginator.ts +++ b/clients/client-iot/pagination/ListThingRegistrationTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingRegistrationTasksCommand(input), ...args); + return await client.send(new ListThingRegistrationTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingTypesPaginator.ts b/clients/client-iot/pagination/ListThingTypesPaginator.ts index 8f5c15b557e1..1652ade624d5 100644 --- a/clients/client-iot/pagination/ListThingTypesPaginator.ts +++ b/clients/client-iot/pagination/ListThingTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingTypesCommand(input), ...args); + return await client.send(new ListThingTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingsInBillingGroupPaginator.ts b/clients/client-iot/pagination/ListThingsInBillingGroupPaginator.ts index 1e02d9b1b1db..29f8ea6f4f91 100644 --- a/clients/client-iot/pagination/ListThingsInBillingGroupPaginator.ts +++ b/clients/client-iot/pagination/ListThingsInBillingGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingsInBillingGroupCommand(input), ...args); + return await client.send(new ListThingsInBillingGroupCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingsInThingGroupPaginator.ts b/clients/client-iot/pagination/ListThingsInThingGroupPaginator.ts index 40925abac516..ad3c86ea5d82 100644 --- a/clients/client-iot/pagination/ListThingsInThingGroupPaginator.ts +++ b/clients/client-iot/pagination/ListThingsInThingGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingsInThingGroupCommand(input), ...args); + return await client.send(new ListThingsInThingGroupCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingsPaginator.ts b/clients/client-iot/pagination/ListThingsPaginator.ts index 79498a345c2f..88ca75182994 100644 --- a/clients/client-iot/pagination/ListThingsPaginator.ts +++ b/clients/client-iot/pagination/ListThingsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingsCommand(input), ...args); + return await client.send(new ListThingsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTopicRuleDestinationsPaginator.ts b/clients/client-iot/pagination/ListTopicRuleDestinationsPaginator.ts index 24d512039fc6..9004d565f993 100644 --- a/clients/client-iot/pagination/ListTopicRuleDestinationsPaginator.ts +++ b/clients/client-iot/pagination/ListTopicRuleDestinationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTopicRuleDestinationsCommand(input), ...args); + return await client.send(new ListTopicRuleDestinationsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTopicRulesPaginator.ts b/clients/client-iot/pagination/ListTopicRulesPaginator.ts index b7281bfbbbbd..e2496d39ab7b 100644 --- a/clients/client-iot/pagination/ListTopicRulesPaginator.ts +++ b/clients/client-iot/pagination/ListTopicRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTopicRulesCommand(input), ...args); + return await client.send(new ListTopicRulesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListV2LoggingLevelsPaginator.ts b/clients/client-iot/pagination/ListV2LoggingLevelsPaginator.ts index 03d2496b6ca0..318834ce961e 100644 --- a/clients/client-iot/pagination/ListV2LoggingLevelsPaginator.ts +++ b/clients/client-iot/pagination/ListV2LoggingLevelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListV2LoggingLevelsCommand(input), ...args); + return await client.send(new ListV2LoggingLevelsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListViolationEventsPaginator.ts b/clients/client-iot/pagination/ListViolationEventsPaginator.ts index c7d2ba25a46b..1a213a743704 100644 --- a/clients/client-iot/pagination/ListViolationEventsPaginator.ts +++ b/clients/client-iot/pagination/ListViolationEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListViolationEventsCommand(input), ...args); + return await client.send(new ListViolationEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iotanalytics/IoTAnalytics.ts b/clients/client-iotanalytics/IoTAnalytics.ts index 9d09c077fd9e..7703213c2b5f 100644 --- a/clients/client-iotanalytics/IoTAnalytics.ts +++ b/clients/client-iotanalytics/IoTAnalytics.ts @@ -287,10 +287,11 @@ export class IoTAnalytics extends IoTAnalyticsClient { } /** - *

                                                                                    Creates a data set. A data set stores data retrieved from a data store by applying a - * "queryAction" (a SQL query) or a "containerAction" (executing a containerized application). - * This operation creates the skeleton of a data set. The data set can be populated manually - * by calling "CreateDatasetContent" or automatically according to a "trigger" you specify.

                                                                                    + *

                                                                                    Creates a dataset. A dataset stores data retrieved from a data store by applying a + * queryAction (a SQL query) or a containerAction (executing a + * containerized application). This operation creates the skeleton of a dataset. The dataset can + * be populated manually by calling CreateDatasetContent or automatically according + * to a trigger you specify.

                                                                                    */ public createDataset( args: CreateDatasetCommandInput, @@ -322,8 +323,8 @@ export class IoTAnalytics extends IoTAnalyticsClient { } /** - *

                                                                                    Creates the content of a data set by applying a "queryAction" (a SQL query) or a "containerAction" - * (executing a containerized application).

                                                                                    + *

                                                                                    Creates the content of a data set by applying a queryAction (a SQL query) + * or a containerAction (executing a containerized application).

                                                                                    */ public createDatasetContent( args: CreateDatasetContentCommandInput, @@ -454,8 +455,9 @@ export class IoTAnalytics extends IoTAnalyticsClient { } /** - *

                                                                                    Deletes the specified data set.

                                                                                    - *

                                                                                    You do not have to delete the content of the data set before you perform this operation.

                                                                                    + *

                                                                                    Deletes the specified dataset.

                                                                                    + *

                                                                                    You do not have to delete the content of the dataset before you perform this + * operation.

                                                                                    */ public deleteDataset( args: DeleteDatasetCommandInput, @@ -487,7 +489,7 @@ export class IoTAnalytics extends IoTAnalyticsClient { } /** - *

                                                                                    Deletes the content of the specified data set.

                                                                                    + *

                                                                                    Deletes the content of the specified dataset.

                                                                                    */ public deleteDatasetContent( args: DeleteDatasetContentCommandInput, @@ -615,7 +617,7 @@ export class IoTAnalytics extends IoTAnalyticsClient { } /** - *

                                                                                    Retrieves information about a data set.

                                                                                    + *

                                                                                    Retrieves information about a dataset.

                                                                                    */ public describeDataset( args: DescribeDatasetCommandInput, @@ -743,7 +745,7 @@ export class IoTAnalytics extends IoTAnalyticsClient { } /** - *

                                                                                    Retrieves the contents of a data set as pre-signed URIs.

                                                                                    + *

                                                                                    Retrieves the contents of a data set as presigned URIs.

                                                                                    */ public getDatasetContent( args: GetDatasetContentCommandInput, @@ -929,7 +931,7 @@ export class IoTAnalytics extends IoTAnalyticsClient { } /** - *

                                                                                    Lists the tags (metadata) which you have assigned to the resource.

                                                                                    + *

                                                                                    Lists the tags (metadata) that you have assigned to the resource.

                                                                                    */ public listTagsForResource( args: ListTagsForResourceCommandInput, @@ -962,11 +964,10 @@ export class IoTAnalytics extends IoTAnalyticsClient { /** *

                                                                                    Sets or updates the AWS IoT Analytics logging options.

                                                                                    - *

                                                                                    Note that if you update the value of any loggingOptions field, it takes up to one - * minute for the change to take effect. Also, if you change the policy attached to the role - * you specified in the roleArn field (for example, to correct an invalid policy) it takes - * up to 5 minutes for that change to take effect. - *

                                                                                    + *

                                                                                    If you update the value of any loggingOptions field, it takes up to one + * minute for the change to take effect. Also, if you change the policy attached to the role you + * specified in the roleArn field (for example, to correct an invalid policy), it + * takes up to five minutes for that change to take effect.

                                                                                    */ public putLoggingOptions( args: PutLoggingOptionsCommandInput, @@ -1095,8 +1096,8 @@ export class IoTAnalytics extends IoTAnalyticsClient { } /** - *

                                                                                    Adds to or modifies the tags of the given resource. Tags are metadata - * which can be used to manage a resource.

                                                                                    + *

                                                                                    Adds to or modifies the tags of the given resource. Tags are metadata that can be used + * to manage a resource.

                                                                                    */ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; diff --git a/clients/client-iotanalytics/models/models_0.ts b/clients/client-iotanalytics/models/models_0.ts index ff2e29884c88..a2a705b3e2c4 100644 --- a/clients/client-iotanalytics/models/models_0.ts +++ b/clients/client-iotanalytics/models/models_0.ts @@ -6,12 +6,16 @@ import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; */ export interface AddAttributesActivity { /** - *

                                                                                    A list of 1-50 "AttributeNameMapping" - * objects that map an existing attribute to a new attribute.

                                                                                    + *

                                                                                    The name of the addAttributes activity.

                                                                                    + */ + name: string | undefined; + + /** + *

                                                                                    A list of 1-50 AttributeNameMapping objects that map an existing attribute + * to a new attribute.

                                                                                    * - *

                                                                                    The existing attributes remain in the message, - * so if you want to remove the originals, - * use "RemoveAttributeActivity".

                                                                                    + *

                                                                                    The existing attributes remain in the message, so if you want to remove the originals, use + * RemoveAttributeActivity.

                                                                                    *
                                                                                    */ attributes: { [key: string]: string } | undefined; @@ -20,11 +24,6 @@ export interface AddAttributesActivity { *

                                                                                    The next activity in the pipeline.

                                                                                    */ next?: string; - - /** - *

                                                                                    The name of the 'addAttributes' activity.

                                                                                    - */ - name: string | undefined; } export namespace AddAttributesActivity { @@ -38,16 +37,17 @@ export namespace AddAttributesActivity { */ export interface Message { /** - *

                                                                                    The payload of the message. This may be a JSON string or a Base64-encoded string - * representing binary data (in which case you must decode it by means of a pipeline activity).

                                                                                    + *

                                                                                    The ID you want to assign to the message. Each messageId must be unique + * within each batch sent.

                                                                                    */ - payload: Uint8Array | undefined; + messageId: string | undefined; /** - *

                                                                                    The ID you wish to assign to the message. Each "messageId" must be unique - * within each batch sent.

                                                                                    + *

                                                                                    The payload of the message. This can be a JSON string or a base64-encoded string + * representing binary data, in which case you must decode it by means of a pipeline + * activity.

                                                                                    */ - messageId: string | undefined; + payload: Uint8Array | undefined; } export namespace Message { @@ -63,13 +63,13 @@ export interface BatchPutMessageRequest { channelName: string | undefined; /** - *

                                                                                    The list of messages to be sent. Each message has format: - * '{ "messageId": "string", "payload": "string"}'.

                                                                                    - *

                                                                                    Note that the field names of message payloads (data) that you send to AWS IoT Analytics:

                                                                                    + *

                                                                                    The list of messages to be sent. Each message has the format: { "messageId": "string", + * "payload": "string"}.

                                                                                    + *

                                                                                    The field names of message payloads (data) that you send to AWS IoT Analytics:

                                                                                    *
                                                                                      *
                                                                                    • - *

                                                                                      Must contain only alphanumeric characters and undescores (_); no other special - * characters are allowed.

                                                                                      + *

                                                                                      Must contain only alphanumeric characters and undescores (_). No other special characters are + * allowed.

                                                                                      *
                                                                                    • *
                                                                                    • *

                                                                                      Must begin with an alphabetic character or single underscore (_).

                                                                                      @@ -82,11 +82,11 @@ export interface BatchPutMessageRequest { *

                                                                                      *
                                                                                    • *
                                                                                    • - *

                                                                                      Cannot be greater than 255 characters.

                                                                                      + *

                                                                                      Cannot be more than 255 characters.

                                                                                      *
                                                                                    • *
                                                                                    • - *

                                                                                      Are case-insensitive. (Fields named "foo" and "FOO" in the same payload are - * considered duplicates.)

                                                                                      + *

                                                                                      Are case insensitive. (Fields named foo and FOO in the same payload are considered + * duplicates.)

                                                                                      *
                                                                                    • *
                                                                                    *

                                                                                    For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but {"temp-01": 29}, @@ -106,13 +106,8 @@ export namespace BatchPutMessageRequest { */ export interface BatchPutMessageErrorEntry { /** - *

                                                                                    The message associated with the error.

                                                                                    - */ - errorMessage?: string; - - /** - *

                                                                                    The ID of the message that caused the error. (See the value corresponding to the - * "messageId" key in the message object.)

                                                                                    + *

                                                                                    The ID of the message that caused the error. See the value corresponding to the + * messageId key in the message object.

                                                                                    */ messageId?: string; @@ -120,6 +115,11 @@ export interface BatchPutMessageErrorEntry { *

                                                                                    The code associated with the error.

                                                                                    */ errorCode?: string; + + /** + *

                                                                                    The message associated with the error.

                                                                                    + */ + errorMessage?: string; } export namespace BatchPutMessageErrorEntry { @@ -223,7 +223,8 @@ export interface CancelPipelineReprocessingRequest { pipelineName: string | undefined; /** - *

                                                                                    The ID of the reprocessing task (returned by "StartPipelineReprocessing").

                                                                                    + *

                                                                                    The ID of the reprocessing task (returned by + * StartPipelineReprocessing).

                                                                                    */ reprocessingId: string | undefined; } @@ -243,27 +244,29 @@ export namespace CancelPipelineReprocessingResponse { } /** - *

                                                                                    Use this to store channel data in an S3 bucket that you manage. If customer managed storage is - * selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed - * S3 storage cannot be changed after creation of the channel.

                                                                                    + *

                                                                                    Use this to store channel data in an S3 bucket that you manage. If customer managed + * storage is selected, the retentionPeriod parameter is ignored. You cannot change + * the choice of service-managed or customer-managed S3 storage after the channel is + * created.

                                                                                    */ export interface CustomerManagedChannelS3Storage { /** - *

                                                                                    The name of the Amazon S3 bucket in which channel data is stored.

                                                                                    + *

                                                                                    The name of the S3 bucket in which channel data is stored.

                                                                                    */ bucket: string | undefined; /** - *

                                                                                    The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.

                                                                                    + *

                                                                                    Optional. The prefix used to create the keys of the channel data objects. Each object in + * an S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket + * has exactly one key. The prefix must end with a forward slash (/).

                                                                                    */ - roleArn: string | undefined; + keyPrefix?: string; /** - *

                                                                                    [Optional] The prefix used to create the keys of the channel data objects. Each object in - * an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in - * a bucket has exactly one key). The prefix must end with a '/'.

                                                                                    + *

                                                                                    The ARN of the role that grants AWS IoT Analytics permission to interact with your + * Amazon S3 resources.

                                                                                    */ - keyPrefix?: string; + roleArn: string | undefined; } export namespace CustomerManagedChannelS3Storage { @@ -273,9 +276,9 @@ export namespace CustomerManagedChannelS3Storage { } /** - *

                                                                                    Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. - * The choice of service-managed or customer-managed S3 storage cannot be changed after creation - * of the channel.

                                                                                    + *

                                                                                    Use this to store channel data in an S3 bucket managed by AWS IoT Analytics. You cannot + * change the choice of service-managed or customer-managed S3 storage after the channel is + * created.

                                                                                    */ export interface ServiceManagedChannelS3Storage {} @@ -286,22 +289,23 @@ export namespace ServiceManagedChannelS3Storage { } /** - *

                                                                                    Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" - * storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation - * of the channel.

                                                                                    + *

                                                                                    Where channel data is stored. You may choose one of serviceManagedS3 or + * customerManagedS3 storage. If not specified, the default is + * serviceManagedS3. This cannot be changed after creation of the channel.

                                                                                    */ export interface ChannelStorage { /** - *

                                                                                    Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. - * The choice of service-managed or customer-managed S3 storage cannot be changed after creation - * of the channel.

                                                                                    + *

                                                                                    Use this to store channel data in an S3 bucket managed by AWS IoT Analytics. You cannot + * change the choice of service-managed or customer-managed S3 storage after the channel is + * created.

                                                                                    */ serviceManagedS3?: ServiceManagedChannelS3Storage; /** - *

                                                                                    Use this to store channel data in an S3 bucket that you manage. If customer managed storage is - * selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed - * S3 storage cannot be changed after creation of the channel.

                                                                                    + *

                                                                                    Use this to store channel data in an S3 bucket that you manage. If customer managed + * storage is selected, the retentionPeriod parameter is ignored. You cannot change + * the choice of service-managed or customer-managed S3 storage after the channel is + * created.

                                                                                    */ customerManagedS3?: CustomerManagedChannelS3Storage; } @@ -322,7 +326,8 @@ export interface RetentionPeriod { unlimited?: boolean; /** - *

                                                                                    The number of days that message data is kept. The "unlimited" parameter must be false.

                                                                                    + *

                                                                                    The number of days that message data is kept. The unlimited parameter must + * be false.

                                                                                    */ numberOfDays?: number; } @@ -334,18 +339,18 @@ export namespace RetentionPeriod { } /** - *

                                                                                    A set of key/value pairs which are used to manage the resource.

                                                                                    + *

                                                                                    A set of key-value pairs that are used to manage the resource.

                                                                                    */ export interface Tag { /** - *

                                                                                    The tag's value.

                                                                                    + *

                                                                                    The tag's key.

                                                                                    */ - value: string | undefined; + key: string | undefined; /** - *

                                                                                    The tag's key.

                                                                                    + *

                                                                                    The tag's value.

                                                                                    */ - key: string | undefined; + value: string | undefined; } export namespace Tag { @@ -356,27 +361,28 @@ export namespace Tag { export interface CreateChannelRequest { /** - *

                                                                                    How long, in days, message data is kept for the channel. When "customerManagedS3" storage is - * selected, this parameter is ignored.

                                                                                    + *

                                                                                    The name of the channel.

                                                                                    */ - retentionPeriod?: RetentionPeriod; + channelName: string | undefined; /** - *

                                                                                    Metadata which can be used to manage the channel.

                                                                                    + *

                                                                                    Where channel data is stored. You can choose one of serviceManagedS3 or + * customerManagedS3 storage. If not specified, the default is + * serviceManagedS3. You cannot change this storage option after the channel is + * created.

                                                                                    */ - tags?: Tag[]; + channelStorage?: ChannelStorage; /** - *

                                                                                    The name of the channel.

                                                                                    + *

                                                                                    How long, in days, message data is kept for the channel. When + * customerManagedS3 storage is selected, this parameter is ignored.

                                                                                    */ - channelName: string | undefined; + retentionPeriod?: RetentionPeriod; /** - *

                                                                                    Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" - * storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation - * of the channel.

                                                                                    + *

                                                                                    Metadata which can be used to manage the channel.

                                                                                    */ - channelStorage?: ChannelStorage; + tags?: Tag[]; } export namespace CreateChannelRequest { @@ -386,6 +392,11 @@ export namespace CreateChannelRequest { } export interface CreateChannelResponse { + /** + *

                                                                                    The name of the channel.

                                                                                    + */ + channelName?: string; + /** *

                                                                                    The ARN of the channel.

                                                                                    */ @@ -395,11 +406,6 @@ export interface CreateChannelResponse { *

                                                                                    How long, in days, message data is kept for the channel.

                                                                                    */ retentionPeriod?: RetentionPeriod; - - /** - *

                                                                                    The name of the channel.

                                                                                    - */ - channelName?: string; } export namespace CreateChannelResponse { @@ -429,12 +435,12 @@ export namespace LimitExceededException { export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer { name: "ResourceAlreadyExistsException"; $fault: "client"; + message?: string; /** *

                                                                                    The ID of the resource.

                                                                                    */ resourceId?: string; - message?: string; /** *

                                                                                    The ARN of the resource.

                                                                                    */ @@ -453,18 +459,20 @@ export enum ComputeType { } /** - *

                                                                                    The configuration of the resource used to execute the "containerAction".

                                                                                    + *

                                                                                    The configuration of the resource used to execute the + * containerAction.

                                                                                    */ export interface ResourceConfiguration { /** - *

                                                                                    The type of the compute resource used to execute the "containerAction". Possible values - * are: ACU_1 (vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).

                                                                                    + *

                                                                                    The type of the compute resource used to execute the containerAction. + * Possible values are: ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8, + * memory=32 GiB).

                                                                                    */ computeType: ComputeType | string | undefined; /** - *

                                                                                    The size (in GB) of the persistent storage available to the resource instance used to - * execute the "containerAction" (min: 1, max: 50).

                                                                                    + *

                                                                                    The size, in GB, of the persistent storage available to the resource instance used to + * execute the containerAction (min: 1, max: 50).

                                                                                    */ volumeSizeInGB: number | undefined; } @@ -476,13 +484,13 @@ export namespace ResourceConfiguration { } /** - *

                                                                                    The data set whose latest contents are used as input to the notebook or - * application.

                                                                                    + *

                                                                                    The dataset whose latest contents are used as input to the notebook or + * application.

                                                                                    */ export interface DatasetContentVersionValue { /** - *

                                                                                    The name of the data set whose latest contents are used as input to the notebook or - * application.

                                                                                    + *

                                                                                    The name of the dataset whose latest contents are used as input to the notebook or + * application.

                                                                                    */ datasetName: string | undefined; } @@ -498,8 +506,8 @@ export namespace DatasetContentVersionValue { */ export interface OutputFileUriValue { /** - *

                                                                                    The URI of the location where data set contents are stored, usually the URI of a file in an - * S3 bucket.

                                                                                    + *

                                                                                    The URI of the location where dataset contents are stored, usually the URI of a file in + * an S3 bucket.

                                                                                    */ fileName: string | undefined; } @@ -511,35 +519,36 @@ export namespace OutputFileUriValue { } /** - *

                                                                                    An instance of a variable to be passed to the "containerAction" execution. Each variable - * must have a name and a value given by one of "stringValue", "datasetContentVersionValue", or - * "outputFileUriValue".

                                                                                    + *

                                                                                    An instance of a variable to be passed to the containerAction execution. + * Each variable must have a name and a value given by one of stringValue, + * datasetContentVersionValue, or outputFileUriValue.

                                                                                    */ export interface Variable { /** - *

                                                                                    The value of the variable as a structure that specifies an output file URI.

                                                                                    + *

                                                                                    The name of the variable.

                                                                                    */ - outputFileUriValue?: OutputFileUriValue; + name: string | undefined; /** - *

                                                                                    The value of the variable as a double (numeric).

                                                                                    + *

                                                                                    The value of the variable as a string.

                                                                                    */ - doubleValue?: number; + stringValue?: string; /** - *

                                                                                    The name of the variable.

                                                                                    + *

                                                                                    The value of the variable as a double (numeric).

                                                                                    */ - name: string | undefined; + doubleValue?: number; /** - *

                                                                                    The value of the variable as a structure that specifies a data set content version.

                                                                                    + *

                                                                                    The value of the variable as a structure that specifies a dataset content + * version.

                                                                                    */ datasetContentVersionValue?: DatasetContentVersionValue; /** - *

                                                                                    The value of the variable as a string.

                                                                                    + *

                                                                                    The value of the variable as a structure that specifies an output file URI.

                                                                                    */ - stringValue?: string; + outputFileUriValue?: OutputFileUriValue; } export namespace Variable { @@ -549,34 +558,35 @@ export namespace Variable { } /** - *

                                                                                    Information needed to run the "containerAction" to produce data set contents.

                                                                                    + *

                                                                                    Information required to run the containerAction to produce dataset + * contents.

                                                                                    */ export interface ContainerDatasetAction { /** - *

                                                                                    The values of variables used within the context of the execution of the containerized - * application (basically, parameters passed to the application). Each variable must have a - * name and a value given by one of "stringValue", "datasetContentVersionValue", - * or "outputFileUriValue".

                                                                                    + *

                                                                                    The ARN of the Docker container stored in your account. The Docker container contains an + * application and required support libraries and is used to generate dataset contents.

                                                                                    */ - variables?: Variable[]; + image: string | undefined; /** - *

                                                                                    Configuration of the resource which executes the "containerAction".

                                                                                    + *

                                                                                    The ARN of the role that gives permission to the system to access required resources to + * run the containerAction. This includes, at minimum, permission to retrieve the + * dataset contents that are the input to the containerized application.

                                                                                    */ - resourceConfiguration: ResourceConfiguration | undefined; + executionRoleArn: string | undefined; /** - *

                                                                                    The ARN of the Docker container stored in your account. The Docker container contains an - * application and needed support libraries and is used to generate data set contents.

                                                                                    + *

                                                                                    Configuration of the resource that executes the containerAction.

                                                                                    */ - image: string | undefined; + resourceConfiguration: ResourceConfiguration | undefined; /** - *

                                                                                    The ARN of the role which gives permission to the system to access needed resources in order - * to run the "containerAction". This includes, at minimum, permission to retrieve the data set - * contents which are the input to the containerized application.

                                                                                    + *

                                                                                    The values of variables used in the context of the execution of the containerized + * application (basically, parameters passed to the application). Each variable must have a name + * and a value given by one of stringValue, datasetContentVersionValue, + * or outputFileUriValue.

                                                                                    */ - executionRoleArn: string | undefined; + variables?: Variable[]; } export namespace ContainerDatasetAction { @@ -590,20 +600,20 @@ export namespace ContainerDatasetAction { */ export interface DeltaTime { /** - *

                                                                                    The number of seconds of estimated "in flight" lag time of message data. When you create - * data set contents using message data from a specified time frame, some message data may still be - * "in flight" when processing begins, and so will not arrive in time to be processed. Use this - * field to make allowances for the "in flight" time of your message data, so that data not processed - * from a previous time frame will be included with the next time frame. Without this, missed message - * data would be excluded from processing during the next time frame as well, because its timestamp - * places it within the previous time frame.

                                                                                    + *

                                                                                    The number of seconds of estimated in-flight lag time of message data. When you create + * dataset contents using message data from a specified timeframe, some message data might still + * be in flight when processing begins, and so do not arrive in time to be processed. Use this + * field to make allowances for the in flight time of your message data, so that data not + * processed from a previous timeframe is included with the next timeframe. Otherwise, missed + * message data would be excluded from processing during the next timeframe too, because its + * timestamp places it within the previous timeframe.

                                                                                    */ offsetSeconds: number | undefined; /** - *

                                                                                    An expression by which the time of the message data may be determined. This may be the name - * of a timestamp field, or a SQL expression which is used to derive the time the message - * data was generated.

                                                                                    + *

                                                                                    An expression by which the time of the message data might be determined. This can be the + * name of a timestamp field or a SQL expression that is used to derive the time the message data + * was generated.

                                                                                    */ timeExpression: string | undefined; } @@ -615,8 +625,8 @@ export namespace DeltaTime { } /** - *

                                                                                    Information which is used to filter message data, to segregate it according to the time - * frame in which it arrives.

                                                                                    + *

                                                                                    Information that is used to filter message data, to segregate it according to the + * timeframe in which it arrives.

                                                                                    */ export interface QueryFilter { /** @@ -636,14 +646,14 @@ export namespace QueryFilter { */ export interface SqlQueryDatasetAction { /** - *

                                                                                    Pre-filters applied to message data.

                                                                                    + *

                                                                                    A SQL query string.

                                                                                    */ - filters?: QueryFilter[]; + sqlQuery: string | undefined; /** - *

                                                                                    A SQL query string.

                                                                                    + *

                                                                                    Prefilters applied to message data.

                                                                                    */ - sqlQuery: string | undefined; + filters?: QueryFilter[]; } export namespace SqlQueryDatasetAction { @@ -653,25 +663,27 @@ export namespace SqlQueryDatasetAction { } /** - *

                                                                                    A "DatasetAction" object that specifies how data set contents are automatically created.

                                                                                    + *

                                                                                    A DatasetAction object that specifies how data set contents are + * automatically created.

                                                                                    */ export interface DatasetAction { /** - *

                                                                                    An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.

                                                                                    + *

                                                                                    The name of the data set action by which data set contents are automatically created.

                                                                                    */ - queryAction?: SqlQueryDatasetAction; + actionName?: string; /** - *

                                                                                    Information which allows the system to run a containerized application in order to create - * the data set contents. The application must be in a Docker container along with any needed - * support libraries.

                                                                                    + *

                                                                                    An SqlQueryDatasetAction object that uses an SQL query to automatically + * create data set contents.

                                                                                    */ - containerAction?: ContainerDatasetAction; + queryAction?: SqlQueryDatasetAction; /** - *

                                                                                    The name of the data set action by which data set contents are automatically created.

                                                                                    + *

                                                                                    Information that allows the system to run a containerized application to create the + * dataset contents. The application must be in a Docker container along with any required + * support libraries.

                                                                                    */ - actionName?: string; + containerAction?: ContainerDatasetAction; } export namespace DatasetAction { @@ -681,17 +693,17 @@ export namespace DatasetAction { } /** - *

                                                                                    Configuration information for delivery of data set contents to AWS IoT Events.

                                                                                    + *

                                                                                    Configuration information for delivery of dataset contents to AWS IoT Events.

                                                                                    */ export interface IotEventsDestinationConfiguration { /** - *

                                                                                    The name of the AWS IoT Events input to which data set contents are delivered.

                                                                                    + *

                                                                                    The name of the AWS IoT Events input to which dataset contents are delivered.

                                                                                    */ inputName: string | undefined; /** - *

                                                                                    The ARN of the role which grants AWS IoT Analytics permission to deliver data set contents - * to an AWS IoT Events input.

                                                                                    + *

                                                                                    The ARN of the role that grants AWS IoT Analytics permission to deliver dataset contents + * to an AWS IoT Events input.

                                                                                    */ roleArn: string | undefined; } @@ -703,22 +715,22 @@ export namespace IotEventsDestinationConfiguration { } /** - *

                                                                                    Configuration information for coordination with the AWS Glue ETL (extract, transform and - * load) service.

                                                                                    + *

                                                                                    Configuration information for coordination with AWS Glue, a fully managed extract, + * transform and load (ETL) service.

                                                                                    */ export interface GlueConfiguration { /** - *

                                                                                    The name of the database in your AWS Glue Data Catalog in which the table is located. (An AWS - * Glue Data Catalog database contains Glue Data tables.)

                                                                                    + *

                                                                                    The name of the table in your AWS Glue Data Catalog that is used to perform the ETL + * operations. An AWS Glue Data Catalog table contains partitioned data and descriptions of data + * sources and targets.

                                                                                    */ - databaseName: string | undefined; + tableName: string | undefined; /** - *

                                                                                    The name of the table in your AWS Glue Data Catalog which is used to perform the ETL (extract, - * transform and load) operations. (An AWS Glue Data Catalog table contains partitioned data and descriptions - * of data sources and targets.)

                                                                                    + *

                                                                                    The name of the database in your AWS Glue Data Catalog in which the table is located. An + * AWS Glue Data Catalog database contains metadata tables.

                                                                                    */ - tableName: string | undefined; + databaseName: string | undefined; } export namespace GlueConfiguration { @@ -728,34 +740,56 @@ export namespace GlueConfiguration { } /** - *

                                                                                    Configuration information for delivery of data set contents to Amazon S3.

                                                                                    + *

                                                                                    Configuration information for delivery of dataset contents to Amazon Simple Storage + * Service (Amazon S3).

                                                                                    */ export interface S3DestinationConfiguration { /** - *

                                                                                    The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 - * and AWS Glue resources.

                                                                                    + *

                                                                                    The name of the S3 bucket to which dataset contents are delivered.

                                                                                    */ - roleArn: string | undefined; + bucket: string | undefined; /** - *

                                                                                    Configuration information for coordination with the AWS Glue ETL (extract, transform and - * load) service.

                                                                                    + *

                                                                                    The key of the dataset contents object in an S3 bucket. Each object has a key that is a + * unique identifier. Each object has exactly one key.

                                                                                    + *

                                                                                    You can create a unique key with the following options:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      Use !{iotanalytics:scheduleTime} to insert the time of a scheduled SQL + * query run.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Use !{iotanalytics:versionId} to insert a unique hash that identifies a + * dataset content.

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Use !{iotanalytics:creationTime} to insert the creation time of a dataset + * content.

                                                                                      + *
                                                                                    • + *
                                                                                    + *

                                                                                    The following example creates a unique key for a CSV file: + * dataset/mydataset/!{iotanalytics:scheduleTime}/!{iotanalytics:versionId}.csv + *

                                                                                    + * + *

                                                                                    If you don't use !{iotanalytics:versionId} to specify the key, you might + * get duplicate keys. For example, you might have two dataset contents with the same + * scheduleTime but different versionIds. + * This means that one dataset content overwrites the other.

                                                                                    + *
                                                                                    */ - glueConfiguration?: GlueConfiguration; + key: string | undefined; /** - *

                                                                                    The key of the data set contents object. Each object in an Amazon S3 bucket has a key that is - * its unique identifier within the bucket (each object in a bucket has exactly one key). To produce - * a unique key, you can use "!{iotanalytics:scheduledTime}" to insert the time of the scheduled SQL - * query run, or "!{iotanalytics:versioned} to insert a unique hash identifying the data set, for - * example: "/DataSet/!{iotanalytics:scheduledTime}/!{iotanalytics:versioned}.csv".

                                                                                    + *

                                                                                    Configuration information for coordination with AWS Glue, a fully managed extract, + * transform and load (ETL) service.

                                                                                    */ - key: string | undefined; + glueConfiguration?: GlueConfiguration; /** - *

                                                                                    The name of the Amazon S3 bucket to which data set contents are delivered.

                                                                                    + *

                                                                                    The ARN of the role that grants AWS IoT Analytics permission to interact with your + * Amazon S3 and AWS Glue resources.

                                                                                    */ - bucket: string | undefined; + roleArn: string | undefined; } export namespace S3DestinationConfiguration { @@ -765,16 +799,16 @@ export namespace S3DestinationConfiguration { } /** - *

                                                                                    The destination to which data set contents are delivered.

                                                                                    + *

                                                                                    The destination to which dataset contents are delivered.

                                                                                    */ export interface DatasetContentDeliveryDestination { /** - *

                                                                                    Configuration information for delivery of data set contents to AWS IoT Events.

                                                                                    + *

                                                                                    Configuration information for delivery of dataset contents to AWS IoT Events.

                                                                                    */ iotEventsDestinationConfiguration?: IotEventsDestinationConfiguration; /** - *

                                                                                    Configuration information for delivery of data set contents to Amazon S3.

                                                                                    + *

                                                                                    Configuration information for delivery of dataset contents to Amazon S3.

                                                                                    */ s3DestinationConfiguration?: S3DestinationConfiguration; } @@ -786,18 +820,19 @@ export namespace DatasetContentDeliveryDestination { } /** - *

                                                                                    When data set contents are created they are delivered to destination specified here.

                                                                                    + *

                                                                                    When dataset contents are created, they are delivered to destination specified + * here.

                                                                                    */ export interface DatasetContentDeliveryRule { /** - *

                                                                                    The destination to which data set contents are delivered.

                                                                                    + *

                                                                                    The name of the dataset content delivery rules entry.

                                                                                    */ - destination: DatasetContentDeliveryDestination | undefined; + entryName?: string; /** - *

                                                                                    The name of the data set content delivery rules entry.

                                                                                    + *

                                                                                    The destination to which dataset contents are delivered.

                                                                                    */ - entryName?: string; + destination: DatasetContentDeliveryDestination | undefined; } export namespace DatasetContentDeliveryRule { @@ -807,13 +842,79 @@ export namespace DatasetContentDeliveryRule { } /** - *

                                                                                    Information about the data set whose content generation triggers the new data set content - * generation.

                                                                                    + *

                                                                                    A structure that contains the configuration information of a delta time session + * window.

                                                                                    + *

                                                                                    + * + * DeltaTime + * specifies a time interval. + * You can use DeltaTime to create dataset contents with data that has arrived in the data store since the last execution. + * For an example of DeltaTime, see + * Creating a SQL dataset with a delta window (CLI) in the AWS IoT Analytics User Guide.

                                                                                    + */ +export interface DeltaTimeSessionWindowConfiguration { + /** + *

                                                                                    A time interval. You can use timeoutInMinutes so that AWS IoT Analytics can batch up late data notifications + * that have been generated since the last execution. AWS IoT Analytics sends one batch of notifications to Amazon CloudWatch Events at one time.

                                                                                    + *

                                                                                    For more information about how to write a timestamp expression, + * see Date and Time Functions and Operators, + * in the Presto 0.172 Documentation.

                                                                                    + */ + timeoutInMinutes: number | undefined; +} + +export namespace DeltaTimeSessionWindowConfiguration { + export const filterSensitiveLog = (obj: DeltaTimeSessionWindowConfiguration): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    The information needed to configure a delta time session window.

                                                                                    + */ +export interface LateDataRuleConfiguration { + /** + *

                                                                                    The information needed to configure a delta time session window.

                                                                                    + */ + deltaTimeSessionWindowConfiguration?: DeltaTimeSessionWindowConfiguration; +} + +export namespace LateDataRuleConfiguration { + export const filterSensitiveLog = (obj: LateDataRuleConfiguration): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    A structure that contains the name and configuration information of a late data + * rule.

                                                                                    + */ +export interface LateDataRule { + /** + *

                                                                                    The name of the late data rule.

                                                                                    + */ + ruleName?: string; + + /** + *

                                                                                    The information needed to configure the late data rule.

                                                                                    + */ + ruleConfiguration: LateDataRuleConfiguration | undefined; +} + +export namespace LateDataRule { + export const filterSensitiveLog = (obj: LateDataRule): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    Information about the dataset whose content generation triggers the new dataset content + * generation.

                                                                                    */ export interface TriggeringDataset { /** - *

                                                                                    The name of the data set whose content generation triggers the new data set content - * generation.

                                                                                    + *

                                                                                    The name of the dataset whose content generation triggers the new dataset content + * generation.

                                                                                    */ name: string | undefined; } @@ -829,9 +930,10 @@ export namespace TriggeringDataset { */ export interface Schedule { /** - *

                                                                                    The expression that defines when to trigger an update. For more information, see - * - * Schedule Expressions for Rules in the Amazon CloudWatch Events User Guide.

                                                                                    + *

                                                                                    The expression that defines when to trigger an update. + * For more information, see Schedule Expressions for + * Rules in the Amazon CloudWatch Events User + * Guide.

                                                                                    */ expression?: string; } @@ -843,19 +945,19 @@ export namespace Schedule { } /** - *

                                                                                    The "DatasetTrigger" - * that specifies when the data set is automatically updated.

                                                                                    + *

                                                                                    The DatasetTrigger that specifies when the data set is automatically + * updated.

                                                                                    */ export interface DatasetTrigger { /** - *

                                                                                    The data set whose content creation triggers the creation of this data set's contents.

                                                                                    + *

                                                                                    The Schedule when the trigger is initiated.

                                                                                    */ - dataset?: TriggeringDataset; + schedule?: Schedule; /** - *

                                                                                    The "Schedule" when the trigger is initiated.

                                                                                    + *

                                                                                    The data set whose content creation triggers the creation of this data set's contents.

                                                                                    */ - schedule?: Schedule; + dataset?: TriggeringDataset; } export namespace DatasetTrigger { @@ -865,16 +967,17 @@ export namespace DatasetTrigger { } /** - *

                                                                                    Information about the versioning of data set contents.

                                                                                    + *

                                                                                    Information about the versioning of dataset contents.

                                                                                    */ export interface VersioningConfiguration { /** - *

                                                                                    If true, unlimited versions of data set contents will be kept.

                                                                                    + *

                                                                                    If true, unlimited versions of dataset contents are kept.

                                                                                    */ unlimited?: boolean; /** - *

                                                                                    How many versions of data set contents will be kept. The "unlimited" parameter must be false.

                                                                                    + *

                                                                                    How many versions of dataset contents are kept. The unlimited parameter + * must be false.

                                                                                    */ maxVersions?: number; } @@ -887,48 +990,58 @@ export namespace VersioningConfiguration { export interface CreateDatasetRequest { /** - *

                                                                                    Metadata which can be used to manage the data set.

                                                                                    + *

                                                                                    The name of the data set.

                                                                                    */ - tags?: Tag[]; + datasetName: string | undefined; /** - *

                                                                                    [Optional] How many versions of data set contents are kept. If not specified or set to null, only the - * latest version plus the latest succeeded version (if they are different) are kept for - * the time period specified by the "retentionPeriod" parameter. (For more information, see - * https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)

                                                                                    + *

                                                                                    A list of actions that create the data set contents.

                                                                                    */ - versioningConfiguration?: VersioningConfiguration; + actions: DatasetAction[] | undefined; + + /** + *

                                                                                    A list of triggers. A trigger causes data set contents to be populated at a specified + * time interval or when another data set's contents are created. The list of triggers can be + * empty or contain up to five DataSetTrigger objects.

                                                                                    + */ + triggers?: DatasetTrigger[]; /** - *

                                                                                    When data set contents are created they are delivered to destinations specified here.

                                                                                    + *

                                                                                    When dataset contents are created, they are delivered to destinations specified + * here.

                                                                                    */ contentDeliveryRules?: DatasetContentDeliveryRule[]; /** - *

                                                                                    A list of actions that create the data set contents.

                                                                                    + *

                                                                                    Optional. How long, in days, versions of dataset contents are kept for the dataset. If + * not specified or set to null, versions of dataset contents are retained for at + * most 90 days. The number of versions of dataset contents retained is determined by the + * versioningConfiguration parameter. For more information, see Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT + * Analytics User Guide.

                                                                                    */ - actions: DatasetAction[] | undefined; + retentionPeriod?: RetentionPeriod; /** - *

                                                                                    The name of the data set.

                                                                                    + *

                                                                                    Optional. How many versions of dataset contents are kept. If not specified or set to + * null, only the latest version plus the latest succeeded version (if they are different) are + * kept for the time period specified by the retentionPeriod parameter. For more + * information, see + * Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT + * Analytics User Guide.

                                                                                    */ - datasetName: string | undefined; + versioningConfiguration?: VersioningConfiguration; /** - *

                                                                                    [Optional] How long, in days, versions of data set contents are kept for the data set. If - * not specified or set to null, versions of data set contents are retained for at most 90 days. - * The number of versions of data set contents retained is determined by the - * versioningConfiguration parameter. (For more information, see - * https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)

                                                                                    + *

                                                                                    Metadata which can be used to manage the data set.

                                                                                    */ - retentionPeriod?: RetentionPeriod; + tags?: Tag[]; /** - *

                                                                                    A list of triggers. A trigger causes data set contents to be populated at a specified - * time interval or when another data set's contents are created. The list of triggers can - * be empty or contain up to five DataSetTrigger objects.

                                                                                    + *

                                                                                    A list of data rules that send notifications to Amazon CloudWatch, when data arrives late. To + * specify lateDataRules, the dataset must use a DeltaTimer + * filter.

                                                                                    */ - triggers?: DatasetTrigger[]; + lateDataRules?: LateDataRule[]; } export namespace CreateDatasetRequest { @@ -939,19 +1052,19 @@ export namespace CreateDatasetRequest { export interface CreateDatasetResponse { /** - *

                                                                                    The name of the data set.

                                                                                    + *

                                                                                    The name of the dataset.

                                                                                    */ datasetName?: string; /** - *

                                                                                    How long, in days, data set contents are kept for the data set.

                                                                                    + *

                                                                                    The ARN of the dataset.

                                                                                    */ - retentionPeriod?: RetentionPeriod; + datasetArn?: string; /** - *

                                                                                    The ARN of the data set.

                                                                                    + *

                                                                                    How long, in days, dataset contents are kept for the dataset.

                                                                                    */ - datasetArn?: string; + retentionPeriod?: RetentionPeriod; } export namespace CreateDatasetResponse { @@ -962,9 +1075,15 @@ export namespace CreateDatasetResponse { export interface CreateDatasetContentRequest { /** - *

                                                                                    The name of the data set.

                                                                                    + *

                                                                                    The name of the dataset.

                                                                                    */ datasetName: string | undefined; + + /** + *

                                                                                    The version ID of the dataset content. To specify versionId for a dataset + * content, the dataset must use a DeltaTimer filter.

                                                                                    + */ + versionId?: string; } export namespace CreateDatasetContentRequest { @@ -975,7 +1094,7 @@ export namespace CreateDatasetContentRequest { export interface CreateDatasetContentResponse { /** - *

                                                                                    The version ID of the data set contents which are being created.

                                                                                    + *

                                                                                    The version ID of the dataset contents that are being created.

                                                                                    */ versionId?: string; } @@ -987,27 +1106,29 @@ export namespace CreateDatasetContentResponse { } /** - *

                                                                                    Use this to store data store data in an S3 bucket that you manage. When customer managed storage is - * selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed - * S3 storage cannot be changed after creation of the data store.

                                                                                    + *

                                                                                    Use this to store data store data in an S3 bucket that you manage. When customer-managed + * storage is selected, the retentionPeriod parameter is ignored. You cannot change + * the choice of service-managed or customer-managed S3 storage after the data store is + * created.

                                                                                    */ export interface CustomerManagedDatastoreS3Storage { /** - *

                                                                                    [Optional] The prefix used to create the keys of the data store data objects. Each object in - * an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in a - * bucket has exactly one key). The prefix must end with a '/'.

                                                                                    + *

                                                                                    The name of the S3 bucket in which data store data is stored.

                                                                                    */ - keyPrefix?: string; + bucket: string | undefined; /** - *

                                                                                    The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.

                                                                                    + *

                                                                                    Optional. The prefix used to create the keys of the data store data objects. Each object + * in an S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket + * has exactly one key. The prefix must end with a forward slash (/).

                                                                                    */ - roleArn: string | undefined; + keyPrefix?: string; /** - *

                                                                                    The name of the Amazon S3 bucket in which data store data is stored.

                                                                                    + *

                                                                                    The ARN of the role that grants AWS IoT Analytics permission to interact with your + * Amazon S3 resources.

                                                                                    */ - bucket: string | undefined; + roleArn: string | undefined; } export namespace CustomerManagedDatastoreS3Storage { @@ -1017,9 +1138,9 @@ export namespace CustomerManagedDatastoreS3Storage { } /** - *

                                                                                    Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. - * The choice of service-managed or customer-managed S3 storage cannot be changed after creation - * of the data store.

                                                                                    + *

                                                                                    Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You + * cannot change the choice of service-managed or customer-managed S3 storage after the data + * store is created.

                                                                                    */ export interface ServiceManagedDatastoreS3Storage {} @@ -1030,22 +1151,24 @@ export namespace ServiceManagedDatastoreS3Storage { } /** - *

                                                                                    Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" - * storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data - * store is created.

                                                                                    + *

                                                                                    Where data store data is stored. You can choose one of serviceManagedS3 or + * customerManagedS3 storage. If not specified, the default is + * serviceManagedS3. You cannot change this storage option after the data store is + * created.

                                                                                    */ export interface DatastoreStorage { /** - *

                                                                                    Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. - * The choice of service-managed or customer-managed S3 storage cannot be changed after creation - * of the data store.

                                                                                    + *

                                                                                    Use this to store data store data in an S3 bucket managed by AWS IoT Analytics. You + * cannot change the choice of service-managed or customer-managed S3 storage after the data + * store is created.

                                                                                    */ serviceManagedS3?: ServiceManagedDatastoreS3Storage; /** - *

                                                                                    Use this to store data store data in an S3 bucket that you manage. When customer managed storage is - * selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed - * S3 storage cannot be changed after creation of the data store.

                                                                                    + *

                                                                                    Use this to store data store data in an S3 bucket that you manage. When customer managed + * storage is selected, the retentionPeriod parameter is ignored. The choice of + * service-managed or customer-managed S3 storage cannot be changed after creation of the data + * store.

                                                                                    */ customerManagedS3?: CustomerManagedDatastoreS3Storage; } @@ -1058,27 +1181,28 @@ export namespace DatastoreStorage { export interface CreateDatastoreRequest { /** - *

                                                                                    How long, in days, message data is kept for the data store. When "customerManagedS3" storage - * is selected, this parameter is ignored.

                                                                                    + *

                                                                                    The name of the data store.

                                                                                    */ - retentionPeriod?: RetentionPeriod; + datastoreName: string | undefined; /** - *

                                                                                    The name of the data store.

                                                                                    + *

                                                                                    Where data store data is stored. You can choose one of serviceManagedS3 or + * customerManagedS3 storage. If not specified, the default is + * serviceManagedS3. You cannot change this storage option after the data store is + * created.

                                                                                    */ - datastoreName: string | undefined; + datastoreStorage?: DatastoreStorage; /** - *

                                                                                    Metadata which can be used to manage the data store.

                                                                                    + *

                                                                                    How long, in days, message data is kept for the data store. When + * customerManagedS3 storage is selected, this parameter is ignored.

                                                                                    */ - tags?: Tag[]; + retentionPeriod?: RetentionPeriod; /** - *

                                                                                    Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" - * storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data - * store is created.

                                                                                    + *

                                                                                    Metadata which can be used to manage the data store.

                                                                                    */ - datastoreStorage?: DatastoreStorage; + tags?: Tag[]; } export namespace CreateDatastoreRequest { @@ -1089,9 +1213,9 @@ export namespace CreateDatastoreRequest { export interface CreateDatastoreResponse { /** - *

                                                                                    How long, in days, message data is kept for the data store.

                                                                                    + *

                                                                                    The name of the data store.

                                                                                    */ - retentionPeriod?: RetentionPeriod; + datastoreName?: string; /** *

                                                                                    The ARN of the data store.

                                                                                    @@ -1099,9 +1223,9 @@ export interface CreateDatastoreResponse { datastoreArn?: string; /** - *

                                                                                    The name of the data store.

                                                                                    + *

                                                                                    How long, in days, message data is kept for the data store.

                                                                                    */ - datastoreName?: string; + retentionPeriod?: RetentionPeriod; } export namespace CreateDatastoreResponse { @@ -1114,6 +1238,11 @@ export namespace CreateDatastoreResponse { *

                                                                                    The activity that determines the source of the messages to be processed.

                                                                                    */ export interface ChannelActivity { + /** + *

                                                                                    The name of the channel activity.

                                                                                    + */ + name: string | undefined; + /** *

                                                                                    The name of the channel from which the messages are processed.

                                                                                    */ @@ -1123,11 +1252,6 @@ export interface ChannelActivity { *

                                                                                    The next activity in the pipeline.

                                                                                    */ next?: string; - - /** - *

                                                                                    The name of the 'channel' activity.

                                                                                    - */ - name: string | undefined; } export namespace ChannelActivity { @@ -1137,11 +1261,11 @@ export namespace ChannelActivity { } /** - *

                                                                                    The 'datastore' activity that specifies where to store the processed data.

                                                                                    + *

                                                                                    The datastore activity that specifies where to store the processed data.

                                                                                    */ export interface DatastoreActivity { /** - *

                                                                                    The name of the 'datastore' activity.

                                                                                    + *

                                                                                    The name of the datastore activity.

                                                                                    */ name: string | undefined; @@ -1162,9 +1286,9 @@ export namespace DatastoreActivity { */ export interface DeviceRegistryEnrichActivity { /** - *

                                                                                    The ARN of the role that allows access to the device's registry information.

                                                                                    + *

                                                                                    The name of the deviceRegistryEnrich activity.

                                                                                    */ - roleArn: string | undefined; + name: string | undefined; /** *

                                                                                    The name of the attribute that is added to the message.

                                                                                    @@ -1177,9 +1301,9 @@ export interface DeviceRegistryEnrichActivity { thingName: string | undefined; /** - *

                                                                                    The name of the 'deviceRegistryEnrich' activity.

                                                                                    + *

                                                                                    The ARN of the role that allows access to the device's registry information.

                                                                                    */ - name: string | undefined; + roleArn: string | undefined; /** *

                                                                                    The next activity in the pipeline.

                                                                                    @@ -1194,9 +1318,20 @@ export namespace DeviceRegistryEnrichActivity { } /** - *

                                                                                    An activity that adds information from the AWS IoT Device Shadows service to a message.

                                                                                    + *

                                                                                    An activity that adds information from the AWS IoT Device Shadow service to a + * message.

                                                                                    */ export interface DeviceShadowEnrichActivity { + /** + *

                                                                                    The name of the deviceShadowEnrich activity.

                                                                                    + */ + name: string | undefined; + + /** + *

                                                                                    The name of the attribute that is added to the message.

                                                                                    + */ + attribute: string | undefined; + /** *

                                                                                    The name of the IoT device whose shadow information is added to * the message.

                                                                                    @@ -1208,20 +1343,10 @@ export interface DeviceShadowEnrichActivity { */ roleArn: string | undefined; - /** - *

                                                                                    The name of the attribute that is added to the message.

                                                                                    - */ - attribute: string | undefined; - /** *

                                                                                    The next activity in the pipeline.

                                                                                    */ next?: string; - - /** - *

                                                                                    The name of the 'deviceShadowEnrich' activity.

                                                                                    - */ - name: string | undefined; } export namespace DeviceShadowEnrichActivity { @@ -1235,19 +1360,20 @@ export namespace DeviceShadowEnrichActivity { */ export interface FilterActivity { /** - *

                                                                                    An expression that looks like a SQL WHERE clause that must return a Boolean value.

                                                                                    + *

                                                                                    The name of the filter activity.

                                                                                    */ - filter: string | undefined; + name: string | undefined; /** - *

                                                                                    The next activity in the pipeline.

                                                                                    + *

                                                                                    An expression that looks like a SQL WHERE clause that must return a Boolean value. + * Messages that satisfy the condition are passed to the next activity.

                                                                                    */ - next?: string; + filter: string | undefined; /** - *

                                                                                    The name of the 'filter' activity.

                                                                                    + *

                                                                                    The next activity in the pipeline.

                                                                                    */ - name: string | undefined; + next?: string; } export namespace FilterActivity { @@ -1261,26 +1387,26 @@ export namespace FilterActivity { */ export interface LambdaActivity { /** - *

                                                                                    The number of messages passed to the Lambda function for processing.

                                                                                    - *

                                                                                    The AWS Lambda function must be able to process all of these messages within - * five minutes, which is the maximum timeout duration for Lambda functions.

                                                                                    + *

                                                                                    The name of the lambda activity.

                                                                                    */ - batchSize: number | undefined; + name: string | undefined; /** - *

                                                                                    The next activity in the pipeline.

                                                                                    + *

                                                                                    The name of the Lambda function that is run on the message.

                                                                                    */ - next?: string; + lambdaName: string | undefined; /** - *

                                                                                    The name of the Lambda function that is run on the message.

                                                                                    + *

                                                                                    The number of messages passed to the Lambda function for processing.

                                                                                    + *

                                                                                    The Lambda function must be able to process all of these messages within five minutes, + * which is the maximum timeout duration for Lambda functions.

                                                                                    */ - lambdaName: string | undefined; + batchSize: number | undefined; /** - *

                                                                                    The name of the 'lambda' activity.

                                                                                    + *

                                                                                    The next activity in the pipeline.

                                                                                    */ - name: string | undefined; + next?: string; } export namespace LambdaActivity { @@ -1294,9 +1420,9 @@ export namespace LambdaActivity { */ export interface MathActivity { /** - *

                                                                                    An expression that uses one or more existing attributes and must return an integer value.

                                                                                    + *

                                                                                    The name of the math activity.

                                                                                    */ - math: string | undefined; + name: string | undefined; /** *

                                                                                    The name of the attribute that contains the result of the math operation.

                                                                                    @@ -1304,9 +1430,9 @@ export interface MathActivity { attribute: string | undefined; /** - *

                                                                                    The name of the 'math' activity.

                                                                                    + *

                                                                                    An expression that uses one or more existing attributes and must return an integer value.

                                                                                    */ - name: string | undefined; + math: string | undefined; /** *

                                                                                    The next activity in the pipeline.

                                                                                    @@ -1325,19 +1451,19 @@ export namespace MathActivity { */ export interface RemoveAttributesActivity { /** - *

                                                                                    The name of the 'removeAttributes' activity.

                                                                                    + *

                                                                                    The name of the removeAttributes activity.

                                                                                    */ name: string | undefined; /** - *

                                                                                    The next activity in the pipeline.

                                                                                    + *

                                                                                    A list of 1-50 attributes to remove from the message.

                                                                                    */ - next?: string; + attributes: string[] | undefined; /** - *

                                                                                    A list of 1-50 attributes to remove from the message.

                                                                                    + *

                                                                                    The next activity in the pipeline.

                                                                                    */ - attributes: string[] | undefined; + next?: string; } export namespace RemoveAttributesActivity { @@ -1351,6 +1477,11 @@ export namespace RemoveAttributesActivity { * from the original message.

                                                                                    */ export interface SelectAttributesActivity { + /** + *

                                                                                    The name of the selectAttributes activity.

                                                                                    + */ + name: string | undefined; + /** *

                                                                                    A list of the attributes to select from the message.

                                                                                    */ @@ -1360,11 +1491,6 @@ export interface SelectAttributesActivity { *

                                                                                    The next activity in the pipeline.

                                                                                    */ next?: string; - - /** - *

                                                                                    The name of the 'selectAttributes' activity.

                                                                                    - */ - name: string | undefined; } export namespace SelectAttributesActivity { @@ -1377,42 +1503,47 @@ export namespace SelectAttributesActivity { *

                                                                                    An activity that performs a transformation on a message.

                                                                                    */ export interface PipelineActivity { + /** + *

                                                                                    Determines the source of the messages to be processed.

                                                                                    + */ + channel?: ChannelActivity; + /** *

                                                                                    Runs a Lambda function to modify the message.

                                                                                    */ lambda?: LambdaActivity; /** - *

                                                                                    Computes an arithmetic expression using the message's attributes and adds - * it to the message.

                                                                                    + *

                                                                                    Specifies where to store the processed message data.

                                                                                    */ - math?: MathActivity; + datastore?: DatastoreActivity; /** - *

                                                                                    Filters a message based on its attributes.

                                                                                    + *

                                                                                    Adds other attributes based on existing attributes in the message.

                                                                                    */ - filter?: FilterActivity; + addAttributes?: AddAttributesActivity; /** - *

                                                                                    Creates a new message using only the specified attributes from the original message. - *

                                                                                    + *

                                                                                    Removes attributes from a message.

                                                                                    */ - selectAttributes?: SelectAttributesActivity; + removeAttributes?: RemoveAttributesActivity; /** - *

                                                                                    Determines the source of the messages to be processed.

                                                                                    + *

                                                                                    Creates a new message using only the specified attributes from the original message. + *

                                                                                    */ - channel?: ChannelActivity; + selectAttributes?: SelectAttributesActivity; /** - *

                                                                                    Removes attributes from a message.

                                                                                    + *

                                                                                    Filters a message based on its attributes.

                                                                                    */ - removeAttributes?: RemoveAttributesActivity; + filter?: FilterActivity; /** - *

                                                                                    Adds information from the AWS IoT Device Shadows service to a message.

                                                                                    + *

                                                                                    Computes an arithmetic expression using the message's attributes and adds + * it to the message.

                                                                                    */ - deviceShadowEnrich?: DeviceShadowEnrichActivity; + math?: MathActivity; /** *

                                                                                    Adds data from the AWS IoT device registry to your message.

                                                                                    @@ -1420,14 +1551,9 @@ export interface PipelineActivity { deviceRegistryEnrich?: DeviceRegistryEnrichActivity; /** - *

                                                                                    Specifies where to store the processed message data.

                                                                                    - */ - datastore?: DatastoreActivity; - - /** - *

                                                                                    Adds other attributes based on existing attributes in the message.

                                                                                    + *

                                                                                    Adds information from the AWS IoT Device Shadow service to a message.

                                                                                    */ - addAttributes?: AddAttributesActivity; + deviceShadowEnrich?: DeviceShadowEnrichActivity; } export namespace PipelineActivity { @@ -1438,13 +1564,18 @@ export namespace PipelineActivity { export interface CreatePipelineRequest { /** - *

                                                                                    A list of "PipelineActivity" objects. Activities perform transformations on your messages, - * such as removing, renaming or adding message attributes; filtering messages based on attribute - * values; invoking your Lambda functions on messages for advanced processing; or performing - * mathematical transformations to normalize device data.

                                                                                    - *

                                                                                    The list can be 2-25 PipelineActivity objects and must - * contain both a channel and a datastore activity. Each entry in the - * list must contain only one activity, for example:

                                                                                    + *

                                                                                    The name of the pipeline.

                                                                                    + */ + pipelineName: string | undefined; + + /** + *

                                                                                    A list of PipelineActivity objects. Activities perform transformations on + * your messages, such as removing, renaming or adding message attributes; filtering messages + * based on attribute values; invoking your Lambda functions on messages for advanced processing; + * or performing mathematical transformations to normalize device data.

                                                                                    + *

                                                                                    The list can be 2-25 PipelineActivity objects and must contain both a + * channel and a datastore activity. Each entry in the list must + * contain only one activity. For example:

                                                                                    *

                                                                                    * pipelineActivities = [ * { @@ -1459,11 +1590,6 @@ export interface CreatePipelineRequest { */ pipelineActivities: PipelineActivity[] | undefined; - /** - *

                                                                                    The name of the pipeline.

                                                                                    - */ - pipelineName: string | undefined; - /** *

                                                                                    Metadata which can be used to manage the pipeline.

                                                                                    */ @@ -1478,14 +1604,14 @@ export namespace CreatePipelineRequest { export interface CreatePipelineResponse { /** - *

                                                                                    The ARN of the pipeline.

                                                                                    + *

                                                                                    The name of the pipeline.

                                                                                    */ - pipelineArn?: string; + pipelineName?: string; /** - *

                                                                                    The name of the pipeline.

                                                                                    + *

                                                                                    The ARN of the pipeline.

                                                                                    */ - pipelineName?: string; + pipelineArn?: string; } export namespace CreatePipelineResponse { @@ -1522,14 +1648,14 @@ export namespace DeleteDatasetRequest { export interface DeleteDatasetContentRequest { /** - *

                                                                                    The name of the data set whose content is deleted.

                                                                                    + *

                                                                                    The name of the dataset whose content is deleted.

                                                                                    */ datasetName: string | undefined; /** - *

                                                                                    The version of the data set whose content is deleted. You can also use the strings - * "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest successfully - * completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.

                                                                                    + *

                                                                                    The version of the dataset whose content is deleted. You can also use the strings + * "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest successfully completed data + * set. If not specified, "$LATEST_SUCCEEDED" is the default.

                                                                                    */ versionId?: string; } @@ -1597,26 +1723,27 @@ export enum ChannelStatus { */ export interface Channel { /** - *

                                                                                    The ARN of the channel.

                                                                                    + *

                                                                                    The name of the channel.

                                                                                    */ - arn?: string; + name?: string; /** - *

                                                                                    Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" - * storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation - * of the channel.

                                                                                    + *

                                                                                    Where channel data is stored. You can choose one of serviceManagedS3 or + * customerManagedS3 storage. If not specified, the default is + * serviceManagedS3. You cannot change this storage option after the channel is + * created.

                                                                                    */ storage?: ChannelStorage; /** - *

                                                                                    When the channel was last updated.

                                                                                    + *

                                                                                    The ARN of the channel.

                                                                                    */ - lastUpdateTime?: Date; + arn?: string; /** - *

                                                                                    The name of the channel.

                                                                                    + *

                                                                                    The status of the channel.

                                                                                    */ - name?: string; + status?: ChannelStatus | string; /** *

                                                                                    How long, in days, message data is kept for the channel.

                                                                                    @@ -1624,14 +1751,22 @@ export interface Channel { retentionPeriod?: RetentionPeriod; /** - *

                                                                                    The status of the channel.

                                                                                    + *

                                                                                    When the channel was created.

                                                                                    */ - status?: ChannelStatus | string; + creationTime?: Date; /** - *

                                                                                    When the channel was created.

                                                                                    + *

                                                                                    When the channel was last updated.

                                                                                    */ - creationTime?: Date; + lastUpdateTime?: Date; + + /** + *

                                                                                    The last time when a new message arrived in the channel.

                                                                                    + *

                                                                                    AWS IoT Analytics updates this value at most once per minute for one channel. + * Hence, the lastMessageArrivalTime value is an approximation.

                                                                                    + *

                                                                                    This feature only applies to messages that arrived in the data store after October 23, 2020.

                                                                                    + */ + lastMessageArrivalTime?: Date; } export namespace Channel { @@ -1645,14 +1780,14 @@ export namespace Channel { */ export interface EstimatedResourceSize { /** - *

                                                                                    The time when the estimate of the size of the resource was made.

                                                                                    + *

                                                                                    The estimated size of the resource, in bytes.

                                                                                    */ - estimatedOn?: Date; + estimatedSizeInBytes?: number; /** - *

                                                                                    The estimated size of the resource in bytes.

                                                                                    + *

                                                                                    The time when the estimate of the size of the resource was made.

                                                                                    */ - estimatedSizeInBytes?: number; + estimatedOn?: Date; } export namespace EstimatedResourceSize { @@ -1679,15 +1814,15 @@ export namespace ChannelStatistics { export interface DescribeChannelResponse { /** - *

                                                                                    Statistics about the channel. Included if the 'includeStatistics' parameter is set - * to true in the request.

                                                                                    + *

                                                                                    An object that contains information about the channel.

                                                                                    */ - statistics?: ChannelStatistics; + channel?: Channel; /** - *

                                                                                    An object that contains information about the channel.

                                                                                    + *

                                                                                    Statistics about the channel. Included if the includeStatistics parameter is + * set to true in the request.

                                                                                    */ - channel?: Channel; + statistics?: ChannelStatistics; } export namespace DescribeChannelResponse { @@ -1720,58 +1855,69 @@ export enum DatasetStatus { */ export interface Dataset { /** - *

                                                                                    The status of the data set.

                                                                                    + *

                                                                                    The name of the data set.

                                                                                    */ - status?: DatasetStatus | string; + name?: string; /** - *

                                                                                    The "DatasetTrigger" objects - * that specify when the data set is automatically updated.

                                                                                    + *

                                                                                    The ARN of the data set.

                                                                                    */ - triggers?: DatasetTrigger[]; + arn?: string; /** - *

                                                                                    The last time the data set was updated.

                                                                                    + *

                                                                                    The DatasetAction objects that automatically create the data set + * contents.

                                                                                    */ - lastUpdateTime?: Date; + actions?: DatasetAction[]; /** - *

                                                                                    The ARN of the data set.

                                                                                    + *

                                                                                    The DatasetTrigger objects that specify when the data set is automatically + * updated.

                                                                                    */ - arn?: string; + triggers?: DatasetTrigger[]; /** - *

                                                                                    The name of the data set.

                                                                                    + *

                                                                                    When dataset contents are created they are delivered to destinations specified + * here.

                                                                                    */ - name?: string; + contentDeliveryRules?: DatasetContentDeliveryRule[]; /** - *

                                                                                    The "DatasetAction" objects that automatically create the data set contents.

                                                                                    + *

                                                                                    The status of the data set.

                                                                                    */ - actions?: DatasetAction[]; + status?: DatasetStatus | string; /** - *

                                                                                    When data set contents are created they are delivered to destinations specified here.

                                                                                    + *

                                                                                    When the data set was created.

                                                                                    */ - contentDeliveryRules?: DatasetContentDeliveryRule[]; + creationTime?: Date; + + /** + *

                                                                                    The last time the data set was updated.

                                                                                    + */ + lastUpdateTime?: Date; /** - *

                                                                                    [Optional] How long, in days, message data is kept for the data set.

                                                                                    + *

                                                                                    Optional. How long, in days, message data is kept for the data set.

                                                                                    */ retentionPeriod?: RetentionPeriod; /** - *

                                                                                    [Optional] How many versions of data set contents are kept. If not specified or set to null, only the - * latest version plus the latest succeeded version (if they are different) are kept for - * the time period specified by the "retentionPeriod" parameter. (For more information, see - * https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)

                                                                                    + *

                                                                                    Optional. How many versions of dataset contents are kept. If not specified or set to + * null, only the latest version plus the latest succeeded version (if they are different) are + * kept for the time period specified by the retentionPeriod parameter. For more + * information, see + * Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT + * Analytics User Guide.

                                                                                    */ versioningConfiguration?: VersioningConfiguration; /** - *

                                                                                    When the data set was created.

                                                                                    + *

                                                                                    A list of data rules that send notifications to Amazon CloudWatch, when data arrives late. To + * specify lateDataRules, the dataset must use a DeltaTimer + * filter.

                                                                                    */ - creationTime?: Date; + lateDataRules?: LateDataRule[]; } export namespace Dataset { @@ -1823,17 +1969,23 @@ export enum DatastoreStatus { */ export interface Datastore { /** - *

                                                                                    The ARN of the data store.

                                                                                    + *

                                                                                    The name of the data store.

                                                                                    */ - arn?: string; + name?: string; /** - *

                                                                                    Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" - * storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data - * store is created.

                                                                                    + *

                                                                                    Where data store data is stored. You can choose one of serviceManagedS3 or + * customerManagedS3 storage. If not specified, the default is + * serviceManagedS3. You cannot change this storage option after the data store is + * created.

                                                                                    */ storage?: DatastoreStorage; + /** + *

                                                                                    The ARN of the data store.

                                                                                    + */ + arn?: string; + /** *

                                                                                    The status of a data store:

                                                                                    *
                                                                                    @@ -1853,6 +2005,12 @@ export interface Datastore { */ status?: DatastoreStatus | string; + /** + *

                                                                                    How long, in days, message data is kept for the data store. When + * customerManagedS3 storage is selected, this parameter is ignored.

                                                                                    + */ + retentionPeriod?: RetentionPeriod; + /** *

                                                                                    When the data store was created.

                                                                                    */ @@ -1864,15 +2022,12 @@ export interface Datastore { lastUpdateTime?: Date; /** - *

                                                                                    The name of the data store.

                                                                                    - */ - name?: string; - - /** - *

                                                                                    How long, in days, message data is kept for the data store. When "customerManagedS3" storage - * is selected, this parameter is ignored.

                                                                                    + *

                                                                                    The last time when a new message arrived in the data store.

                                                                                    + *

                                                                                    AWS IoT Analytics updates this value at most once per minute for one data store. + * Hence, the lastMessageArrivalTime value is an approximation.

                                                                                    + *

                                                                                    This feature only applies to messages that arrived in the data store after October 23, 2020.

                                                                                    */ - retentionPeriod?: RetentionPeriod; + lastMessageArrivalTime?: Date; } export namespace Datastore { @@ -1904,8 +2059,8 @@ export interface DescribeDatastoreResponse { datastore?: Datastore; /** - *

                                                                                    Additional statistical information about the data store. Included if the 'includeStatistics' - * parameter is set to true in the request.

                                                                                    + *

                                                                                    Additional statistical information about the data store. Included if the + * includeStatistics parameter is set to true in the request.

                                                                                    */ statistics?: DatastoreStatistics; } @@ -1939,14 +2094,14 @@ export interface LoggingOptions { roleArn: string | undefined; /** - *

                                                                                    If true, logging is enabled for AWS IoT Analytics.

                                                                                    + *

                                                                                    The logging level. Currently, only ERROR is supported.

                                                                                    */ - enabled: boolean | undefined; + level: LoggingLevel | string | undefined; /** - *

                                                                                    The logging level. Currently, only "ERROR" is supported.

                                                                                    + *

                                                                                    If true, logging is enabled for AWS IoT Analytics.

                                                                                    */ - level: LoggingLevel | string | undefined; + enabled: boolean | undefined; } export namespace LoggingOptions { @@ -1993,9 +2148,10 @@ export enum ReprocessingStatus { */ export interface ReprocessingSummary { /** - *

                                                                                    The time the pipeline reprocessing was created.

                                                                                    + *

                                                                                    The reprocessingId returned by + * StartPipelineReprocessing.

                                                                                    */ - creationTime?: Date; + id?: string; /** *

                                                                                    The status of the pipeline reprocessing.

                                                                                    @@ -2003,9 +2159,9 @@ export interface ReprocessingSummary { status?: ReprocessingStatus | string; /** - *

                                                                                    The 'reprocessingId' returned by "StartPipelineReprocessing".

                                                                                    + *

                                                                                    The time the pipeline reprocessing was created.

                                                                                    */ - id?: string; + creationTime?: Date; } export namespace ReprocessingSummary { @@ -2024,9 +2180,9 @@ export interface Pipeline { name?: string; /** - *

                                                                                    When the pipeline was created.

                                                                                    + *

                                                                                    The ARN of the pipeline.

                                                                                    */ - creationTime?: Date; + arn?: string; /** *

                                                                                    The activities that perform transformations on the messages.

                                                                                    @@ -2034,19 +2190,19 @@ export interface Pipeline { activities?: PipelineActivity[]; /** - *

                                                                                    The ARN of the pipeline.

                                                                                    + *

                                                                                    A summary of information about the pipeline reprocessing.

                                                                                    */ - arn?: string; + reprocessingSummaries?: ReprocessingSummary[]; /** - *

                                                                                    The last time the pipeline was updated.

                                                                                    + *

                                                                                    When the pipeline was created.

                                                                                    */ - lastUpdateTime?: Date; + creationTime?: Date; /** - *

                                                                                    A summary of information about the pipeline reprocessing.

                                                                                    + *

                                                                                    The last time the pipeline was updated.

                                                                                    */ - reprocessingSummaries?: ReprocessingSummary[]; + lastUpdateTime?: Date; } export namespace Pipeline { @@ -2057,8 +2213,7 @@ export namespace Pipeline { export interface DescribePipelineResponse { /** - *

                                                                                    A "Pipeline" object - * that contains information about the pipeline.

                                                                                    + *

                                                                                    A Pipeline object that contains information about the pipeline.

                                                                                    */ pipeline?: Pipeline; } @@ -2095,14 +2250,14 @@ export namespace GetDatasetContentRequest { */ export interface DatasetEntry { /** - *

                                                                                    The pre-signed URI of the data set item.

                                                                                    + *

                                                                                    The name of the data set item.

                                                                                    */ - dataURI?: string; + entryName?: string; /** - *

                                                                                    The name of the data set item.

                                                                                    + *

                                                                                    The presigned URI of the data set item.

                                                                                    */ - entryName?: string; + dataURI?: string; } export namespace DatasetEntry { @@ -2122,15 +2277,15 @@ export enum DatasetContentState { */ export interface DatasetContentStatus { /** - *

                                                                                    The reason the data set contents are in this state.

                                                                                    + *

                                                                                    The state of the data set contents. Can be one of READY, CREATING, SUCCEEDED, or + * FAILED.

                                                                                    */ - reason?: string; + state?: DatasetContentState | string; /** - *

                                                                                    The state of the data set contents. Can be one of "READY", "CREATING", "SUCCEEDED" or - * "FAILED".

                                                                                    + *

                                                                                    The reason the data set contents are in this state.

                                                                                    */ - state?: DatasetContentState | string; + reason?: string; } export namespace DatasetContentStatus { @@ -2141,7 +2296,7 @@ export namespace DatasetContentStatus { export interface GetDatasetContentResponse { /** - *

                                                                                    A list of "DatasetEntry" objects.

                                                                                    + *

                                                                                    A list of DatasetEntry objects.

                                                                                    */ entries?: DatasetEntry[]; @@ -2186,20 +2341,20 @@ export namespace ListChannelsRequest { */ export interface CustomerManagedChannelS3StorageSummary { /** - *

                                                                                    [Optional] The prefix used to create the keys of the channel data objects. Each object in - * an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in - * a bucket has exactly one key). The prefix must end with a '/'.

                                                                                    + *

                                                                                    The name of the S3 bucket in which channel data is stored.

                                                                                    */ - keyPrefix?: string; + bucket?: string; /** - *

                                                                                    The name of the Amazon S3 bucket in which channel data is stored.

                                                                                    + *

                                                                                    Optional. The prefix used to create the keys of the channel data objects. Each object in + * an S3 bucket has a key that is its unique identifier within the bucket (each object in a + * bucket has exactly one key). The prefix must end with a forward slash (/).

                                                                                    */ - bucket?: string; + keyPrefix?: string; /** - *

                                                                                    The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon - * S3 resources.

                                                                                    + *

                                                                                    The ARN of the role that grants AWS IoT Analytics permission to interact with your + * Amazon S3 resources.

                                                                                    */ roleArn?: string; } @@ -2211,7 +2366,7 @@ export namespace CustomerManagedChannelS3StorageSummary { } /** - *

                                                                                    Used to store channel data in an S3 bucket managed by the AWS IoT Analytics service.

                                                                                    + *

                                                                                    Used to store channel data in an S3 bucket managed by AWS IoT Analytics.

                                                                                    */ export interface ServiceManagedChannelS3StorageSummary {} @@ -2226,7 +2381,7 @@ export namespace ServiceManagedChannelS3StorageSummary { */ export interface ChannelStorageSummary { /** - *

                                                                                    Used to store channel data in an S3 bucket managed by the AWS IoT Analytics service.

                                                                                    + *

                                                                                    Used to store channel data in an S3 bucket managed by AWS IoT Analytics.

                                                                                    */ serviceManagedS3?: ServiceManagedChannelS3StorageSummary; @@ -2247,9 +2402,9 @@ export namespace ChannelStorageSummary { */ export interface ChannelSummary { /** - *

                                                                                    When the channel was created.

                                                                                    + *

                                                                                    The name of the channel.

                                                                                    */ - creationTime?: Date; + channelName?: string; /** *

                                                                                    Where channel data is stored.

                                                                                    @@ -2257,19 +2412,27 @@ export interface ChannelSummary { channelStorage?: ChannelStorageSummary; /** - *

                                                                                    The name of the channel.

                                                                                    + *

                                                                                    The status of the channel.

                                                                                    */ - channelName?: string; + status?: ChannelStatus | string; /** - *

                                                                                    The status of the channel.

                                                                                    + *

                                                                                    When the channel was created.

                                                                                    */ - status?: ChannelStatus | string; + creationTime?: Date; /** *

                                                                                    The last time the channel was updated.

                                                                                    */ lastUpdateTime?: Date; + + /** + *

                                                                                    The last time when a new message arrived in the channel.

                                                                                    + *

                                                                                    AWS IoT Analytics updates this value at most once per minute for one channel. + * Hence, the lastMessageArrivalTime value is an approximation.

                                                                                    + *

                                                                                    This feature only applies to messages that arrived in the data store after October 23, 2020.

                                                                                    + */ + lastMessageArrivalTime?: Date; } export namespace ChannelSummary { @@ -2280,7 +2443,7 @@ export namespace ChannelSummary { export interface ListChannelsResponse { /** - *

                                                                                    A list of "ChannelSummary" objects.

                                                                                    + *

                                                                                    A list of ChannelSummary objects.

                                                                                    */ channelSummaries?: ChannelSummary[]; @@ -2304,25 +2467,26 @@ export interface ListDatasetContentsRequest { datasetName: string | undefined; /** - *

                                                                                    The maximum number of results to return in this request.

                                                                                    + *

                                                                                    The token for the next set of results.

                                                                                    */ - maxResults?: number; + nextToken?: string; /** - *

                                                                                    The token for the next set of results.

                                                                                    + *

                                                                                    The maximum number of results to return in this request.

                                                                                    */ - nextToken?: string; + maxResults?: number; /** *

                                                                                    A filter to limit results to those data set contents whose creation is scheduled on or - * after the given time. See the field triggers.schedule in the CreateDataset + * after the given time. See the field triggers.schedule in the CreateDataset * request. (timestamp)

                                                                                    */ scheduledOnOrAfter?: Date; /** - *

                                                                                    A filter to limit results to those data set contents whose creation is scheduled before the - * given time. See the field triggers.schedule in the CreateDataset request. (timestamp)

                                                                                    + *

                                                                                    A filter to limit results to those data set contents whose creation is scheduled before + * the given time. See the field triggers.schedule in the CreateDataset + * request. (timestamp)

                                                                                    */ scheduledBefore?: Date; } @@ -2334,28 +2498,28 @@ export namespace ListDatasetContentsRequest { } /** - *

                                                                                    Summary information about data set contents.

                                                                                    + *

                                                                                    Summary information about dataset contents.

                                                                                    */ export interface DatasetContentSummary { /** - *

                                                                                    The time the creation of the data set contents was scheduled to start.

                                                                                    + *

                                                                                    The version of the dataset contents.

                                                                                    */ - scheduleTime?: Date; + version?: string; /** - *

                                                                                    The actual time the creation of the data set contents was started.

                                                                                    + *

                                                                                    The status of the data set contents.

                                                                                    */ - creationTime?: Date; + status?: DatasetContentStatus; /** - *

                                                                                    The version of the data set contents.

                                                                                    + *

                                                                                    The actual time the creation of the dataset contents was started.

                                                                                    */ - version?: string; + creationTime?: Date; /** - *

                                                                                    The status of the data set contents.

                                                                                    + *

                                                                                    The time the creation of the dataset contents was scheduled to start.

                                                                                    */ - status?: DatasetContentStatus; + scheduleTime?: Date; /** *

                                                                                    The time the dataset content status was updated to SUCCEEDED or FAILED.

                                                                                    @@ -2390,15 +2554,15 @@ export namespace ListDatasetContentsResponse { export interface ListDatasetsRequest { /** - *

                                                                                    The maximum number of results to return in this request.

                                                                                    - *

                                                                                    The default value is 100.

                                                                                    + *

                                                                                    The token for the next set of results.

                                                                                    */ - maxResults?: number; + nextToken?: string; /** - *

                                                                                    The token for the next set of results.

                                                                                    + *

                                                                                    The maximum number of results to return in this request.

                                                                                    + *

                                                                                    The default value is 100.

                                                                                    */ - nextToken?: string; + maxResults?: number; } export namespace ListDatasetsRequest { @@ -2413,18 +2577,18 @@ export enum DatasetActionType { } /** - *

                                                                                    Information about the action which automatically creates the data set's contents.

                                                                                    + *

                                                                                    Information about the action that automatically creates the dataset's contents.

                                                                                    */ export interface DatasetActionSummary { /** - *

                                                                                    The type of action by which the data set's contents are automatically created.

                                                                                    + *

                                                                                    The name of the action that automatically creates the dataset's contents.

                                                                                    */ - actionType?: DatasetActionType | string; + actionName?: string; /** - *

                                                                                    The name of the action which automatically creates the data set's contents.

                                                                                    + *

                                                                                    The type of action by which the dataset's contents are automatically created.

                                                                                    */ - actionName?: string; + actionType?: DatasetActionType | string; } export namespace DatasetActionSummary { @@ -2437,6 +2601,11 @@ export namespace DatasetActionSummary { *

                                                                                    A summary of information about a data set.

                                                                                    */ export interface DatasetSummary { + /** + *

                                                                                    The name of the data set.

                                                                                    + */ + datasetName?: string; + /** *

                                                                                    The status of the data set.

                                                                                    */ @@ -2447,11 +2616,6 @@ export interface DatasetSummary { */ creationTime?: Date; - /** - *

                                                                                    The name of the data set.

                                                                                    - */ - datasetName?: string; - /** *

                                                                                    The last time the data set was updated.

                                                                                    */ @@ -2460,12 +2624,12 @@ export interface DatasetSummary { /** *

                                                                                    A list of triggers. A trigger causes data set content to be populated at a specified time * interval or when another data set is populated. The list of triggers can be empty or contain up - * to five DataSetTrigger objects

                                                                                    + * to five DataSetTrigger objects

                                                                                    */ triggers?: DatasetTrigger[]; /** - *

                                                                                    A list of "DataActionSummary" objects.

                                                                                    + *

                                                                                    A list of DataActionSummary objects.

                                                                                    */ actions?: DatasetActionSummary[]; } @@ -2478,15 +2642,15 @@ export namespace DatasetSummary { export interface ListDatasetsResponse { /** - *

                                                                                    The token to retrieve the next set of results, or null if there are no - * more results.

                                                                                    + *

                                                                                    A list of DatasetSummary objects.

                                                                                    */ - nextToken?: string; + datasetSummaries?: DatasetSummary[]; /** - *

                                                                                    A list of "DatasetSummary" objects.

                                                                                    + *

                                                                                    The token to retrieve the next set of results, or null if there are no + * more results.

                                                                                    */ - datasetSummaries?: DatasetSummary[]; + nextToken?: string; } export namespace ListDatasetsResponse { @@ -2519,21 +2683,22 @@ export namespace ListDatastoresRequest { */ export interface CustomerManagedDatastoreS3StorageSummary { /** - *

                                                                                    The name of the Amazon S3 bucket in which data store data is stored.

                                                                                    + *

                                                                                    The name of the S3 bucket in which data store data is stored.

                                                                                    */ bucket?: string; /** - *

                                                                                    The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.

                                                                                    + *

                                                                                    Optional. The prefix used to create the keys of the data store data objects. Each object + * in an S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket + * has exactly one key. The prefix must end with a forward slash (/).

                                                                                    */ - roleArn?: string; + keyPrefix?: string; /** - *

                                                                                    [Optional] The prefix used to create the keys of the data store data objects. Each object in - * an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in a - * bucket has exactly one key). The prefix must end with a '/'.

                                                                                    + *

                                                                                    The ARN of the role that grants AWS IoT Analytics permission to interact with your + * Amazon S3 resources.

                                                                                    */ - keyPrefix?: string; + roleArn?: string; } export namespace CustomerManagedDatastoreS3StorageSummary { @@ -2543,7 +2708,7 @@ export namespace CustomerManagedDatastoreS3StorageSummary { } /** - *

                                                                                    Used to store data store data in an S3 bucket managed by the AWS IoT Analytics service.

                                                                                    + *

                                                                                    Used to store data store data in an S3 bucket managed by AWS IoT Analytics.

                                                                                    */ export interface ServiceManagedDatastoreS3StorageSummary {} @@ -2558,7 +2723,7 @@ export namespace ServiceManagedDatastoreS3StorageSummary { */ export interface DatastoreStorageSummary { /** - *

                                                                                    Used to store data store data in an S3 bucket managed by the AWS IoT Analytics service.

                                                                                    + *

                                                                                    Used to store data store data in an S3 bucket managed by AWS IoT Analytics.

                                                                                    */ serviceManagedS3?: ServiceManagedDatastoreS3StorageSummary; @@ -2579,9 +2744,14 @@ export namespace DatastoreStorageSummary { */ export interface DatastoreSummary { /** - *

                                                                                    When the data store was created.

                                                                                    + *

                                                                                    The name of the data store.

                                                                                    */ - creationTime?: Date; + datastoreName?: string; + + /** + *

                                                                                    Where data store data is stored.

                                                                                    + */ + datastoreStorage?: DatastoreStorageSummary; /** *

                                                                                    The status of the data store.

                                                                                    @@ -2589,9 +2759,9 @@ export interface DatastoreSummary { status?: DatastoreStatus | string; /** - *

                                                                                    Where data store data is stored.

                                                                                    + *

                                                                                    When the data store was created.

                                                                                    */ - datastoreStorage?: DatastoreStorageSummary; + creationTime?: Date; /** *

                                                                                    The last time the data store was updated.

                                                                                    @@ -2599,9 +2769,12 @@ export interface DatastoreSummary { lastUpdateTime?: Date; /** - *

                                                                                    The name of the data store.

                                                                                    + *

                                                                                    The last time when a new message arrived in the data store.

                                                                                    + *

                                                                                    AWS IoT Analytics updates this value at most once per minute for one data store. + * Hence, the lastMessageArrivalTime value is an approximation.

                                                                                    + *

                                                                                    This feature only applies to messages that arrived in the data store after October 23, 2020.

                                                                                    */ - datastoreName?: string; + lastMessageArrivalTime?: Date; } export namespace DatastoreSummary { @@ -2612,7 +2785,7 @@ export namespace DatastoreSummary { export interface ListDatastoresResponse { /** - *

                                                                                    A list of "DatastoreSummary" objects.

                                                                                    + *

                                                                                    A list of DatastoreSummary objects.

                                                                                    */ datastoreSummaries?: DatastoreSummary[]; @@ -2653,24 +2826,24 @@ export namespace ListPipelinesRequest { */ export interface PipelineSummary { /** - *

                                                                                    When the pipeline was last updated.

                                                                                    + *

                                                                                    The name of the pipeline.

                                                                                    */ - lastUpdateTime?: Date; + pipelineName?: string; /** - *

                                                                                    When the pipeline was created.

                                                                                    + *

                                                                                    A summary of information about the pipeline reprocessing.

                                                                                    */ - creationTime?: Date; + reprocessingSummaries?: ReprocessingSummary[]; /** - *

                                                                                    A summary of information about the pipeline reprocessing.

                                                                                    + *

                                                                                    When the pipeline was created.

                                                                                    */ - reprocessingSummaries?: ReprocessingSummary[]; + creationTime?: Date; /** - *

                                                                                    The name of the pipeline.

                                                                                    + *

                                                                                    When the pipeline was last updated.

                                                                                    */ - pipelineName?: string; + lastUpdateTime?: Date; } export namespace PipelineSummary { @@ -2681,7 +2854,7 @@ export namespace PipelineSummary { export interface ListPipelinesResponse { /** - *

                                                                                    A list of "PipelineSummary" objects.

                                                                                    + *

                                                                                    A list of PipelineSummary objects.

                                                                                    */ pipelineSummaries?: PipelineSummary[]; @@ -2713,7 +2886,7 @@ export namespace ListTagsForResourceRequest { export interface ListTagsForResourceResponse { /** - *

                                                                                    The tags (metadata) which you have assigned to the resource.

                                                                                    + *

                                                                                    The tags (metadata) that you have assigned to the resource.

                                                                                    */ tags?: Tag[]; } @@ -2739,11 +2912,11 @@ export namespace PutLoggingOptionsRequest { export interface RunPipelineActivityRequest { /** - *

                                                                                    The pipeline activity that is run. This must not be a 'channel' activity or a - * 'datastore' activity because these activities are used in a pipeline only to load the - * original message and to store the (possibly) transformed message. If a 'lambda' activity is - * specified, only short-running Lambda functions (those with a timeout of less than 30 seconds - * or less) can be used.

                                                                                    + *

                                                                                    The pipeline activity that is run. This must not be a channel activity or a datastore + * activity because these activities are used in a pipeline only to load the original message and + * to store the (possibly) transformed message. If a lambda activity is specified, only + * short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be + * used.

                                                                                    */ pipelineActivity: PipelineActivity | undefined; @@ -2786,15 +2959,15 @@ export interface SampleChannelDataRequest { channelName: string | undefined; /** - *

                                                                                    The start of the time window from which sample messages are retrieved.

                                                                                    + *

                                                                                    The number of sample messages to be retrieved. The limit is 10. The default is also + * 10.

                                                                                    */ - startTime?: Date; + maxMessages?: number; /** - *

                                                                                    The number of sample messages to be retrieved. The limit is 10, the default - * is also 10.

                                                                                    + *

                                                                                    The start of the time window from which sample messages are retrieved.

                                                                                    */ - maxMessages?: number; + startTime?: Date; /** *

                                                                                    The end of the time window from which sample messages are retrieved.

                                                                                    @@ -2824,14 +2997,14 @@ export namespace SampleChannelDataResponse { export interface StartPipelineReprocessingRequest { /** - *

                                                                                    The start time (inclusive) of raw message data that is reprocessed.

                                                                                    + *

                                                                                    The name of the pipeline on which to start reprocessing.

                                                                                    */ - startTime?: Date; + pipelineName: string | undefined; /** - *

                                                                                    The name of the pipeline on which to start reprocessing.

                                                                                    + *

                                                                                    The start time (inclusive) of raw message data that is reprocessed.

                                                                                    */ - pipelineName: string | undefined; + startTime?: Date; /** *

                                                                                    The end time (exclusive) of raw message data that is reprocessed.

                                                                                    @@ -2886,14 +3059,14 @@ export namespace TagResourceResponse { export interface UntagResourceRequest { /** - *

                                                                                    The keys of those tags which you want to remove.

                                                                                    + *

                                                                                    The ARN of the resource whose tags you want to remove.

                                                                                    */ - tagKeys: string[] | undefined; + resourceArn: string | undefined; /** - *

                                                                                    The ARN of the resource whose tags you want to remove.

                                                                                    + *

                                                                                    The keys of those tags which you want to remove.

                                                                                    */ - resourceArn: string | undefined; + tagKeys: string[] | undefined; } export namespace UntagResourceRequest { @@ -2912,9 +3085,15 @@ export namespace UntagResourceResponse { export interface UpdateChannelRequest { /** - *

                                                                                    Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" - * storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation - * of the channel.

                                                                                    + *

                                                                                    The name of the channel to be updated.

                                                                                    + */ + channelName: string | undefined; + + /** + *

                                                                                    Where channel data is stored. You can choose one of serviceManagedS3 or + * customerManagedS3 storage. If not specified, the default is + * serviceManagedS3. You cannot change this storage option after the channel is + * created.

                                                                                    */ channelStorage?: ChannelStorage; @@ -2923,11 +3102,6 @@ export interface UpdateChannelRequest { * if the channel's S3 storage is customer-managed.

                                                                                    */ retentionPeriod?: RetentionPeriod; - - /** - *

                                                                                    The name of the channel to be updated.

                                                                                    - */ - channelName: string | undefined; } export namespace UpdateChannelRequest { @@ -2943,33 +3117,43 @@ export interface UpdateDatasetRequest { datasetName: string | undefined; /** - *

                                                                                    A list of "DatasetAction" objects.

                                                                                    + *

                                                                                    A list of DatasetAction objects.

                                                                                    */ actions: DatasetAction[] | undefined; /** - *

                                                                                    [Optional] How many versions of data set contents are kept. If not specified or set to null, only the - * latest version plus the latest succeeded version (if they are different) are kept for - * the time period specified by the "retentionPeriod" parameter. (For more information, see - * https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)

                                                                                    + *

                                                                                    A list of DatasetTrigger objects. The list can be empty or can contain up + * to five DatasetTrigger objects.

                                                                                    */ - versioningConfiguration?: VersioningConfiguration; + triggers?: DatasetTrigger[]; /** - *

                                                                                    When data set contents are created they are delivered to destinations specified here.

                                                                                    + *

                                                                                    When dataset contents are created, they are delivered to destinations specified + * here.

                                                                                    */ contentDeliveryRules?: DatasetContentDeliveryRule[]; /** - *

                                                                                    How long, in days, data set contents are kept for the data set.

                                                                                    + *

                                                                                    How long, in days, dataset contents are kept for the dataset.

                                                                                    */ retentionPeriod?: RetentionPeriod; /** - *

                                                                                    A list of "DatasetTrigger" objects. The list can be empty or can contain up - * to five DataSetTrigger objects.

                                                                                    + *

                                                                                    Optional. How many versions of dataset contents are kept. If not specified or set to + * null, only the latest version plus the latest succeeded version (if they are different) are + * kept for the time period specified by the retentionPeriod parameter. For more + * information, see + * Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT + * Analytics User Guide.

                                                                                    */ - triggers?: DatasetTrigger[]; + versioningConfiguration?: VersioningConfiguration; + + /** + *

                                                                                    A list of data rules that send notifications to Amazon CloudWatch, when data arrives late. To + * specify lateDataRules, the dataset must use a DeltaTimer + * filter.

                                                                                    + */ + lateDataRules?: LateDataRule[]; } export namespace UpdateDatasetRequest { @@ -2984,18 +3168,19 @@ export interface UpdateDatastoreRequest { */ datastoreName: string | undefined; - /** - *

                                                                                    Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" - * storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data - * store is created.

                                                                                    - */ - datastoreStorage?: DatastoreStorage; - /** *

                                                                                    How long, in days, message data is kept for the data store. The retention period cannot be updated * if the data store's S3 storage is customer-managed.

                                                                                    */ retentionPeriod?: RetentionPeriod; + + /** + *

                                                                                    Where data store data is stored. You can choose one of serviceManagedS3 or + * customerManagedS3 storage. If not specified, the default + * isserviceManagedS3. You cannot change this storage option after the data store + * is created.

                                                                                    + */ + datastoreStorage?: DatastoreStorage; } export namespace UpdateDatastoreRequest { @@ -3006,13 +3191,18 @@ export namespace UpdateDatastoreRequest { export interface UpdatePipelineRequest { /** - *

                                                                                    A list of "PipelineActivity" objects. Activities perform transformations on your messages, - * such as removing, renaming or adding message attributes; filtering messages based on attribute - * values; invoking your Lambda functions on messages for advanced processing; or performing - * mathematical transformations to normalize device data.

                                                                                    - *

                                                                                    The list can be 2-25 PipelineActivity objects and must - * contain both a channel and a datastore activity. Each entry in the - * list must contain only one activity, for example:

                                                                                    + *

                                                                                    The name of the pipeline to update.

                                                                                    + */ + pipelineName: string | undefined; + + /** + *

                                                                                    A list of PipelineActivity objects. Activities perform transformations on + * your messages, such as removing, renaming or adding message attributes; filtering messages + * based on attribute values; invoking your Lambda functions on messages for advanced processing; + * or performing mathematical transformations to normalize device data.

                                                                                    + *

                                                                                    The list can be 2-25 PipelineActivity objects and must contain both a + * channel and a datastore activity. Each entry in the list must + * contain only one activity. For example:

                                                                                    *

                                                                                    * pipelineActivities = [ * { @@ -3026,11 +3216,6 @@ export interface UpdatePipelineRequest { *

                                                                                    */ pipelineActivities: PipelineActivity[] | undefined; - - /** - *

                                                                                    The name of the pipeline to update.

                                                                                    - */ - pipelineName: string | undefined; } export namespace UpdatePipelineRequest { diff --git a/clients/client-iotanalytics/pagination/ListChannelsPaginator.ts b/clients/client-iotanalytics/pagination/ListChannelsPaginator.ts index 6be58a9daf66..b351b20597b7 100644 --- a/clients/client-iotanalytics/pagination/ListChannelsPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChannelsCommand(input), ...args); + return await client.send(new ListChannelsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotanalytics/pagination/ListDatasetContentsPaginator.ts b/clients/client-iotanalytics/pagination/ListDatasetContentsPaginator.ts index 959b41935e9b..e2cbb5163bd7 100644 --- a/clients/client-iotanalytics/pagination/ListDatasetContentsPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListDatasetContentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetContentsCommand(input), ...args); + return await client.send(new ListDatasetContentsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotanalytics/pagination/ListDatasetsPaginator.ts b/clients/client-iotanalytics/pagination/ListDatasetsPaginator.ts index 5ab05e56df35..71a79109b936 100644 --- a/clients/client-iotanalytics/pagination/ListDatasetsPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListDatasetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetsCommand(input), ...args); + return await client.send(new ListDatasetsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotanalytics/pagination/ListDatastoresPaginator.ts b/clients/client-iotanalytics/pagination/ListDatastoresPaginator.ts index 6096718d7592..d1b41738116b 100644 --- a/clients/client-iotanalytics/pagination/ListDatastoresPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListDatastoresPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatastoresCommand(input), ...args); + return await client.send(new ListDatastoresCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotanalytics/pagination/ListPipelinesPaginator.ts b/clients/client-iotanalytics/pagination/ListPipelinesPaginator.ts index 8e08738eacf4..079102aaac69 100644 --- a/clients/client-iotanalytics/pagination/ListPipelinesPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListPipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelinesCommand(input), ...args); + return await client.send(new ListPipelinesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotanalytics/protocols/Aws_restJson1.ts b/clients/client-iotanalytics/protocols/Aws_restJson1.ts index df17683fe875..4d6e7b4b4de0 100644 --- a/clients/client-iotanalytics/protocols/Aws_restJson1.ts +++ b/clients/client-iotanalytics/protocols/Aws_restJson1.ts @@ -88,6 +88,7 @@ import { DatastoreStorageSummary, DatastoreSummary, DeltaTime, + DeltaTimeSessionWindowConfiguration, DeviceRegistryEnrichActivity, DeviceShadowEnrichActivity, EstimatedResourceSize, @@ -97,6 +98,8 @@ import { InvalidRequestException, IotEventsDestinationConfiguration, LambdaActivity, + LateDataRule, + LateDataRuleConfiguration, LimitExceededException, LoggingOptions, MathActivity, @@ -249,6 +252,9 @@ export const serializeAws_restJson1CreateDatasetCommand = async ( contentDeliveryRules: serializeAws_restJson1DatasetContentDeliveryRules(input.contentDeliveryRules, context), }), ...(input.datasetName !== undefined && { datasetName: input.datasetName }), + ...(input.lateDataRules !== undefined && { + lateDataRules: serializeAws_restJson1LateDataRules(input.lateDataRules, context), + }), ...(input.retentionPeriod !== undefined && { retentionPeriod: serializeAws_restJson1RetentionPeriod(input.retentionPeriod, context), }), @@ -275,7 +281,7 @@ export const serializeAws_restJson1CreateDatasetContentCommand = async ( context: __SerdeContext ): Promise<__HttpRequest> => { const headers: any = { - "Content-Type": "", + "Content-Type": "application/json", }; let resolvedPath = "/datasets/{datasetName}/content"; if (input.datasetName !== undefined) { @@ -288,6 +294,9 @@ export const serializeAws_restJson1CreateDatasetContentCommand = async ( throw new Error("No value provided for input HTTP label: datasetName."); } let body: any; + body = JSON.stringify({ + ...(input.versionId !== undefined && { versionId: input.versionId }), + }); const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ protocol, @@ -741,8 +750,8 @@ export const serializeAws_restJson1ListDatasetContentsCommand = async ( throw new Error("No value provided for input HTTP label: datasetName."); } const query: any = { - ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.scheduledOnOrAfter !== undefined && { scheduledOnOrAfter: (input.scheduledOnOrAfter.toISOString().split(".")[0] + "Z").toString(), }), @@ -773,8 +782,8 @@ export const serializeAws_restJson1ListDatasetsCommand = async ( }; let resolvedPath = "/datasets"; const query: any = { - ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -938,8 +947,8 @@ export const serializeAws_restJson1SampleChannelDataCommand = async ( throw new Error("No value provided for input HTTP label: channelName."); } const query: any = { - ...(input.startTime !== undefined && { startTime: (input.startTime.toISOString().split(".")[0] + "Z").toString() }), ...(input.maxMessages !== undefined && { maxMessages: input.maxMessages.toString() }), + ...(input.startTime !== undefined && { startTime: (input.startTime.toISOString().split(".")[0] + "Z").toString() }), ...(input.endTime !== undefined && { endTime: (input.endTime.toISOString().split(".")[0] + "Z").toString() }), }; let body: any; @@ -1027,8 +1036,8 @@ export const serializeAws_restJson1UntagResourceCommand = async ( }; let resolvedPath = "/tags"; const query: any = { - ...(input.tagKeys !== undefined && { tagKeys: (input.tagKeys || []).map((_entry) => _entry) }), ...(input.resourceArn !== undefined && { resourceArn: input.resourceArn }), + ...(input.tagKeys !== undefined && { tagKeys: (input.tagKeys || []).map((_entry) => _entry) }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1105,6 +1114,9 @@ export const serializeAws_restJson1UpdateDatasetCommand = async ( ...(input.contentDeliveryRules !== undefined && { contentDeliveryRules: serializeAws_restJson1DatasetContentDeliveryRules(input.contentDeliveryRules, context), }), + ...(input.lateDataRules !== undefined && { + lateDataRules: serializeAws_restJson1LateDataRules(input.lateDataRules, context), + }), ...(input.retentionPeriod !== undefined && { retentionPeriod: serializeAws_restJson1RetentionPeriod(input.retentionPeriod, context), }), @@ -4505,6 +4517,15 @@ const serializeAws_restJson1DeltaTime = (input: DeltaTime, context: __SerdeConte }; }; +const serializeAws_restJson1DeltaTimeSessionWindowConfiguration = ( + input: DeltaTimeSessionWindowConfiguration, + context: __SerdeContext +): any => { + return { + ...(input.timeoutInMinutes !== undefined && { timeoutInMinutes: input.timeoutInMinutes }), + }; +}; + const serializeAws_restJson1DeviceRegistryEnrichActivity = ( input: DeviceRegistryEnrichActivity, context: __SerdeContext @@ -4565,6 +4586,33 @@ const serializeAws_restJson1LambdaActivity = (input: LambdaActivity, context: __ }; }; +const serializeAws_restJson1LateDataRule = (input: LateDataRule, context: __SerdeContext): any => { + return { + ...(input.ruleConfiguration !== undefined && { + ruleConfiguration: serializeAws_restJson1LateDataRuleConfiguration(input.ruleConfiguration, context), + }), + ...(input.ruleName !== undefined && { ruleName: input.ruleName }), + }; +}; + +const serializeAws_restJson1LateDataRuleConfiguration = ( + input: LateDataRuleConfiguration, + context: __SerdeContext +): any => { + return { + ...(input.deltaTimeSessionWindowConfiguration !== undefined && { + deltaTimeSessionWindowConfiguration: serializeAws_restJson1DeltaTimeSessionWindowConfiguration( + input.deltaTimeSessionWindowConfiguration, + context + ), + }), + }; +}; + +const serializeAws_restJson1LateDataRules = (input: LateDataRule[], context: __SerdeContext): any => { + return input.map((entry) => serializeAws_restJson1LateDataRule(entry, context)); +}; + const serializeAws_restJson1LoggingOptions = (input: LoggingOptions, context: __SerdeContext): any => { return { ...(input.enabled !== undefined && { enabled: input.enabled }), @@ -4826,6 +4874,10 @@ const deserializeAws_restJson1Channel = (output: any, context: __SerdeContext): output.creationTime !== undefined && output.creationTime !== null ? new Date(Math.round(output.creationTime * 1000)) : undefined, + lastMessageArrivalTime: + output.lastMessageArrivalTime !== undefined && output.lastMessageArrivalTime !== null + ? new Date(Math.round(output.lastMessageArrivalTime * 1000)) + : undefined, lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null ? new Date(Math.round(output.lastUpdateTime * 1000)) @@ -4901,6 +4953,10 @@ const deserializeAws_restJson1ChannelSummary = (output: any, context: __SerdeCon output.creationTime !== undefined && output.creationTime !== null ? new Date(Math.round(output.creationTime * 1000)) : undefined, + lastMessageArrivalTime: + output.lastMessageArrivalTime !== undefined && output.lastMessageArrivalTime !== null + ? new Date(Math.round(output.lastMessageArrivalTime * 1000)) + : undefined, lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null ? new Date(Math.round(output.lastUpdateTime * 1000)) @@ -4991,6 +5047,10 @@ const deserializeAws_restJson1Dataset = (output: any, context: __SerdeContext): output.lastUpdateTime !== undefined && output.lastUpdateTime !== null ? new Date(Math.round(output.lastUpdateTime * 1000)) : undefined, + lateDataRules: + output.lateDataRules !== undefined && output.lateDataRules !== null + ? deserializeAws_restJson1LateDataRules(output.lateDataRules, context) + : undefined, name: output.name !== undefined && output.name !== null ? output.name : undefined, retentionPeriod: output.retentionPeriod !== undefined && output.retentionPeriod !== null @@ -5183,6 +5243,10 @@ const deserializeAws_restJson1Datastore = (output: any, context: __SerdeContext) output.creationTime !== undefined && output.creationTime !== null ? new Date(Math.round(output.creationTime * 1000)) : undefined, + lastMessageArrivalTime: + output.lastMessageArrivalTime !== undefined && output.lastMessageArrivalTime !== null + ? new Date(Math.round(output.lastMessageArrivalTime * 1000)) + : undefined, lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null ? new Date(Math.round(output.lastUpdateTime * 1000)) @@ -5262,6 +5326,10 @@ const deserializeAws_restJson1DatastoreSummary = (output: any, context: __SerdeC output.datastoreStorage !== undefined && output.datastoreStorage !== null ? deserializeAws_restJson1DatastoreStorageSummary(output.datastoreStorage, context) : undefined, + lastMessageArrivalTime: + output.lastMessageArrivalTime !== undefined && output.lastMessageArrivalTime !== null + ? new Date(Math.round(output.lastMessageArrivalTime * 1000)) + : undefined, lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null ? new Date(Math.round(output.lastUpdateTime * 1000)) @@ -5279,6 +5347,16 @@ const deserializeAws_restJson1DeltaTime = (output: any, context: __SerdeContext) } as any; }; +const deserializeAws_restJson1DeltaTimeSessionWindowConfiguration = ( + output: any, + context: __SerdeContext +): DeltaTimeSessionWindowConfiguration => { + return { + timeoutInMinutes: + output.timeoutInMinutes !== undefined && output.timeoutInMinutes !== null ? output.timeoutInMinutes : undefined, + } as any; +}; + const deserializeAws_restJson1DeviceRegistryEnrichActivity = ( output: any, context: __SerdeContext @@ -5352,6 +5430,35 @@ const deserializeAws_restJson1LambdaActivity = (output: any, context: __SerdeCon } as any; }; +const deserializeAws_restJson1LateDataRule = (output: any, context: __SerdeContext): LateDataRule => { + return { + ruleConfiguration: + output.ruleConfiguration !== undefined && output.ruleConfiguration !== null + ? deserializeAws_restJson1LateDataRuleConfiguration(output.ruleConfiguration, context) + : undefined, + ruleName: output.ruleName !== undefined && output.ruleName !== null ? output.ruleName : undefined, + } as any; +}; + +const deserializeAws_restJson1LateDataRuleConfiguration = ( + output: any, + context: __SerdeContext +): LateDataRuleConfiguration => { + return { + deltaTimeSessionWindowConfiguration: + output.deltaTimeSessionWindowConfiguration !== undefined && output.deltaTimeSessionWindowConfiguration !== null + ? deserializeAws_restJson1DeltaTimeSessionWindowConfiguration( + output.deltaTimeSessionWindowConfiguration, + context + ) + : undefined, + } as any; +}; + +const deserializeAws_restJson1LateDataRules = (output: any, context: __SerdeContext): LateDataRule[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1LateDataRule(entry, context)); +}; + const deserializeAws_restJson1LoggingOptions = (output: any, context: __SerdeContext): LoggingOptions => { return { enabled: output.enabled !== undefined && output.enabled !== null ? output.enabled : undefined, diff --git a/clients/client-iotsecuretunneling/pagination/ListTunnelsPaginator.ts b/clients/client-iotsecuretunneling/pagination/ListTunnelsPaginator.ts index d4a6fd2e30b9..7a232c83ee29 100644 --- a/clients/client-iotsecuretunneling/pagination/ListTunnelsPaginator.ts +++ b/clients/client-iotsecuretunneling/pagination/ListTunnelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTunnelsCommand(input), ...args); + return await client.send(new ListTunnelsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSecureTunneling, diff --git a/clients/client-iotsitewise/pagination/GetAssetPropertyAggregatesPaginator.ts b/clients/client-iotsitewise/pagination/GetAssetPropertyAggregatesPaginator.ts index a83b87034b9f..80bc6e56abe1 100644 --- a/clients/client-iotsitewise/pagination/GetAssetPropertyAggregatesPaginator.ts +++ b/clients/client-iotsitewise/pagination/GetAssetPropertyAggregatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAssetPropertyAggregatesCommand(input), ...args); + return await client.send(new GetAssetPropertyAggregatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/GetAssetPropertyValueHistoryPaginator.ts b/clients/client-iotsitewise/pagination/GetAssetPropertyValueHistoryPaginator.ts index 7d854c9c2590..5c57cdb22df8 100644 --- a/clients/client-iotsitewise/pagination/GetAssetPropertyValueHistoryPaginator.ts +++ b/clients/client-iotsitewise/pagination/GetAssetPropertyValueHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAssetPropertyValueHistoryCommand(input), ...args); + return await client.send(new GetAssetPropertyValueHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListAccessPoliciesPaginator.ts b/clients/client-iotsitewise/pagination/ListAccessPoliciesPaginator.ts index 5e03417cd334..3403c21ab3d0 100644 --- a/clients/client-iotsitewise/pagination/ListAccessPoliciesPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListAccessPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccessPoliciesCommand(input), ...args); + return await client.send(new ListAccessPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListAssetModelsPaginator.ts b/clients/client-iotsitewise/pagination/ListAssetModelsPaginator.ts index ba2355dfdc3f..ecbf51ac11e5 100644 --- a/clients/client-iotsitewise/pagination/ListAssetModelsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListAssetModelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssetModelsCommand(input), ...args); + return await client.send(new ListAssetModelsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListAssetsPaginator.ts b/clients/client-iotsitewise/pagination/ListAssetsPaginator.ts index 7a65d31a3994..d714e94a0fff 100644 --- a/clients/client-iotsitewise/pagination/ListAssetsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListAssetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssetsCommand(input), ...args); + return await client.send(new ListAssetsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListAssociatedAssetsPaginator.ts b/clients/client-iotsitewise/pagination/ListAssociatedAssetsPaginator.ts index e909bca3fab5..b13fdea1c3d6 100644 --- a/clients/client-iotsitewise/pagination/ListAssociatedAssetsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListAssociatedAssetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociatedAssetsCommand(input), ...args); + return await client.send(new ListAssociatedAssetsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListDashboardsPaginator.ts b/clients/client-iotsitewise/pagination/ListDashboardsPaginator.ts index e7f1b426f0b2..74909ef50946 100644 --- a/clients/client-iotsitewise/pagination/ListDashboardsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListDashboardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDashboardsCommand(input), ...args); + return await client.send(new ListDashboardsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListGatewaysPaginator.ts b/clients/client-iotsitewise/pagination/ListGatewaysPaginator.ts index 8a8d9487570d..c7fcf0e577c7 100644 --- a/clients/client-iotsitewise/pagination/ListGatewaysPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewaysCommand(input), ...args); + return await client.send(new ListGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListPortalsPaginator.ts b/clients/client-iotsitewise/pagination/ListPortalsPaginator.ts index 233e86a4ad22..32febfd11c6a 100644 --- a/clients/client-iotsitewise/pagination/ListPortalsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListPortalsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPortalsCommand(input), ...args); + return await client.send(new ListPortalsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListProjectAssetsPaginator.ts b/clients/client-iotsitewise/pagination/ListProjectAssetsPaginator.ts index 4839174fde6f..ecc077d4b0c3 100644 --- a/clients/client-iotsitewise/pagination/ListProjectAssetsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListProjectAssetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectAssetsCommand(input), ...args); + return await client.send(new ListProjectAssetsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListProjectsPaginator.ts b/clients/client-iotsitewise/pagination/ListProjectsPaginator.ts index b2c0f5762514..81d6763ad983 100644 --- a/clients/client-iotsitewise/pagination/ListProjectsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input), ...args); + return await client.send(new ListProjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotthingsgraph/pagination/GetFlowTemplateRevisionsPaginator.ts b/clients/client-iotthingsgraph/pagination/GetFlowTemplateRevisionsPaginator.ts index 5856c25fe4d9..0dde1f6639d2 100644 --- a/clients/client-iotthingsgraph/pagination/GetFlowTemplateRevisionsPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/GetFlowTemplateRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetFlowTemplateRevisionsCommand(input), ...args); + return await client.send(new GetFlowTemplateRevisionsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/GetSystemTemplateRevisionsPaginator.ts b/clients/client-iotthingsgraph/pagination/GetSystemTemplateRevisionsPaginator.ts index e7e23e8c13e2..0925fbb36a3e 100644 --- a/clients/client-iotthingsgraph/pagination/GetSystemTemplateRevisionsPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/GetSystemTemplateRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSystemTemplateRevisionsCommand(input), ...args); + return await client.send(new GetSystemTemplateRevisionsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/ListFlowExecutionMessagesPaginator.ts b/clients/client-iotthingsgraph/pagination/ListFlowExecutionMessagesPaginator.ts index 19cb89fba50f..f46f6e01e315 100644 --- a/clients/client-iotthingsgraph/pagination/ListFlowExecutionMessagesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/ListFlowExecutionMessagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFlowExecutionMessagesCommand(input), ...args); + return await client.send(new ListFlowExecutionMessagesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/ListTagsForResourcePaginator.ts b/clients/client-iotthingsgraph/pagination/ListTagsForResourcePaginator.ts index 1bc10b94f1b3..ade108aa7184 100644 --- a/clients/client-iotthingsgraph/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-iotthingsgraph/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchEntitiesPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchEntitiesPaginator.ts index ec100d208638..240c64061be5 100644 --- a/clients/client-iotthingsgraph/pagination/SearchEntitiesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchEntitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchEntitiesCommand(input), ...args); + return await client.send(new SearchEntitiesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchFlowExecutionsPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchFlowExecutionsPaginator.ts index 0f75d33195dc..d3e4ee97ed22 100644 --- a/clients/client-iotthingsgraph/pagination/SearchFlowExecutionsPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchFlowExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchFlowExecutionsCommand(input), ...args); + return await client.send(new SearchFlowExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchFlowTemplatesPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchFlowTemplatesPaginator.ts index 9ba0258d65e5..9cbc92845db8 100644 --- a/clients/client-iotthingsgraph/pagination/SearchFlowTemplatesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchFlowTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchFlowTemplatesCommand(input), ...args); + return await client.send(new SearchFlowTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchSystemInstancesPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchSystemInstancesPaginator.ts index 28b1269a52ae..573e48c6c2fe 100644 --- a/clients/client-iotthingsgraph/pagination/SearchSystemInstancesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchSystemInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchSystemInstancesCommand(input), ...args); + return await client.send(new SearchSystemInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchSystemTemplatesPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchSystemTemplatesPaginator.ts index 4da6fe4bdac3..1889ae05d757 100644 --- a/clients/client-iotthingsgraph/pagination/SearchSystemTemplatesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchSystemTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchSystemTemplatesCommand(input), ...args); + return await client.send(new SearchSystemTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchThingsPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchThingsPaginator.ts index 0fd58c43140b..3b0d3085e49b 100644 --- a/clients/client-iotthingsgraph/pagination/SearchThingsPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchThingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchThingsCommand(input), ...args); + return await client.send(new SearchThingsCommand(input, ...args)); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-ivs/pagination/ListChannelsPaginator.ts b/clients/client-ivs/pagination/ListChannelsPaginator.ts index 64759c6b2372..3923a417917a 100644 --- a/clients/client-ivs/pagination/ListChannelsPaginator.ts +++ b/clients/client-ivs/pagination/ListChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChannelsCommand(input), ...args); + return await client.send(new ListChannelsCommand(input, ...args)); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-ivs/pagination/ListPlaybackKeyPairsPaginator.ts b/clients/client-ivs/pagination/ListPlaybackKeyPairsPaginator.ts index 891b12a17359..b5ce03de3be1 100644 --- a/clients/client-ivs/pagination/ListPlaybackKeyPairsPaginator.ts +++ b/clients/client-ivs/pagination/ListPlaybackKeyPairsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlaybackKeyPairsCommand(input), ...args); + return await client.send(new ListPlaybackKeyPairsCommand(input, ...args)); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-ivs/pagination/ListStreamKeysPaginator.ts b/clients/client-ivs/pagination/ListStreamKeysPaginator.ts index f6d247f68315..be1a0742c237 100644 --- a/clients/client-ivs/pagination/ListStreamKeysPaginator.ts +++ b/clients/client-ivs/pagination/ListStreamKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamKeysCommand(input), ...args); + return await client.send(new ListStreamKeysCommand(input, ...args)); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-ivs/pagination/ListStreamsPaginator.ts b/clients/client-ivs/pagination/ListStreamsPaginator.ts index 3713d9484345..02faa5545fbe 100644 --- a/clients/client-ivs/pagination/ListStreamsPaginator.ts +++ b/clients/client-ivs/pagination/ListStreamsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamsCommand(input), ...args); + return await client.send(new ListStreamsCommand(input, ...args)); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-ivs/pagination/ListTagsForResourcePaginator.ts b/clients/client-ivs/pagination/ListTagsForResourcePaginator.ts index f3c81e07afc5..24cd9129a80a 100644 --- a/clients/client-ivs/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-ivs/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-kafka/pagination/ListClusterOperationsPaginator.ts b/clients/client-kafka/pagination/ListClusterOperationsPaginator.ts index e25381b5d7d8..01f1b04fbc6e 100644 --- a/clients/client-kafka/pagination/ListClusterOperationsPaginator.ts +++ b/clients/client-kafka/pagination/ListClusterOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClusterOperationsCommand(input), ...args); + return await client.send(new ListClusterOperationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListClustersPaginator.ts b/clients/client-kafka/pagination/ListClustersPaginator.ts index 540734d37b8e..b42d0c1bdf72 100644 --- a/clients/client-kafka/pagination/ListClustersPaginator.ts +++ b/clients/client-kafka/pagination/ListClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClustersCommand(input), ...args); + return await client.send(new ListClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListConfigurationRevisionsPaginator.ts b/clients/client-kafka/pagination/ListConfigurationRevisionsPaginator.ts index 2ae2e4446693..7891470cb757 100644 --- a/clients/client-kafka/pagination/ListConfigurationRevisionsPaginator.ts +++ b/clients/client-kafka/pagination/ListConfigurationRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationRevisionsCommand(input), ...args); + return await client.send(new ListConfigurationRevisionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListConfigurationsPaginator.ts b/clients/client-kafka/pagination/ListConfigurationsPaginator.ts index 925daf54a3af..7a9043ef138e 100644 --- a/clients/client-kafka/pagination/ListConfigurationsPaginator.ts +++ b/clients/client-kafka/pagination/ListConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationsCommand(input), ...args); + return await client.send(new ListConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListKafkaVersionsPaginator.ts b/clients/client-kafka/pagination/ListKafkaVersionsPaginator.ts index 2c59a2a60711..214a0ec837e8 100644 --- a/clients/client-kafka/pagination/ListKafkaVersionsPaginator.ts +++ b/clients/client-kafka/pagination/ListKafkaVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListKafkaVersionsCommand(input), ...args); + return await client.send(new ListKafkaVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListNodesPaginator.ts b/clients/client-kafka/pagination/ListNodesPaginator.ts index ee45276bd695..b527d8b462fa 100644 --- a/clients/client-kafka/pagination/ListNodesPaginator.ts +++ b/clients/client-kafka/pagination/ListNodesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNodesCommand(input), ...args); + return await client.send(new ListNodesCommand(input, ...args)); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListScramSecretsPaginator.ts b/clients/client-kafka/pagination/ListScramSecretsPaginator.ts index ad6ca80320f2..284570f6ad15 100644 --- a/clients/client-kafka/pagination/ListScramSecretsPaginator.ts +++ b/clients/client-kafka/pagination/ListScramSecretsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListScramSecretsCommand(input), ...args); + return await client.send(new ListScramSecretsCommand(input, ...args)); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kendra/pagination/ListDataSourceSyncJobsPaginator.ts b/clients/client-kendra/pagination/ListDataSourceSyncJobsPaginator.ts index 7ac33df9416a..00e370a6d4f4 100644 --- a/clients/client-kendra/pagination/ListDataSourceSyncJobsPaginator.ts +++ b/clients/client-kendra/pagination/ListDataSourceSyncJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSourceSyncJobsCommand(input), ...args); + return await client.send(new ListDataSourceSyncJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Kendra, diff --git a/clients/client-kendra/pagination/ListDataSourcesPaginator.ts b/clients/client-kendra/pagination/ListDataSourcesPaginator.ts index 5cbe6b47ff5e..f800990072a2 100644 --- a/clients/client-kendra/pagination/ListDataSourcesPaginator.ts +++ b/clients/client-kendra/pagination/ListDataSourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSourcesCommand(input), ...args); + return await client.send(new ListDataSourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: Kendra, diff --git a/clients/client-kendra/pagination/ListIndicesPaginator.ts b/clients/client-kendra/pagination/ListIndicesPaginator.ts index fc293450a68f..2ec4e24ade03 100644 --- a/clients/client-kendra/pagination/ListIndicesPaginator.ts +++ b/clients/client-kendra/pagination/ListIndicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIndicesCommand(input), ...args); + return await client.send(new ListIndicesCommand(input, ...args)); }; const makePagedRequest = async ( client: Kendra, diff --git a/clients/client-kinesis-video/pagination/ListSignalingChannelsPaginator.ts b/clients/client-kinesis-video/pagination/ListSignalingChannelsPaginator.ts index 5416edba434b..7ad14ae295c1 100644 --- a/clients/client-kinesis-video/pagination/ListSignalingChannelsPaginator.ts +++ b/clients/client-kinesis-video/pagination/ListSignalingChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSignalingChannelsCommand(input), ...args); + return await client.send(new ListSignalingChannelsCommand(input, ...args)); }; const makePagedRequest = async ( client: KinesisVideo, diff --git a/clients/client-kinesis-video/pagination/ListStreamsPaginator.ts b/clients/client-kinesis-video/pagination/ListStreamsPaginator.ts index cd8c50c2b2e9..9b6a3d7aad64 100644 --- a/clients/client-kinesis-video/pagination/ListStreamsPaginator.ts +++ b/clients/client-kinesis-video/pagination/ListStreamsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamsCommand(input), ...args); + return await client.send(new ListStreamsCommand(input, ...args)); }; const makePagedRequest = async ( client: KinesisVideo, diff --git a/clients/client-kinesis/pagination/ListStreamConsumersPaginator.ts b/clients/client-kinesis/pagination/ListStreamConsumersPaginator.ts index 855bd80c09ec..e06348b83b12 100644 --- a/clients/client-kinesis/pagination/ListStreamConsumersPaginator.ts +++ b/clients/client-kinesis/pagination/ListStreamConsumersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamConsumersCommand(input), ...args); + return await client.send(new ListStreamConsumersCommand(input, ...args)); }; const makePagedRequest = async ( client: Kinesis, diff --git a/clients/client-kms/pagination/ListAliasesPaginator.ts b/clients/client-kms/pagination/ListAliasesPaginator.ts index 2b9153b4abe3..90d254b2a4cb 100644 --- a/clients/client-kms/pagination/ListAliasesPaginator.ts +++ b/clients/client-kms/pagination/ListAliasesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAliasesCommand(input), ...args); + return await client.send(new ListAliasesCommand(input, ...args)); }; const makePagedRequest = async ( client: KMS, diff --git a/clients/client-kms/pagination/ListGrantsPaginator.ts b/clients/client-kms/pagination/ListGrantsPaginator.ts index fdbe496da693..31deb36d1c5f 100644 --- a/clients/client-kms/pagination/ListGrantsPaginator.ts +++ b/clients/client-kms/pagination/ListGrantsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGrantsCommand(input), ...args); + return await client.send(new ListGrantsCommand(input, ...args)); }; const makePagedRequest = async ( client: KMS, diff --git a/clients/client-kms/pagination/ListKeyPoliciesPaginator.ts b/clients/client-kms/pagination/ListKeyPoliciesPaginator.ts index 69931d7a4022..97351ba21ce0 100644 --- a/clients/client-kms/pagination/ListKeyPoliciesPaginator.ts +++ b/clients/client-kms/pagination/ListKeyPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListKeyPoliciesCommand(input), ...args); + return await client.send(new ListKeyPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: KMS, diff --git a/clients/client-kms/pagination/ListKeysPaginator.ts b/clients/client-kms/pagination/ListKeysPaginator.ts index 3806797f92bf..8f3970c25c29 100644 --- a/clients/client-kms/pagination/ListKeysPaginator.ts +++ b/clients/client-kms/pagination/ListKeysPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListKeysCommand(input), ...args); + return await client.send(new ListKeysCommand(input, ...args)); }; const makePagedRequest = async ( client: KMS, diff --git a/clients/client-lakeformation/pagination/GetEffectivePermissionsForPathPaginator.ts b/clients/client-lakeformation/pagination/GetEffectivePermissionsForPathPaginator.ts index 0591360e405f..3930e2c476c4 100644 --- a/clients/client-lakeformation/pagination/GetEffectivePermissionsForPathPaginator.ts +++ b/clients/client-lakeformation/pagination/GetEffectivePermissionsForPathPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetEffectivePermissionsForPathCommand(input), ...args); + return await client.send(new GetEffectivePermissionsForPathCommand(input, ...args)); }; const makePagedRequest = async ( client: LakeFormation, diff --git a/clients/client-lakeformation/pagination/ListPermissionsPaginator.ts b/clients/client-lakeformation/pagination/ListPermissionsPaginator.ts index dbecd068d55e..27f70262b944 100644 --- a/clients/client-lakeformation/pagination/ListPermissionsPaginator.ts +++ b/clients/client-lakeformation/pagination/ListPermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionsCommand(input), ...args); + return await client.send(new ListPermissionsCommand(input, ...args)); }; const makePagedRequest = async ( client: LakeFormation, diff --git a/clients/client-lakeformation/pagination/ListResourcesPaginator.ts b/clients/client-lakeformation/pagination/ListResourcesPaginator.ts index 6ef7921bb2ba..907e11239dbc 100644 --- a/clients/client-lakeformation/pagination/ListResourcesPaginator.ts +++ b/clients/client-lakeformation/pagination/ListResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourcesCommand(input), ...args); + return await client.send(new ListResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: LakeFormation, diff --git a/clients/client-lambda/pagination/ListAliasesPaginator.ts b/clients/client-lambda/pagination/ListAliasesPaginator.ts index 0ee838372d9c..0ad7d20ac4e4 100644 --- a/clients/client-lambda/pagination/ListAliasesPaginator.ts +++ b/clients/client-lambda/pagination/ListAliasesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAliasesCommand(input), ...args); + return await client.send(new ListAliasesCommand(input, ...args)); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListEventSourceMappingsPaginator.ts b/clients/client-lambda/pagination/ListEventSourceMappingsPaginator.ts index 5294b86315bc..49a0c1bd22e9 100644 --- a/clients/client-lambda/pagination/ListEventSourceMappingsPaginator.ts +++ b/clients/client-lambda/pagination/ListEventSourceMappingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEventSourceMappingsCommand(input), ...args); + return await client.send(new ListEventSourceMappingsCommand(input, ...args)); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListFunctionEventInvokeConfigsPaginator.ts b/clients/client-lambda/pagination/ListFunctionEventInvokeConfigsPaginator.ts index db487127a322..6ce34bb997d4 100644 --- a/clients/client-lambda/pagination/ListFunctionEventInvokeConfigsPaginator.ts +++ b/clients/client-lambda/pagination/ListFunctionEventInvokeConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFunctionEventInvokeConfigsCommand(input), ...args); + return await client.send(new ListFunctionEventInvokeConfigsCommand(input, ...args)); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListFunctionsPaginator.ts b/clients/client-lambda/pagination/ListFunctionsPaginator.ts index a11a7c865d91..b21f90d127ed 100644 --- a/clients/client-lambda/pagination/ListFunctionsPaginator.ts +++ b/clients/client-lambda/pagination/ListFunctionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFunctionsCommand(input), ...args); + return await client.send(new ListFunctionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListLayerVersionsPaginator.ts b/clients/client-lambda/pagination/ListLayerVersionsPaginator.ts index a6c0b1779396..405a0ea10d77 100644 --- a/clients/client-lambda/pagination/ListLayerVersionsPaginator.ts +++ b/clients/client-lambda/pagination/ListLayerVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLayerVersionsCommand(input), ...args); + return await client.send(new ListLayerVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListLayersPaginator.ts b/clients/client-lambda/pagination/ListLayersPaginator.ts index e845a72a8741..25a9cf99118d 100644 --- a/clients/client-lambda/pagination/ListLayersPaginator.ts +++ b/clients/client-lambda/pagination/ListLayersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLayersCommand(input), ...args); + return await client.send(new ListLayersCommand(input, ...args)); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListProvisionedConcurrencyConfigsPaginator.ts b/clients/client-lambda/pagination/ListProvisionedConcurrencyConfigsPaginator.ts index 23bfb9f6b654..c770dc611837 100644 --- a/clients/client-lambda/pagination/ListProvisionedConcurrencyConfigsPaginator.ts +++ b/clients/client-lambda/pagination/ListProvisionedConcurrencyConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProvisionedConcurrencyConfigsCommand(input), ...args); + return await client.send(new ListProvisionedConcurrencyConfigsCommand(input, ...args)); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListVersionsByFunctionPaginator.ts b/clients/client-lambda/pagination/ListVersionsByFunctionPaginator.ts index fc8f14b43b25..d2a45864f49c 100644 --- a/clients/client-lambda/pagination/ListVersionsByFunctionPaginator.ts +++ b/clients/client-lambda/pagination/ListVersionsByFunctionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVersionsByFunctionCommand(input), ...args); + return await client.send(new ListVersionsByFunctionCommand(input, ...args)); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lex-model-building-service/pagination/GetBotAliasesPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBotAliasesPaginator.ts index eb64d21f70b1..49d456ec46d9 100644 --- a/clients/client-lex-model-building-service/pagination/GetBotAliasesPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBotAliasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBotAliasesCommand(input), ...args); + return await client.send(new GetBotAliasesCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBotChannelAssociationsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBotChannelAssociationsPaginator.ts index 595a9b5d9389..b181785cb5f3 100644 --- a/clients/client-lex-model-building-service/pagination/GetBotChannelAssociationsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBotChannelAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBotChannelAssociationsCommand(input), ...args); + return await client.send(new GetBotChannelAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBotVersionsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBotVersionsPaginator.ts index 2fb8b7c7f4e5..9db6caed331b 100644 --- a/clients/client-lex-model-building-service/pagination/GetBotVersionsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBotVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBotVersionsCommand(input), ...args); + return await client.send(new GetBotVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBotsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBotsPaginator.ts index dd58550a67ef..6dfd005c271a 100644 --- a/clients/client-lex-model-building-service/pagination/GetBotsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBotsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBotsCommand(input), ...args); + return await client.send(new GetBotsCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBuiltinIntentsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBuiltinIntentsPaginator.ts index b73fb97c2ec6..da161753ce73 100644 --- a/clients/client-lex-model-building-service/pagination/GetBuiltinIntentsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBuiltinIntentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBuiltinIntentsCommand(input), ...args); + return await client.send(new GetBuiltinIntentsCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBuiltinSlotTypesPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBuiltinSlotTypesPaginator.ts index 15d8113f79d9..3aa795fcfd82 100644 --- a/clients/client-lex-model-building-service/pagination/GetBuiltinSlotTypesPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBuiltinSlotTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBuiltinSlotTypesCommand(input), ...args); + return await client.send(new GetBuiltinSlotTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetIntentVersionsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetIntentVersionsPaginator.ts index ebb2aa1b915d..f0e79da7d1ae 100644 --- a/clients/client-lex-model-building-service/pagination/GetIntentVersionsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetIntentVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetIntentVersionsCommand(input), ...args); + return await client.send(new GetIntentVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetIntentsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetIntentsPaginator.ts index 458b406deaab..30c8284864d0 100644 --- a/clients/client-lex-model-building-service/pagination/GetIntentsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetIntentsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetIntentsCommand(input), ...args); + return await client.send(new GetIntentsCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetSlotTypeVersionsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetSlotTypeVersionsPaginator.ts index 0aff29813ab8..38bacccb3484 100644 --- a/clients/client-lex-model-building-service/pagination/GetSlotTypeVersionsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetSlotTypeVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSlotTypeVersionsCommand(input), ...args); + return await client.send(new GetSlotTypeVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetSlotTypesPaginator.ts b/clients/client-lex-model-building-service/pagination/GetSlotTypesPaginator.ts index cb086b2c8bc4..599823a16d4c 100644 --- a/clients/client-lex-model-building-service/pagination/GetSlotTypesPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetSlotTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSlotTypesCommand(input), ...args); + return await client.send(new GetSlotTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-machine-learning/pagination/DescribeBatchPredictionsPaginator.ts b/clients/client-machine-learning/pagination/DescribeBatchPredictionsPaginator.ts index 88d206edc8ae..8011bf18a1dd 100644 --- a/clients/client-machine-learning/pagination/DescribeBatchPredictionsPaginator.ts +++ b/clients/client-machine-learning/pagination/DescribeBatchPredictionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBatchPredictionsCommand(input), ...args); + return await client.send(new DescribeBatchPredictionsCommand(input, ...args)); }; const makePagedRequest = async ( client: MachineLearning, diff --git a/clients/client-machine-learning/pagination/DescribeDataSourcesPaginator.ts b/clients/client-machine-learning/pagination/DescribeDataSourcesPaginator.ts index f5bc1c32e419..d59e02285c1a 100644 --- a/clients/client-machine-learning/pagination/DescribeDataSourcesPaginator.ts +++ b/clients/client-machine-learning/pagination/DescribeDataSourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDataSourcesCommand(input), ...args); + return await client.send(new DescribeDataSourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: MachineLearning, diff --git a/clients/client-machine-learning/pagination/DescribeEvaluationsPaginator.ts b/clients/client-machine-learning/pagination/DescribeEvaluationsPaginator.ts index 956837cce0bc..1b673082f9c0 100644 --- a/clients/client-machine-learning/pagination/DescribeEvaluationsPaginator.ts +++ b/clients/client-machine-learning/pagination/DescribeEvaluationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEvaluationsCommand(input), ...args); + return await client.send(new DescribeEvaluationsCommand(input, ...args)); }; const makePagedRequest = async ( client: MachineLearning, diff --git a/clients/client-machine-learning/pagination/DescribeMLModelsPaginator.ts b/clients/client-machine-learning/pagination/DescribeMLModelsPaginator.ts index a2dcad89fefd..069a17c04a8d 100644 --- a/clients/client-machine-learning/pagination/DescribeMLModelsPaginator.ts +++ b/clients/client-machine-learning/pagination/DescribeMLModelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMLModelsCommand(input), ...args); + return await client.send(new DescribeMLModelsCommand(input, ...args)); }; const makePagedRequest = async ( client: MachineLearning, diff --git a/clients/client-macie/pagination/ListMemberAccountsPaginator.ts b/clients/client-macie/pagination/ListMemberAccountsPaginator.ts index fb108e60d665..5c920fec69ee 100644 --- a/clients/client-macie/pagination/ListMemberAccountsPaginator.ts +++ b/clients/client-macie/pagination/ListMemberAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMemberAccountsCommand(input), ...args); + return await client.send(new ListMemberAccountsCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie, diff --git a/clients/client-macie/pagination/ListS3ResourcesPaginator.ts b/clients/client-macie/pagination/ListS3ResourcesPaginator.ts index 2da27a433826..240144005ab8 100644 --- a/clients/client-macie/pagination/ListS3ResourcesPaginator.ts +++ b/clients/client-macie/pagination/ListS3ResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListS3ResourcesCommand(input), ...args); + return await client.send(new ListS3ResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie, diff --git a/clients/client-macie2/models/models_0.ts b/clients/client-macie2/models/models_0.ts index be3429f527f2..4de56f55eec9 100644 --- a/clients/client-macie2/models/models_0.ts +++ b/clients/client-macie2/models/models_0.ts @@ -11,14 +11,14 @@ export enum AdminStatus { */ export interface AdminAccount { /** - *

                                                                                    The current status of the account as a delegated administrator of Amazon Macie for the organization.

                                                                                    + *

                                                                                    The AWS account ID for the account.

                                                                                    */ - status?: AdminStatus | string; + accountId?: string; /** - *

                                                                                    The AWS account ID for the account.

                                                                                    + *

                                                                                    The current status of the account as a delegated administrator of Amazon Macie for the organization.

                                                                                    */ - accountId?: string; + status?: AdminStatus | string; } export namespace AdminAccount { @@ -37,9 +37,9 @@ export interface BatchGetCustomDataIdentifierSummary { arn?: string; /** - *

                                                                                    The unique identifier for the custom data identifier.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

                                                                                    */ - id?: string; + createdAt?: Date; /** *

                                                                                    Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.

                                                                                    @@ -47,14 +47,14 @@ export interface BatchGetCustomDataIdentifierSummary { deleted?: boolean; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

                                                                                    + *

                                                                                    The custom description of the custom data identifier.

                                                                                    */ - createdAt?: Date; + description?: string; /** - *

                                                                                    The custom description of the custom data identifier.

                                                                                    + *

                                                                                    The unique identifier for the custom data identifier.

                                                                                    */ - description?: string; + id?: string; /** *

                                                                                    The custom name of the custom data identifier.

                                                                                    @@ -73,24 +73,24 @@ export namespace BatchGetCustomDataIdentifierSummary { */ export interface ObjectCountByEncryptionType { /** - *

                                                                                    The total number of objects that aren't encrypted or use client-side encryption.

                                                                                    + *

                                                                                    The total number of objects that are encrypted using a customer-managed key. The objects use customer-provided server-side (SSE-C) encryption.

                                                                                    */ - unencrypted?: number; + customerManaged?: number; /** - *

                                                                                    The total number of objects that are encrypted using an Amazon S3-managed key. The objects use Amazon S3-managed (SSE-S3) encryption.

                                                                                    + *

                                                                                    The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.

                                                                                    */ - s3Managed?: number; + kmsManaged?: number; /** - *

                                                                                    The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.

                                                                                    + *

                                                                                    The total number of objects that are encrypted using an Amazon S3-managed key. The objects use Amazon S3-managed (SSE-S3) encryption.

                                                                                    */ - kmsManaged?: number; + s3Managed?: number; /** - *

                                                                                    The total number of objects that are encrypted using a customer-managed key. The objects use customer-provided server-side (SSE-C) encryption.

                                                                                    + *

                                                                                    The total number of objects that aren't encrypted or use client-side encryption.

                                                                                    */ - customerManaged?: number; + unencrypted?: number; } export namespace ObjectCountByEncryptionType { @@ -110,9 +110,9 @@ export enum EffectivePermission { */ export interface BlockPublicAccess { /** - *

                                                                                    Specifies whether Amazon S3 restricts public bucket policies for the bucket.

                                                                                    + *

                                                                                    Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.

                                                                                    */ - restrictPublicBuckets?: boolean; + blockPublicAcls?: boolean; /** *

                                                                                    Specifies whether Amazon S3 blocks public bucket policies for the bucket.

                                                                                    @@ -125,9 +125,9 @@ export interface BlockPublicAccess { ignorePublicAcls?: boolean; /** - *

                                                                                    Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.

                                                                                    + *

                                                                                    Specifies whether Amazon S3 restricts public bucket policies for the bucket.

                                                                                    */ - blockPublicAcls?: boolean; + restrictPublicBuckets?: boolean; } export namespace BlockPublicAccess { @@ -157,14 +157,14 @@ export namespace AccountLevelPermissions { */ export interface AccessControlList { /** - *

                                                                                    Specifies whether the ACL grants the general public with write access permissions for the bucket.

                                                                                    + *

                                                                                    Specifies whether the ACL grants the general public with read access permissions for the bucket.

                                                                                    */ - allowsPublicWriteAccess?: boolean; + allowsPublicReadAccess?: boolean; /** - *

                                                                                    Specifies whether the ACL grants the general public with read access permissions for the bucket.

                                                                                    + *

                                                                                    Specifies whether the ACL grants the general public with write access permissions for the bucket.

                                                                                    */ - allowsPublicReadAccess?: boolean; + allowsPublicWriteAccess?: boolean; } export namespace AccessControlList { @@ -204,14 +204,14 @@ export interface BucketLevelPermissions { accessControlList?: AccessControlList; /** - *

                                                                                    The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.

                                                                                    + *

                                                                                    The block public access settings for the bucket.

                                                                                    */ - bucketPolicy?: BucketPolicy; + blockPublicAccess?: BlockPublicAccess; /** - *

                                                                                    The block public access settings for the bucket.

                                                                                    + *

                                                                                    The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.

                                                                                    */ - blockPublicAccess?: BlockPublicAccess; + bucketPolicy?: BucketPolicy; } export namespace BucketLevelPermissions { @@ -246,14 +246,14 @@ export namespace BucketPermissionConfiguration { */ export interface BucketPublicAccess { /** - *

                                                                                    The account-level and bucket-level permissions for the bucket.

                                                                                    + *

                                                                                    Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:

                                                                                    • NOT_PUBLIC - The bucket isn't publicly accessible.

                                                                                    • PUBLIC - The bucket is publicly accessible.

                                                                                    • UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.

                                                                                    */ - permissionConfiguration?: BucketPermissionConfiguration; + effectivePermission?: EffectivePermission | string; /** - *

                                                                                    Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:

                                                                                    • NOT_PUBLIC - The bucket isn't publicly accessible.

                                                                                    • PUBLIC - The bucket is publicly accessible.

                                                                                    • UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.

                                                                                    + *

                                                                                    The account-level and bucket-level permissions for the bucket.

                                                                                    */ - effectivePermission?: EffectivePermission | string; + permissionConfiguration?: BucketPermissionConfiguration; } export namespace BucketPublicAccess { @@ -300,14 +300,14 @@ export enum SharedAccess { */ export interface KeyValuePair { /** - *

                                                                                    One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be empty or null.

                                                                                    + *

                                                                                    One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.

                                                                                    */ - value?: string; + key?: string; /** - *

                                                                                    One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.

                                                                                    + *

                                                                                    One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be empty or null.

                                                                                    */ - key?: string; + value?: string; } export namespace KeyValuePair { @@ -326,14 +326,14 @@ export interface ObjectLevelStatistics { fileType?: number; /** - *

                                                                                    The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class or don't have a file name extension for a supported file or storage format.

                                                                                    + *

                                                                                    The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class.

                                                                                    */ - total?: number; + storageClass?: number; /** - *

                                                                                    The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class.

                                                                                    + *

                                                                                    The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class or don't have a file name extension for a supported file or storage format.

                                                                                    */ - storageClass?: number; + total?: number; } export namespace ObjectLevelStatistics { @@ -347,99 +347,99 @@ export namespace ObjectLevelStatistics { */ export interface BucketMetadata { /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

                                                                                    + *

                                                                                    The unique identifier for the AWS account that owns the bucket.

                                                                                    */ - bucketCreatedAt?: Date; + accountId?: string; /** - *

                                                                                    The AWS Region that hosts the bucket.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the bucket.

                                                                                    */ - region?: string; + bucketArn?: string; /** - *

                                                                                    The unique identifier for the AWS account that owns the bucket.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

                                                                                    */ - accountId?: string; + bucketCreatedAt?: Date; /** - *

                                                                                    The total compressed storage size, in bytes, of the bucket.

                                                                                    + *

                                                                                    The name of the bucket.

                                                                                    */ - sizeInBytesCompressed?: number; + bucketName?: string; /** - *

                                                                                    An array that specifies the tags (keys and values) that are associated with the bucket.

                                                                                    + *

                                                                                    The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

                                                                                    */ - tags?: KeyValuePair[]; + classifiableObjectCount?: number; /** - *

                                                                                    The total number of objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

                                                                                    + *

                                                                                    The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

                                                                                    */ - unclassifiableObjectCount?: ObjectLevelStatistics; + classifiableSizeInBytes?: number; /** - *

                                                                                    The total storage size, in bytes, of the bucket.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the bucket from Amazon S3.

                                                                                    */ - sizeInBytes?: number; + lastUpdated?: Date; /** - *

                                                                                    Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts.

                                                                                    + *

                                                                                    The total number of objects in the bucket.

                                                                                    */ - replicationDetails?: ReplicationDetails; + objectCount?: number; /** - *

                                                                                    The name of the bucket.

                                                                                    + *

                                                                                    The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.

                                                                                    */ - bucketName?: string; + objectCountByEncryptionType?: ObjectCountByEncryptionType; /** - *

                                                                                    The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.

                                                                                    + *

                                                                                    Specifies whether the bucket is publicly accessible. If this value is true, an access control list (ACL), bucket policy, or block public access settings allow the bucket to be accessed by the general public.

                                                                                    */ - objectCountByEncryptionType?: ObjectCountByEncryptionType; + publicAccess?: BucketPublicAccess; /** - *

                                                                                    The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

                                                                                    + *

                                                                                    The AWS Region that hosts the bucket.

                                                                                    */ - unclassifiableObjectSizeInBytes?: ObjectLevelStatistics; + region?: string; /** - *

                                                                                    The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

                                                                                    + *

                                                                                    Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts.

                                                                                    */ - classifiableSizeInBytes?: number; + replicationDetails?: ReplicationDetails; /** - *

                                                                                    The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

                                                                                    + *

                                                                                    Specifies whether the bucket is shared with another AWS account. Possible values are:

                                                                                    • EXTERNAL - The bucket is shared with an AWS account that isn't part of the same Amazon Macie organization.

                                                                                    • INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization.

                                                                                    • NOT_SHARED - The bucket isn't shared with other AWS accounts.

                                                                                    • UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.

                                                                                    */ - classifiableObjectCount?: number; + sharedAccess?: SharedAccess | string; /** - *

                                                                                    The total number of objects in the bucket.

                                                                                    + *

                                                                                    The total storage size, in bytes, of the bucket.

                                                                                    */ - objectCount?: number; + sizeInBytes?: number; /** - *

                                                                                    Specifies whether the bucket is shared with another AWS account. Possible values are:

                                                                                    • EXTERNAL - The bucket is shared with an AWS account that isn't part of the same Amazon Macie organization.

                                                                                    • INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization.

                                                                                    • NOT_SHARED - The bucket isn't shared with other AWS accounts.

                                                                                    • UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.

                                                                                    + *

                                                                                    The total compressed storage size, in bytes, of the bucket.

                                                                                    */ - sharedAccess?: SharedAccess | string; + sizeInBytesCompressed?: number; /** - *

                                                                                    Specifies whether versioning is enabled for the bucket.

                                                                                    + *

                                                                                    An array that specifies the tags (keys and values) that are associated with the bucket.

                                                                                    */ - versioning?: boolean; + tags?: KeyValuePair[]; /** - *

                                                                                    The Amazon Resource Name (ARN) of the bucket.

                                                                                    + *

                                                                                    The total number of objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

                                                                                    */ - bucketArn?: string; + unclassifiableObjectCount?: ObjectLevelStatistics; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the bucket from Amazon S3.

                                                                                    + *

                                                                                    The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

                                                                                    */ - lastUpdated?: Date; + unclassifiableObjectSizeInBytes?: ObjectLevelStatistics; /** - *

                                                                                    Specifies whether the bucket is publicly accessible. If this value is true, an access control list (ACL), bucket policy, or block public access settings allow the bucket to be accessed by the general public.

                                                                                    + *

                                                                                    Specifies whether versioning is enabled for the bucket.

                                                                                    */ - publicAccess?: BucketPublicAccess; + versioning?: boolean; } export namespace BucketMetadata { @@ -453,14 +453,14 @@ export namespace BucketMetadata { */ export interface CustomDataIdentifierSummary { /** - *

                                                                                    The custom name of the custom data identifier.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the custom data identifier.

                                                                                    */ - name?: string; + arn?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the custom data identifier.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

                                                                                    */ - arn?: string; + createdAt?: Date; /** *

                                                                                    The custom description of the custom data identifier.

                                                                                    @@ -468,14 +468,14 @@ export interface CustomDataIdentifierSummary { description?: string; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

                                                                                    + *

                                                                                    The unique identifier for the custom data identifier.

                                                                                    */ - createdAt?: Date; + id?: string; /** - *

                                                                                    The unique identifier for the custom data identifier.

                                                                                    + *

                                                                                    The custom name of the custom data identifier.

                                                                                    */ - id?: string; + name?: string; } export namespace CustomDataIdentifierSummary { @@ -494,9 +494,9 @@ export enum FindingCategory { */ export interface Cell { /** - *

                                                                                    The row number of the row that contains the data.

                                                                                    + *

                                                                                    The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.

                                                                                    */ - row?: number; + cellReference?: string; /** *

                                                                                    The column number of the column that contains the data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier. For example, 1 for column A, 2 for column B, and so on.

                                                                                    @@ -509,9 +509,9 @@ export interface Cell { columnName?: string; /** - *

                                                                                    The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.

                                                                                    + *

                                                                                    The row number of the row that contains the data.

                                                                                    */ - cellReference?: string; + row?: number; } export namespace Cell { @@ -521,7 +521,7 @@ export namespace Cell { } /** - *

                                                                                    Provides details about the location of an occurrence of sensitive data in an Adobe Portable Document Format file, Apache Avro object container, Microsoft Word document, or non-binary text file.

                                                                                    + *

                                                                                    Provides details about the location of an occurrence of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.

                                                                                    */ export interface Range { /** @@ -573,11 +573,16 @@ export namespace Page { } /** - *

                                                                                    Specifies the location of an occurrence of sensitive data in an Apache Parquet file.

                                                                                    + *

                                                                                    Specifies the location of an occurrence of sensitive data in an Apache Avro object container or Apache Parquet file.

                                                                                    */ export interface _Record { /** - *

                                                                                    The row index, starting from 0, for the row that contains the data.

                                                                                    + *

                                                                                    The path, as a JSONPath expression, to the field (in an Apache Avro object container) or record (in an Apache Parquet file) that contains the data.

                                                                                    If the name of an element exceeds 20 characters, Amazon Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.

                                                                                    + */ + jsonPath?: string; + + /** + *

                                                                                    The record index, starting from 0, for the record that contains the data.

                                                                                    */ recordIndex?: number; } @@ -593,14 +598,14 @@ export namespace _Record { */ export interface Occurrences { /** - *

                                                                                    An array of objects, one for each occurrence of sensitive data in an Apache Parquet file. Each object specifies the row that contains the data. This value is null for all other types of files.

                                                                                    + *

                                                                                    An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. Each object specifies the cell or field that contains the data. This value is null for all other types of files.

                                                                                    */ - records?: _Record[]; + cells?: Cell[]; /** - *

                                                                                    An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data, and the position of the data on that page. This value is null for all other types of files.

                                                                                    + *

                                                                                    An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.

                                                                                    This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of: data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.

                                                                                    */ - pages?: Page[]; + lineRanges?: Range[]; /** *

                                                                                    An array of objects, one for each occurrence of sensitive data in a binary text file. Each object specifies the position of the data relative to the beginning of the file.

                                                                                    This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.

                                                                                    @@ -608,14 +613,14 @@ export interface Occurrences { offsetRanges?: Range[]; /** - *

                                                                                    An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. Each object specifies the cell that contains the data. This value is null for all other types of files.

                                                                                    + *

                                                                                    An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data, and the position of the data on that page. This value is null for all other types of files.

                                                                                    */ - cells?: Cell[]; + pages?: Page[]; /** - *

                                                                                    An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, Microsoft Word document, or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.

                                                                                    This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.

                                                                                    + *

                                                                                    An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache Parquet file. Each object specifies the field or record that contains the data. This value is null for all other types of files.

                                                                                    */ - lineRanges?: Range[]; + records?: _Record[]; } export namespace Occurrences { @@ -629,9 +634,9 @@ export namespace Occurrences { */ export interface CustomDetection { /** - *

                                                                                    The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the custom data identifier.

                                                                                    */ - occurrences?: Occurrences; + arn?: string; /** *

                                                                                    The total number of occurrences of the sensitive data that the custom data identifier detected.

                                                                                    @@ -644,9 +649,9 @@ export interface CustomDetection { name?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the custom data identifier.

                                                                                    + *

                                                                                    The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

                                                                                    */ - arn?: string; + occurrences?: Occurrences; } export namespace CustomDetection { @@ -660,14 +665,14 @@ export namespace CustomDetection { */ export interface CustomDataIdentifiers { /** - *

                                                                                    The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.

                                                                                    + *

                                                                                    The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.

                                                                                    */ - totalCount?: number; + detections?: CustomDetection[]; /** - *

                                                                                    The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.

                                                                                    + *

                                                                                    The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.

                                                                                    */ - detections?: CustomDetection[]; + totalCount?: number; } export namespace CustomDataIdentifiers { @@ -693,14 +698,14 @@ export interface DefaultDetection { count?: number; /** - *

                                                                                    The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.

                                                                                    + *

                                                                                    The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

                                                                                    */ - type?: string; + occurrences?: Occurrences; /** - *

                                                                                    The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

                                                                                    + *

                                                                                    The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.

                                                                                    */ - occurrences?: Occurrences; + type?: string; } export namespace DefaultDetection { @@ -713,11 +718,6 @@ export namespace DefaultDetection { *

                                                                                    Provides information about the category, types, and occurrences of sensitive data that produced a sensitive data finding.

                                                                                    */ export interface SensitiveDataItem { - /** - *

                                                                                    The total number of occurrences of the sensitive data that was detected.

                                                                                    - */ - totalCount?: number; - /** *

                                                                                    The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information, such as full names and mailing addresses, or personal health information; or, CUSTOM_IDENTIFIER, for data that was detected by a custom data identifier.

                                                                                    */ @@ -727,6 +727,11 @@ export interface SensitiveDataItem { *

                                                                                    An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.

                                                                                    */ detections?: DefaultDetection[]; + + /** + *

                                                                                    The total number of occurrences of the sensitive data that was detected.

                                                                                    + */ + totalCount?: number; } export namespace SensitiveDataItem { @@ -761,9 +766,14 @@ export namespace ClassificationResultStatus { */ export interface ClassificationResult { /** - *

                                                                                    The category, types, and number of occurrences of the sensitive data that produced the finding.

                                                                                    + *

                                                                                    Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

                                                                                    This value can help you to determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).

                                                                                    */ - sensitiveData?: SensitiveDataItem[]; + additionalOccurrences?: boolean; + + /** + *

                                                                                    The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.

                                                                                    + */ + customDataIdentifiers?: CustomDataIdentifiers; /** *

                                                                                    The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.

                                                                                    @@ -771,24 +781,19 @@ export interface ClassificationResult { mimeType?: string; /** - *

                                                                                    The total size, in bytes, of the data that the finding applies to.

                                                                                    + *

                                                                                    The category, types, and number of occurrences of the sensitive data that produced the finding.

                                                                                    */ - sizeClassified?: number; + sensitiveData?: SensitiveDataItem[]; /** - *

                                                                                    Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

                                                                                    This value can help you to determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).

                                                                                    + *

                                                                                    The total size, in bytes, of the data that the finding applies to.

                                                                                    */ - additionalOccurrences?: boolean; + sizeClassified?: number; /** *

                                                                                    The status of the finding.

                                                                                    */ status?: ClassificationResultStatus; - - /** - *

                                                                                    The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.

                                                                                    - */ - customDataIdentifiers?: CustomDataIdentifiers; } export namespace ClassificationResult { @@ -802,9 +807,14 @@ export namespace ClassificationResult { */ export interface ClassificationDetails { /** - *

                                                                                    The Amazon Resource Name (ARN) of the classification job that produced the finding.

                                                                                    + *

                                                                                    The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.

                                                                                    */ - jobArn?: string; + detailedResultsLocation?: string; + + /** + *

                                                                                    The Amazon Resource Name (ARN) of the classification job that produced the finding.

                                                                                    + */ + jobArn?: string; /** *

                                                                                    The unique identifier for the classification job that produced the finding.

                                                                                    @@ -815,11 +825,6 @@ export interface ClassificationDetails { *

                                                                                    The status and other details for the finding.

                                                                                    */ result?: ClassificationResult; - - /** - *

                                                                                    The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.

                                                                                    - */ - detailedResultsLocation?: string; } export namespace ClassificationDetails { @@ -837,24 +842,24 @@ export enum FindingActionType { */ export interface ApiCallDetails { /** - *

                                                                                    The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.

                                                                                    + *

                                                                                    The name of the operation that was invoked most recently and produced the finding.

                                                                                    */ - lastSeen?: Date; + api?: string; /** - *

                                                                                    The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.

                                                                                    + *

                                                                                    The URL of the AWS service that provides the operation, for example: s3.amazonaws.com.

                                                                                    */ - firstSeen?: Date; + apiServiceName?: string; /** - *

                                                                                    The name of the operation that was invoked most recently and produced the finding.

                                                                                    + *

                                                                                    The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.

                                                                                    */ - api?: string; + firstSeen?: Date; /** - *

                                                                                    The URL of the AWS service that provides the operation, for example: s3.amazonaws.com.

                                                                                    + *

                                                                                    The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.

                                                                                    */ - apiServiceName?: string; + lastSeen?: Date; } export namespace ApiCallDetails { @@ -921,14 +926,14 @@ export namespace IpCity { */ export interface IpCountry { /** - *

                                                                                    The name of the country that the IP address originated from.

                                                                                    + *

                                                                                    The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

                                                                                    */ - name?: string; + code?: string; /** - *

                                                                                    The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

                                                                                    + *

                                                                                    The name of the country that the IP address originated from.

                                                                                    */ - code?: string; + name?: string; } export namespace IpCountry { @@ -973,14 +978,14 @@ export interface IpOwner { asnOrg?: string; /** - *

                                                                                    The name of the organization that owned the IP address.

                                                                                    + *

                                                                                    The name of the internet service provider (ISP) that owned the IP address.

                                                                                    */ - org?: string; + isp?: string; /** - *

                                                                                    The name of the internet service provider (ISP) that owned the IP address.

                                                                                    + *

                                                                                    The name of the organization that owned the IP address.

                                                                                    */ - isp?: string; + org?: string; } export namespace IpOwner { @@ -994,24 +999,24 @@ export namespace IpOwner { */ export interface IpAddressDetails { /** - *

                                                                                    The city that the IP address originated from.

                                                                                    + *

                                                                                    The Internet Protocol version 4 (IPv4) address of the device.

                                                                                    */ - ipCity?: IpCity; + ipAddressV4?: string; /** - *

                                                                                    The geographic coordinates of the location that the IP address originated from.

                                                                                    + *

                                                                                    The city that the IP address originated from.

                                                                                    */ - ipGeoLocation?: IpGeoLocation; + ipCity?: IpCity; /** - *

                                                                                    The Internet Protocol version 4 (IPv4) address of the device.

                                                                                    + *

                                                                                    The country that the IP address originated from.

                                                                                    */ - ipAddressV4?: string; + ipCountry?: IpCountry; /** - *

                                                                                    The country that the IP address originated from.

                                                                                    + *

                                                                                    The geographic coordinates of the location that the IP address originated from.

                                                                                    */ - ipCountry?: IpCountry; + ipGeoLocation?: IpGeoLocation; /** *

                                                                                    The registered owner of the IP address.

                                                                                    @@ -1030,14 +1035,14 @@ export namespace IpAddressDetails { */ export interface SessionContextAttributes { /** - *

                                                                                    Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.

                                                                                    + *

                                                                                    The date and time, in UTC and ISO 8601 format, when the credentials were issued.

                                                                                    */ - mfaAuthenticated?: boolean; + creationDate?: Date; /** - *

                                                                                    The date and time, in UTC and ISO 8601 format, when the credentials were issued.

                                                                                    + *

                                                                                    Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.

                                                                                    */ - creationDate?: Date; + mfaAuthenticated?: boolean; } export namespace SessionContextAttributes { @@ -1056,24 +1061,24 @@ export interface SessionIssuer { accountId?: string; /** - *

                                                                                    The source of the temporary security credentials, such as Root, IAMUser, or Role.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the source account, IAM user, or role that was used to get the credentials.

                                                                                    */ - type?: string; + arn?: string; /** - *

                                                                                    The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.

                                                                                    + *

                                                                                    The unique identifier for the entity that was used to get the credentials.

                                                                                    */ - userName?: string; + principalId?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the source account, IAM user, or role that was used to get the credentials.

                                                                                    + *

                                                                                    The source of the temporary security credentials, such as Root, IAMUser, or Role.

                                                                                    */ - arn?: string; + type?: string; /** - *

                                                                                    The unique identifier for the entity that was used to get the credentials.

                                                                                    + *

                                                                                    The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.

                                                                                    */ - principalId?: string; + userName?: string; } export namespace SessionIssuer { @@ -1108,29 +1113,29 @@ export namespace SessionContext { */ export interface AssumedRole { /** - *

                                                                                    The unique identifier for the entity that was used to get the credentials.

                                                                                    + *

                                                                                    The AWS access key ID that identifies the credentials.

                                                                                    */ - principalId?: string; + accessKeyId?: string; /** - *

                                                                                    The details of the session that was created for the credentials, including the entity that issued the session.

                                                                                    + *

                                                                                    The unique identifier for the AWS account that owns the entity that was used to get the credentials.

                                                                                    */ - sessionContext?: SessionContext; + accountId?: string; /** - *

                                                                                    The AWS access key ID that identifies the credentials.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the entity that was used to get the credentials.

                                                                                    */ - accessKeyId?: string; + arn?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the entity that was used to get the credentials.

                                                                                    + *

                                                                                    The unique identifier for the entity that was used to get the credentials.

                                                                                    */ - arn?: string; + principalId?: string; /** - *

                                                                                    The unique identifier for the AWS account that owns the entity that was used to get the credentials.

                                                                                    + *

                                                                                    The details of the session that was created for the credentials, including the entity that issued the session.

                                                                                    */ - accountId?: string; + sessionContext?: SessionContext; } export namespace AssumedRole { @@ -1144,14 +1149,14 @@ export namespace AssumedRole { */ export interface AwsAccount { /** - *

                                                                                    The unique identifier for the entity that performed the action.

                                                                                    + *

                                                                                    The unique identifier for the AWS account.

                                                                                    */ - principalId?: string; + accountId?: string; /** - *

                                                                                    The unique identifier for the AWS account.

                                                                                    + *

                                                                                    The unique identifier for the entity that performed the action.

                                                                                    */ - accountId?: string; + principalId?: string; } export namespace AwsAccount { @@ -1191,9 +1196,9 @@ export interface FederatedUser { accountId?: string; /** - *

                                                                                    The details of the session that was created for the credentials, including the entity that issued the session.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the entity that was used to get the credentials.

                                                                                    */ - sessionContext?: SessionContext; + arn?: string; /** *

                                                                                    The unique identifier for the entity that was used to get the credentials.

                                                                                    @@ -1201,9 +1206,9 @@ export interface FederatedUser { principalId?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the entity that was used to get the credentials.

                                                                                    + *

                                                                                    The details of the session that was created for the credentials, including the entity that issued the session.

                                                                                    */ - arn?: string; + sessionContext?: SessionContext; } export namespace FederatedUser { @@ -1217,9 +1222,9 @@ export namespace FederatedUser { */ export interface IamUser { /** - *

                                                                                    The user name of the IAM user who performed the action.

                                                                                    + *

                                                                                    The unique identifier for the AWS account that's associated with the IAM user who performed the action.

                                                                                    */ - userName?: string; + accountId?: string; /** *

                                                                                    The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user who performed the action.

                                                                                    @@ -1227,14 +1232,14 @@ export interface IamUser { arn?: string; /** - *

                                                                                    The unique identifier for the AWS account that's associated with the IAM user who performed the action.

                                                                                    + *

                                                                                    The unique identifier for the IAM user who performed the action.

                                                                                    */ - accountId?: string; + principalId?: string; /** - *

                                                                                    The unique identifier for the IAM user who performed the action.

                                                                                    + *

                                                                                    The user name of the IAM user who performed the action.

                                                                                    */ - principalId?: string; + userName?: string; } export namespace IamUser { @@ -1248,9 +1253,9 @@ export namespace IamUser { */ export interface UserIdentityRoot { /** - *

                                                                                    The unique identifier for the entity that performed the action.

                                                                                    + *

                                                                                    The unique identifier for the AWS account.

                                                                                    */ - principalId?: string; + accountId?: string; /** *

                                                                                    The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user or role that performed the action.

                                                                                    @@ -1258,9 +1263,9 @@ export interface UserIdentityRoot { arn?: string; /** - *

                                                                                    The unique identifier for the AWS account.

                                                                                    + *

                                                                                    The unique identifier for the entity that performed the action.

                                                                                    */ - accountId?: string; + principalId?: string; } export namespace UserIdentityRoot { @@ -1283,19 +1288,14 @@ export enum UserIdentityType { */ export interface UserIdentity { /** - *

                                                                                    If the action was performed using the credentials for another AWS account, the details of that account.

                                                                                    - */ - awsAccount?: AwsAccount; - - /** - *

                                                                                    The type of entity that performed the action.

                                                                                    + *

                                                                                    If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

                                                                                    */ - type?: UserIdentityType | string; + assumedRole?: AssumedRole; /** - *

                                                                                    If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

                                                                                    + *

                                                                                    If the action was performed using the credentials for another AWS account, the details of that account.

                                                                                    */ - assumedRole?: AssumedRole; + awsAccount?: AwsAccount; /** *

                                                                                    If the action was performed by an AWS account that belongs to an AWS service, the name of the service.

                                                                                    @@ -1303,9 +1303,9 @@ export interface UserIdentity { awsService?: AwsService; /** - *

                                                                                    If the action was performed using the credentials for your AWS account, the details of your account.

                                                                                    + *

                                                                                    If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

                                                                                    */ - root?: UserIdentityRoot; + federatedUser?: FederatedUser; /** *

                                                                                    If the action was performed using the credentials for an AWS Identity and Access Management (IAM) user, the name and other details about the user.

                                                                                    @@ -1313,9 +1313,14 @@ export interface UserIdentity { iamUser?: IamUser; /** - *

                                                                                    If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

                                                                                    + *

                                                                                    If the action was performed using the credentials for your AWS account, the details of your account.

                                                                                    */ - federatedUser?: FederatedUser; + root?: UserIdentityRoot; + + /** + *

                                                                                    The type of entity that performed the action.

                                                                                    + */ + type?: UserIdentityType | string; } export namespace UserIdentity { @@ -1329,14 +1334,14 @@ export namespace UserIdentity { */ export interface FindingActor { /** - *

                                                                                    The IP address of the device that the entity used to perform the action on the affected resource. This object also provides information such as the owner and geographic location for the IP address.

                                                                                    + *

                                                                                    The domain name of the device that the entity used to perform the action on the affected resource.

                                                                                    */ - ipAddressDetails?: IpAddressDetails; + domainDetails?: DomainDetails; /** - *

                                                                                    The domain name of the device that the entity used to perform the action on the affected resource.

                                                                                    + *

                                                                                    The IP address of the device that the entity used to perform the action on the affected resource. This object also provides information such as the owner and geographic location for the IP address.

                                                                                    */ - domainDetails?: DomainDetails; + ipAddressDetails?: IpAddressDetails; /** *

                                                                                    The type and other characteristics of the entity that performed the action on the affected resource.

                                                                                    @@ -1355,14 +1360,14 @@ export namespace FindingActor { */ export interface PolicyDetails { /** - *

                                                                                    The entity that performed the action that produced the finding.

                                                                                    + *

                                                                                    The action that produced the finding.

                                                                                    */ - actor?: FindingActor; + action?: FindingAction; /** - *

                                                                                    The action that produced the finding.

                                                                                    + *

                                                                                    The entity that performed the action that produced the finding.

                                                                                    */ - action?: FindingAction; + actor?: FindingActor; } export namespace PolicyDetails { @@ -1404,14 +1409,14 @@ export namespace ServerSideEncryption { */ export interface S3BucketOwner { /** - *

                                                                                    The AWS account ID for the user who owns the bucket.

                                                                                    + *

                                                                                    The display name of the user who owns the bucket.

                                                                                    */ - id?: string; + displayName?: string; /** - *

                                                                                    The display name of the user who owns the bucket.

                                                                                    + *

                                                                                    The AWS account ID for the user who owns the bucket.

                                                                                    */ - displayName?: string; + id?: string; } export namespace S3BucketOwner { @@ -1430,14 +1435,9 @@ export interface S3Bucket { arn?: string; /** - *

                                                                                    The display name and account identifier for the user who owns the bucket.

                                                                                    - */ - owner?: S3BucketOwner; - - /** - *

                                                                                    The permissions settings that determine whether the bucket is publicly accessible.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

                                                                                    */ - publicAccess?: BucketPublicAccess; + createdAt?: Date; /** *

                                                                                    The type of server-side encryption that's used by default to encrypt objects in the bucket.

                                                                                    @@ -1450,14 +1450,19 @@ export interface S3Bucket { name?: string; /** - *

                                                                                    The tags that are associated with the bucket.

                                                                                    + *

                                                                                    The display name and account identifier for the user who owns the bucket.

                                                                                    */ - tags?: KeyValuePair[]; + owner?: S3BucketOwner; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

                                                                                    + *

                                                                                    The permissions settings that determine whether the bucket is publicly accessible.

                                                                                    */ - createdAt?: Date; + publicAccess?: BucketPublicAccess; + + /** + *

                                                                                    The tags that are associated with the bucket.

                                                                                    + */ + tags?: KeyValuePair[]; } export namespace S3Bucket { @@ -1480,15 +1485,30 @@ export enum StorageClass { *

                                                                                    Provides information about an S3 object that a finding applies to.

                                                                                    */ export interface S3Object { + /** + *

                                                                                    The Amazon Resource Name (ARN) of the bucket that contains the object.

                                                                                    + */ + bucketArn?: string; + /** *

                                                                                    The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.

                                                                                    */ eTag?: string; /** - *

                                                                                    The tags that are associated with the object.

                                                                                    + *

                                                                                    The file name extension of the object. If the object doesn't have a file name extension, this value is "".

                                                                                    */ - tags?: KeyValuePair[]; + extension?: string; + + /** + *

                                                                                    The full key (name) that's assigned to the object.

                                                                                    + */ + key?: string; + + /** + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

                                                                                    + */ + lastModified?: Date; /** *

                                                                                    The path to the object, including the full key (name).

                                                                                    @@ -1500,20 +1520,15 @@ export interface S3Object { */ publicAccess?: boolean; - /** - *

                                                                                    The file name extension of the object. If the object doesn't have a file name extension, this value is "".

                                                                                    - */ - extension?: string; - /** *

                                                                                    The type of server-side encryption that's used for the object.

                                                                                    */ serverSideEncryption?: ServerSideEncryption; /** - *

                                                                                    The full key (name) that's assigned to the object.

                                                                                    + *

                                                                                    The total storage size, in bytes, of the object.

                                                                                    */ - key?: string; + size?: number; /** *

                                                                                    The storage class of the object.

                                                                                    @@ -1521,24 +1536,14 @@ export interface S3Object { storageClass?: StorageClass | string; /** - *

                                                                                    The total storage size, in bytes, of the object.

                                                                                    + *

                                                                                    The tags that are associated with the object.

                                                                                    */ - size?: number; + tags?: KeyValuePair[]; /** *

                                                                                    The identifier for the affected version of the object.

                                                                                    */ versionId?: string; - - /** - *

                                                                                    The Amazon Resource Name (ARN) of the bucket that contains the object.

                                                                                    - */ - bucketArn?: string; - - /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

                                                                                    - */ - lastModified?: Date; } export namespace S3Object { @@ -1579,14 +1584,14 @@ export enum SeverityDescription { */ export interface Severity { /** - *

                                                                                    The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).

                                                                                    + *

                                                                                    The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).

                                                                                    */ - score?: number; + description?: SeverityDescription | string; /** - *

                                                                                    The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).

                                                                                    + *

                                                                                    The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).

                                                                                    */ - description?: SeverityDescription | string; + score?: number; } export namespace Severity { @@ -1613,34 +1618,29 @@ export enum FindingType { */ export interface Finding { /** - *

                                                                                    The total number of occurrences of the finding.

                                                                                    - */ - count?: number; - - /** - *

                                                                                    The type of the finding.

                                                                                    + *

                                                                                    The unique identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.

                                                                                    */ - type?: FindingType | string; + accountId?: string; /** - *

                                                                                    The unique identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.

                                                                                    + *

                                                                                    Specifies whether the finding is archived.

                                                                                    */ - accountId?: string; + archived?: boolean; /** - *

                                                                                    Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

                                                                                    + *

                                                                                    The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

                                                                                    */ - sample?: boolean; + category?: FindingCategory | string; /** - *

                                                                                    The description of the finding.

                                                                                    + *

                                                                                    The details of a sensitive data finding. This value is null for a policy finding.

                                                                                    */ - description?: string; + classificationDetails?: ClassificationDetails; /** - *

                                                                                    The AWS partition that Amazon Macie created the finding in.

                                                                                    + *

                                                                                    The total number of occurrences of the finding.

                                                                                    */ - partition?: string; + count?: number; /** *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the finding was created.

                                                                                    @@ -1648,29 +1648,29 @@ export interface Finding { createdAt?: Date; /** - *

                                                                                    The brief description of the finding.

                                                                                    + *

                                                                                    The description of the finding.

                                                                                    */ - title?: string; + description?: string; /** - *

                                                                                    The version of the schema that was used to define the data structures in the finding.

                                                                                    + *

                                                                                    The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.

                                                                                    */ - schemaVersion?: string; + id?: string; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

                                                                                    + *

                                                                                    The AWS partition that Amazon Macie created the finding in.

                                                                                    */ - updatedAt?: Date; + partition?: string; /** - *

                                                                                    The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

                                                                                    + *

                                                                                    The details of a policy finding. This value is null for a sensitive data finding.

                                                                                    */ - category?: FindingCategory | string; + policyDetails?: PolicyDetails; /** - *

                                                                                    The details of a sensitive data finding. This value is null for a policy finding.

                                                                                    + *

                                                                                    The AWS Region that Amazon Macie created the finding in.

                                                                                    */ - classificationDetails?: ClassificationDetails; + region?: string; /** *

                                                                                    The resources that the finding applies to.

                                                                                    @@ -1678,29 +1678,34 @@ export interface Finding { resourcesAffected?: ResourcesAffected; /** - *

                                                                                    Specifies whether the finding is archived.

                                                                                    + *

                                                                                    Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

                                                                                    */ - archived?: boolean; + sample?: boolean; /** - *

                                                                                    The details of a policy finding. This value is null for a sensitive data finding.

                                                                                    + *

                                                                                    The version of the schema that was used to define the data structures in the finding.

                                                                                    */ - policyDetails?: PolicyDetails; + schemaVersion?: string; /** - *

                                                                                    The AWS Region that Amazon Macie created the finding in.

                                                                                    + *

                                                                                    The severity level and score for the finding.

                                                                                    */ - region?: string; + severity?: Severity; /** - *

                                                                                    The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.

                                                                                    + *

                                                                                    The brief description of the finding.

                                                                                    */ - id?: string; + title?: string; /** - *

                                                                                    The severity level and score for the finding.

                                                                                    + *

                                                                                    The type of the finding.

                                                                                    */ - severity?: Severity; + type?: FindingType | string; + + /** + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

                                                                                    + */ + updatedAt?: Date; } export namespace Finding { @@ -1719,24 +1724,24 @@ export enum FindingsFilterAction { */ export interface FindingsFilterListItem { /** - *

                                                                                    The unique identifier for the filter.

                                                                                    + *

                                                                                    The action that's performed on findings that meet the filter criteria. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

                                                                                    */ - id?: string; + action?: FindingsFilterAction | string; /** - *

                                                                                    The custom name of the filter.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the filter.

                                                                                    */ - name?: string; + arn?: string; /** - *

                                                                                    The action that's performed on findings that meet the filter criteria. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

                                                                                    + *

                                                                                    The unique identifier for the filter.

                                                                                    */ - action?: FindingsFilterAction | string; + id?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the filter.

                                                                                    + *

                                                                                    The custom name of the filter.

                                                                                    */ - arn?: string; + name?: string; /** *

                                                                                    A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.

                                                                                    @@ -1755,14 +1760,14 @@ export namespace FindingsFilterListItem { */ export interface GroupCount { /** - *

                                                                                    The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.

                                                                                    + *

                                                                                    The total number of findings in the group of query results.

                                                                                    */ - groupKey?: string; + count?: number; /** - *

                                                                                    The total number of findings in the group of query results.

                                                                                    + *

                                                                                    The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.

                                                                                    */ - count?: number; + groupKey?: string; } export namespace GroupCount { @@ -1789,24 +1794,24 @@ export enum RelationshipStatus { */ export interface Invitation { /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.

                                                                                    + *

                                                                                    The AWS account ID for the account that sent the invitation.

                                                                                    */ - invitedAt?: Date; + accountId?: string; /** - *

                                                                                    The AWS account ID for the account that sent the invitation.

                                                                                    + *

                                                                                    The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.

                                                                                    */ - accountId?: string; + invitationId?: string; /** - *

                                                                                    The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.

                                                                                    */ - relationshipStatus?: RelationshipStatus | string; + invitedAt?: Date; /** - *

                                                                                    The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.

                                                                                    + *

                                                                                    The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).

                                                                                    */ - invitationId?: string; + relationshipStatus?: RelationshipStatus | string; } export namespace Invitation { @@ -1843,14 +1848,14 @@ export interface SimpleScopeTerm { comparator?: JobComparator | string; /** - *

                                                                                    An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION, this array can specify multiple values and Amazon Macie uses an OR operator to join the values. Otherwise, this array can specify only one value. Valid values for each supported property (key) are:

                                                                                    • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: doc, docx, pdf

                                                                                    • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

                                                                                    • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

                                                                                    • TAG - A string that represents a tag key for an object. For advanced options, use a TagScopeTerm object, instead of a SimpleScopeTerm object, to define a tag-based condition for the job.

                                                                                    + *

                                                                                    The object property to use in the condition.

                                                                                    */ - values?: string[]; + key?: ScopeFilterKey | string; /** - *

                                                                                    The object property to use in the condition.

                                                                                    + *

                                                                                    An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION, this array can specify multiple values and Amazon Macie uses an OR operator to join the values. Otherwise, this array can specify only one value. Valid values for each supported property (key) are:

                                                                                    • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: doc, docx, pdf

                                                                                    • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z

                                                                                    • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

                                                                                    • TAG - A string that represents a tag key for an object. For advanced options, use a TagScopeTerm object, instead of a SimpleScopeTerm object, to define a tag-based condition for the job.

                                                                                    */ - key?: ScopeFilterKey | string; + values?: string[]; } export namespace SimpleScopeTerm { @@ -1889,9 +1894,9 @@ export enum TagTarget { */ export interface TagScopeTerm { /** - *

                                                                                    The tag keys or tag key and value pairs to use in the condition.

                                                                                    + *

                                                                                    The operator to use in the condition. Valid operators are EQ (equals) or NE (not equals).

                                                                                    */ - tagValues?: TagValuePair[]; + comparator?: JobComparator | string; /** *

                                                                                    The tag key to use in the condition.

                                                                                    @@ -1899,14 +1904,14 @@ export interface TagScopeTerm { key?: string; /** - *

                                                                                    The type of object to apply the condition to.

                                                                                    + *

                                                                                    The tag keys or tag key and value pairs to use in the condition.

                                                                                    */ - target?: TagTarget | string; + tagValues?: TagValuePair[]; /** - *

                                                                                    The operator to use in the condition. Valid operators are EQ (equals) or NE (not equals).

                                                                                    + *

                                                                                    The type of object to apply the condition to.

                                                                                    */ - comparator?: JobComparator | string; + target?: TagTarget | string; } export namespace TagScopeTerm { @@ -1920,14 +1925,14 @@ export namespace TagScopeTerm { */ export interface JobScopeTerm { /** - *

                                                                                    A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an object from the job.

                                                                                    + *

                                                                                    A property-based condition that defines a property, operator, and one or more values for including or excluding an object from the job.

                                                                                    */ - tagScopeTerm?: TagScopeTerm; + simpleScopeTerm?: SimpleScopeTerm; /** - *

                                                                                    A property-based condition that defines a property, operator, and one or more values for including or excluding an object from the job.

                                                                                    + *

                                                                                    A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an object from the job.

                                                                                    */ - simpleScopeTerm?: SimpleScopeTerm; + tagScopeTerm?: TagScopeTerm; } export namespace JobScopeTerm { @@ -1941,14 +1946,14 @@ export namespace JobScopeTerm { */ export interface S3BucketDefinitionForJob { /** - *

                                                                                    An array that lists the names of the buckets.

                                                                                    + *

                                                                                    The unique identifier for the AWS account that owns one or more of the buckets. If specified, the job analyzes objects in all the buckets that are owned by the account and meet other conditions specified for the job.

                                                                                    */ - buckets?: string[]; + accountId?: string; /** - *

                                                                                    The unique identifier for the AWS account that owns one or more of the buckets. If specified, the job analyzes objects in all the buckets that are owned by the account and meet other conditions specified for the job.

                                                                                    + *

                                                                                    An array that lists the names of the buckets.

                                                                                    */ - accountId?: string; + buckets?: string[]; } export namespace S3BucketDefinitionForJob { @@ -1976,9 +1981,9 @@ export enum JobType { */ export interface UserPausedDetails { /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when you paused the job.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the job will expire and be cancelled if you don't resume it first. If you don't resume a job within 30 days of pausing it, the job expires and Amazon Macie cancels it.

                                                                                    */ - jobPausedAt?: Date; + jobExpiresAt?: Date; /** *

                                                                                    The Amazon Resource Name (ARN) of the AWS Health event that Amazon Macie sent to notify you of the job's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.

                                                                                    @@ -1986,9 +1991,9 @@ export interface UserPausedDetails { jobImminentExpirationHealthEventArn?: string; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the job will expire and be cancelled if you don't resume it first. If you don't resume a job within 30 days of pausing it, the job expires and Amazon Macie cancels it.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when you paused the job.

                                                                                    */ - jobExpiresAt?: Date; + jobPausedAt?: Date; } export namespace UserPausedDetails { @@ -2001,6 +2006,11 @@ export namespace UserPausedDetails { *

                                                                                    Provides information about a classification job, including the current status of the job.

                                                                                    */ export interface JobSummary { + /** + *

                                                                                    The S3 buckets that the job is configured to analyze.

                                                                                    + */ + bucketDefinitions?: S3BucketDefinitionForJob[]; + /** *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the job was created.

                                                                                    */ @@ -2011,30 +2021,25 @@ export interface JobSummary { */ jobId?: string; - /** - *

                                                                                    The schedule for running the job. Possible values are:

                                                                                    • ONE_TIME - The job runs only once.

                                                                                    • SCHEDULED - The job runs on a daily, weekly, or monthly basis.

                                                                                    - */ - jobType?: JobType | string; - - /** - *

                                                                                    If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.

                                                                                    - */ - userPausedDetails?: UserPausedDetails; - /** *

                                                                                    The current status of the job. Possible values are:

                                                                                    • CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.

                                                                                    • COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.

                                                                                    • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.

                                                                                    • PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.

                                                                                    • RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.

                                                                                    • USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.

                                                                                    */ jobStatus?: JobStatus | string; /** - *

                                                                                    The S3 buckets that the job is configured to analyze.

                                                                                    + *

                                                                                    The schedule for running the job. Possible values are:

                                                                                    • ONE_TIME - The job runs only once.

                                                                                    • SCHEDULED - The job runs on a daily, weekly, or monthly basis.

                                                                                    */ - bucketDefinitions?: S3BucketDefinitionForJob[]; + jobType?: JobType | string; /** *

                                                                                    The custom name of the job.

                                                                                    */ name?: string; + + /** + *

                                                                                    If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.

                                                                                    + */ + userPausedDetails?: UserPausedDetails; } export namespace JobSummary { @@ -2055,9 +2060,9 @@ export enum ListJobsFilterKey { */ export interface ListJobsFilterTerm { /** - *

                                                                                    An array that lists one or more values to use to filter the results.

                                                                                    + *

                                                                                    The operator to use to filter the results.

                                                                                    */ - values?: string[]; + comparator?: JobComparator | string; /** *

                                                                                    The property to use to filter the results.

                                                                                    @@ -2065,9 +2070,9 @@ export interface ListJobsFilterTerm { key?: ListJobsFilterKey | string; /** - *

                                                                                    The operator to use to filter the results.

                                                                                    + *

                                                                                    An array that lists one or more values to use to filter the results.

                                                                                    */ - comparator?: JobComparator | string; + values?: string[]; } export namespace ListJobsFilterTerm { @@ -2081,24 +2086,24 @@ export namespace ListJobsFilterTerm { */ export interface Member { /** - *

                                                                                    The current status of the relationship between the account and the master account.

                                                                                    + *

                                                                                    The AWS account ID for the account.

                                                                                    */ - relationshipStatus?: RelationshipStatus | string; + accountId?: string; /** - *

                                                                                    A map of key-value pairs that identifies the tags (keys and values) that are associated with the account in Amazon Macie.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the account.

                                                                                    */ - tags?: { [key: string]: string }; + arn?: string; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.

                                                                                    + *

                                                                                    The email address for the account.

                                                                                    */ - invitedAt?: Date; + email?: string; /** - *

                                                                                    The AWS account ID for the account.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.

                                                                                    */ - accountId?: string; + invitedAt?: Date; /** *

                                                                                    The AWS account ID for the master account.

                                                                                    @@ -2106,19 +2111,19 @@ export interface Member { masterAccountId?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the account.

                                                                                    + *

                                                                                    The current status of the relationship between the account and the master account.

                                                                                    */ - arn?: string; + relationshipStatus?: RelationshipStatus | string; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.

                                                                                    + *

                                                                                    A map of key-value pairs that identifies the tags (keys and values) that are associated with the account in Amazon Macie.

                                                                                    */ - updatedAt?: Date; + tags?: { [key: string]: string }; /** - *

                                                                                    The email address for the account.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.

                                                                                    */ - email?: string; + updatedAt?: Date; } export namespace Member { @@ -2171,14 +2176,14 @@ export enum Unit { */ export interface ServiceLimit { /** - *

                                                                                    The unit of measurement for the value specified by the value field.

                                                                                    + *

                                                                                    Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.

                                                                                    */ - unit?: Unit | string; + isServiceLimited?: boolean; /** - *

                                                                                    Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.

                                                                                    + *

                                                                                    The unit of measurement for the value specified by the value field.

                                                                                    */ - isServiceLimited?: boolean; + unit?: Unit | string; /** *

                                                                                    The value for the metric specified by the UsageByAccount.type field in the response.

                                                                                    @@ -2232,6 +2237,11 @@ export namespace UsageByAccount { *

                                                                                    Provides quota and aggregated usage data for an account.

                                                                                    */ export interface UsageRecord { + /** + *

                                                                                    The unique identifier for the AWS account that the data applies to.

                                                                                    + */ + accountId?: string; + /** *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.

                                                                                    */ @@ -2241,11 +2251,6 @@ export interface UsageRecord { *

                                                                                    An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.

                                                                                    */ usage?: UsageByAccount[]; - - /** - *

                                                                                    The unique identifier for the AWS account that the data applies to.

                                                                                    - */ - accountId?: string; } export namespace UsageRecord { @@ -2276,14 +2281,14 @@ export enum UsageStatisticsFilterKey { */ export interface UsageStatisticsFilter { /** - *

                                                                                    The field to use in the condition.

                                                                                    + *

                                                                                    The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.

                                                                                    */ - key?: UsageStatisticsFilterKey | string; + comparator?: UsageStatisticsFilterComparator | string; /** - *

                                                                                    The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.

                                                                                    + *

                                                                                    The field to use in the condition.

                                                                                    */ - comparator?: UsageStatisticsFilterComparator | string; + key?: UsageStatisticsFilterKey | string; /** *

                                                                                    An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

                                                                                    Valid values for each supported field are:

                                                                                    • accountId - The unique identifier for an AWS account.

                                                                                    • freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account.

                                                                                    • serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.

                                                                                    • total - A string that represents the current, estimated month-to-date cost for an account.

                                                                                    @@ -2302,14 +2307,14 @@ export namespace UsageStatisticsFilter { */ export interface UsageTotal { /** - *

                                                                                    The estimated value for the metric.

                                                                                    + *

                                                                                    The type of currency that the value for the metric (estimatedCost) is reported in.

                                                                                    */ - estimatedCost?: string; + currency?: Currency | string; /** - *

                                                                                    The type of currency that the value for the metric (estimatedCost) is reported in.

                                                                                    + *

                                                                                    The estimated value for the metric.

                                                                                    */ - currency?: Currency | string; + estimatedCost?: string; /** *

                                                                                    The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.

                                                                                    @@ -2325,14 +2330,14 @@ export namespace UsageTotal { export interface AcceptInvitationRequest { /** - *

                                                                                    The AWS account ID for the account that sent the invitation.

                                                                                    + *

                                                                                    The unique identifier for the invitation to accept.

                                                                                    */ - masterAccount: string | undefined; + invitationId: string | undefined; /** - *

                                                                                    The unique identifier for the invitation to accept.

                                                                                    + *

                                                                                    The AWS account ID for the account that sent the invitation.

                                                                                    */ - invitationId: string | undefined; + masterAccount: string | undefined; } export namespace AcceptInvitationRequest { @@ -2480,14 +2485,14 @@ export namespace ValidationException { */ export interface AccountDetail { /** - *

                                                                                    The email address for the account.

                                                                                    + *

                                                                                    The AWS account ID for the account.

                                                                                    */ - email: string | undefined; + accountId: string | undefined; /** - *

                                                                                    The AWS account ID for the account.

                                                                                    + *

                                                                                    The email address for the account.

                                                                                    */ - accountId: string | undefined; + email: string | undefined; } export namespace AccountDetail { @@ -2531,11 +2536,6 @@ export namespace BatchGetCustomDataIdentifiersResponse { *

                                                                                    Provides information about the number of S3 buckets that are publicly accessible based on a combination of permissions settings for each bucket.

                                                                                    */ export interface BucketCountByEffectivePermission { - /** - *

                                                                                    The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.

                                                                                    - */ - unknown?: number; - /** *

                                                                                    The total number of buckets that allow the general public to have read or write access to the bucket.

                                                                                    */ @@ -2550,6 +2550,11 @@ export interface BucketCountByEffectivePermission { *

                                                                                    The total number of buckets that allow the general public to have write access to the bucket.

                                                                                    */ publiclyWritable?: number; + + /** + *

                                                                                    The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.

                                                                                    + */ + unknown?: number; } export namespace BucketCountByEffectivePermission { @@ -2563,9 +2568,9 @@ export namespace BucketCountByEffectivePermission { */ export interface BucketCountByEncryptionType { /** - *

                                                                                    The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.

                                                                                    + *

                                                                                    The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt objects. These buckets use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.

                                                                                    */ - unencrypted?: number; + kmsManaged?: number; /** *

                                                                                    The total number of buckets that use an Amazon S3-managed key to encrypt objects. These buckets use Amazon S3-managed (SSE-S3) encryption.

                                                                                    @@ -2573,9 +2578,9 @@ export interface BucketCountByEncryptionType { s3Managed?: number; /** - *

                                                                                    The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt objects. These buckets use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.

                                                                                    + *

                                                                                    The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.

                                                                                    */ - kmsManaged?: number; + unencrypted?: number; } export namespace BucketCountByEncryptionType { @@ -2593,11 +2598,6 @@ export interface BucketCountBySharedAccessType { */ external?: number; - /** - *

                                                                                    The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other AWS accounts.

                                                                                    - */ - unknown?: number; - /** *

                                                                                    The total number of buckets that are shared with an AWS account that's part of the same Amazon Macie organization.

                                                                                    */ @@ -2607,6 +2607,11 @@ export interface BucketCountBySharedAccessType { *

                                                                                    The total number of buckets that aren't shared with other AWS accounts.

                                                                                    */ notShared?: number; + + /** + *

                                                                                    The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other AWS accounts.

                                                                                    + */ + unknown?: number; } export namespace BucketCountBySharedAccessType { @@ -2619,11 +2624,6 @@ export namespace BucketCountBySharedAccessType { *

                                                                                    Specifies the operator to use in an attribute-based condition that filters the results of a query for information about S3 buckets.

                                                                                    */ export interface BucketCriteriaAdditionalProperties { - /** - *

                                                                                    A less than or equal to condition to apply to a specified attribute value for buckets.

                                                                                    - */ - lte?: number; - /** *

                                                                                    An equal to condition to apply to a specified attribute value for buckets.

                                                                                    */ @@ -2635,9 +2635,9 @@ export interface BucketCriteriaAdditionalProperties { gt?: number; /** - *

                                                                                    The prefix of the buckets to include in the results.

                                                                                    + *

                                                                                    A greater than or equal to condition to apply to a specified attribute value for buckets.

                                                                                    */ - prefix?: string; + gte?: number; /** *

                                                                                    A less than condition to apply to a specified attribute value for buckets.

                                                                                    @@ -2645,14 +2645,19 @@ export interface BucketCriteriaAdditionalProperties { lt?: number; /** - *

                                                                                    A greater than or equal to condition to apply to a specified attribute value for buckets.

                                                                                    + *

                                                                                    A less than or equal to condition to apply to a specified attribute value for buckets.

                                                                                    */ - gte?: number; + lte?: number; /** *

                                                                                    A not equal to condition to apply to a specified attribute value for buckets.

                                                                                    */ neq?: string[]; + + /** + *

                                                                                    The prefix of the buckets to include in the results.

                                                                                    + */ + prefix?: string; } export namespace BucketCriteriaAdditionalProperties { @@ -2671,14 +2676,14 @@ export enum OrderBy { */ export interface BucketSortCriteria { /** - *

                                                                                    The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

                                                                                    + *

                                                                                    The name of the attribute to sort the results by. This value can be the name of any property that Amazon Macie defines as bucket metadata, such as bucketName or accountId.

                                                                                    */ - orderBy?: OrderBy | string; + attributeName?: string; /** - *

                                                                                    The name of the attribute to sort the results by. This value can be the name of any property that Amazon Macie defines as bucket metadata, such as bucketName or accountId.

                                                                                    + *

                                                                                    The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

                                                                                    */ - attributeName?: string; + orderBy?: OrderBy | string; } export namespace BucketSortCriteria { @@ -2750,14 +2755,14 @@ export namespace JobScopingBlock { */ export interface Scoping { /** - *

                                                                                    The property- or tag-based conditions that determine which objects to include in the analysis.

                                                                                    + *

                                                                                    The property- or tag-based conditions that determine which objects to exclude from the analysis.

                                                                                    */ - includes?: JobScopingBlock; + excludes?: JobScopingBlock; /** - *

                                                                                    The property- or tag-based conditions that determine which objects to exclude from the analysis.

                                                                                    + *

                                                                                    The property- or tag-based conditions that determine which objects to include in the analysis.

                                                                                    */ - excludes?: JobScopingBlock; + includes?: JobScopingBlock; } export namespace Scoping { @@ -2771,14 +2776,14 @@ export namespace Scoping { */ export interface S3JobDefinition { /** - *

                                                                                    The property- and tag-based conditions that determine which objects to include or exclude from the analysis.

                                                                                    + *

                                                                                    An array of objects, one for each bucket that contains objects to analyze.

                                                                                    */ - scoping?: Scoping; + bucketDefinitions?: S3BucketDefinitionForJob[]; /** - *

                                                                                    An array of objects, one for each bucket that contains objects to analyze.

                                                                                    + *

                                                                                    The property- and tag-based conditions that determine which objects to include or exclude from the analysis.

                                                                                    */ - bucketDefinitions?: S3BucketDefinitionForJob[]; + scoping?: Scoping; } export namespace S3JobDefinition { @@ -2844,6 +2849,11 @@ export namespace WeeklySchedule { *

                                                                                    Specifies the recurrence pattern for running a classification job.

                                                                                    */ export interface JobScheduleFrequency { + /** + *

                                                                                    Specifies a daily recurrence pattern for running the job.

                                                                                    + */ + dailySchedule?: DailySchedule; + /** *

                                                                                    Specifies a monthly recurrence pattern for running the job.

                                                                                    */ @@ -2853,11 +2863,6 @@ export interface JobScheduleFrequency { *

                                                                                    Specifies a weekly recurrence pattern for running the job.

                                                                                    */ weeklySchedule?: WeeklySchedule; - - /** - *

                                                                                    Specifies a daily recurrence pattern for running the job.

                                                                                    - */ - dailySchedule?: DailySchedule; } export namespace JobScheduleFrequency { @@ -2867,25 +2872,15 @@ export namespace JobScheduleFrequency { } export interface CreateClassificationJobRequest { - /** - *

                                                                                    The S3 buckets that contain the objects to analyze, and the scope of that analysis.

                                                                                    - */ - s3JobDefinition: S3JobDefinition | undefined; - - /** - *

                                                                                    The custom data identifiers to use for data analysis and classification.

                                                                                    - */ - customDataIdentifierIds?: string[]; - /** *

                                                                                    A unique, case-sensitive token that you provide to ensure the idempotency of the request.

                                                                                    */ clientToken?: string; /** - *

                                                                                    A map of key-value pairs that specifies the tags to associate with the job.

                                                                                    A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

                                                                                    + *

                                                                                    The custom data identifiers to use for data analysis and classification.

                                                                                    */ - tags?: { [key: string]: string }; + customDataIdentifierIds?: string[]; /** *

                                                                                    A custom description of the job. The description can contain as many as 200 characters.

                                                                                    @@ -2903,19 +2898,29 @@ export interface CreateClassificationJobRequest { jobType: JobType | string | undefined; /** - *

                                                                                    The sampling depth, as a percentage, to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.

                                                                                    + *

                                                                                    A custom name for the job. The name can contain as many as 500 characters.

                                                                                    */ - samplingPercentage?: number; + name: string | undefined; /** - *

                                                                                    A custom name for the job. The name can contain as many as 500 characters.

                                                                                    + *

                                                                                    The S3 buckets that contain the objects to analyze, and the scope of that analysis.

                                                                                    */ - name: string | undefined; + s3JobDefinition: S3JobDefinition | undefined; + + /** + *

                                                                                    The sampling depth, as a percentage, to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.

                                                                                    + */ + samplingPercentage?: number; /** *

                                                                                    The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value for the jobType property to ONE_TIME.

                                                                                    */ scheduleFrequency?: JobScheduleFrequency; + + /** + *

                                                                                    A map of key-value pairs that specifies the tags to associate with the job.

                                                                                    A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

                                                                                    + */ + tags?: { [key: string]: string }; } export namespace CreateClassificationJobRequest { @@ -2944,9 +2949,9 @@ export namespace CreateClassificationJobResponse { export interface CreateCustomDataIdentifierRequest { /** - *

                                                                                    An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 4 - 90 characters. Keywords aren't case sensitive.

                                                                                    + *

                                                                                    A unique, case-sensitive token that you provide to ensure the idempotency of the request.

                                                                                    */ - keywords?: string[]; + clientToken?: string; /** *

                                                                                    A custom description of the custom data identifier. The description can contain as many as 512 characters.

                                                                                    We strongly recommend that you avoid including any sensitive data in the description of a custom data identifier. Other users of your account might be able to see the identifier's description, depending on the actions that they're allowed to perform in Amazon Macie.

                                                                                    @@ -2959,14 +2964,14 @@ export interface CreateCustomDataIdentifierRequest { ignoreWords?: string[]; /** - *

                                                                                    A unique, case-sensitive token that you provide to ensure the idempotency of the request.

                                                                                    + *

                                                                                    An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 4 - 90 characters. Keywords aren't case sensitive.

                                                                                    */ - clientToken?: string; + keywords?: string[]; /** - *

                                                                                    A map of key-value pairs that specifies the tags to associate with the custom data identifier.

                                                                                    A custom data identifier can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

                                                                                    + *

                                                                                    The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

                                                                                    */ - tags?: { [key: string]: string }; + maximumMatchDistance?: number; /** *

                                                                                    A custom name for the custom data identifier. The name can contain as many as 128 characters.

                                                                                    We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see the identifier's name, depending on the actions that they're allowed to perform in Amazon Macie.

                                                                                    @@ -2979,9 +2984,9 @@ export interface CreateCustomDataIdentifierRequest { regex?: string; /** - *

                                                                                    The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

                                                                                    + *

                                                                                    A map of key-value pairs that specifies the tags to associate with the custom data identifier.

                                                                                    A custom data identifier can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

                                                                                    */ - maximumMatchDistance?: number; + tags?: { [key: string]: string }; } export namespace CreateCustomDataIdentifierRequest { @@ -3012,15 +3017,20 @@ export interface CriterionAdditionalProperties { */ eq?: string[]; + /** + *

                                                                                    A condition that requires an array field of a finding to exactly match the specified property values. You can use this operator with the following properties: customDataIdentifiers.detections.arn, customDataIdentifiers.detections.name, resourcesAffected.s3Bucket.tags.key, resourcesAffected.s3Bucket.tags.value, resourcesAffected.s3Object.tags.key, resourcesAffected.s3Object.tags.value, sensitiveData.category, and sensitiveData.detections.type.

                                                                                    + */ + eqExactMatch?: string[]; + /** *

                                                                                    A greater than condition to apply to a specified property value for findings.

                                                                                    */ gt?: number; /** - *

                                                                                    A less than or equal to condition to apply to a specified property value for findings.

                                                                                    + *

                                                                                    A greater than or equal to condition to apply to a specified property value for findings.

                                                                                    */ - lte?: number; + gte?: number; /** *

                                                                                    A less than condition to apply to a specified property value for findings.

                                                                                    @@ -3028,19 +3038,14 @@ export interface CriterionAdditionalProperties { lt?: number; /** - *

                                                                                    A not equal to condition to apply to a specified property value for findings.

                                                                                    - */ - neq?: string[]; - - /** - *

                                                                                    A greater than or equal to condition to apply to a specified property value for findings.

                                                                                    + *

                                                                                    A less than or equal to condition to apply to a specified property value for findings.

                                                                                    */ - gte?: number; + lte?: number; /** - *

                                                                                    A condition that requires an array field on a finding to exactly match the specified property values. You can use this operator with the following properties:

                                                                                    • customDataIdentifiers.detections.arn

                                                                                    • customDataIdentifiers.detections.name

                                                                                    • resourcesAffected.s3Bucket.tags.key

                                                                                    • resourcesAffected.s3Bucket.tags.value

                                                                                    • resourcesAffected.s3Object.tags.key

                                                                                    • resourcesAffected.s3Object.tags.value

                                                                                    • sensitiveData.category

                                                                                    • sensitiveData.detections.type

                                                                                    + *

                                                                                    A not equal to condition to apply to a specified property value for findings.

                                                                                    */ - eqExactMatch?: string[]; + neq?: string[]; } export namespace CriterionAdditionalProperties { @@ -3066,11 +3071,6 @@ export namespace FindingCriteria { } export interface CreateFindingsFilterRequest { - /** - *

                                                                                    The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

                                                                                    - */ - position?: number; - /** *

                                                                                    The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

                                                                                    */ @@ -3081,6 +3081,11 @@ export interface CreateFindingsFilterRequest { */ clientToken?: string; + /** + *

                                                                                    A custom description of the filter. The description can contain as many as 512 characters.

                                                                                    We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

                                                                                    + */ + description?: string; + /** *

                                                                                    The criteria to use to filter findings.

                                                                                    */ @@ -3092,9 +3097,9 @@ export interface CreateFindingsFilterRequest { name: string | undefined; /** - *

                                                                                    A custom description of the filter. The description can contain as many as 512 characters.

                                                                                    We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

                                                                                    + *

                                                                                    The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

                                                                                    */ - description?: string; + position?: number; /** *

                                                                                    A map of key-value pairs that specifies the tags to associate with the filter.

                                                                                    A findings filter can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

                                                                                    @@ -3128,9 +3133,9 @@ export namespace CreateFindingsFilterResponse { export interface CreateInvitationsRequest { /** - *

                                                                                    A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.

                                                                                    + *

                                                                                    An array that lists AWS account IDs, one for each account to send the invitation to.

                                                                                    */ - message?: string; + accountIds: string[] | undefined; /** *

                                                                                    Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true.

                                                                                    @@ -3138,9 +3143,9 @@ export interface CreateInvitationsRequest { disableEmailNotification?: boolean; /** - *

                                                                                    An array that lists AWS account IDs, one for each account to send the invitation to.

                                                                                    + *

                                                                                    A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.

                                                                                    */ - accountIds: string[] | undefined; + message?: string; } export namespace CreateInvitationsRequest { @@ -3164,14 +3169,14 @@ export namespace CreateInvitationsResponse { export interface CreateMemberRequest { /** - *

                                                                                    A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

                                                                                    An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

                                                                                    + *

                                                                                    The details for the account to associate with the master account.

                                                                                    */ - tags?: { [key: string]: string }; + account: AccountDetail | undefined; /** - *

                                                                                    The details for the account to associate with the master account.

                                                                                    + *

                                                                                    A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

                                                                                    An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

                                                                                    */ - account: AccountDetail | undefined; + tags?: { [key: string]: string }; } export namespace CreateMemberRequest { @@ -3331,24 +3336,24 @@ export namespace DeleteMemberResponse { export interface DescribeBucketsRequest { /** - *

                                                                                    The criteria to use to sort the query results.

                                                                                    + *

                                                                                    The criteria to use to filter the query results.

                                                                                    */ - sortCriteria?: BucketSortCriteria; + criteria?: { [key: string]: BucketCriteriaAdditionalProperties }; /** - *

                                                                                    The nextToken string that specifies which page of results to return in a paginated response.

                                                                                    + *

                                                                                    The maximum number of items to include in each page of the response. The default value is 50.

                                                                                    */ - nextToken?: string; + maxResults?: number; /** - *

                                                                                    The maximum number of items to include in each page of the response. The default value is 50.

                                                                                    + *

                                                                                    The nextToken string that specifies which page of results to return in a paginated response.

                                                                                    */ - maxResults?: number; + nextToken?: string; /** - *

                                                                                    The criteria to use to filter the query results.

                                                                                    + *

                                                                                    The criteria to use to sort the query results.

                                                                                    */ - criteria?: { [key: string]: BucketCriteriaAdditionalProperties }; + sortCriteria?: BucketSortCriteria; } export namespace DescribeBucketsRequest { @@ -3411,29 +3416,24 @@ export namespace Statistics { export interface DescribeClassificationJobResponse { /** - *

                                                                                    The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.

                                                                                    - */ - samplingPercentage?: number; - - /** - *

                                                                                    The custom name of the job.

                                                                                    + *

                                                                                    The token that was provided to ensure the idempotency of the request to create the job.

                                                                                    */ - name?: string; + clientToken?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the job.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the job was created.

                                                                                    */ - jobArn?: string; + createdAt?: Date; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the job last ran.

                                                                                    + *

                                                                                    The custom data identifiers that the job uses to analyze data.

                                                                                    */ - lastRunTime?: Date; + customDataIdentifierIds?: string[]; /** - *

                                                                                    A map of key-value pairs that specifies which tags (keys and values) are associated with the classification job.

                                                                                    + *

                                                                                    The custom description of the job.

                                                                                    */ - tags?: { [key: string]: string }; + description?: string; /** *

                                                                                    Specifies whether the job is configured to analyze all existing, eligible objects immediately after it's created.

                                                                                    @@ -3441,34 +3441,34 @@ export interface DescribeClassificationJobResponse { initialRun?: boolean; /** - *

                                                                                    If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the job.

                                                                                    */ - userPausedDetails?: UserPausedDetails; + jobArn?: string; /** - *

                                                                                    The custom description of the job.

                                                                                    + *

                                                                                    The unique identifier for the job.

                                                                                    */ - description?: string; + jobId?: string; /** - *

                                                                                    The token that was provided to ensure the idempotency of the request to create the job.

                                                                                    + *

                                                                                    The current status of the job. Possible values are:

                                                                                    • CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.

                                                                                    • COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.

                                                                                    • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.

                                                                                    • PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.

                                                                                    • RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.

                                                                                    • USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.

                                                                                    */ - clientToken?: string; + jobStatus?: JobStatus | string; /** - *

                                                                                    The custom data identifiers that the job uses to analyze data.

                                                                                    + *

                                                                                    The schedule for running the job. Possible values are:

                                                                                    • ONE_TIME - The job runs only once.

                                                                                    • SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.

                                                                                    */ - customDataIdentifierIds?: string[]; + jobType?: JobType | string; /** - *

                                                                                    The recurrence pattern for running the job. If the job is configured to run only once, this value is null.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the job last ran.

                                                                                    */ - scheduleFrequency?: JobScheduleFrequency; + lastRunTime?: Date; /** - *

                                                                                    The current status of the job. Possible values are:

                                                                                    • CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.

                                                                                    • COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.

                                                                                    • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.

                                                                                    • PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.

                                                                                    • RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.

                                                                                    • USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.

                                                                                    + *

                                                                                    The custom name of the job.

                                                                                    */ - jobStatus?: JobStatus | string; + name?: string; /** *

                                                                                    The S3 buckets that the job is configured to analyze, and the scope of that analysis.

                                                                                    @@ -3476,9 +3476,14 @@ export interface DescribeClassificationJobResponse { s3JobDefinition?: S3JobDefinition; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the job was created.

                                                                                    + *

                                                                                    The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.

                                                                                    */ - createdAt?: Date; + samplingPercentage?: number; + + /** + *

                                                                                    The recurrence pattern for running the job. If the job is configured to run only once, this value is null.

                                                                                    + */ + scheduleFrequency?: JobScheduleFrequency; /** *

                                                                                    The number of times that the job has run and processing statistics for the job's current run.

                                                                                    @@ -3486,14 +3491,14 @@ export interface DescribeClassificationJobResponse { statistics?: Statistics; /** - *

                                                                                    The schedule for running the job. Possible values are:

                                                                                    • ONE_TIME - The job runs only once.

                                                                                    • SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.

                                                                                    + *

                                                                                    A map of key-value pairs that specifies which tags (keys and values) are associated with the classification job.

                                                                                    */ - jobType?: JobType | string; + tags?: { [key: string]: string }; /** - *

                                                                                    The unique identifier for the job.

                                                                                    + *

                                                                                    If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.

                                                                                    */ - jobId?: string; + userPausedDetails?: UserPausedDetails; } export namespace DescribeClassificationJobResponse { @@ -3615,14 +3620,14 @@ export enum MacieStatus { export interface EnableMacieRequest { /** - * Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). + *

                                                                                    A unique, case-sensitive token that you provide to ensure the idempotency of the request.

                                                                                    */ - findingPublishingFrequency?: FindingPublishingFrequency | string; + clientToken?: string; /** - *

                                                                                    A unique, case-sensitive token that you provide to ensure the idempotency of the request.

                                                                                    + * Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). */ - clientToken?: string; + findingPublishingFrequency?: FindingPublishingFrequency | string; /** *

                                                                                    Specifies the status for the account. To enable Amazon Macie and start all Amazon Macie activities for the account, set this value to ENABLED.

                                                                                    @@ -3711,39 +3716,39 @@ export namespace GetBucketStatisticsRequest { export interface GetBucketStatisticsResponse { /** - *

                                                                                    The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

                                                                                    + *

                                                                                    The total number of buckets.

                                                                                    */ - classifiableObjectCount?: number; + bucketCount?: number; /** - *

                                                                                    The total number of buckets, grouped by server-side encryption type. This object also reports the total number of buckets that don't encrypt objects by default.

                                                                                    + *

                                                                                    The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.

                                                                                    */ - bucketCountByEncryptionType?: BucketCountByEncryptionType; + bucketCountByEffectivePermission?: BucketCountByEffectivePermission; /** - *

                                                                                    The total compressed storage size, in bytes, of the buckets.

                                                                                    + *

                                                                                    The total number of buckets, grouped by server-side encryption type. This object also reports the total number of buckets that don't encrypt objects by default.

                                                                                    */ - sizeInBytesCompressed?: number; + bucketCountByEncryptionType?: BucketCountByEncryptionType; /** - *

                                                                                    The total storage size, in bytes, of the buckets.

                                                                                    + *

                                                                                    The total number of buckets that are shared with another AWS account.

                                                                                    */ - sizeInBytes?: number; + bucketCountBySharedAccessType?: BucketCountBySharedAccessType; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the buckets from Amazon S3.

                                                                                    + *

                                                                                    The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

                                                                                    */ - lastUpdated?: Date; + classifiableObjectCount?: number; /** - *

                                                                                    The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

                                                                                    + *

                                                                                    The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

                                                                                    */ - unclassifiableObjectCount?: ObjectLevelStatistics; + classifiableSizeInBytes?: number; /** - *

                                                                                    The total number of buckets that are shared with another AWS account.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the buckets from Amazon S3.

                                                                                    */ - bucketCountBySharedAccessType?: BucketCountBySharedAccessType; + lastUpdated?: Date; /** *

                                                                                    The total number of objects in the buckets.

                                                                                    @@ -3751,19 +3756,19 @@ export interface GetBucketStatisticsResponse { objectCount?: number; /** - *

                                                                                    The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.

                                                                                    + *

                                                                                    The total storage size, in bytes, of the buckets.

                                                                                    */ - bucketCountByEffectivePermission?: BucketCountByEffectivePermission; + sizeInBytes?: number; /** - *

                                                                                    The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

                                                                                    + *

                                                                                    The total compressed storage size, in bytes, of the buckets.

                                                                                    */ - classifiableSizeInBytes?: number; + sizeInBytesCompressed?: number; /** - *

                                                                                    The total number of buckets.

                                                                                    + *

                                                                                    The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

                                                                                    */ - bucketCount?: number; + unclassifiableObjectCount?: ObjectLevelStatistics; /** *

                                                                                    The total storage size, in bytes, of all the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

                                                                                    @@ -3813,14 +3818,14 @@ export namespace GetCustomDataIdentifierRequest { export interface GetCustomDataIdentifierResponse { /** - *

                                                                                    A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the custom data identifier.

                                                                                    */ - tags?: { [key: string]: string }; + arn?: string; /** - *

                                                                                    An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

                                                                                    */ - ignoreWords?: string[]; + createdAt?: Date; /** *

                                                                                    Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.

                                                                                    @@ -3828,14 +3833,9 @@ export interface GetCustomDataIdentifierResponse { deleted?: boolean; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

                                                                                    - */ - createdAt?: Date; - - /** - *

                                                                                    The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern.

                                                                                    + *

                                                                                    The custom description of the custom data identifier.

                                                                                    */ - maximumMatchDistance?: number; + description?: string; /** *

                                                                                    The unique identifier for the custom data identifier.

                                                                                    @@ -3843,19 +3843,19 @@ export interface GetCustomDataIdentifierResponse { id?: string; /** - *

                                                                                    An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.

                                                                                    + *

                                                                                    An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.

                                                                                    */ - keywords?: string[]; + ignoreWords?: string[]; /** - *

                                                                                    The custom description of the custom data identifier.

                                                                                    + *

                                                                                    An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.

                                                                                    */ - description?: string; + keywords?: string[]; /** - *

                                                                                    The Amazon Resource Name (ARN) of the custom data identifier.

                                                                                    + *

                                                                                    The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern.

                                                                                    */ - arn?: string; + maximumMatchDistance?: number; /** *

                                                                                    The custom name of the custom data identifier.

                                                                                    @@ -3866,6 +3866,11 @@ export interface GetCustomDataIdentifierResponse { *

                                                                                    The regular expression (regex) that defines the pattern to match.

                                                                                    */ regex?: string; + + /** + *

                                                                                    A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.

                                                                                    + */ + tags?: { [key: string]: string }; } export namespace GetCustomDataIdentifierResponse { @@ -3879,14 +3884,14 @@ export namespace GetCustomDataIdentifierResponse { */ export interface SortCriteria { /** - *

                                                                                    The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

                                                                                    + *

                                                                                    The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.

                                                                                    */ - orderBy?: OrderBy | string; + attributeName?: string; /** - *

                                                                                    The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.

                                                                                    + *

                                                                                    The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

                                                                                    */ - attributeName?: string; + orderBy?: OrderBy | string; } export namespace SortCriteria { @@ -3897,14 +3902,14 @@ export namespace SortCriteria { export interface GetFindingsRequest { /** - *

                                                                                    The criteria for sorting the results of the request.

                                                                                    + *

                                                                                    An array of strings that lists the unique identifiers for the findings to retrieve.

                                                                                    */ - sortCriteria?: SortCriteria; + findingIds: string[] | undefined; /** - *

                                                                                    An array of strings that lists the unique identifiers for the findings to retrieve.

                                                                                    + *

                                                                                    The criteria for sorting the results of the request.

                                                                                    */ - findingIds: string[] | undefined; + sortCriteria?: SortCriteria; } export namespace GetFindingsRequest { @@ -3941,24 +3946,14 @@ export namespace GetFindingsFilterRequest { export interface GetFindingsFilterResponse { /** - *

                                                                                    The Amazon Resource Name (ARN) of the filter.

                                                                                    - */ - arn?: string; - - /** - *

                                                                                    The unique identifier for the filter.

                                                                                    - */ - id?: string; - - /** - *

                                                                                    A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.

                                                                                    + *

                                                                                    The action that's performed on findings that meet the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

                                                                                    */ - tags?: { [key: string]: string }; + action?: FindingsFilterAction | string; /** - *

                                                                                    The action that's performed on findings that meet the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the filter.

                                                                                    */ - action?: FindingsFilterAction | string; + arn?: string; /** *

                                                                                    The custom description of the filter.

                                                                                    @@ -3966,9 +3961,14 @@ export interface GetFindingsFilterResponse { description?: string; /** - *

                                                                                    The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

                                                                                    + *

                                                                                    The criteria that's used to filter findings.

                                                                                    */ - position?: number; + findingCriteria?: FindingCriteria; + + /** + *

                                                                                    The unique identifier for the filter.

                                                                                    + */ + id?: string; /** *

                                                                                    The custom name of the filter.

                                                                                    @@ -3976,9 +3976,14 @@ export interface GetFindingsFilterResponse { name?: string; /** - *

                                                                                    The criteria that's used to filter findings.

                                                                                    + *

                                                                                    The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

                                                                                    */ - findingCriteria?: FindingCriteria; + position?: number; + + /** + *

                                                                                    A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.

                                                                                    + */ + tags?: { [key: string]: string }; } export namespace GetFindingsFilterResponse { @@ -3996,9 +4001,9 @@ export enum GroupBy { export interface GetFindingStatisticsRequest { /** - *

                                                                                    The criteria to use to sort the query results.

                                                                                    + *

                                                                                    The criteria to use to filter the query results.

                                                                                    */ - sortCriteria?: FindingStatisticsSortCriteria; + findingCriteria?: FindingCriteria; /** *

                                                                                    The finding property to use to group the query results. Valid values are:

                                                                                    • classificationDetails.jobId - The unique identifier for the classification job that produced the finding.

                                                                                    • resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.

                                                                                    • severity.description - The severity level of the finding, such as High or Medium.

                                                                                    • type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.

                                                                                    @@ -4011,9 +4016,9 @@ export interface GetFindingStatisticsRequest { size?: number; /** - *

                                                                                    The criteria to use to filter the query results.

                                                                                    + *

                                                                                    The criteria to use to sort the query results.

                                                                                    */ - findingCriteria?: FindingCriteria; + sortCriteria?: FindingStatisticsSortCriteria; } export namespace GetFindingStatisticsRequest { @@ -4065,16 +4070,6 @@ export namespace GetMacieSessionRequest { } export interface GetMacieSessionResponse { - /** - *

                                                                                    The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Amazon Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Amazon Macie activities are enabled for the account.

                                                                                    - */ - status?: MacieStatus | string; - - /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.

                                                                                    - */ - updatedAt?: Date; - /** *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.

                                                                                    */ @@ -4089,6 +4084,16 @@ export interface GetMacieSessionResponse { *

                                                                                    The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in AWS resources for the account.

                                                                                    */ serviceRole?: string; + + /** + *

                                                                                    The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Amazon Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Amazon Macie activities are enabled for the account.

                                                                                    + */ + status?: MacieStatus | string; + + /** + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.

                                                                                    + */ + updatedAt?: Date; } export namespace GetMacieSessionResponse { @@ -4133,19 +4138,24 @@ export namespace GetMemberRequest { export interface GetMemberResponse { /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.

                                                                                    + *

                                                                                    The AWS account ID for the account.

                                                                                    */ - invitedAt?: Date; + accountId?: string; /** - *

                                                                                    The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the account.

                                                                                    */ - updatedAt?: Date; + arn?: string; /** - *

                                                                                    The AWS account ID for the account.

                                                                                    + *

                                                                                    The email address for the account.

                                                                                    */ - accountId?: string; + email?: string; + + /** + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.

                                                                                    + */ + invitedAt?: Date; /** *

                                                                                    The AWS account ID for the master account.

                                                                                    @@ -4153,9 +4163,9 @@ export interface GetMemberResponse { masterAccountId?: string; /** - *

                                                                                    The email address for the account.

                                                                                    + *

                                                                                    The current status of the relationship between the account and the master account.

                                                                                    */ - email?: string; + relationshipStatus?: RelationshipStatus | string; /** *

                                                                                    A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.

                                                                                    @@ -4163,14 +4173,9 @@ export interface GetMemberResponse { tags?: { [key: string]: string }; /** - *

                                                                                    The Amazon Resource Name (ARN) of the account.

                                                                                    - */ - arn?: string; - - /** - *

                                                                                    The current status of the relationship between the account and the master account.

                                                                                    + *

                                                                                    The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.

                                                                                    */ - relationshipStatus?: RelationshipStatus | string; + updatedAt?: Date; } export namespace GetMemberResponse { @@ -4191,14 +4196,14 @@ export enum UsageStatisticsSortKey { */ export interface UsageStatisticsSortBy { /** - *

                                                                                    The sort order to apply to the results, based on the value for the field specified by the key property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

                                                                                    + *

                                                                                    The field to sort the results by.

                                                                                    */ - orderBy?: OrderBy | string; + key?: UsageStatisticsSortKey | string; /** - *

                                                                                    The field to sort the results by.

                                                                                    + *

                                                                                    The sort order to apply to the results, based on the value for the field specified by the key property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

                                                                                    */ - key?: UsageStatisticsSortKey | string; + orderBy?: OrderBy | string; } export namespace UsageStatisticsSortBy { @@ -4214,9 +4219,9 @@ export interface GetUsageStatisticsRequest { filterBy?: UsageStatisticsFilter[]; /** - *

                                                                                    The criteria to use to sort the query results.

                                                                                    + *

                                                                                    The maximum number of items to include in each page of the response.

                                                                                    */ - sortBy?: UsageStatisticsSortBy; + maxResults?: number; /** *

                                                                                    The nextToken string that specifies which page of results to return in a paginated response.

                                                                                    @@ -4224,9 +4229,9 @@ export interface GetUsageStatisticsRequest { nextToken?: string; /** - *

                                                                                    The maximum number of items to include in each page of the response.

                                                                                    + *

                                                                                    The criteria to use to sort the query results.

                                                                                    */ - maxResults?: number; + sortBy?: UsageStatisticsSortBy; } export namespace GetUsageStatisticsRequest { @@ -4237,14 +4242,14 @@ export namespace GetUsageStatisticsRequest { export interface GetUsageStatisticsResponse { /** - *

                                                                                    An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.

                                                                                    + *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    */ - records?: UsageRecord[]; + nextToken?: string; /** - *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    + *

                                                                                    An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.

                                                                                    */ - nextToken?: string; + records?: UsageRecord[]; } export namespace GetUsageStatisticsResponse { @@ -4307,14 +4312,14 @@ export enum ListJobsSortAttributeName { */ export interface ListJobsSortCriteria { /** - *

                                                                                    The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

                                                                                    + *

                                                                                    The property to sort the results by.

                                                                                    */ - orderBy?: OrderBy | string; + attributeName?: ListJobsSortAttributeName | string; /** - *

                                                                                    The property to sort the results by.

                                                                                    + *

                                                                                    The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

                                                                                    */ - attributeName?: ListJobsSortAttributeName | string; + orderBy?: OrderBy | string; } export namespace ListJobsSortCriteria { @@ -4324,6 +4329,11 @@ export namespace ListJobsSortCriteria { } export interface ListClassificationJobsRequest { + /** + *

                                                                                    The criteria to use to filter the results.

                                                                                    + */ + filterCriteria?: ListJobsFilterCriteria; + /** *

                                                                                    The maximum number of items to include in each page of the response.

                                                                                    */ @@ -4338,11 +4348,6 @@ export interface ListClassificationJobsRequest { *

                                                                                    The criteria to use to sort the results.

                                                                                    */ sortCriteria?: ListJobsSortCriteria; - - /** - *

                                                                                    The criteria to use to filter the results.

                                                                                    - */ - filterCriteria?: ListJobsFilterCriteria; } export namespace ListClassificationJobsRequest { @@ -4353,14 +4358,14 @@ export namespace ListClassificationJobsRequest { export interface ListClassificationJobsResponse { /** - *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    + *

                                                                                    An array of objects, one for each job that meets the filter criteria specified in the request.

                                                                                    */ - nextToken?: string; + items?: JobSummary[]; /** - *

                                                                                    An array of objects, one for each job that meets the filter criteria specified in the request.

                                                                                    + *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    */ - items?: JobSummary[]; + nextToken?: string; } export namespace ListClassificationJobsResponse { @@ -4389,14 +4394,14 @@ export namespace ListCustomDataIdentifiersRequest { export interface ListCustomDataIdentifiersResponse { /** - *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    + *

                                                                                    An array of objects, one for each custom data identifier.

                                                                                    */ - nextToken?: string; + items?: CustomDataIdentifierSummary[]; /** - *

                                                                                    An array of objects, one for each custom data identifier.

                                                                                    + *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    */ - items?: CustomDataIdentifierSummary[]; + nextToken?: string; } export namespace ListCustomDataIdentifiersResponse { @@ -4407,14 +4412,14 @@ export namespace ListCustomDataIdentifiersResponse { export interface ListFindingsRequest { /** - *

                                                                                    The maximum number of items to include in each page of the response.

                                                                                    + *

                                                                                    The criteria to use to filter the results.

                                                                                    */ - maxResults?: number; + findingCriteria?: FindingCriteria; /** - *

                                                                                    The criteria to use to sort the results.

                                                                                    + *

                                                                                    The maximum number of items to include in each page of the response.

                                                                                    */ - sortCriteria?: SortCriteria; + maxResults?: number; /** *

                                                                                    The nextToken string that specifies which page of results to return in a paginated response.

                                                                                    @@ -4422,9 +4427,9 @@ export interface ListFindingsRequest { nextToken?: string; /** - *

                                                                                    The criteria to use to filter the results.

                                                                                    + *

                                                                                    The criteria to use to sort the results.

                                                                                    */ - findingCriteria?: FindingCriteria; + sortCriteria?: SortCriteria; } export namespace ListFindingsRequest { @@ -4471,14 +4476,14 @@ export namespace ListFindingsFiltersRequest { export interface ListFindingsFiltersResponse { /** - *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    + *

                                                                                    An array of objects, one for each filter that's associated with the account.

                                                                                    */ - nextToken?: string; + findingsFilterListItems?: FindingsFilterListItem[]; /** - *

                                                                                    An array of objects, one for each filter that's associated with the account.

                                                                                    + *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    */ - findingsFilterListItems?: FindingsFilterListItem[]; + nextToken?: string; } export namespace ListFindingsFiltersResponse { @@ -4489,14 +4494,14 @@ export namespace ListFindingsFiltersResponse { export interface ListInvitationsRequest { /** - *

                                                                                    The nextToken string that specifies which page of results to return in a paginated response.

                                                                                    + *

                                                                                    The maximum number of items to include in each page of a paginated response.

                                                                                    */ - nextToken?: string; + maxResults?: number; /** - *

                                                                                    The maximum number of items to include in each page of a paginated response.

                                                                                    + *

                                                                                    The nextToken string that specifies which page of results to return in a paginated response.

                                                                                    */ - maxResults?: number; + nextToken?: string; } export namespace ListInvitationsRequest { @@ -4507,14 +4512,14 @@ export namespace ListInvitationsRequest { export interface ListInvitationsResponse { /** - *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    + *

                                                                                    An array of objects, one for each invitation that was received by the account.

                                                                                    */ - nextToken?: string; + invitations?: Invitation[]; /** - *

                                                                                    An array of objects, one for each invitation that was received by the account.

                                                                                    + *

                                                                                    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

                                                                                    */ - invitations?: Invitation[]; + nextToken?: string; } export namespace ListInvitationsResponse { @@ -4524,11 +4529,6 @@ export namespace ListInvitationsResponse { } export interface ListMembersRequest { - /** - *

                                                                                    Specifies which accounts to include in the response, based on the status of an account's relationship with the master account. By default, the response includes only current member accounts. To include all accounts, set the value for this parameter to false.

                                                                                    - */ - onlyAssociated?: string; - /** *

                                                                                    The maximum number of items to include in each page of a paginated response.

                                                                                    */ @@ -4538,6 +4538,11 @@ export interface ListMembersRequest { *

                                                                                    The nextToken string that specifies which page of results to return in a paginated response.

                                                                                    */ nextToken?: string; + + /** + *

                                                                                    Specifies which accounts to include in the response, based on the status of an account's relationship with the master account. By default, the response includes only current member accounts. To include all accounts, set the value for this parameter to false.

                                                                                    + */ + onlyAssociated?: string; } export namespace ListMembersRequest { @@ -4654,14 +4659,14 @@ export namespace PutClassificationExportConfigurationResponse { export interface TagResourceRequest { /** - *

                                                                                    A map of key-value pairs that specifies the tags to associate with the resource.

                                                                                    A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.

                                                                                    */ - tags: { [key: string]: string } | undefined; + resourceArn: string | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.

                                                                                    + *

                                                                                    A map of key-value pairs that specifies the tags to associate with the resource.

                                                                                    A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

                                                                                    */ - resourceArn: string | undefined; + tags: { [key: string]: string } | undefined; } export namespace TagResourceRequest { @@ -4679,16 +4684,6 @@ export namespace TagResourceResponse { } export interface TestCustomDataIdentifierRequest { - /** - *

                                                                                    The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

                                                                                    - */ - regex: string | undefined; - - /** - *

                                                                                    The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.

                                                                                    - */ - sampleText: string | undefined; - /** *

                                                                                    An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.

                                                                                    */ @@ -4703,6 +4698,16 @@ export interface TestCustomDataIdentifierRequest { *

                                                                                    The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

                                                                                    */ maximumMatchDistance?: number; + + /** + *

                                                                                    The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

                                                                                    + */ + regex: string | undefined; + + /** + *

                                                                                    The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.

                                                                                    + */ + sampleText: string | undefined; } export namespace TestCustomDataIdentifierRequest { @@ -4777,25 +4782,20 @@ export namespace UpdateClassificationJobResponse { } export interface UpdateFindingsFilterRequest { - /** - *

                                                                                    The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

                                                                                    - */ - position?: number; - /** *

                                                                                    The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

                                                                                    */ action?: FindingsFilterAction | string; /** - *

                                                                                    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

                                                                                    We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.

                                                                                    + *

                                                                                    A custom description of the filter. The description can contain as many as 512 characters.

                                                                                    We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

                                                                                    */ - name?: string; + description?: string; /** - *

                                                                                    A custom description of the filter. The description can contain as many as 512 characters.

                                                                                    We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

                                                                                    + *

                                                                                    The criteria to use to filter findings.

                                                                                    */ - description?: string; + findingCriteria?: FindingCriteria; /** *

                                                                                    The unique identifier for the Amazon Macie resource or account that the request applies to.

                                                                                    @@ -4803,9 +4803,14 @@ export interface UpdateFindingsFilterRequest { id: string | undefined; /** - *

                                                                                    The criteria to use to filter findings.

                                                                                    + *

                                                                                    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

                                                                                    We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.

                                                                                    */ - findingCriteria?: FindingCriteria; + name?: string; + + /** + *

                                                                                    The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

                                                                                    + */ + position?: number; } export namespace UpdateFindingsFilterRequest { @@ -4816,14 +4821,14 @@ export namespace UpdateFindingsFilterRequest { export interface UpdateFindingsFilterResponse { /** - *

                                                                                    The unique identifier for the filter that was updated.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the filter that was updated.

                                                                                    */ - id?: string; + arn?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the filter that was updated.

                                                                                    + *

                                                                                    The unique identifier for the filter that was updated.

                                                                                    */ - arn?: string; + id?: string; } export namespace UpdateFindingsFilterResponse { @@ -4834,14 +4839,14 @@ export namespace UpdateFindingsFilterResponse { export interface UpdateMacieSessionRequest { /** - *

                                                                                    Specifies whether to change the status of the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

                                                                                    + * Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). */ - status?: MacieStatus | string; + findingPublishingFrequency?: FindingPublishingFrequency | string; /** - * Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). + *

                                                                                    Specifies whether to change the status of the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

                                                                                    */ - findingPublishingFrequency?: FindingPublishingFrequency | string; + status?: MacieStatus | string; } export namespace UpdateMacieSessionRequest { @@ -4860,14 +4865,14 @@ export namespace UpdateMacieSessionResponse { export interface UpdateMemberSessionRequest { /** - *

                                                                                    Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

                                                                                    + *

                                                                                    The unique identifier for the Amazon Macie resource or account that the request applies to.

                                                                                    */ - status: MacieStatus | string | undefined; + id: string | undefined; /** - *

                                                                                    The unique identifier for the Amazon Macie resource or account that the request applies to.

                                                                                    + *

                                                                                    Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

                                                                                    */ - id: string | undefined; + status: MacieStatus | string | undefined; } export namespace UpdateMemberSessionRequest { diff --git a/clients/client-macie2/pagination/DescribeBucketsPaginator.ts b/clients/client-macie2/pagination/DescribeBucketsPaginator.ts index 8a7abef6c08a..08be65f23737 100644 --- a/clients/client-macie2/pagination/DescribeBucketsPaginator.ts +++ b/clients/client-macie2/pagination/DescribeBucketsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBucketsCommand(input), ...args); + return await client.send(new DescribeBucketsCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/GetUsageStatisticsPaginator.ts b/clients/client-macie2/pagination/GetUsageStatisticsPaginator.ts index ea99c724532b..a4143c450e9a 100644 --- a/clients/client-macie2/pagination/GetUsageStatisticsPaginator.ts +++ b/clients/client-macie2/pagination/GetUsageStatisticsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsageStatisticsCommand(input), ...args); + return await client.send(new GetUsageStatisticsCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListClassificationJobsPaginator.ts b/clients/client-macie2/pagination/ListClassificationJobsPaginator.ts index 14ec44b1336b..2a2d2f28cf76 100644 --- a/clients/client-macie2/pagination/ListClassificationJobsPaginator.ts +++ b/clients/client-macie2/pagination/ListClassificationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClassificationJobsCommand(input), ...args); + return await client.send(new ListClassificationJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListCustomDataIdentifiersPaginator.ts b/clients/client-macie2/pagination/ListCustomDataIdentifiersPaginator.ts index b914ed2bfa0d..ef1598f9ee22 100644 --- a/clients/client-macie2/pagination/ListCustomDataIdentifiersPaginator.ts +++ b/clients/client-macie2/pagination/ListCustomDataIdentifiersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCustomDataIdentifiersCommand(input), ...args); + return await client.send(new ListCustomDataIdentifiersCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListFindingsFiltersPaginator.ts b/clients/client-macie2/pagination/ListFindingsFiltersPaginator.ts index dfc9885ee8ec..22eeb0f6fbe4 100644 --- a/clients/client-macie2/pagination/ListFindingsFiltersPaginator.ts +++ b/clients/client-macie2/pagination/ListFindingsFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsFiltersCommand(input), ...args); + return await client.send(new ListFindingsFiltersCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListFindingsPaginator.ts b/clients/client-macie2/pagination/ListFindingsPaginator.ts index 4200434d5039..e2ddf1e40ee8 100644 --- a/clients/client-macie2/pagination/ListFindingsPaginator.ts +++ b/clients/client-macie2/pagination/ListFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsCommand(input), ...args); + return await client.send(new ListFindingsCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListInvitationsPaginator.ts b/clients/client-macie2/pagination/ListInvitationsPaginator.ts index f87b46ba2b53..fd40387a887a 100644 --- a/clients/client-macie2/pagination/ListInvitationsPaginator.ts +++ b/clients/client-macie2/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input), ...args); + return await client.send(new ListInvitationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListMembersPaginator.ts b/clients/client-macie2/pagination/ListMembersPaginator.ts index 9336c4ed967b..acd9a972088e 100644 --- a/clients/client-macie2/pagination/ListMembersPaginator.ts +++ b/clients/client-macie2/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input), ...args); + return await client.send(new ListMembersCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListOrganizationAdminAccountsPaginator.ts b/clients/client-macie2/pagination/ListOrganizationAdminAccountsPaginator.ts index a0c2ff27271e..8a3a1fc393b2 100644 --- a/clients/client-macie2/pagination/ListOrganizationAdminAccountsPaginator.ts +++ b/clients/client-macie2/pagination/ListOrganizationAdminAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationAdminAccountsCommand(input), ...args); + return await client.send(new ListOrganizationAdminAccountsCommand(input, ...args)); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/protocols/Aws_restJson1.ts b/clients/client-macie2/protocols/Aws_restJson1.ts index 654045e2a6ec..910bd09f04fc 100644 --- a/clients/client-macie2/protocols/Aws_restJson1.ts +++ b/clients/client-macie2/protocols/Aws_restJson1.ts @@ -1293,8 +1293,8 @@ export const serializeAws_restJson1ListInvitationsCommand = async ( }; let resolvedPath = "/invitations"; const query: any = { - ...(input.nextToken !== undefined && { nextToken: input.nextToken }), ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1319,9 +1319,9 @@ export const serializeAws_restJson1ListMembersCommand = async ( }; let resolvedPath = "/members"; const query: any = { - ...(input.onlyAssociated !== undefined && { onlyAssociated: input.onlyAssociated }), ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.onlyAssociated !== undefined && { onlyAssociated: input.onlyAssociated }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -8305,6 +8305,7 @@ const deserializeAws_restJson1Ranges = (output: any, context: __SerdeContext): R const deserializeAws_restJson1_Record = (output: any, context: __SerdeContext): _Record => { return { + jsonPath: output.jsonPath !== undefined && output.jsonPath !== null ? output.jsonPath : undefined, recordIndex: output.recordIndex !== undefined && output.recordIndex !== null ? output.recordIndex : undefined, } as any; }; diff --git a/clients/client-managedblockchain/pagination/ListInvitationsPaginator.ts b/clients/client-managedblockchain/pagination/ListInvitationsPaginator.ts index 6a295b1c7fe8..43bccce77df5 100644 --- a/clients/client-managedblockchain/pagination/ListInvitationsPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input), ...args); + return await client.send(new ListInvitationsCommand(input, ...args)); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListMembersPaginator.ts b/clients/client-managedblockchain/pagination/ListMembersPaginator.ts index 6854a0ea5492..dd22e923e220 100644 --- a/clients/client-managedblockchain/pagination/ListMembersPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input), ...args); + return await client.send(new ListMembersCommand(input, ...args)); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListNetworksPaginator.ts b/clients/client-managedblockchain/pagination/ListNetworksPaginator.ts index 3813e44f5e2b..403e844e4494 100644 --- a/clients/client-managedblockchain/pagination/ListNetworksPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListNetworksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNetworksCommand(input), ...args); + return await client.send(new ListNetworksCommand(input, ...args)); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListNodesPaginator.ts b/clients/client-managedblockchain/pagination/ListNodesPaginator.ts index b16416f4b553..299bd9dbe6b8 100644 --- a/clients/client-managedblockchain/pagination/ListNodesPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListNodesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNodesCommand(input), ...args); + return await client.send(new ListNodesCommand(input, ...args)); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListProposalVotesPaginator.ts b/clients/client-managedblockchain/pagination/ListProposalVotesPaginator.ts index 6adbf0d9550e..fd28bbbfb33e 100644 --- a/clients/client-managedblockchain/pagination/ListProposalVotesPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListProposalVotesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProposalVotesCommand(input), ...args); + return await client.send(new ListProposalVotesCommand(input, ...args)); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListProposalsPaginator.ts b/clients/client-managedblockchain/pagination/ListProposalsPaginator.ts index 23867676d3a9..42835ebcf09b 100644 --- a/clients/client-managedblockchain/pagination/ListProposalsPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListProposalsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProposalsCommand(input), ...args); + return await client.send(new ListProposalsCommand(input, ...args)); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-marketplace-catalog/pagination/ListChangeSetsPaginator.ts b/clients/client-marketplace-catalog/pagination/ListChangeSetsPaginator.ts index 90933a269e84..a69a1bf8b560 100644 --- a/clients/client-marketplace-catalog/pagination/ListChangeSetsPaginator.ts +++ b/clients/client-marketplace-catalog/pagination/ListChangeSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChangeSetsCommand(input), ...args); + return await client.send(new ListChangeSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: MarketplaceCatalog, diff --git a/clients/client-marketplace-catalog/pagination/ListEntitiesPaginator.ts b/clients/client-marketplace-catalog/pagination/ListEntitiesPaginator.ts index 5d122df14cf6..3d7c900b790b 100644 --- a/clients/client-marketplace-catalog/pagination/ListEntitiesPaginator.ts +++ b/clients/client-marketplace-catalog/pagination/ListEntitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntitiesCommand(input), ...args); + return await client.send(new ListEntitiesCommand(input, ...args)); }; const makePagedRequest = async ( client: MarketplaceCatalog, diff --git a/clients/client-mediaconnect/pagination/ListEntitlementsPaginator.ts b/clients/client-mediaconnect/pagination/ListEntitlementsPaginator.ts index d790fa8e52f2..b4e43f90b405 100644 --- a/clients/client-mediaconnect/pagination/ListEntitlementsPaginator.ts +++ b/clients/client-mediaconnect/pagination/ListEntitlementsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntitlementsCommand(input), ...args); + return await client.send(new ListEntitlementsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaConnect, diff --git a/clients/client-mediaconnect/pagination/ListFlowsPaginator.ts b/clients/client-mediaconnect/pagination/ListFlowsPaginator.ts index 3a0eee5fd67e..598eeae8e79a 100644 --- a/clients/client-mediaconnect/pagination/ListFlowsPaginator.ts +++ b/clients/client-mediaconnect/pagination/ListFlowsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFlowsCommand(input), ...args); + return await client.send(new ListFlowsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaConnect, diff --git a/clients/client-mediaconnect/pagination/ListOfferingsPaginator.ts b/clients/client-mediaconnect/pagination/ListOfferingsPaginator.ts index 3e9acc134c96..5b43048947a8 100644 --- a/clients/client-mediaconnect/pagination/ListOfferingsPaginator.ts +++ b/clients/client-mediaconnect/pagination/ListOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOfferingsCommand(input), ...args); + return await client.send(new ListOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaConnect, diff --git a/clients/client-mediaconnect/pagination/ListReservationsPaginator.ts b/clients/client-mediaconnect/pagination/ListReservationsPaginator.ts index df89103ee39e..24ccbaf52e02 100644 --- a/clients/client-mediaconnect/pagination/ListReservationsPaginator.ts +++ b/clients/client-mediaconnect/pagination/ListReservationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReservationsCommand(input), ...args); + return await client.send(new ListReservationsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaConnect, diff --git a/clients/client-mediaconvert/models/models_0.ts b/clients/client-mediaconvert/models/models_0.ts index b5ebab3afc80..2bdefb7088fc 100644 --- a/clients/client-mediaconvert/models/models_0.ts +++ b/clients/client-mediaconvert/models/models_0.ts @@ -70,11 +70,6 @@ export interface AudioNormalizationSettings { */ AlgorithmControl?: AudioNormalizationAlgorithmControl | string; - /** - * When you use Audio normalization (AudioNormalizationSettings), optionally use this setting to specify a target loudness. If you don't specify a value here, the encoder chooses a value for you, based on the algorithm that you choose for Algorithm (algorithm). If you choose algorithm 1770-1, the encoder will choose -24 LKFS; otherwise, the encoder will choose -23 LKFS. - */ - TargetLkfs?: number; - /** * Content measuring above this level will be corrected to the target level. Content measuring below this level will not be corrected. */ @@ -89,6 +84,11 @@ export interface AudioNormalizationSettings { * If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio track loudness. */ PeakCalculation?: AudioNormalizationPeakCalculation | string; + + /** + * When you use Audio normalization (AudioNormalizationSettings), optionally use this setting to specify a target loudness. If you don't specify a value here, the encoder chooses a value for you, based on the algorithm that you choose for Algorithm (algorithm). If you choose algorithm 1770-1, the encoder will choose -24 LKFS; otherwise, the encoder will choose -23 LKFS. + */ + TargetLkfs?: number; } export namespace AudioNormalizationSettings { @@ -148,14 +148,14 @@ export enum AacVbrQuality { */ export interface AacSettings { /** - * VBR Quality Level - Only used if rate_control_mode is VBR. + * Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType. */ - VbrQuality?: AacVbrQuality | string; + AudioDescriptionBroadcasterMix?: AacAudioDescriptionBroadcasterMix | string; /** - * Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose "No container" for the output container. + * Specify the average bitrate in bits per second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values that you choose for Profile (codecProfile), Bitrate control mode (codingMode), and Sample rate (sampleRate). Default values depend on Bitrate control mode and Profile. */ - RawFormat?: AacRawFormat | string; + Bitrate?: number; /** * AAC Profile. @@ -163,9 +163,9 @@ export interface AacSettings { CodecProfile?: AacCodecProfile | string; /** - * Sample rate in Hz. Valid values depend on rate control mode and profile. + * Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. "1.0 - Audio Description (Receiver Mix)" setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E. */ - SampleRate?: number; + CodingMode?: AacCodingMode | string; /** * Rate Control Mode. @@ -173,24 +173,24 @@ export interface AacSettings { RateControlMode?: AacRateControlMode | string; /** - * Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. "1.0 - Audio Description (Receiver Mix)" setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E. + * Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose "No container" for the output container. */ - CodingMode?: AacCodingMode | string; + RawFormat?: AacRawFormat | string; /** - * Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType. + * Sample rate in Hz. Valid values depend on rate control mode and profile. */ - AudioDescriptionBroadcasterMix?: AacAudioDescriptionBroadcasterMix | string; + SampleRate?: number; /** - * Specify the average bitrate in bits per second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values that you choose for Profile (codecProfile), Bitrate control mode (codingMode), and Sample rate (sampleRate). Default values depend on Bitrate control mode and Profile. + * Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers. */ - Bitrate?: number; + Specification?: AacSpecification | string; /** - * Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers. + * VBR Quality Level - Only used if rate_control_mode is VBR. */ - Specification?: AacSpecification | string; + VbrQuality?: AacVbrQuality | string; } export namespace AacSettings { @@ -241,6 +241,11 @@ export interface Ac3Settings { */ Bitrate?: number; + /** + * Specify the bitstream mode for the AC-3 stream that the encoder emits. For more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex E). + */ + BitstreamMode?: Ac3BitstreamMode | string; + /** * Dolby Digital coding mode. Determines number of channels. */ @@ -252,14 +257,14 @@ export interface Ac3Settings { Dialnorm?: number; /** - * Specify the bitstream mode for the AC-3 stream that the encoder emits. For more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex E). + * If set to FILM_STANDARD, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification. */ - BitstreamMode?: Ac3BitstreamMode | string; + DynamicRangeCompressionProfile?: Ac3DynamicRangeCompressionProfile | string; /** - * If set to FILM_STANDARD, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification. + * Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode. */ - DynamicRangeCompressionProfile?: Ac3DynamicRangeCompressionProfile | string; + LfeFilter?: Ac3LfeFilter | string; /** * When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used. @@ -270,11 +275,6 @@ export interface Ac3Settings { * This value is always 48000. It represents the sample rate in Hz. */ SampleRate?: number; - - /** - * Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode. - */ - LfeFilter?: Ac3LfeFilter | string; } export namespace Ac3Settings { @@ -288,9 +288,9 @@ export namespace Ac3Settings { */ export interface AiffSettings { /** - * Sample rate in hz. + * Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track. */ - SampleRate?: number; + BitDepth?: number; /** * Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64. @@ -298,9 +298,9 @@ export interface AiffSettings { Channels?: number; /** - * Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track. + * Sample rate in hz. */ - BitDepth?: number; + SampleRate?: number; } export namespace AiffSettings { @@ -380,83 +380,83 @@ export enum Eac3AtmosSurroundExMode { */ export interface Eac3AtmosSettings { /** - * Specify a value for the following Dolby Atmos setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. + * Specify the average bitrate in bits per second. + * Valid values: 384k, 448k, 640k, 768k */ - LtRtSurroundMixLevel?: number; + Bitrate?: number; /** - * Specify a value for the following Dolby Atmos setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. + * Specify the bitstream mode for the E-AC-3 stream that the encoder emits. For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex E). */ - LoRoSurroundMixLevel?: number; + BitstreamMode?: Eac3AtmosBitstreamMode | string; /** - * Specify the absolute peak level for a signal with dynamic range compression. + * The coding mode for Dolby Digital Plus JOC (Atmos) is always 9.1.6 (CODING_MODE_9_1_6). */ - DynamicRangeCompressionLine?: Eac3AtmosDynamicRangeCompressionLine | string; + CodingMode?: Eac3AtmosCodingMode | string; /** - * Specify a value for the following Dolby Atmos setting: Left total/Right total center mix (Lt/Rt center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, and -6.0. + * Enable Dolby Dialogue Intelligence to adjust loudness based on dialogue analysis. */ - LtRtCenterMixLevel?: number; + DialogueIntelligence?: Eac3AtmosDialogueIntelligence | string; /** - * Choose how the service meters the loudness of your audio. + * Specify the absolute peak level for a signal with dynamic range compression. */ - MeteringMode?: Eac3AtmosMeteringMode | string; + DynamicRangeCompressionLine?: Eac3AtmosDynamicRangeCompressionLine | string; /** - * Specify the bitstream mode for the E-AC-3 stream that the encoder emits. For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex E). + * Specify how the service limits the audio dynamic range when compressing the audio. */ - BitstreamMode?: Eac3AtmosBitstreamMode | string; + DynamicRangeCompressionRf?: Eac3AtmosDynamicRangeCompressionRf | string; /** - * Specify how the service limits the audio dynamic range when compressing the audio. + * Specify a value for the following Dolby Atmos setting: Left only/Right only center mix + * (Lo/Ro center). MediaConvert uses this value for downmixing. How the service uses this + * value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). + * Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, and -6.0. */ - DynamicRangeCompressionRf?: Eac3AtmosDynamicRangeCompressionRf | string; + LoRoCenterMixLevel?: number; /** - * This value is always 48000. It represents the sample rate in Hz. + * Specify a value for the following Dolby Atmos setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. */ - SampleRate?: number; + LoRoSurroundMixLevel?: number; /** - * The coding mode for Dolby Digital Plus JOC (Atmos) is always 9.1.6 (CODING_MODE_9_1_6). + * Specify a value for the following Dolby Atmos setting: Left total/Right total center mix (Lt/Rt center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, and -6.0. */ - CodingMode?: Eac3AtmosCodingMode | string; + LtRtCenterMixLevel?: number; /** - * Choose how the service does stereo downmixing. + * Specify a value for the following Dolby Atmos setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. */ - StereoDownmix?: Eac3AtmosStereoDownmix | string; + LtRtSurroundMixLevel?: number; /** - * Specify whether your input audio has an additional center rear surround channel matrix encoded into your left and right surround channels. + * Choose how the service meters the loudness of your audio. */ - SurroundExMode?: Eac3AtmosSurroundExMode | string; + MeteringMode?: Eac3AtmosMeteringMode | string; /** - * Specify the percentage of audio content that must be speech before the encoder uses the measured speech loudness as the overall program loudness. + * This value is always 48000. It represents the sample rate in Hz. */ - SpeechThreshold?: number; + SampleRate?: number; /** - * Specify a value for the following Dolby Atmos setting: Left only/Right only center mix - * (Lo/Ro center). MediaConvert uses this value for downmixing. How the service uses this - * value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). - * Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, and -6.0. + * Specify the percentage of audio content that must be speech before the encoder uses the measured speech loudness as the overall program loudness. */ - LoRoCenterMixLevel?: number; + SpeechThreshold?: number; /** - * Enable Dolby Dialogue Intelligence to adjust loudness based on dialogue analysis. + * Choose how the service does stereo downmixing. */ - DialogueIntelligence?: Eac3AtmosDialogueIntelligence | string; + StereoDownmix?: Eac3AtmosStereoDownmix | string; /** - * Specify the average bitrate in bits per second. - * Valid values: 384k, 448k, 640k, 768k + * Specify whether your input audio has an additional center rear surround channel matrix encoded into your left and right surround channels. */ - Bitrate?: number; + SurroundExMode?: Eac3AtmosSurroundExMode | string; } export namespace Eac3AtmosSettings { @@ -556,49 +556,49 @@ export enum Eac3SurroundMode { */ export interface Eac3Settings { /** - * When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels. + * If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode. */ - SurroundExMode?: Eac3SurroundExMode | string; + AttenuationControl?: Eac3AttenuationControl | string; /** - * Specify a value for the following Dolby Digital Plus setting: Left total/Right total center mix (Lt/Rt center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total center (ltRtCenterMixLevel). + * Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode. */ - LtRtCenterMixLevel?: number; + Bitrate?: number; /** - * Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through. + * Specify the bitstream mode for the E-AC-3 stream that the encoder emits. For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex E). */ - Dialnorm?: number; + BitstreamMode?: Eac3BitstreamMode | string; /** - * Specify a value for the following Dolby Digital Plus setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only surround (loRoSurroundMixLevel). + * Dolby Digital Plus coding mode. Determines number of channels. */ - LoRoSurroundMixLevel?: number; + CodingMode?: Eac3CodingMode | string; /** - * Specify a value for the following Dolby Digital Plus setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total surround (ltRtSurroundMixLevel). + * Activates a DC highpass filter for all input channels. */ - LtRtSurroundMixLevel?: number; + DcFilter?: Eac3DcFilter | string; /** - * Specify the absolute peak level for a signal with dynamic range compression. + * Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through. */ - DynamicRangeCompressionLine?: Eac3DynamicRangeCompressionLine | string; + Dialnorm?: number; /** - * When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used. + * Specify the absolute peak level for a signal with dynamic range compression. */ - MetadataControl?: Eac3MetadataControl | string; + DynamicRangeCompressionLine?: Eac3DynamicRangeCompressionLine | string; /** - * Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode. + * Specify how the service limits the audio dynamic range when compressing the audio. */ - Bitrate?: number; + DynamicRangeCompressionRf?: Eac3DynamicRangeCompressionRf | string; /** - * Specify a value for the following Dolby Digital Plus setting: Left only/Right only center mix (Lo/Ro center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only center (loRoCenterMixLevel). + * When encoding 3/2 audio, controls whether the LFE channel is enabled */ - LoRoCenterMixLevel?: number; + LfeControl?: Eac3LfeControl | string; /** * Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode. @@ -606,34 +606,39 @@ export interface Eac3Settings { LfeFilter?: Eac3LfeFilter | string; /** - * When encoding 3/2 audio, controls whether the LFE channel is enabled + * Specify a value for the following Dolby Digital Plus setting: Left only/Right only center mix (Lo/Ro center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only center (loRoCenterMixLevel). */ - LfeControl?: Eac3LfeControl | string; + LoRoCenterMixLevel?: number; /** - * Specify how the service limits the audio dynamic range when compressing the audio. + * Specify a value for the following Dolby Digital Plus setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only surround (loRoSurroundMixLevel). */ - DynamicRangeCompressionRf?: Eac3DynamicRangeCompressionRf | string; + LoRoSurroundMixLevel?: number; /** - * When set to WHEN_POSSIBLE, input DD+ audio will be passed through if it is present on the input. this detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding. + * Specify a value for the following Dolby Digital Plus setting: Left total/Right total center mix (Lt/Rt center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total center (ltRtCenterMixLevel). */ - PassthroughControl?: Eac3PassthroughControl | string; + LtRtCenterMixLevel?: number; /** - * Controls the amount of phase-shift applied to the surround channels. Only used for 3/2 coding mode. + * Specify a value for the following Dolby Digital Plus setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total surround (ltRtSurroundMixLevel). */ - PhaseControl?: Eac3PhaseControl | string; + LtRtSurroundMixLevel?: number; /** - * Dolby Digital Plus coding mode. Determines number of channels. + * When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used. */ - CodingMode?: Eac3CodingMode | string; + MetadataControl?: Eac3MetadataControl | string; /** - * When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels. + * When set to WHEN_POSSIBLE, input DD+ audio will be passed through if it is present on the input. this detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding. */ - SurroundMode?: Eac3SurroundMode | string; + PassthroughControl?: Eac3PassthroughControl | string; + + /** + * Controls the amount of phase-shift applied to the surround channels. Only used for 3/2 coding mode. + */ + PhaseControl?: Eac3PhaseControl | string; /** * This value is always 48000. It represents the sample rate in Hz. @@ -646,19 +651,14 @@ export interface Eac3Settings { StereoDownmix?: Eac3StereoDownmix | string; /** - * Specify the bitstream mode for the E-AC-3 stream that the encoder emits. For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex E). - */ - BitstreamMode?: Eac3BitstreamMode | string; - - /** - * If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode. + * When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels. */ - AttenuationControl?: Eac3AttenuationControl | string; + SurroundExMode?: Eac3SurroundExMode | string; /** - * Activates a DC highpass filter for all input channels. + * When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels. */ - DcFilter?: Eac3DcFilter | string; + SurroundMode?: Eac3SurroundMode | string; } export namespace Eac3Settings { @@ -702,6 +702,11 @@ export enum Mp3RateControlMode { * Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3. */ export interface Mp3Settings { + /** + * Specify the average bitrate in bits per second. + */ + Bitrate?: number; + /** * Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2. */ @@ -721,11 +726,6 @@ export interface Mp3Settings { * Required when you set Bitrate control mode (rateControlMode) to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality). */ VbrQuality?: number; - - /** - * Specify the average bitrate in bits per second. - */ - Bitrate?: number; } export namespace Mp3Settings { @@ -765,14 +765,14 @@ export namespace OpusSettings { */ export interface VorbisSettings { /** - * Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The default value is 48000. + * Optional. Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2. The default value is 2. */ - SampleRate?: number; + Channels?: number; /** - * Optional. Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2. The default value is 2. + * Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The default value is 48000. */ - Channels?: number; + SampleRate?: number; /** * Optional. Specify the variable audio quality of this Vorbis output from -1 (lowest quality, ~45 kbit/s) to 10 (highest quality, ~500 kbit/s). The default value is 4 (~128 kbit/s). Values 5 and 6 are approximately 160 and 192 kbit/s, respectively. @@ -801,9 +801,9 @@ export interface WavSettings { BitDepth?: number; /** - * Sample rate in Hz. + * Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64. */ - SampleRate?: number; + Channels?: number; /** * The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to RF64. @@ -811,9 +811,9 @@ export interface WavSettings { Format?: WavFormat | string; /** - * Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64. + * Sample rate in Hz. */ - Channels?: number; + SampleRate?: number; } export namespace WavSettings { @@ -837,9 +837,9 @@ export interface AudioCodecSettings { Ac3Settings?: Ac3Settings; /** - * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV. + * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF. */ - WavSettings?: WavSettings; + AiffSettings?: AiffSettings; /** * Type of Audio codec. @@ -847,14 +847,14 @@ export interface AudioCodecSettings { Codec?: AudioCodec | string; /** - * Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis. + * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3_ATMOS. */ - VorbisSettings?: VorbisSettings; + Eac3AtmosSettings?: Eac3AtmosSettings; /** - * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF. + * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3. */ - AiffSettings?: AiffSettings; + Eac3Settings?: Eac3Settings; /** * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2. @@ -862,24 +862,24 @@ export interface AudioCodecSettings { Mp2Settings?: Mp2Settings; /** - * Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS. + * Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3. */ - OpusSettings?: OpusSettings; + Mp3Settings?: Mp3Settings; /** - * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3_ATMOS. + * Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS. */ - Eac3AtmosSettings?: Eac3AtmosSettings; + OpusSettings?: OpusSettings; /** - * Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3. + * Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis. */ - Mp3Settings?: Mp3Settings; + VorbisSettings?: VorbisSettings; /** - * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3. + * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV. */ - Eac3Settings?: Eac3Settings; + WavSettings?: WavSettings; } export namespace AudioCodecSettings { @@ -1123,6 +1123,11 @@ export namespace ChannelMapping { * Use Manual audio remixing (RemixSettings) to adjust audio levels for each audio channel in each output of your job. With audio remixing, you can output more or fewer audio channels than your input audio source provides. */ export interface RemixSettings { + /** + * Channel mapping (ChannelMapping) contains the group of fields that hold the remixing value for each channel. Units are in dB. Acceptable values are within the range from -60 (mute) through 6. A setting of 0 passes the input channel unchanged to the output channel (no attenuation or amplification). + */ + ChannelMapping?: ChannelMapping; + /** * Specify the number of audio channels from your input that you want to use in your output. With remixing, you might combine or split the data in these channels, so the number of channels in your final output might be different. */ @@ -1132,11 +1137,6 @@ export interface RemixSettings { * Specify the number of channels in this output after remixing. Valid values: 1, 2, 4, 6, 8... 64. (1 and even numbers to 64.) */ ChannelsOut?: number; - - /** - * Channel mapping (ChannelMapping) contains the group of fields that hold the remixing value for each channel. Units are in dB. Acceptable values are within the range from -60 (mute) through 6. A setting of 0 passes the input channel unchanged to the output channel (no attenuation or amplification). - */ - ChannelMapping?: ChannelMapping; } export namespace RemixSettings { @@ -1150,59 +1150,59 @@ export namespace RemixSettings { */ export interface AudioDescription { /** - * Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually Impaired Commentary, 4-255 = Reserved. + * When you mimic a multi-channel audio layout with multiple mono-channel tracks, you can tag each channel layout manually. For example, you would tag the tracks that contain your left, right, and center audio with Left (L), Right (R), and Center (C), respectively. When you don't specify a value, MediaConvert labels your track as Center (C) by default. To use audio layout tagging, your output must be in a QuickTime (.mov) container; your audio codec must be AAC, WAV, or AIFF; and you must set up your audio track to have only one channel. */ - AudioType?: number; + AudioChannelTaggingSettings?: AudioChannelTaggingSettings; /** - * Specifies which audio data to use from each input. In the simplest case, specify an "Audio Selector":#inputs-audio_selector by name based on its order within each input. For example if you specify "Audio Selector 3", then the third audio selector will be used from each input. If an input does not have an "Audio Selector 3", then the audio selector marked as "default" in that input will be used. If there is no audio selector marked as "default", silence will be inserted for the duration of that input. Alternatively, an "Audio Selector Group":#inputs-audio_selector_group name may be specified, with similar default/silence behavior. If no audio_source_name is specified, then "Audio Selector 1" will be chosen automatically. + * Advanced audio normalization settings. Ignore these settings unless you need to comply with a loudness standard. */ - AudioSourceName?: string; + AudioNormalizationSettings?: AudioNormalizationSettings; /** - * When you mimic a multi-channel audio layout with multiple mono-channel tracks, you can tag each channel layout manually. For example, you would tag the tracks that contain your left, right, and center audio with Left (L), Right (R), and Center (C), respectively. When you don't specify a value, MediaConvert labels your track as Center (C) by default. To use audio layout tagging, your output must be in a QuickTime (.mov) container; your audio codec must be AAC, WAV, or AIFF; and you must set up your audio track to have only one channel. + * Specifies which audio data to use from each input. In the simplest case, specify an "Audio Selector":#inputs-audio_selector by name based on its order within each input. For example if you specify "Audio Selector 3", then the third audio selector will be used from each input. If an input does not have an "Audio Selector 3", then the audio selector marked as "default" in that input will be used. If there is no audio selector marked as "default", silence will be inserted for the duration of that input. Alternatively, an "Audio Selector Group":#inputs-audio_selector_group name may be specified, with similar default/silence behavior. If no audio_source_name is specified, then "Audio Selector 1" will be chosen automatically. */ - AudioChannelTaggingSettings?: AudioChannelTaggingSettings; + AudioSourceName?: string; /** - * Specify which source for language code takes precedence for this audio track. When you choose Follow input (FOLLOW_INPUT), the service uses the language code from the input track if it's present. If there's no languge code on the input track, the service uses the code that you specify in the setting Language code (languageCode or customLanguageCode). When you choose Use configured (USE_CONFIGURED), the service uses the language code that you specify. + * Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually Impaired Commentary, 4-255 = Reserved. */ - LanguageCodeControl?: AudioLanguageCodeControl | string; + AudioType?: number; /** - * Advanced audio normalization settings. Ignore these settings unless you need to comply with a loudness standard. + * When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is included in the output. Otherwise the value in Audio Type is included in the output. Note that this field and audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD. */ - AudioNormalizationSettings?: AudioNormalizationSettings; + AudioTypeControl?: AudioTypeControl | string; /** - * Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code' drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language Code' is selected but there is no ISO 639 language code specified by the input. + * Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to audio encoding. The settings in this group vary depending on the value that you choose for Audio codec (Codec). For each codec enum that you choose, define the corresponding settings object. The following lists the codec enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings * MP3, Mp3Settings * WAV, WavSettings * AIFF, AiffSettings * AC3, Ac3Settings * EAC3, Eac3Settings * EAC3_ATMOS, Eac3AtmosSettings * VORBIS, VorbisSettings * OPUS, OpusSettings */ - LanguageCode?: LanguageCode | string; + CodecSettings?: AudioCodecSettings; /** - * Advanced audio remixing settings. + * Specify the language for this audio output track. The service puts this language code into your output audio track when you set Language code control (AudioLanguageCodeControl) to Use configured (USE_CONFIGURED). The service also uses your specified custom language code when you set Language code control (AudioLanguageCodeControl) to Follow input (FOLLOW_INPUT), but your input file doesn't specify a language code. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming. */ - RemixSettings?: RemixSettings; + CustomLanguageCode?: string; /** - * Specify a label for this output audio stream. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting. + * Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code' drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language Code' is selected but there is no ISO 639 language code specified by the input. */ - StreamName?: string; + LanguageCode?: LanguageCode | string; /** - * Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to audio encoding. The settings in this group vary depending on the value that you choose for Audio codec (Codec). For each codec enum that you choose, define the corresponding settings object. The following lists the codec enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings * MP3, Mp3Settings * WAV, WavSettings * AIFF, AiffSettings * AC3, Ac3Settings * EAC3, Eac3Settings * EAC3_ATMOS, Eac3AtmosSettings * VORBIS, VorbisSettings * OPUS, OpusSettings + * Specify which source for language code takes precedence for this audio track. When you choose Follow input (FOLLOW_INPUT), the service uses the language code from the input track if it's present. If there's no languge code on the input track, the service uses the code that you specify in the setting Language code (languageCode or customLanguageCode). When you choose Use configured (USE_CONFIGURED), the service uses the language code that you specify. */ - CodecSettings?: AudioCodecSettings; + LanguageCodeControl?: AudioLanguageCodeControl | string; /** - * Specify the language for this audio output track. The service puts this language code into your output audio track when you set Language code control (AudioLanguageCodeControl) to Use configured (USE_CONFIGURED). The service also uses your specified custom language code when you set Language code control (AudioLanguageCodeControl) to Follow input (FOLLOW_INPUT), but your input file doesn't specify a language code. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming. + * Advanced audio remixing settings. */ - CustomLanguageCode?: string; + RemixSettings?: RemixSettings; /** - * When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is included in the output. Otherwise the value in Audio Type is included in the output. Note that this field and audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD. + * Specify a label for this output audio stream. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting. */ - AudioTypeControl?: AudioTypeControl | string; + StreamName?: string; } export namespace AudioDescription { @@ -1262,93 +1262,93 @@ export enum BurninSubtitleTeletextSpacing { */ export interface BurninDestinationSettings { /** - * Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match. + * If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ - ShadowYOffset?: number; + Alignment?: BurninSubtitleAlignment | string; /** - * Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * Specifies the color of the rectangle behind the captions. + * All burn-in and DVB-Sub font settings must match. */ - XPosition?: number; + BackgroundColor?: BurninSubtitleBackgroundColor | string; /** - * Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption. + * Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match. */ - TeletextSpacing?: BurninSubtitleTeletextSpacing | string; + BackgroundOpacity?: number; /** - * Specifies the color of the rectangle behind the captions. - * All burn-in and DVB-Sub font settings must match. + * Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ - BackgroundColor?: BurninSubtitleBackgroundColor | string; + FontColor?: BurninSubtitleFontColor | string; /** - * A positive integer indicates the exact font size in points. Set to 0 for automatic font size selection. All burn-in and DVB-Sub font settings must match. + * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. + * All burn-in and DVB-Sub font settings must match. */ - FontSize?: number; + FontOpacity?: number; /** - * If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * Font resolution in DPI (dots per inch); default is 96 dpi. + * All burn-in and DVB-Sub font settings must match. */ - Alignment?: BurninSubtitleAlignment | string; + FontResolution?: number; /** - * Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match. + * Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use "AUTOMATIC" or leave unset. This is used to help determine the appropriate font for rendering burn-in captions. */ - ShadowXOffset?: number; + FontScript?: FontScript | string; /** - * Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * A positive integer indicates the exact font size in points. Set to 0 for automatic font size selection. All burn-in and DVB-Sub font settings must match. */ - FontColor?: BurninSubtitleFontColor | string; + FontSize?: number; /** - * Specifies the color of the shadow cast by the captions. - * All burn-in and DVB-Sub font settings must match. + * Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ - ShadowColor?: BurninSubtitleShadowColor | string; + OutlineColor?: BurninSubtitleOutlineColor | string; /** - * Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ - OutlineColor?: BurninSubtitleOutlineColor | string; + OutlineSize?: number; /** - * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match. + * Specifies the color of the shadow cast by the captions. + * All burn-in and DVB-Sub font settings must match. */ - ShadowOpacity?: number; + ShadowColor?: BurninSubtitleShadowColor | string; /** - * Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match. */ - OutlineSize?: number; + ShadowOpacity?: number; /** - * Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match. + * Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match. */ - BackgroundOpacity?: number; + ShadowXOffset?: number; /** - * Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match. */ - YPosition?: number; + ShadowYOffset?: number; /** - * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. - * All burn-in and DVB-Sub font settings must match. + * Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption. */ - FontOpacity?: number; + TeletextSpacing?: BurninSubtitleTeletextSpacing | string; /** - * Font resolution in DPI (dots per inch); default is 96 dpi. - * All burn-in and DVB-Sub font settings must match. + * Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ - FontResolution?: number; + XPosition?: number; /** - * Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use "AUTOMATIC" or leave unset. This is used to help determine the appropriate font for rendering burn-in captions. + * Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ - FontScript?: FontScript | string; + YPosition?: number; } export namespace BurninDestinationSettings { @@ -1421,20 +1421,43 @@ export enum DvbSubtitleTeletextSpacing { * DVB-Sub Destination Settings */ export interface DvbSubDestinationSettings { + /** + * If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + */ + Alignment?: DvbSubtitleAlignment | string; + + /** + * Specifies the color of the rectangle behind the captions. + * All burn-in and DVB-Sub font settings must match. + */ + BackgroundColor?: DvbSubtitleBackgroundColor | string; + /** * Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match. */ BackgroundOpacity?: number; /** - * Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ - OutlineSize?: number; + FontColor?: DvbSubtitleFontColor | string; /** - * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match. + * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. + * All burn-in and DVB-Sub font settings must match. */ - ShadowOpacity?: number; + FontOpacity?: number; + + /** + * Font resolution in DPI (dots per inch); default is 96 dpi. + * All burn-in and DVB-Sub font settings must match. + */ + FontResolution?: number; + + /** + * Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use "AUTOMATIC" or leave unset. This is used to help determine the appropriate font for rendering DVB-Sub captions. + */ + FontScript?: FontScript | string; /** * A positive integer indicates the exact font size in points. Set to 0 for automatic font size selection. All burn-in and DVB-Sub font settings must match. @@ -1447,9 +1470,9 @@ export interface DvbSubDestinationSettings { OutlineColor?: DvbSubtitleOutlineColor | string; /** - * Specify whether your DVB subtitles are standard or for hearing impaired. Choose hearing impaired if your subtitles include audio descriptions and dialogue. Choose standard if your subtitles include only dialogue. + * Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ - SubtitlingType?: DvbSubtitlingType | string; + OutlineSize?: number; /** * Specifies the color of the shadow cast by the captions. @@ -1458,19 +1481,9 @@ export interface DvbSubDestinationSettings { ShadowColor?: DvbSubtitleShadowColor | string; /** - * Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match. - */ - ShadowYOffset?: number; - - /** - * Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption. - */ - TeletextSpacing?: DvbSubtitleTeletextSpacing | string; - - /** - * Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match. */ - FontColor?: DvbSubtitleFontColor | string; + ShadowOpacity?: number; /** * Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match. @@ -1478,42 +1491,29 @@ export interface DvbSubDestinationSettings { ShadowXOffset?: number; /** - * Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. - */ - XPosition?: number; - - /** - * If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. + * Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match. */ - Alignment?: DvbSubtitleAlignment | string; + ShadowYOffset?: number; /** - * Specifies the color of the rectangle behind the captions. - * All burn-in and DVB-Sub font settings must match. + * Specify whether your DVB subtitles are standard or for hearing impaired. Choose hearing impaired if your subtitles include audio descriptions and dialogue. Choose standard if your subtitles include only dialogue. */ - BackgroundColor?: DvbSubtitleBackgroundColor | string; + SubtitlingType?: DvbSubtitlingType | string; /** - * Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use "AUTOMATIC" or leave unset. This is used to help determine the appropriate font for rendering DVB-Sub captions. + * Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption. */ - FontScript?: FontScript | string; + TeletextSpacing?: DvbSubtitleTeletextSpacing | string; /** - * Font resolution in DPI (dots per inch); default is 96 dpi. - * All burn-in and DVB-Sub font settings must match. + * Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ - FontResolution?: number; + XPosition?: number; /** * Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match. */ YPosition?: number; - - /** - * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. - * All burn-in and DVB-Sub font settings must match. - */ - FontOpacity?: number; } export namespace DvbSubDestinationSettings { @@ -1527,14 +1527,14 @@ export namespace DvbSubDestinationSettings { */ export interface EmbeddedDestinationSettings { /** - * Ignore this setting unless your input captions are SCC format and you want both 608 and 708 captions embedded in your output stream. Optionally, specify the 708 service number for each output captions channel. Choose a different number for each channel. To use this setting, also set Force 608 to 708 upconvert (Convert608To708) to Upconvert (UPCONVERT) in your input captions selector settings. If you choose to upconvert but don't specify a 708 service number, MediaConvert uses the number that you specify for CC channel number (destination608ChannelNumber) for the 708 service number. For more information, see https://docs.aws.amazon.com/console/mediaconvert/dual-scc-to-embedded. + * Ignore this setting unless your input captions are SCC format and your output captions are embedded in the video stream. Specify a CC number for each captions channel in this output. If you have two channels, choose CC numbers that aren't in the same field. For example, choose 1 and 3. For more information, see https://docs.aws.amazon.com/console/mediaconvert/dual-scc-to-embedded. */ - Destination708ServiceNumber?: number; + Destination608ChannelNumber?: number; /** - * Ignore this setting unless your input captions are SCC format and your output captions are embedded in the video stream. Specify a CC number for each captions channel in this output. If you have two channels, choose CC numbers that aren't in the same field. For example, choose 1 and 3. For more information, see https://docs.aws.amazon.com/console/mediaconvert/dual-scc-to-embedded. + * Ignore this setting unless your input captions are SCC format and you want both 608 and 708 captions embedded in your output stream. Optionally, specify the 708 service number for each output captions channel. Choose a different number for each channel. To use this setting, also set Force 608 to 708 upconvert (Convert608To708) to Upconvert (UPCONVERT) in your input captions selector settings. If you choose to upconvert but don't specify a 708 service number, MediaConvert uses the number that you specify for CC channel number (destination608ChannelNumber) for the 708 service number. For more information, see https://docs.aws.amazon.com/console/mediaconvert/dual-scc-to-embedded. */ - Destination608ChannelNumber?: number; + Destination708ServiceNumber?: number; } export namespace EmbeddedDestinationSettings { @@ -1642,16 +1642,6 @@ export namespace TtmlDestinationSettings { * Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext. */ export interface CaptionDestinationSettings { - /** - * Settings specific to IMSC caption outputs. - */ - ImscDestinationSettings?: ImscDestinationSettings; - - /** - * Settings specific to TTML caption outputs, including Pass style information (TtmlStylePassthrough). - */ - TtmlDestinationSettings?: TtmlDestinationSettings; - /** * Burn-In Destination Settings. */ @@ -1663,9 +1653,9 @@ export interface CaptionDestinationSettings { DestinationType?: CaptionDestinationType | string; /** - * Settings for SCC caption output. + * DVB-Sub Destination Settings */ - SccDestinationSettings?: SccDestinationSettings; + DvbSubDestinationSettings?: DvbSubDestinationSettings; /** * Settings specific to embedded/ancillary caption outputs, including 608/708 Channel destination number. @@ -1673,14 +1663,24 @@ export interface CaptionDestinationSettings { EmbeddedDestinationSettings?: EmbeddedDestinationSettings; /** - * DVB-Sub Destination Settings + * Settings specific to IMSC caption outputs. */ - DvbSubDestinationSettings?: DvbSubDestinationSettings; + ImscDestinationSettings?: ImscDestinationSettings; + + /** + * Settings for SCC caption output. + */ + SccDestinationSettings?: SccDestinationSettings; /** * Settings for Teletext caption output */ TeletextDestinationSettings?: TeletextDestinationSettings; + + /** + * Settings specific to TTML caption outputs, including Pass style information (TtmlStylePassthrough). + */ + TtmlDestinationSettings?: TtmlDestinationSettings; } export namespace CaptionDestinationSettings { @@ -1699,24 +1699,24 @@ export interface CaptionDescription { CaptionSelectorName?: string; /** - * Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text. + * Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming. */ - LanguageCode?: LanguageCode | string; + CustomLanguageCode?: string; /** - * Specify a label for this set of output captions. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting. + * Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext. */ - LanguageDescription?: string; + DestinationSettings?: CaptionDestinationSettings; /** - * Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext. + * Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text. */ - DestinationSettings?: CaptionDestinationSettings; + LanguageCode?: LanguageCode | string; /** - * Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming. + * Specify a label for this set of output captions. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting. */ - CustomLanguageCode?: string; + LanguageDescription?: string; } export namespace CaptionDescription { @@ -1730,9 +1730,9 @@ export namespace CaptionDescription { */ export interface CaptionDescriptionPreset { /** - * Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text. + * Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming. */ - LanguageCode?: LanguageCode | string; + CustomLanguageCode?: string; /** * Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext. @@ -1740,9 +1740,9 @@ export interface CaptionDescriptionPreset { DestinationSettings?: CaptionDestinationSettings; /** - * Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming. + * Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text. */ - CustomLanguageCode?: string; + LanguageCode?: LanguageCode | string; /** * Specify a label for this set of output captions. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting. @@ -1761,14 +1761,14 @@ export namespace CaptionDescriptionPreset { */ export interface CmafAdditionalManifest { /** - * Specify the outputs that you want this additional top-level manifest to reference. + * Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your HLS group is film-name.m3u8. If you enter "-no-premium" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.m3u8. For HLS output groups, specify a manifestNameModifier that is different from the nameModifier of the output. The service uses the output name modifier to create unique names for the individual variant manifests. */ - SelectedOutputs?: string[]; + ManifestNameModifier?: string; /** - * Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your HLS group is film-name.m3u8. If you enter "-no-premium" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.m3u8. For HLS output groups, specify a manifestNameModifier that is different from the nameModifier of the output. The service uses the output name modifier to create unique names for the individual variant manifests. + * Specify the outputs that you want this additional top-level manifest to reference. */ - ManifestNameModifier?: string; + SelectedOutputs?: string[]; } export namespace CmafAdditionalManifest { @@ -1782,14 +1782,14 @@ export namespace CmafAdditionalManifest { */ export interface DashAdditionalManifest { /** - * Specify the outputs that you want this additional top-level manifest to reference. + * Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your DASH group is film-name.mpd. If you enter "-no-premium" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.mpd. */ - SelectedOutputs?: string[]; + ManifestNameModifier?: string; /** - * Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your DASH group is film-name.mpd. If you enter "-no-premium" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.mpd. + * Specify the outputs that you want this additional top-level manifest to reference. */ - ManifestNameModifier?: string; + SelectedOutputs?: string[]; } export namespace DashAdditionalManifest { @@ -1844,25 +1844,25 @@ export enum HlsAdMarkers { * Caption Language Mapping */ export interface HlsCaptionLanguageMapping { - /** - * Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code - */ - CustomLanguageCode?: string; - /** * Caption channel. */ CaptionChannel?: number; /** - * Caption language description. + * Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code */ - LanguageDescription?: string; + CustomLanguageCode?: string; /** * Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php. */ LanguageCode?: LanguageCode | string; + + /** + * Caption language description. + */ + LanguageDescription?: string; } export namespace HlsCaptionLanguageMapping { @@ -1876,9 +1876,9 @@ export namespace HlsCaptionLanguageMapping { */ export interface HopDestination { /** - * Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to the destination queue. Valid range is 1 to 1440 minutes, inclusive. + * Optional. When you set up a job to use queue hopping, you can specify a different relative priority for the job in the destination queue. If you don't specify, the relative priority will remain the same as in the previous queue. */ - WaitMinutes?: number; + Priority?: number; /** * Optional unless the job is submitted on the default queue. When you set up a job to use queue hopping, you can specify a destination queue. This queue cannot be the original queue to which the job is submitted. If the original queue isn't the default queue and you don't specify the destination queue, the job will move to the default queue. @@ -1886,9 +1886,9 @@ export interface HopDestination { Queue?: string; /** - * Optional. When you set up a job to use queue hopping, you can specify a different relative priority for the job in the destination queue. If you don't specify, the relative priority will remain the same as in the previous queue. + * Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to the destination queue. Valid range is 1 to 1440 minutes, inclusive. */ - Priority?: number; + WaitMinutes?: number; } export namespace HopDestination { @@ -1902,14 +1902,14 @@ export namespace HopDestination { */ export interface Id3Insertion { /** - * Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format. + * Use ID3 tag (Id3) to provide a tag value in base64-encode format. */ - Timecode?: string; + Id3?: string; /** - * Use ID3 tag (Id3) to provide a tag value in base64-encode format. + * Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format. */ - Id3?: string; + Timecode?: string; } export namespace Id3Insertion { @@ -1949,6 +1949,21 @@ export enum AudioSelectorType { * Selector for Audio */ export interface AudioSelector { + /** + * Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code + */ + CustomLanguageCode?: string; + + /** + * Enable this setting on one audio selector to set it as the default for the job. The service uses this default for outputs where it can't find the specified input audio. If you don't set a default, those outputs have no audio. + */ + DefaultSelection?: AudioDefaultSelection | string; + + /** + * Specifies audio data from an external file source. + */ + ExternalAudioFileInput?: string; + /** * Selects a specific language code from within an audio source. */ @@ -1959,20 +1974,15 @@ export interface AudioSelector { */ Offset?: number; - /** - * Enable this setting on one audio selector to set it as the default for the job. The service uses this default for outputs where it can't find the specified input audio. If you don't set a default, those outputs have no audio. - */ - DefaultSelection?: AudioDefaultSelection | string; - /** * Selects a specific PID from within an audio source (e.g. 257 selects PID 0x101). */ Pids?: number[]; /** - * Identify a track from the input audio to include in this selector by entering the track index number. To include several tracks in a single audio selector, specify multiple tracks as follows. Using the console, enter a comma-separated list. For examle, type "1,2,3" to include tracks 1 through 3. Specifying directly in your JSON job file, provide the track numbers in an array. For example, "tracks": [1,2,3]. + * Use this setting for input streams that contain Dolby E, to have the service extract specific program data from the track. To select multiple programs, create multiple selectors with the same Track and different Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the program number from the dropdown list. If you are sending a JSON file, provide the program ID, which is part of the audio metadata. If your input file has incorrect metadata, you can choose All channels instead of a program number to have the service ignore the program IDs and include all the programs in the track. */ - Tracks?: number[]; + ProgramSelection?: number; /** * Use these settings to reorder the audio channels of one input to match those of another input. This allows you to combine the two files into a single output, one after the other. @@ -1985,19 +1995,9 @@ export interface AudioSelector { SelectorType?: AudioSelectorType | string; /** - * Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code - */ - CustomLanguageCode?: string; - - /** - * Specifies audio data from an external file source. - */ - ExternalAudioFileInput?: string; - - /** - * Use this setting for input streams that contain Dolby E, to have the service extract specific program data from the track. To select multiple programs, create multiple selectors with the same Track and different Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the program number from the dropdown list. If you are sending a JSON file, provide the program ID, which is part of the audio metadata. If your input file has incorrect metadata, you can choose All channels instead of a program number to have the service ignore the program IDs and include all the programs in the track. + * Identify a track from the input audio to include in this selector by entering the track index number. To include several tracks in a single audio selector, specify multiple tracks as follows. Using the console, enter a comma-separated list. For examle, type "1,2,3" to include tracks 1 through 3. Specifying directly in your JSON job file, provide the track numbers in an array. For example, "tracks": [1,2,3]. */ - ProgramSelection?: number; + Tracks?: number[]; } export namespace AudioSelector { @@ -2021,9 +2021,9 @@ export enum AncillaryTerminateCaptions { */ export interface AncillarySourceSettings { /** - * By default, the service terminates any unterminated captions at the end of each input. If you want the caption to continue onto your next input, disable this setting. + * Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708. */ - TerminateCaptions?: AncillaryTerminateCaptions | string; + Convert608To708?: AncillaryConvert608To708 | string; /** * Specifies the 608 channel number in the ancillary data track from which to extract captions. Unused for passthrough. @@ -2031,9 +2031,9 @@ export interface AncillarySourceSettings { SourceAncillaryChannelNumber?: number; /** - * Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708. + * By default, the service terminates any unterminated captions at the end of each input. If you want the caption to continue onto your next input, disable this setting. */ - Convert608To708?: AncillaryConvert608To708 | string; + TerminateCaptions?: AncillaryTerminateCaptions | string; } export namespace AncillarySourceSettings { @@ -2073,9 +2073,9 @@ export enum EmbeddedTerminateCaptions { */ export interface EmbeddedSourceSettings { /** - * Specifies the video track index used for extracting captions. The system only supports one input video track, so this should always be set to '1'. + * Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708. */ - Source608TrackNumber?: number; + Convert608To708?: EmbeddedConvert608To708 | string; /** * Specifies the 608/708 channel number within the video track from which to extract captions. Unused for passthrough. @@ -2083,14 +2083,14 @@ export interface EmbeddedSourceSettings { Source608ChannelNumber?: number; /** - * By default, the service terminates any unterminated captions at the end of each input. If you want the caption to continue onto your next input, disable this setting. + * Specifies the video track index used for extracting captions. The system only supports one input video track, so this should always be set to '1'. */ - TerminateCaptions?: EmbeddedTerminateCaptions | string; + Source608TrackNumber?: number; /** - * Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708. + * By default, the service terminates any unterminated captions at the end of each input. If you want the caption to continue onto your next input, disable this setting. */ - Convert608To708?: EmbeddedConvert608To708 | string; + TerminateCaptions?: EmbeddedTerminateCaptions | string; } export namespace EmbeddedSourceSettings { @@ -2130,24 +2130,24 @@ export namespace CaptionSourceFramerate { */ export interface FileSourceSettings { /** - * Ignore this setting unless your input captions format is SCC. To have the service compensate for differing frame rates between your input captions and input video, specify the frame rate of the captions file. Specify this value as a fraction, using the settings Framerate numerator (framerateNumerator) and Framerate denominator (framerateDenominator). For example, you might specify 24 / 1 for 24 fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps. + * Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708. */ - Framerate?: CaptionSourceFramerate; + Convert608To708?: FileSourceConvert608To708 | string; /** - * Specifies a time delta in seconds to offset the captions from the source file. + * Ignore this setting unless your input captions format is SCC. To have the service compensate for differing frame rates between your input captions and input video, specify the frame rate of the captions file. Specify this value as a fraction, using the settings Framerate numerator (framerateNumerator) and Framerate denominator (framerateDenominator). For example, you might specify 24 / 1 for 24 fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps. */ - TimeDelta?: number; + Framerate?: CaptionSourceFramerate; /** - * Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708. + * External caption file used for loading captions. Accepted file extensions are 'scc', 'ttml', 'dfxp', 'stl', 'srt', 'xml', and 'smi'. */ - Convert608To708?: FileSourceConvert608To708 | string; + SourceFile?: string; /** - * External caption file used for loading captions. Accepted file extensions are 'scc', 'ttml', 'dfxp', 'stl', 'srt', 'xml', and 'smi'. + * Specifies a time delta in seconds to offset the captions from the source file. */ - SourceFile?: string; + TimeDelta?: number; } export namespace FileSourceSettings { @@ -2207,6 +2207,11 @@ export namespace TrackSourceSettings { * If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings. */ export interface CaptionSourceSettings { + /** + * Settings for ancillary captions source. + */ + AncillarySourceSettings?: AncillarySourceSettings; + /** * DVB Sub Source Settings */ @@ -2217,30 +2222,25 @@ export interface CaptionSourceSettings { */ EmbeddedSourceSettings?: EmbeddedSourceSettings; + /** + * If your input captions are SCC, SMI, SRT, STL, TTML, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings. + */ + FileSourceSettings?: FileSourceSettings; + /** * Use Source (SourceType) to identify the format of your input captions. The service cannot auto-detect caption format. */ SourceType?: CaptionSourceType | string; /** - * Settings for ancillary captions source. + * Settings specific to Teletext caption sources, including Page number. */ - AncillarySourceSettings?: AncillarySourceSettings; + TeletextSourceSettings?: TeletextSourceSettings; /** * Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings. */ TrackSourceSettings?: TrackSourceSettings; - - /** - * If your input captions are SCC, SMI, SRT, STL, TTML, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings. - */ - FileSourceSettings?: FileSourceSettings; - - /** - * Settings specific to Teletext caption sources, including Page number. - */ - TeletextSourceSettings?: TeletextSourceSettings; } export namespace CaptionSourceSettings { @@ -2259,14 +2259,14 @@ export interface CaptionSelector { CustomLanguageCode?: string; /** - * If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings. + * The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions. */ - SourceSettings?: CaptionSourceSettings; + LanguageCode?: LanguageCode | string; /** - * The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions. + * If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings. */ - LanguageCode?: LanguageCode | string; + SourceSettings?: CaptionSourceSettings; } export namespace CaptionSelector { @@ -2280,9 +2280,9 @@ export namespace CaptionSelector { */ export interface Rectangle { /** - * The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers. + * Height of rectangle in pixels. Specify only even numbers. */ - X?: number; + Height?: number; /** * Width of rectangle in pixels. Specify only even numbers. @@ -2290,14 +2290,14 @@ export interface Rectangle { Width?: number; /** - * The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers. + * The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers. */ - Y?: number; + X?: number; /** - * Height of rectangle in pixels. Specify only even numbers. + * The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers. */ - Height?: number; + Y?: number; } export namespace Rectangle { @@ -2322,24 +2322,24 @@ export enum DecryptionMode { */ export interface InputDecryptionSettings { /** - * Specify the initialization vector that you used when you encrypted your content before uploading it to Amazon S3. You can use a 16-byte initialization vector with any encryption mode. Or, you can use a 12-byte initialization vector with GCM or CTR. MediaConvert accepts only initialization vectors that are base64-encoded. + * Specify the encryption mode that you used to encrypt your input files. */ - InitializationVector?: string; + DecryptionMode?: DecryptionMode | string; /** - * Specify the AWS Region for AWS Key Management Service (KMS) that you used to encrypt your data key, if that Region is different from the one you are using for AWS Elemental MediaConvert. + * Warning! Don't provide your encryption key in plaintext. Your job settings could be intercepted, making your encrypted content vulnerable. Specify the encrypted version of the data key that you used to encrypt your content. The data key must be encrypted by AWS Key Management Service (KMS). The key can be 128, 192, or 256 bits. */ - KmsKeyRegion?: string; + EncryptedDecryptionKey?: string; /** - * Warning! Don't provide your encryption key in plaintext. Your job settings could be intercepted, making your encrypted content vulnerable. Specify the encrypted version of the data key that you used to encrypt your content. The data key must be encrypted by AWS Key Management Service (KMS). The key can be 128, 192, or 256 bits. + * Specify the initialization vector that you used when you encrypted your content before uploading it to Amazon S3. You can use a 16-byte initialization vector with any encryption mode. Or, you can use a 12-byte initialization vector with GCM or CTR. MediaConvert accepts only initialization vectors that are base64-encoded. */ - EncryptedDecryptionKey?: string; + InitializationVector?: string; /** - * Specify the encryption mode that you used to encrypt your input files. + * Specify the AWS Region for AWS Key Management Service (KMS) that you used to encrypt your data key, if that Region is different from the one you are using for AWS Elemental MediaConvert. */ - DecryptionMode?: DecryptionMode | string; + KmsKeyRegion?: string; } export namespace InputDecryptionSettings { @@ -2363,60 +2363,60 @@ export enum InputFilterEnable { * Settings that specify how your still graphic overlay appears. */ export interface InsertableImage { - /** - * Specify how overlapping inserted images appear. Images with higher values for Layer appear on top of images with lower values for Layer. - */ - Layer?: number; - /** * Specify the time, in milliseconds, for the image to remain on the output video. This duration includes fade-in time but not fade-out time. */ Duration?: number; - /** - * Specify the timecode of the frame that you want the overlay to first appear on. This must be in timecode (HH:MM:SS:FF or HH:MM:SS;FF) format. Remember to take into account your timecode source settings. - */ - StartTime?: string; - /** * Specify the length of time, in milliseconds, between the Start time that you specify for the image insertion and the time that the image appears at full opacity. Full opacity is the level that you specify for the opacity setting. If you don't specify a value for Fade-in, the image will appear abruptly at the overlay start time. */ FadeIn?: number; /** - * Specify the width of the inserted image in pixels. If you specify a value that's larger than the video resolution width, the service will crop your overlaid image to fit. To use the native width of the image, keep this setting blank. + * Specify the length of time, in milliseconds, between the end of the time that you have specified for the image overlay Duration and when the overlaid image has faded to total transparency. If you don't specify a value for Fade-out, the image will disappear abruptly at the end of the inserted image duration. */ - Width?: number; + FadeOut?: number; /** * Specify the height of the inserted image in pixels. If you specify a value that's larger than the video resolution height, the service will crop your overlaid image to fit. To use the native height of the image, keep this setting blank. */ Height?: number; + /** + * Specify the HTTP, HTTPS, or Amazon S3 location of the image that you want to overlay on the video. Use a PNG or TGA file. + */ + ImageInserterInput?: string; + /** * Specify the distance, in pixels, between the inserted image and the left edge of the video frame. Required for any image overlay that you specify. */ ImageX?: number; /** - * Use Opacity (Opacity) to specify how much of the underlying video shows through the inserted image. 0 is transparent and 100 is fully opaque. Default is 50. + * Specify the distance, in pixels, between the overlaid image and the top edge of the video frame. Required for any image overlay that you specify. */ - Opacity?: number; + ImageY?: number; /** - * Specify the HTTP, HTTPS, or Amazon S3 location of the image that you want to overlay on the video. Use a PNG or TGA file. + * Specify how overlapping inserted images appear. Images with higher values for Layer appear on top of images with lower values for Layer. */ - ImageInserterInput?: string; + Layer?: number; /** - * Specify the length of time, in milliseconds, between the end of the time that you have specified for the image overlay Duration and when the overlaid image has faded to total transparency. If you don't specify a value for Fade-out, the image will disappear abruptly at the end of the inserted image duration. + * Use Opacity (Opacity) to specify how much of the underlying video shows through the inserted image. 0 is transparent and 100 is fully opaque. Default is 50. */ - FadeOut?: number; + Opacity?: number; /** - * Specify the distance, in pixels, between the overlaid image and the top edge of the video frame. Required for any image overlay that you specify. + * Specify the timecode of the frame that you want the overlay to first appear on. This must be in timecode (HH:MM:SS:FF or HH:MM:SS;FF) format. Remember to take into account your timecode source settings. */ - ImageY?: number; + StartTime?: string; + + /** + * Specify the width of the inserted image in pixels. If you specify a value that's larger than the video resolution width, the service will crop your overlaid image to fit. To use the native width of the image, keep this setting blank. + */ + Width?: number; } export namespace InsertableImage { @@ -2446,14 +2446,14 @@ export namespace ImageInserter { */ export interface InputClipping { /** - * Set Start timecode (StartTimecode) to the beginning of the portion of the input you are clipping. The frame corresponding to the Start timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for Input timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to begin five minutes into the video, use 01:05:00:00. + * Set End timecode (EndTimecode) to the end of the portion of the input you are clipping. The frame corresponding to the End timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for timecode source under input settings (InputTimecodeSource). For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to end six minutes into the video, use 01:06:00:00. */ - StartTimecode?: string; + EndTimecode?: string; /** - * Set End timecode (EndTimecode) to the end of the portion of the input you are clipping. The frame corresponding to the End timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for timecode source under input settings (InputTimecodeSource). For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to end six minutes into the video, use 01:06:00:00. + * Set Start timecode (StartTimecode) to the beginning of the portion of the input you are clipping. The frame corresponding to the Start timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for Input timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to begin five minutes into the video, use 01:05:00:00. */ - EndTimecode?: string; + StartTimecode?: string; } export namespace InputClipping { @@ -2500,11 +2500,6 @@ export enum ColorSpaceUsage { * Use these settings to specify static color calibration metadata, as defined by SMPTE ST 2086. These values don't affect the pixel values that are encoded in the video stream. They are intended to help the downstream video player display content in a way that reflects the intentions of the the content creator. */ export interface Hdr10Metadata { - /** - * Nominal maximum mastering display luminance in units of of 0.0001 candelas per square meter. - */ - MaxLuminance?: number; - /** * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction. */ @@ -2518,47 +2513,52 @@ export interface Hdr10Metadata { /** * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction. */ - WhitePointY?: number; + GreenPrimaryX?: number; /** * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction. */ - RedPrimaryX?: number; + GreenPrimaryY?: number; /** - * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction. + * Maximum light level among all samples in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content. */ - WhitePointX?: number; + MaxContentLightLevel?: number; /** - * Nominal minimum mastering display luminance in units of of 0.0001 candelas per square meter + * Maximum average light level of any frame in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content. */ - MinLuminance?: number; + MaxFrameAverageLightLevel?: number; /** - * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction. + * Nominal maximum mastering display luminance in units of of 0.0001 candelas per square meter. */ - RedPrimaryY?: number; + MaxLuminance?: number; + + /** + * Nominal minimum mastering display luminance in units of of 0.0001 candelas per square meter + */ + MinLuminance?: number; /** * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction. */ - GreenPrimaryY?: number; + RedPrimaryX?: number; /** - * Maximum average light level of any frame in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content. + * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction. */ - MaxFrameAverageLightLevel?: number; + RedPrimaryY?: number; /** * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction. */ - GreenPrimaryX?: number; + WhitePointX?: number; /** - * Maximum light level among all samples in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content. + * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction. */ - MaxContentLightLevel?: number; + WhitePointY?: number; } export namespace Hdr10Metadata { @@ -2580,19 +2580,14 @@ export enum InputRotate { */ export interface VideoSelector { /** - * Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video. Appropriate values vary depending on the input video and must be provided by a color grader. The color grader generates these values during the HDR 10 mastering process. The valid range for each of these settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings - When you specify these values, you must also set Color space (ColorSpace) to HDR 10 (HDR10). To specify whether the the values you specify here take precedence over the values in the metadata of your input file, set Color space usage (ColorSpaceUsage). To specify whether color metadata is included in an output, set Color metadata (ColorMetadata). For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr. - */ - Hdr10Metadata?: Hdr10Metadata; - - /** - * Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. + * Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses. Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs. */ - ProgramNumber?: number; + AlphaBehavior?: AlphaBehavior | string; /** - * Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses. Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs. + * If your input video has accurate color space metadata, or if you don't know about color space, leave this set to the default value Follow (FOLLOW). The service will automatically detect your input color space. If your input video has metadata indicating the wrong color space, specify the accurate color space here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10 (FORCE_HDR10) here and specify correct values in the input HDR 10 metadata (Hdr10Metadata) settings. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr. */ - AlphaBehavior?: AlphaBehavior | string; + ColorSpace?: ColorSpace | string; /** * There are two sources for color metadata, the input file and the job input settings Color space (ColorSpace) and HDR master display information settings(Hdr10Metadata). The Color space usage setting determines which takes precedence. Choose Force (FORCE) to use color metadata from the input job settings. If you don't specify values for those settings, the service defaults to using metadata from your input. FALLBACK - Choose Fallback (FALLBACK) to use color metadata from the source when it is present. If there's no color metadata in your input file, the service defaults to using values you specify in the input settings. @@ -2600,15 +2595,20 @@ export interface VideoSelector { ColorSpaceUsage?: ColorSpaceUsage | string; /** - * If your input video has accurate color space metadata, or if you don't know about color space, leave this set to the default value Follow (FOLLOW). The service will automatically detect your input color space. If your input video has metadata indicating the wrong color space, specify the accurate color space here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10 (FORCE_HDR10) here and specify correct values in the input HDR 10 metadata (Hdr10Metadata) settings. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr. + * Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video. Appropriate values vary depending on the input video and must be provided by a color grader. The color grader generates these values during the HDR 10 mastering process. The valid range for each of these settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings - When you specify these values, you must also set Color space (ColorSpace) to HDR 10 (HDR10). To specify whether the the values you specify here take precedence over the values in the metadata of your input file, set Color space usage (ColorSpaceUsage). To specify whether color metadata is included in an output, set Color metadata (ColorMetadata). For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr. */ - ColorSpace?: ColorSpace | string; + Hdr10Metadata?: Hdr10Metadata; /** * Use PID (Pid) to select specific video data from an input file. Specify this value as an integer; the system automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet identifier, is an identifier for a set of data in an MPEG-2 transport stream container. */ Pid?: number; + /** + * Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. + */ + ProgramNumber?: number; + /** * Use Rotate (InputRotate) to specify how the service rotates your video. You can choose automatic rotation or specify a rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video container is .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the service rotate your video according to the rotation specified in the metadata. The rotation must be within one degree of 90, 180, or 270 degrees. If the rotation metadata specifies any other rotation, the service will default to no rotation. By default, the service does no rotation, even if your input video has rotation metadata. The service doesn't pass through rotation metadata. */ @@ -2626,9 +2626,9 @@ export namespace VideoSelector { */ export interface Input { /** - * Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default. + * Specifies set of audio selectors within an input to combine. An input may have multiple audio selector groups. See "Audio Selector Group":#inputs-audio_selector_group for more information. */ - ProgramNumber?: number; + AudioSelectorGroups?: { [key: string]: AudioSelectorGroup }; /** * Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your outputs. You can use multiple Audio selectors per input. @@ -2641,84 +2641,84 @@ export interface Input { CaptionSelectors?: { [key: string]: CaptionSelector }; /** - * Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data. + * Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. If you specify a value here, it will override any value that you specify in the output setting Cropping selection (crop). */ - PsiControl?: InputPsiControl | string; + Crop?: Rectangle; /** - * Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs. + * Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only manually controllable for MPEG2 and uncompressed video inputs. */ - DenoiseFilter?: InputDenoiseFilter | string; + DeblockFilter?: InputDeblockFilter | string; /** - * Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the service counts input video frames. This input frame count affects only the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode source, the service will use Embedded by default. For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode. + * Settings for decrypting any input files that you encrypt before you upload them to Amazon S3. MediaConvert can decrypt files only when you use AWS Key Management Service (KMS) to encrypt the data key that you use to encrypt your content. */ - TimecodeSource?: InputTimecodeSource | string; + DecryptionSettings?: InputDecryptionSettings; /** - * Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0. + * Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs. */ - FilterStrength?: number; + DenoiseFilter?: InputDenoiseFilter | string; /** - * Specifies set of audio selectors within an input to combine. An input may have multiple audio selector groups. See "Audio Selector Group":#inputs-audio_selector_group for more information. + * Specify the source file for your transcoding job. You can use multiple inputs in a single job. The service concatenates these inputs, in the order that you specify them in the job, to create the outputs. If your input format is IMF, specify your input by providing the path to your CPL. For example, "s3://bucket/vf/cpl.xml". If the CPL is in an incomplete IMP, make sure to use *Supplemental IMPs* (SupplementalImps) to specify any supplemental IMPs that contain assets referenced by the CPL. */ - AudioSelectorGroups?: { [key: string]: AudioSelectorGroup }; + FileInput?: string; /** - * (InputClippings) contains sets of start and end times that together specify a portion of the input to be used in the outputs. If you provide only a start time, the clip will be the entire input from that point to the end. If you provide only an end time, it will be the entire input up to that point. When you specify more than one input clip, the transcoding service creates the job outputs by stringing the clips together in the order you specify them. + * Specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The input is filtered regardless of input type. */ - InputClippings?: InputClipping[]; + FilterEnable?: InputFilterEnable | string; /** - * Specify the timecode that you want the service to use for this input's initial frame. To use this setting, you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to Specified start (SPECIFIEDSTART). For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode. + * Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0. */ - TimecodeStart?: string; + FilterStrength?: number; /** - * When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF. MediaConvert doesn't automatically detect PsF. Therefore, flagging your input as PsF results in better preservation of video quality when you do deinterlacing and frame rate conversion. If you don't specify, the default value is Auto (AUTO). Auto is the correct setting for all inputs that are not PsF. Don't set this value to PsF when your input is interlaced. Doing so creates horizontal interlacing artifacts. + * Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this feature for each input individually. This setting is disabled by default. */ - InputScanType?: InputScanType | string; + ImageInserter?: ImageInserter; /** - * Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this feature for each input individually. This setting is disabled by default. + * (InputClippings) contains sets of start and end times that together specify a portion of the input to be used in the outputs. If you provide only a start time, the clip will be the entire input from that point to the end. If you provide only an end time, it will be the entire input up to that point. When you specify more than one input clip, the transcoding service creates the job outputs by stringing the clips together in the order you specify them. */ - ImageInserter?: ImageInserter; + InputClippings?: InputClipping[]; /** - * Specify the source file for your transcoding job. You can use multiple inputs in a single job. The service concatenates these inputs, in the order that you specify them in the job, to create the outputs. If your input format is IMF, specify your input by providing the path to your CPL. For example, "s3://bucket/vf/cpl.xml". If the CPL is in an incomplete IMP, make sure to use *Supplemental IMPs* (SupplementalImps) to specify any supplemental IMPs that contain assets referenced by the CPL. + * When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF. MediaConvert doesn't automatically detect PsF. Therefore, flagging your input as PsF results in better preservation of video quality when you do deinterlacing and frame rate conversion. If you don't specify, the default value is Auto (AUTO). Auto is the correct setting for all inputs that are not PsF. Don't set this value to PsF when your input is interlaced. Doing so creates horizontal interlacing artifacts. */ - FileInput?: string; + InputScanType?: InputScanType | string; /** - * Settings for decrypting any input files that you encrypt before you upload them to Amazon S3. MediaConvert can decrypt files only when you use AWS Key Management Service (KMS) to encrypt the data key that you use to encrypt your content. + * Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black. If you specify a value here, it will override any value that you specify in the output setting Selection placement (position). If you specify a value here, this will override any AFD values in your input, even if you set Respond to AFD (RespondToAfd) to Respond (RESPOND). If you specify a value here, this will ignore anything that you specify for the setting Scaling Behavior (scalingBehavior). */ - DecryptionSettings?: InputDecryptionSettings; + Position?: Rectangle; /** - * Specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The input is filtered regardless of input type. + * Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default. */ - FilterEnable?: InputFilterEnable | string; + ProgramNumber?: number; /** - * Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. If you specify a value here, it will override any value that you specify in the output setting Cropping selection (crop). + * Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data. */ - Crop?: Rectangle; + PsiControl?: InputPsiControl | string; /** - * Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only manually controllable for MPEG2 and uncompressed video inputs. + * Provide a list of any necessary supplemental IMPs. You need supplemental IMPs if the CPL that you're using for your input is in an incomplete IMP. Specify either the supplemental IMP directories with a trailing slash or the ASSETMAP.xml files. For example ["s3://bucket/ov/", "s3://bucket/vf2/ASSETMAP.xml"]. You don't need to specify the IMP that contains your input CPL, because the service automatically detects it. */ - DeblockFilter?: InputDeblockFilter | string; + SupplementalImps?: string[]; /** - * Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black. If you specify a value here, it will override any value that you specify in the output setting Selection placement (position). If you specify a value here, this will override any AFD values in your input, even if you set Respond to AFD (RespondToAfd) to Respond (RESPOND). If you specify a value here, this will ignore anything that you specify for the setting Scaling Behavior (scalingBehavior). + * Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the service counts input video frames. This input frame count affects only the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode source, the service will use Embedded by default. For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode. */ - Position?: Rectangle; + TimecodeSource?: InputTimecodeSource | string; /** - * Provide a list of any necessary supplemental IMPs. You need supplemental IMPs if the CPL that you're using for your input is in an incomplete IMP. Specify either the supplemental IMP directories with a trailing slash or the ASSETMAP.xml files. For example ["s3://bucket/ov/", "s3://bucket/vf2/ASSETMAP.xml"]. You don't need to specify the IMP that contains your input CPL, because the service automatically detects it. + * Specify the timecode that you want the service to use for this input's initial frame. To use this setting, you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to Specified start (SPECIFIEDSTART). For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode. */ - SupplementalImps?: string[]; + TimecodeStart?: string; /** * Selector for video. @@ -2742,34 +2742,34 @@ export interface InputTemplate { AudioSelectorGroups?: { [key: string]: AudioSelectorGroup }; /** - * Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only manually controllable for MPEG2 and uncompressed video inputs. + * Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your outputs. You can use multiple Audio selectors per input. */ - DeblockFilter?: InputDeblockFilter | string; + AudioSelectors?: { [key: string]: AudioSelector }; /** - * (InputClippings) contains sets of start and end times that together specify a portion of the input to be used in the outputs. If you provide only a start time, the clip will be the entire input from that point to the end. If you provide only an end time, it will be the entire input up to that point. When you specify more than one input clip, the transcoding service creates the job outputs by stringing the clips together in the order you specify them. + * Use captions selectors to specify the captions data from your input that you use in your outputs. You can use up to 20 captions selectors per input. */ - InputClippings?: InputClipping[]; + CaptionSelectors?: { [key: string]: CaptionSelector }; /** - * Specify the timecode that you want the service to use for this input's initial frame. To use this setting, you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to Specified start (SPECIFIEDSTART). For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode. + * Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. If you specify a value here, it will override any value that you specify in the output setting Cropping selection (crop). */ - TimecodeStart?: string; + Crop?: Rectangle; /** - * When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF. MediaConvert doesn't automatically detect PsF. Therefore, flagging your input as PsF results in better preservation of video quality when you do deinterlacing and frame rate conversion. If you don't specify, the default value is Auto (AUTO). Auto is the correct setting for all inputs that are not PsF. Don't set this value to PsF when your input is interlaced. Doing so creates horizontal interlacing artifacts. + * Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only manually controllable for MPEG2 and uncompressed video inputs. */ - InputScanType?: InputScanType | string; + DeblockFilter?: InputDeblockFilter | string; /** - * Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this feature for each input individually. This setting is disabled by default. + * Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs. */ - ImageInserter?: ImageInserter; + DenoiseFilter?: InputDenoiseFilter | string; /** - * Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default. + * Specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The input is filtered regardless of input type. */ - ProgramNumber?: number; + FilterEnable?: InputFilterEnable | string; /** * Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0. @@ -2777,49 +2777,49 @@ export interface InputTemplate { FilterStrength?: number; /** - * Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black. If you specify a value here, it will override any value that you specify in the output setting Selection placement (position). If you specify a value here, this will override any AFD values in your input, even if you set Respond to AFD (RespondToAfd) to Respond (RESPOND). If you specify a value here, this will ignore anything that you specify for the setting Scaling Behavior (scalingBehavior). + * Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this feature for each input individually. This setting is disabled by default. */ - Position?: Rectangle; + ImageInserter?: ImageInserter; /** - * Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data. + * (InputClippings) contains sets of start and end times that together specify a portion of the input to be used in the outputs. If you provide only a start time, the clip will be the entire input from that point to the end. If you provide only an end time, it will be the entire input up to that point. When you specify more than one input clip, the transcoding service creates the job outputs by stringing the clips together in the order you specify them. */ - PsiControl?: InputPsiControl | string; + InputClippings?: InputClipping[]; /** - * Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the service counts input video frames. This input frame count affects only the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode source, the service will use Embedded by default. For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode. + * When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF. MediaConvert doesn't automatically detect PsF. Therefore, flagging your input as PsF results in better preservation of video quality when you do deinterlacing and frame rate conversion. If you don't specify, the default value is Auto (AUTO). Auto is the correct setting for all inputs that are not PsF. Don't set this value to PsF when your input is interlaced. Doing so creates horizontal interlacing artifacts. */ - TimecodeSource?: InputTimecodeSource | string; + InputScanType?: InputScanType | string; /** - * Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your outputs. You can use multiple Audio selectors per input. + * Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black. If you specify a value here, it will override any value that you specify in the output setting Selection placement (position). If you specify a value here, this will override any AFD values in your input, even if you set Respond to AFD (RespondToAfd) to Respond (RESPOND). If you specify a value here, this will ignore anything that you specify for the setting Scaling Behavior (scalingBehavior). */ - AudioSelectors?: { [key: string]: AudioSelector }; + Position?: Rectangle; /** - * Use captions selectors to specify the captions data from your input that you use in your outputs. You can use up to 20 captions selectors per input. + * Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default. */ - CaptionSelectors?: { [key: string]: CaptionSelector }; + ProgramNumber?: number; /** - * Selector for video. + * Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data. */ - VideoSelector?: VideoSelector; + PsiControl?: InputPsiControl | string; /** - * Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs. + * Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the service counts input video frames. This input frame count affects only the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode source, the service will use Embedded by default. For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode. */ - DenoiseFilter?: InputDenoiseFilter | string; + TimecodeSource?: InputTimecodeSource | string; /** - * Specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The input is filtered regardless of input type. + * Specify the timecode that you want the service to use for this input's initial frame. To use this setting, you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to Specified start (SPECIFIEDSTART). For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode. */ - FilterEnable?: InputFilterEnable | string; + TimecodeStart?: string; /** - * Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. If you specify a value here, it will override any value that you specify in the output setting Cropping selection (crop). + * Selector for video. */ - Crop?: Rectangle; + VideoSelector?: VideoSelector; } export namespace InputTemplate { @@ -2954,9 +2954,9 @@ export namespace OutputGroupDetail { */ export interface QueueTransition { /** - * The time, in Unix epoch format, that the job moved from the source queue to the destination queue. + * The queue that the job was on after the transition. */ - Timestamp?: Date; + DestinationQueue?: string; /** * The queue that the job was on before the transition. @@ -2964,9 +2964,9 @@ export interface QueueTransition { SourceQueue?: string; /** - * The queue that the job was on after the transition. + * The time, in Unix epoch format, that the job moved from the source queue to the destination queue. */ - DestinationQueue?: string; + Timestamp?: Date; } export namespace QueueTransition { @@ -3028,9 +3028,9 @@ export namespace EsamSignalProcessingNotification { */ export interface EsamSettings { /** - * Specifies an ESAM SignalProcessingNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the signal processing instructions that you provide in the setting SCC XML (sccXml). + * Specifies an ESAM ManifestConfirmConditionNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the manifest conditioning instructions that you provide in the setting MCC XML (mccXml). */ - SignalProcessingNotification?: EsamSignalProcessingNotification; + ManifestConfirmConditionNotification?: EsamManifestConfirmConditionNotification; /** * Specifies the stream distance, in milliseconds, between the SCTE 35 messages that the transcoder places and the splice points that they refer to. If the time between the start of the asset and the SCTE-35 message is less than this value, then the transcoder places the SCTE-35 marker at the beginning of the stream. @@ -3038,9 +3038,9 @@ export interface EsamSettings { ResponseSignalPreroll?: number; /** - * Specifies an ESAM ManifestConfirmConditionNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the manifest conditioning instructions that you provide in the setting MCC XML (mccXml). + * Specifies an ESAM SignalProcessingNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the signal processing instructions that you provide in the setting SCC XML (sccXml). */ - ManifestConfirmConditionNotification?: EsamManifestConfirmConditionNotification; + SignalProcessingNotification?: EsamSignalProcessingNotification; } export namespace EsamSettings { @@ -3106,14 +3106,14 @@ export enum MotionImagePlayback { */ export interface MotionImageInserter { /** - * Specify the .mov file or series of .png files that you want to overlay on your video. For .png files, provide the file name of the first file in the series. Make sure that the names of the .png files end with sequential numbers that specify the order that they are played in. For example, overlay_000.png, overlay_001.png, overlay_002.png, and so on. The sequence must start at zero, and each image file name must have the same number of digits. Pad your initial file names with enough zeros to complete the sequence. For example, if the first image is overlay_0.png, there can be only 10 images in the sequence, with the last image being overlay_9.png. But if the first image is overlay_00.png, there can be 100 images in the sequence. + * If your motion graphic asset is a .mov file, keep this setting unspecified. If your motion graphic asset is a series of .png files, specify the frame rate of the overlay in frames per second, as a fraction. For example, specify 24 fps as 24/1. Make sure that the number of images in your series matches the frame rate and your intended overlay duration. For example, if you want a 30-second overlay at 30 fps, you should have 900 .png images. This overlay frame rate doesn't need to match the frame rate of the underlying video. */ - Input?: string; + Framerate?: MotionImageInsertionFramerate; /** - * Use Offset to specify the placement of your motion graphic overlay on the video frame. Specify in pixels, from the upper-left corner of the frame. If you don't specify an offset, the service scales your overlay to the full size of the frame. Otherwise, the service inserts the overlay at its native resolution and scales the size up or down with any video scaling. + * Specify the .mov file or series of .png files that you want to overlay on your video. For .png files, provide the file name of the first file in the series. Make sure that the names of the .png files end with sequential numbers that specify the order that they are played in. For example, overlay_000.png, overlay_001.png, overlay_002.png, and so on. The sequence must start at zero, and each image file name must have the same number of digits. Pad your initial file names with enough zeros to complete the sequence. For example, if the first image is overlay_0.png, there can be only 10 images in the sequence, with the last image being overlay_9.png. But if the first image is overlay_00.png, there can be 100 images in the sequence. */ - Offset?: MotionImageInsertionOffset; + Input?: string; /** * Choose the type of motion graphic asset that you are providing for your overlay. You can choose either a .mov file or a series of .png files. @@ -3121,19 +3121,19 @@ export interface MotionImageInserter { InsertionMode?: MotionImageInsertionMode | string; /** - * If your motion graphic asset is a .mov file, keep this setting unspecified. If your motion graphic asset is a series of .png files, specify the frame rate of the overlay in frames per second, as a fraction. For example, specify 24 fps as 24/1. Make sure that the number of images in your series matches the frame rate and your intended overlay duration. For example, if you want a 30-second overlay at 30 fps, you should have 900 .png images. This overlay frame rate doesn't need to match the frame rate of the underlying video. + * Use Offset to specify the placement of your motion graphic overlay on the video frame. Specify in pixels, from the upper-left corner of the frame. If you don't specify an offset, the service scales your overlay to the full size of the frame. Otherwise, the service inserts the overlay at its native resolution and scales the size up or down with any video scaling. */ - Framerate?: MotionImageInsertionFramerate; + Offset?: MotionImageInsertionOffset; /** - * Specify when the motion overlay begins. Use timecode format (HH:MM:SS:FF or HH:MM:SS;FF). Make sure that the timecode you provide here takes into account how you have set up your timecode configuration under both job settings and input settings. The simplest way to do that is to set both to start at 0. If you need to set up your job to follow timecodes embedded in your source that don't start at zero, make sure that you specify a start time that is after the first embedded timecode. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/setting-up-timecode.html Find job-wide and input timecode configuration settings in your JSON job settings specification at settings>timecodeConfig>source and settings>inputs>timecodeSource. + * Specify whether your motion graphic overlay repeats on a loop or plays only once. */ - StartTime?: string; + Playback?: MotionImagePlayback | string; /** - * Specify whether your motion graphic overlay repeats on a loop or plays only once. + * Specify when the motion overlay begins. Use timecode format (HH:MM:SS:FF or HH:MM:SS;FF). Make sure that the timecode you provide here takes into account how you have set up your timecode configuration under both job settings and input settings. The simplest way to do that is to set both to start at 0. If you need to set up your job to follow timecodes embedded in your source that don't start at zero, make sure that you specify a start time that is after the first embedded timecode. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/setting-up-timecode.html Find job-wide and input timecode configuration settings in your JSON job settings specification at settings>timecodeConfig>source and settings>inputs>timecodeSource. */ - Playback?: MotionImagePlayback | string; + StartTime?: string; } export namespace MotionImageInserter { @@ -3147,14 +3147,14 @@ export namespace MotionImageInserter { */ export interface NielsenConfiguration { /** - * Use Distributor ID (DistributorID) to specify the distributor ID that is assigned to your organization by Neilsen. + * Nielsen has discontinued the use of breakout code functionality. If you must include this property, set the value to zero. */ - DistributorId?: string; + BreakoutCode?: number; /** - * Nielsen has discontinued the use of breakout code functionality. If you must include this property, set the value to zero. + * Use Distributor ID (DistributorID) to specify the distributor ID that is assigned to your organization by Neilsen. */ - BreakoutCode?: number; + DistributorId?: string; } export namespace NielsenConfiguration { @@ -3184,19 +3184,24 @@ export enum NielsenUniqueTicPerAudioTrackType { */ export interface NielsenNonLinearWatermarkSettings { /** - * Specify the endpoint for the TIC server that you have deployed and configured in the AWS Cloud. Required for all Nielsen non-linear watermarking. MediaConvert can't connect directly to a TIC server. Instead, you must use API Gateway to provide a RESTful interface between MediaConvert and a TIC server that you deploy in your AWS account. For more information on deploying a TIC server in your AWS account and the required API Gateway, contact Nielsen support. + * Choose the type of Nielsen watermarks that you want in your outputs. When you choose NAES 2 and NW (NAES2_AND_NW), you must provide a value for the setting SID (sourceId). When you choose CBET (CBET), you must provide a value for the setting CSID (cbetSourceId). When you choose NAES 2, NW, and CBET (NAES2_AND_NW_AND_CBET), you must provide values for both of these settings. */ - TicServerUrl?: string; + ActiveWatermarkProcess?: NielsenActiveWatermarkProcessType | string; /** - * Use the SID that Nielsen provides to you. This source ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking. This ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking. + * Optional. Use this setting when you want the service to include an ADI file in the Nielsen metadata .zip file. To provide an ADI file, store it in Amazon S3 and provide a URL to it here. The URL should be in the following format: S3://bucket/path/ADI-file. For more information about the metadata .zip file, see the setting Metadata destination (metadataDestination). */ - SourceId?: number; + AdiFilename?: string; /** - * To create assets that have the same TIC values in each audio track, keep the default value Share TICs (SAME_TICS_PER_TRACK). To create assets that have unique TIC values for each audio track, choose Use unique TICs (RESERVE_UNIQUE_TICS_PER_TRACK). + * Use the asset ID that you provide to Nielsen to uniquely identify this asset. Required for all Nielsen non-linear watermarking. */ - UniqueTicPerAudioTrack?: NielsenUniqueTicPerAudioTrackType | string; + AssetId?: string; + + /** + * Use the asset name that you provide to Nielsen for this asset. Required for all Nielsen non-linear watermarking. + */ + AssetName?: string; /** * Use the CSID that Nielsen provides to you. This CBET source ID should be unique to your Nielsen account but common to all of your output assets that have CBET watermarking. Required when you choose a value for the setting Watermark types (ActiveWatermarkProcess) that includes CBET. @@ -3209,14 +3214,14 @@ export interface NielsenNonLinearWatermarkSettings { EpisodeId?: string; /** - * Choose the type of Nielsen watermarks that you want in your outputs. When you choose NAES 2 and NW (NAES2_AND_NW), you must provide a value for the setting SID (sourceId). When you choose CBET (CBET), you must provide a value for the setting CSID (cbetSourceId). When you choose NAES 2, NW, and CBET (NAES2_AND_NW_AND_CBET), you must provide values for both of these settings. + * Specify the Amazon S3 location where you want MediaConvert to save your Nielsen non-linear metadata .zip file. This Amazon S3 bucket must be in the same Region as the one where you do your MediaConvert transcoding. If you want to include an ADI file in this .zip file, use the setting ADI file (adiFilename) to specify it. MediaConvert delivers the Nielsen metadata .zip files only to your metadata destination Amazon S3 bucket. It doesn't deliver the .zip files to Nielsen. You are responsible for delivering the metadata .zip files to Nielsen. */ - ActiveWatermarkProcess?: NielsenActiveWatermarkProcessType | string; + MetadataDestination?: string; /** - * Optional. Use this setting when you want the service to include an ADI file in the Nielsen metadata .zip file. To provide an ADI file, store it in Amazon S3 and provide a URL to it here. The URL should be in the following format: S3://bucket/path/ADI-file. For more information about the metadata .zip file, see the setting Metadata destination (metadataDestination). + * Use the SID that Nielsen provides to you. This source ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking. This ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking. */ - AdiFilename?: string; + SourceId?: number; /** * Required. Specify whether your source content already contains Nielsen non-linear watermarks. When you set this value to Watermarked (WATERMARKED), the service fails the job. Nielsen requires that you add non-linear watermarking to only clean content that doesn't already have non-linear Nielsen watermarks. @@ -3224,23 +3229,60 @@ export interface NielsenNonLinearWatermarkSettings { SourceWatermarkStatus?: NielsenSourceWatermarkStatusType | string; /** - * Specify the Amazon S3 location where you want MediaConvert to save your Nielsen non-linear metadata .zip file. This Amazon S3 bucket must be in the same Region as the one where you do your MediaConvert transcoding. If you want to include an ADI file in this .zip file, use the setting ADI file (adiFilename) to specify it. MediaConvert delivers the Nielsen metadata .zip files only to your metadata destination Amazon S3 bucket. It doesn't deliver the .zip files to Nielsen. You are responsible for delivering the metadata .zip files to Nielsen. + * Specify the endpoint for the TIC server that you have deployed and configured in the AWS Cloud. Required for all Nielsen non-linear watermarking. MediaConvert can't connect directly to a TIC server. Instead, you must use API Gateway to provide a RESTful interface between MediaConvert and a TIC server that you deploy in your AWS account. For more information on deploying a TIC server in your AWS account and the required API Gateway, contact Nielsen support. */ - MetadataDestination?: string; + TicServerUrl?: string; /** - * Use the asset name that you provide to Nielsen for this asset. Required for all Nielsen non-linear watermarking. + * To create assets that have the same TIC values in each audio track, keep the default value Share TICs (SAME_TICS_PER_TRACK). To create assets that have unique TIC values for each audio track, choose Use unique TICs (RESERVE_UNIQUE_TICS_PER_TRACK). */ - AssetName?: string; + UniqueTicPerAudioTrack?: NielsenUniqueTicPerAudioTrackType | string; +} + +export namespace NielsenNonLinearWatermarkSettings { + export const filterSensitiveLog = (obj: NielsenNonLinearWatermarkSettings): any => ({ + ...obj, + }); +} +/** + * Use automated ABR to have MediaConvert set up the renditions in your ABR package for you automatically, based on characteristics of your input video. This feature optimizes video quality while minimizing the overall size of your ABR package. + */ +export interface AutomatedAbrSettings { /** - * Use the asset ID that you provide to Nielsen to uniquely identify this asset. Required for all Nielsen non-linear watermarking. + * Optional. The maximum target bit rate used in your automated ABR stack. Use this value to set an upper limit on the bandwidth consumed by the highest-quality rendition. This is the rendition that is delivered to viewers with the fastest internet connections. If you don't specify a value, MediaConvert uses 8,000,000 (8 mb/s) by default. */ - AssetId?: string; + MaxAbrBitrate?: number; + + /** + * Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set this to Auto in the console, which is equivalent to excluding it from your JSON job specification, MediaConvert defaults to a limit of 15. + */ + MaxRenditions?: number; + + /** + * Optional. The minimum target bitrate used in your automated ABR stack. Use this value to set a lower limit on the bitrate of video delivered to viewers with slow internet connections. If you don't specify a value, MediaConvert uses 600,000 (600 kb/s) by default. + */ + MinAbrBitrate?: number; } -export namespace NielsenNonLinearWatermarkSettings { - export const filterSensitiveLog = (obj: NielsenNonLinearWatermarkSettings): any => ({ +export namespace AutomatedAbrSettings { + export const filterSensitiveLog = (obj: AutomatedAbrSettings): any => ({ + ...obj, + }); +} + +/** + * Use automated encoding to have MediaConvert choose your encoding settings for you, based on characteristics of your input video. + */ +export interface AutomatedEncodingSettings { + /** + * Use automated ABR to have MediaConvert set up the renditions in your ABR package for you automatically, based on characteristics of your input video. This feature optimizes video quality while minimizing the overall size of your ABR package. + */ + AbrSettings?: AutomatedAbrSettings; +} + +export namespace AutomatedEncodingSettings { + export const filterSensitiveLog = (obj: AutomatedEncodingSettings): any => ({ ...obj, }); } @@ -3309,14 +3351,14 @@ export namespace S3EncryptionSettings { */ export interface S3DestinationSettings { /** - * Settings for how your job outputs are encrypted as they are uploaded to Amazon S3. + * Optional. Have MediaConvert automatically apply Amazon S3 access control for the outputs in this output group. When you don't use this setting, S3 automatically applies the default access control list PRIVATE. */ - Encryption?: S3EncryptionSettings; + AccessControl?: S3DestinationAccessControl; /** - * Optional. Have MediaConvert automatically apply Amazon S3 access control for the outputs in this output group. When you don't use this setting, S3 automatically applies the default access control list PRIVATE. + * Settings for how your job outputs are encrypted as they are uploaded to Amazon S3. */ - AccessControl?: S3DestinationAccessControl; + Encryption?: S3EncryptionSettings; } export namespace S3DestinationSettings { @@ -3355,16 +3397,6 @@ export enum CmafInitializationVectorInManifest { * If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead. */ export interface SpekeKeyProviderCmaf { - /** - * Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content. - */ - Url?: string; - - /** - * Specify the resource ID that your SPEKE-compliant key provider uses to identify this content. - */ - ResourceId?: string; - /** * If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate's Amazon Resource Name (ARN) here. */ @@ -3379,6 +3411,16 @@ export interface SpekeKeyProviderCmaf { * Specify the DRM system ID that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. The HLS manifest can currently signal only one system ID. For more information, see https://dashif.org/identifiers/content_protection/. */ HlsSignaledSystemIds?: string[]; + + /** + * Specify the resource ID that your SPEKE-compliant key provider uses to identify this content. + */ + ResourceId?: string; + + /** + * Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content. + */ + Url?: string; } export namespace SpekeKeyProviderCmaf { @@ -3391,25 +3433,25 @@ export namespace SpekeKeyProviderCmaf { * Use these settings to set up encryption with a static key provider. */ export interface StaticKeyProvider { - /** - * Relates to DRM implementation. Either a single positive integer version value or a slash delimited list of version values (1/2/3). - */ - KeyFormatVersions?: string; - /** * Relates to DRM implementation. Sets the value of the KEYFORMAT attribute. Must be 'identity' or a reverse DNS string. May be omitted to indicate an implicit value of 'identity'. */ KeyFormat?: string; /** - * Relates to DRM implementation. The location of the license server used for protecting content. + * Relates to DRM implementation. Either a single positive integer version value or a slash delimited list of version values (1/2/3). */ - Url?: string; + KeyFormatVersions?: string; /** * Relates to DRM implementation. Use a 32-character hexidecimal string to specify Key Value (StaticKeyValue). */ StaticKeyValue?: string; + + /** + * Relates to DRM implementation. The location of the license server used for protecting content. + */ + Url?: string; } export namespace StaticKeyProvider { @@ -3433,15 +3475,20 @@ export interface CmafEncryptionSettings { ConstantInitializationVector?: string; /** - * If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead. + * Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR). */ - SpekeKeyProvider?: SpekeKeyProviderCmaf; + EncryptionMethod?: CmafEncryptionType | string; /** * When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests. */ InitializationVectorInManifest?: CmafInitializationVectorInManifest | string; + /** + * If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead. + */ + SpekeKeyProvider?: SpekeKeyProviderCmaf; + /** * Use these settings to set up encryption with a static key provider. */ @@ -3451,11 +3498,6 @@ export interface CmafEncryptionSettings { * Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html. */ Type?: CmafKeyProviderType | string; - - /** - * Specify the encryption scheme that you want the service to use when encrypting your CMAF segments. Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR). - */ - EncryptionMethod?: CmafEncryptionType | string; } export namespace CmafEncryptionSettings { @@ -3514,69 +3556,74 @@ export interface CmafGroupSettings { AdditionalManifests?: CmafAdditionalManifest[]; /** - * When set to GZIP, compresses HLS playlist. + * A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file. */ - ManifestCompression?: CmafManifestCompression | string; + BaseUrl?: string; /** - * Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a single output file and it does not cause the creation of many output files as in other output types. + * When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay. */ - FragmentLength?: number; + ClientCache?: CmafClientCache | string; /** - * A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file. + * Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation. */ - BaseUrl?: string; + CodecSpecification?: CmafCodecSpecification | string; /** - * When you enable Precise segment duration in DASH manifests (writeSegmentTimelineInRepresentation), your DASH manifest shows precise segment durations. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When this feature isn't enabled, the segment durations in your DASH manifest are approximate. The segment duration information appears in the duration attribute of the SegmentTemplate element. + * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file. */ - WriteSegmentTimelineInRepresentation?: CmafWriteSegmentTimelineInRepresentation | string; + Destination?: string; /** - * When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created. + * Settings associated with the destination. Will vary based on the type of destination */ - SegmentControl?: CmafSegmentControl | string; + DestinationSettings?: DestinationSettings; /** - * When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay. + * DRM settings. */ - ClientCache?: CmafClientCache | string; + Encryption?: CmafEncryptionSettings; /** - * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file. + * Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a single output file and it does not cause the creation of many output files as in other output types. */ - Destination?: string; + FragmentLength?: number; /** - * Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation. + * When set to GZIP, compresses HLS playlist. */ - CodecSpecification?: CmafCodecSpecification | string; + ManifestCompression?: CmafManifestCompression | string; /** - * Use this setting to specify the length, in seconds, of each individual CMAF segment. This value applies to the whole package; that is, to every output in the output group. Note that segments end on the first keyframe after this number of seconds, so the actual segment length might be slightly longer. If you set Segment control (CmafSegmentControl) to single file, the service puts the content of each output in a single file that has metadata that marks these segments. If you set it to segmented files, the service creates multiple files for each output, each with the content of one segment. + * Indicates whether the output manifest should use floating point values for segment duration. */ - SegmentLength?: number; + ManifestDurationFormat?: CmafManifestDurationFormat | string; /** * Minimum time of initially buffered media that is needed to ensure smooth playout. */ MinBufferTime?: number; + /** + * Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds. + */ + MinFinalSegmentLength?: number; + /** * Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control (SegmentControl) to Single file (SINGLE_FILE). */ MpdProfile?: CmafMpdProfile | string; /** - * Settings associated with the destination. Will vary based on the type of destination + * When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created. */ - DestinationSettings?: DestinationSettings; + SegmentControl?: CmafSegmentControl | string; /** - * Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds. + * Use this setting to specify the length, in seconds, of each individual CMAF segment. This value applies to the whole package; that is, to every output in the output group. Note that segments end on the first keyframe after this number of seconds, so the actual segment length might be slightly longer. If you set Segment control (CmafSegmentControl) to single file, the service puts the content of each output in a single file that has metadata that marks these segments. If you set it to segmented files, the service creates multiple files for each output, each with the content of one segment. */ - MinFinalSegmentLength?: number; + SegmentLength?: number; /** * Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest. @@ -3584,24 +3631,19 @@ export interface CmafGroupSettings { StreamInfResolution?: CmafStreamInfResolution | string; /** - * When set to ENABLED, an Apple HLS manifest will be generated for this output. - */ - WriteHlsManifest?: CmafWriteHLSManifest | string; - - /** - * DRM settings. + * When set to ENABLED, a DASH MPD manifest will be generated for this output. */ - Encryption?: CmafEncryptionSettings; + WriteDashManifest?: CmafWriteDASHManifest | string; /** - * When set to ENABLED, a DASH MPD manifest will be generated for this output. + * When set to ENABLED, an Apple HLS manifest will be generated for this output. */ - WriteDashManifest?: CmafWriteDASHManifest | string; + WriteHlsManifest?: CmafWriteHLSManifest | string; /** - * Indicates whether the output manifest should use floating point values for segment duration. + * When you enable Precise segment duration in DASH manifests (writeSegmentTimelineInRepresentation), your DASH manifest shows precise segment durations. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When this feature isn't enabled, the segment durations in your DASH manifest are approximate. The segment duration information appears in the duration attribute of the SegmentTemplate element. */ - ManifestDurationFormat?: CmafManifestDurationFormat | string; + WriteSegmentTimelineInRepresentation?: CmafWriteSegmentTimelineInRepresentation | string; } export namespace CmafGroupSettings { @@ -3620,10 +3662,9 @@ export enum DashIsoPlaybackDeviceCompatibility { */ export interface SpekeKeyProvider { /** - * Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. Other group types support one system id. See - * https://dashif.org/identifiers/content_protection/ for more details. + * If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate's Amazon Resource Name (ARN) here. */ - SystemIds?: string[]; + CertificateArn?: string; /** * Specify the resource ID that your SPEKE-compliant key provider uses to identify this content. @@ -3631,9 +3672,10 @@ export interface SpekeKeyProvider { ResourceId?: string; /** - * If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate's Amazon Resource Name (ARN) here. + * Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. Other group types support one system id. See + * https://dashif.org/identifiers/content_protection/ for more details. */ - CertificateArn?: string; + SystemIds?: string[]; /** * Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content. @@ -3652,14 +3694,14 @@ export namespace SpekeKeyProvider { */ export interface DashIsoEncryptionSettings { /** - * If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead. + * This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH H.264 outputs with DRM encryption. Choose Unencrypted SEI (UNENCRYPTED_SEI) only to correct problems with playback on older devices. Otherwise, keep the default setting CENC v1 (CENC_V1). If you choose Unencrypted SEI, for that output, the service will exclude the access unit delimiter and will leave the SEI NAL units unencrypted. */ - SpekeKeyProvider?: SpekeKeyProvider; + PlaybackDeviceCompatibility?: DashIsoPlaybackDeviceCompatibility | string; /** - * This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH H.264 outputs with DRM encryption. Choose Unencrypted SEI (UNENCRYPTED_SEI) only to correct problems with playback on older devices. Otherwise, keep the default setting CENC v1 (CENC_V1). If you choose Unencrypted SEI, for that output, the service will exclude the access unit delimiter and will leave the SEI NAL units unencrypted. + * If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead. */ - PlaybackDeviceCompatibility?: DashIsoPlaybackDeviceCompatibility | string; + SpekeKeyProvider?: SpekeKeyProvider; } export namespace DashIsoEncryptionSettings { @@ -3693,49 +3735,49 @@ export enum DashIsoWriteSegmentTimelineInRepresentation { */ export interface DashIsoGroupSettings { /** - * Settings associated with the destination. Will vary based on the type of destination + * By default, the service creates one .mpd DASH manifest for each DASH ISO output group in your job. This default manifest references every output in the output group. To create additional DASH manifests that reference a subset of the outputs in the output group, specify a list of them here. */ - DestinationSettings?: DestinationSettings; + AdditionalManifests?: DashAdditionalManifest[]; /** - * If you get an HTTP error in the 400 range when you play back your DASH output, enable this setting and run your transcoding job again. When you enable this setting, the service writes precise segment durations in the DASH manifest. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When you don't enable this setting, the service writes approximate segment durations in your DASH manifest. + * A partial URI prefix that will be put in the manifest (.mpd) file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file. */ - WriteSegmentTimelineInRepresentation?: DashIsoWriteSegmentTimelineInRepresentation | string; + BaseUrl?: string; /** - * Minimum time of initially buffered media that is needed to ensure smooth playout. + * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file. */ - MinBufferTime?: number; + Destination?: string; /** - * DRM settings. + * Settings associated with the destination. Will vary based on the type of destination */ - Encryption?: DashIsoEncryptionSettings; + DestinationSettings?: DestinationSettings; /** - * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file. + * DRM settings. */ - Destination?: string; + Encryption?: DashIsoEncryptionSettings; /** - * Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control (SegmentControl) to Single file (SINGLE_FILE). + * Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a single output file and it does not cause the creation of many output files as in other output types. */ - MpdProfile?: DashIsoMpdProfile | string; + FragmentLength?: number; /** - * A partial URI prefix that will be put in the manifest (.mpd) file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file. + * Supports HbbTV specification as indicated */ - BaseUrl?: string; + HbbtvCompliance?: DashIsoHbbtvCompliance | string; /** - * Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a single output file and it does not cause the creation of many output files as in other output types. + * Minimum time of initially buffered media that is needed to ensure smooth playout. */ - FragmentLength?: number; + MinBufferTime?: number; /** - * Length of mpd segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer. When Emit Single File is checked, the segmentation is internal to a single output file and it does not cause the creation of many output files as in other output types. + * Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control (SegmentControl) to Single file (SINGLE_FILE). */ - SegmentLength?: number; + MpdProfile?: DashIsoMpdProfile | string; /** * When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created. @@ -3743,14 +3785,14 @@ export interface DashIsoGroupSettings { SegmentControl?: DashIsoSegmentControl | string; /** - * By default, the service creates one .mpd DASH manifest for each DASH ISO output group in your job. This default manifest references every output in the output group. To create additional DASH manifests that reference a subset of the outputs in the output group, specify a list of them here. + * Length of mpd segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer. When Emit Single File is checked, the segmentation is internal to a single output file and it does not cause the creation of many output files as in other output types. */ - AdditionalManifests?: DashAdditionalManifest[]; + SegmentLength?: number; /** - * Supports HbbTV specification as indicated + * If you get an HTTP error in the 400 range when you play back your DASH output, enable this setting and run your transcoding job again. When you enable this setting, the service writes precise segment durations in the DASH manifest. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When you don't enable this setting, the service writes approximate segment durations in your DASH manifest. */ - HbbtvCompliance?: DashIsoHbbtvCompliance | string; + WriteSegmentTimelineInRepresentation?: DashIsoWriteSegmentTimelineInRepresentation | string; } export namespace DashIsoGroupSettings { @@ -3831,24 +3873,24 @@ export enum HlsKeyProviderType { */ export interface HlsEncryptionSettings { /** - * Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in the web interface also disables encryption. + * This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default. */ - EncryptionMethod?: HlsEncryptionType | string; + ConstantInitializationVector?: string; /** - * Use these settings to set up encryption with a static key provider. + * Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in the web interface also disables encryption. */ - StaticKeyProvider?: StaticKeyProvider; + EncryptionMethod?: HlsEncryptionType | string; /** - * Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html. + * The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest. */ - Type?: HlsKeyProviderType | string; + InitializationVectorInManifest?: HlsInitializationVectorInManifest | string; /** - * This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default. + * Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for offline Apple HLS FairPlay content protection. */ - ConstantInitializationVector?: string; + OfflineEncrypted?: HlsOfflineEncrypted | string; /** * If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead. @@ -3856,14 +3898,14 @@ export interface HlsEncryptionSettings { SpekeKeyProvider?: SpekeKeyProvider; /** - * Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for offline Apple HLS FairPlay content protection. + * Use these settings to set up encryption with a static key provider. */ - OfflineEncrypted?: HlsOfflineEncrypted | string; + StaticKeyProvider?: StaticKeyProvider; /** - * The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest. + * Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html. */ - InitializationVectorInManifest?: HlsInitializationVectorInManifest | string; + Type?: HlsKeyProviderType | string; } export namespace HlsEncryptionSettings { @@ -3913,39 +3955,39 @@ export enum HlsTimedMetadataId3Frame { */ export interface HlsGroupSettings { /** - * Provides an extra millisecond delta offset to fine tune the timestamps. + * Choose one or more ad marker types to decorate your Apple HLS manifest. This setting does not determine whether SCTE-35 markers appear in the outputs themselves. */ - TimestampDeltaMilliseconds?: number; + AdMarkers?: (HlsAdMarkers | string)[]; /** - * Settings associated with the destination. Will vary based on the type of destination + * By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your job. This default manifest references every output in the output group. To create additional top-level manifests that reference a subset of the outputs in the output group, specify a list of them here. */ - DestinationSettings?: DestinationSettings; + AdditionalManifests?: HlsAdditionalManifest[]; /** - * Indicates whether segments should be placed in subdirectories. + * Ignore this setting unless you are using FairPlay DRM with Verimatrix and you encounter playback issues. Keep the default value, Include (INCLUDE), to output audio-only headers. Choose Exclude (EXCLUDE) to remove the audio-only headers from your audio segments. */ - DirectoryStructure?: HlsDirectoryStructure | string; + AudioOnlyHeader?: HlsAudioOnlyHeader | string; /** - * Choose one or more ad marker types to decorate your Apple HLS manifest. This setting does not determine whether SCTE-35 markers appear in the outputs themselves. + * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest is delivered from a different URL than the main .m3u8 file. */ - AdMarkers?: (HlsAdMarkers | string)[]; + BaseUrl?: string; /** - * Indicates whether the output manifest should use floating point values for segment duration. + * Language to be used on Caption outputs */ - ManifestDurationFormat?: HlsManifestDurationFormat | string; + CaptionLanguageMappings?: HlsCaptionLanguageMapping[]; /** - * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest is delivered from a different URL than the main .m3u8 file. + * Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS lines in the manifest. Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for each Language Code you specify. Make sure to specify the languages in the order in which they appear in the original source (if the source is embedded format) or the order of the caption selectors (if the source is other than embedded). Otherwise, languages in the manifest will not match up properly with the output captions. None: Include CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any CLOSED-CAPTIONS line from the manifest. */ - BaseUrl?: string; + CaptionLanguageSetting?: HlsCaptionLanguageSetting | string; /** - * Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS lines in the manifest. Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for each Language Code you specify. Make sure to specify the languages in the order in which they appear in the original source (if the source is embedded format) or the order of the caption selectors (if the source is other than embedded). Otherwise, languages in the manifest will not match up properly with the output captions. None: Include CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any CLOSED-CAPTIONS line from the manifest. + * When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay. */ - CaptionLanguageSetting?: HlsCaptionLanguageSetting | string; + ClientCache?: HlsClientCache | string; /** * Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation. @@ -3953,29 +3995,34 @@ export interface HlsGroupSettings { CodecSpecification?: HlsCodecSpecification | string; /** - * When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE tags to index segment for playback. + * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file. */ - SegmentControl?: HlsSegmentControl | string; + Destination?: string; /** - * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file. + * Settings associated with the destination. Will vary based on the type of destination */ - Destination?: string; + DestinationSettings?: DestinationSettings; /** - * When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay. + * Indicates whether segments should be placed in subdirectories. */ - ClientCache?: HlsClientCache | string; + DirectoryStructure?: HlsDirectoryStructure | string; /** - * Language to be used on Caption outputs + * DRM settings. */ - CaptionLanguageMappings?: HlsCaptionLanguageMapping[]; + Encryption?: HlsEncryptionSettings; /** - * Indicates ID3 frame that has the timecode. + * When set to GZIP, compresses HLS playlist. */ - TimedMetadataId3Frame?: HlsTimedMetadataId3Frame | string; + ManifestCompression?: HlsManifestCompression | string; + + /** + * Indicates whether the output manifest should use floating point values for segment duration. + */ + ManifestDurationFormat?: HlsManifestDurationFormat | string; /** * Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds. @@ -3983,14 +4030,14 @@ export interface HlsGroupSettings { MinFinalSegmentLength?: number; /** - * Indicates whether the .m3u8 manifest file should be generated for this HLS output group. + * When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed. */ - OutputSelection?: HlsOutputSelection | string; + MinSegmentLength?: number; /** - * Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest. + * Indicates whether the .m3u8 manifest file should be generated for this HLS output group. */ - StreamInfResolution?: HlsStreamInfResolution | string; + OutputSelection?: HlsOutputSelection | string; /** * Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as follows: either the program date and time are initialized using the input timecode source, or the time is initialized using the input timecode source and the date is initialized using the timestamp_offset. @@ -3998,19 +4045,14 @@ export interface HlsGroupSettings { ProgramDateTime?: HlsProgramDateTime | string; /** - * DRM settings. - */ - Encryption?: HlsEncryptionSettings; - - /** - * When set to GZIP, compresses HLS playlist. + * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. */ - ManifestCompression?: HlsManifestCompression | string; + ProgramDateTimePeriod?: number; /** - * By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your job. This default manifest references every output in the output group. To create additional top-level manifests that reference a subset of the outputs in the output group, specify a list of them here. + * When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE tags to index segment for playback. */ - AdditionalManifests?: HlsAdditionalManifest[]; + SegmentControl?: HlsSegmentControl | string; /** * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer. @@ -4023,24 +4065,24 @@ export interface HlsGroupSettings { SegmentsPerSubdirectory?: number; /** - * Timed Metadata interval in seconds. + * Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest. */ - TimedMetadataId3Period?: number; + StreamInfResolution?: HlsStreamInfResolution | string; /** - * When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed. + * Indicates ID3 frame that has the timecode. */ - MinSegmentLength?: number; + TimedMetadataId3Frame?: HlsTimedMetadataId3Frame | string; /** - * Ignore this setting unless you are using FairPlay DRM with Verimatrix and you encounter playback issues. Keep the default value, Include (INCLUDE), to output audio-only headers. Choose Exclude (EXCLUDE) to remove the audio-only headers from your audio segments. + * Timed Metadata interval in seconds. */ - AudioOnlyHeader?: HlsAudioOnlyHeader | string; + TimedMetadataId3Period?: number; /** - * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. + * Provides an extra millisecond delta offset to fine tune the timestamps. */ - ProgramDateTimePeriod?: number; + TimestampDeltaMilliseconds?: number; } export namespace HlsGroupSettings { @@ -4054,14 +4096,14 @@ export namespace HlsGroupSettings { */ export interface MsSmoothAdditionalManifest { /** - * Specify the outputs that you want this additional top-level manifest to reference. + * Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your Microsoft Smooth group is film-name.ismv. If you enter "-no-premium" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.ismv. */ - SelectedOutputs?: string[]; + ManifestNameModifier?: string; /** - * Specify a name modifier that the service adds to the name of this manifest to make it different from the file names of the other main manifests in the output group. For example, say that the default main manifest for your Microsoft Smooth group is film-name.ismv. If you enter "-no-premium" for this setting, then the file name the service generates for this top-level manifest is film-name-no-premium.ismv. + * Specify the outputs that you want this additional top-level manifest to reference. */ - ManifestNameModifier?: string; + SelectedOutputs?: string[]; } export namespace MsSmoothAdditionalManifest { @@ -4101,39 +4143,39 @@ export enum MsSmoothManifestEncoding { */ export interface MsSmoothGroupSettings { /** - * Settings associated with the destination. Will vary based on the type of destination + * By default, the service creates one .ism Microsoft Smooth Streaming manifest for each Microsoft Smooth Streaming output group in your job. This default manifest references every output in the output group. To create additional manifests that reference a subset of the outputs in the output group, specify a list of them here. */ - DestinationSettings?: DestinationSettings; + AdditionalManifests?: MsSmoothAdditionalManifest[]; /** - * Use Fragment length (FragmentLength) to specify the mp4 fragment sizes in seconds. Fragment length must be compatible with GOP size and frame rate. + * COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a Microsoft Smooth output group into a single audio stream. */ - FragmentLength?: number; + AudioDeduplication?: MsSmoothAudioDeduplication | string; /** - * By default, the service creates one .ism Microsoft Smooth Streaming manifest for each Microsoft Smooth Streaming output group in your job. This default manifest references every output in the output group. To create additional manifests that reference a subset of the outputs in the output group, specify a list of them here. + * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file. */ - AdditionalManifests?: MsSmoothAdditionalManifest[]; + Destination?: string; /** - * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file. + * Settings associated with the destination. Will vary based on the type of destination */ - Destination?: string; + DestinationSettings?: DestinationSettings; /** - * COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a Microsoft Smooth output group into a single audio stream. + * If you are using DRM, set DRM System (MsSmoothEncryptionSettings) to specify the value SpekeKeyProvider. */ - AudioDeduplication?: MsSmoothAudioDeduplication | string; + Encryption?: MsSmoothEncryptionSettings; /** - * Use Manifest encoding (MsSmoothManifestEncoding) to specify the encoding format for the server and client manifest. Valid options are utf8 and utf16. + * Use Fragment length (FragmentLength) to specify the mp4 fragment sizes in seconds. Fragment length must be compatible with GOP size and frame rate. */ - ManifestEncoding?: MsSmoothManifestEncoding | string; + FragmentLength?: number; /** - * If you are using DRM, set DRM System (MsSmoothEncryptionSettings) to specify the value SpekeKeyProvider. + * Use Manifest encoding (MsSmoothManifestEncoding) to specify the encoding format for the server and client manifest. Valid options are utf8 and utf16. */ - Encryption?: MsSmoothEncryptionSettings; + ManifestEncoding?: MsSmoothManifestEncoding | string; } export namespace MsSmoothGroupSettings { @@ -4155,14 +4197,14 @@ export enum OutputGroupType { */ export interface OutputGroupSettings { /** - * Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, CMAF) + * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to CMAF_GROUP_SETTINGS. Each output in a CMAF Output Group may only contain a single video, audio, or caption output. */ - Type?: OutputGroupType | string; + CmafGroupSettings?: CmafGroupSettings; /** - * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to CMAF_GROUP_SETTINGS. Each output in a CMAF Output Group may only contain a single video, audio, or caption output. + * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to DASH_ISO_GROUP_SETTINGS. */ - CmafGroupSettings?: CmafGroupSettings; + DashIsoGroupSettings?: DashIsoGroupSettings; /** * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to FILE_GROUP_SETTINGS. @@ -4175,14 +4217,14 @@ export interface OutputGroupSettings { HlsGroupSettings?: HlsGroupSettings; /** - * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to DASH_ISO_GROUP_SETTINGS. + * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to MS_SMOOTH_GROUP_SETTINGS. */ - DashIsoGroupSettings?: DashIsoGroupSettings; + MsSmoothGroupSettings?: MsSmoothGroupSettings; /** - * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to MS_SMOOTH_GROUP_SETTINGS. + * Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, CMAF) */ - MsSmoothGroupSettings?: MsSmoothGroupSettings; + Type?: OutputGroupType | string; } export namespace OutputGroupSettings { @@ -4271,11 +4313,6 @@ export enum M2tsBufferModel { * Inserts DVB Network Information Table (NIT) at the specified table repetition interval. */ export interface DvbNitSettings { - /** - * The number of milliseconds between instances of this table in the output transport stream. - */ - NitInterval?: number; - /** * The numeric value placed in the Network Information Table (NIT). */ @@ -4285,6 +4322,11 @@ export interface DvbNitSettings { * The network name text placed in the network_name_descriptor inside the Network Information Table. Maximum length is 256 characters. */ NetworkName?: string; + + /** + * The number of milliseconds between instances of this table in the output transport stream. + */ + NitInterval?: number; } export namespace DvbNitSettings { @@ -4305,24 +4347,24 @@ export enum OutputSdt { */ export interface DvbSdtSettings { /** - * The service name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters. + * Selects method of inserting SDT information into output stream. "Follow input SDT" copies SDT information from input stream to output stream. "Follow input SDT if present" copies SDT information from input stream to output stream if SDT information is present in the input, otherwise it will fall back on the user-defined values. Enter "SDT Manually" means user will enter the SDT information. "No SDT" means output stream will not contain SDT information. */ - ServiceName?: string; + OutputSdt?: OutputSdt | string; /** - * The service provider name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters. + * The number of milliseconds between instances of this table in the output transport stream. */ - ServiceProviderName?: string; + SdtInterval?: number; /** - * Selects method of inserting SDT information into output stream. "Follow input SDT" copies SDT information from input stream to output stream. "Follow input SDT if present" copies SDT information from input stream to output stream if SDT information is present in the input, otherwise it will fall back on the user-defined values. Enter "SDT Manually" means user will enter the SDT information. "No SDT" means output stream will not contain SDT information. + * The service name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters. */ - OutputSdt?: OutputSdt | string; + ServiceName?: string; /** - * The number of milliseconds between instances of this table in the output transport stream. + * The service provider name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters. */ - SdtInterval?: number; + ServiceProviderName?: string; } export namespace DvbSdtSettings { @@ -4422,9 +4464,9 @@ export enum M2tsSegmentationStyle { */ export interface M2tsSettings { /** - * Specify the length, in seconds, of each segment. Required unless markers is set to _none_. + * Selects between the DVB and ATSC buffer models for Dolby Digital audio. */ - SegmentationTime?: number; + AudioBufferModel?: M2tsAudioBufferModel | string; /** * The number of audio frames to insert for each PES packet. @@ -4432,24 +4474,24 @@ export interface M2tsSettings { AudioFramesPerPes?: number; /** - * Specify the packet identifier (PID) for the program clock reference (PCR) in this output. If you do not specify a value, the service will use the value for Video PID (VideoPid). + * Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492. */ - PcrPid?: number; + AudioPids?: number[]; /** - * Specify the packet identifier (PID) of the private metadata stream. Default is 503. + * Specify the output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000. */ - PrivateMetadataPid?: number; + Bitrate?: number; /** - * Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream. + * Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, use multiplex buffer model. If set to NONE, this can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions. */ - Scte35Pid?: number; + BufferModel?: M2tsBufferModel | string; /** - * The length, in seconds, of each fragment. Only used with EBP markers. + * Inserts DVB Network Information Table (NIT) at the specified table repetition interval. */ - FragmentTime?: number; + DvbNitSettings?: DvbNitSettings; /** * Inserts DVB Service Description Table (NIT) at the specified table repetition interval. @@ -4457,44 +4499,44 @@ export interface M2tsSettings { DvbSdtSettings?: DvbSdtSettings; /** - * When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is "stretched" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate. + * Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479. */ - MinEbpInterval?: number; + DvbSubPids?: number[]; /** - * Selects between the DVB and ATSC buffer models for Dolby Digital audio. + * Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. */ - AudioBufferModel?: M2tsAudioBufferModel | string; + DvbTdtSettings?: DvbTdtSettings; /** - * Keep the default value (DEFAULT) unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force (FORCE). + * Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499. */ - ForceTsVideoEbpOrder?: M2tsForceTsVideoEbpOrder | string; + DvbTeletextPid?: number; /** - * Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, use multiplex buffer model. If set to NONE, this can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions. + * When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4. The interval between these additional markers will be fixed, and will be slightly shorter than the video EBP marker interval. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY). */ - BufferModel?: M2tsBufferModel | string; + EbpAudioInterval?: M2tsEbpAudioInterval | string; /** - * Specify the packet identifier (PID) of the elementary video stream in the transport stream. + * Selects which PIDs to place EBP markers on. They can either be placed only on the video PID, or on both the video PID and all audio PIDs. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY). */ - VideoPid?: number; + EbpPlacement?: M2tsEbpPlacement | string; /** - * If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output. + * Controls whether to include the ES Rate field in the PES header. */ - NielsenId3?: M2tsNielsenId3 | string; + EsRateInPes?: M2tsEsRateInPes | string; /** - * When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4. The interval between these additional markers will be fixed, and will be slightly shorter than the video EBP marker interval. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY). + * Keep the default value (DEFAULT) unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force (FORCE). */ - EbpAudioInterval?: M2tsEbpAudioInterval | string; + ForceTsVideoEbpOrder?: M2tsForceTsVideoEbpOrder | string; /** - * Specify the output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000. + * The length, in seconds, of each fragment. Only used with EBP markers. */ - Bitrate?: number; + FragmentTime?: number; /** * Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream. @@ -4502,54 +4544,49 @@ export interface M2tsSettings { MaxPcrInterval?: number; /** - * Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499. - */ - DvbTeletextPid?: number; - - /** - * Selects which PIDs to place EBP markers on. They can either be placed only on the video PID, or on both the video PID and all audio PIDs. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY). + * When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is "stretched" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate. */ - EbpPlacement?: M2tsEbpPlacement | string; + MinEbpInterval?: number; /** - * Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479. + * If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output. */ - DvbSubPids?: number[]; + NielsenId3?: M2tsNielsenId3 | string; /** - * Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml). + * Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets. */ - Scte35Esam?: M2tsScte35Esam; + NullPacketBitrate?: number; /** - * Specify the packet identifier (PID) for timed metadata in this output. Default is 502. + * The number of milliseconds between instances of this table in the output transport stream. */ - TimedMetadataPid?: number; + PatInterval?: number; /** - * Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream. + * When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This is effective only when the PCR PID is the same as the video or audio elementary stream. */ - PmtInterval?: number; + PcrControl?: M2tsPcrControl | string; /** - * Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets. + * Specify the packet identifier (PID) for the program clock reference (PCR) in this output. If you do not specify a value, the service will use the value for Video PID (VideoPid). */ - NullPacketBitrate?: number; + PcrPid?: number; /** - * When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate. + * Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream. */ - RateMode?: M2tsRateMode | string; + PmtInterval?: number; /** - * When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This is effective only when the PCR PID is the same as the video or audio elementary stream. + * Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480. */ - PcrControl?: M2tsPcrControl | string; + PmtPid?: number; /** - * Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. + * Specify the packet identifier (PID) of the private metadata stream. Default is 503. */ - DvbTdtSettings?: DvbTdtSettings; + PrivateMetadataPid?: number; /** * Use Program number (programNumber) to specify the program number used in the program map table (PMT) for this output. Default is 1. Program numbers and program map tables are parts of MPEG-2 transport stream containers, used for organizing data. @@ -4557,19 +4594,19 @@ export interface M2tsSettings { ProgramNumber?: number; /** - * Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492. + * When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate. */ - AudioPids?: number[]; + RateMode?: M2tsRateMode | string; /** - * Specify the ID for the transport stream itself in the program map table for this output. Transport stream IDs and program map tables are parts of MPEG-2 transport stream containers, used for organizing data. + * Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml). */ - TransportStreamId?: number; + Scte35Esam?: M2tsScte35Esam; /** - * Inserts DVB Network Information Table (NIT) at the specified table repetition interval. + * Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream. */ - DvbNitSettings?: DvbNitSettings; + Scte35Pid?: number; /** * For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None (NONE). Also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml). Also enable ESAM SCTE-35 (include the property scte35Esam). @@ -4577,29 +4614,34 @@ export interface M2tsSettings { Scte35Source?: M2tsScte35Source | string; /** - * Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480. + * Inserts segmentation markers at each segmentation_time period. rai_segstart sets the Random Access Indicator bit in the adaptation field. rai_adapt sets the RAI bit and adds the current timecode in the private data bytes. psi_segstart inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary Point information to the adaptation field as per OpenCable specification OC-SP-EBP-I01-130118. ebp_legacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format. */ - PmtPid?: number; + SegmentationMarkers?: M2tsSegmentationMarkers | string; /** - * The number of milliseconds between instances of this table in the output transport stream. + * The segmentation style parameter controls how segmentation markers are inserted into the transport stream. With avails, it is possible that segments may be truncated, which can influence where future segmentation markers are inserted. When a segmentation style of "reset_cadence" is selected and a segment is truncated due to an avail, we will reset the segmentation cadence. This means the subsequent segment will have a duration of of $segmentation_time seconds. When a segmentation style of "maintain_cadence" is selected and a segment is truncated due to an avail, we will not reset the segmentation cadence. This means the subsequent segment will likely be truncated as well. However, all segments after that will have a duration of $segmentation_time seconds. Note that EBP lookahead is a slight exception to this rule. */ - PatInterval?: number; + SegmentationStyle?: M2tsSegmentationStyle | string; /** - * Controls whether to include the ES Rate field in the PES header. + * Specify the length, in seconds, of each segment. Required unless markers is set to _none_. */ - EsRateInPes?: M2tsEsRateInPes | string; + SegmentationTime?: number; /** - * Inserts segmentation markers at each segmentation_time period. rai_segstart sets the Random Access Indicator bit in the adaptation field. rai_adapt sets the RAI bit and adds the current timecode in the private data bytes. psi_segstart inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary Point information to the adaptation field as per OpenCable specification OC-SP-EBP-I01-130118. ebp_legacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format. + * Specify the packet identifier (PID) for timed metadata in this output. Default is 502. */ - SegmentationMarkers?: M2tsSegmentationMarkers | string; + TimedMetadataPid?: number; /** - * The segmentation style parameter controls how segmentation markers are inserted into the transport stream. With avails, it is possible that segments may be truncated, which can influence where future segmentation markers are inserted. When a segmentation style of "reset_cadence" is selected and a segment is truncated due to an avail, we will reset the segmentation cadence. This means the subsequent segment will have a duration of of $segmentation_time seconds. When a segmentation style of "maintain_cadence" is selected and a segment is truncated due to an avail, we will not reset the segmentation cadence. This means the subsequent segment will likely be truncated as well. However, all segments after that will have a duration of $segmentation_time seconds. Note that EBP lookahead is a slight exception to this rule. + * Specify the ID for the transport stream itself in the program map table for this output. Transport stream IDs and program map tables are parts of MPEG-2 transport stream containers, used for organizing data. */ - SegmentationStyle?: M2tsSegmentationStyle | string; + TransportStreamId?: number; + + /** + * Specify the packet identifier (PID) of the elementary video stream in the transport stream. + */ + VideoPid?: number; } export namespace M2tsSettings { @@ -4632,25 +4674,20 @@ export enum TimedMetadata { * Settings for TS segments in HLS */ export interface M3u8Settings { - /** - * The number of milliseconds between instances of this table in the output transport stream. - */ - PmtInterval?: number; - /** * The number of audio frames to insert for each PES packet. */ AudioFramesPerPes?: number; /** - * Packet Identifier (PID) of the timed metadata stream in the transport stream. + * Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation. */ - TimedMetadataPid?: number; + AudioPids?: number[]; /** - * When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream. + * If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output. */ - PcrControl?: M3u8PcrControl | string; + NielsenId3?: M3u8NielsenId3 | string; /** * The number of milliseconds between instances of this table in the output transport stream. @@ -4658,29 +4695,29 @@ export interface M3u8Settings { PatInterval?: number; /** - * Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID. + * When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream. */ - PcrPid?: number; + PcrControl?: M3u8PcrControl | string; /** - * For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None (NONE) if you don't want manifest conditioning. Choose Passthrough (PASSTHROUGH) and choose Ad markers (adMarkers) if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml). + * Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID. */ - Scte35Source?: M3u8Scte35Source | string; + PcrPid?: number; /** - * The value of the transport stream ID field in the Program Map Table. + * The number of milliseconds between instances of this table in the output transport stream. */ - TransportStreamId?: number; + PmtInterval?: number; /** - * Packet Identifier (PID) of the elementary video stream in the transport stream. + * Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream. */ - VideoPid?: number; + PmtPid?: number; /** - * Applies only to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output. + * Packet Identifier (PID) of the private metadata stream in the transport stream. */ - TimedMetadata?: TimedMetadata | string; + PrivateMetadataPid?: number; /** * The value of the program number field in the Program Map Table. @@ -4693,24 +4730,29 @@ export interface M3u8Settings { Scte35Pid?: number; /** - * Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream. + * For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None (NONE) if you don't want manifest conditioning. Choose Passthrough (PASSTHROUGH) and choose Ad markers (adMarkers) if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml). */ - PmtPid?: number; + Scte35Source?: M3u8Scte35Source | string; /** - * Packet Identifier (PID) of the private metadata stream in the transport stream. + * Applies only to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output. */ - PrivateMetadataPid?: number; + TimedMetadata?: TimedMetadata | string; /** - * Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation. + * Packet Identifier (PID) of the timed metadata stream in the transport stream. */ - AudioPids?: number[]; + TimedMetadataPid?: number; /** - * If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output. + * The value of the transport stream ID field in the Program Map Table. */ - NielsenId3?: M3u8NielsenId3 | string; + TransportStreamId?: number; + + /** + * Packet Identifier (PID) of the elementary video stream in the transport stream. + */ + VideoPid?: number; } export namespace M3u8Settings { @@ -4754,24 +4796,24 @@ export interface MovSettings { ClapAtom?: MovClapAtom | string; /** - * Always keep the default value (SELF_CONTAINED) for this setting. + * When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools. */ - Reference?: MovReference | string; + CslgAtom?: MovCslgAtom | string; /** - * To make this output compatible with Omenon, keep the default value, OMNEON. Unless you need Omneon compatibility, set this value to NONE. When you keep the default value, OMNEON, MediaConvert increases the length of the edit list atom. This might cause file rejections when a recipient of the output file doesn't expct this extra padding. + * When set to XDCAM, writes MPEG2 video streams into the QuickTime file using XDCAM fourcc codes. This increases compatibility with Apple editors and players, but may decrease compatibility with other players. Only applicable when the video codec is MPEG2. */ - PaddingControl?: MovPaddingControl | string; + Mpeg2FourCCControl?: MovMpeg2FourCCControl | string; /** - * When set to XDCAM, writes MPEG2 video streams into the QuickTime file using XDCAM fourcc codes. This increases compatibility with Apple editors and players, but may decrease compatibility with other players. Only applicable when the video codec is MPEG2. + * To make this output compatible with Omenon, keep the default value, OMNEON. Unless you need Omneon compatibility, set this value to NONE. When you keep the default value, OMNEON, MediaConvert increases the length of the edit list atom. This might cause file rejections when a recipient of the output file doesn't expct this extra padding. */ - Mpeg2FourCCControl?: MovMpeg2FourCCControl | string; + PaddingControl?: MovPaddingControl | string; /** - * When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools. + * Always keep the default value (SELF_CONTAINED) for this setting. */ - CslgAtom?: MovCslgAtom | string; + Reference?: MovReference | string; } export namespace MovSettings { @@ -4799,6 +4841,11 @@ export enum Mp4MoovPlacement { * Settings for MP4 container. You can create audio-only AAC outputs with this container. */ export interface Mp4Settings { + /** + * When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools. + */ + CslgAtom?: Mp4CslgAtom | string; + /** * Ignore this setting unless compliance to the CTTS box version specification matters in your workflow. Specify a value of 1 to set your CTTS box version to 1 and make your output compliant with the specification. When you specify a value of 1, you must also set CSLG atom (cslgAtom) to the value INCLUDE. Keep the default value 0 to set your CTTS box version to 0. This can provide backward compatibility for some players and packagers. */ @@ -4809,20 +4856,15 @@ export interface Mp4Settings { */ FreeSpaceBox?: Mp4FreeSpaceBox | string; - /** - * Overrides the "Major Brand" field in the output file. Usually not necessary to specify. - */ - Mp4MajorBrand?: string; - /** * If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for progressive downloading. Otherwise it is placed normally at the end. */ MoovPlacement?: Mp4MoovPlacement | string; /** - * When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools. + * Overrides the "Major Brand" field in the output file. Usually not necessary to specify. */ - CslgAtom?: Mp4CslgAtom | string; + Mp4MajorBrand?: string; } export namespace Mp4Settings { @@ -4909,9 +4951,9 @@ export namespace MxfSettings { */ export interface ContainerSettings { /** - * MPEG-2 TS container settings. These apply to outputs in a File output group when the output's container (ContainerType) is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset. + * Settings for MP4 segments in CMAF */ - M2tsSettings?: M2tsSettings; + CmfcSettings?: CmfcSettings; /** * Container for this output. Some containers require a container settings object. If not specified, the default object will be created. @@ -4924,34 +4966,34 @@ export interface ContainerSettings { F4vSettings?: F4vSettings; /** - * MXF settings + * MPEG-2 TS container settings. These apply to outputs in a File output group when the output's container (ContainerType) is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset. */ - MxfSettings?: MxfSettings; + M2tsSettings?: M2tsSettings; /** - * Settings for MP4 segments in DASH + * Settings for TS segments in HLS */ - MpdSettings?: MpdSettings; + M3u8Settings?: M3u8Settings; /** - * Settings for MP4 container. You can create audio-only AAC outputs with this container. + * Settings for MOV Container. */ - Mp4Settings?: Mp4Settings; + MovSettings?: MovSettings; /** - * Settings for TS segments in HLS + * Settings for MP4 container. You can create audio-only AAC outputs with this container. */ - M3u8Settings?: M3u8Settings; + Mp4Settings?: Mp4Settings; /** - * Settings for MOV Container. + * Settings for MP4 segments in DASH */ - MovSettings?: MovSettings; + MpdSettings?: MpdSettings; /** - * Settings for MP4 segments in CMAF + * MXF settings */ - CmfcSettings?: CmfcSettings; + MxfSettings?: MxfSettings; } export namespace ContainerSettings { @@ -4987,14 +5029,14 @@ export interface HlsSettings { AudioGroupId?: string; /** - * When set to INCLUDE, writes I-Frame Only Manifest in addition to the HLS manifest + * Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic (AUTOMATIC) to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container. */ - IFrameOnlyManifest?: HlsIFrameOnlyManifest | string; + AudioOnlyContainer?: HlsAudioOnlyContainer | string; /** - * Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html + * List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','. */ - SegmentModifier?: string; + AudioRenditionSets?: string; /** * Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO @@ -5002,14 +5044,14 @@ export interface HlsSettings { AudioTrackType?: HlsAudioTrackType | string; /** - * List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','. + * When set to INCLUDE, writes I-Frame Only Manifest in addition to the HLS manifest */ - AudioRenditionSets?: string; + IFrameOnlyManifest?: HlsIFrameOnlyManifest | string; /** - * Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic (AUTOMATIC) to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container. + * Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html */ - AudioOnlyContainer?: HlsAudioOnlyContainer | string; + SegmentModifier?: string; } export namespace HlsSettings { @@ -5100,64 +5142,64 @@ export enum Av1SpatialAdaptiveQuantization { */ export interface Av1Settings { /** - * Settings for quality-defined variable bitrate encoding with the AV1 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. + * Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to Spatial adaptive quantization (spatialAdaptiveQuantization). */ - QvbrSettings?: Av1QvbrSettings; + AdaptiveQuantization?: Av1AdaptiveQuantization | string; /** - * Specify the GOP length (keyframe interval) in frames. With AV1, MediaConvert doesn't support GOP length in seconds. This value must be greater than zero and preferably equal to 1 + ((numberBFrames + 1) * x), where x is an integer value. + * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. */ - GopSize?: number; + FramerateControl?: Av1FramerateControl | string; /** - * Specify the number of B-frames. With AV1, MediaConvert supports only 7 or 15. + * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. */ - NumberBFramesBetweenReferenceFrames?: number; + FramerateConversionAlgorithm?: Av1FramerateConversionAlgorithm | string; /** - * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - MaxBitrate?: number; + FramerateDenominator?: number; /** - * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - FramerateConversionAlgorithm?: Av1FramerateConversionAlgorithm | string; + FramerateNumerator?: number; /** - * Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to Spatial adaptive quantization (spatialAdaptiveQuantization). + * Specify the GOP length (keyframe interval) in frames. With AV1, MediaConvert doesn't support GOP length in seconds. This value must be greater than zero and preferably equal to 1 + ((numberBFrames + 1) * x), where x is an integer value. */ - AdaptiveQuantization?: Av1AdaptiveQuantization | string; + GopSize?: number; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR. */ - FramerateDenominator?: number; + MaxBitrate?: number; /** - * Specify the number of slices per picture. This value must be 1, 2, 4, 8, 16, or 32. For progressive pictures, this value must be less than or equal to the number of macroblock rows. For interlaced pictures, this value must be less than or equal to half the number of macroblock rows. + * Specify the number of B-frames. With AV1, MediaConvert supports only 7 or 15. */ - Slices?: number; + NumberBFramesBetweenReferenceFrames?: number; /** - * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. + * Settings for quality-defined variable bitrate encoding with the AV1 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. */ - FramerateControl?: Av1FramerateControl | string; + QvbrSettings?: Av1QvbrSettings; /** - * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. + * 'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR). You can''t use CBR or VBR.' */ - SpatialAdaptiveQuantization?: Av1SpatialAdaptiveQuantization | string; + RateControlMode?: Av1RateControlMode | string; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Specify the number of slices per picture. This value must be 1, 2, 4, 8, 16, or 32. For progressive pictures, this value must be less than or equal to the number of macroblock rows. For interlaced pictures, this value must be less than or equal to half the number of macroblock rows. */ - FramerateNumerator?: number; + Slices?: number; /** - * 'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR). You can''t use CBR or VBR.' + * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. */ - RateControlMode?: Av1RateControlMode | string; + SpatialAdaptiveQuantization?: Av1SpatialAdaptiveQuantization | string; } export namespace Av1Settings { @@ -5211,9 +5253,9 @@ export interface AvcIntraSettings { AvcIntraClass?: AvcIntraClass | string; /** - * Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose. + * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. */ - InterlaceMode?: AvcIntraInterlaceMode | string; + FramerateControl?: AvcIntraFramerateControl | string; /** * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. @@ -5225,25 +5267,25 @@ export interface AvcIntraSettings { */ FramerateDenominator?: number; - /** - * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. - */ - FramerateControl?: AvcIntraFramerateControl | string; - /** * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ FramerateNumerator?: number; /** - * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. + * Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose. */ - Telecine?: AvcIntraTelecine | string; + InterlaceMode?: AvcIntraInterlaceMode | string; /** * Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1. */ SlowPal?: AvcIntraSlowPal | string; + + /** + * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. + */ + Telecine?: AvcIntraTelecine | string; } export namespace AvcIntraSettings { @@ -5274,6 +5316,11 @@ export interface FrameCaptureSettings { */ FramerateDenominator?: number; + /** + * Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded to 7 decimal places. + */ + FramerateNumerator?: number; + /** * Maximum number of captures (encoded jpg output files). */ @@ -5283,11 +5330,6 @@ export interface FrameCaptureSettings { * JPEG Quality - a higher value equals higher quality. */ Quality?: number; - - /** - * Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded to 7 decimal places. - */ - FramerateNumerator?: number; } export namespace FrameCaptureSettings { @@ -5297,6 +5339,7 @@ export namespace FrameCaptureSettings { } export enum H264AdaptiveQuantization { + AUTO = "AUTO", HIGH = "HIGH", HIGHER = "HIGHER", LOW = "LOW", @@ -5364,13 +5407,3 @@ export enum H264FramerateConversionAlgorithm { FRAMEFORMER = "FRAMEFORMER", INTERPOLATE = "INTERPOLATE", } - -export enum H264GopBReference { - DISABLED = "DISABLED", - ENABLED = "ENABLED", -} - -export enum H264GopSizeUnits { - FRAMES = "FRAMES", - SECONDS = "SECONDS", -} diff --git a/clients/client-mediaconvert/models/models_1.ts b/clients/client-mediaconvert/models/models_1.ts index d85fd364b71a..2b71188c8d14 100644 --- a/clients/client-mediaconvert/models/models_1.ts +++ b/clients/client-mediaconvert/models/models_1.ts @@ -4,6 +4,7 @@ import { AfdSignaling, AntiAlias, AudioDescription, + AutomatedEncodingSettings, Av1Settings, AvailBlanking, AvcIntraSettings, @@ -23,8 +24,6 @@ import { H264FlickerAdaptiveQuantization, H264FramerateControl, H264FramerateConversionAlgorithm, - H264GopBReference, - H264GopSizeUnits, Hdr10Metadata, HopDestination, Id3Insertion, @@ -46,6 +45,16 @@ import { import { SENSITIVE_STRING, SmithyException as __SmithyException } from "@aws-sdk/smithy-client"; import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; +export enum H264GopBReference { + DISABLED = "DISABLED", + ENABLED = "ENABLED", +} + +export enum H264GopSizeUnits { + FRAMES = "FRAMES", + SECONDS = "SECONDS", +} + export enum H264InterlaceMode { BOTTOM_FIELD = "BOTTOM_FIELD", FOLLOW_BOTTOM_FIELD = "FOLLOW_BOTTOM_FIELD", @@ -75,14 +84,14 @@ export interface H264QvbrSettings { MaxAverageBitrate?: number; /** - * Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33. + * Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h264Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. */ - QvbrQualityLevelFineTune?: number; + QvbrQualityLevel?: number; /** - * Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h264Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. + * Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33. */ - QvbrQualityLevel?: number; + QvbrQualityLevelFineTune?: number; } export namespace H264QvbrSettings { @@ -144,24 +153,29 @@ export enum H264UnregisteredSeiTimecode { */ export interface H264Settings { /** - * Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding. + * Keep the default value, Auto (AUTO), for this setting to have MediaConvert automatically apply the best types of quantization for your video content. When you want to apply your quantization settings manually, you must set H264AdaptiveQuantization to a value other than Auto (AUTO). Use this setting to specify the strength of any adaptive quantization filters that you enable. If you don't want MediaConvert to do any adaptive quantization in this transcode, set Adaptive quantization (H264AdaptiveQuantization) to Off (OFF). Related settings: The value that you choose here applies to the following settings: H264FlickerAdaptiveQuantization, H264SpatialAdaptiveQuantization, and H264TemporalAdaptiveQuantization. */ - NumberReferenceFrames?: number; + AdaptiveQuantization?: H264AdaptiveQuantization | string; /** - * Inserts timecode for each frame as 4 bytes of an unregistered SEI message. + * Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000. */ - UnregisteredSeiTimecode?: H264UnregisteredSeiTimecode | string; + Bitrate?: number; /** - * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization). + * Specify an H.264 level that is consistent with your output video settings. If you aren't sure what level to specify, choose Auto (AUTO). */ - TemporalAdaptiveQuantization?: H264TemporalAdaptiveQuantization | string; + CodecLevel?: H264CodecLevel | string; /** - * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. + * H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License. */ - FramerateConversionAlgorithm?: H264FramerateConversionAlgorithm | string; + CodecProfile?: H264CodecProfile | string; + + /** + * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames). + */ + DynamicSubGop?: H264DynamicSubGop | string; /** * Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC. @@ -169,129 +183,129 @@ export interface H264Settings { EntropyEncoding?: H264EntropyEncoding | string; /** - * Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr. + * Keep the default value, PAFF, to have MediaConvert use PAFF encoding for interlaced outputs. Choose Force field (FORCE_FIELD) to disable PAFF encoding and create separate interlaced fields. */ - SceneChangeDetect?: H264SceneChangeDetect | string; + FieldEncoding?: H264FieldEncoding | string; /** - * Places a PPS header on each encoded picture, even if repeated. + * Only use this setting when you change the default value, AUTO, for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264FlickerAdaptiveQuantization is Disabled (DISABLED). Change this value to Enabled (ENABLED) to reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. To manually enable or disable H264FlickerAdaptiveQuantization, you must set Adaptive quantization (H264AdaptiveQuantization) to a value other than AUTO. */ - RepeatPps?: H264RepeatPps | string; + FlickerAdaptiveQuantization?: H264FlickerAdaptiveQuantization | string; /** - * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR. + * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. */ - MaxBitrate?: number; + FramerateControl?: H264FramerateControl | string; /** - * Keep the default value, PAFF, to have MediaConvert use PAFF encoding for interlaced outputs. Choose Force field (FORCE_FIELD) to disable PAFF encoding and create separate interlaced fields. + * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. */ - FieldEncoding?: H264FieldEncoding | string; + FramerateConversionAlgorithm?: H264FramerateConversionAlgorithm | string; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - ParDenominator?: number; + FramerateDenominator?: number; /** - * Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - MinIInterval?: number; + FramerateNumerator?: number; /** - * Percentage of the buffer that should initially be filled (HRD buffer model). + * If enable, use reference B frames for GOP structures that have B frames > 1. */ - HrdBufferInitialFillPercentage?: number; + GopBReference?: H264GopBReference | string; /** - * H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License. + * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting. */ - CodecProfile?: H264CodecProfile | string; + GopClosedCadence?: number; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. + * GOP Length (keyframe interval) in frames or seconds. Must be greater than zero. */ - ParNumerator?: number; + GopSize?: number; /** - * Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization). + * Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time. */ - AdaptiveQuantization?: H264AdaptiveQuantization | string; + GopSizeUnits?: H264GopSizeUnits | string; /** - * If enable, use reference B frames for GOP structures that have B frames > 1. + * Percentage of the buffer that should initially be filled (HRD buffer model). */ - GopBReference?: H264GopBReference | string; + HrdBufferInitialFillPercentage?: number; /** - * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting. + * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. */ - GopClosedCadence?: number; + HrdBufferSize?: number; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose. */ - FramerateDenominator?: number; + InterlaceMode?: H264InterlaceMode | string; /** - * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output that signals to the video player device to do the conversion during play back. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. + * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR. */ - Telecine?: H264Telecine | string; + MaxBitrate?: number; /** - * Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000. + * Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 */ - Bitrate?: number; + MinIInterval?: number; /** - * Specify an H.264 level that is consistent with your output video settings. If you aren't sure what level to specify, choose Auto (AUTO). + * Number of B-frames between reference frames. */ - CodecLevel?: H264CodecLevel | string; + NumberBFramesBetweenReferenceFrames?: number; /** - * Settings for quality-defined variable bitrate encoding with the H.264 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. + * Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding. */ - QvbrSettings?: H264QvbrSettings; + NumberReferenceFrames?: number; /** - * Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose. + * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. */ - InterlaceMode?: H264InterlaceMode | string; + ParControl?: H264ParControl | string; /** - * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. */ - HrdBufferSize?: number; + ParDenominator?: number; /** - * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. */ - SpatialAdaptiveQuantization?: H264SpatialAdaptiveQuantization | string; + ParNumerator?: number; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding. */ - FramerateNumerator?: number; + QualityTuningLevel?: H264QualityTuningLevel | string; /** - * Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR). + * Settings for quality-defined variable bitrate encoding with the H.264 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. */ - RateControlMode?: H264RateControlMode | string; + QvbrSettings?: H264QvbrSettings; /** - * Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time. + * Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR). */ - GopSizeUnits?: H264GopSizeUnits | string; + RateControlMode?: H264RateControlMode | string; /** - * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. + * Places a PPS header on each encoded picture, even if repeated. */ - ParControl?: H264ParControl | string; + RepeatPps?: H264RepeatPps | string; /** - * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. + * Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr. */ - FramerateControl?: H264FramerateControl | string; + SceneChangeDetect?: H264SceneChangeDetect | string; /** * Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures. @@ -304,39 +318,34 @@ export interface H264Settings { SlowPal?: H264SlowPal | string; /** - * GOP Length (keyframe interval) in frames or seconds. Must be greater than zero. - */ - GopSize?: number; - - /** - * Produces a bitstream compliant with SMPTE RP-2027. + * Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video. */ - Syntax?: H264Syntax | string; + Softness?: number; /** - * Number of B-frames between reference frames. + * Only use this setting when you change the default value, Auto (AUTO), for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264SpatialAdaptiveQuantization is Enabled (ENABLED). Keep this default value to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to set H264SpatialAdaptiveQuantization to Disabled (DISABLED). Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (H264AdaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. To manually enable or disable H264SpatialAdaptiveQuantization, you must set Adaptive quantization (H264AdaptiveQuantization) to a value other than AUTO. */ - NumberBFramesBetweenReferenceFrames?: number; + SpatialAdaptiveQuantization?: H264SpatialAdaptiveQuantization | string; /** - * Enable this setting to have the encoder reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. This setting is disabled by default. Related setting: In addition to enabling this setting, you must also set adaptiveQuantization to a value other than Off (OFF). + * Produces a bitstream compliant with SMPTE RP-2027. */ - FlickerAdaptiveQuantization?: H264FlickerAdaptiveQuantization | string; + Syntax?: H264Syntax | string; /** - * Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video. + * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output that signals to the video player device to do the conversion during play back. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. */ - Softness?: number; + Telecine?: H264Telecine | string; /** - * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding. + * Only use this setting when you change the default value, AUTO, for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264TemporalAdaptiveQuantization is Enabled (ENABLED). Keep this default value to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to set H264TemporalAdaptiveQuantization to Disabled (DISABLED). Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization). To manually enable or disable H264TemporalAdaptiveQuantization, you must set Adaptive quantization (H264AdaptiveQuantization) to a value other than AUTO. */ - QualityTuningLevel?: H264QualityTuningLevel | string; + TemporalAdaptiveQuantization?: H264TemporalAdaptiveQuantization | string; /** - * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames). + * Inserts timecode for each frame as 4 bytes of an unregistered SEI message. */ - DynamicSubGop?: H264DynamicSubGop | string; + UnregisteredSeiTimecode?: H264UnregisteredSeiTimecode | string; } export namespace H264Settings { @@ -447,14 +456,14 @@ export interface H265QvbrSettings { MaxAverageBitrate?: number; /** - * Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33. + * Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h265Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. */ - QvbrQualityLevelFineTune?: number; + QvbrQualityLevel?: number; /** - * Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h265Settings. Specify the general target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. + * Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33. */ - QvbrQualityLevel?: number; + QvbrQualityLevelFineTune?: number; } export namespace H265QvbrSettings { @@ -527,59 +536,49 @@ export enum H265WriteMp4PackagingType { */ export interface H265Settings { /** - * Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr. - */ - SceneChangeDetect?: H265SceneChangeDetect | string; - - /** - * Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 - */ - MinIInterval?: number; - - /** - * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding. + * Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization). */ - QualityTuningLevel?: H265QualityTuningLevel | string; + AdaptiveQuantization?: H265AdaptiveQuantization | string; /** - * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR. + * Enables Alternate Transfer Function SEI message for outputs using Hybrid Log Gamma (HLG) Electro-Optical Transfer Function (EOTF). */ - MaxBitrate?: number; + AlternateTransferFunctionSei?: H265AlternateTransferFunctionSei | string; /** - * Percentage of the buffer that should initially be filled (HRD buffer model). + * Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000. */ - HrdBufferInitialFillPercentage?: number; + Bitrate?: number; /** - * Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR). + * H.265 Level. */ - RateControlMode?: H265RateControlMode | string; + CodecLevel?: H265CodecLevel | string; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. + * Represents the Profile and Tier, per the HEVC (H.265) specification. Selections are grouped as [Profile] / [Tier], so "Main/High" represents Main Profile with High Tier. 4:2:2 profiles are only available with the HEVC 4:2:2 License. */ - ParNumerator?: number; + CodecProfile?: H265CodecProfile | string; /** - * Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization). + * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames). */ - AdaptiveQuantization?: H265AdaptiveQuantization | string; + DynamicSubGop?: H265DynamicSubGop | string; /** - * Enables Alternate Transfer Function SEI message for outputs using Hybrid Log Gamma (HLG) Electro-Optical Transfer Function (EOTF). + * Enable this setting to have the encoder reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. This setting is disabled by default. Related setting: In addition to enabling this setting, you must also set adaptiveQuantization to a value other than Off (OFF). */ - AlternateTransferFunctionSei?: H265AlternateTransferFunctionSei | string; + FlickerAdaptiveQuantization?: H265FlickerAdaptiveQuantization | string; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. + * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. */ - ParDenominator?: number; + FramerateControl?: H265FramerateControl | string; /** - * Number of B-frames between reference frames. + * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. */ - NumberBFramesBetweenReferenceFrames?: number; + FramerateConversionAlgorithm?: H265FramerateConversionAlgorithm | string; /** * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. @@ -587,39 +586,39 @@ export interface H265Settings { FramerateDenominator?: number; /** - * Represents the Profile and Tier, per the HEVC (H.265) specification. Selections are grouped as [Profile] / [Tier], so "Main/High" represents Main Profile with High Tier. 4:2:2 profiles are only available with the HEVC 4:2:2 License. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - CodecProfile?: H265CodecProfile | string; + FramerateNumerator?: number; /** - * Enables temporal layer identifiers in the encoded bitstream. Up to 3 layers are supported depending on GOP structure: I- and P-frames form one layer, reference B-frames can form a second layer and non-reference b-frames can form a third layer. Decoders can optionally decode only the lower temporal layers to generate a lower frame rate output. For example, given a bitstream with temporal IDs and with b-frames = 1 (i.e. IbPbPb display order), a decoder could decode all the frames for full frame rate output or only the I and P frames (lowest temporal layer) for a half frame rate output. + * If enable, use reference B frames for GOP structures that have B frames > 1. */ - TemporalIds?: H265TemporalIds | string; + GopBReference?: H265GopBReference | string; /** - * Enable this setting to have the encoder reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. This setting is disabled by default. Related setting: In addition to enabling this setting, you must also set adaptiveQuantization to a value other than Off (OFF). + * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting. */ - FlickerAdaptiveQuantization?: H265FlickerAdaptiveQuantization | string; + GopClosedCadence?: number; /** - * Specify Sample Adaptive Offset (SAO) filter strength. Adaptive mode dynamically selects best strength based on content + * GOP Length (keyframe interval) in frames or seconds. Must be greater than zero. */ - SampleAdaptiveOffsetFilterMode?: H265SampleAdaptiveOffsetFilterMode | string; + GopSize?: number; /** - * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames). + * Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time. */ - DynamicSubGop?: H265DynamicSubGop | string; + GopSizeUnits?: H265GopSizeUnits | string; /** - * Inserts timecode for each frame as 4 bytes of an unregistered SEI message. + * Percentage of the buffer that should initially be filled (HRD buffer model). */ - UnregisteredSeiTimecode?: H265UnregisteredSeiTimecode | string; + HrdBufferInitialFillPercentage?: number; /** - * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization). + * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. */ - TemporalAdaptiveQuantization?: H265TemporalAdaptiveQuantization | string; + HrdBufferSize?: number; /** * Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose. @@ -627,44 +626,44 @@ export interface H265Settings { InterlaceMode?: H265InterlaceMode | string; /** - * H.265 Level. + * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR. */ - CodecLevel?: H265CodecLevel | string; + MaxBitrate?: number; /** - * GOP Length (keyframe interval) in frames or seconds. Must be greater than zero. + * Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 */ - GopSize?: number; + MinIInterval?: number; /** - * Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1. + * Number of B-frames between reference frames. */ - SlowPal?: H265SlowPal | string; + NumberBFramesBetweenReferenceFrames?: number; /** - * Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000. + * Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding. */ - Bitrate?: number; + NumberReferenceFrames?: number; /** - * If the location of parameter set NAL units doesn't matter in your workflow, ignore this setting. Use this setting only with CMAF or DASH outputs, or with standalone file outputs in an MPEG-4 container (MP4 outputs). Choose HVC1 to mark your output as HVC1. This makes your output compliant with the following specification: ISO IECJTC1 SC29 N13798 Text ISO/IEC FDIS 14496-15 3rd Edition. For these outputs, the service stores parameter set NAL units in the sample headers but not in the samples directly. For MP4 outputs, when you choose HVC1, your output video might not work properly with some downstream systems and video players. The service defaults to marking your output as HEV1. For these outputs, the service writes parameter set NAL units directly into the samples. + * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. */ - WriteMp4PackagingType?: H265WriteMp4PackagingType | string; + ParControl?: H265ParControl | string; /** - * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. */ - FramerateControl?: H265FramerateControl | string; + ParDenominator?: number; /** - * Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. */ - Slices?: number; + ParNumerator?: number; /** - * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. + * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding. */ - ParControl?: H265ParControl | string; + QualityTuningLevel?: H265QualityTuningLevel | string; /** * Settings for quality-defined variable bitrate encoding with the H.265 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode. @@ -672,44 +671,49 @@ export interface H265Settings { QvbrSettings?: H265QvbrSettings; /** - * This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970. This field works with the Streams > Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced Mode field (interlace_mode) to identify the scan type for the output: Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input. - Soft: produces 23.976; the player converts this output to 29.97i. + * Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR). */ - Telecine?: H265Telecine | string; + RateControlMode?: H265RateControlMode | string; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Specify Sample Adaptive Offset (SAO) filter strength. Adaptive mode dynamically selects best strength based on content */ - FramerateNumerator?: number; + SampleAdaptiveOffsetFilterMode?: H265SampleAdaptiveOffsetFilterMode | string; /** - * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. + * Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr. */ - SpatialAdaptiveQuantization?: H265SpatialAdaptiveQuantization | string; + SceneChangeDetect?: H265SceneChangeDetect | string; /** - * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting. + * Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures. */ - GopClosedCadence?: number; + Slices?: number; /** - * Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding. + * Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1. */ - NumberReferenceFrames?: number; + SlowPal?: H265SlowPal | string; /** - * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. + * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. */ - FramerateConversionAlgorithm?: H265FramerateConversionAlgorithm | string; + SpatialAdaptiveQuantization?: H265SpatialAdaptiveQuantization | string; /** - * If enable, use reference B frames for GOP structures that have B frames > 1. + * This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970. This field works with the Streams > Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced Mode field (interlace_mode) to identify the scan type for the output: Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input. - Soft: produces 23.976; the player converts this output to 29.97i. */ - GopBReference?: H265GopBReference | string; + Telecine?: H265Telecine | string; /** - * Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time. + * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization). */ - GopSizeUnits?: H265GopSizeUnits | string; + TemporalAdaptiveQuantization?: H265TemporalAdaptiveQuantization | string; + + /** + * Enables temporal layer identifiers in the encoded bitstream. Up to 3 layers are supported depending on GOP structure: I- and P-frames form one layer, reference B-frames can form a second layer and non-reference b-frames can form a third layer. Decoders can optionally decode only the lower temporal layers to generate a lower frame rate output. For example, given a bitstream with temporal IDs and with b-frames = 1 (i.e. IbPbPb display order), a decoder could decode all the frames for full frame rate output or only the I and P frames (lowest temporal layer) for a half frame rate output. + */ + TemporalIds?: H265TemporalIds | string; /** * Enable use of tiles, allowing horizontal as well as vertical subdivision of the encoded pictures. @@ -717,9 +721,14 @@ export interface H265Settings { Tiles?: H265Tiles | string; /** - * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. + * Inserts timecode for each frame as 4 bytes of an unregistered SEI message. */ - HrdBufferSize?: number; + UnregisteredSeiTimecode?: H265UnregisteredSeiTimecode | string; + + /** + * If the location of parameter set NAL units doesn't matter in your workflow, ignore this setting. Use this setting only with CMAF or DASH outputs, or with standalone file outputs in an MPEG-4 container (MP4 outputs). Choose HVC1 to mark your output as HVC1. This makes your output compliant with the following specification: ISO IECJTC1 SC29 N13798 Text ISO/IEC FDIS 14496-15 3rd Edition. For these outputs, the service stores parameter set NAL units in the sample headers but not in the samples directly. For MP4 outputs, when you choose HVC1, your output video might not work properly with some downstream systems and video players. The service defaults to marking your output as HEV1. For these outputs, the service writes parameter set NAL units directly into the samples. + */ + WriteMp4PackagingType?: H265WriteMp4PackagingType | string; } export namespace H265Settings { @@ -836,159 +845,159 @@ export enum Mpeg2TemporalAdaptiveQuantization { */ export interface Mpeg2Settings { /** - * Number of B-frames between reference frames. + * Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization). */ - NumberBFramesBetweenReferenceFrames?: number; + AdaptiveQuantization?: Mpeg2AdaptiveQuantization | string; /** - * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. + * Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000. */ - SpatialAdaptiveQuantization?: Mpeg2SpatialAdaptiveQuantization | string; + Bitrate?: number; /** - * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting. + * Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output. */ - GopClosedCadence?: number; + CodecLevel?: Mpeg2CodecLevel | string; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output. */ - FramerateDenominator?: number; + CodecProfile?: Mpeg2CodecProfile | string; /** - * Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization). + * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames). */ - AdaptiveQuantization?: Mpeg2AdaptiveQuantization | string; + DynamicSubGop?: Mpeg2DynamicSubGop | string; /** - * Specify whether this output's video uses the D10 syntax. Keep the default value to not use the syntax. Related settings: When you choose D10 (D_10) for your MXF profile (profile), you must also set this value to to D10 (D_10). + * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. */ - Syntax?: Mpeg2Syntax | string; + FramerateControl?: Mpeg2FramerateControl | string; /** - * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. + * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. */ - ParControl?: Mpeg2ParControl | string; + FramerateConversionAlgorithm?: Mpeg2FramerateConversionAlgorithm | string; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - FramerateNumerator?: number; + FramerateDenominator?: number; /** - * Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr). + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - RateControlMode?: Mpeg2RateControlMode | string; + FramerateNumerator?: number; /** - * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames). + * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting. */ - DynamicSubGop?: Mpeg2DynamicSubGop | string; + GopClosedCadence?: number; /** - * Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. + * GOP Length (keyframe interval) in frames or seconds. Must be greater than zero. */ - SceneChangeDetect?: Mpeg2SceneChangeDetect | string; + GopSize?: number; /** - * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding. + * Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time. */ - QualityTuningLevel?: Mpeg2QualityTuningLevel | string; + GopSizeUnits?: Mpeg2GopSizeUnits | string; /** - * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. + * Percentage of the buffer that should initially be filled (HRD buffer model). */ - FramerateControl?: Mpeg2FramerateControl | string; + HrdBufferInitialFillPercentage?: number; /** - * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization). + * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. */ - TemporalAdaptiveQuantization?: Mpeg2TemporalAdaptiveQuantization | string; + HrdBufferSize?: number; /** - * Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 + * Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose. */ - MinIInterval?: number; + InterlaceMode?: Mpeg2InterlaceMode | string; /** - * GOP Length (keyframe interval) in frames or seconds. Must be greater than zero. + * Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients. If you choose the value auto, the service will automatically select the precision based on the per-frame compression ratio. */ - GopSize?: number; + IntraDcPrecision?: Mpeg2IntraDcPrecision | string; /** - * Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, to use the AWS Elemental default matrices. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video. + * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. */ - Softness?: number; + MaxBitrate?: number; /** - * Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output. + * Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 */ - CodecLevel?: Mpeg2CodecLevel | string; + MinIInterval?: number; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. + * Number of B-frames between reference frames. */ - ParDenominator?: number; + NumberBFramesBetweenReferenceFrames?: number; /** - * Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output. + * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. */ - CodecProfile?: Mpeg2CodecProfile | string; + ParControl?: Mpeg2ParControl | string; /** - * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output that signals to the video player device to do the conversion during play back. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. */ - Telecine?: Mpeg2Telecine | string; + ParDenominator?: number; /** - * Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. */ - Bitrate?: number; + ParNumerator?: number; /** - * Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time. + * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding. */ - GopSizeUnits?: Mpeg2GopSizeUnits | string; + QualityTuningLevel?: Mpeg2QualityTuningLevel | string; /** - * Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1. + * Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr). */ - SlowPal?: Mpeg2SlowPal | string; + RateControlMode?: Mpeg2RateControlMode | string; /** - * Percentage of the buffer that should initially be filled (HRD buffer model). + * Enable this setting to insert I-frames at scene changes that the service automatically detects. This improves video quality and is enabled by default. */ - HrdBufferInitialFillPercentage?: number; + SceneChangeDetect?: Mpeg2SceneChangeDetect | string; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. + * Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1. */ - ParNumerator?: number; + SlowPal?: Mpeg2SlowPal | string; /** - * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. + * Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, to use the AWS Elemental default matrices. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video. */ - HrdBufferSize?: number; + Softness?: number; /** - * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. + * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher. */ - MaxBitrate?: number; + SpatialAdaptiveQuantization?: Mpeg2SpatialAdaptiveQuantization | string; /** - * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. + * Specify whether this output's video uses the D10 syntax. Keep the default value to not use the syntax. Related settings: When you choose D10 (D_10) for your MXF profile (profile), you must also set this value to to D10 (D_10). */ - FramerateConversionAlgorithm?: Mpeg2FramerateConversionAlgorithm | string; + Syntax?: Mpeg2Syntax | string; /** - * Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients. If you choose the value auto, the service will automatically select the precision based on the per-frame compression ratio. + * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output that signals to the video player device to do the conversion during play back. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. */ - IntraDcPrecision?: Mpeg2IntraDcPrecision | string; + Telecine?: Mpeg2Telecine | string; /** - * Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose. + * Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization). */ - InterlaceMode?: Mpeg2InterlaceMode | string; + TemporalAdaptiveQuantization?: Mpeg2TemporalAdaptiveQuantization | string; } export namespace Mpeg2Settings { @@ -1043,59 +1052,59 @@ export enum ProresTelecine { */ export interface ProresSettings { /** - * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. + * Use Profile (ProResCodecProfile) to specifiy the type of Apple ProRes codec to use for this output. */ - ParControl?: ProresParControl | string; + CodecProfile?: ProresCodecProfile | string; /** - * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. + * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. */ - Telecine?: ProresTelecine | string; + FramerateControl?: ProresFramerateControl | string; /** - * Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1. + * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. */ - SlowPal?: ProresSlowPal | string; + FramerateConversionAlgorithm?: ProresFramerateConversionAlgorithm | string; /** - * Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - InterlaceMode?: ProresInterlaceMode | string; + FramerateDenominator?: number; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - ParDenominator?: number; + FramerateNumerator?: number; /** - * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. + * Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout. Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field polarity might change over the course of the output. Follow behavior depends on the input scan type. If the source is interlaced, the output will be interlaced with the same polarity as the source. If the source is progressive, the output will be interlaced with top field bottom field first, depending on which of the Follow options you choose. */ - FramerateConversionAlgorithm?: ProresFramerateConversionAlgorithm | string; + InterlaceMode?: ProresInterlaceMode | string; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. */ - FramerateDenominator?: number; + ParControl?: ProresParControl | string; /** - * Use Profile (ProResCodecProfile) to specifiy the type of Apple ProRes codec to use for this output. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. */ - CodecProfile?: ProresCodecProfile | string; + ParDenominator?: number; /** - * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. */ - FramerateControl?: ProresFramerateControl | string; + ParNumerator?: number; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. + * Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1. */ - ParNumerator?: number; + SlowPal?: ProresSlowPal | string; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. */ - FramerateNumerator?: number; + Telecine?: ProresTelecine | string; } export namespace ProresSettings { @@ -1141,44 +1150,44 @@ export enum Vc3Class { */ export interface Vc3Settings { /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. */ - FramerateNumerator?: number; + FramerateControl?: Vc3FramerateControl | string; /** - * Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output by relabeling the video frames and resampling your audio. Note that enabling this setting will slightly reduce the duration of your video. Related settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1. + * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. */ - SlowPal?: Vc3SlowPal | string; + FramerateConversionAlgorithm?: Vc3FramerateConversionAlgorithm | string; /** - * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - Telecine?: Vc3Telecine | string; + FramerateDenominator?: number; /** - * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - FramerateControl?: Vc3FramerateControl | string; + FramerateNumerator?: number; /** - * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. + * Optional. Choose the scan line type for this output. If you don't specify a value, MediaConvert will create a progressive output. */ - FramerateConversionAlgorithm?: Vc3FramerateConversionAlgorithm | string; + InterlaceMode?: Vc3InterlaceMode | string; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output by relabeling the video frames and resampling your audio. Note that enabling this setting will slightly reduce the duration of your video. Related settings: You must also set Framerate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1. */ - FramerateDenominator?: number; + SlowPal?: Vc3SlowPal | string; /** - * Specify the VC3 class to choose the quality characteristics for this output. VC3 class, together with the settings Framerate (framerateNumerator and framerateDenominator) and Resolution (height and width), determine your output bitrate. For example, say that your video resolution is 1920x1080 and your framerate is 29.97. Then Class 145 (CLASS_145) gives you an output with a bitrate of approximately 145 Mbps and Class 220 (CLASS_220) gives you and output with a bitrate of approximately 220 Mbps. VC3 class also specifies the color bit depth of your output. + * When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine (HARD) to create a smoother picture. When you keep the default value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture. */ - Vc3Class?: Vc3Class | string; + Telecine?: Vc3Telecine | string; /** - * Optional. Choose the scan line type for this output. If you don't specify a value, MediaConvert will create a progressive output. + * Specify the VC3 class to choose the quality characteristics for this output. VC3 class, together with the settings Framerate (framerateNumerator and framerateDenominator) and Resolution (height and width), determine your output bitrate. For example, say that your video resolution is 1920x1080 and your framerate is 29.97. Then Class 145 (CLASS_145) gives you an output with a bitrate of approximately 145 Mbps and Class 220 (CLASS_220) gives you and output with a bitrate of approximately 220 Mbps. VC3 class also specifies the color bit depth of your output. */ - InterlaceMode?: Vc3InterlaceMode | string; + Vc3Class?: Vc3Class | string; } export namespace Vc3Settings { @@ -1217,29 +1226,29 @@ export enum Vp8RateControlMode { */ export interface Vp8Settings { /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Target bitrate in bits/second. For example, enter five megabits per second as 5000000. */ - FramerateDenominator?: number; + Bitrate?: number; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. + * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. */ - ParNumerator?: number; + FramerateControl?: Vp8FramerateControl | string; /** - * With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode. + * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. */ - RateControlMode?: Vp8RateControlMode | string; + FramerateConversionAlgorithm?: Vp8FramerateConversionAlgorithm | string; /** - * Target bitrate in bits/second. For example, enter five megabits per second as 5000000. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - Bitrate?: number; + FramerateDenominator?: number; /** - * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - QualityTuningLevel?: Vp8QualityTuningLevel | string; + FramerateNumerator?: number; /** * GOP Length (keyframe interval) in frames. Must be greater than zero. @@ -1247,39 +1256,39 @@ export interface Vp8Settings { GopSize?: number; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. + * Optional. Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. */ - ParDenominator?: number; + HrdBufferSize?: number; /** - * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. + * Ignore this setting unless you set qualityTuningLevel to MULTI_PASS. Optional. Specify the maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. The default behavior uses twice the target bitrate as the maximum bitrate. */ - FramerateControl?: Vp8FramerateControl | string; + MaxBitrate?: number; /** - * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. + * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. */ - FramerateConversionAlgorithm?: Vp8FramerateConversionAlgorithm | string; + ParControl?: Vp8ParControl | string; /** - * Ignore this setting unless you set qualityTuningLevel to MULTI_PASS. Optional. Specify the maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. The default behavior uses twice the target bitrate as the maximum bitrate. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. */ - MaxBitrate?: number; + ParDenominator?: number; /** - * Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. To specify a different PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. */ - ParControl?: Vp8ParControl | string; + ParNumerator?: number; /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. + * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding. */ - FramerateNumerator?: number; + QualityTuningLevel?: Vp8QualityTuningLevel | string; /** - * Optional. Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. + * With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode. */ - HrdBufferSize?: number; + RateControlMode?: Vp8RateControlMode | string; } export namespace Vp8Settings { @@ -1317,16 +1326,6 @@ export enum Vp9RateControlMode { * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VP9. */ export interface Vp9Settings { - /** - * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. - */ - FramerateNumerator?: number; - - /** - * Optional. Specify how the service determines the pixel aspect ratio for this output. The default behavior is to use the same pixel aspect ratio as your input video. - */ - ParControl?: Vp9ParControl | string; - /** * Target bitrate in bits/second. For example, enter five megabits per second as 5000000. */ @@ -1337,15 +1336,30 @@ export interface Vp9Settings { */ FramerateControl?: Vp9FramerateControl | string; + /** + * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. + */ + FramerateConversionAlgorithm?: Vp9FramerateConversionAlgorithm | string; + /** * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ FramerateDenominator?: number; /** - * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. + * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976. */ - ParDenominator?: number; + FramerateNumerator?: number; + + /** + * GOP Length (keyframe interval) in frames. Must be greater than zero. + */ + GopSize?: number; + + /** + * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. + */ + HrdBufferSize?: number; /** * Ignore this setting unless you set qualityTuningLevel to MULTI_PASS. Optional. Specify the maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. The default behavior uses twice the target bitrate as the maximum bitrate. @@ -1353,14 +1367,14 @@ export interface Vp9Settings { MaxBitrate?: number; /** - * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding. + * Optional. Specify how the service determines the pixel aspect ratio for this output. The default behavior is to use the same pixel aspect ratio as your input video. */ - QualityTuningLevel?: Vp9QualityTuningLevel | string; + ParControl?: Vp9ParControl | string; /** - * GOP Length (keyframe interval) in frames. Must be greater than zero. + * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33. */ - GopSize?: number; + ParDenominator?: number; /** * Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40. @@ -1368,19 +1382,14 @@ export interface Vp9Settings { ParNumerator?: number; /** - * With the VP9 codec, you can use only the variable bitrate (VBR) rate control mode. - */ - RateControlMode?: Vp9RateControlMode | string; - - /** - * Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. + * Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding. */ - FramerateConversionAlgorithm?: Vp9FramerateConversionAlgorithm | string; + QualityTuningLevel?: Vp9QualityTuningLevel | string; /** - * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000. + * With the VP9 codec, you can use only the variable bitrate (VBR) rate control mode. */ - HrdBufferSize?: number; + RateControlMode?: Vp9RateControlMode | string; } export namespace Vp9Settings { @@ -1399,54 +1408,54 @@ export interface VideoCodecSettings { Av1Settings?: Av1Settings; /** - * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value MPEG2. + * Required when you set your output video codec to AVC-Intra. For more information about the AVC-I settings, see the relevant specification. For detailed information about SD and HD in AVC-I, see https://ieeexplore.ieee.org/document/7290936. */ - Mpeg2Settings?: Mpeg2Settings; + AvcIntraSettings?: AvcIntraSettings; /** - * Required when you set your output video codec to AVC-Intra. For more information about the AVC-I settings, see the relevant specification. For detailed information about SD and HD in AVC-I, see https://ieeexplore.ieee.org/document/7290936. + * Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. */ - AvcIntraSettings?: AvcIntraSettings; + Codec?: VideoCodec | string; /** - * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value PRORES. + * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value FRAME_CAPTURE. */ - ProresSettings?: ProresSettings; + FrameCaptureSettings?: FrameCaptureSettings; /** - * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VP9. + * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value H_264. */ - Vp9Settings?: Vp9Settings; + H264Settings?: H264Settings; /** - * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VC3 + * Settings for H265 codec */ - Vc3Settings?: Vc3Settings; + H265Settings?: H265Settings; /** - * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value FRAME_CAPTURE. + * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value MPEG2. */ - FrameCaptureSettings?: FrameCaptureSettings; + Mpeg2Settings?: Mpeg2Settings; /** - * Settings for H265 codec + * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value PRORES. */ - H265Settings?: H265Settings; + ProresSettings?: ProresSettings; /** - * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VP8. + * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VC3 */ - Vp8Settings?: Vp8Settings; + Vc3Settings?: Vc3Settings; /** - * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value H_264. + * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VP8. */ - H264Settings?: H264Settings; + Vp8Settings?: Vp8Settings; /** - * Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. + * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VP9. */ - Codec?: VideoCodec | string; + Vp9Settings?: Vp9Settings; } export namespace VideoCodecSettings { @@ -1494,34 +1503,34 @@ export enum ColorSpaceConversion { */ export interface ColorCorrector { /** - * Hue in degrees. + * Brightness level. */ - Hue?: number; + Brightness?: number; /** - * Contrast level. + * Specify the color space you want for this output. The service supports conversion between HDR formats, between SDR formats, from SDR to HDR, and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted video has an HDR format, but visually appears the same as an unconverted output. HDR to SDR conversion uses Elemental tone mapping technology to approximate the outcome of manually regrading from HDR to SDR. */ - Contrast?: number; + ColorSpaceConversion?: ColorSpaceConversion | string; /** - * Saturation level. + * Contrast level. */ - Saturation?: number; + Contrast?: number; /** - * Specify the color space you want for this output. The service supports conversion between HDR formats, between SDR formats, from SDR to HDR, and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted video has an HDR format, but visually appears the same as an unconverted output. HDR to SDR conversion uses Elemental tone mapping technology to approximate the outcome of manually regrading from HDR to SDR. + * Use these settings when you convert to the HDR 10 color space. Specify the SMPTE ST 2086 Mastering Display Color Volume static metadata that you want signaled in the output. These values don't affect the pixel values that are encoded in the video stream. They are intended to help the downstream video player display content in a way that reflects the intentions of the the content creator. When you set Color space conversion (ColorSpaceConversion) to HDR 10 (FORCE_HDR10), these settings are required. You must set values for Max frame average light level (maxFrameAverageLightLevel) and Max content light level (maxContentLightLevel); these settings don't have a default value. The default values for the other HDR 10 metadata settings are defined by the P3D65 color space. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr. */ - ColorSpaceConversion?: ColorSpaceConversion | string; + Hdr10Metadata?: Hdr10Metadata; /** - * Brightness level. + * Hue in degrees. */ - Brightness?: number; + Hue?: number; /** - * Use these settings when you convert to the HDR 10 color space. Specify the SMPTE ST 2086 Mastering Display Color Volume static metadata that you want signaled in the output. These values don't affect the pixel values that are encoded in the video stream. They are intended to help the downstream video player display content in a way that reflects the intentions of the the content creator. When you set Color space conversion (ColorSpaceConversion) to HDR 10 (FORCE_HDR10), these settings are required. You must set values for Max frame average light level (maxFrameAverageLightLevel) and Max content light level (maxContentLightLevel); these settings don't have a default value. The default values for the other HDR 10 metadata settings are defined by the P3D65 color space. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr. + * Saturation level. */ - Hdr10Metadata?: Hdr10Metadata; + Saturation?: number; } export namespace ColorCorrector { @@ -1552,11 +1561,6 @@ export enum DeinterlacerMode { * Settings for deinterlacer */ export interface Deinterlacer { - /** - * Use Deinterlacer (DeinterlaceMode) to choose how the service will do deinterlacing. Default is Deinterlace. - Deinterlace converts interlaced to progressive. - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. - Adaptive auto-detects and converts to progressive. - */ - Mode?: DeinterlacerMode | string; - /** * Only applies when you set Deinterlacer (DeinterlaceMode) to Deinterlace (DEINTERLACE) or Adaptive (ADAPTIVE). Motion adaptive interpolate (INTERPOLATE) produces sharper pictures, while blend (BLEND) produces smoother motion. Use (INTERPOLATE_TICKER) OR (BLEND_TICKER) if your source file includes a ticker, such as a scrolling headline at the bottom of the frame. */ @@ -1566,6 +1570,11 @@ export interface Deinterlacer { * - When set to NORMAL (default), the deinterlacer does not convert frames that are tagged in metadata as progressive. It will only convert those that are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer converts every frame to progressive - even those that are already tagged as progressive. Turn Force mode on only if there is a good chance that the metadata has tagged frames as progressive when they are not progressive. Do not turn on otherwise; processing frames that are already progressive into progressive will probably result in lower quality video. */ Control?: DeinterlacerControl | string; + + /** + * Use Deinterlacer (DeinterlaceMode) to choose how the service will do deinterlacing. Default is Deinterlace. - Deinterlace converts interlaced to progressive. - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. - Adaptive auto-detects and converts to progressive. + */ + Mode?: DeinterlacerMode | string; } export namespace Deinterlacer { @@ -1609,11 +1618,6 @@ export enum DolbyVisionProfile { * Settings for Dolby Vision */ export interface DolbyVision { - /** - * In the current MediaConvert implementation, the Dolby Vision profile is always 5 (PROFILE_5). Therefore, all of your inputs must contain Dolby Vision frame interleaved data. - */ - Profile?: DolbyVisionProfile | string; - /** * Use these settings when you set DolbyVisionLevel6Mode to SPECIFY to override the MaxCLL and MaxFALL values in your input with new values. */ @@ -1623,6 +1627,11 @@ export interface DolbyVision { * Use Dolby Vision Mode to choose how the service will handle Dolby Vision MaxCLL and MaxFALL properies. */ L6Mode?: DolbyVisionLevel6Mode | string; + + /** + * In the current MediaConvert implementation, the Dolby Vision profile is always 5 (PROFILE_5). Therefore, all of your inputs must contain Dolby Vision frame interleaved data. + */ + Profile?: DolbyVisionProfile | string; } export namespace DolbyVision { @@ -1668,14 +1677,14 @@ export interface NoiseReducerSpatialFilterSettings { PostFilterSharpenStrength?: number; /** - * Relative strength of noise reducing filter. Higher values produce stronger filtering. + * The speed of the filter, from -2 (lower speed) to 3 (higher speed), with 0 being the nominal value. */ - Strength?: number; + Speed?: number; /** - * The speed of the filter, from -2 (lower speed) to 3 (higher speed), with 0 being the nominal value. + * Relative strength of noise reducing filter. Higher values produce stronger filtering. */ - Speed?: number; + Strength?: number; } export namespace NoiseReducerSpatialFilterSettings { @@ -1695,24 +1704,24 @@ export enum NoiseFilterPostTemporalSharpening { */ export interface NoiseReducerTemporalFilterSettings { /** - * The speed of the filter (higher number is faster). Low setting reduces bit rate at the cost of transcode time, high setting improves transcode time at the cost of bit rate. + * Use Aggressive mode for content that has complex motion. Higher values produce stronger temporal filtering. This filters highly complex scenes more aggressively and creates better VQ for low bitrate outputs. */ - Speed?: number; + AggressiveMode?: number; /** - * Use Aggressive mode for content that has complex motion. Higher values produce stronger temporal filtering. This filters highly complex scenes more aggressively and creates better VQ for low bitrate outputs. + * Optional. When you set Noise reducer (noiseReducer) to Temporal (TEMPORAL), you can use this setting to apply sharpening. The default behavior, Auto (AUTO), allows the transcoder to determine whether to apply filtering, depending on input type and quality. When you set Noise reducer to Temporal, your output bandwidth is reduced. When Post temporal sharpening is also enabled, that bandwidth reduction is smaller. */ - AggressiveMode?: number; + PostTemporalSharpening?: NoiseFilterPostTemporalSharpening | string; /** - * Specify the strength of the noise reducing filter on this output. Higher values produce stronger filtering. We recommend the following value ranges, depending on the result that you want: * 0-2 for complexity reduction with minimal sharpness loss * 2-8 for complexity reduction with image preservation * 8-16 for a high level of complexity reduction + * The speed of the filter (higher number is faster). Low setting reduces bit rate at the cost of transcode time, high setting improves transcode time at the cost of bit rate. */ - Strength?: number; + Speed?: number; /** - * Optional. When you set Noise reducer (noiseReducer) to Temporal (TEMPORAL), you can use this setting to apply sharpening. The default behavior, Auto (AUTO), allows the transcoder to determine whether to apply filtering, depending on input type and quality. When you set Noise reducer to Temporal, your output bandwidth is reduced. When Post temporal sharpening is also enabled, that bandwidth reduction is smaller. + * Specify the strength of the noise reducing filter on this output. Higher values produce stronger filtering. We recommend the following value ranges, depending on the result that you want: * 0-2 for complexity reduction with minimal sharpness loss * 2-8 for complexity reduction with image preservation * 8-16 for a high level of complexity reduction */ - PostTemporalSharpening?: NoiseFilterPostTemporalSharpening | string; + Strength?: number; } export namespace NoiseReducerTemporalFilterSettings { @@ -1723,13 +1732,8 @@ export namespace NoiseReducerTemporalFilterSettings { /** * Enable the Noise reducer (NoiseReducer) feature to remove noise from your video output if necessary. Enable or disable this feature for each output individually. This setting is disabled by default. When you enable Noise reducer (NoiseReducer), you must also select a value for Noise reducer filter (NoiseReducerFilter). - */ -export interface NoiseReducer { - /** - * Noise reducer filter settings for spatial filter. - */ - SpatialFilterSettings?: NoiseReducerSpatialFilterSettings; - + */ +export interface NoiseReducer { /** * Use Noise reducer filter (NoiseReducerFilter) to select one of the following spatial image filtering functions. To use this setting, you must also enable Noise reducer (NoiseReducer). * Bilateral preserves edges while reducing noise. * Mean (softest), Gaussian, Lanczos, and Sharpen (sharpest) do convolution filtering. * Conserve does min/max noise reduction. * Spatial does frequency-domain filtering based on JND principles. * Temporal optimizes video quality for complex motion. */ @@ -1740,6 +1744,11 @@ export interface NoiseReducer { */ FilterSettings?: NoiseReducerFilterSettings; + /** + * Noise reducer filter settings for spatial filter. + */ + SpatialFilterSettings?: NoiseReducerSpatialFilterSettings; + /** * Noise reducer filter settings for temporal filter. */ @@ -1765,24 +1774,24 @@ export enum WatermarkingStrength { */ export interface NexGuardFileMarkerSettings { /** - * Enter one of the watermarking preset strings that Nagra provides you. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job. + * Use the base64 license string that Nagra provides you. Enter it directly in your JSON job specification or in the console. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job. */ - Preset?: string; + License?: string; /** - * Use the base64 license string that Nagra provides you. Enter it directly in your JSON job specification or in the console. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job. + * Specify the payload ID that you want associated with this output. Valid values vary depending on your Nagra NexGuard forensic watermarking workflow. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job. For PreRelease Content (NGPR/G2), specify an integer from 1 through 4,194,303. You must generate a unique ID for each asset you watermark, and keep a record of which ID you have assigned to each asset. Neither Nagra nor MediaConvert keep track of the relationship between output files and your IDs. For OTT Streaming, create two adaptive bitrate (ABR) stacks for each asset. Do this by setting up two output groups. For one output group, set the value of Payload ID (payload) to 0 in every output. For the other output group, set Payload ID (payload) to 1 in every output. */ - License?: string; + Payload?: number; /** - * Optional. Ignore this setting unless Nagra support directs you to specify a value. When you don't specify a value here, the Nagra NexGuard library uses its default value. + * Enter one of the watermarking preset strings that Nagra provides you. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job. */ - Strength?: WatermarkingStrength | string; + Preset?: string; /** - * Specify the payload ID that you want associated with this output. Valid values vary depending on your Nagra NexGuard forensic watermarking workflow. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job. For PreRelease Content (NGPR/G2), specify an integer from 1 through 4,194,303. You must generate a unique ID for each asset you watermark, and keep a record of which ID you have assigned to each asset. Neither Nagra nor MediaConvert keep track of the relationship between output files and your IDs. For OTT Streaming, create two adaptive bitrate (ABR) stacks for each asset. Do this by setting up two output groups. For one output group, set the value of Payload ID (payload) to 0 in every output. For the other output group, set Payload ID (payload) to 1 in every output. + * Optional. Ignore this setting unless Nagra support directs you to specify a value. When you don't specify a value here, the Nagra NexGuard library uses its default value. */ - Payload?: number; + Strength?: WatermarkingStrength | string; } export namespace NexGuardFileMarkerSettings { @@ -1824,9 +1833,9 @@ export enum TimecodeBurninPosition { */ export interface TimecodeBurnin { /** - * Use Prefix (Prefix) to place ASCII characters before any burned-in timecode. For example, a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either the characters themselves or the ASCII code equivalents. The supported range of characters is 0x20 through 0x7e. This includes letters, numbers, and all special characters represented on a standard English keyboard. + * Use Font Size (FontSize) to set the font size of any burned-in timecode. Valid values are 10, 16, 32, 48. */ - Prefix?: string; + FontSize?: number; /** * Use Position (Position) under under Timecode burn-in (TimecodeBurnIn) to specify the location the burned-in timecode on output video. @@ -1834,9 +1843,9 @@ export interface TimecodeBurnin { Position?: TimecodeBurninPosition | string; /** - * Use Font Size (FontSize) to set the font size of any burned-in timecode. Valid values are 10, 16, 32, 48. + * Use Prefix (Prefix) to place ASCII characters before any burned-in timecode. For example, a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either the characters themselves or the ASCII code equivalents. The supported range of characters is 0x20 through 0x7e. This includes letters, numbers, and all special characters represented on a standard English keyboard. */ - FontSize?: number; + Prefix?: string; } export namespace TimecodeBurnin { @@ -1850,39 +1859,39 @@ export namespace TimecodeBurnin { */ export interface VideoPreprocessor { /** - * Enable the Noise reducer (NoiseReducer) feature to remove noise from your video output if necessary. Enable or disable this feature for each output individually. This setting is disabled by default. + * Enable the Color corrector (ColorCorrector) feature if necessary. Enable or disable this feature for each output individually. This setting is disabled by default. */ - NoiseReducer?: NoiseReducer; + ColorCorrector?: ColorCorrector; /** - * Timecode burn-in (TimecodeBurnIn)--Burns the output timecode and specified prefix into the output. + * Use Deinterlacer (Deinterlacer) to produce smoother motion and a clearer picture. */ - TimecodeBurnin?: TimecodeBurnin; + Deinterlacer?: Deinterlacer; /** - * If you work with a third party video watermarking partner, use the group of settings that correspond with your watermarking partner to include watermarks in your output. + * Enable Dolby Vision feature to produce Dolby Vision compatible video output. */ - PartnerWatermarking?: PartnerWatermarking; + DolbyVision?: DolbyVision; /** - * Use Deinterlacer (Deinterlacer) to produce smoother motion and a clearer picture. + * Enable the Image inserter (ImageInserter) feature to include a graphic overlay on your video. Enable or disable this feature for each output individually. This setting is disabled by default. */ - Deinterlacer?: Deinterlacer; + ImageInserter?: ImageInserter; /** - * Enable the Color corrector (ColorCorrector) feature if necessary. Enable or disable this feature for each output individually. This setting is disabled by default. + * Enable the Noise reducer (NoiseReducer) feature to remove noise from your video output if necessary. Enable or disable this feature for each output individually. This setting is disabled by default. */ - ColorCorrector?: ColorCorrector; + NoiseReducer?: NoiseReducer; /** - * Enable Dolby Vision feature to produce Dolby Vision compatible video output. + * If you work with a third party video watermarking partner, use the group of settings that correspond with your watermarking partner to include watermarks in your output. */ - DolbyVision?: DolbyVision; + PartnerWatermarking?: PartnerWatermarking; /** - * Enable the Image inserter (ImageInserter) feature to include a graphic overlay on your video. Enable or disable this feature for each output individually. This setting is disabled by default. + * Timecode burn-in (TimecodeBurnIn)--Burns the output timecode and specified prefix into the output. */ - ImageInserter?: ImageInserter; + TimecodeBurnin?: TimecodeBurnin; } export namespace VideoPreprocessor { @@ -1896,14 +1905,9 @@ export namespace VideoPreprocessor { */ export interface VideoDescription { /** - * Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black. - */ - Position?: Rectangle; - - /** - * Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED). Use Fixed (FixedAfd) to specify a four-bit AFD value which the service will write on all frames of this video output. + * This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling (AfdSignaling) to specify whether the service includes AFD values in the output video data and what those values are. * Choose None to remove all AFD values from this output. * Choose Fixed to ignore input AFD values and instead encode the value specified in the job. * Choose Auto to calculate output AFD values based on the input AFD scaler data. */ - FixedAfd?: number; + AfdSignaling?: AfdSignaling | string; /** * The anti-alias filter is automatically applied to all outputs. The service no longer accepts the value DISABLED for AntiAlias. If you specify that in your job, the service will ignore the setting. @@ -1916,34 +1920,34 @@ export interface VideoDescription { CodecSettings?: VideoCodecSettings; /** - * Use Sharpness (Sharpness) setting to specify the strength of anti-aliasing. This setting changes the width of the anti-alias filter kernel used for scaling. Sharpness only applies if your output resolution is different from your input resolution. 0 is the softest setting, 100 the sharpest, and 50 recommended for most content. + * Choose Insert (INSERT) for this setting to include color metadata in this output. Choose Ignore (IGNORE) to exclude color metadata from this output. If you don't specify a value, the service sets this to Insert by default. */ - Sharpness?: number; + ColorMetadata?: ColorMetadata | string; /** - * This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling (AfdSignaling) to specify whether the service includes AFD values in the output video data and what those values are. * Choose None to remove all AFD values from this output. * Choose Fixed to ignore input AFD values and instead encode the value specified in the job. * Choose Auto to calculate output AFD values based on the input AFD scaler data. + * Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. */ - AfdSignaling?: AfdSignaling | string; + Crop?: Rectangle; /** - * Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. + * Applies only to 29.97 fps outputs. When this feature is enabled, the service will use drop-frame timecode on outputs. If it is not possible to use drop-frame timecode, the system will fall back to non-drop-frame. This setting is enabled by default when Timecode insertion (TimecodeInsertion) is enabled. */ - Crop?: Rectangle; + DropFrameTimecode?: DropFrameTimecode | string; /** - * Applies only to H.264, H.265, MPEG2, and ProRes outputs. Only enable Timecode insertion when the input frame rate is identical to the output frame rate. To include timecodes in this output, set Timecode insertion (VideoTimecodeInsertion) to PIC_TIMING_SEI. To leave them out, set it to DISABLED. Default is DISABLED. When the service inserts timecodes in an output, by default, it uses any embedded timecodes from the input. If none are present, the service will set the timecode for the first output frame to zero. To change this default behavior, adjust the settings under Timecode configuration (TimecodeConfig). In the console, these settings are located under Job > Job settings > Timecode configuration. Note - Timecode source under input settings (InputTimecodeSource) does not affect the timecodes that are inserted in the output. Source under Job settings > Timecode configuration (TimecodeSource) does. + * Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED). Use Fixed (FixedAfd) to specify a four-bit AFD value which the service will write on all frames of this video output. */ - TimecodeInsertion?: VideoTimecodeInsertion | string; + FixedAfd?: number; /** - * Choose Insert (INSERT) for this setting to include color metadata in this output. Choose Ignore (IGNORE) to exclude color metadata from this output. If you don't specify a value, the service sets this to Insert by default. + * Use the Height (Height) setting to define the video resolution height for this output. Specify in pixels. If you don't provide a value here, the service will use the input height. */ - ColorMetadata?: ColorMetadata | string; + Height?: number; /** - * Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio. Choose Stretch to output (STRETCH_TO_OUTPUT) to have the service stretch your video image to fit. Keep the setting Default (DEFAULT) to have the service letterbox your video instead. This setting overrides any value that you specify for the setting Selection placement (position) in this output. + * Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black. */ - ScalingBehavior?: ScalingBehavior | string; + Position?: Rectangle; /** * Use Respond to AFD (RespondToAfd) to specify how the service changes the video itself in response to AFD values in the input. * Choose Respond to clip the input video frame according to the AFD value, input display aspect ratio, and output display aspect ratio. * Choose Passthrough to include the input AFD values. Do not choose this when AfdSignaling is set to (NONE). A preferred implementation of this workflow is to set RespondToAfd to (NONE) and set AfdSignaling to (AUTO). * Choose None to remove all input AFD values from this output. @@ -1951,14 +1955,19 @@ export interface VideoDescription { RespondToAfd?: RespondToAfd | string; /** - * Use the Height (Height) setting to define the video resolution height for this output. Specify in pixels. If you don't provide a value here, the service will use the input height. + * Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio. Choose Stretch to output (STRETCH_TO_OUTPUT) to have the service stretch your video image to fit. Keep the setting Default (DEFAULT) to have the service letterbox your video instead. This setting overrides any value that you specify for the setting Selection placement (position) in this output. */ - Height?: number; + ScalingBehavior?: ScalingBehavior | string; /** - * Applies only to 29.97 fps outputs. When this feature is enabled, the service will use drop-frame timecode on outputs. If it is not possible to use drop-frame timecode, the system will fall back to non-drop-frame. This setting is enabled by default when Timecode insertion (TimecodeInsertion) is enabled. + * Use Sharpness (Sharpness) setting to specify the strength of anti-aliasing. This setting changes the width of the anti-alias filter kernel used for scaling. Sharpness only applies if your output resolution is different from your input resolution. 0 is the softest setting, 100 the sharpest, and 50 recommended for most content. */ - DropFrameTimecode?: DropFrameTimecode | string; + Sharpness?: number; + + /** + * Applies only to H.264, H.265, MPEG2, and ProRes outputs. Only enable Timecode insertion when the input frame rate is identical to the output frame rate. To include timecodes in this output, set Timecode insertion (VideoTimecodeInsertion) to PIC_TIMING_SEI. To leave them out, set it to DISABLED. Default is DISABLED. When the service inserts timecodes in an output, by default, it uses any embedded timecodes from the input. If none are present, the service will set the timecode for the first output frame to zero. To change this default behavior, adjust the settings under Timecode configuration (TimecodeConfig). In the console, these settings are located under Job > Job settings > Timecode configuration. Note - Timecode source under input settings (InputTimecodeSource) does not affect the timecodes that are inserted in the output. Source under Job settings > Timecode configuration (TimecodeSource) does. + */ + TimecodeInsertion?: VideoTimecodeInsertion | string; /** * Find additional transcoding features under Preprocessors (VideoPreprocessors). Enable the features at each output individually. These features are disabled by default. @@ -1982,9 +1991,9 @@ export namespace VideoDescription { */ export interface Output { /** - * (VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec that you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output. + * (AudioDescriptions) contains groups of audio encoding settings organized by audio codec. Include one instance of (AudioDescriptions) per output. (AudioDescriptions) can contain multiple groups of encoding settings. */ - VideoDescription?: VideoDescription; + AudioDescriptions?: AudioDescription[]; /** * (CaptionDescriptions) contains groups of captions settings. For each output that has captions, include one instance of (CaptionDescriptions). (CaptionDescriptions) can contain multiple groups of captions settings. @@ -1992,19 +2001,19 @@ export interface Output { CaptionDescriptions?: CaptionDescription[]; /** - * Use Extension (Extension) to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3) + * Container specific settings. */ - Extension?: string; + ContainerSettings?: ContainerSettings; /** - * Container specific settings. + * Use Extension (Extension) to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3) */ - ContainerSettings?: ContainerSettings; + Extension?: string; /** - * (AudioDescriptions) contains groups of audio encoding settings organized by audio codec. Include one instance of (AudioDescriptions) per output. (AudioDescriptions) can contain multiple groups of encoding settings. + * Use Name modifier (NameModifier) to have the service add a string to the end of each output filename. You specify the base filename as part of your destination URI. When you create multiple outputs in the same output group, Name modifier (NameModifier) is required. Name modifier also accepts format identifiers. For DASH ISO outputs, if you use the format identifiers $Number$ or $Time$ in one output, you must use them in the same way in all outputs of the output group. */ - AudioDescriptions?: AudioDescription[]; + NameModifier?: string; /** * Specific settings for this type of output. @@ -2012,14 +2021,14 @@ export interface Output { OutputSettings?: OutputSettings; /** - * Use Name modifier (NameModifier) to have the service add a string to the end of each output filename. You specify the base filename as part of your destination URI. When you create multiple outputs in the same output group, Name modifier (NameModifier) is required. Name modifier also accepts format identifiers. For DASH ISO outputs, if you use the format identifiers $Number$ or $Time$ in one output, you must use them in the same way in all outputs of the output group. + * Use Preset (Preset) to specifiy a preset for your transcoding settings. Provide the system or custom preset name. You can specify either Preset (Preset) or Container settings (ContainerSettings), but not both. */ - NameModifier?: string; + Preset?: string; /** - * Use Preset (Preset) to specifiy a preset for your transcoding settings. Provide the system or custom preset name. You can specify either Preset (Preset) or Container settings (ContainerSettings), but not both. + * (VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec that you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output. */ - Preset?: string; + VideoDescription?: VideoDescription; } export namespace Output { @@ -2033,24 +2042,29 @@ export namespace Output { */ export interface OutputGroup { /** - * This object holds groups of encoding settings, one group of settings per output. + * Use automated encoding to have MediaConvert choose your encoding settings for you, based on characteristics of your input video. */ - Outputs?: Output[]; + AutomatedEncodingSettings?: AutomatedEncodingSettings; /** * Use Custom Group Name (CustomName) to specify a name for the output group. This value is displayed on the console and can make your job settings JSON more human-readable. It does not affect your outputs. Use up to twelve characters that are either letters, numbers, spaces, or underscores. */ CustomName?: string; + /** + * Name of the output group + */ + Name?: string; + /** * Output Group settings, including type */ OutputGroupSettings?: OutputGroupSettings; /** - * Name of the output group + * This object holds groups of encoding settings, one group of settings per output. */ - Name?: string; + Outputs?: Output[]; } export namespace OutputGroup { @@ -2070,24 +2084,24 @@ export enum TimecodeSource { */ export interface TimecodeConfig { /** - * Only use when you set Source (TimecodeSource) to Specified start (SPECIFIEDSTART). Use Start timecode (Start) to specify the timecode for the initial frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF). + * If you use an editing platform that relies on an anchor timecode, use Anchor Timecode (Anchor) to specify a timecode that will match the input video frame to the output video frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF). This setting ignores frame rate conversion. System behavior for Anchor Timecode varies depending on your setting for Source (TimecodeSource). * If Source (TimecodeSource) is set to Specified Start (SPECIFIEDSTART), the first input frame is the specified value in Start Timecode (Start). Anchor Timecode (Anchor) and Start Timecode (Start) are used calculate output timecode. * If Source (TimecodeSource) is set to Start at 0 (ZEROBASED) the first frame is 00:00:00:00. * If Source (TimecodeSource) is set to Embedded (EMBEDDED), the first frame is the timecode value on the first input frame of the input. */ - Start?: string; + Anchor?: string; /** - * Only applies to outputs that support program-date-time stamp. Use Timestamp offset (TimestampOffset) to overwrite the timecode date without affecting the time and frame number. Provide the new date as a string in the format "yyyy-mm-dd". To use Time stamp offset, you must also enable Insert program-date-time (InsertProgramDateTime) in the output settings. For example, if the date part of your timecodes is 2002-1-25 and you want to change it to one year later, set Timestamp offset (TimestampOffset) to 2003-1-25. + * Use Source (TimecodeSource) to set how timecodes are handled within this job. To make sure that your video, audio, captions, and markers are synchronized and that time-based features, such as image inserter, work correctly, choose the Timecode source option that matches your assets. All timecodes are in a 24-hour format with frame number (HH:MM:SS:FF). * Embedded (EMBEDDED) - Use the timecode that is in the input video. If no embedded timecode is in the source, the service will use Start at 0 (ZEROBASED) instead. * Start at 0 (ZEROBASED) - Set the timecode of the initial frame to 00:00:00:00. * Specified Start (SPECIFIEDSTART) - Set the timecode of the initial frame to a value other than zero. You use Start timecode (Start) to provide this value. */ - TimestampOffset?: string; + Source?: TimecodeSource | string; /** - * If you use an editing platform that relies on an anchor timecode, use Anchor Timecode (Anchor) to specify a timecode that will match the input video frame to the output video frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF). This setting ignores frame rate conversion. System behavior for Anchor Timecode varies depending on your setting for Source (TimecodeSource). * If Source (TimecodeSource) is set to Specified Start (SPECIFIEDSTART), the first input frame is the specified value in Start Timecode (Start). Anchor Timecode (Anchor) and Start Timecode (Start) are used calculate output timecode. * If Source (TimecodeSource) is set to Start at 0 (ZEROBASED) the first frame is 00:00:00:00. * If Source (TimecodeSource) is set to Embedded (EMBEDDED), the first frame is the timecode value on the first input frame of the input. + * Only use when you set Source (TimecodeSource) to Specified start (SPECIFIEDSTART). Use Start timecode (Start) to specify the timecode for the initial frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF). */ - Anchor?: string; + Start?: string; /** - * Use Source (TimecodeSource) to set how timecodes are handled within this job. To make sure that your video, audio, captions, and markers are synchronized and that time-based features, such as image inserter, work correctly, choose the Timecode source option that matches your assets. All timecodes are in a 24-hour format with frame number (HH:MM:SS:FF). * Embedded (EMBEDDED) - Use the timecode that is in the input video. If no embedded timecode is in the source, the service will use Start at 0 (ZEROBASED) instead. * Start at 0 (ZEROBASED) - Set the timecode of the initial frame to 00:00:00:00. * Specified Start (SPECIFIEDSTART) - Set the timecode of the initial frame to a value other than zero. You use Start timecode (Start) to provide this value. + * Only applies to outputs that support program-date-time stamp. Use Timestamp offset (TimestampOffset) to overwrite the timecode date without affecting the time and frame number. Provide the new date as a string in the format "yyyy-mm-dd". To use Time stamp offset, you must also enable Insert program-date-time (InsertProgramDateTime) in the output settings. For example, if the date part of your timecodes is 2002-1-25 and you want to change it to one year later, set Timestamp offset (TimestampOffset) to 2003-1-25. */ - Source?: TimecodeSource | string; + TimestampOffset?: string; } export namespace TimecodeConfig { @@ -2117,14 +2131,14 @@ export namespace TimedMetadataInsertion { */ export interface JobSettings { /** - * Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails. + * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. */ - AvailBlanking?: AvailBlanking; + AdAvailOffset?: number; /** - * Settings for your Nielsen configuration. If you don't do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration (nielsenConfiguration), MediaConvert enables PCM to ID3 tagging for all outputs in the job. To enable Nielsen configuration programmatically, include an instance of nielsenConfiguration in your JSON job specification. Even if you don't include any children of nielsenConfiguration, you still enable the setting. + * Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails. */ - NielsenConfiguration?: NielsenConfiguration; + AvailBlanking?: AvailBlanking; /** * Settings for Event Signaling And Messaging (ESAM). @@ -2132,34 +2146,34 @@ export interface JobSettings { Esam?: EsamSettings; /** - * Contains settings used to acquire and adjust timecode information from inputs. + * Use Inputs (inputs) to define source file used in the transcode job. There can be multiple inputs add in a job. These inputs will be concantenated together to create the output. */ - TimecodeConfig?: TimecodeConfig; + Inputs?: Input[]; /** - * Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0] + * Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. */ - NielsenNonLinearWatermark?: NielsenNonLinearWatermarkSettings; + MotionImageInserter?: MotionImageInserter; /** - * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. + * Settings for your Nielsen configuration. If you don't do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration (nielsenConfiguration), MediaConvert enables PCM to ID3 tagging for all outputs in the job. To enable Nielsen configuration programmatically, include an instance of nielsenConfiguration in your JSON job specification. Even if you don't include any children of nielsenConfiguration, you still enable the setting. */ - AdAvailOffset?: number; + NielsenConfiguration?: NielsenConfiguration; /** - * Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. + * Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0] */ - MotionImageInserter?: MotionImageInserter; + NielsenNonLinearWatermark?: NielsenNonLinearWatermarkSettings; /** - * Use Inputs (inputs) to define source file used in the transcode job. There can be multiple inputs add in a job. These inputs will be concantenated together to create the output. + * (OutputGroups) contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in (OutputGroups) is a group of settings that apply to the whole group. This required object depends on the value you set for (Type) under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings */ - Inputs?: Input[]; + OutputGroups?: OutputGroup[]; /** - * (OutputGroups) contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in (OutputGroups) is a group of settings that apply to the whole group. This required object depends on the value you set for (Type) under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings + * Contains settings used to acquire and adjust timecode information from inputs. */ - OutputGroups?: OutputGroup[]; + TimecodeConfig?: TimecodeConfig; /** * Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in any HLS outputs. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects. @@ -2208,11 +2222,6 @@ export enum StatusUpdateInterval { * Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds. */ export interface Timing { - /** - * The time, in Unix epoch format, that you submitted the job. - */ - SubmitTime?: Date; - /** * The time, in Unix epoch format, that the transcoding job finished */ @@ -2222,6 +2231,11 @@ export interface Timing { * The time, in Unix epoch format, that transcoding for the job began. */ StartTime?: Date; + + /** + * The time, in Unix epoch format, that you submitted the job. + */ + SubmitTime?: Date; } export namespace Timing { @@ -2234,30 +2248,20 @@ export namespace Timing { * Each job converts an input file into an output file or files. For more information, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html */ export interface Job { - /** - * The job's queue hopping history. - */ - QueueTransitions?: QueueTransition[]; - - /** - * User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs. - */ - UserMetadata?: { [key: string]: string }; - /** * Accelerated transcoding can significantly speed up jobs with long, visually complex content. */ AccelerationSettings?: AccelerationSettings; /** - * An estimate of how far your job has progressed. This estimate is shown as a percentage of the total time from when your job leaves its queue to when your output files appear in your output Amazon S3 bucket. AWS Elemental MediaConvert provides jobPercentComplete in CloudWatch STATUS_UPDATE events and in the response to GetJob and ListJobs requests. The jobPercentComplete estimate is reliable for the following input containers: Quicktime, Transport Stream, MP4, and MXF. For some jobs, the service can't provide information about job progress. In those cases, jobPercentComplete returns a null value. + * Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED. */ - JobPercentComplete?: number; + AccelerationStatus?: AccelerationStatus | string; /** - * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error. + * An identifier for this resource that is unique within all of AWS. */ - StatusUpdateInterval?: StatusUpdateInterval | string; + Arn?: string; /** * The tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up. @@ -2265,9 +2269,9 @@ export interface Job { BillingTagsSource?: BillingTagsSource | string; /** - * Relative priority on the job. + * The time, in Unix epoch format in seconds, when the job got created. */ - Priority?: number; + CreatedAt?: Date; /** * A job's phase can be PROBING, TRANSCODING OR UPLOADING @@ -2275,34 +2279,39 @@ export interface Job { CurrentPhase?: JobPhase | string; /** - * The number of times that the service automatically attempted to process your job after encountering an error. + * Error code for the job */ - RetryCount?: number; + ErrorCode?: number; /** - * When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + * Error message of Job */ - Queue?: string; + ErrorMessage?: string; /** - * Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default. + * Optional list of hop destinations. */ - SimulateReservedQueue?: SimulateReservedQueue | string; + HopDestinations?: HopDestination[]; /** - * JobSettings contains all the transcode settings for a job. + * A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources */ - Settings: JobSettings | undefined; + Id?: string; /** - * Error code for the job + * An estimate of how far your job has progressed. This estimate is shown as a percentage of the total time from when your job leaves its queue to when your output files appear in your output Amazon S3 bucket. AWS Elemental MediaConvert provides jobPercentComplete in CloudWatch STATUS_UPDATE events and in the response to GetJob and ListJobs requests. The jobPercentComplete estimate is reliable for the following input containers: Quicktime, Transport Stream, MP4, and MXF. For some jobs, the service can't provide information about job progress. In those cases, jobPercentComplete returns a null value. */ - ErrorCode?: number; + JobPercentComplete?: number; /** - * Optional list of hop destinations. + * The job template that the job is created from, if it is created from a job template. */ - HopDestinations?: HopDestination[]; + JobTemplate?: string; + + /** + * Provides messages from the service about jobs that you have already successfully submitted. + */ + Messages?: JobMessages; /** * List of output group details @@ -2310,39 +2319,39 @@ export interface Job { OutputGroupDetails?: OutputGroupDetail[]; /** - * A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources + * Relative priority on the job. */ - Id?: string; + Priority?: number; /** - * The job template that the job is created from, if it is created from a job template. + * When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html */ - JobTemplate?: string; + Queue?: string; /** - * Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds. + * The job's queue hopping history. */ - Timing?: Timing; + QueueTransitions?: QueueTransition[]; /** - * Provides messages from the service about jobs that you have already successfully submitted. + * The number of times that the service automatically attempted to process your job after encountering an error. */ - Messages?: JobMessages; + RetryCount?: number; /** - * Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED. + * The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html */ - AccelerationStatus?: AccelerationStatus | string; + Role: string | undefined; /** - * The time, in Unix epoch format in seconds, when the job got created. + * JobSettings contains all the transcode settings for a job. */ - CreatedAt?: Date; + Settings: JobSettings | undefined; /** - * The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html + * Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default. */ - Role: string | undefined; + SimulateReservedQueue?: SimulateReservedQueue | string; /** * A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR. @@ -2350,14 +2359,19 @@ export interface Job { Status?: JobStatus | string; /** - * An identifier for this resource that is unique within all of AWS. + * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error. */ - Arn?: string; + StatusUpdateInterval?: StatusUpdateInterval | string; /** - * Error message of Job + * Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds. */ - ErrorMessage?: string; + Timing?: Timing; + + /** + * User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs. + */ + UserMetadata?: { [key: string]: string }; } export namespace Job { @@ -2371,29 +2385,29 @@ export namespace Job { */ export interface JobTemplateSettings { /** - * Use Inputs (inputs) to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template. + * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. */ - Inputs?: InputTemplate[]; + AdAvailOffset?: number; /** - * Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. + * Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails. */ - MotionImageInserter?: MotionImageInserter; + AvailBlanking?: AvailBlanking; /** - * Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0] + * Settings for Event Signaling And Messaging (ESAM). */ - NielsenNonLinearWatermark?: NielsenNonLinearWatermarkSettings; + Esam?: EsamSettings; /** - * Contains settings used to acquire and adjust timecode information from inputs. + * Use Inputs (inputs) to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template. */ - TimecodeConfig?: TimecodeConfig; + Inputs?: InputTemplate[]; /** - * (OutputGroups) contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in (OutputGroups) is a group of settings that apply to the whole group. This required object depends on the value you set for (Type) under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings + * Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. */ - OutputGroups?: OutputGroup[]; + MotionImageInserter?: MotionImageInserter; /** * Settings for your Nielsen configuration. If you don't do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration (nielsenConfiguration), MediaConvert enables PCM to ID3 tagging for all outputs in the job. To enable Nielsen configuration programmatically, include an instance of nielsenConfiguration in your JSON job specification. Even if you don't include any children of nielsenConfiguration, you still enable the setting. @@ -2401,24 +2415,24 @@ export interface JobTemplateSettings { NielsenConfiguration?: NielsenConfiguration; /** - * Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails. + * Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0] */ - AvailBlanking?: AvailBlanking; + NielsenNonLinearWatermark?: NielsenNonLinearWatermarkSettings; /** - * Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in any HLS outputs. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects. + * (OutputGroups) contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in (OutputGroups) is a group of settings that apply to the whole group. This required object depends on the value you set for (Type) under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings */ - TimedMetadataInsertion?: TimedMetadataInsertion; + OutputGroups?: OutputGroup[]; /** - * Settings for Event Signaling And Messaging (ESAM). + * Contains settings used to acquire and adjust timecode information from inputs. */ - Esam?: EsamSettings; + TimecodeConfig?: TimecodeConfig; /** - * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. + * Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in any HLS outputs. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects. */ - AdAvailOffset?: number; + TimedMetadataInsertion?: TimedMetadataInsertion; } export namespace JobTemplateSettings { @@ -2436,30 +2450,20 @@ export enum Type { * A job template is a pre-made set of encoding instructions that you can use to quickly create a job. */ export interface JobTemplate { - /** - * Optional list of hop destinations. - */ - HopDestinations?: HopDestination[]; - /** * Accelerated transcoding can significantly speed up jobs with long, visually complex content. */ AccelerationSettings?: AccelerationSettings; /** - * A job template can be of two types: system or custom. System or built-in job templates can't be modified or deleted by the user. - */ - Type?: Type | string; - - /** - * A name you create for each job template. Each name must be unique within your account. + * An identifier for this resource that is unique within all of AWS. */ - Name: string | undefined; + Arn?: string; /** - * Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs will go to the default queue. + * An optional category you create to organize your job templates. */ - Queue?: string; + Category?: string; /** * The timestamp in epoch seconds for Job template creation. @@ -2472,14 +2476,29 @@ export interface JobTemplate { Description?: string; /** - * An optional category you create to organize your job templates. + * Optional list of hop destinations. */ - Category?: string; + HopDestinations?: HopDestination[]; /** - * An identifier for this resource that is unique within all of AWS. + * The timestamp in epoch seconds when the Job template was last updated. */ - Arn?: string; + LastUpdated?: Date; + + /** + * A name you create for each job template. Each name must be unique within your account. + */ + Name: string | undefined; + + /** + * Relative priority on the job. + */ + Priority?: number; + + /** + * Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs will go to the default queue. + */ + Queue?: string; /** * JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it. @@ -2492,14 +2511,9 @@ export interface JobTemplate { StatusUpdateInterval?: StatusUpdateInterval | string; /** - * The timestamp in epoch seconds when the Job template was last updated. - */ - LastUpdated?: Date; - - /** - * Relative priority on the job. + * A job template can be of two types: system or custom. System or built-in job templates can't be modified or deleted by the user. */ - Priority?: number; + Type?: Type | string; } export namespace JobTemplate { @@ -2518,9 +2532,9 @@ export interface PresetSettings { AudioDescriptions?: AudioDescription[]; /** - * (VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec that you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output. + * Caption settings for this preset. There can be multiple caption settings in a single output. */ - VideoDescription?: VideoDescription; + CaptionDescriptions?: CaptionDescriptionPreset[]; /** * Container specific settings. @@ -2528,9 +2542,9 @@ export interface PresetSettings { ContainerSettings?: ContainerSettings; /** - * Caption settings for this preset. There can be multiple caption settings in a single output. + * (VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec that you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output. */ - CaptionDescriptions?: CaptionDescriptionPreset[]; + VideoDescription?: VideoDescription; } export namespace PresetSettings { @@ -2549,39 +2563,39 @@ export interface Preset { Arn?: string; /** - * The timestamp in epoch seconds when the preset was last updated. + * An optional category you create to organize your presets. */ - LastUpdated?: Date; + Category?: string; /** - * A name you create for each preset. Each name must be unique within your account. + * The timestamp in epoch seconds for preset creation. */ - Name: string | undefined; + CreatedAt?: Date; /** - * Settings for preset + * An optional description you create for each preset. */ - Settings: PresetSettings | undefined; + Description?: string; /** - * A preset can be of two types: system or custom. System or built-in preset can't be modified or deleted by the user. + * The timestamp in epoch seconds when the preset was last updated. */ - Type?: Type | string; + LastUpdated?: Date; /** - * The timestamp in epoch seconds for preset creation. + * A name you create for each preset. Each name must be unique within your account. */ - CreatedAt?: Date; + Name: string | undefined; /** - * An optional description you create for each preset. + * Settings for preset */ - Description?: string; + Settings: PresetSettings | undefined; /** - * An optional category you create to organize your presets. + * A preset can be of two types: system or custom. System or built-in preset can't be modified or deleted by the user. */ - Category?: string; + Type?: Type | string; } export namespace Preset { @@ -2614,19 +2628,19 @@ export enum ReservationPlanStatus { */ export interface ReservationPlan { /** - * Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED. + * The length of the term of your reserved queue pricing plan commitment. */ - Status?: ReservationPlanStatus | string; + Commitment?: Commitment | string; /** - * The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue. + * The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires. */ - PurchasedAt?: Date; + ExpiresAt?: Date; /** - * The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires. + * The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue. */ - ExpiresAt?: Date; + PurchasedAt?: Date; /** * Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. @@ -2634,14 +2648,14 @@ export interface ReservationPlan { RenewalType?: RenewalType | string; /** - * The length of the term of your reserved queue pricing plan commitment. + * Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue. */ - Commitment?: Commitment | string; + ReservedSlots?: number; /** - * Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue. + * Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED. */ - ReservedSlots?: number; + Status?: ReservationPlanStatus | string; } export namespace ReservationPlan { @@ -2660,14 +2674,14 @@ export enum QueueStatus { */ export interface Queue { /** - * Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues. + * An identifier for this resource that is unique within all of AWS. */ - Type?: Type | string; + Arn?: string; /** - * Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error. + * The timestamp in epoch seconds for when you created the queue. */ - Status?: QueueStatus | string; + CreatedAt?: Date; /** * An optional description that you create for each queue. @@ -2675,9 +2689,14 @@ export interface Queue { Description?: string; /** - * The timestamp in epoch seconds for when you created the queue. + * The timestamp in epoch seconds for when you most recently updated the queue. */ - CreatedAt?: Date; + LastUpdated?: Date; + + /** + * A name that you create for each queue. Each name must be unique within your account. + */ + Name: string | undefined; /** * Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. @@ -2685,9 +2704,9 @@ export interface Queue { PricingPlan?: PricingPlan | string; /** - * The timestamp in epoch seconds for when you most recently updated the queue. + * The estimated number of jobs with a PROGRESSING status. */ - LastUpdated?: Date; + ProgressingJobsCount?: number; /** * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. @@ -2695,24 +2714,19 @@ export interface Queue { ReservationPlan?: ReservationPlan; /** - * The estimated number of jobs with a SUBMITTED status. - */ - SubmittedJobsCount?: number; - - /** - * An identifier for this resource that is unique within all of AWS. + * Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error. */ - Arn?: string; + Status?: QueueStatus | string; /** - * A name that you create for each queue. Each name must be unique within your account. + * The estimated number of jobs with a SUBMITTED status. */ - Name: string | undefined; + SubmittedJobsCount?: number; /** - * The estimated number of jobs with a PROGRESSING status. + * Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues. */ - ProgressingJobsCount?: number; + Type?: Type | string; } export namespace Queue { @@ -2855,34 +2869,29 @@ export namespace CancelJobResponse { export interface CreateJobRequest { /** - * Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html. - */ - Role: string | undefined; - - /** - * Optional. Use queue hopping to avoid overly long waits in the backlog of the queue that you submit your job to. Specify an alternate queue and the maximum time that your job will wait in the initial queue before hopping. For more information about this feature, see the AWS Elemental MediaConvert User Guide. + * Optional. Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide. */ - HopDestinations?: HopDestination[]; + AccelerationSettings?: AccelerationSettings; /** - * Optional. Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default. + * Optional. Choose a tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up. Any transcoding outputs that don't have an associated tag will appear in your billing report unsorted. If you don't choose a valid value for this field, your job outputs will appear on the billing report unsorted. */ - SimulateReservedQueue?: SimulateReservedQueue | string; + BillingTagsSource?: BillingTagsSource | string; /** - * Optional. The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. + * Optional. Idempotency token for CreateJob operation. */ - Tags?: { [key: string]: string }; + ClientRequestToken?: string; /** - * Optional. User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs. + * Optional. Use queue hopping to avoid overly long waits in the backlog of the queue that you submit your job to. Specify an alternate queue and the maximum time that your job will wait in the initial queue before hopping. For more information about this feature, see the AWS Elemental MediaConvert User Guide. */ - UserMetadata?: { [key: string]: string }; + HopDestinations?: HopDestination[]; /** - * Optional. Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error. + * Optional. When you create a job, you can either specify a job template or specify the transcoding settings individually. */ - StatusUpdateInterval?: StatusUpdateInterval | string; + JobTemplate?: string; /** * Optional. Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0. @@ -2890,14 +2899,14 @@ export interface CreateJobRequest { Priority?: number; /** - * Optional. Choose a tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up. Any transcoding outputs that don't have an associated tag will appear in your billing report unsorted. If you don't choose a valid value for this field, your job outputs will appear on the billing report unsorted. + * Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html. */ - BillingTagsSource?: BillingTagsSource | string; + Queue?: string; /** - * Optional. When you create a job, you can either specify a job template or specify the transcoding settings individually. + * Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html. */ - JobTemplate?: string; + Role: string | undefined; /** * JobSettings contains all the transcode settings for a job. @@ -2905,19 +2914,24 @@ export interface CreateJobRequest { Settings: JobSettings | undefined; /** - * Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html. + * Optional. Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default. */ - Queue?: string; + SimulateReservedQueue?: SimulateReservedQueue | string; + + /** + * Optional. Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error. + */ + StatusUpdateInterval?: StatusUpdateInterval | string; /** - * Optional. Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide. + * Optional. The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. */ - AccelerationSettings?: AccelerationSettings; + Tags?: { [key: string]: string }; /** - * Optional. Idempotency token for CreateJob operation. + * Optional. User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs. */ - ClientRequestToken?: string; + UserMetadata?: { [key: string]: string }; } export namespace CreateJobRequest { @@ -2946,34 +2960,34 @@ export interface CreateJobTemplateRequest { AccelerationSettings?: AccelerationSettings; /** - * Optional. A description of the job template you are creating. + * Optional. A category for the job template you are creating */ - Description?: string; + Category?: string; /** - * Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0. + * Optional. A description of the job template you are creating. */ - Priority?: number; + Description?: string; /** - * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error. + * Optional. Use queue hopping to avoid overly long waits in the backlog of the queue that you submit your job to. Specify an alternate queue and the maximum time that your job will wait in the initial queue before hopping. For more information about this feature, see the AWS Elemental MediaConvert User Guide. */ - StatusUpdateInterval?: StatusUpdateInterval | string; + HopDestinations?: HopDestination[]; /** - * Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs will go to the default queue. + * The name of the job template you are creating. */ - Queue?: string; + Name: string | undefined; /** - * Optional. A category for the job template you are creating + * Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0. */ - Category?: string; + Priority?: number; /** - * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. + * Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs will go to the default queue. */ - Tags?: { [key: string]: string }; + Queue?: string; /** * JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it. @@ -2981,14 +2995,14 @@ export interface CreateJobTemplateRequest { Settings: JobTemplateSettings | undefined; /** - * The name of the job template you are creating. + * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error. */ - Name: string | undefined; + StatusUpdateInterval?: StatusUpdateInterval | string; /** - * Optional. Use queue hopping to avoid overly long waits in the backlog of the queue that you submit your job to. Specify an alternate queue and the maximum time that your job will wait in the initial queue before hopping. For more information about this feature, see the AWS Elemental MediaConvert User Guide. + * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. */ - HopDestinations?: HopDestination[]; + Tags?: { [key: string]: string }; } export namespace CreateJobTemplateRequest { @@ -3012,14 +3026,14 @@ export namespace CreateJobTemplateResponse { export interface CreatePresetRequest { /** - * Optional. A description of the preset you are creating. + * Optional. A category for the preset you are creating. */ - Description?: string; + Category?: string; /** - * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. + * Optional. A description of the preset you are creating. */ - Tags?: { [key: string]: string }; + Description?: string; /** * The name of the preset you are creating. @@ -3032,9 +3046,9 @@ export interface CreatePresetRequest { Settings: PresetSettings | undefined; /** - * Optional. A category for the preset you are creating. + * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. */ - Category?: string; + Tags?: { [key: string]: string }; } export namespace CreatePresetRequest { @@ -3060,11 +3074,6 @@ export namespace CreatePresetResponse { * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. */ export interface ReservationPlanSettings { - /** - * Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can't decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can't cancel your commitment or revert to your original commitment after you increase the capacity. - */ - ReservedSlots: number | undefined; - /** * The length of the term of your reserved queue pricing plan commitment. */ @@ -3074,6 +3083,11 @@ export interface ReservationPlanSettings { * Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. When your term is auto renewed, you extend your commitment by 12 months from the auto renew date. You can cancel this commitment. */ RenewalType: RenewalType | string | undefined; + + /** + * Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can't decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can't cancel your commitment or revert to your original commitment after you increase the capacity. + */ + ReservedSlots: number | undefined; } export namespace ReservationPlanSettings { @@ -3093,25 +3107,25 @@ export interface CreateQueueRequest { */ Name: string | undefined; - /** - * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. - */ - ReservationPlanSettings?: ReservationPlanSettings; - /** * Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. When you use the API to create a queue, the default is on-demand. */ PricingPlan?: PricingPlan | string; /** - * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. + * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. */ - Tags?: { [key: string]: string }; + ReservationPlanSettings?: ReservationPlanSettings; /** * Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin. */ Status?: QueueStatus | string; + + /** + * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. + */ + Tags?: { [key: string]: string }; } export namespace CreateQueueRequest { @@ -3211,14 +3225,14 @@ export interface DescribeEndpointsRequest { MaxResults?: number; /** - * Use this string, provided with the response to a previous request, to request the next batch of endpoints. + * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist. */ - NextToken?: string; + Mode?: DescribeEndpointsMode | string; /** - * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist. + * Use this string, provided with the response to a previous request, to request the next batch of endpoints. */ - Mode?: DescribeEndpointsMode | string; + NextToken?: string; } export namespace DescribeEndpointsRequest { @@ -3229,14 +3243,14 @@ export namespace DescribeEndpointsRequest { export interface DescribeEndpointsResponse { /** - * Use this string to request the next batch of endpoints. + * List of endpoints */ - NextToken?: string; + Endpoints?: Endpoint[]; /** - * List of endpoints + * Use this string to request the next batch of endpoints. */ - Endpoints?: Endpoint[]; + NextToken?: string; } export namespace DescribeEndpointsResponse { @@ -3383,29 +3397,29 @@ export enum Order { export interface ListJobsRequest { /** - * Optional. Use this string, provided with the response to a previous request, to request the next batch of jobs. + * Optional. Number of jobs, up to twenty, that will be returned at one time. */ - NextToken?: string; + MaxResults?: number; /** - * Optional. Provide a queue name to get back only jobs from that queue. + * Optional. Use this string, provided with the response to a previous request, to request the next batch of jobs. */ - Queue?: string; + NextToken?: string; /** - * Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR. + * Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource. */ - Status?: JobStatus | string; + Order?: Order | string; /** - * Optional. Number of jobs, up to twenty, that will be returned at one time. + * Optional. Provide a queue name to get back only jobs from that queue. */ - MaxResults?: number; + Queue?: string; /** - * Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource. + * Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR. */ - Order?: Order | string; + Status?: JobStatus | string; } export namespace ListJobsRequest { @@ -3416,14 +3430,14 @@ export namespace ListJobsRequest { export interface ListJobsResponse { /** - * Use this string to request the next batch of jobs. + * List of jobs */ - NextToken?: string; + Jobs?: Job[]; /** - * List of jobs + * Use this string to request the next batch of jobs. */ - Jobs?: Job[]; + NextToken?: string; } export namespace ListJobsResponse { @@ -3434,14 +3448,14 @@ export namespace ListJobsResponse { export interface ListJobTemplatesRequest { /** - * Optional. When you request a list of job templates, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name. + * Optionally, specify a job template category to limit responses to only job templates from that category. */ - ListBy?: JobTemplateListBy | string; + Category?: string; /** - * Use this string, provided with the response to a previous request, to request the next batch of job templates. + * Optional. When you request a list of job templates, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name. */ - NextToken?: string; + ListBy?: JobTemplateListBy | string; /** * Optional. Number of job templates, up to twenty, that will be returned at one time. @@ -3449,14 +3463,14 @@ export interface ListJobTemplatesRequest { MaxResults?: number; /** - * Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource. + * Use this string, provided with the response to a previous request, to request the next batch of job templates. */ - Order?: Order | string; + NextToken?: string; /** - * Optionally, specify a job template category to limit responses to only job templates from that category. + * Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource. */ - Category?: string; + Order?: Order | string; } export namespace ListJobTemplatesRequest { @@ -3467,14 +3481,14 @@ export namespace ListJobTemplatesRequest { export interface ListJobTemplatesResponse { /** - * Use this string to request the next batch of job templates. + * List of Job templates. */ - NextToken?: string; + JobTemplates?: JobTemplate[]; /** - * List of Job templates. + * Use this string to request the next batch of job templates. */ - JobTemplates?: JobTemplate[]; + NextToken?: string; } export namespace ListJobTemplatesResponse { @@ -3491,19 +3505,19 @@ export enum PresetListBy { export interface ListPresetsRequest { /** - * Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource. + * Optionally, specify a preset category to limit responses to only presets from that category. */ - Order?: Order | string; + Category?: string; /** - * Optional. Number of presets, up to twenty, that will be returned at one time + * Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name. */ - MaxResults?: number; + ListBy?: PresetListBy | string; /** - * Optionally, specify a preset category to limit responses to only presets from that category. + * Optional. Number of presets, up to twenty, that will be returned at one time */ - Category?: string; + MaxResults?: number; /** * Use this string, provided with the response to a previous request, to request the next batch of presets. @@ -3511,9 +3525,9 @@ export interface ListPresetsRequest { NextToken?: string; /** - * Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name. + * Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource. */ - ListBy?: PresetListBy | string; + Order?: Order | string; } export namespace ListPresetsRequest { @@ -3524,14 +3538,14 @@ export namespace ListPresetsRequest { export interface ListPresetsResponse { /** - * List of presets + * Use this string to request the next batch of presets. */ - Presets?: Preset[]; + NextToken?: string; /** - * Use this string to request the next batch of presets. + * List of presets */ - NextToken?: string; + Presets?: Preset[]; } export namespace ListPresetsResponse { @@ -3547,14 +3561,14 @@ export enum QueueListBy { export interface ListQueuesRequest { /** - * Optional. Number of queues, up to twenty, that will be returned at one time. + * Optional. When you request a list of queues, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by creation date. */ - MaxResults?: number; + ListBy?: QueueListBy | string; /** - * Optional. When you request a list of queues, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by creation date. + * Optional. Number of queues, up to twenty, that will be returned at one time. */ - ListBy?: QueueListBy | string; + MaxResults?: number; /** * Use this string, provided with the response to a previous request, to request the next batch of queues. @@ -3609,14 +3623,14 @@ export namespace ListTagsForResourceRequest { */ export interface ResourceTags { /** - * The tags for the resource. + * The Amazon Resource Name (ARN) of the resource. */ - Tags?: { [key: string]: string }; + Arn?: string; /** - * The Amazon Resource Name (ARN) of the resource. + * The tags for the resource. */ - Arn?: string; + Tags?: { [key: string]: string }; } export namespace ResourceTags { @@ -3640,14 +3654,14 @@ export namespace ListTagsForResourceResponse { export interface TagResourceRequest { /** - * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. + * The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name. */ - Tags: { [key: string]: string } | undefined; + Arn: string | undefined; /** - * The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name. + * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key. */ - Arn: string | undefined; + Tags: { [key: string]: string } | undefined; } export namespace TagResourceRequest { @@ -3666,14 +3680,14 @@ export namespace TagResourceResponse { export interface UntagResourceRequest { /** - * The keys of the tags that you want to remove from the resource. + * The Amazon Resource Name (ARN) of the resource that you want to remove tags from. To get the ARN, send a GET request with the resource name. */ - TagKeys?: string[]; + Arn: string | undefined; /** - * The Amazon Resource Name (ARN) of the resource that you want to remove tags from. To get the ARN, send a GET request with the resource name. + * The keys of the tags that you want to remove from the resource. */ - Arn: string | undefined; + TagKeys?: string[]; } export namespace UntagResourceRequest { @@ -3692,49 +3706,49 @@ export namespace UntagResourceResponse { export interface UpdateJobTemplateRequest { /** - * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error. + * Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide. */ - StatusUpdateInterval?: StatusUpdateInterval | string; + AccelerationSettings?: AccelerationSettings; /** - * JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it. + * The new category for the job template, if you are changing it. */ - Settings?: JobTemplateSettings; + Category?: string; /** - * The name of the job template you are modifying + * The new description for the job template, if you are changing it. */ - Name: string | undefined; + Description?: string; /** - * Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0. + * Optional list of hop destinations. */ - Priority?: number; + HopDestinations?: HopDestination[]; /** - * Accelerated transcoding can significantly speed up jobs with long, visually complex content. Outputs that use this feature incur pro-tier pricing. For information about feature limitations, see the AWS Elemental MediaConvert User Guide. + * The name of the job template you are modifying */ - AccelerationSettings?: AccelerationSettings; + Name: string | undefined; /** - * The new description for the job template, if you are changing it. + * Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0. */ - Description?: string; + Priority?: number; /** - * Optional list of hop destinations. + * The new queue for the job template, if you are changing it. */ - HopDestinations?: HopDestination[]; + Queue?: string; /** - * The new category for the job template, if you are changing it. + * JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it. */ - Category?: string; + Settings?: JobTemplateSettings; /** - * The new queue for the job template, if you are changing it. + * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error. */ - Queue?: string; + StatusUpdateInterval?: StatusUpdateInterval | string; } export namespace UpdateJobTemplateRequest { @@ -3757,6 +3771,11 @@ export namespace UpdateJobTemplateResponse { } export interface UpdatePresetRequest { + /** + * The new category for the preset, if you are changing it. + */ + Category?: string; + /** * The new description for the preset, if you are changing it. */ @@ -3771,11 +3790,6 @@ export interface UpdatePresetRequest { * Settings for preset */ Settings?: PresetSettings; - - /** - * The new category for the preset, if you are changing it. - */ - Category?: string; } export namespace UpdatePresetRequest { @@ -3798,11 +3812,6 @@ export namespace UpdatePresetResponse { } export interface UpdateQueueRequest { - /** - * The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can't cancel them. - */ - ReservationPlanSettings?: ReservationPlanSettings; - /** * The new description for the queue, if you are changing it. */ @@ -3813,6 +3822,11 @@ export interface UpdateQueueRequest { */ Name: string | undefined; + /** + * The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can't cancel them. + */ + ReservationPlanSettings?: ReservationPlanSettings; + /** * Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in that queue won't begin. Jobs that are running when you pause the queue continue to run until they finish or result in an error. */ diff --git a/clients/client-mediaconvert/pagination/DescribeEndpointsPaginator.ts b/clients/client-mediaconvert/pagination/DescribeEndpointsPaginator.ts index 71a3c25aade7..9705d4a263dd 100644 --- a/clients/client-mediaconvert/pagination/DescribeEndpointsPaginator.ts +++ b/clients/client-mediaconvert/pagination/DescribeEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEndpointsCommand(input), ...args); + return await client.send(new DescribeEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-mediaconvert/pagination/ListJobTemplatesPaginator.ts b/clients/client-mediaconvert/pagination/ListJobTemplatesPaginator.ts index 7a6c8ddede20..23bd6ddcb803 100644 --- a/clients/client-mediaconvert/pagination/ListJobTemplatesPaginator.ts +++ b/clients/client-mediaconvert/pagination/ListJobTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobTemplatesCommand(input), ...args); + return await client.send(new ListJobTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-mediaconvert/pagination/ListJobsPaginator.ts b/clients/client-mediaconvert/pagination/ListJobsPaginator.ts index 7b45a3cc6c06..41f8d20b9f86 100644 --- a/clients/client-mediaconvert/pagination/ListJobsPaginator.ts +++ b/clients/client-mediaconvert/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input), ...args); + return await client.send(new ListJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-mediaconvert/pagination/ListPresetsPaginator.ts b/clients/client-mediaconvert/pagination/ListPresetsPaginator.ts index 4d2564022c94..9e9bb409c312 100644 --- a/clients/client-mediaconvert/pagination/ListPresetsPaginator.ts +++ b/clients/client-mediaconvert/pagination/ListPresetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPresetsCommand(input), ...args); + return await client.send(new ListPresetsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-mediaconvert/pagination/ListQueuesPaginator.ts b/clients/client-mediaconvert/pagination/ListQueuesPaginator.ts index d94ea42057e1..96df2c5c4a19 100644 --- a/clients/client-mediaconvert/pagination/ListQueuesPaginator.ts +++ b/clients/client-mediaconvert/pagination/ListQueuesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQueuesCommand(input), ...args); + return await client.send(new ListQueuesCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-mediaconvert/protocols/Aws_restJson1.ts b/clients/client-mediaconvert/protocols/Aws_restJson1.ts index 1bfa240e0a03..75839ab2fa60 100644 --- a/clients/client-mediaconvert/protocols/Aws_restJson1.ts +++ b/clients/client-mediaconvert/protocols/Aws_restJson1.ts @@ -44,6 +44,8 @@ import { AudioNormalizationSettings, AudioSelector, AudioSelectorGroup, + AutomatedAbrSettings, + AutomatedEncodingSettings, Av1QvbrSettings, Av1Settings, AvailBlanking, @@ -670,11 +672,11 @@ export const serializeAws_restJson1ListJobsCommand = async ( }; let resolvedPath = "/2017-08-29/jobs"; const query: any = { + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + ...(input.Order !== undefined && { order: input.Order }), ...(input.Queue !== undefined && { queue: input.Queue }), ...(input.Status !== undefined && { status: input.Status }), - ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), - ...(input.Order !== undefined && { order: input.Order }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -699,11 +701,11 @@ export const serializeAws_restJson1ListJobTemplatesCommand = async ( }; let resolvedPath = "/2017-08-29/jobTemplates"; const query: any = { + ...(input.Category !== undefined && { category: input.Category }), ...(input.ListBy !== undefined && { listBy: input.ListBy }), - ...(input.NextToken !== undefined && { nextToken: input.NextToken }), ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), ...(input.Order !== undefined && { order: input.Order }), - ...(input.Category !== undefined && { category: input.Category }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -728,11 +730,11 @@ export const serializeAws_restJson1ListPresetsCommand = async ( }; let resolvedPath = "/2017-08-29/presets"; const query: any = { - ...(input.Order !== undefined && { order: input.Order }), - ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), ...(input.Category !== undefined && { category: input.Category }), - ...(input.NextToken !== undefined && { nextToken: input.NextToken }), ...(input.ListBy !== undefined && { listBy: input.ListBy }), + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + ...(input.Order !== undefined && { order: input.Order }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -757,8 +759,8 @@ export const serializeAws_restJson1ListQueuesCommand = async ( }; let resolvedPath = "/2017-08-29/queues"; const query: any = { - ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), ...(input.ListBy !== undefined && { listBy: input.ListBy }), + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), ...(input.NextToken !== undefined && { nextToken: input.NextToken }), ...(input.Order !== undefined && { order: input.Order }), }; @@ -3813,6 +3815,25 @@ const serializeAws_restJson1AudioSelectorGroup = (input: AudioSelectorGroup, con }; }; +const serializeAws_restJson1AutomatedAbrSettings = (input: AutomatedAbrSettings, context: __SerdeContext): any => { + return { + ...(input.MaxAbrBitrate !== undefined && { maxAbrBitrate: input.MaxAbrBitrate }), + ...(input.MaxRenditions !== undefined && { maxRenditions: input.MaxRenditions }), + ...(input.MinAbrBitrate !== undefined && { minAbrBitrate: input.MinAbrBitrate }), + }; +}; + +const serializeAws_restJson1AutomatedEncodingSettings = ( + input: AutomatedEncodingSettings, + context: __SerdeContext +): any => { + return { + ...(input.AbrSettings !== undefined && { + abrSettings: serializeAws_restJson1AutomatedAbrSettings(input.AbrSettings, context), + }), + }; +}; + const serializeAws_restJson1Av1QvbrSettings = (input: Av1QvbrSettings, context: __SerdeContext): any => { return { ...(input.QvbrQualityLevel !== undefined && { qvbrQualityLevel: input.QvbrQualityLevel }), @@ -5255,6 +5276,12 @@ const serializeAws_restJson1OutputChannelMapping = (input: OutputChannelMapping, const serializeAws_restJson1OutputGroup = (input: OutputGroup, context: __SerdeContext): any => { return { + ...(input.AutomatedEncodingSettings !== undefined && { + automatedEncodingSettings: serializeAws_restJson1AutomatedEncodingSettings( + input.AutomatedEncodingSettings, + context + ), + }), ...(input.CustomName !== undefined && { customName: input.CustomName }), ...(input.Name !== undefined && { name: input.Name }), ...(input.OutputGroupSettings !== undefined && { @@ -6127,6 +6154,29 @@ const deserializeAws_restJson1AudioSelectorGroup = (output: any, context: __Serd } as any; }; +const deserializeAws_restJson1AutomatedAbrSettings = (output: any, context: __SerdeContext): AutomatedAbrSettings => { + return { + MaxAbrBitrate: + output.maxAbrBitrate !== undefined && output.maxAbrBitrate !== null ? output.maxAbrBitrate : undefined, + MaxRenditions: + output.maxRenditions !== undefined && output.maxRenditions !== null ? output.maxRenditions : undefined, + MinAbrBitrate: + output.minAbrBitrate !== undefined && output.minAbrBitrate !== null ? output.minAbrBitrate : undefined, + } as any; +}; + +const deserializeAws_restJson1AutomatedEncodingSettings = ( + output: any, + context: __SerdeContext +): AutomatedEncodingSettings => { + return { + AbrSettings: + output.abrSettings !== undefined && output.abrSettings !== null + ? deserializeAws_restJson1AutomatedAbrSettings(output.abrSettings, context) + : undefined, + } as any; +}; + const deserializeAws_restJson1Av1QvbrSettings = (output: any, context: __SerdeContext): Av1QvbrSettings => { return { QvbrQualityLevel: @@ -8313,6 +8363,10 @@ const deserializeAws_restJson1OutputDetail = (output: any, context: __SerdeConte const deserializeAws_restJson1OutputGroup = (output: any, context: __SerdeContext): OutputGroup => { return { + AutomatedEncodingSettings: + output.automatedEncodingSettings !== undefined && output.automatedEncodingSettings !== null + ? deserializeAws_restJson1AutomatedEncodingSettings(output.automatedEncodingSettings, context) + : undefined, CustomName: output.customName !== undefined && output.customName !== null ? output.customName : undefined, Name: output.name !== undefined && output.name !== null ? output.name : undefined, OutputGroupSettings: diff --git a/clients/client-medialive/pagination/DescribeSchedulePaginator.ts b/clients/client-medialive/pagination/DescribeSchedulePaginator.ts index cd1322ad39e0..282c3012e21d 100644 --- a/clients/client-medialive/pagination/DescribeSchedulePaginator.ts +++ b/clients/client-medialive/pagination/DescribeSchedulePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduleCommand(input), ...args); + return await client.send(new DescribeScheduleCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListChannelsPaginator.ts b/clients/client-medialive/pagination/ListChannelsPaginator.ts index 25cbefae0614..ae4bcebe3197 100644 --- a/clients/client-medialive/pagination/ListChannelsPaginator.ts +++ b/clients/client-medialive/pagination/ListChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChannelsCommand(input), ...args); + return await client.send(new ListChannelsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListInputDeviceTransfersPaginator.ts b/clients/client-medialive/pagination/ListInputDeviceTransfersPaginator.ts index b0b5077efa5a..ba78c7c41ea1 100644 --- a/clients/client-medialive/pagination/ListInputDeviceTransfersPaginator.ts +++ b/clients/client-medialive/pagination/ListInputDeviceTransfersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInputDeviceTransfersCommand(input), ...args); + return await client.send(new ListInputDeviceTransfersCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListInputDevicesPaginator.ts b/clients/client-medialive/pagination/ListInputDevicesPaginator.ts index 380041ecfb39..a5dfb1eb4c7a 100644 --- a/clients/client-medialive/pagination/ListInputDevicesPaginator.ts +++ b/clients/client-medialive/pagination/ListInputDevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInputDevicesCommand(input), ...args); + return await client.send(new ListInputDevicesCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListInputSecurityGroupsPaginator.ts b/clients/client-medialive/pagination/ListInputSecurityGroupsPaginator.ts index 0140f698f8fb..6accb94757e7 100644 --- a/clients/client-medialive/pagination/ListInputSecurityGroupsPaginator.ts +++ b/clients/client-medialive/pagination/ListInputSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInputSecurityGroupsCommand(input), ...args); + return await client.send(new ListInputSecurityGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListInputsPaginator.ts b/clients/client-medialive/pagination/ListInputsPaginator.ts index 71b8df299775..c30b9fedf92c 100644 --- a/clients/client-medialive/pagination/ListInputsPaginator.ts +++ b/clients/client-medialive/pagination/ListInputsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInputsCommand(input), ...args); + return await client.send(new ListInputsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListMultiplexProgramsPaginator.ts b/clients/client-medialive/pagination/ListMultiplexProgramsPaginator.ts index 4c4ce70a8728..f3caf4750216 100644 --- a/clients/client-medialive/pagination/ListMultiplexProgramsPaginator.ts +++ b/clients/client-medialive/pagination/ListMultiplexProgramsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMultiplexProgramsCommand(input), ...args); + return await client.send(new ListMultiplexProgramsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListMultiplexesPaginator.ts b/clients/client-medialive/pagination/ListMultiplexesPaginator.ts index 70cd31ed7c63..431359701e02 100644 --- a/clients/client-medialive/pagination/ListMultiplexesPaginator.ts +++ b/clients/client-medialive/pagination/ListMultiplexesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMultiplexesCommand(input), ...args); + return await client.send(new ListMultiplexesCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListOfferingsPaginator.ts b/clients/client-medialive/pagination/ListOfferingsPaginator.ts index e7ef7bfb7ef6..a71353ac4a21 100644 --- a/clients/client-medialive/pagination/ListOfferingsPaginator.ts +++ b/clients/client-medialive/pagination/ListOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOfferingsCommand(input), ...args); + return await client.send(new ListOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListReservationsPaginator.ts b/clients/client-medialive/pagination/ListReservationsPaginator.ts index 5923f1e937b0..116ca265a310 100644 --- a/clients/client-medialive/pagination/ListReservationsPaginator.ts +++ b/clients/client-medialive/pagination/ListReservationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReservationsCommand(input), ...args); + return await client.send(new ListReservationsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-mediapackage-vod/pagination/ListAssetsPaginator.ts b/clients/client-mediapackage-vod/pagination/ListAssetsPaginator.ts index 99dc93f53ed7..a9b6ea343816 100644 --- a/clients/client-mediapackage-vod/pagination/ListAssetsPaginator.ts +++ b/clients/client-mediapackage-vod/pagination/ListAssetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssetsCommand(input), ...args); + return await client.send(new ListAssetsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaPackageVod, diff --git a/clients/client-mediapackage-vod/pagination/ListPackagingConfigurationsPaginator.ts b/clients/client-mediapackage-vod/pagination/ListPackagingConfigurationsPaginator.ts index 0a0c3d1b2084..ecd14347a1e5 100644 --- a/clients/client-mediapackage-vod/pagination/ListPackagingConfigurationsPaginator.ts +++ b/clients/client-mediapackage-vod/pagination/ListPackagingConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackagingConfigurationsCommand(input), ...args); + return await client.send(new ListPackagingConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaPackageVod, diff --git a/clients/client-mediapackage-vod/pagination/ListPackagingGroupsPaginator.ts b/clients/client-mediapackage-vod/pagination/ListPackagingGroupsPaginator.ts index 7f9bcb531cd2..cdc010f3f736 100644 --- a/clients/client-mediapackage-vod/pagination/ListPackagingGroupsPaginator.ts +++ b/clients/client-mediapackage-vod/pagination/ListPackagingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackagingGroupsCommand(input), ...args); + return await client.send(new ListPackagingGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaPackageVod, diff --git a/clients/client-mediapackage/pagination/ListChannelsPaginator.ts b/clients/client-mediapackage/pagination/ListChannelsPaginator.ts index d407c37372cc..429591e217c2 100644 --- a/clients/client-mediapackage/pagination/ListChannelsPaginator.ts +++ b/clients/client-mediapackage/pagination/ListChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChannelsCommand(input), ...args); + return await client.send(new ListChannelsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaPackage, diff --git a/clients/client-mediapackage/pagination/ListHarvestJobsPaginator.ts b/clients/client-mediapackage/pagination/ListHarvestJobsPaginator.ts index f4f3526b5a0f..7fbc0fa1da76 100644 --- a/clients/client-mediapackage/pagination/ListHarvestJobsPaginator.ts +++ b/clients/client-mediapackage/pagination/ListHarvestJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHarvestJobsCommand(input), ...args); + return await client.send(new ListHarvestJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaPackage, diff --git a/clients/client-mediapackage/pagination/ListOriginEndpointsPaginator.ts b/clients/client-mediapackage/pagination/ListOriginEndpointsPaginator.ts index 0c59b9b37361..8081c60b45a7 100644 --- a/clients/client-mediapackage/pagination/ListOriginEndpointsPaginator.ts +++ b/clients/client-mediapackage/pagination/ListOriginEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOriginEndpointsCommand(input), ...args); + return await client.send(new ListOriginEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaPackage, diff --git a/clients/client-mediastore/pagination/ListContainersPaginator.ts b/clients/client-mediastore/pagination/ListContainersPaginator.ts index 0575c076f646..e90d3c22e088 100644 --- a/clients/client-mediastore/pagination/ListContainersPaginator.ts +++ b/clients/client-mediastore/pagination/ListContainersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContainersCommand(input), ...args); + return await client.send(new ListContainersCommand(input, ...args)); }; const makePagedRequest = async ( client: MediaStore, diff --git a/clients/client-migration-hub/pagination/ListApplicationStatesPaginator.ts b/clients/client-migration-hub/pagination/ListApplicationStatesPaginator.ts index 1aa3ba4959f3..a474c79a6af9 100644 --- a/clients/client-migration-hub/pagination/ListApplicationStatesPaginator.ts +++ b/clients/client-migration-hub/pagination/ListApplicationStatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationStatesCommand(input), ...args); + return await client.send(new ListApplicationStatesCommand(input, ...args)); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migration-hub/pagination/ListCreatedArtifactsPaginator.ts b/clients/client-migration-hub/pagination/ListCreatedArtifactsPaginator.ts index 588a72a70507..02275fc7e8b4 100644 --- a/clients/client-migration-hub/pagination/ListCreatedArtifactsPaginator.ts +++ b/clients/client-migration-hub/pagination/ListCreatedArtifactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCreatedArtifactsCommand(input), ...args); + return await client.send(new ListCreatedArtifactsCommand(input, ...args)); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migration-hub/pagination/ListDiscoveredResourcesPaginator.ts b/clients/client-migration-hub/pagination/ListDiscoveredResourcesPaginator.ts index c5963b4e0955..7e6504bd4276 100644 --- a/clients/client-migration-hub/pagination/ListDiscoveredResourcesPaginator.ts +++ b/clients/client-migration-hub/pagination/ListDiscoveredResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDiscoveredResourcesCommand(input), ...args); + return await client.send(new ListDiscoveredResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migration-hub/pagination/ListMigrationTasksPaginator.ts b/clients/client-migration-hub/pagination/ListMigrationTasksPaginator.ts index c441f898c373..926b63f74bcb 100644 --- a/clients/client-migration-hub/pagination/ListMigrationTasksPaginator.ts +++ b/clients/client-migration-hub/pagination/ListMigrationTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMigrationTasksCommand(input), ...args); + return await client.send(new ListMigrationTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migration-hub/pagination/ListProgressUpdateStreamsPaginator.ts b/clients/client-migration-hub/pagination/ListProgressUpdateStreamsPaginator.ts index c30b3f95e5bd..e033194149cb 100644 --- a/clients/client-migration-hub/pagination/ListProgressUpdateStreamsPaginator.ts +++ b/clients/client-migration-hub/pagination/ListProgressUpdateStreamsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProgressUpdateStreamsCommand(input), ...args); + return await client.send(new ListProgressUpdateStreamsCommand(input, ...args)); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migrationhub-config/pagination/DescribeHomeRegionControlsPaginator.ts b/clients/client-migrationhub-config/pagination/DescribeHomeRegionControlsPaginator.ts index 1645bc7a1b8c..60f30ed2c58d 100644 --- a/clients/client-migrationhub-config/pagination/DescribeHomeRegionControlsPaginator.ts +++ b/clients/client-migrationhub-config/pagination/DescribeHomeRegionControlsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHomeRegionControlsCommand(input), ...args); + return await client.send(new DescribeHomeRegionControlsCommand(input, ...args)); }; const makePagedRequest = async ( client: MigrationHubConfig, diff --git a/clients/client-mobile/pagination/ListBundlesPaginator.ts b/clients/client-mobile/pagination/ListBundlesPaginator.ts index 861d356642a1..8658944c060e 100644 --- a/clients/client-mobile/pagination/ListBundlesPaginator.ts +++ b/clients/client-mobile/pagination/ListBundlesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBundlesCommand(input), ...args); + return await client.send(new ListBundlesCommand(input, ...args)); }; const makePagedRequest = async ( client: Mobile, diff --git a/clients/client-mobile/pagination/ListProjectsPaginator.ts b/clients/client-mobile/pagination/ListProjectsPaginator.ts index 8a484a6c7448..137a0df0e82c 100644 --- a/clients/client-mobile/pagination/ListProjectsPaginator.ts +++ b/clients/client-mobile/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input), ...args); + return await client.send(new ListProjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: Mobile, diff --git a/clients/client-mq/pagination/ListBrokersPaginator.ts b/clients/client-mq/pagination/ListBrokersPaginator.ts index ed1ba72dd533..3dab9efdfd0e 100644 --- a/clients/client-mq/pagination/ListBrokersPaginator.ts +++ b/clients/client-mq/pagination/ListBrokersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBrokersCommand(input), ...args); + return await client.send(new ListBrokersCommand(input, ...args)); }; const makePagedRequest = async ( client: Mq, diff --git a/clients/client-mturk/pagination/ListAssignmentsForHITPaginator.ts b/clients/client-mturk/pagination/ListAssignmentsForHITPaginator.ts index 4b7c75691e64..0a6cff8a6e36 100644 --- a/clients/client-mturk/pagination/ListAssignmentsForHITPaginator.ts +++ b/clients/client-mturk/pagination/ListAssignmentsForHITPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssignmentsForHITCommand(input), ...args); + return await client.send(new ListAssignmentsForHITCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListBonusPaymentsPaginator.ts b/clients/client-mturk/pagination/ListBonusPaymentsPaginator.ts index 26a50d0b4219..c3918c8ca24b 100644 --- a/clients/client-mturk/pagination/ListBonusPaymentsPaginator.ts +++ b/clients/client-mturk/pagination/ListBonusPaymentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBonusPaymentsCommand(input), ...args); + return await client.send(new ListBonusPaymentsCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListHITsForQualificationTypePaginator.ts b/clients/client-mturk/pagination/ListHITsForQualificationTypePaginator.ts index e00562c19d86..4837bead4e19 100644 --- a/clients/client-mturk/pagination/ListHITsForQualificationTypePaginator.ts +++ b/clients/client-mturk/pagination/ListHITsForQualificationTypePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHITsForQualificationTypeCommand(input), ...args); + return await client.send(new ListHITsForQualificationTypeCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListHITsPaginator.ts b/clients/client-mturk/pagination/ListHITsPaginator.ts index 43a9835d2a8a..882f58714652 100644 --- a/clients/client-mturk/pagination/ListHITsPaginator.ts +++ b/clients/client-mturk/pagination/ListHITsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHITsCommand(input), ...args); + return await client.send(new ListHITsCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListQualificationRequestsPaginator.ts b/clients/client-mturk/pagination/ListQualificationRequestsPaginator.ts index e7dd079e0819..e7817107d3a7 100644 --- a/clients/client-mturk/pagination/ListQualificationRequestsPaginator.ts +++ b/clients/client-mturk/pagination/ListQualificationRequestsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQualificationRequestsCommand(input), ...args); + return await client.send(new ListQualificationRequestsCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListQualificationTypesPaginator.ts b/clients/client-mturk/pagination/ListQualificationTypesPaginator.ts index 089f818480b9..74b935066022 100644 --- a/clients/client-mturk/pagination/ListQualificationTypesPaginator.ts +++ b/clients/client-mturk/pagination/ListQualificationTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQualificationTypesCommand(input), ...args); + return await client.send(new ListQualificationTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListReviewPolicyResultsForHITPaginator.ts b/clients/client-mturk/pagination/ListReviewPolicyResultsForHITPaginator.ts index d553a155d293..5cce8c9ea3e6 100644 --- a/clients/client-mturk/pagination/ListReviewPolicyResultsForHITPaginator.ts +++ b/clients/client-mturk/pagination/ListReviewPolicyResultsForHITPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReviewPolicyResultsForHITCommand(input), ...args); + return await client.send(new ListReviewPolicyResultsForHITCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListReviewableHITsPaginator.ts b/clients/client-mturk/pagination/ListReviewableHITsPaginator.ts index ad593bd02999..c42d416ad48a 100644 --- a/clients/client-mturk/pagination/ListReviewableHITsPaginator.ts +++ b/clients/client-mturk/pagination/ListReviewableHITsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReviewableHITsCommand(input), ...args); + return await client.send(new ListReviewableHITsCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListWorkerBlocksPaginator.ts b/clients/client-mturk/pagination/ListWorkerBlocksPaginator.ts index 0ed22f1623db..33b16a322a8e 100644 --- a/clients/client-mturk/pagination/ListWorkerBlocksPaginator.ts +++ b/clients/client-mturk/pagination/ListWorkerBlocksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkerBlocksCommand(input), ...args); + return await client.send(new ListWorkerBlocksCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListWorkersWithQualificationTypePaginator.ts b/clients/client-mturk/pagination/ListWorkersWithQualificationTypePaginator.ts index c0cca6bdb1ad..1c6a8c58ec74 100644 --- a/clients/client-mturk/pagination/ListWorkersWithQualificationTypePaginator.ts +++ b/clients/client-mturk/pagination/ListWorkersWithQualificationTypePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkersWithQualificationTypeCommand(input), ...args); + return await client.send(new ListWorkersWithQualificationTypeCommand(input, ...args)); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-neptune/pagination/DescribeDBClusterEndpointsPaginator.ts b/clients/client-neptune/pagination/DescribeDBClusterEndpointsPaginator.ts index 5c1a5a849f1d..9f184e1bb1f8 100644 --- a/clients/client-neptune/pagination/DescribeDBClusterEndpointsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBClusterEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterEndpointsCommand(input), ...args); + return await client.send(new DescribeDBClusterEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBEngineVersionsPaginator.ts b/clients/client-neptune/pagination/DescribeDBEngineVersionsPaginator.ts index 368f22574d37..2ba5cee68e48 100644 --- a/clients/client-neptune/pagination/DescribeDBEngineVersionsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBEngineVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBEngineVersionsCommand(input), ...args); + return await client.send(new DescribeDBEngineVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBInstancesPaginator.ts b/clients/client-neptune/pagination/DescribeDBInstancesPaginator.ts index 565208285eb5..766b4fb83c07 100644 --- a/clients/client-neptune/pagination/DescribeDBInstancesPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBInstancesCommand(input), ...args); + return await client.send(new DescribeDBInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBParameterGroupsPaginator.ts b/clients/client-neptune/pagination/DescribeDBParameterGroupsPaginator.ts index cc567f17aa9e..d073ff99eb3e 100644 --- a/clients/client-neptune/pagination/DescribeDBParameterGroupsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBParameterGroupsCommand(input), ...args); + return await client.send(new DescribeDBParameterGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBParametersPaginator.ts b/clients/client-neptune/pagination/DescribeDBParametersPaginator.ts index 53cee158170b..9bf7a1add234 100644 --- a/clients/client-neptune/pagination/DescribeDBParametersPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBParametersCommand(input), ...args); + return await client.send(new DescribeDBParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBSubnetGroupsPaginator.ts b/clients/client-neptune/pagination/DescribeDBSubnetGroupsPaginator.ts index 9e6848db8b86..54cad66b4e8b 100644 --- a/clients/client-neptune/pagination/DescribeDBSubnetGroupsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args); + return await client.send(new DescribeDBSubnetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeEngineDefaultParametersPaginator.ts b/clients/client-neptune/pagination/DescribeEngineDefaultParametersPaginator.ts index b74940d97962..80286dd36e7f 100644 --- a/clients/client-neptune/pagination/DescribeEngineDefaultParametersPaginator.ts +++ b/clients/client-neptune/pagination/DescribeEngineDefaultParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args); + return await client.send(new DescribeEngineDefaultParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeEventSubscriptionsPaginator.ts b/clients/client-neptune/pagination/DescribeEventSubscriptionsPaginator.ts index a17fbf352f9e..1ceab35f8244 100644 --- a/clients/client-neptune/pagination/DescribeEventSubscriptionsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventSubscriptionsCommand(input), ...args); + return await client.send(new DescribeEventSubscriptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeEventsPaginator.ts b/clients/client-neptune/pagination/DescribeEventsPaginator.ts index 7001a84f92b7..475601dca2ab 100644 --- a/clients/client-neptune/pagination/DescribeEventsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input), ...args); + return await client.send(new DescribeEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts b/clients/client-neptune/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts index 62ccb5cc37dd..e9bd9f0c19eb 100644 --- a/clients/client-neptune/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args); + return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-networkmanager/pagination/DescribeGlobalNetworksPaginator.ts b/clients/client-networkmanager/pagination/DescribeGlobalNetworksPaginator.ts index 7d504e3ebc95..6d981c1ef6c0 100644 --- a/clients/client-networkmanager/pagination/DescribeGlobalNetworksPaginator.ts +++ b/clients/client-networkmanager/pagination/DescribeGlobalNetworksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGlobalNetworksCommand(input), ...args); + return await client.send(new DescribeGlobalNetworksCommand(input, ...args)); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetCustomerGatewayAssociationsPaginator.ts b/clients/client-networkmanager/pagination/GetCustomerGatewayAssociationsPaginator.ts index 03db5e80c550..52abfb960fc4 100644 --- a/clients/client-networkmanager/pagination/GetCustomerGatewayAssociationsPaginator.ts +++ b/clients/client-networkmanager/pagination/GetCustomerGatewayAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCustomerGatewayAssociationsCommand(input), ...args); + return await client.send(new GetCustomerGatewayAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetDevicesPaginator.ts b/clients/client-networkmanager/pagination/GetDevicesPaginator.ts index 93b457a0705a..d4794bb4da17 100644 --- a/clients/client-networkmanager/pagination/GetDevicesPaginator.ts +++ b/clients/client-networkmanager/pagination/GetDevicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDevicesCommand(input), ...args); + return await client.send(new GetDevicesCommand(input, ...args)); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetLinkAssociationsPaginator.ts b/clients/client-networkmanager/pagination/GetLinkAssociationsPaginator.ts index 4dd7755bfc6c..79328e2dd7b5 100644 --- a/clients/client-networkmanager/pagination/GetLinkAssociationsPaginator.ts +++ b/clients/client-networkmanager/pagination/GetLinkAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLinkAssociationsCommand(input), ...args); + return await client.send(new GetLinkAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetLinksPaginator.ts b/clients/client-networkmanager/pagination/GetLinksPaginator.ts index 9772257675c7..baa13b1f95fb 100644 --- a/clients/client-networkmanager/pagination/GetLinksPaginator.ts +++ b/clients/client-networkmanager/pagination/GetLinksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLinksCommand(input), ...args); + return await client.send(new GetLinksCommand(input, ...args)); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetSitesPaginator.ts b/clients/client-networkmanager/pagination/GetSitesPaginator.ts index fce1a69ac501..23eb6616e1a6 100644 --- a/clients/client-networkmanager/pagination/GetSitesPaginator.ts +++ b/clients/client-networkmanager/pagination/GetSitesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSitesCommand(input), ...args); + return await client.send(new GetSitesCommand(input, ...args)); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetTransitGatewayRegistrationsPaginator.ts b/clients/client-networkmanager/pagination/GetTransitGatewayRegistrationsPaginator.ts index c56eecc5b6c3..de0bf615ffbe 100644 --- a/clients/client-networkmanager/pagination/GetTransitGatewayRegistrationsPaginator.ts +++ b/clients/client-networkmanager/pagination/GetTransitGatewayRegistrationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayRegistrationsCommand(input), ...args); + return await client.send(new GetTransitGatewayRegistrationsCommand(input, ...args)); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-opsworks/pagination/DescribeEcsClustersPaginator.ts b/clients/client-opsworks/pagination/DescribeEcsClustersPaginator.ts index b62a3dd3c0e5..c5516c9ea4b2 100644 --- a/clients/client-opsworks/pagination/DescribeEcsClustersPaginator.ts +++ b/clients/client-opsworks/pagination/DescribeEcsClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEcsClustersCommand(input), ...args); + return await client.send(new DescribeEcsClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: OpsWorks, diff --git a/clients/client-opsworkscm/pagination/DescribeBackupsPaginator.ts b/clients/client-opsworkscm/pagination/DescribeBackupsPaginator.ts index 0f573e4b150d..61dcb081478f 100644 --- a/clients/client-opsworkscm/pagination/DescribeBackupsPaginator.ts +++ b/clients/client-opsworkscm/pagination/DescribeBackupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBackupsCommand(input), ...args); + return await client.send(new DescribeBackupsCommand(input, ...args)); }; const makePagedRequest = async ( client: OpsWorksCM, diff --git a/clients/client-opsworkscm/pagination/DescribeEventsPaginator.ts b/clients/client-opsworkscm/pagination/DescribeEventsPaginator.ts index d1526508cb96..9d3bea109fc1 100644 --- a/clients/client-opsworkscm/pagination/DescribeEventsPaginator.ts +++ b/clients/client-opsworkscm/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input), ...args); + return await client.send(new DescribeEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: OpsWorksCM, diff --git a/clients/client-opsworkscm/pagination/DescribeServersPaginator.ts b/clients/client-opsworkscm/pagination/DescribeServersPaginator.ts index 2df990fdae32..ec3c42d08d87 100644 --- a/clients/client-opsworkscm/pagination/DescribeServersPaginator.ts +++ b/clients/client-opsworkscm/pagination/DescribeServersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeServersCommand(input), ...args); + return await client.send(new DescribeServersCommand(input, ...args)); }; const makePagedRequest = async ( client: OpsWorksCM, diff --git a/clients/client-opsworkscm/pagination/ListTagsForResourcePaginator.ts b/clients/client-opsworkscm/pagination/ListTagsForResourcePaginator.ts index 3dad7ae0c9cd..66c13b5d82ba 100644 --- a/clients/client-opsworkscm/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-opsworkscm/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: OpsWorksCM, diff --git a/clients/client-organizations/pagination/ListAWSServiceAccessForOrganizationPaginator.ts b/clients/client-organizations/pagination/ListAWSServiceAccessForOrganizationPaginator.ts index baa417369653..62f85da9a972 100644 --- a/clients/client-organizations/pagination/ListAWSServiceAccessForOrganizationPaginator.ts +++ b/clients/client-organizations/pagination/ListAWSServiceAccessForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAWSServiceAccessForOrganizationCommand(input), ...args); + return await client.send(new ListAWSServiceAccessForOrganizationCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListAccountsForParentPaginator.ts b/clients/client-organizations/pagination/ListAccountsForParentPaginator.ts index 4b75904716e1..e85285720dbb 100644 --- a/clients/client-organizations/pagination/ListAccountsForParentPaginator.ts +++ b/clients/client-organizations/pagination/ListAccountsForParentPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsForParentCommand(input), ...args); + return await client.send(new ListAccountsForParentCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListAccountsPaginator.ts b/clients/client-organizations/pagination/ListAccountsPaginator.ts index 7e5aecf4fc73..6bf4b3908bc6 100644 --- a/clients/client-organizations/pagination/ListAccountsPaginator.ts +++ b/clients/client-organizations/pagination/ListAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsCommand(input), ...args); + return await client.send(new ListAccountsCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListChildrenPaginator.ts b/clients/client-organizations/pagination/ListChildrenPaginator.ts index 989746e0b451..ec9608fec7a0 100644 --- a/clients/client-organizations/pagination/ListChildrenPaginator.ts +++ b/clients/client-organizations/pagination/ListChildrenPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChildrenCommand(input), ...args); + return await client.send(new ListChildrenCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListCreateAccountStatusPaginator.ts b/clients/client-organizations/pagination/ListCreateAccountStatusPaginator.ts index d3486d43913b..a85664be8b0f 100644 --- a/clients/client-organizations/pagination/ListCreateAccountStatusPaginator.ts +++ b/clients/client-organizations/pagination/ListCreateAccountStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCreateAccountStatusCommand(input), ...args); + return await client.send(new ListCreateAccountStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListDelegatedAdministratorsPaginator.ts b/clients/client-organizations/pagination/ListDelegatedAdministratorsPaginator.ts index 8d5888f37198..51c67f50b8bd 100644 --- a/clients/client-organizations/pagination/ListDelegatedAdministratorsPaginator.ts +++ b/clients/client-organizations/pagination/ListDelegatedAdministratorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDelegatedAdministratorsCommand(input), ...args); + return await client.send(new ListDelegatedAdministratorsCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListDelegatedServicesForAccountPaginator.ts b/clients/client-organizations/pagination/ListDelegatedServicesForAccountPaginator.ts index 10fbd6862889..9f75fc1aaffc 100644 --- a/clients/client-organizations/pagination/ListDelegatedServicesForAccountPaginator.ts +++ b/clients/client-organizations/pagination/ListDelegatedServicesForAccountPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDelegatedServicesForAccountCommand(input), ...args); + return await client.send(new ListDelegatedServicesForAccountCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListHandshakesForAccountPaginator.ts b/clients/client-organizations/pagination/ListHandshakesForAccountPaginator.ts index a9752bbdc858..b55dab08ff76 100644 --- a/clients/client-organizations/pagination/ListHandshakesForAccountPaginator.ts +++ b/clients/client-organizations/pagination/ListHandshakesForAccountPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHandshakesForAccountCommand(input), ...args); + return await client.send(new ListHandshakesForAccountCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListHandshakesForOrganizationPaginator.ts b/clients/client-organizations/pagination/ListHandshakesForOrganizationPaginator.ts index c60662afcf4c..a1a2af9013c9 100644 --- a/clients/client-organizations/pagination/ListHandshakesForOrganizationPaginator.ts +++ b/clients/client-organizations/pagination/ListHandshakesForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHandshakesForOrganizationCommand(input), ...args); + return await client.send(new ListHandshakesForOrganizationCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListOrganizationalUnitsForParentPaginator.ts b/clients/client-organizations/pagination/ListOrganizationalUnitsForParentPaginator.ts index 5b783d099a22..6aaffb6a14f4 100644 --- a/clients/client-organizations/pagination/ListOrganizationalUnitsForParentPaginator.ts +++ b/clients/client-organizations/pagination/ListOrganizationalUnitsForParentPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationalUnitsForParentCommand(input), ...args); + return await client.send(new ListOrganizationalUnitsForParentCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListParentsPaginator.ts b/clients/client-organizations/pagination/ListParentsPaginator.ts index 4807feb9e80b..b1ab6aaf4660 100644 --- a/clients/client-organizations/pagination/ListParentsPaginator.ts +++ b/clients/client-organizations/pagination/ListParentsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListParentsCommand(input), ...args); + return await client.send(new ListParentsCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListPoliciesForTargetPaginator.ts b/clients/client-organizations/pagination/ListPoliciesForTargetPaginator.ts index 4d0d493ac626..c73662240bd9 100644 --- a/clients/client-organizations/pagination/ListPoliciesForTargetPaginator.ts +++ b/clients/client-organizations/pagination/ListPoliciesForTargetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesForTargetCommand(input), ...args); + return await client.send(new ListPoliciesForTargetCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListPoliciesPaginator.ts b/clients/client-organizations/pagination/ListPoliciesPaginator.ts index e2233ae27be7..18079a29d6b8 100644 --- a/clients/client-organizations/pagination/ListPoliciesPaginator.ts +++ b/clients/client-organizations/pagination/ListPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesCommand(input), ...args); + return await client.send(new ListPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListRootsPaginator.ts b/clients/client-organizations/pagination/ListRootsPaginator.ts index ea32531c0b23..98ce7dd7a35c 100644 --- a/clients/client-organizations/pagination/ListRootsPaginator.ts +++ b/clients/client-organizations/pagination/ListRootsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRootsCommand(input), ...args); + return await client.send(new ListRootsCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListTagsForResourcePaginator.ts b/clients/client-organizations/pagination/ListTagsForResourcePaginator.ts index 3219950f1f72..fd936481bd51 100644 --- a/clients/client-organizations/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-organizations/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListTargetsForPolicyPaginator.ts b/clients/client-organizations/pagination/ListTargetsForPolicyPaginator.ts index bf117a9d7d17..5d16f789c062 100644 --- a/clients/client-organizations/pagination/ListTargetsForPolicyPaginator.ts +++ b/clients/client-organizations/pagination/ListTargetsForPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTargetsForPolicyCommand(input), ...args); + return await client.send(new ListTargetsForPolicyCommand(input, ...args)); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-outposts/pagination/ListOutpostsPaginator.ts b/clients/client-outposts/pagination/ListOutpostsPaginator.ts index ad0a23ff85b1..ce1153bfe350 100644 --- a/clients/client-outposts/pagination/ListOutpostsPaginator.ts +++ b/clients/client-outposts/pagination/ListOutpostsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOutpostsCommand(input), ...args); + return await client.send(new ListOutpostsCommand(input, ...args)); }; const makePagedRequest = async ( client: Outposts, diff --git a/clients/client-outposts/pagination/ListSitesPaginator.ts b/clients/client-outposts/pagination/ListSitesPaginator.ts index a24149f68b32..4e994ac6c540 100644 --- a/clients/client-outposts/pagination/ListSitesPaginator.ts +++ b/clients/client-outposts/pagination/ListSitesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSitesCommand(input), ...args); + return await client.send(new ListSitesCommand(input, ...args)); }; const makePagedRequest = async ( client: Outposts, diff --git a/clients/client-personalize/pagination/ListBatchInferenceJobsPaginator.ts b/clients/client-personalize/pagination/ListBatchInferenceJobsPaginator.ts index c47413f66b01..8b0ceb77ffd0 100644 --- a/clients/client-personalize/pagination/ListBatchInferenceJobsPaginator.ts +++ b/clients/client-personalize/pagination/ListBatchInferenceJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBatchInferenceJobsCommand(input), ...args); + return await client.send(new ListBatchInferenceJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListCampaignsPaginator.ts b/clients/client-personalize/pagination/ListCampaignsPaginator.ts index 89abf876fc97..edd1b2568e0f 100644 --- a/clients/client-personalize/pagination/ListCampaignsPaginator.ts +++ b/clients/client-personalize/pagination/ListCampaignsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCampaignsCommand(input), ...args); + return await client.send(new ListCampaignsCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListDatasetGroupsPaginator.ts b/clients/client-personalize/pagination/ListDatasetGroupsPaginator.ts index 1f82588ccc28..0acf0780ddfc 100644 --- a/clients/client-personalize/pagination/ListDatasetGroupsPaginator.ts +++ b/clients/client-personalize/pagination/ListDatasetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetGroupsCommand(input), ...args); + return await client.send(new ListDatasetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListDatasetImportJobsPaginator.ts b/clients/client-personalize/pagination/ListDatasetImportJobsPaginator.ts index 9725f0d33730..f74507a1574b 100644 --- a/clients/client-personalize/pagination/ListDatasetImportJobsPaginator.ts +++ b/clients/client-personalize/pagination/ListDatasetImportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetImportJobsCommand(input), ...args); + return await client.send(new ListDatasetImportJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListDatasetsPaginator.ts b/clients/client-personalize/pagination/ListDatasetsPaginator.ts index f454be47d5cb..bceffa460790 100644 --- a/clients/client-personalize/pagination/ListDatasetsPaginator.ts +++ b/clients/client-personalize/pagination/ListDatasetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetsCommand(input), ...args); + return await client.send(new ListDatasetsCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListEventTrackersPaginator.ts b/clients/client-personalize/pagination/ListEventTrackersPaginator.ts index 3fd6af798d2c..fb3325dcac45 100644 --- a/clients/client-personalize/pagination/ListEventTrackersPaginator.ts +++ b/clients/client-personalize/pagination/ListEventTrackersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEventTrackersCommand(input), ...args); + return await client.send(new ListEventTrackersCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListRecipesPaginator.ts b/clients/client-personalize/pagination/ListRecipesPaginator.ts index a8ef4b17338e..83a7fdebf0df 100644 --- a/clients/client-personalize/pagination/ListRecipesPaginator.ts +++ b/clients/client-personalize/pagination/ListRecipesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecipesCommand(input), ...args); + return await client.send(new ListRecipesCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListSchemasPaginator.ts b/clients/client-personalize/pagination/ListSchemasPaginator.ts index 5e8f8eec4697..dbeae359f911 100644 --- a/clients/client-personalize/pagination/ListSchemasPaginator.ts +++ b/clients/client-personalize/pagination/ListSchemasPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSchemasCommand(input), ...args); + return await client.send(new ListSchemasCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListSolutionVersionsPaginator.ts b/clients/client-personalize/pagination/ListSolutionVersionsPaginator.ts index 3ed6e1dbbf61..2203a2d183b3 100644 --- a/clients/client-personalize/pagination/ListSolutionVersionsPaginator.ts +++ b/clients/client-personalize/pagination/ListSolutionVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSolutionVersionsCommand(input), ...args); + return await client.send(new ListSolutionVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListSolutionsPaginator.ts b/clients/client-personalize/pagination/ListSolutionsPaginator.ts index bc58de1dd25e..2a6fe8c2b986 100644 --- a/clients/client-personalize/pagination/ListSolutionsPaginator.ts +++ b/clients/client-personalize/pagination/ListSolutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSolutionsCommand(input), ...args); + return await client.send(new ListSolutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-pinpoint-email/pagination/GetDedicatedIpsPaginator.ts b/clients/client-pinpoint-email/pagination/GetDedicatedIpsPaginator.ts index 19a795533547..554dedc13ea0 100644 --- a/clients/client-pinpoint-email/pagination/GetDedicatedIpsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/GetDedicatedIpsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDedicatedIpsCommand(input), ...args); + return await client.send(new GetDedicatedIpsCommand(input, ...args)); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListConfigurationSetsPaginator.ts b/clients/client-pinpoint-email/pagination/ListConfigurationSetsPaginator.ts index 520a83582aa1..243f585d68fd 100644 --- a/clients/client-pinpoint-email/pagination/ListConfigurationSetsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListConfigurationSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationSetsCommand(input), ...args); + return await client.send(new ListConfigurationSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListDedicatedIpPoolsPaginator.ts b/clients/client-pinpoint-email/pagination/ListDedicatedIpPoolsPaginator.ts index 990cda51d011..0feaa05600d4 100644 --- a/clients/client-pinpoint-email/pagination/ListDedicatedIpPoolsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListDedicatedIpPoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDedicatedIpPoolsCommand(input), ...args); + return await client.send(new ListDedicatedIpPoolsCommand(input, ...args)); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListDeliverabilityTestReportsPaginator.ts b/clients/client-pinpoint-email/pagination/ListDeliverabilityTestReportsPaginator.ts index d11800e97f13..c5d1f3a391a7 100644 --- a/clients/client-pinpoint-email/pagination/ListDeliverabilityTestReportsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListDeliverabilityTestReportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeliverabilityTestReportsCommand(input), ...args); + return await client.send(new ListDeliverabilityTestReportsCommand(input, ...args)); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListDomainDeliverabilityCampaignsPaginator.ts b/clients/client-pinpoint-email/pagination/ListDomainDeliverabilityCampaignsPaginator.ts index 630ef13d4922..f75cc4400723 100644 --- a/clients/client-pinpoint-email/pagination/ListDomainDeliverabilityCampaignsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListDomainDeliverabilityCampaignsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainDeliverabilityCampaignsCommand(input), ...args); + return await client.send(new ListDomainDeliverabilityCampaignsCommand(input, ...args)); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListEmailIdentitiesPaginator.ts b/clients/client-pinpoint-email/pagination/ListEmailIdentitiesPaginator.ts index c7ab9c2262e8..bb95cbc08b0d 100644 --- a/clients/client-pinpoint-email/pagination/ListEmailIdentitiesPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListEmailIdentitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEmailIdentitiesCommand(input), ...args); + return await client.send(new ListEmailIdentitiesCommand(input, ...args)); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-polly/pagination/ListSpeechSynthesisTasksPaginator.ts b/clients/client-polly/pagination/ListSpeechSynthesisTasksPaginator.ts index e21d799e9e11..2c815b5b1d33 100644 --- a/clients/client-polly/pagination/ListSpeechSynthesisTasksPaginator.ts +++ b/clients/client-polly/pagination/ListSpeechSynthesisTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSpeechSynthesisTasksCommand(input), ...args); + return await client.send(new ListSpeechSynthesisTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: Polly, diff --git a/clients/client-pricing/pagination/DescribeServicesPaginator.ts b/clients/client-pricing/pagination/DescribeServicesPaginator.ts index eee2e4ae6a17..12346eb97e7a 100644 --- a/clients/client-pricing/pagination/DescribeServicesPaginator.ts +++ b/clients/client-pricing/pagination/DescribeServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeServicesCommand(input), ...args); + return await client.send(new DescribeServicesCommand(input, ...args)); }; const makePagedRequest = async ( client: Pricing, diff --git a/clients/client-pricing/pagination/GetAttributeValuesPaginator.ts b/clients/client-pricing/pagination/GetAttributeValuesPaginator.ts index 536bc5f784fc..46c6d2a51b76 100644 --- a/clients/client-pricing/pagination/GetAttributeValuesPaginator.ts +++ b/clients/client-pricing/pagination/GetAttributeValuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAttributeValuesCommand(input), ...args); + return await client.send(new GetAttributeValuesCommand(input, ...args)); }; const makePagedRequest = async ( client: Pricing, diff --git a/clients/client-pricing/pagination/GetProductsPaginator.ts b/clients/client-pricing/pagination/GetProductsPaginator.ts index 936e612edf25..670d0550a4da 100644 --- a/clients/client-pricing/pagination/GetProductsPaginator.ts +++ b/clients/client-pricing/pagination/GetProductsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetProductsCommand(input), ...args); + return await client.send(new GetProductsCommand(input, ...args)); }; const makePagedRequest = async ( client: Pricing, diff --git a/clients/client-qldb/pagination/ListJournalKinesisStreamsForLedgerPaginator.ts b/clients/client-qldb/pagination/ListJournalKinesisStreamsForLedgerPaginator.ts index 14cb8f37ab76..bb74993a0143 100644 --- a/clients/client-qldb/pagination/ListJournalKinesisStreamsForLedgerPaginator.ts +++ b/clients/client-qldb/pagination/ListJournalKinesisStreamsForLedgerPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJournalKinesisStreamsForLedgerCommand(input), ...args); + return await client.send(new ListJournalKinesisStreamsForLedgerCommand(input, ...args)); }; const makePagedRequest = async ( client: QLDB, diff --git a/clients/client-qldb/pagination/ListJournalS3ExportsForLedgerPaginator.ts b/clients/client-qldb/pagination/ListJournalS3ExportsForLedgerPaginator.ts index 547f7cf4bc08..97a283fd9ef1 100644 --- a/clients/client-qldb/pagination/ListJournalS3ExportsForLedgerPaginator.ts +++ b/clients/client-qldb/pagination/ListJournalS3ExportsForLedgerPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJournalS3ExportsForLedgerCommand(input), ...args); + return await client.send(new ListJournalS3ExportsForLedgerCommand(input, ...args)); }; const makePagedRequest = async ( client: QLDB, diff --git a/clients/client-qldb/pagination/ListJournalS3ExportsPaginator.ts b/clients/client-qldb/pagination/ListJournalS3ExportsPaginator.ts index 548018f5716f..a468d0cc26f0 100644 --- a/clients/client-qldb/pagination/ListJournalS3ExportsPaginator.ts +++ b/clients/client-qldb/pagination/ListJournalS3ExportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJournalS3ExportsCommand(input), ...args); + return await client.send(new ListJournalS3ExportsCommand(input, ...args)); }; const makePagedRequest = async ( client: QLDB, diff --git a/clients/client-qldb/pagination/ListLedgersPaginator.ts b/clients/client-qldb/pagination/ListLedgersPaginator.ts index 982838f72cac..1c2e22669be6 100644 --- a/clients/client-qldb/pagination/ListLedgersPaginator.ts +++ b/clients/client-qldb/pagination/ListLedgersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLedgersCommand(input), ...args); + return await client.send(new ListLedgersCommand(input, ...args)); }; const makePagedRequest = async ( client: QLDB, diff --git a/clients/client-quicksight/QuickSight.ts b/clients/client-quicksight/QuickSight.ts index 16f736d7fef6..e084ca4911a3 100644 --- a/clients/client-quicksight/QuickSight.ts +++ b/clients/client-quicksight/QuickSight.ts @@ -739,8 +739,9 @@ export class QuickSight extends QuickSightClient { /** *

                                                                                    Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name - * (ARN). This policy will be assigned to specified groups or users of Amazon QuickSight. - * The users and groups need to be in the same namespace.

                                                                                    + * (ARN). This policy assignment is attached to the specified groups or users of Amazon QuickSight. + * Assignment names are unique per AWS account. To avoid overwriting rules in other namespaces, + * use assignment names that are unique.

                                                                                    */ public createIAMPolicyAssignment( args: CreateIAMPolicyAssignmentCommandInput, @@ -3507,7 +3508,9 @@ export class QuickSight extends QuickSightClient { /** *

                                                                                    Updates an existing IAM policy assignment. This operation updates only the optional - * parameter or parameters that are specified in the request.

                                                                                    + * parameter or parameters that are specified in the request. + * This overwrites all of the users included in Identities. + *

                                                                                    */ public updateIAMPolicyAssignment( args: UpdateIAMPolicyAssignmentCommandInput, diff --git a/clients/client-quicksight/commands/ListTagsForResourceCommand.ts b/clients/client-quicksight/commands/ListTagsForResourceCommand.ts index cc6dda650cb5..0a204bf929ca 100644 --- a/clients/client-quicksight/commands/ListTagsForResourceCommand.ts +++ b/clients/client-quicksight/commands/ListTagsForResourceCommand.ts @@ -1,5 +1,6 @@ import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; -import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0"; +import { ListTagsForResourceRequest } from "../models/models_0"; +import { ListTagsForResourceResponse } from "../models/models_1"; import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, diff --git a/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts b/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts index 3ac55ea4c185..162496232b8e 100644 --- a/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts +++ b/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts @@ -1,6 +1,5 @@ import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient"; -import { ListTemplateAliasesRequest } from "../models/models_0"; -import { ListTemplateAliasesResponse } from "../models/models_1"; +import { ListTemplateAliasesRequest, ListTemplateAliasesResponse } from "../models/models_1"; import { deserializeAws_restJson1ListTemplateAliasesCommand, serializeAws_restJson1ListTemplateAliasesCommand, diff --git a/clients/client-quicksight/models/models_0.ts b/clients/client-quicksight/models/models_0.ts index 459a7439c504..c6b86c729d62 100644 --- a/clients/client-quicksight/models/models_0.ts +++ b/clients/client-quicksight/models/models_0.ts @@ -49,9 +49,11 @@ export enum Edition { */ export interface AccountSettings { /** - *

                                                                                    The default QuickSight namespace for your AWS account.

                                                                                    + *

                                                                                    The "account name" you provided for the QuickSight subscription in your AWS account. + * You create this name when you sign up for QuickSight. It is unique in all of AWS and + * it appears only in the console when users sign in.

                                                                                    */ - DefaultNamespace?: string; + AccountName?: string; /** *

                                                                                    The edition of QuickSight that you're currently subscribed to: @@ -60,11 +62,9 @@ export interface AccountSettings { Edition?: Edition | string; /** - *

                                                                                    The "account name" you provided for the QuickSight subscription in your AWS account. - * You create this name when you sign up for QuickSight. It is unique in all of AWS and - * it appears only in the console when users sign in.

                                                                                    + *

                                                                                    The default QuickSight namespace for your AWS account.

                                                                                    */ - AccountName?: string; + DefaultNamespace?: string; /** *

                                                                                    The main notification email for your QuickSight subscription.

                                                                                    @@ -83,14 +83,14 @@ export namespace AccountSettings { */ export interface ActiveIAMPolicyAssignment { /** - *

                                                                                    The Amazon Resource Name (ARN) of the resource.

                                                                                    + *

                                                                                    A name for the IAM policy assignment.

                                                                                    */ - PolicyArn?: string; + AssignmentName?: string; /** - *

                                                                                    A name for the IAM policy assignment.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the resource.

                                                                                    */ - AssignmentName?: string; + PolicyArn?: string; } export namespace ActiveIAMPolicyAssignment { @@ -154,14 +154,14 @@ export enum AnalysisErrorType { */ export interface AnalysisError { /** - *

                                                                                    The message associated with the analysis error.

                                                                                    + *

                                                                                    The type of the analysis error.

                                                                                    */ - Message?: string; + Type?: AnalysisErrorType | string; /** - *

                                                                                    The type of the analysis error.

                                                                                    + *

                                                                                    The message associated with the analysis error.

                                                                                    */ - Type?: AnalysisErrorType | string; + Message?: string; } export namespace AnalysisError { @@ -210,21 +210,31 @@ export enum ResourceStatus { *

                                                                                    Metadata structure for an analysis in Amazon QuickSight

                                                                                    */ export interface Analysis { + /** + *

                                                                                    The ID of the analysis.

                                                                                    + */ + AnalysisId?: string; + /** *

                                                                                    The Amazon Resource Name (ARN) of the analysis.

                                                                                    */ Arn?: string; /** - *

                                                                                    The time that the analysis was created.

                                                                                    + *

                                                                                    The descriptive name of the analysis.

                                                                                    */ - CreatedTime?: Date; + Name?: string; /** *

                                                                                    Status associated with the analysis.

                                                                                    */ Status?: ResourceStatus | string; + /** + *

                                                                                    Errors associated with the analysis.

                                                                                    + */ + Errors?: AnalysisError[]; + /** *

                                                                                    The ARNs of the datasets of the analysis.

                                                                                    */ @@ -236,14 +246,9 @@ export interface Analysis { ThemeArn?: string; /** - *

                                                                                    The ID of the analysis.

                                                                                    - */ - AnalysisId?: string; - - /** - *

                                                                                    Errors associated with the analysis.

                                                                                    + *

                                                                                    The time that the analysis was created.

                                                                                    */ - Errors?: AnalysisError[]; + CreatedTime?: Date; /** *

                                                                                    The time that the analysis was last updated.

                                                                                    @@ -254,11 +259,6 @@ export interface Analysis { *

                                                                                    A list of the associated sheets with the unique identifier and name of each sheet.

                                                                                    */ Sheets?: Sheet[]; - - /** - *

                                                                                    The descriptive name of the analysis.

                                                                                    - */ - Name?: string; } export namespace Analysis { @@ -285,18 +285,18 @@ export interface AnalysisSearchFilter { */ Operator?: FilterOperator | string; + /** + *

                                                                                    The name of the value that you want to use as a filter, for example "Name": + * "QUICKSIGHT_USER".

                                                                                    + */ + Name?: AnalysisFilterAttribute | string; + /** *

                                                                                    The value of the named item, in this case QUICKSIGHT_USER, that you want * to use as a filter, for example "Value". An example is * "arn:aws:quicksight:us-east-1:1:user/default/UserName1".

                                                                                    */ Value?: string; - - /** - *

                                                                                    The name of the value that you want to use as a filter, for example "Name": - * "QUICKSIGHT_USER".

                                                                                    - */ - Name?: AnalysisFilterAttribute | string; } export namespace AnalysisSearchFilter { @@ -367,32 +367,32 @@ export namespace AnalysisSourceEntity { *

                                                                                    The summary metadata that describes an analysis.

                                                                                    */ export interface AnalysisSummary { + /** + *

                                                                                    The Amazon Resource Name (ARN) for the analysis.

                                                                                    + */ + Arn?: string; + /** *

                                                                                    The ID of the analysis. This ID displays in the URL.

                                                                                    */ AnalysisId?: string; /** - *

                                                                                    The last known status for the analysis.

                                                                                    + *

                                                                                    The name of the analysis. This name is displayed in the QuickSight console. + *

                                                                                    */ - Status?: ResourceStatus | string; + Name?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) for the analysis.

                                                                                    + *

                                                                                    The last known status for the analysis.

                                                                                    */ - Arn?: string; + Status?: ResourceStatus | string; /** *

                                                                                    The time that the analysis was created.

                                                                                    */ CreatedTime?: Date; - /** - *

                                                                                    The name of the analysis. This name is displayed in the QuickSight console. - *

                                                                                    - */ - Name?: string; - /** *

                                                                                    The time that the analysis was last updated.

                                                                                    */ @@ -431,6 +431,11 @@ export namespace AthenaParameters { *

                                                                                    Amazon Aurora parameters.

                                                                                    */ export interface AuroraParameters { + /** + *

                                                                                    Host.

                                                                                    + */ + Host: string | undefined; + /** *

                                                                                    Port.

                                                                                    */ @@ -440,11 +445,6 @@ export interface AuroraParameters { *

                                                                                    Database.

                                                                                    */ Database: string | undefined; - - /** - *

                                                                                    Host.

                                                                                    - */ - Host: string | undefined; } export namespace AuroraParameters { @@ -463,14 +463,14 @@ export interface AuroraPostgreSqlParameters { Host: string | undefined; /** - *

                                                                                    Database.

                                                                                    + *

                                                                                    Port.

                                                                                    */ - Database: string | undefined; + Port: number | undefined; /** - *

                                                                                    Port.

                                                                                    + *

                                                                                    Database.

                                                                                    */ - Port: number | undefined; + Database: string | undefined; } export namespace AuroraPostgreSqlParameters { @@ -515,6 +515,11 @@ export namespace BorderStyle { *

                                                                                    A calculated column for a dataset.

                                                                                    */ export interface CalculatedColumn { + /** + *

                                                                                    Column name.

                                                                                    + */ + ColumnName: string | undefined; + /** *

                                                                                    A unique ID to identify a calculated column. During a dataset update, if the column ID * of a calculated column matches that of an existing calculated column, Amazon QuickSight @@ -522,11 +527,6 @@ export interface CalculatedColumn { */ ColumnId: string | undefined; - /** - *

                                                                                    Column name.

                                                                                    - */ - ColumnName: string | undefined; - /** *

                                                                                    An expression that defines the calculated column.

                                                                                    */ @@ -563,11 +563,6 @@ export namespace CancelIngestionRequest { } export interface CancelIngestionResponse { - /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    - */ - RequestId?: string; - /** *

                                                                                    The Amazon Resource Name (ARN) for the data ingestion.

                                                                                    */ @@ -578,6 +573,11 @@ export interface CancelIngestionResponse { */ IngestionId?: string; + /** + *

                                                                                    The AWS request ID for this operation.

                                                                                    + */ + RequestId?: string; + /** *

                                                                                    The HTTP status of the request.

                                                                                    */ @@ -646,12 +646,12 @@ export enum ExceptionResourceType { export interface ResourceExistsException extends __SmithyException, $MetadataBearer { name: "ResourceExistsException"; $fault: "client"; + Message?: string; /** *

                                                                                    The resource type for this request.

                                                                                    */ ResourceType?: ExceptionResourceType | string; - Message?: string; /** *

                                                                                    The AWS request ID for this request.

                                                                                    */ @@ -719,14 +719,14 @@ export enum ColumnDataType { */ export interface CastColumnTypeOperation { /** - *

                                                                                    New column data type.

                                                                                    + *

                                                                                    Column name.

                                                                                    */ - NewColumnType: ColumnDataType | string | undefined; + ColumnName: string | undefined; /** - *

                                                                                    Column name.

                                                                                    + *

                                                                                    New column data type.

                                                                                    */ - ColumnName: string | undefined; + NewColumnType: ColumnDataType | string | undefined; /** *

                                                                                    When casting a column from string to datetime type, you can supply a string in a @@ -766,9 +766,9 @@ export enum GeoSpatialCountryCode { */ export interface GeoSpatialColumnGroup { /** - *

                                                                                    Columns in this hierarchy.

                                                                                    + *

                                                                                    A display name for the hierarchy.

                                                                                    */ - Columns: string[] | undefined; + Name: string | undefined; /** *

                                                                                    Country code.

                                                                                    @@ -776,9 +776,9 @@ export interface GeoSpatialColumnGroup { CountryCode: GeoSpatialCountryCode | string | undefined; /** - *

                                                                                    A display name for the hierarchy.

                                                                                    + *

                                                                                    Columns in this hierarchy.

                                                                                    */ - Name: string | undefined; + Columns: string[] | undefined; } export namespace GeoSpatialColumnGroup { @@ -843,14 +843,35 @@ export namespace ColumnGroupSchema { } /** - *

                                                                                    The column schema.

                                                                                    + *

                                                                                    A rule defined to grant access on one or more restricted columns. + * Each dataset can have multiple rules. + * To create a restricted column, you add it to one or more rules. + * Each rule must contain at least one column and at least one user or group. + * To be able to see a restricted column, a user or group needs to be added + * to a rule for that column.

                                                                                    */ -export interface ColumnSchema { +export interface ColumnLevelPermissionRule { /** - *

                                                                                    The geographic role of the column schema.

                                                                                    + *

                                                                                    An array of Amazon Resource Names (ARNs) for QuickSight users or groups.

                                                                                    */ - GeographicRole?: string; + Principals?: string[]; + + /** + *

                                                                                    An array of column names.

                                                                                    + */ + ColumnNames?: string[]; +} +export namespace ColumnLevelPermissionRule { + export const filterSensitiveLog = (obj: ColumnLevelPermissionRule): any => ({ + ...obj, + }); +} + +/** + *

                                                                                    The column schema.

                                                                                    + */ +export interface ColumnSchema { /** *

                                                                                    The name of the column schema.

                                                                                    */ @@ -860,6 +881,11 @@ export interface ColumnSchema { *

                                                                                    The data type of the column schema.

                                                                                    */ DataType?: string; + + /** + *

                                                                                    The geographic role of the column schema.

                                                                                    + */ + GeographicRole?: string; } export namespace ColumnSchema { @@ -908,8 +934,8 @@ export namespace ColumnTag { export interface ConcurrentUpdatingException extends __SmithyException, $MetadataBearer { name: "ConcurrentUpdatingException"; $fault: "server"; - RequestId?: string; Message?: string; + RequestId?: string; } export namespace ConcurrentUpdatingException { @@ -1001,9 +1027,14 @@ export interface CreateAccountCustomizationResponse { Arn?: string; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The ID for the AWS account that you want to customize QuickSight for.

                                                                                    */ - Status?: number; + AwsAccountId?: string; + + /** + *

                                                                                    The namespace associated with the customization you're creating.

                                                                                    + */ + Namespace?: string; /** *

                                                                                    The QuickSight customizations you're adding in the current AWS Region.

                                                                                    @@ -1016,14 +1047,9 @@ export interface CreateAccountCustomizationResponse { RequestId?: string; /** - *

                                                                                    The ID for the AWS account that you want to customize QuickSight for.

                                                                                    - */ - AwsAccountId?: string; - - /** - *

                                                                                    The namespace associated with the customization you're creating.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - Namespace?: string; + Status?: number; } export namespace CreateAccountCustomizationResponse { @@ -1038,17 +1064,16 @@ export namespace CreateAccountCustomizationResponse { export interface ResourceUnavailableException extends __SmithyException, $MetadataBearer { name: "ResourceUnavailableException"; $fault: "server"; - /** - *

                                                                                    The AWS request ID for this request.

                                                                                    - */ - RequestId?: string; - + Message?: string; /** *

                                                                                    The resource type for this request.

                                                                                    */ ResourceType?: ExceptionResourceType | string; - Message?: string; + /** + *

                                                                                    The AWS request ID for this request.

                                                                                    + */ + RequestId?: string; } export namespace ResourceUnavailableException { @@ -1083,14 +1108,14 @@ export namespace DateTimeParameter { */ export interface DecimalParameter { /** - *

                                                                                    The values for the decimal parameter.

                                                                                    + *

                                                                                    A display name for the decimal parameter.

                                                                                    */ - Values: number[] | undefined; + Name: string | undefined; /** - *

                                                                                    A display name for the decimal parameter.

                                                                                    + *

                                                                                    The values for the decimal parameter.

                                                                                    */ - Name: string | undefined; + Values: number[] | undefined; } export namespace DecimalParameter { @@ -1104,14 +1129,14 @@ export namespace DecimalParameter { */ export interface IntegerParameter { /** - *

                                                                                    The values for the integer parameter.

                                                                                    + *

                                                                                    The name of the integer parameter.

                                                                                    */ - Values: number[] | undefined; + Name: string | undefined; /** - *

                                                                                    The name of the integer parameter.

                                                                                    + *

                                                                                    The values for the integer parameter.

                                                                                    */ - Name: string | undefined; + Values: number[] | undefined; } export namespace IntegerParameter { @@ -1125,14 +1150,14 @@ export namespace IntegerParameter { */ export interface StringParameter { /** - *

                                                                                    The values of a string parameter.

                                                                                    + *

                                                                                    A display name for a string parameter.

                                                                                    */ - Values: string[] | undefined; + Name: string | undefined; /** - *

                                                                                    A display name for a string parameter.

                                                                                    + *

                                                                                    The values of a string parameter.

                                                                                    */ - Name: string | undefined; + Values: string[] | undefined; } export namespace StringParameter { @@ -1150,6 +1175,11 @@ export interface _Parameters { */ StringParameters?: StringParameter[]; + /** + *

                                                                                    Integer parameters.

                                                                                    + */ + IntegerParameters?: IntegerParameter[]; + /** *

                                                                                    Decimal parameters.

                                                                                    */ @@ -1159,11 +1189,6 @@ export interface _Parameters { *

                                                                                    Date-time parameters.

                                                                                    */ DateTimeParameters?: DateTimeParameter[]; - - /** - *

                                                                                    Integer parameters.

                                                                                    - */ - IntegerParameters?: IntegerParameter[]; } export namespace _Parameters { @@ -1196,8 +1221,7 @@ export interface ResourcePermission { Principal: string | undefined; /** - *

                                                                                    The IAM action to grant or revoke permissions on, for example - * "quicksight:DescribeDashboard".

                                                                                    + *

                                                                                    The IAM action to grant or revoke permissions on.

                                                                                    */ Actions: string[] | undefined; } @@ -1210,22 +1234,9 @@ export namespace ResourcePermission { export interface CreateAnalysisRequest { /** - *

                                                                                    Contains a map of the key-value pairs for the resource tag or tags assigned to the - * analysis.

                                                                                    - */ - Tags?: Tag[]; - - /** - *

                                                                                    The ARN for the theme to apply to the analysis that you're creating. To see the theme - * in the QuickSight console, make sure that you have access to it.

                                                                                    - */ - ThemeArn?: string; - - /** - *

                                                                                    A source entity to use for the analysis that you're creating. This metadata structure - * contains details that describe a source template and one or more datasets.

                                                                                    + *

                                                                                    The ID of the AWS account where you are creating an analysis.

                                                                                    */ - SourceEntity: AnalysisSourceEntity | undefined; + AwsAccountId: string | undefined; /** *

                                                                                    The ID for the analysis that you're creating. This ID displays in the URL of the @@ -1233,11 +1244,6 @@ export interface CreateAnalysisRequest { */ AnalysisId: string | undefined; - /** - *

                                                                                    The ID of the AWS account where you are creating an analysis.

                                                                                    - */ - AwsAccountId: string | undefined; - /** *

                                                                                    A descriptive name for the analysis that you're creating. This name displays for the * analysis in the QuickSight console.

                                                                                    @@ -1245,20 +1251,38 @@ export interface CreateAnalysisRequest { Name: string | undefined; /** - *

                                                                                    A structure that describes the principals and the resource-level permissions on an - * analysis. You can use the Permissions structure to grant permissions by - * providing a list of AWS Identity and Access Management (IAM) action information for each - * principal listed by Amazon Resource Name (ARN).

                                                                                    + *

                                                                                    The parameter names and override values that you want to use. An analysis can have + * any parameter type, and some parameters might accept multiple values.

                                                                                    + */ + Parameters?: _Parameters; + + /** + *

                                                                                    A structure that describes the principals and the resource-level permissions on an + * analysis. You can use the Permissions structure to grant permissions by + * providing a list of AWS Identity and Access Management (IAM) action information for each + * principal listed by Amazon Resource Name (ARN).

                                                                                    * *

                                                                                    To specify no permissions, omit Permissions.

                                                                                    */ Permissions?: ResourcePermission[]; /** - *

                                                                                    The parameter names and override values that you want to use. An analysis can have - * any parameter type, and some parameters might accept multiple values.

                                                                                    + *

                                                                                    A source entity to use for the analysis that you're creating. This metadata structure + * contains details that describe a source template and one or more datasets.

                                                                                    */ - Parameters?: _Parameters; + SourceEntity: AnalysisSourceEntity | undefined; + + /** + *

                                                                                    The ARN for the theme to apply to the analysis that you're creating. To see the theme + * in the QuickSight console, make sure that you have access to it.

                                                                                    + */ + ThemeArn?: string; + + /** + *

                                                                                    Contains a map of the key-value pairs for the resource tag or tags assigned to the + * analysis.

                                                                                    + */ + Tags?: Tag[]; } export namespace CreateAnalysisRequest { @@ -1269,9 +1293,9 @@ export namespace CreateAnalysisRequest { export interface CreateAnalysisResponse { /** - *

                                                                                    The status of the creation of the analysis.

                                                                                    + *

                                                                                    The ARN for the analysis.

                                                                                    */ - CreationStatus?: ResourceStatus | string; + Arn?: string; /** *

                                                                                    The ID of the analysis.

                                                                                    @@ -1279,14 +1303,14 @@ export interface CreateAnalysisResponse { AnalysisId?: string; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The status of the creation of the analysis.

                                                                                    */ - Status?: number; + CreationStatus?: ResourceStatus | string; /** - *

                                                                                    The ARN for the analysis.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - Arn?: string; + Status?: number; /** *

                                                                                    The AWS request ID for this operation.

                                                                                    @@ -1386,14 +1410,14 @@ export interface DashboardPublishOptions { AdHocFilteringOption?: AdHocFilteringOption; /** - *

                                                                                    Sheet controls option.

                                                                                    + *

                                                                                    Export to .csv option.

                                                                                    */ - SheetControlsOption?: SheetControlsOption; + ExportToCSVOption?: ExportToCSVOption; /** - *

                                                                                    Export to .csv option.

                                                                                    + *

                                                                                    Sheet controls option.

                                                                                    */ - ExportToCSVOption?: ExportToCSVOption; + SheetControlsOption?: SheetControlsOption; } export namespace DashboardPublishOptions { @@ -1440,29 +1464,15 @@ export namespace DashboardSourceEntity { } export interface CreateDashboardRequest { - /** - *

                                                                                    The ID for the dashboard, also added to the IAM policy.

                                                                                    - */ - DashboardId: string | undefined; - - /** - *

                                                                                    A description for the first version of the dashboard being created.

                                                                                    - */ - VersionDescription?: string; - /** *

                                                                                    The ID of the AWS account where you want to create the dashboard.

                                                                                    */ AwsAccountId: string | undefined; /** - *

                                                                                    A structure that contains the permissions of the dashboard. You can use this structure - * for granting permissions by providing a list of IAM action information for each - * principal ARN.

                                                                                    - * - *

                                                                                    To specify no permissions, omit the permissions list.

                                                                                    + *

                                                                                    The ID for the dashboard, also added to the IAM policy.

                                                                                    */ - Permissions?: ResourcePermission[]; + DashboardId: string | undefined; /** *

                                                                                    The display name of the dashboard.

                                                                                    @@ -1477,10 +1487,13 @@ export interface CreateDashboardRequest { Parameters?: _Parameters; /** - *

                                                                                    Contains a map of the key-value pairs for the resource tag or tags assigned to the - * dashboard.

                                                                                    + *

                                                                                    A structure that contains the permissions of the dashboard. You can use this structure + * for granting permissions by providing a list of IAM action information for each + * principal ARN.

                                                                                    + * + *

                                                                                    To specify no permissions, omit the permissions list.

                                                                                    */ - Tags?: Tag[]; + Permissions?: ResourcePermission[]; /** *

                                                                                    The entity that you are using as a source when you create the dashboard. In @@ -1498,12 +1511,15 @@ export interface CreateDashboardRequest { SourceEntity: DashboardSourceEntity | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If - * you add a value for this field, it overrides the value that is used in the source - * entity. The theme ARN must exist in the same AWS account where you create the + *

                                                                                    Contains a map of the key-value pairs for the resource tag or tags assigned to the * dashboard.

                                                                                    */ - ThemeArn?: string; + Tags?: Tag[]; + + /** + *

                                                                                    A description for the first version of the dashboard being created.

                                                                                    + */ + VersionDescription?: string; /** *

                                                                                    Options for publishing the dashboard when you create it:

                                                                                    @@ -1532,6 +1548,14 @@ export interface CreateDashboardRequest { *
                                                                                  */ DashboardPublishOptions?: DashboardPublishOptions; + + /** + *

                                                                                  The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If + * you add a value for this field, it overrides the value that is used in the source + * entity. The theme ARN must exist in the same AWS account where you create the + * dashboard.

                                                                                  + */ + ThemeArn?: string; } export namespace CreateDashboardRequest { @@ -1542,14 +1566,15 @@ export namespace CreateDashboardRequest { export interface CreateDashboardResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The ARN of the dashboard.

                                                                                  */ - Status?: number; + Arn?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The ARN of the dashboard, including the version number of the first version that is + * created.

                                                                                  */ - RequestId?: string; + VersionArn?: string; /** *

                                                                                  The ID for the dashboard.

                                                                                  @@ -1557,20 +1582,19 @@ export interface CreateDashboardResponse { DashboardId?: string; /** - *

                                                                                  The ARN of the dashboard.

                                                                                  + *

                                                                                  The status of the dashboard creation request.

                                                                                  */ - Arn?: string; + CreationStatus?: ResourceStatus | string; /** - *

                                                                                  The ARN of the dashboard, including the version number of the first version that is - * created.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - VersionArn?: string; + Status?: number; /** - *

                                                                                  The status of the dashboard creation request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - CreationStatus?: ResourceStatus | string; + RequestId?: string; } export namespace CreateDashboardResponse { @@ -1669,14 +1693,15 @@ export namespace TagColumnOperation { */ export interface TransformOperation { /** - *

                                                                                  An operation that renames a column.

                                                                                  + *

                                                                                  An operation that projects columns. Operations that come after a projection can only + * refer to projected columns.

                                                                                  */ - RenameColumnOperation?: RenameColumnOperation; + ProjectOperation?: ProjectOperation; /** - *

                                                                                  An operation that tags a column with additional information.

                                                                                  + *

                                                                                  An operation that filters rows based on some condition.

                                                                                  */ - TagColumnOperation?: TagColumnOperation; + FilterOperation?: FilterOperation; /** *

                                                                                  An operation that creates calculated columns. Columns created in one such operation @@ -1685,20 +1710,19 @@ export interface TransformOperation { CreateColumnsOperation?: CreateColumnsOperation; /** - *

                                                                                  An operation that projects columns. Operations that come after a projection can only - * refer to projected columns.

                                                                                  + *

                                                                                  An operation that renames a column.

                                                                                  */ - ProjectOperation?: ProjectOperation; + RenameColumnOperation?: RenameColumnOperation; /** - *

                                                                                  An operation that filters rows based on some condition.

                                                                                  + *

                                                                                  A transform operation that casts a column to a different type.

                                                                                  */ - FilterOperation?: FilterOperation; + CastColumnTypeOperation?: CastColumnTypeOperation; /** - *

                                                                                  A transform operation that casts a column to a different type.

                                                                                  + *

                                                                                  An operation that tags a column with additional information.

                                                                                  */ - CastColumnTypeOperation?: CastColumnTypeOperation; + TagColumnOperation?: TagColumnOperation; } export namespace TransformOperation { @@ -1719,24 +1743,24 @@ export enum JoinType { */ export interface JoinInstruction { /** - *

                                                                                  Type.

                                                                                  + *

                                                                                  Left operand.

                                                                                  */ - Type: JoinType | string | undefined; + LeftOperand: string | undefined; /** - *

                                                                                  On Clause.

                                                                                  + *

                                                                                  Right operand.

                                                                                  */ - OnClause: string | undefined; + RightOperand: string | undefined; /** - *

                                                                                  Right operand.

                                                                                  + *

                                                                                  Type.

                                                                                  */ - RightOperand: string | undefined; + Type: JoinType | string | undefined; /** - *

                                                                                  Left operand.

                                                                                  + *

                                                                                  On Clause.

                                                                                  */ - LeftOperand: string | undefined; + OnClause: string | undefined; } export namespace JoinInstruction { @@ -1774,11 +1798,6 @@ export namespace LogicalTableSource { * table acts as a mutable copy of that physical table through transform operations.

                                                                                  */ export interface LogicalTable { - /** - *

                                                                                  Source of this logical table.

                                                                                  - */ - Source: LogicalTableSource | undefined; - /** *

                                                                                  A display name for the logical table.

                                                                                  */ @@ -1788,6 +1807,11 @@ export interface LogicalTable { *

                                                                                  Transform operations that act on this logical table.

                                                                                  */ DataTransforms?: TransformOperation[]; + + /** + *

                                                                                  Source of this logical table.

                                                                                  + */ + Source: LogicalTableSource | undefined; } export namespace LogicalTable { @@ -1832,24 +1856,24 @@ export namespace InputColumn { */ export interface CustomSql { /** - *

                                                                                  The column schema from the SQL query result set.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the data source.

                                                                                  */ - Columns?: InputColumn[]; + DataSourceArn: string | undefined; /** - *

                                                                                  The SQL query.

                                                                                  + *

                                                                                  A display name for the SQL query result.

                                                                                  */ - SqlQuery: string | undefined; + Name: string | undefined; /** - *

                                                                                  A display name for the SQL query result.

                                                                                  + *

                                                                                  The SQL query.

                                                                                  */ - Name: string | undefined; + SqlQuery: string | undefined; /** - *

                                                                                  The Amazon Resource Name (ARN) of the data source.

                                                                                  + *

                                                                                  The column schema from the SQL query result set.

                                                                                  */ - DataSourceArn: string | undefined; + Columns?: InputColumn[]; } export namespace CustomSql { @@ -1867,6 +1891,11 @@ export interface RelationalTable { */ DataSourceArn: string | undefined; + /** + *

                                                                                  The schema name. This name applies to certain relational database engines.

                                                                                  + */ + Schema?: string; + /** *

                                                                                  The name of the relational table.

                                                                                  */ @@ -1876,11 +1905,6 @@ export interface RelationalTable { *

                                                                                  The column schema of the table.

                                                                                  */ InputColumns: InputColumn[] | undefined; - - /** - *

                                                                                  The schema name. This name applies to certain relational database engines.

                                                                                  - */ - Schema?: string; } export namespace RelationalTable { @@ -1908,19 +1932,19 @@ export enum TextQualifier { */ export interface UploadSettings { /** - *

                                                                                  A row number to start reading data from.

                                                                                  + *

                                                                                  File format.

                                                                                  */ - StartFromRow?: number; + Format?: FileFormat | string; /** - *

                                                                                  File format.

                                                                                  + *

                                                                                  A row number to start reading data from.

                                                                                  */ - Format?: FileFormat | string; + StartFromRow?: number; /** - *

                                                                                  The delimiter between values in the file.

                                                                                  + *

                                                                                  Whether the file has a header row, or the files each have a header row.

                                                                                  */ - Delimiter?: string; + ContainsHeader?: boolean; /** *

                                                                                  Text qualifier.

                                                                                  @@ -1928,9 +1952,9 @@ export interface UploadSettings { TextQualifier?: TextQualifier | string; /** - *

                                                                                  Whether the file has a header row, or the files each have a header row.

                                                                                  + *

                                                                                  The delimiter between values in the file.

                                                                                  */ - ContainsHeader?: boolean; + Delimiter?: string; } export namespace UploadSettings { @@ -1944,14 +1968,14 @@ export namespace UploadSettings { */ export interface S3Source { /** - *

                                                                                  Information about the format for the S3 source file or files.

                                                                                  + *

                                                                                  The amazon Resource Name (ARN) for the data source.

                                                                                  */ - UploadSettings?: UploadSettings; + DataSourceArn: string | undefined; /** - *

                                                                                  The amazon Resource Name (ARN) for the data source.

                                                                                  + *

                                                                                  Information about the format for the S3 source file or files.

                                                                                  */ - DataSourceArn: string | undefined; + UploadSettings?: UploadSettings; /** *

                                                                                  A physical table type for as S3 data source.

                                                                                  @@ -2008,14 +2032,14 @@ export interface RowLevelPermissionDataSet { Namespace?: string; /** - *

                                                                                  Permission policy.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the permission dataset.

                                                                                  */ - PermissionPolicy: RowLevelPermissionPolicy | string | undefined; + Arn: string | undefined; /** - *

                                                                                  The Amazon Resource Name (ARN) of the permission dataset.

                                                                                  + *

                                                                                  Permission policy.

                                                                                  */ - Arn: string | undefined; + PermissionPolicy: RowLevelPermissionPolicy | string | undefined; } export namespace RowLevelPermissionDataSet { @@ -2026,14 +2050,9 @@ export namespace RowLevelPermissionDataSet { export interface CreateDataSetRequest { /** - *

                                                                                  Indicates whether you want to import the data into SPICE.

                                                                                  - */ - ImportMode: DataSetImportMode | string | undefined; - - /** - *

                                                                                  The row-level security configuration for the data that you want to create.

                                                                                  + *

                                                                                  The AWS account ID.

                                                                                  */ - RowLevelPermissionDataSet?: RowLevelPermissionDataSet; + AwsAccountId: string | undefined; /** *

                                                                                  An ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  @@ -2041,9 +2060,9 @@ export interface CreateDataSetRequest { DataSetId: string | undefined; /** - *

                                                                                  Configures the combination and transformation of the data from the physical tables.

                                                                                  + *

                                                                                  The display name for the dataset.

                                                                                  */ - LogicalTableMap?: { [key: string]: LogicalTable }; + Name: string | undefined; /** *

                                                                                  Declares the physical tables that are available in the underlying data sources.

                                                                                  @@ -2051,9 +2070,14 @@ export interface CreateDataSetRequest { PhysicalTableMap: { [key: string]: PhysicalTable } | undefined; /** - *

                                                                                  A list of resource permissions on the dataset.

                                                                                  + *

                                                                                  Configures the combination and transformation of the data from the physical tables.

                                                                                  */ - Permissions?: ResourcePermission[]; + LogicalTableMap?: { [key: string]: LogicalTable }; + + /** + *

                                                                                  Indicates whether you want to import the data into SPICE.

                                                                                  + */ + ImportMode: DataSetImportMode | string | undefined; /** *

                                                                                  Groupings of columns that work together in certain QuickSight features. Currently, only geospatial hierarchy is supported.

                                                                                  @@ -2061,22 +2085,29 @@ export interface CreateDataSetRequest { ColumnGroups?: ColumnGroup[]; /** - *

                                                                                  The AWS account ID.

                                                                                  + *

                                                                                  A list of resource permissions on the dataset.

                                                                                  */ - AwsAccountId: string | undefined; + Permissions?: ResourcePermission[]; /** - *

                                                                                  Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

                                                                                  + *

                                                                                  The row-level security configuration for the data that you want to create.

                                                                                  */ - Tags?: Tag[]; + RowLevelPermissionDataSet?: RowLevelPermissionDataSet; /** - *

                                                                                  The display name for the dataset.

                                                                                  + *

                                                                                  A set of one or more definitions of a + * ColumnLevelPermissionRule + * .

                                                                                  */ - Name: string | undefined; -} + ColumnLevelPermissionRules?: ColumnLevelPermissionRule[]; -export namespace CreateDataSetRequest { + /** + *

                                                                                  Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.

                                                                                  + */ + Tags?: Tag[]; +} + +export namespace CreateDataSetRequest { export const filterSensitiveLog = (obj: CreateDataSetRequest): any => ({ ...obj, }); @@ -2084,15 +2115,14 @@ export namespace CreateDataSetRequest { export interface CreateDataSetResponse { /** - *

                                                                                  The ID of the ingestion, which is triggered as a result of dataset creation if the import - * mode is SPICE.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the dataset.

                                                                                  */ - IngestionId?: string; + Arn?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the dataset.

                                                                                  + *

                                                                                  The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  */ - Arn?: string; + DataSetId?: string; /** *

                                                                                  The ARN for the ingestion, which is triggered as a result of dataset creation if the import @@ -2101,9 +2131,10 @@ export interface CreateDataSetResponse { IngestionArn?: string; /** - *

                                                                                  The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  + *

                                                                                  The ID of the ingestion, which is triggered as a result of dataset creation if the import + * mode is SPICE.

                                                                                  */ - DataSetId?: string; + IngestionId?: string; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  @@ -2166,11 +2197,6 @@ export namespace JiraParameters { *

                                                                                  MariaDB parameters.

                                                                                  */ export interface MariaDbParameters { - /** - *

                                                                                  Database.

                                                                                  - */ - Database: string | undefined; - /** *

                                                                                  Host.

                                                                                  */ @@ -2180,6 +2206,11 @@ export interface MariaDbParameters { *

                                                                                  Port.

                                                                                  */ Port: number | undefined; + + /** + *

                                                                                  Database.

                                                                                  + */ + Database: string | undefined; } export namespace MariaDbParameters { @@ -2193,14 +2224,14 @@ export namespace MariaDbParameters { */ export interface MySqlParameters { /** - *

                                                                                  Port.

                                                                                  + *

                                                                                  Host.

                                                                                  */ - Port: number | undefined; + Host: string | undefined; /** - *

                                                                                  Host.

                                                                                  + *

                                                                                  Port.

                                                                                  */ - Host: string | undefined; + Port: number | undefined; /** *

                                                                                  Database.

                                                                                  @@ -2214,15 +2245,33 @@ export namespace MySqlParameters { }); } -/** - *

                                                                                  PostgreSQL parameters.

                                                                                  - */ -export interface PostgreSqlParameters { +export interface OracleParameters { + /** + *

                                                                                  An Oracle host.

                                                                                  + */ + Host: string | undefined; + + /** + *

                                                                                  Port.

                                                                                  + */ + Port: number | undefined; + /** *

                                                                                  Database.

                                                                                  */ Database: string | undefined; +} + +export namespace OracleParameters { + export const filterSensitiveLog = (obj: OracleParameters): any => ({ + ...obj, + }); +} +/** + *

                                                                                  PostgreSQL parameters.

                                                                                  + */ +export interface PostgreSqlParameters { /** *

                                                                                  Host.

                                                                                  */ @@ -2232,6 +2281,11 @@ export interface PostgreSqlParameters { *

                                                                                  Port.

                                                                                  */ Port: number | undefined; + + /** + *

                                                                                  Database.

                                                                                  + */ + Database: string | undefined; } export namespace PostgreSqlParameters { @@ -2244,6 +2298,11 @@ export namespace PostgreSqlParameters { *

                                                                                  Presto parameters.

                                                                                  */ export interface PrestoParameters { + /** + *

                                                                                  Host.

                                                                                  + */ + Host: string | undefined; + /** *

                                                                                  Port.

                                                                                  */ @@ -2253,11 +2312,6 @@ export interface PrestoParameters { *

                                                                                  Catalog.

                                                                                  */ Catalog: string | undefined; - - /** - *

                                                                                  Host.

                                                                                  - */ - Host: string | undefined; } export namespace PrestoParameters { @@ -2271,14 +2325,14 @@ export namespace PrestoParameters { */ export interface RdsParameters { /** - *

                                                                                  Database.

                                                                                  + *

                                                                                  Instance ID.

                                                                                  */ - Database: string | undefined; + InstanceId: string | undefined; /** - *

                                                                                  Instance ID.

                                                                                  + *

                                                                                  Database.

                                                                                  */ - InstanceId: string | undefined; + Database: string | undefined; } export namespace RdsParameters { @@ -2294,15 +2348,14 @@ export namespace RdsParameters { */ export interface RedshiftParameters { /** - *

                                                                                  Cluster ID. This field can be blank if the Host and Port are - * provided.

                                                                                  + *

                                                                                  Host. This field can be blank if ClusterId is provided.

                                                                                  */ - ClusterId?: string; + Host?: string; /** - *

                                                                                  Host. This field can be blank if ClusterId is provided.

                                                                                  + *

                                                                                  Port. This field can be blank if the ClusterId is provided.

                                                                                  */ - Host?: string; + Port?: number; /** *

                                                                                  Database.

                                                                                  @@ -2310,9 +2363,10 @@ export interface RedshiftParameters { Database: string | undefined; /** - *

                                                                                  Port. This field can be blank if the ClusterId is provided.

                                                                                  + *

                                                                                  Cluster ID. This field can be blank if the Host and Port are + * provided.

                                                                                  */ - Port?: number; + ClusterId?: string; } export namespace RedshiftParameters { @@ -2380,14 +2434,14 @@ export namespace ServiceNowParameters { */ export interface SnowflakeParameters { /** - *

                                                                                  Database.

                                                                                  + *

                                                                                  Host.

                                                                                  */ - Database: string | undefined; + Host: string | undefined; /** - *

                                                                                  Host.

                                                                                  + *

                                                                                  Database.

                                                                                  */ - Host: string | undefined; + Database: string | undefined; /** *

                                                                                  Warehouse.

                                                                                  @@ -2406,14 +2460,14 @@ export namespace SnowflakeParameters { */ export interface SparkParameters { /** - *

                                                                                  Port.

                                                                                  + *

                                                                                  Host.

                                                                                  */ - Port: number | undefined; + Host: string | undefined; /** - *

                                                                                  Host.

                                                                                  + *

                                                                                  Port.

                                                                                  */ - Host: string | undefined; + Port: number | undefined; } export namespace SparkParameters { @@ -2432,14 +2486,14 @@ export interface SqlServerParameters { Host: string | undefined; /** - *

                                                                                  Database.

                                                                                  + *

                                                                                  Port.

                                                                                  */ - Database: string | undefined; + Port: number | undefined; /** - *

                                                                                  Port.

                                                                                  + *

                                                                                  Database.

                                                                                  */ - Port: number | undefined; + Database: string | undefined; } export namespace SqlServerParameters { @@ -2453,9 +2507,9 @@ export namespace SqlServerParameters { */ export interface TeradataParameters { /** - *

                                                                                  Database.

                                                                                  + *

                                                                                  Host.

                                                                                  */ - Database: string | undefined; + Host: string | undefined; /** *

                                                                                  Port.

                                                                                  @@ -2463,9 +2517,9 @@ export interface TeradataParameters { Port: number | undefined; /** - *

                                                                                  Host.

                                                                                  + *

                                                                                  Database.

                                                                                  */ - Host: string | undefined; + Database: string | undefined; } export namespace TeradataParameters { @@ -2502,24 +2556,29 @@ export namespace TwitterParameters { */ export interface DataSourceParameters { /** - *

                                                                                  MySQL parameters.

                                                                                  + *

                                                                                  Amazon Elasticsearch Service parameters.

                                                                                  */ - MySqlParameters?: MySqlParameters; + AmazonElasticsearchParameters?: AmazonElasticsearchParameters; /** - *

                                                                                  AWS IoT Analytics parameters.

                                                                                  + *

                                                                                  Amazon Athena parameters.

                                                                                  */ - AwsIotAnalyticsParameters?: AwsIotAnalyticsParameters; + AthenaParameters?: AthenaParameters; /** - *

                                                                                  Amazon Elasticsearch Service parameters.

                                                                                  + *

                                                                                  Amazon Aurora MySQL parameters.

                                                                                  */ - AmazonElasticsearchParameters?: AmazonElasticsearchParameters; + AuroraParameters?: AuroraParameters; /** - *

                                                                                  Amazon RDS parameters.

                                                                                  + *

                                                                                  Aurora PostgreSQL parameters.

                                                                                  */ - RdsParameters?: RdsParameters; + AuroraPostgreSqlParameters?: AuroraPostgreSqlParameters; + + /** + *

                                                                                  AWS IoT Analytics parameters.

                                                                                  + */ + AwsIotAnalyticsParameters?: AwsIotAnalyticsParameters; /** *

                                                                                  Jira parameters.

                                                                                  @@ -2527,44 +2586,44 @@ export interface DataSourceParameters { JiraParameters?: JiraParameters; /** - *

                                                                                  Amazon Redshift parameters.

                                                                                  + *

                                                                                  MariaDB parameters.

                                                                                  */ - RedshiftParameters?: RedshiftParameters; + MariaDbParameters?: MariaDbParameters; /** - *

                                                                                  Amazon Athena parameters.

                                                                                  + *

                                                                                  MySQL parameters.

                                                                                  */ - AthenaParameters?: AthenaParameters; + MySqlParameters?: MySqlParameters; /** - *

                                                                                  S3 parameters.

                                                                                  + *

                                                                                  Oracle parameters.

                                                                                  */ - S3Parameters?: S3Parameters; + OracleParameters?: OracleParameters; /** - *

                                                                                  Amazon Aurora MySQL parameters.

                                                                                  + *

                                                                                  PostgreSQL parameters.

                                                                                  */ - AuroraParameters?: AuroraParameters; + PostgreSqlParameters?: PostgreSqlParameters; /** - *

                                                                                  MariaDB parameters.

                                                                                  + *

                                                                                  Presto parameters.

                                                                                  */ - MariaDbParameters?: MariaDbParameters; + PrestoParameters?: PrestoParameters; /** - *

                                                                                  Spark parameters.

                                                                                  + *

                                                                                  Amazon RDS parameters.

                                                                                  */ - SparkParameters?: SparkParameters; + RdsParameters?: RdsParameters; /** - *

                                                                                  Aurora PostgreSQL parameters.

                                                                                  + *

                                                                                  Amazon Redshift parameters.

                                                                                  */ - AuroraPostgreSqlParameters?: AuroraPostgreSqlParameters; + RedshiftParameters?: RedshiftParameters; /** - *

                                                                                  Twitter parameters.

                                                                                  + *

                                                                                  S3 parameters.

                                                                                  */ - TwitterParameters?: TwitterParameters; + S3Parameters?: S3Parameters; /** *

                                                                                  ServiceNow parameters.

                                                                                  @@ -2572,14 +2631,14 @@ export interface DataSourceParameters { ServiceNowParameters?: ServiceNowParameters; /** - *

                                                                                  Presto parameters.

                                                                                  + *

                                                                                  Snowflake parameters.

                                                                                  */ - PrestoParameters?: PrestoParameters; + SnowflakeParameters?: SnowflakeParameters; /** - *

                                                                                  PostgreSQL parameters.

                                                                                  + *

                                                                                  Spark parameters.

                                                                                  */ - PostgreSqlParameters?: PostgreSqlParameters; + SparkParameters?: SparkParameters; /** *

                                                                                  SQL Server parameters.

                                                                                  @@ -2587,14 +2646,14 @@ export interface DataSourceParameters { SqlServerParameters?: SqlServerParameters; /** - *

                                                                                  Snowflake parameters.

                                                                                  + *

                                                                                  Teradata parameters.

                                                                                  */ - SnowflakeParameters?: SnowflakeParameters; + TeradataParameters?: TeradataParameters; /** - *

                                                                                  Teradata parameters.

                                                                                  + *

                                                                                  Twitter parameters.

                                                                                  */ - TeradataParameters?: TeradataParameters; + TwitterParameters?: TwitterParameters; } export namespace DataSourceParameters { @@ -2612,6 +2671,11 @@ export interface CredentialPair { */ Username: string | undefined; + /** + *

                                                                                  Password.

                                                                                  + */ + Password: string | undefined; + /** *

                                                                                  A set of alternate data source parameters that you want to share for these * credentials. The credentials are applied in tandem with the data source parameters when @@ -2624,11 +2688,6 @@ export interface CredentialPair { * Credentials is automatically allowed.

                                                                                  */ AlternateDataSourceParameters?: DataSourceParameters[]; - - /** - *

                                                                                  Password.

                                                                                  - */ - Password: string | undefined; } export namespace CredentialPair { @@ -2642,6 +2701,11 @@ export namespace CredentialPair { * valid, only one of the attributes can be non-null.

                                                                                  */ export interface DataSourceCredentials { + /** + *

                                                                                  Credential pair. For more information, see CredentialPair.

                                                                                  + */ + CredentialPair?: CredentialPair; + /** *

                                                                                  The Amazon Resource Name (ARN) of a data source that has the credential pair that you * want to use. When CopySourceArn is not null, the credential pair from the @@ -2649,11 +2713,6 @@ export interface DataSourceCredentials { * DataSourceCredentials structure.

                                                                                  */ CopySourceArn?: string; - - /** - *

                                                                                  Credential pair. For more information, see CredentialPair.

                                                                                  - */ - CredentialPair?: CredentialPair; } export namespace DataSourceCredentials { @@ -2690,6 +2749,7 @@ export enum DataSourceType { JIRA = "JIRA", MARIADB = "MARIADB", MYSQL = "MYSQL", + ORACLE = "ORACLE", POSTGRESQL = "POSTGRESQL", PRESTO = "PRESTO", REDSHIFT = "REDSHIFT", @@ -2722,20 +2782,19 @@ export namespace VpcConnectionProperties { export interface CreateDataSourceRequest { /** - *

                                                                                  The credentials QuickSight that uses to connect to your underlying source. Currently, only - * credentials based on user name and password are supported.

                                                                                  + *

                                                                                  The AWS account ID.

                                                                                  */ - Credentials?: DataSourceCredentials; + AwsAccountId: string | undefined; /** - *

                                                                                  A list of resource permissions on the data source.

                                                                                  + *

                                                                                  An ID for the data source. This ID is unique per AWS Region for each AWS account.

                                                                                  */ - Permissions?: ResourcePermission[]; + DataSourceId: string | undefined; /** - *

                                                                                  Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.

                                                                                  + *

                                                                                  A display name for the data source.

                                                                                  */ - Tags?: Tag[]; + Name: string | undefined; /** *

                                                                                  The type of the data source. Currently, the supported types for this operation are: @@ -2747,35 +2806,36 @@ export interface CreateDataSourceRequest { Type: DataSourceType | string | undefined; /** - *

                                                                                  Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.

                                                                                  + *

                                                                                  The parameters that QuickSight uses to connect to your underlying source.

                                                                                  */ - SslProperties?: SslProperties; + DataSourceParameters?: DataSourceParameters; /** - *

                                                                                  Use this parameter only when you want QuickSight to use a VPC connection when connecting to - * your underlying source.

                                                                                  + *

                                                                                  The credentials QuickSight that uses to connect to your underlying source. Currently, only + * credentials based on user name and password are supported.

                                                                                  */ - VpcConnectionProperties?: VpcConnectionProperties; + Credentials?: DataSourceCredentials; /** - *

                                                                                  A display name for the data source.

                                                                                  + *

                                                                                  A list of resource permissions on the data source.

                                                                                  */ - Name: string | undefined; + Permissions?: ResourcePermission[]; /** - *

                                                                                  An ID for the data source. This ID is unique per AWS Region for each AWS account.

                                                                                  + *

                                                                                  Use this parameter only when you want QuickSight to use a VPC connection when connecting to + * your underlying source.

                                                                                  */ - DataSourceId: string | undefined; + VpcConnectionProperties?: VpcConnectionProperties; /** - *

                                                                                  The AWS account ID.

                                                                                  + *

                                                                                  Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.

                                                                                  */ - AwsAccountId: string | undefined; + SslProperties?: SslProperties; /** - *

                                                                                  The parameters that QuickSight uses to connect to your underlying source.

                                                                                  + *

                                                                                  Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.

                                                                                  */ - DataSourceParameters?: DataSourceParameters; + Tags?: Tag[]; } export namespace CreateDataSourceRequest { @@ -2791,11 +2851,6 @@ export interface CreateDataSourceResponse { */ Arn?: string; - /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  - */ - RequestId?: string; - /** *

                                                                                  The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                  */ @@ -2806,6 +2861,11 @@ export interface CreateDataSourceResponse { */ CreationStatus?: ResourceStatus | string; + /** + *

                                                                                  The AWS request ID for this operation.

                                                                                  + */ + RequestId?: string; + /** *

                                                                                  The HTTP status of the request.

                                                                                  */ @@ -2823,25 +2883,25 @@ export namespace CreateDataSourceResponse { */ export interface CreateGroupRequest { /** - *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  + *

                                                                                  A name for the group that you want to create.

                                                                                  */ - Namespace: string | undefined; + GroupName: string | undefined; /** - *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS - * account that contains your Amazon QuickSight account.

                                                                                  + *

                                                                                  A description for the group that you want to create.

                                                                                  */ - AwsAccountId: string | undefined; + Description?: string; /** - *

                                                                                  A description for the group that you want to create.

                                                                                  + *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS + * account that contains your Amazon QuickSight account.

                                                                                  */ - Description?: string; + AwsAccountId: string | undefined; /** - *

                                                                                  A name for the group that you want to create.

                                                                                  + *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  */ - GroupName: string | undefined; + Namespace: string | undefined; } export namespace CreateGroupRequest { @@ -2856,24 +2916,24 @@ export namespace CreateGroupRequest { */ export interface Group { /** - *

                                                                                  The group description.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) for the group.

                                                                                  */ - Description?: string; + Arn?: string; /** - *

                                                                                  The principal ID of the group.

                                                                                  + *

                                                                                  The name of the group.

                                                                                  */ - PrincipalId?: string; + GroupName?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) for the group.

                                                                                  + *

                                                                                  The group description.

                                                                                  */ - Arn?: string; + Description?: string; /** - *

                                                                                  The name of the group.

                                                                                  + *

                                                                                  The principal ID of the group.

                                                                                  */ - GroupName?: string; + PrincipalId?: string; } export namespace Group { @@ -2887,14 +2947,14 @@ export namespace Group { */ export interface CreateGroupResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The name of the group.

                                                                                  */ - RequestId?: string; + Group?: Group; /** - *

                                                                                  The name of the group.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Group?: Group; + RequestId?: string; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -2914,12 +2974,11 @@ export namespace CreateGroupResponse { export interface PreconditionNotMetException extends __SmithyException, $MetadataBearer { name: "PreconditionNotMetException"; $fault: "client"; + Message?: string; /** *

                                                                                  The AWS request ID for this request.

                                                                                  */ RequestId?: string; - - Message?: string; } export namespace PreconditionNotMetException { @@ -2930,25 +2989,25 @@ export namespace PreconditionNotMetException { export interface CreateGroupMembershipRequest { /** - *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  + *

                                                                                  The name of the user that you want to add to the group membership.

                                                                                  */ - Namespace: string | undefined; + MemberName: string | undefined; /** - *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS - * account that contains your Amazon QuickSight account.

                                                                                  + *

                                                                                  The name of the group that you want to add the user to.

                                                                                  */ - AwsAccountId: string | undefined; + GroupName: string | undefined; /** - *

                                                                                  The name of the group that you want to add the user to.

                                                                                  + *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS + * account that contains your Amazon QuickSight account.

                                                                                  */ - GroupName: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The name of the user that you want to add to the group membership.

                                                                                  + *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  */ - MemberName: string | undefined; + Namespace: string | undefined; } export namespace CreateGroupMembershipRequest { @@ -2963,14 +3022,14 @@ export namespace CreateGroupMembershipRequest { */ export interface GroupMember { /** - *

                                                                                  The name of the group member (user).

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) for the group member (user).

                                                                                  */ - MemberName?: string; + Arn?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) for the group member (user).

                                                                                  + *

                                                                                  The name of the group member (user).

                                                                                  */ - Arn?: string; + MemberName?: string; } export namespace GroupMember { @@ -2980,6 +3039,11 @@ export namespace GroupMember { } export interface CreateGroupMembershipResponse { + /** + *

                                                                                  The group member.

                                                                                  + */ + GroupMember?: GroupMember; + /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ @@ -2989,11 +3053,6 @@ export interface CreateGroupMembershipResponse { *

                                                                                  The HTTP status of the request.

                                                                                  */ Status?: number; - - /** - *

                                                                                  The group member.

                                                                                  - */ - GroupMember?: GroupMember; } export namespace CreateGroupMembershipResponse { @@ -3003,16 +3062,6 @@ export namespace CreateGroupMembershipResponse { } export interface CreateIAMPolicyAssignmentRequest { - /** - *

                                                                                  The name of the assignment. It must be unique within an AWS account.

                                                                                  - */ - AssignmentName: string | undefined; - - /** - *

                                                                                  The QuickSight users, groups, or both that you want to assign the policy to.

                                                                                  - */ - Identities?: { [key: string]: string[] }; - /** *

                                                                                  The ID of the AWS account where you want to assign an IAM policy to QuickSight users or * groups.

                                                                                  @@ -3020,9 +3069,9 @@ export interface CreateIAMPolicyAssignmentRequest { AwsAccountId: string | undefined; /** - *

                                                                                  The namespace that contains the assignment.

                                                                                  + *

                                                                                  The name of the assignment, also called a rule. It must be unique within an AWS account.

                                                                                  */ - Namespace: string | undefined; + AssignmentName: string | undefined; /** *

                                                                                  The status of the assignment. Possible values are as follows:

                                                                                  @@ -3050,6 +3099,16 @@ export interface CreateIAMPolicyAssignmentRequest { * specified in this assignment.

                                                                                  */ PolicyArn?: string; + + /** + *

                                                                                  The QuickSight users, groups, or both that you want to assign the policy to.

                                                                                  + */ + Identities?: { [key: string]: string[] }; + + /** + *

                                                                                  The namespace that contains the assignment.

                                                                                  + */ + Namespace: string | undefined; } export namespace CreateIAMPolicyAssignmentRequest { @@ -3060,35 +3119,15 @@ export namespace CreateIAMPolicyAssignmentRequest { export interface CreateIAMPolicyAssignmentResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  - */ - Status?: number; - - /** - *

                                                                                  The ARN for the IAM policy that is applied to the QuickSight users and groups specified in this assignment.

                                                                                  + *

                                                                                  The name of the assignment. This name must be unique within the AWS account.

                                                                                  */ - PolicyArn?: string; + AssignmentName?: string; /** *

                                                                                  The ID for the assignment.

                                                                                  */ AssignmentId?: string; - /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  - */ - RequestId?: string; - - /** - *

                                                                                  The QuickSight users, groups, or both that the IAM policy is assigned to.

                                                                                  - */ - Identities?: { [key: string]: string[] }; - - /** - *

                                                                                  The name of the assignment. This name must be unique within the AWS account.

                                                                                  - */ - AssignmentName?: string; - /** *

                                                                                  The status of the assignment. Possible values are as follows:

                                                                                  *
                                                                                    @@ -3109,6 +3148,26 @@ export interface CreateIAMPolicyAssignmentResponse { *
                                                                                  */ AssignmentStatus?: AssignmentStatus | string; + + /** + *

                                                                                  The ARN for the IAM policy that is applied to the QuickSight users and groups specified in this assignment.

                                                                                  + */ + PolicyArn?: string; + + /** + *

                                                                                  The QuickSight users, groups, or both that the IAM policy is assigned to.

                                                                                  + */ + Identities?: { [key: string]: string[] }; + + /** + *

                                                                                  The AWS request ID for this operation.

                                                                                  + */ + RequestId?: string; + + /** + *

                                                                                  The HTTP status of the request.

                                                                                  + */ + Status?: number; } export namespace CreateIAMPolicyAssignmentResponse { @@ -3119,14 +3178,14 @@ export namespace CreateIAMPolicyAssignmentResponse { export interface CreateIngestionRequest { /** - *

                                                                                  An ID for the ingestion.

                                                                                  + *

                                                                                  The ID of the dataset used in the ingestion.

                                                                                  */ - IngestionId: string | undefined; + DataSetId: string | undefined; /** - *

                                                                                  The ID of the dataset used in the ingestion.

                                                                                  + *

                                                                                  An ID for the ingestion.

                                                                                  */ - DataSetId: string | undefined; + IngestionId: string | undefined; /** *

                                                                                  The AWS account ID.

                                                                                  @@ -3151,29 +3210,29 @@ export enum IngestionStatus { export interface CreateIngestionResponse { /** - *

                                                                                  The ingestion status.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) for the data ingestion.

                                                                                  */ - IngestionStatus?: IngestionStatus | string; + Arn?: string; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  An ID for the ingestion.

                                                                                  */ - Status?: number; + IngestionId?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The ingestion status.

                                                                                  */ - RequestId?: string; + IngestionStatus?: IngestionStatus | string; /** - *

                                                                                  The Amazon Resource Name (ARN) for the data ingestion.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Arn?: string; + RequestId?: string; /** - *

                                                                                  An ID for the ingestion.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - IngestionId?: string; + Status?: number; } export namespace CreateIngestionResponse { @@ -3188,9 +3247,9 @@ export enum IdentityStore { export interface CreateNamespaceRequest { /** - *

                                                                                  The tags that you want to associate with the namespace that you're creating.

                                                                                  + *

                                                                                  The ID for the AWS account that you want to create the QuickSight namespace in.

                                                                                  */ - Tags?: Tag[]; + AwsAccountId: string | undefined; /** *

                                                                                  The name that you want to use to describe the new namespace.

                                                                                  @@ -3204,9 +3263,9 @@ export interface CreateNamespaceRequest { IdentityStore: IdentityStore | string | undefined; /** - *

                                                                                  The ID for the AWS account that you want to create the QuickSight namespace in.

                                                                                  + *

                                                                                  The tags that you want to associate with the namespace that you're creating.

                                                                                  */ - AwsAccountId: string | undefined; + Tags?: Tag[]; } export namespace CreateNamespaceRequest { @@ -3225,32 +3284,21 @@ export enum NamespaceStatus { export interface CreateNamespaceResponse { /** - *

                                                                                  Specifies the type of your user identity directory. Currently, this supports users - * with an identity type of QUICKSIGHT.

                                                                                  + *

                                                                                  The ARN of the QuickSight namespace you created.

                                                                                  */ - IdentityStore?: IdentityStore | string; + Arn?: string; /** *

                                                                                  The name of the new namespace that you created.

                                                                                  */ Name?: string; - /** - *

                                                                                  The HTTP status of the request.

                                                                                  - */ - Status?: number; - /** *

                                                                                  The AWS Region that you want to use for the free SPICE capacity for the new namespace. * This is set to the region that you run CreateNamespace in.

                                                                                  */ CapacityRegion?: string; - /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  - */ - RequestId?: string; - /** *

                                                                                  The status of the creation of the namespace. This is an asynchronous process. A status * of CREATED means that your namespace is ready to use. If an error occurs, @@ -3261,9 +3309,20 @@ export interface CreateNamespaceResponse { CreationStatus?: NamespaceStatus | string; /** - *

                                                                                  The ARN of the QuickSight namespace you created.

                                                                                  + *

                                                                                  Specifies the type of your user identity directory. Currently, this supports users + * with an identity type of QUICKSIGHT.

                                                                                  */ - Arn?: string; + IdentityStore?: IdentityStore | string; + + /** + *

                                                                                  The AWS request ID for this operation.

                                                                                  + */ + RequestId?: string; + + /** + *

                                                                                  The HTTP status of the request.

                                                                                  + */ + Status?: number; } export namespace CreateNamespaceResponse { @@ -3333,12 +3392,26 @@ export namespace TemplateSourceEntity { export interface CreateTemplateRequest { /** - *

                                                                                  A description of the current template version being created. This API operation creates the - * first version of the template. Every time UpdateTemplate is called, a new - * version is created. Each version of the template maintains a description of the version - * in the VersionDescription field.

                                                                                  + *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS + * account that contains your Amazon QuickSight account.

                                                                                  */ - VersionDescription?: string; + AwsAccountId: string | undefined; + + /** + *

                                                                                  An ID for the template that you want to create. This template is unique per AWS Region in + * each AWS account.

                                                                                  + */ + TemplateId: string | undefined; + + /** + *

                                                                                  A display name for the template.

                                                                                  + */ + Name?: string; + + /** + *

                                                                                  A list of resource permissions to be set on the template.

                                                                                  + */ + Permissions?: ResourcePermission[]; /** *

                                                                                  The entity that you are using as a source when you create the template. In @@ -3355,31 +3428,17 @@ export interface CreateTemplateRequest { SourceEntity: TemplateSourceEntity | undefined; /** - *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS - * account that contains your Amazon QuickSight account.

                                                                                  + *

                                                                                  Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

                                                                                  */ - AwsAccountId: string | undefined; + Tags?: Tag[]; /** - *

                                                                                  A display name for the template.

                                                                                  - */ - Name?: string; - - /** - *

                                                                                  Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

                                                                                  - */ - Tags?: Tag[]; - - /** - *

                                                                                  An ID for the template that you want to create. This template is unique per AWS Region in - * each AWS account.

                                                                                  - */ - TemplateId: string | undefined; - - /** - *

                                                                                  A list of resource permissions to be set on the template.

                                                                                  + *

                                                                                  A description of the current template version being created. This API operation creates the + * first version of the template. Every time UpdateTemplate is called, a new + * version is created. Each version of the template maintains a description of the version + * in the VersionDescription field.

                                                                                  */ - Permissions?: ResourcePermission[]; + VersionDescription?: string; } export namespace CreateTemplateRequest { @@ -3390,35 +3449,35 @@ export namespace CreateTemplateRequest { export interface CreateTemplateResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The ARN for the template.

                                                                                  */ - RequestId?: string; + Arn?: string; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The ARN for the template, including the version information of + * the first version.

                                                                                  */ - Status?: number; + VersionArn?: string; /** - *

                                                                                  The template creation status.

                                                                                  + *

                                                                                  The ID of the template.

                                                                                  */ - CreationStatus?: ResourceStatus | string; + TemplateId?: string; /** - *

                                                                                  The ARN for the template, including the version information of - * the first version.

                                                                                  + *

                                                                                  The template creation status.

                                                                                  */ - VersionArn?: string; + CreationStatus?: ResourceStatus | string; /** - *

                                                                                  The ID of the template.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - TemplateId?: string; + Status?: number; /** - *

                                                                                  The ARN for the template.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Arn?: string; + RequestId?: string; } export namespace CreateTemplateResponse { @@ -3434,9 +3493,9 @@ export interface CreateTemplateAliasRequest { AwsAccountId: string | undefined; /** - *

                                                                                  The version number of the template.

                                                                                  + *

                                                                                  An ID for the template.

                                                                                  */ - TemplateVersionNumber: number | undefined; + TemplateId: string | undefined; /** *

                                                                                  The name that you want to give to the template alias that you're creating. Don't start the @@ -3446,9 +3505,9 @@ export interface CreateTemplateAliasRequest { AliasName: string | undefined; /** - *

                                                                                  An ID for the template.

                                                                                  + *

                                                                                  The version number of the template.

                                                                                  */ - TemplateId: string | undefined; + TemplateVersionNumber: number | undefined; } export namespace CreateTemplateAliasRequest { @@ -3462,9 +3521,9 @@ export namespace CreateTemplateAliasRequest { */ export interface TemplateAlias { /** - *

                                                                                  The version number of the template alias.

                                                                                  + *

                                                                                  The display name of the template alias.

                                                                                  */ - TemplateVersionNumber?: number; + AliasName?: string; /** *

                                                                                  The Amazon Resource Name (ARN) of the template alias.

                                                                                  @@ -3472,9 +3531,9 @@ export interface TemplateAlias { Arn?: string; /** - *

                                                                                  The display name of the template alias.

                                                                                  + *

                                                                                  The version number of the template alias.

                                                                                  */ - AliasName?: string; + TemplateVersionNumber?: number; } export namespace TemplateAlias { @@ -3484,6 +3543,11 @@ export namespace TemplateAlias { } export interface CreateTemplateAliasResponse { + /** + *

                                                                                  Information about the template alias.

                                                                                  + */ + TemplateAlias?: TemplateAlias; + /** *

                                                                                  The HTTP status of the request.

                                                                                  */ @@ -3493,11 +3557,6 @@ export interface CreateTemplateAliasResponse { *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; - - /** - *

                                                                                  Information about the template alias.

                                                                                  - */ - TemplateAlias?: TemplateAlias; } export namespace CreateTemplateAliasResponse { @@ -3513,14 +3572,14 @@ export namespace CreateTemplateAliasResponse { */ export interface DataColorPalette { /** - *

                                                                                  The minimum and maximum hexadecimal codes that describe a color gradient.

                                                                                  + *

                                                                                  The hexadecimal codes for the colors.

                                                                                  */ - MinMaxGradient?: string[]; + Colors?: string[]; /** - *

                                                                                  The hexadecimal codes for the colors.

                                                                                  + *

                                                                                  The minimum and maximum hexadecimal codes that describe a color gradient.

                                                                                  */ - Colors?: string[]; + MinMaxGradient?: string[]; /** *

                                                                                  The hexadecimal code of a color that applies to charts where a lack of data is @@ -3635,84 +3694,83 @@ export namespace SheetStyle { */ export interface UIColorPalette { /** - *

                                                                                  The color that applies to error messages.

                                                                                  + *

                                                                                  The color of text and other foreground elements that appear over the primary + * background regions, such as grid lines, borders, table banding, icons, and so on.

                                                                                  */ - Danger?: string; + PrimaryForeground?: string; /** - *

                                                                                  The color that applies to success messages, for example the check mark for a - * successful download.

                                                                                  + *

                                                                                  The background color that applies to visuals and other high emphasis UI.

                                                                                  */ - Success?: string; + PrimaryBackground?: string; /** - *

                                                                                  The foreground color that applies to any text or other elements that appear over the - * warning color.

                                                                                  + *

                                                                                  The foreground color that applies to any sheet title, sheet control text, or UI that + * appears over the secondary background.

                                                                                  */ - WarningForeground?: string; + SecondaryForeground?: string; /** - *

                                                                                  The color that applies to the names of fields that are identified as - * dimensions.

                                                                                  + *

                                                                                  The background color that applies to the sheet background and sheet controls.

                                                                                  */ - Dimension?: string; + SecondaryBackground?: string; /** - *

                                                                                  The foreground color that applies to any text or other elements that appear over the - * error color.

                                                                                  + *

                                                                                  This color is that applies to selected states and buttons.

                                                                                  */ - DangerForeground?: string; + Accent?: string; /** - *

                                                                                  This color is that applies to selected states and buttons.

                                                                                  + *

                                                                                  The foreground color that applies to any text or other elements that appear over the + * accent color.

                                                                                  */ - Accent?: string; + AccentForeground?: string; /** - *

                                                                                  This color that applies to warning and informational messages.

                                                                                  + *

                                                                                  The color that applies to error messages.

                                                                                  */ - Warning?: string; + Danger?: string; /** *

                                                                                  The foreground color that applies to any text or other elements that appear over the - * measure color.

                                                                                  + * error color.

                                                                                  */ - MeasureForeground?: string; + DangerForeground?: string; /** - *

                                                                                  The foreground color that applies to any text or other elements that appear over the - * success color.

                                                                                  + *

                                                                                  This color that applies to warning and informational messages.

                                                                                  */ - SuccessForeground?: string; + Warning?: string; /** *

                                                                                  The foreground color that applies to any text or other elements that appear over the - * accent color.

                                                                                  + * warning color.

                                                                                  */ - AccentForeground?: string; + WarningForeground?: string; /** - *

                                                                                  The foreground color that applies to any text or other elements that appear over the - * dimension color.

                                                                                  + *

                                                                                  The color that applies to success messages, for example the check mark for a + * successful download.

                                                                                  */ - DimensionForeground?: string; + Success?: string; /** - *

                                                                                  The foreground color that applies to any sheet title, sheet control text, or UI that - * appears over the secondary background.

                                                                                  + *

                                                                                  The foreground color that applies to any text or other elements that appear over the + * success color.

                                                                                  */ - SecondaryForeground?: string; + SuccessForeground?: string; /** - *

                                                                                  The color of text and other foreground elements that appear over the primary - * background regions, such as grid lines, borders, table banding, icons, and so on.

                                                                                  + *

                                                                                  The color that applies to the names of fields that are identified as + * dimensions.

                                                                                  */ - PrimaryForeground?: string; + Dimension?: string; /** - *

                                                                                  The background color that applies to the sheet background and sheet controls.

                                                                                  + *

                                                                                  The foreground color that applies to any text or other elements that appear over the + * dimension color.

                                                                                  */ - SecondaryBackground?: string; + DimensionForeground?: string; /** *

                                                                                  The color that applies to the names of fields that are identified as measures.

                                                                                  @@ -3720,9 +3778,10 @@ export interface UIColorPalette { Measure?: string; /** - *

                                                                                  The background color that applies to visuals and other high emphasis UI.

                                                                                  + *

                                                                                  The foreground color that applies to any text or other elements that appear over the + * measure color.

                                                                                  */ - PrimaryBackground?: string; + MeasureForeground?: string; } export namespace UIColorPalette { @@ -3737,15 +3796,15 @@ export namespace UIColorPalette { */ export interface ThemeConfiguration { /** - *

                                                                                  Color properties that apply to the UI and to charts, excluding the colors that apply - * to data.

                                                                                  + *

                                                                                  Color properties that apply to chart data colors.

                                                                                  */ - UIColorPalette?: UIColorPalette; + DataColorPalette?: DataColorPalette; /** - *

                                                                                  Color properties that apply to chart data colors.

                                                                                  + *

                                                                                  Color properties that apply to the UI and to charts, excluding the colors that apply + * to data.

                                                                                  */ - DataColorPalette?: DataColorPalette; + UIColorPalette?: UIColorPalette; /** *

                                                                                  Display options related to sheets.

                                                                                  @@ -3760,12 +3819,30 @@ export namespace ThemeConfiguration { } export interface CreateThemeRequest { + /** + *

                                                                                  The ID of the AWS account where you want to store the new theme.

                                                                                  + */ + AwsAccountId: string | undefined; + /** *

                                                                                  An ID for the theme that you want to create. The theme ID is unique per AWS Region in * each AWS account.

                                                                                  */ ThemeId: string | undefined; + /** + *

                                                                                  A display name for the theme.

                                                                                  + */ + Name: string | undefined; + + /** + *

                                                                                  The ID of the theme that a custom theme will inherit from. All themes inherit from one of + * the starting themes defined by Amazon QuickSight. For a list of the starting themes, use + * ListThemes or choose Themes from + * within a QuickSight analysis.

                                                                                  + */ + BaseThemeId: string | undefined; + /** *

                                                                                  A description of the first version of the theme that you're creating. Every time * UpdateTheme is called, a new version is created. Each version of the @@ -3779,35 +3856,17 @@ export interface CreateThemeRequest { */ Configuration: ThemeConfiguration | undefined; - /** - *

                                                                                  The ID of the theme that a custom theme will inherit from. All themes inherit from one of - * the starting themes defined by Amazon QuickSight. For a list of the starting themes, use - * ListThemes or choose Themes from - * within a QuickSight analysis.

                                                                                  - */ - BaseThemeId: string | undefined; - /** *

                                                                                  A valid grouping of resource permissions to apply to the new theme. *

                                                                                  */ Permissions?: ResourcePermission[]; - /** - *

                                                                                  The ID of the AWS account where you want to store the new theme.

                                                                                  - */ - AwsAccountId: string | undefined; - /** *

                                                                                  A map of the key-value pairs for the resource tag or tags that you want to add to the * resource.

                                                                                  */ Tags?: Tag[]; - - /** - *

                                                                                  A display name for the theme.

                                                                                  - */ - Name: string | undefined; } export namespace CreateThemeRequest { @@ -3818,9 +3877,14 @@ export namespace CreateThemeRequest { export interface CreateThemeResponse { /** - *

                                                                                  The theme creation status.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) for the theme.

                                                                                  */ - CreationStatus?: ResourceStatus | string; + Arn?: string; + + /** + *

                                                                                  The Amazon Resource Name (ARN) for the new theme.

                                                                                  + */ + VersionArn?: string; /** *

                                                                                  The ID of the theme.

                                                                                  @@ -3828,24 +3892,19 @@ export interface CreateThemeResponse { ThemeId?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) for the theme.

                                                                                  + *

                                                                                  The theme creation status.

                                                                                  */ - Arn?: string; + CreationStatus?: ResourceStatus | string; /** - *

                                                                                  The Amazon Resource Name (ARN) for the new theme.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - VersionArn?: string; + Status?: number; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; - - /** - *

                                                                                  The HTTP status of the request.

                                                                                  - */ - Status?: number; } export namespace CreateThemeResponse { @@ -3855,6 +3914,11 @@ export namespace CreateThemeResponse { } export interface CreateThemeAliasRequest { + /** + *

                                                                                  The ID of the AWS account that contains the theme for the new theme alias.

                                                                                  + */ + AwsAccountId: string | undefined; + /** *

                                                                                  An ID for the theme alias.

                                                                                  */ @@ -3867,11 +3931,6 @@ export interface CreateThemeAliasRequest { */ AliasName: string | undefined; - /** - *

                                                                                  The ID of the AWS account that contains the theme for the new theme alias.

                                                                                  - */ - AwsAccountId: string | undefined; - /** *

                                                                                  The version number of the theme.

                                                                                  */ @@ -3889,14 +3948,14 @@ export namespace CreateThemeAliasRequest { */ export interface ThemeAlias { /** - *

                                                                                  The display name of the theme alias.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the theme alias.

                                                                                  */ - AliasName?: string; + Arn?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the theme alias.

                                                                                  + *

                                                                                  The display name of the theme alias.

                                                                                  */ - Arn?: string; + AliasName?: string; /** *

                                                                                  The version number of the theme alias.

                                                                                  @@ -3912,9 +3971,9 @@ export namespace ThemeAlias { export interface CreateThemeAliasResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  Information about the theme alias.

                                                                                  */ - RequestId?: string; + ThemeAlias?: ThemeAlias; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -3922,9 +3981,9 @@ export interface CreateThemeAliasResponse { Status?: number; /** - *

                                                                                  Information about the theme alias.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - ThemeAlias?: ThemeAlias; + RequestId?: string; } export namespace CreateThemeAliasResponse { @@ -3972,29 +4031,29 @@ export namespace DashboardError { */ export interface DashboardVersion { /** - *

                                                                                  A list of the associated sheets with the unique identifier and name of each sheet.

                                                                                  + *

                                                                                  The time that this dashboard version was created.

                                                                                  */ - Sheets?: Sheet[]; + CreatedTime?: Date; /** - *

                                                                                  Version number for this version of the dashboard.

                                                                                  + *

                                                                                  Errors associated with this dashboard version.

                                                                                  */ - VersionNumber?: number; + Errors?: DashboardError[]; /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + *

                                                                                  Version number for this version of the dashboard.

                                                                                  */ - Arn?: string; + VersionNumber?: number; /** - *

                                                                                  Description.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - Description?: string; + Status?: ResourceStatus | string; /** - *

                                                                                  The time that this dashboard version was created.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  */ - CreatedTime?: Date; + Arn?: string; /** *

                                                                                  Source entity ARN.

                                                                                  @@ -4002,25 +4061,25 @@ export interface DashboardVersion { SourceEntityArn?: string; /** - *

                                                                                  Errors associated with this dashboard version.

                                                                                  + *

                                                                                  The Amazon Resource Numbers (ARNs) for the datasets that are associated with this + * version of the dashboard.

                                                                                  */ - Errors?: DashboardError[]; + DataSetArns?: string[]; /** - *

                                                                                  The ARN of the theme associated with a version of the dashboard.

                                                                                  + *

                                                                                  Description.

                                                                                  */ - ThemeArn?: string; + Description?: string; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The ARN of the theme associated with a version of the dashboard.

                                                                                  */ - Status?: ResourceStatus | string; + ThemeArn?: string; /** - *

                                                                                  The Amazon Resource Numbers (ARNs) for the datasets that are associated with this - * version of the dashboard.

                                                                                  + *

                                                                                  A list of the associated sheets with the unique identifier and name of each sheet.

                                                                                  */ - DataSetArns?: string[]; + Sheets?: Sheet[]; } export namespace DashboardVersion { @@ -4034,19 +4093,19 @@ export namespace DashboardVersion { */ export interface Dashboard { /** - *

                                                                                  The time that this dataset was created.

                                                                                  + *

                                                                                  Dashboard ID.

                                                                                  */ - CreatedTime?: Date; + DashboardId?: string; /** - *

                                                                                  Dashboard ID.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  */ - DashboardId?: string; + Arn?: string; /** - *

                                                                                  The last time that this dataset was published.

                                                                                  + *

                                                                                  A display name for the dashboard.

                                                                                  */ - LastPublishedTime?: Date; + Name?: string; /** *

                                                                                  Version.

                                                                                  @@ -4054,19 +4113,19 @@ export interface Dashboard { Version?: DashboardVersion; /** - *

                                                                                  A display name for the dashboard.

                                                                                  + *

                                                                                  The time that this dataset was created.

                                                                                  */ - Name?: string; + CreatedTime?: Date; /** - *

                                                                                  The last time that this dataset was updated.

                                                                                  + *

                                                                                  The last time that this dataset was published.

                                                                                  */ - LastUpdatedTime?: Date; + LastPublishedTime?: Date; /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + *

                                                                                  The last time that this dataset was updated.

                                                                                  */ - Arn?: string; + LastUpdatedTime?: Date; } export namespace Dashboard { @@ -4089,18 +4148,18 @@ export interface DashboardSearchFilter { */ Operator: FilterOperator | string | undefined; + /** + *

                                                                                  The name of the value that you want to use as a filter, for example, "Name": + * "QUICKSIGHT_USER".

                                                                                  + */ + Name?: DashboardFilterAttribute | string; + /** *

                                                                                  The value of the named item, in this case QUICKSIGHT_USER, that you want * to use as a filter, for example, "Value": * "arn:aws:quicksight:us-east-1:1:user/default/UserName1".

                                                                                  */ Value?: string; - - /** - *

                                                                                  The name of the value that you want to use as a filter, for example, "Name": - * "QUICKSIGHT_USER".

                                                                                  - */ - Name?: DashboardFilterAttribute | string; } export namespace DashboardSearchFilter { @@ -4114,19 +4173,9 @@ export namespace DashboardSearchFilter { */ export interface DashboardSummary { /** - *

                                                                                  Published version number.

                                                                                  - */ - PublishedVersionNumber?: number; - - /** - *

                                                                                  The time that this dashboard was created.

                                                                                  - */ - CreatedTime?: Date; - - /** - *

                                                                                  The last time that this dashboard was published.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  */ - LastPublishedTime?: Date; + Arn?: string; /** *

                                                                                  Dashboard ID.

                                                                                  @@ -4138,15 +4187,25 @@ export interface DashboardSummary { */ Name?: string; + /** + *

                                                                                  The time that this dashboard was created.

                                                                                  + */ + CreatedTime?: Date; + /** *

                                                                                  The last time that this dashboard was updated.

                                                                                  */ LastUpdatedTime?: Date; /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + *

                                                                                  Published version number.

                                                                                  */ - Arn?: string; + PublishedVersionNumber?: number; + + /** + *

                                                                                  The last time that this dashboard was published.

                                                                                  + */ + LastPublishedTime?: Date; } export namespace DashboardSummary { @@ -4160,14 +4219,14 @@ export namespace DashboardSummary { */ export interface DashboardVersionSummary { /** - *

                                                                                  Source entity ARN.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  */ - SourceEntityArn?: string; + Arn?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + *

                                                                                  The time that this dashboard version was created.

                                                                                  */ - Arn?: string; + CreatedTime?: Date; /** *

                                                                                  Version number.

                                                                                  @@ -4180,14 +4239,14 @@ export interface DashboardVersionSummary { Status?: ResourceStatus | string; /** - *

                                                                                  Description.

                                                                                  + *

                                                                                  Source entity ARN.

                                                                                  */ - Description?: string; + SourceEntityArn?: string; /** - *

                                                                                  The time that this dashboard version was created.

                                                                                  + *

                                                                                  Description.

                                                                                  */ - CreatedTime?: Date; + Description?: string; } export namespace DashboardVersionSummary { @@ -4227,68 +4286,75 @@ export namespace OutputColumn { */ export interface DataSet { /** - *

                                                                                  A display name for the dataset.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  */ - Name?: string; + Arn?: string; /** - *

                                                                                  The list of columns after all transforms. These columns are available in templates, - * analyses, and dashboards.

                                                                                  + *

                                                                                  The ID of the dataset.

                                                                                  */ - OutputColumns?: OutputColumn[]; + DataSetId?: string; /** - *

                                                                                  Configures the combination and transformation of the data from the physical - * tables.

                                                                                  + *

                                                                                  A display name for the dataset.

                                                                                  */ - LogicalTableMap?: { [key: string]: LogicalTable }; + Name?: string; /** - *

                                                                                  The row-level security configuration for the dataset.

                                                                                  + *

                                                                                  The time that this dataset was created.

                                                                                  */ - RowLevelPermissionDataSet?: RowLevelPermissionDataSet; + CreatedTime?: Date; /** - *

                                                                                  The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't - * imported into SPICE.

                                                                                  + *

                                                                                  The last time that this dataset was updated.

                                                                                  */ - ConsumedSpiceCapacityInBytes?: number; + LastUpdatedTime?: Date; /** - *

                                                                                  Indicates whether you want to import the data into SPICE.

                                                                                  + *

                                                                                  Declares the physical tables that are available in the underlying data sources.

                                                                                  */ - ImportMode?: DataSetImportMode | string; + PhysicalTableMap?: { [key: string]: PhysicalTable }; /** - *

                                                                                  Groupings of columns that work together in certain Amazon QuickSight features. - * Currently, only geospatial hierarchy is supported.

                                                                                  + *

                                                                                  Configures the combination and transformation of the data from the physical + * tables.

                                                                                  */ - ColumnGroups?: ColumnGroup[]; + LogicalTableMap?: { [key: string]: LogicalTable }; /** - *

                                                                                  The time that this dataset was created.

                                                                                  + *

                                                                                  The list of columns after all transforms. These columns are available in templates, + * analyses, and dashboards.

                                                                                  */ - CreatedTime?: Date; + OutputColumns?: OutputColumn[]; /** - *

                                                                                  Declares the physical tables that are available in the underlying data sources.

                                                                                  + *

                                                                                  Indicates whether you want to import the data into SPICE.

                                                                                  */ - PhysicalTableMap?: { [key: string]: PhysicalTable }; + ImportMode?: DataSetImportMode | string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + *

                                                                                  The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't + * imported into SPICE.

                                                                                  */ - Arn?: string; + ConsumedSpiceCapacityInBytes?: number; /** - *

                                                                                  The ID of the dataset.

                                                                                  + *

                                                                                  Groupings of columns that work together in certain Amazon QuickSight features. + * Currently, only geospatial hierarchy is supported.

                                                                                  */ - DataSetId?: string; + ColumnGroups?: ColumnGroup[]; /** - *

                                                                                  The last time that this dataset was updated.

                                                                                  + *

                                                                                  The row-level security configuration for the dataset.

                                                                                  */ - LastUpdatedTime?: Date; + RowLevelPermissionDataSet?: RowLevelPermissionDataSet; + + /** + *

                                                                                  A set of one or more definitions of a + * ColumnLevelPermissionRule + * .

                                                                                  + */ + ColumnLevelPermissionRules?: ColumnLevelPermissionRule[]; } export namespace DataSet { @@ -4343,40 +4409,46 @@ export namespace DataSetConfiguration { *

                                                                                  Dataset summary.

                                                                                  */ export interface DataSetSummary { - /** - *

                                                                                  The time that this dataset was created.

                                                                                  - */ - CreatedTime?: Date; - - /** - *

                                                                                  Indicates whether you want to import the data into SPICE.

                                                                                  - */ - ImportMode?: DataSetImportMode | string; - /** *

                                                                                  The Amazon Resource Name (ARN) of the dataset.

                                                                                  */ Arn?: string; /** - *

                                                                                  The row-level security configuration for the dataset.

                                                                                  + *

                                                                                  The ID of the dataset.

                                                                                  */ - RowLevelPermissionDataSet?: RowLevelPermissionDataSet; + DataSetId?: string; /** *

                                                                                  A display name for the dataset.

                                                                                  */ Name?: string; + /** + *

                                                                                  The time that this dataset was created.

                                                                                  + */ + CreatedTime?: Date; + /** *

                                                                                  The last time that this dataset was updated.

                                                                                  */ LastUpdatedTime?: Date; /** - *

                                                                                  The ID of the dataset.

                                                                                  + *

                                                                                  Indicates whether you want to import the data into SPICE.

                                                                                  */ - DataSetId?: string; + ImportMode?: DataSetImportMode | string; + + /** + *

                                                                                  The row-level security configuration for the dataset.

                                                                                  + */ + RowLevelPermissionDataSet?: RowLevelPermissionDataSet; + + /** + *

                                                                                  Indicates if the dataset has column level permission + * configured.

                                                                                  + */ + ColumnLevelPermissionRulesApplied?: boolean; } export namespace DataSetSummary { @@ -4421,56 +4493,42 @@ export namespace DataSourceErrorInfo { *

                                                                                  The structure of a data source.

                                                                                  */ export interface DataSource { - /** - *

                                                                                  Secure Socket Layer (SSL) properties that apply when QuickSight connects to your - * underlying source.

                                                                                  - */ - SslProperties?: SslProperties; - /** *

                                                                                  The Amazon Resource Name (ARN) of the data source.

                                                                                  */ Arn?: string; /** - *

                                                                                  A set of alternate data source parameters that you want to share for the credentials - * stored with this data source. The credentials are applied in tandem with the data source - * parameters when you copy a data source by using a create or update request. The API - * operation compares the DataSourceParameters structure that's in the request - * with the structures in the AlternateDataSourceParameters allow list. If the - * structures are an exact match, the request is allowed to use the credentials from this - * existing data source. If the AlternateDataSourceParameters list is null, - * the Credentials originally used with this DataSourceParameters - * are automatically allowed.

                                                                                  + *

                                                                                  The ID of the data source. This ID is unique per AWS Region for each AWS + * account.

                                                                                  */ - AlternateDataSourceParameters?: DataSourceParameters[]; + DataSourceId?: string; /** - *

                                                                                  The VPC connection information. You need to use this parameter only when you want - * QuickSight to use a VPC connection when connecting to your underlying source.

                                                                                  + *

                                                                                  A display name for the data source.

                                                                                  */ - VpcConnectionProperties?: VpcConnectionProperties; + Name?: string; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The type of the data source. This type indicates which database engine the data source + * connects to.

                                                                                  */ - Status?: ResourceStatus | string; + Type?: DataSourceType | string; /** - *

                                                                                  Error information from the last update or the creation of the data source.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - ErrorInfo?: DataSourceErrorInfo; + Status?: ResourceStatus | string; /** - *

                                                                                  A display name for the data source.

                                                                                  + *

                                                                                  The time that this data source was created.

                                                                                  */ - Name?: string; + CreatedTime?: Date; /** - *

                                                                                  The type of the data source. This type indicates which database engine the data source - * connects to.

                                                                                  + *

                                                                                  The last time that this data source was updated.

                                                                                  */ - Type?: DataSourceType | string; + LastUpdatedTime?: Date; /** *

                                                                                  The parameters that Amazon QuickSight uses to connect to your underlying source. This @@ -4480,20 +4538,34 @@ export interface DataSource { DataSourceParameters?: DataSourceParameters; /** - *

                                                                                  The time that this data source was created.

                                                                                  + *

                                                                                  A set of alternate data source parameters that you want to share for the credentials + * stored with this data source. The credentials are applied in tandem with the data source + * parameters when you copy a data source by using a create or update request. The API + * operation compares the DataSourceParameters structure that's in the request + * with the structures in the AlternateDataSourceParameters allow list. If the + * structures are an exact match, the request is allowed to use the credentials from this + * existing data source. If the AlternateDataSourceParameters list is null, + * the Credentials originally used with this DataSourceParameters + * are automatically allowed.

                                                                                  */ - CreatedTime?: Date; + AlternateDataSourceParameters?: DataSourceParameters[]; /** - *

                                                                                  The ID of the data source. This ID is unique per AWS Region for each AWS - * account.

                                                                                  + *

                                                                                  The VPC connection information. You need to use this parameter only when you want + * QuickSight to use a VPC connection when connecting to your underlying source.

                                                                                  */ - DataSourceId?: string; + VpcConnectionProperties?: VpcConnectionProperties; /** - *

                                                                                  The last time that this data source was updated.

                                                                                  + *

                                                                                  Secure Socket Layer (SSL) properties that apply when QuickSight connects to your + * underlying source.

                                                                                  */ - LastUpdatedTime?: Date; + SslProperties?: SslProperties; + + /** + *

                                                                                  Error information from the last update or the creation of the data source.

                                                                                  + */ + ErrorInfo?: DataSourceErrorInfo; } export namespace DataSource { @@ -4503,16 +4575,16 @@ export namespace DataSource { } export interface DeleteAccountCustomizationRequest { - /** - *

                                                                                  The QuickSight namespace that you're deleting the customizations from.

                                                                                  - */ - Namespace?: string; - /** *

                                                                                  The ID for the AWS account that you want to delete QuickSight customizations from in * this AWS Region.

                                                                                  */ AwsAccountId: string | undefined; + + /** + *

                                                                                  The QuickSight namespace that you're deleting the customizations from.

                                                                                  + */ + Namespace?: string; } export namespace DeleteAccountCustomizationRequest { @@ -4523,14 +4595,14 @@ export namespace DeleteAccountCustomizationRequest { export interface DeleteAccountCustomizationResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Status?: number; + RequestId?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - RequestId?: string; + Status?: number; } export namespace DeleteAccountCustomizationResponse { @@ -4550,19 +4622,19 @@ export interface DeleteAnalysisRequest { */ AnalysisId: string | undefined; - /** - *

                                                                                  This option defaults to the value NoForceDeleteWithoutRecovery. To - * immediately delete the analysis, add the ForceDeleteWithoutRecovery option. - * You can't restore an analysis after it's deleted.

                                                                                  - */ - ForceDeleteWithoutRecovery?: boolean; - /** *

                                                                                  A value that specifies the number of days that QuickSight waits before it deletes the * analysis. You can't use this parameter with the ForceDeleteWithoutRecovery * option in the same API call. The default value is 30.

                                                                                  */ RecoveryWindowInDays?: number; + + /** + *

                                                                                  This option defaults to the value NoForceDeleteWithoutRecovery. To + * immediately delete the analysis, add the ForceDeleteWithoutRecovery option. + * You can't restore an analysis after it's deleted.

                                                                                  + */ + ForceDeleteWithoutRecovery?: boolean; } export namespace DeleteAnalysisRequest { @@ -4573,24 +4645,24 @@ export namespace DeleteAnalysisRequest { export interface DeleteAnalysisResponse { /** - *

                                                                                  The ID of the deleted analysis.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - AnalysisId?: string; + Status?: number; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the deleted analysis.

                                                                                  */ - Status?: number; + Arn?: string; /** - *

                                                                                  The date and time that the analysis is scheduled to be deleted.

                                                                                  + *

                                                                                  The ID of the deleted analysis.

                                                                                  */ - DeletionTime?: Date; + AnalysisId?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the deleted analysis.

                                                                                  + *

                                                                                  The date and time that the analysis is scheduled to be deleted.

                                                                                  */ - Arn?: string; + DeletionTime?: Date; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  @@ -4605,6 +4677,12 @@ export namespace DeleteAnalysisResponse { } export interface DeleteDashboardRequest { + /** + *

                                                                                  The ID of the AWS account that contains the dashboard that you're + * deleting.

                                                                                  + */ + AwsAccountId: string | undefined; + /** *

                                                                                  The ID for the dashboard.

                                                                                  */ @@ -4615,12 +4693,6 @@ export interface DeleteDashboardRequest { * the specified version of the dashboard is deleted.

                                                                                  */ VersionNumber?: number; - - /** - *

                                                                                  The ID of the AWS account that contains the dashboard that you're - * deleting.

                                                                                  - */ - AwsAccountId: string | undefined; } export namespace DeleteDashboardRequest { @@ -4636,9 +4708,9 @@ export interface DeleteDashboardResponse { Status?: number; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The Secure Socket Layer (SSL) properties that apply for the resource.

                                                                                  */ - RequestId?: string; + Arn?: string; /** *

                                                                                  The ID of the dashboard.

                                                                                  @@ -4646,9 +4718,9 @@ export interface DeleteDashboardResponse { DashboardId?: string; /** - *

                                                                                  The Secure Socket Layer (SSL) properties that apply for the resource.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Arn?: string; + RequestId?: string; } export namespace DeleteDashboardResponse { @@ -4676,6 +4748,11 @@ export namespace DeleteDataSetRequest { } export interface DeleteDataSetResponse { + /** + *

                                                                                  The Amazon Resource Name (ARN) of the dataset.

                                                                                  + */ + Arn?: string; + /** *

                                                                                  The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  */ @@ -4690,11 +4767,6 @@ export interface DeleteDataSetResponse { *

                                                                                  The HTTP status of the request.

                                                                                  */ Status?: number; - - /** - *

                                                                                  The Amazon Resource Name (ARN) of the dataset.

                                                                                  - */ - Arn?: string; } export namespace DeleteDataSetResponse { @@ -4723,14 +4795,14 @@ export namespace DeleteDataSourceRequest { export interface DeleteDataSourceResponse { /** - *

                                                                                  The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the data source that you deleted.

                                                                                  */ - DataSourceId?: string; + Arn?: string; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                  */ - Status?: number; + DataSourceId?: string; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  @@ -4738,9 +4810,9 @@ export interface DeleteDataSourceResponse { RequestId?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the data source that you deleted.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - Arn?: string; + Status?: number; } export namespace DeleteDataSourceResponse { @@ -4750,6 +4822,11 @@ export namespace DeleteDataSourceResponse { } export interface DeleteGroupRequest { + /** + *

                                                                                  The name of the group that you want to delete.

                                                                                  + */ + GroupName: string | undefined; + /** *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS * account that contains your Amazon QuickSight account.

                                                                                  @@ -4760,11 +4837,6 @@ export interface DeleteGroupRequest { *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  */ Namespace: string | undefined; - - /** - *

                                                                                  The name of the group that you want to delete.

                                                                                  - */ - GroupName: string | undefined; } export namespace DeleteGroupRequest { @@ -4793,25 +4865,25 @@ export namespace DeleteGroupResponse { export interface DeleteGroupMembershipRequest { /** - *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS - * account that contains your Amazon QuickSight account.

                                                                                  + *

                                                                                  The name of the user that you want to delete from the group membership.

                                                                                  */ - AwsAccountId: string | undefined; + MemberName: string | undefined; /** - *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  + *

                                                                                  The name of the group that you want to delete the user from.

                                                                                  */ - Namespace: string | undefined; + GroupName: string | undefined; /** - *

                                                                                  The name of the group that you want to delete the user from.

                                                                                  + *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS + * account that contains your Amazon QuickSight account.

                                                                                  */ - GroupName: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The name of the user that you want to delete from the group membership.

                                                                                  + *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  */ - MemberName: string | undefined; + Namespace: string | undefined; } export namespace DeleteGroupMembershipRequest { @@ -4822,14 +4894,14 @@ export namespace DeleteGroupMembershipRequest { export interface DeleteGroupMembershipResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Status?: number; + RequestId?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - RequestId?: string; + Status?: number; } export namespace DeleteGroupMembershipResponse { @@ -4862,11 +4934,6 @@ export namespace DeleteIAMPolicyAssignmentRequest { } export interface DeleteIAMPolicyAssignmentResponse { - /** - *

                                                                                  The HTTP status of the request.

                                                                                  - */ - Status?: number; - /** *

                                                                                  The name of the assignment.

                                                                                  */ @@ -4876,6 +4943,11 @@ export interface DeleteIAMPolicyAssignmentResponse { *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; + + /** + *

                                                                                  The HTTP status of the request.

                                                                                  + */ + Status?: number; } export namespace DeleteIAMPolicyAssignmentResponse { @@ -4904,14 +4976,14 @@ export namespace DeleteNamespaceRequest { export interface DeleteNamespaceResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Status?: number; + RequestId?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - RequestId?: string; + Status?: number; } export namespace DeleteNamespaceResponse { @@ -4947,24 +5019,24 @@ export namespace DeleteTemplateRequest { export interface DeleteTemplateResponse { /** - *

                                                                                  An ID for the template.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - TemplateId?: string; + RequestId?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  */ - RequestId?: string; + Arn?: string; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  An ID for the template.

                                                                                  */ - Status?: number; + TemplateId?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - Arn?: string; + Status?: number; } export namespace DeleteTemplateResponse { @@ -4975,14 +5047,14 @@ export namespace DeleteTemplateResponse { export interface DeleteTemplateAliasRequest { /** - *

                                                                                  The ID for the template that the specified alias is for.

                                                                                  + *

                                                                                  The ID of the AWS account that contains the item to delete.

                                                                                  */ - TemplateId: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The ID of the AWS account that contains the item to delete.

                                                                                  + *

                                                                                  The ID for the template that the specified alias is for.

                                                                                  */ - AwsAccountId: string | undefined; + TemplateId: string | undefined; /** *

                                                                                  The name for the template alias. To delete a specific alias, you delete the version that the @@ -5001,14 +5073,14 @@ export namespace DeleteTemplateAliasRequest { export interface DeleteTemplateAliasResponse { /** - *

                                                                                  An ID for the template associated with the deletion.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - TemplateId?: string; + Status?: number; /** - *

                                                                                  The Amazon Resource Name (ARN) of the template you want to delete.

                                                                                  + *

                                                                                  An ID for the template associated with the deletion.

                                                                                  */ - Arn?: string; + TemplateId?: string; /** *

                                                                                  The name for the template alias.

                                                                                  @@ -5016,14 +5088,14 @@ export interface DeleteTemplateAliasResponse { AliasName?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the template you want to delete.

                                                                                  */ - RequestId?: string; + Arn?: string; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Status?: number; + RequestId?: string; } export namespace DeleteTemplateAliasResponse { @@ -5032,14 +5104,11 @@ export namespace DeleteTemplateAliasResponse { }); } -export interface DeleteThemeRequest { - /** - *

                                                                                  The version of the theme that you want to delete.

                                                                                  - *

                                                                                  - * Note: If you don't provide a version number, you're - * using this call to DeleteTheme to delete all versions of the theme.

                                                                                  +export interface DeleteThemeRequest { + /** + *

                                                                                  The ID of the AWS account that contains the theme that you're deleting.

                                                                                  */ - VersionNumber?: number; + AwsAccountId: string | undefined; /** *

                                                                                  An ID for the theme that you want to delete.

                                                                                  @@ -5047,9 +5116,12 @@ export interface DeleteThemeRequest { ThemeId: string | undefined; /** - *

                                                                                  The ID of the AWS account that contains the theme that you're deleting.

                                                                                  + *

                                                                                  The version of the theme that you want to delete.

                                                                                  + *

                                                                                  + * Note: If you don't provide a version number, you're + * using this call to DeleteTheme to delete all versions of the theme.

                                                                                  */ - AwsAccountId: string | undefined; + VersionNumber?: number; } export namespace DeleteThemeRequest { @@ -5059,6 +5131,11 @@ export namespace DeleteThemeRequest { } export interface DeleteThemeResponse { + /** + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + */ + Arn?: string; + /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ @@ -5073,11 +5150,6 @@ export interface DeleteThemeResponse { *

                                                                                  An ID for the theme.

                                                                                  */ ThemeId?: string; - - /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  - */ - Arn?: string; } export namespace DeleteThemeResponse { @@ -5087,6 +5159,11 @@ export namespace DeleteThemeResponse { } export interface DeleteThemeAliasRequest { + /** + *

                                                                                  The ID of the AWS account that contains the theme alias to delete.

                                                                                  + */ + AwsAccountId: string | undefined; + /** *

                                                                                  The ID for the theme that the specified alias is for.

                                                                                  */ @@ -5096,11 +5173,6 @@ export interface DeleteThemeAliasRequest { *

                                                                                  The unique name for the theme alias to delete.

                                                                                  */ AliasName: string | undefined; - - /** - *

                                                                                  The ID of the AWS account that contains the theme alias to delete.

                                                                                  - */ - AwsAccountId: string | undefined; } export namespace DeleteThemeAliasRequest { @@ -5111,24 +5183,24 @@ export namespace DeleteThemeAliasRequest { export interface DeleteThemeAliasResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The name for the theme alias.

                                                                                  */ - Status?: number; + AliasName?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the theme resource using the deleted alias.

                                                                                  */ - RequestId?: string; + Arn?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the theme resource using the deleted alias.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Arn?: string; + RequestId?: string; /** - *

                                                                                  The name for the theme alias.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - AliasName?: string; + Status?: number; /** *

                                                                                  An ID for the theme associated with the deletion.

                                                                                  @@ -5188,11 +5260,6 @@ export namespace DeleteUserResponse { *

                                                                                  */ export interface DeleteUserByPrincipalIdRequest { - /** - *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  - */ - Namespace: string | undefined; - /** *

                                                                                  The principal ID of the user.

                                                                                  */ @@ -5203,6 +5270,11 @@ export interface DeleteUserByPrincipalIdRequest { * account that contains your Amazon QuickSight account.

                                                                                  */ AwsAccountId: string | undefined; + + /** + *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  + */ + Namespace: string | undefined; } export namespace DeleteUserByPrincipalIdRequest { @@ -5231,16 +5303,16 @@ export namespace DeleteUserByPrincipalIdResponse { export interface DescribeAccountCustomizationRequest { /** - *

                                                                                  The QuickSight namespace that you want to describe QuickSight customizations + *

                                                                                  The ID for the AWS account that you want to describe QuickSight customizations * for.

                                                                                  */ - Namespace?: string; + AwsAccountId: string | undefined; /** - *

                                                                                  The ID for the AWS account that you want to describe QuickSight customizations + *

                                                                                  The QuickSight namespace that you want to describe QuickSight customizations * for.

                                                                                  */ - AwsAccountId: string | undefined; + Namespace?: string; /** *

                                                                                  The Resolved flag works with the other parameters to determine which view @@ -5260,34 +5332,34 @@ export namespace DescribeAccountCustomizationRequest { export interface DescribeAccountCustomizationResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the customization that's associated with this AWS account.

                                                                                  */ - Status?: number; + Arn?: string; /** - *

                                                                                  The QuickSight customizations that exist in the current AWS Region.

                                                                                  + *

                                                                                  The ID for the AWS account that you're describing.

                                                                                  */ - AccountCustomization?: AccountCustomization; + AwsAccountId?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The QuickSight namespace that you're describing.

                                                                                  */ - RequestId?: string; + Namespace?: string; /** - *

                                                                                  The ID for the AWS account that you're describing.

                                                                                  + *

                                                                                  The QuickSight customizations that exist in the current AWS Region.

                                                                                  */ - AwsAccountId?: string; + AccountCustomization?: AccountCustomization; /** - *

                                                                                  The Amazon Resource Name (ARN) of the customization that's associated with this AWS account.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Arn?: string; + RequestId?: string; /** - *

                                                                                  The QuickSight namespace that you're describing.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - Namespace?: string; + Status?: number; } export namespace DescribeAccountCustomizationResponse { @@ -5310,11 +5382,6 @@ export namespace DescribeAccountSettingsRequest { } export interface DescribeAccountSettingsResponse { - /** - *

                                                                                  The HTTP status of the request.

                                                                                  - */ - Status?: number; - /** *

                                                                                  The QuickSight settings for this AWS account. This information includes the edition of Amazon * QuickSight that you subscribed to (Standard or Enterprise) and the notification email for the @@ -5329,6 +5396,11 @@ export interface DescribeAccountSettingsResponse { *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; + + /** + *

                                                                                  The HTTP status of the request.

                                                                                  + */ + Status?: number; } export namespace DescribeAccountSettingsResponse { @@ -5358,17 +5430,17 @@ export namespace DescribeAnalysisRequest { } export interface DescribeAnalysisResponse { - /** - *

                                                                                  The HTTP status of the request.

                                                                                  - */ - Status?: number; - /** *

                                                                                  A metadata structure that contains summary information for the analysis that you're * describing.

                                                                                  */ Analysis?: Analysis; + /** + *

                                                                                  The HTTP status of the request.

                                                                                  + */ + Status?: number; + /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ @@ -5382,17 +5454,17 @@ export namespace DescribeAnalysisResponse { } export interface DescribeAnalysisPermissionsRequest { - /** - *

                                                                                  The ID of the analysis whose permissions you're describing. The ID is part of the - * analysis URL.

                                                                                  - */ - AnalysisId: string | undefined; - /** *

                                                                                  The ID of the AWS account that contains the analysis whose permissions you're * describing. You must be using the AWS account that the analysis is in.

                                                                                  */ AwsAccountId: string | undefined; + + /** + *

                                                                                  The ID of the analysis whose permissions you're describing. The ID is part of the + * analysis URL.

                                                                                  + */ + AnalysisId: string | undefined; } export namespace DescribeAnalysisPermissionsRequest { @@ -5402,6 +5474,11 @@ export namespace DescribeAnalysisPermissionsRequest { } export interface DescribeAnalysisPermissionsResponse { + /** + *

                                                                                  The ID of the analysis whose permissions you're describing.

                                                                                  + */ + AnalysisId?: string; + /** *

                                                                                  The Amazon Resource Name (ARN) of the analysis whose permissions you're * describing.

                                                                                  @@ -5415,19 +5492,14 @@ export interface DescribeAnalysisPermissionsResponse { Permissions?: ResourcePermission[]; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  - */ - RequestId?: string; - - /** - *

                                                                                  The ID of the analysis whose permissions you're describing.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - AnalysisId?: string; + Status?: number; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Status?: number; + RequestId?: string; } export namespace DescribeAnalysisPermissionsResponse { @@ -5438,26 +5510,26 @@ export namespace DescribeAnalysisPermissionsResponse { export interface DescribeDashboardRequest { /** - *

                                                                                  The alias name.

                                                                                  + *

                                                                                  The ID of the AWS account that contains the dashboard that you're + * describing.

                                                                                  */ - AliasName?: string; + AwsAccountId: string | undefined; /** - *

                                                                                  The version number for the dashboard. If a version number isn't passed, the - * latest published dashboard version is described.

                                                                                  + *

                                                                                  The ID for the dashboard.

                                                                                  */ - VersionNumber?: number; + DashboardId: string | undefined; /** - *

                                                                                  The ID for the dashboard.

                                                                                  + *

                                                                                  The version number for the dashboard. If a version number isn't passed, the + * latest published dashboard version is described.

                                                                                  */ - DashboardId: string | undefined; + VersionNumber?: number; /** - *

                                                                                  The ID of the AWS account that contains the dashboard that you're - * describing.

                                                                                  + *

                                                                                  The alias name.

                                                                                  */ - AwsAccountId: string | undefined; + AliasName?: string; } export namespace DescribeDashboardRequest { @@ -5467,6 +5539,11 @@ export namespace DescribeDashboardRequest { } export interface DescribeDashboardResponse { + /** + *

                                                                                  Information about the dashboard.

                                                                                  + */ + Dashboard?: Dashboard; + /** *

                                                                                  The HTTP status of this request.

                                                                                  */ @@ -5476,11 +5553,6 @@ export interface DescribeDashboardResponse { *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; - - /** - *

                                                                                  Information about the dashboard.

                                                                                  - */ - Dashboard?: Dashboard; } export namespace DescribeDashboardResponse { @@ -5510,9 +5582,9 @@ export namespace DescribeDashboardPermissionsRequest { export interface DescribeDashboardPermissionsResponse { /** - *

                                                                                  A structure that contains the permissions for the dashboard.

                                                                                  + *

                                                                                  The ID for the dashboard.

                                                                                  */ - Permissions?: ResourcePermission[]; + DashboardId?: string; /** *

                                                                                  The Amazon Resource Name (ARN) of the dashboard.

                                                                                  @@ -5520,19 +5592,19 @@ export interface DescribeDashboardPermissionsResponse { DashboardArn?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  A structure that contains the permissions for the dashboard.

                                                                                  */ - RequestId?: string; + Permissions?: ResourcePermission[]; /** - *

                                                                                  The ID for the dashboard.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - DashboardId?: string; + Status?: number; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Status?: number; + RequestId?: string; } export namespace DescribeDashboardPermissionsResponse { @@ -5543,14 +5615,14 @@ export namespace DescribeDashboardPermissionsResponse { export interface DescribeDataSetRequest { /** - *

                                                                                  The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  + *

                                                                                  The AWS account ID.

                                                                                  */ - DataSetId: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The AWS account ID.

                                                                                  + *

                                                                                  The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  */ - AwsAccountId: string | undefined; + DataSetId: string | undefined; } export namespace DescribeDataSetRequest { @@ -5561,14 +5633,14 @@ export namespace DescribeDataSetRequest { export interface DescribeDataSetResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  Information on the dataset.

                                                                                  */ - RequestId?: string; + DataSet?: DataSet; /** - *

                                                                                  Information on the dataset.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - DataSet?: DataSet; + RequestId?: string; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -5584,14 +5656,14 @@ export namespace DescribeDataSetResponse { export interface DescribeDataSetPermissionsRequest { /** - *

                                                                                  The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  + *

                                                                                  The AWS account ID.

                                                                                  */ - DataSetId: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The AWS account ID.

                                                                                  + *

                                                                                  The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  */ - AwsAccountId: string | undefined; + DataSetId: string | undefined; } export namespace DescribeDataSetPermissionsRequest { @@ -5602,29 +5674,29 @@ export namespace DescribeDataSetPermissionsRequest { export interface DescribeDataSetPermissionsResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the dataset.

                                                                                  */ - Status?: number; + DataSetArn?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  */ - RequestId?: string; + DataSetId?: string; /** - *

                                                                                  The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                  + *

                                                                                  A list of resource permissions on the dataset.

                                                                                  */ - DataSetId?: string; + Permissions?: ResourcePermission[]; /** - *

                                                                                  The Amazon Resource Name (ARN) of the dataset.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - DataSetArn?: string; + RequestId?: string; /** - *

                                                                                  A list of resource permissions on the dataset.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - Permissions?: ResourcePermission[]; + Status?: number; } export namespace DescribeDataSetPermissionsResponse { @@ -5653,9 +5725,9 @@ export namespace DescribeDataSourceRequest { export interface DescribeDataSourceResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The information on the data source.

                                                                                  */ - Status?: number; + DataSource?: DataSource; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  @@ -5663,9 +5735,9 @@ export interface DescribeDataSourceResponse { RequestId?: string; /** - *

                                                                                  The information on the data source.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - DataSource?: DataSource; + Status?: number; } export namespace DescribeDataSourceResponse { @@ -5676,14 +5748,14 @@ export namespace DescribeDataSourceResponse { export interface DescribeDataSourcePermissionsRequest { /** - *

                                                                                  The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                  + *

                                                                                  The AWS account ID.

                                                                                  */ - DataSourceId: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The AWS account ID.

                                                                                  + *

                                                                                  The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                  */ - AwsAccountId: string | undefined; + DataSourceId: string | undefined; } export namespace DescribeDataSourcePermissionsRequest { @@ -5693,11 +5765,6 @@ export namespace DescribeDataSourcePermissionsRequest { } export interface DescribeDataSourcePermissionsResponse { - /** - *

                                                                                  A list of resource permissions on the data source.

                                                                                  - */ - Permissions?: ResourcePermission[]; - /** *

                                                                                  The Amazon Resource Name (ARN) of the data source.

                                                                                  */ @@ -5708,6 +5775,11 @@ export interface DescribeDataSourcePermissionsResponse { */ DataSourceId?: string; + /** + *

                                                                                  A list of resource permissions on the data source.

                                                                                  + */ + Permissions?: ResourcePermission[]; + /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ @@ -5726,11 +5798,6 @@ export namespace DescribeDataSourcePermissionsResponse { } export interface DescribeGroupRequest { - /** - *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  - */ - Namespace: string | undefined; - /** *

                                                                                  The name of the group that you want to describe.

                                                                                  */ @@ -5741,6 +5808,11 @@ export interface DescribeGroupRequest { * account that contains your Amazon QuickSight account.

                                                                                  */ AwsAccountId: string | undefined; + + /** + *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  + */ + Namespace: string | undefined; } export namespace DescribeGroupRequest { @@ -5773,20 +5845,20 @@ export namespace DescribeGroupResponse { } export interface DescribeIAMPolicyAssignmentRequest { - /** - *

                                                                                  The namespace that contains the assignment.

                                                                                  - */ - Namespace: string | undefined; - /** *

                                                                                  The ID of the AWS account that contains the assignment that you want to describe.

                                                                                  */ AwsAccountId: string | undefined; /** - *

                                                                                  The name of the assignment.

                                                                                  + *

                                                                                  The name of the assignment, also called a rule.

                                                                                  */ AssignmentName: string | undefined; + + /** + *

                                                                                  The namespace that contains the assignment.

                                                                                  + */ + Namespace: string | undefined; } export namespace DescribeIAMPolicyAssignmentRequest { @@ -5810,9 +5882,9 @@ export interface IAMPolicyAssignment { AssignmentId?: string; /** - *

                                                                                  Identities.

                                                                                  + *

                                                                                  Assignment name.

                                                                                  */ - Identities?: { [key: string]: string[] }; + AssignmentName?: string; /** *

                                                                                  The Amazon Resource Name (ARN) for the IAM policy.

                                                                                  @@ -5820,14 +5892,14 @@ export interface IAMPolicyAssignment { PolicyArn?: string; /** - *

                                                                                  Assignment status.

                                                                                  + *

                                                                                  Identities.

                                                                                  */ - AssignmentStatus?: AssignmentStatus | string; + Identities?: { [key: string]: string[] }; /** - *

                                                                                  Assignment name.

                                                                                  + *

                                                                                  Assignment status.

                                                                                  */ - AssignmentName?: string; + AssignmentStatus?: AssignmentStatus | string; } export namespace IAMPolicyAssignment { @@ -5838,14 +5910,14 @@ export namespace IAMPolicyAssignment { export interface DescribeIAMPolicyAssignmentResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  Information describing the IAM policy assignment.

                                                                                  */ - RequestId?: string; + IAMPolicyAssignment?: IAMPolicyAssignment; /** - *

                                                                                  Information describing the IAM policy assignment.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - IAMPolicyAssignment?: IAMPolicyAssignment; + RequestId?: string; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -5865,12 +5937,11 @@ export namespace DescribeIAMPolicyAssignmentResponse { export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer { name: "InvalidNextTokenException"; $fault: "client"; + Message?: string; /** *

                                                                                  The AWS request ID for this request.

                                                                                  */ RequestId?: string; - - Message?: string; } export namespace InvalidNextTokenException { @@ -5950,14 +6021,14 @@ export enum IngestionErrorType { */ export interface ErrorInfo { /** - *

                                                                                  Error message.

                                                                                  + *

                                                                                  Error type.

                                                                                  */ - Message?: string; + Type?: IngestionErrorType | string; /** - *

                                                                                  Error type.

                                                                                  + *

                                                                                  Error message.

                                                                                  */ - Type?: IngestionErrorType | string; + Message?: string; } export namespace ErrorInfo { @@ -5971,15 +6042,15 @@ export namespace ErrorInfo { */ export interface QueueInfo { /** - *

                                                                                  The ID of the ongoing ingestion. The queued ingestion is waiting for the ongoing - * ingestion to complete.

                                                                                  + *

                                                                                  The ID of the queued ingestion.

                                                                                  */ - QueuedIngestion: string | undefined; + WaitingOnIngestion: string | undefined; /** - *

                                                                                  The ID of the queued ingestion.

                                                                                  + *

                                                                                  The ID of the ongoing ingestion. The queued ingestion is waiting for the ongoing + * ingestion to complete.

                                                                                  */ - WaitingOnIngestion: string | undefined; + QueuedIngestion: string | undefined; } export namespace QueueInfo { @@ -6031,19 +6102,14 @@ export interface Ingestion { Arn: string | undefined; /** - *

                                                                                  The time that this ingestion started.

                                                                                  - */ - CreatedTime: Date | undefined; - - /** - *

                                                                                  The size of the data ingested, in bytes.

                                                                                  + *

                                                                                  Ingestion ID.

                                                                                  */ - IngestionSizeInBytes?: number; + IngestionId?: string; /** - *

                                                                                  Event source for this ingestion.

                                                                                  + *

                                                                                  Ingestion status.

                                                                                  */ - RequestSource?: IngestionRequestSource | string; + IngestionStatus: IngestionStatus | string | undefined; /** *

                                                                                  Error information for this ingestion.

                                                                                  @@ -6051,9 +6117,9 @@ export interface Ingestion { ErrorInfo?: ErrorInfo; /** - *

                                                                                  Ingestion status.

                                                                                  + *

                                                                                  Information about rows for a data set SPICE ingestion.

                                                                                  */ - IngestionStatus: IngestionStatus | string | undefined; + RowInfo?: RowInfo; /** *

                                                                                  Information about a queued dataset SPICE ingestion.

                                                                                  @@ -6061,24 +6127,29 @@ export interface Ingestion { QueueInfo?: QueueInfo; /** - *

                                                                                  Information about rows for a data set SPICE ingestion.

                                                                                  + *

                                                                                  The time that this ingestion started.

                                                                                  */ - RowInfo?: RowInfo; + CreatedTime: Date | undefined; /** - *

                                                                                  Type of this ingestion.

                                                                                  + *

                                                                                  The time that this ingestion took, measured in seconds.

                                                                                  */ - RequestType?: IngestionRequestType | string; + IngestionTimeInSeconds?: number; /** - *

                                                                                  Ingestion ID.

                                                                                  + *

                                                                                  The size of the data ingested, in bytes.

                                                                                  */ - IngestionId?: string; + IngestionSizeInBytes?: number; /** - *

                                                                                  The time that this ingestion took, measured in seconds.

                                                                                  + *

                                                                                  Event source for this ingestion.

                                                                                  */ - IngestionTimeInSeconds?: number; + RequestSource?: IngestionRequestSource | string; + + /** + *

                                                                                  Type of this ingestion.

                                                                                  + */ + RequestType?: IngestionRequestType | string; } export namespace Ingestion { @@ -6089,9 +6160,9 @@ export namespace Ingestion { export interface DescribeIngestionResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  Information about the ingestion.

                                                                                  */ - Status?: number; + Ingestion?: Ingestion; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  @@ -6099,9 +6170,9 @@ export interface DescribeIngestionResponse { RequestId?: string; /** - *

                                                                                  Information about the ingestion.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - Ingestion?: Ingestion; + Status?: number; } export namespace DescribeIngestionResponse { @@ -6158,6 +6229,11 @@ export namespace NamespaceError { *

                                                                                  The error type.

                                                                                  */ export interface NamespaceInfoV2 { + /** + *

                                                                                  The name of the error.

                                                                                  + */ + Name?: string; + /** *

                                                                                  The namespace ARN.

                                                                                  */ @@ -6174,19 +6250,14 @@ export interface NamespaceInfoV2 { CreationStatus?: NamespaceStatus | string; /** - *

                                                                                  The name of the error.

                                                                                  + *

                                                                                  The identity store used for the namespace.

                                                                                  */ - Name?: string; + IdentityStore?: IdentityStore | string; /** *

                                                                                  An error that occurred when the namespace was created.

                                                                                  */ NamespaceError?: NamespaceError; - - /** - *

                                                                                  The identity store used for the namespace.

                                                                                  - */ - IdentityStore?: IdentityStore | string; } export namespace NamespaceInfoV2 { @@ -6205,14 +6276,14 @@ export interface DescribeNamespaceResponse { Namespace?: NamespaceInfoV2; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Status?: number; + RequestId?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - RequestId?: string; + Status?: number; } export namespace DescribeNamespaceResponse { @@ -6223,14 +6294,14 @@ export namespace DescribeNamespaceResponse { export interface DescribeTemplateRequest { /** - *

                                                                                  The ID for the template.

                                                                                  + *

                                                                                  The ID of the AWS account that contains the template that you're describing.

                                                                                  */ - TemplateId: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The ID of the AWS account that contains the template that you're describing.

                                                                                  + *

                                                                                  The ID for the template.

                                                                                  */ - AwsAccountId: string | undefined; + TemplateId: string | undefined; /** *

                                                                                  (Optional) The number for the version to describe. If a VersionNumber parameter @@ -6285,35 +6356,25 @@ export namespace TemplateError { *

                                                                                  A version of a template.

                                                                                  */ export interface TemplateVersion { - /** - *

                                                                                  The ARN of the theme associated with this version of the template.

                                                                                  - */ - ThemeArn?: string; - /** *

                                                                                  The time that this template version was created.

                                                                                  */ CreatedTime?: Date; /** - *

                                                                                  The description of the template.

                                                                                  - */ - Description?: string; - - /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  Errors associated with this template version.

                                                                                  */ - Status?: ResourceStatus | string; + Errors?: TemplateError[]; /** - *

                                                                                  A list of the associated sheets with the unique identifier and name of each sheet.

                                                                                  + *

                                                                                  The version number of the template version.

                                                                                  */ - Sheets?: Sheet[]; + VersionNumber?: number; /** - *

                                                                                  Errors associated with this template version.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - Errors?: TemplateError[]; + Status?: ResourceStatus | string; /** *

                                                                                  Schema of the dataset identified by the placeholder. Any dashboard created from this @@ -6323,15 +6384,25 @@ export interface TemplateVersion { DataSetConfigurations?: DataSetConfiguration[]; /** - *

                                                                                  The version number of the template version.

                                                                                  + *

                                                                                  The description of the template.

                                                                                  */ - VersionNumber?: number; + Description?: string; /** *

                                                                                  The Amazon Resource Name (ARN) of an analysis or template that was used to create this * template.

                                                                                  */ SourceEntityArn?: string; + + /** + *

                                                                                  The ARN of the theme associated with this version of the template.

                                                                                  + */ + ThemeArn?: string; + + /** + *

                                                                                  A list of the associated sheets with the unique identifier and name of each sheet.

                                                                                  + */ + Sheets?: Sheet[]; } export namespace TemplateVersion { @@ -6352,24 +6423,24 @@ export namespace TemplateVersion { */ export interface Template { /** - *

                                                                                  A structure describing the versions of the template.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the template.

                                                                                  */ - Version?: TemplateVersion; + Arn?: string; /** - *

                                                                                  The ID for the template. This is unique per AWS Region for each AWS account.

                                                                                  + *

                                                                                  The display name of the template.

                                                                                  */ - TemplateId?: string; + Name?: string; /** - *

                                                                                  The display name of the template.

                                                                                  + *

                                                                                  A structure describing the versions of the template.

                                                                                  */ - Name?: string; + Version?: TemplateVersion; /** - *

                                                                                  Time when this was created.

                                                                                  + *

                                                                                  The ID for the template. This is unique per AWS Region for each AWS account.

                                                                                  */ - CreatedTime?: Date; + TemplateId?: string; /** *

                                                                                  Time when this was last updated.

                                                                                  @@ -6377,9 +6448,9 @@ export interface Template { LastUpdatedTime?: Date; /** - *

                                                                                  The Amazon Resource Name (ARN) of the template.

                                                                                  + *

                                                                                  Time when this was created.

                                                                                  */ - Arn?: string; + CreatedTime?: Date; } export namespace Template { @@ -6390,9 +6461,9 @@ export namespace Template { export interface DescribeTemplateResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The template structure for the object you want to describe.

                                                                                  */ - RequestId?: string; + Template?: Template; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -6400,9 +6471,9 @@ export interface DescribeTemplateResponse { Status?: number; /** - *

                                                                                  The template structure for the object you want to describe.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Template?: Template; + RequestId?: string; } export namespace DescribeTemplateResponse { @@ -6445,14 +6516,14 @@ export interface DescribeTemplateAliasResponse { TemplateAlias?: TemplateAlias; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - RequestId?: string; + Status?: number; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - Status?: number; + RequestId?: string; } export namespace DescribeTemplateAliasResponse { @@ -6463,14 +6534,14 @@ export namespace DescribeTemplateAliasResponse { export interface DescribeTemplatePermissionsRequest { /** - *

                                                                                  The ID for the template.

                                                                                  + *

                                                                                  The ID of the AWS account that contains the template that you're describing.

                                                                                  */ - TemplateId: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The ID of the AWS account that contains the template that you're describing.

                                                                                  + *

                                                                                  The ID for the template.

                                                                                  */ - AwsAccountId: string | undefined; + TemplateId: string | undefined; } export namespace DescribeTemplatePermissionsRequest { @@ -6480,30 +6551,30 @@ export namespace DescribeTemplatePermissionsRequest { } export interface DescribeTemplatePermissionsResponse { - /** - *

                                                                                  A list of resource permissions to be set on the template.

                                                                                  - */ - Permissions?: ResourcePermission[]; - /** *

                                                                                  The ID for the template.

                                                                                  */ TemplateId?: string; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the template.

                                                                                  */ - Status?: number; + TemplateArn?: string; /** - *

                                                                                  The Amazon Resource Name (ARN) of the template.

                                                                                  + *

                                                                                  A list of resource permissions to be set on the template.

                                                                                  */ - TemplateArn?: string; + Permissions?: ResourcePermission[]; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; + + /** + *

                                                                                  The HTTP status of the request.

                                                                                  + */ + Status?: number; } export namespace DescribeTemplatePermissionsResponse { @@ -6514,28 +6585,28 @@ export namespace DescribeTemplatePermissionsResponse { export interface DescribeThemeRequest { /** - *

                                                                                  The ID for the theme.

                                                                                  + *

                                                                                  The ID of the AWS account that contains the theme that you're describing.

                                                                                  */ - ThemeId: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The alias of the theme that you want to describe. If you name a specific alias, you - * describe the version that the alias points to. You can specify the latest version of the - * theme by providing the keyword $LATEST in the AliasName - * parameter. The keyword $PUBLISHED doesn't apply to themes.

                                                                                  + *

                                                                                  The ID for the theme.

                                                                                  */ - AliasName?: string; + ThemeId: string | undefined; /** - *

                                                                                  The ID of the AWS account that contains the theme that you're describing.

                                                                                  + *

                                                                                  The version number for the version to describe. If a VersionNumber parameter + * value isn't provided, the latest version of the theme is described.

                                                                                  */ - AwsAccountId: string | undefined; + VersionNumber?: number; /** - *

                                                                                  The version number for the version to describe. If a VersionNumber parameter - * value isn't provided, the latest version of the theme is described.

                                                                                  + *

                                                                                  The alias of the theme that you want to describe. If you name a specific alias, you + * describe the version that the alias points to. You can specify the latest version of the + * theme by providing the keyword $LATEST in the AliasName + * parameter. The keyword $PUBLISHED doesn't apply to themes.

                                                                                  */ - VersionNumber?: number; + AliasName?: string; } export namespace DescribeThemeRequest { @@ -6580,45 +6651,45 @@ export namespace ThemeError { */ export interface ThemeVersion { /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + *

                                                                                  The version number of the theme.

                                                                                  */ - Arn?: string; + VersionNumber?: number; /** - *

                                                                                  The status of the theme version.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  */ - Status?: ResourceStatus | string; + Arn?: string; /** - *

                                                                                  The theme configuration, which contains all the theme display properties.

                                                                                  + *

                                                                                  The description of the theme.

                                                                                  */ - Configuration?: ThemeConfiguration; + Description?: string; /** - *

                                                                                  The version number of the theme.

                                                                                  + *

                                                                                  The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All + * themes initially inherit from a default QuickSight theme.

                                                                                  */ - VersionNumber?: number; + BaseThemeId?: string; /** - *

                                                                                  Errors associated with the theme.

                                                                                  + *

                                                                                  The date and time that this theme version was created.

                                                                                  */ - Errors?: ThemeError[]; + CreatedTime?: Date; /** - *

                                                                                  The date and time that this theme version was created.

                                                                                  + *

                                                                                  The theme configuration, which contains all the theme display properties.

                                                                                  */ - CreatedTime?: Date; + Configuration?: ThemeConfiguration; /** - *

                                                                                  The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All - * themes initially inherit from a default QuickSight theme.

                                                                                  + *

                                                                                  Errors associated with the theme.

                                                                                  */ - BaseThemeId?: string; + Errors?: ThemeError[]; /** - *

                                                                                  The description of the theme.

                                                                                  + *

                                                                                  The status of the theme version.

                                                                                  */ - Description?: string; + Status?: ResourceStatus | string; } export namespace ThemeVersion { @@ -6632,21 +6703,25 @@ export namespace ThemeVersion { */ export interface Theme { /** - *

                                                                                  The type of theme, based on how it was created. Valid values include: - * QUICKSIGHT and CUSTOM.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the theme.

                                                                                  */ - Type?: ThemeType | string; + Arn?: string; /** - *

                                                                                  A version of a theme.

                                                                                  + *

                                                                                  The name that the user gives to the theme.

                                                                                  */ - Version?: ThemeVersion; + Name?: string; /** *

                                                                                  The identifier that the user gives to the theme.

                                                                                  */ ThemeId?: string; + /** + *

                                                                                  A version of a theme.

                                                                                  + */ + Version?: ThemeVersion; + /** *

                                                                                  The date and time that the theme was created.

                                                                                  */ @@ -6658,14 +6733,10 @@ export interface Theme { LastUpdatedTime?: Date; /** - *

                                                                                  The name that the user gives to the theme.

                                                                                  - */ - Name?: string; - - /** - *

                                                                                  The Amazon Resource Name (ARN) of the theme.

                                                                                  + *

                                                                                  The type of theme, based on how it was created. Valid values include: + * QUICKSIGHT and CUSTOM.

                                                                                  */ - Arn?: string; + Type?: ThemeType | string; } export namespace Theme { @@ -6676,14 +6747,14 @@ export namespace Theme { export interface DescribeThemeResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The information about the theme that you are describing.

                                                                                  */ - Status?: number; + Theme?: Theme; /** - *

                                                                                  The information about the theme that you are describing.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - Theme?: Theme; + Status?: number; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  @@ -6698,6 +6769,12 @@ export namespace DescribeThemeResponse { } export interface DescribeThemeAliasRequest { + /** + *

                                                                                  The ID of the AWS account that contains the theme alias that you're + * describing.

                                                                                  + */ + AwsAccountId: string | undefined; + /** *

                                                                                  The ID for the theme.

                                                                                  */ @@ -6707,12 +6784,6 @@ export interface DescribeThemeAliasRequest { *

                                                                                  The name of the theme alias that you want to describe.

                                                                                  */ AliasName: string | undefined; - - /** - *

                                                                                  The ID of the AWS account that contains the theme alias that you're - * describing.

                                                                                  - */ - AwsAccountId: string | undefined; } export namespace DescribeThemeAliasRequest { @@ -6722,6 +6793,11 @@ export namespace DescribeThemeAliasRequest { } export interface DescribeThemeAliasResponse { + /** + *

                                                                                  Information about the theme alias.

                                                                                  + */ + ThemeAlias?: ThemeAlias; + /** *

                                                                                  The HTTP status of the request.

                                                                                  */ @@ -6731,11 +6807,6 @@ export interface DescribeThemeAliasResponse { *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; - - /** - *

                                                                                  Information about the theme alias.

                                                                                  - */ - ThemeAlias?: ThemeAlias; } export namespace DescribeThemeAliasResponse { @@ -6763,30 +6834,30 @@ export namespace DescribeThemePermissionsRequest { } export interface DescribeThemePermissionsResponse { + /** + *

                                                                                  The ID for the theme.

                                                                                  + */ + ThemeId?: string; + /** *

                                                                                  The Amazon Resource Name (ARN) of the theme.

                                                                                  */ ThemeArn?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  A list of resource permissions set on the theme.

                                                                                  */ - RequestId?: string; + Permissions?: ResourcePermission[]; /** - *

                                                                                  The ID for the theme.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - ThemeId?: string; + RequestId?: string; /** *

                                                                                  The HTTP status of the request.

                                                                                  */ Status?: number; - - /** - *

                                                                                  A list of resource permissions set on the theme.

                                                                                  - */ - Permissions?: ResourcePermission[]; } export namespace DescribeThemePermissionsResponse { @@ -6796,6 +6867,11 @@ export namespace DescribeThemePermissionsResponse { } export interface DescribeUserRequest { + /** + *

                                                                                  The name of the user that you want to describe.

                                                                                  + */ + UserName: string | undefined; + /** *

                                                                                  The ID for the AWS account that the user is in. Currently, you use the ID for the AWS * account that contains your Amazon QuickSight account.

                                                                                  @@ -6806,11 +6882,6 @@ export interface DescribeUserRequest { *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  */ Namespace: string | undefined; - - /** - *

                                                                                  The name of the user that you want to describe.

                                                                                  - */ - UserName: string | undefined; } export namespace DescribeUserRequest { @@ -6842,9 +6913,14 @@ export interface User { Arn?: string; /** - *

                                                                                  The type of identity authentication used by the user.

                                                                                  + *

                                                                                  The user's user name.

                                                                                  */ - IdentityType?: IdentityType | string; + UserName?: string; + + /** + *

                                                                                  The user's email address.

                                                                                  + */ + Email?: string; /** *

                                                                                  The Amazon QuickSight role for the user. The user role can be one of the @@ -6879,14 +6955,9 @@ export interface User { Role?: UserRole | string; /** - *

                                                                                  The user's user name.

                                                                                  - */ - UserName?: string; - - /** - *

                                                                                  The user's email address.

                                                                                  + *

                                                                                  The type of identity authentication used by the user.

                                                                                  */ - Email?: string; + IdentityType?: IdentityType | string; /** *

                                                                                  The active status of user. When you create an Amazon QuickSight user that’s not an IAM @@ -6896,14 +6967,14 @@ export interface User { Active?: boolean; /** - *

                                                                                  The custom permissions profile associated with this user.

                                                                                  + *

                                                                                  The principal ID of the user.

                                                                                  */ - CustomPermissionsName?: string; + PrincipalId?: string; /** - *

                                                                                  The principal ID of the user.

                                                                                  + *

                                                                                  The custom permissions profile associated with this user.

                                                                                  */ - PrincipalId?: string; + CustomPermissionsName?: string; } export namespace User { @@ -6913,6 +6984,11 @@ export namespace User { } export interface DescribeUserResponse { + /** + *

                                                                                  The user name.

                                                                                  + */ + User?: User; + /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ @@ -6922,11 +6998,6 @@ export interface DescribeUserResponse { *

                                                                                  The HTTP status of the request.

                                                                                  */ Status?: number; - - /** - *

                                                                                  The user name.

                                                                                  - */ - User?: User; } export namespace DescribeUserResponse { @@ -6957,16 +7028,19 @@ export namespace DomainNotWhitelistedException { export interface GetDashboardEmbedUrlRequest { /** - *

                                                                                  Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables - * the undo/redo button.

                                                                                  + *

                                                                                  The ID for the AWS account that contains the dashboard that you're embedding.

                                                                                  */ - UndoRedoDisabled?: boolean; + AwsAccountId: string | undefined; /** - *

                                                                                  Remove the reset button on the embedded dashboard. The default is FALSE, which enables the - * reset button.

                                                                                  + *

                                                                                  The ID for the dashboard, also added to the IAM policy.

                                                                                  */ - ResetDisabled?: boolean; + DashboardId: string | undefined; + + /** + *

                                                                                  The authentication method that the user uses to sign in.

                                                                                  + */ + IdentityType: IdentityType | string | undefined; /** *

                                                                                  How many minutes the session is valid. The session lifetime must be 15-600 minutes.

                                                                                  @@ -6974,14 +7048,16 @@ export interface GetDashboardEmbedUrlRequest { SessionLifetimeInMinutes?: number; /** - *

                                                                                  The ID for the AWS account that contains the dashboard that you're embedding.

                                                                                  + *

                                                                                  Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables + * the undo/redo button.

                                                                                  */ - AwsAccountId: string | undefined; + UndoRedoDisabled?: boolean; /** - *

                                                                                  The authentication method that the user uses to sign in.

                                                                                  + *

                                                                                  Remove the reset button on the embedded dashboard. The default is FALSE, which enables the + * reset button.

                                                                                  */ - IdentityType: IdentityType | string | undefined; + ResetDisabled?: boolean; /** *

                                                                                  The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. @@ -7003,11 +7079,6 @@ export interface GetDashboardEmbedUrlRequest { * role-based sessions.

                                                                                  */ UserArn?: string; - - /** - *

                                                                                  The ID for the dashboard, also added to the IAM policy.

                                                                                  - */ - DashboardId: string | undefined; } export namespace GetDashboardEmbedUrlRequest { @@ -7018,9 +7089,12 @@ export namespace GetDashboardEmbedUrlRequest { export interface GetDashboardEmbedUrlResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  A single-use URL that you can put into your server-side webpage to embed your + * dashboard. This URL is valid for 5 minutes. The API operation provides the URL with an + * auth_code value that enables one (and only one) sign-on to a user session + * that is valid for 10 hours.

                                                                                  */ - RequestId?: string; + EmbedUrl?: string; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -7028,12 +7102,9 @@ export interface GetDashboardEmbedUrlResponse { Status?: number; /** - *

                                                                                  A single-use URL that you can put into your server-side webpage to embed your - * dashboard. This URL is valid for 5 minutes. The API operation provides the URL with an - * auth_code value that enables one (and only one) sign-on to a user session - * that is valid for 10 hours.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - EmbedUrl?: string; + RequestId?: string; } export namespace GetDashboardEmbedUrlResponse { @@ -7050,12 +7121,11 @@ export namespace GetDashboardEmbedUrlResponse { export interface IdentityTypeNotSupportedException extends __SmithyException, $MetadataBearer { name: "IdentityTypeNotSupportedException"; $fault: "client"; + Message?: string; /** *

                                                                                  The AWS request ID for this request.

                                                                                  */ RequestId?: string; - - Message?: string; } export namespace IdentityTypeNotSupportedException { @@ -7106,6 +7176,11 @@ export namespace SessionLifetimeInMinutesInvalidException { } export interface GetSessionEmbedUrlRequest { + /** + *

                                                                                  The ID for the AWS account associated with your QuickSight subscription.

                                                                                  + */ + AwsAccountId: string | undefined; + /** *

                                                                                  The URL you use to access the embedded session. The entry point URL is constrained to * the following paths:

                                                                                  @@ -7149,11 +7224,6 @@ export interface GetSessionEmbedUrlRequest { */ SessionLifetimeInMinutes?: number; - /** - *

                                                                                  The ID for the AWS account associated with your QuickSight subscription.

                                                                                  - */ - AwsAccountId: string | undefined; - /** *

                                                                                  The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. * You can use this for any type of Amazon QuickSight users in your account (readers, authors, or @@ -7183,11 +7253,6 @@ export namespace GetSessionEmbedUrlRequest { } export interface GetSessionEmbedUrlResponse { - /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  - */ - RequestId?: string; - /** *

                                                                                  A single-use URL that you can put into your server-side web page to embed your * QuickSight session. This URL is valid for 5 minutes. The API operation provides the URL with an @@ -7200,6 +7265,11 @@ export interface GetSessionEmbedUrlResponse { *

                                                                                  The HTTP status of the request.

                                                                                  */ Status?: number; + + /** + *

                                                                                  The AWS request ID for this operation.

                                                                                  + */ + RequestId?: string; } export namespace GetSessionEmbedUrlResponse { @@ -7231,11 +7301,6 @@ export namespace IAMPolicyAssignmentSummary { } export interface ListAnalysesRequest { - /** - *

                                                                                  The maximum number of results to return.

                                                                                  - */ - MaxResults?: number; - /** *

                                                                                  The ID of the AWS account that contains the analyses.

                                                                                  */ @@ -7245,6 +7310,11 @@ export interface ListAnalysesRequest { *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  */ NextToken?: string; + + /** + *

                                                                                  The maximum number of results to return.

                                                                                  + */ + MaxResults?: number; } export namespace ListAnalysesRequest { @@ -7255,9 +7325,9 @@ export namespace ListAnalysesRequest { export interface ListAnalysesResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  Metadata describing each of the analyses that are listed.

                                                                                  */ - RequestId?: string; + AnalysisSummaryList?: AnalysisSummary[]; /** *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  @@ -7270,9 +7340,9 @@ export interface ListAnalysesResponse { Status?: number; /** - *

                                                                                  Metadata describing each of the analyses that are listed.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - AnalysisSummaryList?: AnalysisSummary[]; + RequestId?: string; } export namespace ListAnalysesResponse { @@ -7289,14 +7359,14 @@ export interface ListDashboardsRequest { AwsAccountId: string | undefined; /** - *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ - MaxResults?: number; + NextToken?: string; /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + *

                                                                                  The maximum number of results to be returned per request.

                                                                                  */ - NextToken?: string; + MaxResults?: number; } export namespace ListDashboardsRequest { @@ -7307,15 +7377,15 @@ export namespace ListDashboardsRequest { export interface ListDashboardsResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  A structure that contains all of the dashboards in your AWS account. This structure + * provides basic information about the dashboards.

                                                                                  */ - RequestId?: string; + DashboardSummaryList?: DashboardSummary[]; /** - *

                                                                                  A structure that contains all of the dashboards in your AWS account. This structure - * provides basic information about the dashboards.

                                                                                  + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ - DashboardSummaryList?: DashboardSummary[]; + NextToken?: string; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -7323,9 +7393,9 @@ export interface ListDashboardsResponse { Status?: number; /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - NextToken?: string; + RequestId?: string; } export namespace ListDashboardsResponse { @@ -7347,14 +7417,14 @@ export interface ListDashboardVersionsRequest { DashboardId: string | undefined; /** - *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ - MaxResults?: number; + NextToken?: string; /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + *

                                                                                  The maximum number of results to be returned per request.

                                                                                  */ - NextToken?: string; + MaxResults?: number; } export namespace ListDashboardVersionsRequest { @@ -7364,6 +7434,11 @@ export namespace ListDashboardVersionsRequest { } export interface ListDashboardVersionsResponse { + /** + *

                                                                                  A structure that contains information about each version of the dashboard.

                                                                                  + */ + DashboardVersionSummaryList?: DashboardVersionSummary[]; + /** *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ @@ -7374,11 +7449,6 @@ export interface ListDashboardVersionsResponse { */ Status?: number; - /** - *

                                                                                  A structure that contains information about each version of the dashboard.

                                                                                  - */ - DashboardVersionSummaryList?: DashboardVersionSummary[]; - /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ @@ -7392,11 +7462,6 @@ export namespace ListDashboardVersionsResponse { } export interface ListDataSetsRequest { - /** - *

                                                                                  The maximum number of results to be returned per request.

                                                                                  - */ - MaxResults?: number; - /** *

                                                                                  The AWS account ID.

                                                                                  */ @@ -7406,6 +7471,11 @@ export interface ListDataSetsRequest { *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ NextToken?: string; + + /** + *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + */ + MaxResults?: number; } export namespace ListDataSetsRequest { @@ -7416,14 +7486,14 @@ export namespace ListDataSetsRequest { export interface ListDataSetsResponse { /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + *

                                                                                  The list of dataset summaries.

                                                                                  */ - NextToken?: string; + DataSetSummaries?: DataSetSummary[]; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ - Status?: number; + NextToken?: string; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  @@ -7431,9 +7501,9 @@ export interface ListDataSetsResponse { RequestId?: string; /** - *

                                                                                  The list of dataset summaries.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - DataSetSummaries?: DataSetSummary[]; + Status?: number; } export namespace ListDataSetsResponse { @@ -7471,11 +7541,6 @@ export interface ListDataSourcesResponse { */ DataSources?: DataSource[]; - /** - *

                                                                                  The HTTP status of the request.

                                                                                  - */ - Status?: number; - /** *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ @@ -7485,6 +7550,11 @@ export interface ListDataSourcesResponse { *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; + + /** + *

                                                                                  The HTTP status of the request.

                                                                                  + */ + Status?: number; } export namespace ListDataSourcesResponse { @@ -7495,9 +7565,9 @@ export namespace ListDataSourcesResponse { export interface ListGroupMembershipsRequest { /** - *

                                                                                  The maximum number of results to return from this request.

                                                                                  + *

                                                                                  The name of the group that you want to see a membership list of.

                                                                                  */ - MaxResults?: number; + GroupName: string | undefined; /** *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  @@ -7505,15 +7575,15 @@ export interface ListGroupMembershipsRequest { NextToken?: string; /** - *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS - * account that contains your Amazon QuickSight account.

                                                                                  + *

                                                                                  The maximum number of results to return from this request.

                                                                                  */ - AwsAccountId: string | undefined; + MaxResults?: number; /** - *

                                                                                  The name of the group that you want to see a membership list of.

                                                                                  + *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS + * account that contains your Amazon QuickSight account.

                                                                                  */ - GroupName: string | undefined; + AwsAccountId: string | undefined; /** *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  @@ -7529,14 +7599,14 @@ export namespace ListGroupMembershipsRequest { export interface ListGroupMembershipsResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The list of the members of the group.

                                                                                  */ - Status?: number; + GroupMemberList?: GroupMember[]; /** - *

                                                                                  The list of the members of the group.

                                                                                  + *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  */ - GroupMemberList?: GroupMember[]; + NextToken?: string; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  @@ -7544,9 +7614,9 @@ export interface ListGroupMembershipsResponse { RequestId?: string; /** - *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - NextToken?: string; + Status?: number; } export namespace ListGroupMembershipsResponse { @@ -7557,25 +7627,25 @@ export namespace ListGroupMembershipsResponse { export interface ListGroupsRequest { /** - *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  + *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS + * account that contains your Amazon QuickSight account.

                                                                                  */ - NextToken?: string; + AwsAccountId: string | undefined; /** - *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  + *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  */ - Namespace: string | undefined; + NextToken?: string; /** - *

                                                                                  The ID for the AWS account that the group is in. Currently, you use the ID for the AWS - * account that contains your Amazon QuickSight account.

                                                                                  + *

                                                                                  The maximum number of results to return.

                                                                                  */ - AwsAccountId: string | undefined; + MaxResults?: number; /** - *

                                                                                  The maximum number of results to return.

                                                                                  + *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  */ - MaxResults?: number; + Namespace: string | undefined; } export namespace ListGroupsRequest { @@ -7586,9 +7656,9 @@ export namespace ListGroupsRequest { export interface ListGroupsResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The list of the groups.

                                                                                  */ - RequestId?: string; + GroupList?: Group[]; /** *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  @@ -7596,9 +7666,9 @@ export interface ListGroupsResponse { NextToken?: string; /** - *

                                                                                  The list of the groups.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - GroupList?: Group[]; + RequestId?: string; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -7614,19 +7684,14 @@ export namespace ListGroupsResponse { export interface ListIAMPolicyAssignmentsRequest { /** - *

                                                                                  The status of the assignments.

                                                                                  - */ - AssignmentStatus?: AssignmentStatus | string; - - /** - *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + *

                                                                                  The ID of the AWS account that contains these IAM policy assignments.

                                                                                  */ - MaxResults?: number; + AwsAccountId: string | undefined; /** - *

                                                                                  The ID of the AWS account that contains these IAM policy assignments.

                                                                                  + *

                                                                                  The status of the assignments.

                                                                                  */ - AwsAccountId: string | undefined; + AssignmentStatus?: AssignmentStatus | string; /** *

                                                                                  The namespace for the assignments.

                                                                                  @@ -7637,6 +7702,11 @@ export interface ListIAMPolicyAssignmentsRequest { *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ NextToken?: string; + + /** + *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + */ + MaxResults?: number; } export namespace ListIAMPolicyAssignmentsRequest { @@ -7647,24 +7717,24 @@ export namespace ListIAMPolicyAssignmentsRequest { export interface ListIAMPolicyAssignmentsResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  Information describing the IAM policy assignments.

                                                                                  */ - RequestId?: string; + IAMPolicyAssignments?: IAMPolicyAssignmentSummary[]; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ - Status?: number; + NextToken?: string; /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - NextToken?: string; + RequestId?: string; /** - *

                                                                                  Information describing the IAM policy assignments.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - IAMPolicyAssignments?: IAMPolicyAssignmentSummary[]; + Status?: number; } export namespace ListIAMPolicyAssignmentsResponse { @@ -7680,9 +7750,9 @@ export interface ListIAMPolicyAssignmentsForUserRequest { AwsAccountId: string | undefined; /** - *

                                                                                  The namespace of the assignment.

                                                                                  + *

                                                                                  The name of the user.

                                                                                  */ - Namespace: string | undefined; + UserName: string | undefined; /** *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  @@ -7695,9 +7765,9 @@ export interface ListIAMPolicyAssignmentsForUserRequest { MaxResults?: number; /** - *

                                                                                  The name of the user.

                                                                                  + *

                                                                                  The namespace of the assignment.

                                                                                  */ - UserName: string | undefined; + Namespace: string | undefined; } export namespace ListIAMPolicyAssignmentsForUserRequest { @@ -7708,24 +7778,24 @@ export namespace ListIAMPolicyAssignmentsForUserRequest { export interface ListIAMPolicyAssignmentsForUserResponse { /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + *

                                                                                  The active assignments for this user.

                                                                                  */ - NextToken?: string; + ActiveAssignments?: ActiveIAMPolicyAssignment[]; /** - *

                                                                                  The active assignments for this user.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - ActiveAssignments?: ActiveIAMPolicyAssignment[]; + RequestId?: string; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ - Status?: number; + NextToken?: string; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - RequestId?: string; + Status?: number; } export namespace ListIAMPolicyAssignmentsForUserResponse { @@ -7735,11 +7805,6 @@ export namespace ListIAMPolicyAssignmentsForUserResponse { } export interface ListIngestionsRequest { - /** - *

                                                                                  The AWS account ID.

                                                                                  - */ - AwsAccountId: string | undefined; - /** *

                                                                                  The ID of the dataset used in the ingestion.

                                                                                  */ @@ -7750,6 +7815,11 @@ export interface ListIngestionsRequest { */ NextToken?: string; + /** + *

                                                                                  The AWS account ID.

                                                                                  + */ + AwsAccountId: string | undefined; + /** *

                                                                                  The maximum number of results to be returned per request.

                                                                                  */ @@ -7763,6 +7833,11 @@ export namespace ListIngestionsRequest { } export interface ListIngestionsResponse { + /** + *

                                                                                  A list of the ingestions.

                                                                                  + */ + Ingestions?: Ingestion[]; + /** *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ @@ -7773,11 +7848,6 @@ export interface ListIngestionsResponse { */ RequestId?: string; - /** - *

                                                                                  A list of the ingestions.

                                                                                  - */ - Ingestions?: Ingestion[]; - /** *

                                                                                  The HTTP status of the request.

                                                                                  */ @@ -7791,11 +7861,6 @@ export namespace ListIngestionsResponse { } export interface ListNamespacesRequest { - /** - *

                                                                                  The maximum number of results to return.

                                                                                  - */ - MaxResults?: number; - /** *

                                                                                  The ID for the AWS account that contains the QuickSight namespaces that you want to list.

                                                                                  */ @@ -7805,6 +7870,11 @@ export interface ListNamespacesRequest { *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  */ NextToken?: string; + + /** + *

                                                                                  The maximum number of results to return.

                                                                                  + */ + MaxResults?: number; } export namespace ListNamespacesRequest { @@ -7814,6 +7884,13 @@ export namespace ListNamespacesRequest { } export interface ListNamespacesResponse { + /** + *

                                                                                  The information about the namespaces in this AWS account. The response includes + * the namespace ARN, name, AWS Region, notification email address, creation status, and + * identity store.

                                                                                  + */ + Namespaces?: NamespaceInfoV2[]; + /** *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  */ @@ -7824,13 +7901,6 @@ export interface ListNamespacesResponse { */ RequestId?: string; - /** - *

                                                                                  The information about the namespaces in this AWS account. The response includes - * the namespace ARN, name, AWS Region, notification email address, creation status, and - * identity store.

                                                                                  - */ - Namespaces?: NamespaceInfoV2[]; - /** *

                                                                                  The HTTP status of the request.

                                                                                  */ @@ -7855,55 +7925,3 @@ export namespace ListTagsForResourceRequest { ...obj, }); } - -export interface ListTagsForResourceResponse { - /** - *

                                                                                  The HTTP status of the request.

                                                                                  - */ - Status?: number; - - /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  - */ - RequestId?: string; - - /** - *

                                                                                  Contains a map of the key-value pairs for the resource tag or tags assigned to the - * resource.

                                                                                  - */ - Tags?: Tag[]; -} - -export namespace ListTagsForResourceResponse { - export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({ - ...obj, - }); -} - -export interface ListTemplateAliasesRequest { - /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  - */ - NextToken?: string; - - /** - *

                                                                                  The maximum number of results to be returned per request.

                                                                                  - */ - MaxResults?: number; - - /** - *

                                                                                  The ID of the AWS account that contains the template aliases that you're listing.

                                                                                  - */ - AwsAccountId: string | undefined; - - /** - *

                                                                                  The ID for the template.

                                                                                  - */ - TemplateId: string | undefined; -} - -export namespace ListTemplateAliasesRequest { - export const filterSensitiveLog = (obj: ListTemplateAliasesRequest): any => ({ - ...obj, - }); -} diff --git a/clients/client-quicksight/models/models_1.ts b/clients/client-quicksight/models/models_1.ts index 6b3e2d99a85a..15806dd2ba51 100644 --- a/clients/client-quicksight/models/models_1.ts +++ b/clients/client-quicksight/models/models_1.ts @@ -5,6 +5,7 @@ import { AnalysisSummary, AssignmentStatus, ColumnGroup, + ColumnLevelPermissionRule, DashboardPublishOptions, DashboardSearchFilter, DashboardSourceEntity, @@ -33,12 +34,59 @@ import { } from "./models_0"; import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; -export interface ListTemplateAliasesResponse { +export interface ListTagsForResourceResponse { + /** + *

                                                                                  Contains a map of the key-value pairs for the resource tag or tags assigned to the + * resource.

                                                                                  + */ + Tags?: Tag[]; + /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; + /** + *

                                                                                  The HTTP status of the request.

                                                                                  + */ + Status?: number; +} + +export namespace ListTagsForResourceResponse { + export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({ + ...obj, + }); +} + +export interface ListTemplateAliasesRequest { + /** + *

                                                                                  The ID of the AWS account that contains the template aliases that you're listing.

                                                                                  + */ + AwsAccountId: string | undefined; + + /** + *

                                                                                  The ID for the template.

                                                                                  + */ + TemplateId: string | undefined; + + /** + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + */ + NextToken?: string; + + /** + *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + */ + MaxResults?: number; +} + +export namespace ListTemplateAliasesRequest { + export const filterSensitiveLog = (obj: ListTemplateAliasesRequest): any => ({ + ...obj, + }); +} + +export interface ListTemplateAliasesResponse { /** *

                                                                                  A structure containing the list of the template's aliases.

                                                                                  */ @@ -49,6 +97,11 @@ export interface ListTemplateAliasesResponse { */ Status?: number; + /** + *

                                                                                  The AWS request ID for this operation.

                                                                                  + */ + RequestId?: string; + /** *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ @@ -89,9 +142,9 @@ export namespace ListTemplatesRequest { */ export interface TemplateSummary { /** - *

                                                                                  A display name for the template.

                                                                                  + *

                                                                                  A summary of a template.

                                                                                  */ - Name?: string; + Arn?: string; /** *

                                                                                  The ID of the template. This ID is unique per AWS Region for each AWS account.

                                                                                  @@ -99,14 +152,14 @@ export interface TemplateSummary { TemplateId?: string; /** - *

                                                                                  The last time that this template was updated.

                                                                                  + *

                                                                                  A display name for the template.

                                                                                  */ - LastUpdatedTime?: Date; + Name?: string; /** - *

                                                                                  A summary of a template.

                                                                                  + *

                                                                                  A structure containing a list of version numbers for the template summary.

                                                                                  */ - Arn?: string; + LatestVersionNumber?: number; /** *

                                                                                  The last time that this template was created.

                                                                                  @@ -114,9 +167,9 @@ export interface TemplateSummary { CreatedTime?: Date; /** - *

                                                                                  A structure containing a list of version numbers for the template summary.

                                                                                  + *

                                                                                  The last time that this template was updated.

                                                                                  */ - LatestVersionNumber?: number; + LastUpdatedTime?: Date; } export namespace TemplateSummary { @@ -127,14 +180,14 @@ export namespace TemplateSummary { export interface ListTemplatesResponse { /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + *

                                                                                  A structure containing information about the templates in the list.

                                                                                  */ - NextToken?: string; + TemplateSummaryList?: TemplateSummary[]; /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ - RequestId?: string; + NextToken?: string; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -142,9 +195,9 @@ export interface ListTemplatesResponse { Status?: number; /** - *

                                                                                  A structure containing information about the templates in the list.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - TemplateSummaryList?: TemplateSummary[]; + RequestId?: string; } export namespace ListTemplatesResponse { @@ -155,24 +208,24 @@ export namespace ListTemplatesResponse { export interface ListTemplateVersionsRequest { /** - *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + *

                                                                                  The ID of the AWS account that contains the templates that you're listing.

                                                                                  */ - MaxResults?: number; + AwsAccountId: string | undefined; /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + *

                                                                                  The ID for the template.

                                                                                  */ - NextToken?: string; + TemplateId: string | undefined; /** - *

                                                                                  The ID for the template.

                                                                                  + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ - TemplateId: string | undefined; + NextToken?: string; /** - *

                                                                                  The ID of the AWS account that contains the templates that you're listing.

                                                                                  + *

                                                                                  The maximum number of results to be returned per request.

                                                                                  */ - AwsAccountId: string | undefined; + MaxResults?: number; } export namespace ListTemplateVersionsRequest { @@ -186,9 +239,9 @@ export namespace ListTemplateVersionsRequest { */ export interface TemplateVersionSummary { /** - *

                                                                                  The status of the template version.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the template version.

                                                                                  */ - Status?: ResourceStatus | string; + Arn?: string; /** *

                                                                                  The version number of the template version.

                                                                                  @@ -196,19 +249,19 @@ export interface TemplateVersionSummary { VersionNumber?: number; /** - *

                                                                                  The Amazon Resource Name (ARN) of the template version.

                                                                                  + *

                                                                                  The time that this template version was created.

                                                                                  */ - Arn?: string; + CreatedTime?: Date; /** - *

                                                                                  The description of the template version.

                                                                                  + *

                                                                                  The status of the template version.

                                                                                  */ - Description?: string; + Status?: ResourceStatus | string; /** - *

                                                                                  The time that this template version was created.

                                                                                  + *

                                                                                  The description of the template version.

                                                                                  */ - CreatedTime?: Date; + Description?: string; } export namespace TemplateVersionSummary { @@ -218,11 +271,6 @@ export namespace TemplateVersionSummary { } export interface ListTemplateVersionsResponse { - /** - *

                                                                                  The HTTP status of the request.

                                                                                  - */ - Status?: number; - /** *

                                                                                  A structure containing a list of all the versions of the specified template.

                                                                                  */ @@ -233,6 +281,11 @@ export interface ListTemplateVersionsResponse { */ NextToken?: string; + /** + *

                                                                                  The HTTP status of the request.

                                                                                  + */ + Status?: number; + /** *

                                                                                  The AWS request ID for this operation.

                                                                                  */ @@ -247,9 +300,9 @@ export namespace ListTemplateVersionsResponse { export interface ListThemeAliasesRequest { /** - *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + *

                                                                                  The ID of the AWS account that contains the theme aliases that you're listing.

                                                                                  */ - MaxResults?: number; + AwsAccountId: string | undefined; /** *

                                                                                  The ID for the theme.

                                                                                  @@ -262,9 +315,9 @@ export interface ListThemeAliasesRequest { NextToken?: string; /** - *

                                                                                  The ID of the AWS account that contains the theme aliases that you're listing.

                                                                                  + *

                                                                                  The maximum number of results to be returned per request.

                                                                                  */ - AwsAccountId: string | undefined; + MaxResults?: number; } export namespace ListThemeAliasesRequest { @@ -275,9 +328,9 @@ export namespace ListThemeAliasesRequest { export interface ListThemeAliasesResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  A structure containing the list of the theme's aliases.

                                                                                  */ - RequestId?: string; + ThemeAliasList?: ThemeAlias[]; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -285,9 +338,9 @@ export interface ListThemeAliasesResponse { Status?: number; /** - *

                                                                                  A structure containing the list of the theme's aliases.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - ThemeAliasList?: ThemeAlias[]; + RequestId?: string; /** *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  @@ -302,6 +355,21 @@ export namespace ListThemeAliasesResponse { } export interface ListThemesRequest { + /** + *

                                                                                  The ID of the AWS account that contains the themes that you're listing.

                                                                                  + */ + AwsAccountId: string | undefined; + + /** + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + */ + NextToken?: string; + + /** + *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + */ + MaxResults?: number; + /** *

                                                                                  The type of themes that you want to list. Valid options include the following:

                                                                                  *
                                                                                    @@ -320,21 +388,6 @@ export interface ListThemesRequest { *
                                                                                  */ Type?: ThemeType | string; - - /** - *

                                                                                  The ID of the AWS account that contains the themes that you're listing.

                                                                                  - */ - AwsAccountId: string | undefined; - - /** - *

                                                                                  The maximum number of results to be returned per request.

                                                                                  - */ - MaxResults?: number; - - /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  - */ - NextToken?: string; } export namespace ListThemesRequest { @@ -348,14 +401,14 @@ export namespace ListThemesRequest { */ export interface ThemeSummary { /** - *

                                                                                  the display name for the theme.

                                                                                  + *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  */ - Name?: string; + Arn?: string; /** - *

                                                                                  The last date and time that this theme was updated.

                                                                                  + *

                                                                                  the display name for the theme.

                                                                                  */ - LastUpdatedTime?: Date; + Name?: string; /** *

                                                                                  The ID of the theme. This ID is unique per AWS Region for each AWS account.

                                                                                  @@ -373,9 +426,9 @@ export interface ThemeSummary { CreatedTime?: Date; /** - *

                                                                                  The Amazon Resource Name (ARN) of the resource.

                                                                                  + *

                                                                                  The last date and time that this theme was updated.

                                                                                  */ - Arn?: string; + LastUpdatedTime?: Date; } export namespace ThemeSummary { @@ -386,14 +439,14 @@ export namespace ThemeSummary { export interface ListThemesResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  Information about the themes in the list.

                                                                                  */ - RequestId?: string; + ThemeSummaryList?: ThemeSummary[]; /** - *

                                                                                  Information about the themes in the list.

                                                                                  + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  */ - ThemeSummaryList?: ThemeSummary[]; + NextToken?: string; /** *

                                                                                  The HTTP status of the request.

                                                                                  @@ -401,9 +454,9 @@ export interface ListThemesResponse { Status?: number; /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - NextToken?: string; + RequestId?: string; } export namespace ListThemesResponse { @@ -414,14 +467,14 @@ export namespace ListThemesResponse { export interface ListThemeVersionsRequest { /** - *

                                                                                  The ID for the theme.

                                                                                  + *

                                                                                  The ID of the AWS account that contains the themes that you're listing.

                                                                                  */ - ThemeId: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                  The maximum number of results to be returned per request.

                                                                                  + *

                                                                                  The ID for the theme.

                                                                                  */ - MaxResults?: number; + ThemeId: string | undefined; /** *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  @@ -429,9 +482,9 @@ export interface ListThemeVersionsRequest { NextToken?: string; /** - *

                                                                                  The ID of the AWS account that contains the themes that you're listing.

                                                                                  + *

                                                                                  The maximum number of results to be returned per request.

                                                                                  */ - AwsAccountId: string | undefined; + MaxResults?: number; } export namespace ListThemeVersionsRequest { @@ -445,9 +498,9 @@ export namespace ListThemeVersionsRequest { */ export interface ThemeVersionSummary { /** - *

                                                                                  The date and time that this theme version was created.

                                                                                  + *

                                                                                  The version number of the theme version.

                                                                                  */ - CreatedTime?: Date; + VersionNumber?: number; /** *

                                                                                  The Amazon Resource Name (ARN) of the theme version.

                                                                                  @@ -460,14 +513,14 @@ export interface ThemeVersionSummary { Description?: string; /** - *

                                                                                  The status of the theme version.

                                                                                  + *

                                                                                  The date and time that this theme version was created.

                                                                                  */ - Status?: ResourceStatus | string; + CreatedTime?: Date; /** - *

                                                                                  The version number of the theme version.

                                                                                  + *

                                                                                  The status of the theme version.

                                                                                  */ - VersionNumber?: number; + Status?: ResourceStatus | string; } export namespace ThemeVersionSummary { @@ -482,6 +535,11 @@ export interface ListThemeVersionsResponse { */ ThemeVersionSummaryList?: ThemeVersionSummary[]; + /** + *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  + */ + NextToken?: string; + /** *

                                                                                  The HTTP status of the request.

                                                                                  */ @@ -491,11 +549,6 @@ export interface ListThemeVersionsResponse { *

                                                                                  The AWS request ID for this operation.

                                                                                  */ RequestId?: string; - - /** - *

                                                                                  The token for the next set of results, or null if there are no more results.

                                                                                  - */ - NextToken?: string; } export namespace ListThemeVersionsResponse { @@ -511,25 +564,25 @@ export interface ListUserGroupsRequest { UserName: string | undefined; /** - *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  + *

                                                                                  The AWS account ID that the user is in. Currently, you use the ID for the AWS account + * that contains your Amazon QuickSight account.

                                                                                  */ - NextToken?: string; + AwsAccountId: string | undefined; /** - *

                                                                                  The maximum number of results to return from this request.

                                                                                  + *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  */ - MaxResults?: number; + Namespace: string | undefined; /** - *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  + *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  */ - Namespace: string | undefined; + NextToken?: string; /** - *

                                                                                  The AWS account ID that the user is in. Currently, you use the ID for the AWS account - * that contains your Amazon QuickSight account.

                                                                                  + *

                                                                                  The maximum number of results to return from this request.

                                                                                  */ - AwsAccountId: string | undefined; + MaxResults?: number; } export namespace ListUserGroupsRequest { @@ -540,24 +593,24 @@ export namespace ListUserGroupsRequest { export interface ListUserGroupsResponse { /** - *

                                                                                  The AWS request ID for this operation.

                                                                                  + *

                                                                                  The list of groups the user is a member of.

                                                                                  */ - RequestId?: string; + GroupList?: Group[]; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  */ - Status?: number; + NextToken?: string; /** - *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  + *

                                                                                  The AWS request ID for this operation.

                                                                                  */ - NextToken?: string; + RequestId?: string; /** - *

                                                                                  The list of groups the user is a member of.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - GroupList?: Group[]; + Status?: number; } export namespace ListUserGroupsResponse { @@ -568,25 +621,25 @@ export namespace ListUserGroupsResponse { export interface ListUsersRequest { /** - *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  + *

                                                                                  The ID for the AWS account that the user is in. Currently, you use the ID for the AWS + * account that contains your Amazon QuickSight account.

                                                                                  */ - NextToken?: string; + AwsAccountId: string | undefined; /** - *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  + *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  */ - Namespace: string | undefined; + NextToken?: string; /** - *

                                                                                  The ID for the AWS account that the user is in. Currently, you use the ID for the AWS - * account that contains your Amazon QuickSight account.

                                                                                  + *

                                                                                  The maximum number of results to return from this request.

                                                                                  */ - AwsAccountId: string | undefined; + MaxResults?: number; /** - *

                                                                                  The maximum number of results to return from this request.

                                                                                  + *

                                                                                  The namespace. Currently, you should set this to default.

                                                                                  */ - MaxResults?: number; + Namespace: string | undefined; } export namespace ListUsersRequest { @@ -597,14 +650,14 @@ export namespace ListUsersRequest { export interface ListUsersResponse { /** - *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  + *

                                                                                  The list of users.

                                                                                  */ - NextToken?: string; + UserList?: User[]; /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  A pagination token that can be used in a subsequent request.

                                                                                  */ - Status?: number; + NextToken?: string; /** *

                                                                                  The AWS request ID for this operation.

                                                                                  @@ -612,9 +665,9 @@ export interface ListUsersResponse { RequestId?: string; /** - *

                                                                                  The list of users.

                                                                                  + *

                                                                                  The HTTP status of the request.

                                                                                  */ - UserList?: User[]; + Status?: number; } export namespace ListUsersResponse { @@ -625,55 +678,27 @@ export namespace ListUsersResponse { export interface RegisterUserRequest { /** - *

                                                                                  You need to use this parameter only when you register one or more users using an assumed - * IAM role. You don't need to provide the session name for other scenarios, for example when - * you are registering an IAM user or an Amazon QuickSight user. You can register multiple - * users using the same IAM role if each user has a different session name. For more - * information on assuming IAM roles, see - * assume-role - * in the AWS CLI Reference. - *

                                                                                  - */ - SessionName?: string; - - /** - *

                                                                                  (Enterprise edition only) The name of the custom permissions profile that you want to - * assign to this user. Customized permissions allows you to control a user's access by - * restricting access the following operations:

                                                                                  - *
                                                                                    - *
                                                                                  • - *

                                                                                    Create and update data sources

                                                                                    - *
                                                                                  • - *
                                                                                  • - *

                                                                                    Create and update datasets

                                                                                    - *
                                                                                  • + *

                                                                                    Amazon QuickSight supports several ways of managing the identity of users. This + * parameter accepts two values:

                                                                                    + *
                                                                                      *
                                                                                    • - *

                                                                                      Create and update email reports

                                                                                      - *
                                                                                    • + *

                                                                                      + * IAM: A user whose identity maps to an existing IAM user or role. + *

                                                                                      + * *
                                                                                    • - *

                                                                                      Subscribe to email reports

                                                                                      - *
                                                                                    • + *

                                                                                      + * QUICKSIGHT: A user whose identity is owned and managed internally by + * Amazon QuickSight.

                                                                                      + * *
                                                                                    - *

                                                                                    To add custom permissions to an existing user, use - * UpdateUser - * instead.

                                                                                    - *

                                                                                    A set of custom permissions includes any combination of these restrictions. Currently, - * you need to create the profile names for custom permission sets by using the QuickSight - * console. Then, you use the RegisterUser API operation to assign the named set of - * permissions to a QuickSight user.

                                                                                    - *

                                                                                    QuickSight custom permissions are applied through IAM policies. Therefore, they - * override the permissions typically granted by assigning QuickSight users to one of the - * default security cohorts in QuickSight (admin, author, reader).

                                                                                    - *

                                                                                    This feature is available only to QuickSight Enterprise edition subscriptions that use - * SAML 2.0-Based Federation for Single Sign-On (SSO).

                                                                                    */ - CustomPermissionsName?: string; + IdentityType: IdentityType | string | undefined; /** - *

                                                                                    The Amazon QuickSight user name that you want to create for the user you are - * registering.

                                                                                    + *

                                                                                    The email address of the user that you want to register.

                                                                                    */ - UserName?: string; + Email: string | undefined; /** *

                                                                                    The Amazon QuickSight role for the user. The user role can be one of the @@ -708,14 +733,27 @@ export interface RegisterUserRequest { UserRole: UserRole | string | undefined; /** - *

                                                                                    The email address of the user that you want to register.

                                                                                    + *

                                                                                    The ARN of the IAM user or role that you are registering with Amazon QuickSight.

                                                                                    */ - Email: string | undefined; + IamArn?: string; /** - *

                                                                                    The ARN of the IAM user or role that you are registering with Amazon QuickSight.

                                                                                    + *

                                                                                    You need to use this parameter only when you register one or more users using an assumed + * IAM role. You don't need to provide the session name for other scenarios, for example when + * you are registering an IAM user or an Amazon QuickSight user. You can register multiple + * users using the same IAM role if each user has a different session name. For more + * information on assuming IAM roles, see + * assume-role + * in the AWS CLI Reference. + *

                                                                                    */ - IamArn?: string; + SessionName?: string; + + /** + *

                                                                                    The ID for the AWS account that the user is in. Currently, you use the ID for the AWS + * account that contains your Amazon QuickSight account.

                                                                                    + */ + AwsAccountId: string | undefined; /** *

                                                                                    The namespace. Currently, you should set this to default.

                                                                                    @@ -723,28 +761,43 @@ export interface RegisterUserRequest { Namespace: string | undefined; /** - *

                                                                                    Amazon QuickSight supports several ways of managing the identity of users. This - * parameter accepts two values:

                                                                                    - *
                                                                                      - *
                                                                                    • - *

                                                                                      - * IAM: A user whose identity maps to an existing IAM user or role. - *

                                                                                      - *
                                                                                    • - *
                                                                                    • - *

                                                                                      - * QUICKSIGHT: A user whose identity is owned and managed internally by - * Amazon QuickSight.

                                                                                      - *
                                                                                    • - *
                                                                                    + *

                                                                                    The Amazon QuickSight user name that you want to create for the user you are + * registering.

                                                                                    */ - IdentityType: IdentityType | string | undefined; + UserName?: string; /** - *

                                                                                    The ID for the AWS account that the user is in. Currently, you use the ID for the AWS - * account that contains your Amazon QuickSight account.

                                                                                    + *

                                                                                    (Enterprise edition only) The name of the custom permissions profile that you want to + * assign to this user. Customized permissions allows you to control a user's access by + * restricting access the following operations:

                                                                                    + *
                                                                                      + *
                                                                                    • + *

                                                                                      Create and update data sources

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Create and update datasets

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Create and update email reports

                                                                                      + *
                                                                                    • + *
                                                                                    • + *

                                                                                      Subscribe to email reports

                                                                                      + *
                                                                                    • + *
                                                                                    + *

                                                                                    To add custom permissions to an existing user, use + * UpdateUser + * instead.

                                                                                    + *

                                                                                    A set of custom permissions includes any combination of these restrictions. Currently, + * you need to create the profile names for custom permission sets by using the QuickSight + * console. Then, you use the RegisterUser API operation to assign the named set of + * permissions to a QuickSight user.

                                                                                    + *

                                                                                    QuickSight custom permissions are applied through IAM policies. Therefore, they + * override the permissions typically granted by assigning QuickSight users to one of the + * default security cohorts in QuickSight (admin, author, reader).

                                                                                    + *

                                                                                    This feature is available only to QuickSight Enterprise edition subscriptions that use + * SAML 2.0-Based Federation for Single Sign-On (SSO).

                                                                                    */ - AwsAccountId: string | undefined; + CustomPermissionsName?: string; } export namespace RegisterUserRequest { @@ -755,9 +808,9 @@ export namespace RegisterUserRequest { export interface RegisterUserResponse { /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The user's user name.

                                                                                    */ - Status?: number; + User?: User; /** *

                                                                                    The URL the user visits to complete registration and provide a password. This is @@ -766,14 +819,14 @@ export interface RegisterUserResponse { UserInvitationUrl?: string; /** - *

                                                                                    The user's user name.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - User?: User; + RequestId?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - RequestId?: string; + Status?: number; } export namespace RegisterUserResponse { @@ -802,9 +855,9 @@ export namespace RestoreAnalysisRequest { export interface RestoreAnalysisResponse { /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - RequestId?: string; + Status?: number; /** *

                                                                                    The Amazon Resource Name (ARN) of the analysis that you're restoring.

                                                                                    @@ -818,9 +871,9 @@ export interface RestoreAnalysisResponse { AnalysisId?: string; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - Status?: number; + RequestId?: string; } export namespace RestoreAnalysisResponse { @@ -842,14 +895,14 @@ export interface SearchAnalysesRequest { Filters: AnalysisSearchFilter[] | undefined; /** - *

                                                                                    The maximum number of results to return.

                                                                                    + *

                                                                                    A pagination token that can be used in a subsequent request.

                                                                                    */ - MaxResults?: number; + NextToken?: string; /** - *

                                                                                    A pagination token that can be used in a subsequent request.

                                                                                    + *

                                                                                    The maximum number of results to return.

                                                                                    */ - NextToken?: string; + MaxResults?: number; } export namespace SearchAnalysesRequest { @@ -860,25 +913,25 @@ export namespace SearchAnalysesRequest { export interface SearchAnalysesResponse { /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    Metadata describing the analyses that you searched for.

                                                                                    */ - Status?: number; + AnalysisSummaryList?: AnalysisSummary[]; /** - *

                                                                                    Metadata describing the analyses that you searched for.

                                                                                    + *

                                                                                    A pagination token that can be used in a subsequent request. + *

                                                                                    */ - AnalysisSummaryList?: AnalysisSummary[]; + NextToken?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - RequestId?: string; + Status?: number; /** - *

                                                                                    A pagination token that can be used in a subsequent request. - *

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - NextToken?: string; + RequestId?: string; } export namespace SearchAnalysesResponse { @@ -888,22 +941,12 @@ export namespace SearchAnalysesResponse { } export interface SearchDashboardsRequest { - /** - *

                                                                                    The maximum number of results to be returned per request.

                                                                                    - */ - MaxResults?: number; - /** *

                                                                                    The ID of the AWS account that contains the user whose dashboards you're searching * for.

                                                                                    */ AwsAccountId: string | undefined; - /** - *

                                                                                    The token for the next set of results, or null if there are no more results.

                                                                                    - */ - NextToken?: string; - /** *

                                                                                    The filters to apply to the search. Currently, you can search only by user name, for * example, "Filters": [ { "Name": "QUICKSIGHT_USER", "Operator": "StringEquals", @@ -911,6 +954,16 @@ export interface SearchDashboardsRequest { *

                                                                                    */ Filters: DashboardSearchFilter[] | undefined; + + /** + *

                                                                                    The token for the next set of results, or null if there are no more results.

                                                                                    + */ + NextToken?: string; + + /** + *

                                                                                    The maximum number of results to be returned per request.

                                                                                    + */ + MaxResults?: number; } export namespace SearchDashboardsRequest { @@ -926,11 +979,6 @@ export interface SearchDashboardsResponse { */ DashboardSummaryList?: DashboardSummary[]; - /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    - */ - RequestId?: string; - /** *

                                                                                    The token for the next set of results, or null if there are no more results.

                                                                                    */ @@ -940,6 +988,11 @@ export interface SearchDashboardsResponse { *

                                                                                    The HTTP status of the request.

                                                                                    */ Status?: number; + + /** + *

                                                                                    The AWS request ID for this operation.

                                                                                    + */ + RequestId?: string; } export namespace SearchDashboardsResponse { @@ -950,14 +1003,14 @@ export namespace SearchDashboardsResponse { export interface TagResourceRequest { /** - *

                                                                                    Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the resource that you want to tag.

                                                                                    */ - Tags: Tag[] | undefined; + ResourceArn: string | undefined; /** - *

                                                                                    The Amazon Resource Name (ARN) of the resource that you want to tag.

                                                                                    + *

                                                                                    Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

                                                                                    */ - ResourceArn: string | undefined; + Tags: Tag[] | undefined; } export namespace TagResourceRequest { @@ -968,14 +1021,14 @@ export namespace TagResourceRequest { export interface TagResourceResponse { /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - Status?: number; + RequestId?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - RequestId?: string; + Status?: number; } export namespace TagResourceResponse { @@ -1021,6 +1074,12 @@ export namespace UntagResourceResponse { } export interface UpdateAccountCustomizationRequest { + /** + *

                                                                                    The ID for the AWS account that you want to update QuickSight customizations + * for.

                                                                                    + */ + AwsAccountId: string | undefined; + /** *

                                                                                    The namespace that you want to update QuickSight customizations for.

                                                                                    */ @@ -1030,12 +1089,6 @@ export interface UpdateAccountCustomizationRequest { *

                                                                                    The QuickSight customizations you're updating in the current AWS Region.

                                                                                    */ AccountCustomization: AccountCustomization | undefined; - - /** - *

                                                                                    The ID for the AWS account that you want to update QuickSight customizations - * for.

                                                                                    - */ - AwsAccountId: string | undefined; } export namespace UpdateAccountCustomizationRequest { @@ -1046,9 +1099,9 @@ export namespace UpdateAccountCustomizationRequest { export interface UpdateAccountCustomizationResponse { /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) for the updated customization for this AWS account.

                                                                                    */ - RequestId?: string; + Arn?: string; /** *

                                                                                    The ID for the AWS account that you want to update QuickSight customizations @@ -1056,11 +1109,6 @@ export interface UpdateAccountCustomizationResponse { */ AwsAccountId?: string; - /** - *

                                                                                    The Amazon Resource Name (ARN) for the updated customization for this AWS account.

                                                                                    - */ - Arn?: string; - /** *

                                                                                    The namespace associated with the customization that you're updating.

                                                                                    */ @@ -1071,6 +1119,11 @@ export interface UpdateAccountCustomizationResponse { */ AccountCustomization?: AccountCustomization; + /** + *

                                                                                    The AWS request ID for this operation.

                                                                                    + */ + RequestId?: string; + /** *

                                                                                    The HTTP status of the request.

                                                                                    */ @@ -1084,6 +1137,12 @@ export namespace UpdateAccountCustomizationResponse { } export interface UpdateAccountSettingsRequest { + /** + *

                                                                                    The ID for the AWS account that contains the QuickSight settings that you want to + * list.

                                                                                    + */ + AwsAccountId: string | undefined; + /** *

                                                                                    The default namespace for this AWS account. Currently, the default is * default. AWS Identity and Access Management (IAM) users that register @@ -1097,12 +1156,6 @@ export interface UpdateAccountSettingsRequest { * account or QuickSight subscription.

                                                                                    */ NotificationEmail?: string; - - /** - *

                                                                                    The ID for the AWS account that contains the QuickSight settings that you want to - * list.

                                                                                    - */ - AwsAccountId: string | undefined; } export namespace UpdateAccountSettingsRequest { @@ -1113,14 +1166,14 @@ export namespace UpdateAccountSettingsRequest { export interface UpdateAccountSettingsResponse { /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - Status?: number; + RequestId?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - RequestId?: string; + Status?: number; } export namespace UpdateAccountSettingsResponse { @@ -1131,16 +1184,9 @@ export namespace UpdateAccountSettingsResponse { export interface UpdateAnalysisRequest { /** - *

                                                                                    A source entity to use for the analysis that you're updating. This metadata structure - * contains details that describe a source template and one or more datasets.

                                                                                    - */ - SourceEntity: AnalysisSourceEntity | undefined; - - /** - *

                                                                                    A descriptive name for the analysis that you're updating. This name displays for the - * analysis in the QuickSight console.

                                                                                    + *

                                                                                    The ID of the AWS account that contains the analysis that you're updating.

                                                                                    */ - Name: string | undefined; + AwsAccountId: string | undefined; /** *

                                                                                    The ID for the analysis that you're updating. This ID displays in the URL of the @@ -1149,9 +1195,10 @@ export interface UpdateAnalysisRequest { AnalysisId: string | undefined; /** - *

                                                                                    The ID of the AWS account that contains the analysis that you're updating.

                                                                                    + *

                                                                                    A descriptive name for the analysis that you're updating. This name displays for the + * analysis in the QuickSight console.

                                                                                    */ - AwsAccountId: string | undefined; + Name: string | undefined; /** *

                                                                                    The parameter names and override values that you want to use. An analysis can have @@ -1159,6 +1206,12 @@ export interface UpdateAnalysisRequest { */ Parameters?: _Parameters; + /** + *

                                                                                    A source entity to use for the analysis that you're updating. This metadata structure + * contains details that describe a source template and one or more datasets.

                                                                                    + */ + SourceEntity: AnalysisSourceEntity | undefined; + /** *

                                                                                    The Amazon Resource Name (ARN) for the theme to apply to the analysis that you're * creating. To see the theme in the QuickSight console, make sure that you have access to @@ -1174,30 +1227,30 @@ export namespace UpdateAnalysisRequest { } export interface UpdateAnalysisResponse { - /** - *

                                                                                    The update status of the last update that was made to the analysis.

                                                                                    - */ - UpdateStatus?: ResourceStatus | string; - /** *

                                                                                    The ARN of the analysis that you're updating.

                                                                                    */ Arn?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The ID of the analysis.

                                                                                    */ - RequestId?: string; + AnalysisId?: string; /** - *

                                                                                    The ID of the analysis.

                                                                                    + *

                                                                                    The update status of the last update that was made to the analysis.

                                                                                    */ - AnalysisId?: string; + UpdateStatus?: ResourceStatus | string; /** *

                                                                                    The HTTP status of the request.

                                                                                    */ Status?: number; + + /** + *

                                                                                    The AWS request ID for this operation.

                                                                                    + */ + RequestId?: string; } export namespace UpdateAnalysisResponse { @@ -1207,18 +1260,18 @@ export namespace UpdateAnalysisResponse { } export interface UpdateAnalysisPermissionsRequest { - /** - *

                                                                                    The ID of the analysis whose permissions you're updating. The ID is part of the - * analysis URL.

                                                                                    - */ - AnalysisId: string | undefined; - /** *

                                                                                    The ID of the AWS account that contains the analysis whose permissions you're * updating. You must be using the AWS account that the analysis is in.

                                                                                    */ AwsAccountId: string | undefined; + /** + *

                                                                                    The ID of the analysis whose permissions you're updating. The ID is part of the + * analysis URL.

                                                                                    + */ + AnalysisId: string | undefined; + /** *

                                                                                    A structure that describes the permissions to add and the principal to add them * to.

                                                                                    @@ -1240,10 +1293,9 @@ export namespace UpdateAnalysisPermissionsRequest { export interface UpdateAnalysisPermissionsResponse { /** - *

                                                                                    A structure that describes the principals and the resource-level permissions on an - * analysis.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the analysis that you updated.

                                                                                    */ - Permissions?: ResourcePermission[]; + AnalysisArn?: string; /** *

                                                                                    The ID of the analysis that you updated permissions for.

                                                                                    @@ -1251,9 +1303,10 @@ export interface UpdateAnalysisPermissionsResponse { AnalysisId?: string; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    A structure that describes the principals and the resource-level permissions on an + * analysis.

                                                                                    */ - Status?: number; + Permissions?: ResourcePermission[]; /** *

                                                                                    The AWS request ID for this operation.

                                                                                    @@ -1261,9 +1314,9 @@ export interface UpdateAnalysisPermissionsResponse { RequestId?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the analysis that you updated.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - AnalysisArn?: string; + Status?: number; } export namespace UpdateAnalysisPermissionsResponse { @@ -1279,6 +1332,16 @@ export interface UpdateDashboardRequest { */ AwsAccountId: string | undefined; + /** + *

                                                                                    The ID for the dashboard.

                                                                                    + */ + DashboardId: string | undefined; + + /** + *

                                                                                    The display name of the dashboard.

                                                                                    + */ + Name: string | undefined; + /** *

                                                                                    The entity that you are using as a source when you update the dashboard. In * SourceEntity, you specify the type of object you're using as source. You @@ -1295,9 +1358,11 @@ export interface UpdateDashboardRequest { SourceEntity: DashboardSourceEntity | undefined; /** - *

                                                                                    The display name of the dashboard.

                                                                                    + *

                                                                                    A structure that contains the parameters of the dashboard. These are parameter + * overrides for a dashboard. A dashboard can have any type of parameters, and some + * parameters might accept multiple values.

                                                                                    */ - Name: string | undefined; + Parameters?: _Parameters; /** *

                                                                                    A description for the first version of the dashboard being created.

                                                                                    @@ -1339,18 +1404,6 @@ export interface UpdateDashboardRequest { * dashboard.

                                                                                    */ ThemeArn?: string; - - /** - *

                                                                                    The ID for the dashboard.

                                                                                    - */ - DashboardId: string | undefined; - - /** - *

                                                                                    A structure that contains the parameters of the dashboard. These are parameter - * overrides for a dashboard. A dashboard can have any type of parameters, and some - * parameters might accept multiple values.

                                                                                    - */ - Parameters?: _Parameters; } export namespace UpdateDashboardRequest { @@ -1361,14 +1414,14 @@ export namespace UpdateDashboardRequest { export interface UpdateDashboardResponse { /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the resource.

                                                                                    */ - RequestId?: string; + Arn?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the resource.

                                                                                    + *

                                                                                    The ARN of the dashboard, including the version number.

                                                                                    */ - Arn?: string; + VersionArn?: string; /** *

                                                                                    The ID for the dashboard.

                                                                                    @@ -1376,19 +1429,19 @@ export interface UpdateDashboardResponse { DashboardId?: string; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The creation status of the request.

                                                                                    */ - Status?: number; + CreationStatus?: ResourceStatus | string; /** - *

                                                                                    The ARN of the dashboard, including the version number.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - VersionArn?: string; + Status?: number; /** - *

                                                                                    The creation status of the request.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - CreationStatus?: ResourceStatus | string; + RequestId?: string; } export namespace UpdateDashboardResponse { @@ -1397,7 +1450,13 @@ export namespace UpdateDashboardResponse { }); } -export interface UpdateDashboardPermissionsRequest { +export interface UpdateDashboardPermissionsRequest { + /** + *

                                                                                    The ID of the AWS account that contains the dashboard whose permissions you're + * updating.

                                                                                    + */ + AwsAccountId: string | undefined; + /** *

                                                                                    The ID for the dashboard.

                                                                                    */ @@ -1412,12 +1471,6 @@ export interface UpdateDashboardPermissionsRequest { *

                                                                                    The permissions that you want to revoke from this resource.

                                                                                    */ RevokePermissions?: ResourcePermission[]; - - /** - *

                                                                                    The ID of the AWS account that contains the dashboard whose permissions you're - * updating.

                                                                                    - */ - AwsAccountId: string | undefined; } export namespace UpdateDashboardPermissionsRequest { @@ -1428,19 +1481,19 @@ export namespace UpdateDashboardPermissionsRequest { export interface UpdateDashboardPermissionsResponse { /** - *

                                                                                    Information about the permissions on the dashboard.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the dashboard.

                                                                                    */ - Permissions?: ResourcePermission[]; + DashboardArn?: string; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The ID for the dashboard.

                                                                                    */ - Status?: number; + DashboardId?: string; /** - *

                                                                                    The ID for the dashboard.

                                                                                    + *

                                                                                    Information about the permissions on the dashboard.

                                                                                    */ - DashboardId?: string; + Permissions?: ResourcePermission[]; /** *

                                                                                    The AWS request ID for this operation.

                                                                                    @@ -1448,9 +1501,9 @@ export interface UpdateDashboardPermissionsResponse { RequestId?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the dashboard.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - DashboardArn?: string; + Status?: number; } export namespace UpdateDashboardPermissionsResponse { @@ -1461,9 +1514,10 @@ export namespace UpdateDashboardPermissionsResponse { export interface UpdateDashboardPublishedVersionRequest { /** - *

                                                                                    The version number of the dashboard.

                                                                                    + *

                                                                                    The ID of the AWS account that contains the dashboard that you're + * updating.

                                                                                    */ - VersionNumber: number | undefined; + AwsAccountId: string | undefined; /** *

                                                                                    The ID for the dashboard.

                                                                                    @@ -1471,10 +1525,9 @@ export interface UpdateDashboardPublishedVersionRequest { DashboardId: string | undefined; /** - *

                                                                                    The ID of the AWS account that contains the dashboard that you're - * updating.

                                                                                    + *

                                                                                    The version number of the dashboard.

                                                                                    */ - AwsAccountId: string | undefined; + VersionNumber: number | undefined; } export namespace UpdateDashboardPublishedVersionRequest { @@ -1490,9 +1543,9 @@ export interface UpdateDashboardPublishedVersionResponse { DashboardId?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the dashboard.

                                                                                    */ - RequestId?: string; + DashboardArn?: string; /** *

                                                                                    The HTTP status of the request.

                                                                                    @@ -1500,9 +1553,9 @@ export interface UpdateDashboardPublishedVersionResponse { Status?: number; /** - *

                                                                                    The Amazon Resource Name (ARN) of the dashboard.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - DashboardArn?: string; + RequestId?: string; } export namespace UpdateDashboardPublishedVersionResponse { @@ -1513,14 +1566,9 @@ export namespace UpdateDashboardPublishedVersionResponse { export interface UpdateDataSetRequest { /** - *

                                                                                    Declares the physical tables that are available in the underlying data sources.

                                                                                    - */ - PhysicalTableMap: { [key: string]: PhysicalTable } | undefined; - - /** - *

                                                                                    Groupings of columns that work together in certain QuickSight features. Currently, only geospatial hierarchy is supported.

                                                                                    + *

                                                                                    The AWS account ID.

                                                                                    */ - ColumnGroups?: ColumnGroup[]; + AwsAccountId: string | undefined; /** *

                                                                                    The ID for the dataset that you want to update. This ID is unique per AWS Region for each @@ -1529,29 +1577,41 @@ export interface UpdateDataSetRequest { DataSetId: string | undefined; /** - *

                                                                                    Configures the combination and transformation of the data from the physical tables.

                                                                                    + *

                                                                                    The display name for the dataset.

                                                                                    */ - LogicalTableMap?: { [key: string]: LogicalTable }; + Name: string | undefined; /** - *

                                                                                    The display name for the dataset.

                                                                                    + *

                                                                                    Declares the physical tables that are available in the underlying data sources.

                                                                                    */ - Name: string | undefined; + PhysicalTableMap: { [key: string]: PhysicalTable } | undefined; /** - *

                                                                                    The AWS account ID.

                                                                                    + *

                                                                                    Configures the combination and transformation of the data from the physical tables.

                                                                                    */ - AwsAccountId: string | undefined; + LogicalTableMap?: { [key: string]: LogicalTable }; /** *

                                                                                    Indicates whether you want to import the data into SPICE.

                                                                                    */ ImportMode: DataSetImportMode | string | undefined; + /** + *

                                                                                    Groupings of columns that work together in certain QuickSight features. Currently, only geospatial hierarchy is supported.

                                                                                    + */ + ColumnGroups?: ColumnGroup[]; + /** *

                                                                                    The row-level security configuration for the data you want to create.

                                                                                    */ RowLevelPermissionDataSet?: RowLevelPermissionDataSet; + + /** + *

                                                                                    A set of one or more definitions of a + * ColumnLevelPermissionRule + * .

                                                                                    + */ + ColumnLevelPermissionRules?: ColumnLevelPermissionRule[]; } export namespace UpdateDataSetRequest { @@ -1562,25 +1622,20 @@ export namespace UpdateDataSetRequest { export interface UpdateDataSetResponse { /** - *

                                                                                    The ARN for the ingestion, which is triggered as a result of dataset creation if the import - * mode is SPICE.

                                                                                    - */ - IngestionArn?: string; - - /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the dataset.

                                                                                    */ - Status?: number; + Arn?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                    */ - RequestId?: string; + DataSetId?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the dataset.

                                                                                    + *

                                                                                    The ARN for the ingestion, which is triggered as a result of dataset creation if the import + * mode is SPICE.

                                                                                    */ - Arn?: string; + IngestionArn?: string; /** *

                                                                                    The ID of the ingestion, which is triggered as a result of dataset creation if the import @@ -1589,9 +1644,14 @@ export interface UpdateDataSetResponse { IngestionId?: string; /** - *

                                                                                    The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - DataSetId?: string; + RequestId?: string; + + /** + *

                                                                                    The HTTP status of the request.

                                                                                    + */ + Status?: number; } export namespace UpdateDataSetResponse { @@ -1602,25 +1662,25 @@ export namespace UpdateDataSetResponse { export interface UpdateDataSetPermissionsRequest { /** - *

                                                                                    The resource permissions that you want to revoke from the dataset.

                                                                                    + *

                                                                                    The AWS account ID.

                                                                                    */ - RevokePermissions?: ResourcePermission[]; + AwsAccountId: string | undefined; /** - *

                                                                                    The resource permissions that you want to grant to the dataset.

                                                                                    + *

                                                                                    The ID for the dataset whose permissions you want to update. This ID is unique per AWS + * Region for each AWS account.

                                                                                    */ - GrantPermissions?: ResourcePermission[]; + DataSetId: string | undefined; /** - *

                                                                                    The AWS account ID.

                                                                                    + *

                                                                                    The resource permissions that you want to grant to the dataset.

                                                                                    */ - AwsAccountId: string | undefined; + GrantPermissions?: ResourcePermission[]; /** - *

                                                                                    The ID for the dataset whose permissions you want to update. This ID is unique per AWS - * Region for each AWS account.

                                                                                    + *

                                                                                    The resource permissions that you want to revoke from the dataset.

                                                                                    */ - DataSetId: string | undefined; + RevokePermissions?: ResourcePermission[]; } export namespace UpdateDataSetPermissionsRequest { @@ -1635,6 +1695,12 @@ export interface UpdateDataSetPermissionsResponse { */ DataSetArn?: string; + /** + *

                                                                                    The ID for the dataset whose permissions you want to update. This ID is unique per AWS + * Region for each AWS account.

                                                                                    + */ + DataSetId?: string; + /** *

                                                                                    The AWS request ID for this operation.

                                                                                    */ @@ -1644,12 +1710,6 @@ export interface UpdateDataSetPermissionsResponse { *

                                                                                    The HTTP status of the request.

                                                                                    */ Status?: number; - - /** - *

                                                                                    The ID for the dataset whose permissions you want to update. This ID is unique per AWS - * Region for each AWS account.

                                                                                    - */ - DataSetId?: string; } export namespace UpdateDataSetPermissionsResponse { @@ -1665,37 +1725,37 @@ export interface UpdateDataSourceRequest { AwsAccountId: string | undefined; /** - *

                                                                                    The credentials that QuickSight that uses to connect to your underlying source. Currently, - * only credentials based on user name and password are supported.

                                                                                    + *

                                                                                    The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                    */ - Credentials?: DataSourceCredentials; + DataSourceId: string | undefined; /** - *

                                                                                    Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying - * source.

                                                                                    + *

                                                                                    A display name for the data source.

                                                                                    */ - SslProperties?: SslProperties; + Name: string | undefined; /** - *

                                                                                    A display name for the data source.

                                                                                    + *

                                                                                    The parameters that QuickSight uses to connect to your underlying source.

                                                                                    */ - Name: string | undefined; + DataSourceParameters?: DataSourceParameters; /** - *

                                                                                    Use this parameter only when you want QuickSight to use a VPC connection when connecting to - * your underlying source.

                                                                                    + *

                                                                                    The credentials that QuickSight that uses to connect to your underlying source. Currently, + * only credentials based on user name and password are supported.

                                                                                    */ - VpcConnectionProperties?: VpcConnectionProperties; + Credentials?: DataSourceCredentials; /** - *

                                                                                    The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                    + *

                                                                                    Use this parameter only when you want QuickSight to use a VPC connection when connecting to + * your underlying source.

                                                                                    */ - DataSourceId: string | undefined; + VpcConnectionProperties?: VpcConnectionProperties; /** - *

                                                                                    The parameters that QuickSight uses to connect to your underlying source.

                                                                                    + *

                                                                                    Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying + * source.

                                                                                    */ - DataSourceParameters?: DataSourceParameters; + SslProperties?: SslProperties; } export namespace UpdateDataSourceRequest { @@ -1707,9 +1767,9 @@ export namespace UpdateDataSourceRequest { export interface UpdateDataSourceResponse { /** - *

                                                                                    The update status of the data source's last update.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the data source.

                                                                                    */ - UpdateStatus?: ResourceStatus | string; + Arn?: string; /** *

                                                                                    The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                    @@ -1717,14 +1777,14 @@ export interface UpdateDataSourceResponse { DataSourceId?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The update status of the data source's last update.

                                                                                    */ - RequestId?: string; + UpdateStatus?: ResourceStatus | string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the data source.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - Arn?: string; + RequestId?: string; /** *

                                                                                    The HTTP status of the request.

                                                                                    @@ -1740,24 +1800,24 @@ export namespace UpdateDataSourceResponse { export interface UpdateDataSourcePermissionsRequest { /** - *

                                                                                    A list of resource permissions that you want to revoke on the data source.

                                                                                    + *

                                                                                    The AWS account ID.

                                                                                    */ - RevokePermissions?: ResourcePermission[]; + AwsAccountId: string | undefined; /** - *

                                                                                    A list of resource permissions that you want to grant on the data source.

                                                                                    + *

                                                                                    The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                    */ - GrantPermissions?: ResourcePermission[]; + DataSourceId: string | undefined; /** - *

                                                                                    The AWS account ID.

                                                                                    + *

                                                                                    A list of resource permissions that you want to grant on the data source.

                                                                                    */ - AwsAccountId: string | undefined; + GrantPermissions?: ResourcePermission[]; /** - *

                                                                                    The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                    + *

                                                                                    A list of resource permissions that you want to revoke on the data source.

                                                                                    */ - DataSourceId: string | undefined; + RevokePermissions?: ResourcePermission[]; } export namespace UpdateDataSourcePermissionsRequest { @@ -1768,14 +1828,14 @@ export namespace UpdateDataSourcePermissionsRequest { export interface UpdateDataSourcePermissionsResponse { /** - *

                                                                                    The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the data source.

                                                                                    */ - DataSourceId?: string; + DataSourceArn?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the data source.

                                                                                    + *

                                                                                    The ID of the data source. This ID is unique per AWS Region for each AWS account.

                                                                                    */ - DataSourceArn?: string; + DataSourceId?: string; /** *

                                                                                    The AWS request ID for this operation.

                                                                                    @@ -1796,25 +1856,25 @@ export namespace UpdateDataSourcePermissionsResponse { export interface UpdateGroupRequest { /** - *

                                                                                    The ID for the AWS account that the group is in. Currently, you use the ID for the AWS - * account that contains your Amazon QuickSight account.

                                                                                    + *

                                                                                    The name of the group that you want to update.

                                                                                    */ - AwsAccountId: string | undefined; + GroupName: string | undefined; /** - *

                                                                                    The namespace. Currently, you should set this to default.

                                                                                    + *

                                                                                    The description for the group that you want to update.

                                                                                    */ - Namespace: string | undefined; + Description?: string; /** - *

                                                                                    The name of the group that you want to update.

                                                                                    + *

                                                                                    The ID for the AWS account that the group is in. Currently, you use the ID for the AWS + * account that contains your Amazon QuickSight account.

                                                                                    */ - GroupName: string | undefined; + AwsAccountId: string | undefined; /** - *

                                                                                    The description for the group that you want to update.

                                                                                    + *

                                                                                    The namespace. Currently, you should set this to default.

                                                                                    */ - Description?: string; + Namespace: string | undefined; } export namespace UpdateGroupRequest { @@ -1824,6 +1884,11 @@ export namespace UpdateGroupRequest { } export interface UpdateGroupResponse { + /** + *

                                                                                    The name of the group.

                                                                                    + */ + Group?: Group; + /** *

                                                                                    The AWS request ID for this operation.

                                                                                    */ @@ -1833,11 +1898,6 @@ export interface UpdateGroupResponse { *

                                                                                    The HTTP status of the request.

                                                                                    */ Status?: number; - - /** - *

                                                                                    The name of the group.

                                                                                    - */ - Group?: Group; } export namespace UpdateGroupResponse { @@ -1848,30 +1908,19 @@ export namespace UpdateGroupResponse { export interface UpdateIAMPolicyAssignmentRequest { /** - *

                                                                                    The ID of the AWS account that contains the IAM policy assignment.

                                                                                    + *

                                                                                    The ID of the AWS account that contains the IAM policy assignment.

                                                                                    */ AwsAccountId: string | undefined; /** - *

                                                                                    The namespace of the assignment.

                                                                                    - */ - Namespace: string | undefined; - - /** - *

                                                                                    The QuickSight users, groups, or both that you want to assign the policy to.

                                                                                    - */ - Identities?: { [key: string]: string[] }; - - /** - *

                                                                                    The ARN for the IAM policy to apply to the QuickSight users and groups - * specified in this assignment.

                                                                                    + *

                                                                                    The name of the assignment, also called a rule. This name must be unique within an AWS account.

                                                                                    */ - PolicyArn?: string; + AssignmentName: string | undefined; /** - *

                                                                                    The name of the assignment. This name must be unique within an AWS account.

                                                                                    + *

                                                                                    The namespace of the assignment.

                                                                                    */ - AssignmentName: string | undefined; + Namespace: string | undefined; /** *

                                                                                    The status of the assignment. Possible values are as follows:

                                                                                    @@ -1893,6 +1942,17 @@ export interface UpdateIAMPolicyAssignmentRequest { *
                                                                                  */ AssignmentStatus?: AssignmentStatus | string; + + /** + *

                                                                                  The ARN for the IAM policy to apply to the QuickSight users and groups + * specified in this assignment.

                                                                                  + */ + PolicyArn?: string; + + /** + *

                                                                                  The QuickSight users, groups, or both that you want to assign the policy to.

                                                                                  + */ + Identities?: { [key: string]: string[] }; } export namespace UpdateIAMPolicyAssignmentRequest { @@ -1903,9 +1963,14 @@ export namespace UpdateIAMPolicyAssignmentRequest { export interface UpdateIAMPolicyAssignmentResponse { /** - *

                                                                                  The HTTP status of the request.

                                                                                  + *

                                                                                  The name of the assignment or rule.

                                                                                  + */ + AssignmentName?: string; + + /** + *

                                                                                  The ID of the assignment.

                                                                                  */ - Status?: number; + AssignmentId?: string; /** *

                                                                                  The ARN for the IAM policy applied to the QuickSight users and groups specified in this @@ -1913,6 +1978,11 @@ export interface UpdateIAMPolicyAssignmentResponse { */ PolicyArn?: string; + /** + *

                                                                                  The QuickSight users, groups, or both that the IAM policy is assigned to.

                                                                                  + */ + Identities?: { [key: string]: string[] }; + /** *

                                                                                  The status of the assignment. Possible values are as follows:

                                                                                  *
                                                                                    @@ -1934,25 +2004,15 @@ export interface UpdateIAMPolicyAssignmentResponse { */ AssignmentStatus?: AssignmentStatus | string; - /** - *

                                                                                    The name of the assignment.

                                                                                    - */ - AssignmentName?: string; - - /** - *

                                                                                    The ID of the assignment.

                                                                                    - */ - AssignmentId?: string; - /** *

                                                                                    The AWS request ID for this operation.

                                                                                    */ RequestId?: string; /** - *

                                                                                    The QuickSight users, groups, or both that the IAM policy is assigned to.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - Identities?: { [key: string]: string[] }; + Status?: number; } export namespace UpdateIAMPolicyAssignmentResponse { @@ -1962,28 +2022,15 @@ export namespace UpdateIAMPolicyAssignmentResponse { } export interface UpdateTemplateRequest { - /** - *

                                                                                    The ID for the template.

                                                                                    - */ - TemplateId: string | undefined; - - /** - *

                                                                                    The name for the template.

                                                                                    - */ - Name?: string; - /** *

                                                                                    The ID of the AWS account that contains the template that you're updating.

                                                                                    */ AwsAccountId: string | undefined; /** - *

                                                                                    A description of the current template version that is being updated. Every time you call - * UpdateTemplate, you create a new version of the template. Each version - * of the template maintains a description of the version in the - * VersionDescription field.

                                                                                    + *

                                                                                    The ID for the template.

                                                                                    */ - VersionDescription?: string; + TemplateId: string | undefined; /** *

                                                                                    The entity that you are using as a source when you update the template. In @@ -1998,6 +2045,19 @@ export interface UpdateTemplateRequest { * in the original. The schema in each dataset must match its placeholder.

                                                                                    */ SourceEntity: TemplateSourceEntity | undefined; + + /** + *

                                                                                    A description of the current template version that is being updated. Every time you call + * UpdateTemplate, you create a new version of the template. Each version + * of the template maintains a description of the version in the + * VersionDescription field.

                                                                                    + */ + VersionDescription?: string; + + /** + *

                                                                                    The name for the template.

                                                                                    + */ + Name?: string; } export namespace UpdateTemplateRequest { @@ -2008,14 +2068,14 @@ export namespace UpdateTemplateRequest { export interface UpdateTemplateResponse { /** - *

                                                                                    The creation status of the template.

                                                                                    + *

                                                                                    The ID for the template.

                                                                                    */ - CreationStatus?: ResourceStatus | string; + TemplateId?: string; /** - *

                                                                                    The ID for the template.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) for the template.

                                                                                    */ - TemplateId?: string; + Arn?: string; /** *

                                                                                    The ARN for the template, including the version information of the first version.

                                                                                    @@ -2023,19 +2083,19 @@ export interface UpdateTemplateResponse { VersionArn?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The creation status of the template.

                                                                                    */ - RequestId?: string; + CreationStatus?: ResourceStatus | string; /** - *

                                                                                    The Amazon Resource Name (ARN) for the template.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - Arn?: string; + Status?: number; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - Status?: number; + RequestId?: string; } export namespace UpdateTemplateResponse { @@ -2045,20 +2105,15 @@ export namespace UpdateTemplateResponse { } export interface UpdateTemplateAliasRequest { - /** - *

                                                                                    The ID for the template.

                                                                                    - */ - TemplateId: string | undefined; - /** *

                                                                                    The ID of the AWS account that contains the template alias that you're updating.

                                                                                    */ AwsAccountId: string | undefined; /** - *

                                                                                    The version number of the template.

                                                                                    + *

                                                                                    The ID for the template.

                                                                                    */ - TemplateVersionNumber: number | undefined; + TemplateId: string | undefined; /** *

                                                                                    The alias of the template that you want to update. If you name a specific alias, you update @@ -2067,6 +2122,11 @@ export interface UpdateTemplateAliasRequest { * The keyword $PUBLISHED doesn't apply to templates.

                                                                                    */ AliasName: string | undefined; + + /** + *

                                                                                    The version number of the template.

                                                                                    + */ + TemplateVersionNumber: number | undefined; } export namespace UpdateTemplateAliasRequest { @@ -2082,14 +2142,14 @@ export interface UpdateTemplateAliasResponse { TemplateAlias?: TemplateAlias; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - RequestId?: string; + Status?: number; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - Status?: number; + RequestId?: string; } export namespace UpdateTemplateAliasResponse { @@ -2099,11 +2159,6 @@ export namespace UpdateTemplateAliasResponse { } export interface UpdateTemplatePermissionsRequest { - /** - *

                                                                                    A list of resource permissions to be revoked from the template.

                                                                                    - */ - RevokePermissions?: ResourcePermission[]; - /** *

                                                                                    The ID of the AWS account that contains the template.

                                                                                    */ @@ -2118,6 +2173,11 @@ export interface UpdateTemplatePermissionsRequest { *

                                                                                    A list of resource permissions to be granted on the template.

                                                                                    */ GrantPermissions?: ResourcePermission[]; + + /** + *

                                                                                    A list of resource permissions to be revoked from the template.

                                                                                    + */ + RevokePermissions?: ResourcePermission[]; } export namespace UpdateTemplatePermissionsRequest { @@ -2127,15 +2187,20 @@ export namespace UpdateTemplatePermissionsRequest { } export interface UpdateTemplatePermissionsResponse { + /** + *

                                                                                    The ID for the template.

                                                                                    + */ + TemplateId?: string; + /** *

                                                                                    The Amazon Resource Name (ARN) of the template.

                                                                                    */ TemplateArn?: string; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    A list of resource permissions to be set on the template.

                                                                                    */ - Status?: number; + Permissions?: ResourcePermission[]; /** *

                                                                                    The AWS request ID for this operation.

                                                                                    @@ -2143,14 +2208,9 @@ export interface UpdateTemplatePermissionsResponse { RequestId?: string; /** - *

                                                                                    The ID for the template.

                                                                                    - */ - TemplateId?: string; - - /** - *

                                                                                    A list of resource permissions to be set on the template.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - Permissions?: ResourcePermission[]; + Status?: number; } export namespace UpdateTemplatePermissionsResponse { @@ -2161,20 +2221,25 @@ export namespace UpdateTemplatePermissionsResponse { export interface UpdateThemeRequest { /** - *

                                                                                    The theme configuration, which contains the theme display properties.

                                                                                    + *

                                                                                    The ID of the AWS account that contains the theme that you're updating.

                                                                                    */ - Configuration?: ThemeConfiguration; + AwsAccountId: string | undefined; /** - *

                                                                                    The theme ID, defined by Amazon QuickSight, that a custom theme inherits from. - * All themes initially inherit from a default QuickSight theme.

                                                                                    + *

                                                                                    The ID for the theme.

                                                                                    */ - BaseThemeId: string | undefined; + ThemeId: string | undefined; /** - *

                                                                                    The ID for the theme.

                                                                                    + *

                                                                                    The name for the theme.

                                                                                    */ - ThemeId: string | undefined; + Name?: string; + + /** + *

                                                                                    The theme ID, defined by Amazon QuickSight, that a custom theme inherits from. + * All themes initially inherit from a default QuickSight theme.

                                                                                    + */ + BaseThemeId: string | undefined; /** *

                                                                                    A description of the theme version that you're updating Every time that you call @@ -2184,14 +2249,9 @@ export interface UpdateThemeRequest { VersionDescription?: string; /** - *

                                                                                    The ID of the AWS account that contains the theme that you're updating.

                                                                                    - */ - AwsAccountId: string | undefined; - - /** - *

                                                                                    The name for the theme.

                                                                                    + *

                                                                                    The theme configuration, which contains the theme display properties.

                                                                                    */ - Name?: string; + Configuration?: ThemeConfiguration; } export namespace UpdateThemeRequest { @@ -2201,25 +2261,20 @@ export namespace UpdateThemeRequest { } export interface UpdateThemeResponse { - /** - *

                                                                                    The HTTP status of the request.

                                                                                    - */ - Status?: number; - /** *

                                                                                    The ID for the theme.

                                                                                    */ ThemeId?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) for the theme.

                                                                                    */ - RequestId?: string; + Arn?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) for the theme.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) for the new version of the theme.

                                                                                    */ - Arn?: string; + VersionArn?: string; /** *

                                                                                    The creation status of the theme.

                                                                                    @@ -2227,9 +2282,14 @@ export interface UpdateThemeResponse { CreationStatus?: ResourceStatus | string; /** - *

                                                                                    The Amazon Resource Name (ARN) for the new version of the theme.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - VersionArn?: string; + Status?: number; + + /** + *

                                                                                    The AWS request ID for this operation.

                                                                                    + */ + RequestId?: string; } export namespace UpdateThemeResponse { @@ -2240,9 +2300,9 @@ export namespace UpdateThemeResponse { export interface UpdateThemeAliasRequest { /** - *

                                                                                    The name of the theme alias that you want to update.

                                                                                    + *

                                                                                    The ID of the AWS account that contains the theme alias that you're updating.

                                                                                    */ - AliasName: string | undefined; + AwsAccountId: string | undefined; /** *

                                                                                    The ID for the theme.

                                                                                    @@ -2250,14 +2310,14 @@ export interface UpdateThemeAliasRequest { ThemeId: string | undefined; /** - *

                                                                                    The version number of the theme that the alias should reference.

                                                                                    + *

                                                                                    The name of the theme alias that you want to update.

                                                                                    */ - ThemeVersionNumber: number | undefined; + AliasName: string | undefined; /** - *

                                                                                    The ID of the AWS account that contains the theme alias that you're updating.

                                                                                    + *

                                                                                    The version number of the theme that the alias should reference.

                                                                                    */ - AwsAccountId: string | undefined; + ThemeVersionNumber: number | undefined; } export namespace UpdateThemeAliasRequest { @@ -2267,6 +2327,11 @@ export namespace UpdateThemeAliasRequest { } export interface UpdateThemeAliasResponse { + /** + *

                                                                                    Information about the theme alias.

                                                                                    + */ + ThemeAlias?: ThemeAlias; + /** *

                                                                                    The HTTP status of the request.

                                                                                    */ @@ -2276,11 +2341,6 @@ export interface UpdateThemeAliasResponse { *

                                                                                    The AWS request ID for this operation.

                                                                                    */ RequestId?: string; - - /** - *

                                                                                    Information about the theme alias.

                                                                                    - */ - ThemeAlias?: ThemeAlias; } export namespace UpdateThemeAliasResponse { @@ -2291,14 +2351,14 @@ export namespace UpdateThemeAliasResponse { export interface UpdateThemePermissionsRequest { /** - *

                                                                                    A list of resource permissions to be revoked from the theme.

                                                                                    + *

                                                                                    The ID of the AWS account that contains the theme.

                                                                                    */ - RevokePermissions?: ResourcePermission[]; + AwsAccountId: string | undefined; /** - *

                                                                                    The ID of the AWS account that contains the theme.

                                                                                    + *

                                                                                    The ID for the theme.

                                                                                    */ - AwsAccountId: string | undefined; + ThemeId: string | undefined; /** *

                                                                                    A list of resource permissions to be granted for the theme.

                                                                                    @@ -2306,9 +2366,9 @@ export interface UpdateThemePermissionsRequest { GrantPermissions?: ResourcePermission[]; /** - *

                                                                                    The ID for the theme.

                                                                                    + *

                                                                                    A list of resource permissions to be revoked from the theme.

                                                                                    */ - ThemeId: string | undefined; + RevokePermissions?: ResourcePermission[]; } export namespace UpdateThemePermissionsRequest { @@ -2324,24 +2384,24 @@ export interface UpdateThemePermissionsResponse { ThemeId?: string; /** - *

                                                                                    The AWS request ID for this operation.

                                                                                    + *

                                                                                    The Amazon Resource Name (ARN) of the theme.

                                                                                    */ - RequestId?: string; + ThemeArn?: string; /** - *

                                                                                    The Amazon Resource Name (ARN) of the theme.

                                                                                    + *

                                                                                    The resulting list of resource permissions for the theme.

                                                                                    */ - ThemeArn?: string; + Permissions?: ResourcePermission[]; /** - *

                                                                                    The HTTP status of the request.

                                                                                    + *

                                                                                    The AWS request ID for this operation.

                                                                                    */ - Status?: number; + RequestId?: string; /** - *

                                                                                    The resulting list of resource permissions for the theme.

                                                                                    + *

                                                                                    The HTTP status of the request.

                                                                                    */ - Permissions?: ResourcePermission[]; + Status?: number; } export namespace UpdateThemePermissionsResponse { @@ -2351,6 +2411,11 @@ export namespace UpdateThemePermissionsResponse { } export interface UpdateUserRequest { + /** + *

                                                                                    The Amazon QuickSight user name that you want to update.

                                                                                    + */ + UserName: string | undefined; + /** *

                                                                                    The ID for the AWS account that the user is in. Currently, you use the ID for the AWS * account that contains your Amazon QuickSight account.

                                                                                    @@ -2391,19 +2456,6 @@ export interface UpdateUserRequest { */ Role: UserRole | string | undefined; - /** - *

                                                                                    The Amazon QuickSight user name that you want to update.

                                                                                    - */ - UserName: string | undefined; - - /** - *

                                                                                    A flag that you use to indicate that you want to remove all custom permissions - * from this user. Using this parameter resets the user to the state - * it was in before a custom permissions profile was applied. This parameter defaults to - * NULL and it doesn't accept any other value.

                                                                                    - */ - UnapplyCustomPermissions?: boolean; - /** *

                                                                                    (Enterprise edition only) The name of the custom permissions profile that you want to * assign to this user. Customized permissions allows you to control a user's access by @@ -2433,6 +2485,14 @@ export interface UpdateUserRequest { * SAML 2.0-Based Federation for Single Sign-On (SSO).

                                                                                    */ CustomPermissionsName?: string; + + /** + *

                                                                                    A flag that you use to indicate that you want to remove all custom permissions + * from this user. Using this parameter resets the user to the state + * it was in before a custom permissions profile was applied. This parameter defaults to + * NULL and it doesn't accept any other value.

                                                                                    + */ + UnapplyCustomPermissions?: boolean; } export namespace UpdateUserRequest { @@ -2442,6 +2502,11 @@ export namespace UpdateUserRequest { } export interface UpdateUserResponse { + /** + *

                                                                                    The Amazon QuickSight user.

                                                                                    + */ + User?: User; + /** *

                                                                                    The AWS request ID for this operation.

                                                                                    */ @@ -2451,11 +2516,6 @@ export interface UpdateUserResponse { *

                                                                                    The HTTP status of the request.

                                                                                    */ Status?: number; - - /** - *

                                                                                    The Amazon QuickSight user.

                                                                                    - */ - User?: User; } export namespace UpdateUserResponse { diff --git a/clients/client-quicksight/pagination/ListAnalysesPaginator.ts b/clients/client-quicksight/pagination/ListAnalysesPaginator.ts index 8c18470a5f03..e61bd8c42bb8 100644 --- a/clients/client-quicksight/pagination/ListAnalysesPaginator.ts +++ b/clients/client-quicksight/pagination/ListAnalysesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAnalysesCommand(input), ...args); + return await client.send(new ListAnalysesCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListDashboardVersionsPaginator.ts b/clients/client-quicksight/pagination/ListDashboardVersionsPaginator.ts index 6d7bd619f418..1418eb10d7a7 100644 --- a/clients/client-quicksight/pagination/ListDashboardVersionsPaginator.ts +++ b/clients/client-quicksight/pagination/ListDashboardVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDashboardVersionsCommand(input), ...args); + return await client.send(new ListDashboardVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListDashboardsPaginator.ts b/clients/client-quicksight/pagination/ListDashboardsPaginator.ts index e2607bb9f149..067707d6bf44 100644 --- a/clients/client-quicksight/pagination/ListDashboardsPaginator.ts +++ b/clients/client-quicksight/pagination/ListDashboardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDashboardsCommand(input), ...args); + return await client.send(new ListDashboardsCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListDataSetsPaginator.ts b/clients/client-quicksight/pagination/ListDataSetsPaginator.ts index 91fd3d207d83..b4988c08c86e 100644 --- a/clients/client-quicksight/pagination/ListDataSetsPaginator.ts +++ b/clients/client-quicksight/pagination/ListDataSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSetsCommand(input), ...args); + return await client.send(new ListDataSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListDataSourcesPaginator.ts b/clients/client-quicksight/pagination/ListDataSourcesPaginator.ts index 72b765acf28e..128036462936 100644 --- a/clients/client-quicksight/pagination/ListDataSourcesPaginator.ts +++ b/clients/client-quicksight/pagination/ListDataSourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSourcesCommand(input), ...args); + return await client.send(new ListDataSourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListIngestionsPaginator.ts b/clients/client-quicksight/pagination/ListIngestionsPaginator.ts index 4235918952bc..337ff6b86867 100644 --- a/clients/client-quicksight/pagination/ListIngestionsPaginator.ts +++ b/clients/client-quicksight/pagination/ListIngestionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIngestionsCommand(input), ...args); + return await client.send(new ListIngestionsCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListNamespacesPaginator.ts b/clients/client-quicksight/pagination/ListNamespacesPaginator.ts index 56ff3f8e5de6..a1d97827f9bd 100644 --- a/clients/client-quicksight/pagination/ListNamespacesPaginator.ts +++ b/clients/client-quicksight/pagination/ListNamespacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNamespacesCommand(input), ...args); + return await client.send(new ListNamespacesCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListTemplateAliasesPaginator.ts b/clients/client-quicksight/pagination/ListTemplateAliasesPaginator.ts index d6eaf26df6b0..aadebda214a0 100644 --- a/clients/client-quicksight/pagination/ListTemplateAliasesPaginator.ts +++ b/clients/client-quicksight/pagination/ListTemplateAliasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTemplateAliasesCommand(input), ...args); + return await client.send(new ListTemplateAliasesCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListTemplateVersionsPaginator.ts b/clients/client-quicksight/pagination/ListTemplateVersionsPaginator.ts index 16f28c387c4c..a075b649c60d 100644 --- a/clients/client-quicksight/pagination/ListTemplateVersionsPaginator.ts +++ b/clients/client-quicksight/pagination/ListTemplateVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTemplateVersionsCommand(input), ...args); + return await client.send(new ListTemplateVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListTemplatesPaginator.ts b/clients/client-quicksight/pagination/ListTemplatesPaginator.ts index e5331c97c6a3..264ad65cc715 100644 --- a/clients/client-quicksight/pagination/ListTemplatesPaginator.ts +++ b/clients/client-quicksight/pagination/ListTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTemplatesCommand(input), ...args); + return await client.send(new ListTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/SearchAnalysesPaginator.ts b/clients/client-quicksight/pagination/SearchAnalysesPaginator.ts index 6cd8b666f40d..ad942b8c6c84 100644 --- a/clients/client-quicksight/pagination/SearchAnalysesPaginator.ts +++ b/clients/client-quicksight/pagination/SearchAnalysesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchAnalysesCommand(input), ...args); + return await client.send(new SearchAnalysesCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/SearchDashboardsPaginator.ts b/clients/client-quicksight/pagination/SearchDashboardsPaginator.ts index 5e53b6ff4f32..d1359eddd8ae 100644 --- a/clients/client-quicksight/pagination/SearchDashboardsPaginator.ts +++ b/clients/client-quicksight/pagination/SearchDashboardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchDashboardsCommand(input), ...args); + return await client.send(new SearchDashboardsCommand(input, ...args)); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/protocols/Aws_restJson1.ts b/clients/client-quicksight/protocols/Aws_restJson1.ts index a85f1acc52b6..c909d40e04bf 100644 --- a/clients/client-quicksight/protocols/Aws_restJson1.ts +++ b/clients/client-quicksight/protocols/Aws_restJson1.ts @@ -235,6 +235,7 @@ import { ColumnGroup, ColumnGroupColumnSchema, ColumnGroupSchema, + ColumnLevelPermissionRule, ColumnSchema, ColumnTag, ConcurrentUpdatingException, @@ -291,6 +292,7 @@ import { MySqlParameters, NamespaceError, NamespaceInfoV2, + OracleParameters, OutputColumn, PhysicalTable, PostgreSqlParameters, @@ -457,15 +459,6 @@ export const serializeAws_restJson1CreateAnalysisCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/analyses/{AnalysisId}"; - if (input.AnalysisId !== undefined) { - const labelValue: string = input.AnalysisId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AnalysisId."); - } - resolvedPath = resolvedPath.replace("{AnalysisId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AnalysisId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -475,6 +468,15 @@ export const serializeAws_restJson1CreateAnalysisCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.AnalysisId !== undefined) { + const labelValue: string = input.AnalysisId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AnalysisId."); + } + resolvedPath = resolvedPath.replace("{AnalysisId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AnalysisId."); + } let body: any; body = JSON.stringify({ ...(input.Name !== undefined && { Name: input.Name }), @@ -508,15 +510,6 @@ export const serializeAws_restJson1CreateDashboardCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/dashboards/{DashboardId}"; - if (input.DashboardId !== undefined) { - const labelValue: string = input.DashboardId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: DashboardId."); - } - resolvedPath = resolvedPath.replace("{DashboardId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: DashboardId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -526,6 +519,15 @@ export const serializeAws_restJson1CreateDashboardCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.DashboardId !== undefined) { + const labelValue: string = input.DashboardId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DashboardId."); + } + resolvedPath = resolvedPath.replace("{DashboardId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DashboardId."); + } let body: any; body = JSON.stringify({ ...(input.DashboardPublishOptions !== undefined && { @@ -577,6 +579,12 @@ export const serializeAws_restJson1CreateDataSetCommand = async ( ...(input.ColumnGroups !== undefined && { ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context), }), + ...(input.ColumnLevelPermissionRules !== undefined && { + ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList( + input.ColumnLevelPermissionRules, + context + ), + }), ...(input.DataSetId !== undefined && { DataSetId: input.DataSetId }), ...(input.ImportMode !== undefined && { ImportMode: input.ImportMode }), ...(input.LogicalTableMap !== undefined && { @@ -668,15 +676,6 @@ export const serializeAws_restJson1CreateGroupCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups"; - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -686,6 +685,15 @@ export const serializeAws_restJson1CreateGroupCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } let body: any; body = JSON.stringify({ ...(input.Description !== undefined && { Description: input.Description }), @@ -711,23 +719,14 @@ export const serializeAws_restJson1CreateGroupMembershipCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}"; - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } - if (input.AwsAccountId !== undefined) { - const labelValue: string = input.AwsAccountId; + if (input.MemberName !== undefined) { + const labelValue: string = input.MemberName; if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AwsAccountId."); + throw new Error("Empty value provided for input HTTP label: MemberName."); } - resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); + resolvedPath = resolvedPath.replace("{MemberName}", __extendedEncodeURIComponent(labelValue)); } else { - throw new Error("No value provided for input HTTP label: AwsAccountId."); + throw new Error("No value provided for input HTTP label: MemberName."); } if (input.GroupName !== undefined) { const labelValue: string = input.GroupName; @@ -738,14 +737,23 @@ export const serializeAws_restJson1CreateGroupMembershipCommand = async ( } else { throw new Error("No value provided for input HTTP label: GroupName."); } - if (input.MemberName !== undefined) { - const labelValue: string = input.MemberName; + if (input.AwsAccountId !== undefined) { + const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: MemberName."); + throw new Error("Empty value provided for input HTTP label: AwsAccountId."); } - resolvedPath = resolvedPath.replace("{MemberName}", __extendedEncodeURIComponent(labelValue)); + resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); } else { - throw new Error("No value provided for input HTTP label: MemberName."); + throw new Error("No value provided for input HTTP label: AwsAccountId."); + } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -813,15 +821,6 @@ export const serializeAws_restJson1CreateIngestionCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}"; - if (input.IngestionId !== undefined) { - const labelValue: string = input.IngestionId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: IngestionId."); - } - resolvedPath = resolvedPath.replace("{IngestionId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: IngestionId."); - } if (input.DataSetId !== undefined) { const labelValue: string = input.DataSetId; if (labelValue.length <= 0) { @@ -831,6 +830,15 @@ export const serializeAws_restJson1CreateIngestionCommand = async ( } else { throw new Error("No value provided for input HTTP label: DataSetId."); } + if (input.IngestionId !== undefined) { + const labelValue: string = input.IngestionId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: IngestionId."); + } + resolvedPath = resolvedPath.replace("{IngestionId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: IngestionId."); + } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -955,15 +963,6 @@ export const serializeAws_restJson1CreateTemplateAliasCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } - if (input.AliasName !== undefined) { - const labelValue: string = input.AliasName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AliasName."); - } - resolvedPath = resolvedPath.replace("{AliasName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AliasName."); - } if (input.TemplateId !== undefined) { const labelValue: string = input.TemplateId; if (labelValue.length <= 0) { @@ -973,6 +972,15 @@ export const serializeAws_restJson1CreateTemplateAliasCommand = async ( } else { throw new Error("No value provided for input HTTP label: TemplateId."); } + if (input.AliasName !== undefined) { + const labelValue: string = input.AliasName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AliasName."); + } + resolvedPath = resolvedPath.replace("{AliasName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AliasName."); + } let body: any; body = JSON.stringify({ ...(input.TemplateVersionNumber !== undefined && { TemplateVersionNumber: input.TemplateVersionNumber }), @@ -997,15 +1005,6 @@ export const serializeAws_restJson1CreateThemeCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}"; - if (input.ThemeId !== undefined) { - const labelValue: string = input.ThemeId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: ThemeId."); - } - resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: ThemeId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -1015,6 +1014,15 @@ export const serializeAws_restJson1CreateThemeCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.ThemeId !== undefined) { + const labelValue: string = input.ThemeId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: ThemeId."); + } + resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: ThemeId."); + } let body: any; body = JSON.stringify({ ...(input.BaseThemeId !== undefined && { BaseThemeId: input.BaseThemeId }), @@ -1048,6 +1056,15 @@ export const serializeAws_restJson1CreateThemeAliasCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}"; + if (input.AwsAccountId !== undefined) { + const labelValue: string = input.AwsAccountId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AwsAccountId."); + } + resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AwsAccountId."); + } if (input.ThemeId !== undefined) { const labelValue: string = input.ThemeId; if (labelValue.length <= 0) { @@ -1066,15 +1083,6 @@ export const serializeAws_restJson1CreateThemeAliasCommand = async ( } else { throw new Error("No value provided for input HTTP label: AliasName."); } - if (input.AwsAccountId !== undefined) { - const labelValue: string = input.AwsAccountId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AwsAccountId."); - } - resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AwsAccountId."); - } let body: any; body = JSON.stringify({ ...(input.ThemeVersionNumber !== undefined && { ThemeVersionNumber: input.ThemeVersionNumber }), @@ -1152,12 +1160,12 @@ export const serializeAws_restJson1DeleteAnalysisCommand = async ( throw new Error("No value provided for input HTTP label: AnalysisId."); } const query: any = { - ...(input.ForceDeleteWithoutRecovery !== undefined && { - "force-delete-without-recovery": input.ForceDeleteWithoutRecovery.toString(), - }), ...(input.RecoveryWindowInDays !== undefined && { "recovery-window-in-days": input.RecoveryWindowInDays.toString(), }), + ...(input.ForceDeleteWithoutRecovery !== undefined && { + "force-delete-without-recovery": input.ForceDeleteWithoutRecovery.toString(), + }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1181,15 +1189,6 @@ export const serializeAws_restJson1DeleteDashboardCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/dashboards/{DashboardId}"; - if (input.DashboardId !== undefined) { - const labelValue: string = input.DashboardId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: DashboardId."); - } - resolvedPath = resolvedPath.replace("{DashboardId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: DashboardId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -1199,6 +1198,15 @@ export const serializeAws_restJson1DeleteDashboardCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.DashboardId !== undefined) { + const labelValue: string = input.DashboardId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DashboardId."); + } + resolvedPath = resolvedPath.replace("{DashboardId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DashboardId."); + } const query: any = { ...(input.VersionNumber !== undefined && { "version-number": input.VersionNumber.toString() }), }; @@ -1302,6 +1310,15 @@ export const serializeAws_restJson1DeleteGroupCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}"; + if (input.GroupName !== undefined) { + const labelValue: string = input.GroupName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: GroupName."); + } + resolvedPath = resolvedPath.replace("{GroupName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: GroupName."); + } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -1320,15 +1337,6 @@ export const serializeAws_restJson1DeleteGroupCommand = async ( } else { throw new Error("No value provided for input HTTP label: Namespace."); } - if (input.GroupName !== undefined) { - const labelValue: string = input.GroupName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: GroupName."); - } - resolvedPath = resolvedPath.replace("{GroupName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: GroupName."); - } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -1350,6 +1358,24 @@ export const serializeAws_restJson1DeleteGroupMembershipCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}"; + if (input.MemberName !== undefined) { + const labelValue: string = input.MemberName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: MemberName."); + } + resolvedPath = resolvedPath.replace("{MemberName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: MemberName."); + } + if (input.GroupName !== undefined) { + const labelValue: string = input.GroupName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: GroupName."); + } + resolvedPath = resolvedPath.replace("{GroupName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: GroupName."); + } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -1368,24 +1394,6 @@ export const serializeAws_restJson1DeleteGroupMembershipCommand = async ( } else { throw new Error("No value provided for input HTTP label: Namespace."); } - if (input.GroupName !== undefined) { - const labelValue: string = input.GroupName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: GroupName."); - } - resolvedPath = resolvedPath.replace("{GroupName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: GroupName."); - } - if (input.MemberName !== undefined) { - const labelValue: string = input.MemberName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: MemberName."); - } - resolvedPath = resolvedPath.replace("{MemberName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: MemberName."); - } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -1537,15 +1545,6 @@ export const serializeAws_restJson1DeleteTemplateAliasCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}"; - if (input.TemplateId !== undefined) { - const labelValue: string = input.TemplateId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: TemplateId."); - } - resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: TemplateId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -1555,8 +1554,17 @@ export const serializeAws_restJson1DeleteTemplateAliasCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } - if (input.AliasName !== undefined) { - const labelValue: string = input.AliasName; + if (input.TemplateId !== undefined) { + const labelValue: string = input.TemplateId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: TemplateId."); + } + resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: TemplateId."); + } + if (input.AliasName !== undefined) { + const labelValue: string = input.AliasName; if (labelValue.length <= 0) { throw new Error("Empty value provided for input HTTP label: AliasName."); } @@ -1585,15 +1593,6 @@ export const serializeAws_restJson1DeleteThemeCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}"; - if (input.ThemeId !== undefined) { - const labelValue: string = input.ThemeId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: ThemeId."); - } - resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: ThemeId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -1603,6 +1602,15 @@ export const serializeAws_restJson1DeleteThemeCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.ThemeId !== undefined) { + const labelValue: string = input.ThemeId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: ThemeId."); + } + resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: ThemeId."); + } const query: any = { ...(input.VersionNumber !== undefined && { "version-number": input.VersionNumber.toString() }), }; @@ -1628,6 +1636,15 @@ export const serializeAws_restJson1DeleteThemeAliasCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}"; + if (input.AwsAccountId !== undefined) { + const labelValue: string = input.AwsAccountId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AwsAccountId."); + } + resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AwsAccountId."); + } if (input.ThemeId !== undefined) { const labelValue: string = input.ThemeId; if (labelValue.length <= 0) { @@ -1646,15 +1663,6 @@ export const serializeAws_restJson1DeleteThemeAliasCommand = async ( } else { throw new Error("No value provided for input HTTP label: AliasName."); } - if (input.AwsAccountId !== undefined) { - const labelValue: string = input.AwsAccountId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AwsAccountId."); - } - resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AwsAccountId."); - } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -1724,15 +1732,6 @@ export const serializeAws_restJson1DeleteUserByPrincipalIdCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}"; - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.PrincipalId !== undefined) { const labelValue: string = input.PrincipalId; if (labelValue.length <= 0) { @@ -1751,6 +1750,15 @@ export const serializeAws_restJson1DeleteUserByPrincipalIdCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -1876,15 +1884,6 @@ export const serializeAws_restJson1DescribeAnalysisPermissionsCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions"; - if (input.AnalysisId !== undefined) { - const labelValue: string = input.AnalysisId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AnalysisId."); - } - resolvedPath = resolvedPath.replace("{AnalysisId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AnalysisId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -1894,6 +1893,15 @@ export const serializeAws_restJson1DescribeAnalysisPermissionsCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.AnalysisId !== undefined) { + const labelValue: string = input.AnalysisId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AnalysisId."); + } + resolvedPath = resolvedPath.replace("{AnalysisId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AnalysisId."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -1915,15 +1923,6 @@ export const serializeAws_restJson1DescribeDashboardCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/dashboards/{DashboardId}"; - if (input.DashboardId !== undefined) { - const labelValue: string = input.DashboardId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: DashboardId."); - } - resolvedPath = resolvedPath.replace("{DashboardId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: DashboardId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -1933,9 +1932,18 @@ export const serializeAws_restJson1DescribeDashboardCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.DashboardId !== undefined) { + const labelValue: string = input.DashboardId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DashboardId."); + } + resolvedPath = resolvedPath.replace("{DashboardId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DashboardId."); + } const query: any = { - ...(input.AliasName !== undefined && { "alias-name": input.AliasName }), ...(input.VersionNumber !== undefined && { "version-number": input.VersionNumber.toString() }), + ...(input.AliasName !== undefined && { "alias-name": input.AliasName }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1998,15 +2006,6 @@ export const serializeAws_restJson1DescribeDataSetCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/data-sets/{DataSetId}"; - if (input.DataSetId !== undefined) { - const labelValue: string = input.DataSetId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: DataSetId."); - } - resolvedPath = resolvedPath.replace("{DataSetId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: DataSetId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -2016,6 +2015,15 @@ export const serializeAws_restJson1DescribeDataSetCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.DataSetId !== undefined) { + const labelValue: string = input.DataSetId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DataSetId."); + } + resolvedPath = resolvedPath.replace("{DataSetId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DataSetId."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -2037,15 +2045,6 @@ export const serializeAws_restJson1DescribeDataSetPermissionsCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions"; - if (input.DataSetId !== undefined) { - const labelValue: string = input.DataSetId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: DataSetId."); - } - resolvedPath = resolvedPath.replace("{DataSetId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: DataSetId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -2055,6 +2054,15 @@ export const serializeAws_restJson1DescribeDataSetPermissionsCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.DataSetId !== undefined) { + const labelValue: string = input.DataSetId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DataSetId."); + } + resolvedPath = resolvedPath.replace("{DataSetId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DataSetId."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -2115,15 +2123,6 @@ export const serializeAws_restJson1DescribeDataSourcePermissionsCommand = async "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions"; - if (input.DataSourceId !== undefined) { - const labelValue: string = input.DataSourceId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: DataSourceId."); - } - resolvedPath = resolvedPath.replace("{DataSourceId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: DataSourceId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -2133,6 +2132,15 @@ export const serializeAws_restJson1DescribeDataSourcePermissionsCommand = async } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.DataSourceId !== undefined) { + const labelValue: string = input.DataSourceId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DataSourceId."); + } + resolvedPath = resolvedPath.replace("{DataSourceId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DataSourceId."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -2154,15 +2162,6 @@ export const serializeAws_restJson1DescribeGroupCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}"; - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.GroupName !== undefined) { const labelValue: string = input.GroupName; if (labelValue.length <= 0) { @@ -2181,6 +2180,15 @@ export const serializeAws_restJson1DescribeGroupCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -2202,15 +2210,6 @@ export const serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}"; - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -2229,6 +2228,15 @@ export const serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = async ( } else { throw new Error("No value provided for input HTTP label: AssignmentName."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -2337,15 +2345,6 @@ export const serializeAws_restJson1DescribeTemplateCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/templates/{TemplateId}"; - if (input.TemplateId !== undefined) { - const labelValue: string = input.TemplateId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: TemplateId."); - } - resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: TemplateId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -2355,6 +2354,15 @@ export const serializeAws_restJson1DescribeTemplateCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.TemplateId !== undefined) { + const labelValue: string = input.TemplateId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: TemplateId."); + } + resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: TemplateId."); + } const query: any = { ...(input.VersionNumber !== undefined && { "version-number": input.VersionNumber.toString() }), ...(input.AliasName !== undefined && { "alias-name": input.AliasName }), @@ -2429,15 +2437,6 @@ export const serializeAws_restJson1DescribeTemplatePermissionsCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions"; - if (input.TemplateId !== undefined) { - const labelValue: string = input.TemplateId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: TemplateId."); - } - resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: TemplateId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -2447,6 +2446,15 @@ export const serializeAws_restJson1DescribeTemplatePermissionsCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.TemplateId !== undefined) { + const labelValue: string = input.TemplateId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: TemplateId."); + } + resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: TemplateId."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -2468,15 +2476,6 @@ export const serializeAws_restJson1DescribeThemeCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}"; - if (input.ThemeId !== undefined) { - const labelValue: string = input.ThemeId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: ThemeId."); - } - resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: ThemeId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -2486,9 +2485,18 @@ export const serializeAws_restJson1DescribeThemeCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.ThemeId !== undefined) { + const labelValue: string = input.ThemeId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: ThemeId."); + } + resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: ThemeId."); + } const query: any = { - ...(input.AliasName !== undefined && { "alias-name": input.AliasName }), ...(input.VersionNumber !== undefined && { "version-number": input.VersionNumber.toString() }), + ...(input.AliasName !== undefined && { "alias-name": input.AliasName }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2512,6 +2520,15 @@ export const serializeAws_restJson1DescribeThemeAliasCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}"; + if (input.AwsAccountId !== undefined) { + const labelValue: string = input.AwsAccountId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AwsAccountId."); + } + resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AwsAccountId."); + } if (input.ThemeId !== undefined) { const labelValue: string = input.ThemeId; if (labelValue.length <= 0) { @@ -2530,15 +2547,6 @@ export const serializeAws_restJson1DescribeThemeAliasCommand = async ( } else { throw new Error("No value provided for input HTTP label: AliasName."); } - if (input.AwsAccountId !== undefined) { - const labelValue: string = input.AwsAccountId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AwsAccountId."); - } - resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AwsAccountId."); - } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -2599,6 +2607,15 @@ export const serializeAws_restJson1DescribeUserCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}"; + if (input.UserName !== undefined) { + const labelValue: string = input.UserName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: UserName."); + } + resolvedPath = resolvedPath.replace("{UserName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: UserName."); + } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -2617,15 +2634,6 @@ export const serializeAws_restJson1DescribeUserCommand = async ( } else { throw new Error("No value provided for input HTTP label: Namespace."); } - if (input.UserName !== undefined) { - const labelValue: string = input.UserName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: UserName."); - } - resolvedPath = resolvedPath.replace("{UserName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: UserName."); - } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -2666,12 +2674,12 @@ export const serializeAws_restJson1GetDashboardEmbedUrlCommand = async ( throw new Error("No value provided for input HTTP label: DashboardId."); } const query: any = { - ...(input.UndoRedoDisabled !== undefined && { "undo-redo-disabled": input.UndoRedoDisabled.toString() }), - ...(input.ResetDisabled !== undefined && { "reset-disabled": input.ResetDisabled.toString() }), + ...(input.IdentityType !== undefined && { "creds-type": input.IdentityType }), ...(input.SessionLifetimeInMinutes !== undefined && { "session-lifetime": input.SessionLifetimeInMinutes.toString(), }), - ...(input.IdentityType !== undefined && { "creds-type": input.IdentityType }), + ...(input.UndoRedoDisabled !== undefined && { "undo-redo-disabled": input.UndoRedoDisabled.toString() }), + ...(input.ResetDisabled !== undefined && { "reset-disabled": input.ResetDisabled.toString() }), ...(input.UserArn !== undefined && { "user-arn": input.UserArn }), }; let body: any; @@ -2744,8 +2752,8 @@ export const serializeAws_restJson1ListAnalysesCommand = async ( throw new Error("No value provided for input HTTP label: AwsAccountId."); } const query: any = { - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2779,8 +2787,8 @@ export const serializeAws_restJson1ListDashboardsCommand = async ( throw new Error("No value provided for input HTTP label: AwsAccountId."); } const query: any = { - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2823,8 +2831,8 @@ export const serializeAws_restJson1ListDashboardVersionsCommand = async ( throw new Error("No value provided for input HTTP label: DashboardId."); } const query: any = { - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2858,8 +2866,8 @@ export const serializeAws_restJson1ListDataSetsCommand = async ( throw new Error("No value provided for input HTTP label: AwsAccountId."); } const query: any = { - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2918,15 +2926,6 @@ export const serializeAws_restJson1ListGroupMembershipsCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members"; - if (input.AwsAccountId !== undefined) { - const labelValue: string = input.AwsAccountId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AwsAccountId."); - } - resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AwsAccountId."); - } if (input.GroupName !== undefined) { const labelValue: string = input.GroupName; if (labelValue.length <= 0) { @@ -2936,6 +2935,15 @@ export const serializeAws_restJson1ListGroupMembershipsCommand = async ( } else { throw new Error("No value provided for input HTTP label: GroupName."); } + if (input.AwsAccountId !== undefined) { + const labelValue: string = input.AwsAccountId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AwsAccountId."); + } + resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AwsAccountId."); + } if (input.Namespace !== undefined) { const labelValue: string = input.Namespace; if (labelValue.length <= 0) { @@ -2946,8 +2954,8 @@ export const serializeAws_restJson1ListGroupMembershipsCommand = async ( throw new Error("No value provided for input HTTP label: Namespace."); } const query: any = { - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2971,15 +2979,6 @@ export const serializeAws_restJson1ListGroupsCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups"; - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -2989,6 +2988,15 @@ export const serializeAws_restJson1ListGroupsCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } const query: any = { ...(input.NextToken !== undefined && { "next-token": input.NextToken }), ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), @@ -3034,8 +3042,8 @@ export const serializeAws_restJson1ListIAMPolicyAssignmentsCommand = async ( throw new Error("No value provided for input HTTP label: Namespace."); } const query: any = { - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), }; let body: any; body = JSON.stringify({ @@ -3071,15 +3079,6 @@ export const serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = asyn } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.UserName !== undefined) { const labelValue: string = input.UserName; if (labelValue.length <= 0) { @@ -3089,6 +3088,15 @@ export const serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = asyn } else { throw new Error("No value provided for input HTTP label: UserName."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } const query: any = { ...(input.NextToken !== undefined && { "next-token": input.NextToken }), ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), @@ -3115,15 +3123,6 @@ export const serializeAws_restJson1ListIngestionsCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions"; - if (input.AwsAccountId !== undefined) { - const labelValue: string = input.AwsAccountId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AwsAccountId."); - } - resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AwsAccountId."); - } if (input.DataSetId !== undefined) { const labelValue: string = input.DataSetId; if (labelValue.length <= 0) { @@ -3133,6 +3132,15 @@ export const serializeAws_restJson1ListIngestionsCommand = async ( } else { throw new Error("No value provided for input HTTP label: DataSetId."); } + if (input.AwsAccountId !== undefined) { + const labelValue: string = input.AwsAccountId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AwsAccountId."); + } + resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AwsAccountId."); + } const query: any = { ...(input.NextToken !== undefined && { "next-token": input.NextToken }), ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), @@ -3169,8 +3177,8 @@ export const serializeAws_restJson1ListNamespacesCommand = async ( throw new Error("No value provided for input HTTP label: AwsAccountId."); } const query: any = { - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -3303,15 +3311,6 @@ export const serializeAws_restJson1ListTemplateVersionsCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/templates/{TemplateId}/versions"; - if (input.TemplateId !== undefined) { - const labelValue: string = input.TemplateId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: TemplateId."); - } - resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: TemplateId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -3321,9 +3320,18 @@ export const serializeAws_restJson1ListTemplateVersionsCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.TemplateId !== undefined) { + const labelValue: string = input.TemplateId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: TemplateId."); + } + resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: TemplateId."); + } const query: any = { - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -3347,15 +3355,6 @@ export const serializeAws_restJson1ListThemeAliasesCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases"; - if (input.ThemeId !== undefined) { - const labelValue: string = input.ThemeId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: ThemeId."); - } - resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: ThemeId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -3365,9 +3364,18 @@ export const serializeAws_restJson1ListThemeAliasesCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.ThemeId !== undefined) { + const labelValue: string = input.ThemeId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: ThemeId."); + } + resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: ThemeId."); + } const query: any = { - ...(input.MaxResults !== undefined && { "max-result": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-result": input.MaxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -3401,9 +3409,9 @@ export const serializeAws_restJson1ListThemesCommand = async ( throw new Error("No value provided for input HTTP label: AwsAccountId."); } const query: any = { - ...(input.Type !== undefined && { type: input.Type }), - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), + ...(input.Type !== undefined && { type: input.Type }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -3427,15 +3435,6 @@ export const serializeAws_restJson1ListThemeVersionsCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}/versions"; - if (input.ThemeId !== undefined) { - const labelValue: string = input.ThemeId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: ThemeId."); - } - resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: ThemeId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -3445,9 +3444,18 @@ export const serializeAws_restJson1ListThemeVersionsCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.ThemeId !== undefined) { + const labelValue: string = input.ThemeId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: ThemeId."); + } + resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: ThemeId."); + } const query: any = { - ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), ...(input.NextToken !== undefined && { "next-token": input.NextToken }), + ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -3480,15 +3488,6 @@ export const serializeAws_restJson1ListUserGroupsCommand = async ( } else { throw new Error("No value provided for input HTTP label: UserName."); } - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -3498,6 +3497,15 @@ export const serializeAws_restJson1ListUserGroupsCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } const query: any = { ...(input.NextToken !== undefined && { "next-token": input.NextToken }), ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), @@ -3524,15 +3532,6 @@ export const serializeAws_restJson1ListUsersCommand = async ( "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/users"; - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -3542,6 +3541,15 @@ export const serializeAws_restJson1ListUsersCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } const query: any = { ...(input.NextToken !== undefined && { "next-token": input.NextToken }), ...(input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }), @@ -3568,15 +3576,6 @@ export const serializeAws_restJson1RegisterUserCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/users"; - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -3586,6 +3585,15 @@ export const serializeAws_restJson1RegisterUserCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } let body: any; body = JSON.stringify({ ...(input.CustomPermissionsName !== undefined && { CustomPermissionsName: input.CustomPermissionsName }), @@ -3869,15 +3877,6 @@ export const serializeAws_restJson1UpdateAnalysisCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/analyses/{AnalysisId}"; - if (input.AnalysisId !== undefined) { - const labelValue: string = input.AnalysisId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AnalysisId."); - } - resolvedPath = resolvedPath.replace("{AnalysisId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AnalysisId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -3887,6 +3886,15 @@ export const serializeAws_restJson1UpdateAnalysisCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.AnalysisId !== undefined) { + const labelValue: string = input.AnalysisId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AnalysisId."); + } + resolvedPath = resolvedPath.replace("{AnalysisId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AnalysisId."); + } let body: any; body = JSON.stringify({ ...(input.Name !== undefined && { Name: input.Name }), @@ -3910,21 +3918,12 @@ export const serializeAws_restJson1UpdateAnalysisCommand = async ( export const serializeAws_restJson1UpdateAnalysisPermissionsCommand = async ( input: UpdateAnalysisPermissionsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const headers: any = { - "Content-Type": "application/json", - }; - let resolvedPath = "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions"; - if (input.AnalysisId !== undefined) { - const labelValue: string = input.AnalysisId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AnalysisId."); - } - resolvedPath = resolvedPath.replace("{AnalysisId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: AnalysisId."); - } + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions"; if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -3934,6 +3933,15 @@ export const serializeAws_restJson1UpdateAnalysisPermissionsCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.AnalysisId !== undefined) { + const labelValue: string = input.AnalysisId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: AnalysisId."); + } + resolvedPath = resolvedPath.replace("{AnalysisId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: AnalysisId."); + } let body: any; body = JSON.stringify({ ...(input.GrantPermissions !== undefined && { @@ -4014,15 +4022,6 @@ export const serializeAws_restJson1UpdateDashboardPermissionsCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions"; - if (input.DashboardId !== undefined) { - const labelValue: string = input.DashboardId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: DashboardId."); - } - resolvedPath = resolvedPath.replace("{DashboardId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: DashboardId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -4032,6 +4031,15 @@ export const serializeAws_restJson1UpdateDashboardPermissionsCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.DashboardId !== undefined) { + const labelValue: string = input.DashboardId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DashboardId."); + } + resolvedPath = resolvedPath.replace("{DashboardId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DashboardId."); + } let body: any; body = JSON.stringify({ ...(input.GrantPermissions !== undefined && { @@ -4061,14 +4069,14 @@ export const serializeAws_restJson1UpdateDashboardPublishedVersionCommand = asyn "Content-Type": "", }; let resolvedPath = "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}"; - if (input.VersionNumber !== undefined) { - const labelValue: string = input.VersionNumber.toString(); + if (input.AwsAccountId !== undefined) { + const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: VersionNumber."); + throw new Error("Empty value provided for input HTTP label: AwsAccountId."); } - resolvedPath = resolvedPath.replace("{VersionNumber}", __extendedEncodeURIComponent(labelValue)); + resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); } else { - throw new Error("No value provided for input HTTP label: VersionNumber."); + throw new Error("No value provided for input HTTP label: AwsAccountId."); } if (input.DashboardId !== undefined) { const labelValue: string = input.DashboardId; @@ -4079,14 +4087,14 @@ export const serializeAws_restJson1UpdateDashboardPublishedVersionCommand = asyn } else { throw new Error("No value provided for input HTTP label: DashboardId."); } - if (input.AwsAccountId !== undefined) { - const labelValue: string = input.AwsAccountId; + if (input.VersionNumber !== undefined) { + const labelValue: string = input.VersionNumber.toString(); if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AwsAccountId."); + throw new Error("Empty value provided for input HTTP label: VersionNumber."); } - resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); + resolvedPath = resolvedPath.replace("{VersionNumber}", __extendedEncodeURIComponent(labelValue)); } else { - throw new Error("No value provided for input HTTP label: AwsAccountId."); + throw new Error("No value provided for input HTTP label: VersionNumber."); } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -4109,15 +4117,6 @@ export const serializeAws_restJson1UpdateDataSetCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/data-sets/{DataSetId}"; - if (input.DataSetId !== undefined) { - const labelValue: string = input.DataSetId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: DataSetId."); - } - resolvedPath = resolvedPath.replace("{DataSetId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: DataSetId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -4127,11 +4126,26 @@ export const serializeAws_restJson1UpdateDataSetCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.DataSetId !== undefined) { + const labelValue: string = input.DataSetId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DataSetId."); + } + resolvedPath = resolvedPath.replace("{DataSetId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DataSetId."); + } let body: any; body = JSON.stringify({ ...(input.ColumnGroups !== undefined && { ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context), }), + ...(input.ColumnLevelPermissionRules !== undefined && { + ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList( + input.ColumnLevelPermissionRules, + context + ), + }), ...(input.ImportMode !== undefined && { ImportMode: input.ImportMode }), ...(input.LogicalTableMap !== undefined && { LogicalTableMap: serializeAws_restJson1LogicalTableMap(input.LogicalTableMap, context), @@ -4315,6 +4329,15 @@ export const serializeAws_restJson1UpdateGroupCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}"; + if (input.GroupName !== undefined) { + const labelValue: string = input.GroupName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: GroupName."); + } + resolvedPath = resolvedPath.replace("{GroupName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: GroupName."); + } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -4333,15 +4356,6 @@ export const serializeAws_restJson1UpdateGroupCommand = async ( } else { throw new Error("No value provided for input HTTP label: Namespace."); } - if (input.GroupName !== undefined) { - const labelValue: string = input.GroupName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: GroupName."); - } - resolvedPath = resolvedPath.replace("{GroupName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: GroupName."); - } let body: any; body = JSON.stringify({ ...(input.Description !== undefined && { Description: input.Description }), @@ -4375,15 +4389,6 @@ export const serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } - if (input.Namespace !== undefined) { - const labelValue: string = input.Namespace; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Namespace."); - } - resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Namespace."); - } if (input.AssignmentName !== undefined) { const labelValue: string = input.AssignmentName; if (labelValue.length <= 0) { @@ -4393,6 +4398,15 @@ export const serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = async ( } else { throw new Error("No value provided for input HTTP label: AssignmentName."); } + if (input.Namespace !== undefined) { + const labelValue: string = input.Namespace; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Namespace."); + } + resolvedPath = resolvedPath.replace("{Namespace}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Namespace."); + } let body: any; body = JSON.stringify({ ...(input.AssignmentStatus !== undefined && { AssignmentStatus: input.AssignmentStatus }), @@ -4419,15 +4433,6 @@ export const serializeAws_restJson1UpdateTemplateCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/templates/{TemplateId}"; - if (input.TemplateId !== undefined) { - const labelValue: string = input.TemplateId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: TemplateId."); - } - resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: TemplateId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -4437,6 +4442,15 @@ export const serializeAws_restJson1UpdateTemplateCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.TemplateId !== undefined) { + const labelValue: string = input.TemplateId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: TemplateId."); + } + resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: TemplateId."); + } let body: any; body = JSON.stringify({ ...(input.Name !== undefined && { Name: input.Name }), @@ -4465,15 +4479,6 @@ export const serializeAws_restJson1UpdateTemplateAliasCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}"; - if (input.TemplateId !== undefined) { - const labelValue: string = input.TemplateId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: TemplateId."); - } - resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: TemplateId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -4483,6 +4488,15 @@ export const serializeAws_restJson1UpdateTemplateAliasCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.TemplateId !== undefined) { + const labelValue: string = input.TemplateId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: TemplateId."); + } + resolvedPath = resolvedPath.replace("{TemplateId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: TemplateId."); + } if (input.AliasName !== undefined) { const labelValue: string = input.AliasName; if (labelValue.length <= 0) { @@ -4563,15 +4577,6 @@ export const serializeAws_restJson1UpdateThemeCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}"; - if (input.ThemeId !== undefined) { - const labelValue: string = input.ThemeId; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: ThemeId."); - } - resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: ThemeId."); - } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -4581,6 +4586,15 @@ export const serializeAws_restJson1UpdateThemeCommand = async ( } else { throw new Error("No value provided for input HTTP label: AwsAccountId."); } + if (input.ThemeId !== undefined) { + const labelValue: string = input.ThemeId; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: ThemeId."); + } + resolvedPath = resolvedPath.replace("{ThemeId}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: ThemeId."); + } let body: any; body = JSON.stringify({ ...(input.BaseThemeId !== undefined && { BaseThemeId: input.BaseThemeId }), @@ -4610,14 +4624,14 @@ export const serializeAws_restJson1UpdateThemeAliasCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}"; - if (input.AliasName !== undefined) { - const labelValue: string = input.AliasName; + if (input.AwsAccountId !== undefined) { + const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AliasName."); + throw new Error("Empty value provided for input HTTP label: AwsAccountId."); } - resolvedPath = resolvedPath.replace("{AliasName}", __extendedEncodeURIComponent(labelValue)); + resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); } else { - throw new Error("No value provided for input HTTP label: AliasName."); + throw new Error("No value provided for input HTTP label: AwsAccountId."); } if (input.ThemeId !== undefined) { const labelValue: string = input.ThemeId; @@ -4628,14 +4642,14 @@ export const serializeAws_restJson1UpdateThemeAliasCommand = async ( } else { throw new Error("No value provided for input HTTP label: ThemeId."); } - if (input.AwsAccountId !== undefined) { - const labelValue: string = input.AwsAccountId; + if (input.AliasName !== undefined) { + const labelValue: string = input.AliasName; if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: AwsAccountId."); + throw new Error("Empty value provided for input HTTP label: AliasName."); } - resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue)); + resolvedPath = resolvedPath.replace("{AliasName}", __extendedEncodeURIComponent(labelValue)); } else { - throw new Error("No value provided for input HTTP label: AwsAccountId."); + throw new Error("No value provided for input HTTP label: AliasName."); } let body: any; body = JSON.stringify({ @@ -4708,6 +4722,15 @@ export const serializeAws_restJson1UpdateUserCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}"; + if (input.UserName !== undefined) { + const labelValue: string = input.UserName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: UserName."); + } + resolvedPath = resolvedPath.replace("{UserName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: UserName."); + } if (input.AwsAccountId !== undefined) { const labelValue: string = input.AwsAccountId; if (labelValue.length <= 0) { @@ -4726,15 +4749,6 @@ export const serializeAws_restJson1UpdateUserCommand = async ( } else { throw new Error("No value provided for input HTTP label: Namespace."); } - if (input.UserName !== undefined) { - const labelValue: string = input.UserName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: UserName."); - } - resolvedPath = resolvedPath.replace("{UserName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: UserName."); - } let body: any; body = JSON.stringify({ ...(input.CustomPermissionsName !== undefined && { CustomPermissionsName: input.CustomPermissionsName }), @@ -16040,10 +16054,35 @@ const serializeAws_restJson1ColumnGroupList = (input: ColumnGroup[], context: __ return input.map((entry) => serializeAws_restJson1ColumnGroup(entry, context)); }; +const serializeAws_restJson1ColumnLevelPermissionRule = ( + input: ColumnLevelPermissionRule, + context: __SerdeContext +): any => { + return { + ...(input.ColumnNames !== undefined && { + ColumnNames: serializeAws_restJson1ColumnNameList(input.ColumnNames, context), + }), + ...(input.Principals !== undefined && { + Principals: serializeAws_restJson1PrincipalList(input.Principals, context), + }), + }; +}; + +const serializeAws_restJson1ColumnLevelPermissionRuleList = ( + input: ColumnLevelPermissionRule[], + context: __SerdeContext +): any => { + return input.map((entry) => serializeAws_restJson1ColumnLevelPermissionRule(entry, context)); +}; + const serializeAws_restJson1ColumnList = (input: string[], context: __SerdeContext): any => { return input.map((entry) => entry); }; +const serializeAws_restJson1ColumnNameList = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + const serializeAws_restJson1ColumnTag = (input: ColumnTag, context: __SerdeContext): any => { return { ...(input.ColumnDescription !== undefined && { @@ -16202,6 +16241,9 @@ const serializeAws_restJson1DataSourceParameters = (input: DataSourceParameters, ...(input.MySqlParameters !== undefined && { MySqlParameters: serializeAws_restJson1MySqlParameters(input.MySqlParameters, context), }), + ...(input.OracleParameters !== undefined && { + OracleParameters: serializeAws_restJson1OracleParameters(input.OracleParameters, context), + }), ...(input.PostgreSqlParameters !== undefined && { PostgreSqlParameters: serializeAws_restJson1PostgreSqlParameters(input.PostgreSqlParameters, context), }), @@ -16413,6 +16455,14 @@ const serializeAws_restJson1MySqlParameters = (input: MySqlParameters, context: }; }; +const serializeAws_restJson1OracleParameters = (input: OracleParameters, context: __SerdeContext): any => { + return { + ...(input.Database !== undefined && { Database: input.Database }), + ...(input.Host !== undefined && { Host: input.Host }), + ...(input.Port !== undefined && { Port: input.Port }), + }; +}; + const serializeAws_restJson1_Parameters = (input: _Parameters, context: __SerdeContext): any => { return { ...(input.DateTimeParameters !== undefined && { @@ -16469,6 +16519,10 @@ const serializeAws_restJson1PrestoParameters = (input: PrestoParameters, context }; }; +const serializeAws_restJson1PrincipalList = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + const serializeAws_restJson1ProjectedColumnList = (input: string[], context: __SerdeContext): any => { return input.map((entry) => entry); }; @@ -17013,10 +17067,37 @@ const deserializeAws_restJson1ColumnGroupSchemaList = (output: any, context: __S return (output || []).map((entry: any) => deserializeAws_restJson1ColumnGroupSchema(entry, context)); }; +const deserializeAws_restJson1ColumnLevelPermissionRule = ( + output: any, + context: __SerdeContext +): ColumnLevelPermissionRule => { + return { + ColumnNames: + output.ColumnNames !== undefined && output.ColumnNames !== null + ? deserializeAws_restJson1ColumnNameList(output.ColumnNames, context) + : undefined, + Principals: + output.Principals !== undefined && output.Principals !== null + ? deserializeAws_restJson1PrincipalList(output.Principals, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1ColumnLevelPermissionRuleList = ( + output: any, + context: __SerdeContext +): ColumnLevelPermissionRule[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1ColumnLevelPermissionRule(entry, context)); +}; + const deserializeAws_restJson1ColumnList = (output: any, context: __SerdeContext): string[] => { return (output || []).map((entry: any) => entry); }; +const deserializeAws_restJson1ColumnNameList = (output: any, context: __SerdeContext): string[] => { + return (output || []).map((entry: any) => entry); +}; + const deserializeAws_restJson1ColumnSchema = (output: any, context: __SerdeContext): ColumnSchema => { return { DataType: output.DataType !== undefined && output.DataType !== null ? output.DataType : undefined, @@ -17212,6 +17293,10 @@ const deserializeAws_restJson1DataSet = (output: any, context: __SerdeContext): output.ColumnGroups !== undefined && output.ColumnGroups !== null ? deserializeAws_restJson1ColumnGroupList(output.ColumnGroups, context) : undefined, + ColumnLevelPermissionRules: + output.ColumnLevelPermissionRules !== undefined && output.ColumnLevelPermissionRules !== null + ? deserializeAws_restJson1ColumnLevelPermissionRuleList(output.ColumnLevelPermissionRules, context) + : undefined, ConsumedSpiceCapacityInBytes: output.ConsumedSpiceCapacityInBytes !== undefined && output.ConsumedSpiceCapacityInBytes !== null ? output.ConsumedSpiceCapacityInBytes @@ -17283,6 +17368,10 @@ const deserializeAws_restJson1DataSetSchema = (output: any, context: __SerdeCont const deserializeAws_restJson1DataSetSummary = (output: any, context: __SerdeContext): DataSetSummary => { return { Arn: output.Arn !== undefined && output.Arn !== null ? output.Arn : undefined, + ColumnLevelPermissionRulesApplied: + output.ColumnLevelPermissionRulesApplied !== undefined && output.ColumnLevelPermissionRulesApplied !== null + ? output.ColumnLevelPermissionRulesApplied + : undefined, CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null ? new Date(Math.round(output.CreatedTime * 1000)) @@ -17388,6 +17477,10 @@ const deserializeAws_restJson1DataSourceParameters = (output: any, context: __Se output.MySqlParameters !== undefined && output.MySqlParameters !== null ? deserializeAws_restJson1MySqlParameters(output.MySqlParameters, context) : undefined, + OracleParameters: + output.OracleParameters !== undefined && output.OracleParameters !== null + ? deserializeAws_restJson1OracleParameters(output.OracleParameters, context) + : undefined, PostgreSqlParameters: output.PostgreSqlParameters !== undefined && output.PostgreSqlParameters !== null ? deserializeAws_restJson1PostgreSqlParameters(output.PostgreSqlParameters, context) @@ -17709,6 +17802,14 @@ const deserializeAws_restJson1Namespaces = (output: any, context: __SerdeContext return (output || []).map((entry: any) => deserializeAws_restJson1NamespaceInfoV2(entry, context)); }; +const deserializeAws_restJson1OracleParameters = (output: any, context: __SerdeContext): OracleParameters => { + return { + Database: output.Database !== undefined && output.Database !== null ? output.Database : undefined, + Host: output.Host !== undefined && output.Host !== null ? output.Host : undefined, + Port: output.Port !== undefined && output.Port !== null ? output.Port : undefined, + } as any; +}; + const deserializeAws_restJson1OutputColumn = (output: any, context: __SerdeContext): OutputColumn => { return { Description: output.Description !== undefined && output.Description !== null ? output.Description : undefined, @@ -17767,6 +17868,10 @@ const deserializeAws_restJson1PrestoParameters = (output: any, context: __SerdeC } as any; }; +const deserializeAws_restJson1PrincipalList = (output: any, context: __SerdeContext): string[] => { + return (output || []).map((entry: any) => entry); +}; + const deserializeAws_restJson1ProjectedColumnList = (output: any, context: __SerdeContext): string[] => { return (output || []).map((entry: any) => entry); }; diff --git a/clients/client-ram/pagination/GetResourcePoliciesPaginator.ts b/clients/client-ram/pagination/GetResourcePoliciesPaginator.ts index 7f7da67e6ce0..d14f39fb19d6 100644 --- a/clients/client-ram/pagination/GetResourcePoliciesPaginator.ts +++ b/clients/client-ram/pagination/GetResourcePoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourcePoliciesCommand(input), ...args); + return await client.send(new GetResourcePoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/GetResourceShareAssociationsPaginator.ts b/clients/client-ram/pagination/GetResourceShareAssociationsPaginator.ts index da5fade7ade8..f3844d2f76eb 100644 --- a/clients/client-ram/pagination/GetResourceShareAssociationsPaginator.ts +++ b/clients/client-ram/pagination/GetResourceShareAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourceShareAssociationsCommand(input), ...args); + return await client.send(new GetResourceShareAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/GetResourceShareInvitationsPaginator.ts b/clients/client-ram/pagination/GetResourceShareInvitationsPaginator.ts index 65f7622fa3d3..67b76650b3fa 100644 --- a/clients/client-ram/pagination/GetResourceShareInvitationsPaginator.ts +++ b/clients/client-ram/pagination/GetResourceShareInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourceShareInvitationsCommand(input), ...args); + return await client.send(new GetResourceShareInvitationsCommand(input, ...args)); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/GetResourceSharesPaginator.ts b/clients/client-ram/pagination/GetResourceSharesPaginator.ts index 38a472719139..fdf2f8ed45f4 100644 --- a/clients/client-ram/pagination/GetResourceSharesPaginator.ts +++ b/clients/client-ram/pagination/GetResourceSharesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourceSharesCommand(input), ...args); + return await client.send(new GetResourceSharesCommand(input, ...args)); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/ListPendingInvitationResourcesPaginator.ts b/clients/client-ram/pagination/ListPendingInvitationResourcesPaginator.ts index 99344f20fa11..109919f3bc62 100644 --- a/clients/client-ram/pagination/ListPendingInvitationResourcesPaginator.ts +++ b/clients/client-ram/pagination/ListPendingInvitationResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPendingInvitationResourcesCommand(input), ...args); + return await client.send(new ListPendingInvitationResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/ListPrincipalsPaginator.ts b/clients/client-ram/pagination/ListPrincipalsPaginator.ts index 878d975eb26c..4da20b2ce5ed 100644 --- a/clients/client-ram/pagination/ListPrincipalsPaginator.ts +++ b/clients/client-ram/pagination/ListPrincipalsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPrincipalsCommand(input), ...args); + return await client.send(new ListPrincipalsCommand(input, ...args)); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/ListResourcesPaginator.ts b/clients/client-ram/pagination/ListResourcesPaginator.ts index 1a7e65b5a0cc..34c52685bf5b 100644 --- a/clients/client-ram/pagination/ListResourcesPaginator.ts +++ b/clients/client-ram/pagination/ListResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourcesCommand(input), ...args); + return await client.send(new ListResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-rds/pagination/DescribeCertificatesPaginator.ts b/clients/client-rds/pagination/DescribeCertificatesPaginator.ts index d401c6bf88ba..84a154b08c25 100644 --- a/clients/client-rds/pagination/DescribeCertificatesPaginator.ts +++ b/clients/client-rds/pagination/DescribeCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCertificatesCommand(input), ...args); + return await client.send(new DescribeCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeCustomAvailabilityZonesPaginator.ts b/clients/client-rds/pagination/DescribeCustomAvailabilityZonesPaginator.ts index 75730d2f9baf..6771eff3d71e 100644 --- a/clients/client-rds/pagination/DescribeCustomAvailabilityZonesPaginator.ts +++ b/clients/client-rds/pagination/DescribeCustomAvailabilityZonesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCustomAvailabilityZonesCommand(input), ...args); + return await client.send(new DescribeCustomAvailabilityZonesCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterBacktracksPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterBacktracksPaginator.ts index 669e42a9df8e..2bd41d8499aa 100644 --- a/clients/client-rds/pagination/DescribeDBClusterBacktracksPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterBacktracksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterBacktracksCommand(input), ...args); + return await client.send(new DescribeDBClusterBacktracksCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterEndpointsPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterEndpointsPaginator.ts index 890ab375c679..f6543c84f305 100644 --- a/clients/client-rds/pagination/DescribeDBClusterEndpointsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterEndpointsCommand(input), ...args); + return await client.send(new DescribeDBClusterEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterParameterGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterParameterGroupsPaginator.ts index 3847c7966b78..e3e70b46f80f 100644 --- a/clients/client-rds/pagination/DescribeDBClusterParameterGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterParameterGroupsCommand(input), ...args); + return await client.send(new DescribeDBClusterParameterGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterParametersPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterParametersPaginator.ts index dc58f778da21..325ec297d8a7 100644 --- a/clients/client-rds/pagination/DescribeDBClusterParametersPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterParametersCommand(input), ...args); + return await client.send(new DescribeDBClusterParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterSnapshotsPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterSnapshotsPaginator.ts index 1fcfa357aa8b..6e93e944df7b 100644 --- a/clients/client-rds/pagination/DescribeDBClusterSnapshotsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterSnapshotsCommand(input), ...args); + return await client.send(new DescribeDBClusterSnapshotsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClustersPaginator.ts b/clients/client-rds/pagination/DescribeDBClustersPaginator.ts index 407c561ca1b3..24fc1a1c021c 100644 --- a/clients/client-rds/pagination/DescribeDBClustersPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClustersCommand(input), ...args); + return await client.send(new DescribeDBClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBEngineVersionsPaginator.ts b/clients/client-rds/pagination/DescribeDBEngineVersionsPaginator.ts index 44b101261e63..e75130c6c567 100644 --- a/clients/client-rds/pagination/DescribeDBEngineVersionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBEngineVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBEngineVersionsCommand(input), ...args); + return await client.send(new DescribeDBEngineVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBInstanceAutomatedBackupsPaginator.ts b/clients/client-rds/pagination/DescribeDBInstanceAutomatedBackupsPaginator.ts index 5f176da4cbbd..7bdd2194f9ef 100644 --- a/clients/client-rds/pagination/DescribeDBInstanceAutomatedBackupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBInstanceAutomatedBackupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBInstanceAutomatedBackupsCommand(input), ...args); + return await client.send(new DescribeDBInstanceAutomatedBackupsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBInstancesPaginator.ts b/clients/client-rds/pagination/DescribeDBInstancesPaginator.ts index 02197abf54cb..2f5d5dd99aef 100644 --- a/clients/client-rds/pagination/DescribeDBInstancesPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBInstancesCommand(input), ...args); + return await client.send(new DescribeDBInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBLogFilesPaginator.ts b/clients/client-rds/pagination/DescribeDBLogFilesPaginator.ts index b415d81d563d..6c643cee474b 100644 --- a/clients/client-rds/pagination/DescribeDBLogFilesPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBLogFilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBLogFilesCommand(input), ...args); + return await client.send(new DescribeDBLogFilesCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBParameterGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBParameterGroupsPaginator.ts index cdf1f08582ea..ea2bb6b0c87a 100644 --- a/clients/client-rds/pagination/DescribeDBParameterGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBParameterGroupsCommand(input), ...args); + return await client.send(new DescribeDBParameterGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBParametersPaginator.ts b/clients/client-rds/pagination/DescribeDBParametersPaginator.ts index 9f08f0c1e7f1..d12a998f6281 100644 --- a/clients/client-rds/pagination/DescribeDBParametersPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBParametersCommand(input), ...args); + return await client.send(new DescribeDBParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBProxiesPaginator.ts b/clients/client-rds/pagination/DescribeDBProxiesPaginator.ts index 69800114a9f6..7891d3ad4932 100644 --- a/clients/client-rds/pagination/DescribeDBProxiesPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBProxiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBProxiesCommand(input), ...args); + return await client.send(new DescribeDBProxiesCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBProxyTargetGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBProxyTargetGroupsPaginator.ts index bb308d5e2f7d..ae49ce82ec1f 100644 --- a/clients/client-rds/pagination/DescribeDBProxyTargetGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBProxyTargetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBProxyTargetGroupsCommand(input), ...args); + return await client.send(new DescribeDBProxyTargetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBProxyTargetsPaginator.ts b/clients/client-rds/pagination/DescribeDBProxyTargetsPaginator.ts index 37cf345cea1e..425798b0973c 100644 --- a/clients/client-rds/pagination/DescribeDBProxyTargetsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBProxyTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBProxyTargetsCommand(input), ...args); + return await client.send(new DescribeDBProxyTargetsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBSecurityGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBSecurityGroupsPaginator.ts index 60b30bc8b94b..d8945ab0af4c 100644 --- a/clients/client-rds/pagination/DescribeDBSecurityGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSecurityGroupsCommand(input), ...args); + return await client.send(new DescribeDBSecurityGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBSnapshotsPaginator.ts b/clients/client-rds/pagination/DescribeDBSnapshotsPaginator.ts index d7e648e9f6bf..b0caaa2e2ac7 100644 --- a/clients/client-rds/pagination/DescribeDBSnapshotsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSnapshotsCommand(input), ...args); + return await client.send(new DescribeDBSnapshotsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBSubnetGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBSubnetGroupsPaginator.ts index 0349c79e5d57..6067e6608c03 100644 --- a/clients/client-rds/pagination/DescribeDBSubnetGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args); + return await client.send(new DescribeDBSubnetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeEngineDefaultParametersPaginator.ts b/clients/client-rds/pagination/DescribeEngineDefaultParametersPaginator.ts index 8d1218e88a5a..8ecaff878b99 100644 --- a/clients/client-rds/pagination/DescribeEngineDefaultParametersPaginator.ts +++ b/clients/client-rds/pagination/DescribeEngineDefaultParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args); + return await client.send(new DescribeEngineDefaultParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeEventSubscriptionsPaginator.ts b/clients/client-rds/pagination/DescribeEventSubscriptionsPaginator.ts index 911c9b2a27c0..6dfb9dad54d3 100644 --- a/clients/client-rds/pagination/DescribeEventSubscriptionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventSubscriptionsCommand(input), ...args); + return await client.send(new DescribeEventSubscriptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeEventsPaginator.ts b/clients/client-rds/pagination/DescribeEventsPaginator.ts index 6eccfb951e24..d5398ac2bcab 100644 --- a/clients/client-rds/pagination/DescribeEventsPaginator.ts +++ b/clients/client-rds/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input), ...args); + return await client.send(new DescribeEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeExportTasksPaginator.ts b/clients/client-rds/pagination/DescribeExportTasksPaginator.ts index 1794cf6f5c6e..7ee45ca47875 100644 --- a/clients/client-rds/pagination/DescribeExportTasksPaginator.ts +++ b/clients/client-rds/pagination/DescribeExportTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeExportTasksCommand(input), ...args); + return await client.send(new DescribeExportTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeGlobalClustersPaginator.ts b/clients/client-rds/pagination/DescribeGlobalClustersPaginator.ts index 1371fae1254e..d8b42339eb9c 100644 --- a/clients/client-rds/pagination/DescribeGlobalClustersPaginator.ts +++ b/clients/client-rds/pagination/DescribeGlobalClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGlobalClustersCommand(input), ...args); + return await client.send(new DescribeGlobalClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeInstallationMediaPaginator.ts b/clients/client-rds/pagination/DescribeInstallationMediaPaginator.ts index 8106de0c45bd..14223360b3a1 100644 --- a/clients/client-rds/pagination/DescribeInstallationMediaPaginator.ts +++ b/clients/client-rds/pagination/DescribeInstallationMediaPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstallationMediaCommand(input), ...args); + return await client.send(new DescribeInstallationMediaCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeOptionGroupOptionsPaginator.ts b/clients/client-rds/pagination/DescribeOptionGroupOptionsPaginator.ts index 8f48a4f42e99..198d28b10169 100644 --- a/clients/client-rds/pagination/DescribeOptionGroupOptionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeOptionGroupOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOptionGroupOptionsCommand(input), ...args); + return await client.send(new DescribeOptionGroupOptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeOptionGroupsPaginator.ts b/clients/client-rds/pagination/DescribeOptionGroupsPaginator.ts index b1902b1e3a22..b46ab9e13e02 100644 --- a/clients/client-rds/pagination/DescribeOptionGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeOptionGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOptionGroupsCommand(input), ...args); + return await client.send(new DescribeOptionGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts b/clients/client-rds/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts index 956f2123e282..fabff73ea588 100644 --- a/clients/client-rds/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args); + return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribePendingMaintenanceActionsPaginator.ts b/clients/client-rds/pagination/DescribePendingMaintenanceActionsPaginator.ts index ba1bfc445ae6..f1a3b3cea610 100644 --- a/clients/client-rds/pagination/DescribePendingMaintenanceActionsPaginator.ts +++ b/clients/client-rds/pagination/DescribePendingMaintenanceActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePendingMaintenanceActionsCommand(input), ...args); + return await client.send(new DescribePendingMaintenanceActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeReservedDBInstancesOfferingsPaginator.ts b/clients/client-rds/pagination/DescribeReservedDBInstancesOfferingsPaginator.ts index e72b9a7b9238..4db1b61d2a94 100644 --- a/clients/client-rds/pagination/DescribeReservedDBInstancesOfferingsPaginator.ts +++ b/clients/client-rds/pagination/DescribeReservedDBInstancesOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedDBInstancesOfferingsCommand(input), ...args); + return await client.send(new DescribeReservedDBInstancesOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeReservedDBInstancesPaginator.ts b/clients/client-rds/pagination/DescribeReservedDBInstancesPaginator.ts index efe0d5d8728c..2be71ee67e8b 100644 --- a/clients/client-rds/pagination/DescribeReservedDBInstancesPaginator.ts +++ b/clients/client-rds/pagination/DescribeReservedDBInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedDBInstancesCommand(input), ...args); + return await client.send(new DescribeReservedDBInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeSourceRegionsPaginator.ts b/clients/client-rds/pagination/DescribeSourceRegionsPaginator.ts index 81f9bdcabd4f..ed4d30ad892c 100644 --- a/clients/client-rds/pagination/DescribeSourceRegionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeSourceRegionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSourceRegionsCommand(input), ...args); + return await client.send(new DescribeSourceRegionsCommand(input, ...args)); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-redshift-data/pagination/DescribeTablePaginator.ts b/clients/client-redshift-data/pagination/DescribeTablePaginator.ts index 8d4c7b7124c9..0c30f4774427 100644 --- a/clients/client-redshift-data/pagination/DescribeTablePaginator.ts +++ b/clients/client-redshift-data/pagination/DescribeTablePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTableCommand(input), ...args); + return await client.send(new DescribeTableCommand(input, ...args)); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/GetStatementResultPaginator.ts b/clients/client-redshift-data/pagination/GetStatementResultPaginator.ts index e56ad82d1622..833ee515195a 100644 --- a/clients/client-redshift-data/pagination/GetStatementResultPaginator.ts +++ b/clients/client-redshift-data/pagination/GetStatementResultPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetStatementResultCommand(input), ...args); + return await client.send(new GetStatementResultCommand(input, ...args)); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/ListDatabasesPaginator.ts b/clients/client-redshift-data/pagination/ListDatabasesPaginator.ts index 9c1bb275381a..46c30c436033 100644 --- a/clients/client-redshift-data/pagination/ListDatabasesPaginator.ts +++ b/clients/client-redshift-data/pagination/ListDatabasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatabasesCommand(input), ...args); + return await client.send(new ListDatabasesCommand(input, ...args)); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/ListSchemasPaginator.ts b/clients/client-redshift-data/pagination/ListSchemasPaginator.ts index 6bf45288b630..8c138a38b4b7 100644 --- a/clients/client-redshift-data/pagination/ListSchemasPaginator.ts +++ b/clients/client-redshift-data/pagination/ListSchemasPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSchemasCommand(input), ...args); + return await client.send(new ListSchemasCommand(input, ...args)); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/ListStatementsPaginator.ts b/clients/client-redshift-data/pagination/ListStatementsPaginator.ts index b7f4f6269603..65315ee6174c 100644 --- a/clients/client-redshift-data/pagination/ListStatementsPaginator.ts +++ b/clients/client-redshift-data/pagination/ListStatementsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStatementsCommand(input), ...args); + return await client.send(new ListStatementsCommand(input, ...args)); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/ListTablesPaginator.ts b/clients/client-redshift-data/pagination/ListTablesPaginator.ts index 9f7c1d106aad..e63aae8cd179 100644 --- a/clients/client-redshift-data/pagination/ListTablesPaginator.ts +++ b/clients/client-redshift-data/pagination/ListTablesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTablesCommand(input), ...args); + return await client.send(new ListTablesCommand(input, ...args)); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift/pagination/DescribeClusterParameterGroupsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterParameterGroupsPaginator.ts index bcef1465715b..8d80d4411c93 100644 --- a/clients/client-redshift/pagination/DescribeClusterParameterGroupsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterParameterGroupsCommand(input), ...args); + return await client.send(new DescribeClusterParameterGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterParametersPaginator.ts b/clients/client-redshift/pagination/DescribeClusterParametersPaginator.ts index c27f7717ab21..3719dfc5ca07 100644 --- a/clients/client-redshift/pagination/DescribeClusterParametersPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterParametersCommand(input), ...args); + return await client.send(new DescribeClusterParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterSecurityGroupsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterSecurityGroupsPaginator.ts index c208fff76578..9d56498bdf38 100644 --- a/clients/client-redshift/pagination/DescribeClusterSecurityGroupsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterSecurityGroupsCommand(input), ...args); + return await client.send(new DescribeClusterSecurityGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterSnapshotsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterSnapshotsPaginator.ts index 0b6144370aa8..a6ddf4fb78c7 100644 --- a/clients/client-redshift/pagination/DescribeClusterSnapshotsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterSnapshotsCommand(input), ...args); + return await client.send(new DescribeClusterSnapshotsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterSubnetGroupsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterSubnetGroupsPaginator.ts index a4cd508137d6..0e7b14c0ea13 100644 --- a/clients/client-redshift/pagination/DescribeClusterSubnetGroupsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterSubnetGroupsCommand(input), ...args); + return await client.send(new DescribeClusterSubnetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterVersionsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterVersionsPaginator.ts index 5d4c0ca9955a..7cdb7b168fc3 100644 --- a/clients/client-redshift/pagination/DescribeClusterVersionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterVersionsCommand(input), ...args); + return await client.send(new DescribeClusterVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClustersPaginator.ts b/clients/client-redshift/pagination/DescribeClustersPaginator.ts index 4c512ccce7d7..541c0deddeb9 100644 --- a/clients/client-redshift/pagination/DescribeClustersPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClustersCommand(input), ...args); + return await client.send(new DescribeClustersCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeDefaultClusterParametersPaginator.ts b/clients/client-redshift/pagination/DescribeDefaultClusterParametersPaginator.ts index 376d8b3397a8..6e1d2363a534 100644 --- a/clients/client-redshift/pagination/DescribeDefaultClusterParametersPaginator.ts +++ b/clients/client-redshift/pagination/DescribeDefaultClusterParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDefaultClusterParametersCommand(input), ...args); + return await client.send(new DescribeDefaultClusterParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeEventSubscriptionsPaginator.ts b/clients/client-redshift/pagination/DescribeEventSubscriptionsPaginator.ts index d50504957779..9f14c5ee1ceb 100644 --- a/clients/client-redshift/pagination/DescribeEventSubscriptionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventSubscriptionsCommand(input), ...args); + return await client.send(new DescribeEventSubscriptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeEventsPaginator.ts b/clients/client-redshift/pagination/DescribeEventsPaginator.ts index e5bdb3c52999..65c996f1e5fa 100644 --- a/clients/client-redshift/pagination/DescribeEventsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input), ...args); + return await client.send(new DescribeEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeHsmClientCertificatesPaginator.ts b/clients/client-redshift/pagination/DescribeHsmClientCertificatesPaginator.ts index e46964f83296..fb390cb09e6c 100644 --- a/clients/client-redshift/pagination/DescribeHsmClientCertificatesPaginator.ts +++ b/clients/client-redshift/pagination/DescribeHsmClientCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHsmClientCertificatesCommand(input), ...args); + return await client.send(new DescribeHsmClientCertificatesCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeHsmConfigurationsPaginator.ts b/clients/client-redshift/pagination/DescribeHsmConfigurationsPaginator.ts index 0e42960a98df..c099a4ed822a 100644 --- a/clients/client-redshift/pagination/DescribeHsmConfigurationsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeHsmConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHsmConfigurationsCommand(input), ...args); + return await client.send(new DescribeHsmConfigurationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeNodeConfigurationOptionsPaginator.ts b/clients/client-redshift/pagination/DescribeNodeConfigurationOptionsPaginator.ts index 1de42db75be7..cdf9f7af1930 100644 --- a/clients/client-redshift/pagination/DescribeNodeConfigurationOptionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeNodeConfigurationOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNodeConfigurationOptionsCommand(input), ...args); + return await client.send(new DescribeNodeConfigurationOptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeOrderableClusterOptionsPaginator.ts b/clients/client-redshift/pagination/DescribeOrderableClusterOptionsPaginator.ts index 02e24dfce3af..651e25846745 100644 --- a/clients/client-redshift/pagination/DescribeOrderableClusterOptionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeOrderableClusterOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableClusterOptionsCommand(input), ...args); + return await client.send(new DescribeOrderableClusterOptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeReservedNodeOfferingsPaginator.ts b/clients/client-redshift/pagination/DescribeReservedNodeOfferingsPaginator.ts index f9ea46e0cebd..9885babab942 100644 --- a/clients/client-redshift/pagination/DescribeReservedNodeOfferingsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeReservedNodeOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedNodeOfferingsCommand(input), ...args); + return await client.send(new DescribeReservedNodeOfferingsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeReservedNodesPaginator.ts b/clients/client-redshift/pagination/DescribeReservedNodesPaginator.ts index 2e5a3931b242..a6e0e21bb0da 100644 --- a/clients/client-redshift/pagination/DescribeReservedNodesPaginator.ts +++ b/clients/client-redshift/pagination/DescribeReservedNodesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedNodesCommand(input), ...args); + return await client.send(new DescribeReservedNodesCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeScheduledActionsPaginator.ts b/clients/client-redshift/pagination/DescribeScheduledActionsPaginator.ts index 43033885026d..d1e096695155 100644 --- a/clients/client-redshift/pagination/DescribeScheduledActionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeScheduledActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledActionsCommand(input), ...args); + return await client.send(new DescribeScheduledActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeUsageLimitsPaginator.ts b/clients/client-redshift/pagination/DescribeUsageLimitsPaginator.ts index 835e4317dd10..e0b75b37a425 100644 --- a/clients/client-redshift/pagination/DescribeUsageLimitsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeUsageLimitsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUsageLimitsCommand(input), ...args); + return await client.send(new DescribeUsageLimitsCommand(input, ...args)); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-rekognition/pagination/DescribeProjectVersionsPaginator.ts b/clients/client-rekognition/pagination/DescribeProjectVersionsPaginator.ts index bb21eebf5bf5..ed4386180065 100644 --- a/clients/client-rekognition/pagination/DescribeProjectVersionsPaginator.ts +++ b/clients/client-rekognition/pagination/DescribeProjectVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeProjectVersionsCommand(input), ...args); + return await client.send(new DescribeProjectVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/DescribeProjectsPaginator.ts b/clients/client-rekognition/pagination/DescribeProjectsPaginator.ts index 02f6f7e9c9e6..0c5919473e59 100644 --- a/clients/client-rekognition/pagination/DescribeProjectsPaginator.ts +++ b/clients/client-rekognition/pagination/DescribeProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeProjectsCommand(input), ...args); + return await client.send(new DescribeProjectsCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetCelebrityRecognitionPaginator.ts b/clients/client-rekognition/pagination/GetCelebrityRecognitionPaginator.ts index f83e014dbaf9..ea4081ad2fdb 100644 --- a/clients/client-rekognition/pagination/GetCelebrityRecognitionPaginator.ts +++ b/clients/client-rekognition/pagination/GetCelebrityRecognitionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCelebrityRecognitionCommand(input), ...args); + return await client.send(new GetCelebrityRecognitionCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetContentModerationPaginator.ts b/clients/client-rekognition/pagination/GetContentModerationPaginator.ts index bc2e88a51315..d3a3da6cc5ca 100644 --- a/clients/client-rekognition/pagination/GetContentModerationPaginator.ts +++ b/clients/client-rekognition/pagination/GetContentModerationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetContentModerationCommand(input), ...args); + return await client.send(new GetContentModerationCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetFaceDetectionPaginator.ts b/clients/client-rekognition/pagination/GetFaceDetectionPaginator.ts index bc590249429a..f705c4441b1c 100644 --- a/clients/client-rekognition/pagination/GetFaceDetectionPaginator.ts +++ b/clients/client-rekognition/pagination/GetFaceDetectionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetFaceDetectionCommand(input), ...args); + return await client.send(new GetFaceDetectionCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetFaceSearchPaginator.ts b/clients/client-rekognition/pagination/GetFaceSearchPaginator.ts index 2da6f0049602..5f17c1b05ee9 100644 --- a/clients/client-rekognition/pagination/GetFaceSearchPaginator.ts +++ b/clients/client-rekognition/pagination/GetFaceSearchPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetFaceSearchCommand(input), ...args); + return await client.send(new GetFaceSearchCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetLabelDetectionPaginator.ts b/clients/client-rekognition/pagination/GetLabelDetectionPaginator.ts index 830e04d9fdb5..cfaf6a476cc2 100644 --- a/clients/client-rekognition/pagination/GetLabelDetectionPaginator.ts +++ b/clients/client-rekognition/pagination/GetLabelDetectionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLabelDetectionCommand(input), ...args); + return await client.send(new GetLabelDetectionCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetPersonTrackingPaginator.ts b/clients/client-rekognition/pagination/GetPersonTrackingPaginator.ts index 738ac209113a..0a90ce3c821f 100644 --- a/clients/client-rekognition/pagination/GetPersonTrackingPaginator.ts +++ b/clients/client-rekognition/pagination/GetPersonTrackingPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetPersonTrackingCommand(input), ...args); + return await client.send(new GetPersonTrackingCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetSegmentDetectionPaginator.ts b/clients/client-rekognition/pagination/GetSegmentDetectionPaginator.ts index 0a4bd338f25c..46f0f7cabaa1 100644 --- a/clients/client-rekognition/pagination/GetSegmentDetectionPaginator.ts +++ b/clients/client-rekognition/pagination/GetSegmentDetectionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSegmentDetectionCommand(input), ...args); + return await client.send(new GetSegmentDetectionCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetTextDetectionPaginator.ts b/clients/client-rekognition/pagination/GetTextDetectionPaginator.ts index e9fb582cfb8f..b4dea4f30ddf 100644 --- a/clients/client-rekognition/pagination/GetTextDetectionPaginator.ts +++ b/clients/client-rekognition/pagination/GetTextDetectionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTextDetectionCommand(input), ...args); + return await client.send(new GetTextDetectionCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/ListCollectionsPaginator.ts b/clients/client-rekognition/pagination/ListCollectionsPaginator.ts index d4e64dec8133..060f1e1e059c 100644 --- a/clients/client-rekognition/pagination/ListCollectionsPaginator.ts +++ b/clients/client-rekognition/pagination/ListCollectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCollectionsCommand(input), ...args); + return await client.send(new ListCollectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/ListFacesPaginator.ts b/clients/client-rekognition/pagination/ListFacesPaginator.ts index daf311ed1451..111536913b4f 100644 --- a/clients/client-rekognition/pagination/ListFacesPaginator.ts +++ b/clients/client-rekognition/pagination/ListFacesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFacesCommand(input), ...args); + return await client.send(new ListFacesCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/ListStreamProcessorsPaginator.ts b/clients/client-rekognition/pagination/ListStreamProcessorsPaginator.ts index 08715e4ee306..9765bb0dad07 100644 --- a/clients/client-rekognition/pagination/ListStreamProcessorsPaginator.ts +++ b/clients/client-rekognition/pagination/ListStreamProcessorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamProcessorsCommand(input), ...args); + return await client.send(new ListStreamProcessorsCommand(input, ...args)); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-resource-groups-tagging-api/pagination/GetComplianceSummaryPaginator.ts b/clients/client-resource-groups-tagging-api/pagination/GetComplianceSummaryPaginator.ts index 6b9cc618717b..84616d7364ce 100644 --- a/clients/client-resource-groups-tagging-api/pagination/GetComplianceSummaryPaginator.ts +++ b/clients/client-resource-groups-tagging-api/pagination/GetComplianceSummaryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetComplianceSummaryCommand(input), ...args); + return await client.send(new GetComplianceSummaryCommand(input, ...args)); }; const makePagedRequest = async ( client: ResourceGroupsTaggingAPI, diff --git a/clients/client-resource-groups-tagging-api/pagination/GetResourcesPaginator.ts b/clients/client-resource-groups-tagging-api/pagination/GetResourcesPaginator.ts index a107fb1e8bb2..eef049e2271a 100644 --- a/clients/client-resource-groups-tagging-api/pagination/GetResourcesPaginator.ts +++ b/clients/client-resource-groups-tagging-api/pagination/GetResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourcesCommand(input), ...args); + return await client.send(new GetResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: ResourceGroupsTaggingAPI, diff --git a/clients/client-resource-groups-tagging-api/pagination/GetTagKeysPaginator.ts b/clients/client-resource-groups-tagging-api/pagination/GetTagKeysPaginator.ts index 422e6e4ae916..8ba1791dd39d 100644 --- a/clients/client-resource-groups-tagging-api/pagination/GetTagKeysPaginator.ts +++ b/clients/client-resource-groups-tagging-api/pagination/GetTagKeysPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTagKeysCommand(input), ...args); + return await client.send(new GetTagKeysCommand(input, ...args)); }; const makePagedRequest = async ( client: ResourceGroupsTaggingAPI, diff --git a/clients/client-resource-groups-tagging-api/pagination/GetTagValuesPaginator.ts b/clients/client-resource-groups-tagging-api/pagination/GetTagValuesPaginator.ts index 3ad80162459c..6c96e0f29974 100644 --- a/clients/client-resource-groups-tagging-api/pagination/GetTagValuesPaginator.ts +++ b/clients/client-resource-groups-tagging-api/pagination/GetTagValuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTagValuesCommand(input), ...args); + return await client.send(new GetTagValuesCommand(input, ...args)); }; const makePagedRequest = async ( client: ResourceGroupsTaggingAPI, diff --git a/clients/client-resource-groups/pagination/ListGroupResourcesPaginator.ts b/clients/client-resource-groups/pagination/ListGroupResourcesPaginator.ts index a36ba712e473..dce3d6578897 100644 --- a/clients/client-resource-groups/pagination/ListGroupResourcesPaginator.ts +++ b/clients/client-resource-groups/pagination/ListGroupResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupResourcesCommand(input), ...args); + return await client.send(new ListGroupResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: ResourceGroups, diff --git a/clients/client-resource-groups/pagination/ListGroupsPaginator.ts b/clients/client-resource-groups/pagination/ListGroupsPaginator.ts index d4df0457650a..1fbc1a152268 100644 --- a/clients/client-resource-groups/pagination/ListGroupsPaginator.ts +++ b/clients/client-resource-groups/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input), ...args); + return await client.send(new ListGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: ResourceGroups, diff --git a/clients/client-resource-groups/pagination/SearchResourcesPaginator.ts b/clients/client-resource-groups/pagination/SearchResourcesPaginator.ts index 900f4c083069..83d2fe88790f 100644 --- a/clients/client-resource-groups/pagination/SearchResourcesPaginator.ts +++ b/clients/client-resource-groups/pagination/SearchResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchResourcesCommand(input), ...args); + return await client.send(new SearchResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: ResourceGroups, diff --git a/clients/client-robomaker/pagination/ListDeploymentJobsPaginator.ts b/clients/client-robomaker/pagination/ListDeploymentJobsPaginator.ts index ac64040b4c11..a0ab25c1c417 100644 --- a/clients/client-robomaker/pagination/ListDeploymentJobsPaginator.ts +++ b/clients/client-robomaker/pagination/ListDeploymentJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentJobsCommand(input), ...args); + return await client.send(new ListDeploymentJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListFleetsPaginator.ts b/clients/client-robomaker/pagination/ListFleetsPaginator.ts index 85a967696e92..b9880cf0306c 100644 --- a/clients/client-robomaker/pagination/ListFleetsPaginator.ts +++ b/clients/client-robomaker/pagination/ListFleetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFleetsCommand(input), ...args); + return await client.send(new ListFleetsCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListRobotApplicationsPaginator.ts b/clients/client-robomaker/pagination/ListRobotApplicationsPaginator.ts index 9165197d7512..3e213e007155 100644 --- a/clients/client-robomaker/pagination/ListRobotApplicationsPaginator.ts +++ b/clients/client-robomaker/pagination/ListRobotApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRobotApplicationsCommand(input), ...args); + return await client.send(new ListRobotApplicationsCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListRobotsPaginator.ts b/clients/client-robomaker/pagination/ListRobotsPaginator.ts index f413852646c9..ca66924972d0 100644 --- a/clients/client-robomaker/pagination/ListRobotsPaginator.ts +++ b/clients/client-robomaker/pagination/ListRobotsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRobotsCommand(input), ...args); + return await client.send(new ListRobotsCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListSimulationApplicationsPaginator.ts b/clients/client-robomaker/pagination/ListSimulationApplicationsPaginator.ts index 1dc2b34151bf..08fa1bca63d6 100644 --- a/clients/client-robomaker/pagination/ListSimulationApplicationsPaginator.ts +++ b/clients/client-robomaker/pagination/ListSimulationApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSimulationApplicationsCommand(input), ...args); + return await client.send(new ListSimulationApplicationsCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListSimulationJobBatchesPaginator.ts b/clients/client-robomaker/pagination/ListSimulationJobBatchesPaginator.ts index 15bdc7fb2db5..419703c80009 100644 --- a/clients/client-robomaker/pagination/ListSimulationJobBatchesPaginator.ts +++ b/clients/client-robomaker/pagination/ListSimulationJobBatchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSimulationJobBatchesCommand(input), ...args); + return await client.send(new ListSimulationJobBatchesCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListSimulationJobsPaginator.ts b/clients/client-robomaker/pagination/ListSimulationJobsPaginator.ts index 08d4b91bb083..c713f1bbf88b 100644 --- a/clients/client-robomaker/pagination/ListSimulationJobsPaginator.ts +++ b/clients/client-robomaker/pagination/ListSimulationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSimulationJobsCommand(input), ...args); + return await client.send(new ListSimulationJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListWorldExportJobsPaginator.ts b/clients/client-robomaker/pagination/ListWorldExportJobsPaginator.ts index 6f34215f2646..05dc76a0b94d 100644 --- a/clients/client-robomaker/pagination/ListWorldExportJobsPaginator.ts +++ b/clients/client-robomaker/pagination/ListWorldExportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorldExportJobsCommand(input), ...args); + return await client.send(new ListWorldExportJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListWorldGenerationJobsPaginator.ts b/clients/client-robomaker/pagination/ListWorldGenerationJobsPaginator.ts index f9b47b977f23..5a8a88e70df7 100644 --- a/clients/client-robomaker/pagination/ListWorldGenerationJobsPaginator.ts +++ b/clients/client-robomaker/pagination/ListWorldGenerationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorldGenerationJobsCommand(input), ...args); + return await client.send(new ListWorldGenerationJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListWorldTemplatesPaginator.ts b/clients/client-robomaker/pagination/ListWorldTemplatesPaginator.ts index 6de8490a8f11..fe0c04672cff 100644 --- a/clients/client-robomaker/pagination/ListWorldTemplatesPaginator.ts +++ b/clients/client-robomaker/pagination/ListWorldTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorldTemplatesCommand(input), ...args); + return await client.send(new ListWorldTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListWorldsPaginator.ts b/clients/client-robomaker/pagination/ListWorldsPaginator.ts index c7b44f0688b2..83ff6fda6447 100644 --- a/clients/client-robomaker/pagination/ListWorldsPaginator.ts +++ b/clients/client-robomaker/pagination/ListWorldsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorldsCommand(input), ...args); + return await client.send(new ListWorldsCommand(input, ...args)); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-route-53-domains/pagination/ListDomainsPaginator.ts b/clients/client-route-53-domains/pagination/ListDomainsPaginator.ts index bcac6ef39fa4..2744b8ad7c53 100644 --- a/clients/client-route-53-domains/pagination/ListDomainsPaginator.ts +++ b/clients/client-route-53-domains/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input), ...args); + return await client.send(new ListDomainsCommand(input, ...args)); }; const makePagedRequest = async ( client: Route53Domains, diff --git a/clients/client-route-53-domains/pagination/ListOperationsPaginator.ts b/clients/client-route-53-domains/pagination/ListOperationsPaginator.ts index 1d889b28b196..39076f7b4255 100644 --- a/clients/client-route-53-domains/pagination/ListOperationsPaginator.ts +++ b/clients/client-route-53-domains/pagination/ListOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOperationsCommand(input), ...args); + return await client.send(new ListOperationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Route53Domains, diff --git a/clients/client-route53resolver/pagination/ListResolverEndpointIpAddressesPaginator.ts b/clients/client-route53resolver/pagination/ListResolverEndpointIpAddressesPaginator.ts index ecde21331693..0e421e5703f9 100644 --- a/clients/client-route53resolver/pagination/ListResolverEndpointIpAddressesPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverEndpointIpAddressesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverEndpointIpAddressesCommand(input), ...args); + return await client.send(new ListResolverEndpointIpAddressesCommand(input, ...args)); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverEndpointsPaginator.ts b/clients/client-route53resolver/pagination/ListResolverEndpointsPaginator.ts index 26a6e3a750f6..54980c8496f3 100644 --- a/clients/client-route53resolver/pagination/ListResolverEndpointsPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverEndpointsCommand(input), ...args); + return await client.send(new ListResolverEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverQueryLogConfigAssociationsPaginator.ts b/clients/client-route53resolver/pagination/ListResolverQueryLogConfigAssociationsPaginator.ts index b4bbfe0c12c9..4cbe1c5c7b82 100644 --- a/clients/client-route53resolver/pagination/ListResolverQueryLogConfigAssociationsPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverQueryLogConfigAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverQueryLogConfigAssociationsCommand(input), ...args); + return await client.send(new ListResolverQueryLogConfigAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverQueryLogConfigsPaginator.ts b/clients/client-route53resolver/pagination/ListResolverQueryLogConfigsPaginator.ts index a87c321f428b..56682297c28b 100644 --- a/clients/client-route53resolver/pagination/ListResolverQueryLogConfigsPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverQueryLogConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverQueryLogConfigsCommand(input), ...args); + return await client.send(new ListResolverQueryLogConfigsCommand(input, ...args)); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverRuleAssociationsPaginator.ts b/clients/client-route53resolver/pagination/ListResolverRuleAssociationsPaginator.ts index ac3deabbada1..0f237a2e5831 100644 --- a/clients/client-route53resolver/pagination/ListResolverRuleAssociationsPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverRuleAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverRuleAssociationsCommand(input), ...args); + return await client.send(new ListResolverRuleAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverRulesPaginator.ts b/clients/client-route53resolver/pagination/ListResolverRulesPaginator.ts index e2d3a369bec0..4be438554294 100644 --- a/clients/client-route53resolver/pagination/ListResolverRulesPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverRulesCommand(input), ...args); + return await client.send(new ListResolverRulesCommand(input, ...args)); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListTagsForResourcePaginator.ts b/clients/client-route53resolver/pagination/ListTagsForResourcePaginator.ts index fcb7e2e7baf5..269a4ca849e8 100644 --- a/clients/client-route53resolver/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-route53resolver/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-s3-control/pagination/ListAccessPointsPaginator.ts b/clients/client-s3-control/pagination/ListAccessPointsPaginator.ts index 177f5fb1e17f..eba77f0652e1 100644 --- a/clients/client-s3-control/pagination/ListAccessPointsPaginator.ts +++ b/clients/client-s3-control/pagination/ListAccessPointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccessPointsCommand(input), ...args); + return await client.send(new ListAccessPointsCommand(input, ...args)); }; const makePagedRequest = async ( client: S3Control, diff --git a/clients/client-s3-control/pagination/ListJobsPaginator.ts b/clients/client-s3-control/pagination/ListJobsPaginator.ts index 5a06e626669f..8bd11a961a44 100644 --- a/clients/client-s3-control/pagination/ListJobsPaginator.ts +++ b/clients/client-s3-control/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input), ...args); + return await client.send(new ListJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: S3Control, diff --git a/clients/client-s3-control/pagination/ListRegionalBucketsPaginator.ts b/clients/client-s3-control/pagination/ListRegionalBucketsPaginator.ts index 7df5f0dff4e2..fc1aea724d09 100644 --- a/clients/client-s3-control/pagination/ListRegionalBucketsPaginator.ts +++ b/clients/client-s3-control/pagination/ListRegionalBucketsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRegionalBucketsCommand(input), ...args); + return await client.send(new ListRegionalBucketsCommand(input, ...args)); }; const makePagedRequest = async ( client: S3Control, diff --git a/clients/client-s3/S3.ts b/clients/client-s3/S3.ts index 54fbad863a96..edb1425194df 100644 --- a/clients/client-s3/S3.ts +++ b/clients/client-s3/S3.ts @@ -40,6 +40,11 @@ import { DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, } from "./commands/DeleteBucketEncryptionCommand"; +import { + DeleteBucketIntelligentTieringConfigurationCommand, + DeleteBucketIntelligentTieringConfigurationCommandInput, + DeleteBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/DeleteBucketIntelligentTieringConfigurationCommand"; import { DeleteBucketInventoryConfigurationCommand, DeleteBucketInventoryConfigurationCommandInput, @@ -125,6 +130,11 @@ import { GetBucketEncryptionCommandInput, GetBucketEncryptionCommandOutput, } from "./commands/GetBucketEncryptionCommand"; +import { + GetBucketIntelligentTieringConfigurationCommand, + GetBucketIntelligentTieringConfigurationCommandInput, + GetBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/GetBucketIntelligentTieringConfigurationCommand"; import { GetBucketInventoryConfigurationCommand, GetBucketInventoryConfigurationCommandInput, @@ -238,6 +248,11 @@ import { ListBucketAnalyticsConfigurationsCommandInput, ListBucketAnalyticsConfigurationsCommandOutput, } from "./commands/ListBucketAnalyticsConfigurationsCommand"; +import { + ListBucketIntelligentTieringConfigurationsCommand, + ListBucketIntelligentTieringConfigurationsCommandInput, + ListBucketIntelligentTieringConfigurationsCommandOutput, +} from "./commands/ListBucketIntelligentTieringConfigurationsCommand"; import { ListBucketInventoryConfigurationsCommand, ListBucketInventoryConfigurationsCommandInput, @@ -291,6 +306,11 @@ import { PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput, } from "./commands/PutBucketEncryptionCommand"; +import { + PutBucketIntelligentTieringConfigurationCommand, + PutBucketIntelligentTieringConfigurationCommandInput, + PutBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/PutBucketIntelligentTieringConfigurationCommand"; import { PutBucketInventoryConfigurationCommand, PutBucketInventoryConfigurationCommandInput, @@ -405,12 +425,17 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; */ export class S3 extends S3Client { /** - *

                                                                                    This operation aborts a multipart upload. After a multipart upload is aborted, no additional parts can be uploaded using that upload ID. The storage consumed by any previously uploaded parts will be freed. However, if any part uploads are currently in progress, those part uploads might or might not succeed. As a result, it might be necessary to abort a given multipart upload multiple times in order to completely free all storage consumed by all parts.

                                                                                    - *

                                                                                    To verify that all parts have been removed, so you don't get charged for the part storage, you - * should call the ListParts operation and ensure that the parts list is - * empty.

                                                                                    - *

                                                                                    For information about permissions required to use the multipart upload API, see Multipart - * Upload API and Permissions.

                                                                                    + *

                                                                                    This operation aborts a multipart upload. After a multipart upload is aborted, no + * additional parts can be uploaded using that upload ID. The storage consumed by any + * previously uploaded parts will be freed. However, if any part uploads are currently in + * progress, those part uploads might or might not succeed. As a result, it might be necessary + * to abort a given multipart upload multiple times in order to completely free all storage + * consumed by all parts.

                                                                                    + *

                                                                                    To verify that all parts have been removed, so you don't get charged for the part + * storage, you should call the ListParts operation and ensure that + * the parts list is empty.

                                                                                    + *

                                                                                    For information about permissions required to use the multipart upload API, see Multipart Upload API and + * Permissions.

                                                                                    *

                                                                                    The following operations are related to AbortMultipartUpload:

                                                                                    *
                                                                                      *
                                                                                    • @@ -471,25 +496,26 @@ export class S3 extends S3Client { /** *

                                                                                      Completes a multipart upload by assembling previously uploaded parts.

                                                                                      - *

                                                                                      You first initiate the multipart upload and then upload all parts using the - * UploadPart operation. After successfully uploading all relevant parts of an - * upload, you call this operation to complete the upload. Upon receiving this request, Amazon - * S3 concatenates all the parts in ascending order by part number to create a new object. In - * the Complete Multipart Upload request, you must provide the parts list. You must ensure - * that the parts list is complete. This operation concatenates the parts that you provide in - * the list. For each part in the list, you must provide the part number and the - * ETag value, returned after that part was uploaded.

                                                                                      - *

                                                                                      Processing of a Complete Multipart Upload request could take several minutes to complete. - * After Amazon S3 begins processing the request, it sends an HTTP response header that - * specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends - * white space characters to keep the connection from timing out. Because a request could fail - * after the initial 200 OK response has been sent, it is important that you check the - * response body to determine whether the request succeeded.

                                                                                      - *

                                                                                      Note that if CompleteMultipartUpload fails, applications should be prepared to retry the failed requests. For more information, see Amazon S3 Error Best Practices.

                                                                                      - *

                                                                                      For more information about multipart uploads, see Uploading - * Objects Using Multipart Upload.

                                                                                      - *

                                                                                      For information about permissions required to use the multipart upload API, see Multipart - * Upload API and Permissions.

                                                                                      + *

                                                                                      You first initiate the multipart upload and then upload all parts using the UploadPart + * operation. After successfully uploading all relevant parts of an upload, you call this + * operation to complete the upload. Upon receiving this request, Amazon S3 concatenates all + * the parts in ascending order by part number to create a new object. In the Complete + * Multipart Upload request, you must provide the parts list. You must ensure that the parts + * list is complete. This operation concatenates the parts that you provide in the list. For + * each part in the list, you must provide the part number and the ETag value, + * returned after that part was uploaded.

                                                                                      + *

                                                                                      Processing of a Complete Multipart Upload request could take several minutes to + * complete. After Amazon S3 begins processing the request, it sends an HTTP response header that + * specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white + * space characters to keep the connection from timing out. Because a request could fail after + * the initial 200 OK response has been sent, it is important that you check the response body + * to determine whether the request succeeded.

                                                                                      + *

                                                                                      Note that if CompleteMultipartUpload fails, applications should be prepared + * to retry the failed requests. For more information, see Amazon S3 Error Best Practices.

                                                                                      + *

                                                                                      For more information about multipart uploads, see Uploading Objects Using Multipart + * Upload.

                                                                                      + *

                                                                                      For information about permissions required to use the multipart upload API, see Multipart Upload API and + * Permissions.

                                                                                      * * *

                                                                                      @@ -500,7 +526,8 @@ export class S3 extends S3Client { *

                                                                                      *
                                                                                        *
                                                                                      • - *

                                                                                        Description: Your proposed upload is smaller than the minimum allowed object size. Each part must be at least 5 MB in size, except the last part.

                                                                                        + *

                                                                                        Description: Your proposed upload is smaller than the minimum allowed object + * size. Each part must be at least 5 MB in size, except the last part.

                                                                                        *
                                                                                      • *
                                                                                      • *

                                                                                        400 Bad Request

                                                                                        @@ -512,7 +539,9 @@ export class S3 extends S3Client { *

                                                                                        *
                                                                                          *
                                                                                        • - *

                                                                                          Description: One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag.

                                                                                          + *

                                                                                          Description: One or more of the specified parts could not be found. The part + * might not have been uploaded, or the specified entity tag might not have + * matched the part's entity tag.

                                                                                          *
                                                                                        • *
                                                                                        • *

                                                                                          400 Bad Request

                                                                                          @@ -524,7 +553,8 @@ export class S3 extends S3Client { *

                                                                                          *
                                                                                            *
                                                                                          • - *

                                                                                            Description: The list of parts was not in ascending order. The parts list must be specified in order by part number.

                                                                                            + *

                                                                                            Description: The list of parts was not in ascending order. The parts list + * must be specified in order by part number.

                                                                                            *
                                                                                          • *
                                                                                          • *

                                                                                            400 Bad Request

                                                                                            @@ -536,7 +566,9 @@ export class S3 extends S3Client { *

                                                                                            *
                                                                                              *
                                                                                            • - *

                                                                                              Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.

                                                                                              + *

                                                                                              Description: The specified multipart upload does not exist. The upload ID + * might be invalid, or the multipart upload might have been aborted or + * completed.

                                                                                              *
                                                                                            • *
                                                                                            • *

                                                                                              404 Not Found

                                                                                              @@ -606,20 +638,22 @@ export class S3 extends S3Client { /** *

                                                                                              Creates a copy of an object that is already stored in Amazon S3.

                                                                                              * - *

                                                                                              You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your object - * up to 5 GB in size in a single atomic operation using this API. However, to copy an - * object greater than 5 GB, you must use the multipart upload Upload Part - Copy API. For - * more information, see Copy - * Object Using the REST Multipart Upload API.

                                                                                              + *

                                                                                              You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your + * object up to 5 GB in size in a single atomic operation using this API. However, to copy + * an object greater than 5 GB, you must use the multipart upload Upload Part - Copy API. + * For more information, see Copy Object Using the REST Multipart Upload API.

                                                                                              *
                                                                                              - *

                                                                                              All copy requests must be authenticated. Additionally, you must have read access to the source object and write access to the destination bucket. For more information, see REST Authentication. Both the Region that you want to copy the object from and the Region that you want to copy the object to must be enabled for your account.

                                                                                              - *

                                                                                              A copy request might return an error when Amazon S3 receives the copy request or while - * Amazon S3 is copying the files. If the error occurs before the copy operation starts, you - * receive a standard Amazon S3 error. If the error occurs during the copy operation, the - * - * error response is embedded in the 200 OK response. This means that a 200 - * OK response can contain either a success or an error. Design your application to - * parse the contents of the response and handle it appropriately.

                                                                                              + *

                                                                                              All copy requests must be authenticated. Additionally, you must have + * read access to the source object and write + * access to the destination bucket. For more information, see REST Authentication. Both the Region + * that you want to copy the object from and the Region that you want to copy the object to + * must be enabled for your account.

                                                                                              + *

                                                                                              A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3 + * is copying the files. If the error occurs before the copy operation starts, you receive a + * standard Amazon S3 error. If the error occurs during the copy operation, the error response is + * embedded in the 200 OK response. This means that a 200 OK + * response can contain either a success or an error. Design your application to parse the + * contents of the response and handle it appropriately.

                                                                                              *

                                                                                              If the copy is successful, you receive a response with information about the copied * object.

                                                                                              * @@ -679,49 +713,48 @@ export class S3 extends S3Client { *
                                                                                            • *
                                                                                            *

                                                                                            If both the x-amz-copy-source-if-match and - * x-amz-copy-source-if-unmodified-since headers are present in the - * - * request and evaluate as follows, Amazon S3 returns 200 OK and copies the - * data:

                                                                                            - *
                                                                                              + * x-amz-copy-source-if-unmodified-since headers are present in the request + * and evaluate as follows, Amazon S3 returns 200 OK and copies the data:

                                                                                              + *
                                                                                                *
                                                                                              • *

                                                                                                * x-amz-copy-source-if-match condition evaluates to true

                                                                                                *
                                                                                              • *
                                                                                              • *

                                                                                                - * x-amz-copy-source-if-unmodified-since condition evaluates to false

                                                                                                + * x-amz-copy-source-if-unmodified-since condition evaluates to + * false

                                                                                                *
                                                                                              • *
                                                                                              * *

                                                                                              If both the x-amz-copy-source-if-none-match and - * - * x-amz-copy-source-if-modified-since headers are present in the - * request and evaluate as follows, Amazon S3 returns the 412 Precondition - * Failed response code:

                                                                                              - *
                                                                                                + * x-amz-copy-source-if-modified-since headers are present in the request and + * evaluate as follows, Amazon S3 returns the 412 Precondition Failed response + * code:

                                                                                                + *
                                                                                                  *
                                                                                                • *

                                                                                                  * x-amz-copy-source-if-none-match condition evaluates to false

                                                                                                  *
                                                                                                • *
                                                                                                • *

                                                                                                  - * x-amz-copy-source-if-modified-since condition evaluates to true

                                                                                                  + * x-amz-copy-source-if-modified-since condition evaluates to + * true

                                                                                                  *
                                                                                                • *
                                                                                                * * - *

                                                                                                All headers with the x-amz- prefix, including x-amz-copy-source, - * must be signed.

                                                                                                + *

                                                                                                All headers with the x-amz- prefix, including + * x-amz-copy-source, must be signed.

                                                                                                *
                                                                                                *

                                                                                                * Encryption *

                                                                                                - *

                                                                                                The source object that you are copying can be encrypted or unencrypted. The source object - * can be encrypted with server-side encryption using AWS managed encryption keys (SSE-S3 or - * SSE-KMS) or by using a customer-provided encryption key. With server-side encryption, Amazon S3 - * encrypts your data as it writes it to disks in its data centers and decrypts the data when - * you access it.

                                                                                                + *

                                                                                                The source object that you are copying can be encrypted or unencrypted. The source + * object can be encrypted with server-side encryption using AWS managed encryption keys + * (SSE-S3 or SSE-KMS) or by using a customer-provided encryption key. With server-side + * encryption, Amazon S3 encrypts your data as it writes it to disks in its data centers and + * decrypts the data when you access it.

                                                                                                *

                                                                                                You can optionally use the appropriate encryption-related headers to request server-side * encryption for the target object. You have the option to provide your own encryption key or * use SSE-S3 or SSE-KMS, regardless of the form of server-side encryption that was used to @@ -729,11 +762,12 @@ export class S3 extends S3Client { * encrypted. For more information about server-side encryption, see Using * Server-Side Encryption.

                                                                                                *

                                                                                                - * Access Control List (ACL)-Specific Request Headers + * Access Control List (ACL)-Specific Request + * Headers *

                                                                                                - *

                                                                                                When copying an object, you can optionally use headers to grant ACL-based permissions. By - * default, all objects are private. Only the owner has full access control. When adding a new - * object, you can grant permissions to individual AWS accounts or to predefined groups + *

                                                                                                When copying an object, you can optionally use headers to grant ACL-based permissions. + * By default, all objects are private. Only the owner has full access control. When adding a + * new object, you can grant permissions to individual AWS accounts or to predefined groups * defined by Amazon S3. These permissions are then added to the ACL on the object. For more * information, see Access Control List (ACL) Overview and Managing ACLs Using the REST * API.

                                                                                                @@ -742,8 +776,8 @@ export class S3 extends S3Client { * Storage Class Options *

                                                                                                *

                                                                                                You can use the CopyObject operation to change the storage class of an - * object that is already stored in Amazon S3 using the StorageClass parameter. - * For more information, see Storage + * object that is already stored in Amazon S3 using the StorageClass parameter. For + * more information, see Storage * Classes in the Amazon S3 Service Developer Guide.

                                                                                                *

                                                                                                * Versioning @@ -751,15 +785,15 @@ export class S3 extends S3Client { *

                                                                                                By default, x-amz-copy-source identifies the current version of an object * to copy. If the current version is a delete marker, Amazon S3 behaves as if the object was * deleted. To copy a different version, use the versionId subresource.

                                                                                                - *

                                                                                                If you enable versioning on the target bucket, Amazon S3 generates a unique version ID - * for the object being copied. This version ID is different from the version ID of the source + *

                                                                                                If you enable versioning on the target bucket, Amazon S3 generates a unique version ID for + * the object being copied. This version ID is different from the version ID of the source * object. Amazon S3 returns the version ID of the copied object in the * x-amz-version-id response header in the response.

                                                                                                *

                                                                                                If you do not enable versioning or suspend it on the target bucket, the version ID that * Amazon S3 generates is always null.

                                                                                                *

                                                                                                If the source object's storage class is GLACIER, you must restore a copy of this object * before you can use it as a source object for the copy operation. For more information, see - * RestoreObject.

                                                                                                + * RestoreObject.

                                                                                                *

                                                                                                The following operations are related to CopyObject:

                                                                                                *
                                                                                                  *
                                                                                                • @@ -773,7 +807,8 @@ export class S3 extends S3Client { *

                                                                                                  *
                                                                                                • *
                                                                                                - *

                                                                                                For more information, see Copying Objects.

                                                                                                + *

                                                                                                For more information, see Copying + * Objects.

                                                                                                */ public copyObject(args: CopyObjectCommandInput, options?: __HttpHandlerOptions): Promise; public copyObject(args: CopyObjectCommandInput, cb: (err: any, data?: CopyObjectCommandOutput) => void): void; @@ -799,7 +834,9 @@ export class S3 extends S3Client { } /** - *

                                                                                                Creates a new S3 bucket. To create a bucket, you must register with Amazon S3 and have a valid AWS Access Key ID to authenticate requests. Anonymous requests are never allowed to create buckets. By creating the bucket, you become the bucket owner.

                                                                                                + *

                                                                                                Creates a new S3 bucket. To create a bucket, you must register with Amazon S3 and have a + * valid AWS Access Key ID to authenticate requests. Anonymous requests are never allowed to + * create buckets. By creating the bucket, you become the bucket owner.

                                                                                                *

                                                                                                Not every string is an acceptable bucket name. For information about bucket naming * restrictions, see Working with Amazon S3 * buckets.

                                                                                                @@ -811,19 +848,22 @@ export class S3 extends S3Client { * Region. For more information, see Accessing a * bucket.

                                                                                                * - *

                                                                                                If you send your create bucket request to the s3.amazonaws.com endpoint, the - * request goes to the us-east-1 Region. Accordingly, the signature calculations in + *

                                                                                                If you send your create bucket request to the s3.amazonaws.com endpoint, + * the request goes to the us-east-1 Region. Accordingly, the signature calculations in * Signature Version 4 must use us-east-1 as the Region, even if the location constraint in * the request specifies another Region where the bucket is to be created. If you create a * bucket in a Region other than US East (N. Virginia), your application must be able to * handle 307 redirect. For more information, see Virtual hosting of buckets.

                                                                                                *
                                                                                                - *

                                                                                                When creating a bucket using this operation, you can optionally specify the accounts or groups that should be granted specific permissions on the bucket. There are two ways to grant the appropriate permissions using the request headers.

                                                                                                + *

                                                                                                When creating a bucket using this operation, you can optionally specify the accounts or + * groups that should be granted specific permissions on the bucket. There are two ways to + * grant the appropriate permissions using the request headers.

                                                                                                *
                                                                                                  *
                                                                                                • - *

                                                                                                  Specify a canned ACL using the x-amz-acl request header. Amazon S3 supports a set - * of predefined ACLs, known as canned ACLs. Each canned ACL has a - * predefined set of grantees and permissions. For more information, see Canned ACL.

                                                                                                  + *

                                                                                                  Specify a canned ACL using the x-amz-acl request header. Amazon S3 + * supports a set of predefined ACLs, known as canned ACLs. Each + * canned ACL has a predefined set of grantees and permissions. For more information, + * see Canned ACL.

                                                                                                  *
                                                                                                • *
                                                                                                • *

                                                                                                  Specify access permissions explicitly using the x-amz-grant-read, @@ -832,20 +872,23 @@ export class S3 extends S3Client { * headers. These headers map to the set of permissions Amazon S3 supports in an ACL. For * more information, see Access control list * (ACL) overview.

                                                                                                  - *

                                                                                                  You specify each grantee as a type=value pair, where the type is one of the following:

                                                                                                  + *

                                                                                                  You specify each grantee as a type=value pair, where the type is one of the + * following:

                                                                                                  *
                                                                                                    *
                                                                                                  • *

                                                                                                    - * id – if the value specified is the canonical user ID of an AWS account

                                                                                                    + * id – if the value specified is the canonical user ID of an AWS + * account

                                                                                                    *
                                                                                                  • *
                                                                                                  • *

                                                                                                    - * uri – if you are granting permissions to a predefined group

                                                                                                    + * uri – if you are granting permissions to a predefined + * group

                                                                                                    *
                                                                                                  • *
                                                                                                  • *

                                                                                                    - * emailAddress – if the value specified is the email address of an AWS - * account

                                                                                                    + * emailAddress – if the value specified is the email address of + * an AWS account

                                                                                                    * *

                                                                                                    Using email addresses to specify a grantee is only supported in the following AWS Regions:

                                                                                                    *
                                                                                                      @@ -882,11 +925,11 @@ export class S3 extends S3Client { *

                                                                                                      * x-amz-grant-read: id="11112222333", id="444455556666" *

                                                                                                      - * * *
                                                                                                    * - *

                                                                                                    You can use either a canned ACL or specify access permissions explicitly. You cannot do both.

                                                                                                    + *

                                                                                                    You can use either a canned ACL or specify access permissions explicitly. You cannot + * do both.

                                                                                                    *
                                                                                                    * * @@ -931,19 +974,35 @@ export class S3 extends S3Client { } /** - *

                                                                                                    This operation initiates a multipart upload and returns an upload ID. This upload ID is used to associate all of the parts in the specific multipart upload. You specify this upload ID in each of your subsequent upload part requests (see UploadPart). You also include this upload ID in the final request to either complete or abort the multipart upload request.

                                                                                                    + *

                                                                                                    This operation initiates a multipart upload and returns an upload ID. This upload ID is + * used to associate all of the parts in the specific multipart upload. You specify this + * upload ID in each of your subsequent upload part requests (see UploadPart). You also include this + * upload ID in the final request to either complete or abort the multipart upload + * request.

                                                                                                    * *

                                                                                                    For more information about multipart uploads, see Multipart Upload Overview.

                                                                                                    * - *

                                                                                                    If you have configured a lifecycle rule to abort incomplete multipart uploads, the upload must complete within the number of days specified in the bucket lifecycle configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort operation and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

                                                                                                    + *

                                                                                                    If you have configured a lifecycle rule to abort incomplete multipart uploads, the + * upload must complete within the number of days specified in the bucket lifecycle + * configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort + * operation and Amazon S3 aborts the multipart upload. For more information, see Aborting + * Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

                                                                                                    * - *

                                                                                                    For information about the permissions required to use the multipart upload API, see Multipart Upload API and Permissions.

                                                                                                    + *

                                                                                                    For information about the permissions required to use the multipart upload API, see + * Multipart Upload API and + * Permissions.

                                                                                                    * - *

                                                                                                    For request signing, multipart upload is just a series of regular requests. You initiate a multipart upload, send one or more requests to upload parts, and then complete the multipart upload process. You sign each request individually. There is nothing special about signing multipart upload requests. For more information about signing, see Authenticating Requests (AWS Signature Version 4).

                                                                                                    + *

                                                                                                    For request signing, multipart upload is just a series of regular requests. You initiate + * a multipart upload, send one or more requests to upload parts, and then complete the + * multipart upload process. You sign each request individually. There is nothing special + * about signing multipart upload requests. For more information about signing, see Authenticating + * Requests (AWS Signature Version 4).

                                                                                                    * * - *

                                                                                                    After you initiate a multipart upload and upload one or more parts, to stop being charged for storing the uploaded parts, you must either complete or abort the multipart upload. Amazon S3 frees up the space used to store the parts and stop charging you for storing them only after you either complete or abort a multipart upload. - *

                                                                                                    + *

                                                                                                    After you initiate a multipart upload and upload one or more parts, to stop being + * charged for storing the uploaded parts, you must either complete or abort the multipart + * upload. Amazon S3 frees up the space used to store the parts and stop charging you for + * storing them only after you either complete or abort a multipart upload.

                                                                                                    *
                                                                                                    * *

                                                                                                    You can optionally request server-side encryption. For server-side encryption, Amazon S3 @@ -952,39 +1011,58 @@ export class S3 extends S3Client { * KMS) customer master keys (CMKs) or Amazon S3-managed encryption keys. If you choose to provide * your own encryption key, the request headers you provide in UploadPart and UploadPartCopy requests must match the headers you used in the request to * initiate the upload by using CreateMultipartUpload.

                                                                                                    - *

                                                                                                    To perform a multipart upload with encryption using an AWS KMS CMK, the requester must have permission to the kms:Encrypt, kms:Decrypt, kms:ReEncrypt*, kms:GenerateDataKey*, and kms:DescribeKey actions on the key. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload.

                                                                                                    + *

                                                                                                    To perform a multipart upload with encryption using an AWS KMS CMK, the requester must + * have permission to the kms:Encrypt, kms:Decrypt, + * kms:ReEncrypt*, kms:GenerateDataKey*, and + * kms:DescribeKey actions on the key. These permissions are required because + * Amazon S3 must decrypt and read data from the encrypted file parts before it completes the + * multipart upload.

                                                                                                    * - *

                                                                                                    If your AWS Identity and Access Management (IAM) user or role is in the same AWS account as the AWS KMS CMK, then you must have these permissions on the key policy. If your IAM user or role belongs to a different account than the key, then you must have the permissions on both the key policy and your IAM user or role.

                                                                                                    + *

                                                                                                    If your AWS Identity and Access Management (IAM) user or role is in the same AWS account + * as the AWS KMS CMK, then you must have these permissions on the key policy. If your IAM + * user or role belongs to a different account than the key, then you must have the + * permissions on both the key policy and your IAM user or role.

                                                                                                    * * - *

                                                                                                    For more information, see Protecting Data Using Server-Side Encryption.

                                                                                                    + *

                                                                                                    For more information, see Protecting + * Data Using Server-Side Encryption.

                                                                                                    * *
                                                                                                    *
                                                                                                    Access Permissions
                                                                                                    *
                                                                                                    - *

                                                                                                    When copying an object, you can optionally specify the accounts or groups that should be granted specific permissions on the new object. There are two ways to grant the permissions using the request headers:

                                                                                                    + *

                                                                                                    When copying an object, you can optionally specify the accounts or groups that + * should be granted specific permissions on the new object. There are two ways to + * grant the permissions using the request headers:

                                                                                                    *
                                                                                                      *
                                                                                                    • - *

                                                                                                      Specify a canned ACL with the x-amz-acl request header. For more information, see Canned ACL.

                                                                                                      + *

                                                                                                      Specify a canned ACL with the x-amz-acl request header. For + * more information, see Canned ACL.

                                                                                                      *
                                                                                                    • *
                                                                                                    • - *

                                                                                                      Specify access permissions explicitly with the x-amz-grant-read, x-amz-grant-read-acp, x-amz-grant-write-acp, and x-amz-grant-full-control headers. These parameters map to the set of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL) Overview.

                                                                                                      + *

                                                                                                      Specify access permissions explicitly with the + * x-amz-grant-read, x-amz-grant-read-acp, + * x-amz-grant-write-acp, and + * x-amz-grant-full-control headers. These parameters map to + * the set of permissions that Amazon S3 supports in an ACL. For more information, + * see Access Control List (ACL) + * Overview.

                                                                                                      *
                                                                                                    • *
                                                                                                    - *

                                                                                                    You can use either a canned ACL or specify access permissions explicitly. You cannot do both.

                                                                                                    + *

                                                                                                    You can use either a canned ACL or specify access permissions explicitly. You + * cannot do both.

                                                                                                    *
                                                                                                    *
                                                                                                    Server-Side- Encryption-Specific Request Headers
                                                                                                    *
                                                                                                    - *

                                                                                                    You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption. - * Server-side encryption is for data encryption at rest. Amazon S3 encrypts your - * data as it writes it to disks in its data centers and decrypts it when you access - * it. The option you use depends on whether you want to use AWS managed encryption - * keys or provide your own encryption key.

                                                                                                    + *

                                                                                                    You can optionally tell Amazon S3 to encrypt data at rest using server-side + * encryption. Server-side encryption is for data encryption at rest. Amazon S3 encrypts + * your data as it writes it to disks in its data centers and decrypts it when you + * access it. The option you use depends on whether you want to use AWS managed + * encryption keys or provide your own encryption key.

                                                                                                    *
                                                                                                      *
                                                                                                    • - *

                                                                                                      Use encryption keys managed by Amazon S3 or customer master keys (CMKs) stored in AWS Key - * Management Service (AWS KMS) – If you want AWS to manage the keys used to - * encrypt data, specify the following headers in the request.

                                                                                                      + *

                                                                                                      Use encryption keys managed by Amazon S3 or customer master keys (CMKs) stored + * in AWS Key Management Service (AWS KMS) – If you want AWS to manage the keys + * used to encrypt data, specify the following headers in the request.

                                                                                                      *
                                                                                                        *
                                                                                                      • *

                                                                                                        x-amz-server-side-encryption

                                                                                                        @@ -997,19 +1075,21 @@ export class S3 extends S3Client { *
                                                                                                      • *
                                                                                                      * - *

                                                                                                      If you specify x-amz-server-side-encryption:aws:kms, but don't provide - * x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 - * uses the AWS managed CMK in AWS KMS to protect the data.

                                                                                                      + *

                                                                                                      If you specify x-amz-server-side-encryption:aws:kms, but + * don't provide x-amz-server-side-encryption-aws-kms-key-id, + * Amazon S3 uses the AWS managed CMK in AWS KMS to protect the data.

                                                                                                      *
                                                                                                      * - *

                                                                                                      All GET and PUT requests for an object protected by AWS KMS fail if you don't make them with SSL or by using SigV4.

                                                                                                      + *

                                                                                                      All GET and PUT requests for an object protected by AWS KMS fail if + * you don't make them with SSL or by using SigV4.

                                                                                                      *
                                                                                                      *

                                                                                                      For more information about server-side encryption with CMKs stored in AWS * KMS (SSE-KMS), see Protecting Data Using Server-Side Encryption with CMKs stored in AWS * KMS.

                                                                                                      *
                                                                                                    • *
                                                                                                    • - *

                                                                                                      Use customer-provided encryption keys – If you want to manage your own encryption keys, provide all the following headers in the request.

                                                                                                      + *

                                                                                                      Use customer-provided encryption keys – If you want to manage your own + * encryption keys, provide all the following headers in the request.

                                                                                                      *
                                                                                                        *
                                                                                                      • *

                                                                                                        x-amz-server-side-encryption-customer-algorithm

                                                                                                        @@ -1029,25 +1109,29 @@ export class S3 extends S3Client { *
                                                                                                    *
                                                                                                    Access-Control-List (ACL)-Specific Request Headers
                                                                                                    *
                                                                                                    - *

                                                                                                    You also can use the following access control–related headers with this operation. By default, - * all objects are private. Only the owner has full access control. When adding a new - * object, you can grant permissions to individual AWS accounts or to predefined - * groups defined by Amazon S3. These permissions are then added to the access - * control list (ACL) on the object. For more information, see Using ACLs. With this operation, you can grant access permissions - * using one of the following two methods:

                                                                                                    + *

                                                                                                    You also can use the following access control–related headers with this + * operation. By default, all objects are private. Only the owner has full access + * control. When adding a new object, you can grant permissions to individual AWS + * accounts or to predefined groups defined by Amazon S3. These permissions are then added + * to the access control list (ACL) on the object. For more information, see Using ACLs. With this + * operation, you can grant access permissions using one of the following two + * methods:

                                                                                                    *
                                                                                                      *
                                                                                                    • - *

                                                                                                      Specify a canned ACL (x-amz-acl) — Amazon S3 supports a set of predefined ACLs, - * known as canned ACLs. Each canned ACL has a predefined - * set of grantees and permissions. For more information, see Canned ACL.

                                                                                                      + *

                                                                                                      Specify a canned ACL (x-amz-acl) — Amazon S3 supports a set of + * predefined ACLs, known as canned ACLs. Each canned ACL + * has a predefined set of grantees and permissions. For more information, see + * Canned + * ACL.

                                                                                                      *
                                                                                                    • *
                                                                                                    • - *

                                                                                                      Specify access permissions explicitly — To explicitly grant access permissions to specific AWS - * accounts or groups, use the following headers. Each header maps to specific - * permissions that Amazon S3 supports in an ACL. For more information, see - * Access Control List (ACL) Overview. In the header, you specify a - * list of grantees who get the specific permission. To grant permissions - * explicitly, use:

                                                                                                      + *

                                                                                                      Specify access permissions explicitly — To explicitly grant access + * permissions to specific AWS accounts or groups, use the following headers. + * Each header maps to specific permissions that Amazon S3 supports in an ACL. For + * more information, see Access + * Control List (ACL) Overview. In the header, you specify a list of + * grantees who get the specific permission. To grant permissions explicitly, + * use:

                                                                                                      *
                                                                                                        *
                                                                                                      • *

                                                                                                        x-amz-grant-read

                                                                                                        @@ -1065,20 +1149,23 @@ export class S3 extends S3Client { *

                                                                                                        x-amz-grant-full-control

                                                                                                        *
                                                                                                      • *
                                                                                                      - *

                                                                                                      You specify each grantee as a type=value pair, where the type is one of the following:

                                                                                                      + *

                                                                                                      You specify each grantee as a type=value pair, where the type is one of + * the following:

                                                                                                      *
                                                                                                        *
                                                                                                      • *

                                                                                                        - * id – if the value specified is the canonical user ID of an AWS account

                                                                                                        + * id – if the value specified is the canonical user ID + * of an AWS account

                                                                                                        *
                                                                                                      • *
                                                                                                      • *

                                                                                                        - * uri – if you are granting permissions to a predefined group

                                                                                                        + * uri – if you are granting permissions to a predefined + * group

                                                                                                        *
                                                                                                      • *
                                                                                                      • *

                                                                                                        - * emailAddress – if the value specified is the email address of an AWS - * account

                                                                                                        + * emailAddress – if the value specified is the email + * address of an AWS account

                                                                                                        * *

                                                                                                        Using email addresses to specify a grantee is only supported in the following AWS Regions:

                                                                                                        *
                                                                                                          @@ -1180,8 +1267,8 @@ export class S3 extends S3Client { } /** - *

                                                                                                          Deletes the S3 bucket. All objects (including all object versions and delete markers) in the - * bucket must be deleted before the bucket itself can be deleted.

                                                                                                          + *

                                                                                                          Deletes the S3 bucket. All objects (including all object versions and delete markers) in + * the bucket must be deleted before the bucket itself can be deleted.

                                                                                                          * *

                                                                                                          * Related Resources @@ -1226,16 +1313,19 @@ export class S3 extends S3Client { } /** - *

                                                                                                          Deletes an analytics configuration for the bucket (specified by the analytics configuration ID).

                                                                                                          + *

                                                                                                          Deletes an analytics configuration for the bucket (specified by the analytics + * configuration ID).

                                                                                                          *

                                                                                                          To use this operation, you must have permissions to perform the * s3:PutAnalyticsConfiguration action. The bucket owner has this permission * by default. The bucket owner can grant this permission to others. For more information - * about permissions, see Permissions Related to Bucket Subresource Operations and Managing - * Access Permissions to Your Amazon S3 Resources.

                                                                                                          + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                          * - *

                                                                                                          For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis.

                                                                                                          + *

                                                                                                          For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class + * Analysis.

                                                                                                          * - *

                                                                                                          The following operations are related to DeleteBucketAnalyticsConfiguration:

                                                                                                          + *

                                                                                                          The following operations are related to + * DeleteBucketAnalyticsConfiguration:

                                                                                                          *
                                                                                                            *
                                                                                                          • *

                                                                                                            @@ -1285,8 +1375,9 @@ export class S3 extends S3Client { /** *

                                                                                                            Deletes the cors configuration information set for the bucket.

                                                                                                            - *

                                                                                                            To use this operation, you must have permission to perform the s3:PutBucketCORS action. - * The bucket owner has this permission by default and can grant this permission to others.

                                                                                                            + *

                                                                                                            To use this operation, you must have permission to perform the + * s3:PutBucketCORS action. The bucket owner has this permission by default + * and can grant this permission to others.

                                                                                                            *

                                                                                                            For information about cors, see Enabling * Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

                                                                                                            * @@ -1336,14 +1427,14 @@ export class S3 extends S3Client { } /** - *

                                                                                                            This implementation of the DELETE operation removes default encryption from the bucket. For information about the Amazon S3 - * default encryption feature, see Amazon S3 Default Bucket Encryption in the - * Amazon Simple Storage Service Developer Guide.

                                                                                                            - *

                                                                                                            To use this operation, you must have permissions to perform the s3:PutEncryptionConfiguration action. The bucket owner - * has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see - * Permissions Related to - * Bucket Subresource Operations and Managing Access Permissions to your Amazon S3 - * Resources in the Amazon Simple Storage Service Developer Guide.

                                                                                                            + *

                                                                                                            This implementation of the DELETE operation removes default encryption from the bucket. + * For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the + * Amazon Simple Storage Service Developer Guide.

                                                                                                            + *

                                                                                                            To use this operation, you must have permissions to perform the + * s3:PutEncryptionConfiguration action. The bucket owner has this permission + * by default. The bucket owner can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3 + * Resources in the Amazon Simple Storage Service Developer Guide.

                                                                                                            * *

                                                                                                            * Related Resources @@ -1391,8 +1482,69 @@ export class S3 extends S3Client { } /** - *

                                                                                                            Deletes an inventory configuration (identified by the inventory ID) from the bucket.

                                                                                                            - *

                                                                                                            To use this operation, you must have permissions to perform the s3:PutInventoryConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                            + *

                                                                                                            Deletes the S3 Intelligent-Tiering configuration from the specified bucket.

                                                                                                            + *

                                                                                                            The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. S3 Intelligent-Tiering delivers automatic cost savings by moving data between access tiers, when access patterns change.

                                                                                                            + *

                                                                                                            The S3 Intelligent-Tiering storage class is suitable for objects larger than 128 KB that you plan to store for at least 30 days. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the frequent access tier rates in the S3 Intelligent-Tiering storage class.

                                                                                                            + *

                                                                                                            If you delete an object before the end of the 30-day minimum storage duration period, you are charged for 30 days. For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

                                                                                                            + *

                                                                                                            Operations related to + * DeleteBucketIntelligentTieringConfiguration include:

                                                                                                            + * + */ + public deleteBucketIntelligentTieringConfiguration( + args: DeleteBucketIntelligentTieringConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteBucketIntelligentTieringConfiguration( + args: DeleteBucketIntelligentTieringConfigurationCommandInput, + cb: (err: any, data?: DeleteBucketIntelligentTieringConfigurationCommandOutput) => void + ): void; + public deleteBucketIntelligentTieringConfiguration( + args: DeleteBucketIntelligentTieringConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketIntelligentTieringConfigurationCommandOutput) => void + ): void; + public deleteBucketIntelligentTieringConfiguration( + args: DeleteBucketIntelligentTieringConfigurationCommandInput, + optionsOrCb?: + | __HttpHandlerOptions + | ((err: any, data?: DeleteBucketIntelligentTieringConfigurationCommandOutput) => void), + cb?: (err: any, data?: DeleteBucketIntelligentTieringConfigurationCommandOutput) => void + ): Promise | void { + const command = new DeleteBucketIntelligentTieringConfigurationCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                                                                                            Deletes an inventory configuration (identified by the inventory ID) from the + * bucket.

                                                                                                            + *

                                                                                                            To use this operation, you must have permissions to perform the + * s3:PutInventoryConfiguration action. The bucket owner has this permission + * by default. The bucket owner can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                            *

                                                                                                            For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.

                                                                                                            *

                                                                                                            Operations related to DeleteBucketInventoryConfiguration include:

                                                                                                            *
                                                                                                              @@ -1443,12 +1595,19 @@ export class S3 extends S3Client { } /** - *

                                                                                                              Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of rules contained in the deleted lifecycle configuration.

                                                                                                              - *

                                                                                                              To use this operation, you must have permission to perform the s3:PutLifecycleConfiguration action. By default, the bucket owner has this permission and the bucket owner can grant this permission to others.

                                                                                                              + *

                                                                                                              Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the + * lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your + * objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of + * rules contained in the deleted lifecycle configuration.

                                                                                                              + *

                                                                                                              To use this operation, you must have permission to perform the + * s3:PutLifecycleConfiguration action. By default, the bucket owner has this + * permission and the bucket owner can grant this permission to others.

                                                                                                              * - *

                                                                                                              There is usually some time lag before lifecycle configuration deletion is fully propagated to all the Amazon S3 systems.

                                                                                                              + *

                                                                                                              There is usually some time lag before lifecycle configuration deletion is fully + * propagated to all the Amazon S3 systems.

                                                                                                              * - *

                                                                                                              For more information about the object expiration, see Elements to Describe Lifecycle Actions.

                                                                                                              + *

                                                                                                              For more information about the object expiration, see Elements to + * Describe Lifecycle Actions.

                                                                                                              *

                                                                                                              Related actions include:

                                                                                                              *
                                                                                                                *
                                                                                                              • @@ -1493,12 +1652,17 @@ export class S3 extends S3Client { } /** - *

                                                                                                                Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the metrics configuration ID) from the bucket. Note that this doesn't include the daily storage metrics.

                                                                                                                + *

                                                                                                                Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the + * metrics configuration ID) from the bucket. Note that this doesn't include the daily storage + * metrics.

                                                                                                                * - *

                                                                                                                To use this operation, you must have permissions to perform the s3:PutMetricsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                + *

                                                                                                                To use this operation, you must have permissions to perform the + * s3:PutMetricsConfiguration action. The bucket owner has this permission by + * default. The bucket owner can grant this permission to others. For more information about + * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                * - *

                                                                                                                For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch. - *

                                                                                                                + *

                                                                                                                For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.

                                                                                                                *

                                                                                                                The following operations are related to * DeleteBucketMetricsConfiguration:

                                                                                                                * @@ -1604,26 +1769,28 @@ export class S3 extends S3Client { } /** - *

                                                                                                                This implementation of the DELETE operation uses the policy subresource to delete the policy - * of a specified bucket. If you are using an identity other than the root user of the AWS - * account that owns the bucket, the calling identity must have the + *

                                                                                                                This implementation of the DELETE operation uses the policy subresource to delete the + * policy of a specified bucket. If you are using an identity other than the root user of the + * AWS account that owns the bucket, the calling identity must have the * DeleteBucketPolicy permissions on the specified bucket and belong to the * bucket owner's account to use this operation.

                                                                                                                * - *

                                                                                                                If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a - * 403 Access Denied error. If you have the correct permissions, but you're - * not using an identity that belongs to the bucket owner's account, Amazon S3 returns a - * 405 Method Not Allowed error.

                                                                                                                + *

                                                                                                                If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a 403 + * Access Denied error. If you have the correct permissions, but you're not using an + * identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not + * Allowed error.

                                                                                                                * * * - *

                                                                                                                As a security precaution, the root user of the AWS account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.

                                                                                                                + *

                                                                                                                As a security precaution, the root user of the AWS account that owns a bucket can + * always use this operation, even if the policy explicitly denies the root user the + * ability to perform this action.

                                                                                                                *
                                                                                                                * * * - *

                                                                                                                For more information about bucket policies, see Using Bucket Policies and UserPolicies. - *

                                                                                                                + *

                                                                                                                For more information about bucket policies, see Using Bucket Policies and + * UserPolicies.

                                                                                                                *

                                                                                                                The following operations are related to DeleteBucketPolicy *

                                                                                                                *
                                                                                                                  @@ -1669,15 +1836,19 @@ export class S3 extends S3Client { } /** - *

                                                                                                                  - * Deletes the replication configuration from the bucket.

                                                                                                                  - *

                                                                                                                  To use this operation, you must have permissions to perform the s3:PutReplicationConfiguration action. The bucket owner has these permissions by default and can grant it to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                  + *

                                                                                                                  Deletes the replication configuration from the bucket.

                                                                                                                  + *

                                                                                                                  To use this operation, you must have permissions to perform the + * s3:PutReplicationConfiguration action. The bucket owner has these + * permissions by default and can grant it to others. For more information about permissions, + * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                  * - *

                                                                                                                  It can take a while for the deletion of a replication configuration to fully propagate.

                                                                                                                  + *

                                                                                                                  It can take a while for the deletion of a replication configuration to fully + * propagate.

                                                                                                                  *
                                                                                                                  * - *

                                                                                                                  For information about replication configuration, see Replication in the Amazon S3 Developer Guide. - *

                                                                                                                  + *

                                                                                                                  For information about replication configuration, see Replication in the Amazon S3 Developer + * Guide.

                                                                                                                  * *

                                                                                                                  The following operations are related to DeleteBucketReplication:

                                                                                                                  *
                                                                                                                    @@ -1725,8 +1896,9 @@ export class S3 extends S3Client { /** *

                                                                                                                    Deletes the tags from the bucket.

                                                                                                                    * - *

                                                                                                                    To use this operation, you must have permission to perform the s3:PutBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others. - *

                                                                                                                    + *

                                                                                                                    To use this operation, you must have permission to perform the + * s3:PutBucketTagging action. By default, the bucket owner has this + * permission and can grant this permission to others.

                                                                                                                    *

                                                                                                                    The following operations are related to DeleteBucketTagging:

                                                                                                                    *
                                                                                                                      *
                                                                                                                    • @@ -1771,12 +1943,19 @@ export class S3 extends S3Client { } /** - *

                                                                                                                      This operation removes the website configuration for a bucket. Amazon S3 returns a 200 OK response upon successfully deleting a website configuration on the specified bucket. You will get a 200 OK response if the website configuration you are trying to delete does not exist on the bucket. Amazon S3 returns a 404 response if the bucket specified in the request does not exist.

                                                                                                                      + *

                                                                                                                      This operation removes the website configuration for a bucket. Amazon S3 returns a 200 + * OK response upon successfully deleting a website configuration on the specified + * bucket. You will get a 200 OK response if the website configuration you are + * trying to delete does not exist on the bucket. Amazon S3 returns a 404 response if + * the bucket specified in the request does not exist.

                                                                                                                      * - *

                                                                                                                      This DELETE operation requires the S3:DeleteBucketWebsite permission. By default, only the bucket owner can delete the website configuration attached to a bucket. However, bucket owners can grant other users permission to delete the website configuration by writing a bucket policy granting them the S3:DeleteBucketWebsite permission.

                                                                                                                      + *

                                                                                                                      This DELETE operation requires the S3:DeleteBucketWebsite permission. By + * default, only the bucket owner can delete the website configuration attached to a bucket. + * However, bucket owners can grant other users permission to delete the website configuration + * by writing a bucket policy granting them the S3:DeleteBucketWebsite + * permission.

                                                                                                                      * - *

                                                                                                                      For more information about hosting websites, see Hosting Websites on Amazon S3. - *

                                                                                                                      + *

                                                                                                                      For more information about hosting websites, see Hosting Websites on Amazon S3.

                                                                                                                      * *

                                                                                                                      The following operations are related to DeleteBucketWebsite:

                                                                                                                      *
                                                                                                                        @@ -1822,14 +2001,16 @@ export class S3 extends S3Client { } /** - *

                                                                                                                        Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects.

                                                                                                                        + *

                                                                                                                        Removes the null version (if there is one) of an object and inserts a delete marker, + * which becomes the latest version of the object. If there isn't a null version, Amazon S3 does + * not remove any objects.

                                                                                                                        * *

                                                                                                                        To remove a specific version, you must be the bucket owner and you must use the version * Id subresource. Using this subresource permanently deletes the version. If the object * deleted is a delete marker, Amazon S3 sets the response header, - * x-amz-delete-marker, to true.

                                                                                                                        + * x-amz-delete-marker, to true.

                                                                                                                        * - *

                                                                                                                        If the object you want to delete is in a bucket where the bucket versioning + *

                                                                                                                        If the object you want to delete is in a bucket where the bucket versioning * configuration is MFA Delete enabled, you must include the x-amz-mfa request * header in the DELETE versionId request. Requests that include * x-amz-mfa must use HTTPS.

                                                                                                                        @@ -1837,9 +2018,9 @@ export class S3 extends S3Client { *

                                                                                                                        For more information about MFA Delete, see Using MFA Delete. To see sample requests that use versioning, see Sample Request.

                                                                                                                        * *

                                                                                                                        You can delete objects by explicitly calling the DELETE Object API or configure its - * lifecycle (PutBucketLifecycle) to enable Amazon S3 to remove them for - * you. If you want to block users or accounts from removing or deleting objects from your - * bucket, you must deny them the s3:DeleteObject, + * lifecycle (PutBucketLifecycle) to + * enable Amazon S3 to remove them for you. If you want to block users or accounts from removing or + * deleting objects from your bucket, you must deny them the s3:DeleteObject, * s3:DeleteObjectVersion, and s3:PutLifeCycleConfiguration * actions.

                                                                                                                        * @@ -1879,14 +2060,17 @@ export class S3 extends S3Client { } /** - *

                                                                                                                        This operation enables you to delete multiple objects from a bucket using a single HTTP request. If you know the object keys that you want to delete, then this operation provides a suitable alternative to sending individual delete requests, reducing per-request overhead.

                                                                                                                        + *

                                                                                                                        This operation enables you to delete multiple objects from a bucket using a single HTTP + * request. If you know the object keys that you want to delete, then this operation provides + * a suitable alternative to sending individual delete requests, reducing per-request + * overhead.

                                                                                                                        * *

                                                                                                                        The request contains a list of up to 1000 keys that you want to delete. In the XML, you * provide the object key names, and optionally, version IDs if you want to delete a specific * version of the object from a versioning-enabled bucket. For each key, Amazon S3 performs a * delete operation and returns the result of that delete, success, or failure, in the - * response. Note that if the object specified in the request is not found, Amazon S3 returns - * the result as deleted.

                                                                                                                        + * response. Note that if the object specified in the request is not found, Amazon S3 returns the + * result as deleted.

                                                                                                                        * *

                                                                                                                        The operation supports two modes for the response: verbose and quiet. By default, the * operation uses verbose mode in which the response includes the result of deletion of each @@ -1898,7 +2082,8 @@ export class S3 extends S3Client { * any versioned objects, you must include an MFA token. If you do not provide one, the entire * request will fail, even if there are non-versioned objects you are trying to delete. If you * provide an invalid token, whether there are versioned keys in the request or not, the - * entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA Delete.

                                                                                                                        + * entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA + * Delete.

                                                                                                                        * *

                                                                                                                        Finally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon * S3 uses the header value to ensure that your request body has not been altered in @@ -1964,8 +2149,8 @@ export class S3 extends S3Client { /** *

                                                                                                                        Removes the entire tag set from the specified object. For more information about - * managing object tags, see - * Object Tagging.

                                                                                                                        + * managing object tags, see Object + * Tagging.

                                                                                                                        * *

                                                                                                                        To use this operation, you must have permission to perform the * s3:DeleteObjectTagging action.

                                                                                                                        @@ -2019,13 +2204,17 @@ export class S3 extends S3Client { } /** - *

                                                                                                                        Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use this operation, you must have the s3:PutBucketPublicAccessBlock permission. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                        + *

                                                                                                                        Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use this + * operation, you must have the s3:PutBucketPublicAccessBlock permission. For + * more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                        * *

                                                                                                                        The following operations are related to DeletePublicAccessBlock:

                                                                                                                        *
                                                                                                                          *
                                                                                                                        • *

                                                                                                                          - * Using Amazon S3 Block Public Access + * Using Amazon S3 Block + * Public Access *

                                                                                                                          *
                                                                                                                        • *
                                                                                                                        • @@ -2075,19 +2264,20 @@ export class S3 extends S3Client { } /** - *

                                                                                                                          This implementation of the GET operation uses the accelerate subresource to return the Transfer Acceleration - * state of a bucket, which is either Enabled or Suspended. Amazon S3 Transfer Acceleration is a bucket-level - * feature that enables you to perform faster data transfers to and from Amazon S3.

                                                                                                                          + *

                                                                                                                          This implementation of the GET operation uses the accelerate subresource to + * return the Transfer Acceleration state of a bucket, which is either Enabled or + * Suspended. Amazon S3 Transfer Acceleration is a bucket-level feature that + * enables you to perform faster data transfers to and from Amazon S3.

                                                                                                                          *

                                                                                                                          To use this operation, you must have permission to perform the * s3:GetAccelerateConfiguration action. The bucket owner has this permission * by default. The bucket owner can grant this permission to others. For more information * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3 * Resources in the Amazon Simple Storage Service Developer Guide.

                                                                                                                          - *

                                                                                                                          You set the Transfer Acceleration state of an existing bucket to Enabled or Suspended by using - * the PutBucketAccelerateConfiguration operation.

                                                                                                                          - *

                                                                                                                          A GET accelerate request does not return a state value for a bucket that has - * no transfer acceleration state. A bucket has no Transfer Acceleration state if a state has - * never been set on the bucket.

                                                                                                                          + *

                                                                                                                          You set the Transfer Acceleration state of an existing bucket to Enabled or + * Suspended by using the PutBucketAccelerateConfiguration operation.

                                                                                                                          + *

                                                                                                                          A GET accelerate request does not return a state value for a bucket that + * has no transfer acceleration state. A bucket has no Transfer Acceleration state if a state + * has never been set on the bucket.

                                                                                                                          * *

                                                                                                                          For more information about transfer acceleration, see Transfer Acceleration in the * Amazon Simple Storage Service Developer Guide.

                                                                                                                          @@ -2132,9 +2322,11 @@ export class S3 extends S3Client { } /** - *

                                                                                                                          This implementation of the GET operation uses the acl subresource to return the access control list (ACL) of a bucket. - * To use GET to return the ACL of the bucket, you must have READ_ACP access to the bucket. If READ_ACP - * permission is granted to the anonymous user, you can return the ACL of the bucket without using an authorization header.

                                                                                                                          + *

                                                                                                                          This implementation of the GET operation uses the acl + * subresource to return the access control list (ACL) of a bucket. To use GET to + * return the ACL of the bucket, you must have READ_ACP access to the bucket. If + * READ_ACP permission is granted to the anonymous user, you can return the + * ACL of the bucket without using an authorization header.

                                                                                                                          * *

                                                                                                                          * Related Resources @@ -2174,15 +2366,15 @@ export class S3 extends S3Client { } /** - *

                                                                                                                          This implementation of the GET operation returns an analytics configuration (identified by - * the analytics configuration ID) from the bucket.

                                                                                                                          + *

                                                                                                                          This implementation of the GET operation returns an analytics configuration (identified + * by the analytics configuration ID) from the bucket.

                                                                                                                          *

                                                                                                                          To use this operation, you must have permissions to perform the - * s3:GetAnalyticsConfiguration action. The bucket owner has this - * permission by default. The bucket owner can grant this permission to others. For more - * information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 - * Resources in the Amazon Simple Storage Service Developer Guide.

                                                                                                                          - *

                                                                                                                          For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis in the - * Amazon Simple Storage Service Developer Guide.

                                                                                                                          + * s3:GetAnalyticsConfiguration action. The bucket owner has this permission + * by default. The bucket owner can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources in the Amazon Simple Storage Service Developer Guide.

                                                                                                                          + *

                                                                                                                          For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class + * Analysis in the Amazon Simple Storage Service Developer Guide.

                                                                                                                          * *

                                                                                                                          * Related Resources @@ -2237,10 +2429,11 @@ export class S3 extends S3Client { /** *

                                                                                                                          Returns the cors configuration information set for the bucket.

                                                                                                                          * - *

                                                                                                                          To use this operation, you must have permission to perform the s3:GetBucketCORS action. By default, the bucket owner has this permission and can grant it to others.

                                                                                                                          + *

                                                                                                                          To use this operation, you must have permission to perform the s3:GetBucketCORS action. + * By default, the bucket owner has this permission and can grant it to others.

                                                                                                                          * - *

                                                                                                                          For more information about cors, see Enabling Cross-Origin - * Resource Sharing.

                                                                                                                          + *

                                                                                                                          For more information about cors, see Enabling + * Cross-Origin Resource Sharing.

                                                                                                                          * *

                                                                                                                          The following operations are related to GetBucketCors:

                                                                                                                          *
                                                                                                                            @@ -2286,9 +2479,14 @@ export class S3 extends S3Client { } /** - *

                                                                                                                            Returns the default encryption configuration for an Amazon S3 bucket. For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.

                                                                                                                            + *

                                                                                                                            Returns the default encryption configuration for an Amazon S3 bucket. For information about + * the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.

                                                                                                                            * - *

                                                                                                                            To use this operation, you must have permission to perform the s3:GetEncryptionConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                            + *

                                                                                                                            To use this operation, you must have permission to perform the + * s3:GetEncryptionConfiguration action. The bucket owner has this permission + * by default. The bucket owner can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                            *

                                                                                                                            The following operations are related to GetBucketEncryption:

                                                                                                                            *
                                                                                                                              *
                                                                                                                            • @@ -2333,13 +2531,75 @@ export class S3 extends S3Client { } /** - *

                                                                                                                              Returns an inventory configuration (identified by the inventory configuration ID) from the bucket.

                                                                                                                              + *

                                                                                                                              Gets the S3 Intelligent-Tiering configuration from the specified bucket.

                                                                                                                              + *

                                                                                                                              The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. S3 Intelligent-Tiering delivers automatic cost savings by moving data between access tiers, when access patterns change.

                                                                                                                              + *

                                                                                                                              The S3 Intelligent-Tiering storage class is suitable for objects larger than 128 KB that you plan to store for at least 30 days. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the frequent access tier rates in the S3 Intelligent-Tiering storage class.

                                                                                                                              + *

                                                                                                                              If you delete an object before the end of the 30-day minimum storage duration period, you are charged for 30 days. For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

                                                                                                                              + *

                                                                                                                              Operations related to + * GetBucketIntelligentTieringConfiguration include:

                                                                                                                              + * + */ + public getBucketIntelligentTieringConfiguration( + args: GetBucketIntelligentTieringConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getBucketIntelligentTieringConfiguration( + args: GetBucketIntelligentTieringConfigurationCommandInput, + cb: (err: any, data?: GetBucketIntelligentTieringConfigurationCommandOutput) => void + ): void; + public getBucketIntelligentTieringConfiguration( + args: GetBucketIntelligentTieringConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketIntelligentTieringConfigurationCommandOutput) => void + ): void; + public getBucketIntelligentTieringConfiguration( + args: GetBucketIntelligentTieringConfigurationCommandInput, + optionsOrCb?: + | __HttpHandlerOptions + | ((err: any, data?: GetBucketIntelligentTieringConfigurationCommandOutput) => void), + cb?: (err: any, data?: GetBucketIntelligentTieringConfigurationCommandOutput) => void + ): Promise | void { + const command = new GetBucketIntelligentTieringConfigurationCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                                                                                                              Returns an inventory configuration (identified by the inventory configuration ID) from + * the bucket.

                                                                                                                              * - *

                                                                                                                              To use this operation, you must have permissions to perform the s3:GetInventoryConfiguration action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                              + *

                                                                                                                              To use this operation, you must have permissions to perform the + * s3:GetInventoryConfiguration action. The bucket owner has this permission + * by default and can grant this permission to others. For more information about permissions, + * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                              * *

                                                                                                                              For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.

                                                                                                                              * - *

                                                                                                                              The following operations are related to GetBucketInventoryConfiguration:

                                                                                                                              + *

                                                                                                                              The following operations are related to + * GetBucketInventoryConfiguration:

                                                                                                                              *
                                                                                                                                *
                                                                                                                              • *

                                                                                                                                @@ -2389,17 +2649,22 @@ export class S3 extends S3Client { /** * - *

                                                                                                                                Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key - * name prefix, one or more object tags, or a combination of both. Accordingly, this - * section describes the latest API. The response describes the new filter element that you - * can use to specify a filter to select a subset of objects to which the rule applies. If - * you are using a previous version of the lifecycle configuration, it still works. For the - * earlier API description, see GetBucketLifecycle.

                                                                                                                                + *

                                                                                                                                Bucket lifecycle configuration now supports specifying a lifecycle rule using an + * object key name prefix, one or more object tags, or a combination of both. Accordingly, + * this section describes the latest API. The response describes the new filter element + * that you can use to specify a filter to select a subset of objects to which the rule + * applies. If you are using a previous version of the lifecycle configuration, it still + * works. For the earlier API description, see GetBucketLifecycle.

                                                                                                                                * - *

                                                                                                                                Returns the lifecycle configuration information set on the bucket. For information about lifecycle configuration, - * see Object Lifecycle Management.

                                                                                                                                + *

                                                                                                                                Returns the lifecycle configuration information set on the bucket. For information about + * lifecycle configuration, see Object + * Lifecycle Management.

                                                                                                                                * - *

                                                                                                                                To use this operation, you must have permission to perform the s3:GetLifecycleConfiguration action. The bucket owner has this permission, by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                + *

                                                                                                                                To use this operation, you must have permission to perform the + * s3:GetLifecycleConfiguration action. The bucket owner has this permission, + * by default. The bucket owner can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                * *

                                                                                                                                * GetBucketLifecycleConfiguration has the following special error:

                                                                                                                                @@ -2420,7 +2685,8 @@ export class S3 extends S3Client { *
                                                                                                                              *
                                                                                                                            • *
                                                                                                                            - *

                                                                                                                            The following operations are related to GetBucketLifecycleConfiguration:

                                                                                                                            + *

                                                                                                                            The following operations are related to + * GetBucketLifecycleConfiguration:

                                                                                                                            *
                                                                                                                              *
                                                                                                                            • *

                                                                                                                              @@ -2519,7 +2785,8 @@ export class S3 extends S3Client { } /** - *

                                                                                                                              Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.

                                                                                                                              + *

                                                                                                                              Returns the logging status of a bucket and the permissions users have to view and modify + * that status. To use GET, you must be the bucket owner.

                                                                                                                              * *

                                                                                                                              The following operations are related to GetBucketLogging:

                                                                                                                              *
                                                                                                                                @@ -2565,13 +2832,20 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                Gets a metrics configuration (specified by the metrics configuration ID) from the bucket. Note that this doesn't include the daily storage metrics.

                                                                                                                                + *

                                                                                                                                Gets a metrics configuration (specified by the metrics configuration ID) from the + * bucket. Note that this doesn't include the daily storage metrics.

                                                                                                                                * - *

                                                                                                                                To use this operation, you must have permissions to perform the s3:GetMetricsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                + *

                                                                                                                                To use this operation, you must have permissions to perform the + * s3:GetMetricsConfiguration action. The bucket owner has this permission by + * default. The bucket owner can grant this permission to others. For more information about + * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                * - *

                                                                                                                                For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.

                                                                                                                                + *

                                                                                                                                For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon + * CloudWatch.

                                                                                                                                * - *

                                                                                                                                The following operations are related to GetBucketMetricsConfiguration:

                                                                                                                                + *

                                                                                                                                The following operations are related to + * GetBucketMetricsConfiguration:

                                                                                                                                * @@ -2626,11 +2901,17 @@ export class S3 extends S3Client { /** *

                                                                                                                                Returns the notification configuration of a bucket.

                                                                                                                                - *

                                                                                                                                If notifications are not enabled on the bucket, the operation returns an empty NotificationConfiguration element.

                                                                                                                                + *

                                                                                                                                If notifications are not enabled on the bucket, the operation returns an empty + * NotificationConfiguration element.

                                                                                                                                * - *

                                                                                                                                By default, you must be the bucket owner to read the notification configuration of a bucket. However, the bucket owner can use a bucket policy to grant permission to other users to read this configuration with the s3:GetBucketNotification permission.

                                                                                                                                + *

                                                                                                                                By default, you must be the bucket owner to read the notification configuration of a + * bucket. However, the bucket owner can use a bucket policy to grant permission to other + * users to read this configuration with the s3:GetBucketNotification + * permission.

                                                                                                                                * - *

                                                                                                                                For more information about setting and reading the notification configuration on a bucket, see Setting Up Notification of Bucket Events. For more information about bucket policies, see Using Bucket Policies.

                                                                                                                                + *

                                                                                                                                For more information about setting and reading the notification configuration on a + * bucket, see Setting Up Notification of + * Bucket Events. For more information about bucket policies, see Using Bucket Policies.

                                                                                                                                * *

                                                                                                                                The following operation is related to GetBucketNotification:

                                                                                                                                *
                                                                                                                                  @@ -2720,15 +3001,24 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                  Returns the policy of a specified bucket. If you are using an identity other than the root user of the AWS account that owns the bucket, the calling identity must have the GetBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.

                                                                                                                                  + *

                                                                                                                                  Returns the policy of a specified bucket. If you are using an identity other than the + * root user of the AWS account that owns the bucket, the calling identity must have the + * GetBucketPolicy permissions on the specified bucket and belong to the + * bucket owner's account in order to use this operation.

                                                                                                                                  * - *

                                                                                                                                  If you don't have GetBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error.

                                                                                                                                  + *

                                                                                                                                  If you don't have GetBucketPolicy permissions, Amazon S3 returns a 403 + * Access Denied error. If you have the correct permissions, but you're not using an + * identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not + * Allowed error.

                                                                                                                                  * * - *

                                                                                                                                  As a security precaution, the root user of the AWS account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.

                                                                                                                                  + *

                                                                                                                                  As a security precaution, the root user of the AWS account that owns a bucket can + * always use this operation, even if the policy explicitly denies the root user the + * ability to perform this action.

                                                                                                                                  *
                                                                                                                                  * - *

                                                                                                                                  For more information about bucket policies, see Using Bucket Policies and User Policies.

                                                                                                                                  + *

                                                                                                                                  For more information about bucket policies, see Using Bucket Policies and User + * Policies.

                                                                                                                                  * *

                                                                                                                                  The following operation is related to GetBucketPolicy:

                                                                                                                                  *
                                                                                                                                    @@ -2769,7 +3059,10 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                    Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public. In order to use this operation, you must have the s3:GetBucketPolicyStatus permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

                                                                                                                                    + *

                                                                                                                                    Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public. + * In order to use this operation, you must have the s3:GetBucketPolicyStatus + * permission. For more information about Amazon S3 permissions, see Specifying Permissions in a + * Policy.

                                                                                                                                    * *

                                                                                                                                    For more information about when Amazon S3 considers a bucket public, see The Meaning of "Public".

                                                                                                                                    * @@ -2777,7 +3070,8 @@ export class S3 extends S3Client { *
                                                                                                                                      *
                                                                                                                                    • *

                                                                                                                                      - * Using Amazon S3 Block Public Access + * Using Amazon S3 Block + * Public Access *

                                                                                                                                      *
                                                                                                                                    • *
                                                                                                                                    • @@ -2829,18 +3123,23 @@ export class S3 extends S3Client { /** *

                                                                                                                                      Returns the replication configuration of a bucket.

                                                                                                                                      * - *

                                                                                                                                      - * It can take a while to propagate the put or delete a replication configuration to all Amazon S3 systems. Therefore, - * a get request soon after put or delete can return a wrong result. - *

                                                                                                                                      + *

                                                                                                                                      It can take a while to propagate the put or delete a replication configuration to + * all Amazon S3 systems. Therefore, a get request soon after put or delete can return a wrong + * result.

                                                                                                                                      *
                                                                                                                                      - *

                                                                                                                                      For information about replication configuration, see Replication in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                      + *

                                                                                                                                      For information about replication configuration, see Replication in the + * Amazon Simple Storage Service Developer Guide.

                                                                                                                                      * - *

                                                                                                                                      This operation requires permissions for the s3:GetReplicationConfiguration action. For more information about permissions, see Using Bucket Policies and User Policies.

                                                                                                                                      + *

                                                                                                                                      This operation requires permissions for the s3:GetReplicationConfiguration + * action. For more information about permissions, see Using Bucket Policies and User + * Policies.

                                                                                                                                      * - *

                                                                                                                                      If you include the Filter element in a replication configuration, you must also include the DeleteMarkerReplication and Priority elements. The response also returns those elements.

                                                                                                                                      + *

                                                                                                                                      If you include the Filter element in a replication configuration, you must + * also include the DeleteMarkerReplication and Priority elements. + * The response also returns those elements.

                                                                                                                                      * - *

                                                                                                                                      For information about GetBucketReplication errors, see List of replication-related error codes + *

                                                                                                                                      For information about GetBucketReplication errors, see List of + * replication-related error codes *

                                                                                                                                      * * @@ -2888,9 +3187,8 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                      Returns the request payment configuration of a bucket. - * To use this version of the operation, you must be the bucket owner. For more information, see - * Requester Pays Buckets.

                                                                                                                                      + *

                                                                                                                                      Returns the request payment configuration of a bucket. To use this version of the + * operation, you must be the bucket owner. For more information, see Requester Pays Buckets.

                                                                                                                                      * *

                                                                                                                                      The following operations are related to GetBucketRequestPayment:

                                                                                                                                      *
                                                                                                                                        @@ -2932,7 +3230,9 @@ export class S3 extends S3Client { /** *

                                                                                                                                        Returns the tag set associated with the bucket.

                                                                                                                                        - *

                                                                                                                                        To use this operation, you must have permission to perform the s3:GetBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others.

                                                                                                                                        + *

                                                                                                                                        To use this operation, you must have permission to perform the + * s3:GetBucketTagging action. By default, the bucket owner has this + * permission and can grant this permission to others.

                                                                                                                                        * *

                                                                                                                                        * GetBucketTagging has the following special error:

                                                                                                                                        @@ -3048,9 +3348,14 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                        Returns the website configuration for a bucket. To host website on Amazon S3, you can configure a bucket as website by adding a website configuration. For more information about hosting websites, see Hosting Websites on Amazon S3. - *

                                                                                                                                        - *

                                                                                                                                        This GET operation requires the S3:GetBucketWebsite permission. By default, only the bucket owner can read the bucket website configuration. However, bucket owners can allow other users to read the website configuration by writing a bucket policy granting them the S3:GetBucketWebsite permission.

                                                                                                                                        + *

                                                                                                                                        Returns the website configuration for a bucket. To host website on Amazon S3, you can + * configure a bucket as website by adding a website configuration. For more information about + * hosting websites, see Hosting Websites on + * Amazon S3.

                                                                                                                                        + *

                                                                                                                                        This GET operation requires the S3:GetBucketWebsite permission. By default, + * only the bucket owner can read the bucket website configuration. However, bucket owners can + * allow other users to read the website configuration by writing a bucket policy granting + * them the S3:GetBucketWebsite permission.

                                                                                                                                        *

                                                                                                                                        The following operations are related to DeleteBucketWebsite:

                                                                                                                                        *
                                                                                                                                          *
                                                                                                                                        • @@ -3095,9 +3400,14 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                          Retrieves objects from Amazon S3. To use GET, you must have READ access to the object. If you grant READ access to the anonymous user, you can return the object without using an authorization header.

                                                                                                                                          + *

                                                                                                                                          Retrieves objects from Amazon S3. To use GET, you must have READ + * access to the object. If you grant READ access to the anonymous user, you can + * return the object without using an authorization header.

                                                                                                                                          * - *

                                                                                                                                          An Amazon S3 bucket has no directory hierarchy such as you would find in a typical computer file system. You can, however, create a logical hierarchy by using object key names that imply a folder structure. For example, instead of naming an object sample.jpg, you can name it photos/2006/February/sample.jpg.

                                                                                                                                          + *

                                                                                                                                          An Amazon S3 bucket has no directory hierarchy such as you would find in a typical computer + * file system. You can, however, create a logical hierarchy by using object key names that + * imply a folder structure. For example, instead of naming an object sample.jpg, + * you can name it photos/2006/February/sample.jpg.

                                                                                                                                          * *

                                                                                                                                          To get an object from such a logical hierarchy, specify the full key name for the object * in the GET operation. For a virtual hosted-style request example, if you have @@ -3108,12 +3418,24 @@ export class S3 extends S3Client { * /examplebucket/photos/2006/February/sample.jpg. For more information about * request types, see HTTP Host Header Bucket Specification.

                                                                                                                                          * - *

                                                                                                                                          To distribute large files to many people, you can save bandwidth costs by using BitTorrent. For more information, see Amazon S3 Torrent. For more information about returning the ACL of an object, see GetObjectAcl.

                                                                                                                                          - * - *

                                                                                                                                          If the object you are retrieving is stored in the GLACIER or DEEP_ARCHIVE storage classes, before you can retrieve the object you must first restore a copy using RestoreObject. Otherwise, this operation returns an InvalidObjectStateError error. For information about restoring archived objects, see Restoring Archived Objects.

                                                                                                                                          - * - *

                                                                                                                                          Encryption request headers, like x-amz-server-side-encryption, should not be sent for GET requests if your object uses server-side encryption with CMKs stored in AWS KMS (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest error.

                                                                                                                                          - *

                                                                                                                                          If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object, you must use the following headers:

                                                                                                                                          + *

                                                                                                                                          To distribute large files to many people, you can save bandwidth costs by using + * BitTorrent. For more information, see Amazon S3 + * Torrent. For more information about returning the ACL of an object, see GetObjectAcl.

                                                                                                                                          + * + *

                                                                                                                                          If the object you are retrieving is stored in the S3 Glacier, S3 Glacier Deep Archive, + * S3 Intelligent-Tiering Archive, or S3 Intelligent-Tiering Deep Archive storage classes, before you can retrieve + * the object you must first restore a copy using RestoreObject. Otherwise, this + * operation returns an InvalidObjectStateError error. For information about + * restoring archived objects, see Restoring + * Archived Objects.

                                                                                                                                          + * + *

                                                                                                                                          Encryption request headers, like x-amz-server-side-encryption, should not + * be sent for GET requests if your object uses server-side encryption with CMKs stored in AWS + * KMS (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your + * object does use these types of keys, you’ll get an HTTP 400 BadRequest error.

                                                                                                                                          + *

                                                                                                                                          If you encrypt an object by using server-side encryption with customer-provided + * encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object, + * you must use the following headers:

                                                                                                                                          *
                                                                                                                                            *
                                                                                                                                          • *

                                                                                                                                            x-amz-server-side-encryption-customer-algorithm

                                                                                                                                            @@ -3125,22 +3447,30 @@ export class S3 extends S3Client { *

                                                                                                                                            x-amz-server-side-encryption-customer-key-MD5

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          - *

                                                                                                                                          For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys).

                                                                                                                                          + *

                                                                                                                                          For more information about SSE-C, see Server-Side Encryption (Using + * Customer-Provided Encryption Keys).

                                                                                                                                          * - *

                                                                                                                                          Assuming you have permission to read object tags (permission for the s3:GetObjectVersionTagging action), - * the response also returns the x-amz-tagging-count header that provides the count of number of tags associated with the object. - * You can use GetObjectTagging to retrieve the tag set associated with an object.

                                                                                                                                          + *

                                                                                                                                          Assuming you have permission to read object tags (permission for the + * s3:GetObjectVersionTagging action), the response also returns the + * x-amz-tagging-count header that provides the count of number of tags + * associated with the object. You can use GetObjectTagging to retrieve + * the tag set associated with an object.

                                                                                                                                          * *

                                                                                                                                          * Permissions *

                                                                                                                                          - *

                                                                                                                                          You need the s3:GetObject permission for this operation. For more information, see Specifying Permissions in a Policy. If the object you request does not exist, the error Amazon S3 returns depends on whether you also have the s3:ListBucket permission.

                                                                                                                                          + *

                                                                                                                                          You need the s3:GetObject permission for this operation. For more + * information, see Specifying Permissions + * in a Policy. If the object you request does not exist, the error Amazon S3 returns + * depends on whether you also have the s3:ListBucket permission.

                                                                                                                                          *
                                                                                                                                            *
                                                                                                                                          • - *

                                                                                                                                            If you have the s3:ListBucket permission on the bucket, Amazon S3 will return an HTTP status code 404 ("no such key") error.

                                                                                                                                            + *

                                                                                                                                            If you have the s3:ListBucket permission on the bucket, Amazon S3 will + * return an HTTP status code 404 ("no such key") error.

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • - *

                                                                                                                                            If you don’t have the s3:ListBucket permission, Amazon S3 will return an HTTP status code 403 ("access denied") error.

                                                                                                                                            + *

                                                                                                                                            If you don’t have the s3:ListBucket permission, Amazon S3 will return an + * HTTP status code 403 ("access denied") error.

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          * @@ -3148,10 +3478,13 @@ export class S3 extends S3Client { *

                                                                                                                                          * Versioning *

                                                                                                                                          - *

                                                                                                                                          By default, the GET operation returns the current version of an object. To return a different version, use the versionId subresource.

                                                                                                                                          + *

                                                                                                                                          By default, the GET operation returns the current version of an object. To return a + * different version, use the versionId subresource.

                                                                                                                                          * * - *

                                                                                                                                          If the current version of the object is a delete marker, Amazon S3 behaves as if the object was deleted and includes x-amz-delete-marker: true in the response.

                                                                                                                                          + *

                                                                                                                                          If the current version of the object is a delete marker, Amazon S3 behaves as if the + * object was deleted and includes x-amz-delete-marker: true in the + * response.

                                                                                                                                          *
                                                                                                                                          * * @@ -3160,12 +3493,23 @@ export class S3 extends S3Client { *

                                                                                                                                          * Overriding Response Header Values *

                                                                                                                                          - *

                                                                                                                                          There are times when you want to override certain response header values in a GET response. For example, you might override the Content-Disposition response header value in your GET request.

                                                                                                                                          - * - *

                                                                                                                                          You can override values for a set of response headers using the following query parameters. These response header values are sent only on a successful request, that is, when status code 200 OK is returned. The set of headers you can override using these parameters is a subset of the headers that Amazon S3 accepts when you create an object. The response headers that you can override for the GET response are Content-Type, Content-Language, Expires, Cache-Control, Content-Disposition, and Content-Encoding. To override these header values in the GET response, you use the following request parameters.

                                                                                                                                          + *

                                                                                                                                          There are times when you want to override certain response header values in a GET + * response. For example, you might override the Content-Disposition response header value in + * your GET request.

                                                                                                                                          + * + *

                                                                                                                                          You can override values for a set of response headers using the following query + * parameters. These response header values are sent only on a successful request, that is, + * when status code 200 OK is returned. The set of headers you can override using these + * parameters is a subset of the headers that Amazon S3 accepts when you create an object. The + * response headers that you can override for the GET response are Content-Type, + * Content-Language, Expires, Cache-Control, + * Content-Disposition, and Content-Encoding. To override these + * header values in the GET response, you use the following request parameters.

                                                                                                                                          * * - *

                                                                                                                                          You must sign the request, either using an Authorization header or a presigned URL, when using these parameters. They cannot be used with an unsigned (anonymous) request.

                                                                                                                                          + *

                                                                                                                                          You must sign the request, either using an Authorization header or a presigned URL, + * when using these parameters. They cannot be used with an unsigned (anonymous) + * request.

                                                                                                                                          *
                                                                                                                                          *
                                                                                                                                            *
                                                                                                                                          • @@ -3204,9 +3548,15 @@ export class S3 extends S3Client { * Additional Considerations about Request Headers *

                                                                                                                                            * - *

                                                                                                                                            If both of the If-Match and If-Unmodified-Since headers are present in the request as follows: If-Match condition evaluates to true, and; If-Unmodified-Since condition evaluates to false; then, S3 returns 200 OK and the data requested.

                                                                                                                                            + *

                                                                                                                                            If both of the If-Match and If-Unmodified-Since headers are + * present in the request as follows: If-Match condition evaluates to + * true, and; If-Unmodified-Since condition evaluates to + * false; then, S3 returns 200 OK and the data requested.

                                                                                                                                            * - *

                                                                                                                                            If both of the If-None-Match and If-Modified-Since headers are present in the request as follows: If-None-Match condition evaluates to false, and; If-Modified-Since condition evaluates to true; then, S3 returns 304 Not Modified response code.

                                                                                                                                            + *

                                                                                                                                            If both of the If-None-Match and If-Modified-Since headers are + * present in the request as follows: If-None-Match condition evaluates to + * false, and; If-Modified-Since condition evaluates to + * true; then, S3 returns 304 Not Modified response code.

                                                                                                                                            * *

                                                                                                                                            For more information about conditional requests, see RFC 7232.

                                                                                                                                            * @@ -3251,11 +3601,11 @@ export class S3 extends S3Client { *

                                                                                                                                            Returns the access control list (ACL) of an object. To use this operation, you must have * READ_ACP access to the object.

                                                                                                                                            *

                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                            - * - *

                                                                                                                                            + *

                                                                                                                                            * Versioning *

                                                                                                                                            - *

                                                                                                                                            By default, GET returns ACL information about the current version of an object. To return ACL information about a different version, use the versionId subresource.

                                                                                                                                            + *

                                                                                                                                            By default, GET returns ACL information about the current version of an object. To + * return ACL information about a different version, use the versionId subresource.

                                                                                                                                            * *

                                                                                                                                            The following operations are related to GetObjectAcl:

                                                                                                                                            *
                                                                                                                                              @@ -3303,8 +3653,7 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                              Gets an object's current Legal Hold - * status. For more information, see Locking Objects.

                                                                                                                                              + *

                                                                                                                                              Gets an object's current Legal Hold status. For more information, see Locking Objects.

                                                                                                                                              *

                                                                                                                                              This action is not supported by Amazon S3 on Outposts.

                                                                                                                                              */ public getObjectLegalHold( @@ -3337,7 +3686,10 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                              Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see Locking Objects.

                                                                                                                                              + *

                                                                                                                                              Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock + * configuration will be applied by default to every new object placed in the specified + * bucket. For more information, see Locking + * Objects.

                                                                                                                                              */ public getObjectLockConfiguration( args: GetObjectLockConfigurationCommandInput, @@ -3402,11 +3754,18 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                              Returns the tag-set of an object. You send the GET request against the tagging subresource associated with the object.

                                                                                                                                              + *

                                                                                                                                              Returns the tag-set of an object. You send the GET request against the tagging + * subresource associated with the object.

                                                                                                                                              * - *

                                                                                                                                              To use this operation, you must have permission to perform the s3:GetObjectTagging action. By default, the GET operation returns information about current version of an object. For a versioned bucket, you can have multiple versions of an object in your bucket. To retrieve tags of any other version, use the versionId query parameter. You also need permission for the s3:GetObjectVersionTagging action.

                                                                                                                                              + *

                                                                                                                                              To use this operation, you must have permission to perform the + * s3:GetObjectTagging action. By default, the GET operation returns + * information about current version of an object. For a versioned bucket, you can have + * multiple versions of an object in your bucket. To retrieve tags of any other version, use + * the versionId query parameter. You also need permission for the + * s3:GetObjectVersionTagging action.

                                                                                                                                              * - *

                                                                                                                                              By default, the bucket owner has this permission and can grant this permission to others.

                                                                                                                                              + *

                                                                                                                                              By default, the bucket owner has this permission and can grant this permission to + * others.

                                                                                                                                              * *

                                                                                                                                              For information about the Amazon S3 object tagging feature, see Object Tagging.

                                                                                                                                              * @@ -3452,12 +3811,12 @@ export class S3 extends S3Client { *

                                                                                                                                              Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're * distributing large files. For more information about BitTorrent, see Using BitTorrent with Amazon S3.

                                                                                                                                              * - *

                                                                                                                                              You can get torrent only for objects that are less than 5 GB in size, and that are not - * encrypted using server-side encryption with a customer-provided encryption key.

                                                                                                                                              + *

                                                                                                                                              You can get torrent only for objects that are less than 5 GB in size, and that are + * not encrypted using server-side encryption with a customer-provided encryption + * key.

                                                                                                                                              *
                                                                                                                                              *

                                                                                                                                              To use GET, you must have READ access to the object.

                                                                                                                                              *

                                                                                                                                              This action is not supported by Amazon S3 on Outposts.

                                                                                                                                              - * *

                                                                                                                                              The following operation is related to GetObjectTorrent:

                                                                                                                                              *
                                                                                                                                                *
                                                                                                                                              • @@ -3497,21 +3856,28 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket. To - * use this operation, you must have the s3:GetBucketPublicAccessBlock - * permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

                                                                                                                                                + *

                                                                                                                                                Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket. To use + * this operation, you must have the s3:GetBucketPublicAccessBlock permission. + * For more information about Amazon S3 permissions, see Specifying Permissions in a + * Policy.

                                                                                                                                                * * - *

                                                                                                                                                When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an object, it checks the PublicAccessBlock configuration for both the bucket (or the bucket that contains the object) and the bucket owner's account. If the PublicAccessBlock settings are different between the bucket and the account, Amazon S3 uses the most restrictive combination of the bucket-level and account-level settings.

                                                                                                                                                + *

                                                                                                                                                When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or + * an object, it checks the PublicAccessBlock configuration for both the + * bucket (or the bucket that contains the object) and the bucket owner's account. If the + * PublicAccessBlock settings are different between the bucket and the + * account, Amazon S3 uses the most restrictive combination of the bucket-level and + * account-level settings.

                                                                                                                                                *
                                                                                                                                                * - *

                                                                                                                                                For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of "Public".

                                                                                                                                                + *

                                                                                                                                                For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of "Public".

                                                                                                                                                * *

                                                                                                                                                The following operations are related to GetPublicAccessBlock:

                                                                                                                                                *
                                                                                                                                                  *
                                                                                                                                                • *

                                                                                                                                                  - * Using Amazon S3 Block Public Access + * Using Amazon S3 Block + * Public Access *

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • @@ -3561,9 +3927,15 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                  This operation is useful to determine if a bucket exists and you have permission to access it. The operation returns a 200 OK if the bucket exists and you have permission to access it. Otherwise, the operation might return responses such as 404 Not Found and 403 Forbidden.

                                                                                                                                                  + *

                                                                                                                                                  This operation is useful to determine if a bucket exists and you have permission to + * access it. The operation returns a 200 OK if the bucket exists and you have + * permission to access it. Otherwise, the operation might return responses such as 404 + * Not Found and 403 Forbidden.

                                                                                                                                                  * - *

                                                                                                                                                  To use this operation, you must have permissions to perform the s3:ListBucket action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                  + *

                                                                                                                                                  To use this operation, you must have permissions to perform the + * s3:ListBucket action. The bucket owner has this permission by default and + * can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                  */ public headBucket(args: HeadBucketCommandInput, options?: __HttpHandlerOptions): Promise; public headBucket(args: HeadBucketCommandInput, cb: (err: any, data?: HeadBucketCommandOutput) => void): void; @@ -3589,11 +3961,17 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                  The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use HEAD, you must have READ access to the object.

                                                                                                                                                  + *

                                                                                                                                                  The HEAD operation retrieves metadata from an object without returning the object + * itself. This operation is useful if you're only interested in an object's metadata. To use + * HEAD, you must have READ access to the object.

                                                                                                                                                  * - *

                                                                                                                                                  A HEAD request has the same options as a GET operation on an object. The response is identical to the GET response except that there is no response body.

                                                                                                                                                  + *

                                                                                                                                                  A HEAD request has the same options as a GET operation on an + * object. The response is identical to the GET response except that there is no + * response body.

                                                                                                                                                  * - *

                                                                                                                                                  If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the metadata from the object, you must use the following headers:

                                                                                                                                                  + *

                                                                                                                                                  If you encrypt an object by using server-side encryption with customer-provided + * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the + * metadata from the object, you must use the following headers:

                                                                                                                                                  *
                                                                                                                                                    *
                                                                                                                                                  • *

                                                                                                                                                    x-amz-server-side-encryption-customer-algorithm

                                                                                                                                                    @@ -3605,9 +3983,14 @@ export class S3 extends S3Client { *

                                                                                                                                                    x-amz-server-side-encryption-customer-key-MD5

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  - *

                                                                                                                                                  For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys).

                                                                                                                                                  + *

                                                                                                                                                  For more information about SSE-C, see Server-Side Encryption (Using + * Customer-Provided Encryption Keys).

                                                                                                                                                  * - *

                                                                                                                                                  Encryption request headers, like x-amz-server-side-encryption, should not be sent for GET requests if your object uses server-side encryption with CMKs stored in AWS KMS (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest error.

                                                                                                                                                  + *

                                                                                                                                                  Encryption request headers, like x-amz-server-side-encryption, should + * not be sent for GET requests if your object uses server-side encryption with CMKs stored + * in AWS KMS (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys + * (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest + * error.

                                                                                                                                                  *
                                                                                                                                                  * * @@ -3616,11 +3999,14 @@ export class S3 extends S3Client { * * * - *

                                                                                                                                                  Request headers are limited to 8 KB in size. For more information, see Common Request Headers.

                                                                                                                                                  + *

                                                                                                                                                  Request headers are limited to 8 KB in size. For more information, see Common Request + * Headers.

                                                                                                                                                  *

                                                                                                                                                  Consider the following when using request headers:

                                                                                                                                                  *
                                                                                                                                                    *
                                                                                                                                                  • - *

                                                                                                                                                    Consideration 1 – If both of the If-Match and If-Unmodified-Since headers are present in the request as follows:

                                                                                                                                                    + *

                                                                                                                                                    Consideration 1 – If both of the If-Match and + * If-Unmodified-Since headers are present in the request as + * follows:

                                                                                                                                                    *
                                                                                                                                                      *
                                                                                                                                                    • *

                                                                                                                                                      @@ -3628,22 +4014,26 @@ export class S3 extends S3Client { *

                                                                                                                                                    • *
                                                                                                                                                    • *

                                                                                                                                                      - * If-Unmodified-Since condition evaluates to false;

                                                                                                                                                      + * If-Unmodified-Since condition evaluates to + * false;

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    *

                                                                                                                                                    Then Amazon S3 returns 200 OK and the data requested.

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  • - *

                                                                                                                                                    - * Consideration 2 – If both of the If-None-Match and If-Modified-Since headers are present in the request as follows:

                                                                                                                                                    + *

                                                                                                                                                    Consideration 2 – If both of the If-None-Match and + * If-Modified-Since headers are present in the request as + * follows:

                                                                                                                                                    *
                                                                                                                                                      *
                                                                                                                                                    • *

                                                                                                                                                      - * If-None-Match condition evaluates to false, and;

                                                                                                                                                      + * If-None-Match condition evaluates to false, + * and;

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • *

                                                                                                                                                      - * If-Modified-Since condition evaluates to true;

                                                                                                                                                      + * If-Modified-Since condition evaluates to + * true;

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    *

                                                                                                                                                    Then Amazon S3 returns the 304 Not Modified response code.

                                                                                                                                                    @@ -3655,15 +4045,18 @@ export class S3 extends S3Client { *

                                                                                                                                                    * Permissions *

                                                                                                                                                    - *

                                                                                                                                                    You need the s3:GetObject permission for this operation. For more information, see Specifying Permissions in a Policy. If the object you request does not exist, the error Amazon S3 returns depends on whether you also have the s3:ListBucket permission.

                                                                                                                                                    + *

                                                                                                                                                    You need the s3:GetObject permission for this operation. For more + * information, see Specifying Permissions + * in a Policy. If the object you request does not exist, the error Amazon S3 returns + * depends on whether you also have the s3:ListBucket permission.

                                                                                                                                                    *
                                                                                                                                                      *
                                                                                                                                                    • - *

                                                                                                                                                      If you have the s3:ListBucket permission on the bucket, Amazon S3 returns an HTTP - * status code 404 ("no such key") error.

                                                                                                                                                      + *

                                                                                                                                                      If you have the s3:ListBucket permission on the bucket, Amazon S3 returns + * an HTTP status code 404 ("no such key") error.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • - *

                                                                                                                                                      If you don’t have the s3:ListBucket permission, Amazon S3 returns an HTTP status - * code 403 ("access denied") error.

                                                                                                                                                      + *

                                                                                                                                                      If you don’t have the s3:ListBucket permission, Amazon S3 returns an HTTP + * status code 403 ("access denied") error.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    * @@ -3700,15 +4093,29 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                    Lists the analytics configurations for the bucket. You can have up to 1,000 analytics configurations per bucket.

                                                                                                                                                    - * - *

                                                                                                                                                    This operation supports list pagination and does not return more than 100 configurations at a time. You should always check the IsTruncated element in the response. If there are no more configurations to list, IsTruncated is set to false. If there are more configurations to list, IsTruncated is set to true, and there will be a value in NextContinuationToken. You use the NextContinuationToken value to continue the pagination of the list by passing the value in continuation-token in the request to GET the next page.

                                                                                                                                                    + *

                                                                                                                                                    Lists the analytics configurations for the bucket. You can have up to 1,000 analytics + * configurations per bucket.

                                                                                                                                                    + * + *

                                                                                                                                                    This operation supports list pagination and does not return more than 100 configurations + * at a time. You should always check the IsTruncated element in the response. If + * there are no more configurations to list, IsTruncated is set to false. If + * there are more configurations to list, IsTruncated is set to true, and there + * will be a value in NextContinuationToken. You use the + * NextContinuationToken value to continue the pagination of the list by + * passing the value in continuation-token in the request to GET the next + * page.

                                                                                                                                                    * - *

                                                                                                                                                    To use this operation, you must have permissions to perform the s3:GetAnalyticsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                    + *

                                                                                                                                                    To use this operation, you must have permissions to perform the + * s3:GetAnalyticsConfiguration action. The bucket owner has this permission + * by default. The bucket owner can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                    * - *

                                                                                                                                                    For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis.

                                                                                                                                                    + *

                                                                                                                                                    For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class + * Analysis.

                                                                                                                                                    * - *

                                                                                                                                                    The following operations are related to ListBucketAnalyticsConfigurations:

                                                                                                                                                    + *

                                                                                                                                                    The following operations are related to + * ListBucketAnalyticsConfigurations:

                                                                                                                                                    *
                                                                                                                                                      *
                                                                                                                                                    • *

                                                                                                                                                      @@ -3757,16 +4164,84 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                      Returns a list of inventory configurations for the bucket. You can have up to 1,000 analytics configurations per bucket.

                                                                                                                                                      - * - *

                                                                                                                                                      This operation supports list pagination and does not return more than 100 configurations at a time. Always check the IsTruncated element in the response. If there are no more configurations to list, IsTruncated is set to false. If there are more configurations to list, IsTruncated is set to true, and there is a value in NextContinuationToken. You use the NextContinuationToken value to continue the pagination of the list by passing the value in continuation-token in the request to GET the next page.

                                                                                                                                                      - * - *

                                                                                                                                                      To use this operation, you must have permissions to perform the s3:GetInventoryConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                      + *

                                                                                                                                                      Lists the S3 Intelligent-Tiering configuration from the specified bucket.

                                                                                                                                                      + *

                                                                                                                                                      The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. S3 Intelligent-Tiering delivers automatic cost savings by moving data between access tiers, when access patterns change.

                                                                                                                                                      + *

                                                                                                                                                      The S3 Intelligent-Tiering storage class is suitable for objects larger than 128 KB that you plan to store for at least 30 days. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the frequent access tier rates in the S3 Intelligent-Tiering storage class.

                                                                                                                                                      + *

                                                                                                                                                      If you delete an object before the end of the 30-day minimum storage duration period, you are charged for 30 days. For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

                                                                                                                                                      + *

                                                                                                                                                      Operations related to + * ListBucketIntelligentTieringConfigurations include:

                                                                                                                                                      + * + */ + public listBucketIntelligentTieringConfigurations( + args: ListBucketIntelligentTieringConfigurationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listBucketIntelligentTieringConfigurations( + args: ListBucketIntelligentTieringConfigurationsCommandInput, + cb: (err: any, data?: ListBucketIntelligentTieringConfigurationsCommandOutput) => void + ): void; + public listBucketIntelligentTieringConfigurations( + args: ListBucketIntelligentTieringConfigurationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListBucketIntelligentTieringConfigurationsCommandOutput) => void + ): void; + public listBucketIntelligentTieringConfigurations( + args: ListBucketIntelligentTieringConfigurationsCommandInput, + optionsOrCb?: + | __HttpHandlerOptions + | ((err: any, data?: ListBucketIntelligentTieringConfigurationsCommandOutput) => void), + cb?: (err: any, data?: ListBucketIntelligentTieringConfigurationsCommandOutput) => void + ): Promise | void { + const command = new ListBucketIntelligentTieringConfigurationsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                                                                                                                                      Returns a list of inventory configurations for the bucket. You can have up to 1,000 + * analytics configurations per bucket.

                                                                                                                                                      + * + *

                                                                                                                                                      This operation supports list pagination and does not return more than 100 configurations + * at a time. Always check the IsTruncated element in the response. If there are + * no more configurations to list, IsTruncated is set to false. If there are more + * configurations to list, IsTruncated is set to true, and there is a value in + * NextContinuationToken. You use the NextContinuationToken value + * to continue the pagination of the list by passing the value in continuation-token in the + * request to GET the next page.

                                                                                                                                                      + * + *

                                                                                                                                                      To use this operation, you must have permissions to perform the + * s3:GetInventoryConfiguration action. The bucket owner has this permission + * by default. The bucket owner can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                      * *

                                                                                                                                                      For information about the Amazon S3 inventory feature, see Amazon S3 Inventory *

                                                                                                                                                      * - *

                                                                                                                                                      The following operations are related to ListBucketInventoryConfigurations:

                                                                                                                                                      + *

                                                                                                                                                      The following operations are related to + * ListBucketInventoryConfigurations:

                                                                                                                                                      *
                                                                                                                                                        *
                                                                                                                                                      • *

                                                                                                                                                        @@ -3815,15 +4290,30 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                        Lists the metrics configurations for the bucket. The metrics configurations are only for the request metrics of the bucket and do not provide information on daily storage metrics. You can have up to 1,000 configurations per bucket.

                                                                                                                                                        + *

                                                                                                                                                        Lists the metrics configurations for the bucket. The metrics configurations are only for + * the request metrics of the bucket and do not provide information on daily storage metrics. + * You can have up to 1,000 configurations per bucket.

                                                                                                                                                        + * + *

                                                                                                                                                        This operation supports list pagination and does not return more than 100 configurations + * at a time. Always check the IsTruncated element in the response. If there are + * no more configurations to list, IsTruncated is set to false. If there are more + * configurations to list, IsTruncated is set to true, and there is a value in + * NextContinuationToken. You use the NextContinuationToken value + * to continue the pagination of the list by passing the value in + * continuation-token in the request to GET the next page.

                                                                                                                                                        * - *

                                                                                                                                                        This operation supports list pagination and does not return more than 100 configurations at a time. Always check the IsTruncated element in the response. If there are no more configurations to list, IsTruncated is set to false. If there are more configurations to list, IsTruncated is set to true, and there is a value in NextContinuationToken. You use the NextContinuationToken value to continue the pagination of the list by passing the value in continuation-token in the request to GET the next page.

                                                                                                                                                        - * - *

                                                                                                                                                        To use this operation, you must have permissions to perform the s3:GetMetricsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                        + *

                                                                                                                                                        To use this operation, you must have permissions to perform the + * s3:GetMetricsConfiguration action. The bucket owner has this permission by + * default. The bucket owner can grant this permission to others. For more information about + * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                        * - *

                                                                                                                                                        For more information about metrics configurations and CloudWatch request metrics, see Monitoring Metrics with Amazon CloudWatch.

                                                                                                                                                        + *

                                                                                                                                                        For more information about metrics configurations and CloudWatch request metrics, see + * Monitoring Metrics with Amazon + * CloudWatch.

                                                                                                                                                        * - *

                                                                                                                                                        The following operations are related to ListBucketMetricsConfigurations:

                                                                                                                                                        + *

                                                                                                                                                        The following operations are related to + * ListBucketMetricsConfigurations:

                                                                                                                                                        *
                                                                                                                                                          *
                                                                                                                                                        • *

                                                                                                                                                          @@ -3898,15 +4388,28 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                          This operation lists in-progress multipart uploads. An in-progress multipart upload is a multipart upload that has been initiated using the Initiate Multipart Upload request, but has not yet been completed or aborted.

                                                                                                                                                          + *

                                                                                                                                                          This operation lists in-progress multipart uploads. An in-progress multipart upload is a + * multipart upload that has been initiated using the Initiate Multipart Upload request, but + * has not yet been completed or aborted.

                                                                                                                                                          * - *

                                                                                                                                                          This operation returns at most 1,000 multipart uploads in the response. 1,000 multipart uploads is the maximum number of uploads a response can include, which is also the default value. You can further limit the number of uploads in a response by specifying the max-uploads parameter in the response. If additional multipart uploads satisfy the list criteria, the response will contain an IsTruncated element with the value true. To list the additional multipart uploads, use the key-marker and upload-id-marker request parameters.

                                                                                                                                                          + *

                                                                                                                                                          This operation returns at most 1,000 multipart uploads in the response. 1,000 multipart + * uploads is the maximum number of uploads a response can include, which is also the default + * value. You can further limit the number of uploads in a response by specifying the + * max-uploads parameter in the response. If additional multipart uploads + * satisfy the list criteria, the response will contain an IsTruncated element + * with the value true. To list the additional multipart uploads, use the + * key-marker and upload-id-marker request parameters.

                                                                                                                                                          * - *

                                                                                                                                                          In the response, the uploads are sorted by key. If your application has initiated more than one multipart upload using the same object key, then uploads in the response are first sorted by key. Additionally, uploads are sorted in ascending order within each key by the upload initiation time.

                                                                                                                                                          + *

                                                                                                                                                          In the response, the uploads are sorted by key. If your application has initiated more + * than one multipart upload using the same object key, then uploads in the response are first + * sorted by key. Additionally, uploads are sorted in ascending order within each key by the + * upload initiation time.

                                                                                                                                                          * - *

                                                                                                                                                          For more information on multipart uploads, see Uploading Objects Using Multipart Upload.

                                                                                                                                                          + *

                                                                                                                                                          For more information on multipart uploads, see Uploading Objects Using Multipart + * Upload.

                                                                                                                                                          * - *

                                                                                                                                                          For information on permissions required to use the multipart upload API, see Multipart Upload API and Permissions.

                                                                                                                                                          + *

                                                                                                                                                          For information on permissions required to use the multipart upload API, see Multipart Upload API and + * Permissions.

                                                                                                                                                          * *

                                                                                                                                                          The following operations are related to ListMultipartUploads:

                                                                                                                                                          *
                                                                                                                                                            @@ -3972,7 +4475,8 @@ export class S3 extends S3Client { * response can contain valid or invalid XML. Be sure to design your application to parse the * contents of the response and handle it appropriately.

                                                                                                                                                            * - *

                                                                                                                                                            This API has been revised. We recommend that you use the newer version, ListObjectsV2, when developing applications. For backward compatibility, Amazon S3 continues to support ListObjects.

                                                                                                                                                            + *

                                                                                                                                                            This API has been revised. We recommend that you use the newer version, ListObjectsV2, when developing applications. For backward compatibility, + * Amazon S3 continues to support ListObjects.

                                                                                                                                                            *
                                                                                                                                                            * * @@ -4029,13 +4533,22 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                            Returns some or all (up to 1,000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. A 200 OK response can contain valid or invalid XML. Make sure to design your application to parse the contents of the response and handle it appropriately.

                                                                                                                                                            + *

                                                                                                                                                            Returns some or all (up to 1,000) of the objects in a bucket. You can use the request + * parameters as selection criteria to return a subset of the objects in a bucket. A 200 + * OK response can contain valid or invalid XML. Make sure to design your + * application to parse the contents of the response and handle it appropriately.

                                                                                                                                                            * *

                                                                                                                                                            To use this operation, you must have READ access to the bucket.

                                                                                                                                                            * - *

                                                                                                                                                            To use this operation in an AWS Identity and Access Management (IAM) policy, you must have permissions to perform the s3:ListBucket action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                            + *

                                                                                                                                                            To use this operation in an AWS Identity and Access Management (IAM) policy, you must + * have permissions to perform the s3:ListBucket action. The bucket owner has + * this permission by default and can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                            * - *

                                                                                                                                                            This section describes the latest revision of the API. We recommend that you use this revised API for application development. For backward compatibility, Amazon S3 continues to support the prior version of this API, ListObjects.

                                                                                                                                                            + *

                                                                                                                                                            This section describes the latest revision of the API. We recommend that you use this + * revised API for application development. For backward compatibility, Amazon S3 continues to + * support the prior version of this API, ListObjects.

                                                                                                                                                            *
                                                                                                                                                            * *

                                                                                                                                                            To get a list of your buckets, see ListBuckets.

                                                                                                                                                            @@ -4093,11 +4606,13 @@ export class S3 extends S3Client { * parameters as selection criteria to return metadata about a subset of all the object * versions.

                                                                                                                                                            * - *

                                                                                                                                                            A 200 OK response can contain valid or invalid XML. Make sure to design your application to parse the contents of the response and handle it appropriately.

                                                                                                                                                            + *

                                                                                                                                                            A 200 OK response can contain valid or invalid XML. Make sure to design your + * application to parse the contents of the response and handle it appropriately.

                                                                                                                                                            *
                                                                                                                                                            *

                                                                                                                                                            To use this operation, you must have READ access to the bucket.

                                                                                                                                                            *

                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                            - *

                                                                                                                                                            The following operations are related to ListObjectVersions:

                                                                                                                                                            + *

                                                                                                                                                            The following operations are related to + * ListObjectVersions:

                                                                                                                                                            *
                                                                                                                                                              *
                                                                                                                                                            • *

                                                                                                                                                              @@ -4151,11 +4666,22 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                              Lists the parts that have been uploaded for a specific multipart upload. This operation must include the upload ID, which you obtain by sending the initiate multipart upload request (see CreateMultipartUpload). This request returns a maximum of 1,000 uploaded parts. The default number of parts returned is 1,000 parts. You can restrict the number of parts returned by specifying the max-parts request parameter. If your multipart upload consists of more than 1,000 parts, the response returns an IsTruncated field with the value of true, and a NextPartNumberMarker element. In subsequent ListParts requests you can include the part-number-marker query string parameter and set its value to the NextPartNumberMarker field value from the previous response.

                                                                                                                                                              - * - *

                                                                                                                                                              For more information on multipart uploads, see Uploading Objects Using Multipart Upload.

                                                                                                                                                              - * - *

                                                                                                                                                              For information on permissions required to use the multipart upload API, see Multipart Upload API and Permissions.

                                                                                                                                                              + *

                                                                                                                                                              Lists the parts that have been uploaded for a specific multipart upload. This operation + * must include the upload ID, which you obtain by sending the initiate multipart upload + * request (see CreateMultipartUpload). + * This request returns a maximum of 1,000 uploaded parts. The default number of parts + * returned is 1,000 parts. You can restrict the number of parts returned by specifying the + * max-parts request parameter. If your multipart upload consists of more than + * 1,000 parts, the response returns an IsTruncated field with the value of true, + * and a NextPartNumberMarker element. In subsequent ListParts + * requests you can include the part-number-marker query string parameter and set its value to + * the NextPartNumberMarker field value from the previous response.

                                                                                                                                                              + * + *

                                                                                                                                                              For more information on multipart uploads, see Uploading Objects Using Multipart + * Upload.

                                                                                                                                                              + * + *

                                                                                                                                                              For information on permissions required to use the multipart upload API, see Multipart Upload API and + * Permissions.

                                                                                                                                                              * *

                                                                                                                                                              The following operations are related to ListParts:

                                                                                                                                                              *
                                                                                                                                                                @@ -4210,30 +4736,40 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                Sets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a bucket-level feature that enables you to perform faster data transfers to Amazon S3.

                                                                                                                                                                + *

                                                                                                                                                                Sets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a + * bucket-level feature that enables you to perform faster data transfers to Amazon S3.

                                                                                                                                                                * - *

                                                                                                                                                                To use this operation, you must have permission to perform the s3:PutAccelerateConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                                + *

                                                                                                                                                                To use this operation, you must have permission to perform the + * s3:PutAccelerateConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, + * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                                * - *

                                                                                                                                                                The Transfer Acceleration state of a bucket can be set to one of the following two values:

                                                                                                                                                                + *

                                                                                                                                                                The Transfer Acceleration state of a bucket can be set to one of the following two + * values:

                                                                                                                                                                *
                                                                                                                                                                  *
                                                                                                                                                                • *

                                                                                                                                                                  Enabled – Enables accelerated data transfers to the bucket.

                                                                                                                                                                  *
                                                                                                                                                                • *
                                                                                                                                                                • - *

                                                                                                                                                                  Suspended – Disables accelerated data transfers to the bucket.

                                                                                                                                                                  + *

                                                                                                                                                                  Suspended – Disables accelerated data transfers to the bucket.

                                                                                                                                                                  *
                                                                                                                                                                • *
                                                                                                                                                                * * - *

                                                                                                                                                                The GetBucketAccelerateConfiguration operation returns the transfer acceleration state of a bucket.

                                                                                                                                                                + *

                                                                                                                                                                The GetBucketAccelerateConfiguration operation returns the transfer acceleration + * state of a bucket.

                                                                                                                                                                * - *

                                                                                                                                                                After setting the Transfer Acceleration state of a bucket to Enabled, it might take up to thirty minutes before the data transfer rates to the bucket increase.

                                                                                                                                                                + *

                                                                                                                                                                After setting the Transfer Acceleration state of a bucket to Enabled, it might take up + * to thirty minutes before the data transfer rates to the bucket increase.

                                                                                                                                                                * - *

                                                                                                                                                                The name of the bucket used for Transfer Acceleration must be DNS-compliant and must not contain periods (".").

                                                                                                                                                                + *

                                                                                                                                                                The name of the bucket used for Transfer Acceleration must be DNS-compliant and must + * not contain periods (".").

                                                                                                                                                                * *

                                                                                                                                                                For more information about transfer acceleration, see Transfer Acceleration.

                                                                                                                                                                * - *

                                                                                                                                                                The following operations are related to PutBucketAccelerateConfiguration:

                                                                                                                                                                + *

                                                                                                                                                                The following operations are related to + * PutBucketAccelerateConfiguration:

                                                                                                                                                                *
                                                                                                                                                                  *
                                                                                                                                                                • *

                                                                                                                                                                  @@ -4278,9 +4814,8 @@ export class S3 extends S3Client { /** *

                                                                                                                                                                  Sets the permissions on an existing bucket using access control lists (ACL). For more - * information, see Using - * ACLs. To set the ACL of a bucket, you must have WRITE_ACP - * permission.

                                                                                                                                                                  + * information, see Using ACLs. To set + * the ACL of a bucket, you must have WRITE_ACP permission.

                                                                                                                                                                  * *

                                                                                                                                                                  You can use one of the following two ways to set a bucket's permissions:

                                                                                                                                                                  *
                                                                                                                                                                    @@ -4293,47 +4828,54 @@ export class S3 extends S3Client { *
                                                                                                                                                                  * * - *

                                                                                                                                                                  You cannot specify access permission using both the body and the request headers.

                                                                                                                                                                  + *

                                                                                                                                                                  You cannot specify access permission using both the body and the request + * headers.

                                                                                                                                                                  *
                                                                                                                                                                  * - *

                                                                                                                                                                  Depending on your application needs, you may choose to set the ACL on a bucket using either the request body or the headers. For example, if you have an existing application that updates a bucket ACL using the request body, then you can continue to use that approach.

                                                                                                                                                                  + *

                                                                                                                                                                  Depending on your application needs, you may choose to set the ACL on a bucket using + * either the request body or the headers. For example, if you have an existing application + * that updates a bucket ACL using the request body, then you can continue to use that + * approach.

                                                                                                                                                                  * * *

                                                                                                                                                                  * Access Permissions *

                                                                                                                                                                  - *

                                                                                                                                                                  You can set access permissions using one of the following methods:

                                                                                                                                                                  - *
                                                                                                                                                                    + *

                                                                                                                                                                    You can set access permissions using one of the following methods:

                                                                                                                                                                    + *
                                                                                                                                                                      *
                                                                                                                                                                    • - *

                                                                                                                                                                      Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports a set - * of predefined ACLs, known as canned ACLs. Each canned ACL has a - * predefined set of grantees and permissions. Specify the canned ACL name as the value - * of x-amz-acl. If you use this header, you cannot use other access + *

                                                                                                                                                                      Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports + * a set of predefined ACLs, known as canned ACLs. Each canned ACL + * has a predefined set of grantees and permissions. Specify the canned ACL name as the + * value of x-amz-acl. If you use this header, you cannot use other access * control-specific headers in your request. For more information, see Canned ACL.

                                                                                                                                                                      *
                                                                                                                                                                    • *
                                                                                                                                                                    • *

                                                                                                                                                                      Specify access permissions explicitly with the x-amz-grant-read, * x-amz-grant-read-acp, x-amz-grant-write-acp, and * x-amz-grant-full-control headers. When using these headers, you - * specify explicit access permissions and grantees (AWS accounts or Amazon S3 groups) - * who will receive the permission. If you use these ACL-specific headers, you cannot - * use the x-amz-acl header to set a canned ACL. These parameters map to - * the set of permissions that Amazon S3 supports in an ACL. For more information, see - * Access Control List (ACL) Overview.

                                                                                                                                                                      - *

                                                                                                                                                                      You specify each grantee as a type=value pair, where the type is one of the following:

                                                                                                                                                                      - *
                                                                                                                                                                        + * specify explicit access permissions and grantees (AWS accounts or Amazon S3 groups) who + * will receive the permission. If you use these ACL-specific headers, you cannot use + * the x-amz-acl header to set a canned ACL. These parameters map to the + * set of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL) + * Overview.

                                                                                                                                                                        + *

                                                                                                                                                                        You specify each grantee as a type=value pair, where the type is one of the + * following:

                                                                                                                                                                        + *
                                                                                                                                                                          *
                                                                                                                                                                        • *

                                                                                                                                                                          - * id – if the value specified is the canonical user ID of an AWS account

                                                                                                                                                                          + * id – if the value specified is the canonical user ID of an AWS + * account

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • *

                                                                                                                                                                          - * uri – if you are granting permissions to a predefined group

                                                                                                                                                                          + * uri – if you are granting permissions to a predefined + * group

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • *

                                                                                                                                                                          - * emailAddress – if the value specified is the email address of an AWS - * account

                                                                                                                                                                          + * emailAddress – if the value specified is the email address of + * an AWS account

                                                                                                                                                                          * *

                                                                                                                                                                          Using email addresses to specify a grantee is only supported in the following AWS Regions:

                                                                                                                                                                          *
                                                                                                                                                                            @@ -4366,43 +4908,48 @@ export class S3 extends S3Client { * * *
                                                                                                                                                                          - *

                                                                                                                                                                          For example, the following x-amz-grant-write header grants - * create, overwrite, and delete objects permission to LogDelivery group predefined by - * Amazon S3 and two AWS accounts identified by their email addresses.

                                                                                                                                                                          - *

                                                                                                                                                                          - * x-amz-grant-write: uri="http://acs.amazonaws.com/groups/s3/LogDelivery", id="111122223333", id="555566667777" - * + *

                                                                                                                                                                          For example, the following x-amz-grant-write header grants create, + * overwrite, and delete objects permission to LogDelivery group predefined by Amazon S3 and + * two AWS accounts identified by their email addresses.

                                                                                                                                                                          + *

                                                                                                                                                                          + * x-amz-grant-write: uri="http://acs.amazonaws.com/groups/s3/LogDelivery", + * id="111122223333", id="555566667777" *

                                                                                                                                                                          * - *
                                                                                                                                                                        • + * *
                                                                                                                                                                        - *

                                                                                                                                                                        You can use either a canned ACL or specify access permissions explicitly. You cannot do both.

                                                                                                                                                                        + *

                                                                                                                                                                        You can use either a canned ACL or specify access permissions explicitly. You cannot do + * both.

                                                                                                                                                                        *

                                                                                                                                                                        * Grantee Values *

                                                                                                                                                                        - *

                                                                                                                                                                        You can specify the person (grantee) to whom you're assigning access rights (using request elements) in the following ways:

                                                                                                                                                                        + *

                                                                                                                                                                        You can specify the person (grantee) to whom you're assigning access rights (using + * request elements) in the following ways:

                                                                                                                                                                        *
                                                                                                                                                                          *
                                                                                                                                                                        • *

                                                                                                                                                                          By the person's ID:

                                                                                                                                                                          *

                                                                                                                                                                          - * <>ID<><>GranteesEmail<> - * + * <>ID<><>GranteesEmail<> + * *

                                                                                                                                                                          *

                                                                                                                                                                          DisplayName is optional and ignored in the request

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • *

                                                                                                                                                                          By URI:

                                                                                                                                                                          *

                                                                                                                                                                          - * <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> + * <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> *

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • *

                                                                                                                                                                          By Email address:

                                                                                                                                                                          *

                                                                                                                                                                          - * <>Grantees@email.com<>lt;/Grantee> + * <>Grantees@email.com<>lt;/Grantee> *

                                                                                                                                                                          - *

                                                                                                                                                                          The grantee is resolved to the CanonicalUser and, in a response to a GET Object acl request, appears as the CanonicalUser. - *

                                                                                                                                                                          + *

                                                                                                                                                                          The grantee is resolved to the CanonicalUser and, in a response to a GET Object + * acl request, appears as the CanonicalUser.

                                                                                                                                                                          * *

                                                                                                                                                                          Using email addresses to specify a grantee is only supported in the following AWS Regions:

                                                                                                                                                                          *
                                                                                                                                                                            @@ -4485,7 +5032,8 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                            Sets an analytics configuration for the bucket (specified by the analytics configuration ID). You can have up to 1,000 analytics configurations per bucket.

                                                                                                                                                                            + *

                                                                                                                                                                            Sets an analytics configuration for the bucket (specified by the analytics configuration + * ID). You can have up to 1,000 analytics configurations per bucket.

                                                                                                                                                                            * *

                                                                                                                                                                            You can choose to have storage class analysis export analysis reports sent to a * comma-separated values (CSV) flat file. See the DataExport request element. @@ -4493,13 +5041,20 @@ export class S3 extends S3Client { * selecting data export, you specify a destination bucket and an optional destination prefix * where the file is written. You can export the data to a destination bucket in a different * account. However, the destination bucket must be in the same Region as the bucket that you - * are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class Analysis.

                                                                                                                                                                            + * are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class + * Analysis.

                                                                                                                                                                            * * - *

                                                                                                                                                                            You must create a bucket policy on the destination bucket where the exported file is written to grant permissions to Amazon S3 to write objects to the bucket. For an example policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.

                                                                                                                                                                            + *

                                                                                                                                                                            You must create a bucket policy on the destination bucket where the exported file is + * written to grant permissions to Amazon S3 to write objects to the bucket. For an example + * policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.

                                                                                                                                                                            *
                                                                                                                                                                            * - *

                                                                                                                                                                            To use this operation, you must have permissions to perform the s3:PutAnalyticsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                                            + *

                                                                                                                                                                            To use this operation, you must have permissions to perform the + * s3:PutAnalyticsConfiguration action. The bucket owner has this permission + * by default. The bucket owner can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                                            * * *

                                                                                                                                                                            @@ -4539,7 +5094,8 @@ export class S3 extends S3Client { * *

                                                                                                                                                                          • *

                                                                                                                                                                            - * Cause: You are attempting to create a new configuration but have already reached the 1,000-configuration limit. + * Cause: You are attempting to create a new configuration but have + * already reached the 1,000-configuration limit. *

                                                                                                                                                                            *
                                                                                                                                                                          • *
                                                                                                                                                                          @@ -4558,7 +5114,9 @@ export class S3 extends S3Client { *
                                                                                                                                                                        • *
                                                                                                                                                                        • *

                                                                                                                                                                          - * Cause: You are not the owner of the specified bucket, or you do not have the s3:PutAnalyticsConfiguration bucket permission to set the configuration on the bucket. + * Cause: You are not the owner of the specified bucket, or you do + * not have the s3:PutAnalyticsConfiguration bucket permission to set the + * configuration on the bucket. *

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        @@ -4621,22 +5179,26 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                        Sets the cors configuration for your bucket. If the configuration exists, Amazon S3 replaces it.

                                                                                                                                                                        - *

                                                                                                                                                                        To use this operation, you must be allowed to perform the s3:PutBucketCORS action. - * By default, the bucket owner has this permission and can grant it to others.

                                                                                                                                                                        - *

                                                                                                                                                                        You set this configuration on a bucket so that the bucket can service cross-origin requests. - * For example, you might want to enable a request whose origin is http://www.example.com to access your - * Amazon S3 bucket at my.example.bucket.com by using the browser's XMLHttpRequest capability.

                                                                                                                                                                        - *

                                                                                                                                                                        To enable cross-origin resource sharing (CORS) on a bucket, you add the cors subresource to the bucket. - * The cors subresource is an XML document in which you configure rules that identify origins and the HTTP - * methods that can be executed on your bucket. The document is limited to 64 KB in size.

                                                                                                                                                                        + *

                                                                                                                                                                        Sets the cors configuration for your bucket. If the configuration exists, + * Amazon S3 replaces it.

                                                                                                                                                                        + *

                                                                                                                                                                        To use this operation, you must be allowed to perform the s3:PutBucketCORS + * action. By default, the bucket owner has this permission and can grant it to others.

                                                                                                                                                                        + *

                                                                                                                                                                        You set this configuration on a bucket so that the bucket can service cross-origin + * requests. For example, you might want to enable a request whose origin is + * http://www.example.com to access your Amazon S3 bucket at + * my.example.bucket.com by using the browser's XMLHttpRequest + * capability.

                                                                                                                                                                        + *

                                                                                                                                                                        To enable cross-origin resource sharing (CORS) on a bucket, you add the + * cors subresource to the bucket. The cors subresource is an XML + * document in which you configure rules that identify origins and the HTTP methods that can + * be executed on your bucket. The document is limited to 64 KB in size.

                                                                                                                                                                        *

                                                                                                                                                                        When Amazon S3 receives a cross-origin request (or a pre-flight OPTIONS request) against a - * bucket, it evaluates the cors configuration on the bucket and uses the - * first CORSRule rule that matches the incoming browser request to enable a + * bucket, it evaluates the cors configuration on the bucket and uses the first + * CORSRule rule that matches the incoming browser request to enable a * cross-origin request. For a rule to match, the following conditions must be met:

                                                                                                                                                                        *
                                                                                                                                                                          *
                                                                                                                                                                        • - *

                                                                                                                                                                          The request's Origin header must match AllowedOrigin + *

                                                                                                                                                                          The request's Origin header must match AllowedOrigin * elements.

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • @@ -4646,12 +5208,13 @@ export class S3 extends S3Client { * elements.

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • - *

                                                                                                                                                                          Every header specified in the Access-Control-Request-Headers request header of a - * pre-flight request must match an AllowedHeader element.

                                                                                                                                                                          + *

                                                                                                                                                                          Every header specified in the Access-Control-Request-Headers request + * header of a pre-flight request must match an AllowedHeader element. + *

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        *

                                                                                                                                                                        For more information about CORS, go to Enabling - * Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                        + * Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                        * *

                                                                                                                                                                        * Related Resources @@ -4704,22 +5267,22 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                        This implementation of the PUT operation uses the encryption subresource to set the default encryption - * state of an existing bucket.

                                                                                                                                                                        + *

                                                                                                                                                                        This implementation of the PUT operation uses the encryption + * subresource to set the default encryption state of an existing bucket.

                                                                                                                                                                        *

                                                                                                                                                                        This implementation of the PUT operation sets default encryption for a * bucket using server-side encryption with Amazon S3-managed keys SSE-S3 or AWS KMS customer - * master keys (CMKs) (SSE-KMS). For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.

                                                                                                                                                                        + * master keys (CMKs) (SSE-KMS). For information about the Amazon S3 default encryption feature, + * see Amazon S3 Default Bucket + * Encryption.

                                                                                                                                                                        * - *

                                                                                                                                                                        This operation requires AWS Signature Version 4. For more information, see - * Authenticating Requests (AWS Signature Version 4). - *

                                                                                                                                                                        + *

                                                                                                                                                                        This operation requires AWS Signature Version 4. For more information, see Authenticating Requests (AWS Signature + * Version 4).

                                                                                                                                                                        *
                                                                                                                                                                        - *

                                                                                                                                                                        To use this operation, you must have permissions to perform the s3:PutEncryptionConfiguration action. - * The bucket owner has this permission by default. The bucket owner can grant this permission to others. - * For more information about permissions, see - * Permissions Related to Bucket Subresource Operations - * and Managing Access Permissions to Your Amazon S3 Resources in the Amazon Simple Storage Service Developer Guide. - *

                                                                                                                                                                        + *

                                                                                                                                                                        To use this operation, you must have permissions to perform the + * s3:PutEncryptionConfiguration action. The bucket owner has this permission + * by default. The bucket owner can grant this permission to others. For more information + * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                        * *

                                                                                                                                                                        * Related Resources @@ -4767,81 +5330,141 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                        This implementation of the PUT operation adds an inventory configuration (identified - * by the inventory ID) to the bucket. You can have up to 1,000 inventory configurations per bucket. - *

                                                                                                                                                                        - *

                                                                                                                                                                        Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly basis, and the results are published - * to a flat file. The bucket that is inventoried is called the source bucket, and the bucket where the - * inventory flat file is stored is called the destination bucket. The destination bucket must be in the same - * AWS Region as the source bucket.

                                                                                                                                                                        - *

                                                                                                                                                                        When you configure an inventory for a source bucket, you specify the destination bucket - * where you want the inventory to be stored, and whether to generate the inventory daily or weekly. You can also configure what object - * metadata to include and whether to inventory all object versions or only current versions. For more information, see - * Amazon S3 Inventory in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                        + *

                                                                                                                                                                        Puts a S3 Intelligent-Tiering configuration to the specified bucket.

                                                                                                                                                                        + *

                                                                                                                                                                        The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. S3 Intelligent-Tiering delivers automatic cost savings by moving data between access tiers, when access patterns change.

                                                                                                                                                                        + *

                                                                                                                                                                        The S3 Intelligent-Tiering storage class is suitable for objects larger than 128 KB that you plan to store for at least 30 days. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the frequent access tier rates in the S3 Intelligent-Tiering storage class.

                                                                                                                                                                        + *

                                                                                                                                                                        If you delete an object before the end of the 30-day minimum storage duration period, you are charged for 30 days. For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

                                                                                                                                                                        + *

                                                                                                                                                                        Operations related to + * PutBucketIntelligentTieringConfiguration include:

                                                                                                                                                                        + * + */ + public putBucketIntelligentTieringConfiguration( + args: PutBucketIntelligentTieringConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public putBucketIntelligentTieringConfiguration( + args: PutBucketIntelligentTieringConfigurationCommandInput, + cb: (err: any, data?: PutBucketIntelligentTieringConfigurationCommandOutput) => void + ): void; + public putBucketIntelligentTieringConfiguration( + args: PutBucketIntelligentTieringConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketIntelligentTieringConfigurationCommandOutput) => void + ): void; + public putBucketIntelligentTieringConfiguration( + args: PutBucketIntelligentTieringConfigurationCommandInput, + optionsOrCb?: + | __HttpHandlerOptions + | ((err: any, data?: PutBucketIntelligentTieringConfigurationCommandOutput) => void), + cb?: (err: any, data?: PutBucketIntelligentTieringConfigurationCommandOutput) => void + ): Promise | void { + const command = new PutBucketIntelligentTieringConfigurationCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                                                                                                                                                        This implementation of the PUT operation adds an inventory configuration + * (identified by the inventory ID) to the bucket. You can have up to 1,000 inventory + * configurations per bucket.

                                                                                                                                                                        + *

                                                                                                                                                                        Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly + * basis, and the results are published to a flat file. The bucket that is inventoried is + * called the source bucket, and the bucket where the inventory flat file + * is stored is called the destination bucket. The + * destination bucket must be in the same AWS Region as the + * source bucket.

                                                                                                                                                                        + *

                                                                                                                                                                        When you configure an inventory for a source bucket, you specify + * the destination bucket where you want the inventory to be stored, and + * whether to generate the inventory daily or weekly. You can also configure what object + * metadata to include and whether to inventory all object versions or only current versions. + * For more information, see Amazon S3 + * Inventory in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                        * - *

                                                                                                                                                                        You must create a bucket policy on the destination bucket to grant - * permissions to Amazon S3 to write objects to the bucket in the defined location. For an + *

                                                                                                                                                                        You must create a bucket policy on the destination bucket to + * grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an * example policy, see * Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.

                                                                                                                                                                        *
                                                                                                                                                                        - *

                                                                                                                                                                        To use this operation, you must have permissions to perform the s3:PutInventoryConfiguration action. The bucket - * owner has this permission by default and can grant this permission to others. For more information about permissions, see - * Permissions Related to - * Bucket Subresource Operations and Managing Access Permissions to Your - * Amazon S3 Resources in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                        + *

                                                                                                                                                                        To use this operation, you must have permissions to perform the + * s3:PutInventoryConfiguration action. The bucket owner has this permission + * by default and can grant this permission to others. For more information about permissions, + * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                        * *

                                                                                                                                                                        * Special Errors *

                                                                                                                                                                        *
                                                                                                                                                                          *
                                                                                                                                                                        • - *

                                                                                                                                                                          + *

                                                                                                                                                                          * HTTP 400 Bad Request Error *

                                                                                                                                                                          *
                                                                                                                                                                            *
                                                                                                                                                                          • - *

                                                                                                                                                                            + *

                                                                                                                                                                            * Code: InvalidArgument

                                                                                                                                                                            - *
                                                                                                                                                                          • + * *
                                                                                                                                                                          • - *

                                                                                                                                                                            + *

                                                                                                                                                                            * Cause: Invalid Argument

                                                                                                                                                                            - *
                                                                                                                                                                          • + * *
                                                                                                                                                                          - *
                                                                                                                                                                        • + * *
                                                                                                                                                                        • - *

                                                                                                                                                                          + *

                                                                                                                                                                          * HTTP 400 Bad Request Error *

                                                                                                                                                                          *
                                                                                                                                                                            *
                                                                                                                                                                          • *

                                                                                                                                                                            * Code: TooManyConfigurations

                                                                                                                                                                            - *
                                                                                                                                                                          • + * *
                                                                                                                                                                          • - *

                                                                                                                                                                            - * Cause: You are attempting to create a new configuration but have already reached the 1,000-configuration - * limit.

                                                                                                                                                                            - *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * Cause: You are attempting to create a new configuration + * but have already reached the 1,000-configuration limit.

                                                                                                                                                                            + * *
                                                                                                                                                                          - *
                                                                                                                                                                        • + * *
                                                                                                                                                                        • - *

                                                                                                                                                                          + *

                                                                                                                                                                          * HTTP 403 Forbidden Error *

                                                                                                                                                                          *
                                                                                                                                                                            *
                                                                                                                                                                          • - *

                                                                                                                                                                            + *

                                                                                                                                                                            * Code: AccessDenied

                                                                                                                                                                            - *
                                                                                                                                                                          • + * *
                                                                                                                                                                          • - *

                                                                                                                                                                            + *

                                                                                                                                                                            * Cause: You are not the owner of the specified bucket, * or you do not have the s3:PutInventoryConfiguration bucket * permission to set the configuration on the bucket.

                                                                                                                                                                            - *
                                                                                                                                                                          • + * *
                                                                                                                                                                          - *
                                                                                                                                                                        • + * *
                                                                                                                                                                        * *

                                                                                                                                                                        @@ -4895,31 +5518,46 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                        Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle configuration. For information about lifecycle configuration, see Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                                        + *

                                                                                                                                                                        Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle + * configuration. For information about lifecycle configuration, see Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                                        * * - *

                                                                                                                                                                        Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, or a combination of both. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility. For the related API description, see PutBucketLifecycle.

                                                                                                                                                                        + *

                                                                                                                                                                        Bucket lifecycle configuration now supports specifying a lifecycle rule using an + * object key name prefix, one or more object tags, or a combination of both. Accordingly, + * this section describes the latest API. The previous version of the API supported + * filtering based only on an object key name prefix, which is supported for backward + * compatibility. For the related API description, see PutBucketLifecycle.

                                                                                                                                                                        *
                                                                                                                                                                        * * *

                                                                                                                                                                        * Rules *

                                                                                                                                                                        - *

                                                                                                                                                                        You specify the lifecycle configuration in your request body. The lifecycle configuration is specified as XML consisting of one or more rules. Each rule consists of the following:

                                                                                                                                                                        + *

                                                                                                                                                                        You specify the lifecycle configuration in your request body. The lifecycle + * configuration is specified as XML consisting of one or more rules. Each rule consists of + * the following:

                                                                                                                                                                        * *
                                                                                                                                                                          *
                                                                                                                                                                        • - *

                                                                                                                                                                          Filter identifying a subset of objects to which the rule applies. The filter can be based on a key name prefix, object tags, or a combination of both.

                                                                                                                                                                          + *

                                                                                                                                                                          Filter identifying a subset of objects to which the rule applies. The filter can + * be based on a key name prefix, object tags, or a combination of both.

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • *

                                                                                                                                                                          Status whether the rule is in effect.

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • - *

                                                                                                                                                                          One or more lifecycle transition and expiration actions that you want Amazon S3 to perform on the objects identified by the filter. If the state of your bucket is versioning-enabled or versioning-suspended, you can have many versions of the same object (one current version and zero or more noncurrent versions). Amazon S3 provides predefined actions that you can specify for current and noncurrent object versions.

                                                                                                                                                                          + *

                                                                                                                                                                          One or more lifecycle transition and expiration actions that you want Amazon S3 to + * perform on the objects identified by the filter. If the state of your bucket is + * versioning-enabled or versioning-suspended, you can have many versions of the same + * object (one current version and zero or more noncurrent versions). Amazon S3 provides + * predefined actions that you can specify for current and noncurrent object + * versions.

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        * - *

                                                                                                                                                                        For more information, see Object Lifecycle Management and Lifecycle Configuration Elements.

                                                                                                                                                                        + *

                                                                                                                                                                        For more information, see Object + * Lifecycle Management and Lifecycle Configuration Elements.

                                                                                                                                                                        * * *

                                                                                                                                                                        @@ -4927,9 +5565,16 @@ export class S3 extends S3Client { *

                                                                                                                                                                        * * - *

                                                                                                                                                                        By default, all Amazon S3 resources are private, including buckets, objects, and related subresources (for example, lifecycle configuration and website configuration). Only the resource owner (that is, the AWS account that created it) can access the resource. The resource owner can optionally grant access permissions to others by writing an access policy. For this operation, a user must get the s3:PutLifecycleConfiguration permission.

                                                                                                                                                                        + *

                                                                                                                                                                        By default, all Amazon S3 resources are private, including buckets, objects, and related + * subresources (for example, lifecycle configuration and website configuration). Only the + * resource owner (that is, the AWS account that created it) can access the resource. The + * resource owner can optionally grant access permissions to others by writing an access + * policy. For this operation, a user must get the s3:PutLifecycleConfiguration + * permission.

                                                                                                                                                                        * - *

                                                                                                                                                                        You can also explicitly deny permissions. Explicit deny also supersedes any other permissions. If you want to block users or accounts from removing or deleting objects from your bucket, you must deny them permissions for the following actions:

                                                                                                                                                                        + *

                                                                                                                                                                        You can also explicitly deny permissions. Explicit deny also supersedes any other + * permissions. If you want to block users or accounts from removing or deleting objects from + * your bucket, you must deny them permissions for the following actions:

                                                                                                                                                                        * *
                                                                                                                                                                          *
                                                                                                                                                                        • @@ -4944,13 +5589,15 @@ export class S3 extends S3Client { *
                                                                                                                                                                        * * - *

                                                                                                                                                                        For more information about permissions, see Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                                        + *

                                                                                                                                                                        For more information about permissions, see Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                                        * *

                                                                                                                                                                        The following are related to PutBucketLifecycleConfiguration:

                                                                                                                                                                        *
                                                                                                                                                                          *
                                                                                                                                                                        • *

                                                                                                                                                                          - * Examples of Lifecycle Configuration + * Examples of + * Lifecycle Configuration *

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • @@ -4995,7 +5642,9 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                          Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. All logs are saved to buckets in the same AWS Region as the source bucket. To set the logging status of a bucket, you must be the bucket owner.

                                                                                                                                                                          + *

                                                                                                                                                                          Set the logging parameters for a bucket and to specify permissions for who can view and + * modify the logging parameters. All logs are saved to buckets in the same AWS Region as the + * source bucket. To set the logging status of a bucket, you must be the bucket owner.

                                                                                                                                                                          * *

                                                                                                                                                                          The bucket owner is automatically granted FULL_CONTROL to all logs. You use the * Grantee request element to grant access to other people. The @@ -5005,43 +5654,50 @@ export class S3 extends S3Client { *

                                                                                                                                                                          * Grantee Values *

                                                                                                                                                                          - *

                                                                                                                                                                          You can specify the person (grantee) to whom you're assigning access rights (using request elements) in the following ways:

                                                                                                                                                                          + *

                                                                                                                                                                          You can specify the person (grantee) to whom you're assigning access rights (using + * request elements) in the following ways:

                                                                                                                                                                          * *
                                                                                                                                                                            *
                                                                                                                                                                          • *

                                                                                                                                                                            By the person's ID:

                                                                                                                                                                            *

                                                                                                                                                                            - * <>ID<><>GranteesEmail<> - * + * <>ID<><>GranteesEmail<> + * *

                                                                                                                                                                            *

                                                                                                                                                                            DisplayName is optional and ignored in the request.

                                                                                                                                                                            *
                                                                                                                                                                          • *
                                                                                                                                                                          • *

                                                                                                                                                                            By Email address:

                                                                                                                                                                            *

                                                                                                                                                                            - * <>Grantees@email.com<> + * <>Grantees@email.com<> *

                                                                                                                                                                            - *

                                                                                                                                                                            The grantee is resolved to the CanonicalUser and, in a response to a GET Object acl request, appears as the CanonicalUser.

                                                                                                                                                                            + *

                                                                                                                                                                            The grantee is resolved to the CanonicalUser and, in a response to a GET Object + * acl request, appears as the CanonicalUser.

                                                                                                                                                                            *
                                                                                                                                                                          • *
                                                                                                                                                                          • *

                                                                                                                                                                            By URI:

                                                                                                                                                                            *

                                                                                                                                                                            - * <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> + * <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> *

                                                                                                                                                                            - *
                                                                                                                                                                          • + * *
                                                                                                                                                                          * * - *

                                                                                                                                                                          To enable logging, you use LoggingEnabled and its children request elements. To disable logging, you use an empty BucketLoggingStatus request element:

                                                                                                                                                                          + *

                                                                                                                                                                          To enable logging, you use LoggingEnabled and its children request elements. To disable + * logging, you use an empty BucketLoggingStatus request element:

                                                                                                                                                                          * *

                                                                                                                                                                          - * + * *

                                                                                                                                                                          * *

                                                                                                                                                                          For more information about server access logging, see Server Access Logging.

                                                                                                                                                                          * - *

                                                                                                                                                                          For more information about creating a bucket, see CreateBucket. - * For more information about returning the logging status of a bucket, see GetBucketLogging.

                                                                                                                                                                          + *

                                                                                                                                                                          For more information about creating a bucket, see CreateBucket. For more + * information about returning the logging status of a bucket, see GetBucketLogging.

                                                                                                                                                                          * *

                                                                                                                                                                          The following operations are related to PutBucketLogging:

                                                                                                                                                                          *
                                                                                                                                                                            @@ -5097,17 +5753,22 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                            Sets a metrics configuration (specified by the metrics configuration ID) for the bucket. You can have up to 1,000 metrics configurations per bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased.

                                                                                                                                                                            + *

                                                                                                                                                                            Sets a metrics configuration (specified by the metrics configuration ID) for the bucket. + * You can have up to 1,000 metrics configurations per bucket. If you're updating an existing + * metrics configuration, note that this is a full replacement of the existing metrics + * configuration. If you don't include the elements you want to keep, they are erased.

                                                                                                                                                                            * *

                                                                                                                                                                            To use this operation, you must have permissions to perform the * s3:PutMetricsConfiguration action. The bucket owner has this permission by * default. The bucket owner can grant this permission to others. For more information about - * permissions, see Permissions Related to Bucket Subresource Operations and Managing - * Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                                            + * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                                            * - *

                                                                                                                                                                            For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.

                                                                                                                                                                            + *

                                                                                                                                                                            For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon + * CloudWatch.

                                                                                                                                                                            * - *

                                                                                                                                                                            The following operations are related to PutBucketMetricsConfiguration:

                                                                                                                                                                            + *

                                                                                                                                                                            The following operations are related to + * PutBucketMetricsConfiguration:

                                                                                                                                                                            *
                                                                                                                                                                              *
                                                                                                                                                                            • *

                                                                                                                                                                              @@ -5139,8 +5800,8 @@ export class S3 extends S3Client { *

                                                                                                                                                                              *
                                                                                                                                                                                *
                                                                                                                                                                              • - *

                                                                                                                                                                                Description: You are attempting to create a new configuration but have already reached the - * 1,000-configuration limit.

                                                                                                                                                                                + *

                                                                                                                                                                                Description: You are attempting to create a new configuration but have + * already reached the 1,000-configuration limit.

                                                                                                                                                                                *
                                                                                                                                                                              • *
                                                                                                                                                                              • *

                                                                                                                                                                                HTTP Status Code: HTTP 400 Bad Request

                                                                                                                                                                                @@ -5179,11 +5840,17 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                Enables notifications of specified events for a bucket. For more information about event notifications, see Configuring Event Notifications.

                                                                                                                                                                                + *

                                                                                                                                                                                Enables notifications of specified events for a bucket. For more information about event + * notifications, see Configuring Event + * Notifications.

                                                                                                                                                                                * - *

                                                                                                                                                                                Using this API, you can replace an existing notification configuration. The configuration is an XML file that defines the event types that you want Amazon S3 to publish and the destination where you want Amazon S3 to publish an event notification when it detects an event of the specified type.

                                                                                                                                                                                + *

                                                                                                                                                                                Using this API, you can replace an existing notification configuration. The + * configuration is an XML file that defines the event types that you want Amazon S3 to publish and + * the destination where you want Amazon S3 to publish an event notification when it detects an + * event of the specified type.

                                                                                                                                                                                * - *

                                                                                                                                                                                By default, your bucket has no event notifications configured. That is, the notification configuration will be an empty NotificationConfiguration.

                                                                                                                                                                                + *

                                                                                                                                                                                By default, your bucket has no event notifications configured. That is, the notification + * configuration will be an empty NotificationConfiguration.

                                                                                                                                                                                * *

                                                                                                                                                                                * @@ -5191,16 +5858,30 @@ export class S3 extends S3Client { *

                                                                                                                                                                                * *

                                                                                                                                                                                - *

                                                                                                                                                                                This operation replaces the existing notification configuration with the configuration you include in the request body.

                                                                                                                                                                                + *

                                                                                                                                                                                This operation replaces the existing notification configuration with the configuration + * you include in the request body.

                                                                                                                                                                                * - *

                                                                                                                                                                                After Amazon S3 receives this request, it first verifies that any Amazon Simple Notification Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and that the bucket owner has permission to publish to it by sending a test notification. In the case of AWS Lambda destinations, Amazon S3 verifies that the Lambda function permissions grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information, see Configuring Notifications for Amazon S3 Events.

                                                                                                                                                                                + *

                                                                                                                                                                                After Amazon S3 receives this request, it first verifies that any Amazon Simple Notification + * Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and + * that the bucket owner has permission to publish to it by sending a test notification. In + * the case of AWS Lambda destinations, Amazon S3 verifies that the Lambda function permissions + * grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information, + * see Configuring Notifications for Amazon S3 + * Events.

                                                                                                                                                                                * - *

                                                                                                                                                                                You can disable notifications by adding the empty NotificationConfiguration element.

                                                                                                                                                                                + *

                                                                                                                                                                                You can disable notifications by adding the empty NotificationConfiguration + * element.

                                                                                                                                                                                * - *

                                                                                                                                                                                By default, only the bucket owner can configure notifications on a bucket. However, bucket owners can use a bucket policy to grant permission to other users to set this configuration with s3:PutBucketNotification permission.

                                                                                                                                                                                + *

                                                                                                                                                                                By default, only the bucket owner can configure notifications on a bucket. However, + * bucket owners can use a bucket policy to grant permission to other users to set this + * configuration with s3:PutBucketNotification permission.

                                                                                                                                                                                * * - *

                                                                                                                                                                                The PUT notification is an atomic operation. For example, suppose your notification configuration includes SNS topic, SQS queue, and Lambda function configurations. When you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS topic. If the message fails, the entire PUT operation will fail, and Amazon S3 will not add the configuration to your bucket.

                                                                                                                                                                                + *

                                                                                                                                                                                The PUT notification is an atomic operation. For example, suppose your notification + * configuration includes SNS topic, SQS queue, and Lambda function configurations. When + * you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS + * topic. If the message fails, the entire PUT operation will fail, and Amazon S3 will not add + * the configuration to your bucket.

                                                                                                                                                                                *
                                                                                                                                                                                * *

                                                                                                                                                                                @@ -5253,10 +5934,10 @@ export class S3 extends S3Client { /** *

                                                                                                                                                                                Creates or modifies OwnershipControls for an Amazon S3 bucket. To use this - * operation, you must have the s3:GetBucketOwnershipControls permission. For + * operation, you must have the s3:PutBucketOwnershipControls permission. For * more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

                                                                                                                                                                                *

                                                                                                                                                                                For information about Amazon S3 Object Ownership, see Using Object Ownership.

                                                                                                                                                                                - *

                                                                                                                                                                                The following operations are related to GetBucketOwnershipControls:

                                                                                                                                                                                + *

                                                                                                                                                                                The following operations are related to PutBucketOwnershipControls:

                                                                                                                                                                                *
                                                                                                                                                                                  *
                                                                                                                                                                                • *

                                                                                                                                                                                  @@ -5300,17 +5981,25 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                  Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than the root user of the AWS account that owns the bucket, the calling identity must have the PutBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.

                                                                                                                                                                                  + *

                                                                                                                                                                                  Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than + * the root user of the AWS account that owns the bucket, the calling identity must have the + * PutBucketPolicy permissions on the specified bucket and belong to the + * bucket owner's account in order to use this operation.

                                                                                                                                                                                  * - *

                                                                                                                                                                                  If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error.

                                                                                                                                                                                  + *

                                                                                                                                                                                  If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 + * Access Denied error. If you have the correct permissions, but you're not using an + * identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not + * Allowed error.

                                                                                                                                                                                  * * - *

                                                                                                                                                                                  As a security precaution, the root user of the AWS account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action. - *

                                                                                                                                                                                  + *

                                                                                                                                                                                  As a security precaution, the root user of the AWS account that owns a bucket can + * always use this operation, even if the policy explicitly denies the root user the + * ability to perform this action.

                                                                                                                                                                                  *
                                                                                                                                                                                  * * - *

                                                                                                                                                                                  For more information about bucket policies, see Using Bucket Policies and User Policies.

                                                                                                                                                                                  + *

                                                                                                                                                                                  For more information about bucket policies, see Using Bucket Policies and User + * Policies.

                                                                                                                                                                                  * *

                                                                                                                                                                                  The following operations are related to PutBucketPolicy:

                                                                                                                                                                                  *
                                                                                                                                                                                    @@ -5357,33 +6046,57 @@ export class S3 extends S3Client { /** *

                                                                                                                                                                                    Creates a replication configuration or replaces an existing one. For more information, - * see Replication in the Amazon S3 Developer Guide.

                                                                                                                                                                                    + * see Replication in the Amazon S3 Developer Guide.

                                                                                                                                                                                    * - *

                                                                                                                                                                                    To perform this operation, the user or role performing the operation must have the iam:PassRole permission.

                                                                                                                                                                                    + *

                                                                                                                                                                                    To perform this operation, the user or role performing the operation must have the + * iam:PassRole permission.

                                                                                                                                                                                    *
                                                                                                                                                                                    - *

                                                                                                                                                                                    Specify the replication configuration in the request body. In the replication configuration, you provide the name of the destination bucket where you want Amazon S3 to replicate objects, the IAM role that Amazon S3 can assume to replicate objects on your behalf, and other relevant information.

                                                                                                                                                                                    - * - * - *

                                                                                                                                                                                    A replication configuration must include at least one rule, and can contain a maximum of 1,000. Each rule identifies a subset of objects to replicate by filtering the objects in the source bucket. To choose additional subsets of objects to replicate, add a rule for each subset. All rules must specify the same destination bucket.

                                                                                                                                                                                    - * - *

                                                                                                                                                                                    To specify a subset of the objects in the source bucket to apply a replication rule to, add the Filter element as a child of the Rule element. - * You can filter objects based on an object key prefix, one or more object tags, or both. When you add the Filter element in the configuration, - * you must also add the following elements: DeleteMarkerReplication, Status, and Priority.

                                                                                                                                                                                    + *

                                                                                                                                                                                    Specify the replication configuration in the request body. In the replication + * configuration, you provide the name of the destination bucket where you want Amazon S3 to + * replicate objects, the IAM role that Amazon S3 can assume to replicate objects on your behalf, + * and other relevant information.

                                                                                                                                                                                    + * + * + *

                                                                                                                                                                                    A replication configuration must include at least one rule, and can contain a maximum of + * 1,000. Each rule identifies a subset of objects to replicate by filtering the objects in + * the source bucket. To choose additional subsets of objects to replicate, add a rule for + * each subset. All rules must specify the same destination bucket.

                                                                                                                                                                                    + * + *

                                                                                                                                                                                    To specify a subset of the objects in the source bucket to apply a replication rule to, + * add the Filter element as a child of the Rule element. You can filter objects based on an + * object key prefix, one or more object tags, or both. When you add the Filter element in the + * configuration, you must also add the following elements: + * DeleteMarkerReplication, Status, and + * Priority.

                                                                                                                                                                                    * - *

                                                                                                                                                                                    The latest version of the replication configuration XML is V2. XML V2 replication configurations are those that contain the Filter - * element for rules, and rules that specify S3 Replication Time Control (S3 RTC). In XML V2 replication configurations, Amazon S3 doesn't replicate delete markers. Therefore, you must set the - * DeleteMarkerReplication element to Disabled. For backward compatibility, Amazon S3 continues to support the XML V1 replication configuration.

                                                                                                                                                                                    + *

                                                                                                                                                                                    The latest version of the replication configuration XML is V2. XML V2 replication + * configurations are those that contain the Filter element for rules, and + * rules that specify S3 Replication Time Control (S3 RTC). In XML V2 replication configurations, Amazon S3 doesn't + * replicate delete markers. Therefore, you must set the + * DeleteMarkerReplication element to Disabled. For backward + * compatibility, Amazon S3 continues to support the XML V1 replication configuration.

                                                                                                                                                                                    *
                                                                                                                                                                                    *

                                                                                                                                                                                    For information about enabling versioning on a bucket, see Using Versioning.

                                                                                                                                                                                    * - *

                                                                                                                                                                                    By default, a resource owner, in this case the AWS account that created the bucket, can perform this operation. The resource owner can also grant others permissions to perform the operation. For more information about permissions, see Specifying Permissions in a Policy and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                                                    + *

                                                                                                                                                                                    By default, a resource owner, in this case the AWS account that created the bucket, can + * perform this operation. The resource owner can also grant others permissions to perform the + * operation. For more information about permissions, see Specifying Permissions in a Policy + * and Managing Access Permissions to Your + * Amazon S3 Resources.

                                                                                                                                                                                    * *

                                                                                                                                                                                    * Handling Replication of Encrypted Objects *

                                                                                                                                                                                    - *

                                                                                                                                                                                    By default, Amazon S3 doesn't replicate objects that are stored at rest using server-side encryption with CMKs stored in AWS KMS. To replicate AWS KMS-encrypted objects, add the following: SourceSelectionCriteria, SseKmsEncryptedObjects, Status, EncryptionConfiguration, and ReplicaKmsKeyID. For information about replication configuration, see Replicating Objects Created with SSE Using CMKs stored in AWS KMS.

                                                                                                                                                                                    - * - *

                                                                                                                                                                                    For information on PutBucketReplication errors, see List of replication-related error codes + *

                                                                                                                                                                                    By default, Amazon S3 doesn't replicate objects that are stored at rest using server-side + * encryption with CMKs stored in AWS KMS. To replicate AWS KMS-encrypted objects, add the + * following: SourceSelectionCriteria, SseKmsEncryptedObjects, + * Status, EncryptionConfiguration, and + * ReplicaKmsKeyID. For information about replication configuration, see + * Replicating Objects + * Created with SSE Using CMKs stored in AWS KMS.

                                                                                                                                                                                    + * + *

                                                                                                                                                                                    For information on PutBucketReplication errors, see List of + * replication-related error codes *

                                                                                                                                                                                    * * @@ -5431,7 +6144,11 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                    Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download. For more information, see Requester Pays Buckets.

                                                                                                                                                                                    + *

                                                                                                                                                                                    Sets the request payment configuration for a bucket. By default, the bucket owner pays + * for downloads from the bucket. This configuration parameter enables the bucket owner (only) + * to specify that the person requesting the download will be charged for the download. For + * more information, see Requester Pays + * Buckets.

                                                                                                                                                                                    * *

                                                                                                                                                                                    The following operations are related to PutBucketRequestPayment:

                                                                                                                                                                                    *
                                                                                                                                                                                      @@ -5478,12 +6195,23 @@ export class S3 extends S3Client { /** *

                                                                                                                                                                                      Sets the tags for a bucket.

                                                                                                                                                                                      - *

                                                                                                                                                                                      Use tags to organize your AWS bill to reflect your own cost structure. To do this, sign up to get your AWS account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key values. For example, you can tag several resources with a specific application name, and then organize your billing information to see the total cost of that application across several services. For more information, see Cost Allocation and Tagging.

                                                                                                                                                                                      + *

                                                                                                                                                                                      Use tags to organize your AWS bill to reflect your own cost structure. To do this, sign + * up to get your AWS account bill with tag key values included. Then, to see the cost of + * combined resources, organize your billing information according to resources with the same + * tag key values. For example, you can tag several resources with a specific application + * name, and then organize your billing information to see the total cost of that application + * across several services. For more information, see Cost Allocation + * and Tagging.

                                                                                                                                                                                      * * - *

                                                                                                                                                                                      Within a bucket, if you add a tag that has the same key as an existing tag, the new value overwrites the old value. For more information, see Using Cost Allocation in Amazon S3 Bucket Tags.

                                                                                                                                                                                      + *

                                                                                                                                                                                      Within a bucket, if you add a tag that has the same key as an existing tag, the new + * value overwrites the old value. For more information, see Using Cost Allocation in Amazon S3 Bucket + * Tags.

                                                                                                                                                                                      *
                                                                                                                                                                                      - *

                                                                                                                                                                                      To use this operation, you must have permissions to perform the s3:PutBucketTagging action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

                                                                                                                                                                                      + *

                                                                                                                                                                                      To use this operation, you must have permissions to perform the + * s3:PutBucketTagging action. The bucket owner has this permission by default + * and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

                                                                                                                                                                                      * *

                                                                                                                                                                                      * PutBucketTagging has the following special errors:

                                                                                                                                                                                      @@ -5493,7 +6221,9 @@ export class S3 extends S3Client { *

                                                                                                                                                                                      * * @@ -5511,7 +6241,8 @@ export class S3 extends S3Client { *

                                                                                                                                                                                      *
                                                                                                                                                                                        *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        Description: A conflicting conditional operation is currently in progress against this resource. Please try again.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Description: A conflicting conditional operation is currently in progress + * against this resource. Please try again.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      * @@ -5520,7 +6251,8 @@ export class S3 extends S3Client { *

                                                                                                                                                                                      *
                                                                                                                                                                                        *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        Description: The service was unable to apply the provided tag to the bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Description: The service was unable to apply the provided tag to the + * bucket.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      * @@ -5571,24 +6303,33 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                      Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner.

                                                                                                                                                                                      + *

                                                                                                                                                                                      Sets the versioning state of an existing bucket. To set the versioning state, you must + * be the bucket owner.

                                                                                                                                                                                      *

                                                                                                                                                                                      You can set the versioning state with one of the following values:

                                                                                                                                                                                      * *

                                                                                                                                                                                      - * Enabled—Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID.

                                                                                                                                                                                      + * Enabled—Enables versioning for the objects in the + * bucket. All objects added to the bucket receive a unique version ID.

                                                                                                                                                                                      * *

                                                                                                                                                                                      - * Suspended—Disables versioning for the objects in the bucket. All objects added to the bucket receive the version ID null.

                                                                                                                                                                                      + * Suspended—Disables versioning for the objects in the + * bucket. All objects added to the bucket receive the version ID null.

                                                                                                                                                                                      * - *

                                                                                                                                                                                      If the versioning state has never been set on a bucket, it has no versioning state; a GetBucketVersioning request does not return a versioning state value.

                                                                                                                                                                                      + *

                                                                                                                                                                                      If the versioning state has never been set on a bucket, it has no versioning state; a + * GetBucketVersioning request does not return a versioning state value.

                                                                                                                                                                                      * - *

                                                                                                                                                                                      If the bucket owner enables MFA Delete in the bucket versioning configuration, the bucket - * owner must include the x-amz-mfa request header and the Status - * and the MfaDelete request elements in a request to set the versioning state of - * the bucket.

                                                                                                                                                                                      + *

                                                                                                                                                                                      If the bucket owner enables MFA Delete in the bucket versioning configuration, the + * bucket owner must include the x-amz-mfa request header and the + * Status and the MfaDelete request elements in a request to set + * the versioning state of the bucket.

                                                                                                                                                                                      * * - *

                                                                                                                                                                                      If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletes of the noncurrent object versions in the version-enabled bucket. (A version-enabled bucket maintains one current and zero or more noncurrent object versions.) For more information, see Lifecycle and Versioning.

                                                                                                                                                                                      + *

                                                                                                                                                                                      If you have an object expiration lifecycle policy in your non-versioned bucket and + * you want to maintain the same permanent delete behavior when you enable versioning, you + * must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will + * manage the deletes of the noncurrent object versions in the version-enabled bucket. (A + * version-enabled bucket maintains one current and zero or more noncurrent object + * versions.) For more information, see Lifecycle and Versioning.

                                                                                                                                                                                      *
                                                                                                                                                                                      * *

                                                                                                                                                                                      @@ -5642,11 +6383,19 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                      Sets the configuration of the website that is specified in the website subresource. To configure a bucket as a website, you can add this subresource on the bucket with website configuration information such as the file name of the index document and any redirect rules. For more information, see Hosting Websites on Amazon S3.

                                                                                                                                                                                      - * - *

                                                                                                                                                                                      This PUT operation requires the S3:PutBucketWebsite permission. By default, only the bucket owner can configure the website attached to a bucket; however, bucket owners can allow other users to set the website configuration by writing a bucket policy that grants them the S3:PutBucketWebsite permission.

                                                                                                                                                                                      - * - *

                                                                                                                                                                                      To redirect all website requests sent to the bucket's website endpoint, you add a website configuration with the following elements. Because all requests are sent to another website, you don't need to provide index document name for the bucket.

                                                                                                                                                                                      + *

                                                                                                                                                                                      Sets the configuration of the website that is specified in the website + * subresource. To configure a bucket as a website, you can add this subresource on the bucket + * with website configuration information such as the file name of the index document and any + * redirect rules. For more information, see Hosting Websites on Amazon S3.

                                                                                                                                                                                      + * + *

                                                                                                                                                                                      This PUT operation requires the S3:PutBucketWebsite permission. By default, + * only the bucket owner can configure the website attached to a bucket; however, bucket + * owners can allow other users to set the website configuration by writing a bucket policy + * that grants them the S3:PutBucketWebsite permission.

                                                                                                                                                                                      + * + *

                                                                                                                                                                                      To redirect all website requests sent to the bucket's website endpoint, you add a + * website configuration with the following elements. Because all requests are sent to another + * website, you don't need to provide index document name for the bucket.

                                                                                                                                                                                      *
                                                                                                                                                                                        *
                                                                                                                                                                                      • *

                                                                                                                                                                                        @@ -5670,7 +6419,10 @@ export class S3 extends S3Client { *

                                                                                                                                                                                      • *
                                                                                                                                                                                      * - *

                                                                                                                                                                                      If you want granular control over redirects, you can use the following elements to add routing rules that describe conditions for redirecting requests and information about the redirect destination. In this case, the website configuration must provide an index document for the bucket, because some requests might not be redirected.

                                                                                                                                                                                      + *

                                                                                                                                                                                      If you want granular control over redirects, you can use the following elements to add + * routing rules that describe conditions for redirecting requests and information about the + * redirect destination. In this case, the website configuration must provide an index + * document for the bucket, because some requests might not be redirected.

                                                                                                                                                                                      *
                                                                                                                                                                                        *
                                                                                                                                                                                      • *

                                                                                                                                                                                        @@ -5755,8 +6507,8 @@ export class S3 extends S3Client { *

                                                                                                                                                                                      * *

                                                                                                                                                                                      Amazon S3 has a limitation of 50 routing rules per website configuration. If you require more - * than 50 routing rules, you can use object redirect. For more information, see Configuring an Object Redirect in the - * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      + * than 50 routing rules, you can use object redirect. For more information, see Configuring an + * Object Redirect in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      */ public putBucketWebsite( args: PutBucketWebsiteCommandInput, @@ -5788,30 +6540,42 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                      Adds an object to a bucket. You must have WRITE permissions on a bucket to add an object to it.

                                                                                                                                                                                      + *

                                                                                                                                                                                      Adds an object to a bucket. You must have WRITE permissions on a bucket to add an object + * to it.

                                                                                                                                                                                      * * - *

                                                                                                                                                                                      Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the entire object to the bucket.

                                                                                                                                                                                      + *

                                                                                                                                                                                      Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the + * entire object to the bucket.

                                                                                                                                                                                      * - *

                                                                                                                                                                                      Amazon S3 is a distributed system. If it receives multiple write requests for the same object simultaneously, it overwrites all but the last object written. Amazon S3 does not provide object locking; if you need this, make sure to build it into your application layer or use versioning instead.

                                                                                                                                                                                      + *

                                                                                                                                                                                      Amazon S3 is a distributed system. If it receives multiple write requests for the same object + * simultaneously, it overwrites all but the last object written. Amazon S3 does not provide object + * locking; if you need this, make sure to build it into your application layer or use + * versioning instead.

                                                                                                                                                                                      * - *

                                                                                                                                                                                      To ensure that data is not corrupted traversing the network, use the Content-MD5 header. When you use this header, Amazon S3 checks the object against the provided MD5 value and, if they do not match, returns an error. Additionally, you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to the calculated MD5 value.

                                                                                                                                                                                      + *

                                                                                                                                                                                      To ensure that data is not corrupted traversing the network, use the + * Content-MD5 header. When you use this header, Amazon S3 checks the object + * against the provided MD5 value and, if they do not match, returns an error. Additionally, + * you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to + * the calculated MD5 value.

                                                                                                                                                                                      * - *

                                                                                                                                                                                      - * The Content-MD5 header is required for any request to upload an object with a retention period configured using Amazon S3 Object Lock. For more information about Amazon S3 Object Lock, see Amazon S3 Object Lock Overview in the Amazon Simple Storage Service Developer Guide. - *

                                                                                                                                                                                      + *

                                                                                                                                                                                      The Content-MD5 header is required for any request to upload an object + * with a retention period configured using Amazon S3 Object Lock. For more information about + * Amazon S3 Object Lock, see Amazon S3 Object Lock Overview + * in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      *
                                                                                                                                                                                      * * *

                                                                                                                                                                                      * Server-side Encryption *

                                                                                                                                                                                      - *

                                                                                                                                                                                      You can optionally request server-side encryption. With server-side encryption, Amazon S3 encrypts your data as it writes it to disks in its data centers and decrypts the data - * when you access it. You have the option to provide your own encryption key or use AWS - * managed encryption keys. For more information, see Using Server-Side + *

                                                                                                                                                                                      You can optionally request server-side encryption. With server-side encryption, Amazon S3 + * encrypts your data as it writes it to disks in its data centers and decrypts the data when + * you access it. You have the option to provide your own encryption key or use AWS managed + * encryption keys. For more information, see Using Server-Side * Encryption.

                                                                                                                                                                                      *

                                                                                                                                                                                      - * Access Control List (ACL)-Specific Request Headers + * Access Control List (ACL)-Specific Request + * Headers *

                                                                                                                                                                                      *

                                                                                                                                                                                      You can use headers to grant ACL- based permissions. By default, all objects are * private. Only the owner has full access control. When adding a new object, you can grant @@ -5823,21 +6587,20 @@ export class S3 extends S3Client { *

                                                                                                                                                                                      * Storage Class Options *

                                                                                                                                                                                      - *

                                                                                                                                                                                      By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. - * The STANDARD storage class provides high durability and high availability. Depending on - * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only - * uses the OUTPOSTS Storage Class. For more information, see - * Storage Classes in the - * Amazon S3 Service Developer Guide.

                                                                                                                                                                                      + *

                                                                                                                                                                                      By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The + * STANDARD storage class provides high durability and high availability. Depending on + * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses + * the OUTPOSTS Storage Class. For more information, see Storage Classes in the Amazon S3 + * Service Developer Guide.

                                                                                                                                                                                      * * *

                                                                                                                                                                                      * Versioning *

                                                                                                                                                                                      - *

                                                                                                                                                                                      If you enable versioning for a bucket, Amazon S3 automatically generates a unique - * version ID for the object being stored. Amazon S3 returns this ID in the response. When you - * enable versioning for a bucket, if Amazon S3 receives multiple write requests for the - * same object simultaneously, it stores all of the objects.

                                                                                                                                                                                      + *

                                                                                                                                                                                      If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID + * for the object being stored. Amazon S3 returns this ID in the response. When you enable + * versioning for a bucket, if Amazon S3 receives multiple write requests for the same object + * simultaneously, it stores all of the objects.

                                                                                                                                                                                      *

                                                                                                                                                                                      For more information about versioning, see Adding Objects to * Versioning Enabled Buckets. For information about returning the versioning state * of a bucket, see GetBucketVersioning.

                                                                                                                                                                                      @@ -5883,14 +6646,16 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                      Uses the acl subresource to set the access control list (ACL) permissions for a new or existing object in an S3 bucket. You must have WRITE_ACP permission to - * set the ACL of an object. For more information, see What permissions can I grant? in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      + *

                                                                                                                                                                                      Uses the acl subresource to set the access control list (ACL) permissions + * for a new or existing object in an S3 bucket. You must have WRITE_ACP + * permission to set the ACL of an object. For more information, see What + * permissions can I grant? in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      *

                                                                                                                                                                                      This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                      - *

                                                                                                                                                                                      Depending on your application needs, you can choose to set the ACL on an object using - * either the request body or the headers. For example, if you have an existing application - * that updates a bucket ACL using the request body, you can continue to use that - * approach. For more information, see - * Access Control List (ACL) Overview in the Amazon S3 Developer Guide.

                                                                                                                                                                                      + *

                                                                                                                                                                                      Depending on your application needs, you can choose to set + * the ACL on an object using either the request body or the headers. For example, if you have + * an existing application that updates a bucket ACL using the request body, you can continue + * to use that approach. For more information, see Access Control List (ACL) Overview in the Amazon S3 Developer + * Guide.

                                                                                                                                                                                      * * * @@ -5900,9 +6665,9 @@ export class S3 extends S3Client { *

                                                                                                                                                                                      You can set access permissions using one of the following methods:

                                                                                                                                                                                      *
                                                                                                                                                                                        *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports a set - * of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set of - * grantees and permissions. Specify the canned ACL name as the value of + *

                                                                                                                                                                                        Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports + * a set of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set + * of grantees and permissions. Specify the canned ACL name as the value of * x-amz-acl. If you use this header, you cannot use other access * control-specific headers in your request. For more information, see Canned ACL.

                                                                                                                                                                                        *
                                                                                                                                                                                      • @@ -5910,27 +6675,29 @@ export class S3 extends S3Client { *

                                                                                                                                                                                        Specify access permissions explicitly with the x-amz-grant-read, * x-amz-grant-read-acp, x-amz-grant-write-acp, and * x-amz-grant-full-control headers. When using these headers, you - * specify explicit access permissions and grantees (AWS accounts or Amazon S3 groups) - * who will receive the permission. If you use these ACL-specific headers, you cannot - * use x-amz-acl header to set a canned ACL. These parameters map to the - * - * set of permissions that Amazon S3 supports in an ACL. For more information, see - * Access Control List (ACL) Overview.

                                                                                                                                                                                        - * - *

                                                                                                                                                                                        You specify each grantee as a type=value pair, where the type is one of the following:

                                                                                                                                                                                        + * specify explicit access permissions and grantees (AWS accounts or Amazon S3 groups) who + * will receive the permission. If you use these ACL-specific headers, you cannot use + * x-amz-acl header to set a canned ACL. These parameters map to the set + * of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL) + * Overview.

                                                                                                                                                                                        + * + *

                                                                                                                                                                                        You specify each grantee as a type=value pair, where the type is one of the + * following:

                                                                                                                                                                                        *
                                                                                                                                                                                          *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * id – if the value specified is the canonical user ID of an AWS account

                                                                                                                                                                                          + * id – if the value specified is the canonical user ID of an AWS + * account

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * uri – if you are granting permissions to a predefined group

                                                                                                                                                                                          + * uri – if you are granting permissions to a predefined + * group

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * emailAddress – if the value specified is the email address of an AWS - * account

                                                                                                                                                                                          + * emailAddress – if the value specified is the email address of + * an AWS account

                                                                                                                                                                                          * *

                                                                                                                                                                                          Using email addresses to specify a grantee is only supported in the following AWS Regions:

                                                                                                                                                                                          *
                                                                                                                                                                                            @@ -5967,38 +6734,44 @@ export class S3 extends S3Client { * objects permission to the two AWS accounts identified by their email * addresses.

                                                                                                                                                                                            *

                                                                                                                                                                                            - * x-amz-grant-read: emailAddress="xyz@amazon.com", emailAddress="abc@amazon.com" - * + * x-amz-grant-read: emailAddress="xyz@amazon.com", + * emailAddress="abc@amazon.com" *

                                                                                                                                                                                            * * *
                                                                                                                                                                                          - *

                                                                                                                                                                                          You can use either a canned ACL or specify access permissions explicitly. You cannot do both.

                                                                                                                                                                                          + *

                                                                                                                                                                                          You can use either a canned ACL or specify access permissions explicitly. You cannot do + * both.

                                                                                                                                                                                          *

                                                                                                                                                                                          * Grantee Values *

                                                                                                                                                                                          - *

                                                                                                                                                                                          You can specify the person (grantee) to whom you're assigning access rights (using request elements) in the following ways:

                                                                                                                                                                                          + *

                                                                                                                                                                                          You can specify the person (grantee) to whom you're assigning access rights (using + * request elements) in the following ways:

                                                                                                                                                                                          *
                                                                                                                                                                                            *
                                                                                                                                                                                          • *

                                                                                                                                                                                            By the person's ID:

                                                                                                                                                                                            *

                                                                                                                                                                                            - * <>ID<><>GranteesEmail<> - * + * <>ID<><>GranteesEmail<> + * *

                                                                                                                                                                                            *

                                                                                                                                                                                            DisplayName is optional and ignored in the request.

                                                                                                                                                                                            *
                                                                                                                                                                                          • *
                                                                                                                                                                                          • *

                                                                                                                                                                                            By URI:

                                                                                                                                                                                            *

                                                                                                                                                                                            - * <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> + * <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> *

                                                                                                                                                                                            *
                                                                                                                                                                                          • *
                                                                                                                                                                                          • *

                                                                                                                                                                                            By Email address:

                                                                                                                                                                                            *

                                                                                                                                                                                            - * <>Grantees@email.com<>lt;/Grantee> + * <>Grantees@email.com<>lt;/Grantee> *

                                                                                                                                                                                            - *

                                                                                                                                                                                            The grantee is resolved to the CanonicalUser and, in a response to a GET Object acl request, appears as the CanonicalUser.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The grantee is resolved to the CanonicalUser and, in a response to a GET Object + * acl request, appears as the CanonicalUser.

                                                                                                                                                                                            * *

                                                                                                                                                                                            Using email addresses to specify a grantee is only supported in the following AWS Regions:

                                                                                                                                                                                            *
                                                                                                                                                                                              @@ -6034,7 +6807,9 @@ export class S3 extends S3Client { *

                                                                                                                                                                                              * Versioning *

                                                                                                                                                                                              - *

                                                                                                                                                                                              The ACL of an object is set at the object version level. By default, PUT sets the ACL of the current version of an object. To set the ACL of a different version, use the versionId subresource.

                                                                                                                                                                                              + *

                                                                                                                                                                                              The ACL of an object is set at the object version level. By default, PUT sets the ACL of + * the current version of an object. To set the ACL of a different version, use the + * versionId subresource.

                                                                                                                                                                                              *

                                                                                                                                                                                              * Related Resources *

                                                                                                                                                                                              @@ -6121,10 +6896,13 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                              Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket.

                                                                                                                                                                                              + *

                                                                                                                                                                                              Places an Object Lock configuration on the specified bucket. The rule specified in the + * Object Lock configuration will be applied by default to every new object placed in the + * specified bucket.

                                                                                                                                                                                              * *

                                                                                                                                                                                              - * DefaultRetention requires either Days or Years. You can't specify both at the same time.

                                                                                                                                                                                              + * DefaultRetention requires either Days or Years. You can't specify both + * at the same time.

                                                                                                                                                                                              *
                                                                                                                                                                                              *

                                                                                                                                                                                              * Related Resources @@ -6132,7 +6910,8 @@ export class S3 extends S3Client { *

                                                                                                                                                                                              @@ -6211,15 +6990,22 @@ export class S3 extends S3Client { /** *

                                                                                                                                                                                              Sets the supplied tag-set to an object that already exists in a bucket.

                                                                                                                                                                                              - *

                                                                                                                                                                                              A tag is a key-value pair. You can associate tags with an object by sending a PUT request against the tagging subresource that is associated with the object. You can retrieve tags by sending a GET request. For more information, see GetObjectTagging.

                                                                                                                                                                                              + *

                                                                                                                                                                                              A tag is a key-value pair. You can associate tags with an object by sending a PUT + * request against the tagging subresource that is associated with the object. You can + * retrieve tags by sending a GET request. For more information, see GetObjectTagging.

                                                                                                                                                                                              * - *

                                                                                                                                                                                              For tagging-related restrictions related to characters and encodings, see Tag Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags per object.

                                                                                                                                                                                              + *

                                                                                                                                                                                              For tagging-related restrictions related to characters and encodings, see Tag + * Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags per + * object.

                                                                                                                                                                                              * - *

                                                                                                                                                                                              To use this operation, you must have permission to perform the s3:PutObjectTagging action. By default, the bucket owner has this permission and can grant this permission to others.

                                                                                                                                                                                              + *

                                                                                                                                                                                              To use this operation, you must have permission to perform the + * s3:PutObjectTagging action. By default, the bucket owner has this + * permission and can grant this permission to others.

                                                                                                                                                                                              * - *

                                                                                                                                                                                              To put tags of any other version, use the versionId query parameter. You also need permission for the s3:PutObjectVersionTagging action.

                                                                                                                                                                                              + *

                                                                                                                                                                                              To put tags of any other version, use the versionId query parameter. You + * also need permission for the s3:PutObjectVersionTagging action.

                                                                                                                                                                                              * - *

                                                                                                                                                                                              For information about the Amazon S3 object tagging feature, see Object Tagging.

                                                                                                                                                                                              + *

                                                                                                                                                                                              For information about the Amazon S3 object tagging feature, see Object Tagging.

                                                                                                                                                                                              * * *

                                                                                                                                                                                              @@ -6235,7 +7021,8 @@ export class S3 extends S3Client { * *

                                                                                                                                                                                            • *

                                                                                                                                                                                              - * Cause: The tag provided was not a valid tag. This error can occur if the tag did not pass input validation. For more information, see Object Tagging. + * Cause: The tag provided was not a valid tag. This error can occur + * if the tag did not pass input validation. For more information, see Object Tagging. *

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            @@ -6244,7 +7031,7 @@ export class S3 extends S3Client { *
                                                                                                                                                                                              *
                                                                                                                                                                                            • *

                                                                                                                                                                                              - * Code: MalformedXMLError + * Code: MalformedXMLError *

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            • @@ -6258,12 +7045,13 @@ export class S3 extends S3Client { *
                                                                                                                                                                                                *
                                                                                                                                                                                              • *

                                                                                                                                                                                                - * Code: OperationAbortedError + * Code: OperationAbortedError *

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              • *

                                                                                                                                                                                                - * Cause: A conflicting conditional operation is currently in progress against this resource. Please try again. + * Cause: A conflicting conditional operation is currently in + * progress against this resource. Please try again. *

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              @@ -6277,7 +7065,8 @@ export class S3 extends S3Client { *
                                                                                                                                                                                            • *
                                                                                                                                                                                            • *

                                                                                                                                                                                              - * Cause: The service was unable to apply the provided tag to the object. + * Cause: The service was unable to apply the provided tag to the + * object. *

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            @@ -6330,14 +7119,15 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                            Creates or modifies the PublicAccessBlock configuration for an Amazon S3 - * bucket. To use this operation, you must have the s3:PutBucketPublicAccessBlock - * permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Creates or modifies the PublicAccessBlock configuration for an Amazon S3 bucket. + * To use this operation, you must have the s3:PutBucketPublicAccessBlock + * permission. For more information about Amazon S3 permissions, see Specifying Permissions in a + * Policy.

                                                                                                                                                                                            * * - *

                                                                                                                                                                                            When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an - * object, it checks the PublicAccessBlock configuration for both the bucket - * (or the bucket that contains the object) and the bucket owner's account. If the + *

                                                                                                                                                                                            When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or + * an object, it checks the PublicAccessBlock configuration for both the + * bucket (or the bucket that contains the object) and the bucket owner's account. If the * PublicAccessBlock configurations are different between the bucket and * the account, Amazon S3 uses the most restrictive combination of the bucket-level and * account-level settings.

                                                                                                                                                                                            @@ -6369,7 +7159,8 @@ export class S3 extends S3Client { *
                                                                                                                                                                                          • *
                                                                                                                                                                                          • *

                                                                                                                                                                                            - * Using Amazon S3 Block Public Access + * Using Amazon S3 Block + * Public Access *

                                                                                                                                                                                            *
                                                                                                                                                                                          • *
                                                                                                                                                                                          @@ -6418,9 +7209,8 @@ export class S3 extends S3Client { *
                                                                                                                                                                                        • *
                                                                                                                                                                                        *

                                                                                                                                                                                        To use this operation, you must have permissions to perform the - * s3:RestoreObject action. The bucket owner - * has this permission by default and can grant this permission to others. For more - * information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * s3:RestoreObject action. The bucket owner has this permission by default + * and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 * Resources in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        *

                                                                                                                                                                                        * Querying Archives with Select Requests @@ -6495,7 +7285,7 @@ export class S3 extends S3Client { * *

                                                                                                                                                                                      *

                                                                                                                                                                                      For more information about using SQL with S3 Glacier Select restore, see SQL Reference for Amazon S3 Select and - * S3 Glacier Select in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      + * S3 Glacier Select in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      *

                                                                                                                                                                                      When making a select request, you can also do the following:

                                                                                                                                                                                      *
                                                                                                                                                                                        *
                                                                                                                                                                                      • @@ -6525,16 +7315,16 @@ export class S3 extends S3Client { *

                                                                                                                                                                                        * Restoring Archives *

                                                                                                                                                                                        - *

                                                                                                                                                                                        Objects in the GLACIER and DEEP_ARCHIVE storage classes are archived. To access an - * archived object, you must first initiate a restore request. This restores a temporary copy - * of the archived object. In a restore request, you specify the number of days that you want - * the restored copy to exist. After the specified period, Amazon S3 deletes the temporary copy but - * the object remains archived in the GLACIER or DEEP_ARCHIVE storage class that object was - * restored from.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Objects that you archive to the S3 Glacier, + * S3 Glacier Deep Archive, S3 Intelligent-Tiering Archive, or S3 Intelligent-Tiering Deep Archive storage + * classes are not accessible in real time. For objects in Archive Access tier or + * Deep Archive Access tier you must first initiate a restore request, and then wait until the object + * is moved into the Frequent Access tier. For objects in S3 Glacier or + * S3 Glacier Deep Archive you must first initiate a restore request, and then wait + * until a temporary copy of the object is available. To access an archived object, you must + * restore the object for the duration (number of days) that you specify.

                                                                                                                                                                                        *

                                                                                                                                                                                        To restore a specific object version, you can provide a version ID. If you don't provide * a version ID, Amazon S3 restores the current version.

                                                                                                                                                                                        - *

                                                                                                                                                                                        The time it takes restore jobs to finish depends on which storage class the object is - * being restored from and which data access tier you specify.

                                                                                                                                                                                        *

                                                                                                                                                                                        When restoring an archived object (or using a select request), you can specify one of * the following data access tier options in the Tier element of the request * body:

                                                                                                                                                                                        @@ -6544,45 +7334,46 @@ export class S3 extends S3Client { * * Expedited * - Expedited retrievals - * allow you to quickly access your data stored in the GLACIER storage class when - * occasional urgent requests for a subset of archives are required. For all but the - * largest archived objects (250 MB+), data accessed using Expedited retrievals are - * typically made available within 1–5 minutes. Provisioned capacity ensures that - * retrieval capacity for Expedited retrievals is available when you need it. Expedited - * retrievals and provisioned capacity are not available for the DEEP_ARCHIVE storage - * class.

                                                                                                                                                                                        + * allow you to quickly access your data stored in the S3 Glacier or + * S3 Intelligent-Tiering Archive storage class when occasional urgent requests for a subset of + * archives are required. For all but the largest archived objects (250 MB+), data + * accessed using Expedited retrievals is typically made available within 1–5 minutes. + * Provisioned capacity ensures that retrieval capacity for Expedited retrievals is + * available when you need it. Expedited retrievals and provisioned capacity are not + * available for objects stored in the S3 Glacier Deep Archive or + * S3 Intelligent-Tiering Deep Archive storage class.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • *

                                                                                                                                                                                        * * Standard - * - S3 Standard retrievals allow + * - Standard retrievals allow * you to access any of your archived objects within several hours. This is the default - * option for the GLACIER and DEEP_ARCHIVE retrieval requests that do not specify the - * retrieval option. S3 Standard retrievals typically complete within 3-5 hours from the - * GLACIER storage class and typically complete within 12 hours from the DEEP_ARCHIVE - * storage class.

                                                                                                                                                                                        + * option for retrieval requests that do not specify the retrieval option. Standard + * retrievals typically finish within 3–5 hours for objects stored in the + * S3 Glacier or S3 Intelligent-Tiering Archive storage class. They typically + * finish within 12 hours for objects stored in the S3 Glacier Deep Archive or + * S3 Intelligent-Tiering Deep Archive storage class. Standard retrievals are free for objects stored + * in S3 Intelligent-Tiering.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • *

                                                                                                                                                                                        * * Bulk - * - Bulk retrievals are Amazon S3 - * Glacier’s lowest-cost retrieval option, enabling you to retrieve large amounts, even - * petabytes, of data inexpensively in a day. Bulk retrievals typically complete within - * 5-12 hours from the GLACIER storage class and typically complete within 48 hours from - * the DEEP_ARCHIVE storage class.

                                                                                                                                                                                        + * - Bulk retrievals are the + * lowest-cost retrieval option in S3 Glacier, enabling you to retrieve large amounts, + * even petabytes, of data inexpensively. Bulk retrievals typically finish within 5–12 + * hours for objects stored in the S3 Glacier or S3 Intelligent-Tiering Archive + * storage class. They typically finish within 48 hours for objects stored in the + * S3 Glacier Deep Archive or S3 Intelligent-Tiering Deep Archive storage class. Bulk + * retrievals are free for objects stored in S3 Intelligent-Tiering.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      *

                                                                                                                                                                                      For more information about archive retrieval options and provisioned capacity for * Expedited data access, see Restoring Archived Objects in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      *

                                                                                                                                                                                      You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed - * while it is in progress. You upgrade the speed of an in-progress restoration by issuing - * another restore request to the same object, setting a new Tier request - * element. When issuing a request to upgrade the restore tier, you must choose a tier that is - * faster than the tier that the in-progress restore is using. You must not change any other - * parameters, such as the Days request element. For more information, see - * Upgrading the Speed of an In-Progress Restore in the + * while it is in progress. For more information, see + * Upgrading the speed of an in-progress restore in the * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      *

                                                                                                                                                                                      To get the status of object restoration, you can send a HEAD request. * Operations return the x-amz-restore header, which provides information about @@ -6598,9 +7389,8 @@ export class S3 extends S3Client { * action, the object expiration overrides the life span that you specify in a restore * request. For example, if you restore an object copy for 10 days, but the object is * scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days. For more information - * about lifecycle configuration, see PutBucketLifecycleConfiguration and - * Object Lifecycle Management - * in Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      + * about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management in + * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      *

                                                                                                                                                                                      * Responses *

                                                                                                                                                                                      @@ -6608,11 +7398,11 @@ export class S3 extends S3Client { * Accepted status code.

                                                                                                                                                                                      *
                                                                                                                                                                                        *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        If the object copy is not previously restored, then Amazon S3 returns 202 + *

                                                                                                                                                                                        If the object is not previously restored, then Amazon S3 returns 202 * Accepted in the response.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        If the object copy is previously restored, Amazon S3 returns 200 OK in the + *

                                                                                                                                                                                        If the object is previously restored, Amazon S3 returns 200 OK in the * response.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      @@ -6654,10 +7444,10 @@ export class S3 extends S3Client { * *
                                                                                                                                                                                    • *

                                                                                                                                                                                      - * Cause: S3 Glacier expedited retrievals are currently not available. - * Try again later. (Returned if there is insufficient capacity to process the - * Expedited request. This error applies only to Expedited retrievals and not - * to S3 Standard or Bulk retrievals.) + * Cause: expedited retrievals are currently not available. Try again + * later. (Returned if there is insufficient capacity to process the Expedited + * request. This error applies only to Expedited retrievals and not to + * S3 Standard or Bulk retrievals.) *

                                                                                                                                                                                      *
                                                                                                                                                                                    • *
                                                                                                                                                                                    • @@ -6691,7 +7481,8 @@ export class S3 extends S3Client { *
                                                                                                                                                                                    • *

                                                                                                                                                                                      * SQL Reference for - * Amazon S3 Select and S3 Glacier Select in the Amazon Simple Storage Service Developer Guide + * Amazon S3 Select and S3 Glacier Select in the + * Amazon Simple Storage Service Developer Guide *

                                                                                                                                                                                      *
                                                                                                                                                                                    • *
                                                                                                                                                                                    @@ -6727,96 +7518,93 @@ export class S3 extends S3Client { /** *

                                                                                                                                                                                    This operation filters the contents of an Amazon S3 object based on a simple structured query - * language (SQL) statement. In the request, along with the SQL expression, you must also - * specify a data serialization format (JSON, CSV, or Apache Parquet) of the object. Amazon S3 - * uses this format to parse object data into records, and returns only records that match - * the specified SQL expression. You must also specify the data serialization format for - * the response.

                                                                                                                                                                                    + * language (SQL) statement. In the request, along with the SQL expression, you must also + * specify a data serialization format (JSON, CSV, or Apache Parquet) of the object. Amazon S3 uses + * this format to parse object data into records, and returns only records that match the + * specified SQL expression. You must also specify the data serialization format for the + * response.

                                                                                                                                                                                    *

                                                                                                                                                                                    This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                    - *

                                                                                                                                                                                    For more information about Amazon S3 Select, see - * Selecting Content from Objects - * in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                    - *

                                                                                                                                                                                    For more information about using SQL with Amazon S3 Select, see SQL Reference for Amazon S3 - * Select and S3 Glacier Select in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                    - *

                                                                                                                                                                                    + *

                                                                                                                                                                                    For more information about Amazon S3 Select, + * see Selecting Content from + * Objects in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                    + *

                                                                                                                                                                                    For more information about using SQL with Amazon S3 Select, see SQL Reference for Amazon S3 Select + * and S3 Glacier Select in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                    + *

                                                                                                                                                                                    *

                                                                                                                                                                                    * Permissions *

                                                                                                                                                                                    - *

                                                                                                                                                                                    You must have s3:GetObject permission for this operation. Amazon S3 Select - * does not support anonymous access. For more information about permissions, see - * Specifying Permissions in a - * Policy in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                    - *

                                                                                                                                                                                    - *

                                                                                                                                                                                    + *

                                                                                                                                                                                    You must have s3:GetObject permission for this operation. Amazon S3 Select does + * not support anonymous access. For more information about permissions, see Specifying Permissions in a Policy + * in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                    + *

                                                                                                                                                                                    + *

                                                                                                                                                                                    * Object Data Formats *

                                                                                                                                                                                    - *

                                                                                                                                                                                    You can use Amazon S3 Select to query objects that have the following format - * properties:

                                                                                                                                                                                    - *
                                                                                                                                                                                      - *
                                                                                                                                                                                    • - *

                                                                                                                                                                                      - * CSV, JSON, and Parquet - Objects must be in CSV, - * JSON, or Parquet format.

                                                                                                                                                                                      - *
                                                                                                                                                                                    • - *
                                                                                                                                                                                    • - *

                                                                                                                                                                                      - * UTF-8 - UTF-8 is the only encoding - * type Amazon S3 Select supports.

                                                                                                                                                                                      - *
                                                                                                                                                                                    • - *
                                                                                                                                                                                    • - *

                                                                                                                                                                                      - * GZIP or BZIP2 - CSV and JSON files can be compressed - * using GZIP or BZIP2. GZIP and BZIP2 are the only compression formats that - * Amazon S3 Select supports for CSV and JSON files. Amazon S3 Select supports columnar - * compression for Parquet using GZIP or Snappy. Amazon S3 Select does not support - * whole-object compression for Parquet objects.

                                                                                                                                                                                      - *
                                                                                                                                                                                    • - *
                                                                                                                                                                                    • - *

                                                                                                                                                                                      - * Server-side encryption - Amazon S3 Select - * supports querying objects that are protected with server-side - * encryption.

                                                                                                                                                                                      - *

                                                                                                                                                                                      For objects that are encrypted with customer-provided encryption keys - * (SSE-C), you must use HTTPS, and you must use the headers that are - * documented in the GetObject. For more information - * about SSE-C, see Server-Side - * Encryption (Using Customer-Provided Encryption Keys) in the - * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      - *

                                                                                                                                                                                      For objects that are encrypted with Amazon S3 managed encryption keys (SSE-S3) - * and customer master keys (CMKs) stored in AWS Key Management Service (SSE-KMS), server-side encryption is - * handled transparently, so you don't need to specify anything. For more - * information about server-side encryption, including SSE-S3 and SSE-KMS, see - * Protecting Data Using - * Server-Side Encryption in the - * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      - *
                                                                                                                                                                                    • + *

                                                                                                                                                                                      You can use Amazon S3 Select to query objects that have the following format + * properties:

                                                                                                                                                                                      + *
                                                                                                                                                                                        + *
                                                                                                                                                                                      • + *

                                                                                                                                                                                        + * CSV, JSON, and Parquet - Objects must be in CSV, JSON, or + * Parquet format.

                                                                                                                                                                                        + *
                                                                                                                                                                                      • + *
                                                                                                                                                                                      • + *

                                                                                                                                                                                        + * UTF-8 - UTF-8 is the only encoding type Amazon S3 Select + * supports.

                                                                                                                                                                                        + *
                                                                                                                                                                                      • + *
                                                                                                                                                                                      • + *

                                                                                                                                                                                        + * GZIP or BZIP2 - CSV and JSON files can be compressed using + * GZIP or BZIP2. GZIP and BZIP2 are the only compression formats that Amazon S3 Select + * supports for CSV and JSON files. Amazon S3 Select supports columnar compression for + * Parquet using GZIP or Snappy. Amazon S3 Select does not support whole-object compression + * for Parquet objects.

                                                                                                                                                                                        + *
                                                                                                                                                                                      • + *
                                                                                                                                                                                      • + *

                                                                                                                                                                                        + * Server-side encryption - Amazon S3 Select supports querying + * objects that are protected with server-side encryption.

                                                                                                                                                                                        + *

                                                                                                                                                                                        For objects that are encrypted with customer-provided encryption keys (SSE-C), you + * must use HTTPS, and you must use the headers that are documented in the GetObject. For more information about SSE-C, see Server-Side Encryption + * (Using Customer-Provided Encryption Keys) in the + * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        For objects that are encrypted with Amazon S3 managed encryption keys (SSE-S3) and + * customer master keys (CMKs) stored in AWS Key Management Service (SSE-KMS), + * server-side encryption is handled transparently, so you don't need to specify + * anything. For more information about server-side encryption, including SSE-S3 and + * SSE-KMS, see Protecting Data Using + * Server-Side Encryption in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *
                                                                                                                                                                                      • *
                                                                                                                                                                                      * *

                                                                                                                                                                                      * Working with the Response Body *

                                                                                                                                                                                      - *

                                                                                                                                                                                      Given the response size is unknown, Amazon S3 Select streams the response as a series of messages and includes a Transfer-Encoding header with chunked - * as its value in the response. For more information, see Appendix: SelectObjectContent Response + *

                                                                                                                                                                                      Given the response size is unknown, Amazon S3 Select streams the response as a series of + * messages and includes a Transfer-Encoding header with chunked as + * its value in the response. For more information, see Appendix: SelectObjectContent + * Response * .

                                                                                                                                                                                      * *

                                                                                                                                                                                      *

                                                                                                                                                                                      * GetObject Support *

                                                                                                                                                                                      - *

                                                                                                                                                                                      The SelectObjectContent operation does not support the following GetObject functionality. For more information, see GetObject.

                                                                                                                                                                                      + *

                                                                                                                                                                                      The SelectObjectContent operation does not support the following + * GetObject functionality. For more information, see GetObject.

                                                                                                                                                                                      *
                                                                                                                                                                                        *
                                                                                                                                                                                      • *

                                                                                                                                                                                        * Range: Although you can specify a scan range for an Amazon S3 Select request - * (see SelectObjectContentRequest - ScanRange in the request - * parameters), you cannot specify the range of bytes of an object to return.

                                                                                                                                                                                        + * (see SelectObjectContentRequest - ScanRange in the request parameters), + * you cannot specify the range of bytes of an object to return.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        GLACIER, DEEP_ARCHIVE and REDUCED_REDUNDANCY storage classes: You - * cannot specify the GLACIER, DEEP_ARCHIVE, or - * REDUCED_REDUNDANCY storage classes. For more information, about - * storage classes see Storage - * Classes in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        GLACIER, DEEP_ARCHIVE and REDUCED_REDUNDANCY storage classes: You cannot specify + * the GLACIER, DEEP_ARCHIVE, or REDUCED_REDUNDANCY storage classes. For + * more information, about storage classes see Storage Classes + * in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      *

                                                                                                                                                                                      @@ -6824,8 +7612,8 @@ export class S3 extends S3Client { * Special Errors *

                                                                                                                                                                                      * - *

                                                                                                                                                                                      For a list of special errors for this operation, see - * List of SELECT Object Content Error Codes + *

                                                                                                                                                                                      For a list of special errors for this operation, see List of + * SELECT Object Content Error Codes *

                                                                                                                                                                                      *

                                                                                                                                                                                      * Related Resources @@ -6880,36 +7668,43 @@ export class S3 extends S3Client { /** *

                                                                                                                                                                                      Uploads a part in a multipart upload.

                                                                                                                                                                                      * - *

                                                                                                                                                                                      In this operation, you provide part data in your request. However, you have an - * option to specify your existing Amazon S3 object as a data source for the part you are - * uploading. To upload a part from an existing object, you use the UploadPartCopy - * operation.

                                                                                                                                                                                      + *

                                                                                                                                                                                      In this operation, you provide part data in your request. However, you have an option + * to specify your existing Amazon S3 object as a data source for the part you are uploading. To + * upload a part from an existing object, you use the UploadPartCopy operation. + *

                                                                                                                                                                                      *
                                                                                                                                                                                      * - *

                                                                                                                                                                                      You must initiate a multipart upload (see CreateMultipartUpload) before you can upload any part. In response to - * your initiate request, Amazon S3 returns an upload ID, a unique identifier, that you must - * include in your upload part request.

                                                                                                                                                                                      + *

                                                                                                                                                                                      You must initiate a multipart upload (see CreateMultipartUpload) + * before you can upload any part. In response to your initiate request, Amazon S3 returns an + * upload ID, a unique identifier, that you must include in your upload part request.

                                                                                                                                                                                      *

                                                                                                                                                                                      Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely - * identifies a part and also defines its position within the object being created. If you - * upload a new part using the same part number that was used with a previous part, the - * previously uploaded part is overwritten. Each part must be at least 5 MB in size, except - * the last part. There is no size limit on the last part of your multipart upload.

                                                                                                                                                                                      + * identifies a part and also defines its position within the object being created. If you + * upload a new part using the same part number that was used with a previous part, the + * previously uploaded part is overwritten. Each part must be at least 5 MB in size, except + * the last part. There is no size limit on the last part of your multipart upload.

                                                                                                                                                                                      *

                                                                                                                                                                                      To ensure that data is not corrupted when traversing the network, specify the - * Content-MD5 header in the upload part request. Amazon S3 checks the part - * data against the provided MD5 value. If they do not match, Amazon S3 returns an error.

                                                                                                                                                                                      + * Content-MD5 header in the upload part request. Amazon S3 checks the part data + * against the provided MD5 value. If they do not match, Amazon S3 returns an error.

                                                                                                                                                                                      * - *

                                                                                                                                                                                      If the upload request is signed with Signature Version 4, then AWS S3 uses the x-amz-content-sha256 header as a checksum instead of Content-MD5. For more information see Authenticating Requests: Using the Authorization Header (AWS Signature Version 4).

                                                                                                                                                                                      + *

                                                                                                                                                                                      If the upload request is signed with Signature Version 4, then AWS S3 uses the + * x-amz-content-sha256 header as a checksum instead of + * Content-MD5. For more information see Authenticating Requests: Using the Authorization Header (AWS Signature Version + * 4).

                                                                                                                                                                                      * * * *

                                                                                                                                                                                      - * Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.

                                                                                                                                                                                      + * Note: After you initiate multipart upload and upload + * one or more parts, you must either complete or abort multipart upload in order to stop + * getting charged for storage of the uploaded parts. Only after you either complete or abort + * multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts + * storage.

                                                                                                                                                                                      * *

                                                                                                                                                                                      For more information on multipart uploads, go to Multipart Upload Overview in the - * Amazon Simple Storage Service Developer Guide .

                                                                                                                                                                                      + * Amazon Simple Storage Service Developer Guide .

                                                                                                                                                                                      *

                                                                                                                                                                                      For information on the permissions required to use the multipart upload API, go to - * Multipart Upload API and - * Permissions in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      + * Multipart Upload API and + * Permissions in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                      * *

                                                                                                                                                                                      You can optionally request server-side encryption where Amazon S3 encrypts your data as it * writes it to disks in its data centers and decrypts it for you when you access it. You have @@ -6925,9 +7720,9 @@ export class S3 extends S3Client { * encryption parameters in the initial Initiate Multipart request. For more information, see * CreateMultipartUpload.

                                                                                                                                                                                      * - *

                                                                                                                                                                                      If you requested server-side encryption using a customer-provided encryption - * key in your initiate multipart upload request, you must provide identical - * encryption information in each part upload using the following headers.

                                                                                                                                                                                      + *

                                                                                                                                                                                      If you requested server-side encryption using a customer-provided encryption key in your + * initiate multipart upload request, you must provide identical encryption information in + * each part upload using the following headers.

                                                                                                                                                                                      * * *
                                                                                                                                                                                        @@ -6955,12 +7750,14 @@ export class S3 extends S3Client { * *
                                                                                                                                                                                      • *

                                                                                                                                                                                        - * Cause: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed. + * Cause: The specified multipart upload does not exist. The upload + * ID might be invalid, or the multipart upload might have been aborted or + * completed. *

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • *

                                                                                                                                                                                        - * HTTP Status Code: 404 Not Found + * HTTP Status Code: 404 Not Found *

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • @@ -7032,14 +7829,16 @@ export class S3 extends S3Client { } /** - *

                                                                                                                                                                                        Uploads a part by copying data from an existing object as data source. You specify the - * data source by adding the request header x-amz-copy-source in your request and a - * byte range by adding the request header x-amz-copy-source-range in your request.

                                                                                                                                                                                        - *

                                                                                                                                                                                        The minimum allowable part size for a multipart upload is 5 MB. For more information about - * multipart upload limits, go to Quick Facts in the - * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Uploads a part by copying data from an existing object as data source. You specify the + * data source by adding the request header x-amz-copy-source in your request and + * a byte range by adding the request header x-amz-copy-source-range in your + * request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The minimum allowable part size for a multipart upload is 5 MB. For more information + * about multipart upload limits, go to Quick + * Facts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        * - *

                                                                                                                                                                                        Instead of using an existing object as part data, you might use the UploadPart operation and provide data in your request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Instead of using an existing object as part data, you might use the UploadPart + * operation and provide data in your request.

                                                                                                                                                                                        *
                                                                                                                                                                                        * *

                                                                                                                                                                                        You must initiate a multipart upload before you can upload any part. In response to your @@ -7065,29 +7864,27 @@ export class S3 extends S3Client { *

                                                                                                                                                                                      • *
                                                                                                                                                                                      • *

                                                                                                                                                                                        For information about using server-side encryption with customer-provided - * encryption keys with the UploadPartCopy operation, see CopyObject - * and UploadPart.

                                                                                                                                                                                        + * encryption keys with the UploadPartCopy operation, see CopyObject and UploadPart.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      *

                                                                                                                                                                                      Note the following additional considerations about the request headers * x-amz-copy-source-if-match, x-amz-copy-source-if-none-match, * x-amz-copy-source-if-unmodified-since, and * x-amz-copy-source-if-modified-since:

                                                                                                                                                                                      - *

                                                                                                                                                                                      - *

                                                                                                                                                                                      + *

                                                                                                                                                                                      *
                                                                                                                                                                                        *
                                                                                                                                                                                      • *

                                                                                                                                                                                        * Consideration 1 - If both of the - * x-amz-copy-source-if-match and - * x-amz-copy-source-if-unmodified-since headers are present in the + * x-amz-copy-source-if-match and + * x-amz-copy-source-if-unmodified-since headers are present in the * request as follows:

                                                                                                                                                                                        *

                                                                                                                                                                                        * x-amz-copy-source-if-match condition evaluates to true, * and;

                                                                                                                                                                                        *

                                                                                                                                                                                        * x-amz-copy-source-if-unmodified-since condition evaluates to - * false;

                                                                                                                                                                                        + * false;

                                                                                                                                                                                        *

                                                                                                                                                                                        Amazon S3 returns 200 OK and copies the data. *

                                                                                                                                                                                        * @@ -7095,15 +7892,15 @@ export class S3 extends S3Client { *
                                                                                                                                                                                      • *

                                                                                                                                                                                        * Consideration 2 - If both of the - * x-amz-copy-source-if-none-match and - * x-amz-copy-source-if-modified-since headers are present in the request - * as follows:

                                                                                                                                                                                        + * x-amz-copy-source-if-none-match and + * x-amz-copy-source-if-modified-since headers are present in the + * request as follows:

                                                                                                                                                                                        *

                                                                                                                                                                                        * x-amz-copy-source-if-none-match condition evaluates to - * false, and;

                                                                                                                                                                                        + * false, and;

                                                                                                                                                                                        *

                                                                                                                                                                                        * x-amz-copy-source-if-modified-since condition evaluates to - * true;

                                                                                                                                                                                        + * true;

                                                                                                                                                                                        *

                                                                                                                                                                                        Amazon S3 returns 412 Precondition Failed response code. *

                                                                                                                                                                                        *
                                                                                                                                                                                      • @@ -7112,15 +7909,14 @@ export class S3 extends S3Client { * Versioning *

                                                                                                                                                                                        *

                                                                                                                                                                                        If your bucket has versioning enabled, you could have multiple versions of the same - * object. By default, x-amz-copy-source identifies the current version of - * the object to copy. If the current version is a delete marker and you don't specify a - * versionId in the x-amz-copy-source, Amazon S3 returns a 404 error, because - * the object does not exist. If you specify versionId in the - * x-amz-copy-source and the versionId is a delete marker, Amazon S3 returns - * an HTTP 400 error, because you are not allowed to specify a delete marker as a version for the - * x-amz-copy-source.

                                                                                                                                                                                        + * object. By default, x-amz-copy-source identifies the current version of the + * object to copy. If the current version is a delete marker and you don't specify a versionId + * in the x-amz-copy-source, Amazon S3 returns a 404 error, because the object does + * not exist. If you specify versionId in the x-amz-copy-source and the versionId + * is a delete marker, Amazon S3 returns an HTTP 400 error, because you are not allowed to specify + * a delete marker as a version for the x-amz-copy-source.

                                                                                                                                                                                        *

                                                                                                                                                                                        You can optionally specify a specific version of the source object to copy by adding the - * versionId subresource as shown in the following example:

                                                                                                                                                                                        + * versionId subresource as shown in the following example:

                                                                                                                                                                                        *

                                                                                                                                                                                        * x-amz-copy-source: /bucket/object?versionId=version id *

                                                                                                                                                                                        @@ -7138,7 +7934,9 @@ export class S3 extends S3Client { * *
                                                                                                                                                                                      • *

                                                                                                                                                                                        - * Cause: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed. + * Cause: The specified multipart upload does not exist. The upload + * ID might be invalid, or the multipart upload might have been aborted or + * completed. *

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • @@ -7157,7 +7955,8 @@ export class S3 extends S3Client { *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • *

                                                                                                                                                                                        - * Cause: The specified copy source is not supported as a byte-range copy source. + * Cause: The specified copy source is not supported as a byte-range + * copy source. *

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • diff --git a/clients/client-s3/S3Client.ts b/clients/client-s3/S3Client.ts index f8f073ef8c81..c1836d7a655c 100644 --- a/clients/client-s3/S3Client.ts +++ b/clients/client-s3/S3Client.ts @@ -22,6 +22,10 @@ import { DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, } from "./commands/DeleteBucketEncryptionCommand"; +import { + DeleteBucketIntelligentTieringConfigurationCommandInput, + DeleteBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/DeleteBucketIntelligentTieringConfigurationCommand"; import { DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput, @@ -75,6 +79,10 @@ import { GetBucketEncryptionCommandInput, GetBucketEncryptionCommandOutput, } from "./commands/GetBucketEncryptionCommand"; +import { + GetBucketIntelligentTieringConfigurationCommandInput, + GetBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/GetBucketIntelligentTieringConfigurationCommand"; import { GetBucketInventoryConfigurationCommandInput, GetBucketInventoryConfigurationCommandOutput, @@ -136,6 +144,10 @@ import { ListBucketAnalyticsConfigurationsCommandInput, ListBucketAnalyticsConfigurationsCommandOutput, } from "./commands/ListBucketAnalyticsConfigurationsCommand"; +import { + ListBucketIntelligentTieringConfigurationsCommandInput, + ListBucketIntelligentTieringConfigurationsCommandOutput, +} from "./commands/ListBucketIntelligentTieringConfigurationsCommand"; import { ListBucketInventoryConfigurationsCommandInput, ListBucketInventoryConfigurationsCommandOutput, @@ -167,6 +179,10 @@ import { PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput, } from "./commands/PutBucketEncryptionCommand"; +import { + PutBucketIntelligentTieringConfigurationCommandInput, + PutBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/PutBucketIntelligentTieringConfigurationCommand"; import { PutBucketInventoryConfigurationCommandInput, PutBucketInventoryConfigurationCommandOutput, @@ -298,6 +314,7 @@ export type ServiceInputTypes = | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput + | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetricsConfigurationCommandInput @@ -315,6 +332,7 @@ export type ServiceInputTypes = | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput + | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput @@ -340,6 +358,7 @@ export type ServiceInputTypes = | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput + | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput @@ -353,6 +372,7 @@ export type ServiceInputTypes = | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput + | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput @@ -387,6 +407,7 @@ export type ServiceOutputTypes = | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput + | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetricsConfigurationCommandOutput @@ -404,6 +425,7 @@ export type ServiceOutputTypes = | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput + | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput @@ -429,6 +451,7 @@ export type ServiceOutputTypes = | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput + | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput @@ -442,6 +465,7 @@ export type ServiceOutputTypes = | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput + | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput diff --git a/clients/client-s3/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts new file mode 100644 index 000000000000..900a4431ba1c --- /dev/null +++ b/clients/client-s3/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts @@ -0,0 +1,93 @@ +import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketIntelligentTieringConfigurationRequest } from "../models/models_0"; +import { + deserializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommand, + serializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommand, +} from "../protocols/Aws_restXml"; +import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteBucketIntelligentTieringConfigurationCommandInput = DeleteBucketIntelligentTieringConfigurationRequest; +export type DeleteBucketIntelligentTieringConfigurationCommandOutput = __MetadataBearer; + +export class DeleteBucketIntelligentTieringConfigurationCommand extends $Command< + DeleteBucketIntelligentTieringConfigurationCommandInput, + DeleteBucketIntelligentTieringConfigurationCommandOutput, + S3ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteBucketIntelligentTieringConfigurationCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: S3ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DeleteBucketIntelligentTieringConfigurationCommandInput, + DeleteBucketIntelligentTieringConfigurationCommandOutput + > { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "S3Client"; + const commandName = "DeleteBucketIntelligentTieringConfigurationCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteBucketIntelligentTieringConfigurationRequest.filterSensitiveLog, + outputFilterSensitiveLog: (output: any) => output, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: DeleteBucketIntelligentTieringConfigurationCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-s3/commands/GetBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/commands/GetBucketIntelligentTieringConfigurationCommand.ts new file mode 100644 index 000000000000..785c213ac97a --- /dev/null +++ b/clients/client-s3/commands/GetBucketIntelligentTieringConfigurationCommand.ts @@ -0,0 +1,97 @@ +import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { + GetBucketIntelligentTieringConfigurationOutput, + GetBucketIntelligentTieringConfigurationRequest, +} from "../models/models_0"; +import { + deserializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand, + serializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand, +} from "../protocols/Aws_restXml"; +import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetBucketIntelligentTieringConfigurationCommandInput = GetBucketIntelligentTieringConfigurationRequest; +export type GetBucketIntelligentTieringConfigurationCommandOutput = GetBucketIntelligentTieringConfigurationOutput & + __MetadataBearer; + +export class GetBucketIntelligentTieringConfigurationCommand extends $Command< + GetBucketIntelligentTieringConfigurationCommandInput, + GetBucketIntelligentTieringConfigurationCommandOutput, + S3ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetBucketIntelligentTieringConfigurationCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: S3ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetBucketIntelligentTieringConfigurationCommandInput, + GetBucketIntelligentTieringConfigurationCommandOutput + > { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "S3Client"; + const commandName = "GetBucketIntelligentTieringConfigurationCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetBucketIntelligentTieringConfigurationRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetBucketIntelligentTieringConfigurationOutput.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: GetBucketIntelligentTieringConfigurationCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-s3/commands/ListBucketIntelligentTieringConfigurationsCommand.ts b/clients/client-s3/commands/ListBucketIntelligentTieringConfigurationsCommand.ts new file mode 100644 index 000000000000..f7c0a1ab3572 --- /dev/null +++ b/clients/client-s3/commands/ListBucketIntelligentTieringConfigurationsCommand.ts @@ -0,0 +1,97 @@ +import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { + ListBucketIntelligentTieringConfigurationsOutput, + ListBucketIntelligentTieringConfigurationsRequest, +} from "../models/models_0"; +import { + deserializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand, + serializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand, +} from "../protocols/Aws_restXml"; +import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListBucketIntelligentTieringConfigurationsCommandInput = ListBucketIntelligentTieringConfigurationsRequest; +export type ListBucketIntelligentTieringConfigurationsCommandOutput = ListBucketIntelligentTieringConfigurationsOutput & + __MetadataBearer; + +export class ListBucketIntelligentTieringConfigurationsCommand extends $Command< + ListBucketIntelligentTieringConfigurationsCommandInput, + ListBucketIntelligentTieringConfigurationsCommandOutput, + S3ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListBucketIntelligentTieringConfigurationsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: S3ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListBucketIntelligentTieringConfigurationsCommandInput, + ListBucketIntelligentTieringConfigurationsCommandOutput + > { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "S3Client"; + const commandName = "ListBucketIntelligentTieringConfigurationsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListBucketIntelligentTieringConfigurationsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListBucketIntelligentTieringConfigurationsOutput.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: ListBucketIntelligentTieringConfigurationsCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-s3/commands/PutBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/commands/PutBucketIntelligentTieringConfigurationCommand.ts new file mode 100644 index 000000000000..1045d9a4a138 --- /dev/null +++ b/clients/client-s3/commands/PutBucketIntelligentTieringConfigurationCommand.ts @@ -0,0 +1,93 @@ +import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_0"; +import { + deserializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand, + serializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand, +} from "../protocols/Aws_restXml"; +import { getBucketEndpointPlugin } from "@aws-sdk/middleware-bucket-endpoint"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type PutBucketIntelligentTieringConfigurationCommandInput = PutBucketIntelligentTieringConfigurationRequest; +export type PutBucketIntelligentTieringConfigurationCommandOutput = __MetadataBearer; + +export class PutBucketIntelligentTieringConfigurationCommand extends $Command< + PutBucketIntelligentTieringConfigurationCommandInput, + PutBucketIntelligentTieringConfigurationCommandOutput, + S3ClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: PutBucketIntelligentTieringConfigurationCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: S3ClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + PutBucketIntelligentTieringConfigurationCommandInput, + PutBucketIntelligentTieringConfigurationCommandOutput + > { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "S3Client"; + const commandName = "PutBucketIntelligentTieringConfigurationCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: PutBucketIntelligentTieringConfigurationRequest.filterSensitiveLog, + outputFilterSensitiveLog: (output: any) => output, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: PutBucketIntelligentTieringConfigurationCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-s3/index.ts b/clients/client-s3/index.ts index fe04e460928c..5c6b90210cad 100644 --- a/clients/client-s3/index.ts +++ b/clients/client-s3/index.ts @@ -9,6 +9,7 @@ export * from "./commands/DeleteBucketCommand"; export * from "./commands/DeleteBucketAnalyticsConfigurationCommand"; export * from "./commands/DeleteBucketCorsCommand"; export * from "./commands/DeleteBucketEncryptionCommand"; +export * from "./commands/DeleteBucketIntelligentTieringConfigurationCommand"; export * from "./commands/DeleteBucketInventoryConfigurationCommand"; export * from "./commands/DeleteBucketLifecycleCommand"; export * from "./commands/DeleteBucketMetricsConfigurationCommand"; @@ -26,6 +27,7 @@ export * from "./commands/GetBucketAclCommand"; export * from "./commands/GetBucketAnalyticsConfigurationCommand"; export * from "./commands/GetBucketCorsCommand"; export * from "./commands/GetBucketEncryptionCommand"; +export * from "./commands/GetBucketIntelligentTieringConfigurationCommand"; export * from "./commands/GetBucketInventoryConfigurationCommand"; export * from "./commands/GetBucketLifecycleConfigurationCommand"; export * from "./commands/GetBucketLocationCommand"; @@ -51,6 +53,7 @@ export * from "./commands/GetPublicAccessBlockCommand"; export * from "./commands/HeadBucketCommand"; export * from "./commands/HeadObjectCommand"; export * from "./commands/ListBucketAnalyticsConfigurationsCommand"; +export * from "./commands/ListBucketIntelligentTieringConfigurationsCommand"; export * from "./commands/ListBucketInventoryConfigurationsCommand"; export * from "./commands/ListBucketMetricsConfigurationsCommand"; export * from "./commands/ListBucketsCommand"; @@ -60,11 +63,13 @@ export * from "./commands/ListObjectsV2Command"; export * from "./pagination/ListObjectsV2Paginator"; export * from "./commands/ListObjectVersionsCommand"; export * from "./commands/ListPartsCommand"; +export * from "./pagination/ListPartsPaginator"; export * from "./commands/PutBucketAccelerateConfigurationCommand"; export * from "./commands/PutBucketAclCommand"; export * from "./commands/PutBucketAnalyticsConfigurationCommand"; export * from "./commands/PutBucketCorsCommand"; export * from "./commands/PutBucketEncryptionCommand"; +export * from "./commands/PutBucketIntelligentTieringConfigurationCommand"; export * from "./commands/PutBucketInventoryConfigurationCommand"; export * from "./commands/PutBucketLifecycleConfigurationCommand"; export * from "./commands/PutBucketLoggingCommand"; diff --git a/clients/client-s3/models/models_0.ts b/clients/client-s3/models/models_0.ts index d25ef12197b7..94a479a09ad5 100644 --- a/clients/client-s3/models/models_0.ts +++ b/clients/client-s3/models/models_0.ts @@ -3,13 +3,15 @@ import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; import { Readable } from "stream"; /** - *

                                                                                                                                                                                        Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see - * Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy - * in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will + * wait before permanently removing all parts of the upload. For more information, see + * Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy in the + * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ export interface AbortIncompleteMultipartUpload { /** - *

                                                                                                                                                                                        Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the number of days after which Amazon S3 aborts an incomplete multipart + * upload.

                                                                                                                                                                                        */ DaysAfterInitiation?: number; } @@ -24,7 +26,8 @@ export type RequestCharged = "requester"; export interface AbortMultipartUploadOutput { /** - *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                        */ RequestCharged?: RequestCharged | string; } @@ -38,6 +41,18 @@ export namespace AbortMultipartUploadOutput { export type RequestPayer = "requester"; export interface AbortMultipartUploadRequest { + /** + *

                                                                                                                                                                                        The bucket name to which the upload was taking place.

                                                                                                                                                                                        + *

                                                                                                                                                                                        When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + */ + Bucket: string | undefined; + + /** + *

                                                                                                                                                                                        Key of the object for which the multipart upload was initiated.

                                                                                                                                                                                        + */ + Key: string | undefined; + /** *

                                                                                                                                                                                        Upload ID that identifies the multipart upload.

                                                                                                                                                                                        */ @@ -46,8 +61,8 @@ export interface AbortMultipartUploadRequest { /** *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                        + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                        */ RequestPayer?: RequestPayer | string; @@ -55,18 +70,6 @@ export interface AbortMultipartUploadRequest { *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ ExpectedBucketOwner?: string; - - /** - *

                                                                                                                                                                                        Key of the object for which the multipart upload was initiated.

                                                                                                                                                                                        - */ - Key: string | undefined; - - /** - *

                                                                                                                                                                                        The bucket name to which the upload was taking place.

                                                                                                                                                                                        - *

                                                                                                                                                                                        When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        - *

                                                                                                                                                                                        When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        - */ - Bucket: string | undefined; } export namespace AbortMultipartUploadRequest { @@ -92,9 +95,10 @@ export namespace NoSuchUpload { export type BucketAccelerateStatus = "Enabled" | "Suspended"; /** - *

                                                                                                                                                                                        Configures the transfer acceleration state for an Amazon S3 bucket. - * For more information, see Amazon S3 Transfer Acceleration in the - * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see + * Amazon S3 + * Transfer Acceleration in the Amazon Simple Storage Service Developer + * Guide.

                                                                                                                                                                                        */ export interface AccelerateConfiguration { /** @@ -115,6 +119,11 @@ export type Type = "AmazonCustomerByEmail" | "CanonicalUser" | "Group"; *

                                                                                                                                                                                        Container for the person being granted permissions.

                                                                                                                                                                                        */ export interface Grantee { + /** + *

                                                                                                                                                                                        Screen name of the grantee.

                                                                                                                                                                                        + */ + DisplayName?: string; + /** *

                                                                                                                                                                                        Email address of the grantee.

                                                                                                                                                                                        * @@ -151,20 +160,15 @@ export interface Grantee { EmailAddress?: string; /** - *

                                                                                                                                                                                        Screen name of the grantee.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The canonical user ID of the grantee.

                                                                                                                                                                                        */ - DisplayName?: string; + ID?: string; /** *

                                                                                                                                                                                        URI of the grantee group.

                                                                                                                                                                                        */ URI?: string; - /** - *

                                                                                                                                                                                        The canonical user ID of the grantee.

                                                                                                                                                                                        - */ - ID?: string; - /** *

                                                                                                                                                                                        Type of grantee

                                                                                                                                                                                        */ @@ -250,7 +254,7 @@ export type OwnerOverride = "Destination"; export interface AccessControlTranslation { /** *

                                                                                                                                                                                        Specifies the replica ownership. For default and valid values, see PUT bucket - * replication in the Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        + * replication in the Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        */ Owner: OwnerOverride | string | undefined; } @@ -265,9 +269,9 @@ export type ServerSideEncryption = "AES256" | "aws:kms"; export interface CompleteMultipartUploadOutput { /** - *

                                                                                                                                                                                        If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The URI that identifies the newly created object.

                                                                                                                                                                                        */ - Expiration?: string; + Location?: string; /** *

                                                                                                                                                                                        The name of the bucket that contains the newly created object.

                                                                                                                                                                                        @@ -277,40 +281,50 @@ export interface CompleteMultipartUploadOutput { Bucket?: string; /** - *

                                                                                                                                                                                        If you specified server-side encryption either with an Amazon S3-managed encryption key or an AWS KMS customer master key (CMK) in your initiate multipart upload request, the response includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The object key of the newly created object.

                                                                                                                                                                                        */ - ServerSideEncryption?: ServerSideEncryption | string; + Key?: string; /** - *

                                                                                                                                                                                        If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key - * (CMK) that was used for the object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If the object expiration is configured, this will contain the expiration date + * (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.

                                                                                                                                                                                        */ - SSEKMSKeyId?: string; + Expiration?: string; /** - *

                                                                                                                                                                                        The URI that identifies the newly created object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Entity tag that identifies the newly created object's data. Objects with different + * object data will have different entity tags. The entity tag is an opaque string. The entity + * tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 + * digest of the object data, it will contain one or more nonhexadecimal characters and/or + * will consist of less than 32 or more than 32 hexadecimal digits.

                                                                                                                                                                                        */ - Location?: string; + ETag?: string; /** - *

                                                                                                                                                                                        Version ID of the newly created object, in case the bucket has versioning turned on.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If you specified server-side encryption either with an Amazon S3-managed encryption key or an + * AWS KMS customer master key (CMK) in your initiate multipart upload request, the response + * includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the + * object.

                                                                                                                                                                                        */ - VersionId?: string; + ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Version ID of the newly created object, in case the bucket has versioning turned + * on.

                                                                                                                                                                                        */ - RequestCharged?: RequestCharged | string; + VersionId?: string; /** - *

                                                                                                                                                                                        The object key of the newly created object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric + * customer managed customer master key (CMK) that was used for the object.

                                                                                                                                                                                        */ - Key?: string; + SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                        Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                        */ - ETag?: string; + RequestCharged?: RequestCharged | string; } export namespace CompleteMultipartUploadOutput { @@ -330,7 +344,8 @@ export interface CompletedPart { ETag?: string; /** - *

                                                                                                                                                                                        Part number that identifies the part. This is a positive integer between 1 and 10,000.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Part number that identifies the part. This is a positive integer between 1 and + * 10,000.

                                                                                                                                                                                        */ PartNumber?: number; } @@ -359,17 +374,9 @@ export namespace CompletedMultipartUpload { export interface CompleteMultipartUploadRequest { /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        - */ - ExpectedBucketOwner?: string; - - /** - *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                        */ - RequestPayer?: RequestPayer | string; + Bucket: string | undefined; /** *

                                                                                                                                                                                        Object key for which the multipart upload was initiated.

                                                                                                                                                                                        @@ -377,9 +384,9 @@ export interface CompleteMultipartUploadRequest { Key: string | undefined; /** - *

                                                                                                                                                                                        Name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The container for the multipart upload request information.

                                                                                                                                                                                        */ - Bucket: string | undefined; + MultipartUpload?: CompletedMultipartUpload; /** *

                                                                                                                                                                                        ID for the initiated multipart upload.

                                                                                                                                                                                        @@ -387,9 +394,17 @@ export interface CompleteMultipartUploadRequest { UploadId: string | undefined; /** - *

                                                                                                                                                                                        The container for the multipart upload request information.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                        */ - MultipartUpload?: CompletedMultipartUpload; + RequestPayer?: RequestPayer | string; + + /** + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + */ + ExpectedBucketOwner?: string; } export namespace CompleteMultipartUploadRequest { @@ -403,7 +418,9 @@ export namespace CompleteMultipartUploadRequest { */ export interface CopyObjectResult { /** - *

                                                                                                                                                                                        Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata. The source and destination ETag is identical for a successfully copied object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Returns the ETag of the new object. The ETag reflects only changes to the contents of an + * object, not its metadata. The source and destination ETag is identical for a successfully + * copied object.

                                                                                                                                                                                        */ ETag?: string; @@ -421,11 +438,9 @@ export namespace CopyObjectResult { export interface CopyObjectOutput { /** - *

                                                                                                                                                                                        If server-side encryption with a customer-provided encryption key was requested, the response - * will include this header to provide round-trip message integrity verification of the - * customer-provided encryption key.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Container for all response elements.

                                                                                                                                                                                        */ - SSECustomerKeyMD5?: string; + CopyObjectResult?: CopyObjectResult; /** *

                                                                                                                                                                                        If the object expiration is configured, the response includes this header.

                                                                                                                                                                                        @@ -433,53 +448,59 @@ export interface CopyObjectOutput { Expiration?: string; /** - *

                                                                                                                                                                                        Version ID of the newly created copy.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Version of the copied object in the destination bucket.

                                                                                                                                                                                        */ - VersionId?: string; + CopySourceVersionId?: string; /** - *

                                                                                                                                                                                        If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Version ID of the newly created copy.

                                                                                                                                                                                        */ - SSECustomerAlgorithm?: string; + VersionId?: string; /** - *

                                                                                                                                                                                        Version of the copied object in the destination bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The server-side encryption algorithm used when storing this object in Amazon S3 (for example, + * AES256, aws:kms).

                                                                                                                                                                                        */ - CopySourceVersionId?: string; + ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                        Container for all response elements.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                        */ - CopyObjectResult?: CopyObjectResult; + SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                        If present, specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header to provide round-trip message integrity verification of + * the customer-provided encryption key.

                                                                                                                                                                                        */ - SSEKMSEncryptionContext?: string; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                        The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric + * customer managed customer master key (CMK) that was used for the object.

                                                                                                                                                                                        */ - ServerSideEncryption?: ServerSideEncryption | string; + SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, specifies the AWS KMS Encryption Context to use for object encryption. The + * value of this header is a base64-encoded UTF-8 string holding JSON with the encryption + * context key-value pairs.

                                                                                                                                                                                        */ - RequestCharged?: RequestCharged | string; + SSEKMSEncryptionContext?: string; /** - *

                                                                                                                                                                                        If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key - * (CMK) that was used for the object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                        */ - SSEKMSKeyId?: string; + RequestCharged?: RequestCharged | string; } export namespace CopyObjectOutput { export const filterSensitiveLog = (obj: CopyObjectOutput): any => ({ ...obj, - ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }), + ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), }); } @@ -511,18 +532,6 @@ export type StorageClass = export type TaggingDirective = "COPY" | "REPLACE"; export interface CopyObjectRequest { - /** - *

                                                                                                                                                                                        The tag-set for the object destination object this value must be used in conjunction with the - * TaggingDirective. The tag-set must be encoded as URL Query - * parameters.

                                                                                                                                                                                        - */ - Tagging?: string; - - /** - *

                                                                                                                                                                                        Specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

                                                                                                                                                                                        - */ - SSEKMSEncryptionContext?: string; - /** *

                                                                                                                                                                                        The canned ACL to apply to the object.

                                                                                                                                                                                        *

                                                                                                                                                                                        This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                        @@ -530,19 +539,16 @@ export interface CopyObjectRequest { ACL?: ObjectCannedACL | string; /** - *

                                                                                                                                                                                        The date and time at which the object is no longer cacheable.

                                                                                                                                                                                        - */ - Expires?: Date; - - /** - *

                                                                                                                                                                                        The account id of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The name of the destination bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        Copies the object if it has been modified since the specified time.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies caching behavior along the request/reply chain.

                                                                                                                                                                                        */ - CopySourceIfModifiedSince?: Date; + CacheControl?: string; /** *

                                                                                                                                                                                        Specifies presentational information for the object.

                                                                                                                                                                                        @@ -550,22 +556,11 @@ export interface CopyObjectRequest { ContentDisposition?: string; /** - *

                                                                                                                                                                                        Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This - * value is used to store the object and then it is discarded; Amazon S3 does not store the - * encryption key. The key must be appropriate for use with the algorithm specified in the - * x-amz-server-side-encryption-customer-algorithm header.

                                                                                                                                                                                        - */ - SSECustomerKey?: string; - - /** - *

                                                                                                                                                                                        If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

                                                                                                                                                                                        - */ - WebsiteRedirectLocation?: string; - - /** - *

                                                                                                                                                                                        The date and time when you want the copied object's Object Lock to expire.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies what content encodings have been applied to the object and thus what decoding + * mechanisms must be applied to obtain the media-type referenced by the Content-Type header + * field.

                                                                                                                                                                                        */ - ObjectLockRetainUntilDate?: Date; + ContentEncoding?: string; /** *

                                                                                                                                                                                        The language the content is in.

                                                                                                                                                                                        @@ -573,42 +568,30 @@ export interface CopyObjectRequest { ContentLanguage?: string; /** - *

                                                                                                                                                                                        Allows grantee to read the object data and its metadata.

                                                                                                                                                                                        - *

                                                                                                                                                                                        This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                        - */ - GrantRead?: string; - - /** - *

                                                                                                                                                                                        Specifies whether you want to apply a Legal Hold to the copied object.

                                                                                                                                                                                        - */ - ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; - - /** - *

                                                                                                                                                                                        The key of the destination object.

                                                                                                                                                                                        - */ - Key: string | undefined; - - /** - *

                                                                                                                                                                                        Allows grantee to write the ACL for the applicable object.

                                                                                                                                                                                        - *

                                                                                                                                                                                        This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A standard MIME type describing the format of the object data.

                                                                                                                                                                                        */ - GrantWriteACP?: string; + ContentType?: string; /** - *

                                                                                                                                                                                        Specifies the source object for the copy operation. You specify the value in one of two formats, depending on whether you want - * to access the source object through an access point:

                                                                                                                                                                                        - *
                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the source object for the copy operation. You specify the value in one of two + * formats, depending on whether you want to access the source object through an access + * point:

                                                                                                                                                                                          + *
                                                                                                                                                                                            *
                                                                                                                                                                                          • - *

                                                                                                                                                                                            For objects not accessed through an access point, specify the name of the source bucket and the key of the source object, separated by a slash (/). - * For example, to copy the object reports/january.pdf from the bucket awsexamplebucket, use awsexamplebucket/reports/january.pdf. The value must be URL encoded.

                                                                                                                                                                                            - *
                                                                                                                                                                                          • + *

                                                                                                                                                                                            For objects not accessed through an access point, specify the name of the source + * bucket and the key of the source object, separated by a slash (/). For example, to + * copy the object reports/january.pdf from the bucket + * awsexamplebucket, use + * awsexamplebucket/reports/january.pdf. The value must be URL + * encoded.

                                                                                                                                                                                            + * *
                                                                                                                                                                                          • - *

                                                                                                                                                                                            For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format arn:aws:s3:::accesspoint//object/. For example, to copy the object reports/january.pdf through access point my-access-point owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf. The value must be URL encoded.

                                                                                                                                                                                            + *

                                                                                                                                                                                            For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format arn:aws:s3:::accesspoint//object/. For example, to copy the object reports/january.pdf through access point my-access-point owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf. The value must be URL encoded.

                                                                                                                                                                                            * *

                                                                                                                                                                                            Amazon S3 supports copy operations using access points only when the source and destination buckets are in the same AWS Region.

                                                                                                                                                                                            *
                                                                                                                                                                                            - *

                                                                                                                                                                                            Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format arn:aws:s3-outposts:::outpost//object/. For example, to copy the object reports/january.pdf through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf. The value must be URL encoded.

                                                                                                                                                                                            - *
                                                                                                                                                                                          • + *

                                                                                                                                                                                            Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format arn:aws:s3-outposts:::outpost//object/. For example, to copy the object reports/january.pdf through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf. The value must be URL encoded.

                                                                                                                                                                                            + * *
                                                                                                                                                                                          *

                                                                                                                                                                                          To copy a specific version of an object, append ?versionId= * to the value (for example, @@ -619,26 +602,43 @@ export interface CopyObjectRequest { CopySource: string | undefined; /** - *

                                                                                                                                                                                          Specifies the algorithm to use when decrypting the source object (for example, AES256).

                                                                                                                                                                                          + *

                                                                                                                                                                                          Copies the object if its entity tag (ETag) matches the specified tag.

                                                                                                                                                                                          */ - CopySourceSSECustomerAlgorithm?: string; + CopySourceIfMatch?: string; /** - *

                                                                                                                                                                                          Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Copies the object if it has been modified since the specified time.

                                                                                                                                                                                          */ - CopySourceSSECustomerKey?: string; + CopySourceIfModifiedSince?: Date; /** - *

                                                                                                                                                                                          Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses - * this header for a message integrity check to ensure that the encryption key was transmitted - * without error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Copies the object if its entity tag (ETag) is different than the specified ETag.

                                                                                                                                                                                          */ - CopySourceSSECustomerKeyMD5?: string; + CopySourceIfNoneMatch?: string; /** - *

                                                                                                                                                                                          Specifies caching behavior along the request/reply chain.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Copies the object if it hasn't been modified since the specified time.

                                                                                                                                                                                          */ - CacheControl?: string; + CopySourceIfUnmodifiedSince?: Date; + + /** + *

                                                                                                                                                                                          The date and time at which the object is no longer cacheable.

                                                                                                                                                                                          + */ + Expires?: Date; + + /** + *

                                                                                                                                                                                          Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the + * object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          + */ + GrantFullControl?: string; + + /** + *

                                                                                                                                                                                          Allows grantee to read the object data and its + * metadata.

                                                                                                                                                                                          + *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          + */ + GrantRead?: string; /** *

                                                                                                                                                                                          Allows grantee to read the object ACL.

                                                                                                                                                                                          @@ -647,12 +647,16 @@ export interface CopyObjectRequest { GrantReadACP?: string; /** - *

                                                                                                                                                                                          Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Allows grantee to write the ACL for the applicable + * object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          */ - RequestPayer?: RequestPayer | string; + GrantWriteACP?: string; + + /** + *

                                                                                                                                                                                          The key of the destination object.

                                                                                                                                                                                          + */ + Key: string | undefined; /** *

                                                                                                                                                                                          A map of metadata to store with the object in S3.

                                                                                                                                                                                          @@ -660,113 +664,151 @@ export interface CopyObjectRequest { Metadata?: { [key: string]: string }; /** - *

                                                                                                                                                                                          Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses - * this header for a message integrity check to ensure that the encryption key was transmitted - * without error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies whether the metadata is copied from the source object or replaced with + * metadata provided in the request.

                                                                                                                                                                                          */ - SSECustomerKeyMD5?: string; + MetadataDirective?: MetadataDirective | string; /** - *

                                                                                                                                                                                          Specifies whether the object tag-set are copied from the source object or replaced with tag-set provided in the request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies whether the object tag-set are copied from the source object or replaced with + * tag-set provided in the request.

                                                                                                                                                                                          */ TaggingDirective?: TaggingDirective | string; /** - *

                                                                                                                                                                                          Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The server-side encryption algorithm used when storing this object in Amazon S3 (for example, + * AES256, aws:kms).

                                                                                                                                                                                          */ - ContentEncoding?: string; + ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                          Copies the object if it hasn't been modified since the specified time.

                                                                                                                                                                                          + *

                                                                                                                                                                                          By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The + * STANDARD storage class provides high durability and high availability. Depending on + * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses + * the OUTPOSTS Storage Class. For more information, see Storage Classes in the Amazon S3 + * Service Developer Guide.

                                                                                                                                                                                          */ - CopySourceIfUnmodifiedSince?: Date; + StorageClass?: StorageClass | string; /** - *

                                                                                                                                                                                          A standard MIME type describing the format of the object data.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If the bucket is configured as a website, redirects requests for this object to another + * object in the same bucket or to an external URL. Amazon S3 stores the value of this header in + * the object metadata.

                                                                                                                                                                                          */ - ContentType?: string; + WebsiteRedirectLocation?: string; /** - *

                                                                                                                                                                                          Specifies the algorithm to use to when encrypting the object (for example, AES256).

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the algorithm to use to when encrypting the object (for example, + * AES256).

                                                                                                                                                                                          */ SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                          Copies the object if its entity tag (ETag) matches the specified tag.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This + * value is used to store the object and then it is discarded; Amazon S3 does not store the + * encryption key. The key must be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

                                                                                                                                                                                          */ - CopySourceIfMatch?: string; + SSECustomerKey?: string; /** - *

                                                                                                                                                                                          The name of the destination bucket.

                                                                                                                                                                                          - *

                                                                                                                                                                                          When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          - *

                                                                                                                                                                                          When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses + * this header for a message integrity check to ensure that the encryption key was transmitted + * without error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                          The Object Lock mode that you want to apply to the copied object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for + * an object protected by AWS KMS will fail if not made via SSL or using SigV4. For + * information about configuring using any of the officially supported AWS SDKs and AWS CLI, + * see Specifying the + * Signature Version in Request Authentication in the Amazon S3 Developer + * Guide.

                                                                                                                                                                                          */ - ObjectLockMode?: ObjectLockMode | string; + SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                          Specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for an - * object protected by AWS KMS will fail if not made via SSL or using SigV4. For information - * about configuring using any of the officially supported AWS SDKs and AWS CLI, see Specifying the Signature Version in Request Authentication - * in the Amazon S3 Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the AWS KMS Encryption Context to use for object encryption. The value of this + * header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value + * pairs.

                                                                                                                                                                                          */ - SSEKMSKeyId?: string; + SSEKMSEncryptionContext?: string; /** - *

                                                                                                                                                                                          The account id of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the algorithm to use when decrypting the source object (for example, + * AES256).

                                                                                                                                                                                          */ - ExpectedSourceBucketOwner?: string; + CopySourceSSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                          The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source + * object. The encryption key provided in this header must be one that was used when the + * source object was created.

                                                                                                                                                                                          */ - ServerSideEncryption?: ServerSideEncryption | string; + CopySourceSSECustomerKey?: string; /** - *

                                                                                                                                                                                          Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses + * this header for a message integrity check to ensure that the encryption key was transmitted + * without error.

                                                                                                                                                                                          */ - MetadataDirective?: MetadataDirective | string; + CopySourceSSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                          Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

                                                                                                                                                                                          - *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                          */ - GrantFullControl?: string; + RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                          Copies the object if its entity tag (ETag) is different than the specified ETag.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The tag-set for the object destination object this value must be used in conjunction + * with the TaggingDirective. The tag-set must be encoded as URL Query + * parameters.

                                                                                                                                                                                          */ - CopySourceIfNoneMatch?: string; + Tagging?: string; /** - *

                                                                                                                                                                                          By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. - * The STANDARD storage class provides high durability and high availability. Depending on - * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only - * uses the OUTPOSTS Storage Class. For more information, see - * Storage Classes in the - * Amazon S3 Service Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The Object Lock mode that you want to apply to the copied object.

                                                                                                                                                                                          */ - StorageClass?: StorageClass | string; + ObjectLockMode?: ObjectLockMode | string; + + /** + *

                                                                                                                                                                                          The date and time when you want the copied object's Object Lock to expire.

                                                                                                                                                                                          + */ + ObjectLockRetainUntilDate?: Date; + + /** + *

                                                                                                                                                                                          Specifies whether you want to apply a Legal Hold to the copied object.

                                                                                                                                                                                          + */ + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; + + /** + *

                                                                                                                                                                                          The account id of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + */ + ExpectedBucketOwner?: string; + + /** + *

                                                                                                                                                                                          The account id of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + */ + ExpectedSourceBucketOwner?: string; } export namespace CopyObjectRequest { export const filterSensitiveLog = (obj: CopyObjectRequest): any => ({ ...obj, - ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }), - ...(obj.CopySourceSSECustomerKey && { CopySourceSSECustomerKey: SENSITIVE_STRING }), ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }), + ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), + ...(obj.CopySourceSSECustomerKey && { CopySourceSSECustomerKey: SENSITIVE_STRING }), }); } /** - *

                                                                                                                                                                                          The source object of the COPY operation is not in the active tier and is only stored in Amazon - * S3 Glacier.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The source object of the COPY operation is not in the active tier and is only stored in + * Amazon S3 Glacier.

                                                                                                                                                                                          */ export interface ObjectNotInActiveTierError extends __SmithyException, $MetadataBearer { name: "ObjectNotInActiveTierError"; @@ -780,8 +822,8 @@ export namespace ObjectNotInActiveTierError { } /** - *

                                                                                                                                                                                          The requested bucket name is not available. The bucket namespace is shared by all users of the - * system. Select a different name and try again.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The requested bucket name is not available. The bucket namespace is shared by all users + * of the system. Select a different name and try again.

                                                                                                                                                                                          */ export interface BucketAlreadyExists extends __SmithyException, $MetadataBearer { name: "BucketAlreadyExists"; @@ -860,8 +902,8 @@ export type BucketLocationConstraint = */ export interface CreateBucketConfiguration { /** - *

                                                                                                                                                                                          Specifies the Region where the bucket will be created. If you don't specify a Region, the - * bucket is created in the US East (N. Virginia) Region (us-east-1).

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the Region where the bucket will be created. If you don't specify a Region, + * the bucket is created in the US East (N. Virginia) Region (us-east-1).

                                                                                                                                                                                          */ LocationConstraint?: BucketLocationConstraint | string; } @@ -874,39 +916,40 @@ export namespace CreateBucketConfiguration { export interface CreateBucketRequest { /** - *

                                                                                                                                                                                          Allows grantee to read the bucket ACL.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The canned ACL to apply to the bucket.

                                                                                                                                                                                          */ - GrantReadACP?: string; + ACL?: BucketCannedACL | string; /** - *

                                                                                                                                                                                          Allows grantee to list the objects in the bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket to create.

                                                                                                                                                                                          */ - GrantRead?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          The canned ACL to apply to the bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The configuration information for the bucket.

                                                                                                                                                                                          */ - ACL?: BucketCannedACL | string; + CreateBucketConfiguration?: CreateBucketConfiguration; /** - *

                                                                                                                                                                                          Allows grantee to create, overwrite, and delete any object in the bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Allows grantee the read, write, read ACP, and write ACP permissions on the + * bucket.

                                                                                                                                                                                          */ - GrantWrite?: string; + GrantFullControl?: string; /** - *

                                                                                                                                                                                          The name of the bucket to create.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Allows grantee to list the objects in the bucket.

                                                                                                                                                                                          */ - Bucket: string | undefined; + GrantRead?: string; /** - *

                                                                                                                                                                                          Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Allows grantee to read the bucket ACL.

                                                                                                                                                                                          */ - GrantFullControl?: string; + GrantReadACP?: string; /** - *

                                                                                                                                                                                          Specifies whether you want S3 Object Lock to be enabled for the new bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Allows grantee to create, overwrite, and delete any object in the bucket.

                                                                                                                                                                                          */ - ObjectLockEnabledForBucket?: boolean; + GrantWrite?: string; /** *

                                                                                                                                                                                          Allows grantee to write the ACL for the applicable bucket.

                                                                                                                                                                                          @@ -914,9 +957,9 @@ export interface CreateBucketRequest { GrantWriteACP?: string; /** - *

                                                                                                                                                                                          The configuration information for the bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies whether you want S3 Object Lock to be enabled for the new bucket.

                                                                                                                                                                                          */ - CreateBucketConfiguration?: CreateBucketConfiguration; + ObjectLockEnabledForBucket?: boolean; } export namespace CreateBucketRequest { @@ -927,15 +970,30 @@ export namespace CreateBucketRequest { export interface CreateMultipartUploadOutput { /** - *

                                                                                                                                                                                          If present, specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If the bucket has a lifecycle rule configured with an action to abort incomplete + * multipart uploads and the prefix in the lifecycle rule matches the object name in the + * request, the response includes this header. The header indicates when the initiated + * multipart upload becomes eligible for an abort operation. For more information, see + * Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

                                                                                                                                                                                          + * + *

                                                                                                                                                                                          The response also includes the x-amz-abort-rule-id header that provides the + * ID of the lifecycle configuration rule that defines this action.

                                                                                                                                                                                          + */ + AbortDate?: Date; + + /** + *

                                                                                                                                                                                          This header is returned along with the x-amz-abort-date header. It + * identifies the applicable lifecycle configuration rule that defines the action to abort + * incomplete multipart uploads.

                                                                                                                                                                                          */ - SSEKMSEncryptionContext?: string; + AbortRuleId?: string; /** - *

                                                                                                                                                                                          The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                          + *

                                                                                                                                                                                          When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          */ - ServerSideEncryption?: ServerSideEncryption | string; + Bucket?: string; /** *

                                                                                                                                                                                          Object key for which the multipart upload was initiated.

                                                                                                                                                                                          @@ -943,70 +1001,63 @@ export interface CreateMultipartUploadOutput { Key?: string; /** - *

                                                                                                                                                                                          If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          ID for the initiated multipart upload.

                                                                                                                                                                                          */ - RequestCharged?: RequestCharged | string; + UploadId?: string; /** - *

                                                                                                                                                                                          If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the prefix in the lifecycle rule matches the object name in the request, the response includes this header. The header indicates when the initiated multipart upload becomes eligible for an abort operation. For more information, see - * Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

                                                                                                                                                                                          - * - *

                                                                                                                                                                                          The response also includes the x-amz-abort-rule-id header that provides the - * ID of the lifecycle configuration rule that defines this action.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The server-side encryption algorithm used when storing this object in Amazon S3 (for example, + * AES256, aws:kms).

                                                                                                                                                                                          */ - AbortDate?: Date; + ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                          If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                          */ SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                          The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                          - *

                                                                                                                                                                                          When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          - *

                                                                                                                                                                                          When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header to provide round-trip message integrity verification of + * the customer-provided encryption key.

                                                                                                                                                                                          */ - Bucket?: string; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                          If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key - * (CMK) that was used for the object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric + * customer managed customer master key (CMK) that was used for the object.

                                                                                                                                                                                          */ SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                          This header is returned along with the x-amz-abort-date header. It identifies the - * applicable lifecycle configuration rule that defines the action to abort incomplete - * multipart uploads.

                                                                                                                                                                                          - */ - AbortRuleId?: string; - - /** - *

                                                                                                                                                                                          If server-side encryption with a customer-provided encryption key was requested, the response - * will include this header to provide round-trip message integrity verification of the - * customer-provided encryption key.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If present, specifies the AWS KMS Encryption Context to use for object encryption. The + * value of this header is a base64-encoded UTF-8 string holding JSON with the encryption + * context key-value pairs.

                                                                                                                                                                                          */ - SSECustomerKeyMD5?: string; + SSEKMSEncryptionContext?: string; /** - *

                                                                                                                                                                                          ID for the initiated multipart upload.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                          */ - UploadId?: string; + RequestCharged?: RequestCharged | string; } export namespace CreateMultipartUploadOutput { export const filterSensitiveLog = (obj: CreateMultipartUploadOutput): any => ({ ...obj, - ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }), + ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), }); } export interface CreateMultipartUploadRequest { /** - *

                                                                                                                                                                                          A map of metadata to store with the object in S3.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The canned ACL to apply to the object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          */ - Metadata?: { [key: string]: string }; + ACL?: ObjectCannedACL | string; /** *

                                                                                                                                                                                          The name of the bucket to which to initiate the upload

                                                                                                                                                                                          @@ -1016,102 +1067,101 @@ export interface CreateMultipartUploadRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                          Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

                                                                                                                                                                                          - *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies caching behavior along the request/reply chain.

                                                                                                                                                                                          */ - GrantFullControl?: string; + CacheControl?: string; /** - *

                                                                                                                                                                                          Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses - * this header for a message integrity check to ensure that the encryption key was transmitted - * without error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies presentational information for the object.

                                                                                                                                                                                          */ - SSECustomerKeyMD5?: string; + ContentDisposition?: string; /** - *

                                                                                                                                                                                          Specifies the algorithm to use to when encrypting the object (for example, AES256).

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies what content encodings have been applied to the object and thus what decoding + * mechanisms must be applied to obtain the media-type referenced by the Content-Type header + * field.

                                                                                                                                                                                          */ - SSECustomerAlgorithm?: string; + ContentEncoding?: string; /** - *

                                                                                                                                                                                          Object key for which the multipart upload is to be initiated.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The language the content is in.

                                                                                                                                                                                          */ - Key: string | undefined; + ContentLanguage?: string; /** - *

                                                                                                                                                                                          Specifies the ID of the symmetric customer managed AWS KMS CMK to use for object encryption. All GET and PUT requests for an - * object protected by AWS KMS will fail if not made via SSL or using SigV4. For information - * about configuring using any of the officially supported AWS SDKs and AWS CLI, see Specifying the Signature Version in Request Authentication - * in the Amazon S3 Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          A standard MIME type describing the format of the object data.

                                                                                                                                                                                          */ - SSEKMSKeyId?: string; + ContentType?: string; /** - *

                                                                                                                                                                                          Specifies whether you want to apply a Legal Hold to the uploaded object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The date and time at which the object is no longer cacheable.

                                                                                                                                                                                          */ - ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; + Expires?: Date; /** - *

                                                                                                                                                                                          Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the + * object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          */ - RequestPayer?: RequestPayer | string; + GrantFullControl?: string; /** - *

                                                                                                                                                                                          Allows grantee to read the object data and its metadata.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Allows grantee to read the object data and its + * metadata.

                                                                                                                                                                                          *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          */ GrantRead?: string; /** - *

                                                                                                                                                                                          Allows grantee to write the ACL for the applicable object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Allows grantee to read the object ACL.

                                                                                                                                                                                          *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          */ - GrantWriteACP?: string; - - /** - *

                                                                                                                                                                                          If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

                                                                                                                                                                                          - */ - WebsiteRedirectLocation?: string; + GrantReadACP?: string; /** - *

                                                                                                                                                                                          A standard MIME type describing the format of the object data.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Allows grantee to write the ACL for the applicable + * object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          */ - ContentType?: string; + GrantWriteACP?: string; /** - *

                                                                                                                                                                                          The language the content is in.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Object key for which the multipart upload is to be initiated.

                                                                                                                                                                                          */ - ContentLanguage?: string; + Key: string | undefined; /** - *

                                                                                                                                                                                          Specifies caching behavior along the request/reply chain.

                                                                                                                                                                                          + *

                                                                                                                                                                                          A map of metadata to store with the object in S3.

                                                                                                                                                                                          */ - CacheControl?: string; + Metadata?: { [key: string]: string }; /** - *

                                                                                                                                                                                          Allows grantee to read the object ACL.

                                                                                                                                                                                          - *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The server-side encryption algorithm used when storing this object in Amazon S3 (for example, + * AES256, aws:kms).

                                                                                                                                                                                          */ - GrantReadACP?: string; + ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                          The tag-set for the object. The tag-set must be encoded as URL Query parameters.

                                                                                                                                                                                          + *

                                                                                                                                                                                          By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The + * STANDARD storage class provides high durability and high availability. Depending on + * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses + * the OUTPOSTS Storage Class. For more information, see Storage Classes in the Amazon S3 + * Service Developer Guide.

                                                                                                                                                                                          */ - Tagging?: string; + StorageClass?: StorageClass | string; /** - *

                                                                                                                                                                                          Specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If the bucket is configured as a website, redirects requests for this object to another + * object in the same bucket or to an external URL. Amazon S3 stores the value of this header in + * the object metadata.

                                                                                                                                                                                          */ - SSEKMSEncryptionContext?: string; + WebsiteRedirectLocation?: string; /** - *

                                                                                                                                                                                          The canned ACL to apply to the object.

                                                                                                                                                                                          - *

                                                                                                                                                                                          This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the algorithm to use to when encrypting the object (for example, + * AES256).

                                                                                                                                                                                          */ - ACL?: ObjectCannedACL | string; + SSECustomerAlgorithm?: string; /** *

                                                                                                                                                                                          Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This @@ -1122,30 +1172,40 @@ export interface CreateMultipartUploadRequest { SSECustomerKey?: string; /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses + * this header for a message integrity check to ensure that the encryption key was transmitted + * without error.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                          The date and time at which the object is no longer cacheable.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the ID of the symmetric customer managed AWS KMS CMK to use for object + * encryption. All GET and PUT requests for an object protected by AWS KMS will fail if not + * made via SSL or using SigV4. For information about configuring using any of the officially + * supported AWS SDKs and AWS CLI, see Specifying the Signature Version in Request Authentication + * in the Amazon S3 Developer Guide.

                                                                                                                                                                                          */ - Expires?: Date; + SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                          Specifies the date and time when you want the Object Lock to expire.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the AWS KMS Encryption Context to use for object encryption. The value of this + * header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value + * pairs.

                                                                                                                                                                                          */ - ObjectLockRetainUntilDate?: Date; + SSEKMSEncryptionContext?: string; /** - *

                                                                                                                                                                                          The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).

                                                                                                                                                                                          + *

                                                                                                                                                                                          Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                          */ - ServerSideEncryption?: ServerSideEncryption | string; + RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                          Specifies presentational information for the object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The tag-set for the object. The tag-set must be encoded as URL Query parameters.

                                                                                                                                                                                          */ - ContentDisposition?: string; + Tagging?: string; /** *

                                                                                                                                                                                          Specifies the Object Lock mode that you want to apply to the uploaded object.

                                                                                                                                                                                          @@ -1153,40 +1213,40 @@ export interface CreateMultipartUploadRequest { ObjectLockMode?: ObjectLockMode | string; /** - *

                                                                                                                                                                                          By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. - * The STANDARD storage class provides high durability and high availability. Depending on - * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only - * uses the OUTPOSTS Storage Class. For more information, see - * Storage Classes in the - * Amazon S3 Service Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the date and time when you want the Object Lock to expire.

                                                                                                                                                                                          */ - StorageClass?: StorageClass | string; + ObjectLockRetainUntilDate?: Date; /** - *

                                                                                                                                                                                          Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies whether you want to apply a Legal Hold to the uploaded object.

                                                                                                                                                                                          */ - ContentEncoding?: string; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; + + /** + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + */ + ExpectedBucketOwner?: string; } export namespace CreateMultipartUploadRequest { export const filterSensitiveLog = (obj: CreateMultipartUploadRequest): any => ({ ...obj, + ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }), ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }), ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), - ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }), }); } export interface DeleteBucketRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the bucket being deleted.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          Specifies the bucket being deleted.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace DeleteBucketRequest { @@ -1196,6 +1256,11 @@ export namespace DeleteBucketRequest { } export interface DeleteBucketAnalyticsConfigurationRequest { + /** + *

                                                                                                                                                                                          The name of the bucket from which an analytics configuration is deleted.

                                                                                                                                                                                          + */ + Bucket: string | undefined; + /** *

                                                                                                                                                                                          The ID that identifies the analytics configuration.

                                                                                                                                                                                          */ @@ -1205,11 +1270,6 @@ export interface DeleteBucketAnalyticsConfigurationRequest { *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ ExpectedBucketOwner?: string; - - /** - *

                                                                                                                                                                                          The name of the bucket from which an analytics configuration is deleted.

                                                                                                                                                                                          - */ - Bucket: string | undefined; } export namespace DeleteBucketAnalyticsConfigurationRequest { @@ -1220,14 +1280,14 @@ export namespace DeleteBucketAnalyticsConfigurationRequest { export interface DeleteBucketCorsRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the bucket whose cors configuration is being deleted.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          Specifies the bucket whose cors configuration is being deleted.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace DeleteBucketCorsRequest { @@ -1238,7 +1298,8 @@ export namespace DeleteBucketCorsRequest { export interface DeleteBucketEncryptionRequest { /** - *

                                                                                                                                                                                          The name of the bucket containing the server-side encryption configuration to delete.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket containing the server-side encryption configuration to + * delete.

                                                                                                                                                                                          */ Bucket: string | undefined; @@ -1254,12 +1315,25 @@ export namespace DeleteBucketEncryptionRequest { }); } -export interface DeleteBucketInventoryConfigurationRequest { +export interface DeleteBucketIntelligentTieringConfigurationRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; + + /** + *

                                                                                                                                                                                          The ID used to identify the S3 Intelligent-Tiering configuration.

                                                                                                                                                                                          + */ + Id: string | undefined; +} + +export namespace DeleteBucketIntelligentTieringConfigurationRequest { + export const filterSensitiveLog = (obj: DeleteBucketIntelligentTieringConfigurationRequest): any => ({ + ...obj, + }); +} +export interface DeleteBucketInventoryConfigurationRequest { /** *

                                                                                                                                                                                          The name of the bucket containing the inventory configuration to delete.

                                                                                                                                                                                          */ @@ -1269,6 +1343,11 @@ export interface DeleteBucketInventoryConfigurationRequest { *

                                                                                                                                                                                          The ID used to identify the inventory configuration.

                                                                                                                                                                                          */ Id: string | undefined; + + /** + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + */ + ExpectedBucketOwner?: string; } export namespace DeleteBucketInventoryConfigurationRequest { @@ -1297,9 +1376,9 @@ export namespace DeleteBucketLifecycleRequest { export interface DeleteBucketMetricsConfigurationRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket containing the metrics configuration to delete.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** *

                                                                                                                                                                                          The ID used to identify the metrics configuration.

                                                                                                                                                                                          @@ -1307,9 +1386,9 @@ export interface DeleteBucketMetricsConfigurationRequest { Id: string | undefined; /** - *

                                                                                                                                                                                          The name of the bucket containing the metrics configuration to delete.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace DeleteBucketMetricsConfigurationRequest { @@ -1319,11 +1398,15 @@ export namespace DeleteBucketMetricsConfigurationRequest { } export interface DeleteBucketOwnershipControlsRequest { - ExpectedBucketOwner?: string; /** *

                                                                                                                                                                                          The Amazon S3 bucket whose OwnershipControls you want to delete.

                                                                                                                                                                                          */ Bucket: string | undefined; + + /** + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + */ + ExpectedBucketOwner?: string; } export namespace DeleteBucketOwnershipControlsRequest { @@ -1352,9 +1435,7 @@ export namespace DeleteBucketPolicyRequest { export interface DeleteBucketReplicationRequest { /** - *

                                                                                                                                                                                          - * The bucket name. - *

                                                                                                                                                                                          + *

                                                                                                                                                                                          The bucket name.

                                                                                                                                                                                          */ Bucket: string | undefined; @@ -1372,14 +1453,14 @@ export namespace DeleteBucketReplicationRequest { export interface DeleteBucketTaggingRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The bucket that has the tag set to be removed.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          The bucket that has the tag set to be removed.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace DeleteBucketTaggingRequest { @@ -1390,14 +1471,14 @@ export namespace DeleteBucketTaggingRequest { export interface DeleteBucketWebsiteRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The bucket name for which you want to remove the website configuration.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          The bucket name for which you want to remove the website configuration.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace DeleteBucketWebsiteRequest { @@ -1408,19 +1489,22 @@ export namespace DeleteBucketWebsiteRequest { export interface DeleteObjectOutput { /** - *

                                                                                                                                                                                          Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies whether the versioned object that was permanently deleted was (true) or was + * not (false) a delete marker.

                                                                                                                                                                                          */ DeleteMarker?: boolean; /** - *

                                                                                                                                                                                          If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Returns the version ID of the delete marker created as a result of the DELETE + * operation.

                                                                                                                                                                                          */ - RequestCharged?: RequestCharged | string; + VersionId?: string; /** - *

                                                                                                                                                                                          Returns the version ID of the delete marker created as a result of the DELETE operation.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                          */ - VersionId?: string; + RequestCharged?: RequestCharged | string; } export namespace DeleteObjectOutput { @@ -1438,16 +1522,16 @@ export interface DeleteObjectRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                          The concatenation of the authentication device's serial number, a space, and the value that is - * displayed on your authentication device. Required to permanently delete a versioned object - * if versioning is configured with MFA delete enabled.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Key name of the object to delete.

                                                                                                                                                                                          */ - MFA?: string; + Key: string | undefined; /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The concatenation of the authentication device's serial number, a space, and the value + * that is displayed on your authentication device. Required to permanently delete a versioned + * object if versioning is configured with MFA delete enabled.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + MFA?: string; /** *

                                                                                                                                                                                          VersionId used to reference a specific version of the object.

                                                                                                                                                                                          @@ -1455,22 +1539,23 @@ export interface DeleteObjectRequest { VersionId?: string; /** - *

                                                                                                                                                                                          Key name of the object to delete.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                          */ - Key: string | undefined; + RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                          Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process this operation.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process + * this operation.

                                                                                                                                                                                          */ BypassGovernanceRetention?: boolean; /** - *

                                                                                                                                                                                          Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - RequestPayer?: RequestPayer | string; + ExpectedBucketOwner?: string; } export namespace DeleteObjectRequest { @@ -1483,11 +1568,6 @@ export namespace DeleteObjectRequest { *

                                                                                                                                                                                          Information about the deleted object.

                                                                                                                                                                                          */ export interface DeletedObject { - /** - *

                                                                                                                                                                                          Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or not (false) a delete marker was created.

                                                                                                                                                                                          - */ - DeleteMarker?: boolean; - /** *

                                                                                                                                                                                          The name of the deleted object.

                                                                                                                                                                                          */ @@ -1499,7 +1579,16 @@ export interface DeletedObject { VersionId?: string; /** - *

                                                                                                                                                                                          The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies whether the versioned object that was permanently deleted was (true) or was + * not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or + * not (false) a delete marker was created.

                                                                                                                                                                                          + */ + DeleteMarker?: boolean; + + /** + *

                                                                                                                                                                                          The version ID of the delete marker created as a result of the DELETE operation. If you + * delete a specific object version, the value returned by this header is the version ID of + * the object version deleted.

                                                                                                                                                                                          */ DeleteMarkerVersionId?: string; } @@ -1515,12 +1604,18 @@ export namespace DeletedObject { */ export interface _Error { /** - *

                                                                                                                                                                                          The error message contains a generic description of the error condition in English. It is intended for a human audience. Simple programs display the message directly to the end user if they encounter an error condition they don't know how or don't care to handle. Sophisticated programs with more exhaustive error handling and proper internationalization are more likely to ignore the error message.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The error key.

                                                                                                                                                                                          */ - Message?: string; + Key?: string; + + /** + *

                                                                                                                                                                                          The version ID of the error.

                                                                                                                                                                                          + */ + VersionId?: string; /** - *

                                                                                                                                                                                          The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The error code is a string that uniquely identifies an error condition. It is meant to + * be read and understood by programs that detect and handle errors by type.

                                                                                                                                                                                          *

                                                                                                                                                                                          * Amazon S3 error codes *

                                                                                                                                                                                          @@ -1553,9 +1648,9 @@ export interface _Error { * *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: There is a problem with your AWS account that prevents the operation - * from completing successfully. - * Contact AWS Support for further assistance.

                                                                                                                                                                                          + * Description: There is a problem with your AWS account + * that prevents the operation from completing successfully. Contact AWS Support + * for further assistance.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1575,8 +1670,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: All access to this Amazon S3 resource has been disabled. - * Contact AWS Support for further assistance.

                                                                                                                                                                                          + * Description: All access to this Amazon S3 resource has been + * disabled. Contact AWS Support for further assistance.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1596,8 +1691,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The email address you provided is associated with more than one - * account.

                                                                                                                                                                                          + * Description: The email address you provided is + * associated with more than one account.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1614,10 +1709,11 @@ export interface _Error { *

                                                                                                                                                                                        • *

                                                                                                                                                                                          * Code: AuthorizationHeaderMalformed

                                                                                                                                                                                          - *
                                                                                                                                                                                        • + * *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The authorization header you provided is invalid.

                                                                                                                                                                                          + * Description: The authorization header you provided is + * invalid.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1637,7 +1733,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The Content-MD5 you specified did not match what we received.

                                                                                                                                                                                          + * Description: The Content-MD5 you specified did not + * match what we received.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1657,9 +1754,9 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The requested bucket name is not available. The bucket namespace is - * shared by all users of the system. Please select a different name and - * try again.

                                                                                                                                                                                          + * Description: The requested bucket name is not + * available. The bucket namespace is shared by all users of the system. Please + * select a different name and try again.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1679,15 +1776,16 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The bucket you tried to create already exists, and you own - * it. Amazon S3 returns this error in all AWS Regions except in the North Virginia - * Region. For legacy compatibility, if you re-create an existing bucket that you - * already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the - * bucket access control lists (ACLs).

                                                                                                                                                                                          + * Description: The bucket you tried to create already + * exists, and you own it. Amazon S3 returns this error in all AWS Regions except in + * the North Virginia Region. For legacy compatibility, if you re-create an + * existing bucket that you already own in the North Virginia Region, Amazon S3 returns + * 200 OK and resets the bucket access control lists (ACLs).

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Code: 409 Conflict (in all Regions except the North Virginia Region)

                                                                                                                                                                                          + * Code: 409 Conflict (in all Regions except the North + * Virginia Region)

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1703,7 +1801,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The bucket you tried to delete is not empty.

                                                                                                                                                                                          + * Description: The bucket you tried to delete is not + * empty.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1723,7 +1822,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: This request does not support credentials.

                                                                                                                                                                                          + * Description: This request does not support + * credentials.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1743,8 +1843,9 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Cross-location logging not allowed. Buckets in one geographic - * location cannot log information to a bucket in another location.

                                                                                                                                                                                          + * Description: Cross-location logging not allowed. + * Buckets in one geographic location cannot log information to a bucket in + * another location.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1764,8 +1865,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Your proposed upload is smaller than the minimum allowed object - * size.

                                                                                                                                                                                          + * Description: Your proposed upload is smaller than the + * minimum allowed object size.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1785,7 +1886,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Your proposed upload exceeds the maximum allowed object size.

                                                                                                                                                                                          + * Description: Your proposed upload exceeds the maximum + * allowed object size.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1825,8 +1927,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Indicates that the versioning configuration specified in the request - * is invalid.

                                                                                                                                                                                          + * Description: Indicates that the versioning + * configuration specified in the request is invalid.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1846,8 +1948,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: You did not provide the number of bytes specified by the - * Content-Length HTTP header

                                                                                                                                                                                          + * Description: You did not provide the number of bytes + * specified by the Content-Length HTTP header

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1867,7 +1969,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: POST requires exactly one file upload per request.

                                                                                                                                                                                          + * Description: POST requires exactly one file upload per + * request.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1887,7 +1990,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Inline data exceeds the maximum allowed size.

                                                                                                                                                                                          + * Description: Inline data exceeds the maximum allowed + * size.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1907,7 +2011,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: We encountered an internal error. Please try again.

                                                                                                                                                                                          + * Description: We encountered an internal error. Please + * try again.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1927,7 +2032,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The AWS access key ID you provided does not exist in our records.

                                                                                                                                                                                          + * Description: The AWS access key ID you provided does + * not exist in our records.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -1947,7 +2053,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: You must specify the Anonymous role.

                                                                                                                                                                                          + * Description: You must specify the Anonymous + * role.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2007,7 +2114,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The request is not valid with the current state of the bucket.

                                                                                                                                                                                          + * Description: The request is not valid with the current + * state of the bucket.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2027,7 +2135,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The Content-MD5 you specified is not valid.

                                                                                                                                                                                          + * Description: The Content-MD5 you specified is not + * valid.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2047,7 +2156,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The encryption request you specified is not valid. The valid value is AES256.

                                                                                                                                                                                          + * Description: The encryption request you specified is + * not valid. The valid value is AES256.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2067,9 +2177,9 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The specified location constraint is not valid. For more information about Regions, see - * How to - * Select a Region for Your Buckets.

                                                                                                                                                                                          + * Description: The specified location constraint is not + * valid. For more information about Regions, see How to Select a + * Region for Your Buckets.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2089,7 +2199,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The operation is not valid for the current state of the object.

                                                                                                                                                                                          + * Description: The operation is not valid for the current + * state of the object.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2109,9 +2220,9 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: One or more of the specified parts could not be found. The part might not have been - * uploaded, or the specified entity tag might not have matched the part's - * entity tag.

                                                                                                                                                                                          + * Description: One or more of the specified parts could + * not be found. The part might not have been uploaded, or the specified entity + * tag might not have matched the part's entity tag.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2131,8 +2242,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The list of parts was not in ascending order. Parts list must be specified in order by - * part number.

                                                                                                                                                                                          + * Description: The list of parts was not in ascending + * order. Parts list must be specified in order by part number.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2152,8 +2263,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: All access to this object has been disabled. - * Please contact AWS Support for further assistance.

                                                                                                                                                                                          + * Description: All access to this object has been + * disabled. Please contact AWS Support for further assistance.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2173,8 +2284,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The content of the form does not meet the conditions specified in the - * policy document.

                                                                                                                                                                                          + * Description: The content of the form does not meet the + * conditions specified in the policy document.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2194,11 +2305,13 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The requested range cannot be satisfied.

                                                                                                                                                                                          + * Description: The requested range cannot be + * satisfied.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * HTTP Status Code: 416 Requested Range Not Satisfiable

                                                                                                                                                                                          + * HTTP Status Code: 416 Requested Range Not + * Satisfiable

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2234,7 +2347,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: SOAP requests must be made over an HTTPS connection.

                                                                                                                                                                                          + * Description: SOAP requests must be made over an HTTPS + * connection.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2254,8 +2368,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Amazon S3 Transfer Acceleration is not supported for buckets with non-DNS compliant - * names.

                                                                                                                                                                                          + * Description: Amazon S3 Transfer Acceleration is not + * supported for buckets with non-DNS compliant names.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2275,8 +2389,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Amazon S3 Transfer Acceleration is not supported for buckets with periods (.) in their - * names.

                                                                                                                                                                                          + * Description: Amazon S3 Transfer Acceleration is not + * supported for buckets with periods (.) in their names.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2296,7 +2410,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Amazon S3 Transfer Accelerate endpoint only supports virtual style requests.

                                                                                                                                                                                          + * Description: Amazon S3 Transfer Accelerate endpoint only + * supports virtual style requests.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2316,7 +2431,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Amazon S3 Transfer Accelerate is not configured on this bucket.

                                                                                                                                                                                          + * Description: Amazon S3 Transfer Accelerate is not configured + * on this bucket.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2336,7 +2452,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Amazon S3 Transfer Accelerate is disabled on this bucket.

                                                                                                                                                                                          + * Description: Amazon S3 Transfer Accelerate is disabled on + * this bucket.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2356,8 +2473,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Amazon S3 Transfer Acceleration is not supported on this bucket. Contact AWS Support for - * more information.

                                                                                                                                                                                          + * Description: Amazon S3 Transfer Acceleration is not + * supported on this bucket. Contact AWS Support for more information.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2377,8 +2494,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Amazon S3 Transfer Acceleration cannot be enabled on this bucket. Contact AWS Support for - * more information.

                                                                                                                                                                                          + * Description: Amazon S3 Transfer Acceleration cannot be + * enabled on this bucket. Contact AWS Support for more information.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2398,7 +2515,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The provided security credentials are not valid.

                                                                                                                                                                                          + * Description: The provided security credentials are not + * valid.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2438,7 +2556,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The storage class you specified is not valid.

                                                                                                                                                                                          + * Description: The storage class you specified is not + * valid.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2458,8 +2577,9 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The target bucket for logging does not exist, is not owned by you, or - * does not have the appropriate grants for the log-delivery group.

                                                                                                                                                                                          + * Description: The target bucket for logging does not + * exist, is not owned by you, or does not have the appropriate grants for the + * log-delivery group.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2479,7 +2599,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The provided token is malformed or otherwise invalid.

                                                                                                                                                                                          + * Description: The provided token is malformed or + * otherwise invalid.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2539,8 +2660,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The XML you provided was not well-formed or did not validate against - * our published schema.

                                                                                                                                                                                          + * Description: The XML you provided was not well-formed + * or did not validate against our published schema.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2560,8 +2681,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The body of your POST request is not well-formed - * multipart/form-data.

                                                                                                                                                                                          + * Description: The body of your POST request is not + * well-formed multipart/form-data.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2581,10 +2702,10 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: This happens when the user sends malformed XML (XML that doesn't conform to the - * published XSD) for the configuration. The error message is, "The XML you - * provided was not well-formed or did not validate against our published - * schema."

                                                                                                                                                                                          + * Description: This happens when the user sends malformed + * XML (XML that doesn't conform to the published XSD) for the configuration. The + * error message is, "The XML you provided was not well-formed or did not validate + * against our published schema."

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2624,8 +2745,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Your POST request fields preceding the upload file were too - * large.

                                                                                                                                                                                          + * Description: Your POST request fields preceding the + * upload file were too large.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2645,8 +2766,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Your metadata headers exceed the maximum allowed metadata - * size.

                                                                                                                                                                                          + * Description: Your metadata headers exceed the maximum + * allowed metadata size.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2666,7 +2787,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The specified method is not allowed against this resource.

                                                                                                                                                                                          + * Description: The specified method is not allowed + * against this resource.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2686,7 +2808,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: A SOAP attachment was expected, but none were found.

                                                                                                                                                                                          + * Description: A SOAP attachment was expected, but none + * were found.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2706,7 +2829,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: You must provide the Content-Length HTTP header.

                                                                                                                                                                                          + * Description: You must provide the Content-Length HTTP + * header.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2726,8 +2850,9 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: This happens when the user sends an empty XML document as a request. The error message - * is, "Request body is empty."

                                                                                                                                                                                          + * Description: This happens when the user sends an empty + * XML document as a request. The error message is, "Request body is empty." + *

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2747,7 +2872,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The SOAP 1.1 request is missing a security element.

                                                                                                                                                                                          + * Description: The SOAP 1.1 request is missing a security + * element.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2767,7 +2893,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Your request is missing a required header.

                                                                                                                                                                                          + * Description: Your request is missing a required + * header.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2787,8 +2914,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: There is no such thing as a logging status subresource for a - * key.

                                                                                                                                                                                          + * Description: There is no such thing as a logging status + * subresource for a key.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2808,7 +2935,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The specified bucket does not exist.

                                                                                                                                                                                          + * Description: The specified bucket does not + * exist.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2828,7 +2956,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The specified bucket does not have a bucket policy.

                                                                                                                                                                                          + * Description: The specified bucket does not have a + * bucket policy.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2868,7 +2997,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The lifecycle configuration does not exist.

                                                                                                                                                                                          + * Description: The lifecycle configuration does not + * exist.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2888,8 +3018,9 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The specified multipart upload does not exist. The upload ID might be invalid, or the - * multipart upload might have been aborted or completed.

                                                                                                                                                                                          + * Description: The specified multipart upload does not + * exist. The upload ID might be invalid, or the multipart upload might have been + * aborted or completed.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2909,8 +3040,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Indicates that the version ID specified in the request does not match - * an existing version.

                                                                                                                                                                                          + * Description: Indicates that the version ID specified in + * the request does not match an existing version.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2930,8 +3061,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: A header you provided implies functionality that is not - * implemented.

                                                                                                                                                                                          + * Description: A header you provided implies + * functionality that is not implemented.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2951,9 +3082,9 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Your account is not signed up for the Amazon S3 service. You must sign up - * before you can use Amazon S3. You can sign up at the following URL: - * https://aws.amazon.com/s3

                                                                                                                                                                                          + * Description: Your account is not signed up for the Amazon S3 + * service. You must sign up before you can use Amazon S3. You can sign up at the + * following URL: https://aws.amazon.com/s3

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2973,8 +3104,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: A conflicting conditional operation is currently in progress against - * this resource. Try again.

                                                                                                                                                                                          + * Description: A conflicting conditional operation is + * currently in progress against this resource. Try again.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -2994,9 +3125,9 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The bucket you are attempting to access must be addressed using the - * specified endpoint. Send all future requests to this - * endpoint.

                                                                                                                                                                                          + * Description: The bucket you are attempting to access + * must be addressed using the specified endpoint. Send all future requests to + * this endpoint.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3016,7 +3147,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: At least one of the preconditions you specified did not hold.

                                                                                                                                                                                          + * Description: At least one of the preconditions you + * specified did not hold.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3056,7 +3188,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Object restore is already in progress.

                                                                                                                                                                                          + * Description: Object restore is already in + * progress.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3077,7 +3210,7 @@ export interface _Error { *

                                                                                                                                                                                        • *

                                                                                                                                                                                          * Description: Bucket POST must be of the enclosure-type - * multipart/form-data.

                                                                                                                                                                                          + * multipart/form-data.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3097,8 +3230,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Your socket connection to the server was not read from or written to - * within the timeout period.

                                                                                                                                                                                          + * Description: Your socket connection to the server was + * not read from or written to within the timeout period.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3118,8 +3251,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The difference between the request time and the server's time is too - * large.

                                                                                                                                                                                          + * Description: The difference between the request time + * and the server's time is too large.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3139,7 +3272,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: Requesting the torrent file of a bucket is not permitted.

                                                                                                                                                                                          + * Description: Requesting the torrent file of a bucket is + * not permitted.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3159,9 +3293,11 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The request signature we calculated does not match the signature you - * provided. Check your AWS secret access key and signing method. For more - * information, see REST Authentication and SOAP Authentication for details.

                                                                                                                                                                                          + * Description: The request signature we calculated does + * not match the signature you provided. Check your AWS secret access key and + * signing method. For more information, see REST Authentication and + * SOAP Authentication + * for details.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3221,7 +3357,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: You are being redirected to the bucket while DNS updates.

                                                                                                                                                                                          + * Description: You are being redirected to the bucket + * while DNS updates.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3241,7 +3378,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The provided token must be refreshed.

                                                                                                                                                                                          + * Description: The provided token must be + * refreshed.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3261,7 +3399,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: You have attempted to create more buckets than allowed.

                                                                                                                                                                                          + * Description: You have attempted to create more buckets + * than allowed.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3281,7 +3420,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: This request does not support content.

                                                                                                                                                                                          + * Description: This request does not support + * content.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3301,8 +3441,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The email address you provided does not match any account on - * record.

                                                                                                                                                                                          + * Description: The email address you provided does not + * match any account on record.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3322,8 +3462,8 @@ export interface _Error { *

                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          - * Description: The bucket POST must contain the specified field name. If it is - * specified, check the order of the fields.

                                                                                                                                                                                          + * Description: The bucket POST must contain the specified + * field name. If it is specified, check the order of the fields.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          @@ -3341,14 +3481,13 @@ export interface _Error { Code?: string; /** - *

                                                                                                                                                                                          The error key.

                                                                                                                                                                                          - */ - Key?: string; - - /** - *

                                                                                                                                                                                          The version ID of the error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The error message contains a generic description of the error condition in English. It + * is intended for a human audience. Simple programs display the message directly to the end + * user if they encounter an error condition they don't know how or don't care to handle. + * Sophisticated programs with more exhaustive error handling and proper internationalization + * are more likely to ignore the error message.

                                                                                                                                                                                          */ - VersionId?: string; + Message?: string; } export namespace _Error { @@ -3359,19 +3498,22 @@ export namespace _Error { export interface DeleteObjectsOutput { /** - *

                                                                                                                                                                                          Container for a failed delete operation that describes the object that Amazon S3 attempted to delete and the error it encountered.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Container element for a successful delete. It identifies the object that was + * successfully deleted.

                                                                                                                                                                                          */ - Errors?: _Error[]; + Deleted?: DeletedObject[]; /** - *

                                                                                                                                                                                          Container element for a successful delete. It identifies the object that was successfully deleted.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                          */ - Deleted?: DeletedObject[]; + RequestCharged?: RequestCharged | string; /** - *

                                                                                                                                                                                          If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Container for a failed delete operation that describes the object that Amazon S3 attempted to + * delete and the error it encountered.

                                                                                                                                                                                          */ - RequestCharged?: RequestCharged | string; + Errors?: _Error[]; } export namespace DeleteObjectsOutput { @@ -3411,7 +3553,8 @@ export interface Delete { Objects: ObjectIdentifier[] | undefined; /** - *

                                                                                                                                                                                          Element to enable quiet mode for the request. When you add this element, you must set its value to true.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Element to enable quiet mode for the request. When you add this element, you must set + * its value to true.

                                                                                                                                                                                          */ Quiet?: boolean; } @@ -3424,41 +3567,42 @@ export namespace Delete { export interface DeleteObjectsRequest { /** - *

                                                                                                                                                                                          The concatenation of the authentication device's serial number, a space, and the value that is - * displayed on your authentication device. Required to permanently delete a versioned object - * if versioning is configured with MFA delete enabled.

                                                                                                                                                                                          - */ - MFA?: string; - - /** - *

                                                                                                                                                                                          Specifies whether you want to delete this object even if it has a Governance-type Object Lock in place. You must have sufficient permissions to perform this operation.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The bucket name containing the objects to delete.

                                                                                                                                                                                          + *

                                                                                                                                                                                          When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          */ - BypassGovernanceRetention?: boolean; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Container for the request.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Delete: Delete | undefined; /** - *

                                                                                                                                                                                          The bucket name containing the objects to delete.

                                                                                                                                                                                          - *

                                                                                                                                                                                          When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          - *

                                                                                                                                                                                          When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The concatenation of the authentication device's serial number, a space, and the value + * that is displayed on your authentication device. Required to permanently delete a versioned + * object if versioning is configured with MFA delete enabled.

                                                                                                                                                                                          */ - Bucket: string | undefined; + MFA?: string; /** *

                                                                                                                                                                                          Confirms that the requester knows that they will be charged for the request. Bucket * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                          + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                          */ RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                          Container for the request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies whether you want to delete this object even if it has a Governance-type Object + * Lock in place. You must have sufficient permissions to perform this operation.

                                                                                                                                                                                          */ - Delete: Delete | undefined; + BypassGovernanceRetention?: boolean; + + /** + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + */ + ExpectedBucketOwner?: string; } export namespace DeleteObjectsRequest { @@ -3494,14 +3638,14 @@ export interface DeleteObjectTaggingRequest { Key: string | undefined; /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The versionId of the object that the tag-set will be removed from.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + VersionId?: string; /** - *

                                                                                                                                                                                          The versionId of the object that the tag-set will be removed from.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - VersionId?: string; + ExpectedBucketOwner?: string; } export namespace DeleteObjectTaggingRequest { @@ -3512,15 +3656,15 @@ export namespace DeleteObjectTaggingRequest { export interface DeletePublicAccessBlockRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The Amazon S3 bucket whose PublicAccessBlock configuration you want to delete. + *

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          The Amazon S3 bucket whose PublicAccessBlock configuration you want to - * delete.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace DeletePublicAccessBlockRequest { @@ -3544,14 +3688,14 @@ export namespace GetBucketAccelerateConfigurationOutput { export interface GetBucketAccelerateConfigurationRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket for which the accelerate configuration is retrieved.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          The name of the bucket for which the accelerate configuration is retrieved.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketAccelerateConfigurationRequest { @@ -3580,14 +3724,14 @@ export namespace GetBucketAclOutput { export interface GetBucketAclRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the S3 bucket whose ACL is being requested.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          Specifies the S3 bucket whose ACL is being requested.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketAclRequest { @@ -3601,14 +3745,14 @@ export namespace GetBucketAclRequest { */ export interface Tag { /** - *

                                                                                                                                                                                          Value of the tag.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Name of the object key.

                                                                                                                                                                                          */ - Value: string | undefined; + Key: string | undefined; /** - *

                                                                                                                                                                                          Name of the object key.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Value of the tag.

                                                                                                                                                                                          */ - Key: string | undefined; + Value: string | undefined; } export namespace Tag { @@ -3618,11 +3762,14 @@ export namespace Tag { } /** - *

                                                                                                                                                                                          A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates in any combination, and an object must match all of the predicates for the filter to apply.

                                                                                                                                                                                          + *

                                                                                                                                                                                          A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. + * The operator must have at least two predicates in any combination, and an object must match + * all of the predicates for the filter to apply.

                                                                                                                                                                                          */ export interface AnalyticsAndOperator { /** - *

                                                                                                                                                                                          The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The prefix to use when evaluating an AND predicate: The prefix that an object must have + * to be included in the metrics results.

                                                                                                                                                                                          */ Prefix?: string; @@ -3639,7 +3786,9 @@ export namespace AnalyticsAndOperator { } /** - *

                                                                                                                                                                                          The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The filter used to describe a set of objects for analyses. A filter must have exactly + * one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, + * all objects will be considered in any analysis.

                                                                                                                                                                                          */ export interface AnalyticsFilter { /** @@ -3653,7 +3802,8 @@ export interface AnalyticsFilter { Tag?: Tag; /** - *

                                                                                                                                                                                          A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.

                                                                                                                                                                                          + *

                                                                                                                                                                                          A conjunction (logical AND) of predicates, which is used in evaluating an analytics + * filter. The operator must have at least two predicates.

                                                                                                                                                                                          */ And?: AnalyticsAndOperator; } @@ -3671,18 +3821,16 @@ export type AnalyticsS3ExportFileFormat = "CSV"; */ export interface AnalyticsS3BucketDestination { /** - *

                                                                                                                                                                                          The prefix to use when exporting data. The prefix is prepended to all results.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the file format used when exporting data to Amazon S3.

                                                                                                                                                                                          */ - Prefix?: string; + Format: AnalyticsS3ExportFileFormat | string | undefined; /** - *

                                                                                                                                                                                          The account ID that owns the destination S3 bucket. - * If no account ID is provided, the owner is not validated before exporting data.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account ID that owns the destination S3 bucket. If no account ID is provided, the + * owner is not validated before exporting data.

                                                                                                                                                                                          * - *

                                                                                                                                                                                          - * Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket - * ownership changes. - *

                                                                                                                                                                                          + *

                                                                                                                                                                                          Although this value is optional, we strongly recommend that you set it to help + * prevent problems if the destination bucket ownership changes.

                                                                                                                                                                                          *
                                                                                                                                                                                          */ BucketAccountId?: string; @@ -3693,9 +3841,9 @@ export interface AnalyticsS3BucketDestination { Bucket: string | undefined; /** - *

                                                                                                                                                                                          Specifies the file format used when exporting data to Amazon S3.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The prefix to use when exporting data. The prefix is prepended to all results.

                                                                                                                                                                                          */ - Format: AnalyticsS3ExportFileFormat | string | undefined; + Prefix?: string; } export namespace AnalyticsS3BucketDestination { @@ -3723,11 +3871,13 @@ export namespace AnalyticsExportDestination { export type StorageClassAnalysisSchemaVersion = "V_1"; /** - *

                                                                                                                                                                                          Container for data related to the storage class analysis for an Amazon S3 bucket for export.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Container for data related to the storage class analysis for an Amazon S3 bucket for + * export.

                                                                                                                                                                                          */ export interface StorageClassAnalysisDataExport { /** - *

                                                                                                                                                                                          The version of the output schema to use when exporting data. Must be V_1.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The version of the output schema to use when exporting data. Must be + * V_1.

                                                                                                                                                                                          */ OutputSchemaVersion: StorageClassAnalysisSchemaVersion | string | undefined; @@ -3744,11 +3894,13 @@ export namespace StorageClassAnalysisDataExport { } /** - *

                                                                                                                                                                                          Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies data related to access patterns to be collected and made available to analyze + * the tradeoffs between different storage classes for an Amazon S3 bucket.

                                                                                                                                                                                          */ export interface StorageClassAnalysis { /** - *

                                                                                                                                                                                          Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies how data related to the storage class analysis for an Amazon S3 bucket should be + * exported.

                                                                                                                                                                                          */ DataExport?: StorageClassAnalysisDataExport; } @@ -3760,26 +3912,27 @@ export namespace StorageClassAnalysis { } /** - *

                                                                                                                                                                                          - * Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the configuration and any analyses for the analytics filter of an Amazon S3 + * bucket.

                                                                                                                                                                                          */ export interface AnalyticsConfiguration { /** - *

                                                                                                                                                                                          - * Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes. - *

                                                                                                                                                                                          + *

                                                                                                                                                                                          The ID that identifies the analytics configuration.

                                                                                                                                                                                          */ - StorageClassAnalysis: StorageClassAnalysis | undefined; + Id: string | undefined; /** - *

                                                                                                                                                                                          The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The filter used to describe a set of objects for analyses. A filter must have exactly + * one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, + * all objects will be considered in any analysis.

                                                                                                                                                                                          */ Filter?: AnalyticsFilter; /** - *

                                                                                                                                                                                          The ID that identifies the analytics configuration.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Contains data related to access patterns to be collected and made available to analyze + * the tradeoffs between different storage classes.

                                                                                                                                                                                          */ - Id: string | undefined; + StorageClassAnalysis: StorageClassAnalysis | undefined; } export namespace AnalyticsConfiguration { @@ -3802,11 +3955,6 @@ export namespace GetBucketAnalyticsConfigurationOutput { } export interface GetBucketAnalyticsConfigurationRequest { - /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          - */ - ExpectedBucketOwner?: string; - /** *

                                                                                                                                                                                          The name of the bucket from which an analytics configuration is retrieved.

                                                                                                                                                                                          */ @@ -3816,6 +3964,11 @@ export interface GetBucketAnalyticsConfigurationRequest { *

                                                                                                                                                                                          The ID that identifies the analytics configuration.

                                                                                                                                                                                          */ Id: string | undefined; + + /** + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + */ + ExpectedBucketOwner?: string; } export namespace GetBucketAnalyticsConfigurationRequest { @@ -3829,34 +3982,35 @@ export namespace GetBucketAnalyticsConfigurationRequest { */ export interface CORSRule { /** - *

                                                                                                                                                                                          Headers that are specified in the Access-Control-Request-Headers - * header. These headers are allowed in a preflight OPTIONS request. In response to - * any preflight OPTIONS request, Amazon S3 returns any requested headers that are - * allowed.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Headers that are specified in the Access-Control-Request-Headers header. + * These headers are allowed in a preflight OPTIONS request. In response to any preflight + * OPTIONS request, Amazon S3 returns any requested headers that are allowed.

                                                                                                                                                                                          */ AllowedHeaders?: string[]; /** - *

                                                                                                                                                                                          One or more origins you want customers to be able to access the bucket from.

                                                                                                                                                                                          + *

                                                                                                                                                                                          An HTTP method that you allow the origin to execute. Valid values are GET, + * PUT, HEAD, POST, and DELETE.

                                                                                                                                                                                          */ - AllowedOrigins: string[] | undefined; + AllowedMethods: string[] | undefined; /** - *

                                                                                                                                                                                          The time in seconds that your browser is to cache the preflight response for the specified resource.

                                                                                                                                                                                          + *

                                                                                                                                                                                          One or more origins you want customers to be able to access the bucket from.

                                                                                                                                                                                          */ - MaxAgeSeconds?: number; + AllowedOrigins: string[] | undefined; /** - *

                                                                                                                                                                                          One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).

                                                                                                                                                                                          + *

                                                                                                                                                                                          One or more headers in the response that you want customers to be able to access from + * their applications (for example, from a JavaScript XMLHttpRequest + * object).

                                                                                                                                                                                          */ ExposeHeaders?: string[]; /** - *

                                                                                                                                                                                          An HTTP method that you allow the origin to execute. Valid values are - * GET, PUT, HEAD, POST, and - * DELETE.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The time in seconds that your browser is to cache the preflight response for the + * specified resource.

                                                                                                                                                                                          */ - AllowedMethods: string[] | undefined; + MaxAgeSeconds?: number; } export namespace CORSRule { @@ -3867,7 +4021,8 @@ export namespace CORSRule { export interface GetBucketCorsOutput { /** - *

                                                                                                                                                                                          A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

                                                                                                                                                                                          + *

                                                                                                                                                                                          A set of origins and methods (cross-origin access that you want to allow). You can add + * up to 100 rules to the configuration.

                                                                                                                                                                                          */ CORSRules?: CORSRule[]; } @@ -3897,7 +4052,10 @@ export namespace GetBucketCorsRequest { } /** - *

                                                                                                                                                                                          Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. For more information, see PUT Bucket encryption in the Amazon Simple Storage Service API Reference.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Describes the default server-side encryption to apply to new objects in the bucket. If a + * PUT Object request doesn't specify any server-side encryption, this default encryption will + * be applied. For more information, see PUT Bucket encryption in + * the Amazon Simple Storage Service API Reference.

                                                                                                                                                                                          */ export interface ServerSideEncryptionByDefault { /** @@ -3906,8 +4064,12 @@ export interface ServerSideEncryptionByDefault { SSEAlgorithm: ServerSideEncryption | string | undefined; /** - *

                                                                                                                                                                                          AWS Key Management Service (KMS) customer master key ID to use for the default encryption. This parameter is allowed if and only if SSEAlgorithm is set to aws:kms.

                                                                                                                                                                                          - *

                                                                                                                                                                                          You can specify the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are using encryption with cross-account operations, you must use a fully qualified CMK ARN. For more information, see Using encryption for cross-account operations.

                                                                                                                                                                                          + *

                                                                                                                                                                                          AWS Key Management Service (KMS) customer master key ID to use for the default + * encryption. This parameter is allowed if and only if SSEAlgorithm is set to + * aws:kms.

                                                                                                                                                                                          + *

                                                                                                                                                                                          You can specify the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you + * are using encryption with cross-account operations, you must use a fully qualified CMK ARN. + * For more information, see Using encryption for cross-account operations.

                                                                                                                                                                                          *

                                                                                                                                                                                          * For example: *

                                                                                                                                                                                          @@ -3917,12 +4079,16 @@ export interface ServerSideEncryptionByDefault { *

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + *

                                                                                                                                                                                          Key ARN: + * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab *

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        * - *

                                                                                                                                                                                        Amazon S3 only supports symmetric CMKs and not asymmetric CMKs. For more information, see Using Symmetric and Asymmetric Keys in the AWS Key Management Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Amazon S3 only supports symmetric CMKs and not asymmetric CMKs. For more information, see + * Using Symmetric and + * Asymmetric Keys in the AWS Key Management Service Developer + * Guide.

                                                                                                                                                                                        *
                                                                                                                                                                                        */ KMSMasterKeyID?: string; @@ -3940,7 +4106,9 @@ export namespace ServerSideEncryptionByDefault { */ export interface ServerSideEncryptionRule { /** - *

                                                                                                                                                                                        Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the default server-side encryption to apply to new objects in the bucket. If a + * PUT Object request doesn't specify any server-side encryption, this default encryption will + * be applied.

                                                                                                                                                                                        */ ApplyServerSideEncryptionByDefault?: ServerSideEncryptionByDefault; } @@ -3961,7 +4129,8 @@ export namespace ServerSideEncryptionRule { */ export interface ServerSideEncryptionConfiguration { /** - *

                                                                                                                                                                                        Container for information about a particular server-side encryption configuration rule.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Container for information about a particular server-side encryption configuration + * rule.

                                                                                                                                                                                        */ Rules: ServerSideEncryptionRule[] | undefined; } @@ -3993,14 +4162,15 @@ export namespace GetBucketEncryptionOutput { export interface GetBucketEncryptionRequest { /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The name of the bucket from which the server-side encryption configuration is + * retrieved.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The name of the bucket from which the server-side encryption configuration is retrieved.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketEncryptionRequest { @@ -4010,94 +4180,245 @@ export namespace GetBucketEncryptionRequest { } /** - *

                                                                                                                                                                                        Specifies the use of SSE-KMS to encrypt delivered inventory reports.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container for specifying S3 Intelligent-Tiering filters. The filters determine the + * subset of objects to which the rule applies.

                                                                                                                                                                                        */ -export interface SSEKMS { +export interface IntelligentTieringAndOperator { /** - *

                                                                                                                                                                                        Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key (CMK) to use - * for encrypting inventory reports.

                                                                                                                                                                                        + *

                                                                                                                                                                                        An object key name prefix that identifies the subset of objects to which the + * configuration applies.

                                                                                                                                                                                        */ - KeyId: string | undefined; + Prefix?: string; + + /** + *

                                                                                                                                                                                        All of these tags must exist in the object's tag set in order for the configuration to + * apply.

                                                                                                                                                                                        + */ + Tags?: Tag[]; } -export namespace SSEKMS { - export const filterSensitiveLog = (obj: SSEKMS): any => ({ +export namespace IntelligentTieringAndOperator { + export const filterSensitiveLog = (obj: IntelligentTieringAndOperator): any => ({ ...obj, - ...(obj.KeyId && { KeyId: SENSITIVE_STRING }), }); } /** - *

                                                                                                                                                                                        Specifies the use of SSE-S3 to encrypt delivered inventory reports.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Filter is used to identify objects that the S3 Intelligent-Tiering + * configuration applies to.

                                                                                                                                                                                        */ -export interface SSES3 {} +export interface IntelligentTieringFilter { + /** + *

                                                                                                                                                                                        An object key name prefix that identifies the subset of objects to which the rule + * applies.

                                                                                                                                                                                        + */ + Prefix?: string; -export namespace SSES3 { - export const filterSensitiveLog = (obj: SSES3): any => ({ + /** + *

                                                                                                                                                                                        A container of a key value name pair.

                                                                                                                                                                                        + */ + Tag?: Tag; + + /** + *

                                                                                                                                                                                        A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. + * The operator must have at least two predicates, and an object must match all of the + * predicates in order for the filter to apply.

                                                                                                                                                                                        + */ + And?: IntelligentTieringAndOperator; +} + +export namespace IntelligentTieringFilter { + export const filterSensitiveLog = (obj: IntelligentTieringFilter): any => ({ ...obj, }); } +export type IntelligentTieringStatus = "Disabled" | "Enabled"; + +export type IntelligentTieringAccessTier = "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS"; + /** - *

                                                                                                                                                                                        Contains the type of server-side encryption used to encrypt the inventory results.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The S3 Intelligent-Tiering storage class is designed to optimize storage costs by + * automatically moving data to the most cost-effective storage access tier, without + * additional operational overhead.

                                                                                                                                                                                        */ -export interface InventoryEncryption { +export interface Tiering { /** - *

                                                                                                                                                                                        Specifies the use of SSE-KMS to encrypt delivered inventory reports.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The number of days that you want your archived data to be accessible. The minimum number + * of days specified in the restore request must be at least 90 days. If a smaller value is + * specifed it will be ignored.

                                                                                                                                                                                        */ - SSEKMS?: SSEKMS; + Days: number | undefined; /** - *

                                                                                                                                                                                        Specifies the use of SSE-S3 to encrypt delivered inventory reports.

                                                                                                                                                                                        + *

                                                                                                                                                                                        S3 Intelligent-Tiering access tier. See Storage class for + * automatically optimizing frequently and infrequently accessed objects for a list + * of access tiers in the S3 Intelligent-Tiering storage class.

                                                                                                                                                                                        */ - SSES3?: SSES3; + AccessTier: IntelligentTieringAccessTier | string | undefined; } -export namespace InventoryEncryption { - export const filterSensitiveLog = (obj: InventoryEncryption): any => ({ +export namespace Tiering { + export const filterSensitiveLog = (obj: Tiering): any => ({ ...obj, - ...(obj.SSEKMS && { SSEKMS: SSEKMS.filterSensitiveLog(obj.SSEKMS) }), }); } -export type InventoryFormat = "CSV" | "ORC" | "Parquet"; - /** - *

                                                                                                                                                                                        Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where - * inventory results are published.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        For information about the S3 Intelligent-Tiering storage class, see Storage class for + * automatically optimizing frequently and infrequently accessed objects.

                                                                                                                                                                                        */ -export interface InventoryS3BucketDestination { +export interface IntelligentTieringConfiguration { /** - *

                                                                                                                                                                                        Specifies the output format of the inventory results.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The ID used to identify the S3 Intelligent-Tiering configuration.

                                                                                                                                                                                        */ - Format: InventoryFormat | string | undefined; + Id: string | undefined; /** - *

                                                                                                                                                                                        Contains the type of server-side encryption used to encrypt the inventory results.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies a bucket filter. The configuration only includes objects that meet the + * filter's criteria.

                                                                                                                                                                                        */ - Encryption?: InventoryEncryption; + Filter?: IntelligentTieringFilter; /** - *

                                                                                                                                                                                        The prefix that is prepended to all inventory results.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the status of the configuration.

                                                                                                                                                                                        */ - Prefix?: string; + Status: IntelligentTieringStatus | string | undefined; /** - *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the S3 Intelligent-Tiering storage class tier of the configuration.

                                                                                                                                                                                        */ - Bucket: string | undefined; + Tierings: Tiering[] | undefined; +} - /** - *

                                                                                                                                                                                        The account ID that owns the destination S3 bucket. - * If no account ID is provided, the owner is not validated before exporting data.

                                                                                                                                                                                        - * - *

                                                                                                                                                                                        - * Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket - * ownership changes. - *

                                                                                                                                                                                        +export namespace IntelligentTieringConfiguration { + export const filterSensitiveLog = (obj: IntelligentTieringConfiguration): any => ({ + ...obj, + }); +} + +export interface GetBucketIntelligentTieringConfigurationOutput { + /** + *

                                                                                                                                                                                        Container for S3 Intelligent-Tiering configuration.

                                                                                                                                                                                        + */ + IntelligentTieringConfiguration?: IntelligentTieringConfiguration; +} + +export namespace GetBucketIntelligentTieringConfigurationOutput { + export const filterSensitiveLog = (obj: GetBucketIntelligentTieringConfigurationOutput): any => ({ + ...obj, + }); +} + +export interface GetBucketIntelligentTieringConfigurationRequest { + /** + *

                                                                                                                                                                                        The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

                                                                                                                                                                                        + */ + Bucket: string | undefined; + + /** + *

                                                                                                                                                                                        The ID used to identify the S3 Intelligent-Tiering configuration.

                                                                                                                                                                                        + */ + Id: string | undefined; +} + +export namespace GetBucketIntelligentTieringConfigurationRequest { + export const filterSensitiveLog = (obj: GetBucketIntelligentTieringConfigurationRequest): any => ({ + ...obj, + }); +} + +/** + *

                                                                                                                                                                                        Specifies the use of SSE-KMS to encrypt delivered inventory reports.

                                                                                                                                                                                        + */ +export interface SSEKMS { + /** + *

                                                                                                                                                                                        Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed + * customer master key (CMK) to use for encrypting inventory reports.

                                                                                                                                                                                        + */ + KeyId: string | undefined; +} + +export namespace SSEKMS { + export const filterSensitiveLog = (obj: SSEKMS): any => ({ + ...obj, + ...(obj.KeyId && { KeyId: SENSITIVE_STRING }), + }); +} + +/** + *

                                                                                                                                                                                        Specifies the use of SSE-S3 to encrypt delivered inventory reports.

                                                                                                                                                                                        + */ +export interface SSES3 {} + +export namespace SSES3 { + export const filterSensitiveLog = (obj: SSES3): any => ({ + ...obj, + }); +} + +/** + *

                                                                                                                                                                                        Contains the type of server-side encryption used to encrypt the inventory + * results.

                                                                                                                                                                                        + */ +export interface InventoryEncryption { + /** + *

                                                                                                                                                                                        Specifies the use of SSE-S3 to encrypt delivered inventory reports.

                                                                                                                                                                                        + */ + SSES3?: SSES3; + + /** + *

                                                                                                                                                                                        Specifies the use of SSE-KMS to encrypt delivered inventory reports.

                                                                                                                                                                                        + */ + SSEKMS?: SSEKMS; +} + +export namespace InventoryEncryption { + export const filterSensitiveLog = (obj: InventoryEncryption): any => ({ + ...obj, + ...(obj.SSEKMS && { SSEKMS: SSEKMS.filterSensitiveLog(obj.SSEKMS) }), + }); +} + +export type InventoryFormat = "CSV" | "ORC" | "Parquet"; + +/** + *

                                                                                                                                                                                        Contains the bucket name, file format, bucket owner (optional), and prefix (optional) + * where inventory results are published.

                                                                                                                                                                                        + */ +export interface InventoryS3BucketDestination { + /** + *

                                                                                                                                                                                        The account ID that owns the destination S3 bucket. If no account ID is provided, the + * owner is not validated before exporting data.

                                                                                                                                                                                        + * + *

                                                                                                                                                                                        Although this value is optional, we strongly recommend that you set it to help + * prevent problems if the destination bucket ownership changes.

                                                                                                                                                                                        *
                                                                                                                                                                                        */ AccountId?: string; + + /** + *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the bucket where inventory results will be + * published.

                                                                                                                                                                                        + */ + Bucket: string | undefined; + + /** + *

                                                                                                                                                                                        Specifies the output format of the inventory results.

                                                                                                                                                                                        + */ + Format: InventoryFormat | string | undefined; + + /** + *

                                                                                                                                                                                        The prefix that is prepended to all inventory results.

                                                                                                                                                                                        + */ + Prefix?: string; + + /** + *

                                                                                                                                                                                        Contains the type of server-side encryption used to encrypt the inventory + * results.

                                                                                                                                                                                        + */ + Encryption?: InventoryEncryption; } export namespace InventoryS3BucketDestination { @@ -4112,7 +4433,8 @@ export namespace InventoryS3BucketDestination { */ export interface InventoryDestination { /** - *

                                                                                                                                                                                        Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Contains the bucket name, file format, bucket owner (optional), and prefix (optional) + * where inventory results are published.

                                                                                                                                                                                        */ S3BucketDestination: InventoryS3BucketDestination | undefined; } @@ -4127,7 +4449,8 @@ export namespace InventoryDestination { } /** - *

                                                                                                                                                                                        Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies an inventory filter. The inventory only includes objects that meet the + * filter's criteria.

                                                                                                                                                                                        */ export interface InventoryFilter { /** @@ -4176,45 +4499,52 @@ export namespace InventorySchedule { } /** - *

                                                                                                                                                                                        Specifies the inventory configuration for an Amazon S3 bucket. - * For more information, see GET Bucket inventory in the Amazon Simple Storage Service API Reference. + *

                                                                                                                                                                                        Specifies the inventory configuration for an Amazon S3 bucket. For more information, see + * GET Bucket inventory in the Amazon Simple Storage Service API Reference. *

                                                                                                                                                                                        */ export interface InventoryConfiguration { /** - *

                                                                                                                                                                                        Object versions to include in the inventory list. If set to All, the list includes all the object versions, which adds the version-related fields VersionId, IsLatest, and DeleteMarker to the list. If set to Current, the list does not contain these version-related fields.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Contains information about where to publish the inventory results.

                                                                                                                                                                                        */ - IncludedObjectVersions: InventoryIncludedObjectVersions | string | undefined; + Destination: InventoryDestination | undefined; /** - *

                                                                                                                                                                                        Specifies whether the inventory is enabled or disabled. If set to True, an inventory list is generated. If set to False, no inventory list is generated.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies whether the inventory is enabled or disabled. If set to True, an + * inventory list is generated. If set to False, no inventory list is + * generated.

                                                                                                                                                                                        */ IsEnabled: boolean | undefined; /** - *

                                                                                                                                                                                        Specifies the schedule for generating inventory results.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies an inventory filter. The inventory only includes objects that meet the + * filter's criteria.

                                                                                                                                                                                        */ - Schedule: InventorySchedule | undefined; + Filter?: InventoryFilter; /** - *

                                                                                                                                                                                        Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The ID used to identify the inventory configuration.

                                                                                                                                                                                        */ - Filter?: InventoryFilter; + Id: string | undefined; /** - *

                                                                                                                                                                                        Contains the optional fields that are included in the inventory results.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Object versions to include in the inventory list. If set to All, the list + * includes all the object versions, which adds the version-related fields + * VersionId, IsLatest, and DeleteMarker to the + * list. If set to Current, the list does not contain these version-related + * fields.

                                                                                                                                                                                        */ - OptionalFields?: (InventoryOptionalField | string)[]; + IncludedObjectVersions: InventoryIncludedObjectVersions | string | undefined; /** - *

                                                                                                                                                                                        Contains information about where to publish the inventory results.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Contains the optional fields that are included in the inventory results.

                                                                                                                                                                                        */ - Destination: InventoryDestination | undefined; + OptionalFields?: (InventoryOptionalField | string)[]; /** - *

                                                                                                                                                                                        The ID used to identify the inventory configuration.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the schedule for generating inventory results.

                                                                                                                                                                                        */ - Id: string | undefined; + Schedule: InventorySchedule | undefined; } export namespace InventoryConfiguration { @@ -4241,11 +4571,6 @@ export namespace GetBucketInventoryConfigurationOutput { } export interface GetBucketInventoryConfigurationRequest { - /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        - */ - ExpectedBucketOwner?: string; - /** *

                                                                                                                                                                                        The name of the bucket containing the inventory configuration to retrieve.

                                                                                                                                                                                        */ @@ -4255,6 +4580,11 @@ export interface GetBucketInventoryConfigurationRequest { *

                                                                                                                                                                                        The ID used to identify the inventory configuration.

                                                                                                                                                                                        */ Id: string | undefined; + + /** + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + */ + ExpectedBucketOwner?: string; } export namespace GetBucketInventoryConfigurationRequest { @@ -4268,19 +4598,23 @@ export namespace GetBucketInventoryConfigurationRequest { */ export interface LifecycleExpiration { /** - *

                                                                                                                                                                                        Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 + * Format.

                                                                                                                                                                                        */ - Days?: number; + Date?: Date; /** - *

                                                                                                                                                                                        Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Indicates the lifetime, in days, of the objects that are subject to the rule. The value + * must be a non-zero positive integer.

                                                                                                                                                                                        */ - ExpiredObjectDeleteMarker?: boolean; + Days?: number; /** - *

                                                                                                                                                                                        Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set + * to true, the delete marker will be expired; if set to false the policy takes no action. + * This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

                                                                                                                                                                                        */ - Date?: Date; + ExpiredObjectDeleteMarker?: boolean; } export namespace LifecycleExpiration { @@ -4290,7 +4624,9 @@ export namespace LifecycleExpiration { } /** - *

                                                                                                                                                                                        This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.

                                                                                                                                                                                        + *

                                                                                                                                                                                        This is used in a Lifecycle Rule Filter to apply a logical AND to two or more + * predicates. The Lifecycle Rule will apply to any object matching all of the predicates + * configured inside the And operator.

                                                                                                                                                                                        */ export interface LifecycleRuleAndOperator { /** @@ -4299,7 +4635,8 @@ export interface LifecycleRuleAndOperator { Prefix?: string; /** - *

                                                                                                                                                                                        All of these tags must exist in the object's tag set in order for the rule to apply.

                                                                                                                                                                                        + *

                                                                                                                                                                                        All of these tags must exist in the object's tag set in order for the rule to + * apply.

                                                                                                                                                                                        */ Tags?: Tag[]; } @@ -4316,11 +4653,6 @@ export namespace LifecycleRuleAndOperator { * And specified.

                                                                                                                                                                                        */ export interface LifecycleRuleFilter { - /** - *

                                                                                                                                                                                        This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.

                                                                                                                                                                                        - */ - And?: LifecycleRuleAndOperator; - /** *

                                                                                                                                                                                        Prefix identifying one or more objects to which the rule applies.

                                                                                                                                                                                        */ @@ -4330,6 +4662,13 @@ export interface LifecycleRuleFilter { *

                                                                                                                                                                                        This tag must exist in the object's tag set in order for the rule to apply.

                                                                                                                                                                                        */ Tag?: Tag; + + /** + *

                                                                                                                                                                                        This is used in a Lifecycle Rule Filter to apply a logical AND to two or more + * predicates. The Lifecycle Rule will apply to any object matching all of the predicates + * configured inside the And operator.

                                                                                                                                                                                        + */ + And?: LifecycleRuleAndOperator; } export namespace LifecycleRuleFilter { @@ -4339,16 +4678,17 @@ export namespace LifecycleRuleFilter { } /** - *

                                                                                                                                                                                        Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. - * - * You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently + * deletes the noncurrent object versions. You set this lifecycle configuration action on a + * bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent + * object versions at a specific period in the object's lifetime.

                                                                                                                                                                                        */ export interface NoncurrentVersionExpiration { /** *

                                                                                                                                                                                        Specifies the number of days an object is noncurrent before Amazon S3 can perform the * associated action. For information about the noncurrent days calculations, see How - * Amazon S3 Calculates When an Object Became Noncurrent in the Amazon - * Simple Storage Service Developer Guide.

                                                                                                                                                                                        + * Amazon S3 Calculates When an Object Became Noncurrent in the Amazon Simple + * Storage Service Developer Guide.

                                                                                                                                                                                        */ NoncurrentDays?: number; } @@ -4362,20 +4702,28 @@ export namespace NoncurrentVersionExpiration { export type TransitionStorageClass = "DEEP_ARCHIVE" | "GLACIER" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "STANDARD_IA"; /** - *

                                                                                                                                                                                        Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, or DEEP_ARCHIVE storage class. - * - * If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, or DEEP_ARCHIVE storage class at a specific period in the object's lifetime.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Container for the transition rule that describes when noncurrent objects transition to + * the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, + * GLACIER, or DEEP_ARCHIVE storage class. If your bucket is + * versioning-enabled (or versioning is suspended), you can set this action to request that + * Amazon S3 transition noncurrent object versions to the STANDARD_IA, + * ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, or + * DEEP_ARCHIVE storage class at a specific period in the object's + * lifetime.

                                                                                                                                                                                        */ export interface NoncurrentVersionTransition { /** - *

                                                                                                                                                                                        The class of storage used to store the object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the number of days an object is noncurrent before Amazon S3 can perform the + * associated action. For information about the noncurrent days calculations, see How + * Amazon S3 Calculates How Long an Object Has Been Noncurrent in the + * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ - StorageClass?: TransitionStorageClass | string; + NoncurrentDays?: number; /** - *

                                                                                                                                                                                        Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The class of storage used to store the object.

                                                                                                                                                                                        */ - NoncurrentDays?: number; + StorageClass?: TransitionStorageClass | string; } export namespace NoncurrentVersionTransition { @@ -4387,18 +4735,22 @@ export namespace NoncurrentVersionTransition { export type ExpirationStatus = "Disabled" | "Enabled"; /** - *

                                                                                                                                                                                        Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies when an object transitions to a specified storage class. For more information + * about Amazon S3 lifecycle configuration rules, see Transitioning + * Objects Using Amazon S3 Lifecycle in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ export interface Transition { /** - *

                                                                                                                                                                                        Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Indicates when objects are transitioned to the specified storage class. The date value + * must be in ISO 8601 format. The time is always midnight UTC.

                                                                                                                                                                                        */ - Days?: number; + Date?: Date; /** - *

                                                                                                                                                                                        Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Indicates the number of days after creation when objects are transitioned to the + * specified storage class. The value must be a positive integer.

                                                                                                                                                                                        */ - Date?: Date; + Days?: number; /** *

                                                                                                                                                                                        The storage class to which you want the object to transition.

                                                                                                                                                                                        @@ -4417,16 +4769,8 @@ export namespace Transition { */ export interface LifecycleRule { /** - *

                                                                                                                                                                                        Specifies the transition rule for the lifecycle rule that describes when noncurrent - * objects transition to a specific storage class. If your bucket is versioning-enabled (or - * versioning is suspended), you can set this action to request that Amazon S3 transition - * noncurrent object versions to a specific storage class at a set period in the object's - * lifetime.

                                                                                                                                                                                        - */ - NoncurrentVersionTransitions?: NoncurrentVersionTransition[]; - - /** - *

                                                                                                                                                                                        Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the expiration for the lifecycle of the object in the form of date, days and, + * whether the object has a delete marker.

                                                                                                                                                                                        */ Expiration?: LifecycleExpiration; @@ -4435,11 +4779,6 @@ export interface LifecycleRule { */ ID?: string; - /** - *

                                                                                                                                                                                        Specifies when an Amazon S3 object transitions to a specified storage class.

                                                                                                                                                                                        - */ - Transitions?: Transition[]; - /** *

                                                                                                                                                                                        Prefix identifying one or more objects to which the rule applies. This is * No longer used; use Filter instead.

                                                                                                                                                                                        @@ -4447,30 +4786,47 @@ export interface LifecycleRule { Prefix?: string; /** - *

                                                                                                                                                                                        Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. - * - * You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Filter is used to identify objects that a Lifecycle Rule applies to. A + * Filter must have exactly one of Prefix, Tag, or + * And specified.

                                                                                                                                                                                        */ - NoncurrentVersionExpiration?: NoncurrentVersionExpiration; + Filter?: LifecycleRuleFilter; /** - *

                                                                                                                                                                                        Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see - * Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy - * in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not + * currently being applied.

                                                                                                                                                                                        */ - AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload; + Status: ExpirationStatus | string | undefined; /** - *

                                                                                                                                                                                        The Filter is used to identify objects that a Lifecycle Rule applies to. A - * Filter must have exactly one of Prefix, Tag, or - * And specified.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies when an Amazon S3 object transitions to a specified storage class.

                                                                                                                                                                                        */ - Filter?: LifecycleRuleFilter; + Transitions?: Transition[]; /** - *

                                                                                                                                                                                        If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the transition rule for the lifecycle rule that describes when noncurrent + * objects transition to a specific storage class. If your bucket is versioning-enabled (or + * versioning is suspended), you can set this action to request that Amazon S3 transition + * noncurrent object versions to a specific storage class at a set period in the object's + * lifetime.

                                                                                                                                                                                        */ - Status: ExpirationStatus | string | undefined; + NoncurrentVersionTransitions?: NoncurrentVersionTransition[]; + + /** + *

                                                                                                                                                                                        Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently + * deletes the noncurrent object versions. You set this lifecycle configuration action on a + * bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent + * object versions at a specific period in the object's lifetime.

                                                                                                                                                                                        + */ + NoncurrentVersionExpiration?: NoncurrentVersionExpiration; + + /** + *

                                                                                                                                                                                        Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will + * wait before permanently removing all parts of the upload. For more information, see + * Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy in the + * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + */ + AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload; } export namespace LifecycleRule { @@ -4513,8 +4869,9 @@ export namespace GetBucketLifecycleConfigurationRequest { export interface GetBucketLocationOutput { /** *

                                                                                                                                                                                        Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported - * location constraints by Region, see Regions and - * Endpoints. Buckets in Region us-east-1 have a LocationConstraint of null.

                                                                                                                                                                                        + * location constraints by Region, see Regions and Endpoints. + * Buckets in Region us-east-1 have a LocationConstraint of + * null.

                                                                                                                                                                                        */ LocationConstraint?: BucketLocationConstraint | string; } @@ -4527,14 +4884,14 @@ export namespace GetBucketLocationOutput { export interface GetBucketLocationRequest { /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The name of the bucket for which to get the location.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The name of the bucket for which to get the location.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketLocationRequest { @@ -4567,16 +4924,11 @@ export namespace TargetGrant { } /** - *

                                                                                                                                                                                        Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for - * a bucket. For more information, see PUT Bucket logging in the - * Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys + * for a bucket. For more information, see PUT Bucket logging in the + * Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        */ export interface LoggingEnabled { - /** - *

                                                                                                                                                                                        Container for granting information.

                                                                                                                                                                                        - */ - TargetGrants?: TargetGrant[]; - /** *

                                                                                                                                                                                        Specifies the bucket where you want Amazon S3 to store server access logs. You can have your * logs delivered to any bucket that you own, including the same bucket that is being logged. @@ -4587,9 +4939,14 @@ export interface LoggingEnabled { TargetBucket: string | undefined; /** - *

                                                                                                                                                                                        A prefix for all log object keys. If you store log files from multiple Amazon S3 - * buckets in a single bucket, you can use a prefix to distinguish which log files - * came from which bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Container for granting information.

                                                                                                                                                                                        + */ + TargetGrants?: TargetGrant[]; + + /** + *

                                                                                                                                                                                        A prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a + * single bucket, you can use a prefix to distinguish which log files came from which + * bucket.

                                                                                                                                                                                        */ TargetPrefix: string | undefined; } @@ -4602,9 +4959,9 @@ export namespace LoggingEnabled { export interface GetBucketLoggingOutput { /** - *

                                                                                                                                                                                        Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for - * a bucket. For more information, see PUT Bucket logging in the - * Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys + * for a bucket. For more information, see PUT Bucket logging in the + * Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        */ LoggingEnabled?: LoggingEnabled; } @@ -4634,9 +4991,9 @@ export namespace GetBucketLoggingRequest { } /** - *

                                                                                                                                                                                        A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator - * must have at least two predicates, and an object must match all of the predicates in order for the - * filter to apply.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. + * The operator must have at least two predicates, and an object must match all of the + * predicates in order for the filter to apply.

                                                                                                                                                                                        */ export interface MetricsAndOperator { /** @@ -4657,16 +5014,11 @@ export namespace MetricsAndOperator { } /** - *

                                                                                                                                                                                        Specifies a metrics configuration filter. The metrics configuration only - * includes objects that meet the filter's criteria. A filter must be a prefix, a - * tag, or a conjunction (MetricsAndOperator).

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies a metrics configuration filter. The metrics configuration only includes + * objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction + * (MetricsAndOperator).

                                                                                                                                                                                        */ export interface MetricsFilter { - /** - *

                                                                                                                                                                                        A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.

                                                                                                                                                                                        - */ - And?: MetricsAndOperator; - /** *

                                                                                                                                                                                        The prefix used when evaluating a metrics filter.

                                                                                                                                                                                        */ @@ -4676,6 +5028,13 @@ export interface MetricsFilter { *

                                                                                                                                                                                        The tag used when evaluating a metrics filter.

                                                                                                                                                                                        */ Tag?: Tag; + + /** + *

                                                                                                                                                                                        A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. + * The operator must have at least two predicates, and an object must match all of the + * predicates in order for the filter to apply.

                                                                                                                                                                                        + */ + And?: MetricsAndOperator; } export namespace MetricsFilter { @@ -4685,10 +5044,12 @@ export namespace MetricsFilter { } /** - *

                                                                                                                                                                                        Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) - * from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. - * If you don't include the elements you want to keep, they are erased. For more information, see - * PUT Bucket metrics in the Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies a metrics configuration for the CloudWatch request metrics (specified by the + * metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics + * configuration, note that this is a full replacement of the existing metrics configuration. + * If you don't include the elements you want to keep, they are erased. For more information, + * see PUT Bucket + * metrics in the Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        */ export interface MetricsConfiguration { /** @@ -4697,7 +5058,9 @@ export interface MetricsConfiguration { Id: string | undefined; /** - *

                                                                                                                                                                                        Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction (MetricsAndOperator).

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies a metrics configuration filter. The metrics configuration will only include + * objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction + * (MetricsAndOperator).

                                                                                                                                                                                        */ Filter?: MetricsFilter; } @@ -4722,11 +5085,6 @@ export namespace GetBucketMetricsConfigurationOutput { } export interface GetBucketMetricsConfigurationRequest { - /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        - */ - ExpectedBucketOwner?: string; - /** *

                                                                                                                                                                                        The name of the bucket containing the metrics configuration to retrieve.

                                                                                                                                                                                        */ @@ -4736,6 +5094,11 @@ export interface GetBucketMetricsConfigurationRequest { *

                                                                                                                                                                                        The ID used to identify the metrics configuration.

                                                                                                                                                                                        */ Id: string | undefined; + + /** + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + */ + ExpectedBucketOwner?: string; } export namespace GetBucketMetricsConfigurationRequest { @@ -4746,14 +5109,14 @@ export namespace GetBucketMetricsConfigurationRequest { export interface GetBucketNotificationConfigurationRequest { /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The name of the bucket for which to get the notification configuration.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The name of the bucket for which to get the notification configuration.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketNotificationConfigurationRequest { @@ -4784,14 +5147,15 @@ export type Event = export type FilterRuleName = "prefix" | "suffix"; /** - *

                                                                                                                                                                                        Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or prefix of the key name.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or + * prefix of the key name.

                                                                                                                                                                                        */ export interface FilterRule { /** - *

                                                                                                                                                                                        The object key name prefix or suffix identifying one or more objects to which the filtering - * rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes - * are not supported. For more information, see Configuring Event Notifications in - * the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The object key name prefix or suffix identifying one or more objects to which the + * filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and + * suffixes are not supported. For more information, see Configuring Event Notifications + * in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ Name?: FilterRuleName | string; @@ -4826,9 +5190,9 @@ export namespace S3KeyFilter { /** *

                                                                                                                                                                                        Specifies object key name filtering rules. For information about key name filtering, see - * Configuring - * Event Notifications in the Amazon Simple Storage Service Developer - * Guide.

                                                                                                                                                                                        + * Configuring + * Event Notifications in the Amazon Simple Storage Service Developer + * Guide.

                                                                                                                                                                                        */ export interface NotificationConfigurationFilter { /** @@ -4848,30 +5212,31 @@ export namespace NotificationConfigurationFilter { */ export interface LambdaFunctionConfiguration { /** - *

                                                                                                                                                                                        The Amazon S3 bucket event for which to invoke the AWS Lambda function. - * For more information, see Supported Event Types in the - * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        An optional unique identifier for configurations in a notification configuration. If you + * don't provide one, Amazon S3 will assign an ID.

                                                                                                                                                                                        */ - Events: (Event | string)[] | undefined; + Id?: string; /** - *

                                                                                                                                                                                        Specifies object key name filtering rules. For information about key name filtering, see - * Configuring - * Event Notifications in the Amazon Simple Storage Service Developer - * Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 invokes when the + * specified event type occurs.

                                                                                                                                                                                        */ - Filter?: NotificationConfigurationFilter; + LambdaFunctionArn: string | undefined; /** - *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 invokes when the specified event type occurs.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Amazon S3 bucket event for which to invoke the AWS Lambda function. For more information, + * see Supported + * Event Types in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ - LambdaFunctionArn: string | undefined; + Events: (Event | string)[] | undefined; /** - *

                                                                                                                                                                                        An optional unique identifier for configurations in a notification configuration. If you don't - * provide one, Amazon S3 will assign an ID.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies object key name filtering rules. For information about key name filtering, see + * Configuring + * Event Notifications in the Amazon Simple Storage Service Developer + * Guide.

                                                                                                                                                                                        */ - Id?: string; + Filter?: NotificationConfigurationFilter; } export namespace LambdaFunctionConfiguration { @@ -4881,34 +5246,34 @@ export namespace LambdaFunctionConfiguration { } /** - *

                                                                                                                                                                                        Specifies the configuration for publishing messages to an Amazon Simple - * Queue Service (Amazon SQS) queue when Amazon S3 detects specified events.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the configuration for publishing messages to an Amazon Simple Queue Service + * (Amazon SQS) queue when Amazon S3 detects specified events.

                                                                                                                                                                                        */ export interface QueueConfiguration { /** - *

                                                                                                                                                                                        A collection of bucket events for which to send notifications

                                                                                                                                                                                        + *

                                                                                                                                                                                        An optional unique identifier for configurations in a notification configuration. If you + * don't provide one, Amazon S3 will assign an ID.

                                                                                                                                                                                        */ - Events: (Event | string)[] | undefined; + Id?: string; /** - *

                                                                                                                                                                                        An optional unique identifier for configurations in a notification configuration. If you don't - * provide one, Amazon S3 will assign an ID.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message + * when it detects events of the specified type.

                                                                                                                                                                                        */ - Id?: string; + QueueArn: string | undefined; /** - *

                                                                                                                                                                                        Specifies object key name filtering rules. For information about key name filtering, see - * Configuring - * Event Notifications in the Amazon Simple Storage Service Developer - * Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A collection of bucket events for which to send notifications

                                                                                                                                                                                        */ - Filter?: NotificationConfigurationFilter; + Events: (Event | string)[] | undefined; /** - *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a - * message when it detects events of the specified type.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies object key name filtering rules. For information about key name filtering, see + * Configuring + * Event Notifications in the Amazon Simple Storage Service Developer + * Guide.

                                                                                                                                                                                        */ - QueueArn: string | undefined; + Filter?: NotificationConfigurationFilter; } export namespace QueueConfiguration { @@ -4918,36 +5283,36 @@ export namespace QueueConfiguration { } /** - *

                                                                                                                                                                                        A container for specifying the configuration for publication of messages to an Amazon Simple - * Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container for specifying the configuration for publication of messages to an Amazon + * Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.

                                                                                                                                                                                        */ export interface TopicConfiguration { /** - *

                                                                                                                                                                                        The Amazon S3 bucket event about which to send notifications. For more - * information, see Supported Event - * Types in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        An optional unique identifier for configurations in a notification configuration. If you + * don't provide one, Amazon S3 will assign an ID.

                                                                                                                                                                                        */ - Events: (Event | string)[] | undefined; + Id?: string; /** - *

                                                                                                                                                                                        Specifies object key name filtering rules. For information about key name filtering, see - * Configuring - * Event Notifications in the Amazon Simple Storage Service Developer - * Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message + * when it detects events of the specified type.

                                                                                                                                                                                        */ - Filter?: NotificationConfigurationFilter; + TopicArn: string | undefined; /** - *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a - * message when it detects events of the specified type.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Amazon S3 bucket event about which to send notifications. For more information, see + * Supported + * Event Types in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ - TopicArn: string | undefined; + Events: (Event | string)[] | undefined; /** - *

                                                                                                                                                                                        An optional unique identifier for configurations in a notification configuration. If you don't - * provide one, Amazon S3 will assign an ID.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies object key name filtering rules. For information about key name filtering, see + * Configuring + * Event Notifications in the Amazon Simple Storage Service Developer + * Guide.

                                                                                                                                                                                        */ - Id?: string; + Filter?: NotificationConfigurationFilter; } export namespace TopicConfiguration { @@ -4957,22 +5322,25 @@ export namespace TopicConfiguration { } /** - *

                                                                                                                                                                                        A container for specifying the notification configuration of the bucket. If this element is - * empty, notifications are turned off for the bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container for specifying the notification configuration of the bucket. If this element + * is empty, notifications are turned off for the bucket.

                                                                                                                                                                                        */ export interface NotificationConfiguration { /** - *

                                                                                                                                                                                        The topic to which notifications are sent and the events for which notifications are generated.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The topic to which notifications are sent and the events for which notifications are + * generated.

                                                                                                                                                                                        */ TopicConfigurations?: TopicConfiguration[]; /** - *

                                                                                                                                                                                        The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Amazon Simple Queue Service queues to publish messages to and the events for which + * to publish messages.

                                                                                                                                                                                        */ QueueConfigurations?: QueueConfiguration[]; /** - *

                                                                                                                                                                                        Describes the AWS Lambda functions to invoke and the events for which to invoke them.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Describes the AWS Lambda functions to invoke and the events for which to invoke + * them.

                                                                                                                                                                                        */ LambdaFunctionConfigurations?: LambdaFunctionConfiguration[]; } @@ -5043,6 +5411,9 @@ export interface GetBucketOwnershipControlsRequest { */ Bucket: string | undefined; + /** + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + */ ExpectedBucketOwner?: string; } @@ -5088,8 +5459,8 @@ export namespace GetBucketPolicyRequest { */ export interface PolicyStatus { /** - *

                                                                                                                                                                                        The policy status for this bucket. TRUE indicates that this bucket is public. - * FALSE indicates that the bucket is not public.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The policy status for this bucket. TRUE indicates that this bucket is + * public. FALSE indicates that the bucket is not public.

                                                                                                                                                                                        */ IsPublic?: boolean; } @@ -5115,14 +5486,14 @@ export namespace GetBucketPolicyStatusOutput { export interface GetBucketPolicyStatusRequest { /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The name of the Amazon S3 bucket whose policy status you want to retrieve.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The name of the Amazon S3 bucket whose policy status you want to retrieve.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketPolicyStatusRequest { @@ -5134,12 +5505,16 @@ export namespace GetBucketPolicyStatusRequest { export type DeleteMarkerReplicationStatus = "Disabled" | "Enabled"; /** - *

                                                                                                                                                                                        Specifies whether Amazon S3 replicates the delete markers. If you specify a Filter, you must specify this element. However, in the latest version of replication configuration (when Filter is specified), Amazon S3 doesn't replicate delete markers. Therefore, the DeleteMarkerReplication element can contain only Disabled. For an example configuration, see Basic Rule Configuration. - *

                                                                                                                                                                                        - * + *

                                                                                                                                                                                        Specifies whether Amazon S3 replicates delete markers. If you specify a Filter + * in your replication configuration, you must also include a + * DeleteMarkerReplication element. If your Filter includes a + * Tag element, the DeleteMarkerReplication + * Status must be set to Disabled, because Amazon S3 does not support replicating + * delete markers for tag-based rules. For an example configuration, see Basic + * Rule Configuration.

                                                                                                                                                                                        + *

                                                                                                                                                                                        For more information about delete marker replication, see Basic Rule Configuration.

                                                                                                                                                                                        * - *

                                                                                                                                                                                        If you don't specify the Filter element, Amazon S3 assumes that the replication - * configuration is the earlier version, V1. In the earlier version, Amazon S3 handled + *

                                                                                                                                                                                        If you are using an earlier version of the replication configuration, Amazon S3 handles * replication of delete markers differently. For more information, see Backward Compatibility.

                                                                                                                                                                                        *
                                                                                                                                                                                        */ @@ -5147,8 +5522,7 @@ export interface DeleteMarkerReplication { /** *

                                                                                                                                                                                        Indicates whether to replicate delete markers.

                                                                                                                                                                                        * - *

                                                                                                                                                                                        In the current implementation, Amazon S3 doesn't replicate the delete markers. The status - * must be Disabled.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Indicates whether to replicate delete markers.

                                                                                                                                                                                        *
                                                                                                                                                                                        */ Status?: DeleteMarkerReplicationStatus | string; @@ -5161,12 +5535,17 @@ export namespace DeleteMarkerReplication { } /** - *

                                                                                                                                                                                        Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies encryption-related information for an Amazon S3 bucket that is a destination for + * replicated objects.

                                                                                                                                                                                        */ export interface EncryptionConfiguration { /** - *

                                                                                                                                                                                        Specifies the ID (Key ARN or Alias ARN) of the customer managed customer master key (CMK) stored in AWS Key Management Service (KMS) for the destination bucket. Amazon - * S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric customer managed CMKs. For more information, see Using Symmetric and Asymmetric Keys in the AWS Key Management Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the ID (Key ARN or Alias ARN) of the customer managed customer master key + * (CMK) stored in AWS Key Management Service (KMS) for the destination bucket. Amazon S3 uses + * this key to encrypt replica objects. Amazon S3 only supports symmetric customer managed CMKs. + * For more information, see Using Symmetric and + * Asymmetric Keys in the AWS Key Management Service Developer + * Guide.

                                                                                                                                                                                        */ ReplicaKmsKeyID?: string; } @@ -5178,15 +5557,12 @@ export namespace EncryptionConfiguration { } /** - *

                                                                                                                                                                                        - * A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics EventThreshold. - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics + * EventThreshold.

                                                                                                                                                                                        */ export interface ReplicationTimeValue { /** - *

                                                                                                                                                                                        - * Contains an integer specifying time in minutes. - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        Contains an integer specifying time in minutes.

                                                                                                                                                                                        *

                                                                                                                                                                                        Valid values: 15 minutes.

                                                                                                                                                                                        */ Minutes?: number; @@ -5201,24 +5577,20 @@ export namespace ReplicationTimeValue { export type MetricsStatus = "Disabled" | "Enabled"; /** - *

                                                                                                                                                                                        A container specifying replication metrics-related settings enabling metrics and Amazon S3 - * events for S3 Replication Time Control (S3 RTC). Must be specified together with a ReplicationTime - * block.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container specifying replication metrics-related settings enabling replication + * metrics and events.

                                                                                                                                                                                        */ export interface Metrics { /** - *

                                                                                                                                                                                        - * Specifies whether the replication metrics are enabled. - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies whether the replication metrics are enabled.

                                                                                                                                                                                        */ Status: MetricsStatus | string | undefined; /** - *

                                                                                                                                                                                        - * A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event. - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container specifying the time threshold for emitting the + * s3:Replication:OperationMissedThreshold event.

                                                                                                                                                                                        */ - EventThreshold: ReplicationTimeValue | undefined; + EventThreshold?: ReplicationTimeValue; } export namespace Metrics { @@ -5230,24 +5602,21 @@ export namespace Metrics { export type ReplicationTimeStatus = "Disabled" | "Enabled"; /** - *

                                                                                                                                                                                        - * A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on - * objects must be replicated. Must be specified together with a Metrics block. - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is + * enabled and the time when all objects and operations on objects must be replicated. Must be + * specified together with a Metrics block.

                                                                                                                                                                                        */ export interface ReplicationTime { /** - *

                                                                                                                                                                                        A container specifying the time by which replication should be complete for all objects and - * operations on objects.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies whether the replication time is enabled.

                                                                                                                                                                                        */ - Time: ReplicationTimeValue | undefined; + Status: ReplicationTimeStatus | string | undefined; /** - *

                                                                                                                                                                                        - * Specifies whether the replication time is enabled. - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container specifying the time by which replication should be complete for all objects + * and operations on objects.

                                                                                                                                                                                        */ - Status: ReplicationTimeStatus | string | undefined; + Time: ReplicationTimeValue | undefined; } export namespace ReplicationTime { @@ -5257,61 +5626,61 @@ export namespace ReplicationTime { } /** - *

                                                                                                                                                                                        Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket - * and S3 Replication Time Control (S3 RTC).

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies information about where to publish analysis or configuration results for an + * Amazon S3 bucket and S3 Replication Time Control (S3 RTC).

                                                                                                                                                                                        */ export interface Destination { /** - *

                                                                                                                                                                                        A container that provides information about encryption. If - * SourceSelectionCriteria is specified, you must specify this element.

                                                                                                                                                                                        - */ - EncryptionConfiguration?: EncryptionConfiguration; - - /** - *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the + * results.

                                                                                                                                                                                        */ Bucket: string | undefined; /** - *

                                                                                                                                                                                        Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 - * to change replica ownership to the AWS account that owns the destination bucket by - * specifying the AccessControlTranslation property, this is the account ID of - * the destination bucket owner. For more information, see Replication Additional + *

                                                                                                                                                                                        Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to + * change replica ownership to the AWS account that owns the destination bucket by specifying + * the AccessControlTranslation property, this is the account ID of the + * destination bucket owner. For more information, see Replication Additional * Configuration: Changing the Replica Owner in the Amazon Simple Storage * Service Developer Guide.

                                                                                                                                                                                        */ Account?: string; /** - *

                                                                                                                                                                                        - * The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica. - *

                                                                                                                                                                                        - *

                                                                                                                                                                                        For valid values, see the StorageClass element of the - * PUT Bucket - * replication action in the Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The storage class to use when replicating objects, such as S3 Standard or reduced + * redundancy. By default, Amazon S3 uses the storage class of the source object to create the + * object replica.

                                                                                                                                                                                        + *

                                                                                                                                                                                        For valid values, see the StorageClass element of the PUT Bucket + * replication action in the Amazon Simple Storage Service API Reference.

                                                                                                                                                                                        */ StorageClass?: StorageClass | string; /** - *

                                                                                                                                                                                        - * A container specifying replication metrics-related settings enabling metrics and Amazon S3 events for S3 Replication Time Control (S3 RTC). - * Must be specified together with a ReplicationTime block. - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specify this only in a cross-account scenario (where source and destination bucket + * owners are not the same), and you want to change replica ownership to the AWS account that + * owns the destination bucket. If this is not specified in the replication configuration, the + * replicas are owned by same AWS account that owns the source object.

                                                                                                                                                                                        */ - Metrics?: Metrics; + AccessControlTranslation?: AccessControlTranslation; /** - *

                                                                                                                                                                                        Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container that provides information about encryption. If + * SourceSelectionCriteria is specified, you must specify this element.

                                                                                                                                                                                        */ - AccessControlTranslation?: AccessControlTranslation; + EncryptionConfiguration?: EncryptionConfiguration; /** - *

                                                                                                                                                                                        - * A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. - * Must be specified together with a Metrics block. - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time + * when all objects and operations on objects must be replicated. Must be specified together + * with a Metrics block.

                                                                                                                                                                                        */ ReplicationTime?: ReplicationTime; + + /** + *

                                                                                                                                                                                        A container specifying replication metrics-related settings enabling replication + * metrics and events.

                                                                                                                                                                                        + */ + Metrics?: Metrics; } export namespace Destination { @@ -5324,8 +5693,8 @@ export type ExistingObjectReplicationStatus = "Disabled" | "Enabled"; /** *

                                                                                                                                                                                        Optional configuration to replicate existing source bucket objects. For more - * information, see Replicating Existing Objects in the Amazon S3 Developer - * Guide.

                                                                                                                                                                                        + * information, see Replicating Existing Objects in the Amazon S3 Developer Guide. + *

                                                                                                                                                                                        */ export interface ExistingObjectReplication { /** @@ -5341,17 +5710,17 @@ export namespace ExistingObjectReplication { } /** - *

                                                                                                                                                                                        A container for specifying rule filters. The filters determine the subset of objects to which the rule - * applies. This element is required only if you specify more than one filter.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container for specifying rule filters. The filters determine the subset of objects to + * which the rule applies. This element is required only if you specify more than one filter.

                                                                                                                                                                                        *

                                                                                                                                                                                        For example:

                                                                                                                                                                                        *
                                                                                                                                                                                          *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          If you specify both a Prefix and a Tag filter, wrap these filters in - * an And tag.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If you specify both a Prefix and a Tag filter, wrap + * these filters in an And tag.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          If you specify a filter based on multiple tags, wrap the Tag - * elements in an And tag

                                                                                                                                                                                          + *

                                                                                                                                                                                          If you specify a filter based on multiple tags, wrap the Tag elements + * in an And tag

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        */ @@ -5376,34 +5745,34 @@ export namespace ReplicationRuleAndOperator { /** *

                                                                                                                                                                                        A filter that identifies the subset of objects to which the replication rule applies. A - * Filter must specify exactly one Prefix, Tag, or an - * And child element.

                                                                                                                                                                                        + * Filter must specify exactly one Prefix, Tag, or + * an And child element.

                                                                                                                                                                                        */ export interface ReplicationRuleFilter { - /** - *

                                                                                                                                                                                        A container for specifying a tag key and value.

                                                                                                                                                                                        - *

                                                                                                                                                                                        The rule applies only to objects that have the tag in their tag set.

                                                                                                                                                                                        - */ - Tag?: Tag; - /** *

                                                                                                                                                                                        An object key name prefix that identifies the subset of objects to which the rule * applies.

                                                                                                                                                                                        */ Prefix?: string; + /** + *

                                                                                                                                                                                        A container for specifying a tag key and value.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The rule applies only to objects that have the tag in their tag set.

                                                                                                                                                                                        + */ + Tag?: Tag; + /** *

                                                                                                                                                                                        A container for specifying rule filters. The filters determine the subset of objects to - * which the rule applies. This element is required only if you specify more than one filter. For - * example:

                                                                                                                                                                                        + * which the rule applies. This element is required only if you specify more than one filter. + * For example:

                                                                                                                                                                                        *
                                                                                                                                                                                          *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          If you specify both a Prefix and a Tag filter, wrap these filters - * in an And tag.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If you specify both a Prefix and a Tag filter, wrap + * these filters in an And tag.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          If you specify a filter based on multiple tags, wrap the Tag elements in an - * And tag.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If you specify a filter based on multiple tags, wrap the Tag elements + * in an And tag.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        */ @@ -5420,11 +5789,12 @@ export type SseKmsEncryptedObjectsStatus = "Disabled" | "Enabled"; /** *

                                                                                                                                                                                        A container for filter information for the selection of S3 objects encrypted with AWS - * KMS.

                                                                                                                                                                                        + * KMS.

                                                                                                                                                                                        */ export interface SseKmsEncryptedObjects { /** - *

                                                                                                                                                                                        Specifies whether Amazon S3 replicates objects created with server-side encryption using a customer master key (CMK) stored in AWS Key Management Service.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies whether Amazon S3 replicates objects created with server-side encryption using a + * customer master key (CMK) stored in AWS Key Management Service.

                                                                                                                                                                                        */ Status: SseKmsEncryptedObjectsStatus | string | undefined; } @@ -5436,16 +5806,17 @@ export namespace SseKmsEncryptedObjects { } /** - *

                                                                                                                                                                                        A container that describes additional filters for identifying the source objects that you - * want to replicate. You can choose to enable or disable the replication of these objects. - * Currently, Amazon S3 supports only the filter that you can specify for objects created with - * server-side encryption using a customer master key (CMK) stored in AWS Key Management Service (SSE-KMS).

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container that describes additional filters for identifying the source objects that + * you want to replicate. You can choose to enable or disable the replication of these + * objects. Currently, Amazon S3 supports only the filter that you can specify for objects created + * with server-side encryption using a customer master key (CMK) stored in AWS Key Management + * Service (SSE-KMS).

                                                                                                                                                                                        */ export interface SourceSelectionCriteria { /** *

                                                                                                                                                                                        A container for filter information for the selection of Amazon S3 objects encrypted with AWS - * KMS. If you include SourceSelectionCriteria in the replication configuration, - * this element is required.

                                                                                                                                                                                        + * KMS. If you include SourceSelectionCriteria in the replication configuration, + * this element is required.

                                                                                                                                                                                        */ SseKmsEncryptedObjects?: SseKmsEncryptedObjects; } @@ -5462,79 +5833,84 @@ export type ReplicationRuleStatus = "Disabled" | "Enabled"; *

                                                                                                                                                                                        Specifies which Amazon S3 objects to replicate and where to store the replicas.

                                                                                                                                                                                        */ export interface ReplicationRule { - /** - *

                                                                                                                                                                                        An object key name prefix that identifies the object or objects to which the rule applies. - * The maximum prefix length is 1,024 characters. To include all objects in a bucket, specify - * an empty string.

                                                                                                                                                                                        - */ - Prefix?: string; - /** *

                                                                                                                                                                                        A unique identifier for the rule. The maximum value is 255 characters.

                                                                                                                                                                                        */ ID?: string; - /** - *

                                                                                                                                                                                        A container that describes additional filters for identifying the source objects that you - * want to replicate. You can choose to enable or disable the replication of these objects. - * Currently, Amazon S3 supports only the filter that you can specify for objects created with - * server-side encryption using a customer master key (CMK) stored in AWS Key Management Service (SSE-KMS).

                                                                                                                                                                                        - */ - SourceSelectionCriteria?: SourceSelectionCriteria; - - /** - *

                                                                                                                                                                                        Specifies whether Amazon S3 replicates the delete markers. If you specify a Filter, you must specify this element. However, in the latest version of replication configuration (when Filter is specified), Amazon S3 doesn't replicate delete markers. Therefore, the DeleteMarkerReplication element can contain only Disabled. For an example configuration, see Basic Rule Configuration. - *

                                                                                                                                                                                        - * - * - *

                                                                                                                                                                                        If you don't specify the Filter element, Amazon S3 assumes that the replication - * configuration is the earlier version, V1. In the earlier version, Amazon S3 handled - * replication of delete markers differently. For more information, see Backward Compatibility.

                                                                                                                                                                                        - *
                                                                                                                                                                                        - */ - DeleteMarkerReplication?: DeleteMarkerReplication; - - /** - *

                                                                                                                                                                                        A filter that identifies the subset of objects to which the replication rule applies. A - * Filter must specify exactly one Prefix, Tag, or an - * And child element.

                                                                                                                                                                                        - */ - Filter?: ReplicationRuleFilter; - /** *

                                                                                                                                                                                        The priority associated with the rule. If you specify multiple rules in a replication - * configuration, Amazon S3 prioritizes the rules to prevent conflicts when filtering. If two or - * more rules identify the same object based on a specified filter, the rule with higher priority - * takes precedence. For example:

                                                                                                                                                                                        + * configuration, Amazon S3 prioritizes the rules to prevent conflicts when filtering. If two or + * more rules identify the same object based on a specified filter, the rule with higher + * priority takes precedence. For example:

                                                                                                                                                                                        *
                                                                                                                                                                                          *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          Same object quality prefix-based filter criteria if prefixes you specified in multiple rules - * overlap

                                                                                                                                                                                          + *

                                                                                                                                                                                          Same object quality prefix-based filter criteria if prefixes you specified in + * multiple rules overlap

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          Same object qualify tag-based filter criteria specified in multiple rules

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        - *

                                                                                                                                                                                        For more information, see Replication in the Amazon Simple Storage Service Developer - * Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        For more information, see Replication in the + * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ Priority?: number; + /** + *

                                                                                                                                                                                        An object key name prefix that identifies the object or objects to which the rule + * applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket, + * specify an empty string.

                                                                                                                                                                                        + */ + Prefix?: string; + + /** + *

                                                                                                                                                                                        A filter that identifies the subset of objects to which the replication rule applies. A + * Filter must specify exactly one Prefix, Tag, or + * an And child element.

                                                                                                                                                                                        + */ + Filter?: ReplicationRuleFilter; + /** *

                                                                                                                                                                                        Specifies whether the rule is enabled.

                                                                                                                                                                                        */ Status: ReplicationRuleStatus | string | undefined; + /** + *

                                                                                                                                                                                        A container that describes additional filters for identifying the source objects that + * you want to replicate. You can choose to enable or disable the replication of these + * objects. Currently, Amazon S3 supports only the filter that you can specify for objects created + * with server-side encryption using a customer master key (CMK) stored in AWS Key Management + * Service (SSE-KMS).

                                                                                                                                                                                        + */ + SourceSelectionCriteria?: SourceSelectionCriteria; + /** *

                                                                                                                                                                                        */ ExistingObjectReplication?: ExistingObjectReplication; /** - *

                                                                                                                                                                                        A container for information about the replication destination - * and its configurations including enabling the S3 Replication Time Control (S3 RTC).

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container for information about the replication destination and its configurations + * including enabling the S3 Replication Time Control (S3 RTC).

                                                                                                                                                                                        */ Destination: Destination | undefined; + + /** + *

                                                                                                                                                                                        Specifies whether Amazon S3 replicates delete markers. If you specify a Filter + * in your replication configuration, you must also include a + * DeleteMarkerReplication element. If your Filter includes a + * Tag element, the DeleteMarkerReplication + * Status must be set to Disabled, because Amazon S3 does not support replicating + * delete markers for tag-based rules. For an example configuration, see Basic + * Rule Configuration.

                                                                                                                                                                                        + *

                                                                                                                                                                                        For more information about delete marker replication, see Basic Rule Configuration.

                                                                                                                                                                                        + * + *

                                                                                                                                                                                        If you are using an earlier version of the replication configuration, Amazon S3 handles + * replication of delete markers differently. For more information, see Backward Compatibility.

                                                                                                                                                                                        + *
                                                                                                                                                                                        + */ + DeleteMarkerReplication?: DeleteMarkerReplication; } export namespace ReplicationRule { @@ -5545,18 +5921,19 @@ export namespace ReplicationRule { /** *

                                                                                                                                                                                        A container for replication rules. You can add up to 1,000 rules. The maximum size of a - * replication configuration is 2 MB.

                                                                                                                                                                                        + * replication configuration is 2 MB.

                                                                                                                                                                                        */ export interface ReplicationConfiguration { /** - *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that Amazon S3 assumes - * when replicating objects. For more information, see How to Set Up Replication in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that + * Amazon S3 assumes when replicating objects. For more information, see How to Set Up + * Replication in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ Role: string | undefined; /** *

                                                                                                                                                                                        A container for one or more replication rules. A replication configuration must have at - * least one rule and can contain a maximum of 1,000 rules.

                                                                                                                                                                                        + * least one rule and can contain a maximum of 1,000 rules.

                                                                                                                                                                                        */ Rules: ReplicationRule[] | undefined; } @@ -5570,7 +5947,7 @@ export namespace ReplicationConfiguration { export interface GetBucketReplicationOutput { /** *

                                                                                                                                                                                        A container for replication rules. You can add up to 1,000 rules. The maximum size of a - * replication configuration is 2 MB.

                                                                                                                                                                                        + * replication configuration is 2 MB.

                                                                                                                                                                                        */ ReplicationConfiguration?: ReplicationConfiguration; } @@ -5583,14 +5960,14 @@ export namespace GetBucketReplicationOutput { export interface GetBucketReplicationRequest { /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The bucket name for which to get the replication information.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The bucket name for which to get the replication information.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketReplicationRequest { @@ -5647,14 +6024,14 @@ export namespace GetBucketTaggingOutput { export interface GetBucketTaggingRequest { /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The name of the bucket for which to get the tagging information.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The name of the bucket for which to get the tagging information.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketTaggingRequest { @@ -5674,7 +6051,9 @@ export interface GetBucketVersioningOutput { Status?: BucketVersioningStatus | string; /** - *

                                                                                                                                                                                        Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies whether MFA delete is enabled in the bucket versioning configuration. This + * element is only returned if the bucket has been configured with MFA delete. If the bucket + * has never been so configured, this element is not returned.

                                                                                                                                                                                        */ MFADelete?: MFADeleteStatus | string; } @@ -5687,14 +6066,14 @@ export namespace GetBucketVersioningOutput { export interface GetBucketVersioningRequest { /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The name of the bucket for which to get the versioning information.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The name of the bucket for which to get the versioning information.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketVersioningRequest { @@ -5724,10 +6103,10 @@ export namespace ErrorDocument { */ export interface IndexDocument { /** - *

                                                                                                                                                                                        A suffix that is appended to a request that is for a directory on the website endpoint (for - * example,if the suffix is index.html and you make a request to samplebucket/images/ the data - * that is returned will be for the object with the key name images/index.html) The suffix - * must not be empty and must not include a slash character.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A suffix that is appended to a request that is for a directory on the website endpoint + * (for example,if the suffix is index.html and you make a request to samplebucket/images/ the + * data that is returned will be for the object with the key name images/index.html) The + * suffix must not be empty and must not include a slash character.

                                                                                                                                                                                        */ Suffix: string | undefined; } @@ -5741,18 +6120,20 @@ export namespace IndexDocument { export type Protocol = "http" | "https"; /** - *

                                                                                                                                                                                        Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 + * bucket.

                                                                                                                                                                                        */ export interface RedirectAllRequestsTo { /** - *

                                                                                                                                                                                        Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Name of the host where requests are redirected.

                                                                                                                                                                                        */ - Protocol?: Protocol | string; + HostName: string | undefined; /** - *

                                                                                                                                                                                        Name of the host where requests are redirected.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Protocol to use when redirecting requests. The default is the protocol that is used in + * the original request.

                                                                                                                                                                                        */ - HostName: string | undefined; + Protocol?: Protocol | string; } export namespace RedirectAllRequestsTo { @@ -5762,24 +6143,32 @@ export namespace RedirectAllRequestsTo { } /** - *

                                                                                                                                                                                        A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container for describing a condition that must be met for the specified redirect to + * apply. For example, 1. If request is for pages in the /docs folder, redirect + * to the /documents folder. 2. If request results in HTTP error 4xx, redirect + * request to another host where you might process the error.

                                                                                                                                                                                        */ export interface Condition { /** - *

                                                                                                                                                                                        The object key name prefix when the redirect is applied. For example, to redirect requests for - * ExamplePage.html, the key prefix will be ExamplePage.html. To - * redirect request for all pages with the prefix docs/, the key prefix will be - * /docs, which identifies all objects in the docs/ folder. - * Required when the parent element Condition is specified and sibling - * HttpErrorCodeReturnedEquals is not specified. If both conditions are - * specified, both must be true for the redirect to be applied.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The HTTP error code when the redirect is applied. In the event of an error, if the error + * code equals this value, then the specified redirect is applied. Required when parent + * element Condition is specified and sibling KeyPrefixEquals is not + * specified. If both are specified, then both must be true for the redirect to be + * applied.

                                                                                                                                                                                        */ - KeyPrefixEquals?: string; + HttpErrorCodeReturnedEquals?: string; /** - *

                                                                                                                                                                                        The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The object key name prefix when the redirect is applied. For example, to redirect + * requests for ExamplePage.html, the key prefix will be + * ExamplePage.html. To redirect request for all pages with the prefix + * docs/, the key prefix will be /docs, which identifies all + * objects in the docs/ folder. Required when the parent element + * Condition is specified and sibling HttpErrorCodeReturnedEquals + * is not specified. If both conditions are specified, both must be true for the redirect to + * be applied.

                                                                                                                                                                                        */ - HttpErrorCodeReturnedEquals?: string; + KeyPrefixEquals?: string; } export namespace Condition { @@ -5789,31 +6178,41 @@ export namespace Condition { } /** - *

                                                                                                                                                                                        Specifies how requests are redirected. In the event of an error, you can specify a different error code to return.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies how requests are redirected. In the event of an error, you can specify a + * different error code to return.

                                                                                                                                                                                        */ export interface Redirect { /** - *

                                                                                                                                                                                        The HTTP redirect code to use on the response. Not required if one of the siblings is present.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The host name to use in the redirect request.

                                                                                                                                                                                        */ - HttpRedirectCode?: string; + HostName?: string; /** - *

                                                                                                                                                                                        The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The HTTP redirect code to use on the response. Not required if one of the siblings is + * present.

                                                                                                                                                                                        */ - ReplaceKeyPrefixWith?: string; + HttpRedirectCode?: string; /** - *

                                                                                                                                                                                        Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Protocol to use when redirecting requests. The default is the protocol that is used in + * the original request.

                                                                                                                                                                                        */ Protocol?: Protocol | string; /** - *

                                                                                                                                                                                        The host name to use in the redirect request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The object key prefix to use in the redirect request. For example, to redirect requests + * for all pages with prefix docs/ (objects in the docs/ folder) to + * documents/, you can set a condition block with KeyPrefixEquals + * set to docs/ and in the Redirect set ReplaceKeyPrefixWith to + * /documents. Not required if one of the siblings is present. Can be present + * only if ReplaceKeyWith is not provided.

                                                                                                                                                                                        */ - HostName?: string; + ReplaceKeyPrefixWith?: string; /** - *

                                                                                                                                                                                        The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the siblings is present. Can be present only if ReplaceKeyPrefixWith is not provided.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The specific object key to use in the redirect request. For example, redirect request to + * error.html. Not required if one of the siblings is present. Can be present + * only if ReplaceKeyPrefixWith is not provided.

                                                                                                                                                                                        */ ReplaceKeyWith?: string; } @@ -5831,16 +6230,19 @@ export namespace Redirect { */ export interface RoutingRule { /** - *

                                                                                                                                                                                        Container for redirect information. You can redirect requests to another host, to another - * page, or with another protocol. In the event of an error, you can specify a different error - * code to return.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A container for describing a condition that must be met for the specified redirect to + * apply. For example, 1. If request is for pages in the /docs folder, redirect + * to the /documents folder. 2. If request results in HTTP error 4xx, redirect + * request to another host where you might process the error.

                                                                                                                                                                                        */ - Redirect: Redirect | undefined; + Condition?: Condition; /** - *

                                                                                                                                                                                        A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Container for redirect information. You can redirect requests to another host, to + * another page, or with another protocol. In the event of an error, you can specify a + * different error code to return.

                                                                                                                                                                                        */ - Condition?: Condition; + Redirect: Redirect | undefined; } export namespace RoutingRule { @@ -5851,24 +6253,26 @@ export namespace RoutingRule { export interface GetBucketWebsiteOutput { /** - *

                                                                                                                                                                                        The object key name of the website error document to use for 4XX class errors.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 + * bucket.

                                                                                                                                                                                        */ - ErrorDocument?: ErrorDocument; + RedirectAllRequestsTo?: RedirectAllRequestsTo; /** - *

                                                                                                                                                                                        Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The name of the index document for the website (for example + * index.html).

                                                                                                                                                                                        */ - RedirectAllRequestsTo?: RedirectAllRequestsTo; + IndexDocument?: IndexDocument; /** - *

                                                                                                                                                                                        Rules that define when a redirect is applied and the redirect behavior.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The object key name of the website error document to use for 4XX class errors.

                                                                                                                                                                                        */ - RoutingRules?: RoutingRule[]; + ErrorDocument?: ErrorDocument; /** - *

                                                                                                                                                                                        The name of the index document for the website (for example index.html).

                                                                                                                                                                                        + *

                                                                                                                                                                                        Rules that define when a redirect is applied and the redirect behavior.

                                                                                                                                                                                        */ - IndexDocument?: IndexDocument; + RoutingRules?: RoutingRule[]; } export namespace GetBucketWebsiteOutput { @@ -5879,14 +6283,14 @@ export namespace GetBucketWebsiteOutput { export interface GetBucketWebsiteRequest { /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The bucket name for which to get the website configuration.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The bucket name for which to get the website configuration.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetBucketWebsiteRequest { @@ -5899,40 +6303,38 @@ export type ReplicationStatus = "COMPLETE" | "FAILED" | "PENDING" | "REPLICA"; export interface GetObjectOutput { /** - *

                                                                                                                                                                                        The Object Lock mode currently in place for this object.

                                                                                                                                                                                        - */ - ObjectLockMode?: ObjectLockMode | string; - - /** - *

                                                                                                                                                                                        The language the content is in.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Object data.

                                                                                                                                                                                        */ - ContentLanguage?: string; + Body?: Readable | ReadableStream | Blob; /** - *

                                                                                                                                                                                        Specifies presentational information for the object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If + * false, this response header does not appear in the response.

                                                                                                                                                                                        */ - ContentDisposition?: string; + DeleteMarker?: boolean; /** - *

                                                                                                                                                                                        Specifies caching behavior along the request/reply chain.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Indicates that a range of bytes was specified.

                                                                                                                                                                                        */ - CacheControl?: string; + AcceptRanges?: string; /** - *

                                                                                                                                                                                        A standard MIME type describing the format of the object data.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If the object expiration is configured (see PUT Bucket lifecycle), the response includes + * this header. It includes the expiry-date and rule-id key-value pairs providing object + * expiration information. The value of the rule-id is URL encoded.

                                                                                                                                                                                        */ - ContentType?: string; + Expiration?: string; /** - *

                                                                                                                                                                                        The portion of the object returned in the response.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Provides information about object restoration operation and expiration time of the + * restored object copy.

                                                                                                                                                                                        */ - ContentRange?: string; + Restore?: string; /** - *

                                                                                                                                                                                        If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key - * (CMK) that was used for the object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Last modified date of the object

                                                                                                                                                                                        */ - SSEKMSKeyId?: string; + LastModified?: Date; /** *

                                                                                                                                                                                        Size of the body in bytes.

                                                                                                                                                                                        @@ -5940,42 +6342,65 @@ export interface GetObjectOutput { ContentLength?: number; /** - *

                                                                                                                                                                                        The date and time when this object's Object Lock will expire.

                                                                                                                                                                                        + *

                                                                                                                                                                                        An ETag is an opaque identifier assigned by a web server to a specific version of a + * resource found at a URL.

                                                                                                                                                                                        */ - ObjectLockRetainUntilDate?: Date; + ETag?: string; /** - *

                                                                                                                                                                                        Indicates whether this object has an active legal hold. This field is only returned if you have permission to view an object's legal hold status.

                                                                                                                                                                                        + *

                                                                                                                                                                                        This is set to the number of metadata entries not returned in x-amz-meta + * headers. This can happen if you create metadata using an API like SOAP that supports more + * flexible metadata than the REST API. For example, using SOAP, you can create metadata whose + * values are not legal HTTP headers.

                                                                                                                                                                                        */ - ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; + MissingMeta?: number; /** - *

                                                                                                                                                                                        A map of metadata to store with the object in S3.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Version of the object.

                                                                                                                                                                                        */ - Metadata?: { [key: string]: string }; + VersionId?: string; /** - *

                                                                                                                                                                                        Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies caching behavior along the request/reply chain.

                                                                                                                                                                                        */ - DeleteMarker?: boolean; + CacheControl?: string; /** - *

                                                                                                                                                                                        Provides storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies presentational information for the object.

                                                                                                                                                                                        */ - StorageClass?: StorageClass | string; + ContentDisposition?: string; /** - *

                                                                                                                                                                                        Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies what content encodings have been applied to the object and thus what decoding + * mechanisms must be applied to obtain the media-type referenced by the Content-Type header + * field.

                                                                                                                                                                                        */ ContentEncoding?: string; /** - *

                                                                                                                                                                                        Provides information about object restoration operation and expiration time of the restored object copy.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The language the content is in.

                                                                                                                                                                                        */ - Restore?: string; + ContentLanguage?: string; + + /** + *

                                                                                                                                                                                        The portion of the object returned in the response.

                                                                                                                                                                                        + */ + ContentRange?: string; /** - *

                                                                                                                                                                                        If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A standard MIME type describing the format of the object data.

                                                                                                                                                                                        + */ + ContentType?: string; + + /** + *

                                                                                                                                                                                        The date and time at which the object is no longer cacheable.

                                                                                                                                                                                        + */ + Expires?: Date; + + /** + *

                                                                                                                                                                                        If the bucket is configured as a website, redirects requests for this object to another + * object in the same bucket or to an external URL. Amazon S3 stores the value of this header in + * the object metadata.

                                                                                                                                                                                        */ WebsiteRedirectLocation?: string; @@ -5986,54 +6411,51 @@ export interface GetObjectOutput { ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                        The count of parts this object has.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A map of metadata to store with the object in S3.

                                                                                                                                                                                        */ - PartsCount?: number; + Metadata?: { [key: string]: string }; /** - *

                                                                                                                                                                                        If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                        */ SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                        Indicates that a range of bytes was specified.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header to provide round-trip message integrity verification of + * the customer-provided encryption key.

                                                                                                                                                                                        */ - AcceptRanges?: string; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                        Version of the object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric + * customer managed customer master key (CMK) that was used for the object.

                                                                                                                                                                                        */ - VersionId?: string; + SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                        Object data.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Provides storage class information of the object. Amazon S3 returns this header for all + * objects except for S3 Standard storage class objects.

                                                                                                                                                                                        */ - Body?: Readable | ReadableStream | Blob; + StorageClass?: StorageClass | string; /** - *

                                                                                                                                                                                        The date and time at which the object is no longer cacheable.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                        */ - Expires?: Date; + RequestCharged?: RequestCharged | string; /** - *

                                                                                                                                                                                        If the object expiration is configured (see PUT Bucket lifecycle), the response includes this - * header. It includes the expiry-date and rule-id key-value pairs providing object expiration - * information. The value of the rule-id is URL encoded.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Amazon S3 can return this if your request involves a bucket that is either a source or + * destination in a replication rule.

                                                                                                                                                                                        */ - Expiration?: string; + ReplicationStatus?: ReplicationStatus | string; /** - *

                                                                                                                                                                                        This is set to the number of metadata entries not returned in x-amz-meta headers. - * This can happen if you create metadata using an API like SOAP that supports more flexible - * metadata than the REST API. For example, using SOAP, you can create metadata whose values - * are not legal HTTP headers.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The count of parts this object has.

                                                                                                                                                                                        */ - MissingMeta?: number; - - /** - *

                                                                                                                                                                                        Amazon S3 can return this if your request involves a bucket that is either a source or destination in a replication rule.

                                                                                                                                                                                        - */ - ReplicationStatus?: ReplicationStatus | string; + PartsCount?: number; /** *

                                                                                                                                                                                        The number of tags, if any, on the object.

                                                                                                                                                                                        @@ -6041,27 +6463,20 @@ export interface GetObjectOutput { TagCount?: number; /** - *

                                                                                                                                                                                        If server-side encryption with a customer-provided encryption key was requested, the response - * will include this header to provide round-trip message integrity verification of the - * customer-provided encryption key.

                                                                                                                                                                                        - */ - SSECustomerKeyMD5?: string; - - /** - *

                                                                                                                                                                                        Last modified date of the object

                                                                                                                                                                                        + *

                                                                                                                                                                                        The Object Lock mode currently in place for this object.

                                                                                                                                                                                        */ - LastModified?: Date; + ObjectLockMode?: ObjectLockMode | string; /** - *

                                                                                                                                                                                        An ETag is an opaque identifier assigned by a web server to a specific version of a resource - * found at a URL.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The date and time when this object's Object Lock will expire.

                                                                                                                                                                                        */ - ETag?: string; + ObjectLockRetainUntilDate?: Date; /** - *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Indicates whether this object has an active legal hold. This field is only returned if + * you have permission to view an object's legal hold status.

                                                                                                                                                                                        */ - RequestCharged?: RequestCharged | string; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; } export namespace GetObjectOutput { @@ -6072,19 +6487,6 @@ export namespace GetObjectOutput { } export interface GetObjectRequest { - /** - *

                                                                                                                                                                                        Sets the Content-Encoding header of the response.

                                                                                                                                                                                        - */ - ResponseContentEncoding?: string; - - /** - *

                                                                                                                                                                                        Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This - * value is used to store the object and then it is discarded; Amazon S3 does not store the - * encryption key. The key must be appropriate for use with the algorithm specified in the - * x-amz-server-side-encryption-customer-algorithm header.

                                                                                                                                                                                        - */ - SSECustomerKey?: string; - /** *

                                                                                                                                                                                        The bucket name containing the object.

                                                                                                                                                                                        *

                                                                                                                                                                                        When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        @@ -6093,44 +6495,48 @@ export interface GetObjectRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                        Specifies the algorithm to use to when encrypting the object (for example, AES256).

                                                                                                                                                                                        + *

                                                                                                                                                                                        Return the object only if its entity tag (ETag) is the same as the one specified, + * otherwise return a 412 (precondition failed).

                                                                                                                                                                                        */ - SSECustomerAlgorithm?: string; + IfMatch?: string; /** - *

                                                                                                                                                                                        Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses - * this header for a message integrity check to ensure that the encryption key was transmitted - * without error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Return the object only if it has been modified since the specified time, otherwise + * return a 304 (not modified).

                                                                                                                                                                                        */ - SSECustomerKeyMD5?: string; + IfModifiedSince?: Date; /** - *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Return the object only if its entity tag (ETag) is different from the one specified, + * otherwise return a 304 (not modified).

                                                                                                                                                                                        */ - RequestPayer?: RequestPayer | string; + IfNoneMatch?: string; /** - *

                                                                                                                                                                                        Key of the object to get.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Return the object only if it has not been modified since the specified time, otherwise + * return a 412 (precondition failed).

                                                                                                                                                                                        */ - Key: string | undefined; + IfUnmodifiedSince?: Date; /** - *

                                                                                                                                                                                        Sets the Cache-Control header of the response.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Key of the object to get.

                                                                                                                                                                                        */ - ResponseCacheControl?: string; + Key: string | undefined; /** - *

                                                                                                                                                                                        Sets the Content-Language header of the response.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Downloads the specified range bytes of an object. For more information about the HTTP + * Range header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.

                                                                                                                                                                                        + * + *

                                                                                                                                                                                        Amazon S3 doesn't support retrieving multiple ranges of data per GET + * request.

                                                                                                                                                                                        + *
                                                                                                                                                                                        */ - ResponseContentLanguage?: string; + Range?: string; /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Sets the Cache-Control header of the response.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + ResponseCacheControl?: string; /** *

                                                                                                                                                                                        Sets the Content-Disposition header of the response

                                                                                                                                                                                        @@ -6138,19 +6544,24 @@ export interface GetObjectRequest { ResponseContentDisposition?: string; /** - *

                                                                                                                                                                                        Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).

                                                                                                                                                                                        + *

                                                                                                                                                                                        Sets the Content-Encoding header of the response.

                                                                                                                                                                                        */ - IfUnmodifiedSince?: Date; + ResponseContentEncoding?: string; /** - *

                                                                                                                                                                                        Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' GET request for the part specified. Useful for downloading just a part of an object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Sets the Content-Language header of the response.

                                                                                                                                                                                        */ - PartNumber?: number; + ResponseContentLanguage?: string; + + /** + *

                                                                                                                                                                                        Sets the Content-Type header of the response.

                                                                                                                                                                                        + */ + ResponseContentType?: string; /** - *

                                                                                                                                                                                        Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).

                                                                                                                                                                                        + *

                                                                                                                                                                                        Sets the Expires header of the response.

                                                                                                                                                                                        */ - IfModifiedSince?: Date; + ResponseExpires?: Date; /** *

                                                                                                                                                                                        VersionId used to reference a specific version of the object.

                                                                                                                                                                                        @@ -6158,33 +6569,45 @@ export interface GetObjectRequest { VersionId?: string; /** - *

                                                                                                                                                                                        Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the algorithm to use to when encrypting the object (for example, + * AES256).

                                                                                                                                                                                        */ - IfNoneMatch?: string; + SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                        Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This + * value is used to store the object and then it is discarded; Amazon S3 does not store the + * encryption key. The key must be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

                                                                                                                                                                                        */ - IfMatch?: string; + SSECustomerKey?: string; /** - *

                                                                                                                                                                                        Sets the Expires header of the response.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses + * this header for a message integrity check to ensure that the encryption key was transmitted + * without error.

                                                                                                                                                                                        */ - ResponseExpires?: Date; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                        Downloads the specified range bytes of an object. For more information about the HTTP Range - * header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.

                                                                                                                                                                                        - * - *

                                                                                                                                                                                        Amazon S3 doesn't support retrieving multiple ranges of data per GET request.

                                                                                                                                                                                        - *
                                                                                                                                                                                        + *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                        */ - Range?: string; + RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                        Sets the Content-Type header of the response.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Part number of the object being read. This is a positive integer between 1 and 10,000. + * Effectively performs a 'ranged' GET request for the part specified. Useful for downloading + * just a part of an object.

                                                                                                                                                                                        */ - ResponseContentType?: string; + PartNumber?: number; + + /** + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + */ + ExpectedBucketOwner?: string; } export namespace GetObjectRequest { @@ -6194,6 +6617,22 @@ export namespace GetObjectRequest { }); } +/** + *

                                                                                                                                                                                        Object is archived and inaccessible until restored.

                                                                                                                                                                                        + */ +export interface InvalidObjectState extends __SmithyException, $MetadataBearer { + name: "InvalidObjectState"; + $fault: "client"; + StorageClass?: StorageClass | string; + AccessTier?: IntelligentTieringAccessTier | string; +} + +export namespace InvalidObjectState { + export const filterSensitiveLog = (obj: InvalidObjectState): any => ({ + ...obj, + }); +} + /** *

                                                                                                                                                                                        The specified key does not exist.

                                                                                                                                                                                        */ @@ -6210,18 +6649,18 @@ export namespace NoSuchKey { export interface GetObjectAclOutput { /** - *

                                                                                                                                                                                        A list of grants.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Container for the bucket owner's display name and ID.

                                                                                                                                                                                        */ - Grants?: Grant[]; + Owner?: Owner; /** - *

                                                                                                                                                                                        - * Container for the bucket owner's display name and ID.

                                                                                                                                                                                        + *

                                                                                                                                                                                        A list of grants.

                                                                                                                                                                                        */ - Owner?: Owner; + Grants?: Grant[]; /** - *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                        */ RequestCharged?: RequestCharged | string; } @@ -6233,11 +6672,6 @@ export namespace GetObjectAclOutput { } export interface GetObjectAclRequest { - /** - *

                                                                                                                                                                                        The key of the object for which to get the ACL information.

                                                                                                                                                                                        - */ - Key: string | undefined; - /** *

                                                                                                                                                                                        The bucket name that contains the object for which to get the ACL information.

                                                                                                                                                                                        *

                                                                                                                                                                                        When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        @@ -6245,22 +6679,27 @@ export interface GetObjectAclRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The key of the object for which to get the ACL information.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Key: string | undefined; + + /** + *

                                                                                                                                                                                        VersionId used to reference a specific version of the object.

                                                                                                                                                                                        + */ + VersionId?: string; /** *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                        + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                        */ RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                        VersionId used to reference a specific version of the object.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - VersionId?: string; + ExpectedBucketOwner?: string; } export namespace GetObjectAclRequest { @@ -6300,28 +6739,26 @@ export namespace GetObjectLegalHoldOutput { export interface GetObjectLegalHoldRequest { /** - *

                                                                                                                                                                                        The key name for the object whose Legal Hold - * status you want to retrieve.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The bucket name containing the object whose Legal Hold status you want to retrieve.

                                                                                                                                                                                        + *

                                                                                                                                                                                        When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ - Key: string | undefined; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The version ID of the object whose Legal Hold status you want to retrieve.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The key name for the object whose Legal Hold status you want to retrieve.

                                                                                                                                                                                        */ - VersionId?: string; + Key: string | undefined; /** - *

                                                                                                                                                                                        The bucket name containing the object whose Legal - * Hold status you want to retrieve.

                                                                                                                                                                                        - *

                                                                                                                                                                                        When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The version ID of the object whose Legal Hold status you want to retrieve.

                                                                                                                                                                                        */ - Bucket: string | undefined; + VersionId?: string; /** *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                        + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                        */ RequestPayer?: RequestPayer | string; @@ -6342,18 +6779,20 @@ export type ObjectLockEnabled = "Enabled"; export type ObjectLockRetentionMode = "COMPLIANCE" | "GOVERNANCE"; /** - *

                                                                                                                                                                                        The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The container element for specifying the default Object Lock retention settings for new + * objects placed in the specified bucket.

                                                                                                                                                                                        */ export interface DefaultRetention { /** - *

                                                                                                                                                                                        The number of days that you want to specify for the default retention period.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The default Object Lock retention mode you want to apply to new objects placed in the + * specified bucket.

                                                                                                                                                                                        */ - Days?: number; + Mode?: ObjectLockRetentionMode | string; /** - *

                                                                                                                                                                                        The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The number of days that you want to specify for the default retention period.

                                                                                                                                                                                        */ - Mode?: ObjectLockRetentionMode | string; + Days?: number; /** *

                                                                                                                                                                                        The number of years that you want to specify for the default retention period.

                                                                                                                                                                                        @@ -6372,7 +6811,8 @@ export namespace DefaultRetention { */ export interface ObjectLockRule { /** - *

                                                                                                                                                                                        The default retention period that you want to apply to new objects placed in the specified bucket.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The default retention period that you want to apply to new objects placed in the + * specified bucket.

                                                                                                                                                                                        */ DefaultRetention?: DefaultRetention; } @@ -6472,33 +6912,33 @@ export namespace GetObjectRetentionOutput { export interface GetObjectRetentionRequest { /** - *

                                                                                                                                                                                        The version ID for the object whose retention settings you want to retrieve.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The bucket name containing the object whose retention settings you want to retrieve.

                                                                                                                                                                                        + *

                                                                                                                                                                                        When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ - VersionId?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The key name for the object whose retention settings you want to retrieve.

                                                                                                                                                                                        */ - ExpectedBucketOwner?: string; + Key: string | undefined; /** - *

                                                                                                                                                                                        The key name for the object whose retention settings you want to retrieve.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The version ID for the object whose retention settings you want to retrieve.

                                                                                                                                                                                        */ - Key: string | undefined; + VersionId?: string; /** *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                        + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                        */ RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                        The bucket name containing the object whose retention settings you want to retrieve.

                                                                                                                                                                                        - *

                                                                                                                                                                                        When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetObjectRetentionRequest { @@ -6509,14 +6949,14 @@ export namespace GetObjectRetentionRequest { export interface GetObjectTaggingOutput { /** - *

                                                                                                                                                                                        Contains the tag set.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The versionId of the object for which you got the tagging information.

                                                                                                                                                                                        */ - TagSet: Tag[] | undefined; + VersionId?: string; /** - *

                                                                                                                                                                                        The versionId of the object for which you got the tagging information.

                                                                                                                                                                                        + *

                                                                                                                                                                                        Contains the tag set.

                                                                                                                                                                                        */ - VersionId?: string; + TagSet: Tag[] | undefined; } export namespace GetObjectTaggingOutput { @@ -6533,6 +6973,11 @@ export interface GetObjectTaggingRequest { */ Bucket: string | undefined; + /** + *

                                                                                                                                                                                        Object key for which to get the tagging information.

                                                                                                                                                                                        + */ + Key: string | undefined; + /** *

                                                                                                                                                                                        The versionId of the object for which to get the tagging information.

                                                                                                                                                                                        */ @@ -6542,11 +6987,6 @@ export interface GetObjectTaggingRequest { *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ ExpectedBucketOwner?: string; - - /** - *

                                                                                                                                                                                        Object key for which to get the tagging information.

                                                                                                                                                                                        - */ - Key: string | undefined; } export namespace GetObjectTaggingRequest { @@ -6562,7 +7002,8 @@ export interface GetObjectTorrentOutput { Body?: Readable | ReadableStream | Blob; /** - *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                        + *

                                                                                                                                                                                        If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                        */ RequestCharged?: RequestCharged | string; } @@ -6574,14 +7015,6 @@ export namespace GetObjectTorrentOutput { } export interface GetObjectTorrentRequest { - /** - *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                        - */ - RequestPayer?: RequestPayer | string; - /** *

                                                                                                                                                                                        The name of the bucket containing the object for which to get the torrent files.

                                                                                                                                                                                        */ @@ -6592,6 +7025,14 @@ export interface GetObjectTorrentRequest { */ Key: string | undefined; + /** + *

                                                                                                                                                                                        Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                        + */ + RequestPayer?: RequestPayer | string; + /** *

                                                                                                                                                                                        The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                        */ @@ -6605,26 +7046,19 @@ export namespace GetObjectTorrentRequest { } /** - *

                                                                                                                                                                                        The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You - * can enable the configuration options in any combination. For more information about when - * Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        + *

                                                                                                                                                                                        The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can + * enable the configuration options in any combination. For more information about when Amazon S3 + * considers a bucket or object public, see The Meaning of "Public" in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                        */ export interface PublicAccessBlockConfiguration { /** - *

                                                                                                                                                                                        Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting - * this element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the - * specified bucket policy allows public access.

                                                                                                                                                                                        - *

                                                                                                                                                                                        Enabling this setting doesn't affect existing bucket policies.

                                                                                                                                                                                        - */ - BlockPublicPolicy?: boolean; - - /** - *

                                                                                                                                                                                        Specifies whether Amazon S3 should block public access control lists (ACLs) for this - * bucket and objects in this bucket. Setting this element to TRUE causes the - * following behavior:

                                                                                                                                                                                        + *

                                                                                                                                                                                        Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket + * and objects in this bucket. Setting this element to TRUE causes the following + * behavior:

                                                                                                                                                                                        *
                                                                                                                                                                                          *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          PUT Bucket acl and PUT Object acl calls fail if the specified ACL is public.

                                                                                                                                                                                          + *

                                                                                                                                                                                          PUT Bucket acl and PUT Object acl calls fail if the specified ACL is + * public.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • *

                                                                                                                                                                                          PUT Object calls fail if the request includes a public ACL.

                                                                                                                                                                                          @@ -6637,24 +7071,33 @@ export interface PublicAccessBlockConfiguration { */ BlockPublicAcls?: boolean; - /** - *

                                                                                                                                                                                          Specifies whether Amazon S3 should restrict public bucket policies for this bucket. - * Setting this element to TRUE restricts access to this bucket to only AWS services - * and authorized users within this account if the bucket has a public policy.

                                                                                                                                                                                          - *

                                                                                                                                                                                          Enabling this setting doesn't affect previously stored bucket policies, except that public - * and cross-account access within any public bucket policy, including non-public delegation to - * specific accounts, is blocked.

                                                                                                                                                                                          - */ - RestrictPublicBuckets?: boolean; - /** *

                                                                                                                                                                                          Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this - * bucket. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs - * on this bucket and objects in this bucket.

                                                                                                                                                                                          + * bucket. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs on + * this bucket and objects in this bucket.

                                                                                                                                                                                          *

                                                                                                                                                                                          Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't - * prevent new public ACLs from being set.

                                                                                                                                                                                          + * prevent new public ACLs from being set.

                                                                                                                                                                                          */ IgnorePublicAcls?: boolean; + + /** + *

                                                                                                                                                                                          Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting this + * element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the + * specified bucket policy allows public access.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Enabling this setting doesn't affect existing bucket policies.

                                                                                                                                                                                          + */ + BlockPublicPolicy?: boolean; + + /** + *

                                                                                                                                                                                          Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting + * this element to TRUE restricts access to this bucket to only AWS service + * principals and authorized users within this account if the bucket has a public + * policy.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Enabling this setting doesn't affect previously stored bucket policies, except that + * public and cross-account access within any public bucket policy, including non-public + * delegation to specific accounts, is blocked.

                                                                                                                                                                                          + */ + RestrictPublicBuckets?: boolean; } export namespace PublicAccessBlockConfiguration { @@ -6666,7 +7109,7 @@ export namespace PublicAccessBlockConfiguration { export interface GetPublicAccessBlockOutput { /** *

                                                                                                                                                                                          The PublicAccessBlock configuration currently in effect for this Amazon S3 - * bucket.

                                                                                                                                                                                          + * bucket.

                                                                                                                                                                                          */ PublicAccessBlockConfiguration?: PublicAccessBlockConfiguration; } @@ -6679,15 +7122,15 @@ export namespace GetPublicAccessBlockOutput { export interface GetPublicAccessBlockRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the Amazon S3 bucket whose PublicAccessBlock configuration you want + * to retrieve.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          The name of the Amazon S3 bucket whose PublicAccessBlock configuration you - * want to retrieve.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace GetPublicAccessBlockRequest { @@ -6697,17 +7140,17 @@ export namespace GetPublicAccessBlockRequest { } export interface HeadBucketRequest { - /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          - */ - ExpectedBucketOwner?: string; - /** *

                                                                                                                                                                                          The bucket name.

                                                                                                                                                                                          *

                                                                                                                                                                                          When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          *

                                                                                                                                                                                          When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          */ Bucket: string | undefined; + + /** + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + */ + ExpectedBucketOwner?: string; } export namespace HeadBucketRequest { @@ -6730,198 +7173,225 @@ export namespace NoSuchBucket { }); } +export type ArchiveStatus = "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS"; + export interface HeadObjectOutput { /** - *

                                                                                                                                                                                          Specifies caching behavior along the request/reply chain.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If + * false, this response header does not appear in the response.

                                                                                                                                                                                          */ - CacheControl?: string; + DeleteMarker?: boolean; /** - *

                                                                                                                                                                                          Size of the body in bytes.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Indicates that a range of bytes was specified.

                                                                                                                                                                                          */ - ContentLength?: number; + AcceptRanges?: string; /** - *

                                                                                                                                                                                          The date and time when the Object Lock retention period expires. This header is only returned if the requester has the s3:GetObjectRetention permission.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If the object expiration is configured (see PUT Bucket lifecycle), the response includes + * this header. It includes the expiry-date and rule-id key-value pairs providing object + * expiration information. The value of the rule-id is URL encoded.

                                                                                                                                                                                          */ - ObjectLockRetainUntilDate?: Date; + Expiration?: string; /** - *

                                                                                                                                                                                          A standard MIME type describing the format of the object data.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If the object is an archived object (an object whose storage class is GLACIER), the + * response includes this header if either the archive restoration is in progress (see RestoreObject or an archive copy is already restored.

                                                                                                                                                                                          + * + *

                                                                                                                                                                                          If an archive copy is already restored, the header value indicates when Amazon S3 is + * scheduled to delete the object copy. For example:

                                                                                                                                                                                          + * + *

                                                                                                                                                                                          + * x-amz-restore: ongoing-request="false", expiry-date="Fri, 23 Dec 2012 00:00:00 + * GMT" + *

                                                                                                                                                                                          + * + *

                                                                                                                                                                                          If the object restoration is in progress, the header returns the value + * ongoing-request="true".

                                                                                                                                                                                          + * + *

                                                                                                                                                                                          For more information about archiving objects, see Transitioning Objects: General Considerations.

                                                                                                                                                                                          */ - ContentType?: string; + Restore?: string; /** - *

                                                                                                                                                                                          An ETag is an opaque identifier assigned by a web server to a specific version of a resource - * found at a URL.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The archive state of the head object.

                                                                                                                                                                                          */ - ETag?: string; + ArchiveStatus?: ArchiveStatus | string; /** - *

                                                                                                                                                                                          Specifies presentational information for the object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Last modified date of the object

                                                                                                                                                                                          */ - ContentDisposition?: string; + LastModified?: Date; /** - *

                                                                                                                                                                                          The language the content is in.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Size of the body in bytes.

                                                                                                                                                                                          */ - ContentLanguage?: string; + ContentLength?: number; /** - *

                                                                                                                                                                                          If the object expiration is configured (see PUT Bucket lifecycle), the response includes this - * header. It includes the expiry-date and rule-id key-value pairs providing object expiration - * information. The value of the rule-id is URL encoded.

                                                                                                                                                                                          + *

                                                                                                                                                                                          An ETag is an opaque identifier assigned by a web server to a specific version of a + * resource found at a URL.

                                                                                                                                                                                          */ - Expiration?: string; + ETag?: string; /** - *

                                                                                                                                                                                          The date and time at which the object is no longer cacheable.

                                                                                                                                                                                          + *

                                                                                                                                                                                          This is set to the number of metadata entries not returned in x-amz-meta + * headers. This can happen if you create metadata using an API like SOAP that supports more + * flexible metadata than the REST API. For example, using SOAP, you can create metadata whose + * values are not legal HTTP headers.

                                                                                                                                                                                          */ - Expires?: Date; + MissingMeta?: number; /** - *

                                                                                                                                                                                          If server-side encryption with a customer-provided encryption key was requested, the response - * will include this header to provide round-trip message integrity verification of the - * customer-provided encryption key.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Version of the object.

                                                                                                                                                                                          */ - SSECustomerKeyMD5?: string; + VersionId?: string; /** - *

                                                                                                                                                                                          Amazon S3 can return this header if your request involves a bucket that is either a source or destination in a replication rule.

                                                                                                                                                                                          - * - *

                                                                                                                                                                                          In replication, you have a source bucket on which you configure replication and - * destination bucket where Amazon S3 stores object replicas. When you request an object - * (GetObject) or object metadata (HeadObject) from these - * buckets, Amazon S3 will return the x-amz-replication-status header in the - * response as follows:

                                                                                                                                                                                          - *
                                                                                                                                                                                            - *
                                                                                                                                                                                          • - *

                                                                                                                                                                                            If requesting an object from the source bucket — Amazon S3 will return the - * x-amz-replication-status header if the object in your request is - * eligible for replication.

                                                                                                                                                                                            - *

                                                                                                                                                                                            For example, suppose that in your replication configuration, you specify - * object prefix TaxDocs requesting Amazon S3 to replicate objects with key - * prefix TaxDocs. Any objects you upload with this key name prefix, for - * example TaxDocs/document1.pdf, are eligible for replication. For any - * object request with this key name prefix, Amazon S3 will return the - * x-amz-replication-status header with value PENDING, COMPLETED or - * FAILED indicating object replication status.

                                                                                                                                                                                            - *
                                                                                                                                                                                          • - *
                                                                                                                                                                                          • - *

                                                                                                                                                                                            If requesting an object from the destination bucket — Amazon S3 will return the - * x-amz-replication-status header with value REPLICA if the object in - * your request is a replica that Amazon S3 created.

                                                                                                                                                                                            - *
                                                                                                                                                                                          • - *
                                                                                                                                                                                          - * - *

                                                                                                                                                                                          For more information, see Replication.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies caching behavior along the request/reply chain.

                                                                                                                                                                                          */ - ReplicationStatus?: ReplicationStatus | string; + CacheControl?: string; /** - *

                                                                                                                                                                                          Specifies whether a legal hold is in effect for this object. This header is only returned if the requester has the s3:GetObjectLegalHold permission. This header is not returned if the specified version of this object has never had a legal hold applied. For more information about S3 Object Lock, see Object Lock.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies presentational information for the object.

                                                                                                                                                                                          */ - ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; + ContentDisposition?: string; /** - *

                                                                                                                                                                                          If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies what content encodings have been applied to the object and thus what decoding + * mechanisms must be applied to obtain the media-type referenced by the Content-Type header + * field.

                                                                                                                                                                                          */ - WebsiteRedirectLocation?: string; + ContentEncoding?: string; /** - *

                                                                                                                                                                                          If the object is stored using server-side encryption either with an AWS KMS customer master - * key (CMK) or an Amazon S3-managed encryption key, the response includes this header with - * the value of the server-side encryption algorithm used when storing this object in Amazon - * S3 (for example, AES256, aws:kms).

                                                                                                                                                                                          + *

                                                                                                                                                                                          The language the content is in.

                                                                                                                                                                                          */ - ServerSideEncryption?: ServerSideEncryption | string; + ContentLanguage?: string; /** - *

                                                                                                                                                                                          Version of the object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          A standard MIME type describing the format of the object data.

                                                                                                                                                                                          */ - VersionId?: string; + ContentType?: string; /** - *

                                                                                                                                                                                          If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The date and time at which the object is no longer cacheable.

                                                                                                                                                                                          */ - SSECustomerAlgorithm?: string; + Expires?: Date; /** - *

                                                                                                                                                                                          The count of parts this object has.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If the bucket is configured as a website, redirects requests for this object to another + * object in the same bucket or to an external URL. Amazon S3 stores the value of this header in + * the object metadata.

                                                                                                                                                                                          */ - PartsCount?: number; + WebsiteRedirectLocation?: string; /** - *

                                                                                                                                                                                          If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If the object is stored using server-side encryption either with an AWS KMS customer + * master key (CMK) or an Amazon S3-managed encryption key, the response includes this header with + * the value of the server-side encryption algorithm used when storing this object in Amazon + * S3 (for example, AES256, aws:kms).

                                                                                                                                                                                          */ - RequestCharged?: RequestCharged | string; + ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                          Last modified date of the object

                                                                                                                                                                                          + *

                                                                                                                                                                                          A map of metadata to store with the object in S3.

                                                                                                                                                                                          */ - LastModified?: Date; + Metadata?: { [key: string]: string }; /** - *

                                                                                                                                                                                          This is set to the number of metadata entries not returned in x-amz-meta headers. - * This can happen if you create metadata using an API like SOAP that supports more flexible - * metadata than the REST API. For example, using SOAP, you can create metadata whose values - * are not legal HTTP headers.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                          */ - MissingMeta?: number; + SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                          If the object is an archived object (an object whose storage class is GLACIER), - * the response includes this header if either the archive restoration is in progress (see RestoreObject or an archive copy is already restored.

                                                                                                                                                                                          - * - *

                                                                                                                                                                                          If an archive copy is already restored, the header value indicates when Amazon S3 is scheduled to delete the object copy. For example:

                                                                                                                                                                                          - * - *

                                                                                                                                                                                          - * x-amz-restore: ongoing-request="false", expiry-date="Fri, 23 Dec 2012 00:00:00 GMT" - *

                                                                                                                                                                                          - * - *

                                                                                                                                                                                          If the object restoration is in progress, the header returns the value ongoing-request="true".

                                                                                                                                                                                          - * - *

                                                                                                                                                                                          For more information about archiving objects, see Transitioning Objects: General Considerations.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header to provide round-trip message integrity verification of + * the customer-provided encryption key.

                                                                                                                                                                                          */ - Restore?: string; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                          Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric + * customer managed customer master key (CMK) that was used for the object.

                                                                                                                                                                                          */ - ContentEncoding?: string; + SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                          Provides storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Provides storage class information of the object. Amazon S3 returns this header for all + * objects except for S3 Standard storage class objects.

                                                                                                                                                                                          * - *

                                                                                                                                                                                          For more information, see Storage Classes.

                                                                                                                                                                                          + *

                                                                                                                                                                                          For more information, see Storage + * Classes.

                                                                                                                                                                                          */ StorageClass?: StorageClass | string; /** - *

                                                                                                                                                                                          A map of metadata to store with the object in S3.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                          */ - Metadata?: { [key: string]: string }; + RequestCharged?: RequestCharged | string; /** - *

                                                                                                                                                                                          Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Amazon S3 can return this header if your request involves a bucket that is either a source or + * destination in a replication rule.

                                                                                                                                                                                          + * + *

                                                                                                                                                                                          In replication, you have a source bucket on which you configure replication and + * destination bucket where Amazon S3 stores object replicas. When you request an object + * (GetObject) or object metadata (HeadObject) from these + * buckets, Amazon S3 will return the x-amz-replication-status header in the response + * as follows:

                                                                                                                                                                                          + *
                                                                                                                                                                                            + *
                                                                                                                                                                                          • + *

                                                                                                                                                                                            If requesting an object from the source bucket — Amazon S3 will return the + * x-amz-replication-status header if the object in your request is + * eligible for replication.

                                                                                                                                                                                            + *

                                                                                                                                                                                            For example, suppose that in your replication configuration, you specify object + * prefix TaxDocs requesting Amazon S3 to replicate objects with key prefix + * TaxDocs. Any objects you upload with this key name prefix, for + * example TaxDocs/document1.pdf, are eligible for replication. For any + * object request with this key name prefix, Amazon S3 will return the + * x-amz-replication-status header with value PENDING, COMPLETED or + * FAILED indicating object replication status.

                                                                                                                                                                                            + *
                                                                                                                                                                                          • + *
                                                                                                                                                                                          • + *

                                                                                                                                                                                            If requesting an object from the destination bucket — Amazon S3 will return the + * x-amz-replication-status header with value REPLICA if the object in + * your request is a replica that Amazon S3 created.

                                                                                                                                                                                            + *
                                                                                                                                                                                          • + *
                                                                                                                                                                                          + * + *

                                                                                                                                                                                          For more information, see Replication.

                                                                                                                                                                                          */ - DeleteMarker?: boolean; + ReplicationStatus?: ReplicationStatus | string; + + /** + *

                                                                                                                                                                                          The count of parts this object has.

                                                                                                                                                                                          + */ + PartsCount?: number; /** - *

                                                                                                                                                                                          The Object Lock mode, if any, that's in effect for this object. This header is only returned if the requester has the s3:GetObjectRetention permission. For more information about S3 Object Lock, see Object Lock.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The Object Lock mode, if any, that's in effect for this object. This header is only + * returned if the requester has the s3:GetObjectRetention permission. For more + * information about S3 Object Lock, see Object + * Lock.

                                                                                                                                                                                          */ ObjectLockMode?: ObjectLockMode | string; /** - *

                                                                                                                                                                                          If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key - * (CMK) that was used for the object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The date and time when the Object Lock retention period expires. This header is only + * returned if the requester has the s3:GetObjectRetention permission.

                                                                                                                                                                                          */ - SSEKMSKeyId?: string; + ObjectLockRetainUntilDate?: Date; /** - *

                                                                                                                                                                                          Indicates that a range of bytes was specified.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies whether a legal hold is in effect for this object. This header is only + * returned if the requester has the s3:GetObjectLegalHold permission. This + * header is not returned if the specified version of this object has never had a legal hold + * applied. For more information about S3 Object Lock, see Object Lock.

                                                                                                                                                                                          */ - AcceptRanges?: string; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; } export namespace HeadObjectOutput { @@ -6933,88 +7403,96 @@ export namespace HeadObjectOutput { export interface HeadObjectRequest { /** - *

                                                                                                                                                                                          Specifies the algorithm to use to when encrypting the object (for example, AES256).

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket containing the object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          */ - SSECustomerAlgorithm?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This - * value is used to store the object and then it is discarded; Amazon S3 does not store the - * encryption key. The key must be appropriate for use with the algorithm specified in the - * x-amz-server-side-encryption-customer-algorithm header.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Return the object only if its entity tag (ETag) is the same as the one specified, + * otherwise return a 412 (precondition failed).

                                                                                                                                                                                          */ - SSECustomerKey?: string; + IfMatch?: string; /** - *

                                                                                                                                                                                          Downloads the specified range bytes of an object. For more information about the HTTP Range - * header, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.

                                                                                                                                                                                          - * - *

                                                                                                                                                                                          Amazon S3 doesn't support retrieving multiple ranges of data per GET request.

                                                                                                                                                                                          - *
                                                                                                                                                                                          + *

                                                                                                                                                                                          Return the object only if it has been modified since the specified time, otherwise + * return a 304 (not modified).

                                                                                                                                                                                          */ - Range?: string; + IfModifiedSince?: Date; /** - *

                                                                                                                                                                                          Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).

                                                                                                                                                                                          + *

                                                                                                                                                                                          Return the object only if its entity tag (ETag) is different from the one specified, + * otherwise return a 304 (not modified).

                                                                                                                                                                                          */ IfNoneMatch?: string; /** - *

                                                                                                                                                                                          Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively performs a 'ranged' HEAD request for the part specified. Useful querying about the size of the part and the number of parts in this object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Return the object only if it has not been modified since the specified time, otherwise + * return a 412 (precondition failed).

                                                                                                                                                                                          */ - PartNumber?: number; + IfUnmodifiedSince?: Date; /** - *

                                                                                                                                                                                          Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).

                                                                                                                                                                                          + *

                                                                                                                                                                                          The object key.

                                                                                                                                                                                          */ - IfUnmodifiedSince?: Date; + Key: string | undefined; /** - *

                                                                                                                                                                                          Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).

                                                                                                                                                                                          + *

                                                                                                                                                                                          Downloads the specified range bytes of an object. For more information about the HTTP + * Range header, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.

                                                                                                                                                                                          + * + *

                                                                                                                                                                                          Amazon S3 doesn't support retrieving multiple ranges of data per GET + * request.

                                                                                                                                                                                          + *
                                                                                                                                                                                          */ - IfModifiedSince?: Date; + Range?: string; /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          VersionId used to reference a specific version of the object.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + VersionId?: string; /** - *

                                                                                                                                                                                          Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses - * this header for a message integrity check to ensure that the encryption key was transmitted - * without error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the algorithm to use to when encrypting the object (for example, + * AES256).

                                                                                                                                                                                          */ - SSECustomerKeyMD5?: string; + SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                          The name of the bucket containing the object.

                                                                                                                                                                                          - *

                                                                                                                                                                                          When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          - *

                                                                                                                                                                                          When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This + * value is used to store the object and then it is discarded; Amazon S3 does not store the + * encryption key. The key must be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

                                                                                                                                                                                          */ - Bucket: string | undefined; + SSECustomerKey?: string; /** - *

                                                                                                                                                                                          Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses + * this header for a message integrity check to ensure that the encryption key was transmitted + * without error.

                                                                                                                                                                                          */ - IfMatch?: string; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                          The object key.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                          */ - Key: string | undefined; + RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                          VersionId used to reference a specific version of the object.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Part number of the object being read. This is a positive integer between 1 and 10,000. + * Effectively performs a 'ranged' HEAD request for the part specified. Useful querying about + * the size of the part and the number of parts in this object.

                                                                                                                                                                                          */ - VersionId?: string; + PartNumber?: number; /** - *

                                                                                                                                                                                          Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - RequestPayer?: RequestPayer | string; + ExpectedBucketOwner?: string; } export namespace HeadObjectRequest { @@ -7026,9 +7504,17 @@ export namespace HeadObjectRequest { export interface ListBucketAnalyticsConfigurationsOutput { /** - *

                                                                                                                                                                                          The list of analytics configurations for a bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Indicates whether the returned list of analytics configurations is complete. A value of + * true indicates that the list is not complete and the NextContinuationToken will be provided + * for a subsequent request.

                                                                                                                                                                                          */ - AnalyticsConfigurationList?: AnalyticsConfiguration[]; + IsTruncated?: boolean; + + /** + *

                                                                                                                                                                                          The marker that is used as a starting point for this analytics configuration list + * response. This value is present if it was sent in the request.

                                                                                                                                                                                          + */ + ContinuationToken?: string; /** *

                                                                                                                                                                                          @@ -7040,14 +7526,9 @@ export interface ListBucketAnalyticsConfigurationsOutput { NextContinuationToken?: string; /** - *

                                                                                                                                                                                          Indicates whether the returned list of analytics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request.

                                                                                                                                                                                          - */ - IsTruncated?: boolean; - - /** - *

                                                                                                                                                                                          The marker that is used as a starting point for this analytics configuration list response. This value is present if it was sent in the request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The list of analytics configurations for a bucket.

                                                                                                                                                                                          */ - ContinuationToken?: string; + AnalyticsConfigurationList?: AnalyticsConfiguration[]; } export namespace ListBucketAnalyticsConfigurationsOutput { @@ -7058,19 +7539,20 @@ export namespace ListBucketAnalyticsConfigurationsOutput { export interface ListBucketAnalyticsConfigurationsRequest { /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket from which analytics configurations are retrieved.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          The ContinuationToken that represents a placeholder from where this request should begin.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The ContinuationToken that represents a placeholder from where this request should + * begin.

                                                                                                                                                                                          */ ContinuationToken?: string; /** - *

                                                                                                                                                                                          The name of the bucket from which analytics configurations are retrieved.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace ListBucketAnalyticsConfigurationsRequest { @@ -7079,31 +7561,85 @@ export namespace ListBucketAnalyticsConfigurationsRequest { }); } -export interface ListBucketInventoryConfigurationsOutput { +export interface ListBucketIntelligentTieringConfigurationsOutput { /** - *

                                                                                                                                                                                          The list of inventory configurations for a bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Indicates whether the returned list of analytics configurations is complete. A value of + * true indicates that the list is not complete and the NextContinuationToken will be provided + * for a subsequent request.

                                                                                                                                                                                          */ - InventoryConfigurationList?: InventoryConfiguration[]; + IsTruncated?: boolean; + + /** + *

                                                                                                                                                                                          The ContinuationToken that represents a placeholder from where this request should + * begin.

                                                                                                                                                                                          + */ + ContinuationToken?: string; /** *

                                                                                                                                                                                          The marker used to continue this inventory configuration listing. Use the * NextContinuationToken from this response to continue the listing in a - * subsequent request. The continuation token is an opaque value that Amazon S3 - * understands.

                                                                                                                                                                                          + * subsequent request. The continuation token is an opaque value that Amazon S3 understands.

                                                                                                                                                                                          */ NextContinuationToken?: string; /** - *

                                                                                                                                                                                          Tells whether the returned list of inventory configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken is provided for a subsequent request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The list of S3 Intelligent-Tiering configurations for a bucket.

                                                                                                                                                                                          */ - IsTruncated?: boolean; + IntelligentTieringConfigurationList?: IntelligentTieringConfiguration[]; +} + +export namespace ListBucketIntelligentTieringConfigurationsOutput { + export const filterSensitiveLog = (obj: ListBucketIntelligentTieringConfigurationsOutput): any => ({ + ...obj, + }); +} +export interface ListBucketIntelligentTieringConfigurationsRequest { /** - *

                                                                                                                                                                                          If sent in the request, the marker that is used as a starting point for this inventory configuration list response.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

                                                                                                                                                                                          + */ + Bucket: string | undefined; + + /** + *

                                                                                                                                                                                          The ContinuationToken that represents a placeholder from where this request should + * begin.

                                                                                                                                                                                          */ ContinuationToken?: string; } +export namespace ListBucketIntelligentTieringConfigurationsRequest { + export const filterSensitiveLog = (obj: ListBucketIntelligentTieringConfigurationsRequest): any => ({ + ...obj, + }); +} + +export interface ListBucketInventoryConfigurationsOutput { + /** + *

                                                                                                                                                                                          If sent in the request, the marker that is used as a starting point for this inventory + * configuration list response.

                                                                                                                                                                                          + */ + ContinuationToken?: string; + + /** + *

                                                                                                                                                                                          The list of inventory configurations for a bucket.

                                                                                                                                                                                          + */ + InventoryConfigurationList?: InventoryConfiguration[]; + + /** + *

                                                                                                                                                                                          Tells whether the returned list of inventory configurations is complete. A value of true + * indicates that the list is not complete and the NextContinuationToken is provided for a + * subsequent request.

                                                                                                                                                                                          + */ + IsTruncated?: boolean; + + /** + *

                                                                                                                                                                                          The marker used to continue this inventory configuration listing. Use the + * NextContinuationToken from this response to continue the listing in a + * subsequent request. The continuation token is an opaque value that Amazon S3 understands.

                                                                                                                                                                                          + */ + NextContinuationToken?: string; +} + export namespace ListBucketInventoryConfigurationsOutput { export const filterSensitiveLog = (obj: ListBucketInventoryConfigurationsOutput): any => ({ ...obj, @@ -7122,14 +7658,16 @@ export interface ListBucketInventoryConfigurationsRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The marker used to continue an inventory configuration listing that has been truncated. + * Use the NextContinuationToken from a previously truncated list response to continue the + * listing. The continuation token is an opaque value that Amazon S3 understands.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + ContinuationToken?: string; /** - *

                                                                                                                                                                                          The marker used to continue an inventory configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - ContinuationToken?: string; + ExpectedBucketOwner?: string; } export namespace ListBucketInventoryConfigurationsRequest { @@ -7140,26 +7678,30 @@ export namespace ListBucketInventoryConfigurationsRequest { export interface ListBucketMetricsConfigurationsOutput { /** - *

                                                                                                                                                                                          The marker used to continue a metrics configuration listing that has been truncated. Use the - * NextContinuationToken from a previously truncated list response to continue - * the listing. The continuation token is an opaque value that Amazon S3 understands.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Indicates whether the returned list of metrics configurations is complete. A value of + * true indicates that the list is not complete and the NextContinuationToken will be provided + * for a subsequent request.

                                                                                                                                                                                          */ - NextContinuationToken?: string; + IsTruncated?: boolean; /** - *

                                                                                                                                                                                          The list of metrics configurations for a bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The marker that is used as a starting point for this metrics configuration list + * response. This value is present if it was sent in the request.

                                                                                                                                                                                          */ - MetricsConfigurationList?: MetricsConfiguration[]; + ContinuationToken?: string; /** - *

                                                                                                                                                                                          The marker that is used as a starting point for this metrics configuration list response. This value is present if it was sent in the request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The marker used to continue a metrics configuration listing that has been truncated. Use + * the NextContinuationToken from a previously truncated list response to + * continue the listing. The continuation token is an opaque value that Amazon S3 + * understands.

                                                                                                                                                                                          */ - ContinuationToken?: string; + NextContinuationToken?: string; /** - *

                                                                                                                                                                                          Indicates whether the returned list of metrics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The list of metrics configurations for a bucket.

                                                                                                                                                                                          */ - IsTruncated?: boolean; + MetricsConfigurationList?: MetricsConfiguration[]; } export namespace ListBucketMetricsConfigurationsOutput { @@ -7170,19 +7712,22 @@ export namespace ListBucketMetricsConfigurationsOutput { export interface ListBucketMetricsConfigurationsRequest { /** - *

                                                                                                                                                                                          The marker that is used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket containing the metrics configurations to retrieve.

                                                                                                                                                                                          */ - ContinuationToken?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The marker that is used to continue a metrics configuration listing that has been + * truncated. Use the NextContinuationToken from a previously truncated list response to + * continue the listing. The continuation token is an opaque value that Amazon S3 + * understands.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + ContinuationToken?: string; /** - *

                                                                                                                                                                                          The name of the bucket containing the metrics configurations to retrieve.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace ListBucketMetricsConfigurationsRequest { @@ -7192,19 +7737,19 @@ export namespace ListBucketMetricsConfigurationsRequest { } /** - *

                                                                                                                                                                                          In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name is - * globally unique, and the namespace is shared by all AWS accounts.

                                                                                                                                                                                          + *

                                                                                                                                                                                          In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name is globally + * unique, and the namespace is shared by all AWS accounts.

                                                                                                                                                                                          */ export interface Bucket { /** - *

                                                                                                                                                                                          Date the bucket was created.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket.

                                                                                                                                                                                          */ - CreationDate?: Date; + Name?: string; /** - *

                                                                                                                                                                                          The name of the bucket.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Date the bucket was created.

                                                                                                                                                                                          */ - Name?: string; + CreationDate?: Date; } export namespace Bucket { @@ -7215,14 +7760,14 @@ export namespace Bucket { export interface ListBucketsOutput { /** - *

                                                                                                                                                                                          The owner of the buckets listed.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The list of buckets owned by the requestor.

                                                                                                                                                                                          */ - Owner?: Owner; + Buckets?: Bucket[]; /** - *

                                                                                                                                                                                          The list of buckets owned by the requestor.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The owner of the buckets listed.

                                                                                                                                                                                          */ - Buckets?: Bucket[]; + Owner?: Owner; } export namespace ListBucketsOutput { @@ -7232,11 +7777,10 @@ export namespace ListBucketsOutput { } /** - *

                                                                                                                                                                                          Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. - * CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. - * For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is - * notes/summer/. - *

                                                                                                                                                                                          + *

                                                                                                                                                                                          Container for all (if there are any) keys between Prefix and the next occurrence of the + * string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in + * the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter + * is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.

                                                                                                                                                                                          */ export interface CommonPrefix { /** @@ -7258,7 +7802,8 @@ export type EncodingType = "url"; */ export interface Initiator { /** - *

                                                                                                                                                                                          If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If the principal is an AWS account, it provides the Canonical User ID. If the principal + * is an IAM User, it provides a user ARN value.

                                                                                                                                                                                          */ ID?: string; @@ -7278,11 +7823,6 @@ export namespace Initiator { *

                                                                                                                                                                                          Container for the MultipartUpload for the Amazon S3 object.

                                                                                                                                                                                          */ export interface MultipartUpload { - /** - *

                                                                                                                                                                                          Identifies who initiated the multipart upload.

                                                                                                                                                                                          - */ - Initiator?: Initiator; - /** *

                                                                                                                                                                                          Upload ID that identifies the multipart upload.

                                                                                                                                                                                          */ @@ -7294,9 +7834,9 @@ export interface MultipartUpload { Key?: string; /** - *

                                                                                                                                                                                          Specifies the owner of the object that is part of the multipart upload.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Date and time at which the multipart upload was initiated.

                                                                                                                                                                                          */ - Owner?: Owner; + Initiated?: Date; /** *

                                                                                                                                                                                          The class of storage used to store the object.

                                                                                                                                                                                          @@ -7304,9 +7844,14 @@ export interface MultipartUpload { StorageClass?: StorageClass | string; /** - *

                                                                                                                                                                                          Date and time at which the multipart upload was initiated.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Specifies the owner of the object that is part of the multipart upload.

                                                                                                                                                                                          */ - Initiated?: Date; + Owner?: Owner; + + /** + *

                                                                                                                                                                                          Identifies who initiated the multipart upload.

                                                                                                                                                                                          + */ + Initiator?: Initiator; } export namespace MultipartUpload { @@ -7317,9 +7862,9 @@ export namespace MultipartUpload { export interface ListMultipartUploadsOutput { /** - *

                                                                                                                                                                                          Contains the delimiter you specified in the request. If you don't specify a delimiter in your request, this element is absent from the response.

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                          */ - Delimiter?: string; + Bucket?: string; /** *

                                                                                                                                                                                          The key at or after which the listing began.

                                                                                                                                                                                          @@ -7327,29 +7872,27 @@ export interface ListMultipartUploadsOutput { KeyMarker?: string; /** - *

                                                                                                                                                                                          Maximum number of multipart uploads that could have been included in the response.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Upload ID after which listing began.

                                                                                                                                                                                          */ - MaxUploads?: number; + UploadIdMarker?: string; /** - *

                                                                                                                                                                                          Encoding type used by Amazon S3 to encode object keys in the response.

                                                                                                                                                                                          - *

                                                                                                                                                                                          If you specify encoding-type request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:

                                                                                                                                                                                          - * - *

                                                                                                                                                                                          - * Delimiter, KeyMarker, Prefix, NextKeyMarker, Key.

                                                                                                                                                                                          + *

                                                                                                                                                                                          When a list is truncated, this element specifies the value that should be used for the + * key-marker request parameter in a subsequent request.

                                                                                                                                                                                          */ - EncodingType?: EncodingType | string; + NextKeyMarker?: string; /** - *

                                                                                                                                                                                          Indicates whether the returned list of multipart uploads is truncated. A value of true indicates that the list was truncated. The list can be truncated if the number of multipart uploads exceeds the limit allowed or specified by max uploads.

                                                                                                                                                                                          + *

                                                                                                                                                                                          When a prefix is provided in the request, this field contains the specified prefix. The + * result contains only keys starting with the specified prefix.

                                                                                                                                                                                          */ - IsTruncated?: boolean; + Prefix?: string; /** - *

                                                                                                                                                                                          Container for elements related to a particular multipart upload. A response can contain - * zero or more Upload elements.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Contains the delimiter you specified in the request. If you don't specify a delimiter in + * your request, this element is absent from the response.

                                                                                                                                                                                          */ - Uploads?: MultipartUpload[]; + Delimiter?: string; /** *

                                                                                                                                                                                          When a list is truncated, this element specifies the value that should be used for the @@ -7358,31 +7901,42 @@ export interface ListMultipartUploadsOutput { NextUploadIdMarker?: string; /** - *

                                                                                                                                                                                          Upload ID after which listing began.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Maximum number of multipart uploads that could have been included in the + * response.

                                                                                                                                                                                          */ - UploadIdMarker?: string; + MaxUploads?: number; /** - *

                                                                                                                                                                                          If you specify a delimiter in the request, then the result returns each distinct key - * prefix containing the delimiter in a CommonPrefixes element. The distinct key - * prefixes are returned in the Prefix child element.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Indicates whether the returned list of multipart uploads is truncated. A value of true + * indicates that the list was truncated. The list can be truncated if the number of multipart + * uploads exceeds the limit allowed or specified by max uploads.

                                                                                                                                                                                          */ - CommonPrefixes?: CommonPrefix[]; + IsTruncated?: boolean; /** - *

                                                                                                                                                                                          When a prefix is provided in the request, this field contains the specified prefix. The result contains only keys starting with the specified prefix.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Container for elements related to a particular multipart upload. A response can contain + * zero or more Upload elements.

                                                                                                                                                                                          */ - Prefix?: string; + Uploads?: MultipartUpload[]; /** - *

                                                                                                                                                                                          When a list is truncated, this element specifies the value that should be used for the key-marker request parameter in a subsequent request.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If you specify a delimiter in the request, then the result returns each distinct key + * prefix containing the delimiter in a CommonPrefixes element. The distinct key + * prefixes are returned in the Prefix child element.

                                                                                                                                                                                          */ - NextKeyMarker?: string; + CommonPrefixes?: CommonPrefix[]; /** - *

                                                                                                                                                                                          The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Encoding type used by Amazon S3 to encode object keys in the response.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If you specify encoding-type request parameter, Amazon S3 includes this element + * in the response, and returns encoded key name values in the following response + * elements:

                                                                                                                                                                                          + * + *

                                                                                                                                                                                          + * Delimiter, KeyMarker, Prefix, + * NextKeyMarker, Key.

                                                                                                                                                                                          */ - Bucket?: string; + EncodingType?: EncodingType | string; } export namespace ListMultipartUploadsOutput { @@ -7392,15 +7946,6 @@ export namespace ListMultipartUploadsOutput { } export interface ListMultipartUploadsRequest { - /** - *

                                                                                                                                                                                          Together with key-marker, specifies the multipart upload after which listing should begin. If - * key-marker is not specified, the upload-id-marker parameter is ignored. Otherwise, any - * multipart uploads for a key equal to the key-marker might be included in the list only if - * they have an upload ID lexicographically greater than the specified - * upload-id-marker.

                                                                                                                                                                                          - */ - UploadIdMarker?: string; - /** *

                                                                                                                                                                                          The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                          *

                                                                                                                                                                                          When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                          @@ -7408,39 +7953,65 @@ export interface ListMultipartUploadsRequest { */ Bucket: string | undefined; - /** - *

                                                                                                                                                                                          Lists in-progress uploads only for those keys that begin with the specified prefix. You can use prefixes to separate a bucket into different grouping of keys. (You can think of using prefix to make groups in the same way you'd use a folder in a file system.)

                                                                                                                                                                                          - */ - Prefix?: string; - /** *

                                                                                                                                                                                          Character you use to group keys.

                                                                                                                                                                                          - *

                                                                                                                                                                                          All keys that contain the same string between the prefix, if specified, and the first occurrence of the delimiter after the prefix are grouped under a single result element, CommonPrefixes. If you don't specify the prefix parameter, then the substring starts at the beginning of the key. The keys that are grouped under CommonPrefixes result element are not returned elsewhere in the response.

                                                                                                                                                                                          + *

                                                                                                                                                                                          All keys that contain the same string between the prefix, if specified, and the first + * occurrence of the delimiter after the prefix are grouped under a single result element, + * CommonPrefixes. If you don't specify the prefix parameter, then the + * substring starts at the beginning of the key. The keys that are grouped under + * CommonPrefixes result element are not returned elsewhere in the + * response.

                                                                                                                                                                                          */ Delimiter?: string; /** - *

                                                                                                                                                                                          Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 is the maximum number of uploads that can be returned in a response.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Requests Amazon S3 to encode the object keys in the response and specifies the encoding + * method to use. An object key may contain any Unicode character; however, XML 1.0 parser + * cannot parse some characters, such as characters with an ASCII value from 0 to 10. For + * characters that are not supported in XML 1.0, you can add this parameter to request that + * Amazon S3 encode the keys in the response.

                                                                                                                                                                                          */ - MaxUploads?: number; + EncodingType?: EncodingType | string; /** - *

                                                                                                                                                                                          Together with upload-id-marker, this parameter specifies the multipart upload after which listing should begin.

                                                                                                                                                                                          - *

                                                                                                                                                                                          If upload-id-marker is not specified, only the keys lexicographically greater than the specified key-marker will be included in the list.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Together with upload-id-marker, this parameter specifies the multipart upload after + * which listing should begin.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If upload-id-marker is not specified, only the keys lexicographically + * greater than the specified key-marker will be included in the list.

                                                                                                                                                                                          * - *

                                                                                                                                                                                          If upload-id-marker is specified, any multipart uploads for a key equal to the key-marker might also be included, provided those multipart uploads have upload IDs lexicographically greater than the specified upload-id-marker.

                                                                                                                                                                                          + *

                                                                                                                                                                                          If upload-id-marker is specified, any multipart uploads for a key equal to + * the key-marker might also be included, provided those multipart uploads have + * upload IDs lexicographically greater than the specified + * upload-id-marker.

                                                                                                                                                                                          */ KeyMarker?: string; /** - *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response + * body. 1,000 is the maximum number of uploads that can be returned in a response.

                                                                                                                                                                                          */ - ExpectedBucketOwner?: string; + MaxUploads?: number; /** - *

                                                                                                                                                                                          Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.

                                                                                                                                                                                          + *

                                                                                                                                                                                          Lists in-progress uploads only for those keys that begin with the specified prefix. You + * can use prefixes to separate a bucket into different grouping of keys. (You can think of + * using prefix to make groups in the same way you'd use a folder in a file system.)

                                                                                                                                                                                          */ - EncodingType?: EncodingType | string; + Prefix?: string; + + /** + *

                                                                                                                                                                                          Together with key-marker, specifies the multipart upload after which listing should + * begin. If key-marker is not specified, the upload-id-marker parameter is ignored. + * Otherwise, any multipart uploads for a key equal to the key-marker might be included in the + * list only if they have an upload ID lexicographically greater than the specified + * upload-id-marker.

                                                                                                                                                                                          + */ + UploadIdMarker?: string; + + /** + *

                                                                                                                                                                                          The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                          + */ + ExpectedBucketOwner?: string; } export namespace ListMultipartUploadsRequest { @@ -7464,38 +8035,44 @@ export type ObjectStorageClass = */ export interface _Object { /** - *

                                                                                                                                                                                          Size in bytes of the object

                                                                                                                                                                                          + *

                                                                                                                                                                                          The name that you assign to an object. You use the object key to retrieve the + * object.

                                                                                                                                                                                          */ - Size?: number; + Key?: string; /** - *

                                                                                                                                                                                          The entity tag is a hash of the object. The ETag reflects changes only to the - * contents of an object, not its metadata. The ETag may or may not be an MD5 digest of - * the object data. Whether or not it is depends on how the object was created and how it - * is encrypted as described below:

                                                                                                                                                                                          - *
                                                                                                                                                                                            + *

                                                                                                                                                                                            The date the Object was Last Modified

                                                                                                                                                                                            + */ + LastModified?: Date; + + /** + *

                                                                                                                                                                                            The entity tag is a hash of the object. The ETag reflects changes only to the contents + * of an object, not its metadata. The ETag may or may not be an MD5 digest of the object + * data. Whether or not it is depends on how the object was created and how it is encrypted as + * described below:

                                                                                                                                                                                            + *
                                                                                                                                                                                              *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              Objects created by the PUT Object, POST Object, or Copy operation, or through - * the AWS Management Console, and are encrypted by SSE-S3 or plaintext, have ETags - * that are an MD5 digest of their object data.

                                                                                                                                                                                              - *
                                                                                                                                                                                            • + *

                                                                                                                                                                                              Objects created by the PUT Object, POST Object, or Copy operation, or through the + * AWS Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are + * an MD5 digest of their object data.

                                                                                                                                                                                              + * *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              Objects created by the PUT Object, POST Object, or Copy operation, or through - * the AWS Management Console, and are encrypted by SSE-C or SSE-KMS, have - * ETags that are not an MD5 digest of their object data.

                                                                                                                                                                                              - *
                                                                                                                                                                                            • + *

                                                                                                                                                                                              Objects created by the PUT Object, POST Object, or Copy operation, or through the + * AWS Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are + * not an MD5 digest of their object data.

                                                                                                                                                                                              + * *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              If an object is created by either the Multipart Upload or Part Copy operation, - * the ETag is not an MD5 digest, regardless of the method of encryption.

                                                                                                                                                                                              - *
                                                                                                                                                                                            • + *

                                                                                                                                                                                              If an object is created by either the Multipart Upload or Part Copy operation, the + * ETag is not an MD5 digest, regardless of the method of encryption.

                                                                                                                                                                                              + * *
                                                                                                                                                                                            */ ETag?: string; /** - *

                                                                                                                                                                                            The owner of the object

                                                                                                                                                                                            + *

                                                                                                                                                                                            Size in bytes of the object

                                                                                                                                                                                            */ - Owner?: Owner; + Size?: number; /** *

                                                                                                                                                                                            The class of storage used to store the object.

                                                                                                                                                                                            @@ -7503,14 +8080,9 @@ export interface _Object { StorageClass?: ObjectStorageClass | string; /** - *

                                                                                                                                                                                            The name that you assign to an object. You use the object key to retrieve the object.

                                                                                                                                                                                            - */ - Key?: string; - - /** - *

                                                                                                                                                                                            The date the Object was Last Modified

                                                                                                                                                                                            + *

                                                                                                                                                                                            The owner of the object

                                                                                                                                                                                            */ - LastModified?: Date; + Owner?: Owner; } export namespace _Object { @@ -7521,39 +8093,36 @@ export namespace _Object { export interface ListObjectsOutput { /** - *

                                                                                                                                                                                            The maximum number of keys returned in the response body.

                                                                                                                                                                                            - */ - MaxKeys?: number; - - /** - *

                                                                                                                                                                                            Metadata about each object returned.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A flag that indicates whether Amazon S3 returned all of the results that satisfied the search + * criteria.

                                                                                                                                                                                            */ - Contents?: _Object[]; + IsTruncated?: boolean; /** - *

                                                                                                                                                                                            Causes keys that contain the same string between the prefix and the first occurrence of - * the delimiter to be rolled up into a single result element in the - * CommonPrefixes collection. These rolled-up keys are not returned elsewhere - * in the response. Each rolled-up result counts as only one return against the - * MaxKeys value.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Indicates where in the bucket listing begins. Marker is included in the response if it + * was sent with the request.

                                                                                                                                                                                            */ - Delimiter?: string; + Marker?: string; /** - *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When response is truncated (the IsTruncated element value in the response is true), you + * can use the key name in this field as marker in the subsequent request to get next set of + * objects. Amazon S3 lists objects in alphabetical order Note: This element is returned only if + * you have delimiter request parameter specified. If response does not include the NextMarker + * and it is truncated, you can use the value of the last Key in the response as the marker in + * the subsequent request to get the next set of object keys.

                                                                                                                                                                                            */ - Name?: string; + NextMarker?: string; /** - *

                                                                                                                                                                                            A flag that indicates whether Amazon S3 returned all of the results that satisfied the search - * criteria.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Metadata about each object returned.

                                                                                                                                                                                            */ - IsTruncated?: boolean; + Contents?: _Object[]; /** - *

                                                                                                                                                                                            When response is truncated (the IsTruncated element value in the response is true), you can use the key name in this field as marker in the subsequent request to get next set of objects. Amazon S3 lists objects in alphabetical order Note: This element is returned only if you have delimiter request parameter specified. If response does not include the NextMarker and it is truncated, you can use the value of the last Key in the response as the marker in the subsequent request to get the next set of object keys.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            */ - NextMarker?: string; + Name?: string; /** *

                                                                                                                                                                                            Keys that begin with the indicated prefix.

                                                                                                                                                                                            @@ -7561,27 +8130,41 @@ export interface ListObjectsOutput { Prefix?: string; /** - *

                                                                                                                                                                                            Indicates where in the bucket listing begins. Marker is included in the response if it was sent with the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Causes keys that contain the same string between the prefix and the first occurrence of + * the delimiter to be rolled up into a single result element in the + * CommonPrefixes collection. These rolled-up keys are not returned elsewhere + * in the response. Each rolled-up result counts as only one return against the + * MaxKeys value.

                                                                                                                                                                                            */ - Marker?: string; + Delimiter?: string; /** - *

                                                                                                                                                                                            Encoding type used by Amazon S3 to encode object keys in the response.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The maximum number of keys returned in the response body.

                                                                                                                                                                                            */ - EncodingType?: EncodingType | string; + MaxKeys?: number; /** - *

                                                                                                                                                                                            All of the keys rolled up in a common prefix count as a single return when calculating the number of returns.

                                                                                                                                                                                            + *

                                                                                                                                                                                            All of the keys rolled up in a common prefix count as a single return when calculating + * the number of returns.

                                                                                                                                                                                            * *

                                                                                                                                                                                            A response can contain CommonPrefixes only if you specify a delimiter.

                                                                                                                                                                                            * - *

                                                                                                                                                                                            CommonPrefixes contains all (if there are any) keys between Prefix and the next occurrence of the string specified by the delimiter.

                                                                                                                                                                                            + *

                                                                                                                                                                                            CommonPrefixes contains all (if there are any) keys between Prefix and the next + * occurrence of the string specified by the delimiter.

                                                                                                                                                                                            * - *

                                                                                                                                                                                            CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix.

                                                                                                                                                                                            + *

                                                                                                                                                                                            CommonPrefixes lists keys that act like subdirectories in the directory specified by + * Prefix.

                                                                                                                                                                                            * - *

                                                                                                                                                                                            For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/. All of the keys that roll up into a common prefix count as a single return when calculating the number of returns.

                                                                                                                                                                                            + *

                                                                                                                                                                                            For example, if the prefix is notes/ and the delimiter is a slash (/) as in + * notes/summer/july, the common prefix is notes/summer/. All of the keys that roll up into a + * common prefix count as a single return when calculating the number of returns.

                                                                                                                                                                                            */ CommonPrefixes?: CommonPrefix[]; + + /** + *

                                                                                                                                                                                            Encoding type used by Amazon S3 to encode object keys in the response.

                                                                                                                                                                                            + */ + EncodingType?: EncodingType | string; } export namespace ListObjectsOutput { @@ -7592,14 +8175,25 @@ export namespace ListObjectsOutput { export interface ListObjectsRequest { /** - *

                                                                                                                                                                                            Sets the maximum number of keys returned in the response. By default the API returns up to 1,000 key names. The response might contain fewer keys but will never contain more.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the bucket containing the objects.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            */ - MaxKeys?: number; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A delimiter is a character you use to group keys.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + Delimiter?: string; + + /** + *

                                                                                                                                                                                            Requests Amazon S3 to encode the object keys in the response and specifies the encoding + * method to use. An object key may contain any Unicode character; however, XML 1.0 parser + * cannot parse some characters, such as characters with an ASCII value from 0 to 10. For + * characters that are not supported in XML 1.0, you can add this parameter to request that + * Amazon S3 encode the keys in the response.

                                                                                                                                                                                            + */ + EncodingType?: EncodingType | string; /** *

                                                                                                                                                                                            Specifies the key to start with when listing objects in a bucket.

                                                                                                                                                                                            @@ -7607,31 +8201,27 @@ export interface ListObjectsRequest { Marker?: string; /** - *

                                                                                                                                                                                            Limits the response to keys that begin with the specified prefix.

                                                                                                                                                                                            - */ - Prefix?: string; - - /** - *

                                                                                                                                                                                            A delimiter is a character you use to group keys.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Sets the maximum number of keys returned in the response. By default the API returns up + * to 1,000 key names. The response might contain fewer keys but will never contain more. + *

                                                                                                                                                                                            */ - Delimiter?: string; + MaxKeys?: number; /** - *

                                                                                                                                                                                            The name of the bucket containing the objects.

                                                                                                                                                                                            - *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            - *

                                                                                                                                                                                            When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Limits the response to keys that begin with the specified prefix.

                                                                                                                                                                                            */ - Bucket: string | undefined; + Prefix?: string; /** - *

                                                                                                                                                                                            Confirms that the requester knows that she or he will be charged for the list objects request. Bucket owners need not specify this parameter in their requests.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Confirms that the requester knows that she or he will be charged for the list objects + * request. Bucket owners need not specify this parameter in their requests.

                                                                                                                                                                                            */ RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                            Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - EncodingType?: EncodingType | string; + ExpectedBucketOwner?: string; } export namespace ListObjectsRequest { @@ -7642,17 +8232,16 @@ export namespace ListObjectsRequest { export interface ListObjectsV2Output { /** - *

                                                                                                                                                                                            Causes keys that contain the same string between the prefix and the first occurrence of the - * delimiter to be rolled up into a single result element in the CommonPrefixes collection. - * These rolled-up keys are not returned elsewhere in the response. Each rolled-up result - * counts as only one return against the MaxKeys value.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Set to false if all of the results were returned. Set to true if more keys are available + * to return. If the number of results exceeds that specified by MaxKeys, all of the results + * might not be returned.

                                                                                                                                                                                            */ - Delimiter?: string; + IsTruncated?: boolean; /** - *

                                                                                                                                                                                            Set to false if all of the results were returned. Set to true if more keys are available to return. If the number of results exceeds that specified by MaxKeys, all of the results might not be returned.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Metadata about each object returned.

                                                                                                                                                                                            */ - IsTruncated?: boolean; + Contents?: _Object[]; /** *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            @@ -7662,70 +8251,84 @@ export interface ListObjectsV2Output { Name?: string; /** - *

                                                                                                                                                                                            Encoding type used by Amazon S3 to encode object key names in the XML response.

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            If you specify the encoding-type request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            - * Delimiter, Prefix, Key, and StartAfter.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Keys that begin with the indicated prefix.

                                                                                                                                                                                            */ - EncodingType?: EncodingType | string; + Prefix?: string; /** - *

                                                                                                                                                                                            - * If ContinuationToken was sent with the request, it is included in the response.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Causes keys that contain the same string between the prefix and the first occurrence of + * the delimiter to be rolled up into a single result element in the CommonPrefixes + * collection. These rolled-up keys are not returned elsewhere in the response. Each rolled-up + * result counts as only one return against the MaxKeys value.

                                                                                                                                                                                            */ - ContinuationToken?: string; + Delimiter?: string; /** - *

                                                                                                                                                                                            Metadata about each object returned.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Sets the maximum number of keys returned in the response. By default the API returns up + * to 1,000 key names. The response might contain fewer keys but will never contain + * more.

                                                                                                                                                                                            */ - Contents?: _Object[]; + MaxKeys?: number; /** - *

                                                                                                                                                                                            All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.

                                                                                                                                                                                            + *

                                                                                                                                                                                            All of the keys rolled up into a common prefix count as a single return when calculating + * the number of returns.

                                                                                                                                                                                            * - *

                                                                                                                                                                                            A response can contain CommonPrefixes only if you specify a delimiter.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A response can contain CommonPrefixes only if you specify a + * delimiter.

                                                                                                                                                                                            * *

                                                                                                                                                                                            - * CommonPrefixes contains all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter.

                                                                                                                                                                                            + * CommonPrefixes contains all (if there are any) keys between + * Prefix and the next occurrence of the string specified by a + * delimiter.

                                                                                                                                                                                            * *

                                                                                                                                                                                            - * CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix.

                                                                                                                                                                                            + * CommonPrefixes lists keys that act like subdirectories in the directory + * specified by Prefix.

                                                                                                                                                                                            * - *

                                                                                                                                                                                            For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/. All of the keys that roll up into a common prefix count as a single return when calculating the number of returns.

                                                                                                                                                                                            + *

                                                                                                                                                                                            For example, if the prefix is notes/ and the delimiter is a slash + * (/) as in notes/summer/july, the common prefix is + * notes/summer/. All of the keys that roll up into a common prefix count as a + * single return when calculating the number of returns.

                                                                                                                                                                                            */ CommonPrefixes?: CommonPrefix[]; /** - *

                                                                                                                                                                                            If StartAfter was sent with the request, it is included in the response.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Encoding type used by Amazon S3 to encode object key names in the XML response.

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            If you specify the encoding-type request parameter, Amazon S3 includes this element in the + * response, and returns encoded key name values in the following response elements:

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            + * Delimiter, Prefix, Key, and StartAfter.

                                                                                                                                                                                            */ - StartAfter?: string; + EncodingType?: EncodingType | string; /** - *

                                                                                                                                                                                            - * NextContinuationToken is sent when isTruncated is true, which means - * there are more keys in the bucket that can be listed. The next list requests to Amazon S3 - * can be continued with this NextContinuationToken. - * NextContinuationToken is obfuscated and is not a real key

                                                                                                                                                                                            + *

                                                                                                                                                                                            KeyCount is the number of keys returned with this request. KeyCount will always be less + * than equals to MaxKeys field. Say you ask for 50 keys, your result will include less than + * equals 50 keys

                                                                                                                                                                                            */ - NextContinuationToken?: string; + KeyCount?: number; /** - *

                                                                                                                                                                                            Sets the maximum number of keys returned in the response. By default the API returns up to 1,000 key names. The response might contain fewer keys but will never contain more.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If ContinuationToken was sent with the request, it is included in the response.

                                                                                                                                                                                            */ - MaxKeys?: number; + ContinuationToken?: string; /** - *

                                                                                                                                                                                            KeyCount is the number of keys returned with this request. KeyCount will always be less than equals to MaxKeys field. Say you ask for 50 keys, your result will include less than equals 50 keys

                                                                                                                                                                                            + *

                                                                                                                                                                                            + * NextContinuationToken is sent when isTruncated is true, which + * means there are more keys in the bucket that can be listed. The next list requests to Amazon S3 + * can be continued with this NextContinuationToken. + * NextContinuationToken is obfuscated and is not a real key

                                                                                                                                                                                            */ - KeyCount?: number; + NextContinuationToken?: string; /** - *

                                                                                                                                                                                            - * Keys that begin with the indicated prefix.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If StartAfter was sent with the request, it is included in the response.

                                                                                                                                                                                            */ - Prefix?: string; + StartAfter?: string; } export namespace ListObjectsV2Output { @@ -7736,20 +8339,16 @@ export namespace ListObjectsV2Output { export interface ListObjectsV2Request { /** - *

                                                                                                                                                                                            ContinuationToken indicates Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key.

                                                                                                                                                                                            - */ - ContinuationToken?: string; - - /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Bucket name to list.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The owner field is not present in listV2 by default, if you want to return owner field with - * each key in the result then set the fetch owner field to true.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A delimiter is a character you use to group keys.

                                                                                                                                                                                            */ - FetchOwner?: boolean; + Delimiter?: string; /** *

                                                                                                                                                                                            Encoding type used by Amazon S3 to encode object keys in the response.

                                                                                                                                                                                            @@ -7757,9 +8356,11 @@ export interface ListObjectsV2Request { EncodingType?: EncodingType | string; /** - *

                                                                                                                                                                                            Confirms that the requester knows that she or he will be charged for the list objects request in V2 style. Bucket owners need not specify this parameter in their requests.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Sets the maximum number of keys returned in the response. By default the API returns up + * to 1,000 key names. The response might contain fewer keys but will never contain + * more.

                                                                                                                                                                                            */ - RequestPayer?: RequestPayer | string; + MaxKeys?: number; /** *

                                                                                                                                                                                            Limits the response to keys that begin with the specified prefix.

                                                                                                                                                                                            @@ -7767,26 +8368,34 @@ export interface ListObjectsV2Request { Prefix?: string; /** - *

                                                                                                                                                                                            StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified key. StartAfter can be any key in the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            ContinuationToken indicates Amazon S3 that the list is being continued on this bucket with a + * token. ContinuationToken is obfuscated and is not a real key.

                                                                                                                                                                                            */ - StartAfter?: string; + ContinuationToken?: string; /** - *

                                                                                                                                                                                            Bucket name to list.

                                                                                                                                                                                            - *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            - *

                                                                                                                                                                                            When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The owner field is not present in listV2 by default, if you want to return owner field + * with each key in the result then set the fetch owner field to true.

                                                                                                                                                                                            */ - Bucket: string | undefined; + FetchOwner?: boolean; /** - *

                                                                                                                                                                                            A delimiter is a character you use to group keys.

                                                                                                                                                                                            + *

                                                                                                                                                                                            StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this + * specified key. StartAfter can be any key in the bucket.

                                                                                                                                                                                            */ - Delimiter?: string; + StartAfter?: string; /** - *

                                                                                                                                                                                            Sets the maximum number of keys returned in the response. By default the API returns up to 1,000 key names. The response might contain fewer keys but will never contain more.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Confirms that the requester knows that she or he will be charged for the list objects + * request in V2 style. Bucket owners need not specify this parameter in their + * requests.

                                                                                                                                                                                            */ - MaxKeys?: number; + RequestPayer?: RequestPayer | string; + + /** + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + */ + ExpectedBucketOwner?: string; } export namespace ListObjectsV2Request { @@ -7800,29 +8409,30 @@ export namespace ListObjectsV2Request { */ export interface DeleteMarkerEntry { /** - *

                                                                                                                                                                                            Version ID of an object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account that created the delete marker.>

                                                                                                                                                                                            */ - VersionId?: string; + Owner?: Owner; /** - *

                                                                                                                                                                                            Date and time the object was last modified.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The object key.

                                                                                                                                                                                            */ - LastModified?: Date; + Key?: string; /** - *

                                                                                                                                                                                            The object key.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Version ID of an object.

                                                                                                                                                                                            */ - Key?: string; + VersionId?: string; /** - *

                                                                                                                                                                                            Specifies whether the object is (true) or is not (false) the latest version of an object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies whether the object is (true) or is not (false) the latest version of an + * object.

                                                                                                                                                                                            */ IsLatest?: boolean; /** - *

                                                                                                                                                                                            The account that created the delete marker.>

                                                                                                                                                                                            + *

                                                                                                                                                                                            Date and time the object was last modified.

                                                                                                                                                                                            */ - Owner?: Owner; + LastModified?: Date; } export namespace DeleteMarkerEntry { @@ -7838,14 +8448,14 @@ export type ObjectVersionStorageClass = "STANDARD"; */ export interface ObjectVersion { /** - *

                                                                                                                                                                                            Size in bytes of the object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The entity tag is an MD5 hash of that version of the object.

                                                                                                                                                                                            */ - Size?: number; + ETag?: string; /** - *

                                                                                                                                                                                            The object key.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Size in bytes of the object.

                                                                                                                                                                                            */ - Key?: string; + Size?: number; /** *

                                                                                                                                                                                            The class of storage used to store the object.

                                                                                                                                                                                            @@ -7853,19 +8463,20 @@ export interface ObjectVersion { StorageClass?: ObjectVersionStorageClass | string; /** - *

                                                                                                                                                                                            Specifies the owner of the object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The object key.

                                                                                                                                                                                            */ - Owner?: Owner; + Key?: string; /** - *

                                                                                                                                                                                            Specifies whether the object is (true) or is not (false) the latest version of an object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Version ID of an object.

                                                                                                                                                                                            */ - IsLatest?: boolean; + VersionId?: string; /** - *

                                                                                                                                                                                            The entity tag is an MD5 hash of that version of the object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies whether the object is (true) or is not (false) the latest version of an + * object.

                                                                                                                                                                                            */ - ETag?: string; + IsLatest?: boolean; /** *

                                                                                                                                                                                            Date and time the object was last modified.

                                                                                                                                                                                            @@ -7873,9 +8484,9 @@ export interface ObjectVersion { LastModified?: Date; /** - *

                                                                                                                                                                                            Version ID of an object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the owner of the object.

                                                                                                                                                                                            */ - VersionId?: string; + Owner?: Owner; } export namespace ObjectVersion { @@ -7886,37 +8497,22 @@ export namespace ObjectVersion { export interface ListObjectVersionsOutput { /** - *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            - */ - Name?: string; - - /** - *

                                                                                                                                                                                            The delimiter grouping the included keys. A delimiter is a character that you specify to - * group keys. All keys that contain the same string between the prefix and the first - * occurrence of the delimiter are grouped under a single result element in - * CommonPrefixes. These groups are counted as one result against the max-keys - * limitation. These keys are not returned elsewhere in the response.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A flag that indicates whether Amazon S3 returned all of the results that satisfied the search + * criteria. If your results were truncated, you can make a follow-up paginated request using + * the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in + * another request to return the rest of the results.

                                                                                                                                                                                            */ - Delimiter?: string; + IsTruncated?: boolean; /** - *

                                                                                                                                                                                            - * Encoding type used by Amazon S3 to encode object key names in the XML response.

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            If you specify encoding-type request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            - * KeyMarker, NextKeyMarker, Prefix, Key, and Delimiter.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Marks the last key returned in a truncated response.

                                                                                                                                                                                            */ - EncodingType?: EncodingType | string; + KeyMarker?: string; /** - *

                                                                                                                                                                                            When the number of responses exceeds the value of MaxKeys, - * NextVersionIdMarker specifies the first object version not returned that - * satisfies the search criteria. Use this value for the version-id-marker request parameter - * in a subsequent request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Marks the last version of the key returned in a truncated response.

                                                                                                                                                                                            */ - NextVersionIdMarker?: string; + VersionIdMarker?: string; /** *

                                                                                                                                                                                            When the number of responses exceeds the value of MaxKeys, @@ -7927,27 +8523,27 @@ export interface ListObjectVersionsOutput { NextKeyMarker?: string; /** - *

                                                                                                                                                                                            All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When the number of responses exceeds the value of MaxKeys, + * NextVersionIdMarker specifies the first object version not returned that + * satisfies the search criteria. Use this value for the version-id-marker request parameter + * in a subsequent request.

                                                                                                                                                                                            */ - CommonPrefixes?: CommonPrefix[]; + NextVersionIdMarker?: string; /** - *

                                                                                                                                                                                            Marks the last version of the key returned in a truncated response.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container for version information.

                                                                                                                                                                                            */ - VersionIdMarker?: string; + Versions?: ObjectVersion[]; /** - *

                                                                                                                                                                                            A flag that indicates whether Amazon S3 returned all of the results that satisfied the search - * criteria. If your results were truncated, you can make a follow-up paginated request using - * the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in - * another request to return the rest of the results.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container for an object that is a delete marker.

                                                                                                                                                                                            */ - IsTruncated?: boolean; + DeleteMarkers?: DeleteMarkerEntry[]; /** - *

                                                                                                                                                                                            Specifies the maximum number of objects to return.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            */ - MaxKeys?: number; + Name?: string; /** *

                                                                                                                                                                                            Selects objects that start with the value supplied by this parameter.

                                                                                                                                                                                            @@ -7955,19 +8551,35 @@ export interface ListObjectVersionsOutput { Prefix?: string; /** - *

                                                                                                                                                                                            Container for version information.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The delimiter grouping the included keys. A delimiter is a character that you specify to + * group keys. All keys that contain the same string between the prefix and the first + * occurrence of the delimiter are grouped under a single result element in + * CommonPrefixes. These groups are counted as one result against the max-keys + * limitation. These keys are not returned elsewhere in the response.

                                                                                                                                                                                            */ - Versions?: ObjectVersion[]; + Delimiter?: string; /** - *

                                                                                                                                                                                            Container for an object that is a delete marker.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the maximum number of objects to return.

                                                                                                                                                                                            */ - DeleteMarkers?: DeleteMarkerEntry[]; + MaxKeys?: number; /** - *

                                                                                                                                                                                            Marks the last key returned in a truncated response.

                                                                                                                                                                                            + *

                                                                                                                                                                                            All of the keys rolled up into a common prefix count as a single return when calculating + * the number of returns.

                                                                                                                                                                                            */ - KeyMarker?: string; + CommonPrefixes?: CommonPrefix[]; + + /** + *

                                                                                                                                                                                            Encoding type used by Amazon S3 to encode object key names in the XML response.

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            If you specify encoding-type request parameter, Amazon S3 includes this element in the + * response, and returns encoded key name values in the following response elements:

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            + * KeyMarker, NextKeyMarker, Prefix, Key, and Delimiter.

                                                                                                                                                                                            + */ + EncodingType?: EncodingType | string; } export namespace ListObjectVersionsOutput { @@ -7978,44 +8590,60 @@ export namespace ListObjectVersionsOutput { export interface ListObjectVersionsRequest { /** - *

                                                                                                                                                                                            Specifies the key to start with when listing objects in a bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket name that contains the objects.

                                                                                                                                                                                            */ - KeyMarker?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            Sets the maximum number of keys returned in the response. By default the API returns up to 1,000 key names. The response might contain fewer keys but will never contain more. If additional keys satisfy the search criteria, but were not returned because max-keys was exceeded, the response contains true. To return the additional keys, see key-marker and version-id-marker.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A delimiter is a character that you specify to group keys. All keys that contain the + * same string between the prefix and the first occurrence of the delimiter are + * grouped under a single result element in CommonPrefixes. These groups are counted as one + * result against the max-keys limitation. These keys are not returned elsewhere in the + * response.

                                                                                                                                                                                            */ - MaxKeys?: number; + Delimiter?: string; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Requests Amazon S3 to encode the object keys in the response and specifies the encoding + * method to use. An object key may contain any Unicode character; however, XML 1.0 parser + * cannot parse some characters, such as characters with an ASCII value from 0 to 10. For + * characters that are not supported in XML 1.0, you can add this parameter to request that + * Amazon S3 encode the keys in the response.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + EncodingType?: EncodingType | string; /** - *

                                                                                                                                                                                            A delimiter is a character that you specify to group keys. All keys that contain the same string between the prefix and the first occurrence of the delimiter are grouped under a single result element in CommonPrefixes. These groups are counted as one result against the max-keys limitation. These keys are not returned elsewhere in the response.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the key to start with when listing objects in a bucket.

                                                                                                                                                                                            */ - Delimiter?: string; + KeyMarker?: string; /** - *

                                                                                                                                                                                            Specifies the object version you want to start listing from.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Sets the maximum number of keys returned in the response. By default the API returns up + * to 1,000 key names. The response might contain fewer keys but will never contain more. If + * additional keys satisfy the search criteria, but were not returned because max-keys was + * exceeded, the response contains true. To return the + * additional keys, see key-marker and version-id-marker.

                                                                                                                                                                                            */ - VersionIdMarker?: string; + MaxKeys?: number; /** - *

                                                                                                                                                                                            The bucket name that contains the objects.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Use this parameter to select only those keys that begin with the specified prefix. You + * can use prefixes to separate a bucket into different groupings of keys. (You can think of + * using prefix to make groups in the same way you'd use a folder in a file system.) You can + * use prefix with delimiter to roll up numerous objects into a single result under + * CommonPrefixes.

                                                                                                                                                                                            */ - Bucket: string | undefined; + Prefix?: string; /** - *

                                                                                                                                                                                            Use this parameter to select only those keys that begin with the specified prefix. You can use prefixes to separate a bucket into different groupings of keys. (You can think of using prefix to make groups in the same way you'd use a folder in a file system.) You can use prefix with delimiter to roll up numerous objects into a single result under CommonPrefixes.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the object version you want to start listing from.

                                                                                                                                                                                            */ - Prefix?: string; + VersionIdMarker?: string; /** - *

                                                                                                                                                                                            Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - EncodingType?: EncodingType | string; + ExpectedBucketOwner?: string; } export namespace ListObjectVersionsRequest { @@ -8029,9 +8657,10 @@ export namespace ListObjectVersionsRequest { */ export interface Part { /** - *

                                                                                                                                                                                            Size in bytes of the uploaded part data.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Part number identifying the part. This is a positive integer between 1 and + * 10,000.

                                                                                                                                                                                            */ - Size?: number; + PartNumber?: number; /** *

                                                                                                                                                                                            Date and time at which the part was uploaded.

                                                                                                                                                                                            @@ -8039,14 +8668,14 @@ export interface Part { LastModified?: Date; /** - *

                                                                                                                                                                                            Part number identifying the part. This is a positive integer between 1 and 10,000.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Entity tag returned when the part was uploaded.

                                                                                                                                                                                            */ - PartNumber?: number; + ETag?: string; /** - *

                                                                                                                                                                                            Entity tag returned when the part was uploaded.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Size in bytes of the uploaded part data.

                                                                                                                                                                                            */ - ETag?: string; + Size?: number; } export namespace Part { @@ -8057,27 +8686,28 @@ export namespace Part { export interface ListPartsOutput { /** - *

                                                                                                                                                                                            Class of storage (STANDARD or REDUCED_REDUNDANCY) used to store the uploaded object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If the bucket has a lifecycle rule configured with an action to abort incomplete + * multipart uploads and the prefix in the lifecycle rule matches the object name in the + * request, then the response includes this header indicating when the initiated multipart + * upload will become eligible for abort operation. For more information, see Aborting + * Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            The response will also include the x-amz-abort-rule-id header that will + * provide the ID of the lifecycle configuration rule that defines this action.

                                                                                                                                                                                            */ - StorageClass?: StorageClass | string; + AbortDate?: Date; /** - *

                                                                                                                                                                                            This header is returned along with the x-amz-abort-date header. It identifies - * applicable lifecycle configuration rule that defines the action to abort incomplete - * multipart uploads.

                                                                                                                                                                                            + *

                                                                                                                                                                                            This header is returned along with the x-amz-abort-date header. It + * identifies applicable lifecycle configuration rule that defines the action to abort + * incomplete multipart uploads.

                                                                                                                                                                                            */ AbortRuleId?: string; /** - *

                                                                                                                                                                                            - * Container element that identifies the object owner, after the object is created. If multipart upload is initiated by an IAM user, this element provides the parent account ID and display name.

                                                                                                                                                                                            - */ - Owner?: Owner; - - /** - *

                                                                                                                                                                                            When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                            */ - NextPartNumberMarker?: number; + Bucket?: string; /** *

                                                                                                                                                                                            Object key for which the multipart upload was initiated.

                                                                                                                                                                                            @@ -8085,22 +8715,23 @@ export interface ListPartsOutput { Key?: string; /** - *

                                                                                                                                                                                            When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Upload ID identifying the multipart upload whose parts are being listed.

                                                                                                                                                                                            */ - PartNumberMarker?: number; + UploadId?: string; /** - *

                                                                                                                                                                                            Container element that identifies who initiated the multipart upload. If the initiator is an - * AWS account, this element provides the same information as the Owner element. - * If the initiator is an IAM User, this element provides the user ARN and display - * name.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When a list is truncated, this element specifies the last part in the list, as well as + * the value to use for the part-number-marker request parameter in a subsequent + * request.

                                                                                                                                                                                            */ - Initiator?: Initiator; + PartNumberMarker?: string; /** - *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When a list is truncated, this element specifies the last part in the list, as well as + * the value to use for the part-number-marker request parameter in a subsequent + * request.

                                                                                                                                                                                            */ - RequestCharged?: RequestCharged | string; + NextPartNumberMarker?: string; /** *

                                                                                                                                                                                            Maximum number of parts that were allowed in the response.

                                                                                                                                                                                            @@ -8108,12 +8739,11 @@ export interface ListPartsOutput { MaxParts?: number; /** - *

                                                                                                                                                                                            If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the prefix in the lifecycle rule matches the object name in the request, then the response includes this header indicating when the initiated multipart upload will become eligible for abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            The response will also include the x-amz-abort-rule-id header that will - * provide the ID of the lifecycle configuration rule that defines this action.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Indicates whether the returned list of parts is truncated. A true value indicates that + * the list was truncated. A list can be truncated if the number of parts exceeds the limit + * returned in the MaxParts element.

                                                                                                                                                                                            */ - AbortDate?: Date; + IsTruncated?: boolean; /** *

                                                                                                                                                                                            Container for elements related to a particular part. A response can contain zero or @@ -8122,20 +8752,31 @@ export interface ListPartsOutput { Parts?: Part[]; /** - *

                                                                                                                                                                                            The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container element that identifies who initiated the multipart upload. If the initiator + * is an AWS account, this element provides the same information as the Owner + * element. If the initiator is an IAM User, this element provides the user ARN and display + * name.

                                                                                                                                                                                            */ - Bucket?: string; + Initiator?: Initiator; /** - *

                                                                                                                                                                                            - * Indicates whether the returned list of parts is truncated. A true value indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts element.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container element that identifies the object owner, after the object is created. If + * multipart upload is initiated by an IAM user, this element provides the parent account ID + * and display name.

                                                                                                                                                                                            */ - IsTruncated?: boolean; + Owner?: Owner; /** - *

                                                                                                                                                                                            Upload ID identifying the multipart upload whose parts are being listed.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Class of storage (STANDARD or REDUCED_REDUNDANCY) used to store the uploaded + * object.

                                                                                                                                                                                            */ - UploadId?: string; + StorageClass?: StorageClass | string; + + /** + *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                            + */ + RequestCharged?: RequestCharged | string; } export namespace ListPartsOutput { @@ -8145,19 +8786,6 @@ export namespace ListPartsOutput { } export interface ListPartsRequest { - /** - *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                            - */ - RequestPayer?: RequestPayer | string; - - /** - *

                                                                                                                                                                                            Upload ID identifying the multipart upload whose parts are being listed.

                                                                                                                                                                                            - */ - UploadId: string | undefined; - /** *

                                                                                                                                                                                            The name of the bucket to which the parts are being uploaded.

                                                                                                                                                                                            *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            @@ -8165,20 +8793,34 @@ export interface ListPartsRequest { */ Bucket: string | undefined; + /** + *

                                                                                                                                                                                            Object key for which the multipart upload was initiated.

                                                                                                                                                                                            + */ + Key: string | undefined; + /** *

                                                                                                                                                                                            Sets the maximum number of parts to return.

                                                                                                                                                                                            */ MaxParts?: number; /** - *

                                                                                                                                                                                            Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the part after which listing should begin. Only parts with higher part numbers + * will be listed.

                                                                                                                                                                                            */ - PartNumberMarker?: number; + PartNumberMarker?: string; /** - *

                                                                                                                                                                                            Object key for which the multipart upload was initiated.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Upload ID identifying the multipart upload whose parts are being listed.

                                                                                                                                                                                            */ - Key: string | undefined; + UploadId: string | undefined; + + /** + *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                            + */ + RequestPayer?: RequestPayer | string; /** *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            @@ -8199,14 +8841,14 @@ export interface PutBucketAccelerateConfigurationRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container for setting the transfer acceleration state.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + AccelerateConfiguration: AccelerateConfiguration | undefined; /** - *

                                                                                                                                                                                            Container for setting the transfer acceleration state.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - AccelerateConfiguration: AccelerateConfiguration | undefined; + ExpectedBucketOwner?: string; } export namespace PutBucketAccelerateConfigurationRequest { @@ -8217,52 +8859,54 @@ export namespace PutBucketAccelerateConfigurationRequest { export interface PutBucketAclRequest { /** - *

                                                                                                                                                                                            Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The canned ACL to apply to the bucket.

                                                                                                                                                                                            */ - GrantFullControl?: string; + ACL?: BucketCannedACL | string; /** - *

                                                                                                                                                                                            The bucket to which to apply the ACL.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Contains the elements that set the ACL permissions for an object per grantee.

                                                                                                                                                                                            */ - Bucket: string | undefined; + AccessControlPolicy?: AccessControlPolicy; /** - *

                                                                                                                                                                                            Allows grantee to read the bucket ACL.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket to which to apply the ACL.

                                                                                                                                                                                            */ - GrantReadACP?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            Allows grantee to create, overwrite, and delete any object in the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message + * integrity check to verify that the request body was not corrupted in transit. For more + * information, go to RFC + * 1864. + *

                                                                                                                                                                                            */ - GrantWrite?: string; + ContentMD5?: string; /** - *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity - * check to verify that the request body was not corrupted in transit. For more information, go to - * RFC 1864. - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee the read, write, read ACP, and write ACP permissions on the + * bucket.

                                                                                                                                                                                            */ - ContentMD5?: string; + GrantFullControl?: string; /** - *

                                                                                                                                                                                            The canned ACL to apply to the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to list the objects in the bucket.

                                                                                                                                                                                            */ - ACL?: BucketCannedACL | string; + GrantRead?: string; /** - *

                                                                                                                                                                                            Allows grantee to write the ACL for the applicable bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to read the bucket ACL.

                                                                                                                                                                                            */ - GrantWriteACP?: string; + GrantReadACP?: string; /** - *

                                                                                                                                                                                            Contains the elements that set the ACL permissions for an object per grantee.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to create, overwrite, and delete any object in the bucket.

                                                                                                                                                                                            */ - AccessControlPolicy?: AccessControlPolicy; + GrantWrite?: string; /** - *

                                                                                                                                                                                            Allows grantee to list the objects in the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to write the ACL for the applicable bucket.

                                                                                                                                                                                            */ - GrantRead?: string; + GrantWriteACP?: string; /** *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            @@ -8278,14 +8922,14 @@ export namespace PutBucketAclRequest { export interface PutBucketAnalyticsConfigurationRequest { /** - *

                                                                                                                                                                                            The ID that identifies the analytics configuration.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the bucket to which an analytics configuration is stored.

                                                                                                                                                                                            */ - Id: string | undefined; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The name of the bucket to which an analytics configuration is stored.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The ID that identifies the analytics configuration.

                                                                                                                                                                                            */ - Bucket: string | undefined; + Id: string | undefined; /** *

                                                                                                                                                                                            The configuration and any analyses for the analytics filter.

                                                                                                                                                                                            @@ -8305,13 +8949,15 @@ export namespace PutBucketAnalyticsConfigurationRequest { } /** - *

                                                                                                                                                                                            Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling - * Cross-Origin Resource Sharing in the - * Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more + * information, see Enabling + * Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer + * Guide.

                                                                                                                                                                                            */ export interface CORSConfiguration { /** - *

                                                                                                                                                                                            A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A set of origins and methods (cross-origin access that you want to allow). You can add + * up to 100 rules to the configuration.

                                                                                                                                                                                            */ CORSRules: CORSRule[] | undefined; } @@ -8328,14 +8974,6 @@ export interface PutBucketCorsRequest { */ Bucket: string | undefined; - /** - *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity - * check to verify that the request body was not corrupted in transit. For more information, go to - * RFC 1864. - *

                                                                                                                                                                                            - */ - ContentMD5?: string; - /** *

                                                                                                                                                                                            Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more * information, see Enabling Cross-Origin Resource @@ -8343,6 +8981,15 @@ export interface PutBucketCorsRequest { */ CORSConfiguration: CORSConfiguration | undefined; + /** + *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message + * integrity check to verify that the request body was not corrupted in transit. For more + * information, go to RFC + * 1864. + *

                                                                                                                                                                                            + */ + ContentMD5?: string; + /** *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ @@ -8357,9 +9004,12 @@ export namespace PutBucketCorsRequest { export interface PutBucketEncryptionRequest { /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed + * keys (SSE-S3) or customer master keys stored in AWS KMS (SSE-KMS). For information about + * the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption + * in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the server-side encryption configuration. This @@ -8368,14 +9018,14 @@ export interface PutBucketEncryptionRequest { ContentMD5?: string; /** - *

                                                                                                                                                                                            Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS (SSE-KMS). For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the default server-side-encryption configuration.

                                                                                                                                                                                            */ - Bucket: string | undefined; + ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined; /** - *

                                                                                                                                                                                            Specifies the default server-side-encryption configuration.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined; + ExpectedBucketOwner?: string; } export namespace PutBucketEncryptionRequest { @@ -8389,6 +9039,29 @@ export namespace PutBucketEncryptionRequest { }); } +export interface PutBucketIntelligentTieringConfigurationRequest { + /** + *

                                                                                                                                                                                            The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

                                                                                                                                                                                            + */ + Bucket: string | undefined; + + /** + *

                                                                                                                                                                                            The ID used to identify the S3 Intelligent-Tiering configuration.

                                                                                                                                                                                            + */ + Id: string | undefined; + + /** + *

                                                                                                                                                                                            Container for S3 Intelligent-Tiering configuration.

                                                                                                                                                                                            + */ + IntelligentTieringConfiguration: IntelligentTieringConfiguration | undefined; +} + +export namespace PutBucketIntelligentTieringConfigurationRequest { + export const filterSensitiveLog = (obj: PutBucketIntelligentTieringConfigurationRequest): any => ({ + ...obj, + }); +} + export interface PutBucketInventoryConfigurationRequest { /** *

                                                                                                                                                                                            The name of the bucket where the inventory configuration will be stored.

                                                                                                                                                                                            @@ -8422,8 +9095,8 @@ export namespace PutBucketInventoryConfigurationRequest { /** *

                                                                                                                                                                                            Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more - * information, see Object - * Lifecycle Management in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + * information, see Object Lifecycle Management + * in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            */ export interface BucketLifecycleConfiguration { /** @@ -8440,14 +9113,14 @@ export namespace BucketLifecycleConfiguration { export interface PutBucketLifecycleConfigurationRequest { /** - *

                                                                                                                                                                                            Container for lifecycle rules. You can add as many as 1,000 rules.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the bucket for which to set the configuration.

                                                                                                                                                                                            */ - LifecycleConfiguration?: BucketLifecycleConfiguration; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The name of the bucket for which to set the configuration.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container for lifecycle rules. You can add as many as 1,000 rules.

                                                                                                                                                                                            */ - Bucket: string | undefined; + LifecycleConfiguration?: BucketLifecycleConfiguration; /** *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            @@ -8466,9 +9139,9 @@ export namespace PutBucketLifecycleConfigurationRequest { */ export interface BucketLoggingStatus { /** - *

                                                                                                                                                                                            Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for - * a bucket. For more information, see PUT Bucket logging in the - * Amazon Simple Storage Service API Reference.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys + * for a bucket. For more information, see PUT Bucket logging in the + * Amazon Simple Storage Service API Reference.

                                                                                                                                                                                            */ LoggingEnabled?: LoggingEnabled; } @@ -8485,11 +9158,6 @@ export interface PutBucketLoggingRequest { */ Bucket: string | undefined; - /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            - */ - ExpectedBucketOwner?: string; - /** *

                                                                                                                                                                                            Container for logging status information.

                                                                                                                                                                                            */ @@ -8499,6 +9167,11 @@ export interface PutBucketLoggingRequest { *

                                                                                                                                                                                            The MD5 hash of the PutBucketLogging request body.

                                                                                                                                                                                            */ ContentMD5?: string; + + /** + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + */ + ExpectedBucketOwner?: string; } export namespace PutBucketLoggingRequest { @@ -8509,14 +9182,14 @@ export namespace PutBucketLoggingRequest { export interface PutBucketMetricsConfigurationRequest { /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the bucket for which the metrics configuration is set.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The name of the bucket for which the metrics configuration is set.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The ID used to identify the metrics configuration.

                                                                                                                                                                                            */ - Bucket: string | undefined; + Id: string | undefined; /** *

                                                                                                                                                                                            Specifies the metrics configuration.

                                                                                                                                                                                            @@ -8524,9 +9197,9 @@ export interface PutBucketMetricsConfigurationRequest { MetricsConfiguration: MetricsConfiguration | undefined; /** - *

                                                                                                                                                                                            The ID used to identify the metrics configuration.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - Id: string | undefined; + ExpectedBucketOwner?: string; } export namespace PutBucketMetricsConfigurationRequest { @@ -8537,20 +9210,20 @@ export namespace PutBucketMetricsConfigurationRequest { export interface PutBucketNotificationConfigurationRequest { /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the bucket.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            A container for specifying the notification configuration of the bucket. If this element is - * empty, notifications are turned off for the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A container for specifying the notification configuration of the bucket. If this element + * is empty, notifications are turned off for the bucket.

                                                                                                                                                                                            */ NotificationConfiguration: NotificationConfiguration | undefined; /** - *

                                                                                                                                                                                            The name of the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace PutBucketNotificationConfigurationRequest { @@ -8570,13 +9243,16 @@ export interface PutBucketOwnershipControlsRequest { */ ContentMD5?: string; + /** + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + */ + ExpectedBucketOwner?: string; + /** *

                                                                                                                                                                                            The OwnershipControls (BucketOwnerPreferred or ObjectWriter) that you want * to apply to this Amazon S3 bucket.

                                                                                                                                                                                            */ OwnershipControls: OwnershipControls | undefined; - - ExpectedBucketOwner?: string; } export namespace PutBucketOwnershipControlsRequest { @@ -8587,9 +9263,9 @@ export namespace PutBucketOwnershipControlsRequest { export interface PutBucketPolicyRequest { /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the bucket.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** *

                                                                                                                                                                                            The MD5 hash of the request body.

                                                                                                                                                                                            @@ -8597,19 +9273,20 @@ export interface PutBucketPolicyRequest { ContentMD5?: string; /** - *

                                                                                                                                                                                            The bucket policy as a JSON document.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Set this parameter to true to confirm that you want to remove your permissions to change + * this bucket policy in the future.

                                                                                                                                                                                            */ - Policy: string | undefined; + ConfirmRemoveSelfBucketAccess?: boolean; /** - *

                                                                                                                                                                                            The name of the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket policy as a JSON document.

                                                                                                                                                                                            */ - Bucket: string | undefined; + Policy: string | undefined; /** - *

                                                                                                                                                                                            Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - ConfirmRemoveSelfBucketAccess?: boolean; + ExpectedBucketOwner?: string; } export namespace PutBucketPolicyRequest { @@ -8620,30 +9297,32 @@ export namespace PutBucketPolicyRequest { export interface PutBucketReplicationRequest { /** - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the bucket

                                                                                                                                                                                            */ - Token?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            A container for replication rules. You can add up to 1,000 rules. The maximum size of a - * replication configuration is 2 MB.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message + * integrity check to verify that the request body was not corrupted in transit. For more + * information, see RFC 1864.

                                                                                                                                                                                            */ - ReplicationConfiguration: ReplicationConfiguration | undefined; + ContentMD5?: string; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A container for replication rules. You can add up to 1,000 rules. The maximum size of a + * replication configuration is 2 MB.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + ReplicationConfiguration: ReplicationConfiguration | undefined; /** - *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A token to allow Object Lock to be enabled for an existing bucket.

                                                                                                                                                                                            */ - ContentMD5?: string; + Token?: string; /** - *

                                                                                                                                                                                            The name of the bucket

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace PutBucketReplicationRequest { @@ -8675,14 +9354,17 @@ export interface PutBucketRequestPaymentRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                            Container for Payer.

                                                                                                                                                                                            + *

                                                                                                                                                                                            >The base64-encoded 128-bit MD5 digest of the data. You must use this header as a + * message integrity check to verify that the request body was not corrupted in transit. For + * more information, see RFC + * 1864.

                                                                                                                                                                                            */ - RequestPaymentConfiguration: RequestPaymentConfiguration | undefined; + ContentMD5?: string; /** - *

                                                                                                                                                                                            >The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container for Payer.

                                                                                                                                                                                            */ - ContentMD5?: string; + RequestPaymentConfiguration: RequestPaymentConfiguration | undefined; /** *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            @@ -8714,14 +9396,16 @@ export namespace Tagging { export interface PutBucketTaggingRequest { /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message + * integrity check to verify that the request body was not corrupted in transit. For more + * information, see RFC 1864.

                                                                                                                                                                                            */ - Bucket: string | undefined; + ContentMD5?: string; /** *

                                                                                                                                                                                            Container for the TagSet and Tag elements.

                                                                                                                                                                                            @@ -8729,9 +9413,9 @@ export interface PutBucketTaggingRequest { Tagging: Tagging | undefined; /** - *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - ContentMD5?: string; + ExpectedBucketOwner?: string; } export namespace PutBucketTaggingRequest { @@ -8743,19 +9427,21 @@ export namespace PutBucketTaggingRequest { export type MFADelete = "Disabled" | "Enabled"; /** - *

                                                                                                                                                                                            Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning in the - * Amazon Simple Storage Service API Reference.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Describes the versioning state of an Amazon S3 bucket. For more information, see PUT + * Bucket versioning in the Amazon Simple Storage Service API Reference.

                                                                                                                                                                                            */ export interface VersioningConfiguration { /** - *

                                                                                                                                                                                            The versioning state of the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies whether MFA delete is enabled in the bucket versioning configuration. This + * element is only returned if the bucket has been configured with MFA delete. If the bucket + * has never been so configured, this element is not returned.

                                                                                                                                                                                            */ - Status?: BucketVersioningStatus | string; + MFADelete?: MFADelete | string; /** - *

                                                                                                                                                                                            Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The versioning state of the bucket.

                                                                                                                                                                                            */ - MFADelete?: MFADelete | string; + Status?: BucketVersioningStatus | string; } export namespace VersioningConfiguration { @@ -8766,17 +9452,21 @@ export namespace VersioningConfiguration { export interface PutBucketVersioningRequest { /** - *

                                                                                                                                                                                            >The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            */ - ContentMD5?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            + *

                                                                                                                                                                                            >The base64-encoded 128-bit MD5 digest of the data. You must use this header as a + * message integrity check to verify that the request body was not corrupted in transit. For + * more information, see RFC + * 1864.

                                                                                                                                                                                            */ - Bucket: string | undefined; + ContentMD5?: string; /** - *

                                                                                                                                                                                            The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The concatenation of the authentication device's serial number, a space, and the value + * that is displayed on your authentication device.

                                                                                                                                                                                            */ MFA?: string; @@ -8806,6 +9496,11 @@ export interface WebsiteConfiguration { */ ErrorDocument?: ErrorDocument; + /** + *

                                                                                                                                                                                            The name of the index document for the website.

                                                                                                                                                                                            + */ + IndexDocument?: IndexDocument; + /** *

                                                                                                                                                                                            The redirect behavior for every request to this bucket's website endpoint.

                                                                                                                                                                                            * @@ -8814,11 +9509,6 @@ export interface WebsiteConfiguration { */ RedirectAllRequestsTo?: RedirectAllRequestsTo; - /** - *

                                                                                                                                                                                            The name of the index document for the website.

                                                                                                                                                                                            - */ - IndexDocument?: IndexDocument; - /** *

                                                                                                                                                                                            Rules that define when a redirect is applied and the redirect behavior.

                                                                                                                                                                                            */ @@ -8833,24 +9523,26 @@ export namespace WebsiteConfiguration { export interface PutBucketWebsiteRequest { /** - *

                                                                                                                                                                                            Container for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            */ - WebsiteConfiguration: WebsiteConfiguration | undefined; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message + * integrity check to verify that the request body was not corrupted in transit. For more + * information, see RFC 1864.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + ContentMD5?: string; /** - *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container for the request.

                                                                                                                                                                                            */ - ContentMD5?: string; + WebsiteConfiguration: WebsiteConfiguration | undefined; /** - *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace PutBucketWebsiteRequest { @@ -8861,32 +9553,23 @@ export namespace PutBucketWebsiteRequest { export interface PutObjectOutput { /** - *

                                                                                                                                                                                            If present, specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

                                                                                                                                                                                            - */ - SSEKMSEncryptionContext?: string; - - /** - *

                                                                                                                                                                                            - * If the expiration is configured for the object (see PutBucketLifecycleConfiguration), the response includes this header. It includes the expiry-date and rule-id key-value pairs that provide information about object expiration. The value of the rule-id is URL encoded.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If the expiration is configured for the object (see PutBucketLifecycleConfiguration), the response includes this header. It + * includes the expiry-date and rule-id key-value pairs that provide information about object + * expiration. The value of the rule-id is URL encoded.

                                                                                                                                                                                            */ Expiration?: string; - /** - *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the response - * will include this header to provide round-trip message integrity verification of the - * customer-provided encryption key.

                                                                                                                                                                                            - */ - SSECustomerKeyMD5?: string; - /** *

                                                                                                                                                                                            Entity tag for the uploaded object.

                                                                                                                                                                                            */ ETag?: string; /** - *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If you specified server-side encryption either with an AWS KMS customer master key (CMK) + * or Amazon S3-managed encryption key in your PUT request, the response includes this header. It + * confirms the encryption algorithm that Amazon S3 used to encrypt the object.

                                                                                                                                                                                            */ - SSECustomerAlgorithm?: string; + ServerSideEncryption?: ServerSideEncryption | string; /** *

                                                                                                                                                                                            Version of the object.

                                                                                                                                                                                            @@ -8894,32 +9577,61 @@ export interface PutObjectOutput { VersionId?: string; /** - *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                            */ - RequestCharged?: RequestCharged | string; + SSECustomerAlgorithm?: string; + + /** + *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header to provide round-trip message integrity verification of + * the customer-provided encryption key.

                                                                                                                                                                                            + */ + SSECustomerKeyMD5?: string; /** *

                                                                                                                                                                                            If x-amz-server-side-encryption is present and has the value of * aws:kms, this header specifies the ID of the AWS Key Management Service - * (AWS KMS) symmetric customer managed customer master key (CMK) that was used for the object.

                                                                                                                                                                                            + * (AWS KMS) symmetric customer managed customer master key (CMK) that was used for the + * object.

                                                                                                                                                                                            */ SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                            If you specified server-side encryption either with an AWS KMS customer master key (CMK) or Amazon S3-managed encryption key in your PUT request, the response includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If present, specifies the AWS KMS Encryption Context to use for object encryption. The + * value of this header is a base64-encoded UTF-8 string holding JSON with the encryption + * context key-value pairs.

                                                                                                                                                                                            */ - ServerSideEncryption?: ServerSideEncryption | string; + SSEKMSEncryptionContext?: string; + + /** + *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                            + */ + RequestCharged?: RequestCharged | string; } export namespace PutObjectOutput { export const filterSensitiveLog = (obj: PutObjectOutput): any => ({ ...obj, - ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }), + ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), }); } export interface PutObjectRequest { + /** + *

                                                                                                                                                                                            The canned ACL to apply to the object. For more information, see Canned + * ACL.

                                                                                                                                                                                            + *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            + */ + ACL?: ObjectCannedACL | string; + + /** + *

                                                                                                                                                                                            Object data.

                                                                                                                                                                                            + */ + Body?: Readable | ReadableStream | Blob; + /** *

                                                                                                                                                                                            The bucket name to which the PUT operation was initiated.

                                                                                                                                                                                            *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            @@ -8928,158 +9640,186 @@ export interface PutObjectRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                            Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

                                                                                                                                                                                            - *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Can be used to specify caching behavior along the request/reply chain. For more + * information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.

                                                                                                                                                                                            */ - GrantFullControl?: string; + CacheControl?: string; /** - *

                                                                                                                                                                                            A map of metadata to store with the object in S3.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies presentational information for the object. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1.

                                                                                                                                                                                            */ - Metadata?: { [key: string]: string }; + ContentDisposition?: string; /** - *

                                                                                                                                                                                            Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies what content encodings have been applied to the object and thus what decoding + * mechanisms must be applied to obtain the media-type referenced by the Content-Type header + * field. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11.

                                                                                                                                                                                            */ ContentEncoding?: string; /** - *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The language the content is in.

                                                                                                                                                                                            */ - RequestPayer?: RequestPayer | string; + ContentLanguage?: string; /** - *

                                                                                                                                                                                            Allows grantee to read the object ACL.

                                                                                                                                                                                            - *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Size of the body in bytes. This parameter is useful when the size of the body cannot be + * determined automatically. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13.

                                                                                                                                                                                            */ - GrantReadACP?: string; + ContentLength?: number; /** - *

                                                                                                                                                                                            Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses - * this header for a message integrity check to ensure that the encryption key was transmitted - * without error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the message (without the headers) according to + * RFC 1864. This header can be used as a message integrity check to verify that the data is + * the same data that was originally sent. Although it is optional, we recommend using the + * Content-MD5 mechanism as an end-to-end integrity check. For more information about REST + * request authentication, see REST + * Authentication.

                                                                                                                                                                                            */ - SSECustomerKeyMD5?: string; + ContentMD5?: string; /** - *

                                                                                                                                                                                            - * Can be used to specify caching behavior along the request/reply chain. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A standard MIME type describing the format of the contents. For more information, see + * http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17.

                                                                                                                                                                                            */ - CacheControl?: string; + ContentType?: string; /** - *

                                                                                                                                                                                            If the bucket is configured as a website, redirects requests for this object to another object - * in the same bucket or to an external URL. Amazon S3 stores the value of this header in the - * object metadata. For information about object metadata, see Object Key and Metadata.

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            In the following example, the request header sets the redirect to an object (anotherPage.html) in the same bucket:

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            - * x-amz-website-redirect-location: /anotherPage.html - *

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            In the following example, the request header sets the object redirect to another website:

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            - * x-amz-website-redirect-location: http://www.example.com/ - *

                                                                                                                                                                                            - * - *

                                                                                                                                                                                            For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and How to Configure Website Page Redirects.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The date and time at which the object is no longer cacheable. For more information, see + * http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21.

                                                                                                                                                                                            */ - WebsiteRedirectLocation?: string; + Expires?: Date; /** - *

                                                                                                                                                                                            Object key for which the PUT operation was initiated.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the + * object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            */ - Key: string | undefined; + GrantFullControl?: string; /** - *

                                                                                                                                                                                            Specifies whether a legal hold will be applied to this object. For more information about S3 Object Lock, see Object Lock.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to read the object data and its + * metadata.

                                                                                                                                                                                            + *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            */ - ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; + GrantRead?: string; /** - *

                                                                                                                                                                                            Allows grantee to write the ACL for the applicable object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to read the object ACL.

                                                                                                                                                                                            *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            */ - GrantWriteACP?: string; + GrantReadACP?: string; /** - *

                                                                                                                                                                                            Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to write the ACL for the applicable + * object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            */ - ContentLength?: number; + GrantWriteACP?: string; /** - *

                                                                                                                                                                                            The date and time when you want this object's Object Lock to expire.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Object key for which the PUT operation was initiated.

                                                                                                                                                                                            */ - ObjectLockRetainUntilDate?: Date; + Key: string | undefined; /** - *

                                                                                                                                                                                            Specifies the algorithm to use to when encrypting the object (for example, AES256).

                                                                                                                                                                                            + *

                                                                                                                                                                                            A map of metadata to store with the object in S3.

                                                                                                                                                                                            */ - SSECustomerAlgorithm?: string; + Metadata?: { [key: string]: string }; /** - *

                                                                                                                                                                                            Specifies presentational information for the object. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The server-side encryption algorithm used when storing this object in Amazon S3 (for example, + * AES256, aws:kms).

                                                                                                                                                                                            */ - ContentDisposition?: string; + ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                            Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This - * value is used to store the object and then it is discarded; Amazon S3 does not store the - * encryption key. The key must be appropriate for use with the algorithm specified in the - * x-amz-server-side-encryption-customer-algorithm header.

                                                                                                                                                                                            + *

                                                                                                                                                                                            By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The + * STANDARD storage class provides high durability and high availability. Depending on + * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses + * the OUTPOSTS Storage Class. For more information, see Storage Classes in the Amazon S3 + * Service Developer Guide.

                                                                                                                                                                                            */ - SSECustomerKey?: string; + StorageClass?: StorageClass | string; /** - *

                                                                                                                                                                                            Specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If the bucket is configured as a website, redirects requests for this object to another + * object in the same bucket or to an external URL. Amazon S3 stores the value of this header in + * the object metadata. For information about object metadata, see Object Key and Metadata.

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            In the following example, the request header sets the redirect to an object + * (anotherPage.html) in the same bucket:

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            + * x-amz-website-redirect-location: /anotherPage.html + *

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            In the following example, the request header sets the object redirect to another + * website:

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            + * x-amz-website-redirect-location: http://www.example.com/ + *

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and How to Configure Website Page + * Redirects.

                                                                                                                                                                                            */ - SSEKMSEncryptionContext?: string; + WebsiteRedirectLocation?: string; /** - *

                                                                                                                                                                                            The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For example, "Key1=Value1")

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the algorithm to use to when encrypting the object (for example, + * AES256).

                                                                                                                                                                                            */ - Tagging?: string; + SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                            The date and time at which the object is no longer cacheable. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This + * value is used to store the object and then it is discarded; Amazon S3 does not store the + * encryption key. The key must be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

                                                                                                                                                                                            */ - Expires?: Date; + SSECustomerKey?: string; /** - *

                                                                                                                                                                                            By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. - * The STANDARD storage class provides high durability and high availability. Depending on - * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only - * uses the OUTPOSTS Storage Class. For more information, see - * Storage Classes in the - * Amazon S3 Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses + * this header for a message integrity check to ensure that the encryption key was transmitted + * without error.

                                                                                                                                                                                            */ - StorageClass?: StorageClass | string; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If x-amz-server-side-encryption is present and has the value of + * aws:kms, this header specifies the ID of the AWS Key Management Service + * (AWS KMS) symmetrical customer managed customer master key (CMK) that was used for the + * object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If the value of x-amz-server-side-encryption is aws:kms, this + * header specifies the ID of the symmetric customer managed AWS KMS CMK that will be used for + * the object. If you specify x-amz-server-side-encryption:aws:kms, but do not + * provide x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the AWS + * managed CMK in AWS to protect the data.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                            Object data.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the AWS KMS Encryption Context to use for object encryption. The value of this + * header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value + * pairs.

                                                                                                                                                                                            */ - Body?: Readable | ReadableStream | Blob; + SSEKMSEncryptionContext?: string; /** - *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the message (without the headers) according to RFC 1864. This header can be used as a message integrity check to verify that the data is the same data that was originally sent. Although it is optional, we recommend using the Content-MD5 mechanism as an end-to-end integrity check. For more information about REST request authentication, see REST Authentication.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                            */ - ContentMD5?: string; + RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                            The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).

                                                                                                                                                                                            + *

                                                                                                                                                                                            The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For + * example, "Key1=Value1")

                                                                                                                                                                                            */ - ServerSideEncryption?: ServerSideEncryption | string; + Tagging?: string; /** *

                                                                                                                                                                                            The Object Lock mode that you want to apply to this object.

                                                                                                                                                                                            @@ -9087,52 +9827,36 @@ export interface PutObjectRequest { ObjectLockMode?: ObjectLockMode | string; /** - *

                                                                                                                                                                                            If x-amz-server-side-encryption is present and has the value of - * aws:kms, this header specifies the ID of the AWS Key Management Service - * (AWS KMS) symmetrical customer managed customer master key (CMK) that was used for the object.

                                                                                                                                                                                            - *

                                                                                                                                                                                            If the value of x-amz-server-side-encryption is aws:kms, this - * header specifies the ID of the symmetric customer managed AWS KMS CMK that will be used for the object. If you specify - * x-amz-server-side-encryption:aws:kms, but do not provide - * x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the AWS managed CMK - * in AWS to protect the data.

                                                                                                                                                                                            - */ - SSEKMSKeyId?: string; - - /** - *

                                                                                                                                                                                            The language the content is in.

                                                                                                                                                                                            - */ - ContentLanguage?: string; - - /** - *

                                                                                                                                                                                            Allows grantee to read the object data and its metadata.

                                                                                                                                                                                            - *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The date and time when you want this object's Object Lock to expire.

                                                                                                                                                                                            */ - GrantRead?: string; + ObjectLockRetainUntilDate?: Date; /** - *

                                                                                                                                                                                            The canned ACL to apply to the object. For more information, see Canned ACL.

                                                                                                                                                                                            - *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies whether a legal hold will be applied to this object. For more information + * about S3 Object Lock, see Object + * Lock.

                                                                                                                                                                                            */ - ACL?: ObjectCannedACL | string; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; /** - *

                                                                                                                                                                                            A standard MIME type describing the format of the contents. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - ContentType?: string; + ExpectedBucketOwner?: string; } export namespace PutObjectRequest { export const filterSensitiveLog = (obj: PutObjectRequest): any => ({ ...obj, ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }), - ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }), + ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }), }); } export interface PutObjectAclOutput { /** - *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                            */ RequestCharged?: RequestCharged | string; } @@ -9145,42 +9869,43 @@ export namespace PutObjectAclOutput { export interface PutObjectAclRequest { /** - *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The canned ACL to apply to the object. For more information, see Canned ACL.

                                                                                                                                                                                            */ - RequestPayer?: RequestPayer | string; + ACL?: ObjectCannedACL | string; /** - *

                                                                                                                                                                                            The canned ACL to apply to the object. For more information, see Canned - * ACL.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Contains the elements that set the ACL permissions for an object per grantee.

                                                                                                                                                                                            */ - ACL?: ObjectCannedACL | string; + AccessControlPolicy?: AccessControlPolicy; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket name that contains the object to which you want to attach the ACL.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity - * check to verify that the request body was not corrupted in transit. For more information, go to - * RFC 1864.> + *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message + * integrity check to verify that the request body was not corrupted in transit. For more + * information, go to RFC + * 1864.> *

                                                                                                                                                                                            */ ContentMD5?: string; /** - *

                                                                                                                                                                                            Contains the elements that set the ACL permissions for an object per grantee.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee the read, write, read ACP, and write ACP permissions on the + * bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            */ - AccessControlPolicy?: AccessControlPolicy; + GrantFullControl?: string; /** - *

                                                                                                                                                                                            Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to list the objects in the + * bucket.

                                                                                                                                                                                            *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            */ - GrantFullControl?: string; + GrantRead?: string; /** *

                                                                                                                                                                                            Allows grantee to read the bucket ACL.

                                                                                                                                                                                            @@ -9189,15 +9914,16 @@ export interface PutObjectAclRequest { GrantReadACP?: string; /** - *

                                                                                                                                                                                            Allows grantee to list the objects in the bucket.

                                                                                                                                                                                            - *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to create, overwrite, and delete any object in the bucket.

                                                                                                                                                                                            */ - GrantRead?: string; + GrantWrite?: string; /** - *

                                                                                                                                                                                            Allows grantee to create, overwrite, and delete any object in the bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Allows grantee to write the ACL for the applicable + * bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            */ - GrantWrite?: string; + GrantWriteACP?: string; /** *

                                                                                                                                                                                            Key for which the PUT operation was initiated.

                                                                                                                                                                                            @@ -9207,10 +9933,12 @@ export interface PutObjectAclRequest { Key: string | undefined; /** - *

                                                                                                                                                                                            Allows grantee to write the ACL for the applicable bucket.

                                                                                                                                                                                            - *

                                                                                                                                                                                            This action is not supported by Amazon S3 on Outposts.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                            */ - GrantWriteACP?: string; + RequestPayer?: RequestPayer | string; /** *

                                                                                                                                                                                            VersionId used to reference a specific version of the object.

                                                                                                                                                                                            @@ -9218,10 +9946,9 @@ export interface PutObjectAclRequest { VersionId?: string; /** - *

                                                                                                                                                                                            The bucket name that contains the object to which you want to attach the ACL.

                                                                                                                                                                                            - *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - Bucket: string | undefined; + ExpectedBucketOwner?: string; } export namespace PutObjectAclRequest { @@ -9232,7 +9959,8 @@ export namespace PutObjectAclRequest { export interface PutObjectLegalHoldOutput { /** - *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                            */ RequestCharged?: RequestCharged | string; } @@ -9251,19 +9979,23 @@ export interface PutObjectLegalHoldRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                            The MD5 hash for the request body.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The key name for the object that you want to place a Legal Hold on.

                                                                                                                                                                                            */ - ContentMD5?: string; + Key: string | undefined; /** - *

                                                                                                                                                                                            Container element for the Legal Hold configuration you want to apply to the specified object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container element for the Legal Hold configuration you want to apply to the specified + * object.

                                                                                                                                                                                            */ LegalHold?: ObjectLockLegalHold; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + RequestPayer?: RequestPayer | string; /** *

                                                                                                                                                                                            The version ID of the object that you want to place a Legal Hold on.

                                                                                                                                                                                            @@ -9271,17 +10003,14 @@ export interface PutObjectLegalHoldRequest { VersionId?: string; /** - *

                                                                                                                                                                                            The key name for the object that you want to place a Legal Hold on.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The MD5 hash for the request body.

                                                                                                                                                                                            */ - Key: string | undefined; + ContentMD5?: string; /** - *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - RequestPayer?: RequestPayer | string; + ExpectedBucketOwner?: string; } export namespace PutObjectLegalHoldRequest { @@ -9292,7 +10021,8 @@ export namespace PutObjectLegalHoldRequest { export interface PutObjectLockConfigurationOutput { /** - *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                            */ RequestCharged?: RequestCharged | string; } @@ -9305,27 +10035,27 @@ export namespace PutObjectLockConfigurationOutput { export interface PutObjectLockConfigurationRequest { /** - *

                                                                                                                                                                                            A token to allow Object Lock to be enabled for an existing bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket whose Object Lock configuration you want to create or replace.

                                                                                                                                                                                            */ - Token?: string; + Bucket: string | undefined; + + /** + *

                                                                                                                                                                                            The Object Lock configuration that you want to apply to the specified bucket.

                                                                                                                                                                                            + */ + ObjectLockConfiguration?: ObjectLockConfiguration; /** *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                            + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                            */ RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                            The Object Lock configuration that you want to apply to the specified bucket.

                                                                                                                                                                                            - */ - ObjectLockConfiguration?: ObjectLockConfiguration; - - /** - *

                                                                                                                                                                                            The bucket whose Object Lock configuration you want to create or replace.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A token to allow Object Lock to be enabled for an existing bucket.

                                                                                                                                                                                            */ - Bucket: string | undefined; + Token?: string; /** *

                                                                                                                                                                                            The MD5 hash for the request body.

                                                                                                                                                                                            @@ -9346,7 +10076,8 @@ export namespace PutObjectLockConfigurationRequest { export interface PutObjectRetentionOutput { /** - *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                            */ RequestCharged?: RequestCharged | string; } @@ -9359,38 +10090,36 @@ export namespace PutObjectRetentionOutput { export interface PutObjectRetentionRequest { /** - *

                                                                                                                                                                                            The key name for the object that you want to apply this Object Retention configuration to.

                                                                                                                                                                                            - */ - Key: string | undefined; - - /** - *

                                                                                                                                                                                            The bucket name that contains the object you want to apply this Object Retention configuration to.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket name that contains the object you want to apply this Object Retention + * configuration to.

                                                                                                                                                                                            *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            */ Bucket: string | undefined; /** - *

                                                                                                                                                                                            The container element for the Object Retention configuration.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The key name for the object that you want to apply this Object Retention configuration + * to.

                                                                                                                                                                                            */ - Retention?: ObjectLockRetention; + Key: string | undefined; /** - *

                                                                                                                                                                                            The version ID for the object that you want to apply this Object Retention configuration to.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The container element for the Object Retention configuration.

                                                                                                                                                                                            */ - VersionId?: string; + Retention?: ObjectLockRetention; /** *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                            + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                            */ RequestPayer?: RequestPayer | string; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The version ID for the object that you want to apply this Object Retention configuration + * to.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + VersionId?: string; /** *

                                                                                                                                                                                            Indicates whether this operation should bypass Governance-mode restrictions.

                                                                                                                                                                                            @@ -9401,6 +10130,11 @@ export interface PutObjectRetentionRequest { *

                                                                                                                                                                                            The MD5 hash for the request body.

                                                                                                                                                                                            */ ContentMD5?: string; + + /** + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + */ + ExpectedBucketOwner?: string; } export namespace PutObjectRetentionRequest { @@ -9441,9 +10175,9 @@ export interface PutObjectTaggingRequest { VersionId?: string; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The MD5 hash for the request body.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + ContentMD5?: string; /** *

                                                                                                                                                                                            Container for the TagSet and Tag elements

                                                                                                                                                                                            @@ -9451,9 +10185,9 @@ export interface PutObjectTaggingRequest { Tagging: Tagging | undefined; /** - *

                                                                                                                                                                                            The MD5 hash for the request body.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - ContentMD5?: string; + ExpectedBucketOwner?: string; } export namespace PutObjectTaggingRequest { @@ -9464,28 +10198,28 @@ export namespace PutObjectTaggingRequest { export interface PutPublicAccessBlockRequest { /** - *

                                                                                                                                                                                            The PublicAccessBlock configuration that you want to apply to this Amazon S3 - * bucket. You can enable the configuration options in any combination. For more information - * about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon Simple Storage Service Developer - * Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the Amazon S3 bucket whose PublicAccessBlock configuration you want + * to set.

                                                                                                                                                                                            */ - PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The MD5 hash of the PutPublicAccessBlock request body.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + ContentMD5?: string; /** - *

                                                                                                                                                                                            The name of the Amazon S3 bucket whose PublicAccessBlock configuration you - * want to set.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The PublicAccessBlock configuration that you want to apply to this Amazon S3 + * bucket. You can enable the configuration options in any combination. For more information + * about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon Simple Storage Service Developer + * Guide.

                                                                                                                                                                                            */ - Bucket: string | undefined; + PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined; /** - *

                                                                                                                                                                                            The MD5 hash of the PutPublicAccessBlock request body.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            */ - ContentMD5?: string; + ExpectedBucketOwner?: string; } export namespace PutPublicAccessBlockRequest { @@ -9510,12 +10244,14 @@ export namespace ObjectAlreadyInActiveTierError { export interface RestoreObjectOutput { /** - *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                            */ RequestCharged?: RequestCharged | string; /** - *

                                                                                                                                                                                            Indicates the path in the provided S3 output location where Select results will be restored to.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Indicates the path in the provided S3 output location where Select results will be + * restored to.

                                                                                                                                                                                            */ RestoreOutputPath?: string; } @@ -9533,7 +10269,7 @@ export type Tier = "Bulk" | "Expedited" | "Standard"; */ export interface GlacierJobParameters { /** - *

                                                                                                                                                                                            S3 Glacier retrieval tier at which the restore will be processed.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Retrieval tier at which the restore will be processed.

                                                                                                                                                                                            */ Tier: Tier | string | undefined; } @@ -9549,22 +10285,25 @@ export namespace GlacierJobParameters { */ export interface Encryption { /** - *

                                                                                                                                                                                            If the encryption type is aws:kms, this optional value specifies the ID of the symmetric customer managed AWS KMS CMK - * to use for encryption of job results. Amazon S3 only supports symmetric CMKs. For more information, see Using Symmetric and Asymmetric Keys in the AWS Key Management Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The server-side encryption algorithm used when storing job results in Amazon S3 (for example, + * AES256, aws:kms).

                                                                                                                                                                                            */ - KMSKeyId?: string; + EncryptionType: ServerSideEncryption | string | undefined; /** - *

                                                                                                                                                                                            If the encryption type is aws:kms, this optional value can be used to specify the - * encryption context for the restore results.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If the encryption type is aws:kms, this optional value specifies the ID of + * the symmetric customer managed AWS KMS CMK to use for encryption of job results. Amazon S3 only + * supports symmetric CMKs. For more information, see Using Symmetric and + * Asymmetric Keys in the AWS Key Management Service Developer + * Guide.

                                                                                                                                                                                            */ - KMSContext?: string; + KMSKeyId?: string; /** - *

                                                                                                                                                                                            The server-side encryption algorithm used when storing job results in Amazon S3 (for example, - * AES256, aws:kms).

                                                                                                                                                                                            + *

                                                                                                                                                                                            If the encryption type is aws:kms, this optional value can be used to + * specify the encryption context for the restore results.

                                                                                                                                                                                            */ - EncryptionType: ServerSideEncryption | string | undefined; + KMSContext?: string; } export namespace Encryption { @@ -9579,14 +10318,14 @@ export namespace Encryption { */ export interface MetadataEntry { /** - *

                                                                                                                                                                                            Value of the Object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Name of the Object.

                                                                                                                                                                                            */ - Value?: string; + Name?: string; /** - *

                                                                                                                                                                                            Name of the Object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Value of the Object.

                                                                                                                                                                                            */ - Name?: string; + Value?: string; } export namespace MetadataEntry { @@ -9605,24 +10344,24 @@ export interface S3Location { BucketName: string | undefined; /** - *

                                                                                                                                                                                            The class of storage used to store the restore results.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The prefix that is prepended to the restore results for this request.

                                                                                                                                                                                            */ - StorageClass?: StorageClass | string; + Prefix: string | undefined; /** - *

                                                                                                                                                                                            The canned ACL to apply to the restore results.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Contains the type of server-side encryption used.

                                                                                                                                                                                            */ - CannedACL?: ObjectCannedACL | string; + Encryption?: Encryption; /** - *

                                                                                                                                                                                            A list of metadata to store with the restore results in S3.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The canned ACL to apply to the restore results.

                                                                                                                                                                                            */ - UserMetadata?: MetadataEntry[]; + CannedACL?: ObjectCannedACL | string; /** - *

                                                                                                                                                                                            The prefix that is prepended to the restore results for this request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A list of grants that control access to the staged results.

                                                                                                                                                                                            */ - Prefix: string | undefined; + AccessControlList?: Grant[]; /** *

                                                                                                                                                                                            The tag-set that is applied to the restore results.

                                                                                                                                                                                            @@ -9630,14 +10369,14 @@ export interface S3Location { Tagging?: Tagging; /** - *

                                                                                                                                                                                            Contains the type of server-side encryption used.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A list of metadata to store with the restore results in S3.

                                                                                                                                                                                            */ - Encryption?: Encryption; + UserMetadata?: MetadataEntry[]; /** - *

                                                                                                                                                                                            A list of grants that control access to the staged results.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The class of storage used to store the restore results.

                                                                                                                                                                                            */ - AccessControlList?: Grant[]; + StorageClass?: StorageClass | string; } export namespace S3Location { @@ -9646,290 +10385,3 @@ export namespace S3Location { ...(obj.Encryption && { Encryption: Encryption.filterSensitiveLog(obj.Encryption) }), }); } - -/** - *

                                                                                                                                                                                            Describes the location where the restore job's output is stored.

                                                                                                                                                                                            - */ -export interface OutputLocation { - /** - *

                                                                                                                                                                                            Describes an S3 location that will receive the results of the restore request.

                                                                                                                                                                                            - */ - S3?: S3Location; -} - -export namespace OutputLocation { - export const filterSensitiveLog = (obj: OutputLocation): any => ({ - ...obj, - ...(obj.S3 && { S3: S3Location.filterSensitiveLog(obj.S3) }), - }); -} - -export type ExpressionType = "SQL"; - -export type CompressionType = "BZIP2" | "GZIP" | "NONE"; - -export enum FileHeaderInfo { - IGNORE = "IGNORE", - NONE = "NONE", - USE = "USE", -} - -/** - *

                                                                                                                                                                                            Describes how an uncompressed comma-separated values (CSV)-formatted input object is - * formatted.

                                                                                                                                                                                            - */ -export interface CSVInput { - /** - *

                                                                                                                                                                                            A single character used to separate individual fields in a record. You can specify an arbitrary delimiter.

                                                                                                                                                                                            - */ - FieldDelimiter?: string; - - /** - *

                                                                                                                                                                                            Specifies that CSV field values may contain quoted record delimiters and such records should be allowed. Default value is FALSE. Setting this value to TRUE may lower performance.

                                                                                                                                                                                            - */ - AllowQuotedRecordDelimiter?: boolean; - - /** - *

                                                                                                                                                                                            Describes the first line of input. Valid values are:

                                                                                                                                                                                            - *
                                                                                                                                                                                              - *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              - * NONE: First line is not a header.

                                                                                                                                                                                              - *
                                                                                                                                                                                            • - *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              - * IGNORE: First line is a header, but you can't use the header values to - * indicate the column in an expression. You can use column - * position (such as _1, _2, …) to indicate the column - * (SELECT s._1 FROM OBJECT s).

                                                                                                                                                                                              - *
                                                                                                                                                                                            • - *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              - * Use: First line is a header, and you can use the header value to - * identify a column in an expression (SELECT "name" - * FROM OBJECT).

                                                                                                                                                                                              - *
                                                                                                                                                                                            • - *
                                                                                                                                                                                            - */ - FileHeaderInfo?: FileHeaderInfo | string; - - /** - *

                                                                                                                                                                                            A single character used for escaping when the field delimiter is part of the value. - * For example, if the value is a, b, Amazon S3 wraps this - * field value in quotation marks, as follows: " a , b - * ".

                                                                                                                                                                                            - *

                                                                                                                                                                                            Type: String

                                                                                                                                                                                            - *

                                                                                                                                                                                            Default: " - *

                                                                                                                                                                                            - *

                                                                                                                                                                                            Ancestors: CSV - *

                                                                                                                                                                                            - */ - QuoteCharacter?: string; - - /** - *

                                                                                                                                                                                            A single character used for escaping the quotation mark character inside an already escaped value. For example, the value """ a , b """ is parsed as " a , b ".

                                                                                                                                                                                            - */ - QuoteEscapeCharacter?: string; - - /** - *

                                                                                                                                                                                            A single character used to separate individual records in the input. Instead of the default value, you can specify an arbitrary delimiter.

                                                                                                                                                                                            - */ - RecordDelimiter?: string; - - /** - *

                                                                                                                                                                                            A single character used to indicate that a row should be ignored when the character is present at the start of that row. You can specify any character to indicate a comment line.

                                                                                                                                                                                            - */ - Comments?: string; -} - -export namespace CSVInput { - export const filterSensitiveLog = (obj: CSVInput): any => ({ - ...obj, - }); -} - -export enum JSONType { - DOCUMENT = "DOCUMENT", - LINES = "LINES", -} - -/** - *

                                                                                                                                                                                            Specifies JSON as object's input serialization format.

                                                                                                                                                                                            - */ -export interface JSONInput { - /** - *

                                                                                                                                                                                            The type of JSON. Valid values: Document, Lines.

                                                                                                                                                                                            - */ - Type?: JSONType | string; -} - -export namespace JSONInput { - export const filterSensitiveLog = (obj: JSONInput): any => ({ - ...obj, - }); -} - -/** - *

                                                                                                                                                                                            Container for Parquet.

                                                                                                                                                                                            - */ -export interface ParquetInput {} - -export namespace ParquetInput { - export const filterSensitiveLog = (obj: ParquetInput): any => ({ - ...obj, - }); -} - -/** - *

                                                                                                                                                                                            Describes the serialization format of the object.

                                                                                                                                                                                            - */ -export interface InputSerialization { - /** - *

                                                                                                                                                                                            Specifies JSON as object's input serialization format.

                                                                                                                                                                                            - */ - JSON?: JSONInput; - - /** - *

                                                                                                                                                                                            Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.

                                                                                                                                                                                            - */ - CompressionType?: CompressionType | string; - - /** - *

                                                                                                                                                                                            Specifies Parquet as object's input serialization format.

                                                                                                                                                                                            - */ - Parquet?: ParquetInput; - - /** - *

                                                                                                                                                                                            Describes the serialization of a CSV-encoded object.

                                                                                                                                                                                            - */ - CSV?: CSVInput; -} - -export namespace InputSerialization { - export const filterSensitiveLog = (obj: InputSerialization): any => ({ - ...obj, - }); -} - -export enum QuoteFields { - ALWAYS = "ALWAYS", - ASNEEDED = "ASNEEDED", -} - -/** - *

                                                                                                                                                                                            Describes how uncompressed comma-separated values (CSV)-formatted results are formatted.

                                                                                                                                                                                            - */ -export interface CSVOutput { - /** - *

                                                                                                                                                                                            The value used to separate individual fields in a record. You can specify an arbitrary delimiter.

                                                                                                                                                                                            - */ - FieldDelimiter?: string; - - /** - *

                                                                                                                                                                                            Indicates whether to use quotation marks around output fields.

                                                                                                                                                                                            - *
                                                                                                                                                                                              - *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              - * ALWAYS: Always use quotation marks for output fields.

                                                                                                                                                                                              - *
                                                                                                                                                                                            • - *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              - * ASNEEDED: Use quotation marks for output fields when needed.

                                                                                                                                                                                              - *
                                                                                                                                                                                            • - *
                                                                                                                                                                                            - */ - QuoteFields?: QuoteFields | string; - - /** - *

                                                                                                                                                                                            A single character used for escaping when the field delimiter is part of the value. For example, if the value is a, b, Amazon S3 wraps this - * field value in quotation marks, as follows: " a , b - * ".

                                                                                                                                                                                            - */ - QuoteCharacter?: string; - - /** - *

                                                                                                                                                                                            A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.

                                                                                                                                                                                            - */ - RecordDelimiter?: string; - - /** - *

                                                                                                                                                                                            The single character used for escaping the quote character inside an already escaped - * value.

                                                                                                                                                                                            - */ - QuoteEscapeCharacter?: string; -} - -export namespace CSVOutput { - export const filterSensitiveLog = (obj: CSVOutput): any => ({ - ...obj, - }); -} - -/** - *

                                                                                                                                                                                            Specifies JSON as request's output serialization format.

                                                                                                                                                                                            - */ -export interface JSONOutput { - /** - *

                                                                                                                                                                                            The value used to separate individual records in the output. If no value is specified, Amazon S3 - * uses a newline character ('\n').

                                                                                                                                                                                            - */ - RecordDelimiter?: string; -} - -export namespace JSONOutput { - export const filterSensitiveLog = (obj: JSONOutput): any => ({ - ...obj, - }); -} - -/** - *

                                                                                                                                                                                            Describes how results of the Select job are serialized.

                                                                                                                                                                                            - */ -export interface OutputSerialization { - /** - *

                                                                                                                                                                                            Specifies JSON as request's output serialization format.

                                                                                                                                                                                            - */ - JSON?: JSONOutput; - - /** - *

                                                                                                                                                                                            Describes the serialization of CSV-encoded Select results.

                                                                                                                                                                                            - */ - CSV?: CSVOutput; -} - -export namespace OutputSerialization { - export const filterSensitiveLog = (obj: OutputSerialization): any => ({ - ...obj, - }); -} - -/** - *

                                                                                                                                                                                            Describes the parameters for Select job types.

                                                                                                                                                                                            - */ -export interface SelectParameters { - /** - *

                                                                                                                                                                                            The type of the provided expression (for example, SQL).

                                                                                                                                                                                            - */ - ExpressionType: ExpressionType | string | undefined; - - /** - *

                                                                                                                                                                                            Describes how the results of the Select job are serialized.

                                                                                                                                                                                            - */ - OutputSerialization: OutputSerialization | undefined; - - /** - *

                                                                                                                                                                                            The expression that is used to query the object.

                                                                                                                                                                                            - */ - Expression: string | undefined; - - /** - *

                                                                                                                                                                                            Describes the serialization format of the object.

                                                                                                                                                                                            - */ - InputSerialization: InputSerialization | undefined; -} - -export namespace SelectParameters { - export const filterSensitiveLog = (obj: SelectParameters): any => ({ - ...obj, - }); -} diff --git a/clients/client-s3/models/models_1.ts b/clients/client-s3/models/models_1.ts index 7d8752ebface..594400ec6d1f 100644 --- a/clients/client-s3/models/models_1.ts +++ b/clients/client-s3/models/models_1.ts @@ -1,18 +1,302 @@ -import { - ExpressionType, - GlacierJobParameters, - InputSerialization, - OutputLocation, - OutputSerialization, - RequestCharged, - RequestPayer, - SelectParameters, - ServerSideEncryption, - Tier, -} from "./models_0"; +import { GlacierJobParameters, RequestCharged, RequestPayer, S3Location, ServerSideEncryption, Tier } from "./models_0"; import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; import { Readable } from "stream"; +/** + *

                                                                                                                                                                                            Describes the location where the restore job's output is stored.

                                                                                                                                                                                            + */ +export interface OutputLocation { + /** + *

                                                                                                                                                                                            Describes an S3 location that will receive the results of the restore request.

                                                                                                                                                                                            + */ + S3?: S3Location; +} + +export namespace OutputLocation { + export const filterSensitiveLog = (obj: OutputLocation): any => ({ + ...obj, + ...(obj.S3 && { S3: S3Location.filterSensitiveLog(obj.S3) }), + }); +} + +export type ExpressionType = "SQL"; + +export type CompressionType = "BZIP2" | "GZIP" | "NONE"; + +export enum FileHeaderInfo { + IGNORE = "IGNORE", + NONE = "NONE", + USE = "USE", +} + +/** + *

                                                                                                                                                                                            Describes how an uncompressed comma-separated values (CSV)-formatted input object is + * formatted.

                                                                                                                                                                                            + */ +export interface CSVInput { + /** + *

                                                                                                                                                                                            Describes the first line of input. Valid values are:

                                                                                                                                                                                            + *
                                                                                                                                                                                              + *
                                                                                                                                                                                            • + *

                                                                                                                                                                                              + * NONE: First line is not a header.

                                                                                                                                                                                              + *
                                                                                                                                                                                            • + *
                                                                                                                                                                                            • + *

                                                                                                                                                                                              + * IGNORE: First line is a header, but you can't use the header values + * to indicate the column in an expression. You can use column position (such as _1, _2, + * …) to indicate the column (SELECT s._1 FROM OBJECT s).

                                                                                                                                                                                              + *
                                                                                                                                                                                            • + *
                                                                                                                                                                                            • + *

                                                                                                                                                                                              + * Use: First line is a header, and you can use the header value to + * identify a column in an expression (SELECT "name" FROM OBJECT).

                                                                                                                                                                                              + *
                                                                                                                                                                                            • + *
                                                                                                                                                                                            + */ + FileHeaderInfo?: FileHeaderInfo | string; + + /** + *

                                                                                                                                                                                            A single character used to indicate that a row should be ignored when the character is + * present at the start of that row. You can specify any character to indicate a comment + * line.

                                                                                                                                                                                            + */ + Comments?: string; + + /** + *

                                                                                                                                                                                            A single character used for escaping the quotation mark character inside an already + * escaped value. For example, the value """ a , b """ is parsed as " a , b ".

                                                                                                                                                                                            + */ + QuoteEscapeCharacter?: string; + + /** + *

                                                                                                                                                                                            A single character used to separate individual records in the input. Instead of the + * default value, you can specify an arbitrary delimiter.

                                                                                                                                                                                            + */ + RecordDelimiter?: string; + + /** + *

                                                                                                                                                                                            A single character used to separate individual fields in a record. You can specify an + * arbitrary delimiter.

                                                                                                                                                                                            + */ + FieldDelimiter?: string; + + /** + *

                                                                                                                                                                                            A single character used for escaping when the field delimiter is part of the value. For + * example, if the value is a, b, Amazon S3 wraps this field value in quotation marks, + * as follows: " a , b ".

                                                                                                                                                                                            + *

                                                                                                                                                                                            Type: String

                                                                                                                                                                                            + *

                                                                                                                                                                                            Default: " + *

                                                                                                                                                                                            + *

                                                                                                                                                                                            Ancestors: CSV + *

                                                                                                                                                                                            + */ + QuoteCharacter?: string; + + /** + *

                                                                                                                                                                                            Specifies that CSV field values may contain quoted record delimiters and such records + * should be allowed. Default value is FALSE. Setting this value to TRUE may lower + * performance.

                                                                                                                                                                                            + */ + AllowQuotedRecordDelimiter?: boolean; +} + +export namespace CSVInput { + export const filterSensitiveLog = (obj: CSVInput): any => ({ + ...obj, + }); +} + +export enum JSONType { + DOCUMENT = "DOCUMENT", + LINES = "LINES", +} + +/** + *

                                                                                                                                                                                            Specifies JSON as object's input serialization format.

                                                                                                                                                                                            + */ +export interface JSONInput { + /** + *

                                                                                                                                                                                            The type of JSON. Valid values: Document, Lines.

                                                                                                                                                                                            + */ + Type?: JSONType | string; +} + +export namespace JSONInput { + export const filterSensitiveLog = (obj: JSONInput): any => ({ + ...obj, + }); +} + +/** + *

                                                                                                                                                                                            Container for Parquet.

                                                                                                                                                                                            + */ +export interface ParquetInput {} + +export namespace ParquetInput { + export const filterSensitiveLog = (obj: ParquetInput): any => ({ + ...obj, + }); +} + +/** + *

                                                                                                                                                                                            Describes the serialization format of the object.

                                                                                                                                                                                            + */ +export interface InputSerialization { + /** + *

                                                                                                                                                                                            Describes the serialization of a CSV-encoded object.

                                                                                                                                                                                            + */ + CSV?: CSVInput; + + /** + *

                                                                                                                                                                                            Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: + * NONE.

                                                                                                                                                                                            + */ + CompressionType?: CompressionType | string; + + /** + *

                                                                                                                                                                                            Specifies JSON as object's input serialization format.

                                                                                                                                                                                            + */ + JSON?: JSONInput; + + /** + *

                                                                                                                                                                                            Specifies Parquet as object's input serialization format.

                                                                                                                                                                                            + */ + Parquet?: ParquetInput; +} + +export namespace InputSerialization { + export const filterSensitiveLog = (obj: InputSerialization): any => ({ + ...obj, + }); +} + +export enum QuoteFields { + ALWAYS = "ALWAYS", + ASNEEDED = "ASNEEDED", +} + +/** + *

                                                                                                                                                                                            Describes how uncompressed comma-separated values (CSV)-formatted results are + * formatted.

                                                                                                                                                                                            + */ +export interface CSVOutput { + /** + *

                                                                                                                                                                                            Indicates whether to use quotation marks around output fields.

                                                                                                                                                                                            + *
                                                                                                                                                                                              + *
                                                                                                                                                                                            • + *

                                                                                                                                                                                              + * ALWAYS: Always use quotation marks for output fields.

                                                                                                                                                                                              + *
                                                                                                                                                                                            • + *
                                                                                                                                                                                            • + *

                                                                                                                                                                                              + * ASNEEDED: Use quotation marks for output fields when needed.

                                                                                                                                                                                              + *
                                                                                                                                                                                            • + *
                                                                                                                                                                                            + */ + QuoteFields?: QuoteFields | string; + + /** + *

                                                                                                                                                                                            The single character used for escaping the quote character inside an already escaped + * value.

                                                                                                                                                                                            + */ + QuoteEscapeCharacter?: string; + + /** + *

                                                                                                                                                                                            A single character used to separate individual records in the output. Instead of the + * default value, you can specify an arbitrary delimiter.

                                                                                                                                                                                            + */ + RecordDelimiter?: string; + + /** + *

                                                                                                                                                                                            The value used to separate individual fields in a record. You can specify an arbitrary + * delimiter.

                                                                                                                                                                                            + */ + FieldDelimiter?: string; + + /** + *

                                                                                                                                                                                            A single character used for escaping when the field delimiter is part of the value. For + * example, if the value is a, b, Amazon S3 wraps this field value in quotation marks, + * as follows: " a , b ".

                                                                                                                                                                                            + */ + QuoteCharacter?: string; +} + +export namespace CSVOutput { + export const filterSensitiveLog = (obj: CSVOutput): any => ({ + ...obj, + }); +} + +/** + *

                                                                                                                                                                                            Specifies JSON as request's output serialization format.

                                                                                                                                                                                            + */ +export interface JSONOutput { + /** + *

                                                                                                                                                                                            The value used to separate individual records in the output. If no value is specified, + * Amazon S3 uses a newline character ('\n').

                                                                                                                                                                                            + */ + RecordDelimiter?: string; +} + +export namespace JSONOutput { + export const filterSensitiveLog = (obj: JSONOutput): any => ({ + ...obj, + }); +} + +/** + *

                                                                                                                                                                                            Describes how results of the Select job are serialized.

                                                                                                                                                                                            + */ +export interface OutputSerialization { + /** + *

                                                                                                                                                                                            Describes the serialization of CSV-encoded Select results.

                                                                                                                                                                                            + */ + CSV?: CSVOutput; + + /** + *

                                                                                                                                                                                            Specifies JSON as request's output serialization format.

                                                                                                                                                                                            + */ + JSON?: JSONOutput; +} + +export namespace OutputSerialization { + export const filterSensitiveLog = (obj: OutputSerialization): any => ({ + ...obj, + }); +} + +/** + *

                                                                                                                                                                                            Describes the parameters for Select job types.

                                                                                                                                                                                            + */ +export interface SelectParameters { + /** + *

                                                                                                                                                                                            Describes the serialization format of the object.

                                                                                                                                                                                            + */ + InputSerialization: InputSerialization | undefined; + + /** + *

                                                                                                                                                                                            The type of the provided expression (for example, SQL).

                                                                                                                                                                                            + */ + ExpressionType: ExpressionType | string | undefined; + + /** + *

                                                                                                                                                                                            The expression that is used to query the object.

                                                                                                                                                                                            + */ + Expression: string | undefined; + + /** + *

                                                                                                                                                                                            Describes how the results of the Select job are serialized.

                                                                                                                                                                                            + */ + OutputSerialization: OutputSerialization | undefined; +} + +export namespace SelectParameters { + export const filterSensitiveLog = (obj: SelectParameters): any => ({ + ...obj, + }); +} + export enum RestoreRequestType { SELECT = "SELECT", } @@ -21,30 +305,27 @@ export enum RestoreRequestType { *

                                                                                                                                                                                            Container for restore job parameters.

                                                                                                                                                                                            */ export interface RestoreRequest { - /** - *

                                                                                                                                                                                            S3 Glacier related parameters pertaining to this job. Do not use with restores that specify - * OutputLocation.

                                                                                                                                                                                            - */ - GlacierJobParameters?: GlacierJobParameters; - /** *

                                                                                                                                                                                            Lifetime of the active copy in days. Do not use with restores that specify * OutputLocation.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The Days element is required for regular restores, and must not be provided for select + * requests.

                                                                                                                                                                                            */ Days?: number; /** - *

                                                                                                                                                                                            Describes the location where the restore job's output is stored.

                                                                                                                                                                                            + *

                                                                                                                                                                                            S3 Glacier related parameters pertaining to this job. Do not use with restores that + * specify OutputLocation.

                                                                                                                                                                                            */ - OutputLocation?: OutputLocation; + GlacierJobParameters?: GlacierJobParameters; /** - *

                                                                                                                                                                                            Describes the parameters for Select job types.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Type of restore request.

                                                                                                                                                                                            */ - SelectParameters?: SelectParameters; + Type?: RestoreRequestType | string; /** - *

                                                                                                                                                                                            S3 Glacier retrieval tier at which the restore will be processed.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Retrieval tier at which the restore will be processed.

                                                                                                                                                                                            */ Tier?: Tier | string; @@ -54,9 +335,14 @@ export interface RestoreRequest { Description?: string; /** - *

                                                                                                                                                                                            Type of restore request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Describes the parameters for Select job types.

                                                                                                                                                                                            */ - Type?: RestoreRequestType | string; + SelectParameters?: SelectParameters; + + /** + *

                                                                                                                                                                                            Describes the location where the restore job's output is stored.

                                                                                                                                                                                            + */ + OutputLocation?: OutputLocation; } export namespace RestoreRequest { @@ -68,17 +354,16 @@ export namespace RestoreRequest { export interface RestoreObjectRequest { /** - *

                                                                                                                                                                                            Container for restore job parameters.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The bucket name containing the object to restore.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            */ - RestoreRequest?: RestoreRequest; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Object key for which the operation was initiated.

                                                                                                                                                                                            */ - RequestPayer?: RequestPayer | string; + Key: string | undefined; /** *

                                                                                                                                                                                            VersionId used to reference a specific version of the object.

                                                                                                                                                                                            @@ -86,16 +371,17 @@ export interface RestoreObjectRequest { VersionId?: string; /** - *

                                                                                                                                                                                            Object key for which the operation was initiated.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container for restore job parameters.

                                                                                                                                                                                            */ - Key: string | undefined; + RestoreRequest?: RestoreRequest; /** - *

                                                                                                                                                                                            The bucket name or containing the object to restore.

                                                                                                                                                                                            - *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            - *

                                                                                                                                                                                            When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                            */ - Bucket: string | undefined; + RequestPayer?: RequestPayer | string; /** *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            @@ -122,7 +408,9 @@ export namespace ContinuationEvent { } /** - *

                                                                                                                                                                                            A message that indicates the request is complete and no more messages will be sent. You should not assume that the request is complete until the client receives an EndEvent.

                                                                                                                                                                                            + *

                                                                                                                                                                                            A message that indicates the request is complete and no more messages will be sent. You + * should not assume that the request is complete until the client receives an + * EndEvent.

                                                                                                                                                                                            */ export interface EndEvent {} @@ -194,11 +482,6 @@ export namespace RecordsEvent { *

                                                                                                                                                                                            Container for the stats details.

                                                                                                                                                                                            */ export interface Stats { - /** - *

                                                                                                                                                                                            The total number of bytes of records payload data returned.

                                                                                                                                                                                            - */ - BytesReturned?: number; - /** *

                                                                                                                                                                                            The total number of object bytes scanned.

                                                                                                                                                                                            */ @@ -208,6 +491,11 @@ export interface Stats { *

                                                                                                                                                                                            The total number of uncompressed object bytes processed.

                                                                                                                                                                                            */ BytesProcessed?: number; + + /** + *

                                                                                                                                                                                            The total number of bytes of records payload data returned.

                                                                                                                                                                                            + */ + BytesReturned?: number; } export namespace Stats { @@ -245,98 +533,98 @@ export type SelectObjectContentEventStream = export namespace SelectObjectContentEventStream { /** - *

                                                                                                                                                                                            The Continuation Event.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The Records Event.

                                                                                                                                                                                            */ - export interface ContMember { - Cont: ContinuationEvent; - Progress?: never; + export interface RecordsMember { + Records: RecordsEvent; Stats?: never; + Progress?: never; + Cont?: never; End?: never; - Records?: never; $unknown?: never; } /** - *

                                                                                                                                                                                            The Progress Event.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The Stats Event.

                                                                                                                                                                                            */ - export interface ProgressMember { + export interface StatsMember { + Records?: never; + Stats: StatsEvent; + Progress?: never; Cont?: never; - Progress: ProgressEvent; - Stats?: never; End?: never; - Records?: never; $unknown?: never; } /** - *

                                                                                                                                                                                            The Stats Event.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The Progress Event.

                                                                                                                                                                                            */ - export interface StatsMember { + export interface ProgressMember { + Records?: never; + Stats?: never; + Progress: ProgressEvent; Cont?: never; - Progress?: never; - Stats: StatsEvent; End?: never; - Records?: never; $unknown?: never; } /** - *

                                                                                                                                                                                            The End Event.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The Continuation Event.

                                                                                                                                                                                            */ - export interface EndMember { - Cont?: never; - Progress?: never; - Stats?: never; - End: EndEvent; + export interface ContMember { Records?: never; + Stats?: never; + Progress?: never; + Cont: ContinuationEvent; + End?: never; $unknown?: never; } /** - *

                                                                                                                                                                                            The Records Event.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The End Event.

                                                                                                                                                                                            */ - export interface RecordsMember { - Cont?: never; - Progress?: never; + export interface EndMember { + Records?: never; Stats?: never; - End?: never; - Records: RecordsEvent; + Progress?: never; + Cont?: never; + End: EndEvent; $unknown?: never; } export interface $UnknownMember { - Cont?: never; - Progress?: never; + Records?: never; Stats?: never; + Progress?: never; + Cont?: never; End?: never; - Records?: never; $unknown: [string, any]; } export interface Visitor { - Cont: (value: ContinuationEvent) => T; - Progress: (value: ProgressEvent) => T; + Records: (value: RecordsEvent) => T; Stats: (value: StatsEvent) => T; + Progress: (value: ProgressEvent) => T; + Cont: (value: ContinuationEvent) => T; End: (value: EndEvent) => T; - Records: (value: RecordsEvent) => T; _: (name: string, value: any) => T; } export const visit = (value: SelectObjectContentEventStream, visitor: Visitor): T => { - if (value.Cont !== undefined) return visitor.Cont(value.Cont); - if (value.Progress !== undefined) return visitor.Progress(value.Progress); + if (value.Records !== undefined) return visitor.Records(value.Records); if (value.Stats !== undefined) return visitor.Stats(value.Stats); + if (value.Progress !== undefined) return visitor.Progress(value.Progress); + if (value.Cont !== undefined) return visitor.Cont(value.Cont); if (value.End !== undefined) return visitor.End(value.End); - if (value.Records !== undefined) return visitor.Records(value.Records); return visitor._(value.$unknown[0], value.$unknown[1]); }; export const filterSensitiveLog = (obj: SelectObjectContentEventStream): any => { - if (obj.Cont !== undefined) return { Cont: ContinuationEvent.filterSensitiveLog(obj.Cont) }; - if (obj.Progress !== undefined) return { Progress: ProgressEvent.filterSensitiveLog(obj.Progress) }; + if (obj.Records !== undefined) return { Records: RecordsEvent.filterSensitiveLog(obj.Records) }; if (obj.Stats !== undefined) return { Stats: StatsEvent.filterSensitiveLog(obj.Stats) }; + if (obj.Progress !== undefined) return { Progress: ProgressEvent.filterSensitiveLog(obj.Progress) }; + if (obj.Cont !== undefined) return { Cont: ContinuationEvent.filterSensitiveLog(obj.Cont) }; if (obj.End !== undefined) return { End: EndEvent.filterSensitiveLog(obj.End) }; - if (obj.Records !== undefined) return { Records: RecordsEvent.filterSensitiveLog(obj.Records) }; if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" }; }; } @@ -361,7 +649,8 @@ export namespace SelectObjectContentOutput { */ export interface RequestProgress { /** - *

                                                                                                                                                                                            Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE, FALSE. Default value: FALSE.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE, + * FALSE. Default value: FALSE.

                                                                                                                                                                                            */ Enabled?: boolean; } @@ -373,24 +662,30 @@ export namespace RequestProgress { } /** - *

                                                                                                                                                                                            Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, - * but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the byte range of the object to get the records from. A record is processed + * when its first byte is contained by the range. This parameter is optional, but when + * specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the + * start and end of the range.

                                                                                                                                                                                            */ export interface ScanRange { /** - *

                                                                                                                                                                                            Specifies the end of the byte range. This parameter is optional. Valid values: non-negative - * integers. The default value is one less than the size of the object being queried. If only - * the End parameter is supplied, it is interpreted to mean scan the last N bytes of the file. - * For example, 50 - * means scan the last 50 bytes.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the start of the byte range. This parameter is optional. Valid values: + * non-negative integers. The default value is 0. If only start is supplied, it means scan + * from that point to the end of the file.For example; + * 50 means scan + * from byte 50 until the end of the file.

                                                                                                                                                                                            */ - End?: number; + Start?: number; /** - *

                                                                                                                                                                                            Specifies the start of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is 0. - * If only start is supplied, it means scan from that point to the end of the file.For example; 50 means scan from byte 50 until the end of the file.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the end of the byte range. This parameter is optional. Valid values: + * non-negative integers. The default value is one less than the size of the object being + * queried. If only the End parameter is supplied, it is interpreted to mean scan the last N + * bytes of the file. For example, + * 50 means scan the + * last 50 bytes.

                                                                                                                                                                                            */ - Start?: number; + End?: number; } export namespace ScanRange { @@ -401,13 +696,18 @@ export namespace ScanRange { /** *

                                                                                                                                                                                            Request to filter the contents of an Amazon S3 object based on a simple Structured Query - * Language (SQL) statement. In the request, along with the SQL expression, you must specify a - * data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object - * data into records. It returns only records that match the specified SQL expression. You must - * also specify the data serialization format for the response. For more information, see S3Select API - * Documentation.

                                                                                                                                                                                            + * Language (SQL) statement. In the request, along with the SQL expression, you must specify a + * data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data + * into records. It returns only records that match the specified SQL expression. You must + * also specify the data serialization format for the response. For more information, see + * S3Select API Documentation.

                                                                                                                                                                                            */ export interface SelectObjectContentRequest { + /** + *

                                                                                                                                                                                            The S3 bucket.

                                                                                                                                                                                            + */ + Bucket: string | undefined; + /** *

                                                                                                                                                                                            The object key.

                                                                                                                                                                                            */ @@ -418,32 +718,12 @@ export interface SelectObjectContentRequest { */ SSECustomerAlgorithm?: string; - /** - *

                                                                                                                                                                                            Describes the format of the data that you want Amazon S3 to return in response.

                                                                                                                                                                                            - */ - OutputSerialization: OutputSerialization | undefined; - /** *

                                                                                                                                                                                            The SSE Customer Key. For more information, see Server-Side Encryption * (Using Customer-Provided Encryption Keys.

                                                                                                                                                                                            */ SSECustomerKey?: string; - /** - *

                                                                                                                                                                                            The type of the provided expression (for example, SQL).

                                                                                                                                                                                            - */ - ExpressionType: ExpressionType | string | undefined; - - /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            - */ - ExpectedBucketOwner?: string; - - /** - *

                                                                                                                                                                                            Describes the format of the data in the object that is being queried.

                                                                                                                                                                                            - */ - InputSerialization: InputSerialization | undefined; - /** *

                                                                                                                                                                                            The SSE Customer Key MD5. For more information, see Server-Side Encryption * (Using Customer-Provided Encryption Keys.

                                                                                                                                                                                            @@ -456,9 +736,9 @@ export interface SelectObjectContentRequest { Expression: string | undefined; /** - *

                                                                                                                                                                                            The S3 bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The type of the provided expression (for example, SQL).

                                                                                                                                                                                            */ - Bucket: string | undefined; + ExpressionType: ExpressionType | string | undefined; /** *

                                                                                                                                                                                            Specifies if periodic request progress information should be enabled.

                                                                                                                                                                                            @@ -466,26 +746,47 @@ export interface SelectObjectContentRequest { RequestProgress?: RequestProgress; /** - *

                                                                                                                                                                                            Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, - * but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Describes the format of the data in the object that is being queried.

                                                                                                                                                                                            + */ + InputSerialization: InputSerialization | undefined; + + /** + *

                                                                                                                                                                                            Describes the format of the data that you want Amazon S3 to return in response.

                                                                                                                                                                                            + */ + OutputSerialization: OutputSerialization | undefined; + + /** + *

                                                                                                                                                                                            Specifies the byte range of the object to get the records from. A record is processed + * when its first byte is contained by the range. This parameter is optional, but when + * specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the + * start and end of the range.

                                                                                                                                                                                            *

                                                                                                                                                                                            * ScanRangemay be used in the following ways:

                                                                                                                                                                                            *
                                                                                                                                                                                              *
                                                                                                                                                                                            • *

                                                                                                                                                                                              - * 50100 - process only the records starting between the bytes 50 and 100 (inclusive, counting from zero)

                                                                                                                                                                                              + * 50100 + * - process only the records starting between the bytes 50 and 100 (inclusive, counting + * from zero)

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            • *

                                                                                                                                                                                              - * 50 - process only the records starting after the byte 50

                                                                                                                                                                                              + * 50 - + * process only the records starting after the byte 50

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            • *

                                                                                                                                                                                              - * 50 - process only the records within the last 50 bytes of the file.

                                                                                                                                                                                              + * 50 - + * process only the records within the last 50 bytes of the file.

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            */ ScanRange?: ScanRange; + + /** + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + */ + ExpectedBucketOwner?: string; } export namespace SelectObjectContentRequest { @@ -496,13 +797,6 @@ export namespace SelectObjectContentRequest { } export interface UploadPartOutput { - /** - *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the response - * will include this header to provide round-trip message integrity verification of the - * customer-provided encryption key.

                                                                                                                                                                                            - */ - SSECustomerKeyMD5?: string; - /** *

                                                                                                                                                                                            The server-side encryption algorithm used when storing this object in Amazon S3 (for example, * AES256, aws:kms).

                                                                                                                                                                                            @@ -510,25 +804,34 @@ export interface UploadPartOutput { ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                            If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key - * (CMK) was used for the object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Entity tag for the uploaded object.

                                                                                                                                                                                            */ - SSEKMSKeyId?: string; + ETag?: string; /** - *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                            */ SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header to provide round-trip message integrity verification of + * the customer-provided encryption key.

                                                                                                                                                                                            */ - RequestCharged?: RequestCharged | string; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                            Entity tag for the uploaded object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric + * customer managed customer master key (CMK) was used for the object.

                                                                                                                                                                                            */ - ETag?: string; + SSEKMSKeyId?: string; + + /** + *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                            + */ + RequestCharged?: RequestCharged | string; } export namespace UploadPartOutput { @@ -539,64 +842,61 @@ export namespace UploadPartOutput { } export interface UploadPartRequest { - /** - *

                                                                                                                                                                                            Part number of part being uploaded. This is a positive integer between 1 and 10,000.

                                                                                                                                                                                            - */ - PartNumber: number | undefined; - /** *

                                                                                                                                                                                            Object data.

                                                                                                                                                                                            */ Body?: Readable | ReadableStream | Blob; /** - *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            */ - ExpectedBucketOwner?: string; + Bucket: string | undefined; /** - *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Size of the body in bytes. This parameter is useful when the size of the body cannot be + * determined automatically.

                                                                                                                                                                                            */ - RequestPayer?: RequestPayer | string; + ContentLength?: number; /** - *

                                                                                                                                                                                            Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated + * when using the command from the CLI. This parameter is required if object lock parameters + * are specified.

                                                                                                                                                                                            */ - ContentLength?: number; + ContentMD5?: string; /** - *

                                                                                                                                                                                            Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This - * value is used to store the object and then it is discarded; Amazon S3 does not store the - * encryption key. The key must be appropriate for use with the algorithm specified in the - * x-amz-server-side-encryption-customer-algorithm header. This must be the - * same encryption key specified in the initiate multipart upload request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Object key for which the multipart upload was initiated.

                                                                                                                                                                                            */ - SSECustomerKey?: string; + Key: string | undefined; /** - *

                                                                                                                                                                                            The name of the bucket to which the multipart upload was initiated.

                                                                                                                                                                                            - *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            - *

                                                                                                                                                                                            When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Part number of part being uploaded. This is a positive integer between 1 and + * 10,000.

                                                                                                                                                                                            */ - Bucket: string | undefined; + PartNumber: number | undefined; /** - *

                                                                                                                                                                                            Object key for which the multipart upload was initiated.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Upload ID identifying the multipart upload whose part is being uploaded.

                                                                                                                                                                                            */ - Key: string | undefined; + UploadId: string | undefined; /** - *

                                                                                                                                                                                            Specifies the algorithm to use to when encrypting the object (for example, AES256).

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the algorithm to use to when encrypting the object (for example, + * AES256).

                                                                                                                                                                                            */ SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                            Upload ID identifying the multipart upload whose part is being uploaded.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This + * value is used to store the object and then it is discarded; Amazon S3 does not store the + * encryption key. The key must be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header. This must be the + * same encryption key specified in the initiate multipart upload request.

                                                                                                                                                                                            */ - UploadId: string | undefined; + SSECustomerKey?: string; /** *

                                                                                                                                                                                            Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses @@ -606,11 +906,17 @@ export interface UploadPartRequest { SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                            The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated when - * using the command from the CLI. This parameter is required if object lock parameters are - * specified.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                            */ - ContentMD5?: string; + RequestPayer?: RequestPayer | string; + + /** + *

                                                                                                                                                                                            The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            + */ + ExpectedBucketOwner?: string; } export namespace UploadPartRequest { @@ -643,43 +949,46 @@ export namespace CopyPartResult { export interface UploadPartCopyOutput { /** - *

                                                                                                                                                                                            The version of the source object that was copied, if you have enabled versioning on the source bucket.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The version of the source object that was copied, if you have enabled versioning on the + * source bucket.

                                                                                                                                                                                            */ CopySourceVersionId?: string; /** - *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Container for all response elements.

                                                                                                                                                                                            */ - SSECustomerAlgorithm?: string; + CopyPartResult?: CopyPartResult; /** - *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the response - * will include this header to provide round-trip message integrity verification of the - * customer-provided encryption key.

                                                                                                                                                                                            + *

                                                                                                                                                                                            The server-side encryption algorithm used when storing this object in Amazon S3 (for example, + * AES256, aws:kms).

                                                                                                                                                                                            */ - SSECustomerKeyMD5?: string; + ServerSideEncryption?: ServerSideEncryption | string; /** - *

                                                                                                                                                                                            Container for all response elements.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header confirming the encryption algorithm used.

                                                                                                                                                                                            */ - CopyPartResult?: CopyPartResult; + SSECustomerAlgorithm?: string; /** - *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the request.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If server-side encryption with a customer-provided encryption key was requested, the + * response will include this header to provide round-trip message integrity verification of + * the customer-provided encryption key.

                                                                                                                                                                                            */ - RequestCharged?: RequestCharged | string; + SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                            If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key - * (CMK) that was used for the object.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric + * customer managed customer master key (CMK) that was used for the object.

                                                                                                                                                                                            */ SSEKMSKeyId?: string; /** - *

                                                                                                                                                                                            The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).

                                                                                                                                                                                            + *

                                                                                                                                                                                            If present, indicates that the requester was successfully charged for the + * request.

                                                                                                                                                                                            */ - ServerSideEncryption?: ServerSideEncryption | string; + RequestCharged?: RequestCharged | string; } export namespace UploadPartCopyOutput { @@ -690,46 +999,6 @@ export namespace UploadPartCopyOutput { } export interface UploadPartCopyRequest { - /** - *

                                                                                                                                                                                            Upload ID identifying the multipart upload whose part is being copied.

                                                                                                                                                                                            - */ - UploadId: string | undefined; - - /** - *

                                                                                                                                                                                            Confirms that the requester knows that they will be charged for the request. Bucket - * owners need not specify this parameter in their requests. For information about downloading - * objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the - * Amazon S3 Developer Guide.

                                                                                                                                                                                            - */ - RequestPayer?: RequestPayer | string; - - /** - *

                                                                                                                                                                                            The range of bytes to copy from the source object. The range value must use the form - * bytes=first-last, where the first and last are the zero-based byte offsets to copy. For - * example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You - * can copy a range only if the source object is greater than 5 MB.

                                                                                                                                                                                            - */ - CopySourceRange?: string; - - /** - *

                                                                                                                                                                                            Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This - * value is used to store the object and then it is discarded; Amazon S3 does not store the - * encryption key. The key must be appropriate for use with the algorithm specified in the - * x-amz-server-side-encryption-customer-algorithm header. This must be the - * same encryption key specified in the initiate multipart upload request.

                                                                                                                                                                                            - */ - SSECustomerKey?: string; - - /** - *

                                                                                                                                                                                            Specifies the algorithm to use to when encrypting the object (for example, AES256).

                                                                                                                                                                                            - */ - SSECustomerAlgorithm?: string; - - /** - *

                                                                                                                                                                                            Copies the object if its entity tag (ETag) matches the specified tag.

                                                                                                                                                                                            - */ - CopySourceIfMatch?: string; - /** *

                                                                                                                                                                                            The bucket name.

                                                                                                                                                                                            *

                                                                                                                                                                                            When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

                                                                                                                                                                                            @@ -738,22 +1007,17 @@ export interface UploadPartCopyRequest { Bucket: string | undefined; /** - *

                                                                                                                                                                                            The account id of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                            - */ - ExpectedBucketOwner?: string; - - /** - *

                                                                                                                                                                                            Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.

                                                                                                                                                                                            - */ - CopySourceSSECustomerKey?: string; - - /** - *

                                                                                                                                                                                            Specifies the source object for the copy operation. You specify the value in one of two formats, depending on whether you want - * to access the source object through an access point:

                                                                                                                                                                                            + *

                                                                                                                                                                                            Specifies the source object for the copy operation. You specify the value in one of two + * formats, depending on whether you want to access the source object through an access + * point:

                                                                                                                                                                                            *
                                                                                                                                                                                              *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              For objects not accessed through an access point, specify the name of the source bucket and key of the source object, separated by a slash (/). - * For example, to copy the object reports/january.pdf from the bucket awsexamplebucket, use awsexamplebucket/reports/january.pdf. The value must be URL encoded.

                                                                                                                                                                                              + *

                                                                                                                                                                                              For objects not accessed through an access point, specify the name of the source + * bucket and key of the source object, separated by a slash (/). For example, to copy + * the object reports/january.pdf from the bucket + * awsexamplebucket, use + * awsexamplebucket/reports/january.pdf. The value must be URL + * encoded.

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            • *

                                                                                                                                                                                              For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format arn:aws:s3:::accesspoint//object/. For example, to copy the object reports/january.pdf through access point my-access-point owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf. The value must be URL encoded.

                                                                                                                                                                                              @@ -772,9 +1036,9 @@ export interface UploadPartCopyRequest { CopySource: string | undefined; /** - *

                                                                                                                                                                                              Part number of part being copied. This is a positive integer between 1 and 10,000.

                                                                                                                                                                                              + *

                                                                                                                                                                                              Copies the object if its entity tag (ETag) matches the specified tag.

                                                                                                                                                                                              */ - PartNumber: number | undefined; + CopySourceIfMatch?: string; /** *

                                                                                                                                                                                              Copies the object if it has been modified since the specified time.

                                                                                                                                                                                              @@ -782,9 +1046,22 @@ export interface UploadPartCopyRequest { CopySourceIfModifiedSince?: Date; /** - *

                                                                                                                                                                                              Specifies the algorithm to use when decrypting the source object (for example, AES256).

                                                                                                                                                                                              + *

                                                                                                                                                                                              Copies the object if its entity tag (ETag) is different than the specified ETag.

                                                                                                                                                                                              */ - CopySourceSSECustomerAlgorithm?: string; + CopySourceIfNoneMatch?: string; + + /** + *

                                                                                                                                                                                              Copies the object if it hasn't been modified since the specified time.

                                                                                                                                                                                              + */ + CopySourceIfUnmodifiedSince?: Date; + + /** + *

                                                                                                                                                                                              The range of bytes to copy from the source object. The range value must use the form + * bytes=first-last, where the first and last are the zero-based byte offsets to copy. For + * example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You + * can copy a range only if the source object is greater than 5 MB.

                                                                                                                                                                                              + */ + CopySourceRange?: string; /** *

                                                                                                                                                                                              Object key for which the multipart upload was initiated.

                                                                                                                                                                                              @@ -792,14 +1069,30 @@ export interface UploadPartCopyRequest { Key: string | undefined; /** - *

                                                                                                                                                                                              Copies the object if it hasn't been modified since the specified time.

                                                                                                                                                                                              + *

                                                                                                                                                                                              Part number of part being copied. This is a positive integer between 1 and + * 10,000.

                                                                                                                                                                                              */ - CopySourceIfUnmodifiedSince?: Date; + PartNumber: number | undefined; /** - *

                                                                                                                                                                                              The account id of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                              + *

                                                                                                                                                                                              Upload ID identifying the multipart upload whose part is being copied.

                                                                                                                                                                                              */ - ExpectedSourceBucketOwner?: string; + UploadId: string | undefined; + + /** + *

                                                                                                                                                                                              Specifies the algorithm to use to when encrypting the object (for example, + * AES256).

                                                                                                                                                                                              + */ + SSECustomerAlgorithm?: string; + + /** + *

                                                                                                                                                                                              Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This + * value is used to store the object and then it is discarded; Amazon S3 does not store the + * encryption key. The key must be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header. This must be the + * same encryption key specified in the initiate multipart upload request.

                                                                                                                                                                                              + */ + SSECustomerKey?: string; /** *

                                                                                                                                                                                              Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses @@ -809,9 +1102,17 @@ export interface UploadPartCopyRequest { SSECustomerKeyMD5?: string; /** - *

                                                                                                                                                                                              Copies the object if its entity tag (ETag) is different than the specified ETag.

                                                                                                                                                                                              + *

                                                                                                                                                                                              Specifies the algorithm to use when decrypting the source object (for example, + * AES256).

                                                                                                                                                                                              */ - CopySourceIfNoneMatch?: string; + CopySourceSSECustomerAlgorithm?: string; + + /** + *

                                                                                                                                                                                              Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source + * object. The encryption key provided in this header must be one that was used when the + * source object was created.

                                                                                                                                                                                              + */ + CopySourceSSECustomerKey?: string; /** *

                                                                                                                                                                                              Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses @@ -819,6 +1120,24 @@ export interface UploadPartCopyRequest { * without error.

                                                                                                                                                                                              */ CopySourceSSECustomerKeyMD5?: string; + + /** + *

                                                                                                                                                                                              Confirms that the requester knows that they will be charged for the request. Bucket + * owners need not specify this parameter in their requests. For information about downloading + * objects from requester pays buckets, see Downloading Objects in + * Requestor Pays Buckets in the Amazon S3 Developer Guide.

                                                                                                                                                                                              + */ + RequestPayer?: RequestPayer | string; + + /** + *

                                                                                                                                                                                              The account id of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                              + */ + ExpectedBucketOwner?: string; + + /** + *

                                                                                                                                                                                              The account id of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

                                                                                                                                                                                              + */ + ExpectedSourceBucketOwner?: string; } export namespace UploadPartCopyRequest { diff --git a/clients/client-s3/pagination/ListObjectsV2Paginator.ts b/clients/client-s3/pagination/ListObjectsV2Paginator.ts index 47f78c3d3b7a..51f21bacec9c 100644 --- a/clients/client-s3/pagination/ListObjectsV2Paginator.ts +++ b/clients/client-s3/pagination/ListObjectsV2Paginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectsV2Command(input), ...args); + return await client.send(new ListObjectsV2Command(input, ...args)); }; const makePagedRequest = async ( client: S3, diff --git a/clients/client-s3/pagination/ListPartsPaginator.ts b/clients/client-s3/pagination/ListPartsPaginator.ts new file mode 100644 index 000000000000..9bde67c66a9e --- /dev/null +++ b/clients/client-s3/pagination/ListPartsPaginator.ts @@ -0,0 +1,47 @@ +import { S3 } from "../S3"; +import { S3Client } from "../S3Client"; +import { ListPartsCommand, ListPartsCommandInput, ListPartsCommandOutput } from "../commands/ListPartsCommand"; +import { S3PaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: S3Client, + input: ListPartsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListPartsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: S3, + input: ListPartsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listParts(input, ...args); +}; +export async function* listPartsPaginate( + config: S3PaginationConfiguration, + input: ListPartsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListPartsCommandOutput; + while (hasNext) { + input.PartNumberMarker = token; + input["MaxParts"] = config.pageSize; + if (config.client instanceof S3) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof S3Client) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected S3 | S3Client"); + } + yield page; + token = page.NextPartNumberMarker; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-s3/protocols/Aws_restXml.ts b/clients/client-s3/protocols/Aws_restXml.ts index f1067b68c817..85f187e3058f 100644 --- a/clients/client-s3/protocols/Aws_restXml.ts +++ b/clients/client-s3/protocols/Aws_restXml.ts @@ -22,6 +22,10 @@ import { DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, } from "../commands/DeleteBucketEncryptionCommand"; +import { + DeleteBucketIntelligentTieringConfigurationCommandInput, + DeleteBucketIntelligentTieringConfigurationCommandOutput, +} from "../commands/DeleteBucketIntelligentTieringConfigurationCommand"; import { DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput, @@ -75,6 +79,10 @@ import { GetBucketEncryptionCommandInput, GetBucketEncryptionCommandOutput, } from "../commands/GetBucketEncryptionCommand"; +import { + GetBucketIntelligentTieringConfigurationCommandInput, + GetBucketIntelligentTieringConfigurationCommandOutput, +} from "../commands/GetBucketIntelligentTieringConfigurationCommand"; import { GetBucketInventoryConfigurationCommandInput, GetBucketInventoryConfigurationCommandOutput, @@ -136,6 +144,10 @@ import { ListBucketAnalyticsConfigurationsCommandInput, ListBucketAnalyticsConfigurationsCommandOutput, } from "../commands/ListBucketAnalyticsConfigurationsCommand"; +import { + ListBucketIntelligentTieringConfigurationsCommandInput, + ListBucketIntelligentTieringConfigurationsCommandOutput, +} from "../commands/ListBucketIntelligentTieringConfigurationsCommand"; import { ListBucketInventoryConfigurationsCommandInput, ListBucketInventoryConfigurationsCommandOutput, @@ -167,6 +179,10 @@ import { PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput, } from "../commands/PutBucketEncryptionCommand"; +import { + PutBucketIntelligentTieringConfigurationCommandInput, + PutBucketIntelligentTieringConfigurationCommandOutput, +} from "../commands/PutBucketIntelligentTieringConfigurationCommand"; import { PutBucketInventoryConfigurationCommandInput, PutBucketInventoryConfigurationCommandOutput, @@ -240,8 +256,6 @@ import { BucketLoggingStatus, CORSConfiguration, CORSRule, - CSVInput, - CSVOutput, CommonPrefix, CompletedMultipartUpload, CompletedPart, @@ -265,7 +279,10 @@ import { Grantee, IndexDocument, Initiator, - InputSerialization, + IntelligentTieringAndOperator, + IntelligentTieringConfiguration, + IntelligentTieringFilter, + InvalidObjectState, InventoryConfiguration, InventoryDestination, InventoryEncryption, @@ -273,8 +290,6 @@ import { InventoryOptionalField, InventoryS3BucketDestination, InventorySchedule, - JSONInput, - JSONOutput, LambdaFunctionConfiguration, LifecycleExpiration, LifecycleRule, @@ -302,12 +317,9 @@ import { ObjectLockRule, ObjectNotInActiveTierError, ObjectVersion, - OutputLocation, - OutputSerialization, Owner, OwnershipControls, OwnershipControlsRule, - ParquetInput, Part, PolicyStatus, PublicAccessBlockConfiguration, @@ -326,7 +338,6 @@ import { S3Location, SSEKMS, SSES3, - SelectParameters, ServerSideEncryptionByDefault, ServerSideEncryptionConfiguration, ServerSideEncryptionRule, @@ -337,6 +348,7 @@ import { Tag, Tagging, TargetGrant, + Tiering, TopicConfiguration, Transition, VersioningConfiguration, @@ -345,15 +357,24 @@ import { _Object, } from "../models/models_0"; import { + CSVInput, + CSVOutput, ContinuationEvent, CopyPartResult, EndEvent, + InputSerialization, + JSONInput, + JSONOutput, + OutputLocation, + OutputSerialization, + ParquetInput, ProgressEvent, RecordsEvent, RequestProgress, RestoreRequest, ScanRange, SelectObjectContentEventStream, + SelectParameters, StatsEvent, } from "../models/models_1"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; @@ -386,6 +407,15 @@ export const serializeAws_restXmlAbortMultipartUploadCommand = async ( }), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -401,15 +431,6 @@ export const serializeAws_restXmlAbortMultipartUploadCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { "x-id": "AbortMultipartUpload", ...(input.UploadId !== undefined && { uploadId: input.UploadId }), @@ -434,12 +455,21 @@ export const serializeAws_restXmlCompleteMultipartUploadCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -455,15 +485,6 @@ export const serializeAws_restXmlCompleteMultipartUploadCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { ...(input.UploadId !== undefined && { uploadId: input.UploadId }), }; @@ -494,37 +515,54 @@ export const serializeAws_restXmlCopyObjectCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", - ...(isSerializableHeaderValue(input.Tagging) && { "x-amz-tagging": input.Tagging! }), - ...(isSerializableHeaderValue(input.SSEKMSEncryptionContext) && { - "x-amz-server-side-encryption-context": input.SSEKMSEncryptionContext!, - }), ...(isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL! }), - ...(isSerializableHeaderValue(input.Expires) && { Expires: __dateToUtcString(input.Expires!).toString() }), - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + ...(isSerializableHeaderValue(input.CacheControl) && { "Cache-Control": input.CacheControl! }), + ...(isSerializableHeaderValue(input.ContentDisposition) && { "Content-Disposition": input.ContentDisposition! }), + ...(isSerializableHeaderValue(input.ContentEncoding) && { "Content-Encoding": input.ContentEncoding! }), + ...(isSerializableHeaderValue(input.ContentLanguage) && { "Content-Language": input.ContentLanguage! }), + ...(isSerializableHeaderValue(input.ContentType) && { "Content-Type": input.ContentType! }), + ...(isSerializableHeaderValue(input.CopySource) && { "x-amz-copy-source": input.CopySource! }), + ...(isSerializableHeaderValue(input.CopySourceIfMatch) && { + "x-amz-copy-source-if-match": input.CopySourceIfMatch!, }), ...(isSerializableHeaderValue(input.CopySourceIfModifiedSince) && { "x-amz-copy-source-if-modified-since": __dateToUtcString(input.CopySourceIfModifiedSince!).toString(), }), - ...(isSerializableHeaderValue(input.ContentDisposition) && { "Content-Disposition": input.ContentDisposition! }), - ...(isSerializableHeaderValue(input.SSECustomerKey) && { - "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, + ...(isSerializableHeaderValue(input.CopySourceIfNoneMatch) && { + "x-amz-copy-source-if-none-match": input.CopySourceIfNoneMatch!, }), + ...(isSerializableHeaderValue(input.CopySourceIfUnmodifiedSince) && { + "x-amz-copy-source-if-unmodified-since": __dateToUtcString(input.CopySourceIfUnmodifiedSince!).toString(), + }), + ...(isSerializableHeaderValue(input.Expires) && { Expires: __dateToUtcString(input.Expires!).toString() }), + ...(isSerializableHeaderValue(input.GrantFullControl) && { "x-amz-grant-full-control": input.GrantFullControl! }), + ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), + ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), + ...(isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP! }), + ...(isSerializableHeaderValue(input.MetadataDirective) && { "x-amz-metadata-directive": input.MetadataDirective! }), + ...(isSerializableHeaderValue(input.TaggingDirective) && { "x-amz-tagging-directive": input.TaggingDirective! }), + ...(isSerializableHeaderValue(input.ServerSideEncryption) && { + "x-amz-server-side-encryption": input.ServerSideEncryption!, + }), + ...(isSerializableHeaderValue(input.StorageClass) && { "x-amz-storage-class": input.StorageClass! }), ...(isSerializableHeaderValue(input.WebsiteRedirectLocation) && { "x-amz-website-redirect-location": input.WebsiteRedirectLocation!, }), - ...(isSerializableHeaderValue(input.ObjectLockRetainUntilDate) && { - "x-amz-object-lock-retain-until-date": ( - input.ObjectLockRetainUntilDate!.toISOString().split(".")[0] + "Z" - ).toString(), + ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { + "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, }), - ...(isSerializableHeaderValue(input.ContentLanguage) && { "Content-Language": input.ContentLanguage! }), - ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), - ...(isSerializableHeaderValue(input.ObjectLockLegalHoldStatus) && { - "x-amz-object-lock-legal-hold": input.ObjectLockLegalHoldStatus!, + ...(isSerializableHeaderValue(input.SSECustomerKey) && { + "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, + }), + ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { + "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, + }), + ...(isSerializableHeaderValue(input.SSEKMSKeyId) && { + "x-amz-server-side-encryption-aws-kms-key-id": input.SSEKMSKeyId!, + }), + ...(isSerializableHeaderValue(input.SSEKMSEncryptionContext) && { + "x-amz-server-side-encryption-context": input.SSEKMSEncryptionContext!, }), - ...(isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP! }), - ...(isSerializableHeaderValue(input.CopySource) && { "x-amz-copy-source": input.CopySource! }), ...(isSerializableHeaderValue(input.CopySourceSSECustomerAlgorithm) && { "x-amz-copy-source-server-side-encryption-customer-algorithm": input.CopySourceSSECustomerAlgorithm!, }), @@ -534,40 +572,23 @@ export const serializeAws_restXmlCopyObjectCommand = async ( ...(isSerializableHeaderValue(input.CopySourceSSECustomerKeyMD5) && { "x-amz-copy-source-server-side-encryption-customer-key-MD5": input.CopySourceSSECustomerKeyMD5!, }), - ...(isSerializableHeaderValue(input.CacheControl) && { "Cache-Control": input.CacheControl! }), - ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), - ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { - "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, - }), - ...(isSerializableHeaderValue(input.TaggingDirective) && { "x-amz-tagging-directive": input.TaggingDirective! }), - ...(isSerializableHeaderValue(input.ContentEncoding) && { "Content-Encoding": input.ContentEncoding! }), - ...(isSerializableHeaderValue(input.CopySourceIfUnmodifiedSince) && { - "x-amz-copy-source-if-unmodified-since": __dateToUtcString(input.CopySourceIfUnmodifiedSince!).toString(), - }), - ...(isSerializableHeaderValue(input.ContentType) && { "Content-Type": input.ContentType! }), - ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { - "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, + ...(isSerializableHeaderValue(input.Tagging) && { "x-amz-tagging": input.Tagging! }), + ...(isSerializableHeaderValue(input.ObjectLockMode) && { "x-amz-object-lock-mode": input.ObjectLockMode! }), + ...(isSerializableHeaderValue(input.ObjectLockRetainUntilDate) && { + "x-amz-object-lock-retain-until-date": ( + input.ObjectLockRetainUntilDate!.toISOString().split(".")[0] + "Z" + ).toString(), }), - ...(isSerializableHeaderValue(input.CopySourceIfMatch) && { - "x-amz-copy-source-if-match": input.CopySourceIfMatch!, + ...(isSerializableHeaderValue(input.ObjectLockLegalHoldStatus) && { + "x-amz-object-lock-legal-hold": input.ObjectLockLegalHoldStatus!, }), - ...(isSerializableHeaderValue(input.ObjectLockMode) && { "x-amz-object-lock-mode": input.ObjectLockMode! }), - ...(isSerializableHeaderValue(input.SSEKMSKeyId) && { - "x-amz-server-side-encryption-aws-kms-key-id": input.SSEKMSKeyId!, + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), ...(isSerializableHeaderValue(input.ExpectedSourceBucketOwner) && { "x-amz-source-expected-bucket-owner": input.ExpectedSourceBucketOwner!, }), - ...(isSerializableHeaderValue(input.ServerSideEncryption) && { - "x-amz-server-side-encryption": input.ServerSideEncryption!, - }), - ...(isSerializableHeaderValue(input.MetadataDirective) && { "x-amz-metadata-directive": input.MetadataDirective! }), - ...(isSerializableHeaderValue(input.GrantFullControl) && { "x-amz-grant-full-control": input.GrantFullControl! }), - ...(isSerializableHeaderValue(input.CopySourceIfNoneMatch) && { - "x-amz-copy-source-if-none-match": input.CopySourceIfNoneMatch!, - }), - ...(isSerializableHeaderValue(input.StorageClass) && { "x-amz-storage-class": input.StorageClass! }), ...(input.Metadata !== undefined && Object.keys(input.Metadata).reduce((acc: any, suffix: string) => { acc["x-amz-meta-" + suffix] = input.Metadata![suffix]; @@ -575,6 +596,15 @@ export const serializeAws_restXmlCopyObjectCommand = async ( }, {})), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -590,15 +620,6 @@ export const serializeAws_restXmlCopyObjectCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { "x-id": "CopyObject", }; @@ -622,15 +643,15 @@ export const serializeAws_restXmlCreateBucketCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", - ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), - ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), ...(isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL! }), - ...(isSerializableHeaderValue(input.GrantWrite) && { "x-amz-grant-write": input.GrantWrite! }), ...(isSerializableHeaderValue(input.GrantFullControl) && { "x-amz-grant-full-control": input.GrantFullControl! }), + ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), + ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), + ...(isSerializableHeaderValue(input.GrantWrite) && { "x-amz-grant-write": input.GrantWrite! }), + ...(isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP! }), ...(isSerializableHeaderValue(input.ObjectLockEnabledForBucket) && { "x-amz-bucket-object-lock-enabled": input.ObjectLockEnabledForBucket!.toString(), }), - ...(isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -668,53 +689,53 @@ export const serializeAws_restXmlCreateMultipartUploadCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", + ...(isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL! }), + ...(isSerializableHeaderValue(input.CacheControl) && { "Cache-Control": input.CacheControl! }), + ...(isSerializableHeaderValue(input.ContentDisposition) && { "Content-Disposition": input.ContentDisposition! }), + ...(isSerializableHeaderValue(input.ContentEncoding) && { "Content-Encoding": input.ContentEncoding! }), + ...(isSerializableHeaderValue(input.ContentLanguage) && { "Content-Language": input.ContentLanguage! }), + ...(isSerializableHeaderValue(input.ContentType) && { "Content-Type": input.ContentType! }), + ...(isSerializableHeaderValue(input.Expires) && { Expires: __dateToUtcString(input.Expires!).toString() }), ...(isSerializableHeaderValue(input.GrantFullControl) && { "x-amz-grant-full-control": input.GrantFullControl! }), - ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { - "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, - }), - ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { - "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, - }), - ...(isSerializableHeaderValue(input.SSEKMSKeyId) && { - "x-amz-server-side-encryption-aws-kms-key-id": input.SSEKMSKeyId!, - }), - ...(isSerializableHeaderValue(input.ObjectLockLegalHoldStatus) && { - "x-amz-object-lock-legal-hold": input.ObjectLockLegalHoldStatus!, - }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), + ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), ...(isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP! }), + ...(isSerializableHeaderValue(input.ServerSideEncryption) && { + "x-amz-server-side-encryption": input.ServerSideEncryption!, + }), + ...(isSerializableHeaderValue(input.StorageClass) && { "x-amz-storage-class": input.StorageClass! }), ...(isSerializableHeaderValue(input.WebsiteRedirectLocation) && { "x-amz-website-redirect-location": input.WebsiteRedirectLocation!, }), - ...(isSerializableHeaderValue(input.ContentType) && { "Content-Type": input.ContentType! }), - ...(isSerializableHeaderValue(input.ContentLanguage) && { "Content-Language": input.ContentLanguage! }), - ...(isSerializableHeaderValue(input.CacheControl) && { "Cache-Control": input.CacheControl! }), - ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), - ...(isSerializableHeaderValue(input.Tagging) && { "x-amz-tagging": input.Tagging! }), - ...(isSerializableHeaderValue(input.SSEKMSEncryptionContext) && { - "x-amz-server-side-encryption-context": input.SSEKMSEncryptionContext!, + ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { + "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, }), - ...(isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL! }), ...(isSerializableHeaderValue(input.SSECustomerKey) && { "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, }), - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { + "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, }), - ...(isSerializableHeaderValue(input.Expires) && { Expires: __dateToUtcString(input.Expires!).toString() }), + ...(isSerializableHeaderValue(input.SSEKMSKeyId) && { + "x-amz-server-side-encryption-aws-kms-key-id": input.SSEKMSKeyId!, + }), + ...(isSerializableHeaderValue(input.SSEKMSEncryptionContext) && { + "x-amz-server-side-encryption-context": input.SSEKMSEncryptionContext!, + }), + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), + ...(isSerializableHeaderValue(input.Tagging) && { "x-amz-tagging": input.Tagging! }), + ...(isSerializableHeaderValue(input.ObjectLockMode) && { "x-amz-object-lock-mode": input.ObjectLockMode! }), ...(isSerializableHeaderValue(input.ObjectLockRetainUntilDate) && { "x-amz-object-lock-retain-until-date": ( input.ObjectLockRetainUntilDate!.toISOString().split(".")[0] + "Z" ).toString(), }), - ...(isSerializableHeaderValue(input.ServerSideEncryption) && { - "x-amz-server-side-encryption": input.ServerSideEncryption!, + ...(isSerializableHeaderValue(input.ObjectLockLegalHoldStatus) && { + "x-amz-object-lock-legal-hold": input.ObjectLockLegalHoldStatus!, + }), + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.ContentDisposition) && { "Content-Disposition": input.ContentDisposition! }), - ...(isSerializableHeaderValue(input.ObjectLockMode) && { "x-amz-object-lock-mode": input.ObjectLockMode! }), - ...(isSerializableHeaderValue(input.StorageClass) && { "x-amz-storage-class": input.StorageClass! }), - ...(isSerializableHeaderValue(input.ContentEncoding) && { "Content-Encoding": input.ContentEncoding! }), ...(input.Metadata !== undefined && Object.keys(input.Metadata).reduce((acc: any, suffix: string) => { acc["x-amz-meta-" + suffix] = input.Metadata![suffix]; @@ -908,15 +929,12 @@ export const serializeAws_restXmlDeleteBucketEncryptionCommand = async ( }); }; -export const serializeAws_restXmlDeleteBucketInventoryConfigurationCommand = async ( - input: DeleteBucketInventoryConfigurationCommandInput, +export const serializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommand = async ( + input: DeleteBucketIntelligentTieringConfigurationCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, - }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -929,7 +947,7 @@ export const serializeAws_restXmlDeleteBucketInventoryConfigurationCommand = asy throw new Error("No value provided for input HTTP label: Bucket."); } const query: any = { - inventory: "", + "intelligent-tiering": "", ...(input.Id !== undefined && { id: input.Id }), }; let body: any; @@ -946,8 +964,8 @@ export const serializeAws_restXmlDeleteBucketInventoryConfigurationCommand = asy }); }; -export const serializeAws_restXmlDeleteBucketLifecycleCommand = async ( - input: DeleteBucketLifecycleCommandInput, +export const serializeAws_restXmlDeleteBucketInventoryConfigurationCommand = async ( + input: DeleteBucketInventoryConfigurationCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const headers: any = { @@ -967,7 +985,8 @@ export const serializeAws_restXmlDeleteBucketLifecycleCommand = async ( throw new Error("No value provided for input HTTP label: Bucket."); } const query: any = { - lifecycle: "", + inventory: "", + ...(input.Id !== undefined && { id: input.Id }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -983,9 +1002,46 @@ export const serializeAws_restXmlDeleteBucketLifecycleCommand = async ( }); }; -export const serializeAws_restXmlDeleteBucketMetricsConfigurationCommand = async ( - input: DeleteBucketMetricsConfigurationCommandInput, - context: __SerdeContext +export const serializeAws_restXmlDeleteBucketLifecycleCommand = async ( + input: DeleteBucketLifecycleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + }), + }; + let resolvedPath = "/{Bucket}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } + const query: any = { + lifecycle: "", + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restXmlDeleteBucketMetricsConfigurationCommand = async ( + input: DeleteBucketMetricsConfigurationCommandInput, + context: __SerdeContext ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", @@ -1213,13 +1269,13 @@ export const serializeAws_restXmlDeleteObjectCommand = async ( const headers: any = { "Content-Type": "", ...(isSerializableHeaderValue(input.MFA) && { "x-amz-mfa": input.MFA! }), - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, - }), + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.BypassGovernanceRetention) && { "x-amz-bypass-governance-retention": input.BypassGovernanceRetention!.toString(), }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + }), }; let resolvedPath = "/{Bucket}/{Key+}"; if (input.Bucket !== undefined) { @@ -1271,13 +1327,13 @@ export const serializeAws_restXmlDeleteObjectsCommand = async ( const headers: any = { "Content-Type": "application/xml", ...(isSerializableHeaderValue(input.MFA) && { "x-amz-mfa": input.MFA! }), + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.BypassGovernanceRetention) && { "x-amz-bypass-governance-retention": input.BypassGovernanceRetention!.toString(), }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -1590,6 +1646,42 @@ export const serializeAws_restXmlGetBucketEncryptionCommand = async ( }); }; +export const serializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand = async ( + input: GetBucketIntelligentTieringConfigurationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/{Bucket}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } + const query: any = { + "intelligent-tiering": "", + "x-id": "GetBucketIntelligentTieringConfiguration", + ...(input.Id !== undefined && { id: input.Id }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + export const serializeAws_restXmlGetBucketInventoryConfigurationCommand = async ( input: GetBucketInventoryConfigurationCommandInput, context: __SerdeContext @@ -2118,12 +2210,21 @@ export const serializeAws_restXmlGetObjectCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", - ...(isSerializableHeaderValue(input.SSECustomerKey) && { - "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, + ...(isSerializableHeaderValue(input.IfMatch) && { "If-Match": input.IfMatch! }), + ...(isSerializableHeaderValue(input.IfModifiedSince) && { + "If-Modified-Since": __dateToUtcString(input.IfModifiedSince!).toString(), + }), + ...(isSerializableHeaderValue(input.IfNoneMatch) && { "If-None-Match": input.IfNoneMatch! }), + ...(isSerializableHeaderValue(input.IfUnmodifiedSince) && { + "If-Unmodified-Since": __dateToUtcString(input.IfUnmodifiedSince!).toString(), }), + ...(isSerializableHeaderValue(input.Range) && { Range: input.Range! }), ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, }), + ...(isSerializableHeaderValue(input.SSECustomerKey) && { + "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, + }), ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, }), @@ -2131,15 +2232,6 @@ export const serializeAws_restXmlGetObjectCommand = async ( ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.IfUnmodifiedSince) && { - "If-Unmodified-Since": __dateToUtcString(input.IfUnmodifiedSince!).toString(), - }), - ...(isSerializableHeaderValue(input.IfModifiedSince) && { - "If-Modified-Since": __dateToUtcString(input.IfModifiedSince!).toString(), - }), - ...(isSerializableHeaderValue(input.IfNoneMatch) && { "If-None-Match": input.IfNoneMatch! }), - ...(isSerializableHeaderValue(input.IfMatch) && { "If-Match": input.IfMatch! }), - ...(isSerializableHeaderValue(input.Range) && { Range: input.Range! }), }; let resolvedPath = "/{Bucket}/{Key+}"; if (input.Bucket !== undefined) { @@ -2168,18 +2260,18 @@ export const serializeAws_restXmlGetObjectCommand = async ( } const query: any = { "x-id": "GetObject", - ...(input.ResponseContentEncoding !== undefined && { "response-content-encoding": input.ResponseContentEncoding }), ...(input.ResponseCacheControl !== undefined && { "response-cache-control": input.ResponseCacheControl }), - ...(input.ResponseContentLanguage !== undefined && { "response-content-language": input.ResponseContentLanguage }), ...(input.ResponseContentDisposition !== undefined && { "response-content-disposition": input.ResponseContentDisposition, }), - ...(input.PartNumber !== undefined && { partNumber: input.PartNumber.toString() }), - ...(input.VersionId !== undefined && { versionId: input.VersionId }), + ...(input.ResponseContentEncoding !== undefined && { "response-content-encoding": input.ResponseContentEncoding }), + ...(input.ResponseContentLanguage !== undefined && { "response-content-language": input.ResponseContentLanguage }), + ...(input.ResponseContentType !== undefined && { "response-content-type": input.ResponseContentType }), ...(input.ResponseExpires !== undefined && { "response-expires": (input.ResponseExpires.toISOString().split(".")[0] + "Z").toString(), }), - ...(input.ResponseContentType !== undefined && { "response-content-type": input.ResponseContentType }), + ...(input.VersionId !== undefined && { versionId: input.VersionId }), + ...(input.PartNumber !== undefined && { partNumber: input.PartNumber.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2201,12 +2293,21 @@ export const serializeAws_restXmlGetObjectAclCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -2222,15 +2323,6 @@ export const serializeAws_restXmlGetObjectAclCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { acl: "", ...(input.VersionId !== undefined && { versionId: input.VersionId }), @@ -2261,6 +2353,15 @@ export const serializeAws_restXmlGetObjectLegalHoldCommand = async ( }), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -2276,15 +2377,6 @@ export const serializeAws_restXmlGetObjectLegalHoldCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { "legal-hold": "", ...(input.VersionId !== undefined && { versionId: input.VersionId }), @@ -2346,12 +2438,21 @@ export const serializeAws_restXmlGetObjectRetentionCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -2367,15 +2468,6 @@ export const serializeAws_restXmlGetObjectRetentionCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { retention: "", ...(input.VersionId !== undefined && { versionId: input.VersionId }), @@ -2576,28 +2668,28 @@ export const serializeAws_restXmlHeadObjectCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", - ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { - "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, - }), - ...(isSerializableHeaderValue(input.SSECustomerKey) && { - "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, + ...(isSerializableHeaderValue(input.IfMatch) && { "If-Match": input.IfMatch! }), + ...(isSerializableHeaderValue(input.IfModifiedSince) && { + "If-Modified-Since": __dateToUtcString(input.IfModifiedSince!).toString(), }), - ...(isSerializableHeaderValue(input.Range) && { Range: input.Range! }), ...(isSerializableHeaderValue(input.IfNoneMatch) && { "If-None-Match": input.IfNoneMatch! }), ...(isSerializableHeaderValue(input.IfUnmodifiedSince) && { "If-Unmodified-Since": __dateToUtcString(input.IfUnmodifiedSince!).toString(), }), - ...(isSerializableHeaderValue(input.IfModifiedSince) && { - "If-Modified-Since": __dateToUtcString(input.IfModifiedSince!).toString(), + ...(isSerializableHeaderValue(input.Range) && { Range: input.Range! }), + ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { + "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, }), - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + ...(isSerializableHeaderValue(input.SSECustomerKey) && { + "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, }), ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, }), - ...(isSerializableHeaderValue(input.IfMatch) && { "If-Match": input.IfMatch! }), ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + }), }; let resolvedPath = "/{Bucket}/{Key+}"; if (input.Bucket !== undefined) { @@ -2625,8 +2717,8 @@ export const serializeAws_restXmlHeadObjectCommand = async ( throw new Error("No value provided for input HTTP label: Key."); } const query: any = { - ...(input.PartNumber !== undefined && { partNumber: input.PartNumber.toString() }), ...(input.VersionId !== undefined && { versionId: input.VersionId }), + ...(input.PartNumber !== undefined && { partNumber: input.PartNumber.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2681,6 +2773,42 @@ export const serializeAws_restXmlListBucketAnalyticsConfigurationsCommand = asyn }); }; +export const serializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand = async ( + input: ListBucketIntelligentTieringConfigurationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/{Bucket}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } + const query: any = { + "intelligent-tiering": "", + "x-id": "ListBucketIntelligentTieringConfigurations", + ...(input.ContinuationToken !== undefined && { "continuation-token": input.ContinuationToken }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + export const serializeAws_restXmlListBucketInventoryConfigurationsCommand = async ( input: ListBucketInventoryConfigurationsCommandInput, context: __SerdeContext @@ -2803,12 +2931,12 @@ export const serializeAws_restXmlListMultipartUploadsCommand = async ( } const query: any = { uploads: "", - ...(input.UploadIdMarker !== undefined && { "upload-id-marker": input.UploadIdMarker }), - ...(input.Prefix !== undefined && { prefix: input.Prefix }), ...(input.Delimiter !== undefined && { delimiter: input.Delimiter }), - ...(input.MaxUploads !== undefined && { "max-uploads": input.MaxUploads.toString() }), - ...(input.KeyMarker !== undefined && { "key-marker": input.KeyMarker }), ...(input.EncodingType !== undefined && { "encoding-type": input.EncodingType }), + ...(input.KeyMarker !== undefined && { "key-marker": input.KeyMarker }), + ...(input.MaxUploads !== undefined && { "max-uploads": input.MaxUploads.toString() }), + ...(input.Prefix !== undefined && { prefix: input.Prefix }), + ...(input.UploadIdMarker !== undefined && { "upload-id-marker": input.UploadIdMarker }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2830,10 +2958,10 @@ export const serializeAws_restXmlListObjectsCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -2846,11 +2974,11 @@ export const serializeAws_restXmlListObjectsCommand = async ( throw new Error("No value provided for input HTTP label: Bucket."); } const query: any = { - ...(input.MaxKeys !== undefined && { "max-keys": input.MaxKeys.toString() }), - ...(input.Marker !== undefined && { marker: input.Marker }), - ...(input.Prefix !== undefined && { prefix: input.Prefix }), ...(input.Delimiter !== undefined && { delimiter: input.Delimiter }), ...(input.EncodingType !== undefined && { "encoding-type": input.EncodingType }), + ...(input.Marker !== undefined && { marker: input.Marker }), + ...(input.MaxKeys !== undefined && { "max-keys": input.MaxKeys.toString() }), + ...(input.Prefix !== undefined && { prefix: input.Prefix }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2872,10 +3000,10 @@ export const serializeAws_restXmlListObjectsV2Command = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -2889,13 +3017,13 @@ export const serializeAws_restXmlListObjectsV2Command = async ( } const query: any = { "list-type": "2", - ...(input.ContinuationToken !== undefined && { "continuation-token": input.ContinuationToken }), - ...(input.FetchOwner !== undefined && { "fetch-owner": input.FetchOwner.toString() }), + ...(input.Delimiter !== undefined && { delimiter: input.Delimiter }), ...(input.EncodingType !== undefined && { "encoding-type": input.EncodingType }), + ...(input.MaxKeys !== undefined && { "max-keys": input.MaxKeys.toString() }), ...(input.Prefix !== undefined && { prefix: input.Prefix }), + ...(input.ContinuationToken !== undefined && { "continuation-token": input.ContinuationToken }), + ...(input.FetchOwner !== undefined && { "fetch-owner": input.FetchOwner.toString() }), ...(input.StartAfter !== undefined && { "start-after": input.StartAfter }), - ...(input.Delimiter !== undefined && { delimiter: input.Delimiter }), - ...(input.MaxKeys !== undefined && { "max-keys": input.MaxKeys.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2933,12 +3061,12 @@ export const serializeAws_restXmlListObjectVersionsCommand = async ( } const query: any = { versions: "", + ...(input.Delimiter !== undefined && { delimiter: input.Delimiter }), + ...(input.EncodingType !== undefined && { "encoding-type": input.EncodingType }), ...(input.KeyMarker !== undefined && { "key-marker": input.KeyMarker }), ...(input.MaxKeys !== undefined && { "max-keys": input.MaxKeys.toString() }), - ...(input.Delimiter !== undefined && { delimiter: input.Delimiter }), - ...(input.VersionIdMarker !== undefined && { "version-id-marker": input.VersionIdMarker }), ...(input.Prefix !== undefined && { prefix: input.Prefix }), - ...(input.EncodingType !== undefined && { "encoding-type": input.EncodingType }), + ...(input.VersionIdMarker !== undefined && { "version-id-marker": input.VersionIdMarker }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -2992,9 +3120,9 @@ export const serializeAws_restXmlListPartsCommand = async ( } const query: any = { "x-id": "ListParts", - ...(input.UploadId !== undefined && { uploadId: input.UploadId }), ...(input.MaxParts !== undefined && { "max-parts": input.MaxParts.toString() }), - ...(input.PartNumberMarker !== undefined && { "part-number-marker": input.PartNumberMarker.toString() }), + ...(input.PartNumberMarker !== undefined && { "part-number-marker": input.PartNumberMarker }), + ...(input.UploadId !== undefined && { uploadId: input.UploadId }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -3060,13 +3188,13 @@ export const serializeAws_restXmlPutBucketAclCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL! }), + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.GrantFullControl) && { "x-amz-grant-full-control": input.GrantFullControl! }), + ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), ...(isSerializableHeaderValue(input.GrantWrite) && { "x-amz-grant-write": input.GrantWrite! }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), - ...(isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL! }), ...(isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP! }), - ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), @@ -3201,10 +3329,10 @@ export const serializeAws_restXmlPutBucketEncryptionCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -3240,6 +3368,48 @@ export const serializeAws_restXmlPutBucketEncryptionCommand = async ( }); }; +export const serializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand = async ( + input: PutBucketIntelligentTieringConfigurationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/xml", + }; + let resolvedPath = "/{Bucket}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } + const query: any = { + "intelligent-tiering": "", + ...(input.Id !== undefined && { id: input.Id }), + }; + let body: any; + let contents: any; + if (input.IntelligentTieringConfiguration !== undefined) { + contents = serializeAws_restXmlIntelligentTieringConfiguration(input.IntelligentTieringConfiguration, context); + body = ''; + contents.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); + body += contents.toString(); + } + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + query, + body, + }); +}; + export const serializeAws_restXmlPutBucketInventoryConfigurationCommand = async ( input: PutBucketInventoryConfigurationCommandInput, context: __SerdeContext @@ -3335,10 +3505,10 @@ export const serializeAws_restXmlPutBucketLoggingCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -3513,14 +3683,14 @@ export const serializeAws_restXmlPutBucketPolicyCommand = async ( context: __SerdeContext ): Promise<__HttpRequest> => { const headers: any = { - "Content-Type": "application/xml", - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, - }), + "Content-Type": "text/plain", ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.ConfirmRemoveSelfBucketAccess) && { "x-amz-confirm-remove-self-bucket-access": input.ConfirmRemoveSelfBucketAccess!.toString(), }), + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -3536,14 +3706,11 @@ export const serializeAws_restXmlPutBucketPolicyCommand = async ( policy: "", }; let body: any; - body = ''; - const bodyNode = new __XmlNode("PutBucketPolicyRequest"); - bodyNode.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); + let contents: any; if (input.Policy !== undefined) { - const node = new __XmlNode("Policy").addChildNode(new __XmlText(input.Policy)).withName("Policy"); - bodyNode.addChildNode(node); + contents = input.Policy; + body = contents; } - body += bodyNode.toString(); const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ protocol, @@ -3563,11 +3730,11 @@ export const serializeAws_restXmlPutBucketReplicationCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.Token) && { "x-amz-bucket-object-lock-token": input.Token! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -3654,10 +3821,10 @@ export const serializeAws_restXmlPutBucketTaggingCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -3745,10 +3912,10 @@ export const serializeAws_restXmlPutBucketWebsiteCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -3790,55 +3957,55 @@ export const serializeAws_restXmlPutObjectCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/octet-stream", - ...(isSerializableHeaderValue(input.GrantFullControl) && { "x-amz-grant-full-control": input.GrantFullControl! }), + ...(isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL! }), + ...(isSerializableHeaderValue(input.CacheControl) && { "Cache-Control": input.CacheControl! }), + ...(isSerializableHeaderValue(input.ContentDisposition) && { "Content-Disposition": input.ContentDisposition! }), ...(isSerializableHeaderValue(input.ContentEncoding) && { "Content-Encoding": input.ContentEncoding! }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), + ...(isSerializableHeaderValue(input.ContentLanguage) && { "Content-Language": input.ContentLanguage! }), + ...(isSerializableHeaderValue(input.ContentLength) && { "Content-Length": input.ContentLength!.toString() }), + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), + ...(isSerializableHeaderValue(input.ContentType) && { "Content-Type": input.ContentType! }), + ...(isSerializableHeaderValue(input.Expires) && { Expires: __dateToUtcString(input.Expires!).toString() }), + ...(isSerializableHeaderValue(input.GrantFullControl) && { "x-amz-grant-full-control": input.GrantFullControl! }), + ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), - ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { - "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, + ...(isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP! }), + ...(isSerializableHeaderValue(input.ServerSideEncryption) && { + "x-amz-server-side-encryption": input.ServerSideEncryption!, }), - ...(isSerializableHeaderValue(input.CacheControl) && { "Cache-Control": input.CacheControl! }), + ...(isSerializableHeaderValue(input.StorageClass) && { "x-amz-storage-class": input.StorageClass! }), ...(isSerializableHeaderValue(input.WebsiteRedirectLocation) && { "x-amz-website-redirect-location": input.WebsiteRedirectLocation!, }), - ...(isSerializableHeaderValue(input.ObjectLockLegalHoldStatus) && { - "x-amz-object-lock-legal-hold": input.ObjectLockLegalHoldStatus!, - }), - ...(isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP! }), - ...(isSerializableHeaderValue(input.ContentLength) && { "Content-Length": input.ContentLength!.toString() }), - ...(isSerializableHeaderValue(input.ObjectLockRetainUntilDate) && { - "x-amz-object-lock-retain-until-date": ( - input.ObjectLockRetainUntilDate!.toISOString().split(".")[0] + "Z" - ).toString(), - }), ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, }), - ...(isSerializableHeaderValue(input.ContentDisposition) && { "Content-Disposition": input.ContentDisposition! }), ...(isSerializableHeaderValue(input.SSECustomerKey) && { "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, }), + ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { + "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, + }), + ...(isSerializableHeaderValue(input.SSEKMSKeyId) && { + "x-amz-server-side-encryption-aws-kms-key-id": input.SSEKMSKeyId!, + }), ...(isSerializableHeaderValue(input.SSEKMSEncryptionContext) && { "x-amz-server-side-encryption-context": input.SSEKMSEncryptionContext!, }), + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.Tagging) && { "x-amz-tagging": input.Tagging! }), - ...(isSerializableHeaderValue(input.Expires) && { Expires: __dateToUtcString(input.Expires!).toString() }), - ...(isSerializableHeaderValue(input.StorageClass) && { "x-amz-storage-class": input.StorageClass! }), - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + ...(isSerializableHeaderValue(input.ObjectLockMode) && { "x-amz-object-lock-mode": input.ObjectLockMode! }), + ...(isSerializableHeaderValue(input.ObjectLockRetainUntilDate) && { + "x-amz-object-lock-retain-until-date": ( + input.ObjectLockRetainUntilDate!.toISOString().split(".")[0] + "Z" + ).toString(), }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), - ...(isSerializableHeaderValue(input.ServerSideEncryption) && { - "x-amz-server-side-encryption": input.ServerSideEncryption!, + ...(isSerializableHeaderValue(input.ObjectLockLegalHoldStatus) && { + "x-amz-object-lock-legal-hold": input.ObjectLockLegalHoldStatus!, }), - ...(isSerializableHeaderValue(input.ObjectLockMode) && { "x-amz-object-lock-mode": input.ObjectLockMode! }), - ...(isSerializableHeaderValue(input.SSEKMSKeyId) && { - "x-amz-server-side-encryption-aws-kms-key-id": input.SSEKMSKeyId!, + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.ContentLanguage) && { "Content-Language": input.ContentLanguage! }), - ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), - ...(isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL! }), - ...(isSerializableHeaderValue(input.ContentType) && { "Content-Type": input.ContentType! }), ...(input.Metadata !== undefined && Object.keys(input.Metadata).reduce((acc: any, suffix: string) => { acc["x-amz-meta-" + suffix] = input.Metadata![suffix]; @@ -3898,19 +4065,28 @@ export const serializeAws_restXmlPutObjectAclCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL! }), - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, - }), ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.GrantFullControl) && { "x-amz-grant-full-control": input.GrantFullControl! }), - ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), ...(isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead! }), + ...(isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP! }), ...(isSerializableHeaderValue(input.GrantWrite) && { "x-amz-grant-write": input.GrantWrite! }), ...(isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP! }), + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + }), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -3926,15 +4102,6 @@ export const serializeAws_restXmlPutObjectAclCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { acl: "", ...(input.VersionId !== undefined && { versionId: input.VersionId }), @@ -3966,11 +4133,11 @@ export const serializeAws_restXmlPutObjectLegalHoldCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), }; let resolvedPath = "/{Bucket}/{Key+}"; if (input.Bucket !== undefined) { @@ -4028,8 +4195,8 @@ export const serializeAws_restXmlPutObjectLockConfigurationCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", - ...(isSerializableHeaderValue(input.Token) && { "x-amz-bucket-object-lock-token": input.Token! }), ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), + ...(isSerializableHeaderValue(input.Token) && { "x-amz-bucket-object-lock-token": input.Token! }), ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, @@ -4076,15 +4243,24 @@ export const serializeAws_restXmlPutObjectRetentionCommand = async ( const headers: any = { "Content-Type": "application/xml", ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, - }), ...(isSerializableHeaderValue(input.BypassGovernanceRetention) && { "x-amz-bypass-governance-retention": input.BypassGovernanceRetention!.toString(), }), ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + }), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -4100,15 +4276,6 @@ export const serializeAws_restXmlPutObjectRetentionCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { retention: "", ...(input.VersionId !== undefined && { versionId: input.VersionId }), @@ -4140,10 +4307,10 @@ export const serializeAws_restXmlPutObjectTaggingCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), }; let resolvedPath = "/{Bucket}/{Key+}"; if (input.Bucket !== undefined) { @@ -4201,10 +4368,10 @@ export const serializeAws_restXmlPutPublicAccessBlockCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/xml", + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), }; let resolvedPath = "/{Bucket}"; if (input.Bucket !== undefined) { @@ -4252,6 +4419,15 @@ export const serializeAws_restXmlRestoreObjectCommand = async ( }), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -4267,15 +4443,6 @@ export const serializeAws_restXmlRestoreObjectCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { restore: "", ...(input.VersionId !== undefined && { versionId: input.VersionId }), @@ -4313,14 +4480,23 @@ export const serializeAws_restXmlSelectObjectContentCommand = async ( ...(isSerializableHeaderValue(input.SSECustomerKey) && { "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, }), - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, - }), ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, }), + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + }), }; let resolvedPath = "/{Bucket}/{Key+}"; + if (input.Bucket !== undefined) { + const labelValue: string = input.Bucket; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Bucket."); + } + resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Bucket."); + } if (input.Key !== undefined) { const labelValue: string = input.Key; if (labelValue.length <= 0) { @@ -4336,15 +4512,6 @@ export const serializeAws_restXmlSelectObjectContentCommand = async ( } else { throw new Error("No value provided for input HTTP label: Key."); } - if (input.Bucket !== undefined) { - const labelValue: string = input.Bucket; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: Bucket."); - } - resolvedPath = resolvedPath.replace("{Bucket}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: Bucket."); - } const query: any = { select: "", "select-type": "2", @@ -4403,21 +4570,21 @@ export const serializeAws_restXmlUploadPartCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "application/octet-stream", - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, - }), - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), ...(isSerializableHeaderValue(input.ContentLength) && { "Content-Length": input.ContentLength!.toString() }), - ...(isSerializableHeaderValue(input.SSECustomerKey) && { - "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, - }), + ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, }), + ...(isSerializableHeaderValue(input.SSECustomerKey) && { + "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, + }), ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, }), - ...(isSerializableHeaderValue(input.ContentMD5) && { "Content-MD5": input.ContentMD5! }), + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + }), }; let resolvedPath = "/{Bucket}/{Key+}"; if (input.Bucket !== undefined) { @@ -4474,45 +4641,45 @@ export const serializeAws_restXmlUploadPartCopyCommand = async ( ): Promise<__HttpRequest> => { const headers: any = { "Content-Type": "", - ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), - ...(isSerializableHeaderValue(input.CopySourceRange) && { "x-amz-copy-source-range": input.CopySourceRange! }), - ...(isSerializableHeaderValue(input.SSECustomerKey) && { - "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, - }), - ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { - "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, - }), + ...(isSerializableHeaderValue(input.CopySource) && { "x-amz-copy-source": input.CopySource! }), ...(isSerializableHeaderValue(input.CopySourceIfMatch) && { "x-amz-copy-source-if-match": input.CopySourceIfMatch!, }), - ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { - "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, - }), - ...(isSerializableHeaderValue(input.CopySourceSSECustomerKey) && { - "x-amz-copy-source-server-side-encryption-customer-key": input.CopySourceSSECustomerKey!, - }), - ...(isSerializableHeaderValue(input.CopySource) && { "x-amz-copy-source": input.CopySource! }), ...(isSerializableHeaderValue(input.CopySourceIfModifiedSince) && { "x-amz-copy-source-if-modified-since": __dateToUtcString(input.CopySourceIfModifiedSince!).toString(), }), - ...(isSerializableHeaderValue(input.CopySourceSSECustomerAlgorithm) && { - "x-amz-copy-source-server-side-encryption-customer-algorithm": input.CopySourceSSECustomerAlgorithm!, + ...(isSerializableHeaderValue(input.CopySourceIfNoneMatch) && { + "x-amz-copy-source-if-none-match": input.CopySourceIfNoneMatch!, }), ...(isSerializableHeaderValue(input.CopySourceIfUnmodifiedSince) && { "x-amz-copy-source-if-unmodified-since": __dateToUtcString(input.CopySourceIfUnmodifiedSince!).toString(), }), - ...(isSerializableHeaderValue(input.ExpectedSourceBucketOwner) && { - "x-amz-source-expected-bucket-owner": input.ExpectedSourceBucketOwner!, + ...(isSerializableHeaderValue(input.CopySourceRange) && { "x-amz-copy-source-range": input.CopySourceRange! }), + ...(isSerializableHeaderValue(input.SSECustomerAlgorithm) && { + "x-amz-server-side-encryption-customer-algorithm": input.SSECustomerAlgorithm!, + }), + ...(isSerializableHeaderValue(input.SSECustomerKey) && { + "x-amz-server-side-encryption-customer-key": input.SSECustomerKey!, }), ...(isSerializableHeaderValue(input.SSECustomerKeyMD5) && { "x-amz-server-side-encryption-customer-key-MD5": input.SSECustomerKeyMD5!, }), - ...(isSerializableHeaderValue(input.CopySourceIfNoneMatch) && { - "x-amz-copy-source-if-none-match": input.CopySourceIfNoneMatch!, + ...(isSerializableHeaderValue(input.CopySourceSSECustomerAlgorithm) && { + "x-amz-copy-source-server-side-encryption-customer-algorithm": input.CopySourceSSECustomerAlgorithm!, + }), + ...(isSerializableHeaderValue(input.CopySourceSSECustomerKey) && { + "x-amz-copy-source-server-side-encryption-customer-key": input.CopySourceSSECustomerKey!, }), ...(isSerializableHeaderValue(input.CopySourceSSECustomerKeyMD5) && { "x-amz-copy-source-server-side-encryption-customer-key-MD5": input.CopySourceSSECustomerKeyMD5!, }), + ...(isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer! }), + ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && { + "x-amz-expected-bucket-owner": input.ExpectedBucketOwner!, + }), + ...(isSerializableHeaderValue(input.ExpectedSourceBucketOwner) && { + "x-amz-source-expected-bucket-owner": input.ExpectedSourceBucketOwner!, + }), }; let resolvedPath = "/{Bucket}/{Key+}"; if (input.Bucket !== undefined) { @@ -4541,8 +4708,8 @@ export const serializeAws_restXmlUploadPartCopyCommand = async ( } const query: any = { "x-id": "UploadPartCopy", - ...(input.UploadId !== undefined && { uploadId: input.UploadId }), ...(input.PartNumber !== undefined && { partNumber: input.PartNumber.toString() }), + ...(input.UploadId !== undefined && { uploadId: input.UploadId }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -4638,12 +4805,12 @@ export const deserializeAws_restXmlCompleteMultipartUploadCommand = async ( if (output.headers["x-amz-server-side-encryption"] !== undefined) { contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; } - if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { - contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; - } if (output.headers["x-amz-version-id"] !== undefined) { contents.VersionId = output.headers["x-amz-version-id"]; } + if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { + contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; + } if (output.headers["x-amz-request-charged"] !== undefined) { contents.RequestCharged = output.headers["x-amz-request-charged"]; } @@ -4712,33 +4879,33 @@ export const deserializeAws_restXmlCopyObjectCommand = async ( ServerSideEncryption: undefined, VersionId: undefined, }; - if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { - contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; - } if (output.headers["x-amz-expiration"] !== undefined) { contents.Expiration = output.headers["x-amz-expiration"]; } + if (output.headers["x-amz-copy-source-version-id"] !== undefined) { + contents.CopySourceVersionId = output.headers["x-amz-copy-source-version-id"]; + } if (output.headers["x-amz-version-id"] !== undefined) { contents.VersionId = output.headers["x-amz-version-id"]; } + if (output.headers["x-amz-server-side-encryption"] !== undefined) { + contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; + } if (output.headers["x-amz-server-side-encryption-customer-algorithm"] !== undefined) { contents.SSECustomerAlgorithm = output.headers["x-amz-server-side-encryption-customer-algorithm"]; } - if (output.headers["x-amz-copy-source-version-id"] !== undefined) { - contents.CopySourceVersionId = output.headers["x-amz-copy-source-version-id"]; + if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { + contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; + } + if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { + contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; } if (output.headers["x-amz-server-side-encryption-context"] !== undefined) { contents.SSEKMSEncryptionContext = output.headers["x-amz-server-side-encryption-context"]; } - if (output.headers["x-amz-server-side-encryption"] !== undefined) { - contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; - } if (output.headers["x-amz-request-charged"] !== undefined) { contents.RequestCharged = output.headers["x-amz-request-charged"]; } - if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { - contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; - } const data: any = await parseBody(output.body, context); contents.CopyObjectResult = deserializeAws_restXmlCopyObjectResult(data, context); return Promise.resolve(contents); @@ -4865,29 +5032,29 @@ export const deserializeAws_restXmlCreateMultipartUploadCommand = async ( ServerSideEncryption: undefined, UploadId: undefined, }; - if (output.headers["x-amz-server-side-encryption-context"] !== undefined) { - contents.SSEKMSEncryptionContext = output.headers["x-amz-server-side-encryption-context"]; + if (output.headers["x-amz-abort-date"] !== undefined) { + contents.AbortDate = new Date(output.headers["x-amz-abort-date"]); + } + if (output.headers["x-amz-abort-rule-id"] !== undefined) { + contents.AbortRuleId = output.headers["x-amz-abort-rule-id"]; } if (output.headers["x-amz-server-side-encryption"] !== undefined) { contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; } - if (output.headers["x-amz-request-charged"] !== undefined) { - contents.RequestCharged = output.headers["x-amz-request-charged"]; - } - if (output.headers["x-amz-abort-date"] !== undefined) { - contents.AbortDate = new Date(output.headers["x-amz-abort-date"]); - } if (output.headers["x-amz-server-side-encryption-customer-algorithm"] !== undefined) { contents.SSECustomerAlgorithm = output.headers["x-amz-server-side-encryption-customer-algorithm"]; } + if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { + contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; + } if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; } - if (output.headers["x-amz-abort-rule-id"] !== undefined) { - contents.AbortRuleId = output.headers["x-amz-abort-rule-id"]; + if (output.headers["x-amz-server-side-encryption-context"] !== undefined) { + contents.SSEKMSEncryptionContext = output.headers["x-amz-server-side-encryption-context"]; } - if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { - contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; + if (output.headers["x-amz-request-charged"] !== undefined) { + contents.RequestCharged = output.headers["x-amz-request-charged"]; } const data: any = await parseBody(output.body, context); if (data["Bucket"] !== undefined) { @@ -5103,6 +5270,49 @@ const deserializeAws_restXmlDeleteBucketEncryptionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { + return deserializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommandError(output, context); + } + const contents: DeleteBucketIntelligentTieringConfigurationCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestXmlErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restXmlDeleteBucketInventoryConfigurationCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -5463,12 +5673,12 @@ export const deserializeAws_restXmlDeleteObjectCommand = async ( if (output.headers["x-amz-delete-marker"] !== undefined) { contents.DeleteMarker = output.headers["x-amz-delete-marker"] === "true"; } - if (output.headers["x-amz-request-charged"] !== undefined) { - contents.RequestCharged = output.headers["x-amz-request-charged"]; - } if (output.headers["x-amz-version-id"] !== undefined) { contents.VersionId = output.headers["x-amz-version-id"]; } + if (output.headers["x-amz-request-charged"] !== undefined) { + contents.RequestCharged = output.headers["x-amz-request-charged"]; + } await collectBody(output.body, context); return Promise.resolve(contents); }; @@ -5894,6 +6104,51 @@ const deserializeAws_restXmlGetBucketEncryptionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restXmlGetBucketIntelligentTieringConfigurationCommandError(output, context); + } + const contents: GetBucketIntelligentTieringConfigurationCommandOutput = { + $metadata: deserializeMetadata(output), + IntelligentTieringConfiguration: undefined, + }; + const data: any = await parseBody(output.body, context); + contents.IntelligentTieringConfiguration = deserializeAws_restXmlIntelligentTieringConfiguration(data, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restXmlGetBucketIntelligentTieringConfigurationCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestXmlErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restXmlGetBucketInventoryConfigurationCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -6640,47 +6895,53 @@ export const deserializeAws_restXmlGetObjectCommand = async ( VersionId: undefined, WebsiteRedirectLocation: undefined, }; - if (output.headers["x-amz-object-lock-mode"] !== undefined) { - contents.ObjectLockMode = output.headers["x-amz-object-lock-mode"]; - } - if (output.headers["content-language"] !== undefined) { - contents.ContentLanguage = output.headers["content-language"]; - } - if (output.headers["content-disposition"] !== undefined) { - contents.ContentDisposition = output.headers["content-disposition"]; + if (output.headers["x-amz-delete-marker"] !== undefined) { + contents.DeleteMarker = output.headers["x-amz-delete-marker"] === "true"; } - if (output.headers["cache-control"] !== undefined) { - contents.CacheControl = output.headers["cache-control"]; + if (output.headers["accept-ranges"] !== undefined) { + contents.AcceptRanges = output.headers["accept-ranges"]; } - if (output.headers["content-type"] !== undefined) { - contents.ContentType = output.headers["content-type"]; + if (output.headers["x-amz-expiration"] !== undefined) { + contents.Expiration = output.headers["x-amz-expiration"]; } - if (output.headers["content-range"] !== undefined) { - contents.ContentRange = output.headers["content-range"]; + if (output.headers["x-amz-restore"] !== undefined) { + contents.Restore = output.headers["x-amz-restore"]; } - if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { - contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; + if (output.headers["last-modified"] !== undefined) { + contents.LastModified = new Date(output.headers["last-modified"]); } if (output.headers["content-length"] !== undefined) { contents.ContentLength = parseInt(output.headers["content-length"], 10); } - if (output.headers["x-amz-object-lock-retain-until-date"] !== undefined) { - contents.ObjectLockRetainUntilDate = new Date(output.headers["x-amz-object-lock-retain-until-date"]); + if (output.headers["etag"] !== undefined) { + contents.ETag = output.headers["etag"]; } - if (output.headers["x-amz-object-lock-legal-hold"] !== undefined) { - contents.ObjectLockLegalHoldStatus = output.headers["x-amz-object-lock-legal-hold"]; + if (output.headers["x-amz-missing-meta"] !== undefined) { + contents.MissingMeta = parseInt(output.headers["x-amz-missing-meta"], 10); } - if (output.headers["x-amz-delete-marker"] !== undefined) { - contents.DeleteMarker = output.headers["x-amz-delete-marker"] === "true"; + if (output.headers["x-amz-version-id"] !== undefined) { + contents.VersionId = output.headers["x-amz-version-id"]; } - if (output.headers["x-amz-storage-class"] !== undefined) { - contents.StorageClass = output.headers["x-amz-storage-class"]; + if (output.headers["cache-control"] !== undefined) { + contents.CacheControl = output.headers["cache-control"]; + } + if (output.headers["content-disposition"] !== undefined) { + contents.ContentDisposition = output.headers["content-disposition"]; } if (output.headers["content-encoding"] !== undefined) { contents.ContentEncoding = output.headers["content-encoding"]; } - if (output.headers["x-amz-restore"] !== undefined) { - contents.Restore = output.headers["x-amz-restore"]; + if (output.headers["content-language"] !== undefined) { + contents.ContentLanguage = output.headers["content-language"]; + } + if (output.headers["content-range"] !== undefined) { + contents.ContentRange = output.headers["content-range"]; + } + if (output.headers["content-type"] !== undefined) { + contents.ContentType = output.headers["content-type"]; + } + if (output.headers["expires"] !== undefined) { + contents.Expires = new Date(output.headers["expires"]); } if (output.headers["x-amz-website-redirect-location"] !== undefined) { contents.WebsiteRedirectLocation = output.headers["x-amz-website-redirect-location"]; @@ -6688,44 +6949,38 @@ export const deserializeAws_restXmlGetObjectCommand = async ( if (output.headers["x-amz-server-side-encryption"] !== undefined) { contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; } - if (output.headers["x-amz-mp-parts-count"] !== undefined) { - contents.PartsCount = parseInt(output.headers["x-amz-mp-parts-count"], 10); - } if (output.headers["x-amz-server-side-encryption-customer-algorithm"] !== undefined) { contents.SSECustomerAlgorithm = output.headers["x-amz-server-side-encryption-customer-algorithm"]; } - if (output.headers["accept-ranges"] !== undefined) { - contents.AcceptRanges = output.headers["accept-ranges"]; - } - if (output.headers["x-amz-version-id"] !== undefined) { - contents.VersionId = output.headers["x-amz-version-id"]; + if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { + contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; } - if (output.headers["expires"] !== undefined) { - contents.Expires = new Date(output.headers["expires"]); + if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { + contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; } - if (output.headers["x-amz-expiration"] !== undefined) { - contents.Expiration = output.headers["x-amz-expiration"]; + if (output.headers["x-amz-storage-class"] !== undefined) { + contents.StorageClass = output.headers["x-amz-storage-class"]; } - if (output.headers["x-amz-missing-meta"] !== undefined) { - contents.MissingMeta = parseInt(output.headers["x-amz-missing-meta"], 10); + if (output.headers["x-amz-request-charged"] !== undefined) { + contents.RequestCharged = output.headers["x-amz-request-charged"]; } if (output.headers["x-amz-replication-status"] !== undefined) { contents.ReplicationStatus = output.headers["x-amz-replication-status"]; } + if (output.headers["x-amz-mp-parts-count"] !== undefined) { + contents.PartsCount = parseInt(output.headers["x-amz-mp-parts-count"], 10); + } if (output.headers["x-amz-tagging-count"] !== undefined) { contents.TagCount = parseInt(output.headers["x-amz-tagging-count"], 10); } - if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { - contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; - } - if (output.headers["last-modified"] !== undefined) { - contents.LastModified = new Date(output.headers["last-modified"]); + if (output.headers["x-amz-object-lock-mode"] !== undefined) { + contents.ObjectLockMode = output.headers["x-amz-object-lock-mode"]; } - if (output.headers["etag"] !== undefined) { - contents.ETag = output.headers["etag"]; + if (output.headers["x-amz-object-lock-retain-until-date"] !== undefined) { + contents.ObjectLockRetainUntilDate = new Date(output.headers["x-amz-object-lock-retain-until-date"]); } - if (output.headers["x-amz-request-charged"] !== undefined) { - contents.RequestCharged = output.headers["x-amz-request-charged"]; + if (output.headers["x-amz-object-lock-legal-hold"] !== undefined) { + contents.ObjectLockLegalHoldStatus = output.headers["x-amz-object-lock-legal-hold"]; } Object.keys(output.headers).forEach((header) => { if (contents.Metadata === undefined) { @@ -6752,6 +7007,14 @@ const deserializeAws_restXmlGetObjectCommandError = async ( let errorCode: string = "UnknownError"; errorCode = loadRestXmlErrorCode(output, parsedOutput.body); switch (errorCode) { + case "InvalidObjectState": + case "com.amazonaws.s3#InvalidObjectState": + response = { + ...(await deserializeAws_restXmlInvalidObjectStateResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "NoSuchKey": case "com.amazonaws.s3#NoSuchKey": response = { @@ -7187,6 +7450,7 @@ export const deserializeAws_restXmlHeadObjectCommand = async ( const contents: HeadObjectCommandOutput = { $metadata: deserializeMetadata(output), AcceptRanges: undefined, + ArchiveStatus: undefined, CacheControl: undefined, ContentDisposition: undefined, ContentEncoding: undefined, @@ -7215,86 +7479,89 @@ export const deserializeAws_restXmlHeadObjectCommand = async ( VersionId: undefined, WebsiteRedirectLocation: undefined, }; - if (output.headers["cache-control"] !== undefined) { - contents.CacheControl = output.headers["cache-control"]; + if (output.headers["x-amz-delete-marker"] !== undefined) { + contents.DeleteMarker = output.headers["x-amz-delete-marker"] === "true"; } - if (output.headers["content-length"] !== undefined) { - contents.ContentLength = parseInt(output.headers["content-length"], 10); + if (output.headers["accept-ranges"] !== undefined) { + contents.AcceptRanges = output.headers["accept-ranges"]; } - if (output.headers["x-amz-object-lock-retain-until-date"] !== undefined) { - contents.ObjectLockRetainUntilDate = new Date(output.headers["x-amz-object-lock-retain-until-date"]); + if (output.headers["x-amz-expiration"] !== undefined) { + contents.Expiration = output.headers["x-amz-expiration"]; } - if (output.headers["content-type"] !== undefined) { - contents.ContentType = output.headers["content-type"]; + if (output.headers["x-amz-restore"] !== undefined) { + contents.Restore = output.headers["x-amz-restore"]; + } + if (output.headers["x-amz-archive-status"] !== undefined) { + contents.ArchiveStatus = output.headers["x-amz-archive-status"]; + } + if (output.headers["last-modified"] !== undefined) { + contents.LastModified = new Date(output.headers["last-modified"]); + } + if (output.headers["content-length"] !== undefined) { + contents.ContentLength = parseInt(output.headers["content-length"], 10); } if (output.headers["etag"] !== undefined) { contents.ETag = output.headers["etag"]; } + if (output.headers["x-amz-missing-meta"] !== undefined) { + contents.MissingMeta = parseInt(output.headers["x-amz-missing-meta"], 10); + } + if (output.headers["x-amz-version-id"] !== undefined) { + contents.VersionId = output.headers["x-amz-version-id"]; + } + if (output.headers["cache-control"] !== undefined) { + contents.CacheControl = output.headers["cache-control"]; + } if (output.headers["content-disposition"] !== undefined) { contents.ContentDisposition = output.headers["content-disposition"]; } + if (output.headers["content-encoding"] !== undefined) { + contents.ContentEncoding = output.headers["content-encoding"]; + } if (output.headers["content-language"] !== undefined) { contents.ContentLanguage = output.headers["content-language"]; } - if (output.headers["x-amz-expiration"] !== undefined) { - contents.Expiration = output.headers["x-amz-expiration"]; + if (output.headers["content-type"] !== undefined) { + contents.ContentType = output.headers["content-type"]; } if (output.headers["expires"] !== undefined) { contents.Expires = new Date(output.headers["expires"]); } - if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { - contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; - } - if (output.headers["x-amz-replication-status"] !== undefined) { - contents.ReplicationStatus = output.headers["x-amz-replication-status"]; - } - if (output.headers["x-amz-object-lock-legal-hold"] !== undefined) { - contents.ObjectLockLegalHoldStatus = output.headers["x-amz-object-lock-legal-hold"]; - } if (output.headers["x-amz-website-redirect-location"] !== undefined) { contents.WebsiteRedirectLocation = output.headers["x-amz-website-redirect-location"]; } if (output.headers["x-amz-server-side-encryption"] !== undefined) { contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; } - if (output.headers["x-amz-version-id"] !== undefined) { - contents.VersionId = output.headers["x-amz-version-id"]; - } if (output.headers["x-amz-server-side-encryption-customer-algorithm"] !== undefined) { contents.SSECustomerAlgorithm = output.headers["x-amz-server-side-encryption-customer-algorithm"]; } - if (output.headers["x-amz-mp-parts-count"] !== undefined) { - contents.PartsCount = parseInt(output.headers["x-amz-mp-parts-count"], 10); - } - if (output.headers["x-amz-request-charged"] !== undefined) { - contents.RequestCharged = output.headers["x-amz-request-charged"]; - } - if (output.headers["last-modified"] !== undefined) { - contents.LastModified = new Date(output.headers["last-modified"]); - } - if (output.headers["x-amz-missing-meta"] !== undefined) { - contents.MissingMeta = parseInt(output.headers["x-amz-missing-meta"], 10); - } - if (output.headers["x-amz-restore"] !== undefined) { - contents.Restore = output.headers["x-amz-restore"]; + if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { + contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; } - if (output.headers["content-encoding"] !== undefined) { - contents.ContentEncoding = output.headers["content-encoding"]; + if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { + contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; } if (output.headers["x-amz-storage-class"] !== undefined) { contents.StorageClass = output.headers["x-amz-storage-class"]; } - if (output.headers["x-amz-delete-marker"] !== undefined) { - contents.DeleteMarker = output.headers["x-amz-delete-marker"] === "true"; + if (output.headers["x-amz-request-charged"] !== undefined) { + contents.RequestCharged = output.headers["x-amz-request-charged"]; + } + if (output.headers["x-amz-replication-status"] !== undefined) { + contents.ReplicationStatus = output.headers["x-amz-replication-status"]; + } + if (output.headers["x-amz-mp-parts-count"] !== undefined) { + contents.PartsCount = parseInt(output.headers["x-amz-mp-parts-count"], 10); } if (output.headers["x-amz-object-lock-mode"] !== undefined) { contents.ObjectLockMode = output.headers["x-amz-object-lock-mode"]; } - if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { - contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; + if (output.headers["x-amz-object-lock-retain-until-date"] !== undefined) { + contents.ObjectLockRetainUntilDate = new Date(output.headers["x-amz-object-lock-retain-until-date"]); } - if (output.headers["accept-ranges"] !== undefined) { - contents.AcceptRanges = output.headers["accept-ranges"]; + if (output.headers["x-amz-object-lock-legal-hold"] !== undefined) { + contents.ObjectLockLegalHoldStatus = output.headers["x-amz-object-lock-legal-hold"]; } Object.keys(output.headers).forEach((header) => { if (contents.Metadata === undefined) { @@ -7410,6 +7677,71 @@ const deserializeAws_restXmlListBucketAnalyticsConfigurationsCommandError = asyn return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restXmlListBucketIntelligentTieringConfigurationsCommandError(output, context); + } + const contents: ListBucketIntelligentTieringConfigurationsCommandOutput = { + $metadata: deserializeMetadata(output), + ContinuationToken: undefined, + IntelligentTieringConfigurationList: undefined, + IsTruncated: undefined, + NextContinuationToken: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data["ContinuationToken"] !== undefined) { + contents.ContinuationToken = data["ContinuationToken"]; + } + if (data.IntelligentTieringConfiguration === "") { + contents.IntelligentTieringConfigurationList = []; + } + if (data["IntelligentTieringConfiguration"] !== undefined) { + contents.IntelligentTieringConfigurationList = deserializeAws_restXmlIntelligentTieringConfigurationList( + __getArrayIfSingleItem(data["IntelligentTieringConfiguration"]), + context + ); + } + if (data["IsTruncated"] !== undefined) { + contents.IsTruncated = data["IsTruncated"] == "true"; + } + if (data["NextContinuationToken"] !== undefined) { + contents.NextContinuationToken = data["NextContinuationToken"]; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restXmlListBucketIntelligentTieringConfigurationsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestXmlErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restXmlListBucketInventoryConfigurationsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -8033,15 +8365,15 @@ export const deserializeAws_restXmlListPartsCommand = async ( StorageClass: undefined, UploadId: undefined, }; + if (output.headers["x-amz-abort-date"] !== undefined) { + contents.AbortDate = new Date(output.headers["x-amz-abort-date"]); + } if (output.headers["x-amz-abort-rule-id"] !== undefined) { contents.AbortRuleId = output.headers["x-amz-abort-rule-id"]; } if (output.headers["x-amz-request-charged"] !== undefined) { contents.RequestCharged = output.headers["x-amz-request-charged"]; } - if (output.headers["x-amz-abort-date"] !== undefined) { - contents.AbortDate = new Date(output.headers["x-amz-abort-date"]); - } const data: any = await parseBody(output.body, context); if (data["Bucket"] !== undefined) { contents.Bucket = data["Bucket"]; @@ -8059,13 +8391,13 @@ export const deserializeAws_restXmlListPartsCommand = async ( contents.MaxParts = parseInt(data["MaxParts"]); } if (data["NextPartNumberMarker"] !== undefined) { - contents.NextPartNumberMarker = parseInt(data["NextPartNumberMarker"]); + contents.NextPartNumberMarker = data["NextPartNumberMarker"]; } if (data["Owner"] !== undefined) { contents.Owner = deserializeAws_restXmlOwner(data["Owner"], context); } if (data["PartNumberMarker"] !== undefined) { - contents.PartNumberMarker = parseInt(data["PartNumberMarker"]); + contents.PartNumberMarker = data["PartNumberMarker"]; } if (data.Part === "") { contents.Parts = []; @@ -8326,6 +8658,49 @@ const deserializeAws_restXmlPutBucketEncryptionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restXmlPutBucketIntelligentTieringConfigurationCommandError(output, context); + } + const contents: PutBucketIntelligentTieringConfigurationCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restXmlPutBucketIntelligentTieringConfigurationCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestXmlErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restXmlPutBucketInventoryConfigurationCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -8861,32 +9236,32 @@ export const deserializeAws_restXmlPutObjectCommand = async ( ServerSideEncryption: undefined, VersionId: undefined, }; - if (output.headers["x-amz-server-side-encryption-context"] !== undefined) { - contents.SSEKMSEncryptionContext = output.headers["x-amz-server-side-encryption-context"]; - } if (output.headers["x-amz-expiration"] !== undefined) { contents.Expiration = output.headers["x-amz-expiration"]; } - if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { - contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; - } if (output.headers["etag"] !== undefined) { contents.ETag = output.headers["etag"]; } - if (output.headers["x-amz-server-side-encryption-customer-algorithm"] !== undefined) { - contents.SSECustomerAlgorithm = output.headers["x-amz-server-side-encryption-customer-algorithm"]; + if (output.headers["x-amz-server-side-encryption"] !== undefined) { + contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; } if (output.headers["x-amz-version-id"] !== undefined) { contents.VersionId = output.headers["x-amz-version-id"]; } - if (output.headers["x-amz-request-charged"] !== undefined) { - contents.RequestCharged = output.headers["x-amz-request-charged"]; + if (output.headers["x-amz-server-side-encryption-customer-algorithm"] !== undefined) { + contents.SSECustomerAlgorithm = output.headers["x-amz-server-side-encryption-customer-algorithm"]; + } + if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { + contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; } if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; } - if (output.headers["x-amz-server-side-encryption"] !== undefined) { - contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; + if (output.headers["x-amz-server-side-encryption-context"] !== undefined) { + contents.SSEKMSEncryptionContext = output.headers["x-amz-server-side-encryption-context"]; + } + if (output.headers["x-amz-request-charged"] !== undefined) { + contents.RequestCharged = output.headers["x-amz-request-charged"]; } await collectBody(output.body, context); return Promise.resolve(contents); @@ -9341,24 +9716,24 @@ export const deserializeAws_restXmlUploadPartCommand = async ( SSEKMSKeyId: undefined, ServerSideEncryption: undefined, }; - if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { - contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; - } if (output.headers["x-amz-server-side-encryption"] !== undefined) { contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; } - if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { - contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; + if (output.headers["etag"] !== undefined) { + contents.ETag = output.headers["etag"]; } if (output.headers["x-amz-server-side-encryption-customer-algorithm"] !== undefined) { contents.SSECustomerAlgorithm = output.headers["x-amz-server-side-encryption-customer-algorithm"]; } + if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { + contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; + } + if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { + contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; + } if (output.headers["x-amz-request-charged"] !== undefined) { contents.RequestCharged = output.headers["x-amz-request-charged"]; } - if (output.headers["etag"] !== undefined) { - contents.ETag = output.headers["etag"]; - } await collectBody(output.body, context); return Promise.resolve(contents); }; @@ -9412,20 +9787,20 @@ export const deserializeAws_restXmlUploadPartCopyCommand = async ( if (output.headers["x-amz-copy-source-version-id"] !== undefined) { contents.CopySourceVersionId = output.headers["x-amz-copy-source-version-id"]; } + if (output.headers["x-amz-server-side-encryption"] !== undefined) { + contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; + } if (output.headers["x-amz-server-side-encryption-customer-algorithm"] !== undefined) { contents.SSECustomerAlgorithm = output.headers["x-amz-server-side-encryption-customer-algorithm"]; } if (output.headers["x-amz-server-side-encryption-customer-key-md5"] !== undefined) { contents.SSECustomerKeyMD5 = output.headers["x-amz-server-side-encryption-customer-key-md5"]; } - if (output.headers["x-amz-request-charged"] !== undefined) { - contents.RequestCharged = output.headers["x-amz-request-charged"]; - } if (output.headers["x-amz-server-side-encryption-aws-kms-key-id"] !== undefined) { contents.SSEKMSKeyId = output.headers["x-amz-server-side-encryption-aws-kms-key-id"]; } - if (output.headers["x-amz-server-side-encryption"] !== undefined) { - contents.ServerSideEncryption = output.headers["x-amz-server-side-encryption"]; + if (output.headers["x-amz-request-charged"] !== undefined) { + contents.RequestCharged = output.headers["x-amz-request-charged"]; } const data: any = await parseBody(output.body, context); contents.CopyPartResult = deserializeAws_restXmlCopyPartResult(data, context); @@ -9465,9 +9840,14 @@ const deserializeAws_restXmlSelectObjectContentEventStream_event = async ( output: any, context: __SerdeContext ): Promise => { - if (output["Cont"] !== undefined) { + if (output["Records"] !== undefined) { return { - Cont: await deserializeAws_restXmlContinuationEvent_event(output["Cont"], context), + Records: await deserializeAws_restXmlRecordsEvent_event(output["Records"], context), + }; + } + if (output["Stats"] !== undefined) { + return { + Stats: await deserializeAws_restXmlStatsEvent_event(output["Stats"], context), }; } if (output["Progress"] !== undefined) { @@ -9475,9 +9855,9 @@ const deserializeAws_restXmlSelectObjectContentEventStream_event = async ( Progress: await deserializeAws_restXmlProgressEvent_event(output["Progress"], context), }; } - if (output["Stats"] !== undefined) { + if (output["Cont"] !== undefined) { return { - Stats: await deserializeAws_restXmlStatsEvent_event(output["Stats"], context), + Cont: await deserializeAws_restXmlContinuationEvent_event(output["Cont"], context), }; } if (output["End"] !== undefined) { @@ -9485,11 +9865,6 @@ const deserializeAws_restXmlSelectObjectContentEventStream_event = async ( End: await deserializeAws_restXmlEndEvent_event(output["End"], context), }; } - if (output["Records"] !== undefined) { - return { - Records: await deserializeAws_restXmlRecordsEvent_event(output["Records"], context), - }; - } return { $unknown: output }; }; const deserializeAws_restXmlContinuationEvent_event = async ( @@ -9550,6 +9925,27 @@ const deserializeAws_restXmlBucketAlreadyOwnedByYouResponse = async ( return contents; }; +const deserializeAws_restXmlInvalidObjectStateResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: InvalidObjectState = { + name: "InvalidObjectState", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + AccessTier: undefined, + StorageClass: undefined, + }; + const data: any = parsedOutput.body; + if (data["AccessTier"] !== undefined) { + contents.AccessTier = data["AccessTier"]; + } + if (data["StorageClass"] !== undefined) { + contents.StorageClass = data["StorageClass"]; + } + return contents; +}; + const deserializeAws_restXmlNoSuchBucketResponse = async ( parsedOutput: any, context: __SerdeContext @@ -9706,18 +10102,18 @@ const serializeAws_restXmlAnalyticsAndOperator = (input: AnalyticsAndOperator, c const serializeAws_restXmlAnalyticsConfiguration = (input: AnalyticsConfiguration, context: __SerdeContext): any => { const bodyNode = new __XmlNode("AnalyticsConfiguration"); - if (input.StorageClassAnalysis !== undefined) { - const node = serializeAws_restXmlStorageClassAnalysis(input.StorageClassAnalysis, context).withName( - "StorageClassAnalysis" - ); + if (input.Id !== undefined) { + const node = new __XmlNode("AnalyticsId").addChildNode(new __XmlText(input.Id)).withName("Id"); bodyNode.addChildNode(node); } if (input.Filter !== undefined) { const node = serializeAws_restXmlAnalyticsFilter(input.Filter, context).withName("Filter"); bodyNode.addChildNode(node); } - if (input.Id !== undefined) { - const node = new __XmlNode("AnalyticsId").addChildNode(new __XmlText(input.Id)).withName("Id"); + if (input.StorageClassAnalysis !== undefined) { + const node = serializeAws_restXmlStorageClassAnalysis(input.StorageClassAnalysis, context).withName( + "StorageClassAnalysis" + ); bodyNode.addChildNode(node); } return bodyNode; @@ -9759,8 +10155,10 @@ const serializeAws_restXmlAnalyticsS3BucketDestination = ( context: __SerdeContext ): any => { const bodyNode = new __XmlNode("AnalyticsS3BucketDestination"); - if (input.Prefix !== undefined) { - const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); + if (input.Format !== undefined) { + const node = new __XmlNode("AnalyticsS3ExportFileFormat") + .addChildNode(new __XmlText(input.Format)) + .withName("Format"); bodyNode.addChildNode(node); } if (input.BucketAccountId !== undefined) { @@ -9773,10 +10171,8 @@ const serializeAws_restXmlAnalyticsS3BucketDestination = ( const node = new __XmlNode("BucketName").addChildNode(new __XmlText(input.Bucket)).withName("Bucket"); bodyNode.addChildNode(node); } - if (input.Format !== undefined) { - const node = new __XmlNode("AnalyticsS3ExportFileFormat") - .addChildNode(new __XmlText(input.Format)) - .withName("Format"); + if (input.Prefix !== undefined) { + const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); bodyNode.addChildNode(node); } return bodyNode; @@ -9845,18 +10241,18 @@ const serializeAws_restXmlCompletedPartList = (input: CompletedPart[], context: const serializeAws_restXmlCondition = (input: Condition, context: __SerdeContext): any => { const bodyNode = new __XmlNode("Condition"); - if (input.KeyPrefixEquals !== undefined) { - const node = new __XmlNode("KeyPrefixEquals") - .addChildNode(new __XmlText(input.KeyPrefixEquals)) - .withName("KeyPrefixEquals"); - bodyNode.addChildNode(node); - } if (input.HttpErrorCodeReturnedEquals !== undefined) { const node = new __XmlNode("HttpErrorCodeReturnedEquals") .addChildNode(new __XmlText(input.HttpErrorCodeReturnedEquals)) .withName("HttpErrorCodeReturnedEquals"); bodyNode.addChildNode(node); } + if (input.KeyPrefixEquals !== undefined) { + const node = new __XmlNode("KeyPrefixEquals") + .addChildNode(new __XmlText(input.KeyPrefixEquals)) + .withName("KeyPrefixEquals"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -9881,6 +10277,13 @@ const serializeAws_restXmlCORSRule = (input: CORSRule, context: __SerdeContext): bodyNode.addChildNode(node); }); } + if (input.AllowedMethods !== undefined) { + const nodes = serializeAws_restXmlAllowedMethods(input.AllowedMethods, context); + nodes.map((node: any) => { + node = node.withName("AllowedMethod"); + bodyNode.addChildNode(node); + }); + } if (input.AllowedOrigins !== undefined) { const nodes = serializeAws_restXmlAllowedOrigins(input.AllowedOrigins, context); nodes.map((node: any) => { @@ -9888,12 +10291,6 @@ const serializeAws_restXmlCORSRule = (input: CORSRule, context: __SerdeContext): bodyNode.addChildNode(node); }); } - if (input.MaxAgeSeconds !== undefined) { - const node = new __XmlNode("MaxAgeSeconds") - .addChildNode(new __XmlText(String(input.MaxAgeSeconds))) - .withName("MaxAgeSeconds"); - bodyNode.addChildNode(node); - } if (input.ExposeHeaders !== undefined) { const nodes = serializeAws_restXmlExposeHeaders(input.ExposeHeaders, context); nodes.map((node: any) => { @@ -9901,12 +10298,11 @@ const serializeAws_restXmlCORSRule = (input: CORSRule, context: __SerdeContext): bodyNode.addChildNode(node); }); } - if (input.AllowedMethods !== undefined) { - const nodes = serializeAws_restXmlAllowedMethods(input.AllowedMethods, context); - nodes.map((node: any) => { - node = node.withName("AllowedMethod"); - bodyNode.addChildNode(node); - }); + if (input.MaxAgeSeconds !== undefined) { + const node = new __XmlNode("MaxAgeSeconds") + .addChildNode(new __XmlText(String(input.MaxAgeSeconds))) + .withName("MaxAgeSeconds"); + bodyNode.addChildNode(node); } return bodyNode; }; @@ -9934,28 +10330,14 @@ const serializeAws_restXmlCreateBucketConfiguration = ( const serializeAws_restXmlCSVInput = (input: CSVInput, context: __SerdeContext): any => { const bodyNode = new __XmlNode("CSVInput"); - if (input.FieldDelimiter !== undefined) { - const node = new __XmlNode("FieldDelimiter") - .addChildNode(new __XmlText(input.FieldDelimiter)) - .withName("FieldDelimiter"); - bodyNode.addChildNode(node); - } - if (input.AllowQuotedRecordDelimiter !== undefined) { - const node = new __XmlNode("AllowQuotedRecordDelimiter") - .addChildNode(new __XmlText(String(input.AllowQuotedRecordDelimiter))) - .withName("AllowQuotedRecordDelimiter"); - bodyNode.addChildNode(node); - } if (input.FileHeaderInfo !== undefined) { const node = new __XmlNode("FileHeaderInfo") .addChildNode(new __XmlText(input.FileHeaderInfo)) .withName("FileHeaderInfo"); bodyNode.addChildNode(node); } - if (input.QuoteCharacter !== undefined) { - const node = new __XmlNode("QuoteCharacter") - .addChildNode(new __XmlText(input.QuoteCharacter)) - .withName("QuoteCharacter"); + if (input.Comments !== undefined) { + const node = new __XmlNode("Comments").addChildNode(new __XmlText(input.Comments)).withName("Comments"); bodyNode.addChildNode(node); } if (input.QuoteEscapeCharacter !== undefined) { @@ -9970,8 +10352,22 @@ const serializeAws_restXmlCSVInput = (input: CSVInput, context: __SerdeContext): .withName("RecordDelimiter"); bodyNode.addChildNode(node); } - if (input.Comments !== undefined) { - const node = new __XmlNode("Comments").addChildNode(new __XmlText(input.Comments)).withName("Comments"); + if (input.FieldDelimiter !== undefined) { + const node = new __XmlNode("FieldDelimiter") + .addChildNode(new __XmlText(input.FieldDelimiter)) + .withName("FieldDelimiter"); + bodyNode.addChildNode(node); + } + if (input.QuoteCharacter !== undefined) { + const node = new __XmlNode("QuoteCharacter") + .addChildNode(new __XmlText(input.QuoteCharacter)) + .withName("QuoteCharacter"); + bodyNode.addChildNode(node); + } + if (input.AllowQuotedRecordDelimiter !== undefined) { + const node = new __XmlNode("AllowQuotedRecordDelimiter") + .addChildNode(new __XmlText(String(input.AllowQuotedRecordDelimiter))) + .withName("AllowQuotedRecordDelimiter"); bodyNode.addChildNode(node); } return bodyNode; @@ -9979,20 +10375,14 @@ const serializeAws_restXmlCSVInput = (input: CSVInput, context: __SerdeContext): const serializeAws_restXmlCSVOutput = (input: CSVOutput, context: __SerdeContext): any => { const bodyNode = new __XmlNode("CSVOutput"); - if (input.FieldDelimiter !== undefined) { - const node = new __XmlNode("FieldDelimiter") - .addChildNode(new __XmlText(input.FieldDelimiter)) - .withName("FieldDelimiter"); - bodyNode.addChildNode(node); - } if (input.QuoteFields !== undefined) { const node = new __XmlNode("QuoteFields").addChildNode(new __XmlText(input.QuoteFields)).withName("QuoteFields"); bodyNode.addChildNode(node); } - if (input.QuoteCharacter !== undefined) { - const node = new __XmlNode("QuoteCharacter") - .addChildNode(new __XmlText(input.QuoteCharacter)) - .withName("QuoteCharacter"); + if (input.QuoteEscapeCharacter !== undefined) { + const node = new __XmlNode("QuoteEscapeCharacter") + .addChildNode(new __XmlText(input.QuoteEscapeCharacter)) + .withName("QuoteEscapeCharacter"); bodyNode.addChildNode(node); } if (input.RecordDelimiter !== undefined) { @@ -10001,10 +10391,16 @@ const serializeAws_restXmlCSVOutput = (input: CSVOutput, context: __SerdeContext .withName("RecordDelimiter"); bodyNode.addChildNode(node); } - if (input.QuoteEscapeCharacter !== undefined) { - const node = new __XmlNode("QuoteEscapeCharacter") - .addChildNode(new __XmlText(input.QuoteEscapeCharacter)) - .withName("QuoteEscapeCharacter"); + if (input.FieldDelimiter !== undefined) { + const node = new __XmlNode("FieldDelimiter") + .addChildNode(new __XmlText(input.FieldDelimiter)) + .withName("FieldDelimiter"); + bodyNode.addChildNode(node); + } + if (input.QuoteCharacter !== undefined) { + const node = new __XmlNode("QuoteCharacter") + .addChildNode(new __XmlText(input.QuoteCharacter)) + .withName("QuoteCharacter"); bodyNode.addChildNode(node); } return bodyNode; @@ -10012,14 +10408,14 @@ const serializeAws_restXmlCSVOutput = (input: CSVOutput, context: __SerdeContext const serializeAws_restXmlDefaultRetention = (input: DefaultRetention, context: __SerdeContext): any => { const bodyNode = new __XmlNode("DefaultRetention"); - if (input.Days !== undefined) { - const node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days"); - bodyNode.addChildNode(node); - } if (input.Mode !== undefined) { const node = new __XmlNode("ObjectLockRetentionMode").addChildNode(new __XmlText(input.Mode)).withName("Mode"); bodyNode.addChildNode(node); } + if (input.Days !== undefined) { + const node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days"); + bodyNode.addChildNode(node); + } if (input.Years !== undefined) { const node = new __XmlNode("Years").addChildNode(new __XmlText(String(input.Years))).withName("Years"); bodyNode.addChildNode(node); @@ -10056,12 +10452,6 @@ const serializeAws_restXmlDeleteMarkerReplication = (input: DeleteMarkerReplicat const serializeAws_restXmlDestination = (input: Destination, context: __SerdeContext): any => { const bodyNode = new __XmlNode("Destination"); - if (input.EncryptionConfiguration !== undefined) { - const node = serializeAws_restXmlEncryptionConfiguration(input.EncryptionConfiguration, context).withName( - "EncryptionConfiguration" - ); - bodyNode.addChildNode(node); - } if (input.Bucket !== undefined) { const node = new __XmlNode("BucketName").addChildNode(new __XmlText(input.Bucket)).withName("Bucket"); bodyNode.addChildNode(node); @@ -10074,25 +10464,37 @@ const serializeAws_restXmlDestination = (input: Destination, context: __SerdeCon const node = new __XmlNode("StorageClass").addChildNode(new __XmlText(input.StorageClass)).withName("StorageClass"); bodyNode.addChildNode(node); } - if (input.Metrics !== undefined) { - const node = serializeAws_restXmlMetrics(input.Metrics, context).withName("Metrics"); - bodyNode.addChildNode(node); - } if (input.AccessControlTranslation !== undefined) { const node = serializeAws_restXmlAccessControlTranslation(input.AccessControlTranslation, context).withName( "AccessControlTranslation" ); bodyNode.addChildNode(node); } + if (input.EncryptionConfiguration !== undefined) { + const node = serializeAws_restXmlEncryptionConfiguration(input.EncryptionConfiguration, context).withName( + "EncryptionConfiguration" + ); + bodyNode.addChildNode(node); + } if (input.ReplicationTime !== undefined) { const node = serializeAws_restXmlReplicationTime(input.ReplicationTime, context).withName("ReplicationTime"); bodyNode.addChildNode(node); } + if (input.Metrics !== undefined) { + const node = serializeAws_restXmlMetrics(input.Metrics, context).withName("Metrics"); + bodyNode.addChildNode(node); + } return bodyNode; }; const serializeAws_restXmlEncryption = (input: Encryption, context: __SerdeContext): any => { const bodyNode = new __XmlNode("Encryption"); + if (input.EncryptionType !== undefined) { + const node = new __XmlNode("ServerSideEncryption") + .addChildNode(new __XmlText(input.EncryptionType)) + .withName("EncryptionType"); + bodyNode.addChildNode(node); + } if (input.KMSKeyId !== undefined) { const node = new __XmlNode("SSEKMSKeyId").addChildNode(new __XmlText(input.KMSKeyId)).withName("KMSKeyId"); bodyNode.addChildNode(node); @@ -10101,12 +10503,6 @@ const serializeAws_restXmlEncryption = (input: Encryption, context: __SerdeConte const node = new __XmlNode("KMSContext").addChildNode(new __XmlText(input.KMSContext)).withName("KMSContext"); bodyNode.addChildNode(node); } - if (input.EncryptionType !== undefined) { - const node = new __XmlNode("ServerSideEncryption") - .addChildNode(new __XmlText(input.EncryptionType)) - .withName("EncryptionType"); - bodyNode.addChildNode(node); - } return bodyNode; }; @@ -10202,22 +10598,22 @@ const serializeAws_restXmlGrant = (input: Grant, context: __SerdeContext): any = const serializeAws_restXmlGrantee = (input: Grantee, context: __SerdeContext): any => { const bodyNode = new __XmlNode("Grantee"); - if (input.EmailAddress !== undefined) { - const node = new __XmlNode("EmailAddress").addChildNode(new __XmlText(input.EmailAddress)).withName("EmailAddress"); - bodyNode.addChildNode(node); - } if (input.DisplayName !== undefined) { const node = new __XmlNode("DisplayName").addChildNode(new __XmlText(input.DisplayName)).withName("DisplayName"); bodyNode.addChildNode(node); } - if (input.URI !== undefined) { - const node = new __XmlNode("URI").addChildNode(new __XmlText(input.URI)).withName("URI"); + if (input.EmailAddress !== undefined) { + const node = new __XmlNode("EmailAddress").addChildNode(new __XmlText(input.EmailAddress)).withName("EmailAddress"); bodyNode.addChildNode(node); } if (input.ID !== undefined) { const node = new __XmlNode("ID").addChildNode(new __XmlText(input.ID)).withName("ID"); bodyNode.addChildNode(node); } + if (input.URI !== undefined) { + const node = new __XmlNode("URI").addChildNode(new __XmlText(input.URI)).withName("URI"); + bodyNode.addChildNode(node); + } if (input.Type !== undefined) { bodyNode.addAttribute("xsi:type", input.Type); } @@ -10242,8 +10638,8 @@ const serializeAws_restXmlIndexDocument = (input: IndexDocument, context: __Serd const serializeAws_restXmlInputSerialization = (input: InputSerialization, context: __SerdeContext): any => { const bodyNode = new __XmlNode("InputSerialization"); - if (input.JSON !== undefined) { - const node = serializeAws_restXmlJSONInput(input.JSON, context).withName("JSON"); + if (input.CSV !== undefined) { + const node = serializeAws_restXmlCSVInput(input.CSV, context).withName("CSV"); bodyNode.addChildNode(node); } if (input.CompressionType !== undefined) { @@ -10252,53 +10648,119 @@ const serializeAws_restXmlInputSerialization = (input: InputSerialization, conte .withName("CompressionType"); bodyNode.addChildNode(node); } - if (input.Parquet !== undefined) { - const node = serializeAws_restXmlParquetInput(input.Parquet, context).withName("Parquet"); + if (input.JSON !== undefined) { + const node = serializeAws_restXmlJSONInput(input.JSON, context).withName("JSON"); bodyNode.addChildNode(node); } - if (input.CSV !== undefined) { - const node = serializeAws_restXmlCSVInput(input.CSV, context).withName("CSV"); + if (input.Parquet !== undefined) { + const node = serializeAws_restXmlParquetInput(input.Parquet, context).withName("Parquet"); bodyNode.addChildNode(node); } return bodyNode; }; -const serializeAws_restXmlInventoryConfiguration = (input: InventoryConfiguration, context: __SerdeContext): any => { - const bodyNode = new __XmlNode("InventoryConfiguration"); - if (input.IncludedObjectVersions !== undefined) { - const node = new __XmlNode("InventoryIncludedObjectVersions") - .addChildNode(new __XmlText(input.IncludedObjectVersions)) - .withName("IncludedObjectVersions"); +const serializeAws_restXmlIntelligentTieringAndOperator = ( + input: IntelligentTieringAndOperator, + context: __SerdeContext +): any => { + const bodyNode = new __XmlNode("IntelligentTieringAndOperator"); + if (input.Prefix !== undefined) { + const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); bodyNode.addChildNode(node); } - if (input.IsEnabled !== undefined) { - const node = new __XmlNode("IsEnabled").addChildNode(new __XmlText(String(input.IsEnabled))).withName("IsEnabled"); - bodyNode.addChildNode(node); + if (input.Tags !== undefined) { + const nodes = serializeAws_restXmlTagSet(input.Tags, context); + nodes.map((node: any) => { + node = node.withName("Tag"); + bodyNode.addChildNode(node); + }); } - if (input.Schedule !== undefined) { - const node = serializeAws_restXmlInventorySchedule(input.Schedule, context).withName("Schedule"); + return bodyNode; +}; + +const serializeAws_restXmlIntelligentTieringConfiguration = ( + input: IntelligentTieringConfiguration, + context: __SerdeContext +): any => { + const bodyNode = new __XmlNode("IntelligentTieringConfiguration"); + if (input.Id !== undefined) { + const node = new __XmlNode("IntelligentTieringId").addChildNode(new __XmlText(input.Id)).withName("Id"); bodyNode.addChildNode(node); } if (input.Filter !== undefined) { - const node = serializeAws_restXmlInventoryFilter(input.Filter, context).withName("Filter"); + const node = serializeAws_restXmlIntelligentTieringFilter(input.Filter, context).withName("Filter"); bodyNode.addChildNode(node); } - if (input.OptionalFields !== undefined) { - const nodes = serializeAws_restXmlInventoryOptionalFields(input.OptionalFields, context); - const containerNode = new __XmlNode("OptionalFields"); + if (input.Status !== undefined) { + const node = new __XmlNode("IntelligentTieringStatus").addChildNode(new __XmlText(input.Status)).withName("Status"); + bodyNode.addChildNode(node); + } + if (input.Tierings !== undefined) { + const nodes = serializeAws_restXmlTieringList(input.Tierings, context); nodes.map((node: any) => { - containerNode.addChildNode(node); + node = node.withName("Tiering"); + bodyNode.addChildNode(node); }); - bodyNode.addChildNode(containerNode); } - if (input.Destination !== undefined) { - const node = serializeAws_restXmlInventoryDestination(input.Destination, context).withName("Destination"); - bodyNode.addChildNode(node); + return bodyNode; +}; + +const serializeAws_restXmlIntelligentTieringFilter = ( + input: IntelligentTieringFilter, + context: __SerdeContext +): any => { + const bodyNode = new __XmlNode("IntelligentTieringFilter"); + if (input.Prefix !== undefined) { + const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); + bodyNode.addChildNode(node); + } + if (input.Tag !== undefined) { + const node = serializeAws_restXmlTag(input.Tag, context).withName("Tag"); + bodyNode.addChildNode(node); + } + if (input.And !== undefined) { + const node = serializeAws_restXmlIntelligentTieringAndOperator(input.And, context).withName("And"); + bodyNode.addChildNode(node); + } + return bodyNode; +}; + +const serializeAws_restXmlInventoryConfiguration = (input: InventoryConfiguration, context: __SerdeContext): any => { + const bodyNode = new __XmlNode("InventoryConfiguration"); + if (input.Destination !== undefined) { + const node = serializeAws_restXmlInventoryDestination(input.Destination, context).withName("Destination"); + bodyNode.addChildNode(node); + } + if (input.IsEnabled !== undefined) { + const node = new __XmlNode("IsEnabled").addChildNode(new __XmlText(String(input.IsEnabled))).withName("IsEnabled"); + bodyNode.addChildNode(node); + } + if (input.Filter !== undefined) { + const node = serializeAws_restXmlInventoryFilter(input.Filter, context).withName("Filter"); + bodyNode.addChildNode(node); } if (input.Id !== undefined) { const node = new __XmlNode("InventoryId").addChildNode(new __XmlText(input.Id)).withName("Id"); bodyNode.addChildNode(node); } + if (input.IncludedObjectVersions !== undefined) { + const node = new __XmlNode("InventoryIncludedObjectVersions") + .addChildNode(new __XmlText(input.IncludedObjectVersions)) + .withName("IncludedObjectVersions"); + bodyNode.addChildNode(node); + } + if (input.OptionalFields !== undefined) { + const nodes = serializeAws_restXmlInventoryOptionalFields(input.OptionalFields, context); + const containerNode = new __XmlNode("OptionalFields"); + nodes.map((node: any) => { + containerNode.addChildNode(node); + }); + bodyNode.addChildNode(containerNode); + } + if (input.Schedule !== undefined) { + const node = serializeAws_restXmlInventorySchedule(input.Schedule, context).withName("Schedule"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -10315,14 +10777,14 @@ const serializeAws_restXmlInventoryDestination = (input: InventoryDestination, c const serializeAws_restXmlInventoryEncryption = (input: InventoryEncryption, context: __SerdeContext): any => { const bodyNode = new __XmlNode("InventoryEncryption"); - if (input.SSEKMS !== undefined) { - const node = serializeAws_restXmlSSEKMS(input.SSEKMS, context).withName("SSE-KMS"); - bodyNode.addChildNode(node); - } if (input.SSES3 !== undefined) { const node = serializeAws_restXmlSSES3(input.SSES3, context).withName("SSE-S3"); bodyNode.addChildNode(node); } + if (input.SSEKMS !== undefined) { + const node = serializeAws_restXmlSSEKMS(input.SSEKMS, context).withName("SSE-KMS"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -10350,24 +10812,24 @@ const serializeAws_restXmlInventoryS3BucketDestination = ( context: __SerdeContext ): any => { const bodyNode = new __XmlNode("InventoryS3BucketDestination"); - if (input.Format !== undefined) { - const node = new __XmlNode("InventoryFormat").addChildNode(new __XmlText(input.Format)).withName("Format"); + if (input.AccountId !== undefined) { + const node = new __XmlNode("AccountId").addChildNode(new __XmlText(input.AccountId)).withName("AccountId"); bodyNode.addChildNode(node); } - if (input.Encryption !== undefined) { - const node = serializeAws_restXmlInventoryEncryption(input.Encryption, context).withName("Encryption"); + if (input.Bucket !== undefined) { + const node = new __XmlNode("BucketName").addChildNode(new __XmlText(input.Bucket)).withName("Bucket"); bodyNode.addChildNode(node); } - if (input.Prefix !== undefined) { - const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); + if (input.Format !== undefined) { + const node = new __XmlNode("InventoryFormat").addChildNode(new __XmlText(input.Format)).withName("Format"); bodyNode.addChildNode(node); } - if (input.Bucket !== undefined) { - const node = new __XmlNode("BucketName").addChildNode(new __XmlText(input.Bucket)).withName("Bucket"); + if (input.Prefix !== undefined) { + const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); bodyNode.addChildNode(node); } - if (input.AccountId !== undefined) { - const node = new __XmlNode("AccountId").addChildNode(new __XmlText(input.AccountId)).withName("AccountId"); + if (input.Encryption !== undefined) { + const node = serializeAws_restXmlInventoryEncryption(input.Encryption, context).withName("Encryption"); bodyNode.addChildNode(node); } return bodyNode; @@ -10407,6 +10869,16 @@ const serializeAws_restXmlLambdaFunctionConfiguration = ( context: __SerdeContext ): any => { const bodyNode = new __XmlNode("LambdaFunctionConfiguration"); + if (input.Id !== undefined) { + const node = new __XmlNode("NotificationId").addChildNode(new __XmlText(input.Id)).withName("Id"); + bodyNode.addChildNode(node); + } + if (input.LambdaFunctionArn !== undefined) { + const node = new __XmlNode("LambdaFunctionArn") + .addChildNode(new __XmlText(input.LambdaFunctionArn)) + .withName("CloudFunction"); + bodyNode.addChildNode(node); + } if (input.Events !== undefined) { const nodes = serializeAws_restXmlEventList(input.Events, context); nodes.map((node: any) => { @@ -10418,16 +10890,6 @@ const serializeAws_restXmlLambdaFunctionConfiguration = ( const node = serializeAws_restXmlNotificationConfigurationFilter(input.Filter, context).withName("Filter"); bodyNode.addChildNode(node); } - if (input.LambdaFunctionArn !== undefined) { - const node = new __XmlNode("LambdaFunctionArn") - .addChildNode(new __XmlText(input.LambdaFunctionArn)) - .withName("CloudFunction"); - bodyNode.addChildNode(node); - } - if (input.Id !== undefined) { - const node = new __XmlNode("NotificationId").addChildNode(new __XmlText(input.Id)).withName("Id"); - bodyNode.addChildNode(node); - } return bodyNode; }; @@ -10443,6 +10905,12 @@ const serializeAws_restXmlLambdaFunctionConfigurationList = ( const serializeAws_restXmlLifecycleExpiration = (input: LifecycleExpiration, context: __SerdeContext): any => { const bodyNode = new __XmlNode("LifecycleExpiration"); + if (input.Date !== undefined) { + const node = new __XmlNode("Date") + .addChildNode(new __XmlText(input.Date.toISOString().split(".")[0] + "Z")) + .withName("Date"); + bodyNode.addChildNode(node); + } if (input.Days !== undefined) { const node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days"); bodyNode.addChildNode(node); @@ -10453,24 +10921,11 @@ const serializeAws_restXmlLifecycleExpiration = (input: LifecycleExpiration, con .withName("ExpiredObjectDeleteMarker"); bodyNode.addChildNode(node); } - if (input.Date !== undefined) { - const node = new __XmlNode("Date") - .addChildNode(new __XmlText(input.Date.toISOString().split(".")[0] + "Z")) - .withName("Date"); - bodyNode.addChildNode(node); - } return bodyNode; }; const serializeAws_restXmlLifecycleRule = (input: LifecycleRule, context: __SerdeContext): any => { const bodyNode = new __XmlNode("LifecycleRule"); - if (input.NoncurrentVersionTransitions !== undefined) { - const nodes = serializeAws_restXmlNoncurrentVersionTransitionList(input.NoncurrentVersionTransitions, context); - nodes.map((node: any) => { - node = node.withName("NoncurrentVersionTransition"); - bodyNode.addChildNode(node); - }); - } if (input.Expiration !== undefined) { const node = serializeAws_restXmlLifecycleExpiration(input.Expiration, context).withName("Expiration"); bodyNode.addChildNode(node); @@ -10479,6 +10934,18 @@ const serializeAws_restXmlLifecycleRule = (input: LifecycleRule, context: __Serd const node = new __XmlNode("ID").addChildNode(new __XmlText(input.ID)).withName("ID"); bodyNode.addChildNode(node); } + if (input.Prefix !== undefined) { + const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); + bodyNode.addChildNode(node); + } + if (input.Filter !== undefined) { + const node = serializeAws_restXmlLifecycleRuleFilter(input.Filter, context).withName("Filter"); + bodyNode.addChildNode(node); + } + if (input.Status !== undefined) { + const node = new __XmlNode("ExpirationStatus").addChildNode(new __XmlText(input.Status)).withName("Status"); + bodyNode.addChildNode(node); + } if (input.Transitions !== undefined) { const nodes = serializeAws_restXmlTransitionList(input.Transitions, context); nodes.map((node: any) => { @@ -10486,9 +10953,12 @@ const serializeAws_restXmlLifecycleRule = (input: LifecycleRule, context: __Serd bodyNode.addChildNode(node); }); } - if (input.Prefix !== undefined) { - const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); - bodyNode.addChildNode(node); + if (input.NoncurrentVersionTransitions !== undefined) { + const nodes = serializeAws_restXmlNoncurrentVersionTransitionList(input.NoncurrentVersionTransitions, context); + nodes.map((node: any) => { + node = node.withName("NoncurrentVersionTransition"); + bodyNode.addChildNode(node); + }); } if (input.NoncurrentVersionExpiration !== undefined) { const node = serializeAws_restXmlNoncurrentVersionExpiration(input.NoncurrentVersionExpiration, context).withName( @@ -10503,14 +10973,6 @@ const serializeAws_restXmlLifecycleRule = (input: LifecycleRule, context: __Serd ).withName("AbortIncompleteMultipartUpload"); bodyNode.addChildNode(node); } - if (input.Filter !== undefined) { - const node = serializeAws_restXmlLifecycleRuleFilter(input.Filter, context).withName("Filter"); - bodyNode.addChildNode(node); - } - if (input.Status !== undefined) { - const node = new __XmlNode("ExpirationStatus").addChildNode(new __XmlText(input.Status)).withName("Status"); - bodyNode.addChildNode(node); - } return bodyNode; }; @@ -10535,10 +10997,6 @@ const serializeAws_restXmlLifecycleRuleAndOperator = ( const serializeAws_restXmlLifecycleRuleFilter = (input: LifecycleRuleFilter, context: __SerdeContext): any => { const bodyNode = new __XmlNode("LifecycleRuleFilter"); - if (input.And !== undefined) { - const node = serializeAws_restXmlLifecycleRuleAndOperator(input.And, context).withName("And"); - bodyNode.addChildNode(node); - } if (input.Prefix !== undefined) { const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); bodyNode.addChildNode(node); @@ -10547,6 +11005,10 @@ const serializeAws_restXmlLifecycleRuleFilter = (input: LifecycleRuleFilter, con const node = serializeAws_restXmlTag(input.Tag, context).withName("Tag"); bodyNode.addChildNode(node); } + if (input.And !== undefined) { + const node = serializeAws_restXmlLifecycleRuleAndOperator(input.And, context).withName("And"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -10559,6 +11021,10 @@ const serializeAws_restXmlLifecycleRules = (input: LifecycleRule[], context: __S const serializeAws_restXmlLoggingEnabled = (input: LoggingEnabled, context: __SerdeContext): any => { const bodyNode = new __XmlNode("LoggingEnabled"); + if (input.TargetBucket !== undefined) { + const node = new __XmlNode("TargetBucket").addChildNode(new __XmlText(input.TargetBucket)).withName("TargetBucket"); + bodyNode.addChildNode(node); + } if (input.TargetGrants !== undefined) { const nodes = serializeAws_restXmlTargetGrants(input.TargetGrants, context); const containerNode = new __XmlNode("TargetGrants"); @@ -10567,10 +11033,6 @@ const serializeAws_restXmlLoggingEnabled = (input: LoggingEnabled, context: __Se }); bodyNode.addChildNode(containerNode); } - if (input.TargetBucket !== undefined) { - const node = new __XmlNode("TargetBucket").addChildNode(new __XmlText(input.TargetBucket)).withName("TargetBucket"); - bodyNode.addChildNode(node); - } if (input.TargetPrefix !== undefined) { const node = new __XmlNode("TargetPrefix").addChildNode(new __XmlText(input.TargetPrefix)).withName("TargetPrefix"); bodyNode.addChildNode(node); @@ -10580,14 +11042,14 @@ const serializeAws_restXmlLoggingEnabled = (input: LoggingEnabled, context: __Se const serializeAws_restXmlMetadataEntry = (input: MetadataEntry, context: __SerdeContext): any => { const bodyNode = new __XmlNode("MetadataEntry"); - if (input.Value !== undefined) { - const node = new __XmlNode("MetadataValue").addChildNode(new __XmlText(input.Value)).withName("Value"); - bodyNode.addChildNode(node); - } if (input.Name !== undefined) { const node = new __XmlNode("MetadataKey").addChildNode(new __XmlText(input.Name)).withName("Name"); bodyNode.addChildNode(node); } + if (input.Value !== undefined) { + const node = new __XmlNode("MetadataValue").addChildNode(new __XmlText(input.Value)).withName("Value"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -10635,10 +11097,6 @@ const serializeAws_restXmlMetricsConfiguration = (input: MetricsConfiguration, c const serializeAws_restXmlMetricsFilter = (input: MetricsFilter, context: __SerdeContext): any => { const bodyNode = new __XmlNode("MetricsFilter"); - if (input.And !== undefined) { - const node = serializeAws_restXmlMetricsAndOperator(input.And, context).withName("And"); - bodyNode.addChildNode(node); - } if (input.Prefix !== undefined) { const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); bodyNode.addChildNode(node); @@ -10647,6 +11105,10 @@ const serializeAws_restXmlMetricsFilter = (input: MetricsFilter, context: __Serd const node = serializeAws_restXmlTag(input.Tag, context).withName("Tag"); bodyNode.addChildNode(node); } + if (input.And !== undefined) { + const node = serializeAws_restXmlMetricsAndOperator(input.And, context).withName("And"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -10669,18 +11131,18 @@ const serializeAws_restXmlNoncurrentVersionTransition = ( context: __SerdeContext ): any => { const bodyNode = new __XmlNode("NoncurrentVersionTransition"); - if (input.StorageClass !== undefined) { - const node = new __XmlNode("TransitionStorageClass") - .addChildNode(new __XmlText(input.StorageClass)) - .withName("StorageClass"); - bodyNode.addChildNode(node); - } if (input.NoncurrentDays !== undefined) { const node = new __XmlNode("Days") .addChildNode(new __XmlText(String(input.NoncurrentDays))) .withName("NoncurrentDays"); bodyNode.addChildNode(node); } + if (input.StorageClass !== undefined) { + const node = new __XmlNode("TransitionStorageClass") + .addChildNode(new __XmlText(input.StorageClass)) + .withName("StorageClass"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -10816,14 +11278,14 @@ const serializeAws_restXmlOutputLocation = (input: OutputLocation, context: __Se const serializeAws_restXmlOutputSerialization = (input: OutputSerialization, context: __SerdeContext): any => { const bodyNode = new __XmlNode("OutputSerialization"); - if (input.JSON !== undefined) { - const node = serializeAws_restXmlJSONOutput(input.JSON, context).withName("JSON"); - bodyNode.addChildNode(node); - } if (input.CSV !== undefined) { const node = serializeAws_restXmlCSVOutput(input.CSV, context).withName("CSV"); bodyNode.addChildNode(node); } + if (input.JSON !== undefined) { + const node = serializeAws_restXmlJSONOutput(input.JSON, context).withName("JSON"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -10880,35 +11342,43 @@ const serializeAws_restXmlPublicAccessBlockConfiguration = ( context: __SerdeContext ): any => { const bodyNode = new __XmlNode("PublicAccessBlockConfiguration"); - if (input.BlockPublicPolicy !== undefined) { - const node = new __XmlNode("Setting") - .addChildNode(new __XmlText(String(input.BlockPublicPolicy))) - .withName("BlockPublicPolicy"); - bodyNode.addChildNode(node); - } if (input.BlockPublicAcls !== undefined) { const node = new __XmlNode("Setting") .addChildNode(new __XmlText(String(input.BlockPublicAcls))) .withName("BlockPublicAcls"); bodyNode.addChildNode(node); } - if (input.RestrictPublicBuckets !== undefined) { - const node = new __XmlNode("Setting") - .addChildNode(new __XmlText(String(input.RestrictPublicBuckets))) - .withName("RestrictPublicBuckets"); - bodyNode.addChildNode(node); - } if (input.IgnorePublicAcls !== undefined) { const node = new __XmlNode("Setting") .addChildNode(new __XmlText(String(input.IgnorePublicAcls))) .withName("IgnorePublicAcls"); bodyNode.addChildNode(node); } + if (input.BlockPublicPolicy !== undefined) { + const node = new __XmlNode("Setting") + .addChildNode(new __XmlText(String(input.BlockPublicPolicy))) + .withName("BlockPublicPolicy"); + bodyNode.addChildNode(node); + } + if (input.RestrictPublicBuckets !== undefined) { + const node = new __XmlNode("Setting") + .addChildNode(new __XmlText(String(input.RestrictPublicBuckets))) + .withName("RestrictPublicBuckets"); + bodyNode.addChildNode(node); + } return bodyNode; }; const serializeAws_restXmlQueueConfiguration = (input: QueueConfiguration, context: __SerdeContext): any => { const bodyNode = new __XmlNode("QueueConfiguration"); + if (input.Id !== undefined) { + const node = new __XmlNode("NotificationId").addChildNode(new __XmlText(input.Id)).withName("Id"); + bodyNode.addChildNode(node); + } + if (input.QueueArn !== undefined) { + const node = new __XmlNode("QueueArn").addChildNode(new __XmlText(input.QueueArn)).withName("Queue"); + bodyNode.addChildNode(node); + } if (input.Events !== undefined) { const nodes = serializeAws_restXmlEventList(input.Events, context); nodes.map((node: any) => { @@ -10916,18 +11386,10 @@ const serializeAws_restXmlQueueConfiguration = (input: QueueConfiguration, conte bodyNode.addChildNode(node); }); } - if (input.Id !== undefined) { - const node = new __XmlNode("NotificationId").addChildNode(new __XmlText(input.Id)).withName("Id"); - bodyNode.addChildNode(node); - } if (input.Filter !== undefined) { const node = serializeAws_restXmlNotificationConfigurationFilter(input.Filter, context).withName("Filter"); bodyNode.addChildNode(node); } - if (input.QueueArn !== undefined) { - const node = new __XmlNode("QueueArn").addChildNode(new __XmlText(input.QueueArn)).withName("Queue"); - bodyNode.addChildNode(node); - } return bodyNode; }; @@ -10940,24 +11402,24 @@ const serializeAws_restXmlQueueConfigurationList = (input: QueueConfiguration[], const serializeAws_restXmlRedirect = (input: Redirect, context: __SerdeContext): any => { const bodyNode = new __XmlNode("Redirect"); + if (input.HostName !== undefined) { + const node = new __XmlNode("HostName").addChildNode(new __XmlText(input.HostName)).withName("HostName"); + bodyNode.addChildNode(node); + } if (input.HttpRedirectCode !== undefined) { const node = new __XmlNode("HttpRedirectCode") .addChildNode(new __XmlText(input.HttpRedirectCode)) .withName("HttpRedirectCode"); bodyNode.addChildNode(node); } - if (input.ReplaceKeyPrefixWith !== undefined) { - const node = new __XmlNode("ReplaceKeyPrefixWith") - .addChildNode(new __XmlText(input.ReplaceKeyPrefixWith)) - .withName("ReplaceKeyPrefixWith"); - bodyNode.addChildNode(node); - } if (input.Protocol !== undefined) { const node = new __XmlNode("Protocol").addChildNode(new __XmlText(input.Protocol)).withName("Protocol"); bodyNode.addChildNode(node); } - if (input.HostName !== undefined) { - const node = new __XmlNode("HostName").addChildNode(new __XmlText(input.HostName)).withName("HostName"); + if (input.ReplaceKeyPrefixWith !== undefined) { + const node = new __XmlNode("ReplaceKeyPrefixWith") + .addChildNode(new __XmlText(input.ReplaceKeyPrefixWith)) + .withName("ReplaceKeyPrefixWith"); bodyNode.addChildNode(node); } if (input.ReplaceKeyWith !== undefined) { @@ -10971,14 +11433,14 @@ const serializeAws_restXmlRedirect = (input: Redirect, context: __SerdeContext): const serializeAws_restXmlRedirectAllRequestsTo = (input: RedirectAllRequestsTo, context: __SerdeContext): any => { const bodyNode = new __XmlNode("RedirectAllRequestsTo"); - if (input.Protocol !== undefined) { - const node = new __XmlNode("Protocol").addChildNode(new __XmlText(input.Protocol)).withName("Protocol"); - bodyNode.addChildNode(node); - } if (input.HostName !== undefined) { const node = new __XmlNode("HostName").addChildNode(new __XmlText(input.HostName)).withName("HostName"); bodyNode.addChildNode(node); } + if (input.Protocol !== undefined) { + const node = new __XmlNode("Protocol").addChildNode(new __XmlText(input.Protocol)).withName("Protocol"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -11003,38 +11465,32 @@ const serializeAws_restXmlReplicationConfiguration = ( const serializeAws_restXmlReplicationRule = (input: ReplicationRule, context: __SerdeContext): any => { const bodyNode = new __XmlNode("ReplicationRule"); - if (input.Prefix !== undefined) { - const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); - bodyNode.addChildNode(node); - } if (input.ID !== undefined) { const node = new __XmlNode("ID").addChildNode(new __XmlText(input.ID)).withName("ID"); bodyNode.addChildNode(node); } - if (input.SourceSelectionCriteria !== undefined) { - const node = serializeAws_restXmlSourceSelectionCriteria(input.SourceSelectionCriteria, context).withName( - "SourceSelectionCriteria" - ); + if (input.Priority !== undefined) { + const node = new __XmlNode("Priority").addChildNode(new __XmlText(String(input.Priority))).withName("Priority"); bodyNode.addChildNode(node); } - if (input.DeleteMarkerReplication !== undefined) { - const node = serializeAws_restXmlDeleteMarkerReplication(input.DeleteMarkerReplication, context).withName( - "DeleteMarkerReplication" - ); + if (input.Prefix !== undefined) { + const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); bodyNode.addChildNode(node); } if (input.Filter !== undefined) { const node = serializeAws_restXmlReplicationRuleFilter(input.Filter, context).withName("Filter"); bodyNode.addChildNode(node); } - if (input.Priority !== undefined) { - const node = new __XmlNode("Priority").addChildNode(new __XmlText(String(input.Priority))).withName("Priority"); - bodyNode.addChildNode(node); - } if (input.Status !== undefined) { const node = new __XmlNode("ReplicationRuleStatus").addChildNode(new __XmlText(input.Status)).withName("Status"); bodyNode.addChildNode(node); } + if (input.SourceSelectionCriteria !== undefined) { + const node = serializeAws_restXmlSourceSelectionCriteria(input.SourceSelectionCriteria, context).withName( + "SourceSelectionCriteria" + ); + bodyNode.addChildNode(node); + } if (input.ExistingObjectReplication !== undefined) { const node = serializeAws_restXmlExistingObjectReplication(input.ExistingObjectReplication, context).withName( "ExistingObjectReplication" @@ -11045,6 +11501,12 @@ const serializeAws_restXmlReplicationRule = (input: ReplicationRule, context: __ const node = serializeAws_restXmlDestination(input.Destination, context).withName("Destination"); bodyNode.addChildNode(node); } + if (input.DeleteMarkerReplication !== undefined) { + const node = serializeAws_restXmlDeleteMarkerReplication(input.DeleteMarkerReplication, context).withName( + "DeleteMarkerReplication" + ); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -11069,14 +11531,14 @@ const serializeAws_restXmlReplicationRuleAndOperator = ( const serializeAws_restXmlReplicationRuleFilter = (input: ReplicationRuleFilter, context: __SerdeContext): any => { const bodyNode = new __XmlNode("ReplicationRuleFilter"); - if (input.Tag !== undefined) { - const node = serializeAws_restXmlTag(input.Tag, context).withName("Tag"); - bodyNode.addChildNode(node); - } if (input.Prefix !== undefined) { const node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); bodyNode.addChildNode(node); } + if (input.Tag !== undefined) { + const node = serializeAws_restXmlTag(input.Tag, context).withName("Tag"); + bodyNode.addChildNode(node); + } if (input.And !== undefined) { const node = serializeAws_restXmlReplicationRuleAndOperator(input.And, context).withName("And"); bodyNode.addChildNode(node); @@ -11093,14 +11555,14 @@ const serializeAws_restXmlReplicationRules = (input: ReplicationRule[], context: const serializeAws_restXmlReplicationTime = (input: ReplicationTime, context: __SerdeContext): any => { const bodyNode = new __XmlNode("ReplicationTime"); - if (input.Time !== undefined) { - const node = serializeAws_restXmlReplicationTimeValue(input.Time, context).withName("Time"); - bodyNode.addChildNode(node); - } if (input.Status !== undefined) { const node = new __XmlNode("ReplicationTimeStatus").addChildNode(new __XmlText(input.Status)).withName("Status"); bodyNode.addChildNode(node); } + if (input.Time !== undefined) { + const node = serializeAws_restXmlReplicationTimeValue(input.Time, context).withName("Time"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -11138,22 +11600,18 @@ const serializeAws_restXmlRequestProgress = (input: RequestProgress, context: __ const serializeAws_restXmlRestoreRequest = (input: RestoreRequest, context: __SerdeContext): any => { const bodyNode = new __XmlNode("RestoreRequest"); - if (input.GlacierJobParameters !== undefined) { - const node = serializeAws_restXmlGlacierJobParameters(input.GlacierJobParameters, context).withName( - "GlacierJobParameters" - ); - bodyNode.addChildNode(node); - } if (input.Days !== undefined) { const node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days"); bodyNode.addChildNode(node); } - if (input.OutputLocation !== undefined) { - const node = serializeAws_restXmlOutputLocation(input.OutputLocation, context).withName("OutputLocation"); + if (input.GlacierJobParameters !== undefined) { + const node = serializeAws_restXmlGlacierJobParameters(input.GlacierJobParameters, context).withName( + "GlacierJobParameters" + ); bodyNode.addChildNode(node); } - if (input.SelectParameters !== undefined) { - const node = serializeAws_restXmlSelectParameters(input.SelectParameters, context).withName("SelectParameters"); + if (input.Type !== undefined) { + const node = new __XmlNode("RestoreRequestType").addChildNode(new __XmlText(input.Type)).withName("Type"); bodyNode.addChildNode(node); } if (input.Tier !== undefined) { @@ -11164,8 +11622,12 @@ const serializeAws_restXmlRestoreRequest = (input: RestoreRequest, context: __Se const node = new __XmlNode("Description").addChildNode(new __XmlText(input.Description)).withName("Description"); bodyNode.addChildNode(node); } - if (input.Type !== undefined) { - const node = new __XmlNode("RestoreRequestType").addChildNode(new __XmlText(input.Type)).withName("Type"); + if (input.SelectParameters !== undefined) { + const node = serializeAws_restXmlSelectParameters(input.SelectParameters, context).withName("SelectParameters"); + bodyNode.addChildNode(node); + } + if (input.OutputLocation !== undefined) { + const node = serializeAws_restXmlOutputLocation(input.OutputLocation, context).withName("OutputLocation"); bodyNode.addChildNode(node); } return bodyNode; @@ -11173,14 +11635,14 @@ const serializeAws_restXmlRestoreRequest = (input: RestoreRequest, context: __Se const serializeAws_restXmlRoutingRule = (input: RoutingRule, context: __SerdeContext): any => { const bodyNode = new __XmlNode("RoutingRule"); - if (input.Redirect !== undefined) { - const node = serializeAws_restXmlRedirect(input.Redirect, context).withName("Redirect"); - bodyNode.addChildNode(node); - } if (input.Condition !== undefined) { const node = serializeAws_restXmlCondition(input.Condition, context).withName("Condition"); bodyNode.addChildNode(node); } + if (input.Redirect !== undefined) { + const node = serializeAws_restXmlRedirect(input.Redirect, context).withName("Redirect"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -11209,79 +11671,79 @@ const serializeAws_restXmlS3Location = (input: S3Location, context: __SerdeConte const node = new __XmlNode("BucketName").addChildNode(new __XmlText(input.BucketName)).withName("BucketName"); bodyNode.addChildNode(node); } - if (input.StorageClass !== undefined) { - const node = new __XmlNode("StorageClass").addChildNode(new __XmlText(input.StorageClass)).withName("StorageClass"); + if (input.Prefix !== undefined) { + const node = new __XmlNode("LocationPrefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); + bodyNode.addChildNode(node); + } + if (input.Encryption !== undefined) { + const node = serializeAws_restXmlEncryption(input.Encryption, context).withName("Encryption"); bodyNode.addChildNode(node); } if (input.CannedACL !== undefined) { const node = new __XmlNode("ObjectCannedACL").addChildNode(new __XmlText(input.CannedACL)).withName("CannedACL"); bodyNode.addChildNode(node); } - if (input.UserMetadata !== undefined) { - const nodes = serializeAws_restXmlUserMetadata(input.UserMetadata, context); - const containerNode = new __XmlNode("UserMetadata"); + if (input.AccessControlList !== undefined) { + const nodes = serializeAws_restXmlGrants(input.AccessControlList, context); + const containerNode = new __XmlNode("AccessControlList"); nodes.map((node: any) => { containerNode.addChildNode(node); }); bodyNode.addChildNode(containerNode); } - if (input.Prefix !== undefined) { - const node = new __XmlNode("LocationPrefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix"); - bodyNode.addChildNode(node); - } if (input.Tagging !== undefined) { const node = serializeAws_restXmlTagging(input.Tagging, context).withName("Tagging"); bodyNode.addChildNode(node); } - if (input.Encryption !== undefined) { - const node = serializeAws_restXmlEncryption(input.Encryption, context).withName("Encryption"); - bodyNode.addChildNode(node); - } - if (input.AccessControlList !== undefined) { - const nodes = serializeAws_restXmlGrants(input.AccessControlList, context); - const containerNode = new __XmlNode("AccessControlList"); + if (input.UserMetadata !== undefined) { + const nodes = serializeAws_restXmlUserMetadata(input.UserMetadata, context); + const containerNode = new __XmlNode("UserMetadata"); nodes.map((node: any) => { containerNode.addChildNode(node); }); bodyNode.addChildNode(containerNode); } + if (input.StorageClass !== undefined) { + const node = new __XmlNode("StorageClass").addChildNode(new __XmlText(input.StorageClass)).withName("StorageClass"); + bodyNode.addChildNode(node); + } return bodyNode; }; const serializeAws_restXmlScanRange = (input: ScanRange, context: __SerdeContext): any => { const bodyNode = new __XmlNode("ScanRange"); - if (input.End !== undefined) { - const node = new __XmlNode("End").addChildNode(new __XmlText(String(input.End))).withName("End"); - bodyNode.addChildNode(node); - } if (input.Start !== undefined) { const node = new __XmlNode("Start").addChildNode(new __XmlText(String(input.Start))).withName("Start"); bodyNode.addChildNode(node); } + if (input.End !== undefined) { + const node = new __XmlNode("End").addChildNode(new __XmlText(String(input.End))).withName("End"); + bodyNode.addChildNode(node); + } return bodyNode; }; const serializeAws_restXmlSelectParameters = (input: SelectParameters, context: __SerdeContext): any => { const bodyNode = new __XmlNode("SelectParameters"); + if (input.InputSerialization !== undefined) { + const node = serializeAws_restXmlInputSerialization(input.InputSerialization, context).withName( + "InputSerialization" + ); + bodyNode.addChildNode(node); + } if (input.ExpressionType !== undefined) { const node = new __XmlNode("ExpressionType") .addChildNode(new __XmlText(input.ExpressionType)) .withName("ExpressionType"); bodyNode.addChildNode(node); } - if (input.OutputSerialization !== undefined) { - const node = serializeAws_restXmlOutputSerialization(input.OutputSerialization, context).withName( - "OutputSerialization" - ); - bodyNode.addChildNode(node); - } if (input.Expression !== undefined) { const node = new __XmlNode("Expression").addChildNode(new __XmlText(input.Expression)).withName("Expression"); bodyNode.addChildNode(node); } - if (input.InputSerialization !== undefined) { - const node = serializeAws_restXmlInputSerialization(input.InputSerialization, context).withName( - "InputSerialization" + if (input.OutputSerialization !== undefined) { + const node = serializeAws_restXmlOutputSerialization(input.OutputSerialization, context).withName( + "OutputSerialization" ); bodyNode.addChildNode(node); } @@ -11413,14 +11875,14 @@ const serializeAws_restXmlStorageClassAnalysisDataExport = ( const serializeAws_restXmlTag = (input: Tag, context: __SerdeContext): any => { const bodyNode = new __XmlNode("Tag"); - if (input.Value !== undefined) { - const node = new __XmlNode("Value").addChildNode(new __XmlText(input.Value)).withName("Value"); - bodyNode.addChildNode(node); - } if (input.Key !== undefined) { const node = new __XmlNode("ObjectKey").addChildNode(new __XmlText(input.Key)).withName("Key"); bodyNode.addChildNode(node); } + if (input.Value !== undefined) { + const node = new __XmlNode("Value").addChildNode(new __XmlText(input.Value)).withName("Value"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -11466,8 +11928,40 @@ const serializeAws_restXmlTargetGrants = (input: TargetGrant[], context: __Serde }); }; +const serializeAws_restXmlTiering = (input: Tiering, context: __SerdeContext): any => { + const bodyNode = new __XmlNode("Tiering"); + if (input.Days !== undefined) { + const node = new __XmlNode("IntelligentTieringDays") + .addChildNode(new __XmlText(String(input.Days))) + .withName("Days"); + bodyNode.addChildNode(node); + } + if (input.AccessTier !== undefined) { + const node = new __XmlNode("IntelligentTieringAccessTier") + .addChildNode(new __XmlText(input.AccessTier)) + .withName("AccessTier"); + bodyNode.addChildNode(node); + } + return bodyNode; +}; + +const serializeAws_restXmlTieringList = (input: Tiering[], context: __SerdeContext): any => { + return input.map((entry) => { + const node = serializeAws_restXmlTiering(entry, context); + return node.withName("member"); + }); +}; + const serializeAws_restXmlTopicConfiguration = (input: TopicConfiguration, context: __SerdeContext): any => { const bodyNode = new __XmlNode("TopicConfiguration"); + if (input.Id !== undefined) { + const node = new __XmlNode("NotificationId").addChildNode(new __XmlText(input.Id)).withName("Id"); + bodyNode.addChildNode(node); + } + if (input.TopicArn !== undefined) { + const node = new __XmlNode("TopicArn").addChildNode(new __XmlText(input.TopicArn)).withName("Topic"); + bodyNode.addChildNode(node); + } if (input.Events !== undefined) { const nodes = serializeAws_restXmlEventList(input.Events, context); nodes.map((node: any) => { @@ -11479,14 +11973,6 @@ const serializeAws_restXmlTopicConfiguration = (input: TopicConfiguration, conte const node = serializeAws_restXmlNotificationConfigurationFilter(input.Filter, context).withName("Filter"); bodyNode.addChildNode(node); } - if (input.TopicArn !== undefined) { - const node = new __XmlNode("TopicArn").addChildNode(new __XmlText(input.TopicArn)).withName("Topic"); - bodyNode.addChildNode(node); - } - if (input.Id !== undefined) { - const node = new __XmlNode("NotificationId").addChildNode(new __XmlText(input.Id)).withName("Id"); - bodyNode.addChildNode(node); - } return bodyNode; }; @@ -11499,16 +11985,16 @@ const serializeAws_restXmlTopicConfigurationList = (input: TopicConfiguration[], const serializeAws_restXmlTransition = (input: Transition, context: __SerdeContext): any => { const bodyNode = new __XmlNode("Transition"); - if (input.Days !== undefined) { - const node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days"); - bodyNode.addChildNode(node); - } if (input.Date !== undefined) { const node = new __XmlNode("Date") .addChildNode(new __XmlText(input.Date.toISOString().split(".")[0] + "Z")) .withName("Date"); bodyNode.addChildNode(node); } + if (input.Days !== undefined) { + const node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days"); + bodyNode.addChildNode(node); + } if (input.StorageClass !== undefined) { const node = new __XmlNode("TransitionStorageClass") .addChildNode(new __XmlText(input.StorageClass)) @@ -11534,14 +12020,14 @@ const serializeAws_restXmlUserMetadata = (input: MetadataEntry[], context: __Ser const serializeAws_restXmlVersioningConfiguration = (input: VersioningConfiguration, context: __SerdeContext): any => { const bodyNode = new __XmlNode("VersioningConfiguration"); - if (input.Status !== undefined) { - const node = new __XmlNode("BucketVersioningStatus").addChildNode(new __XmlText(input.Status)).withName("Status"); - bodyNode.addChildNode(node); - } if (input.MFADelete !== undefined) { const node = new __XmlNode("MFADelete").addChildNode(new __XmlText(input.MFADelete)).withName("MfaDelete"); bodyNode.addChildNode(node); } + if (input.Status !== undefined) { + const node = new __XmlNode("BucketVersioningStatus").addChildNode(new __XmlText(input.Status)).withName("Status"); + bodyNode.addChildNode(node); + } return bodyNode; }; @@ -11551,16 +12037,16 @@ const serializeAws_restXmlWebsiteConfiguration = (input: WebsiteConfiguration, c const node = serializeAws_restXmlErrorDocument(input.ErrorDocument, context).withName("ErrorDocument"); bodyNode.addChildNode(node); } + if (input.IndexDocument !== undefined) { + const node = serializeAws_restXmlIndexDocument(input.IndexDocument, context).withName("IndexDocument"); + bodyNode.addChildNode(node); + } if (input.RedirectAllRequestsTo !== undefined) { const node = serializeAws_restXmlRedirectAllRequestsTo(input.RedirectAllRequestsTo, context).withName( "RedirectAllRequestsTo" ); bodyNode.addChildNode(node); } - if (input.IndexDocument !== undefined) { - const node = serializeAws_restXmlIndexDocument(input.IndexDocument, context).withName("IndexDocument"); - bodyNode.addChildNode(node); - } if (input.RoutingRules !== undefined) { const nodes = serializeAws_restXmlRoutingRules(input.RoutingRules, context); const containerNode = new __XmlNode("RoutingRules"); @@ -11629,18 +12115,18 @@ const deserializeAws_restXmlAnalyticsAndOperator = (output: any, context: __Serd const deserializeAws_restXmlAnalyticsConfiguration = (output: any, context: __SerdeContext): AnalyticsConfiguration => { let contents: any = { - StorageClassAnalysis: undefined, - Filter: undefined, Id: undefined, + Filter: undefined, + StorageClassAnalysis: undefined, }; - if (output["StorageClassAnalysis"] !== undefined) { - contents.StorageClassAnalysis = deserializeAws_restXmlStorageClassAnalysis(output["StorageClassAnalysis"], context); + if (output["Id"] !== undefined) { + contents.Id = output["Id"]; } if (output["Filter"] !== undefined) { contents.Filter = deserializeAws_restXmlAnalyticsFilter(output["Filter"], context); } - if (output["Id"] !== undefined) { - contents.Id = output["Id"]; + if (output["StorageClassAnalysis"] !== undefined) { + contents.StorageClassAnalysis = deserializeAws_restXmlStorageClassAnalysis(output["StorageClassAnalysis"], context); } return contents; }; @@ -11691,13 +12177,13 @@ const deserializeAws_restXmlAnalyticsS3BucketDestination = ( context: __SerdeContext ): AnalyticsS3BucketDestination => { let contents: any = { - Prefix: undefined, + Format: undefined, BucketAccountId: undefined, Bucket: undefined, - Format: undefined, + Prefix: undefined, }; - if (output["Prefix"] !== undefined) { - contents.Prefix = output["Prefix"]; + if (output["Format"] !== undefined) { + contents.Format = output["Format"]; } if (output["BucketAccountId"] !== undefined) { contents.BucketAccountId = output["BucketAccountId"]; @@ -11705,23 +12191,23 @@ const deserializeAws_restXmlAnalyticsS3BucketDestination = ( if (output["Bucket"] !== undefined) { contents.Bucket = output["Bucket"]; } - if (output["Format"] !== undefined) { - contents.Format = output["Format"]; + if (output["Prefix"] !== undefined) { + contents.Prefix = output["Prefix"]; } return contents; }; const deserializeAws_restXmlBucket = (output: any, context: __SerdeContext): Bucket => { let contents: any = { - CreationDate: undefined, Name: undefined, + CreationDate: undefined, }; - if (output["CreationDate"] !== undefined) { - contents.CreationDate = new Date(output["CreationDate"]); - } if (output["Name"] !== undefined) { contents.Name = output["Name"]; } + if (output["CreationDate"] !== undefined) { + contents.CreationDate = new Date(output["CreationDate"]); + } return contents; }; @@ -11745,15 +12231,15 @@ const deserializeAws_restXmlCommonPrefixList = (output: any, context: __SerdeCon const deserializeAws_restXmlCondition = (output: any, context: __SerdeContext): Condition => { let contents: any = { - KeyPrefixEquals: undefined, HttpErrorCodeReturnedEquals: undefined, + KeyPrefixEquals: undefined, }; - if (output["KeyPrefixEquals"] !== undefined) { - contents.KeyPrefixEquals = output["KeyPrefixEquals"]; - } if (output["HttpErrorCodeReturnedEquals"] !== undefined) { contents.HttpErrorCodeReturnedEquals = output["HttpErrorCodeReturnedEquals"]; } + if (output["KeyPrefixEquals"] !== undefined) { + contents.KeyPrefixEquals = output["KeyPrefixEquals"]; + } return contents; }; @@ -11788,10 +12274,10 @@ const deserializeAws_restXmlCopyPartResult = (output: any, context: __SerdeConte const deserializeAws_restXmlCORSRule = (output: any, context: __SerdeContext): CORSRule => { let contents: any = { AllowedHeaders: undefined, + AllowedMethods: undefined, AllowedOrigins: undefined, - MaxAgeSeconds: undefined, ExposeHeaders: undefined, - AllowedMethods: undefined, + MaxAgeSeconds: undefined, }; if (output.AllowedHeader === "") { contents.AllowedHeaders = []; @@ -11802,17 +12288,23 @@ const deserializeAws_restXmlCORSRule = (output: any, context: __SerdeContext): C context ); } - if (output.AllowedOrigin === "") { - contents.AllowedOrigins = []; + if (output.AllowedMethod === "") { + contents.AllowedMethods = []; } - if (output["AllowedOrigin"] !== undefined) { - contents.AllowedOrigins = deserializeAws_restXmlAllowedOrigins( - __getArrayIfSingleItem(output["AllowedOrigin"]), + if (output["AllowedMethod"] !== undefined) { + contents.AllowedMethods = deserializeAws_restXmlAllowedMethods( + __getArrayIfSingleItem(output["AllowedMethod"]), context ); } - if (output["MaxAgeSeconds"] !== undefined) { - contents.MaxAgeSeconds = parseInt(output["MaxAgeSeconds"]); + if (output.AllowedOrigin === "") { + contents.AllowedOrigins = []; + } + if (output["AllowedOrigin"] !== undefined) { + contents.AllowedOrigins = deserializeAws_restXmlAllowedOrigins( + __getArrayIfSingleItem(output["AllowedOrigin"]), + context + ); } if (output.ExposeHeader === "") { contents.ExposeHeaders = []; @@ -11823,14 +12315,8 @@ const deserializeAws_restXmlCORSRule = (output: any, context: __SerdeContext): C context ); } - if (output.AllowedMethod === "") { - contents.AllowedMethods = []; - } - if (output["AllowedMethod"] !== undefined) { - contents.AllowedMethods = deserializeAws_restXmlAllowedMethods( - __getArrayIfSingleItem(output["AllowedMethod"]), - context - ); + if (output["MaxAgeSeconds"] !== undefined) { + contents.MaxAgeSeconds = parseInt(output["MaxAgeSeconds"]); } return contents; }; @@ -11841,16 +12327,16 @@ const deserializeAws_restXmlCORSRules = (output: any, context: __SerdeContext): const deserializeAws_restXmlDefaultRetention = (output: any, context: __SerdeContext): DefaultRetention => { let contents: any = { - Days: undefined, Mode: undefined, + Days: undefined, Years: undefined, }; - if (output["Days"] !== undefined) { - contents.Days = parseInt(output["Days"]); - } if (output["Mode"] !== undefined) { contents.Mode = output["Mode"]; } + if (output["Days"] !== undefined) { + contents.Days = parseInt(output["Days"]); + } if (output["Years"] !== undefined) { contents.Years = parseInt(output["Years"]); } @@ -11859,20 +12345,20 @@ const deserializeAws_restXmlDefaultRetention = (output: any, context: __SerdeCon const deserializeAws_restXmlDeletedObject = (output: any, context: __SerdeContext): DeletedObject => { let contents: any = { - DeleteMarker: undefined, Key: undefined, VersionId: undefined, + DeleteMarker: undefined, DeleteMarkerVersionId: undefined, }; - if (output["DeleteMarker"] !== undefined) { - contents.DeleteMarker = output["DeleteMarker"] == "true"; - } if (output["Key"] !== undefined) { contents.Key = output["Key"]; } if (output["VersionId"] !== undefined) { contents.VersionId = output["VersionId"]; } + if (output["DeleteMarker"] !== undefined) { + contents.DeleteMarker = output["DeleteMarker"] == "true"; + } if (output["DeleteMarkerVersionId"] !== undefined) { contents.DeleteMarkerVersionId = output["DeleteMarkerVersionId"]; } @@ -11885,26 +12371,26 @@ const deserializeAws_restXmlDeletedObjects = (output: any, context: __SerdeConte const deserializeAws_restXmlDeleteMarkerEntry = (output: any, context: __SerdeContext): DeleteMarkerEntry => { let contents: any = { - VersionId: undefined, - LastModified: undefined, + Owner: undefined, Key: undefined, + VersionId: undefined, IsLatest: undefined, - Owner: undefined, + LastModified: undefined, }; - if (output["VersionId"] !== undefined) { - contents.VersionId = output["VersionId"]; - } - if (output["LastModified"] !== undefined) { - contents.LastModified = new Date(output["LastModified"]); + if (output["Owner"] !== undefined) { + contents.Owner = deserializeAws_restXmlOwner(output["Owner"], context); } if (output["Key"] !== undefined) { contents.Key = output["Key"]; } + if (output["VersionId"] !== undefined) { + contents.VersionId = output["VersionId"]; + } if (output["IsLatest"] !== undefined) { contents.IsLatest = output["IsLatest"] == "true"; } - if (output["Owner"] !== undefined) { - contents.Owner = deserializeAws_restXmlOwner(output["Owner"], context); + if (output["LastModified"] !== undefined) { + contents.LastModified = new Date(output["LastModified"]); } return contents; }; @@ -11928,20 +12414,14 @@ const deserializeAws_restXmlDeleteMarkers = (output: any, context: __SerdeContex const deserializeAws_restXmlDestination = (output: any, context: __SerdeContext): Destination => { let contents: any = { - EncryptionConfiguration: undefined, Bucket: undefined, Account: undefined, StorageClass: undefined, - Metrics: undefined, AccessControlTranslation: undefined, + EncryptionConfiguration: undefined, ReplicationTime: undefined, + Metrics: undefined, }; - if (output["EncryptionConfiguration"] !== undefined) { - contents.EncryptionConfiguration = deserializeAws_restXmlEncryptionConfiguration( - output["EncryptionConfiguration"], - context - ); - } if (output["Bucket"] !== undefined) { contents.Bucket = output["Bucket"]; } @@ -11951,18 +12431,24 @@ const deserializeAws_restXmlDestination = (output: any, context: __SerdeContext) if (output["StorageClass"] !== undefined) { contents.StorageClass = output["StorageClass"]; } - if (output["Metrics"] !== undefined) { - contents.Metrics = deserializeAws_restXmlMetrics(output["Metrics"], context); - } if (output["AccessControlTranslation"] !== undefined) { contents.AccessControlTranslation = deserializeAws_restXmlAccessControlTranslation( output["AccessControlTranslation"], context ); } + if (output["EncryptionConfiguration"] !== undefined) { + contents.EncryptionConfiguration = deserializeAws_restXmlEncryptionConfiguration( + output["EncryptionConfiguration"], + context + ); + } if (output["ReplicationTime"] !== undefined) { contents.ReplicationTime = deserializeAws_restXmlReplicationTime(output["ReplicationTime"], context); } + if (output["Metrics"] !== undefined) { + contents.Metrics = deserializeAws_restXmlMetrics(output["Metrics"], context); + } return contents; }; @@ -11981,23 +12467,23 @@ const deserializeAws_restXmlEncryptionConfiguration = ( const deserializeAws_restXml_Error = (output: any, context: __SerdeContext): _Error => { let contents: any = { - Message: undefined, - Code: undefined, Key: undefined, VersionId: undefined, + Code: undefined, + Message: undefined, }; - if (output["Message"] !== undefined) { - contents.Message = output["Message"]; - } - if (output["Code"] !== undefined) { - contents.Code = output["Code"]; - } if (output["Key"] !== undefined) { contents.Key = output["Key"]; } if (output["VersionId"] !== undefined) { contents.VersionId = output["VersionId"]; } + if (output["Code"] !== undefined) { + contents.Code = output["Code"]; + } + if (output["Message"] !== undefined) { + contents.Message = output["Message"]; + } return contents; }; @@ -12070,24 +12556,24 @@ const deserializeAws_restXmlGrant = (output: any, context: __SerdeContext): Gran const deserializeAws_restXmlGrantee = (output: any, context: __SerdeContext): Grantee => { let contents: any = { - EmailAddress: undefined, DisplayName: undefined, - URI: undefined, + EmailAddress: undefined, ID: undefined, + URI: undefined, Type: undefined, }; - if (output["EmailAddress"] !== undefined) { - contents.EmailAddress = output["EmailAddress"]; - } if (output["DisplayName"] !== undefined) { contents.DisplayName = output["DisplayName"]; } - if (output["URI"] !== undefined) { - contents.URI = output["URI"]; + if (output["EmailAddress"] !== undefined) { + contents.EmailAddress = output["EmailAddress"]; } if (output["ID"] !== undefined) { contents.ID = output["ID"]; } + if (output["URI"] !== undefined) { + contents.URI = output["URI"]; + } if (output["xsi:type"] !== undefined) { contents.Type = output["xsi:type"]; } @@ -12122,28 +12608,107 @@ const deserializeAws_restXmlInitiator = (output: any, context: __SerdeContext): return contents; }; +const deserializeAws_restXmlIntelligentTieringAndOperator = ( + output: any, + context: __SerdeContext +): IntelligentTieringAndOperator => { + let contents: any = { + Prefix: undefined, + Tags: undefined, + }; + if (output["Prefix"] !== undefined) { + contents.Prefix = output["Prefix"]; + } + if (output.Tag === "") { + contents.Tags = []; + } + if (output["Tag"] !== undefined) { + contents.Tags = deserializeAws_restXmlTagSet(__getArrayIfSingleItem(output["Tag"]), context); + } + return contents; +}; + +const deserializeAws_restXmlIntelligentTieringConfiguration = ( + output: any, + context: __SerdeContext +): IntelligentTieringConfiguration => { + let contents: any = { + Id: undefined, + Filter: undefined, + Status: undefined, + Tierings: undefined, + }; + if (output["Id"] !== undefined) { + contents.Id = output["Id"]; + } + if (output["Filter"] !== undefined) { + contents.Filter = deserializeAws_restXmlIntelligentTieringFilter(output["Filter"], context); + } + if (output["Status"] !== undefined) { + contents.Status = output["Status"]; + } + if (output.Tiering === "") { + contents.Tierings = []; + } + if (output["Tiering"] !== undefined) { + contents.Tierings = deserializeAws_restXmlTieringList(__getArrayIfSingleItem(output["Tiering"]), context); + } + return contents; +}; + +const deserializeAws_restXmlIntelligentTieringConfigurationList = ( + output: any, + context: __SerdeContext +): IntelligentTieringConfiguration[] => { + return (output || []).map((entry: any) => deserializeAws_restXmlIntelligentTieringConfiguration(entry, context)); +}; + +const deserializeAws_restXmlIntelligentTieringFilter = ( + output: any, + context: __SerdeContext +): IntelligentTieringFilter => { + let contents: any = { + Prefix: undefined, + Tag: undefined, + And: undefined, + }; + if (output["Prefix"] !== undefined) { + contents.Prefix = output["Prefix"]; + } + if (output["Tag"] !== undefined) { + contents.Tag = deserializeAws_restXmlTag(output["Tag"], context); + } + if (output["And"] !== undefined) { + contents.And = deserializeAws_restXmlIntelligentTieringAndOperator(output["And"], context); + } + return contents; +}; + const deserializeAws_restXmlInventoryConfiguration = (output: any, context: __SerdeContext): InventoryConfiguration => { let contents: any = { - IncludedObjectVersions: undefined, + Destination: undefined, IsEnabled: undefined, - Schedule: undefined, Filter: undefined, - OptionalFields: undefined, - Destination: undefined, Id: undefined, + IncludedObjectVersions: undefined, + OptionalFields: undefined, + Schedule: undefined, }; - if (output["IncludedObjectVersions"] !== undefined) { - contents.IncludedObjectVersions = output["IncludedObjectVersions"]; + if (output["Destination"] !== undefined) { + contents.Destination = deserializeAws_restXmlInventoryDestination(output["Destination"], context); } if (output["IsEnabled"] !== undefined) { contents.IsEnabled = output["IsEnabled"] == "true"; } - if (output["Schedule"] !== undefined) { - contents.Schedule = deserializeAws_restXmlInventorySchedule(output["Schedule"], context); - } if (output["Filter"] !== undefined) { contents.Filter = deserializeAws_restXmlInventoryFilter(output["Filter"], context); } + if (output["Id"] !== undefined) { + contents.Id = output["Id"]; + } + if (output["IncludedObjectVersions"] !== undefined) { + contents.IncludedObjectVersions = output["IncludedObjectVersions"]; + } if (output.OptionalFields === "") { contents.OptionalFields = []; } @@ -12153,11 +12718,8 @@ const deserializeAws_restXmlInventoryConfiguration = (output: any, context: __Se context ); } - if (output["Destination"] !== undefined) { - contents.Destination = deserializeAws_restXmlInventoryDestination(output["Destination"], context); - } - if (output["Id"] !== undefined) { - contents.Id = output["Id"]; + if (output["Schedule"] !== undefined) { + contents.Schedule = deserializeAws_restXmlInventorySchedule(output["Schedule"], context); } return contents; }; @@ -12184,15 +12746,15 @@ const deserializeAws_restXmlInventoryDestination = (output: any, context: __Serd const deserializeAws_restXmlInventoryEncryption = (output: any, context: __SerdeContext): InventoryEncryption => { let contents: any = { - SSEKMS: undefined, SSES3: undefined, + SSEKMS: undefined, }; - if (output["SSE-KMS"] !== undefined) { - contents.SSEKMS = deserializeAws_restXmlSSEKMS(output["SSE-KMS"], context); - } if (output["SSE-S3"] !== undefined) { contents.SSES3 = deserializeAws_restXmlSSES3(output["SSE-S3"], context); } + if (output["SSE-KMS"] !== undefined) { + contents.SSEKMS = deserializeAws_restXmlSSEKMS(output["SSE-KMS"], context); + } return contents; }; @@ -12218,26 +12780,26 @@ const deserializeAws_restXmlInventoryS3BucketDestination = ( context: __SerdeContext ): InventoryS3BucketDestination => { let contents: any = { + AccountId: undefined, + Bucket: undefined, Format: undefined, - Encryption: undefined, Prefix: undefined, - Bucket: undefined, - AccountId: undefined, + Encryption: undefined, }; + if (output["AccountId"] !== undefined) { + contents.AccountId = output["AccountId"]; + } + if (output["Bucket"] !== undefined) { + contents.Bucket = output["Bucket"]; + } if (output["Format"] !== undefined) { contents.Format = output["Format"]; } - if (output["Encryption"] !== undefined) { - contents.Encryption = deserializeAws_restXmlInventoryEncryption(output["Encryption"], context); - } if (output["Prefix"] !== undefined) { contents.Prefix = output["Prefix"]; } - if (output["Bucket"] !== undefined) { - contents.Bucket = output["Bucket"]; - } - if (output["AccountId"] !== undefined) { - contents.AccountId = output["AccountId"]; + if (output["Encryption"] !== undefined) { + contents.Encryption = deserializeAws_restXmlInventoryEncryption(output["Encryption"], context); } return contents; }; @@ -12257,11 +12819,17 @@ const deserializeAws_restXmlLambdaFunctionConfiguration = ( context: __SerdeContext ): LambdaFunctionConfiguration => { let contents: any = { + Id: undefined, + LambdaFunctionArn: undefined, Events: undefined, Filter: undefined, - LambdaFunctionArn: undefined, - Id: undefined, }; + if (output["Id"] !== undefined) { + contents.Id = output["Id"]; + } + if (output["CloudFunction"] !== undefined) { + contents.LambdaFunctionArn = output["CloudFunction"]; + } if (output.Event === "") { contents.Events = []; } @@ -12271,12 +12839,6 @@ const deserializeAws_restXmlLambdaFunctionConfiguration = ( if (output["Filter"] !== undefined) { contents.Filter = deserializeAws_restXmlNotificationConfigurationFilter(output["Filter"], context); } - if (output["CloudFunction"] !== undefined) { - contents.LambdaFunctionArn = output["CloudFunction"]; - } - if (output["Id"] !== undefined) { - contents.Id = output["Id"]; - } return contents; }; @@ -12289,57 +12851,63 @@ const deserializeAws_restXmlLambdaFunctionConfigurationList = ( const deserializeAws_restXmlLifecycleExpiration = (output: any, context: __SerdeContext): LifecycleExpiration => { let contents: any = { + Date: undefined, Days: undefined, ExpiredObjectDeleteMarker: undefined, - Date: undefined, }; + if (output["Date"] !== undefined) { + contents.Date = new Date(output["Date"]); + } if (output["Days"] !== undefined) { contents.Days = parseInt(output["Days"]); } if (output["ExpiredObjectDeleteMarker"] !== undefined) { contents.ExpiredObjectDeleteMarker = output["ExpiredObjectDeleteMarker"] == "true"; } - if (output["Date"] !== undefined) { - contents.Date = new Date(output["Date"]); - } return contents; }; const deserializeAws_restXmlLifecycleRule = (output: any, context: __SerdeContext): LifecycleRule => { let contents: any = { - NoncurrentVersionTransitions: undefined, Expiration: undefined, ID: undefined, - Transitions: undefined, Prefix: undefined, - NoncurrentVersionExpiration: undefined, - AbortIncompleteMultipartUpload: undefined, Filter: undefined, Status: undefined, + Transitions: undefined, + NoncurrentVersionTransitions: undefined, + NoncurrentVersionExpiration: undefined, + AbortIncompleteMultipartUpload: undefined, }; - if (output.NoncurrentVersionTransition === "") { - contents.NoncurrentVersionTransitions = []; - } - if (output["NoncurrentVersionTransition"] !== undefined) { - contents.NoncurrentVersionTransitions = deserializeAws_restXmlNoncurrentVersionTransitionList( - __getArrayIfSingleItem(output["NoncurrentVersionTransition"]), - context - ); - } if (output["Expiration"] !== undefined) { contents.Expiration = deserializeAws_restXmlLifecycleExpiration(output["Expiration"], context); } if (output["ID"] !== undefined) { contents.ID = output["ID"]; } + if (output["Prefix"] !== undefined) { + contents.Prefix = output["Prefix"]; + } + if (output["Filter"] !== undefined) { + contents.Filter = deserializeAws_restXmlLifecycleRuleFilter(output["Filter"], context); + } + if (output["Status"] !== undefined) { + contents.Status = output["Status"]; + } if (output.Transition === "") { contents.Transitions = []; } if (output["Transition"] !== undefined) { contents.Transitions = deserializeAws_restXmlTransitionList(__getArrayIfSingleItem(output["Transition"]), context); } - if (output["Prefix"] !== undefined) { - contents.Prefix = output["Prefix"]; + if (output.NoncurrentVersionTransition === "") { + contents.NoncurrentVersionTransitions = []; + } + if (output["NoncurrentVersionTransition"] !== undefined) { + contents.NoncurrentVersionTransitions = deserializeAws_restXmlNoncurrentVersionTransitionList( + __getArrayIfSingleItem(output["NoncurrentVersionTransition"]), + context + ); } if (output["NoncurrentVersionExpiration"] !== undefined) { contents.NoncurrentVersionExpiration = deserializeAws_restXmlNoncurrentVersionExpiration( @@ -12353,12 +12921,6 @@ const deserializeAws_restXmlLifecycleRule = (output: any, context: __SerdeContex context ); } - if (output["Filter"] !== undefined) { - contents.Filter = deserializeAws_restXmlLifecycleRuleFilter(output["Filter"], context); - } - if (output["Status"] !== undefined) { - contents.Status = output["Status"]; - } return contents; }; @@ -12384,19 +12946,19 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = ( const deserializeAws_restXmlLifecycleRuleFilter = (output: any, context: __SerdeContext): LifecycleRuleFilter => { let contents: any = { - And: undefined, Prefix: undefined, Tag: undefined, + And: undefined, }; - if (output["And"] !== undefined) { - contents.And = deserializeAws_restXmlLifecycleRuleAndOperator(output["And"], context); - } if (output["Prefix"] !== undefined) { contents.Prefix = output["Prefix"]; } if (output["Tag"] !== undefined) { contents.Tag = deserializeAws_restXmlTag(output["Tag"], context); } + if (output["And"] !== undefined) { + contents.And = deserializeAws_restXmlLifecycleRuleAndOperator(output["And"], context); + } return contents; }; @@ -12406,10 +12968,13 @@ const deserializeAws_restXmlLifecycleRules = (output: any, context: __SerdeConte const deserializeAws_restXmlLoggingEnabled = (output: any, context: __SerdeContext): LoggingEnabled => { let contents: any = { - TargetGrants: undefined, TargetBucket: undefined, + TargetGrants: undefined, TargetPrefix: undefined, }; + if (output["TargetBucket"] !== undefined) { + contents.TargetBucket = output["TargetBucket"]; + } if (output.TargetGrants === "") { contents.TargetGrants = []; } @@ -12419,9 +12984,6 @@ const deserializeAws_restXmlLoggingEnabled = (output: any, context: __SerdeConte context ); } - if (output["TargetBucket"] !== undefined) { - contents.TargetBucket = output["TargetBucket"]; - } if (output["TargetPrefix"] !== undefined) { contents.TargetPrefix = output["TargetPrefix"]; } @@ -12482,48 +13044,48 @@ const deserializeAws_restXmlMetricsConfigurationList = ( const deserializeAws_restXmlMetricsFilter = (output: any, context: __SerdeContext): MetricsFilter => { let contents: any = { - And: undefined, Prefix: undefined, Tag: undefined, + And: undefined, }; - if (output["And"] !== undefined) { - contents.And = deserializeAws_restXmlMetricsAndOperator(output["And"], context); - } if (output["Prefix"] !== undefined) { contents.Prefix = output["Prefix"]; } if (output["Tag"] !== undefined) { contents.Tag = deserializeAws_restXmlTag(output["Tag"], context); } + if (output["And"] !== undefined) { + contents.And = deserializeAws_restXmlMetricsAndOperator(output["And"], context); + } return contents; }; const deserializeAws_restXmlMultipartUpload = (output: any, context: __SerdeContext): MultipartUpload => { let contents: any = { - Initiator: undefined, UploadId: undefined, - Key: undefined, - Owner: undefined, - StorageClass: undefined, + Key: undefined, Initiated: undefined, + StorageClass: undefined, + Owner: undefined, + Initiator: undefined, }; - if (output["Initiator"] !== undefined) { - contents.Initiator = deserializeAws_restXmlInitiator(output["Initiator"], context); - } if (output["UploadId"] !== undefined) { contents.UploadId = output["UploadId"]; } if (output["Key"] !== undefined) { contents.Key = output["Key"]; } - if (output["Owner"] !== undefined) { - contents.Owner = deserializeAws_restXmlOwner(output["Owner"], context); + if (output["Initiated"] !== undefined) { + contents.Initiated = new Date(output["Initiated"]); } if (output["StorageClass"] !== undefined) { contents.StorageClass = output["StorageClass"]; } - if (output["Initiated"] !== undefined) { - contents.Initiated = new Date(output["Initiated"]); + if (output["Owner"] !== undefined) { + contents.Owner = deserializeAws_restXmlOwner(output["Owner"], context); + } + if (output["Initiator"] !== undefined) { + contents.Initiator = deserializeAws_restXmlInitiator(output["Initiator"], context); } return contents; }; @@ -12550,15 +13112,15 @@ const deserializeAws_restXmlNoncurrentVersionTransition = ( context: __SerdeContext ): NoncurrentVersionTransition => { let contents: any = { - StorageClass: undefined, NoncurrentDays: undefined, + StorageClass: undefined, }; - if (output["StorageClass"] !== undefined) { - contents.StorageClass = output["StorageClass"]; - } if (output["NoncurrentDays"] !== undefined) { contents.NoncurrentDays = parseInt(output["NoncurrentDays"]); } + if (output["StorageClass"] !== undefined) { + contents.StorageClass = output["StorageClass"]; + } return contents; }; @@ -12584,30 +13146,30 @@ const deserializeAws_restXmlNotificationConfigurationFilter = ( const deserializeAws_restXml_Object = (output: any, context: __SerdeContext): _Object => { let contents: any = { - Size: undefined, - ETag: undefined, - Owner: undefined, - StorageClass: undefined, Key: undefined, LastModified: undefined, + ETag: undefined, + Size: undefined, + StorageClass: undefined, + Owner: undefined, }; - if (output["Size"] !== undefined) { - contents.Size = parseInt(output["Size"]); + if (output["Key"] !== undefined) { + contents.Key = output["Key"]; + } + if (output["LastModified"] !== undefined) { + contents.LastModified = new Date(output["LastModified"]); } if (output["ETag"] !== undefined) { contents.ETag = output["ETag"]; } - if (output["Owner"] !== undefined) { - contents.Owner = deserializeAws_restXmlOwner(output["Owner"], context); + if (output["Size"] !== undefined) { + contents.Size = parseInt(output["Size"]); } if (output["StorageClass"] !== undefined) { contents.StorageClass = output["StorageClass"]; } - if (output["Key"] !== undefined) { - contents.Key = output["Key"]; - } - if (output["LastModified"] !== undefined) { - contents.LastModified = new Date(output["LastModified"]); + if (output["Owner"] !== undefined) { + contents.Owner = deserializeAws_restXmlOwner(output["Owner"], context); } return contents; }; @@ -12669,38 +13231,38 @@ const deserializeAws_restXmlObjectLockRule = (output: any, context: __SerdeConte const deserializeAws_restXmlObjectVersion = (output: any, context: __SerdeContext): ObjectVersion => { let contents: any = { + ETag: undefined, Size: undefined, - Key: undefined, StorageClass: undefined, - Owner: undefined, + Key: undefined, + VersionId: undefined, IsLatest: undefined, - ETag: undefined, LastModified: undefined, - VersionId: undefined, + Owner: undefined, }; + if (output["ETag"] !== undefined) { + contents.ETag = output["ETag"]; + } if (output["Size"] !== undefined) { contents.Size = parseInt(output["Size"]); } - if (output["Key"] !== undefined) { - contents.Key = output["Key"]; - } if (output["StorageClass"] !== undefined) { contents.StorageClass = output["StorageClass"]; } - if (output["Owner"] !== undefined) { - contents.Owner = deserializeAws_restXmlOwner(output["Owner"], context); + if (output["Key"] !== undefined) { + contents.Key = output["Key"]; + } + if (output["VersionId"] !== undefined) { + contents.VersionId = output["VersionId"]; } if (output["IsLatest"] !== undefined) { contents.IsLatest = output["IsLatest"] == "true"; } - if (output["ETag"] !== undefined) { - contents.ETag = output["ETag"]; - } if (output["LastModified"] !== undefined) { contents.LastModified = new Date(output["LastModified"]); } - if (output["VersionId"] !== undefined) { - contents.VersionId = output["VersionId"]; + if (output["Owner"] !== undefined) { + contents.Owner = deserializeAws_restXmlOwner(output["Owner"], context); } return contents; }; @@ -12755,23 +13317,23 @@ const deserializeAws_restXmlOwnershipControlsRules = ( const deserializeAws_restXmlPart = (output: any, context: __SerdeContext): Part => { let contents: any = { - Size: undefined, - LastModified: undefined, PartNumber: undefined, + LastModified: undefined, ETag: undefined, + Size: undefined, }; - if (output["Size"] !== undefined) { - contents.Size = parseInt(output["Size"]); + if (output["PartNumber"] !== undefined) { + contents.PartNumber = parseInt(output["PartNumber"]); } if (output["LastModified"] !== undefined) { contents.LastModified = new Date(output["LastModified"]); } - if (output["PartNumber"] !== undefined) { - contents.PartNumber = parseInt(output["PartNumber"]); - } if (output["ETag"] !== undefined) { contents.ETag = output["ETag"]; } + if (output["Size"] !== undefined) { + contents.Size = parseInt(output["Size"]); + } return contents; }; @@ -12794,48 +13356,48 @@ const deserializeAws_restXmlPublicAccessBlockConfiguration = ( context: __SerdeContext ): PublicAccessBlockConfiguration => { let contents: any = { - BlockPublicPolicy: undefined, BlockPublicAcls: undefined, - RestrictPublicBuckets: undefined, IgnorePublicAcls: undefined, + BlockPublicPolicy: undefined, + RestrictPublicBuckets: undefined, }; - if (output["BlockPublicPolicy"] !== undefined) { - contents.BlockPublicPolicy = output["BlockPublicPolicy"] == "true"; - } if (output["BlockPublicAcls"] !== undefined) { contents.BlockPublicAcls = output["BlockPublicAcls"] == "true"; } - if (output["RestrictPublicBuckets"] !== undefined) { - contents.RestrictPublicBuckets = output["RestrictPublicBuckets"] == "true"; - } if (output["IgnorePublicAcls"] !== undefined) { contents.IgnorePublicAcls = output["IgnorePublicAcls"] == "true"; } + if (output["BlockPublicPolicy"] !== undefined) { + contents.BlockPublicPolicy = output["BlockPublicPolicy"] == "true"; + } + if (output["RestrictPublicBuckets"] !== undefined) { + contents.RestrictPublicBuckets = output["RestrictPublicBuckets"] == "true"; + } return contents; }; const deserializeAws_restXmlQueueConfiguration = (output: any, context: __SerdeContext): QueueConfiguration => { let contents: any = { - Events: undefined, Id: undefined, - Filter: undefined, QueueArn: undefined, + Events: undefined, + Filter: undefined, }; + if (output["Id"] !== undefined) { + contents.Id = output["Id"]; + } + if (output["Queue"] !== undefined) { + contents.QueueArn = output["Queue"]; + } if (output.Event === "") { contents.Events = []; } if (output["Event"] !== undefined) { contents.Events = deserializeAws_restXmlEventList(__getArrayIfSingleItem(output["Event"]), context); } - if (output["Id"] !== undefined) { - contents.Id = output["Id"]; - } if (output["Filter"] !== undefined) { contents.Filter = deserializeAws_restXmlNotificationConfigurationFilter(output["Filter"], context); } - if (output["Queue"] !== undefined) { - contents.QueueArn = output["Queue"]; - } return contents; }; @@ -12845,23 +13407,23 @@ const deserializeAws_restXmlQueueConfigurationList = (output: any, context: __Se const deserializeAws_restXmlRedirect = (output: any, context: __SerdeContext): Redirect => { let contents: any = { + HostName: undefined, HttpRedirectCode: undefined, - ReplaceKeyPrefixWith: undefined, Protocol: undefined, - HostName: undefined, + ReplaceKeyPrefixWith: undefined, ReplaceKeyWith: undefined, }; + if (output["HostName"] !== undefined) { + contents.HostName = output["HostName"]; + } if (output["HttpRedirectCode"] !== undefined) { contents.HttpRedirectCode = output["HttpRedirectCode"]; } - if (output["ReplaceKeyPrefixWith"] !== undefined) { - contents.ReplaceKeyPrefixWith = output["ReplaceKeyPrefixWith"]; - } if (output["Protocol"] !== undefined) { contents.Protocol = output["Protocol"]; } - if (output["HostName"] !== undefined) { - contents.HostName = output["HostName"]; + if (output["ReplaceKeyPrefixWith"] !== undefined) { + contents.ReplaceKeyPrefixWith = output["ReplaceKeyPrefixWith"]; } if (output["ReplaceKeyWith"] !== undefined) { contents.ReplaceKeyWith = output["ReplaceKeyWith"]; @@ -12871,15 +13433,15 @@ const deserializeAws_restXmlRedirect = (output: any, context: __SerdeContext): R const deserializeAws_restXmlRedirectAllRequestsTo = (output: any, context: __SerdeContext): RedirectAllRequestsTo => { let contents: any = { - Protocol: undefined, HostName: undefined, + Protocol: undefined, }; - if (output["Protocol"] !== undefined) { - contents.Protocol = output["Protocol"]; - } if (output["HostName"] !== undefined) { contents.HostName = output["HostName"]; } + if (output["Protocol"] !== undefined) { + contents.Protocol = output["Protocol"]; + } return contents; }; @@ -12905,43 +13467,37 @@ const deserializeAws_restXmlReplicationConfiguration = ( const deserializeAws_restXmlReplicationRule = (output: any, context: __SerdeContext): ReplicationRule => { let contents: any = { - Prefix: undefined, ID: undefined, - SourceSelectionCriteria: undefined, - DeleteMarkerReplication: undefined, - Filter: undefined, Priority: undefined, + Prefix: undefined, + Filter: undefined, Status: undefined, + SourceSelectionCriteria: undefined, ExistingObjectReplication: undefined, Destination: undefined, + DeleteMarkerReplication: undefined, }; - if (output["Prefix"] !== undefined) { - contents.Prefix = output["Prefix"]; - } if (output["ID"] !== undefined) { contents.ID = output["ID"]; } - if (output["SourceSelectionCriteria"] !== undefined) { - contents.SourceSelectionCriteria = deserializeAws_restXmlSourceSelectionCriteria( - output["SourceSelectionCriteria"], - context - ); + if (output["Priority"] !== undefined) { + contents.Priority = parseInt(output["Priority"]); } - if (output["DeleteMarkerReplication"] !== undefined) { - contents.DeleteMarkerReplication = deserializeAws_restXmlDeleteMarkerReplication( - output["DeleteMarkerReplication"], - context - ); + if (output["Prefix"] !== undefined) { + contents.Prefix = output["Prefix"]; } if (output["Filter"] !== undefined) { contents.Filter = deserializeAws_restXmlReplicationRuleFilter(output["Filter"], context); } - if (output["Priority"] !== undefined) { - contents.Priority = parseInt(output["Priority"]); - } if (output["Status"] !== undefined) { contents.Status = output["Status"]; } + if (output["SourceSelectionCriteria"] !== undefined) { + contents.SourceSelectionCriteria = deserializeAws_restXmlSourceSelectionCriteria( + output["SourceSelectionCriteria"], + context + ); + } if (output["ExistingObjectReplication"] !== undefined) { contents.ExistingObjectReplication = deserializeAws_restXmlExistingObjectReplication( output["ExistingObjectReplication"], @@ -12951,6 +13507,12 @@ const deserializeAws_restXmlReplicationRule = (output: any, context: __SerdeCont if (output["Destination"] !== undefined) { contents.Destination = deserializeAws_restXmlDestination(output["Destination"], context); } + if (output["DeleteMarkerReplication"] !== undefined) { + contents.DeleteMarkerReplication = deserializeAws_restXmlDeleteMarkerReplication( + output["DeleteMarkerReplication"], + context + ); + } return contents; }; @@ -12976,16 +13538,16 @@ const deserializeAws_restXmlReplicationRuleAndOperator = ( const deserializeAws_restXmlReplicationRuleFilter = (output: any, context: __SerdeContext): ReplicationRuleFilter => { let contents: any = { - Tag: undefined, Prefix: undefined, + Tag: undefined, And: undefined, }; - if (output["Tag"] !== undefined) { - contents.Tag = deserializeAws_restXmlTag(output["Tag"], context); - } if (output["Prefix"] !== undefined) { contents.Prefix = output["Prefix"]; } + if (output["Tag"] !== undefined) { + contents.Tag = deserializeAws_restXmlTag(output["Tag"], context); + } if (output["And"] !== undefined) { contents.And = deserializeAws_restXmlReplicationRuleAndOperator(output["And"], context); } @@ -12998,15 +13560,15 @@ const deserializeAws_restXmlReplicationRules = (output: any, context: __SerdeCon const deserializeAws_restXmlReplicationTime = (output: any, context: __SerdeContext): ReplicationTime => { let contents: any = { - Time: undefined, Status: undefined, + Time: undefined, }; - if (output["Time"] !== undefined) { - contents.Time = deserializeAws_restXmlReplicationTimeValue(output["Time"], context); - } if (output["Status"] !== undefined) { contents.Status = output["Status"]; } + if (output["Time"] !== undefined) { + contents.Time = deserializeAws_restXmlReplicationTimeValue(output["Time"], context); + } return contents; }; @@ -13022,15 +13584,15 @@ const deserializeAws_restXmlReplicationTimeValue = (output: any, context: __Serd const deserializeAws_restXmlRoutingRule = (output: any, context: __SerdeContext): RoutingRule => { let contents: any = { - Redirect: undefined, Condition: undefined, + Redirect: undefined, }; - if (output["Redirect"] !== undefined) { - contents.Redirect = deserializeAws_restXmlRedirect(output["Redirect"], context); - } if (output["Condition"] !== undefined) { contents.Condition = deserializeAws_restXmlCondition(output["Condition"], context); } + if (output["Redirect"] !== undefined) { + contents.Redirect = deserializeAws_restXmlRedirect(output["Redirect"], context); + } return contents; }; @@ -13177,15 +13739,15 @@ const deserializeAws_restXmlStorageClassAnalysisDataExport = ( const deserializeAws_restXmlTag = (output: any, context: __SerdeContext): Tag => { let contents: any = { - Value: undefined, Key: undefined, + Value: undefined, }; - if (output["Value"] !== undefined) { - contents.Value = output["Value"]; - } if (output["Key"] !== undefined) { contents.Key = output["Key"]; } + if (output["Value"] !== undefined) { + contents.Value = output["Value"]; + } return contents; }; @@ -13211,13 +13773,37 @@ const deserializeAws_restXmlTargetGrants = (output: any, context: __SerdeContext return (output || []).map((entry: any) => deserializeAws_restXmlTargetGrant(entry, context)); }; +const deserializeAws_restXmlTiering = (output: any, context: __SerdeContext): Tiering => { + let contents: any = { + Days: undefined, + AccessTier: undefined, + }; + if (output["Days"] !== undefined) { + contents.Days = parseInt(output["Days"]); + } + if (output["AccessTier"] !== undefined) { + contents.AccessTier = output["AccessTier"]; + } + return contents; +}; + +const deserializeAws_restXmlTieringList = (output: any, context: __SerdeContext): Tiering[] => { + return (output || []).map((entry: any) => deserializeAws_restXmlTiering(entry, context)); +}; + const deserializeAws_restXmlTopicConfiguration = (output: any, context: __SerdeContext): TopicConfiguration => { let contents: any = { + Id: undefined, + TopicArn: undefined, Events: undefined, Filter: undefined, - TopicArn: undefined, - Id: undefined, }; + if (output["Id"] !== undefined) { + contents.Id = output["Id"]; + } + if (output["Topic"] !== undefined) { + contents.TopicArn = output["Topic"]; + } if (output.Event === "") { contents.Events = []; } @@ -13227,12 +13813,6 @@ const deserializeAws_restXmlTopicConfiguration = (output: any, context: __SerdeC if (output["Filter"] !== undefined) { contents.Filter = deserializeAws_restXmlNotificationConfigurationFilter(output["Filter"], context); } - if (output["Topic"] !== undefined) { - contents.TopicArn = output["Topic"]; - } - if (output["Id"] !== undefined) { - contents.Id = output["Id"]; - } return contents; }; @@ -13242,16 +13822,16 @@ const deserializeAws_restXmlTopicConfigurationList = (output: any, context: __Se const deserializeAws_restXmlTransition = (output: any, context: __SerdeContext): Transition => { let contents: any = { - Days: undefined, Date: undefined, + Days: undefined, StorageClass: undefined, }; - if (output["Days"] !== undefined) { - contents.Days = parseInt(output["Days"]); - } if (output["Date"] !== undefined) { contents.Date = new Date(output["Date"]); } + if (output["Days"] !== undefined) { + contents.Days = parseInt(output["Days"]); + } if (output["StorageClass"] !== undefined) { contents.StorageClass = output["StorageClass"]; } diff --git a/clients/client-s3outposts/pagination/ListEndpointsPaginator.ts b/clients/client-s3outposts/pagination/ListEndpointsPaginator.ts index 853093c52a76..1f160122103c 100644 --- a/clients/client-s3outposts/pagination/ListEndpointsPaginator.ts +++ b/clients/client-s3outposts/pagination/ListEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEndpointsCommand(input), ...args); + return await client.send(new ListEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: S3Outposts, diff --git a/clients/client-sagemaker-a2i-runtime/pagination/ListHumanLoopsPaginator.ts b/clients/client-sagemaker-a2i-runtime/pagination/ListHumanLoopsPaginator.ts index 9b24b107107f..992d7e14f968 100644 --- a/clients/client-sagemaker-a2i-runtime/pagination/ListHumanLoopsPaginator.ts +++ b/clients/client-sagemaker-a2i-runtime/pagination/ListHumanLoopsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHumanLoopsCommand(input), ...args); + return await client.send(new ListHumanLoopsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMakerA2IRuntime, diff --git a/clients/client-sagemaker/pagination/ListAlgorithmsPaginator.ts b/clients/client-sagemaker/pagination/ListAlgorithmsPaginator.ts index d6dd5f1c9d73..5c4bdef9de0d 100644 --- a/clients/client-sagemaker/pagination/ListAlgorithmsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListAlgorithmsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAlgorithmsCommand(input), ...args); + return await client.send(new ListAlgorithmsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListAppsPaginator.ts b/clients/client-sagemaker/pagination/ListAppsPaginator.ts index 4321508c1b8e..571de167048f 100644 --- a/clients/client-sagemaker/pagination/ListAppsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListAppsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAppsCommand(input), ...args); + return await client.send(new ListAppsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListAutoMLJobsPaginator.ts b/clients/client-sagemaker/pagination/ListAutoMLJobsPaginator.ts index 09cce034b48a..d9bd0fb0178c 100644 --- a/clients/client-sagemaker/pagination/ListAutoMLJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListAutoMLJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAutoMLJobsCommand(input), ...args); + return await client.send(new ListAutoMLJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListCandidatesForAutoMLJobPaginator.ts b/clients/client-sagemaker/pagination/ListCandidatesForAutoMLJobPaginator.ts index 2a1509348f54..6f3b8116ada3 100644 --- a/clients/client-sagemaker/pagination/ListCandidatesForAutoMLJobPaginator.ts +++ b/clients/client-sagemaker/pagination/ListCandidatesForAutoMLJobPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCandidatesForAutoMLJobCommand(input), ...args); + return await client.send(new ListCandidatesForAutoMLJobCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListCodeRepositoriesPaginator.ts b/clients/client-sagemaker/pagination/ListCodeRepositoriesPaginator.ts index 4c3b951358a1..cb39eb195ba3 100644 --- a/clients/client-sagemaker/pagination/ListCodeRepositoriesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListCodeRepositoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCodeRepositoriesCommand(input), ...args); + return await client.send(new ListCodeRepositoriesCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListCompilationJobsPaginator.ts b/clients/client-sagemaker/pagination/ListCompilationJobsPaginator.ts index 46295a34a2d2..e3fb59c8c682 100644 --- a/clients/client-sagemaker/pagination/ListCompilationJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListCompilationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCompilationJobsCommand(input), ...args); + return await client.send(new ListCompilationJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListDomainsPaginator.ts b/clients/client-sagemaker/pagination/ListDomainsPaginator.ts index 2c0096732f1d..7a54ee6b4c6b 100644 --- a/clients/client-sagemaker/pagination/ListDomainsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input), ...args); + return await client.send(new ListDomainsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListEndpointConfigsPaginator.ts b/clients/client-sagemaker/pagination/ListEndpointConfigsPaginator.ts index 617d06a8cfcb..c3f35421c9f8 100644 --- a/clients/client-sagemaker/pagination/ListEndpointConfigsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListEndpointConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEndpointConfigsCommand(input), ...args); + return await client.send(new ListEndpointConfigsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListEndpointsPaginator.ts b/clients/client-sagemaker/pagination/ListEndpointsPaginator.ts index 57ea3864b4bd..71414c99b0bc 100644 --- a/clients/client-sagemaker/pagination/ListEndpointsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEndpointsCommand(input), ...args); + return await client.send(new ListEndpointsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListExperimentsPaginator.ts b/clients/client-sagemaker/pagination/ListExperimentsPaginator.ts index 6e55d003a517..17157154f983 100644 --- a/clients/client-sagemaker/pagination/ListExperimentsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListExperimentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListExperimentsCommand(input), ...args); + return await client.send(new ListExperimentsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListFlowDefinitionsPaginator.ts b/clients/client-sagemaker/pagination/ListFlowDefinitionsPaginator.ts index 8b90e2841083..5051c8e6df9f 100644 --- a/clients/client-sagemaker/pagination/ListFlowDefinitionsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListFlowDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFlowDefinitionsCommand(input), ...args); + return await client.send(new ListFlowDefinitionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListHumanTaskUisPaginator.ts b/clients/client-sagemaker/pagination/ListHumanTaskUisPaginator.ts index af2cd435ef53..587595096024 100644 --- a/clients/client-sagemaker/pagination/ListHumanTaskUisPaginator.ts +++ b/clients/client-sagemaker/pagination/ListHumanTaskUisPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHumanTaskUisCommand(input), ...args); + return await client.send(new ListHumanTaskUisCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListHyperParameterTuningJobsPaginator.ts b/clients/client-sagemaker/pagination/ListHyperParameterTuningJobsPaginator.ts index 546391ade59c..1a6dc68cecf7 100644 --- a/clients/client-sagemaker/pagination/ListHyperParameterTuningJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListHyperParameterTuningJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHyperParameterTuningJobsCommand(input), ...args); + return await client.send(new ListHyperParameterTuningJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListImageVersionsPaginator.ts b/clients/client-sagemaker/pagination/ListImageVersionsPaginator.ts index 759cd7c97987..8dda85217574 100644 --- a/clients/client-sagemaker/pagination/ListImageVersionsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListImageVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImageVersionsCommand(input), ...args); + return await client.send(new ListImageVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListImagesPaginator.ts b/clients/client-sagemaker/pagination/ListImagesPaginator.ts index d6e6eb814dbd..8d74d58c53d2 100644 --- a/clients/client-sagemaker/pagination/ListImagesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListImagesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagesCommand(input), ...args); + return await client.send(new ListImagesCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListLabelingJobsForWorkteamPaginator.ts b/clients/client-sagemaker/pagination/ListLabelingJobsForWorkteamPaginator.ts index 87e42cbbd402..419679649983 100644 --- a/clients/client-sagemaker/pagination/ListLabelingJobsForWorkteamPaginator.ts +++ b/clients/client-sagemaker/pagination/ListLabelingJobsForWorkteamPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLabelingJobsForWorkteamCommand(input), ...args); + return await client.send(new ListLabelingJobsForWorkteamCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListLabelingJobsPaginator.ts b/clients/client-sagemaker/pagination/ListLabelingJobsPaginator.ts index f9641e13c41c..8410cf747e7e 100644 --- a/clients/client-sagemaker/pagination/ListLabelingJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListLabelingJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLabelingJobsCommand(input), ...args); + return await client.send(new ListLabelingJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListModelPackagesPaginator.ts b/clients/client-sagemaker/pagination/ListModelPackagesPaginator.ts index f50d0f42ec9a..08cbdab29198 100644 --- a/clients/client-sagemaker/pagination/ListModelPackagesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListModelPackagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListModelPackagesCommand(input), ...args); + return await client.send(new ListModelPackagesCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListModelsPaginator.ts b/clients/client-sagemaker/pagination/ListModelsPaginator.ts index 6802d4115a87..8c1933984461 100644 --- a/clients/client-sagemaker/pagination/ListModelsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListModelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListModelsCommand(input), ...args); + return await client.send(new ListModelsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListMonitoringExecutionsPaginator.ts b/clients/client-sagemaker/pagination/ListMonitoringExecutionsPaginator.ts index 6b80fa93fe6e..b9be253e7581 100644 --- a/clients/client-sagemaker/pagination/ListMonitoringExecutionsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListMonitoringExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMonitoringExecutionsCommand(input), ...args); + return await client.send(new ListMonitoringExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListMonitoringSchedulesPaginator.ts b/clients/client-sagemaker/pagination/ListMonitoringSchedulesPaginator.ts index e4f60af03825..c73eaed9c419 100644 --- a/clients/client-sagemaker/pagination/ListMonitoringSchedulesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListMonitoringSchedulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMonitoringSchedulesCommand(input), ...args); + return await client.send(new ListMonitoringSchedulesCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListNotebookInstanceLifecycleConfigsPaginator.ts b/clients/client-sagemaker/pagination/ListNotebookInstanceLifecycleConfigsPaginator.ts index ce66ae16ac45..babaff43eb27 100644 --- a/clients/client-sagemaker/pagination/ListNotebookInstanceLifecycleConfigsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListNotebookInstanceLifecycleConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNotebookInstanceLifecycleConfigsCommand(input), ...args); + return await client.send(new ListNotebookInstanceLifecycleConfigsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListNotebookInstancesPaginator.ts b/clients/client-sagemaker/pagination/ListNotebookInstancesPaginator.ts index 0b37c650e100..b0ce0d0ceaec 100644 --- a/clients/client-sagemaker/pagination/ListNotebookInstancesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListNotebookInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNotebookInstancesCommand(input), ...args); + return await client.send(new ListNotebookInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListProcessingJobsPaginator.ts b/clients/client-sagemaker/pagination/ListProcessingJobsPaginator.ts index 7808395f8e6d..0b636b0862e7 100644 --- a/clients/client-sagemaker/pagination/ListProcessingJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListProcessingJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProcessingJobsCommand(input), ...args); + return await client.send(new ListProcessingJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListSubscribedWorkteamsPaginator.ts b/clients/client-sagemaker/pagination/ListSubscribedWorkteamsPaginator.ts index 3056bcf3eb56..11af1cd016d6 100644 --- a/clients/client-sagemaker/pagination/ListSubscribedWorkteamsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListSubscribedWorkteamsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSubscribedWorkteamsCommand(input), ...args); + return await client.send(new ListSubscribedWorkteamsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTagsPaginator.ts b/clients/client-sagemaker/pagination/ListTagsPaginator.ts index 71254dd36bff..283741834eca 100644 --- a/clients/client-sagemaker/pagination/ListTagsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input), ...args); + return await client.send(new ListTagsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.ts b/clients/client-sagemaker/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.ts index 4c1f2afdf604..84a33e5e2de3 100644 --- a/clients/client-sagemaker/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrainingJobsForHyperParameterTuningJobCommand(input), ...args); + return await client.send(new ListTrainingJobsForHyperParameterTuningJobCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTrainingJobsPaginator.ts b/clients/client-sagemaker/pagination/ListTrainingJobsPaginator.ts index 5bac6752ee65..f5b4c26243ed 100644 --- a/clients/client-sagemaker/pagination/ListTrainingJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTrainingJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrainingJobsCommand(input), ...args); + return await client.send(new ListTrainingJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTransformJobsPaginator.ts b/clients/client-sagemaker/pagination/ListTransformJobsPaginator.ts index 5759bfcdd7ff..ca32686007ae 100644 --- a/clients/client-sagemaker/pagination/ListTransformJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTransformJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTransformJobsCommand(input), ...args); + return await client.send(new ListTransformJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTrialComponentsPaginator.ts b/clients/client-sagemaker/pagination/ListTrialComponentsPaginator.ts index 16f8e133cc5b..b1e04d2c9541 100644 --- a/clients/client-sagemaker/pagination/ListTrialComponentsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTrialComponentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrialComponentsCommand(input), ...args); + return await client.send(new ListTrialComponentsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTrialsPaginator.ts b/clients/client-sagemaker/pagination/ListTrialsPaginator.ts index e4ad3791c6a5..8c2188214520 100644 --- a/clients/client-sagemaker/pagination/ListTrialsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTrialsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrialsCommand(input), ...args); + return await client.send(new ListTrialsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListUserProfilesPaginator.ts b/clients/client-sagemaker/pagination/ListUserProfilesPaginator.ts index 473fab833208..c0acfacb151e 100644 --- a/clients/client-sagemaker/pagination/ListUserProfilesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListUserProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUserProfilesCommand(input), ...args); + return await client.send(new ListUserProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListWorkforcesPaginator.ts b/clients/client-sagemaker/pagination/ListWorkforcesPaginator.ts index 0106b8fd77ee..3d8d23c2fe6c 100644 --- a/clients/client-sagemaker/pagination/ListWorkforcesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListWorkforcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkforcesCommand(input), ...args); + return await client.send(new ListWorkforcesCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListWorkteamsPaginator.ts b/clients/client-sagemaker/pagination/ListWorkteamsPaginator.ts index 6b2d3a924d15..e2742e9b3ba2 100644 --- a/clients/client-sagemaker/pagination/ListWorkteamsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListWorkteamsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkteamsCommand(input), ...args); + return await client.send(new ListWorkteamsCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/SearchPaginator.ts b/clients/client-sagemaker/pagination/SearchPaginator.ts index 16f145acac4a..29b3bab3b470 100644 --- a/clients/client-sagemaker/pagination/SearchPaginator.ts +++ b/clients/client-sagemaker/pagination/SearchPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchCommand(input), ...args); + return await client.send(new SearchCommand(input, ...args)); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-schemas/pagination/ListDiscoverersPaginator.ts b/clients/client-schemas/pagination/ListDiscoverersPaginator.ts index 57deed29aa0b..2460ce12b975 100644 --- a/clients/client-schemas/pagination/ListDiscoverersPaginator.ts +++ b/clients/client-schemas/pagination/ListDiscoverersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDiscoverersCommand(input), ...args); + return await client.send(new ListDiscoverersCommand(input, ...args)); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-schemas/pagination/ListRegistriesPaginator.ts b/clients/client-schemas/pagination/ListRegistriesPaginator.ts index 7c33fdd97634..b7eb22a33cdc 100644 --- a/clients/client-schemas/pagination/ListRegistriesPaginator.ts +++ b/clients/client-schemas/pagination/ListRegistriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRegistriesCommand(input), ...args); + return await client.send(new ListRegistriesCommand(input, ...args)); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-schemas/pagination/ListSchemaVersionsPaginator.ts b/clients/client-schemas/pagination/ListSchemaVersionsPaginator.ts index f7b4f8d46066..956a12228d2b 100644 --- a/clients/client-schemas/pagination/ListSchemaVersionsPaginator.ts +++ b/clients/client-schemas/pagination/ListSchemaVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSchemaVersionsCommand(input), ...args); + return await client.send(new ListSchemaVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-schemas/pagination/ListSchemasPaginator.ts b/clients/client-schemas/pagination/ListSchemasPaginator.ts index af8141769c92..6a86c9975775 100644 --- a/clients/client-schemas/pagination/ListSchemasPaginator.ts +++ b/clients/client-schemas/pagination/ListSchemasPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSchemasCommand(input), ...args); + return await client.send(new ListSchemasCommand(input, ...args)); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-schemas/pagination/SearchSchemasPaginator.ts b/clients/client-schemas/pagination/SearchSchemasPaginator.ts index b7c0a3974dfd..52c0c492002f 100644 --- a/clients/client-schemas/pagination/SearchSchemasPaginator.ts +++ b/clients/client-schemas/pagination/SearchSchemasPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchSchemasCommand(input), ...args); + return await client.send(new SearchSchemasCommand(input, ...args)); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-secrets-manager/pagination/ListSecretVersionIdsPaginator.ts b/clients/client-secrets-manager/pagination/ListSecretVersionIdsPaginator.ts index 3a01c035ec25..102a6ae03f15 100644 --- a/clients/client-secrets-manager/pagination/ListSecretVersionIdsPaginator.ts +++ b/clients/client-secrets-manager/pagination/ListSecretVersionIdsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecretVersionIdsCommand(input), ...args); + return await client.send(new ListSecretVersionIdsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecretsManager, diff --git a/clients/client-secrets-manager/pagination/ListSecretsPaginator.ts b/clients/client-secrets-manager/pagination/ListSecretsPaginator.ts index 0da48712fd91..42fd5be28b7c 100644 --- a/clients/client-secrets-manager/pagination/ListSecretsPaginator.ts +++ b/clients/client-secrets-manager/pagination/ListSecretsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecretsCommand(input), ...args); + return await client.send(new ListSecretsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecretsManager, diff --git a/clients/client-securityhub/pagination/DescribeActionTargetsPaginator.ts b/clients/client-securityhub/pagination/DescribeActionTargetsPaginator.ts index ae2f527fb505..da698143308d 100644 --- a/clients/client-securityhub/pagination/DescribeActionTargetsPaginator.ts +++ b/clients/client-securityhub/pagination/DescribeActionTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeActionTargetsCommand(input), ...args); + return await client.send(new DescribeActionTargetsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/DescribeProductsPaginator.ts b/clients/client-securityhub/pagination/DescribeProductsPaginator.ts index 721e21524a58..f8c80eded936 100644 --- a/clients/client-securityhub/pagination/DescribeProductsPaginator.ts +++ b/clients/client-securityhub/pagination/DescribeProductsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeProductsCommand(input), ...args); + return await client.send(new DescribeProductsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/DescribeStandardsControlsPaginator.ts b/clients/client-securityhub/pagination/DescribeStandardsControlsPaginator.ts index e094c2cbd81e..9d03e072a2b2 100644 --- a/clients/client-securityhub/pagination/DescribeStandardsControlsPaginator.ts +++ b/clients/client-securityhub/pagination/DescribeStandardsControlsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStandardsControlsCommand(input), ...args); + return await client.send(new DescribeStandardsControlsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/DescribeStandardsPaginator.ts b/clients/client-securityhub/pagination/DescribeStandardsPaginator.ts index c28a7006c51f..cdda45c7aefc 100644 --- a/clients/client-securityhub/pagination/DescribeStandardsPaginator.ts +++ b/clients/client-securityhub/pagination/DescribeStandardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStandardsCommand(input), ...args); + return await client.send(new DescribeStandardsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/GetEnabledStandardsPaginator.ts b/clients/client-securityhub/pagination/GetEnabledStandardsPaginator.ts index 693bd7077323..3df3936ec850 100644 --- a/clients/client-securityhub/pagination/GetEnabledStandardsPaginator.ts +++ b/clients/client-securityhub/pagination/GetEnabledStandardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetEnabledStandardsCommand(input), ...args); + return await client.send(new GetEnabledStandardsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/GetFindingsPaginator.ts b/clients/client-securityhub/pagination/GetFindingsPaginator.ts index 5af103e23b36..908253b4f7b0 100644 --- a/clients/client-securityhub/pagination/GetFindingsPaginator.ts +++ b/clients/client-securityhub/pagination/GetFindingsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetFindingsCommand(input), ...args); + return await client.send(new GetFindingsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/GetInsightsPaginator.ts b/clients/client-securityhub/pagination/GetInsightsPaginator.ts index f529e18d29fb..7047f6ba91cf 100644 --- a/clients/client-securityhub/pagination/GetInsightsPaginator.ts +++ b/clients/client-securityhub/pagination/GetInsightsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInsightsCommand(input), ...args); + return await client.send(new GetInsightsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/ListEnabledProductsForImportPaginator.ts b/clients/client-securityhub/pagination/ListEnabledProductsForImportPaginator.ts index f5c57cc9eeba..39cb836bea17 100644 --- a/clients/client-securityhub/pagination/ListEnabledProductsForImportPaginator.ts +++ b/clients/client-securityhub/pagination/ListEnabledProductsForImportPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEnabledProductsForImportCommand(input), ...args); + return await client.send(new ListEnabledProductsForImportCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/ListInvitationsPaginator.ts b/clients/client-securityhub/pagination/ListInvitationsPaginator.ts index 02bd12bf8713..5d2bde56caff 100644 --- a/clients/client-securityhub/pagination/ListInvitationsPaginator.ts +++ b/clients/client-securityhub/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input), ...args); + return await client.send(new ListInvitationsCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/ListMembersPaginator.ts b/clients/client-securityhub/pagination/ListMembersPaginator.ts index 462f35266cfa..3243e3074bd5 100644 --- a/clients/client-securityhub/pagination/ListMembersPaginator.ts +++ b/clients/client-securityhub/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input), ...args); + return await client.send(new ListMembersCommand(input, ...args)); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-serverlessapplicationrepository/pagination/ListApplicationDependenciesPaginator.ts b/clients/client-serverlessapplicationrepository/pagination/ListApplicationDependenciesPaginator.ts index fb6ceeda1b23..2049c7c53dba 100644 --- a/clients/client-serverlessapplicationrepository/pagination/ListApplicationDependenciesPaginator.ts +++ b/clients/client-serverlessapplicationrepository/pagination/ListApplicationDependenciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationDependenciesCommand(input), ...args); + return await client.send(new ListApplicationDependenciesCommand(input, ...args)); }; const makePagedRequest = async ( client: ServerlessApplicationRepository, diff --git a/clients/client-serverlessapplicationrepository/pagination/ListApplicationVersionsPaginator.ts b/clients/client-serverlessapplicationrepository/pagination/ListApplicationVersionsPaginator.ts index debcb9369a87..6d4c51ba61e7 100644 --- a/clients/client-serverlessapplicationrepository/pagination/ListApplicationVersionsPaginator.ts +++ b/clients/client-serverlessapplicationrepository/pagination/ListApplicationVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationVersionsCommand(input), ...args); + return await client.send(new ListApplicationVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ServerlessApplicationRepository, diff --git a/clients/client-serverlessapplicationrepository/pagination/ListApplicationsPaginator.ts b/clients/client-serverlessapplicationrepository/pagination/ListApplicationsPaginator.ts index 2f50d45b5080..5a3dbe4e0466 100644 --- a/clients/client-serverlessapplicationrepository/pagination/ListApplicationsPaginator.ts +++ b/clients/client-serverlessapplicationrepository/pagination/ListApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationsCommand(input), ...args); + return await client.send(new ListApplicationsCommand(input, ...args)); }; const makePagedRequest = async ( client: ServerlessApplicationRepository, diff --git a/clients/client-service-catalog/models/models_0.ts b/clients/client-service-catalog/models/models_0.ts index 5520cfaa7f2b..419a2d000d81 100644 --- a/clients/client-service-catalog/models/models_0.ts +++ b/clients/client-service-catalog/models/models_0.ts @@ -27,6 +27,11 @@ export interface AcceptPortfolioShareInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                                                                                              The portfolio identifier.

                                                                                                                                                                                              + */ + PortfolioId: string | undefined; + /** *

                                                                                                                                                                                              The type of shared portfolios to accept. The default is to accept imported portfolios.

                                                                                                                                                                                              *
                                                                                                                                                                                                @@ -48,11 +53,6 @@ export interface AcceptPortfolioShareInput { *

                                                                                                                                                                                                */ PortfolioShareType?: PortfolioShareType | string; - - /** - *

                                                                                                                                                                                                The portfolio identifier.

                                                                                                                                                                                                - */ - PortfolioId: string | undefined; } export namespace AcceptPortfolioShareInput { @@ -125,11 +125,6 @@ export enum AccessLevelFilterKey { *

                                                                                                                                                                                                The access level to use to filter results.

                                                                                                                                                                                                */ export interface AccessLevelFilter { - /** - *

                                                                                                                                                                                                The user to which the access level applies. The only supported value is Self.

                                                                                                                                                                                                - */ - Value?: string; - /** *

                                                                                                                                                                                                The access level.

                                                                                                                                                                                                *
                                                                                                                                                                                                  @@ -148,6 +143,11 @@ export interface AccessLevelFilter { *
                                                                                                                                                                                                */ Key?: AccessLevelFilterKey | string; + + /** + *

                                                                                                                                                                                                The user to which the access level applies. The only supported value is Self.

                                                                                                                                                                                                + */ + Value?: string; } export namespace AccessLevelFilter { @@ -168,14 +168,14 @@ export enum AccessStatus { */ export interface Tag { /** - *

                                                                                                                                                                                                The value for this key.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The tag key.

                                                                                                                                                                                                */ - Value: string | undefined; + Key: string | undefined; /** - *

                                                                                                                                                                                                The tag key.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The value for this key.

                                                                                                                                                                                                */ - Key: string | undefined; + Value: string | undefined; } export namespace Tag { @@ -186,14 +186,14 @@ export namespace Tag { export interface AssociateBudgetWithResourceInput { /** - *

                                                                                                                                                                                                The resource identifier. Either a portfolio-id or a product-id.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The name of the budget you want to associate.

                                                                                                                                                                                                */ - ResourceId: string | undefined; + BudgetName: string | undefined; /** - *

                                                                                                                                                                                                The name of the budget you want to associate.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The resource identifier. Either a portfolio-id or a product-id.

                                                                                                                                                                                                */ - BudgetName: string | undefined; + ResourceId: string | undefined; } export namespace AssociateBudgetWithResourceInput { @@ -230,16 +230,6 @@ export enum PrincipalType { } export interface AssociatePrincipalWithPortfolioInput { - /** - *

                                                                                                                                                                                                The principal type. The supported value is IAM.

                                                                                                                                                                                                - */ - PrincipalType: PrincipalType | string | undefined; - - /** - *

                                                                                                                                                                                                The portfolio identifier.

                                                                                                                                                                                                - */ - PortfolioId: string | undefined; - /** *

                                                                                                                                                                                                The language code.

                                                                                                                                                                                                *
                                                                                                                                                                                                  @@ -259,10 +249,20 @@ export interface AssociatePrincipalWithPortfolioInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                                                                                                  The portfolio identifier.

                                                                                                                                                                                                  + */ + PortfolioId: string | undefined; + /** *

                                                                                                                                                                                                  The ARN of the principal (IAM user, role, or group).

                                                                                                                                                                                                  */ PrincipalARN: string | undefined; + + /** + *

                                                                                                                                                                                                  The principal type. The supported value is IAM.

                                                                                                                                                                                                  + */ + PrincipalType: PrincipalType | string | undefined; } export namespace AssociatePrincipalWithPortfolioInput { @@ -331,14 +331,19 @@ export namespace AssociateProductWithPortfolioOutput { export interface AssociateServiceActionWithProvisioningArtifactInput { /** - *

                                                                                                                                                                                                  The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                                                                                                  */ - ServiceActionId: string | undefined; + ProductId: string | undefined; /** - *

                                                                                                                                                                                                  The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                                                                                                  */ - ProductId: string | undefined; + ProvisioningArtifactId: string | undefined; + + /** + *

                                                                                                                                                                                                  The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                                                                                                  + */ + ServiceActionId: string | undefined; /** *

                                                                                                                                                                                                  The language code.

                                                                                                                                                                                                  @@ -358,11 +363,6 @@ export interface AssociateServiceActionWithProvisioningArtifactInput { *
                                                                                                                                                                                                */ AcceptLanguage?: string; - - /** - *

                                                                                                                                                                                                The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                                                                                                - */ - ProvisioningArtifactId: string | undefined; } export namespace AssociateServiceActionWithProvisioningArtifactInput { @@ -381,14 +381,14 @@ export namespace AssociateServiceActionWithProvisioningArtifactOutput { export interface AssociateTagOptionWithResourceInput { /** - *

                                                                                                                                                                                                The TagOption identifier.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The resource identifier.

                                                                                                                                                                                                */ - TagOptionId: string | undefined; + ResourceId: string | undefined; /** - *

                                                                                                                                                                                                The resource identifier.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The TagOption identifier.

                                                                                                                                                                                                */ - ResourceId: string | undefined; + TagOptionId: string | undefined; } export namespace AssociateTagOptionWithResourceInput { @@ -442,11 +442,6 @@ export namespace TagOptionNotMigratedException { *

                                                                                                                                                                                                A self-service action association consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.

                                                                                                                                                                                                */ export interface ServiceActionAssociation { - /** - *

                                                                                                                                                                                                The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                                                                                                - */ - ProvisioningArtifactId: string | undefined; - /** *

                                                                                                                                                                                                The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                                                                                                */ @@ -456,6 +451,11 @@ export interface ServiceActionAssociation { *

                                                                                                                                                                                                The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                                                                                                */ ProductId: string | undefined; + + /** + *

                                                                                                                                                                                                The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                                                                                                + */ + ProvisioningArtifactId: string | undefined; } export namespace ServiceActionAssociation { @@ -509,29 +509,29 @@ export enum ServiceActionAssociationErrorCode { */ export interface FailedServiceActionAssociation { /** - *

                                                                                                                                                                                                The error code. Valid values are listed below.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                                                                                                */ - ErrorCode?: ServiceActionAssociationErrorCode | string; + ServiceActionId?: string; /** - *

                                                                                                                                                                                                A text description of the error.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                                                                                                */ - ErrorMessage?: string; + ProductId?: string; /** - *

                                                                                                                                                                                                The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                                                                                                */ - ProductId?: string; + ProvisioningArtifactId?: string; /** - *

                                                                                                                                                                                                The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                                                                                                + *

                                                                                                                                                                                                The error code. Valid values are listed below.

                                                                                                                                                                                                */ - ServiceActionId?: string; + ErrorCode?: ServiceActionAssociationErrorCode | string; /** - *

                                                                                                                                                                                                The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                                                                                                + *

                                                                                                                                                                                                A text description of the error.

                                                                                                                                                                                                */ - ProvisioningArtifactId?: string; + ErrorMessage?: string; } export namespace FailedServiceActionAssociation { @@ -554,6 +554,11 @@ export namespace BatchAssociateServiceActionWithProvisioningArtifactOutput { } export interface BatchDisassociateServiceActionFromProvisioningArtifactInput { + /** + *

                                                                                                                                                                                                One or more associations, each consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.

                                                                                                                                                                                                + */ + ServiceActionAssociations: ServiceActionAssociation[] | undefined; + /** *

                                                                                                                                                                                                The language code.

                                                                                                                                                                                                *
                                                                                                                                                                                                  @@ -572,11 +577,6 @@ export interface BatchDisassociateServiceActionFromProvisioningArtifactInput { *
                                                                                                                                                                                                */ AcceptLanguage?: string; - - /** - *

                                                                                                                                                                                                One or more associations, each consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.

                                                                                                                                                                                                - */ - ServiceActionAssociations: ServiceActionAssociation[] | undefined; } export namespace BatchDisassociateServiceActionFromProvisioningArtifactInput { @@ -607,28 +607,6 @@ export enum ProvisioningArtifactPropertyName { } export interface CopyProductInput { - /** - *

                                                                                                                                                                                                A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, - * the same response is returned for each repeated request.

                                                                                                                                                                                                - */ - IdempotencyToken?: string; - - /** - *

                                                                                                                                                                                                The identifier of the target product. By default, a new product is created.

                                                                                                                                                                                                - */ - TargetProductId?: string; - - /** - *

                                                                                                                                                                                                The copy options. If the value is CopyTags, the tags from the source - * product are copied to the target product.

                                                                                                                                                                                                - */ - CopyOptions?: (CopyOption | string)[]; - - /** - *

                                                                                                                                                                                                A name for the target product. The default is the name of the source product.

                                                                                                                                                                                                - */ - TargetProductName?: string; - /** *

                                                                                                                                                                                                The language code.

                                                                                                                                                                                                *
                                                                                                                                                                                                  @@ -648,6 +626,21 @@ export interface CopyProductInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the source product.

                                                                                                                                                                                                  + */ + SourceProductArn: string | undefined; + + /** + *

                                                                                                                                                                                                  The identifier of the target product. By default, a new product is created.

                                                                                                                                                                                                  + */ + TargetProductId?: string; + + /** + *

                                                                                                                                                                                                  A name for the target product. The default is the name of the source product.

                                                                                                                                                                                                  + */ + TargetProductName?: string; + /** *

                                                                                                                                                                                                  The identifiers of the provisioning artifacts (also known as versions) of the product to copy. * By default, all provisioning artifacts are copied.

                                                                                                                                                                                                  @@ -655,9 +648,16 @@ export interface CopyProductInput { SourceProvisioningArtifactIdentifiers?: { [key: string]: string }[]; /** - *

                                                                                                                                                                                                  The Amazon Resource Name (ARN) of the source product.

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  The copy options. If the value is CopyTags, the tags from the source + * product are copied to the target product.

                                                                                                                                                                                                  */ - SourceProductArn: string | undefined; + CopyOptions?: (CopyOption | string)[]; + + /** + *

                                                                                                                                                                                                  A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, + * the same response is returned for each repeated request.

                                                                                                                                                                                                  + */ + IdempotencyToken?: string; } export namespace CopyProductInput { @@ -699,58 +699,15 @@ export interface CreateConstraintInput { */ AcceptLanguage?: string; - /** - *

                                                                                                                                                                                                  The product identifier.

                                                                                                                                                                                                  - */ - ProductId: string | undefined; - /** *

                                                                                                                                                                                                  The portfolio identifier.

                                                                                                                                                                                                  */ PortfolioId: string | undefined; /** - *

                                                                                                                                                                                                  The description of the constraint.

                                                                                                                                                                                                  - */ - Description?: string; - - /** - *

                                                                                                                                                                                                  A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, - * the same response is returned for each repeated request.

                                                                                                                                                                                                  - */ - IdempotencyToken?: string; - - /** - *

                                                                                                                                                                                                  The type of constraint.

                                                                                                                                                                                                  - *
                                                                                                                                                                                                    - *
                                                                                                                                                                                                  • - *

                                                                                                                                                                                                    - * LAUNCH - *

                                                                                                                                                                                                    - *
                                                                                                                                                                                                  • - *
                                                                                                                                                                                                  • - *

                                                                                                                                                                                                    - * NOTIFICATION - *

                                                                                                                                                                                                    - *
                                                                                                                                                                                                  • - *
                                                                                                                                                                                                  • - *

                                                                                                                                                                                                    - * RESOURCE_UPDATE - *

                                                                                                                                                                                                    - *
                                                                                                                                                                                                  • - *
                                                                                                                                                                                                  • - *

                                                                                                                                                                                                    - * STACKSET - *

                                                                                                                                                                                                    - *
                                                                                                                                                                                                  • - *
                                                                                                                                                                                                  • - *

                                                                                                                                                                                                    - * TEMPLATE - *

                                                                                                                                                                                                    - *
                                                                                                                                                                                                  • - *
                                                                                                                                                                                                  + *

                                                                                                                                                                                                  The product identifier.

                                                                                                                                                                                                  */ - Type: string | undefined; + ProductId: string | undefined; /** *

                                                                                                                                                                                                  The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

                                                                                                                                                                                                  @@ -807,27 +764,6 @@ export interface CreateConstraintInput { *
                                                                                                    */ Parameters: string | undefined; -} - -export namespace CreateConstraintInput { - export const filterSensitiveLog = (obj: CreateConstraintInput): any => ({ - ...obj, - }); -} - -/** - *

                                                                                                    Information about a constraint.

                                                                                                    - */ -export interface ConstraintDetail { - /** - *

                                                                                                    The owner of the constraint.

                                                                                                    - */ - Owner?: string; - - /** - *

                                                                                                    The identifier of the constraint.

                                                                                                    - */ - ConstraintId?: string; /** *

                                                                                                    The type of constraint.

                                                                                                    @@ -843,7 +779,14 @@ export interface ConstraintDetail { *

                                                                                                    *
                                                                                                  • *
                                                                                                  • - *

                                                                                                    STACKSET

                                                                                                    + *

                                                                                                    + * RESOURCE_UPDATE + *

                                                                                                    + *
                                                                                                  • + *
                                                                                                  • + *

                                                                                                    + * STACKSET + *

                                                                                                    *
                                                                                                  • *
                                                                                                  • *

                                                                                                    @@ -852,7 +795,7 @@ export interface ConstraintDetail { *

                                                                                                  • *
                                                                                                  */ - Type?: string; + Type: string | undefined; /** *

                                                                                                  The description of the constraint.

                                                                                                  @@ -860,11 +803,68 @@ export interface ConstraintDetail { Description?: string; /** - *

                                                                                                  The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.

                                                                                                  + *

                                                                                                  A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, + * the same response is returned for each repeated request.

                                                                                                  */ - ProductId?: string; + IdempotencyToken?: string; +} - /** +export namespace CreateConstraintInput { + export const filterSensitiveLog = (obj: CreateConstraintInput): any => ({ + ...obj, + }); +} + +/** + *

                                                                                                  Information about a constraint.

                                                                                                  + */ +export interface ConstraintDetail { + /** + *

                                                                                                  The identifier of the constraint.

                                                                                                  + */ + ConstraintId?: string; + + /** + *

                                                                                                  The type of constraint.

                                                                                                  + *
                                                                                                    + *
                                                                                                  • + *

                                                                                                    + * LAUNCH + *

                                                                                                    + *
                                                                                                  • + *
                                                                                                  • + *

                                                                                                    + * NOTIFICATION + *

                                                                                                    + *
                                                                                                  • + *
                                                                                                  • + *

                                                                                                    STACKSET

                                                                                                    + *
                                                                                                  • + *
                                                                                                  • + *

                                                                                                    + * TEMPLATE + *

                                                                                                    + *
                                                                                                  • + *
                                                                                                  + */ + Type?: string; + + /** + *

                                                                                                  The description of the constraint.

                                                                                                  + */ + Description?: string; + + /** + *

                                                                                                  The owner of the constraint.

                                                                                                  + */ + Owner?: string; + + /** + *

                                                                                                  The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.

                                                                                                  + */ + ProductId?: string; + + /** *

                                                                                                  The identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.

                                                                                                  */ PortfolioId?: string; @@ -883,11 +883,6 @@ export enum Status { } export interface CreateConstraintOutput { - /** - *

                                                                                                  The status of the current request.

                                                                                                  - */ - Status?: Status | string; - /** *

                                                                                                  Information about the constraint.

                                                                                                  */ @@ -897,6 +892,11 @@ export interface CreateConstraintOutput { *

                                                                                                  The constraint parameters.

                                                                                                  */ ConstraintParameters?: string; + + /** + *

                                                                                                  The status of the current request.

                                                                                                  + */ + Status?: Status | string; } export namespace CreateConstraintOutput { @@ -906,11 +906,6 @@ export namespace CreateConstraintOutput { } export interface CreatePortfolioInput { - /** - *

                                                                                                  One or more tags.

                                                                                                  - */ - Tags?: Tag[]; - /** *

                                                                                                  The language code.

                                                                                                  *
                                                                                                    @@ -930,6 +925,11 @@ export interface CreatePortfolioInput { */ AcceptLanguage?: string; + /** + *

                                                                                                    The name to use for display purposes.

                                                                                                    + */ + DisplayName: string | undefined; + /** *

                                                                                                    The description of the portfolio.

                                                                                                    */ @@ -941,9 +941,9 @@ export interface CreatePortfolioInput { ProviderName: string | undefined; /** - *

                                                                                                    The name to use for display purposes.

                                                                                                    + *

                                                                                                    One or more tags.

                                                                                                    */ - DisplayName: string | undefined; + Tags?: Tag[]; /** *

                                                                                                    A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, @@ -962,11 +962,6 @@ export namespace CreatePortfolioInput { *

                                                                                                    Information about a portfolio.

                                                                                                    */ export interface PortfolioDetail { - /** - *

                                                                                                    The name to use for display purposes.

                                                                                                    - */ - DisplayName?: string; - /** *

                                                                                                    The portfolio identifier.

                                                                                                    */ @@ -978,9 +973,9 @@ export interface PortfolioDetail { ARN?: string; /** - *

                                                                                                    The name of the portfolio provider.

                                                                                                    + *

                                                                                                    The name to use for display purposes.

                                                                                                    */ - ProviderName?: string; + DisplayName?: string; /** *

                                                                                                    The description of the portfolio.

                                                                                                    @@ -991,6 +986,11 @@ export interface PortfolioDetail { *

                                                                                                    The UTC time stamp of the creation time.

                                                                                                    */ CreatedTime?: Date; + + /** + *

                                                                                                    The name of the portfolio provider.

                                                                                                    + */ + ProviderName?: string; } export namespace PortfolioDetail { @@ -1028,14 +1028,14 @@ export enum OrganizationNodeType { */ export interface OrganizationNode { /** - *

                                                                                                    The identifier of the organization node.

                                                                                                    + *

                                                                                                    The organization node type.

                                                                                                    */ - Value?: string; + Type?: OrganizationNodeType | string; /** - *

                                                                                                    The organization node type.

                                                                                                    + *

                                                                                                    The identifier of the organization node.

                                                                                                    */ - Type?: OrganizationNodeType | string; + Value?: string; } export namespace OrganizationNode { @@ -1045,21 +1045,6 @@ export namespace OrganizationNode { } export interface CreatePortfolioShareInput { - /** - *

                                                                                                    The organization node to whom you are going to share. If OrganizationNode - * is passed in, PortfolioShare will be created for the node an - * ListOrganizationPortfolioAccessd its children (when applies), and a - * PortfolioShareToken will be returned in the output in order for the - * administrator to monitor the status of the PortfolioShare creation - * process.

                                                                                                    - */ - OrganizationNode?: OrganizationNode; - - /** - *

                                                                                                    The AWS account ID. For example, 123456789012.

                                                                                                    - */ - AccountId?: string; - /** *

                                                                                                    The language code.

                                                                                                    *
                                                                                                      @@ -1083,6 +1068,21 @@ export interface CreatePortfolioShareInput { *

                                                                                                      The portfolio identifier.

                                                                                                      */ PortfolioId: string | undefined; + + /** + *

                                                                                                      The AWS account ID. For example, 123456789012.

                                                                                                      + */ + AccountId?: string; + + /** + *

                                                                                                      The organization node to whom you are going to share. If OrganizationNode + * is passed in, PortfolioShare will be created for the node an + * ListOrganizationPortfolioAccessd its children (when applies), and a + * PortfolioShareToken will be returned in the output in order for the + * administrator to monitor the status of the PortfolioShare creation + * process.

                                                                                                      + */ + OrganizationNode?: OrganizationNode; } export namespace CreatePortfolioShareInput { @@ -1144,11 +1144,6 @@ export interface ProvisioningArtifactProperties { */ Description?: string; - /** - *

                                                                                                      If set to true, AWS Service Catalog stops validating the specified provisioning artifact even if it is invalid.

                                                                                                      - */ - DisableTemplateValidation?: boolean; - /** *

                                                                                                      The URL of the CloudFormation template in Amazon S3. Specify the URL in JSON format as follows:

                                                                                                      *

                                                                                                      @@ -1175,6 +1170,11 @@ export interface ProvisioningArtifactProperties { *

                                                                                                    */ Type?: ProvisioningArtifactType | string; + + /** + *

                                                                                                    If set to true, AWS Service Catalog stops validating the specified provisioning artifact even if it is invalid.

                                                                                                    + */ + DisableTemplateValidation?: boolean; } export namespace ProvisioningArtifactProperties { @@ -1184,16 +1184,6 @@ export namespace ProvisioningArtifactProperties { } export interface CreateProductInput { - /** - *

                                                                                                    The support information about the product.

                                                                                                    - */ - SupportDescription?: string; - - /** - *

                                                                                                    The type of product.

                                                                                                    - */ - ProductType: ProductType | string | undefined; - /** *

                                                                                                    The language code.

                                                                                                    *
                                                                                                      @@ -1214,34 +1204,44 @@ export interface CreateProductInput { AcceptLanguage?: string; /** - *

                                                                                                      The contact URL for product support.

                                                                                                      + *

                                                                                                      The name of the product.

                                                                                                      */ - SupportUrl?: string; + Name: string | undefined; /** - *

                                                                                                      The distributor of the product.

                                                                                                      + *

                                                                                                      The owner of the product.

                                                                                                      */ - Distributor?: string; + Owner: string | undefined; /** *

                                                                                                      The description of the product.

                                                                                                      */ Description?: string; + /** + *

                                                                                                      The distributor of the product.

                                                                                                      + */ + Distributor?: string; + + /** + *

                                                                                                      The support information about the product.

                                                                                                      + */ + SupportDescription?: string; + /** *

                                                                                                      The contact email for product support.

                                                                                                      */ SupportEmail?: string; /** - *

                                                                                                      The name of the product.

                                                                                                      + *

                                                                                                      The contact URL for product support.

                                                                                                      */ - Name: string | undefined; + SupportUrl?: string; /** - *

                                                                                                      The configuration of the provisioning artifact.

                                                                                                      + *

                                                                                                      The type of product.

                                                                                                      */ - ProvisioningArtifactParameters: ProvisioningArtifactProperties | undefined; + ProductType: ProductType | string | undefined; /** *

                                                                                                      One or more tags.

                                                                                                      @@ -1249,15 +1249,15 @@ export interface CreateProductInput { Tags?: Tag[]; /** - *

                                                                                                      A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, - * the same response is returned for each repeated request.

                                                                                                      + *

                                                                                                      The configuration of the provisioning artifact.

                                                                                                      */ - IdempotencyToken?: string; + ProvisioningArtifactParameters: ProvisioningArtifactProperties | undefined; /** - *

                                                                                                      The owner of the product.

                                                                                                      + *

                                                                                                      A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, + * the same response is returned for each repeated request.

                                                                                                      */ - Owner: string | undefined; + IdempotencyToken?: string; } export namespace CreateProductInput { @@ -1271,42 +1271,43 @@ export namespace CreateProductInput { */ export interface ProductViewSummary { /** - *

                                                                                                      The distributor of the product. Contact the product administrator for the - * significance of this value.

                                                                                                      + *

                                                                                                      The product view identifier.

                                                                                                      */ - Distributor?: string; + Id?: string; /** - *

                                                                                                      The email contact information to obtain support for this Product.

                                                                                                      + *

                                                                                                      The product identifier.

                                                                                                      */ - SupportEmail?: string; + ProductId?: string; /** - *

                                                                                                      The product type. Contact the product administrator for the significance of this - * value. If this value is MARKETPLACE, the product was created by AWS - * Marketplace.

                                                                                                      + *

                                                                                                      The name of the product.

                                                                                                      */ - Type?: ProductType | string; + Name?: string; /** - *

                                                                                                      The URL information to obtain support for this Product.

                                                                                                      + *

                                                                                                      The owner of the product. Contact the product administrator for the significance of + * this value.

                                                                                                      */ - SupportUrl?: string; + Owner?: string; /** - *

                                                                                                      The name of the product.

                                                                                                      + *

                                                                                                      Short description of the product.

                                                                                                      */ - Name?: string; + ShortDescription?: string; /** - *

                                                                                                      Short description of the product.

                                                                                                      + *

                                                                                                      The product type. Contact the product administrator for the significance of this + * value. If this value is MARKETPLACE, the product was created by AWS + * Marketplace.

                                                                                                      */ - ShortDescription?: string; + Type?: ProductType | string; /** - *

                                                                                                      The description of the support for this Product.

                                                                                                      + *

                                                                                                      The distributor of the product. Contact the product administrator for the + * significance of this value.

                                                                                                      */ - SupportDescription?: string; + Distributor?: string; /** *

                                                                                                      Indicates whether the product has a default path. @@ -1318,20 +1319,19 @@ export interface ProductViewSummary { HasDefaultPath?: boolean; /** - *

                                                                                                      The product view identifier.

                                                                                                      + *

                                                                                                      The email contact information to obtain support for this Product.

                                                                                                      */ - Id?: string; + SupportEmail?: string; /** - *

                                                                                                      The product identifier.

                                                                                                      + *

                                                                                                      The description of the support for this Product.

                                                                                                      */ - ProductId?: string; + SupportDescription?: string; /** - *

                                                                                                      The owner of the product. Contact the product administrator for the significance of - * this value.

                                                                                                      + *

                                                                                                      The URL information to obtain support for this Product.

                                                                                                      */ - Owner?: string; + SupportUrl?: string; } export namespace ProductViewSummary { @@ -1345,9 +1345,9 @@ export namespace ProductViewSummary { */ export interface ProductViewDetail { /** - *

                                                                                                      The ARN of the product.

                                                                                                      + *

                                                                                                      Summary information about the product view.

                                                                                                      */ - ProductARN?: string; + ProductViewSummary?: ProductViewSummary; /** *

                                                                                                      The status of the product.

                                                                                                      @@ -1369,14 +1369,14 @@ export interface ProductViewDetail { Status?: Status | string; /** - *

                                                                                                      The UTC time stamp of the creation time.

                                                                                                      + *

                                                                                                      The ARN of the product.

                                                                                                      */ - CreatedTime?: Date; + ProductARN?: string; /** - *

                                                                                                      Summary information about the product view.

                                                                                                      + *

                                                                                                      The UTC time stamp of the creation time.

                                                                                                      */ - ProductViewSummary?: ProductViewSummary; + CreatedTime?: Date; } export namespace ProductViewDetail { @@ -1395,15 +1395,25 @@ export enum ProvisioningArtifactGuidance { */ export interface ProvisioningArtifactDetail { /** - *

                                                                                                      Indicates whether the product version is active.

                                                                                                      + *

                                                                                                      The identifier of the provisioning artifact.

                                                                                                      */ - Active?: boolean; + Id?: string; /** - *

                                                                                                      The type of provisioning artifact.

                                                                                                      - *
                                                                                                        - *
                                                                                                      • - *

                                                                                                        + *

                                                                                                        The name of the provisioning artifact.

                                                                                                        + */ + Name?: string; + + /** + *

                                                                                                        The description of the provisioning artifact.

                                                                                                        + */ + Description?: string; + + /** + *

                                                                                                        The type of provisioning artifact.

                                                                                                        + *
                                                                                                          + *
                                                                                                        • + *

                                                                                                          * CLOUD_FORMATION_TEMPLATE - AWS CloudFormation template

                                                                                                          *
                                                                                                        • *
                                                                                                        • @@ -1419,29 +1429,19 @@ export interface ProvisioningArtifactDetail { Type?: ProvisioningArtifactType | string; /** - *

                                                                                                          Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

                                                                                                          - */ - Guidance?: ProvisioningArtifactGuidance | string; - - /** - *

                                                                                                          The name of the provisioning artifact.

                                                                                                          - */ - Name?: string; - - /** - *

                                                                                                          The description of the provisioning artifact.

                                                                                                          + *

                                                                                                          The UTC time stamp of the creation time.

                                                                                                          */ - Description?: string; + CreatedTime?: Date; /** - *

                                                                                                          The identifier of the provisioning artifact.

                                                                                                          + *

                                                                                                          Indicates whether the product version is active.

                                                                                                          */ - Id?: string; + Active?: boolean; /** - *

                                                                                                          The UTC time stamp of the creation time.

                                                                                                          + *

                                                                                                          Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

                                                                                                          */ - CreatedTime?: Date; + Guidance?: ProvisioningArtifactGuidance | string; } export namespace ProvisioningArtifactDetail { @@ -1481,6 +1481,11 @@ export enum ProvisionedProductPlanType { *

                                                                                                          The parameter key-value pair used to update a provisioned product.

                                                                                                          */ export interface UpdateProvisioningParameter { + /** + *

                                                                                                          The parameter key.

                                                                                                          + */ + Key?: string; + /** *

                                                                                                          The parameter value.

                                                                                                          */ @@ -1490,11 +1495,6 @@ export interface UpdateProvisioningParameter { *

                                                                                                          If set to true, Value is ignored and the previous parameter value is kept.

                                                                                                          */ UsePreviousValue?: boolean; - - /** - *

                                                                                                          The parameter key.

                                                                                                          - */ - Key?: string; } export namespace UpdateProvisioningParameter { @@ -1504,11 +1504,6 @@ export namespace UpdateProvisioningParameter { } export interface CreateProvisionedProductPlanInput { - /** - *

                                                                                                          The identifier of the provisioning artifact.

                                                                                                          - */ - ProvisioningArtifactId: string | undefined; - /** *

                                                                                                          The language code.

                                                                                                          *
                                                                                                            @@ -1529,9 +1524,9 @@ export interface CreateProvisionedProductPlanInput { AcceptLanguage?: string; /** - *

                                                                                                            The product identifier.

                                                                                                            + *

                                                                                                            The name of the plan.

                                                                                                            */ - ProductId: string | undefined; + PlanName: string | undefined; /** *

                                                                                                            The plan type.

                                                                                                            @@ -1545,15 +1540,16 @@ export interface CreateProvisionedProductPlanInput { NotificationArns?: string[]; /** - *

                                                                                                            Parameters specified by the administrator that are required for provisioning the - * product.

                                                                                                            + *

                                                                                                            The path identifier of the product. This value is optional if the product + * has a default path, and required if the product has more than one path. + * To list the paths for a product, use ListLaunchPaths.

                                                                                                            */ - ProvisioningParameters?: UpdateProvisioningParameter[]; + PathId?: string; /** - *

                                                                                                            The name of the plan.

                                                                                                            + *

                                                                                                            The product identifier.

                                                                                                            */ - PlanName: string | undefined; + ProductId: string | undefined; /** *

                                                                                                            A user-friendly name for the provisioned product. This value must be @@ -1562,11 +1558,15 @@ export interface CreateProvisionedProductPlanInput { ProvisionedProductName: string | undefined; /** - *

                                                                                                            The path identifier of the product. This value is optional if the product - * has a default path, and required if the product has more than one path. - * To list the paths for a product, use ListLaunchPaths.

                                                                                                            + *

                                                                                                            The identifier of the provisioning artifact.

                                                                                                            */ - PathId?: string; + ProvisioningArtifactId: string | undefined; + + /** + *

                                                                                                            Parameters specified by the administrator that are required for provisioning the + * product.

                                                                                                            + */ + ProvisioningParameters?: UpdateProvisioningParameter[]; /** *

                                                                                                            A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, @@ -1589,29 +1589,29 @@ export namespace CreateProvisionedProductPlanInput { export interface CreateProvisionedProductPlanOutput { /** - *

                                                                                                            The plan identifier.

                                                                                                            + *

                                                                                                            The name of the plan.

                                                                                                            */ - PlanId?: string; + PlanName?: string; /** - *

                                                                                                            The user-friendly name of the provisioned product.

                                                                                                            + *

                                                                                                            The plan identifier.

                                                                                                            */ - ProvisionedProductName?: string; + PlanId?: string; /** - *

                                                                                                            The identifier of the provisioning artifact.

                                                                                                            + *

                                                                                                            The product identifier.

                                                                                                            */ - ProvisioningArtifactId?: string; + ProvisionProductId?: string; /** - *

                                                                                                            The name of the plan.

                                                                                                            + *

                                                                                                            The user-friendly name of the provisioned product.

                                                                                                            */ - PlanName?: string; + ProvisionedProductName?: string; /** - *

                                                                                                            The product identifier.

                                                                                                            + *

                                                                                                            The identifier of the provisioning artifact.

                                                                                                            */ - ProvisionProductId?: string; + ProvisioningArtifactId?: string; } export namespace CreateProvisionedProductPlanOutput { @@ -1621,22 +1621,6 @@ export namespace CreateProvisionedProductPlanOutput { } export interface CreateProvisioningArtifactInput { - /** - *

                                                                                                            A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, - * the same response is returned for each repeated request.

                                                                                                            - */ - IdempotencyToken?: string; - - /** - *

                                                                                                            The configuration for the provisioning artifact.

                                                                                                            - */ - Parameters: ProvisioningArtifactProperties | undefined; - - /** - *

                                                                                                            The product identifier.

                                                                                                            - */ - ProductId: string | undefined; - /** *

                                                                                                            The language code.

                                                                                                            *
                                                                                                              @@ -1655,6 +1639,22 @@ export interface CreateProvisioningArtifactInput { *
                                                                                                            */ AcceptLanguage?: string; + + /** + *

                                                                                                            The product identifier.

                                                                                                            + */ + ProductId: string | undefined; + + /** + *

                                                                                                            The configuration for the provisioning artifact.

                                                                                                            + */ + Parameters: ProvisioningArtifactProperties | undefined; + + /** + *

                                                                                                            A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, + * the same response is returned for each repeated request.

                                                                                                            + */ + IdempotencyToken?: string; } export namespace CreateProvisioningArtifactInput { @@ -1665,9 +1665,9 @@ export namespace CreateProvisioningArtifactInput { export interface CreateProvisioningArtifactOutput { /** - *

                                                                                                            The status of the current request.

                                                                                                            + *

                                                                                                            Information about the provisioning artifact.

                                                                                                            */ - Status?: Status | string; + ProvisioningArtifactDetail?: ProvisioningArtifactDetail; /** *

                                                                                                            The URL of the CloudFormation template in Amazon S3, in JSON format.

                                                                                                            @@ -1675,9 +1675,9 @@ export interface CreateProvisioningArtifactOutput { Info?: { [key: string]: string }; /** - *

                                                                                                            Information about the provisioning artifact.

                                                                                                            + *

                                                                                                            The status of the current request.

                                                                                                            */ - ProvisioningArtifactDetail?: ProvisioningArtifactDetail; + Status?: Status | string; } export namespace CreateProvisioningArtifactOutput { @@ -1699,20 +1699,14 @@ export enum ServiceActionDefinitionType { export interface CreateServiceActionInput { /** - *

                                                                                                            A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, - * the same response is returned for each repeated request.

                                                                                                            - */ - IdempotencyToken?: string; - - /** - *

                                                                                                            The self-service action description.

                                                                                                            + *

                                                                                                            The self-service action name.

                                                                                                            */ - Description?: string; + Name: string | undefined; /** - *

                                                                                                            The self-service action name.

                                                                                                            + *

                                                                                                            The service action definition type. For example, SSM_AUTOMATION.

                                                                                                            */ - Name: string | undefined; + DefinitionType: ServiceActionDefinitionType | string | undefined; /** *

                                                                                                            The self-service action definition. Can be one of the following:

                                                                                                            @@ -1741,6 +1735,11 @@ export interface CreateServiceActionInput { */ Definition: { [key: string]: string } | undefined; + /** + *

                                                                                                            The self-service action description.

                                                                                                            + */ + Description?: string; + /** *

                                                                                                            The language code.

                                                                                                            *
                                                                                                              @@ -1761,9 +1760,10 @@ export interface CreateServiceActionInput { AcceptLanguage?: string; /** - *

                                                                                                              The service action definition type. For example, SSM_AUTOMATION.

                                                                                                              + *

                                                                                                              A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, + * the same response is returned for each repeated request.

                                                                                                              */ - DefinitionType: ServiceActionDefinitionType | string | undefined; + IdempotencyToken?: string; } export namespace CreateServiceActionInput { @@ -1777,9 +1777,9 @@ export namespace CreateServiceActionInput { */ export interface ServiceActionSummary { /** - *

                                                                                                              The self-service action description.

                                                                                                              + *

                                                                                                              The self-service action identifier.

                                                                                                              */ - Description?: string; + Id?: string; /** *

                                                                                                              The self-service action name.

                                                                                                              @@ -1787,14 +1787,14 @@ export interface ServiceActionSummary { Name?: string; /** - *

                                                                                                              The self-service action definition type. For example, SSM_AUTOMATION.

                                                                                                              + *

                                                                                                              The self-service action description.

                                                                                                              */ - DefinitionType?: ServiceActionDefinitionType | string; + Description?: string; /** - *

                                                                                                              The self-service action identifier.

                                                                                                              + *

                                                                                                              The self-service action definition type. For example, SSM_AUTOMATION.

                                                                                                              */ - Id?: string; + DefinitionType?: ServiceActionDefinitionType | string; } export namespace ServiceActionSummary { @@ -1839,14 +1839,14 @@ export namespace CreateServiceActionOutput { export interface CreateTagOptionInput { /** - *

                                                                                                              The TagOption value.

                                                                                                              + *

                                                                                                              The TagOption key.

                                                                                                              */ - Value: string | undefined; + Key: string | undefined; /** - *

                                                                                                              The TagOption key.

                                                                                                              + *

                                                                                                              The TagOption value.

                                                                                                              */ - Key: string | undefined; + Value: string | undefined; } export namespace CreateTagOptionInput { @@ -1859,11 +1859,6 @@ export namespace CreateTagOptionInput { *

                                                                                                              Information about a TagOption.

                                                                                                              */ export interface TagOptionDetail { - /** - *

                                                                                                              The TagOption identifier.

                                                                                                              - */ - Id?: string; - /** *

                                                                                                              The TagOption key.

                                                                                                              */ @@ -1878,6 +1873,11 @@ export interface TagOptionDetail { *

                                                                                                              The TagOption active state.

                                                                                                              */ Active?: boolean; + + /** + *

                                                                                                              The TagOption identifier.

                                                                                                              + */ + Id?: string; } export namespace TagOptionDetail { @@ -1900,11 +1900,6 @@ export namespace CreateTagOptionOutput { } export interface DeleteConstraintInput { - /** - *

                                                                                                              The identifier of the constraint.

                                                                                                              - */ - Id: string | undefined; - /** *

                                                                                                              The language code.

                                                                                                              *
                                                                                                                @@ -1923,6 +1918,11 @@ export interface DeleteConstraintInput { *
                                                                                                              */ AcceptLanguage?: string; + + /** + *

                                                                                                              The identifier of the constraint.

                                                                                                              + */ + Id: string | undefined; } export namespace DeleteConstraintInput { @@ -1940,11 +1940,6 @@ export namespace DeleteConstraintOutput { } export interface DeletePortfolioInput { - /** - *

                                                                                                              The portfolio identifier.

                                                                                                              - */ - Id: string | undefined; - /** *

                                                                                                              The language code.

                                                                                                              *
                                                                                                                @@ -1963,6 +1958,11 @@ export interface DeletePortfolioInput { *
                                                                                                              */ AcceptLanguage?: string; + + /** + *

                                                                                                              The portfolio identifier.

                                                                                                              + */ + Id: string | undefined; } export namespace DeletePortfolioInput { @@ -1995,21 +1995,6 @@ export namespace ResourceInUseException { } export interface DeletePortfolioShareInput { - /** - *

                                                                                                              The organization node to whom you are going to stop sharing.

                                                                                                              - */ - OrganizationNode?: OrganizationNode; - - /** - *

                                                                                                              The AWS account ID.

                                                                                                              - */ - AccountId?: string; - - /** - *

                                                                                                              The portfolio identifier.

                                                                                                              - */ - PortfolioId: string | undefined; - /** *

                                                                                                              The language code.

                                                                                                              *
                                                                                                                @@ -2028,6 +2013,21 @@ export interface DeletePortfolioShareInput { *
                                                                                                              */ AcceptLanguage?: string; + + /** + *

                                                                                                              The portfolio identifier.

                                                                                                              + */ + PortfolioId: string | undefined; + + /** + *

                                                                                                              The AWS account ID.

                                                                                                              + */ + AccountId?: string; + + /** + *

                                                                                                              The organization node to whom you are going to stop sharing.

                                                                                                              + */ + OrganizationNode?: OrganizationNode; } export namespace DeletePortfolioShareInput { @@ -2050,11 +2050,6 @@ export namespace DeletePortfolioShareOutput { } export interface DeleteProductInput { - /** - *

                                                                                                              The product identifier.

                                                                                                              - */ - Id: string | undefined; - /** *

                                                                                                              The language code.

                                                                                                              *
                                                                                                                @@ -2073,6 +2068,11 @@ export interface DeleteProductInput { *
                                                                                                              */ AcceptLanguage?: string; + + /** + *

                                                                                                              The product identifier.

                                                                                                              + */ + Id: string | undefined; } export namespace DeleteProductInput { @@ -2090,11 +2090,6 @@ export namespace DeleteProductOutput { } export interface DeleteProvisionedProductPlanInput { - /** - *

                                                                                                              The plan identifier.

                                                                                                              - */ - PlanId: string | undefined; - /** *

                                                                                                              The language code.

                                                                                                              *
                                                                                                                @@ -2114,6 +2109,11 @@ export interface DeleteProvisionedProductPlanInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                The plan identifier.

                                                                                                                + */ + PlanId: string | undefined; + /** *

                                                                                                                If set to true, AWS Service Catalog stops managing the specified provisioned product even * if it cannot delete the underlying resources.

                                                                                                                @@ -2136,11 +2136,6 @@ export namespace DeleteProvisionedProductPlanOutput { } export interface DeleteProvisioningArtifactInput { - /** - *

                                                                                                                The product identifier.

                                                                                                                - */ - ProductId: string | undefined; - /** *

                                                                                                                The language code.

                                                                                                                *
                                                                                                                  @@ -2160,6 +2155,11 @@ export interface DeleteProvisioningArtifactInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                  The product identifier.

                                                                                                                  + */ + ProductId: string | undefined; + /** *

                                                                                                                  The identifier of the provisioning artifact.

                                                                                                                  */ @@ -2181,6 +2181,11 @@ export namespace DeleteProvisioningArtifactOutput { } export interface DeleteServiceActionInput { + /** + *

                                                                                                                  The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                  + */ + Id: string | undefined; + /** *

                                                                                                                  The language code.

                                                                                                                  *
                                                                                                                    @@ -2199,11 +2204,6 @@ export interface DeleteServiceActionInput { *
                                                                                                                  */ AcceptLanguage?: string; - - /** - *

                                                                                                                  The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                  - */ - Id: string | undefined; } export namespace DeleteServiceActionInput { @@ -2242,11 +2242,6 @@ export namespace DeleteTagOptionOutput { } export interface DescribeConstraintInput { - /** - *

                                                                                                                  The identifier of the constraint.

                                                                                                                  - */ - Id: string | undefined; - /** *

                                                                                                                  The language code.

                                                                                                                  *
                                                                                                                    @@ -2265,6 +2260,11 @@ export interface DescribeConstraintInput { *
                                                                                                                  */ AcceptLanguage?: string; + + /** + *

                                                                                                                  The identifier of the constraint.

                                                                                                                  + */ + Id: string | undefined; } export namespace DescribeConstraintInput { @@ -2274,6 +2274,11 @@ export namespace DescribeConstraintInput { } export interface DescribeConstraintOutput { + /** + *

                                                                                                                  Information about the constraint.

                                                                                                                  + */ + ConstraintDetail?: ConstraintDetail; + /** *

                                                                                                                  The constraint parameters.

                                                                                                                  */ @@ -2283,11 +2288,6 @@ export interface DescribeConstraintOutput { *

                                                                                                                  The status of the current request.

                                                                                                                  */ Status?: Status | string; - - /** - *

                                                                                                                  Information about the constraint.

                                                                                                                  - */ - ConstraintDetail?: ConstraintDetail; } export namespace DescribeConstraintOutput { @@ -2341,14 +2341,14 @@ export interface DescribeCopyProductStatusOutput { CopyProductStatus?: CopyProductStatus | string; /** - *

                                                                                                                  The status message.

                                                                                                                  + *

                                                                                                                  The identifier of the copied product.

                                                                                                                  */ - StatusDetail?: string; + TargetProductId?: string; /** - *

                                                                                                                  The identifier of the copied product.

                                                                                                                  + *

                                                                                                                  The status message.

                                                                                                                  */ - TargetProductId?: string; + StatusDetail?: string; } export namespace DescribeCopyProductStatusOutput { @@ -2451,9 +2451,9 @@ export namespace DescribePortfolioShareStatusInput { */ export interface ShareError { /** - *

                                                                                                                  Error type that happened when processing the operation.

                                                                                                                  + *

                                                                                                                  List of accounts impacted by the error.

                                                                                                                  */ - Error?: string; + Accounts?: string[]; /** *

                                                                                                                  Information about the error.

                                                                                                                  @@ -2461,9 +2461,9 @@ export interface ShareError { Message?: string; /** - *

                                                                                                                  List of accounts impacted by the error.

                                                                                                                  + *

                                                                                                                  Error type that happened when processing the operation.

                                                                                                                  */ - Accounts?: string[]; + Error?: string; } export namespace ShareError { @@ -2477,14 +2477,14 @@ export namespace ShareError { */ export interface ShareDetails { /** - *

                                                                                                                  List of errors.

                                                                                                                  + *

                                                                                                                  List of accounts for whom the operation succeeded.

                                                                                                                  */ - ShareErrors?: ShareError[]; + SuccessfulShares?: string[]; /** - *

                                                                                                                  List of accounts for whom the operation succeeded.

                                                                                                                  + *

                                                                                                                  List of errors.

                                                                                                                  */ - SuccessfulShares?: string[]; + ShareErrors?: ShareError[]; } export namespace ShareDetails { @@ -2503,9 +2503,9 @@ export enum ShareStatus { export interface DescribePortfolioShareStatusOutput { /** - *

                                                                                                                  Information about the portfolio share operation.

                                                                                                                  + *

                                                                                                                  The token for the portfolio share operation. For example, share-6v24abcdefghi.

                                                                                                                  */ - ShareDetails?: ShareDetails; + PortfolioShareToken?: string; /** *

                                                                                                                  The portfolio identifier.

                                                                                                                  @@ -2518,14 +2518,14 @@ export interface DescribePortfolioShareStatusOutput { OrganizationNodeValue?: string; /** - *

                                                                                                                  The token for the portfolio share operation. For example, share-6v24abcdefghi.

                                                                                                                  + *

                                                                                                                  Status of the portfolio share operation.

                                                                                                                  */ - PortfolioShareToken?: string; + Status?: ShareStatus | string; /** - *

                                                                                                                  Status of the portfolio share operation.

                                                                                                                  + *

                                                                                                                  Information about the portfolio share operation.

                                                                                                                  */ - Status?: ShareStatus | string; + ShareDetails?: ShareDetails; } export namespace DescribePortfolioShareStatusOutput { @@ -2535,16 +2535,6 @@ export namespace DescribePortfolioShareStatusOutput { } export interface DescribeProductInput { - /** - *

                                                                                                                  The product identifier.

                                                                                                                  - */ - Id?: string; - - /** - *

                                                                                                                  The product name.

                                                                                                                  - */ - Name?: string; - /** *

                                                                                                                  The language code.

                                                                                                                  *
                                                                                                                    @@ -2563,6 +2553,16 @@ export interface DescribeProductInput { *
                                                                                                                  */ AcceptLanguage?: string; + + /** + *

                                                                                                                  The product identifier.

                                                                                                                  + */ + Id?: string; + + /** + *

                                                                                                                  The product name.

                                                                                                                  + */ + Name?: string; } export namespace DescribeProductInput { @@ -2576,14 +2576,14 @@ export namespace DescribeProductInput { */ export interface LaunchPath { /** - *

                                                                                                                  The name of the launch path.

                                                                                                                  + *

                                                                                                                  The identifier of the launch path.

                                                                                                                  */ - Name?: string; + Id?: string; /** - *

                                                                                                                  The identifier of the launch path.

                                                                                                                  + *

                                                                                                                  The name of the launch path.

                                                                                                                  */ - Id?: string; + Name?: string; } export namespace LaunchPath { @@ -2597,19 +2597,19 @@ export namespace LaunchPath { */ export interface ProvisioningArtifact { /** - *

                                                                                                                  The name of the provisioning artifact.

                                                                                                                  + *

                                                                                                                  The identifier of the provisioning artifact.

                                                                                                                  */ - Name?: string; + Id?: string; /** - *

                                                                                                                  Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

                                                                                                                  + *

                                                                                                                  The name of the provisioning artifact.

                                                                                                                  */ - Guidance?: ProvisioningArtifactGuidance | string; + Name?: string; /** - *

                                                                                                                  The identifier of the provisioning artifact.

                                                                                                                  + *

                                                                                                                  The description of the provisioning artifact.

                                                                                                                  */ - Id?: string; + Description?: string; /** *

                                                                                                                  The UTC time stamp of the creation time.

                                                                                                                  @@ -2617,9 +2617,9 @@ export interface ProvisioningArtifact { CreatedTime?: Date; /** - *

                                                                                                                  The description of the provisioning artifact.

                                                                                                                  + *

                                                                                                                  Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

                                                                                                                  */ - Description?: string; + Guidance?: ProvisioningArtifactGuidance | string; } export namespace ProvisioningArtifact { @@ -2629,11 +2629,6 @@ export namespace ProvisioningArtifact { } export interface DescribeProductOutput { - /** - *

                                                                                                                  Information about the associated launch paths.

                                                                                                                  - */ - LaunchPaths?: LaunchPath[]; - /** *

                                                                                                                  Summary information about the product view.

                                                                                                                  */ @@ -2648,6 +2643,11 @@ export interface DescribeProductOutput { *

                                                                                                                  Information about the associated budgets.

                                                                                                                  */ Budgets?: BudgetDetail[]; + + /** + *

                                                                                                                  Information about the associated launch paths.

                                                                                                                  + */ + LaunchPaths?: LaunchPath[]; } export namespace DescribeProductOutput { @@ -2657,16 +2657,6 @@ export namespace DescribeProductOutput { } export interface DescribeProductAsAdminInput { - /** - *

                                                                                                                  The product name.

                                                                                                                  - */ - Name?: string; - - /** - *

                                                                                                                  The product identifier.

                                                                                                                  - */ - Id?: string; - /** *

                                                                                                                  The language code.

                                                                                                                  *
                                                                                                                    @@ -2685,6 +2675,16 @@ export interface DescribeProductAsAdminInput { *
                                                                                                                  */ AcceptLanguage?: string; + + /** + *

                                                                                                                  The product identifier.

                                                                                                                  + */ + Id?: string; + + /** + *

                                                                                                                  The product name.

                                                                                                                  + */ + Name?: string; } export namespace DescribeProductAsAdminInput { @@ -2697,6 +2697,11 @@ export namespace DescribeProductAsAdminInput { *

                                                                                                                  Summary information about a provisioning artifact (also known as a version) for a product.

                                                                                                                  */ export interface ProvisioningArtifactSummary { + /** + *

                                                                                                                  The identifier of the provisioning artifact.

                                                                                                                  + */ + Id?: string; + /** *

                                                                                                                  The name of the provisioning artifact.

                                                                                                                  */ @@ -2707,20 +2712,15 @@ export interface ProvisioningArtifactSummary { */ Description?: string; - /** - *

                                                                                                                  The metadata for the provisioning artifact. This is used with AWS Marketplace products.

                                                                                                                  - */ - ProvisioningArtifactMetadata?: { [key: string]: string }; - /** *

                                                                                                                  The UTC time stamp of the creation time.

                                                                                                                  */ CreatedTime?: Date; /** - *

                                                                                                                  The identifier of the provisioning artifact.

                                                                                                                  + *

                                                                                                                  The metadata for the provisioning artifact. This is used with AWS Marketplace products.

                                                                                                                  */ - Id?: string; + ProvisioningArtifactMetadata?: { [key: string]: string }; } export namespace ProvisioningArtifactSummary { @@ -2731,29 +2731,29 @@ export namespace ProvisioningArtifactSummary { export interface DescribeProductAsAdminOutput { /** - *

                                                                                                                  Information about the tags associated with the product.

                                                                                                                  + *

                                                                                                                  Information about the product view.

                                                                                                                  */ - Tags?: Tag[]; + ProductViewDetail?: ProductViewDetail; /** - *

                                                                                                                  Information about the TagOptions associated with the product.

                                                                                                                  + *

                                                                                                                  Information about the provisioning artifacts (also known as versions) for the specified product.

                                                                                                                  */ - TagOptions?: TagOptionDetail[]; + ProvisioningArtifactSummaries?: ProvisioningArtifactSummary[]; /** - *

                                                                                                                  Information about the associated budgets.

                                                                                                                  + *

                                                                                                                  Information about the tags associated with the product.

                                                                                                                  */ - Budgets?: BudgetDetail[]; + Tags?: Tag[]; /** - *

                                                                                                                  Information about the provisioning artifacts (also known as versions) for the specified product.

                                                                                                                  + *

                                                                                                                  Information about the TagOptions associated with the product.

                                                                                                                  */ - ProvisioningArtifactSummaries?: ProvisioningArtifactSummary[]; + TagOptions?: TagOptionDetail[]; /** - *

                                                                                                                  Information about the product view.

                                                                                                                  + *

                                                                                                                  Information about the associated budgets.

                                                                                                                  */ - ProductViewDetail?: ProductViewDetail; + Budgets?: BudgetDetail[]; } export namespace DescribeProductAsAdminOutput { @@ -2796,14 +2796,14 @@ export namespace DescribeProductViewInput { export interface DescribeProductViewOutput { /** - *

                                                                                                                  Information about the provisioning artifacts for the product.

                                                                                                                  + *

                                                                                                                  Summary information about the product.

                                                                                                                  */ - ProvisioningArtifacts?: ProvisioningArtifact[]; + ProductViewSummary?: ProductViewSummary; /** - *

                                                                                                                  Summary information about the product.

                                                                                                                  + *

                                                                                                                  Information about the provisioning artifacts for the product.

                                                                                                                  */ - ProductViewSummary?: ProductViewSummary; + ProvisioningArtifacts?: ProvisioningArtifact[]; } export namespace DescribeProductViewOutput { @@ -2892,9 +2892,9 @@ export enum ProvisionedProductStatus { */ export interface ProvisionedProductDetail { /** - *

                                                                                                                  The UTC time stamp of the creation time.

                                                                                                                  + *

                                                                                                                  The user-friendly name of the provisioned product.

                                                                                                                  */ - CreatedTime?: Date; + Name?: string; /** *

                                                                                                                  The ARN of the provisioned product.

                                                                                                                  @@ -2902,88 +2902,57 @@ export interface ProvisionedProductDetail { Arn?: string; /** - *

                                                                                                                  The identifier of the provisioned product.

                                                                                                                  - */ - Id?: string; - - /** - *

                                                                                                                  The record identifier of the last request performed on this provisioned product.

                                                                                                                  - */ - LastRecordId?: string; - - /** - *

                                                                                                                  The user-friendly name of the provisioned product.

                                                                                                                  + *

                                                                                                                  The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

                                                                                                                  */ - Name?: string; + Type?: string; /** - *

                                                                                                                  The current status message of the provisioned product.

                                                                                                                  + *

                                                                                                                  The identifier of the provisioned product.

                                                                                                                  */ - StatusMessage?: string; + Id?: string; /** - *

                                                                                                                  The record identifier of the last successful request performed on this provisioned product of the following types:

                                                                                                                  + *

                                                                                                                  The current status of the provisioned product.

                                                                                                                  *
                                                                                                                    *
                                                                                                                  • *

                                                                                                                    - * ProvisionedProduct - *

                                                                                                                    + * AVAILABLE - Stable state, ready to perform any operation. The most + * recent operation succeeded and completed.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • *

                                                                                                                    - * UpdateProvisionedProduct - *

                                                                                                                    + * UNDER_CHANGE - Transitive state. Operations performed might not have valid results. + * Wait for an AVAILABLE status before performing operations.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • *

                                                                                                                    - * ExecuteProvisionedProductPlan - *

                                                                                                                    + * TAINTED - Stable state, ready to perform any operation. The stack has + * completed the requested operation but is not exactly what was requested. For example, a + * request to update to a new version failed and the stack rolled back to the current version.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • *

                                                                                                                    - * TerminateProvisionedProduct - *

                                                                                                                    + * ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. + * For example, CloudFormation received a parameter value that was not valid and could not launch the stack.

                                                                                                                    + *
                                                                                                                  • + *
                                                                                                                  • + *

                                                                                                                    + * PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, + * but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  */ - LastSuccessfulProvisioningRecordId?: string; + Status?: ProvisionedProductStatus | string; /** - *

                                                                                                                  The record identifier of the last request performed on this provisioned product of the following types:

                                                                                                                  - *
                                                                                                                    - *
                                                                                                                  • - *

                                                                                                                    - * ProvisionedProduct - *

                                                                                                                    - *
                                                                                                                  • - *
                                                                                                                  • - *

                                                                                                                    - * UpdateProvisionedProduct - *

                                                                                                                    - *
                                                                                                                  • - *
                                                                                                                  • - *

                                                                                                                    - * ExecuteProvisionedProductPlan - *

                                                                                                                    - *
                                                                                                                  • - *
                                                                                                                  • - *

                                                                                                                    - * TerminateProvisionedProduct - *

                                                                                                                    - *
                                                                                                                  • - *
                                                                                                                  - */ - LastProvisioningRecordId?: string; - - /** - *

                                                                                                                  The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

                                                                                                                  + *

                                                                                                                  The current status message of the provisioned product.

                                                                                                                  */ - Type?: string; + StatusMessage?: string; /** - *

                                                                                                                  The ARN of the launch role associated with the provisioned product.

                                                                                                                  + *

                                                                                                                  The UTC time stamp of the creation time.

                                                                                                                  */ - LaunchRoleArn?: string; + CreatedTime?: Date; /** *

                                                                                                                  A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, @@ -2992,47 +2961,78 @@ export interface ProvisionedProductDetail { IdempotencyToken?: string; /** - *

                                                                                                                  The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                  - */ - ProvisioningArtifactId?: string; - - /** - *

                                                                                                                  The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                  + *

                                                                                                                  The record identifier of the last request performed on this provisioned product.

                                                                                                                  */ - ProductId?: string; + LastRecordId?: string; /** - *

                                                                                                                  The current status of the provisioned product.

                                                                                                                  + *

                                                                                                                  The record identifier of the last request performed on this provisioned product of the following types:

                                                                                                                  *
                                                                                                                    *
                                                                                                                  • *

                                                                                                                    - * AVAILABLE - Stable state, ready to perform any operation. The most - * recent operation succeeded and completed.

                                                                                                                    + * ProvisionedProduct + *

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • *

                                                                                                                    - * UNDER_CHANGE - Transitive state. Operations performed might not have valid results. - * Wait for an AVAILABLE status before performing operations.

                                                                                                                    + * UpdateProvisionedProduct + *

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • *

                                                                                                                    - * TAINTED - Stable state, ready to perform any operation. The stack has - * completed the requested operation but is not exactly what was requested. For example, a - * request to update to a new version failed and the stack rolled back to the current version.

                                                                                                                    + * ExecuteProvisionedProductPlan + *

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • *

                                                                                                                    - * ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. - * For example, CloudFormation received a parameter value that was not valid and could not launch the stack.

                                                                                                                    + * TerminateProvisionedProduct + *

                                                                                                                    *
                                                                                                                  • + *
                                                                                                                  + */ + LastProvisioningRecordId?: string; + + /** + *

                                                                                                                  The record identifier of the last successful request performed on this provisioned product of the following types:

                                                                                                                  + *
                                                                                                                    *
                                                                                                                  • *

                                                                                                                    - * PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, - * but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.

                                                                                                                    + * ProvisionedProduct + *

                                                                                                                    + *
                                                                                                                  • + *
                                                                                                                  • + *

                                                                                                                    + * UpdateProvisionedProduct + *

                                                                                                                    + *
                                                                                                                  • + *
                                                                                                                  • + *

                                                                                                                    + * ExecuteProvisionedProductPlan + *

                                                                                                                    + *
                                                                                                                  • + *
                                                                                                                  • + *

                                                                                                                    + * TerminateProvisionedProduct + *

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  */ - Status?: ProvisionedProductStatus | string; + LastSuccessfulProvisioningRecordId?: string; + + /** + *

                                                                                                                  The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                  + */ + ProductId?: string; + + /** + *

                                                                                                                  The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                  + */ + ProvisioningArtifactId?: string; + + /** + *

                                                                                                                  The ARN of the launch role associated with the provisioned product.

                                                                                                                  + */ + LaunchRoleArn?: string; } export namespace ProvisionedProductDetail { @@ -3060,21 +3060,6 @@ export namespace DescribeProvisionedProductOutput { } export interface DescribeProvisionedProductPlanInput { - /** - *

                                                                                                                  The maximum number of items to return with this call.

                                                                                                                  - */ - PageSize?: number; - - /** - *

                                                                                                                  The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                  - */ - PageToken?: string; - - /** - *

                                                                                                                  The plan identifier.

                                                                                                                  - */ - PlanId: string | undefined; - /** *

                                                                                                                  The language code.

                                                                                                                  *
                                                                                                                    @@ -3093,6 +3078,21 @@ export interface DescribeProvisionedProductPlanInput { *
                                                                                                                  */ AcceptLanguage?: string; + + /** + *

                                                                                                                  The plan identifier.

                                                                                                                  + */ + PlanId: string | undefined; + + /** + *

                                                                                                                  The maximum number of items to return with this call.

                                                                                                                  + */ + PageSize?: number; + + /** + *

                                                                                                                  The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                  + */ + PageToken?: string; } export namespace DescribeProvisionedProductPlanInput { @@ -3115,41 +3115,41 @@ export enum ProvisionedProductPlanStatus { */ export interface ProvisionedProductPlanDetails { /** - *

                                                                                                                  Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related - * events.

                                                                                                                  + *

                                                                                                                  The UTC time stamp of the creation time.

                                                                                                                  */ - NotificationArns?: string[]; + CreatedTime?: Date; /** - *

                                                                                                                  The identifier of the provisioning artifact.

                                                                                                                  + *

                                                                                                                  The path identifier of the product. This value is optional if the product + * has a default path, and required if the product has more than one path. + * To list the paths for a product, use ListLaunchPaths.

                                                                                                                  */ - ProvisioningArtifactId?: string; + PathId?: string; /** - *

                                                                                                                  The status message.

                                                                                                                  + *

                                                                                                                  The product identifier.

                                                                                                                  */ - StatusMessage?: string; + ProductId?: string; /** - *

                                                                                                                  One or more tags.

                                                                                                                  + *

                                                                                                                  The name of the plan.

                                                                                                                  */ - Tags?: Tag[]; + PlanName?: string; /** - *

                                                                                                                  The product identifier.

                                                                                                                  + *

                                                                                                                  The plan identifier.

                                                                                                                  */ - ProvisionProductId?: string; + PlanId?: string; /** - *

                                                                                                                  Parameters specified by the administrator that are required for provisioning the - * product.

                                                                                                                  + *

                                                                                                                  The product identifier.

                                                                                                                  */ - ProvisioningParameters?: UpdateProvisioningParameter[]; + ProvisionProductId?: string; /** - *

                                                                                                                  The time when the plan was last updated.

                                                                                                                  + *

                                                                                                                  The user-friendly name of the provisioned product.

                                                                                                                  */ - UpdatedTime?: Date; + ProvisionProductName?: string; /** *

                                                                                                                  The plan type.

                                                                                                                  @@ -3157,9 +3157,9 @@ export interface ProvisionedProductPlanDetails { PlanType?: ProvisionedProductPlanType | string; /** - *

                                                                                                                  The user-friendly name of the provisioned product.

                                                                                                                  + *

                                                                                                                  The identifier of the provisioning artifact.

                                                                                                                  */ - ProvisionProductName?: string; + ProvisioningArtifactId?: string; /** *

                                                                                                                  The status.

                                                                                                                  @@ -3167,31 +3167,31 @@ export interface ProvisionedProductPlanDetails { Status?: ProvisionedProductPlanStatus | string; /** - *

                                                                                                                  The path identifier of the product. This value is optional if the product - * has a default path, and required if the product has more than one path. - * To list the paths for a product, use ListLaunchPaths.

                                                                                                                  + *

                                                                                                                  The time when the plan was last updated.

                                                                                                                  */ - PathId?: string; + UpdatedTime?: Date; /** - *

                                                                                                                  The plan identifier.

                                                                                                                  + *

                                                                                                                  Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related + * events.

                                                                                                                  */ - PlanId?: string; + NotificationArns?: string[]; /** - *

                                                                                                                  The UTC time stamp of the creation time.

                                                                                                                  + *

                                                                                                                  Parameters specified by the administrator that are required for provisioning the + * product.

                                                                                                                  */ - CreatedTime?: Date; + ProvisioningParameters?: UpdateProvisioningParameter[]; /** - *

                                                                                                                  The name of the plan.

                                                                                                                  + *

                                                                                                                  One or more tags.

                                                                                                                  */ - PlanName?: string; + Tags?: Tag[]; /** - *

                                                                                                                  The product identifier.

                                                                                                                  + *

                                                                                                                  The status message.

                                                                                                                  */ - ProductId?: string; + StatusMessage?: string; } export namespace ProvisionedProductPlanDetails { @@ -3259,9 +3259,9 @@ export namespace ResourceTargetDefinition { */ export interface ResourceChangeDetail { /** - *

                                                                                                                  The ID of the entity that caused the change.

                                                                                                                  + *

                                                                                                                  Information about the resource attribute to be modified.

                                                                                                                  */ - CausingEntity?: string; + Target?: ResourceTargetDefinition; /** *

                                                                                                                  For static evaluations, the value of the resource attribute will change and the new value is known. @@ -3270,9 +3270,9 @@ export interface ResourceChangeDetail { Evaluation?: EvaluationType | string; /** - *

                                                                                                                  Information about the resource attribute to be modified.

                                                                                                                  + *

                                                                                                                  The ID of the entity that caused the change.

                                                                                                                  */ - Target?: ResourceTargetDefinition; + CausingEntity?: string; } export namespace ResourceChangeDetail { @@ -3291,21 +3291,15 @@ export enum Replacement { *

                                                                                                                  Information about a resource change that will occur when a plan is executed.

                                                                                                                  */ export interface ResourceChange { - /** - *

                                                                                                                  The type of resource.

                                                                                                                  - */ - ResourceType?: string; - /** *

                                                                                                                  The change action.

                                                                                                                  */ Action?: ChangeAction | string; /** - *

                                                                                                                  If the change type is Modify, indicates whether the existing resource - * is deleted and replaced with a new one.

                                                                                                                  + *

                                                                                                                  The ID of the resource, as defined in the CloudFormation template.

                                                                                                                  */ - Replacement?: Replacement | string; + LogicalResourceId?: string; /** *

                                                                                                                  The ID of the resource, if it was already created.

                                                                                                                  @@ -3313,19 +3307,25 @@ export interface ResourceChange { PhysicalResourceId?: string; /** - *

                                                                                                                  The ID of the resource, as defined in the CloudFormation template.

                                                                                                                  + *

                                                                                                                  The type of resource.

                                                                                                                  */ - LogicalResourceId?: string; + ResourceType?: string; /** - *

                                                                                                                  Information about the resource changes.

                                                                                                                  + *

                                                                                                                  If the change type is Modify, indicates whether the existing resource + * is deleted and replaced with a new one.

                                                                                                                  */ - Details?: ResourceChangeDetail[]; + Replacement?: Replacement | string; /** *

                                                                                                                  The change scope.

                                                                                                                  */ Scope?: (ResourceAttribute | string)[]; + + /** + *

                                                                                                                  Information about the resource changes.

                                                                                                                  + */ + Details?: ResourceChangeDetail[]; } export namespace ResourceChange { @@ -3358,31 +3358,6 @@ export namespace DescribeProvisionedProductPlanOutput { } export interface DescribeProvisioningArtifactInput { - /** - *

                                                                                                                  The product identifier.

                                                                                                                  - */ - ProductId?: string; - - /** - *

                                                                                                                  The provisioning artifact name.

                                                                                                                  - */ - ProvisioningArtifactName?: string; - - /** - *

                                                                                                                  Indicates whether a verbose level of detail is enabled.

                                                                                                                  - */ - Verbose?: boolean; - - /** - *

                                                                                                                  The product name.

                                                                                                                  - */ - ProductName?: string; - - /** - *

                                                                                                                  The identifier of the provisioning artifact.

                                                                                                                  - */ - ProvisioningArtifactId?: string; - /** *

                                                                                                                  The language code.

                                                                                                                  *
                                                                                                                    @@ -3401,53 +3376,63 @@ export interface DescribeProvisioningArtifactInput { *
                                                                                                                  */ AcceptLanguage?: string; -} - -export namespace DescribeProvisioningArtifactInput { - export const filterSensitiveLog = (obj: DescribeProvisioningArtifactInput): any => ({ - ...obj, - }); -} -export interface DescribeProvisioningArtifactOutput { /** - *

                                                                                                                  Information about the provisioning artifact.

                                                                                                                  + *

                                                                                                                  The identifier of the provisioning artifact.

                                                                                                                  */ - ProvisioningArtifactDetail?: ProvisioningArtifactDetail; + ProvisioningArtifactId?: string; /** - *

                                                                                                                  The status of the current request.

                                                                                                                  + *

                                                                                                                  The product identifier.

                                                                                                                  */ - Status?: Status | string; + ProductId?: string; /** - *

                                                                                                                  The URL of the CloudFormation template in Amazon S3.

                                                                                                                  + *

                                                                                                                  The provisioning artifact name.

                                                                                                                  */ - Info?: { [key: string]: string }; + ProvisioningArtifactName?: string; + + /** + *

                                                                                                                  The product name.

                                                                                                                  + */ + ProductName?: string; + + /** + *

                                                                                                                  Indicates whether a verbose level of detail is enabled.

                                                                                                                  + */ + Verbose?: boolean; } -export namespace DescribeProvisioningArtifactOutput { - export const filterSensitiveLog = (obj: DescribeProvisioningArtifactOutput): any => ({ +export namespace DescribeProvisioningArtifactInput { + export const filterSensitiveLog = (obj: DescribeProvisioningArtifactInput): any => ({ ...obj, }); } -export interface DescribeProvisioningParametersInput { +export interface DescribeProvisioningArtifactOutput { /** - *

                                                                                                                  The product identifier. You must provide the product name or ID, but not both.

                                                                                                                  + *

                                                                                                                  Information about the provisioning artifact.

                                                                                                                  */ - ProductId?: string; + ProvisioningArtifactDetail?: ProvisioningArtifactDetail; /** - *

                                                                                                                  The name of the provisioning artifact. You must provide the name or ID, but not both.

                                                                                                                  + *

                                                                                                                  The URL of the CloudFormation template in Amazon S3.

                                                                                                                  */ - ProvisioningArtifactName?: string; + Info?: { [key: string]: string }; /** - *

                                                                                                                  The name of the product. You must provide the name or ID, but not both.

                                                                                                                  + *

                                                                                                                  The status of the current request.

                                                                                                                  */ - ProductName?: string; + Status?: Status | string; +} + +export namespace DescribeProvisioningArtifactOutput { + export const filterSensitiveLog = (obj: DescribeProvisioningArtifactOutput): any => ({ + ...obj, + }); +} +export interface DescribeProvisioningParametersInput { /** *

                                                                                                                  The language code.

                                                                                                                  *
                                                                                                                    @@ -3468,21 +3453,36 @@ export interface DescribeProvisioningParametersInput { AcceptLanguage?: string; /** - *

                                                                                                                    The name of the path. You must provide the name or ID, but not both.

                                                                                                                    + *

                                                                                                                    The product identifier. You must provide the product name or ID, but not both.

                                                                                                                    */ - PathName?: string; + ProductId?: string; + + /** + *

                                                                                                                    The name of the product. You must provide the name or ID, but not both.

                                                                                                                    + */ + ProductName?: string; /** *

                                                                                                                    The identifier of the provisioning artifact. You must provide the name or ID, but not both.

                                                                                                                    */ ProvisioningArtifactId?: string; + /** + *

                                                                                                                    The name of the provisioning artifact. You must provide the name or ID, but not both.

                                                                                                                    + */ + ProvisioningArtifactName?: string; + /** *

                                                                                                                    The path identifier of the product. This value is optional if the product * has a default path, and required if the product has more than one path. * To list the paths for a product, use ListLaunchPaths. You must provide the name or ID, but not both.

                                                                                                                    */ PathId?: string; + + /** + *

                                                                                                                    The name of the path. You must provide the name or ID, but not both.

                                                                                                                    + */ + PathName?: string; } export namespace DescribeProvisioningParametersInput { @@ -3495,11 +3495,6 @@ export namespace DescribeProvisioningParametersInput { *

                                                                                                                    Summary information about a constraint.

                                                                                                                    */ export interface ConstraintSummary { - /** - *

                                                                                                                    The description of the constraint.

                                                                                                                    - */ - Description?: string; - /** *

                                                                                                                    The type of constraint.

                                                                                                                    *
                                                                                                                      @@ -3524,6 +3519,11 @@ export interface ConstraintSummary { *
                                                                                                                    */ Type?: string; + + /** + *

                                                                                                                    The description of the constraint.

                                                                                                                    + */ + Description?: string; } export namespace ConstraintSummary { @@ -3537,14 +3537,14 @@ export namespace ConstraintSummary { */ export interface ProvisioningArtifactOutput { /** - *

                                                                                                                    Description of the provisioning artifact output key.

                                                                                                                    + *

                                                                                                                    The provisioning artifact output key.

                                                                                                                    */ - Description?: string; + Key?: string; /** - *

                                                                                                                    The provisioning artifact output key.

                                                                                                                    + *

                                                                                                                    Description of the provisioning artifact output key.

                                                                                                                    */ - Key?: string; + Description?: string; } export namespace ProvisioningArtifactOutput { @@ -3574,9 +3574,9 @@ export namespace ParameterConstraints { */ export interface ProvisioningArtifactParameter { /** - *

                                                                                                                    The description of the parameter.

                                                                                                                    + *

                                                                                                                    The parameter key.

                                                                                                                    */ - Description?: string; + ParameterKey?: string; /** *

                                                                                                                    The default value.

                                                                                                                    @@ -3584,25 +3584,25 @@ export interface ProvisioningArtifactParameter { DefaultValue?: string; /** - *

                                                                                                                    The parameter key.

                                                                                                                    + *

                                                                                                                    The parameter type.

                                                                                                                    */ - ParameterKey?: string; + ParameterType?: string; /** - *

                                                                                                                    Constraints that the administrator has put on a parameter.

                                                                                                                    + *

                                                                                                                    If this value is true, the value for this parameter is obfuscated from view when the + * parameter is retrieved. This parameter is used to hide sensitive information.

                                                                                                                    */ - ParameterConstraints?: ParameterConstraints; + IsNoEcho?: boolean; /** - *

                                                                                                                    The parameter type.

                                                                                                                    + *

                                                                                                                    The description of the parameter.

                                                                                                                    */ - ParameterType?: string; + Description?: string; /** - *

                                                                                                                    If this value is true, the value for this parameter is obfuscated from view when the - * parameter is retrieved. This parameter is used to hide sensitive information.

                                                                                                                    + *

                                                                                                                    Constraints that the administrator has put on a parameter.

                                                                                                                    */ - IsNoEcho?: boolean; + ParameterConstraints?: ParameterConstraints; } export namespace ProvisioningArtifactParameter { @@ -3640,14 +3640,14 @@ export namespace ProvisioningArtifactPreferences { */ export interface TagOptionSummary { /** - *

                                                                                                                    The TagOption value.

                                                                                                                    + *

                                                                                                                    The TagOption key.

                                                                                                                    */ - Values?: string[]; + Key?: string; /** - *

                                                                                                                    The TagOption key.

                                                                                                                    + *

                                                                                                                    The TagOption value.

                                                                                                                    */ - Key?: string; + Values?: string[]; } export namespace TagOptionSummary { @@ -3678,11 +3678,6 @@ export namespace UsageInstruction { } export interface DescribeProvisioningParametersOutput { - /** - *

                                                                                                                    An object that contains information about preferences, such as regions and accounts, for the provisioning artifact.

                                                                                                                    - */ - ProvisioningArtifactPreferences?: ProvisioningArtifactPreferences; - /** *

                                                                                                                    Information about the parameters used to provision the product.

                                                                                                                    */ @@ -3704,6 +3699,11 @@ export interface DescribeProvisioningParametersOutput { */ TagOptions?: TagOptionSummary[]; + /** + *

                                                                                                                    An object that contains information about preferences, such as regions and accounts, for the provisioning artifact.

                                                                                                                    + */ + ProvisioningArtifactPreferences?: ProvisioningArtifactPreferences; + /** *

                                                                                                                    The output of the provisioning artifact.

                                                                                                                    */ @@ -3717,22 +3717,6 @@ export namespace DescribeProvisioningParametersOutput { } export interface DescribeRecordInput { - /** - *

                                                                                                                    The maximum number of items to return with this call.

                                                                                                                    - */ - PageSize?: number; - - /** - *

                                                                                                                    The record identifier of the provisioned product. This identifier is returned by the - * request operation.

                                                                                                                    - */ - Id: string | undefined; - - /** - *

                                                                                                                    The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                    - */ - PageToken?: string; - /** *

                                                                                                                    The language code.

                                                                                                                    *
                                                                                                                      @@ -3751,6 +3735,22 @@ export interface DescribeRecordInput { *
                                                                                                                    */ AcceptLanguage?: string; + + /** + *

                                                                                                                    The record identifier of the provisioned product. This identifier is returned by the + * request operation.

                                                                                                                    + */ + Id: string | undefined; + + /** + *

                                                                                                                    The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                    + */ + PageToken?: string; + + /** + *

                                                                                                                    The maximum number of items to return with this call.

                                                                                                                    + */ + PageSize?: number; } export namespace DescribeRecordInput { @@ -3764,14 +3764,14 @@ export namespace DescribeRecordInput { */ export interface RecordError { /** - *

                                                                                                                    The description of the error.

                                                                                                                    + *

                                                                                                                    The numeric value of the error.

                                                                                                                    */ - Description?: string; + Code?: string; /** - *

                                                                                                                    The numeric value of the error.

                                                                                                                    + *

                                                                                                                    The description of the error.

                                                                                                                    */ - Code?: string; + Description?: string; } export namespace RecordError { @@ -3814,9 +3814,14 @@ export enum RecordStatus { */ export interface RecordDetail { /** - *

                                                                                                                    The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

                                                                                                                    + *

                                                                                                                    The identifier of the record.

                                                                                                                    */ - ProvisionedProductType?: string; + RecordId?: string; + + /** + *

                                                                                                                    The user-friendly name of the provisioned product.

                                                                                                                    + */ + ProvisionedProductName?: string; /** *

                                                                                                                    The status of the provisioned product.

                                                                                                                    @@ -3848,14 +3853,19 @@ export interface RecordDetail { Status?: RecordStatus | string; /** - *

                                                                                                                    The path identifier.

                                                                                                                    + *

                                                                                                                    The UTC time stamp of the creation time.

                                                                                                                    */ - PathId?: string; + CreatedTime?: Date; /** - *

                                                                                                                    The UTC time stamp of the creation time.

                                                                                                                    + *

                                                                                                                    The time when the record was last updated.

                                                                                                                    */ - CreatedTime?: Date; + UpdatedTime?: Date; + + /** + *

                                                                                                                    The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

                                                                                                                    + */ + ProvisionedProductType?: string; /** *

                                                                                                                    The record type.

                                                                                                                    @@ -3879,11 +3889,6 @@ export interface RecordDetail { */ RecordType?: string; - /** - *

                                                                                                                    The user-friendly name of the provisioned product.

                                                                                                                    - */ - ProvisionedProductName?: string; - /** *

                                                                                                                    The identifier of the provisioned product.

                                                                                                                    */ @@ -3895,34 +3900,29 @@ export interface RecordDetail { ProductId?: string; /** - *

                                                                                                                    One or more tags.

                                                                                                                    - */ - RecordTags?: RecordTag[]; - - /** - *

                                                                                                                    The ARN of the launch role associated with the provisioned product.

                                                                                                                    + *

                                                                                                                    The identifier of the provisioning artifact.

                                                                                                                    */ - LaunchRoleArn?: string; + ProvisioningArtifactId?: string; /** - *

                                                                                                                    The identifier of the provisioning artifact.

                                                                                                                    + *

                                                                                                                    The path identifier.

                                                                                                                    */ - ProvisioningArtifactId?: string; + PathId?: string; /** - *

                                                                                                                    The time when the record was last updated.

                                                                                                                    + *

                                                                                                                    The errors that occurred.

                                                                                                                    */ - UpdatedTime?: Date; + RecordErrors?: RecordError[]; /** - *

                                                                                                                    The identifier of the record.

                                                                                                                    + *

                                                                                                                    One or more tags.

                                                                                                                    */ - RecordId?: string; + RecordTags?: RecordTag[]; /** - *

                                                                                                                    The errors that occurred.

                                                                                                                    + *

                                                                                                                    The ARN of the launch role associated with the provisioned product.

                                                                                                                    */ - RecordErrors?: RecordError[]; + LaunchRoleArn?: string; } export namespace RecordDetail { @@ -3959,11 +3959,6 @@ export namespace RecordOutput { } export interface DescribeRecordOutput { - /** - *

                                                                                                                    The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                    - */ - NextPageToken?: string; - /** *

                                                                                                                    Information about the product.

                                                                                                                    */ @@ -3974,6 +3969,11 @@ export interface DescribeRecordOutput { * a CloudFormation-backed product that creates an S3 bucket would include the S3 bucket URL.

                                                                                                                    */ RecordOutputs?: RecordOutput[]; + + /** + *

                                                                                                                    The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                    + */ + NextPageToken?: string; } export namespace DescribeRecordOutput { @@ -3983,6 +3983,11 @@ export namespace DescribeRecordOutput { } export interface DescribeServiceActionInput { + /** + *

                                                                                                                    The self-service action identifier.

                                                                                                                    + */ + Id: string | undefined; + /** *

                                                                                                                    The language code.

                                                                                                                    *
                                                                                                                      @@ -4001,11 +4006,6 @@ export interface DescribeServiceActionInput { *
                                                                                                                    */ AcceptLanguage?: string; - - /** - *

                                                                                                                    The self-service action identifier.

                                                                                                                    - */ - Id: string | undefined; } export namespace DescribeServiceActionInput { @@ -4033,6 +4033,11 @@ export interface DescribeServiceActionExecutionParametersInput { */ ProvisionedProductId: string | undefined; + /** + *

                                                                                                                    The self-service action identifier.

                                                                                                                    + */ + ServiceActionId: string | undefined; + /** *

                                                                                                                    The language code.

                                                                                                                    *
                                                                                                                      @@ -4051,11 +4056,6 @@ export interface DescribeServiceActionExecutionParametersInput { *
                                                                                                                    */ AcceptLanguage?: string; - - /** - *

                                                                                                                    The self-service action identifier.

                                                                                                                    - */ - ServiceActionId: string | undefined; } export namespace DescribeServiceActionExecutionParametersInput { @@ -4069,14 +4069,14 @@ export namespace DescribeServiceActionExecutionParametersInput { */ export interface ExecutionParameter { /** - *

                                                                                                                    The execution parameter type.

                                                                                                                    + *

                                                                                                                    The name of the execution parameter.

                                                                                                                    */ - Type?: string; + Name?: string; /** - *

                                                                                                                    The name of the execution parameter.

                                                                                                                    + *

                                                                                                                    The execution parameter type.

                                                                                                                    */ - Name?: string; + Type?: string; /** *

                                                                                                                    The default values for the execution parameter.

                                                                                                                    @@ -4236,16 +4236,16 @@ export interface DisassociateProductFromPortfolioInput { */ AcceptLanguage?: string; - /** - *

                                                                                                                    The portfolio identifier.

                                                                                                                    - */ - PortfolioId: string | undefined; - /** *

                                                                                                                    The product identifier.

                                                                                                                    */ ProductId: string | undefined; -} + + /** + *

                                                                                                                    The portfolio identifier.

                                                                                                                    + */ + PortfolioId: string | undefined; +} export namespace DisassociateProductFromPortfolioInput { export const filterSensitiveLog = (obj: DisassociateProductFromPortfolioInput): any => ({ @@ -4262,11 +4262,21 @@ export namespace DisassociateProductFromPortfolioOutput { } export interface DisassociateServiceActionFromProvisioningArtifactInput { + /** + *

                                                                                                                    The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                    + */ + ProductId: string | undefined; + /** *

                                                                                                                    The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                    */ ProvisioningArtifactId: string | undefined; + /** + *

                                                                                                                    The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                    + */ + ServiceActionId: string | undefined; + /** *

                                                                                                                    The language code.

                                                                                                                    *
                                                                                                                      @@ -4285,16 +4295,6 @@ export interface DisassociateServiceActionFromProvisioningArtifactInput { *
                                                                                                                    */ AcceptLanguage?: string; - - /** - *

                                                                                                                    The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                    - */ - ProductId: string | undefined; - - /** - *

                                                                                                                    The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                    - */ - ServiceActionId: string | undefined; } export namespace DisassociateServiceActionFromProvisioningArtifactInput { @@ -4313,14 +4313,14 @@ export namespace DisassociateServiceActionFromProvisioningArtifactOutput { export interface DisassociateTagOptionFromResourceInput { /** - *

                                                                                                                    The TagOption identifier.

                                                                                                                    + *

                                                                                                                    The resource identifier.

                                                                                                                    */ - TagOptionId: string | undefined; + ResourceId: string | undefined; /** - *

                                                                                                                    The resource identifier.

                                                                                                                    + *

                                                                                                                    The TagOption identifier.

                                                                                                                    */ - ResourceId: string | undefined; + TagOptionId: string | undefined; } export namespace DisassociateTagOptionFromResourceInput { @@ -4374,15 +4374,15 @@ export interface ExecuteProvisionedProductPlanInput { AcceptLanguage?: string; /** - *

                                                                                                                    A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, - * the same response is returned for each repeated request.

                                                                                                                    + *

                                                                                                                    The plan identifier.

                                                                                                                    */ - IdempotencyToken?: string; + PlanId: string | undefined; /** - *

                                                                                                                    The plan identifier.

                                                                                                                    + *

                                                                                                                    A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, + * the same response is returned for each repeated request.

                                                                                                                    */ - PlanId: string | undefined; + IdempotencyToken?: string; } export namespace ExecuteProvisionedProductPlanInput { @@ -4405,6 +4405,21 @@ export namespace ExecuteProvisionedProductPlanOutput { } export interface ExecuteProvisionedProductServiceActionInput { + /** + *

                                                                                                                    The identifier of the provisioned product.

                                                                                                                    + */ + ProvisionedProductId: string | undefined; + + /** + *

                                                                                                                    The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                    + */ + ServiceActionId: string | undefined; + + /** + *

                                                                                                                    An idempotency token that uniquely identifies the execute request.

                                                                                                                    + */ + ExecuteToken?: string; + /** *

                                                                                                                    The language code.

                                                                                                                    *
                                                                                                                      @@ -4424,27 +4439,12 @@ export interface ExecuteProvisionedProductServiceActionInput { */ AcceptLanguage?: string; - /** - *

                                                                                                                      The identifier of the provisioned product.

                                                                                                                      - */ - ProvisionedProductId: string | undefined; - - /** - *

                                                                                                                      The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                      - */ - ServiceActionId: string | undefined; - /** *

                                                                                                                      A map of all self-service action parameters and their values. If a provided parameter is of a special type, such as TARGET, the provided value will * override the default value generated by AWS Service Catalog. If the parameters field is not provided, no additional parameters are passed and default values will be used for * any special parameters such as TARGET.

                                                                                                                      */ Parameters?: { [key: string]: string[] }; - - /** - *

                                                                                                                      An idempotency token that uniquely identifies the execute request.

                                                                                                                      - */ - ExecuteToken?: string; } export namespace ExecuteProvisionedProductServiceActionInput { @@ -4489,15 +4489,34 @@ export namespace GetAWSOrganizationsAccessStatusOutput { export interface GetProvisionedProductOutputsInput { /** - *

                                                                                                                      The name of the provisioned product that you want the outputs from.

                                                                                                                      + *

                                                                                                                      The language code.

                                                                                                                      + *
                                                                                                                        + *
                                                                                                                      • + *

                                                                                                                        + * en - English (default)

                                                                                                                        + *
                                                                                                                      • + *
                                                                                                                      • + *

                                                                                                                        + * jp - Japanese

                                                                                                                        + *
                                                                                                                      • + *
                                                                                                                      • + *

                                                                                                                        + * zh - Chinese

                                                                                                                        + *
                                                                                                                      • + *
                                                                                                                      */ - ProvisionedProductName?: string; + AcceptLanguage?: string; /** *

                                                                                                                      The identifier of the provisioned product that you want the outputs from.

                                                                                                                      */ ProvisionedProductId?: string; + /** + *

                                                                                                                      The name of the provisioned product that you want the outputs from.

                                                                                                                      + */ + ProvisionedProductName?: string; + /** *

                                                                                                                      The list of keys that the API should return with their values. If none are provided, the API will return all outputs of the provisioned product.

                                                                                                                      */ @@ -4512,25 +4531,6 @@ export interface GetProvisionedProductOutputsInput { *

                                                                                                                      The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                      */ PageToken?: string; - - /** - *

                                                                                                                      The language code.

                                                                                                                      - *
                                                                                                                        - *
                                                                                                                      • - *

                                                                                                                        - * en - English (default)

                                                                                                                        - *
                                                                                                                      • - *
                                                                                                                      • - *

                                                                                                                        - * jp - Japanese

                                                                                                                        - *
                                                                                                                      • - *
                                                                                                                      • - *

                                                                                                                        - * zh - Chinese

                                                                                                                        - *
                                                                                                                      • - *
                                                                                                                      - */ - AcceptLanguage?: string; } export namespace GetProvisionedProductOutputsInput { @@ -4540,16 +4540,16 @@ export namespace GetProvisionedProductOutputsInput { } export interface GetProvisionedProductOutputsOutput { - /** - *

                                                                                                                      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                      - */ - NextPageToken?: string; - /** *

                                                                                                                      Information about the product created as the result of a request. For example, the output for a CloudFormation-backed product that creates an S3 bucket would include the S3 bucket URL. *

                                                                                                                      */ Outputs?: RecordOutput[]; + + /** + *

                                                                                                                      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                      + */ + NextPageToken?: string; } export namespace GetProvisionedProductOutputsOutput { @@ -4559,11 +4559,6 @@ export namespace GetProvisionedProductOutputsOutput { } export interface ListAcceptedPortfolioSharesInput { - /** - *

                                                                                                                      The maximum number of items to return with this call.

                                                                                                                      - */ - PageSize?: number; - /** *

                                                                                                                      The language code.

                                                                                                                      *
                                                                                                                        @@ -4588,6 +4583,11 @@ export interface ListAcceptedPortfolioSharesInput { */ PageToken?: string; + /** + *

                                                                                                                        The maximum number of items to return with this call.

                                                                                                                        + */ + PageSize?: number; + /** *

                                                                                                                        The type of shared portfolios to list. The default is to list imported portfolios.

                                                                                                                        *
                                                                                                                          @@ -4617,14 +4617,14 @@ export namespace ListAcceptedPortfolioSharesInput { export interface ListAcceptedPortfolioSharesOutput { /** - *

                                                                                                                          The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                          + *

                                                                                                                          Information about the portfolios.

                                                                                                                          */ - NextPageToken?: string; + PortfolioDetails?: PortfolioDetail[]; /** - *

                                                                                                                          Information about the portfolios.

                                                                                                                          + *

                                                                                                                          The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                          */ - PortfolioDetails?: PortfolioDetail[]; + NextPageToken?: string; } export namespace ListAcceptedPortfolioSharesOutput { @@ -4634,21 +4634,6 @@ export namespace ListAcceptedPortfolioSharesOutput { } export interface ListBudgetsForResourceInput { - /** - *

                                                                                                                          The resource identifier.

                                                                                                                          - */ - ResourceId: string | undefined; - - /** - *

                                                                                                                          The maximum number of items to return with this call.

                                                                                                                          - */ - PageSize?: number; - - /** - *

                                                                                                                          The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                          - */ - PageToken?: string; - /** *

                                                                                                                          The language code.

                                                                                                                          *
                                                                                                                            @@ -4667,6 +4652,21 @@ export interface ListBudgetsForResourceInput { *
                                                                                                                          */ AcceptLanguage?: string; + + /** + *

                                                                                                                          The resource identifier.

                                                                                                                          + */ + ResourceId: string | undefined; + + /** + *

                                                                                                                          The maximum number of items to return with this call.

                                                                                                                          + */ + PageSize?: number; + + /** + *

                                                                                                                          The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                          + */ + PageToken?: string; } export namespace ListBudgetsForResourceInput { @@ -4677,14 +4677,14 @@ export namespace ListBudgetsForResourceInput { export interface ListBudgetsForResourceOutput { /** - *

                                                                                                                          The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                          + *

                                                                                                                          Information about the associated budgets.

                                                                                                                          */ - NextPageToken?: string; + Budgets?: BudgetDetail[]; /** - *

                                                                                                                          Information about the associated budgets.

                                                                                                                          + *

                                                                                                                          The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                          */ - Budgets?: BudgetDetail[]; + NextPageToken?: string; } export namespace ListBudgetsForResourceOutput { @@ -4694,21 +4694,6 @@ export namespace ListBudgetsForResourceOutput { } export interface ListConstraintsForPortfolioInput { - /** - *

                                                                                                                          The portfolio identifier.

                                                                                                                          - */ - PortfolioId: string | undefined; - - /** - *

                                                                                                                          The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                          - */ - PageToken?: string; - - /** - *

                                                                                                                          The product identifier.

                                                                                                                          - */ - ProductId?: string; - /** *

                                                                                                                          The language code.

                                                                                                                          *
                                                                                                                            @@ -4728,10 +4713,25 @@ export interface ListConstraintsForPortfolioInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                            The portfolio identifier.

                                                                                                                            + */ + PortfolioId: string | undefined; + + /** + *

                                                                                                                            The product identifier.

                                                                                                                            + */ + ProductId?: string; + /** *

                                                                                                                            The maximum number of items to return with this call.

                                                                                                                            */ PageSize?: number; + + /** + *

                                                                                                                            The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                            + */ + PageToken?: string; } export namespace ListConstraintsForPortfolioInput { @@ -4759,11 +4759,6 @@ export namespace ListConstraintsForPortfolioOutput { } export interface ListLaunchPathsInput { - /** - *

                                                                                                                            The product identifier.

                                                                                                                            - */ - ProductId: string | undefined; - /** *

                                                                                                                            The language code.

                                                                                                                            *
                                                                                                                              @@ -4784,14 +4779,19 @@ export interface ListLaunchPathsInput { AcceptLanguage?: string; /** - *

                                                                                                                              The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                              + *

                                                                                                                              The product identifier.

                                                                                                                              */ - PageToken?: string; + ProductId: string | undefined; /** *

                                                                                                                              The maximum number of items to return with this call.

                                                                                                                              */ PageSize?: number; + + /** + *

                                                                                                                              The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                              + */ + PageToken?: string; } export namespace ListLaunchPathsInput { @@ -4809,11 +4809,6 @@ export interface LaunchPathSummary { */ Id?: string; - /** - *

                                                                                                                              The name of the portfolio to which the user was assigned.

                                                                                                                              - */ - Name?: string; - /** *

                                                                                                                              The constraints on the portfolio-product relationship.

                                                                                                                              */ @@ -4823,6 +4818,11 @@ export interface LaunchPathSummary { *

                                                                                                                              The tags associated with this product path.

                                                                                                                              */ Tags?: Tag[]; + + /** + *

                                                                                                                              The name of the portfolio to which the user was assigned.

                                                                                                                              + */ + Name?: string; } export namespace LaunchPathSummary { @@ -4869,11 +4869,6 @@ export interface ListOrganizationPortfolioAccessInput { */ AcceptLanguage?: string; - /** - *

                                                                                                                              The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                              - */ - PageToken?: string; - /** *

                                                                                                                              The portfolio identifier. For example, port-2abcdext3y5fk.

                                                                                                                              */ @@ -4898,6 +4893,11 @@ export interface ListOrganizationPortfolioAccessInput { */ OrganizationNodeType: OrganizationNodeType | string | undefined; + /** + *

                                                                                                                              The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                              + */ + PageToken?: string; + /** *

                                                                                                                              The maximum number of items to return with this call.

                                                                                                                              */ @@ -4912,14 +4912,14 @@ export namespace ListOrganizationPortfolioAccessInput { export interface ListOrganizationPortfolioAccessOutput { /** - *

                                                                                                                              The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                              + *

                                                                                                                              Displays information about the organization nodes.

                                                                                                                              */ - NextPageToken?: string; + OrganizationNodes?: OrganizationNode[]; /** - *

                                                                                                                              Displays information about the organization nodes.

                                                                                                                              + *

                                                                                                                              The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                              */ - OrganizationNodes?: OrganizationNode[]; + NextPageToken?: string; } export namespace ListOrganizationPortfolioAccessOutput { @@ -4929,16 +4929,6 @@ export namespace ListOrganizationPortfolioAccessOutput { } export interface ListPortfolioAccessInput { - /** - *

                                                                                                                              The ID of an organization node the portfolio is shared with. All children of this node with an inherited portfolio share will be returned.

                                                                                                                              - */ - OrganizationParentId?: string; - - /** - *

                                                                                                                              The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                              - */ - PageToken?: string; - /** *

                                                                                                                              The language code.

                                                                                                                              *
                                                                                                                                @@ -4959,14 +4949,24 @@ export interface ListPortfolioAccessInput { AcceptLanguage?: string; /** - *

                                                                                                                                The maximum number of items to return with this call.

                                                                                                                                + *

                                                                                                                                The portfolio identifier.

                                                                                                                                */ - PageSize?: number; + PortfolioId: string | undefined; /** - *

                                                                                                                                The portfolio identifier.

                                                                                                                                + *

                                                                                                                                The ID of an organization node the portfolio is shared with. All children of this node with an inherited portfolio share will be returned.

                                                                                                                                */ - PortfolioId: string | undefined; + OrganizationParentId?: string; + + /** + *

                                                                                                                                The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                + */ + PageToken?: string; + + /** + *

                                                                                                                                The maximum number of items to return with this call.

                                                                                                                                + */ + PageSize?: number; } export namespace ListPortfolioAccessInput { @@ -4994,16 +4994,6 @@ export namespace ListPortfolioAccessOutput { } export interface ListPortfoliosInput { - /** - *

                                                                                                                                The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                - */ - PageToken?: string; - - /** - *

                                                                                                                                The maximum number of items to return with this call.

                                                                                                                                - */ - PageSize?: number; - /** *

                                                                                                                                The language code.

                                                                                                                                *
                                                                                                                                  @@ -5022,6 +5012,16 @@ export interface ListPortfoliosInput { *
                                                                                                                                */ AcceptLanguage?: string; + + /** + *

                                                                                                                                The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                + */ + PageToken?: string; + + /** + *

                                                                                                                                The maximum number of items to return with this call.

                                                                                                                                + */ + PageSize?: number; } export namespace ListPortfoliosInput { @@ -5049,11 +5049,6 @@ export namespace ListPortfoliosOutput { } export interface ListPortfoliosForProductInput { - /** - *

                                                                                                                                The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                - */ - PageToken?: string; - /** *

                                                                                                                                The language code.

                                                                                                                                *
                                                                                                                                  @@ -5078,6 +5073,11 @@ export interface ListPortfoliosForProductInput { */ ProductId: string | undefined; + /** + *

                                                                                                                                  The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                  + */ + PageToken?: string; + /** *

                                                                                                                                  The maximum number of items to return with this call.

                                                                                                                                  */ @@ -5109,16 +5109,6 @@ export namespace ListPortfoliosForProductOutput { } export interface ListPrincipalsForPortfolioInput { - /** - *

                                                                                                                                  The maximum number of items to return with this call.

                                                                                                                                  - */ - PageSize?: number; - - /** - *

                                                                                                                                  The portfolio identifier.

                                                                                                                                  - */ - PortfolioId: string | undefined; - /** *

                                                                                                                                  The language code.

                                                                                                                                  *
                                                                                                                                    @@ -5138,6 +5128,16 @@ export interface ListPrincipalsForPortfolioInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                                    The portfolio identifier.

                                                                                                                                    + */ + PortfolioId: string | undefined; + + /** + *

                                                                                                                                    The maximum number of items to return with this call.

                                                                                                                                    + */ + PageSize?: number; + /** *

                                                                                                                                    The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                    */ @@ -5155,14 +5155,14 @@ export namespace ListPrincipalsForPortfolioInput { */ export interface Principal { /** - *

                                                                                                                                    The principal type. The supported value is IAM.

                                                                                                                                    + *

                                                                                                                                    The ARN of the principal (IAM user, role, or group).

                                                                                                                                    */ - PrincipalType?: PrincipalType | string; + PrincipalARN?: string; /** - *

                                                                                                                                    The ARN of the principal (IAM user, role, or group).

                                                                                                                                    + *

                                                                                                                                    The principal type. The supported value is IAM.

                                                                                                                                    */ - PrincipalARN?: string; + PrincipalType?: PrincipalType | string; } export namespace Principal { @@ -5173,14 +5173,14 @@ export namespace Principal { export interface ListPrincipalsForPortfolioOutput { /** - *

                                                                                                                                    The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                    + *

                                                                                                                                    The IAM principals (users or roles) associated with the portfolio.

                                                                                                                                    */ - NextPageToken?: string; + Principals?: Principal[]; /** - *

                                                                                                                                    The IAM principals (users or roles) associated with the portfolio.

                                                                                                                                    + *

                                                                                                                                    The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                    */ - Principals?: Principal[]; + NextPageToken?: string; } export namespace ListPrincipalsForPortfolioOutput { @@ -5190,16 +5190,6 @@ export namespace ListPrincipalsForPortfolioOutput { } export interface ListProvisionedProductPlansInput { - /** - *

                                                                                                                                    The maximum number of items to return with this call.

                                                                                                                                    - */ - PageSize?: number; - - /** - *

                                                                                                                                    The access level to use to obtain results. The default is User.

                                                                                                                                    - */ - AccessLevelFilter?: AccessLevelFilter; - /** *

                                                                                                                                    The language code.

                                                                                                                                    *
                                                                                                                                      @@ -5219,15 +5209,25 @@ export interface ListProvisionedProductPlansInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                                      The product identifier.

                                                                                                                                      + */ + ProvisionProductId?: string; + + /** + *

                                                                                                                                      The maximum number of items to return with this call.

                                                                                                                                      + */ + PageSize?: number; + /** *

                                                                                                                                      The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                      */ PageToken?: string; /** - *

                                                                                                                                      The product identifier.

                                                                                                                                      + *

                                                                                                                                      The access level to use to obtain results. The default is User.

                                                                                                                                      */ - ProvisionProductId?: string; + AccessLevelFilter?: AccessLevelFilter; } export namespace ListProvisionedProductPlansInput { @@ -5240,20 +5240,25 @@ export namespace ListProvisionedProductPlansInput { *

                                                                                                                                      Summary information about a plan.

                                                                                                                                      */ export interface ProvisionedProductPlanSummary { + /** + *

                                                                                                                                      The name of the plan.

                                                                                                                                      + */ + PlanName?: string; + /** *

                                                                                                                                      The plan identifier.

                                                                                                                                      */ PlanId?: string; /** - *

                                                                                                                                      The user-friendly name of the provisioned product.

                                                                                                                                      + *

                                                                                                                                      The product identifier.

                                                                                                                                      */ - ProvisionProductName?: string; + ProvisionProductId?: string; /** - *

                                                                                                                                      The identifier of the provisioning artifact.

                                                                                                                                      + *

                                                                                                                                      The user-friendly name of the provisioned product.

                                                                                                                                      */ - ProvisioningArtifactId?: string; + ProvisionProductName?: string; /** *

                                                                                                                                      The plan type.

                                                                                                                                      @@ -5261,14 +5266,9 @@ export interface ProvisionedProductPlanSummary { PlanType?: ProvisionedProductPlanType | string; /** - *

                                                                                                                                      The product identifier.

                                                                                                                                      - */ - ProvisionProductId?: string; - - /** - *

                                                                                                                                      The name of the plan.

                                                                                                                                      + *

                                                                                                                                      The identifier of the provisioning artifact.

                                                                                                                                      */ - PlanName?: string; + ProvisioningArtifactId?: string; } export namespace ProvisionedProductPlanSummary { @@ -5279,14 +5279,14 @@ export namespace ProvisionedProductPlanSummary { export interface ListProvisionedProductPlansOutput { /** - *

                                                                                                                                      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                      + *

                                                                                                                                      Information about the plans.

                                                                                                                                      */ - NextPageToken?: string; + ProvisionedProductPlans?: ProvisionedProductPlanSummary[]; /** - *

                                                                                                                                      Information about the plans.

                                                                                                                                      + *

                                                                                                                                      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                      */ - ProvisionedProductPlans?: ProvisionedProductPlanSummary[]; + NextPageToken?: string; } export namespace ListProvisionedProductPlansOutput { @@ -5329,14 +5329,14 @@ export namespace ListProvisioningArtifactsInput { export interface ListProvisioningArtifactsOutput { /** - *

                                                                                                                                      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                      + *

                                                                                                                                      Information about the provisioning artifacts.

                                                                                                                                      */ - NextPageToken?: string; + ProvisioningArtifactDetails?: ProvisioningArtifactDetail[]; /** - *

                                                                                                                                      Information about the provisioning artifacts.

                                                                                                                                      + *

                                                                                                                                      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                      */ - ProvisioningArtifactDetails?: ProvisioningArtifactDetail[]; + NextPageToken?: string; } export namespace ListProvisioningArtifactsOutput { @@ -5346,6 +5346,16 @@ export namespace ListProvisioningArtifactsOutput { } export interface ListProvisioningArtifactsForServiceActionInput { + /** + *

                                                                                                                                      The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                                      + */ + ServiceActionId: string | undefined; + + /** + *

                                                                                                                                      The maximum number of items to return with this call.

                                                                                                                                      + */ + PageSize?: number; + /** *

                                                                                                                                      The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                      */ @@ -5369,16 +5379,6 @@ export interface ListProvisioningArtifactsForServiceActionInput { *
                                                                                                                                    */ AcceptLanguage?: string; - - /** - *

                                                                                                                                    The self-service action identifier. For example, act-fs7abcd89wxyz.

                                                                                                                                    - */ - ServiceActionId: string | undefined; - - /** - *

                                                                                                                                    The maximum number of items to return with this call.

                                                                                                                                    - */ - PageSize?: number; } export namespace ListProvisioningArtifactsForServiceActionInput { @@ -5430,11 +5430,6 @@ export namespace ListProvisioningArtifactsForServiceActionOutput { *

                                                                                                                                    The search filter to use when listing history records.

                                                                                                                                    */ export interface ListRecordHistorySearchFilter { - /** - *

                                                                                                                                    The filter value.

                                                                                                                                    - */ - Value?: string; - /** *

                                                                                                                                    The filter key.

                                                                                                                                    *
                                                                                                                                      @@ -5449,6 +5444,11 @@ export interface ListRecordHistorySearchFilter { *
                                                                                                                                    */ Key?: string; + + /** + *

                                                                                                                                    The filter value.

                                                                                                                                    + */ + Value?: string; } export namespace ListRecordHistorySearchFilter { @@ -5477,6 +5477,11 @@ export interface ListRecordHistoryInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                                    The access level to use to obtain results. The default is User.

                                                                                                                                    + */ + AccessLevelFilter?: AccessLevelFilter; + /** *

                                                                                                                                    The search filter to scope the results.

                                                                                                                                    */ @@ -5487,11 +5492,6 @@ export interface ListRecordHistoryInput { */ PageSize?: number; - /** - *

                                                                                                                                    The access level to use to obtain results. The default is User.

                                                                                                                                    - */ - AccessLevelFilter?: AccessLevelFilter; - /** *

                                                                                                                                    The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                    */ @@ -5528,11 +5528,6 @@ export interface ListResourcesForTagOptionInput { */ TagOptionId: string | undefined; - /** - *

                                                                                                                                    The maximum number of items to return with this call.

                                                                                                                                    - */ - PageSize?: number; - /** *

                                                                                                                                    The resource type.

                                                                                                                                    *
                                                                                                                                      @@ -5550,6 +5545,11 @@ export interface ListResourcesForTagOptionInput { */ ResourceType?: string; + /** + *

                                                                                                                                      The maximum number of items to return with this call.

                                                                                                                                      + */ + PageSize?: number; + /** *

                                                                                                                                      The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                      */ @@ -5572,24 +5572,24 @@ export interface ResourceDetail { Id?: string; /** - *

                                                                                                                                      The description of the resource.

                                                                                                                                      + *

                                                                                                                                      The ARN of the resource.

                                                                                                                                      */ - Description?: string; + ARN?: string; /** - *

                                                                                                                                      The creation time of the resource.

                                                                                                                                      + *

                                                                                                                                      The name of the resource.

                                                                                                                                      */ - CreatedTime?: Date; + Name?: string; /** - *

                                                                                                                                      The name of the resource.

                                                                                                                                      + *

                                                                                                                                      The description of the resource.

                                                                                                                                      */ - Name?: string; + Description?: string; /** - *

                                                                                                                                      The ARN of the resource.

                                                                                                                                      + *

                                                                                                                                      The creation time of the resource.

                                                                                                                                      */ - ARN?: string; + CreatedTime?: Date; } export namespace ResourceDetail { @@ -5600,14 +5600,14 @@ export namespace ResourceDetail { export interface ListResourcesForTagOptionOutput { /** - *

                                                                                                                                      The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                      + *

                                                                                                                                      Information about the resources.

                                                                                                                                      */ - PageToken?: string; + ResourceDetails?: ResourceDetail[]; /** - *

                                                                                                                                      Information about the resources.

                                                                                                                                      + *

                                                                                                                                      The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                      */ - ResourceDetails?: ResourceDetail[]; + PageToken?: string; } export namespace ListResourcesForTagOptionOutput { @@ -5637,14 +5637,14 @@ export interface ListServiceActionsInput { AcceptLanguage?: string; /** - *

                                                                                                                                      The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                      + *

                                                                                                                                      The maximum number of items to return with this call.

                                                                                                                                      */ - PageToken?: string; + PageSize?: number; /** - *

                                                                                                                                      The maximum number of items to return with this call.

                                                                                                                                      + *

                                                                                                                                      The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                      */ - PageSize?: number; + PageToken?: string; } export namespace ListServiceActionsInput { @@ -5655,14 +5655,14 @@ export namespace ListServiceActionsInput { export interface ListServiceActionsOutput { /** - *

                                                                                                                                      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                      + *

                                                                                                                                      An object containing information about the service actions associated with the provisioning artifact.

                                                                                                                                      */ - NextPageToken?: string; + ServiceActionSummaries?: ServiceActionSummary[]; /** - *

                                                                                                                                      An object containing information about the service actions associated with the provisioning artifact.

                                                                                                                                      + *

                                                                                                                                      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                      */ - ServiceActionSummaries?: ServiceActionSummary[]; + NextPageToken?: string; } export namespace ListServiceActionsOutput { @@ -5673,20 +5673,30 @@ export namespace ListServiceActionsOutput { export interface ListServiceActionsForProvisioningArtifactInput { /** - *

                                                                                                                                      The maximum number of items to return with this call.

                                                                                                                                      + *

                                                                                                                                      The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                                      */ - PageSize?: number; + ProductId: string | undefined; /** - *

                                                                                                                                      The product identifier. For example, prod-abcdzk7xy33qa.

                                                                                                                                      + *

                                                                                                                                      The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                                      */ - ProductId: string | undefined; + ProvisioningArtifactId: string | undefined; /** - *

                                                                                                                                      The language code.

                                                                                                                                      - *
                                                                                                                                        - *
                                                                                                                                      • - *

                                                                                                                                        + *

                                                                                                                                        The maximum number of items to return with this call.

                                                                                                                                        + */ + PageSize?: number; + + /** + *

                                                                                                                                        The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                        + */ + PageToken?: string; + + /** + *

                                                                                                                                        The language code.

                                                                                                                                        + *
                                                                                                                                          + *
                                                                                                                                        • + *

                                                                                                                                          * en - English (default)

                                                                                                                                          *
                                                                                                                                        • *
                                                                                                                                        • @@ -5700,16 +5710,6 @@ export interface ListServiceActionsForProvisioningArtifactInput { *
                                                                                                                                        */ AcceptLanguage?: string; - - /** - *

                                                                                                                                        The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

                                                                                                                                        - */ - ProvisioningArtifactId: string | undefined; - - /** - *

                                                                                                                                        The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                        - */ - PageToken?: string; } export namespace ListServiceActionsForProvisioningArtifactInput { @@ -5737,21 +5737,6 @@ export namespace ListServiceActionsForProvisioningArtifactOutput { } export interface ListStackInstancesForProvisionedProductInput { - /** - *

                                                                                                                                        The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                        - */ - PageToken?: string; - - /** - *

                                                                                                                                        The identifier of the provisioned product.

                                                                                                                                        - */ - ProvisionedProductId: string | undefined; - - /** - *

                                                                                                                                        The maximum number of items to return with this call.

                                                                                                                                        - */ - PageSize?: number; - /** *

                                                                                                                                        The language code.

                                                                                                                                        *
                                                                                                                                          @@ -5770,6 +5755,21 @@ export interface ListStackInstancesForProvisionedProductInput { *
                                                                                                                                        */ AcceptLanguage?: string; + + /** + *

                                                                                                                                        The identifier of the provisioned product.

                                                                                                                                        + */ + ProvisionedProductId: string | undefined; + + /** + *

                                                                                                                                        The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                        + */ + PageToken?: string; + + /** + *

                                                                                                                                        The maximum number of items to return with this call.

                                                                                                                                        + */ + PageSize?: number; } export namespace ListStackInstancesForProvisionedProductInput { @@ -5793,6 +5793,11 @@ export interface StackInstance { */ Account?: string; + /** + *

                                                                                                                                        The name of the AWS region that the stack instance is associated with.

                                                                                                                                        + */ + Region?: string; + /** *

                                                                                                                                        The status of the stack instance, in terms of its synchronization with its associated stack set.

                                                                                                                                        *
                                                                                                                                          @@ -5813,11 +5818,6 @@ export interface StackInstance { *
                                                                                                                                        */ StackInstanceStatus?: StackInstanceStatus | string; - - /** - *

                                                                                                                                        The name of the AWS region that the stack instance is associated with.

                                                                                                                                        - */ - Region?: string; } export namespace StackInstance { @@ -5828,14 +5828,14 @@ export namespace StackInstance { export interface ListStackInstancesForProvisionedProductOutput { /** - *

                                                                                                                                        The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                        + *

                                                                                                                                        List of stack instances.

                                                                                                                                        */ - NextPageToken?: string; + StackInstances?: StackInstance[]; /** - *

                                                                                                                                        List of stack instances.

                                                                                                                                        + *

                                                                                                                                        The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                        */ - StackInstances?: StackInstance[]; + NextPageToken?: string; } export namespace ListStackInstancesForProvisionedProductOutput { @@ -5854,14 +5854,14 @@ export interface ListTagOptionsFilters { Key?: string; /** - *

                                                                                                                                        The active state.

                                                                                                                                        + *

                                                                                                                                        The TagOption value.

                                                                                                                                        */ - Active?: boolean; + Value?: string; /** - *

                                                                                                                                        The TagOption value.

                                                                                                                                        + *

                                                                                                                                        The active state.

                                                                                                                                        */ - Value?: string; + Active?: boolean; } export namespace ListTagOptionsFilters { @@ -5872,9 +5872,9 @@ export namespace ListTagOptionsFilters { export interface ListTagOptionsInput { /** - *

                                                                                                                                        The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                        + *

                                                                                                                                        The search filters. If no search filters are specified, the output includes all TagOptions.

                                                                                                                                        */ - PageToken?: string; + Filters?: ListTagOptionsFilters; /** *

                                                                                                                                        The maximum number of items to return with this call.

                                                                                                                                        @@ -5882,9 +5882,9 @@ export interface ListTagOptionsInput { PageSize?: number; /** - *

                                                                                                                                        The search filters. If no search filters are specified, the output includes all TagOptions.

                                                                                                                                        + *

                                                                                                                                        The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                        */ - Filters?: ListTagOptionsFilters; + PageToken?: string; } export namespace ListTagOptionsInput { @@ -5937,12 +5937,12 @@ export namespace ProvisioningParameter { */ export interface ProvisioningPreferences { /** - *

                                                                                                                                        The percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

                                                                                                                                        - *

                                                                                                                                        When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number.

                                                                                                                                        + *

                                                                                                                                        One or more AWS accounts that will have access to the provisioned product.

                                                                                                                                        *

                                                                                                                                        Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                        - *

                                                                                                                                        Conditional: You must specify either StackSetFailureToleranceCount or StackSetFailureTolerancePercentage, but not both.

                                                                                                                                        + *

                                                                                                                                        The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the DescribeProvisioningParameters operation.

                                                                                                                                        + *

                                                                                                                                        If no values are specified, the default value is all accounts from the STACKSET constraint.

                                                                                                                                        */ - StackSetFailureTolerancePercentage?: number; + StackSetAccounts?: string[]; /** *

                                                                                                                                        One or more AWS Regions where the provisioned product will be available.

                                                                                                                                        @@ -5952,6 +5952,22 @@ export interface ProvisioningPreferences { */ StackSetRegions?: string[]; + /** + *

                                                                                                                                        The number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

                                                                                                                                        + *

                                                                                                                                        Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                        + *

                                                                                                                                        Conditional: You must specify either StackSetFailureToleranceCount or StackSetFailureTolerancePercentage, but not both.

                                                                                                                                        + *

                                                                                                                                        The default value is 0 if no value is specified.

                                                                                                                                        + */ + StackSetFailureToleranceCount?: number; + + /** + *

                                                                                                                                        The percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

                                                                                                                                        + *

                                                                                                                                        When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number.

                                                                                                                                        + *

                                                                                                                                        Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                        + *

                                                                                                                                        Conditional: You must specify either StackSetFailureToleranceCount or StackSetFailureTolerancePercentage, but not both.

                                                                                                                                        + */ + StackSetFailureTolerancePercentage?: number; + /** *

                                                                                                                                        The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of StackSetFailureToleranceCount. StackSetMaxConcurrentCount is at most one more than the StackSetFailureToleranceCount.

                                                                                                                                        *

                                                                                                                                        Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

                                                                                                                                        @@ -5968,22 +5984,6 @@ export interface ProvisioningPreferences { *

                                                                                                                                        Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

                                                                                                                                        */ StackSetMaxConcurrencyPercentage?: number; - - /** - *

                                                                                                                                        One or more AWS accounts that will have access to the provisioned product.

                                                                                                                                        - *

                                                                                                                                        Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                        - *

                                                                                                                                        The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the DescribeProvisioningParameters operation.

                                                                                                                                        - *

                                                                                                                                        If no values are specified, the default value is all accounts from the STACKSET constraint.

                                                                                                                                        - */ - StackSetAccounts?: string[]; - - /** - *

                                                                                                                                        The number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

                                                                                                                                        - *

                                                                                                                                        Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                        - *

                                                                                                                                        Conditional: You must specify either StackSetFailureToleranceCount or StackSetFailureTolerancePercentage, but not both.

                                                                                                                                        - *

                                                                                                                                        The default value is 0 if no value is specified.

                                                                                                                                        - */ - StackSetFailureToleranceCount?: number; } export namespace ProvisioningPreferences { @@ -5993,21 +5993,6 @@ export namespace ProvisioningPreferences { } export interface ProvisionProductInput { - /** - *

                                                                                                                                        The product identifier. You must provide the name or ID, but not both.

                                                                                                                                        - */ - ProductId?: string; - - /** - *

                                                                                                                                        The name of the provisioning artifact. You must provide the name or ID, but not both.

                                                                                                                                        - */ - ProvisioningArtifactName?: string; - - /** - *

                                                                                                                                        The name of the path. You must provide the name or ID, but not both.

                                                                                                                                        - */ - PathName?: string; - /** *

                                                                                                                                        The language code.

                                                                                                                                        *
                                                                                                                                          @@ -6028,25 +6013,36 @@ export interface ProvisionProductInput { AcceptLanguage?: string; /** - *

                                                                                                                                          An object that contains information about the provisioning preferences for a stack set.

                                                                                                                                          + *

                                                                                                                                          The product identifier. You must provide the name or ID, but not both.

                                                                                                                                          */ - ProvisioningPreferences?: ProvisioningPreferences; + ProductId?: string; /** - *

                                                                                                                                          Parameters specified by the administrator that are required for provisioning the - * product.

                                                                                                                                          + *

                                                                                                                                          The name of the product. You must provide the name or ID, but not both.

                                                                                                                                          */ - ProvisioningParameters?: ProvisioningParameter[]; + ProductName?: string; /** - *

                                                                                                                                          One or more tags.

                                                                                                                                          + *

                                                                                                                                          The identifier of the provisioning artifact. You must provide the name or ID, but not both.

                                                                                                                                          */ - Tags?: Tag[]; + ProvisioningArtifactId?: string; /** - *

                                                                                                                                          The identifier of the provisioning artifact. You must provide the name or ID, but not both.

                                                                                                                                          + *

                                                                                                                                          The name of the provisioning artifact. You must provide the name or ID, but not both.

                                                                                                                                          */ - ProvisioningArtifactId?: string; + ProvisioningArtifactName?: string; + + /** + *

                                                                                                                                          The path identifier of the product. This value is optional if the product + * has a default path, and required if the product has more than one path. + * To list the paths for a product, use ListLaunchPaths. You must provide the name or ID, but not both.

                                                                                                                                          + */ + PathId?: string; + + /** + *

                                                                                                                                          The name of the path. You must provide the name or ID, but not both.

                                                                                                                                          + */ + PathName?: string; /** *

                                                                                                                                          A user-friendly name for the provisioned product. This value must be @@ -6055,14 +6051,20 @@ export interface ProvisionProductInput { ProvisionedProductName: string | undefined; /** - *

                                                                                                                                          The name of the product. You must provide the name or ID, but not both.

                                                                                                                                          + *

                                                                                                                                          Parameters specified by the administrator that are required for provisioning the + * product.

                                                                                                                                          */ - ProductName?: string; + ProvisioningParameters?: ProvisioningParameter[]; /** - *

                                                                                                                                          An idempotency token that uniquely identifies the provisioning request.

                                                                                                                                          + *

                                                                                                                                          An object that contains information about the provisioning preferences for a stack set.

                                                                                                                                          */ - ProvisionToken?: string; + ProvisioningPreferences?: ProvisioningPreferences; + + /** + *

                                                                                                                                          One or more tags.

                                                                                                                                          + */ + Tags?: Tag[]; /** *

                                                                                                                                          Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related @@ -6071,11 +6073,9 @@ export interface ProvisionProductInput { NotificationArns?: string[]; /** - *

                                                                                                                                          The path identifier of the product. This value is optional if the product - * has a default path, and required if the product has more than one path. - * To list the paths for a product, use ListLaunchPaths. You must provide the name or ID, but not both.

                                                                                                                                          + *

                                                                                                                                          An idempotency token that uniquely identifies the provisioning request.

                                                                                                                                          */ - PathId?: string; + ProvisionToken?: string; } export namespace ProvisionProductInput { @@ -6099,50 +6099,50 @@ export namespace ProvisionProductOutput { export interface RejectPortfolioShareInput { /** - *

                                                                                                                                          The portfolio identifier.

                                                                                                                                          - */ - PortfolioId: string | undefined; - - /** - *

                                                                                                                                          The type of shared portfolios to reject. The default is to reject imported portfolios.

                                                                                                                                          + *

                                                                                                                                          The language code.

                                                                                                                                          *
                                                                                                                                            *
                                                                                                                                          • *

                                                                                                                                            - * AWS_ORGANIZATIONS - Reject portfolios shared by the management account of your - * organization.

                                                                                                                                            + * en - English (default)

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • *

                                                                                                                                            - * IMPORTED - Reject imported portfolios.

                                                                                                                                            + * jp - Japanese

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • *

                                                                                                                                            - * AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

                                                                                                                                            + * zh - Chinese

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          - *

                                                                                                                                          For example, aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS - *

                                                                                                                                          */ - PortfolioShareType?: PortfolioShareType | string; + AcceptLanguage?: string; /** - *

                                                                                                                                          The language code.

                                                                                                                                          + *

                                                                                                                                          The portfolio identifier.

                                                                                                                                          + */ + PortfolioId: string | undefined; + + /** + *

                                                                                                                                          The type of shared portfolios to reject. The default is to reject imported portfolios.

                                                                                                                                          *
                                                                                                                                            *
                                                                                                                                          • *

                                                                                                                                            - * en - English (default)

                                                                                                                                            + * AWS_ORGANIZATIONS - Reject portfolios shared by the management account of your + * organization.

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • *

                                                                                                                                            - * jp - Japanese

                                                                                                                                            + * IMPORTED - Reject imported portfolios.

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • *

                                                                                                                                            - * zh - Chinese

                                                                                                                                            + * AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          + *

                                                                                                                                          For example, aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS + *

                                                                                                                                          */ - AcceptLanguage?: string; + PortfolioShareType?: PortfolioShareType | string; } export namespace RejectPortfolioShareInput { @@ -6160,21 +6160,6 @@ export namespace RejectPortfolioShareOutput { } export interface ScanProvisionedProductsInput { - /** - *

                                                                                                                                          The maximum number of items to return with this call.

                                                                                                                                          - */ - PageSize?: number; - - /** - *

                                                                                                                                          The access level to use to obtain results. The default is User.

                                                                                                                                          - */ - AccessLevelFilter?: AccessLevelFilter; - - /** - *

                                                                                                                                          The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                          - */ - PageToken?: string; - /** *

                                                                                                                                          The language code.

                                                                                                                                          *
                                                                                                                                            @@ -6193,22 +6178,37 @@ export interface ScanProvisionedProductsInput { *
                                                                                                                                          */ AcceptLanguage?: string; -} - -export namespace ScanProvisionedProductsInput { - export const filterSensitiveLog = (obj: ScanProvisionedProductsInput): any => ({ - ...obj, - }); -} -export interface ScanProvisionedProductsOutput { /** - *

                                                                                                                                          Information about the provisioned products.

                                                                                                                                          + *

                                                                                                                                          The access level to use to obtain results. The default is User.

                                                                                                                                          */ - ProvisionedProducts?: ProvisionedProductDetail[]; + AccessLevelFilter?: AccessLevelFilter; /** - *

                                                                                                                                          The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                          + *

                                                                                                                                          The maximum number of items to return with this call.

                                                                                                                                          + */ + PageSize?: number; + + /** + *

                                                                                                                                          The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                          + */ + PageToken?: string; +} + +export namespace ScanProvisionedProductsInput { + export const filterSensitiveLog = (obj: ScanProvisionedProductsInput): any => ({ + ...obj, + }); +} + +export interface ScanProvisionedProductsOutput { + /** + *

                                                                                                                                          Information about the provisioned products.

                                                                                                                                          + */ + ProvisionedProducts?: ProvisionedProductDetail[]; + + /** + *

                                                                                                                                          The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

                                                                                                                                          */ NextPageToken?: string; } @@ -6238,27 +6238,6 @@ export enum SortOrder { } export interface SearchProductsInput { - /** - *

                                                                                                                                          The maximum number of items to return with this call.

                                                                                                                                          - */ - PageSize?: number; - - /** - *

                                                                                                                                          The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                          - */ - PageToken?: string; - - /** - *

                                                                                                                                          The sort field. If no value is specified, the results are not sorted.

                                                                                                                                          - */ - SortBy?: ProductViewSortBy | string; - - /** - *

                                                                                                                                          The search filters. If no search filters are specified, the output includes - * all products to which the caller has access.

                                                                                                                                          - */ - Filters?: { [key: string]: string[] }; - /** *

                                                                                                                                          The language code.

                                                                                                                                          *
                                                                                                                                            @@ -6278,10 +6257,31 @@ export interface SearchProductsInput { */ AcceptLanguage?: string; + /** + *

                                                                                                                                            The search filters. If no search filters are specified, the output includes + * all products to which the caller has access.

                                                                                                                                            + */ + Filters?: { [key: string]: string[] }; + + /** + *

                                                                                                                                            The maximum number of items to return with this call.

                                                                                                                                            + */ + PageSize?: number; + + /** + *

                                                                                                                                            The sort field. If no value is specified, the results are not sorted.

                                                                                                                                            + */ + SortBy?: ProductViewSortBy | string; + /** *

                                                                                                                                            The sort order. If no value is specified, the results are not sorted.

                                                                                                                                            */ SortOrder?: SortOrder | string; + + /** + *

                                                                                                                                            The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                            + */ + PageToken?: string; } export namespace SearchProductsInput { @@ -6340,32 +6340,6 @@ export enum ProductSource { } export interface SearchProductsAsAdminInput { - /** - *

                                                                                                                                            The search filters. If no search filters are specified, the output includes all products - * to which the administrator has access.

                                                                                                                                            - */ - Filters?: { [key: string]: string[] }; - - /** - *

                                                                                                                                            Access level of the source of the product.

                                                                                                                                            - */ - ProductSource?: ProductSource | string; - - /** - *

                                                                                                                                            The maximum number of items to return with this call.

                                                                                                                                            - */ - PageSize?: number; - - /** - *

                                                                                                                                            The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                            - */ - PageToken?: string; - - /** - *

                                                                                                                                            The portfolio identifier.

                                                                                                                                            - */ - PortfolioId?: string; - /** *

                                                                                                                                            The language code.

                                                                                                                                            *
                                                                                                                                              @@ -6386,14 +6360,40 @@ export interface SearchProductsAsAdminInput { AcceptLanguage?: string; /** - *

                                                                                                                                              The sort order. If no value is specified, the results are not sorted.

                                                                                                                                              + *

                                                                                                                                              The portfolio identifier.

                                                                                                                                              */ - SortOrder?: SortOrder | string; + PortfolioId?: string; + + /** + *

                                                                                                                                              The search filters. If no search filters are specified, the output includes all products + * to which the administrator has access.

                                                                                                                                              + */ + Filters?: { [key: string]: string[] }; /** *

                                                                                                                                              The sort field. If no value is specified, the results are not sorted.

                                                                                                                                              */ SortBy?: ProductViewSortBy | string; + + /** + *

                                                                                                                                              The sort order. If no value is specified, the results are not sorted.

                                                                                                                                              + */ + SortOrder?: SortOrder | string; + + /** + *

                                                                                                                                              The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                              + */ + PageToken?: string; + + /** + *

                                                                                                                                              The maximum number of items to return with this call.

                                                                                                                                              + */ + PageSize?: number; + + /** + *

                                                                                                                                              Access level of the source of the product.

                                                                                                                                              + */ + ProductSource?: ProductSource | string; } export namespace SearchProductsAsAdminInput { @@ -6425,11 +6425,6 @@ export enum ProvisionedProductViewFilterBy { } export interface SearchProvisionedProductsInput { - /** - *

                                                                                                                                              The sort order. If no value is specified, the results are not sorted.

                                                                                                                                              - */ - SortOrder?: SortOrder | string; - /** *

                                                                                                                                              The language code.

                                                                                                                                              *
                                                                                                                                                @@ -6450,20 +6445,9 @@ export interface SearchProvisionedProductsInput { AcceptLanguage?: string; /** - *

                                                                                                                                                The sort field. If no value is specified, the results are not sorted. The valid values are arn, id, name, - * and lastRecordId.

                                                                                                                                                - */ - SortBy?: string; - - /** - *

                                                                                                                                                The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                                - */ - PageToken?: string; - - /** - *

                                                                                                                                                The maximum number of items to return with this call.

                                                                                                                                                + *

                                                                                                                                                The access level to use to obtain results. The default is User.

                                                                                                                                                */ - PageSize?: number; + AccessLevelFilter?: AccessLevelFilter; /** *

                                                                                                                                                The search filters.

                                                                                                                                                @@ -6479,9 +6463,25 @@ export interface SearchProvisionedProductsInput { Filters?: { [key: string]: string[] }; /** - *

                                                                                                                                                The access level to use to obtain results. The default is User.

                                                                                                                                                + *

                                                                                                                                                The sort field. If no value is specified, the results are not sorted. The valid values are arn, id, name, + * and lastRecordId.

                                                                                                                                                */ - AccessLevelFilter?: AccessLevelFilter; + SortBy?: string; + + /** + *

                                                                                                                                                The sort order. If no value is specified, the results are not sorted.

                                                                                                                                                + */ + SortOrder?: SortOrder | string; + + /** + *

                                                                                                                                                The maximum number of items to return with this call.

                                                                                                                                                + */ + PageSize?: number; + + /** + *

                                                                                                                                                The page token for the next set of results. To retrieve the first set of results, use null.

                                                                                                                                                + */ + PageToken?: string; } export namespace SearchProvisionedProductsInput { @@ -6495,24 +6495,14 @@ export namespace SearchProvisionedProductsInput { */ export interface ProvisionedProductAttribute { /** - *

                                                                                                                                                The name of the provisioning artifact.

                                                                                                                                                - */ - ProvisioningArtifactName?: string; - - /** - *

                                                                                                                                                The product identifier.

                                                                                                                                                - */ - ProductId?: string; - - /** - *

                                                                                                                                                The assigned identifier for the resource, such as an EC2 instance ID or an S3 bucket name.

                                                                                                                                                + *

                                                                                                                                                The user-friendly name of the provisioned product.

                                                                                                                                                */ - PhysicalId?: string; + Name?: string; /** - *

                                                                                                                                                The ARN of the IAM user in the session. This ARN might contain a session ID.

                                                                                                                                                + *

                                                                                                                                                The ARN of the provisioned product.

                                                                                                                                                */ - UserArnSession?: string; + Arn?: string; /** *

                                                                                                                                                The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

                                                                                                                                                @@ -6520,38 +6510,66 @@ export interface ProvisionedProductAttribute { Type?: string; /** - *

                                                                                                                                                A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, - * the same response is returned for each repeated request.

                                                                                                                                                + *

                                                                                                                                                The identifier of the provisioned product.

                                                                                                                                                */ - IdempotencyToken?: string; + Id?: string; /** - *

                                                                                                                                                One or more tags.

                                                                                                                                                + *

                                                                                                                                                The current status of the provisioned product.

                                                                                                                                                + *
                                                                                                                                                  + *
                                                                                                                                                • + *

                                                                                                                                                  + * AVAILABLE - Stable state, ready to perform any operation. The most + * recent operation succeeded and completed.

                                                                                                                                                  + *
                                                                                                                                                • + *
                                                                                                                                                • + *

                                                                                                                                                  + * UNDER_CHANGE - Transitive state. Operations performed might not have valid results. + * Wait for an AVAILABLE status before performing operations.

                                                                                                                                                  + *
                                                                                                                                                • + *
                                                                                                                                                • + *

                                                                                                                                                  + * TAINTED - Stable state, ready to perform any operation. The stack has + * completed the requested operation but is not exactly what was requested. For example, a + * request to update to a new version failed and the stack rolled back to the current version.

                                                                                                                                                  + *
                                                                                                                                                • + *
                                                                                                                                                • + *

                                                                                                                                                  + * ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. + * For example, CloudFormation received a parameter value that was not valid and could not launch the stack.

                                                                                                                                                  + *
                                                                                                                                                • + *
                                                                                                                                                • + *

                                                                                                                                                  + * PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, + * but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.

                                                                                                                                                  + *
                                                                                                                                                • + *
                                                                                                                                                */ - Tags?: Tag[]; + Status?: ProvisionedProductStatus | string; /** - *

                                                                                                                                                The record identifier of the last request performed on this provisioned product.

                                                                                                                                                + *

                                                                                                                                                The current status message of the provisioned product.

                                                                                                                                                */ - LastRecordId?: string; + StatusMessage?: string; /** - *

                                                                                                                                                The identifier of the provisioning artifact.

                                                                                                                                                + *

                                                                                                                                                The UTC time stamp of the creation time.

                                                                                                                                                */ - ProvisioningArtifactId?: string; + CreatedTime?: Date; /** - *

                                                                                                                                                The ARN of the provisioned product.

                                                                                                                                                + *

                                                                                                                                                A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, + * the same response is returned for each repeated request.

                                                                                                                                                */ - Arn?: string; + IdempotencyToken?: string; /** - *

                                                                                                                                                The name of the product.

                                                                                                                                                + *

                                                                                                                                                The record identifier of the last request performed on this provisioned product.

                                                                                                                                                */ - ProductName?: string; + LastRecordId?: string; /** - *

                                                                                                                                                The record identifier of the last successful request performed on this provisioned product of the following types:

                                                                                                                                                + *

                                                                                                                                                The record identifier of the last request performed on this provisioned product of the following types:

                                                                                                                                                *
                                                                                                                                                  *
                                                                                                                                                • *

                                                                                                                                                  @@ -6575,92 +6593,74 @@ export interface ProvisionedProductAttribute { *

                                                                                                                                                • *
                                                                                                                                                */ - LastSuccessfulProvisioningRecordId?: string; - - /** - *

                                                                                                                                                The identifier of the provisioned product.

                                                                                                                                                - */ - Id?: string; - - /** - *

                                                                                                                                                The UTC time stamp of the creation time.

                                                                                                                                                - */ - CreatedTime?: Date; + LastProvisioningRecordId?: string; /** - *

                                                                                                                                                The current status of the provisioned product.

                                                                                                                                                + *

                                                                                                                                                The record identifier of the last successful request performed on this provisioned product of the following types:

                                                                                                                                                *
                                                                                                                                                  *
                                                                                                                                                • *

                                                                                                                                                  - * AVAILABLE - Stable state, ready to perform any operation. The most - * recent operation succeeded and completed.

                                                                                                                                                  + * ProvisionedProduct + *

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • *

                                                                                                                                                  - * UNDER_CHANGE - Transitive state. Operations performed might not have valid results. - * Wait for an AVAILABLE status before performing operations.

                                                                                                                                                  - *
                                                                                                                                                • - *
                                                                                                                                                • - *

                                                                                                                                                  - * TAINTED - Stable state, ready to perform any operation. The stack has - * completed the requested operation but is not exactly what was requested. For example, a - * request to update to a new version failed and the stack rolled back to the current version.

                                                                                                                                                  + * UpdateProvisionedProduct + *

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • *

                                                                                                                                                  - * ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. - * For example, CloudFormation received a parameter value that was not valid and could not launch the stack.

                                                                                                                                                  + * ExecuteProvisionedProductPlan + *

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • *

                                                                                                                                                  - * PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, - * but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.

                                                                                                                                                  + * TerminateProvisionedProduct + *

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                */ - Status?: ProvisionedProductStatus | string; + LastSuccessfulProvisioningRecordId?: string; /** - *

                                                                                                                                                The Amazon Resource Name (ARN) of the IAM user.

                                                                                                                                                + *

                                                                                                                                                One or more tags.

                                                                                                                                                */ - UserArn?: string; + Tags?: Tag[]; /** - *

                                                                                                                                                The user-friendly name of the provisioned product.

                                                                                                                                                + *

                                                                                                                                                The assigned identifier for the resource, such as an EC2 instance ID or an S3 bucket name.

                                                                                                                                                */ - Name?: string; + PhysicalId?: string; /** - *

                                                                                                                                                The record identifier of the last request performed on this provisioned product of the following types:

                                                                                                                                                - *
                                                                                                                                                  - *
                                                                                                                                                • - *

                                                                                                                                                  - * ProvisionedProduct - *

                                                                                                                                                  - *
                                                                                                                                                • - *
                                                                                                                                                • - *

                                                                                                                                                  - * UpdateProvisionedProduct - *

                                                                                                                                                  - *
                                                                                                                                                • - *
                                                                                                                                                • - *

                                                                                                                                                  - * ExecuteProvisionedProductPlan - *

                                                                                                                                                  - *
                                                                                                                                                • - *
                                                                                                                                                • - *

                                                                                                                                                  - * TerminateProvisionedProduct - *

                                                                                                                                                  - *
                                                                                                                                                • - *
                                                                                                                                                + *

                                                                                                                                                The product identifier.

                                                                                                                                                */ - LastProvisioningRecordId?: string; + ProductId?: string; /** - *

                                                                                                                                                The current status message of the provisioned product.

                                                                                                                                                + *

                                                                                                                                                The name of the product.

                                                                                                                                                */ - StatusMessage?: string; + ProductName?: string; + + /** + *

                                                                                                                                                The identifier of the provisioning artifact.

                                                                                                                                                + */ + ProvisioningArtifactId?: string; + + /** + *

                                                                                                                                                The name of the provisioning artifact.

                                                                                                                                                + */ + ProvisioningArtifactName?: string; + + /** + *

                                                                                                                                                The Amazon Resource Name (ARN) of the IAM user.

                                                                                                                                                + */ + UserArn?: string; + + /** + *

                                                                                                                                                The ARN of the IAM user in the session. This ARN might contain a session ID.

                                                                                                                                                + */ + UserArnSession?: string; } export namespace ProvisionedProductAttribute { @@ -6693,6 +6693,26 @@ export namespace SearchProvisionedProductsOutput { } export interface TerminateProvisionedProductInput { + /** + *

                                                                                                                                                The name of the provisioned product. You cannot specify both + * ProvisionedProductName and ProvisionedProductId.

                                                                                                                                                + */ + ProvisionedProductName?: string; + + /** + *

                                                                                                                                                The identifier of the provisioned product. You cannot specify both + * ProvisionedProductName and ProvisionedProductId.

                                                                                                                                                + */ + ProvisionedProductId?: string; + + /** + *

                                                                                                                                                An idempotency token that uniquely identifies the termination request. This token is + * only valid during the termination process. After the provisioned product is terminated, + * subsequent requests to terminate the same provisioned product always return + * ResourceNotFound.

                                                                                                                                                + */ + TerminateToken?: string; + /** *

                                                                                                                                                If set to true, AWS Service Catalog stops managing the specified provisioned product even * if it cannot delete the underlying resources.

                                                                                                                                                @@ -6717,26 +6737,6 @@ export interface TerminateProvisionedProductInput { *
                                                                                                                                              */ AcceptLanguage?: string; - - /** - *

                                                                                                                                              The identifier of the provisioned product. You cannot specify both - * ProvisionedProductName and ProvisionedProductId.

                                                                                                                                              - */ - ProvisionedProductId?: string; - - /** - *

                                                                                                                                              An idempotency token that uniquely identifies the termination request. This token is - * only valid during the termination process. After the provisioned product is terminated, - * subsequent requests to terminate the same provisioned product always return - * ResourceNotFound.

                                                                                                                                              - */ - TerminateToken?: string; - - /** - *

                                                                                                                                              The name of the provisioned product. You cannot specify both - * ProvisionedProductName and ProvisionedProductId.

                                                                                                                                              - */ - ProvisionedProductName?: string; } export namespace TerminateProvisionedProductInput { @@ -6759,6 +6759,35 @@ export namespace TerminateProvisionedProductOutput { } export interface UpdateConstraintInput { + /** + *

                                                                                                                                              The language code.

                                                                                                                                              + *
                                                                                                                                                + *
                                                                                                                                              • + *

                                                                                                                                                + * en - English (default)

                                                                                                                                                + *
                                                                                                                                              • + *
                                                                                                                                              • + *

                                                                                                                                                + * jp - Japanese

                                                                                                                                                + *
                                                                                                                                              • + *
                                                                                                                                              • + *

                                                                                                                                                + * zh - Chinese

                                                                                                                                                + *
                                                                                                                                              • + *
                                                                                                                                              + */ + AcceptLanguage?: string; + + /** + *

                                                                                                                                              The identifier of the constraint.

                                                                                                                                              + */ + Id: string | undefined; + + /** + *

                                                                                                                                              The updated description of the constraint.

                                                                                                                                              + */ + Description?: string; + /** *

                                                                                                                                              The constraint parameters, in JSON format. The syntax depends on the constraint type as follows:

                                                                                                                                              *
                                                                                                                                              @@ -6814,35 +6843,6 @@ export interface UpdateConstraintInput { *
                                                                                                                                              */ Parameters?: string; - - /** - *

                                                                                                                                              The language code.

                                                                                                                                              - *
                                                                                                                                                - *
                                                                                                                                              • - *

                                                                                                                                                - * en - English (default)

                                                                                                                                                - *
                                                                                                                                              • - *
                                                                                                                                              • - *

                                                                                                                                                - * jp - Japanese

                                                                                                                                                - *
                                                                                                                                              • - *
                                                                                                                                              • - *

                                                                                                                                                - * zh - Chinese

                                                                                                                                                - *
                                                                                                                                              • - *
                                                                                                                                              - */ - AcceptLanguage?: string; - - /** - *

                                                                                                                                              The identifier of the constraint.

                                                                                                                                              - */ - Id: string | undefined; - - /** - *

                                                                                                                                              The updated description of the constraint.

                                                                                                                                              - */ - Description?: string; } export namespace UpdateConstraintInput { @@ -6858,14 +6858,14 @@ export interface UpdateConstraintOutput { ConstraintDetail?: ConstraintDetail; /** - *

                                                                                                                                              The status of the current request.

                                                                                                                                              + *

                                                                                                                                              The constraint parameters.

                                                                                                                                              */ - Status?: Status | string; + ConstraintParameters?: string; /** - *

                                                                                                                                              The constraint parameters.

                                                                                                                                              + *

                                                                                                                                              The status of the current request.

                                                                                                                                              */ - ConstraintParameters?: string; + Status?: Status | string; } export namespace UpdateConstraintOutput { @@ -6875,11 +6875,6 @@ export namespace UpdateConstraintOutput { } export interface UpdatePortfolioInput { - /** - *

                                                                                                                                              The name to use for display purposes.

                                                                                                                                              - */ - DisplayName?: string; - /** *

                                                                                                                                              The language code.

                                                                                                                                              *
                                                                                                                                                @@ -6900,19 +6895,19 @@ export interface UpdatePortfolioInput { AcceptLanguage?: string; /** - *

                                                                                                                                                The tags to add.

                                                                                                                                                + *

                                                                                                                                                The portfolio identifier.

                                                                                                                                                */ - AddTags?: Tag[]; + Id: string | undefined; /** - *

                                                                                                                                                The portfolio identifier.

                                                                                                                                                + *

                                                                                                                                                The name to use for display purposes.

                                                                                                                                                */ - Id: string | undefined; + DisplayName?: string; /** - *

                                                                                                                                                The tags to remove.

                                                                                                                                                + *

                                                                                                                                                The updated description of the portfolio.

                                                                                                                                                */ - RemoveTags?: string[]; + Description?: string; /** *

                                                                                                                                                The updated name of the portfolio provider.

                                                                                                                                                @@ -6920,9 +6915,14 @@ export interface UpdatePortfolioInput { ProviderName?: string; /** - *

                                                                                                                                                The updated description of the portfolio.

                                                                                                                                                + *

                                                                                                                                                The tags to add.

                                                                                                                                                */ - Description?: string; + AddTags?: Tag[]; + + /** + *

                                                                                                                                                The tags to remove.

                                                                                                                                                + */ + RemoveTags?: string[]; } export namespace UpdatePortfolioInput { @@ -6933,14 +6933,14 @@ export namespace UpdatePortfolioInput { export interface UpdatePortfolioOutput { /** - *

                                                                                                                                                Information about the tags associated with the portfolio.

                                                                                                                                                + *

                                                                                                                                                Information about the portfolio.

                                                                                                                                                */ - Tags?: Tag[]; + PortfolioDetail?: PortfolioDetail; /** - *

                                                                                                                                                Information about the portfolio.

                                                                                                                                                + *

                                                                                                                                                Information about the tags associated with the portfolio.

                                                                                                                                                */ - PortfolioDetail?: PortfolioDetail; + Tags?: Tag[]; } export namespace UpdatePortfolioOutput { @@ -6951,14 +6951,23 @@ export namespace UpdatePortfolioOutput { export interface UpdateProductInput { /** - *

                                                                                                                                                The tags to remove from the product.

                                                                                                                                                - */ - RemoveTags?: string[]; - - /** - *

                                                                                                                                                The updated support email for the product.

                                                                                                                                                + *

                                                                                                                                                The language code.

                                                                                                                                                + *
                                                                                                                                                  + *
                                                                                                                                                • + *

                                                                                                                                                  + * en - English (default)

                                                                                                                                                  + *
                                                                                                                                                • + *
                                                                                                                                                • + *

                                                                                                                                                  + * jp - Japanese

                                                                                                                                                  + *
                                                                                                                                                • + *
                                                                                                                                                • + *

                                                                                                                                                  + * zh - Chinese

                                                                                                                                                  + *
                                                                                                                                                • + *
                                                                                                                                                */ - SupportEmail?: string; + AcceptLanguage?: string; /** *

                                                                                                                                                The product identifier.

                                                                                                                                                @@ -6966,48 +6975,34 @@ export interface UpdateProductInput { Id: string | undefined; /** - *

                                                                                                                                                The updated distributor of the product.

                                                                                                                                                - */ - Distributor?: string; - - /** - *

                                                                                                                                                The updated description of the product.

                                                                                                                                                - */ - Description?: string; - - /** - *

                                                                                                                                                The updated support description for the product.

                                                                                                                                                + *

                                                                                                                                                The updated product name.

                                                                                                                                                */ - SupportDescription?: string; + Name?: string; /** - *

                                                                                                                                                The tags to add to the product.

                                                                                                                                                + *

                                                                                                                                                The updated owner of the product.

                                                                                                                                                */ - AddTags?: Tag[]; + Owner?: string; /** - *

                                                                                                                                                The updated product name.

                                                                                                                                                + *

                                                                                                                                                The updated description of the product.

                                                                                                                                                */ - Name?: string; + Description?: string; /** - *

                                                                                                                                                The language code.

                                                                                                                                                - *
                                                                                                                                                  - *
                                                                                                                                                • - *

                                                                                                                                                  - * en - English (default)

                                                                                                                                                  - *
                                                                                                                                                • - *
                                                                                                                                                • - *

                                                                                                                                                  - * jp - Japanese

                                                                                                                                                  - *
                                                                                                                                                • - *
                                                                                                                                                • - *

                                                                                                                                                  - * zh - Chinese

                                                                                                                                                  - *
                                                                                                                                                • - *
                                                                                                                                                + *

                                                                                                                                                The updated distributor of the product.

                                                                                                                                                */ - AcceptLanguage?: string; + Distributor?: string; + + /** + *

                                                                                                                                                The updated support description for the product.

                                                                                                                                                + */ + SupportDescription?: string; + + /** + *

                                                                                                                                                The updated support email for the product.

                                                                                                                                                + */ + SupportEmail?: string; /** *

                                                                                                                                                The updated support URL for the product.

                                                                                                                                                @@ -7015,9 +7010,14 @@ export interface UpdateProductInput { SupportUrl?: string; /** - *

                                                                                                                                                The updated owner of the product.

                                                                                                                                                + *

                                                                                                                                                The tags to add to the product.

                                                                                                                                                */ - Owner?: string; + AddTags?: Tag[]; + + /** + *

                                                                                                                                                The tags to remove from the product.

                                                                                                                                                + */ + RemoveTags?: string[]; } export namespace UpdateProductInput { @@ -7050,6 +7050,22 @@ export type StackSetOperationType = "CREATE" | "DELETE" | "UPDATE"; *

                                                                                                                                                The user-defined preferences that will be applied when updating a provisioned product. Not all preferences are applicable to all provisioned product types.

                                                                                                                                                */ export interface UpdateProvisioningPreferences { + /** + *

                                                                                                                                                One or more AWS accounts that will have access to the provisioned product.

                                                                                                                                                + *

                                                                                                                                                Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                                + *

                                                                                                                                                The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the DescribeProvisioningParameters operation.

                                                                                                                                                + *

                                                                                                                                                If no values are specified, the default value is all accounts from the STACKSET constraint.

                                                                                                                                                + */ + StackSetAccounts?: string[]; + + /** + *

                                                                                                                                                One or more AWS Regions where the provisioned product will be available.

                                                                                                                                                + *

                                                                                                                                                Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                                + *

                                                                                                                                                The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the DescribeProvisioningParameters operation.

                                                                                                                                                + *

                                                                                                                                                If no values are specified, the default value is all regions from the STACKSET constraint.

                                                                                                                                                + */ + StackSetRegions?: string[]; + /** *

                                                                                                                                                The number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions.

                                                                                                                                                *

                                                                                                                                                Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                                @@ -7067,21 +7083,21 @@ export interface UpdateProvisioningPreferences { StackSetFailureTolerancePercentage?: number; /** - *

                                                                                                                                                The maximum percentage of accounts in which to perform this operation at one time.

                                                                                                                                                - *

                                                                                                                                                When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead.

                                                                                                                                                + *

                                                                                                                                                The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of StackSetFailureToleranceCount. StackSetMaxConcurrentCount is at most one more than the StackSetFailureToleranceCount.

                                                                                                                                                *

                                                                                                                                                Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

                                                                                                                                                *

                                                                                                                                                Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                                *

                                                                                                                                                Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

                                                                                                                                                */ - StackSetMaxConcurrencyPercentage?: number; + StackSetMaxConcurrencyCount?: number; /** - *

                                                                                                                                                One or more AWS accounts that will have access to the provisioned product.

                                                                                                                                                + *

                                                                                                                                                The maximum percentage of accounts in which to perform this operation at one time.

                                                                                                                                                + *

                                                                                                                                                When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead.

                                                                                                                                                + *

                                                                                                                                                Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

                                                                                                                                                *

                                                                                                                                                Applicable only to a CFN_STACKSET provisioned product type.

                                                                                                                                                - *

                                                                                                                                                The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the DescribeProvisioningParameters operation.

                                                                                                                                                - *

                                                                                                                                                If no values are specified, the default value is all accounts from the STACKSET constraint.

                                                                                                                                                + *

                                                                                                                                                Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

                                                                                                                                                */ - StackSetAccounts?: string[]; + StackSetMaxConcurrencyPercentage?: number; /** *

                                                                                                                                                Determines what action AWS Service Catalog performs to a stack set or a stack instance represented by the provisioned product. The default value is UPDATE if nothing is specified.

                                                                                                                                                @@ -7102,22 +7118,6 @@ export interface UpdateProvisioningPreferences { *
                                  */ StackSetOperationType?: StackSetOperationType | string; - - /** - *

                                  One or more AWS Regions where the provisioned product will be available.

                                  - *

                                  Applicable only to a CFN_STACKSET provisioned product type.

                                  - *

                                  The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the DescribeProvisioningParameters operation.

                                  - *

                                  If no values are specified, the default value is all regions from the STACKSET constraint.

                                  - */ - StackSetRegions?: string[]; - - /** - *

                                  The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of StackSetFailureToleranceCount. StackSetMaxConcurrentCount is at most one more than the StackSetFailureToleranceCount.

                                  - *

                                  Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling.

                                  - *

                                  Applicable only to a CFN_STACKSET provisioned product type.

                                  - *

                                  Conditional: You must specify either StackSetMaxConcurrentCount or StackSetMaxConcurrentPercentage, but not both.

                                  - */ - StackSetMaxConcurrencyCount?: number; } export namespace UpdateProvisioningPreferences { @@ -7127,11 +7127,6 @@ export namespace UpdateProvisioningPreferences { } export interface UpdateProvisionedProductInput { - /** - *

                                  The name of the path. You must provide the name or ID, but not both.

                                  - */ - PathName?: string; - /** *

                                  The language code.

                                  *
                                    @@ -7151,16 +7146,21 @@ export interface UpdateProvisionedProductInput { */ AcceptLanguage?: string; + /** + *

                                    The name of the provisioned product. You cannot specify both + * ProvisionedProductName and ProvisionedProductId.

                                    + */ + ProvisionedProductName?: string; + /** *

                                    The identifier of the provisioned product. You must provide the name or ID, but not both.

                                    */ ProvisionedProductId?: string; /** - *

                                    The name of the provisioned product. You cannot specify both - * ProvisionedProductName and ProvisionedProductId.

                                    + *

                                    The identifier of the product. You must provide the name or ID, but not both.

                                    */ - ProvisionedProductName?: string; + ProductId?: string; /** *

                                    The name of the product. You must provide the name or ID, but not both.

                                    @@ -7168,45 +7168,45 @@ export interface UpdateProvisionedProductInput { ProductName?: string; /** - *

                                    The new parameters.

                                    + *

                                    The identifier of the provisioning artifact.

                                    */ - ProvisioningParameters?: UpdateProvisioningParameter[]; + ProvisioningArtifactId?: string; /** - *

                                    The identifier of the provisioning artifact.

                                    + *

                                    The name of the provisioning artifact. You must provide the name or ID, but not both.

                                    */ - ProvisioningArtifactId?: string; + ProvisioningArtifactName?: string; /** - *

                                    One or more tags. Requires the product to have RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates.

                                    + *

                                    The path identifier. This value is optional if the product + * has a default path, and required if the product has more than one path. You must provide the name or ID, but not both.

                                    */ - Tags?: Tag[]; + PathId?: string; /** - *

                                    An object that contains information about the provisioning preferences for a stack set.

                                    + *

                                    The name of the path. You must provide the name or ID, but not both.

                                    */ - ProvisioningPreferences?: UpdateProvisioningPreferences; + PathName?: string; /** - *

                                    The name of the provisioning artifact. You must provide the name or ID, but not both.

                                    + *

                                    The new parameters.

                                    */ - ProvisioningArtifactName?: string; + ProvisioningParameters?: UpdateProvisioningParameter[]; /** - *

                                    The path identifier. This value is optional if the product - * has a default path, and required if the product has more than one path. You must provide the name or ID, but not both.

                                    + *

                                    An object that contains information about the provisioning preferences for a stack set.

                                    */ - PathId?: string; + ProvisioningPreferences?: UpdateProvisioningPreferences; /** - *

                                    The idempotency token that uniquely identifies the provisioning update request.

                                    + *

                                    One or more tags. Requires the product to have RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates.

                                    */ - UpdateToken?: string; + Tags?: Tag[]; /** - *

                                    The identifier of the product. You must provide the name or ID, but not both.

                                    + *

                                    The idempotency token that uniquely identifies the provisioning update request.

                                    */ - ProductId?: string; + UpdateToken?: string; } export namespace UpdateProvisionedProductInput { @@ -7234,6 +7234,25 @@ export enum PropertyKey { } export interface UpdateProvisionedProductPropertiesInput { + /** + *

                                    The language code.

                                    + *
                                      + *
                                    • + *

                                      + * en - English (default)

                                      + *
                                    • + *
                                    • + *

                                      + * jp - Japanese

                                      + *
                                    • + *
                                    • + *

                                      + * zh - Chinese

                                      + *
                                    • + *
                                    + */ + AcceptLanguage?: string; + /** *

                                    The identifier of the provisioned product.

                                    */ @@ -7241,16 +7260,16 @@ export interface UpdateProvisionedProductPropertiesInput { /** *

                                    A map that contains the provisioned product properties to be updated.

                                    - *

                                    The LAUNCH_ROLE key accepts user ARNs and role ARNs. This key allows an + *

                                    The LAUNCH_ROLE key accepts role ARNs. This key allows an * administrator to call UpdateProvisionedProductProperties to update the launch - * role that is associated with a provisioned product. This role is used when an end-user + * role that is associated with a provisioned product. This role is used when an end user * calls a provisioning operation such as UpdateProvisionedProduct, * TerminateProvisionedProduct, or - * ExecuteProvisionedProductServiceAction. Only an ARN role or - * null is valid. A user ARN is invalid. For example, if an admin user passes - * null as the value for the key LAUNCH_ROLE, the admin removes - * the launch role that is associated with the provisioned product. As a result, the end user + * ExecuteProvisionedProductServiceAction. Only a role ARN or an empty string "" is valid. + * A user ARN is invalid. if an admin user passes an empty string "" as the value for the key LAUNCH_ROLE, + * the admin removes the launch role that is associated with the provisioned product. As a result, the end user * operations use the credentials of the end user.

                                    + * *

                                    The OWNER key accepts user ARNs and role ARNs. The owner is the user * that has permission to see, update, terminate, and execute service actions in the * provisioned product.

                                    @@ -7269,25 +7288,6 @@ export interface UpdateProvisionedProductPropertiesInput { *

                                    The idempotency token that uniquely identifies the provisioning product update request.

                                    */ IdempotencyToken?: string; - - /** - *

                                    The language code.

                                    - *
                                      - *
                                    • - *

                                      - * en - English (default)

                                      - *
                                    • - *
                                    • - *

                                      - * jp - Japanese

                                      - *
                                    • - *
                                    • - *

                                      - * zh - Chinese

                                      - *
                                    • - *
                                    - */ - AcceptLanguage?: string; } export namespace UpdateProvisionedProductPropertiesInput { @@ -7298,9 +7298,9 @@ export namespace UpdateProvisionedProductPropertiesInput { export interface UpdateProvisionedProductPropertiesOutput { /** - *

                                    The status of the request.

                                    + *

                                    The provisioned product identifier.

                                    */ - Status?: RecordStatus | string; + ProvisionedProductId?: string; /** *

                                    A map that contains the properties updated.

                                    @@ -7308,14 +7308,14 @@ export interface UpdateProvisionedProductPropertiesOutput { ProvisionedProductProperties?: { [key: string]: string }; /** - *

                                    The provisioned product identifier.

                                    + *

                                    The identifier of the record.

                                    */ - ProvisionedProductId?: string; + RecordId?: string; /** - *

                                    The identifier of the record.

                                    + *

                                    The status of the request.

                                    */ - RecordId?: string; + Status?: RecordStatus | string; } export namespace UpdateProvisionedProductPropertiesOutput { @@ -7326,24 +7326,28 @@ export namespace UpdateProvisionedProductPropertiesOutput { export interface UpdateProvisioningArtifactInput { /** - *

                                    Indicates whether the product version is active.

                                    - *

                                    Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact.

                                    - */ - Active?: boolean; - - /** - *

                                    The updated name of the provisioning artifact.

                                    + *

                                    The language code.

                                    + *
                                      + *
                                    • + *

                                      + * en - English (default)

                                      + *
                                    • + *
                                    • + *

                                      + * jp - Japanese

                                      + *
                                    • + *
                                    • + *

                                      + * zh - Chinese

                                      + *
                                    • + *
                                    */ - Name?: string; + AcceptLanguage?: string; /** - *

                                    Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

                                    - *

                                    The DEFAULT value indicates that the product version is active.

                                    - *

                                    The administrator can set the guidance to DEPRECATED to inform - * users that the product version is deprecated. Users are able to make updates to a provisioned product - * of a deprecated version but cannot launch new provisioned products using a deprecated version.

                                    + *

                                    The product identifier.

                                    */ - Guidance?: ProvisioningArtifactGuidance | string; + ProductId: string | undefined; /** *

                                    The identifier of the provisioning artifact.

                                    @@ -7351,9 +7355,9 @@ export interface UpdateProvisioningArtifactInput { ProvisioningArtifactId: string | undefined; /** - *

                                    The product identifier.

                                    + *

                                    The updated name of the provisioning artifact.

                                    */ - ProductId: string | undefined; + Name?: string; /** *

                                    The updated description of the provisioning artifact.

                                    @@ -7361,23 +7365,19 @@ export interface UpdateProvisioningArtifactInput { Description?: string; /** - *

                                    The language code.

                                    - *
                                      - *
                                    • - *

                                      - * en - English (default)

                                      - *
                                    • - *
                                    • - *

                                      - * jp - Japanese

                                      - *
                                    • - *
                                    • - *

                                      - * zh - Chinese

                                      - *
                                    • - *
                                    + *

                                    Indicates whether the product version is active.

                                    + *

                                    Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact.

                                    */ - AcceptLanguage?: string; + Active?: boolean; + + /** + *

                                    Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.

                                    + *

                                    The DEFAULT value indicates that the product version is active.

                                    + *

                                    The administrator can set the guidance to DEPRECATED to inform + * users that the product version is deprecated. Users are able to make updates to a provisioned product + * of a deprecated version but cannot launch new provisioned products using a deprecated version.

                                    + */ + Guidance?: ProvisioningArtifactGuidance | string; } export namespace UpdateProvisioningArtifactInput { @@ -7411,15 +7411,20 @@ export namespace UpdateProvisioningArtifactOutput { export interface UpdateServiceActionInput { /** - *

                                    A map that defines the self-service action.

                                    + *

                                    The self-service action identifier.

                                    */ - Definition?: { [key: string]: string }; + Id: string | undefined; /** *

                                    The self-service action name.

                                    */ Name?: string; + /** + *

                                    A map that defines the self-service action.

                                    + */ + Definition?: { [key: string]: string }; + /** *

                                    The self-service action description.

                                    */ @@ -7443,11 +7448,6 @@ export interface UpdateServiceActionInput { *
                                  */ AcceptLanguage?: string; - - /** - *

                                  The self-service action identifier.

                                  - */ - Id: string | undefined; } export namespace UpdateServiceActionInput { @@ -7470,11 +7470,6 @@ export namespace UpdateServiceActionOutput { } export interface UpdateTagOptionInput { - /** - *

                                  The updated active state.

                                  - */ - Active?: boolean; - /** *

                                  The TagOption identifier.

                                  */ @@ -7484,6 +7479,11 @@ export interface UpdateTagOptionInput { *

                                  The updated value.

                                  */ Value?: string; + + /** + *

                                  The updated active state.

                                  + */ + Active?: boolean; } export namespace UpdateTagOptionInput { diff --git a/clients/client-service-catalog/pagination/GetProvisionedProductOutputsPaginator.ts b/clients/client-service-catalog/pagination/GetProvisionedProductOutputsPaginator.ts index d48ff970e6a4..39a0291e0455 100644 --- a/clients/client-service-catalog/pagination/GetProvisionedProductOutputsPaginator.ts +++ b/clients/client-service-catalog/pagination/GetProvisionedProductOutputsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetProvisionedProductOutputsCommand(input), ...args); + return await client.send(new GetProvisionedProductOutputsCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListAcceptedPortfolioSharesPaginator.ts b/clients/client-service-catalog/pagination/ListAcceptedPortfolioSharesPaginator.ts index 8041151905ef..1c542556f121 100644 --- a/clients/client-service-catalog/pagination/ListAcceptedPortfolioSharesPaginator.ts +++ b/clients/client-service-catalog/pagination/ListAcceptedPortfolioSharesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAcceptedPortfolioSharesCommand(input), ...args); + return await client.send(new ListAcceptedPortfolioSharesCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListBudgetsForResourcePaginator.ts b/clients/client-service-catalog/pagination/ListBudgetsForResourcePaginator.ts index 81846b3a581a..8b88a7e5d5fc 100644 --- a/clients/client-service-catalog/pagination/ListBudgetsForResourcePaginator.ts +++ b/clients/client-service-catalog/pagination/ListBudgetsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBudgetsForResourceCommand(input), ...args); + return await client.send(new ListBudgetsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListConstraintsForPortfolioPaginator.ts b/clients/client-service-catalog/pagination/ListConstraintsForPortfolioPaginator.ts index 2627e880d2be..01c3618d78ea 100644 --- a/clients/client-service-catalog/pagination/ListConstraintsForPortfolioPaginator.ts +++ b/clients/client-service-catalog/pagination/ListConstraintsForPortfolioPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConstraintsForPortfolioCommand(input), ...args); + return await client.send(new ListConstraintsForPortfolioCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListLaunchPathsPaginator.ts b/clients/client-service-catalog/pagination/ListLaunchPathsPaginator.ts index dd1a886341b5..b9e962b92d2e 100644 --- a/clients/client-service-catalog/pagination/ListLaunchPathsPaginator.ts +++ b/clients/client-service-catalog/pagination/ListLaunchPathsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLaunchPathsCommand(input), ...args); + return await client.send(new ListLaunchPathsCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListOrganizationPortfolioAccessPaginator.ts b/clients/client-service-catalog/pagination/ListOrganizationPortfolioAccessPaginator.ts index d56175fbe33b..e09e77b9626c 100644 --- a/clients/client-service-catalog/pagination/ListOrganizationPortfolioAccessPaginator.ts +++ b/clients/client-service-catalog/pagination/ListOrganizationPortfolioAccessPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationPortfolioAccessCommand(input), ...args); + return await client.send(new ListOrganizationPortfolioAccessCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListPortfolioAccessPaginator.ts b/clients/client-service-catalog/pagination/ListPortfolioAccessPaginator.ts index e9131cdf3fe7..95d26c8258f3 100644 --- a/clients/client-service-catalog/pagination/ListPortfolioAccessPaginator.ts +++ b/clients/client-service-catalog/pagination/ListPortfolioAccessPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPortfolioAccessCommand(input), ...args); + return await client.send(new ListPortfolioAccessCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListPortfoliosForProductPaginator.ts b/clients/client-service-catalog/pagination/ListPortfoliosForProductPaginator.ts index 064dcba47045..5ca7dd86c6d4 100644 --- a/clients/client-service-catalog/pagination/ListPortfoliosForProductPaginator.ts +++ b/clients/client-service-catalog/pagination/ListPortfoliosForProductPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPortfoliosForProductCommand(input), ...args); + return await client.send(new ListPortfoliosForProductCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListPortfoliosPaginator.ts b/clients/client-service-catalog/pagination/ListPortfoliosPaginator.ts index 238f9ea36423..0e6077dbf379 100644 --- a/clients/client-service-catalog/pagination/ListPortfoliosPaginator.ts +++ b/clients/client-service-catalog/pagination/ListPortfoliosPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPortfoliosCommand(input), ...args); + return await client.send(new ListPortfoliosCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListPrincipalsForPortfolioPaginator.ts b/clients/client-service-catalog/pagination/ListPrincipalsForPortfolioPaginator.ts index 48f14e5b6fba..d334eda5bc89 100644 --- a/clients/client-service-catalog/pagination/ListPrincipalsForPortfolioPaginator.ts +++ b/clients/client-service-catalog/pagination/ListPrincipalsForPortfolioPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPrincipalsForPortfolioCommand(input), ...args); + return await client.send(new ListPrincipalsForPortfolioCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListProvisioningArtifactsForServiceActionPaginator.ts b/clients/client-service-catalog/pagination/ListProvisioningArtifactsForServiceActionPaginator.ts index abc60ea3c61e..1b712ce32a90 100644 --- a/clients/client-service-catalog/pagination/ListProvisioningArtifactsForServiceActionPaginator.ts +++ b/clients/client-service-catalog/pagination/ListProvisioningArtifactsForServiceActionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProvisioningArtifactsForServiceActionCommand(input), ...args); + return await client.send(new ListProvisioningArtifactsForServiceActionCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListResourcesForTagOptionPaginator.ts b/clients/client-service-catalog/pagination/ListResourcesForTagOptionPaginator.ts index 44869c1c91b3..d2b1b1825527 100644 --- a/clients/client-service-catalog/pagination/ListResourcesForTagOptionPaginator.ts +++ b/clients/client-service-catalog/pagination/ListResourcesForTagOptionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourcesForTagOptionCommand(input), ...args); + return await client.send(new ListResourcesForTagOptionCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListServiceActionsForProvisioningArtifactPaginator.ts b/clients/client-service-catalog/pagination/ListServiceActionsForProvisioningArtifactPaginator.ts index 4cef7ddcee69..9d661530b96e 100644 --- a/clients/client-service-catalog/pagination/ListServiceActionsForProvisioningArtifactPaginator.ts +++ b/clients/client-service-catalog/pagination/ListServiceActionsForProvisioningArtifactPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServiceActionsForProvisioningArtifactCommand(input), ...args); + return await client.send(new ListServiceActionsForProvisioningArtifactCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListServiceActionsPaginator.ts b/clients/client-service-catalog/pagination/ListServiceActionsPaginator.ts index 5a16f60ba8dc..050e8db750c1 100644 --- a/clients/client-service-catalog/pagination/ListServiceActionsPaginator.ts +++ b/clients/client-service-catalog/pagination/ListServiceActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServiceActionsCommand(input), ...args); + return await client.send(new ListServiceActionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListTagOptionsPaginator.ts b/clients/client-service-catalog/pagination/ListTagOptionsPaginator.ts index 4a6849904d84..855c4ffe6f9f 100644 --- a/clients/client-service-catalog/pagination/ListTagOptionsPaginator.ts +++ b/clients/client-service-catalog/pagination/ListTagOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagOptionsCommand(input), ...args); + return await client.send(new ListTagOptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/SearchProductsAsAdminPaginator.ts b/clients/client-service-catalog/pagination/SearchProductsAsAdminPaginator.ts index 23f3e5566c5e..f1a911e03a60 100644 --- a/clients/client-service-catalog/pagination/SearchProductsAsAdminPaginator.ts +++ b/clients/client-service-catalog/pagination/SearchProductsAsAdminPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchProductsAsAdminCommand(input), ...args); + return await client.send(new SearchProductsAsAdminCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/SearchProductsPaginator.ts b/clients/client-service-catalog/pagination/SearchProductsPaginator.ts index f9ced6ef84c3..a3afd37b55b3 100644 --- a/clients/client-service-catalog/pagination/SearchProductsPaginator.ts +++ b/clients/client-service-catalog/pagination/SearchProductsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchProductsCommand(input), ...args); + return await client.send(new SearchProductsCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/SearchProvisionedProductsPaginator.ts b/clients/client-service-catalog/pagination/SearchProvisionedProductsPaginator.ts index 8828018d4d96..a113f8bd7e49 100644 --- a/clients/client-service-catalog/pagination/SearchProvisionedProductsPaginator.ts +++ b/clients/client-service-catalog/pagination/SearchProvisionedProductsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchProvisionedProductsCommand(input), ...args); + return await client.send(new SearchProvisionedProductsCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-quotas/pagination/ListAWSDefaultServiceQuotasPaginator.ts b/clients/client-service-quotas/pagination/ListAWSDefaultServiceQuotasPaginator.ts index 6870da351da7..9f7c520f89cd 100644 --- a/clients/client-service-quotas/pagination/ListAWSDefaultServiceQuotasPaginator.ts +++ b/clients/client-service-quotas/pagination/ListAWSDefaultServiceQuotasPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAWSDefaultServiceQuotasCommand(input), ...args); + return await client.send(new ListAWSDefaultServiceQuotasCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.ts b/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.ts index dac99971c3b4..183701134c74 100644 --- a/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.ts +++ b/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRequestedServiceQuotaChangeHistoryByQuotaCommand(input), ...args); + return await client.send(new ListRequestedServiceQuotaChangeHistoryByQuotaCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.ts b/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.ts index dd9e125da4d4..7c665b55006d 100644 --- a/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.ts +++ b/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRequestedServiceQuotaChangeHistoryCommand(input), ...args); + return await client.send(new ListRequestedServiceQuotaChangeHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.ts b/clients/client-service-quotas/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.ts index 805b2a5c1a39..170585a4a2b8 100644 --- a/clients/client-service-quotas/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.ts +++ b/clients/client-service-quotas/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServiceQuotaIncreaseRequestsInTemplateCommand(input), ...args); + return await client.send(new ListServiceQuotaIncreaseRequestsInTemplateCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListServiceQuotasPaginator.ts b/clients/client-service-quotas/pagination/ListServiceQuotasPaginator.ts index 4f67036952b7..3845b8769999 100644 --- a/clients/client-service-quotas/pagination/ListServiceQuotasPaginator.ts +++ b/clients/client-service-quotas/pagination/ListServiceQuotasPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServiceQuotasCommand(input), ...args); + return await client.send(new ListServiceQuotasCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListServicesPaginator.ts b/clients/client-service-quotas/pagination/ListServicesPaginator.ts index b50066f902fb..743225150642 100644 --- a/clients/client-service-quotas/pagination/ListServicesPaginator.ts +++ b/clients/client-service-quotas/pagination/ListServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServicesCommand(input), ...args); + return await client.send(new ListServicesCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-servicediscovery/pagination/GetInstancesHealthStatusPaginator.ts b/clients/client-servicediscovery/pagination/GetInstancesHealthStatusPaginator.ts index b7e6b771ecbc..225b1311464c 100644 --- a/clients/client-servicediscovery/pagination/GetInstancesHealthStatusPaginator.ts +++ b/clients/client-servicediscovery/pagination/GetInstancesHealthStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInstancesHealthStatusCommand(input), ...args); + return await client.send(new GetInstancesHealthStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-servicediscovery/pagination/ListInstancesPaginator.ts b/clients/client-servicediscovery/pagination/ListInstancesPaginator.ts index fb3d3fbb0e3d..2e7757628027 100644 --- a/clients/client-servicediscovery/pagination/ListInstancesPaginator.ts +++ b/clients/client-servicediscovery/pagination/ListInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstancesCommand(input), ...args); + return await client.send(new ListInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-servicediscovery/pagination/ListNamespacesPaginator.ts b/clients/client-servicediscovery/pagination/ListNamespacesPaginator.ts index 5486d369a359..b61df7c69b04 100644 --- a/clients/client-servicediscovery/pagination/ListNamespacesPaginator.ts +++ b/clients/client-servicediscovery/pagination/ListNamespacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNamespacesCommand(input), ...args); + return await client.send(new ListNamespacesCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-servicediscovery/pagination/ListOperationsPaginator.ts b/clients/client-servicediscovery/pagination/ListOperationsPaginator.ts index 3f516e3a4166..fe0cb84cfe91 100644 --- a/clients/client-servicediscovery/pagination/ListOperationsPaginator.ts +++ b/clients/client-servicediscovery/pagination/ListOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOperationsCommand(input), ...args); + return await client.send(new ListOperationsCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-servicediscovery/pagination/ListServicesPaginator.ts b/clients/client-servicediscovery/pagination/ListServicesPaginator.ts index c092b871d250..576d6455024c 100644 --- a/clients/client-servicediscovery/pagination/ListServicesPaginator.ts +++ b/clients/client-servicediscovery/pagination/ListServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServicesCommand(input), ...args); + return await client.send(new ListServicesCommand(input, ...args)); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-ses/pagination/ListCustomVerificationEmailTemplatesPaginator.ts b/clients/client-ses/pagination/ListCustomVerificationEmailTemplatesPaginator.ts index 7ee0d2b20241..3dac8c41b6c8 100644 --- a/clients/client-ses/pagination/ListCustomVerificationEmailTemplatesPaginator.ts +++ b/clients/client-ses/pagination/ListCustomVerificationEmailTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCustomVerificationEmailTemplatesCommand(input), ...args); + return await client.send(new ListCustomVerificationEmailTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: SES, diff --git a/clients/client-ses/pagination/ListIdentitiesPaginator.ts b/clients/client-ses/pagination/ListIdentitiesPaginator.ts index 34188b99016c..499e275c864c 100644 --- a/clients/client-ses/pagination/ListIdentitiesPaginator.ts +++ b/clients/client-ses/pagination/ListIdentitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIdentitiesCommand(input), ...args); + return await client.send(new ListIdentitiesCommand(input, ...args)); }; const makePagedRequest = async ( client: SES, diff --git a/clients/client-sesv2/pagination/GetDedicatedIpsPaginator.ts b/clients/client-sesv2/pagination/GetDedicatedIpsPaginator.ts index 679cb1b01de1..aa08a91c9a51 100644 --- a/clients/client-sesv2/pagination/GetDedicatedIpsPaginator.ts +++ b/clients/client-sesv2/pagination/GetDedicatedIpsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDedicatedIpsCommand(input), ...args); + return await client.send(new GetDedicatedIpsCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListConfigurationSetsPaginator.ts b/clients/client-sesv2/pagination/ListConfigurationSetsPaginator.ts index 2e0518dffa7c..195cf39df42e 100644 --- a/clients/client-sesv2/pagination/ListConfigurationSetsPaginator.ts +++ b/clients/client-sesv2/pagination/ListConfigurationSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationSetsCommand(input), ...args); + return await client.send(new ListConfigurationSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListContactListsPaginator.ts b/clients/client-sesv2/pagination/ListContactListsPaginator.ts index a1d063b87ff2..47f222e703f4 100644 --- a/clients/client-sesv2/pagination/ListContactListsPaginator.ts +++ b/clients/client-sesv2/pagination/ListContactListsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContactListsCommand(input), ...args); + return await client.send(new ListContactListsCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListContactsPaginator.ts b/clients/client-sesv2/pagination/ListContactsPaginator.ts index be71ae10c081..18b6a52e1ac1 100644 --- a/clients/client-sesv2/pagination/ListContactsPaginator.ts +++ b/clients/client-sesv2/pagination/ListContactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContactsCommand(input), ...args); + return await client.send(new ListContactsCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListCustomVerificationEmailTemplatesPaginator.ts b/clients/client-sesv2/pagination/ListCustomVerificationEmailTemplatesPaginator.ts index 7b637239102c..513e7aafa356 100644 --- a/clients/client-sesv2/pagination/ListCustomVerificationEmailTemplatesPaginator.ts +++ b/clients/client-sesv2/pagination/ListCustomVerificationEmailTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCustomVerificationEmailTemplatesCommand(input), ...args); + return await client.send(new ListCustomVerificationEmailTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListDedicatedIpPoolsPaginator.ts b/clients/client-sesv2/pagination/ListDedicatedIpPoolsPaginator.ts index ee3ef0bf0c24..ecd31293ad58 100644 --- a/clients/client-sesv2/pagination/ListDedicatedIpPoolsPaginator.ts +++ b/clients/client-sesv2/pagination/ListDedicatedIpPoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDedicatedIpPoolsCommand(input), ...args); + return await client.send(new ListDedicatedIpPoolsCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListDeliverabilityTestReportsPaginator.ts b/clients/client-sesv2/pagination/ListDeliverabilityTestReportsPaginator.ts index f22a73f119c3..acad00a12273 100644 --- a/clients/client-sesv2/pagination/ListDeliverabilityTestReportsPaginator.ts +++ b/clients/client-sesv2/pagination/ListDeliverabilityTestReportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeliverabilityTestReportsCommand(input), ...args); + return await client.send(new ListDeliverabilityTestReportsCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListDomainDeliverabilityCampaignsPaginator.ts b/clients/client-sesv2/pagination/ListDomainDeliverabilityCampaignsPaginator.ts index eeb1ace350ad..e77f2408e08b 100644 --- a/clients/client-sesv2/pagination/ListDomainDeliverabilityCampaignsPaginator.ts +++ b/clients/client-sesv2/pagination/ListDomainDeliverabilityCampaignsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainDeliverabilityCampaignsCommand(input), ...args); + return await client.send(new ListDomainDeliverabilityCampaignsCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListEmailIdentitiesPaginator.ts b/clients/client-sesv2/pagination/ListEmailIdentitiesPaginator.ts index 1b1016b23170..77b8362f3d02 100644 --- a/clients/client-sesv2/pagination/ListEmailIdentitiesPaginator.ts +++ b/clients/client-sesv2/pagination/ListEmailIdentitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEmailIdentitiesCommand(input), ...args); + return await client.send(new ListEmailIdentitiesCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListEmailTemplatesPaginator.ts b/clients/client-sesv2/pagination/ListEmailTemplatesPaginator.ts index daedfbc9ff39..50ce0f08023f 100644 --- a/clients/client-sesv2/pagination/ListEmailTemplatesPaginator.ts +++ b/clients/client-sesv2/pagination/ListEmailTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEmailTemplatesCommand(input), ...args); + return await client.send(new ListEmailTemplatesCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListImportJobsPaginator.ts b/clients/client-sesv2/pagination/ListImportJobsPaginator.ts index 7b7b71082755..7f55766bce8e 100644 --- a/clients/client-sesv2/pagination/ListImportJobsPaginator.ts +++ b/clients/client-sesv2/pagination/ListImportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImportJobsCommand(input), ...args); + return await client.send(new ListImportJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListSuppressedDestinationsPaginator.ts b/clients/client-sesv2/pagination/ListSuppressedDestinationsPaginator.ts index 80f21362353d..8b0bcc6922d5 100644 --- a/clients/client-sesv2/pagination/ListSuppressedDestinationsPaginator.ts +++ b/clients/client-sesv2/pagination/ListSuppressedDestinationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSuppressedDestinationsCommand(input), ...args); + return await client.send(new ListSuppressedDestinationsCommand(input, ...args)); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sfn/pagination/GetExecutionHistoryPaginator.ts b/clients/client-sfn/pagination/GetExecutionHistoryPaginator.ts index 0605b6bbd37e..9f3d277fef2b 100644 --- a/clients/client-sfn/pagination/GetExecutionHistoryPaginator.ts +++ b/clients/client-sfn/pagination/GetExecutionHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetExecutionHistoryCommand(input), ...args); + return await client.send(new GetExecutionHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: SFN, diff --git a/clients/client-sfn/pagination/ListActivitiesPaginator.ts b/clients/client-sfn/pagination/ListActivitiesPaginator.ts index dfb641cd996c..536c7e482791 100644 --- a/clients/client-sfn/pagination/ListActivitiesPaginator.ts +++ b/clients/client-sfn/pagination/ListActivitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActivitiesCommand(input), ...args); + return await client.send(new ListActivitiesCommand(input, ...args)); }; const makePagedRequest = async ( client: SFN, diff --git a/clients/client-sfn/pagination/ListExecutionsPaginator.ts b/clients/client-sfn/pagination/ListExecutionsPaginator.ts index b42787a21d12..7dee4cf40db9 100644 --- a/clients/client-sfn/pagination/ListExecutionsPaginator.ts +++ b/clients/client-sfn/pagination/ListExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListExecutionsCommand(input), ...args); + return await client.send(new ListExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SFN, diff --git a/clients/client-sfn/pagination/ListStateMachinesPaginator.ts b/clients/client-sfn/pagination/ListStateMachinesPaginator.ts index d6c19925b03e..ca42a2b7af42 100644 --- a/clients/client-sfn/pagination/ListStateMachinesPaginator.ts +++ b/clients/client-sfn/pagination/ListStateMachinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStateMachinesCommand(input), ...args); + return await client.send(new ListStateMachinesCommand(input, ...args)); }; const makePagedRequest = async ( client: SFN, diff --git a/clients/client-shield/pagination/ListAttacksPaginator.ts b/clients/client-shield/pagination/ListAttacksPaginator.ts index 1d51b242101d..56843949212a 100644 --- a/clients/client-shield/pagination/ListAttacksPaginator.ts +++ b/clients/client-shield/pagination/ListAttacksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttacksCommand(input), ...args); + return await client.send(new ListAttacksCommand(input, ...args)); }; const makePagedRequest = async ( client: Shield, diff --git a/clients/client-shield/pagination/ListProtectionsPaginator.ts b/clients/client-shield/pagination/ListProtectionsPaginator.ts index ab650694e354..8865fd538b5f 100644 --- a/clients/client-shield/pagination/ListProtectionsPaginator.ts +++ b/clients/client-shield/pagination/ListProtectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProtectionsCommand(input), ...args); + return await client.send(new ListProtectionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Shield, diff --git a/clients/client-signer/pagination/ListSigningJobsPaginator.ts b/clients/client-signer/pagination/ListSigningJobsPaginator.ts index 2069ac5e919e..e0f92d9af288 100644 --- a/clients/client-signer/pagination/ListSigningJobsPaginator.ts +++ b/clients/client-signer/pagination/ListSigningJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSigningJobsCommand(input), ...args); + return await client.send(new ListSigningJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Signer, diff --git a/clients/client-signer/pagination/ListSigningPlatformsPaginator.ts b/clients/client-signer/pagination/ListSigningPlatformsPaginator.ts index 0eb90af25bcb..7cfcfd3491f5 100644 --- a/clients/client-signer/pagination/ListSigningPlatformsPaginator.ts +++ b/clients/client-signer/pagination/ListSigningPlatformsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSigningPlatformsCommand(input), ...args); + return await client.send(new ListSigningPlatformsCommand(input, ...args)); }; const makePagedRequest = async ( client: Signer, diff --git a/clients/client-signer/pagination/ListSigningProfilesPaginator.ts b/clients/client-signer/pagination/ListSigningProfilesPaginator.ts index 42b5522ce730..9fd8e80927c9 100644 --- a/clients/client-signer/pagination/ListSigningProfilesPaginator.ts +++ b/clients/client-signer/pagination/ListSigningProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSigningProfilesCommand(input), ...args); + return await client.send(new ListSigningProfilesCommand(input, ...args)); }; const makePagedRequest = async ( client: Signer, diff --git a/clients/client-sms/pagination/GetConnectorsPaginator.ts b/clients/client-sms/pagination/GetConnectorsPaginator.ts index 48d221e1d763..da94783ca737 100644 --- a/clients/client-sms/pagination/GetConnectorsPaginator.ts +++ b/clients/client-sms/pagination/GetConnectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetConnectorsCommand(input), ...args); + return await client.send(new GetConnectorsCommand(input, ...args)); }; const makePagedRequest = async ( client: SMS, diff --git a/clients/client-sms/pagination/GetReplicationJobsPaginator.ts b/clients/client-sms/pagination/GetReplicationJobsPaginator.ts index 8fb6a4346eef..45e5abce35a8 100644 --- a/clients/client-sms/pagination/GetReplicationJobsPaginator.ts +++ b/clients/client-sms/pagination/GetReplicationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetReplicationJobsCommand(input), ...args); + return await client.send(new GetReplicationJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: SMS, diff --git a/clients/client-sms/pagination/GetReplicationRunsPaginator.ts b/clients/client-sms/pagination/GetReplicationRunsPaginator.ts index 677c185e5194..fd223f2516fc 100644 --- a/clients/client-sms/pagination/GetReplicationRunsPaginator.ts +++ b/clients/client-sms/pagination/GetReplicationRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetReplicationRunsCommand(input), ...args); + return await client.send(new GetReplicationRunsCommand(input, ...args)); }; const makePagedRequest = async ( client: SMS, diff --git a/clients/client-sms/pagination/GetServersPaginator.ts b/clients/client-sms/pagination/GetServersPaginator.ts index 9e6efb52fcee..f476a4c24e5d 100644 --- a/clients/client-sms/pagination/GetServersPaginator.ts +++ b/clients/client-sms/pagination/GetServersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetServersCommand(input), ...args); + return await client.send(new GetServersCommand(input, ...args)); }; const makePagedRequest = async ( client: SMS, diff --git a/clients/client-snowball/pagination/DescribeAddressesPaginator.ts b/clients/client-snowball/pagination/DescribeAddressesPaginator.ts index 2c1558f42473..94dba25d8f6c 100644 --- a/clients/client-snowball/pagination/DescribeAddressesPaginator.ts +++ b/clients/client-snowball/pagination/DescribeAddressesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAddressesCommand(input), ...args); + return await client.send(new DescribeAddressesCommand(input, ...args)); }; const makePagedRequest = async ( client: Snowball, diff --git a/clients/client-snowball/pagination/ListJobsPaginator.ts b/clients/client-snowball/pagination/ListJobsPaginator.ts index b4051a5ed337..da397fb7af7e 100644 --- a/clients/client-snowball/pagination/ListJobsPaginator.ts +++ b/clients/client-snowball/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input), ...args); + return await client.send(new ListJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Snowball, diff --git a/clients/client-sns/pagination/ListEndpointsByPlatformApplicationPaginator.ts b/clients/client-sns/pagination/ListEndpointsByPlatformApplicationPaginator.ts index e09a857248df..06ea5dcf6f9b 100644 --- a/clients/client-sns/pagination/ListEndpointsByPlatformApplicationPaginator.ts +++ b/clients/client-sns/pagination/ListEndpointsByPlatformApplicationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEndpointsByPlatformApplicationCommand(input), ...args); + return await client.send(new ListEndpointsByPlatformApplicationCommand(input, ...args)); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sns/pagination/ListPlatformApplicationsPaginator.ts b/clients/client-sns/pagination/ListPlatformApplicationsPaginator.ts index 1d525ce8dfff..6eded61a1e44 100644 --- a/clients/client-sns/pagination/ListPlatformApplicationsPaginator.ts +++ b/clients/client-sns/pagination/ListPlatformApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlatformApplicationsCommand(input), ...args); + return await client.send(new ListPlatformApplicationsCommand(input, ...args)); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sns/pagination/ListSubscriptionsByTopicPaginator.ts b/clients/client-sns/pagination/ListSubscriptionsByTopicPaginator.ts index d9a17c01e182..b48406aa7c9c 100644 --- a/clients/client-sns/pagination/ListSubscriptionsByTopicPaginator.ts +++ b/clients/client-sns/pagination/ListSubscriptionsByTopicPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSubscriptionsByTopicCommand(input), ...args); + return await client.send(new ListSubscriptionsByTopicCommand(input, ...args)); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sns/pagination/ListSubscriptionsPaginator.ts b/clients/client-sns/pagination/ListSubscriptionsPaginator.ts index 58ba054a5913..46475e92fbdd 100644 --- a/clients/client-sns/pagination/ListSubscriptionsPaginator.ts +++ b/clients/client-sns/pagination/ListSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSubscriptionsCommand(input), ...args); + return await client.send(new ListSubscriptionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sns/pagination/ListTopicsPaginator.ts b/clients/client-sns/pagination/ListTopicsPaginator.ts index 7d34339d3e2c..b94e0d353079 100644 --- a/clients/client-sns/pagination/ListTopicsPaginator.ts +++ b/clients/client-sns/pagination/ListTopicsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTopicsCommand(input), ...args); + return await client.send(new ListTopicsCommand(input, ...args)); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sqs/pagination/ListDeadLetterSourceQueuesPaginator.ts b/clients/client-sqs/pagination/ListDeadLetterSourceQueuesPaginator.ts index fe77d08b3147..82a94df09717 100644 --- a/clients/client-sqs/pagination/ListDeadLetterSourceQueuesPaginator.ts +++ b/clients/client-sqs/pagination/ListDeadLetterSourceQueuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeadLetterSourceQueuesCommand(input), ...args); + return await client.send(new ListDeadLetterSourceQueuesCommand(input, ...args)); }; const makePagedRequest = async ( client: SQS, diff --git a/clients/client-sqs/pagination/ListQueuesPaginator.ts b/clients/client-sqs/pagination/ListQueuesPaginator.ts index 65fee0efcbd8..7c7e06dcb591 100644 --- a/clients/client-sqs/pagination/ListQueuesPaginator.ts +++ b/clients/client-sqs/pagination/ListQueuesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQueuesCommand(input), ...args); + return await client.send(new ListQueuesCommand(input, ...args)); }; const makePagedRequest = async ( client: SQS, diff --git a/clients/client-ssm/models/models_0.ts b/clients/client-ssm/models/models_0.ts index 27a60b3bb28d..14e6c2e5f11e 100644 --- a/clients/client-ssm/models/models_0.ts +++ b/clients/client-ssm/models/models_0.ts @@ -3988,6 +3988,7 @@ export enum AutomationExecutionFilterKey { START_TIME_AFTER = "StartTimeAfter", START_TIME_BEFORE = "StartTimeBefore", TAG_KEY = "TagKey", + TARGET_RESOURCE_GROUP = "TargetResourceGroup", } /** @@ -7801,6 +7802,7 @@ export enum SessionFilterKey { INVOKED_AFTER = "InvokedAfter", INVOKED_BEFORE = "InvokedBefore", OWNER = "Owner", + SESSION_ID = "SessionId", STATUS = "Status", TARGET_ID = "Target", } @@ -7855,6 +7857,9 @@ export interface SessionFilter { *
                                • *
                                * + *
                              • + *

                                SessionId: Specify a session ID to return details about the session.

                                + *
                              • *
                              */ value: string | undefined; diff --git a/clients/client-ssm/pagination/DescribeActivationsPaginator.ts b/clients/client-ssm/pagination/DescribeActivationsPaginator.ts index 993c60c57cfe..811bc3afbfc6 100644 --- a/clients/client-ssm/pagination/DescribeActivationsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeActivationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeActivationsCommand(input), ...args); + return await client.send(new DescribeActivationsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAssociationExecutionTargetsPaginator.ts b/clients/client-ssm/pagination/DescribeAssociationExecutionTargetsPaginator.ts index 1e4859621ed6..f9a606f7e106 100644 --- a/clients/client-ssm/pagination/DescribeAssociationExecutionTargetsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAssociationExecutionTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAssociationExecutionTargetsCommand(input), ...args); + return await client.send(new DescribeAssociationExecutionTargetsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAssociationExecutionsPaginator.ts b/clients/client-ssm/pagination/DescribeAssociationExecutionsPaginator.ts index 873ed78e4ef8..3ce5389b4404 100644 --- a/clients/client-ssm/pagination/DescribeAssociationExecutionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAssociationExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAssociationExecutionsCommand(input), ...args); + return await client.send(new DescribeAssociationExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAutomationExecutionsPaginator.ts b/clients/client-ssm/pagination/DescribeAutomationExecutionsPaginator.ts index 9f1d48a6dbd5..c729f7abb0ab 100644 --- a/clients/client-ssm/pagination/DescribeAutomationExecutionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAutomationExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAutomationExecutionsCommand(input), ...args); + return await client.send(new DescribeAutomationExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAutomationStepExecutionsPaginator.ts b/clients/client-ssm/pagination/DescribeAutomationStepExecutionsPaginator.ts index 4a978137dbf9..f6aeaf30fc21 100644 --- a/clients/client-ssm/pagination/DescribeAutomationStepExecutionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAutomationStepExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAutomationStepExecutionsCommand(input), ...args); + return await client.send(new DescribeAutomationStepExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAvailablePatchesPaginator.ts b/clients/client-ssm/pagination/DescribeAvailablePatchesPaginator.ts index 733d5233c591..ea1d624333ce 100644 --- a/clients/client-ssm/pagination/DescribeAvailablePatchesPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAvailablePatchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAvailablePatchesCommand(input), ...args); + return await client.send(new DescribeAvailablePatchesCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeEffectiveInstanceAssociationsPaginator.ts b/clients/client-ssm/pagination/DescribeEffectiveInstanceAssociationsPaginator.ts index d31409db6542..3d18f674f4f7 100644 --- a/clients/client-ssm/pagination/DescribeEffectiveInstanceAssociationsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeEffectiveInstanceAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEffectiveInstanceAssociationsCommand(input), ...args); + return await client.send(new DescribeEffectiveInstanceAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.ts b/clients/client-ssm/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.ts index ea1c8623e317..ddb408a6d77f 100644 --- a/clients/client-ssm/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.ts +++ b/clients/client-ssm/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEffectivePatchesForPatchBaselineCommand(input), ...args); + return await client.send(new DescribeEffectivePatchesForPatchBaselineCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstanceAssociationsStatusPaginator.ts b/clients/client-ssm/pagination/DescribeInstanceAssociationsStatusPaginator.ts index 28b534b47d2c..b6b5def12653 100644 --- a/clients/client-ssm/pagination/DescribeInstanceAssociationsStatusPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstanceAssociationsStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceAssociationsStatusCommand(input), ...args); + return await client.send(new DescribeInstanceAssociationsStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstanceInformationPaginator.ts b/clients/client-ssm/pagination/DescribeInstanceInformationPaginator.ts index d67153c4227a..11bdf4453e68 100644 --- a/clients/client-ssm/pagination/DescribeInstanceInformationPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstanceInformationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceInformationCommand(input), ...args); + return await client.send(new DescribeInstanceInformationCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.ts b/clients/client-ssm/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.ts index 482f806d411e..3d38234b9365 100644 --- a/clients/client-ssm/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancePatchStatesForPatchGroupCommand(input), ...args); + return await client.send(new DescribeInstancePatchStatesForPatchGroupCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstancePatchStatesPaginator.ts b/clients/client-ssm/pagination/DescribeInstancePatchStatesPaginator.ts index 4baf63797d28..e77a21cfe961 100644 --- a/clients/client-ssm/pagination/DescribeInstancePatchStatesPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstancePatchStatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancePatchStatesCommand(input), ...args); + return await client.send(new DescribeInstancePatchStatesCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstancePatchesPaginator.ts b/clients/client-ssm/pagination/DescribeInstancePatchesPaginator.ts index 76a722fb481d..61de83f247d9 100644 --- a/clients/client-ssm/pagination/DescribeInstancePatchesPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstancePatchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancePatchesCommand(input), ...args); + return await client.send(new DescribeInstancePatchesCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInventoryDeletionsPaginator.ts b/clients/client-ssm/pagination/DescribeInventoryDeletionsPaginator.ts index 0c19cbdd2641..418362ebfbb5 100644 --- a/clients/client-ssm/pagination/DescribeInventoryDeletionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInventoryDeletionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInventoryDeletionsCommand(input), ...args); + return await client.send(new DescribeInventoryDeletionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts index e0f963653fd7..260798a3d37a 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowExecutionTaskInvocationsCommand(input), ...args); + return await client.send(new DescribeMaintenanceWindowExecutionTaskInvocationsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.ts index 31336d7df64c..2dd9961e9c9d 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowExecutionTasksCommand(input), ...args); + return await client.send(new DescribeMaintenanceWindowExecutionTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionsPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionsPaginator.ts index 7a36e5e72d5d..782869919ee9 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowExecutionsCommand(input), ...args); + return await client.send(new DescribeMaintenanceWindowExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowSchedulePaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowSchedulePaginator.ts index 0089a21c566d..8c750e229542 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowSchedulePaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowSchedulePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowScheduleCommand(input), ...args); + return await client.send(new DescribeMaintenanceWindowScheduleCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowTargetsPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowTargetsPaginator.ts index 2da73dffb91c..a8c5f70c3897 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowTargetsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowTargetsCommand(input), ...args); + return await client.send(new DescribeMaintenanceWindowTargetsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowTasksPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowTasksPaginator.ts index 154ebd41ef46..3f2baa2275f9 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowTasksPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowTasksCommand(input), ...args); + return await client.send(new DescribeMaintenanceWindowTasksCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowsForTargetPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowsForTargetPaginator.ts index 676ef75b5b2e..3828af7240a6 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowsForTargetPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowsForTargetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowsForTargetCommand(input), ...args); + return await client.send(new DescribeMaintenanceWindowsForTargetCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowsPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowsPaginator.ts index 109fe29c2f4f..8f89240bb86a 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowsCommand(input), ...args); + return await client.send(new DescribeMaintenanceWindowsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeOpsItemsPaginator.ts b/clients/client-ssm/pagination/DescribeOpsItemsPaginator.ts index 20d388121c46..59ae6e8d1c9a 100644 --- a/clients/client-ssm/pagination/DescribeOpsItemsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeOpsItemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOpsItemsCommand(input), ...args); + return await client.send(new DescribeOpsItemsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeParametersPaginator.ts b/clients/client-ssm/pagination/DescribeParametersPaginator.ts index 6fba0edff4d0..9414123c6052 100644 --- a/clients/client-ssm/pagination/DescribeParametersPaginator.ts +++ b/clients/client-ssm/pagination/DescribeParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeParametersCommand(input), ...args); + return await client.send(new DescribeParametersCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribePatchBaselinesPaginator.ts b/clients/client-ssm/pagination/DescribePatchBaselinesPaginator.ts index 37bc71ffa0a9..32f527cf9a9d 100644 --- a/clients/client-ssm/pagination/DescribePatchBaselinesPaginator.ts +++ b/clients/client-ssm/pagination/DescribePatchBaselinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePatchBaselinesCommand(input), ...args); + return await client.send(new DescribePatchBaselinesCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribePatchGroupsPaginator.ts b/clients/client-ssm/pagination/DescribePatchGroupsPaginator.ts index ed13a57e7981..9cbea15a97c2 100644 --- a/clients/client-ssm/pagination/DescribePatchGroupsPaginator.ts +++ b/clients/client-ssm/pagination/DescribePatchGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePatchGroupsCommand(input), ...args); + return await client.send(new DescribePatchGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribePatchPropertiesPaginator.ts b/clients/client-ssm/pagination/DescribePatchPropertiesPaginator.ts index be26c4db4b27..3d7a23eee256 100644 --- a/clients/client-ssm/pagination/DescribePatchPropertiesPaginator.ts +++ b/clients/client-ssm/pagination/DescribePatchPropertiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePatchPropertiesCommand(input), ...args); + return await client.send(new DescribePatchPropertiesCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeSessionsPaginator.ts b/clients/client-ssm/pagination/DescribeSessionsPaginator.ts index 5af3c967ea55..1358797ad40b 100644 --- a/clients/client-ssm/pagination/DescribeSessionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSessionsCommand(input), ...args); + return await client.send(new DescribeSessionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetInventoryPaginator.ts b/clients/client-ssm/pagination/GetInventoryPaginator.ts index 7b0f52ba43a7..09b6b4026cb0 100644 --- a/clients/client-ssm/pagination/GetInventoryPaginator.ts +++ b/clients/client-ssm/pagination/GetInventoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInventoryCommand(input), ...args); + return await client.send(new GetInventoryCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetInventorySchemaPaginator.ts b/clients/client-ssm/pagination/GetInventorySchemaPaginator.ts index ca30a7ef4f8d..9e8c468a842a 100644 --- a/clients/client-ssm/pagination/GetInventorySchemaPaginator.ts +++ b/clients/client-ssm/pagination/GetInventorySchemaPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInventorySchemaCommand(input), ...args); + return await client.send(new GetInventorySchemaCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetOpsSummaryPaginator.ts b/clients/client-ssm/pagination/GetOpsSummaryPaginator.ts index 8507c274c427..9403dc8080ac 100644 --- a/clients/client-ssm/pagination/GetOpsSummaryPaginator.ts +++ b/clients/client-ssm/pagination/GetOpsSummaryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetOpsSummaryCommand(input), ...args); + return await client.send(new GetOpsSummaryCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetParameterHistoryPaginator.ts b/clients/client-ssm/pagination/GetParameterHistoryPaginator.ts index 5cf30a11e75b..b34fe654f5ba 100644 --- a/clients/client-ssm/pagination/GetParameterHistoryPaginator.ts +++ b/clients/client-ssm/pagination/GetParameterHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetParameterHistoryCommand(input), ...args); + return await client.send(new GetParameterHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetParametersByPathPaginator.ts b/clients/client-ssm/pagination/GetParametersByPathPaginator.ts index ef369865e9df..69c5fae40c5b 100644 --- a/clients/client-ssm/pagination/GetParametersByPathPaginator.ts +++ b/clients/client-ssm/pagination/GetParametersByPathPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetParametersByPathCommand(input), ...args); + return await client.send(new GetParametersByPathCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListAssociationVersionsPaginator.ts b/clients/client-ssm/pagination/ListAssociationVersionsPaginator.ts index 07fa4a03e6bd..3840513be32d 100644 --- a/clients/client-ssm/pagination/ListAssociationVersionsPaginator.ts +++ b/clients/client-ssm/pagination/ListAssociationVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociationVersionsCommand(input), ...args); + return await client.send(new ListAssociationVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListAssociationsPaginator.ts b/clients/client-ssm/pagination/ListAssociationsPaginator.ts index 2f5b1fc2f00e..58b62bc60001 100644 --- a/clients/client-ssm/pagination/ListAssociationsPaginator.ts +++ b/clients/client-ssm/pagination/ListAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociationsCommand(input), ...args); + return await client.send(new ListAssociationsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListCommandInvocationsPaginator.ts b/clients/client-ssm/pagination/ListCommandInvocationsPaginator.ts index ce3fdc616e26..9d114a4add2c 100644 --- a/clients/client-ssm/pagination/ListCommandInvocationsPaginator.ts +++ b/clients/client-ssm/pagination/ListCommandInvocationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCommandInvocationsCommand(input), ...args); + return await client.send(new ListCommandInvocationsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListCommandsPaginator.ts b/clients/client-ssm/pagination/ListCommandsPaginator.ts index 1fdccdfa035a..c2f3822a5223 100644 --- a/clients/client-ssm/pagination/ListCommandsPaginator.ts +++ b/clients/client-ssm/pagination/ListCommandsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCommandsCommand(input), ...args); + return await client.send(new ListCommandsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListComplianceItemsPaginator.ts b/clients/client-ssm/pagination/ListComplianceItemsPaginator.ts index f1f910128573..fb4340b57f56 100644 --- a/clients/client-ssm/pagination/ListComplianceItemsPaginator.ts +++ b/clients/client-ssm/pagination/ListComplianceItemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComplianceItemsCommand(input), ...args); + return await client.send(new ListComplianceItemsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListComplianceSummariesPaginator.ts b/clients/client-ssm/pagination/ListComplianceSummariesPaginator.ts index cb501800d19e..f8d33735fff6 100644 --- a/clients/client-ssm/pagination/ListComplianceSummariesPaginator.ts +++ b/clients/client-ssm/pagination/ListComplianceSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComplianceSummariesCommand(input), ...args); + return await client.send(new ListComplianceSummariesCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListDocumentVersionsPaginator.ts b/clients/client-ssm/pagination/ListDocumentVersionsPaginator.ts index 57a815089fbf..117df81a49c8 100644 --- a/clients/client-ssm/pagination/ListDocumentVersionsPaginator.ts +++ b/clients/client-ssm/pagination/ListDocumentVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDocumentVersionsCommand(input), ...args); + return await client.send(new ListDocumentVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListDocumentsPaginator.ts b/clients/client-ssm/pagination/ListDocumentsPaginator.ts index b200c4566ab8..ee8f7e3348b9 100644 --- a/clients/client-ssm/pagination/ListDocumentsPaginator.ts +++ b/clients/client-ssm/pagination/ListDocumentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDocumentsCommand(input), ...args); + return await client.send(new ListDocumentsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListResourceComplianceSummariesPaginator.ts b/clients/client-ssm/pagination/ListResourceComplianceSummariesPaginator.ts index 00e2f293d596..489c9ccfa964 100644 --- a/clients/client-ssm/pagination/ListResourceComplianceSummariesPaginator.ts +++ b/clients/client-ssm/pagination/ListResourceComplianceSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourceComplianceSummariesCommand(input), ...args); + return await client.send(new ListResourceComplianceSummariesCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListResourceDataSyncPaginator.ts b/clients/client-ssm/pagination/ListResourceDataSyncPaginator.ts index 909537636351..a288358da04c 100644 --- a/clients/client-ssm/pagination/ListResourceDataSyncPaginator.ts +++ b/clients/client-ssm/pagination/ListResourceDataSyncPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourceDataSyncCommand(input), ...args); + return await client.send(new ListResourceDataSyncCommand(input, ...args)); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-sso-admin/pagination/ListAccountAssignmentCreationStatusPaginator.ts b/clients/client-sso-admin/pagination/ListAccountAssignmentCreationStatusPaginator.ts index 7ef0fb4223e2..aa492267fcc6 100644 --- a/clients/client-sso-admin/pagination/ListAccountAssignmentCreationStatusPaginator.ts +++ b/clients/client-sso-admin/pagination/ListAccountAssignmentCreationStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountAssignmentCreationStatusCommand(input), ...args); + return await client.send(new ListAccountAssignmentCreationStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListAccountAssignmentDeletionStatusPaginator.ts b/clients/client-sso-admin/pagination/ListAccountAssignmentDeletionStatusPaginator.ts index 9803a7055e2d..e95c90afa66a 100644 --- a/clients/client-sso-admin/pagination/ListAccountAssignmentDeletionStatusPaginator.ts +++ b/clients/client-sso-admin/pagination/ListAccountAssignmentDeletionStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountAssignmentDeletionStatusCommand(input), ...args); + return await client.send(new ListAccountAssignmentDeletionStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListAccountAssignmentsPaginator.ts b/clients/client-sso-admin/pagination/ListAccountAssignmentsPaginator.ts index 85d9c9f893a3..c6cd633bcd2d 100644 --- a/clients/client-sso-admin/pagination/ListAccountAssignmentsPaginator.ts +++ b/clients/client-sso-admin/pagination/ListAccountAssignmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountAssignmentsCommand(input), ...args); + return await client.send(new ListAccountAssignmentsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListAccountsForProvisionedPermissionSetPaginator.ts b/clients/client-sso-admin/pagination/ListAccountsForProvisionedPermissionSetPaginator.ts index 6694e9410eda..77a1247a7830 100644 --- a/clients/client-sso-admin/pagination/ListAccountsForProvisionedPermissionSetPaginator.ts +++ b/clients/client-sso-admin/pagination/ListAccountsForProvisionedPermissionSetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsForProvisionedPermissionSetCommand(input), ...args); + return await client.send(new ListAccountsForProvisionedPermissionSetCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListInstancesPaginator.ts b/clients/client-sso-admin/pagination/ListInstancesPaginator.ts index b5f1c8c853cf..070b85ad18c1 100644 --- a/clients/client-sso-admin/pagination/ListInstancesPaginator.ts +++ b/clients/client-sso-admin/pagination/ListInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstancesCommand(input), ...args); + return await client.send(new ListInstancesCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListManagedPoliciesInPermissionSetPaginator.ts b/clients/client-sso-admin/pagination/ListManagedPoliciesInPermissionSetPaginator.ts index 3b8115dd3045..c0814c2ab045 100644 --- a/clients/client-sso-admin/pagination/ListManagedPoliciesInPermissionSetPaginator.ts +++ b/clients/client-sso-admin/pagination/ListManagedPoliciesInPermissionSetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListManagedPoliciesInPermissionSetCommand(input), ...args); + return await client.send(new ListManagedPoliciesInPermissionSetCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListPermissionSetProvisioningStatusPaginator.ts b/clients/client-sso-admin/pagination/ListPermissionSetProvisioningStatusPaginator.ts index 6ec9b74bcc29..278b663329bc 100644 --- a/clients/client-sso-admin/pagination/ListPermissionSetProvisioningStatusPaginator.ts +++ b/clients/client-sso-admin/pagination/ListPermissionSetProvisioningStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionSetProvisioningStatusCommand(input), ...args); + return await client.send(new ListPermissionSetProvisioningStatusCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListPermissionSetsPaginator.ts b/clients/client-sso-admin/pagination/ListPermissionSetsPaginator.ts index 6c7a7a600a59..31128150db28 100644 --- a/clients/client-sso-admin/pagination/ListPermissionSetsPaginator.ts +++ b/clients/client-sso-admin/pagination/ListPermissionSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionSetsCommand(input), ...args); + return await client.send(new ListPermissionSetsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListPermissionSetsProvisionedToAccountPaginator.ts b/clients/client-sso-admin/pagination/ListPermissionSetsProvisionedToAccountPaginator.ts index ea99b1b6c5df..45d92263faef 100644 --- a/clients/client-sso-admin/pagination/ListPermissionSetsProvisionedToAccountPaginator.ts +++ b/clients/client-sso-admin/pagination/ListPermissionSetsProvisionedToAccountPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionSetsProvisionedToAccountCommand(input), ...args); + return await client.send(new ListPermissionSetsProvisionedToAccountCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListTagsForResourcePaginator.ts b/clients/client-sso-admin/pagination/ListTagsForResourcePaginator.ts index 2cee4dd9fa60..9e9c73b2f58d 100644 --- a/clients/client-sso-admin/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-sso-admin/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso/pagination/ListAccountRolesPaginator.ts b/clients/client-sso/pagination/ListAccountRolesPaginator.ts index 85b7a11e894e..d89c66e7cf26 100644 --- a/clients/client-sso/pagination/ListAccountRolesPaginator.ts +++ b/clients/client-sso/pagination/ListAccountRolesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountRolesCommand(input), ...args); + return await client.send(new ListAccountRolesCommand(input, ...args)); }; const makePagedRequest = async ( client: SSO, diff --git a/clients/client-sso/pagination/ListAccountsPaginator.ts b/clients/client-sso/pagination/ListAccountsPaginator.ts index 08c5b0c943ff..8c077c499c08 100644 --- a/clients/client-sso/pagination/ListAccountsPaginator.ts +++ b/clients/client-sso/pagination/ListAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsCommand(input), ...args); + return await client.send(new ListAccountsCommand(input, ...args)); }; const makePagedRequest = async ( client: SSO, diff --git a/clients/client-storage-gateway/StorageGateway.ts b/clients/client-storage-gateway/StorageGateway.ts index ffd09ec85364..0a9f8a933f4e 100644 --- a/clients/client-storage-gateway/StorageGateway.ts +++ b/clients/client-storage-gateway/StorageGateway.ts @@ -137,6 +137,11 @@ import { DescribeBandwidthRateLimitCommandInput, DescribeBandwidthRateLimitCommandOutput, } from "./commands/DescribeBandwidthRateLimitCommand"; +import { + DescribeBandwidthRateLimitScheduleCommand, + DescribeBandwidthRateLimitScheduleCommandInput, + DescribeBandwidthRateLimitScheduleCommandOutput, +} from "./commands/DescribeBandwidthRateLimitScheduleCommand"; import { DescribeCacheCommand, DescribeCacheCommandInput, @@ -331,6 +336,11 @@ import { UpdateBandwidthRateLimitCommandInput, UpdateBandwidthRateLimitCommandOutput, } from "./commands/UpdateBandwidthRateLimitCommand"; +import { + UpdateBandwidthRateLimitScheduleCommand, + UpdateBandwidthRateLimitScheduleCommandInput, + UpdateBandwidthRateLimitScheduleCommandOutput, +} from "./commands/UpdateBandwidthRateLimitScheduleCommand"; import { UpdateChapCredentialsCommand, UpdateChapCredentialsCommandInput, @@ -1642,6 +1652,58 @@ export class StorageGateway extends StorageGatewayClient { } } + /** + *

                              + * Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do + * not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This + * operation is supported only in the volume and tape gateway types. + *

                              + * + *

                              This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth + * rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit + * interval defines a period of time on one or more days of the week, during which bandwidth rate + * limits are specified for uploading, downloading, or both. + *

                              + * + *

                              + * A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, + * an ending hour and minute, and bandwidth rate limits for uploading and downloading + *

                              + * + *

                              + * If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an + * empty response. To specify which gateway to describe, use the Amazon Resource Name (ARN) + * of the gateway in your request.

                              + */ + public describeBandwidthRateLimitSchedule( + args: DescribeBandwidthRateLimitScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeBandwidthRateLimitSchedule( + args: DescribeBandwidthRateLimitScheduleCommandInput, + cb: (err: any, data?: DescribeBandwidthRateLimitScheduleCommandOutput) => void + ): void; + public describeBandwidthRateLimitSchedule( + args: DescribeBandwidthRateLimitScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeBandwidthRateLimitScheduleCommandOutput) => void + ): void; + public describeBandwidthRateLimitSchedule( + args: DescribeBandwidthRateLimitScheduleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeBandwidthRateLimitScheduleCommandOutput) => void), + cb?: (err: any, data?: DescribeBandwidthRateLimitScheduleCommandOutput) => void + ): Promise | void { + const command = new DescribeBandwidthRateLimitScheduleCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                              Returns information about the cache of a gateway. This operation is only supported in * the cached volume, tape, and file gateway types.

                              @@ -3210,6 +3272,43 @@ export class StorageGateway extends StorageGatewayClient { } } + /** + *

                              + * Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do + * not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. + * Use this to initiate or update a gateway's bandwidth rate limit schedule. + * This operation is supported in the volume and tape gateway types. + *

                              + */ + public updateBandwidthRateLimitSchedule( + args: UpdateBandwidthRateLimitScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateBandwidthRateLimitSchedule( + args: UpdateBandwidthRateLimitScheduleCommandInput, + cb: (err: any, data?: UpdateBandwidthRateLimitScheduleCommandOutput) => void + ): void; + public updateBandwidthRateLimitSchedule( + args: UpdateBandwidthRateLimitScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateBandwidthRateLimitScheduleCommandOutput) => void + ): void; + public updateBandwidthRateLimitSchedule( + args: UpdateBandwidthRateLimitScheduleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateBandwidthRateLimitScheduleCommandOutput) => void), + cb?: (err: any, data?: UpdateBandwidthRateLimitScheduleCommandOutput) => void + ): Promise | void { + const command = new UpdateBandwidthRateLimitScheduleCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                              Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a * specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for diff --git a/clients/client-storage-gateway/StorageGatewayClient.ts b/clients/client-storage-gateway/StorageGatewayClient.ts index 8eb5c3ddb032..3de05b49cd27 100644 --- a/clients/client-storage-gateway/StorageGatewayClient.ts +++ b/clients/client-storage-gateway/StorageGatewayClient.ts @@ -58,6 +58,10 @@ import { DescribeBandwidthRateLimitCommandInput, DescribeBandwidthRateLimitCommandOutput, } from "./commands/DescribeBandwidthRateLimitCommand"; +import { + DescribeBandwidthRateLimitScheduleCommandInput, + DescribeBandwidthRateLimitScheduleCommandOutput, +} from "./commands/DescribeBandwidthRateLimitScheduleCommand"; import { DescribeCacheCommandInput, DescribeCacheCommandOutput } from "./commands/DescribeCacheCommand"; import { DescribeCachediSCSIVolumesCommandInput, @@ -175,6 +179,10 @@ import { UpdateBandwidthRateLimitCommandInput, UpdateBandwidthRateLimitCommandOutput, } from "./commands/UpdateBandwidthRateLimitCommand"; +import { + UpdateBandwidthRateLimitScheduleCommandInput, + UpdateBandwidthRateLimitScheduleCommandOutput, +} from "./commands/UpdateBandwidthRateLimitScheduleCommand"; import { UpdateChapCredentialsCommandInput, UpdateChapCredentialsCommandOutput, @@ -289,6 +297,7 @@ export type ServiceInputTypes = | DeleteVolumeCommandInput | DescribeAvailabilityMonitorTestCommandInput | DescribeBandwidthRateLimitCommandInput + | DescribeBandwidthRateLimitScheduleCommandInput | DescribeCacheCommandInput | DescribeCachediSCSIVolumesCommandInput | DescribeChapCredentialsCommandInput @@ -331,6 +340,7 @@ export type ServiceInputTypes = | StartGatewayCommandInput | UpdateAutomaticTapeCreationPolicyCommandInput | UpdateBandwidthRateLimitCommandInput + | UpdateBandwidthRateLimitScheduleCommandInput | UpdateChapCredentialsCommandInput | UpdateGatewayInformationCommandInput | UpdateGatewaySoftwareNowCommandInput @@ -373,6 +383,7 @@ export type ServiceOutputTypes = | DeleteVolumeCommandOutput | DescribeAvailabilityMonitorTestCommandOutput | DescribeBandwidthRateLimitCommandOutput + | DescribeBandwidthRateLimitScheduleCommandOutput | DescribeCacheCommandOutput | DescribeCachediSCSIVolumesCommandOutput | DescribeChapCredentialsCommandOutput @@ -415,6 +426,7 @@ export type ServiceOutputTypes = | StartGatewayCommandOutput | UpdateAutomaticTapeCreationPolicyCommandOutput | UpdateBandwidthRateLimitCommandOutput + | UpdateBandwidthRateLimitScheduleCommandOutput | UpdateChapCredentialsCommandOutput | UpdateGatewayInformationCommandOutput | UpdateGatewaySoftwareNowCommandOutput diff --git a/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitScheduleCommand.ts b/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitScheduleCommand.ts new file mode 100644 index 000000000000..77374f71b075 --- /dev/null +++ b/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitScheduleCommand.ts @@ -0,0 +1,89 @@ +import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient"; +import { DescribeBandwidthRateLimitScheduleInput, DescribeBandwidthRateLimitScheduleOutput } from "../models/models_0"; +import { + deserializeAws_json1_1DescribeBandwidthRateLimitScheduleCommand, + serializeAws_json1_1DescribeBandwidthRateLimitScheduleCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeBandwidthRateLimitScheduleCommandInput = DescribeBandwidthRateLimitScheduleInput; +export type DescribeBandwidthRateLimitScheduleCommandOutput = DescribeBandwidthRateLimitScheduleOutput & + __MetadataBearer; + +export class DescribeBandwidthRateLimitScheduleCommand extends $Command< + DescribeBandwidthRateLimitScheduleCommandInput, + DescribeBandwidthRateLimitScheduleCommandOutput, + StorageGatewayClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeBandwidthRateLimitScheduleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: StorageGatewayClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "StorageGatewayClient"; + const commandName = "DescribeBandwidthRateLimitScheduleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeBandwidthRateLimitScheduleInput.filterSensitiveLog, + outputFilterSensitiveLog: DescribeBandwidthRateLimitScheduleOutput.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: DescribeBandwidthRateLimitScheduleCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_json1_1DescribeBandwidthRateLimitScheduleCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1DescribeBandwidthRateLimitScheduleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitScheduleCommand.ts b/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitScheduleCommand.ts new file mode 100644 index 000000000000..0b349b8646ad --- /dev/null +++ b/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitScheduleCommand.ts @@ -0,0 +1,88 @@ +import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient"; +import { UpdateBandwidthRateLimitScheduleInput, UpdateBandwidthRateLimitScheduleOutput } from "../models/models_0"; +import { + deserializeAws_json1_1UpdateBandwidthRateLimitScheduleCommand, + serializeAws_json1_1UpdateBandwidthRateLimitScheduleCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateBandwidthRateLimitScheduleCommandInput = UpdateBandwidthRateLimitScheduleInput; +export type UpdateBandwidthRateLimitScheduleCommandOutput = UpdateBandwidthRateLimitScheduleOutput & __MetadataBearer; + +export class UpdateBandwidthRateLimitScheduleCommand extends $Command< + UpdateBandwidthRateLimitScheduleCommandInput, + UpdateBandwidthRateLimitScheduleCommandOutput, + StorageGatewayClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateBandwidthRateLimitScheduleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: StorageGatewayClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "StorageGatewayClient"; + const commandName = "UpdateBandwidthRateLimitScheduleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateBandwidthRateLimitScheduleInput.filterSensitiveLog, + outputFilterSensitiveLog: UpdateBandwidthRateLimitScheduleOutput.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: UpdateBandwidthRateLimitScheduleCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_json1_1UpdateBandwidthRateLimitScheduleCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1UpdateBandwidthRateLimitScheduleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-storage-gateway/index.ts b/clients/client-storage-gateway/index.ts index b2eee66aeb17..65816fbd7351 100644 --- a/clients/client-storage-gateway/index.ts +++ b/clients/client-storage-gateway/index.ts @@ -30,6 +30,7 @@ export * from "./commands/DeleteTapePoolCommand"; export * from "./commands/DeleteVolumeCommand"; export * from "./commands/DescribeAvailabilityMonitorTestCommand"; export * from "./commands/DescribeBandwidthRateLimitCommand"; +export * from "./commands/DescribeBandwidthRateLimitScheduleCommand"; export * from "./commands/DescribeCacheCommand"; export * from "./commands/DescribeCachediSCSIVolumesCommand"; export * from "./commands/DescribeChapCredentialsCommand"; @@ -62,6 +63,7 @@ export * from "./commands/ListLocalDisksCommand"; export * from "./commands/ListTagsForResourceCommand"; export * from "./pagination/ListTagsForResourcePaginator"; export * from "./commands/ListTapePoolsCommand"; +export * from "./pagination/ListTapePoolsPaginator"; export * from "./commands/ListTapesCommand"; export * from "./pagination/ListTapesPaginator"; export * from "./commands/ListVolumeInitiatorsCommand"; @@ -81,6 +83,7 @@ export * from "./commands/StartAvailabilityMonitorTestCommand"; export * from "./commands/StartGatewayCommand"; export * from "./commands/UpdateAutomaticTapeCreationPolicyCommand"; export * from "./commands/UpdateBandwidthRateLimitCommand"; +export * from "./commands/UpdateBandwidthRateLimitScheduleCommand"; export * from "./commands/UpdateChapCredentialsCommand"; export * from "./commands/UpdateGatewayInformationCommand"; export * from "./commands/UpdateGatewaySoftwareNowCommand"; diff --git a/clients/client-storage-gateway/models/models_0.ts b/clients/client-storage-gateway/models/models_0.ts index 5fed10cddd17..cf020c875fd5 100644 --- a/clients/client-storage-gateway/models/models_0.ts +++ b/clients/client-storage-gateway/models/models_0.ts @@ -8,14 +8,14 @@ import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; */ export interface Tag { /** - *

                              Value of the tag key.

                              + *

                              Tag key. The key can't start with aws:.

                              */ - Value: string | undefined; + Key: string | undefined; /** - *

                              Tag key. The key can't start with aws:.

                              + *

                              Value of the tag key.

                              */ - Key: string | undefined; + Value: string | undefined; } export namespace Tag { @@ -66,6 +66,36 @@ export namespace Tag { *
                            */ export interface ActivateGatewayInput { + /** + *

                            Your gateway activation key. You can obtain the activation key by sending an HTTP GET + * request with redirects enabled to the gateway IP address (port 80). The redirect URL + * returned in the response provides you the activation key for your gateway in the query + * string parameter activationKey. It may also include other activation-related + * parameters, however, these are merely defaults -- the arguments you pass to the + * ActivateGateway API call determine the actual configuration of your + * gateway.

                            + * + * + * + *

                            For more information, see Getting activation + * key in the AWS Storage Gateway User Guide.

                            + */ + ActivationKey: string | undefined; + + /** + *

                            The name you configured for your gateway.

                            + */ + GatewayName: string | undefined; + + /** + *

                            A value that indicates the time zone you want to set for the gateway. The time zone is + * of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 indicates the time is 4 + * hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is + * used, for example, for scheduling snapshots and your gateway's maintenance + * schedule.

                            + */ + GatewayTimezone: string | undefined; + /** *

                            A value that indicates the AWS Region where you want to store your data. The gateway AWS * Region specified must be the same AWS Region as the AWS Region in your Host @@ -93,32 +123,6 @@ export interface ActivateGatewayInput { */ GatewayType?: string; - /** - *

                            The value that indicates the type of medium changer to use for tape gateway. This field - * is optional.

                            - * - *

                            Valid Values: STK-L700 | AWS-Gateway-VTL | - * IBM-03584L32-0402 - *

                            - */ - MediumChangerType?: string; - - /** - *

                            Your gateway activation key. You can obtain the activation key by sending an HTTP GET - * request with redirects enabled to the gateway IP address (port 80). The redirect URL - * returned in the response provides you the activation key for your gateway in the query - * string parameter activationKey. It may also include other activation-related - * parameters, however, these are merely defaults -- the arguments you pass to the - * ActivateGateway API call determine the actual configuration of your - * gateway.

                            - * - * - * - *

                            For more information, see Getting activation - * key in the AWS Storage Gateway User Guide.

                            - */ - ActivationKey: string | undefined; - /** *

                            The value that indicates the type of tape drive to use for tape gateway. This field is * optional.

                            @@ -129,13 +133,14 @@ export interface ActivateGatewayInput { TapeDriveType?: string; /** - *

                            A value that indicates the time zone you want to set for the gateway. The time zone is - * of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 indicates the time is 4 - * hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is - * used, for example, for scheduling snapshots and your gateway's maintenance - * schedule.

                            + *

                            The value that indicates the type of medium changer to use for tape gateway. This field + * is optional.

                            + * + *

                            Valid Values: STK-L700 | AWS-Gateway-VTL | + * IBM-03584L32-0402 + *

                            */ - GatewayTimezone: string | undefined; + MediumChangerType?: string; /** *

                            A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value @@ -149,11 +154,6 @@ export interface ActivateGatewayInput { * */ Tags?: Tag[]; - - /** - *

                            The name you configured for your gateway.

                            - */ - GatewayName: string | undefined; } export namespace ActivateGatewayInput { @@ -259,14 +259,14 @@ export type ErrorCode = */ export interface StorageGatewayError { /** - *

                            Human-readable text that provides detail about the error that occurred.

                            + *

                            Additional information about the error.

                            */ - errorDetails?: { [key: string]: string }; + errorCode?: ErrorCode | string; /** - *

                            Additional information about the error.

                            + *

                            Human-readable text that provides detail about the error that occurred.

                            */ - errorCode?: ErrorCode | string; + errorDetails?: { [key: string]: string }; } export namespace StorageGatewayError { @@ -283,15 +283,15 @@ export interface InternalServerError extends __SmithyException, $MetadataBearer name: "InternalServerError"; $fault: "server"; /** - *

                            A StorageGatewayError that provides more information about the cause - * of the error.

                            + *

                            A human-readable message describing the error that occurred.

                            */ - error?: StorageGatewayError; + message?: string; /** - *

                            A human-readable message describing the error that occurred.

                            + *

                            A StorageGatewayError that provides more information about the cause + * of the error.

                            */ - message?: string; + error?: StorageGatewayError; } export namespace InternalServerError { @@ -308,15 +308,15 @@ export interface InvalidGatewayRequestException extends __SmithyException, $Meta name: "InvalidGatewayRequestException"; $fault: "client"; /** - *

                            A StorageGatewayError that provides more detail about the cause of the - * error.

                            + *

                            A human-readable message describing the error that occurred.

                            */ - error?: StorageGatewayError; + message?: string; /** - *

                            A human-readable message describing the error that occurred.

                            + *

                            A StorageGatewayError that provides more detail about the cause of the + * error.

                            */ - message?: string; + error?: StorageGatewayError; } export namespace InvalidGatewayRequestException { @@ -415,18 +415,18 @@ export namespace AddTagsToResourceOutput { } export interface AddUploadBufferInput { + /** + *

                            The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                            + */ + GatewayARN: string | undefined; + /** *

                            An array of strings that identify disks that are to be configured as working storage. * Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs * from the ListLocalDisks API.

                            */ DiskIds: string[] | undefined; - - /** - *

                            The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                            - */ - GatewayARN: string | undefined; } export namespace AddUploadBufferInput { @@ -461,18 +461,18 @@ export namespace AddUploadBufferOutput { *
                          */ export interface AddWorkingStorageInput { + /** + *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                          + */ + GatewayARN: string | undefined; + /** *

                          An array of strings that identify disks that are to be configured as working storage. * Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs * from the ListLocalDisks API.

                          */ DiskIds: string[] | undefined; - - /** - *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                          - */ - GatewayARN: string | undefined; } export namespace AddWorkingStorageInput { @@ -500,6 +500,12 @@ export namespace AddWorkingStorageOutput { } export interface AssignTapePoolInput { + /** + *

                          The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the + * tape pool.

                          + */ + TapeARN: string | undefined; + /** *

                          The ID of the pool that you want to add your tape to for archiving. The tape in this * pool is archived in the S3 storage class that is associated with the pool. When you use @@ -511,12 +517,6 @@ export interface AssignTapePoolInput { */ PoolId: string | undefined; - /** - *

                          The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the - * tape pool.

                          - */ - TapeARN: string | undefined; - /** *

                          Set permissions to bypass governance retention. If the lock type of the archived tape is * Governance, the tape's archived age is not older than @@ -556,11 +556,10 @@ export namespace AssignTapePoolOutput { */ export interface AttachVolumeInput { /** - *

                          The unique device ID or other distinguishing data that identifies the local disk used to - * create the volume. This value is only required when you are attaching a stored - * volume.

                          + *

                          The Amazon Resource Name (ARN) of the gateway that you want to attach the volume + * to.

                          */ - DiskId?: string; + GatewayARN: string | undefined; /** *

                          The name of the iSCSI target used by an initiator to connect to a volume and used as a @@ -589,10 +588,11 @@ export interface AttachVolumeInput { NetworkInterfaceId: string | undefined; /** - *

                          The Amazon Resource Name (ARN) of the gateway that you want to attach the volume - * to.

                          + *

                          The unique device ID or other distinguishing data that identifies the local disk used to + * create the volume. This value is only required when you are attaching a stored + * volume.

                          */ - GatewayARN: string | undefined; + DiskId?: string; } export namespace AttachVolumeInput { @@ -629,19 +629,6 @@ export namespace AttachVolumeOutput { * creation, see Creating Tapes Automatically.

                          */ export interface AutomaticTapeCreationRule { - /** - *

                          The minimum number of available virtual tapes that the gateway maintains at all times. - * If the number of tapes on the gateway goes below this value, the gateway creates as many - * new tapes as are needed to have MinimumNumTapes on the gateway. For more - * information about automatic tape creation, see Creating Tapes Automatically.

                          - */ - MinimumNumTapes: number | undefined; - - /** - *

                          The size, in bytes, of the virtual tape capacity.

                          - */ - TapeSizeInBytes: number | undefined; - /** *

                          A prefix that you append to the barcode of the virtual tape that you are creating. This * prefix makes the barcode unique.

                          @@ -664,6 +651,19 @@ export interface AutomaticTapeCreationRule { */ PoolId: string | undefined; + /** + *

                          The size, in bytes, of the virtual tape capacity.

                          + */ + TapeSizeInBytes: number | undefined; + + /** + *

                          The minimum number of available virtual tapes that the gateway maintains at all times. + * If the number of tapes on the gateway goes below this value, the gateway creates as many + * new tapes as are needed to have MinimumNumTapes on the gateway. For more + * information about automatic tape creation, see Creating Tapes Automatically.

                          + */ + MinimumNumTapes: number | undefined; + /** *

                          Set to true to indicate that tapes are to be archived as * write-once-read-many (WORM). Set to false when WORM is not enabled for @@ -683,18 +683,18 @@ export namespace AutomaticTapeCreationRule { * automatic tape creation rules and the gateway that is using the policies.

                          */ export interface AutomaticTapeCreationPolicyInfo { - /** - *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                          - */ - GatewayARN?: string; - /** *

                          An automatic tape creation policy consists of a list of automatic tape creation rules. * This returns the rules that determine when and how to automatically create new * tapes.

                          */ AutomaticTapeCreationRules?: AutomaticTapeCreationRule[]; + + /** + *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                          + */ + GatewayARN?: string; } export namespace AutomaticTapeCreationPolicyInfo { @@ -705,6 +705,83 @@ export namespace AutomaticTapeCreationPolicyInfo { export type AvailabilityMonitorTestStatus = "COMPLETE" | "FAILED" | "PENDING"; +/** + *

                          + * Describes a bandwidth rate limit interval for a gateway. A bandwidth + * rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit + * interval defines a period of time on one or more days of the week, during which bandwidth rate + * limits are specified for uploading, downloading, or both. + *

                          + */ +export interface BandwidthRateLimitInterval { + /** + *

                          + * The hour of the day to start the bandwidth rate limit interval. + *

                          + */ + StartHourOfDay: number | undefined; + + /** + *

                          + * The minute of the hour to start the bandwidth rate limit interval. + * The interval begins at the start of that minute. To begin an interval exactly at + * the start of the hour, use the value 0. + *

                          + */ + StartMinuteOfHour: number | undefined; + + /** + *

                          + * The hour of the day to end the bandwidth rate limit interval. + *

                          + */ + EndHourOfDay: number | undefined; + + /** + *

                          + * The minute of the hour to end the bandwidth rate limit interval. + *

                          + * + * + *

                          + * The bandwidth rate limit interval ends at the end of the minute. To end an interval + * at the end of an hour, use the value 59. + *

                          + *
                          + */ + EndMinuteOfHour: number | undefined; + + /** + *

                          + * The days of the week component of the bandwidth rate limit interval, + * represented as ordinal numbers from 0 to 6, where 0 represents Sunday and 6 Saturday. + *

                          + */ + DaysOfWeek: number[] | undefined; + + /** + *

                          + * The average upload rate limit component of the bandwidth rate limit interval, + * in bits per second. This field does not appear in the response if the upload rate limit is not set. + *

                          + */ + AverageUploadRateLimitInBitsPerSec?: number; + + /** + *

                          + * The average download rate limit component of the bandwidth rate limit interval, + * in bits per second. This field does not appear in the response if the download rate limit is not set. + *

                          + */ + AverageDownloadRateLimitInBitsPerSec?: number; +} + +export namespace BandwidthRateLimitInterval { + export const filterSensitiveLog = (obj: BandwidthRateLimitInterval): any => ({ + ...obj, + }); +} + /** *

                          Lists refresh cache information.

                          */ @@ -731,14 +808,14 @@ export namespace CacheAttributes { */ export interface VolumeiSCSIAttributes { /** - *

                          The network interface identifier.

                          + *

                          The Amazon Resource Name (ARN) of the volume target.

                          */ - NetworkInterfaceId?: string; + TargetARN?: string; /** - *

                          The Amazon Resource Name (ARN) of the volume target.

                          + *

                          The network interface identifier.

                          */ - TargetARN?: string; + NetworkInterfaceId?: string; /** *

                          The port used to communicate with iSCSI targets.

                          @@ -746,14 +823,14 @@ export interface VolumeiSCSIAttributes { NetworkInterfacePort?: number; /** - *

                          Indicates whether mutual CHAP is enabled for the iSCSI target.

                          + *

                          The logical disk number.

                          */ - ChapEnabled?: boolean; + LunNumber?: number; /** - *

                          The logical disk number.

                          + *

                          Indicates whether mutual CHAP is enabled for the iSCSI target.

                          */ - LunNumber?: number; + ChapEnabled?: boolean; } export namespace VolumeiSCSIAttributes { @@ -767,54 +844,24 @@ export namespace VolumeiSCSIAttributes { */ export interface CachediSCSIVolume { /** - *

                          The size of the data stored on the volume in bytes. This value is calculated based on - * the number of blocks that are touched, instead of the actual amount of data written. This - * value can be useful for sequential write patterns but less accurate for random write - * patterns. VolumeUsedInBytes is different from the compressed size of the - * volume, which is the value that is used to calculate your bill.

                          - * - * - *

                          This value is not available for volumes created prior to May 13, 2015, until you - * store data on the volume.

                          - *
                          - */ - VolumeUsedInBytes?: number; - - /** - *

                          The name of the iSCSI target used by an initiator to connect to a volume and used as a - * suffix for the target ARN. For example, specifying TargetName as - * myvolume results in the target ARN of - * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. - * The target name must be unique across all volumes on a gateway.

                          - * - *

                          If you don't specify a value, Storage Gateway uses the value that was previously - * used for this volume as the new target name.

                          - */ - TargetName?: string; - - /** - *

                          One of the VolumeStatus values that indicates the state of the storage volume.

                          + *

                          The Amazon Resource Name (ARN) of the storage volume.

                          */ - VolumeStatus?: string; + VolumeARN?: string; /** - *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon - * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                          + *

                          The unique identifier of the volume, e.g., vol-AE4B946D.

                          */ - KMSKey?: string; + VolumeId?: string; /** - *

                          An VolumeiSCSIAttributes object that represents a collection of iSCSI - * attributes for one stored volume.

                          + *

                          One of the VolumeType enumeration values that describes the type of the volume.

                          */ - VolumeiSCSIAttributes?: VolumeiSCSIAttributes; + VolumeType?: string; /** - *

                          The date the volume was created. Volumes created prior to March 28, 2017 don’t have this - * timestamp.

                          + *

                          One of the VolumeStatus values that indicates the state of the storage volume.

                          */ - CreatedDate?: Date; + VolumeStatus?: string; /** *

                          A value that indicates whether a storage volume is attached to or detached from a @@ -823,6 +870,11 @@ export interface CachediSCSIVolume { */ VolumeAttachmentStatus?: string; + /** + *

                          The size, in bytes, of the volume capacity.

                          + */ + VolumeSizeInBytes?: number; + /** *

                          Represents the percentage complete if the volume is restoring or bootstrapping that * represents the percent of data transferred. This field does not appear in the response if @@ -831,30 +883,55 @@ export interface CachediSCSIVolume { VolumeProgress?: number; /** - *

                          The size, in bytes, of the volume capacity.

                          + *

                          If the cached volume was created from a snapshot, this field contains the snapshot ID + * used, e.g., snap-78e22663. Otherwise, this field is not included.

                          */ - VolumeSizeInBytes?: number; + SourceSnapshotId?: string; /** - *

                          The unique identifier of the volume, e.g., vol-AE4B946D.

                          + *

                          An VolumeiSCSIAttributes object that represents a collection of iSCSI + * attributes for one stored volume.

                          */ - VolumeId?: string; + VolumeiSCSIAttributes?: VolumeiSCSIAttributes; /** - *

                          One of the VolumeType enumeration values that describes the type of the volume.

                          + *

                          The date the volume was created. Volumes created prior to March 28, 2017 don’t have this + * timestamp.

                          */ - VolumeType?: string; + CreatedDate?: Date; /** - *

                          If the cached volume was created from a snapshot, this field contains the snapshot ID - * used, e.g., snap-78e22663. Otherwise, this field is not included.

                          + *

                          The size of the data stored on the volume in bytes. This value is calculated based on + * the number of blocks that are touched, instead of the actual amount of data written. This + * value can be useful for sequential write patterns but less accurate for random write + * patterns. VolumeUsedInBytes is different from the compressed size of the + * volume, which is the value that is used to calculate your bill.

                          + * + * + *

                          This value is not available for volumes created prior to May 13, 2015, until you + * store data on the volume.

                          + *
                          */ - SourceSnapshotId?: string; + VolumeUsedInBytes?: number; /** - *

                          The Amazon Resource Name (ARN) of the storage volume.

                          + *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon + * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can + * only be set when KMSEncrypted is true. Optional.

                          */ - VolumeARN?: string; + KMSKey?: string; + + /** + *

                          The name of the iSCSI target used by an initiator to connect to a volume and used as a + * suffix for the target ARN. For example, specifying TargetName as + * myvolume results in the target ARN of + * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. + * The target name must be unique across all volumes on a gateway.

                          + * + *

                          If you don't specify a value, Storage Gateway uses the value that was previously + * used for this volume as the new target name.

                          + */ + TargetName?: string; } export namespace CachediSCSIVolume { @@ -907,17 +984,17 @@ export namespace CancelArchivalOutput { *

                          CancelRetrievalInput

                          */ export interface CancelRetrievalInput { - /** - *

                          The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval - * for.

                          - */ - TapeARN: string | undefined; - /** *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                          */ GatewayARN: string | undefined; + + /** + *

                          The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval + * for.

                          + */ + TapeARN: string | undefined; } export namespace CancelRetrievalInput { @@ -950,17 +1027,6 @@ export type CaseSensitivity = "CaseSensitive" | "ClientSpecified"; * authentication between your gateway and iSCSI initiators.

                          */ export interface ChapInfo { - /** - *

                          The secret key that the target must provide to participate in mutual CHAP with the - * initiator (e.g., Windows client).

                          - */ - SecretToAuthenticateTarget?: string; - - /** - *

                          The iSCSI initiator that connects to the target.

                          - */ - InitiatorName?: string; - /** *

                          The Amazon Resource Name (ARN) of the volume.

                          * @@ -973,24 +1039,46 @@ export interface ChapInfo { * participate in mutual CHAP with the target.

                          */ SecretToAuthenticateInitiator?: string; + + /** + *

                          The iSCSI initiator that connects to the target.

                          + */ + InitiatorName?: string; + + /** + *

                          The secret key that the target must provide to participate in mutual CHAP with the + * initiator (e.g., Windows client).

                          + */ + SecretToAuthenticateTarget?: string; } export namespace ChapInfo { export const filterSensitiveLog = (obj: ChapInfo): any => ({ ...obj, - ...(obj.SecretToAuthenticateTarget && { SecretToAuthenticateTarget: SENSITIVE_STRING }), ...(obj.SecretToAuthenticateInitiator && { SecretToAuthenticateInitiator: SENSITIVE_STRING }), + ...(obj.SecretToAuthenticateTarget && { SecretToAuthenticateTarget: SENSITIVE_STRING }), }); } export interface CreateCachediSCSIVolumeInput { /** - *

                          The ARN for an existing volume. Specifying this ARN makes the new volume into an exact - * copy of the specified existing volume's latest recovery point. The - * VolumeSizeInBytes value for this new volume must be equal to or larger than - * the size of the existing volume, in bytes.

                          + *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                          */ - SourceVolumeARN?: string; + GatewayARN: string | undefined; + + /** + *

                          The size of the volume in bytes.

                          + */ + VolumeSizeInBytes: number | undefined; + + /** + *

                          The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new cached + * volume. Specify this field if you want to create the iSCSI storage volume from a snapshot; + * otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API + * Reference.

                          + */ + SnapshotId?: string; /** *

                          The name of the iSCSI target used by an initiator to connect to a volume and used as a @@ -1005,20 +1093,12 @@ export interface CreateCachediSCSIVolumeInput { TargetName: string | undefined; /** - *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS - * key, or false to use a key managed by Amazon S3. Optional.

                          - * - *

                          Valid Values: true | false - *

                          - */ - KMSEncrypted?: boolean; - - /** - *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon - * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                          + *

                          The ARN for an existing volume. Specifying this ARN makes the new volume into an exact + * copy of the specified existing volume's latest recovery point. The + * VolumeSizeInBytes value for this new volume must be equal to or larger than + * the size of the existing volume, in bytes.

                          */ - KMSKey?: string; + SourceVolumeARN?: string; /** *

                          The network interface of the gateway on which to expose the iSCSI target. Only IPv4 @@ -1035,6 +1115,22 @@ export interface CreateCachediSCSIVolumeInput { */ ClientToken: string | undefined; + /** + *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS + * key, or false to use a key managed by Amazon S3. Optional.

                          + * + *

                          Valid Values: true | false + *

                          + */ + KMSEncrypted?: boolean; + + /** + *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon + * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can + * only be set when KMSEncrypted is true. Optional.

                          + */ + KMSKey?: string; + /** *

                          A list of up to 50 tags that you can assign to a cached volume. Each tag is a key-value * pair.

                          @@ -1047,25 +1143,6 @@ export interface CreateCachediSCSIVolumeInput { * */ Tags?: Tag[]; - - /** - *

                          The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new cached - * volume. Specify this field if you want to create the iSCSI storage volume from a snapshot; - * otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API - * Reference.

                          - */ - SnapshotId?: string; - - /** - *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                          - */ - GatewayARN: string | undefined; - - /** - *

                          The size of the volume in bytes.

                          - */ - VolumeSizeInBytes: number | undefined; } export namespace CreateCachediSCSIVolumeInput { @@ -1101,18 +1178,6 @@ export namespace CreateCachediSCSIVolumeOutput { * only supported for file gateways.

                          */ export interface NFSFileShareDefaults { - /** - *

                          The default group ID for the file share (unless the files have another group ID - * specified). The default value is nfsnobody.

                          - */ - GroupId?: number; - - /** - *

                          The default owner ID for files in the file share (unless the files have another owner ID - * specified). The default value is nfsnobody.

                          - */ - OwnerId?: number; - /** *

                          The Unix file mode in the form "nnnn". For example, 0666 represents the * default file mode inside the file share. The default value is 0666.

                          @@ -1125,6 +1190,18 @@ export interface NFSFileShareDefaults { * 0777.

                          */ DirectoryMode?: string; + + /** + *

                          The default group ID for the file share (unless the files have another group ID + * specified). The default value is nfsnobody.

                          + */ + GroupId?: number; + + /** + *

                          The default owner ID for files in the file share (unless the files have another owner ID + * specified). The default value is nfsnobody.

                          + */ + OwnerId?: number; } export namespace NFSFileShareDefaults { @@ -1147,29 +1224,74 @@ export type ObjectACL = */ export interface CreateNFSFileShareInput { /** - *

                          The default storage class for objects put into an Amazon S3 bucket by the file gateway. - * The default value is S3_INTELLIGENT_TIERING. Optional.

                          - * - *

                          Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | - * S3_STANDARD_IA | S3_ONEZONE_IA - *

                          + *

                          A unique string value that you supply that is used by file gateway to ensure idempotent + * file share creation.

                          */ - DefaultStorageClass?: string; + ClientToken: string | undefined; /** - *

                          The list of clients that are allowed to access the file gateway. The list must contain - * either valid IP addresses or valid CIDR blocks.

                          + *

                          File share default values. Optional.

                          */ - ClientList?: string[]; + NFSFileShareDefaults?: NFSFileShareDefaults; /** - *

                          A value that sets the access control list (ACL) permission for objects in the S3 bucket - * that a file gateway puts objects into. The default value is private.

                          + *

                          The Amazon Resource Name (ARN) of the file gateway on which you want to create a file + * share.

                          */ - ObjectACL?: ObjectACL | string; + GatewayARN: string | undefined; /** - *

                          A value that maps a user to anonymous user.

                          + *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS + * key, or false to use a key managed by Amazon S3. Optional.

                          + * + *

                          Valid Values: true | false + *

                          + */ + KMSEncrypted?: boolean; + + /** + *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon + * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can + * only be set when KMSEncrypted is true. Optional.

                          + */ + KMSKey?: string; + + /** + *

                          The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes + * when it accesses the underlying storage.

                          + */ + Role: string | undefined; + + /** + *

                          The ARN of the backend storage used for storing file data. A prefix name can be added to + * the S3 bucket name. It must end with a "/".

                          + */ + LocationARN: string | undefined; + + /** + *

                          The default storage class for objects put into an Amazon S3 bucket by the file gateway. + * The default value is S3_INTELLIGENT_TIERING. Optional.

                          + * + *

                          Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | + * S3_STANDARD_IA | S3_ONEZONE_IA + *

                          + */ + DefaultStorageClass?: string; + + /** + *

                          A value that sets the access control list (ACL) permission for objects in the S3 bucket + * that a file gateway puts objects into. The default value is private.

                          + */ + ObjectACL?: ObjectACL | string; + + /** + *

                          The list of clients that are allowed to access the file gateway. The list must contain + * either valid IP addresses or valid CIDR blocks.

                          + */ + ClientList?: string[]; + + /** + *

                          A value that maps a user to anonymous user.

                          * *

                          Valid values are the following:

                          * @@ -1191,36 +1313,23 @@ export interface CreateNFSFileShareInput { Squash?: string; /** - *

                          The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes - * when it accesses the underlying storage.

                          - */ - Role: string | undefined; - - /** - *

                          The ARN of the backend storage used for storing file data. A prefix name can be added to - * the S3 bucket name. It must end with a "/".

                          - */ - LocationARN: string | undefined; - - /** - *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS - * key, or false to use a key managed by Amazon S3. Optional.

                          + *

                          A value that sets the write status of a file share. Set this value to true + * to set the write status to read-only, otherwise set to false.

                          * *

                          Valid Values: true | false *

                          */ - KMSEncrypted?: boolean; + ReadOnly?: boolean; /** - *

                          The name of the file share. Optional.

                          + *

                          A value that enables guessing of the MIME type for uploaded objects based on file + * extensions. Set this value to true to enable MIME type guessing, otherwise set + * to false. The default value is true.

                          * - * - *

                          - * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                          - *
                          + *

                          Valid Values: true | false + *

                          */ - FileShareName?: string; + GuessMIMETypeEnabled?: boolean; /** *

                          A value that sets who pays the cost of the request and the cost associated with data @@ -1240,27 +1349,6 @@ export interface CreateNFSFileShareInput { */ RequesterPays?: boolean; - /** - *

                          A value that enables guessing of the MIME type for uploaded objects based on file - * extensions. Set this value to true to enable MIME type guessing, otherwise set - * to false. The default value is true.

                          - * - *

                          Valid Values: true | false - *

                          - */ - GuessMIMETypeEnabled?: boolean; - - /** - *

                          A unique string value that you supply that is used by file gateway to ensure idempotent - * file share creation.

                          - */ - ClientToken: string | undefined; - - /** - *

                          Refresh cache information.

                          - */ - CacheAttributes?: CacheAttributes; - /** *

                          A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a * key-value pair.

                          @@ -1275,36 +1363,25 @@ export interface CreateNFSFileShareInput { Tags?: Tag[]; /** - *

                          The notification policy of the file share.

                          - */ - NotificationPolicy?: string; - - /** - *

                          A value that sets the write status of a file share. Set this value to true - * to set the write status to read-only, otherwise set to false.

                          + *

                          The name of the file share. Optional.

                          * - *

                          Valid Values: true | false - *

                          - */ - ReadOnly?: boolean; - - /** - *

                          The Amazon Resource Name (ARN) of the file gateway on which you want to create a file - * share.

                          + * + *

                          + * FileShareName must be set if an S3 prefix name is set in + * LocationARN.

                          + *
                          */ - GatewayARN: string | undefined; + FileShareName?: string; /** - *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon - * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                          + *

                          Refresh cache information.

                          */ - KMSKey?: string; + CacheAttributes?: CacheAttributes; /** - *

                          File share default values. Optional.

                          + *

                          The notification policy of the file share.

                          */ - NFSFileShareDefaults?: NFSFileShareDefaults; + NotificationPolicy?: string; } export namespace CreateNFSFileShareInput { @@ -1334,31 +1411,24 @@ export namespace CreateNFSFileShareOutput { */ export interface CreateSMBFileShareInput { /** - *

                          The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes - * when it accesses the underlying storage.

                          + *

                          A unique string value that you supply that is used by file gateway to ensure idempotent + * file share creation.

                          */ - Role: string | undefined; + ClientToken: string | undefined; /** - *

                          The Amazon Resource Name (ARN) of the storage used for the audit logs.

                          + *

                          The ARN of the file gateway on which you want to create a file share.

                          */ - AuditDestinationARN?: string; + GatewayARN: string | undefined; /** - *

                          Set this value to true to enable access control list (ACL) on the SMB file - * share. Set it to false to map file and directory permissions to the POSIX - * permissions.

                          - * - * - * - *

                          For more information, see Using Microsoft Windows ACLs to - * control access to an SMB file share in the AWS Storage Gateway User - * Guide.

                          + *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS + * key, or false to use a key managed by Amazon S3. Optional.

                          * *

                          Valid Values: true | false *

                          */ - SMBACLEnabled?: boolean; + KMSEncrypted?: boolean; /** *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon @@ -1368,13 +1438,16 @@ export interface CreateSMBFileShareInput { KMSKey?: string; /** - *

                          The authentication method that users use to access the file share. The default is - * ActiveDirectory.

                          - * - *

                          Valid Values: ActiveDirectory | GuestAccess - *

                          + *

                          The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes + * when it accesses the underlying storage.

                          */ - Authentication?: string; + Role: string | undefined; + + /** + *

                          The ARN of the backend storage used for storing file data. A prefix name can be added to + * the S3 bucket name. It must end with a "/".

                          + */ + LocationARN: string | undefined; /** *

                          The default storage class for objects put into an Amazon S3 bucket by the file gateway. @@ -1387,47 +1460,29 @@ export interface CreateSMBFileShareInput { DefaultStorageClass?: string; /** - *

                          A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a - * key-value pair.

                          - * - * - *

                          Valid characters for key and value are letters, spaces, and numbers representable in - * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length - * of a tag's key is 128 characters, and the maximum length for a tag's value is - * 256.

                          - *
                          - */ - Tags?: Tag[]; - - /** - *

                          Refresh cache information.

                          - */ - CacheAttributes?: CacheAttributes; - - /** - *

                          A list of users or groups in the Active Directory that are allowed to access the file - * share. A group must be prefixed with the @ character. Acceptable formats - * include: DOMAIN\User1, user1, @group1, and - * @DOMAIN\group1. Can only be set if Authentication is set to - * ActiveDirectory.

                          + *

                          A value that sets the access control list (ACL) permission for objects in the S3 bucket + * that a file gateway puts objects into. The default value is private.

                          */ - ValidUserList?: string[]; + ObjectACL?: ObjectACL | string; /** - *

                          The ARN of the file gateway on which you want to create a file share.

                          + *

                          A value that sets the write status of a file share. Set this value to true + * to set the write status to read-only, otherwise set to false.

                          + * + *

                          Valid Values: true | false + *

                          */ - GatewayARN: string | undefined; + ReadOnly?: boolean; /** - *

                          The name of the file share. Optional.

                          + *

                          A value that enables guessing of the MIME type for uploaded objects based on file + * extensions. Set this value to true to enable MIME type guessing, otherwise set + * to false. The default value is true.

                          * - * - *

                          - * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                          - *
                          + *

                          Valid Values: true | false + *

                          */ - FileShareName?: string; + GuessMIMETypeEnabled?: boolean; /** *

                          A value that sets who pays the cost of the request and the cost associated with data @@ -1448,19 +1503,26 @@ export interface CreateSMBFileShareInput { RequesterPays?: boolean; /** - *

                          A list of users or groups in the Active Directory that are not allowed to access the - * file share. A group must be prefixed with the @ character. Acceptable formats include: - * DOMAIN\User1, user1, @group1, and - * @DOMAIN\group1. Can only be set if Authentication is set to - * ActiveDirectory.

                          + *

                          Set this value to true to enable access control list (ACL) on the SMB file + * share. Set it to false to map file and directory permissions to the POSIX + * permissions.

                          + * + * + * + *

                          For more information, see Using Microsoft Windows ACLs to + * control access to an SMB file share in the AWS Storage Gateway User + * Guide.

                          + * + *

                          Valid Values: true | false + *

                          */ - InvalidUserList?: string[]; + SMBACLEnabled?: boolean; /** - *

                          The ARN of the backend storage used for storing file data. A prefix name can be added to - * the S3 bucket name. It must end with a "/".

                          + *

                          The files and folders on this share will only be visible to users with read + * access.

                          */ - LocationARN: string | undefined; + AccessBasedEnumeration?: boolean; /** *

                          A list of users or groups in the Active Directory that will be granted administrator @@ -1476,35 +1538,36 @@ export interface CreateSMBFileShareInput { AdminUserList?: string[]; /** - *

                          A value that enables guessing of the MIME type for uploaded objects based on file - * extensions. Set this value to true to enable MIME type guessing, otherwise set - * to false. The default value is true.

                          - * - *

                          Valid Values: true | false - *

                          + *

                          A list of users or groups in the Active Directory that are allowed to access the file + * share. A group must be prefixed with the @ character. Acceptable formats + * include: DOMAIN\User1, user1, @group1, and + * @DOMAIN\group1. Can only be set if Authentication is set to + * ActiveDirectory.

                          */ - GuessMIMETypeEnabled?: boolean; + ValidUserList?: string[]; /** - *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS - * key, or false to use a key managed by Amazon S3. Optional.

                          - * - *

                          Valid Values: true | false - *

                          + *

                          A list of users or groups in the Active Directory that are not allowed to access the + * file share. A group must be prefixed with the @ character. Acceptable formats include: + * DOMAIN\User1, user1, @group1, and + * @DOMAIN\group1. Can only be set if Authentication is set to + * ActiveDirectory.

                          */ - KMSEncrypted?: boolean; + InvalidUserList?: string[]; /** - *

                          A unique string value that you supply that is used by file gateway to ensure idempotent - * file share creation.

                          + *

                          The Amazon Resource Name (ARN) of the storage used for the audit logs.

                          */ - ClientToken: string | undefined; + AuditDestinationARN?: string; /** - *

                          The files and folders on this share will only be visible to users with read - * access.

                          + *

                          The authentication method that users use to access the file share. The default is + * ActiveDirectory.

                          + * + *

                          Valid Values: ActiveDirectory | GuestAccess + *

                          */ - AccessBasedEnumeration?: boolean; + Authentication?: string; /** *

                          The case of an object name in an Amazon S3 bucket. For ClientSpecified, the @@ -1514,24 +1577,38 @@ export interface CreateSMBFileShareInput { CaseSensitivity?: CaseSensitivity | string; /** - *

                          The notification policy of the file share.

                          + *

                          A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a + * key-value pair.

                          + * + * + *

                          Valid characters for key and value are letters, spaces, and numbers representable in + * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length + * of a tag's key is 128 characters, and the maximum length for a tag's value is + * 256.

                          + *
                          */ - NotificationPolicy?: string; + Tags?: Tag[]; /** - *

                          A value that sets the write status of a file share. Set this value to true - * to set the write status to read-only, otherwise set to false.

                          + *

                          The name of the file share. Optional.

                          * - *

                          Valid Values: true | false - *

                          + * + *

                          + * FileShareName must be set if an S3 prefix name is set in + * LocationARN.

                          + *
                          */ - ReadOnly?: boolean; + FileShareName?: string; /** - *

                          A value that sets the access control list (ACL) permission for objects in the S3 bucket - * that a file gateway puts objects into. The default value is private.

                          + *

                          Refresh cache information.

                          */ - ObjectACL?: ObjectACL | string; + CacheAttributes?: CacheAttributes; + + /** + *

                          The notification policy of the file share.

                          + */ + NotificationPolicy?: string; } export namespace CreateSMBFileShareInput { @@ -1579,6 +1656,14 @@ export interface CreateSnapshotInput { */ VolumeARN: string | undefined; + /** + *

                          Textual description of the snapshot that appears in the Amazon EC2 console, Elastic + * Block Store snapshots panel in the Description field, and + * in the AWS Storage Gateway snapshot Details pane, + * Description field.

                          + */ + SnapshotDescription: string | undefined; + /** *

                          A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value * pair.

                          @@ -1591,14 +1676,6 @@ export interface CreateSnapshotInput { * */ Tags?: Tag[]; - - /** - *

                          Textual description of the snapshot that appears in the Amazon EC2 console, Elastic - * Block Store snapshots panel in the Description field, and - * in the AWS Storage Gateway snapshot Details pane, - * Description field.

                          - */ - SnapshotDescription: string | undefined; } export namespace CreateSnapshotInput { @@ -1662,6 +1739,14 @@ export interface CreateSnapshotFromVolumeRecoveryPointInput { */ VolumeARN: string | undefined; + /** + *

                          Textual description of the snapshot that appears in the Amazon EC2 console, Elastic + * Block Store snapshots panel in the Description field, and + * in the AWS Storage Gateway snapshot Details pane, + * Description field.

                          + */ + SnapshotDescription: string | undefined; + /** *

                          A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value * pair.

                          @@ -1674,14 +1759,6 @@ export interface CreateSnapshotFromVolumeRecoveryPointInput { * */ Tags?: Tag[]; - - /** - *

                          Textual description of the snapshot that appears in the Amazon EC2 console, Elastic - * Block Store snapshots panel in the Description field, and - * in the AWS Storage Gateway snapshot Details pane, - * Description field.

                          - */ - SnapshotDescription: string | undefined; } export namespace CreateSnapshotFromVolumeRecoveryPointInput { @@ -1691,11 +1768,6 @@ export namespace CreateSnapshotFromVolumeRecoveryPointInput { } export interface CreateSnapshotFromVolumeRecoveryPointOutput { - /** - *

                          The time the volume was created from the recovery point.

                          - */ - VolumeRecoveryPointTime?: string; - /** *

                          The ID of the snapshot.

                          */ @@ -1706,6 +1778,11 @@ export interface CreateSnapshotFromVolumeRecoveryPointOutput { * specified VolumeARN.

                          */ VolumeARN?: string; + + /** + *

                          The time the volume was created from the recovery point.

                          + */ + VolumeRecoveryPointTime?: string; } export namespace CreateSnapshotFromVolumeRecoveryPointOutput { @@ -1747,13 +1824,46 @@ export namespace CreateSnapshotFromVolumeRecoveryPointOutput { */ export interface CreateStorediSCSIVolumeInput { /** - *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS - * key, or false to use a key managed by Amazon S3. Optional.

                          + *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                          + */ + GatewayARN: string | undefined; + + /** + *

                          The unique identifier for the gateway local disk that is configured as a stored volume. + * Use ListLocalDisks to + * list disk IDs for a gateway.

                          + */ + DiskId: string | undefined; + + /** + *

                          The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new stored + * volume. Specify this field if you want to create the iSCSI storage volume from a snapshot; + * otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API + * Reference.

                          + */ + SnapshotId?: string; + + /** + *

                          Set to true true if you want to preserve the data on the local disk. + * Otherwise, set to false to create an empty volume.

                          * *

                          Valid Values: true | false *

                          */ - KMSEncrypted?: boolean; + PreserveExistingData: boolean | undefined; + + /** + *

                          The name of the iSCSI target used by an initiator to connect to a volume and used as a + * suffix for the target ARN. For example, specifying TargetName as + * myvolume results in the target ARN of + * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. + * The target name must be unique across all volumes on a gateway.

                          + * + *

                          If you don't specify a value, Storage Gateway uses the value that was previously + * used for this volume as the new target name.

                          + */ + TargetName: string | undefined; /** *

                          The network interface of the gateway on which to expose the iSCSI target. Only IPv4 @@ -1765,26 +1875,20 @@ export interface CreateStorediSCSIVolumeInput { NetworkInterfaceId: string | undefined; /** - *

                          Set to true true if you want to preserve the data on the local disk. - * Otherwise, set to false to create an empty volume.

                          + *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS + * key, or false to use a key managed by Amazon S3. Optional.

                          * *

                          Valid Values: true | false *

                          */ - PreserveExistingData: boolean | undefined; - - /** - *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                          - */ - GatewayARN: string | undefined; + KMSEncrypted?: boolean; /** - *

                          The unique identifier for the gateway local disk that is configured as a stored volume. - * Use ListLocalDisks to - * list disk IDs for a gateway.

                          + *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon + * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can + * only be set when KMSEncrypted is true. Optional.

                          */ - DiskId: string | undefined; + KMSKey?: string; /** *

                          A list of up to 50 tags that can be assigned to a stored volume. Each tag is a key-value @@ -1798,33 +1902,6 @@ export interface CreateStorediSCSIVolumeInput { * */ Tags?: Tag[]; - - /** - *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon - * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                          - */ - KMSKey?: string; - - /** - *

                          The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new stored - * volume. Specify this field if you want to create the iSCSI storage volume from a snapshot; - * otherwise, do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API - * Reference.

                          - */ - SnapshotId?: string; - - /** - *

                          The name of the iSCSI target used by an initiator to connect to a volume and used as a - * suffix for the target ARN. For example, specifying TargetName as - * myvolume results in the target ARN of - * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. - * The target name must be unique across all volumes on a gateway.

                          - * - *

                          If you don't specify a value, Storage Gateway uses the value that was previously - * used for this volume as the new target name.

                          - */ - TargetName: string | undefined; } export namespace CreateStorediSCSIVolumeInput { @@ -1871,23 +1948,11 @@ export interface CreateTapePoolInput { PoolName: string | undefined; /** - *

                          A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value - * pair.

                          - * - * - *

                          Valid characters for key and value are letters, spaces, and numbers representable in - * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length - * of a tag's key is 128 characters, and the maximum length for a tag's value is - * 256.

                          - *
                          - */ - Tags?: Tag[]; - - /** - *

                          Tape retention lock time is set in days. Tape retention lock can be enabled for up to - * 100 years (36,500 days).

                          + *

                          The storage class that is associated with the new custom pool. When you use your backup + * application to eject the tape, the tape is archived directly into the storage class (S3 + * Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

                          */ - RetentionLockTimeInDays?: number; + StorageClass: TapeStorageClass | string | undefined; /** *

                          Tape retention lock can be configured in two modes. When configured in governance mode, @@ -1898,11 +1963,23 @@ export interface CreateTapePoolInput { RetentionLockType?: RetentionLockType | string; /** - *

                          The storage class that is associated with the new custom pool. When you use your backup - * application to eject the tape, the tape is archived directly into the storage class (S3 - * Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

                          + *

                          Tape retention lock time is set in days. Tape retention lock can be enabled for up to + * 100 years (36,500 days).

                          */ - StorageClass: TapeStorageClass | string | undefined; + RetentionLockTimeInDays?: number; + + /** + *

                          A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value + * pair.

                          + * + * + *

                          Valid characters for key and value are letters, spaces, and numbers representable in + * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length + * of a tag's key is 128 characters, and the maximum length for a tag's value is + * 256.

                          + *
                          + */ + Tags?: Tag[]; } export namespace CreateTapePoolInput { @@ -1937,6 +2014,15 @@ export interface CreateTapesInput { */ GatewayARN: string | undefined; + /** + *

                          The size, in bytes, of the virtual tapes that you want to create.

                          + * + * + *

                          The size must be aligned by gigabyte (1024*1024*1024 bytes).

                          + *
                          + */ + TapeSizeInBytes: number | undefined; + /** *

                          A unique identifier that you use to retry a request. If you retry a request, use the * same ClientToken you specified in the initial request.

                          @@ -1949,43 +2035,29 @@ export interface CreateTapesInput { ClientToken: string | undefined; /** - *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS - * key, or false to use a key managed by Amazon S3. Optional.

                          - * - *

                          Valid Values: true | false - *

                          + *

                          The number of virtual tapes that you want to create.

                          */ - KMSEncrypted?: boolean; + NumTapesToCreate: number | undefined; /** - *

                          A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value - * pair.

                          + *

                          A prefix that you append to the barcode of the virtual tape you are creating. This + * prefix makes the barcode unique.

                          * * - *

                          Valid characters for key and value are letters, spaces, and numbers representable in - * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length - * of a tag's key is 128 characters, and the maximum length for a tag's value is - * 256.

                          + *

                          The prefix must be 1 to 4 characters in length and must be one of the uppercase + * letters from A to Z.

                          *
                          */ - Tags?: Tag[]; - - /** - *

                          Set to TRUE if the tape you are creating is to be configured as a - * write-once-read-many (WORM) tape.

                          - */ - Worm?: boolean; + TapeBarcodePrefix: string | undefined; /** - *

                          The ID of the pool that you want to add your tape to for archiving. The tape in this - * pool is archived in the S3 storage class that is associated with the pool. When you use - * your backup application to eject the tape, the tape is archived directly into the storage - * class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

                          + *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS + * key, or false to use a key managed by Amazon S3. Optional.

                          * - *

                          Valid Values: GLACIER | DEEP_ARCHIVE + *

                          Valid Values: true | false *

                          */ - PoolId?: string; + KMSEncrypted?: boolean; /** *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon @@ -1995,29 +2067,34 @@ export interface CreateTapesInput { KMSKey?: string; /** - *

                          The number of virtual tapes that you want to create.

                          + *

                          The ID of the pool that you want to add your tape to for archiving. The tape in this + * pool is archived in the S3 storage class that is associated with the pool. When you use + * your backup application to eject the tape, the tape is archived directly into the storage + * class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

                          + * + *

                          Valid Values: GLACIER | DEEP_ARCHIVE + *

                          */ - NumTapesToCreate: number | undefined; + PoolId?: string; /** - *

                          The size, in bytes, of the virtual tapes that you want to create.

                          - * - * - *

                          The size must be aligned by gigabyte (1024*1024*1024 bytes).

                          - *
                          + *

                          Set to TRUE if the tape you are creating is to be configured as a + * write-once-read-many (WORM) tape.

                          */ - TapeSizeInBytes: number | undefined; + Worm?: boolean; /** - *

                          A prefix that you append to the barcode of the virtual tape you are creating. This - * prefix makes the barcode unique.

                          + *

                          A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value + * pair.

                          * * - *

                          The prefix must be 1 to 4 characters in length and must be one of the uppercase - * letters from A to Z.

                          + *

                          Valid characters for key and value are letters, spaces, and numbers representable in + * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length + * of a tag's key is 128 characters, and the maximum length for a tag's value is + * 256.

                          *
                          */ - TapeBarcodePrefix: string | undefined; + Tags?: Tag[]; } export namespace CreateTapesInput { @@ -2047,6 +2124,32 @@ export namespace CreateTapesOutput { *

                          CreateTapeWithBarcodeInput

                          */ export interface CreateTapeWithBarcodeInput { + /** + *

                          The unique Amazon Resource Name (ARN) that represents the gateway to associate the + * virtual tape with. Use the ListGateways operation to return a list of + * gateways for your account and AWS Region.

                          + */ + GatewayARN: string | undefined; + + /** + *

                          The size, in bytes, of the virtual tape that you want to create.

                          + * + * + *

                          The size must be aligned by gigabyte (1024*1024*1024 bytes).

                          + *
                          + */ + TapeSizeInBytes: number | undefined; + + /** + *

                          The barcode that you want to assign to the tape.

                          + * + * + *

                          Barcodes cannot be reused. This includes barcodes used for tapes that have been + * deleted.

                          + *
                          + */ + TapeBarcode: string | undefined; + /** *

                          Set to true to use Amazon S3 server-side encryption with your own AWS KMS * key, or false to use a key managed by Amazon S3. Optional.

                          @@ -2056,12 +2159,6 @@ export interface CreateTapeWithBarcodeInput { */ KMSEncrypted?: boolean; - /** - *

                          Set to TRUE if the tape you are creating is to be configured as a - * write-once-read-many (WORM) tape.

                          - */ - Worm?: boolean; - /** *

                          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can @@ -2081,14 +2178,10 @@ export interface CreateTapeWithBarcodeInput { PoolId?: string; /** - *

                          The barcode that you want to assign to the tape.

                          - * - * - *

                          Barcodes cannot be reused. This includes barcodes used for tapes that have been - * deleted.

                          - *
                          + *

                          Set to TRUE if the tape you are creating is to be configured as a + * write-once-read-many (WORM) tape.

                          */ - TapeBarcode: string | undefined; + Worm?: boolean; /** *

                          A list of up to 50 tags that can be assigned to a virtual tape that has a barcode. Each @@ -2102,22 +2195,6 @@ export interface CreateTapeWithBarcodeInput { * */ Tags?: Tag[]; - - /** - *

                          The unique Amazon Resource Name (ARN) that represents the gateway to associate the - * virtual tape with. Use the ListGateways operation to return a list of - * gateways for your account and AWS Region.

                          - */ - GatewayARN: string | undefined; - - /** - *

                          The size, in bytes, of the virtual tape that you want to create.

                          - * - * - *

                          The size must be aligned by gigabyte (1024*1024*1024 bytes).

                          - *
                          - */ - TapeSizeInBytes: number | undefined; } export namespace CreateTapeWithBarcodeInput { @@ -2393,6 +2470,11 @@ export interface DeleteTapeInput { */ GatewayARN: string | undefined; + /** + *

                          The Amazon Resource Name (ARN) of the virtual tape to delete.

                          + */ + TapeARN: string | undefined; + /** *

                          Set to TRUE to delete an archived tape that belongs to a custom pool with * tape retention lock. Only archived tapes with tape retention lock set to @@ -2400,11 +2482,6 @@ export interface DeleteTapeInput { * compliance can't be deleted.

                          */ BypassGovernanceRetention?: boolean; - - /** - *

                          The Amazon Resource Name (ARN) of the virtual tape to delete.

                          - */ - TapeARN: string | undefined; } export namespace DeleteTapeInput { @@ -2433,6 +2510,12 @@ export namespace DeleteTapeOutput { *

                          DeleteTapeArchiveInput

                          */ export interface DeleteTapeArchiveInput { + /** + *

                          The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf + * (VTS).

                          + */ + TapeARN: string | undefined; + /** *

                          Set to TRUE to delete an archived tape that belongs to a custom pool with * tape retention lock. Only archived tapes with tape retention lock set to @@ -2440,12 +2523,6 @@ export interface DeleteTapeArchiveInput { * compliance can't be deleted.

                          */ BypassGovernanceRetention?: boolean; - - /** - *

                          The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf - * (VTS).

                          - */ - TapeARN: string | undefined; } export namespace DeleteTapeArchiveInput { @@ -2595,10 +2672,10 @@ export namespace DescribeBandwidthRateLimitInput { */ export interface DescribeBandwidthRateLimitOutput { /** - *

                          The average download bandwidth rate limit in bits per second. This field does not appear - * in the response if the download rate limit is not set.

                          + *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                          */ - AverageDownloadRateLimitInBitsPerSec?: number; + GatewayARN?: string; /** *

                          The average upload bandwidth rate limit in bits per second. This field does not appear @@ -2606,15 +2683,50 @@ export interface DescribeBandwidthRateLimitOutput { */ AverageUploadRateLimitInBitsPerSec?: number; + /** + *

                          The average download bandwidth rate limit in bits per second. This field does not appear + * in the response if the download rate limit is not set.

                          + */ + AverageDownloadRateLimitInBitsPerSec?: number; +} + +export namespace DescribeBandwidthRateLimitOutput { + export const filterSensitiveLog = (obj: DescribeBandwidthRateLimitOutput): any => ({ + ...obj, + }); +} + +export interface DescribeBandwidthRateLimitScheduleInput { + /** + *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                          + */ + GatewayARN: string | undefined; +} + +export namespace DescribeBandwidthRateLimitScheduleInput { + export const filterSensitiveLog = (obj: DescribeBandwidthRateLimitScheduleInput): any => ({ + ...obj, + }); +} + +export interface DescribeBandwidthRateLimitScheduleOutput { /** *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                          */ GatewayARN?: string; + + /** + *

                          + * An array that contains the bandwidth rate limit intervals for a tape or volume gateway. + *

                          + */ + BandwidthRateLimitIntervals?: BandwidthRateLimitInterval[]; } -export namespace DescribeBandwidthRateLimitOutput { - export const filterSensitiveLog = (obj: DescribeBandwidthRateLimitOutput): any => ({ +export namespace DescribeBandwidthRateLimitScheduleOutput { + export const filterSensitiveLog = (obj: DescribeBandwidthRateLimitScheduleOutput): any => ({ ...obj, }); } @@ -2635,22 +2747,28 @@ export namespace DescribeCacheInput { export interface DescribeCacheOutput { /** - *

                          Percent use of the gateway's cache storage. This metric applies only to the - * gateway-cached volume setup. The sample is taken at the end of the reporting period.

                          + *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                          */ - CacheUsedPercentage?: number; + GatewayARN?: string; /** - *

                          Percent of application read operations from the file shares that are served from cache. - * The sample is taken at the end of the reporting period.

                          + *

                          An array of strings that identify disks that are to be configured as working storage. + * Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs + * from the ListLocalDisks API.

                          */ - CacheHitPercentage?: number; + DiskIds?: string[]; /** - *

                          Percent of application read operations from the file shares that are not served from - * cache. The sample is taken at the end of the reporting period.

                          + *

                          The amount of cache in bytes allocated to a gateway.

                          */ - CacheMissPercentage?: number; + CacheAllocatedInBytes?: number; + + /** + *

                          Percent use of the gateway's cache storage. This metric applies only to the + * gateway-cached volume setup. The sample is taken at the end of the reporting period.

                          + */ + CacheUsedPercentage?: number; /** *

                          The file share's contribution to the overall percentage of the gateway's cache @@ -2660,22 +2778,16 @@ export interface DescribeCacheOutput { CacheDirtyPercentage?: number; /** - *

                          The amount of cache in bytes allocated to a gateway.

                          - */ - CacheAllocatedInBytes?: number; - - /** - *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                          + *

                          Percent of application read operations from the file shares that are served from cache. + * The sample is taken at the end of the reporting period.

                          */ - GatewayARN?: string; + CacheHitPercentage?: number; /** - *

                          An array of strings that identify disks that are to be configured as working storage. - * Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs - * from the ListLocalDisks API.

                          + *

                          Percent of application read operations from the file shares that are not served from + * cache. The sample is taken at the end of the reporting period.

                          */ - DiskIds?: string[]; + CacheMissPercentage?: number; } export namespace DescribeCacheOutput { @@ -2804,6 +2916,11 @@ export namespace DescribeGatewayInformationInput { *

                          Describes a gateway's network interface.

                          */ export interface NetworkInterface { + /** + *

                          The Internet Protocol version 4 (IPv4) address of the interface.

                          + */ + Ipv4Address?: string; + /** *

                          The Media Access Control (MAC) address of the interface.

                          * @@ -2818,11 +2935,6 @@ export interface NetworkInterface { * supported.

                          */ Ipv6Address?: string; - - /** - *

                          The Internet Protocol version 4 (IPv4) address of the interface.

                          - */ - Ipv4Address?: string; } export namespace NetworkInterface { @@ -2838,18 +2950,17 @@ export type HostEnvironment = "EC2" | "HYPER-V" | "KVM" | "OTHER" | "VMWARE"; */ export interface DescribeGatewayInformationOutput { /** - *

                          The type of endpoint for your gateway.

                          - * - *

                          Valid Values: STANDARD | FIPS - *

                          + *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                          */ - EndpointType?: string; + GatewayARN?: string; /** - *

                          The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to - * monitor events in the gateway.

                          + *

                          The unique identifier assigned to your gateway during activation. This ID becomes part + * of the gateway Amazon Resource Name (ARN), which you use as input for other + * operations.

                          */ - CloudWatchLogGroupARN?: string; + GatewayId?: string; /** *

                          The name you configured for your gateway.

                          @@ -2857,20 +2968,15 @@ export interface DescribeGatewayInformationOutput { GatewayName?: string; /** - *

                          The ID of the Amazon EC2 instance that was used to launch the gateway.

                          + *

                          A value that indicates the time zone configured for the gateway.

                          */ - Ec2InstanceId?: string; + GatewayTimezone?: string; /** *

                          A value that indicates the operating state of the gateway.

                          */ GatewayState?: string; - /** - *

                          A value that indicates the time zone configured for the gateway.

                          - */ - GatewayTimezone?: string; - /** *

                          A NetworkInterface array that contains descriptions of the gateway * network interfaces.

                          @@ -2878,69 +2984,75 @@ export interface DescribeGatewayInformationOutput { GatewayNetworkInterfaces?: NetworkInterface[]; /** - *

                          Date after which this gateway will not receive software updates for new features.

                          + *

                          The type of the gateway.

                          */ - SoftwareUpdatesEndDate?: string; + GatewayType?: string; /** - *

                          Date after which this gateway will not receive software updates for new features and bug - * fixes.

                          + *

                          The date on which an update to the gateway is available. This date is in the time zone + * of the gateway. If the gateway is not available for an update this field is not returned in + * the response.

                          */ - DeprecationDate?: string; + NextUpdateAvailabilityDate?: string; /** - *

                          The configuration settings for the virtual private cloud (VPC) endpoint for your - * gateway.

                          + *

                          The date on which the last software update was applied to the gateway. If the gateway + * has never been updated, this field does not return a value in the response.

                          */ - VPCEndpoint?: string; + LastSoftwareUpdate?: string; /** - *

                          The type of hypervisor environment used by the host.

                          + *

                          The ID of the Amazon EC2 instance that was used to launch the gateway.

                          */ - HostEnvironment?: HostEnvironment | string; + Ec2InstanceId?: string; /** *

                          The AWS Region where the Amazon EC2 instance is located.

                          */ - Ec2InstanceRegion?: string; + Ec2InstanceRegion?: string; + + /** + *

                          A list of up to 50 tags assigned to the gateway, sorted alphabetically by key name. Each + * tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all + * tags using the ListTagsForResource API operation.

                          + */ + Tags?: Tag[]; /** - *

                          The type of the gateway.

                          + *

                          The configuration settings for the virtual private cloud (VPC) endpoint for your + * gateway.

                          */ - GatewayType?: string; + VPCEndpoint?: string; /** - *

                          The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                          + *

                          The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to + * monitor events in the gateway.

                          */ - GatewayARN?: string; + CloudWatchLogGroupARN?: string; /** - *

                          The unique identifier assigned to your gateway during activation. This ID becomes part - * of the gateway Amazon Resource Name (ARN), which you use as input for other - * operations.

                          + *

                          The type of hypervisor environment used by the host.

                          */ - GatewayId?: string; + HostEnvironment?: HostEnvironment | string; /** - *

                          A list of up to 50 tags assigned to the gateway, sorted alphabetically by key name. Each - * tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all - * tags using the ListTagsForResource API operation.

                          + *

                          The type of endpoint for your gateway.

                          + * + *

                          Valid Values: STANDARD | FIPS + *

                          */ - Tags?: Tag[]; + EndpointType?: string; /** - *

                          The date on which the last software update was applied to the gateway. If the gateway - * has never been updated, this field does not return a value in the response.

                          + *

                          Date after which this gateway will not receive software updates for new features.

                          */ - LastSoftwareUpdate?: string; + SoftwareUpdatesEndDate?: string; /** - *

                          The date on which an update to the gateway is available. This date is in the time zone - * of the gateway. If the gateway is not available for an update this field is not returned in - * the response.

                          + *

                          Date after which this gateway will not receive software updates for new features and bug + * fixes.

                          */ - NextUpdateAvailabilityDate?: string; + DeprecationDate?: string; } export namespace DescribeGatewayInformationOutput { @@ -2998,25 +3110,12 @@ export namespace DescribeMaintenanceStartTimeInput { *
                        */ export interface DescribeMaintenanceStartTimeOutput { - /** - *

                        A value that indicates the time zone that is set for the gateway. The start time and day - * of week specified should be in the time zone of the gateway.

                        - */ - Timezone?: string; - /** *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                        */ GatewayARN?: string; - /** - *

                        The day of the month component of the maintenance start time represented as an ordinal - * number from 1 to 28, where 1 represents the first day of the month and 28 represents the - * last day of the month.

                        - */ - DayOfMonth?: number; - /** *

                        The hour component of the maintenance start time represented as hh, * where hh is the hour (0 to 23). The hour of the day is in the time @@ -3037,6 +3136,19 @@ export interface DescribeMaintenanceStartTimeOutput { * gateway.

                        */ DayOfWeek?: number; + + /** + *

                        The day of the month component of the maintenance start time represented as an ordinal + * number from 1 to 28, where 1 represents the first day of the month and 28 represents the + * last day of the month.

                        + */ + DayOfMonth?: number; + + /** + *

                        A value that indicates the time zone that is set for the gateway. The start time and day + * of week specified should be in the time zone of the gateway.

                        + */ + Timezone?: string; } export namespace DescribeMaintenanceStartTimeOutput { @@ -3068,6 +3180,73 @@ export namespace DescribeNFSFileSharesInput { * file gateways.

                        */ export interface NFSFileShareInfo { + /** + *

                        Describes Network File System (NFS) file share default values. Files and folders stored + * as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions + * assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that + * represent files and folders are assigned these default Unix permissions. This operation is + * only supported for file gateways.

                        + */ + NFSFileShareDefaults?: NFSFileShareDefaults; + + /** + *

                        The Amazon Resource Name (ARN) of the file share.

                        + */ + FileShareARN?: string; + + /** + *

                        The ID of the file share.

                        + */ + FileShareId?: string; + + /** + *

                        The status of the file share.

                        + * + *

                        Valid Values: CREATING | UPDATING | AVAILABLE | + * DELETING + *

                        + */ + FileShareStatus?: string; + + /** + *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                        + */ + GatewayARN?: string; + + /** + *

                        Set to true to use Amazon S3 server-side encryption with your own AWS KMS + * key, or false to use a key managed by Amazon S3. Optional.

                        + * + *

                        Valid Values: true | false + *

                        + */ + KMSEncrypted?: boolean; + + /** + *

                        The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon + * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can + * only be set when KMSEncrypted is true. Optional.

                        + */ + KMSKey?: string; + + /** + *

                        The file share path used by the NFS client to identify the mount point.

                        + */ + Path?: string; + + /** + *

                        The ARN of the IAM role that file gateway assumes when it accesses the underlying + * storage.

                        + */ + Role?: string; + + /** + *

                        The ARN of the backend storage used for storing file data. A prefix name can be added to + * the S3 bucket name. It must end with a "/".

                        + */ + LocationARN?: string; + /** *

                        The default storage class for objects put into an Amazon S3 bucket by the file gateway. * The default value is S3_INTELLIGENT_TIERING. Optional.

                        @@ -3078,18 +3257,18 @@ export interface NFSFileShareInfo { */ DefaultStorageClass?: string; - /** - *

                        The list of clients that are allowed to access the file gateway. The list must contain - * either valid IP addresses or valid CIDR blocks.

                        - */ - ClientList?: string[]; - /** *

                        A value that sets the access control list (ACL) permission for objects in the S3 bucket * that a file gateway puts objects into. The default value is private.

                        */ ObjectACL?: ObjectACL | string; + /** + *

                        The list of clients that are allowed to access the file gateway. The list must contain + * either valid IP addresses or valid CIDR blocks.

                        + */ + ClientList?: string[]; + /** *

                        The user mapped to anonymous user. Valid options are the following:

                        * @@ -3111,45 +3290,23 @@ export interface NFSFileShareInfo { Squash?: string; /** - *

                        The status of the file share.

                        + *

                        A value that sets the write status of a file share. Set this value to true + * to set the write status to read-only, otherwise set to false.

                        * - *

                        Valid Values: CREATING | UPDATING | AVAILABLE | - * DELETING + *

                        Valid Values: true | false *

                        */ - FileShareStatus?: string; - - /** - *

                        The ARN of the backend storage used for storing file data. A prefix name can be added to - * the S3 bucket name. It must end with a "/".

                        - */ - LocationARN?: string; - - /** - *

                        The ARN of the IAM role that file gateway assumes when it accesses the underlying - * storage.

                        - */ - Role?: string; + ReadOnly?: boolean; /** - *

                        Set to true to use Amazon S3 server-side encryption with your own AWS KMS - * key, or false to use a key managed by Amazon S3. Optional.

                        + *

                        A value that enables guessing of the MIME type for uploaded objects based on file + * extensions. Set this value to true to enable MIME type guessing, otherwise set + * to false. The default value is true.

                        * *

                        Valid Values: true | false *

                        */ - KMSEncrypted?: boolean; - - /** - *

                        The name of the file share. Optional.

                        - * - * - *

                        - * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                        - *
                        - */ - FileShareName?: string; + GuessMIMETypeEnabled?: boolean; /** *

                        A value that sets who pays the cost of the request and the cost associated with data @@ -3169,36 +3326,6 @@ export interface NFSFileShareInfo { */ RequesterPays?: boolean; - /** - *

                        A value that enables guessing of the MIME type for uploaded objects based on file - * extensions. Set this value to true to enable MIME type guessing, otherwise set - * to false. The default value is true.

                        - * - *

                        Valid Values: true | false - *

                        - */ - GuessMIMETypeEnabled?: boolean; - - /** - *

                        The Amazon Resource Name (ARN) of the file share.

                        - */ - FileShareARN?: string; - - /** - *

                        The ID of the file share.

                        - */ - FileShareId?: string; - - /** - *

                        The notification policy of the file share.

                        - */ - NotificationPolicy?: string; - - /** - *

                        Refresh cache information.

                        - */ - CacheAttributes?: CacheAttributes; - /** *

                        A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key * name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can @@ -3207,40 +3334,25 @@ export interface NFSFileShareInfo { Tags?: Tag[]; /** - *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                        - */ - GatewayARN?: string; - - /** - *

                        The file share path used by the NFS client to identify the mount point.

                        - */ - Path?: string; - - /** - *

                        The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon - * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                        + *

                        The name of the file share. Optional.

                        + * + * + *

                        + * FileShareName must be set if an S3 prefix name is set in + * LocationARN.

                        + *
                        */ - KMSKey?: string; + FileShareName?: string; /** - *

                        A value that sets the write status of a file share. Set this value to true - * to set the write status to read-only, otherwise set to false.

                        - * - *

                        Valid Values: true | false - *

                        + *

                        Refresh cache information.

                        */ - ReadOnly?: boolean; + CacheAttributes?: CacheAttributes; /** - *

                        Describes Network File System (NFS) file share default values. Files and folders stored - * as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions - * assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that - * represent files and folders are assigned these default Unix permissions. This operation is - * only supported for file gateways.

                        + *

                        The notification policy of the file share.

                        */ - NFSFileShareDefaults?: NFSFileShareDefaults; + NotificationPolicy?: string; } export namespace NFSFileShareInfo { @@ -3289,30 +3401,38 @@ export namespace DescribeSMBFileSharesInput { */ export interface SMBFileShareInfo { /** - *

                        A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key - * name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can - * view all tags using the ListTagsForResource API operation.

                        + *

                        The Amazon Resource Name (ARN) of the file share.

                        + */ + FileShareARN?: string; + + /** + *

                        The ID of the file share.

                        */ - Tags?: Tag[]; + FileShareId?: string; /** - *

                        Refresh cache information.

                        + *

                        The status of the file share.

                        + * + *

                        Valid Values: CREATING | UPDATING | AVAILABLE | + * DELETING + *

                        */ - CacheAttributes?: CacheAttributes; + FileShareStatus?: string; /** - *

                        A list of users or groups in the Active Directory that have administrator rights to the - * file share. A group must be prefixed with the @ character. Acceptable formats include: - * DOMAIN\User1, user1, @group1, and - * @DOMAIN\group1. Can only be set if Authentication is set to - * ActiveDirectory.

                        + *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                        */ - AdminUserList?: string[]; + GatewayARN?: string; /** - *

                        The Amazon Resource Name (ARN) of the storage used for the audit logs.

                        + *

                        Set to true to use Amazon S3 server-side encryption with your own AWS KMS + * key, or false to use a key managed by Amazon S3. Optional.

                        + * + *

                        Valid Values: true | false + *

                        */ - AuditDestinationARN?: string; + KMSEncrypted?: boolean; /** *

                        The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon @@ -3322,33 +3442,31 @@ export interface SMBFileShareInfo { KMSKey?: string; /** - *

                        If this value is set to true, it indicates that access control list (ACL) - * is enabled on the SMB file share. If it is set to false, it indicates that - * file and directory permissions are mapped to the POSIX permission.

                        - * - * - * - *

                        For more information, see Using Microsoft Windows ACLs to - * control access to an SMB file share in the AWS Storage Gateway User - * Guide.

                        + *

                        The file share path used by the SMB client to identify the mount point.

                        */ - SMBACLEnabled?: boolean; + Path?: string; /** - *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                        + *

                        The ARN of the IAM role that file gateway assumes when it accesses the underlying + * storage.

                        */ - GatewayARN?: string; + Role?: string; /** - *

                        The ID of the file share.

                        + *

                        The ARN of the backend storage used for storing file data. A prefix name can be added to + * the S3 bucket name. It must end with a "/".

                        */ - FileShareId?: string; + LocationARN?: string; /** - *

                        The file share path used by the SMB client to identify the mount point.

                        + *

                        The default storage class for objects put into an Amazon S3 bucket by the file gateway. + * The default value is S3_INTELLIGENT_TIERING. Optional.

                        + * + *

                        Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | + * S3_STANDARD_IA | S3_ONEZONE_IA + *

                        */ - Path?: string; + DefaultStorageClass?: string; /** *

                        A value that sets the access control list (ACL) permission for objects in the S3 bucket @@ -3366,27 +3484,14 @@ export interface SMBFileShareInfo { ReadOnly?: boolean; /** - *

                        A list of users or groups in the Active Directory that are not allowed to access the - * file share. A group must be prefixed with the @ character. Acceptable formats include: - * DOMAIN\User1, user1, @group1, and - * @DOMAIN\group1. Can only be set if Authentication is set to - * ActiveDirectory.

                        - */ - InvalidUserList?: string[]; - - /** - *

                        A list of users or groups in the Active Directory that are allowed to access the file - * share. A group must be prefixed with the @ character. Acceptable formats include: - * DOMAIN\User1, user1, @group1, and - * @DOMAIN\group1. Can only be set if Authentication is set to - * ActiveDirectory.

                        - */ - ValidUserList?: string[]; - - /** - *

                        The Amazon Resource Name (ARN) of the file share.

                        + *

                        A value that enables guessing of the MIME type for uploaded objects based on file + * extensions. Set this value to true to enable MIME type guessing, otherwise set + * to false. The default value is true.

                        + * + *

                        Valid Values: true | false + *

                        */ - FileShareARN?: string; + GuessMIMETypeEnabled?: boolean; /** *

                        A value that sets who pays the cost of the request and the cost associated with data @@ -3407,36 +3512,54 @@ export interface SMBFileShareInfo { RequesterPays?: boolean; /** - *

                        The name of the file share. Optional.

                        + *

                        If this value is set to true, it indicates that access control list (ACL) + * is enabled on the SMB file share. If it is set to false, it indicates that + * file and directory permissions are mapped to the POSIX permission.

                        * - * - *

                        - * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                        - *
                        + * + * + *

                        For more information, see Using Microsoft Windows ACLs to + * control access to an SMB file share in the AWS Storage Gateway User + * Guide.

                        */ - FileShareName?: string; + SMBACLEnabled?: boolean; /** - *

                        Set to true to use Amazon S3 server-side encryption with your own AWS KMS - * key, or false to use a key managed by Amazon S3. Optional.

                        - * - *

                        Valid Values: true | false - *

                        + *

                        Indicates whether AccessBasedEnumeration is enabled.

                        */ - KMSEncrypted?: boolean; + AccessBasedEnumeration?: boolean; /** - *

                        The ARN of the IAM role that file gateway assumes when it accesses the underlying - * storage.

                        + *

                        A list of users or groups in the Active Directory that have administrator rights to the + * file share. A group must be prefixed with the @ character. Acceptable formats include: + * DOMAIN\User1, user1, @group1, and + * @DOMAIN\group1. Can only be set if Authentication is set to + * ActiveDirectory.

                        */ - Role?: string; + AdminUserList?: string[]; /** - *

                        The ARN of the backend storage used for storing file data. A prefix name can be added to - * the S3 bucket name. It must end with a "/".

                        + *

                        A list of users or groups in the Active Directory that are allowed to access the file + * share. A group must be prefixed with the @ character. Acceptable formats include: + * DOMAIN\User1, user1, @group1, and + * @DOMAIN\group1. Can only be set if Authentication is set to + * ActiveDirectory.

                        */ - LocationARN?: string; + ValidUserList?: string[]; + + /** + *

                        A list of users or groups in the Active Directory that are not allowed to access the + * file share. A group must be prefixed with the @ character. Acceptable formats include: + * DOMAIN\User1, user1, @group1, and + * @DOMAIN\group1. Can only be set if Authentication is set to + * ActiveDirectory.

                        + */ + InvalidUserList?: string[]; + + /** + *

                        The Amazon Resource Name (ARN) of the storage used for the audit logs.

                        + */ + AuditDestinationARN?: string; /** *

                        The authentication method of the file share. The default is @@ -3455,43 +3578,32 @@ export interface SMBFileShareInfo { CaseSensitivity?: CaseSensitivity | string; /** - *

                        Indicates whether AccessBasedEnumeration is enabled.

                        + *

                        A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key + * name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can + * view all tags using the ListTagsForResource API operation.

                        */ - AccessBasedEnumeration?: boolean; + Tags?: Tag[]; /** - *

                        The status of the file share.

                        + *

                        The name of the file share. Optional.

                        * - *

                        Valid Values: CREATING | UPDATING | AVAILABLE | - * DELETING - *

                        - */ - FileShareStatus?: string; - - /** - *

                        The notification policy of the file share.

                        + * + *

                        + * FileShareName must be set if an S3 prefix name is set in + * LocationARN.

                        + *
                        */ - NotificationPolicy?: string; + FileShareName?: string; /** - *

                        The default storage class for objects put into an Amazon S3 bucket by the file gateway. - * The default value is S3_INTELLIGENT_TIERING. Optional.

                        - * - *

                        Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | - * S3_STANDARD_IA | S3_ONEZONE_IA - *

                        + *

                        Refresh cache information.

                        */ - DefaultStorageClass?: string; + CacheAttributes?: CacheAttributes; /** - *

                        A value that enables guessing of the MIME type for uploaded objects based on file - * extensions. Set this value to true to enable MIME type guessing, otherwise set - * to false. The default value is true.

                        - * - *

                        Valid Values: true | false - *

                        + *

                        The notification policy of the file share.

                        */ - GuessMIMETypeEnabled?: boolean; + NotificationPolicy?: string; } export namespace SMBFileShareInfo { @@ -3533,39 +3645,17 @@ export namespace DescribeSMBSettingsInput { export type SMBSecurityStrategy = "ClientSpecified" | "MandatoryEncryption" | "MandatorySigning"; export interface DescribeSMBSettingsOutput { - /** - *

                        The type of security strategy that was specified for file gateway.

                        - * - *
                          - *
                        • - *

                          - * ClientSpecified: If you use this option, requests are established - * based on what is negotiated by the client. This option is recommended when you want - * to maximize compatibility across different clients in your environment.

                          - *
                        • - *
                        • - *

                          - * MandatorySigning: If you use this option, file gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing enabled. This option works - * with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.

                          - *
                        • - *
                        • - *

                          - * MandatoryEncryption: If you use this option, file gateway only allows - * connections from SMBv3 clients that have encryption enabled. This option is highly - * recommended for environments that handle sensitive data. This option works with SMB - * clients on Microsoft Windows 8, Windows Server 2012 or newer.

                          - *
                        • - *
                        - */ - SMBSecurityStrategy?: SMBSecurityStrategy | string; - /** *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                        */ GatewayARN?: string; + /** + *

                        The name of the domain that the gateway is joined to.

                        + */ + DomainName?: string; + /** *

                        Indicates the status of a gateway that is a member of the Active Directory * domain.

                        @@ -3609,11 +3699,6 @@ export interface DescribeSMBSettingsOutput { */ ActiveDirectoryStatus?: ActiveDirectoryStatus | string; - /** - *

                        The name of the domain that the gateway is joined to.

                        - */ - DomainName?: string; - /** *

                        This value is true if a password for the guest user smbguest * is set, otherwise false.

                        @@ -3623,6 +3708,33 @@ export interface DescribeSMBSettingsOutput { */ SMBGuestPasswordSet?: boolean; + /** + *

                        The type of security strategy that was specified for file gateway.

                        + * + *
                          + *
                        • + *

                          + * ClientSpecified: If you use this option, requests are established + * based on what is negotiated by the client. This option is recommended when you want + * to maximize compatibility across different clients in your environment.

                          + *
                        • + *
                        • + *

                          + * MandatorySigning: If you use this option, file gateway only allows + * connections from SMBv2 or SMBv3 clients that have signing enabled. This option works + * with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.

                          + *
                        • + *
                        • + *

                          + * MandatoryEncryption: If you use this option, file gateway only allows + * connections from SMBv3 clients that have encryption enabled. This option is highly + * recommended for environments that handle sensitive data. This option works with SMB + * clients on Microsoft Windows 8, Windows Server 2012 or newer.

                          + *
                        • + *
                        + */ + SMBSecurityStrategy?: SMBSecurityStrategy | string; + /** *

                        The shares on this gateway appear when listing shares.

                        */ @@ -3653,7 +3765,12 @@ export namespace DescribeSnapshotScheduleInput { }); } -export interface DescribeSnapshotScheduleOutput { +export interface DescribeSnapshotScheduleOutput { + /** + *

                        The Amazon Resource Name (ARN) of the volume that was specified in the request.

                        + */ + VolumeARN?: string; + /** *

                        The hour of the day at which the snapshot schedule begins represented as * hh, where hh is the hour (0 to 23). The hour @@ -3662,31 +3779,26 @@ export interface DescribeSnapshotScheduleOutput { StartAt?: number; /** - *

                        A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key - * name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can - * view all tags using the ListTagsForResource API operation.

                        - */ - Tags?: Tag[]; - - /** - *

                        A value that indicates the time zone of the gateway.

                        + *

                        The number of hours between snapshots.

                        */ - Timezone?: string; + RecurrenceInHours?: number; /** - *

                        The Amazon Resource Name (ARN) of the volume that was specified in the request.

                        + *

                        The snapshot description.

                        */ - VolumeARN?: string; + Description?: string; /** - *

                        The number of hours between snapshots.

                        + *

                        A value that indicates the time zone of the gateway.

                        */ - RecurrenceInHours?: number; + Timezone?: string; /** - *

                        The snapshot description.

                        + *

                        A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key + * name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can + * view all tags using the ListTagsForResource API operation.

                        */ - Description?: string; + Tags?: Tag[]; } export namespace DescribeSnapshotScheduleOutput { @@ -3716,50 +3828,25 @@ export namespace DescribeStorediSCSIVolumesInput { *

                        Describes an iSCSI stored volume.

                        */ export interface StorediSCSIVolume { - /** - *

                        The unique identifier of the volume, e.g., vol-AE4B946D.

                        - */ - VolumeId?: string; - - /** - *

                        The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon - * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                        - */ - KMSKey?: string; - /** *

                        The Amazon Resource Name (ARN) of the storage volume.

                        */ VolumeARN?: string; /** - *

                        An VolumeiSCSIAttributes object that represents a collection of iSCSI - * attributes for one stored volume.

                        - */ - VolumeiSCSIAttributes?: VolumeiSCSIAttributes; - - /** - *

                        One of the VolumeStatus values that indicates the state of the storage volume.

                        + *

                        The unique identifier of the volume, e.g., vol-AE4B946D.

                        */ - VolumeStatus?: string; + VolumeId?: string; /** - *

                        The name of the iSCSI target used by an initiator to connect to a volume and used as a - * suffix for the target ARN. For example, specifying TargetName as - * myvolume results in the target ARN of - * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. - * The target name must be unique across all volumes on a gateway.

                        - * - *

                        If you don't specify a value, Storage Gateway uses the value that was previously - * used for this volume as the new target name.

                        + *

                        One of the VolumeType enumeration values describing the type of the volume.

                        */ - TargetName?: string; + VolumeType?: string; /** - *

                        One of the VolumeType enumeration values describing the type of the volume.

                        + *

                        One of the VolumeStatus values that indicates the state of the storage volume.

                        */ - VolumeType?: string; + VolumeStatus?: string; /** *

                        A value that indicates whether a storage volume is attached to, detached from, or is in @@ -3773,6 +3860,13 @@ export interface StorediSCSIVolume { */ VolumeSizeInBytes?: number; + /** + *

                        Represents the percentage complete if the volume is restoring or bootstrapping that + * represents the percent of data transferred. This field does not appear in the response if + * the stored volume is not restoring or bootstrapping.

                        + */ + VolumeProgress?: number; + /** *

                        The ID of the local disk that was specified in the CreateStorediSCSIVolume operation.

                        */ @@ -3784,6 +3878,27 @@ export interface StorediSCSIVolume { */ SourceSnapshotId?: string; + /** + *

                        Indicates if when the stored volume was created, existing data on the underlying local + * disk was preserved.

                        + * + *

                        Valid Values: true | false + *

                        + */ + PreservedExistingData?: boolean; + + /** + *

                        An VolumeiSCSIAttributes object that represents a collection of iSCSI + * attributes for one stored volume.

                        + */ + VolumeiSCSIAttributes?: VolumeiSCSIAttributes; + + /** + *

                        The date the volume was created. Volumes created prior to March 28, 2017 don’t have this + * timestamp.

                        + */ + CreatedDate?: Date; + /** *

                        The size of the data stored on the volume in bytes. This value is calculated based on * the number of blocks that are touched, instead of the actual amount of data written. This @@ -3799,26 +3914,23 @@ export interface StorediSCSIVolume { VolumeUsedInBytes?: number; /** - *

                        Represents the percentage complete if the volume is restoring or bootstrapping that - * represents the percent of data transferred. This field does not appear in the response if - * the stored volume is not restoring or bootstrapping.

                        - */ - VolumeProgress?: number; - - /** - *

                        The date the volume was created. Volumes created prior to March 28, 2017 don’t have this - * timestamp.

                        + *

                        The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon + * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can + * only be set when KMSEncrypted is true. Optional.

                        */ - CreatedDate?: Date; + KMSKey?: string; /** - *

                        Indicates if when the stored volume was created, existing data on the underlying local - * disk was preserved.

                        + *

                        The name of the iSCSI target used by an initiator to connect to a volume and used as a + * suffix for the target ARN. For example, specifying TargetName as + * myvolume results in the target ARN of + * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. + * The target name must be unique across all volumes on a gateway.

                        * - *

                        Valid Values: true | false - *

                        + *

                        If you don't specify a value, Storage Gateway uses the value that was previously + * used for this volume as the new target name.

                        */ - PreservedExistingData?: boolean; + TargetName?: string; } export namespace StorediSCSIVolume { @@ -3928,10 +4040,10 @@ export namespace DescribeStorediSCSIVolumesOutput { */ export interface DescribeTapeArchivesInput { /** - *

                        Specifies that the number of virtual tapes described be limited to the specified - * number.

                        + *

                        Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual + * tapes you want to describe.

                        */ - Limit?: number; + TapeARNs?: string[]; /** *

                        An opaque string that indicates the position at which to begin describing virtual @@ -3940,10 +4052,10 @@ export interface DescribeTapeArchivesInput { Marker?: string; /** - *

                        Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual - * tapes you want to describe.

                        + *

                        Specifies that the number of virtual tapes described be limited to the specified + * number.

                        */ - TapeARNs?: string[]; + Limit?: number; } export namespace DescribeTapeArchivesInput { @@ -3956,6 +4068,11 @@ export namespace DescribeTapeArchivesInput { *

                        Represents a virtual tape that is archived in the virtual tape shelf (VTS).

                        */ export interface TapeArchive { + /** + *

                        The Amazon Resource Name (ARN) of an archived virtual tape.

                        + */ + TapeARN?: string; + /** *

                        The barcode that identifies the archived virtual tape.

                        */ @@ -3967,13 +4084,9 @@ export interface TapeArchive { TapeCreatedDate?: Date; /** - *

                        The size, in bytes, of data stored on the virtual tape.

                        - * - * - *

                        This value is not available for tapes created prior to May 13, 2015.

                        - *
                        + *

                        The size, in bytes, of the archived virtual tape.

                        */ - TapeUsedInBytes?: number; + TapeSizeInBytes?: number; /** *

                        The time that the archiving of the virtual tape was completed.

                        @@ -3992,10 +4105,18 @@ export interface TapeArchive { RetrievedTo?: string; /** - *

                        Set to true if the archived tape is stored as write-once-read-many - * (WORM).

                        + *

                        The current state of the archived virtual tape.

                        */ - Worm?: boolean; + TapeStatus?: string; + + /** + *

                        The size, in bytes, of data stored on the virtual tape.

                        + * + * + *

                        This value is not available for tapes created prior to May 13, 2015.

                        + *
                        + */ + TapeUsedInBytes?: number; /** *

                        The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon @@ -4004,12 +4125,6 @@ export interface TapeArchive { */ KMSKey?: string; - /** - *

                        If the archived tape is subject to tape retention lock, the date that the archived tape - * started being retained.

                        - */ - RetentionStartDate?: Date; - /** *

                        The ID of the pool that was used to archive the tape. The tapes in this pool are * archived in the S3 storage class that is associated with the pool.

                        @@ -4020,27 +4135,24 @@ export interface TapeArchive { PoolId?: string; /** - *

                        The time that the tape entered the custom tape pool.

                        - * - *

                        The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' - * format.

                        - */ - PoolEntryDate?: Date; - - /** - *

                        The size, in bytes, of the archived virtual tape.

                        + *

                        Set to true if the archived tape is stored as write-once-read-many + * (WORM).

                        */ - TapeSizeInBytes?: number; + Worm?: boolean; /** - *

                        The Amazon Resource Name (ARN) of an archived virtual tape.

                        + *

                        If the archived tape is subject to tape retention lock, the date that the archived tape + * started being retained.

                        */ - TapeARN?: string; + RetentionStartDate?: Date; /** - *

                        The current state of the archived virtual tape.

                        + *

                        The time that the tape entered the custom tape pool.

                        + * + *

                        The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' + * format.

                        */ - TapeStatus?: string; + PoolEntryDate?: Date; } export namespace TapeArchive { @@ -4053,14 +4165,6 @@ export namespace TapeArchive { *

                        DescribeTapeArchivesOutput

                        */ export interface DescribeTapeArchivesOutput { - /** - *

                        An opaque string that indicates the position at which the virtual tapes that were - * fetched for description ended. Use this marker in your next request to fetch the next set - * of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to - * describe, this field does not appear in the response.

                        - */ - Marker?: string; - /** *

                        An array of virtual tape objects in the virtual tape shelf (VTS). The description * includes of the Amazon Resource Name (ARN) of the virtual tapes. The information returned @@ -4068,6 +4172,14 @@ export interface DescribeTapeArchivesOutput { * tapes, progress of the description, and tape barcode.

                        */ TapeArchives?: TapeArchive[]; + + /** + *

                        An opaque string that indicates the position at which the virtual tapes that were + * fetched for description ended. Use this marker in your next request to fetch the next set + * of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to + * describe, this field does not appear in the response.

                        + */ + Marker?: string; } export namespace DescribeTapeArchivesOutput { @@ -4081,10 +4193,10 @@ export namespace DescribeTapeArchivesOutput { */ export interface DescribeTapeRecoveryPointsInput { /** - *

                        Specifies that the number of virtual tape recovery points that are described be limited - * to the specified number.

                        + *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                        */ - Limit?: number; + GatewayARN: string | undefined; /** *

                        An opaque string that indicates the position at which to begin describing the virtual @@ -4093,10 +4205,10 @@ export interface DescribeTapeRecoveryPointsInput { Marker?: string; /** - *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                        + *

                        Specifies that the number of virtual tape recovery points that are described be limited + * to the specified number.

                        */ - GatewayARN: string | undefined; + Limit?: number; } export namespace DescribeTapeRecoveryPointsInput { @@ -4110,14 +4222,9 @@ export namespace DescribeTapeRecoveryPointsInput { */ export interface TapeRecoveryPointInfo { /** - *

                        The size, in bytes, of the virtual tapes to recover.

                        - */ - TapeSizeInBytes?: number; - - /** - *

                        The status of the virtual tapes.

                        + *

                        The Amazon Resource Name (ARN) of the virtual tape.

                        */ - TapeStatus?: string; + TapeARN?: string; /** *

                        The time when the point-in-time view of the virtual tape was replicated for later @@ -4129,9 +4236,14 @@ export interface TapeRecoveryPointInfo { TapeRecoveryPointTime?: Date; /** - *

                        The Amazon Resource Name (ARN) of the virtual tape.

                        + *

                        The size, in bytes, of the virtual tapes to recover.

                        */ - TapeARN?: string; + TapeSizeInBytes?: number; + + /** + *

                        The status of the virtual tapes.

                        + */ + TapeStatus?: string; } export namespace TapeRecoveryPointInfo { @@ -4145,14 +4257,10 @@ export namespace TapeRecoveryPointInfo { */ export interface DescribeTapeRecoveryPointsOutput { /** - *

                        An opaque string that indicates the position at which the virtual tape recovery points - * that were listed for description ended.

                        - * - *

                        Use this marker in your next request to list the next set of virtual tape recovery - * points in the list. If there are no more recovery points to describe, this field does not - * appear in the response.

                        + *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                        */ - Marker?: string; + GatewayARN?: string; /** *

                        An array of TapeRecoveryPointInfos that are available for the specified gateway.

                        @@ -4160,10 +4268,14 @@ export interface DescribeTapeRecoveryPointsOutput { TapeRecoveryPointInfos?: TapeRecoveryPointInfo[]; /** - *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                        + *

                        An opaque string that indicates the position at which the virtual tape recovery points + * that were listed for description ended.

                        + * + *

                        Use this marker in your next request to list the next set of virtual tape recovery + * points in the list. If there are no more recovery points to describe, this field does not + * appear in the response.

                        */ - GatewayARN?: string; + Marker?: string; } export namespace DescribeTapeRecoveryPointsOutput { @@ -4182,16 +4294,6 @@ export interface DescribeTapesInput { */ GatewayARN: string | undefined; - /** - *

                        Specifies that the number of virtual tapes described be limited to the specified - * number.

                        - * - * - *

                        Amazon Web Services may impose its own limit, if this field is not set.

                        - *
                        - */ - Limit?: number; - /** *

                        Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual * tapes you want to describe. If this parameter is not specified, Tape gateway returns a @@ -4206,6 +4308,16 @@ export interface DescribeTapesInput { *

                        If not specified, the first page of results is retrieved.

                        */ Marker?: string; + + /** + *

                        Specifies that the number of virtual tapes described be limited to the specified + * number.

                        + * + * + *

                        Amazon Web Services may impose its own limit, if this field is not set.

                        + *
                        + */ + Limit?: number; } export namespace DescribeTapesInput { @@ -4219,15 +4331,35 @@ export namespace DescribeTapesInput { */ export interface Tape { /** - *

                        The current state of the virtual tape.

                        + *

                        The Amazon Resource Name (ARN) of the virtual tape.

                        */ - TapeStatus?: string; + TapeARN?: string; + + /** + *

                        The barcode that identifies a specific virtual tape.

                        + */ + TapeBarcode?: string; + + /** + *

                        The date the virtual tape was created.

                        + */ + TapeCreatedDate?: Date; /** *

                        The size, in bytes, of the virtual tape capacity.

                        */ TapeSizeInBytes?: number; + /** + *

                        The current state of the virtual tape.

                        + */ + TapeStatus?: string; + + /** + *

                        The virtual tape library (VTL) device that the virtual tape is associated with.

                        + */ + VTLDevice?: string; + /** *

                        For archiving virtual tapes, indicates how much data remains to be uploaded before * archiving is complete.

                        @@ -4246,9 +4378,11 @@ export interface Tape { TapeUsedInBytes?: number; /** - *

                        The virtual tape library (VTL) device that the virtual tape is associated with.

                        + *

                        The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon + * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can + * only be set when KMSEncrypted is true. Optional.

                        */ - VTLDevice?: string; + KMSKey?: string; /** *

                        The ID of the pool that contains tapes that will be archived. The tapes in this pool are @@ -4261,28 +4395,6 @@ export interface Tape { */ PoolId?: string; - /** - *

                        The Amazon Resource Name (ARN) of the virtual tape.

                        - */ - TapeARN?: string; - - /** - *

                        The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon - * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                        - */ - KMSKey?: string; - - /** - *

                        The date the virtual tape was created.

                        - */ - TapeCreatedDate?: Date; - - /** - *

                        The date that the tape is first archived with tape retention lock enabled.

                        - */ - RetentionStartDate?: Date; - /** *

                        If the tape is archived as write-once-read-many (WORM), this value is * true.

                        @@ -4290,9 +4402,9 @@ export interface Tape { Worm?: boolean; /** - *

                        The barcode that identifies a specific virtual tape.

                        + *

                        The date that the tape is first archived with tape retention lock enabled.

                        */ - TapeBarcode?: string; + RetentionStartDate?: Date; /** *

                        The date that the tape enters a custom tape pool.

                        @@ -4346,11 +4458,6 @@ export namespace DescribeUploadBufferInput { } export interface DescribeUploadBufferOutput { - /** - *

                        The total number of bytes allocated in the gateway's as upload buffer.

                        - */ - UploadBufferAllocatedInBytes?: number; - /** *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                        @@ -4369,6 +4476,11 @@ export interface DescribeUploadBufferOutput { *

                        The total number of bytes being used in the gateway's upload buffer.

                        */ UploadBufferUsedInBytes?: number; + + /** + *

                        The total number of bytes allocated in the gateway's as upload buffer.

                        + */ + UploadBufferAllocatedInBytes?: number; } export namespace DescribeUploadBufferOutput { @@ -4382,10 +4494,10 @@ export namespace DescribeUploadBufferOutput { */ export interface DescribeVTLDevicesInput { /** - *

                        An opaque string that indicates the position at which to begin describing the VTL - * devices.

                        + *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                        */ - Marker?: string; + GatewayARN: string | undefined; /** *

                        An array of strings, where each string represents the Amazon Resource Name (ARN) of a @@ -4399,10 +4511,10 @@ export interface DescribeVTLDevicesInput { VTLDeviceARNs?: string[]; /** - *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                        + *

                        An opaque string that indicates the position at which to begin describing the VTL + * devices.

                        */ - GatewayARN: string | undefined; + Marker?: string; /** *

                        Specifies that the number of VTL devices described be limited to the specified @@ -4421,26 +4533,26 @@ export namespace DescribeVTLDevicesInput { *

                        Lists iSCSI information about a VTL device.

                        */ export interface DeviceiSCSIAttributes { - /** - *

                        Indicates whether mutual CHAP is enabled for the iSCSI target.

                        - */ - ChapEnabled?: boolean; - /** *

                        Specifies the unique Amazon Resource Name (ARN) that encodes the iSCSI qualified * name(iqn) of a tape drive or media changer target.

                        */ TargetARN?: string; + /** + *

                        The network interface identifier of the VTL device.

                        + */ + NetworkInterfaceId?: string; + /** *

                        The port used to communicate with iSCSI VTL device targets.

                        */ NetworkInterfacePort?: number; /** - *

                        The network interface identifier of the VTL device.

                        + *

                        Indicates whether mutual CHAP is enabled for the iSCSI target.

                        */ - NetworkInterfaceId?: string; + ChapEnabled?: boolean; } export namespace DeviceiSCSIAttributes { @@ -4460,9 +4572,9 @@ export interface VTLDevice { VTLDeviceARN?: string; /** - *

                        Specifies the model number of device that the VTL device emulates.

                        + *

                        Specifies the type of device that the VTL device emulates.

                        */ - VTLDeviceProductIdentifier?: string; + VTLDeviceType?: string; /** *

                        Specifies the vendor of the device that the VTL device object emulates.

                        @@ -4470,9 +4582,9 @@ export interface VTLDevice { VTLDeviceVendor?: string; /** - *

                        Specifies the type of device that the VTL device emulates.

                        + *

                        Specifies the model number of device that the VTL device emulates.

                        */ - VTLDeviceType?: string; + VTLDeviceProductIdentifier?: string; /** *

                        A list of iSCSI information about a VTL device.

                        @@ -4490,6 +4602,12 @@ export namespace VTLDevice { *

                        DescribeVTLDevicesOutput

                        */ export interface DescribeVTLDevicesOutput { + /** + *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                        + */ + GatewayARN?: string; + /** *

                        An array of VTL device objects composed of the Amazon Resource Name (ARN) of the VTL * devices.

                        @@ -4503,12 +4621,6 @@ export interface DescribeVTLDevicesOutput { * appear in the response.

                        */ Marker?: string; - - /** - *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                        - */ - GatewayARN?: string; } export namespace DescribeVTLDevicesOutput { @@ -4539,16 +4651,10 @@ export namespace DescribeWorkingStorageInput { */ export interface DescribeWorkingStorageOutput { /** - *

                        The total working storage in bytes allocated for the gateway. If no working storage is - * configured for the gateway, this field returns 0.

                        - */ - WorkingStorageAllocatedInBytes?: number; - - /** - *

                        The total working storage in bytes in use by the gateway. If no working storage is - * configured for the gateway, this field returns 0.

                        + *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                        */ - WorkingStorageUsedInBytes?: number; + GatewayARN?: string; /** *

                        An array of the gateway's local disk IDs that are configured as working storage. @@ -4559,10 +4665,16 @@ export interface DescribeWorkingStorageOutput { DiskIds?: string[]; /** - *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                        + *

                        The total working storage in bytes in use by the gateway. If no working storage is + * configured for the gateway, this field returns 0.

                        */ - GatewayARN?: string; + WorkingStorageUsedInBytes?: number; + + /** + *

                        The total working storage in bytes allocated for the gateway. If no working storage is + * configured for the gateway, this field returns 0.

                        + */ + WorkingStorageAllocatedInBytes?: number; } export namespace DescribeWorkingStorageOutput { @@ -4652,31 +4764,29 @@ export namespace DisableGatewayOutput { */ export interface Disk { /** - *

                        The device node of a local disk as assigned by the virtualization environment.

                        + *

                        The unique device ID or other distinguishing data that identifies a local disk.

                        */ - DiskNode?: string; + DiskId?: string; /** - *

                        The local disk size in bytes.

                        + *

                        The path of a local disk in the gateway virtual machine (VM).

                        */ - DiskSizeInBytes?: number; + DiskPath?: string; /** - *

                        The unique device ID or other distinguishing data that identifies a local disk.

                        + *

                        The device node of a local disk as assigned by the virtualization environment.

                        */ - DiskId?: string; + DiskNode?: string; /** - *

                        A list of values that represents attributes of a local disk.

                        + *

                        A value that represents the status of a local disk.

                        */ - DiskAttributeList?: string[]; + DiskStatus?: string; /** - *

                        The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in - * the response if the local disk is not defined as an iSCSI target. The format of this field - * is targetIqn::LUNNumber::region-volumeId.

                        + *

                        The local disk size in bytes.

                        */ - DiskAllocationResource?: string; + DiskSizeInBytes?: number; /** *

                        One of the DiskAllocationType enumeration values that identifies how a @@ -4688,14 +4798,16 @@ export interface Disk { DiskAllocationType?: string; /** - *

                        A value that represents the status of a local disk.

                        + *

                        The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in + * the response if the local disk is not defined as an iSCSI target. The format of this field + * is targetIqn::LUNNumber::region-volumeId.

                        */ - DiskStatus?: string; + DiskAllocationResource?: string; /** - *

                        The path of a local disk in the gateway virtual machine (VM).

                        + *

                        A list of values that represents attributes of a local disk.

                        */ - DiskPath?: string; + DiskAttributeList?: string[]; } export namespace Disk { @@ -4711,19 +4823,9 @@ export type FileShareType = "NFS" | "SMB"; */ export interface FileShareInfo { /** - *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                        - */ - GatewayARN?: string; - - /** - *

                        The status of the file share.

                        - * - *

                        Valid Values: CREATING | UPDATING | AVAILABLE | - * DELETING - *

                        + *

                        The type of the file share.

                        */ - FileShareStatus?: string; + FileShareType?: FileShareType | string; /** *

                        The Amazon Resource Name (ARN) of the file share.

                        @@ -4736,9 +4838,19 @@ export interface FileShareInfo { FileShareId?: string; /** - *

                        The type of the file share.

                        + *

                        The status of the file share.

                        + * + *

                        Valid Values: CREATING | UPDATING | AVAILABLE | + * DELETING + *

                        */ - FileShareType?: FileShareType | string; + FileShareStatus?: string; + + /** + *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                        + */ + GatewayARN?: string; } export namespace FileShareInfo { @@ -4751,6 +4863,13 @@ export namespace FileShareInfo { *

                        Describes a gateway object.

                        */ export interface GatewayInfo { + /** + *

                        The unique identifier assigned to your gateway during activation. This ID becomes part + * of the gateway Amazon Resource Name (ARN), which you use as input for other + * operations.

                        + */ + GatewayId?: string; + /** *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                        @@ -4758,9 +4877,9 @@ export interface GatewayInfo { GatewayARN?: string; /** - *

                        The ID of the Amazon EC2 instance that was used to launch the gateway.

                        + *

                        The type of the gateway.

                        */ - Ec2InstanceId?: string; + GatewayType?: string; /** *

                        The state of the gateway.

                        @@ -4770,27 +4889,20 @@ export interface GatewayInfo { */ GatewayOperationalState?: string; - /** - *

                        The unique identifier assigned to your gateway during activation. This ID becomes part - * of the gateway Amazon Resource Name (ARN), which you use as input for other - * operations.

                        - */ - GatewayId?: string; - /** *

                        The name of the gateway.

                        */ GatewayName?: string; /** - *

                        The AWS Region where the Amazon EC2 instance is located.

                        + *

                        The ID of the Amazon EC2 instance that was used to launch the gateway.

                        */ - Ec2InstanceRegion?: string; + Ec2InstanceId?: string; /** - *

                        The type of the gateway.

                        + *

                        The AWS Region where the Amazon EC2 instance is located.

                        */ - GatewayType?: string; + Ec2InstanceRegion?: string; } export namespace GatewayInfo { @@ -4802,20 +4914,7 @@ export namespace GatewayInfo { /** *

                        JoinDomainInput

                        */ -export interface JoinDomainInput { - /** - *

                        Specifies the time in seconds, in which the JoinDomain operation must - * complete. The default is 20 seconds.

                        - */ - TimeoutInSeconds?: number; - - /** - *

                        The organizational unit (OU) is a container in an Active Directory that can hold users, - * groups, computers, and other OUs and this parameter specifies the OU that the gateway will - * join within the AD domain.

                        - */ - OrganizationalUnit?: string; - +export interface JoinDomainInput { /** *

                        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                        @@ -4823,10 +4922,16 @@ export interface JoinDomainInput { GatewayARN: string | undefined; /** - *

                        Sets the password of the user who has permission to add the gateway to the Active - * Directory domain.

                        + *

                        The name of the domain that you want the gateway to join.

                        */ - Password: string | undefined; + DomainName: string | undefined; + + /** + *

                        The organizational unit (OU) is a container in an Active Directory that can hold users, + * groups, computers, and other OUs and this parameter specifies the OU that the gateway will + * join within the AD domain.

                        + */ + OrganizationalUnit?: string; /** *

                        List of IPv4 addresses, NetBIOS names, or host names of your domain server. If you need @@ -4836,9 +4941,10 @@ export interface JoinDomainInput { DomainControllers?: string[]; /** - *

                        The name of the domain that you want the gateway to join.

                        + *

                        Specifies the time in seconds, in which the JoinDomain operation must + * complete. The default is 20 seconds.

                        */ - DomainName: string | undefined; + TimeoutInSeconds?: number; /** *

                        Sets the user name of user who has permission to add the gateway to the Active Directory @@ -4847,6 +4953,12 @@ export interface JoinDomainInput { * permissions to join computers to the domain.

                        */ UserName: string | undefined; + + /** + *

                        Sets the password of the user who has permission to add the gateway to the Active + * Directory domain.

                        + */ + Password: string | undefined; } export namespace JoinDomainInput { @@ -4947,6 +5059,12 @@ export namespace ListAutomaticTapeCreationPoliciesOutput { *

                        ListFileShareInput

                        */ export interface ListFileSharesInput { + /** + *

                        The Amazon Resource Name (ARN) of the gateway whose file shares you want to list. If + * this field is not present, all file shares under your account are listed.

                        + */ + GatewayARN?: string; + /** *

                        The maximum number of file shares to return in the response. The value must be an * integer with a value greater than zero. Optional.

                        @@ -4959,12 +5077,6 @@ export interface ListFileSharesInput { * ListFileShares. Optional.

                        */ Marker?: string; - - /** - *

                        The Amazon Resource Name (ARN) of the gateway whose file shares you want to list. If - * this field is not present, all file shares under your account are listed.

                        - */ - GatewayARN?: string; } export namespace ListFileSharesInput { @@ -4977,6 +5089,12 @@ export namespace ListFileSharesInput { *

                        ListFileShareOutput

                        */ export interface ListFileSharesOutput { + /** + *

                        If the request includes Marker, the response returns that value in this + * field.

                        + */ + Marker?: string; + /** *

                        If a value is present, there are more file shares to return. In a subsequent request, * use NextMarker as the value for Marker to retrieve the next set @@ -4984,12 +5102,6 @@ export interface ListFileSharesOutput { */ NextMarker?: string; - /** - *

                        If the request includes Marker, the response returns that value in this - * field.

                        - */ - Marker?: string; - /** *

                        An array of information about the file gateway's file shares.

                        */ @@ -5019,17 +5131,17 @@ export namespace ListFileSharesOutput { *
                      */ export interface ListGatewaysInput { - /** - *

                      Specifies that the list of gateways returned be limited to the specified number of - * items.

                      - */ - Limit?: number; - /** *

                      An opaque string that indicates the position at which to begin the returned list of * gateways.

                      */ Marker?: string; + + /** + *

                      Specifies that the list of gateways returned be limited to the specified number of + * items.

                      + */ + Limit?: number; } export namespace ListGatewaysInput { @@ -5040,15 +5152,15 @@ export namespace ListGatewaysInput { export interface ListGatewaysOutput { /** - *

                      Use the marker in your next request to fetch the next set of gateways in the list. If - * there are no more gateways to list, this field does not appear in the response.

                      + *

                      An array of GatewayInfo objects.

                      */ - Marker?: string; + Gateways?: GatewayInfo[]; /** - *

                      An array of GatewayInfo objects.

                      + *

                      Use the marker in your next request to fetch the next set of gateways in the list. If + * there are no more gateways to list, this field does not appear in the response.

                      */ - Gateways?: GatewayInfo[]; + Marker?: string; } export namespace ListGatewaysOutput { @@ -5110,17 +5222,17 @@ export interface ListTagsForResourceInput { */ ResourceARN: string | undefined; - /** - *

                      Specifies that the list of tags returned be limited to the specified number of - * items.

                      - */ - Limit?: number; - /** *

                      An opaque string that indicates the position at which to begin returning the list of * tags.

                      */ Marker?: string; + + /** + *

                      Specifies that the list of tags returned be limited to the specified number of + * items.

                      + */ + Limit?: number; } export namespace ListTagsForResourceInput { @@ -5138,16 +5250,16 @@ export interface ListTagsForResourceOutput { */ ResourceARN?: string; - /** - *

                      An array that contains the tags for the specified resource.

                      - */ - Tags?: Tag[]; - /** *

                      An opaque string that indicates the position at which to stop returning the list of * tags.

                      */ Marker?: string; + + /** + *

                      An array that contains the tags for the specified resource.

                      + */ + Tags?: Tag[]; } export namespace ListTagsForResourceOutput { @@ -5188,10 +5300,23 @@ export type PoolStatus = "ACTIVE" | "DELETED"; */ export interface PoolInfo { /** - *

                      Status of the custom tape pool. Pool can be ACTIVE or - * DELETED.

                      + *

                      The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your + * account and AWS Region.

                      */ - PoolStatus?: PoolStatus | string; + PoolARN?: string; + + /** + *

                      The name of the custom tape pool. PoolName can use all ASCII characters, + * except '/' and '\'.

                      + */ + PoolName?: string; + + /** + *

                      The storage class that is associated with the custom pool. When you use your backup + * application to eject the tape, the tape is archived directly into the storage class (S3 + * Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

                      + */ + StorageClass?: TapeStorageClass | string; /** *

                      Tape retention lock type, which can be configured in two modes. When configured in @@ -5208,23 +5333,10 @@ export interface PoolInfo { RetentionLockTimeInDays?: number; /** - *

                      The name of the custom tape pool. PoolName can use all ASCII characters, - * except '/' and '\'.

                      - */ - PoolName?: string; - - /** - *

                      The storage class that is associated with the custom pool. When you use your backup - * application to eject the tape, the tape is archived directly into the storage class (S3 - * Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

                      - */ - StorageClass?: TapeStorageClass | string; - - /** - *

                      The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your - * account and AWS Region.

                      + *

                      Status of the custom tape pool. Pool can be ACTIVE or + * DELETED.

                      */ - PoolARN?: string; + PoolStatus?: PoolStatus | string; } export namespace PoolInfo { @@ -5234,19 +5346,19 @@ export namespace PoolInfo { } export interface ListTapePoolsOutput { - /** - *

                      A string that indicates the position at which to begin the returned list of tape pools. - * Use the marker in your next request to continue pagination of tape pools. If there are no - * more tape pools to list, this element does not appear in the response body.

                      - */ - Marker?: string; - /** *

                      An array of PoolInfo objects, where each object describes a single custom * tape pool. If there are no custom tape pools, the PoolInfos is an empty array. *

                      */ PoolInfos?: PoolInfo[]; + + /** + *

                      A string that indicates the position at which to begin the returned list of tape pools. + * Use the marker in your next request to continue pagination of tape pools. If there are no + * more tape pools to list, this element does not appear in the response body.

                      + */ + Marker?: string; } export namespace ListTapePoolsOutput { @@ -5315,6 +5427,11 @@ export interface TapeInfo { */ TapeBarcode?: string; + /** + *

                      The size, in bytes, of a virtual tape.

                      + */ + TapeSizeInBytes?: number; + /** *

                      The status of the tape.

                      */ @@ -5326,22 +5443,6 @@ export interface TapeInfo { */ GatewayARN?: string; - /** - *

                      The date that the tape entered the custom tape pool with tape retention lock - * enabled.

                      - */ - PoolEntryDate?: Date; - - /** - *

                      The size, in bytes, of a virtual tape.

                      - */ - TapeSizeInBytes?: number; - - /** - *

                      The date that the tape became subject to tape retention lock.

                      - */ - RetentionStartDate?: Date; - /** *

                      The ID of the pool that you want to add your tape to for archiving. The tape in this * pool is archived in the S3 storage class that is associated with the pool. When you use @@ -5352,6 +5453,17 @@ export interface TapeInfo { *

                      */ PoolId?: string; + + /** + *

                      The date that the tape became subject to tape retention lock.

                      + */ + RetentionStartDate?: Date; + + /** + *

                      The date that the tape entered the custom tape pool with tape retention lock + * enabled.

                      + */ + PoolEntryDate?: Date; } export namespace TapeInfo { @@ -5450,6 +5562,11 @@ export namespace ListVolumeRecoveryPointsInput { *

                      Describes a storage volume recovery point object.

                      */ export interface VolumeRecoveryPointInfo { + /** + *

                      The Amazon Resource Name (ARN) of the volume target.

                      + */ + VolumeARN?: string; + /** *

                      The size of the volume in bytes.

                      */ @@ -5465,11 +5582,6 @@ export interface VolumeRecoveryPointInfo { */ VolumeUsageInBytes?: number; - /** - *

                      The Amazon Resource Name (ARN) of the volume target.

                      - */ - VolumeARN?: string; - /** *

                      The time the recovery point was taken.

                      */ @@ -5518,6 +5630,12 @@ export namespace ListVolumeRecoveryPointsOutput { *
                    */ export interface ListVolumesInput { + /** + *

                    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                    + */ + GatewayARN?: string; + /** *

                    A string that indicates the position at which to begin the returned list of volumes. * Obtain the marker from the response of a previous List iSCSI Volumes request.

                    @@ -5529,12 +5647,6 @@ export interface ListVolumesInput { * items.

                    */ Limit?: number; - - /** - *

                    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                    - */ - GatewayARN?: string; } export namespace ListVolumesInput { @@ -5547,6 +5659,26 @@ export namespace ListVolumesInput { *

                    Describes a storage volume object.

                    */ export interface VolumeInfo { + /** + *

                    The Amazon Resource Name (ARN) for the storage volume. For example, the following is a + * valid ARN:

                    + * + *

                    + * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB + *

                    + * + *

                    Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

                    + */ + VolumeARN?: string; + + /** + *

                    The unique identifier assigned to the volume. This ID becomes part of the volume Amazon + * Resource Name (ARN), which you use as input for other operations.

                    + * + *

                    Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

                    + */ + VolumeId?: string; + /** *

                    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                    @@ -5563,9 +5695,9 @@ export interface VolumeInfo { GatewayId?: string; /** - *

                    One of the VolumeStatus values that indicates the state of the storage volume.

                    + *

                    One of the VolumeType enumeration values describing the type of the volume.

                    */ - VolumeAttachmentStatus?: string; + VolumeType?: string; /** *

                    The size of the volume in bytes.

                    @@ -5575,29 +5707,9 @@ export interface VolumeInfo { VolumeSizeInBytes?: number; /** - *

                    The Amazon Resource Name (ARN) for the storage volume. For example, the following is a - * valid ARN:

                    - * - *

                    - * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB - *

                    - * - *

                    Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

                    - */ - VolumeARN?: string; - - /** - *

                    The unique identifier assigned to the volume. This ID becomes part of the volume Amazon - * Resource Name (ARN), which you use as input for other operations.

                    - * - *

                    Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

                    - */ - VolumeId?: string; - - /** - *

                    One of the VolumeType enumeration values describing the type of the volume.

                    + *

                    One of the VolumeStatus values that indicates the state of the storage volume.

                    */ - VolumeType?: string; + VolumeAttachmentStatus?: string; } export namespace VolumeInfo { @@ -5624,11 +5736,10 @@ export namespace VolumeInfo { */ export interface ListVolumesOutput { /** - *

                    An array of VolumeInfo objects, where each object describes an iSCSI - * volume. If no volumes are defined for the gateway, then VolumeInfos is an - * empty array "[]".

                    + *

                    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                    */ - VolumeInfos?: VolumeInfo[]; + GatewayARN?: string; /** *

                    Use the marker in your next request to continue pagination of iSCSI volumes. If there @@ -5637,10 +5748,11 @@ export interface ListVolumesOutput { Marker?: string; /** - *

                    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                    + *

                    An array of VolumeInfo objects, where each object describes an iSCSI + * volume. If no volumes are defined for the gateway, then VolumeInfos is an + * empty array "[]".

                    */ - GatewayARN?: string; + VolumeInfos?: VolumeInfo[]; } export namespace ListVolumesOutput { @@ -5664,15 +5776,15 @@ export namespace NotifyWhenUploadedInput { export interface NotifyWhenUploadedOutput { /** - *

                    The randomly generated ID of the notification that was sent. This ID is in UUID - * format.

                    + *

                    The Amazon Resource Name (ARN) of the file share.

                    */ - NotificationId?: string; + FileShareARN?: string; /** - *

                    The Amazon Resource Name (ARN) of the file share.

                    + *

                    The randomly generated ID of the notification that was sent. This ID is in UUID + * format.

                    */ - FileShareARN?: string; + NotificationId?: string; } export namespace NotifyWhenUploadedOutput { @@ -5685,6 +5797,19 @@ export namespace NotifyWhenUploadedOutput { *

                    RefreshCacheInput

                    */ export interface RefreshCacheInput { + /** + *

                    The Amazon Resource Name (ARN) of the file share you want to refresh.

                    + */ + FileShareARN: string | undefined; + + /** + *

                    A comma-separated list of the paths of folders to refresh in the cache. The default is + * ["/"]. The default refreshes objects and folders at the root of the Amazon + * S3 bucket. If Recursive is set to true, the entire S3 bucket that + * the file share has access to is refreshed.

                    + */ + FolderList?: string[]; + /** *

                    A value that specifies whether to recursively refresh folders in the cache. The refresh * includes folders that were in the cache the last time the gateway listed the folder's @@ -5698,19 +5823,6 @@ export interface RefreshCacheInput { *

                    */ Recursive?: boolean; - - /** - *

                    The Amazon Resource Name (ARN) of the file share you want to refresh.

                    - */ - FileShareARN: string | undefined; - - /** - *

                    A comma-separated list of the paths of folders to refresh in the cache. The default is - * ["/"]. The default refreshes objects and folders at the root of the Amazon - * S3 bucket. If Recursive is set to true, the entire S3 bucket that - * the file share has access to is refreshed.

                    - */ - FolderList?: string[]; } export namespace RefreshCacheInput { @@ -5854,17 +5966,17 @@ export namespace RetrieveTapeArchiveOutput { *

                    RetrieveTapeRecoveryPointInput

                    */ export interface RetrieveTapeRecoveryPointInput { - /** - *

                    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                    - */ - GatewayARN: string | undefined; - /** *

                    The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the * recovery point.

                    */ TapeARN: string | undefined; + + /** + *

                    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                    + */ + GatewayARN: string | undefined; } export namespace RetrieveTapeRecoveryPointInput { @@ -5931,16 +6043,16 @@ export namespace SetLocalConsolePasswordOutput { *

                    SetSMBGuestPasswordInput

                    */ export interface SetSMBGuestPasswordInput { - /** - *

                    The password that you want to set for your SMB server.

                    - */ - Password: string | undefined; - /** *

                    The Amazon Resource Name (ARN) of the file gateway the SMB file share is associated * with.

                    */ GatewayARN: string | undefined; + + /** + *

                    The password that you want to set for your SMB server.

                    + */ + Password: string | undefined; } export namespace SetSMBGuestPasswordInput { @@ -6064,17 +6176,17 @@ export namespace StartGatewayOutput { } export interface UpdateAutomaticTapeCreationPolicyInput { - /** - *

                    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                    - */ - GatewayARN: string | undefined; - /** *

                    An automatic tape creation policy consists of a list of automatic tape creation rules. * The rules determine when and how to automatically create new tapes.

                    */ AutomaticTapeCreationRules: AutomaticTapeCreationRule[] | undefined; + + /** + *

                    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                    + */ + GatewayARN: string | undefined; } export namespace UpdateAutomaticTapeCreationPolicyInput { @@ -6114,11 +6226,6 @@ export namespace UpdateAutomaticTapeCreationPolicyOutput { *
                  */ export interface UpdateBandwidthRateLimitInput { - /** - *

                  The average download bandwidth rate limit in bits per second.

                  - */ - AverageDownloadRateLimitInBitsPerSec?: number; - /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                  @@ -6129,6 +6236,11 @@ export interface UpdateBandwidthRateLimitInput { *

                  The average upload bandwidth rate limit in bits per second.

                  */ AverageUploadRateLimitInBitsPerSec?: number; + + /** + *

                  The average download bandwidth rate limit in bits per second.

                  + */ + AverageDownloadRateLimitInBitsPerSec?: number; } export namespace UpdateBandwidthRateLimitInput { @@ -6155,6 +6267,42 @@ export namespace UpdateBandwidthRateLimitOutput { }); } +export interface UpdateBandwidthRateLimitScheduleInput { + /** + *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                  + */ + GatewayARN: string | undefined; + + /** + *

                  + * An array containing bandwidth rate limit schedule intervals for a gateway. + * When no bandwidth rate limit intervals have been scheduled, the array is empty. + *

                  + */ + BandwidthRateLimitIntervals: BandwidthRateLimitInterval[] | undefined; +} + +export namespace UpdateBandwidthRateLimitScheduleInput { + export const filterSensitiveLog = (obj: UpdateBandwidthRateLimitScheduleInput): any => ({ + ...obj, + }); +} + +export interface UpdateBandwidthRateLimitScheduleOutput { + /** + *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                  + */ + GatewayARN?: string; +} + +export namespace UpdateBandwidthRateLimitScheduleOutput { + export const filterSensitiveLog = (obj: UpdateBandwidthRateLimitScheduleOutput): any => ({ + ...obj, + }); +} + /** *

                  A JSON object containing one or more of the following fields:

                  * @@ -6184,16 +6332,20 @@ export namespace UpdateBandwidthRateLimitOutput { */ export interface UpdateChapCredentialsInput { /** - *

                  The secret key that the target must provide to participate in mutual CHAP with the - * initiator (e.g. Windows client).

                  - * - *

                  Byte constraints: Minimum bytes of 12. Maximum bytes of 16.

                  + *

                  The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified + * VolumeARN.

                  + */ + TargetARN: string | undefined; + + /** + *

                  The secret key that the initiator (for example, the Windows client) must provide to + * participate in mutual CHAP with the target.

                  * * *

                  The secret key must be between 12 and 16 bytes when encoded in UTF-8.

                  *
                  */ - SecretToAuthenticateTarget?: string; + SecretToAuthenticateInitiator: string | undefined; /** *

                  The iSCSI initiator that connects to the target.

                  @@ -6201,27 +6353,23 @@ export interface UpdateChapCredentialsInput { InitiatorName: string | undefined; /** - *

                  The secret key that the initiator (for example, the Windows client) must provide to - * participate in mutual CHAP with the target.

                  + *

                  The secret key that the target must provide to participate in mutual CHAP with the + * initiator (e.g. Windows client).

                  + * + *

                  Byte constraints: Minimum bytes of 12. Maximum bytes of 16.

                  * * *

                  The secret key must be between 12 and 16 bytes when encoded in UTF-8.

                  *
                  */ - SecretToAuthenticateInitiator: string | undefined; - - /** - *

                  The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified - * VolumeARN.

                  - */ - TargetARN: string | undefined; + SecretToAuthenticateTarget?: string; } export namespace UpdateChapCredentialsInput { export const filterSensitiveLog = (obj: UpdateChapCredentialsInput): any => ({ ...obj, - ...(obj.SecretToAuthenticateTarget && { SecretToAuthenticateTarget: SENSITIVE_STRING }), ...(obj.SecretToAuthenticateInitiator && { SecretToAuthenticateInitiator: SENSITIVE_STRING }), + ...(obj.SecretToAuthenticateTarget && { SecretToAuthenticateTarget: SENSITIVE_STRING }), }); } @@ -6229,17 +6377,17 @@ export namespace UpdateChapCredentialsInput { *

                  A JSON object containing the following fields:

                  */ export interface UpdateChapCredentialsOutput { - /** - *

                  The iSCSI initiator that connects to the target. This is the same initiator name - * specified in the request.

                  - */ - InitiatorName?: string; - /** *

                  The Amazon Resource Name (ARN) of the target. This is the same target specified in the * request.

                  */ TargetARN?: string; + + /** + *

                  The iSCSI initiator that connects to the target. This is the same initiator name + * specified in the request.

                  + */ + InitiatorName?: string; } export namespace UpdateChapCredentialsOutput { @@ -6249,6 +6397,12 @@ export namespace UpdateChapCredentialsOutput { } export interface UpdateGatewayInformationInput { + /** + *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                  + */ + GatewayARN: string | undefined; + /** *

                  The name you configured for your gateway.

                  */ @@ -6268,12 +6422,6 @@ export interface UpdateGatewayInformationInput { *

                  */ CloudWatchLogGroupARN?: string; - - /** - *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                  - */ - GatewayARN: string | undefined; } export namespace UpdateGatewayInformationInput { @@ -6287,16 +6435,16 @@ export namespace UpdateGatewayInformationInput { * updated.

                  */ export interface UpdateGatewayInformationOutput { - /** - *

                  The name you configured for your gateway.

                  - */ - GatewayName?: string; - /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways * operation to return a list of gateways for your account and AWS Region.

                  */ GatewayARN?: string; + + /** + *

                  The name you configured for your gateway.

                  + */ + GatewayName?: string; } export namespace UpdateGatewayInformationOutput { @@ -6367,6 +6515,19 @@ export namespace UpdateGatewaySoftwareNowOutput { *
                */ export interface UpdateMaintenanceStartTimeInput { + /** + *

                The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and AWS Region.

                + */ + GatewayARN: string | undefined; + + /** + *

                The hour component of the maintenance start time represented as hh, + * where hh is the hour (00 to 23). The hour of the day is in the time + * zone of the gateway.

                + */ + HourOfDay: number | undefined; + /** *

                The minute component of the maintenance start time represented as * mm, where mm is the minute (00 to 59). The @@ -6386,19 +6547,6 @@ export interface UpdateMaintenanceStartTimeInput { * last day of the month.

                */ DayOfMonth?: number; - - /** - *

                The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and AWS Region.

                - */ - GatewayARN: string | undefined; - - /** - *

                The hour component of the maintenance start time represented as hh, - * where hh is the hour (00 to 23). The hour of the day is in the time - * zone of the gateway.

                - */ - HourOfDay: number | undefined; } export namespace UpdateMaintenanceStartTimeInput { @@ -6429,6 +6577,42 @@ export namespace UpdateMaintenanceStartTimeOutput { *

                UpdateNFSFileShareInput

                */ export interface UpdateNFSFileShareInput { + /** + *

                The Amazon Resource Name (ARN) of the file share to be updated.

                + */ + FileShareARN: string | undefined; + + /** + *

                Set to true to use Amazon S3 server-side encryption with your own AWS KMS + * key, or false to use a key managed by Amazon S3. Optional.

                + * + *

                Valid Values: true | false + *

                + */ + KMSEncrypted?: boolean; + + /** + *

                The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon + * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can + * only be set when KMSEncrypted is true. Optional.

                + */ + KMSKey?: string; + + /** + *

                The default values for the file share. Optional.

                + */ + NFSFileShareDefaults?: NFSFileShareDefaults; + + /** + *

                The default storage class for objects put into an Amazon S3 bucket by the file gateway. + * The default value is S3_INTELLIGENT_TIERING. Optional.

                + * + *

                Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | + * S3_STANDARD_IA | S3_ONEZONE_IA + *

                + */ + DefaultStorageClass?: string; + /** *

                A value that sets the access control list (ACL) permission for objects in the S3 bucket * that a file gateway puts objects into. The default value is private.

                @@ -6439,7 +6623,29 @@ export interface UpdateNFSFileShareInput { *

                The list of clients that are allowed to access the file gateway. The list must contain * either valid IP addresses or valid CIDR blocks.

                */ - ClientList?: string[]; + ClientList?: string[]; + + /** + *

                The user mapped to anonymous user.

                + * + *

                Valid values are the following:

                + * + *
                  + *
                • + *

                  + * RootSquash: Only root is mapped to anonymous user.

                  + *
                • + *
                • + *

                  + * NoSquash: No one is mapped to anonymous user.

                  + *
                • + *
                • + *

                  + * AllSquash: Everyone is mapped to anonymous user.

                  + *
                • + *
                + */ + Squash?: string; /** *

                A value that sets the write status of a file share. Set this value to true @@ -6450,30 +6656,6 @@ export interface UpdateNFSFileShareInput { */ ReadOnly?: boolean; - /** - *

                Set to true to use Amazon S3 server-side encryption with your own AWS KMS - * key, or false to use a key managed by Amazon S3. Optional.

                - * - *

                Valid Values: true | false - *

                - */ - KMSEncrypted?: boolean; - - /** - *

                The Amazon Resource Name (ARN) of the file share to be updated.

                - */ - FileShareARN: string | undefined; - - /** - *

                The default storage class for objects put into an Amazon S3 bucket by the file gateway. - * The default value is S3_INTELLIGENT_TIERING. Optional.

                - * - *

                Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | - * S3_STANDARD_IA | S3_ONEZONE_IA - *

                - */ - DefaultStorageClass?: string; - /** *

                A value that enables guessing of the MIME type for uploaded objects based on file * extensions. Set this value to true to enable MIME type guessing, otherwise set @@ -6484,17 +6666,6 @@ export interface UpdateNFSFileShareInput { */ GuessMIMETypeEnabled?: boolean; - /** - *

                The name of the file share. Optional.

                - * - * - *

                - * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                - *
                - */ - FileShareName?: string; - /** *

                A value that sets who pays the cost of the request and the cost associated with data * download from the S3 bucket. If this value is set to true, the requester pays @@ -6514,48 +6685,25 @@ export interface UpdateNFSFileShareInput { RequesterPays?: boolean; /** - *

                The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon - * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                + *

                The name of the file share. Optional.

                + * + * + *

                + * FileShareName must be set if an S3 prefix name is set in + * LocationARN.

                + *
                */ - KMSKey?: string; + FileShareName?: string; /** *

                Refresh cache information.

                */ CacheAttributes?: CacheAttributes; - /** - *

                The user mapped to anonymous user.

                - * - *

                Valid values are the following:

                - * - *
                  - *
                • - *

                  - * RootSquash: Only root is mapped to anonymous user.

                  - *
                • - *
                • - *

                  - * NoSquash: No one is mapped to anonymous user.

                  - *
                • - *
                • - *

                  - * AllSquash: Everyone is mapped to anonymous user.

                  - *
                • - *
                - */ - Squash?: string; - /** *

                The notification policy of the file share.

                */ NotificationPolicy?: string; - - /** - *

                The default values for the file share. Optional.

                - */ - NFSFileShareDefaults?: NFSFileShareDefaults; } export namespace UpdateNFSFileShareInput { @@ -6584,6 +6732,27 @@ export namespace UpdateNFSFileShareOutput { *

                UpdateSMBFileShareInput

                */ export interface UpdateSMBFileShareInput { + /** + *

                The Amazon Resource Name (ARN) of the SMB file share that you want to update.

                + */ + FileShareARN: string | undefined; + + /** + *

                Set to true to use Amazon S3 server-side encryption with your own AWS KMS + * key, or false to use a key managed by Amazon S3. Optional.

                + * + *

                Valid Values: true | false + *

                + */ + KMSEncrypted?: boolean; + + /** + *

                The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon + * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can + * only be set when KMSEncrypted is true. Optional.

                + */ + KMSKey?: string; + /** *

                The default storage class for objects put into an Amazon S3 bucket by the file gateway. * The default value is S3_INTELLIGENT_TIERING. Optional.

                @@ -6594,15 +6763,6 @@ export interface UpdateSMBFileShareInput { */ DefaultStorageClass?: string; - /** - *

                A list of users or groups in the Active Directory that are allowed to access the file - * share. A group must be prefixed with the @ character. Acceptable formats include: - * DOMAIN\User1, user1, @group1, and - * @DOMAIN\group1. Can only be set if Authentication is set to - * ActiveDirectory.

                - */ - ValidUserList?: string[]; - /** *

                A value that sets the access control list (ACL) permission for objects in the S3 bucket * that a file gateway puts objects into. The default value is private.

                @@ -6610,42 +6770,23 @@ export interface UpdateSMBFileShareInput { ObjectACL?: ObjectACL | string; /** - *

                A list of users or groups in the Active Directory that are not allowed to access the - * file share. A group must be prefixed with the @ character. Acceptable formats include: - * DOMAIN\User1, user1, @group1, and - * @DOMAIN\group1. Can only be set if Authentication is set to - * ActiveDirectory.

                - */ - InvalidUserList?: string[]; - - /** - *

                A list of users or groups in the Active Directory that have administrator rights to the - * file share. A group must be prefixed with the @ character. Acceptable formats include: - * DOMAIN\User1, user1, @group1, and - * @DOMAIN\group1. Can only be set if Authentication is set to - * ActiveDirectory.

                - */ - AdminUserList?: string[]; - - /** - *

                Set to true to use Amazon S3 server-side encryption with your own AWS KMS - * key, or false to use a key managed by Amazon S3. Optional.

                + *

                A value that sets the write status of a file share. Set this value to true + * to set write status to read-only, otherwise set to false.

                * *

                Valid Values: true | false *

                */ - KMSEncrypted?: boolean; + ReadOnly?: boolean; /** - *

                The name of the file share. Optional.

                + *

                A value that enables guessing of the MIME type for uploaded objects based on file + * extensions. Set this value to true to enable MIME type guessing, otherwise set + * to false. The default value is true.

                * - * - *

                - * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                - *
                + *

                Valid Values: true | false + *

                */ - FileShareName?: string; + GuessMIMETypeEnabled?: boolean; /** *

                A value that sets who pays the cost of the request and the cost associated with data @@ -6666,79 +6807,86 @@ export interface UpdateSMBFileShareInput { RequesterPays?: boolean; /** - *

                A value that enables guessing of the MIME type for uploaded objects based on file - * extensions. Set this value to true to enable MIME type guessing, otherwise set - * to false. The default value is true.

                + *

                Set this value to true to enable access control list (ACL) on the SMB file + * share. Set it to false to map file and directory permissions to the POSIX + * permissions.

                + * + * + * + *

                For more information, see Using Microsoft Windows ACLs to + * control access to an SMB file share in the AWS Storage Gateway User + * Guide.

                * *

                Valid Values: true | false *

                */ - GuessMIMETypeEnabled?: boolean; + SMBACLEnabled?: boolean; /** - *

                The Amazon Resource Name (ARN) of the SMB file share that you want to update.

                + *

                The files and folders on this share will only be visible to users with read + * access.

                */ - FileShareARN: string | undefined; + AccessBasedEnumeration?: boolean; /** - *

                The case of an object name in an Amazon S3 bucket. For ClientSpecified, the - * client determines the case sensitivity. For CaseSensitive, the gateway - * determines the case sensitivity. The default value is ClientSpecified.

                + *

                A list of users or groups in the Active Directory that have administrator rights to the + * file share. A group must be prefixed with the @ character. Acceptable formats include: + * DOMAIN\User1, user1, @group1, and + * @DOMAIN\group1. Can only be set if Authentication is set to + * ActiveDirectory.

                */ - CaseSensitivity?: CaseSensitivity | string; + AdminUserList?: string[]; /** - *

                The files and folders on this share will only be visible to users with read - * access.

                + *

                A list of users or groups in the Active Directory that are allowed to access the file + * share. A group must be prefixed with the @ character. Acceptable formats include: + * DOMAIN\User1, user1, @group1, and + * @DOMAIN\group1. Can only be set if Authentication is set to + * ActiveDirectory.

                */ - AccessBasedEnumeration?: boolean; + ValidUserList?: string[]; /** - *

                Refresh cache information.

                + *

                A list of users or groups in the Active Directory that are not allowed to access the + * file share. A group must be prefixed with the @ character. Acceptable formats include: + * DOMAIN\User1, user1, @group1, and + * @DOMAIN\group1. Can only be set if Authentication is set to + * ActiveDirectory.

                */ - CacheAttributes?: CacheAttributes; + InvalidUserList?: string[]; /** - *

                The notification policy of the file share.

                + *

                The Amazon Resource Name (ARN) of the storage used for the audit logs.

                */ - NotificationPolicy?: string; + AuditDestinationARN?: string; /** - *

                A value that sets the write status of a file share. Set this value to true - * to set write status to read-only, otherwise set to false.

                - * - *

                Valid Values: true | false - *

                + *

                The case of an object name in an Amazon S3 bucket. For ClientSpecified, the + * client determines the case sensitivity. For CaseSensitive, the gateway + * determines the case sensitivity. The default value is ClientSpecified.

                */ - ReadOnly?: boolean; + CaseSensitivity?: CaseSensitivity | string; /** - *

                Set this value to true to enable access control list (ACL) on the SMB file - * share. Set it to false to map file and directory permissions to the POSIX - * permissions.

                - * - * - * - *

                For more information, see Using Microsoft Windows ACLs to - * control access to an SMB file share in the AWS Storage Gateway User - * Guide.

                + *

                The name of the file share. Optional.

                * - *

                Valid Values: true | false - *

                + * + *

                + * FileShareName must be set if an S3 prefix name is set in + * LocationARN.

                + *
                */ - SMBACLEnabled?: boolean; + FileShareName?: string; /** - *

                The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon - * S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                + *

                Refresh cache information.

                */ - KMSKey?: string; + CacheAttributes?: CacheAttributes; /** - *

                The Amazon Resource Name (ARN) of the storage used for the audit logs.

                + *

                The notification policy of the file share.

                */ - AuditDestinationARN?: string; + NotificationPolicy?: string; } export namespace UpdateSMBFileShareInput { @@ -6876,9 +7024,11 @@ export interface UpdateSnapshotScheduleInput { VolumeARN: string | undefined; /** - *

                Optional description of the snapshot that overwrites the existing description.

                + *

                The hour of the day at which the snapshot schedule begins represented as + * hh, where hh is the hour (0 to 23). The hour + * of the day is in the time zone of the gateway.

                */ - Description?: string; + StartAt: number | undefined; /** *

                Frequency of snapshots. Specify the number of hours between snapshots.

                @@ -6886,11 +7036,9 @@ export interface UpdateSnapshotScheduleInput { RecurrenceInHours: number | undefined; /** - *

                The hour of the day at which the snapshot schedule begins represented as - * hh, where hh is the hour (0 to 23). The hour - * of the day is in the time zone of the gateway.

                + *

                Optional description of the snapshot that overwrites the existing description.

                */ - StartAt: number | undefined; + Description?: string; /** *

                A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value @@ -6931,6 +7079,11 @@ export namespace UpdateSnapshotScheduleOutput { } export interface UpdateVTLDeviceTypeInput { + /** + *

                The Amazon Resource Name (ARN) of the medium changer you want to select.

                + */ + VTLDeviceARN: string | undefined; + /** *

                The type of medium changer you want to select.

                * @@ -6939,11 +7092,6 @@ export interface UpdateVTLDeviceTypeInput { *

                */ DeviceType: string | undefined; - - /** - *

                The Amazon Resource Name (ARN) of the medium changer you want to select.

                - */ - VTLDeviceARN: string | undefined; } export namespace UpdateVTLDeviceTypeInput { diff --git a/clients/client-storage-gateway/pagination/DescribeTapeArchivesPaginator.ts b/clients/client-storage-gateway/pagination/DescribeTapeArchivesPaginator.ts index ffbcc29afc37..7deeb3510449 100644 --- a/clients/client-storage-gateway/pagination/DescribeTapeArchivesPaginator.ts +++ b/clients/client-storage-gateway/pagination/DescribeTapeArchivesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTapeArchivesCommand(input), ...args); + return await client.send(new DescribeTapeArchivesCommand(input, ...args)); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/DescribeTapeRecoveryPointsPaginator.ts b/clients/client-storage-gateway/pagination/DescribeTapeRecoveryPointsPaginator.ts index 67be5b05386d..f397d3c613f9 100644 --- a/clients/client-storage-gateway/pagination/DescribeTapeRecoveryPointsPaginator.ts +++ b/clients/client-storage-gateway/pagination/DescribeTapeRecoveryPointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTapeRecoveryPointsCommand(input), ...args); + return await client.send(new DescribeTapeRecoveryPointsCommand(input, ...args)); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/DescribeTapesPaginator.ts b/clients/client-storage-gateway/pagination/DescribeTapesPaginator.ts index f19b4e9d8523..241595f12cbd 100644 --- a/clients/client-storage-gateway/pagination/DescribeTapesPaginator.ts +++ b/clients/client-storage-gateway/pagination/DescribeTapesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTapesCommand(input), ...args); + return await client.send(new DescribeTapesCommand(input, ...args)); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/DescribeVTLDevicesPaginator.ts b/clients/client-storage-gateway/pagination/DescribeVTLDevicesPaginator.ts index 6d6c310f8865..f1c350c1ae60 100644 --- a/clients/client-storage-gateway/pagination/DescribeVTLDevicesPaginator.ts +++ b/clients/client-storage-gateway/pagination/DescribeVTLDevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVTLDevicesCommand(input), ...args); + return await client.send(new DescribeVTLDevicesCommand(input, ...args)); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListFileSharesPaginator.ts b/clients/client-storage-gateway/pagination/ListFileSharesPaginator.ts index 765326d3ae1d..718aa6a9f380 100644 --- a/clients/client-storage-gateway/pagination/ListFileSharesPaginator.ts +++ b/clients/client-storage-gateway/pagination/ListFileSharesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFileSharesCommand(input), ...args); + return await client.send(new ListFileSharesCommand(input, ...args)); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListGatewaysPaginator.ts b/clients/client-storage-gateway/pagination/ListGatewaysPaginator.ts index 9e7c2848ad36..57cd3b171919 100644 --- a/clients/client-storage-gateway/pagination/ListGatewaysPaginator.ts +++ b/clients/client-storage-gateway/pagination/ListGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewaysCommand(input), ...args); + return await client.send(new ListGatewaysCommand(input, ...args)); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListTagsForResourcePaginator.ts b/clients/client-storage-gateway/pagination/ListTagsForResourcePaginator.ts index e8dd30f992f7..cfd33d4ee4df 100644 --- a/clients/client-storage-gateway/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-storage-gateway/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListTapePoolsPaginator.ts b/clients/client-storage-gateway/pagination/ListTapePoolsPaginator.ts new file mode 100644 index 000000000000..3e507b003ae1 --- /dev/null +++ b/clients/client-storage-gateway/pagination/ListTapePoolsPaginator.ts @@ -0,0 +1,51 @@ +import { StorageGateway } from "../StorageGateway"; +import { StorageGatewayClient } from "../StorageGatewayClient"; +import { + ListTapePoolsCommand, + ListTapePoolsCommandInput, + ListTapePoolsCommandOutput, +} from "../commands/ListTapePoolsCommand"; +import { StorageGatewayPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: StorageGatewayClient, + input: ListTapePoolsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListTapePoolsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: StorageGateway, + input: ListTapePoolsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listTapePools(input, ...args); +}; +export async function* listTapePoolsPaginate( + config: StorageGatewayPaginationConfiguration, + input: ListTapePoolsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListTapePoolsCommandOutput; + while (hasNext) { + input.Marker = token; + input["Limit"] = config.pageSize; + if (config.client instanceof StorageGateway) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof StorageGatewayClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient"); + } + yield page; + token = page.Marker; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-storage-gateway/pagination/ListTapesPaginator.ts b/clients/client-storage-gateway/pagination/ListTapesPaginator.ts index d98f69c6ea95..aeff836452a5 100644 --- a/clients/client-storage-gateway/pagination/ListTapesPaginator.ts +++ b/clients/client-storage-gateway/pagination/ListTapesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTapesCommand(input), ...args); + return await client.send(new ListTapesCommand(input, ...args)); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListVolumesPaginator.ts b/clients/client-storage-gateway/pagination/ListVolumesPaginator.ts index 7d3cab5e940d..cd45c6ec42bc 100644 --- a/clients/client-storage-gateway/pagination/ListVolumesPaginator.ts +++ b/clients/client-storage-gateway/pagination/ListVolumesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVolumesCommand(input), ...args); + return await client.send(new ListVolumesCommand(input, ...args)); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/protocols/Aws_json1_1.ts b/clients/client-storage-gateway/protocols/Aws_json1_1.ts index 1b6f9d611155..b95fe74f1c66 100644 --- a/clients/client-storage-gateway/protocols/Aws_json1_1.ts +++ b/clients/client-storage-gateway/protocols/Aws_json1_1.ts @@ -58,6 +58,10 @@ import { DescribeBandwidthRateLimitCommandInput, DescribeBandwidthRateLimitCommandOutput, } from "../commands/DescribeBandwidthRateLimitCommand"; +import { + DescribeBandwidthRateLimitScheduleCommandInput, + DescribeBandwidthRateLimitScheduleCommandOutput, +} from "../commands/DescribeBandwidthRateLimitScheduleCommand"; import { DescribeCacheCommandInput, DescribeCacheCommandOutput } from "../commands/DescribeCacheCommand"; import { DescribeCachediSCSIVolumesCommandInput, @@ -175,6 +179,10 @@ import { UpdateBandwidthRateLimitCommandInput, UpdateBandwidthRateLimitCommandOutput, } from "../commands/UpdateBandwidthRateLimitCommand"; +import { + UpdateBandwidthRateLimitScheduleCommandInput, + UpdateBandwidthRateLimitScheduleCommandOutput, +} from "../commands/UpdateBandwidthRateLimitScheduleCommand"; import { UpdateChapCredentialsCommandInput, UpdateChapCredentialsCommandOutput, @@ -226,6 +234,7 @@ import { AttachVolumeOutput, AutomaticTapeCreationPolicyInfo, AutomaticTapeCreationRule, + BandwidthRateLimitInterval, CacheAttributes, CachediSCSIVolume, CancelArchivalInput, @@ -275,6 +284,8 @@ import { DescribeAvailabilityMonitorTestOutput, DescribeBandwidthRateLimitInput, DescribeBandwidthRateLimitOutput, + DescribeBandwidthRateLimitScheduleInput, + DescribeBandwidthRateLimitScheduleOutput, DescribeCacheInput, DescribeCacheOutput, DescribeCachediSCSIVolumesInput, @@ -378,6 +389,8 @@ import { UpdateAutomaticTapeCreationPolicyOutput, UpdateBandwidthRateLimitInput, UpdateBandwidthRateLimitOutput, + UpdateBandwidthRateLimitScheduleInput, + UpdateBandwidthRateLimitScheduleOutput, UpdateChapCredentialsInput, UpdateChapCredentialsOutput, UpdateGatewayInformationInput, @@ -803,6 +816,19 @@ export const serializeAws_json1_1DescribeBandwidthRateLimitCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DescribeBandwidthRateLimitScheduleCommand = async ( + input: DescribeBandwidthRateLimitScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "StorageGateway_20130630.DescribeBandwidthRateLimitSchedule", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DescribeBandwidthRateLimitScheduleInput(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DescribeCacheCommand = async ( input: DescribeCacheCommandInput, context: __SerdeContext @@ -1349,6 +1375,19 @@ export const serializeAws_json1_1UpdateBandwidthRateLimitCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1UpdateBandwidthRateLimitScheduleCommand = async ( + input: UpdateBandwidthRateLimitScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "StorageGateway_20130630.UpdateBandwidthRateLimitSchedule", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1UpdateBandwidthRateLimitScheduleInput(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1UpdateChapCredentialsCommand = async ( input: UpdateChapCredentialsCommandInput, context: __SerdeContext @@ -3385,6 +3424,69 @@ const deserializeAws_json1_1DescribeBandwidthRateLimitCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1DescribeBandwidthRateLimitScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DescribeBandwidthRateLimitScheduleCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DescribeBandwidthRateLimitScheduleOutput(data, context); + const response: DescribeBandwidthRateLimitScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DescribeBandwidthRateLimitScheduleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.storagegateway#InternalServerError": + response = { + ...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidGatewayRequestException": + case "com.amazonaws.storagegateway#InvalidGatewayRequestException": + response = { + ...(await deserializeAws_json1_1InvalidGatewayRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1DescribeCacheCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -6031,6 +6133,69 @@ const deserializeAws_json1_1UpdateBandwidthRateLimitCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1UpdateBandwidthRateLimitScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1UpdateBandwidthRateLimitScheduleCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1UpdateBandwidthRateLimitScheduleOutput(data, context); + const response: UpdateBandwidthRateLimitScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1UpdateBandwidthRateLimitScheduleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.storagegateway#InternalServerError": + response = { + ...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidGatewayRequestException": + case "com.amazonaws.storagegateway#InvalidGatewayRequestException": + response = { + ...(await deserializeAws_json1_1InvalidGatewayRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1UpdateChapCredentialsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -6787,6 +6952,32 @@ const serializeAws_json1_1AutomaticTapeCreationRules = ( return input.map((entry) => serializeAws_json1_1AutomaticTapeCreationRule(entry, context)); }; +const serializeAws_json1_1BandwidthRateLimitInterval = ( + input: BandwidthRateLimitInterval, + context: __SerdeContext +): any => { + return { + ...(input.AverageDownloadRateLimitInBitsPerSec !== undefined && { + AverageDownloadRateLimitInBitsPerSec: input.AverageDownloadRateLimitInBitsPerSec, + }), + ...(input.AverageUploadRateLimitInBitsPerSec !== undefined && { + AverageUploadRateLimitInBitsPerSec: input.AverageUploadRateLimitInBitsPerSec, + }), + ...(input.DaysOfWeek !== undefined && { DaysOfWeek: serializeAws_json1_1DaysOfWeek(input.DaysOfWeek, context) }), + ...(input.EndHourOfDay !== undefined && { EndHourOfDay: input.EndHourOfDay }), + ...(input.EndMinuteOfHour !== undefined && { EndMinuteOfHour: input.EndMinuteOfHour }), + ...(input.StartHourOfDay !== undefined && { StartHourOfDay: input.StartHourOfDay }), + ...(input.StartMinuteOfHour !== undefined && { StartMinuteOfHour: input.StartMinuteOfHour }), + }; +}; + +const serializeAws_json1_1BandwidthRateLimitIntervals = ( + input: BandwidthRateLimitInterval[], + context: __SerdeContext +): any => { + return input.map((entry) => serializeAws_json1_1BandwidthRateLimitInterval(entry, context)); +}; + const serializeAws_json1_1CacheAttributes = (input: CacheAttributes, context: __SerdeContext): any => { return { ...(input.CacheStaleTimeoutInSeconds !== undefined && { @@ -6969,6 +7160,10 @@ const serializeAws_json1_1CreateTapeWithBarcodeInput = ( }; }; +const serializeAws_json1_1DaysOfWeek = (input: number[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + const serializeAws_json1_1DeleteAutomaticTapeCreationPolicyInput = ( input: DeleteAutomaticTapeCreationPolicyInput, context: __SerdeContext @@ -7069,6 +7264,15 @@ const serializeAws_json1_1DescribeBandwidthRateLimitInput = ( }; }; +const serializeAws_json1_1DescribeBandwidthRateLimitScheduleInput = ( + input: DescribeBandwidthRateLimitScheduleInput, + context: __SerdeContext +): any => { + return { + ...(input.GatewayARN !== undefined && { GatewayARN: input.GatewayARN }), + }; +}; + const serializeAws_json1_1DescribeCachediSCSIVolumesInput = ( input: DescribeCachediSCSIVolumesInput, context: __SerdeContext @@ -7507,6 +7711,21 @@ const serializeAws_json1_1UpdateBandwidthRateLimitInput = ( }; }; +const serializeAws_json1_1UpdateBandwidthRateLimitScheduleInput = ( + input: UpdateBandwidthRateLimitScheduleInput, + context: __SerdeContext +): any => { + return { + ...(input.BandwidthRateLimitIntervals !== undefined && { + BandwidthRateLimitIntervals: serializeAws_json1_1BandwidthRateLimitIntervals( + input.BandwidthRateLimitIntervals, + context + ), + }), + ...(input.GatewayARN !== undefined && { GatewayARN: input.GatewayARN }), + }; +}; + const serializeAws_json1_1UpdateChapCredentialsInput = ( input: UpdateChapCredentialsInput, context: __SerdeContext @@ -7758,6 +7977,42 @@ const deserializeAws_json1_1AutomaticTapeCreationRules = ( return (output || []).map((entry: any) => deserializeAws_json1_1AutomaticTapeCreationRule(entry, context)); }; +const deserializeAws_json1_1BandwidthRateLimitInterval = ( + output: any, + context: __SerdeContext +): BandwidthRateLimitInterval => { + return { + AverageDownloadRateLimitInBitsPerSec: + output.AverageDownloadRateLimitInBitsPerSec !== undefined && output.AverageDownloadRateLimitInBitsPerSec !== null + ? output.AverageDownloadRateLimitInBitsPerSec + : undefined, + AverageUploadRateLimitInBitsPerSec: + output.AverageUploadRateLimitInBitsPerSec !== undefined && output.AverageUploadRateLimitInBitsPerSec !== null + ? output.AverageUploadRateLimitInBitsPerSec + : undefined, + DaysOfWeek: + output.DaysOfWeek !== undefined && output.DaysOfWeek !== null + ? deserializeAws_json1_1DaysOfWeek(output.DaysOfWeek, context) + : undefined, + EndHourOfDay: output.EndHourOfDay !== undefined && output.EndHourOfDay !== null ? output.EndHourOfDay : undefined, + EndMinuteOfHour: + output.EndMinuteOfHour !== undefined && output.EndMinuteOfHour !== null ? output.EndMinuteOfHour : undefined, + StartHourOfDay: + output.StartHourOfDay !== undefined && output.StartHourOfDay !== null ? output.StartHourOfDay : undefined, + StartMinuteOfHour: + output.StartMinuteOfHour !== undefined && output.StartMinuteOfHour !== null + ? output.StartMinuteOfHour + : undefined, + } as any; +}; + +const deserializeAws_json1_1BandwidthRateLimitIntervals = ( + output: any, + context: __SerdeContext +): BandwidthRateLimitInterval[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1BandwidthRateLimitInterval(entry, context)); +}; + const deserializeAws_json1_1CacheAttributes = (output: any, context: __SerdeContext): CacheAttributes => { return { CacheStaleTimeoutInSeconds: @@ -7925,6 +8180,10 @@ const deserializeAws_json1_1CreateTapeWithBarcodeOutput = ( } as any; }; +const deserializeAws_json1_1DaysOfWeek = (output: any, context: __SerdeContext): number[] => { + return (output || []).map((entry: any) => entry); +}; + const deserializeAws_json1_1DeleteAutomaticTapeCreationPolicyOutput = ( output: any, context: __SerdeContext @@ -8033,6 +8292,19 @@ const deserializeAws_json1_1DescribeBandwidthRateLimitOutput = ( } as any; }; +const deserializeAws_json1_1DescribeBandwidthRateLimitScheduleOutput = ( + output: any, + context: __SerdeContext +): DescribeBandwidthRateLimitScheduleOutput => { + return { + BandwidthRateLimitIntervals: + output.BandwidthRateLimitIntervals !== undefined && output.BandwidthRateLimitIntervals !== null + ? deserializeAws_json1_1BandwidthRateLimitIntervals(output.BandwidthRateLimitIntervals, context) + : undefined, + GatewayARN: output.GatewayARN !== undefined && output.GatewayARN !== null ? output.GatewayARN : undefined, + } as any; +}; + const deserializeAws_json1_1DescribeCachediSCSIVolumesOutput = ( output: any, context: __SerdeContext @@ -9058,6 +9330,15 @@ const deserializeAws_json1_1UpdateBandwidthRateLimitOutput = ( } as any; }; +const deserializeAws_json1_1UpdateBandwidthRateLimitScheduleOutput = ( + output: any, + context: __SerdeContext +): UpdateBandwidthRateLimitScheduleOutput => { + return { + GatewayARN: output.GatewayARN !== undefined && output.GatewayARN !== null ? output.GatewayARN : undefined, + } as any; +}; + const deserializeAws_json1_1UpdateChapCredentialsOutput = ( output: any, context: __SerdeContext diff --git a/clients/client-support/pagination/DescribeCasesPaginator.ts b/clients/client-support/pagination/DescribeCasesPaginator.ts index 787f17a25abd..431933758c9b 100644 --- a/clients/client-support/pagination/DescribeCasesPaginator.ts +++ b/clients/client-support/pagination/DescribeCasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCasesCommand(input), ...args); + return await client.send(new DescribeCasesCommand(input, ...args)); }; const makePagedRequest = async ( client: Support, diff --git a/clients/client-support/pagination/DescribeCommunicationsPaginator.ts b/clients/client-support/pagination/DescribeCommunicationsPaginator.ts index beda157da4a6..cb4bf9e91b60 100644 --- a/clients/client-support/pagination/DescribeCommunicationsPaginator.ts +++ b/clients/client-support/pagination/DescribeCommunicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCommunicationsCommand(input), ...args); + return await client.send(new DescribeCommunicationsCommand(input, ...args)); }; const makePagedRequest = async ( client: Support, diff --git a/clients/client-swf/pagination/GetWorkflowExecutionHistoryPaginator.ts b/clients/client-swf/pagination/GetWorkflowExecutionHistoryPaginator.ts index 1c66e3306550..64204bc3f694 100644 --- a/clients/client-swf/pagination/GetWorkflowExecutionHistoryPaginator.ts +++ b/clients/client-swf/pagination/GetWorkflowExecutionHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetWorkflowExecutionHistoryCommand(input), ...args); + return await client.send(new GetWorkflowExecutionHistoryCommand(input, ...args)); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListActivityTypesPaginator.ts b/clients/client-swf/pagination/ListActivityTypesPaginator.ts index 462d56448236..998bd917befd 100644 --- a/clients/client-swf/pagination/ListActivityTypesPaginator.ts +++ b/clients/client-swf/pagination/ListActivityTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActivityTypesCommand(input), ...args); + return await client.send(new ListActivityTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListClosedWorkflowExecutionsPaginator.ts b/clients/client-swf/pagination/ListClosedWorkflowExecutionsPaginator.ts index 79b9674d3d95..372659615a66 100644 --- a/clients/client-swf/pagination/ListClosedWorkflowExecutionsPaginator.ts +++ b/clients/client-swf/pagination/ListClosedWorkflowExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClosedWorkflowExecutionsCommand(input), ...args); + return await client.send(new ListClosedWorkflowExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListDomainsPaginator.ts b/clients/client-swf/pagination/ListDomainsPaginator.ts index 99d415a9ade0..915c41073cf0 100644 --- a/clients/client-swf/pagination/ListDomainsPaginator.ts +++ b/clients/client-swf/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input), ...args); + return await client.send(new ListDomainsCommand(input, ...args)); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListOpenWorkflowExecutionsPaginator.ts b/clients/client-swf/pagination/ListOpenWorkflowExecutionsPaginator.ts index e8dee4bbc6e0..a496b1190afb 100644 --- a/clients/client-swf/pagination/ListOpenWorkflowExecutionsPaginator.ts +++ b/clients/client-swf/pagination/ListOpenWorkflowExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOpenWorkflowExecutionsCommand(input), ...args); + return await client.send(new ListOpenWorkflowExecutionsCommand(input, ...args)); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListWorkflowTypesPaginator.ts b/clients/client-swf/pagination/ListWorkflowTypesPaginator.ts index 4b68388db200..1dc39e8d9e11 100644 --- a/clients/client-swf/pagination/ListWorkflowTypesPaginator.ts +++ b/clients/client-swf/pagination/ListWorkflowTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkflowTypesCommand(input), ...args); + return await client.send(new ListWorkflowTypesCommand(input, ...args)); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/PollForDecisionTaskPaginator.ts b/clients/client-swf/pagination/PollForDecisionTaskPaginator.ts index 08237fa8287e..ae3219ba849a 100644 --- a/clients/client-swf/pagination/PollForDecisionTaskPaginator.ts +++ b/clients/client-swf/pagination/PollForDecisionTaskPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new PollForDecisionTaskCommand(input), ...args); + return await client.send(new PollForDecisionTaskCommand(input, ...args)); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-synthetics/pagination/DescribeCanariesLastRunPaginator.ts b/clients/client-synthetics/pagination/DescribeCanariesLastRunPaginator.ts index b5292bd8c04c..5703a5a7f700 100644 --- a/clients/client-synthetics/pagination/DescribeCanariesLastRunPaginator.ts +++ b/clients/client-synthetics/pagination/DescribeCanariesLastRunPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCanariesLastRunCommand(input), ...args); + return await client.send(new DescribeCanariesLastRunCommand(input, ...args)); }; const makePagedRequest = async ( client: Synthetics, diff --git a/clients/client-synthetics/pagination/DescribeCanariesPaginator.ts b/clients/client-synthetics/pagination/DescribeCanariesPaginator.ts index 9d1db84597f7..0d55f75386f6 100644 --- a/clients/client-synthetics/pagination/DescribeCanariesPaginator.ts +++ b/clients/client-synthetics/pagination/DescribeCanariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCanariesCommand(input), ...args); + return await client.send(new DescribeCanariesCommand(input, ...args)); }; const makePagedRequest = async ( client: Synthetics, diff --git a/clients/client-synthetics/pagination/DescribeRuntimeVersionsPaginator.ts b/clients/client-synthetics/pagination/DescribeRuntimeVersionsPaginator.ts index 6af7a71050aa..62157611ac14 100644 --- a/clients/client-synthetics/pagination/DescribeRuntimeVersionsPaginator.ts +++ b/clients/client-synthetics/pagination/DescribeRuntimeVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRuntimeVersionsCommand(input), ...args); + return await client.send(new DescribeRuntimeVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: Synthetics, diff --git a/clients/client-synthetics/pagination/GetCanaryRunsPaginator.ts b/clients/client-synthetics/pagination/GetCanaryRunsPaginator.ts index 2b8e2fe031a5..c41acb8384a8 100644 --- a/clients/client-synthetics/pagination/GetCanaryRunsPaginator.ts +++ b/clients/client-synthetics/pagination/GetCanaryRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCanaryRunsCommand(input), ...args); + return await client.send(new GetCanaryRunsCommand(input, ...args)); }; const makePagedRequest = async ( client: Synthetics, diff --git a/clients/client-timestream-query/pagination/QueryPaginator.ts b/clients/client-timestream-query/pagination/QueryPaginator.ts index c9196dd812e2..06c343979f97 100644 --- a/clients/client-timestream-query/pagination/QueryPaginator.ts +++ b/clients/client-timestream-query/pagination/QueryPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new QueryCommand(input), ...args); + return await client.send(new QueryCommand(input, ...args)); }; const makePagedRequest = async ( client: TimestreamQuery, diff --git a/clients/client-timestream-write/pagination/ListDatabasesPaginator.ts b/clients/client-timestream-write/pagination/ListDatabasesPaginator.ts index 7f8a954a5c55..6d625c917189 100644 --- a/clients/client-timestream-write/pagination/ListDatabasesPaginator.ts +++ b/clients/client-timestream-write/pagination/ListDatabasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatabasesCommand(input), ...args); + return await client.send(new ListDatabasesCommand(input, ...args)); }; const makePagedRequest = async ( client: TimestreamWrite, diff --git a/clients/client-timestream-write/pagination/ListTablesPaginator.ts b/clients/client-timestream-write/pagination/ListTablesPaginator.ts index 413b4d547fe4..e040e3809111 100644 --- a/clients/client-timestream-write/pagination/ListTablesPaginator.ts +++ b/clients/client-timestream-write/pagination/ListTablesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTablesCommand(input), ...args); + return await client.send(new ListTablesCommand(input, ...args)); }; const makePagedRequest = async ( client: TimestreamWrite, diff --git a/clients/client-transcribe/pagination/ListLanguageModelsPaginator.ts b/clients/client-transcribe/pagination/ListLanguageModelsPaginator.ts index 7f7c72069f9b..9e09850bbc9e 100644 --- a/clients/client-transcribe/pagination/ListLanguageModelsPaginator.ts +++ b/clients/client-transcribe/pagination/ListLanguageModelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLanguageModelsCommand(input), ...args); + return await client.send(new ListLanguageModelsCommand(input, ...args)); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListMedicalTranscriptionJobsPaginator.ts b/clients/client-transcribe/pagination/ListMedicalTranscriptionJobsPaginator.ts index 0769edac49ca..39ecd1f05579 100644 --- a/clients/client-transcribe/pagination/ListMedicalTranscriptionJobsPaginator.ts +++ b/clients/client-transcribe/pagination/ListMedicalTranscriptionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMedicalTranscriptionJobsCommand(input), ...args); + return await client.send(new ListMedicalTranscriptionJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListMedicalVocabulariesPaginator.ts b/clients/client-transcribe/pagination/ListMedicalVocabulariesPaginator.ts index f177cdfff4aa..1d36e03e0313 100644 --- a/clients/client-transcribe/pagination/ListMedicalVocabulariesPaginator.ts +++ b/clients/client-transcribe/pagination/ListMedicalVocabulariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMedicalVocabulariesCommand(input), ...args); + return await client.send(new ListMedicalVocabulariesCommand(input, ...args)); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListTranscriptionJobsPaginator.ts b/clients/client-transcribe/pagination/ListTranscriptionJobsPaginator.ts index 60263761f499..2d757510e6d7 100644 --- a/clients/client-transcribe/pagination/ListTranscriptionJobsPaginator.ts +++ b/clients/client-transcribe/pagination/ListTranscriptionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTranscriptionJobsCommand(input), ...args); + return await client.send(new ListTranscriptionJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListVocabulariesPaginator.ts b/clients/client-transcribe/pagination/ListVocabulariesPaginator.ts index c1c2664a444a..3bccd9221b70 100644 --- a/clients/client-transcribe/pagination/ListVocabulariesPaginator.ts +++ b/clients/client-transcribe/pagination/ListVocabulariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVocabulariesCommand(input), ...args); + return await client.send(new ListVocabulariesCommand(input, ...args)); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListVocabularyFiltersPaginator.ts b/clients/client-transcribe/pagination/ListVocabularyFiltersPaginator.ts index 6b0f4a8e03f0..0f0304acc0ad 100644 --- a/clients/client-transcribe/pagination/ListVocabularyFiltersPaginator.ts +++ b/clients/client-transcribe/pagination/ListVocabularyFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVocabularyFiltersCommand(input), ...args); + return await client.send(new ListVocabularyFiltersCommand(input, ...args)); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transfer/pagination/ListSecurityPoliciesPaginator.ts b/clients/client-transfer/pagination/ListSecurityPoliciesPaginator.ts index a0a507299a87..1431452c8ffd 100644 --- a/clients/client-transfer/pagination/ListSecurityPoliciesPaginator.ts +++ b/clients/client-transfer/pagination/ListSecurityPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityPoliciesCommand(input), ...args); + return await client.send(new ListSecurityPoliciesCommand(input, ...args)); }; const makePagedRequest = async ( client: Transfer, diff --git a/clients/client-transfer/pagination/ListServersPaginator.ts b/clients/client-transfer/pagination/ListServersPaginator.ts index 9da61ce4a107..dee17103f119 100644 --- a/clients/client-transfer/pagination/ListServersPaginator.ts +++ b/clients/client-transfer/pagination/ListServersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServersCommand(input), ...args); + return await client.send(new ListServersCommand(input, ...args)); }; const makePagedRequest = async ( client: Transfer, diff --git a/clients/client-transfer/pagination/ListTagsForResourcePaginator.ts b/clients/client-transfer/pagination/ListTagsForResourcePaginator.ts index 0112bed50a1a..8d59aa01f605 100644 --- a/clients/client-transfer/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-transfer/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input), ...args); + return await client.send(new ListTagsForResourceCommand(input, ...args)); }; const makePagedRequest = async ( client: Transfer, diff --git a/clients/client-transfer/pagination/ListUsersPaginator.ts b/clients/client-transfer/pagination/ListUsersPaginator.ts index b150b545b4be..219df40a634f 100644 --- a/clients/client-transfer/pagination/ListUsersPaginator.ts +++ b/clients/client-transfer/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input), ...args); + return await client.send(new ListUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: Transfer, diff --git a/clients/client-translate/pagination/ListTerminologiesPaginator.ts b/clients/client-translate/pagination/ListTerminologiesPaginator.ts index c92d18a71afc..002484c0208d 100644 --- a/clients/client-translate/pagination/ListTerminologiesPaginator.ts +++ b/clients/client-translate/pagination/ListTerminologiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTerminologiesCommand(input), ...args); + return await client.send(new ListTerminologiesCommand(input, ...args)); }; const makePagedRequest = async ( client: Translate, diff --git a/clients/client-translate/pagination/ListTextTranslationJobsPaginator.ts b/clients/client-translate/pagination/ListTextTranslationJobsPaginator.ts index 92b6b00141e3..708b0a926f5f 100644 --- a/clients/client-translate/pagination/ListTextTranslationJobsPaginator.ts +++ b/clients/client-translate/pagination/ListTextTranslationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTextTranslationJobsCommand(input), ...args); + return await client.send(new ListTextTranslationJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: Translate, diff --git a/clients/client-workdocs/pagination/DescribeDocumentVersionsPaginator.ts b/clients/client-workdocs/pagination/DescribeDocumentVersionsPaginator.ts index fc9ae4dc5b67..728a2fb4b313 100644 --- a/clients/client-workdocs/pagination/DescribeDocumentVersionsPaginator.ts +++ b/clients/client-workdocs/pagination/DescribeDocumentVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDocumentVersionsCommand(input), ...args); + return await client.send(new DescribeDocumentVersionsCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkDocs, diff --git a/clients/client-workdocs/pagination/DescribeFolderContentsPaginator.ts b/clients/client-workdocs/pagination/DescribeFolderContentsPaginator.ts index 3367fdc91c25..7763ca7b04dd 100644 --- a/clients/client-workdocs/pagination/DescribeFolderContentsPaginator.ts +++ b/clients/client-workdocs/pagination/DescribeFolderContentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFolderContentsCommand(input), ...args); + return await client.send(new DescribeFolderContentsCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkDocs, diff --git a/clients/client-workdocs/pagination/DescribeUsersPaginator.ts b/clients/client-workdocs/pagination/DescribeUsersPaginator.ts index bf8bcffeb5ae..5abe5fa6a08f 100644 --- a/clients/client-workdocs/pagination/DescribeUsersPaginator.ts +++ b/clients/client-workdocs/pagination/DescribeUsersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUsersCommand(input), ...args); + return await client.send(new DescribeUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkDocs, diff --git a/clients/client-worklink/pagination/ListDevicesPaginator.ts b/clients/client-worklink/pagination/ListDevicesPaginator.ts index d9950f2e5826..f784635b46c8 100644 --- a/clients/client-worklink/pagination/ListDevicesPaginator.ts +++ b/clients/client-worklink/pagination/ListDevicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevicesCommand(input), ...args); + return await client.send(new ListDevicesCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-worklink/pagination/ListDomainsPaginator.ts b/clients/client-worklink/pagination/ListDomainsPaginator.ts index 3f36cd1f1322..4c0459ab5447 100644 --- a/clients/client-worklink/pagination/ListDomainsPaginator.ts +++ b/clients/client-worklink/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input), ...args); + return await client.send(new ListDomainsCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-worklink/pagination/ListFleetsPaginator.ts b/clients/client-worklink/pagination/ListFleetsPaginator.ts index 689a8721667f..24ec17a30ef4 100644 --- a/clients/client-worklink/pagination/ListFleetsPaginator.ts +++ b/clients/client-worklink/pagination/ListFleetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFleetsCommand(input), ...args); + return await client.send(new ListFleetsCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-worklink/pagination/ListWebsiteAuthorizationProvidersPaginator.ts b/clients/client-worklink/pagination/ListWebsiteAuthorizationProvidersPaginator.ts index 8d78d7b99672..6feca6ada6cd 100644 --- a/clients/client-worklink/pagination/ListWebsiteAuthorizationProvidersPaginator.ts +++ b/clients/client-worklink/pagination/ListWebsiteAuthorizationProvidersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWebsiteAuthorizationProvidersCommand(input), ...args); + return await client.send(new ListWebsiteAuthorizationProvidersCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-worklink/pagination/ListWebsiteCertificateAuthoritiesPaginator.ts b/clients/client-worklink/pagination/ListWebsiteCertificateAuthoritiesPaginator.ts index b241ecd2bf28..a5b9e0e821bd 100644 --- a/clients/client-worklink/pagination/ListWebsiteCertificateAuthoritiesPaginator.ts +++ b/clients/client-worklink/pagination/ListWebsiteCertificateAuthoritiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWebsiteCertificateAuthoritiesCommand(input), ...args); + return await client.send(new ListWebsiteCertificateAuthoritiesCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-workmail/pagination/ListAliasesPaginator.ts b/clients/client-workmail/pagination/ListAliasesPaginator.ts index 64e7505a994b..97d10243822d 100644 --- a/clients/client-workmail/pagination/ListAliasesPaginator.ts +++ b/clients/client-workmail/pagination/ListAliasesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAliasesCommand(input), ...args); + return await client.send(new ListAliasesCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListGroupMembersPaginator.ts b/clients/client-workmail/pagination/ListGroupMembersPaginator.ts index 75d8f95a58cb..7d09719372b2 100644 --- a/clients/client-workmail/pagination/ListGroupMembersPaginator.ts +++ b/clients/client-workmail/pagination/ListGroupMembersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupMembersCommand(input), ...args); + return await client.send(new ListGroupMembersCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListGroupsPaginator.ts b/clients/client-workmail/pagination/ListGroupsPaginator.ts index a17211434f33..c43b78c6c093 100644 --- a/clients/client-workmail/pagination/ListGroupsPaginator.ts +++ b/clients/client-workmail/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input), ...args); + return await client.send(new ListGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListMailboxExportJobsPaginator.ts b/clients/client-workmail/pagination/ListMailboxExportJobsPaginator.ts index 746b052468cc..009c799a47f7 100644 --- a/clients/client-workmail/pagination/ListMailboxExportJobsPaginator.ts +++ b/clients/client-workmail/pagination/ListMailboxExportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMailboxExportJobsCommand(input), ...args); + return await client.send(new ListMailboxExportJobsCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListMailboxPermissionsPaginator.ts b/clients/client-workmail/pagination/ListMailboxPermissionsPaginator.ts index c94edd70b6c7..09cf5b591385 100644 --- a/clients/client-workmail/pagination/ListMailboxPermissionsPaginator.ts +++ b/clients/client-workmail/pagination/ListMailboxPermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMailboxPermissionsCommand(input), ...args); + return await client.send(new ListMailboxPermissionsCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListOrganizationsPaginator.ts b/clients/client-workmail/pagination/ListOrganizationsPaginator.ts index 87b18a42efff..6be8299e53a4 100644 --- a/clients/client-workmail/pagination/ListOrganizationsPaginator.ts +++ b/clients/client-workmail/pagination/ListOrganizationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationsCommand(input), ...args); + return await client.send(new ListOrganizationsCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListResourceDelegatesPaginator.ts b/clients/client-workmail/pagination/ListResourceDelegatesPaginator.ts index 45ccb7d47d0d..722972c004df 100644 --- a/clients/client-workmail/pagination/ListResourceDelegatesPaginator.ts +++ b/clients/client-workmail/pagination/ListResourceDelegatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourceDelegatesCommand(input), ...args); + return await client.send(new ListResourceDelegatesCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListResourcesPaginator.ts b/clients/client-workmail/pagination/ListResourcesPaginator.ts index 913057337601..f5efac46336a 100644 --- a/clients/client-workmail/pagination/ListResourcesPaginator.ts +++ b/clients/client-workmail/pagination/ListResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourcesCommand(input), ...args); + return await client.send(new ListResourcesCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListUsersPaginator.ts b/clients/client-workmail/pagination/ListUsersPaginator.ts index 2f60c843b19c..b81f885cb7e2 100644 --- a/clients/client-workmail/pagination/ListUsersPaginator.ts +++ b/clients/client-workmail/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input), ...args); + return await client.send(new ListUsersCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workspaces/pagination/DescribeWorkspaceBundlesPaginator.ts b/clients/client-workspaces/pagination/DescribeWorkspaceBundlesPaginator.ts index 208a2ad76364..15314038f185 100644 --- a/clients/client-workspaces/pagination/DescribeWorkspaceBundlesPaginator.ts +++ b/clients/client-workspaces/pagination/DescribeWorkspaceBundlesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeWorkspaceBundlesCommand(input), ...args); + return await client.send(new DescribeWorkspaceBundlesCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkSpaces, diff --git a/clients/client-workspaces/pagination/DescribeWorkspaceDirectoriesPaginator.ts b/clients/client-workspaces/pagination/DescribeWorkspaceDirectoriesPaginator.ts index 4a8ddeedf240..0046a340d384 100644 --- a/clients/client-workspaces/pagination/DescribeWorkspaceDirectoriesPaginator.ts +++ b/clients/client-workspaces/pagination/DescribeWorkspaceDirectoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeWorkspaceDirectoriesCommand(input), ...args); + return await client.send(new DescribeWorkspaceDirectoriesCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkSpaces, diff --git a/clients/client-workspaces/pagination/DescribeWorkspacesPaginator.ts b/clients/client-workspaces/pagination/DescribeWorkspacesPaginator.ts index 0c69cf25ff8b..d2d85414e8c0 100644 --- a/clients/client-workspaces/pagination/DescribeWorkspacesPaginator.ts +++ b/clients/client-workspaces/pagination/DescribeWorkspacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeWorkspacesCommand(input), ...args); + return await client.send(new DescribeWorkspacesCommand(input, ...args)); }; const makePagedRequest = async ( client: WorkSpaces, diff --git a/clients/client-xray/pagination/BatchGetTracesPaginator.ts b/clients/client-xray/pagination/BatchGetTracesPaginator.ts index 8ba9f5385021..4eb4a25f6e46 100644 --- a/clients/client-xray/pagination/BatchGetTracesPaginator.ts +++ b/clients/client-xray/pagination/BatchGetTracesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new BatchGetTracesCommand(input), ...args); + return await client.send(new BatchGetTracesCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetGroupsPaginator.ts b/clients/client-xray/pagination/GetGroupsPaginator.ts index 7bce6b7d9919..18afa9199054 100644 --- a/clients/client-xray/pagination/GetGroupsPaginator.ts +++ b/clients/client-xray/pagination/GetGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetGroupsCommand(input), ...args); + return await client.send(new GetGroupsCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetInsightEventsPaginator.ts b/clients/client-xray/pagination/GetInsightEventsPaginator.ts index c61074caa2f8..4b2f0ebc1348 100644 --- a/clients/client-xray/pagination/GetInsightEventsPaginator.ts +++ b/clients/client-xray/pagination/GetInsightEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInsightEventsCommand(input), ...args); + return await client.send(new GetInsightEventsCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetInsightSummariesPaginator.ts b/clients/client-xray/pagination/GetInsightSummariesPaginator.ts index a27971e2331d..333e4fb23a43 100644 --- a/clients/client-xray/pagination/GetInsightSummariesPaginator.ts +++ b/clients/client-xray/pagination/GetInsightSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInsightSummariesCommand(input), ...args); + return await client.send(new GetInsightSummariesCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetSamplingRulesPaginator.ts b/clients/client-xray/pagination/GetSamplingRulesPaginator.ts index 9f952f52e791..a233a0f84588 100644 --- a/clients/client-xray/pagination/GetSamplingRulesPaginator.ts +++ b/clients/client-xray/pagination/GetSamplingRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSamplingRulesCommand(input), ...args); + return await client.send(new GetSamplingRulesCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetSamplingStatisticSummariesPaginator.ts b/clients/client-xray/pagination/GetSamplingStatisticSummariesPaginator.ts index e8730d16c54a..839bdc17cb7a 100644 --- a/clients/client-xray/pagination/GetSamplingStatisticSummariesPaginator.ts +++ b/clients/client-xray/pagination/GetSamplingStatisticSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSamplingStatisticSummariesCommand(input), ...args); + return await client.send(new GetSamplingStatisticSummariesCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetServiceGraphPaginator.ts b/clients/client-xray/pagination/GetServiceGraphPaginator.ts index 396e8f4c94ce..b2e1f38110b6 100644 --- a/clients/client-xray/pagination/GetServiceGraphPaginator.ts +++ b/clients/client-xray/pagination/GetServiceGraphPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetServiceGraphCommand(input), ...args); + return await client.send(new GetServiceGraphCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetTimeSeriesServiceStatisticsPaginator.ts b/clients/client-xray/pagination/GetTimeSeriesServiceStatisticsPaginator.ts index 1bf4cd89b5f0..821ae06a4262 100644 --- a/clients/client-xray/pagination/GetTimeSeriesServiceStatisticsPaginator.ts +++ b/clients/client-xray/pagination/GetTimeSeriesServiceStatisticsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTimeSeriesServiceStatisticsCommand(input), ...args); + return await client.send(new GetTimeSeriesServiceStatisticsCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetTraceGraphPaginator.ts b/clients/client-xray/pagination/GetTraceGraphPaginator.ts index 906437e3cf43..ef47f876fc12 100644 --- a/clients/client-xray/pagination/GetTraceGraphPaginator.ts +++ b/clients/client-xray/pagination/GetTraceGraphPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTraceGraphCommand(input), ...args); + return await client.send(new GetTraceGraphCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetTraceSummariesPaginator.ts b/clients/client-xray/pagination/GetTraceSummariesPaginator.ts index 499cbd9bb8be..fe142b0a243d 100644 --- a/clients/client-xray/pagination/GetTraceSummariesPaginator.ts +++ b/clients/client-xray/pagination/GetTraceSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTraceSummariesCommand(input), ...args); + return await client.send(new GetTraceSummariesCommand(input, ...args)); }; const makePagedRequest = async ( client: XRay, From f08ee82012fc2ef58e185245708474889bec916f Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Thu, 12 Nov 2020 23:12:07 +0000 Subject: [PATCH 3/7] chore: update models as of 11/12 --- .../aws-models/iot.2015-05-28.json | 30 +- ...lex-model-building-service.2017-04-19.json | 2107 ++--- .../aws-models/lightsail.2016-11-28.json | 7946 ++++++++++------- .../personalize-runtime.2018-05-22.json | 121 +- .../aws-models/polly.2016-06-10.json | 443 +- .../aws-models/robomaker.2018-06-29.json | 2726 +++--- ...ervice-catalog-appregistry.2020-06-24.json | 1750 ++++ 7 files changed, 9333 insertions(+), 5790 deletions(-) create mode 100644 codegen/sdk-codegen/aws-models/service-catalog-appregistry.2020-06-24.json diff --git a/codegen/sdk-codegen/aws-models/iot.2015-05-28.json b/codegen/sdk-codegen/aws-models/iot.2015-05-28.json index b881419a4ff2..f68e7c7a2f04 100644 --- a/codegen/sdk-codegen/aws-models/iot.2015-05-28.json +++ b/codegen/sdk-codegen/aws-models/iot.2015-05-28.json @@ -3023,6 +3023,12 @@ "smithy.api#box": {} } }, + "com.amazonaws.iot#BatchMode": { + "type": "boolean", + "traits": { + "smithy.api#box": {} + } + }, "com.amazonaws.iot#Behavior": { "type": "structure", "members": { @@ -12028,6 +12034,12 @@ "traits": { "smithy.api#documentation": "

                A character separator that will be used to separate records written to the Firehose\n stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ','\n (comma).

                " } + }, + "batchMode": { + "target": "com.amazonaws.iot#BatchMode", + "traits": { + "smithy.api#documentation": "

                Whether to deliver the Kinesis Data Firehose stream as a batch by using \n PutRecordBatch\n . The default value is\n false.

                \n

                When batchMode is true and the rule's SQL statement\n evaluates to an Array, each Array element forms one record in the \n PutRecordBatch\n request. The resulting array can't have more\n than 500 records.

                " + } } }, "traits": { @@ -13536,6 +13548,12 @@ "smithy.api#documentation": "

                The name of the IoT Analytics channel to which message data will be sent.

                " } }, + "batchMode": { + "target": "com.amazonaws.iot#BatchMode", + "traits": { + "smithy.api#documentation": "

                Whether to process the action as a batch. The default value is\n false.

                \n

                When batchMode is true and the rule SQL statement evaluates\n to an Array, each Array element is delivered as a separate message when passed by \n BatchPutMessage\n to the AWS IoT Analytics channel. The resulting array can't have more\n than 100 messages.

                " + } + }, "roleArn": { "target": "com.amazonaws.iot#AwsArn", "traits": { @@ -13560,7 +13578,13 @@ "messageId": { "target": "com.amazonaws.iot#MessageId", "traits": { - "smithy.api#documentation": "

                [Optional] Use this to ensure that only one input (message) with a given messageId will\n be processed by an AWS IoT Events detector.

                " + "smithy.api#documentation": "

                The ID of the message. The default messageId is a new UUID value.

                \n

                When batchMode is true, you can't specify a\n messageId--a new UUID value will be assigned.

                \n

                Assign a value to this property to ensure that only one input (message) with a given\n messageId will be processed by an AWS IoT Events detector.

                " + } + }, + "batchMode": { + "target": "com.amazonaws.iot#BatchMode", + "traits": { + "smithy.api#documentation": "

                Whether to process the event actions as a batch. The default value is\n false.

                \n

                When batchMode is true, you can't specify a\n messageId.

                \n

                When batchMode is true and the rule SQL statement evaluates\n to an Array, each Array element is treated as a separate message when it's sent to AWS IoT\n Events by calling \n BatchPutMessage\n . The resulting array can't have more\n than 10 messages.

                " } }, "roleArn": { @@ -21257,7 +21281,7 @@ "key": { "target": "com.amazonaws.iot#Key", "traits": { - "smithy.api#documentation": "

                The object key.

                ", + "smithy.api#documentation": "

                The object key. For more information, see Actions, resources, and condition keys for Amazon S3.

                ", "smithy.api#required": {} } }, @@ -22080,7 +22104,7 @@ } }, "traits": { - "smithy.api#documentation": "

                Use Sig V4 authorization.

                " + "smithy.api#documentation": "

                For more information, see Signature Version 4 signing process.

                " } }, "com.amazonaws.iot#Signature": { diff --git a/codegen/sdk-codegen/aws-models/lex-model-building-service.2017-04-19.json b/codegen/sdk-codegen/aws-models/lex-model-building-service.2017-04-19.json index b62015ee7758..598bb3be4f00 100644 --- a/codegen/sdk-codegen/aws-models/lex-model-building-service.2017-04-19.json +++ b/codegen/sdk-codegen/aws-models/lex-model-building-service.2017-04-19.json @@ -220,10 +220,10 @@ "com.amazonaws.lexmodelbuildingservice#BotAliasMetadata": { "type": "structure", "members": { - "conversationLogs": { - "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { - "smithy.api#documentation": "

                Settings that determine how Amazon Lex uses conversation logs for the alias.

                " + "smithy.api#documentation": "

                The name of the bot alias.

                " } }, "description": { @@ -232,40 +232,40 @@ "smithy.api#documentation": "

                A description of the bot alias.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#AliasName", + "botVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The name of the bot alias.

                " + "smithy.api#documentation": "

                The version of the Amazon Lex bot to which the alias points.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "botName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { - "smithy.api#documentation": "

                Checksum of the bot alias.

                " + "smithy.api#documentation": "

                The name of the bot to which the alias points.

                " } }, - "createdDate": { + "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The date that the bot alias was created.

                " + "smithy.api#documentation": "

                The date that the bot alias was updated. When you create a resource, the creation date\n and last updated date are the same.

                " } }, - "lastUpdatedDate": { + "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The date that the bot alias was updated. When you create a resource, the creation date\n and last updated date are the same.

                " + "smithy.api#documentation": "

                The date that the bot alias was created.

                " } }, - "botVersion": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The version of the Amazon Lex bot to which the alias points.

                " + "smithy.api#documentation": "

                Checksum of the bot alias.

                " } }, - "botName": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "conversationLogs": { + "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", "traits": { - "smithy.api#documentation": "

                The name of the bot to which the alias points.

                " + "smithy.api#documentation": "

                Settings that determine how Amazon Lex uses conversation logs for the alias.

                " } } }, @@ -282,28 +282,28 @@ "com.amazonaws.lexmodelbuildingservice#BotChannelAssociation": { "type": "structure", "members": { - "botConfiguration": { - "target": "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", "traits": { - "smithy.api#documentation": "

                Provides information necessary to communicate with the messaging platform.

                " + "smithy.api#documentation": "

                The name of the association between the bot and the channel.

                " } }, - "type": { - "target": "com.amazonaws.lexmodelbuildingservice#ChannelType", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                Specifies the type of association by indicating the type of channel being established\n between the Amazon Lex bot and the external messaging platform.

                " + "smithy.api#documentation": "

                A text description of the association you are creating.

                " } }, - "status": { - "target": "com.amazonaws.lexmodelbuildingservice#ChannelStatus", + "botAlias": { + "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { - "smithy.api#documentation": "

                The status of the bot channel.

                \n
                  \n
                • \n

                  \n CREATED - The channel has been created and is ready for use.

                  \n
                • \n
                • \n

                  \n IN_PROGRESS - Channel creation is in progress.

                  \n
                • \n
                • \n

                  \n FAILED - There was an error creating the channel. For information\n about the reason for the failure, see the failureReason field.

                  \n
                • \n
                " + "smithy.api#documentation": "

                An alias pointing to the specific version of the Amazon Lex bot to which this association is\n being made.

                " } }, - "failureReason": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "botName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { - "smithy.api#documentation": "

                If status is FAILED, Amazon Lex provides the reason that it failed\n to create the association.

                " + "smithy.api#documentation": "

                The name of the Amazon Lex bot to which this association is being made.

                \n \n

                Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.

                \n\n
                " } }, "createdDate": { @@ -312,28 +312,28 @@ "smithy.api#documentation": "

                The date that the association between the Amazon Lex bot and the channel was created.\n

                " } }, - "botAlias": { - "target": "com.amazonaws.lexmodelbuildingservice#AliasName", + "type": { + "target": "com.amazonaws.lexmodelbuildingservice#ChannelType", "traits": { - "smithy.api#documentation": "

                An alias pointing to the specific version of the Amazon Lex bot to which this association is\n being made.

                " + "smithy.api#documentation": "

                Specifies the type of association by indicating the type of channel being established\n between the Amazon Lex bot and the external messaging platform.

                " } }, - "botName": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "botConfiguration": { + "target": "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap", "traits": { - "smithy.api#documentation": "

                The name of the Amazon Lex bot to which this association is being made.

                \n \n

                Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.

                \n\n
                " + "smithy.api#documentation": "

                Provides information necessary to communicate with the messaging platform.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", + "status": { + "target": "com.amazonaws.lexmodelbuildingservice#ChannelStatus", "traits": { - "smithy.api#documentation": "

                The name of the association between the bot and the channel.

                " + "smithy.api#documentation": "

                The status of the bot channel.

                \n
                  \n
                • \n

                  \n CREATED - The channel has been created and is ready for use.

                  \n
                • \n
                • \n

                  \n IN_PROGRESS - Channel creation is in progress.

                  \n
                • \n
                • \n

                  \n FAILED - There was an error creating the channel. For information\n about the reason for the failure, see the failureReason field.

                  \n
                • \n
                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "failureReason": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                A text description of the association you are creating.

                " + "smithy.api#documentation": "

                If status is FAILED, Amazon Lex provides the reason that it failed\n to create the association.

                " } } }, @@ -360,22 +360,16 @@ "com.amazonaws.lexmodelbuildingservice#BotMetadata": { "type": "structure", "members": { - "createdDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", - "traits": { - "smithy.api#documentation": "

                The date that the bot was created.

                " - } - }, "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

                The name of the bot.

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                The version of the bot. For a new bot, the version is always\n $LATEST.

                " + "smithy.api#documentation": "

                A description of the bot.

                " } }, "status": { @@ -384,16 +378,22 @@ "smithy.api#documentation": "

                The status of the bot.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "lastUpdatedDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                A description of the bot.

                " + "smithy.api#documentation": "

                The date that the bot was updated. When you create a bot, the creation date and last\n updated date are the same.

                " } }, - "lastUpdatedDate": { + "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The date that the bot was updated. When you create a bot, the creation date and last\n updated date are the same.

                " + "smithy.api#documentation": "

                The date that the bot was created.

                " + } + }, + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", + "traits": { + "smithy.api#documentation": "

                The version of the bot. For a new bot, the version is always\n $LATEST.

                " } } }, @@ -432,17 +432,17 @@ "com.amazonaws.lexmodelbuildingservice#BuiltinIntentMetadata": { "type": "structure", "members": { - "supportedLocales": { - "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", - "traits": { - "smithy.api#documentation": "

                A list of identifiers for the locales that the intent supports.

                " - } - }, "signature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "

                A unique identifier for the built-in intent. To find the signature for an intent, see\n Standard Built-in Intents in the Alexa Skills Kit.

                " } + }, + "supportedLocales": { + "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", + "traits": { + "smithy.api#documentation": "

                A list of identifiers for the locales that the intent supports.

                " + } } }, "traits": { @@ -481,17 +481,17 @@ "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeMetadata": { "type": "structure", "members": { - "supportedLocales": { - "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", - "traits": { - "smithy.api#documentation": "

                A list of target locales for the slot.

                " - } - }, "signature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinSlotTypeSignature", "traits": { "smithy.api#documentation": "

                A unique identifier for the built-in slot type. To find the signature for a slot type,\n see Slot Type Reference in the Alexa Skills Kit.

                " } + }, + "supportedLocales": { + "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", + "traits": { + "smithy.api#documentation": "

                A list of target locales for the slot.

                " + } } }, "traits": { @@ -590,6 +590,7 @@ "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold": { "type": "double", "traits": { + "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -725,12 +726,6 @@ "com.amazonaws.lexmodelbuildingservice#CreateBotVersionRequest": { "type": "structure", "members": { - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", - "traits": { - "smithy.api#documentation": "

                Identifies a specific revision of the $LATEST version of the bot. If you\n specify a checksum and the $LATEST version of the bot has a different checksum, a\n PreconditionFailedException exception is returned and Amazon Lex doesn't publish a\n new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST\n version.

                " - } - }, "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { @@ -738,12 +733,54 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", + "traits": { + "smithy.api#documentation": "

                Identifies a specific revision of the $LATEST version of the bot. If you\n specify a checksum and the $LATEST version of the bot has a different checksum, a\n PreconditionFailedException exception is returned and Amazon Lex doesn't publish a\n new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST\n version.

                " + } } } }, "com.amazonaws.lexmodelbuildingservice#CreateBotVersionResponse": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "traits": { + "smithy.api#documentation": "

                The name of the bot.

                " + } + }, + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", + "traits": { + "smithy.api#documentation": "

                A description of the bot.

                " + } + }, + "intents": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentList", + "traits": { + "smithy.api#documentation": "

                An array of Intent objects. For more information, see PutBot.

                " + } + }, + "clarificationPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#Prompt", + "traits": { + "smithy.api#documentation": "

                The message that Amazon Lex uses when it doesn't understand the user's request. For more\n information, see PutBot.

                " + } + }, + "abortStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", + "traits": { + "smithy.api#documentation": "

                The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.

                " + } + }, + "status": { + "target": "com.amazonaws.lexmodelbuildingservice#Status", + "traits": { + "smithy.api#documentation": "

                When you send a request to create or update a bot, Amazon Lex sets the status\n response element to BUILDING. After Amazon Lex builds the bot, it sets\n status to READY. If Amazon Lex can't build the bot, it sets\n status to FAILED. Amazon Lex returns the reason for the failure in the\n failureReason response element.

                " + } + }, "failureReason": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { @@ -774,22 +811,16 @@ "smithy.api#documentation": "

                The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the\n user.

                " } }, - "intents": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentList", - "traits": { - "smithy.api#documentation": "

                An array of Intent objects. For more information, see PutBot.

                " - } - }, - "detectSentiment": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                Indicates whether utterances entered by the user should be sent to Amazon Comprehend for\n sentiment analysis.

                " + "smithy.api#documentation": "

                Checksum identifying the version of the bot that was created.

                " } }, - "status": { - "target": "com.amazonaws.lexmodelbuildingservice#Status", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                When you send a request to create or update a bot, Amazon Lex sets the status\n response element to BUILDING. After Amazon Lex builds the bot, it sets\n status to READY. If Amazon Lex can't build the bot, it sets\n status to FAILED. Amazon Lex returns the reason for the failure in the\n failureReason response element.

                " + "smithy.api#documentation": "

                The version of the bot.

                " } }, "locale": { @@ -804,46 +835,16 @@ "smithy.api#documentation": "

                For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify\n whether your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to the\n Children's Online Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By specifying true\n in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you confirm that your\n use of Amazon Lex is not related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children under age 13 and\n subject to COPPA. You may not specify a default value for the childDirected field\n that does not accurately reflect whether your use of Amazon Lex is related to a website, program,\n or other application that is directed or targeted, in whole or in part, to children under age\n 13 and subject to COPPA.

                \n

                If your use of Amazon Lex relates to a website, program, or other application that is\n directed in whole or in part, to children under age 13, you must obtain any required\n verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in\n connection with websites, programs, or other applications that are directed or targeted, in\n whole or in part, to children under age 13, see the Amazon Lex FAQ.\n

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", - "traits": { - "smithy.api#documentation": "

                The version of the bot.

                " - } - }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", - "traits": { - "smithy.api#documentation": "

                A description of the bot.

                " - } - }, "enableModelImprovements": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { "smithy.api#documentation": "

                Indicates whether the bot uses accuracy improvements. true \n indicates that the bot is using the improvements, otherwise, false.

                " } }, - "clarificationPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#Prompt", - "traits": { - "smithy.api#documentation": "

                The message that Amazon Lex uses when it doesn't understand the user's request. For more\n information, see PutBot.

                " - } - }, - "abortStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", - "traits": { - "smithy.api#documentation": "

                The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.

                " - } - }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", - "traits": { - "smithy.api#documentation": "

                Checksum identifying the version of the bot that was created.

                " - } - }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "detectSentiment": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                The name of the bot.

                " + "smithy.api#documentation": "

                Indicates whether utterances entered by the user should be sent to Amazon Comprehend for\n sentiment analysis.

                " } } } @@ -888,12 +889,6 @@ "com.amazonaws.lexmodelbuildingservice#CreateIntentVersionRequest": { "type": "structure", "members": { - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", - "traits": { - "smithy.api#documentation": "

                Checksum of the $LATEST version of the intent that should be used to\n create the new version. If you specify a checksum and the $LATEST version of the\n intent has a different checksum, Amazon Lex returns a PreconditionFailedException\n exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes\n the $LATEST version.

                " - } - }, "name": { "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { @@ -901,6 +896,12 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", + "traits": { + "smithy.api#documentation": "

                Checksum of the $LATEST version of the intent that should be used to\n create the new version. If you specify a checksum and the $LATEST version of the\n intent has a different checksum, Amazon Lex returns a PreconditionFailedException\n exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes\n the $LATEST version.

                " + } } } }, @@ -913,94 +914,94 @@ "smithy.api#documentation": "

                The name of the intent.

                " } }, - "dialogCodeHook": { - "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", - "traits": { - "smithy.api#documentation": "

                If defined, Amazon Lex invokes this Lambda function for each user input.

                " + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", + "traits": { + "smithy.api#documentation": "

                A description of the intent.

                " } }, - "parentIntentSignature": { - "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", + "slots": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { - "smithy.api#documentation": "

                A unique identifier for a built-in intent.

                " + "smithy.api#documentation": "

                An array of slot types that defines the information required to fulfill the\n intent.

                " } }, - "conclusionStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", + "sampleUtterances": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { - "smithy.api#documentation": "

                After the Lambda function specified in the fulfillmentActivity field\n fulfills the intent, Amazon Lex conveys this statement to the user.

                " + "smithy.api#documentation": "

                An array of sample utterances configured for the intent.

                " } }, - "kendraConfiguration": { - "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", + "confirmationPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { - "smithy.api#documentation": "

                Configuration information, if any, for connecting an Amazon Kendra index with the\n AMAZON.KendraSearchIntent intent.

                " + "smithy.api#documentation": "

                If defined, the prompt that Amazon Lex uses to confirm the user's intent before\n fulfilling it.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "rejectionStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { - "smithy.api#documentation": "

                Checksum of the intent version created.

                " + "smithy.api#documentation": "

                If the user answers \"no\" to the question defined in confirmationPrompt,\n Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                " } }, - "confirmationPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#Prompt", + "followUpPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", "traits": { - "smithy.api#documentation": "

                If defined, the prompt that Amazon Lex uses to confirm the user's intent before\n fulfilling it.

                " + "smithy.api#documentation": "

                If defined, Amazon Lex uses this prompt to solicit additional user activity after the\n intent is fulfilled.

                " } }, - "fulfillmentActivity": { - "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", + "conclusionStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { - "smithy.api#documentation": "

                Describes how the intent is fulfilled.

                " + "smithy.api#documentation": "

                After the Lambda function specified in the fulfillmentActivity field\n fulfills the intent, Amazon Lex conveys this statement to the user.

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "dialogCodeHook": { + "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", "traits": { - "smithy.api#documentation": "

                The version number assigned to the new version of the intent.

                " + "smithy.api#documentation": "

                If defined, Amazon Lex invokes this Lambda function for each user input.

                " } }, - "slots": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotList", + "fulfillmentActivity": { + "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { - "smithy.api#documentation": "

                An array of slot types that defines the information required to fulfill the\n intent.

                " + "smithy.api#documentation": "

                Describes how the intent is fulfilled.

                " } }, - "followUpPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", + "parentIntentSignature": { + "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { - "smithy.api#documentation": "

                If defined, Amazon Lex uses this prompt to solicit additional user activity after the\n intent is fulfilled.

                " + "smithy.api#documentation": "

                A unique identifier for a built-in intent.

                " } }, - "createdDate": { + "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The date that the intent was created.

                " + "smithy.api#documentation": "

                The date that the intent was updated.

                " } }, - "rejectionStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                If the user answers \"no\" to the question defined in confirmationPrompt,\n Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                " + "smithy.api#documentation": "

                The date that the intent was created.

                " } }, - "sampleUtterances": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                An array of sample utterances configured for the intent.

                " + "smithy.api#documentation": "

                The version number assigned to the new version of the intent.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                A description of the intent.

                " + "smithy.api#documentation": "

                Checksum of the intent version created.

                " } }, - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "kendraConfiguration": { + "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", "traits": { - "smithy.api#documentation": "

                The date that the intent was updated.

                " + "smithy.api#documentation": "

                Configuration information, if any, for connecting an Amazon Kendra index with the\n AMAZON.KendraSearchIntent intent.

                " } } } @@ -1045,12 +1046,6 @@ "com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersionRequest": { "type": "structure", "members": { - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", - "traits": { - "smithy.api#documentation": "

                Checksum for the $LATEST version of the slot type that you want to\n publish. If you specify a checksum and the $LATEST version of the slot type has a\n different checksum, Amazon Lex returns a PreconditionFailedException exception and\n doesn't publish the new version. If you don't specify a checksum, Amazon Lex publishes the\n $LATEST version.

                " - } - }, "name": { "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { @@ -1058,58 +1053,64 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", + "traits": { + "smithy.api#documentation": "

                Checksum for the $LATEST version of the slot type that you want to\n publish. If you specify a checksum and the $LATEST version of the slot type has a\n different checksum, Amazon Lex returns a PreconditionFailedException exception and\n doesn't publish the new version. If you don't specify a checksum, Amazon Lex publishes the\n $LATEST version.

                " + } } } }, "com.amazonaws.lexmodelbuildingservice#CreateSlotTypeVersionResponse": { "type": "structure", "members": { - "createdDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { - "smithy.api#documentation": "

                The date that the slot type was created.

                " + "smithy.api#documentation": "

                The name of the slot type.

                " } }, - "slotTypeConfigurations": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                Configuration information that extends the parent built-in slot type.

                " + "smithy.api#documentation": "

                A description of the slot type.

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "enumerationValues": { + "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { - "smithy.api#documentation": "

                The version assigned to the new slot type version.

                " + "smithy.api#documentation": "

                A list of EnumerationValue objects that defines the values that the slot\n type can take.

                " } }, - "valueSelectionStrategy": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", + "lastUpdatedDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The strategy that Amazon Lex uses to determine the value of the slot. For more information,\n see PutSlotType.

                " + "smithy.api#documentation": "

                The date that the slot type was updated. When you create a resource, the creation date\n and last update date are the same.

                " } }, - "enumerationValues": { - "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                A list of EnumerationValue objects that defines the values that the slot\n type can take.

                " + "smithy.api#documentation": "

                The date that the slot type was created.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                Checksum of the $LATEST version of the slot type.

                " + "smithy.api#documentation": "

                The version assigned to the new slot type version.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The name of the slot type.

                " + "smithy.api#documentation": "

                Checksum of the $LATEST version of the slot type.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "valueSelectionStrategy": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", "traits": { - "smithy.api#documentation": "

                A description of the slot type.

                " + "smithy.api#documentation": "

                The strategy that Amazon Lex uses to determine the value of the slot. For more information,\n see PutSlotType.

                " } }, "parentSlotTypeSignature": { @@ -1118,10 +1119,10 @@ "smithy.api#documentation": "

                The built-in slot type used a the parent of the slot type.

                " } }, - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "slotTypeConfigurations": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { - "smithy.api#documentation": "

                The date that the slot type was updated. When you create a resource, the creation date\n and last update date are the same.

                " + "smithy.api#documentation": "

                Configuration information that extends the parent built-in slot type.

                " } } } @@ -1259,14 +1260,6 @@ "com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociationRequest": { "type": "structure", "members": { - "botAlias": { - "target": "com.amazonaws.lexmodelbuildingservice#AliasName", - "traits": { - "smithy.api#documentation": "

                An alias that points to the specific version of the Amazon Lex bot to which this association\n is being made.

                ", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", "traits": { @@ -1282,6 +1275,14 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "botAlias": { + "target": "com.amazonaws.lexmodelbuildingservice#AliasName", + "traits": { + "smithy.api#documentation": "

                An alias that points to the specific version of the Amazon Lex bot to which this association\n is being made.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } } } }, @@ -1437,18 +1438,18 @@ "com.amazonaws.lexmodelbuildingservice#DeleteIntentVersionRequest": { "type": "structure", "members": { - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { - "smithy.api#documentation": "

                The version of the intent to delete. You cannot delete the $LATEST version\n of the intent. To delete the $LATEST version, use the DeleteIntent operation.

                ", + "smithy.api#documentation": "

                The name of the intent.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentName", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { - "smithy.api#documentation": "

                The name of the intent.

                ", + "smithy.api#documentation": "

                The version of the intent to delete. You cannot delete the $LATEST version\n of the intent. To delete the $LATEST version, use the DeleteIntent operation.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1539,18 +1540,18 @@ "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersionRequest": { "type": "structure", "members": { - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { - "smithy.api#documentation": "

                The version of the slot type to delete. You cannot delete the $LATEST\n version of the slot type. To delete the $LATEST version, use the DeleteSlotType operation.

                ", + "smithy.api#documentation": "

                The name of the slot type.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { - "smithy.api#documentation": "

                The name of the slot type.

                ", + "smithy.api#documentation": "

                The version of the slot type to delete. You cannot delete the $LATEST\n version of the slot type. To delete the $LATEST version, use the DeleteSlotType operation.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1633,18 +1634,18 @@ "com.amazonaws.lexmodelbuildingservice#EnumerationValue": { "type": "structure", "members": { - "synonyms": { - "target": "com.amazonaws.lexmodelbuildingservice#SynonymList", - "traits": { - "smithy.api#documentation": "

                Additional values related to the slot type value.

                " - } - }, "value": { "target": "com.amazonaws.lexmodelbuildingservice#Value", "traits": { "smithy.api#documentation": "

                The value of the slot type.

                ", "smithy.api#required": {} } + }, + "synonyms": { + "target": "com.amazonaws.lexmodelbuildingservice#SynonymList", + "traits": { + "smithy.api#documentation": "

                Additional values related to the slot type value.

                " + } } }, "traits": { @@ -1841,28 +1842,16 @@ "com.amazonaws.lexmodelbuildingservice#GetBotAliasResponse": { "type": "structure", "members": { - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", - "traits": { - "smithy.api#documentation": "

                Checksum of the bot alias.

                " - } - }, "name": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

                The name of the bot alias.

                " } }, - "createdDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", - "traits": { - "smithy.api#documentation": "

                The date that the bot alias was created.

                " - } - }, - "conversationLogs": { - "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                The settings that determine how Amazon Lex uses conversation logs for the alias.

                " + "smithy.api#documentation": "

                A description of the bot alias.

                " } }, "botVersion": { @@ -1871,12 +1860,6 @@ "smithy.api#documentation": "

                The version of the bot that the alias points to.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", - "traits": { - "smithy.api#documentation": "

                A description of the bot alias.

                " - } - }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { @@ -1888,6 +1871,24 @@ "traits": { "smithy.api#documentation": "

                The date that the bot alias was updated. When you create a resource, the creation date\n and the last updated date are the same.

                " } + }, + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "traits": { + "smithy.api#documentation": "

                The date that the bot alias was created.

                " + } + }, + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", + "traits": { + "smithy.api#documentation": "

                Checksum of the bot alias.

                " + } + }, + "conversationLogs": { + "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", + "traits": { + "smithy.api#documentation": "

                The settings that determine how Amazon Lex uses conversation logs for the alias.

                " + } } } }, @@ -1927,6 +1928,14 @@ "com.amazonaws.lexmodelbuildingservice#GetBotAliasesRequest": { "type": "structure", "members": { + "botName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "traits": { + "smithy.api#documentation": "

                The name of the bot.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { @@ -1941,14 +1950,6 @@ "smithy.api#httpQuery": "maxResults" } }, - "botName": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", - "traits": { - "smithy.api#documentation": "

                The name of the bot.

                ", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, "nameContains": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { @@ -1961,17 +1962,17 @@ "com.amazonaws.lexmodelbuildingservice#GetBotAliasesResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.lexmodelbuildingservice#NextToken", - "traits": { - "smithy.api#documentation": "

                A pagination token for fetching next page of aliases. If the response to this call is\n truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of\n aliases, specify the pagination token in the next request.

                " - } - }, "BotAliases": { "target": "com.amazonaws.lexmodelbuildingservice#BotAliasMetadataList", "traits": { "smithy.api#documentation": "

                An array of BotAliasMetadata objects, each describing a bot\n alias.

                " } + }, + "nextToken": { + "target": "com.amazonaws.lexmodelbuildingservice#NextToken", + "traits": { + "smithy.api#documentation": "

                A pagination token for fetching next page of aliases. If the response to this call is\n truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of\n aliases, specify the pagination token in the next request.

                " + } } } }, @@ -2009,6 +2010,14 @@ "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationRequest": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", + "traits": { + "smithy.api#documentation": "

                The name of the association between the bot and the channel. The name is case\n sensitive.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { @@ -2024,30 +2033,34 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", - "traits": { - "smithy.api#documentation": "

                The name of the association between the bot and the channel. The name is case\n sensitive.

                ", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationResponse": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", + "traits": { + "smithy.api#documentation": "

                The name of the association between the bot and the channel.

                " + } + }, + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", + "traits": { + "smithy.api#documentation": "

                A description of the association between the bot and the channel.

                " + } + }, "botAlias": { "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { "smithy.api#documentation": "

                An alias pointing to the specific version of the Amazon Lex bot to which this association is\n being made.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", + "botName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { - "smithy.api#documentation": "

                The name of the association between the bot and the channel.

                " + "smithy.api#documentation": "

                The name of the Amazon Lex bot.

                " } }, "createdDate": { @@ -2056,6 +2069,12 @@ "smithy.api#documentation": "

                The date that the association between the bot and the channel was created.

                " } }, + "type": { + "target": "com.amazonaws.lexmodelbuildingservice#ChannelType", + "traits": { + "smithy.api#documentation": "

                The type of the messaging platform.

                " + } + }, "botConfiguration": { "target": "com.amazonaws.lexmodelbuildingservice#ChannelConfigurationMap", "traits": { @@ -2073,24 +2092,6 @@ "traits": { "smithy.api#documentation": "

                If status is FAILED, Amazon Lex provides the reason that it failed\n to create the association.

                " } - }, - "type": { - "target": "com.amazonaws.lexmodelbuildingservice#ChannelType", - "traits": { - "smithy.api#documentation": "

                The type of the messaging platform.

                " - } - }, - "botName": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", - "traits": { - "smithy.api#documentation": "

                The name of the Amazon Lex bot.

                " - } - }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", - "traits": { - "smithy.api#documentation": "

                A description of the association between the bot and the channel.

                " - } } } }, @@ -2130,20 +2131,6 @@ "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationsRequest": { "type": "structure", "members": { - "nameContains": { - "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", - "traits": { - "smithy.api#documentation": "

                Substring to match in channel association names. An association will be returned if any\n part of its name matches the substring. For example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\"\n To return all bot channel associations, use a hyphen (\"-\") as the nameContains\n parameter.

                ", - "smithy.api#httpQuery": "nameContains" - } - }, - "maxResults": { - "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", - "traits": { - "smithy.api#documentation": "

                The maximum number of associations to return in the response. The default is 50.\n

                ", - "smithy.api#httpQuery": "maxResults" - } - }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { @@ -2152,6 +2139,14 @@ "smithy.api#required": {} } }, + "botAlias": { + "target": "com.amazonaws.lexmodelbuildingservice#AliasNameOrListAll", + "traits": { + "smithy.api#documentation": "

                An alias pointing to the specific version of the Amazon Lex bot to which this association is\n being made.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { @@ -2159,12 +2154,18 @@ "smithy.api#httpQuery": "nextToken" } }, - "botAlias": { - "target": "com.amazonaws.lexmodelbuildingservice#AliasNameOrListAll", + "maxResults": { + "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { - "smithy.api#documentation": "

                An alias pointing to the specific version of the Amazon Lex bot to which this association is\n being made.

                ", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

                The maximum number of associations to return in the response. The default is 50.\n

                ", + "smithy.api#httpQuery": "maxResults" + } + }, + "nameContains": { + "target": "com.amazonaws.lexmodelbuildingservice#BotChannelName", + "traits": { + "smithy.api#documentation": "

                Substring to match in channel association names. An association will be returned if any\n part of its name matches the substring. For example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\"\n To return all bot channel associations, use a hyphen (\"-\") as the nameContains\n parameter.

                ", + "smithy.api#httpQuery": "nameContains" } } } @@ -2189,18 +2190,18 @@ "com.amazonaws.lexmodelbuildingservice#GetBotRequest": { "type": "structure", "members": { - "versionOrAlias": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { - "smithy.api#documentation": "

                The version or alias of the bot.

                ", + "smithy.api#documentation": "

                The name of the bot. The name is case sensitive.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "versionOrAlias": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The name of the bot. The name is case sensitive.

                ", + "smithy.api#documentation": "

                The version or alias of the bot.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2210,22 +2211,10 @@ "com.amazonaws.lexmodelbuildingservice#GetBotResponse": { "type": "structure", "members": { - "clarificationPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#Prompt", - "traits": { - "smithy.api#documentation": "

                The message Amazon Lex uses when it doesn't understand the user's request. For more\n information, see PutBot.

                " - } - }, - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", - "traits": { - "smithy.api#documentation": "

                The date that the bot was updated. When you create a resource, the creation date and\n last updated date are the same.

                " - } - }, - "detectSentiment": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { - "smithy.api#documentation": "

                Indicates whether user utterances should be sent to Amazon Comprehend for sentiment\n analysis.

                " + "smithy.api#documentation": "

                The name of the bot.

                " } }, "description": { @@ -2234,64 +2223,70 @@ "smithy.api#documentation": "

                A description of the bot.

                " } }, - "idleSessionTTLInSeconds": { - "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", + "intents": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { - "smithy.api#documentation": "

                The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For\n more information, see PutBot.

                " + "smithy.api#documentation": "

                An array of intent objects. For more information, see PutBot.

                " } }, - "locale": { - "target": "com.amazonaws.lexmodelbuildingservice#Locale", + "enableModelImprovements": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                The target locale for the bot.

                " + "smithy.api#documentation": "

                Indicates whether the bot uses accuracy improvements. true \n indicates that the bot is using the improvements, otherwise, false.

                " } }, - "failureReason": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "nluIntentConfidenceThreshold": { + "target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold", "traits": { - "smithy.api#documentation": "

                If status is FAILED, Amazon Lex explains why it failed to build\n the bot.

                " + "smithy.api#documentation": "

                The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning alternative intents in a\n PostContent or PostText response.\n AMAZON.FallbackIntent is inserted if the confidence score for all intents is\n below this value. AMAZON.KendraSearchIntent is only inserted if it is configured\n for the bot.

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "clarificationPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { - "smithy.api#documentation": "

                The version of the bot. For a new bot, the version is always\n $LATEST.

                " + "smithy.api#documentation": "

                The message Amazon Lex uses when it doesn't understand the user's request. For more\n information, see PutBot.

                " } }, - "intents": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentList", + "abortStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { - "smithy.api#documentation": "

                An array of intent objects. For more information, see PutBot.

                " + "smithy.api#documentation": "

                The message that Amazon Lex returns when the user elects to end the conversation without\n completing it. For more information, see PutBot.

                " } }, - "voiceId": { + "status": { + "target": "com.amazonaws.lexmodelbuildingservice#Status", + "traits": { + "smithy.api#documentation": "

                The status of the bot.

                \n

                When the status is BUILDING Amazon Lex is building the bot for testing and\n use.

                \n

                If the status of the bot is READY_BASIC_TESTING, you can test the bot\n using the exact utterances specified in the bot's intents. When the bot is ready for full\n testing or to run, the status is READY.

                \n

                If there was a problem with building the bot, the status is FAILED and the\n failureReason field explains why the bot did not build.

                \n

                If the bot was saved but not built, the status is NOT_BUILT.

                " + } + }, + "failureReason": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more\n information, see PutBot.

                " + "smithy.api#documentation": "

                If status is FAILED, Amazon Lex explains why it failed to build\n the bot.

                " } }, - "abortStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", + "lastUpdatedDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The message that Amazon Lex returns when the user elects to end the conversation without\n completing it. For more information, see PutBot.

                " + "smithy.api#documentation": "

                The date that the bot was updated. When you create a resource, the creation date and\n last updated date are the same.

                " } }, - "enableModelImprovements": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                Indicates whether the bot uses accuracy improvements. true \n indicates that the bot is using the improvements, otherwise, false.

                " + "smithy.api#documentation": "

                The date that the bot was created.

                " } }, - "childDirected": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "idleSessionTTLInSeconds": { + "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { - "smithy.api#documentation": "

                For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify\n whether your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to the\n Children's Online Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By specifying true\n in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you confirm that your\n use of Amazon Lex is not related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children under age 13 and\n subject to COPPA. You may not specify a default value for the childDirected field\n that does not accurately reflect whether your use of Amazon Lex is related to a website, program,\n or other application that is directed or targeted, in whole or in part, to children under age\n 13 and subject to COPPA.

                \n

                If your use of Amazon Lex relates to a website, program, or other application that is\n directed in whole or in part, to children under age 13, you must obtain any required\n verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in\n connection with websites, programs, or other applications that are directed or targeted, in\n whole or in part, to children under age 13, see the Amazon Lex FAQ.\n

                " + "smithy.api#documentation": "

                The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For\n more information, see PutBot.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "voiceId": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The name of the bot.

                " + "smithy.api#documentation": "

                The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more\n information, see PutBot.

                " } }, "checksum": { @@ -2300,22 +2295,28 @@ "smithy.api#documentation": "

                Checksum of the bot used to identify a specific revision of the bot's\n $LATEST version.

                " } }, - "status": { - "target": "com.amazonaws.lexmodelbuildingservice#Status", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The status of the bot.

                \n

                When the status is BUILDING Amazon Lex is building the bot for testing and\n use.

                \n

                If the status of the bot is READY_BASIC_TESTING, you can test the bot\n using the exact utterances specified in the bot's intents. When the bot is ready for full\n testing or to run, the status is READY.

                \n

                If there was a problem with building the bot, the status is FAILED and the\n failureReason field explains why the bot did not build.

                \n

                If the bot was saved but not built, the status is NOT_BUILT.

                " + "smithy.api#documentation": "

                The version of the bot. For a new bot, the version is always\n $LATEST.

                " } }, - "createdDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "locale": { + "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { - "smithy.api#documentation": "

                The date that the bot was created.

                " + "smithy.api#documentation": "

                The target locale for the bot.

                " } }, - "nluIntentConfidenceThreshold": { - "target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold", + "childDirected": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning alternative intents in a\n PostContent or PostText response.\n AMAZON.FallbackIntent is inserted if the confidence score for all intents is\n below this value. AMAZON.KendraSearchIntent is only inserted if it is configured\n for the bot.

                " + "smithy.api#documentation": "

                For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify\n whether your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to the\n Children's Online Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By specifying true\n in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you confirm that your\n use of Amazon Lex is not related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children under age 13 and\n subject to COPPA. You may not specify a default value for the childDirected field\n that does not accurately reflect whether your use of Amazon Lex is related to a website, program,\n or other application that is directed or targeted, in whole or in part, to children under age\n 13 and subject to COPPA.

                \n

                If your use of Amazon Lex relates to a website, program, or other application that is\n directed in whole or in part, to children under age 13, you must obtain any required\n verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in\n connection with websites, programs, or other applications that are directed or targeted, in\n whole or in part, to children under age 13, see the Amazon Lex FAQ.\n

                " + } + }, + "detectSentiment": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "traits": { + "smithy.api#documentation": "

                Indicates whether user utterances should be sent to Amazon Comprehend for sentiment\n analysis.

                " } } } @@ -2359,13 +2360,6 @@ "com.amazonaws.lexmodelbuildingservice#GetBotVersionsRequest": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.lexmodelbuildingservice#NextToken", - "traits": { - "smithy.api#documentation": "

                A pagination token for fetching the next page of bot versions. If the response to this\n call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of\n versions, specify the pagination token in the next request.

                ", - "smithy.api#httpQuery": "nextToken" - } - }, "name": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { @@ -2374,6 +2368,13 @@ "smithy.api#required": {} } }, + "nextToken": { + "target": "com.amazonaws.lexmodelbuildingservice#NextToken", + "traits": { + "smithy.api#documentation": "

                A pagination token for fetching the next page of bot versions. If the response to this\n call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of\n versions, specify the pagination token in the next request.

                ", + "smithy.api#httpQuery": "nextToken" + } + }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { @@ -2386,20 +2387,20 @@ "com.amazonaws.lexmodelbuildingservice#GetBotVersionsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.lexmodelbuildingservice#NextToken", - "traits": { - "smithy.api#documentation": "

                A pagination token for fetching the next page of bot versions. If the response to this\n call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of\n versions, specify the pagination token in the next request.

                " - } - }, "bots": { "target": "com.amazonaws.lexmodelbuildingservice#BotMetadataList", "traits": { "smithy.api#documentation": "

                An array of BotMetadata objects, one for each numbered version of the bot\n plus one for the $LATEST version.

                " } - } - } - }, + }, + "nextToken": { + "target": "com.amazonaws.lexmodelbuildingservice#NextToken", + "traits": { + "smithy.api#documentation": "

                A pagination token for fetching the next page of bot versions. If the response to this\n call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of\n versions, specify the pagination token in the next request.

                " + } + } + } + }, "com.amazonaws.lexmodelbuildingservice#GetBots": { "type": "operation", "input": { @@ -2465,17 +2466,17 @@ "com.amazonaws.lexmodelbuildingservice#GetBotsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.lexmodelbuildingservice#NextToken", - "traits": { - "smithy.api#documentation": "

                If the response is truncated, it includes a pagination token that you can specify in\n your next request to fetch the next page of bots.

                " - } - }, "bots": { "target": "com.amazonaws.lexmodelbuildingservice#BotMetadataList", "traits": { "smithy.api#documentation": "

                An array of botMetadata objects, with one entry for each bot.

                " } + }, + "nextToken": { + "target": "com.amazonaws.lexmodelbuildingservice#NextToken", + "traits": { + "smithy.api#documentation": "

                If the response is truncated, it includes a pagination token that you can specify in\n your next request to fetch the next page of bots.

                " + } } } }, @@ -2526,18 +2527,18 @@ "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentResponse": { "type": "structure", "members": { - "supportedLocales": { - "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", - "traits": { - "smithy.api#documentation": "

                A list of locales that the intent supports.

                " - } - }, "signature": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { "smithy.api#documentation": "

                The unique identifier for a built-in intent.

                " } }, + "supportedLocales": { + "target": "com.amazonaws.lexmodelbuildingservice#LocaleList", + "traits": { + "smithy.api#documentation": "

                A list of locales that the intent supports.

                " + } + }, "slots": { "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSlotList", "traits": { @@ -2582,6 +2583,13 @@ "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentsRequest": { "type": "structure", "members": { + "locale": { + "target": "com.amazonaws.lexmodelbuildingservice#Locale", + "traits": { + "smithy.api#documentation": "

                A list of locales that the intent supports.

                ", + "smithy.api#httpQuery": "locale" + } + }, "signatureContains": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { @@ -2589,13 +2597,6 @@ "smithy.api#httpQuery": "signatureContains" } }, - "maxResults": { - "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", - "traits": { - "smithy.api#documentation": "

                The maximum number of intents to return in the response. The default is 10.

                ", - "smithy.api#httpQuery": "maxResults" - } - }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { @@ -2603,11 +2604,11 @@ "smithy.api#httpQuery": "nextToken" } }, - "locale": { - "target": "com.amazonaws.lexmodelbuildingservice#Locale", + "maxResults": { + "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { - "smithy.api#documentation": "

                A list of locales that the intent supports.

                ", - "smithy.api#httpQuery": "locale" + "smithy.api#documentation": "

                The maximum number of intents to return in the response. The default is 10.

                ", + "smithy.api#httpQuery": "maxResults" } } } @@ -2665,11 +2666,11 @@ "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypesRequest": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.lexmodelbuildingservice#NextToken", + "locale": { + "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { - "smithy.api#documentation": "

                A pagination token that fetches the next page of slot types. If the response to this\n API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next\n page of slot types, specify the pagination token in the next request.

                ", - "smithy.api#httpQuery": "nextToken" + "smithy.api#documentation": "

                A list of locales that the slot type supports.

                ", + "smithy.api#httpQuery": "locale" } }, "signatureContains": { @@ -2679,19 +2680,19 @@ "smithy.api#httpQuery": "signatureContains" } }, + "nextToken": { + "target": "com.amazonaws.lexmodelbuildingservice#NextToken", + "traits": { + "smithy.api#documentation": "

                A pagination token that fetches the next page of slot types. If the response to this\n API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next\n page of slot types, specify the pagination token in the next request.

                ", + "smithy.api#httpQuery": "nextToken" + } + }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

                The maximum number of slot types to return in the response. The default is\n 10.

                ", "smithy.api#httpQuery": "maxResults" } - }, - "locale": { - "target": "com.amazonaws.lexmodelbuildingservice#Locale", - "traits": { - "smithy.api#documentation": "

                A list of locales that the slot type supports.

                ", - "smithy.api#httpQuery": "locale" - } } } }, @@ -2746,11 +2747,11 @@ "com.amazonaws.lexmodelbuildingservice#GetExportRequest": { "type": "structure", "members": { - "exportType": { - "target": "com.amazonaws.lexmodelbuildingservice#ExportType", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { - "smithy.api#documentation": "

                The format of the exported data.

                ", - "smithy.api#httpQuery": "exportType", + "smithy.api#documentation": "

                The name of the bot to export.

                ", + "smithy.api#httpQuery": "name", "smithy.api#required": {} } }, @@ -2770,11 +2771,11 @@ "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#Name", + "exportType": { + "target": "com.amazonaws.lexmodelbuildingservice#ExportType", "traits": { - "smithy.api#documentation": "

                The name of the bot to export.

                ", - "smithy.api#httpQuery": "name", + "smithy.api#documentation": "

                The format of the exported data.

                ", + "smithy.api#httpQuery": "exportType", "smithy.api#required": {} } } @@ -2789,34 +2790,34 @@ "smithy.api#documentation": "

                The name of the bot being exported.

                " } }, - "exportType": { - "target": "com.amazonaws.lexmodelbuildingservice#ExportType", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", "traits": { - "smithy.api#documentation": "

                The format of the exported data.

                " + "smithy.api#documentation": "

                The version of the bot being exported.

                " } }, - "failureReason": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "resourceType": { + "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { - "smithy.api#documentation": "

                If status is FAILED, Amazon Lex provides the reason that it failed\n to export the resource.

                " + "smithy.api#documentation": "

                The type of the exported resource.

                " } }, - "exportStatus": { - "target": "com.amazonaws.lexmodelbuildingservice#ExportStatus", + "exportType": { + "target": "com.amazonaws.lexmodelbuildingservice#ExportType", "traits": { - "smithy.api#documentation": "

                The status of the export.

                \n
                  \n
                • \n

                  \n IN_PROGRESS - The export is in progress.

                  \n
                • \n
                • \n

                  \n READY - The export is complete.

                  \n
                • \n
                • \n

                  \n FAILED - The export could not be completed.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The format of the exported data.

                " } }, - "resourceType": { - "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", + "exportStatus": { + "target": "com.amazonaws.lexmodelbuildingservice#ExportStatus", "traits": { - "smithy.api#documentation": "

                The type of the exported resource.

                " + "smithy.api#documentation": "

                The status of the export.

                \n
                  \n
                • \n

                  \n IN_PROGRESS - The export is in progress.

                  \n
                • \n
                • \n

                  \n READY - The export is complete.

                  \n
                • \n
                • \n

                  \n FAILED - The export could not be completed.

                  \n
                • \n
                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#NumericalVersion", + "failureReason": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The version of the bot being exported.

                " + "smithy.api#documentation": "

                If status is FAILED, Amazon Lex provides the reason that it failed\n to export the resource.

                " } }, "url": { @@ -2874,6 +2875,18 @@ "com.amazonaws.lexmodelbuildingservice#GetImportResponse": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#Name", + "traits": { + "smithy.api#documentation": "

                The name given to the import job.

                " + } + }, + "resourceType": { + "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", + "traits": { + "smithy.api#documentation": "

                The type of resource imported.

                " + } + }, "mergeStrategy": { "target": "com.amazonaws.lexmodelbuildingservice#MergeStrategy", "traits": { @@ -2886,10 +2899,10 @@ "smithy.api#documentation": "

                The identifier for the specific import job.

                " } }, - "resourceType": { - "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", + "importStatus": { + "target": "com.amazonaws.lexmodelbuildingservice#ImportStatus", "traits": { - "smithy.api#documentation": "

                The type of resource imported.

                " + "smithy.api#documentation": "

                The status of the import job. If the status is FAILED, you can get the\n reason for the failure from the failureReason field.

                " } }, "failureReason": { @@ -2898,23 +2911,11 @@ "smithy.api#documentation": "

                A string that describes why an import job failed to complete.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#Name", - "traits": { - "smithy.api#documentation": "

                The name given to the import job.

                " - } - }, "createdDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { "smithy.api#documentation": "

                A timestamp for the date and time that the import job was created.

                " } - }, - "importStatus": { - "target": "com.amazonaws.lexmodelbuildingservice#ImportStatus", - "traits": { - "smithy.api#documentation": "

                The status of the import job. If the status is FAILED, you can get the\n reason for the failure from the failureReason field.

                " - } } } }, @@ -2952,18 +2953,18 @@ "com.amazonaws.lexmodelbuildingservice#GetIntentRequest": { "type": "structure", "members": { - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { - "smithy.api#documentation": "

                The version of the intent.

                ", + "smithy.api#documentation": "

                The name of the intent. The name is case sensitive.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentName", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The name of the intent. The name is case sensitive.

                ", + "smithy.api#documentation": "

                The version of the intent.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2979,22 +2980,10 @@ "smithy.api#documentation": "

                The name of the intent.

                " } }, - "rejectionStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", - "traits": { - "smithy.api#documentation": "

                If the user answers \"no\" to the question defined in confirmationPrompt,\n Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                " - } - }, - "dialogCodeHook": { - "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", - "traits": { - "smithy.api#documentation": "

                If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input.\n For more information, see PutIntent.

                " - } - }, - "createdDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                The date that the intent was created.

                " + "smithy.api#documentation": "

                A description of the intent.

                " } }, "slots": { @@ -3003,22 +2992,28 @@ "smithy.api#documentation": "

                An array of intent slots configured for the intent.

                " } }, + "sampleUtterances": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", + "traits": { + "smithy.api#documentation": "

                An array of sample utterances configured for the intent.

                " + } + }, "confirmationPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { "smithy.api#documentation": "

                If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the\n user's request. For more information, see PutIntent.

                " } }, - "parentIntentSignature": { - "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", + "rejectionStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { - "smithy.api#documentation": "

                A unique identifier for a built-in intent.

                " + "smithy.api#documentation": "

                If the user answers \"no\" to the question defined in confirmationPrompt,\n Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                " } }, - "kendraConfiguration": { - "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", + "followUpPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", "traits": { - "smithy.api#documentation": "

                Configuration information, if any, to connect to an Amazon Kendra index with the\n AMAZON.KendraSearchIntent intent.

                " + "smithy.api#documentation": "

                If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after\n the intent is fulfilled. For more information, see PutIntent.

                " } }, "conclusionStatement": { @@ -3027,46 +3022,52 @@ "smithy.api#documentation": "

                After the Lambda function specified in the fulfillmentActivity element\n fulfills the intent, Amazon Lex conveys this statement to the user.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "dialogCodeHook": { + "target": "com.amazonaws.lexmodelbuildingservice#CodeHook", "traits": { - "smithy.api#documentation": "

                A description of the intent.

                " + "smithy.api#documentation": "

                If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input.\n For more information, see PutIntent.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "fulfillmentActivity": { + "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { - "smithy.api#documentation": "

                Checksum of the intent.

                " + "smithy.api#documentation": "

                Describes how the intent is fulfilled. For more information, see PutIntent.

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "parentIntentSignature": { + "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { - "smithy.api#documentation": "

                The version of the intent.

                " + "smithy.api#documentation": "

                A unique identifier for a built-in intent.

                " } }, - "sampleUtterances": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", + "lastUpdatedDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                An array of sample utterances configured for the intent.

                " + "smithy.api#documentation": "

                The date that the intent was updated. When you create a resource, the creation date and\n the last updated date are the same.

                " } }, - "followUpPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after\n the intent is fulfilled. For more information, see PutIntent.

                " + "smithy.api#documentation": "

                The date that the intent was created.

                " } }, - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The date that the intent was updated. When you create a resource, the creation date and\n the last updated date are the same.

                " + "smithy.api#documentation": "

                The version of the intent.

                " } }, - "fulfillmentActivity": { - "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                Describes how the intent is fulfilled. For more information, see PutIntent.

                " + "smithy.api#documentation": "

                Checksum of the intent.

                " + } + }, + "kendraConfiguration": { + "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", + "traits": { + "smithy.api#documentation": "

                Configuration information, if any, to connect to an Amazon Kendra index with the\n AMAZON.KendraSearchIntent intent.

                " } } } @@ -3110,12 +3111,13 @@ "com.amazonaws.lexmodelbuildingservice#GetIntentVersionsRequest": { "type": "structure", "members": { - "maxResults": { - "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { - "smithy.api#documentation": "

                The maximum number of intent versions to return in the response. The default is\n 10.

                ", - "smithy.api#httpQuery": "maxResults" - } + "smithy.api#documentation": "

                The name of the intent for which versions should be returned.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", @@ -3124,12 +3126,11 @@ "smithy.api#httpQuery": "nextToken" } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentName", + "maxResults": { + "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { - "smithy.api#documentation": "

                The name of the intent for which versions should be returned.

                ", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

                The maximum number of intent versions to return in the response. The default is\n 10.

                ", + "smithy.api#httpQuery": "maxResults" } } } @@ -3137,17 +3138,17 @@ "com.amazonaws.lexmodelbuildingservice#GetIntentVersionsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.lexmodelbuildingservice#NextToken", - "traits": { - "smithy.api#documentation": "

                A pagination token for fetching the next page of intent versions. If the response to\n this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next\n page of versions, specify the pagination token in the next request.

                " - } - }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentMetadataList", "traits": { "smithy.api#documentation": "

                An array of IntentMetadata objects, one for each numbered version of the\n intent plus one for the $LATEST version.

                " } + }, + "nextToken": { + "target": "com.amazonaws.lexmodelbuildingservice#NextToken", + "traits": { + "smithy.api#documentation": "

                A pagination token for fetching the next page of intent versions. If the response to\n this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next\n page of versions, specify the pagination token in the next request.

                " + } } } }, @@ -3190,11 +3191,11 @@ "com.amazonaws.lexmodelbuildingservice#GetIntentsRequest": { "type": "structure", "members": { - "nameContains": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentName", + "nextToken": { + "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { - "smithy.api#documentation": "

                Substring to match in intent names. An intent will be returned if any part of its name\n matches the substring. For example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\"

                ", - "smithy.api#httpQuery": "nameContains" + "smithy.api#documentation": "

                A pagination token that fetches the next page of intents. If the response to this API\n call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of\n intents, specify the pagination token in the next request.

                ", + "smithy.api#httpQuery": "nextToken" } }, "maxResults": { @@ -3204,11 +3205,11 @@ "smithy.api#httpQuery": "maxResults" } }, - "nextToken": { - "target": "com.amazonaws.lexmodelbuildingservice#NextToken", + "nameContains": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { - "smithy.api#documentation": "

                A pagination token that fetches the next page of intents. If the response to this API\n call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of\n intents, specify the pagination token in the next request.

                ", - "smithy.api#httpQuery": "nextToken" + "smithy.api#documentation": "

                Substring to match in intent names. An intent will be returned if any part of its name\n matches the substring. For example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\"

                ", + "smithy.api#httpQuery": "nameContains" } } } @@ -3216,17 +3217,17 @@ "com.amazonaws.lexmodelbuildingservice#GetIntentsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.lexmodelbuildingservice#NextToken", - "traits": { - "smithy.api#documentation": "

                If the response is truncated, the response includes a pagination token that you can\n specify in your next request to fetch the next page of intents.

                " - } - }, "intents": { "target": "com.amazonaws.lexmodelbuildingservice#IntentMetadataList", "traits": { "smithy.api#documentation": "

                An array of Intent objects. For more information, see PutBot.

                " } + }, + "nextToken": { + "target": "com.amazonaws.lexmodelbuildingservice#NextToken", + "traits": { + "smithy.api#documentation": "

                If the response is truncated, the response includes a pagination token that you can\n specify in your next request to fetch the next page of intents.

                " + } } } }, @@ -3264,18 +3265,18 @@ "com.amazonaws.lexmodelbuildingservice#GetSlotTypeRequest": { "type": "structure", "members": { - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { - "smithy.api#documentation": "

                The version of the slot type.

                ", + "smithy.api#documentation": "

                The name of the slot type. The name is case sensitive.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The name of the slot type. The name is case sensitive.

                ", + "smithy.api#documentation": "

                The version of the slot type.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3285,22 +3286,28 @@ "com.amazonaws.lexmodelbuildingservice#GetSlotTypeResponse": { "type": "structure", "members": { - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { - "smithy.api#documentation": "

                The version of the slot type.

                " + "smithy.api#documentation": "

                The name of the slot type.

                " } }, - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                The date that the slot type was updated. When you create a resource, the creation date\n and last update date are the same.

                " + "smithy.api#documentation": "

                A description of the slot type.

                " } }, - "parentSlotTypeSignature": { - "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", + "enumerationValues": { + "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { - "smithy.api#documentation": "

                The built-in slot type used as a parent for the slot type.

                " + "smithy.api#documentation": "

                A list of EnumerationValue objects that defines the values that the slot\n type can take.

                " + } + }, + "lastUpdatedDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "traits": { + "smithy.api#documentation": "

                The date that the slot type was updated. When you create a resource, the creation date\n and last update date are the same.

                " } }, "createdDate": { @@ -3309,16 +3316,16 @@ "smithy.api#documentation": "

                The date that the slot type was created.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                A description of the slot type.

                " + "smithy.api#documentation": "

                The version of the slot type.

                " } }, - "enumerationValues": { - "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                A list of EnumerationValue objects that defines the values that the slot\n type can take.

                " + "smithy.api#documentation": "

                Checksum of the $LATEST version of the slot type.

                " } }, "valueSelectionStrategy": { @@ -3327,22 +3334,16 @@ "smithy.api#documentation": "

                The strategy that Amazon Lex uses to determine the value of the slot. For more information,\n see PutSlotType.

                " } }, - "slotTypeConfigurations": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", - "traits": { - "smithy.api#documentation": "

                Configuration information that extends the parent built-in slot type.

                " - } - }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", + "parentSlotTypeSignature": { + "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { - "smithy.api#documentation": "

                The name of the slot type.

                " + "smithy.api#documentation": "

                The built-in slot type used as a parent for the slot type.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "slotTypeConfigurations": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { - "smithy.api#documentation": "

                Checksum of the $LATEST version of the slot type.

                " + "smithy.api#documentation": "

                Configuration information that extends the parent built-in slot type.

                " } } } @@ -3386,6 +3387,14 @@ "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsRequest": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", + "traits": { + "smithy.api#documentation": "

                The name of the slot type for which versions should be returned.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "nextToken": { "target": "com.amazonaws.lexmodelbuildingservice#NextToken", "traits": { @@ -3399,14 +3408,6 @@ "smithy.api#documentation": "

                The maximum number of slot type versions to return in the response. The default is\n 10.

                ", "smithy.api#httpQuery": "maxResults" } - }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", - "traits": { - "smithy.api#documentation": "

                The name of the slot type for which versions should be returned.

                ", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } } } }, @@ -3473,19 +3474,19 @@ "smithy.api#httpQuery": "nextToken" } }, - "nameContains": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", - "traits": { - "smithy.api#documentation": "

                Substring to match in slot type names. A slot type will be returned if any part of its\n name matches the substring. For example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\"

                ", - "smithy.api#httpQuery": "nameContains" - } - }, "maxResults": { "target": "com.amazonaws.lexmodelbuildingservice#MaxResults", "traits": { "smithy.api#documentation": "

                The maximum number of slot types to return in the response. The default is\n 10.

                ", "smithy.api#httpQuery": "maxResults" } + }, + "nameContains": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", + "traits": { + "smithy.api#documentation": "

                Substring to match in slot type names. A slot type will be returned if any part of its\n name matches the substring. For example, \"xyz\" matches both \"xyzabc\" and \"abcxyz.\"

                ", + "smithy.api#httpQuery": "nameContains" + } } } }, @@ -3545,14 +3546,6 @@ "smithy.api#required": {} } }, - "statusType": { - "target": "com.amazonaws.lexmodelbuildingservice#StatusType", - "traits": { - "smithy.api#documentation": "

                To return utterances that were recognized and handled, use Detected. To\n return utterances that were not recognized, use Missed.

                ", - "smithy.api#httpQuery": "status_type", - "smithy.api#required": {} - } - }, "botVersions": { "target": "com.amazonaws.lexmodelbuildingservice#BotVersions", "traits": { @@ -3560,23 +3553,31 @@ "smithy.api#httpQuery": "bot_versions", "smithy.api#required": {} } + }, + "statusType": { + "target": "com.amazonaws.lexmodelbuildingservice#StatusType", + "traits": { + "smithy.api#documentation": "

                To return utterances that were recognized and handled, use Detected. To\n return utterances that were not recognized, use Missed.

                ", + "smithy.api#httpQuery": "status_type", + "smithy.api#required": {} + } } } }, "com.amazonaws.lexmodelbuildingservice#GetUtterancesViewResponse": { "type": "structure", "members": { - "utterances": { - "target": "com.amazonaws.lexmodelbuildingservice#ListsOfUtterances", - "traits": { - "smithy.api#documentation": "

                An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot.\n The response contains a maximum of 100 UtteranceData objects for each version.\n Amazon Lex returns the most frequent utterances received by the bot in the last 15 days.

                " - } - }, "botName": { "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { "smithy.api#documentation": "

                The name of the bot for which utterance information was returned.

                " } + }, + "utterances": { + "target": "com.amazonaws.lexmodelbuildingservice#ListsOfUtterances", + "traits": { + "smithy.api#documentation": "

                An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot.\n The response contains a maximum of 100 UtteranceData objects for each version.\n Amazon Lex returns the most frequent utterances received by the bot in the last 15 days.

                " + } } } }, @@ -3622,17 +3623,17 @@ "com.amazonaws.lexmodelbuildingservice#Intent": { "type": "structure", "members": { - "intentVersion": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "intentName": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { - "smithy.api#documentation": "

                The version of the intent.

                ", + "smithy.api#documentation": "

                The name of the intent.

                ", "smithy.api#required": {} } }, - "intentName": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentName", + "intentVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The name of the intent.

                ", + "smithy.api#documentation": "

                The version of the intent.

                ", "smithy.api#required": {} } } @@ -3650,34 +3651,34 @@ "com.amazonaws.lexmodelbuildingservice#IntentMetadata": { "type": "structure", "members": { - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { - "smithy.api#documentation": "

                The date that the intent was updated. When you create an intent, the creation date and\n last updated date are the same.

                " + "smithy.api#documentation": "

                The name of the intent.

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                The version of the intent.

                " + "smithy.api#documentation": "

                A description of the intent.

                " } }, - "createdDate": { + "lastUpdatedDate": { "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The date that the intent was created.

                " + "smithy.api#documentation": "

                The date that the intent was updated. When you create an intent, the creation date and\n last updated date are the same.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                A description of the intent.

                " + "smithy.api#documentation": "

                The date that the intent was created.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentName", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The name of the intent.

                " + "smithy.api#documentation": "

                The version of the intent.

                " } } }, @@ -3729,12 +3730,6 @@ "com.amazonaws.lexmodelbuildingservice#KendraConfiguration": { "type": "structure", "members": { - "queryFilterString": { - "target": "com.amazonaws.lexmodelbuildingservice#QueryFilterString", - "traits": { - "smithy.api#documentation": "

                A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query.\n The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.

                \n

                You can override this filter string with a new filter string at runtime.

                " - } - }, "kendraIndex": { "target": "com.amazonaws.lexmodelbuildingservice#KendraIndexArn", "traits": { @@ -3742,6 +3737,12 @@ "smithy.api#required": {} } }, + "queryFilterString": { + "target": "com.amazonaws.lexmodelbuildingservice#QueryFilterString", + "traits": { + "smithy.api#documentation": "

                A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query.\n The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.

                \n

                You can override this filter string with a new filter string at runtime.

                " + } + }, "role": { "target": "com.amazonaws.lexmodelbuildingservice#roleArn", "traits": { @@ -3787,14 +3788,14 @@ "com.amazonaws.lexmodelbuildingservice#LimitExceededException": { "type": "structure", "members": { - "message": { - "target": "com.amazonaws.lexmodelbuildingservice#String" - }, "retryAfterSeconds": { "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { "smithy.api#httpHeader": "Retry-After" } + }, + "message": { + "target": "com.amazonaws.lexmodelbuildingservice#String" } }, "traits": { @@ -3890,9 +3891,25 @@ "value": "en-US", "name": "EN_US" }, + { + "value": "es-ES", + "name": "ES_ES" + }, { "value": "es-US", "name": "ES_US" + }, + { + "value": "fr-FR", + "name": "FR_FR" + }, + { + "value": "fr-CA", + "name": "FR_CA" + }, + { + "value": "it-IT", + "name": "IT_IT" } ] } @@ -3906,6 +3923,13 @@ "com.amazonaws.lexmodelbuildingservice#LogSettingsRequest": { "type": "structure", "members": { + "logType": { + "target": "com.amazonaws.lexmodelbuildingservice#LogType", + "traits": { + "smithy.api#documentation": "

                The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group.\n Audio logs are delivered to an S3 bucket.

                ", + "smithy.api#required": {} + } + }, "destination": { "target": "com.amazonaws.lexmodelbuildingservice#Destination", "traits": { @@ -3913,25 +3937,18 @@ "smithy.api#required": {} } }, + "kmsKeyArn": { + "target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio\n logs delivered to an S3 bucket. The key does not apply to CloudWatch Logs and is optional for\n S3 buckets.

                " + } + }, "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#ResourceArn", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the\n logs should be delivered.

                ", "smithy.api#required": {} } - }, - "logType": { - "target": "com.amazonaws.lexmodelbuildingservice#LogType", - "traits": { - "smithy.api#documentation": "

                The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group.\n Audio logs are delivered to an S3 bucket.

                ", - "smithy.api#required": {} - } - }, - "kmsKeyArn": { - "target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio\n logs delivered to an S3 bucket. The key does not apply to CloudWatch Logs and is optional for\n S3 buckets.

                " - } } }, "traits": { @@ -3947,10 +3964,10 @@ "com.amazonaws.lexmodelbuildingservice#LogSettingsResponse": { "type": "structure", "members": { - "kmsKeyArn": { - "target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn", + "logType": { + "target": "com.amazonaws.lexmodelbuildingservice#LogType", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3\n bucket.

                " + "smithy.api#documentation": "

                The type of logging that is enabled.

                " } }, "destination": { @@ -3959,16 +3976,16 @@ "smithy.api#documentation": "

                The destination where logs are delivered.

                " } }, - "resourceArn": { - "target": "com.amazonaws.lexmodelbuildingservice#ResourceArn", + "kmsKeyArn": { + "target": "com.amazonaws.lexmodelbuildingservice#KmsKeyArn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the\n logs are delivered.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3\n bucket.

                " } }, - "logType": { - "target": "com.amazonaws.lexmodelbuildingservice#LogType", + "resourceArn": { + "target": "com.amazonaws.lexmodelbuildingservice#ResourceArn", "traits": { - "smithy.api#documentation": "

                The type of logging that is enabled.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the\n logs are delivered.

                " } }, "resourcePrefix": { @@ -4031,12 +4048,6 @@ "com.amazonaws.lexmodelbuildingservice#Message": { "type": "structure", "members": { - "groupNumber": { - "target": "com.amazonaws.lexmodelbuildingservice#GroupNumber", - "traits": { - "smithy.api#documentation": "

                Identifies the message group that the message belongs to. When a group is assigned to a\n message, Amazon Lex returns one message from each group in the response.

                " - } - }, "contentType": { "target": "com.amazonaws.lexmodelbuildingservice#ContentType", "traits": { @@ -4050,6 +4061,12 @@ "smithy.api#documentation": "

                The text of the message.

                ", "smithy.api#required": {} } + }, + "groupNumber": { + "target": "com.amazonaws.lexmodelbuildingservice#GroupNumber", + "traits": { + "smithy.api#documentation": "

                Identifies the message group that the message belongs to. When a group is assigned to a\n message, Amazon Lex returns one message from each group in the response.

                " + } } }, "traits": { @@ -4169,17 +4186,17 @@ "com.amazonaws.lexmodelbuildingservice#Prompt": { "type": "structure", "members": { - "maxAttempts": { - "target": "com.amazonaws.lexmodelbuildingservice#PromptMaxAttempts", + "messages": { + "target": "com.amazonaws.lexmodelbuildingservice#MessageList", "traits": { - "smithy.api#documentation": "

                The number of times to prompt the user for information.

                ", + "smithy.api#documentation": "

                An array of objects, each of which provides a message string and its type. You can\n specify the message string in plain text or in Speech Synthesis Markup Language\n (SSML).

                ", "smithy.api#required": {} } }, - "messages": { - "target": "com.amazonaws.lexmodelbuildingservice#MessageList", + "maxAttempts": { + "target": "com.amazonaws.lexmodelbuildingservice#PromptMaxAttempts", "traits": { - "smithy.api#documentation": "

                An array of objects, each of which provides a message string and its type. You can\n specify the message string in plain text or in Speech Synthesis Markup Language\n (SSML).

                ", + "smithy.api#documentation": "

                The number of times to prompt the user for information.

                ", "smithy.api#required": {} } }, @@ -4275,30 +4292,31 @@ "com.amazonaws.lexmodelbuildingservice#PutBotAliasRequest": { "type": "structure", "members": { - "botName": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { - "smithy.api#documentation": "

                The name of the bot.

                ", + "smithy.api#documentation": "

                The name of the alias. The name is not case sensitive.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "conversationLogs": { - "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsRequest", - "traits": { - "smithy.api#documentation": "

                Settings for conversation logs for the alias.

                " - } - }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { "smithy.api#documentation": "

                A description of the alias.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#AliasName", + "botVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The name of the alias. The name is not case sensitive.

                ", + "smithy.api#documentation": "

                The version of the bot.

                ", + "smithy.api#required": {} + } + }, + "botName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "traits": { + "smithy.api#documentation": "

                The name of the bot.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4309,17 +4327,16 @@ "smithy.api#documentation": "

                Identifies a specific revision of the $LATEST version.

                \n

                When you create a new bot alias, leave the checksum field blank. If you\n specify a checksum you get a BadRequestException exception.

                \n

                When you want to update a bot alias, set the checksum field to the\n checksum of the most recent revision of the $LATEST version. If you don't specify\n the checksum field, or if the checksum does not match the $LATEST\n version, you get a PreconditionFailedException exception.

                " } }, - "tags": { - "target": "com.amazonaws.lexmodelbuildingservice#TagList", + "conversationLogs": { + "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsRequest", "traits": { - "smithy.api#documentation": "

                A list of tags to add to the bot alias. You can only add tags when you create an alias,\n you can't use the PutBotAlias operation to update the tags on a bot alias. To\n update tags, use the TagResource operation.

                " + "smithy.api#documentation": "

                Settings for conversation logs for the alias.

                " } }, - "botVersion": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "tags": { + "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { - "smithy.api#documentation": "

                The version of the bot.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                A list of tags to add to the bot alias. You can only add tags when you create an alias,\n you can't use the PutBotAlias operation to update the tags on a bot alias. To\n update tags, use the TagResource operation.

                " } } } @@ -4327,22 +4344,16 @@ "com.amazonaws.lexmodelbuildingservice#PutBotAliasResponse": { "type": "structure", "members": { - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", - "traits": { - "smithy.api#documentation": "

                A description of the alias.

                " - } - }, - "conversationLogs": { - "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#AliasName", "traits": { - "smithy.api#documentation": "

                The settings that determine how Amazon Lex uses conversation logs for the alias.

                " + "smithy.api#documentation": "

                The name of the alias.

                " } }, - "tags": { - "target": "com.amazonaws.lexmodelbuildingservice#TagList", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                A list of tags associated with a bot.

                " + "smithy.api#documentation": "

                A description of the alias.

                " } }, "botVersion": { @@ -4351,16 +4362,16 @@ "smithy.api#documentation": "

                The version of the bot that the alias points to.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#AliasName", + "botName": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { - "smithy.api#documentation": "

                The name of the alias.

                " + "smithy.api#documentation": "

                The name of the bot that the alias points to.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "lastUpdatedDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The checksum for the current version of the alias.

                " + "smithy.api#documentation": "

                The date that the bot alias was updated. When you create a resource, the creation date\n and the last updated date are the same.

                " } }, "createdDate": { @@ -4369,16 +4380,22 @@ "smithy.api#documentation": "

                The date that the bot alias was created.

                " } }, - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The date that the bot alias was updated. When you create a resource, the creation date\n and the last updated date are the same.

                " + "smithy.api#documentation": "

                The checksum for the current version of the alias.

                " } }, - "botName": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "conversationLogs": { + "target": "com.amazonaws.lexmodelbuildingservice#ConversationLogsResponse", "traits": { - "smithy.api#documentation": "

                The name of the bot that the alias points to.

                " + "smithy.api#documentation": "

                The settings that determine how Amazon Lex uses conversation logs for the alias.

                " + } + }, + "tags": { + "target": "com.amazonaws.lexmodelbuildingservice#TagList", + "traits": { + "smithy.api#documentation": "

                A list of tags associated with a bot.

                " } } } @@ -4386,10 +4403,12 @@ "com.amazonaws.lexmodelbuildingservice#PutBotRequest": { "type": "structure", "members": { - "clarificationPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#Prompt", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { - "smithy.api#documentation": "

                When Amazon Lex doesn't understand the user's intent, it uses this message to get\n clarification. To specify how many times Amazon Lex should repeat the clarification prompt, use the\n maxAttempts field. If Amazon Lex still doesn't understand, it sends the message in\n the abortStatement field.

                \n

                When you create a clarification prompt, make sure that it suggests the correct response\n from the user. for example, for a bot that orders pizza and drinks, you might create this\n clarification prompt: \"What would you like to do? You can say 'Order a pizza' or 'Order a\n drink.'\"

                \n

                If you have defined a fallback intent, it will be invoked if the clarification prompt is\n repeated the number of times defined in the maxAttempts field. For more\n information, see AMAZON.FallbackIntent.

                \n

                If you don't define a clarification prompt, at runtime Amazon Lex will return a 400 Bad Request\n exception in three cases:

                \n
                  \n
                • \n

                  Follow-up prompt - When the user responds to a follow-up prompt but does not provide\n an intent. For example, in response to a follow-up prompt that says \"Would you like\n anything else today?\" the user says \"Yes.\" Amazon Lex will return a 400 Bad Request exception\n because it does not have a clarification prompt to send to the user to get an\n intent.

                  \n
                • \n
                • \n

                  Lambda function - When using a Lambda function, you return an\n ElicitIntent dialog type. Since Amazon Lex does not have a clarification prompt\n to get an intent from the user, it returns a 400 Bad Request exception.

                  \n
                • \n
                • \n

                  PutSession operation - When using the PutSession operation, you send an\n ElicitIntent dialog type. Since Amazon Lex does not have a clarification prompt\n to get an intent from the user, it returns a 400 Bad Request exception.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The name of the bot. The name is not case sensitive.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "description": { @@ -4398,35 +4417,34 @@ "smithy.api#documentation": "

                A description of the bot.

                " } }, - "voiceId": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "intents": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { - "smithy.api#documentation": "

                The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the\n user. The locale configured for the voice must match the locale of the bot. For more\n information, see Voices in Amazon Polly in the Amazon Polly Developer\n Guide.

                " + "smithy.api#documentation": "

                An array of Intent objects. Each intent represents a command that a user\n can express. For example, a pizza ordering bot might support an OrderPizza intent. For more\n information, see how-it-works.

                " } }, - "detectSentiment": { + "enableModelImprovements": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                When set to true user utterances are sent to Amazon Comprehend for sentiment\n analysis. If you don't specify detectSentiment, the default is\n false.

                " + "smithy.api#documentation": "

                Set to true to enable access to natural language understanding improvements.\n

                \n

                When you set the enableModelImprovements parameter to true you\n can use the nluIntentConfidenceThreshold parameter to configure confidence\n scores. For more information, see Confidence Scores.

                \n

                You can only set the enableModelImprovements parameter in certain Regions. If\n you set the parameter to true, your bot has access to accuracy improvements.

                \n

                The Regions where you can set the enableModelImprovements parameter to\n true are:

                \n
                  \n
                • \n

                  US East (N. Virginia) (us-east-1)

                  \n
                • \n
                • \n

                  US West (Oregon) (us-west-2)

                  \n
                • \n
                • \n

                  Asia Pacific (Sydney) (ap-southeast-2)

                  \n
                • \n
                • \n

                  EU (Ireland) (eu-west-1)

                  \n
                • \n
                \n

                In other Regions, the enableModelImprovements parameter is set to\n true by default. In these Regions setting the parameter to false\n throws a ValidationException exception.

                \n
                  \n
                • \n

                  Asia Pacific (Singapore) (ap-southeast-1)

                  \n
                • \n
                • \n

                  Asia Pacific (Tokyo) (ap-northeast-1)

                  \n
                • \n
                • \n

                  EU (Frankfurt) (eu-central-1)

                  \n
                • \n
                • \n

                  EU (London) (eu-west-2)

                  \n
                • \n
                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "nluIntentConfidenceThreshold": { + "target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold", "traits": { - "smithy.api#documentation": "

                Identifies a specific revision of the $LATEST version.

                \n

                When you create a new bot, leave the checksum field blank. If you specify\n a checksum you get a BadRequestException exception.

                \n

                When you want to update a bot, set the checksum field to the checksum of\n the most recent revision of the $LATEST version. If you don't specify the \n checksum field, or if the checksum does not match the $LATEST version,\n you get a PreconditionFailedException exception.

                " + "smithy.api#documentation": "

                Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning alternative intents in a\n PostContent or PostText response.\n AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only\n inserted if they are configured for the bot.

                \n

                You must set the enableModelImprovements parameter to true to\n use confidence scores.

                \n
                  \n
                • \n

                  US East (N. Virginia) (us-east-1)

                  \n
                • \n
                • \n

                  US West (Oregon) (us-west-2)

                  \n
                • \n
                • \n

                  Asia Pacific (Sydney) (ap-southeast-2)

                  \n
                • \n
                • \n

                  EU (Ireland) (eu-west-1)

                  \n
                • \n
                \n

                In other Regions, the enableModelImprovements parameter is set to\n true by default.

                \n

                For example, suppose a bot is configured with the confidence threshold of 0.80 and the\n AMAZON.FallbackIntent. Amazon Lex returns three alternative intents with the\n following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from\n the PostText operation would be:

                \n
                  \n
                • \n

                  AMAZON.FallbackIntent

                  \n
                • \n
                • \n

                  IntentA

                  \n
                • \n
                • \n

                  IntentB

                  \n
                • \n
                • \n

                  IntentC

                  \n
                • \n
                " } }, - "childDirected": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "clarificationPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { - "smithy.api#documentation": "

                For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify\n whether your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to the\n Children's Online Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By specifying true\n in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you confirm that your\n use of Amazon Lex is not related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children under age 13 and\n subject to COPPA. You may not specify a default value for the childDirected field\n that does not accurately reflect whether your use of Amazon Lex is related to a website, program,\n or other application that is directed or targeted, in whole or in part, to children under age\n 13 and subject to COPPA.

                \n

                If your use of Amazon Lex relates to a website, program, or other application that is\n directed in whole or in part, to children under age 13, you must obtain any required\n verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in\n connection with websites, programs, or other applications that are directed or targeted, in\n whole or in part, to children under age 13, see the Amazon Lex FAQ.\n

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                When Amazon Lex doesn't understand the user's intent, it uses this message to get\n clarification. To specify how many times Amazon Lex should repeat the clarification prompt, use the\n maxAttempts field. If Amazon Lex still doesn't understand, it sends the message in\n the abortStatement field.

                \n

                When you create a clarification prompt, make sure that it suggests the correct response\n from the user. for example, for a bot that orders pizza and drinks, you might create this\n clarification prompt: \"What would you like to do? You can say 'Order a pizza' or 'Order a\n drink.'\"

                \n

                If you have defined a fallback intent, it will be invoked if the clarification prompt is\n repeated the number of times defined in the maxAttempts field. For more\n information, see AMAZON.FallbackIntent.

                \n

                If you don't define a clarification prompt, at runtime Amazon Lex will return a 400 Bad Request\n exception in three cases:

                \n
                  \n
                • \n

                  Follow-up prompt - When the user responds to a follow-up prompt but does not provide\n an intent. For example, in response to a follow-up prompt that says \"Would you like\n anything else today?\" the user says \"Yes.\" Amazon Lex will return a 400 Bad Request exception\n because it does not have a clarification prompt to send to the user to get an\n intent.

                  \n
                • \n
                • \n

                  Lambda function - When using a Lambda function, you return an\n ElicitIntent dialog type. Since Amazon Lex does not have a clarification prompt\n to get an intent from the user, it returns a 400 Bad Request exception.

                  \n
                • \n
                • \n

                  PutSession operation - When using the PutSession operation, you send an\n ElicitIntent dialog type. Since Amazon Lex does not have a clarification prompt\n to get an intent from the user, it returns a 400 Bad Request exception.

                  \n
                • \n
                " } }, - "intents": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentList", + "abortStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { - "smithy.api#documentation": "

                An array of Intent objects. Each intent represents a command that a user\n can express. For example, a pizza ordering bot might support an OrderPizza intent. For more\n information, see how-it-works.

                " + "smithy.api#documentation": "

                When Amazon Lex can't understand the user's input in context, it tries to elicit the\n information a few times. After that, Amazon Lex sends the message defined in\n abortStatement to the user, and then cancels the conversation. To set the\n number of retries, use the valueElicitationPrompt field for the slot type.

                \n

                For example, in a pizza ordering bot, Amazon Lex might ask a user \"What type of crust would\n you like?\" If the user's response is not one of the expected responses (for example, \"thin\n crust, \"deep dish,\" etc.), Amazon Lex tries to elicit a correct response a few more times.

                \n

                For example, in a pizza ordering application, OrderPizza might be one of\n the intents. This intent might require the CrustType slot. You specify the\n valueElicitationPrompt field when you create the CrustType\n slot.

                \n

                If you have defined a fallback intent the cancel statement will not be sent to the user,\n the fallback intent is used instead. For more information, see AMAZON.FallbackIntent.

                " } }, "idleSessionTTLInSeconds": { @@ -4435,49 +4453,42 @@ "smithy.api#documentation": "

                The maximum time in seconds that Amazon Lex retains the data gathered in a\n conversation.

                \n

                A user interaction session remains active for the amount of time specified. If no\n conversation occurs during this time, the session expires and Amazon Lex deletes any data provided\n before the timeout.

                \n

                For example, suppose that a user chooses the OrderPizza intent, but gets sidetracked\n halfway through placing an order. If the user doesn't complete the order within the specified\n time, Amazon Lex discards the slot information that it gathered, and the user must start\n over.

                \n

                If you don't include the idleSessionTTLInSeconds element in a\n PutBot operation request, Amazon Lex uses the default value. This is also true if\n the request replaces an existing bot.

                \n

                The default is 300 seconds (5 minutes).

                " } }, - "enableModelImprovements": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", - "traits": { - "smithy.api#documentation": "

                Set to true to enable access to natural language understanding improvements.\n

                \n

                When you set the enableModelImprovements parameter to true you\n can use the nluIntentConfidenceThreshold parameter to configure confidence\n scores. For more information, see Confidence Scores.

                \n

                You can only set the enableModelImprovements parameter in certain Regions. If\n you set the parameter to true, your bot has access to accuracy improvements.

                \n

                The Regions where you can set the enableModelImprovements parameter to\n true are:

                \n
                  \n
                • \n

                  US East (N. Virginia) (us-east-1)

                  \n
                • \n
                • \n

                  US West (Oregon) (us-west-2)

                  \n
                • \n
                • \n

                  Asia Pacific (Sydney) (ap-southeast-2)

                  \n
                • \n
                • \n

                  EU (Ireland) (eu-west-1)

                  \n
                • \n
                \n

                In other Regions, the enableModelImprovements parameter is set to\n true by default. In these Regions setting the parameter to false\n throws a ValidationException exception.

                \n
                  \n
                • \n

                  Asia Pacific (Singapore) (ap-southeast-1)

                  \n
                • \n
                • \n

                  Asia Pacific (Tokyo) (ap-northeast-1)

                  \n
                • \n
                • \n

                  EU (Frankfurt) (eu-central-1)

                  \n
                • \n
                • \n

                  EU (London) (eu-west-2)

                  \n
                • \n
                " - } - }, - "processBehavior": { - "target": "com.amazonaws.lexmodelbuildingservice#ProcessBehavior", + "voiceId": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                If you set the processBehavior element to BUILD, Amazon Lex builds\n the bot so that it can be run. If you set the element to SAVE Amazon Lex saves the\n bot, but doesn't build it.

                \n

                If you don't specify this value, the default value is BUILD.

                " + "smithy.api#documentation": "

                The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the\n user. The locale configured for the voice must match the locale of the bot. For more\n information, see Voices in Amazon Polly in the Amazon Polly Developer\n Guide.

                " } }, - "nluIntentConfidenceThreshold": { - "target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning alternative intents in a\n PostContent or PostText response.\n AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only\n inserted if they are configured for the bot.

                \n

                You must set the enableModelImprovements parameter to true to\n use confidence scores.

                \n
                  \n
                • \n

                  US East (N. Virginia) (us-east-1)

                  \n
                • \n
                • \n

                  US West (Oregon) (us-west-2)

                  \n
                • \n
                • \n

                  Asia Pacific (Sydney) (ap-southeast-2)

                  \n
                • \n
                • \n

                  EU (Ireland) (eu-west-1)

                  \n
                • \n
                \n

                In other Regions, the enableModelImprovements parameter is set to\n true by default.

                \n

                For example, suppose a bot is configured with the confidence threshold of 0.80 and the\n AMAZON.FallbackIntent. Amazon Lex returns three alternative intents with the\n following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from\n the PostText operation would be:

                \n
                  \n
                • \n

                  AMAZON.FallbackIntent

                  \n
                • \n
                • \n

                  IntentA

                  \n
                • \n
                • \n

                  IntentB

                  \n
                • \n
                • \n

                  IntentC

                  \n
                • \n
                " + "smithy.api#documentation": "

                Identifies a specific revision of the $LATEST version.

                \n

                When you create a new bot, leave the checksum field blank. If you specify\n a checksum you get a BadRequestException exception.

                \n

                When you want to update a bot, set the checksum field to the checksum of\n the most recent revision of the $LATEST version. If you don't specify the \n checksum field, or if the checksum does not match the $LATEST version,\n you get a PreconditionFailedException exception.

                " } }, - "abortStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", + "processBehavior": { + "target": "com.amazonaws.lexmodelbuildingservice#ProcessBehavior", "traits": { - "smithy.api#documentation": "

                When Amazon Lex can't understand the user's input in context, it tries to elicit the\n information a few times. After that, Amazon Lex sends the message defined in\n abortStatement to the user, and then cancels the conversation. To set the\n number of retries, use the valueElicitationPrompt field for the slot type.

                \n

                For example, in a pizza ordering bot, Amazon Lex might ask a user \"What type of crust would\n you like?\" If the user's response is not one of the expected responses (for example, \"thin\n crust, \"deep dish,\" etc.), Amazon Lex tries to elicit a correct response a few more times.

                \n

                For example, in a pizza ordering application, OrderPizza might be one of\n the intents. This intent might require the CrustType slot. You specify the\n valueElicitationPrompt field when you create the CrustType\n slot.

                \n

                If you have defined a fallback intent the cancel statement will not be sent to the user,\n the fallback intent is used instead. For more information, see AMAZON.FallbackIntent.

                " + "smithy.api#documentation": "

                If you set the processBehavior element to BUILD, Amazon Lex builds\n the bot so that it can be run. If you set the element to SAVE Amazon Lex saves the\n bot, but doesn't build it.

                \n

                If you don't specify this value, the default value is BUILD.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "locale": { + "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { - "smithy.api#documentation": "

                The name of the bot. The name is not case sensitive.

                ", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "

                Specifies the target locale for the bot. Any intent used in the bot must be compatible\n with the locale of the bot.

                \n\n

                The default is en-US.

                ", "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.lexmodelbuildingservice#TagList", + "childDirected": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                A list of tags to add to the bot. You can only add tags when you create a bot, you can't\n use the PutBot operation to update the tags on a bot. To update tags, use the\n TagResource operation.

                " + "smithy.api#documentation": "

                For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify\n whether your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to the\n Children's Online Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By specifying true\n in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you confirm that your\n use of Amazon Lex is not related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children under age 13 and\n subject to COPPA. You may not specify a default value for the childDirected field\n that does not accurately reflect whether your use of Amazon Lex is related to a website, program,\n or other application that is directed or targeted, in whole or in part, to children under age\n 13 and subject to COPPA.

                \n

                If your use of Amazon Lex relates to a website, program, or other application that is\n directed in whole or in part, to children under age 13, you must obtain any required\n verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in\n connection with websites, programs, or other applications that are directed or targeted, in\n whole or in part, to children under age 13, see the Amazon Lex FAQ.\n

                ", + "smithy.api#required": {} } }, - "locale": { - "target": "com.amazonaws.lexmodelbuildingservice#Locale", + "detectSentiment": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                Specifies the target locale for the bot. Any intent used in the bot must be compatible\n with the locale of the bot.

                \n\n

                The default is en-US.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                When set to true user utterances are sent to Amazon Comprehend for sentiment\n analysis. If you don't specify detectSentiment, the default is\n false.

                " } }, "createVersion": { @@ -4485,130 +4496,136 @@ "traits": { "smithy.api#documentation": "

                When set to true a new numbered version of the bot is created. This is the\n same as calling the CreateBotVersion operation. If you don't specify\n createVersion, the default is false.

                " } + }, + "tags": { + "target": "com.amazonaws.lexmodelbuildingservice#TagList", + "traits": { + "smithy.api#documentation": "

                A list of tags to add to the bot. You can only add tags when you create a bot, you can't\n use the PutBot operation to update the tags on a bot. To update tags, use the\n TagResource operation.

                " + } } } }, "com.amazonaws.lexmodelbuildingservice#PutBotResponse": { "type": "structure", "members": { - "nluIntentConfidenceThreshold": { - "target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#BotName", "traits": { - "smithy.api#documentation": "

                The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning alternative intents in a\n PostContent or PostText response.\n AMAZON.FallbackIntent is inserted if the confidence score for all intents is\n below this value. AMAZON.KendraSearchIntent is only inserted if it is configured\n for the bot.

                " + "smithy.api#documentation": "

                The name of the bot.

                " } }, - "createVersion": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                \n True if a new version of the bot was created. If the\n createVersion field was not specified in the request, the\n createVersion field is set to false in the response.

                " + "smithy.api#documentation": "

                A description of the bot.

                " } }, - "locale": { - "target": "com.amazonaws.lexmodelbuildingservice#Locale", + "intents": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentList", "traits": { - "smithy.api#documentation": "

                The target locale for the bot.

                " + "smithy.api#documentation": "

                An array of Intent objects. For more information, see PutBot.

                " } }, - "idleSessionTTLInSeconds": { - "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", + "enableModelImprovements": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                The maximum length of time that Amazon Lex retains the data gathered in a conversation. For\n more information, see PutBot.

                " + "smithy.api#documentation": "

                Indicates whether the bot uses accuracy improvements. true \n indicates that the bot is using the improvements, otherwise, false.

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", - "traits": { - "smithy.api#documentation": "

                The version of the bot. For a new bot, the version is always\n $LATEST.

                " + "nluIntentConfidenceThreshold": { + "target": "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold", + "traits": { + "smithy.api#documentation": "

                The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning alternative intents in a\n PostContent or PostText response.\n AMAZON.FallbackIntent is inserted if the confidence score for all intents is\n below this value. AMAZON.KendraSearchIntent is only inserted if it is configured\n for the bot.

                " } }, - "intents": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentList", + "clarificationPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { - "smithy.api#documentation": "

                An array of Intent objects. For more information, see PutBot.

                " + "smithy.api#documentation": "

                The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more\n information, see PutBot.

                " } }, - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "abortStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { - "smithy.api#documentation": "

                The date that the bot was updated. When you create a resource, the creation date and\n last updated date are the same.

                " + "smithy.api#documentation": "

                The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "status": { + "target": "com.amazonaws.lexmodelbuildingservice#Status", "traits": { - "smithy.api#documentation": "

                A description of the bot.

                " + "smithy.api#documentation": "

                When you send a request to create a bot with processBehavior set to\n BUILD, Amazon Lex sets the status response element to\n BUILDING.

                \n

                In the READY_BASIC_TESTING state you can test the bot with user inputs\n that exactly match the utterances configured for the bot's intents and values in the slot\n types.

                \n

                If Amazon Lex can't build the bot, Amazon Lex sets status to FAILED.\n Amazon Lex returns the reason for the failure in the failureReason response element.

                \n

                When you set processBehavior to SAVE, Amazon Lex sets the status\n code to NOT BUILT.

                \n

                When the bot is in the READY state you can test and publish the\n bot.

                " } }, - "tags": { - "target": "com.amazonaws.lexmodelbuildingservice#TagList", + "failureReason": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                A list of tags associated with the bot.

                " + "smithy.api#documentation": "

                If status is FAILED, Amazon Lex provides the reason that it failed\n to build the bot.

                " } }, - "detectSentiment": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "lastUpdatedDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                \n true if the bot is configured to send user utterances to Amazon Comprehend\n for sentiment analysis. If the detectSentiment field was not specified in the\n request, the detectSentiment field is false in the response.

                " + "smithy.api#documentation": "

                The date that the bot was updated. When you create a resource, the creation date and\n last updated date are the same.

                " } }, - "clarificationPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#Prompt", + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more\n information, see PutBot.

                " + "smithy.api#documentation": "

                The date that the bot was created.

                " } }, - "voiceId": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "idleSessionTTLInSeconds": { + "target": "com.amazonaws.lexmodelbuildingservice#SessionTTL", "traits": { - "smithy.api#documentation": "

                The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more\n information, see PutBot.

                " + "smithy.api#documentation": "

                The maximum length of time that Amazon Lex retains the data gathered in a conversation. For\n more information, see PutBot.

                " } }, - "createdDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "voiceId": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The date that the bot was created.

                " + "smithy.api#documentation": "

                The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more\n information, see PutBot.

                " } }, - "status": { - "target": "com.amazonaws.lexmodelbuildingservice#Status", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                When you send a request to create a bot with processBehavior set to\n BUILD, Amazon Lex sets the status response element to\n BUILDING.

                \n

                In the READY_BASIC_TESTING state you can test the bot with user inputs\n that exactly match the utterances configured for the bot's intents and values in the slot\n types.

                \n

                If Amazon Lex can't build the bot, Amazon Lex sets status to FAILED.\n Amazon Lex returns the reason for the failure in the failureReason response element.

                \n

                When you set processBehavior to SAVE, Amazon Lex sets the status\n code to NOT BUILT.

                \n

                When the bot is in the READY state you can test and publish the\n bot.

                " + "smithy.api#documentation": "

                Checksum of the bot that you created.

                " } }, - "childDirected": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify\n whether your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to the\n Children's Online Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By specifying true\n in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you confirm that your\n use of Amazon Lex is not related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children under age 13 and\n subject to COPPA. You may not specify a default value for the childDirected field\n that does not accurately reflect whether your use of Amazon Lex is related to a website, program,\n or other application that is directed or targeted, in whole or in part, to children under age\n 13 and subject to COPPA.

                \n

                If your use of Amazon Lex relates to a website, program, or other application that is\n directed in whole or in part, to children under age 13, you must obtain any required\n verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in\n connection with websites, programs, or other applications that are directed or targeted, in\n whole or in part, to children under age 13, see the Amazon Lex FAQ.\n

                " + "smithy.api#documentation": "

                The version of the bot. For a new bot, the version is always\n $LATEST.

                " } }, - "failureReason": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "locale": { + "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { - "smithy.api#documentation": "

                If status is FAILED, Amazon Lex provides the reason that it failed\n to build the bot.

                " + "smithy.api#documentation": "

                The target locale for the bot.

                " } }, - "enableModelImprovements": { + "childDirected": { "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                Indicates whether the bot uses accuracy improvements. true \n indicates that the bot is using the improvements, otherwise, false.

                " + "smithy.api#documentation": "

                For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify\n whether your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to the\n Children's Online Privacy Protection Act (COPPA) by specifying true or\n false in the childDirected field. By specifying true\n in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is\n directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By\n specifying false in the childDirected field, you confirm that your\n use of Amazon Lex is not related to a website, program, or other\n application that is directed or targeted, in whole or in part, to children under age 13 and\n subject to COPPA. You may not specify a default value for the childDirected field\n that does not accurately reflect whether your use of Amazon Lex is related to a website, program,\n or other application that is directed or targeted, in whole or in part, to children under age\n 13 and subject to COPPA.

                \n

                If your use of Amazon Lex relates to a website, program, or other application that is\n directed in whole or in part, to children under age 13, you must obtain any required\n verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in\n connection with websites, programs, or other applications that are directed or targeted, in\n whole or in part, to children under age 13, see the Amazon Lex FAQ.\n

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#BotName", + "createVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                The name of the bot.

                " + "smithy.api#documentation": "

                \n True if a new version of the bot was created. If the\n createVersion field was not specified in the request, the\n createVersion field is set to false in the response.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "detectSentiment": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                Checksum of the bot that you created.

                " + "smithy.api#documentation": "

                \n true if the bot is configured to send user utterances to Amazon Comprehend\n for sentiment analysis. If the detectSentiment field was not specified in the\n request, the detectSentiment field is false in the response.

                " } }, - "abortStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", + "tags": { + "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { - "smithy.api#documentation": "

                The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.

                " + "smithy.api#documentation": "

                A list of tags associated with the bot.

                " } } } @@ -4650,16 +4667,24 @@ "com.amazonaws.lexmodelbuildingservice#PutIntentRequest": { "type": "structure", "members": { - "conclusionStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { - "smithy.api#documentation": "

                The statement that you want Amazon Lex to convey to the user after the intent is\n successfully fulfilled by the Lambda function.

                \n

                This element is relevant only if you provide a Lambda function in the\n fulfillmentActivity. If you return the intent to the client application, you\n can't specify this element.

                \n \n

                The followUpPrompt and conclusionStatement are mutually\n exclusive. You can specify only one.

                \n
                " + "smithy.api#documentation": "

                The name of the intent. The name is not case sensitive.

                \n

                The name can't match a built-in intent name, or a built-in intent name with \"AMAZON.\"\n removed. For example, because there is a built-in intent called\n AMAZON.HelpIntent, you can't create a custom intent called\n HelpIntent.

                \n

                For a list of built-in intents, see Standard Built-in Intents in the Alexa Skills Kit.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "createVersion": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                When set to true a new numbered version of the intent is created. This is\n the same as calling the CreateIntentVersion operation. If you do not specify\n createVersion, the default is false.

                " + "smithy.api#documentation": "

                A description of the intent.

                " + } + }, + "slots": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotList", + "traits": { + "smithy.api#documentation": "

                An array of intent slots. At runtime, Amazon Lex elicits required slot values from the user\n using prompts defined in the slots. For more information, see how-it-works.\n

                " } }, "sampleUtterances": { @@ -4668,22 +4693,28 @@ "smithy.api#documentation": "

                An array of utterances (strings) that a user might say to signal the intent. For\n example, \"I want {PizzaSize} pizza\", \"Order {Quantity} {PizzaSize} pizzas\".

                \n\n

                In each utterance, a slot name is enclosed in curly braces.

                " } }, + "confirmationPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#Prompt", + "traits": { + "smithy.api#documentation": "

                Prompts the user to confirm the intent. This question should have a yes or no\n answer.

                \n

                Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready\n for fulfillment. For example, with the OrderPizza intent, you might want to\n confirm that the order is correct before placing it. For other intents, such as intents that\n simply respond to user questions, you might not need to ask the user for confirmation before\n providing the information.

                \n \n

                You you must provide both the rejectionStatement and the\n confirmationPrompt, or neither.

                \n
                " + } + }, "rejectionStatement": { "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { "smithy.api#documentation": "

                When the user answers \"no\" to the question defined in confirmationPrompt,\n Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                \n \n

                You must provide both the rejectionStatement and the\n confirmationPrompt, or neither.

                \n
                " } }, - "parentIntentSignature": { - "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", + "followUpPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", "traits": { - "smithy.api#documentation": "

                A unique identifier for the built-in intent to base this intent on. To find the\n signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.

                " + "smithy.api#documentation": "

                Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For\n example, after the OrderPizza intent is fulfilled, you might prompt the user to\n order a drink.

                \n

                The action that Amazon Lex takes depends on the user's response, as follows:

                \n
                  \n
                • \n

                  If the user says \"Yes\" it responds with the clarification prompt that is configured\n for the bot.

                  \n
                • \n
                • \n

                  if the user says \"Yes\" and continues with an utterance that triggers an intent it\n starts a conversation for the intent.

                  \n
                • \n
                • \n

                  If the user says \"No\" it responds with the rejection statement configured for the\n the follow-up prompt.

                  \n
                • \n
                • \n

                  If it doesn't recognize the utterance it repeats the follow-up prompt\n again.

                  \n
                • \n
                \n\n

                The followUpPrompt field and the conclusionStatement field\n are mutually exclusive. You can specify only one.

                " } }, - "slots": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotList", + "conclusionStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { - "smithy.api#documentation": "

                An array of intent slots. At runtime, Amazon Lex elicits required slot values from the user\n using prompts defined in the slots. For more information, see how-it-works.\n

                " + "smithy.api#documentation": "

                The statement that you want Amazon Lex to convey to the user after the intent is\n successfully fulfilled by the Lambda function.

                \n

                This element is relevant only if you provide a Lambda function in the\n fulfillmentActivity. If you return the intent to the client application, you\n can't specify this element.

                \n \n

                The followUpPrompt and conclusionStatement are mutually\n exclusive. You can specify only one.

                \n
                " } }, "dialogCodeHook": { @@ -4692,48 +4723,34 @@ "smithy.api#documentation": "

                Specifies a Lambda function to invoke for each user input. You can invoke this Lambda\n function to personalize user interaction.

                \n

                For example, suppose your bot determines that the user is John. Your Lambda function\n might retrieve John's information from a backend database and prepopulate some of the values.\n For example, if you find that John is gluten intolerant, you might set the corresponding\n intent slot, GlutenIntolerant, to true. You might find John's phone number and\n set the corresponding session attribute.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", - "traits": { - "smithy.api#documentation": "

                Identifies a specific revision of the $LATEST version.

                \n

                When you create a new intent, leave the checksum field blank. If you\n specify a checksum you get a BadRequestException exception.

                \n

                When you want to update a intent, set the checksum field to the checksum\n of the most recent revision of the $LATEST version. If you don't specify the\n checksum field, or if the checksum does not match the $LATEST\n version, you get a PreconditionFailedException exception.

                " - } - }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentName", - "traits": { - "smithy.api#documentation": "

                The name of the intent. The name is not case sensitive.

                \n

                The name can't match a built-in intent name, or a built-in intent name with \"AMAZON.\"\n removed. For example, because there is a built-in intent called\n AMAZON.HelpIntent, you can't create a custom intent called\n HelpIntent.

                \n

                For a list of built-in intents, see Standard Built-in Intents in the Alexa Skills Kit.

                ", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "kendraConfiguration": { - "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", - "traits": { - "smithy.api#documentation": "

                Configuration information required to use the AMAZON.KendraSearchIntent\n intent to connect to an Amazon Kendra index. For more information, see \n AMAZON.KendraSearchIntent.

                " - } - }, "fulfillmentActivity": { "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { "smithy.api#documentation": "

                Required. Describes how the intent is fulfilled. For example, after a user provides all\n of the information for a pizza order, fulfillmentActivity defines how the bot\n places an order with a local pizza store.

                \n

                You might configure Amazon Lex to return all of the intent information to the client\n application, or direct it to invoke a Lambda function that can process the intent (for\n example, place an order with a pizzeria).

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "parentIntentSignature": { + "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { - "smithy.api#documentation": "

                A description of the intent.

                " + "smithy.api#documentation": "

                A unique identifier for the built-in intent to base this intent on. To find the\n signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.

                " } }, - "confirmationPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#Prompt", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                Prompts the user to confirm the intent. This question should have a yes or no\n answer.

                \n

                Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready\n for fulfillment. For example, with the OrderPizza intent, you might want to\n confirm that the order is correct before placing it. For other intents, such as intents that\n simply respond to user questions, you might not need to ask the user for confirmation before\n providing the information.

                \n \n

                You you must provide both the rejectionStatement and the\n confirmationPrompt, or neither.

                \n
                " + "smithy.api#documentation": "

                Identifies a specific revision of the $LATEST version.

                \n

                When you create a new intent, leave the checksum field blank. If you\n specify a checksum you get a BadRequestException exception.

                \n

                When you want to update a intent, set the checksum field to the checksum\n of the most recent revision of the $LATEST version. If you don't specify the\n checksum field, or if the checksum does not match the $LATEST\n version, you get a PreconditionFailedException exception.

                " } }, - "followUpPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", + "createVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For\n example, after the OrderPizza intent is fulfilled, you might prompt the user to\n order a drink.

                \n

                The action that Amazon Lex takes depends on the user's response, as follows:

                \n
                  \n
                • \n

                  If the user says \"Yes\" it responds with the clarification prompt that is configured\n for the bot.

                  \n
                • \n
                • \n

                  if the user says \"Yes\" and continues with an utterance that triggers an intent it\n starts a conversation for the intent.

                  \n
                • \n
                • \n

                  If the user says \"No\" it responds with the rejection statement configured for the\n the follow-up prompt.

                  \n
                • \n
                • \n

                  If it doesn't recognize the utterance it repeats the follow-up prompt\n again.

                  \n
                • \n
                \n\n

                The followUpPrompt field and the conclusionStatement field\n are mutually exclusive. You can specify only one.

                " + "smithy.api#documentation": "

                When set to true a new numbered version of the intent is created. This is\n the same as calling the CreateIntentVersion operation. If you do not specify\n createVersion, the default is false.

                " + } + }, + "kendraConfiguration": { + "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", + "traits": { + "smithy.api#documentation": "

                Configuration information required to use the AMAZON.KendraSearchIntent\n intent to connect to an Amazon Kendra index. For more information, see \n AMAZON.KendraSearchIntent.

                " } } } @@ -4741,52 +4758,52 @@ "com.amazonaws.lexmodelbuildingservice#PutIntentResponse": { "type": "structure", "members": { - "createdDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentName", "traits": { - "smithy.api#documentation": "

                The date that the intent was created.

                " + "smithy.api#documentation": "

                The name of the intent.

                " } }, - "slots": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotList", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                An array of intent slots that are configured for the intent.

                " + "smithy.api#documentation": "

                A description of the intent.

                " } }, - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "slots": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotList", "traits": { - "smithy.api#documentation": "

                The date that the intent was updated. When you create a resource, the creation date and\n last update dates are the same.

                " + "smithy.api#documentation": "

                An array of intent slots that are configured for the intent.

                " } }, - "fulfillmentActivity": { - "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", + "sampleUtterances": { + "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", "traits": { - "smithy.api#documentation": "

                If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent\n after the user provides all of the information required by the intent.

                " + "smithy.api#documentation": "

                An array of sample utterances that are configured for the intent.

                " } }, - "followUpPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", + "confirmationPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#Prompt", "traits": { - "smithy.api#documentation": "

                If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity\n after the intent is fulfilled.

                " + "smithy.api#documentation": "

                If defined in the intent, Amazon Lex prompts the user to confirm the intent before\n fulfilling it.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "rejectionStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { - "smithy.api#documentation": "

                A description of the intent.

                " + "smithy.api#documentation": "

                If the user answers \"no\" to the question defined in confirmationPrompt\n Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentName", + "followUpPrompt": { + "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", "traits": { - "smithy.api#documentation": "

                The name of the intent.

                " + "smithy.api#documentation": "

                If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity\n after the intent is fulfilled.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "conclusionStatement": { + "target": "com.amazonaws.lexmodelbuildingservice#Statement", "traits": { - "smithy.api#documentation": "

                Checksum of the $LATESTversion of the intent created or updated.

                " + "smithy.api#documentation": "

                After the Lambda function specified in thefulfillmentActivityintent\n fulfills the intent, Amazon Lex conveys this statement to the user.

                " } }, "dialogCodeHook": { @@ -4795,52 +4812,52 @@ "smithy.api#documentation": "

                If defined in the intent, Amazon Lex invokes this Lambda function for each user\n input.

                " } }, - "rejectionStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", + "fulfillmentActivity": { + "target": "com.amazonaws.lexmodelbuildingservice#FulfillmentActivity", "traits": { - "smithy.api#documentation": "

                If the user answers \"no\" to the question defined in confirmationPrompt\n Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                " + "smithy.api#documentation": "

                If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent\n after the user provides all of the information required by the intent.

                " } }, - "createVersion": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "parentIntentSignature": { + "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", "traits": { - "smithy.api#documentation": "

                \n True if a new version of the intent was created. If the\n createVersion field was not specified in the request, the\n createVersion field is set to false in the response.

                " + "smithy.api#documentation": "

                A unique identifier for the built-in intent that this intent is based on.

                " } }, - "sampleUtterances": { - "target": "com.amazonaws.lexmodelbuildingservice#IntentUtteranceList", + "lastUpdatedDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                An array of sample utterances that are configured for the intent.

                " + "smithy.api#documentation": "

                The date that the intent was updated. When you create a resource, the creation date and\n last update dates are the same.

                " } }, - "conclusionStatement": { - "target": "com.amazonaws.lexmodelbuildingservice#Statement", + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                After the Lambda function specified in thefulfillmentActivityintent\n fulfills the intent, Amazon Lex conveys this statement to the user.

                " + "smithy.api#documentation": "

                The date that the intent was created.

                " } }, - "parentIntentSignature": { - "target": "com.amazonaws.lexmodelbuildingservice#BuiltinIntentSignature", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                A unique identifier for the built-in intent that this intent is based on.

                " + "smithy.api#documentation": "

                The version of the intent. For a new intent, the version is always\n $LATEST.

                " } }, - "kendraConfiguration": { - "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                Configuration information, if any, required to connect to an Amazon Kendra index and use\n the AMAZON.KendraSearchIntent intent.

                " + "smithy.api#documentation": "

                Checksum of the $LATESTversion of the intent created or updated.

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "createVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", "traits": { - "smithy.api#documentation": "

                The version of the intent. For a new intent, the version is always\n $LATEST.

                " + "smithy.api#documentation": "

                \n True if a new version of the intent was created. If the\n createVersion field was not specified in the request, the\n createVersion field is set to false in the response.

                " } }, - "confirmationPrompt": { - "target": "com.amazonaws.lexmodelbuildingservice#Prompt", + "kendraConfiguration": { + "target": "com.amazonaws.lexmodelbuildingservice#KendraConfiguration", "traits": { - "smithy.api#documentation": "

                If defined in the intent, Amazon Lex prompts the user to confirm the intent before\n fulfilling it.

                " + "smithy.api#documentation": "

                Configuration information, if any, required to connect to an Amazon Kendra index and use\n the AMAZON.KendraSearchIntent intent.

                " } } } @@ -4882,16 +4899,18 @@ "com.amazonaws.lexmodelbuildingservice#PutSlotTypeRequest": { "type": "structure", "members": { - "createVersion": { - "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { - "smithy.api#documentation": "

                When set to true a new numbered version of the slot type is created. This\n is the same as calling the CreateSlotTypeVersion operation. If you do not specify\n createVersion, the default is false.

                " + "smithy.api#documentation": "

                The name of the slot type. The name is not case sensitive.

                \n

                The name can't match a built-in slot type name, or a built-in slot type name with\n \"AMAZON.\" removed. For example, because there is a built-in slot type called\n AMAZON.DATE, you can't create a custom slot type called\n DATE.

                \n

                For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "parentSlotTypeSignature": { - "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                The built-in slot type used as the parent of the slot type. When you define a parent slot\n type, the new slot type has all of the same configuration as the parent.

                \n

                Only AMAZON.AlphaNumeric is supported.

                " + "smithy.api#documentation": "

                A description of the slot type.

                " } }, "enumerationValues": { @@ -4900,10 +4919,28 @@ "smithy.api#documentation": "

                A list of EnumerationValue objects that defines the values that the slot\n type can take. Each value can have a list of synonyms, which are additional\n values that help train the machine learning model about the values that it resolves for a\n slot.

                \n

                A regular expression slot type doesn't require enumeration values. All other slot types\n require a list of enumeration values.

                \n

                When Amazon Lex resolves a slot value, it generates a resolution list that contains up to\n five possible values for the slot. If you are using a Lambda function, this resolution list is\n passed to the function. If you are not using a Lambda function you can choose to return the\n value that the user entered or the first value in the resolution list as the slot value. The\n valueSelectionStrategy field indicates the option to use.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", + "traits": { + "smithy.api#documentation": "

                Identifies a specific revision of the $LATEST version.

                \n

                When you create a new slot type, leave the checksum field blank. If you\n specify a checksum you get a BadRequestException exception.

                \n

                When you want to update a slot type, set the checksum field to the\n checksum of the most recent revision of the $LATEST version. If you don't specify\n the checksum field, or if the checksum does not match the $LATEST\n version, you get a PreconditionFailedException exception.

                " + } + }, + "valueSelectionStrategy": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", + "traits": { + "smithy.api#documentation": "

                Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The\n field can be set to one of the following values:

                \n
                  \n
                • \n

                  \n ORIGINAL_VALUE - Returns the value entered by the user, if the user\n value is similar to the slot value.

                  \n
                • \n
                • \n

                  \n TOP_RESOLUTION - If there is a resolution list for the slot, return\n the first value in the resolution list as the slot type value. If there is no resolution\n list, null is returned.

                  \n
                • \n
                \n

                If you don't specify the valueSelectionStrategy, the default is\n ORIGINAL_VALUE.

                " + } + }, + "createVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Boolean", + "traits": { + "smithy.api#documentation": "

                When set to true a new numbered version of the slot type is created. This\n is the same as calling the CreateSlotTypeVersion operation. If you do not specify\n createVersion, the default is false.

                " + } + }, + "parentSlotTypeSignature": { + "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { - "smithy.api#documentation": "

                A description of the slot type.

                " + "smithy.api#documentation": "

                The built-in slot type used as the parent of the slot type. When you define a parent slot\n type, the new slot type has all of the same configuration as the parent.

                \n

                Only AMAZON.AlphaNumeric is supported.

                " } }, "slotTypeConfigurations": { @@ -4911,36 +4948,34 @@ "traits": { "smithy.api#documentation": "

                Configuration information that extends the parent built-in slot type. The configuration is\n added to the settings for the parent slot type.

                " } - }, - "valueSelectionStrategy": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", + } + } + }, + "com.amazonaws.lexmodelbuildingservice#PutSlotTypeResponse": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { - "smithy.api#documentation": "

                Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The\n field can be set to one of the following values:

                \n
                  \n
                • \n

                  \n ORIGINAL_VALUE - Returns the value entered by the user, if the user\n value is similar to the slot value.

                  \n
                • \n
                • \n

                  \n TOP_RESOLUTION - If there is a resolution list for the slot, return\n the first value in the resolution list as the slot type value. If there is no resolution\n list, null is returned.

                  \n
                • \n
                \n

                If you don't specify the valueSelectionStrategy, the default is\n ORIGINAL_VALUE.

                " + "smithy.api#documentation": "

                The name of the slot type.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                The name of the slot type. The name is not case sensitive.

                \n

                The name can't match a built-in slot type name, or a built-in slot type name with\n \"AMAZON.\" removed. For example, because there is a built-in slot type called\n AMAZON.DATE, you can't create a custom slot type called\n DATE.

                \n

                For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit.

                ", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

                A description of the slot type.

                " } }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "enumerationValues": { + "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", "traits": { - "smithy.api#documentation": "

                Identifies a specific revision of the $LATEST version.

                \n

                When you create a new slot type, leave the checksum field blank. If you\n specify a checksum you get a BadRequestException exception.

                \n

                When you want to update a slot type, set the checksum field to the\n checksum of the most recent revision of the $LATEST version. If you don't specify\n the checksum field, or if the checksum does not match the $LATEST\n version, you get a PreconditionFailedException exception.

                " + "smithy.api#documentation": "

                A list of EnumerationValue objects that defines the values that the slot\n type can take.

                " } - } - } - }, - "com.amazonaws.lexmodelbuildingservice#PutSlotTypeResponse": { - "type": "structure", - "members": { - "slotTypeConfigurations": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", + }, + "lastUpdatedDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                Configuration information that extends the parent built-in slot type.

                " + "smithy.api#documentation": "

                The date that the slot type was updated. When you create a slot type, the creation date\n and last update date are the same.

                " } }, "createdDate": { @@ -4949,22 +4984,22 @@ "smithy.api#documentation": "

                The date that the slot type was created.

                " } }, - "lastUpdatedDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The date that the slot type was updated. When you create a slot type, the creation date\n and last update date are the same.

                " + "smithy.api#documentation": "

                The version of the slot type. For a new slot type, the version is always\n $LATEST.

                " } }, - "valueSelectionStrategy": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", + "checksum": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For\n more information, see PutSlotType.

                " + "smithy.api#documentation": "

                Checksum of the $LATEST version of the slot type.

                " } }, - "enumerationValues": { - "target": "com.amazonaws.lexmodelbuildingservice#EnumerationValues", + "valueSelectionStrategy": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy", "traits": { - "smithy.api#documentation": "

                A list of EnumerationValue objects that defines the values that the slot\n type can take.

                " + "smithy.api#documentation": "

                The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For\n more information, see PutSlotType.

                " } }, "createVersion": { @@ -4979,28 +5014,10 @@ "smithy.api#documentation": "

                The built-in slot type used as the parent of the slot type.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", - "traits": { - "smithy.api#documentation": "

                A description of the slot type.

                " - } - }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", - "traits": { - "smithy.api#documentation": "

                The name of the slot type.

                " - } - }, - "checksum": { - "target": "com.amazonaws.lexmodelbuildingservice#String", - "traits": { - "smithy.api#documentation": "

                Checksum of the $LATEST version of the slot type.

                " - } - }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "slotTypeConfigurations": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeConfigurations", "traits": { - "smithy.api#documentation": "

                The version of the slot type. For a new slot type, the version is always\n $LATEST.

                " + "smithy.api#documentation": "

                Configuration information that extends the parent built-in slot type.

                " } } } @@ -5058,11 +5075,11 @@ "com.amazonaws.lexmodelbuildingservice#ResourceInUseException": { "type": "structure", "members": { - "exampleReference": { - "target": "com.amazonaws.lexmodelbuildingservice#ResourceReference" - }, "referenceType": { "target": "com.amazonaws.lexmodelbuildingservice#ReferenceType" + }, + "exampleReference": { + "target": "com.amazonaws.lexmodelbuildingservice#ResourceReference" } }, "traits": { @@ -5141,6 +5158,13 @@ "com.amazonaws.lexmodelbuildingservice#Slot": { "type": "structure", "members": { + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotName", + "traits": { + "smithy.api#documentation": "

                The name of the slot.

                ", + "smithy.api#required": {} + } + }, "description": { "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { @@ -5154,22 +5178,16 @@ "smithy.api#required": {} } }, - "slotTypeVersion": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", - "traits": { - "smithy.api#documentation": "

                The version of the slot type.

                " - } - }, "slotType": { "target": "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName", "traits": { "smithy.api#documentation": "

                The type of the slot, either a custom slot type that you defined or one of the built-in\n slot types.

                " } }, - "responseCard": { - "target": "com.amazonaws.lexmodelbuildingservice#ResponseCard", + "slotTypeVersion": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                A set of possible responses for the slot type used by text-based clients. A user\n chooses an option from the response card, instead of using text to reply.

                " + "smithy.api#documentation": "

                The version of the slot type.

                " } }, "valueElicitationPrompt": { @@ -5178,23 +5196,22 @@ "smithy.api#documentation": "

                The prompt that Amazon Lex uses to elicit the slot value from the user.

                " } }, - "sampleUtterances": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotUtteranceList", - "traits": { - "smithy.api#documentation": "

                If you know a specific pattern with which users might respond to an Amazon Lex request for\n a slot value, you can provide those utterances to improve accuracy. This is optional. In most\n cases, Amazon Lex is capable of understanding user utterances.

                " - } - }, "priority": { "target": "com.amazonaws.lexmodelbuildingservice#Priority", "traits": { "smithy.api#documentation": "

                Directs Amazon Lex the order in which to elicit this slot value from the user. For example,\n if the intent has two slots with priorities 1 and 2, AWS Amazon Lex first elicits a value for the\n slot with priority 1.

                \n

                If multiple slots share the same priority, the order in which Amazon Lex elicits values is\n arbitrary.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotName", + "sampleUtterances": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotUtteranceList", "traits": { - "smithy.api#documentation": "

                The name of the slot.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                If you know a specific pattern with which users might respond to an Amazon Lex request for\n a slot value, you can provide those utterances to improve accuracy. This is optional. In most\n cases, Amazon Lex is capable of understanding user utterances.

                " + } + }, + "responseCard": { + "target": "com.amazonaws.lexmodelbuildingservice#ResponseCard", + "traits": { + "smithy.api#documentation": "

                A set of possible responses for the slot type used by text-based clients. A user\n chooses an option from the response card, instead of using text to reply.

                " } }, "obfuscationSetting": { @@ -5274,16 +5291,16 @@ "com.amazonaws.lexmodelbuildingservice#SlotTypeMetadata": { "type": "structure", "members": { - "createdDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", "traits": { - "smithy.api#documentation": "

                The date that the slot type was created.

                " + "smithy.api#documentation": "

                The name of the slot type.

                " } }, - "version": { - "target": "com.amazonaws.lexmodelbuildingservice#Version", + "description": { + "target": "com.amazonaws.lexmodelbuildingservice#Description", "traits": { - "smithy.api#documentation": "

                The version of the slot type.

                " + "smithy.api#documentation": "

                A description of the slot type.

                " } }, "lastUpdatedDate": { @@ -5292,16 +5309,16 @@ "smithy.api#documentation": "

                The date that the slot type was updated. When you create a resource, the creation date\n and last updated date are the same.

                " } }, - "description": { - "target": "com.amazonaws.lexmodelbuildingservice#Description", + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                A description of the slot type.

                " + "smithy.api#documentation": "

                The date that the slot type was created.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#SlotTypeName", + "version": { + "target": "com.amazonaws.lexmodelbuildingservice#Version", "traits": { - "smithy.api#documentation": "

                The name of the slot type.

                " + "smithy.api#documentation": "

                The version of the slot type.

                " } } }, @@ -5398,10 +5415,11 @@ "com.amazonaws.lexmodelbuildingservice#StartImportRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.lexmodelbuildingservice#TagList", + "payload": { + "target": "com.amazonaws.lexmodelbuildingservice#Blob", "traits": { - "smithy.api#documentation": "

                A list of tags to add to the imported bot. You can only add tags when you import a bot,\n you can't add tags to an intent or slot type.

                " + "smithy.api#documentation": "

                A zip archive in binary format. The archive should contain one file, a JSON file\n containing the resource to import. The resource should match the type specified in the\n resourceType field.

                ", + "smithy.api#required": {} } }, "resourceType": { @@ -5418,11 +5436,10 @@ "smithy.api#required": {} } }, - "payload": { - "target": "com.amazonaws.lexmodelbuildingservice#Blob", + "tags": { + "target": "com.amazonaws.lexmodelbuildingservice#TagList", "traits": { - "smithy.api#documentation": "

                A zip archive in binary format. The archive should contain one file, a JSON file\n containing the resource to import. The resource should match the type specified in the\n resourceType field.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                A list of tags to add to the imported bot. You can only add tags when you import a bot,\n you can't add tags to an intent or slot type.

                " } } } @@ -5430,22 +5447,16 @@ "com.amazonaws.lexmodelbuildingservice#StartImportResponse": { "type": "structure", "members": { - "importStatus": { - "target": "com.amazonaws.lexmodelbuildingservice#ImportStatus", - "traits": { - "smithy.api#documentation": "

                The status of the import job. If the status is FAILED, you can get the\n reason for the failure using the GetImport operation.

                " - } - }, - "importId": { - "target": "com.amazonaws.lexmodelbuildingservice#String", + "name": { + "target": "com.amazonaws.lexmodelbuildingservice#Name", "traits": { - "smithy.api#documentation": "

                The identifier for the specific import job.

                " + "smithy.api#documentation": "

                The name given to the import job.

                " } }, - "createdDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "resourceType": { + "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", "traits": { - "smithy.api#documentation": "

                A timestamp for the date and time that the import job was requested.

                " + "smithy.api#documentation": "

                The type of resource to import.

                " } }, "mergeStrategy": { @@ -5454,10 +5465,16 @@ "smithy.api#documentation": "

                The action to take when there is a merge conflict.

                " } }, - "name": { - "target": "com.amazonaws.lexmodelbuildingservice#Name", + "importId": { + "target": "com.amazonaws.lexmodelbuildingservice#String", "traits": { - "smithy.api#documentation": "

                The name given to the import job.

                " + "smithy.api#documentation": "

                The identifier for the specific import job.

                " + } + }, + "importStatus": { + "target": "com.amazonaws.lexmodelbuildingservice#ImportStatus", + "traits": { + "smithy.api#documentation": "

                The status of the import job. If the status is FAILED, you can get the\n reason for the failure using the GetImport operation.

                " } }, "tags": { @@ -5466,10 +5483,10 @@ "smithy.api#documentation": "

                A list of tags added to the imported bot.

                " } }, - "resourceType": { - "target": "com.amazonaws.lexmodelbuildingservice#ResourceType", + "createdDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", "traits": { - "smithy.api#documentation": "

                The type of resource to import.

                " + "smithy.api#documentation": "

                A timestamp for the date and time that the import job was requested.

                " } } } @@ -5555,17 +5572,17 @@ "com.amazonaws.lexmodelbuildingservice#Tag": { "type": "structure", "members": { - "value": { - "target": "com.amazonaws.lexmodelbuildingservice#TagValue", + "key": { + "target": "com.amazonaws.lexmodelbuildingservice#TagKey", "traits": { - "smithy.api#documentation": "

                The value associated with a key. The value may be an empty string but it can't be\n null.

                ", + "smithy.api#documentation": "

                The key for the tag. Keys are not case-sensitive and must be unique.

                ", "smithy.api#required": {} } }, - "key": { - "target": "com.amazonaws.lexmodelbuildingservice#TagKey", + "value": { + "target": "com.amazonaws.lexmodelbuildingservice#TagValue", "traits": { - "smithy.api#documentation": "

                The key for the tag. Keys are not case-sensitive and must be unique.

                ", + "smithy.api#documentation": "

                The value associated with a key. The value may be an empty string but it can't be\n null.

                ", "smithy.api#required": {} } } @@ -5644,13 +5661,6 @@ "com.amazonaws.lexmodelbuildingservice#TagResourceRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.lexmodelbuildingservice#TagList", - "traits": { - "smithy.api#documentation": "

                A list of tag keys to add to the resource. If a tag key already exists, the existing value\n is replaced with the new value.

                ", - "smithy.api#required": {} - } - }, "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#AmazonResourceName", "traits": { @@ -5658,6 +5668,13 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "tags": { + "target": "com.amazonaws.lexmodelbuildingservice#TagList", + "traits": { + "smithy.api#documentation": "

                A list of tag keys to add to the resource. If a tag key already exists, the existing value\n is replaced with the new value.

                ", + "smithy.api#required": {} + } } } }, @@ -5714,14 +5731,6 @@ "com.amazonaws.lexmodelbuildingservice#UntagResourceRequest": { "type": "structure", "members": { - "tagKeys": { - "target": "com.amazonaws.lexmodelbuildingservice#TagKeyList", - "traits": { - "smithy.api#documentation": "

                A list of tag keys to remove from the resource. If a tag key does not exist on the\n resource, it is ignored.

                ", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - }, "resourceArn": { "target": "com.amazonaws.lexmodelbuildingservice#AmazonResourceName", "traits": { @@ -5729,6 +5738,14 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "tagKeys": { + "target": "com.amazonaws.lexmodelbuildingservice#TagKeyList", + "traits": { + "smithy.api#documentation": "

                A list of tag keys to remove from the resource. If a tag key does not exist on the\n resource, it is ignored.

                ", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } } } }, @@ -5763,12 +5780,6 @@ "smithy.api#documentation": "

                The text that was entered by the user or the text representation of an audio\n clip.

                " } }, - "lastUtteredDate": { - "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", - "traits": { - "smithy.api#documentation": "

                The date that the utterance was last recorded.

                " - } - }, "count": { "target": "com.amazonaws.lexmodelbuildingservice#Count", "traits": { @@ -5786,6 +5797,12 @@ "traits": { "smithy.api#documentation": "

                The date that the utterance was first recorded.

                " } + }, + "lastUtteredDate": { + "target": "com.amazonaws.lexmodelbuildingservice#Timestamp", + "traits": { + "smithy.api#documentation": "

                The date that the utterance was last recorded.

                " + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/lightsail.2016-11-28.json b/codegen/sdk-codegen/aws-models/lightsail.2016-11-28.json index 93490cf7cc84..31500c116c2b 100644 --- a/codegen/sdk-codegen/aws-models/lightsail.2016-11-28.json +++ b/codegen/sdk-codegen/aws-models/lightsail.2016-11-28.json @@ -32,16 +32,16 @@ "com.amazonaws.lightsail#AccessDeniedException": { "type": "structure", "members": { - "code": { + "tip": { "target": "com.amazonaws.lightsail#string" }, - "message": { + "docs": { "target": "com.amazonaws.lightsail#string" }, - "docs": { + "message": { "target": "com.amazonaws.lightsail#string" }, - "tip": { + "code": { "target": "com.amazonaws.lightsail#string" } }, @@ -69,15 +69,15 @@ "com.amazonaws.lightsail#AccountSetupInProgressException": { "type": "structure", "members": { - "tip": { - "target": "com.amazonaws.lightsail#string" - }, "code": { "target": "com.amazonaws.lightsail#string" }, "docs": { "target": "com.amazonaws.lightsail#string" }, + "tip": { + "target": "com.amazonaws.lightsail#string" + }, "message": { "target": "com.amazonaws.lightsail#string" } @@ -91,10 +91,10 @@ "com.amazonaws.lightsail#AddOn": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.lightsail#string", + "snapshotTimeOfDay": { + "target": "com.amazonaws.lightsail#TimeOfDay", "traits": { - "smithy.api#documentation": "

                The status of the add-on.

                " + "smithy.api#documentation": "

                The daily time when an automatic snapshot is created.

                \n

                The time shown is in HH:00 format, and in Coordinated Universal Time\n (UTC).

                \n

                The snapshot is automatically created between the time shown and up to 45 minutes\n after.

                " } }, "nextSnapshotTimeOfDay": { @@ -103,10 +103,10 @@ "smithy.api#documentation": "

                The next daily time an automatic snapshot will be created.

                \n

                The time shown is in HH:00 format, and in Coordinated Universal Time\n (UTC).

                \n

                The snapshot is automatically created between the time shown and up to 45 minutes\n after.

                " } }, - "snapshotTimeOfDay": { - "target": "com.amazonaws.lightsail#TimeOfDay", + "status": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The daily time when an automatic snapshot is created.

                \n

                The time shown is in HH:00 format, and in Coordinated Universal Time\n (UTC).

                \n

                The snapshot is automatically created between the time shown and up to 45 minutes\n after.

                " + "smithy.api#documentation": "

                The status of the add-on.

                " } }, "name": { @@ -167,22 +167,22 @@ "com.amazonaws.lightsail#Alarm": { "type": "structure", "members": { - "notificationTriggers": { - "target": "com.amazonaws.lightsail#NotificationTriggerList", + "threshold": { + "target": "com.amazonaws.lightsail#double", "traits": { - "smithy.api#documentation": "

                The alarm states that trigger a notification.

                " + "smithy.api#documentation": "

                The value against which the specified statistic is compared.

                " } }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "state": { + "target": "com.amazonaws.lightsail#AlarmState", "traits": { - "smithy.api#documentation": "

                The timestamp when the alarm was created.

                " + "smithy.api#documentation": "

                The current state of the alarm.

                \n

                An alarm has the following possible states:

                \n
                  \n
                • \n

                  \n ALARM - The metric is outside of the defined threshold.

                  \n
                • \n
                • \n

                  \n INSUFFICIENT_DATA - The alarm has just started, the metric is not\n available, or not enough data is available for the metric to determine the alarm\n state.

                  \n
                • \n
                • \n

                  \n OK - The metric is within the defined threshold.

                  \n
                • \n
                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "notificationTriggers": { + "target": "com.amazonaws.lightsail#NotificationTriggerList", "traits": { - "smithy.api#documentation": "

                The Lightsail resource type (e.g., Alarm).

                " + "smithy.api#documentation": "

                The alarm states that trigger a notification.

                " } }, "unit": { @@ -191,46 +191,40 @@ "smithy.api#documentation": "

                The unit of the metric associated with the alarm.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the alarm.

                " - } - }, - "treatMissingData": { - "target": "com.amazonaws.lightsail#TreatMissingData", + "contactProtocols": { + "target": "com.amazonaws.lightsail#ContactProtocolsList", "traits": { - "smithy.api#documentation": "

                Specifies how the alarm handles missing data points.

                \n

                An alarm can treat missing data in the following ways:

                \n
                  \n
                • \n

                  \n breaching - Assume the missing data is not within the threshold. Missing\n data counts towards the number of times the metric is not within the threshold.

                  \n
                • \n
                • \n

                  \n notBreaching - Assume the missing data is within the threshold. Missing\n data does not count towards the number of times the metric is not within the\n threshold.

                  \n
                • \n
                • \n

                  \n ignore - Ignore the missing data. Maintains the current alarm\n state.

                  \n
                • \n
                • \n

                  \n missing - Missing data is treated as missing.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The contact protocols for the alarm, such as Email, SMS (text\n messaging), or both.

                " } }, - "period": { - "target": "com.amazonaws.lightsail#MetricPeriod", + "comparisonOperator": { + "target": "com.amazonaws.lightsail#ComparisonOperator", "traits": { - "smithy.api#documentation": "

                The period, in seconds, over which the statistic is applied.

                " + "smithy.api#documentation": "

                The arithmetic operation used when comparing the specified statistic and threshold.

                " } }, - "statistic": { - "target": "com.amazonaws.lightsail#MetricStatistic", + "metricName": { + "target": "com.amazonaws.lightsail#MetricName", "traits": { - "smithy.api#documentation": "

                The statistic for the metric associated with the alarm.

                \n

                The following statistics are available:

                \n
                  \n
                • \n

                  \n Minimum - The lowest value observed during the specified period. Use this\n value to determine low volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Maximum - The highest value observed during the specified period. Use\n this value to determine high volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Sum - All values submitted for the matching metric added together. You\n can use this statistic to determine the total volume of a metric.

                  \n
                • \n
                • \n

                  \n Average - The value of Sum / SampleCount during the specified period. By\n comparing this statistic with the Minimum and Maximum values, you can determine the full\n scope of a metric and how close the average use is to the Minimum and Maximum values. This\n comparison helps you to know when to increase or decrease your resources.

                  \n
                • \n
                • \n

                  \n SampleCount - The count, or number, of data points used for the\n statistical calculation.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The name of the metric associated with the alarm.

                " } }, - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "datapointsToAlarm": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                An object that lists information about the location of the alarm.

                " + "smithy.api#documentation": "

                The number of data points that must not within the specified threshold to trigger the\n alarm.

                " } }, - "evaluationPeriods": { - "target": "com.amazonaws.lightsail#integer", + "name": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The number of periods over which data is compared to the specified threshold.

                " + "smithy.api#documentation": "

                The name of the alarm.

                " } }, - "comparisonOperator": { - "target": "com.amazonaws.lightsail#ComparisonOperator", + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The arithmetic operation used when comparing the specified statistic and threshold.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the alarm.

                " } }, "notificationEnabled": { @@ -239,10 +233,10 @@ "smithy.api#documentation": "

                Indicates whether the alarm is enabled.

                " } }, - "monitoredResourceInfo": { - "target": "com.amazonaws.lightsail#MonitoredResourceInfo", + "evaluationPeriods": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                An object that lists information about the resource monitored by the alarm.

                " + "smithy.api#documentation": "

                The number of periods over which data is compared to the specified threshold.

                " } }, "supportCode": { @@ -251,40 +245,46 @@ "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail alarm. This code enables our support team to look up your Lightsail\n information more easily.

                " } }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the alarm.

                " + "smithy.api#documentation": "

                The timestamp when the alarm was created.

                " } }, - "state": { - "target": "com.amazonaws.lightsail#AlarmState", + "monitoredResourceInfo": { + "target": "com.amazonaws.lightsail#MonitoredResourceInfo", "traits": { - "smithy.api#documentation": "

                The current state of the alarm.

                \n

                An alarm has the following possible states:

                \n
                  \n
                • \n

                  \n ALARM - The metric is outside of the defined threshold.

                  \n
                • \n
                • \n

                  \n INSUFFICIENT_DATA - The alarm has just started, the metric is not\n available, or not enough data is available for the metric to determine the alarm\n state.

                  \n
                • \n
                • \n

                  \n OK - The metric is within the defined threshold.

                  \n
                • \n
                " + "smithy.api#documentation": "

                An object that lists information about the resource monitored by the alarm.

                " } }, - "threshold": { - "target": "com.amazonaws.lightsail#double", + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", "traits": { - "smithy.api#documentation": "

                The value against which the specified statistic is compared.

                " + "smithy.api#documentation": "

                The Lightsail resource type (e.g., Alarm).

                " } }, - "datapointsToAlarm": { - "target": "com.amazonaws.lightsail#integer", + "treatMissingData": { + "target": "com.amazonaws.lightsail#TreatMissingData", "traits": { - "smithy.api#documentation": "

                The number of data points that must not within the specified threshold to trigger the\n alarm.

                " + "smithy.api#documentation": "

                Specifies how the alarm handles missing data points.

                \n

                An alarm can treat missing data in the following ways:

                \n
                  \n
                • \n

                  \n breaching - Assume the missing data is not within the threshold. Missing\n data counts towards the number of times the metric is not within the threshold.

                  \n
                • \n
                • \n

                  \n notBreaching - Assume the missing data is within the threshold. Missing\n data does not count towards the number of times the metric is not within the\n threshold.

                  \n
                • \n
                • \n

                  \n ignore - Ignore the missing data. Maintains the current alarm\n state.

                  \n
                • \n
                • \n

                  \n missing - Missing data is treated as missing.

                  \n
                • \n
                " } }, - "contactProtocols": { - "target": "com.amazonaws.lightsail#ContactProtocolsList", + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The contact protocols for the alarm, such as Email, SMS (text\n messaging), or both.

                " + "smithy.api#documentation": "

                An object that lists information about the location of the alarm.

                " } }, - "metricName": { - "target": "com.amazonaws.lightsail#MetricName", + "statistic": { + "target": "com.amazonaws.lightsail#MetricStatistic", "traits": { - "smithy.api#documentation": "

                The name of the metric associated with the alarm.

                " + "smithy.api#documentation": "

                The statistic for the metric associated with the alarm.

                \n

                The following statistics are available:

                \n
                  \n
                • \n

                  \n Minimum - The lowest value observed during the specified period. Use this\n value to determine low volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Maximum - The highest value observed during the specified period. Use\n this value to determine high volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Sum - All values submitted for the matching metric added together. You\n can use this statistic to determine the total volume of a metric.

                  \n
                • \n
                • \n

                  \n Average - The value of Sum / SampleCount during the specified period. By\n comparing this statistic with the Minimum and Maximum values, you can determine the full\n scope of a metric and how close the average use is to the Minimum and Maximum values. This\n comparison helps you to know when to increase or decrease your resources.

                  \n
                • \n
                • \n

                  \n SampleCount - The count, or number, of data points used for the\n statistical calculation.

                  \n
                • \n
                " + } + }, + "period": { + "target": "com.amazonaws.lightsail#MetricPeriod", + "traits": { + "smithy.api#documentation": "

                The period, in seconds, over which the statistic is applied.

                " } } }, @@ -409,7 +409,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                After the certificate is attached, your distribution accepts HTTPS traffic for all of the\n domains that are associated with the certificate.

                \n\n

                Use the CreateCertificate action to create a certificate that you can attach\n to your distribution.

                \n\n \n

                Only certificates created in the us-east-1 AWS Region can be attached to\n Lightsail distributions. Lightsail distributions are global resources that can reference\n an origin in any AWS Region, and distribute its content globally. However, all\n distributions are located in the us-east-1 Region.

                \n
                ", + "smithy.api#documentation": "

                Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                After the certificate is attached, your distribution accepts HTTPS traffic for all of the\n domains that are associated with the certificate.

                \n

                Use the CreateCertificate action to create a certificate that you can attach\n to your distribution.

                \n \n

                Only certificates created in the us-east-1 AWS Region can be attached to\n Lightsail distributions. Lightsail distributions are global resources that can reference\n an origin in any AWS Region, and distribute its content globally. However, all\n distributions are located in the us-east-1 Region.

                \n
                ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/AttachCertificateToDistribution", @@ -420,17 +420,17 @@ "com.amazonaws.lightsail#AttachCertificateToDistributionRequest": { "type": "structure", "members": { - "certificateName": { + "distributionName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the certificate to attach to a distribution.

                \n\n

                Only certificates with a status of ISSUED can be attached to a\n distribution.

                \n\n

                Use the GetCertificates action to get a list of certificate names that you\n can specify.

                \n\n \n

                This is the name of the certificate resource type and is used only to reference the\n certificate in other API actions. It can be different than the domain name of the\n certificate. For example, your certificate name might be\n WordPress-Blog-Certificate and the domain name of the certificate might be\n example.com.

                \n
                ", + "smithy.api#documentation": "

                The name of the distribution that the certificate will be attached to.

                \n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                ", "smithy.api#required": {} } }, - "distributionName": { + "certificateName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the distribution that the certificate will be attached to.

                \n\n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                ", + "smithy.api#documentation": "

                The name of the certificate to attach to a distribution.

                \n

                Only certificates with a status of ISSUED can be attached to a\n distribution.

                \n

                Use the GetCertificates action to get a list of certificate names that you\n can specify.

                \n \n

                This is the name of the certificate resource type and is used only to reference the\n certificate in other API actions. It can be different than the domain name of the\n certificate. For example, your certificate name might be\n WordPress-Blog-Certificate and the domain name of the certificate might be\n example.com.

                \n
                ", "smithy.api#required": {} } } @@ -637,17 +637,17 @@ "com.amazonaws.lightsail#AttachLoadBalancerTlsCertificateRequest": { "type": "structure", "members": { - "loadBalancerName": { + "certificateName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the load balancer to which you want to associate the SSL/TLS\n certificate.

                ", + "smithy.api#documentation": "

                The name of your SSL/TLS certificate.

                ", "smithy.api#required": {} } }, - "certificateName": { + "loadBalancerName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of your SSL/TLS certificate.

                ", + "smithy.api#documentation": "

                The name of the load balancer to which you want to associate the SSL/TLS\n certificate.

                ", "smithy.api#required": {} } } @@ -707,17 +707,17 @@ "com.amazonaws.lightsail#AttachStaticIpRequest": { "type": "structure", "members": { - "instanceName": { + "staticIpName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The instance name to which you want to attach the static IP address.

                ", + "smithy.api#documentation": "

                The name of the static IP.

                ", "smithy.api#required": {} } }, - "staticIpName": { + "instanceName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the static IP.

                ", + "smithy.api#documentation": "

                The instance name to which you want to attach the static IP address.

                ", "smithy.api#required": {} } } @@ -737,17 +737,17 @@ "com.amazonaws.lightsail#AttachedDisk": { "type": "structure", "members": { - "sizeInGb": { - "target": "com.amazonaws.lightsail#integer", - "traits": { - "smithy.api#documentation": "

                The size of the disk in GB.

                " - } - }, "path": { "target": "com.amazonaws.lightsail#string", "traits": { "smithy.api#documentation": "

                The path of the disk (e.g., /dev/xvdf).

                " } + }, + "sizeInGb": { + "target": "com.amazonaws.lightsail#integer", + "traits": { + "smithy.api#documentation": "

                The size of the disk in GB.

                " + } } }, "traits": { @@ -798,18 +798,18 @@ "smithy.api#documentation": "

                An array of objects that describe the block storage disks attached to the instance when\n the automatic snapshot was created.

                " } }, - "status": { - "target": "com.amazonaws.lightsail#AutoSnapshotStatus", - "traits": { - "smithy.api#documentation": "

                The status of the automatic snapshot.

                " - } - }, "date": { "target": "com.amazonaws.lightsail#string", "traits": { "smithy.api#documentation": "

                The date of the automatic snapshot in YYYY-MM-DD format.

                " } }, + "status": { + "target": "com.amazonaws.lightsail#AutoSnapshotStatus", + "traits": { + "smithy.api#documentation": "

                The status of the automatic snapshot.

                " + } + }, "createdAt": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { @@ -897,28 +897,46 @@ "com.amazonaws.lightsail#Blueprint": { "type": "structure", "members": { - "type": { - "target": "com.amazonaws.lightsail#BlueprintType", + "blueprintId": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The type of the blueprint (e.g., os or app).

                " + "smithy.api#documentation": "

                The ID for the virtual private server image (e.g., app_wordpress_4_4 or\n app_lamp_7_0).

                " } }, - "minPower": { - "target": "com.amazonaws.lightsail#integer", + "versionCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The minimum bundle power required to run this blueprint. For example, you need a bundle\n with a power value of 500 or more to create an instance that uses a blueprint with a minimum\n power value of 500. 0 indicates that the blueprint runs on all instance sizes.\n

                " + "smithy.api#documentation": "

                The version code.

                " } }, - "versionCode": { + "productUrl": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The version code.

                " + "smithy.api#documentation": "

                The product URL to learn more about the image or blueprint.

                " } }, - "blueprintId": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "version": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The ID for the virtual private server image (e.g., app_wordpress_4_4 or\n app_lamp_7_0).

                " + "smithy.api#documentation": "

                The version number of the operating system, application, or stack (e.g.,\n 2016.03.0).

                " + } + }, + "type": { + "target": "com.amazonaws.lightsail#BlueprintType", + "traits": { + "smithy.api#documentation": "

                The type of the blueprint (e.g., os or app).

                " + } + }, + "isActive": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed\n to support customers with existing instances but are not necessarily available for launch of\n new instances. Blueprints are marked inactive when they become outdated due to operating\n system updates or new application releases.

                " + } + }, + "minPower": { + "target": "com.amazonaws.lightsail#integer", + "traits": { + "smithy.api#documentation": "

                The minimum bundle power required to run this blueprint. For example, you need a bundle\n with a power value of 500 or more to create an instance that uses a blueprint with a minimum\n power value of 500. 0 indicates that the blueprint runs on all instance sizes.\n

                " } }, "description": { @@ -939,30 +957,12 @@ "smithy.api#documentation": "

                The group name of the blueprint (e.g., amazon-linux).

                " } }, - "productUrl": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The product URL to learn more about the image or blueprint.

                " - } - }, "name": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { "smithy.api#documentation": "

                The friendly name of the blueprint (e.g., Amazon Linux).

                " } }, - "isActive": { - "target": "com.amazonaws.lightsail#boolean", - "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed\n to support customers with existing instances but are not necessarily available for launch of\n new instances. Blueprints are marked inactive when they become outdated due to operating\n system updates or new application releases.

                " - } - }, - "version": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The version number of the operating system, application, or stack (e.g.,\n 2016.03.0).

                " - } - }, "licenseUrl": { "target": "com.amazonaws.lightsail#string", "traits": { @@ -998,22 +998,16 @@ "com.amazonaws.lightsail#Bundle": { "type": "structure", "members": { - "name": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                A friendly name for the bundle (e.g., Micro).

                " - } - }, - "instanceType": { - "target": "com.amazonaws.lightsail#string", + "ramSizeInGb": { + "target": "com.amazonaws.lightsail#float", "traits": { - "smithy.api#documentation": "

                The Amazon EC2 instance type (e.g., t2.micro).

                " + "smithy.api#documentation": "

                The amount of RAM in GB (e.g., 2.0).

                " } }, - "bundleId": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "cpuCount": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The bundle ID (e.g., micro_1_0).

                " + "smithy.api#documentation": "

                The number of vCPUs included in the bundle (e.g., 2).

                " } }, "power": { @@ -1022,16 +1016,16 @@ "smithy.api#documentation": "

                A numeric value that represents the power of the bundle (e.g., 500). You can\n use the bundle's power value in conjunction with a blueprint's minimum power value to\n determine whether the blueprint will run on the bundle. For example, you need a bundle with a\n power value of 500 or more to create an instance that uses a blueprint with a minimum power\n value of 500.

                " } }, - "cpuCount": { - "target": "com.amazonaws.lightsail#integer", + "bundleId": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The number of vCPUs included in the bundle (e.g., 2).

                " + "smithy.api#documentation": "

                The bundle ID (e.g., micro_1_0).

                " } }, - "ramSizeInGb": { - "target": "com.amazonaws.lightsail#float", + "name": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The amount of RAM in GB (e.g., 2.0).

                " + "smithy.api#documentation": "

                A friendly name for the bundle (e.g., Micro).

                " } }, "price": { @@ -1040,10 +1034,16 @@ "smithy.api#documentation": "

                The price in US dollars (e.g., 5.0) of the bundle.

                " } }, - "transferPerMonthInGb": { - "target": "com.amazonaws.lightsail#integer", + "instanceType": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The data transfer rate per month in GB (e.g., 2000).

                " + "smithy.api#documentation": "

                The Amazon EC2 instance type (e.g., t2.micro).

                " + } + }, + "isActive": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                A Boolean value indicating whether the bundle is active.

                " } }, "diskSizeInGb": { @@ -1052,10 +1052,10 @@ "smithy.api#documentation": "

                The size of the SSD (e.g., 30).

                " } }, - "isActive": { - "target": "com.amazonaws.lightsail#boolean", + "transferPerMonthInGb": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether the bundle is active.

                " + "smithy.api#documentation": "

                The data transfer rate per month in GB (e.g., 2000).

                " } }, "supportedPlatforms": { @@ -1081,7 +1081,7 @@ "behavior": { "target": "com.amazonaws.lightsail#BehaviorEnum", "traits": { - "smithy.api#documentation": "

                The cache behavior of the distribution.

                \n\n

                The following cache behaviors can be specified:

                \n\n
                  \n
                • \n

                  \n \n cache\n - This option is best for static\n sites. When specified, your distribution caches and serves your entire website as static\n content. This behavior is ideal for websites with static content that doesn't change\n depending on who views it, or for websites that don't use cookies, headers, or query\n strings to personalize content.

                  \n
                • \n
                • \n

                  \n \n dont-cache\n - This option is best for\n sites that serve a mix of static and dynamic content. When specified, your distribution\n caches and serve only the content that is specified in the distribution's\n CacheBehaviorPerPath parameter. This behavior is ideal for websites or web\n applications that use cookies, headers, and query strings to personalize content for\n individual users.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The cache behavior of the distribution.

                \n

                The following cache behaviors can be specified:

                \n
                  \n
                • \n

                  \n \n cache\n - This option is best for static\n sites. When specified, your distribution caches and serves your entire website as static\n content. This behavior is ideal for websites with static content that doesn't change\n depending on who views it, or for websites that don't use cookies, headers, or query\n strings to personalize content.

                  \n
                • \n
                • \n

                  \n \n dont-cache\n - This option is best for\n sites that serve a mix of static and dynamic content. When specified, your distribution\n caches and serve only the content that is specified in the distribution's\n CacheBehaviorPerPath parameter. This behavior is ideal for websites or web\n applications that use cookies, headers, and query strings to personalize content for\n individual users.

                  \n
                • \n
                " } } }, @@ -1098,42 +1098,42 @@ "com.amazonaws.lightsail#CacheBehaviorPerPath": { "type": "structure", "members": { - "behavior": { - "target": "com.amazonaws.lightsail#BehaviorEnum", + "path": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The cache behavior for the specified path.

                \n\n

                You can specify one of the following per-path cache behaviors:

                \n\n
                  \n
                • \n

                  \n \n cache\n - This behavior caches the\n specified path.\n

                  \n
                • \n
                • \n

                  \n \n dont-cache\n - This behavior doesn't cache\n the specified path.\n

                  \n
                • \n
                " + "smithy.api#documentation": "

                The path to a directory or file to cached, or not cache. Use an asterisk symbol to specify\n wildcard directories (path/to/assets/*), and file types (*.html, *jpg,\n *js). Directories and file paths are case-sensitive.

                \n

                Examples:

                \n
                  \n
                • \n

                  Specify the following to cache all files in the document root of an Apache web server\n running on a Lightsail instance.

                  \n

                  \n var/www/html/\n

                  \n
                • \n
                • \n

                  Specify the following file to cache only the index page in the document root of an\n Apache web server.

                  \n

                  \n var/www/html/index.html\n

                  \n
                • \n
                • \n

                  Specify the following to cache only the .html files in the document root of an Apache\n web server.

                  \n

                  \n var/www/html/*.html\n

                  \n
                • \n
                • \n

                  Specify the following to cache only the .jpg, .png, and .gif files in the images\n sub-directory of the document root of an Apache web server.

                  \n

                  \n var/www/html/images/*.jpg\n

                  \n

                  \n var/www/html/images/*.png\n

                  \n

                  \n var/www/html/images/*.gif\n

                  \n

                  Specify the following to cache all files in the images sub-directory of the document\n root of an Apache web server.

                  \n

                  \n var/www/html/images/\n

                  \n
                • \n
                " } }, - "path": { - "target": "com.amazonaws.lightsail#string", + "behavior": { + "target": "com.amazonaws.lightsail#BehaviorEnum", "traits": { - "smithy.api#documentation": "

                The path to a directory or file to cached, or not cache. Use an asterisk symbol to specify\n wildcard directories (path/to/assets/*), and file types (*.html, *jpg,\n *js). Directories and file paths are case-sensitive.

                \n\n

                Examples:

                \n\n
                  \n
                • \n

                  Specify the following to cache all files in the document root of an Apache web server\n running on a Lightsail instance.

                  \n

                  \n var/www/html/\n

                  \n
                • \n
                • \n

                  Specify the following file to cache only the index page in the document root of an\n Apache web server.

                  \n

                  \n var/www/html/index.html\n

                  \n
                • \n
                • \n

                  Specify the following to cache only the .html files in the document root of an Apache\n web server.

                  \n

                  \n var/www/html/*.html\n

                  \n
                • \n
                • \n

                  Specify the following to cache only the .jpg, .png, and .gif files in the images\n sub-directory of the document root of an Apache web server.

                  \n

                  \n var/www/html/images/*.jpg\n

                  \n

                  \n var/www/html/images/*.png\n

                  \n

                  \n var/www/html/images/*.gif\n

                  \n\n

                  Specify the following to cache all files in the images sub-directory of the document\n root of an Apache web server.

                  \n

                  \n var/www/html/images/\n

                  \n
                • \n
                " + "smithy.api#documentation": "

                The cache behavior for the specified path.

                \n

                You can specify one of the following per-path cache behaviors:

                \n
                  \n
                • \n

                  \n \n cache\n - This behavior caches the\n specified path.\n

                  \n
                • \n
                • \n

                  \n \n dont-cache\n - This behavior doesn't cache\n the specified path.\n

                  \n
                • \n
                " } } }, "traits": { - "smithy.api#documentation": "

                Describes the per-path cache behavior of an Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                A per-path cache behavior is used to override, or add an exception to, the default cache\n behavior of a distribution. For example, if the cacheBehavior is set to\n cache, then a per-path cache behavior can be used to specify a directory, file,\n or file type that your distribution will cache. Alternately, if the distribution's\n cacheBehavior is dont-cache, then a per-path cache behavior can be\n used to specify a directory, file, or file type that your distribution will not cache.

                \n\n\n

                if the cacheBehavior's behavior is set to 'cache', then

                " + "smithy.api#documentation": "

                Describes the per-path cache behavior of an Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                A per-path cache behavior is used to override, or add an exception to, the default cache\n behavior of a distribution. For example, if the cacheBehavior is set to\n cache, then a per-path cache behavior can be used to specify a directory, file,\n or file type that your distribution will cache. Alternately, if the distribution's\n cacheBehavior is dont-cache, then a per-path cache behavior can be\n used to specify a directory, file, or file type that your distribution will not cache.

                \n

                if the cacheBehavior's behavior is set to 'cache', then

                " } }, "com.amazonaws.lightsail#CacheSettings": { "type": "structure", "members": { - "forwardedQueryStrings": { - "target": "com.amazonaws.lightsail#QueryStringObject", + "allowedHTTPMethods": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                An object that describes the query strings that are forwarded to the origin. Your content\n is cached based on the query strings that are forwarded.

                " + "smithy.api#documentation": "

                The HTTP methods that are processed and forwarded to the distribution's origin.

                \n

                You can specify the following options:

                \n
                  \n
                • \n

                  \n GET,HEAD - The distribution forwards the GET and\n HEAD methods.

                  \n
                • \n
                • \n

                  \n GET,HEAD,OPTIONS - The distribution forwards the GET,\n HEAD, and OPTIONS methods.

                  \n
                • \n
                • \n

                  \n GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the\n GET, HEAD, OPTIONS, PUT,\n PATCH, POST, and DELETE methods.

                  \n
                • \n
                \n

                If you specify the third option, you might need to restrict access to your distribution's\n origin so users can't perform operations that you don't want them to. For example, you might\n not want users to have permission to delete objects from your origin.

                " } }, - "cachedHTTPMethods": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "defaultTTL": { + "target": "com.amazonaws.lightsail#long", "traits": { - "smithy.api#documentation": "

                The HTTP method responses that are cached by your distribution.

                \n\n

                You can specify the following options:

                \n\n
                  \n
                • \n

                  \n GET,HEAD - The distribution caches responses to the GET and\n HEAD methods.

                  \n
                • \n
                • \n

                  \n GET,HEAD,OPTIONS - The distribution caches responses to the\n GET, HEAD, and OPTIONS methods.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The default amount of time that objects stay in the distribution's cache before the\n distribution forwards another request to the origin to determine whether the content has been\n updated.

                \n \n

                The value specified applies only when the origin does not add HTTP headers such as\n Cache-Control max-age, Cache-Control s-maxage, and\n Expires to objects.

                \n
                " } }, - "forwardedHeaders": { - "target": "com.amazonaws.lightsail#HeaderObject", + "maximumTTL": { + "target": "com.amazonaws.lightsail#long", "traits": { - "smithy.api#documentation": "

                An object that describes the headers that are forwarded to the origin. Your content is\n cached based on the headers that are forwarded.

                " + "smithy.api#documentation": "

                The maximum amount of time that objects stay in the distribution's cache before the\n distribution forwards another request to the origin to determine whether the object has been\n updated.

                \n

                The value specified applies only when the origin adds HTTP headers such as\n Cache-Control max-age, Cache-Control s-maxage, and\n Expires to objects.

                " } }, "forwardedCookies": { @@ -1142,114 +1142,114 @@ "smithy.api#documentation": "

                An object that describes the cookies that are forwarded to the origin. Your content is\n cached based on the cookies that are forwarded.

                " } }, - "defaultTTL": { - "target": "com.amazonaws.lightsail#long", + "cachedHTTPMethods": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The default amount of time that objects stay in the distribution's cache before the\n distribution forwards another request to the origin to determine whether the content has been\n updated.

                \n\n \n

                The value specified applies only when the origin does not add HTTP headers such as\n Cache-Control max-age, Cache-Control s-maxage, and\n Expires to objects.

                \n
                " + "smithy.api#documentation": "

                The HTTP method responses that are cached by your distribution.

                \n

                You can specify the following options:

                \n
                  \n
                • \n

                  \n GET,HEAD - The distribution caches responses to the GET and\n HEAD methods.

                  \n
                • \n
                • \n

                  \n GET,HEAD,OPTIONS - The distribution caches responses to the\n GET, HEAD, and OPTIONS methods.

                  \n
                • \n
                " } }, - "maximumTTL": { + "minimumTTL": { "target": "com.amazonaws.lightsail#long", "traits": { - "smithy.api#documentation": "

                The maximum amount of time that objects stay in the distribution's cache before the\n distribution forwards another request to the origin to determine whether the object has been\n updated.

                \n\n

                The value specified applies only when the origin adds HTTP headers such as\n Cache-Control max-age, Cache-Control s-maxage, and\n Expires to objects.

                " + "smithy.api#documentation": "

                The minimum amount of time that objects stay in the distribution's cache before the\n distribution forwards another request to the origin to determine whether the object has been\n updated.

                \n

                A value of 0 must be specified for minimumTTL if the\n distribution is configured to forward all headers to the origin.

                " } }, - "minimumTTL": { - "target": "com.amazonaws.lightsail#long", + "forwardedQueryStrings": { + "target": "com.amazonaws.lightsail#QueryStringObject", "traits": { - "smithy.api#documentation": "

                The minimum amount of time that objects stay in the distribution's cache before the\n distribution forwards another request to the origin to determine whether the object has been\n updated.

                \n\n

                A value of 0 must be specified for minimumTTL if the\n distribution is configured to forward all headers to the origin.

                " + "smithy.api#documentation": "

                An object that describes the query strings that are forwarded to the origin. Your content\n is cached based on the query strings that are forwarded.

                " } }, - "allowedHTTPMethods": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "forwardedHeaders": { + "target": "com.amazonaws.lightsail#HeaderObject", "traits": { - "smithy.api#documentation": "

                The HTTP methods that are processed and forwarded to the distribution's origin.

                \n\n

                You can specify the following options:

                \n\n
                  \n
                • \n

                  \n GET,HEAD - The distribution forwards the GET and\n HEAD methods.

                  \n
                • \n
                • \n

                  \n GET,HEAD,OPTIONS - The distribution forwards the GET,\n HEAD, and OPTIONS methods.

                  \n
                • \n
                • \n

                  \n GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the\n GET, HEAD, OPTIONS, PUT,\n PATCH, POST, and DELETE methods.

                  \n
                • \n
                \n\n

                If you specify the third option, you might need to restrict access to your distribution's\n origin so users can't perform operations that you don't want them to. For example, you might\n not want users to have permission to delete objects from your origin.

                " + "smithy.api#documentation": "

                An object that describes the headers that are forwarded to the origin. Your content is\n cached based on the headers that are forwarded.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes the cache settings of an Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                These settings apply only to your distribution's cacheBehaviors (including\n the defaultCacheBehavior) that have a behavior of\n cache.

                " + "smithy.api#documentation": "

                Describes the cache settings of an Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                These settings apply only to your distribution's cacheBehaviors (including\n the defaultCacheBehavior) that have a behavior of\n cache.

                " } }, "com.amazonaws.lightsail#Certificate": { "type": "structure", "members": { - "notBefore": { - "target": "com.amazonaws.lightsail#IsoDate", + "issuerCA": { + "target": "com.amazonaws.lightsail#IssuerCA", "traits": { - "smithy.api#documentation": "

                The timestamp when the certificate is first valid.

                " + "smithy.api#documentation": "

                The certificate authority that issued the certificate.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#CertificateName", + "revocationReason": { + "target": "com.amazonaws.lightsail#RevocationReason", "traits": { - "smithy.api#documentation": "

                The name of the certificate (e.g., my-certificate).

                " + "smithy.api#documentation": "

                The reason the certificate was revoked. This value is present only when the certificate\n status is REVOKED.

                " } }, - "eligibleToRenew": { - "target": "com.amazonaws.lightsail#EligibleToRenew", + "status": { + "target": "com.amazonaws.lightsail#CertificateStatus", "traits": { - "smithy.api#documentation": "

                The renewal eligibility of the certificate.

                " + "smithy.api#documentation": "

                The validation status of the certificate.

                " } }, - "issuerCA": { - "target": "com.amazonaws.lightsail#IssuerCA", + "revokedAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The certificate authority that issued the certificate.

                " + "smithy.api#documentation": "

                The timestamp when the certificate was revoked. This value is present only when the\n certificate status is REVOKED.

                " } }, - "domainValidationRecords": { - "target": "com.amazonaws.lightsail#DomainValidationRecordList", + "domainName": { + "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the domain validation records of the certificate.

                " + "smithy.api#documentation": "

                The domain name of the certificate.

                " } }, - "notAfter": { - "target": "com.amazonaws.lightsail#IsoDate", + "inUseResourceCount": { + "target": "com.amazonaws.lightsail#InUseResourceCount", "traits": { - "smithy.api#documentation": "

                The timestamp when the certificate expires.

                " + "smithy.api#documentation": "

                The number of Lightsail resources that the certificate is attached to.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "subjectAlternativeNames": { + "target": "com.amazonaws.lightsail#SubjectAlternativeNameList", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + "smithy.api#documentation": "

                An array of strings that specify the alternate domains (e.g., example2.com)\n and subdomains (e.g., blog.example.com) of the certificate.

                " } }, - "status": { - "target": "com.amazonaws.lightsail#CertificateStatus", + "requestFailureReason": { + "target": "com.amazonaws.lightsail#RequestFailureReason", "traits": { - "smithy.api#documentation": "

                The validation status of the certificate.

                " + "smithy.api#documentation": "

                The validation failure reason, if any, of the certificate.

                \n

                The following failure reasons are possible:

                \n
                  \n
                • \n

                  \n \n NO_AVAILABLE_CONTACTS\n - This failure\n applies to email validation, which is not available for Lightsail certificates.

                  \n
                • \n
                • \n

                  \n \n ADDITIONAL_VERIFICATION_REQUIRED\n -\n Lightsail requires additional information to process this certificate request. This can\n happen as a fraud-protection measure, such as when the domain ranks within the Alexa top\n 1000 websites. To provide the required information, use the AWS Support Center to contact\n AWS Support.

                  \n \n

                  You cannot request a certificate for Amazon-owned domain names such as those ending\n in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.

                  \n
                  \n
                • \n
                • \n

                  \n \n DOMAIN_NOT_ALLOWED\n - One or more of the\n domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the\n problem, search for your domain name on the VirusTotal website. If your domain\n is reported as suspicious, see Google Help for Hacked\n Websites to learn what you can do.

                  \n

                  If you believe that the result is a false positive, notify the organization that is\n reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and\n cannot remove your domain from a block list itself. After you correct the problem and the\n VirusTotal registry has been updated, request a new certificate.

                  \n

                  If you see this error and your domain is not included in the VirusTotal list, visit\n the AWS Support Center\n and create a case.

                  \n
                • \n
                • \n

                  \n \n INVALID_PUBLIC_DOMAIN\n - One or more of\n the domain names in the certificate request is not valid. Typically, this is because a\n domain name in the request is not a valid top-level domain. Try to request a certificate\n again, correcting any spelling errors or typos that were in the failed request, and ensure\n that all domain names in the request are for valid top-level domains. For example, you\n cannot request a certificate for example.invalidpublicdomain because\n invalidpublicdomain is not a valid top-level domain.

                  \n
                • \n
                • \n

                  \n \n OTHER\n - Typically, this failure occurs\n when there is a typographical error in one or more of the domain names in the certificate\n request. Try to request a certificate again, correcting any spelling errors or typos that\n were in the failed request.

                  \n
                • \n
                " } }, - "revocationReason": { - "target": "com.amazonaws.lightsail#RevocationReason", + "issuedAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The reason the certificate was revoked. This value is present only when the certificate\n status is REVOKED.

                " + "smithy.api#documentation": "

                The timestamp when the certificate was issued.

                " } }, - "serialNumber": { - "target": "com.amazonaws.lightsail#SerialNumber", + "renewalSummary": { + "target": "com.amazonaws.lightsail#RenewalSummary", "traits": { - "smithy.api#documentation": "

                The serial number of the certificate.

                " + "smithy.api#documentation": "

                An object that describes the status of the certificate renewal managed by\n Lightsail.

                " } }, - "revokedAt": { + "createdAt": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The timestamp when the certificate was revoked. This value is present only when the\n certificate status is REVOKED.

                " + "smithy.api#documentation": "

                The timestamp when the certificate was created.

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "keyAlgorithm": { + "target": "com.amazonaws.lightsail#KeyAlgorithm", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail certificate. This code enables our support team to look up your Lightsail\n information more easily.

                " + "smithy.api#documentation": "

                The algorithm used to generate the key pair (the public and private key) of the\n certificate.

                " } }, - "renewalSummary": { - "target": "com.amazonaws.lightsail#RenewalSummary", + "supportCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An object that describes the status of the certificate renewal managed by\n Lightsail.

                " + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail certificate. This code enables our support team to look up your Lightsail\n information more easily.

                " } }, "arn": { @@ -1258,51 +1258,51 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the certificate.

                " } }, - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", + "domainValidationRecords": { + "target": "com.amazonaws.lightsail#DomainValidationRecordList", "traits": { - "smithy.api#documentation": "

                The domain name of the certificate.

                " + "smithy.api#documentation": "

                An array of objects that describe the domain validation records of the certificate.

                " } }, - "inUseResourceCount": { - "target": "com.amazonaws.lightsail#InUseResourceCount", + "name": { + "target": "com.amazonaws.lightsail#CertificateName", "traits": { - "smithy.api#documentation": "

                The number of Lightsail resources that the certificate is attached to.

                " + "smithy.api#documentation": "

                The name of the certificate (e.g., my-certificate).

                " } }, - "subjectAlternativeNames": { - "target": "com.amazonaws.lightsail#SubjectAlternativeNameList", + "notBefore": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                An array of strings that specify the alternate domains (e.g., example2.com)\n and subdomains (e.g., blog.example.com) of the certificate.

                " + "smithy.api#documentation": "

                The timestamp when the certificate is first valid.

                " } }, - "issuedAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "serialNumber": { + "target": "com.amazonaws.lightsail#SerialNumber", "traits": { - "smithy.api#documentation": "

                The timestamp when the certificate was issued.

                " + "smithy.api#documentation": "

                The serial number of the certificate.

                " } }, - "requestFailureReason": { - "target": "com.amazonaws.lightsail#RequestFailureReason", + "eligibleToRenew": { + "target": "com.amazonaws.lightsail#EligibleToRenew", "traits": { - "smithy.api#documentation": "

                The validation failure reason, if any, of the certificate.

                \n\n

                The following failure reasons are possible:

                \n
                  \n
                • \n

                  \n \n NO_AVAILABLE_CONTACTS\n - This failure\n applies to email validation, which is not available for Lightsail certificates.

                  \n
                • \n
                • \n

                  \n \n ADDITIONAL_VERIFICATION_REQUIRED\n -\n Lightsail requires additional information to process this certificate request. This can\n happen as a fraud-protection measure, such as when the domain ranks within the Alexa top\n 1000 websites. To provide the required information, use the AWS Support Center to contact\n AWS Support.

                  \n \n

                  You cannot request a certificate for Amazon-owned domain names such as those ending\n in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.

                  \n
                  \n
                • \n
                • \n

                  \n \n DOMAIN_NOT_ALLOWED\n - One or more of the\n domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the\n problem, search for your domain name on the VirusTotal website. If your domain\n is reported as suspicious, see Google Help for Hacked\n Websites to learn what you can do.

                  \n

                  If you believe that the result is a false positive, notify the organization that is\n reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and\n cannot remove your domain from a block list itself. After you correct the problem and the\n VirusTotal registry has been updated, request a new certificate.

                  \n

                  If you see this error and your domain is not included in the VirusTotal list, visit\n the AWS Support Center\n and create a case.

                  \n
                • \n
                • \n

                  \n \n INVALID_PUBLIC_DOMAIN\n - One or more of\n the domain names in the certificate request is not valid. Typically, this is because a\n domain name in the request is not a valid top-level domain. Try to request a certificate\n again, correcting any spelling errors or typos that were in the failed request, and ensure\n that all domain names in the request are for valid top-level domains. For example, you\n cannot request a certificate for example.invalidpublicdomain because\n invalidpublicdomain is not a valid top-level domain.

                  \n
                • \n
                • \n

                  \n \n OTHER\n - Typically, this failure occurs\n when there is a typographical error in one or more of the domain names in the certificate\n request. Try to request a certificate again, correcting any spelling errors or typos that\n were in the failed request.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The renewal eligibility of the certificate.

                " } }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The timestamp when the certificate was created.

                " + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, - "keyAlgorithm": { - "target": "com.amazonaws.lightsail#KeyAlgorithm", + "notAfter": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The algorithm used to generate the key pair (the public and private key) of the\n certificate.

                " + "smithy.api#documentation": "

                The timestamp when the certificate expires.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes the full details of an Amazon Lightsail SSL/TLS certificate.

                \n\n \n

                To get a summary of a certificate, use the GetCertificates action and ommit\n includeCertificateDetails from your request. The response will include only\n the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.

                \n
                " + "smithy.api#documentation": "

                Describes the full details of an Amazon Lightsail SSL/TLS certificate.

                \n \n

                To get a summary of a certificate, use the GetCertificates action and ommit\n includeCertificateDetails from your request. The response will include only\n the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.

                \n
                " } }, "com.amazonaws.lightsail#CertificateName": { @@ -1352,10 +1352,10 @@ "com.amazonaws.lightsail#CertificateSummary": { "type": "structure", "members": { - "certificateDetail": { - "target": "com.amazonaws.lightsail#Certificate", + "certificateName": { + "target": "com.amazonaws.lightsail#CertificateName", "traits": { - "smithy.api#documentation": "

                An object that describes a certificate in detail.

                " + "smithy.api#documentation": "

                The name of the certificate.

                " } }, "tags": { @@ -1364,16 +1364,16 @@ "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", + "certificateDetail": { + "target": "com.amazonaws.lightsail#Certificate", "traits": { - "smithy.api#documentation": "

                The domain name of the certificate.

                " + "smithy.api#documentation": "

                An object that describes a certificate in detail.

                " } }, - "certificateName": { - "target": "com.amazonaws.lightsail#CertificateName", + "domainName": { + "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                The name of the certificate.

                " + "smithy.api#documentation": "

                The domain name of the certificate.

                " } }, "certificateArn": { @@ -1436,17 +1436,17 @@ "com.amazonaws.lightsail#CloseInstancePublicPortsRequest": { "type": "structure", "members": { - "portInfo": { - "target": "com.amazonaws.lightsail#PortInfo", + "instanceName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                An object to describe the ports to close for the specified instance.

                ", + "smithy.api#documentation": "

                The name of the instance for which to close ports.

                ", "smithy.api#required": {} } }, - "instanceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "portInfo": { + "target": "com.amazonaws.lightsail#PortInfo", "traits": { - "smithy.api#documentation": "

                The name of the instance for which to close ports.

                ", + "smithy.api#documentation": "

                An object to describe the ports to close for the specified instance.

                ", "smithy.api#required": {} } } @@ -1466,34 +1466,34 @@ "com.amazonaws.lightsail#CloudFormationStackRecord": { "type": "structure", "members": { - "sourceInfo": { - "target": "com.amazonaws.lightsail#CloudFormationStackRecordSourceInfoList", + "state": { + "target": "com.amazonaws.lightsail#RecordState", "traits": { - "smithy.api#documentation": "

                A list of objects describing the source of the CloudFormation stack record.

                " + "smithy.api#documentation": "

                The current state of the CloudFormation stack record.

                " } }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The date when the CloudFormation stack record was created.

                " + "smithy.api#documentation": "

                A list of objects describing the Availability Zone and AWS Region of the CloudFormation\n stack record.

                " } }, - "destinationInfo": { - "target": "com.amazonaws.lightsail#DestinationInfo", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon\n Resource Name (ARN) of the AWS CloudFormation stack.

                " + "smithy.api#documentation": "

                The date when the CloudFormation stack record was created.

                " } }, - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "sourceInfo": { + "target": "com.amazonaws.lightsail#CloudFormationStackRecordSourceInfoList", "traits": { - "smithy.api#documentation": "

                A list of objects describing the Availability Zone and AWS Region of the CloudFormation\n stack record.

                " + "smithy.api#documentation": "

                A list of objects describing the source of the CloudFormation stack record.

                " } }, - "state": { - "target": "com.amazonaws.lightsail#RecordState", + "destinationInfo": { + "target": "com.amazonaws.lightsail#DestinationInfo", "traits": { - "smithy.api#documentation": "

                The current state of the CloudFormation stack record.

                " + "smithy.api#documentation": "

                A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon\n Resource Name (ARN) of the AWS CloudFormation stack.

                " } }, "resourceType": { @@ -1502,17 +1502,17 @@ "smithy.api#documentation": "

                The Lightsail resource type (e.g., CloudFormationStackRecord).

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the CloudFormation stack record. It starts with\n CloudFormationStackRecord followed by a GUID.

                " - } - }, "arn": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the CloudFormation stack record.

                " } + }, + "name": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the CloudFormation stack record. It starts with\n CloudFormationStackRecord followed by a GUID.

                " + } } }, "traits": { @@ -1528,10 +1528,10 @@ "com.amazonaws.lightsail#CloudFormationStackRecordSourceInfo": { "type": "structure", "members": { - "arn": { + "name": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the export snapshot record.

                " + "smithy.api#documentation": "

                The name of the record.

                " } }, "resourceType": { @@ -1540,10 +1540,10 @@ "smithy.api#documentation": "

                The Lightsail resource type (e.g., ExportSnapshotRecord).

                " } }, - "name": { + "arn": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The name of the record.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the export snapshot record.

                " } } }, @@ -1594,13 +1594,16 @@ "com.amazonaws.lightsail#ContactMethod": { "type": "structure", "members": { - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation" + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", + "traits": { + "smithy.api#documentation": "

                The Lightsail resource type (e.g., ContactMethod).

                " + } }, - "status": { - "target": "com.amazonaws.lightsail#ContactMethodStatus", + "protocol": { + "target": "com.amazonaws.lightsail#ContactProtocol", "traits": { - "smithy.api#documentation": "

                The current status of the contact method.

                \n

                A contact method has the following possible status:

                \n
                  \n
                • \n

                  \n PendingVerification - The contact method has not yet been verified, and\n the verification has not yet expired.

                  \n
                • \n
                • \n

                  \n Valid - The contact method has been verified.

                  \n
                • \n
                • \n

                  \n InValid - An attempt was made to verify the contact method, but the\n verification has expired.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The protocol of the contact method, such as email or SMS (text messaging).

                " } }, "contactEndpoint": { @@ -1609,40 +1612,37 @@ "smithy.api#documentation": "

                The destination of the contact method, such as an email address or a mobile phone\n number.

                " } }, + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation" + }, "createdAt": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { "smithy.api#documentation": "

                The timestamp when the contact method was created.

                " } }, - "protocol": { - "target": "com.amazonaws.lightsail#ContactProtocol", - "traits": { - "smithy.api#documentation": "

                The protocol of the contact method, such as email or SMS (text messaging).

                " - } - }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", - "traits": { - "smithy.api#documentation": "

                The Lightsail resource type (e.g., ContactMethod).

                " - } - }, "name": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { "smithy.api#documentation": "

                The name of the contact method.

                " } }, + "supportCode": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail contact method. This code enables our support team to look up your\n Lightsail information more easily.

                " + } + }, "arn": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the contact method.

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "status": { + "target": "com.amazonaws.lightsail#ContactMethodStatus", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail contact method. This code enables our support team to look up your\n Lightsail information more easily.

                " + "smithy.api#documentation": "

                The current status of the contact method.

                \n

                A contact method has the following possible status:

                \n
                  \n
                • \n

                  \n PendingVerification - The contact method has not yet been verified, and\n the verification has not yet expired.

                  \n
                • \n
                • \n

                  \n Valid - The contact method has been verified.

                  \n
                • \n
                • \n

                  \n InValid - An attempt was made to verify the contact method, but the\n verification has expired.

                  \n
                • \n
                " } } }, @@ -1707,541 +1707,668 @@ "target": "com.amazonaws.lightsail#ContactProtocol" } }, - "com.amazonaws.lightsail#CookieObject": { + "com.amazonaws.lightsail#Container": { "type": "structure", "members": { - "option": { - "target": "com.amazonaws.lightsail#ForwardValues", + "command": { + "target": "com.amazonaws.lightsail#StringList", "traits": { - "smithy.api#documentation": "

                Specifies which cookies to forward to the distribution's origin for a cache behavior:\n all, none, or allow-list to forward only the cookies\n specified in the cookiesAllowList parameter.

                " + "smithy.api#documentation": "

                The launch command for the container.

                " } }, - "cookiesAllowList": { - "target": "com.amazonaws.lightsail#StringList", + "environment": { + "target": "com.amazonaws.lightsail#Environment", "traits": { - "smithy.api#documentation": "

                The specific cookies to forward to your distribution's origin.

                " + "smithy.api#documentation": "

                The environment variables of the container.

                " + } + }, + "ports": { + "target": "com.amazonaws.lightsail#PortMap", + "traits": { + "smithy.api#documentation": "

                The open firewall ports of the container.

                " + } + }, + "image": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The name of the image used for the container.

                \n\n

                Container images sourced from your Lightsail container service, that are registered and\n stored on your service, start with a colon (:). For example,\n :container-service-1.mystaticwebsite.1. Container images sourced from a public\n registry like Docker Hub don't start with a colon. For example, nginx:latest or\n nginx.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards\n cookies to the origin and, if so, which ones.

                \n\n

                For the cookies that you specify, your distribution caches separate versions of the\n specified content based on the cookie values in viewer\n requests.

                " + "smithy.api#documentation": "

                Describes the settings of a container that will be launched, or that is launched, to an\n Amazon Lightsail container service.

                " } }, - "com.amazonaws.lightsail#CopySnapshot": { - "type": "operation", - "input": { - "target": "com.amazonaws.lightsail#CopySnapshotRequest" - }, - "output": { - "target": "com.amazonaws.lightsail#CopySnapshotResult" - }, - "errors": [ - { - "target": "com.amazonaws.lightsail#AccessDeniedException" - }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, - { - "target": "com.amazonaws.lightsail#InvalidInputException" - }, - { - "target": "com.amazonaws.lightsail#NotFoundException" - }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" + "com.amazonaws.lightsail#ContainerImage": { + "type": "structure", + "members": { + "image": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The name of the container image.

                " + } }, - { - "target": "com.amazonaws.lightsail#ServiceException" + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                The timestamp when the container image was created.

                " + } }, - { - "target": "com.amazonaws.lightsail#UnauthenticatedException" + "digest": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The digest of the container image.

                " + } } - ], + }, "traits": { - "smithy.api#documentation": "

                Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an\n automatic snapshot of an instance or disk as a manual snapshot. This operation can also be\n used to copy a manual or automatic snapshot of an instance or a disk from one AWS Region to\n another in Amazon Lightsail.

                \n

                When copying a manual snapshot, be sure to define the source\n region, source snapshot name, and target snapshot name\n parameters.

                \n

                When copying an automatic snapshot, be sure to define the\n source region, source resource name, target snapshot\n name, and either the restore date or the use latest restorable\n auto snapshot parameters.

                ", - "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/CopySnapshot", - "code": 200 - } + "smithy.api#documentation": "

                Describes a container image that is registered to an Amazon Lightsail container\n service.

                " } }, - "com.amazonaws.lightsail#CopySnapshotRequest": { + "com.amazonaws.lightsail#ContainerImageList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#ContainerImage" + } + }, + "com.amazonaws.lightsail#ContainerLabel": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 53 + }, + "smithy.api#pattern": "^[a-z0-9]{1,2}|[a-z0-9][a-z0-9-]+[a-z0-9]$" + } + }, + "com.amazonaws.lightsail#ContainerMap": { + "type": "map", + "key": { + "target": "com.amazonaws.lightsail#ContainerName" + }, + "value": { + "target": "com.amazonaws.lightsail#Container" + } + }, + "com.amazonaws.lightsail#ContainerName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 53 + }, + "smithy.api#pattern": "^[a-z0-9]{1,2}|[a-z0-9][a-z0-9-]+[a-z0-9]$" + } + }, + "com.amazonaws.lightsail#ContainerService": { "type": "structure", "members": { - "sourceSnapshotName": { - "target": "com.amazonaws.lightsail#ResourceName", + "isDisabled": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The name of the source manual snapshot to copy.

                \n

                Constraint:

                \n
                  \n
                • \n

                  Define this parameter only when copying a manual snapshot as another manual\n snapshot.

                  \n
                • \n
                " + "smithy.api#documentation": "

                A Boolean value indicating whether the container service is disabled.

                " } }, - "useLatestRestorableAutoSnapshot": { - "target": "com.amazonaws.lightsail#boolean", + "scale": { + "target": "com.amazonaws.lightsail#ContainerServiceScale", "traits": { - "smithy.api#documentation": "

                A Boolean value to indicate whether to use the latest available automatic snapshot of the\n specified source instance or disk.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The scale specification of the container service.

                \n\n

                The scale specifies the allocated compute nodes of the container service.

                " } }, - "restoreDate": { - "target": "com.amazonaws.lightsail#string", + "state": { + "target": "com.amazonaws.lightsail#ContainerServiceState", "traits": { - "smithy.api#documentation": "

                The date of the source automatic snapshot to copy. Use the get auto snapshots\n operation to identify the dates of the available automatic snapshots.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be specified in YYYY-MM-DD format.

                  \n
                • \n
                • \n

                  This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The current state of the container service.

                \n

                The state can be:

                \n
                  \n
                • \n

                  \n Pending - The container service is being created.

                  \n
                • \n
                • \n

                  \n Ready - The container service is created but does not have a container\n deployment.

                  \n
                • \n
                • \n

                  \n Disabled - The container service is disabled.

                  \n
                • \n
                • \n

                  \n Updating - The container service capacity or other setting is being\n updated.

                  \n
                • \n
                • \n

                  \n Deploying - The container service is launching a container\n deployment.

                  \n
                • \n
                • \n

                  \n Running - The container service is created and it has a container\n deployment.

                  \n
                • \n
                " } }, - "sourceRegion": { - "target": "com.amazonaws.lightsail#RegionName", + "nextDeployment": { + "target": "com.amazonaws.lightsail#ContainerServiceDeployment", "traits": { - "smithy.api#documentation": "

                The AWS Region where the source manual or automatic snapshot is located.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                An object that describes the next deployment of the container service.

                \n\n

                This value is null when there is no deployment in a pending\n state.

                " } }, - "targetSnapshotName": { - "target": "com.amazonaws.lightsail#ResourceName", + "power": { + "target": "com.amazonaws.lightsail#ContainerServicePowerName", "traits": { - "smithy.api#documentation": "

                The name of the new manual snapshot to be created as a copy.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The power specification of the container service.

                \n\n

                The power specifies the amount of RAM, the number of vCPUs, and the base price of the\n container service.

                " } }, - "sourceResourceName": { + "privateDomainName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the source instance or disk from which the source automatic snapshot was\n created.

                \n

                Constraint:

                \n
                  \n
                • \n

                  Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The private domain name of the container service.

                \n\n

                The private domain name is accessible only by other resources within the default virtual\n private cloud (VPC) of your Lightsail account.

                " } - } - } - }, - "com.amazonaws.lightsail#CopySnapshotResult": { - "type": "structure", - "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + }, + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An object that describes the location of the container service, such as the AWS Region\n and Availability Zone.

                " } - } - } - }, - "com.amazonaws.lightsail#CreateCertificate": { - "type": "operation", - "input": { - "target": "com.amazonaws.lightsail#CreateCertificateRequest" - }, - "output": { - "target": "com.amazonaws.lightsail#CreateCertificateResult" - }, - "errors": [ - { - "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#InvalidInputException" + "principalArn": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The principal ARN of the container service.

                \n\n

                The principal ARN can be used to create a trust relationship between your standard AWS\n account and your Lightsail container service. This allows you to give your service\n permission to access resources in your standard AWS account.

                " + } }, - { - "target": "com.amazonaws.lightsail#NotFoundException" + "containerServiceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", + "traits": { + "smithy.api#documentation": "

                The name of the container service.

                " + } }, - { - "target": "com.amazonaws.lightsail#ServiceException" + "url": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The publicly accessible URL of the container service.

                \n\n

                If no public endpoint is specified in the currentDeployment, this URL returns\n a 404 response.

                " + } }, - { - "target": "com.amazonaws.lightsail#UnauthenticatedException" - } - ], - "traits": { - "smithy.api#documentation": "

                Creates an SSL/TLS certificate for a Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                After the certificate is created, use the AttachCertificateToDistribution\n action to attach the certificate to your distribution.

                \n\n \n

                Only certificates created in the us-east-1 AWS Region can be attached to\n Lightsail distributions. Lightsail distributions are global resources that can reference\n an origin in any AWS Region, and distribute its content globally. However, all\n distributions are located in the us-east-1 Region.

                \n
                ", - "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/CreateCertificate", - "code": 200 - } - } - }, - "com.amazonaws.lightsail#CreateCertificateRequest": { - "type": "structure", - "members": { - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The domain name (e.g., example.com) for the certificate.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, - "subjectAlternativeNames": { - "target": "com.amazonaws.lightsail#SubjectAlternativeNameList", + "currentDeployment": { + "target": "com.amazonaws.lightsail#ContainerServiceDeployment", "traits": { - "smithy.api#documentation": "

                An array of strings that specify the alternate domains (e.g., example2.com)\n and subdomains (e.g., blog.example.com) for the certificate.

                \n\n

                You can specify a maximum of nine alternate domains (in addition to the primary domain\n name).

                \n\n

                Wildcard domain entries (e.g., *.example.com) are not supported.

                " + "smithy.api#documentation": "

                An object that describes the current container deployment of the container service.

                " } }, - "certificateName": { - "target": "com.amazonaws.lightsail#CertificateName", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The name for the certificate.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The timestamp when the container service was created.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "powerId": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The ID of the power of the container service.

                " + } + }, + "publicDomainNames": { + "target": "com.amazonaws.lightsail#ContainerServicePublicDomains", + "traits": { + "smithy.api#documentation": "

                The public domain name of the container service, such as example.com and\n www.example.com.

                \n\n

                You can specify up to four public domain names for a container service. The domain names\n that you specify are used when you create a deployment with a container configured as the\n public endpoint of your container service.

                \n\n

                If you don't specify public domain names, then you can use the default domain of the\n container service.

                \n\n \n

                You must create and validate an SSL/TLS certificate before you can use public domain\n names with your container service. Use the CreateCertificate action to create a\n certificate for the public domain names you want to use with your container service.

                \n
                \n\n

                See CreateContainerService or UpdateContainerService for\n information about how to specify public domain names for your Lightsail container\n service.

                " + } + }, + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the container service.

                " + } + }, + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the certificate during create.

                \n\n

                Use the TagResource action to tag a resource after it's created.

                " + "smithy.api#documentation": "

                The Lightsail resource type of the container service (i.e.,\n ContainerService).

                " } } + }, + "traits": { + "smithy.api#documentation": "

                Describes an Amazon Lightsail container service.

                " } }, - "com.amazonaws.lightsail#CreateCertificateResult": { + "com.amazonaws.lightsail#ContainerServiceDeployment": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "state": { + "target": "com.amazonaws.lightsail#ContainerServiceDeploymentState", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                The state of the deployment.

                \n\n

                A deployment can be in one of the following states:

                \n
                  \n
                • \n

                  \n Activating - The deployment is being created.

                  \n
                • \n
                • \n

                  \n Active - The deployment was successfully created, and it's currently\n running on the container service. The container service can have only one deployment in an\n active state at a time.

                  \n
                • \n
                • \n

                  \n Inactive - The deployment was previously successfully created, but it is\n not currently running on the container service.

                  \n
                • \n
                • \n

                  \n Failed - The deployment failed. Use the GetContainerLog\n action to view the log events for the containers in the deployment to try to determine the\n reason for the failure.

                  \n
                • \n
                " } }, - "certificate": { - "target": "com.amazonaws.lightsail#CertificateSummary", + "containers": { + "target": "com.amazonaws.lightsail#ContainerMap", "traits": { - "smithy.api#documentation": "

                An object that describes the certificate created.

                " + "smithy.api#documentation": "

                An object that describes the configuration for the containers of the deployment.

                " } - } - } - }, - "com.amazonaws.lightsail#CreateCloudFormationStack": { - "type": "operation", - "input": { - "target": "com.amazonaws.lightsail#CreateCloudFormationStackRequest" - }, - "output": { - "target": "com.amazonaws.lightsail#CreateCloudFormationStackResult" - }, - "errors": [ - { - "target": "com.amazonaws.lightsail#AccessDeniedException" - }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, - { - "target": "com.amazonaws.lightsail#InvalidInputException" - }, - { - "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" + "version": { + "target": "com.amazonaws.lightsail#integer", + "traits": { + "smithy.api#documentation": "

                The version number of the deployment.

                " + } }, - { - "target": "com.amazonaws.lightsail#ServiceException" + "publicEndpoint": { + "target": "com.amazonaws.lightsail#ContainerServiceEndpoint", + "traits": { + "smithy.api#documentation": "

                An object that describes the endpoint of the deployment.

                " + } }, - { - "target": "com.amazonaws.lightsail#UnauthenticatedException" + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                The timestamp when the deployment was created.

                " + } } - ], + }, "traits": { - "smithy.api#documentation": "

                Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported\n Amazon Lightsail snapshot. This operation results in a CloudFormation stack record that can be\n used to track the AWS CloudFormation stack created. Use the get cloud formation stack\n records operation to get a list of the CloudFormation stacks created.

                \n \n

                Wait until after your new Amazon EC2 instance is created before running the create\n cloud formation stack operation again with the same export snapshot record.

                \n
                ", - "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/CreateCloudFormationStack", - "code": 200 - } + "smithy.api#documentation": "

                Describes a container deployment configuration of an Amazon Lightsail container\n service.

                \n\n

                A deployment specifies the settings, such as the ports and launch command, of containers\n that are deployed to your container service.

                " } }, - "com.amazonaws.lightsail#CreateCloudFormationStackRequest": { - "type": "structure", - "members": { - "instances": { - "target": "com.amazonaws.lightsail#InstanceEntryList", - "traits": { - "smithy.api#documentation": "

                An array of parameters that will be used to create the new Amazon EC2 instance. You can only\n pass one instance entry at a time in this array. You will get an invalid parameter error if\n you pass more than one instance entry in this array.

                ", - "smithy.api#required": {} - } - } + "com.amazonaws.lightsail#ContainerServiceDeploymentList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#ContainerServiceDeployment" } }, - "com.amazonaws.lightsail#CreateCloudFormationStackResult": { + "com.amazonaws.lightsail#ContainerServiceDeploymentRequest": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "publicEndpoint": { + "target": "com.amazonaws.lightsail#EndpointRequest", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An object that describes the endpoint of the deployment.

                " + } + }, + "containers": { + "target": "com.amazonaws.lightsail#ContainerMap", + "traits": { + "smithy.api#documentation": "

                An object that describes the configuration for the containers of the deployment.

                " } } + }, + "traits": { + "smithy.api#documentation": "

                Describes a container deployment configuration of an Amazon Lightsail container\n service.

                \n\n

                A deployment specifies the settings, such as the ports and launch command, of containers\n that are deployed to your container service.

                " } }, - "com.amazonaws.lightsail#CreateContactMethod": { - "type": "operation", - "input": { - "target": "com.amazonaws.lightsail#CreateContactMethodRequest" - }, - "output": { - "target": "com.amazonaws.lightsail#CreateContactMethodResult" - }, - "errors": [ - { - "target": "com.amazonaws.lightsail#AccessDeniedException" - }, - { - "target": "com.amazonaws.lightsail#InvalidInputException" - }, - { - "target": "com.amazonaws.lightsail#NotFoundException" - }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, - { - "target": "com.amazonaws.lightsail#ServiceException" - }, - { - "target": "com.amazonaws.lightsail#UnauthenticatedException" - } - ], + "com.amazonaws.lightsail#ContainerServiceDeploymentState": { + "type": "string", "traits": { - "smithy.api#documentation": "

                Creates an email or SMS text message contact method.

                \n

                A contact method is used to send you notifications about your Amazon Lightsail resources.\n You can add one email address and one mobile phone number contact method in each AWS Region.\n However, SMS text messaging is not supported in some AWS Regions, and SMS text messages\n cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

                ", - "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/CreateContactMethod", - "code": 200 - } + "smithy.api#enum": [ + { + "value": "ACTIVATING", + "name": "ACTIVATING" + }, + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "INACTIVE", + "name": "INACTIVE" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] } }, - "com.amazonaws.lightsail#CreateContactMethodRequest": { + "com.amazonaws.lightsail#ContainerServiceEndpoint": { "type": "structure", "members": { - "protocol": { - "target": "com.amazonaws.lightsail#ContactProtocol", + "healthCheck": { + "target": "com.amazonaws.lightsail#ContainerServiceHealthCheckConfig", "traits": { - "smithy.api#documentation": "

                The protocol of the contact method, such as Email or SMS (text\n messaging).

                \n

                The SMS protocol is supported only in the following AWS Regions.

                \n
                  \n
                • \n

                  US East (N. Virginia) (us-east-1)

                  \n
                • \n
                • \n

                  US West (Oregon) (us-west-2)

                  \n
                • \n
                • \n

                  Europe (Ireland) (eu-west-1)

                  \n
                • \n
                • \n

                  Asia Pacific (Tokyo) (ap-northeast-1)

                  \n
                • \n
                • \n

                  Asia Pacific (Singapore) (ap-southeast-1)

                  \n
                • \n
                • \n

                  Asia Pacific (Sydney) (ap-southeast-2)

                  \n
                • \n
                \n

                For a list of countries/regions where SMS text messages can be sent, and the latest AWS\n Regions where SMS text messaging is supported, see Supported Regions and Countries in the Amazon SNS Developer\n Guide.

                \n

                For more information about notifications in Amazon Lightsail, see Notifications in Amazon Lightsail.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                An object that describes the health check configuration of the container.

                " } }, - "contactEndpoint": { - "target": "com.amazonaws.lightsail#StringMax256", + "containerName": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The destination of the contact method, such as an email address or a mobile phone\n number.

                \n

                Use the E.164 format when specifying a mobile phone number. E.164 is a standard for the\n phone number structure used for international telecommunication. Phone numbers that follow\n this format can have a maximum of 15 digits, and they are prefixed with the plus character (+)\n and the country code. For example, a U.S. phone number in E.164 format would be specified as\n +1XXX5550100. For more information, see E.164 on Wikipedia.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The name of the container entry of the deployment that the endpoint configuration applies\n to.

                " } - } - } - }, - "com.amazonaws.lightsail#CreateContactMethodResult": { - "type": "structure", - "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + }, + "containerPort": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                The port of the specified container to which traffic is forwarded to.

                " } } - } - }, - "com.amazonaws.lightsail#CreateDisk": { - "type": "operation", - "input": { - "target": "com.amazonaws.lightsail#CreateDiskRequest" - }, - "output": { - "target": "com.amazonaws.lightsail#CreateDiskResult" - }, - "errors": [ - { - "target": "com.amazonaws.lightsail#AccessDeniedException" - }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, - { - "target": "com.amazonaws.lightsail#InvalidInputException" - }, - { - "target": "com.amazonaws.lightsail#NotFoundException" - }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, - { - "target": "com.amazonaws.lightsail#ServiceException" - }, - { - "target": "com.amazonaws.lightsail#UnauthenticatedException" - } - ], - "traits": { - "smithy.api#documentation": "

                Creates a block storage disk that can be attached to an Amazon Lightsail instance in the\n same Availability Zone (e.g., us-east-2a).

                \n

                The create disk operation supports tag-based access control via request tags.\n For more information, see the Lightsail Dev Guide.

                ", - "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/CreateDisk", - "code": 200 - } - } - }, - "com.amazonaws.lightsail#CreateDiskFromSnapshot": { - "type": "operation", - "input": { - "target": "com.amazonaws.lightsail#CreateDiskFromSnapshotRequest" }, - "output": { - "target": "com.amazonaws.lightsail#CreateDiskFromSnapshotResult" - }, - "errors": [ - { - "target": "com.amazonaws.lightsail#AccessDeniedException" - }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, - { - "target": "com.amazonaws.lightsail#InvalidInputException" - }, - { - "target": "com.amazonaws.lightsail#NotFoundException" - }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, - { - "target": "com.amazonaws.lightsail#ServiceException" - }, - { - "target": "com.amazonaws.lightsail#UnauthenticatedException" - } - ], "traits": { - "smithy.api#documentation": "

                Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting\n disk can be attached to an Amazon Lightsail instance in the same Availability Zone (e.g.,\n us-east-2a).

                \n

                The create disk from snapshot operation supports tag-based access control via\n request tags and resource tags applied to the resource identified by disk snapshot\n name. For more information, see the Lightsail Dev Guide.

                ", - "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/CreateDiskFromSnapshot", - "code": 200 - } + "smithy.api#documentation": "

                Describes the public endpoint configuration of a deployment of an Amazon Lightsail\n container service.

                " } }, - "com.amazonaws.lightsail#CreateDiskFromSnapshotRequest": { + "com.amazonaws.lightsail#ContainerServiceHealthCheckConfig": { "type": "structure", "members": { - "restoreDate": { - "target": "com.amazonaws.lightsail#string", + "healthyThreshold": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The date of the automatic snapshot to use for the new disk. Use the get auto\n snapshots operation to identify the dates of the available automatic\n snapshots.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be specified in YYYY-MM-DD format.

                  \n
                • \n
                • \n

                  This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The number of consecutive health checks successes required before moving the container to\n the Healthy state.

                " } }, - "sizeInGb": { + "unhealthyThreshold": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The size of the disk in GB (e.g., 32).

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The number of consecutive health check failures required before moving the container to\n the Unhealthy state.

                " } }, - "sourceDiskName": { - "target": "com.amazonaws.lightsail#string", + "timeoutSeconds": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The name of the source disk from which the source automatic snapshot was created.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the disk snapshot name\n parameter. The source disk name and disk snapshot name\n parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The amount of time, in seconds, during which no response means a failed health check. You\n may specify between 2 and 60 seconds.

                " } }, - "diskName": { - "target": "com.amazonaws.lightsail#ResourceName", + "successCodes": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The unique Lightsail disk name (e.g., my-disk).

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The HTTP codes to use when checking for a successful response from a container. You can\n specify values between 200 and 499.

                " } }, - "useLatestRestorableAutoSnapshot": { - "target": "com.amazonaws.lightsail#boolean", + "path": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                A Boolean value to indicate whether to use the latest available automatic snapshot.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The path on the container on which to perform the health check.

                " } }, - "availabilityZone": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "intervalSeconds": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The Availability Zone where you want to create the disk (e.g., us-east-2a).\n Choose the same Availability Zone as the Lightsail instance where you want to create the\n disk.

                \n

                Use the GetRegions operation to list the Availability Zones where Lightsail is currently\n available.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The approximate interval, in seconds, between health checks of an individual container.\n You may specify between 5 and 300 seconds.

                " } - }, - "addOns": { - "target": "com.amazonaws.lightsail#AddOnRequestList", + } + }, + "traits": { + "smithy.api#documentation": "

                Describes the health check configuration of an Amazon Lightsail container service.

                " + } + }, + "com.amazonaws.lightsail#ContainerServiceList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#ContainerService" + } + }, + "com.amazonaws.lightsail#ContainerServiceLogEvent": { + "type": "structure", + "members": { + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                An array of objects that represent the add-ons to enable for the new disk.

                " + "smithy.api#documentation": "

                The timestamp when the container service log event was created.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", - "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " - } - }, - "diskSnapshotName": { - "target": "com.amazonaws.lightsail#ResourceName", + "message": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the disk snapshot (e.g., my-snapshot) from which to create the\n new storage disk.

                \n

                Constraint:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the source disk name\n parameter. The disk snapshot name and source disk name\n parameters are mutually exclusive.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The message of the container service log event.

                " } } + }, + "traits": { + "smithy.api#documentation": "

                Describes the log events of a container of an Amazon Lightsail container service.

                " } }, - "com.amazonaws.lightsail#CreateDiskFromSnapshotResult": { + "com.amazonaws.lightsail#ContainerServiceLogEventList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#ContainerServiceLogEvent" + } + }, + "com.amazonaws.lightsail#ContainerServiceMetadataEntry": { + "type": "map", + "key": { + "target": "com.amazonaws.lightsail#string" + }, + "value": { + "target": "com.amazonaws.lightsail#string" + } + }, + "com.amazonaws.lightsail#ContainerServiceMetadataEntryList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#ContainerServiceMetadataEntry" + } + }, + "com.amazonaws.lightsail#ContainerServiceMetricName": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CPUUtilization", + "name": "CPUUtilization" + }, + { + "value": "MemoryUtilization", + "name": "MemoryUtilization" + } + ] + } + }, + "com.amazonaws.lightsail#ContainerServiceName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 63 + }, + "smithy.api#pattern": "^[a-z0-9]{1,2}|[a-z0-9][a-z0-9-]+[a-z0-9]$" + } + }, + "com.amazonaws.lightsail#ContainerServicePower": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "price": { + "target": "com.amazonaws.lightsail#float", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                The monthly price of the power in USD.

                " + } + }, + "isActive": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                A Boolean value indicating whether the power is active and can be specified for container\n services.

                " + } + }, + "name": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The friendly name of the power (e.g., nano).

                " + } + }, + "ramSizeInGb": { + "target": "com.amazonaws.lightsail#float", + "traits": { + "smithy.api#documentation": "

                The amount of RAM (in GB) of the power.

                " + } + }, + "powerId": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The ID of the power (e.g., nano-1).

                " + } + }, + "cpuCount": { + "target": "com.amazonaws.lightsail#float", + "traits": { + "smithy.api#documentation": "

                The number of vCPUs included in the power.

                " } } + }, + "traits": { + "smithy.api#documentation": "

                Describes the powers that can be specified for an Amazon Lightsail container\n service.

                \n\n

                The power specifies the amount of RAM, the number of vCPUs, and the base price of the\n container service.

                " } }, - "com.amazonaws.lightsail#CreateDiskRequest": { + "com.amazonaws.lightsail#ContainerServicePowerList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#ContainerServicePower" + } + }, + "com.amazonaws.lightsail#ContainerServicePowerName": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "nano", + "name": "nano" + }, + { + "value": "micro", + "name": "micro" + }, + { + "value": "small", + "name": "small" + }, + { + "value": "medium", + "name": "medium" + }, + { + "value": "large", + "name": "large" + }, + { + "value": "xlarge", + "name": "xlarge" + } + ] + } + }, + "com.amazonaws.lightsail#ContainerServiceProtocol": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "HTTP", + "name": "HTTP" + }, + { + "value": "HTTPS", + "name": "HTTPS" + }, + { + "value": "TCP", + "name": "TCP" + }, + { + "value": "UDP", + "name": "UDP" + } + ] + } + }, + "com.amazonaws.lightsail#ContainerServicePublicDomains": { + "type": "map", + "key": { + "target": "com.amazonaws.lightsail#string" + }, + "value": { + "target": "com.amazonaws.lightsail#ContainerServicePublicDomainsList" + } + }, + "com.amazonaws.lightsail#ContainerServicePublicDomainsList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#string" + } + }, + "com.amazonaws.lightsail#ContainerServiceRegistryLogin": { "type": "structure", "members": { - "diskName": { - "target": "com.amazonaws.lightsail#ResourceName", + "expiresAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The unique Lightsail disk name (e.g., my-disk).

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The timestamp of when the container image registry username and password expire.

                \n\n

                The log in credentials expire 12 hours after they are created, at which point you will\n need to create a new set of log in credentials using the\n CreateContainerServiceRegistryLogin action.

                " } }, - "addOns": { - "target": "com.amazonaws.lightsail#AddOnRequestList", + "username": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An array of objects that represent the add-ons to enable for the new disk.

                " + "smithy.api#documentation": "

                The container service registry username to use to push container images to the container\n image registry of a Lightsail account.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "password": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + "smithy.api#documentation": "

                The container service registry password to use to push container images to the container\n image registry of a Lightsail account

                " } }, - "availabilityZone": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "registry": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The Availability Zone where you want to create the disk (e.g., us-east-2a).\n Use the same Availability Zone as the Lightsail instance to which you want to attach the\n disk.

                \n

                Use the get regions operation to list the Availability Zones where\n Lightsail is currently available.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The address to use to push container images to the container image registry of a\n Lightsail account.

                " } - }, - "sizeInGb": { - "target": "com.amazonaws.lightsail#integer", + } + }, + "traits": { + "smithy.api#documentation": "

                Describes the login information for the container image registry of an Amazon Lightsail\n account.

                " + } + }, + "com.amazonaws.lightsail#ContainerServiceScale": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.lightsail#ContainerServiceState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "READY", + "name": "READY" + }, + { + "value": "RUNNING", + "name": "RUNNING" + }, + { + "value": "UPDATING", + "name": "UPDATING" + }, + { + "value": "DELETING", + "name": "DELETING" + }, + { + "value": "DISABLED", + "name": "DISABLED" + } + ] + } + }, + "com.amazonaws.lightsail#ContainerServicesListResult": { + "type": "structure", + "members": { + "containerServices": { + "target": "com.amazonaws.lightsail#ContainerServiceList", "traits": { - "smithy.api#documentation": "

                The size of the disk in GB (e.g., 32).

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                An array of objects that describe one or more container services.

                " } } } }, - "com.amazonaws.lightsail#CreateDiskResult": { + "com.amazonaws.lightsail#CookieObject": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "option": { + "target": "com.amazonaws.lightsail#ForwardValues", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                Specifies which cookies to forward to the distribution's origin for a cache behavior:\n all, none, or allow-list to forward only the cookies\n specified in the cookiesAllowList parameter.

                " + } + }, + "cookiesAllowList": { + "target": "com.amazonaws.lightsail#StringList", + "traits": { + "smithy.api#documentation": "

                The specific cookies to forward to your distribution's origin.

                " } } + }, + "traits": { + "smithy.api#documentation": "

                Describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards\n cookies to the origin and, if so, which ones.

                \n

                For the cookies that you specify, your distribution caches separate versions of the\n specified content based on the cookie values in viewer\n requests.

                " } }, - "com.amazonaws.lightsail#CreateDiskSnapshot": { + "com.amazonaws.lightsail#CopySnapshot": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateDiskSnapshotRequest" + "target": "com.amazonaws.lightsail#CopySnapshotRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateDiskSnapshotResult" + "target": "com.amazonaws.lightsail#CopySnapshotResult" }, "errors": [ { @@ -2267,45 +2394,58 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates a snapshot of a block storage disk. You can use snapshots for backups, to make\n copies of disks, and to save data before shutting down a Lightsail instance.

                \n

                You can take a snapshot of an attached disk that is in use; however, snapshots only\n capture data that has been written to your disk at the time the snapshot command is issued.\n This may exclude any data that has been cached by any applications or the operating system. If\n you can pause any file systems on the disk long enough to take a snapshot, your snapshot\n should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should\n unmount the disk from within the Lightsail instance, issue the create disk snapshot command,\n and then remount the disk to ensure a consistent and complete snapshot. You may remount and\n use your disk while the snapshot status is pending.

                \n

                You can also use this operation to create a snapshot of an instance's system volume. You\n might want to do this, for example, to recover data from the system volume of a botched\n instance or to create a backup of the system volume like you would for a block storage disk.\n To create a snapshot of a system volume, just define the instance name parameter\n when issuing the snapshot command, and a snapshot of the defined instance's system volume will\n be created. After the snapshot is available, you can create a block storage disk from the\n snapshot and attach it to a running instance to access the data on the disk.

                \n \n

                The create disk snapshot operation supports tag-based access control via\n request tags. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an\n automatic snapshot of an instance or disk as a manual snapshot. This operation can also be\n used to copy a manual or automatic snapshot of an instance or a disk from one AWS Region to\n another in Amazon Lightsail.

                \n

                When copying a manual snapshot, be sure to define the source\n region, source snapshot name, and target snapshot name\n parameters.

                \n

                When copying an automatic snapshot, be sure to define the\n source region, source resource name, target snapshot\n name, and either the restore date or the use latest restorable\n auto snapshot parameters.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateDiskSnapshot", + "uri": "/ls/api/2016-11-28/CopySnapshot", "code": 200 } } }, - "com.amazonaws.lightsail#CreateDiskSnapshotRequest": { + "com.amazonaws.lightsail#CopySnapshotRequest": { "type": "structure", "members": { - "diskSnapshotName": { + "targetSnapshotName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the destination disk snapshot (e.g., my-disk-snapshot) based on\n the source disk.

                ", + "smithy.api#documentation": "

                The name of the new manual snapshot to be created as a copy.

                ", "smithy.api#required": {} } }, - "instanceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "restoreDate": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1).\n When this is defined, a snapshot of the instance's system volume is created.

                \n \n

                This parameter cannot be defined together with the disk name parameter. The\n instance name and disk name parameters are mutually\n exclusive.

                \n
                " + "smithy.api#documentation": "

                The date of the source automatic snapshot to copy. Use the get auto snapshots\n operation to identify the dates of the available automatic snapshots.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be specified in YYYY-MM-DD format.

                  \n
                • \n
                • \n

                  This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "useLatestRestorableAutoSnapshot": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + "smithy.api#documentation": "

                A Boolean value to indicate whether to use the latest available automatic snapshot of the\n specified source instance or disk.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " } }, - "diskName": { + "sourceSnapshotName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The unique name of the source disk (e.g., Disk-Virginia-1).

                \n \n

                This parameter cannot be defined together with the instance name parameter.\n The disk name and instance name parameters are mutually\n exclusive.

                \n
                " + "smithy.api#documentation": "

                The name of the source manual snapshot to copy.

                \n

                Constraint:

                \n
                  \n
                • \n

                  Define this parameter only when copying a manual snapshot as another manual\n snapshot.

                  \n
                • \n
                " + } + }, + "sourceRegion": { + "target": "com.amazonaws.lightsail#RegionName", + "traits": { + "smithy.api#documentation": "

                The AWS Region where the source manual or automatic snapshot is located.

                ", + "smithy.api#required": {} + } + }, + "sourceResourceName": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The name of the source instance or disk from which the source automatic snapshot was\n created.

                \n

                Constraint:

                \n
                  \n
                • \n

                  Define this parameter only when copying an automatic snapshot as a manual snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " } } } }, - "com.amazonaws.lightsail#CreateDiskSnapshotResult": { + "com.amazonaws.lightsail#CopySnapshotResult": { "type": "structure", "members": { "operations": { @@ -2316,13 +2456,13 @@ } } }, - "com.amazonaws.lightsail#CreateDistribution": { + "com.amazonaws.lightsail#CreateCertificate": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateDistributionRequest" + "target": "com.amazonaws.lightsail#CreateCertificateRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateDistributionResult" + "target": "com.amazonaws.lightsail#CreateCertificateResult" }, "errors": [ { @@ -2334,9 +2474,6 @@ { "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -2345,89 +2482,69 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates an Amazon Lightsail content delivery network (CDN) distribution.

                \n\n

                A distribution is a globally distributed network of caching servers that improve the\n performance of your website or web application hosted on a Lightsail instance. For more\n information, see Content delivery networks in Amazon Lightsail.

                ", + "smithy.api#documentation": "

                Creates an SSL/TLS certificate for a Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                After the certificate is created, use the AttachCertificateToDistribution\n action to attach the certificate to your distribution.

                \n \n

                Only certificates created in the us-east-1 AWS Region can be attached to\n Lightsail distributions. Lightsail distributions are global resources that can reference\n an origin in any AWS Region, and distribute its content globally. However, all\n distributions are located in the us-east-1 Region.

                \n
                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateDistribution", + "uri": "/ls/api/2016-11-28/CreateCertificate", "code": 200 } } }, - "com.amazonaws.lightsail#CreateDistributionRequest": { + "com.amazonaws.lightsail#CreateCertificateRequest": { "type": "structure", "members": { - "cacheBehaviorSettings": { - "target": "com.amazonaws.lightsail#CacheSettings", - "traits": { - "smithy.api#documentation": "

                An object that describes the cache behavior settings for the distribution.

                " - } - }, - "bundleId": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The bundle ID to use for the distribution.

                \n\n

                A distribution bundle describes the specifications of your distribution, such as the\n monthly cost and monthly network transfer quota.

                \n\n

                Use the GetDistributionBundles action to get a list of distribution bundle\n IDs that you can specify.

                ", - "smithy.api#required": {} - } - }, - "defaultCacheBehavior": { - "target": "com.amazonaws.lightsail#CacheBehavior", + "subjectAlternativeNames": { + "target": "com.amazonaws.lightsail#SubjectAlternativeNameList", "traits": { - "smithy.api#documentation": "

                An object that describes the default cache behavior for the distribution.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                An array of strings that specify the alternate domains (e.g., example2.com)\n and subdomains (e.g., blog.example.com) for the certificate.

                \n

                You can specify a maximum of nine alternate domains (in addition to the primary domain\n name).

                \n

                Wildcard domain entries (e.g., *.example.com) are not supported.

                " } }, - "distributionName": { - "target": "com.amazonaws.lightsail#ResourceName", + "domainName": { + "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                The name for the distribution.

                ", + "smithy.api#documentation": "

                The domain name (e.g., example.com) for the certificate.

                ", "smithy.api#required": {} } }, - "cacheBehaviors": { - "target": "com.amazonaws.lightsail#CacheBehaviorList", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the per-path cache behavior for the distribution.

                " + "smithy.api#documentation": "

                The tag keys and optional values to add to the certificate during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " } }, - "origin": { - "target": "com.amazonaws.lightsail#InputOrigin", + "certificateName": { + "target": "com.amazonaws.lightsail#CertificateName", "traits": { - "smithy.api#documentation": "

                An object that describes the origin resource for the distribution, such as a Lightsail\n instance or load balancer.

                \n\n

                The distribution pulls, caches, and serves content from the origin.

                ", + "smithy.api#documentation": "

                The name for the certificate.

                ", "smithy.api#required": {} } - }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", - "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the distribution during create.

                \n\n

                Use the TagResource action to tag a resource after it's created.

                " - } } } }, - "com.amazonaws.lightsail#CreateDistributionResult": { + "com.amazonaws.lightsail#CreateCertificateResult": { "type": "structure", "members": { - "distribution": { - "target": "com.amazonaws.lightsail#LightsailDistribution", + "operations": { + "target": "com.amazonaws.lightsail#OperationList", "traits": { - "smithy.api#documentation": "

                An object that describes the distribution created.

                " + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } }, - "operation": { - "target": "com.amazonaws.lightsail#Operation", + "certificate": { + "target": "com.amazonaws.lightsail#CertificateSummary", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An object that describes the certificate created.

                " } } } }, - "com.amazonaws.lightsail#CreateDomain": { + "com.amazonaws.lightsail#CreateCloudFormationStack": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateDomainRequest" + "target": "com.amazonaws.lightsail#CreateCloudFormationStackRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateDomainResult" + "target": "com.amazonaws.lightsail#CreateCloudFormationStackResult" }, "errors": [ { @@ -2453,29 +2570,49 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates a domain resource for the specified domain (e.g., example.com).

                \n

                The create domain operation supports tag-based access control via request\n tags. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported\n Amazon Lightsail snapshot. This operation results in a CloudFormation stack record that can be\n used to track the AWS CloudFormation stack created. Use the get cloud formation stack\n records operation to get a list of the CloudFormation stacks created.

                \n \n

                Wait until after your new Amazon EC2 instance is created before running the create\n cloud formation stack operation again with the same export snapshot record.

                \n
                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateDomain", + "uri": "/ls/api/2016-11-28/CreateCloudFormationStack", "code": 200 } } }, - "com.amazonaws.lightsail#CreateDomainEntry": { + "com.amazonaws.lightsail#CreateCloudFormationStackRequest": { + "type": "structure", + "members": { + "instances": { + "target": "com.amazonaws.lightsail#InstanceEntryList", + "traits": { + "smithy.api#documentation": "

                An array of parameters that will be used to create the new Amazon EC2 instance. You can only\n pass one instance entry at a time in this array. You will get an invalid parameter error if\n you pass more than one instance entry in this array.

                ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#CreateCloudFormationStackResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#CreateContactMethod": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateDomainEntryRequest" + "target": "com.amazonaws.lightsail#CreateContactMethodRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateDomainEntryResult" + "target": "com.amazonaws.lightsail#CreateContactMethodResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -2493,97 +2630,166 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates one of the following entry records associated with the domain: Address (A),\n canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA),\n service locator (SRV), or text (TXT).

                \n

                The create domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates an email or SMS text message contact method.

                \n

                A contact method is used to send you notifications about your Amazon Lightsail resources.\n You can add one email address and one mobile phone number contact method in each AWS Region.\n However, SMS text messaging is not supported in some AWS Regions, and SMS text messages\n cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateDomainEntry", + "uri": "/ls/api/2016-11-28/CreateContactMethod", "code": 200 } } }, - "com.amazonaws.lightsail#CreateDomainEntryRequest": { + "com.amazonaws.lightsail#CreateContactMethodRequest": { "type": "structure", "members": { - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", + "contactEndpoint": { + "target": "com.amazonaws.lightsail#StringMax256", "traits": { - "smithy.api#documentation": "

                The domain name (e.g., example.com) for which you want to create the domain\n entry.

                ", + "smithy.api#documentation": "

                The destination of the contact method, such as an email address or a mobile phone\n number.

                \n

                Use the E.164 format when specifying a mobile phone number. E.164 is a standard for the\n phone number structure used for international telecommunication. Phone numbers that follow\n this format can have a maximum of 15 digits, and they are prefixed with the plus character (+)\n and the country code. For example, a U.S. phone number in E.164 format would be specified as\n +1XXX5550100. For more information, see E.164 on Wikipedia.

                ", "smithy.api#required": {} } }, - "domainEntry": { - "target": "com.amazonaws.lightsail#DomainEntry", + "protocol": { + "target": "com.amazonaws.lightsail#ContactProtocol", "traits": { - "smithy.api#documentation": "

                An array of key-value pairs containing information about the domain entry request.

                ", + "smithy.api#documentation": "

                The protocol of the contact method, such as Email or SMS (text\n messaging).

                \n

                The SMS protocol is supported only in the following AWS Regions.

                \n
                  \n
                • \n

                  US East (N. Virginia) (us-east-1)

                  \n
                • \n
                • \n

                  US West (Oregon) (us-west-2)

                  \n
                • \n
                • \n

                  Europe (Ireland) (eu-west-1)

                  \n
                • \n
                • \n

                  Asia Pacific (Tokyo) (ap-northeast-1)

                  \n
                • \n
                • \n

                  Asia Pacific (Singapore) (ap-southeast-1)

                  \n
                • \n
                • \n

                  Asia Pacific (Sydney) (ap-southeast-2)

                  \n
                • \n
                \n

                For a list of countries/regions where SMS text messages can be sent, and the latest AWS\n Regions where SMS text messaging is supported, see Supported Regions and Countries in the Amazon SNS Developer\n Guide.

                \n

                For more information about notifications in Amazon Lightsail, see Notifications in Amazon Lightsail.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#CreateDomainEntryResult": { + "com.amazonaws.lightsail#CreateContactMethodResult": { "type": "structure", "members": { - "operation": { - "target": "com.amazonaws.lightsail#Operation", + "operations": { + "target": "com.amazonaws.lightsail#OperationList", "traits": { "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } } } }, - "com.amazonaws.lightsail#CreateDomainRequest": { + "com.amazonaws.lightsail#CreateContainerService": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#CreateContainerServiceRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#CreateContainerServiceResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Creates an Amazon Lightsail container service.

                \n\n

                A Lightsail container service is a compute resource to which you can deploy containers.\n For more information, see Container services in Amazon Lightsail in the Lightsail Dev\n Guide.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/container-services", + "code": 201 + } + } + }, + "com.amazonaws.lightsail#CreateContainerServiceDeployment": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#CreateContainerServiceDeploymentRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#CreateContainerServiceDeploymentResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Creates a deployment for your Amazon Lightsail container service.

                \n\n

                A deployment specifies the containers that will be launched on the container service and\n their settings, such as the ports to open, the environment variables to apply, and the launch\n command to run. It also specifies the container that will serve as the public endpoint of the\n deployment and its settings, such as the HTTP or HTTPS port to use, and the health check\n configuration.

                \n\n

                You can deploy containers to your container service using container images from a public\n registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the\n Lightsail Dev Guide.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/container-services/{serviceName}/deployments", + "code": 201 + } + } + }, + "com.amazonaws.lightsail#CreateContainerServiceDeploymentRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "publicEndpoint": { + "target": "com.amazonaws.lightsail#EndpointRequest", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + "smithy.api#documentation": "

                An object that describes the settings of the public endpoint for the container\n service.

                " } }, - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", "traits": { - "smithy.api#documentation": "

                The domain name to manage (e.g., example.com).

                \n \n

                You cannot register a new domain name using Lightsail. You must register a domain name\n using Amazon Route 53 or another domain name registrar. If you have already registered your\n domain, you can enter its name in this parameter to manage the DNS records for that\n domain.

                \n
                ", + "smithy.api#documentation": "

                The name of the container service for which to create the deployment.

                ", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "containers": { + "target": "com.amazonaws.lightsail#ContainerMap", + "traits": { + "smithy.api#documentation": "

                An object that describes the settings of the containers that will be launched on the\n container service.

                " + } } } }, - "com.amazonaws.lightsail#CreateDomainResult": { + "com.amazonaws.lightsail#CreateContainerServiceDeploymentResult": { "type": "structure", "members": { - "operation": { - "target": "com.amazonaws.lightsail#Operation", + "containerService": { + "target": "com.amazonaws.lightsail#ContainerService", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An object that describes a container service.

                " } } } }, - "com.amazonaws.lightsail#CreateInstanceSnapshot": { + "com.amazonaws.lightsail#CreateContainerServiceRegistryLogin": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateInstanceSnapshotRequest" + "target": "com.amazonaws.lightsail#CreateContainerServiceRegistryLoginRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateInstanceSnapshotResult" + "target": "com.amazonaws.lightsail#CreateContainerServiceRegistryLoginResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, { "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -2592,57 +2798,91 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates a snapshot of a specific virtual private server, or instance.\n You can use a snapshot to create a new instance that is based on that snapshot.

                \n

                The create instance snapshot operation supports tag-based access control via\n request tags. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates a temporary set of log in credentials that you can use to log in to the Docker\n process on your local machine. After you're logged in, you can use the native Docker commands\n to push your local container images to the container image registry of your Amazon Lightsail\n account so that you can use them with your Lightsail container service. The log in\n credentials expire 12 hours after they are created, at which point you will need to create a\n new set of log in credentials.

                \n\n \n

                You can only push container images to the container service registry of your Lightsail\n account. You cannot pull container images perform any other container image management\n actions on the container service registry of your Lightsail account.

                \n
                \n\n

                After you push your container images to the container image registry of your Lightsail\n account, use the RegisterContainerImage action to register the pushed images to a\n specific Lightsail container service.

                \n\n \n

                This action is not required if you install and use the Lightsail Control\n (lightsailctl) plugin to push container images to your Lightsail container service. For\n more information, see Pushing and\n managing container images on your Amazon Lightsail container services in the\n Lightsail Dev Guide.

                \n
                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateInstanceSnapshot", + "uri": "/ls/api/2016-11-28/container-registry-login", "code": 200 } } }, - "com.amazonaws.lightsail#CreateInstanceSnapshotRequest": { + "com.amazonaws.lightsail#CreateContainerServiceRegistryLoginRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.lightsail#CreateContainerServiceRegistryLoginResult": { "type": "structure", "members": { - "instanceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "registryLogin": { + "target": "com.amazonaws.lightsail#ContainerServiceRegistryLogin", "traits": { - "smithy.api#documentation": "

                The Lightsail instance on which to base your snapshot.

                ", + "smithy.api#documentation": "

                An object that describes the log in information for the container service registry of your\n Lightsail account.

                " + } + } + } + }, + "com.amazonaws.lightsail#CreateContainerServiceRequest": { + "type": "structure", + "members": { + "power": { + "target": "com.amazonaws.lightsail#ContainerServicePowerName", + "traits": { + "smithy.api#documentation": "

                The power specification for the container service.

                \n\n

                The power specifies the amount of memory, vCPUs, and base monthly cost of each node of the\n container service. The power and scale of a container service makes\n up its configured capacity. To determine the monthly price of your container service, multiply\n the base price of the power with the scale (the number of nodes) of\n the service.

                \n\n

                Use the GetContainerServicePowers action to get a list of power options that\n you can specify using this parameter, and their base monthly cost.

                ", "smithy.api#required": {} } }, - "instanceSnapshotName": { - "target": "com.amazonaws.lightsail#ResourceName", + "scale": { + "target": "com.amazonaws.lightsail#ContainerServiceScale", "traits": { - "smithy.api#documentation": "

                The name for your new snapshot.

                ", + "smithy.api#documentation": "

                The scale specification for the container service.

                \n\n

                The scale specifies the allocated compute nodes of the container service. The\n power and scale of a container service makes up its configured\n capacity. To determine the monthly price of your container service, multiply the base price of\n the power with the scale (the number of nodes) of the\n service.

                ", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + "smithy.api#documentation": "

                The tag keys and optional values for the container service.

                \n\n

                For more information about tags in Lightsail, see the Lightsail\n Dev Guide.

                " + } + }, + "publicDomainNames": { + "target": "com.amazonaws.lightsail#ContainerServicePublicDomains", + "traits": { + "smithy.api#documentation": "

                The public domain names to use with the container service, such as\n example.com and www.example.com.

                \n\n

                You can specify up to four public domain names for a container service. The domain names\n that you specify are used when you create a deployment with a container configured as the\n public endpoint of your container service.

                \n\n

                If you don't specify public domain names, then you can use the default domain of the\n container service.

                \n\n \n

                You must create and validate an SSL/TLS certificate before you can use public domain\n names with your container service. Use the CreateCertificate action to create a\n certificate for the public domain names you want to use with your container service.

                \n
                \n\n

                You can specify public domain names using a string to array map as shown in the example\n later on this page.

                " + } + }, + "deployment": { + "target": "com.amazonaws.lightsail#ContainerServiceDeploymentRequest", + "traits": { + "smithy.api#documentation": "

                An object that describes a deployment for the container service.

                \n\n

                A deployment specifies the containers that will be launched on the container service and\n their settings, such as the ports to open, the environment variables to apply, and the launch\n command to run. It also specifies the container that will serve as the public endpoint of the\n deployment and its settings, such as the HTTP or HTTPS port to use, and the health check\n configuration.

                " + } + }, + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", + "traits": { + "smithy.api#documentation": "

                The name for the container service.

                \n\n

                The name that you specify for your container service will make up part of its default\n domain. The default domain of a container service is typically\n https://...cs.amazonlightsail.com.\n If the name of your container service is container-service-1, and it's located in\n the US East (Ohio) AWS region (us-east-2), then the domain for your container\n service will be like the following example:\n https://container-service-1.ur4EXAMPLE2uq.us-east-2.cs.amazonlightsail.com\n

                \n\n

                The following are the requirements for container service names:

                \n\n
                  \n
                • \n

                  Must be unique within each AWS Region in your Lightsail account.

                  \n
                • \n
                • \n

                  Must contain 1 to 63 characters.

                  \n
                • \n
                • \n

                  Must contain only alphanumeric characters and hyphens.

                  \n
                • \n
                • \n

                  A hyphen (-) can separate words but cannot be at the start or end of the name.

                  \n
                • \n
                ", + "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#CreateInstanceSnapshotResult": { + "com.amazonaws.lightsail#CreateContainerServiceResult": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "containerService": { + "target": "com.amazonaws.lightsail#ContainerService", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An object that describes a container service.

                " } } } }, - "com.amazonaws.lightsail#CreateInstances": { + "com.amazonaws.lightsail#CreateDisk": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateInstancesRequest" + "target": "com.amazonaws.lightsail#CreateDiskRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateInstancesResult" + "target": "com.amazonaws.lightsail#CreateDiskResult" }, "errors": [ { @@ -2668,21 +2908,21 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates one or more Amazon Lightsail instances.

                \n

                The create instances operation supports tag-based access control via request\n tags. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates a block storage disk that can be attached to an Amazon Lightsail instance in the\n same Availability Zone (e.g., us-east-2a).

                \n

                The create disk operation supports tag-based access control via request tags.\n For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateInstances", + "uri": "/ls/api/2016-11-28/CreateDisk", "code": 200 } } }, - "com.amazonaws.lightsail#CreateInstancesFromSnapshot": { + "com.amazonaws.lightsail#CreateDiskFromSnapshot": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateInstancesFromSnapshotRequest" + "target": "com.amazonaws.lightsail#CreateDiskFromSnapshotRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateInstancesFromSnapshotResult" + "target": "com.amazonaws.lightsail#CreateDiskFromSnapshotResult" }, "errors": [ { @@ -2708,28 +2948,21 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates one or more new instances from a manual or automatic snapshot of an\n instance.

                \n

                The create instances from snapshot operation supports tag-based access\n control via request tags and resource tags applied to the resource identified by\n instance snapshot name. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting\n disk can be attached to an Amazon Lightsail instance in the same Availability Zone (e.g.,\n us-east-2a).

                \n

                The create disk from snapshot operation supports tag-based access control via\n request tags and resource tags applied to the resource identified by disk snapshot\n name. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateInstancesFromSnapshot", + "uri": "/ls/api/2016-11-28/CreateDiskFromSnapshot", "code": 200 } } }, - "com.amazonaws.lightsail#CreateInstancesFromSnapshotRequest": { + "com.amazonaws.lightsail#CreateDiskFromSnapshotRequest": { "type": "structure", "members": { "useLatestRestorableAutoSnapshot": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                A Boolean value to indicate whether to use the latest available automatic snapshot.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " - } - }, - "instanceNames": { - "target": "com.amazonaws.lightsail#StringList", - "traits": { - "smithy.api#documentation": "

                The names for your new instances.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                A Boolean value to indicate whether to use the latest available automatic snapshot.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " } }, "tags": { @@ -2738,65 +2971,54 @@ "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " } }, - "sourceInstanceName": { - "target": "com.amazonaws.lightsail#string", + "diskName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the source instance from which the source automatic snapshot was\n created.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the instance snapshot name\n parameter. The source instance name and instance snapshot name\n parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The unique Lightsail disk name (e.g., my-disk).

                ", + "smithy.api#required": {} } }, - "userData": { + "sourceDiskName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                You can create a launch script that configures a server with additional user data. For\n example, apt-get -y update.

                \n \n

                Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg. For a complete list, see the\n Dev Guide.

                \n
                " + "smithy.api#documentation": "

                The name of the source disk from which the source automatic snapshot was created.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the disk snapshot name\n parameter. The source disk name and disk snapshot name\n parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " } }, - "attachedDiskMapping": { - "target": "com.amazonaws.lightsail#AttachedDiskMap", + "sizeInGb": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                An object containing information about one or more disk mappings.

                " + "smithy.api#documentation": "

                The size of the disk in GB (e.g., 32).

                ", + "smithy.api#required": {} } }, "restoreDate": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The date of the automatic snapshot to use for the new instance. Use the get auto\n snapshots operation to identify the dates of the available automatic\n snapshots.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be specified in YYYY-MM-DD format.

                  \n
                • \n
                • \n

                  This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " - } - }, - "availabilityZone": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The Availability Zone where you want to create your instances. Use the following\n formatting: us-east-2a (case sensitive). You can get a list of Availability Zones\n by using the get\n regions operation. Be sure to add the include Availability Zones\n parameter to your request.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The date of the automatic snapshot to use for the new disk. Use the get auto\n snapshots operation to identify the dates of the available automatic\n snapshots.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be specified in YYYY-MM-DD format.

                  \n
                • \n
                • \n

                  This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new disk from an automatic snapshot. For\n more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " } }, - "keyPairName": { - "target": "com.amazonaws.lightsail#ResourceName", + "addOns": { + "target": "com.amazonaws.lightsail#AddOnRequestList", "traits": { - "smithy.api#documentation": "

                The name for your key pair.

                " + "smithy.api#documentation": "

                An array of objects that represent the add-ons to enable for the new disk.

                " } }, - "bundleId": { + "availabilityZone": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The bundle of specification information for your virtual private server (or\n instance), including the pricing plan (e.g.,\n micro_1_0).

                ", + "smithy.api#documentation": "

                The Availability Zone where you want to create the disk (e.g., us-east-2a).\n Choose the same Availability Zone as the Lightsail instance where you want to create the\n disk.

                \n

                Use the GetRegions operation to list the Availability Zones where Lightsail is currently\n available.

                ", "smithy.api#required": {} } }, - "addOns": { - "target": "com.amazonaws.lightsail#AddOnRequestList", - "traits": { - "smithy.api#documentation": "

                An array of objects representing the add-ons to enable for the new instance.

                " - } - }, - "instanceSnapshotName": { + "diskSnapshotName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the instance snapshot on which you are basing your new instances. Use the get\n instance snapshots operation to return information about your existing snapshots.

                \n

                Constraint:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the source instance name\n parameter. The instance snapshot name and source instance name\n parameters are mutually exclusive.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The name of the disk snapshot (e.g., my-snapshot) from which to create the\n new storage disk.

                \n

                Constraint:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the source disk name\n parameter. The disk snapshot name and source disk name\n parameters are mutually exclusive.

                  \n
                • \n
                " } } } }, - "com.amazonaws.lightsail#CreateInstancesFromSnapshotResult": { + "com.amazonaws.lightsail#CreateDiskFromSnapshotResult": { "type": "structure", "members": { "operations": { @@ -2807,71 +3029,45 @@ } } }, - "com.amazonaws.lightsail#CreateInstancesRequest": { + "com.amazonaws.lightsail#CreateDiskRequest": { "type": "structure", "members": { - "instanceNames": { - "target": "com.amazonaws.lightsail#StringList", - "traits": { - "smithy.api#documentation": "

                The names to use for your new Lightsail instances. Separate multiple values using\n quotation marks and commas, for example:\n [\"MyFirstInstance\",\"MySecondInstance\"]\n

                ", - "smithy.api#required": {} - } - }, - "bundleId": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "sizeInGb": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The bundle of specification information for your virtual private server (or\n instance), including the pricing plan (e.g.,\n micro_1_0).

                ", + "smithy.api#documentation": "

                The size of the disk in GB (e.g., 32).

                ", "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", - "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " - } - }, - "keyPairName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of your key pair.

                " - } - }, "availabilityZone": { - "target": "com.amazonaws.lightsail#string", + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Availability Zone in which to create your instance. Use the following format:\n us-east-2a (case sensitive). You can get a list of Availability Zones by using\n the get\n regions operation. Be sure to add the include Availability Zones\n parameter to your request.

                ", + "smithy.api#documentation": "

                The Availability Zone where you want to create the disk (e.g., us-east-2a).\n Use the same Availability Zone as the Lightsail instance to which you want to attach the\n disk.

                \n

                Use the get regions operation to list the Availability Zones where\n Lightsail is currently available.

                ", "smithy.api#required": {} } }, - "customImageName": { + "diskName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#deprecated": {}, - "smithy.api#documentation": "

                (Deprecated) The name for your custom image.

                \n \n

                In releases prior to June 12, 2017, this parameter was ignored by the API. It is now\n deprecated.

                \n
                " - } - }, - "blueprintId": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The ID for a virtual private server image (e.g., app_wordpress_4_4 or\n app_lamp_7_0). Use the get blueprints operation to return a list\n of available images (or blueprints).

                \n \n

                Use active blueprints when creating new instances. Inactive blueprints are listed to\n support customers with existing instances and are not necessarily available to create new\n instances. Blueprints are marked inactive when they become outdated due to operating system\n updates or new application releases.

                \n
                ", + "smithy.api#documentation": "

                The unique Lightsail disk name (e.g., my-disk).

                ", "smithy.api#required": {} } }, - "userData": { - "target": "com.amazonaws.lightsail#string", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                A launch script you can create that configures a server with additional user data. For\n example, you might want to run apt-get -y update.

                \n \n

                Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg. For a complete list, see the\n Dev Guide.

                \n
                " + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " } }, "addOns": { "target": "com.amazonaws.lightsail#AddOnRequestList", "traits": { - "smithy.api#documentation": "

                An array of objects representing the add-ons to enable for the new instance.

                " + "smithy.api#documentation": "

                An array of objects that represent the add-ons to enable for the new disk.

                " } } } }, - "com.amazonaws.lightsail#CreateInstancesResult": { + "com.amazonaws.lightsail#CreateDiskResult": { "type": "structure", "members": { "operations": { @@ -2882,13 +3078,13 @@ } } }, - "com.amazonaws.lightsail#CreateKeyPair": { + "com.amazonaws.lightsail#CreateDiskSnapshot": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateKeyPairRequest" + "target": "com.amazonaws.lightsail#CreateDiskSnapshotRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateKeyPairResult" + "target": "com.amazonaws.lightsail#CreateDiskSnapshotResult" }, "errors": [ { @@ -2914,76 +3110,67 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates an SSH key pair.

                \n

                The create key pair operation supports tag-based access control via request\n tags. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates a snapshot of a block storage disk. You can use snapshots for backups, to make\n copies of disks, and to save data before shutting down a Lightsail instance.

                \n

                You can take a snapshot of an attached disk that is in use; however, snapshots only\n capture data that has been written to your disk at the time the snapshot command is issued.\n This may exclude any data that has been cached by any applications or the operating system. If\n you can pause any file systems on the disk long enough to take a snapshot, your snapshot\n should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should\n unmount the disk from within the Lightsail instance, issue the create disk snapshot command,\n and then remount the disk to ensure a consistent and complete snapshot. You may remount and\n use your disk while the snapshot status is pending.

                \n

                You can also use this operation to create a snapshot of an instance's system volume. You\n might want to do this, for example, to recover data from the system volume of a botched\n instance or to create a backup of the system volume like you would for a block storage disk.\n To create a snapshot of a system volume, just define the instance name parameter\n when issuing the snapshot command, and a snapshot of the defined instance's system volume will\n be created. After the snapshot is available, you can create a block storage disk from the\n snapshot and attach it to a running instance to access the data on the disk.

                \n \n

                The create disk snapshot operation supports tag-based access control via\n request tags. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateKeyPair", + "uri": "/ls/api/2016-11-28/CreateDiskSnapshot", "code": 200 } } }, - "com.amazonaws.lightsail#CreateKeyPairRequest": { + "com.amazonaws.lightsail#CreateDiskSnapshotRequest": { "type": "structure", "members": { - "keyPairName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name for your new key pair.

                ", - "smithy.api#required": {} - } - }, "tags": { "target": "com.amazonaws.lightsail#TagList", "traits": { "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " } - } - } - }, - "com.amazonaws.lightsail#CreateKeyPairResult": { - "type": "structure", - "members": { - "keyPair": { - "target": "com.amazonaws.lightsail#KeyPair", + }, + "diskName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                An array of key-value pairs containing information about the new key pair you just\n created.

                " + "smithy.api#documentation": "

                The unique name of the source disk (e.g., Disk-Virginia-1).

                \n \n

                This parameter cannot be defined together with the instance name parameter.\n The disk name and instance name parameters are mutually\n exclusive.

                \n
                " } }, - "publicKeyBase64": { - "target": "com.amazonaws.lightsail#Base64", + "diskSnapshotName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                A base64-encoded public key of the ssh-rsa type.

                " + "smithy.api#documentation": "

                The name of the destination disk snapshot (e.g., my-disk-snapshot) based on\n the source disk.

                ", + "smithy.api#required": {} } }, - "operation": { - "target": "com.amazonaws.lightsail#Operation", + "instanceName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1).\n When this is defined, a snapshot of the instance's system volume is created.

                \n \n

                This parameter cannot be defined together with the disk name parameter. The\n instance name and disk name parameters are mutually\n exclusive.

                \n
                " } - }, - "privateKeyBase64": { - "target": "com.amazonaws.lightsail#Base64", + } + } + }, + "com.amazonaws.lightsail#CreateDiskSnapshotResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", "traits": { - "smithy.api#documentation": "

                A base64-encoded RSA private key.

                " + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } } } }, - "com.amazonaws.lightsail#CreateLoadBalancer": { + "com.amazonaws.lightsail#CreateDistribution": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateLoadBalancerRequest" + "target": "com.amazonaws.lightsail#CreateDistributionRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateLoadBalancerResult" + "target": "com.amazonaws.lightsail#CreateDistributionResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -3001,81 +3188,89 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates a Lightsail load balancer. To learn more about deciding whether to load balance\n your application, see Configure your Lightsail instances for load balancing. You can create up to 5\n load balancers per AWS Region in your account.

                \n

                When you create a load balancer, you can specify a unique name and port settings. To\n change additional load balancer settings, use the UpdateLoadBalancerAttribute\n operation.

                \n

                The create load balancer operation supports tag-based access control via\n request tags. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates an Amazon Lightsail content delivery network (CDN) distribution.

                \n

                A distribution is a globally distributed network of caching servers that improve the\n performance of your website or web application hosted on a Lightsail instance. For more\n information, see Content delivery networks in Amazon Lightsail.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateLoadBalancer", + "uri": "/ls/api/2016-11-28/CreateDistribution", "code": 200 } } }, - "com.amazonaws.lightsail#CreateLoadBalancerRequest": { + "com.amazonaws.lightsail#CreateDistributionRequest": { "type": "structure", "members": { - "healthCheckPath": { - "target": "com.amazonaws.lightsail#string", + "cacheBehaviors": { + "target": "com.amazonaws.lightsail#CacheBehaviorList", "traits": { - "smithy.api#documentation": "

                The path you provided to perform the load balancer health check. If you didn't specify a\n health check path, Lightsail uses the root path of your website (e.g.,\n \"/\").

                \n

                You may want to specify a custom health check path other than the root of your application\n if your home page loads slowly or has a lot of media or scripting on it.

                " + "smithy.api#documentation": "

                An array of objects that describe the per-path cache behavior for the distribution.

                " } }, - "loadBalancerName": { + "distributionName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of your load balancer.

                ", + "smithy.api#documentation": "

                The name for the distribution.

                ", "smithy.api#required": {} } }, - "certificateDomainName": { - "target": "com.amazonaws.lightsail#DomainName", + "cacheBehaviorSettings": { + "target": "com.amazonaws.lightsail#CacheSettings", "traits": { - "smithy.api#documentation": "

                The domain name with which your certificate is associated (e.g.,\n example.com).

                \n

                If you specify certificateDomainName, then certificateName is\n required (and vice-versa).

                " + "smithy.api#documentation": "

                An object that describes the cache behavior settings for the distribution.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "origin": { + "target": "com.amazonaws.lightsail#InputOrigin", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + "smithy.api#documentation": "

                An object that describes the origin resource for the distribution, such as a Lightsail\n instance or load balancer.

                \n

                The distribution pulls, caches, and serves content from the origin.

                ", + "smithy.api#required": {} } }, - "certificateAlternativeNames": { - "target": "com.amazonaws.lightsail#DomainNameList", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The optional alternative domains and subdomains to use with your SSL/TLS certificate\n (e.g., www.example.com, example.com, m.example.com,\n blog.example.com).

                " + "smithy.api#documentation": "

                The tag keys and optional values to add to the distribution during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " } }, - "instancePort": { - "target": "com.amazonaws.lightsail#Port", + "defaultCacheBehavior": { + "target": "com.amazonaws.lightsail#CacheBehavior", "traits": { - "smithy.api#documentation": "

                The instance port where you're creating your load balancer.

                ", + "smithy.api#documentation": "

                An object that describes the default cache behavior for the distribution.

                ", "smithy.api#required": {} } }, - "certificateName": { - "target": "com.amazonaws.lightsail#ResourceName", + "bundleId": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the SSL/TLS certificate.

                \n

                If you specify certificateName, then certificateDomainName is\n required (and vice-versa).

                " + "smithy.api#documentation": "

                The bundle ID to use for the distribution.

                \n

                A distribution bundle describes the specifications of your distribution, such as the\n monthly cost and monthly network transfer quota.

                \n

                Use the GetDistributionBundles action to get a list of distribution bundle\n IDs that you can specify.

                ", + "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#CreateLoadBalancerResult": { + "com.amazonaws.lightsail#CreateDistributionResult": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "distribution": { + "target": "com.amazonaws.lightsail#LightsailDistribution", + "traits": { + "smithy.api#documentation": "

                An object that describes the distribution created.

                " + } + }, + "operation": { + "target": "com.amazonaws.lightsail#Operation", "traits": { "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } } } }, - "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificate": { + "com.amazonaws.lightsail#CreateDomain": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificateRequest" + "target": "com.amazonaws.lightsail#CreateDomainRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificateResult" + "target": "com.amazonaws.lightsail#CreateDomainResult" }, "errors": [ { @@ -3101,41 +3296,160 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates a Lightsail load balancer TLS certificate.

                \n

                TLS is just an updated, more secure version of Secure Socket Layer (SSL).

                \n

                The CreateLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates a domain resource for the specified domain (e.g., example.com).

                \n

                The create domain operation supports tag-based access control via request\n tags. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateLoadBalancerTlsCertificate", + "uri": "/ls/api/2016-11-28/CreateDomain", "code": 200 } } }, - "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificateRequest": { - "type": "structure", + "com.amazonaws.lightsail#CreateDomainEntry": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#CreateDomainEntryRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#CreateDomainEntryResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Creates one of the following domain name system (DNS) records in a domain DNS zone:\n Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority\n (SOA), service locator (SRV), or text (TXT).

                \n\n\n\n

                The create domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Lightsail Dev Guide.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/CreateDomainEntry", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#CreateDomainEntryRequest": { + "type": "structure", "members": { - "loadBalancerName": { - "target": "com.amazonaws.lightsail#ResourceName", + "domainEntry": { + "target": "com.amazonaws.lightsail#DomainEntry", "traits": { - "smithy.api#documentation": "

                The load balancer name where you want to create the SSL/TLS certificate.

                ", + "smithy.api#documentation": "

                An array of key-value pairs containing information about the domain entry request.

                ", "smithy.api#required": {} } }, - "certificateDomainName": { + "domainName": { "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                The domain name (e.g., example.com) for your SSL/TLS certificate.

                ", + "smithy.api#documentation": "

                The domain name (e.g., example.com) for which you want to create the domain\n entry.

                ", "smithy.api#required": {} } + } + } + }, + "com.amazonaws.lightsail#CreateDomainEntryResult": { + "type": "structure", + "members": { + "operation": { + "target": "com.amazonaws.lightsail#Operation", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#CreateDomainRequest": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.lightsail#TagList", + "traits": { + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + } }, - "certificateAlternativeNames": { - "target": "com.amazonaws.lightsail#DomainNameList", + "domainName": { + "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                An array of strings listing alternative domains and subdomains for your SSL/TLS\n certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9\n alternative names (in addition to the 1 primary domain). We do not support wildcards (e.g.,\n *.example.com).

                " + "smithy.api#documentation": "

                The domain name to manage (e.g., example.com).

                \n \n

                You cannot register a new domain name using Lightsail. You must register a domain name\n using Amazon Route 53 or another domain name registrar. If you have already registered your\n domain, you can enter its name in this parameter to manage the DNS records for that\n domain.

                \n
                ", + "smithy.api#required": {} } + } + } + }, + "com.amazonaws.lightsail#CreateDomainResult": { + "type": "structure", + "members": { + "operation": { + "target": "com.amazonaws.lightsail#Operation", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#CreateInstanceSnapshot": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#CreateInstanceSnapshotRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#CreateInstanceSnapshotResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" }, - "certificateName": { + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Creates a snapshot of a specific virtual private server, or instance.\n You can use a snapshot to create a new instance that is based on that snapshot.

                \n

                The create instance snapshot operation supports tag-based access control via\n request tags. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/CreateInstanceSnapshot", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#CreateInstanceSnapshotRequest": { + "type": "structure", + "members": { + "instanceName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The SSL/TLS certificate name.

                \n

                You can have up to 10 certificates in your account at one time. Each Lightsail load\n balancer can have up to 2 certificates associated with it at one time. There is also an\n overall limit to the number of certificates that can be issue in a 365-day period. For more\n information, see Limits.

                ", + "smithy.api#documentation": "

                The Lightsail instance on which to base your snapshot.

                ", "smithy.api#required": {} } }, @@ -3144,10 +3458,17 @@ "traits": { "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " } + }, + "instanceSnapshotName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name for your new snapshot.

                ", + "smithy.api#required": {} + } } } }, - "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificateResult": { + "com.amazonaws.lightsail#CreateInstanceSnapshotResult": { "type": "structure", "members": { "operations": { @@ -3158,13 +3479,13 @@ } } }, - "com.amazonaws.lightsail#CreateRelationalDatabase": { + "com.amazonaws.lightsail#CreateInstances": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateRelationalDatabaseRequest" + "target": "com.amazonaws.lightsail#CreateInstancesRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateRelationalDatabaseResult" + "target": "com.amazonaws.lightsail#CreateInstancesResult" }, "errors": [ { @@ -3190,21 +3511,21 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates a new database in Amazon Lightsail.

                \n

                The create relational database operation supports tag-based access control\n via request tags. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates one or more Amazon Lightsail instances.

                \n

                The create instances operation supports tag-based access control via request\n tags. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateRelationalDatabase", + "uri": "/ls/api/2016-11-28/CreateInstances", "code": 200 } } }, - "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshot": { + "com.amazonaws.lightsail#CreateInstancesFromSnapshot": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshotRequest" + "target": "com.amazonaws.lightsail#CreateInstancesFromSnapshotRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshotResult" + "target": "com.amazonaws.lightsail#CreateInstancesFromSnapshotResult" }, "errors": [ { @@ -3230,75 +3551,95 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates a new database from an existing database snapshot in Amazon Lightsail.

                \n

                You can create a new database from a snapshot in if something goes wrong with your\n original database, or to change it to a different plan, such as a high availability or\n standard plan.

                \n

                The create relational database from snapshot operation supports tag-based\n access control via request tags and resource tags applied to the resource identified by\n relationalDatabaseSnapshotName. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates one or more new instances from a manual or automatic snapshot of an\n instance.

                \n

                The create instances from snapshot operation supports tag-based access\n control via request tags and resource tags applied to the resource identified by\n instance snapshot name. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateRelationalDatabaseFromSnapshot", + "uri": "/ls/api/2016-11-28/CreateInstancesFromSnapshot", "code": 200 } } }, - "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshotRequest": { + "com.amazonaws.lightsail#CreateInstancesFromSnapshotRequest": { "type": "structure", "members": { - "restoreTime": { - "target": "com.amazonaws.lightsail#IsoDate", + "availabilityZone": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The date and time to restore your database from.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be before the latest restorable time for the database.

                  \n
                • \n
                • \n

                  Cannot be specified if the use latest restorable time parameter is\n true.

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n

                  For example, if you wish to use a restore time of October 1, 2018, at 8 PM UTC, then\n you input 1538424000 as the restore time.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The Availability Zone where you want to create your instances. Use the following\n formatting: us-east-2a (case sensitive). You can get a list of Availability Zones\n by using the get\n regions operation. Be sure to add the include Availability Zones\n parameter to your request.

                ", + "smithy.api#required": {} } }, - "relationalDatabaseBundleId": { + "addOns": { + "target": "com.amazonaws.lightsail#AddOnRequestList", + "traits": { + "smithy.api#documentation": "

                An array of objects representing the add-ons to enable for the new instance.

                " + } + }, + "userData": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The bundle ID for your new database. A bundle describes the performance specifications for\n your database.

                \n

                You can get a list of database bundle IDs by using the get relational database\n bundles operation.

                \n

                When creating a new database from a snapshot, you cannot choose a bundle that is smaller\n than the bundle of the source database.

                " + "smithy.api#documentation": "

                You can create a launch script that configures a server with additional user data. For\n example, apt-get -y update.

                \n \n

                Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg. For a complete list, see the\n Dev Guide.

                \n
                " } }, - "sourceRelationalDatabaseName": { + "restoreDate": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The date of the automatic snapshot to use for the new instance. Use the get auto\n snapshots operation to identify the dates of the available automatic\n snapshots.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be specified in YYYY-MM-DD format.

                  \n
                • \n
                • \n

                  This parameter cannot be defined together with the use latest restorable auto\n snapshot parameter. The restore date and use latest restorable\n auto snapshot parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " + } + }, + "keyPairName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the source database.

                " + "smithy.api#documentation": "

                The name for your key pair.

                " } }, - "publiclyAccessible": { - "target": "com.amazonaws.lightsail#boolean", + "attachedDiskMapping": { + "target": "com.amazonaws.lightsail#AttachedDiskMap", "traits": { - "smithy.api#documentation": "

                Specifies the accessibility options for your new database. A value of true\n specifies a database that is available to resources outside of your Lightsail account. A\n value of false specifies a database that is available only to your Lightsail\n resources in the same region as your database.

                " + "smithy.api#documentation": "

                An object containing information about one or more disk mappings.

                " } }, - "relationalDatabaseName": { - "target": "com.amazonaws.lightsail#ResourceName", + "sourceInstanceName": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name to use for your new database.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 2 to 255 alphanumeric characters, or hyphens.

                  \n
                • \n
                • \n

                  The first and last character must be a letter or number.

                  \n
                • \n
                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The name of the source instance from which the source automatic snapshot was\n created.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the instance snapshot name\n parameter. The source instance name and instance snapshot name\n parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " } }, - "useLatestRestorableTime": { - "target": "com.amazonaws.lightsail#boolean", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                Specifies whether your database is restored from the latest backup time. A value of\n true restores from the latest backup time.

                \n

                Default: false\n

                \n

                Constraints: Cannot be specified if the restore time parameter is\n provided.

                " + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " } }, - "relationalDatabaseSnapshotName": { + "instanceSnapshotName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the database snapshot from which to create your new database.

                " + "smithy.api#documentation": "

                The name of the instance snapshot on which you are basing your new instances. Use the get\n instance snapshots operation to return information about your existing snapshots.

                \n

                Constraint:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the source instance name\n parameter. The instance snapshot name and source instance name\n parameters are mutually exclusive.

                  \n
                • \n
                " } }, - "availabilityZone": { - "target": "com.amazonaws.lightsail#string", + "useLatestRestorableAutoSnapshot": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The Availability Zone in which to create your new database. Use the\n us-east-2a case-sensitive format.

                \n

                You can get a list of Availability Zones by using the get regions operation.\n Be sure to add the include relational database Availability Zones parameter to\n your request.

                " + "smithy.api#documentation": "

                A Boolean value to indicate whether to use the latest available automatic snapshot.

                \n

                Constraints:

                \n
                  \n
                • \n

                  This parameter cannot be defined together with the restore date\n parameter. The use latest restorable auto snapshot and restore\n date parameters are mutually exclusive.

                  \n
                • \n
                • \n

                  Define this parameter only when creating a new instance from an automatic snapshot.\n For more information, see the Lightsail Dev Guide.

                  \n
                • \n
                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "bundleId": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + "smithy.api#documentation": "

                The bundle of specification information for your virtual private server (or\n instance), including the pricing plan (e.g.,\n micro_1_0).

                ", + "smithy.api#required": {} + } + }, + "instanceNames": { + "target": "com.amazonaws.lightsail#StringList", + "traits": { + "smithy.api#documentation": "

                The names for your new instances.

                ", + "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshotResult": { + "com.amazonaws.lightsail#CreateInstancesFromSnapshotResult": { "type": "structure", "members": { "operations": { @@ -3309,83 +3650,71 @@ } } }, - "com.amazonaws.lightsail#CreateRelationalDatabaseRequest": { + "com.amazonaws.lightsail#CreateInstancesRequest": { "type": "structure", "members": { - "masterUsername": { - "target": "com.amazonaws.lightsail#string", + "addOns": { + "target": "com.amazonaws.lightsail#AddOnRequestList", "traits": { - "smithy.api#documentation": "

                The master user name for your new database.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Master user name is required.

                  \n
                • \n
                • \n

                  Must contain from 1 to 16 alphanumeric characters.

                  \n
                • \n
                • \n

                  The first character must be a letter.

                  \n
                • \n
                • \n

                  Cannot be a reserved word for the database engine you choose.

                  \n

                  For more information about reserved words in MySQL 5.6 or 5.7, see the Keywords and\n Reserved Words articles for MySQL 5.6 or MySQL 5.7\n respectively.

                  \n
                • \n
                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                An array of objects representing the add-ons to enable for the new instance.

                " } }, - "preferredMaintenanceWindow": { - "target": "com.amazonaws.lightsail#string", + "customImageName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The weekly time range during which system maintenance can occur on your new\n database.

                \n

                The default is a 30-minute window selected at random from an 8-hour block of time for each\n AWS Region, occurring on a random day of the week.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be in the ddd:hh24:mi-ddd:hh24:mi format.

                  \n
                • \n
                • \n

                  Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

                  \n
                • \n
                • \n

                  Must be at least 30 minutes.

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Example: Tue:17:00-Tue:17:30\n

                  \n
                • \n
                " - } - }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", - "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + "smithy.api#deprecated": {}, + "smithy.api#documentation": "

                (Deprecated) The name for your custom image.

                \n \n

                In releases prior to June 12, 2017, this parameter was ignored by the API. It is now\n deprecated.

                \n
                " } }, - "masterDatabaseName": { + "availabilityZone": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the master database created when the Lightsail database resource is\n created.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 1 to 64 alphanumeric characters.

                  \n
                • \n
                • \n

                  Cannot be a word reserved by the specified database engine

                  \n
                • \n
                ", + "smithy.api#documentation": "

                The Availability Zone in which to create your instance. Use the following format:\n us-east-2a (case sensitive). You can get a list of Availability Zones by using\n the get\n regions operation. Be sure to add the include Availability Zones\n parameter to your request.

                ", "smithy.api#required": {} } }, - "masterUserPassword": { - "target": "com.amazonaws.lightsail#SensitiveString", - "traits": { - "smithy.api#documentation": "

                The password for the master user of your new database. The password can include any\n printable ASCII character except \"/\", \"\"\", or \"@\".

                \n

                Constraints: Must contain 8 to 41 characters.

                " - } - }, - "relationalDatabaseBlueprintId": { + "userData": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The blueprint ID for your new database. A blueprint describes the major engine version of\n a database.

                \n

                You can get a list of database blueprints IDs by using the get relational database\n blueprints operation.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                A launch script you can create that configures a server with additional user data. For\n example, you might want to run apt-get -y update.

                \n \n

                Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg. For a complete list, see the\n Dev Guide.

                \n
                " } }, - "relationalDatabaseBundleId": { - "target": "com.amazonaws.lightsail#string", + "blueprintId": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The bundle ID for your new database. A bundle describes the performance specifications for\n your database.

                \n

                You can get a list of database bundle IDs by using the get relational database\n bundles operation.

                ", + "smithy.api#documentation": "

                The ID for a virtual private server image (e.g., app_wordpress_4_4 or\n app_lamp_7_0). Use the get blueprints operation to return a list\n of available images (or blueprints).

                \n \n

                Use active blueprints when creating new instances. Inactive blueprints are listed to\n support customers with existing instances and are not necessarily available to create new\n instances. Blueprints are marked inactive when they become outdated due to operating system\n updates or new application releases.

                \n
                ", "smithy.api#required": {} } }, - "preferredBackupWindow": { - "target": "com.amazonaws.lightsail#string", + "bundleId": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The daily time range during which automated backups are created for your new database if\n automated backups are enabled.

                \n

                The default is a 30-minute window selected at random from an 8-hour block of time for each\n AWS Region. For more information about the preferred backup window time blocks for each\n region, see the Working With Backups guide in the Amazon Relational Database Service (Amazon RDS) documentation.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be in the hh24:mi-hh24:mi format.

                  \n

                  Example: 16:00-16:30\n

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Must not conflict with the preferred maintenance window.

                  \n
                • \n
                • \n

                  Must be at least 30 minutes.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The bundle of specification information for your virtual private server (or\n instance), including the pricing plan (e.g.,\n micro_1_0).

                ", + "smithy.api#required": {} } }, - "publiclyAccessible": { - "target": "com.amazonaws.lightsail#boolean", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                Specifies the accessibility options for your new database. A value of true\n specifies a database that is available to resources outside of your Lightsail account. A\n value of false specifies a database that is available only to your Lightsail\n resources in the same region as your database.

                " + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " } }, - "availabilityZone": { - "target": "com.amazonaws.lightsail#string", + "keyPairName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The Availability Zone in which to create your new database. Use the\n us-east-2a case-sensitive format.

                \n

                You can get a list of Availability Zones by using the get regions operation.\n Be sure to add the include relational database Availability Zones parameter to\n your request.

                " + "smithy.api#documentation": "

                The name of your key pair.

                " } }, - "relationalDatabaseName": { - "target": "com.amazonaws.lightsail#ResourceName", + "instanceNames": { + "target": "com.amazonaws.lightsail#StringList", "traits": { - "smithy.api#documentation": "

                The name to use for your new database.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 2 to 255 alphanumeric characters, or hyphens.

                  \n
                • \n
                • \n

                  The first and last character must be a letter or number.

                  \n
                • \n
                ", + "smithy.api#documentation": "

                The names to use for your new Lightsail instances. Separate multiple values using\n quotation marks and commas, for example:\n [\"MyFirstInstance\",\"MySecondInstance\"]\n

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#CreateRelationalDatabaseResult": { + "com.amazonaws.lightsail#CreateInstancesResult": { "type": "structure", "members": { "operations": { @@ -3396,13 +3725,13 @@ } } }, - "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshot": { + "com.amazonaws.lightsail#CreateKeyPair": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshotRequest" + "target": "com.amazonaws.lightsail#CreateKeyPairRequest" }, "output": { - "target": "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshotResult" + "target": "com.amazonaws.lightsail#CreateKeyPairResult" }, "errors": [ { @@ -3428,62 +3757,76 @@ } ], "traits": { - "smithy.api#documentation": "

                Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups,\n to make copies of a database, and to save data before deleting a database.

                \n

                The create relational database snapshot operation supports tag-based access\n control via request tags. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates an SSH key pair.

                \n

                The create key pair operation supports tag-based access control via request\n tags. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/CreateRelationalDatabaseSnapshot", + "uri": "/ls/api/2016-11-28/CreateKeyPair", "code": 200 } } }, - "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshotRequest": { + "com.amazonaws.lightsail#CreateKeyPairRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.lightsail#TagList", - "traits": { - "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " - } - }, - "relationalDatabaseSnapshotName": { + "keyPairName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name for your new database snapshot.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 2 to 255 alphanumeric characters, or hyphens.

                  \n
                • \n
                • \n

                  The first and last character must be a letter or number.

                  \n
                • \n
                ", + "smithy.api#documentation": "

                The name for your new key pair.

                ", "smithy.api#required": {} } }, - "relationalDatabaseName": { - "target": "com.amazonaws.lightsail#ResourceName", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The name of the database on which to base your new snapshot.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " } } } }, - "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshotResult": { + "com.amazonaws.lightsail#CreateKeyPairResult": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "operation": { + "target": "com.amazonaws.lightsail#Operation", "traits": { "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } + }, + "publicKeyBase64": { + "target": "com.amazonaws.lightsail#Base64", + "traits": { + "smithy.api#documentation": "

                A base64-encoded public key of the ssh-rsa type.

                " + } + }, + "keyPair": { + "target": "com.amazonaws.lightsail#KeyPair", + "traits": { + "smithy.api#documentation": "

                An array of key-value pairs containing information about the new key pair you just\n created.

                " + } + }, + "privateKeyBase64": { + "target": "com.amazonaws.lightsail#Base64", + "traits": { + "smithy.api#documentation": "

                A base64-encoded RSA private key.

                " + } } } }, - "com.amazonaws.lightsail#DeleteAlarm": { + "com.amazonaws.lightsail#CreateLoadBalancer": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteAlarmRequest" + "target": "com.amazonaws.lightsail#CreateLoadBalancerRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteAlarmResult" + "target": "com.amazonaws.lightsail#CreateLoadBalancerResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -3501,27 +3844,64 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes an alarm.

                \n

                An alarm is used to monitor a single metric for one of your resources. When a metric\n condition is met, the alarm can notify you by email, SMS text message, and a banner displayed\n on the Amazon Lightsail console. For more information, see Alarms\n in Amazon Lightsail.

                ", + "smithy.api#documentation": "

                Creates a Lightsail load balancer. To learn more about deciding whether to load balance\n your application, see Configure your Lightsail instances for load balancing. You can create up to 5\n load balancers per AWS Region in your account.

                \n

                When you create a load balancer, you can specify a unique name and port settings. To\n change additional load balancer settings, use the UpdateLoadBalancerAttribute\n operation.

                \n

                The create load balancer operation supports tag-based access control via\n request tags. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { - "method": "DELETE", - "uri": "/ls/api/2016-11-28/DeleteAlarm", + "method": "POST", + "uri": "/ls/api/2016-11-28/CreateLoadBalancer", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteAlarmRequest": { + "com.amazonaws.lightsail#CreateLoadBalancerRequest": { "type": "structure", "members": { - "alarmName": { + "tags": { + "target": "com.amazonaws.lightsail#TagList", + "traits": { + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + } + }, + "certificateDomainName": { + "target": "com.amazonaws.lightsail#DomainName", + "traits": { + "smithy.api#documentation": "

                The domain name with which your certificate is associated (e.g.,\n example.com).

                \n

                If you specify certificateDomainName, then certificateName is\n required (and vice-versa).

                " + } + }, + "certificateAlternativeNames": { + "target": "com.amazonaws.lightsail#DomainNameList", + "traits": { + "smithy.api#documentation": "

                The optional alternative domains and subdomains to use with your SSL/TLS certificate\n (e.g., www.example.com, example.com, m.example.com,\n blog.example.com).

                " + } + }, + "loadBalancerName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the alarm to delete.

                ", + "smithy.api#documentation": "

                The name of your load balancer.

                ", + "smithy.api#required": {} + } + }, + "healthCheckPath": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The path you provided to perform the load balancer health check. If you didn't specify a\n health check path, Lightsail uses the root path of your website (e.g.,\n \"/\").

                \n

                You may want to specify a custom health check path other than the root of your application\n if your home page loads slowly or has a lot of media or scripting on it.

                " + } + }, + "instancePort": { + "target": "com.amazonaws.lightsail#Port", + "traits": { + "smithy.api#documentation": "

                The instance port where you're creating your load balancer.

                ", "smithy.api#required": {} } + }, + "certificateName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the SSL/TLS certificate.

                \n

                If you specify certificateName, then certificateDomainName is\n required (and vice-versa).

                " + } } } }, - "com.amazonaws.lightsail#DeleteAlarmResult": { + "com.amazonaws.lightsail#CreateLoadBalancerResult": { "type": "structure", "members": { "operations": { @@ -3532,18 +3912,21 @@ } } }, - "com.amazonaws.lightsail#DeleteAutoSnapshot": { + "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificate": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteAutoSnapshotRequest" + "target": "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificateRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteAutoSnapshotResult" + "target": "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificateResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -3561,34 +3944,53 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes an automatic snapshot of an instance or disk. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates a Lightsail load balancer TLS certificate.

                \n

                TLS is just an updated, more secure version of Secure Socket Layer (SSL).

                \n

                The CreateLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteAutoSnapshot", + "uri": "/ls/api/2016-11-28/CreateLoadBalancerTlsCertificate", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteAutoSnapshotRequest": { + "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificateRequest": { "type": "structure", "members": { - "date": { - "target": "com.amazonaws.lightsail#AutoSnapshotDate", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The date of the automatic snapshot to delete in YYYY-MM-DD format. Use the\n get auto snapshots operation to get the available automatic snapshots for a\n resource.

                ", + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + } + }, + "certificateAlternativeNames": { + "target": "com.amazonaws.lightsail#DomainNameList", + "traits": { + "smithy.api#documentation": "

                An array of strings listing alternative domains and subdomains for your SSL/TLS\n certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9\n alternative names (in addition to the 1 primary domain). We do not support wildcards (e.g.,\n *.example.com).

                " + } + }, + "certificateName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The SSL/TLS certificate name.

                \n

                You can have up to 10 certificates in your account at one time. Each Lightsail load\n balancer can have up to 2 certificates associated with it at one time. There is also an\n overall limit to the number of certificates that can be issue in a 365-day period. For more\n information, see Limits.

                ", "smithy.api#required": {} } }, - "resourceName": { + "certificateDomainName": { + "target": "com.amazonaws.lightsail#DomainName", + "traits": { + "smithy.api#documentation": "

                The domain name (e.g., example.com) for your SSL/TLS certificate.

                ", + "smithy.api#required": {} + } + }, + "loadBalancerName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the source instance or disk from which to delete the automatic\n snapshot.

                ", + "smithy.api#documentation": "

                The load balancer name where you want to create the SSL/TLS certificate.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteAutoSnapshotResult": { + "com.amazonaws.lightsail#CreateLoadBalancerTlsCertificateResult": { "type": "structure", "members": { "operations": { @@ -3599,24 +4001,30 @@ } } }, - "com.amazonaws.lightsail#DeleteCertificate": { + "com.amazonaws.lightsail#CreateRelationalDatabase": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteCertificateRequest" + "target": "com.amazonaws.lightsail#CreateRelationalDatabaseRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteCertificateResult" + "target": "com.amazonaws.lightsail#CreateRelationalDatabaseResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, { "target": "com.amazonaws.lightsail#NotFoundException" }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -3625,49 +4033,29 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                Certificates that are currently attached to a distribution cannot be deleted. Use the\n DetachCertificateFromDistribution action to detach a certificate from a\n distribution.

                ", + "smithy.api#documentation": "

                Creates a new database in Amazon Lightsail.

                \n

                The create relational database operation supports tag-based access control\n via request tags. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteCertificate", + "uri": "/ls/api/2016-11-28/CreateRelationalDatabase", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteCertificateRequest": { - "type": "structure", - "members": { - "certificateName": { - "target": "com.amazonaws.lightsail#CertificateName", - "traits": { - "smithy.api#documentation": "

                The name of the certificate to delete.

                \n\n

                Use the GetCertificates action to get a list of certificate names that you\n can specify.

                ", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.lightsail#DeleteCertificateResult": { - "type": "structure", - "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", - "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " - } - } - } - }, - "com.amazonaws.lightsail#DeleteContactMethod": { + "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshot": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteContactMethodRequest" + "target": "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshotRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteContactMethodResult" + "target": "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshotResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -3685,27 +4073,75 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes a contact method.

                \n

                A contact method is used to send you notifications about your Amazon Lightsail resources.\n You can add one email address and one mobile phone number contact method in each AWS Region.\n However, SMS text messaging is not supported in some AWS Regions, and SMS text messages\n cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

                ", + "smithy.api#documentation": "

                Creates a new database from an existing database snapshot in Amazon Lightsail.

                \n

                You can create a new database from a snapshot in if something goes wrong with your\n original database, or to change it to a different plan, such as a high availability or\n standard plan.

                \n

                The create relational database from snapshot operation supports tag-based\n access control via request tags and resource tags applied to the resource identified by\n relationalDatabaseSnapshotName. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteContactMethod", + "uri": "/ls/api/2016-11-28/CreateRelationalDatabaseFromSnapshot", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteContactMethodRequest": { + "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshotRequest": { "type": "structure", "members": { - "protocol": { - "target": "com.amazonaws.lightsail#ContactProtocol", + "sourceRelationalDatabaseName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The protocol that will be deleted, such as Email or SMS (text\n messaging).

                \n \n

                To delete an Email and an SMS contact method if you added\n both, you must run separate DeleteContactMethod actions to delete each\n protocol.

                \n
                ", + "smithy.api#documentation": "

                The name of the source database.

                " + } + }, + "relationalDatabaseName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name to use for your new database.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 2 to 255 alphanumeric characters, or hyphens.

                  \n
                • \n
                • \n

                  The first and last character must be a letter or number.

                  \n
                • \n
                ", "smithy.api#required": {} } + }, + "relationalDatabaseBundleId": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The bundle ID for your new database. A bundle describes the performance specifications for\n your database.

                \n

                You can get a list of database bundle IDs by using the get relational database\n bundles operation.

                \n

                When creating a new database from a snapshot, you cannot choose a bundle that is smaller\n than the bundle of the source database.

                " + } + }, + "restoreTime": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                The date and time to restore your database from.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be before the latest restorable time for the database.

                  \n
                • \n
                • \n

                  Cannot be specified if the use latest restorable time parameter is\n true.

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n

                  For example, if you wish to use a restore time of October 1, 2018, at 8 PM UTC, then\n you input 1538424000 as the restore time.

                  \n
                • \n
                " + } + }, + "useLatestRestorableTime": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                Specifies whether your database is restored from the latest backup time. A value of\n true restores from the latest backup time.

                \n

                Default: false\n

                \n

                Constraints: Cannot be specified if the restore time parameter is\n provided.

                " + } + }, + "availabilityZone": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The Availability Zone in which to create your new database. Use the\n us-east-2a case-sensitive format.

                \n

                You can get a list of Availability Zones by using the get regions operation.\n Be sure to add the include relational database Availability Zones parameter to\n your request.

                " + } + }, + "publiclyAccessible": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                Specifies the accessibility options for your new database. A value of true\n specifies a database that is available to resources outside of your Lightsail account. A\n value of false specifies a database that is available only to your Lightsail\n resources in the same region as your database.

                " + } + }, + "relationalDatabaseSnapshotName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the database snapshot from which to create your new database.

                " + } + }, + "tags": { + "target": "com.amazonaws.lightsail#TagList", + "traits": { + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + } } } }, - "com.amazonaws.lightsail#DeleteContactMethodResult": { + "com.amazonaws.lightsail#CreateRelationalDatabaseFromSnapshotResult": { "type": "structure", "members": { "operations": { @@ -3716,13 +4152,100 @@ } } }, - "com.amazonaws.lightsail#DeleteDisk": { + "com.amazonaws.lightsail#CreateRelationalDatabaseRequest": { + "type": "structure", + "members": { + "publiclyAccessible": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                Specifies the accessibility options for your new database. A value of true\n specifies a database that is available to resources outside of your Lightsail account. A\n value of false specifies a database that is available only to your Lightsail\n resources in the same region as your database.

                " + } + }, + "preferredMaintenanceWindow": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The weekly time range during which system maintenance can occur on your new\n database.

                \n

                The default is a 30-minute window selected at random from an 8-hour block of time for each\n AWS Region, occurring on a random day of the week.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be in the ddd:hh24:mi-ddd:hh24:mi format.

                  \n
                • \n
                • \n

                  Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

                  \n
                • \n
                • \n

                  Must be at least 30 minutes.

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Example: Tue:17:00-Tue:17:30\n

                  \n
                • \n
                " + } + }, + "preferredBackupWindow": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The daily time range during which automated backups are created for your new database if\n automated backups are enabled.

                \n

                The default is a 30-minute window selected at random from an 8-hour block of time for each\n AWS Region. For more information about the preferred backup window time blocks for each\n region, see the Working With Backups guide in the Amazon Relational Database Service (Amazon RDS) documentation.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be in the hh24:mi-hh24:mi format.

                  \n

                  Example: 16:00-16:30\n

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Must not conflict with the preferred maintenance window.

                  \n
                • \n
                • \n

                  Must be at least 30 minutes.

                  \n
                • \n
                " + } + }, + "relationalDatabaseBlueprintId": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The blueprint ID for your new database. A blueprint describes the major engine version of\n a database.

                \n

                You can get a list of database blueprints IDs by using the get relational database\n blueprints operation.

                ", + "smithy.api#required": {} + } + }, + "masterDatabaseName": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The name of the master database created when the Lightsail database resource is\n created.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 1 to 64 alphanumeric characters.

                  \n
                • \n
                • \n

                  Cannot be a word reserved by the specified database engine

                  \n
                • \n
                ", + "smithy.api#required": {} + } + }, + "relationalDatabaseBundleId": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The bundle ID for your new database. A bundle describes the performance specifications for\n your database.

                \n

                You can get a list of database bundle IDs by using the get relational database\n bundles operation.

                ", + "smithy.api#required": {} + } + }, + "masterUserPassword": { + "target": "com.amazonaws.lightsail#SensitiveString", + "traits": { + "smithy.api#documentation": "

                The password for the master user of your new database. The password can include any\n printable ASCII character except \"/\", \"\"\", or \"@\".

                \n

                Constraints: Must contain 8 to 41 characters.

                " + } + }, + "tags": { + "target": "com.amazonaws.lightsail#TagList", + "traits": { + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + } + }, + "availabilityZone": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The Availability Zone in which to create your new database. Use the\n us-east-2a case-sensitive format.

                \n

                You can get a list of Availability Zones by using the get regions operation.\n Be sure to add the include relational database Availability Zones parameter to\n your request.

                " + } + }, + "masterUsername": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The master user name for your new database.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Master user name is required.

                  \n
                • \n
                • \n

                  Must contain from 1 to 16 alphanumeric characters.

                  \n
                • \n
                • \n

                  The first character must be a letter.

                  \n
                • \n
                • \n

                  Cannot be a reserved word for the database engine you choose.

                  \n

                  For more information about reserved words in MySQL 5.6 or 5.7, see the Keywords and\n Reserved Words articles for MySQL 5.6 or MySQL 5.7\n respectively.

                  \n
                • \n
                ", + "smithy.api#required": {} + } + }, + "relationalDatabaseName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name to use for your new database.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 2 to 255 alphanumeric characters, or hyphens.

                  \n
                • \n
                • \n

                  The first and last character must be a letter or number.

                  \n
                • \n
                ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#CreateRelationalDatabaseResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshot": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteDiskRequest" + "target": "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshotRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteDiskResult" + "target": "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshotResult" }, "errors": [ { @@ -3748,33 +4271,40 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes the specified block storage disk. The disk must be in the available\n state (not attached to a Lightsail instance).

                \n \n

                The disk may remain in the deleting state for several minutes.

                \n\n
                \n

                The delete disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups,\n to make copies of a database, and to save data before deleting a database.

                \n

                The create relational database snapshot operation supports tag-based access\n control via request tags. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteDisk", + "uri": "/ls/api/2016-11-28/CreateRelationalDatabaseSnapshot", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteDiskRequest": { + "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshotRequest": { "type": "structure", "members": { - "forceDeleteAddOns": { - "target": "com.amazonaws.lightsail#boolean", + "relationalDatabaseSnapshotName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                A Boolean value to indicate whether to delete the enabled add-ons for the disk.

                " + "smithy.api#documentation": "

                The name for your new database snapshot.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 2 to 255 alphanumeric characters, or hyphens.

                  \n
                • \n
                • \n

                  The first and last character must be a letter or number.

                  \n
                • \n
                ", + "smithy.api#required": {} } }, - "diskName": { + "tags": { + "target": "com.amazonaws.lightsail#TagList", + "traits": { + "smithy.api#documentation": "

                The tag keys and optional values to add to the resource during create.

                \n

                Use the TagResource action to tag a resource after it's created.

                " + } + }, + "relationalDatabaseName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The unique name of the disk you want to delete (e.g., my-disk).

                ", + "smithy.api#documentation": "

                The name of the database on which to base your new snapshot.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteDiskResult": { + "com.amazonaws.lightsail#CreateRelationalDatabaseSnapshotResult": { "type": "structure", "members": { "operations": { @@ -3785,21 +4315,18 @@ } } }, - "com.amazonaws.lightsail#DeleteDiskSnapshot": { + "com.amazonaws.lightsail#DeleteAlarm": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteDiskSnapshotRequest" + "target": "com.amazonaws.lightsail#DeleteAlarmRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteDiskSnapshotResult" + "target": "com.amazonaws.lightsail#DeleteAlarmResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -3817,27 +4344,27 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes the specified disk snapshot.

                \n

                When you make periodic snapshots of a disk, the snapshots are incremental, and only the\n blocks on the device that have changed since your last snapshot are saved in the new snapshot.\n When you delete a snapshot, only the data not needed for any other snapshot is removed. So\n regardless of which prior snapshots have been deleted, all active snapshots will have access\n to all the information needed to restore the disk.

                \n

                The delete disk snapshot operation supports tag-based access control via\n resource tags applied to the resource identified by disk snapshot name. For more\n information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes an alarm.

                \n

                An alarm is used to monitor a single metric for one of your resources. When a metric\n condition is met, the alarm can notify you by email, SMS text message, and a banner displayed\n on the Amazon Lightsail console. For more information, see Alarms\n in Amazon Lightsail.

                ", "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteDiskSnapshot", + "method": "DELETE", + "uri": "/ls/api/2016-11-28/DeleteAlarm", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteDiskSnapshotRequest": { + "com.amazonaws.lightsail#DeleteAlarmRequest": { "type": "structure", "members": { - "diskSnapshotName": { + "alarmName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the disk snapshot you want to delete (e.g.,\n my-disk-snapshot).

                ", + "smithy.api#documentation": "

                The name of the alarm to delete.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteDiskSnapshotResult": { + "com.amazonaws.lightsail#DeleteAlarmResult": { "type": "structure", "members": { "operations": { @@ -3848,13 +4375,13 @@ } } }, - "com.amazonaws.lightsail#DeleteDistribution": { + "com.amazonaws.lightsail#DeleteAutoSnapshot": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteDistributionRequest" + "target": "com.amazonaws.lightsail#DeleteAutoSnapshotRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteDistributionResult" + "target": "com.amazonaws.lightsail#DeleteAutoSnapshotResult" }, "errors": [ { @@ -3877,60 +4404,62 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes your Amazon Lightsail content delivery network (CDN) distribution.

                ", + "smithy.api#documentation": "

                Deletes an automatic snapshot of an instance or disk. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteDistribution", + "uri": "/ls/api/2016-11-28/DeleteAutoSnapshot", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteDistributionRequest": { + "com.amazonaws.lightsail#DeleteAutoSnapshotRequest": { "type": "structure", "members": { - "distributionName": { + "resourceName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the distribution to delete.

                \n\n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                " + "smithy.api#documentation": "

                The name of the source instance or disk from which to delete the automatic\n snapshot.

                ", + "smithy.api#required": {} + } + }, + "date": { + "target": "com.amazonaws.lightsail#AutoSnapshotDate", + "traits": { + "smithy.api#documentation": "

                The date of the automatic snapshot to delete in YYYY-MM-DD format. Use the\n get auto snapshots operation to get the available automatic snapshots for a\n resource.

                ", + "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteDistributionResult": { + "com.amazonaws.lightsail#DeleteAutoSnapshotResult": { "type": "structure", "members": { - "operation": { - "target": "com.amazonaws.lightsail#Operation", + "operations": { + "target": "com.amazonaws.lightsail#OperationList", "traits": { - "smithy.api#documentation": "

                An object that describes the result of the action, such as the status of the request, the\n timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } } } }, - "com.amazonaws.lightsail#DeleteDomain": { + "com.amazonaws.lightsail#DeleteCertificate": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteDomainRequest" + "target": "com.amazonaws.lightsail#DeleteCertificateRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteDomainResult" + "target": "com.amazonaws.lightsail#DeleteCertificateResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, { "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -3939,29 +4468,49 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes the specified domain recordset and all of its domain records.

                \n

                The delete domain operation supports tag-based access control via resource\n tags applied to the resource identified by domain name. For more information, see\n the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                Certificates that are currently attached to a distribution cannot be deleted. Use the\n DetachCertificateFromDistribution action to detach a certificate from a\n distribution.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteDomain", + "uri": "/ls/api/2016-11-28/DeleteCertificate", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteDomainEntry": { - "type": "operation", + "com.amazonaws.lightsail#DeleteCertificateRequest": { + "type": "structure", + "members": { + "certificateName": { + "target": "com.amazonaws.lightsail#CertificateName", + "traits": { + "smithy.api#documentation": "

                The name of the certificate to delete.

                \n

                Use the GetCertificates action to get a list of certificate names that you\n can specify.

                ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#DeleteCertificateResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#DeleteContactMethod": { + "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteDomainEntryRequest" + "target": "com.amazonaws.lightsail#DeleteContactMethodRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteDomainEntryResult" + "target": "com.amazonaws.lightsail#DeleteContactMethodResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -3979,91 +4528,114 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes a specific domain entry.

                \n

                The delete domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes a contact method.

                \n

                A contact method is used to send you notifications about your Amazon Lightsail resources.\n You can add one email address and one mobile phone number contact method in each AWS Region.\n However, SMS text messaging is not supported in some AWS Regions, and SMS text messages\n cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteDomainEntry", + "uri": "/ls/api/2016-11-28/DeleteContactMethod", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteDomainEntryRequest": { + "com.amazonaws.lightsail#DeleteContactMethodRequest": { "type": "structure", "members": { - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", - "traits": { - "smithy.api#documentation": "

                The name of the domain entry to delete.

                ", - "smithy.api#required": {} - } - }, - "domainEntry": { - "target": "com.amazonaws.lightsail#DomainEntry", + "protocol": { + "target": "com.amazonaws.lightsail#ContactProtocol", "traits": { - "smithy.api#documentation": "

                An array of key-value pairs containing information about your domain entries.

                ", + "smithy.api#documentation": "

                The protocol that will be deleted, such as Email or SMS (text\n messaging).

                \n \n

                To delete an Email and an SMS contact method if you added\n both, you must run separate DeleteContactMethod actions to delete each\n protocol.

                \n
                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteDomainEntryResult": { + "com.amazonaws.lightsail#DeleteContactMethodResult": { "type": "structure", "members": { - "operation": { - "target": "com.amazonaws.lightsail#Operation", + "operations": { + "target": "com.amazonaws.lightsail#OperationList", "traits": { "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } } } }, - "com.amazonaws.lightsail#DeleteDomainRequest": { - "type": "structure", - "members": { - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", - "traits": { - "smithy.api#documentation": "

                The specific domain name to delete.

                ", - "smithy.api#required": {} - } + "com.amazonaws.lightsail#DeleteContainerImage": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DeleteContainerImageRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DeleteContainerImageResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Deletes a container image that is registered to your Amazon Lightsail container\n service.

                ", + "smithy.api#http": { + "method": "DELETE", + "uri": "/ls/api/2016-11-28/container-services/{serviceName}/images/{image}", + "code": 204 } } }, - "com.amazonaws.lightsail#DeleteDomainResult": { + "com.amazonaws.lightsail#DeleteContainerImageRequest": { "type": "structure", "members": { - "operation": { - "target": "com.amazonaws.lightsail#Operation", + "image": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                The name of the container image to delete from the container service.

                \n\n

                Use the GetContainerImages action to get the name of the container images\n that are registered to a container service.

                \n\n \n

                Container images sourced from your Lightsail container service, that are registered\n and stored on your service, start with a colon (:). For example,\n :container-service-1.mystaticwebsite.1. Container images sourced from a\n public registry like Docker Hub don't start with a colon. For example,\n nginx:latest or nginx.

                \n
                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", + "traits": { + "smithy.api#documentation": "

                The name of the container service for which to delete a registered container image.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteInstance": { + "com.amazonaws.lightsail#DeleteContainerImageResult": { + "type": "structure", + "members": {} + }, + "com.amazonaws.lightsail#DeleteContainerService": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteInstanceRequest" + "target": "com.amazonaws.lightsail#DeleteContainerServiceRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteInstanceResult" + "target": "com.amazonaws.lightsail#DeleteContainerServiceResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, { "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -4072,50 +4644,38 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes an Amazon Lightsail instance.

                \n

                The delete instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes your Amazon Lightsail container service.

                ", "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteInstance", - "code": 200 + "method": "DELETE", + "uri": "/ls/api/2016-11-28/container-services/{serviceName}", + "code": 204 } } }, - "com.amazonaws.lightsail#DeleteInstanceRequest": { + "com.amazonaws.lightsail#DeleteContainerServiceRequest": { "type": "structure", "members": { - "forceDeleteAddOns": { - "target": "com.amazonaws.lightsail#boolean", + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", "traits": { - "smithy.api#documentation": "

                A Boolean value to indicate whether to delete the enabled add-ons for the disk.

                " - } - }, - "instanceName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the instance to delete.

                ", + "smithy.api#documentation": "

                The name of the container service to delete.

                ", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteInstanceResult": { + "com.amazonaws.lightsail#DeleteContainerServiceResult": { "type": "structure", - "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", - "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " - } - } - } + "members": {} }, - "com.amazonaws.lightsail#DeleteInstanceSnapshot": { + "com.amazonaws.lightsail#DeleteDisk": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteInstanceSnapshotRequest" + "target": "com.amazonaws.lightsail#DeleteDiskRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteInstanceSnapshotResult" + "target": "com.amazonaws.lightsail#DeleteDiskResult" }, "errors": [ { @@ -4141,27 +4701,33 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes a specific snapshot of a virtual private server (or\n instance).

                \n

                The delete instance snapshot operation supports tag-based access control via\n resource tags applied to the resource identified by instance snapshot name. For\n more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes the specified block storage disk. The disk must be in the available\n state (not attached to a Lightsail instance).

                \n \n

                The disk may remain in the deleting state for several minutes.

                \n
                \n

                The delete disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteInstanceSnapshot", + "uri": "/ls/api/2016-11-28/DeleteDisk", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteInstanceSnapshotRequest": { + "com.amazonaws.lightsail#DeleteDiskRequest": { "type": "structure", "members": { - "instanceSnapshotName": { + "diskName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the snapshot to delete.

                ", + "smithy.api#documentation": "

                The unique name of the disk you want to delete (e.g., my-disk).

                ", "smithy.api#required": {} } + }, + "forceDeleteAddOns": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                A Boolean value to indicate whether to delete the enabled add-ons for the disk.

                " + } } } }, - "com.amazonaws.lightsail#DeleteInstanceSnapshotResult": { + "com.amazonaws.lightsail#DeleteDiskResult": { "type": "structure", "members": { "operations": { @@ -4172,13 +4738,13 @@ } } }, - "com.amazonaws.lightsail#DeleteKeyPair": { + "com.amazonaws.lightsail#DeleteDiskSnapshot": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteKeyPairRequest" + "target": "com.amazonaws.lightsail#DeleteDiskSnapshotRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteKeyPairResult" + "target": "com.amazonaws.lightsail#DeleteDiskSnapshotResult" }, "errors": [ { @@ -4204,52 +4770,49 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes a specific SSH key pair.

                \n

                The delete key pair operation supports tag-based access control via resource\n tags applied to the resource identified by key pair name. For more information,\n see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes the specified disk snapshot.

                \n

                When you make periodic snapshots of a disk, the snapshots are incremental, and only the\n blocks on the device that have changed since your last snapshot are saved in the new snapshot.\n When you delete a snapshot, only the data not needed for any other snapshot is removed. So\n regardless of which prior snapshots have been deleted, all active snapshots will have access\n to all the information needed to restore the disk.

                \n

                The delete disk snapshot operation supports tag-based access control via\n resource tags applied to the resource identified by disk snapshot name. For more\n information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteKeyPair", + "uri": "/ls/api/2016-11-28/DeleteDiskSnapshot", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteKeyPairRequest": { + "com.amazonaws.lightsail#DeleteDiskSnapshotRequest": { "type": "structure", "members": { - "keyPairName": { + "diskSnapshotName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the key pair to delete.

                ", + "smithy.api#documentation": "

                The name of the disk snapshot you want to delete (e.g.,\n my-disk-snapshot).

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteKeyPairResult": { + "com.amazonaws.lightsail#DeleteDiskSnapshotResult": { "type": "structure", "members": { - "operation": { - "target": "com.amazonaws.lightsail#Operation", + "operations": { + "target": "com.amazonaws.lightsail#OperationList", "traits": { "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } } } }, - "com.amazonaws.lightsail#DeleteKnownHostKeys": { + "com.amazonaws.lightsail#DeleteDistribution": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteKnownHostKeysRequest" + "target": "com.amazonaws.lightsail#DeleteDistributionRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteKnownHostKeysResult" + "target": "com.amazonaws.lightsail#DeleteDistributionResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -4267,44 +4830,43 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or\n RDP clients to authenticate an instance. This operation enables the Lightsail browser-based\n SSH or RDP clients to connect to the instance after a host key mismatch.

                \n \n

                Perform this operation only if you were expecting the host key or certificate mismatch\n or if you are familiar with the new host key or certificate on the instance. For more\n information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP\n client.

                \n
                ", + "smithy.api#documentation": "

                Deletes your Amazon Lightsail content delivery network (CDN) distribution.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteKnownHostKeys", + "uri": "/ls/api/2016-11-28/DeleteDistribution", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteKnownHostKeysRequest": { + "com.amazonaws.lightsail#DeleteDistributionRequest": { "type": "structure", "members": { - "instanceName": { + "distributionName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the instance for which you want to reset the host key or certificate.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The name of the distribution to delete.

                \n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                " } } } }, - "com.amazonaws.lightsail#DeleteKnownHostKeysResult": { + "com.amazonaws.lightsail#DeleteDistributionResult": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "operation": { + "target": "com.amazonaws.lightsail#Operation", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An object that describes the result of the action, such as the status of the request, the\n timestamp of the request, and the resources affected by the request.

                " } } } }, - "com.amazonaws.lightsail#DeleteLoadBalancer": { + "com.amazonaws.lightsail#DeleteDomain": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteLoadBalancerRequest" + "target": "com.amazonaws.lightsail#DeleteDomainRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteLoadBalancerResult" + "target": "com.amazonaws.lightsail#DeleteDomainResult" }, "errors": [ { @@ -4330,44 +4892,21 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the\n load balancer is deleted, you will need to create a new load balancer, create a new\n certificate, and verify domain ownership again.

                \n

                The delete load balancer operation supports tag-based access control via\n resource tags applied to the resource identified by load balancer name. For more\n information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes the specified domain recordset and all of its domain records.

                \n

                The delete domain operation supports tag-based access control via resource\n tags applied to the resource identified by domain name. For more information, see\n the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteLoadBalancer", + "uri": "/ls/api/2016-11-28/DeleteDomain", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteLoadBalancerRequest": { - "type": "structure", - "members": { - "loadBalancerName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the load balancer you want to delete.

                ", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.lightsail#DeleteLoadBalancerResult": { - "type": "structure", - "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", - "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " - } - } - } - }, - "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificate": { + "com.amazonaws.lightsail#DeleteDomainEntry": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificateRequest" + "target": "com.amazonaws.lightsail#DeleteDomainEntryRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificateResult" + "target": "com.amazonaws.lightsail#DeleteDomainEntryResult" }, "errors": [ { @@ -4393,57 +4932,74 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

                \n

                The DeleteLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes a specific domain entry.

                \n

                The delete domain entry operation supports tag-based access control via\n resource tags applied to the resource identified by domain name. For more\n information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteLoadBalancerTlsCertificate", + "uri": "/ls/api/2016-11-28/DeleteDomainEntry", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificateRequest": { + "com.amazonaws.lightsail#DeleteDomainEntryRequest": { "type": "structure", "members": { - "force": { - "target": "com.amazonaws.lightsail#boolean", + "domainName": { + "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                When true, forces the deletion of an SSL/TLS certificate.

                \n

                There can be two certificates associated with a Lightsail load balancer: the primary and\n the backup. The force parameter is required when the primary SSL/TLS certificate\n is in use by an instance attached to the load balancer.

                " + "smithy.api#documentation": "

                The name of the domain entry to delete.

                ", + "smithy.api#required": {} } }, - "loadBalancerName": { - "target": "com.amazonaws.lightsail#ResourceName", + "domainEntry": { + "target": "com.amazonaws.lightsail#DomainEntry", "traits": { - "smithy.api#documentation": "

                The load balancer name.

                ", + "smithy.api#documentation": "

                An array of key-value pairs containing information about your domain entries.

                ", "smithy.api#required": {} } - }, - "certificateName": { - "target": "com.amazonaws.lightsail#ResourceName", + } + } + }, + "com.amazonaws.lightsail#DeleteDomainEntryResult": { + "type": "structure", + "members": { + "operation": { + "target": "com.amazonaws.lightsail#Operation", "traits": { - "smithy.api#documentation": "

                The SSL/TLS certificate name.

                ", + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#DeleteDomainRequest": { + "type": "structure", + "members": { + "domainName": { + "target": "com.amazonaws.lightsail#DomainName", + "traits": { + "smithy.api#documentation": "

                The specific domain name to delete.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificateResult": { + "com.amazonaws.lightsail#DeleteDomainResult": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "operation": { + "target": "com.amazonaws.lightsail#Operation", "traits": { "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } } } }, - "com.amazonaws.lightsail#DeleteRelationalDatabase": { + "com.amazonaws.lightsail#DeleteInstance": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteRelationalDatabaseRequest" + "target": "com.amazonaws.lightsail#DeleteInstanceRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteRelationalDatabaseResult" + "target": "com.amazonaws.lightsail#DeleteInstanceResult" }, "errors": [ { @@ -4469,39 +5025,33 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes a database in Amazon Lightsail.

                \n

                The delete relational database operation supports tag-based access control\n via resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes an Amazon Lightsail instance.

                \n

                The delete instance operation supports tag-based access control via resource\n tags applied to the resource identified by instance name. For more information,\n see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteRelationalDatabase", + "uri": "/ls/api/2016-11-28/DeleteInstance", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteRelationalDatabaseRequest": { + "com.amazonaws.lightsail#DeleteInstanceRequest": { "type": "structure", "members": { - "finalRelationalDatabaseSnapshotName": { + "instanceName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the database snapshot created if skip final snapshot is\n false, which is the default value for that parameter.

                \n \n

                Specifying this parameter and also specifying the skip final snapshot\n parameter to true results in an error.

                \n
                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 2 to 255 alphanumeric characters, or hyphens.

                  \n
                • \n
                • \n

                  The first and last character must be a letter or number.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The name of the instance to delete.

                ", + "smithy.api#required": {} } }, - "skipFinalSnapshot": { + "forceDeleteAddOns": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                Determines whether a final database snapshot is created before your database is deleted.\n If true is specified, no database snapshot is created. If false is\n specified, a database snapshot is created before your database is deleted.

                \n

                You must specify the final relational database snapshot name parameter if the\n skip final snapshot parameter is false.

                \n

                Default: false\n

                " - } - }, - "relationalDatabaseName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the database that you are deleting.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                A Boolean value to indicate whether to delete the enabled add-ons for the disk.

                " } } } }, - "com.amazonaws.lightsail#DeleteRelationalDatabaseResult": { + "com.amazonaws.lightsail#DeleteInstanceResult": { "type": "structure", "members": { "operations": { @@ -4512,13 +5062,13 @@ } } }, - "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshot": { + "com.amazonaws.lightsail#DeleteInstanceSnapshot": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshotRequest" + "target": "com.amazonaws.lightsail#DeleteInstanceSnapshotRequest" }, "output": { - "target": "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshotResult" + "target": "com.amazonaws.lightsail#DeleteInstanceSnapshotResult" }, "errors": [ { @@ -4544,27 +5094,27 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes a database snapshot in Amazon Lightsail.

                \n

                The delete relational database snapshot operation supports tag-based access\n control via resource tags applied to the resource identified by relationalDatabaseName. For\n more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes a specific snapshot of a virtual private server (or\n instance).

                \n

                The delete instance snapshot operation supports tag-based access control via\n resource tags applied to the resource identified by instance snapshot name. For\n more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DeleteRelationalDatabaseSnapshot", + "uri": "/ls/api/2016-11-28/DeleteInstanceSnapshot", "code": 200 } } }, - "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshotRequest": { + "com.amazonaws.lightsail#DeleteInstanceSnapshotRequest": { "type": "structure", "members": { - "relationalDatabaseSnapshotName": { + "instanceSnapshotName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the database snapshot that you are deleting.

                ", + "smithy.api#documentation": "

                The name of the snapshot to delete.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshotResult": { + "com.amazonaws.lightsail#DeleteInstanceSnapshotResult": { "type": "structure", "members": { "operations": { @@ -4575,38 +5125,21 @@ } } }, - "com.amazonaws.lightsail#DestinationInfo": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The ID of the resource created at the destination.

                " - } - }, - "service": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The destination service of the record.

                " - } - } - }, - "traits": { - "smithy.api#documentation": "

                Describes the destination of a record.

                " - } - }, - "com.amazonaws.lightsail#DetachCertificateFromDistribution": { + "com.amazonaws.lightsail#DeleteKeyPair": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DetachCertificateFromDistributionRequest" + "target": "com.amazonaws.lightsail#DeleteKeyPairRequest" }, "output": { - "target": "com.amazonaws.lightsail#DetachCertificateFromDistributionResult" + "target": "com.amazonaws.lightsail#DeleteKeyPairResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -4624,44 +5157,44 @@ } ], "traits": { - "smithy.api#documentation": "

                Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                After the certificate is detached, your distribution stops accepting traffic for all of\n the domains that are associated with the certificate.

                ", + "smithy.api#documentation": "

                Deletes a specific SSH key pair.

                \n

                The delete key pair operation supports tag-based access control via resource\n tags applied to the resource identified by key pair name. For more information,\n see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DetachCertificateFromDistribution", + "uri": "/ls/api/2016-11-28/DeleteKeyPair", "code": 200 } } }, - "com.amazonaws.lightsail#DetachCertificateFromDistributionRequest": { + "com.amazonaws.lightsail#DeleteKeyPairRequest": { "type": "structure", "members": { - "distributionName": { + "keyPairName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the distribution from which to detach the certificate.

                \n\n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                ", + "smithy.api#documentation": "

                The name of the key pair to delete.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DetachCertificateFromDistributionResult": { + "com.amazonaws.lightsail#DeleteKeyPairResult": { "type": "structure", "members": { "operation": { "target": "com.amazonaws.lightsail#Operation", "traits": { - "smithy.api#documentation": "

                An object that describes the result of the action, such as the status of the request, the\n timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } } } }, - "com.amazonaws.lightsail#DetachDisk": { + "com.amazonaws.lightsail#DeleteKnownHostKeys": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DetachDiskRequest" + "target": "com.amazonaws.lightsail#DeleteKnownHostKeysRequest" }, "output": { - "target": "com.amazonaws.lightsail#DetachDiskResult" + "target": "com.amazonaws.lightsail#DeleteKnownHostKeysResult" }, "errors": [ { @@ -4687,27 +5220,27 @@ } ], "traits": { - "smithy.api#documentation": "

                Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount\n any file systems on the device within your operating system before stopping the instance and\n detaching the disk.

                \n

                The detach disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or\n RDP clients to authenticate an instance. This operation enables the Lightsail browser-based\n SSH or RDP clients to connect to the instance after a host key mismatch.

                \n \n

                Perform this operation only if you were expecting the host key or certificate mismatch\n or if you are familiar with the new host key or certificate on the instance. For more\n information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP\n client.

                \n
                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DetachDisk", + "uri": "/ls/api/2016-11-28/DeleteKnownHostKeys", "code": 200 } } }, - "com.amazonaws.lightsail#DetachDiskRequest": { + "com.amazonaws.lightsail#DeleteKnownHostKeysRequest": { "type": "structure", "members": { - "diskName": { + "instanceName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The unique name of the disk you want to detach from your instance (e.g.,\n my-disk).

                ", + "smithy.api#documentation": "

                The name of the instance for which you want to reset the host key or certificate.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DetachDiskResult": { + "com.amazonaws.lightsail#DeleteKnownHostKeysResult": { "type": "structure", "members": { "operations": { @@ -4718,13 +5251,13 @@ } } }, - "com.amazonaws.lightsail#DetachInstancesFromLoadBalancer": { + "com.amazonaws.lightsail#DeleteLoadBalancer": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DetachInstancesFromLoadBalancerRequest" + "target": "com.amazonaws.lightsail#DeleteLoadBalancerRequest" }, "output": { - "target": "com.amazonaws.lightsail#DetachInstancesFromLoadBalancerResult" + "target": "com.amazonaws.lightsail#DeleteLoadBalancerResult" }, "errors": [ { @@ -4750,34 +5283,27 @@ } ], "traits": { - "smithy.api#documentation": "

                Detaches the specified instances from a Lightsail load balancer.

                \n

                This operation waits until the instances are no longer needed before they are detached\n from the load balancer.

                \n

                The detach instances from load balancer operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the\n load balancer is deleted, you will need to create a new load balancer, create a new\n certificate, and verify domain ownership again.

                \n

                The delete load balancer operation supports tag-based access control via\n resource tags applied to the resource identified by load balancer name. For more\n information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DetachInstancesFromLoadBalancer", + "uri": "/ls/api/2016-11-28/DeleteLoadBalancer", "code": 200 } } }, - "com.amazonaws.lightsail#DetachInstancesFromLoadBalancerRequest": { + "com.amazonaws.lightsail#DeleteLoadBalancerRequest": { "type": "structure", "members": { - "instanceNames": { - "target": "com.amazonaws.lightsail#ResourceNameList", - "traits": { - "smithy.api#documentation": "

                An array of strings containing the names of the instances you want to detach from the load\n balancer.

                ", - "smithy.api#required": {} - } - }, "loadBalancerName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the Lightsail load balancer.

                ", + "smithy.api#documentation": "

                The name of the load balancer you want to delete.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DetachInstancesFromLoadBalancerResult": { + "com.amazonaws.lightsail#DeleteLoadBalancerResult": { "type": "structure", "members": { "operations": { @@ -4788,13 +5314,13 @@ } } }, - "com.amazonaws.lightsail#DetachStaticIp": { + "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificate": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DetachStaticIpRequest" + "target": "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificateRequest" }, "output": { - "target": "com.amazonaws.lightsail#DetachStaticIpResult" + "target": "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificateResult" }, "errors": [ { @@ -4820,27 +5346,40 @@ } ], "traits": { - "smithy.api#documentation": "

                Detaches a static IP from the Amazon Lightsail instance to which it is attached.

                ", + "smithy.api#documentation": "

                Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

                \n

                The DeleteLoadBalancerTlsCertificate operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DetachStaticIp", + "uri": "/ls/api/2016-11-28/DeleteLoadBalancerTlsCertificate", "code": 200 } } }, - "com.amazonaws.lightsail#DetachStaticIpRequest": { + "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificateRequest": { "type": "structure", "members": { - "staticIpName": { + "loadBalancerName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the static IP to detach from the instance.

                ", + "smithy.api#documentation": "

                The load balancer name.

                ", + "smithy.api#required": {} + } + }, + "certificateName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The SSL/TLS certificate name.

                ", "smithy.api#required": {} } + }, + "force": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                When true, forces the deletion of an SSL/TLS certificate.

                \n

                There can be two certificates associated with a Lightsail load balancer: the primary and\n the backup. The force parameter is required when the primary SSL/TLS certificate\n is in use by an instance attached to the load balancer.

                " + } } } }, - "com.amazonaws.lightsail#DetachStaticIpResult": { + "com.amazonaws.lightsail#DeleteLoadBalancerTlsCertificateResult": { "type": "structure", "members": { "operations": { @@ -4851,18 +5390,21 @@ } } }, - "com.amazonaws.lightsail#DisableAddOn": { + "com.amazonaws.lightsail#DeleteRelationalDatabase": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DisableAddOnRequest" + "target": "com.amazonaws.lightsail#DeleteRelationalDatabaseRequest" }, "output": { - "target": "com.amazonaws.lightsail#DisableAddOnResult" + "target": "com.amazonaws.lightsail#DeleteRelationalDatabaseResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -4880,34 +5422,39 @@ } ], "traits": { - "smithy.api#documentation": "

                Disables an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Deletes a database in Amazon Lightsail.

                \n

                The delete relational database operation supports tag-based access control\n via resource tags applied to the resource identified by relationalDatabaseName. For more\n information, see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/DisableAddOn", + "uri": "/ls/api/2016-11-28/DeleteRelationalDatabase", "code": 200 } } }, - "com.amazonaws.lightsail#DisableAddOnRequest": { + "com.amazonaws.lightsail#DeleteRelationalDatabaseRequest": { "type": "structure", "members": { - "addOnType": { - "target": "com.amazonaws.lightsail#AddOnType", + "finalRelationalDatabaseSnapshotName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The add-on type to disable.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The name of the database snapshot created if skip final snapshot is\n false, which is the default value for that parameter.

                \n \n

                Specifying this parameter and also specifying the skip final snapshot\n parameter to true results in an error.

                \n
                \n

                Constraints:

                \n
                  \n
                • \n

                  Must contain from 2 to 255 alphanumeric characters, or hyphens.

                  \n
                • \n
                • \n

                  The first and last character must be a letter or number.

                  \n
                • \n
                " } }, - "resourceName": { + "skipFinalSnapshot": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                Determines whether a final database snapshot is created before your database is deleted.\n If true is specified, no database snapshot is created. If false is\n specified, a database snapshot is created before your database is deleted.

                \n

                You must specify the final relational database snapshot name parameter if the\n skip final snapshot parameter is false.

                \n

                Default: false\n

                " + } + }, + "relationalDatabaseName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the source resource for which to disable the add-on.

                ", + "smithy.api#documentation": "

                The name of the database that you are deleting.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#DisableAddOnResult": { + "com.amazonaws.lightsail#DeleteRelationalDatabaseResult": { "type": "structure", "members": { "operations": { @@ -4918,19 +5465,425 @@ } } }, - "com.amazonaws.lightsail#Disk": { - "type": "structure", - "members": { - "addOns": { - "target": "com.amazonaws.lightsail#AddOnList", - "traits": { - "smithy.api#documentation": "

                An array of objects representing the add-ons enabled on the disk.

                " - } + "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshot": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshotRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshotResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Deletes a database snapshot in Amazon Lightsail.

                \n

                The delete relational database snapshot operation supports tag-based access\n control via resource tags applied to the resource identified by relationalDatabaseName. For\n more information, see the Lightsail Dev Guide.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/DeleteRelationalDatabaseSnapshot", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshotRequest": { + "type": "structure", + "members": { + "relationalDatabaseSnapshotName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the database snapshot that you are deleting.

                ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#DeleteRelationalDatabaseSnapshotResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#DestinationInfo": { + "type": "structure", + "members": { + "service": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The destination service of the record.

                " + } + }, + "id": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The ID of the resource created at the destination.

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Describes the destination of a record.

                " + } + }, + "com.amazonaws.lightsail#DetachCertificateFromDistribution": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DetachCertificateFromDistributionRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DetachCertificateFromDistributionResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                After the certificate is detached, your distribution stops accepting traffic for all of\n the domains that are associated with the certificate.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/DetachCertificateFromDistribution", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#DetachCertificateFromDistributionRequest": { + "type": "structure", + "members": { + "distributionName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the distribution from which to detach the certificate.

                \n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#DetachCertificateFromDistributionResult": { + "type": "structure", + "members": { + "operation": { + "target": "com.amazonaws.lightsail#Operation", + "traits": { + "smithy.api#documentation": "

                An object that describes the result of the action, such as the status of the request, the\n timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#DetachDisk": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DetachDiskRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DetachDiskResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount\n any file systems on the device within your operating system before stopping the instance and\n detaching the disk.

                \n

                The detach disk operation supports tag-based access control via resource tags\n applied to the resource identified by disk name. For more information, see the\n Lightsail Dev Guide.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/DetachDisk", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#DetachDiskRequest": { + "type": "structure", + "members": { + "diskName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The unique name of the disk you want to detach from your instance (e.g.,\n my-disk).

                ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#DetachDiskResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#DetachInstancesFromLoadBalancer": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DetachInstancesFromLoadBalancerRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DetachInstancesFromLoadBalancerResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Detaches the specified instances from a Lightsail load balancer.

                \n

                This operation waits until the instances are no longer needed before they are detached\n from the load balancer.

                \n

                The detach instances from load balancer operation supports tag-based access\n control via resource tags applied to the resource identified by load balancer\n name. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/DetachInstancesFromLoadBalancer", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#DetachInstancesFromLoadBalancerRequest": { + "type": "structure", + "members": { + "loadBalancerName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the Lightsail load balancer.

                ", + "smithy.api#required": {} + } + }, + "instanceNames": { + "target": "com.amazonaws.lightsail#ResourceNameList", + "traits": { + "smithy.api#documentation": "

                An array of strings containing the names of the instances you want to detach from the load\n balancer.

                ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#DetachInstancesFromLoadBalancerResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#DetachStaticIp": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DetachStaticIpRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DetachStaticIpResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Detaches a static IP from the Amazon Lightsail instance to which it is attached.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/DetachStaticIp", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#DetachStaticIpRequest": { + "type": "structure", + "members": { + "staticIpName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the static IP to detach from the instance.

                ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#DetachStaticIpResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#DisableAddOn": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DisableAddOnRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DisableAddOnResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Disables an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/DisableAddOn", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#DisableAddOnRequest": { + "type": "structure", + "members": { + "resourceName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the source resource for which to disable the add-on.

                ", + "smithy.api#required": {} + } + }, + "addOnType": { + "target": "com.amazonaws.lightsail#AddOnType", + "traits": { + "smithy.api#documentation": "

                The add-on type to disable.

                ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#DisableAddOnResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#Disk": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The unique name of the disk.

                " + } + }, + "iops": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " + "smithy.api#documentation": "

                The input/output operations per second (IOPS) of the disk.

                " } }, "isAttached": { @@ -4939,10 +5892,35 @@ "smithy.api#documentation": "

                A Boolean value indicating whether the disk is attached.

                " } }, - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "attachmentState": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The AWS Region and Availability Zone where the disk is located.

                " + "smithy.api#deprecated": {}, + "smithy.api#documentation": "

                (Deprecated) The attachment state of the disk.

                \n \n

                In releases prior to November 14, 2017, this parameter returned attached\n for system disks in the API response. It is now deprecated, but still included in the\n response. Use isAttached instead.

                \n
                " + } + }, + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                The date when the disk was created.

                " + } + }, + "isSystemDisk": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                A Boolean value indicating whether this disk is a system disk (has an operating system\n loaded on it).

                " + } + }, + "addOns": { + "target": "com.amazonaws.lightsail#AddOnList", + "traits": { + "smithy.api#documentation": "

                An array of objects representing the add-ons enabled on the disk.

                " + } + }, + "tags": { + "target": "com.amazonaws.lightsail#TagList", + "traits": { + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, "state": { @@ -4951,16 +5929,34 @@ "smithy.api#documentation": "

                Describes the status of the disk.

                " } }, - "iops": { + "attachedTo": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The resources to which the disk is attached.

                " + } + }, + "sizeInGb": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The input/output operations per second (IOPS) of the disk.

                " + "smithy.api#documentation": "

                The size of the disk in GB.

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The Lightsail resource type (e.g., Disk).

                " + "smithy.api#documentation": "

                The AWS Region and Availability Zone where the disk is located.

                " + } + }, + "path": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The disk path.

                " + } + }, + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the disk.

                " } }, "gbInUse": { @@ -4970,28 +5966,112 @@ "smithy.api#documentation": "

                (Deprecated) The number of GB in use by the disk.

                \n \n

                In releases prior to November 14, 2017, this parameter was not included in the API\n response. It is now deprecated.

                \n
                " } }, + "supportCode": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " + } + }, + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", + "traits": { + "smithy.api#documentation": "

                The Lightsail resource type (e.g., Disk).

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Describes a system disk or a block storage disk.

                " + } + }, + "com.amazonaws.lightsail#DiskInfo": { + "type": "structure", + "members": { "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The unique name of the disk.

                " + "smithy.api#documentation": "

                The disk name.

                " } }, - "arn": { + "sizeInGb": { + "target": "com.amazonaws.lightsail#integer", + "traits": { + "smithy.api#documentation": "

                The size of the disk in GB (e.g., 32).

                " + } + }, + "path": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the disk.

                " + "smithy.api#documentation": "

                The disk path.

                " } }, - "attachedTo": { + "isSystemDisk": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                A Boolean value indicating whether this disk is a system disk (has an operating system\n loaded on it).

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Describes a disk.

                " + } + }, + "com.amazonaws.lightsail#DiskInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#DiskInfo" + } + }, + "com.amazonaws.lightsail#DiskList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#Disk" + } + }, + "com.amazonaws.lightsail#DiskMap": { + "type": "structure", + "members": { + "originalDiskPath": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The original disk path exposed to the instance (for example,\n /dev/sdh).

                " + } + }, + "newDiskName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The resources to which the disk is attached.

                " + "smithy.api#documentation": "

                The new disk name (e.g., my-new-disk).

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Describes a block storage disk mapping.

                " + } + }, + "com.amazonaws.lightsail#DiskMapList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#DiskMap" + } + }, + "com.amazonaws.lightsail#DiskSnapshot": { + "type": "structure", + "members": { + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", + "traits": { + "smithy.api#documentation": "

                The AWS Region and Availability Zone where the disk snapshot was created.

                " } }, - "path": { + "progress": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The disk path.

                " + "smithy.api#documentation": "

                The progress of the disk snapshot operation.

                " + } + }, + "name": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the disk snapshot (e.g., my-disk-snapshot).

                " } }, "sizeInGb": { @@ -5000,23 +6080,64 @@ "smithy.api#documentation": "

                The size of the disk in GB.

                " } }, + "fromInstanceArn": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the source instance from which the disk (system volume)\n snapshot was created.

                " + } + }, + "supportCode": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " + } + }, + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the disk snapshot.

                " + } + }, + "state": { + "target": "com.amazonaws.lightsail#DiskSnapshotState", + "traits": { + "smithy.api#documentation": "

                The status of the disk snapshot operation.

                " + } + }, "createdAt": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The date when the disk was created.

                " + "smithy.api#documentation": "

                The date when the disk snapshot was created.

                " } }, - "attachmentState": { - "target": "com.amazonaws.lightsail#string", + "fromInstanceName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#deprecated": {}, - "smithy.api#documentation": "

                (Deprecated) The attachment state of the disk.

                \n \n

                In releases prior to November 14, 2017, this parameter returned attached\n for system disks in the API response. It is now deprecated, but still included in the\n response. Use isAttached instead.

                \n
                " + "smithy.api#documentation": "

                The unique name of the source instance from which the disk (system volume) snapshot was\n created.

                " } }, - "isSystemDisk": { + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", + "traits": { + "smithy.api#documentation": "

                The Lightsail resource type (e.g., DiskSnapshot).

                " + } + }, + "fromDiskName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The unique name of the source disk from which the disk snapshot was created.

                " + } + }, + "isFromAutoSnapshot": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether this disk is a system disk (has an operating system\n loaded on it).

                " + "smithy.api#documentation": "

                A Boolean value indicating whether the snapshot was created from an automatic\n snapshot.

                " + } + }, + "fromDiskArn": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was\n created.

                " } }, "tags": { @@ -5024,107 +6145,194 @@ "traits": { "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } - } - }, + } + }, + "traits": { + "smithy.api#documentation": "

                Describes a block storage disk snapshot.

                " + } + }, + "com.amazonaws.lightsail#DiskSnapshotInfo": { + "type": "structure", + "members": { + "sizeInGb": { + "target": "com.amazonaws.lightsail#integer", + "traits": { + "smithy.api#documentation": "

                The size of the disk in GB (e.g., 32).

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Describes a disk snapshot.

                " + } + }, + "com.amazonaws.lightsail#DiskSnapshotList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#DiskSnapshot" + } + }, + "com.amazonaws.lightsail#DiskSnapshotState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "pending", + "name": "Pending" + }, + { + "value": "completed", + "name": "Completed" + }, + { + "value": "error", + "name": "Error" + }, + { + "value": "unknown", + "name": "Unknown" + } + ] + } + }, + "com.amazonaws.lightsail#DiskState": { + "type": "string", "traits": { - "smithy.api#documentation": "

                Describes a system disk or a block storage disk.

                " + "smithy.api#enum": [ + { + "value": "pending", + "name": "Pending" + }, + { + "value": "error", + "name": "Error" + }, + { + "value": "available", + "name": "Available" + }, + { + "value": "in-use", + "name": "InUse" + }, + { + "value": "unknown", + "name": "Unknown" + } + ] } }, - "com.amazonaws.lightsail#DiskInfo": { + "com.amazonaws.lightsail#DistributionBundle": { "type": "structure", "members": { - "sizeInGb": { - "target": "com.amazonaws.lightsail#integer", + "name": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The size of the disk in GB (e.g., 32).

                " + "smithy.api#documentation": "

                The name of the distribution bundle.

                " } }, - "path": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "isActive": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The disk path.

                " + "smithy.api#documentation": "

                Indicates whether the bundle is active, and can be specified for a new\n distribution.

                " } }, - "isSystemDisk": { - "target": "com.amazonaws.lightsail#boolean", + "transferPerMonthInGb": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether this disk is a system disk (has an operating system\n loaded on it).

                " + "smithy.api#documentation": "

                The monthly network transfer quota of the bundle.

                " } }, - "name": { + "bundleId": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The disk name.

                " + "smithy.api#documentation": "

                The ID of the bundle.

                " + } + }, + "price": { + "target": "com.amazonaws.lightsail#float", + "traits": { + "smithy.api#documentation": "

                The monthly price, in US dollars, of the bundle.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes a disk.

                " + "smithy.api#documentation": "

                Describes the specifications of a distribution bundle.

                " } }, - "com.amazonaws.lightsail#DiskInfoList": { + "com.amazonaws.lightsail#DistributionBundleList": { "type": "list", "member": { - "target": "com.amazonaws.lightsail#DiskInfo" + "target": "com.amazonaws.lightsail#DistributionBundle" } }, - "com.amazonaws.lightsail#DiskList": { + "com.amazonaws.lightsail#DistributionList": { "type": "list", "member": { - "target": "com.amazonaws.lightsail#Disk" + "target": "com.amazonaws.lightsail#LightsailDistribution" } }, - "com.amazonaws.lightsail#DiskMap": { + "com.amazonaws.lightsail#DistributionMetricName": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Requests", + "name": "Requests" + }, + { + "value": "BytesDownloaded", + "name": "BytesDownloaded" + }, + { + "value": "BytesUploaded", + "name": "BytesUploaded" + }, + { + "value": "TotalErrorRate", + "name": "TotalErrorRate" + }, + { + "value": "Http4xxErrorRate", + "name": "Http4xxErrorRate" + }, + { + "value": "Http5xxErrorRate", + "name": "Http5xxErrorRate" + } + ] + } + }, + "com.amazonaws.lightsail#Domain": { "type": "structure", "members": { - "originalDiskPath": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "supportCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The original disk path exposed to the instance (for example,\n /dev/sdh).

                " + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " } }, - "newDiskName": { - "target": "com.amazonaws.lightsail#ResourceName", + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The new disk name (e.g., my-new-disk).

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the domain recordset (e.g.,\n arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).

                " } - } - }, - "traits": { - "smithy.api#documentation": "

                Describes a block storage disk mapping.

                " - } - }, - "com.amazonaws.lightsail#DiskMapList": { - "type": "list", - "member": { - "target": "com.amazonaws.lightsail#DiskMap" - } - }, - "com.amazonaws.lightsail#DiskSnapshot": { - "type": "structure", - "members": { - "state": { - "target": "com.amazonaws.lightsail#DiskSnapshotState", + }, + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The status of the disk snapshot operation.

                " + "smithy.api#documentation": "

                The date when the domain recordset was created.

                " } }, - "sizeInGb": { - "target": "com.amazonaws.lightsail#integer", + "domainEntries": { + "target": "com.amazonaws.lightsail#DomainEntryList", "traits": { - "smithy.api#documentation": "

                The size of the disk in GB.

                " + "smithy.api#documentation": "

                An array of key-value pairs containing information about the domain entries.

                " } }, "location": { "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The AWS Region and Availability Zone where the disk snapshot was created.

                " - } - }, - "fromDiskArn": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was\n created.

                " + "smithy.api#documentation": "

                The AWS Region and Availability Zones where the domain recordset was created.

                " } }, "tags": { @@ -5133,400 +6341,593 @@ "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the disk snapshot (e.g., my-disk-snapshot).

                " - } - }, - "progress": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The progress of the disk snapshot operation.

                " - } - }, - "fromDiskName": { - "target": "com.amazonaws.lightsail#ResourceName", + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", "traits": { - "smithy.api#documentation": "

                The unique name of the source disk from which the disk snapshot was created.

                " + "smithy.api#documentation": "

                The resource type.

                " } }, - "fromInstanceName": { + "name": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The unique name of the source instance from which the disk (system volume) snapshot was\n created.

                " + "smithy.api#documentation": "

                The name of the domain.

                " } - }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + } + }, + "traits": { + "smithy.api#documentation": "

                Describes a domain where you are storing recordsets in Lightsail.

                " + } + }, + "com.amazonaws.lightsail#DomainEntry": { + "type": "structure", + "members": { + "target": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The date when the disk snapshot was created.

                " + "smithy.api#documentation": "

                The target AWS name server (e.g., ns-111.awsdns-22.com.).

                \n

                For Lightsail load balancers, the value looks like\n ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com. Be sure\n to also set isAlias to true when setting up an A record for a load\n balancer.

                " } }, - "isFromAutoSnapshot": { + "isAlias": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether the snapshot was created from an automatic\n snapshot.

                " + "smithy.api#documentation": "

                When true, specifies whether the domain entry is an alias used by the\n Lightsail load balancer. You can include an alias (A type) record in your request, which\n points to a load balancer DNS name and routes traffic to your load balancer.

                " } }, - "fromInstanceArn": { + "id": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the source instance from which the disk (system volume)\n snapshot was created.

                " + "smithy.api#documentation": "

                The ID of the domain recordset entry.

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "options": { + "target": "com.amazonaws.lightsail#DomainEntryOptions", "traits": { - "smithy.api#documentation": "

                The Lightsail resource type (e.g., DiskSnapshot).

                " + "smithy.api#deprecated": {}, + "smithy.api#documentation": "

                (Deprecated) The options for the domain entry.

                \n \n

                In releases prior to November 29, 2017, this parameter was not included in the API\n response. It is now deprecated.

                \n
                " } }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "name": { + "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the disk snapshot.

                " + "smithy.api#documentation": "

                The name of the domain.

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "type": { + "target": "com.amazonaws.lightsail#DomainEntryType", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " + "smithy.api#documentation": "

                The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger\n (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).

                \n

                The following domain entry types can be used:

                \n
                  \n
                • \n

                  \n A\n

                  \n
                • \n
                • \n

                  \n CNAME\n

                  \n
                • \n
                • \n

                  \n MX\n

                  \n
                • \n
                • \n

                  \n NS\n

                  \n
                • \n
                • \n

                  \n SOA\n

                  \n
                • \n
                • \n

                  \n SRV\n

                  \n
                • \n
                • \n

                  \n TXT\n

                  \n
                • \n
                " } } }, "traits": { - "smithy.api#documentation": "

                Describes a block storage disk snapshot.

                " + "smithy.api#documentation": "

                Describes a domain recordset entry.

                " + } + }, + "com.amazonaws.lightsail#DomainEntryList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#DomainEntry" + } + }, + "com.amazonaws.lightsail#DomainEntryOptions": { + "type": "map", + "key": { + "target": "com.amazonaws.lightsail#DomainEntryOptionsKeys" + }, + "value": { + "target": "com.amazonaws.lightsail#string" + } + }, + "com.amazonaws.lightsail#DomainEntryOptionsKeys": { + "type": "string" + }, + "com.amazonaws.lightsail#DomainEntryType": { + "type": "string" + }, + "com.amazonaws.lightsail#DomainList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#Domain" + } + }, + "com.amazonaws.lightsail#DomainName": { + "type": "string" + }, + "com.amazonaws.lightsail#DomainNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#DomainName" } }, - "com.amazonaws.lightsail#DiskSnapshotInfo": { + "com.amazonaws.lightsail#DomainValidationRecord": { "type": "structure", "members": { - "sizeInGb": { - "target": "com.amazonaws.lightsail#integer", + "domainName": { + "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                The size of the disk in GB (e.g., 32).

                " + "smithy.api#documentation": "

                The domain name of the certificate validation record. For example,\n example.com or www.example.com.

                " + } + }, + "resourceRecord": { + "target": "com.amazonaws.lightsail#ResourceRecord", + "traits": { + "smithy.api#documentation": "

                An object that describes the DNS records to add to your domain's DNS to validate it for\n the certificate.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes a disk snapshot.

                " + "smithy.api#documentation": "

                Describes the domain validation records of an Amazon Lightsail SSL/TLS certificate.

                " } }, - "com.amazonaws.lightsail#DiskSnapshotList": { + "com.amazonaws.lightsail#DomainValidationRecordList": { "type": "list", "member": { - "target": "com.amazonaws.lightsail#DiskSnapshot" + "target": "com.amazonaws.lightsail#DomainValidationRecord" } }, - "com.amazonaws.lightsail#DiskSnapshotState": { - "type": "string", + "com.amazonaws.lightsail#DownloadDefaultKeyPair": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#DownloadDefaultKeyPairRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#DownloadDefaultKeyPairResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], "traits": { - "smithy.api#enum": [ - { - "value": "pending", - "name": "Pending" - }, - { - "value": "completed", - "name": "Completed" - }, - { - "value": "error", - "name": "Error" - }, - { - "value": "unknown", - "name": "Unknown" + "smithy.api#documentation": "

                Downloads the default SSH key pair from the user's account.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/DownloadDefaultKeyPair", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#DownloadDefaultKeyPairRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.lightsail#DownloadDefaultKeyPairResult": { + "type": "structure", + "members": { + "privateKeyBase64": { + "target": "com.amazonaws.lightsail#Base64", + "traits": { + "smithy.api#documentation": "

                A base64-encoded RSA private key.

                " } - ] + }, + "publicKeyBase64": { + "target": "com.amazonaws.lightsail#Base64", + "traits": { + "smithy.api#documentation": "

                A base64-encoded public key of the ssh-rsa type.

                " + } + } } }, - "com.amazonaws.lightsail#DiskState": { - "type": "string", + "com.amazonaws.lightsail#EligibleToRenew": { + "type": "string" + }, + "com.amazonaws.lightsail#EnableAddOn": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#EnableAddOnRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#EnableAddOnResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], "traits": { - "smithy.api#enum": [ - { - "value": "pending", - "name": "Pending" - }, - { - "value": "error", - "name": "Error" - }, - { - "value": "available", - "name": "Available" - }, - { - "value": "in-use", - "name": "InUse" - }, - { - "value": "unknown", - "name": "Unknown" - } - ] + "smithy.api#documentation": "

                Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see\n the Lightsail Dev Guide.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/EnableAddOn", + "code": 200 + } } }, - "com.amazonaws.lightsail#DistributionBundle": { + "com.amazonaws.lightsail#EnableAddOnRequest": { "type": "structure", "members": { - "isActive": { - "target": "com.amazonaws.lightsail#boolean", + "resourceName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                Indicates whether the bundle is active, and can be specified for a new\n distribution.

                " + "smithy.api#documentation": "

                The name of the source resource for which to enable or modify the add-on.

                ", + "smithy.api#required": {} } }, - "transferPerMonthInGb": { - "target": "com.amazonaws.lightsail#integer", + "addOnRequest": { + "target": "com.amazonaws.lightsail#AddOnRequest", "traits": { - "smithy.api#documentation": "

                The monthly network transfer quota of the bundle.

                " + "smithy.api#documentation": "

                An array of strings representing the add-on to enable or modify.

                ", + "smithy.api#required": {} } - }, - "name": { + } + } + }, + "com.amazonaws.lightsail#EnableAddOnResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } + }, + "com.amazonaws.lightsail#EndpointRequest": { + "type": "structure", + "members": { + "containerName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the distribution bundle.

                " + "smithy.api#documentation": "

                The name of the container for the endpoint.

                ", + "smithy.api#required": {} } }, - "price": { - "target": "com.amazonaws.lightsail#float", + "containerPort": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The monthly price, in US dollars, of the bundle.

                " + "smithy.api#documentation": "

                The port of the container to which traffic is forwarded to.

                ", + "smithy.api#required": {} } }, - "bundleId": { - "target": "com.amazonaws.lightsail#string", + "healthCheck": { + "target": "com.amazonaws.lightsail#ContainerServiceHealthCheckConfig", "traits": { - "smithy.api#documentation": "

                The ID of the bundle.

                " + "smithy.api#documentation": "

                An object that describes the health check configuration of the container.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes the specifications of a distribution bundle.

                " - } - }, - "com.amazonaws.lightsail#DistributionBundleList": { - "type": "list", - "member": { - "target": "com.amazonaws.lightsail#DistributionBundle" + "smithy.api#documentation": "

                Describes the settings of a public endpoint for an Amazon Lightsail container\n service.

                " } }, - "com.amazonaws.lightsail#DistributionList": { - "type": "list", - "member": { - "target": "com.amazonaws.lightsail#LightsailDistribution" + "com.amazonaws.lightsail#Environment": { + "type": "map", + "key": { + "target": "com.amazonaws.lightsail#string" + }, + "value": { + "target": "com.amazonaws.lightsail#string" } }, - "com.amazonaws.lightsail#DistributionMetricName": { - "type": "string", + "com.amazonaws.lightsail#ExportSnapshot": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#ExportSnapshotRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#ExportSnapshotResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], "traits": { - "smithy.api#enum": [ - { - "value": "Requests", - "name": "Requests" - }, - { - "value": "BytesDownloaded", - "name": "BytesDownloaded" - }, - { - "value": "BytesUploaded", - "name": "BytesUploaded" - }, - { - "value": "TotalErrorRate", - "name": "TotalErrorRate" - }, - { - "value": "Http4xxErrorRate", - "name": "Http4xxErrorRate" - }, - { - "value": "Http5xxErrorRate", - "name": "Http5xxErrorRate" - } - ] + "smithy.api#documentation": "

                Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2).\n This operation results in an export snapshot record that can be used with the create\n cloud formation stack operation to create new Amazon EC2 instances.

                \n

                Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the\n instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in\n Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the\n source Lightsail snapshot.

                \n

                \n

                The export snapshot operation supports tag-based access control via resource\n tags applied to the resource identified by source snapshot name. For more\n information, see the Lightsail Dev Guide.

                \n \n

                Use the get instance snapshots or get disk snapshots\n operations to get a list of snapshots that you can export to Amazon EC2.

                \n
                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/ExportSnapshot", + "code": 200 + } } }, - "com.amazonaws.lightsail#Domain": { + "com.amazonaws.lightsail#ExportSnapshotRecord": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "sourceInfo": { + "target": "com.amazonaws.lightsail#ExportSnapshotRecordSourceInfo", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + "smithy.api#documentation": "

                A list of objects describing the source of the export snapshot record.

                " + } + }, + "destinationInfo": { + "target": "com.amazonaws.lightsail#DestinationInfo", + "traits": { + "smithy.api#documentation": "

                A list of objects describing the destination of the export snapshot record.

                " } }, "createdAt": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The date when the domain recordset was created.

                " + "smithy.api#documentation": "

                The date when the export snapshot record was created.

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "state": { + "target": "com.amazonaws.lightsail#RecordState", "traits": { - "smithy.api#documentation": "

                The resource type.

                " + "smithy.api#documentation": "

                The state of the export snapshot record.

                " } }, "location": { "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The AWS Region and Availability Zones where the domain recordset was created.

                " - } - }, - "domainEntries": { - "target": "com.amazonaws.lightsail#DomainEntryList", - "traits": { - "smithy.api#documentation": "

                An array of key-value pairs containing information about the domain entries.

                " + "smithy.api#documentation": "

                The AWS Region and Availability Zone where the export snapshot record is located.

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the export snapshot record.

                " } }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the domain recordset (e.g.,\n arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).

                " + "smithy.api#documentation": "

                The Lightsail resource type (e.g., ExportSnapshotRecord).

                " } }, "name": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the domain.

                " + "smithy.api#documentation": "

                The export snapshot record name.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes a domain where you are storing recordsets in Lightsail.

                " + "smithy.api#documentation": "

                Describes an export snapshot record.

                " } }, - "com.amazonaws.lightsail#DomainEntry": { + "com.amazonaws.lightsail#ExportSnapshotRecordList": { + "type": "list", + "member": { + "target": "com.amazonaws.lightsail#ExportSnapshotRecord" + } + }, + "com.amazonaws.lightsail#ExportSnapshotRecordSourceInfo": { "type": "structure", "members": { - "name": { - "target": "com.amazonaws.lightsail#DomainName", + "fromResourceName": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The name of the domain.

                " + "smithy.api#documentation": "

                The name of the snapshot's source instance or disk.

                " } }, - "options": { - "target": "com.amazonaws.lightsail#DomainEntryOptions", + "fromResourceArn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#deprecated": {}, - "smithy.api#documentation": "

                (Deprecated) The options for the domain entry.

                \n \n

                In releases prior to November 29, 2017, this parameter was not included in the API\n response. It is now deprecated.

                \n
                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the snapshot's source instance or disk.

                " } }, - "id": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "instanceSnapshotInfo": { + "target": "com.amazonaws.lightsail#InstanceSnapshotInfo", "traits": { - "smithy.api#documentation": "

                The ID of the domain recordset entry.

                " + "smithy.api#documentation": "

                A list of objects describing an instance snapshot.

                " } }, - "isAlias": { - "target": "com.amazonaws.lightsail#boolean", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                When true, specifies whether the domain entry is an alias used by the\n Lightsail load balancer. You can include an alias (A type) record in your request, which\n points to a load balancer DNS name and routes traffic to your load balancer

                " + "smithy.api#documentation": "

                The date when the source instance or disk snapshot was created.

                " } }, - "target": { - "target": "com.amazonaws.lightsail#string", + "resourceType": { + "target": "com.amazonaws.lightsail#ExportSnapshotRecordSourceType", "traits": { - "smithy.api#documentation": "

                The target AWS name server (e.g., ns-111.awsdns-22.com.).

                \n

                For Lightsail load balancers, the value looks like\n ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com. Be sure\n to also set isAlias to true when setting up an A record for a load\n balancer.

                " + "smithy.api#documentation": "

                The Lightsail resource type (e.g., InstanceSnapshot or\n DiskSnapshot).

                " } }, - "type": { - "target": "com.amazonaws.lightsail#DomainEntryType", + "diskSnapshotInfo": { + "target": "com.amazonaws.lightsail#DiskSnapshotInfo", "traits": { - "smithy.api#documentation": "

                The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger\n (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).

                \n

                The following domain entry types can be used:

                \n
                  \n
                • \n

                  \n A\n

                  \n
                • \n
                • \n

                  \n CNAME\n

                  \n
                • \n
                • \n

                  \n MX\n

                  \n
                • \n
                • \n

                  \n NS\n

                  \n
                • \n
                • \n

                  \n SOA\n

                  \n
                • \n
                • \n

                  \n SRV\n

                  \n
                • \n
                • \n

                  \n TXT\n

                  \n
                • \n
                " + "smithy.api#documentation": "

                A list of objects describing a disk snapshot.

                " + } + }, + "name": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The name of the source instance or disk snapshot.

                " + } + }, + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the source instance or disk snapshot.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes a domain recordset entry.

                " + "smithy.api#documentation": "

                Describes the source of an export snapshot record.

                " } }, - "com.amazonaws.lightsail#DomainEntryList": { - "type": "list", - "member": { - "target": "com.amazonaws.lightsail#DomainEntry" + "com.amazonaws.lightsail#ExportSnapshotRecordSourceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "InstanceSnapshot", + "name": "InstanceSnapshot" + }, + { + "value": "DiskSnapshot", + "name": "DiskSnapshot" + } + ] } }, - "com.amazonaws.lightsail#DomainEntryOptions": { - "type": "map", - "key": { - "target": "com.amazonaws.lightsail#DomainEntryOptionsKeys" - }, - "value": { - "target": "com.amazonaws.lightsail#string" + "com.amazonaws.lightsail#ExportSnapshotRequest": { + "type": "structure", + "members": { + "sourceSnapshotName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the instance or disk snapshot to be exported to Amazon EC2.

                ", + "smithy.api#required": {} + } + } } }, - "com.amazonaws.lightsail#DomainEntryOptionsKeys": { - "type": "string" - }, - "com.amazonaws.lightsail#DomainEntryType": { - "type": "string" + "com.amazonaws.lightsail#ExportSnapshotResult": { + "type": "structure", + "members": { + "operations": { + "target": "com.amazonaws.lightsail#OperationList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + } + } + } }, - "com.amazonaws.lightsail#DomainList": { - "type": "list", - "member": { - "target": "com.amazonaws.lightsail#Domain" + "com.amazonaws.lightsail#ForwardValues": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "none", + "name": "none" + }, + { + "value": "allow-list", + "name": "allowList" + }, + { + "value": "all", + "name": "all" + } + ] } }, - "com.amazonaws.lightsail#DomainName": { - "type": "string" + "com.amazonaws.lightsail#GetActiveNames": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#GetActiveNamesRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#GetActiveNamesResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Returns the names of all active (not deleted) resources.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/GetActiveNames", + "code": 200 + } + } }, - "com.amazonaws.lightsail#DomainNameList": { - "type": "list", - "member": { - "target": "com.amazonaws.lightsail#DomainName" + "com.amazonaws.lightsail#GetActiveNamesRequest": { + "type": "structure", + "members": { + "pageToken": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetActiveNames request. If your\n results are paginated, the response will return a next page token that you can specify as the\n page token in a subsequent request.

                " + } + } } }, - "com.amazonaws.lightsail#DomainValidationRecord": { + "com.amazonaws.lightsail#GetActiveNamesResult": { "type": "structure", "members": { - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", + "activeNames": { + "target": "com.amazonaws.lightsail#StringList", "traits": { - "smithy.api#documentation": "

                The domain name of the certificate validation record. For example,\n example.com or www.example.com.

                " + "smithy.api#documentation": "

                The list of active names returned by the get active names request.

                " } }, - "resourceRecord": { - "target": "com.amazonaws.lightsail#ResourceRecord", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An object that describes the DNS records to add to your domain's DNS to validate it for\n the certificate.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetActiveNames request and\n specify the next page token using the pageToken parameter.

                " } } - }, - "traits": { - "smithy.api#documentation": "

                Describes the domain validation records of an Amazon Lightsail SSL/TLS certificate.

                " - } - }, - "com.amazonaws.lightsail#DomainValidationRecordList": { - "type": "list", - "member": { - "target": "com.amazonaws.lightsail#DomainValidationRecord" } }, - "com.amazonaws.lightsail#DownloadDefaultKeyPair": { + "com.amazonaws.lightsail#GetAlarms": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#DownloadDefaultKeyPairRequest" + "target": "com.amazonaws.lightsail#GetAlarmsRequest" }, "output": { - "target": "com.amazonaws.lightsail#DownloadDefaultKeyPairResult" + "target": "com.amazonaws.lightsail#GetAlarmsResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, @@ -5544,45 +6945,61 @@ } ], "traits": { - "smithy.api#documentation": "

                Downloads the default SSH key pair from the user's account.

                ", + "smithy.api#documentation": "

                Returns information about the configured alarms. Specify an alarm name in your request to\n return information about a specific alarm, or specify a monitored resource name to return\n information about all alarms for a specific resource.

                \n

                An alarm is used to monitor a single metric for one of your resources. When a metric\n condition is met, the alarm can notify you by email, SMS text message, and a banner displayed\n on the Amazon Lightsail console. For more information, see Alarms\n in Amazon Lightsail.

                ", "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/DownloadDefaultKeyPair", + "method": "GET", + "uri": "/ls/api/2016-11-28/GetAlarms", "code": 200 } } }, - "com.amazonaws.lightsail#DownloadDefaultKeyPairRequest": { + "com.amazonaws.lightsail#GetAlarmsRequest": { "type": "structure", - "members": {} + "members": { + "alarmName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the alarm.

                \n

                Specify an alarm name to return information about a specific alarm.

                " + } + }, + "monitoredResourceName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the Lightsail resource being monitored by the alarm.

                \n

                Specify a monitored resource name to return information about all alarms for a specific\n resource.

                " + } + }, + "pageToken": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetAlarms request. If your results\n are paginated, the response will return a next page token that you can specify as the page\n token in a subsequent request.

                " + } + } + } }, - "com.amazonaws.lightsail#DownloadDefaultKeyPairResult": { + "com.amazonaws.lightsail#GetAlarmsResult": { "type": "structure", "members": { - "publicKeyBase64": { - "target": "com.amazonaws.lightsail#Base64", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                A base64-encoded public key of the ssh-rsa type.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetAlarms request and\n specify the next page token using the pageToken parameter.

                " } }, - "privateKeyBase64": { - "target": "com.amazonaws.lightsail#Base64", + "alarms": { + "target": "com.amazonaws.lightsail#AlarmsList", "traits": { - "smithy.api#documentation": "

                A base64-encoded RSA private key.

                " + "smithy.api#documentation": "

                An array of objects that describe the alarms.

                " } } } }, - "com.amazonaws.lightsail#EligibleToRenew": { - "type": "string" - }, - "com.amazonaws.lightsail#EnableAddOn": { + "com.amazonaws.lightsail#GetAutoSnapshots": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#EnableAddOnRequest" + "target": "com.amazonaws.lightsail#GetAutoSnapshotsRequest" }, "output": { - "target": "com.amazonaws.lightsail#EnableAddOnResult" + "target": "com.amazonaws.lightsail#GetAutoSnapshotsResult" }, "errors": [ { @@ -5605,51 +7022,56 @@ } ], "traits": { - "smithy.api#documentation": "

                Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see\n the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Returns the available automatic snapshots for an instance or disk. For more information,\n see the Lightsail Dev Guide.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/EnableAddOn", + "uri": "/ls/api/2016-11-28/GetAutoSnapshots", "code": 200 } } }, - "com.amazonaws.lightsail#EnableAddOnRequest": { + "com.amazonaws.lightsail#GetAutoSnapshotsRequest": { "type": "structure", "members": { "resourceName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the source resource for which to enable or modify the add-on.

                ", - "smithy.api#required": {} - } - }, - "addOnRequest": { - "target": "com.amazonaws.lightsail#AddOnRequest", - "traits": { - "smithy.api#documentation": "

                An array of strings representing the add-on to enable or modify.

                ", + "smithy.api#documentation": "

                The name of the source instance or disk from which to get automatic snapshot\n information.

                ", "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#EnableAddOnResult": { + "com.amazonaws.lightsail#GetAutoSnapshotsResult": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "autoSnapshots": { + "target": "com.amazonaws.lightsail#AutoSnapshotDetailsList", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An array of objects that describe the automatic snapshots that are available for the\n specified source instance or disk.

                " + } + }, + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", + "traits": { + "smithy.api#documentation": "

                The resource type (e.g., Instance or Disk).

                " + } + }, + "resourceName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the source instance or disk for the automatic snapshots.

                " } } } }, - "com.amazonaws.lightsail#ExportSnapshot": { + "com.amazonaws.lightsail#GetBlueprints": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#ExportSnapshotRequest" + "target": "com.amazonaws.lightsail#GetBlueprintsRequest" }, "output": { - "target": "com.amazonaws.lightsail#ExportSnapshotResult" + "target": "com.amazonaws.lightsail#GetBlueprintsResult" }, "errors": [ { @@ -5675,196 +7097,197 @@ } ], "traits": { - "smithy.api#documentation": "

                Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2).\n This operation results in an export snapshot record that can be used with the create\n cloud formation stack operation to create new Amazon EC2 instances.

                \n

                Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the\n instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in\n Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the\n source Lightsail snapshot.

                \n

                \n

                The export snapshot operation supports tag-based access control via resource\n tags applied to the resource identified by source snapshot name. For more\n information, see the Lightsail Dev Guide.

                \n \n

                Use the get instance snapshots or get disk snapshots\n operations to get a list of snapshots that you can export to Amazon EC2.

                \n
                ", + "smithy.api#documentation": "

                Returns the list of available instance images, or blueprints. You can\n use a blueprint to create a new instance already running a specific operating system, as well\n as a preinstalled app or development stack. The software each instance is running depends on\n the blueprint image you choose.

                \n \n

                Use active blueprints when creating new instances. Inactive blueprints are listed to\n support customers with existing instances and are not necessarily available to create new\n instances. Blueprints are marked inactive when they become outdated due to operating system\n updates or new application releases.

                \n
                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/ExportSnapshot", + "uri": "/ls/api/2016-11-28/GetBlueprints", "code": 200 } } }, - "com.amazonaws.lightsail#ExportSnapshotRecord": { + "com.amazonaws.lightsail#GetBlueprintsRequest": { "type": "structure", "members": { - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "includeInactive": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The AWS Region and Availability Zone where the export snapshot record is located.

                " + "smithy.api#documentation": "

                A Boolean value indicating whether to include inactive results in your request.

                " } }, - "state": { - "target": "com.amazonaws.lightsail#RecordState", + "pageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The state of the export snapshot record.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetBlueprints request. If your\n results are paginated, the response will return a next page token that you can specify as the\n page token in a subsequent request.

                " } - }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + } + } + }, + "com.amazonaws.lightsail#GetBlueprintsResult": { + "type": "structure", + "members": { + "blueprints": { + "target": "com.amazonaws.lightsail#BlueprintList", "traits": { - "smithy.api#documentation": "

                The date when the export snapshot record was created.

                " + "smithy.api#documentation": "

                An array of key-value pairs that contains information about the available\n blueprints.

                " } }, - "destinationInfo": { - "target": "com.amazonaws.lightsail#DestinationInfo", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                A list of objects describing the destination of the export snapshot record.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetBlueprints request and\n specify the next page token using the pageToken parameter.

                " } + } + } + }, + "com.amazonaws.lightsail#GetBundles": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#GetBundlesRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#GetBundlesResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" }, - "sourceInfo": { - "target": "com.amazonaws.lightsail#ExportSnapshotRecordSourceInfo", - "traits": { - "smithy.api#documentation": "

                A list of objects describing the source of the export snapshot record.

                " - } + { + "target": "com.amazonaws.lightsail#AccountSetupInProgressException" }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the export snapshot record.

                " - } + { + "target": "com.amazonaws.lightsail#InvalidInputException" }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", - "traits": { - "smithy.api#documentation": "

                The Lightsail resource type (e.g., ExportSnapshotRecord).

                " - } + { + "target": "com.amazonaws.lightsail#NotFoundException" }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The export snapshot record name.

                " - } + { + "target": "com.amazonaws.lightsail#OperationFailureException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" } - }, + ], "traits": { - "smithy.api#documentation": "

                Describes an export snapshot record.

                " - } - }, - "com.amazonaws.lightsail#ExportSnapshotRecordList": { - "type": "list", - "member": { - "target": "com.amazonaws.lightsail#ExportSnapshotRecord" + "smithy.api#documentation": "

                Returns the list of bundles that are available for purchase. A bundle describes the specs\n for your virtual private server (or instance).

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/GetBundles", + "code": 200 + } } }, - "com.amazonaws.lightsail#ExportSnapshotRecordSourceInfo": { + "com.amazonaws.lightsail#GetBundlesRequest": { "type": "structure", "members": { - "fromResourceArn": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the snapshot's source instance or disk.

                " - } - }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", - "traits": { - "smithy.api#documentation": "

                The date when the source instance or disk snapshot was created.

                " - } - }, - "fromResourceName": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The name of the snapshot's source instance or disk.

                " - } - }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the source instance or disk snapshot.

                " - } - }, - "instanceSnapshotInfo": { - "target": "com.amazonaws.lightsail#InstanceSnapshotInfo", + "pageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                A list of objects describing an instance snapshot.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetBundles request. If your results\n are paginated, the response will return a next page token that you can specify as the page\n token in a subsequent request.

                " } }, - "diskSnapshotInfo": { - "target": "com.amazonaws.lightsail#DiskSnapshotInfo", + "includeInactive": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                A list of objects describing a disk snapshot.

                " + "smithy.api#documentation": "

                A Boolean value that indicates whether to include inactive bundle results in your\n request.

                " } - }, - "name": { - "target": "com.amazonaws.lightsail#NonEmptyString", + } + } + }, + "com.amazonaws.lightsail#GetBundlesResult": { + "type": "structure", + "members": { + "bundles": { + "target": "com.amazonaws.lightsail#BundleList", "traits": { - "smithy.api#documentation": "

                The name of the source instance or disk snapshot.

                " + "smithy.api#documentation": "

                An array of key-value pairs that contains information about the available bundles.

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ExportSnapshotRecordSourceType", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The Lightsail resource type (e.g., InstanceSnapshot or\n DiskSnapshot).

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetBundles request and\n specify the next page token using the pageToken parameter.

                " } } - }, - "traits": { - "smithy.api#documentation": "

                Describes the source of an export snapshot record.

                " } }, - "com.amazonaws.lightsail#ExportSnapshotRecordSourceType": { - "type": "string", + "com.amazonaws.lightsail#GetCertificates": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#GetCertificatesRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#GetCertificatesResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], "traits": { - "smithy.api#enum": [ - { - "value": "InstanceSnapshot", - "name": "InstanceSnapshot" - }, - { - "value": "DiskSnapshot", - "name": "DiskSnapshot" - } - ] + "smithy.api#documentation": "

                Returns information about one or more Amazon Lightsail SSL/TLS certificates.

                \n \n

                To get a summary of a certificate, ommit includeCertificateDetails from\n your request. The response will include only the certificate Amazon Resource Name (ARN),\n certificate name, domain name, and tags.

                \n
                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/GetCertificates", + "code": 200 + } } }, - "com.amazonaws.lightsail#ExportSnapshotRequest": { + "com.amazonaws.lightsail#GetCertificatesRequest": { "type": "structure", "members": { - "sourceSnapshotName": { - "target": "com.amazonaws.lightsail#ResourceName", + "certificateName": { + "target": "com.amazonaws.lightsail#CertificateName", "traits": { - "smithy.api#documentation": "

                The name of the instance or disk snapshot to be exported to Amazon EC2.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The name for the certificate for which to return information.

                \n

                When omitted, the response includes all of your certificates in the AWS Region where the\n request is made.

                " + } + }, + "includeCertificateDetails": { + "target": "com.amazonaws.lightsail#IncludeCertificateDetails", + "traits": { + "smithy.api#documentation": "

                Indicates whether to include detailed information about the certificates in the\n response.

                \n

                When omitted, the response includes only the certificate names, Amazon Resource Names\n (ARNs), domain names, and tags.

                " + } + }, + "certificateStatuses": { + "target": "com.amazonaws.lightsail#CertificateStatusList", + "traits": { + "smithy.api#documentation": "

                The status of the certificates for which to return information.

                \n

                For example, specify ISSUED to return only certificates with an\n ISSUED status.

                \n

                When omitted, the response includes all of your certificates in the AWS Region where the\n request is made, regardless of their current status.

                " } } } }, - "com.amazonaws.lightsail#ExportSnapshotResult": { + "com.amazonaws.lightsail#GetCertificatesResult": { "type": "structure", "members": { - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "certificates": { + "target": "com.amazonaws.lightsail#CertificateSummaryList", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                An object that describes certificates.

                " } } } }, - "com.amazonaws.lightsail#ForwardValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "none", - "name": "none" - }, - { - "value": "allow-list", - "name": "allowList" - }, - { - "value": "all", - "name": "all" - } - ] - } - }, - "com.amazonaws.lightsail#GetActiveNames": { + "com.amazonaws.lightsail#GetCloudFormationStackRecords": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#GetActiveNamesRequest" + "target": "com.amazonaws.lightsail#GetCloudFormationStackRecordsRequest" }, "output": { - "target": "com.amazonaws.lightsail#GetActiveNamesResult" + "target": "com.amazonaws.lightsail#GetCloudFormationStackRecordsResult" }, "errors": [ { @@ -5890,49 +7313,49 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns the names of all active (not deleted) resources.

                ", + "smithy.api#documentation": "

                Returns the CloudFormation stack record created as a result of the create cloud\n formation stack operation.

                \n

                An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail\n snapshot.

                ", "smithy.api#http": { "method": "POST", - "uri": "/ls/api/2016-11-28/GetActiveNames", + "uri": "/ls/api/2016-11-28/GetCloudFormationStackRecords", "code": 200 } } }, - "com.amazonaws.lightsail#GetActiveNamesRequest": { + "com.amazonaws.lightsail#GetCloudFormationStackRecordsRequest": { "type": "structure", "members": { "pageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetActiveNames request. If your\n results are paginated, the response will return a next page token that you can specify as the\n page token in a subsequent request.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetClouFormationStackRecords request.\n If your results are paginated, the response will return a next page token that you can specify\n as the page token in a subsequent request.

                " } } } }, - "com.amazonaws.lightsail#GetActiveNamesResult": { + "com.amazonaws.lightsail#GetCloudFormationStackRecordsResult": { "type": "structure", "members": { - "activeNames": { - "target": "com.amazonaws.lightsail#StringList", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The list of active names returned by the get active names request.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another\n GetCloudFormationStackRecords request and specify the next page token using the\n pageToken parameter.

                " } }, - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", + "cloudFormationStackRecords": { + "target": "com.amazonaws.lightsail#CloudFormationStackRecordList", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetActiveNames request and\n specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                A list of objects describing the CloudFormation stack records.

                " } } } }, - "com.amazonaws.lightsail#GetAlarms": { + "com.amazonaws.lightsail#GetContactMethods": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#GetAlarmsRequest" + "target": "com.amazonaws.lightsail#GetContactMethodsRequest" }, "output": { - "target": "com.amazonaws.lightsail#GetAlarmsResult" + "target": "com.amazonaws.lightsail#GetContactMethodsResult" }, "errors": [ { @@ -5955,61 +7378,86 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns information about the configured alarms. Specify an alarm name in your request to\n return information about a specific alarm, or specify a monitored resource name to return\n information about all alarms for a specific resource.

                \n

                An alarm is used to monitor a single metric for one of your resources. When a metric\n condition is met, the alarm can notify you by email, SMS text message, and a banner displayed\n on the Amazon Lightsail console. For more information, see Alarms\n in Amazon Lightsail.

                ", + "smithy.api#documentation": "

                Returns information about the configured contact methods. Specify a protocol in your\n request to return information about a specific contact method.

                \n

                A contact method is used to send you notifications about your Amazon Lightsail resources.\n You can add one email address and one mobile phone number contact method in each AWS Region.\n However, SMS text messaging is not supported in some AWS Regions, and SMS text messages\n cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

                ", "smithy.api#http": { "method": "GET", - "uri": "/ls/api/2016-11-28/GetAlarms", + "uri": "/ls/api/2016-11-28/GetContactMethods", "code": 200 } } }, - "com.amazonaws.lightsail#GetAlarmsRequest": { + "com.amazonaws.lightsail#GetContactMethodsRequest": { "type": "structure", "members": { - "pageToken": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetAlarms request. If your results\n are paginated, the response will return a next page token that you can specify as the page\n token in a subsequent request.

                " - } - }, - "alarmName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the alarm.

                \n

                Specify an alarm name to return information about a specific alarm.

                " - } - }, - "monitoredResourceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "protocols": { + "target": "com.amazonaws.lightsail#ContactProtocolsList", "traits": { - "smithy.api#documentation": "

                The name of the Lightsail resource being monitored by the alarm.

                \n

                Specify a monitored resource name to return information about all alarms for a specific\n resource.

                " + "smithy.api#documentation": "

                The protocols used to send notifications, such as Email, or SMS\n (text messaging).

                \n

                Specify a protocol in your request to return information about a specific contact method\n protocol.

                " } } } }, - "com.amazonaws.lightsail#GetAlarmsResult": { + "com.amazonaws.lightsail#GetContactMethodsResult": { "type": "structure", "members": { - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", + "contactMethods": { + "target": "com.amazonaws.lightsail#ContactMethodsList", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetAlarms request and\n specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                An array of objects that describe the contact methods.

                " } + } + } + }, + "com.amazonaws.lightsail#GetContainerAPIMetadata": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#GetContainerAPIMetadataRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#GetContainerAPIMetadataResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" }, - "alarms": { - "target": "com.amazonaws.lightsail#AlarmsList", + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Returns information about Amazon Lightsail containers, such as the current version of the\n Lightsail Control (lightsailctl) plugin.

                ", + "smithy.api#http": { + "method": "GET", + "uri": "/ls/api/2016-11-28/container-api-metadata", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#GetContainerAPIMetadataRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.lightsail#GetContainerAPIMetadataResult": { + "type": "structure", + "members": { + "metadata": { + "target": "com.amazonaws.lightsail#ContainerServiceMetadataEntryList", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the alarms.

                " + "smithy.api#documentation": "

                Metadata about Lightsail containers, such as the current version of the Lightsail\n Control (lightsailctl) plugin.

                " } } } }, - "com.amazonaws.lightsail#GetAutoSnapshots": { + "com.amazonaws.lightsail#GetContainerImages": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#GetAutoSnapshotsRequest" + "target": "com.amazonaws.lightsail#GetContainerImagesRequest" }, "output": { - "target": "com.amazonaws.lightsail#GetAutoSnapshotsResult" + "target": "com.amazonaws.lightsail#GetContainerImagesResult" }, "errors": [ { @@ -6021,9 +7469,6 @@ { "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -6032,73 +7477,56 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns the available automatic snapshots for an instance or disk. For more information,\n see the Lightsail Dev Guide.

                ", + "smithy.api#documentation": "

                Returns the container images that are registered to your Amazon Lightsail container\n service.

                \n\n \n

                If you created a deployment on your Lightsail container service that uses container\n images from a public registry like Docker Hub, those images are not returned as part of this\n action. Those images are not registered to your Lightsail container service.

                \n
                ", "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/GetAutoSnapshots", + "method": "GET", + "uri": "/ls/api/2016-11-28/container-services/{serviceName}/images", "code": 200 } } }, - "com.amazonaws.lightsail#GetAutoSnapshotsRequest": { + "com.amazonaws.lightsail#GetContainerImagesRequest": { "type": "structure", "members": { - "resourceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", "traits": { - "smithy.api#documentation": "

                The name of the source instance or disk from which to get automatic snapshot\n information.

                ", + "smithy.api#documentation": "

                The name of the container service for which to return registered container images.

                ", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#GetAutoSnapshotsResult": { + "com.amazonaws.lightsail#GetContainerImagesResult": { "type": "structure", "members": { - "resourceName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the source instance or disk for the automatic snapshots.

                " - } - }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", - "traits": { - "smithy.api#documentation": "

                The resource type (e.g., Instance or Disk).

                " - } - }, - "autoSnapshots": { - "target": "com.amazonaws.lightsail#AutoSnapshotDetailsList", + "containerImages": { + "target": "com.amazonaws.lightsail#ContainerImageList", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the automatic snapshots that are available for the\n specified source instance or disk.

                " + "smithy.api#documentation": "

                An array of objects that describe container images that are registered to the container\n service.

                " } } } }, - "com.amazonaws.lightsail#GetBlueprints": { + "com.amazonaws.lightsail#GetContainerLog": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#GetBlueprintsRequest" + "target": "com.amazonaws.lightsail#GetContainerLogRequest" }, "output": { - "target": "com.amazonaws.lightsail#GetBlueprintsResult" + "target": "com.amazonaws.lightsail#GetContainerLogResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, { "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -6107,72 +7535,98 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns the list of available instance images, or blueprints. You can\n use a blueprint to create a new instance already running a specific operating system, as well\n as a preinstalled app or development stack. The software each instance is running depends on\n the blueprint image you choose.

                \n \n

                Use active blueprints when creating new instances. Inactive blueprints are listed to\n support customers with existing instances and are not necessarily available to create new\n instances. Blueprints are marked inactive when they become outdated due to operating system\n updates or new application releases.

                \n
                ", + "smithy.api#documentation": "

                Returns the log events of a container of your Amazon Lightsail container service.

                \n\n

                If your container service has more than one node (i.e., a scale greater than 1), then the\n log events that are returned for the specified container are merged from all nodes on your\n container service.

                \n\n \n

                Container logs are retained for a certain amount of time. For more information, see\n Amazon Lightsail\n endpoints and quotas in the AWS General Reference.

                \n
                ", "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/GetBlueprints", + "method": "GET", + "uri": "/ls/api/2016-11-28/container-services/{serviceName}/containers/{containerName}/log", "code": 200 } } }, - "com.amazonaws.lightsail#GetBlueprintsRequest": { + "com.amazonaws.lightsail#GetContainerLogRequest": { "type": "structure", "members": { - "includeInactive": { - "target": "com.amazonaws.lightsail#boolean", + "filterPattern": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether to include inactive results in your request.

                " + "smithy.api#documentation": "

                The pattern to use to filter the returned log events to a specific term.

                \n\n

                The following are a few examples of filter patterns that you can specify:

                \n
                  \n
                • \n

                  To return all log events, specify a filter pattern of \"\".

                  \n
                • \n
                • \n

                  To exclude log events that contain the ERROR term, and return all other\n log events, specify a filter pattern of \"-ERROR\".

                  \n
                • \n
                • \n

                  To return log events that contain the ERROR term, specify a filter\n pattern of \"ERROR\".

                  \n
                • \n
                • \n

                  To return log events that contain both the ERROR and\n Exception terms, specify a filter pattern of \"ERROR\n Exception\".

                  \n
                • \n
                • \n

                  To return log events that contain the ERROR\n or the Exception term, specify a filter pattern of\n \"?ERROR ?Exception\".

                  \n
                • \n
                ", + "smithy.api#httpQuery": "filterPattern" } }, "pageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetBlueprints request. If your\n results are paginated, the response will return a next page token that you can specify as the\n page token in a subsequent request.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n\n

                To get a page token, perform an initial GetContainerLog request. If your\n results are paginated, the response will return a next page token that you can specify as the\n page token in a subsequent request.

                ", + "smithy.api#httpQuery": "pageToken" + } + }, + "endTime": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                The end of the time interval for which to get log data.

                \n\n

                Constraints:

                \n\n
                  \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n\n

                  For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify\n 1538427600 as the end time.

                  \n
                • \n
                \n\n

                You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                ", + "smithy.api#httpQuery": "endTime" + } + }, + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", + "traits": { + "smithy.api#documentation": "

                The name of the container service for which to get a container log.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "startTime": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                The start of the time interval for which to get log data.

                \n\n

                Constraints:

                \n\n
                  \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n\n

                  For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify\n 1538424000 as the start time.

                  \n
                • \n
                \n\n

                You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                ", + "smithy.api#httpQuery": "startTime" + } + }, + "containerName": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The name of the container that is either running or previously ran on the container\n service for which to return a log.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#GetBlueprintsResult": { + "com.amazonaws.lightsail#GetContainerLogResult": { "type": "structure", "members": { - "blueprints": { - "target": "com.amazonaws.lightsail#BlueprintList", + "logEvents": { + "target": "com.amazonaws.lightsail#ContainerServiceLogEventList", "traits": { - "smithy.api#documentation": "

                An array of key-value pairs that contains information about the available\n blueprints.

                " + "smithy.api#documentation": "

                An array of objects that describe the log events of a container.

                " } }, "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetBlueprints request and\n specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n\n

                A next page token is not returned if there are no more results to display.

                \n\n

                To get the next page of results, perform another GetContainerLog request and\n specify the next page token using the pageToken parameter.

                " } } } }, - "com.amazonaws.lightsail#GetBundles": { + "com.amazonaws.lightsail#GetContainerServiceDeployments": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#GetBundlesRequest" + "target": "com.amazonaws.lightsail#GetContainerServiceDeploymentsRequest" }, "output": { - "target": "com.amazonaws.lightsail#GetBundlesResult" + "target": "com.amazonaws.lightsail#GetContainerServiceDeploymentsResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, { "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -6181,55 +7635,45 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns the list of bundles that are available for purchase. A bundle describes the specs\n for your virtual private server (or instance).

                ", + "smithy.api#documentation": "

                Returns the deployments for your Amazon Lightsail container service

                \n\n

                A deployment specifies the settings, such as the ports and launch command, of containers\n that are deployed to your container service.

                \n\n

                The deployments are ordered by version in ascending order. The newest version is listed at\n the top of the response.

                \n\n \n

                A set number of deployments are kept before the oldest one is replaced with the newest\n one. For more information, see Amazon Lightsail\n endpoints and quotas in the AWS General Reference.

                \n
                ", "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/GetBundles", + "method": "GET", + "uri": "/ls/api/2016-11-28/container-services/{serviceName}/deployments", "code": 200 } } }, - "com.amazonaws.lightsail#GetBundlesRequest": { + "com.amazonaws.lightsail#GetContainerServiceDeploymentsRequest": { "type": "structure", "members": { - "includeInactive": { - "target": "com.amazonaws.lightsail#boolean", - "traits": { - "smithy.api#documentation": "

                A Boolean value that indicates whether to include inactive bundle results in your\n request.

                " - } - }, - "pageToken": { - "target": "com.amazonaws.lightsail#string", + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetBundles request. If your results\n are paginated, the response will return a next page token that you can specify as the page\n token in a subsequent request.

                " + "smithy.api#documentation": "

                The name of the container service for which to return deployments.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#GetBundlesResult": { + "com.amazonaws.lightsail#GetContainerServiceDeploymentsResult": { "type": "structure", "members": { - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetBundles request and\n specify the next page token using the pageToken parameter.

                " - } - }, - "bundles": { - "target": "com.amazonaws.lightsail#BundleList", + "deployments": { + "target": "com.amazonaws.lightsail#ContainerServiceDeploymentList", "traits": { - "smithy.api#documentation": "

                An array of key-value pairs that contains information about the available bundles.

                " + "smithy.api#documentation": "

                An array of objects that describe deployments for a container service.

                " } } } }, - "com.amazonaws.lightsail#GetCertificates": { + "com.amazonaws.lightsail#GetContainerServiceMetricData": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#GetCertificatesRequest" + "target": "com.amazonaws.lightsail#GetContainerServiceMetricDataRequest" }, "output": { - "target": "com.amazonaws.lightsail#GetCertificatesResult" + "target": "com.amazonaws.lightsail#GetContainerServiceMetricDataResult" }, "errors": [ { @@ -6249,72 +7693,102 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns information about one or more Amazon Lightsail SSL/TLS certificates.

                \n\n \n

                To get a summary of a certificate, ommit includeCertificateDetails from\n your request. The response will include only the certificate Amazon Resource Name (ARN),\n certificate name, domain name, and tags.

                \n
                ", + "smithy.api#documentation": "

                Returns the data points of a specific metric of your Amazon Lightsail container\n service.

                \n\n

                Metrics report the utilization of your resources. Monitor and collect metric data\n regularly to maintain the reliability, availability, and performance of your resources.

                ", "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/GetCertificates", + "method": "GET", + "uri": "/ls/api/2016-11-28/container-services/{serviceName}/metrics", "code": 200 } } }, - "com.amazonaws.lightsail#GetCertificatesRequest": { + "com.amazonaws.lightsail#GetContainerServiceMetricDataRequest": { "type": "structure", "members": { - "certificateStatuses": { - "target": "com.amazonaws.lightsail#CertificateStatusList", + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", "traits": { - "smithy.api#documentation": "

                The status of the certificates for which to return information.

                \n\n

                For example, specify ISSUED to return only certificates with an\n ISSUED status.

                \n\n

                When omitted, the response includes all of your certificates in the AWS region where the\n request is made, regardless of their current status.

                " + "smithy.api#documentation": "

                The name of the container service for which to get metric data.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "certificateName": { - "target": "com.amazonaws.lightsail#CertificateName", + "metricName": { + "target": "com.amazonaws.lightsail#ContainerServiceMetricName", "traits": { - "smithy.api#documentation": "

                The name for the certificate for which to return information.

                \n\n

                When omitted, the response includes all of your certificates in the AWS region where the\n request is made.

                " + "smithy.api#documentation": "

                The metric for which you want to return information.

                \n\n

                Valid container service metric names are listed below, along with the most useful\n statistics to include in your request, and the published unit value.

                \n\n
                  \n
                • \n

                  \n CPUUtilization - The average percentage of compute units that are\n currently in use across all nodes of the container service. This metric identifies the\n processing power required to run containers on each node of the container service.

                  \n

                  Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n MemoryUtilization - The average percentage of available memory that is\n currently in use across all nodes of the container service. This metric identifies the\n memory required to run containers on each node of the container service.

                  \n

                  Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  Unit: The published unit is Percent.

                  \n
                • \n
                ", + "smithy.api#httpQuery": "metricName", + "smithy.api#required": {} } }, - "includeCertificateDetails": { - "target": "com.amazonaws.lightsail#IncludeCertificateDetails", + "endTime": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                The end time of the time period.

                ", + "smithy.api#httpQuery": "endTime", + "smithy.api#required": {} + } + }, + "statistics": { + "target": "com.amazonaws.lightsail#MetricStatisticList", + "traits": { + "smithy.api#documentation": "

                The statistic for the metric.

                \n\n

                The following statistics are available:

                \n\n
                  \n
                • \n

                  \n Minimum - The lowest value observed during the specified period. Use this\n value to determine low volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Maximum - The highest value observed during the specified period. Use\n this value to determine high volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Sum - All values submitted for the matching metric added together. You\n can use this statistic to determine the total volume of a metric.

                  \n
                • \n
                • \n

                  \n Average - The value of Sum / SampleCount during\n the specified period. By comparing this statistic with the Minimum and\n Maximum values, you can determine the full scope of a metric and how close\n the average use is to the Minimum and Maximum values. This\n comparison helps you to know when to increase or decrease your resources.

                  \n
                • \n
                • \n

                  \n SampleCount - The count, or number, of data points used for the\n statistical calculation.

                  \n
                • \n
                ", + "smithy.api#httpQuery": "statistics", + "smithy.api#required": {} + } + }, + "period": { + "target": "com.amazonaws.lightsail#MetricPeriod", + "traits": { + "smithy.api#documentation": "

                The granularity, in seconds, of the returned data points.

                \n\n

                All container service metric data is available in 5-minute (300 seconds)\n granularity.

                ", + "smithy.api#httpQuery": "period", + "smithy.api#required": {} + } + }, + "startTime": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                Indicates whether to include detailed information about the certificates in the\n response.

                \n\n

                When omitted, the response includes only the certificate names, Amazon Resource Names\n (ARNs), domain names, and tags.

                " + "smithy.api#documentation": "

                The start time of the time period.

                ", + "smithy.api#httpQuery": "startTime", + "smithy.api#required": {} } } } }, - "com.amazonaws.lightsail#GetCertificatesResult": { + "com.amazonaws.lightsail#GetContainerServiceMetricDataResult": { "type": "structure", "members": { - "certificates": { - "target": "com.amazonaws.lightsail#CertificateSummaryList", + "metricData": { + "target": "com.amazonaws.lightsail#MetricDatapointList", "traits": { - "smithy.api#documentation": "

                An object that describes certificates.

                " + "smithy.api#documentation": "

                An array of objects that describe the metric data returned.

                " + } + }, + "metricName": { + "target": "com.amazonaws.lightsail#ContainerServiceMetricName", + "traits": { + "smithy.api#documentation": "

                The name of the metric returned.

                " } } } }, - "com.amazonaws.lightsail#GetCloudFormationStackRecords": { + "com.amazonaws.lightsail#GetContainerServicePowers": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#GetCloudFormationStackRecordsRequest" + "target": "com.amazonaws.lightsail#GetContainerServicePowersRequest" }, "output": { - "target": "com.amazonaws.lightsail#GetCloudFormationStackRecordsResult" + "target": "com.amazonaws.lightsail#GetContainerServicePowersResult" }, "errors": [ { "target": "com.amazonaws.lightsail#AccessDeniedException" }, - { - "target": "com.amazonaws.lightsail#AccountSetupInProgressException" - }, { "target": "com.amazonaws.lightsail#InvalidInputException" }, { "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -6323,49 +7797,36 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns the CloudFormation stack record created as a result of the create cloud\n formation stack operation.

                \n

                An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail\n snapshot.

                ", + "smithy.api#documentation": "

                Returns the list of powers that can be specified for your Amazon Lightsail container\n services.

                \n\n

                The power specifies the amount of memory, the number of vCPUs, and the base price of the\n container service.

                ", "smithy.api#http": { - "method": "POST", - "uri": "/ls/api/2016-11-28/GetCloudFormationStackRecords", + "method": "GET", + "uri": "/ls/api/2016-11-28/container-service-powers", "code": 200 } } }, - "com.amazonaws.lightsail#GetCloudFormationStackRecordsRequest": { + "com.amazonaws.lightsail#GetContainerServicePowersRequest": { "type": "structure", - "members": { - "pageToken": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetClouFormationStackRecords request.\n If your results are paginated, the response will return a next page token that you can specify\n as the page token in a subsequent request.

                " - } - } - } + "members": {} }, - "com.amazonaws.lightsail#GetCloudFormationStackRecordsResult": { + "com.amazonaws.lightsail#GetContainerServicePowersResult": { "type": "structure", "members": { - "cloudFormationStackRecords": { - "target": "com.amazonaws.lightsail#CloudFormationStackRecordList", - "traits": { - "smithy.api#documentation": "

                A list of objects describing the CloudFormation stack records.

                " - } - }, - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", + "powers": { + "target": "com.amazonaws.lightsail#ContainerServicePowerList", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another\n GetCloudFormationStackRecords request and specify the next page token using the\n pageToken parameter.

                " + "smithy.api#documentation": "

                An array of objects that describe the powers that can be specified for a container\n service.

                " } } } }, - "com.amazonaws.lightsail#GetContactMethods": { + "com.amazonaws.lightsail#GetContainerServices": { "type": "operation", "input": { - "target": "com.amazonaws.lightsail#GetContactMethodsRequest" + "target": "com.amazonaws.lightsail#GetContainerServicesRequest" }, "output": { - "target": "com.amazonaws.lightsail#GetContactMethodsResult" + "target": "com.amazonaws.lightsail#ContainerServicesListResult" }, "errors": [ { @@ -6377,9 +7838,6 @@ { "target": "com.amazonaws.lightsail#NotFoundException" }, - { - "target": "com.amazonaws.lightsail#OperationFailureException" - }, { "target": "com.amazonaws.lightsail#ServiceException" }, @@ -6388,32 +7846,22 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns information about the configured contact methods. Specify a protocol in your\n request to return information about a specific contact method.

                \n

                A contact method is used to send you notifications about your Amazon Lightsail resources.\n You can add one email address and one mobile phone number contact method in each AWS Region.\n However, SMS text messaging is not supported in some AWS Regions, and SMS text messages\n cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

                ", + "smithy.api#documentation": "

                Returns information about one or more of your Amazon Lightsail container services.

                ", "smithy.api#http": { "method": "GET", - "uri": "/ls/api/2016-11-28/GetContactMethods", + "uri": "/ls/api/2016-11-28/container-services", "code": 200 } } }, - "com.amazonaws.lightsail#GetContactMethodsRequest": { - "type": "structure", - "members": { - "protocols": { - "target": "com.amazonaws.lightsail#ContactProtocolsList", - "traits": { - "smithy.api#documentation": "

                The protocols used to send notifications, such as Email, or SMS\n (text messaging).

                \n

                Specify a protocol in your request to return information about a specific contact method\n protocol.

                " - } - } - } - }, - "com.amazonaws.lightsail#GetContactMethodsResult": { + "com.amazonaws.lightsail#GetContainerServicesRequest": { "type": "structure", "members": { - "contactMethods": { - "target": "com.amazonaws.lightsail#ContactMethodsList", + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the contact methods.

                " + "smithy.api#documentation": "

                The name of the container service for which to return information.

                \n\n

                When omitted, the response includes all of your container services in the AWS Region\n where the request is made.

                ", + "smithy.api#httpQuery": "serviceName" } } } @@ -6598,16 +8046,16 @@ "com.amazonaws.lightsail#GetDiskSnapshotsResult": { "type": "structure", "members": { - "diskSnapshots": { - "target": "com.amazonaws.lightsail#DiskSnapshotList", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An array of objects containing information about all block storage disk snapshots.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetDiskSnapshots request and\n specify the next page token using the pageToken parameter.

                " } }, - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", + "diskSnapshots": { + "target": "com.amazonaws.lightsail#DiskSnapshotList", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetDiskSnapshots request and\n specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                An array of objects containing information about all block storage disk snapshots.

                " } } } @@ -6666,16 +8114,16 @@ "com.amazonaws.lightsail#GetDisksResult": { "type": "structure", "members": { - "disks": { - "target": "com.amazonaws.lightsail#DiskList", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An array of objects containing information about all block storage disks.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetDisks request and specify\n the next page token using the pageToken parameter.

                " } }, - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", + "disks": { + "target": "com.amazonaws.lightsail#DiskList", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetDisks request and specify\n the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                An array of objects containing information about all block storage disks.

                " } } } @@ -6709,7 +8157,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns the list bundles that can be applied to you Amazon Lightsail content delivery\n network (CDN) distributions.

                \n\n

                A distribution bundle specifies the monthly network transfer quota and monthly cost of\n your dsitribution.

                ", + "smithy.api#documentation": "

                Returns the list bundles that can be applied to you Amazon Lightsail content delivery\n network (CDN) distributions.

                \n

                A distribution bundle specifies the monthly network transfer quota and monthly cost of\n your dsitribution.

                ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/GetDistributionBundles", @@ -6775,7 +8223,7 @@ "distributionName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the distribution for which to return the timestamp of the last cache\n reset.

                \n\n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                \n\n

                When omitted, the response includes the latest cache reset timestamp of all your\n distributions.

                " + "smithy.api#documentation": "

                The name of the distribution for which to return the timestamp of the last cache\n reset.

                \n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                \n

                When omitted, the response includes the latest cache reset timestamp of all your\n distributions.

                " } } } @@ -6826,7 +8274,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns the data points of a specific metric for an Amazon Lightsail content delivery\n network (CDN) distribution.

                \n\n

                Metrics report the utilization of your resources, and the error counts generated by them.\n Monitor and collect metric data regularly to maintain the reliability, availability, and\n performance of your resources.

                ", + "smithy.api#documentation": "

                Returns the data points of a specific metric for an Amazon Lightsail content delivery\n network (CDN) distribution.

                \n

                Metrics report the utilization of your resources, and the error counts generated by them.\n Monitor and collect metric data regularly to maintain the reliability, availability, and\n performance of your resources.

                ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/GetDistributionMetricData", @@ -6837,38 +8285,38 @@ "com.amazonaws.lightsail#GetDistributionMetricDataRequest": { "type": "structure", "members": { - "statistics": { - "target": "com.amazonaws.lightsail#MetricStatisticList", + "endTime": { + "target": "com.amazonaws.lightsail#timestamp", "traits": { - "smithy.api#documentation": "

                The statistic for the metric.

                \n

                The following statistics are available:

                \n
                  \n
                • \n

                  \n Minimum - The lowest value observed during the specified period. Use this\n value to determine low volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Maximum - The highest value observed during the specified period. Use\n this value to determine high volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Sum - All values submitted for the matching metric added together. You\n can use this statistic to determine the total volume of a metric.

                  \n
                • \n
                • \n

                  \n Average - The value of Sum / SampleCount during the specified period. By\n comparing this statistic with the Minimum and Maximum values, you can determine the full\n scope of a metric and how close the average use is to the Minimum and Maximum values. This\n comparison helps you to know when to increase or decrease your resources.

                  \n
                • \n
                • \n

                  \n SampleCount - The count, or number, of data points used for the\n statistical calculation.

                  \n
                • \n
                ", + "smithy.api#documentation": "

                The end of the time interval for which to get metric data.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n

                  For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify\n 1538427600 as the end time.

                  \n
                • \n
                \n

                You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                ", "smithy.api#required": {} } }, - "endTime": { - "target": "com.amazonaws.lightsail#timestamp", + "distributionName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The end of the time interval for which to get metric data.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n

                  For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify\n 1538427600 as the end time.

                  \n
                • \n
                \n

                You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                ", + "smithy.api#documentation": "

                The name of the distribution for which to get metric data.

                \n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                ", "smithy.api#required": {} } }, - "unit": { - "target": "com.amazonaws.lightsail#MetricUnit", + "statistics": { + "target": "com.amazonaws.lightsail#MetricStatisticList", "traits": { - "smithy.api#documentation": "

                The unit for the metric data request.

                \n\n

                Valid units depend on the metric data being requested. For the valid units with each\n available metric, see the metricName parameter.

                ", + "smithy.api#documentation": "

                The statistic for the metric.

                \n

                The following statistics are available:

                \n
                  \n
                • \n

                  \n Minimum - The lowest value observed during the specified period. Use this\n value to determine low volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Maximum - The highest value observed during the specified period. Use\n this value to determine high volumes of activity for your application.

                  \n
                • \n
                • \n

                  \n Sum - All values submitted for the matching metric added together. You\n can use this statistic to determine the total volume of a metric.

                  \n
                • \n
                • \n

                  \n Average - The value of Sum / SampleCount during the specified period. By\n comparing this statistic with the Minimum and Maximum values, you can determine the full\n scope of a metric and how close the average use is to the Minimum and Maximum values. This\n comparison helps you to know when to increase or decrease your resources.

                  \n
                • \n
                • \n

                  \n SampleCount - The count, or number, of data points used for the\n statistical calculation.

                  \n
                • \n
                ", "smithy.api#required": {} } }, - "metricName": { - "target": "com.amazonaws.lightsail#DistributionMetricName", + "unit": { + "target": "com.amazonaws.lightsail#MetricUnit", "traits": { - "smithy.api#documentation": "

                The metric for which you want to return information.

                \n\n

                Valid distribution metric names are listed below, along with the most useful\n statistics to include in your request, and the published unit\n value.

                \n\n
                  \n
                • \n

                  \n \n Requests\n - The total number of viewer\n requests received by your Lightsail distribution, for all HTTP methods, and for both\n HTTP and HTTPS requests.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is None.

                  \n
                • \n
                • \n

                  \n \n BytesDownloaded\n - The number of bytes\n downloaded by viewers for GET, HEAD, and OPTIONS requests.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is None.

                  \n
                • \n
                • \n

                  \n \n BytesUploaded \n - The number of bytes\n uploaded to your origin by your Lightsail distribution, using POST and PUT\n requests.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is None.

                  \n
                • \n
                • \n

                  \n \n TotalErrorRate\n - The percentage of all\n viewer requests for which the response's HTTP status code was 4xx or 5xx.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n 4xxErrorRate\n - The percentage of all\n viewer requests for which the response's HTTP status cod was 4xx. In these cases, the\n client or client viewer may have made an error. For example, a status code of 404 (Not\n Found) means that the client requested an object that could not be found.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n 5xxErrorRate\n - The percentage of all\n viewer requests for which the response's HTTP status code was 5xx. In these cases, the\n origin server did not satisfy the requests. For example, a status code of 503 (Service\n Unavailable) means that the origin server is currently unavailable.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                ", + "smithy.api#documentation": "

                The unit for the metric data request.

                \n

                Valid units depend on the metric data being requested. For the valid units with each\n available metric, see the metricName parameter.

                ", "smithy.api#required": {} } }, - "distributionName": { - "target": "com.amazonaws.lightsail#ResourceName", + "metricName": { + "target": "com.amazonaws.lightsail#DistributionMetricName", "traits": { - "smithy.api#documentation": "

                The name of the distribution for which to get metric data.

                \n\n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                ", + "smithy.api#documentation": "

                The metric for which you want to return information.

                \n

                Valid distribution metric names are listed below, along with the most useful\n statistics to include in your request, and the published unit\n value.

                \n
                  \n
                • \n

                  \n \n Requests\n - The total number of viewer\n requests received by your Lightsail distribution, for all HTTP methods, and for both\n HTTP and HTTPS requests.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is None.

                  \n
                • \n
                • \n

                  \n \n BytesDownloaded\n - The number of bytes\n downloaded by viewers for GET, HEAD, and OPTIONS requests.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is None.

                  \n
                • \n
                • \n

                  \n \n BytesUploaded \n - The number of bytes\n uploaded to your origin by your Lightsail distribution, using POST and PUT\n requests.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is None.

                  \n
                • \n
                • \n

                  \n \n TotalErrorRate\n - The percentage of all\n viewer requests for which the response's HTTP status code was 4xx or 5xx.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n 4xxErrorRate\n - The percentage of all\n viewer requests for which the response's HTTP status cod was 4xx. In these cases, the\n client or client viewer may have made an error. For example, a status code of 404 (Not\n Found) means that the client requested an object that could not be found.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n 5xxErrorRate\n - The percentage of all\n viewer requests for which the response's HTTP status code was 5xx. In these cases, the\n origin server did not satisfy the requests. For example, a status code of 503 (Service\n Unavailable) means that the origin server is currently unavailable.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                ", "smithy.api#required": {} } }, @@ -6945,16 +8393,16 @@ "com.amazonaws.lightsail#GetDistributionsRequest": { "type": "structure", "members": { - "distributionName": { - "target": "com.amazonaws.lightsail#ResourceName", + "pageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the distribution for which to return information.

                \n\n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                \n\n

                When omitted, the response includes all of your distributions in the AWS Region where\n the request is made.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetDistributions request. If your\n results are paginated, the response will return a next page token that you can specify as the\n page token in a subsequent request.

                " } }, - "pageToken": { - "target": "com.amazonaws.lightsail#string", + "distributionName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n\n

                To get a page token, perform an initial GetDistributions request. If your\n results are paginated, the response will return a next page token that you can specify as the\n page token in a subsequent request.

                " + "smithy.api#documentation": "

                The name of the distribution for which to return information.

                \n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                \n

                When omitted, the response includes all of your distributions in the AWS Region where\n the request is made.

                " } } } @@ -6971,7 +8419,7 @@ "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n\n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetDistributions request and\n specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetDistributions request and\n specify the next page token using the pageToken parameter.

                " } } } @@ -7102,7 +8550,7 @@ "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetDomains request and\n specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetDomains request and\n specify the next page token using the pageToken parameter.

                " } } } @@ -7164,7 +8612,7 @@ "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetExportSnapshotRecords\n request and specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetExportSnapshotRecords\n request and specify the next page token using the pageToken parameter.

                " } }, "exportSnapshotRecords": { @@ -7258,18 +8706,18 @@ "com.amazonaws.lightsail#GetInstanceAccessDetailsRequest": { "type": "structure", "members": { - "protocol": { - "target": "com.amazonaws.lightsail#InstanceAccessProtocol", - "traits": { - "smithy.api#documentation": "

                The protocol to use to connect to your instance. Defaults to ssh.

                " - } - }, "instanceName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { "smithy.api#documentation": "

                The name of the instance to access.

                ", "smithy.api#required": {} } + }, + "protocol": { + "target": "com.amazonaws.lightsail#InstanceAccessProtocol", + "traits": { + "smithy.api#documentation": "

                The protocol to use to connect to your instance. Defaults to ssh.

                " + } } } }, @@ -7327,17 +8775,10 @@ "com.amazonaws.lightsail#GetInstanceMetricDataRequest": { "type": "structure", "members": { - "endTime": { - "target": "com.amazonaws.lightsail#timestamp", - "traits": { - "smithy.api#documentation": "

                The end time of the time period.

                ", - "smithy.api#required": {} - } - }, - "metricName": { - "target": "com.amazonaws.lightsail#InstanceMetricName", + "instanceName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The metric for which you want to return information.

                \n

                Valid instance metric names are listed below, along with the most useful\n statistics to include in your request, and the published unit\n value.

                \n
                  \n
                • \n

                  \n \n BurstCapacityPercentage\n - The percentage\n of CPU performance available for your instance to burst above its baseline. Your instance\n continuously accrues and consumes burst capacity. Burst capacity stops accruing when your\n instance's BurstCapacityPercentage reaches 100%. For more information, see\n Viewing instance burst capacity in Amazon Lightsail.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n BurstCapacityTime\n - The available amount\n of time for your instance to burst at 100% CPU utilization. Your instance continuously\n accrues and consumes burst capacity. Burst capacity time stops accruing when your\n instance's BurstCapacityPercentage metric reaches 100%.

                  \n

                  Burst capacity time is consumed at the full rate only when your instance operates at\n 100% CPU utilization. For example, if your instance operates at 50% CPU utilization in the\n burstable zone for a 5-minute period, then it consumes CPU burst capacity minutes at a 50%\n rate in that period. Your instance consumed 2 minutes and 30 seconds of CPU burst capacity\n minutes in the 5-minute period. For more information, see Viewing instance burst capacity in Amazon Lightsail.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  \n Unit: The published unit is Seconds.

                  \n
                • \n
                • \n

                  \n \n CPUUtilization\n - The percentage of\n allocated compute units that are currently in use on the instance. This metric identifies\n the processing power to run the applications on the instance. Tools in your operating\n system can show a lower percentage than Lightsail when the instance is not allocated a\n full processor core.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n NetworkIn\n - The number of bytes received\n on all network interfaces by the instance. This metric identifies the volume of incoming\n network traffic to the instance. The number reported is the number of bytes received\n during the period. Because this metric is reported in 5-minute intervals, divide the\n reported number by 300 to find Bytes/second.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Bytes.

                  \n
                • \n
                • \n

                  \n \n NetworkOut\n - The number of bytes sent\n out on all network interfaces by the instance. This metric identifies the volume of\n outgoing network traffic from the instance. The number reported is the number of bytes\n sent during the period. Because this metric is reported in 5-minute intervals, divide the\n reported number by 300 to find Bytes/second.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Bytes.

                  \n
                • \n
                • \n

                  \n \n StatusCheckFailed\n - Reports whether the\n instance passed or failed both the instance status check and the system status check. This\n metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute\n (60 seconds) granularity.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n StatusCheckFailed_Instance\n - Reports\n whether the instance passed or failed the instance status check. This metric can be either\n 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds)\n granularity.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n StatusCheckFailed_System\n - Reports\n whether the instance passed or failed the system status check. This metric can be either 0\n (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds)\n granularity.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                ", + "smithy.api#documentation": "

                The name of the instance for which you want to get metrics data.

                ", "smithy.api#required": {} } }, @@ -7362,10 +8803,17 @@ "smithy.api#required": {} } }, - "instanceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "endTime": { + "target": "com.amazonaws.lightsail#timestamp", "traits": { - "smithy.api#documentation": "

                The name of the instance for which you want to get metrics data.

                ", + "smithy.api#documentation": "

                The end time of the time period.

                ", + "smithy.api#required": {} + } + }, + "metricName": { + "target": "com.amazonaws.lightsail#InstanceMetricName", + "traits": { + "smithy.api#documentation": "

                The metric for which you want to return information.

                \n

                Valid instance metric names are listed below, along with the most useful\n statistics to include in your request, and the published unit\n value.

                \n
                  \n
                • \n

                  \n \n BurstCapacityPercentage\n - The percentage\n of CPU performance available for your instance to burst above its baseline. Your instance\n continuously accrues and consumes burst capacity. Burst capacity stops accruing when your\n instance's BurstCapacityPercentage reaches 100%. For more information, see\n Viewing instance burst capacity in Amazon Lightsail.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n BurstCapacityTime\n - The available amount\n of time for your instance to burst at 100% CPU utilization. Your instance continuously\n accrues and consumes burst capacity. Burst capacity time stops accruing when your\n instance's BurstCapacityPercentage metric reaches 100%.

                  \n

                  Burst capacity time is consumed at the full rate only when your instance operates at\n 100% CPU utilization. For example, if your instance operates at 50% CPU utilization in the\n burstable zone for a 5-minute period, then it consumes CPU burst capacity minutes at a 50%\n rate in that period. Your instance consumed 2 minutes and 30 seconds of CPU burst capacity\n minutes in the 5-minute period. For more information, see Viewing instance burst capacity in Amazon Lightsail.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  \n Unit: The published unit is Seconds.

                  \n
                • \n
                • \n

                  \n \n CPUUtilization\n - The percentage of\n allocated compute units that are currently in use on the instance. This metric identifies\n the processing power to run the applications on the instance. Tools in your operating\n system can show a lower percentage than Lightsail when the instance is not allocated a\n full processor core.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n NetworkIn\n - The number of bytes received\n on all network interfaces by the instance. This metric identifies the volume of incoming\n network traffic to the instance. The number reported is the number of bytes received\n during the period. Because this metric is reported in 5-minute intervals, divide the\n reported number by 300 to find Bytes/second.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Bytes.

                  \n
                • \n
                • \n

                  \n \n NetworkOut\n - The number of bytes sent\n out on all network interfaces by the instance. This metric identifies the volume of\n outgoing network traffic from the instance. The number reported is the number of bytes\n sent during the period. Because this metric is reported in 5-minute intervals, divide the\n reported number by 300 to find Bytes/second.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Bytes.

                  \n
                • \n
                • \n

                  \n \n StatusCheckFailed\n - Reports whether the\n instance passed or failed both the instance status check and the system status check. This\n metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute\n (60 seconds) granularity.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n StatusCheckFailed_Instance\n - Reports\n whether the instance passed or failed the instance status check. This metric can be either\n 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds)\n granularity.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n StatusCheckFailed_System\n - Reports\n whether the instance passed or failed the system status check. This metric can be either 0\n (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds)\n granularity.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                ", "smithy.api#required": {} } }, @@ -7601,7 +9049,7 @@ "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetInstanceSnapshots request\n and specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetInstanceSnapshots request\n and specify the next page token using the pageToken parameter.

                " } }, "instanceSnapshots": { @@ -7729,17 +9177,17 @@ "com.amazonaws.lightsail#GetInstancesResult": { "type": "structure", "members": { - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetInstances request and\n specify the next page token using the pageToken parameter.

                " - } - }, "instances": { "target": "com.amazonaws.lightsail#InstanceList", "traits": { "smithy.api#documentation": "

                An array of key-value pairs containing information about your instances.

                " } + }, + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetInstances request and\n specify the next page token using the pageToken parameter.

                " + } } } }, @@ -7869,7 +9317,7 @@ "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetKeyPairs request and\n specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetKeyPairs request and\n specify the next page token using the pageToken parameter.

                " } } } @@ -7957,10 +9405,10 @@ "com.amazonaws.lightsail#GetLoadBalancerMetricDataRequest": { "type": "structure", "members": { - "startTime": { - "target": "com.amazonaws.lightsail#timestamp", + "metricName": { + "target": "com.amazonaws.lightsail#LoadBalancerMetricName", "traits": { - "smithy.api#documentation": "

                The start time of the period.

                ", + "smithy.api#documentation": "

                The metric for which you want to return information.

                \n

                Valid load balancer metric names are listed below, along with the most useful\n statistics to include in your request, and the published unit\n value.

                \n
                  \n
                • \n

                  \n \n ClientTLSNegotiationErrorCount\n - The\n number of TLS connections initiated by the client that did not establish a session with\n the load balancer due to a TLS error generated by the load balancer. Possible causes\n include a mismatch of ciphers or protocols.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HealthyHostCount\n - The number of target\n instances that are considered healthy.

                  \n

                  \n Statistics: The most useful statistic are Average,\n Minimum, and Maximum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_Instance_2XX_Count\n - The number\n of HTTP 2XX response codes generated by the target instances. This does not include any\n response codes generated by the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_Instance_3XX_Count\n - The number\n of HTTP 3XX response codes generated by the target instances. This does not include any\n response codes generated by the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_Instance_4XX_Count\n - The number\n of HTTP 4XX response codes generated by the target instances. This does not include any\n response codes generated by the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_Instance_5XX_Count\n - The number\n of HTTP 5XX response codes generated by the target instances. This does not include any\n response codes generated by the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_LB_4XX_Count\n - The number of\n HTTP 4XX client error codes that originated from the load balancer. Client errors are\n generated when requests are malformed or incomplete. These requests were not received by\n the target instance. This count does not include response codes generated by the target\n instances.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_LB_5XX_Count\n - The number of\n HTTP 5XX server error codes that originated from the load balancer. This does not include\n any response codes generated by the target instance. This metric is reported if there are\n no healthy instances attached to the load balancer, or if the request rate exceeds the\n capacity of the instances (spillover) or the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n InstanceResponseTime\n - The time elapsed,\n in seconds, after the request leaves the load balancer until a response from the target\n instance is received.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Seconds.

                  \n
                • \n
                • \n

                  \n \n RejectedConnectionCount\n - The number of\n connections that were rejected because the load balancer had reached its maximum number of\n connections.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n RequestCount\n - The number of requests\n processed over IPv4. This count includes only the requests with a response generated by a\n target instance of the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n UnhealthyHostCount\n - The number of\n target instances that are considered unhealthy.

                  \n

                  \n Statistics: The most useful statistic are Average,\n Minimum, and Maximum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                ", "smithy.api#required": {} } }, @@ -7978,10 +9426,10 @@ "smithy.api#required": {} } }, - "unit": { - "target": "com.amazonaws.lightsail#MetricUnit", + "startTime": { + "target": "com.amazonaws.lightsail#timestamp", "traits": { - "smithy.api#documentation": "

                The unit for the metric data request. Valid units depend on the metric data being\n requested. For the valid units with each available metric, see the metricName\n parameter.

                ", + "smithy.api#documentation": "

                The start time of the period.

                ", "smithy.api#required": {} } }, @@ -7992,10 +9440,10 @@ "smithy.api#required": {} } }, - "metricName": { - "target": "com.amazonaws.lightsail#LoadBalancerMetricName", + "unit": { + "target": "com.amazonaws.lightsail#MetricUnit", "traits": { - "smithy.api#documentation": "

                The metric for which you want to return information.

                \n

                Valid load balancer metric names are listed below, along with the most useful\n statistics to include in your request, and the published unit\n value.

                \n
                  \n
                • \n

                  \n \n ClientTLSNegotiationErrorCount\n - The\n number of TLS connections initiated by the client that did not establish a session with\n the load balancer due to a TLS error generated by the load balancer. Possible causes\n include a mismatch of ciphers or protocols.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HealthyHostCount\n - The number of target\n instances that are considered healthy.

                  \n

                  \n Statistics: The most useful statistic are Average,\n Minimum, and Maximum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_Instance_2XX_Count\n - The number\n of HTTP 2XX response codes generated by the target instances. This does not include any\n response codes generated by the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_Instance_3XX_Count\n - The number\n of HTTP 3XX response codes generated by the target instances. This does not include any\n response codes generated by the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_Instance_4XX_Count\n - The number\n of HTTP 4XX response codes generated by the target instances. This does not include any\n response codes generated by the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_Instance_5XX_Count\n - The number\n of HTTP 5XX response codes generated by the target instances. This does not include any\n response codes generated by the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_LB_4XX_Count\n - The number of\n HTTP 4XX client error codes that originated from the load balancer. Client errors are\n generated when requests are malformed or incomplete. These requests were not received by\n the target instance. This count does not include response codes generated by the target\n instances.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n HTTPCode_LB_5XX_Count\n - The number of\n HTTP 5XX server error codes that originated from the load balancer. This does not include\n any response codes generated by the target instance. This metric is reported if there are\n no healthy instances attached to the load balancer, or if the request rate exceeds the\n capacity of the instances (spillover) or the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n InstanceResponseTime\n - The time elapsed,\n in seconds, after the request leaves the load balancer until a response from the target\n instance is received.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Seconds.

                  \n
                • \n
                • \n

                  \n \n RejectedConnectionCount\n - The number of\n connections that were rejected because the load balancer had reached its maximum number of\n connections.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n RequestCount\n - The number of requests\n processed over IPv4. This count includes only the requests with a response generated by a\n target instance of the load balancer.

                  \n

                  \n Statistics: The most useful statistic is Sum. Note that\n Minimum, Maximum, and Average all return\n 1.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n UnhealthyHostCount\n - The number of\n target instances that are considered unhealthy.

                  \n

                  \n Statistics: The most useful statistic are Average,\n Minimum, and Maximum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                ", + "smithy.api#documentation": "

                The unit for the metric data request. Valid units depend on the metric data being\n requested. For the valid units with each available metric, see the metricName\n parameter.

                ", "smithy.api#required": {} } }, @@ -8011,17 +9459,17 @@ "com.amazonaws.lightsail#GetLoadBalancerMetricDataResult": { "type": "structure", "members": { - "metricData": { - "target": "com.amazonaws.lightsail#MetricDatapointList", - "traits": { - "smithy.api#documentation": "

                An array of objects that describe the metric data returned.

                " - } - }, "metricName": { "target": "com.amazonaws.lightsail#LoadBalancerMetricName", "traits": { "smithy.api#documentation": "

                The name of the metric returned.

                " } + }, + "metricData": { + "target": "com.amazonaws.lightsail#MetricDatapointList", + "traits": { + "smithy.api#documentation": "

                An array of objects that describe the metric data returned.

                " + } } } }, @@ -8174,7 +9622,7 @@ "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetLoadBalancers request and\n specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetLoadBalancers request and\n specify the next page token using the pageToken parameter.

                " } } } @@ -8350,16 +9798,16 @@ "smithy.api#documentation": "

                (Deprecated) Returns the number of pages of results that remain.

                \n \n

                In releases prior to June 12, 2017, this parameter returned null by the\n API. It is now deprecated, and the API returns the next page token parameter\n instead.

                \n
                " } }, - "operations": { - "target": "com.amazonaws.lightsail#OperationList", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetOperationsForResource\n request and specify the next page token using the pageToken parameter.

                " } }, - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", + "operations": { + "target": "com.amazonaws.lightsail#OperationList", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetOperationsForResource\n request and specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } } } @@ -8378,17 +9826,17 @@ "com.amazonaws.lightsail#GetOperationsResult": { "type": "structure", "members": { - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetOperations request and\n specify the next page token using the pageToken parameter.

                " - } - }, "operations": { "target": "com.amazonaws.lightsail#OperationList", "traits": { "smithy.api#documentation": "

                An array of objects that describe the result of the action, such as the status of the\n request, the timestamp of the request, and the resources affected by the request.

                " } + }, + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetOperations request and\n specify the next page token using the pageToken parameter.

                " + } } } }, @@ -8444,7 +9892,7 @@ "includeRelationalDatabaseAvailabilityZones": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                >A Boolean value indicating whether to also include Availability Zones for databases in\n your get regions request. Availability Zones are indicated with a letter (e.g.,\n us-east-2a).

                " + "smithy.api#documentation": "

                A Boolean value indicating whether to also include Availability Zones for databases in\n your get regions request. Availability Zones are indicated with a letter (e.g.,\n us-east-2a).

                " } } } @@ -8554,17 +10002,17 @@ "com.amazonaws.lightsail#GetRelationalDatabaseBlueprintsResult": { "type": "structure", "members": { - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another\n GetRelationalDatabaseBlueprints request and specify the next page token using\n the pageToken parameter.

                " - } - }, "blueprints": { "target": "com.amazonaws.lightsail#RelationalDatabaseBlueprintList", "traits": { "smithy.api#documentation": "

                An object describing the result of your get relational database blueprints request.

                " } + }, + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another\n GetRelationalDatabaseBlueprints request and specify the next page token using\n the pageToken parameter.

                " + } } } }, @@ -8622,16 +10070,16 @@ "com.amazonaws.lightsail#GetRelationalDatabaseBundlesResult": { "type": "structure", "members": { - "bundles": { - "target": "com.amazonaws.lightsail#RelationalDatabaseBundleList", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An object describing the result of your get relational database bundles request.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetRelationalDatabaseBundles\n request and specify the next page token using the pageToken parameter.

                " } }, - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", + "bundles": { + "target": "com.amazonaws.lightsail#RelationalDatabaseBundleList", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetRelationalDatabaseBundles\n request and specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                An object describing the result of your get relational database bundles request.

                " } } } @@ -8679,6 +10127,13 @@ "com.amazonaws.lightsail#GetRelationalDatabaseEventsRequest": { "type": "structure", "members": { + "relationalDatabaseName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the database from which to get events.

                ", + "smithy.api#required": {} + } + }, "durationInMinutes": { "target": "com.amazonaws.lightsail#integer", "traits": { @@ -8690,13 +10145,6 @@ "traits": { "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                To get a page token, perform an initial GetRelationalDatabaseEvents request.\n If your results are paginated, the response will return a next page token that you can specify\n as the page token in a subsequent request.

                " } - }, - "relationalDatabaseName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the database from which to get events.

                ", - "smithy.api#required": {} - } } } }, @@ -8706,7 +10154,7 @@ "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetRelationalDatabaseEvents\n request and specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetRelationalDatabaseEvents\n request and specify the next page token using the pageToken parameter.

                " } }, "relationalDatabaseEvents": { @@ -8760,16 +10208,18 @@ "com.amazonaws.lightsail#GetRelationalDatabaseLogEventsRequest": { "type": "structure", "members": { - "startFromHead": { - "target": "com.amazonaws.lightsail#boolean", + "relationalDatabaseName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                Parameter to specify if the log should start from head or tail. If true is\n specified, the log event starts from the head of the log. If false is specified,\n the log event starts from the tail of the log.

                \n \n

                For PostgreSQL, the default value of false is the only option\n available.

                \n
                " + "smithy.api#documentation": "

                The name of your database for which to get log events.

                ", + "smithy.api#required": {} } }, - "pageToken": { + "logStreamName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next or previous page of results from your request.

                \n

                To get a page token, perform an initial GetRelationalDatabaseLogEvents\n request. If your results are paginated, the response will return a next forward token and/or\n next backward token that you can specify as the page token in a subsequent request.

                " + "smithy.api#documentation": "

                The name of the log stream.

                \n

                Use the get relational database log streams operation to get a list of\n available log streams.

                ", + "smithy.api#required": {} } }, "endTime": { @@ -8778,18 +10228,16 @@ "smithy.api#documentation": "

                The end of the time interval from which to get log events.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n

                  For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the end time.

                  \n \n
                • \n
                " } }, - "logStreamName": { + "pageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the log stream.

                \n

                Use the get relational database log streams operation to get a list of\n available log streams.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The token to advance to the next or previous page of results from your request.

                \n

                To get a page token, perform an initial GetRelationalDatabaseLogEvents\n request. If your results are paginated, the response will return a next forward token and/or\n next backward token that you can specify as the page token in a subsequent request.

                " } }, - "relationalDatabaseName": { - "target": "com.amazonaws.lightsail#ResourceName", + "startFromHead": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The name of your database for which to get log events.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                Parameter to specify if the log should start from head or tail. If true is\n specified, the log event starts from the head of the log. If false is specified,\n the log event starts from the tail of the log.

                \n \n

                For PostgreSQL, the default value of false is the only option\n available.

                \n
                " } }, "startTime": { @@ -8803,18 +10251,18 @@ "com.amazonaws.lightsail#GetRelationalDatabaseLogEventsResult": { "type": "structure", "members": { - "nextForwardToken": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                A token used for advancing to the next page of results from your get relational database\n log events request.

                " - } - }, "resourceLogEvents": { "target": "com.amazonaws.lightsail#LogEventList", "traits": { "smithy.api#documentation": "

                An object describing the result of your get relational database log events request.

                " } }, + "nextForwardToken": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                A token used for advancing to the next page of results from your get relational database\n log events request.

                " + } + }, "nextBackwardToken": { "target": "com.amazonaws.lightsail#string", "traits": { @@ -8929,18 +10377,18 @@ "com.amazonaws.lightsail#GetRelationalDatabaseMasterUserPasswordRequest": { "type": "structure", "members": { + "passwordVersion": { + "target": "com.amazonaws.lightsail#RelationalDatabasePasswordVersion", + "traits": { + "smithy.api#documentation": "

                The password version to return.

                \n

                Specifying CURRENT or PREVIOUS returns the current or previous\n passwords respectively. Specifying PENDING returns the newest version of the\n password that will rotate to CURRENT. After the PENDING password\n rotates to CURRENT, the PENDING password is no longer\n available.

                \n

                Default: CURRENT\n

                " + } + }, "relationalDatabaseName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { "smithy.api#documentation": "

                The name of your database for which to get the master user password.

                ", "smithy.api#required": {} } - }, - "passwordVersion": { - "target": "com.amazonaws.lightsail#RelationalDatabasePasswordVersion", - "traits": { - "smithy.api#documentation": "

                The password version to return.

                \n

                Specifying CURRENT or PREVIOUS returns the current or previous\n passwords respectively. Specifying PENDING returns the newest version of the\n password that will rotate to CURRENT. After the PENDING password\n rotates to CURRENT, the PENDING password is no longer\n available.

                \n

                Default: CURRENT\n

                " - } } } }, @@ -9004,45 +10452,45 @@ "com.amazonaws.lightsail#GetRelationalDatabaseMetricDataRequest": { "type": "structure", "members": { - "period": { - "target": "com.amazonaws.lightsail#MetricPeriod", + "relationalDatabaseName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The granularity, in seconds, of the returned data points.

                \n

                All relational database metric data is available in 1-minute (60 seconds)\n granularity.

                ", + "smithy.api#documentation": "

                The name of your database from which to get metric data.

                ", "smithy.api#required": {} } }, - "startTime": { - "target": "com.amazonaws.lightsail#IsoDate", + "metricName": { + "target": "com.amazonaws.lightsail#RelationalDatabaseMetricName", "traits": { - "smithy.api#documentation": "

                The start of the time interval from which to get metric data.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n

                  For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the start time.

                  \n \n
                • \n
                ", + "smithy.api#documentation": "

                The metric for which you want to return information.

                \n

                Valid relational database metric names are listed below, along with the most useful\n statistics to include in your request, and the published unit\n value. All relational database metric data is available in 1-minute (60 seconds)\n granularity.

                \n
                  \n
                • \n

                  \n \n CPUUtilization\n - The percentage of CPU\n utilization currently in use on the database.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n DatabaseConnections\n - The number of\n database connections in use.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n DiskQueueDepth\n - The number of\n outstanding IOs (read/write requests) that are waiting to access the disk.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n FreeStorageSpace\n - The amount of\n available storage space.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Bytes.

                  \n
                • \n
                • \n

                  \n \n NetworkReceiveThroughput\n - The incoming\n (Receive) network traffic on the database, including both customer database traffic and\n AWS traffic used for monitoring and replication.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Bytes/Second.

                  \n
                • \n
                • \n

                  \n \n NetworkTransmitThroughput\n - The outgoing\n (Transmit) network traffic on the database, including both customer database traffic and\n AWS traffic used for monitoring and replication.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Bytes/Second.

                  \n
                • \n
                ", "smithy.api#required": {} } }, - "unit": { - "target": "com.amazonaws.lightsail#MetricUnit", + "endTime": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The unit for the metric data request. Valid units depend on the metric data being\n requested. For the valid units with each available metric, see the metricName\n parameter.

                ", + "smithy.api#documentation": "

                The end of the time interval from which to get metric data.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n

                  For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the end time.

                  \n \n
                • \n
                ", "smithy.api#required": {} } }, - "relationalDatabaseName": { - "target": "com.amazonaws.lightsail#ResourceName", + "startTime": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The name of your database from which to get metric data.

                ", + "smithy.api#documentation": "

                The start of the time interval from which to get metric data.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n

                  For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the start time.

                  \n \n
                • \n
                ", "smithy.api#required": {} } }, - "endTime": { - "target": "com.amazonaws.lightsail#IsoDate", + "period": { + "target": "com.amazonaws.lightsail#MetricPeriod", "traits": { - "smithy.api#documentation": "

                The end of the time interval from which to get metric data.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Specified in the Unix time format.

                  \n

                  For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you\n input 1538424000 as the end time.

                  \n \n
                • \n
                ", + "smithy.api#documentation": "

                The granularity, in seconds, of the returned data points.

                \n

                All relational database metric data is available in 1-minute (60 seconds)\n granularity.

                ", "smithy.api#required": {} } }, - "metricName": { - "target": "com.amazonaws.lightsail#RelationalDatabaseMetricName", + "unit": { + "target": "com.amazonaws.lightsail#MetricUnit", "traits": { - "smithy.api#documentation": "

                The metric for which you want to return information.

                \n

                Valid relational database metric names are listed below, along with the most useful\n statistics to include in your request, and the published unit\n value. All relational database metric data is available in 1-minute (60 seconds)\n granularity.

                \n
                  \n
                • \n

                  \n \n CPUUtilization\n - The percentage of CPU\n utilization currently in use on the database.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Average.

                  \n

                  \n Unit: The published unit is Percent.

                  \n
                • \n
                • \n

                  \n \n DatabaseConnections\n - The number of\n database connections in use.

                  \n

                  \n Statistics: The most useful statistics are Maximum and\n Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n DiskQueueDepth\n - The number of\n outstanding IOs (read/write requests) that are waiting to access the disk.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Count.

                  \n
                • \n
                • \n

                  \n \n FreeStorageSpace\n - The amount of\n available storage space.

                  \n

                  \n Statistics: The most useful statistic is Sum.

                  \n

                  \n Unit: The published unit is Bytes.

                  \n
                • \n
                • \n

                  \n \n NetworkReceiveThroughput\n - The incoming\n (Receive) network traffic on the database, including both customer database traffic and\n AWS traffic used for monitoring and replication.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Bytes/Second.

                  \n
                • \n
                • \n

                  \n \n NetworkTransmitThroughput\n - The outgoing\n (Transmit) network traffic on the database, including both customer database traffic and\n AWS traffic used for monitoring and replication.

                  \n

                  \n Statistics: The most useful statistic is Average.

                  \n

                  \n Unit: The published unit is Bytes/Second.

                  \n
                • \n
                ", + "smithy.api#documentation": "

                The unit for the metric data request. Valid units depend on the metric data being\n requested. For the valid units with each available metric, see the metricName\n parameter.

                ", "smithy.api#required": {} } }, @@ -9058,17 +10506,17 @@ "com.amazonaws.lightsail#GetRelationalDatabaseMetricDataResult": { "type": "structure", "members": { - "metricName": { - "target": "com.amazonaws.lightsail#RelationalDatabaseMetricName", - "traits": { - "smithy.api#documentation": "

                The name of the metric returned.

                " - } - }, "metricData": { "target": "com.amazonaws.lightsail#MetricDatapointList", "traits": { "smithy.api#documentation": "

                An array of objects that describe the metric data returned.

                " } + }, + "metricName": { + "target": "com.amazonaws.lightsail#RelationalDatabaseMetricName", + "traits": { + "smithy.api#documentation": "

                The name of the metric returned.

                " + } } } }, @@ -9133,17 +10581,17 @@ "com.amazonaws.lightsail#GetRelationalDatabaseParametersResult": { "type": "structure", "members": { - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another\n GetRelationalDatabaseParameters request and specify the next page token using\n the pageToken parameter.

                " - } - }, "parameters": { "target": "com.amazonaws.lightsail#RelationalDatabaseParameterList", "traits": { "smithy.api#documentation": "

                An object describing the result of your get relational database parameters request.

                " } + }, + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another\n GetRelationalDatabaseParameters request and specify the next page token using\n the pageToken parameter.

                " + } } } }, @@ -9290,7 +10738,7 @@ "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another\n GetRelationalDatabaseSnapshots request and specify the next page token using\n the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another\n GetRelationalDatabaseSnapshots request and specify the next page token using\n the pageToken parameter.

                " } }, "relationalDatabaseSnapshots": { @@ -9355,16 +10803,16 @@ "com.amazonaws.lightsail#GetRelationalDatabasesResult": { "type": "structure", "members": { - "relationalDatabases": { - "target": "com.amazonaws.lightsail#RelationalDatabaseList", + "nextPageToken": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An object describing the result of your get relational databases request.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetRelationalDatabases\n request and specify the next page token using the pageToken parameter.

                " } }, - "nextPageToken": { - "target": "com.amazonaws.lightsail#string", + "relationalDatabases": { + "target": "com.amazonaws.lightsail#RelationalDatabaseList", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetRelationalDatabases\n request and specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                An object describing the result of your get relational databases request.

                " } } } @@ -9489,7 +10937,7 @@ "nextPageToken": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The token to advance to the next page of resutls from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetStaticIps request and\n specify the next page token using the pageToken parameter.

                " + "smithy.api#documentation": "

                The token to advance to the next page of results from your request.

                \n

                A next page token is not returned if there are no more results to display.

                \n

                To get the next page of results, perform another GetStaticIps request and\n specify the next page token using the pageToken parameter.

                " } }, "staticIps": { @@ -9576,42 +11024,36 @@ "com.amazonaws.lightsail#HeaderObject": { "type": "structure", "members": { - "option": { - "target": "com.amazonaws.lightsail#ForwardValues", - "traits": { - "smithy.api#documentation": "

                The headers that you want your distribution to forward to your origin and base caching\n on.

                \n\n

                You can configure your distribution to do one of the following:

                \n
                  \n
                • \n

                  \n \n all\n - Forward all headers to your\n origin.

                  \n
                • \n
                • \n

                  \n \n none\n - Forward only the default\n headers.

                  \n
                • \n
                • \n

                  \n \n allow-list\n - Forward only the headers\n you specify using the headersAllowList parameter.

                  \n
                • \n
                " - } - }, "headersAllowList": { "target": "com.amazonaws.lightsail#HeaderForwardList", "traits": { "smithy.api#documentation": "

                The specific headers to forward to your distribution's origin.

                " } + }, + "option": { + "target": "com.amazonaws.lightsail#ForwardValues", + "traits": { + "smithy.api#documentation": "

                The headers that you want your distribution to forward to your origin and base caching\n on.

                \n

                You can configure your distribution to do one of the following:

                \n
                  \n
                • \n

                  \n \n all\n - Forward all headers to your\n origin.

                  \n
                • \n
                • \n

                  \n \n none\n - Forward only the default\n headers.

                  \n
                • \n
                • \n

                  \n \n allow-list\n - Forward only the headers\n you specify using the headersAllowList parameter.

                  \n
                • \n
                " + } } }, "traits": { - "smithy.api#documentation": "

                Describes the request headers that a Lightsail distribution bases caching on.

                \n\n\n\n

                For the headers that you specify, your distribution caches separate versions of the\n specified content based on the header values in viewer requests. For example, suppose viewer\n requests for logo.jpg contain a custom product header that has a\n value of either acme or apex, and you configure your distribution to\n cache your content based on values in the product header. Your distribution\n forwards the product header to the origin and caches the response from the origin\n once for each header value.\n

                " + "smithy.api#documentation": "

                Describes the request headers that a Lightsail distribution bases caching on.

                \n

                For the headers that you specify, your distribution caches separate versions of the\n specified content based on the header values in viewer requests. For example, suppose viewer\n requests for logo.jpg contain a custom product header that has a\n value of either acme or apex, and you configure your distribution to\n cache your content based on values in the product header. Your distribution\n forwards the product header to the origin and caches the response from the origin\n once for each header value.\n

                " } }, "com.amazonaws.lightsail#HostKeyAttributes": { "type": "structure", "members": { - "fingerprintSHA256": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The SHA-256 fingerprint of the returned SSH host key or RDP certificate.

                \n
                  \n
                • \n

                  Example of an SHA-256 SSH fingerprint:

                  \n

                  \n SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o\n

                  \n
                • \n
                • \n

                  Example of an SHA-256 RDP fingerprint:

                  \n

                  \n 03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68\n

                  \n
                • \n
                " - } - }, - "publicKey": { - "target": "com.amazonaws.lightsail#string", + "witnessedAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The public SSH host key or the RDP certificate.

                " + "smithy.api#documentation": "

                The time that the SSH host key or RDP certificate was recorded by Lightsail.

                " } }, - "notValidBefore": { + "notValidAfter": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The returned RDP certificate is valid after this point in time.

                \n

                This value is listed only for RDP certificates.

                " + "smithy.api#documentation": "

                The returned RDP certificate is not valid after this point in time.

                \n

                This value is listed only for RDP certificates.

                " } }, "fingerprintSHA1": { @@ -9620,16 +11062,16 @@ "smithy.api#documentation": "

                The SHA-1 fingerprint of the returned SSH host key or RDP certificate.

                \n
                  \n
                • \n

                  Example of an SHA-1 SSH fingerprint:

                  \n

                  \n SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0\n

                  \n
                • \n
                • \n

                  Example of an SHA-1 RDP fingerprint:

                  \n

                  \n af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45\n

                  \n
                • \n
                " } }, - "notValidAfter": { - "target": "com.amazonaws.lightsail#IsoDate", + "publicKey": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The returned RDP certificate is not valid after this point in time.

                \n

                This value is listed only for RDP certificates.

                " + "smithy.api#documentation": "

                The public SSH host key or the RDP certificate.

                " } }, - "witnessedAt": { + "notValidBefore": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The time that the SSH host key or RDP certificate was recorded by Lightsail.

                " + "smithy.api#documentation": "

                The returned RDP certificate is valid after this point in time.

                \n

                This value is listed only for RDP certificates.

                " } }, "algorithm": { @@ -9637,6 +11079,12 @@ "traits": { "smithy.api#documentation": "

                The SSH host key algorithm or the RDP certificate format.

                \n

                For SSH host keys, the algorithm may be ssh-rsa,\n ecdsa-sha2-nistp256, ssh-ed25519, etc. For RDP certificates, the\n algorithm is always x509-cert.

                " } + }, + "fingerprintSHA256": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The SHA-256 fingerprint of the returned SSH host key or RDP certificate.

                \n
                  \n
                • \n

                  Example of an SHA-256 SSH fingerprint:

                  \n

                  \n SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o\n

                  \n
                • \n
                • \n

                  Example of an SHA-256 RDP fingerprint:

                  \n

                  \n 03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68\n

                  \n
                • \n
                " + } } }, "traits": { @@ -9728,10 +11176,10 @@ "com.amazonaws.lightsail#InputOrigin": { "type": "structure", "members": { - "protocolPolicy": { - "target": "com.amazonaws.lightsail#OriginProtocolPolicyEnum", + "regionName": { + "target": "com.amazonaws.lightsail#RegionName", "traits": { - "smithy.api#documentation": "

                The protocol that your Amazon Lightsail distribution uses when establishing a connection\n with your origin to pull content.

                " + "smithy.api#documentation": "

                The AWS Region name of the origin resource.

                " } }, "name": { @@ -9740,96 +11188,90 @@ "smithy.api#documentation": "

                The name of the origin resource.

                " } }, - "regionName": { - "target": "com.amazonaws.lightsail#RegionName", + "protocolPolicy": { + "target": "com.amazonaws.lightsail#OriginProtocolPolicyEnum", "traits": { - "smithy.api#documentation": "

                The AWS Region name of the origin resource.

                " + "smithy.api#documentation": "

                The protocol that your Amazon Lightsail distribution uses when establishing a connection\n with your origin to pull content.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes the origin resource of an Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                An origin can be a Lightsail instance or load balancer. A distribution pulls content\n from an origin, caches it, and serves it to viewers via a worldwide network of edge\n servers.

                " + "smithy.api#documentation": "

                Describes the origin resource of an Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                An origin can be a Lightsail instance or load balancer. A distribution pulls content\n from an origin, caches it, and serves it to viewers via a worldwide network of edge\n servers.

                " } }, "com.amazonaws.lightsail#Instance": { "type": "structure", "members": { - "addOns": { - "target": "com.amazonaws.lightsail#AddOnList", + "name": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                An array of objects representing the add-ons enabled on the instance.

                " + "smithy.api#documentation": "

                The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "networking": { + "target": "com.amazonaws.lightsail#InstanceNetworking", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " + "smithy.api#documentation": "

                Information about the public ports and monthly data transfer rates for the\n instance.

                " } }, - "ipv6Address": { - "target": "com.amazonaws.lightsail#IpV6Address", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The IPv6 address of the instance.

                " + "smithy.api#documentation": "

                The timestamp when the instance was created (e.g., 1479734909.17) in Unix\n time format.

                " } }, - "publicIpAddress": { - "target": "com.amazonaws.lightsail#IpAddress", + "hardware": { + "target": "com.amazonaws.lightsail#InstanceHardware", "traits": { - "smithy.api#documentation": "

                The public IP address of the instance.

                " + "smithy.api#documentation": "

                The size of the vCPU and the amount of RAM for the instance.

                " } }, - "networking": { - "target": "com.amazonaws.lightsail#InstanceNetworking", + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                Information about the public ports and monthly data transfer rates for the\n instance.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the instance (e.g.,\n arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

                " } }, - "privateIpAddress": { - "target": "com.amazonaws.lightsail#IpAddress", + "username": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The private IP address of the instance.

                " + "smithy.api#documentation": "

                The user name for connecting to the instance (e.g., ec2-user).

                " } }, - "isStaticIp": { - "target": "com.amazonaws.lightsail#boolean", + "supportCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether this instance has a static IP assigned to it.

                " + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " } }, - "bundleId": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", "traits": { - "smithy.api#documentation": "

                The bundle for the instance (e.g., micro_1_0).

                " + "smithy.api#documentation": "

                The type of resource (usually Instance).

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "state": { + "target": "com.amazonaws.lightsail#InstanceState", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + "smithy.api#documentation": "

                The status code and the state (e.g., running) for the instance.

                " } }, - "username": { + "bundleId": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The user name for connecting to the instance (e.g., ec2-user).

                " + "smithy.api#documentation": "

                The bundle for the instance (e.g., micro_1_0).

                " } }, - "blueprintId": { + "blueprintName": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The blueprint ID (e.g., os_amlinux_2016_03).

                " - } - }, - "sshKeyName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the SSH key being used to connect to the instance (e.g.,\n LightsailDefaultKeyPair).

                " + "smithy.api#documentation": "

                The friendly name of the blueprint (e.g., Amazon Linux).

                " } }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "ipv6Address": { + "target": "com.amazonaws.lightsail#IpV6Address", "traits": { - "smithy.api#documentation": "

                The timestamp when the instance was created (e.g., 1479734909.17) in Unix\n time format.

                " + "smithy.api#documentation": "

                The IPv6 address of the instance.

                " } }, "location": { @@ -9838,40 +11280,46 @@ "smithy.api#documentation": "

                The region name and Availability Zone where the instance is located.

                " } }, - "state": { - "target": "com.amazonaws.lightsail#InstanceState", + "publicIpAddress": { + "target": "com.amazonaws.lightsail#IpAddress", "traits": { - "smithy.api#documentation": "

                The status code and the state (e.g., running) for the instance.

                " + "smithy.api#documentation": "

                The public IP address of the instance.

                " } }, - "blueprintName": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "sshKeyName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The friendly name of the blueprint (e.g., Amazon Linux).

                " + "smithy.api#documentation": "

                The name of the SSH key being used to connect to the instance (e.g.,\n LightsailDefaultKeyPair).

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "addOns": { + "target": "com.amazonaws.lightsail#AddOnList", "traits": { - "smithy.api#documentation": "

                The type of resource (usually Instance).

                " + "smithy.api#documentation": "

                An array of objects representing the add-ons enabled on the instance.

                " } }, - "hardware": { - "target": "com.amazonaws.lightsail#InstanceHardware", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The size of the vCPU and the amount of RAM for the instance.

                " + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, - "arn": { + "isStaticIp": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                A Boolean value indicating whether this instance has a static IP assigned to it.

                " + } + }, + "blueprintId": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the instance (e.g.,\n arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

                " + "smithy.api#documentation": "

                The blueprint ID (e.g., os_amlinux_2016_03).

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "privateIpAddress": { + "target": "com.amazonaws.lightsail#IpAddress", "traits": { - "smithy.api#documentation": "

                The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

                " + "smithy.api#documentation": "

                The private IP address of the instance.

                " } } }, @@ -9882,16 +11330,10 @@ "com.amazonaws.lightsail#InstanceAccessDetails": { "type": "structure", "members": { - "instanceName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of this Amazon Lightsail instance.

                " - } - }, - "certKey": { - "target": "com.amazonaws.lightsail#string", + "ipAddress": { + "target": "com.amazonaws.lightsail#IpAddress", "traits": { - "smithy.api#documentation": "

                For SSH access, the public key to use when accessing your instance For OpenSSH clients\n (e.g., command line SSH), you should save this value to tempkey-cert.pub.

                " + "smithy.api#documentation": "

                The public IP address of the Amazon Lightsail instance.

                " } }, "hostKeys": { @@ -9900,16 +11342,16 @@ "smithy.api#documentation": "

                Describes the public SSH host keys or the RDP certificate.

                " } }, - "protocol": { - "target": "com.amazonaws.lightsail#InstanceAccessProtocol", + "username": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The protocol for these Amazon Lightsail instance access details.

                " + "smithy.api#documentation": "

                The user name to use when logging in to the Amazon Lightsail instance.

                " } }, - "ipAddress": { - "target": "com.amazonaws.lightsail#IpAddress", + "protocol": { + "target": "com.amazonaws.lightsail#InstanceAccessProtocol", "traits": { - "smithy.api#documentation": "

                The public IP address of the Amazon Lightsail instance.

                " + "smithy.api#documentation": "

                The protocol for these Amazon Lightsail instance access details.

                " } }, "expiresAt": { @@ -9918,16 +11360,22 @@ "smithy.api#documentation": "

                For SSH access, the date on which the temporary keys expire.

                " } }, - "username": { + "certKey": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The user name to use when logging in to the Amazon Lightsail instance.

                " + "smithy.api#documentation": "

                For SSH access, the public key to use when accessing your instance For OpenSSH clients\n (e.g., command line SSH), you should save this value to tempkey-cert.pub.

                " } }, - "password": { + "privateKey": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                For RDP access, the password for your Amazon Lightsail instance. Password will be an empty\n string if the password for your new instance is not ready yet. When you create an instance, it\n can take up to 15 minutes for the instance to be ready.

                \n \n

                If you create an instance using any key pair other than the default\n (LightsailDefaultKeyPair), password will always be an empty\n string.

                \n

                If you change the Administrator password on the instance, Lightsail will continue to\n return the original password value. When accessing the instance using RDP, you need to\n manually enter the Administrator password after changing it from the default.

                \n
                " + "smithy.api#documentation": "

                For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH),\n you should save this value to tempkey).

                " + } + }, + "instanceName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of this Amazon Lightsail instance.

                " } }, "passwordData": { @@ -9936,10 +11384,10 @@ "smithy.api#documentation": "

                For a Windows Server-based instance, an object with the data you can use to retrieve your\n password. This is only needed if password is empty and the instance is not new\n (and therefore the password is not ready yet). When you create an instance, it can take up to\n 15 minutes for the instance to be ready.

                " } }, - "privateKey": { + "password": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH),\n you should save this value to tempkey).

                " + "smithy.api#documentation": "

                For RDP access, the password for your Amazon Lightsail instance. Password will be an empty\n string if the password for your new instance is not ready yet. When you create an instance, it\n can take up to 15 minutes for the instance to be ready.

                \n \n

                If you create an instance using any key pair other than the default\n (LightsailDefaultKeyPair), password will always be an empty\n string.

                \n

                If you change the Administrator password on the instance, Lightsail will continue to\n return the original password value. When accessing the instance using RDP, you need to\n manually enter the Administrator password after changing it from the default.

                \n
                " } } }, @@ -9965,6 +11413,13 @@ "com.amazonaws.lightsail#InstanceEntry": { "type": "structure", "members": { + "portInfoSource": { + "target": "com.amazonaws.lightsail#PortInfoSourceType", + "traits": { + "smithy.api#documentation": "

                The port configuration to use for the new Amazon EC2 instance.

                \n

                The following configuration options are available:

                \n
                  \n
                • \n

                  \n DEFAULT - Use the default firewall settings from the Lightsail instance\n blueprint.

                  \n
                • \n
                • \n

                  \n INSTANCE - Use the configured firewall settings from the source\n Lightsail instance.

                  \n
                • \n
                • \n

                  \n NONE - Use the default Amazon EC2 security group.

                  \n
                • \n
                • \n

                  \n CLOSED - All ports closed.

                  \n
                • \n
                \n \n

                If you configured lightsail-connect as a cidrListAliases on\n your instance, or if you chose to allow the Lightsail browser-based SSH or RDP clients to\n connect to your instance, that configuration is not carried over to your new Amazon EC2\n instance.

                \n
                ", + "smithy.api#required": {} + } + }, "availabilityZone": { "target": "com.amazonaws.lightsail#string", "traits": { @@ -9979,25 +11434,18 @@ "smithy.api#required": {} } }, - "instanceType": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "userData": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The instance type (e.g., t2.micro) to use for the new Amazon EC2 instance.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                A launch script you can create that configures a server with additional user data. For\n example, you might want to run apt-get -y update.

                \n \n

                Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg.

                \n
                " } }, - "portInfoSource": { - "target": "com.amazonaws.lightsail#PortInfoSourceType", + "instanceType": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The port configuration to use for the new Amazon EC2 instance.

                \n

                The following configuration options are available:

                \n
                  \n
                • \n

                  \n DEFAULT - Use the default firewall settings from the Lightsail instance\n blueprint.

                  \n
                • \n
                • \n

                  \n INSTANCE - Use the configured firewall settings from the source\n Lightsail instance.

                  \n
                • \n
                • \n

                  \n NONE - Use the default Amazon EC2 security group.

                  \n
                • \n
                • \n

                  \n CLOSED - All ports closed.

                  \n
                • \n
                \n \n

                If you configured lightsail-connect as a cidrListAliases on\n your instance, or if you chose to allow the Lightsail browser-based SSH or RDP clients to\n connect to your instance, that configuration is not carried over to your new Amazon EC2\n instance.

                \n
                ", + "smithy.api#documentation": "

                The instance type (e.g., t2.micro) to use for the new Amazon EC2 instance.

                ", "smithy.api#required": {} } - }, - "userData": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                A launch script you can create that configures a server with additional user data. For\n example, you might want to run apt-get -y update.

                \n \n

                Depending on the machine image you choose, the command to get software on your instance\n varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use\n apt-get, and FreeBSD uses pkg.

                \n
                " - } } }, "traits": { @@ -10019,17 +11467,17 @@ "smithy.api#documentation": "

                The amount of RAM in GB on the instance (e.g., 1.0).

                " } }, - "cpuCount": { - "target": "com.amazonaws.lightsail#integer", - "traits": { - "smithy.api#documentation": "

                The number of vCPUs the instance has.

                " - } - }, "disks": { "target": "com.amazonaws.lightsail#DiskList", "traits": { "smithy.api#documentation": "

                The disks attached to the instance.

                " } + }, + "cpuCount": { + "target": "com.amazonaws.lightsail#integer", + "traits": { + "smithy.api#documentation": "

                The number of vCPUs the instance has.

                " + } } }, "traits": { @@ -10239,16 +11687,16 @@ "com.amazonaws.lightsail#InstancePortInfo": { "type": "structure", "members": { - "cidrs": { - "target": "com.amazonaws.lightsail#StringList", + "accessDirection": { + "target": "com.amazonaws.lightsail#AccessDirection", "traits": { - "smithy.api#documentation": "

                The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to\n an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                \n

                For more information about CIDR block notation, see Classless\n Inter-Domain Routing on Wikipedia.

                " + "smithy.api#documentation": "

                The access direction (inbound or outbound).

                \n \n

                Lightsail currently supports only inbound access direction.

                \n
                " } }, - "commonName": { + "accessFrom": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The common name of the port information.

                " + "smithy.api#documentation": "

                The location from which access is allowed. For example, Anywhere (0.0.0.0/0),\n or Custom if a specific IP address or range of IP addresses is allowed.

                " } }, "accessType": { @@ -10269,10 +11717,10 @@ "smithy.api#documentation": "

                The first port in a range of open ports on an instance.

                \n

                Allowed ports:

                \n
                  \n
                • \n

                  TCP and UDP - 0 to 65535\n

                  \n
                • \n
                • \n

                  ICMP - The ICMP type. For example, specify 8 as the fromPort\n (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP\n Ping. For more information, see Control Messages on Wikipedia.

                  \n
                • \n
                " } }, - "accessFrom": { + "commonName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The location from which access is allowed. For example, Anywhere (0.0.0.0/0),\n or Custom if a specific IP address or range of IP addresses is allowed.

                " + "smithy.api#documentation": "

                The common name of the port information.

                " } }, "toPort": { @@ -10281,10 +11729,10 @@ "smithy.api#documentation": "

                The last port in a range of open ports on an instance.

                \n

                Allowed ports:

                \n
                  \n
                • \n

                  TCP and UDP - 0 to 65535\n

                  \n
                • \n
                • \n

                  ICMP - The ICMP code. For example, specify 8 as the fromPort\n (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP\n Ping. For more information, see Control Messages on Wikipedia.

                  \n
                • \n
                " } }, - "accessDirection": { - "target": "com.amazonaws.lightsail#AccessDirection", + "cidrs": { + "target": "com.amazonaws.lightsail#StringList", "traits": { - "smithy.api#documentation": "

                The access direction (inbound or outbound).

                \n \n

                Lightsail currently supports only inbound access direction.

                \n
                " + "smithy.api#documentation": "

                The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to\n an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                \n

                For more information about CIDR block notation, see Classless\n Inter-Domain Routing on Wikipedia.

                " } }, "protocol": { @@ -10307,16 +11755,16 @@ "com.amazonaws.lightsail#InstancePortState": { "type": "structure", "members": { - "toPort": { - "target": "com.amazonaws.lightsail#Port", + "protocol": { + "target": "com.amazonaws.lightsail#NetworkProtocol", "traits": { - "smithy.api#documentation": "

                The last port in a range of open ports on an instance.

                \n

                Allowed ports:

                \n
                  \n
                • \n

                  TCP and UDP - 0 to 65535\n

                  \n
                • \n
                • \n

                  ICMP - The ICMP code. For example, specify 8 as the fromPort\n (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP\n Ping. For more information, see Control Messages on Wikipedia.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The IP protocol name.

                \n

                The name can be one of the following:

                \n
                  \n
                • \n

                  \n tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and\n error-checked delivery of streamed data between applications running on hosts\n communicating by an IP network. If you have an application that doesn't require reliable\n data stream service, use UDP instead.

                  \n
                • \n
                • \n

                  \n all - All transport layer protocol types. For more general information,\n see Transport layer on\n Wikipedia.

                  \n
                • \n
                • \n

                  \n udp - With User Datagram Protocol (UDP), computer applications can send\n messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior\n communications are not required to set up transmission channels or data paths.\n Applications that don't require reliable data stream service can use UDP, which provides a\n connectionless datagram service that emphasizes reduced latency over reliability. If you\n do require reliable data stream service, use TCP instead.

                  \n
                • \n
                • \n

                  \n icmp - Internet Control Message Protocol (ICMP) is used to send error\n messages and operational information indicating success or failure when communicating with\n an instance. For example, an error is indicated when an instance could not be reached.\n When you specify icmp as the protocol, you must specify the ICMP\n type using the fromPort parameter, and ICMP code using the\n toPort parameter.

                  \n
                • \n
                " } }, - "state": { - "target": "com.amazonaws.lightsail#PortState", + "toPort": { + "target": "com.amazonaws.lightsail#Port", "traits": { - "smithy.api#documentation": "

                Specifies whether the instance port is open or closed.

                \n \n

                The port state for Lightsail instances is always open.

                \n
                " + "smithy.api#documentation": "

                The last port in a range of open ports on an instance.

                \n

                Allowed ports:

                \n
                  \n
                • \n

                  TCP and UDP - 0 to 65535\n

                  \n
                • \n
                • \n

                  ICMP - The ICMP code. For example, specify 8 as the fromPort\n (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP\n Ping. For more information, see Control Messages on Wikipedia.

                  \n
                • \n
                " } }, "cidrs": { @@ -10325,16 +11773,10 @@ "smithy.api#documentation": "

                The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to\n an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                \n

                For more information about CIDR block notation, see Classless\n Inter-Domain Routing on Wikipedia.

                " } }, - "cidrListAliases": { - "target": "com.amazonaws.lightsail#StringList", - "traits": { - "smithy.api#documentation": "

                An alias that defines access for a preconfigured range of IP addresses.

                \n

                The only alias currently supported is lightsail-connect, which allows IP\n addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your\n instance.

                " - } - }, - "protocol": { - "target": "com.amazonaws.lightsail#NetworkProtocol", + "state": { + "target": "com.amazonaws.lightsail#PortState", "traits": { - "smithy.api#documentation": "

                The IP protocol name.

                \n

                The name can be one of the following:

                \n
                  \n
                • \n

                  \n tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and\n error-checked delivery of streamed data between applications running on hosts\n communicating by an IP network. If you have an application that doesn't require reliable\n data stream service, use UDP instead.

                  \n
                • \n
                • \n

                  \n all - All transport layer protocol types. For more general information,\n see Transport layer on\n Wikipedia.

                  \n
                • \n
                • \n

                  \n udp - With User Datagram Protocol (UDP), computer applications can send\n messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior\n communications are not required to set up transmission channels or data paths.\n Applications that don't require reliable data stream service can use UDP, which provides a\n connectionless datagram service that emphasizes reduced latency over reliability. If you\n do require reliable data stream service, use TCP instead.

                  \n
                • \n
                • \n

                  \n icmp - Internet Control Message Protocol (ICMP) is used to send error\n messages and operational information indicating success or failure when communicating with\n an instance. For example, an error is indicated when an instance could not be reached.\n When you specify icmp as the protocol, you must specify the ICMP\n type using the fromPort parameter, and ICMP code using the\n toPort parameter.

                  \n
                • \n
                " + "smithy.api#documentation": "

                Specifies whether the instance port is open or closed.

                \n \n

                The port state for Lightsail instances is always open.

                \n
                " } }, "fromPort": { @@ -10342,6 +11784,12 @@ "traits": { "smithy.api#documentation": "

                The first port in a range of open ports on an instance.

                \n

                Allowed ports:

                \n
                  \n
                • \n

                  TCP and UDP - 0 to 65535\n

                  \n
                • \n
                • \n

                  ICMP - The ICMP type. For example, specify 8 as the fromPort\n (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP\n Ping. For more information, see Control Messages on Wikipedia.

                  \n
                • \n
                " } + }, + "cidrListAliases": { + "target": "com.amazonaws.lightsail#StringList", + "traits": { + "smithy.api#documentation": "

                An alias that defines access for a preconfigured range of IP addresses.

                \n

                The only alias currently supported is lightsail-connect, which allows IP\n addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your\n instance.

                " + } } }, "traits": { @@ -10357,10 +11805,10 @@ "com.amazonaws.lightsail#InstanceSnapshot": { "type": "structure", "members": { - "fromBlueprintId": { - "target": "com.amazonaws.lightsail#string", + "isFromAutoSnapshot": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). A\n blueprint is a virtual private server (or instance) image used to create\n instances quickly.

                " + "smithy.api#documentation": "

                A Boolean value indicating whether the snapshot was created from an automatic\n snapshot.

                " } }, "fromInstanceName": { @@ -10369,28 +11817,22 @@ "smithy.api#documentation": "

                The instance from which the snapshot was created.

                " } }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", - "traits": { - "smithy.api#documentation": "

                The timestamp when the snapshot was created (e.g., 1479907467.024).

                " - } - }, - "fromBundleId": { - "target": "com.amazonaws.lightsail#string", + "sizeInGb": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The bundle ID from which you created the snapshot (e.g., micro_1_0).

                " + "smithy.api#documentation": "

                The size in GB of the SSD.

                " } }, - "fromAttachedDisks": { - "target": "com.amazonaws.lightsail#DiskList", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                An array of disk objects containing information about all block storage disks.

                " + "smithy.api#documentation": "

                The timestamp when the snapshot was created (e.g., 1479907467.024).

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "state": { + "target": "com.amazonaws.lightsail#InstanceSnapshotState", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + "smithy.api#documentation": "

                The state the snapshot is in.

                " } }, "location": { @@ -10399,58 +11841,64 @@ "smithy.api#documentation": "

                The region name and Availability Zone where you created the snapshot.

                " } }, - "state": { - "target": "com.amazonaws.lightsail#InstanceSnapshotState", + "progress": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The state the snapshot is in.

                " + "smithy.api#documentation": "

                The progress of the snapshot.

                " } }, - "sizeInGb": { - "target": "com.amazonaws.lightsail#integer", + "fromInstanceArn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The size in GB of the SSD.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g.,\n arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "name": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " + "smithy.api#documentation": "

                The name of the snapshot.

                " } }, - "fromInstanceArn": { + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", + "traits": { + "smithy.api#documentation": "

                The type of resource (usually InstanceSnapshot).

                " + } + }, + "arn": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g.,\n arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the snapshot (e.g.,\n arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

                " } }, - "isFromAutoSnapshot": { - "target": "com.amazonaws.lightsail#boolean", + "fromAttachedDisks": { + "target": "com.amazonaws.lightsail#DiskList", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether the snapshot was created from an automatic\n snapshot.

                " + "smithy.api#documentation": "

                An array of disk objects containing information about all block storage disks.

                " } }, - "progress": { + "fromBundleId": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The progress of the snapshot.

                " + "smithy.api#documentation": "

                The bundle ID from which you created the snapshot (e.g., micro_1_0).

                " } }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "supportCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the snapshot (e.g.,\n arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

                " + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "fromBlueprintId": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the snapshot.

                " + "smithy.api#documentation": "

                The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). A\n blueprint is a virtual private server (or instance) image used to create\n instances quickly.

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The type of resource (usually InstanceSnapshot).

                " + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } } }, @@ -10461,6 +11909,12 @@ "com.amazonaws.lightsail#InstanceSnapshotInfo": { "type": "structure", "members": { + "fromBlueprintId": { + "target": "com.amazonaws.lightsail#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                The blueprint ID from which the source instance (e.g., os_debian_8_3).

                " + } + }, "fromBundleId": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { @@ -10472,12 +11926,6 @@ "traits": { "smithy.api#documentation": "

                A list of objects describing the disks that were attached to the source instance.

                " } - }, - "fromBlueprintId": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The blueprint ID from which the source instance (e.g., os_debian_8_3).

                " - } } }, "traits": { @@ -10512,17 +11960,17 @@ "com.amazonaws.lightsail#InstanceState": { "type": "structure", "members": { - "name": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The state of the instance (e.g., running or pending).

                " - } - }, "code": { "target": "com.amazonaws.lightsail#integer", "traits": { "smithy.api#documentation": "

                The status code for the instance.

                " } + }, + "name": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The state of the instance (e.g., running or pending).

                " + } } }, "traits": { @@ -10532,16 +11980,16 @@ "com.amazonaws.lightsail#InvalidInputException": { "type": "structure", "members": { - "docs": { + "tip": { "target": "com.amazonaws.lightsail#string" }, - "message": { + "docs": { "target": "com.amazonaws.lightsail#string" }, "code": { "target": "com.amazonaws.lightsail#string" }, - "tip": { + "message": { "target": "com.amazonaws.lightsail#string" } }, @@ -10630,24 +12078,6 @@ "com.amazonaws.lightsail#KeyPair": { "type": "structure", "members": { - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", - "traits": { - "smithy.api#documentation": "

                The timestamp when the key pair was created (e.g., 1479816991.349).

                " - } - }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", - "traits": { - "smithy.api#documentation": "

                The resource type (usually KeyPair).

                " - } - }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", - "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " - } - }, "supportCode": { "target": "com.amazonaws.lightsail#string", "traits": { @@ -10666,10 +12096,22 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the key pair (e.g.,\n arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

                " } }, - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The region name and Availability Zone where the key pair was created.

                " + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + } + }, + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", + "traits": { + "smithy.api#documentation": "

                The resource type (usually KeyPair).

                " + } + }, + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                The timestamp when the key pair was created (e.g., 1479816991.349).

                " } }, "fingerprint": { @@ -10677,6 +12119,12 @@ "traits": { "smithy.api#documentation": "

                The RSA fingerprint of the key pair.

                " } + }, + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", + "traits": { + "smithy.api#documentation": "

                The region name and Availability Zone where the key pair was created.

                " + } } }, "traits": { @@ -10692,118 +12140,118 @@ "com.amazonaws.lightsail#LightsailDistribution": { "type": "structure", "members": { - "originPublicDNS": { + "bundleId": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The public DNS of the origin.

                " + "smithy.api#documentation": "

                The ID of the bundle currently applied to the distribution.

                " } }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The timestamp when the distribution was created.

                " + "smithy.api#documentation": "

                An object that describes the location of the distribution, such as the AWS Region and\n Availability Zone.

                \n \n

                Lightsail distributions are global resources that can reference an origin in any AWS\n Region, and distribute its content globally. However, all distributions are located in the\n us-east-1 Region.

                \n
                " } }, - "alternativeDomainNames": { - "target": "com.amazonaws.lightsail#StringList", + "cacheBehaviors": { + "target": "com.amazonaws.lightsail#CacheBehaviorList", "traits": { - "smithy.api#documentation": "

                The alternate domain names of the distribution.

                " + "smithy.api#documentation": "

                An array of objects that describe the per-path cache behavior of the distribution.

                " } }, - "isEnabled": { - "target": "com.amazonaws.lightsail#boolean", + "cacheBehaviorSettings": { + "target": "com.amazonaws.lightsail#CacheSettings", "traits": { - "smithy.api#documentation": "

                Indicates whether the distribution is enabled.

                " + "smithy.api#documentation": "

                An object that describes the cache behavior settings of the distribution.

                " } }, - "domainName": { - "target": "com.amazonaws.lightsail#string", + "origin": { + "target": "com.amazonaws.lightsail#Origin", "traits": { - "smithy.api#documentation": "

                The domain name of the distribution.

                " + "smithy.api#documentation": "

                An object that describes the origin resource of the distribution, such as a Lightsail\n instance or load balancer.

                \n

                The distribution pulls, caches, and serves content from the origin.

                " } }, - "ableToUpdateBundle": { - "target": "com.amazonaws.lightsail#boolean", + "defaultCacheBehavior": { + "target": "com.amazonaws.lightsail#CacheBehavior", "traits": { - "smithy.api#documentation": "

                Indicates whether the bundle that is currently applied to your distribution, specified\n using the distributionName parameter, can be changed to another bundle.

                \n\n

                Use the UpdateDistributionBundle action to change your distribution's\n bundle.

                " + "smithy.api#documentation": "

                An object that describes the default cache behavior of the distribution.

                " } }, - "bundleId": { - "target": "com.amazonaws.lightsail#string", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The ID of the bundle currently applied to the distribution.

                " + "smithy.api#documentation": "

                The timestamp when the distribution was created.

                " } }, - "certificateName": { - "target": "com.amazonaws.lightsail#ResourceName", + "originPublicDNS": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the SSL/TLS certificate attached to the distribution, if any.

                " + "smithy.api#documentation": "

                The public DNS of the origin.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "status": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + "smithy.api#documentation": "

                The status of the distribution.

                " } }, - "defaultCacheBehavior": { - "target": "com.amazonaws.lightsail#CacheBehavior", + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                An object that describes the default cache behavior of the distribution.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the distribution.

                " } }, - "origin": { - "target": "com.amazonaws.lightsail#Origin", + "name": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                An object that describes the origin resource of the distribution, such as a Lightsail\n instance or load balancer.

                \n\n

                The distribution pulls, caches, and serves content from the origin.

                " + "smithy.api#documentation": "

                The name of the distribution.

                " } }, - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", "traits": { - "smithy.api#documentation": "

                An object that describes the location of the distribution, such as the AWS Region and\n Availability Zone.

                \n \n

                Lightsail distributions are global resources that can reference an origin in any AWS\n Region, and distribute its content globally. However, all distributions are located in the\n us-east-1 Region.

                \n
                " + "smithy.api#documentation": "

                The Lightsail resource type (e.g., Distribution).

                " } }, - "cacheBehaviors": { - "target": "com.amazonaws.lightsail#CacheBehaviorList", + "supportCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the per-path cache behavior of the distribution.

                " + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail distribution. This code enables our support team to look up your Lightsail\n information more easily.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "isEnabled": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The name of the distribution.

                " + "smithy.api#documentation": "

                Indicates whether the distribution is enabled.

                " } }, - "cacheBehaviorSettings": { - "target": "com.amazonaws.lightsail#CacheSettings", + "domainName": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                An object that describes the cache behavior settings of the distribution.

                " + "smithy.api#documentation": "

                The domain name of the distribution.

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "alternativeDomainNames": { + "target": "com.amazonaws.lightsail#StringList", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail distribution. This code enables our support team to look up your Lightsail\n information more easily.

                " + "smithy.api#documentation": "

                The alternate domain names of the distribution.

                " } }, - "status": { - "target": "com.amazonaws.lightsail#string", + "ableToUpdateBundle": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The status of the distribution.

                " + "smithy.api#documentation": "

                Indicates whether the bundle that is currently applied to your distribution, specified\n using the distributionName parameter, can be changed to another bundle.

                \n

                Use the UpdateDistributionBundle action to change your distribution's\n bundle.

                " } }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "certificateName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the distribution.

                " + "smithy.api#documentation": "

                The name of the SSL/TLS certificate attached to the distribution, if any.

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The Lightsail resource type (e.g., Distribution).

                " + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } } }, @@ -10848,6 +12296,15 @@ { "target": "com.amazonaws.lightsail#CreateContactMethod" }, + { + "target": "com.amazonaws.lightsail#CreateContainerService" + }, + { + "target": "com.amazonaws.lightsail#CreateContainerServiceDeployment" + }, + { + "target": "com.amazonaws.lightsail#CreateContainerServiceRegistryLogin" + }, { "target": "com.amazonaws.lightsail#CreateDisk" }, @@ -10905,6 +12362,12 @@ { "target": "com.amazonaws.lightsail#DeleteContactMethod" }, + { + "target": "com.amazonaws.lightsail#DeleteContainerImage" + }, + { + "target": "com.amazonaws.lightsail#DeleteContainerService" + }, { "target": "com.amazonaws.lightsail#DeleteDisk" }, @@ -10992,6 +12455,27 @@ { "target": "com.amazonaws.lightsail#GetContactMethods" }, + { + "target": "com.amazonaws.lightsail#GetContainerAPIMetadata" + }, + { + "target": "com.amazonaws.lightsail#GetContainerImages" + }, + { + "target": "com.amazonaws.lightsail#GetContainerLog" + }, + { + "target": "com.amazonaws.lightsail#GetContainerServiceDeployments" + }, + { + "target": "com.amazonaws.lightsail#GetContainerServiceMetricData" + }, + { + "target": "com.amazonaws.lightsail#GetContainerServicePowers" + }, + { + "target": "com.amazonaws.lightsail#GetContainerServices" + }, { "target": "com.amazonaws.lightsail#GetDisk" }, @@ -11145,6 +12629,9 @@ { "target": "com.amazonaws.lightsail#RebootRelationalDatabase" }, + { + "target": "com.amazonaws.lightsail#RegisterContainerImage" + }, { "target": "com.amazonaws.lightsail#ReleaseStaticIp" }, @@ -11178,6 +12665,9 @@ { "target": "com.amazonaws.lightsail#UntagResource" }, + { + "target": "com.amazonaws.lightsail#UpdateContainerService" + }, { "target": "com.amazonaws.lightsail#UpdateDistribution" }, @@ -11208,41 +12698,41 @@ "name": "lightsail" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

                Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers\n who need to build websites or web applications. It includes everything you need to launch your\n project quickly – instances (virtual private servers), managed databases, SSD-based block\n storage, static IP addresses, load balancers, content delivery network (CDN) distributions,\n DNS management of registered domains, and snapshots (backups) – for a low, predictable monthly\n price.

                \n\n

                You can manage your Lightsail resources using the Lightsail console, Lightsail API,\n AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts\n and tasks, see the Lightsail Dev Guide.

                \n\n

                This API Reference provides detailed information about the actions, data types,\n parameters, and errors of the Lightsail service. For more information about the supported\n AWS Regions, endpoints, and service quotas for the Lightsail service, see Amazon Lightsail Endpoints and\n Quotas in the AWS General Reference.

                ", + "smithy.api#documentation": "

                Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers\n who need to build websites or web applications. It includes everything you need to launch your\n project quickly - instances (virtual private servers), container services, managed databases,\n SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN)\n distributions, DNS management of registered domains, and resource snapshots (backups) - for a\n low, predictable monthly price.

                \n\n

                You can manage your Lightsail resources using the Lightsail console, Lightsail API,\n AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts\n and tasks, see the Lightsail Dev Guide.

                \n\n

                This API Reference provides detailed information about the actions, data types,\n parameters, and errors of the Lightsail service. For more information about the supported\n AWS Regions, endpoints, and service quotas of the Lightsail service, see Amazon Lightsail Endpoints and\n Quotas in the AWS General Reference.

                ", "smithy.api#title": "Amazon Lightsail" } }, "com.amazonaws.lightsail#LoadBalancer": { "type": "structure", "members": { - "instanceHealthSummary": { - "target": "com.amazonaws.lightsail#InstanceHealthSummaryList", + "tlsCertificateSummaries": { + "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateSummaryList", "traits": { - "smithy.api#documentation": "

                An array of InstanceHealthSummary objects describing the health of the load\n balancer.

                " + "smithy.api#documentation": "

                An array of LoadBalancerTlsCertificateSummary objects that provide additional information\n about the SSL/TLS certificates. For example, if true, the certificate is attached\n to the load balancer.

                " } }, - "dnsName": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "instancePort": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The DNS name of your Lightsail load balancer.

                " + "smithy.api#documentation": "

                The port where the load balancer will direct traffic to your Lightsail instances. For\n HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.

                " } }, - "tlsCertificateSummaries": { - "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateSummaryList", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                An array of LoadBalancerTlsCertificateSummary objects that provide additional information\n about the SSL/TLS certificates. For example, if true, the certificate is attached\n to the load balancer.

                " + "smithy.api#documentation": "

                The date when your load balancer was created.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "protocol": { + "target": "com.amazonaws.lightsail#LoadBalancerProtocol", "traits": { - "smithy.api#documentation": "

                The name of the load balancer (e.g., my-load-balancer).

                " + "smithy.api#documentation": "

                The protocol you have enabled for your load balancer. Valid values are below.

                \n

                You can't just have HTTP_HTTPS, but you can have just\n HTTP.

                " } }, - "arn": { + "healthCheckPath": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the load balancer.

                " + "smithy.api#documentation": "

                The path you specified to perform your health checks. If no path is specified, the load\n balancer tries to make a request to the default (root) page.

                " } }, "resourceType": { @@ -11251,28 +12741,22 @@ "smithy.api#documentation": "

                The resource type (e.g., LoadBalancer.

                " } }, - "protocol": { - "target": "com.amazonaws.lightsail#LoadBalancerProtocol", - "traits": { - "smithy.api#documentation": "

                The protocol you have enabled for your load balancer. Valid values are below.

                \n

                You can't just have HTTP_HTTPS, but you can have just\n HTTP.

                " - } - }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "name": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The date when your load balancer was created.

                " + "smithy.api#documentation": "

                The name of the load balancer (e.g., my-load-balancer).

                " } }, - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "dnsName": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The AWS Region where your load balancer was created (e.g., us-east-2a).\n Lightsail automatically creates your load balancer across Availability Zones.

                " + "smithy.api#documentation": "

                The DNS name of your Lightsail load balancer.

                " } }, - "configurationOptions": { - "target": "com.amazonaws.lightsail#LoadBalancerConfigurationOptions", + "instanceHealthSummary": { + "target": "com.amazonaws.lightsail#InstanceHealthSummaryList", "traits": { - "smithy.api#documentation": "

                A string to string map of the configuration options for your load balancer. Valid values\n are listed below.

                " + "smithy.api#documentation": "

                An array of InstanceHealthSummary objects describing the health of the load\n balancer.

                " } }, "state": { @@ -11281,34 +12765,40 @@ "smithy.api#documentation": "

                The status of your load balancer. Valid values are below.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "publicPorts": { + "target": "com.amazonaws.lightsail#PortList", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + "smithy.api#documentation": "

                An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS,\n use port 443.

                " } }, - "healthCheckPath": { + "supportCode": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail load balancer. This code enables our support team to look up your Lightsail\n information more easily.

                " + } + }, + "arn": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The path you specified to perform your health checks. If no path is specified, the load\n balancer tries to make a request to the default (root) page.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the load balancer.

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail load balancer. This code enables our support team to look up your Lightsail\n information more easily.

                " + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, - "instancePort": { - "target": "com.amazonaws.lightsail#integer", + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The port where the load balancer will direct traffic to your Lightsail instances. For\n HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.

                " + "smithy.api#documentation": "

                The AWS Region where your load balancer was created (e.g., us-east-2a).\n Lightsail automatically creates your load balancer across Availability Zones.

                " } }, - "publicPorts": { - "target": "com.amazonaws.lightsail#PortList", + "configurationOptions": { + "target": "com.amazonaws.lightsail#LoadBalancerConfigurationOptions", "traits": { - "smithy.api#documentation": "

                An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS,\n use port 443.

                " + "smithy.api#documentation": "

                A string to string map of the configuration options for your load balancer. Valid values\n are listed below.

                " } } }, @@ -11450,40 +12940,40 @@ "com.amazonaws.lightsail#LoadBalancerTlsCertificate": { "type": "structure", "members": { - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "revokedAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The AWS Region and Availability Zone where you created your certificate.

                " + "smithy.api#documentation": "

                The timestamp when the certificate was revoked. This value is present only when the\n certificate status is REVOKED.

                " } }, - "status": { - "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateStatus", + "subjectAlternativeNames": { + "target": "com.amazonaws.lightsail#StringList", "traits": { - "smithy.api#documentation": "

                The validation status of the SSL/TLS certificate. Valid values are below.

                " + "smithy.api#documentation": "

                An array of strings that specify the alternate domains (e.g., example2.com)\n and subdomains (e.g., blog.example.com) for the certificate.

                " } }, - "serial": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "revocationReason": { + "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateRevocationReason", "traits": { - "smithy.api#documentation": "

                The serial number of the certificate.

                " + "smithy.api#documentation": "

                The reason the certificate was revoked. This value is present only when the certificate\n status is REVOKED.

                " } }, - "loadBalancerName": { - "target": "com.amazonaws.lightsail#ResourceName", + "subject": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The load balancer name where your SSL/TLS certificate is attached.

                " + "smithy.api#documentation": "

                The name of the entity that is associated with the public key contained in the\n certificate.

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "issuer": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail load balancer or SSL/TLS certificate. This code enables our support team to\n look up your Lightsail information more easily.

                " + "smithy.api#documentation": "

                The issuer of the certificate.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "keyAlgorithm": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The name of the SSL/TLS certificate (e.g., my-certificate).

                " + "smithy.api#documentation": "

                The algorithm used to generate the key pair (the public and private key).

                " } }, "domainValidationRecords": { @@ -11492,112 +12982,112 @@ "smithy.api#documentation": "

                An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the\n records.

                " } }, - "signatureAlgorithm": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "loadBalancerName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The algorithm that was used to sign the certificate.

                " + "smithy.api#documentation": "

                The load balancer name where your SSL/TLS certificate is attached.

                " } }, - "notAfter": { + "createdAt": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The timestamp when the SSL/TLS certificate expires.

                " - } - }, - "isAttached": { - "target": "com.amazonaws.lightsail#boolean", - "traits": { - "smithy.api#documentation": "

                When true, the SSL/TLS certificate is attached to the Lightsail load\n balancer.

                " + "smithy.api#documentation": "

                The time when you created your SSL/TLS certificate.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "issuedAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + "smithy.api#documentation": "

                The time when the SSL/TLS certificate was issued.

                " } }, - "failureReason": { - "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateFailureReason", + "renewalSummary": { + "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateRenewalSummary", "traits": { - "smithy.api#documentation": "

                The validation failure reason, if any, of the certificate.

                \n\n

                The following failure reasons are possible:

                \n
                  \n
                • \n

                  \n \n NO_AVAILABLE_CONTACTS\n - This failure\n applies to email validation, which is not available for Lightsail certificates.

                  \n
                • \n
                • \n

                  \n \n ADDITIONAL_VERIFICATION_REQUIRED\n -\n Lightsail requires additional information to process this certificate request. This can\n happen as a fraud-protection measure, such as when the domain ranks within the Alexa top\n 1000 websites. To provide the required information, use the AWS Support Center to contact\n AWS Support.

                  \n \n

                  You cannot request a certificate for Amazon-owned domain names such as those ending\n in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.

                  \n
                  \n
                • \n
                • \n

                  \n \n DOMAIN_NOT_ALLOWED\n - One or more of the\n domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the\n problem, search for your domain name on the VirusTotal website. If your domain\n is reported as suspicious, see Google Help for Hacked\n Websites to learn what you can do.

                  \n

                  If you believe that the result is a false positive, notify the organization that is\n reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and\n cannot remove your domain from a block list itself. After you correct the problem and the\n VirusTotal registry has been updated, request a new certificate.

                  \n

                  If you see this error and your domain is not included in the VirusTotal list, visit\n the AWS Support Center\n and create a case.

                  \n
                • \n
                • \n

                  \n \n INVALID_PUBLIC_DOMAIN\n - One or more of\n the domain names in the certificate request is not valid. Typically, this is because a\n domain name in the request is not a valid top-level domain. Try to request a certificate\n again, correcting any spelling errors or typos that were in the failed request, and ensure\n that all domain names in the request are for valid top-level domains. For example, you\n cannot request a certificate for example.invalidpublicdomain because\n invalidpublicdomain is not a valid top-level domain.

                  \n
                • \n
                • \n

                  \n \n OTHER\n - Typically, this failure occurs\n when there is a typographical error in one or more of the domain names in the certificate\n request. Try to request a certificate again, correcting any spelling errors or typos that\n were in the failed request.

                  \n
                • \n
                " + "smithy.api#documentation": "

                An object that describes the status of the certificate renewal managed by\n Lightsail.

                " } }, - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", + "notAfter": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The domain name for your SSL/TLS certificate.

                " + "smithy.api#documentation": "

                The timestamp when the SSL/TLS certificate expires.

                " } }, - "subjectAlternativeNames": { - "target": "com.amazonaws.lightsail#StringList", + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                An array of strings that specify the alternate domains (e.g., example2.com)\n and subdomains (e.g., blog.example.com) for the certificate.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the SSL/TLS certificate.

                " } }, - "revocationReason": { - "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateRevocationReason", + "status": { + "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateStatus", "traits": { - "smithy.api#documentation": "

                The reason the certificate was revoked. This value is present only when the certificate\n status is REVOKED.

                " + "smithy.api#documentation": "

                The validation status of the SSL/TLS certificate. Valid values are below.

                " } }, - "revokedAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The timestamp when the certificate was revoked. This value is present only when the\n certificate status is REVOKED.

                " + "smithy.api#documentation": "

                The AWS Region and Availability Zone where you created your certificate.

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The resource type (e.g., LoadBalancerTlsCertificate).

                \n
                  \n
                • \n

                  \n \n Instance\n - A Lightsail instance (a\n virtual private server)

                  \n
                • \n
                • \n

                  \n \n StaticIp\n - A static IP address

                  \n
                • \n
                • \n

                  \n \n KeyPair\n - The key pair used to connect\n to a Lightsail instance

                  \n
                • \n
                • \n

                  \n \n InstanceSnapshot\n - A Lightsail\n instance snapshot

                  \n
                • \n
                • \n

                  \n \n Domain\n - A DNS zone

                  \n
                • \n
                • \n

                  \n \n PeeredVpc\n - A peered VPC

                  \n
                • \n
                • \n

                  \n \n LoadBalancer\n - A Lightsail load\n balancer

                  \n
                • \n
                • \n

                  \n \n LoadBalancerTlsCertificate\n - An SSL/TLS\n certificate associated with a Lightsail load balancer

                  \n
                • \n
                • \n

                  \n \n Disk\n - A Lightsail block storage\n disk

                  \n
                • \n
                • \n

                  \n \n DiskSnapshot\n - A block storage disk\n snapshot

                  \n
                • \n
                " + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, - "subject": { + "signatureAlgorithm": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The name of the entity that is associated with the public key contained in the\n certificate.

                " + "smithy.api#documentation": "

                The algorithm that was used to sign the certificate.

                " } }, - "keyAlgorithm": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "failureReason": { + "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateFailureReason", "traits": { - "smithy.api#documentation": "

                The algorithm used to generate the key pair (the public and private key).

                " + "smithy.api#documentation": "

                The validation failure reason, if any, of the certificate.

                \n\n

                The following failure reasons are possible:

                \n
                  \n
                • \n

                  \n \n NO_AVAILABLE_CONTACTS\n - This failure\n applies to email validation, which is not available for Lightsail certificates.

                  \n
                • \n
                • \n

                  \n \n ADDITIONAL_VERIFICATION_REQUIRED\n -\n Lightsail requires additional information to process this certificate request. This can\n happen as a fraud-protection measure, such as when the domain ranks within the Alexa top\n 1000 websites. To provide the required information, use the AWS Support Center to contact\n AWS Support.

                  \n \n

                  You cannot request a certificate for Amazon-owned domain names such as those ending\n in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.

                  \n
                  \n
                • \n
                • \n

                  \n \n DOMAIN_NOT_ALLOWED\n - One or more of the\n domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the\n problem, search for your domain name on the VirusTotal website. If your domain\n is reported as suspicious, see Google Help for Hacked\n Websites to learn what you can do.

                  \n

                  If you believe that the result is a false positive, notify the organization that is\n reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and\n cannot remove your domain from a block list itself. After you correct the problem and the\n VirusTotal registry has been updated, request a new certificate.

                  \n

                  If you see this error and your domain is not included in the VirusTotal list, visit\n the AWS Support Center\n and create a case.

                  \n
                • \n
                • \n

                  \n \n INVALID_PUBLIC_DOMAIN\n - One or more of\n the domain names in the certificate request is not valid. Typically, this is because a\n domain name in the request is not a valid top-level domain. Try to request a certificate\n again, correcting any spelling errors or typos that were in the failed request, and ensure\n that all domain names in the request are for valid top-level domains. For example, you\n cannot request a certificate for example.invalidpublicdomain because\n invalidpublicdomain is not a valid top-level domain.

                  \n
                • \n
                • \n

                  \n \n OTHER\n - Typically, this failure occurs\n when there is a typographical error in one or more of the domain names in the certificate\n request. Try to request a certificate again, correcting any spelling errors or typos that\n were in the failed request.

                  \n
                • \n
                " } }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "domainName": { + "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the SSL/TLS certificate.

                " + "smithy.api#documentation": "

                The domain name for your SSL/TLS certificate.

                " } }, - "issuedAt": { + "notBefore": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The time when the SSL/TLS certificate was issued.

                " + "smithy.api#documentation": "

                The timestamp when the SSL/TLS certificate is first valid.

                " } }, - "renewalSummary": { - "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateRenewalSummary", + "name": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                An object that describes the status of the certificate renewal managed by\n Lightsail.

                " + "smithy.api#documentation": "

                The name of the SSL/TLS certificate (e.g., my-certificate).

                " } }, - "issuer": { + "serial": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The issuer of the certificate.

                " + "smithy.api#documentation": "

                The serial number of the certificate.

                " } }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", "traits": { - "smithy.api#documentation": "

                The time when you created your SSL/TLS certificate.

                " + "smithy.api#documentation": "

                The resource type (e.g., LoadBalancerTlsCertificate).

                \n
                  \n
                • \n

                  \n \n Instance\n - A Lightsail instance (a\n virtual private server)

                  \n
                • \n
                • \n

                  \n \n StaticIp\n - A static IP address

                  \n
                • \n
                • \n

                  \n \n KeyPair\n - The key pair used to connect\n to a Lightsail instance

                  \n
                • \n
                • \n

                  \n \n InstanceSnapshot\n - A Lightsail\n instance snapshot

                  \n
                • \n
                • \n

                  \n \n Domain\n - A DNS zone

                  \n
                • \n
                • \n

                  \n \n PeeredVpc\n - A peered VPC

                  \n
                • \n
                • \n

                  \n \n LoadBalancer\n - A Lightsail load\n balancer

                  \n
                • \n
                • \n

                  \n \n LoadBalancerTlsCertificate\n - An SSL/TLS\n certificate associated with a Lightsail load balancer

                  \n
                • \n
                • \n

                  \n \n Disk\n - A Lightsail block storage\n disk

                  \n
                • \n
                • \n

                  \n \n DiskSnapshot\n - A block storage disk\n snapshot

                  \n
                • \n
                " + } + }, + "isAttached": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                When true, the SSL/TLS certificate is attached to the Lightsail load\n balancer.

                " } }, - "notBefore": { - "target": "com.amazonaws.lightsail#IsoDate", + "supportCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The timestamp when the SSL/TLS certificate is first valid.

                " + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n your Lightsail load balancer or SSL/TLS certificate. This code enables our support team to\n look up your Lightsail information more easily.

                " } } }, @@ -11653,10 +13143,10 @@ "com.amazonaws.lightsail#LoadBalancerTlsCertificateDomainValidationRecord": { "type": "structure", "members": { - "name": { + "value": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                A fully qualified domain name in the certificate. For example,\n example.com.

                " + "smithy.api#documentation": "

                The value for that type.

                " } }, "domainName": { @@ -11665,10 +13155,10 @@ "smithy.api#documentation": "

                The domain name against which your SSL/TLS certificate was validated.

                " } }, - "value": { + "name": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The value for that type.

                " + "smithy.api#documentation": "

                A fully qualified domain name in the certificate. For example,\n example.com.

                " } }, "validationStatus": { @@ -11753,21 +13243,21 @@ "com.amazonaws.lightsail#LoadBalancerTlsCertificateRenewalSummary": { "type": "structure", "members": { - "domainValidationOptions": { - "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateDomainValidationOptionList", - "traits": { - "smithy.api#documentation": "

                Contains information about the validation of each domain name in the certificate, as it\n pertains to Lightsail's managed renewal. This is different from the initial validation that\n occurs as a result of the RequestCertificate request.

                " - } - }, "renewalStatus": { "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateRenewalStatus", "traits": { "smithy.api#documentation": "

                The renewal status of the certificate.

                \n

                The following renewal status are possible:

                \n
                  \n
                • \n

                  \n \n PendingAutoRenewal\n - Lightsail is\n attempting to automatically validate the domain names of the certificate. No further\n action is required.

                  \n
                • \n
                • \n

                  \n \n PendingValidation\n - Lightsail couldn't\n automatically validate one or more domain names of the certificate. You must take action\n to validate these domain names or the certificate won't be renewed. Check to make sure\n your certificate's domain validation records exist in your domain's DNS, and that your\n certificate remains in use.

                  \n
                • \n
                • \n

                  \n \n Success\n - All domain names in the\n certificate are validated, and Lightsail renewed the certificate. No further action is\n required.

                  \n
                • \n
                • \n

                  \n \n Failed\n - One or more domain names were\n not validated before the certificate expired, and Lightsail did not renew the\n certificate. You can request a new certificate using the CreateCertificate\n action.

                  \n
                • \n
                " } + }, + "domainValidationOptions": { + "target": "com.amazonaws.lightsail#LoadBalancerTlsCertificateDomainValidationOptionList", + "traits": { + "smithy.api#documentation": "

                Contains information about the validation of each domain name in the certificate, as it\n pertains to Lightsail's managed renewal. This is different from the initial validation that\n occurs as a result of the RequestCertificate request.

                " + } } }, "traits": { - "smithy.api#documentation": "

                Contains information about the status of Lightsail's managed renewal for the\n certificate.

                \n\n\n\n\n

                The renewal status of the certificate.

                \n

                The following renewal status are possible:

                \n
                  \n
                • \n

                  \n \n PendingAutoRenewal\n - Lightsail is\n attempting to automatically validate the domain names in the certificate. No further\n action is required.

                  \n
                • \n
                • \n

                  \n \n PendingValidation\n - Lightsail couldn't\n automatically validate one or more domain names in the certificate. You must take action\n to validate these domain names or the certificate won't be renewed. If you used DNS\n validation, check to make sure your certificate's domain validation records exist in your\n domain's DNS, and that your certificate remains in use.

                  \n
                • \n
                • \n

                  \n \n Success\n - All domain names in the\n certificate are validated, and Lightsail renewed the certificate. No further action is\n required.

                  \n
                • \n
                • \n

                  \n \n Failed\n - One or more domain names were\n not validated before the certificate expired, and Lightsail did not renew the\n certificate. You can request a new certificate using the CreateCertificate\n action.

                  \n
                • \n
                " + "smithy.api#documentation": "

                Contains information about the status of Lightsail's managed renewal for the\n certificate.

                \n

                The renewal status of the certificate.

                \n

                The following renewal status are possible:

                \n
                  \n
                • \n

                  \n \n PendingAutoRenewal\n - Lightsail is\n attempting to automatically validate the domain names in the certificate. No further\n action is required.

                  \n
                • \n
                • \n

                  \n \n PendingValidation\n - Lightsail couldn't\n automatically validate one or more domain names in the certificate. You must take action\n to validate these domain names or the certificate won't be renewed. If you used DNS\n validation, check to make sure your certificate's domain validation records exist in your\n domain's DNS, and that your certificate remains in use.

                  \n
                • \n
                • \n

                  \n \n Success\n - All domain names in the\n certificate are validated, and Lightsail renewed the certificate. No further action is\n required.

                  \n
                • \n
                • \n

                  \n \n Failed\n - One or more domain names were\n not validated before the certificate expired, and Lightsail did not renew the\n certificate. You can request a new certificate using the CreateCertificate\n action.

                  \n
                • \n
                " } }, "com.amazonaws.lightsail#LoadBalancerTlsCertificateRevocationReason": { @@ -11885,17 +13375,17 @@ "com.amazonaws.lightsail#LogEvent": { "type": "structure", "members": { - "message": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The message of the database log event.

                " - } - }, "createdAt": { "target": "com.amazonaws.lightsail#IsoDate", "traits": { "smithy.api#documentation": "

                The timestamp when the database log event was created.

                " } + }, + "message": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The message of the database log event.

                " + } } }, "traits": { @@ -11911,10 +13401,10 @@ "com.amazonaws.lightsail#MetricDatapoint": { "type": "structure", "members": { - "sampleCount": { + "sum": { "target": "com.amazonaws.lightsail#double", "traits": { - "smithy.api#documentation": "

                The sample count.

                " + "smithy.api#documentation": "

                The sum.

                " } }, "timestamp": { @@ -11929,18 +13419,18 @@ "smithy.api#documentation": "

                The minimum.

                " } }, - "sum": { - "target": "com.amazonaws.lightsail#double", - "traits": { - "smithy.api#documentation": "

                The sum.

                " - } - }, "unit": { "target": "com.amazonaws.lightsail#MetricUnit", "traits": { "smithy.api#documentation": "

                The unit.

                " } }, + "sampleCount": { + "target": "com.amazonaws.lightsail#double", + "traits": { + "smithy.api#documentation": "

                The sample count.

                " + } + }, "average": { "target": "com.amazonaws.lightsail#double", "traits": { @@ -12231,12 +13721,6 @@ "com.amazonaws.lightsail#MonitoredResourceInfo": { "type": "structure", "members": { - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", - "traits": { - "smithy.api#documentation": "

                The Lightsail resource type of the resource being monitored.

                \n

                Instances, load balancers, and relational databases are the only Lightsail resources\n that can currently be monitored by alarms.

                " - } - }, "name": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { @@ -12248,6 +13732,12 @@ "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the resource being monitored.

                " } + }, + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", + "traits": { + "smithy.api#documentation": "

                The Lightsail resource type of the resource being monitored.

                \n

                Instances, load balancers, and relational databases are the only Lightsail resources\n that can currently be monitored by alarms.

                " + } } }, "traits": { @@ -12300,7 +13790,7 @@ "com.amazonaws.lightsail#NotFoundException": { "type": "structure", "members": { - "code": { + "message": { "target": "com.amazonaws.lightsail#string" }, "docs": { @@ -12309,7 +13799,7 @@ "tip": { "target": "com.amazonaws.lightsail#string" }, - "message": { + "code": { "target": "com.amazonaws.lightsail#string" } }, @@ -12368,17 +13858,17 @@ "com.amazonaws.lightsail#OpenInstancePublicPortsRequest": { "type": "structure", "members": { - "instanceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "portInfo": { + "target": "com.amazonaws.lightsail#PortInfo", "traits": { - "smithy.api#documentation": "

                The name of the instance for which to open ports.

                ", + "smithy.api#documentation": "

                An object to describe the ports to open for the specified instance.

                ", "smithy.api#required": {} } }, - "portInfo": { - "target": "com.amazonaws.lightsail#PortInfo", + "instanceName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                An object to describe the ports to open for the specified instance.

                ", + "smithy.api#documentation": "

                The name of the instance for which to open ports.

                ", "smithy.api#required": {} } } @@ -12398,10 +13888,16 @@ "com.amazonaws.lightsail#Operation": { "type": "structure", "members": { - "isTerminal": { - "target": "com.amazonaws.lightsail#boolean", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether the operation is terminal.

                " + "smithy.api#documentation": "

                The timestamp when the operation was initialized (e.g.,\n 1479816991.349).

                " + } + }, + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", + "traits": { + "smithy.api#documentation": "

                The resource type.

                " } }, "errorCode": { @@ -12410,16 +13906,16 @@ "smithy.api#documentation": "

                The error code.

                " } }, - "operationType": { - "target": "com.amazonaws.lightsail#OperationType", + "isTerminal": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The type of operation.

                " + "smithy.api#documentation": "

                A Boolean value indicating whether the operation is terminal.

                " } }, - "resourceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "id": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The resource name.

                " + "smithy.api#documentation": "

                The ID of the operation.

                " } }, "location": { @@ -12428,16 +13924,10 @@ "smithy.api#documentation": "

                The AWS Region and Availability Zone.

                " } }, - "id": { - "target": "com.amazonaws.lightsail#NonEmptyString", - "traits": { - "smithy.api#documentation": "

                The ID of the operation.

                " - } - }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "operationType": { + "target": "com.amazonaws.lightsail#OperationType", "traits": { - "smithy.api#documentation": "

                The timestamp when the operation was initialized (e.g.,\n 1479816991.349).

                " + "smithy.api#documentation": "

                The type of operation.

                " } }, "statusChangedAt": { @@ -12446,10 +13936,10 @@ "smithy.api#documentation": "

                The timestamp when the status was changed (e.g., 1479816991.349).

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "resourceName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The resource type.

                " + "smithy.api#documentation": "

                The resource name.

                " } }, "operationDetails": { @@ -12478,13 +13968,13 @@ "com.amazonaws.lightsail#OperationFailureException": { "type": "structure", "members": { - "docs": { + "code": { "target": "com.amazonaws.lightsail#string" }, "tip": { "target": "com.amazonaws.lightsail#string" }, - "code": { + "docs": { "target": "com.amazonaws.lightsail#string" }, "message": { @@ -12789,6 +14279,34 @@ { "value": "DeleteCertificate", "name": "DeleteCertificate" + }, + { + "value": "CreateContainerService", + "name": "CreateContainerService" + }, + { + "value": "UpdateContainerService", + "name": "UpdateContainerService" + }, + { + "value": "DeleteContainerService", + "name": "DeleteContainerService" + }, + { + "value": "CreateContainerServiceDeployment", + "name": "CreateContainerServiceDeployment" + }, + { + "value": "CreateContainerServiceRegistryLogin", + "name": "CreateContainerServiceRegistryLogin" + }, + { + "value": "RegisterContainerImage", + "name": "RegisterContainerImage" + }, + { + "value": "DeleteContainerImage", + "name": "DeleteContainerImage" } ] } @@ -12796,22 +14314,16 @@ "com.amazonaws.lightsail#Origin": { "type": "structure", "members": { - "protocolPolicy": { - "target": "com.amazonaws.lightsail#OriginProtocolPolicyEnum", - "traits": { - "smithy.api#documentation": "

                The protocol that your Amazon Lightsail distribution uses when establishing a connection\n with your origin to pull content.

                " - } - }, "regionName": { "target": "com.amazonaws.lightsail#RegionName", "traits": { "smithy.api#documentation": "

                The AWS Region name of the origin resource.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "protocolPolicy": { + "target": "com.amazonaws.lightsail#OriginProtocolPolicyEnum", "traits": { - "smithy.api#documentation": "

                The name of the origin resource.

                " + "smithy.api#documentation": "

                The protocol that your Amazon Lightsail distribution uses when establishing a connection\n with your origin to pull content.

                " } }, "resourceType": { @@ -12819,10 +14331,16 @@ "traits": { "smithy.api#documentation": "

                The resource type of the origin resource (e.g., Instance).

                " } + }, + "name": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the origin resource.

                " + } } }, "traits": { - "smithy.api#documentation": "

                Describes the origin resource of an Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                An origin can be a Lightsail instance or load balancer. A distribution pulls content\n from an origin, caches it, and serves it to viewers via a worldwide network of edge\n servers.

                " + "smithy.api#documentation": "

                Describes the origin resource of an Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                An origin can be a Lightsail instance or load balancer. A distribution pulls content\n from an origin, caches it, and serves it to viewers via a worldwide network of edge\n servers.

                " } }, "com.amazonaws.lightsail#OriginProtocolPolicyEnum": { @@ -12918,10 +14436,10 @@ "com.amazonaws.lightsail#PendingMaintenanceAction": { "type": "structure", "members": { - "action": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "currentApplyDate": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The type of pending database maintenance action.

                " + "smithy.api#documentation": "

                The effective date of the pending database maintenance action.

                " } }, "description": { @@ -12930,10 +14448,10 @@ "smithy.api#documentation": "

                Additional detail about the pending database maintenance action.

                " } }, - "currentApplyDate": { - "target": "com.amazonaws.lightsail#IsoDate", + "action": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The effective date of the pending database maintenance action.

                " + "smithy.api#documentation": "

                The type of pending database maintenance action.

                " } } }, @@ -12950,6 +14468,12 @@ "com.amazonaws.lightsail#PendingModifiedRelationalDatabaseValues": { "type": "structure", "members": { + "masterUserPassword": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The password for the master user of the database.

                " + } + }, "backupRetentionEnabled": { "target": "com.amazonaws.lightsail#boolean", "traits": { @@ -12961,12 +14485,6 @@ "traits": { "smithy.api#documentation": "

                The database engine version.

                " } - }, - "masterUserPassword": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The password for the master user of the database.

                " - } } }, "traits": { @@ -13000,16 +14518,10 @@ "com.amazonaws.lightsail#PortInfo": { "type": "structure", "members": { - "fromPort": { + "toPort": { "target": "com.amazonaws.lightsail#Port", "traits": { - "smithy.api#documentation": "

                The first port in a range of open ports on an instance.

                \n

                Allowed ports:

                \n
                  \n
                • \n

                  TCP and UDP - 0 to 65535\n

                  \n
                • \n
                • \n

                  ICMP - The ICMP type. For example, specify 8 as the fromPort\n (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP\n Ping. For more information, see Control Messages on Wikipedia.

                  \n
                • \n
                " - } - }, - "protocol": { - "target": "com.amazonaws.lightsail#NetworkProtocol", - "traits": { - "smithy.api#documentation": "

                The IP protocol name.

                \n

                The name can be one of the following:

                \n
                  \n
                • \n

                  \n tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and\n error-checked delivery of streamed data between applications running on hosts\n communicating by an IP network. If you have an application that doesn't require reliable\n data stream service, use UDP instead.

                  \n
                • \n
                • \n

                  \n all - All transport layer protocol types. For more general information,\n see Transport layer on\n Wikipedia.

                  \n
                • \n
                • \n

                  \n udp - With User Datagram Protocol (UDP), computer applications can send\n messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior\n communications are not required to set up transmission channels or data paths.\n Applications that don't require reliable data stream service can use UDP, which provides a\n connectionless datagram service that emphasizes reduced latency over reliability. If you\n do require reliable data stream service, use TCP instead.

                  \n
                • \n
                • \n

                  \n icmp - Internet Control Message Protocol (ICMP) is used to send error\n messages and operational information indicating success or failure when communicating with\n an instance. For example, an error is indicated when an instance could not be reached.\n When you specify icmp as the protocol, you must specify the ICMP\n type using the fromPort parameter, and ICMP code using the\n toPort parameter.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The last port in a range of open ports on an instance.

                \n

                Allowed ports:

                \n
                  \n
                • \n

                  TCP and UDP - 0 to 65535\n

                  \n
                • \n
                • \n

                  ICMP - The ICMP code. For example, specify 8 as the fromPort\n (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP\n Ping. For more information, see Control Messages on Wikipedia.

                  \n
                • \n
                " } }, "cidrs": { @@ -13018,10 +14530,10 @@ "smithy.api#documentation": "

                The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to\n an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                \n

                Examples:

                \n
                  \n
                • \n

                  To allow the IP address 192.0.2.44, specify 192.0.2.44 or\n 192.0.2.44/32.

                  \n
                • \n
                • \n

                  To allow the IP addresses 192.0.2.0 to 192.0.2.255, specify\n 192.0.2.0/24.

                  \n
                • \n
                \n

                For more information about CIDR block notation, see Classless\n Inter-Domain Routing on Wikipedia.

                " } }, - "toPort": { - "target": "com.amazonaws.lightsail#Port", + "protocol": { + "target": "com.amazonaws.lightsail#NetworkProtocol", "traits": { - "smithy.api#documentation": "

                The last port in a range of open ports on an instance.

                \n

                Allowed ports:

                \n
                  \n
                • \n

                  TCP and UDP - 0 to 65535\n

                  \n
                • \n
                • \n

                  ICMP - The ICMP code. For example, specify 8 as the fromPort\n (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP\n Ping. For more information, see Control Messages on Wikipedia.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The IP protocol name.

                \n

                The name can be one of the following:

                \n
                  \n
                • \n

                  \n tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and\n error-checked delivery of streamed data between applications running on hosts\n communicating by an IP network. If you have an application that doesn't require reliable\n data stream service, use UDP instead.

                  \n
                • \n
                • \n

                  \n all - All transport layer protocol types. For more general information,\n see Transport layer on\n Wikipedia.

                  \n
                • \n
                • \n

                  \n udp - With User Datagram Protocol (UDP), computer applications can send\n messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior\n communications are not required to set up transmission channels or data paths.\n Applications that don't require reliable data stream service can use UDP, which provides a\n connectionless datagram service that emphasizes reduced latency over reliability. If you\n do require reliable data stream service, use TCP instead.

                  \n
                • \n
                • \n

                  \n icmp - Internet Control Message Protocol (ICMP) is used to send error\n messages and operational information indicating success or failure when communicating with\n an instance. For example, an error is indicated when an instance could not be reached.\n When you specify icmp as the protocol, you must specify the ICMP\n type using the fromPort parameter, and ICMP code using the\n toPort parameter.

                  \n
                • \n
                " } }, "cidrListAliases": { @@ -13029,6 +14541,12 @@ "traits": { "smithy.api#documentation": "

                An alias that defines access for a preconfigured range of IP addresses.

                \n

                The only alias currently supported is lightsail-connect, which allows IP\n addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your\n instance.

                " } + }, + "fromPort": { + "target": "com.amazonaws.lightsail#Port", + "traits": { + "smithy.api#documentation": "

                The first port in a range of open ports on an instance.

                \n

                Allowed ports:

                \n
                  \n
                • \n

                  TCP and UDP - 0 to 65535\n

                  \n
                • \n
                • \n

                  ICMP - The ICMP type. For example, specify 8 as the fromPort\n (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP\n Ping. For more information, see Control Messages on Wikipedia.

                  \n
                • \n
                " + } } }, "traits": { @@ -13070,6 +14588,15 @@ "target": "com.amazonaws.lightsail#Port" } }, + "com.amazonaws.lightsail#PortMap": { + "type": "map", + "key": { + "target": "com.amazonaws.lightsail#string" + }, + "value": { + "target": "com.amazonaws.lightsail#ContainerServiceProtocol" + } + }, "com.amazonaws.lightsail#PortState": { "type": "string", "traits": { @@ -13125,22 +14652,23 @@ "com.amazonaws.lightsail#PutAlarmRequest": { "type": "structure", "members": { - "datapointsToAlarm": { - "target": "com.amazonaws.lightsail#integer", + "comparisonOperator": { + "target": "com.amazonaws.lightsail#ComparisonOperator", "traits": { - "smithy.api#documentation": "

                The number of data points that must be not within the specified threshold to trigger the\n alarm. If you are setting an \"M out of N\" alarm, this value (datapointsToAlarm)\n is the M.

                " + "smithy.api#documentation": "

                The arithmetic operation to use when comparing the specified statistic to the threshold.\n The specified statistic value is used as the first operand.

                ", + "smithy.api#required": {} } }, - "treatMissingData": { - "target": "com.amazonaws.lightsail#TreatMissingData", + "notificationEnabled": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                Sets how this alarm will handle missing data points.

                \n

                An alarm can treat missing data in the following ways:

                \n
                  \n
                • \n

                  \n breaching - Assume the missing data is not within the threshold. Missing\n data counts towards the number of times the metric is not within the threshold.

                  \n
                • \n
                • \n

                  \n notBreaching - Assume the missing data is within the threshold. Missing\n data does not count towards the number of times the metric is not within the\n threshold.

                  \n
                • \n
                • \n

                  \n ignore - Ignore the missing data. Maintains the current alarm\n state.

                  \n
                • \n
                • \n

                  \n missing - Missing data is treated as missing.

                  \n
                • \n
                \n

                If treatMissingData is not specified, the default behavior of\n missing is used.

                " + "smithy.api#documentation": "

                Indicates whether the alarm is enabled.

                \n

                Notifications are enabled by default if you don't specify this parameter.

                " } }, - "threshold": { - "target": "com.amazonaws.lightsail#double", + "evaluationPeriods": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The value against which the specified statistic is compared.

                ", + "smithy.api#documentation": "

                The number of most recent periods over which data is compared to the specified threshold.\n If you are setting an \"M out of N\" alarm, this value (evaluationPeriods) is the\n N.

                \n

                If you are setting an alarm that requires that a number of consecutive data points be\n breaching to trigger the alarm, this value specifies the rolling period of time in which data\n points are evaluated.

                \n

                Each evaluation period is five minutes long. For example, specify an evaluation period of\n 24 to evaluate a metric over a rolling period of two hours.

                \n

                You can specify a minimum valuation period of 1 (5 minutes), and a maximum evaluation\n period of 288 (24 hours).

                ", "smithy.api#required": {} } }, @@ -13150,37 +14678,36 @@ "smithy.api#documentation": "

                The alarm states that trigger a notification.

                \n

                An alarm has the following possible states:

                \n
                  \n
                • \n

                  \n ALARM - The metric is outside of the defined threshold.

                  \n
                • \n
                • \n

                  \n INSUFFICIENT_DATA - The alarm has just started, the metric is not\n available, or not enough data is available for the metric to determine the alarm\n state.

                  \n
                • \n
                • \n

                  \n OK - The metric is within the defined threshold.

                  \n
                • \n
                \n

                When you specify a notification trigger, the ALARM state must be specified.\n The INSUFFICIENT_DATA and OK states can be specified in addition to\n the ALARM state.

                \n
                  \n
                • \n

                  If you specify OK as an alarm trigger, a notification is sent when the\n alarm switches from an ALARM or INSUFFICIENT_DATA alarm state to\n an OK state. This can be thought of as an all clear\n alarm notification.

                  \n
                • \n
                • \n

                  If you specify INSUFFICIENT_DATA as the alarm trigger, a notification is\n sent when the alarm switches from an OK or ALARM alarm state to\n an INSUFFICIENT_DATA state.

                  \n
                • \n
                \n

                The notification trigger defaults to ALARM if you don't specify this\n parameter.

                " } }, - "monitoredResourceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "threshold": { + "target": "com.amazonaws.lightsail#double", "traits": { - "smithy.api#documentation": "

                The name of the Lightsail resource that will be monitored.

                \n

                Instances, load balancers, and relational databases are the only Lightsail resources\n that can currently be monitored by alarms.

                ", + "smithy.api#documentation": "

                The value against which the specified statistic is compared.

                ", "smithy.api#required": {} } }, - "evaluationPeriods": { + "datapointsToAlarm": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The number of most recent periods over which data is compared to the specified threshold.\n If you are setting an \"M out of N\" alarm, this value (evaluationPeriods) is the\n N.

                \n

                If you are setting an alarm that requires that a number of consecutive data points be\n breaching to trigger the alarm, this value specifies the rolling period of time in which data\n points are evaluated.

                \n

                Each evaluation period is five minutes long. For example, specify an evaluation period of\n 24 to evaluate a metric over a rolling period of two hours.

                \n

                You can specify a minimum valuation period of 1 (5 minutes), and a maximum evaluation\n period of 288 (24 hours).

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The number of data points that must be not within the specified threshold to trigger the\n alarm. If you are setting an \"M out of N\" alarm, this value (datapointsToAlarm)\n is the M.

                " } }, - "comparisonOperator": { - "target": "com.amazonaws.lightsail#ComparisonOperator", + "alarmName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The arithmetic operation to use when comparing the specified statistic to the threshold.\n The specified statistic value is used as the first operand.

                ", + "smithy.api#documentation": "

                The name for the alarm. Specify the name of an existing alarm to update, and overwrite the\n previous configuration of the alarm.

                ", "smithy.api#required": {} } }, - "notificationEnabled": { - "target": "com.amazonaws.lightsail#boolean", + "treatMissingData": { + "target": "com.amazonaws.lightsail#TreatMissingData", "traits": { - "smithy.api#documentation": "

                Indicates whether the alarm is enabled.

                \n

                Notifications are enabled by default if you don't specify this parameter.

                " + "smithy.api#documentation": "

                Sets how this alarm will handle missing data points.

                \n

                An alarm can treat missing data in the following ways:

                \n
                  \n
                • \n

                  \n breaching - Assume the missing data is not within the threshold. Missing\n data counts towards the number of times the metric is not within the threshold.

                  \n
                • \n
                • \n

                  \n notBreaching - Assume the missing data is within the threshold. Missing\n data does not count towards the number of times the metric is not within the\n threshold.

                  \n
                • \n
                • \n

                  \n ignore - Ignore the missing data. Maintains the current alarm\n state.

                  \n
                • \n
                • \n

                  \n missing - Missing data is treated as missing.

                  \n
                • \n
                \n

                If treatMissingData is not specified, the default behavior of\n missing is used.

                " } }, - "alarmName": { + "monitoredResourceName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name for the alarm. Specify the name of an existing alarm to update, and overwrite the\n previous configuration of the alarm.

                ", + "smithy.api#documentation": "

                The name of the Lightsail resource that will be monitored.

                \n

                Instances, load balancers, and relational databases are the only Lightsail resources\n that can currently be monitored by alarms.

                ", "smithy.api#required": {} } }, @@ -13253,17 +14780,17 @@ "com.amazonaws.lightsail#PutInstancePublicPortsRequest": { "type": "structure", "members": { - "instanceName": { - "target": "com.amazonaws.lightsail#ResourceName", + "portInfos": { + "target": "com.amazonaws.lightsail#PortInfoList", "traits": { - "smithy.api#documentation": "

                The name of the instance for which to open ports.

                ", + "smithy.api#documentation": "

                An array of objects to describe the ports to open for the specified instance.

                ", "smithy.api#required": {} } }, - "portInfos": { - "target": "com.amazonaws.lightsail#PortInfoList", + "instanceName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                An array of objects to describe the ports to open for the specified instance.

                ", + "smithy.api#documentation": "

                The name of the instance for which to open ports.

                ", "smithy.api#required": {} } } @@ -13292,12 +14819,12 @@ "queryStringsAllowList": { "target": "com.amazonaws.lightsail#StringList", "traits": { - "smithy.api#documentation": "

                The specific query strings that the distribution forwards to the origin.

                \n\n

                Your distribution will cache content based on the specified query strings.

                \n\n

                If the option parameter is true, then your distribution forwards all query\n strings, regardless of what you specify using the queryStringsAllowList\n parameter.

                " + "smithy.api#documentation": "

                The specific query strings that the distribution forwards to the origin.

                \n

                Your distribution will cache content based on the specified query strings.

                \n

                If the option parameter is true, then your distribution forwards all query\n strings, regardless of what you specify using the queryStringsAllowList\n parameter.

                " } } }, "traits": { - "smithy.api#documentation": "

                Describes the query string parameters that an Amazon Lightsail content delivery network\n (CDN) distribution to bases caching on.

                \n\n

                For the query strings that you specify, your distribution caches separate versions of the\n specified content based on the query string values in viewer\n requests.

                " + "smithy.api#documentation": "

                Describes the query string parameters that an Amazon Lightsail content delivery network\n (CDN) distribution to bases caching on.

                \n

                For the query strings that you specify, your distribution caches separate versions of the\n specified content based on the query string values in viewer\n requests.

                " } }, "com.amazonaws.lightsail#RebootInstance": { @@ -13448,34 +14975,34 @@ "com.amazonaws.lightsail#Region": { "type": "structure", "members": { - "displayName": { - "target": "com.amazonaws.lightsail#string", + "availabilityZones": { + "target": "com.amazonaws.lightsail#AvailabilityZoneList", "traits": { - "smithy.api#documentation": "

                The display name (e.g., Ohio).

                " + "smithy.api#documentation": "

                The Availability Zones. Follows the format us-east-2a\n (case-sensitive).

                " } }, - "relationalDatabaseAvailabilityZones": { - "target": "com.amazonaws.lightsail#AvailabilityZoneList", + "name": { + "target": "com.amazonaws.lightsail#RegionName", "traits": { - "smithy.api#documentation": "

                The Availability Zones for databases. Follows the format us-east-2a\n (case-sensitive).

                " + "smithy.api#documentation": "

                The region name (e.g., us-east-2).

                " } }, - "continentCode": { + "displayName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The continent code (e.g., NA, meaning North America).

                " + "smithy.api#documentation": "

                The display name (e.g., Ohio).

                " } }, - "name": { - "target": "com.amazonaws.lightsail#RegionName", + "continentCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The region name (e.g., us-east-2).

                " + "smithy.api#documentation": "

                The continent code (e.g., NA, meaning North America).

                " } }, - "availabilityZones": { + "relationalDatabaseAvailabilityZones": { "target": "com.amazonaws.lightsail#AvailabilityZoneList", "traits": { - "smithy.api#documentation": "

                The Availability Zones. Follows the format us-east-2a\n (case-sensitive).

                " + "smithy.api#documentation": "

                The Availability Zones for databases. Follows the format us-east-2a\n (case-sensitive).

                " } }, "description": { @@ -13558,91 +15085,142 @@ ] } }, - "com.amazonaws.lightsail#RelationalDatabase": { + "com.amazonaws.lightsail#RegisterContainerImage": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#RegisterContainerImageRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#RegisterContainerImageResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Registers a container image to your Amazon Lightsail container service.

                \n\n \n

                This action is not required if you install and use the Lightsail Control\n (lightsailctl) plugin to push container images to your Lightsail container service. For\n more information, see Pushing and\n managing container images on your Amazon Lightsail container services in the\n Lightsail Dev Guide.

                \n
                ", + "smithy.api#http": { + "method": "POST", + "uri": "/ls/api/2016-11-28/container-services/{serviceName}/images", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#RegisterContainerImageRequest": { "type": "structure", "members": { - "secondaryAvailabilityZone": { - "target": "com.amazonaws.lightsail#string", + "label": { + "target": "com.amazonaws.lightsail#ContainerLabel", "traits": { - "smithy.api#documentation": "

                Describes the secondary Availability Zone of a high availability database.

                \n

                The secondary database is used for failover support of a high availability\n database.

                " + "smithy.api#documentation": "

                The label for the container image when it's registered to the container service.

                \n\n

                Use a descriptive label that you can use to track the different versions of your\n registered container images.

                \n\n

                Use the GetContainerImages action to return the container images registered\n to a Lightsail container service. The label is the portion\n of the following image name example:

                \n
                  \n
                • \n

                  \n :container-service-1..1\n

                  \n
                • \n
                \n\n

                If the name of your container service is mycontainerservice, and the label\n that you specify is mystaticwebsite, then the name of the registered container\n image will be :mycontainerservice.mystaticwebsite.1.

                \n\n

                The number at the end of these image name examples represents the version of the\n registered container image. If you push and register another container image to the same\n Lightsail container service, with the same label, then the version number for the new\n registered container image will be 2. If you push and register another container\n image, the version number will be 3, and so on.

                ", + "smithy.api#required": {} } }, - "pendingModifiedValues": { - "target": "com.amazonaws.lightsail#PendingModifiedRelationalDatabaseValues", + "digest": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                Describes pending database value modifications.

                " + "smithy.api#documentation": "

                The digest of the container image to be registered.

                ", + "smithy.api#required": {} } }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", "traits": { - "smithy.api#documentation": "

                The timestamp when the database was created. Formatted in Unix time.

                " + "smithy.api#documentation": "

                The name of the container service for which to register a container image.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } - }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", + } + } + }, + "com.amazonaws.lightsail#RegisterContainerImageResult": { + "type": "structure", + "members": { + "containerImage": { + "target": "com.amazonaws.lightsail#ContainerImage" + } + } + }, + "com.amazonaws.lightsail#RelationalDatabase": { + "type": "structure", + "members": { + "backupRetentionEnabled": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the database.

                " + "smithy.api#documentation": "

                A Boolean value indicating whether automated backup retention is enabled for the\n database.

                " } }, - "latestRestorableTime": { - "target": "com.amazonaws.lightsail#IsoDate", + "engine": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The latest point in time to which the database can be restored. Formatted in Unix\n time.

                " + "smithy.api#documentation": "

                The database software (for example, MySQL).

                " } }, - "preferredMaintenanceWindow": { + "preferredBackupWindow": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The weekly time range during which system maintenance can occur on the database.

                \n

                In the format ddd:hh24:mi-ddd:hh24:mi. For example,\n Tue:17:00-Tue:17:30.

                " + "smithy.api#documentation": "

                The daily time range during which automated backups are created for the database (for\n example, 16:00-16:30).

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "engineVersion": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The unique name of the database resource in Lightsail.

                " + "smithy.api#documentation": "

                The database engine version (for example, 5.7.23).

                " } }, - "state": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                Describes the current state of the database.

                " + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "masterUsername": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Lightsail resource type for the database (for example,\n RelationalDatabase).

                " + "smithy.api#documentation": "

                The master user name of the database.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "state": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + "smithy.api#documentation": "

                Describes the current state of the database.

                " } }, - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "caCertificateIdentifier": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The Region name and Availability Zone where the database is located.

                " + "smithy.api#documentation": "

                The certificate associated with the database.

                " } }, - "relationalDatabaseBlueprintId": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "publiclyAccessible": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The blueprint ID for the database. A blueprint describes the major engine version of a\n database.

                " + "smithy.api#documentation": "

                A Boolean value indicating whether the database is publicly accessible.

                " } }, - "masterUsername": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "hardware": { + "target": "com.amazonaws.lightsail#RelationalDatabaseHardware", "traits": { - "smithy.api#documentation": "

                The master user name of the database.

                " + "smithy.api#documentation": "

                Describes the hardware of the database.

                " } }, - "engineVersion": { + "arn": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The database engine version (for example, 5.7.23).

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the database.

                " } }, "masterDatabaseName": { @@ -13651,52 +15229,52 @@ "smithy.api#documentation": "

                The name of the master database created when the Lightsail database resource is\n created.

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "pendingMaintenanceActions": { + "target": "com.amazonaws.lightsail#PendingMaintenanceActionList", "traits": { - "smithy.api#documentation": "

                The support code for the database. Include this code in your email to support when you\n have questions about a database in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " + "smithy.api#documentation": "

                Describes the pending maintenance actions for the database.

                " } }, - "engine": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "pendingModifiedValues": { + "target": "com.amazonaws.lightsail#PendingModifiedRelationalDatabaseValues", "traits": { - "smithy.api#documentation": "

                The database software (for example, MySQL).

                " + "smithy.api#documentation": "

                Describes pending database value modifications.

                " } }, - "publiclyAccessible": { - "target": "com.amazonaws.lightsail#boolean", + "relationalDatabaseBlueprintId": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether the database is publicly accessible.

                " + "smithy.api#documentation": "

                The blueprint ID for the database. A blueprint describes the major engine version of a\n database.

                " } }, - "backupRetentionEnabled": { - "target": "com.amazonaws.lightsail#boolean", + "preferredMaintenanceWindow": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether automated backup retention is enabled for the\n database.

                " + "smithy.api#documentation": "

                The weekly time range during which system maintenance can occur on the database.

                \n

                In the format ddd:hh24:mi-ddd:hh24:mi. For example,\n Tue:17:00-Tue:17:30.

                " } }, - "hardware": { - "target": "com.amazonaws.lightsail#RelationalDatabaseHardware", + "secondaryAvailabilityZone": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                Describes the hardware of the database.

                " + "smithy.api#documentation": "

                Describes the secondary Availability Zone of a high availability database.

                \n

                The secondary database is used for failover support of a high availability\n database.

                " } }, - "pendingMaintenanceActions": { - "target": "com.amazonaws.lightsail#PendingMaintenanceActionList", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                Describes the pending maintenance actions for the database.

                " + "smithy.api#documentation": "

                The timestamp when the database was created. Formatted in Unix time.

                " } }, - "caCertificateIdentifier": { - "target": "com.amazonaws.lightsail#string", + "parameterApplyStatus": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The certificate associated with the database.

                " + "smithy.api#documentation": "

                The status of parameter updates for the database.

                " } }, - "parameterApplyStatus": { + "relationalDatabaseBundleId": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The status of parameter updates for the database.

                " + "smithy.api#documentation": "

                The bundle ID for the database. A bundle describes the performance specifications for your\n database.

                " } }, "masterEndpoint": { @@ -13705,16 +15283,34 @@ "smithy.api#documentation": "

                The master endpoint for the database.

                " } }, - "preferredBackupWindow": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "supportCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The daily time range during which automated backups are created for the database (for\n example, 16:00-16:30).

                " + "smithy.api#documentation": "

                The support code for the database. Include this code in your email to support when you\n have questions about a database in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " } }, - "relationalDatabaseBundleId": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The bundle ID for the database. A bundle describes the performance specifications for your\n database.

                " + "smithy.api#documentation": "

                The Region name and Availability Zone where the database is located.

                " + } + }, + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", + "traits": { + "smithy.api#documentation": "

                The Lightsail resource type for the database (for example,\n RelationalDatabase).

                " + } + }, + "latestRestorableTime": { + "target": "com.amazonaws.lightsail#IsoDate", + "traits": { + "smithy.api#documentation": "

                The latest point in time to which the database can be restored. Formatted in Unix\n time.

                " + } + }, + "name": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The unique name of the database resource in Lightsail.

                " } } }, @@ -13725,40 +15321,40 @@ "com.amazonaws.lightsail#RelationalDatabaseBlueprint": { "type": "structure", "members": { - "engineDescription": { + "engineVersionDescription": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The description of the database engine for the database blueprint.

                " + "smithy.api#documentation": "

                The description of the database engine version for the database blueprint.

                " } }, - "blueprintId": { - "target": "com.amazonaws.lightsail#string", + "isEngineDefault": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The ID for the database blueprint.

                " + "smithy.api#documentation": "

                A Boolean value indicating whether the engine version is the default for the database\n blueprint.

                " } }, - "engineVersion": { + "blueprintId": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The database engine version for the database blueprint (for example,\n 5.7.23).

                " + "smithy.api#documentation": "

                The ID for the database blueprint.

                " } }, - "isEngineDefault": { - "target": "com.amazonaws.lightsail#boolean", + "engine": { + "target": "com.amazonaws.lightsail#RelationalDatabaseEngine", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether the engine version is the default for the database\n blueprint.

                " + "smithy.api#documentation": "

                The database software of the database blueprint (for example, MySQL).

                " } }, - "engineVersionDescription": { + "engineDescription": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The description of the database engine version for the database blueprint.

                " + "smithy.api#documentation": "

                The description of the database engine for the database blueprint.

                " } }, - "engine": { - "target": "com.amazonaws.lightsail#RelationalDatabaseEngine", + "engineVersion": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The database software of the database blueprint (for example, MySQL).

                " + "smithy.api#documentation": "

                The database engine version for the database blueprint (for example,\n 5.7.23).

                " } } }, @@ -13775,16 +15371,22 @@ "com.amazonaws.lightsail#RelationalDatabaseBundle": { "type": "structure", "members": { - "ramSizeInGb": { + "price": { "target": "com.amazonaws.lightsail#float", "traits": { - "smithy.api#documentation": "

                The amount of RAM in GB (for example, 2.0) for the database bundle.

                " + "smithy.api#documentation": "

                The cost of the database bundle in US currency.

                " } }, - "cpuCount": { - "target": "com.amazonaws.lightsail#integer", + "bundleId": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The number of virtual CPUs (vCPUs) for the database bundle.

                " + "smithy.api#documentation": "

                The ID for the database bundle.

                " + } + }, + "isEncrypted": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                A Boolean value indicating whether the database bundle is encrypted.

                " } }, "transferPerMonthInGb": { @@ -13799,28 +15401,22 @@ "smithy.api#documentation": "

                The size of the disk for the database bundle.

                " } }, - "isEncrypted": { - "target": "com.amazonaws.lightsail#boolean", + "cpuCount": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether the database bundle is encrypted.

                " + "smithy.api#documentation": "

                The number of virtual CPUs (vCPUs) for the database bundle.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#string", + "ramSizeInGb": { + "target": "com.amazonaws.lightsail#float", "traits": { - "smithy.api#documentation": "

                The name for the database bundle.

                " + "smithy.api#documentation": "

                The amount of RAM in GB (for example, 2.0) for the database bundle.

                " } }, - "bundleId": { + "name": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The ID for the database bundle.

                " - } - }, - "price": { - "target": "com.amazonaws.lightsail#float", - "traits": { - "smithy.api#documentation": "

                The cost of the database bundle in US currency.

                " + "smithy.api#documentation": "

                The name for the database bundle.

                " } }, "isActive": { @@ -13874,16 +15470,10 @@ "com.amazonaws.lightsail#RelationalDatabaseEvent": { "type": "structure", "members": { - "eventCategories": { - "target": "com.amazonaws.lightsail#StringList", - "traits": { - "smithy.api#documentation": "

                The category that the database event belongs to.

                " - } - }, - "message": { - "target": "com.amazonaws.lightsail#string", + "resource": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The message of the database event.

                " + "smithy.api#documentation": "

                The database that the database event relates to.

                " } }, "createdAt": { @@ -13892,10 +15482,16 @@ "smithy.api#documentation": "

                The timestamp when the database event was created.

                " } }, - "resource": { - "target": "com.amazonaws.lightsail#ResourceName", + "eventCategories": { + "target": "com.amazonaws.lightsail#StringList", "traits": { - "smithy.api#documentation": "

                The database that the database event relates to.

                " + "smithy.api#documentation": "

                The category that the database event belongs to.

                " + } + }, + "message": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The message of the database event.

                " } } }, @@ -13912,10 +15508,10 @@ "com.amazonaws.lightsail#RelationalDatabaseHardware": { "type": "structure", "members": { - "cpuCount": { + "diskSizeInGb": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The number of vCPUs for the database.

                " + "smithy.api#documentation": "

                The size of the disk for the database.

                " } }, "ramSizeInGb": { @@ -13924,10 +15520,10 @@ "smithy.api#documentation": "

                The amount of RAM in GB for the database.

                " } }, - "diskSizeInGb": { + "cpuCount": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The size of the disk for the database.

                " + "smithy.api#documentation": "

                The number of vCPUs for the database.

                " } } }, @@ -13975,10 +15571,16 @@ "com.amazonaws.lightsail#RelationalDatabaseParameter": { "type": "structure", "members": { - "allowedValues": { + "applyMethod": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                Specifies the valid range of values for the parameter.

                " + "smithy.api#documentation": "

                Indicates when parameter updates are applied.

                \n

                Can be immediate or pending-reboot.

                " + } + }, + "parameterName": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                Specifies the name of the parameter.

                " } }, "isModifiable": { @@ -13987,16 +15589,16 @@ "smithy.api#documentation": "

                A Boolean value indicating whether the parameter can be modified.

                " } }, - "parameterValue": { + "description": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                Specifies the value of the parameter.

                " + "smithy.api#documentation": "

                Provides a description of the parameter.

                " } }, - "applyMethod": { + "allowedValues": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                Indicates when parameter updates are applied.

                \n

                Can be immediate or pending-reboot.

                " + "smithy.api#documentation": "

                Specifies the valid range of values for the parameter.

                " } }, "applyType": { @@ -14005,22 +15607,16 @@ "smithy.api#documentation": "

                Specifies the engine-specific parameter type.

                " } }, - "description": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                Provides a description of the parameter.

                " - } - }, - "parameterName": { + "dataType": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                Specifies the name of the parameter.

                " + "smithy.api#documentation": "

                Specifies the valid data type for the parameter.

                " } }, - "dataType": { + "parameterValue": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                Specifies the valid data type for the parameter.

                " + "smithy.api#documentation": "

                Specifies the value of the parameter.

                " } } }, @@ -14056,10 +15652,10 @@ "com.amazonaws.lightsail#RelationalDatabaseSnapshot": { "type": "structure", "members": { - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "engine": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The timestamp when the database snapshot was created.

                " + "smithy.api#documentation": "

                The software of the database snapshot (for example, MySQL)

                " } }, "resourceType": { @@ -14068,82 +15664,82 @@ "smithy.api#documentation": "

                The Lightsail resource type.

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "tags": { + "target": "com.amazonaws.lightsail#TagList", "traits": { - "smithy.api#documentation": "

                The name of the database snapshot.

                " + "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " } }, - "engine": { + "fromRelationalDatabaseName": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The software of the database snapshot (for example, MySQL)

                " + "smithy.api#documentation": "

                The name of the source database from which the database snapshot was created.

                " } }, - "fromRelationalDatabaseArn": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the database from which the database snapshot was\n created.

                " + "smithy.api#documentation": "

                The timestamp when the database snapshot was created.

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The support code for the database snapshot. Include this code in your email to support\n when you have questions about a database snapshot in Lightsail. This code enables our\n support team to look up your Lightsail information more easily.

                " + "smithy.api#documentation": "

                The Region name and Availability Zone where the database snapshot is located.

                " } }, - "state": { + "engineVersion": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The state of the database snapshot.

                " + "smithy.api#documentation": "

                The database engine version for the database snapshot (for example,\n 5.7.23).

                " } }, - "sizeInGb": { - "target": "com.amazonaws.lightsail#integer", + "fromRelationalDatabaseBlueprintId": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The size of the disk in GB (for example, 32) for the database\n snapshot.

                " + "smithy.api#documentation": "

                The blueprint ID of the database from which the database snapshot was created. A blueprint\n describes the major engine version of a database.

                " } }, - "fromRelationalDatabaseBundleId": { - "target": "com.amazonaws.lightsail#string", + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The bundle ID of the database from which the database snapshot was created.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the database snapshot.

                " } }, - "fromRelationalDatabaseName": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "supportCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the source database from which the database snapshot was created.

                " + "smithy.api#documentation": "

                The support code for the database snapshot. Include this code in your email to support\n when you have questions about a database snapshot in Lightsail. This code enables our\n support team to look up your Lightsail information more easily.

                " } }, - "engineVersion": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "fromRelationalDatabaseBundleId": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The database engine version for the database snapshot (for example,\n 5.7.23).

                " + "smithy.api#documentation": "

                The bundle ID of the database from which the database snapshot was created.

                " } }, - "tags": { - "target": "com.amazonaws.lightsail#TagList", + "name": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the Lightsail\n Dev Guide.

                " + "smithy.api#documentation": "

                The name of the database snapshot.

                " } }, - "arn": { + "state": { "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the database snapshot.

                " + "smithy.api#documentation": "

                The state of the database snapshot.

                " } }, - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "fromRelationalDatabaseArn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The Region name and Availability Zone where the database snapshot is located.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the database from which the database snapshot was\n created.

                " } }, - "fromRelationalDatabaseBlueprintId": { - "target": "com.amazonaws.lightsail#string", + "sizeInGb": { + "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#documentation": "

                The blueprint ID of the database from which the database snapshot was created. A blueprint\n describes the major engine version of a database.

                " + "smithy.api#documentation": "

                The size of the disk in GB (for example, 32) for the database\n snapshot.

                " } } }, @@ -14249,28 +15845,28 @@ "com.amazonaws.lightsail#RenewalSummary": { "type": "structure", "members": { - "renewalStatusReason": { - "target": "com.amazonaws.lightsail#RenewalStatusReason", + "domainValidationRecords": { + "target": "com.amazonaws.lightsail#DomainValidationRecordList", "traits": { - "smithy.api#documentation": "

                The reason for the renewal status of the certificate.

                " + "smithy.api#documentation": "

                An array of objects that describe the domain validation records of the certificate.

                " } }, "renewalStatus": { "target": "com.amazonaws.lightsail#RenewalStatus", "traits": { - "smithy.api#documentation": "

                The renewal status of the certificate.

                \n\n

                The following renewal status are possible:

                \n\n
                  \n
                • \n

                  \n \n PendingAutoRenewal\n - Lightsail is\n attempting to automatically validate the domain names of the certificate. No further\n action is required.

                  \n
                • \n
                • \n

                  \n \n PendingValidation\n - Lightsail couldn't\n automatically validate one or more domain names of the certificate. You must take action\n to validate these domain names or the certificate won't be renewed. Check to make sure\n your certificate's domain validation records exist in your domain's DNS, and that your\n certificate remains in use.

                  \n
                • \n
                • \n

                  \n \n Success\n - All domain names in the\n certificate are validated, and Lightsail renewed the certificate. No further action is\n required.

                  \n
                • \n
                • \n

                  \n \n Failed\n - One or more domain names were\n not validated before the certificate expired, and Lightsail did not renew the\n certificate. You can request a new certificate using the CreateCertificate\n action.

                  \n
                • \n
                " + "smithy.api#documentation": "

                The renewal status of the certificate.

                \n

                The following renewal status are possible:

                \n
                  \n
                • \n

                  \n \n PendingAutoRenewal\n - Lightsail is\n attempting to automatically validate the domain names of the certificate. No further\n action is required.

                  \n
                • \n
                • \n

                  \n \n PendingValidation\n - Lightsail couldn't\n automatically validate one or more domain names of the certificate. You must take action\n to validate these domain names or the certificate won't be renewed. Check to make sure\n your certificate's domain validation records exist in your domain's DNS, and that your\n certificate remains in use.

                  \n
                • \n
                • \n

                  \n \n Success\n - All domain names in the\n certificate are validated, and Lightsail renewed the certificate. No further action is\n required.

                  \n
                • \n
                • \n

                  \n \n Failed\n - One or more domain names were\n not validated before the certificate expired, and Lightsail did not renew the\n certificate. You can request a new certificate using the CreateCertificate\n action.

                  \n
                • \n
                " } }, - "updatedAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "renewalStatusReason": { + "target": "com.amazonaws.lightsail#RenewalStatusReason", "traits": { - "smithy.api#documentation": "

                The timestamp when the certificate was last updated.

                " + "smithy.api#documentation": "

                The reason for the renewal status of the certificate.

                " } }, - "domainValidationRecords": { - "target": "com.amazonaws.lightsail#DomainValidationRecordList", + "updatedAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the domain validation records of the certificate.

                " + "smithy.api#documentation": "

                The timestamp when the certificate was last updated.

                " } } }, @@ -14310,7 +15906,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes currently cached content from your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                After resetting the cache, the next time a content request is made, your distribution\n pulls, serves, and caches it from the origin.

                ", + "smithy.api#documentation": "

                Deletes currently cached content from your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                After resetting the cache, the next time a content request is made, your distribution\n pulls, serves, and caches it from the origin.

                ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/ResetDistributionCache", @@ -14324,7 +15920,7 @@ "distributionName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the distribution for which to reset cache.

                \n\n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                " + "smithy.api#documentation": "

                The name of the distribution for which to reset cache.

                \n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                " } } } @@ -14361,17 +15957,17 @@ "com.amazonaws.lightsail#ResourceLocation": { "type": "structure", "members": { - "regionName": { - "target": "com.amazonaws.lightsail#RegionName", - "traits": { - "smithy.api#documentation": "

                The AWS Region name.

                " - } - }, "availabilityZone": { "target": "com.amazonaws.lightsail#string", "traits": { "smithy.api#documentation": "

                The Availability Zone. Follows the format us-east-2a (case-sensitive).

                " } + }, + "regionName": { + "target": "com.amazonaws.lightsail#RegionName", + "traits": { + "smithy.api#documentation": "

                The AWS Region name.

                " + } } }, "traits": { @@ -14393,10 +15989,10 @@ "com.amazonaws.lightsail#ResourceRecord": { "type": "structure", "members": { - "name": { + "value": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The name of the record.

                " + "smithy.api#documentation": "

                The value for the DNS record.

                " } }, "type": { @@ -14405,10 +16001,10 @@ "smithy.api#documentation": "

                The DNS record type.

                " } }, - "value": { + "name": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The value for the DNS record.

                " + "smithy.api#documentation": "

                The name of the record.

                " } } }, @@ -14420,6 +16016,10 @@ "type": "string", "traits": { "smithy.api#enum": [ + { + "value": "ContainerService", + "name": "ContainerService" + }, { "value": "Instance", "name": "Instance" @@ -14570,10 +16170,10 @@ "com.amazonaws.lightsail#ServiceException": { "type": "structure", "members": { - "tip": { + "message": { "target": "com.amazonaws.lightsail#string" }, - "message": { + "tip": { "target": "com.amazonaws.lightsail#string" }, "code": { @@ -14718,28 +16318,28 @@ "com.amazonaws.lightsail#StaticIp": { "type": "structure", "members": { - "resourceType": { - "target": "com.amazonaws.lightsail#ResourceType", + "supportCode": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                The resource type (usually StaticIp).

                " + "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " } }, - "createdAt": { - "target": "com.amazonaws.lightsail#IsoDate", + "name": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The timestamp when the static IP was created (e.g., 1479735304.222).

                " + "smithy.api#documentation": "

                The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE).

                " } }, - "location": { - "target": "com.amazonaws.lightsail#ResourceLocation", + "arn": { + "target": "com.amazonaws.lightsail#NonEmptyString", "traits": { - "smithy.api#documentation": "

                The region and Availability Zone where the static IP was created.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the static IP (e.g.,\n arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).

                " } }, - "attachedTo": { - "target": "com.amazonaws.lightsail#ResourceName", + "location": { + "target": "com.amazonaws.lightsail#ResourceLocation", "traits": { - "smithy.api#documentation": "

                The instance where the static IP is attached (e.g.,\n Amazon_Linux-1GB-Ohio-1).

                " + "smithy.api#documentation": "

                The region and Availability Zone where the static IP was created.

                " } }, "ipAddress": { @@ -14748,28 +16348,28 @@ "smithy.api#documentation": "

                The static IP address.

                " } }, - "isAttached": { - "target": "com.amazonaws.lightsail#boolean", + "attachedTo": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                A Boolean value indicating whether the static IP is attached.

                " + "smithy.api#documentation": "

                The instance where the static IP is attached (e.g.,\n Amazon_Linux-1GB-Ohio-1).

                " } }, - "name": { - "target": "com.amazonaws.lightsail#ResourceName", + "isAttached": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE).

                " + "smithy.api#documentation": "

                A Boolean value indicating whether the static IP is attached.

                " } }, - "arn": { - "target": "com.amazonaws.lightsail#NonEmptyString", + "createdAt": { + "target": "com.amazonaws.lightsail#IsoDate", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the static IP (e.g.,\n arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).

                " + "smithy.api#documentation": "

                The timestamp when the static IP was created (e.g., 1479735304.222).

                " } }, - "supportCode": { - "target": "com.amazonaws.lightsail#string", + "resourceType": { + "target": "com.amazonaws.lightsail#ResourceType", "traits": { - "smithy.api#documentation": "

                The support code. Include this code in your email to support when you have questions about\n an instance or another resource in Lightsail. This code enables our support team to look up\n your Lightsail information more easily.

                " + "smithy.api#documentation": "

                The resource type (usually StaticIp).

                " } } }, @@ -14945,17 +16545,17 @@ "com.amazonaws.lightsail#Tag": { "type": "structure", "members": { - "key": { - "target": "com.amazonaws.lightsail#TagKey", - "traits": { - "smithy.api#documentation": "

                The key of the tag.

                \n

                Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the\n following characters: + - = . _ : / @

                " - } - }, "value": { "target": "com.amazonaws.lightsail#TagValue", "traits": { "smithy.api#documentation": "

                The value of the tag.

                \n

                Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the\n following characters: + - = . _ : / @

                " } + }, + "key": { + "target": "com.amazonaws.lightsail#TagKey", + "traits": { + "smithy.api#documentation": "

                The key of the tag.

                \n

                Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the\n following characters: + - = . _ : / @

                " + } } }, "traits": { @@ -15020,6 +16620,12 @@ "com.amazonaws.lightsail#TagResourceRequest": { "type": "structure", "members": { + "resourceArn": { + "target": "com.amazonaws.lightsail#ResourceArn", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the resource to which you want to add a tag.

                " + } + }, "resourceName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { @@ -15033,12 +16639,6 @@ "smithy.api#documentation": "

                The tag key and optional value.

                ", "smithy.api#required": {} } - }, - "resourceArn": { - "target": "com.amazonaws.lightsail#ResourceArn", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the resource to which you want to add a tag.

                " - } } } }, @@ -15096,17 +16696,17 @@ "com.amazonaws.lightsail#TestAlarmRequest": { "type": "structure", "members": { - "alarmName": { - "target": "com.amazonaws.lightsail#ResourceName", + "state": { + "target": "com.amazonaws.lightsail#AlarmState", "traits": { - "smithy.api#documentation": "

                The name of the alarm to test.

                ", + "smithy.api#documentation": "

                The alarm state to test.

                \n

                An alarm has the following possible states that can be tested:

                \n
                  \n
                • \n

                  \n ALARM - The metric is outside of the defined threshold.

                  \n
                • \n
                • \n

                  \n INSUFFICIENT_DATA - The alarm has just started, the metric is not\n available, or not enough data is available for the metric to determine the alarm\n state.

                  \n
                • \n
                • \n

                  \n OK - The metric is within the defined threshold.

                  \n
                • \n
                ", "smithy.api#required": {} } }, - "state": { - "target": "com.amazonaws.lightsail#AlarmState", + "alarmName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The alarm state to test.

                \n

                An alarm has the following possible states that can be tested:

                \n
                  \n
                • \n

                  \n ALARM - The metric is outside of the defined threshold.

                  \n
                • \n
                • \n

                  \n INSUFFICIENT_DATA - The alarm has just started, the metric is not\n available, or not enough data is available for the metric to determine the alarm\n state.

                  \n
                • \n
                • \n

                  \n OK - The metric is within the defined threshold.

                  \n
                • \n
                ", + "smithy.api#documentation": "

                The name of the alarm to test.

                ", "smithy.api#required": {} } } @@ -15161,10 +16761,10 @@ "message": { "target": "com.amazonaws.lightsail#string" }, - "tip": { + "code": { "target": "com.amazonaws.lightsail#string" }, - "code": { + "tip": { "target": "com.amazonaws.lightsail#string" } }, @@ -15272,11 +16872,10 @@ "com.amazonaws.lightsail#UntagResourceRequest": { "type": "structure", "members": { - "tagKeys": { - "target": "com.amazonaws.lightsail#TagKeyList", + "resourceArn": { + "target": "com.amazonaws.lightsail#ResourceArn", "traits": { - "smithy.api#documentation": "

                The tag keys to delete from the specified resource.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the resource from which you want to remove a tag.

                " } }, "resourceName": { @@ -15286,10 +16885,11 @@ "smithy.api#required": {} } }, - "resourceArn": { - "target": "com.amazonaws.lightsail#ResourceArn", + "tagKeys": { + "target": "com.amazonaws.lightsail#TagKeyList", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the resource from which you want to remove a tag.

                " + "smithy.api#documentation": "

                The tag keys to delete from the specified resource.

                ", + "smithy.api#required": {} } } } @@ -15305,6 +16905,88 @@ } } }, + "com.amazonaws.lightsail#UpdateContainerService": { + "type": "operation", + "input": { + "target": "com.amazonaws.lightsail#UpdateContainerServiceRequest" + }, + "output": { + "target": "com.amazonaws.lightsail#UpdateContainerServiceResult" + }, + "errors": [ + { + "target": "com.amazonaws.lightsail#AccessDeniedException" + }, + { + "target": "com.amazonaws.lightsail#InvalidInputException" + }, + { + "target": "com.amazonaws.lightsail#NotFoundException" + }, + { + "target": "com.amazonaws.lightsail#ServiceException" + }, + { + "target": "com.amazonaws.lightsail#UnauthenticatedException" + } + ], + "traits": { + "smithy.api#documentation": "

                Updates the configuration of your Amazon Lightsail container service, such as its power,\n scale, and public domain names.

                ", + "smithy.api#http": { + "method": "PATCH", + "uri": "/ls/api/2016-11-28/container-services/{serviceName}", + "code": 200 + } + } + }, + "com.amazonaws.lightsail#UpdateContainerServiceRequest": { + "type": "structure", + "members": { + "isDisabled": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

                A Boolean value to indicate whether the container service is disabled.

                " + } + }, + "power": { + "target": "com.amazonaws.lightsail#ContainerServicePowerName", + "traits": { + "smithy.api#documentation": "

                The power for the container service.

                \n\n

                The power specifies the amount of memory, vCPUs, and base monthly cost of each node of the\n container service. The power and scale of a container service makes\n up its configured capacity. To determine the monthly price of your container service, multiply\n the base price of the power with the scale (the number of nodes) of\n the service.

                \n\n

                Use the GetContainerServicePowers action to view the specifications of each\n power option.

                " + } + }, + "scale": { + "target": "com.amazonaws.lightsail#ContainerServiceScale", + "traits": { + "smithy.api#documentation": "

                The scale for the container service.

                \n\n

                The scale specifies the allocated compute nodes of the container service. The\n power and scale of a container service makes up its configured\n capacity. To determine the monthly price of your container service, multiply the base price of\n the power with the scale (the number of nodes) of the\n service.

                " + } + }, + "publicDomainNames": { + "target": "com.amazonaws.lightsail#ContainerServicePublicDomains", + "traits": { + "smithy.api#documentation": "

                The public domain names to use with the container service, such as\n example.com and www.example.com.

                \n\n

                You can specify up to four public domain names for a container service. The domain names\n that you specify are used when you create a deployment with a container configured as the\n public endpoint of your container service.

                \n\n

                If you don't specify public domain names, then you can use the default domain of the\n container service.

                \n\n \n

                You must create and validate an SSL/TLS certificate before you can use public domain\n names with your container service. Use the CreateCertificate action to create a\n certificate for the public domain names you want to use with your container service.

                \n
                \n\n

                You can specify public domain names using a string to array map as shown in the example\n later on this page.

                " + } + }, + "serviceName": { + "target": "com.amazonaws.lightsail#ContainerServiceName", + "traits": { + "smithy.api#documentation": "

                The name of the container service to update.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.lightsail#UpdateContainerServiceResult": { + "type": "structure", + "members": { + "containerService": { + "target": "com.amazonaws.lightsail#ContainerService", + "traits": { + "smithy.api#documentation": "

                An object that describes a container service.

                " + } + } + } + }, "com.amazonaws.lightsail#UpdateDistribution": { "type": "operation", "input": { @@ -15334,7 +17016,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

                \n\n

                Use this action to update the configuration of your existing distribution

                ", + "smithy.api#documentation": "

                Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

                \n

                Use this action to update the configuration of your existing distribution

                ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/UpdateDistribution", @@ -15371,7 +17053,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Updates the bundle of your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n\n

                A distribution bundle specifies the monthly network transfer quota and monthly cost of\n your dsitribution.

                \n\n

                Update your distribution's bundle if your distribution is going over its monthly network\n transfer quota and is incurring an overage fee.

                \n\n

                You can update your distribution's bundle only one time within your monthly AWS billing\n cycle. To determine if you can update your distribution's bundle, use the\n GetDistributions action. The ableToUpdateBundle parameter in the\n result will indicate whether you can currently update your distribution's bundle.

                ", + "smithy.api#documentation": "

                Updates the bundle of your Amazon Lightsail content delivery network (CDN)\n distribution.

                \n

                A distribution bundle specifies the monthly network transfer quota and monthly cost of\n your dsitribution.

                \n

                Update your distribution's bundle if your distribution is going over its monthly network\n transfer quota and is incurring an overage fee.

                \n

                You can update your distribution's bundle only one time within your monthly AWS billing\n cycle. To determine if you can update your distribution's bundle, use the\n GetDistributions action. The ableToUpdateBundle parameter in the\n result will indicate whether you can currently update your distribution's bundle.

                ", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/UpdateDistributionBundle", @@ -15382,17 +17064,17 @@ "com.amazonaws.lightsail#UpdateDistributionBundleRequest": { "type": "structure", "members": { - "distributionName": { - "target": "com.amazonaws.lightsail#ResourceName", - "traits": { - "smithy.api#documentation": "

                The name of the distribution for which to update the bundle.

                \n\n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                " - } - }, "bundleId": { "target": "com.amazonaws.lightsail#string", "traits": { "smithy.api#documentation": "

                The bundle ID of the new bundle to apply to your distribution.

                \n

                Use the GetDistributionBundles action to get a list of distribution bundle\n IDs that you can specify.

                " } + }, + "distributionName": { + "target": "com.amazonaws.lightsail#ResourceName", + "traits": { + "smithy.api#documentation": "

                The name of the distribution for which to update the bundle.

                \n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                " + } } } }, @@ -15407,17 +17089,16 @@ "com.amazonaws.lightsail#UpdateDistributionRequest": { "type": "structure", "members": { - "origin": { - "target": "com.amazonaws.lightsail#InputOrigin", + "defaultCacheBehavior": { + "target": "com.amazonaws.lightsail#CacheBehavior", "traits": { - "smithy.api#documentation": "

                An object that describes the origin resource for the distribution, such as a Lightsail\n instance or load balancer.

                \n\n

                The distribution pulls, caches, and serves content from the origin.

                " + "smithy.api#documentation": "

                An object that describes the default cache behavior for the distribution.

                " } }, - "distributionName": { - "target": "com.amazonaws.lightsail#ResourceName", + "cacheBehaviorSettings": { + "target": "com.amazonaws.lightsail#CacheSettings", "traits": { - "smithy.api#documentation": "

                The name of the distribution to update.

                \n\n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                An object that describes the cache behavior settings for the distribution.

                \n \n

                The cacheBehaviorSettings specified in your\n UpdateDistributionRequest will replace your distribution's existing\n settings.

                \n
                " } }, "isEnabled": { @@ -15426,22 +17107,23 @@ "smithy.api#documentation": "

                Indicates whether to enable the distribution.

                " } }, - "cacheBehaviors": { - "target": "com.amazonaws.lightsail#CacheBehaviorList", + "distributionName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                An array of objects that describe the per-path cache behavior for the distribution.

                " + "smithy.api#documentation": "

                The name of the distribution to update.

                \n

                Use the GetDistributions action to get a list of distribution names that you\n can specify.

                ", + "smithy.api#required": {} } }, - "defaultCacheBehavior": { - "target": "com.amazonaws.lightsail#CacheBehavior", + "origin": { + "target": "com.amazonaws.lightsail#InputOrigin", "traits": { - "smithy.api#documentation": "

                An object that describes the default cache behavior for the distribution.

                " + "smithy.api#documentation": "

                An object that describes the origin resource for the distribution, such as a Lightsail\n instance or load balancer.

                \n

                The distribution pulls, caches, and serves content from the origin.

                " } }, - "cacheBehaviorSettings": { - "target": "com.amazonaws.lightsail#CacheSettings", + "cacheBehaviors": { + "target": "com.amazonaws.lightsail#CacheBehaviorList", "traits": { - "smithy.api#documentation": "

                An object that describes the cache behavior settings for the distribution.

                \n \n

                The cacheBehaviorSettings specified in your\n UpdateDistributionRequest will replace your distribution's existing\n settings.

                \n
                " + "smithy.api#documentation": "

                An array of objects that describe the per-path cache behavior for the distribution.

                " } } } @@ -15500,17 +17182,17 @@ "com.amazonaws.lightsail#UpdateDomainEntryRequest": { "type": "structure", "members": { - "domainName": { - "target": "com.amazonaws.lightsail#DomainName", + "domainEntry": { + "target": "com.amazonaws.lightsail#DomainEntry", "traits": { - "smithy.api#documentation": "

                The name of the domain recordset to update.

                ", + "smithy.api#documentation": "

                An array of key-value pairs containing information about the domain entry.

                ", "smithy.api#required": {} } }, - "domainEntry": { - "target": "com.amazonaws.lightsail#DomainEntry", + "domainName": { + "target": "com.amazonaws.lightsail#DomainName", "traits": { - "smithy.api#documentation": "

                An array of key-value pairs containing information about the domain entry.

                ", + "smithy.api#documentation": "

                The name of the domain recordset to update.

                ", "smithy.api#required": {} } } @@ -15570,10 +17252,10 @@ "com.amazonaws.lightsail#UpdateLoadBalancerAttributeRequest": { "type": "structure", "members": { - "loadBalancerName": { - "target": "com.amazonaws.lightsail#ResourceName", + "attributeName": { + "target": "com.amazonaws.lightsail#LoadBalancerAttributeName", "traits": { - "smithy.api#documentation": "

                The name of the load balancer that you want to modify (e.g.,\n my-load-balancer.

                ", + "smithy.api#documentation": "

                The name of the attribute you want to update. Valid values are below.

                ", "smithy.api#required": {} } }, @@ -15584,10 +17266,10 @@ "smithy.api#required": {} } }, - "attributeName": { - "target": "com.amazonaws.lightsail#LoadBalancerAttributeName", + "loadBalancerName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The name of the attribute you want to update. Valid values are below.

                ", + "smithy.api#documentation": "

                The name of the load balancer that you want to modify (e.g.,\n my-load-balancer.

                ", "smithy.api#required": {} } } @@ -15687,17 +17369,17 @@ "com.amazonaws.lightsail#UpdateRelationalDatabaseParametersRequest": { "type": "structure", "members": { - "relationalDatabaseName": { - "target": "com.amazonaws.lightsail#ResourceName", + "parameters": { + "target": "com.amazonaws.lightsail#RelationalDatabaseParameterList", "traits": { - "smithy.api#documentation": "

                The name of your database for which to update parameters.

                ", + "smithy.api#documentation": "

                The database parameters to update.

                ", "smithy.api#required": {} } }, - "parameters": { - "target": "com.amazonaws.lightsail#RelationalDatabaseParameterList", + "relationalDatabaseName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                The database parameters to update.

                ", + "smithy.api#documentation": "

                The name of your database for which to update parameters.

                ", "smithy.api#required": {} } } @@ -15717,35 +17399,28 @@ "com.amazonaws.lightsail#UpdateRelationalDatabaseRequest": { "type": "structure", "members": { - "preferredMaintenanceWindow": { - "target": "com.amazonaws.lightsail#string", - "traits": { - "smithy.api#documentation": "

                The weekly time range during which system maintenance can occur on your database.

                \n

                The default is a 30-minute window selected at random from an 8-hour block of time for each\n AWS Region, occurring on a random day of the week.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be in the ddd:hh24:mi-ddd:hh24:mi format.

                  \n
                • \n
                • \n

                  Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

                  \n
                • \n
                • \n

                  Must be at least 30 minutes.

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Example: Tue:17:00-Tue:17:30\n

                  \n
                • \n
                " - } - }, - "applyImmediately": { + "disableBackupRetention": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                When true, applies changes immediately. When false, applies\n changes during the preferred maintenance window. Some changes may cause an outage.

                \n

                Default: false\n

                " + "smithy.api#documentation": "

                When true, disables automated backup retention for your database.

                \n

                Disabling backup retention deletes all automated database backups. Before disabling this,\n you may want to create a snapshot of your database using the create relational database\n snapshot operation.

                \n

                Updates are applied during the next maintenance window because this can result in an\n outage.

                " } }, - "preferredBackupWindow": { - "target": "com.amazonaws.lightsail#string", + "publiclyAccessible": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The daily time range during which automated backups are created for your database if\n automated backups are enabled.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be in the hh24:mi-hh24:mi format.

                  \n

                  Example: 16:00-16:30\n

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Must not conflict with the preferred maintenance window.

                  \n
                • \n
                • \n

                  Must be at least 30 minutes.

                  \n
                • \n
                " + "smithy.api#documentation": "

                Specifies the accessibility options for your database. A value of true\n specifies a database that is available to resources outside of your Lightsail account. A\n value of false specifies a database that is available only to your Lightsail\n resources in the same region as your database.

                " } }, - "relationalDatabaseName": { - "target": "com.amazonaws.lightsail#ResourceName", + "applyImmediately": { + "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                The name of your database to update.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                When true, applies changes immediately. When false, applies\n changes during the preferred maintenance window. Some changes may cause an outage.

                \n

                Default: false\n

                " } }, - "publiclyAccessible": { + "rotateMasterUserPassword": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

                Specifies the accessibility options for your database. A value of true\n specifies a database that is available to resources outside of your Lightsail account. A\n value of false specifies a database that is available only to your Lightsail\n resources in the same region as your database.

                " + "smithy.api#documentation": "

                When true, the master user password is changed to a new strong password\n generated by Lightsail.

                \n

                Use the get relational database master user password operation to get the new\n password.

                " } }, "enableBackupRetention": { @@ -15754,16 +17429,17 @@ "smithy.api#documentation": "

                When true, enables automated backup retention for your database.

                \n

                Updates are applied during the next maintenance window because this can result in an\n outage.

                " } }, - "rotateMasterUserPassword": { - "target": "com.amazonaws.lightsail#boolean", + "preferredMaintenanceWindow": { + "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

                When true, the master user password is changed to a new strong password\n generated by Lightsail.

                \n

                Use the get relational database master user password operation to get the new\n password.

                " + "smithy.api#documentation": "

                The weekly time range during which system maintenance can occur on your database.

                \n

                The default is a 30-minute window selected at random from an 8-hour block of time for each\n AWS Region, occurring on a random day of the week.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be in the ddd:hh24:mi-ddd:hh24:mi format.

                  \n
                • \n
                • \n

                  Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

                  \n
                • \n
                • \n

                  Must be at least 30 minutes.

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Example: Tue:17:00-Tue:17:30\n

                  \n
                • \n
                " } }, - "disableBackupRetention": { - "target": "com.amazonaws.lightsail#boolean", + "relationalDatabaseName": { + "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

                When true, disables automated backup retention for your database.

                \n

                Disabling backup retention deletes all automated database backups. Before disabling this,\n you may want to create a snapshot of your database using the create relational database\n snapshot operation.

                \n

                Updates are applied during the next maintenance window because this can result in an\n outage.

                " + "smithy.api#documentation": "

                The name of your database to update.

                ", + "smithy.api#required": {} } }, "caCertificateIdentifier": { @@ -15772,6 +17448,12 @@ "smithy.api#documentation": "

                Indicates the certificate that needs to be associated with the database.

                " } }, + "preferredBackupWindow": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

                The daily time range during which automated backups are created for your database if\n automated backups are enabled.

                \n

                Constraints:

                \n
                  \n
                • \n

                  Must be in the hh24:mi-hh24:mi format.

                  \n

                  Example: 16:00-16:30\n

                  \n
                • \n
                • \n

                  Specified in Coordinated Universal Time (UTC).

                  \n
                • \n
                • \n

                  Must not conflict with the preferred maintenance window.

                  \n
                • \n
                • \n

                  Must be at least 30 minutes.

                  \n
                • \n
                " + } + }, "masterUserPassword": { "target": "com.amazonaws.lightsail#SensitiveString", "traits": { diff --git a/codegen/sdk-codegen/aws-models/personalize-runtime.2018-05-22.json b/codegen/sdk-codegen/aws-models/personalize-runtime.2018-05-22.json index 7516206b16d1..650dc68ae971 100644 --- a/codegen/sdk-codegen/aws-models/personalize-runtime.2018-05-22.json +++ b/codegen/sdk-codegen/aws-models/personalize-runtime.2018-05-22.json @@ -103,6 +103,41 @@ "com.amazonaws.personalizeruntime#ErrorMessage": { "type": "string" }, + "com.amazonaws.personalizeruntime#FilterAttributeName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + }, + "smithy.api#pattern": "[A-Za-z0-9]+" + } + }, + "com.amazonaws.personalizeruntime#FilterAttributeValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1000 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.personalizeruntime#FilterValues": { + "type": "map", + "key": { + "target": "com.amazonaws.personalizeruntime#FilterAttributeName" + }, + "value": { + "target": "com.amazonaws.personalizeruntime#FilterAttributeValue" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 25 + } + } + }, "com.amazonaws.personalizeruntime#GetPersonalizedRanking": { "type": "operation", "input": { @@ -132,18 +167,6 @@ "com.amazonaws.personalizeruntime#GetPersonalizedRankingRequest": { "type": "structure", "members": { - "filterArn": { - "target": "com.amazonaws.personalizeruntime#Arn", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of a filter you created to include or exclude items from recommendations for a given user.

                " - } - }, - "context": { - "target": "com.amazonaws.personalizeruntime#Context", - "traits": { - "smithy.api#documentation": "

                The contextual metadata to use when getting recommendations. Contextual metadata includes\n any interaction information that might be relevant when getting a user's recommendations, such\n as the user's current location or device type.

                " - } - }, "campaignArn": { "target": "com.amazonaws.personalizeruntime#Arn", "traits": { @@ -164,6 +187,24 @@ "smithy.api#documentation": "

                The user for which you want the campaign to provide a personalized ranking.

                ", "smithy.api#required": {} } + }, + "context": { + "target": "com.amazonaws.personalizeruntime#Context", + "traits": { + "smithy.api#documentation": "

                The contextual metadata to use when getting recommendations. Contextual metadata includes\n any interaction information that might be relevant when getting a user's recommendations, such\n as the user's current location or device type.

                " + } + }, + "filterArn": { + "target": "com.amazonaws.personalizeruntime#Arn", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of a filter you created to include items or exclude items from recommendations for a given user. \n For more information, see\n Filtering Recommendations.

                " + } + }, + "filterValues": { + "target": "com.amazonaws.personalizeruntime#FilterValues", + "traits": { + "smithy.api#documentation": "

                The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case)\n as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma.\n

                \n

                For filter expressions that use an INCLUDE element to include items,\n you must provide values for all parameters that are defined in the expression. For\n filters with expressions that use an EXCLUDE element to exclude items, you\n can omit the filter-values.In this case, Amazon Personalize doesn't use that portion of\n the expression to filter recommendations.

                \n

                For more information, see\n Filtering Recommendations.

                " + } } } }, @@ -213,12 +254,6 @@ "com.amazonaws.personalizeruntime#GetRecommendationsRequest": { "type": "structure", "members": { - "userId": { - "target": "com.amazonaws.personalizeruntime#UserID", - "traits": { - "smithy.api#documentation": "

                The user ID to provide recommendations for.

                \n

                Required for USER_PERSONALIZATION recipe type.

                " - } - }, "campaignArn": { "target": "com.amazonaws.personalizeruntime#Arn", "traits": { @@ -226,10 +261,16 @@ "smithy.api#required": {} } }, - "context": { - "target": "com.amazonaws.personalizeruntime#Context", + "itemId": { + "target": "com.amazonaws.personalizeruntime#ItemID", "traits": { - "smithy.api#documentation": "

                The contextual metadata to use when getting recommendations. Contextual metadata includes\n any interaction information that might be relevant when getting a user's recommendations, such\n as the user's current location or device type.

                " + "smithy.api#documentation": "

                The item ID to provide recommendations for.

                \n

                Required for RELATED_ITEMS recipe type.

                " + } + }, + "userId": { + "target": "com.amazonaws.personalizeruntime#UserID", + "traits": { + "smithy.api#documentation": "

                The user ID to provide recommendations for.

                \n

                Required for USER_PERSONALIZATION recipe type.

                " } }, "numResults": { @@ -238,16 +279,22 @@ "smithy.api#documentation": "

                The number of results to return. The default is 25. The maximum is 500.

                " } }, + "context": { + "target": "com.amazonaws.personalizeruntime#Context", + "traits": { + "smithy.api#documentation": "

                The contextual metadata to use when getting recommendations. Contextual metadata includes\n any interaction information that might be relevant when getting a user's recommendations, such\n as the user's current location or device type.

                " + } + }, "filterArn": { "target": "com.amazonaws.personalizeruntime#Arn", "traits": { - "smithy.api#documentation": "

                The ARN of the filter to apply to the returned recommendations. For more information, see\n Using Filters with Amazon Personalize.

                \n

                When using this parameter, be sure the filter resource is ACTIVE.

                " + "smithy.api#documentation": "

                The ARN of the filter to apply to the returned recommendations. For more information, see\n Filtering Recommendations.

                \n

                When using this parameter, be sure the filter resource is ACTIVE.

                " } }, - "itemId": { - "target": "com.amazonaws.personalizeruntime#ItemID", + "filterValues": { + "target": "com.amazonaws.personalizeruntime#FilterValues", "traits": { - "smithy.api#documentation": "

                The item ID to provide recommendations for.

                \n

                Required for RELATED_ITEMS recipe type.

                " + "smithy.api#documentation": "

                The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case)\n as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma.\n

                \n

                For filter expressions that use an INCLUDE element to include items,\n you must provide values for all parameters that are defined in the expression. For\n filters with expressions that use an EXCLUDE element to exclude items, you\n can omit the filter-values.In this case, Amazon Personalize doesn't use that portion of\n the expression to filter recommendations.

                \n

                For more information, see\n Filtering Recommendations.

                " } } } @@ -255,17 +302,17 @@ "com.amazonaws.personalizeruntime#GetRecommendationsResponse": { "type": "structure", "members": { - "recommendationId": { - "target": "com.amazonaws.personalizeruntime#RecommendationID", - "traits": { - "smithy.api#documentation": "

                The ID of the recommendation.

                " - } - }, "itemList": { "target": "com.amazonaws.personalizeruntime#ItemList", "traits": { "smithy.api#documentation": "

                A list of recommendations sorted in ascending order by prediction score. There can be a\n maximum of 500 items in the list.

                " } + }, + "recommendationId": { + "target": "com.amazonaws.personalizeruntime#RecommendationID", + "traits": { + "smithy.api#documentation": "

                The ID of the recommendation.

                " + } } } }, @@ -314,17 +361,17 @@ "com.amazonaws.personalizeruntime#PredictedItem": { "type": "structure", "members": { - "score": { - "target": "com.amazonaws.personalizeruntime#Score", - "traits": { - "smithy.api#documentation": "

                A numeric representation of the model's certainty that the item will be the next user\n selection. For more information on scoring logic, see how-scores-work.

                " - } - }, "itemId": { "target": "com.amazonaws.personalizeruntime#ItemID", "traits": { "smithy.api#documentation": "

                The recommended item ID.

                " } + }, + "score": { + "target": "com.amazonaws.personalizeruntime#Score", + "traits": { + "smithy.api#documentation": "

                A numeric representation of the model's certainty that the item will be the next user\n selection. For more information on scoring logic, see how-scores-work.

                " + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/polly.2016-06-10.json b/codegen/sdk-codegen/aws-models/polly.2016-06-10.json index 856b24b98322..0bf91b948427 100644 --- a/codegen/sdk-codegen/aws-models/polly.2016-06-10.json +++ b/codegen/sdk-codegen/aws-models/polly.2016-06-10.json @@ -61,7 +61,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Deletes the specified pronunciation lexicon stored in an AWS Region.\n A lexicon which has been deleted is not available for speech synthesis, \n nor is it possible to retrieve it using either the \n GetLexicon or ListLexicon APIs.

                \n

                For more information, see Managing Lexicons.

                ", + "smithy.api#documentation": "

                Deletes the specified pronunciation lexicon stored in an AWS Region. A lexicon which\n has been deleted is not available for speech synthesis, nor is it possible to retrieve it\n using either the GetLexicon or ListLexicon APIs.

                \n

                For more information, see Managing\n Lexicons.

                ", "smithy.api#http": { "method": "DELETE", "uri": "/v1/lexicons/{Name}", @@ -75,7 +75,7 @@ "Name": { "target": "com.amazonaws.polly#LexiconName", "traits": { - "smithy.api#documentation": "

                The name of the lexicon to delete. \n Must be an existing lexicon in the region.

                ", + "smithy.api#documentation": "

                The name of the lexicon to delete. Must be an existing lexicon in the region.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -103,7 +103,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns the list of voices that are available for use when requesting speech synthesis.\n Each voice speaks a specified language, is either male or female, and is identified by an ID, \n which is the ASCII version of the voice name.

                \n \n

                When synthesizing speech ( SynthesizeSpeech ),\n you provide the voice ID for the voice you want from the list of voices \n returned by DescribeVoices.

                \n\n

                For example, you want your news reader application to read news in a specific language, \n but giving a user the option to choose the voice. \n Using the DescribeVoices operation you can provide the user with a list of available voices to select from.

                \n \n

                \n You can optionally specify a language code \n to filter the available voices.\n For example, if you specify en-US, the operation returns a list of all \n available US English voices.\n

                \n

                This operation requires permissions to perform the \n polly:DescribeVoices action.

                ", + "smithy.api#documentation": "

                Returns the list of voices that are available for use when requesting speech synthesis.\n Each voice speaks a specified language, is either male or female, and is identified by an ID,\n which is the ASCII version of the voice name.

                \n\n

                When synthesizing speech ( SynthesizeSpeech ), you provide the voice ID\n for the voice you want from the list of voices returned by\n DescribeVoices.

                \n\n

                For example, you want your news reader application to read news in a specific language,\n but giving a user the option to choose the voice. Using the DescribeVoices\n operation you can provide the user with a list of available voices to select from.

                \n\n

                You can optionally specify a language code to filter the available voices. For\n example, if you specify en-US, the operation returns a list of all available US\n English voices.

                \n

                This operation requires permissions to perform the polly:DescribeVoices\n action.

                ", "smithy.api#http": { "method": "GET", "uri": "/v1/voices", @@ -114,50 +114,50 @@ "com.amazonaws.polly#DescribeVoicesInput": { "type": "structure", "members": { - "IncludeAdditionalLanguageCodes": { - "target": "com.amazonaws.polly#IncludeAdditionalLanguageCodes", - "traits": { - "smithy.api#documentation": "

                Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language. For instance, if \n you request all languages that use US English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US English, that voice will\n be included if you specify yes but not if you specify no.

                ", - "smithy.api#httpQuery": "IncludeAdditionalLanguageCodes" - } - }, "Engine": { "target": "com.amazonaws.polly#Engine", "traits": { - "smithy.api#documentation": "

                Specifies the engine (standard or neural) used by Amazon Polly when processing input text for speech synthesis.

                ", + "smithy.api#documentation": "

                Specifies the engine (standard or neural) used by Amazon Polly\n when processing input text for speech synthesis.

                ", "smithy.api#httpQuery": "Engine" } }, - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

                An opaque pagination token returned from the previous \n DescribeVoices operation. If present, this indicates where to \n continue the listing.

                ", - "smithy.api#httpQuery": "NextToken" - } - }, "LanguageCode": { "target": "com.amazonaws.polly#LanguageCode", "traits": { - "smithy.api#documentation": "

                \n \n The language identification tag (ISO 639 code for the language name-ISO 3166 country code) \n for filtering the list of voices returned. \n If you don't specify this optional parameter, all available voices are returned.\n

                ", + "smithy.api#documentation": "

                The language identification tag (ISO 639 code for the language name-ISO 3166 country\n code) for filtering the list of voices returned. If you don't specify this optional parameter,\n all available voices are returned.

                ", "smithy.api#httpQuery": "LanguageCode" } + }, + "IncludeAdditionalLanguageCodes": { + "target": "com.amazonaws.polly#IncludeAdditionalLanguageCodes", + "traits": { + "smithy.api#documentation": "

                Boolean value indicating whether to return any bilingual voices that use the specified\n language as an additional language. For instance, if you request all languages that use US\n English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US\n English, that voice will be included if you specify yes but not if you specify\n no.

                ", + "smithy.api#httpQuery": "IncludeAdditionalLanguageCodes" + } + }, + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

                An opaque pagination token returned from the previous DescribeVoices\n operation. If present, this indicates where to continue the listing.

                ", + "smithy.api#httpQuery": "NextToken" + } } } }, "com.amazonaws.polly#DescribeVoicesOutput": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

                The pagination token to use in the next request to continue \n the listing of voices. NextToken is returned only if \n the response is truncated.

                " - } - }, "Voices": { "target": "com.amazonaws.polly#VoiceList", "traits": { "smithy.api#documentation": "

                A list of voices with their properties.

                " } + }, + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

                The pagination token to use in the next request to continue the listing of voices.\n NextToken is returned only if the response is truncated.

                " + } } } }, @@ -190,7 +190,7 @@ } }, "traits": { - "smithy.api#documentation": "

                This engine is not compatible with the voice that you have designated. Choose a new voice that is compatible with the engine or change the engine \n and restart the operation.

                ", + "smithy.api#documentation": "

                This engine is not compatible with the voice that you have designated. Choose a new voice\n that is compatible with the engine or change the engine and restart the operation.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -228,7 +228,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns the content of the specified pronunciation lexicon stored in an AWS Region. \n For more information, see Managing Lexicons.

                ", + "smithy.api#documentation": "

                Returns the content of the specified pronunciation lexicon stored in an AWS Region. For\n more information, see Managing\n Lexicons.

                ", "smithy.api#http": { "method": "GET", "uri": "/v1/lexicons/{Name}", @@ -252,16 +252,16 @@ "com.amazonaws.polly#GetLexiconOutput": { "type": "structure", "members": { - "LexiconAttributes": { - "target": "com.amazonaws.polly#LexiconAttributes", + "Lexicon": { + "target": "com.amazonaws.polly#Lexicon", "traits": { - "smithy.api#documentation": "

                Metadata of the lexicon, including phonetic alphabetic used, language code, \n lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.

                " + "smithy.api#documentation": "

                Lexicon object that provides name and the string content of the lexicon.

                " } }, - "Lexicon": { - "target": "com.amazonaws.polly#Lexicon", + "LexiconAttributes": { + "target": "com.amazonaws.polly#LexiconAttributes", "traits": { - "smithy.api#documentation": "

                Lexicon object that provides name and the string content of the \n lexicon.

                " + "smithy.api#documentation": "

                Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon\n ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.

                " } } } @@ -286,7 +286,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object \n contains information about the given speech synthesis task, including the status of the \n task, and a link to the S3 bucket containing the output of the task.

                ", + "smithy.api#documentation": "

                Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object contains\n information about the given speech synthesis task, including the status of the task, and a\n link to the S3 bucket containing the output of the task.

                ", "smithy.api#http": { "method": "GET", "uri": "/v1/synthesisTasks/{TaskId}", @@ -313,7 +313,7 @@ "SynthesisTask": { "target": "com.amazonaws.polly#SynthesisTask", "traits": { - "smithy.api#documentation": "

                SynthesisTask object that provides information from the requested task, \n including output format, creation time, task status, and so on.

                " + "smithy.api#documentation": "

                SynthesisTask object that provides information from the requested task, including output\n format, creation time, task status, and so on.

                " } } } @@ -329,7 +329,7 @@ } }, "traits": { - "smithy.api#documentation": "

                Amazon Polly can't find the specified lexicon.\n Verify that the lexicon's name is spelled correctly, and then try again.

                ", + "smithy.api#documentation": "

                Amazon Polly can't find the specified lexicon. Verify that the lexicon's name is\n spelled correctly, and then try again.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -342,7 +342,7 @@ } }, "traits": { - "smithy.api#documentation": "

                The NextToken is invalid.\n Verify that it's spelled correctly, and then try again.

                ", + "smithy.api#documentation": "

                The NextToken is invalid. Verify that it's spelled correctly, and then try\n again.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -355,7 +355,7 @@ } }, "traits": { - "smithy.api#documentation": "

                The provided Amazon S3 bucket name is invalid. Please check your input with S3 bucket \n naming requirements and try again.

                ", + "smithy.api#documentation": "

                The provided Amazon S3 bucket name is invalid. Please check your input with S3 bucket\n naming requirements and try again.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -368,7 +368,7 @@ } }, "traits": { - "smithy.api#documentation": "

                The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object key name.

                ", + "smithy.api#documentation": "

                The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object key\n name.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -394,7 +394,7 @@ } }, "traits": { - "smithy.api#documentation": "

                The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN and try again.

                ", + "smithy.api#documentation": "

                The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN and try\n again.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -407,7 +407,7 @@ } }, "traits": { - "smithy.api#documentation": "

                The SSML you provided is invalid.\n Verify the SSML syntax, spelling of tags and values, and then try again.

                ", + "smithy.api#documentation": "

                The SSML you provided is invalid. Verify the SSML syntax, spelling of tags and values,\n and then try again.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -553,7 +553,7 @@ "Content": { "target": "com.amazonaws.polly#LexiconContent", "traits": { - "smithy.api#documentation": "

                Lexicon content in string format.\n The content of a lexicon must be in PLS format.

                " + "smithy.api#documentation": "

                Lexicon content in string format. The content of a lexicon must be in PLS\n format.

                " } }, "Name": { @@ -564,7 +564,7 @@ } }, "traits": { - "smithy.api#documentation": "

                Provides lexicon name and lexicon content in string format.\n For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0.

                " + "smithy.api#documentation": "

                Provides lexicon name and lexicon content in string format. For more information, see\n Pronunciation Lexicon\n Specification (PLS) Version 1.0.

                " } }, "com.amazonaws.polly#LexiconArn": { @@ -576,13 +576,13 @@ "Alphabet": { "target": "com.amazonaws.polly#Alphabet", "traits": { - "smithy.api#documentation": "

                Phonetic alphabet used in the lexicon.\n Valid values are ipa and x-sampa.

                " + "smithy.api#documentation": "

                Phonetic alphabet used in the lexicon. Valid values are ipa and\n x-sampa.

                " } }, "LanguageCode": { "target": "com.amazonaws.polly#LanguageCode", "traits": { - "smithy.api#documentation": "

                Language code that the lexicon applies to.\n A lexicon with a language code such as \"en\" would be\n applied to all English languages (en-GB, en-US, en-AUS,\n en-WLS, and so on.

                " + "smithy.api#documentation": "

                Language code that the lexicon applies to. A lexicon with a language code such as \"en\"\n would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

                " } }, "LastModified": { @@ -597,40 +597,43 @@ "smithy.api#documentation": "

                Amazon Resource Name (ARN) of the lexicon.

                " } }, - "Size": { - "target": "com.amazonaws.polly#Size", - "traits": { - "smithy.api#documentation": "

                Total size of the lexicon, in characters.

                " - } - }, "LexemesCount": { "target": "com.amazonaws.polly#LexemesCount", "traits": { "smithy.api#documentation": "

                Number of lexemes in the lexicon.

                " } + }, + "Size": { + "target": "com.amazonaws.polly#Size", + "traits": { + "smithy.api#documentation": "

                Total size of the lexicon, in characters.

                " + } } }, "traits": { - "smithy.api#documentation": "

                Contains metadata describing the lexicon such as the number of lexemes, language code, \n and so on.\n For more information, see Managing Lexicons.

                " + "smithy.api#documentation": "

                Contains metadata describing the lexicon such as the number of lexemes, language code,\n and so on. For more information, see Managing\n Lexicons.

                " } }, "com.amazonaws.polly#LexiconContent": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#sensitive": {} + } }, "com.amazonaws.polly#LexiconDescription": { "type": "structure", "members": { - "Attributes": { - "target": "com.amazonaws.polly#LexiconAttributes", - "traits": { - "smithy.api#documentation": "

                Provides lexicon metadata.

                " - } - }, "Name": { "target": "com.amazonaws.polly#LexiconName", "traits": { "smithy.api#documentation": "

                Name of the lexicon.

                " } + }, + "Attributes": { + "target": "com.amazonaws.polly#LexiconAttributes", + "traits": { + "smithy.api#documentation": "

                Provides lexicon metadata.

                " + } } }, "traits": { @@ -646,8 +649,7 @@ "com.amazonaws.polly#LexiconName": { "type": "string", "traits": { - "smithy.api#pattern": "[0-9A-Za-z]{1,20}", - "smithy.api#sensitive": {} + "smithy.api#pattern": "[0-9A-Za-z]{1,20}" } }, "com.amazonaws.polly#LexiconNameList": { @@ -670,7 +672,7 @@ } }, "traits": { - "smithy.api#documentation": "

                Amazon Polly can't find the specified lexicon.\n This could be caused by a lexicon that is missing, its name is misspelled or specifying a lexicon\n that is in a different region.

                \n

                Verify that the lexicon exists, is in the region (see ListLexicons) \n and that you spelled its name is spelled correctly. Then try again.

                ", + "smithy.api#documentation": "

                Amazon Polly can't find the specified lexicon. This could be caused by a lexicon that\n is missing, its name is misspelled or specifying a lexicon that is in a different\n region.

                \n

                Verify that the lexicon exists, is in the region (see ListLexicons)\n and that you spelled its name is spelled correctly. Then try again.

                ", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -683,7 +685,7 @@ } }, "traits": { - "smithy.api#documentation": "

                The maximum size of the specified lexicon would be exceeded by this operation.

                ", + "smithy.api#documentation": "

                The maximum size of the specified lexicon would be exceeded by this\n operation.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -705,7 +707,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns a list of pronunciation lexicons stored in an AWS Region. \n For more information, see Managing Lexicons.

                ", + "smithy.api#documentation": "

                Returns a list of pronunciation lexicons stored in an AWS Region. For more information,\n see Managing\n Lexicons.

                ", "smithy.api#http": { "method": "GET", "uri": "/v1/lexicons", @@ -719,7 +721,7 @@ "NextToken": { "target": "com.amazonaws.polly#NextToken", "traits": { - "smithy.api#documentation": "

                An opaque pagination token returned from previous \n ListLexicons operation. If present, indicates where to \n continue the list of lexicons.

                ", + "smithy.api#documentation": "

                An opaque pagination token returned from previous ListLexicons operation.\n If present, indicates where to continue the list of lexicons.

                ", "smithy.api#httpQuery": "NextToken" } } @@ -728,17 +730,17 @@ "com.amazonaws.polly#ListLexiconsOutput": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

                The pagination token to use in the next request to continue \n the listing of lexicons. NextToken is returned only if \n the response is truncated.

                " - } - }, "Lexicons": { "target": "com.amazonaws.polly#LexiconDescriptionList", "traits": { "smithy.api#documentation": "

                A list of lexicon names and attributes.

                " } + }, + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

                The pagination token to use in the next request to continue the listing of lexicons.\n NextToken is returned only if the response is truncated.

                " + } } } }, @@ -759,7 +761,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation \n can filter the tasks by their status, for example, allowing users to list only tasks that are completed.

                ", + "smithy.api#documentation": "

                Returns a list of SpeechSynthesisTask objects ordered by their creation date. This\n operation can filter the tasks by their status, for example, allowing users to list only tasks\n that are completed.

                ", "smithy.api#http": { "method": "GET", "uri": "/v1/synthesisTasks", @@ -782,35 +784,35 @@ "smithy.api#httpQuery": "MaxResults" } }, + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

                The pagination token to use in the next request to continue the listing of speech\n synthesis tasks.

                ", + "smithy.api#httpQuery": "NextToken" + } + }, "Status": { "target": "com.amazonaws.polly#TaskStatus", "traits": { "smithy.api#documentation": "

                Status of the speech synthesis tasks returned in a List operation

                ", "smithy.api#httpQuery": "Status" } - }, - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

                The pagination token to use in the next request to continue the listing of speech synthesis \n tasks.

                ", - "smithy.api#httpQuery": "NextToken" - } } } }, "com.amazonaws.polly#ListSpeechSynthesisTasksOutput": { "type": "structure", "members": { - "SynthesisTasks": { - "target": "com.amazonaws.polly#SynthesisTasks", + "NextToken": { + "target": "com.amazonaws.polly#NextToken", "traits": { - "smithy.api#documentation": "

                List of SynthesisTask objects that provides information from the specified task in the list request, \n including output format, creation time, task status, and so on.

                " + "smithy.api#documentation": "

                An opaque pagination token returned from the previous List operation in this request. If\n present, this indicates where to continue the listing.

                " } }, - "NextToken": { - "target": "com.amazonaws.polly#NextToken", + "SynthesisTasks": { + "target": "com.amazonaws.polly#SynthesisTasks", "traits": { - "smithy.api#documentation": "

                An opaque pagination token returned from the previous List operation \n in this request. If present, this indicates where to continue the listing.

                " + "smithy.api#documentation": "

                List of SynthesisTask objects that provides information from the specified task in the\n list request, including output format, creation time, task status, and so on.

                " } } } @@ -823,7 +825,7 @@ } }, "traits": { - "smithy.api#documentation": "

                Speech marks are not supported for the OutputFormat selected. \n Speech marks are only available for content in json format.

                ", + "smithy.api#documentation": "

                Speech marks are not supported for the OutputFormat selected. Speech marks\n are only available for content in json format.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -905,7 +907,7 @@ "com.amazonaws.polly#OutputS3KeyPrefix": { "type": "string", "traits": { - "smithy.api#pattern": "^[0-9a-zA-Z\\/\\!\\-_\\.\\*\\'\\(\\)]{0,800}$" + "smithy.api#pattern": "^[0-9a-zA-Z\\/\\!\\-_\\.\\*\\'\\(\\):;\\$@=+\\,\\?&]{0,800}$" } }, "com.amazonaws.polly#OutputUri": { @@ -954,7 +956,7 @@ "name": "polly" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

                Amazon Polly is a web service that makes it easy to synthesize speech from text.

                \n

                The Amazon Polly service provides API operations for synthesizing high-quality speech from plain text and Speech Synthesis Markup Language (SSML), \n along with managing pronunciations lexicons that enable you to get the best results for your application domain.

                ", + "smithy.api#documentation": "

                Amazon Polly is a web service that makes it easy to synthesize speech from\n text.

                \n

                The Amazon Polly service provides API operations for synthesizing high-quality speech\n from plain text and Speech Synthesis Markup Language (SSML), along with managing\n pronunciations lexicons that enable you to get the best results for your application\n domain.

                ", "smithy.api#title": "Amazon Polly", "smithy.api#xmlNamespace": { "uri": "http://polly.amazonaws.com/doc/v1" @@ -993,7 +995,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Stores a pronunciation lexicon in an AWS Region.\n If a lexicon with the same name already exists in the region,\n it is overwritten by the new lexicon.\n Lexicon operations have eventual consistency, \n therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.

                \n

                For more information, see Managing Lexicons.

                ", + "smithy.api#documentation": "

                Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same name\n already exists in the region, it is overwritten by the new lexicon. Lexicon operations have\n eventual consistency, therefore, it might take some time before the lexicon is available to\n the SynthesizeSpeech operation.

                \n

                For more information, see Managing\n Lexicons.

                ", "smithy.api#http": { "method": "PUT", "uri": "/v1/lexicons/{Name}", @@ -1007,7 +1009,7 @@ "Name": { "target": "com.amazonaws.polly#LexiconName", "traits": { - "smithy.api#documentation": "

                Name of the lexicon. The name must follow the regular express format \n [0-9A-Za-z]{1,20}.\n That is, the name is a case-sensitive alphanumeric string up to 20 characters long.\n

                ", + "smithy.api#documentation": "

                Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}.\n That is, the name is a case-sensitive alphanumeric string up to 20 characters long.

                ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1148,7 +1150,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Allows the creation of an asynchronous synthesis task, by starting a new SpeechSynthesisTask. This \n operation requires all the standard information needed for speech synthesis, plus the name of an Amazon S3 bucket \n for the service to store the output of the synthesis task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn). \n Once the synthesis task is created, this operation will return a SpeechSynthesisTask object, which will include an \n identifier of this task as well as the current status.

                ", + "smithy.api#documentation": "

                Allows the creation of an asynchronous synthesis task, by starting a new\n SpeechSynthesisTask. This operation requires all the standard information\n needed for speech synthesis, plus the name of an Amazon S3 bucket for the service to store the\n output of the synthesis task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn).\n Once the synthesis task is created, this operation will return a SpeechSynthesisTask object,\n which will include an identifier of this task as well as the current status.

                ", "smithy.api#http": { "method": "POST", "uri": "/v1/synthesisTasks", @@ -1159,81 +1161,81 @@ "com.amazonaws.polly#StartSpeechSynthesisTaskInput": { "type": "structure", "members": { - "TextType": { - "target": "com.amazonaws.polly#TextType", + "Engine": { + "target": "com.amazonaws.polly#Engine", "traits": { - "smithy.api#documentation": "

                Specifies whether the input text is plain text or SSML. The default value is plain text.

                " + "smithy.api#documentation": "

                Specifies the engine (standard or neural) for Amazon Polly to\n use when processing input text for speech synthesis. Using a voice that is not supported for\n the engine selected will result in an error.

                " } }, - "OutputS3KeyPrefix": { - "target": "com.amazonaws.polly#OutputS3KeyPrefix", + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", "traits": { - "smithy.api#documentation": "

                The Amazon S3 key prefix for the output speech file.

                " + "smithy.api#documentation": "

                Optional language code for the Speech Synthesis request. This is only necessary if using a\n bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi\n (hi-IN).

                \n

                If a bilingual voice is used and no language code is specified, Amazon Polly will use the\n default language of the bilingual voice. The default language for any voice is the one\n returned by the DescribeVoices operation for the LanguageCode parameter. For example,\n if no language code is specified, Aditi will use Indian English rather than Hindi.

                " } }, - "OutputS3BucketName": { - "target": "com.amazonaws.polly#OutputS3BucketName", + "LexiconNames": { + "target": "com.amazonaws.polly#LexiconNameList", "traits": { - "smithy.api#documentation": "

                Amazon S3 bucket name to which the output file will be saved.

                ", + "smithy.api#documentation": "

                List of one or more pronunciation lexicon names you want the service to apply during\n synthesis. Lexicons are applied only if the language of the lexicon is the same as the\n language of the voice.

                " + } + }, + "OutputFormat": { + "target": "com.amazonaws.polly#OutputFormat", + "traits": { + "smithy.api#documentation": "

                The format in which the returned output will be encoded. For audio stream, this will be\n mp3, ogg_vorbis, or pcm. For speech marks, this will be json.

                ", "smithy.api#required": {} } }, - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", + "OutputS3BucketName": { + "target": "com.amazonaws.polly#OutputS3BucketName", "traits": { - "smithy.api#documentation": "

                Optional language code for the Speech Synthesis request. This is only necessary if using a bilingual voice, \n such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

                \n

                If a bilingual voice is used and no language code is specified, Amazon Polly will use the default language of the bilingual voice. \n The default language for any voice is the one returned by the DescribeVoices \n operation for the LanguageCode parameter. For example, if no language code is specified, Aditi will use Indian English rather than Hindi.

                " + "smithy.api#documentation": "

                Amazon S3 bucket name to which the output file will be saved.

                ", + "smithy.api#required": {} } }, - "SpeechMarkTypes": { - "target": "com.amazonaws.polly#SpeechMarkTypeList", + "OutputS3KeyPrefix": { + "target": "com.amazonaws.polly#OutputS3KeyPrefix", "traits": { - "smithy.api#documentation": "

                The type of speech marks returned for the input text.

                " + "smithy.api#documentation": "

                The Amazon S3 key prefix for the output speech file.

                " } }, "SampleRate": { "target": "com.amazonaws.polly#SampleRate", "traits": { - "smithy.api#documentation": "

                The audio frequency specified in Hz.

                \n

                The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The \n default value for standard voices is \"22050\". The default value for neural voices is \"24000\".

                \n

                Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".

                " + "smithy.api#documentation": "

                The audio frequency specified in Hz.

                \n

                The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The\n default value for standard voices is \"22050\". The default value for neural voices is\n \"24000\".

                \n

                Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".

                " } }, "SnsTopicArn": { "target": "com.amazonaws.polly#SnsTopicArn", "traits": { - "smithy.api#documentation": "

                ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.

                " + "smithy.api#documentation": "

                ARN for the SNS topic optionally used for providing status notification for a speech\n synthesis task.

                " } }, - "VoiceId": { - "target": "com.amazonaws.polly#VoiceId", + "SpeechMarkTypes": { + "target": "com.amazonaws.polly#SpeechMarkTypeList", "traits": { - "smithy.api#documentation": "

                Voice ID to use for the synthesis.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The type of speech marks returned for the input text.

                " } }, "Text": { "target": "com.amazonaws.polly#Text", "traits": { - "smithy.api#documentation": "

                The input text to synthesize. If you specify \n ssml as the TextType, follow the SSML format for the input text.

                ", + "smithy.api#documentation": "

                The input text to synthesize. If you specify ssml as the TextType, follow the SSML format\n for the input text.

                ", "smithy.api#required": {} } }, - "Engine": { - "target": "com.amazonaws.polly#Engine", + "TextType": { + "target": "com.amazonaws.polly#TextType", "traits": { - "smithy.api#documentation": "

                Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine\n selected will result in an error.

                " + "smithy.api#documentation": "

                Specifies whether the input text is plain text or SSML. The default value is plain text.\n

                " } }, - "OutputFormat": { - "target": "com.amazonaws.polly#OutputFormat", + "VoiceId": { + "target": "com.amazonaws.polly#VoiceId", "traits": { - "smithy.api#documentation": "

                The format in which the returned output will be encoded. For \n audio stream, this will be mp3, ogg_vorbis, or pcm. For speech\n marks, this will be json.

                ", + "smithy.api#documentation": "

                Voice ID to use for the synthesis.

                ", "smithy.api#required": {} } - }, - "LexiconNames": { - "target": "com.amazonaws.polly#LexiconNameList", - "traits": { - "smithy.api#documentation": "

                List of one or more pronunciation lexicon names you want the service \n to apply during synthesis. Lexicons are applied only if the language \n of the lexicon is the same as the language of the voice.

                " - } } } }, @@ -1243,7 +1245,7 @@ "SynthesisTask": { "target": "com.amazonaws.polly#SynthesisTask", "traits": { - "smithy.api#documentation": "

                SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.

                " + "smithy.api#documentation": "

                SynthesisTask object that provides information and attributes about a newly submitted\n speech synthesis task.

                " } } } @@ -1251,16 +1253,28 @@ "com.amazonaws.polly#SynthesisTask": { "type": "structure", "members": { - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", + "Engine": { + "target": "com.amazonaws.polly#Engine", "traits": { - "smithy.api#documentation": "

                Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as \n Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

                \n

                If a bilingual voice is used and no language code is specified, Amazon Polly will use the default language\n of the bilingual voice. The default language for any voice is the one returned by the DescribeVoices \n operation for the LanguageCode parameter. For example, if no language code is specified, Aditi will use Indian English rather \n than Hindi.

                " + "smithy.api#documentation": "

                Specifies the engine (standard or neural) for Amazon Polly to\n use when processing input text for speech synthesis. Using a voice that is not supported for\n the engine selected will result in an error.

                " } }, - "SampleRate": { - "target": "com.amazonaws.polly#SampleRate", + "TaskId": { + "target": "com.amazonaws.polly#TaskId", "traits": { - "smithy.api#documentation": "

                The audio frequency specified in Hz.

                \n

                The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The \n default value for standard voices is \"22050\". The default value for neural voices is \"24000\".

                \n

                Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".

                " + "smithy.api#documentation": "

                The Amazon Polly generated identifier for a speech synthesis task.

                " + } + }, + "TaskStatus": { + "target": "com.amazonaws.polly#TaskStatus", + "traits": { + "smithy.api#documentation": "

                Current status of the individual speech synthesis task.

                " + } + }, + "TaskStatusReason": { + "target": "com.amazonaws.polly#TaskStatusReason", + "traits": { + "smithy.api#documentation": "

                Reason for the current status of a specific speech synthesis task, including errors if the\n task has failed.

                " } }, "OutputUri": { @@ -1269,10 +1283,10 @@ "smithy.api#documentation": "

                Pathway for the output speech file.

                " } }, - "TaskStatusReason": { - "target": "com.amazonaws.polly#TaskStatusReason", + "CreationTime": { + "target": "com.amazonaws.polly#DateTime", "traits": { - "smithy.api#documentation": "

                Reason for the current status of a specific speech synthesis task, including \n errors if the task has failed.

                " + "smithy.api#documentation": "

                Timestamp for the time the synthesis task was started.

                " } }, "RequestCharacters": { @@ -1281,46 +1295,40 @@ "smithy.api#documentation": "

                Number of billable characters synthesized.

                " } }, - "TaskStatus": { - "target": "com.amazonaws.polly#TaskStatus", - "traits": { - "smithy.api#documentation": "

                Current status of the individual speech synthesis task.

                " - } - }, - "TextType": { - "target": "com.amazonaws.polly#TextType", + "SnsTopicArn": { + "target": "com.amazonaws.polly#SnsTopicArn", "traits": { - "smithy.api#documentation": "

                Specifies whether the input text is plain text or SSML. The default value is plain text.

                " + "smithy.api#documentation": "

                ARN for the SNS topic optionally used for providing status notification for a speech\n synthesis task.

                " } }, "LexiconNames": { "target": "com.amazonaws.polly#LexiconNameList", "traits": { - "smithy.api#documentation": "

                List of one or more pronunciation lexicon names you want the service \n to apply during synthesis. Lexicons are applied only if the language \n of the lexicon is the same as the language of the voice.

                " + "smithy.api#documentation": "

                List of one or more pronunciation lexicon names you want the service to apply during\n synthesis. Lexicons are applied only if the language of the lexicon is the same as the\n language of the voice.

                " } }, - "SnsTopicArn": { - "target": "com.amazonaws.polly#SnsTopicArn", + "OutputFormat": { + "target": "com.amazonaws.polly#OutputFormat", "traits": { - "smithy.api#documentation": "

                ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.

                " + "smithy.api#documentation": "

                The format in which the returned output will be encoded. For audio stream, this will be\n mp3, ogg_vorbis, or pcm. For speech marks, this will be json.

                " } }, - "OutputFormat": { - "target": "com.amazonaws.polly#OutputFormat", + "SampleRate": { + "target": "com.amazonaws.polly#SampleRate", "traits": { - "smithy.api#documentation": "

                The format in which the returned output will be encoded. For \n audio stream, this will be mp3, ogg_vorbis, or pcm. For speech\n marks, this will be json.

                " + "smithy.api#documentation": "

                The audio frequency specified in Hz.

                \n

                The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The\n default value for standard voices is \"22050\". The default value for neural voices is\n \"24000\".

                \n

                Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".

                " } }, - "CreationTime": { - "target": "com.amazonaws.polly#DateTime", + "SpeechMarkTypes": { + "target": "com.amazonaws.polly#SpeechMarkTypeList", "traits": { - "smithy.api#documentation": "

                Timestamp for the time the synthesis task was started.

                " + "smithy.api#documentation": "

                The type of speech marks returned for the input text.

                " } }, - "Engine": { - "target": "com.amazonaws.polly#Engine", + "TextType": { + "target": "com.amazonaws.polly#TextType", "traits": { - "smithy.api#documentation": "

                Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine\n selected will result in an error.

                " + "smithy.api#documentation": "

                Specifies whether the input text is plain text or SSML. The default value is plain text.\n

                " } }, "VoiceId": { @@ -1329,16 +1337,10 @@ "smithy.api#documentation": "

                Voice ID to use for the synthesis.

                " } }, - "TaskId": { - "target": "com.amazonaws.polly#TaskId", - "traits": { - "smithy.api#documentation": "

                The Amazon Polly generated identifier for a speech synthesis task.

                " - } - }, - "SpeechMarkTypes": { - "target": "com.amazonaws.polly#SpeechMarkTypeList", + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", "traits": { - "smithy.api#documentation": "

                The type of speech marks returned for the input text.

                " + "smithy.api#documentation": "

                Optional language code for a synthesis task. This is only necessary if using a bilingual\n voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

                \n

                If a bilingual voice is used and no language code is specified, Amazon Polly will use the\n default language of the bilingual voice. The default language for any voice is the one\n returned by the DescribeVoices operation for the LanguageCode parameter. For example,\n if no language code is specified, Aditi will use Indian English rather than Hindi.

                " } } }, @@ -1403,7 +1405,7 @@ } ], "traits": { - "smithy.api#documentation": "

                Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.\n SSML input must be valid, well-formed SSML.\n Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used.\n For more information, see How it Works.

                ", + "smithy.api#documentation": "

                Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be\n valid, well-formed SSML. Some alphabets might not be available with all the voices (for\n example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used.\n For more information, see How it\n Works.

                ", "smithy.api#http": { "method": "POST", "uri": "/v1/speech", @@ -1417,58 +1419,58 @@ "Engine": { "target": "com.amazonaws.polly#Engine", "traits": { - "smithy.api#documentation": "

                Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine\n selected will result in an error.

                " + "smithy.api#documentation": "

                Specifies the engine (standard or neural) for Amazon Polly to\n use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available in standard-only, NTTS-only, and \n both standard and NTTS formats, see Available Voices.

                \n

                \n NTTS-only voices\n

                \n

                When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be\n set to neural. If the engine is not specified, or is set to standard,\n this will result in an error.

                \n

                Type: String

                \n

                Valid Values: standard | neural\n

                \n

                Required: Yes

                \n \n

                \n Standard voices\n

                \n

                For standard voices, this is not required; the engine parameter defaults to\n standard. If the engine is not specified, or is set to standard and\n an NTTS-only voice is selected, this will result in an error.

                " } }, - "VoiceId": { - "target": "com.amazonaws.polly#VoiceId", + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", "traits": { - "smithy.api#documentation": "

                \n Voice ID to use for the synthesis. You can get a list of \n available voice IDs by calling the DescribeVoices operation.\n

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                Optional language code for the Synthesize Speech request. This is only necessary if using\n a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi\n (hi-IN).

                \n

                If a bilingual voice is used and no language code is specified, Amazon Polly will use the\n default language of the bilingual voice. The default language for any voice is the one\n returned by the DescribeVoices operation for the LanguageCode parameter. For example,\n if no language code is specified, Aditi will use Indian English rather than Hindi.

                " } }, - "Text": { - "target": "com.amazonaws.polly#Text", + "LexiconNames": { + "target": "com.amazonaws.polly#LexiconNameList", "traits": { - "smithy.api#documentation": "

                \n Input text to synthesize. If you specify \n ssml as the TextType, follow the SSML format for the \n input text.\n

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                List of one or more pronunciation lexicon names you want the service to apply during\n synthesis. Lexicons are applied only if the language of the lexicon is the same as the\n language of the voice. For information about storing lexicons, see PutLexicon.

                " } }, "OutputFormat": { "target": "com.amazonaws.polly#OutputFormat", "traits": { - "smithy.api#documentation": "

                \n The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. \n For speech marks, this will be json.

                \n

                When pcm is used, the content returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

                ", + "smithy.api#documentation": "

                The format in which the returned output will be encoded. For audio stream, this will\n be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.

                \n

                When pcm is used, the content returned is audio/pcm in a signed 16-bit, 1 channel\n (mono), little-endian format.

                ", "smithy.api#required": {} } }, - "SpeechMarkTypes": { - "target": "com.amazonaws.polly#SpeechMarkTypeList", + "SampleRate": { + "target": "com.amazonaws.polly#SampleRate", "traits": { - "smithy.api#documentation": "

                The type of speech marks returned for the input text.

                " + "smithy.api#documentation": "

                The audio frequency specified in Hz.

                \n

                The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The\n default value for standard voices is \"22050\". The default value for neural voices is\n \"24000\".

                \n

                Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".

                " } }, - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", + "SpeechMarkTypes": { + "target": "com.amazonaws.polly#SpeechMarkTypeList", "traits": { - "smithy.api#documentation": "

                Optional language code for the Synthesize Speech request. This is only necessary if using a bilingual voice, \n such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

                \n

                If a bilingual voice is used and no language code is specified, Amazon Polly will use the default language\n of the bilingual voice. The default language for any voice is the one returned by the DescribeVoices \n operation for the LanguageCode parameter. For example, if no language code is specified, Aditi will use Indian English rather than \n Hindi.

                " + "smithy.api#documentation": "

                The type of speech marks returned for the input text.

                " } }, - "LexiconNames": { - "target": "com.amazonaws.polly#LexiconNameList", + "Text": { + "target": "com.amazonaws.polly#Text", "traits": { - "smithy.api#documentation": "

                List of one or more pronunciation lexicon names you want the service to apply\n during synthesis. Lexicons are applied only if the language of the lexicon is the same\n as the language of the voice. For information about storing lexicons, \n see PutLexicon.

                " + "smithy.api#documentation": "

                Input text to synthesize. If you specify ssml as the\n TextType, follow the SSML format for the input text.

                ", + "smithy.api#required": {} } }, "TextType": { "target": "com.amazonaws.polly#TextType", "traits": { - "smithy.api#documentation": "

                \n Specifies whether the input text is plain text or SSML. The default value is plain text.\n For more information, see Using SSML.

                " + "smithy.api#documentation": "

                Specifies whether the input text is plain text or SSML. The default value is plain\n text. For more information, see Using SSML.

                " } }, - "SampleRate": { - "target": "com.amazonaws.polly#SampleRate", + "VoiceId": { + "target": "com.amazonaws.polly#VoiceId", "traits": { - "smithy.api#documentation": "

                The audio frequency specified in Hz.

                \n

                The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The \n default value for standard voices is \"22050\". The default value for neural voices is \"24000\".

                \n

                Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".

                " + "smithy.api#documentation": "

                Voice ID to use for the synthesis. You can get a list of available voice IDs by\n calling the DescribeVoices operation.

                ", + "smithy.api#required": {} } } } @@ -1479,23 +1481,23 @@ "AudioStream": { "target": "com.amazonaws.polly#AudioStream", "traits": { - "smithy.api#documentation": "

                \n Stream containing the synthesized speech.\n

                ", + "smithy.api#documentation": "

                Stream containing the synthesized speech.

                ", "smithy.api#httpPayload": {} } }, + "ContentType": { + "target": "com.amazonaws.polly#ContentType", + "traits": { + "smithy.api#documentation": "

                Specifies the type audio stream. This should reflect the OutputFormat\n parameter in your request.

                \n
                  \n
                • \n

                  If you request mp3 as the OutputFormat, the\n ContentType returned is audio/mpeg.

                  \n
                • \n
                • \n

                  If you request ogg_vorbis as the OutputFormat, the\n ContentType returned is audio/ogg.

                  \n
                • \n
                • \n

                  If you request pcm as the OutputFormat, the\n ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono),\n little-endian format.

                  \n
                • \n
                • \n

                  If you request json as the OutputFormat, the\n ContentType returned is audio/json.

                  \n
                • \n
                \n

                ", + "smithy.api#httpHeader": "Content-Type" + } + }, "RequestCharacters": { "target": "com.amazonaws.polly#RequestCharacters", "traits": { "smithy.api#documentation": "

                Number of characters synthesized.

                ", "smithy.api#httpHeader": "x-amzn-RequestCharacters" } - }, - "ContentType": { - "target": "com.amazonaws.polly#ContentType", - "traits": { - "smithy.api#documentation": "

                \n Specifies the type audio stream. This should reflect the \n OutputFormat parameter in your request.\n

                \n
                  \n
                • \n

                  \n If you request mp3 as the OutputFormat, \n the ContentType returned is audio/mpeg.\n

                  \n
                • \n
                • \n

                  \n If you request ogg_vorbis as the OutputFormat, \n the ContentType returned is audio/ogg.\n

                  \n
                • \n
                • \n

                  If you request pcm as the OutputFormat, the\n ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono),\n little-endian format.

                  \n
                • \n
                • \n

                  If you request json as the OutputFormat, the ContentType\n returned is audio/json.

                  \n
                • \n
                \n

                \n \n

                ", - "smithy.api#httpHeader": "Content-Type" - } } } }, @@ -1542,7 +1544,7 @@ } }, "traits": { - "smithy.api#documentation": "

                The value of the \"Text\" parameter is longer than the accepted limits. For the SynthesizeSpeech API, the limit for \n input text is a maximum of 6000 characters total, of which no more than 3000 can be billed characters. For the StartSpeechSynthesisTask API, the maximum \n is 200,000 characters, of which no more than 100,000 can be billed characters.\n SSML tags are not counted as billed characters.

                ", + "smithy.api#documentation": "

                The value of the \"Text\" parameter is longer than the accepted limits. For the\n SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters\n total, of which no more than 3000 can be billed characters. For the\n StartSpeechSynthesisTask API, the maximum is 200,000 characters, of which no\n more than 100,000 can be billed characters. SSML tags are not counted as billed\n characters.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -1570,7 +1572,7 @@ } }, "traits": { - "smithy.api#documentation": "

                The alphabet specified by the lexicon is not a supported alphabet.\n Valid values are x-sampa and ipa.

                ", + "smithy.api#documentation": "

                The alphabet specified by the lexicon is not a supported alphabet. Valid values are\n x-sampa and ipa.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -1583,7 +1585,7 @@ } }, "traits": { - "smithy.api#documentation": "

                The language specified in the lexicon is unsupported. For a list of \n supported languages, see Lexicon Attributes.

                ", + "smithy.api#documentation": "

                The language specified in the lexicon is unsupported. For a list of supported\n languages, see Lexicon\n Attributes.

                ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -1591,46 +1593,46 @@ "com.amazonaws.polly#Voice": { "type": "structure", "members": { - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", - "traits": { - "smithy.api#documentation": "

                Language code of the voice.

                " - } - }, - "LanguageName": { - "target": "com.amazonaws.polly#LanguageName", + "Gender": { + "target": "com.amazonaws.polly#Gender", "traits": { - "smithy.api#documentation": "

                Human readable name of the language in English.

                " + "smithy.api#documentation": "

                Gender of the voice.

                " } }, "Id": { "target": "com.amazonaws.polly#VoiceId", "traits": { - "smithy.api#documentation": "

                Amazon Polly assigned voice ID. This is the ID that you specify \n when calling the SynthesizeSpeech operation.

                " + "smithy.api#documentation": "

                Amazon Polly assigned voice ID. This is the ID that you specify when calling the\n SynthesizeSpeech operation.

                " } }, - "Gender": { - "target": "com.amazonaws.polly#Gender", + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", "traits": { - "smithy.api#documentation": "

                Gender of the voice.

                " + "smithy.api#documentation": "

                Language code of the voice.

                " } }, - "SupportedEngines": { - "target": "com.amazonaws.polly#EngineList", + "LanguageName": { + "target": "com.amazonaws.polly#LanguageName", "traits": { - "smithy.api#documentation": "

                Specifies which engines (standard or neural) that are supported by a given voice.

                " + "smithy.api#documentation": "

                Human readable name of the language in English.

                " } }, "Name": { "target": "com.amazonaws.polly#VoiceName", "traits": { - "smithy.api#documentation": "

                Name of the voice (for example, Salli, Kendra, etc.).\n This provides a human readable voice name that you might display \n in your application.

                " + "smithy.api#documentation": "

                Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable\n voice name that you might display in your application.

                " } }, "AdditionalLanguageCodes": { "target": "com.amazonaws.polly#LanguageCodeList", "traits": { - "smithy.api#documentation": "

                Additional codes for languages available for the specified voice in addition to its default language.

                \n

                For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since \n Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code hi-IN.

                " + "smithy.api#documentation": "

                Additional codes for languages available for the specified voice in addition to its\n default language.

                \n

                For example, the default language for Aditi is Indian English (en-IN) because it was first\n used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi,\n this parameter would show the code hi-IN.

                " + } + }, + "SupportedEngines": { + "target": "com.amazonaws.polly#EngineList", + "traits": { + "smithy.api#documentation": "

                Specifies which engines (standard or neural) that are supported\n by a given voice.

                " } } }, @@ -1786,6 +1788,9 @@ { "value": "Nicole" }, + { + "value": "Olivia" + }, { "value": "Penelope" }, diff --git a/codegen/sdk-codegen/aws-models/robomaker.2018-06-29.json b/codegen/sdk-codegen/aws-models/robomaker.2018-06-29.json index 017466cf222b..254e582a8cfa 100644 --- a/codegen/sdk-codegen/aws-models/robomaker.2018-06-29.json +++ b/codegen/sdk-codegen/aws-models/robomaker.2018-06-29.json @@ -167,34 +167,34 @@ "com.amazonaws.robomaker#BatchDescribeSimulationJobResponse": { "type": "structure", "members": { - "unprocessedJobs": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

                A list of unprocessed simulation job Amazon Resource Names (ARNs).

                " - } - }, "jobs": { "target": "com.amazonaws.robomaker#SimulationJobs", "traits": { "smithy.api#documentation": "

                A list of simulation jobs.

                " } + }, + "unprocessedJobs": { + "target": "com.amazonaws.robomaker#Arns", + "traits": { + "smithy.api#documentation": "

                A list of unprocessed simulation job Amazon Resource Names (ARNs).

                " + } } } }, "com.amazonaws.robomaker#BatchPolicy": { "type": "structure", "members": { - "maxConcurrency": { - "target": "com.amazonaws.robomaker#MaxConcurrency", - "traits": { - "smithy.api#documentation": "

                The number of active simulation jobs create as part of the batch that \n can be in an active state at the same time. \n

                \n

                Active states include: Pending,Preparing, \n Running, Restarting, RunningFailed and\n Terminating. All other states are terminal states. \n

                " - } - }, "timeoutInSeconds": { "target": "com.amazonaws.robomaker#BatchTimeoutInSeconds", "traits": { "smithy.api#documentation": "

                The amount of time, in seconds, to wait for the batch to complete. \n \n

                \n

                If a batch times out, and there are pending requests that \n were failing due to an internal failure (like InternalServiceError), \n they will be moved to the \n failed list and the batch status will be Failed.\n If the pending requests were failing for any other reason, \n the failed pending requests will be moved to the failed list \n and the batch status will be TimedOut.\n

                " } + }, + "maxConcurrency": { + "target": "com.amazonaws.robomaker#MaxConcurrency", + "traits": { + "smithy.api#documentation": "

                The number of active simulation jobs create as part of the batch that \n can be in an active state at the same time. \n

                \n

                Active states include: Pending,Preparing, \n Running, Restarting, RunningFailed and\n Terminating. All other states are terminal states. \n

                " + } } }, "traits": { @@ -561,19 +561,6 @@ "smithy.api#documentation": "

                The requested deployment configuration.

                " } }, - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet to deploy.

                ", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the deployment job.

                " - } - }, "clientRequestToken": { "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { @@ -582,22 +569,35 @@ "smithy.api#required": {} } }, + "fleet": { + "target": "com.amazonaws.robomaker#Arn", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet to deploy.

                ", + "smithy.api#required": {} + } + }, "deploymentApplicationConfigs": { "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", "traits": { "smithy.api#documentation": "

                The deployment application configuration.

                ", "smithy.api#required": {} } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the deployment job.

                " + } } } }, "com.amazonaws.robomaker#CreateDeploymentJobResponse": { "type": "structure", "members": { - "deploymentConfig": { - "target": "com.amazonaws.robomaker#DeploymentConfig", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The deployment configuration.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the deployment job.

                " } }, "fleet": { @@ -606,10 +606,10 @@ "smithy.api#documentation": "

                The target fleet for the deployment job.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "status": { + "target": "com.amazonaws.robomaker#DeploymentStatus", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the deployment job.

                " + "smithy.api#documentation": "

                The status of the deployment job.

                " } }, "deploymentApplicationConfigs": { @@ -618,22 +618,28 @@ "smithy.api#documentation": "

                The deployment application configuration.

                " } }, + "failureReason": { + "target": "com.amazonaws.robomaker#GenericString", + "traits": { + "smithy.api#documentation": "

                The failure reason of the deployment job if it failed.

                " + } + }, "failureCode": { "target": "com.amazonaws.robomaker#DeploymentJobErrorCode", "traits": { "smithy.api#documentation": "

                The failure code of the simulation job if it failed:

                \n
                \n
                BadPermissionError
                \n
                \n

                AWS Greengrass requires a service-level role permission to access\n other services. The role must include the \n \n AWSGreengrassResourceAccessRolePolicy \n managed policy.\n

                \n
                \n
                ExtractingBundleFailure
                \n
                \n

                The robot application could not be extracted from the bundle.

                \n
                \n
                FailureThresholdBreached
                \n
                \n

                The percentage of robots that could not be updated exceeded the percentage\n set for the deployment.

                \n
                \n
                GreengrassDeploymentFailed
                \n
                \n

                The robot application could not be deployed to the robot.

                \n
                \n
                GreengrassGroupVersionDoesNotExist
                \n
                \n

                The AWS Greengrass group or version associated with a robot is missing.

                \n
                \n
                InternalServerError
                \n
                \n

                An internal error has occurred. Retry your request, but if the problem persists, \n contact us with details.

                \n
                \n
                MissingRobotApplicationArchitecture
                \n
                \n

                The robot application does not have a source that matches the architecture of the robot.

                \n
                \n
                MissingRobotDeploymentResource
                \n
                \n

                One or more of the resources specified for the robot application are missing. For\n example, does the robot application have the correct launch package and launch file?

                \n
                \n
                PostLaunchFileFailure
                \n
                \n

                The post-launch script failed.

                \n
                \n
                PreLaunchFileFailure
                \n
                \n

                The pre-launch script failed.

                \n
                \n
                ResourceNotFound
                \n
                \n

                One or more deployment resources are missing. For example, do robot application \n source bundles still exist?

                \n
                \n
                RobotDeploymentNoResponse
                \n
                \n

                There is no response from the robot. It might not be powered on or \n connected to the internet.

                \n
                \n
                " } }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The failure reason of the deployment job if it failed.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the fleet was created.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#DeploymentStatus", + "deploymentConfig": { + "target": "com.amazonaws.robomaker#DeploymentConfig", "traits": { - "smithy.api#documentation": "

                The status of the deployment job.

                " + "smithy.api#documentation": "

                The deployment configuration.

                " } }, "tags": { @@ -641,12 +647,6 @@ "traits": { "smithy.api#documentation": "

                The list of all tags added to the deployment job.

                " } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the fleet was created.

                " - } } } }, @@ -684,18 +684,18 @@ "com.amazonaws.robomaker#CreateFleetRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the fleet.

                " - } - }, "name": { "target": "com.amazonaws.robomaker#Name", "traits": { "smithy.api#documentation": "

                The name of the fleet.

                ", "smithy.api#required": {} } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the fleet.

                " + } } } }, @@ -714,17 +714,17 @@ "smithy.api#documentation": "

                The name of the fleet.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

                The list of all tags added to the fleet.

                " - } - }, "createdAt": { "target": "com.amazonaws.robomaker#CreatedAt", "traits": { "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the fleet was created.

                " } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                The list of all tags added to the fleet.

                " + } } } }, @@ -802,19 +802,6 @@ "com.amazonaws.robomaker#CreateRobotApplicationRequest": { "type": "structure", "members": { - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

                The robot software suite (ROS distribuition) used by the robot application.

                ", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the robot application.

                " - } - }, "name": { "target": "com.amazonaws.robomaker#Name", "traits": { @@ -828,18 +815,25 @@ "smithy.api#documentation": "

                The sources of the robot application.

                ", "smithy.api#required": {} } + }, + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "traits": { + "smithy.api#documentation": "

                The robot software suite (ROS distribuition) used by the robot application.

                ", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the robot application.

                " + } } } }, "com.amazonaws.robomaker#CreateRobotApplicationResponse": { "type": "structure", "members": { - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot application was last updated.

                " - } - }, "arn": { "target": "com.amazonaws.robomaker#Arn", "traits": { @@ -852,6 +846,12 @@ "smithy.api#documentation": "

                The name of the robot application.

                " } }, + "version": { + "target": "com.amazonaws.robomaker#Version", + "traits": { + "smithy.api#documentation": "

                The version of the robot application.

                " + } + }, "sources": { "target": "com.amazonaws.robomaker#Sources", "traits": { @@ -864,6 +864,12 @@ "smithy.api#documentation": "

                The robot software suite (ROS distribution) used by the robot application.

                " } }, + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", + "traits": { + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot application was last updated.

                " + } + }, "revisionId": { "target": "com.amazonaws.robomaker#RevisionId", "traits": { @@ -875,12 +881,6 @@ "traits": { "smithy.api#documentation": "

                The list of all tags added to the robot application.

                " } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

                The version of the robot application.

                " - } } } }, @@ -921,46 +921,46 @@ "com.amazonaws.robomaker#CreateRobotApplicationVersionRequest": { "type": "structure", "members": { - "currentRevisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

                The current revision id for the robot application. If you provide a value and it\n matches the latest revision ID, a new version will be created.

                " - } - }, "application": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The application information for the robot application.

                ", "smithy.api#required": {} } + }, + "currentRevisionId": { + "target": "com.amazonaws.robomaker#RevisionId", + "traits": { + "smithy.api#documentation": "

                The current revision id for the robot application. If you provide a value and it\n matches the latest revision ID, a new version will be created.

                " + } } } }, "com.amazonaws.robomaker#CreateRobotApplicationVersionResponse": { "type": "structure", "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

                The name of the robot application.

                " - } - }, "arn": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot application.

                " } }, + "name": { + "target": "com.amazonaws.robomaker#Name", + "traits": { + "smithy.api#documentation": "

                The name of the robot application.

                " + } + }, "version": { "target": "com.amazonaws.robomaker#Version", "traits": { "smithy.api#documentation": "

                The version of the robot application.

                " } }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", + "sources": { + "target": "com.amazonaws.robomaker#Sources", "traits": { - "smithy.api#documentation": "

                The revision id of the robot application.

                " + "smithy.api#documentation": "

                The sources of the robot application.

                " } }, "robotSoftwareSuite": { @@ -975,10 +975,10 @@ "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot application was last updated.

                " } }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", + "revisionId": { + "target": "com.amazonaws.robomaker#RevisionId", "traits": { - "smithy.api#documentation": "

                The sources of the robot application.

                " + "smithy.api#documentation": "

                The revision id of the robot application.

                " } } } @@ -986,10 +986,11 @@ "com.amazonaws.robomaker#CreateRobotRequest": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the robot.

                " + "smithy.api#documentation": "

                The name for the robot.

                ", + "smithy.api#required": {} } }, "architecture": { @@ -999,41 +1000,28 @@ "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

                The name for the robot.

                ", - "smithy.api#required": {} - } - }, "greengrassGroupId": { "target": "com.amazonaws.robomaker#Id", "traits": { "smithy.api#documentation": "

                The Greengrass group id.

                ", "smithy.api#required": {} } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the robot.

                " + } } } }, "com.amazonaws.robomaker#CreateRobotResponse": { "type": "structure", "members": { - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

                The list of all tags added to the robot.

                " - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot was created.

                " - } - }, - "architecture": { - "target": "com.amazonaws.robomaker#Architecture", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The target architecture of the robot.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                " } }, "name": { @@ -1042,10 +1030,10 @@ "smithy.api#documentation": "

                The name of the robot.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot was created.

                " } }, "greengrassGroupId": { @@ -1053,6 +1041,18 @@ "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the Greengrass group associated with the robot.

                " } + }, + "architecture": { + "target": "com.amazonaws.robomaker#Architecture", + "traits": { + "smithy.api#documentation": "

                The target architecture of the robot.

                " + } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                The list of all tags added to the robot.

                " + } } } }, @@ -1096,44 +1096,44 @@ "com.amazonaws.robomaker#CreateSimulationApplicationRequest": { "type": "structure", "members": { - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                The robot software suite (ROS distribution) used by the simulation application.

                ", + "smithy.api#documentation": "

                The name of the simulation application.

                ", "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "sources": { + "target": "com.amazonaws.robomaker#SourceConfigs", "traits": { - "smithy.api#documentation": "

                The name of the simulation application.

                ", + "smithy.api#documentation": "

                The sources of the simulation application.

                ", "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "simulationSoftwareSuite": { + "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the simulation application.

                " + "smithy.api#documentation": "

                The simulation software suite used by the simulation application.

                ", + "smithy.api#required": {} } }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " + "smithy.api#documentation": "

                The robot software suite (ROS distribution) used by the simulation application.

                ", + "smithy.api#required": {} } }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", + "renderingEngine": { + "target": "com.amazonaws.robomaker#RenderingEngine", "traits": { - "smithy.api#documentation": "

                The simulation software suite used by the simulation application.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " } }, - "sources": { - "target": "com.amazonaws.robomaker#SourceConfigs", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The sources of the simulation application.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the simulation application.

                " } } } @@ -1141,28 +1141,22 @@ "com.amazonaws.robomaker#CreateSimulationApplicationResponse": { "type": "structure", "members": { - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

                The revision id of the simulation application.

                " - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation application.

                " } }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " + "smithy.api#documentation": "

                The name of the simulation application.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "version": { + "target": "com.amazonaws.robomaker#Version", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation application was last updated.

                " + "smithy.api#documentation": "

                The version of the simulation application.

                " } }, "sources": { @@ -1171,34 +1165,40 @@ "smithy.api#documentation": "

                The sources of the simulation application.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

                The name of the simulation application.

                " - } - }, "simulationSoftwareSuite": { "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", "traits": { "smithy.api#documentation": "

                The simulation software suite used by the simulation application.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The list of all tags added to the simulation application.

                " + "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "renderingEngine": { + "target": "com.amazonaws.robomaker#RenderingEngine", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation application.

                " + "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " } }, - "version": { - "target": "com.amazonaws.robomaker#Version", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                The version of the simulation application.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation application was last updated.

                " + } + }, + "revisionId": { + "target": "com.amazonaws.robomaker#RevisionId", + "traits": { + "smithy.api#documentation": "

                The revision id of the simulation application.

                " + } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                The list of all tags added to the simulation application.

                " } } } @@ -1258,10 +1258,16 @@ "com.amazonaws.robomaker#CreateSimulationApplicationVersionResponse": { "type": "structure", "members": { - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The revision ID of the simulation application.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation application.

                " + } + }, + "name": { + "target": "com.amazonaws.robomaker#Name", + "traits": { + "smithy.api#documentation": "

                The name of the simulation application.

                " } }, "version": { @@ -1270,22 +1276,22 @@ "smithy.api#documentation": "

                The version of the simulation application.

                " } }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", + "sources": { + "target": "com.amazonaws.robomaker#Sources", "traits": { - "smithy.api#documentation": "

                The simulation software suite used by the simulation application.

                " + "smithy.api#documentation": "

                The sources of the simulation application.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "simulationSoftwareSuite": { + "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The name of the simulation application.

                " + "smithy.api#documentation": "

                The simulation software suite used by the simulation application.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation application was last updated.

                " + "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                " } }, "renderingEngine": { @@ -1294,22 +1300,16 @@ "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " } }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", - "traits": { - "smithy.api#documentation": "

                The sources of the simulation application.

                " - } - }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation application.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation application was last updated.

                " } }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "revisionId": { + "target": "com.amazonaws.robomaker#RevisionId", "traits": { - "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                " + "smithy.api#documentation": "

                The revision ID of the simulation application.

                " } } } @@ -1357,30 +1357,6 @@ "com.amazonaws.robomaker#CreateSimulationJobRequest": { "type": "structure", "members": { - "robotApplications": { - "target": "com.amazonaws.robomaker#RobotApplicationConfigs", - "traits": { - "smithy.api#documentation": "

                The robot application to use in the simulation job.

                " - } - }, - "dataSources": { - "target": "com.amazonaws.robomaker#DataSourceConfigs", - "traits": { - "smithy.api#documentation": "

                Specify data sources to mount read-only files from S3 into your simulation. These files are \n available under /opt/robomaker/datasources/data_source_name.\n

                \n \n

                There is a limit of 100 files and a combined size of 25GB for all\n DataSourceConfig objects. \n

                \n
                " - } - }, - "simulationApplications": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", - "traits": { - "smithy.api#documentation": "

                The simulation application to use in the simulation job.

                " - } - }, - "compute": { - "target": "com.amazonaws.robomaker#Compute", - "traits": { - "smithy.api#documentation": "

                Compute information for the simulation job.

                " - } - }, "clientRequestToken": { "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { @@ -1388,6 +1364,12 @@ "smithy.api#idempotencyToken": {} } }, + "outputLocation": { + "target": "com.amazonaws.robomaker#OutputLocation", + "traits": { + "smithy.api#documentation": "

                Location for output files generated by the simulation job.

                " + } + }, "loggingConfig": { "target": "com.amazonaws.robomaker#LoggingConfig", "traits": { @@ -1401,12 +1383,6 @@ "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the simulation job.

                " - } - }, "iamRole": { "target": "com.amazonaws.robomaker#IamRole", "traits": { @@ -1414,23 +1390,47 @@ "smithy.api#required": {} } }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", - "traits": { - "smithy.api#documentation": "

                Location for output files generated by the simulation job.

                " - } - }, "failureBehavior": { "target": "com.amazonaws.robomaker#FailureBehavior", "traits": { "smithy.api#documentation": "

                The failure behavior the simulation job.

                \n
                \n
                Continue
                \n
                \n

                Restart the simulation job in the same host instance.

                \n
                \n
                Fail
                \n
                \n

                Stop the simulation job and terminate the instance.

                \n
                \n
                " } }, + "robotApplications": { + "target": "com.amazonaws.robomaker#RobotApplicationConfigs", + "traits": { + "smithy.api#documentation": "

                The robot application to use in the simulation job.

                " + } + }, + "simulationApplications": { + "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", + "traits": { + "smithy.api#documentation": "

                The simulation application to use in the simulation job.

                " + } + }, + "dataSources": { + "target": "com.amazonaws.robomaker#DataSourceConfigs", + "traits": { + "smithy.api#documentation": "

                Specify data sources to mount read-only files from S3 into your simulation. These files are \n available under /opt/robomaker/datasources/data_source_name.\n

                \n \n

                There is a limit of 100 files and a combined size of 25GB for all\n DataSourceConfig objects. \n

                \n
                " + } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the simulation job.

                " + } + }, "vpcConfig": { "target": "com.amazonaws.robomaker#VPCConfig", "traits": { "smithy.api#documentation": "

                If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. \n These must belong to the same VPC. You must provide at least one security group and one subnet ID.

                " } + }, + "compute": { + "target": "com.amazonaws.robomaker#Compute", + "traits": { + "smithy.api#documentation": "

                Compute information for the simulation job.

                " + } } } }, @@ -1455,28 +1455,28 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation job.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "status": { + "target": "com.amazonaws.robomaker#SimulationJobStatus", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last updated.

                " + "smithy.api#documentation": "

                The status of the simulation job.

                " } }, - "simulationApplications": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", + "lastStartedAt": { + "target": "com.amazonaws.robomaker#LastStartedAt", "traits": { - "smithy.api#documentation": "

                The simulation application used by the simulation job.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last started.

                " } }, - "robotApplications": { - "target": "com.amazonaws.robomaker#RobotApplicationConfigs", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                The robot application used by the simulation job.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last updated.

                " } }, - "dataSources": { - "target": "com.amazonaws.robomaker#DataSources", + "failureBehavior": { + "target": "com.amazonaws.robomaker#FailureBehavior", "traits": { - "smithy.api#documentation": "

                The data sources for the simulation job.

                " + "smithy.api#documentation": "

                the failure behavior for the simulation job.

                " } }, "failureCode": { @@ -1485,16 +1485,28 @@ "smithy.api#documentation": "

                The failure code of the simulation job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                RobotApplicationCrash
                \n
                \n

                Robot application exited abnormally.

                \n
                \n
                SimulationApplicationCrash
                \n
                \n

                Simulation application exited abnormally.

                \n
                \n
                BadPermissionsRobotApplication
                \n
                \n

                Robot application bundle could not be downloaded.

                \n
                \n
                BadPermissionsSimulationApplication
                \n
                \n

                Simulation application bundle could not be downloaded.

                \n
                \n
                BadPermissionsS3Output
                \n
                \n

                Unable to publish outputs to customer-provided S3 bucket.

                \n
                \n
                BadPermissionsCloudwatchLogs
                \n
                \n

                Unable to publish logs to customer-provided CloudWatch Logs resource.

                \n
                \n
                SubnetIpLimitExceeded
                \n
                \n

                Subnet IP limit exceeded.

                \n
                \n
                ENILimitExceeded
                \n
                \n

                ENI limit exceeded.

                \n
                \n
                BadPermissionsUserCredentials
                \n
                \n

                Unable to use the Role provided.

                \n
                \n
                InvalidBundleRobotApplication
                \n
                \n

                Robot bundle cannot be extracted (invalid format, bundling error, or other issue).

                \n
                \n
                InvalidBundleSimulationApplication
                \n
                \n

                Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).

                \n
                \n
                RobotApplicationVersionMismatchedEtag
                \n
                \n

                Etag for RobotApplication does not match value during version creation.

                \n
                \n
                SimulationApplicationVersionMismatchedEtag
                \n
                \n

                Etag for SimulationApplication does not match value during version creation.

                \n
                \n
                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "clientRequestToken": { + "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                The list of all tags added to the simulation job.

                " + "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, - "failureBehavior": { - "target": "com.amazonaws.robomaker#FailureBehavior", + "outputLocation": { + "target": "com.amazonaws.robomaker#OutputLocation", "traits": { - "smithy.api#documentation": "

                the failure behavior for the simulation job.

                " + "smithy.api#documentation": "

                Simulation job output files location.

                " + } + }, + "loggingConfig": { + "target": "com.amazonaws.robomaker#LoggingConfig", + "traits": { + "smithy.api#documentation": "

                The logging configuration.

                " + } + }, + "maxJobDurationInSeconds": { + "target": "com.amazonaws.robomaker#JobDuration", + "traits": { + "smithy.api#documentation": "

                The maximum simulation job duration in seconds.\n

                " } }, "simulationTimeMillis": { @@ -1509,40 +1521,34 @@ "smithy.api#documentation": "

                The IAM role that allows the simulation job to call the AWS APIs that \n are specified in its associated policies on your behalf.

                " } }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", - "traits": { - "smithy.api#documentation": "

                Simulation job output files location.

                " - } - }, - "vpcConfig": { - "target": "com.amazonaws.robomaker#VPCConfigResponse", + "robotApplications": { + "target": "com.amazonaws.robomaker#RobotApplicationConfigs", "traits": { - "smithy.api#documentation": "

                Information about the vpc configuration.

                " + "smithy.api#documentation": "

                The robot application used by the simulation job.

                " } }, - "lastStartedAt": { - "target": "com.amazonaws.robomaker#LastStartedAt", + "simulationApplications": { + "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last started.

                " + "smithy.api#documentation": "

                The simulation application used by the simulation job.

                " } }, - "loggingConfig": { - "target": "com.amazonaws.robomaker#LoggingConfig", + "dataSources": { + "target": "com.amazonaws.robomaker#DataSources", "traits": { - "smithy.api#documentation": "

                The logging configuration.

                " + "smithy.api#documentation": "

                The data sources for the simulation job.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobStatus", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The status of the simulation job.

                " + "smithy.api#documentation": "

                The list of all tags added to the simulation job.

                " } }, - "maxJobDurationInSeconds": { - "target": "com.amazonaws.robomaker#JobDuration", + "vpcConfig": { + "target": "com.amazonaws.robomaker#VPCConfigResponse", "traits": { - "smithy.api#documentation": "

                The maximum simulation job duration in seconds.\n

                " + "smithy.api#documentation": "

                Information about the vpc configuration.

                " } }, "compute": { @@ -1550,12 +1556,6 @@ "traits": { "smithy.api#documentation": "

                Compute information for the simulation job.

                " } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " - } } } }, @@ -1599,16 +1599,11 @@ "com.amazonaws.robomaker#CreateWorldExportJobRequest": { "type": "structure", "members": { - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", - "traits": { - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "clientRequestToken": { + "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world export job.

                " + "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                ", + "smithy.api#idempotencyToken": {} } }, "worlds": { @@ -1618,6 +1613,12 @@ "smithy.api#required": {} } }, + "outputLocation": { + "target": "com.amazonaws.robomaker#OutputLocation", + "traits": { + "smithy.api#required": {} + } + }, "iamRole": { "target": "com.amazonaws.robomaker#IamRole", "traits": { @@ -1625,11 +1626,10 @@ "smithy.api#required": {} } }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                ", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world export job.

                " } } } @@ -1643,43 +1643,43 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world export job.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world export job.

                " - } - }, "status": { "target": "com.amazonaws.robomaker#WorldExportJobStatus", "traits": { "smithy.api#documentation": "

                The status of the world export job.

                \n
                \n
                Pending
                \n
                \n

                The world export job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world export job is running.

                \n
                \n
                Completed
                \n
                \n

                The world export job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world export job failed. See failureCode for more information.\n

                \n
                \n
                Canceled
                \n
                \n

                The world export job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world export job is being cancelled.

                \n
                \n
                " } }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

                The IAM role that the world export process uses to access the Amazon S3 bucket and\n put the export.\n

                " - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation" - }, "createdAt": { "target": "com.amazonaws.robomaker#CreatedAt", "traits": { "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world export job was created.

                " } }, + "failureCode": { + "target": "com.amazonaws.robomaker#WorldExportJobErrorCode", + "traits": { + "smithy.api#documentation": "

                The failure code of the world export job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                AllWorldGenerationFailed
                \n
                \n

                All of the worlds in the world generation job failed. This can happen if your \n worldCount is greater than 50 or less than 1. \n

                \n
                \n
                \n

                For more information about troubleshooting WorldForge, see \n Troubleshooting Simulation WorldForge.\n

                " + } + }, "clientRequestToken": { "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, - "failureCode": { - "target": "com.amazonaws.robomaker#WorldExportJobErrorCode", + "outputLocation": { + "target": "com.amazonaws.robomaker#OutputLocation" + }, + "iamRole": { + "target": "com.amazonaws.robomaker#IamRole", "traits": { - "smithy.api#documentation": "

                The failure code of the world export job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                " + "smithy.api#documentation": "

                The IAM role that the world export process uses to access the Amazon S3 bucket and\n put the export.\n

                " + } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world export job.

                " } } } @@ -1753,6 +1753,12 @@ "traits": { "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world generator job.

                " } + }, + "worldTags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the generated worlds.

                " + } } } }, @@ -1765,22 +1771,22 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world generator job.

                " } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "status": { + "target": "com.amazonaws.robomaker#WorldGenerationJobStatus", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world generator job was created.

                " + "smithy.api#documentation": "

                The status of the world generator job.

                \n
                \n
                Pending
                \n
                \n

                The world generator job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world generator job is running.

                \n
                \n
                Completed
                \n
                \n

                The world generator job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world generator job failed. See failureCode for more information.\n

                \n
                \n
                PartialFailed
                \n
                \n

                Some worlds did not generate.

                \n
                \n
                Canceled
                \n
                \n

                The world generator job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world generator job is being cancelled.

                \n
                \n
                " } }, - "template": { - "target": "com.amazonaws.robomaker#Arn", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world generator job was created.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#WorldGenerationJobStatus", + "failureCode": { + "target": "com.amazonaws.robomaker#WorldGenerationJobErrorCode", "traits": { - "smithy.api#documentation": "

                The status of the world generator job.

                \n
                \n
                Pending
                \n
                \n

                The world generator job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world generator job is running.

                \n
                \n
                Completed
                \n
                \n

                The world generator job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world generator job failed. See failureCode for more information.\n

                \n
                \n
                PartialFailed
                \n
                \n

                Some worlds did not generate.

                \n
                \n
                Canceled
                \n
                \n

                The world generator job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world generator job is being cancelled.

                \n
                \n
                " + "smithy.api#documentation": "

                The failure code of the world generator job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                " } }, "clientRequestToken": { @@ -1789,10 +1795,16 @@ "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, - "failureCode": { - "target": "com.amazonaws.robomaker#WorldGenerationJobErrorCode", + "template": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The failure code of the world generator job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                " + "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " + } + }, + "worldCount": { + "target": "com.amazonaws.robomaker#WorldCount", + "traits": { + "smithy.api#documentation": "

                Information about the world count.

                " } }, "tags": { @@ -1801,10 +1813,10 @@ "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world generator job.

                " } }, - "worldCount": { - "target": "com.amazonaws.robomaker#WorldCount", + "worldTags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                Information about the world count.

                " + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the generated worlds.

                " } } } @@ -1845,22 +1857,28 @@ "code": 200 } } - }, - "com.amazonaws.robomaker#CreateWorldTemplateRequest": { - "type": "structure", - "members": { - "templateBody": { - "target": "com.amazonaws.robomaker#Json", - "traits": { - "smithy.api#documentation": "

                The world template body.

                " - } - }, + }, + "com.amazonaws.robomaker#CreateWorldTemplateRequest": { + "type": "structure", + "members": { "clientRequestToken": { "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, + "name": { + "target": "com.amazonaws.robomaker#TemplateName", + "traits": { + "smithy.api#documentation": "

                The name of the world template.

                " + } + }, + "templateBody": { + "target": "com.amazonaws.robomaker#Json", + "traits": { + "smithy.api#documentation": "

                The world template body.

                " + } + }, "templateLocation": { "target": "com.amazonaws.robomaker#TemplateLocation", "traits": { @@ -1872,34 +1890,28 @@ "traits": { "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world template.

                " } - }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", - "traits": { - "smithy.api#documentation": "

                The name of the world template.

                " - } } } }, "com.amazonaws.robomaker#CreateWorldTemplateResponse": { "type": "structure", "members": { - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was created.

                " - } - }, "arn": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world template.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "clientRequestToken": { + "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world template.

                " + "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " + } + }, + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", + "traits": { + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was created.

                " } }, "name": { @@ -1908,10 +1920,10 @@ "smithy.api#documentation": "

                The name of the world template.

                " } }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world template.

                " } } } @@ -1922,10 +1934,10 @@ "com.amazonaws.robomaker#DataSource": { "type": "structure", "members": { - "s3Keys": { - "target": "com.amazonaws.robomaker#S3KeyOutputs", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                The list of S3 keys identifying the data source files.

                " + "smithy.api#documentation": "

                The name of the data source.

                " } }, "s3Bucket": { @@ -1934,10 +1946,10 @@ "smithy.api#documentation": "

                The S3 bucket where the data files are located.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "s3Keys": { + "target": "com.amazonaws.robomaker#S3KeyOutputs", "traits": { - "smithy.api#documentation": "

                The name of the data source.

                " + "smithy.api#documentation": "

                The list of S3 keys identifying the data source files.

                " } } }, @@ -1948,10 +1960,10 @@ "com.amazonaws.robomaker#DataSourceConfig": { "type": "structure", "members": { - "s3Keys": { - "target": "com.amazonaws.robomaker#S3Keys", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                The list of S3 keys identifying the data source files.

                ", + "smithy.api#documentation": "

                The name of the data source.

                ", "smithy.api#required": {} } }, @@ -1962,10 +1974,10 @@ "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "s3Keys": { + "target": "com.amazonaws.robomaker#S3Keys", "traits": { - "smithy.api#documentation": "

                The name of the data source.

                ", + "smithy.api#documentation": "

                The list of S3 keys identifying the data source files.

                ", "smithy.api#required": {} } } @@ -2167,18 +2179,18 @@ "com.amazonaws.robomaker#DeleteSimulationApplicationRequest": { "type": "structure", "members": { - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

                The version of the simulation application to delete.

                " - } - }, "application": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The application information for the simulation application to delete.

                ", "smithy.api#required": {} } + }, + "applicationVersion": { + "target": "com.amazonaws.robomaker#Version", + "traits": { + "smithy.api#documentation": "

                The version of the simulation application to delete.

                " + } } } }, @@ -2236,17 +2248,17 @@ "com.amazonaws.robomaker#DeploymentApplicationConfig": { "type": "structure", "members": { - "applicationVersion": { - "target": "com.amazonaws.robomaker#DeploymentVersion", + "application": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The version of the application.

                ", + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot application.

                ", "smithy.api#required": {} } }, - "application": { - "target": "com.amazonaws.robomaker#Arn", + "applicationVersion": { + "target": "com.amazonaws.robomaker#DeploymentVersion", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot application.

                ", + "smithy.api#documentation": "

                The version of the application.

                ", "smithy.api#required": {} } }, @@ -2277,12 +2289,6 @@ "com.amazonaws.robomaker#DeploymentConfig": { "type": "structure", "members": { - "downloadConditionFile": { - "target": "com.amazonaws.robomaker#S3Object", - "traits": { - "smithy.api#documentation": "

                The download condition file.

                " - } - }, "concurrentDeploymentPercentage": { "target": "com.amazonaws.robomaker#Percentage", "traits": { @@ -2300,6 +2306,12 @@ "traits": { "smithy.api#documentation": "

                The amount of time, in seconds, to wait for deployment to a single robot to complete. \n Choose a time between 1 minute and 7 days. The default is 5 hours.

                " } + }, + "downloadConditionFile": { + "target": "com.amazonaws.robomaker#S3Object", + "traits": { + "smithy.api#documentation": "

                The download condition file.

                " + } } }, "traits": { @@ -2309,10 +2321,10 @@ "com.amazonaws.robomaker#DeploymentJob": { "type": "structure", "members": { - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the deployment job was created.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the deployment job.

                " } }, "fleet": { @@ -2321,22 +2333,22 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " } }, - "deploymentConfig": { - "target": "com.amazonaws.robomaker#DeploymentConfig", + "status": { + "target": "com.amazonaws.robomaker#DeploymentStatus", "traits": { - "smithy.api#documentation": "

                The deployment configuration.

                " + "smithy.api#documentation": "

                The status of the deployment job.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "deploymentApplicationConfigs": { + "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the deployment job.

                " + "smithy.api#documentation": "

                The deployment application configuration.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#DeploymentStatus", + "deploymentConfig": { + "target": "com.amazonaws.robomaker#DeploymentConfig", "traits": { - "smithy.api#documentation": "

                The status of the deployment job.

                " + "smithy.api#documentation": "

                The deployment configuration.

                " } }, "failureReason": { @@ -2351,10 +2363,10 @@ "smithy.api#documentation": "

                The deployment job failure code.

                " } }, - "deploymentApplicationConfigs": { - "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The deployment application configuration.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the deployment job was created.

                " } } }, @@ -2471,16 +2483,23 @@ "smithy.api#required": {} } }, - "postLaunchFile": { + "preLaunchFile": { "target": "com.amazonaws.robomaker#Path", "traits": { - "smithy.api#documentation": "

                The deployment post-launch file. This file will be executed after the launch file.

                " + "smithy.api#documentation": "

                The deployment pre-launch file. This file will be executed prior to the launch file.

                " } }, - "preLaunchFile": { + "launchFile": { + "target": "com.amazonaws.robomaker#Command", + "traits": { + "smithy.api#documentation": "

                The launch file name.

                ", + "smithy.api#required": {} + } + }, + "postLaunchFile": { "target": "com.amazonaws.robomaker#Path", "traits": { - "smithy.api#documentation": "

                The deployment pre-launch file. This file will be executed prior to the launch file.

                " + "smithy.api#documentation": "

                The deployment post-launch file. This file will be executed after the launch file.

                " } }, "environmentVariables": { @@ -2488,13 +2507,6 @@ "traits": { "smithy.api#documentation": "

                An array of key/value pairs specifying environment variables for the robot application

                " } - }, - "launchFile": { - "target": "com.amazonaws.robomaker#Command", - "traits": { - "smithy.api#documentation": "

                The launch file name.

                ", - "smithy.api#required": {} - } } }, "traits": { @@ -2582,17 +2594,17 @@ "com.amazonaws.robomaker#DeregisterRobotRequest": { "type": "structure", "members": { - "robot": { + "fleet": { "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                ", + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                ", "smithy.api#required": {} } }, - "fleet": { + "robot": { "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                ", + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                ", "smithy.api#required": {} } } @@ -2661,64 +2673,64 @@ "com.amazonaws.robomaker#DescribeDeploymentJobResponse": { "type": "structure", "members": { - "robotDeploymentSummary": { - "target": "com.amazonaws.robomaker#RobotDeploymentSummary", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                A list of robot deployment summaries.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the deployment job.

                " } }, - "deploymentApplicationConfigs": { - "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", + "fleet": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The deployment application configuration.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " } }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", + "status": { + "target": "com.amazonaws.robomaker#DeploymentStatus", "traits": { - "smithy.api#documentation": "

                A short description of the reason why the deployment job failed.

                " + "smithy.api#documentation": "

                The status of the deployment job.

                " } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "deploymentConfig": { + "target": "com.amazonaws.robomaker#DeploymentConfig", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the deployment job was created.

                " + "smithy.api#documentation": "

                The deployment configuration.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "deploymentApplicationConfigs": { + "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", "traits": { - "smithy.api#documentation": "

                The list of all tags added to the specified deployment job.

                " + "smithy.api#documentation": "

                The deployment application configuration.

                " } }, - "failureCode": { - "target": "com.amazonaws.robomaker#DeploymentJobErrorCode", + "failureReason": { + "target": "com.amazonaws.robomaker#GenericString", "traits": { - "smithy.api#documentation": "

                The deployment job failure code.

                " + "smithy.api#documentation": "

                A short description of the reason why the deployment job failed.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#DeploymentStatus", + "failureCode": { + "target": "com.amazonaws.robomaker#DeploymentJobErrorCode", "traits": { - "smithy.api#documentation": "

                The status of the deployment job.

                " + "smithy.api#documentation": "

                The deployment job failure code.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the deployment job.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the deployment job was created.

                " } }, - "deploymentConfig": { - "target": "com.amazonaws.robomaker#DeploymentConfig", + "robotDeploymentSummary": { + "target": "com.amazonaws.robomaker#RobotDeploymentSummary", "traits": { - "smithy.api#documentation": "

                The deployment configuration.

                " + "smithy.api#documentation": "

                A list of robot deployment summaries.

                " } }, - "fleet": { - "target": "com.amazonaws.robomaker#Arn", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " + "smithy.api#documentation": "

                The list of all tags added to the specified deployment job.

                " } } } @@ -2775,10 +2787,10 @@ "smithy.api#documentation": "

                The name of the fleet.

                " } }, - "lastDeploymentTime": { - "target": "com.amazonaws.robomaker#CreatedAt", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The time of the last deployment.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " } }, "robots": { @@ -2787,34 +2799,34 @@ "smithy.api#documentation": "

                A list of robots.

                " } }, - "lastDeploymentJob": { - "target": "com.amazonaws.robomaker#Arn", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the last deployment job.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the fleet was created.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "lastDeploymentStatus": { + "target": "com.amazonaws.robomaker#DeploymentStatus", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " + "smithy.api#documentation": "

                The status of the last deployment.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "lastDeploymentJob": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The list of all tags added to the specified fleet.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the last deployment job.

                " } }, - "createdAt": { + "lastDeploymentTime": { "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the fleet was created.

                " + "smithy.api#documentation": "

                The time of the last deployment.

                " } }, - "lastDeploymentStatus": { - "target": "com.amazonaws.robomaker#DeploymentStatus", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The status of the last deployment.

                " + "smithy.api#documentation": "

                The list of all tags added to the specified fleet.

                " } } } @@ -2884,34 +2896,34 @@ "com.amazonaws.robomaker#DescribeRobotApplicationRequest": { "type": "structure", "members": { - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

                The version of the robot application to describe.

                " - } - }, "application": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot application.

                ", "smithy.api#required": {} } + }, + "applicationVersion": { + "target": "com.amazonaws.robomaker#Version", + "traits": { + "smithy.api#documentation": "

                The version of the robot application to describe.

                " + } } } }, "com.amazonaws.robomaker#DescribeRobotApplicationResponse": { "type": "structure", "members": { - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The robot software suite (ROS distribution) used by the robot application.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot application.

                " } }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                The revision id of the robot application.

                " + "smithy.api#documentation": "

                The name of the robot application.

                " } }, "version": { @@ -2920,22 +2932,22 @@ "smithy.api#documentation": "

                The version of the robot application.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "sources": { + "target": "com.amazonaws.robomaker#Sources", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot application.

                " + "smithy.api#documentation": "

                The sources of the robot application.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The name of the robot application.

                " + "smithy.api#documentation": "

                The robot software suite (ROS distribution) used by the robot application.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "revisionId": { + "target": "com.amazonaws.robomaker#RevisionId", "traits": { - "smithy.api#documentation": "

                The list of all tags added to the specified robot application.

                " + "smithy.api#documentation": "

                The revision id of the robot application.

                " } }, "lastUpdatedAt": { @@ -2944,10 +2956,10 @@ "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot application was last updated.

                " } }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The sources of the robot application.

                " + "smithy.api#documentation": "

                The list of all tags added to the specified robot application.

                " } } } @@ -2973,24 +2985,6 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                " } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot was created.

                " - } - }, - "greengrassGroupId": { - "target": "com.amazonaws.robomaker#Id", - "traits": { - "smithy.api#documentation": "

                The Greengrass group id.

                " - } - }, - "lastDeploymentJob": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the last deployment job.

                " - } - }, "name": { "target": "com.amazonaws.robomaker#Name", "traits": { @@ -3009,16 +3003,16 @@ "smithy.api#documentation": "

                The status of the fleet.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "greengrassGroupId": { + "target": "com.amazonaws.robomaker#Id", "traits": { - "smithy.api#documentation": "

                The list of all tags added to the specified robot.

                " + "smithy.api#documentation": "

                The Greengrass group id.

                " } }, - "lastDeploymentTime": { + "createdAt": { "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The time of the last deployment job.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot was created.

                " } }, "architecture": { @@ -3026,6 +3020,24 @@ "traits": { "smithy.api#documentation": "

                The target architecture of the robot application.

                " } + }, + "lastDeploymentJob": { + "target": "com.amazonaws.robomaker#Arn", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the last deployment job.

                " + } + }, + "lastDeploymentTime": { + "target": "com.amazonaws.robomaker#CreatedAt", + "traits": { + "smithy.api#documentation": "

                The time of the last deployment job.

                " + } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                The list of all tags added to the specified robot.

                " + } } } }, @@ -3063,46 +3075,46 @@ "com.amazonaws.robomaker#DescribeSimulationApplicationRequest": { "type": "structure", "members": { - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

                The version of the simulation application to describe.

                " - } - }, "application": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The application information for the simulation application.

                ", "smithy.api#required": {} } + }, + "applicationVersion": { + "target": "com.amazonaws.robomaker#Version", + "traits": { + "smithy.api#documentation": "

                The version of the simulation application to describe.

                " + } } } }, "com.amazonaws.robomaker#DescribeSimulationApplicationResponse": { "type": "structure", "members": { - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation application was last updated.

                " - } - }, "arn": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot simulation application.

                " } }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                The sources of the simulation application.

                " + "smithy.api#documentation": "

                The name of the simulation application.

                " } }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", + "version": { + "target": "com.amazonaws.robomaker#Version", "traits": { - "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " + "smithy.api#documentation": "

                The version of the simulation application.

                " + } + }, + "sources": { + "target": "com.amazonaws.robomaker#Sources", + "traits": { + "smithy.api#documentation": "

                The sources of the simulation application.

                " } }, "simulationSoftwareSuite": { @@ -3111,34 +3123,34 @@ "smithy.api#documentation": "

                The simulation software suite used by the simulation application.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The list of all tags added to the specified simulation application.

                " + "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                " } }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", + "renderingEngine": { + "target": "com.amazonaws.robomaker#RenderingEngine", "traits": { - "smithy.api#documentation": "

                The revision id of the simulation application.

                " + "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " } }, - "version": { - "target": "com.amazonaws.robomaker#Version", + "revisionId": { + "target": "com.amazonaws.robomaker#RevisionId", "traits": { - "smithy.api#documentation": "

                The version of the simulation application.

                " + "smithy.api#documentation": "

                The revision id of the simulation application.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                The name of the simulation application.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation application was last updated.

                " } }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                " + "smithy.api#documentation": "

                The list of all tags added to the specified simulation application.

                " } } } @@ -3217,40 +3229,34 @@ "com.amazonaws.robomaker#DescribeSimulationJobBatchResponse": { "type": "structure", "members": { - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

                The reason the simulation job batch failed.

                " - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the batch.

                " } }, - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobBatchErrorCode", + "status": { + "target": "com.amazonaws.robomaker#SimulationJobBatchStatus", "traits": { - "smithy.api#documentation": "

                The failure code of the simulation job batch.

                " + "smithy.api#documentation": "

                The status of the batch.

                \n
                \n
                Pending
                \n
                \n

                The simulation job batch request is pending.

                \n
                \n
                InProgress
                \n
                \n

                The simulation job batch is in progress.

                \n
                \n
                Failed
                \n
                \n

                The simulation job batch failed. One or more simulation job requests could not be completed\n due to an internal failure (like InternalServiceError). \n See failureCode and failureReason for more information.

                \n
                \n
                Completed
                \n
                \n

                The simulation batch job completed. A batch is complete when (1) there are \n no pending simulation job requests in the batch and none of the \n failed simulation job requests are due to InternalServiceError and (2)\n when all created simulation jobs have reached a terminal state (for example, \n Completed or Failed).\n

                \n
                \n
                Canceled
                \n
                \n

                The simulation batch job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The simulation batch job is being cancelled.

                \n
                \n
                Completing
                \n
                \n

                The simulation batch job is completing.

                \n
                \n
                TimingOut
                \n
                \n

                The simulation job batch is timing out.

                \n

                If a batch timing out, and there are pending requests that \n were failing due to an internal failure (like InternalServiceError), \n the batch status will be Failed. If there are no such failing request, \n the batch status will be TimedOut.\n

                \n
                \n
                TimedOut
                \n
                \n

                The simulation batch job timed out.

                \n
                \n
                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the simulation job batch.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job batch was last updated.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobBatchStatus", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The status of the batch.

                \n
                \n
                Pending
                \n
                \n

                The simulation job batch request is pending.

                \n
                \n
                InProgress
                \n
                \n

                The simulation job batch is in progress.

                \n
                \n
                Failed
                \n
                \n

                The simulation job batch failed. One or more simulation job requests could not be completed\n due to an internal failure (like InternalServiceError). \n See failureCode and failureReason for more information.

                \n
                \n
                Completed
                \n
                \n

                The simulation batch job completed. A batch is complete when (1) there are \n no pending simulation job requests in the batch and none of the \n failed simulation job requests are due to InternalServiceError and (2)\n when all created simulation jobs have reached a terminal state (for example, \n Completed or Failed).\n

                \n
                \n
                Canceled
                \n
                \n

                The simulation batch job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The simulation batch job is being cancelled.

                \n
                \n
                Completing
                \n
                \n

                The simulation batch job is completing.

                \n
                \n
                TimingOut
                \n
                \n

                The simulation job batch is timing out.

                \n

                If a batch timing out, and there are pending requests that \n were failing due to an internal failure (like InternalServiceError), \n the batch status will be Failed. If there are no such failing request, \n the batch status will be TimedOut.\n

                \n
                \n
                TimedOut
                \n
                \n

                The simulation batch job timed out.

                \n
                \n
                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job batch was created.

                " } }, - "failedRequests": { - "target": "com.amazonaws.robomaker#FailedCreateSimulationJobRequests", + "clientRequestToken": { + "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                A list of failed create simulation job requests. The request failed to \n be created into a simulation job. Failed requests do not \n have a simulation job ID.\n

                " + "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, "batchPolicy": { @@ -3259,16 +3265,22 @@ "smithy.api#documentation": "

                The batch policy.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "failureCode": { + "target": "com.amazonaws.robomaker#SimulationJobBatchErrorCode", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the batch.

                " + "smithy.api#documentation": "

                The failure code of the simulation job batch.

                " } }, - "createdRequests": { - "target": "com.amazonaws.robomaker#SimulationJobSummaries", + "failureReason": { + "target": "com.amazonaws.robomaker#GenericString", "traits": { - "smithy.api#documentation": "

                A list of created simulation job summaries.

                " + "smithy.api#documentation": "

                The reason the simulation job batch failed.

                " + } + }, + "failedRequests": { + "target": "com.amazonaws.robomaker#FailedCreateSimulationJobRequests", + "traits": { + "smithy.api#documentation": "

                A list of failed create simulation job requests. The request failed to \n be created into a simulation job. Failed requests do not \n have a simulation job ID.\n

                " } }, "pendingRequests": { @@ -3277,16 +3289,16 @@ "smithy.api#documentation": "

                A list of pending simulation job requests. These requests have\n not yet been created into simulation jobs.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "createdRequests": { + "target": "com.amazonaws.robomaker#SimulationJobSummaries", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job batch was last updated.

                " + "smithy.api#documentation": "

                A list of created simulation job summaries.

                " } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job batch was created.

                " + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the simulation job batch.

                " } } } @@ -3300,34 +3312,16 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation job to be described.

                ", "smithy.api#required": {} } - } - } - }, - "com.amazonaws.robomaker#DescribeSimulationJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation job.

                " - } - }, - "robotApplications": { - "target": "com.amazonaws.robomaker#RobotApplicationConfigs", - "traits": { - "smithy.api#documentation": "

                A list of robot applications.

                " - } - }, - "dataSources": { - "target": "com.amazonaws.robomaker#DataSources", - "traits": { - "smithy.api#documentation": "

                The data sources for the simulation job.

                " - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", + } + } + }, + "com.amazonaws.robomaker#DescribeSimulationJobResponse": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                Location for output files generated by the simulation job.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation job.

                " } }, "name": { @@ -3336,16 +3330,10 @@ "smithy.api#documentation": "

                The name of the simulation job.

                " } }, - "failureBehavior": { - "target": "com.amazonaws.robomaker#FailureBehavior", - "traits": { - "smithy.api#documentation": "

                The failure behavior for the simulation job.

                " - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", + "status": { + "target": "com.amazonaws.robomaker#SimulationJobStatus", "traits": { - "smithy.api#documentation": "

                Details about why the simulation job failed. For more information\n about troubleshooting, see Troubleshooting.

                " + "smithy.api#documentation": "

                The status of the simulation job.

                " } }, "lastStartedAt": { @@ -3354,16 +3342,16 @@ "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last started.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobStatus", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                The status of the simulation job.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last updated.

                " } }, - "simulationApplications": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", + "failureBehavior": { + "target": "com.amazonaws.robomaker#FailureBehavior", "traits": { - "smithy.api#documentation": "

                A list of simulation applications.

                " + "smithy.api#documentation": "

                The failure behavior for the simulation job.

                " } }, "failureCode": { @@ -3372,22 +3360,22 @@ "smithy.api#documentation": "

                The failure code of the simulation job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                RobotApplicationCrash
                \n
                \n

                Robot application exited abnormally.

                \n
                \n
                SimulationApplicationCrash
                \n
                \n

                Simulation application exited abnormally.

                \n
                \n
                BadPermissionsRobotApplication
                \n
                \n

                Robot application bundle could not be downloaded.

                \n
                \n
                BadPermissionsSimulationApplication
                \n
                \n

                Simulation application bundle could not be downloaded.

                \n
                \n
                BadPermissionsS3Output
                \n
                \n

                Unable to publish outputs to customer-provided S3 bucket.

                \n
                \n
                BadPermissionsCloudwatchLogs
                \n
                \n

                Unable to publish logs to customer-provided CloudWatch Logs resource.

                \n
                \n
                SubnetIpLimitExceeded
                \n
                \n

                Subnet IP limit exceeded.

                \n
                \n
                ENILimitExceeded
                \n
                \n

                ENI limit exceeded.

                \n
                \n
                BadPermissionsUserCredentials
                \n
                \n

                Unable to use the Role provided.

                \n
                \n
                InvalidBundleRobotApplication
                \n
                \n

                Robot bundle cannot be extracted (invalid format, bundling error, or other issue).

                \n
                \n
                InvalidBundleSimulationApplication
                \n
                \n

                Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).

                \n
                \n
                RobotApplicationVersionMismatchedEtag
                \n
                \n

                Etag for RobotApplication does not match value during version creation.

                \n
                \n
                SimulationApplicationVersionMismatchedEtag
                \n
                \n

                Etag for SimulationApplication does not match value during version creation.

                \n
                \n
                " } }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", + "failureReason": { + "target": "com.amazonaws.robomaker#GenericString", "traits": { - "smithy.api#documentation": "

                The IAM role that allows the simulation instance to call the AWS APIs that \n are specified in its associated policies on your behalf.

                " + "smithy.api#documentation": "

                Details about why the simulation job failed. For more information\n about troubleshooting, see Troubleshooting.

                " } }, - "simulationTimeMillis": { - "target": "com.amazonaws.robomaker#SimulationTimeMillis", + "clientRequestToken": { + "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                The simulation job execution duration in milliseconds.

                " + "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, - "vpcConfig": { - "target": "com.amazonaws.robomaker#VPCConfigResponse", + "outputLocation": { + "target": "com.amazonaws.robomaker#OutputLocation", "traits": { - "smithy.api#documentation": "

                The VPC configuration.

                " + "smithy.api#documentation": "

                Location for output files generated by the simulation job.

                " } }, "loggingConfig": { @@ -3396,28 +3384,40 @@ "smithy.api#documentation": "

                The logging configuration.

                " } }, - "networkInterface": { - "target": "com.amazonaws.robomaker#NetworkInterface", - "traits": { - "smithy.api#documentation": "

                The network interface information for the simulation job.

                " - } - }, "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { "smithy.api#documentation": "

                The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or less.

                " } }, - "compute": { - "target": "com.amazonaws.robomaker#ComputeResponse", + "simulationTimeMillis": { + "target": "com.amazonaws.robomaker#SimulationTimeMillis", "traits": { - "smithy.api#documentation": "

                Compute information for the simulation job.

                " + "smithy.api#documentation": "

                The simulation job execution duration in milliseconds.

                " } }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", + "iamRole": { + "target": "com.amazonaws.robomaker#IamRole", "traits": { - "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " + "smithy.api#documentation": "

                The IAM role that allows the simulation instance to call the AWS APIs that \n are specified in its associated policies on your behalf.

                " + } + }, + "robotApplications": { + "target": "com.amazonaws.robomaker#RobotApplicationConfigs", + "traits": { + "smithy.api#documentation": "

                A list of robot applications.

                " + } + }, + "simulationApplications": { + "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", + "traits": { + "smithy.api#documentation": "

                A list of simulation applications.

                " + } + }, + "dataSources": { + "target": "com.amazonaws.robomaker#DataSources", + "traits": { + "smithy.api#documentation": "

                The data sources for the simulation job.

                " } }, "tags": { @@ -3426,10 +3426,22 @@ "smithy.api#documentation": "

                The list of all tags added to the specified simulation job.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "vpcConfig": { + "target": "com.amazonaws.robomaker#VPCConfigResponse", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last updated.

                " + "smithy.api#documentation": "

                The VPC configuration.

                " + } + }, + "networkInterface": { + "target": "com.amazonaws.robomaker#NetworkInterface", + "traits": { + "smithy.api#documentation": "

                The network interface information for the simulation job.

                " + } + }, + "compute": { + "target": "com.amazonaws.robomaker#ComputeResponse", + "traits": { + "smithy.api#documentation": "

                Compute information for the simulation job.

                " } } } @@ -3511,10 +3523,10 @@ "com.amazonaws.robomaker#DescribeWorldExportJobResponse": { "type": "structure", "members": { - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world export job.

                " } }, "status": { @@ -3523,31 +3535,16 @@ "smithy.api#documentation": "

                The status of the world export job.

                \n
                \n
                Pending
                \n
                \n

                The world export job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world export job is running.

                \n
                \n
                Completed
                \n
                \n

                The world export job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world export job failed. See failureCode and failureReason\n for more information.\n

                \n
                \n
                Canceled
                \n
                \n

                The world export job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world export job is being cancelled.

                \n
                \n
                " } }, - "worlds": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

                A list of Amazon Resource Names (arns) that correspond to worlds to be exported.

                " - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation" - }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

                The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.

                " - } - }, "createdAt": { "target": "com.amazonaws.robomaker#CreatedAt", "traits": { "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world export job was created.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "failureCode": { + "target": "com.amazonaws.robomaker#WorldExportJobErrorCode", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world export job.

                " + "smithy.api#documentation": "

                The failure code of the world export job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                " } }, "failureReason": { @@ -3556,16 +3553,31 @@ "smithy.api#documentation": "

                The reason why the world export job failed.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "clientRequestToken": { + "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world export job.

                " + "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, - "failureCode": { - "target": "com.amazonaws.robomaker#WorldExportJobErrorCode", + "worlds": { + "target": "com.amazonaws.robomaker#Arns", "traits": { - "smithy.api#documentation": "

                The failure code of the world export job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                " + "smithy.api#documentation": "

                A list of Amazon Resource Names (arns) that correspond to worlds to be exported.

                " + } + }, + "outputLocation": { + "target": "com.amazonaws.robomaker#OutputLocation" + }, + "iamRole": { + "target": "com.amazonaws.robomaker#IamRole", + "traits": { + "smithy.api#documentation": "

                The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.

                " + } + }, + "tags": { + "target": "com.amazonaws.robomaker#TagMap", + "traits": { + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world export job.

                " } } } @@ -3616,46 +3628,52 @@ "com.amazonaws.robomaker#DescribeWorldGenerationJobResponse": { "type": "structure", "members": { - "failureCode": { - "target": "com.amazonaws.robomaker#WorldGenerationJobErrorCode", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The failure code of the world generation job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world generation job.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "status": { + "target": "com.amazonaws.robomaker#WorldGenerationJobStatus", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world generation job.

                " + "smithy.api#documentation": "

                The status of the world generation job:

                \n
                \n
                Pending
                \n
                \n

                The world generation job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world generation job is running.

                \n
                \n
                Completed
                \n
                \n

                The world generation job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world generation job failed. See failureCode for more information.\n

                \n
                \n
                PartialFailed
                \n
                \n

                Some worlds did not generate.

                \n
                \n
                Canceled
                \n
                \n

                The world generation job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world generation job is being cancelled.

                \n
                \n
                " } }, - "template": { - "target": "com.amazonaws.robomaker#Arn", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world generation job was created.

                " } }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", + "failureCode": { + "target": "com.amazonaws.robomaker#WorldGenerationJobErrorCode", "traits": { - "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " + "smithy.api#documentation": "

                The failure code of the world generation job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                " } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "failureReason": { + "target": "com.amazonaws.robomaker#GenericString", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world generation job was created.

                " + "smithy.api#documentation": "

                The reason why the world generation job failed.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#WorldGenerationJobStatus", + "clientRequestToken": { + "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                The status of the world generation job:

                \n
                \n
                Pending
                \n
                \n

                The world generation job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world generation job is running.

                \n
                \n
                Completed
                \n
                \n

                The world generation job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world generation job failed. See failureCode for more information.\n

                \n
                \n
                PartialFailed
                \n
                \n

                Some worlds did not generate.

                \n
                \n
                Canceled
                \n
                \n

                The world generation job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world generation job is being cancelled.

                \n
                \n
                " + "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, - "arn": { + "template": { "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world generation job.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " + } + }, + "worldCount": { + "target": "com.amazonaws.robomaker#WorldCount", + "traits": { + "smithy.api#documentation": "

                Information about the world count.

                " } }, "finishedWorldsSummary": { @@ -3664,16 +3682,16 @@ "smithy.api#documentation": "

                Summary information about finished worlds.

                " } }, - "worldCount": { - "target": "com.amazonaws.robomaker#WorldCount", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                Information about the world count.

                " + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world generation job.

                " } }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", + "worldTags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The reason why the world generation job failed.

                " + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the generated worlds.

                " } } } @@ -3699,10 +3717,10 @@ "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world.

                " } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "generationJob": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world was created.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world generation job that generated the world.

                " } }, "template": { @@ -3711,16 +3729,16 @@ "smithy.api#documentation": "

                The world template.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world was created.

                " } }, - "generationJob": { - "target": "com.amazonaws.robomaker#Arn", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world generation job that generated the world.

                " + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world.

                " } } } @@ -3771,10 +3789,10 @@ "com.amazonaws.robomaker#DescribeWorldTemplateResponse": { "type": "structure", "members": { - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was created.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world template.

                " } }, "clientRequestToken": { @@ -3783,28 +3801,28 @@ "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "name": { + "target": "com.amazonaws.robomaker#TemplateName", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world template.

                " + "smithy.api#documentation": "

                The name of the world template.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was last updated.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was created.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                The name of the world template.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was last updated.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world template.

                " + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the world template.

                " } } } @@ -3850,10 +3868,10 @@ "com.amazonaws.robomaker#FailedCreateSimulationJobRequest": { "type": "structure", "members": { - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobErrorCode", + "request": { + "target": "com.amazonaws.robomaker#SimulationJobRequest", "traits": { - "smithy.api#documentation": "

                The failure code.

                " + "smithy.api#documentation": "

                The simulation job request.

                " } }, "failureReason": { @@ -3862,10 +3880,10 @@ "smithy.api#documentation": "

                The failure reason of the simulation job request.

                " } }, - "request": { - "target": "com.amazonaws.robomaker#SimulationJobRequest", + "failureCode": { + "target": "com.amazonaws.robomaker#SimulationJobErrorCode", "traits": { - "smithy.api#documentation": "

                The simulation job request.

                " + "smithy.api#documentation": "

                The failure code.

                " } }, "failedAt": { @@ -3903,17 +3921,17 @@ "com.amazonaws.robomaker#FailureSummary": { "type": "structure", "members": { - "failures": { - "target": "com.amazonaws.robomaker#WorldFailures", - "traits": { - "smithy.api#documentation": "

                The worlds that failed.

                " - } - }, "totalFailureCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { "smithy.api#documentation": "

                The total number of failures.

                " } + }, + "failures": { + "target": "com.amazonaws.robomaker#WorldFailures", + "traits": { + "smithy.api#documentation": "

                The worlds that failed.

                " + } } }, "traits": { @@ -3923,17 +3941,17 @@ "com.amazonaws.robomaker#Filter": { "type": "structure", "members": { - "values": { - "target": "com.amazonaws.robomaker#FilterValues", - "traits": { - "smithy.api#documentation": "

                A list of values.

                " - } - }, "name": { "target": "com.amazonaws.robomaker#Name", "traits": { "smithy.api#documentation": "

                The name of the filter.

                " } + }, + "values": { + "target": "com.amazonaws.robomaker#FilterValues", + "traits": { + "smithy.api#documentation": "

                A list of values.

                " + } } }, "traits": { @@ -3973,17 +3991,17 @@ "smithy.api#documentation": "

                The total number of finished worlds.

                " } }, - "failureSummary": { - "target": "com.amazonaws.robomaker#FailureSummary", - "traits": { - "smithy.api#documentation": "

                Information about worlds that failed.

                " - } - }, "succeededWorlds": { "target": "com.amazonaws.robomaker#Arns", "traits": { "smithy.api#documentation": "

                A list of worlds that succeeded.

                " } + }, + "failureSummary": { + "target": "com.amazonaws.robomaker#FailureSummary", + "traits": { + "smithy.api#documentation": "

                Information about worlds that failed.

                " + } } }, "traits": { @@ -3993,28 +4011,28 @@ "com.amazonaws.robomaker#Fleet": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " + "smithy.api#documentation": "

                The name of the fleet.

                " } }, - "lastDeploymentStatus": { - "target": "com.amazonaws.robomaker#DeploymentStatus", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The status of the last fleet deployment.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " } }, - "lastDeploymentTime": { + "createdAt": { "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The time of the last deployment.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the fleet was created.

                " } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "lastDeploymentStatus": { + "target": "com.amazonaws.robomaker#DeploymentStatus", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the fleet was created.

                " + "smithy.api#documentation": "

                The status of the last fleet deployment.

                " } }, "lastDeploymentJob": { @@ -4023,10 +4041,10 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the last deployment job.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "lastDeploymentTime": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The name of the fleet.

                " + "smithy.api#documentation": "

                The time of the last deployment.

                " } } }, @@ -4102,16 +4120,16 @@ "com.amazonaws.robomaker#GetWorldTemplateBodyRequest": { "type": "structure", "members": { - "generationJob": { + "template": { "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world generator job.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " } }, - "template": { + "generationJob": { "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world generator job.

                " } } } @@ -4217,12 +4235,6 @@ "com.amazonaws.robomaker#LaunchConfig": { "type": "structure", "members": { - "streamUI": { - "target": "com.amazonaws.robomaker#Boolean", - "traits": { - "smithy.api#documentation": "

                Boolean indicating whether a streaming session will be configured for the application. If True,\n AWS RoboMaker will configure a connection so you can interact with your application as it is\n running in the simulation. You must configure and luanch the component. It must have a graphical\n user interface.\n

                " - } - }, "packageName": { "target": "com.amazonaws.robomaker#Command", "traits": { @@ -4230,10 +4242,11 @@ "smithy.api#required": {} } }, - "portForwardingConfig": { - "target": "com.amazonaws.robomaker#PortForwardingConfig", + "launchFile": { + "target": "com.amazonaws.robomaker#Command", "traits": { - "smithy.api#documentation": "

                The port forwarding configuration.

                " + "smithy.api#documentation": "

                The launch file name.

                ", + "smithy.api#required": {} } }, "environmentVariables": { @@ -4242,11 +4255,16 @@ "smithy.api#documentation": "

                The environment variables for the application launch.

                " } }, - "launchFile": { - "target": "com.amazonaws.robomaker#Command", + "portForwardingConfig": { + "target": "com.amazonaws.robomaker#PortForwardingConfig", "traits": { - "smithy.api#documentation": "

                The launch file name.

                ", - "smithy.api#required": {} + "smithy.api#documentation": "

                The port forwarding configuration.

                " + } + }, + "streamUI": { + "target": "com.amazonaws.robomaker#Boolean", + "traits": { + "smithy.api#documentation": "

                Boolean indicating whether a streaming session will be configured for the application. If True,\n AWS RoboMaker will configure a connection so you can interact with your application as it is\n running in the simulation. You must configure and luanch the component. It must have a graphical\n user interface.\n

                " } } }, @@ -4306,12 +4324,6 @@ "com.amazonaws.robomaker#ListDeploymentJobsRequest": { "type": "structure", "members": { - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

                When this parameter is used, ListDeploymentJobs only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListDeploymentJobs request with the returned \n nextToken value. \n This value can be between 1 and 200. If this parameter is not used, then ListDeploymentJobs\n returns up to 200 results and a nextToken value if applicable.

                " - } - }, "filters": { "target": "com.amazonaws.robomaker#Filters", "traits": { @@ -4323,23 +4335,29 @@ "traits": { "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListDeploymentJobs again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " } + }, + "maxResults": { + "target": "com.amazonaws.robomaker#MaxResults", + "traits": { + "smithy.api#documentation": "

                When this parameter is used, ListDeploymentJobs only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListDeploymentJobs request with the returned \n nextToken value. \n This value can be between 1 and 200. If this parameter is not used, then ListDeploymentJobs\n returns up to 200 results and a nextToken value if applicable.

                " + } } } }, "com.amazonaws.robomaker#ListDeploymentJobsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListDeploymentJobs again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " - } - }, "deploymentJobs": { "target": "com.amazonaws.robomaker#DeploymentJobs", "traits": { "smithy.api#documentation": "

                A list of deployment jobs that meet the criteria of the request.

                " } + }, + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", + "traits": { + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListDeploymentJobs again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + } } } }, @@ -4455,16 +4473,16 @@ "com.amazonaws.robomaker#ListRobotApplicationsRequest": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", + "versionQualifier": { + "target": "com.amazonaws.robomaker#VersionQualifier", "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListRobotApplications again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + "smithy.api#documentation": "

                The version qualifier of the robot application.

                " } }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", "traits": { - "smithy.api#documentation": "

                Optional filters to limit results.

                \n

                The filter name name is supported.\n When filtering, you must use the complete value of the filtered item. You can use up to three filters.

                " + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListRobotApplications again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " } }, "maxResults": { @@ -4473,10 +4491,10 @@ "smithy.api#documentation": "

                When this parameter is used, ListRobotApplications only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListRobotApplications request with the returned \n nextToken value. \n This value can be between 1 and 100. If this parameter is not used, then ListRobotApplications\n returns up to 100 results and a nextToken value if applicable.

                " } }, - "versionQualifier": { - "target": "com.amazonaws.robomaker#VersionQualifier", + "filters": { + "target": "com.amazonaws.robomaker#Filters", "traits": { - "smithy.api#documentation": "

                The version qualifier of the robot application.

                " + "smithy.api#documentation": "

                Optional filters to limit results.

                \n

                The filter name name is supported.\n When filtering, you must use the complete value of the filtered item. You can use up to three filters.

                " } } } @@ -4484,17 +4502,17 @@ "com.amazonaws.robomaker#ListRobotApplicationsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListRobotApplications again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " - } - }, "robotApplicationSummaries": { "target": "com.amazonaws.robomaker#RobotApplicationSummaries", "traits": { "smithy.api#documentation": "

                A list of robot application summaries that meet the criteria of the request.

                " } + }, + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", + "traits": { + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListRobotApplications again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + } } } }, @@ -4537,18 +4555,18 @@ "com.amazonaws.robomaker#ListRobotsRequest": { "type": "structure", "members": { - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

                When this parameter is used, ListRobots only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListRobots request with the returned \n nextToken value. \n This value can be between 1 and 200. If this parameter is not used, then ListRobots\n returns up to 200 results and a nextToken value if applicable.

                " - } - }, "nextToken": { "target": "com.amazonaws.robomaker#PaginationToken", "traits": { "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListRobots again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " } }, + "maxResults": { + "target": "com.amazonaws.robomaker#MaxResults", + "traits": { + "smithy.api#documentation": "

                When this parameter is used, ListRobots only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListRobots request with the returned \n nextToken value. \n This value can be between 1 and 200. If this parameter is not used, then ListRobots\n returns up to 200 results and a nextToken value if applicable.

                " + } + }, "filters": { "target": "com.amazonaws.robomaker#Filters", "traits": { @@ -4560,17 +4578,17 @@ "com.amazonaws.robomaker#ListRobotsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListRobots again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " - } - }, "robots": { "target": "com.amazonaws.robomaker#Robots", "traits": { "smithy.api#documentation": "

                A list of robots that meet the criteria of the request.

                " } + }, + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", + "traits": { + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListRobots again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + } } } }, @@ -4610,12 +4628,6 @@ "com.amazonaws.robomaker#ListSimulationApplicationsRequest": { "type": "structure", "members": { - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

                Optional list of filters to limit results.

                \n

                The filter name name is supported. When filtering, you must use the complete \n value of the filtered item. You can use up to three filters.

                " - } - }, "versionQualifier": { "target": "com.amazonaws.robomaker#VersionQualifier", "traits": { @@ -4633,23 +4645,29 @@ "traits": { "smithy.api#documentation": "

                When this parameter is used, ListSimulationApplications only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListSimulationApplications request with the returned \n nextToken value. \n This value can be between 1 and 100. If this parameter is not used, then ListSimulationApplications\n returns up to 100 results and a nextToken value if applicable.

                " } + }, + "filters": { + "target": "com.amazonaws.robomaker#Filters", + "traits": { + "smithy.api#documentation": "

                Optional list of filters to limit results.

                \n

                The filter name name is supported. When filtering, you must use the complete \n value of the filtered item. You can use up to three filters.

                " + } } } }, "com.amazonaws.robomaker#ListSimulationApplicationsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListSimulationApplications again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " - } - }, "simulationApplicationSummaries": { "target": "com.amazonaws.robomaker#SimulationApplicationSummaries", "traits": { "smithy.api#documentation": "

                A list of simulation application summaries that meet the criteria of the request.

                " } + }, + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", + "traits": { + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListSimulationApplications again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + } } } }, @@ -4692,34 +4710,34 @@ "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListSimulationJobBatches again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " } }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

                Optional filters to limit results.

                " - } - }, "maxResults": { "target": "com.amazonaws.robomaker#MaxResults", "traits": { "smithy.api#documentation": "

                When this parameter is used, ListSimulationJobBatches only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListSimulationJobBatches request with the returned \n nextToken value. \n

                " } + }, + "filters": { + "target": "com.amazonaws.robomaker#Filters", + "traits": { + "smithy.api#documentation": "

                Optional filters to limit results.

                " + } } } }, "com.amazonaws.robomaker#ListSimulationJobBatchesResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListSimulationJobBatches again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " - } - }, "simulationJobBatchSummaries": { "target": "com.amazonaws.robomaker#SimulationJobBatchSummaries", "traits": { "smithy.api#documentation": "

                A list of simulation job batch summaries.

                " } + }, + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", + "traits": { + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListSimulationJobBatches again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + } } } }, @@ -4759,10 +4777,10 @@ "com.amazonaws.robomaker#ListSimulationJobsRequest": { "type": "structure", "members": { - "filters": { - "target": "com.amazonaws.robomaker#Filters", + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", "traits": { - "smithy.api#documentation": "

                Optional filters to limit results.

                \n

                The filter names status and simulationApplicationName \n and robotApplicationName are supported.\n When filtering, you must use the complete value of the filtered item. You can use up to three filters,\n but they must be for the same named item. For example, if you are looking for items with the status\n Preparing or the status Running.

                " + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListSimulationJobs again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " } }, "maxResults": { @@ -4771,10 +4789,10 @@ "smithy.api#documentation": "

                When this parameter is used, ListSimulationJobs only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListSimulationJobs request with the returned \n nextToken value. \n This value can be between 1 and 1000. If this parameter is not used, then ListSimulationJobs\n returns up to 1000 results and a nextToken value if applicable.

                " } }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", + "filters": { + "target": "com.amazonaws.robomaker#Filters", "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListSimulationJobs again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + "smithy.api#documentation": "

                Optional filters to limit results.

                \n

                The filter names status and simulationApplicationName \n and robotApplicationName are supported.\n When filtering, you must use the complete value of the filtered item. You can use up to three filters,\n but they must be for the same named item. For example, if you are looking for items with the status\n Preparing or the status Running.

                " } } } @@ -4888,12 +4906,6 @@ "com.amazonaws.robomaker#ListWorldExportJobsRequest": { "type": "structure", "members": { - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

                Optional filters to limit results. You can use generationJobId and templateId.

                " - } - }, "nextToken": { "target": "com.amazonaws.robomaker#PaginationToken", "traits": { @@ -4905,24 +4917,30 @@ "traits": { "smithy.api#documentation": "

                When this parameter is used, ListWorldExportJobs only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListWorldExportJobs request with the returned \n nextToken value. \n This value can be between 1 and 100. If this parameter is not used, then ListWorldExportJobs\n returns up to 100 results and a nextToken value if applicable. \n

                " } + }, + "filters": { + "target": "com.amazonaws.robomaker#Filters", + "traits": { + "smithy.api#documentation": "

                Optional filters to limit results. You can use generationJobId and templateId.

                " + } } } }, "com.amazonaws.robomaker#ListWorldExportJobsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListWorldExportJobsRequest again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " - } - }, "worldExportJobSummaries": { "target": "com.amazonaws.robomaker#WorldExportJobSummaries", "traits": { "smithy.api#documentation": "

                Summary information for world export jobs.

                ", "smithy.api#required": {} } + }, + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", + "traits": { + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListWorldExportJobsRequest again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + } } } }, @@ -4962,6 +4980,12 @@ "com.amazonaws.robomaker#ListWorldGenerationJobsRequest": { "type": "structure", "members": { + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", + "traits": { + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListWorldGenerationJobsRequest again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + } + }, "maxResults": { "target": "com.amazonaws.robomaker#MaxResults", "traits": { @@ -4973,30 +4997,24 @@ "traits": { "smithy.api#documentation": "

                Optional filters to limit results. You can use status and templateId.

                " } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListWorldGenerationJobsRequest again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " - } } } }, "com.amazonaws.robomaker#ListWorldGenerationJobsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListWorldGeneratorJobsRequest again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " - } - }, "worldGenerationJobSummaries": { "target": "com.amazonaws.robomaker#WorldGenerationJobSummaries", "traits": { "smithy.api#documentation": "

                Summary information for world generator jobs.

                ", "smithy.api#required": {} } + }, + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", + "traits": { + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListWorldGeneratorJobsRequest again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + } } } }, @@ -5103,18 +5121,18 @@ "com.amazonaws.robomaker#ListWorldsRequest": { "type": "structure", "members": { - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

                When this parameter is used, ListWorlds only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListWorlds request with the returned \n nextToken value. \n This value can be between 1 and 100. If this parameter is not used, then ListWorlds\n returns up to 100 results and a nextToken value if applicable. \n

                " - } - }, "nextToken": { "target": "com.amazonaws.robomaker#PaginationToken", "traits": { "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListWorlds again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " } }, + "maxResults": { + "target": "com.amazonaws.robomaker#MaxResults", + "traits": { + "smithy.api#documentation": "

                When this parameter is used, ListWorlds only returns \n maxResults results in a single page along with a nextToken response \n element. The remaining results of the initial request \n can be seen by sending another ListWorlds request with the returned \n nextToken value. \n This value can be between 1 and 100. If this parameter is not used, then ListWorlds\n returns up to 100 results and a nextToken value if applicable. \n

                " + } + }, "filters": { "target": "com.amazonaws.robomaker#Filters", "traits": { @@ -5126,17 +5144,17 @@ "com.amazonaws.robomaker#ListWorldsResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListWorlds again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " - } - }, "worldSummaries": { "target": "com.amazonaws.robomaker#WorldSummaries", "traits": { "smithy.api#documentation": "

                Summary information for worlds.

                " } + }, + "nextToken": { + "target": "com.amazonaws.robomaker#PaginationToken", + "traits": { + "smithy.api#documentation": "

                If the previous paginated request did not return all of the remaining results, \n the response object's nextToken parameter value is set to a token. To retrieve \n the next set of results, call ListWorlds again and assign that token \n to the request object's nextToken parameter. If there are no remaining results, \n the previous response object's NextToken parameter is set to null. \n

                " + } } } }, @@ -5180,12 +5198,6 @@ "com.amazonaws.robomaker#NetworkInterface": { "type": "structure", "members": { - "publicIpAddress": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

                The IPv4 public address of the network interface.

                " - } - }, "networkInterfaceId": { "target": "com.amazonaws.robomaker#GenericString", "traits": { @@ -5197,6 +5209,12 @@ "traits": { "smithy.api#documentation": "

                The IPv4 address of the network interface within the subnet.

                " } + }, + "publicIpAddress": { + "target": "com.amazonaws.robomaker#GenericString", + "traits": { + "smithy.api#documentation": "

                The IPv4 public address of the network interface.

                " + } } }, "traits": { @@ -5308,6 +5326,13 @@ "com.amazonaws.robomaker#PortMapping": { "type": "structure", "members": { + "jobPort": { + "target": "com.amazonaws.robomaker#Port", + "traits": { + "smithy.api#documentation": "

                The port number on the simulation job instance to use as a remote connection point.

                ", + "smithy.api#required": {} + } + }, "applicationPort": { "target": "com.amazonaws.robomaker#NonSystemPort", "traits": { @@ -5320,13 +5345,6 @@ "traits": { "smithy.api#documentation": "

                A Boolean indicating whether to enable this port mapping on public IP.

                " } - }, - "jobPort": { - "target": "com.amazonaws.robomaker#Port", - "traits": { - "smithy.api#documentation": "

                The port number on the simulation job instance to use as a remote connection point.

                ", - "smithy.api#required": {} - } } }, "traits": { @@ -5354,6 +5372,12 @@ "smithy.api#documentation": "

                The current progress status.

                \n
                \n
                Validating
                \n
                \n

                Validating the deployment.

                \n
                \n
                DownloadingExtracting
                \n
                \n

                Downloading and extracting the bundle on the robot.

                \n
                \n
                ExecutingPreLaunch
                \n
                \n

                Executing pre-launch script(s) if provided.

                \n
                \n
                Launching
                \n
                \n

                Launching the robot application.

                \n
                \n
                ExecutingPostLaunch
                \n
                \n

                Executing post-launch script(s) if provided.

                \n
                \n
                Finished
                \n
                \n

                Deployment is complete.

                \n
                \n
                " } }, + "percentDone": { + "target": "com.amazonaws.robomaker#PercentDone", + "traits": { + "smithy.api#documentation": "

                Precentage of the step that is done. This currently only applies to the Downloading/Extracting \n step of the deployment. It is empty for other steps.

                " + } + }, "estimatedTimeRemainingSeconds": { "target": "com.amazonaws.robomaker#GenericInteger", "traits": { @@ -5365,12 +5389,6 @@ "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the deployment job.

                " } - }, - "percentDone": { - "target": "com.amazonaws.robomaker#PercentDone", - "traits": { - "smithy.api#documentation": "

                Precentage of the step that is done. This currently only applies to the Downloading/Extracting \n step of the deployment. It is empty for other steps.

                " - } } }, "traits": { @@ -5414,17 +5432,17 @@ "com.amazonaws.robomaker#RegisterRobotRequest": { "type": "structure", "members": { - "robot": { + "fleet": { "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                ", + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                ", "smithy.api#required": {} } }, - "fleet": { + "robot": { "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                ", + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                ", "smithy.api#required": {} } } @@ -5450,17 +5468,17 @@ "com.amazonaws.robomaker#RenderingEngine": { "type": "structure", "members": { - "version": { - "target": "com.amazonaws.robomaker#RenderingEngineVersionType", - "traits": { - "smithy.api#documentation": "

                The version of the rendering engine.

                " - } - }, "name": { "target": "com.amazonaws.robomaker#RenderingEngineType", "traits": { "smithy.api#documentation": "

                The name of the rendering engine.

                " } + }, + "version": { + "target": "com.amazonaws.robomaker#RenderingEngineVersionType", + "traits": { + "smithy.api#documentation": "

                The version of the rendering engine.

                " + } } }, "traits": { @@ -5577,58 +5595,58 @@ "com.amazonaws.robomaker#Robot": { "type": "structure", "members": { - "greenGrassGroupId": { - "target": "com.amazonaws.robomaker#Id", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Greengrass group associated with the robot.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                " } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot was created.

                " + "smithy.api#documentation": "

                The name of the robot.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#RobotStatus", + "fleetArn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The status of the robot.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "status": { + "target": "com.amazonaws.robomaker#RobotStatus", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                " + "smithy.api#documentation": "

                The status of the robot.

                " } }, - "lastDeploymentJob": { - "target": "com.amazonaws.robomaker#Arn", + "greenGrassGroupId": { + "target": "com.amazonaws.robomaker#Id", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the last deployment job.

                " + "smithy.api#documentation": "

                The Greengrass group associated with the robot.

                " } }, - "lastDeploymentTime": { + "createdAt": { "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The time of the last deployment.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot was created.

                " } }, - "fleetArn": { - "target": "com.amazonaws.robomaker#Arn", + "architecture": { + "target": "com.amazonaws.robomaker#Architecture", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " + "smithy.api#documentation": "

                The architecture of the robot.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "lastDeploymentJob": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The name of the robot.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the last deployment job.

                " } }, - "architecture": { - "target": "com.amazonaws.robomaker#Architecture", + "lastDeploymentTime": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The architecture of the robot.

                " + "smithy.api#documentation": "

                The time of the last deployment.

                " } } }, @@ -5646,18 +5664,18 @@ "smithy.api#required": {} } }, + "applicationVersion": { + "target": "com.amazonaws.robomaker#Version", + "traits": { + "smithy.api#documentation": "

                The version of the robot application.

                " + } + }, "launchConfig": { "target": "com.amazonaws.robomaker#LaunchConfig", "traits": { "smithy.api#documentation": "

                The launch configuration for the robot application.

                ", "smithy.api#required": {} } - }, - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

                The version of the robot application.

                " - } } }, "traits": { @@ -5697,22 +5715,22 @@ "com.amazonaws.robomaker#RobotApplicationSummary": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                " + "smithy.api#documentation": "

                The name of the robot application.

                " } }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                Information about a robot software suite (ROS distribution).

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the robot.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "version": { + "target": "com.amazonaws.robomaker#Version", "traits": { - "smithy.api#documentation": "

                The name of the robot application.

                " + "smithy.api#documentation": "

                The version of the robot application.

                " } }, "lastUpdatedAt": { @@ -5721,10 +5739,10 @@ "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot application was last updated.

                " } }, - "version": { - "target": "com.amazonaws.robomaker#Version", + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The version of the robot application.

                " + "smithy.api#documentation": "

                Information about a robot software suite (ROS distribution).

                " } } }, @@ -5735,10 +5753,10 @@ "com.amazonaws.robomaker#RobotDeployment": { "type": "structure", "members": { - "progressDetail": { - "target": "com.amazonaws.robomaker#ProgressDetail", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                Information about how the deployment is progressing.

                " + "smithy.api#documentation": "

                The robot deployment Amazon Resource Name (ARN).

                " } }, "deploymentStartTime": { @@ -5759,16 +5777,16 @@ "smithy.api#documentation": "

                The status of the robot deployment.

                " } }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", + "progressDetail": { + "target": "com.amazonaws.robomaker#ProgressDetail", "traits": { - "smithy.api#documentation": "

                A short description of the reason why the robot deployment failed.

                " + "smithy.api#documentation": "

                Information about how the deployment is progressing.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "failureReason": { + "target": "com.amazonaws.robomaker#GenericString", "traits": { - "smithy.api#documentation": "

                The robot deployment Amazon Resource Name (ARN).

                " + "smithy.api#documentation": "

                A short description of the reason why the robot deployment failed.

                " } }, "failureCode": { @@ -5826,17 +5844,17 @@ "com.amazonaws.robomaker#RobotSoftwareSuite": { "type": "structure", "members": { - "version": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuiteVersionType", - "traits": { - "smithy.api#documentation": "

                The version of the robot software suite (ROS distribution).

                " - } - }, "name": { "target": "com.amazonaws.robomaker#RobotSoftwareSuiteType", "traits": { "smithy.api#documentation": "

                The name of the robot software suite (ROS distribution).

                " } + }, + "version": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuiteVersionType", + "traits": { + "smithy.api#documentation": "

                The version of the robot software suite (ROS distribution).

                " + } } }, "traits": { @@ -5950,16 +5968,16 @@ "com.amazonaws.robomaker#S3KeyOutput": { "type": "structure", "members": { - "etag": { - "target": "com.amazonaws.robomaker#S3Etag", + "s3Key": { + "target": "com.amazonaws.robomaker#S3Key", "traits": { - "smithy.api#documentation": "

                The etag for the object.

                " + "smithy.api#documentation": "

                The S3 key.

                " } }, - "s3Key": { - "target": "com.amazonaws.robomaker#S3Key", + "etag": { + "target": "com.amazonaws.robomaker#S3Etag", "traits": { - "smithy.api#documentation": "

                The S3 key.

                " + "smithy.api#documentation": "

                The etag for the object.

                " } } }, @@ -6041,13 +6059,6 @@ "com.amazonaws.robomaker#SimulationApplicationConfig": { "type": "structure", "members": { - "launchConfig": { - "target": "com.amazonaws.robomaker#LaunchConfig", - "traits": { - "smithy.api#documentation": "

                The launch configuration for the simulation application.

                ", - "smithy.api#required": {} - } - }, "application": { "target": "com.amazonaws.robomaker#Arn", "traits": { @@ -6061,6 +6072,13 @@ "smithy.api#documentation": "

                The version of the simulation application.

                " } }, + "launchConfig": { + "target": "com.amazonaws.robomaker#LaunchConfig", + "traits": { + "smithy.api#documentation": "

                The launch configuration for the simulation application.

                ", + "smithy.api#required": {} + } + }, "worldConfigs": { "target": "com.amazonaws.robomaker#WorldConfigs", "traits": { @@ -6105,16 +6123,10 @@ "com.amazonaws.robomaker#SimulationApplicationSummary": { "type": "structure", "members": { - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

                The version of the simulation application.

                " - } - }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                Information about a simulation software suite.

                " + "smithy.api#documentation": "

                The name of the simulation application.

                " } }, "arn": { @@ -6123,6 +6135,12 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation application.

                " } }, + "version": { + "target": "com.amazonaws.robomaker#Version", + "traits": { + "smithy.api#documentation": "

                The version of the simulation application.

                " + } + }, "lastUpdatedAt": { "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { @@ -6135,10 +6153,10 @@ "smithy.api#documentation": "

                Information about a robot software suite (ROS distribution).

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "simulationSoftwareSuite": { + "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The name of the simulation application.

                " + "smithy.api#documentation": "

                Information about a simulation software suite.

                " } } }, @@ -6149,22 +6167,16 @@ "com.amazonaws.robomaker#SimulationJob": { "type": "structure", "members": { - "loggingConfig": { - "target": "com.amazonaws.robomaker#LoggingConfig", - "traits": { - "smithy.api#documentation": "

                The logging configuration.

                " - } - }, - "maxJobDurationInSeconds": { - "target": "com.amazonaws.robomaker#JobDuration", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation job.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the simulation job.

                " + "smithy.api#documentation": "

                The name of the simulation job.

                " } }, "status": { @@ -6173,70 +6185,70 @@ "smithy.api#documentation": "

                Status of the simulation job.

                " } }, - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobErrorCode", + "lastStartedAt": { + "target": "com.amazonaws.robomaker#LastStartedAt", "traits": { - "smithy.api#documentation": "

                The failure code of the simulation job if it failed.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last started.

                " } }, - "compute": { - "target": "com.amazonaws.robomaker#ComputeResponse", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                Compute information for the simulation job

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last updated.

                " } }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", + "failureBehavior": { + "target": "com.amazonaws.robomaker#FailureBehavior", "traits": { - "smithy.api#documentation": "

                Location for output files generated by the simulation job.

                " + "smithy.api#documentation": "

                The failure behavior the simulation job.

                \n
                \n
                Continue
                \n
                \n

                Restart the simulation job in the same host instance.

                \n
                \n
                Fail
                \n
                \n

                Stop the simulation job and terminate the instance.

                \n
                \n
                " } }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", + "failureCode": { + "target": "com.amazonaws.robomaker#SimulationJobErrorCode", "traits": { - "smithy.api#documentation": "

                The IAM role that allows the simulation instance to call the AWS APIs that \n are specified in its associated policies on your behalf. This is how credentials are passed in to your \n simulation job.\n

                " + "smithy.api#documentation": "

                The failure code of the simulation job if it failed.

                " } }, - "simulationTimeMillis": { - "target": "com.amazonaws.robomaker#SimulationTimeMillis", + "failureReason": { + "target": "com.amazonaws.robomaker#GenericString", "traits": { - "smithy.api#documentation": "

                The simulation job execution duration in milliseconds.

                " + "smithy.api#documentation": "

                The reason why the simulation job failed.

                " } }, - "vpcConfig": { - "target": "com.amazonaws.robomaker#VPCConfigResponse", + "clientRequestToken": { + "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                VPC configuration information.

                " + "smithy.api#documentation": "

                A unique identifier for this SimulationJob request.

                " } }, - "networkInterface": { - "target": "com.amazonaws.robomaker#NetworkInterface", + "outputLocation": { + "target": "com.amazonaws.robomaker#OutputLocation", "traits": { - "smithy.api#documentation": "

                Information about a network interface.

                " + "smithy.api#documentation": "

                Location for output files generated by the simulation job.

                " } }, - "failureBehavior": { - "target": "com.amazonaws.robomaker#FailureBehavior", + "loggingConfig": { + "target": "com.amazonaws.robomaker#LoggingConfig", "traits": { - "smithy.api#documentation": "

                The failure behavior the simulation job.

                \n
                \n
                Continue
                \n
                \n

                Restart the simulation job in the same host instance.

                \n
                \n
                Fail
                \n
                \n

                Stop the simulation job and terminate the instance.

                \n
                \n
                " + "smithy.api#documentation": "

                The logging configuration.

                " } }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", + "maxJobDurationInSeconds": { + "target": "com.amazonaws.robomaker#JobDuration", "traits": { - "smithy.api#documentation": "

                The reason why the simulation job failed.

                " + "smithy.api#documentation": "

                The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

                " } }, - "lastStartedAt": { - "target": "com.amazonaws.robomaker#LastStartedAt", + "simulationTimeMillis": { + "target": "com.amazonaws.robomaker#SimulationTimeMillis", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last started.

                " + "smithy.api#documentation": "

                The simulation job execution duration in milliseconds.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#Name", + "iamRole": { + "target": "com.amazonaws.robomaker#IamRole", "traits": { - "smithy.api#documentation": "

                The name of the simulation job.

                " + "smithy.api#documentation": "

                The IAM role that allows the simulation instance to call the AWS APIs that \n are specified in its associated policies on your behalf. This is how credentials are passed in to your \n simulation job.\n

                " } }, "robotApplications": { @@ -6245,34 +6257,40 @@ "smithy.api#documentation": "

                A list of robot applications.

                " } }, + "simulationApplications": { + "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", + "traits": { + "smithy.api#documentation": "

                A list of simulation applications.

                " + } + }, "dataSources": { "target": "com.amazonaws.robomaker#DataSources", "traits": { "smithy.api#documentation": "

                The data sources for the simulation job.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation job.

                " + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the simulation job.

                " } }, - "simulationApplications": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", + "vpcConfig": { + "target": "com.amazonaws.robomaker#VPCConfigResponse", "traits": { - "smithy.api#documentation": "

                A list of simulation applications.

                " + "smithy.api#documentation": "

                VPC configuration information.

                " } }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", + "networkInterface": { + "target": "com.amazonaws.robomaker#NetworkInterface", "traits": { - "smithy.api#documentation": "

                A unique identifier for this SimulationJob request.

                " + "smithy.api#documentation": "

                Information about a network interface.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "compute": { + "target": "com.amazonaws.robomaker#ComputeResponse", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last updated.

                " + "smithy.api#documentation": "

                Compute information for the simulation job

                " } } }, @@ -6343,22 +6361,16 @@ "com.amazonaws.robomaker#SimulationJobBatchSummary": { "type": "structure", "members": { - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job batch was last updated.

                " - } - }, "arn": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the batch.

                " } }, - "createdRequestCount": { - "target": "com.amazonaws.robomaker#Integer", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                The number of created simulation job requests.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job batch was last updated.

                " } }, "createdAt": { @@ -6373,16 +6385,22 @@ "smithy.api#documentation": "

                The status of the simulation job batch.

                \n
                \n
                Pending
                \n
                \n

                The simulation job batch request is pending.

                \n
                \n
                InProgress
                \n
                \n

                The simulation job batch is in progress.

                \n
                \n
                Failed
                \n
                \n

                The simulation job batch failed. One or more simulation job requests could not be completed\n due to an internal failure (like InternalServiceError). \n See failureCode and failureReason for more information.

                \n
                \n
                Completed
                \n
                \n

                The simulation batch job completed. A batch is complete when (1) there are \n no pending simulation job requests in the batch and none of the \n failed simulation job requests are due to InternalServiceError and (2)\n when all created simulation jobs have reached a terminal state (for example, \n Completed or Failed).\n

                \n
                \n
                Canceled
                \n
                \n

                The simulation batch job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The simulation batch job is being cancelled.

                \n
                \n
                Completing
                \n
                \n

                The simulation batch job is completing.

                \n
                \n
                TimingOut
                \n
                \n

                The simulation job batch is timing out.

                \n

                If a batch timing out, and there are pending requests that \n were failing due to an internal failure (like InternalServiceError), \n the batch status will be Failed. If there are no such failing request, \n the batch status will be TimedOut.\n

                \n
                \n
                TimedOut
                \n
                \n

                The simulation batch job timed out.

                \n
                \n
                " } }, + "failedRequestCount": { + "target": "com.amazonaws.robomaker#Integer", + "traits": { + "smithy.api#documentation": "

                The number of failed simulation job requests.

                " + } + }, "pendingRequestCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { "smithy.api#documentation": "

                The number of pending simulation job requests.

                " } }, - "failedRequestCount": { + "createdRequestCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { - "smithy.api#documentation": "

                The number of failed simulation job requests.

                " + "smithy.api#documentation": "

                The number of created simulation job requests.

                " } } }, @@ -6508,6 +6526,12 @@ "com.amazonaws.robomaker#SimulationJobRequest": { "type": "structure", "members": { + "outputLocation": { + "target": "com.amazonaws.robomaker#OutputLocation" + }, + "loggingConfig": { + "target": "com.amazonaws.robomaker#LoggingConfig" + }, "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { @@ -6515,22 +6539,28 @@ "smithy.api#required": {} } }, - "loggingConfig": { - "target": "com.amazonaws.robomaker#LoggingConfig" - }, "iamRole": { "target": "com.amazonaws.robomaker#IamRole", "traits": { "smithy.api#documentation": "

                The IAM role name that allows the simulation instance to call the AWS APIs that \n are specified in its associated policies on your behalf. This is how credentials are passed in to your \n simulation job. \n

                " } }, - "vpcConfig": { - "target": "com.amazonaws.robomaker#VPCConfig" + "failureBehavior": { + "target": "com.amazonaws.robomaker#FailureBehavior", + "traits": { + "smithy.api#documentation": "

                The failure behavior the simulation job.

                \n
                \n
                Continue
                \n
                \n

                Restart the simulation job in the same host instance.

                \n
                \n
                Fail
                \n
                \n

                Stop the simulation job and terminate the instance.

                \n
                \n
                " + } }, - "dataSources": { - "target": "com.amazonaws.robomaker#DataSourceConfigs", + "useDefaultApplications": { + "target": "com.amazonaws.robomaker#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                Specify data sources to mount read-only files from S3 into your simulation. These files are \n available under /opt/robomaker/datasources/data_source_name.\n

                \n \n

                There is a limit of 100 files and a combined size of 25GB for all\n DataSourceConfig objects. \n

                \n
                " + "smithy.api#documentation": "

                Boolean indicating whether to use default simulation tool applications.

                " + } + }, + "robotApplications": { + "target": "com.amazonaws.robomaker#RobotApplicationConfigs", + "traits": { + "smithy.api#documentation": "

                The robot applications to use in the simulation job.

                " } }, "simulationApplications": { @@ -6539,38 +6569,26 @@ "smithy.api#documentation": "

                The simulation applications to use in the simulation job.

                " } }, - "compute": { - "target": "com.amazonaws.robomaker#Compute", + "dataSources": { + "target": "com.amazonaws.robomaker#DataSourceConfigs", "traits": { - "smithy.api#documentation": "

                Compute information for the simulation job

                " + "smithy.api#documentation": "

                Specify data sources to mount read-only files from S3 into your simulation. These files are \n available under /opt/robomaker/datasources/data_source_name.\n

                \n \n

                There is a limit of 100 files and a combined size of 25GB for all\n DataSourceConfig objects. \n

                \n
                " } }, - "robotApplications": { - "target": "com.amazonaws.robomaker#RobotApplicationConfigs", - "traits": { - "smithy.api#documentation": "

                The robot applications to use in the simulation job.

                " - } + "vpcConfig": { + "target": "com.amazonaws.robomaker#VPCConfig" }, - "failureBehavior": { - "target": "com.amazonaws.robomaker#FailureBehavior", + "compute": { + "target": "com.amazonaws.robomaker#Compute", "traits": { - "smithy.api#documentation": "

                The failure behavior the simulation job.

                \n
                \n
                Continue
                \n
                \n

                Restart the simulation job in the same host instance.

                \n
                \n
                Fail
                \n
                \n

                Stop the simulation job and terminate the instance.

                \n
                \n
                " + "smithy.api#documentation": "

                Compute information for the simulation job

                " } }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation" - }, "tags": { "target": "com.amazonaws.robomaker#TagMap", "traits": { "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the simulation job request.

                " } - }, - "useDefaultApplications": { - "target": "com.amazonaws.robomaker#BoxedBoolean", - "traits": { - "smithy.api#documentation": "

                Boolean indicating whether to use default simulation tool applications.

                " - } } }, "traits": { @@ -6639,40 +6657,34 @@ "com.amazonaws.robomaker#SimulationJobSummary": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.robomaker#SimulationJobStatus", - "traits": { - "smithy.api#documentation": "

                The status of the simulation job.

                " - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

                The name of the simulation job.

                " - } - }, "arn": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the simulation job.

                " } }, - "simulationApplicationNames": { - "target": "com.amazonaws.robomaker#SimulationApplicationNames", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", + "traits": { + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last updated.

                " + } + }, + "name": { + "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                A list of simulation job simulation application names.

                " + "smithy.api#documentation": "

                The name of the simulation job.

                " } }, - "dataSourceNames": { - "target": "com.amazonaws.robomaker#DataSourceNames", + "status": { + "target": "com.amazonaws.robomaker#SimulationJobStatus", "traits": { - "smithy.api#documentation": "

                The names of the data sources.

                " + "smithy.api#documentation": "

                The status of the simulation job.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "simulationApplicationNames": { + "target": "com.amazonaws.robomaker#SimulationApplicationNames", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job was last updated.

                " + "smithy.api#documentation": "

                A list of simulation job simulation application names.

                " } }, "robotApplicationNames": { @@ -6680,6 +6692,12 @@ "traits": { "smithy.api#documentation": "

                A list of simulation job robot application names.

                " } + }, + "dataSourceNames": { + "target": "com.amazonaws.robomaker#DataSourceNames", + "traits": { + "smithy.api#documentation": "

                The names of the data sources.

                " + } } }, "traits": { @@ -6695,17 +6713,17 @@ "com.amazonaws.robomaker#SimulationSoftwareSuite": { "type": "structure", "members": { - "version": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuiteVersionType", - "traits": { - "smithy.api#documentation": "

                The version of the simulation software suite.

                " - } - }, "name": { "target": "com.amazonaws.robomaker#SimulationSoftwareSuiteType", "traits": { "smithy.api#documentation": "

                The name of the simulation software suite.

                " } + }, + "version": { + "target": "com.amazonaws.robomaker#SimulationSoftwareSuiteVersionType", + "traits": { + "smithy.api#documentation": "

                The version of the simulation software suite.

                " + } } }, "traits": { @@ -6753,28 +6771,28 @@ "com.amazonaws.robomaker#Source": { "type": "structure", "members": { - "architecture": { - "target": "com.amazonaws.robomaker#Architecture", - "traits": { - "smithy.api#documentation": "

                The taget processor architecture for the application.

                " - } - }, "s3Bucket": { "target": "com.amazonaws.robomaker#S3Bucket", "traits": { "smithy.api#documentation": "

                The s3 bucket name.

                " } }, + "s3Key": { + "target": "com.amazonaws.robomaker#S3Key", + "traits": { + "smithy.api#documentation": "

                The s3 object key.

                " + } + }, "etag": { "target": "com.amazonaws.robomaker#S3Etag", "traits": { "smithy.api#documentation": "

                A hash of the object specified by s3Bucket and s3Key.

                " } }, - "s3Key": { - "target": "com.amazonaws.robomaker#S3Key", + "architecture": { + "target": "com.amazonaws.robomaker#Architecture", "traits": { - "smithy.api#documentation": "

                The s3 object key.

                " + "smithy.api#documentation": "

                The taget processor architecture for the application.

                " } } }, @@ -6785,18 +6803,18 @@ "com.amazonaws.robomaker#SourceConfig": { "type": "structure", "members": { - "s3Key": { - "target": "com.amazonaws.robomaker#S3Key", - "traits": { - "smithy.api#documentation": "

                The s3 object key.

                " - } - }, "s3Bucket": { "target": "com.amazonaws.robomaker#S3Bucket", "traits": { "smithy.api#documentation": "

                The Amazon S3 bucket name.

                " } }, + "s3Key": { + "target": "com.amazonaws.robomaker#S3Key", + "traits": { + "smithy.api#documentation": "

                The s3 object key.

                " + } + }, "architecture": { "target": "com.amazonaws.robomaker#Architecture", "traits": { @@ -6864,6 +6882,12 @@ "smithy.api#idempotencyToken": {} } }, + "batchPolicy": { + "target": "com.amazonaws.robomaker#BatchPolicy", + "traits": { + "smithy.api#documentation": "

                The batch policy.

                " + } + }, "createSimulationJobRequests": { "target": "com.amazonaws.robomaker#CreateSimulationJobRequests", "traits": { @@ -6871,12 +6895,6 @@ "smithy.api#required": {} } }, - "batchPolicy": { - "target": "com.amazonaws.robomaker#BatchPolicy", - "traits": { - "smithy.api#documentation": "

                The batch policy.

                " - } - }, "tags": { "target": "com.amazonaws.robomaker#TagMap", "traits": { @@ -6888,46 +6906,52 @@ "com.amazonaws.robomaker#StartSimulationJobBatchResponse": { "type": "structure", "members": { - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the batch.

                " } }, - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobBatchErrorCode", + "status": { + "target": "com.amazonaws.robomaker#SimulationJobBatchStatus", "traits": { - "smithy.api#documentation": "

                The failure code if the simulation job batch failed.

                " + "smithy.api#documentation": "

                The status of the simulation job batch.

                \n
                \n
                Pending
                \n
                \n

                The simulation job batch request is pending.

                \n
                \n
                InProgress
                \n
                \n

                The simulation job batch is in progress.

                \n
                \n
                Failed
                \n
                \n

                The simulation job batch failed. One or more simulation job requests could not be completed\n due to an internal failure (like InternalServiceError). \n See failureCode and failureReason for more information.

                \n
                \n
                Completed
                \n
                \n

                The simulation batch job completed. A batch is complete when (1) there are \n no pending simulation job requests in the batch and none of the \n failed simulation job requests are due to InternalServiceError and (2)\n when all created simulation jobs have reached a terminal state (for example, \n Completed or Failed).\n

                \n
                \n
                Canceled
                \n
                \n

                The simulation batch job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The simulation batch job is being cancelled.

                \n
                \n
                Completing
                \n
                \n

                The simulation batch job is completing.

                \n
                \n
                TimingOut
                \n
                \n

                The simulation job batch is timing out.

                \n

                If a batch timing out, and there are pending requests that \n were failing due to an internal failure (like InternalServiceError), \n the batch status will be Failed. If there are no such failing request, \n the batch status will be TimedOut.\n

                \n
                \n
                TimedOut
                \n
                \n

                The simulation batch job timed out.

                \n
                \n
                " } }, - "failedRequests": { - "target": "com.amazonaws.robomaker#FailedCreateSimulationJobRequests", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                A list of failed simulation job requests. The request failed to \n be created into a simulation job. Failed requests do not \n have a simulation job ID.\n

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job batch was created.

                " } }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", + "clientRequestToken": { + "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the deployment job batch.

                " + "smithy.api#documentation": "

                Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobBatchStatus", + "batchPolicy": { + "target": "com.amazonaws.robomaker#BatchPolicy", "traits": { - "smithy.api#documentation": "

                The status of the simulation job batch.

                \n
                \n
                Pending
                \n
                \n

                The simulation job batch request is pending.

                \n
                \n
                InProgress
                \n
                \n

                The simulation job batch is in progress.

                \n
                \n
                Failed
                \n
                \n

                The simulation job batch failed. One or more simulation job requests could not be completed\n due to an internal failure (like InternalServiceError). \n See failureCode and failureReason for more information.

                \n
                \n
                Completed
                \n
                \n

                The simulation batch job completed. A batch is complete when (1) there are \n no pending simulation job requests in the batch and none of the \n failed simulation job requests are due to InternalServiceError and (2)\n when all created simulation jobs have reached a terminal state (for example, \n Completed or Failed).\n

                \n
                \n
                Canceled
                \n
                \n

                The simulation batch job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The simulation batch job is being cancelled.

                \n
                \n
                Completing
                \n
                \n

                The simulation batch job is completing.

                \n
                \n
                TimingOut
                \n
                \n

                The simulation job batch is timing out.

                \n

                If a batch timing out, and there are pending requests that \n were failing due to an internal failure (like InternalServiceError), \n the batch status will be Failed. If there are no such failing request, \n the batch status will be TimedOut.\n

                \n
                \n
                TimedOut
                \n
                \n

                The simulation batch job timed out.

                \n
                \n
                " + "smithy.api#documentation": "

                The batch policy.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "failureCode": { + "target": "com.amazonaws.robomaker#SimulationJobBatchErrorCode", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the batch.

                " + "smithy.api#documentation": "

                The failure code if the simulation job batch failed.

                " } }, - "batchPolicy": { - "target": "com.amazonaws.robomaker#BatchPolicy", + "failureReason": { + "target": "com.amazonaws.robomaker#GenericString", "traits": { - "smithy.api#documentation": "

                The batch policy.

                " + "smithy.api#documentation": "

                The reason the simulation job batch failed.

                " + } + }, + "failedRequests": { + "target": "com.amazonaws.robomaker#FailedCreateSimulationJobRequests", + "traits": { + "smithy.api#documentation": "

                A list of failed simulation job requests. The request failed to \n be created into a simulation job. Failed requests do not \n have a simulation job ID.\n

                " } }, "pendingRequests": { @@ -6942,16 +6966,10 @@ "smithy.api#documentation": "

                A list of created simulation job request summaries.

                " } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation job batch was created.

                " - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", + "tags": { + "target": "com.amazonaws.robomaker#TagMap", "traits": { - "smithy.api#documentation": "

                The reason the simulation job batch failed.

                " + "smithy.api#documentation": "

                A map that contains tag keys and tag values that are attached to the deployment job batch.

                " } } } @@ -7011,13 +7029,6 @@ "com.amazonaws.robomaker#SyncDeploymentJobRequest": { "type": "structure", "members": { - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

                The target fleet for the synchronization.

                ", - "smithy.api#required": {} - } - }, "clientRequestToken": { "target": "com.amazonaws.robomaker#ClientRequestToken", "traits": { @@ -7025,28 +7036,29 @@ "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } + }, + "fleet": { + "target": "com.amazonaws.robomaker#Arn", + "traits": { + "smithy.api#documentation": "

                The target fleet for the synchronization.

                ", + "smithy.api#required": {} + } } } }, "com.amazonaws.robomaker#SyncDeploymentJobResponse": { "type": "structure", "members": { - "deploymentApplicationConfigs": { - "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", - "traits": { - "smithy.api#documentation": "

                Information about the deployment application configurations.

                " - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the fleet was created.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the synchronization request.

                " } }, - "deploymentConfig": { - "target": "com.amazonaws.robomaker#DeploymentConfig", + "fleet": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                Information about the deployment configuration.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " } }, "status": { @@ -7055,22 +7067,22 @@ "smithy.api#documentation": "

                The status of the synchronization job.

                " } }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", + "deploymentConfig": { + "target": "com.amazonaws.robomaker#DeploymentConfig", "traits": { - "smithy.api#documentation": "

                The failure reason if the job fails.

                " + "smithy.api#documentation": "

                Information about the deployment configuration.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "deploymentApplicationConfigs": { + "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the synchronization request.

                " + "smithy.api#documentation": "

                Information about the deployment application configurations.

                " } }, - "fleet": { - "target": "com.amazonaws.robomaker#Arn", + "failureReason": { + "target": "com.amazonaws.robomaker#GenericString", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the fleet.

                " + "smithy.api#documentation": "

                The failure reason if the job fails.

                " } }, "failureCode": { @@ -7078,6 +7090,12 @@ "traits": { "smithy.api#documentation": "

                The failure code if the job fails:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                RobotApplicationCrash
                \n
                \n

                Robot application exited abnormally.

                \n
                \n
                SimulationApplicationCrash
                \n
                \n

                Simulation application exited abnormally.

                \n
                \n
                BadPermissionsRobotApplication
                \n
                \n

                Robot application bundle could not be downloaded.

                \n
                \n
                BadPermissionsSimulationApplication
                \n
                \n

                Simulation application bundle could not be downloaded.

                \n
                \n
                BadPermissionsS3Output
                \n
                \n

                Unable to publish outputs to customer-provided S3 bucket.

                \n
                \n
                BadPermissionsCloudwatchLogs
                \n
                \n

                Unable to publish logs to customer-provided CloudWatch Logs resource.

                \n
                \n
                SubnetIpLimitExceeded
                \n
                \n

                Subnet IP limit exceeded.

                \n
                \n
                ENILimitExceeded
                \n
                \n

                ENI limit exceeded.

                \n
                \n
                BadPermissionsUserCredentials
                \n
                \n

                Unable to use the Role provided.

                \n
                \n
                InvalidBundleRobotApplication
                \n
                \n

                Robot bundle cannot be extracted (invalid format, bundling error, or other issue).

                \n
                \n
                InvalidBundleSimulationApplication
                \n
                \n

                Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).

                \n
                \n
                RobotApplicationVersionMismatchedEtag
                \n
                \n

                Etag for RobotApplication does not match value during version creation.

                \n
                \n
                SimulationApplicationVersionMismatchedEtag
                \n
                \n

                Etag for SimulationApplication does not match value during version creation.

                \n
                \n
                " } + }, + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", + "traits": { + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the fleet was created.

                " + } } } }, @@ -7218,29 +7236,29 @@ "com.amazonaws.robomaker#TemplateSummary": { "type": "structure", "members": { - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the template was last updated.

                " - } - }, "arn": { "target": "com.amazonaws.robomaker#Arn", "traits": { "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the template.

                " } }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", - "traits": { - "smithy.api#documentation": "

                The name of the template.

                " - } - }, "createdAt": { "target": "com.amazonaws.robomaker#CreatedAt", "traits": { "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the template was created.

                " } + }, + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", + "traits": { + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the template was last updated.

                " + } + }, + "name": { + "target": "com.amazonaws.robomaker#TemplateName", + "traits": { + "smithy.api#documentation": "

                The name of the template.

                " + } } }, "traits": { @@ -7294,14 +7312,6 @@ "com.amazonaws.robomaker#UntagResourceRequest": { "type": "structure", "members": { - "tagKeys": { - "target": "com.amazonaws.robomaker#TagKeyList", - "traits": { - "smithy.api#documentation": "

                A map that contains tag keys and tag values that will be unattached from the resource.

                ", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - }, "resourceArn": { "target": "com.amazonaws.robomaker#Arn", "traits": { @@ -7309,6 +7319,14 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "tagKeys": { + "target": "com.amazonaws.robomaker#TagKeyList", + "traits": { + "smithy.api#documentation": "

                A map that contains tag keys and tag values that will be unattached from the resource.

                ", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } } } }, @@ -7360,49 +7378,31 @@ "smithy.api#required": {} } }, - "currentRevisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

                The revision id for the robot application.

                " - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

                The robot software suite (ROS distribution) used by the robot application.

                ", - "smithy.api#required": {} - } - }, "sources": { - "target": "com.amazonaws.robomaker#SourceConfigs", - "traits": { - "smithy.api#documentation": "

                The sources of the robot application.

                ", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.robomaker#UpdateRobotApplicationResponse": { - "type": "structure", - "members": { - "version": { - "target": "com.amazonaws.robomaker#Version", + "target": "com.amazonaws.robomaker#SourceConfigs", "traits": { - "smithy.api#documentation": "

                The version of the robot application.

                " + "smithy.api#documentation": "

                The sources of the robot application.

                ", + "smithy.api#required": {} } }, "robotSoftwareSuite": { "target": "com.amazonaws.robomaker#RobotSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The robot software suite (ROS distribution) used by the robot application.

                " + "smithy.api#documentation": "

                The robot software suite (ROS distribution) used by the robot application.

                ", + "smithy.api#required": {} } }, - "revisionId": { + "currentRevisionId": { "target": "com.amazonaws.robomaker#RevisionId", "traits": { - "smithy.api#documentation": "

                The revision id of the robot application.

                " + "smithy.api#documentation": "

                The revision id for the robot application.

                " } - }, + } + } + }, + "com.amazonaws.robomaker#UpdateRobotApplicationResponse": { + "type": "structure", + "members": { "arn": { "target": "com.amazonaws.robomaker#Arn", "traits": { @@ -7415,10 +7415,10 @@ "smithy.api#documentation": "

                The name of the robot application.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "version": { + "target": "com.amazonaws.robomaker#Version", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot application was last updated.

                " + "smithy.api#documentation": "

                The version of the robot application.

                " } }, "sources": { @@ -7426,6 +7426,24 @@ "traits": { "smithy.api#documentation": "

                The sources of the robot application.

                " } + }, + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "traits": { + "smithy.api#documentation": "

                The robot software suite (ROS distribution) used by the robot application.

                " + } + }, + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", + "traits": { + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the robot application was last updated.

                " + } + }, + "revisionId": { + "target": "com.amazonaws.robomaker#RevisionId", + "traits": { + "smithy.api#documentation": "

                The revision id of the robot application.

                " + } } } }, @@ -7466,37 +7484,31 @@ "com.amazonaws.robomaker#UpdateSimulationApplicationRequest": { "type": "structure", "members": { - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", + "application": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The simulation software suite used by the simulation application.

                ", + "smithy.api#documentation": "

                The application information for the simulation application.

                ", "smithy.api#required": {} } }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "sources": { + "target": "com.amazonaws.robomaker#SourceConfigs", "traits": { - "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                ", + "smithy.api#documentation": "

                The sources of the simulation application.

                ", "smithy.api#required": {} } }, - "currentRevisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

                The revision id for the robot application.

                " - } - }, - "application": { - "target": "com.amazonaws.robomaker#Arn", + "simulationSoftwareSuite": { + "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The application information for the simulation application.

                ", + "smithy.api#documentation": "

                The simulation software suite used by the simulation application.

                ", "smithy.api#required": {} } }, - "sources": { - "target": "com.amazonaws.robomaker#SourceConfigs", + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The sources of the simulation application.

                ", + "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                ", "smithy.api#required": {} } }, @@ -7505,22 +7517,34 @@ "traits": { "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " } + }, + "currentRevisionId": { + "target": "com.amazonaws.robomaker#RevisionId", + "traits": { + "smithy.api#documentation": "

                The revision id for the robot application.

                " + } } } }, "com.amazonaws.robomaker#UpdateSimulationApplicationResponse": { "type": "structure", "members": { + "arn": { + "target": "com.amazonaws.robomaker#Arn", + "traits": { + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the updated simulation application.

                " + } + }, "name": { "target": "com.amazonaws.robomaker#Name", "traits": { "smithy.api#documentation": "

                The name of the simulation application.

                " } }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", + "version": { + "target": "com.amazonaws.robomaker#Version", "traits": { - "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " + "smithy.api#documentation": "

                The version of the robot application.

                " } }, "sources": { @@ -7535,34 +7559,28 @@ "smithy.api#documentation": "

                The simulation software suite used by the simulation application.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation application was last updated.

                " - } - }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", + "robotSoftwareSuite": { + "target": "com.amazonaws.robomaker#RobotSoftwareSuite", "traits": { - "smithy.api#documentation": "

                The revision id of the simulation application.

                " + "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                " } }, - "version": { - "target": "com.amazonaws.robomaker#Version", + "renderingEngine": { + "target": "com.amazonaws.robomaker#RenderingEngine", "traits": { - "smithy.api#documentation": "

                The version of the robot application.

                " + "smithy.api#documentation": "

                The rendering engine for the simulation application.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the updated simulation application.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the simulation application was last updated.

                " } }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", + "revisionId": { + "target": "com.amazonaws.robomaker#RevisionId", "traits": { - "smithy.api#documentation": "

                Information about the robot software suite (ROS distribution).

                " + "smithy.api#documentation": "

                The revision id of the simulation application.

                " } } } @@ -7608,6 +7626,12 @@ "smithy.api#required": {} } }, + "name": { + "target": "com.amazonaws.robomaker#TemplateName", + "traits": { + "smithy.api#documentation": "

                The name of the template.

                " + } + }, "templateBody": { "target": "com.amazonaws.robomaker#Json", "traits": { @@ -7619,22 +7643,16 @@ "traits": { "smithy.api#documentation": "

                The location of the world template.

                " } - }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", - "traits": { - "smithy.api#documentation": "

                The name of the template.

                " - } } } }, "com.amazonaws.robomaker#UpdateWorldTemplateResponse": { "type": "structure", "members": { - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was created.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " } }, "name": { @@ -7643,16 +7661,16 @@ "smithy.api#documentation": "

                The name of the world template.

                " } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was last updated.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was created.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world template was last updated.

                " } } } @@ -7660,6 +7678,13 @@ "com.amazonaws.robomaker#VPCConfig": { "type": "structure", "members": { + "subnets": { + "target": "com.amazonaws.robomaker#Subnets", + "traits": { + "smithy.api#documentation": "

                A list of one or more subnet IDs in your VPC.

                ", + "smithy.api#required": {} + } + }, "securityGroups": { "target": "com.amazonaws.robomaker#SecurityGroups", "traits": { @@ -7671,13 +7696,6 @@ "traits": { "smithy.api#documentation": "

                A boolean indicating whether to assign a public IP address.

                " } - }, - "subnets": { - "target": "com.amazonaws.robomaker#Subnets", - "traits": { - "smithy.api#documentation": "

                A list of one or more subnet IDs in your VPC.

                ", - "smithy.api#required": {} - } } }, "traits": { @@ -7687,16 +7705,10 @@ "com.amazonaws.robomaker#VPCConfigResponse": { "type": "structure", "members": { - "vpcId": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

                The VPC ID associated with your simulation job.

                " - } - }, - "assignPublicIp": { - "target": "com.amazonaws.robomaker#Boolean", + "subnets": { + "target": "com.amazonaws.robomaker#Subnets", "traits": { - "smithy.api#documentation": "

                A boolean indicating if a public IP was assigned.

                " + "smithy.api#documentation": "

                A list of subnet IDs associated with the simulation job.

                " } }, "securityGroups": { @@ -7705,10 +7717,16 @@ "smithy.api#documentation": "

                A list of security group IDs associated with the simulation job.

                " } }, - "subnets": { - "target": "com.amazonaws.robomaker#Subnets", + "vpcId": { + "target": "com.amazonaws.robomaker#GenericString", "traits": { - "smithy.api#documentation": "

                A list of subnet IDs associated with the simulation job.

                " + "smithy.api#documentation": "

                The VPC ID associated with your simulation job.

                " + } + }, + "assignPublicIp": { + "target": "com.amazonaws.robomaker#Boolean", + "traits": { + "smithy.api#documentation": "

                A boolean indicating if a public IP was assigned.

                " } } }, @@ -7865,6 +7883,12 @@ "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world export job.

                " } }, + "status": { + "target": "com.amazonaws.robomaker#WorldExportJobStatus", + "traits": { + "smithy.api#documentation": "

                The status of the world export job.

                \n
                \n
                Pending
                \n
                \n

                The world export job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world export job is running.

                \n
                \n
                Completed
                \n
                \n

                The world export job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world export job failed. See failureCode for more information.\n

                \n
                \n
                Canceled
                \n
                \n

                The world export job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world export job is being cancelled.

                \n
                \n
                " + } + }, "createdAt": { "target": "com.amazonaws.robomaker#CreatedAt", "traits": { @@ -7876,12 +7900,6 @@ "traits": { "smithy.api#documentation": "

                A list of worlds.

                " } - }, - "status": { - "target": "com.amazonaws.robomaker#WorldExportJobStatus", - "traits": { - "smithy.api#documentation": "

                The status of the world export job.

                \n
                \n
                Pending
                \n
                \n

                The world export job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world export job is running.

                \n
                \n
                Completed
                \n
                \n

                The world export job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world export job failed. See failureCode for more information.\n

                \n
                \n
                Canceled
                \n
                \n

                The world export job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world export job is being cancelled.

                \n
                \n
                " - } } }, "traits": { @@ -7891,10 +7909,10 @@ "com.amazonaws.robomaker#WorldFailure": { "type": "structure", "members": { - "failureCount": { - "target": "com.amazonaws.robomaker#Integer", + "failureCode": { + "target": "com.amazonaws.robomaker#WorldGenerationJobErrorCode", "traits": { - "smithy.api#documentation": "

                The number of failed worlds.

                " + "smithy.api#documentation": "

                The failure code of the world export job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                " } }, "sampleFailureReason": { @@ -7903,10 +7921,10 @@ "smithy.api#documentation": "

                The sample reason why the world failed. World errors are aggregated. A sample is used\n as the sampleFailureReason.\n

                " } }, - "failureCode": { - "target": "com.amazonaws.robomaker#WorldGenerationJobErrorCode", + "failureCount": { + "target": "com.amazonaws.robomaker#Integer", "traits": { - "smithy.api#documentation": "

                The failure code of the world export job if it failed:

                \n
                \n
                InternalServiceError
                \n
                \n

                Internal service error.

                \n
                \n
                LimitExceeded
                \n
                \n

                The requested resource exceeds the maximum number allowed, or the number of concurrent \n stream requests exceeds the maximum number allowed. \n

                \n
                \n
                ResourceNotFound
                \n
                \n

                The specified resource could not be found. \n

                \n
                \n
                RequestThrottled
                \n
                \n

                The request was throttled.

                \n
                \n
                InvalidInput
                \n
                \n

                An input parameter in the request is not valid.

                \n
                \n
                " + "smithy.api#documentation": "

                The number of failed worlds.

                " } } }, @@ -8007,16 +8025,10 @@ "com.amazonaws.robomaker#WorldGenerationJobSummary": { "type": "structure", "members": { - "succeededWorldCount": { - "target": "com.amazonaws.robomaker#Integer", - "traits": { - "smithy.api#documentation": "

                The number of worlds that were generated.

                " - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "arn": { + "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world generator job was created.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world generator job.

                " } }, "template": { @@ -8025,16 +8037,16 @@ "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " } }, - "failedWorldCount": { - "target": "com.amazonaws.robomaker#Integer", + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", "traits": { - "smithy.api#documentation": "

                The number of worlds that failed.

                " + "smithy.api#documentation": "

                The time, in milliseconds since the epoch, when the world generator job was created.

                " } }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", + "status": { + "target": "com.amazonaws.robomaker#WorldGenerationJobStatus", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world generator job.

                " + "smithy.api#documentation": "

                The status of the world generator job:

                \n
                \n
                Pending
                \n
                \n

                The world generator job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world generator job is running.

                \n
                \n
                Completed
                \n
                \n

                The world generator job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world generator job failed. See failureCode for more information.\n

                \n
                \n
                PartialFailed
                \n
                \n

                Some worlds did not generate.

                \n
                \n
                Canceled
                \n
                \n

                The world generator job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world generator job is being cancelled.

                \n
                \n
                " } }, "worldCount": { @@ -8043,10 +8055,16 @@ "smithy.api#documentation": "

                Information about the world count.

                " } }, - "status": { - "target": "com.amazonaws.robomaker#WorldGenerationJobStatus", + "succeededWorldCount": { + "target": "com.amazonaws.robomaker#Integer", "traits": { - "smithy.api#documentation": "

                The status of the world generator job:

                \n
                \n
                Pending
                \n
                \n

                The world generator job request is pending.

                \n
                \n
                Running
                \n
                \n

                The world generator job is running.

                \n
                \n
                Completed
                \n
                \n

                The world generator job completed.\n

                \n
                \n
                Failed
                \n
                \n

                The world generator job failed. See failureCode for more information.\n

                \n
                \n
                PartialFailed
                \n
                \n

                Some worlds did not generate.

                \n
                \n
                Canceled
                \n
                \n

                The world generator job was cancelled.

                \n
                \n
                Canceling
                \n
                \n

                The world generator job is being cancelled.

                \n
                \n
                " + "smithy.api#documentation": "

                The number of worlds that were generated.

                " + } + }, + "failedWorldCount": { + "target": "com.amazonaws.robomaker#Integer", + "traits": { + "smithy.api#documentation": "

                The number of worlds that failed.

                " } } }, @@ -8063,10 +8081,10 @@ "com.amazonaws.robomaker#WorldSummary": { "type": "structure", "members": { - "template": { + "arn": { "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world.

                " } }, "createdAt": { @@ -8081,10 +8099,10 @@ "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world generation job.

                " } }, - "arn": { + "template": { "target": "com.amazonaws.robomaker#Arn", "traits": { - "smithy.api#documentation": "

                The Amazon Resource Name (ARN) of the world.

                " + "smithy.api#documentation": "

                The Amazon Resource Name (arn) of the world template.

                " } } }, diff --git a/codegen/sdk-codegen/aws-models/service-catalog-appregistry.2020-06-24.json b/codegen/sdk-codegen/aws-models/service-catalog-appregistry.2020-06-24.json new file mode 100644 index 000000000000..34b6938d0ce2 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/service-catalog-appregistry.2020-06-24.json @@ -0,0 +1,1750 @@ +{ + "smithy": "1.0", + "metadata": { + "suppressions": [ + { + "id": "HttpMethodSemantics", + "namespace": "*" + }, + { + "id": "HttpResponseCodeSemantics", + "namespace": "*" + }, + { + "id": "PaginatedTrait", + "namespace": "*" + }, + { + "id": "HttpHeaderTrait", + "namespace": "*" + }, + { + "id": "HttpUriConflict", + "namespace": "*" + }, + { + "id": "Service", + "namespace": "*" + } + ] + }, + "shapes": { + "com.amazonaws.servicecatalogappregistry#AWS242AppRegistry": { + "type": "service", + "version": "2020-06-24", + "operations": [ + { + "target": "com.amazonaws.servicecatalogappregistry#AssociateAttributeGroup" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#AssociateResource" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#CreateApplication" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#CreateAttributeGroup" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#DeleteApplication" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#DeleteAttributeGroup" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#DisassociateAttributeGroup" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#DisassociateResource" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#GetApplication" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#GetAttributeGroup" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ListApplications" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ListAssociatedAttributeGroups" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ListAssociatedResources" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ListAttributeGroups" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#UpdateApplication" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#UpdateAttributeGroup" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Service Catalog AppRegistry", + "arnNamespace": "servicecatalog", + "cloudFormationName": "ServiceCatalogAppRegistry", + "cloudTrailEventSource": "servicecatalogappregistry.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "servicecatalog" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

                AWS Service Catalog AppRegistry enables organizations to understand the application context of their AWS resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.

                ", + "smithy.api#title": "AWS Service Catalog App Registry" + } + }, + "com.amazonaws.servicecatalogappregistry#Application": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationId", + "traits": { + "smithy.api#documentation": "

                The identifier of the application.

                " + } + }, + "arn": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) that specifies the application across services.

                " + } + }, + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The name of the application. The name must be unique in the region in which you are creating the application.

                " + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the application.

                " + } + }, + "creationTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment when the application was created.

                " + } + }, + "lastUpdateTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment when the application was last updated.

                " + } + }, + "tags": { + "target": "com.amazonaws.servicecatalogappregistry#Tags", + "traits": { + "smithy.api#documentation": "

                Key-value pairs you can use to associate with the application.

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Represents a Service Catalog AppRegistry application that is the top-level node in a hierarchy of related\n cloud resource abstractions.

                " + } + }, + "com.amazonaws.servicecatalogappregistry#ApplicationArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "arn:aws[-a-z]*:servicecatalog:[a-z]{2}(-gov)?-[a-z]+-\\d:\\d{12}:/applications/[a-z0-9]+" + } + }, + "com.amazonaws.servicecatalogappregistry#ApplicationId": { + "type": "string", + "traits": { + "smithy.api#pattern": "[a-z0-9]{12}" + } + }, + "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "\\w+" + } + }, + "com.amazonaws.servicecatalogappregistry#ApplicationSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSummary" + } + }, + "com.amazonaws.servicecatalogappregistry#ApplicationSummary": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationId", + "traits": { + "smithy.api#documentation": "

                The identifier of the application.

                " + } + }, + "arn": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) that specifies the application across services.

                " + } + }, + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The name of the application. The name must be unique in the region in which you are creating the application.

                " + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the application.

                " + } + }, + "creationTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment when the application was created.

                " + } + }, + "lastUpdateTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment when the application was last updated.

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Summary of a Service Catalog AppRegistry application.

                " + } + }, + "com.amazonaws.servicecatalogappregistry#Arn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1600 + }, + "smithy.api#pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)" + } + }, + "com.amazonaws.servicecatalogappregistry#AssociateAttributeGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#AssociateAttributeGroupRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#AssociateAttributeGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Associates an attribute group with an application to augment the application's metadata with the group's attributes. This way applications can be described with user-defined details which are machine-readable (e.g. for third-party integrations).

                ", + "smithy.api#http": { + "method": "PUT", + "uri": "/applications/{application}/attribute-groups/{attributeGroup}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#AssociateAttributeGroupRequest": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "attributeGroup": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the attribute group that holds the attributes to describe the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#AssociateAttributeGroupResponse": { + "type": "structure", + "members": { + "applicationArn": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) of the application that was augmented with attributes.

                " + } + }, + "attributeGroupArn": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) of the attribute group that contains the application's new attributes.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#AssociateResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#AssociateResourceRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#AssociateResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#ConflictException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

                Associates a resource with an application. Both the resource and the application can be specified either by ID or name.

                ", + "smithy.api#http": { + "method": "PUT", + "uri": "/applications/{application}/resources/{resourceType}/{resource}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#AssociateResourceRequest": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "com.amazonaws.servicecatalogappregistry#ResourceType", + "traits": { + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "resource": { + "target": "com.amazonaws.servicecatalogappregistry#ResourceSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the resource of which the application will be associated.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#AssociateResourceResponse": { + "type": "structure", + "members": { + "applicationArn": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) of the application that was augmented with attributes.

                " + } + }, + "resourceArn": { + "target": "com.amazonaws.servicecatalogappregistry#Arn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) that specifies the resource.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#AssociationCount": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.servicecatalogappregistry#AttributeGroup": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupId", + "traits": { + "smithy.api#documentation": "

                The globally unique attribute group identifier of the attribute group.

                " + } + }, + "arn": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) that specifies the application across services.

                " + } + }, + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The name of the attribute group.

                " + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the attribute group that the user provides.

                " + } + }, + "creationTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment the attribute group was created.

                " + } + }, + "lastUpdateTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group.

                " + } + }, + "tags": { + "target": "com.amazonaws.servicecatalogappregistry#Tags", + "traits": { + "smithy.api#documentation": "

                Key-value pairs you can use to associate with the attribute group.

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Represents a Service Catalog AppRegistry attribute group that is rich metadata which describes an application and its components.

                " + } + }, + "com.amazonaws.servicecatalogappregistry#AttributeGroupArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "arn:aws[-a-z]*:servicecatalog:[a-z]{2}(-gov)?-[a-z]+-\\d:\\d{12}:/attribute-groups/[a-z0-9]+" + } + }, + "com.amazonaws.servicecatalogappregistry#AttributeGroupId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "[a-z0-9]{12}" + } + }, + "com.amazonaws.servicecatalogappregistry#AttributeGroupIds": { + "type": "list", + "member": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupId" + } + }, + "com.amazonaws.servicecatalogappregistry#AttributeGroupSpecifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "\\w+" + } + }, + "com.amazonaws.servicecatalogappregistry#AttributeGroupSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupSummary" + } + }, + "com.amazonaws.servicecatalogappregistry#AttributeGroupSummary": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupId", + "traits": { + "smithy.api#documentation": "

                The globally unique attribute group identifier of the attribute group.

                " + } + }, + "arn": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) that specifies the application across services.

                " + } + }, + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The name of the attribute group.

                " + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the attribute group that the user provides.

                " + } + }, + "creationTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment the attribute group was created.

                " + } + }, + "lastUpdateTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group.

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Summary of a Service Catalog AppRegistry attribute group.

                " + } + }, + "com.amazonaws.servicecatalogappregistry#Attributes": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 8000 + }, + "smithy.api#pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+" + } + }, + "com.amazonaws.servicecatalogappregistry#ClientToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "[a-zA-Z0-9][a-zA-Z0-9_-]*" + } + }, + "com.amazonaws.servicecatalogappregistry#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.servicecatalogappregistry#String" + } + }, + "traits": { + "smithy.api#documentation": "

                There was a conflict when processing the request (for example, a resource with the given name already\n exists within the account).

                ", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.servicecatalogappregistry#CreateApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#CreateApplicationRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#CreateApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#ConflictException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

                Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/applications", + "code": 201 + } + } + }, + "com.amazonaws.servicecatalogappregistry#CreateApplicationRequest": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The name of the application. The name must be unique in the region in which you are creating the application.

                ", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the application.

                " + } + }, + "tags": { + "target": "com.amazonaws.servicecatalogappregistry#Tags", + "traits": { + "smithy.api#documentation": "

                Key-value pairs you can use to associate with the application.

                " + } + }, + "clientToken": { + "target": "com.amazonaws.servicecatalogappregistry#ClientToken", + "traits": { + "smithy.api#documentation": "

                A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the clientToken, the same response is returned for each repeated request.

                ", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#CreateApplicationResponse": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#Application", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#CreateAttributeGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#CreateAttributeGroupRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#CreateAttributeGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#ConflictException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Creates a new attribute group as a container for user-defined attributes. This approach enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools.

                ", + "smithy.api#http": { + "method": "POST", + "uri": "/attribute-groups", + "code": 201 + } + } + }, + "com.amazonaws.servicecatalogappregistry#CreateAttributeGroupRequest": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The name of the attribute group.

                ", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the attribute group that the user provides.

                " + } + }, + "attributes": { + "target": "com.amazonaws.servicecatalogappregistry#Attributes", + "traits": { + "smithy.api#documentation": "

                A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.

                ", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.servicecatalogappregistry#Tags", + "traits": { + "smithy.api#documentation": "

                Key-value pairs you can use to associate with the attribute group.

                " + } + }, + "clientToken": { + "target": "com.amazonaws.servicecatalogappregistry#ClientToken", + "traits": { + "smithy.api#documentation": "

                A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the\n clientToken, the same response is returned for each repeated request.

                ", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#CreateAttributeGroupResponse": { + "type": "structure", + "members": { + "attributeGroup": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroup", + "traits": { + "smithy.api#documentation": "

                The name or ID of the attribute group that holds the attributes to describe the application.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#DeleteApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#DeleteApplicationRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#DeleteApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Delete an application, specified either by its application ID or name.

                ", + "smithy.api#http": { + "method": "DELETE", + "uri": "/applications/{application}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#DeleteApplicationRequest": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#DeleteApplicationResponse": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSummary", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#DeleteAttributeGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#DeleteAttributeGroupRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#DeleteAttributeGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Deletes an attribute group, specified either by its attribute group ID or name.

                ", + "smithy.api#http": { + "method": "DELETE", + "uri": "/attribute-groups/{attributeGroup}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#DeleteAttributeGroupRequest": { + "type": "structure", + "members": { + "attributeGroup": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the attribute group that holds the attributes to describe the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#DeleteAttributeGroupResponse": { + "type": "structure", + "members": { + "attributeGroup": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupSummary", + "traits": { + "smithy.api#documentation": "

                The name or ID of the attribute group that holds the attributes to describe the application.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#Description": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + } + } + }, + "com.amazonaws.servicecatalogappregistry#DisassociateAttributeGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#DisassociateAttributeGroupRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#DisassociateAttributeGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Disassociates an attribute group from an application to remove the extra attributes contained in the attribute group from the application's metadata. This operation reverts AssociateAttributeGroup.

                ", + "smithy.api#http": { + "method": "DELETE", + "uri": "/applications/{application}/attribute-groups/{attributeGroup}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#DisassociateAttributeGroupRequest": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "attributeGroup": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the attribute group that holds the attributes to describe the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#DisassociateAttributeGroupResponse": { + "type": "structure", + "members": { + "applicationArn": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) of the application that was augmented with attributes.

                " + } + }, + "attributeGroupArn": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) of the attribute group that contains the application's new attributes.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#DisassociateResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#DisassociateResourceRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#DisassociateResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.

                ", + "smithy.api#http": { + "method": "DELETE", + "uri": "/applications/{application}/resources/{resourceType}/{resource}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#DisassociateResourceRequest": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "com.amazonaws.servicecatalogappregistry#ResourceType", + "traits": { + "smithy.api#documentation": "

                The type of the resource that's being disassociated.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "resource": { + "target": "com.amazonaws.servicecatalogappregistry#ResourceSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the resource of which the application will be associated.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#DisassociateResourceResponse": { + "type": "structure", + "members": { + "applicationArn": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) of the application that was augmented with attributes.

                " + } + }, + "resourceArn": { + "target": "com.amazonaws.servicecatalogappregistry#Arn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) that specifies the resource.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#GetApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#GetApplicationRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#GetApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Retrieves metadata information about one of your applications. The application can be specified either by its unique ID or by its name (which is unique within one account in one region at a given point in time). Specify by ID in automated workflows if you want to make sure that the exact same application is returned or a ResourceNotFoundException is thrown, avoiding the ABA addressing problem.

                ", + "smithy.api#http": { + "method": "GET", + "uri": "/applications/{application}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#GetApplicationRequest": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#GetApplicationResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationId", + "traits": { + "smithy.api#documentation": "

                The identifier of the application.

                " + } + }, + "arn": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) that specifies the application across services.

                " + } + }, + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The name of the application. The name must be unique in the region in which you are creating the application.

                " + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the application.

                " + } + }, + "creationTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment when the application was created.

                " + } + }, + "lastUpdateTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment when the application was last updated.

                " + } + }, + "associatedResourceCount": { + "target": "com.amazonaws.servicecatalogappregistry#AssociationCount", + "traits": { + "smithy.api#documentation": "

                The number of top-level resources that were registered as part of this application.

                " + } + }, + "tags": { + "target": "com.amazonaws.servicecatalogappregistry#Tags", + "traits": { + "smithy.api#documentation": "

                Key-value pairs you can use to associate with the application.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#GetAttributeGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#GetAttributeGroupRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#GetAttributeGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Retrieves an attribute group, either by its name or its ID.

                ", + "smithy.api#http": { + "method": "GET", + "uri": "/attribute-groups/{attributeGroup}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#GetAttributeGroupRequest": { + "type": "structure", + "members": { + "attributeGroup": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the attribute group that holds the attributes to describe the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#GetAttributeGroupResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupId", + "traits": { + "smithy.api#documentation": "

                The identifier of the application.

                " + } + }, + "arn": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) that specifies the application across services.

                " + } + }, + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The name of the attribute group.

                " + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the attribute group that the user provides.

                " + } + }, + "attributes": { + "target": "com.amazonaws.servicecatalogappregistry#Attributes", + "traits": { + "smithy.api#documentation": "

                A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.

                " + } + }, + "creationTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment the attribute group was created.

                " + } + }, + "lastUpdateTime": { + "target": "com.amazonaws.servicecatalogappregistry#Timestamp", + "traits": { + "smithy.api#documentation": "

                The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group.

                " + } + }, + "tags": { + "target": "com.amazonaws.servicecatalogappregistry#Tags", + "traits": { + "smithy.api#documentation": "

                Key-value pairs you can use to associate with the attribute group.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.servicecatalogappregistry#String" + } + }, + "traits": { + "smithy.api#documentation": "

                The service is experiencing internal problems.

                ", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.servicecatalogappregistry#ListApplications": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#ListApplicationsRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#ListApplicationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Retrieves a list of all of your applications. Results are paginated.

                ", + "smithy.api#http": { + "method": "GET", + "uri": "/applications", + "code": 200 + }, + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListApplicationsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.servicecatalogappregistry#NextToken", + "traits": { + "smithy.api#documentation": "

                The token to use to get the next page of results after a previous API call.

                ", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.servicecatalogappregistry#MaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

                The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

                ", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListApplicationsResponse": { + "type": "structure", + "members": { + "applications": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSummaries", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                " + } + }, + "nextToken": { + "target": "com.amazonaws.servicecatalogappregistry#NextToken", + "traits": { + "smithy.api#documentation": "

                The token to use to get the next page of results after a previous API call.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListAssociatedAttributeGroups": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#ListAssociatedAttributeGroupsRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#ListAssociatedAttributeGroupsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Lists all attribute groups that are associated with specified application. Results are paginated.

                ", + "smithy.api#http": { + "method": "GET", + "uri": "/applications/{application}/attribute-groups", + "code": 200 + }, + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListAssociatedAttributeGroupsRequest": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.servicecatalogappregistry#NextToken", + "traits": { + "smithy.api#documentation": "

                The token to use to get the next page of results after a previous API call.

                ", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.servicecatalogappregistry#MaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

                The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

                ", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListAssociatedAttributeGroupsResponse": { + "type": "structure", + "members": { + "attributeGroups": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupIds", + "traits": { + "smithy.api#documentation": "

                A list of attribute group IDs.

                " + } + }, + "nextToken": { + "target": "com.amazonaws.servicecatalogappregistry#NextToken", + "traits": { + "smithy.api#documentation": "

                The token to use to get the next page of results after a previous API call.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListAssociatedResources": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#ListAssociatedResourcesRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#ListAssociatedResourcesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Lists all resources that are associated with specified application. Results are paginated.

                ", + "smithy.api#http": { + "method": "GET", + "uri": "/applications/{application}/resources", + "code": 200 + }, + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListAssociatedResourcesRequest": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.servicecatalogappregistry#NextToken", + "traits": { + "smithy.api#documentation": "

                The token to use to get the next page of results after a previous API call.

                ", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.servicecatalogappregistry#MaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

                The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

                ", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListAssociatedResourcesResponse": { + "type": "structure", + "members": { + "resources": { + "target": "com.amazonaws.servicecatalogappregistry#Resources", + "traits": { + "smithy.api#documentation": "

                The name or ID of the resource of which the application will be associated.

                " + } + }, + "nextToken": { + "target": "com.amazonaws.servicecatalogappregistry#NextToken", + "traits": { + "smithy.api#documentation": "

                The token to use to get the next page of results after a previous API call.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListAttributeGroups": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#ListAttributeGroupsRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#ListAttributeGroupsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Lists all attribute groups which you have access to. Results are paginated.

                ", + "smithy.api#http": { + "method": "GET", + "uri": "/attribute-groups", + "code": 200 + }, + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListAttributeGroupsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.servicecatalogappregistry#NextToken", + "traits": { + "smithy.api#documentation": "

                The token to use to get the next page of results after a previous API call.

                ", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.servicecatalogappregistry#MaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

                The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

                ", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#ListAttributeGroupsResponse": { + "type": "structure", + "members": { + "attributeGroups": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupSummaries", + "traits": { + "smithy.api#documentation": "

                A list of attribute group IDs.

                " + } + }, + "nextToken": { + "target": "com.amazonaws.servicecatalogappregistry#NextToken", + "traits": { + "smithy.api#documentation": "

                The token to use to get the next page of results after a previous API call.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 25 + } + } + }, + "com.amazonaws.servicecatalogappregistry#Name": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "\\w+" + } + }, + "com.amazonaws.servicecatalogappregistry#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2024 + }, + "smithy.api#pattern": "[A-Za-z0-9+/=]+" + } + }, + "com.amazonaws.servicecatalogappregistry#ResourceInfo": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.servicecatalogappregistry#ResourceSpecifier", + "traits": { + "smithy.api#documentation": "

                The name of the resource.

                " + } + }, + "arn": { + "target": "com.amazonaws.servicecatalogappregistry#StackArn", + "traits": { + "smithy.api#documentation": "

                The Amazon resource name (ARN) that specifies the application across services.

                " + } + } + }, + "traits": { + "smithy.api#documentation": "

                Information about the resource.

                " + } + }, + "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.servicecatalogappregistry#String" + } + }, + "traits": { + "smithy.api#documentation": "

                The specified resource does not exist.

                ", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.servicecatalogappregistry#ResourceSpecifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "\\S+" + } + }, + "com.amazonaws.servicecatalogappregistry#ResourceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CFN_STACK", + "name": "CFN_STACK" + } + ] + } + }, + "com.amazonaws.servicecatalogappregistry#Resources": { + "type": "list", + "member": { + "target": "com.amazonaws.servicecatalogappregistry#ResourceInfo" + } + }, + "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.servicecatalogappregistry#String" + } + }, + "traits": { + "smithy.api#documentation": "

                The maximum number of resources per account has been reached.

                ", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.servicecatalogappregistry#StackArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "arn:aws[-a-z]*:cloudformation:[a-z]{2}(-gov)?-[a-z]+-\\d:\\d{12}:stack/[a-zA-Z][-A-Za-z0-9]{0,127}/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}" + } + }, + "com.amazonaws.servicecatalogappregistry#String": { + "type": "string" + }, + "com.amazonaws.servicecatalogappregistry#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "(?!aws:)[a-zA-Z+-=._:/]+" + } + }, + "com.amazonaws.servicecatalogappregistry#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*" + } + }, + "com.amazonaws.servicecatalogappregistry#Tags": { + "type": "map", + "key": { + "target": "com.amazonaws.servicecatalogappregistry#TagKey" + }, + "value": { + "target": "com.amazonaws.servicecatalogappregistry#TagValue" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.servicecatalogappregistry#Timestamp": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.servicecatalogappregistry#UpdateApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#UpdateApplicationRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#UpdateApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#ConflictException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                Updates an existing application with new attributes.

                ", + "smithy.api#http": { + "method": "PATCH", + "uri": "/applications/{application}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#UpdateApplicationRequest": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#ApplicationSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application. The name must be unique in the region in which you are\n updating the attribute group.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The anme of the application. The name must be unique in the region in which you are creating the application.

                " + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the application.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#UpdateApplicationResponse": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.servicecatalogappregistry#Application", + "traits": { + "smithy.api#documentation": "

                The name or ID of the application.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#UpdateAttributeGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.servicecatalogappregistry#UpdateAttributeGroupRequest" + }, + "output": { + "target": "com.amazonaws.servicecatalogappregistry#UpdateAttributeGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.servicecatalogappregistry#ConflictException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#InternalServerException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.servicecatalogappregistry#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                Updates an existing attribute group with new details.

                ", + "smithy.api#http": { + "method": "PATCH", + "uri": "/attribute-groups/{attributeGroup}", + "code": 200 + } + } + }, + "com.amazonaws.servicecatalogappregistry#UpdateAttributeGroupRequest": { + "type": "structure", + "members": { + "attributeGroup": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroupSpecifier", + "traits": { + "smithy.api#documentation": "

                The name or ID of the attribute group that holds the attributes to describe the application.

                ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.servicecatalogappregistry#Name", + "traits": { + "smithy.api#documentation": "

                The new name of the attribute group. The name must be unique in the region in which you are\n updating the attribute group.

                " + } + }, + "description": { + "target": "com.amazonaws.servicecatalogappregistry#Description", + "traits": { + "smithy.api#documentation": "

                The description of the attribute group that the user provides.

                " + } + }, + "attributes": { + "target": "com.amazonaws.servicecatalogappregistry#Attributes", + "traits": { + "smithy.api#documentation": "

                A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#UpdateAttributeGroupResponse": { + "type": "structure", + "members": { + "attributeGroup": { + "target": "com.amazonaws.servicecatalogappregistry#AttributeGroup", + "traits": { + "smithy.api#documentation": "

                The name or ID of the attribute group that holds the attributes to describe the application.

                " + } + } + } + }, + "com.amazonaws.servicecatalogappregistry#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.servicecatalogappregistry#String" + } + }, + "traits": { + "smithy.api#documentation": "

                The request has invalid or missing parameters.

                ", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + } + } +} From b62673c1218047172c39829825ec11fbde5f125d Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Thu, 12 Nov 2020 23:19:07 +0000 Subject: [PATCH 4/7] feat: update clients as of 11/12 --- clients/client-iot/models/models_0.ts | 49 +- clients/client-iot/protocols/Aws_restJson1.ts | 6 + .../models/models_0.ts | 2075 ++-- .../protocols/Aws_restJson1.ts | 170 +- clients/client-lightsail/Lightsail.ts | 641 +- clients/client-lightsail/LightsailClient.ts | 88 +- .../commands/CreateContainerServiceCommand.ts | 82 + ...CreateContainerServiceDeploymentCommand.ts | 88 + ...ateContainerServiceRegistryLoginCommand.ts | 92 + .../commands/DeleteContainerImageCommand.ts | 82 + .../commands/DeleteContainerServiceCommand.ts | 82 + .../GetContainerAPIMetadataCommand.ts | 82 + .../commands/GetContainerImagesCommand.ts | 82 + .../commands/GetContainerLogCommand.ts | 82 + .../GetContainerServiceDeploymentsCommand.ts | 88 + .../GetContainerServiceMetricDataCommand.ts | 85 + .../GetContainerServicePowersCommand.ts | 85 + .../commands/GetContainerServicesCommand.ts | 82 + .../commands/GetKeyPairsCommand.ts | 3 +- .../commands/GetLoadBalancerCommand.ts | 2 +- .../GetLoadBalancerMetricDataCommand.ts | 2 +- .../GetLoadBalancerTlsCertificatesCommand.ts | 2 +- .../commands/GetLoadBalancersCommand.ts | 2 +- .../commands/GetOperationCommand.ts | 2 +- .../commands/GetOperationsCommand.ts | 2 +- .../GetOperationsForResourceCommand.ts | 2 +- .../commands/GetRegionsCommand.ts | 2 +- .../commands/GetRelationalDatabaseCommand.ts | 3 +- .../commands/RegisterContainerImageCommand.ts | 82 + .../commands/UpdateContainerServiceCommand.ts | 82 + clients/client-lightsail/index.ts | 14 + clients/client-lightsail/models/models_0.ts | 9049 ++++++++--------- clients/client-lightsail/models/models_1.ts | 2558 ++++- .../client-lightsail/protocols/Aws_json1_1.ts | 3353 ++++-- .../models/models_0.ts | 98 +- .../protocols/Aws_restJson1.ts | 16 + clients/client-polly/Polly.ts | 95 +- clients/client-polly/PollyClient.ts | 9 +- clients/client-polly/models/models_0.ts | 549 +- .../client-polly/protocols/Aws_restJson1.ts | 12 +- clients/client-robomaker/models/models_0.ts | 2338 ++--- .../protocols/Aws_restJson1.ts | 9 + .../.gitignore | 14 + .../.npmignore | 4 + .../LICENSE | 201 + .../README.md | 6 + .../ServiceCatalogAppRegistry.ts | 599 ++ .../ServiceCatalogAppRegistryClient.ts | 276 + .../AssociateAttributeGroupCommand.ts | 86 + .../commands/AssociateResourceCommand.ts | 86 + .../commands/CreateApplicationCommand.ts | 86 + .../commands/CreateAttributeGroupCommand.ts | 86 + .../commands/DeleteApplicationCommand.ts | 86 + .../commands/DeleteAttributeGroupCommand.ts | 86 + .../DisassociateAttributeGroupCommand.ts | 89 + .../commands/DisassociateResourceCommand.ts | 86 + .../commands/GetApplicationCommand.ts | 86 + .../commands/GetAttributeGroupCommand.ts | 86 + .../commands/ListApplicationsCommand.ts | 86 + .../ListAssociatedAttributeGroupsCommand.ts | 89 + .../ListAssociatedResourcesCommand.ts | 86 + .../commands/ListAttributeGroupsCommand.ts | 86 + .../commands/UpdateApplicationCommand.ts | 86 + .../commands/UpdateAttributeGroupCommand.ts | 86 + .../endpoints.ts | 218 + .../index.ts | 24 + .../models/index.ts | 1 + .../models/models_0.ts | 923 ++ .../package.json | 85 + .../pagination/Interfaces.ts | 7 + .../pagination/ListApplicationsPaginator.ts | 51 + .../ListAssociatedAttributeGroupsPaginator.ts | 51 + .../ListAssociatedResourcesPaginator.ts | 51 + .../ListAttributeGroupsPaginator.ts | 51 + .../protocols/Aws_restJson1.ts | 2103 ++++ .../runtimeConfig.browser.ts | 31 + .../runtimeConfig.native.ts | 14 + .../runtimeConfig.shared.ts | 10 + .../runtimeConfig.ts | 33 + .../tsconfig.es.json | 12 + .../tsconfig.json | 28 + 81 files changed, 20036 insertions(+), 8466 deletions(-) create mode 100644 clients/client-lightsail/commands/CreateContainerServiceCommand.ts create mode 100644 clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts create mode 100644 clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts create mode 100644 clients/client-lightsail/commands/DeleteContainerImageCommand.ts create mode 100644 clients/client-lightsail/commands/DeleteContainerServiceCommand.ts create mode 100644 clients/client-lightsail/commands/GetContainerAPIMetadataCommand.ts create mode 100644 clients/client-lightsail/commands/GetContainerImagesCommand.ts create mode 100644 clients/client-lightsail/commands/GetContainerLogCommand.ts create mode 100644 clients/client-lightsail/commands/GetContainerServiceDeploymentsCommand.ts create mode 100644 clients/client-lightsail/commands/GetContainerServiceMetricDataCommand.ts create mode 100644 clients/client-lightsail/commands/GetContainerServicePowersCommand.ts create mode 100644 clients/client-lightsail/commands/GetContainerServicesCommand.ts create mode 100644 clients/client-lightsail/commands/RegisterContainerImageCommand.ts create mode 100644 clients/client-lightsail/commands/UpdateContainerServiceCommand.ts create mode 100644 clients/client-service-catalog-appregistry/.gitignore create mode 100644 clients/client-service-catalog-appregistry/.npmignore create mode 100644 clients/client-service-catalog-appregistry/LICENSE create mode 100644 clients/client-service-catalog-appregistry/README.md create mode 100644 clients/client-service-catalog-appregistry/ServiceCatalogAppRegistry.ts create mode 100644 clients/client-service-catalog-appregistry/ServiceCatalogAppRegistryClient.ts create mode 100644 clients/client-service-catalog-appregistry/commands/AssociateAttributeGroupCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/AssociateResourceCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/CreateApplicationCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/CreateAttributeGroupCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/DeleteApplicationCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/DeleteAttributeGroupCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/DisassociateAttributeGroupCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/DisassociateResourceCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/GetApplicationCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/GetAttributeGroupCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/ListApplicationsCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/ListAssociatedAttributeGroupsCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/ListAssociatedResourcesCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/ListAttributeGroupsCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/UpdateApplicationCommand.ts create mode 100644 clients/client-service-catalog-appregistry/commands/UpdateAttributeGroupCommand.ts create mode 100644 clients/client-service-catalog-appregistry/endpoints.ts create mode 100644 clients/client-service-catalog-appregistry/index.ts create mode 100644 clients/client-service-catalog-appregistry/models/index.ts create mode 100644 clients/client-service-catalog-appregistry/models/models_0.ts create mode 100644 clients/client-service-catalog-appregistry/package.json create mode 100644 clients/client-service-catalog-appregistry/pagination/Interfaces.ts create mode 100644 clients/client-service-catalog-appregistry/pagination/ListApplicationsPaginator.ts create mode 100644 clients/client-service-catalog-appregistry/pagination/ListAssociatedAttributeGroupsPaginator.ts create mode 100644 clients/client-service-catalog-appregistry/pagination/ListAssociatedResourcesPaginator.ts create mode 100644 clients/client-service-catalog-appregistry/pagination/ListAttributeGroupsPaginator.ts create mode 100644 clients/client-service-catalog-appregistry/protocols/Aws_restJson1.ts create mode 100644 clients/client-service-catalog-appregistry/runtimeConfig.browser.ts create mode 100644 clients/client-service-catalog-appregistry/runtimeConfig.native.ts create mode 100644 clients/client-service-catalog-appregistry/runtimeConfig.shared.ts create mode 100644 clients/client-service-catalog-appregistry/runtimeConfig.ts create mode 100644 clients/client-service-catalog-appregistry/tsconfig.es.json create mode 100644 clients/client-service-catalog-appregistry/tsconfig.json diff --git a/clients/client-iot/models/models_0.ts b/clients/client-iot/models/models_0.ts index ce4f308b89f5..5d8cf8c0cf8c 100644 --- a/clients/client-iot/models/models_0.ts +++ b/clients/client-iot/models/models_0.ts @@ -492,6 +492,19 @@ export interface FirehoseAction { * (comma).

                */ separator?: string; + + /** + *

                Whether to deliver the Kinesis Data Firehose stream as a batch by using + * PutRecordBatch + * . The default value is + * false.

                + *

                When batchMode is true and the rule's SQL statement + * evaluates to an Array, each Array element forms one record in the + * PutRecordBatch + * request. The resulting array can't have more + * than 500 records.

                + */ + batchMode?: boolean; } export namespace FirehoseAction { @@ -501,7 +514,7 @@ export namespace FirehoseAction { } /** - *

                Use Sig V4 authorization.

                + *

                For more information, see Signature Version 4 signing process.

                */ export interface SigV4Authorization { /** @@ -617,6 +630,17 @@ export interface IotAnalyticsAction { */ channelName?: string; + /** + *

                Whether to process the action as a batch. The default value is + * false.

                + *

                When batchMode is true and the rule SQL statement evaluates + * to an Array, each Array element is delivered as a separate message when passed by + * BatchPutMessage + * to the AWS IoT Analytics channel. The resulting array can't have more + * than 100 messages.

                + */ + batchMode?: boolean; + /** *

                The ARN of the role which has a policy that grants IoT Analytics permission to send * message data via IoT Analytics (iotanalytics:BatchPutMessage).

                @@ -640,11 +664,28 @@ export interface IotEventsAction { inputName: string | undefined; /** - *

                [Optional] Use this to ensure that only one input (message) with a given messageId will - * be processed by an AWS IoT Events detector.

                + *

                The ID of the message. The default messageId is a new UUID value.

                + *

                When batchMode is true, you can't specify a + * messageId--a new UUID value will be assigned.

                + *

                Assign a value to this property to ensure that only one input (message) with a given + * messageId will be processed by an AWS IoT Events detector.

                */ messageId?: string; + /** + *

                Whether to process the event actions as a batch. The default value is + * false.

                + *

                When batchMode is true, you can't specify a + * messageId.

                + *

                When batchMode is true and the rule SQL statement evaluates + * to an Array, each Array element is treated as a separate message when it's sent to AWS IoT + * Events by calling + * BatchPutMessage + * . The resulting array can't have more + * than 10 messages.

                + */ + batchMode?: boolean; + /** *

                The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT * Events detector. ("Action":"iotevents:BatchPutMessage").

                @@ -906,7 +947,7 @@ export interface S3Action { bucketName: string | undefined; /** - *

                The object key.

                + *

                The object key. For more information, see Actions, resources, and condition keys for Amazon S3.

                */ key: string | undefined; diff --git a/clients/client-iot/protocols/Aws_restJson1.ts b/clients/client-iot/protocols/Aws_restJson1.ts index be3f0c233e5f..ed4cdb1495ce 100644 --- a/clients/client-iot/protocols/Aws_restJson1.ts +++ b/clients/client-iot/protocols/Aws_restJson1.ts @@ -28230,6 +28230,7 @@ const serializeAws_restJson1FindingIds = (input: string[], context: __SerdeConte const serializeAws_restJson1FirehoseAction = (input: FirehoseAction, context: __SerdeContext): any => { return { + ...(input.batchMode !== undefined && { batchMode: input.batchMode }), ...(input.deliveryStreamName !== undefined && { deliveryStreamName: input.deliveryStreamName }), ...(input.roleArn !== undefined && { roleArn: input.roleArn }), ...(input.separator !== undefined && { separator: input.separator }), @@ -28290,6 +28291,7 @@ const serializeAws_restJson1HttpUrlDestinationConfiguration = ( const serializeAws_restJson1IotAnalyticsAction = (input: IotAnalyticsAction, context: __SerdeContext): any => { return { + ...(input.batchMode !== undefined && { batchMode: input.batchMode }), ...(input.channelArn !== undefined && { channelArn: input.channelArn }), ...(input.channelName !== undefined && { channelName: input.channelName }), ...(input.roleArn !== undefined && { roleArn: input.roleArn }), @@ -28298,6 +28300,7 @@ const serializeAws_restJson1IotAnalyticsAction = (input: IotAnalyticsAction, con const serializeAws_restJson1IotEventsAction = (input: IotEventsAction, context: __SerdeContext): any => { return { + ...(input.batchMode !== undefined && { batchMode: input.batchMode }), ...(input.inputName !== undefined && { inputName: input.inputName }), ...(input.messageId !== undefined && { messageId: input.messageId }), ...(input.roleArn !== undefined && { roleArn: input.roleArn }), @@ -30088,6 +30091,7 @@ const deserializeAws_restJson1FindingIds = (output: any, context: __SerdeContext const deserializeAws_restJson1FirehoseAction = (output: any, context: __SerdeContext): FirehoseAction => { return { + batchMode: output.batchMode !== undefined && output.batchMode !== null ? output.batchMode : undefined, deliveryStreamName: output.deliveryStreamName !== undefined && output.deliveryStreamName !== null ? output.deliveryStreamName @@ -30175,6 +30179,7 @@ const deserializeAws_restJson1IndexNamesList = (output: any, context: __SerdeCon const deserializeAws_restJson1IotAnalyticsAction = (output: any, context: __SerdeContext): IotAnalyticsAction => { return { + batchMode: output.batchMode !== undefined && output.batchMode !== null ? output.batchMode : undefined, channelArn: output.channelArn !== undefined && output.channelArn !== null ? output.channelArn : undefined, channelName: output.channelName !== undefined && output.channelName !== null ? output.channelName : undefined, roleArn: output.roleArn !== undefined && output.roleArn !== null ? output.roleArn : undefined, @@ -30183,6 +30188,7 @@ const deserializeAws_restJson1IotAnalyticsAction = (output: any, context: __Serd const deserializeAws_restJson1IotEventsAction = (output: any, context: __SerdeContext): IotEventsAction => { return { + batchMode: output.batchMode !== undefined && output.batchMode !== null ? output.batchMode : undefined, inputName: output.inputName !== undefined && output.inputName !== null ? output.inputName : undefined, messageId: output.messageId !== undefined && output.messageId !== null ? output.messageId : undefined, roleArn: output.roleArn !== undefined && output.roleArn !== null ? output.roleArn : undefined, diff --git a/clients/client-lex-model-building-service/models/models_0.ts b/clients/client-lex-model-building-service/models/models_0.ts index c65414c49c49..91396cd40a6f 100644 --- a/clients/client-lex-model-building-service/models/models_0.ts +++ b/clients/client-lex-model-building-service/models/models_0.ts @@ -33,6 +33,12 @@ export namespace ConflictException { } export interface CreateBotVersionRequest { + /** + *

                The name of the bot that you want to create a new version of. The name is case + * sensitive.

                + */ + name: string | undefined; + /** *

                Identifies a specific revision of the $LATEST version of the bot. If you * specify a checksum and the $LATEST version of the bot has a different checksum, a @@ -41,12 +47,6 @@ export interface CreateBotVersionRequest { * version.

                */ checksum?: string; - - /** - *

                The name of the bot that you want to create a new version of. The name is case - * sensitive.

                - */ - name: string | undefined; } export namespace CreateBotVersionRequest { @@ -65,12 +65,6 @@ export enum ContentType { *

                The message object that provides the message text and its type.

                */ export interface Message { - /** - *

                Identifies the message group that the message belongs to. When a group is assigned to a - * message, Amazon Lex returns one message from each group in the response.

                - */ - groupNumber?: number; - /** *

                The content type of the message string.

                */ @@ -80,6 +74,12 @@ export interface Message { *

                The text of the message.

                */ content: string | undefined; + + /** + *

                Identifies the message group that the message belongs to. When a group is assigned to a + * message, Amazon Lex returns one message from each group in the response.

                + */ + groupNumber?: number; } export namespace Message { @@ -119,11 +119,6 @@ export namespace Statement { * see how-it-works.

                */ export interface Prompt { - /** - *

                The number of times to prompt the user for information.

                - */ - maxAttempts: number | undefined; - /** *

                An array of objects, each of which provides a message string and its type. You can * specify the message string in plain text or in Speech Synthesis Markup Language @@ -131,6 +126,11 @@ export interface Prompt { */ messages: Message[] | undefined; + /** + *

                The number of times to prompt the user for information.

                + */ + maxAttempts: number | undefined; + /** *

                A response card. Amazon Lex uses this prompt at runtime, in the PostText API * response. It substitutes session attributes and slot values for placeholders in the response @@ -150,14 +150,14 @@ export namespace Prompt { */ export interface Intent { /** - *

                The version of the intent.

                + *

                The name of the intent.

                */ - intentVersion: string | undefined; + intentName: string | undefined; /** - *

                The name of the intent.

                + *

                The version of the intent.

                */ - intentName: string | undefined; + intentVersion: string | undefined; } export namespace Intent { @@ -171,7 +171,11 @@ export enum Locale { EN_AU = "en-AU", EN_GB = "en-GB", EN_US = "en-US", + ES_ES = "es-ES", ES_US = "es-US", + FR_CA = "fr-CA", + FR_FR = "fr-FR", + IT_IT = "it-IT", } export enum Status { @@ -183,6 +187,41 @@ export enum Status { } export interface CreateBotVersionResponse { + /** + *

                The name of the bot.

                + */ + name?: string; + + /** + *

                A description of the bot.

                + */ + description?: string; + + /** + *

                An array of Intent objects. For more information, see PutBot.

                + */ + intents?: Intent[]; + + /** + *

                The message that Amazon Lex uses when it doesn't understand the user's request. For more + * information, see PutBot.

                + */ + clarificationPrompt?: Prompt; + + /** + *

                The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.

                + */ + abortStatement?: Statement; + + /** + *

                When you send a request to create or update a bot, Amazon Lex sets the status + * response element to BUILDING. After Amazon Lex builds the bot, it sets + * status to READY. If Amazon Lex can't build the bot, it sets + * status to FAILED. Amazon Lex returns the reason for the failure in the + * failureReason response element.

                + */ + status?: Status | string; + /** *

                If status is FAILED, Amazon Lex provides the reason that it failed * to build the bot.

                @@ -212,24 +251,14 @@ export interface CreateBotVersionResponse { voiceId?: string; /** - *

                An array of Intent objects. For more information, see PutBot.

                - */ - intents?: Intent[]; - - /** - *

                Indicates whether utterances entered by the user should be sent to Amazon Comprehend for - * sentiment analysis.

                + *

                Checksum identifying the version of the bot that was created.

                */ - detectSentiment?: boolean; + checksum?: string; /** - *

                When you send a request to create or update a bot, Amazon Lex sets the status - * response element to BUILDING. After Amazon Lex builds the bot, it sets - * status to READY. If Amazon Lex can't build the bot, it sets - * status to FAILED. Amazon Lex returns the reason for the failure in the - * failureReason response element.

                + *

                The version of the bot.

                */ - status?: Status | string; + version?: string; /** *

                Specifies the target locale for the bot.

                @@ -260,16 +289,6 @@ export interface CreateBotVersionResponse { */ childDirected?: boolean; - /** - *

                The version of the bot.

                - */ - version?: string; - - /** - *

                A description of the bot.

                - */ - description?: string; - /** *

                Indicates whether the bot uses accuracy improvements. true * indicates that the bot is using the improvements, otherwise, false.

                @@ -277,25 +296,10 @@ export interface CreateBotVersionResponse { enableModelImprovements?: boolean; /** - *

                The message that Amazon Lex uses when it doesn't understand the user's request. For more - * information, see PutBot.

                - */ - clarificationPrompt?: Prompt; - - /** - *

                The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.

                - */ - abortStatement?: Statement; - - /** - *

                Checksum identifying the version of the bot that was created.

                - */ - checksum?: string; - - /** - *

                The name of the bot.

                + *

                Indicates whether utterances entered by the user should be sent to Amazon Comprehend for + * sentiment analysis.

                */ - name?: string; + detectSentiment?: boolean; } export namespace CreateBotVersionResponse { @@ -325,8 +329,8 @@ export namespace InternalFailureException { export interface LimitExceededException extends __SmithyException, $MetadataBearer { name: "LimitExceededException"; $fault: "client"; - message?: string; retryAfterSeconds?: string; + message?: string; } export namespace LimitExceededException { @@ -368,6 +372,12 @@ export namespace PreconditionFailedException { } export interface CreateIntentVersionRequest { + /** + *

                The name of the intent that you want to create a new version of. The name is case + * sensitive.

                + */ + name: string | undefined; + /** *

                Checksum of the $LATEST version of the intent that should be used to * create the new version. If you specify a checksum and the $LATEST version of the @@ -376,12 +386,6 @@ export interface CreateIntentVersionRequest { * the $LATEST version.

                */ checksum?: string; - - /** - *

                The name of the intent that you want to create a new version of. The name is case - * sensitive.

                - */ - name: string | undefined; } export namespace CreateIntentVersionRequest { @@ -490,13 +494,6 @@ export namespace FulfillmentActivity { * AMAZON.KendraSearchIntent.

                */ export interface KendraConfiguration { - /** - *

                A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query. - * The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.

                - *

                You can override this filter string with a new filter string at runtime.

                - */ - queryFilterString?: string; - /** *

                The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the * AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region @@ -505,6 +502,13 @@ export interface KendraConfiguration { */ kendraIndex: string | undefined; + /** + *

                A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query. + * The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.

                + *

                You can override this filter string with a new filter string at runtime.

                + */ + queryFilterString?: string; + /** *

                The Amazon Resource Name (ARN) of an IAM role that has permission to search the Amazon * Kendra index. The role must be in the same account and Region as the Amazon Lex bot. If the role @@ -534,6 +538,11 @@ export enum SlotConstraint { *

                Identifies the version of a specific slot.

                */ export interface Slot { + /** + *

                The name of the slot.

                + */ + name: string | undefined; + /** *

                A description of the slot.

                */ @@ -544,11 +553,6 @@ export interface Slot { */ slotConstraint: SlotConstraint | string | undefined; - /** - *

                The version of the slot type.

                - */ - slotTypeVersion?: string; - /** *

                The type of the slot, either a custom slot type that you defined or one of the built-in * slot types.

                @@ -556,23 +560,15 @@ export interface Slot { slotType?: string; /** - *

                A set of possible responses for the slot type used by text-based clients. A user - * chooses an option from the response card, instead of using text to reply.

                + *

                The version of the slot type.

                */ - responseCard?: string; + slotTypeVersion?: string; /** *

                The prompt that Amazon Lex uses to elicit the slot value from the user.

                */ valueElicitationPrompt?: Prompt; - /** - *

                If you know a specific pattern with which users might respond to an Amazon Lex request for - * a slot value, you can provide those utterances to improve accuracy. This is optional. In most - * cases, Amazon Lex is capable of understanding user utterances.

                - */ - sampleUtterances?: string[]; - /** *

                Directs Amazon Lex the order in which to elicit this slot value from the user. For example, * if the intent has two slots with priorities 1 and 2, AWS Amazon Lex first elicits a value for the @@ -583,9 +579,17 @@ export interface Slot { priority?: number; /** - *

                The name of the slot.

                + *

                If you know a specific pattern with which users might respond to an Amazon Lex request for + * a slot value, you can provide those utterances to improve accuracy. This is optional. In most + * cases, Amazon Lex is capable of understanding user utterances.

                */ - name: string | undefined; + sampleUtterances?: string[]; + + /** + *

                A set of possible responses for the slot type used by text-based clients. A user + * chooses an option from the response card, instead of using text to reply.

                + */ + responseCard?: string; /** *

                Determines whether a slot is obfuscated in conversation logs and stored utterances. When @@ -610,85 +614,85 @@ export interface CreateIntentVersionResponse { name?: string; /** - *

                If defined, Amazon Lex invokes this Lambda function for each user input.

                + *

                A description of the intent.

                */ - dialogCodeHook?: CodeHook; + description?: string; /** - *

                A unique identifier for a built-in intent.

                + *

                An array of slot types that defines the information required to fulfill the + * intent.

                */ - parentIntentSignature?: string; + slots?: Slot[]; /** - *

                After the Lambda function specified in the fulfillmentActivity field - * fulfills the intent, Amazon Lex conveys this statement to the user.

                + *

                An array of sample utterances configured for the intent.

                */ - conclusionStatement?: Statement; + sampleUtterances?: string[]; /** - *

                Configuration information, if any, for connecting an Amazon Kendra index with the - * AMAZON.KendraSearchIntent intent.

                + *

                If defined, the prompt that Amazon Lex uses to confirm the user's intent before + * fulfilling it.

                */ - kendraConfiguration?: KendraConfiguration; + confirmationPrompt?: Prompt; /** - *

                Checksum of the intent version created.

                + *

                If the user answers "no" to the question defined in confirmationPrompt, + * Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                */ - checksum?: string; + rejectionStatement?: Statement; /** - *

                If defined, the prompt that Amazon Lex uses to confirm the user's intent before - * fulfilling it.

                + *

                If defined, Amazon Lex uses this prompt to solicit additional user activity after the + * intent is fulfilled.

                */ - confirmationPrompt?: Prompt; + followUpPrompt?: FollowUpPrompt; /** - *

                Describes how the intent is fulfilled.

                + *

                After the Lambda function specified in the fulfillmentActivity field + * fulfills the intent, Amazon Lex conveys this statement to the user.

                */ - fulfillmentActivity?: FulfillmentActivity; + conclusionStatement?: Statement; /** - *

                The version number assigned to the new version of the intent.

                + *

                If defined, Amazon Lex invokes this Lambda function for each user input.

                */ - version?: string; + dialogCodeHook?: CodeHook; /** - *

                An array of slot types that defines the information required to fulfill the - * intent.

                + *

                Describes how the intent is fulfilled.

                */ - slots?: Slot[]; + fulfillmentActivity?: FulfillmentActivity; /** - *

                If defined, Amazon Lex uses this prompt to solicit additional user activity after the - * intent is fulfilled.

                + *

                A unique identifier for a built-in intent.

                */ - followUpPrompt?: FollowUpPrompt; + parentIntentSignature?: string; /** - *

                The date that the intent was created.

                + *

                The date that the intent was updated.

                */ - createdDate?: Date; + lastUpdatedDate?: Date; /** - *

                If the user answers "no" to the question defined in confirmationPrompt, - * Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                + *

                The date that the intent was created.

                */ - rejectionStatement?: Statement; + createdDate?: Date; /** - *

                An array of sample utterances configured for the intent.

                + *

                The version number assigned to the new version of the intent.

                */ - sampleUtterances?: string[]; + version?: string; /** - *

                A description of the intent.

                + *

                Checksum of the intent version created.

                */ - description?: string; + checksum?: string; /** - *

                The date that the intent was updated.

                + *

                Configuration information, if any, for connecting an Amazon Kendra index with the + * AMAZON.KendraSearchIntent intent.

                */ - lastUpdatedDate?: Date; + kendraConfiguration?: KendraConfiguration; } export namespace CreateIntentVersionResponse { @@ -698,6 +702,12 @@ export namespace CreateIntentVersionResponse { } export interface CreateSlotTypeVersionRequest { + /** + *

                The name of the slot type that you want to create a new version for. The name is case + * sensitive.

                + */ + name: string | undefined; + /** *

                Checksum for the $LATEST version of the slot type that you want to * publish. If you specify a checksum and the $LATEST version of the slot type has a @@ -706,12 +716,6 @@ export interface CreateSlotTypeVersionRequest { * $LATEST version.

                */ checksum?: string; - - /** - *

                The name of the slot type that you want to create a new version for. The name is case - * sensitive.

                - */ - name: string | undefined; } export namespace CreateSlotTypeVersionRequest { @@ -739,14 +743,14 @@ export namespace CreateSlotTypeVersionRequest { */ export interface EnumerationValue { /** - *

                Additional values related to the slot type value.

                + *

                The value of the slot type.

                */ - synonyms?: string[]; + value: string | undefined; /** - *

                The value of the slot type.

                + *

                Additional values related to the slot type value.

                */ - value: string | undefined; + synonyms?: string[]; } export namespace EnumerationValue { @@ -818,46 +822,47 @@ export enum SlotValueSelectionStrategy { export interface CreateSlotTypeVersionResponse { /** - *

                The date that the slot type was created.

                + *

                The name of the slot type.

                */ - createdDate?: Date; + name?: string; /** - *

                Configuration information that extends the parent built-in slot type.

                + *

                A description of the slot type.

                */ - slotTypeConfigurations?: SlotTypeConfiguration[]; + description?: string; /** - *

                The version assigned to the new slot type version.

                + *

                A list of EnumerationValue objects that defines the values that the slot + * type can take.

                */ - version?: string; + enumerationValues?: EnumerationValue[]; /** - *

                The strategy that Amazon Lex uses to determine the value of the slot. For more information, - * see PutSlotType.

                + *

                The date that the slot type was updated. When you create a resource, the creation date + * and last update date are the same.

                */ - valueSelectionStrategy?: SlotValueSelectionStrategy | string; + lastUpdatedDate?: Date; /** - *

                A list of EnumerationValue objects that defines the values that the slot - * type can take.

                + *

                The date that the slot type was created.

                */ - enumerationValues?: EnumerationValue[]; + createdDate?: Date; /** - *

                Checksum of the $LATEST version of the slot type.

                + *

                The version assigned to the new slot type version.

                */ - checksum?: string; + version?: string; /** - *

                The name of the slot type.

                + *

                Checksum of the $LATEST version of the slot type.

                */ - name?: string; + checksum?: string; /** - *

                A description of the slot type.

                + *

                The strategy that Amazon Lex uses to determine the value of the slot. For more information, + * see PutSlotType.

                */ - description?: string; + valueSelectionStrategy?: SlotValueSelectionStrategy | string; /** *

                The built-in slot type used a the parent of the slot type.

                @@ -865,10 +870,9 @@ export interface CreateSlotTypeVersionResponse { parentSlotTypeSignature?: string; /** - *

                The date that the slot type was updated. When you create a resource, the creation date - * and last update date are the same.

                + *

                Configuration information that extends the parent built-in slot type.

                */ - lastUpdatedDate?: Date; + slotTypeConfigurations?: SlotTypeConfiguration[]; } export namespace CreateSlotTypeVersionResponse { @@ -940,14 +944,13 @@ export enum ReferenceType { export interface ResourceInUseException extends __SmithyException, $MetadataBearer { name: "ResourceInUseException"; $fault: "client"; + referenceType?: ReferenceType | string; /** *

                Describes the resource that refers to the resource that you are attempting to delete. * This object is returned as part of the ResourceInUseException exception. *

                */ exampleReference?: ResourceReference; - - referenceType?: ReferenceType | string; } export namespace ResourceInUseException { @@ -975,12 +978,6 @@ export namespace DeleteBotAliasRequest { } export interface DeleteBotChannelAssociationRequest { - /** - *

                An alias that points to the specific version of the Amazon Lex bot to which this association - * is being made.

                - */ - botAlias: string | undefined; - /** *

                The name of the association. The name is case sensitive.

                */ @@ -990,6 +987,12 @@ export interface DeleteBotChannelAssociationRequest { *

                The name of the Amazon Lex bot.

                */ botName: string | undefined; + + /** + *

                An alias that points to the specific version of the Amazon Lex bot to which this association + * is being made.

                + */ + botAlias: string | undefined; } export namespace DeleteBotChannelAssociationRequest { @@ -1033,15 +1036,15 @@ export namespace DeleteIntentRequest { export interface DeleteIntentVersionRequest { /** - *

                The version of the intent to delete. You cannot delete the $LATEST version - * of the intent. To delete the $LATEST version, use the DeleteIntent operation.

                + *

                The name of the intent.

                */ - version: string | undefined; + name: string | undefined; /** - *

                The name of the intent.

                + *

                The version of the intent to delete. You cannot delete the $LATEST version + * of the intent. To delete the $LATEST version, use the DeleteIntent operation.

                */ - name: string | undefined; + version: string | undefined; } export namespace DeleteIntentVersionRequest { @@ -1065,15 +1068,15 @@ export namespace DeleteSlotTypeRequest { export interface DeleteSlotTypeVersionRequest { /** - *

                The version of the slot type to delete. You cannot delete the $LATEST - * version of the slot type. To delete the $LATEST version, use the DeleteSlotType operation.

                + *

                The name of the slot type.

                */ - version: string | undefined; + name: string | undefined; /** - *

                The name of the slot type.

                + *

                The version of the slot type to delete. You cannot delete the $LATEST + * version of the slot type. To delete the $LATEST version, use the DeleteSlotType operation.

                */ - name: string | undefined; + version: string | undefined; } export namespace DeleteSlotTypeVersionRequest { @@ -1104,14 +1107,14 @@ export namespace DeleteUtterancesRequest { export interface GetBotRequest { /** - *

                The version or alias of the bot.

                + *

                The name of the bot. The name is case sensitive.

                */ - versionOrAlias: string | undefined; + name: string | undefined; /** - *

                The name of the bot. The name is case sensitive.

                + *

                The version or alias of the bot.

                */ - name: string | undefined; + versionOrAlias: string | undefined; } export namespace GetBotRequest { @@ -1122,38 +1125,60 @@ export namespace GetBotRequest { export interface GetBotResponse { /** - *

                The message Amazon Lex uses when it doesn't understand the user's request. For more - * information, see PutBot.

                + *

                The name of the bot.

                */ - clarificationPrompt?: Prompt; + name?: string; /** - *

                The date that the bot was updated. When you create a resource, the creation date and - * last updated date are the same.

                + *

                A description of the bot.

                */ - lastUpdatedDate?: Date; + description?: string; /** - *

                Indicates whether user utterances should be sent to Amazon Comprehend for sentiment - * analysis.

                + *

                An array of intent objects. For more information, see PutBot.

                */ - detectSentiment?: boolean; + intents?: Intent[]; /** - *

                A description of the bot.

                + *

                Indicates whether the bot uses accuracy improvements. true + * indicates that the bot is using the improvements, otherwise, false.

                */ - description?: string; + enableModelImprovements?: boolean; /** - *

                The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For - * more information, see PutBot.

                + *

                The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent, + * AMAZON.KendraSearchIntent, or both when returning alternative intents in a + * PostContent or PostText response. + * AMAZON.FallbackIntent is inserted if the confidence score for all intents is + * below this value. AMAZON.KendraSearchIntent is only inserted if it is configured + * for the bot.

                */ - idleSessionTTLInSeconds?: number; + nluIntentConfidenceThreshold?: number; /** - *

                The target locale for the bot.

                + *

                The message Amazon Lex uses when it doesn't understand the user's request. For more + * information, see PutBot.

                */ - locale?: Locale | string; + clarificationPrompt?: Prompt; + + /** + *

                The message that Amazon Lex returns when the user elects to end the conversation without + * completing it. For more information, see PutBot.

                + */ + abortStatement?: Statement; + + /** + *

                The status of the bot.

                + *

                When the status is BUILDING Amazon Lex is building the bot for testing and + * use.

                + *

                If the status of the bot is READY_BASIC_TESTING, you can test the bot + * using the exact utterances specified in the bot's intents. When the bot is ready for full + * testing or to run, the status is READY.

                + *

                If there was a problem with building the bot, the status is FAILED and the + * failureReason field explains why the bot did not build.

                + *

                If the bot was saved but not built, the status is NOT_BUILT.

                + */ + status?: Status | string; /** *

                If status is FAILED, Amazon Lex explains why it failed to build @@ -1162,15 +1187,21 @@ export interface GetBotResponse { failureReason?: string; /** - *

                The version of the bot. For a new bot, the version is always - * $LATEST.

                + *

                The date that the bot was updated. When you create a resource, the creation date and + * last updated date are the same.

                */ - version?: string; + lastUpdatedDate?: Date; /** - *

                An array of intent objects. For more information, see PutBot.

                + *

                The date that the bot was created.

                */ - intents?: Intent[]; + createdDate?: Date; + + /** + *

                The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For + * more information, see PutBot.

                + */ + idleSessionTTLInSeconds?: number; /** *

                The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more @@ -1179,16 +1210,21 @@ export interface GetBotResponse { voiceId?: string; /** - *

                The message that Amazon Lex returns when the user elects to end the conversation without - * completing it. For more information, see PutBot.

                + *

                Checksum of the bot used to identify a specific revision of the bot's + * $LATEST version.

                */ - abortStatement?: Statement; + checksum?: string; /** - *

                Indicates whether the bot uses accuracy improvements. true - * indicates that the bot is using the improvements, otherwise, false.

                + *

                The version of the bot. For a new bot, the version is always + * $LATEST.

                */ - enableModelImprovements?: boolean; + version?: string; + + /** + *

                The target locale for the bot.

                + */ + locale?: Locale | string; /** *

                For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify @@ -1215,43 +1251,10 @@ export interface GetBotResponse { childDirected?: boolean; /** - *

                The name of the bot.

                - */ - name?: string; - - /** - *

                Checksum of the bot used to identify a specific revision of the bot's - * $LATEST version.

                - */ - checksum?: string; - - /** - *

                The status of the bot.

                - *

                When the status is BUILDING Amazon Lex is building the bot for testing and - * use.

                - *

                If the status of the bot is READY_BASIC_TESTING, you can test the bot - * using the exact utterances specified in the bot's intents. When the bot is ready for full - * testing or to run, the status is READY.

                - *

                If there was a problem with building the bot, the status is FAILED and the - * failureReason field explains why the bot did not build.

                - *

                If the bot was saved but not built, the status is NOT_BUILT.

                - */ - status?: Status | string; - - /** - *

                The date that the bot was created.

                - */ - createdDate?: Date; - - /** - *

                The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent, - * AMAZON.KendraSearchIntent, or both when returning alternative intents in a - * PostContent or PostText response. - * AMAZON.FallbackIntent is inserted if the confidence score for all intents is - * below this value. AMAZON.KendraSearchIntent is only inserted if it is configured - * for the bot.

                + *

                Indicates whether user utterances should be sent to Amazon Comprehend for sentiment + * analysis.

                */ - nluIntentConfidenceThreshold?: number; + detectSentiment?: boolean; } export namespace GetBotResponse { @@ -1293,10 +1296,9 @@ export enum LogType { */ export interface LogSettingsResponse { /** - *

                The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 - * bucket.

                + *

                The type of logging that is enabled.

                */ - kmsKeyArn?: string; + logType?: LogType | string; /** *

                The destination where logs are delivered.

                @@ -1304,15 +1306,16 @@ export interface LogSettingsResponse { destination?: Destination | string; /** - *

                The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the - * logs are delivered.

                + *

                The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 + * bucket.

                */ - resourceArn?: string; + kmsKeyArn?: string; /** - *

                The type of logging that is enabled.

                + *

                The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the + * logs are delivered.

                */ - logType?: LogType | string; + resourceArn?: string; /** *

                The resource prefix is the first part of the S3 object key within the S3 bucket that you @@ -1351,36 +1354,21 @@ export namespace ConversationLogsResponse { } export interface GetBotAliasResponse { - /** - *

                Checksum of the bot alias.

                - */ - checksum?: string; - /** *

                The name of the bot alias.

                */ name?: string; /** - *

                The date that the bot alias was created.

                - */ - createdDate?: Date; - - /** - *

                The settings that determine how Amazon Lex uses conversation logs for the alias.

                + *

                A description of the bot alias.

                */ - conversationLogs?: ConversationLogsResponse; + description?: string; /** *

                The version of the bot that the alias points to.

                */ botVersion?: string; - /** - *

                A description of the bot alias.

                - */ - description?: string; - /** *

                The name of the bot that the alias points to.

                */ @@ -1391,6 +1379,21 @@ export interface GetBotAliasResponse { * and the last updated date are the same.

                */ lastUpdatedDate?: Date; + + /** + *

                The date that the bot alias was created.

                + */ + createdDate?: Date; + + /** + *

                Checksum of the bot alias.

                + */ + checksum?: string; + + /** + *

                The settings that determine how Amazon Lex uses conversation logs for the alias.

                + */ + conversationLogs?: ConversationLogsResponse; } export namespace GetBotAliasResponse { @@ -1400,6 +1403,11 @@ export namespace GetBotAliasResponse { } export interface GetBotAliasesRequest { + /** + *

                The name of the bot.

                + */ + botName: string | undefined; + /** *

                A pagination token for fetching the next page of aliases. If the response to this call * is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of @@ -1413,11 +1421,6 @@ export interface GetBotAliasesRequest { */ maxResults?: number; - /** - *

                The name of the bot.

                - */ - botName: string | undefined; - /** *

                Substring to match in bot alias names. An alias will be returned if any part of its * name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

                @@ -1436,9 +1439,9 @@ export namespace GetBotAliasesRequest { */ export interface BotAliasMetadata { /** - *

                Settings that determine how Amazon Lex uses conversation logs for the alias.

                + *

                The name of the bot alias.

                */ - conversationLogs?: ConversationLogsResponse; + name?: string; /** *

                A description of the bot alias.

                @@ -1446,19 +1449,14 @@ export interface BotAliasMetadata { description?: string; /** - *

                The name of the bot alias.

                - */ - name?: string; - - /** - *

                Checksum of the bot alias.

                + *

                The version of the Amazon Lex bot to which the alias points.

                */ - checksum?: string; + botVersion?: string; /** - *

                The date that the bot alias was created.

                + *

                The name of the bot to which the alias points.

                */ - createdDate?: Date; + botName?: string; /** *

                The date that the bot alias was updated. When you create a resource, the creation date @@ -1467,14 +1465,19 @@ export interface BotAliasMetadata { lastUpdatedDate?: Date; /** - *

                The version of the Amazon Lex bot to which the alias points.

                + *

                The date that the bot alias was created.

                */ - botVersion?: string; + createdDate?: Date; /** - *

                The name of the bot to which the alias points.

                + *

                Checksum of the bot alias.

                */ - botName?: string; + checksum?: string; + + /** + *

                Settings that determine how Amazon Lex uses conversation logs for the alias.

                + */ + conversationLogs?: ConversationLogsResponse; } export namespace BotAliasMetadata { @@ -1484,18 +1487,18 @@ export namespace BotAliasMetadata { } export interface GetBotAliasesResponse { + /** + *

                An array of BotAliasMetadata objects, each describing a bot + * alias.

                + */ + BotAliases?: BotAliasMetadata[]; + /** *

                A pagination token for fetching next page of aliases. If the response to this call is * truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of * aliases, specify the pagination token in the next request.

                */ nextToken?: string; - - /** - *

                An array of BotAliasMetadata objects, each describing a bot - * alias.

                - */ - BotAliases?: BotAliasMetadata[]; } export namespace GetBotAliasesResponse { @@ -1505,6 +1508,12 @@ export namespace GetBotAliasesResponse { } export interface GetBotChannelAssociationRequest { + /** + *

                The name of the association between the bot and the channel. The name is case + * sensitive.

                + */ + name: string | undefined; + /** *

                The name of the Amazon Lex bot.

                */ @@ -1515,12 +1524,6 @@ export interface GetBotChannelAssociationRequest { * being made.

                */ botAlias: string | undefined; - - /** - *

                The name of the association between the bot and the channel. The name is case - * sensitive.

                - */ - name: string | undefined; } export namespace GetBotChannelAssociationRequest { @@ -1543,6 +1546,16 @@ export enum ChannelType { } export interface GetBotChannelAssociationResponse { + /** + *

                The name of the association between the bot and the channel.

                + */ + name?: string; + + /** + *

                A description of the association between the bot and the channel.

                + */ + description?: string; + /** *

                An alias pointing to the specific version of the Amazon Lex bot to which this association is * being made.

                @@ -1550,15 +1563,20 @@ export interface GetBotChannelAssociationResponse { botAlias?: string; /** - *

                The name of the association between the bot and the channel.

                + *

                The name of the Amazon Lex bot.

                */ - name?: string; + botName?: string; /** *

                The date that the association between the bot and the channel was created.

                */ createdDate?: Date; + /** + *

                The type of the messaging platform.

                + */ + type?: ChannelType | string; + /** *

                Provides information that the messaging platform needs to communicate with the Amazon Lex * bot.

                @@ -1590,21 +1608,6 @@ export interface GetBotChannelAssociationResponse { * to create the association.

                */ failureReason?: string; - - /** - *

                The type of the messaging platform.

                - */ - type?: ChannelType | string; - - /** - *

                The name of the Amazon Lex bot.

                - */ - botName?: string; - - /** - *

                A description of the association between the bot and the channel.

                - */ - description?: string; } export namespace GetBotChannelAssociationResponse { @@ -1616,23 +1619,15 @@ export namespace GetBotChannelAssociationResponse { export interface GetBotChannelAssociationsRequest { /** - *

                Substring to match in channel association names. An association will be returned if any - * part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." - * To return all bot channel associations, use a hyphen ("-") as the nameContains - * parameter.

                - */ - nameContains?: string; - - /** - *

                The maximum number of associations to return in the response. The default is 50. - *

                + *

                The name of the Amazon Lex bot in the association.

                */ - maxResults?: number; + botName: string | undefined; /** - *

                The name of the Amazon Lex bot in the association.

                + *

                An alias pointing to the specific version of the Amazon Lex bot to which this association is + * being made.

                */ - botName: string | undefined; + botAlias: string | undefined; /** *

                A pagination token for fetching the next page of associations. If the response to this @@ -1642,10 +1637,18 @@ export interface GetBotChannelAssociationsRequest { nextToken?: string; /** - *

                An alias pointing to the specific version of the Amazon Lex bot to which this association is - * being made.

                + *

                The maximum number of associations to return in the response. The default is 50. + *

                */ - botAlias: string | undefined; + maxResults?: number; + + /** + *

                Substring to match in channel association names. An association will be returned if any + * part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." + * To return all bot channel associations, use a hyphen ("-") as the nameContains + * parameter.

                + */ + nameContains?: string; } export namespace GetBotChannelAssociationsRequest { @@ -1660,9 +1663,35 @@ export namespace GetBotChannelAssociationsRequest { */ export interface BotChannelAssociation { /** - *

                Provides information necessary to communicate with the messaging platform.

                + *

                The name of the association between the bot and the channel.

                */ - botConfiguration?: { [key: string]: string }; + name?: string; + + /** + *

                A text description of the association you are creating.

                + */ + description?: string; + + /** + *

                An alias pointing to the specific version of the Amazon Lex bot to which this association is + * being made.

                + */ + botAlias?: string; + + /** + *

                The name of the Amazon Lex bot to which this association is being made.

                + * + *

                Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.

                + * + *
                + */ + botName?: string; + + /** + *

                The date that the association between the Amazon Lex bot and the channel was created. + *

                + */ + createdDate?: Date; /** *

                Specifies the type of association by indicating the type of channel being established @@ -1670,6 +1699,11 @@ export interface BotChannelAssociation { */ type?: ChannelType | string; + /** + *

                Provides information necessary to communicate with the messaging platform.

                + */ + botConfiguration?: { [key: string]: string }; + /** *

                The status of the bot channel.

                *
                  @@ -1695,37 +1729,6 @@ export interface BotChannelAssociation { * to create the association.

                  */ failureReason?: string; - - /** - *

                  The date that the association between the Amazon Lex bot and the channel was created. - *

                  - */ - createdDate?: Date; - - /** - *

                  An alias pointing to the specific version of the Amazon Lex bot to which this association is - * being made.

                  - */ - botAlias?: string; - - /** - *

                  The name of the Amazon Lex bot to which this association is being made.

                  - * - *

                  Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.

                  - * - *
                  - */ - botName?: string; - - /** - *

                  The name of the association between the bot and the channel.

                  - */ - name?: string; - - /** - *

                  A text description of the association you are creating.

                  - */ - description?: string; } export namespace BotChannelAssociation { @@ -1790,37 +1793,37 @@ export namespace GetBotsRequest { *

                  Provides information about a bot. .

                  */ export interface BotMetadata { - /** - *

                  The date that the bot was created.

                  - */ - createdDate?: Date; - /** *

                  The name of the bot.

                  */ name?: string; /** - *

                  The version of the bot. For a new bot, the version is always - * $LATEST.

                  + *

                  A description of the bot.

                  */ - version?: string; + description?: string; /** *

                  The status of the bot.

                  */ status?: Status | string; - /** - *

                  A description of the bot.

                  - */ - description?: string; - /** *

                  The date that the bot was updated. When you create a bot, the creation date and last * updated date are the same.

                  */ lastUpdatedDate?: Date; + + /** + *

                  The date that the bot was created.

                  + */ + createdDate?: Date; + + /** + *

                  The version of the bot. For a new bot, the version is always + * $LATEST.

                  + */ + version?: string; } export namespace BotMetadata { @@ -1830,16 +1833,16 @@ export namespace BotMetadata { } export interface GetBotsResponse { + /** + *

                  An array of botMetadata objects, with one entry for each bot.

                  + */ + bots?: BotMetadata[]; + /** *

                  If the response is truncated, it includes a pagination token that you can specify in * your next request to fetch the next page of bots.

                  */ nextToken?: string; - - /** - *

                  An array of botMetadata objects, with one entry for each bot.

                  - */ - bots?: BotMetadata[]; } export namespace GetBotsResponse { @@ -1849,6 +1852,11 @@ export namespace GetBotsResponse { } export interface GetBotVersionsRequest { + /** + *

                  The name of the bot for which versions should be returned.

                  + */ + name: string | undefined; + /** *

                  A pagination token for fetching the next page of bot versions. If the response to this * call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of @@ -1856,11 +1864,6 @@ export interface GetBotVersionsRequest { */ nextToken?: string; - /** - *

                  The name of the bot for which versions should be returned.

                  - */ - name: string | undefined; - /** *

                  The maximum number of bot versions to return in the response. The default is * 10.

                  @@ -1875,18 +1878,18 @@ export namespace GetBotVersionsRequest { } export interface GetBotVersionsResponse { + /** + *

                  An array of BotMetadata objects, one for each numbered version of the bot + * plus one for the $LATEST version.

                  + */ + bots?: BotMetadata[]; + /** *

                  A pagination token for fetching the next page of bot versions. If the response to this * call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of * versions, specify the pagination token in the next request.

                  */ nextToken?: string; - - /** - *

                  An array of BotMetadata objects, one for each numbered version of the bot - * plus one for the $LATEST version.

                  - */ - bots?: BotMetadata[]; } export namespace GetBotVersionsResponse { @@ -1927,14 +1930,14 @@ export namespace BuiltinIntentSlot { export interface GetBuiltinIntentResponse { /** - *

                  A list of locales that the intent supports.

                  + *

                  The unique identifier for a built-in intent.

                  */ - supportedLocales?: (Locale | string)[]; + signature?: string; /** - *

                  The unique identifier for a built-in intent.

                  + *

                  A list of locales that the intent supports.

                  */ - signature?: string; + supportedLocales?: (Locale | string)[]; /** *

                  An array of BuiltinIntentSlot objects, one entry for each slot type in the @@ -1950,6 +1953,11 @@ export namespace GetBuiltinIntentResponse { } export interface GetBuiltinIntentsRequest { + /** + *

                  A list of locales that the intent supports.

                  + */ + locale?: Locale | string; + /** *

                  Substring to match in built-in intent signatures. An intent will be returned if any * part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and @@ -1957,11 +1965,6 @@ export interface GetBuiltinIntentsRequest { */ signatureContains?: string; - /** - *

                  The maximum number of intents to return in the response. The default is 10.

                  - */ - maxResults?: number; - /** *

                  A pagination token that fetches the next page of intents. If this API call is * truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of @@ -1970,9 +1973,9 @@ export interface GetBuiltinIntentsRequest { nextToken?: string; /** - *

                  A list of locales that the intent supports.

                  + *

                  The maximum number of intents to return in the response. The default is 10.

                  */ - locale?: Locale | string; + maxResults?: number; } export namespace GetBuiltinIntentsRequest { @@ -1985,16 +1988,16 @@ export namespace GetBuiltinIntentsRequest { *

                  Provides metadata for a built-in intent.

                  */ export interface BuiltinIntentMetadata { - /** - *

                  A list of identifiers for the locales that the intent supports.

                  - */ - supportedLocales?: (Locale | string)[]; - /** *

                  A unique identifier for the built-in intent. To find the signature for an intent, see * Standard Built-in Intents in the Alexa Skills Kit.

                  */ signature?: string; + + /** + *

                  A list of identifiers for the locales that the intent supports.

                  + */ + supportedLocales?: (Locale | string)[]; } export namespace BuiltinIntentMetadata { @@ -2026,11 +2029,9 @@ export namespace GetBuiltinIntentsResponse { export interface GetBuiltinSlotTypesRequest { /** - *

                  A pagination token that fetches the next page of slot types. If the response to this - * API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next - * page of slot types, specify the pagination token in the next request.

                  + *

                  A list of locales that the slot type supports.

                  */ - nextToken?: string; + locale?: Locale | string; /** *

                  Substring to match in built-in slot type signatures. A slot type will be returned if @@ -2040,15 +2041,17 @@ export interface GetBuiltinSlotTypesRequest { signatureContains?: string; /** - *

                  The maximum number of slot types to return in the response. The default is - * 10.

                  + *

                  A pagination token that fetches the next page of slot types. If the response to this + * API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next + * page of slot types, specify the pagination token in the next request.

                  */ - maxResults?: number; + nextToken?: string; /** - *

                  A list of locales that the slot type supports.

                  + *

                  The maximum number of slot types to return in the response. The default is + * 10.

                  */ - locale?: Locale | string; + maxResults?: number; } export namespace GetBuiltinSlotTypesRequest { @@ -2061,16 +2064,16 @@ export namespace GetBuiltinSlotTypesRequest { *

                  Provides information about a built in slot type.

                  */ export interface BuiltinSlotTypeMetadata { - /** - *

                  A list of target locales for the slot.

                  - */ - supportedLocales?: (Locale | string)[]; - /** *

                  A unique identifier for the built-in slot type. To find the signature for a slot type, * see Slot Type Reference in the Alexa Skills Kit.

                  */ signature?: string; + + /** + *

                  A list of target locales for the slot.

                  + */ + supportedLocales?: (Locale | string)[]; } export namespace BuiltinSlotTypeMetadata { @@ -2112,9 +2115,9 @@ export enum ResourceType { export interface GetExportRequest { /** - *

                  The format of the exported data.

                  + *

                  The name of the bot to export.

                  */ - exportType: ExportType | string | undefined; + name: string | undefined; /** *

                  The version of the bot to export.

                  @@ -2127,9 +2130,9 @@ export interface GetExportRequest { resourceType: ResourceType | string | undefined; /** - *

                  The name of the bot to export.

                  + *

                  The format of the exported data.

                  */ - name: string | undefined; + exportType: ExportType | string | undefined; } export namespace GetExportRequest { @@ -2151,15 +2154,19 @@ export interface GetExportResponse { name?: string; /** - *

                  The format of the exported data.

                  + *

                  The version of the bot being exported.

                  */ - exportType?: ExportType | string; + version?: string; /** - *

                  If status is FAILED, Amazon Lex provides the reason that it failed - * to export the resource.

                  + *

                  The type of the exported resource.

                  */ - failureReason?: string; + resourceType?: ResourceType | string; + + /** + *

                  The format of the exported data.

                  + */ + exportType?: ExportType | string; /** *

                  The status of the export.

                  @@ -2181,14 +2188,10 @@ export interface GetExportResponse { exportStatus?: ExportStatus | string; /** - *

                  The type of the exported resource.

                  - */ - resourceType?: ResourceType | string; - - /** - *

                  The version of the bot being exported.

                  + *

                  If status is FAILED, Amazon Lex provides the reason that it failed + * to export the resource.

                  */ - version?: string; + failureReason?: string; /** *

                  An S3 pre-signed URL that provides the location of the exported resource. The exported @@ -2229,6 +2232,16 @@ export enum MergeStrategy { } export interface GetImportResponse { + /** + *

                  The name given to the import job.

                  + */ + name?: string; + + /** + *

                  The type of resource imported.

                  + */ + resourceType?: ResourceType | string; + /** *

                  The action taken when there was a conflict between an existing resource and a resource * in the import file.

                  @@ -2241,30 +2254,20 @@ export interface GetImportResponse { importId?: string; /** - *

                  The type of resource imported.

                  + *

                  The status of the import job. If the status is FAILED, you can get the + * reason for the failure from the failureReason field.

                  */ - resourceType?: ResourceType | string; + importStatus?: ImportStatus | string; /** *

                  A string that describes why an import job failed to complete.

                  */ failureReason?: string[]; - /** - *

                  The name given to the import job.

                  - */ - name?: string; - /** *

                  A timestamp for the date and time that the import job was created.

                  */ createdDate?: Date; - - /** - *

                  The status of the import job. If the status is FAILED, you can get the - * reason for the failure from the failureReason field.

                  - */ - importStatus?: ImportStatus | string; } export namespace GetImportResponse { @@ -2275,14 +2278,14 @@ export namespace GetImportResponse { export interface GetIntentRequest { /** - *

                  The version of the intent.

                  + *

                  The name of the intent. The name is case sensitive.

                  */ - version: string | undefined; + name: string | undefined; /** - *

                  The name of the intent. The name is case sensitive.

                  + *

                  The version of the intent.

                  */ - name: string | undefined; + version: string | undefined; } export namespace GetIntentRequest { @@ -2298,26 +2301,19 @@ export interface GetIntentResponse { name?: string; /** - *

                  If the user answers "no" to the question defined in confirmationPrompt, - * Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                  - */ - rejectionStatement?: Statement; - - /** - *

                  If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. - * For more information, see PutIntent.

                  + *

                  A description of the intent.

                  */ - dialogCodeHook?: CodeHook; + description?: string; /** - *

                  The date that the intent was created.

                  + *

                  An array of intent slots configured for the intent.

                  */ - createdDate?: Date; + slots?: Slot[]; /** - *

                  An array of intent slots configured for the intent.

                  + *

                  An array of sample utterances configured for the intent.

                  */ - slots?: Slot[]; + sampleUtterances?: string[]; /** *

                  If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the @@ -2326,15 +2322,16 @@ export interface GetIntentResponse { confirmationPrompt?: Prompt; /** - *

                  A unique identifier for a built-in intent.

                  + *

                  If the user answers "no" to the question defined in confirmationPrompt, + * Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                  */ - parentIntentSignature?: string; + rejectionStatement?: Statement; /** - *

                  Configuration information, if any, to connect to an Amazon Kendra index with the - * AMAZON.KendraSearchIntent intent.

                  + *

                  If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after + * the intent is fulfilled. For more information, see PutIntent.

                  */ - kendraConfiguration?: KendraConfiguration; + followUpPrompt?: FollowUpPrompt; /** *

                  After the Lambda function specified in the fulfillmentActivity element @@ -2343,41 +2340,47 @@ export interface GetIntentResponse { conclusionStatement?: Statement; /** - *

                  A description of the intent.

                  + *

                  If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. + * For more information, see PutIntent.

                  */ - description?: string; + dialogCodeHook?: CodeHook; /** - *

                  Checksum of the intent.

                  + *

                  Describes how the intent is fulfilled. For more information, see PutIntent.

                  */ - checksum?: string; + fulfillmentActivity?: FulfillmentActivity; /** - *

                  The version of the intent.

                  + *

                  A unique identifier for a built-in intent.

                  */ - version?: string; + parentIntentSignature?: string; /** - *

                  An array of sample utterances configured for the intent.

                  + *

                  The date that the intent was updated. When you create a resource, the creation date and + * the last updated date are the same.

                  */ - sampleUtterances?: string[]; + lastUpdatedDate?: Date; /** - *

                  If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after - * the intent is fulfilled. For more information, see PutIntent.

                  + *

                  The date that the intent was created.

                  */ - followUpPrompt?: FollowUpPrompt; + createdDate?: Date; /** - *

                  The date that the intent was updated. When you create a resource, the creation date and - * the last updated date are the same.

                  + *

                  The version of the intent.

                  */ - lastUpdatedDate?: Date; + version?: string; /** - *

                  Describes how the intent is fulfilled. For more information, see PutIntent.

                  + *

                  Checksum of the intent.

                  */ - fulfillmentActivity?: FulfillmentActivity; + checksum?: string; + + /** + *

                  Configuration information, if any, to connect to an Amazon Kendra index with the + * AMAZON.KendraSearchIntent intent.

                  + */ + kendraConfiguration?: KendraConfiguration; } export namespace GetIntentResponse { @@ -2388,10 +2391,11 @@ export namespace GetIntentResponse { export interface GetIntentsRequest { /** - *

                  Substring to match in intent names. An intent will be returned if any part of its name - * matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

                  + *

                  A pagination token that fetches the next page of intents. If the response to this API + * call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of + * intents, specify the pagination token in the next request.

                  */ - nameContains?: string; + nextToken?: string; /** *

                  The maximum number of intents to return in the response. The default is 10.

                  @@ -2399,11 +2403,10 @@ export interface GetIntentsRequest { maxResults?: number; /** - *

                  A pagination token that fetches the next page of intents. If the response to this API - * call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of - * intents, specify the pagination token in the next request.

                  + *

                  Substring to match in intent names. An intent will be returned if any part of its name + * matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

                  */ - nextToken?: string; + nameContains?: string; } export namespace GetIntentsRequest { @@ -2417,30 +2420,30 @@ export namespace GetIntentsRequest { */ export interface IntentMetadata { /** - *

                  The date that the intent was updated. When you create an intent, the creation date and - * last updated date are the same.

                  + *

                  The name of the intent.

                  */ - lastUpdatedDate?: Date; + name?: string; /** - *

                  The version of the intent.

                  + *

                  A description of the intent.

                  */ - version?: string; + description?: string; /** - *

                  The date that the intent was created.

                  + *

                  The date that the intent was updated. When you create an intent, the creation date and + * last updated date are the same.

                  */ - createdDate?: Date; + lastUpdatedDate?: Date; /** - *

                  A description of the intent.

                  + *

                  The date that the intent was created.

                  */ - description?: string; + createdDate?: Date; /** - *

                  The name of the intent.

                  + *

                  The version of the intent.

                  */ - name?: string; + version?: string; } export namespace IntentMetadata { @@ -2451,15 +2454,15 @@ export namespace IntentMetadata { export interface GetIntentsResponse { /** - *

                  If the response is truncated, the response includes a pagination token that you can - * specify in your next request to fetch the next page of intents.

                  + *

                  An array of Intent objects. For more information, see PutBot.

                  */ - nextToken?: string; + intents?: IntentMetadata[]; /** - *

                  An array of Intent objects. For more information, see PutBot.

                  + *

                  If the response is truncated, the response includes a pagination token that you can + * specify in your next request to fetch the next page of intents.

                  */ - intents?: IntentMetadata[]; + nextToken?: string; } export namespace GetIntentsResponse { @@ -2470,10 +2473,9 @@ export namespace GetIntentsResponse { export interface GetIntentVersionsRequest { /** - *

                  The maximum number of intent versions to return in the response. The default is - * 10.

                  + *

                  The name of the intent for which versions should be returned.

                  */ - maxResults?: number; + name: string | undefined; /** *

                  A pagination token for fetching the next page of intent versions. If the response to @@ -2483,9 +2485,10 @@ export interface GetIntentVersionsRequest { nextToken?: string; /** - *

                  The name of the intent for which versions should be returned.

                  + *

                  The maximum number of intent versions to return in the response. The default is + * 10.

                  */ - name: string | undefined; + maxResults?: number; } export namespace GetIntentVersionsRequest { @@ -2495,18 +2498,18 @@ export namespace GetIntentVersionsRequest { } export interface GetIntentVersionsResponse { + /** + *

                  An array of IntentMetadata objects, one for each numbered version of the + * intent plus one for the $LATEST version.

                  + */ + intents?: IntentMetadata[]; + /** *

                  A pagination token for fetching the next page of intent versions. If the response to * this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next * page of versions, specify the pagination token in the next request.

                  */ nextToken?: string; - - /** - *

                  An array of IntentMetadata objects, one for each numbered version of the - * intent plus one for the $LATEST version.

                  - */ - intents?: IntentMetadata[]; } export namespace GetIntentVersionsResponse { @@ -2517,14 +2520,14 @@ export namespace GetIntentVersionsResponse { export interface GetSlotTypeRequest { /** - *

                  The version of the slot type.

                  + *

                  The name of the slot type. The name is case sensitive.

                  */ - version: string | undefined; + name: string | undefined; /** - *

                  The name of the slot type. The name is case sensitive.

                  + *

                  The version of the slot type.

                  */ - name: string | undefined; + version: string | undefined; } export namespace GetSlotTypeRequest { @@ -2535,20 +2538,26 @@ export namespace GetSlotTypeRequest { export interface GetSlotTypeResponse { /** - *

                  The version of the slot type.

                  + *

                  The name of the slot type.

                  */ - version?: string; + name?: string; /** - *

                  The date that the slot type was updated. When you create a resource, the creation date - * and last update date are the same.

                  + *

                  A description of the slot type.

                  */ - lastUpdatedDate?: Date; + description?: string; /** - *

                  The built-in slot type used as a parent for the slot type.

                  + *

                  A list of EnumerationValue objects that defines the values that the slot + * type can take.

                  */ - parentSlotTypeSignature?: string; + enumerationValues?: EnumerationValue[]; + + /** + *

                  The date that the slot type was updated. When you create a resource, the creation date + * and last update date are the same.

                  + */ + lastUpdatedDate?: Date; /** *

                  The date that the slot type was created.

                  @@ -2556,15 +2565,14 @@ export interface GetSlotTypeResponse { createdDate?: Date; /** - *

                  A description of the slot type.

                  + *

                  The version of the slot type.

                  */ - description?: string; + version?: string; /** - *

                  A list of EnumerationValue objects that defines the values that the slot - * type can take.

                  + *

                  Checksum of the $LATEST version of the slot type.

                  */ - enumerationValues?: EnumerationValue[]; + checksum?: string; /** *

                  The strategy that Amazon Lex uses to determine the value of the slot. For more information, @@ -2573,19 +2581,14 @@ export interface GetSlotTypeResponse { valueSelectionStrategy?: SlotValueSelectionStrategy | string; /** - *

                  Configuration information that extends the parent built-in slot type.

                  - */ - slotTypeConfigurations?: SlotTypeConfiguration[]; - - /** - *

                  The name of the slot type.

                  + *

                  The built-in slot type used as a parent for the slot type.

                  */ - name?: string; + parentSlotTypeSignature?: string; /** - *

                  Checksum of the $LATEST version of the slot type.

                  + *

                  Configuration information that extends the parent built-in slot type.

                  */ - checksum?: string; + slotTypeConfigurations?: SlotTypeConfiguration[]; } export namespace GetSlotTypeResponse { @@ -2602,17 +2605,17 @@ export interface GetSlotTypesRequest { */ nextToken?: string; - /** - *

                  Substring to match in slot type names. A slot type will be returned if any part of its - * name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

                  - */ - nameContains?: string; - /** *

                  The maximum number of slot types to return in the response. The default is * 10.

                  */ maxResults?: number; + + /** + *

                  Substring to match in slot type names. A slot type will be returned if any part of its + * name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

                  + */ + nameContains?: string; } export namespace GetSlotTypesRequest { @@ -2626,14 +2629,14 @@ export namespace GetSlotTypesRequest { */ export interface SlotTypeMetadata { /** - *

                  The date that the slot type was created.

                  + *

                  The name of the slot type.

                  */ - createdDate?: Date; + name?: string; /** - *

                  The version of the slot type.

                  + *

                  A description of the slot type.

                  */ - version?: string; + description?: string; /** *

                  The date that the slot type was updated. When you create a resource, the creation date @@ -2642,14 +2645,14 @@ export interface SlotTypeMetadata { lastUpdatedDate?: Date; /** - *

                  A description of the slot type.

                  + *

                  The date that the slot type was created.

                  */ - description?: string; + createdDate?: Date; /** - *

                  The name of the slot type.

                  + *

                  The version of the slot type.

                  */ - name?: string; + version?: string; } export namespace SlotTypeMetadata { @@ -2679,6 +2682,11 @@ export namespace GetSlotTypesResponse { } export interface GetSlotTypeVersionsRequest { + /** + *

                  The name of the slot type for which versions should be returned.

                  + */ + name: string | undefined; + /** *

                  A pagination token for fetching the next page of slot type versions. If the response to * this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next @@ -2691,11 +2699,6 @@ export interface GetSlotTypeVersionsRequest { * 10.

                  */ maxResults?: number; - - /** - *

                  The name of the slot type for which versions should be returned.

                  - */ - name: string | undefined; } export namespace GetSlotTypeVersionsRequest { @@ -2736,17 +2739,17 @@ export interface GetUtterancesViewRequest { */ botName: string | undefined; - /** - *

                  To return utterances that were recognized and handled, use Detected. To - * return utterances that were not recognized, use Missed.

                  - */ - statusType: StatusType | string | undefined; - /** *

                  An array of bot versions for which utterance information should be returned. The limit * is 5 versions per request.

                  */ botVersions: string[] | undefined; + + /** + *

                  To return utterances that were recognized and handled, use Detected. To + * return utterances that were not recognized, use Missed.

                  + */ + statusType: StatusType | string | undefined; } export namespace GetUtterancesViewRequest { @@ -2765,11 +2768,6 @@ export interface UtteranceData { */ utteranceString?: string; - /** - *

                  The date that the utterance was last recorded.

                  - */ - lastUtteredDate?: Date; - /** *

                  The number of times that the utterance was processed.

                  */ @@ -2784,6 +2782,11 @@ export interface UtteranceData { *

                  The date that the utterance was first recorded.

                  */ firstUtteredDate?: Date; + + /** + *

                  The date that the utterance was last recorded.

                  + */ + lastUtteredDate?: Date; } export namespace UtteranceData { @@ -2816,17 +2819,17 @@ export namespace UtteranceList { } export interface GetUtterancesViewResponse { + /** + *

                  The name of the bot for which utterance information was returned.

                  + */ + botName?: string; + /** *

                  An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot. * The response contains a maximum of 100 UtteranceData objects for each version. * Amazon Lex returns the most frequent utterances received by the bot in the last 15 days.

                  */ utterances?: UtteranceList[]; - - /** - *

                  The name of the bot for which utterance information was returned.

                  - */ - botName?: string; } export namespace GetUtterancesViewResponse { @@ -2855,15 +2858,15 @@ export namespace ListTagsForResourceRequest { */ export interface Tag { /** - *

                  The value associated with a key. The value may be an empty string but it can't be - * null.

                  + *

                  The key for the tag. Keys are not case-sensitive and must be unique.

                  */ - value: string | undefined; + key: string | undefined; /** - *

                  The key for the tag. Keys are not case-sensitive and must be unique.

                  + *

                  The value associated with a key. The value may be an empty string but it can't be + * null.

                  */ - key: string | undefined; + value: string | undefined; } export namespace Tag { @@ -2892,96 +2895,15 @@ export enum ProcessBehavior { export interface PutBotRequest { /** - *

                  When Amazon Lex doesn't understand the user's intent, it uses this message to get - * clarification. To specify how many times Amazon Lex should repeat the clarification prompt, use the - * maxAttempts field. If Amazon Lex still doesn't understand, it sends the message in - * the abortStatement field.

                  - *

                  When you create a clarification prompt, make sure that it suggests the correct response - * from the user. for example, for a bot that orders pizza and drinks, you might create this - * clarification prompt: "What would you like to do? You can say 'Order a pizza' or 'Order a - * drink.'"

                  - *

                  If you have defined a fallback intent, it will be invoked if the clarification prompt is - * repeated the number of times defined in the maxAttempts field. For more - * information, see AMAZON.FallbackIntent.

                  - *

                  If you don't define a clarification prompt, at runtime Amazon Lex will return a 400 Bad Request - * exception in three cases:

                  - *
                    - *
                  • - *

                    Follow-up prompt - When the user responds to a follow-up prompt but does not provide - * an intent. For example, in response to a follow-up prompt that says "Would you like - * anything else today?" the user says "Yes." Amazon Lex will return a 400 Bad Request exception - * because it does not have a clarification prompt to send to the user to get an - * intent.

                    - *
                  • - *
                  • - *

                    Lambda function - When using a Lambda function, you return an - * ElicitIntent dialog type. Since Amazon Lex does not have a clarification prompt - * to get an intent from the user, it returns a 400 Bad Request exception.

                    - *
                  • - *
                  • - *

                    PutSession operation - When using the PutSession operation, you send an - * ElicitIntent dialog type. Since Amazon Lex does not have a clarification prompt - * to get an intent from the user, it returns a 400 Bad Request exception.

                    - *
                  • - *
                  + *

                  The name of the bot. The name is not case sensitive.

                  */ - clarificationPrompt?: Prompt; + name: string | undefined; /** *

                  A description of the bot.

                  */ description?: string; - /** - *

                  The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the - * user. The locale configured for the voice must match the locale of the bot. For more - * information, see Voices in Amazon Polly in the Amazon Polly Developer - * Guide.

                  - */ - voiceId?: string; - - /** - *

                  When set to true user utterances are sent to Amazon Comprehend for sentiment - * analysis. If you don't specify detectSentiment, the default is - * false.

                  - */ - detectSentiment?: boolean; - - /** - *

                  Identifies a specific revision of the $LATEST version.

                  - *

                  When you create a new bot, leave the checksum field blank. If you specify - * a checksum you get a BadRequestException exception.

                  - *

                  When you want to update a bot, set the checksum field to the checksum of - * the most recent revision of the $LATEST version. If you don't specify the - * checksum field, or if the checksum does not match the $LATEST version, - * you get a PreconditionFailedException exception.

                  - */ - checksum?: string; - - /** - *

                  For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify - * whether your use of Amazon Lex is related to a website, program, or other application that is - * directed or targeted, in whole or in part, to children under age 13 and subject to the - * Children's Online Privacy Protection Act (COPPA) by specifying true or - * false in the childDirected field. By specifying true - * in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is - * directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By - * specifying false in the childDirected field, you confirm that your - * use of Amazon Lex is not related to a website, program, or other - * application that is directed or targeted, in whole or in part, to children under age 13 and - * subject to COPPA. You may not specify a default value for the childDirected field - * that does not accurately reflect whether your use of Amazon Lex is related to a website, program, - * or other application that is directed or targeted, in whole or in part, to children under age - * 13 and subject to COPPA.

                  - *

                  If your use of Amazon Lex relates to a website, program, or other application that is - * directed in whole or in part, to children under age 13, you must obtain any required - * verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in - * connection with websites, programs, or other applications that are directed or targeted, in - * whole or in part, to children under age 13, see the Amazon Lex FAQ. - *

                  - */ - childDirected: boolean | undefined; - /** *

                  An array of Intent objects. Each intent represents a command that a user * can express. For example, a pizza ordering bot might support an OrderPizza intent. For more @@ -2989,23 +2911,6 @@ export interface PutBotRequest { */ intents?: Intent[]; - /** - *

                  The maximum time in seconds that Amazon Lex retains the data gathered in a - * conversation.

                  - *

                  A user interaction session remains active for the amount of time specified. If no - * conversation occurs during this time, the session expires and Amazon Lex deletes any data provided - * before the timeout.

                  - *

                  For example, suppose that a user chooses the OrderPizza intent, but gets sidetracked - * halfway through placing an order. If the user doesn't complete the order within the specified - * time, Amazon Lex discards the slot information that it gathered, and the user must start - * over.

                  - *

                  If you don't include the idleSessionTTLInSeconds element in a - * PutBot operation request, Amazon Lex uses the default value. This is also true if - * the request replaces an existing bot.

                  - *

                  The default is 300 seconds (5 minutes).

                  - */ - idleSessionTTLInSeconds?: number; - /** *

                  Set to true to enable access to natural language understanding improvements. *

                  @@ -3050,14 +2955,6 @@ export interface PutBotRequest { */ enableModelImprovements?: boolean; - /** - *

                  If you set the processBehavior element to BUILD, Amazon Lex builds - * the bot so that it can be run. If you set the element to SAVE Amazon Lex saves the - * bot, but doesn't build it.

                  - *

                  If you don't specify this value, the default value is BUILD.

                  - */ - processBehavior?: ProcessBehavior | string; - /** *

                  Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, * AMAZON.KendraSearchIntent, or both when returning alternative intents in a @@ -3103,6 +3000,42 @@ export interface PutBotRequest { */ nluIntentConfidenceThreshold?: number; + /** + *

                  When Amazon Lex doesn't understand the user's intent, it uses this message to get + * clarification. To specify how many times Amazon Lex should repeat the clarification prompt, use the + * maxAttempts field. If Amazon Lex still doesn't understand, it sends the message in + * the abortStatement field.

                  + *

                  When you create a clarification prompt, make sure that it suggests the correct response + * from the user. for example, for a bot that orders pizza and drinks, you might create this + * clarification prompt: "What would you like to do? You can say 'Order a pizza' or 'Order a + * drink.'"

                  + *

                  If you have defined a fallback intent, it will be invoked if the clarification prompt is + * repeated the number of times defined in the maxAttempts field. For more + * information, see AMAZON.FallbackIntent.

                  + *

                  If you don't define a clarification prompt, at runtime Amazon Lex will return a 400 Bad Request + * exception in three cases:

                  + *
                    + *
                  • + *

                    Follow-up prompt - When the user responds to a follow-up prompt but does not provide + * an intent. For example, in response to a follow-up prompt that says "Would you like + * anything else today?" the user says "Yes." Amazon Lex will return a 400 Bad Request exception + * because it does not have a clarification prompt to send to the user to get an + * intent.

                    + *
                  • + *
                  • + *

                    Lambda function - When using a Lambda function, you return an + * ElicitIntent dialog type. Since Amazon Lex does not have a clarification prompt + * to get an intent from the user, it returns a 400 Bad Request exception.

                    + *
                  • + *
                  • + *

                    PutSession operation - When using the PutSession operation, you send an + * ElicitIntent dialog type. Since Amazon Lex does not have a clarification prompt + * to get an intent from the user, it returns a 400 Bad Request exception.

                    + *
                  • + *
                  + */ + clarificationPrompt?: Prompt; + /** *

                  When Amazon Lex can't understand the user's input in context, it tries to elicit the * information a few times. After that, Amazon Lex sends the message defined in @@ -3121,16 +3054,48 @@ export interface PutBotRequest { abortStatement?: Statement; /** - *

                  The name of the bot. The name is not case sensitive.

                  + *

                  The maximum time in seconds that Amazon Lex retains the data gathered in a + * conversation.

                  + *

                  A user interaction session remains active for the amount of time specified. If no + * conversation occurs during this time, the session expires and Amazon Lex deletes any data provided + * before the timeout.

                  + *

                  For example, suppose that a user chooses the OrderPizza intent, but gets sidetracked + * halfway through placing an order. If the user doesn't complete the order within the specified + * time, Amazon Lex discards the slot information that it gathered, and the user must start + * over.

                  + *

                  If you don't include the idleSessionTTLInSeconds element in a + * PutBot operation request, Amazon Lex uses the default value. This is also true if + * the request replaces an existing bot.

                  + *

                  The default is 300 seconds (5 minutes).

                  */ - name: string | undefined; + idleSessionTTLInSeconds?: number; /** - *

                  A list of tags to add to the bot. You can only add tags when you create a bot, you can't - * use the PutBot operation to update the tags on a bot. To update tags, use the - * TagResource operation.

                  + *

                  The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the + * user. The locale configured for the voice must match the locale of the bot. For more + * information, see Voices in Amazon Polly in the Amazon Polly Developer + * Guide.

                  */ - tags?: Tag[]; + voiceId?: string; + + /** + *

                  Identifies a specific revision of the $LATEST version.

                  + *

                  When you create a new bot, leave the checksum field blank. If you specify + * a checksum you get a BadRequestException exception.

                  + *

                  When you want to update a bot, set the checksum field to the checksum of + * the most recent revision of the $LATEST version. If you don't specify the + * checksum field, or if the checksum does not match the $LATEST version, + * you get a PreconditionFailedException exception.

                  + */ + checksum?: string; + + /** + *

                  If you set the processBehavior element to BUILD, Amazon Lex builds + * the bot so that it can be run. If you set the element to SAVE Amazon Lex saves the + * bot, but doesn't build it.

                  + *

                  If you don't specify this value, the default value is BUILD.

                  + */ + processBehavior?: ProcessBehavior | string; /** *

                  Specifies the target locale for the bot. Any intent used in the bot must be compatible @@ -3140,12 +3105,50 @@ export interface PutBotRequest { */ locale: Locale | string | undefined; + /** + *

                  For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify + * whether your use of Amazon Lex is related to a website, program, or other application that is + * directed or targeted, in whole or in part, to children under age 13 and subject to the + * Children's Online Privacy Protection Act (COPPA) by specifying true or + * false in the childDirected field. By specifying true + * in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is + * directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By + * specifying false in the childDirected field, you confirm that your + * use of Amazon Lex is not related to a website, program, or other + * application that is directed or targeted, in whole or in part, to children under age 13 and + * subject to COPPA. You may not specify a default value for the childDirected field + * that does not accurately reflect whether your use of Amazon Lex is related to a website, program, + * or other application that is directed or targeted, in whole or in part, to children under age + * 13 and subject to COPPA.

                  + *

                  If your use of Amazon Lex relates to a website, program, or other application that is + * directed in whole or in part, to children under age 13, you must obtain any required + * verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in + * connection with websites, programs, or other applications that are directed or targeted, in + * whole or in part, to children under age 13, see the Amazon Lex FAQ. + *

                  + */ + childDirected: boolean | undefined; + + /** + *

                  When set to true user utterances are sent to Amazon Comprehend for sentiment + * analysis. If you don't specify detectSentiment, the default is + * false.

                  + */ + detectSentiment?: boolean; + /** *

                  When set to true a new numbered version of the bot is created. This is the * same as calling the CreateBotVersion operation. If you don't specify * createVersion, the default is false.

                  */ createVersion?: boolean; + + /** + *

                  A list of tags to add to the bot. You can only add tags when you create a bot, you can't + * use the PutBot operation to update the tags on a bot. To update tags, use the + * TagResource operation.

                  + */ + tags?: Tag[]; } export namespace PutBotRequest { @@ -3155,6 +3158,27 @@ export namespace PutBotRequest { } export interface PutBotResponse { + /** + *

                  The name of the bot.

                  + */ + name?: string; + + /** + *

                  A description of the bot.

                  + */ + description?: string; + + /** + *

                  An array of Intent objects. For more information, see PutBot.

                  + */ + intents?: Intent[]; + + /** + *

                  Indicates whether the bot uses accuracy improvements. true + * indicates that the bot is using the improvements, otherwise, false.

                  + */ + enableModelImprovements?: boolean; + /** *

                  The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent, * AMAZON.KendraSearchIntent, or both when returning alternative intents in a @@ -3166,34 +3190,37 @@ export interface PutBotResponse { nluIntentConfidenceThreshold?: number; /** - *

                  - * True if a new version of the bot was created. If the - * createVersion field was not specified in the request, the - * createVersion field is set to false in the response.

                  - */ - createVersion?: boolean; - - /** - *

                  The target locale for the bot.

                  + *

                  The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more + * information, see PutBot.

                  */ - locale?: Locale | string; + clarificationPrompt?: Prompt; /** - *

                  The maximum length of time that Amazon Lex retains the data gathered in a conversation. For - * more information, see PutBot.

                  + *

                  The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.

                  */ - idleSessionTTLInSeconds?: number; + abortStatement?: Statement; /** - *

                  The version of the bot. For a new bot, the version is always - * $LATEST.

                  + *

                  When you send a request to create a bot with processBehavior set to + * BUILD, Amazon Lex sets the status response element to + * BUILDING.

                  + *

                  In the READY_BASIC_TESTING state you can test the bot with user inputs + * that exactly match the utterances configured for the bot's intents and values in the slot + * types.

                  + *

                  If Amazon Lex can't build the bot, Amazon Lex sets status to FAILED. + * Amazon Lex returns the reason for the failure in the failureReason response element.

                  + *

                  When you set processBehavior to SAVE, Amazon Lex sets the status + * code to NOT BUILT.

                  + *

                  When the bot is in the READY state you can test and publish the + * bot.

                  */ - version?: string; + status?: Status | string; /** - *

                  An array of Intent objects. For more information, see PutBot.

                  + *

                  If status is FAILED, Amazon Lex provides the reason that it failed + * to build the bot.

                  */ - intents?: Intent[]; + failureReason?: string; /** *

                  The date that the bot was updated. When you create a resource, the creation date and @@ -3202,28 +3229,15 @@ export interface PutBotResponse { lastUpdatedDate?: Date; /** - *

                  A description of the bot.

                  - */ - description?: string; - - /** - *

                  A list of tags associated with the bot.

                  - */ - tags?: Tag[]; - - /** - *

                  - * true if the bot is configured to send user utterances to Amazon Comprehend - * for sentiment analysis. If the detectSentiment field was not specified in the - * request, the detectSentiment field is false in the response.

                  + *

                  The date that the bot was created.

                  */ - detectSentiment?: boolean; + createdDate?: Date; /** - *

                  The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more - * information, see PutBot.

                  + *

                  The maximum length of time that Amazon Lex retains the data gathered in a conversation. For + * more information, see PutBot.

                  */ - clarificationPrompt?: Prompt; + idleSessionTTLInSeconds?: number; /** *

                  The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more @@ -3232,25 +3246,20 @@ export interface PutBotResponse { voiceId?: string; /** - *

                  The date that the bot was created.

                  + *

                  Checksum of the bot that you created.

                  */ - createdDate?: Date; + checksum?: string; /** - *

                  When you send a request to create a bot with processBehavior set to - * BUILD, Amazon Lex sets the status response element to - * BUILDING.

                  - *

                  In the READY_BASIC_TESTING state you can test the bot with user inputs - * that exactly match the utterances configured for the bot's intents and values in the slot - * types.

                  - *

                  If Amazon Lex can't build the bot, Amazon Lex sets status to FAILED. - * Amazon Lex returns the reason for the failure in the failureReason response element.

                  - *

                  When you set processBehavior to SAVE, Amazon Lex sets the status - * code to NOT BUILT.

                  - *

                  When the bot is in the READY state you can test and publish the - * bot.

                  + *

                  The version of the bot. For a new bot, the version is always + * $LATEST.

                  */ - status?: Status | string; + version?: string; + + /** + *

                  The target locale for the bot.

                  + */ + locale?: Locale | string; /** *

                  For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify @@ -3277,31 +3286,25 @@ export interface PutBotResponse { childDirected?: boolean; /** - *

                  If status is FAILED, Amazon Lex provides the reason that it failed - * to build the bot.

                  + *

                  + * True if a new version of the bot was created. If the + * createVersion field was not specified in the request, the + * createVersion field is set to false in the response.

                  */ - failureReason?: string; + createVersion?: boolean; /** - *

                  Indicates whether the bot uses accuracy improvements. true - * indicates that the bot is using the improvements, otherwise, false.

                  - */ - enableModelImprovements?: boolean; - - /** - *

                  The name of the bot.

                  - */ - name?: string; - - /** - *

                  Checksum of the bot that you created.

                  + *

                  + * true if the bot is configured to send user utterances to Amazon Comprehend + * for sentiment analysis. If the detectSentiment field was not specified in the + * request, the detectSentiment field is false in the response.

                  */ - checksum?: string; + detectSentiment?: boolean; /** - *

                  The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.

                  + *

                  A list of tags associated with the bot.

                  */ - abortStatement?: Statement; + tags?: Tag[]; } export namespace PutBotResponse { @@ -3315,22 +3318,16 @@ export namespace PutBotResponse { */ export interface LogSettingsRequest { /** - *

                  Where the logs will be delivered. Text logs are delivered to a CloudWatch Logs log group. + *

                  The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group. * Audio logs are delivered to an S3 bucket.

                  */ - destination: Destination | string | undefined; - - /** - *

                  The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the - * logs should be delivered.

                  - */ - resourceArn: string | undefined; + logType: LogType | string | undefined; /** - *

                  The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group. + *

                  Where the logs will be delivered. Text logs are delivered to a CloudWatch Logs log group. * Audio logs are delivered to an S3 bucket.

                  */ - logType: LogType | string | undefined; + destination: Destination | string | undefined; /** *

                  The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio @@ -3338,6 +3335,12 @@ export interface LogSettingsRequest { * S3 buckets.

                  */ kmsKeyArn?: string; + + /** + *

                  The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the + * logs should be delivered.

                  + */ + resourceArn: string | undefined; } export namespace LogSettingsRequest { @@ -3374,24 +3377,24 @@ export namespace ConversationLogsRequest { export interface PutBotAliasRequest { /** - *

                  The name of the bot.

                  + *

                  The name of the alias. The name is not case sensitive.

                  */ - botName: string | undefined; + name: string | undefined; /** - *

                  Settings for conversation logs for the alias.

                  + *

                  A description of the alias.

                  */ - conversationLogs?: ConversationLogsRequest; + description?: string; /** - *

                  A description of the alias.

                  + *

                  The version of the bot.

                  */ - description?: string; + botVersion: string | undefined; /** - *

                  The name of the alias. The name is not case sensitive.

                  + *

                  The name of the bot.

                  */ - name: string | undefined; + botName: string | undefined; /** *

                  Identifies a specific revision of the $LATEST version.

                  @@ -3404,17 +3407,17 @@ export interface PutBotAliasRequest { */ checksum?: string; + /** + *

                  Settings for conversation logs for the alias.

                  + */ + conversationLogs?: ConversationLogsRequest; + /** *

                  A list of tags to add to the bot alias. You can only add tags when you create an alias, * you can't use the PutBotAlias operation to update the tags on a bot alias. To * update tags, use the TagResource operation.

                  */ tags?: Tag[]; - - /** - *

                  The version of the bot.

                  - */ - botVersion: string | undefined; } export namespace PutBotAliasRequest { @@ -3425,19 +3428,14 @@ export namespace PutBotAliasRequest { export interface PutBotAliasResponse { /** - *

                  A description of the alias.

                  - */ - description?: string; - - /** - *

                  The settings that determine how Amazon Lex uses conversation logs for the alias.

                  + *

                  The name of the alias.

                  */ - conversationLogs?: ConversationLogsResponse; + name?: string; /** - *

                  A list of tags associated with a bot.

                  + *

                  A description of the alias.

                  */ - tags?: Tag[]; + description?: string; /** *

                  The version of the bot that the alias points to.

                  @@ -3445,14 +3443,15 @@ export interface PutBotAliasResponse { botVersion?: string; /** - *

                  The name of the alias.

                  + *

                  The name of the bot that the alias points to.

                  */ - name?: string; + botName?: string; /** - *

                  The checksum for the current version of the alias.

                  + *

                  The date that the bot alias was updated. When you create a resource, the creation date + * and the last updated date are the same.

                  */ - checksum?: string; + lastUpdatedDate?: Date; /** *

                  The date that the bot alias was created.

                  @@ -3460,15 +3459,19 @@ export interface PutBotAliasResponse { createdDate?: Date; /** - *

                  The date that the bot alias was updated. When you create a resource, the creation date - * and the last updated date are the same.

                  + *

                  The checksum for the current version of the alias.

                  */ - lastUpdatedDate?: Date; + checksum?: string; /** - *

                  The name of the bot that the alias points to.

                  + *

                  The settings that determine how Amazon Lex uses conversation logs for the alias.

                  */ - botName?: string; + conversationLogs?: ConversationLogsResponse; + + /** + *

                  A list of tags associated with a bot.

                  + */ + tags?: Tag[]; } export namespace PutBotAliasResponse { @@ -3478,79 +3481,6 @@ export namespace PutBotAliasResponse { } export interface PutIntentRequest { - /** - *

                  The statement that you want Amazon Lex to convey to the user after the intent is - * successfully fulfilled by the Lambda function.

                  - *

                  This element is relevant only if you provide a Lambda function in the - * fulfillmentActivity. If you return the intent to the client application, you - * can't specify this element.

                  - * - *

                  The followUpPrompt and conclusionStatement are mutually - * exclusive. You can specify only one.

                  - *
                  - */ - conclusionStatement?: Statement; - - /** - *

                  When set to true a new numbered version of the intent is created. This is - * the same as calling the CreateIntentVersion operation. If you do not specify - * createVersion, the default is false.

                  - */ - createVersion?: boolean; - - /** - *

                  An array of utterances (strings) that a user might say to signal the intent. For - * example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas".

                  - * - *

                  In each utterance, a slot name is enclosed in curly braces.

                  - */ - sampleUtterances?: string[]; - - /** - *

                  When the user answers "no" to the question defined in confirmationPrompt, - * Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                  - * - *

                  You must provide both the rejectionStatement and the - * confirmationPrompt, or neither.

                  - *
                  - */ - rejectionStatement?: Statement; - - /** - *

                  A unique identifier for the built-in intent to base this intent on. To find the - * signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.

                  - */ - parentIntentSignature?: string; - - /** - *

                  An array of intent slots. At runtime, Amazon Lex elicits required slot values from the user - * using prompts defined in the slots. For more information, see how-it-works. - *

                  - */ - slots?: Slot[]; - - /** - *

                  Specifies a Lambda function to invoke for each user input. You can invoke this Lambda - * function to personalize user interaction.

                  - *

                  For example, suppose your bot determines that the user is John. Your Lambda function - * might retrieve John's information from a backend database and prepopulate some of the values. - * For example, if you find that John is gluten intolerant, you might set the corresponding - * intent slot, GlutenIntolerant, to true. You might find John's phone number and - * set the corresponding session attribute.

                  - */ - dialogCodeHook?: CodeHook; - - /** - *

                  Identifies a specific revision of the $LATEST version.

                  - *

                  When you create a new intent, leave the checksum field blank. If you - * specify a checksum you get a BadRequestException exception.

                  - *

                  When you want to update a intent, set the checksum field to the checksum - * of the most recent revision of the $LATEST version. If you don't specify the - * checksum field, or if the checksum does not match the $LATEST - * version, you get a PreconditionFailedException exception.

                  - */ - checksum?: string; - /** *

                  The name of the intent. The name is not case sensitive.

                  *

                  The name can't match a built-in intent name, or a built-in intent name with "AMAZON." @@ -3562,26 +3492,24 @@ export interface PutIntentRequest { name: string | undefined; /** - *

                  Configuration information required to use the AMAZON.KendraSearchIntent - * intent to connect to an Amazon Kendra index. For more information, see - * AMAZON.KendraSearchIntent.

                  + *

                  A description of the intent.

                  */ - kendraConfiguration?: KendraConfiguration; + description?: string; /** - *

                  Required. Describes how the intent is fulfilled. For example, after a user provides all - * of the information for a pizza order, fulfillmentActivity defines how the bot - * places an order with a local pizza store.

                  - *

                  You might configure Amazon Lex to return all of the intent information to the client - * application, or direct it to invoke a Lambda function that can process the intent (for - * example, place an order with a pizzeria).

                  + *

                  An array of intent slots. At runtime, Amazon Lex elicits required slot values from the user + * using prompts defined in the slots. For more information, see how-it-works. + *

                  */ - fulfillmentActivity?: FulfillmentActivity; + slots?: Slot[]; /** - *

                  A description of the intent.

                  + *

                  An array of utterances (strings) that a user might say to signal the intent. For + * example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas".

                  + * + *

                  In each utterance, a slot name is enclosed in curly braces.

                  */ - description?: string; + sampleUtterances?: string[]; /** *

                  Prompts the user to confirm the intent. This question should have a yes or no @@ -3598,6 +3526,16 @@ export interface PutIntentRequest { */ confirmationPrompt?: Prompt; + /** + *

                  When the user answers "no" to the question defined in confirmationPrompt, + * Amazon Lex responds with this statement to acknowledge that the intent was canceled.

                  + * + *

                  You must provide both the rejectionStatement and the + * confirmationPrompt, or neither.

                  + *
                  + */ + rejectionStatement?: Statement; + /** *

                  Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For * example, after the OrderPizza intent is fulfilled, you might prompt the user to @@ -3626,42 +3564,84 @@ export interface PutIntentRequest { * are mutually exclusive. You can specify only one.

                  */ followUpPrompt?: FollowUpPrompt; -} -export namespace PutIntentRequest { - export const filterSensitiveLog = (obj: PutIntentRequest): any => ({ - ...obj, - }); -} + /** + *

                  The statement that you want Amazon Lex to convey to the user after the intent is + * successfully fulfilled by the Lambda function.

                  + *

                  This element is relevant only if you provide a Lambda function in the + * fulfillmentActivity. If you return the intent to the client application, you + * can't specify this element.

                  + * + *

                  The followUpPrompt and conclusionStatement are mutually + * exclusive. You can specify only one.

                  + *
                  + */ + conclusionStatement?: Statement; -export interface PutIntentResponse { /** - *

                  The date that the intent was created.

                  + *

                  Specifies a Lambda function to invoke for each user input. You can invoke this Lambda + * function to personalize user interaction.

                  + *

                  For example, suppose your bot determines that the user is John. Your Lambda function + * might retrieve John's information from a backend database and prepopulate some of the values. + * For example, if you find that John is gluten intolerant, you might set the corresponding + * intent slot, GlutenIntolerant, to true. You might find John's phone number and + * set the corresponding session attribute.

                  */ - createdDate?: Date; + dialogCodeHook?: CodeHook; /** - *

                  An array of intent slots that are configured for the intent.

                  + *

                  Required. Describes how the intent is fulfilled. For example, after a user provides all + * of the information for a pizza order, fulfillmentActivity defines how the bot + * places an order with a local pizza store.

                  + *

                  You might configure Amazon Lex to return all of the intent information to the client + * application, or direct it to invoke a Lambda function that can process the intent (for + * example, place an order with a pizzeria).

                  */ - slots?: Slot[]; + fulfillmentActivity?: FulfillmentActivity; /** - *

                  The date that the intent was updated. When you create a resource, the creation date and - * last update dates are the same.

                  + *

                  A unique identifier for the built-in intent to base this intent on. To find the + * signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.

                  */ - lastUpdatedDate?: Date; + parentIntentSignature?: string; /** - *

                  If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent - * after the user provides all of the information required by the intent.

                  + *

                  Identifies a specific revision of the $LATEST version.

                  + *

                  When you create a new intent, leave the checksum field blank. If you + * specify a checksum you get a BadRequestException exception.

                  + *

                  When you want to update a intent, set the checksum field to the checksum + * of the most recent revision of the $LATEST version. If you don't specify the + * checksum field, or if the checksum does not match the $LATEST + * version, you get a PreconditionFailedException exception.

                  */ - fulfillmentActivity?: FulfillmentActivity; + checksum?: string; + + /** + *

                  When set to true a new numbered version of the intent is created. This is + * the same as calling the CreateIntentVersion operation. If you do not specify + * createVersion, the default is false.

                  + */ + createVersion?: boolean; + + /** + *

                  Configuration information required to use the AMAZON.KendraSearchIntent + * intent to connect to an Amazon Kendra index. For more information, see + * AMAZON.KendraSearchIntent.

                  + */ + kendraConfiguration?: KendraConfiguration; +} + +export namespace PutIntentRequest { + export const filterSensitiveLog = (obj: PutIntentRequest): any => ({ + ...obj, + }); +} +export interface PutIntentResponse { /** - *

                  If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity - * after the intent is fulfilled.

                  + *

                  The name of the intent.

                  */ - followUpPrompt?: FollowUpPrompt; + name?: string; /** *

                  A description of the intent.

                  @@ -3669,20 +3649,20 @@ export interface PutIntentResponse { description?: string; /** - *

                  The name of the intent.

                  + *

                  An array of intent slots that are configured for the intent.

                  */ - name?: string; + slots?: Slot[]; /** - *

                  Checksum of the $LATESTversion of the intent created or updated.

                  + *

                  An array of sample utterances that are configured for the intent.

                  */ - checksum?: string; + sampleUtterances?: string[]; /** - *

                  If defined in the intent, Amazon Lex invokes this Lambda function for each user - * input.

                  + *

                  If defined in the intent, Amazon Lex prompts the user to confirm the intent before + * fulfilling it.

                  */ - dialogCodeHook?: CodeHook; + confirmationPrompt?: Prompt; /** *

                  If the user answers "no" to the question defined in confirmationPrompt @@ -3691,17 +3671,10 @@ export interface PutIntentResponse { rejectionStatement?: Statement; /** - *

                  - * True if a new version of the intent was created. If the - * createVersion field was not specified in the request, the - * createVersion field is set to false in the response.

                  - */ - createVersion?: boolean; - - /** - *

                  An array of sample utterances that are configured for the intent.

                  + *

                  If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity + * after the intent is fulfilled.

                  */ - sampleUtterances?: string[]; + followUpPrompt?: FollowUpPrompt; /** *

                  After the Lambda function specified in thefulfillmentActivityintent @@ -3709,16 +3682,33 @@ export interface PutIntentResponse { */ conclusionStatement?: Statement; + /** + *

                  If defined in the intent, Amazon Lex invokes this Lambda function for each user + * input.

                  + */ + dialogCodeHook?: CodeHook; + + /** + *

                  If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent + * after the user provides all of the information required by the intent.

                  + */ + fulfillmentActivity?: FulfillmentActivity; + /** *

                  A unique identifier for the built-in intent that this intent is based on.

                  */ parentIntentSignature?: string; /** - *

                  Configuration information, if any, required to connect to an Amazon Kendra index and use - * the AMAZON.KendraSearchIntent intent.

                  + *

                  The date that the intent was updated. When you create a resource, the creation date and + * last update dates are the same.

                  */ - kendraConfiguration?: KendraConfiguration; + lastUpdatedDate?: Date; + + /** + *

                  The date that the intent was created.

                  + */ + createdDate?: Date; /** *

                  The version of the intent. For a new intent, the version is always @@ -3727,10 +3717,23 @@ export interface PutIntentResponse { version?: string; /** - *

                  If defined in the intent, Amazon Lex prompts the user to confirm the intent before - * fulfilling it.

                  + *

                  Checksum of the $LATESTversion of the intent created or updated.

                  */ - confirmationPrompt?: Prompt; + checksum?: string; + + /** + *

                  + * True if a new version of the intent was created. If the + * createVersion field was not specified in the request, the + * createVersion field is set to false in the response.

                  + */ + createVersion?: boolean; + + /** + *

                  Configuration information, if any, required to connect to an Amazon Kendra index and use + * the AMAZON.KendraSearchIntent intent.

                  + */ + kendraConfiguration?: KendraConfiguration; } export namespace PutIntentResponse { @@ -3741,18 +3744,19 @@ export namespace PutIntentResponse { export interface PutSlotTypeRequest { /** - *

                  When set to true a new numbered version of the slot type is created. This - * is the same as calling the CreateSlotTypeVersion operation. If you do not specify - * createVersion, the default is false.

                  + *

                  The name of the slot type. The name is not case sensitive.

                  + *

                  The name can't match a built-in slot type name, or a built-in slot type name with + * "AMAZON." removed. For example, because there is a built-in slot type called + * AMAZON.DATE, you can't create a custom slot type called + * DATE.

                  + *

                  For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit.

                  */ - createVersion?: boolean; + name: string | undefined; /** - *

                  The built-in slot type used as the parent of the slot type. When you define a parent slot - * type, the new slot type has all of the same configuration as the parent.

                  - *

                  Only AMAZON.AlphaNumeric is supported.

                  + *

                  A description of the slot type.

                  */ - parentSlotTypeSignature?: string; + description?: string; /** *

                  A list of EnumerationValue objects that defines the values that the slot @@ -3770,15 +3774,15 @@ export interface PutSlotTypeRequest { enumerationValues?: EnumerationValue[]; /** - *

                  A description of the slot type.

                  - */ - description?: string; - - /** - *

                  Configuration information that extends the parent built-in slot type. The configuration is - * added to the settings for the parent slot type.

                  + *

                  Identifies a specific revision of the $LATEST version.

                  + *

                  When you create a new slot type, leave the checksum field blank. If you + * specify a checksum you get a BadRequestException exception.

                  + *

                  When you want to update a slot type, set the checksum field to the + * checksum of the most recent revision of the $LATEST version. If you don't specify + * the checksum field, or if the checksum does not match the $LATEST + * version, you get a PreconditionFailedException exception.

                  */ - slotTypeConfigurations?: SlotTypeConfiguration[]; + checksum?: string; /** *

                  Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The @@ -3802,25 +3806,24 @@ export interface PutSlotTypeRequest { valueSelectionStrategy?: SlotValueSelectionStrategy | string; /** - *

                  The name of the slot type. The name is not case sensitive.

                  - *

                  The name can't match a built-in slot type name, or a built-in slot type name with - * "AMAZON." removed. For example, because there is a built-in slot type called - * AMAZON.DATE, you can't create a custom slot type called - * DATE.

                  - *

                  For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit.

                  + *

                  When set to true a new numbered version of the slot type is created. This + * is the same as calling the CreateSlotTypeVersion operation. If you do not specify + * createVersion, the default is false.

                  */ - name: string | undefined; + createVersion?: boolean; /** - *

                  Identifies a specific revision of the $LATEST version.

                  - *

                  When you create a new slot type, leave the checksum field blank. If you - * specify a checksum you get a BadRequestException exception.

                  - *

                  When you want to update a slot type, set the checksum field to the - * checksum of the most recent revision of the $LATEST version. If you don't specify - * the checksum field, or if the checksum does not match the $LATEST - * version, you get a PreconditionFailedException exception.

                  + *

                  The built-in slot type used as the parent of the slot type. When you define a parent slot + * type, the new slot type has all of the same configuration as the parent.

                  + *

                  Only AMAZON.AlphaNumeric is supported.

                  */ - checksum?: string; + parentSlotTypeSignature?: string; + + /** + *

                  Configuration information that extends the parent built-in slot type. The configuration is + * added to the settings for the parent slot type.

                  + */ + slotTypeConfigurations?: SlotTypeConfiguration[]; } export namespace PutSlotTypeRequest { @@ -3831,14 +3834,20 @@ export namespace PutSlotTypeRequest { export interface PutSlotTypeResponse { /** - *

                  Configuration information that extends the parent built-in slot type.

                  + *

                  The name of the slot type.

                  */ - slotTypeConfigurations?: SlotTypeConfiguration[]; + name?: string; /** - *

                  The date that the slot type was created.

                  + *

                  A description of the slot type.

                  */ - createdDate?: Date; + description?: string; + + /** + *

                  A list of EnumerationValue objects that defines the values that the slot + * type can take.

                  + */ + enumerationValues?: EnumerationValue[]; /** *

                  The date that the slot type was updated. When you create a slot type, the creation date @@ -3847,16 +3856,26 @@ export interface PutSlotTypeResponse { lastUpdatedDate?: Date; /** - *

                  The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For - * more information, see PutSlotType.

                  + *

                  The date that the slot type was created.

                  */ - valueSelectionStrategy?: SlotValueSelectionStrategy | string; + createdDate?: Date; /** - *

                  A list of EnumerationValue objects that defines the values that the slot - * type can take.

                  + *

                  The version of the slot type. For a new slot type, the version is always + * $LATEST.

                  */ - enumerationValues?: EnumerationValue[]; + version?: string; + + /** + *

                  Checksum of the $LATEST version of the slot type.

                  + */ + checksum?: string; + + /** + *

                  The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For + * more information, see PutSlotType.

                  + */ + valueSelectionStrategy?: SlotValueSelectionStrategy | string; /** *

                  @@ -3872,25 +3891,9 @@ export interface PutSlotTypeResponse { parentSlotTypeSignature?: string; /** - *

                  A description of the slot type.

                  - */ - description?: string; - - /** - *

                  The name of the slot type.

                  - */ - name?: string; - - /** - *

                  Checksum of the $LATEST version of the slot type.

                  - */ - checksum?: string; - - /** - *

                  The version of the slot type. For a new slot type, the version is always - * $LATEST.

                  + *

                  Configuration information that extends the parent built-in slot type.

                  */ - version?: string; + slotTypeConfigurations?: SlotTypeConfiguration[]; } export namespace PutSlotTypeResponse { @@ -3901,10 +3904,11 @@ export namespace PutSlotTypeResponse { export interface StartImportRequest { /** - *

                  A list of tags to add to the imported bot. You can only add tags when you import a bot, - * you can't add tags to an intent or slot type.

                  + *

                  A zip archive in binary format. The archive should contain one file, a JSON file + * containing the resource to import. The resource should match the type specified in the + * resourceType field.

                  */ - tags?: Tag[]; + payload: Uint8Array | undefined; /** *

                  Specifies the type of resource to export. Each resource also exports any resources that @@ -3938,11 +3942,10 @@ export interface StartImportRequest { mergeStrategy: MergeStrategy | string | undefined; /** - *

                  A zip archive in binary format. The archive should contain one file, a JSON file - * containing the resource to import. The resource should match the type specified in the - * resourceType field.

                  + *

                  A list of tags to add to the imported bot. You can only add tags when you import a bot, + * you can't add tags to an intent or slot type.

                  */ - payload: Uint8Array | undefined; + tags?: Tag[]; } export namespace StartImportRequest { @@ -3953,30 +3956,30 @@ export namespace StartImportRequest { export interface StartImportResponse { /** - *

                  The status of the import job. If the status is FAILED, you can get the - * reason for the failure using the GetImport operation.

                  + *

                  The name given to the import job.

                  */ - importStatus?: ImportStatus | string; + name?: string; /** - *

                  The identifier for the specific import job.

                  + *

                  The type of resource to import.

                  */ - importId?: string; + resourceType?: ResourceType | string; /** - *

                  A timestamp for the date and time that the import job was requested.

                  + *

                  The action to take when there is a merge conflict.

                  */ - createdDate?: Date; + mergeStrategy?: MergeStrategy | string; /** - *

                  The action to take when there is a merge conflict.

                  + *

                  The identifier for the specific import job.

                  */ - mergeStrategy?: MergeStrategy | string; + importId?: string; /** - *

                  The name given to the import job.

                  + *

                  The status of the import job. If the status is FAILED, you can get the + * reason for the failure using the GetImport operation.

                  */ - name?: string; + importStatus?: ImportStatus | string; /** *

                  A list of tags added to the imported bot.

                  @@ -3984,9 +3987,9 @@ export interface StartImportResponse { tags?: Tag[]; /** - *

                  The type of resource to import.

                  + *

                  A timestamp for the date and time that the import job was requested.

                  */ - resourceType?: ResourceType | string; + createdDate?: Date; } export namespace StartImportResponse { @@ -3997,15 +4000,15 @@ export namespace StartImportResponse { export interface TagResourceRequest { /** - *

                  A list of tag keys to add to the resource. If a tag key already exists, the existing value - * is replaced with the new value.

                  + *

                  The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.

                  */ - tags: Tag[] | undefined; + resourceArn: string | undefined; /** - *

                  The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.

                  + *

                  A list of tag keys to add to the resource. If a tag key already exists, the existing value + * is replaced with the new value.

                  */ - resourceArn: string | undefined; + tags: Tag[] | undefined; } export namespace TagResourceRequest { @@ -4024,15 +4027,15 @@ export namespace TagResourceResponse { export interface UntagResourceRequest { /** - *

                  A list of tag keys to remove from the resource. If a tag key does not exist on the - * resource, it is ignored.

                  + *

                  The Amazon Resource Name (ARN) of the resource to remove the tags from.

                  */ - tagKeys: string[] | undefined; + resourceArn: string | undefined; /** - *

                  The Amazon Resource Name (ARN) of the resource to remove the tags from.

                  + *

                  A list of tag keys to remove from the resource. If a tag key does not exist on the + * resource, it is ignored.

                  */ - resourceArn: string | undefined; + tagKeys: string[] | undefined; } export namespace UntagResourceRequest { diff --git a/clients/client-lex-model-building-service/protocols/Aws_restJson1.ts b/clients/client-lex-model-building-service/protocols/Aws_restJson1.ts index 1484ca9b1c50..3afed28ddbfe 100644 --- a/clients/client-lex-model-building-service/protocols/Aws_restJson1.ts +++ b/clients/client-lex-model-building-service/protocols/Aws_restJson1.ts @@ -293,15 +293,6 @@ export const serializeAws_restJson1DeleteBotChannelAssociationCommand = async ( "Content-Type": "", }; let resolvedPath = "/bots/{botName}/aliases/{botAlias}/channels/{name}"; - if (input.botAlias !== undefined) { - const labelValue: string = input.botAlias; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: botAlias."); - } - resolvedPath = resolvedPath.replace("{botAlias}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: botAlias."); - } if (input.name !== undefined) { const labelValue: string = input.name; if (labelValue.length <= 0) { @@ -320,6 +311,15 @@ export const serializeAws_restJson1DeleteBotChannelAssociationCommand = async ( } else { throw new Error("No value provided for input HTTP label: botName."); } + if (input.botAlias !== undefined) { + const labelValue: string = input.botAlias; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: botAlias."); + } + resolvedPath = resolvedPath.replace("{botAlias}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: botAlias."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -410,15 +410,6 @@ export const serializeAws_restJson1DeleteIntentVersionCommand = async ( "Content-Type": "", }; let resolvedPath = "/intents/{name}/versions/{version}"; - if (input.version !== undefined) { - const labelValue: string = input.version; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: version."); - } - resolvedPath = resolvedPath.replace("{version}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: version."); - } if (input.name !== undefined) { const labelValue: string = input.name; if (labelValue.length <= 0) { @@ -428,6 +419,15 @@ export const serializeAws_restJson1DeleteIntentVersionCommand = async ( } else { throw new Error("No value provided for input HTTP label: name."); } + if (input.version !== undefined) { + const labelValue: string = input.version; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: version."); + } + resolvedPath = resolvedPath.replace("{version}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: version."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -479,15 +479,6 @@ export const serializeAws_restJson1DeleteSlotTypeVersionCommand = async ( "Content-Type": "", }; let resolvedPath = "/slottypes/{name}/version/{version}"; - if (input.version !== undefined) { - const labelValue: string = input.version; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: version."); - } - resolvedPath = resolvedPath.replace("{version}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: version."); - } if (input.name !== undefined) { const labelValue: string = input.name; if (labelValue.length <= 0) { @@ -497,6 +488,15 @@ export const serializeAws_restJson1DeleteSlotTypeVersionCommand = async ( } else { throw new Error("No value provided for input HTTP label: name."); } + if (input.version !== undefined) { + const labelValue: string = input.version; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: version."); + } + resolvedPath = resolvedPath.replace("{version}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: version."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -557,15 +557,6 @@ export const serializeAws_restJson1GetBotCommand = async ( "Content-Type": "", }; let resolvedPath = "/bots/{name}/versions/{versionOrAlias}"; - if (input.versionOrAlias !== undefined) { - const labelValue: string = input.versionOrAlias; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: versionOrAlias."); - } - resolvedPath = resolvedPath.replace("{versionOrAlias}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: versionOrAlias."); - } if (input.name !== undefined) { const labelValue: string = input.name; if (labelValue.length <= 0) { @@ -575,6 +566,15 @@ export const serializeAws_restJson1GetBotCommand = async ( } else { throw new Error("No value provided for input HTTP label: name."); } + if (input.versionOrAlias !== undefined) { + const labelValue: string = input.versionOrAlias; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: versionOrAlias."); + } + resolvedPath = resolvedPath.replace("{versionOrAlias}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: versionOrAlias."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -671,6 +671,15 @@ export const serializeAws_restJson1GetBotChannelAssociationCommand = async ( "Content-Type": "", }; let resolvedPath = "/bots/{botName}/aliases/{botAlias}/channels/{name}"; + if (input.name !== undefined) { + const labelValue: string = input.name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: name."); + } + resolvedPath = resolvedPath.replace("{name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: name."); + } if (input.botName !== undefined) { const labelValue: string = input.botName; if (labelValue.length <= 0) { @@ -689,15 +698,6 @@ export const serializeAws_restJson1GetBotChannelAssociationCommand = async ( } else { throw new Error("No value provided for input HTTP label: botAlias."); } - if (input.name !== undefined) { - const labelValue: string = input.name; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: name."); - } - resolvedPath = resolvedPath.replace("{name}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: name."); - } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -738,9 +738,9 @@ export const serializeAws_restJson1GetBotChannelAssociationsCommand = async ( throw new Error("No value provided for input HTTP label: botAlias."); } const query: any = { - ...(input.nameContains !== undefined && { nameContains: input.nameContains }), - ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + ...(input.nameContains !== undefined && { nameContains: input.nameContains }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -857,10 +857,10 @@ export const serializeAws_restJson1GetBuiltinIntentsCommand = async ( }; let resolvedPath = "/builtins/intents"; const query: any = { + ...(input.locale !== undefined && { locale: input.locale }), ...(input.signatureContains !== undefined && { signatureContains: input.signatureContains }), - ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), - ...(input.locale !== undefined && { locale: input.locale }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -885,10 +885,10 @@ export const serializeAws_restJson1GetBuiltinSlotTypesCommand = async ( }; let resolvedPath = "/builtins/slottypes"; const query: any = { - ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.locale !== undefined && { locale: input.locale }), ...(input.signatureContains !== undefined && { signatureContains: input.signatureContains }), + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), - ...(input.locale !== undefined && { locale: input.locale }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -913,10 +913,10 @@ export const serializeAws_restJson1GetExportCommand = async ( }; let resolvedPath = "/exports"; const query: any = { - ...(input.exportType !== undefined && { exportType: input.exportType }), + ...(input.name !== undefined && { name: input.name }), ...(input.version !== undefined && { version: input.version }), ...(input.resourceType !== undefined && { resourceType: input.resourceType }), - ...(input.name !== undefined && { name: input.name }), + ...(input.exportType !== undefined && { exportType: input.exportType }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -970,15 +970,6 @@ export const serializeAws_restJson1GetIntentCommand = async ( "Content-Type": "", }; let resolvedPath = "/intents/{name}/versions/{version}"; - if (input.version !== undefined) { - const labelValue: string = input.version; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: version."); - } - resolvedPath = resolvedPath.replace("{version}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: version."); - } if (input.name !== undefined) { const labelValue: string = input.name; if (labelValue.length <= 0) { @@ -988,6 +979,15 @@ export const serializeAws_restJson1GetIntentCommand = async ( } else { throw new Error("No value provided for input HTTP label: name."); } + if (input.version !== undefined) { + const labelValue: string = input.version; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: version."); + } + resolvedPath = resolvedPath.replace("{version}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: version."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -1010,9 +1010,9 @@ export const serializeAws_restJson1GetIntentsCommand = async ( }; let resolvedPath = "/intents"; const query: any = { - ...(input.nameContains !== undefined && { nameContains: input.nameContains }), - ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + ...(input.nameContains !== undefined && { nameContains: input.nameContains }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1046,8 +1046,8 @@ export const serializeAws_restJson1GetIntentVersionsCommand = async ( throw new Error("No value provided for input HTTP label: name."); } const query: any = { - ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1071,15 +1071,6 @@ export const serializeAws_restJson1GetSlotTypeCommand = async ( "Content-Type": "", }; let resolvedPath = "/slottypes/{name}/versions/{version}"; - if (input.version !== undefined) { - const labelValue: string = input.version; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: version."); - } - resolvedPath = resolvedPath.replace("{version}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: version."); - } if (input.name !== undefined) { const labelValue: string = input.name; if (labelValue.length <= 0) { @@ -1089,6 +1080,15 @@ export const serializeAws_restJson1GetSlotTypeCommand = async ( } else { throw new Error("No value provided for input HTTP label: name."); } + if (input.version !== undefined) { + const labelValue: string = input.version; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: version."); + } + resolvedPath = resolvedPath.replace("{version}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: version."); + } let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -1112,8 +1112,8 @@ export const serializeAws_restJson1GetSlotTypesCommand = async ( let resolvedPath = "/slottypes"; const query: any = { ...(input.nextToken !== undefined && { nextToken: input.nextToken }), - ...(input.nameContains !== undefined && { nameContains: input.nameContains }), ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + ...(input.nameContains !== undefined && { nameContains: input.nameContains }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1183,8 +1183,8 @@ export const serializeAws_restJson1GetUtterancesViewCommand = async ( } const query: any = { view: "aggregation", - ...(input.statusType !== undefined && { status_type: input.statusType }), ...(input.botVersions !== undefined && { bot_versions: (input.botVersions || []).map((_entry) => _entry) }), + ...(input.statusType !== undefined && { status_type: input.statusType }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -1291,15 +1291,6 @@ export const serializeAws_restJson1PutBotAliasCommand = async ( "Content-Type": "application/json", }; let resolvedPath = "/bots/{botName}/aliases/{name}"; - if (input.botName !== undefined) { - const labelValue: string = input.botName; - if (labelValue.length <= 0) { - throw new Error("Empty value provided for input HTTP label: botName."); - } - resolvedPath = resolvedPath.replace("{botName}", __extendedEncodeURIComponent(labelValue)); - } else { - throw new Error("No value provided for input HTTP label: botName."); - } if (input.name !== undefined) { const labelValue: string = input.name; if (labelValue.length <= 0) { @@ -1309,6 +1300,15 @@ export const serializeAws_restJson1PutBotAliasCommand = async ( } else { throw new Error("No value provided for input HTTP label: name."); } + if (input.botName !== undefined) { + const labelValue: string = input.botName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: botName."); + } + resolvedPath = resolvedPath.replace("{botName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: botName."); + } let body: any; body = JSON.stringify({ ...(input.botVersion !== undefined && { botVersion: input.botVersion }), diff --git a/clients/client-lightsail/Lightsail.ts b/clients/client-lightsail/Lightsail.ts index ed8b61b384df..51d0c4bc2f12 100644 --- a/clients/client-lightsail/Lightsail.ts +++ b/clients/client-lightsail/Lightsail.ts @@ -50,6 +50,21 @@ import { CreateContactMethodCommandInput, CreateContactMethodCommandOutput, } from "./commands/CreateContactMethodCommand"; +import { + CreateContainerServiceCommand, + CreateContainerServiceCommandInput, + CreateContainerServiceCommandOutput, +} from "./commands/CreateContainerServiceCommand"; +import { + CreateContainerServiceDeploymentCommand, + CreateContainerServiceDeploymentCommandInput, + CreateContainerServiceDeploymentCommandOutput, +} from "./commands/CreateContainerServiceDeploymentCommand"; +import { + CreateContainerServiceRegistryLoginCommand, + CreateContainerServiceRegistryLoginCommandInput, + CreateContainerServiceRegistryLoginCommandOutput, +} from "./commands/CreateContainerServiceRegistryLoginCommand"; import { CreateDiskCommand, CreateDiskCommandInput, CreateDiskCommandOutput } from "./commands/CreateDiskCommand"; import { CreateDiskFromSnapshotCommand, @@ -137,6 +152,16 @@ import { DeleteContactMethodCommandInput, DeleteContactMethodCommandOutput, } from "./commands/DeleteContactMethodCommand"; +import { + DeleteContainerImageCommand, + DeleteContainerImageCommandInput, + DeleteContainerImageCommandOutput, +} from "./commands/DeleteContainerImageCommand"; +import { + DeleteContainerServiceCommand, + DeleteContainerServiceCommandInput, + DeleteContainerServiceCommandOutput, +} from "./commands/DeleteContainerServiceCommand"; import { DeleteDiskCommand, DeleteDiskCommandInput, DeleteDiskCommandOutput } from "./commands/DeleteDiskCommand"; import { DeleteDiskSnapshotCommand, @@ -262,6 +287,41 @@ import { GetContactMethodsCommandInput, GetContactMethodsCommandOutput, } from "./commands/GetContactMethodsCommand"; +import { + GetContainerAPIMetadataCommand, + GetContainerAPIMetadataCommandInput, + GetContainerAPIMetadataCommandOutput, +} from "./commands/GetContainerAPIMetadataCommand"; +import { + GetContainerImagesCommand, + GetContainerImagesCommandInput, + GetContainerImagesCommandOutput, +} from "./commands/GetContainerImagesCommand"; +import { + GetContainerLogCommand, + GetContainerLogCommandInput, + GetContainerLogCommandOutput, +} from "./commands/GetContainerLogCommand"; +import { + GetContainerServiceDeploymentsCommand, + GetContainerServiceDeploymentsCommandInput, + GetContainerServiceDeploymentsCommandOutput, +} from "./commands/GetContainerServiceDeploymentsCommand"; +import { + GetContainerServiceMetricDataCommand, + GetContainerServiceMetricDataCommandInput, + GetContainerServiceMetricDataCommandOutput, +} from "./commands/GetContainerServiceMetricDataCommand"; +import { + GetContainerServicePowersCommand, + GetContainerServicePowersCommandInput, + GetContainerServicePowersCommandOutput, +} from "./commands/GetContainerServicePowersCommand"; +import { + GetContainerServicesCommand, + GetContainerServicesCommandInput, + GetContainerServicesCommandOutput, +} from "./commands/GetContainerServicesCommand"; import { GetDiskCommand, GetDiskCommandInput, GetDiskCommandOutput } from "./commands/GetDiskCommand"; import { GetDiskSnapshotCommand, @@ -469,6 +529,11 @@ import { RebootRelationalDatabaseCommandInput, RebootRelationalDatabaseCommandOutput, } from "./commands/RebootRelationalDatabaseCommand"; +import { + RegisterContainerImageCommand, + RegisterContainerImageCommandInput, + RegisterContainerImageCommandOutput, +} from "./commands/RegisterContainerImageCommand"; import { ReleaseStaticIpCommand, ReleaseStaticIpCommandInput, @@ -512,6 +577,11 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; +import { + UpdateContainerServiceCommand, + UpdateContainerServiceCommandInput, + UpdateContainerServiceCommandOutput, +} from "./commands/UpdateContainerServiceCommand"; import { UpdateDistributionBundleCommand, UpdateDistributionBundleCommandInput, @@ -547,10 +617,10 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** *

                  Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers * who need to build websites or web applications. It includes everything you need to launch your - * project quickly – instances (virtual private servers), managed databases, SSD-based block - * storage, static IP addresses, load balancers, content delivery network (CDN) distributions, - * DNS management of registered domains, and snapshots (backups) – for a low, predictable monthly - * price.

                  + * project quickly - instances (virtual private servers), container services, managed databases, + * SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN) + * distributions, DNS management of registered domains, and resource snapshots (backups) - for a + * low, predictable monthly price.

                  * *

                  You can manage your Lightsail resources using the Lightsail console, Lightsail API, * AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts @@ -558,7 +628,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; * *

                  This API Reference provides detailed information about the actions, data types, * parameters, and errors of the Lightsail service. For more information about the supported - * AWS Regions, endpoints, and service quotas for the Lightsail service, see Amazon Lightsail Endpoints and + * AWS Regions, endpoints, and service quotas of the Lightsail service, see Amazon Lightsail Endpoints and * Quotas in the AWS General Reference.

                  */ export class Lightsail extends LightsailClient { @@ -597,13 +667,10 @@ export class Lightsail extends LightsailClient { /** *

                  Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) * distribution.

                  - * *

                  After the certificate is attached, your distribution accepts HTTPS traffic for all of the * domains that are associated with the certificate.

                  - * *

                  Use the CreateCertificate action to create a certificate that you can attach * to your distribution.

                  - * * *

                  Only certificates created in the us-east-1 AWS Region can be attached to * Lightsail distributions. Lightsail distributions are global resources that can reference @@ -856,10 +923,8 @@ export class Lightsail extends LightsailClient { /** *

                  Creates an SSL/TLS certificate for a Amazon Lightsail content delivery network (CDN) * distribution.

                  - * *

                  After the certificate is created, use the AttachCertificateToDistribution * action to attach the certificate to your distribution.

                  - * * *

                  Only certificates created in the us-east-1 AWS Region can be attached to * Lightsail distributions. Lightsail distributions are global resources that can reference @@ -971,6 +1036,139 @@ export class Lightsail extends LightsailClient { } } + /** + *

                  Creates an Amazon Lightsail container service.

                  + * + *

                  A Lightsail container service is a compute resource to which you can deploy containers. + * For more information, see Container services in Amazon Lightsail in the Lightsail Dev + * Guide.

                  + */ + public createContainerService( + args: CreateContainerServiceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createContainerService( + args: CreateContainerServiceCommandInput, + cb: (err: any, data?: CreateContainerServiceCommandOutput) => void + ): void; + public createContainerService( + args: CreateContainerServiceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateContainerServiceCommandOutput) => void + ): void; + public createContainerService( + args: CreateContainerServiceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateContainerServiceCommandOutput) => void), + cb?: (err: any, data?: CreateContainerServiceCommandOutput) => void + ): Promise | void { + const command = new CreateContainerServiceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                  Creates a deployment for your Amazon Lightsail container service.

                  + * + *

                  A deployment specifies the containers that will be launched on the container service and + * their settings, such as the ports to open, the environment variables to apply, and the launch + * command to run. It also specifies the container that will serve as the public endpoint of the + * deployment and its settings, such as the HTTP or HTTPS port to use, and the health check + * configuration.

                  + * + *

                  You can deploy containers to your container service using container images from a public + * registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the + * Lightsail Dev Guide.

                  + */ + public createContainerServiceDeployment( + args: CreateContainerServiceDeploymentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createContainerServiceDeployment( + args: CreateContainerServiceDeploymentCommandInput, + cb: (err: any, data?: CreateContainerServiceDeploymentCommandOutput) => void + ): void; + public createContainerServiceDeployment( + args: CreateContainerServiceDeploymentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateContainerServiceDeploymentCommandOutput) => void + ): void; + public createContainerServiceDeployment( + args: CreateContainerServiceDeploymentCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateContainerServiceDeploymentCommandOutput) => void), + cb?: (err: any, data?: CreateContainerServiceDeploymentCommandOutput) => void + ): Promise | void { + const command = new CreateContainerServiceDeploymentCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                  Creates a temporary set of log in credentials that you can use to log in to the Docker + * process on your local machine. After you're logged in, you can use the native Docker commands + * to push your local container images to the container image registry of your Amazon Lightsail + * account so that you can use them with your Lightsail container service. The log in + * credentials expire 12 hours after they are created, at which point you will need to create a + * new set of log in credentials.

                  + * + * + *

                  You can only push container images to the container service registry of your Lightsail + * account. You cannot pull container images perform any other container image management + * actions on the container service registry of your Lightsail account.

                  + *
                  + * + *

                  After you push your container images to the container image registry of your Lightsail + * account, use the RegisterContainerImage action to register the pushed images to a + * specific Lightsail container service.

                  + * + * + *

                  This action is not required if you install and use the Lightsail Control + * (lightsailctl) plugin to push container images to your Lightsail container service. For + * more information, see Pushing and + * managing container images on your Amazon Lightsail container services in the + * Lightsail Dev Guide.

                  + *
                  + */ + public createContainerServiceRegistryLogin( + args: CreateContainerServiceRegistryLoginCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createContainerServiceRegistryLogin( + args: CreateContainerServiceRegistryLoginCommandInput, + cb: (err: any, data?: CreateContainerServiceRegistryLoginCommandOutput) => void + ): void; + public createContainerServiceRegistryLogin( + args: CreateContainerServiceRegistryLoginCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateContainerServiceRegistryLoginCommandOutput) => void + ): void; + public createContainerServiceRegistryLogin( + args: CreateContainerServiceRegistryLoginCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateContainerServiceRegistryLoginCommandOutput) => void), + cb?: (err: any, data?: CreateContainerServiceRegistryLoginCommandOutput) => void + ): Promise | void { + const command = new CreateContainerServiceRegistryLoginCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Creates a block storage disk that can be attached to an Amazon Lightsail instance in the * same Availability Zone (e.g., us-east-2a).

                  @@ -1090,10 +1288,9 @@ export class Lightsail extends LightsailClient { /** *

                  Creates an Amazon Lightsail content delivery network (CDN) distribution.

                  - * *

                  A distribution is a globally distributed network of caching servers that improve the * performance of your website or web application hosted on a Lightsail instance. For more - * information, see Content delivery networks in Amazon Lightsail.

                  + * information, see Content delivery networks in Amazon Lightsail.

                  */ public createDistribution( args: CreateDistributionCommandInput, @@ -1156,9 +1353,12 @@ export class Lightsail extends LightsailClient { } /** - *

                  Creates one of the following entry records associated with the domain: Address (A), - * canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), - * service locator (SRV), or text (TXT).

                  + *

                  Creates one of the following domain name system (DNS) records in a domain DNS zone: + * Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority + * (SOA), service locator (SRV), or text (TXT).

                  + * + * + * *

                  The create domain entry operation supports tag-based access control via * resource tags applied to the resource identified by domain name. For more * information, see the Lightsail Dev Guide.

                  @@ -1578,7 +1778,6 @@ export class Lightsail extends LightsailClient { /** *

                  Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) * distribution.

                  - * *

                  Certificates that are currently attached to a distribution cannot be deleted. Use the * DetachCertificateFromDistribution action to detach a certificate from a * distribution.

                  @@ -1648,12 +1847,76 @@ export class Lightsail extends LightsailClient { } } + /** + *

                  Deletes a container image that is registered to your Amazon Lightsail container + * service.

                  + */ + public deleteContainerImage( + args: DeleteContainerImageCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteContainerImage( + args: DeleteContainerImageCommandInput, + cb: (err: any, data?: DeleteContainerImageCommandOutput) => void + ): void; + public deleteContainerImage( + args: DeleteContainerImageCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteContainerImageCommandOutput) => void + ): void; + public deleteContainerImage( + args: DeleteContainerImageCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteContainerImageCommandOutput) => void), + cb?: (err: any, data?: DeleteContainerImageCommandOutput) => void + ): Promise | void { + const command = new DeleteContainerImageCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                  Deletes your Amazon Lightsail container service.

                  + */ + public deleteContainerService( + args: DeleteContainerServiceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteContainerService( + args: DeleteContainerServiceCommandInput, + cb: (err: any, data?: DeleteContainerServiceCommandOutput) => void + ): void; + public deleteContainerService( + args: DeleteContainerServiceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteContainerServiceCommandOutput) => void + ): void; + public deleteContainerService( + args: DeleteContainerServiceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteContainerServiceCommandOutput) => void), + cb?: (err: any, data?: DeleteContainerServiceCommandOutput) => void + ): Promise | void { + const command = new DeleteContainerServiceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Deletes the specified block storage disk. The disk must be in the available * state (not attached to a Lightsail instance).

                  * *

                  The disk may remain in the deleting state for several minutes.

                  - * *
                  *

                  The delete disk operation supports tag-based access control via resource tags * applied to the resource identified by disk name. For more information, see the @@ -2112,7 +2375,6 @@ export class Lightsail extends LightsailClient { /** *

                  Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN) * distribution.

                  - * *

                  After the certificate is detached, your distribution stops accepting traffic for all of * the domains that are associated with the certificate.

                  */ @@ -2546,7 +2808,6 @@ export class Lightsail extends LightsailClient { /** *

                  Returns information about one or more Amazon Lightsail SSL/TLS certificates.

                  - * * *

                  To get a summary of a certificate, ommit includeCertificateDetails from * your request. The response will include only the certificate Amazon Resource Name (ARN), @@ -2654,6 +2915,268 @@ export class Lightsail extends LightsailClient { } } + /** + *

                  Returns information about Amazon Lightsail containers, such as the current version of the + * Lightsail Control (lightsailctl) plugin.

                  + */ + public getContainerAPIMetadata( + args: GetContainerAPIMetadataCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getContainerAPIMetadata( + args: GetContainerAPIMetadataCommandInput, + cb: (err: any, data?: GetContainerAPIMetadataCommandOutput) => void + ): void; + public getContainerAPIMetadata( + args: GetContainerAPIMetadataCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetContainerAPIMetadataCommandOutput) => void + ): void; + public getContainerAPIMetadata( + args: GetContainerAPIMetadataCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetContainerAPIMetadataCommandOutput) => void), + cb?: (err: any, data?: GetContainerAPIMetadataCommandOutput) => void + ): Promise | void { + const command = new GetContainerAPIMetadataCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                  Returns the container images that are registered to your Amazon Lightsail container + * service.

                  + * + * + *

                  If you created a deployment on your Lightsail container service that uses container + * images from a public registry like Docker Hub, those images are not returned as part of this + * action. Those images are not registered to your Lightsail container service.

                  + *
                  + */ + public getContainerImages( + args: GetContainerImagesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getContainerImages( + args: GetContainerImagesCommandInput, + cb: (err: any, data?: GetContainerImagesCommandOutput) => void + ): void; + public getContainerImages( + args: GetContainerImagesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetContainerImagesCommandOutput) => void + ): void; + public getContainerImages( + args: GetContainerImagesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetContainerImagesCommandOutput) => void), + cb?: (err: any, data?: GetContainerImagesCommandOutput) => void + ): Promise | void { + const command = new GetContainerImagesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                  Returns the log events of a container of your Amazon Lightsail container service.

                  + * + *

                  If your container service has more than one node (i.e., a scale greater than 1), then the + * log events that are returned for the specified container are merged from all nodes on your + * container service.

                  + * + * + *

                  Container logs are retained for a certain amount of time. For more information, see + * Amazon Lightsail + * endpoints and quotas in the AWS General Reference.

                  + *
                  + */ + public getContainerLog( + args: GetContainerLogCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getContainerLog( + args: GetContainerLogCommandInput, + cb: (err: any, data?: GetContainerLogCommandOutput) => void + ): void; + public getContainerLog( + args: GetContainerLogCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetContainerLogCommandOutput) => void + ): void; + public getContainerLog( + args: GetContainerLogCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetContainerLogCommandOutput) => void), + cb?: (err: any, data?: GetContainerLogCommandOutput) => void + ): Promise | void { + const command = new GetContainerLogCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                  Returns the deployments for your Amazon Lightsail container service

                  + * + *

                  A deployment specifies the settings, such as the ports and launch command, of containers + * that are deployed to your container service.

                  + * + *

                  The deployments are ordered by version in ascending order. The newest version is listed at + * the top of the response.

                  + * + * + *

                  A set number of deployments are kept before the oldest one is replaced with the newest + * one. For more information, see Amazon Lightsail + * endpoints and quotas in the AWS General Reference.

                  + *
                  + */ + public getContainerServiceDeployments( + args: GetContainerServiceDeploymentsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getContainerServiceDeployments( + args: GetContainerServiceDeploymentsCommandInput, + cb: (err: any, data?: GetContainerServiceDeploymentsCommandOutput) => void + ): void; + public getContainerServiceDeployments( + args: GetContainerServiceDeploymentsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetContainerServiceDeploymentsCommandOutput) => void + ): void; + public getContainerServiceDeployments( + args: GetContainerServiceDeploymentsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetContainerServiceDeploymentsCommandOutput) => void), + cb?: (err: any, data?: GetContainerServiceDeploymentsCommandOutput) => void + ): Promise | void { + const command = new GetContainerServiceDeploymentsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                  Returns the data points of a specific metric of your Amazon Lightsail container + * service.

                  + * + *

                  Metrics report the utilization of your resources. Monitor and collect metric data + * regularly to maintain the reliability, availability, and performance of your resources.

                  + */ + public getContainerServiceMetricData( + args: GetContainerServiceMetricDataCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getContainerServiceMetricData( + args: GetContainerServiceMetricDataCommandInput, + cb: (err: any, data?: GetContainerServiceMetricDataCommandOutput) => void + ): void; + public getContainerServiceMetricData( + args: GetContainerServiceMetricDataCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetContainerServiceMetricDataCommandOutput) => void + ): void; + public getContainerServiceMetricData( + args: GetContainerServiceMetricDataCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetContainerServiceMetricDataCommandOutput) => void), + cb?: (err: any, data?: GetContainerServiceMetricDataCommandOutput) => void + ): Promise | void { + const command = new GetContainerServiceMetricDataCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                  Returns the list of powers that can be specified for your Amazon Lightsail container + * services.

                  + * + *

                  The power specifies the amount of memory, the number of vCPUs, and the base price of the + * container service.

                  + */ + public getContainerServicePowers( + args: GetContainerServicePowersCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getContainerServicePowers( + args: GetContainerServicePowersCommandInput, + cb: (err: any, data?: GetContainerServicePowersCommandOutput) => void + ): void; + public getContainerServicePowers( + args: GetContainerServicePowersCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetContainerServicePowersCommandOutput) => void + ): void; + public getContainerServicePowers( + args: GetContainerServicePowersCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetContainerServicePowersCommandOutput) => void), + cb?: (err: any, data?: GetContainerServicePowersCommandOutput) => void + ): Promise | void { + const command = new GetContainerServicePowersCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                  Returns information about one or more of your Amazon Lightsail container services.

                  + */ + public getContainerServices( + args: GetContainerServicesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getContainerServices( + args: GetContainerServicesCommandInput, + cb: (err: any, data?: GetContainerServicesCommandOutput) => void + ): void; + public getContainerServices( + args: GetContainerServicesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetContainerServicesCommandOutput) => void + ): void; + public getContainerServices( + args: GetContainerServicesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetContainerServicesCommandOutput) => void), + cb?: (err: any, data?: GetContainerServicesCommandOutput) => void + ): Promise | void { + const command = new GetContainerServicesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Returns information about a specific block storage disk.

                  */ @@ -2774,7 +3297,6 @@ export class Lightsail extends LightsailClient { /** *

                  Returns the list bundles that can be applied to you Amazon Lightsail content delivery * network (CDN) distributions.

                  - * *

                  A distribution bundle specifies the monthly network transfer quota and monthly cost of * your dsitribution.

                  */ @@ -2843,7 +3365,6 @@ export class Lightsail extends LightsailClient { /** *

                  Returns the data points of a specific metric for an Amazon Lightsail content delivery * network (CDN) distribution.

                  - * *

                  Metrics report the utilization of your resources, and the error counts generated by them. * Monitor and collect metric data regularly to maintain the reliability, availability, and * performance of your resources.

                  @@ -4291,6 +4812,46 @@ export class Lightsail extends LightsailClient { } } + /** + *

                  Registers a container image to your Amazon Lightsail container service.

                  + * + * + *

                  This action is not required if you install and use the Lightsail Control + * (lightsailctl) plugin to push container images to your Lightsail container service. For + * more information, see Pushing and + * managing container images on your Amazon Lightsail container services in the + * Lightsail Dev Guide.

                  + *
                  + */ + public registerContainerImage( + args: RegisterContainerImageCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public registerContainerImage( + args: RegisterContainerImageCommandInput, + cb: (err: any, data?: RegisterContainerImageCommandOutput) => void + ): void; + public registerContainerImage( + args: RegisterContainerImageCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: RegisterContainerImageCommandOutput) => void + ): void; + public registerContainerImage( + args: RegisterContainerImageCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterContainerImageCommandOutput) => void), + cb?: (err: any, data?: RegisterContainerImageCommandOutput) => void + ): Promise | void { + const command = new RegisterContainerImageCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Deletes a specific static IP from your account.

                  */ @@ -4326,7 +4887,6 @@ export class Lightsail extends LightsailClient { /** *

                  Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) * distribution.

                  - * *

                  After resetting the cache, the next time a content request is made, your distribution * pulls, serves, and caches it from the origin.

                  */ @@ -4679,9 +5239,41 @@ export class Lightsail extends LightsailClient { } } + /** + *

                  Updates the configuration of your Amazon Lightsail container service, such as its power, + * scale, and public domain names.

                  + */ + public updateContainerService( + args: UpdateContainerServiceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateContainerService( + args: UpdateContainerServiceCommandInput, + cb: (err: any, data?: UpdateContainerServiceCommandOutput) => void + ): void; + public updateContainerService( + args: UpdateContainerServiceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateContainerServiceCommandOutput) => void + ): void; + public updateContainerService( + args: UpdateContainerServiceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateContainerServiceCommandOutput) => void), + cb?: (err: any, data?: UpdateContainerServiceCommandOutput) => void + ): Promise | void { + const command = new UpdateContainerServiceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

                  - * *

                  Use this action to update the configuration of your existing distribution

                  */ public updateDistribution( @@ -4716,13 +5308,10 @@ export class Lightsail extends LightsailClient { /** *

                  Updates the bundle of your Amazon Lightsail content delivery network (CDN) * distribution.

                  - * *

                  A distribution bundle specifies the monthly network transfer quota and monthly cost of * your dsitribution.

                  - * *

                  Update your distribution's bundle if your distribution is going over its monthly network * transfer quota and is incurring an overage fee.

                  - * *

                  You can update your distribution's bundle only one time within your monthly AWS billing * cycle. To determine if you can update your distribution's bundle, use the * GetDistributions action. The ableToUpdateBundle parameter in the diff --git a/clients/client-lightsail/LightsailClient.ts b/clients/client-lightsail/LightsailClient.ts index 7a773fc7d0fe..f78cc0efa8d1 100644 --- a/clients/client-lightsail/LightsailClient.ts +++ b/clients/client-lightsail/LightsailClient.ts @@ -27,6 +27,18 @@ import { CreateContactMethodCommandInput, CreateContactMethodCommandOutput, } from "./commands/CreateContactMethodCommand"; +import { + CreateContainerServiceCommandInput, + CreateContainerServiceCommandOutput, +} from "./commands/CreateContainerServiceCommand"; +import { + CreateContainerServiceDeploymentCommandInput, + CreateContainerServiceDeploymentCommandOutput, +} from "./commands/CreateContainerServiceDeploymentCommand"; +import { + CreateContainerServiceRegistryLoginCommandInput, + CreateContainerServiceRegistryLoginCommandOutput, +} from "./commands/CreateContainerServiceRegistryLoginCommand"; import { CreateDiskCommandInput, CreateDiskCommandOutput } from "./commands/CreateDiskCommand"; import { CreateDiskFromSnapshotCommandInput, @@ -70,6 +82,14 @@ import { DeleteContactMethodCommandInput, DeleteContactMethodCommandOutput, } from "./commands/DeleteContactMethodCommand"; +import { + DeleteContainerImageCommandInput, + DeleteContainerImageCommandOutput, +} from "./commands/DeleteContainerImageCommand"; +import { + DeleteContainerServiceCommandInput, + DeleteContainerServiceCommandOutput, +} from "./commands/DeleteContainerServiceCommand"; import { DeleteDiskCommandInput, DeleteDiskCommandOutput } from "./commands/DeleteDiskCommand"; import { DeleteDiskSnapshotCommandInput, DeleteDiskSnapshotCommandOutput } from "./commands/DeleteDiskSnapshotCommand"; import { DeleteDistributionCommandInput, DeleteDistributionCommandOutput } from "./commands/DeleteDistributionCommand"; @@ -126,6 +146,28 @@ import { GetCloudFormationStackRecordsCommandOutput, } from "./commands/GetCloudFormationStackRecordsCommand"; import { GetContactMethodsCommandInput, GetContactMethodsCommandOutput } from "./commands/GetContactMethodsCommand"; +import { + GetContainerAPIMetadataCommandInput, + GetContainerAPIMetadataCommandOutput, +} from "./commands/GetContainerAPIMetadataCommand"; +import { GetContainerImagesCommandInput, GetContainerImagesCommandOutput } from "./commands/GetContainerImagesCommand"; +import { GetContainerLogCommandInput, GetContainerLogCommandOutput } from "./commands/GetContainerLogCommand"; +import { + GetContainerServiceDeploymentsCommandInput, + GetContainerServiceDeploymentsCommandOutput, +} from "./commands/GetContainerServiceDeploymentsCommand"; +import { + GetContainerServiceMetricDataCommandInput, + GetContainerServiceMetricDataCommandOutput, +} from "./commands/GetContainerServiceMetricDataCommand"; +import { + GetContainerServicePowersCommandInput, + GetContainerServicePowersCommandOutput, +} from "./commands/GetContainerServicePowersCommand"; +import { + GetContainerServicesCommandInput, + GetContainerServicesCommandOutput, +} from "./commands/GetContainerServicesCommand"; import { GetDiskCommandInput, GetDiskCommandOutput } from "./commands/GetDiskCommand"; import { GetDiskSnapshotCommandInput, GetDiskSnapshotCommandOutput } from "./commands/GetDiskSnapshotCommand"; import { GetDiskSnapshotsCommandInput, GetDiskSnapshotsCommandOutput } from "./commands/GetDiskSnapshotsCommand"; @@ -258,6 +300,10 @@ import { RebootRelationalDatabaseCommandInput, RebootRelationalDatabaseCommandOutput, } from "./commands/RebootRelationalDatabaseCommand"; +import { + RegisterContainerImageCommandInput, + RegisterContainerImageCommandOutput, +} from "./commands/RegisterContainerImageCommand"; import { ReleaseStaticIpCommandInput, ReleaseStaticIpCommandOutput } from "./commands/ReleaseStaticIpCommand"; import { ResetDistributionCacheCommandInput, @@ -281,6 +327,10 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta import { TestAlarmCommandInput, TestAlarmCommandOutput } from "./commands/TestAlarmCommand"; import { UnpeerVpcCommandInput, UnpeerVpcCommandOutput } from "./commands/UnpeerVpcCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; +import { + UpdateContainerServiceCommandInput, + UpdateContainerServiceCommandOutput, +} from "./commands/UpdateContainerServiceCommand"; import { UpdateDistributionBundleCommandInput, UpdateDistributionBundleCommandOutput, @@ -360,6 +410,9 @@ export type ServiceInputTypes = | CreateCertificateCommandInput | CreateCloudFormationStackCommandInput | CreateContactMethodCommandInput + | CreateContainerServiceCommandInput + | CreateContainerServiceDeploymentCommandInput + | CreateContainerServiceRegistryLoginCommandInput | CreateDiskCommandInput | CreateDiskFromSnapshotCommandInput | CreateDiskSnapshotCommandInput @@ -379,6 +432,8 @@ export type ServiceInputTypes = | DeleteAutoSnapshotCommandInput | DeleteCertificateCommandInput | DeleteContactMethodCommandInput + | DeleteContainerImageCommandInput + | DeleteContainerServiceCommandInput | DeleteDiskCommandInput | DeleteDiskSnapshotCommandInput | DeleteDistributionCommandInput @@ -408,6 +463,13 @@ export type ServiceInputTypes = | GetCertificatesCommandInput | GetCloudFormationStackRecordsCommandInput | GetContactMethodsCommandInput + | GetContainerAPIMetadataCommandInput + | GetContainerImagesCommandInput + | GetContainerLogCommandInput + | GetContainerServiceDeploymentsCommandInput + | GetContainerServiceMetricDataCommandInput + | GetContainerServicePowersCommandInput + | GetContainerServicesCommandInput | GetDiskCommandInput | GetDiskSnapshotCommandInput | GetDiskSnapshotsCommandInput @@ -459,6 +521,7 @@ export type ServiceInputTypes = | PutInstancePublicPortsCommandInput | RebootInstanceCommandInput | RebootRelationalDatabaseCommandInput + | RegisterContainerImageCommandInput | ReleaseStaticIpCommandInput | ResetDistributionCacheCommandInput | SendContactMethodVerificationCommandInput @@ -470,6 +533,7 @@ export type ServiceInputTypes = | TestAlarmCommandInput | UnpeerVpcCommandInput | UntagResourceCommandInput + | UpdateContainerServiceCommandInput | UpdateDistributionBundleCommandInput | UpdateDistributionCommandInput | UpdateDomainEntryCommandInput @@ -489,6 +553,9 @@ export type ServiceOutputTypes = | CreateCertificateCommandOutput | CreateCloudFormationStackCommandOutput | CreateContactMethodCommandOutput + | CreateContainerServiceCommandOutput + | CreateContainerServiceDeploymentCommandOutput + | CreateContainerServiceRegistryLoginCommandOutput | CreateDiskCommandOutput | CreateDiskFromSnapshotCommandOutput | CreateDiskSnapshotCommandOutput @@ -508,6 +575,8 @@ export type ServiceOutputTypes = | DeleteAutoSnapshotCommandOutput | DeleteCertificateCommandOutput | DeleteContactMethodCommandOutput + | DeleteContainerImageCommandOutput + | DeleteContainerServiceCommandOutput | DeleteDiskCommandOutput | DeleteDiskSnapshotCommandOutput | DeleteDistributionCommandOutput @@ -537,6 +606,13 @@ export type ServiceOutputTypes = | GetCertificatesCommandOutput | GetCloudFormationStackRecordsCommandOutput | GetContactMethodsCommandOutput + | GetContainerAPIMetadataCommandOutput + | GetContainerImagesCommandOutput + | GetContainerLogCommandOutput + | GetContainerServiceDeploymentsCommandOutput + | GetContainerServiceMetricDataCommandOutput + | GetContainerServicePowersCommandOutput + | GetContainerServicesCommandOutput | GetDiskCommandOutput | GetDiskSnapshotCommandOutput | GetDiskSnapshotsCommandOutput @@ -588,6 +664,7 @@ export type ServiceOutputTypes = | PutInstancePublicPortsCommandOutput | RebootInstanceCommandOutput | RebootRelationalDatabaseCommandOutput + | RegisterContainerImageCommandOutput | ReleaseStaticIpCommandOutput | ResetDistributionCacheCommandOutput | SendContactMethodVerificationCommandOutput @@ -599,6 +676,7 @@ export type ServiceOutputTypes = | TestAlarmCommandOutput | UnpeerVpcCommandOutput | UntagResourceCommandOutput + | UpdateContainerServiceCommandOutput | UpdateDistributionBundleCommandOutput | UpdateDistributionCommandOutput | UpdateDomainEntryCommandOutput @@ -721,10 +799,10 @@ export type LightsailClientResolvedConfig = __SmithyResolvedConfiguration<__Http /** *

                  Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers * who need to build websites or web applications. It includes everything you need to launch your - * project quickly – instances (virtual private servers), managed databases, SSD-based block - * storage, static IP addresses, load balancers, content delivery network (CDN) distributions, - * DNS management of registered domains, and snapshots (backups) – for a low, predictable monthly - * price.

                  + * project quickly - instances (virtual private servers), container services, managed databases, + * SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN) + * distributions, DNS management of registered domains, and resource snapshots (backups) - for a + * low, predictable monthly price.

                  * *

                  You can manage your Lightsail resources using the Lightsail console, Lightsail API, * AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts @@ -732,7 +810,7 @@ export type LightsailClientResolvedConfig = __SmithyResolvedConfiguration<__Http * *

                  This API Reference provides detailed information about the actions, data types, * parameters, and errors of the Lightsail service. For more information about the supported - * AWS Regions, endpoints, and service quotas for the Lightsail service, see Amazon Lightsail Endpoints and + * AWS Regions, endpoints, and service quotas of the Lightsail service, see Amazon Lightsail Endpoints and * Quotas in the AWS General Reference.

                  */ export class LightsailClient extends __Client< diff --git a/clients/client-lightsail/commands/CreateContainerServiceCommand.ts b/clients/client-lightsail/commands/CreateContainerServiceCommand.ts new file mode 100644 index 000000000000..43cbf3d2f9de --- /dev/null +++ b/clients/client-lightsail/commands/CreateContainerServiceCommand.ts @@ -0,0 +1,82 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { CreateContainerServiceRequest, CreateContainerServiceResult } from "../models/models_0"; +import { + deserializeAws_json1_1CreateContainerServiceCommand, + serializeAws_json1_1CreateContainerServiceCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateContainerServiceCommandInput = CreateContainerServiceRequest; +export type CreateContainerServiceCommandOutput = CreateContainerServiceResult & __MetadataBearer; + +export class CreateContainerServiceCommand extends $Command< + CreateContainerServiceCommandInput, + CreateContainerServiceCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateContainerServiceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "CreateContainerServiceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateContainerServiceRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateContainerServiceResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateContainerServiceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1CreateContainerServiceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1CreateContainerServiceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts b/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts new file mode 100644 index 000000000000..cb41db6f677b --- /dev/null +++ b/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts @@ -0,0 +1,88 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { CreateContainerServiceDeploymentRequest, CreateContainerServiceDeploymentResult } from "../models/models_0"; +import { + deserializeAws_json1_1CreateContainerServiceDeploymentCommand, + serializeAws_json1_1CreateContainerServiceDeploymentCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateContainerServiceDeploymentCommandInput = CreateContainerServiceDeploymentRequest; +export type CreateContainerServiceDeploymentCommandOutput = CreateContainerServiceDeploymentResult & __MetadataBearer; + +export class CreateContainerServiceDeploymentCommand extends $Command< + CreateContainerServiceDeploymentCommandInput, + CreateContainerServiceDeploymentCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateContainerServiceDeploymentCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "CreateContainerServiceDeploymentCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateContainerServiceDeploymentRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateContainerServiceDeploymentResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: CreateContainerServiceDeploymentCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_json1_1CreateContainerServiceDeploymentCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1CreateContainerServiceDeploymentCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts b/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts new file mode 100644 index 000000000000..4db79705b099 --- /dev/null +++ b/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts @@ -0,0 +1,92 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { + CreateContainerServiceRegistryLoginRequest, + CreateContainerServiceRegistryLoginResult, +} from "../models/models_0"; +import { + deserializeAws_json1_1CreateContainerServiceRegistryLoginCommand, + serializeAws_json1_1CreateContainerServiceRegistryLoginCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateContainerServiceRegistryLoginCommandInput = CreateContainerServiceRegistryLoginRequest; +export type CreateContainerServiceRegistryLoginCommandOutput = CreateContainerServiceRegistryLoginResult & + __MetadataBearer; + +export class CreateContainerServiceRegistryLoginCommand extends $Command< + CreateContainerServiceRegistryLoginCommandInput, + CreateContainerServiceRegistryLoginCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateContainerServiceRegistryLoginCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "CreateContainerServiceRegistryLoginCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateContainerServiceRegistryLoginRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateContainerServiceRegistryLoginResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: CreateContainerServiceRegistryLoginCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_json1_1CreateContainerServiceRegistryLoginCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1CreateContainerServiceRegistryLoginCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/DeleteContainerImageCommand.ts b/clients/client-lightsail/commands/DeleteContainerImageCommand.ts new file mode 100644 index 000000000000..59c7692de3db --- /dev/null +++ b/clients/client-lightsail/commands/DeleteContainerImageCommand.ts @@ -0,0 +1,82 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { DeleteContainerImageRequest, DeleteContainerImageResult } from "../models/models_0"; +import { + deserializeAws_json1_1DeleteContainerImageCommand, + serializeAws_json1_1DeleteContainerImageCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteContainerImageCommandInput = DeleteContainerImageRequest; +export type DeleteContainerImageCommandOutput = DeleteContainerImageResult & __MetadataBearer; + +export class DeleteContainerImageCommand extends $Command< + DeleteContainerImageCommandInput, + DeleteContainerImageCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteContainerImageCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "DeleteContainerImageCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteContainerImageRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteContainerImageResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteContainerImageCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DeleteContainerImageCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DeleteContainerImageCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/DeleteContainerServiceCommand.ts b/clients/client-lightsail/commands/DeleteContainerServiceCommand.ts new file mode 100644 index 000000000000..73a3887c8b3e --- /dev/null +++ b/clients/client-lightsail/commands/DeleteContainerServiceCommand.ts @@ -0,0 +1,82 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { DeleteContainerServiceRequest, DeleteContainerServiceResult } from "../models/models_0"; +import { + deserializeAws_json1_1DeleteContainerServiceCommand, + serializeAws_json1_1DeleteContainerServiceCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteContainerServiceCommandInput = DeleteContainerServiceRequest; +export type DeleteContainerServiceCommandOutput = DeleteContainerServiceResult & __MetadataBearer; + +export class DeleteContainerServiceCommand extends $Command< + DeleteContainerServiceCommandInput, + DeleteContainerServiceCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteContainerServiceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "DeleteContainerServiceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteContainerServiceRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteContainerServiceResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteContainerServiceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DeleteContainerServiceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DeleteContainerServiceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetContainerAPIMetadataCommand.ts b/clients/client-lightsail/commands/GetContainerAPIMetadataCommand.ts new file mode 100644 index 000000000000..ed97d18c4fb2 --- /dev/null +++ b/clients/client-lightsail/commands/GetContainerAPIMetadataCommand.ts @@ -0,0 +1,82 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetContainerAPIMetadataRequest, GetContainerAPIMetadataResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetContainerAPIMetadataCommand, + serializeAws_json1_1GetContainerAPIMetadataCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetContainerAPIMetadataCommandInput = GetContainerAPIMetadataRequest; +export type GetContainerAPIMetadataCommandOutput = GetContainerAPIMetadataResult & __MetadataBearer; + +export class GetContainerAPIMetadataCommand extends $Command< + GetContainerAPIMetadataCommandInput, + GetContainerAPIMetadataCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetContainerAPIMetadataCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetContainerAPIMetadataCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetContainerAPIMetadataRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetContainerAPIMetadataResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetContainerAPIMetadataCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetContainerAPIMetadataCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetContainerAPIMetadataCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetContainerImagesCommand.ts b/clients/client-lightsail/commands/GetContainerImagesCommand.ts new file mode 100644 index 000000000000..6f8c87caa04e --- /dev/null +++ b/clients/client-lightsail/commands/GetContainerImagesCommand.ts @@ -0,0 +1,82 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetContainerImagesRequest, GetContainerImagesResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetContainerImagesCommand, + serializeAws_json1_1GetContainerImagesCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetContainerImagesCommandInput = GetContainerImagesRequest; +export type GetContainerImagesCommandOutput = GetContainerImagesResult & __MetadataBearer; + +export class GetContainerImagesCommand extends $Command< + GetContainerImagesCommandInput, + GetContainerImagesCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetContainerImagesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetContainerImagesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetContainerImagesRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetContainerImagesResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetContainerImagesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetContainerImagesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetContainerImagesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetContainerLogCommand.ts b/clients/client-lightsail/commands/GetContainerLogCommand.ts new file mode 100644 index 000000000000..a55530af5a4c --- /dev/null +++ b/clients/client-lightsail/commands/GetContainerLogCommand.ts @@ -0,0 +1,82 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetContainerLogRequest, GetContainerLogResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetContainerLogCommand, + serializeAws_json1_1GetContainerLogCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetContainerLogCommandInput = GetContainerLogRequest; +export type GetContainerLogCommandOutput = GetContainerLogResult & __MetadataBearer; + +export class GetContainerLogCommand extends $Command< + GetContainerLogCommandInput, + GetContainerLogCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetContainerLogCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetContainerLogCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetContainerLogRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetContainerLogResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetContainerLogCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetContainerLogCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetContainerLogCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetContainerServiceDeploymentsCommand.ts b/clients/client-lightsail/commands/GetContainerServiceDeploymentsCommand.ts new file mode 100644 index 000000000000..6aef43c094a4 --- /dev/null +++ b/clients/client-lightsail/commands/GetContainerServiceDeploymentsCommand.ts @@ -0,0 +1,88 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetContainerServiceDeploymentsRequest, GetContainerServiceDeploymentsResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetContainerServiceDeploymentsCommand, + serializeAws_json1_1GetContainerServiceDeploymentsCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetContainerServiceDeploymentsCommandInput = GetContainerServiceDeploymentsRequest; +export type GetContainerServiceDeploymentsCommandOutput = GetContainerServiceDeploymentsResult & __MetadataBearer; + +export class GetContainerServiceDeploymentsCommand extends $Command< + GetContainerServiceDeploymentsCommandInput, + GetContainerServiceDeploymentsCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetContainerServiceDeploymentsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetContainerServiceDeploymentsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetContainerServiceDeploymentsRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetContainerServiceDeploymentsResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: GetContainerServiceDeploymentsCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_json1_1GetContainerServiceDeploymentsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1GetContainerServiceDeploymentsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetContainerServiceMetricDataCommand.ts b/clients/client-lightsail/commands/GetContainerServiceMetricDataCommand.ts new file mode 100644 index 000000000000..fbdca53955c5 --- /dev/null +++ b/clients/client-lightsail/commands/GetContainerServiceMetricDataCommand.ts @@ -0,0 +1,85 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetContainerServiceMetricDataRequest, GetContainerServiceMetricDataResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetContainerServiceMetricDataCommand, + serializeAws_json1_1GetContainerServiceMetricDataCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetContainerServiceMetricDataCommandInput = GetContainerServiceMetricDataRequest; +export type GetContainerServiceMetricDataCommandOutput = GetContainerServiceMetricDataResult & __MetadataBearer; + +export class GetContainerServiceMetricDataCommand extends $Command< + GetContainerServiceMetricDataCommandInput, + GetContainerServiceMetricDataCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetContainerServiceMetricDataCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetContainerServiceMetricDataCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetContainerServiceMetricDataRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetContainerServiceMetricDataResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetContainerServiceMetricDataCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetContainerServiceMetricDataCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1GetContainerServiceMetricDataCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetContainerServicePowersCommand.ts b/clients/client-lightsail/commands/GetContainerServicePowersCommand.ts new file mode 100644 index 000000000000..2acb13665b2d --- /dev/null +++ b/clients/client-lightsail/commands/GetContainerServicePowersCommand.ts @@ -0,0 +1,85 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { GetContainerServicePowersRequest, GetContainerServicePowersResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetContainerServicePowersCommand, + serializeAws_json1_1GetContainerServicePowersCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetContainerServicePowersCommandInput = GetContainerServicePowersRequest; +export type GetContainerServicePowersCommandOutput = GetContainerServicePowersResult & __MetadataBearer; + +export class GetContainerServicePowersCommand extends $Command< + GetContainerServicePowersCommandInput, + GetContainerServicePowersCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetContainerServicePowersCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetContainerServicePowersCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetContainerServicePowersRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetContainerServicePowersResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetContainerServicePowersCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetContainerServicePowersCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1GetContainerServicePowersCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetContainerServicesCommand.ts b/clients/client-lightsail/commands/GetContainerServicesCommand.ts new file mode 100644 index 000000000000..3a555915dd23 --- /dev/null +++ b/clients/client-lightsail/commands/GetContainerServicesCommand.ts @@ -0,0 +1,82 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { ContainerServicesListResult, GetContainerServicesRequest } from "../models/models_0"; +import { + deserializeAws_json1_1GetContainerServicesCommand, + serializeAws_json1_1GetContainerServicesCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetContainerServicesCommandInput = GetContainerServicesRequest; +export type GetContainerServicesCommandOutput = ContainerServicesListResult & __MetadataBearer; + +export class GetContainerServicesCommand extends $Command< + GetContainerServicesCommandInput, + GetContainerServicesCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetContainerServicesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "GetContainerServicesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetContainerServicesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ContainerServicesListResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetContainerServicesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetContainerServicesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetContainerServicesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/GetKeyPairsCommand.ts b/clients/client-lightsail/commands/GetKeyPairsCommand.ts index e13b0b796b92..52ad1fda8cb4 100644 --- a/clients/client-lightsail/commands/GetKeyPairsCommand.ts +++ b/clients/client-lightsail/commands/GetKeyPairsCommand.ts @@ -1,5 +1,6 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetKeyPairsRequest, GetKeyPairsResult } from "../models/models_0"; +import { GetKeyPairsRequest } from "../models/models_0"; +import { GetKeyPairsResult } from "../models/models_1"; import { deserializeAws_json1_1GetKeyPairsCommand, serializeAws_json1_1GetKeyPairsCommand, diff --git a/clients/client-lightsail/commands/GetLoadBalancerCommand.ts b/clients/client-lightsail/commands/GetLoadBalancerCommand.ts index 2769eb4e30ca..7f0d8a0f394e 100644 --- a/clients/client-lightsail/commands/GetLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancerCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetLoadBalancerRequest, GetLoadBalancerResult } from "../models/models_0"; +import { GetLoadBalancerRequest, GetLoadBalancerResult } from "../models/models_1"; import { deserializeAws_json1_1GetLoadBalancerCommand, serializeAws_json1_1GetLoadBalancerCommand, diff --git a/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts b/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts index 94fedd34f872..dfb6637196c6 100644 --- a/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetLoadBalancerMetricDataRequest, GetLoadBalancerMetricDataResult } from "../models/models_0"; +import { GetLoadBalancerMetricDataRequest, GetLoadBalancerMetricDataResult } from "../models/models_1"; import { deserializeAws_json1_1GetLoadBalancerMetricDataCommand, serializeAws_json1_1GetLoadBalancerMetricDataCommand, diff --git a/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts b/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts index 57036c2c002a..cdce8a669243 100644 --- a/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetLoadBalancerTlsCertificatesRequest, GetLoadBalancerTlsCertificatesResult } from "../models/models_0"; +import { GetLoadBalancerTlsCertificatesRequest, GetLoadBalancerTlsCertificatesResult } from "../models/models_1"; import { deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommand, serializeAws_json1_1GetLoadBalancerTlsCertificatesCommand, diff --git a/clients/client-lightsail/commands/GetLoadBalancersCommand.ts b/clients/client-lightsail/commands/GetLoadBalancersCommand.ts index d451d440005e..8906bef6da16 100644 --- a/clients/client-lightsail/commands/GetLoadBalancersCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancersCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetLoadBalancersRequest, GetLoadBalancersResult } from "../models/models_0"; +import { GetLoadBalancersRequest, GetLoadBalancersResult } from "../models/models_1"; import { deserializeAws_json1_1GetLoadBalancersCommand, serializeAws_json1_1GetLoadBalancersCommand, diff --git a/clients/client-lightsail/commands/GetOperationCommand.ts b/clients/client-lightsail/commands/GetOperationCommand.ts index 36d8ab280eb9..d23129f97b1b 100644 --- a/clients/client-lightsail/commands/GetOperationCommand.ts +++ b/clients/client-lightsail/commands/GetOperationCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetOperationRequest, GetOperationResult } from "../models/models_0"; +import { GetOperationRequest, GetOperationResult } from "../models/models_1"; import { deserializeAws_json1_1GetOperationCommand, serializeAws_json1_1GetOperationCommand, diff --git a/clients/client-lightsail/commands/GetOperationsCommand.ts b/clients/client-lightsail/commands/GetOperationsCommand.ts index aac790ca38da..064093d2c003 100644 --- a/clients/client-lightsail/commands/GetOperationsCommand.ts +++ b/clients/client-lightsail/commands/GetOperationsCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetOperationsRequest, GetOperationsResult } from "../models/models_0"; +import { GetOperationsRequest, GetOperationsResult } from "../models/models_1"; import { deserializeAws_json1_1GetOperationsCommand, serializeAws_json1_1GetOperationsCommand, diff --git a/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts b/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts index 320559d88d7a..71ca782fefdf 100644 --- a/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts +++ b/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetOperationsForResourceRequest, GetOperationsForResourceResult } from "../models/models_0"; +import { GetOperationsForResourceRequest, GetOperationsForResourceResult } from "../models/models_1"; import { deserializeAws_json1_1GetOperationsForResourceCommand, serializeAws_json1_1GetOperationsForResourceCommand, diff --git a/clients/client-lightsail/commands/GetRegionsCommand.ts b/clients/client-lightsail/commands/GetRegionsCommand.ts index 090e58045ed8..431b07348fd6 100644 --- a/clients/client-lightsail/commands/GetRegionsCommand.ts +++ b/clients/client-lightsail/commands/GetRegionsCommand.ts @@ -1,5 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetRegionsRequest, GetRegionsResult } from "../models/models_0"; +import { GetRegionsRequest, GetRegionsResult } from "../models/models_1"; import { deserializeAws_json1_1GetRegionsCommand, serializeAws_json1_1GetRegionsCommand, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts index 4b888b2171e2..5bc950e47378 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts @@ -1,6 +1,5 @@ import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; -import { GetRelationalDatabaseRequest } from "../models/models_0"; -import { GetRelationalDatabaseResult } from "../models/models_1"; +import { GetRelationalDatabaseRequest, GetRelationalDatabaseResult } from "../models/models_1"; import { deserializeAws_json1_1GetRelationalDatabaseCommand, serializeAws_json1_1GetRelationalDatabaseCommand, diff --git a/clients/client-lightsail/commands/RegisterContainerImageCommand.ts b/clients/client-lightsail/commands/RegisterContainerImageCommand.ts new file mode 100644 index 000000000000..f0cacfdb8756 --- /dev/null +++ b/clients/client-lightsail/commands/RegisterContainerImageCommand.ts @@ -0,0 +1,82 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { RegisterContainerImageRequest, RegisterContainerImageResult } from "../models/models_1"; +import { + deserializeAws_json1_1RegisterContainerImageCommand, + serializeAws_json1_1RegisterContainerImageCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type RegisterContainerImageCommandInput = RegisterContainerImageRequest; +export type RegisterContainerImageCommandOutput = RegisterContainerImageResult & __MetadataBearer; + +export class RegisterContainerImageCommand extends $Command< + RegisterContainerImageCommandInput, + RegisterContainerImageCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: RegisterContainerImageCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "RegisterContainerImageCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: RegisterContainerImageRequest.filterSensitiveLog, + outputFilterSensitiveLog: RegisterContainerImageResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: RegisterContainerImageCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1RegisterContainerImageCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1RegisterContainerImageCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/commands/UpdateContainerServiceCommand.ts b/clients/client-lightsail/commands/UpdateContainerServiceCommand.ts new file mode 100644 index 000000000000..8067ec3245f3 --- /dev/null +++ b/clients/client-lightsail/commands/UpdateContainerServiceCommand.ts @@ -0,0 +1,82 @@ +import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; +import { UpdateContainerServiceRequest, UpdateContainerServiceResult } from "../models/models_1"; +import { + deserializeAws_json1_1UpdateContainerServiceCommand, + serializeAws_json1_1UpdateContainerServiceCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateContainerServiceCommandInput = UpdateContainerServiceRequest; +export type UpdateContainerServiceCommandOutput = UpdateContainerServiceResult & __MetadataBearer; + +export class UpdateContainerServiceCommand extends $Command< + UpdateContainerServiceCommandInput, + UpdateContainerServiceCommandOutput, + LightsailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateContainerServiceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: LightsailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "LightsailClient"; + const commandName = "UpdateContainerServiceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateContainerServiceRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateContainerServiceResult.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateContainerServiceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1UpdateContainerServiceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1UpdateContainerServiceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-lightsail/index.ts b/clients/client-lightsail/index.ts index 41df0e7e6f4a..6ef8af7011f8 100644 --- a/clients/client-lightsail/index.ts +++ b/clients/client-lightsail/index.ts @@ -11,6 +11,9 @@ export * from "./commands/CopySnapshotCommand"; export * from "./commands/CreateCertificateCommand"; export * from "./commands/CreateCloudFormationStackCommand"; export * from "./commands/CreateContactMethodCommand"; +export * from "./commands/CreateContainerServiceCommand"; +export * from "./commands/CreateContainerServiceDeploymentCommand"; +export * from "./commands/CreateContainerServiceRegistryLoginCommand"; export * from "./commands/CreateDiskCommand"; export * from "./commands/CreateDiskFromSnapshotCommand"; export * from "./commands/CreateDiskSnapshotCommand"; @@ -30,6 +33,8 @@ export * from "./commands/DeleteAlarmCommand"; export * from "./commands/DeleteAutoSnapshotCommand"; export * from "./commands/DeleteCertificateCommand"; export * from "./commands/DeleteContactMethodCommand"; +export * from "./commands/DeleteContainerImageCommand"; +export * from "./commands/DeleteContainerServiceCommand"; export * from "./commands/DeleteDiskCommand"; export * from "./commands/DeleteDiskSnapshotCommand"; export * from "./commands/DeleteDistributionCommand"; @@ -59,6 +64,13 @@ export * from "./commands/GetBundlesCommand"; export * from "./commands/GetCertificatesCommand"; export * from "./commands/GetCloudFormationStackRecordsCommand"; export * from "./commands/GetContactMethodsCommand"; +export * from "./commands/GetContainerAPIMetadataCommand"; +export * from "./commands/GetContainerImagesCommand"; +export * from "./commands/GetContainerLogCommand"; +export * from "./commands/GetContainerServiceDeploymentsCommand"; +export * from "./commands/GetContainerServiceMetricDataCommand"; +export * from "./commands/GetContainerServicePowersCommand"; +export * from "./commands/GetContainerServicesCommand"; export * from "./commands/GetDiskCommand"; export * from "./commands/GetDisksCommand"; export * from "./commands/GetDiskSnapshotCommand"; @@ -110,6 +122,7 @@ export * from "./commands/PutAlarmCommand"; export * from "./commands/PutInstancePublicPortsCommand"; export * from "./commands/RebootInstanceCommand"; export * from "./commands/RebootRelationalDatabaseCommand"; +export * from "./commands/RegisterContainerImageCommand"; export * from "./commands/ReleaseStaticIpCommand"; export * from "./commands/ResetDistributionCacheCommand"; export * from "./commands/SendContactMethodVerificationCommand"; @@ -121,6 +134,7 @@ export * from "./commands/TagResourceCommand"; export * from "./commands/TestAlarmCommand"; export * from "./commands/UnpeerVpcCommand"; export * from "./commands/UntagResourceCommand"; +export * from "./commands/UpdateContainerServiceCommand"; export * from "./commands/UpdateDistributionCommand"; export * from "./commands/UpdateDistributionBundleCommand"; export * from "./commands/UpdateDomainEntryCommand"; diff --git a/clients/client-lightsail/models/models_0.ts b/clients/client-lightsail/models/models_0.ts index 7340eecfe026..d27e68045c66 100644 --- a/clients/client-lightsail/models/models_0.ts +++ b/clients/client-lightsail/models/models_0.ts @@ -8,10 +8,10 @@ import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; export interface AccessDeniedException extends __SmithyException, $MetadataBearer { name: "AccessDeniedException"; $fault: "client"; - code?: string; - message?: string; - docs?: string; tip?: string; + docs?: string; + message?: string; + code?: string; } export namespace AccessDeniedException { @@ -32,9 +32,9 @@ export enum AccessDirection { export interface AccountSetupInProgressException extends __SmithyException, $MetadataBearer { name: "AccountSetupInProgressException"; $fault: "client"; - tip?: string; code?: string; docs?: string; + tip?: string; message?: string; } @@ -49,9 +49,13 @@ export namespace AccountSetupInProgressException { */ export interface AddOn { /** - *

                  The status of the add-on.

                  + *

                  The daily time when an automatic snapshot is created.

                  + *

                  The time shown is in HH:00 format, and in Coordinated Universal Time + * (UTC).

                  + *

                  The snapshot is automatically created between the time shown and up to 45 minutes + * after.

                  */ - status?: string; + snapshotTimeOfDay?: string; /** *

                  The next daily time an automatic snapshot will be created.

                  @@ -63,13 +67,9 @@ export interface AddOn { nextSnapshotTimeOfDay?: string; /** - *

                  The daily time when an automatic snapshot is created.

                  - *

                  The time shown is in HH:00 format, and in Coordinated Universal Time - * (UTC).

                  - *

                  The snapshot is automatically created between the time shown and up to 45 minutes - * after.

                  + *

                  The status of the add-on.

                  */ - snapshotTimeOfDay?: string; + status?: string; /** *

                  The name of the add-on.

                  @@ -210,14 +210,14 @@ export enum RegionName { */ export interface ResourceLocation { /** - *

                  The AWS Region name.

                  + *

                  The Availability Zone. Follows the format us-east-2a (case-sensitive).

                  */ - regionName?: RegionName | string; + availabilityZone?: string; /** - *

                  The Availability Zone. Follows the format us-east-2a (case-sensitive).

                  + *

                  The AWS Region name.

                  */ - availabilityZone?: string; + regionName?: RegionName | string; } export namespace ResourceLocation { @@ -259,6 +259,7 @@ export enum ResourceType { Certificate = "Certificate", CloudFormationStackRecord = "CloudFormationStackRecord", ContactMethod = "ContactMethod", + ContainerService = "ContainerService", Disk = "Disk", DiskSnapshot = "DiskSnapshot", Distribution = "Distribution", @@ -282,13 +283,6 @@ export enum ResourceType { * in Amazon Lightsail.

                  */ export interface MonitoredResourceInfo { - /** - *

                  The Lightsail resource type of the resource being monitored.

                  - *

                  Instances, load balancers, and relational databases are the only Lightsail resources - * that can currently be monitored by alarms.

                  - */ - resourceType?: ResourceType | string; - /** *

                  The name of the Lightsail resource being monitored.

                  */ @@ -298,6 +292,13 @@ export interface MonitoredResourceInfo { *

                  The Amazon Resource Name (ARN) of the resource being monitored.

                  */ arn?: string; + + /** + *

                  The Lightsail resource type of the resource being monitored.

                  + *

                  Instances, load balancers, and relational databases are the only Lightsail resources + * that can currently be monitored by alarms.

                  + */ + resourceType?: ResourceType | string; } export namespace MonitoredResourceInfo { @@ -365,30 +366,106 @@ export enum MetricUnit { */ export interface Alarm { /** - *

                  The alarm states that trigger a notification.

                  + *

                  The value against which the specified statistic is compared.

                  */ - notificationTriggers?: (AlarmState | string)[]; + threshold?: number; /** - *

                  The timestamp when the alarm was created.

                  + *

                  The current state of the alarm.

                  + *

                  An alarm has the following possible states:

                  + *
                    + *
                  • + *

                    + * ALARM - The metric is outside of the defined threshold.

                    + *
                  • + *
                  • + *

                    + * INSUFFICIENT_DATA - The alarm has just started, the metric is not + * available, or not enough data is available for the metric to determine the alarm + * state.

                    + *
                  • + *
                  • + *

                    + * OK - The metric is within the defined threshold.

                    + *
                  • + *
                  */ - createdAt?: Date; + state?: AlarmState | string; /** - *

                  The Lightsail resource type (e.g., Alarm).

                  + *

                  The alarm states that trigger a notification.

                  */ - resourceType?: ResourceType | string; + notificationTriggers?: (AlarmState | string)[]; /** *

                  The unit of the metric associated with the alarm.

                  */ unit?: MetricUnit | string; + /** + *

                  The contact protocols for the alarm, such as Email, SMS (text + * messaging), or both.

                  + */ + contactProtocols?: (ContactProtocol | string)[]; + + /** + *

                  The arithmetic operation used when comparing the specified statistic and threshold.

                  + */ + comparisonOperator?: ComparisonOperator | string; + + /** + *

                  The name of the metric associated with the alarm.

                  + */ + metricName?: MetricName | string; + + /** + *

                  The number of data points that must not within the specified threshold to trigger the + * alarm.

                  + */ + datapointsToAlarm?: number; + /** *

                  The name of the alarm.

                  */ name?: string; + /** + *

                  The Amazon Resource Name (ARN) of the alarm.

                  + */ + arn?: string; + + /** + *

                  Indicates whether the alarm is enabled.

                  + */ + notificationEnabled?: boolean; + + /** + *

                  The number of periods over which data is compared to the specified threshold.

                  + */ + evaluationPeriods?: number; + + /** + *

                  The support code. Include this code in your email to support when you have questions about + * your Lightsail alarm. This code enables our support team to look up your Lightsail + * information more easily.

                  + */ + supportCode?: string; + + /** + *

                  The timestamp when the alarm was created.

                  + */ + createdAt?: Date; + + /** + *

                  An object that lists information about the resource monitored by the alarm.

                  + */ + monitoredResourceInfo?: MonitoredResourceInfo; + + /** + *

                  The Lightsail resource type (e.g., Alarm).

                  + */ + resourceType?: ResourceType | string; + /** *

                  Specifies how the alarm handles missing data points.

                  *

                  An alarm can treat missing data in the following ways:

                  @@ -418,9 +495,9 @@ export interface Alarm { treatMissingData?: TreatMissingData | string; /** - *

                  The period, in seconds, over which the statistic is applied.

                  + *

                  An object that lists information about the location of the alarm.

                  */ - period?: number; + location?: ResourceLocation; /** *

                  The statistic for the metric associated with the alarm.

                  @@ -458,85 +535,9 @@ export interface Alarm { statistic?: MetricStatistic | string; /** - *

                  An object that lists information about the location of the alarm.

                  - */ - location?: ResourceLocation; - - /** - *

                  The number of periods over which data is compared to the specified threshold.

                  - */ - evaluationPeriods?: number; - - /** - *

                  The arithmetic operation used when comparing the specified statistic and threshold.

                  - */ - comparisonOperator?: ComparisonOperator | string; - - /** - *

                  Indicates whether the alarm is enabled.

                  - */ - notificationEnabled?: boolean; - - /** - *

                  An object that lists information about the resource monitored by the alarm.

                  - */ - monitoredResourceInfo?: MonitoredResourceInfo; - - /** - *

                  The support code. Include this code in your email to support when you have questions about - * your Lightsail alarm. This code enables our support team to look up your Lightsail - * information more easily.

                  - */ - supportCode?: string; - - /** - *

                  The Amazon Resource Name (ARN) of the alarm.

                  - */ - arn?: string; - - /** - *

                  The current state of the alarm.

                  - *

                  An alarm has the following possible states:

                  - *
                    - *
                  • - *

                    - * ALARM - The metric is outside of the defined threshold.

                    - *
                  • - *
                  • - *

                    - * INSUFFICIENT_DATA - The alarm has just started, the metric is not - * available, or not enough data is available for the metric to determine the alarm - * state.

                    - *
                  • - *
                  • - *

                    - * OK - The metric is within the defined threshold.

                    - *
                  • - *
                  - */ - state?: AlarmState | string; - - /** - *

                  The value against which the specified statistic is compared.

                  - */ - threshold?: number; - - /** - *

                  The number of data points that must not within the specified threshold to trigger the - * alarm.

                  - */ - datapointsToAlarm?: number; - - /** - *

                  The contact protocols for the alarm, such as Email, SMS (text - * messaging), or both.

                  - */ - contactProtocols?: (ContactProtocol | string)[]; - - /** - *

                  The name of the metric associated with the alarm.

                  + *

                  The period, in seconds, over which the statistic is applied.

                  */ - metricName?: MetricName | string; + period?: number; } export namespace Alarm { @@ -568,6 +569,9 @@ export enum OperationType { CloseInstancePublicPorts = "CloseInstancePublicPorts", CreateCertificate = "CreateCertificate", CreateContactMethod = "CreateContactMethod", + CreateContainerService = "CreateContainerService", + CreateContainerServiceDeployment = "CreateContainerServiceDeployment", + CreateContainerServiceRegistryLogin = "CreateContainerServiceRegistryLogin", CreateDisk = "CreateDisk", CreateDiskFromSnapshot = "CreateDiskFromSnapshot", CreateDiskSnapshot = "CreateDiskSnapshot", @@ -584,6 +588,8 @@ export enum OperationType { DeleteAlarm = "DeleteAlarm", DeleteCertificate = "DeleteCertificate", DeleteContactMethod = "DeleteContactMethod", + DeleteContainerImage = "DeleteContainerImage", + DeleteContainerService = "DeleteContainerService", DeleteDisk = "DeleteDisk", DeleteDiskSnapshot = "DeleteDiskSnapshot", DeleteDistribution = "DeleteDistribution", @@ -609,6 +615,7 @@ export enum OperationType { PutInstancePublicPorts = "PutInstancePublicPorts", RebootInstance = "RebootInstance", RebootRelationalDatabase = "RebootRelationalDatabase", + RegisterContainerImage = "RegisterContainerImage", ReleaseStaticIp = "ReleaseStaticIp", ResetDistributionCache = "ResetDistributionCache", SendContactMethodVerification = "SendContactMethodVerification", @@ -617,6 +624,7 @@ export enum OperationType { StopInstance = "StopInstance", StopRelationalDatabase = "StopRelationalDatabase", TestAlarm = "TestAlarm", + UpdateContainerService = "UpdateContainerService", UpdateDistribution = "UpdateDistribution", UpdateDistributionBundle = "UpdateDistributionBundle", UpdateDomainEntry = "UpdateDomainEntry", @@ -638,9 +646,15 @@ export enum OperationStatus { */ export interface Operation { /** - *

                  A Boolean value indicating whether the operation is terminal.

                  + *

                  The timestamp when the operation was initialized (e.g., + * 1479816991.349).

                  */ - isTerminal?: boolean; + createdAt?: Date; + + /** + *

                  The resource type.

                  + */ + resourceType?: ResourceType | string; /** *

                  The error code.

                  @@ -648,14 +662,14 @@ export interface Operation { errorCode?: string; /** - *

                  The type of operation.

                  + *

                  A Boolean value indicating whether the operation is terminal.

                  */ - operationType?: OperationType | string; + isTerminal?: boolean; /** - *

                  The resource name.

                  + *

                  The ID of the operation.

                  */ - resourceName?: string; + id?: string; /** *

                  The AWS Region and Availability Zone.

                  @@ -663,15 +677,9 @@ export interface Operation { location?: ResourceLocation; /** - *

                  The ID of the operation.

                  - */ - id?: string; - - /** - *

                  The timestamp when the operation was initialized (e.g., - * 1479816991.349).

                  + *

                  The type of operation.

                  */ - createdAt?: Date; + operationType?: OperationType | string; /** *

                  The timestamp when the status was changed (e.g., 1479816991.349).

                  @@ -679,9 +687,9 @@ export interface Operation { statusChangedAt?: Date; /** - *

                  The resource type.

                  + *

                  The resource name.

                  */ - resourceType?: ResourceType | string; + resourceName?: string; /** *

                  Details about the operation (e.g., Debian-1GB-Ohio-1).

                  @@ -730,10 +738,10 @@ export namespace AllocateStaticIpResult { export interface InvalidInputException extends __SmithyException, $MetadataBearer { name: "InvalidInputException"; $fault: "client"; + tip?: string; docs?: string; - message?: string; code?: string; - tip?: string; + message?: string; } export namespace InvalidInputException { @@ -748,10 +756,10 @@ export namespace InvalidInputException { export interface NotFoundException extends __SmithyException, $MetadataBearer { name: "NotFoundException"; $fault: "client"; - code?: string; + message?: string; docs?: string; tip?: string; - message?: string; + code?: string; } export namespace NotFoundException { @@ -766,9 +774,9 @@ export namespace NotFoundException { export interface OperationFailureException extends __SmithyException, $MetadataBearer { name: "OperationFailureException"; $fault: "client"; - docs?: string; - tip?: string; code?: string; + tip?: string; + docs?: string; message?: string; } @@ -784,8 +792,8 @@ export namespace OperationFailureException { export interface ServiceException extends __SmithyException, $MetadataBearer { name: "ServiceException"; $fault: "server"; - tip?: string; message?: string; + tip?: string; code?: string; docs?: string; } @@ -804,8 +812,8 @@ export interface UnauthenticatedException extends __SmithyException, $MetadataBe $fault: "client"; docs?: string; message?: string; - tip?: string; code?: string; + tip?: string; } export namespace UnauthenticatedException { @@ -815,15 +823,19 @@ export namespace UnauthenticatedException { } export interface AttachCertificateToDistributionRequest { + /** + *

                  The name of the distribution that the certificate will be attached to.

                  + *

                  Use the GetDistributions action to get a list of distribution names that you + * can specify.

                  + */ + distributionName: string | undefined; + /** *

                  The name of the certificate to attach to a distribution.

                  - * *

                  Only certificates with a status of ISSUED can be attached to a * distribution.

                  - * *

                  Use the GetCertificates action to get a list of certificate names that you * can specify.

                  - * * *

                  This is the name of the certificate resource type and is used only to reference the * certificate in other API actions. It can be different than the domain name of the @@ -833,14 +845,6 @@ export interface AttachCertificateToDistributionRequest { * */ certificateName: string | undefined; - - /** - *

                  The name of the distribution that the certificate will be attached to.

                  - * - *

                  Use the GetDistributions action to get a list of distribution names that you - * can specify.

                  - */ - distributionName: string | undefined; } export namespace AttachCertificateToDistributionRequest { @@ -906,14 +910,14 @@ export namespace AttachDiskResult { */ export interface AttachedDisk { /** - *

                  The size of the disk in GB.

                  + *

                  The path of the disk (e.g., /dev/xvdf).

                  */ - sizeInGb?: number; + path?: string; /** - *

                  The path of the disk (e.g., /dev/xvdf).

                  + *

                  The size of the disk in GB.

                  */ - path?: string; + sizeInGb?: number; } export namespace AttachedDisk { @@ -984,15 +988,15 @@ export namespace AttachInstancesToLoadBalancerResult { export interface AttachLoadBalancerTlsCertificateRequest { /** - *

                  The name of the load balancer to which you want to associate the SSL/TLS - * certificate.

                  + *

                  The name of your SSL/TLS certificate.

                  */ - loadBalancerName: string | undefined; + certificateName: string | undefined; /** - *

                  The name of your SSL/TLS certificate.

                  + *

                  The name of the load balancer to which you want to associate the SSL/TLS + * certificate.

                  */ - certificateName: string | undefined; + loadBalancerName: string | undefined; } export namespace AttachLoadBalancerTlsCertificateRequest { @@ -1019,14 +1023,14 @@ export namespace AttachLoadBalancerTlsCertificateResult { export interface AttachStaticIpRequest { /** - *

                  The instance name to which you want to attach the static IP address.

                  + *

                  The name of the static IP.

                  */ - instanceName: string | undefined; + staticIpName: string | undefined; /** - *

                  The name of the static IP.

                  + *

                  The instance name to which you want to attach the static IP address.

                  */ - staticIpName: string | undefined; + instanceName: string | undefined; } export namespace AttachStaticIpRequest { @@ -1067,14 +1071,14 @@ export interface AutoSnapshotDetails { fromAttachedDisks?: AttachedDisk[]; /** - *

                  The status of the automatic snapshot.

                  + *

                  The date of the automatic snapshot in YYYY-MM-DD format.

                  */ - status?: AutoSnapshotStatus | string; + date?: string; /** - *

                  The date of the automatic snapshot in YYYY-MM-DD format.

                  + *

                  The status of the automatic snapshot.

                  */ - date?: string; + status?: AutoSnapshotStatus | string; /** *

                  The timestamp when the automatic snapshot was created.

                  @@ -1129,11 +1133,41 @@ export enum BlueprintType { *

                  Describes a blueprint (a virtual private server image).

                  */ export interface Blueprint { + /** + *

                  The ID for the virtual private server image (e.g., app_wordpress_4_4 or + * app_lamp_7_0).

                  + */ + blueprintId?: string; + + /** + *

                  The version code.

                  + */ + versionCode?: string; + + /** + *

                  The product URL to learn more about the image or blueprint.

                  + */ + productUrl?: string; + + /** + *

                  The version number of the operating system, application, or stack (e.g., + * 2016.03.0).

                  + */ + version?: string; + /** *

                  The type of the blueprint (e.g., os or app).

                  */ type?: BlueprintType | string; + /** + *

                  A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed + * to support customers with existing instances but are not necessarily available for launch of + * new instances. Blueprints are marked inactive when they become outdated due to operating + * system updates or new application releases.

                  + */ + isActive?: boolean; + /** *

                  The minimum bundle power required to run this blueprint. For example, you need a bundle * with a power value of 500 or more to create an instance that uses a blueprint with a minimum @@ -1142,17 +1176,6 @@ export interface Blueprint { */ minPower?: number; - /** - *

                  The version code.

                  - */ - versionCode?: string; - - /** - *

                  The ID for the virtual private server image (e.g., app_wordpress_4_4 or - * app_lamp_7_0).

                  - */ - blueprintId?: string; - /** *

                  The description of the blueprint.

                  */ @@ -1169,30 +1192,11 @@ export interface Blueprint { */ group?: string; - /** - *

                  The product URL to learn more about the image or blueprint.

                  - */ - productUrl?: string; - /** *

                  The friendly name of the blueprint (e.g., Amazon Linux).

                  */ name?: string; - /** - *

                  A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed - * to support customers with existing instances but are not necessarily available for launch of - * new instances. Blueprints are marked inactive when they become outdated due to operating - * system updates or new application releases.

                  - */ - isActive?: boolean; - - /** - *

                  The version number of the operating system, application, or stack (e.g., - * 2016.03.0).

                  - */ - version?: string; - /** *

                  The end-user license agreement URL for the image or blueprint.

                  */ @@ -1211,19 +1215,14 @@ export namespace Blueprint { */ export interface Bundle { /** - *

                  A friendly name for the bundle (e.g., Micro).

                  - */ - name?: string; - - /** - *

                  The Amazon EC2 instance type (e.g., t2.micro).

                  + *

                  The amount of RAM in GB (e.g., 2.0).

                  */ - instanceType?: string; + ramSizeInGb?: number; /** - *

                  The bundle ID (e.g., micro_1_0).

                  + *

                  The number of vCPUs included in the bundle (e.g., 2).

                  */ - bundleId?: string; + cpuCount?: number; /** *

                  A numeric value that represents the power of the bundle (e.g., 500). You can @@ -1235,14 +1234,14 @@ export interface Bundle { power?: number; /** - *

                  The number of vCPUs included in the bundle (e.g., 2).

                  + *

                  The bundle ID (e.g., micro_1_0).

                  */ - cpuCount?: number; + bundleId?: string; /** - *

                  The amount of RAM in GB (e.g., 2.0).

                  + *

                  A friendly name for the bundle (e.g., Micro).

                  */ - ramSizeInGb?: number; + name?: string; /** *

                  The price in US dollars (e.g., 5.0) of the bundle.

                  @@ -1250,9 +1249,14 @@ export interface Bundle { price?: number; /** - *

                  The data transfer rate per month in GB (e.g., 2000).

                  + *

                  The Amazon EC2 instance type (e.g., t2.micro).

                  */ - transferPerMonthInGb?: number; + instanceType?: string; + + /** + *

                  A Boolean value indicating whether the bundle is active.

                  + */ + isActive?: boolean; /** *

                  The size of the SSD (e.g., 30).

                  @@ -1260,9 +1264,9 @@ export interface Bundle { diskSizeInGb?: number; /** - *

                  A Boolean value indicating whether the bundle is active.

                  + *

                  The data transfer rate per month in GB (e.g., 2000).

                  */ - isActive?: boolean; + transferPerMonthInGb?: number; /** *

                  The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle @@ -1286,9 +1290,7 @@ export namespace Bundle { export interface CacheBehavior { /** *

                  The cache behavior of the distribution.

                  - * *

                  The following cache behaviors can be specified:

                  - * *
                    *
                  • *

                    @@ -1325,51 +1327,20 @@ export namespace CacheBehavior { /** *

                    Describes the per-path cache behavior of an Amazon Lightsail content delivery network (CDN) * distribution.

                    - * *

                    A per-path cache behavior is used to override, or add an exception to, the default cache * behavior of a distribution. For example, if the cacheBehavior is set to * cache, then a per-path cache behavior can be used to specify a directory, file, * or file type that your distribution will cache. Alternately, if the distribution's * cacheBehavior is dont-cache, then a per-path cache behavior can be * used to specify a directory, file, or file type that your distribution will not cache.

                    - * - * *

                    if the cacheBehavior's behavior is set to 'cache', then

                    */ export interface CacheBehaviorPerPath { - /** - *

                    The cache behavior for the specified path.

                    - * - *

                    You can specify one of the following per-path cache behaviors:

                    - * - *
                      - *
                    • - *

                      - * - * cache - * - This behavior caches the - * specified path. - *

                      - *
                    • - *
                    • - *

                      - * - * dont-cache - * - This behavior doesn't cache - * the specified path. - *

                      - *
                    • - *
                    - */ - behavior?: BehaviorEnum | string; - /** *

                    The path to a directory or file to cached, or not cache. Use an asterisk symbol to specify * wildcard directories (path/to/assets/*), and file types (*.html, *jpg, * *js). Directories and file paths are case-sensitive.

                    - * *

                    Examples:

                    - * *
                      *
                    • *

                      Specify the following to cache all files in the document root of an Apache web server @@ -1404,7 +1375,6 @@ export interface CacheBehaviorPerPath { *

                      * var/www/html/images/*.gif *

                      - * *

                      Specify the following to cache all files in the images sub-directory of the document * root of an Apache web server.

                      *

                      @@ -1414,6 +1384,30 @@ export interface CacheBehaviorPerPath { *

                    */ path?: string; + + /** + *

                    The cache behavior for the specified path.

                    + *

                    You can specify one of the following per-path cache behaviors:

                    + *
                      + *
                    • + *

                      + * + * cache + * - This behavior caches the + * specified path. + *

                      + *
                    • + *
                    • + *

                      + * + * dont-cache + * - This behavior doesn't cache + * the specified path. + *

                      + *
                    • + *
                    + */ + behavior?: BehaviorEnum | string; } export namespace CacheBehaviorPerPath { @@ -1431,7 +1425,6 @@ export enum ForwardValues { /** *

                    Describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards * cookies to the origin and, if so, which ones.

                    - * *

                    For the cookies that you specify, your distribution caches separate versions of the * specified content based on the cookie values in viewer * requests.

                    @@ -1476,9 +1469,6 @@ export enum HeaderEnum { /** *

                    Describes the request headers that a Lightsail distribution bases caching on.

                    - * - * - * *

                    For the headers that you specify, your distribution caches separate versions of the * specified content based on the header values in viewer requests. For example, suppose viewer * requests for logo.jpg contain a custom product header that has a @@ -1489,10 +1479,14 @@ export enum HeaderEnum { *

                    */ export interface HeaderObject { + /** + *

                    The specific headers to forward to your distribution's origin.

                    + */ + headersAllowList?: (HeaderEnum | string)[]; + /** *

                    The headers that you want your distribution to forward to your origin and base caching * on.

                    - * *

                    You can configure your distribution to do one of the following:

                    *
                      *
                    • @@ -1519,11 +1513,6 @@ export interface HeaderObject { *
                    */ option?: ForwardValues | string; - - /** - *

                    The specific headers to forward to your distribution's origin.

                    - */ - headersAllowList?: (HeaderEnum | string)[]; } export namespace HeaderObject { @@ -1535,7 +1524,6 @@ export namespace HeaderObject { /** *

                    Describes the query string parameters that an Amazon Lightsail content delivery network * (CDN) distribution to bases caching on.

                    - * *

                    For the query strings that you specify, your distribution caches separate versions of the * specified content based on the query string values in viewer * requests.

                    @@ -1548,9 +1536,7 @@ export interface QueryStringObject { /** *

                    The specific query strings that the distribution forwards to the origin.

                    - * *

                    Your distribution will cache content based on the specified query strings.

                    - * *

                    If the option parameter is true, then your distribution forwards all query * strings, regardless of what you specify using the queryStringsAllowList * parameter.

                    @@ -1567,55 +1553,42 @@ export namespace QueryStringObject { /** *

                    Describes the cache settings of an Amazon Lightsail content delivery network (CDN) * distribution.

                    - * *

                    These settings apply only to your distribution's cacheBehaviors (including * the defaultCacheBehavior) that have a behavior of * cache.

                    */ export interface CacheSettings { /** - *

                    An object that describes the query strings that are forwarded to the origin. Your content - * is cached based on the query strings that are forwarded.

                    - */ - forwardedQueryStrings?: QueryStringObject; - - /** - *

                    The HTTP method responses that are cached by your distribution.

                    - * + *

                    The HTTP methods that are processed and forwarded to the distribution's origin.

                    *

                    You can specify the following options:

                    - * *
                      *
                    • *

                      - * GET,HEAD - The distribution caches responses to the GET and + * GET,HEAD - The distribution forwards the GET and * HEAD methods.

                      *
                    • *
                    • *

                      - * GET,HEAD,OPTIONS - The distribution caches responses to the - * GET, HEAD, and OPTIONS methods.

                      + * GET,HEAD,OPTIONS - The distribution forwards the GET, + * HEAD, and OPTIONS methods.

                      + *
                    • + *
                    • + *

                      + * GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the + * GET, HEAD, OPTIONS, PUT, + * PATCH, POST, and DELETE methods.

                      *
                    • *
                    + *

                    If you specify the third option, you might need to restrict access to your distribution's + * origin so users can't perform operations that you don't want them to. For example, you might + * not want users to have permission to delete objects from your origin.

                    */ - cachedHTTPMethods?: string; - - /** - *

                    An object that describes the headers that are forwarded to the origin. Your content is - * cached based on the headers that are forwarded.

                    - */ - forwardedHeaders?: HeaderObject; - - /** - *

                    An object that describes the cookies that are forwarded to the origin. Your content is - * cached based on the cookies that are forwarded.

                    - */ - forwardedCookies?: CookieObject; + allowedHTTPMethods?: string; /** *

                    The default amount of time that objects stay in the distribution's cache before the * distribution forwards another request to the origin to determine whether the content has been * updated.

                    - * * *

                    The value specified applies only when the origin does not add HTTP headers such as * Cache-Control max-age, Cache-Control s-maxage, and @@ -1628,7 +1601,6 @@ export interface CacheSettings { *

                    The maximum amount of time that objects stay in the distribution's cache before the * distribution forwards another request to the origin to determine whether the object has been * updated.

                    - * *

                    The value specified applies only when the origin adds HTTP headers such as * Cache-Control max-age, Cache-Control s-maxage, and * Expires to objects.

                    @@ -1636,44 +1608,49 @@ export interface CacheSettings { maximumTTL?: number; /** - *

                    The minimum amount of time that objects stay in the distribution's cache before the - * distribution forwards another request to the origin to determine whether the object has been - * updated.

                    - * - *

                    A value of 0 must be specified for minimumTTL if the - * distribution is configured to forward all headers to the origin.

                    + *

                    An object that describes the cookies that are forwarded to the origin. Your content is + * cached based on the cookies that are forwarded.

                    */ - minimumTTL?: number; + forwardedCookies?: CookieObject; /** - *

                    The HTTP methods that are processed and forwarded to the distribution's origin.

                    - * + *

                    The HTTP method responses that are cached by your distribution.

                    *

                    You can specify the following options:

                    - * *
                      *
                    • *

                      - * GET,HEAD - The distribution forwards the GET and + * GET,HEAD - The distribution caches responses to the GET and * HEAD methods.

                      *
                    • *
                    • *

                      - * GET,HEAD,OPTIONS - The distribution forwards the GET, - * HEAD, and OPTIONS methods.

                      - *
                    • - *
                    • - *

                      - * GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the - * GET, HEAD, OPTIONS, PUT, - * PATCH, POST, and DELETE methods.

                      + * GET,HEAD,OPTIONS - The distribution caches responses to the + * GET, HEAD, and OPTIONS methods.

                      *
                    • *
                    - * - *

                    If you specify the third option, you might need to restrict access to your distribution's - * origin so users can't perform operations that you don't want them to. For example, you might - * not want users to have permission to delete objects from your origin.

                    */ - allowedHTTPMethods?: string; + cachedHTTPMethods?: string; + + /** + *

                    The minimum amount of time that objects stay in the distribution's cache before the + * distribution forwards another request to the origin to determine whether the object has been + * updated.

                    + *

                    A value of 0 must be specified for minimumTTL if the + * distribution is configured to forward all headers to the origin.

                    + */ + minimumTTL?: number; + + /** + *

                    An object that describes the query strings that are forwarded to the origin. Your content + * is cached based on the query strings that are forwarded.

                    + */ + forwardedQueryStrings?: QueryStringObject; + + /** + *

                    An object that describes the headers that are forwarded to the origin. Your content is + * cached based on the headers that are forwarded.

                    + */ + forwardedHeaders?: HeaderObject; } export namespace CacheSettings { @@ -1688,9 +1665,9 @@ export namespace CacheSettings { */ export interface ResourceRecord { /** - *

                    The name of the record.

                    + *

                    The value for the DNS record.

                    */ - name?: string; + value?: string; /** *

                    The DNS record type.

                    @@ -1698,9 +1675,9 @@ export interface ResourceRecord { type?: string; /** - *

                    The value for the DNS record.

                    + *

                    The name of the record.

                    */ - value?: string; + name?: string; } export namespace ResourceRecord { @@ -1744,15 +1721,13 @@ export enum RenewalStatus { */ export interface RenewalSummary { /** - *

                    The reason for the renewal status of the certificate.

                    + *

                    An array of objects that describe the domain validation records of the certificate.

                    */ - renewalStatusReason?: string; + domainValidationRecords?: DomainValidationRecord[]; /** *

                    The renewal status of the certificate.

                    - * *

                    The following renewal status are possible:

                    - * *
                      *
                    • *

                      @@ -1794,14 +1769,14 @@ export interface RenewalSummary { renewalStatus?: RenewalStatus | string; /** - *

                      The timestamp when the certificate was last updated.

                      + *

                      The reason for the renewal status of the certificate.

                      */ - updatedAt?: Date; + renewalStatusReason?: string; /** - *

                      An array of objects that describe the domain validation records of the certificate.

                      + *

                      The timestamp when the certificate was last updated.

                      */ - domainValidationRecords?: DomainValidationRecord[]; + updatedAt?: Date; } export namespace RenewalSummary { @@ -1827,18 +1802,18 @@ export enum CertificateStatus { */ export interface Tag { /** - *

                      The key of the tag.

                      - *

                      Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the + *

                      The value of the tag.

                      + *

                      Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the * following characters: + - = . _ : / @

                      */ - key?: string; + value?: string; /** - *

                      The value of the tag.

                      - *

                      Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the + *

                      The key of the tag.

                      + *

                      Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the * following characters: + - = . _ : / @

                      */ - value?: string; + key?: string; } export namespace Tag { @@ -1849,7 +1824,6 @@ export namespace Tag { /** *

                      Describes the full details of an Amazon Lightsail SSL/TLS certificate.

                      - * * *

                      To get a summary of a certificate, use the GetCertificates action and ommit * includeCertificateDetails from your request. The response will include only @@ -1857,48 +1831,11 @@ export namespace Tag { * */ export interface Certificate { - /** - *

                      The timestamp when the certificate is first valid.

                      - */ - notBefore?: Date; - - /** - *

                      The name of the certificate (e.g., my-certificate).

                      - */ - name?: string; - - /** - *

                      The renewal eligibility of the certificate.

                      - */ - eligibleToRenew?: string; - /** *

                      The certificate authority that issued the certificate.

                      */ issuerCA?: string; - /** - *

                      An array of objects that describe the domain validation records of the certificate.

                      - */ - domainValidationRecords?: DomainValidationRecord[]; - - /** - *

                      The timestamp when the certificate expires.

                      - */ - notAfter?: Date; - - /** - *

                      The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                      - */ - tags?: Tag[]; - - /** - *

                      The validation status of the certificate.

                      - */ - status?: CertificateStatus | string; - /** *

                      The reason the certificate was revoked. This value is present only when the certificate * status is REVOKED.

                      @@ -1906,9 +1843,9 @@ export interface Certificate { revocationReason?: string; /** - *

                      The serial number of the certificate.

                      + *

                      The validation status of the certificate.

                      */ - serialNumber?: string; + status?: CertificateStatus | string; /** *

                      The timestamp when the certificate was revoked. This value is present only when the @@ -1916,24 +1853,6 @@ export interface Certificate { */ revokedAt?: Date; - /** - *

                      The support code. Include this code in your email to support when you have questions about - * your Lightsail certificate. This code enables our support team to look up your Lightsail - * information more easily.

                      - */ - supportCode?: string; - - /** - *

                      An object that describes the status of the certificate renewal managed by - * Lightsail.

                      - */ - renewalSummary?: RenewalSummary; - - /** - *

                      The Amazon Resource Name (ARN) of the certificate.

                      - */ - arn?: string; - /** *

                      The domain name of the certificate.

                      */ @@ -1950,14 +1869,8 @@ export interface Certificate { */ subjectAlternativeNames?: string[]; - /** - *

                      The timestamp when the certificate was issued.

                      - */ - issuedAt?: Date; - /** *

                      The validation failure reason, if any, of the certificate.

                      - * *

                      The following failure reasons are possible:

                      *
                        *
                      • @@ -2023,6 +1936,17 @@ export interface Certificate { */ requestFailureReason?: string; + /** + *

                        The timestamp when the certificate was issued.

                        + */ + issuedAt?: Date; + + /** + *

                        An object that describes the status of the certificate renewal managed by + * Lightsail.

                        + */ + renewalSummary?: RenewalSummary; + /** *

                        The timestamp when the certificate was created.

                        */ @@ -2033,6 +1957,55 @@ export interface Certificate { * certificate.

                        */ keyAlgorithm?: string; + + /** + *

                        The support code. Include this code in your email to support when you have questions about + * your Lightsail certificate. This code enables our support team to look up your Lightsail + * information more easily.

                        + */ + supportCode?: string; + + /** + *

                        The Amazon Resource Name (ARN) of the certificate.

                        + */ + arn?: string; + + /** + *

                        An array of objects that describe the domain validation records of the certificate.

                        + */ + domainValidationRecords?: DomainValidationRecord[]; + + /** + *

                        The name of the certificate (e.g., my-certificate).

                        + */ + name?: string; + + /** + *

                        The timestamp when the certificate is first valid.

                        + */ + notBefore?: Date; + + /** + *

                        The serial number of the certificate.

                        + */ + serialNumber?: string; + + /** + *

                        The renewal eligibility of the certificate.

                        + */ + eligibleToRenew?: string; + + /** + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        + */ + tags?: Tag[]; + + /** + *

                        The timestamp when the certificate expires.

                        + */ + notAfter?: Date; } export namespace Certificate { @@ -2046,9 +2019,9 @@ export namespace Certificate { */ export interface CertificateSummary { /** - *

                        An object that describes a certificate in detail.

                        + *

                        The name of the certificate.

                        */ - certificateDetail?: Certificate; + certificateName?: string; /** *

                        The tag keys and optional values for the resource. For more information about tags in @@ -2058,14 +2031,14 @@ export interface CertificateSummary { tags?: Tag[]; /** - *

                        The domain name of the certificate.

                        + *

                        An object that describes a certificate in detail.

                        */ - domainName?: string; + certificateDetail?: Certificate; /** - *

                        The name of the certificate.

                        + *

                        The domain name of the certificate.

                        */ - certificateName?: string; + domainName?: string; /** *

                        The Amazon Resource Name (ARN) of the certificate.

                        @@ -2092,7 +2065,7 @@ export enum NetworkProtocol { */ export interface PortInfo { /** - *

                        The first port in a range of open ports on an instance.

                        + *

                        The last port in a range of open ports on an instance.

                        *

                        Allowed ports:

                        *
                          *
                        • @@ -2100,21 +2073,40 @@ export interface PortInfo { *

                          *
                        • *
                        • - *

                          ICMP - The ICMP type. For example, specify 8 as the fromPort + *

                          ICMP - The ICMP code. For example, specify 8 as the fromPort * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP * Ping. For more information, see Control Messages on Wikipedia.

                          *
                        • *
                        */ - fromPort?: number; + toPort?: number; /** - *

                        The IP protocol name.

                        - *

                        The name can be one of the following:

                        + *

                        The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to + * an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                        + *

                        Examples:

                        *
                          *
                        • - *

                          - * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and + *

                          To allow the IP address 192.0.2.44, specify 192.0.2.44 or + * 192.0.2.44/32.

                          + *
                        • + *
                        • + *

                          To allow the IP addresses 192.0.2.0 to 192.0.2.255, specify + * 192.0.2.0/24.

                          + *
                        • + *
                        + *

                        For more information about CIDR block notation, see Classless + * Inter-Domain Routing on Wikipedia.

                        + */ + cidrs?: string[]; + + /** + *

                        The IP protocol name.

                        + *

                        The name can be one of the following:

                        + *
                          + *
                        • + *

                          + * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and * error-checked delivery of streamed data between applications running on hosts * communicating by an IP network. If you have an application that doesn't require reliable * data stream service, use UDP instead.

                          @@ -2148,26 +2140,15 @@ export interface PortInfo { protocol?: NetworkProtocol | string; /** - *

                          The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to - * an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                          - *

                          Examples:

                          - *
                            - *
                          • - *

                            To allow the IP address 192.0.2.44, specify 192.0.2.44 or - * 192.0.2.44/32.

                            - *
                          • - *
                          • - *

                            To allow the IP addresses 192.0.2.0 to 192.0.2.255, specify - * 192.0.2.0/24.

                            - *
                          • - *
                          - *

                          For more information about CIDR block notation, see Classless - * Inter-Domain Routing on Wikipedia.

                          + *

                          An alias that defines access for a preconfigured range of IP addresses.

                          + *

                          The only alias currently supported is lightsail-connect, which allows IP + * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your + * instance.

                          */ - cidrs?: string[]; + cidrListAliases?: string[]; /** - *

                          The last port in a range of open ports on an instance.

                          + *

                          The first port in a range of open ports on an instance.

                          *

                          Allowed ports:

                          *
                            *
                          • @@ -2175,21 +2156,13 @@ export interface PortInfo { *

                            *
                          • *
                          • - *

                            ICMP - The ICMP code. For example, specify 8 as the fromPort + *

                            ICMP - The ICMP type. For example, specify 8 as the fromPort * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP * Ping. For more information, see Control Messages on Wikipedia.

                            *
                          • *
                          */ - toPort?: number; - - /** - *

                          An alias that defines access for a preconfigured range of IP addresses.

                          - *

                          The only alias currently supported is lightsail-connect, which allows IP - * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your - * instance.

                          - */ - cidrListAliases?: string[]; + fromPort?: number; } export namespace PortInfo { @@ -2200,14 +2173,14 @@ export namespace PortInfo { export interface CloseInstancePublicPortsRequest { /** - *

                          An object to describe the ports to close for the specified instance.

                          + *

                          The name of the instance for which to close ports.

                          */ - portInfo: PortInfo | undefined; + instanceName: string | undefined; /** - *

                          The name of the instance for which to close ports.

                          + *

                          An object to describe the ports to close for the specified instance.

                          */ - instanceName: string | undefined; + portInfo: PortInfo | undefined; } export namespace CloseInstancePublicPortsRequest { @@ -2235,14 +2208,14 @@ export namespace CloseInstancePublicPortsResult { */ export interface DestinationInfo { /** - *

                          The ID of the resource created at the destination.

                          + *

                          The destination service of the record.

                          */ - id?: string; + service?: string; /** - *

                          The destination service of the record.

                          + *

                          The ID of the resource created at the destination.

                          */ - service?: string; + id?: string; } export namespace DestinationInfo { @@ -2261,9 +2234,9 @@ export enum CloudFormationStackRecordSourceType { */ export interface CloudFormationStackRecordSourceInfo { /** - *

                          The Amazon Resource Name (ARN) of the export snapshot record.

                          + *

                          The name of the record.

                          */ - arn?: string; + name?: string; /** *

                          The Lightsail resource type (e.g., ExportSnapshotRecord).

                          @@ -2271,9 +2244,9 @@ export interface CloudFormationStackRecordSourceInfo { resourceType?: CloudFormationStackRecordSourceType | string; /** - *

                          The name of the record.

                          + *

                          The Amazon Resource Name (ARN) of the export snapshot record.

                          */ - name?: string; + arn?: string; } export namespace CloudFormationStackRecordSourceInfo { @@ -2296,31 +2269,31 @@ export enum RecordState { */ export interface CloudFormationStackRecord { /** - *

                          A list of objects describing the source of the CloudFormation stack record.

                          + *

                          The current state of the CloudFormation stack record.

                          */ - sourceInfo?: CloudFormationStackRecordSourceInfo[]; + state?: RecordState | string; /** - *

                          The date when the CloudFormation stack record was created.

                          + *

                          A list of objects describing the Availability Zone and AWS Region of the CloudFormation + * stack record.

                          */ - createdAt?: Date; + location?: ResourceLocation; /** - *

                          A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon - * Resource Name (ARN) of the AWS CloudFormation stack.

                          + *

                          The date when the CloudFormation stack record was created.

                          */ - destinationInfo?: DestinationInfo; + createdAt?: Date; /** - *

                          A list of objects describing the Availability Zone and AWS Region of the CloudFormation - * stack record.

                          + *

                          A list of objects describing the source of the CloudFormation stack record.

                          */ - location?: ResourceLocation; + sourceInfo?: CloudFormationStackRecordSourceInfo[]; /** - *

                          The current state of the CloudFormation stack record.

                          + *

                          A list of objects describing the destination service, which is AWS CloudFormation, and the Amazon + * Resource Name (ARN) of the AWS CloudFormation stack.

                          */ - state?: RecordState | string; + destinationInfo?: DestinationInfo; /** *

                          The Lightsail resource type (e.g., CloudFormationStackRecord).

                          @@ -2328,15 +2301,15 @@ export interface CloudFormationStackRecord { resourceType?: ResourceType | string; /** - *

                          The name of the CloudFormation stack record. It starts with - * CloudFormationStackRecord followed by a GUID.

                          + *

                          The Amazon Resource Name (ARN) of the CloudFormation stack record.

                          */ - name?: string; + arn?: string; /** - *

                          The Amazon Resource Name (ARN) of the CloudFormation stack record.

                          + *

                          The name of the CloudFormation stack record. It starts with + * CloudFormationStackRecord followed by a GUID.

                          */ - arn?: string; + name?: string; } export namespace CloudFormationStackRecord { @@ -2356,11 +2329,49 @@ export enum ContactMethodStatus { *

                          A contact method is a way to send you notifications. For more information, see Notifications in Amazon Lightsail.

                          */ export interface ContactMethod { + /** + *

                          The Lightsail resource type (e.g., ContactMethod).

                          + */ + resourceType?: ResourceType | string; + + /** + *

                          The protocol of the contact method, such as email or SMS (text messaging).

                          + */ + protocol?: ContactProtocol | string; + + /** + *

                          The destination of the contact method, such as an email address or a mobile phone + * number.

                          + */ + contactEndpoint?: string; + /** *

                          Describes the resource location.

                          */ location?: ResourceLocation; + /** + *

                          The timestamp when the contact method was created.

                          + */ + createdAt?: Date; + + /** + *

                          The name of the contact method.

                          + */ + name?: string; + + /** + *

                          The support code. Include this code in your email to support when you have questions about + * your Lightsail contact method. This code enables our support team to look up your + * Lightsail information more easily.

                          + */ + supportCode?: string; + + /** + *

                          The Amazon Resource Name (ARN) of the contact method.

                          + */ + arn?: string; + /** *

                          The current status of the contact method.

                          *

                          A contact method has the following possible status:

                          @@ -2382,437 +2393,606 @@ export interface ContactMethod { *
                        */ status?: ContactMethodStatus | string; +} + +export namespace ContactMethod { + export const filterSensitiveLog = (obj: ContactMethod): any => ({ + ...obj, + }); +} + +export enum ContactMethodVerificationProtocol { + Email = "Email", +} + +export enum ContainerServiceProtocol { + HTTP = "HTTP", + HTTPS = "HTTPS", + TCP = "TCP", + UDP = "UDP", +} +/** + *

                        Describes the settings of a container that will be launched, or that is launched, to an + * Amazon Lightsail container service.

                        + */ +export interface Container { /** - *

                        The destination of the contact method, such as an email address or a mobile phone - * number.

                        + *

                        The launch command for the container.

                        */ - contactEndpoint?: string; + command?: string[]; /** - *

                        The timestamp when the contact method was created.

                        + *

                        The environment variables of the container.

                        */ - createdAt?: Date; + environment?: { [key: string]: string }; /** - *

                        The protocol of the contact method, such as email or SMS (text messaging).

                        + *

                        The open firewall ports of the container.

                        */ - protocol?: ContactProtocol | string; + ports?: { [key: string]: ContainerServiceProtocol | string }; /** - *

                        The Lightsail resource type (e.g., ContactMethod).

                        + *

                        The name of the image used for the container.

                        + * + *

                        Container images sourced from your Lightsail container service, that are registered and + * stored on your service, start with a colon (:). For example, + * :container-service-1.mystaticwebsite.1. Container images sourced from a public + * registry like Docker Hub don't start with a colon. For example, nginx:latest or + * nginx.

                        */ - resourceType?: ResourceType | string; + image?: string; +} + +export namespace Container { + export const filterSensitiveLog = (obj: Container): any => ({ + ...obj, + }); +} +/** + *

                        Describes a container image that is registered to an Amazon Lightsail container + * service.

                        + */ +export interface ContainerImage { /** - *

                        The name of the contact method.

                        + *

                        The name of the container image.

                        */ - name?: string; + image?: string; /** - *

                        The Amazon Resource Name (ARN) of the contact method.

                        + *

                        The timestamp when the container image was created.

                        */ - arn?: string; + createdAt?: Date; /** - *

                        The support code. Include this code in your email to support when you have questions about - * your Lightsail contact method. This code enables our support team to look up your - * Lightsail information more easily.

                        + *

                        The digest of the container image.

                        */ - supportCode?: string; + digest?: string; } -export namespace ContactMethod { - export const filterSensitiveLog = (obj: ContactMethod): any => ({ +export namespace ContainerImage { + export const filterSensitiveLog = (obj: ContainerImage): any => ({ ...obj, }); } -export enum ContactMethodVerificationProtocol { - Email = "Email", -} - -export interface CopySnapshotRequest { +/** + *

                        Describes the health check configuration of an Amazon Lightsail container service.

                        + */ +export interface ContainerServiceHealthCheckConfig { /** - *

                        The name of the source manual snapshot to copy.

                        - *

                        Constraint:

                        - *
                          - *
                        • - *

                          Define this parameter only when copying a manual snapshot as another manual - * snapshot.

                          - *
                        • - *
                        + *

                        The number of consecutive health checks successes required before moving the container to + * the Healthy state.

                        */ - sourceSnapshotName?: string; + healthyThreshold?: number; /** - *

                        A Boolean value to indicate whether to use the latest available automatic snapshot of the - * specified source instance or disk.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          This parameter cannot be defined together with the restore date - * parameter. The use latest restorable auto snapshot and restore - * date parameters are mutually exclusive.

                          - *
                        • - *
                        • - *

                          Define this parameter only when copying an automatic snapshot as a manual snapshot. - * For more information, see the Lightsail Dev Guide.

                          - *
                        • - *
                        + *

                        The number of consecutive health check failures required before moving the container to + * the Unhealthy state.

                        */ - useLatestRestorableAutoSnapshot?: boolean; + unhealthyThreshold?: number; /** - *

                        The date of the source automatic snapshot to copy. Use the get auto snapshots - * operation to identify the dates of the available automatic snapshots.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Must be specified in YYYY-MM-DD format.

                          - *
                        • - *
                        • - *

                          This parameter cannot be defined together with the use latest restorable auto - * snapshot parameter. The restore date and use latest restorable - * auto snapshot parameters are mutually exclusive.

                          - *
                        • - *
                        • - *

                          Define this parameter only when copying an automatic snapshot as a manual snapshot. - * For more information, see the Lightsail Dev Guide.

                          - *
                        • - *
                        + *

                        The amount of time, in seconds, during which no response means a failed health check. You + * may specify between 2 and 60 seconds.

                        */ - restoreDate?: string; + timeoutSeconds?: number; /** - *

                        The AWS Region where the source manual or automatic snapshot is located.

                        + *

                        The HTTP codes to use when checking for a successful response from a container. You can + * specify values between 200 and 499.

                        */ - sourceRegion: RegionName | string | undefined; + successCodes?: string; /** - *

                        The name of the new manual snapshot to be created as a copy.

                        + *

                        The path on the container on which to perform the health check.

                        */ - targetSnapshotName: string | undefined; + path?: string; /** - *

                        The name of the source instance or disk from which the source automatic snapshot was - * created.

                        - *

                        Constraint:

                        - *
                          - *
                        • - *

                          Define this parameter only when copying an automatic snapshot as a manual snapshot. - * For more information, see the Lightsail Dev Guide.

                          - *
                        • - *
                        - */ - sourceResourceName?: string; -} - -export namespace CopySnapshotRequest { - export const filterSensitiveLog = (obj: CopySnapshotRequest): any => ({ - ...obj, - }); -} - -export interface CopySnapshotResult { - /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The approximate interval, in seconds, between health checks of an individual container. + * You may specify between 5 and 300 seconds.

                        */ - operations?: Operation[]; + intervalSeconds?: number; } -export namespace CopySnapshotResult { - export const filterSensitiveLog = (obj: CopySnapshotResult): any => ({ +export namespace ContainerServiceHealthCheckConfig { + export const filterSensitiveLog = (obj: ContainerServiceHealthCheckConfig): any => ({ ...obj, }); } -export interface CreateCertificateRequest { - /** - *

                        The domain name (e.g., example.com) for the certificate.

                        - */ - domainName: string | undefined; - - /** - *

                        An array of strings that specify the alternate domains (e.g., example2.com) - * and subdomains (e.g., blog.example.com) for the certificate.

                        - * - *

                        You can specify a maximum of nine alternate domains (in addition to the primary domain - * name).

                        - * - *

                        Wildcard domain entries (e.g., *.example.com) are not supported.

                        - */ - subjectAlternativeNames?: string[]; - - /** - *

                        The name for the certificate.

                        - */ - certificateName: string | undefined; - +/** + *

                        Describes the public endpoint configuration of a deployment of an Amazon Lightsail + * container service.

                        + */ +export interface ContainerServiceEndpoint { /** - *

                        The tag keys and optional values to add to the certificate during create.

                        - * - *

                        Use the TagResource action to tag a resource after it's created.

                        + *

                        An object that describes the health check configuration of the container.

                        */ - tags?: Tag[]; -} + healthCheck?: ContainerServiceHealthCheckConfig; -export namespace CreateCertificateRequest { - export const filterSensitiveLog = (obj: CreateCertificateRequest): any => ({ - ...obj, - }); -} - -export interface CreateCertificateResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The name of the container entry of the deployment that the endpoint configuration applies + * to.

                        */ - operations?: Operation[]; + containerName?: string; /** - *

                        An object that describes the certificate created.

                        + *

                        The port of the specified container to which traffic is forwarded to.

                        */ - certificate?: CertificateSummary; + containerPort?: number; } -export namespace CreateCertificateResult { - export const filterSensitiveLog = (obj: CreateCertificateResult): any => ({ +export namespace ContainerServiceEndpoint { + export const filterSensitiveLog = (obj: ContainerServiceEndpoint): any => ({ ...obj, }); } -export enum PortInfoSourceType { - Closed = "CLOSED", - Default = "DEFAULT", - Instance = "INSTANCE", - None = "NONE", +export enum ContainerServiceDeploymentState { + ACTIVATING = "ACTIVATING", + ACTIVE = "ACTIVE", + FAILED = "FAILED", + INACTIVE = "INACTIVE", } /** - *

                        Describes the Amazon Elastic Compute Cloud instance and related resources to be created using the - * create cloud formation stack operation.

                        + *

                        Describes a container deployment configuration of an Amazon Lightsail container + * service.

                        + * + *

                        A deployment specifies the settings, such as the ports and launch command, of containers + * that are deployed to your container service.

                        */ -export interface InstanceEntry { - /** - *

                        The Availability Zone for the new Amazon EC2 instance.

                        - */ - availabilityZone: string | undefined; - - /** - *

                        The name of the export snapshot record, which contains the exported Lightsail instance - * snapshot that will be used as the source of the new Amazon EC2 instance.

                        - *

                        Use the get export snapshot records operation to get a list of export - * snapshot records that you can use to create a CloudFormation stack.

                        - */ - sourceName: string | undefined; - - /** - *

                        The instance type (e.g., t2.micro) to use for the new Amazon EC2 instance.

                        - */ - instanceType: string | undefined; - +export interface ContainerServiceDeployment { /** - *

                        The port configuration to use for the new Amazon EC2 instance.

                        - *

                        The following configuration options are available:

                        + *

                        The state of the deployment.

                        + * + *

                        A deployment can be in one of the following states:

                        *
                          *
                        • *

                          - * DEFAULT - Use the default firewall settings from the Lightsail instance - * blueprint.

                          + * Activating - The deployment is being created.

                          *
                        • *
                        • *

                          - * INSTANCE - Use the configured firewall settings from the source - * Lightsail instance.

                          + * Active - The deployment was successfully created, and it's currently + * running on the container service. The container service can have only one deployment in an + * active state at a time.

                          *
                        • *
                        • *

                          - * NONE - Use the default Amazon EC2 security group.

                          + * Inactive - The deployment was previously successfully created, but it is + * not currently running on the container service.

                          *
                        • *
                        • *

                          - * CLOSED - All ports closed.

                          + * Failed - The deployment failed. Use the GetContainerLog + * action to view the log events for the containers in the deployment to try to determine the + * reason for the failure.

                          *
                        • *
                        - * - *

                        If you configured lightsail-connect as a cidrListAliases on - * your instance, or if you chose to allow the Lightsail browser-based SSH or RDP clients to - * connect to your instance, that configuration is not carried over to your new Amazon EC2 - * instance.

                        - *
                        */ - portInfoSource: PortInfoSourceType | string | undefined; + state?: ContainerServiceDeploymentState | string; /** - *

                        A launch script you can create that configures a server with additional user data. For - * example, you might want to run apt-get -y update.

                        - * - *

                        Depending on the machine image you choose, the command to get software on your instance - * varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use - * apt-get, and FreeBSD uses pkg.

                        - *
                        + *

                        An object that describes the configuration for the containers of the deployment.

                        */ - userData?: string; -} + containers?: { [key: string]: Container }; -export namespace InstanceEntry { - export const filterSensitiveLog = (obj: InstanceEntry): any => ({ - ...obj, - }); -} + /** + *

                        The version number of the deployment.

                        + */ + version?: number; -export interface CreateCloudFormationStackRequest { /** - *

                        An array of parameters that will be used to create the new Amazon EC2 instance. You can only - * pass one instance entry at a time in this array. You will get an invalid parameter error if - * you pass more than one instance entry in this array.

                        + *

                        An object that describes the endpoint of the deployment.

                        */ - instances: InstanceEntry[] | undefined; + publicEndpoint?: ContainerServiceEndpoint; + + /** + *

                        The timestamp when the deployment was created.

                        + */ + createdAt?: Date; } -export namespace CreateCloudFormationStackRequest { - export const filterSensitiveLog = (obj: CreateCloudFormationStackRequest): any => ({ +export namespace ContainerServiceDeployment { + export const filterSensitiveLog = (obj: ContainerServiceDeployment): any => ({ ...obj, }); } -export interface CreateCloudFormationStackResult { - /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        - */ - operations?: Operation[]; +export enum ContainerServicePowerName { + large = "large", + medium = "medium", + micro = "micro", + nano = "nano", + small = "small", + xlarge = "xlarge", } -export namespace CreateCloudFormationStackResult { - export const filterSensitiveLog = (obj: CreateCloudFormationStackResult): any => ({ - ...obj, - }); +export enum ContainerServiceState { + DELETING = "DELETING", + DISABLED = "DISABLED", + PENDING = "PENDING", + READY = "READY", + RUNNING = "RUNNING", + UPDATING = "UPDATING", } -export interface CreateContactMethodRequest { +/** + *

                        Describes an Amazon Lightsail container service.

                        + */ +export interface ContainerService { /** - *

                        The protocol of the contact method, such as Email or SMS (text - * messaging).

                        - *

                        The SMS protocol is supported only in the following AWS Regions.

                        + *

                        A Boolean value indicating whether the container service is disabled.

                        + */ + isDisabled?: boolean; + + /** + *

                        The scale specification of the container service.

                        + * + *

                        The scale specifies the allocated compute nodes of the container service.

                        + */ + scale?: number; + + /** + *

                        The current state of the container service.

                        + *

                        The state can be:

                        *
                          *
                        • - *

                          US East (N. Virginia) (us-east-1)

                          + *

                          + * Pending - The container service is being created.

                          *
                        • *
                        • - *

                          US West (Oregon) (us-west-2)

                          + *

                          + * Ready - The container service is created but does not have a container + * deployment.

                          *
                        • *
                        • - *

                          Europe (Ireland) (eu-west-1)

                          + *

                          + * Disabled - The container service is disabled.

                          *
                        • *
                        • - *

                          Asia Pacific (Tokyo) (ap-northeast-1)

                          + *

                          + * Updating - The container service capacity or other setting is being + * updated.

                          *
                        • *
                        • - *

                          Asia Pacific (Singapore) (ap-southeast-1)

                          + *

                          + * Deploying - The container service is launching a container + * deployment.

                          *
                        • *
                        • - *

                          Asia Pacific (Sydney) (ap-southeast-2)

                          + *

                          + * Running - The container service is created and it has a container + * deployment.

                          *
                        • *
                        - *

                        For a list of countries/regions where SMS text messages can be sent, and the latest AWS - * Regions where SMS text messaging is supported, see Supported Regions and Countries in the Amazon SNS Developer - * Guide.

                        - *

                        For more information about notifications in Amazon Lightsail, see Notifications in Amazon Lightsail.

                        */ - protocol: ContactProtocol | string | undefined; + state?: ContainerServiceState | string; /** - *

                        The destination of the contact method, such as an email address or a mobile phone - * number.

                        - *

                        Use the E.164 format when specifying a mobile phone number. E.164 is a standard for the - * phone number structure used for international telecommunication. Phone numbers that follow - * this format can have a maximum of 15 digits, and they are prefixed with the plus character (+) - * and the country code. For example, a U.S. phone number in E.164 format would be specified as - * +1XXX5550100. For more information, see E.164 on Wikipedia.

                        + *

                        An object that describes the next deployment of the container service.

                        + * + *

                        This value is null when there is no deployment in a pending + * state.

                        */ - contactEndpoint: string | undefined; -} + nextDeployment?: ContainerServiceDeployment; -export namespace CreateContactMethodRequest { - export const filterSensitiveLog = (obj: CreateContactMethodRequest): any => ({ - ...obj, - }); -} + /** + *

                        The power specification of the container service.

                        + * + *

                        The power specifies the amount of RAM, the number of vCPUs, and the base price of the + * container service.

                        + */ + power?: ContainerServicePowerName | string; -export interface CreateContactMethodResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The private domain name of the container service.

                        + * + *

                        The private domain name is accessible only by other resources within the default virtual + * private cloud (VPC) of your Lightsail account.

                        */ - operations?: Operation[]; -} + privateDomainName?: string; -export namespace CreateContactMethodResult { - export const filterSensitiveLog = (obj: CreateContactMethodResult): any => ({ - ...obj, - }); -} + /** + *

                        An object that describes the location of the container service, such as the AWS Region + * and Availability Zone.

                        + */ + location?: ResourceLocation; -export interface CreateDiskRequest { /** - *

                        The unique Lightsail disk name (e.g., my-disk).

                        + *

                        The principal ARN of the container service.

                        + * + *

                        The principal ARN can be used to create a trust relationship between your standard AWS + * account and your Lightsail container service. This allows you to give your service + * permission to access resources in your standard AWS account.

                        */ - diskName: string | undefined; + principalArn?: string; /** - *

                        An array of objects that represent the add-ons to enable for the new disk.

                        + *

                        The name of the container service.

                        */ - addOns?: AddOnRequest[]; + containerServiceName?: string; /** - *

                        The tag keys and optional values to add to the resource during create.

                        - *

                        Use the TagResource action to tag a resource after it's created.

                        + *

                        The publicly accessible URL of the container service.

                        + * + *

                        If no public endpoint is specified in the currentDeployment, this URL returns + * a 404 response.

                        + */ + url?: string; + + /** + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        */ tags?: Tag[]; /** - *

                        The Availability Zone where you want to create the disk (e.g., us-east-2a). - * Use the same Availability Zone as the Lightsail instance to which you want to attach the - * disk.

                        - *

                        Use the get regions operation to list the Availability Zones where - * Lightsail is currently available.

                        + *

                        An object that describes the current container deployment of the container service.

                        */ - availabilityZone: string | undefined; + currentDeployment?: ContainerServiceDeployment; /** - *

                        The size of the disk in GB (e.g., 32).

                        + *

                        The timestamp when the container service was created.

                        */ - sizeInGb: number | undefined; -} + createdAt?: Date; -export namespace CreateDiskRequest { - export const filterSensitiveLog = (obj: CreateDiskRequest): any => ({ - ...obj, - }); -} + /** + *

                        The ID of the power of the container service.

                        + */ + powerId?: string; -export interface CreateDiskResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The public domain name of the container service, such as example.com and + * www.example.com.

                        + * + *

                        You can specify up to four public domain names for a container service. The domain names + * that you specify are used when you create a deployment with a container configured as the + * public endpoint of your container service.

                        + * + *

                        If you don't specify public domain names, then you can use the default domain of the + * container service.

                        + * + * + *

                        You must create and validate an SSL/TLS certificate before you can use public domain + * names with your container service. Use the CreateCertificate action to create a + * certificate for the public domain names you want to use with your container service.

                        + *
                        + * + *

                        See CreateContainerService or UpdateContainerService for + * information about how to specify public domain names for your Lightsail container + * service.

                        */ - operations?: Operation[]; + publicDomainNames?: { [key: string]: string[] }; + + /** + *

                        The Amazon Resource Name (ARN) of the container service.

                        + */ + arn?: string; + + /** + *

                        The Lightsail resource type of the container service (i.e., + * ContainerService).

                        + */ + resourceType?: ResourceType | string; } -export namespace CreateDiskResult { - export const filterSensitiveLog = (obj: CreateDiskResult): any => ({ +export namespace ContainerService { + export const filterSensitiveLog = (obj: ContainerService): any => ({ ...obj, }); } -export interface CreateDiskFromSnapshotRequest { - /** - *

                        The date of the automatic snapshot to use for the new disk. Use the get auto - * snapshots operation to identify the dates of the available automatic - * snapshots.

                        +/** + *

                        Describes the settings of a public endpoint for an Amazon Lightsail container + * service.

                        + */ +export interface EndpointRequest { + /** + *

                        The name of the container for the endpoint.

                        + */ + containerName: string | undefined; + + /** + *

                        The port of the container to which traffic is forwarded to.

                        + */ + containerPort: number | undefined; + + /** + *

                        An object that describes the health check configuration of the container.

                        + */ + healthCheck?: ContainerServiceHealthCheckConfig; +} + +export namespace EndpointRequest { + export const filterSensitiveLog = (obj: EndpointRequest): any => ({ + ...obj, + }); +} + +/** + *

                        Describes a container deployment configuration of an Amazon Lightsail container + * service.

                        + * + *

                        A deployment specifies the settings, such as the ports and launch command, of containers + * that are deployed to your container service.

                        + */ +export interface ContainerServiceDeploymentRequest { + /** + *

                        An object that describes the endpoint of the deployment.

                        + */ + publicEndpoint?: EndpointRequest; + + /** + *

                        An object that describes the configuration for the containers of the deployment.

                        + */ + containers?: { [key: string]: Container }; +} + +export namespace ContainerServiceDeploymentRequest { + export const filterSensitiveLog = (obj: ContainerServiceDeploymentRequest): any => ({ + ...obj, + }); +} + +/** + *

                        Describes the log events of a container of an Amazon Lightsail container service.

                        + */ +export interface ContainerServiceLogEvent { + /** + *

                        The timestamp when the container service log event was created.

                        + */ + createdAt?: Date; + + /** + *

                        The message of the container service log event.

                        + */ + message?: string; +} + +export namespace ContainerServiceLogEvent { + export const filterSensitiveLog = (obj: ContainerServiceLogEvent): any => ({ + ...obj, + }); +} + +export enum ContainerServiceMetricName { + CPUUtilization = "CPUUtilization", + MemoryUtilization = "MemoryUtilization", +} + +/** + *

                        Describes the powers that can be specified for an Amazon Lightsail container + * service.

                        + * + *

                        The power specifies the amount of RAM, the number of vCPUs, and the base price of the + * container service.

                        + */ +export interface ContainerServicePower { + /** + *

                        The monthly price of the power in USD.

                        + */ + price?: number; + + /** + *

                        A Boolean value indicating whether the power is active and can be specified for container + * services.

                        + */ + isActive?: boolean; + + /** + *

                        The friendly name of the power (e.g., nano).

                        + */ + name?: string; + + /** + *

                        The amount of RAM (in GB) of the power.

                        + */ + ramSizeInGb?: number; + + /** + *

                        The ID of the power (e.g., nano-1).

                        + */ + powerId?: string; + + /** + *

                        The number of vCPUs included in the power.

                        + */ + cpuCount?: number; +} + +export namespace ContainerServicePower { + export const filterSensitiveLog = (obj: ContainerServicePower): any => ({ + ...obj, + }); +} + +/** + *

                        Describes the login information for the container image registry of an Amazon Lightsail + * account.

                        + */ +export interface ContainerServiceRegistryLogin { + /** + *

                        The timestamp of when the container image registry username and password expire.

                        + * + *

                        The log in credentials expire 12 hours after they are created, at which point you will + * need to create a new set of log in credentials using the + * CreateContainerServiceRegistryLogin action.

                        + */ + expiresAt?: Date; + + /** + *

                        The container service registry username to use to push container images to the container + * image registry of a Lightsail account.

                        + */ + username?: string; + + /** + *

                        The container service registry password to use to push container images to the container + * image registry of a Lightsail account

                        + */ + password?: string; + + /** + *

                        The address to use to push container images to the container image registry of a + * Lightsail account.

                        + */ + registry?: string; +} + +export namespace ContainerServiceRegistryLogin { + export const filterSensitiveLog = (obj: ContainerServiceRegistryLogin): any => ({ + ...obj, + }); +} + +export interface ContainerServicesListResult { + /** + *

                        An array of objects that describe one or more container services.

                        + */ + containerServices?: ContainerService[]; +} + +export namespace ContainerServicesListResult { + export const filterSensitiveLog = (obj: ContainerServicesListResult): any => ({ + ...obj, + }); +} + +export interface CopySnapshotRequest { + /** + *

                        The name of the new manual snapshot to be created as a copy.

                        + */ + targetSnapshotName: string | undefined; + + /** + *

                        The date of the source automatic snapshot to copy. Use the get auto snapshots + * operation to identify the dates of the available automatic snapshots.

                        *

                        Constraints:

                        *
                          *
                        • @@ -2824,42 +3004,16 @@ export interface CreateDiskFromSnapshotRequest { * auto snapshot parameters are mutually exclusive.

                          *
                        • *
                        • - *

                          Define this parameter only when creating a new disk from an automatic snapshot. For - * more information, see the Lightsail Dev Guide.

                          + *

                          Define this parameter only when copying an automatic snapshot as a manual snapshot. + * For more information, see the Lightsail Dev Guide.

                          *
                        • *
                        */ restoreDate?: string; /** - *

                        The size of the disk in GB (e.g., 32).

                        - */ - sizeInGb: number | undefined; - - /** - *

                        The name of the source disk from which the source automatic snapshot was created.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          This parameter cannot be defined together with the disk snapshot name - * parameter. The source disk name and disk snapshot name - * parameters are mutually exclusive.

                          - *
                        • - *
                        • - *

                          Define this parameter only when creating a new disk from an automatic snapshot. For - * more information, see the Lightsail Dev Guide.

                          - *
                        • - *
                        - */ - sourceDiskName?: string; - - /** - *

                        The unique Lightsail disk name (e.g., my-disk).

                        - */ - diskName: string | undefined; - - /** - *

                        A Boolean value to indicate whether to use the latest available automatic snapshot.

                        + *

                        A Boolean value to indicate whether to use the latest available automatic snapshot of the + * specified source instance or disk.

                        *

                        Constraints:

                        *
                          *
                        • @@ -2868,55 +3022,51 @@ export interface CreateDiskFromSnapshotRequest { * date parameters are mutually exclusive.

                          *
                        • *
                        • - *

                          Define this parameter only when creating a new disk from an automatic snapshot. For - * more information, see the Lightsail Dev Guide.

                          + *

                          Define this parameter only when copying an automatic snapshot as a manual snapshot. + * For more information, see the Lightsail Dev Guide.

                          *
                        • *
                        */ useLatestRestorableAutoSnapshot?: boolean; /** - *

                        The Availability Zone where you want to create the disk (e.g., us-east-2a). - * Choose the same Availability Zone as the Lightsail instance where you want to create the - * disk.

                        - *

                        Use the GetRegions operation to list the Availability Zones where Lightsail is currently - * available.

                        - */ - availabilityZone: string | undefined; - - /** - *

                        An array of objects that represent the add-ons to enable for the new disk.

                        + *

                        The name of the source manual snapshot to copy.

                        + *

                        Constraint:

                        + *
                          + *
                        • + *

                          Define this parameter only when copying a manual snapshot as another manual + * snapshot.

                          + *
                        • + *
                        */ - addOns?: AddOnRequest[]; + sourceSnapshotName?: string; /** - *

                        The tag keys and optional values to add to the resource during create.

                        - *

                        Use the TagResource action to tag a resource after it's created.

                        + *

                        The AWS Region where the source manual or automatic snapshot is located.

                        */ - tags?: Tag[]; + sourceRegion: RegionName | string | undefined; /** - *

                        The name of the disk snapshot (e.g., my-snapshot) from which to create the - * new storage disk.

                        + *

                        The name of the source instance or disk from which the source automatic snapshot was + * created.

                        *

                        Constraint:

                        *
                          *
                        • - *

                          This parameter cannot be defined together with the source disk name - * parameter. The disk snapshot name and source disk name - * parameters are mutually exclusive.

                          + *

                          Define this parameter only when copying an automatic snapshot as a manual snapshot. + * For more information, see the Lightsail Dev Guide.

                          *
                        • *
                        */ - diskSnapshotName?: string; + sourceResourceName?: string; } -export namespace CreateDiskFromSnapshotRequest { - export const filterSensitiveLog = (obj: CreateDiskFromSnapshotRequest): any => ({ +export namespace CopySnapshotRequest { + export const filterSensitiveLog = (obj: CopySnapshotRequest): any => ({ ...obj, }); } -export interface CreateDiskFromSnapshotResult { +export interface CopySnapshotResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -2924,338 +3074,590 @@ export interface CreateDiskFromSnapshotResult { operations?: Operation[]; } -export namespace CreateDiskFromSnapshotResult { - export const filterSensitiveLog = (obj: CreateDiskFromSnapshotResult): any => ({ +export namespace CopySnapshotResult { + export const filterSensitiveLog = (obj: CopySnapshotResult): any => ({ ...obj, }); } -export interface CreateDiskSnapshotRequest { +export interface CreateCertificateRequest { /** - *

                        The name of the destination disk snapshot (e.g., my-disk-snapshot) based on - * the source disk.

                        + *

                        An array of strings that specify the alternate domains (e.g., example2.com) + * and subdomains (e.g., blog.example.com) for the certificate.

                        + *

                        You can specify a maximum of nine alternate domains (in addition to the primary domain + * name).

                        + *

                        Wildcard domain entries (e.g., *.example.com) are not supported.

                        */ - diskSnapshotName: string | undefined; + subjectAlternativeNames?: string[]; /** - *

                        The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). - * When this is defined, a snapshot of the instance's system volume is created.

                        - * - *

                        This parameter cannot be defined together with the disk name parameter. The - * instance name and disk name parameters are mutually - * exclusive.

                        - *
                        + *

                        The domain name (e.g., example.com) for the certificate.

                        */ - instanceName?: string; + domainName: string | undefined; /** - *

                        The tag keys and optional values to add to the resource during create.

                        + *

                        The tag keys and optional values to add to the certificate during create.

                        *

                        Use the TagResource action to tag a resource after it's created.

                        */ tags?: Tag[]; /** - *

                        The unique name of the source disk (e.g., Disk-Virginia-1).

                        - * - *

                        This parameter cannot be defined together with the instance name parameter. - * The disk name and instance name parameters are mutually - * exclusive.

                        - *
                        + *

                        The name for the certificate.

                        */ - diskName?: string; + certificateName: string | undefined; } -export namespace CreateDiskSnapshotRequest { - export const filterSensitiveLog = (obj: CreateDiskSnapshotRequest): any => ({ +export namespace CreateCertificateRequest { + export const filterSensitiveLog = (obj: CreateCertificateRequest): any => ({ ...obj, }); } -export interface CreateDiskSnapshotResult { +export interface CreateCertificateResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        */ operations?: Operation[]; + + /** + *

                        An object that describes the certificate created.

                        + */ + certificate?: CertificateSummary; } -export namespace CreateDiskSnapshotResult { - export const filterSensitiveLog = (obj: CreateDiskSnapshotResult): any => ({ +export namespace CreateCertificateResult { + export const filterSensitiveLog = (obj: CreateCertificateResult): any => ({ ...obj, }); } -export enum OriginProtocolPolicyEnum { - HTTPOnly = "http-only", - HTTPSOnly = "https-only", +export enum PortInfoSourceType { + Closed = "CLOSED", + Default = "DEFAULT", + Instance = "INSTANCE", + None = "NONE", } /** - *

                        Describes the origin resource of an Amazon Lightsail content delivery network (CDN) - * distribution.

                        - * - *

                        An origin can be a Lightsail instance or load balancer. A distribution pulls content - * from an origin, caches it, and serves it to viewers via a worldwide network of edge - * servers.

                        + *

                        Describes the Amazon Elastic Compute Cloud instance and related resources to be created using the + * create cloud formation stack operation.

                        */ -export interface InputOrigin { +export interface InstanceEntry { /** - *

                        The protocol that your Amazon Lightsail distribution uses when establishing a connection - * with your origin to pull content.

                        + *

                        The port configuration to use for the new Amazon EC2 instance.

                        + *

                        The following configuration options are available:

                        + *
                          + *
                        • + *

                          + * DEFAULT - Use the default firewall settings from the Lightsail instance + * blueprint.

                          + *
                        • + *
                        • + *

                          + * INSTANCE - Use the configured firewall settings from the source + * Lightsail instance.

                          + *
                        • + *
                        • + *

                          + * NONE - Use the default Amazon EC2 security group.

                          + *
                        • + *
                        • + *

                          + * CLOSED - All ports closed.

                          + *
                        • + *
                        + * + *

                        If you configured lightsail-connect as a cidrListAliases on + * your instance, or if you chose to allow the Lightsail browser-based SSH or RDP clients to + * connect to your instance, that configuration is not carried over to your new Amazon EC2 + * instance.

                        + *
                        */ - protocolPolicy?: OriginProtocolPolicyEnum | string; + portInfoSource: PortInfoSourceType | string | undefined; /** - *

                        The name of the origin resource.

                        + *

                        The Availability Zone for the new Amazon EC2 instance.

                        */ - name?: string; + availabilityZone: string | undefined; /** - *

                        The AWS Region name of the origin resource.

                        + *

                        The name of the export snapshot record, which contains the exported Lightsail instance + * snapshot that will be used as the source of the new Amazon EC2 instance.

                        + *

                        Use the get export snapshot records operation to get a list of export + * snapshot records that you can use to create a CloudFormation stack.

                        */ - regionName?: RegionName | string; + sourceName: string | undefined; + + /** + *

                        A launch script you can create that configures a server with additional user data. For + * example, you might want to run apt-get -y update.

                        + * + *

                        Depending on the machine image you choose, the command to get software on your instance + * varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use + * apt-get, and FreeBSD uses pkg.

                        + *
                        + */ + userData?: string; + + /** + *

                        The instance type (e.g., t2.micro) to use for the new Amazon EC2 instance.

                        + */ + instanceType: string | undefined; } -export namespace InputOrigin { - export const filterSensitiveLog = (obj: InputOrigin): any => ({ +export namespace InstanceEntry { + export const filterSensitiveLog = (obj: InstanceEntry): any => ({ ...obj, }); } -export interface CreateDistributionRequest { +export interface CreateCloudFormationStackRequest { /** - *

                        An object that describes the cache behavior settings for the distribution.

                        + *

                        An array of parameters that will be used to create the new Amazon EC2 instance. You can only + * pass one instance entry at a time in this array. You will get an invalid parameter error if + * you pass more than one instance entry in this array.

                        */ - cacheBehaviorSettings?: CacheSettings; + instances: InstanceEntry[] | undefined; +} + +export namespace CreateCloudFormationStackRequest { + export const filterSensitiveLog = (obj: CreateCloudFormationStackRequest): any => ({ + ...obj, + }); +} +export interface CreateCloudFormationStackResult { /** - *

                        The bundle ID to use for the distribution.

                        - * - *

                        A distribution bundle describes the specifications of your distribution, such as the - * monthly cost and monthly network transfer quota.

                        - * - *

                        Use the GetDistributionBundles action to get a list of distribution bundle - * IDs that you can specify.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - bundleId: string | undefined; + operations?: Operation[]; +} + +export namespace CreateCloudFormationStackResult { + export const filterSensitiveLog = (obj: CreateCloudFormationStackResult): any => ({ + ...obj, + }); +} +export interface CreateContactMethodRequest { /** - *

                        An object that describes the default cache behavior for the distribution.

                        + *

                        The destination of the contact method, such as an email address or a mobile phone + * number.

                        + *

                        Use the E.164 format when specifying a mobile phone number. E.164 is a standard for the + * phone number structure used for international telecommunication. Phone numbers that follow + * this format can have a maximum of 15 digits, and they are prefixed with the plus character (+) + * and the country code. For example, a U.S. phone number in E.164 format would be specified as + * +1XXX5550100. For more information, see E.164 on Wikipedia.

                        */ - defaultCacheBehavior: CacheBehavior | undefined; + contactEndpoint: string | undefined; /** - *

                        The name for the distribution.

                        + *

                        The protocol of the contact method, such as Email or SMS (text + * messaging).

                        + *

                        The SMS protocol is supported only in the following AWS Regions.

                        + *
                          + *
                        • + *

                          US East (N. Virginia) (us-east-1)

                          + *
                        • + *
                        • + *

                          US West (Oregon) (us-west-2)

                          + *
                        • + *
                        • + *

                          Europe (Ireland) (eu-west-1)

                          + *
                        • + *
                        • + *

                          Asia Pacific (Tokyo) (ap-northeast-1)

                          + *
                        • + *
                        • + *

                          Asia Pacific (Singapore) (ap-southeast-1)

                          + *
                        • + *
                        • + *

                          Asia Pacific (Sydney) (ap-southeast-2)

                          + *
                        • + *
                        + *

                        For a list of countries/regions where SMS text messages can be sent, and the latest AWS + * Regions where SMS text messaging is supported, see Supported Regions and Countries in the Amazon SNS Developer + * Guide.

                        + *

                        For more information about notifications in Amazon Lightsail, see Notifications in Amazon Lightsail.

                        */ - distributionName: string | undefined; + protocol: ContactProtocol | string | undefined; +} + +export namespace CreateContactMethodRequest { + export const filterSensitiveLog = (obj: CreateContactMethodRequest): any => ({ + ...obj, + }); +} +export interface CreateContactMethodResult { /** - *

                        An array of objects that describe the per-path cache behavior for the distribution.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - cacheBehaviors?: CacheBehaviorPerPath[]; + operations?: Operation[]; +} + +export namespace CreateContactMethodResult { + export const filterSensitiveLog = (obj: CreateContactMethodResult): any => ({ + ...obj, + }); +} +export interface CreateContainerServiceRequest { /** - *

                        An object that describes the origin resource for the distribution, such as a Lightsail - * instance or load balancer.

                        + *

                        The power specification for the container service.

                        * - *

                        The distribution pulls, caches, and serves content from the origin.

                        + *

                        The power specifies the amount of memory, vCPUs, and base monthly cost of each node of the + * container service. The power and scale of a container service makes + * up its configured capacity. To determine the monthly price of your container service, multiply + * the base price of the power with the scale (the number of nodes) of + * the service.

                        + * + *

                        Use the GetContainerServicePowers action to get a list of power options that + * you can specify using this parameter, and their base monthly cost.

                        */ - origin: InputOrigin | undefined; + power: ContainerServicePowerName | string | undefined; /** - *

                        The tag keys and optional values to add to the distribution during create.

                        + *

                        The scale specification for the container service.

                        * - *

                        Use the TagResource action to tag a resource after it's created.

                        + *

                        The scale specifies the allocated compute nodes of the container service. The + * power and scale of a container service makes up its configured + * capacity. To determine the monthly price of your container service, multiply the base price of + * the power with the scale (the number of nodes) of the + * service.

                        */ - tags?: Tag[]; -} - -export namespace CreateDistributionRequest { - export const filterSensitiveLog = (obj: CreateDistributionRequest): any => ({ - ...obj, - }); -} + scale: number | undefined; -/** - *

                        Describes the origin resource of an Amazon Lightsail content delivery network (CDN) - * distribution.

                        - * - *

                        An origin can be a Lightsail instance or load balancer. A distribution pulls content - * from an origin, caches it, and serves it to viewers via a worldwide network of edge - * servers.

                        - */ -export interface Origin { /** - *

                        The protocol that your Amazon Lightsail distribution uses when establishing a connection - * with your origin to pull content.

                        + *

                        The tag keys and optional values for the container service.

                        + * + *

                        For more information about tags in Lightsail, see the Lightsail + * Dev Guide.

                        */ - protocolPolicy?: OriginProtocolPolicyEnum | string; + tags?: Tag[]; /** - *

                        The AWS Region name of the origin resource.

                        + *

                        The public domain names to use with the container service, such as + * example.com and www.example.com.

                        + * + *

                        You can specify up to four public domain names for a container service. The domain names + * that you specify are used when you create a deployment with a container configured as the + * public endpoint of your container service.

                        + * + *

                        If you don't specify public domain names, then you can use the default domain of the + * container service.

                        + * + * + *

                        You must create and validate an SSL/TLS certificate before you can use public domain + * names with your container service. Use the CreateCertificate action to create a + * certificate for the public domain names you want to use with your container service.

                        + *
                        + * + *

                        You can specify public domain names using a string to array map as shown in the example + * later on this page.

                        */ - regionName?: RegionName | string; + publicDomainNames?: { [key: string]: string[] }; /** - *

                        The name of the origin resource.

                        + *

                        An object that describes a deployment for the container service.

                        + * + *

                        A deployment specifies the containers that will be launched on the container service and + * their settings, such as the ports to open, the environment variables to apply, and the launch + * command to run. It also specifies the container that will serve as the public endpoint of the + * deployment and its settings, such as the HTTP or HTTPS port to use, and the health check + * configuration.

                        */ - name?: string; + deployment?: ContainerServiceDeploymentRequest; /** - *

                        The resource type of the origin resource (e.g., Instance).

                        + *

                        The name for the container service.

                        + * + *

                        The name that you specify for your container service will make up part of its default + * domain. The default domain of a container service is typically + * https://...cs.amazonlightsail.com. + * If the name of your container service is container-service-1, and it's located in + * the US East (Ohio) AWS region (us-east-2), then the domain for your container + * service will be like the following example: + * https://container-service-1.ur4EXAMPLE2uq.us-east-2.cs.amazonlightsail.com + *

                        + * + *

                        The following are the requirements for container service names:

                        + * + *
                          + *
                        • + *

                          Must be unique within each AWS Region in your Lightsail account.

                          + *
                        • + *
                        • + *

                          Must contain 1 to 63 characters.

                          + *
                        • + *
                        • + *

                          Must contain only alphanumeric characters and hyphens.

                          + *
                        • + *
                        • + *

                          A hyphen (-) can separate words but cannot be at the start or end of the name.

                          + *
                        • + *
                        */ - resourceType?: ResourceType | string; + serviceName: string | undefined; } -export namespace Origin { - export const filterSensitiveLog = (obj: Origin): any => ({ +export namespace CreateContainerServiceRequest { + export const filterSensitiveLog = (obj: CreateContainerServiceRequest): any => ({ ...obj, }); } -/** - *

                        Describes an Amazon Lightsail content delivery network (CDN) distribution.

                        - */ -export interface LightsailDistribution { +export interface CreateContainerServiceResult { /** - *

                        The public DNS of the origin.

                        + *

                        An object that describes a container service.

                        */ - originPublicDNS?: string; + containerService?: ContainerService; +} + +export namespace CreateContainerServiceResult { + export const filterSensitiveLog = (obj: CreateContainerServiceResult): any => ({ + ...obj, + }); +} +export interface CreateContainerServiceDeploymentRequest { /** - *

                        The timestamp when the distribution was created.

                        + *

                        An object that describes the settings of the public endpoint for the container + * service.

                        */ - createdAt?: Date; + publicEndpoint?: EndpointRequest; /** - *

                        The alternate domain names of the distribution.

                        + *

                        The name of the container service for which to create the deployment.

                        */ - alternativeDomainNames?: string[]; + serviceName: string | undefined; /** - *

                        Indicates whether the distribution is enabled.

                        + *

                        An object that describes the settings of the containers that will be launched on the + * container service.

                        */ - isEnabled?: boolean; + containers?: { [key: string]: Container }; +} +export namespace CreateContainerServiceDeploymentRequest { + export const filterSensitiveLog = (obj: CreateContainerServiceDeploymentRequest): any => ({ + ...obj, + }); +} + +export interface CreateContainerServiceDeploymentResult { /** - *

                        The domain name of the distribution.

                        + *

                        An object that describes a container service.

                        */ - domainName?: string; + containerService?: ContainerService; +} - /** - *

                        Indicates whether the bundle that is currently applied to your distribution, specified - * using the distributionName parameter, can be changed to another bundle.

                        - * - *

                        Use the UpdateDistributionBundle action to change your distribution's - * bundle.

                        +export namespace CreateContainerServiceDeploymentResult { + export const filterSensitiveLog = (obj: CreateContainerServiceDeploymentResult): any => ({ + ...obj, + }); +} + +export interface CreateContainerServiceRegistryLoginRequest {} + +export namespace CreateContainerServiceRegistryLoginRequest { + export const filterSensitiveLog = (obj: CreateContainerServiceRegistryLoginRequest): any => ({ + ...obj, + }); +} + +export interface CreateContainerServiceRegistryLoginResult { + /** + *

                        An object that describes the log in information for the container service registry of your + * Lightsail account.

                        */ - ableToUpdateBundle?: boolean; + registryLogin?: ContainerServiceRegistryLogin; +} + +export namespace CreateContainerServiceRegistryLoginResult { + export const filterSensitiveLog = (obj: CreateContainerServiceRegistryLoginResult): any => ({ + ...obj, + }); +} +export interface CreateDiskRequest { /** - *

                        The ID of the bundle currently applied to the distribution.

                        + *

                        The size of the disk in GB (e.g., 32).

                        */ - bundleId?: string; + sizeInGb: number | undefined; /** - *

                        The name of the SSL/TLS certificate attached to the distribution, if any.

                        + *

                        The Availability Zone where you want to create the disk (e.g., us-east-2a). + * Use the same Availability Zone as the Lightsail instance to which you want to attach the + * disk.

                        + *

                        Use the get regions operation to list the Availability Zones where + * Lightsail is currently available.

                        */ - certificateName?: string; + availabilityZone: string | undefined; /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        + *

                        The unique Lightsail disk name (e.g., my-disk).

                        + */ + diskName: string | undefined; + + /** + *

                        The tag keys and optional values to add to the resource during create.

                        + *

                        Use the TagResource action to tag a resource after it's created.

                        */ tags?: Tag[]; /** - *

                        An object that describes the default cache behavior of the distribution.

                        + *

                        An array of objects that represent the add-ons to enable for the new disk.

                        */ - defaultCacheBehavior?: CacheBehavior; + addOns?: AddOnRequest[]; +} + +export namespace CreateDiskRequest { + export const filterSensitiveLog = (obj: CreateDiskRequest): any => ({ + ...obj, + }); +} +export interface CreateDiskResult { /** - *

                        An object that describes the origin resource of the distribution, such as a Lightsail - * instance or load balancer.

                        - * - *

                        The distribution pulls, caches, and serves content from the origin.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - origin?: Origin; + operations?: Operation[]; +} + +export namespace CreateDiskResult { + export const filterSensitiveLog = (obj: CreateDiskResult): any => ({ + ...obj, + }); +} +export interface CreateDiskFromSnapshotRequest { /** - *

                        An object that describes the location of the distribution, such as the AWS Region and - * Availability Zone.

                        - * - *

                        Lightsail distributions are global resources that can reference an origin in any AWS - * Region, and distribute its content globally. However, all distributions are located in the - * us-east-1 Region.

                        - *
                        + *

                        A Boolean value to indicate whether to use the latest available automatic snapshot.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          This parameter cannot be defined together with the restore date + * parameter. The use latest restorable auto snapshot and restore + * date parameters are mutually exclusive.

                          + *
                        • + *
                        • + *

                          Define this parameter only when creating a new disk from an automatic snapshot. For + * more information, see the Lightsail Dev Guide.

                          + *
                        • + *
                        */ - location?: ResourceLocation; + useLatestRestorableAutoSnapshot?: boolean; /** - *

                        An array of objects that describe the per-path cache behavior of the distribution.

                        + *

                        The tag keys and optional values to add to the resource during create.

                        + *

                        Use the TagResource action to tag a resource after it's created.

                        */ - cacheBehaviors?: CacheBehaviorPerPath[]; + tags?: Tag[]; /** - *

                        The name of the distribution.

                        + *

                        The unique Lightsail disk name (e.g., my-disk).

                        */ - name?: string; + diskName: string | undefined; /** - *

                        An object that describes the cache behavior settings of the distribution.

                        + *

                        The name of the source disk from which the source automatic snapshot was created.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          This parameter cannot be defined together with the disk snapshot name + * parameter. The source disk name and disk snapshot name + * parameters are mutually exclusive.

                          + *
                        • + *
                        • + *

                          Define this parameter only when creating a new disk from an automatic snapshot. For + * more information, see the Lightsail Dev Guide.

                          + *
                        • + *
                        */ - cacheBehaviorSettings?: CacheSettings; + sourceDiskName?: string; /** - *

                        The support code. Include this code in your email to support when you have questions about - * your Lightsail distribution. This code enables our support team to look up your Lightsail - * information more easily.

                        + *

                        The size of the disk in GB (e.g., 32).

                        */ - supportCode?: string; + sizeInGb: number | undefined; /** - *

                        The status of the distribution.

                        + *

                        The date of the automatic snapshot to use for the new disk. Use the get auto + * snapshots operation to identify the dates of the available automatic + * snapshots.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Must be specified in YYYY-MM-DD format.

                          + *
                        • + *
                        • + *

                          This parameter cannot be defined together with the use latest restorable auto + * snapshot parameter. The restore date and use latest restorable + * auto snapshot parameters are mutually exclusive.

                          + *
                        • + *
                        • + *

                          Define this parameter only when creating a new disk from an automatic snapshot. For + * more information, see the Lightsail Dev Guide.

                          + *
                        • + *
                        */ - status?: string; + restoreDate?: string; /** - *

                        The Amazon Resource Name (ARN) of the distribution.

                        + *

                        An array of objects that represent the add-ons to enable for the new disk.

                        */ - arn?: string; + addOns?: AddOnRequest[]; /** - *

                        The Lightsail resource type (e.g., Distribution).

                        + *

                        The Availability Zone where you want to create the disk (e.g., us-east-2a). + * Choose the same Availability Zone as the Lightsail instance where you want to create the + * disk.

                        + *

                        Use the GetRegions operation to list the Availability Zones where Lightsail is currently + * available.

                        */ - resourceType?: ResourceType | string; + availabilityZone: string | undefined; + + /** + *

                        The name of the disk snapshot (e.g., my-snapshot) from which to create the + * new storage disk.

                        + *

                        Constraint:

                        + *
                          + *
                        • + *

                          This parameter cannot be defined together with the source disk name + * parameter. The disk snapshot name and source disk name + * parameters are mutually exclusive.

                          + *
                        • + *
                        + */ + diskSnapshotName?: string; } -export namespace LightsailDistribution { - export const filterSensitiveLog = (obj: LightsailDistribution): any => ({ +export namespace CreateDiskFromSnapshotRequest { + export const filterSensitiveLog = (obj: CreateDiskFromSnapshotRequest): any => ({ ...obj, }); } -export interface CreateDistributionResult { - /** - *

                        An object that describes the distribution created.

                        - */ - distribution?: LightsailDistribution; - +export interface CreateDiskFromSnapshotResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        */ - operation?: Operation; + operations?: Operation[]; } -export namespace CreateDistributionResult { - export const filterSensitiveLog = (obj: CreateDistributionResult): any => ({ +export namespace CreateDiskFromSnapshotResult { + export const filterSensitiveLog = (obj: CreateDiskFromSnapshotResult): any => ({ ...obj, }); } -export interface CreateDomainRequest { +export interface CreateDiskSnapshotRequest { /** *

                        The tag keys and optional values to add to the resource during create.

                        *

                        Use the TagResource action to tag a resource after it's created.

                        @@ -3263,568 +3665,532 @@ export interface CreateDomainRequest { tags?: Tag[]; /** - *

                        The domain name to manage (e.g., example.com).

                        + *

                        The unique name of the source disk (e.g., Disk-Virginia-1).

                        * - *

                        You cannot register a new domain name using Lightsail. You must register a domain name - * using Amazon Route 53 or another domain name registrar. If you have already registered your - * domain, you can enter its name in this parameter to manage the DNS records for that - * domain.

                        + *

                        This parameter cannot be defined together with the instance name parameter. + * The disk name and instance name parameters are mutually + * exclusive.

                        *
                        */ - domainName: string | undefined; + diskName?: string; + + /** + *

                        The name of the destination disk snapshot (e.g., my-disk-snapshot) based on + * the source disk.

                        + */ + diskSnapshotName: string | undefined; + + /** + *

                        The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). + * When this is defined, a snapshot of the instance's system volume is created.

                        + * + *

                        This parameter cannot be defined together with the disk name parameter. The + * instance name and disk name parameters are mutually + * exclusive.

                        + *
                        + */ + instanceName?: string; } -export namespace CreateDomainRequest { - export const filterSensitiveLog = (obj: CreateDomainRequest): any => ({ +export namespace CreateDiskSnapshotRequest { + export const filterSensitiveLog = (obj: CreateDiskSnapshotRequest): any => ({ ...obj, }); } -export interface CreateDomainResult { +export interface CreateDiskSnapshotResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        */ - operation?: Operation; + operations?: Operation[]; } -export namespace CreateDomainResult { - export const filterSensitiveLog = (obj: CreateDomainResult): any => ({ +export namespace CreateDiskSnapshotResult { + export const filterSensitiveLog = (obj: CreateDiskSnapshotResult): any => ({ ...obj, }); } +export enum OriginProtocolPolicyEnum { + HTTPOnly = "http-only", + HTTPSOnly = "https-only", +} + /** - *

                        Describes a domain recordset entry.

                        + *

                        Describes the origin resource of an Amazon Lightsail content delivery network (CDN) + * distribution.

                        + *

                        An origin can be a Lightsail instance or load balancer. A distribution pulls content + * from an origin, caches it, and serves it to viewers via a worldwide network of edge + * servers.

                        */ -export interface DomainEntry { +export interface InputOrigin { /** - *

                        The name of the domain.

                        + *

                        The AWS Region name of the origin resource.

                        */ - name?: string; + regionName?: RegionName | string; /** - *

                        (Deprecated) The options for the domain entry.

                        - * - *

                        In releases prior to November 29, 2017, this parameter was not included in the API - * response. It is now deprecated.

                        - *
                        + *

                        The name of the origin resource.

                        */ - options?: { [key: string]: string }; + name?: string; /** - *

                        The ID of the domain recordset entry.

                        + *

                        The protocol that your Amazon Lightsail distribution uses when establishing a connection + * with your origin to pull content.

                        */ - id?: string; + protocolPolicy?: OriginProtocolPolicyEnum | string; +} + +export namespace InputOrigin { + export const filterSensitiveLog = (obj: InputOrigin): any => ({ + ...obj, + }); +} +export interface CreateDistributionRequest { /** - *

                        When true, specifies whether the domain entry is an alias used by the - * Lightsail load balancer. You can include an alias (A type) record in your request, which - * points to a load balancer DNS name and routes traffic to your load balancer

                        + *

                        An array of objects that describe the per-path cache behavior for the distribution.

                        */ - isAlias?: boolean; + cacheBehaviors?: CacheBehaviorPerPath[]; /** - *

                        The target AWS name server (e.g., ns-111.awsdns-22.com.).

                        - *

                        For Lightsail load balancers, the value looks like - * ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com. Be sure - * to also set isAlias to true when setting up an A record for a load - * balancer.

                        + *

                        The name for the distribution.

                        */ - target?: string; + distributionName: string | undefined; /** - *

                        The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger - * (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).

                        - *

                        The following domain entry types can be used:

                        - *
                          - *
                        • - *

                          - * A - *

                          - *
                        • - *
                        • - *

                          - * CNAME - *

                          - *
                        • - *
                        • - *

                          - * MX - *

                          - *
                        • - *
                        • - *

                          - * NS - *

                          - *
                        • - *
                        • - *

                          - * SOA - *

                          - *
                        • - *
                        • - *

                          - * SRV - *

                          - *
                        • - *
                        • - *

                          - * TXT - *

                          - *
                        • - *
                        + *

                        An object that describes the cache behavior settings for the distribution.

                        */ - type?: string; -} - -export namespace DomainEntry { - export const filterSensitiveLog = (obj: DomainEntry): any => ({ - ...obj, - }); -} + cacheBehaviorSettings?: CacheSettings; -export interface CreateDomainEntryRequest { /** - *

                        The domain name (e.g., example.com) for which you want to create the domain - * entry.

                        + *

                        An object that describes the origin resource for the distribution, such as a Lightsail + * instance or load balancer.

                        + *

                        The distribution pulls, caches, and serves content from the origin.

                        */ - domainName: string | undefined; + origin: InputOrigin | undefined; /** - *

                        An array of key-value pairs containing information about the domain entry request.

                        + *

                        The tag keys and optional values to add to the distribution during create.

                        + *

                        Use the TagResource action to tag a resource after it's created.

                        */ - domainEntry: DomainEntry | undefined; -} + tags?: Tag[]; -export namespace CreateDomainEntryRequest { - export const filterSensitiveLog = (obj: CreateDomainEntryRequest): any => ({ - ...obj, - }); -} + /** + *

                        An object that describes the default cache behavior for the distribution.

                        + */ + defaultCacheBehavior: CacheBehavior | undefined; -export interface CreateDomainEntryResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The bundle ID to use for the distribution.

                        + *

                        A distribution bundle describes the specifications of your distribution, such as the + * monthly cost and monthly network transfer quota.

                        + *

                        Use the GetDistributionBundles action to get a list of distribution bundle + * IDs that you can specify.

                        */ - operation?: Operation; + bundleId: string | undefined; } -export namespace CreateDomainEntryResult { - export const filterSensitiveLog = (obj: CreateDomainEntryResult): any => ({ +export namespace CreateDistributionRequest { + export const filterSensitiveLog = (obj: CreateDistributionRequest): any => ({ ...obj, }); } -export interface CreateInstancesRequest { +/** + *

                        Describes the origin resource of an Amazon Lightsail content delivery network (CDN) + * distribution.

                        + *

                        An origin can be a Lightsail instance or load balancer. A distribution pulls content + * from an origin, caches it, and serves it to viewers via a worldwide network of edge + * servers.

                        + */ +export interface Origin { /** - *

                        The names to use for your new Lightsail instances. Separate multiple values using - * quotation marks and commas, for example: - * ["MyFirstInstance","MySecondInstance"] - *

                        + *

                        The AWS Region name of the origin resource.

                        */ - instanceNames: string[] | undefined; + regionName?: RegionName | string; /** - *

                        The bundle of specification information for your virtual private server (or - * instance), including the pricing plan (e.g., - * micro_1_0).

                        + *

                        The protocol that your Amazon Lightsail distribution uses when establishing a connection + * with your origin to pull content.

                        */ - bundleId: string | undefined; + protocolPolicy?: OriginProtocolPolicyEnum | string; /** - *

                        The tag keys and optional values to add to the resource during create.

                        - *

                        Use the TagResource action to tag a resource after it's created.

                        + *

                        The resource type of the origin resource (e.g., Instance).

                        */ - tags?: Tag[]; + resourceType?: ResourceType | string; /** - *

                        The name of your key pair.

                        + *

                        The name of the origin resource.

                        */ - keyPairName?: string; + name?: string; +} + +export namespace Origin { + export const filterSensitiveLog = (obj: Origin): any => ({ + ...obj, + }); +} +/** + *

                        Describes an Amazon Lightsail content delivery network (CDN) distribution.

                        + */ +export interface LightsailDistribution { /** - *

                        The Availability Zone in which to create your instance. Use the following format: - * us-east-2a (case sensitive). You can get a list of Availability Zones by using - * the get - * regions operation. Be sure to add the include Availability Zones - * parameter to your request.

                        + *

                        The ID of the bundle currently applied to the distribution.

                        */ - availabilityZone: string | undefined; + bundleId?: string; /** - *

                        (Deprecated) The name for your custom image.

                        + *

                        An object that describes the location of the distribution, such as the AWS Region and + * Availability Zone.

                        * - *

                        In releases prior to June 12, 2017, this parameter was ignored by the API. It is now - * deprecated.

                        + *

                        Lightsail distributions are global resources that can reference an origin in any AWS + * Region, and distribute its content globally. However, all distributions are located in the + * us-east-1 Region.

                        *
                        */ - customImageName?: string; + location?: ResourceLocation; /** - *

                        The ID for a virtual private server image (e.g., app_wordpress_4_4 or - * app_lamp_7_0). Use the get blueprints operation to return a list - * of available images (or blueprints).

                        - * - *

                        Use active blueprints when creating new instances. Inactive blueprints are listed to - * support customers with existing instances and are not necessarily available to create new - * instances. Blueprints are marked inactive when they become outdated due to operating system - * updates or new application releases.

                        - *
                        + *

                        An array of objects that describe the per-path cache behavior of the distribution.

                        */ - blueprintId: string | undefined; + cacheBehaviors?: CacheBehaviorPerPath[]; /** - *

                        A launch script you can create that configures a server with additional user data. For - * example, you might want to run apt-get -y update.

                        - * - *

                        Depending on the machine image you choose, the command to get software on your instance - * varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use - * apt-get, and FreeBSD uses pkg. For a complete list, see the - * Dev Guide.

                        - *
                        + *

                        An object that describes the cache behavior settings of the distribution.

                        */ - userData?: string; + cacheBehaviorSettings?: CacheSettings; /** - *

                        An array of objects representing the add-ons to enable for the new instance.

                        + *

                        An object that describes the origin resource of the distribution, such as a Lightsail + * instance or load balancer.

                        + *

                        The distribution pulls, caches, and serves content from the origin.

                        */ - addOns?: AddOnRequest[]; -} + origin?: Origin; -export namespace CreateInstancesRequest { - export const filterSensitiveLog = (obj: CreateInstancesRequest): any => ({ - ...obj, - }); -} + /** + *

                        An object that describes the default cache behavior of the distribution.

                        + */ + defaultCacheBehavior?: CacheBehavior; -export interface CreateInstancesResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The timestamp when the distribution was created.

                        */ - operations?: Operation[]; -} + createdAt?: Date; -export namespace CreateInstancesResult { - export const filterSensitiveLog = (obj: CreateInstancesResult): any => ({ - ...obj, - }); -} + /** + *

                        The public DNS of the origin.

                        + */ + originPublicDNS?: string; -export interface CreateInstancesFromSnapshotRequest { /** - *

                        A Boolean value to indicate whether to use the latest available automatic snapshot.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          This parameter cannot be defined together with the restore date - * parameter. The use latest restorable auto snapshot and restore - * date parameters are mutually exclusive.

                          - *
                        • - *
                        • - *

                          Define this parameter only when creating a new instance from an automatic snapshot. - * For more information, see the Lightsail Dev Guide.

                          - *
                        • - *
                        + *

                        The status of the distribution.

                        */ - useLatestRestorableAutoSnapshot?: boolean; + status?: string; /** - *

                        The names for your new instances.

                        + *

                        The Amazon Resource Name (ARN) of the distribution.

                        */ - instanceNames: string[] | undefined; + arn?: string; /** - *

                        The tag keys and optional values to add to the resource during create.

                        - *

                        Use the TagResource action to tag a resource after it's created.

                        + *

                        The name of the distribution.

                        */ - tags?: Tag[]; + name?: string; /** - *

                        The name of the source instance from which the source automatic snapshot was - * created.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          This parameter cannot be defined together with the instance snapshot name - * parameter. The source instance name and instance snapshot name - * parameters are mutually exclusive.

                          - *
                        • - *
                        • - *

                          Define this parameter only when creating a new instance from an automatic snapshot. - * For more information, see the Lightsail Dev Guide.

                          - *
                        • - *
                        - */ - sourceInstanceName?: string; - - /** - *

                        You can create a launch script that configures a server with additional user data. For - * example, apt-get -y update.

                        - * - *

                        Depending on the machine image you choose, the command to get software on your instance - * varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use - * apt-get, and FreeBSD uses pkg. For a complete list, see the - * Dev Guide.

                        - *
                        + *

                        The Lightsail resource type (e.g., Distribution).

                        */ - userData?: string; + resourceType?: ResourceType | string; /** - *

                        An object containing information about one or more disk mappings.

                        + *

                        The support code. Include this code in your email to support when you have questions about + * your Lightsail distribution. This code enables our support team to look up your Lightsail + * information more easily.

                        */ - attachedDiskMapping?: { [key: string]: DiskMap[] }; + supportCode?: string; /** - *

                        The date of the automatic snapshot to use for the new instance. Use the get auto - * snapshots operation to identify the dates of the available automatic - * snapshots.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Must be specified in YYYY-MM-DD format.

                          - *
                        • - *
                        • - *

                          This parameter cannot be defined together with the use latest restorable auto - * snapshot parameter. The restore date and use latest restorable - * auto snapshot parameters are mutually exclusive.

                          - *
                        • - *
                        • - *

                          Define this parameter only when creating a new instance from an automatic snapshot. - * For more information, see the Lightsail Dev Guide.

                          - *
                        • - *
                        + *

                        Indicates whether the distribution is enabled.

                        */ - restoreDate?: string; + isEnabled?: boolean; /** - *

                        The Availability Zone where you want to create your instances. Use the following - * formatting: us-east-2a (case sensitive). You can get a list of Availability Zones - * by using the get - * regions operation. Be sure to add the include Availability Zones - * parameter to your request.

                        + *

                        The domain name of the distribution.

                        */ - availabilityZone: string | undefined; + domainName?: string; /** - *

                        The name for your key pair.

                        + *

                        The alternate domain names of the distribution.

                        */ - keyPairName?: string; + alternativeDomainNames?: string[]; /** - *

                        The bundle of specification information for your virtual private server (or - * instance), including the pricing plan (e.g., - * micro_1_0).

                        + *

                        Indicates whether the bundle that is currently applied to your distribution, specified + * using the distributionName parameter, can be changed to another bundle.

                        + *

                        Use the UpdateDistributionBundle action to change your distribution's + * bundle.

                        */ - bundleId: string | undefined; + ableToUpdateBundle?: boolean; /** - *

                        An array of objects representing the add-ons to enable for the new instance.

                        + *

                        The name of the SSL/TLS certificate attached to the distribution, if any.

                        */ - addOns?: AddOnRequest[]; + certificateName?: string; /** - *

                        The name of the instance snapshot on which you are basing your new instances. Use the get - * instance snapshots operation to return information about your existing snapshots.

                        - *

                        Constraint:

                        - *
                          - *
                        • - *

                          This parameter cannot be defined together with the source instance name - * parameter. The instance snapshot name and source instance name - * parameters are mutually exclusive.

                          - *
                        • - *
                        + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        */ - instanceSnapshotName?: string; + tags?: Tag[]; } -export namespace CreateInstancesFromSnapshotRequest { - export const filterSensitiveLog = (obj: CreateInstancesFromSnapshotRequest): any => ({ +export namespace LightsailDistribution { + export const filterSensitiveLog = (obj: LightsailDistribution): any => ({ ...obj, }); } -export interface CreateInstancesFromSnapshotResult { +export interface CreateDistributionResult { + /** + *

                        An object that describes the distribution created.

                        + */ + distribution?: LightsailDistribution; + /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        */ - operations?: Operation[]; + operation?: Operation; } -export namespace CreateInstancesFromSnapshotResult { - export const filterSensitiveLog = (obj: CreateInstancesFromSnapshotResult): any => ({ +export namespace CreateDistributionResult { + export const filterSensitiveLog = (obj: CreateDistributionResult): any => ({ ...obj, }); } -export interface CreateInstanceSnapshotRequest { - /** - *

                        The Lightsail instance on which to base your snapshot.

                        - */ - instanceName: string | undefined; - - /** - *

                        The name for your new snapshot.

                        - */ - instanceSnapshotName: string | undefined; - +export interface CreateDomainRequest { /** *

                        The tag keys and optional values to add to the resource during create.

                        *

                        Use the TagResource action to tag a resource after it's created.

                        */ tags?: Tag[]; -} - -export namespace CreateInstanceSnapshotRequest { - export const filterSensitiveLog = (obj: CreateInstanceSnapshotRequest): any => ({ - ...obj, - }); -} -export interface CreateInstanceSnapshotResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The domain name to manage (e.g., example.com).

                        + * + *

                        You cannot register a new domain name using Lightsail. You must register a domain name + * using Amazon Route 53 or another domain name registrar. If you have already registered your + * domain, you can enter its name in this parameter to manage the DNS records for that + * domain.

                        + *
                        */ - operations?: Operation[]; + domainName: string | undefined; } -export namespace CreateInstanceSnapshotResult { - export const filterSensitiveLog = (obj: CreateInstanceSnapshotResult): any => ({ +export namespace CreateDomainRequest { + export const filterSensitiveLog = (obj: CreateDomainRequest): any => ({ ...obj, }); } -export interface CreateKeyPairRequest { - /** - *

                        The name for your new key pair.

                        - */ - keyPairName: string | undefined; - +export interface CreateDomainResult { /** - *

                        The tag keys and optional values to add to the resource during create.

                        - *

                        Use the TagResource action to tag a resource after it's created.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - tags?: Tag[]; + operation?: Operation; } -export namespace CreateKeyPairRequest { - export const filterSensitiveLog = (obj: CreateKeyPairRequest): any => ({ +export namespace CreateDomainResult { + export const filterSensitiveLog = (obj: CreateDomainResult): any => ({ ...obj, }); } /** - *

                        Describes the SSH key pair.

                        + *

                        Describes a domain recordset entry.

                        */ -export interface KeyPair { +export interface DomainEntry { /** - *

                        The timestamp when the key pair was created (e.g., 1479816991.349).

                        + *

                        The target AWS name server (e.g., ns-111.awsdns-22.com.).

                        + *

                        For Lightsail load balancers, the value looks like + * ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com. Be sure + * to also set isAlias to true when setting up an A record for a load + * balancer.

                        */ - createdAt?: Date; + target?: string; /** - *

                        The resource type (usually KeyPair).

                        + *

                        When true, specifies whether the domain entry is an alias used by the + * Lightsail load balancer. You can include an alias (A type) record in your request, which + * points to a load balancer DNS name and routes traffic to your load balancer.

                        */ - resourceType?: ResourceType | string; + isAlias?: boolean; /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        + *

                        The ID of the domain recordset entry.

                        */ - tags?: Tag[]; + id?: string; /** - *

                        The support code. Include this code in your email to support when you have questions about - * an instance or another resource in Lightsail. This code enables our support team to look up - * your Lightsail information more easily.

                        + *

                        (Deprecated) The options for the domain entry.

                        + * + *

                        In releases prior to November 29, 2017, this parameter was not included in the API + * response. It is now deprecated.

                        + *
                        */ - supportCode?: string; + options?: { [key: string]: string }; /** - *

                        The friendly name of the SSH key pair.

                        + *

                        The name of the domain.

                        */ name?: string; /** - *

                        The Amazon Resource Name (ARN) of the key pair (e.g., - * arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

                        + *

                        The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger + * (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).

                        + *

                        The following domain entry types can be used:

                        + *
                          + *
                        • + *

                          + * A + *

                          + *
                        • + *
                        • + *

                          + * CNAME + *

                          + *
                        • + *
                        • + *

                          + * MX + *

                          + *
                        • + *
                        • + *

                          + * NS + *

                          + *
                        • + *
                        • + *

                          + * SOA + *

                          + *
                        • + *
                        • + *

                          + * SRV + *

                          + *
                        • + *
                        • + *

                          + * TXT + *

                          + *
                        • + *
                        */ - arn?: string; + type?: string; +} + +export namespace DomainEntry { + export const filterSensitiveLog = (obj: DomainEntry): any => ({ + ...obj, + }); +} +export interface CreateDomainEntryRequest { /** - *

                        The region name and Availability Zone where the key pair was created.

                        + *

                        An array of key-value pairs containing information about the domain entry request.

                        */ - location?: ResourceLocation; + domainEntry: DomainEntry | undefined; /** - *

                        The RSA fingerprint of the key pair.

                        + *

                        The domain name (e.g., example.com) for which you want to create the domain + * entry.

                        */ - fingerprint?: string; + domainName: string | undefined; } -export namespace KeyPair { - export const filterSensitiveLog = (obj: KeyPair): any => ({ +export namespace CreateDomainEntryRequest { + export const filterSensitiveLog = (obj: CreateDomainEntryRequest): any => ({ ...obj, }); } -export interface CreateKeyPairResult { +export interface CreateDomainEntryResult { /** - *

                        An array of key-value pairs containing information about the new key pair you just - * created.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - keyPair?: KeyPair; + operation?: Operation; +} + +export namespace CreateDomainEntryResult { + export const filterSensitiveLog = (obj: CreateDomainEntryResult): any => ({ + ...obj, + }); +} +export interface CreateInstancesRequest { /** - *

                        A base64-encoded public key of the ssh-rsa type.

                        + *

                        An array of objects representing the add-ons to enable for the new instance.

                        */ - publicKeyBase64?: string; + addOns?: AddOnRequest[]; /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        (Deprecated) The name for your custom image.

                        + * + *

                        In releases prior to June 12, 2017, this parameter was ignored by the API. It is now + * deprecated.

                        + *
                        */ - operation?: Operation; + customImageName?: string; /** - *

                        A base64-encoded RSA private key.

                        + *

                        The Availability Zone in which to create your instance. Use the following format: + * us-east-2a (case sensitive). You can get a list of Availability Zones by using + * the get + * regions operation. Be sure to add the include Availability Zones + * parameter to your request.

                        */ - privateKeyBase64?: string; -} - -export namespace CreateKeyPairResult { - export const filterSensitiveLog = (obj: CreateKeyPairResult): any => ({ - ...obj, - }); -} + availabilityZone: string | undefined; -export interface CreateLoadBalancerRequest { /** - *

                        The path you provided to perform the load balancer health check. If you didn't specify a - * health check path, Lightsail uses the root path of your website (e.g., - * "/").

                        - *

                        You may want to specify a custom health check path other than the root of your application - * if your home page loads slowly or has a lot of media or scripting on it.

                        + *

                        A launch script you can create that configures a server with additional user data. For + * example, you might want to run apt-get -y update.

                        + * + *

                        Depending on the machine image you choose, the command to get software on your instance + * varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use + * apt-get, and FreeBSD uses pkg. For a complete list, see the + * Dev Guide.

                        + *
                        */ - healthCheckPath?: string; + userData?: string; /** - *

                        The name of your load balancer.

                        + *

                        The ID for a virtual private server image (e.g., app_wordpress_4_4 or + * app_lamp_7_0). Use the get blueprints operation to return a list + * of available images (or blueprints).

                        + * + *

                        Use active blueprints when creating new instances. Inactive blueprints are listed to + * support customers with existing instances and are not necessarily available to create new + * instances. Blueprints are marked inactive when they become outdated due to operating system + * updates or new application releases.

                        + *
                        */ - loadBalancerName: string | undefined; + blueprintId: string | undefined; /** - *

                        The domain name with which your certificate is associated (e.g., - * example.com).

                        - *

                        If you specify certificateDomainName, then certificateName is - * required (and vice-versa).

                        + *

                        The bundle of specification information for your virtual private server (or + * instance), including the pricing plan (e.g., + * micro_1_0).

                        */ - certificateDomainName?: string; + bundleId: string | undefined; /** *

                        The tag keys and optional values to add to the resource during create.

                        @@ -3833,32 +4199,26 @@ export interface CreateLoadBalancerRequest { tags?: Tag[]; /** - *

                        The optional alternative domains and subdomains to use with your SSL/TLS certificate - * (e.g., www.example.com, example.com, m.example.com, - * blog.example.com).

                        - */ - certificateAlternativeNames?: string[]; - - /** - *

                        The instance port where you're creating your load balancer.

                        + *

                        The name of your key pair.

                        */ - instancePort: number | undefined; + keyPairName?: string; /** - *

                        The name of the SSL/TLS certificate.

                        - *

                        If you specify certificateName, then certificateDomainName is - * required (and vice-versa).

                        + *

                        The names to use for your new Lightsail instances. Separate multiple values using + * quotation marks and commas, for example: + * ["MyFirstInstance","MySecondInstance"] + *

                        */ - certificateName?: string; + instanceNames: string[] | undefined; } -export namespace CreateLoadBalancerRequest { - export const filterSensitiveLog = (obj: CreateLoadBalancerRequest): any => ({ +export namespace CreateInstancesRequest { + export const filterSensitiveLog = (obj: CreateInstancesRequest): any => ({ ...obj, }); } -export interface CreateLoadBalancerResult { +export interface CreateInstancesResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -3866,117 +4226,88 @@ export interface CreateLoadBalancerResult { operations?: Operation[]; } -export namespace CreateLoadBalancerResult { - export const filterSensitiveLog = (obj: CreateLoadBalancerResult): any => ({ +export namespace CreateInstancesResult { + export const filterSensitiveLog = (obj: CreateInstancesResult): any => ({ ...obj, }); } -export interface CreateLoadBalancerTlsCertificateRequest { - /** - *

                        The load balancer name where you want to create the SSL/TLS certificate.

                        - */ - loadBalancerName: string | undefined; - - /** - *

                        The domain name (e.g., example.com) for your SSL/TLS certificate.

                        - */ - certificateDomainName: string | undefined; - - /** - *

                        An array of strings listing alternative domains and subdomains for your SSL/TLS - * certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 - * alternative names (in addition to the 1 primary domain). We do not support wildcards (e.g., - * *.example.com).

                        - */ - certificateAlternativeNames?: string[]; - +export interface CreateInstancesFromSnapshotRequest { /** - *

                        The SSL/TLS certificate name.

                        - *

                        You can have up to 10 certificates in your account at one time. Each Lightsail load - * balancer can have up to 2 certificates associated with it at one time. There is also an - * overall limit to the number of certificates that can be issue in a 365-day period. For more - * information, see Limits.

                        + *

                        The Availability Zone where you want to create your instances. Use the following + * formatting: us-east-2a (case sensitive). You can get a list of Availability Zones + * by using the get + * regions operation. Be sure to add the include Availability Zones + * parameter to your request.

                        */ - certificateName: string | undefined; + availabilityZone: string | undefined; /** - *

                        The tag keys and optional values to add to the resource during create.

                        - *

                        Use the TagResource action to tag a resource after it's created.

                        + *

                        An array of objects representing the add-ons to enable for the new instance.

                        */ - tags?: Tag[]; -} - -export namespace CreateLoadBalancerTlsCertificateRequest { - export const filterSensitiveLog = (obj: CreateLoadBalancerTlsCertificateRequest): any => ({ - ...obj, - }); -} + addOns?: AddOnRequest[]; -export interface CreateLoadBalancerTlsCertificateResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        You can create a launch script that configures a server with additional user data. For + * example, apt-get -y update.

                        + * + *

                        Depending on the machine image you choose, the command to get software on your instance + * varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use + * apt-get, and FreeBSD uses pkg. For a complete list, see the + * Dev Guide.

                        + *
                        */ - operations?: Operation[]; -} - -export namespace CreateLoadBalancerTlsCertificateResult { - export const filterSensitiveLog = (obj: CreateLoadBalancerTlsCertificateResult): any => ({ - ...obj, - }); -} + userData?: string; -export interface CreateRelationalDatabaseRequest { /** - *

                        The master user name for your new database.

                        + *

                        The date of the automatic snapshot to use for the new instance. Use the get auto + * snapshots operation to identify the dates of the available automatic + * snapshots.

                        *

                        Constraints:

                        *
                          *
                        • - *

                          Master user name is required.

                          - *
                        • - *
                        • - *

                          Must contain from 1 to 16 alphanumeric characters.

                          + *

                          Must be specified in YYYY-MM-DD format.

                          *
                        • *
                        • - *

                          The first character must be a letter.

                          + *

                          This parameter cannot be defined together with the use latest restorable auto + * snapshot parameter. The restore date and use latest restorable + * auto snapshot parameters are mutually exclusive.

                          *
                        • *
                        • - *

                          Cannot be a reserved word for the database engine you choose.

                          - *

                          For more information about reserved words in MySQL 5.6 or 5.7, see the Keywords and - * Reserved Words articles for MySQL 5.6 or MySQL 5.7 - * respectively.

                          + *

                          Define this parameter only when creating a new instance from an automatic snapshot. + * For more information, see the Lightsail Dev Guide.

                          *
                        • *
                        */ - masterUsername: string | undefined; + restoreDate?: string; /** - *

                        The weekly time range during which system maintenance can occur on your new - * database.

                        - *

                        The default is a 30-minute window selected at random from an 8-hour block of time for each - * AWS Region, occurring on a random day of the week.

                        + *

                        The name for your key pair.

                        + */ + keyPairName?: string; + + /** + *

                        An object containing information about one or more disk mappings.

                        + */ + attachedDiskMapping?: { [key: string]: DiskMap[] }; + + /** + *

                        The name of the source instance from which the source automatic snapshot was + * created.

                        *

                        Constraints:

                        *
                          *
                        • - *

                          Must be in the ddd:hh24:mi-ddd:hh24:mi format.

                          - *
                        • - *
                        • - *

                          Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

                          - *
                        • - *
                        • - *

                          Must be at least 30 minutes.

                          - *
                        • - *
                        • - *

                          Specified in Coordinated Universal Time (UTC).

                          + *

                          This parameter cannot be defined together with the instance snapshot name + * parameter. The source instance name and instance snapshot name + * parameters are mutually exclusive.

                          *
                        • *
                        • - *

                          Example: Tue:17:00-Tue:17:30 - *

                          + *

                          Define this parameter only when creating a new instance from an automatic snapshot. + * For more information, see the Lightsail Dev Guide.

                          *
                        • *
                        */ - preferredMaintenanceWindow?: string; + sourceInstanceName?: string; /** *

                        The tag keys and optional values to add to the resource during create.

                        @@ -3985,109 +4316,94 @@ export interface CreateRelationalDatabaseRequest { tags?: Tag[]; /** - *

                        The name of the master database created when the Lightsail database resource is - * created.

                        - *

                        Constraints:

                        + *

                        The name of the instance snapshot on which you are basing your new instances. Use the get + * instance snapshots operation to return information about your existing snapshots.

                        + *

                        Constraint:

                        *
                          *
                        • - *

                          Must contain from 1 to 64 alphanumeric characters.

                          - *
                        • - *
                        • - *

                          Cannot be a word reserved by the specified database engine

                          + *

                          This parameter cannot be defined together with the source instance name + * parameter. The instance snapshot name and source instance name + * parameters are mutually exclusive.

                          *
                        • *
                        */ - masterDatabaseName: string | undefined; + instanceSnapshotName?: string; /** - *

                        The password for the master user of your new database. The password can include any - * printable ASCII character except "/", """, or "@".

                        - *

                        Constraints: Must contain 8 to 41 characters.

                        + *

                        A Boolean value to indicate whether to use the latest available automatic snapshot.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          This parameter cannot be defined together with the restore date + * parameter. The use latest restorable auto snapshot and restore + * date parameters are mutually exclusive.

                          + *
                        • + *
                        • + *

                          Define this parameter only when creating a new instance from an automatic snapshot. + * For more information, see the Lightsail Dev Guide.

                          + *
                        • + *
                        */ - masterUserPassword?: string; + useLatestRestorableAutoSnapshot?: boolean; /** - *

                        The blueprint ID for your new database. A blueprint describes the major engine version of - * a database.

                        - *

                        You can get a list of database blueprints IDs by using the get relational database - * blueprints operation.

                        + *

                        The bundle of specification information for your virtual private server (or + * instance), including the pricing plan (e.g., + * micro_1_0).

                        */ - relationalDatabaseBlueprintId: string | undefined; + bundleId: string | undefined; /** - *

                        The bundle ID for your new database. A bundle describes the performance specifications for - * your database.

                        - *

                        You can get a list of database bundle IDs by using the get relational database - * bundles operation.

                        + *

                        The names for your new instances.

                        */ - relationalDatabaseBundleId: string | undefined; + instanceNames: string[] | undefined; +} + +export namespace CreateInstancesFromSnapshotRequest { + export const filterSensitiveLog = (obj: CreateInstancesFromSnapshotRequest): any => ({ + ...obj, + }); +} +export interface CreateInstancesFromSnapshotResult { /** - *

                        The daily time range during which automated backups are created for your new database if - * automated backups are enabled.

                        - *

                        The default is a 30-minute window selected at random from an 8-hour block of time for each - * AWS Region. For more information about the preferred backup window time blocks for each - * region, see the Working With Backups guide in the Amazon Relational Database Service (Amazon RDS) documentation.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Must be in the hh24:mi-hh24:mi format.

                          - *

                          Example: 16:00-16:30 - *

                          - *
                        • - *
                        • - *

                          Specified in Coordinated Universal Time (UTC).

                          - *
                        • - *
                        • - *

                          Must not conflict with the preferred maintenance window.

                          - *
                        • - *
                        • - *

                          Must be at least 30 minutes.

                          - *
                        • - *
                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - preferredBackupWindow?: string; + operations?: Operation[]; +} + +export namespace CreateInstancesFromSnapshotResult { + export const filterSensitiveLog = (obj: CreateInstancesFromSnapshotResult): any => ({ + ...obj, + }); +} +export interface CreateInstanceSnapshotRequest { /** - *

                        Specifies the accessibility options for your new database. A value of true - * specifies a database that is available to resources outside of your Lightsail account. A - * value of false specifies a database that is available only to your Lightsail - * resources in the same region as your database.

                        + *

                        The Lightsail instance on which to base your snapshot.

                        */ - publiclyAccessible?: boolean; + instanceName: string | undefined; /** - *

                        The Availability Zone in which to create your new database. Use the - * us-east-2a case-sensitive format.

                        - *

                        You can get a list of Availability Zones by using the get regions operation. - * Be sure to add the include relational database Availability Zones parameter to - * your request.

                        + *

                        The tag keys and optional values to add to the resource during create.

                        + *

                        Use the TagResource action to tag a resource after it's created.

                        */ - availabilityZone?: string; + tags?: Tag[]; /** - *

                        The name to use for your new database.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Must contain from 2 to 255 alphanumeric characters, or hyphens.

                          - *
                        • - *
                        • - *

                          The first and last character must be a letter or number.

                          - *
                        • - *
                        + *

                        The name for your new snapshot.

                        */ - relationalDatabaseName: string | undefined; + instanceSnapshotName: string | undefined; } -export namespace CreateRelationalDatabaseRequest { - export const filterSensitiveLog = (obj: CreateRelationalDatabaseRequest): any => ({ +export namespace CreateInstanceSnapshotRequest { + export const filterSensitiveLog = (obj: CreateInstanceSnapshotRequest): any => ({ ...obj, - ...(obj.masterUserPassword && { masterUserPassword: SENSITIVE_STRING }), }); } -export interface CreateRelationalDatabaseResult { +export interface CreateInstanceSnapshotResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4095,125 +4411,118 @@ export interface CreateRelationalDatabaseResult { operations?: Operation[]; } -export namespace CreateRelationalDatabaseResult { - export const filterSensitiveLog = (obj: CreateRelationalDatabaseResult): any => ({ +export namespace CreateInstanceSnapshotResult { + export const filterSensitiveLog = (obj: CreateInstanceSnapshotResult): any => ({ ...obj, }); } -export interface CreateRelationalDatabaseFromSnapshotRequest { +export interface CreateKeyPairRequest { /** - *

                        The date and time to restore your database from.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Must be before the latest restorable time for the database.

                          - *
                        • - *
                        • - *

                          Cannot be specified if the use latest restorable time parameter is - * true.

                          - *
                        • - *
                        • - *

                          Specified in Coordinated Universal Time (UTC).

                          - *
                        • - *
                        • - *

                          Specified in the Unix time format.

                          - *

                          For example, if you wish to use a restore time of October 1, 2018, at 8 PM UTC, then - * you input 1538424000 as the restore time.

                          - *
                        • - *
                        + *

                        The name for your new key pair.

                        */ - restoreTime?: Date; + keyPairName: string | undefined; /** - *

                        The bundle ID for your new database. A bundle describes the performance specifications for - * your database.

                        - *

                        You can get a list of database bundle IDs by using the get relational database - * bundles operation.

                        - *

                        When creating a new database from a snapshot, you cannot choose a bundle that is smaller - * than the bundle of the source database.

                        + *

                        The tag keys and optional values to add to the resource during create.

                        + *

                        Use the TagResource action to tag a resource after it's created.

                        */ - relationalDatabaseBundleId?: string; + tags?: Tag[]; +} + +export namespace CreateKeyPairRequest { + export const filterSensitiveLog = (obj: CreateKeyPairRequest): any => ({ + ...obj, + }); +} +/** + *

                        Describes the SSH key pair.

                        + */ +export interface KeyPair { /** - *

                        The name of the source database.

                        + *

                        The support code. Include this code in your email to support when you have questions about + * an instance or another resource in Lightsail. This code enables our support team to look up + * your Lightsail information more easily.

                        */ - sourceRelationalDatabaseName?: string; + supportCode?: string; /** - *

                        Specifies the accessibility options for your new database. A value of true - * specifies a database that is available to resources outside of your Lightsail account. A - * value of false specifies a database that is available only to your Lightsail - * resources in the same region as your database.

                        + *

                        The friendly name of the SSH key pair.

                        */ - publiclyAccessible?: boolean; + name?: string; /** - *

                        The name to use for your new database.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Must contain from 2 to 255 alphanumeric characters, or hyphens.

                          - *
                        • - *
                        • - *

                          The first and last character must be a letter or number.

                          - *
                        • - *
                        + *

                        The Amazon Resource Name (ARN) of the key pair (e.g., + * arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

                        */ - relationalDatabaseName: string | undefined; + arn?: string; /** - *

                        Specifies whether your database is restored from the latest backup time. A value of - * true restores from the latest backup time.

                        - *

                        Default: false - *

                        - *

                        Constraints: Cannot be specified if the restore time parameter is - * provided.

                        + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        */ - useLatestRestorableTime?: boolean; + tags?: Tag[]; /** - *

                        The name of the database snapshot from which to create your new database.

                        + *

                        The resource type (usually KeyPair).

                        */ - relationalDatabaseSnapshotName?: string; + resourceType?: ResourceType | string; /** - *

                        The Availability Zone in which to create your new database. Use the - * us-east-2a case-sensitive format.

                        - *

                        You can get a list of Availability Zones by using the get regions operation. - * Be sure to add the include relational database Availability Zones parameter to - * your request.

                        + *

                        The timestamp when the key pair was created (e.g., 1479816991.349).

                        */ - availabilityZone?: string; + createdAt?: Date; /** - *

                        The tag keys and optional values to add to the resource during create.

                        - *

                        Use the TagResource action to tag a resource after it's created.

                        + *

                        The RSA fingerprint of the key pair.

                        */ - tags?: Tag[]; + fingerprint?: string; + + /** + *

                        The region name and Availability Zone where the key pair was created.

                        + */ + location?: ResourceLocation; } -export namespace CreateRelationalDatabaseFromSnapshotRequest { - export const filterSensitiveLog = (obj: CreateRelationalDatabaseFromSnapshotRequest): any => ({ +export namespace KeyPair { + export const filterSensitiveLog = (obj: KeyPair): any => ({ ...obj, }); } -export interface CreateRelationalDatabaseFromSnapshotResult { +export interface CreateKeyPairResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        */ - operations?: Operation[]; + operation?: Operation; + + /** + *

                        A base64-encoded public key of the ssh-rsa type.

                        + */ + publicKeyBase64?: string; + + /** + *

                        An array of key-value pairs containing information about the new key pair you just + * created.

                        + */ + keyPair?: KeyPair; + + /** + *

                        A base64-encoded RSA private key.

                        + */ + privateKeyBase64?: string; } -export namespace CreateRelationalDatabaseFromSnapshotResult { - export const filterSensitiveLog = (obj: CreateRelationalDatabaseFromSnapshotResult): any => ({ +export namespace CreateKeyPairResult { + export const filterSensitiveLog = (obj: CreateKeyPairResult): any => ({ ...obj, }); } -export interface CreateRelationalDatabaseSnapshotRequest { +export interface CreateLoadBalancerRequest { /** *

                        The tag keys and optional values to add to the resource during create.

                        *

                        Use the TagResource action to tag a resource after it's created.

                        @@ -4221,59 +4530,54 @@ export interface CreateRelationalDatabaseSnapshotRequest { tags?: Tag[]; /** - *

                        The name for your new database snapshot.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Must contain from 2 to 255 alphanumeric characters, or hyphens.

                          - *
                        • - *
                        • - *

                          The first and last character must be a letter or number.

                          - *
                        • - *
                        + *

                        The domain name with which your certificate is associated (e.g., + * example.com).

                        + *

                        If you specify certificateDomainName, then certificateName is + * required (and vice-versa).

                        */ - relationalDatabaseSnapshotName: string | undefined; + certificateDomainName?: string; /** - *

                        The name of the database on which to base your new snapshot.

                        + *

                        The optional alternative domains and subdomains to use with your SSL/TLS certificate + * (e.g., www.example.com, example.com, m.example.com, + * blog.example.com).

                        */ - relationalDatabaseName: string | undefined; -} + certificateAlternativeNames?: string[]; -export namespace CreateRelationalDatabaseSnapshotRequest { - export const filterSensitiveLog = (obj: CreateRelationalDatabaseSnapshotRequest): any => ({ - ...obj, - }); -} + /** + *

                        The name of your load balancer.

                        + */ + loadBalancerName: string | undefined; -export interface CreateRelationalDatabaseSnapshotResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The path you provided to perform the load balancer health check. If you didn't specify a + * health check path, Lightsail uses the root path of your website (e.g., + * "/").

                        + *

                        You may want to specify a custom health check path other than the root of your application + * if your home page loads slowly or has a lot of media or scripting on it.

                        */ - operations?: Operation[]; -} + healthCheckPath?: string; -export namespace CreateRelationalDatabaseSnapshotResult { - export const filterSensitiveLog = (obj: CreateRelationalDatabaseSnapshotResult): any => ({ - ...obj, - }); -} + /** + *

                        The instance port where you're creating your load balancer.

                        + */ + instancePort: number | undefined; -export interface DeleteAlarmRequest { /** - *

                        The name of the alarm to delete.

                        + *

                        The name of the SSL/TLS certificate.

                        + *

                        If you specify certificateName, then certificateDomainName is + * required (and vice-versa).

                        */ - alarmName: string | undefined; + certificateName?: string; } -export namespace DeleteAlarmRequest { - export const filterSensitiveLog = (obj: DeleteAlarmRequest): any => ({ +export namespace CreateLoadBalancerRequest { + export const filterSensitiveLog = (obj: CreateLoadBalancerRequest): any => ({ ...obj, }); } -export interface DeleteAlarmResult { +export interface CreateLoadBalancerResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4281,64 +4585,54 @@ export interface DeleteAlarmResult { operations?: Operation[]; } -export namespace DeleteAlarmResult { - export const filterSensitiveLog = (obj: DeleteAlarmResult): any => ({ +export namespace CreateLoadBalancerResult { + export const filterSensitiveLog = (obj: CreateLoadBalancerResult): any => ({ ...obj, }); } -export interface DeleteAutoSnapshotRequest { +export interface CreateLoadBalancerTlsCertificateRequest { /** - *

                        The date of the automatic snapshot to delete in YYYY-MM-DD format. Use the - * get auto snapshots operation to get the available automatic snapshots for a - * resource.

                        + *

                        The tag keys and optional values to add to the resource during create.

                        + *

                        Use the TagResource action to tag a resource after it's created.

                        */ - date: string | undefined; + tags?: Tag[]; /** - *

                        The name of the source instance or disk from which to delete the automatic - * snapshot.

                        + *

                        An array of strings listing alternative domains and subdomains for your SSL/TLS + * certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 + * alternative names (in addition to the 1 primary domain). We do not support wildcards (e.g., + * *.example.com).

                        */ - resourceName: string | undefined; -} - -export namespace DeleteAutoSnapshotRequest { - export const filterSensitiveLog = (obj: DeleteAutoSnapshotRequest): any => ({ - ...obj, - }); -} + certificateAlternativeNames?: string[]; -export interface DeleteAutoSnapshotResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The SSL/TLS certificate name.

                        + *

                        You can have up to 10 certificates in your account at one time. Each Lightsail load + * balancer can have up to 2 certificates associated with it at one time. There is also an + * overall limit to the number of certificates that can be issue in a 365-day period. For more + * information, see Limits.

                        */ - operations?: Operation[]; -} + certificateName: string | undefined; -export namespace DeleteAutoSnapshotResult { - export const filterSensitiveLog = (obj: DeleteAutoSnapshotResult): any => ({ - ...obj, - }); -} + /** + *

                        The domain name (e.g., example.com) for your SSL/TLS certificate.

                        + */ + certificateDomainName: string | undefined; -export interface DeleteCertificateRequest { /** - *

                        The name of the certificate to delete.

                        - * - *

                        Use the GetCertificates action to get a list of certificate names that you - * can specify.

                        + *

                        The load balancer name where you want to create the SSL/TLS certificate.

                        */ - certificateName: string | undefined; + loadBalancerName: string | undefined; } -export namespace DeleteCertificateRequest { - export const filterSensitiveLog = (obj: DeleteCertificateRequest): any => ({ +export namespace CreateLoadBalancerTlsCertificateRequest { + export const filterSensitiveLog = (obj: CreateLoadBalancerTlsCertificateRequest): any => ({ ...obj, }); } -export interface DeleteCertificateResult { +export interface CreateLoadBalancerTlsCertificateResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4346,92 +4640,173 @@ export interface DeleteCertificateResult { operations?: Operation[]; } -export namespace DeleteCertificateResult { - export const filterSensitiveLog = (obj: DeleteCertificateResult): any => ({ +export namespace CreateLoadBalancerTlsCertificateResult { + export const filterSensitiveLog = (obj: CreateLoadBalancerTlsCertificateResult): any => ({ ...obj, }); } -export interface DeleteContactMethodRequest { +export interface CreateRelationalDatabaseRequest { /** - *

                        The protocol that will be deleted, such as Email or SMS (text - * messaging).

                        - * - *

                        To delete an Email and an SMS contact method if you added - * both, you must run separate DeleteContactMethod actions to delete each - * protocol.

                        - *
                        + *

                        Specifies the accessibility options for your new database. A value of true + * specifies a database that is available to resources outside of your Lightsail account. A + * value of false specifies a database that is available only to your Lightsail + * resources in the same region as your database.

                        */ - protocol: ContactProtocol | string | undefined; -} - -export namespace DeleteContactMethodRequest { - export const filterSensitiveLog = (obj: DeleteContactMethodRequest): any => ({ - ...obj, - }); -} + publiclyAccessible?: boolean; -export interface DeleteContactMethodResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The weekly time range during which system maintenance can occur on your new + * database.

                        + *

                        The default is a 30-minute window selected at random from an 8-hour block of time for each + * AWS Region, occurring on a random day of the week.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Must be in the ddd:hh24:mi-ddd:hh24:mi format.

                          + *
                        • + *
                        • + *

                          Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

                          + *
                        • + *
                        • + *

                          Must be at least 30 minutes.

                          + *
                        • + *
                        • + *

                          Specified in Coordinated Universal Time (UTC).

                          + *
                        • + *
                        • + *

                          Example: Tue:17:00-Tue:17:30 + *

                          + *
                        • + *
                        */ - operations?: Operation[]; -} - -export namespace DeleteContactMethodResult { - export const filterSensitiveLog = (obj: DeleteContactMethodResult): any => ({ - ...obj, - }); -} + preferredMaintenanceWindow?: string; -export interface DeleteDiskRequest { /** - *

                        A Boolean value to indicate whether to delete the enabled add-ons for the disk.

                        + *

                        The daily time range during which automated backups are created for your new database if + * automated backups are enabled.

                        + *

                        The default is a 30-minute window selected at random from an 8-hour block of time for each + * AWS Region. For more information about the preferred backup window time blocks for each + * region, see the Working With Backups guide in the Amazon Relational Database Service (Amazon RDS) documentation.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Must be in the hh24:mi-hh24:mi format.

                          + *

                          Example: 16:00-16:30 + *

                          + *
                        • + *
                        • + *

                          Specified in Coordinated Universal Time (UTC).

                          + *
                        • + *
                        • + *

                          Must not conflict with the preferred maintenance window.

                          + *
                        • + *
                        • + *

                          Must be at least 30 minutes.

                          + *
                        • + *
                        */ - forceDeleteAddOns?: boolean; + preferredBackupWindow?: string; /** - *

                        The unique name of the disk you want to delete (e.g., my-disk).

                        + *

                        The blueprint ID for your new database. A blueprint describes the major engine version of + * a database.

                        + *

                        You can get a list of database blueprints IDs by using the get relational database + * blueprints operation.

                        */ - diskName: string | undefined; -} - -export namespace DeleteDiskRequest { - export const filterSensitiveLog = (obj: DeleteDiskRequest): any => ({ - ...obj, - }); -} + relationalDatabaseBlueprintId: string | undefined; -export interface DeleteDiskResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The name of the master database created when the Lightsail database resource is + * created.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Must contain from 1 to 64 alphanumeric characters.

                          + *
                        • + *
                        • + *

                          Cannot be a word reserved by the specified database engine

                          + *
                        • + *
                        */ - operations?: Operation[]; -} - -export namespace DeleteDiskResult { - export const filterSensitiveLog = (obj: DeleteDiskResult): any => ({ - ...obj, - }); -} + masterDatabaseName: string | undefined; -export interface DeleteDiskSnapshotRequest { /** - *

                        The name of the disk snapshot you want to delete (e.g., - * my-disk-snapshot).

                        + *

                        The bundle ID for your new database. A bundle describes the performance specifications for + * your database.

                        + *

                        You can get a list of database bundle IDs by using the get relational database + * bundles operation.

                        */ - diskSnapshotName: string | undefined; -} + relationalDatabaseBundleId: string | undefined; -export namespace DeleteDiskSnapshotRequest { - export const filterSensitiveLog = (obj: DeleteDiskSnapshotRequest): any => ({ + /** + *

                        The password for the master user of your new database. The password can include any + * printable ASCII character except "/", """, or "@".

                        + *

                        Constraints: Must contain 8 to 41 characters.

                        + */ + masterUserPassword?: string; + + /** + *

                        The tag keys and optional values to add to the resource during create.

                        + *

                        Use the TagResource action to tag a resource after it's created.

                        + */ + tags?: Tag[]; + + /** + *

                        The Availability Zone in which to create your new database. Use the + * us-east-2a case-sensitive format.

                        + *

                        You can get a list of Availability Zones by using the get regions operation. + * Be sure to add the include relational database Availability Zones parameter to + * your request.

                        + */ + availabilityZone?: string; + + /** + *

                        The master user name for your new database.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Master user name is required.

                          + *
                        • + *
                        • + *

                          Must contain from 1 to 16 alphanumeric characters.

                          + *
                        • + *
                        • + *

                          The first character must be a letter.

                          + *
                        • + *
                        • + *

                          Cannot be a reserved word for the database engine you choose.

                          + *

                          For more information about reserved words in MySQL 5.6 or 5.7, see the Keywords and + * Reserved Words articles for MySQL 5.6 or MySQL 5.7 + * respectively.

                          + *
                        • + *
                        + */ + masterUsername: string | undefined; + + /** + *

                        The name to use for your new database.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Must contain from 2 to 255 alphanumeric characters, or hyphens.

                          + *
                        • + *
                        • + *

                          The first and last character must be a letter or number.

                          + *
                        • + *
                        + */ + relationalDatabaseName: string | undefined; +} + +export namespace CreateRelationalDatabaseRequest { + export const filterSensitiveLog = (obj: CreateRelationalDatabaseRequest): any => ({ ...obj, + ...(obj.masterUserPassword && { masterUserPassword: SENSITIVE_STRING }), }); } -export interface DeleteDiskSnapshotResult { +export interface CreateRelationalDatabaseResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4439,120 +4814,158 @@ export interface DeleteDiskSnapshotResult { operations?: Operation[]; } -export namespace DeleteDiskSnapshotResult { - export const filterSensitiveLog = (obj: DeleteDiskSnapshotResult): any => ({ +export namespace CreateRelationalDatabaseResult { + export const filterSensitiveLog = (obj: CreateRelationalDatabaseResult): any => ({ ...obj, }); } -export interface DeleteDistributionRequest { +export interface CreateRelationalDatabaseFromSnapshotRequest { /** - *

                        The name of the distribution to delete.

                        - * - *

                        Use the GetDistributions action to get a list of distribution names that you - * can specify.

                        + *

                        The name of the source database.

                        */ - distributionName?: string; -} - -export namespace DeleteDistributionRequest { - export const filterSensitiveLog = (obj: DeleteDistributionRequest): any => ({ - ...obj, - }); -} + sourceRelationalDatabaseName?: string; -export interface DeleteDistributionResult { /** - *

                        An object that describes the result of the action, such as the status of the request, the - * timestamp of the request, and the resources affected by the request.

                        + *

                        The name to use for your new database.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Must contain from 2 to 255 alphanumeric characters, or hyphens.

                          + *
                        • + *
                        • + *

                          The first and last character must be a letter or number.

                          + *
                        • + *
                        */ - operation?: Operation; -} + relationalDatabaseName: string | undefined; -export namespace DeleteDistributionResult { - export const filterSensitiveLog = (obj: DeleteDistributionResult): any => ({ - ...obj, - }); -} + /** + *

                        The bundle ID for your new database. A bundle describes the performance specifications for + * your database.

                        + *

                        You can get a list of database bundle IDs by using the get relational database + * bundles operation.

                        + *

                        When creating a new database from a snapshot, you cannot choose a bundle that is smaller + * than the bundle of the source database.

                        + */ + relationalDatabaseBundleId?: string; -export interface DeleteDomainRequest { /** - *

                        The specific domain name to delete.

                        + *

                        The date and time to restore your database from.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Must be before the latest restorable time for the database.

                          + *
                        • + *
                        • + *

                          Cannot be specified if the use latest restorable time parameter is + * true.

                          + *
                        • + *
                        • + *

                          Specified in Coordinated Universal Time (UTC).

                          + *
                        • + *
                        • + *

                          Specified in the Unix time format.

                          + *

                          For example, if you wish to use a restore time of October 1, 2018, at 8 PM UTC, then + * you input 1538424000 as the restore time.

                          + *
                        • + *
                        */ - domainName: string | undefined; -} + restoreTime?: Date; -export namespace DeleteDomainRequest { - export const filterSensitiveLog = (obj: DeleteDomainRequest): any => ({ - ...obj, - }); -} + /** + *

                        Specifies whether your database is restored from the latest backup time. A value of + * true restores from the latest backup time.

                        + *

                        Default: false + *

                        + *

                        Constraints: Cannot be specified if the restore time parameter is + * provided.

                        + */ + useLatestRestorableTime?: boolean; -export interface DeleteDomainResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The Availability Zone in which to create your new database. Use the + * us-east-2a case-sensitive format.

                        + *

                        You can get a list of Availability Zones by using the get regions operation. + * Be sure to add the include relational database Availability Zones parameter to + * your request.

                        */ - operation?: Operation; -} + availabilityZone?: string; -export namespace DeleteDomainResult { - export const filterSensitiveLog = (obj: DeleteDomainResult): any => ({ - ...obj, - }); -} + /** + *

                        Specifies the accessibility options for your new database. A value of true + * specifies a database that is available to resources outside of your Lightsail account. A + * value of false specifies a database that is available only to your Lightsail + * resources in the same region as your database.

                        + */ + publiclyAccessible?: boolean; -export interface DeleteDomainEntryRequest { /** - *

                        The name of the domain entry to delete.

                        + *

                        The name of the database snapshot from which to create your new database.

                        */ - domainName: string | undefined; + relationalDatabaseSnapshotName?: string; /** - *

                        An array of key-value pairs containing information about your domain entries.

                        + *

                        The tag keys and optional values to add to the resource during create.

                        + *

                        Use the TagResource action to tag a resource after it's created.

                        */ - domainEntry: DomainEntry | undefined; + tags?: Tag[]; } -export namespace DeleteDomainEntryRequest { - export const filterSensitiveLog = (obj: DeleteDomainEntryRequest): any => ({ +export namespace CreateRelationalDatabaseFromSnapshotRequest { + export const filterSensitiveLog = (obj: CreateRelationalDatabaseFromSnapshotRequest): any => ({ ...obj, }); } -export interface DeleteDomainEntryResult { +export interface CreateRelationalDatabaseFromSnapshotResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        */ - operation?: Operation; + operations?: Operation[]; } -export namespace DeleteDomainEntryResult { - export const filterSensitiveLog = (obj: DeleteDomainEntryResult): any => ({ +export namespace CreateRelationalDatabaseFromSnapshotResult { + export const filterSensitiveLog = (obj: CreateRelationalDatabaseFromSnapshotResult): any => ({ ...obj, }); } -export interface DeleteInstanceRequest { +export interface CreateRelationalDatabaseSnapshotRequest { /** - *

                        A Boolean value to indicate whether to delete the enabled add-ons for the disk.

                        + *

                        The name for your new database snapshot.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Must contain from 2 to 255 alphanumeric characters, or hyphens.

                          + *
                        • + *
                        • + *

                          The first and last character must be a letter or number.

                          + *
                        • + *
                        */ - forceDeleteAddOns?: boolean; + relationalDatabaseSnapshotName: string | undefined; /** - *

                        The name of the instance to delete.

                        + *

                        The tag keys and optional values to add to the resource during create.

                        + *

                        Use the TagResource action to tag a resource after it's created.

                        */ - instanceName: string | undefined; + tags?: Tag[]; + + /** + *

                        The name of the database on which to base your new snapshot.

                        + */ + relationalDatabaseName: string | undefined; } -export namespace DeleteInstanceRequest { - export const filterSensitiveLog = (obj: DeleteInstanceRequest): any => ({ +export namespace CreateRelationalDatabaseSnapshotRequest { + export const filterSensitiveLog = (obj: CreateRelationalDatabaseSnapshotRequest): any => ({ ...obj, }); } -export interface DeleteInstanceResult { +export interface CreateRelationalDatabaseSnapshotResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4560,26 +4973,26 @@ export interface DeleteInstanceResult { operations?: Operation[]; } -export namespace DeleteInstanceResult { - export const filterSensitiveLog = (obj: DeleteInstanceResult): any => ({ +export namespace CreateRelationalDatabaseSnapshotResult { + export const filterSensitiveLog = (obj: CreateRelationalDatabaseSnapshotResult): any => ({ ...obj, }); } -export interface DeleteInstanceSnapshotRequest { +export interface DeleteAlarmRequest { /** - *

                        The name of the snapshot to delete.

                        + *

                        The name of the alarm to delete.

                        */ - instanceSnapshotName: string | undefined; + alarmName: string | undefined; } -export namespace DeleteInstanceSnapshotRequest { - export const filterSensitiveLog = (obj: DeleteInstanceSnapshotRequest): any => ({ +export namespace DeleteAlarmRequest { + export const filterSensitiveLog = (obj: DeleteAlarmRequest): any => ({ ...obj, }); } -export interface DeleteInstanceSnapshotResult { +export interface DeleteAlarmResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4587,53 +5000,63 @@ export interface DeleteInstanceSnapshotResult { operations?: Operation[]; } -export namespace DeleteInstanceSnapshotResult { - export const filterSensitiveLog = (obj: DeleteInstanceSnapshotResult): any => ({ +export namespace DeleteAlarmResult { + export const filterSensitiveLog = (obj: DeleteAlarmResult): any => ({ ...obj, }); } -export interface DeleteKeyPairRequest { +export interface DeleteAutoSnapshotRequest { /** - *

                        The name of the key pair to delete.

                        + *

                        The name of the source instance or disk from which to delete the automatic + * snapshot.

                        */ - keyPairName: string | undefined; + resourceName: string | undefined; + + /** + *

                        The date of the automatic snapshot to delete in YYYY-MM-DD format. Use the + * get auto snapshots operation to get the available automatic snapshots for a + * resource.

                        + */ + date: string | undefined; } -export namespace DeleteKeyPairRequest { - export const filterSensitiveLog = (obj: DeleteKeyPairRequest): any => ({ +export namespace DeleteAutoSnapshotRequest { + export const filterSensitiveLog = (obj: DeleteAutoSnapshotRequest): any => ({ ...obj, }); } -export interface DeleteKeyPairResult { +export interface DeleteAutoSnapshotResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        */ - operation?: Operation; + operations?: Operation[]; } -export namespace DeleteKeyPairResult { - export const filterSensitiveLog = (obj: DeleteKeyPairResult): any => ({ +export namespace DeleteAutoSnapshotResult { + export const filterSensitiveLog = (obj: DeleteAutoSnapshotResult): any => ({ ...obj, }); } -export interface DeleteKnownHostKeysRequest { +export interface DeleteCertificateRequest { /** - *

                        The name of the instance for which you want to reset the host key or certificate.

                        + *

                        The name of the certificate to delete.

                        + *

                        Use the GetCertificates action to get a list of certificate names that you + * can specify.

                        */ - instanceName: string | undefined; + certificateName: string | undefined; } -export namespace DeleteKnownHostKeysRequest { - export const filterSensitiveLog = (obj: DeleteKnownHostKeysRequest): any => ({ +export namespace DeleteCertificateRequest { + export const filterSensitiveLog = (obj: DeleteCertificateRequest): any => ({ ...obj, }); } -export interface DeleteKnownHostKeysResult { +export interface DeleteCertificateResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4641,26 +5064,32 @@ export interface DeleteKnownHostKeysResult { operations?: Operation[]; } -export namespace DeleteKnownHostKeysResult { - export const filterSensitiveLog = (obj: DeleteKnownHostKeysResult): any => ({ +export namespace DeleteCertificateResult { + export const filterSensitiveLog = (obj: DeleteCertificateResult): any => ({ ...obj, }); } -export interface DeleteLoadBalancerRequest { +export interface DeleteContactMethodRequest { /** - *

                        The name of the load balancer you want to delete.

                        + *

                        The protocol that will be deleted, such as Email or SMS (text + * messaging).

                        + * + *

                        To delete an Email and an SMS contact method if you added + * both, you must run separate DeleteContactMethod actions to delete each + * protocol.

                        + *
                        */ - loadBalancerName: string | undefined; + protocol: ContactProtocol | string | undefined; } -export namespace DeleteLoadBalancerRequest { - export const filterSensitiveLog = (obj: DeleteLoadBalancerRequest): any => ({ +export namespace DeleteContactMethodRequest { + export const filterSensitiveLog = (obj: DeleteContactMethodRequest): any => ({ ...obj, }); } -export interface DeleteLoadBalancerResult { +export interface DeleteContactMethodResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4668,96 +5097,89 @@ export interface DeleteLoadBalancerResult { operations?: Operation[]; } -export namespace DeleteLoadBalancerResult { - export const filterSensitiveLog = (obj: DeleteLoadBalancerResult): any => ({ +export namespace DeleteContactMethodResult { + export const filterSensitiveLog = (obj: DeleteContactMethodResult): any => ({ ...obj, }); } -export interface DeleteLoadBalancerTlsCertificateRequest { +export interface DeleteContainerImageRequest { /** - *

                        When true, forces the deletion of an SSL/TLS certificate.

                        - *

                        There can be two certificates associated with a Lightsail load balancer: the primary and - * the backup. The force parameter is required when the primary SSL/TLS certificate - * is in use by an instance attached to the load balancer.

                        + *

                        The name of the container image to delete from the container service.

                        + * + *

                        Use the GetContainerImages action to get the name of the container images + * that are registered to a container service.

                        + * + * + *

                        Container images sourced from your Lightsail container service, that are registered + * and stored on your service, start with a colon (:). For example, + * :container-service-1.mystaticwebsite.1. Container images sourced from a + * public registry like Docker Hub don't start with a colon. For example, + * nginx:latest or nginx.

                        + *
                        */ - force?: boolean; + image: string | undefined; /** - *

                        The load balancer name.

                        + *

                        The name of the container service for which to delete a registered container image.

                        */ - loadBalancerName: string | undefined; + serviceName: string | undefined; +} - /** - *

                        The SSL/TLS certificate name.

                        - */ - certificateName: string | undefined; +export namespace DeleteContainerImageRequest { + export const filterSensitiveLog = (obj: DeleteContainerImageRequest): any => ({ + ...obj, + }); } -export namespace DeleteLoadBalancerTlsCertificateRequest { - export const filterSensitiveLog = (obj: DeleteLoadBalancerTlsCertificateRequest): any => ({ +export interface DeleteContainerImageResult {} + +export namespace DeleteContainerImageResult { + export const filterSensitiveLog = (obj: DeleteContainerImageResult): any => ({ ...obj, }); } -export interface DeleteLoadBalancerTlsCertificateResult { +export interface DeleteContainerServiceRequest { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The name of the container service to delete.

                        */ - operations?: Operation[]; + serviceName: string | undefined; } -export namespace DeleteLoadBalancerTlsCertificateResult { - export const filterSensitiveLog = (obj: DeleteLoadBalancerTlsCertificateResult): any => ({ +export namespace DeleteContainerServiceRequest { + export const filterSensitiveLog = (obj: DeleteContainerServiceRequest): any => ({ ...obj, }); } -export interface DeleteRelationalDatabaseRequest { - /** - *

                        The name of the database snapshot created if skip final snapshot is - * false, which is the default value for that parameter.

                        - * - *

                        Specifying this parameter and also specifying the skip final snapshot - * parameter to true results in an error.

                        - *
                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Must contain from 2 to 255 alphanumeric characters, or hyphens.

                          - *
                        • - *
                        • - *

                          The first and last character must be a letter or number.

                          - *
                        • - *
                        - */ - finalRelationalDatabaseSnapshotName?: string; +export interface DeleteContainerServiceResult {} + +export namespace DeleteContainerServiceResult { + export const filterSensitiveLog = (obj: DeleteContainerServiceResult): any => ({ + ...obj, + }); +} +export interface DeleteDiskRequest { /** - *

                        Determines whether a final database snapshot is created before your database is deleted. - * If true is specified, no database snapshot is created. If false is - * specified, a database snapshot is created before your database is deleted.

                        - *

                        You must specify the final relational database snapshot name parameter if the - * skip final snapshot parameter is false.

                        - *

                        Default: false - *

                        + *

                        The unique name of the disk you want to delete (e.g., my-disk).

                        */ - skipFinalSnapshot?: boolean; + diskName: string | undefined; /** - *

                        The name of the database that you are deleting.

                        + *

                        A Boolean value to indicate whether to delete the enabled add-ons for the disk.

                        */ - relationalDatabaseName: string | undefined; + forceDeleteAddOns?: boolean; } -export namespace DeleteRelationalDatabaseRequest { - export const filterSensitiveLog = (obj: DeleteRelationalDatabaseRequest): any => ({ +export namespace DeleteDiskRequest { + export const filterSensitiveLog = (obj: DeleteDiskRequest): any => ({ ...obj, }); } -export interface DeleteRelationalDatabaseResult { +export interface DeleteDiskResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4765,26 +5187,27 @@ export interface DeleteRelationalDatabaseResult { operations?: Operation[]; } -export namespace DeleteRelationalDatabaseResult { - export const filterSensitiveLog = (obj: DeleteRelationalDatabaseResult): any => ({ +export namespace DeleteDiskResult { + export const filterSensitiveLog = (obj: DeleteDiskResult): any => ({ ...obj, }); } -export interface DeleteRelationalDatabaseSnapshotRequest { +export interface DeleteDiskSnapshotRequest { /** - *

                        The name of the database snapshot that you are deleting.

                        + *

                        The name of the disk snapshot you want to delete (e.g., + * my-disk-snapshot).

                        */ - relationalDatabaseSnapshotName: string | undefined; + diskSnapshotName: string | undefined; } -export namespace DeleteRelationalDatabaseSnapshotRequest { - export const filterSensitiveLog = (obj: DeleteRelationalDatabaseSnapshotRequest): any => ({ +export namespace DeleteDiskSnapshotRequest { + export const filterSensitiveLog = (obj: DeleteDiskSnapshotRequest): any => ({ ...obj, }); } -export interface DeleteRelationalDatabaseSnapshotResult { +export interface DeleteDiskSnapshotResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4792,29 +5215,28 @@ export interface DeleteRelationalDatabaseSnapshotResult { operations?: Operation[]; } -export namespace DeleteRelationalDatabaseSnapshotResult { - export const filterSensitiveLog = (obj: DeleteRelationalDatabaseSnapshotResult): any => ({ +export namespace DeleteDiskSnapshotResult { + export const filterSensitiveLog = (obj: DeleteDiskSnapshotResult): any => ({ ...obj, }); } -export interface DetachCertificateFromDistributionRequest { +export interface DeleteDistributionRequest { /** - *

                        The name of the distribution from which to detach the certificate.

                        - * + *

                        The name of the distribution to delete.

                        *

                        Use the GetDistributions action to get a list of distribution names that you * can specify.

                        */ - distributionName: string | undefined; + distributionName?: string; } -export namespace DetachCertificateFromDistributionRequest { - export const filterSensitiveLog = (obj: DetachCertificateFromDistributionRequest): any => ({ +export namespace DeleteDistributionRequest { + export const filterSensitiveLog = (obj: DeleteDistributionRequest): any => ({ ...obj, }); } -export interface DetachCertificateFromDistributionResult { +export interface DeleteDistributionResult { /** *

                        An object that describes the result of the action, such as the status of the request, the * timestamp of the request, and the resources affected by the request.

                        @@ -4822,87 +5244,90 @@ export interface DetachCertificateFromDistributionResult { operation?: Operation; } -export namespace DetachCertificateFromDistributionResult { - export const filterSensitiveLog = (obj: DetachCertificateFromDistributionResult): any => ({ +export namespace DeleteDistributionResult { + export const filterSensitiveLog = (obj: DeleteDistributionResult): any => ({ ...obj, }); } -export interface DetachDiskRequest { +export interface DeleteDomainRequest { /** - *

                        The unique name of the disk you want to detach from your instance (e.g., - * my-disk).

                        + *

                        The specific domain name to delete.

                        */ - diskName: string | undefined; + domainName: string | undefined; } -export namespace DetachDiskRequest { - export const filterSensitiveLog = (obj: DetachDiskRequest): any => ({ +export namespace DeleteDomainRequest { + export const filterSensitiveLog = (obj: DeleteDomainRequest): any => ({ ...obj, }); } -export interface DetachDiskResult { +export interface DeleteDomainResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        */ - operations?: Operation[]; + operation?: Operation; } -export namespace DetachDiskResult { - export const filterSensitiveLog = (obj: DetachDiskResult): any => ({ +export namespace DeleteDomainResult { + export const filterSensitiveLog = (obj: DeleteDomainResult): any => ({ ...obj, }); } -export interface DetachInstancesFromLoadBalancerRequest { +export interface DeleteDomainEntryRequest { /** - *

                        An array of strings containing the names of the instances you want to detach from the load - * balancer.

                        + *

                        The name of the domain entry to delete.

                        */ - instanceNames: string[] | undefined; + domainName: string | undefined; /** - *

                        The name of the Lightsail load balancer.

                        + *

                        An array of key-value pairs containing information about your domain entries.

                        */ - loadBalancerName: string | undefined; + domainEntry: DomainEntry | undefined; } -export namespace DetachInstancesFromLoadBalancerRequest { - export const filterSensitiveLog = (obj: DetachInstancesFromLoadBalancerRequest): any => ({ +export namespace DeleteDomainEntryRequest { + export const filterSensitiveLog = (obj: DeleteDomainEntryRequest): any => ({ ...obj, }); } -export interface DetachInstancesFromLoadBalancerResult { +export interface DeleteDomainEntryResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        */ - operations?: Operation[]; + operation?: Operation; } -export namespace DetachInstancesFromLoadBalancerResult { - export const filterSensitiveLog = (obj: DetachInstancesFromLoadBalancerResult): any => ({ +export namespace DeleteDomainEntryResult { + export const filterSensitiveLog = (obj: DeleteDomainEntryResult): any => ({ ...obj, }); } -export interface DetachStaticIpRequest { +export interface DeleteInstanceRequest { /** - *

                        The name of the static IP to detach from the instance.

                        + *

                        The name of the instance to delete.

                        */ - staticIpName: string | undefined; + instanceName: string | undefined; + + /** + *

                        A Boolean value to indicate whether to delete the enabled add-ons for the disk.

                        + */ + forceDeleteAddOns?: boolean; } -export namespace DetachStaticIpRequest { - export const filterSensitiveLog = (obj: DetachStaticIpRequest): any => ({ +export namespace DeleteInstanceRequest { + export const filterSensitiveLog = (obj: DeleteInstanceRequest): any => ({ ...obj, }); } -export interface DetachStaticIpResult { +export interface DeleteInstanceResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4910,31 +5335,26 @@ export interface DetachStaticIpResult { operations?: Operation[]; } -export namespace DetachStaticIpResult { - export const filterSensitiveLog = (obj: DetachStaticIpResult): any => ({ +export namespace DeleteInstanceResult { + export const filterSensitiveLog = (obj: DeleteInstanceResult): any => ({ ...obj, }); } -export interface DisableAddOnRequest { - /** - *

                        The add-on type to disable.

                        - */ - addOnType: AddOnType | string | undefined; - +export interface DeleteInstanceSnapshotRequest { /** - *

                        The name of the source resource for which to disable the add-on.

                        + *

                        The name of the snapshot to delete.

                        */ - resourceName: string | undefined; + instanceSnapshotName: string | undefined; } -export namespace DisableAddOnRequest { - export const filterSensitiveLog = (obj: DisableAddOnRequest): any => ({ +export namespace DeleteInstanceSnapshotRequest { + export const filterSensitiveLog = (obj: DeleteInstanceSnapshotRequest): any => ({ ...obj, }); } -export interface DisableAddOnResult { +export interface DeleteInstanceSnapshotResult { /** *

                        An array of objects that describe the result of the action, such as the status of the * request, the timestamp of the request, and the resources affected by the request.

                        @@ -4942,329 +5362,419 @@ export interface DisableAddOnResult { operations?: Operation[]; } -export namespace DisableAddOnResult { - export const filterSensitiveLog = (obj: DisableAddOnResult): any => ({ +export namespace DeleteInstanceSnapshotResult { + export const filterSensitiveLog = (obj: DeleteInstanceSnapshotResult): any => ({ ...obj, }); } -export enum DiskState { - Available = "available", - Error = "error", - InUse = "in-use", - Pending = "pending", - Unknown = "unknown", -} - -/** - *

                        Describes a system disk or a block storage disk.

                        - */ -export interface Disk { +export interface DeleteKeyPairRequest { /** - *

                        An array of objects representing the add-ons enabled on the disk.

                        + *

                        The name of the key pair to delete.

                        */ - addOns?: AddOn[]; + keyPairName: string | undefined; +} - /** - *

                        The support code. Include this code in your email to support when you have questions about - * an instance or another resource in Lightsail. This code enables our support team to look up - * your Lightsail information more easily.

                        - */ - supportCode?: string; +export namespace DeleteKeyPairRequest { + export const filterSensitiveLog = (obj: DeleteKeyPairRequest): any => ({ + ...obj, + }); +} +export interface DeleteKeyPairResult { /** - *

                        A Boolean value indicating whether the disk is attached.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - isAttached?: boolean; + operation?: Operation; +} - /** - *

                        The AWS Region and Availability Zone where the disk is located.

                        - */ - location?: ResourceLocation; +export namespace DeleteKeyPairResult { + export const filterSensitiveLog = (obj: DeleteKeyPairResult): any => ({ + ...obj, + }); +} +export interface DeleteKnownHostKeysRequest { /** - *

                        Describes the status of the disk.

                        + *

                        The name of the instance for which you want to reset the host key or certificate.

                        */ - state?: DiskState | string; + instanceName: string | undefined; +} - /** - *

                        The input/output operations per second (IOPS) of the disk.

                        - */ - iops?: number; +export namespace DeleteKnownHostKeysRequest { + export const filterSensitiveLog = (obj: DeleteKnownHostKeysRequest): any => ({ + ...obj, + }); +} +export interface DeleteKnownHostKeysResult { /** - *

                        The Lightsail resource type (e.g., Disk).

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - resourceType?: ResourceType | string; + operations?: Operation[]; +} - /** - *

                        (Deprecated) The number of GB in use by the disk.

                        - * - *

                        In releases prior to November 14, 2017, this parameter was not included in the API - * response. It is now deprecated.

                        - *
                        - */ - gbInUse?: number; +export namespace DeleteKnownHostKeysResult { + export const filterSensitiveLog = (obj: DeleteKnownHostKeysResult): any => ({ + ...obj, + }); +} +export interface DeleteLoadBalancerRequest { /** - *

                        The unique name of the disk.

                        + *

                        The name of the load balancer you want to delete.

                        */ - name?: string; + loadBalancerName: string | undefined; +} + +export namespace DeleteLoadBalancerRequest { + export const filterSensitiveLog = (obj: DeleteLoadBalancerRequest): any => ({ + ...obj, + }); +} +export interface DeleteLoadBalancerResult { /** - *

                        The Amazon Resource Name (ARN) of the disk.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - arn?: string; + operations?: Operation[]; +} + +export namespace DeleteLoadBalancerResult { + export const filterSensitiveLog = (obj: DeleteLoadBalancerResult): any => ({ + ...obj, + }); +} +export interface DeleteLoadBalancerTlsCertificateRequest { /** - *

                        The resources to which the disk is attached.

                        + *

                        The load balancer name.

                        */ - attachedTo?: string; + loadBalancerName: string | undefined; /** - *

                        The disk path.

                        + *

                        The SSL/TLS certificate name.

                        */ - path?: string; + certificateName: string | undefined; /** - *

                        The size of the disk in GB.

                        + *

                        When true, forces the deletion of an SSL/TLS certificate.

                        + *

                        There can be two certificates associated with a Lightsail load balancer: the primary and + * the backup. The force parameter is required when the primary SSL/TLS certificate + * is in use by an instance attached to the load balancer.

                        */ - sizeInGb?: number; + force?: boolean; +} +export namespace DeleteLoadBalancerTlsCertificateRequest { + export const filterSensitiveLog = (obj: DeleteLoadBalancerTlsCertificateRequest): any => ({ + ...obj, + }); +} + +export interface DeleteLoadBalancerTlsCertificateResult { /** - *

                        The date when the disk was created.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - createdAt?: Date; + operations?: Operation[]; +} + +export namespace DeleteLoadBalancerTlsCertificateResult { + export const filterSensitiveLog = (obj: DeleteLoadBalancerTlsCertificateResult): any => ({ + ...obj, + }); +} +export interface DeleteRelationalDatabaseRequest { /** - *

                        (Deprecated) The attachment state of the disk.

                        + *

                        The name of the database snapshot created if skip final snapshot is + * false, which is the default value for that parameter.

                        * - *

                        In releases prior to November 14, 2017, this parameter returned attached - * for system disks in the API response. It is now deprecated, but still included in the - * response. Use isAttached instead.

                        + *

                        Specifying this parameter and also specifying the skip final snapshot + * parameter to true results in an error.

                        *
                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Must contain from 2 to 255 alphanumeric characters, or hyphens.

                          + *
                        • + *
                        • + *

                          The first and last character must be a letter or number.

                          + *
                        • + *
                        */ - attachmentState?: string; + finalRelationalDatabaseSnapshotName?: string; /** - *

                        A Boolean value indicating whether this disk is a system disk (has an operating system - * loaded on it).

                        + *

                        Determines whether a final database snapshot is created before your database is deleted. + * If true is specified, no database snapshot is created. If false is + * specified, a database snapshot is created before your database is deleted.

                        + *

                        You must specify the final relational database snapshot name parameter if the + * skip final snapshot parameter is false.

                        + *

                        Default: false + *

                        */ - isSystemDisk?: boolean; + skipFinalSnapshot?: boolean; /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        + *

                        The name of the database that you are deleting.

                        */ - tags?: Tag[]; + relationalDatabaseName: string | undefined; } -export namespace Disk { - export const filterSensitiveLog = (obj: Disk): any => ({ +export namespace DeleteRelationalDatabaseRequest { + export const filterSensitiveLog = (obj: DeleteRelationalDatabaseRequest): any => ({ ...obj, }); } -/** - *

                        Describes a disk.

                        - */ -export interface DiskInfo { +export interface DeleteRelationalDatabaseResult { /** - *

                        The size of the disk in GB (e.g., 32).

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - sizeInGb?: number; + operations?: Operation[]; +} - /** - *

                        The disk path.

                        - */ - path?: string; +export namespace DeleteRelationalDatabaseResult { + export const filterSensitiveLog = (obj: DeleteRelationalDatabaseResult): any => ({ + ...obj, + }); +} +export interface DeleteRelationalDatabaseSnapshotRequest { /** - *

                        A Boolean value indicating whether this disk is a system disk (has an operating system - * loaded on it).

                        + *

                        The name of the database snapshot that you are deleting.

                        */ - isSystemDisk?: boolean; + relationalDatabaseSnapshotName: string | undefined; +} + +export namespace DeleteRelationalDatabaseSnapshotRequest { + export const filterSensitiveLog = (obj: DeleteRelationalDatabaseSnapshotRequest): any => ({ + ...obj, + }); +} +export interface DeleteRelationalDatabaseSnapshotResult { /** - *

                        The disk name.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - name?: string; + operations?: Operation[]; } -export namespace DiskInfo { - export const filterSensitiveLog = (obj: DiskInfo): any => ({ +export namespace DeleteRelationalDatabaseSnapshotResult { + export const filterSensitiveLog = (obj: DeleteRelationalDatabaseSnapshotResult): any => ({ ...obj, }); } -export enum DiskSnapshotState { - Completed = "completed", - Error = "error", - Pending = "pending", - Unknown = "unknown", -} - -/** - *

                        Describes a block storage disk snapshot.

                        - */ -export interface DiskSnapshot { +export interface DetachCertificateFromDistributionRequest { /** - *

                        The status of the disk snapshot operation.

                        + *

                        The name of the distribution from which to detach the certificate.

                        + *

                        Use the GetDistributions action to get a list of distribution names that you + * can specify.

                        */ - state?: DiskSnapshotState | string; + distributionName: string | undefined; +} - /** - *

                        The size of the disk in GB.

                        - */ - sizeInGb?: number; +export namespace DetachCertificateFromDistributionRequest { + export const filterSensitiveLog = (obj: DetachCertificateFromDistributionRequest): any => ({ + ...obj, + }); +} +export interface DetachCertificateFromDistributionResult { /** - *

                        The AWS Region and Availability Zone where the disk snapshot was created.

                        + *

                        An object that describes the result of the action, such as the status of the request, the + * timestamp of the request, and the resources affected by the request.

                        */ - location?: ResourceLocation; + operation?: Operation; +} - /** - *

                        The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was - * created.

                        - */ - fromDiskArn?: string; +export namespace DetachCertificateFromDistributionResult { + export const filterSensitiveLog = (obj: DetachCertificateFromDistributionResult): any => ({ + ...obj, + }); +} +export interface DetachDiskRequest { /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        + *

                        The unique name of the disk you want to detach from your instance (e.g., + * my-disk).

                        */ - tags?: Tag[]; + diskName: string | undefined; +} - /** - *

                        The name of the disk snapshot (e.g., my-disk-snapshot).

                        - */ - name?: string; +export namespace DetachDiskRequest { + export const filterSensitiveLog = (obj: DetachDiskRequest): any => ({ + ...obj, + }); +} +export interface DetachDiskResult { /** - *

                        The progress of the disk snapshot operation.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - progress?: string; + operations?: Operation[]; +} - /** - *

                        The unique name of the source disk from which the disk snapshot was created.

                        - */ - fromDiskName?: string; +export namespace DetachDiskResult { + export const filterSensitiveLog = (obj: DetachDiskResult): any => ({ + ...obj, + }); +} +export interface DetachInstancesFromLoadBalancerRequest { /** - *

                        The unique name of the source instance from which the disk (system volume) snapshot was - * created.

                        + *

                        The name of the Lightsail load balancer.

                        */ - fromInstanceName?: string; + loadBalancerName: string | undefined; /** - *

                        The date when the disk snapshot was created.

                        + *

                        An array of strings containing the names of the instances you want to detach from the load + * balancer.

                        */ - createdAt?: Date; + instanceNames: string[] | undefined; +} + +export namespace DetachInstancesFromLoadBalancerRequest { + export const filterSensitiveLog = (obj: DetachInstancesFromLoadBalancerRequest): any => ({ + ...obj, + }); +} +export interface DetachInstancesFromLoadBalancerResult { /** - *

                        A Boolean value indicating whether the snapshot was created from an automatic - * snapshot.

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - isFromAutoSnapshot?: boolean; + operations?: Operation[]; +} +export namespace DetachInstancesFromLoadBalancerResult { + export const filterSensitiveLog = (obj: DetachInstancesFromLoadBalancerResult): any => ({ + ...obj, + }); +} + +export interface DetachStaticIpRequest { /** - *

                        The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) - * snapshot was created.

                        + *

                        The name of the static IP to detach from the instance.

                        */ - fromInstanceArn?: string; + staticIpName: string | undefined; +} + +export namespace DetachStaticIpRequest { + export const filterSensitiveLog = (obj: DetachStaticIpRequest): any => ({ + ...obj, + }); +} +export interface DetachStaticIpResult { /** - *

                        The Lightsail resource type (e.g., DiskSnapshot).

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - resourceType?: ResourceType | string; + operations?: Operation[]; +} + +export namespace DetachStaticIpResult { + export const filterSensitiveLog = (obj: DetachStaticIpResult): any => ({ + ...obj, + }); +} +export interface DisableAddOnRequest { /** - *

                        The Amazon Resource Name (ARN) of the disk snapshot.

                        + *

                        The name of the source resource for which to disable the add-on.

                        */ - arn?: string; + resourceName: string | undefined; /** - *

                        The support code. Include this code in your email to support when you have questions about - * an instance or another resource in Lightsail. This code enables our support team to look up - * your Lightsail information more easily.

                        + *

                        The add-on type to disable.

                        */ - supportCode?: string; + addOnType: AddOnType | string | undefined; } -export namespace DiskSnapshot { - export const filterSensitiveLog = (obj: DiskSnapshot): any => ({ +export namespace DisableAddOnRequest { + export const filterSensitiveLog = (obj: DisableAddOnRequest): any => ({ ...obj, }); } -/** - *

                        Describes a disk snapshot.

                        - */ -export interface DiskSnapshotInfo { +export interface DisableAddOnResult { /** - *

                        The size of the disk in GB (e.g., 32).

                        + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        */ - sizeInGb?: number; + operations?: Operation[]; } -export namespace DiskSnapshotInfo { - export const filterSensitiveLog = (obj: DiskSnapshotInfo): any => ({ +export namespace DisableAddOnResult { + export const filterSensitiveLog = (obj: DisableAddOnResult): any => ({ ...obj, }); } +export enum DiskState { + Available = "available", + Error = "error", + InUse = "in-use", + Pending = "pending", + Unknown = "unknown", +} + /** - *

                        Describes the specifications of a distribution bundle.

                        + *

                        Describes a system disk or a block storage disk.

                        */ -export interface DistributionBundle { +export interface Disk { /** - *

                        Indicates whether the bundle is active, and can be specified for a new - * distribution.

                        + *

                        The unique name of the disk.

                        */ - isActive?: boolean; + name?: string; /** - *

                        The monthly network transfer quota of the bundle.

                        + *

                        The input/output operations per second (IOPS) of the disk.

                        */ - transferPerMonthInGb?: number; + iops?: number; /** - *

                        The name of the distribution bundle.

                        + *

                        A Boolean value indicating whether the disk is attached.

                        */ - name?: string; + isAttached?: boolean; /** - *

                        The monthly price, in US dollars, of the bundle.

                        + *

                        (Deprecated) The attachment state of the disk.

                        + * + *

                        In releases prior to November 14, 2017, this parameter returned attached + * for system disks in the API response. It is now deprecated, but still included in the + * response. Use isAttached instead.

                        + *
                        */ - price?: number; + attachmentState?: string; /** - *

                        The ID of the bundle.

                        + *

                        The date when the disk was created.

                        */ - bundleId?: string; -} + createdAt?: Date; -export namespace DistributionBundle { - export const filterSensitiveLog = (obj: DistributionBundle): any => ({ - ...obj, - }); -} + /** + *

                        A Boolean value indicating whether this disk is a system disk (has an operating system + * loaded on it).

                        + */ + isSystemDisk?: boolean; -export enum DistributionMetricName { - BytesDownloaded = "BytesDownloaded", - BytesUploaded = "BytesUploaded", - Http4xxErrorRate = "Http4xxErrorRate", - Http5xxErrorRate = "Http5xxErrorRate", - Requests = "Requests", - TotalErrorRate = "TotalErrorRate", -} + /** + *

                        An array of objects representing the add-ons enabled on the disk.

                        + */ + addOns?: AddOn[]; -/** - *

                        Describes a domain where you are storing recordsets in Lightsail.

                        - */ -export interface Domain { /** *

                        The tag keys and optional values for the resource. For more information about tags in * Lightsail, see the Lightsail @@ -5273,24 +5783,43 @@ export interface Domain { tags?: Tag[]; /** - *

                        The date when the domain recordset was created.

                        + *

                        Describes the status of the disk.

                        */ - createdAt?: Date; + state?: DiskState | string; /** - *

                        The resource type.

                        + *

                        The resources to which the disk is attached.

                        */ - resourceType?: ResourceType | string; + attachedTo?: string; /** - *

                        The AWS Region and Availability Zones where the domain recordset was created.

                        + *

                        The size of the disk in GB.

                        + */ + sizeInGb?: number; + + /** + *

                        The AWS Region and Availability Zone where the disk is located.

                        */ location?: ResourceLocation; /** - *

                        An array of key-value pairs containing information about the domain entries.

                        + *

                        The disk path.

                        */ - domainEntries?: DomainEntry[]; + path?: string; + + /** + *

                        The Amazon Resource Name (ARN) of the disk.

                        + */ + arn?: string; + + /** + *

                        (Deprecated) The number of GB in use by the disk.

                        + * + *

                        In releases prior to November 14, 2017, this parameter was not included in the API + * response. It is now deprecated.

                        + *
                        + */ + gbInUse?: number; /** *

                        The support code. Include this code in your email to support when you have questions about @@ -5300,251 +5829,496 @@ export interface Domain { supportCode?: string; /** - *

                        The Amazon Resource Name (ARN) of the domain recordset (e.g., - * arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).

                        - */ - arn?: string; - - /** - *

                        The name of the domain.

                        + *

                        The Lightsail resource type (e.g., Disk).

                        */ - name?: string; + resourceType?: ResourceType | string; } -export namespace Domain { - export const filterSensitiveLog = (obj: Domain): any => ({ +export namespace Disk { + export const filterSensitiveLog = (obj: Disk): any => ({ ...obj, }); } -export interface DownloadDefaultKeyPairRequest {} +/** + *

                        Describes a disk.

                        + */ +export interface DiskInfo { + /** + *

                        The disk name.

                        + */ + name?: string; -export namespace DownloadDefaultKeyPairRequest { - export const filterSensitiveLog = (obj: DownloadDefaultKeyPairRequest): any => ({ - ...obj, - }); -} + /** + *

                        The size of the disk in GB (e.g., 32).

                        + */ + sizeInGb?: number; -export interface DownloadDefaultKeyPairResult { /** - *

                        A base64-encoded public key of the ssh-rsa type.

                        + *

                        The disk path.

                        */ - publicKeyBase64?: string; + path?: string; /** - *

                        A base64-encoded RSA private key.

                        + *

                        A Boolean value indicating whether this disk is a system disk (has an operating system + * loaded on it).

                        */ - privateKeyBase64?: string; + isSystemDisk?: boolean; } -export namespace DownloadDefaultKeyPairResult { - export const filterSensitiveLog = (obj: DownloadDefaultKeyPairResult): any => ({ +export namespace DiskInfo { + export const filterSensitiveLog = (obj: DiskInfo): any => ({ ...obj, }); } -export interface EnableAddOnRequest { +export enum DiskSnapshotState { + Completed = "completed", + Error = "error", + Pending = "pending", + Unknown = "unknown", +} + +/** + *

                        Describes a block storage disk snapshot.

                        + */ +export interface DiskSnapshot { /** - *

                        The name of the source resource for which to enable or modify the add-on.

                        + *

                        The AWS Region and Availability Zone where the disk snapshot was created.

                        */ - resourceName: string | undefined; + location?: ResourceLocation; /** - *

                        An array of strings representing the add-on to enable or modify.

                        + *

                        The progress of the disk snapshot operation.

                        */ - addOnRequest: AddOnRequest | undefined; -} + progress?: string; -export namespace EnableAddOnRequest { - export const filterSensitiveLog = (obj: EnableAddOnRequest): any => ({ - ...obj, - }); -} + /** + *

                        The name of the disk snapshot (e.g., my-disk-snapshot).

                        + */ + name?: string; -export interface EnableAddOnResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The size of the disk in GB.

                        */ - operations?: Operation[]; -} + sizeInGb?: number; -export namespace EnableAddOnResult { - export const filterSensitiveLog = (obj: EnableAddOnResult): any => ({ - ...obj, - }); -} + /** + *

                        The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) + * snapshot was created.

                        + */ + fromInstanceArn?: string; -export interface ExportSnapshotRequest { /** - *

                        The name of the instance or disk snapshot to be exported to Amazon EC2.

                        + *

                        The support code. Include this code in your email to support when you have questions about + * an instance or another resource in Lightsail. This code enables our support team to look up + * your Lightsail information more easily.

                        */ - sourceSnapshotName: string | undefined; -} + supportCode?: string; -export namespace ExportSnapshotRequest { - export const filterSensitiveLog = (obj: ExportSnapshotRequest): any => ({ - ...obj, - }); -} + /** + *

                        The Amazon Resource Name (ARN) of the disk snapshot.

                        + */ + arn?: string; -export interface ExportSnapshotResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The status of the disk snapshot operation.

                        */ - operations?: Operation[]; -} + state?: DiskSnapshotState | string; -export namespace ExportSnapshotResult { - export const filterSensitiveLog = (obj: ExportSnapshotResult): any => ({ - ...obj, - }); -} + /** + *

                        The date when the disk snapshot was created.

                        + */ + createdAt?: Date; -/** - *

                        Describes an instance snapshot.

                        - */ -export interface InstanceSnapshotInfo { /** - *

                        The bundle ID from which the source instance was created (e.g., - * micro_1_0).

                        + *

                        The unique name of the source instance from which the disk (system volume) snapshot was + * created.

                        */ - fromBundleId?: string; + fromInstanceName?: string; /** - *

                        A list of objects describing the disks that were attached to the source instance.

                        + *

                        The Lightsail resource type (e.g., DiskSnapshot).

                        */ - fromDiskInfo?: DiskInfo[]; + resourceType?: ResourceType | string; /** - *

                        The blueprint ID from which the source instance (e.g., os_debian_8_3).

                        + *

                        The unique name of the source disk from which the disk snapshot was created.

                        */ - fromBlueprintId?: string; + fromDiskName?: string; + + /** + *

                        A Boolean value indicating whether the snapshot was created from an automatic + * snapshot.

                        + */ + isFromAutoSnapshot?: boolean; + + /** + *

                        The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was + * created.

                        + */ + fromDiskArn?: string; + + /** + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        + */ + tags?: Tag[]; } -export namespace InstanceSnapshotInfo { - export const filterSensitiveLog = (obj: InstanceSnapshotInfo): any => ({ +export namespace DiskSnapshot { + export const filterSensitiveLog = (obj: DiskSnapshot): any => ({ ...obj, }); } -export enum ExportSnapshotRecordSourceType { - DiskSnapshot = "DiskSnapshot", - InstanceSnapshot = "InstanceSnapshot", -} - /** - *

                        Describes the source of an export snapshot record.

                        + *

                        Describes a disk snapshot.

                        */ -export interface ExportSnapshotRecordSourceInfo { - /** - *

                        The Amazon Resource Name (ARN) of the snapshot's source instance or disk.

                        - */ - fromResourceArn?: string; - +export interface DiskSnapshotInfo { /** - *

                        The date when the source instance or disk snapshot was created.

                        + *

                        The size of the disk in GB (e.g., 32).

                        */ - createdAt?: Date; + sizeInGb?: number; +} - /** - *

                        The name of the snapshot's source instance or disk.

                        - */ - fromResourceName?: string; +export namespace DiskSnapshotInfo { + export const filterSensitiveLog = (obj: DiskSnapshotInfo): any => ({ + ...obj, + }); +} +/** + *

                        Describes the specifications of a distribution bundle.

                        + */ +export interface DistributionBundle { /** - *

                        The Amazon Resource Name (ARN) of the source instance or disk snapshot.

                        + *

                        The name of the distribution bundle.

                        */ - arn?: string; + name?: string; /** - *

                        A list of objects describing an instance snapshot.

                        + *

                        Indicates whether the bundle is active, and can be specified for a new + * distribution.

                        */ - instanceSnapshotInfo?: InstanceSnapshotInfo; + isActive?: boolean; /** - *

                        A list of objects describing a disk snapshot.

                        + *

                        The monthly network transfer quota of the bundle.

                        */ - diskSnapshotInfo?: DiskSnapshotInfo; + transferPerMonthInGb?: number; /** - *

                        The name of the source instance or disk snapshot.

                        + *

                        The ID of the bundle.

                        */ - name?: string; + bundleId?: string; /** - *

                        The Lightsail resource type (e.g., InstanceSnapshot or - * DiskSnapshot).

                        + *

                        The monthly price, in US dollars, of the bundle.

                        */ - resourceType?: ExportSnapshotRecordSourceType | string; + price?: number; } -export namespace ExportSnapshotRecordSourceInfo { - export const filterSensitiveLog = (obj: ExportSnapshotRecordSourceInfo): any => ({ +export namespace DistributionBundle { + export const filterSensitiveLog = (obj: DistributionBundle): any => ({ ...obj, }); } +export enum DistributionMetricName { + BytesDownloaded = "BytesDownloaded", + BytesUploaded = "BytesUploaded", + Http4xxErrorRate = "Http4xxErrorRate", + Http5xxErrorRate = "Http5xxErrorRate", + Requests = "Requests", + TotalErrorRate = "TotalErrorRate", +} + /** - *

                        Describes an export snapshot record.

                        + *

                        Describes a domain where you are storing recordsets in Lightsail.

                        */ -export interface ExportSnapshotRecord { +export interface Domain { /** - *

                        The AWS Region and Availability Zone where the export snapshot record is located.

                        + *

                        The support code. Include this code in your email to support when you have questions about + * an instance or another resource in Lightsail. This code enables our support team to look up + * your Lightsail information more easily.

                        */ - location?: ResourceLocation; + supportCode?: string; /** - *

                        The state of the export snapshot record.

                        + *

                        The Amazon Resource Name (ARN) of the domain recordset (e.g., + * arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).

                        */ - state?: RecordState | string; + arn?: string; /** - *

                        The date when the export snapshot record was created.

                        + *

                        The date when the domain recordset was created.

                        */ createdAt?: Date; /** - *

                        A list of objects describing the destination of the export snapshot record.

                        + *

                        An array of key-value pairs containing information about the domain entries.

                        */ - destinationInfo?: DestinationInfo; + domainEntries?: DomainEntry[]; /** - *

                        A list of objects describing the source of the export snapshot record.

                        + *

                        The AWS Region and Availability Zones where the domain recordset was created.

                        */ - sourceInfo?: ExportSnapshotRecordSourceInfo; + location?: ResourceLocation; /** - *

                        The Amazon Resource Name (ARN) of the export snapshot record.

                        + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        */ - arn?: string; + tags?: Tag[]; /** - *

                        The Lightsail resource type (e.g., ExportSnapshotRecord).

                        + *

                        The resource type.

                        */ resourceType?: ResourceType | string; /** - *

                        The export snapshot record name.

                        + *

                        The name of the domain.

                        */ name?: string; } -export namespace ExportSnapshotRecord { - export const filterSensitiveLog = (obj: ExportSnapshotRecord): any => ({ +export namespace Domain { + export const filterSensitiveLog = (obj: Domain): any => ({ ...obj, }); } -export interface GetActiveNamesRequest { - /** - *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetActiveNames request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                        - */ - pageToken?: string; +export interface DownloadDefaultKeyPairRequest {} + +export namespace DownloadDefaultKeyPairRequest { + export const filterSensitiveLog = (obj: DownloadDefaultKeyPairRequest): any => ({ + ...obj, + }); +} + +export interface DownloadDefaultKeyPairResult { + /** + *

                        A base64-encoded RSA private key.

                        + */ + privateKeyBase64?: string; + + /** + *

                        A base64-encoded public key of the ssh-rsa type.

                        + */ + publicKeyBase64?: string; +} + +export namespace DownloadDefaultKeyPairResult { + export const filterSensitiveLog = (obj: DownloadDefaultKeyPairResult): any => ({ + ...obj, + }); +} + +export interface EnableAddOnRequest { + /** + *

                        The name of the source resource for which to enable or modify the add-on.

                        + */ + resourceName: string | undefined; + + /** + *

                        An array of strings representing the add-on to enable or modify.

                        + */ + addOnRequest: AddOnRequest | undefined; +} + +export namespace EnableAddOnRequest { + export const filterSensitiveLog = (obj: EnableAddOnRequest): any => ({ + ...obj, + }); +} + +export interface EnableAddOnResult { + /** + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        + */ + operations?: Operation[]; +} + +export namespace EnableAddOnResult { + export const filterSensitiveLog = (obj: EnableAddOnResult): any => ({ + ...obj, + }); +} + +export interface ExportSnapshotRequest { + /** + *

                        The name of the instance or disk snapshot to be exported to Amazon EC2.

                        + */ + sourceSnapshotName: string | undefined; +} + +export namespace ExportSnapshotRequest { + export const filterSensitiveLog = (obj: ExportSnapshotRequest): any => ({ + ...obj, + }); +} + +export interface ExportSnapshotResult { + /** + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        + */ + operations?: Operation[]; +} + +export namespace ExportSnapshotResult { + export const filterSensitiveLog = (obj: ExportSnapshotResult): any => ({ + ...obj, + }); +} + +/** + *

                        Describes an instance snapshot.

                        + */ +export interface InstanceSnapshotInfo { + /** + *

                        The blueprint ID from which the source instance (e.g., os_debian_8_3).

                        + */ + fromBlueprintId?: string; + + /** + *

                        The bundle ID from which the source instance was created (e.g., + * micro_1_0).

                        + */ + fromBundleId?: string; + + /** + *

                        A list of objects describing the disks that were attached to the source instance.

                        + */ + fromDiskInfo?: DiskInfo[]; +} + +export namespace InstanceSnapshotInfo { + export const filterSensitiveLog = (obj: InstanceSnapshotInfo): any => ({ + ...obj, + }); +} + +export enum ExportSnapshotRecordSourceType { + DiskSnapshot = "DiskSnapshot", + InstanceSnapshot = "InstanceSnapshot", +} + +/** + *

                        Describes the source of an export snapshot record.

                        + */ +export interface ExportSnapshotRecordSourceInfo { + /** + *

                        The name of the snapshot's source instance or disk.

                        + */ + fromResourceName?: string; + + /** + *

                        The Amazon Resource Name (ARN) of the snapshot's source instance or disk.

                        + */ + fromResourceArn?: string; + + /** + *

                        A list of objects describing an instance snapshot.

                        + */ + instanceSnapshotInfo?: InstanceSnapshotInfo; + + /** + *

                        The date when the source instance or disk snapshot was created.

                        + */ + createdAt?: Date; + + /** + *

                        The Lightsail resource type (e.g., InstanceSnapshot or + * DiskSnapshot).

                        + */ + resourceType?: ExportSnapshotRecordSourceType | string; + + /** + *

                        A list of objects describing a disk snapshot.

                        + */ + diskSnapshotInfo?: DiskSnapshotInfo; + + /** + *

                        The name of the source instance or disk snapshot.

                        + */ + name?: string; + + /** + *

                        The Amazon Resource Name (ARN) of the source instance or disk snapshot.

                        + */ + arn?: string; +} + +export namespace ExportSnapshotRecordSourceInfo { + export const filterSensitiveLog = (obj: ExportSnapshotRecordSourceInfo): any => ({ + ...obj, + }); +} + +/** + *

                        Describes an export snapshot record.

                        + */ +export interface ExportSnapshotRecord { + /** + *

                        A list of objects describing the source of the export snapshot record.

                        + */ + sourceInfo?: ExportSnapshotRecordSourceInfo; + + /** + *

                        A list of objects describing the destination of the export snapshot record.

                        + */ + destinationInfo?: DestinationInfo; + + /** + *

                        The date when the export snapshot record was created.

                        + */ + createdAt?: Date; + + /** + *

                        The state of the export snapshot record.

                        + */ + state?: RecordState | string; + + /** + *

                        The AWS Region and Availability Zone where the export snapshot record is located.

                        + */ + location?: ResourceLocation; + + /** + *

                        The Amazon Resource Name (ARN) of the export snapshot record.

                        + */ + arn?: string; + + /** + *

                        The Lightsail resource type (e.g., ExportSnapshotRecord).

                        + */ + resourceType?: ResourceType | string; + + /** + *

                        The export snapshot record name.

                        + */ + name?: string; +} + +export namespace ExportSnapshotRecord { + export const filterSensitiveLog = (obj: ExportSnapshotRecord): any => ({ + ...obj, + }); +} + +export interface GetActiveNamesRequest { + /** + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetActiveNames request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                        + */ + pageToken?: string; } export namespace GetActiveNamesRequest { @@ -5560,7 +6334,7 @@ export interface GetActiveNamesResult { activeNames?: string[]; /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another GetActiveNames request and * specify the next page token using the pageToken parameter.

                        @@ -5575,14 +6349,6 @@ export namespace GetActiveNamesResult { } export interface GetAlarmsRequest { - /** - *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetAlarms request. If your results - * are paginated, the response will return a next page token that you can specify as the page - * token in a subsequent request.

                        - */ - pageToken?: string; - /** *

                        The name of the alarm.

                        *

                        Specify an alarm name to return information about a specific alarm.

                        @@ -5595,6 +6361,14 @@ export interface GetAlarmsRequest { * resource.

                        */ monitoredResourceName?: string; + + /** + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetAlarms request. If your results + * are paginated, the response will return a next page token that you can specify as the page + * token in a subsequent request.

                        + */ + pageToken?: string; } export namespace GetAlarmsRequest { @@ -5605,7 +6379,7 @@ export namespace GetAlarmsRequest { export interface GetAlarmsResult { /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another GetAlarms request and * specify the next page token using the pageToken parameter.

                        @@ -5640,9 +6414,10 @@ export namespace GetAutoSnapshotsRequest { export interface GetAutoSnapshotsResult { /** - *

                        The name of the source instance or disk for the automatic snapshots.

                        + *

                        An array of objects that describe the automatic snapshots that are available for the + * specified source instance or disk.

                        */ - resourceName?: string; + autoSnapshots?: AutoSnapshotDetails[]; /** *

                        The resource type (e.g., Instance or Disk).

                        @@ -5650,10 +6425,9 @@ export interface GetAutoSnapshotsResult { resourceType?: ResourceType | string; /** - *

                        An array of objects that describe the automatic snapshots that are available for the - * specified source instance or disk.

                        + *

                        The name of the source instance or disk for the automatic snapshots.

                        */ - autoSnapshots?: AutoSnapshotDetails[]; + resourceName?: string; } export namespace GetAutoSnapshotsResult { @@ -5691,7 +6465,7 @@ export interface GetBlueprintsResult { blueprints?: Blueprint[]; /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another GetBlueprints request and * specify the next page token using the pageToken parameter.

                        @@ -5706,12 +6480,6 @@ export namespace GetBlueprintsResult { } export interface GetBundlesRequest { - /** - *

                        A Boolean value that indicates whether to include inactive bundle results in your - * request.

                        - */ - includeInactive?: boolean; - /** *

                        The token to advance to the next page of results from your request.

                        *

                        To get a page token, perform an initial GetBundles request. If your results @@ -5719,6 +6487,12 @@ export interface GetBundlesRequest { * token in a subsequent request.

                        */ pageToken?: string; + + /** + *

                        A Boolean value that indicates whether to include inactive bundle results in your + * request.

                        + */ + includeInactive?: boolean; } export namespace GetBundlesRequest { @@ -5729,17 +6503,17 @@ export namespace GetBundlesRequest { export interface GetBundlesResult { /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        An array of key-value pairs that contains information about the available bundles.

                        + */ + bundles?: Bundle[]; + + /** + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another GetBundles request and * specify the next page token using the pageToken parameter.

                        */ nextPageToken?: string; - - /** - *

                        An array of key-value pairs that contains information about the available bundles.

                        - */ - bundles?: Bundle[]; } export namespace GetBundlesResult { @@ -5749,21 +6523,9 @@ export namespace GetBundlesResult { } export interface GetCertificatesRequest { - /** - *

                        The status of the certificates for which to return information.

                        - * - *

                        For example, specify ISSUED to return only certificates with an - * ISSUED status.

                        - * - *

                        When omitted, the response includes all of your certificates in the AWS region where the - * request is made, regardless of their current status.

                        - */ - certificateStatuses?: (CertificateStatus | string)[]; - /** *

                        The name for the certificate for which to return information.

                        - * - *

                        When omitted, the response includes all of your certificates in the AWS region where the + *

                        When omitted, the response includes all of your certificates in the AWS Region where the * request is made.

                        */ certificateName?: string; @@ -5771,11 +6533,19 @@ export interface GetCertificatesRequest { /** *

                        Indicates whether to include detailed information about the certificates in the * response.

                        - * *

                        When omitted, the response includes only the certificate names, Amazon Resource Names * (ARNs), domain names, and tags.

                        */ includeCertificateDetails?: boolean; + + /** + *

                        The status of the certificates for which to return information.

                        + *

                        For example, specify ISSUED to return only certificates with an + * ISSUED status.

                        + *

                        When omitted, the response includes all of your certificates in the AWS Region where the + * request is made, regardless of their current status.

                        + */ + certificateStatuses?: (CertificateStatus | string)[]; } export namespace GetCertificatesRequest { @@ -5815,18 +6585,18 @@ export namespace GetCloudFormationStackRecordsRequest { export interface GetCloudFormationStackRecordsResult { /** - *

                        A list of objects describing the CloudFormation stack records.

                        - */ - cloudFormationStackRecords?: CloudFormationStackRecord[]; - - /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another * GetCloudFormationStackRecords request and specify the next page token using the * pageToken parameter.

                        */ nextPageToken?: string; + + /** + *

                        A list of objects describing the CloudFormation stack records.

                        + */ + cloudFormationStackRecords?: CloudFormationStackRecord[]; } export namespace GetCloudFormationStackRecordsResult { @@ -5864,196 +6634,249 @@ export namespace GetContactMethodsResult { }); } -export interface GetDiskRequest { - /** - *

                        The name of the disk (e.g., my-disk).

                        - */ - diskName: string | undefined; -} +export interface GetContainerAPIMetadataRequest {} -export namespace GetDiskRequest { - export const filterSensitiveLog = (obj: GetDiskRequest): any => ({ +export namespace GetContainerAPIMetadataRequest { + export const filterSensitiveLog = (obj: GetContainerAPIMetadataRequest): any => ({ ...obj, }); } -export interface GetDiskResult { +export interface GetContainerAPIMetadataResult { /** - *

                        An object containing information about the disk.

                        + *

                        Metadata about Lightsail containers, such as the current version of the Lightsail + * Control (lightsailctl) plugin.

                        */ - disk?: Disk; + metadata?: { [key: string]: string }[]; } -export namespace GetDiskResult { - export const filterSensitiveLog = (obj: GetDiskResult): any => ({ +export namespace GetContainerAPIMetadataResult { + export const filterSensitiveLog = (obj: GetContainerAPIMetadataResult): any => ({ ...obj, }); } -export interface GetDisksRequest { +export interface GetContainerImagesRequest { /** - *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetDisks request. If your results are - * paginated, the response will return a next page token that you can specify as the page token - * in a subsequent request.

                        + *

                        The name of the container service for which to return registered container images.

                        */ - pageToken?: string; + serviceName: string | undefined; } -export namespace GetDisksRequest { - export const filterSensitiveLog = (obj: GetDisksRequest): any => ({ +export namespace GetContainerImagesRequest { + export const filterSensitiveLog = (obj: GetContainerImagesRequest): any => ({ ...obj, }); } -export interface GetDisksResult { - /** - *

                        An array of objects containing information about all block storage disks.

                        - */ - disks?: Disk[]; - +export interface GetContainerImagesResult { /** - *

                        The token to advance to the next page of resutls from your request.

                        - *

                        A next page token is not returned if there are no more results to display.

                        - *

                        To get the next page of results, perform another GetDisks request and specify - * the next page token using the pageToken parameter.

                        + *

                        An array of objects that describe container images that are registered to the container + * service.

                        */ - nextPageToken?: string; + containerImages?: ContainerImage[]; } -export namespace GetDisksResult { - export const filterSensitiveLog = (obj: GetDisksResult): any => ({ +export namespace GetContainerImagesResult { + export const filterSensitiveLog = (obj: GetContainerImagesResult): any => ({ ...obj, }); } -export interface GetDiskSnapshotRequest { +export interface GetContainerLogRequest { /** - *

                        The name of the disk snapshot (e.g., my-disk-snapshot).

                        + *

                        The pattern to use to filter the returned log events to a specific term.

                        + * + *

                        The following are a few examples of filter patterns that you can specify:

                        + *
                          + *
                        • + *

                          To return all log events, specify a filter pattern of "".

                          + *
                        • + *
                        • + *

                          To exclude log events that contain the ERROR term, and return all other + * log events, specify a filter pattern of "-ERROR".

                          + *
                        • + *
                        • + *

                          To return log events that contain the ERROR term, specify a filter + * pattern of "ERROR".

                          + *
                        • + *
                        • + *

                          To return log events that contain both the ERROR and + * Exception terms, specify a filter pattern of "ERROR + * Exception".

                          + *
                        • + *
                        • + *

                          To return log events that contain the ERROR + * or the Exception term, specify a filter pattern of + * "?ERROR ?Exception".

                          + *
                        • + *
                        */ - diskSnapshotName: string | undefined; -} + filterPattern?: string; -export namespace GetDiskSnapshotRequest { - export const filterSensitiveLog = (obj: GetDiskSnapshotRequest): any => ({ - ...obj, - }); -} + /** + *

                        The token to advance to the next page of results from your request.

                        + * + *

                        To get a page token, perform an initial GetContainerLog request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                        + */ + pageToken?: string; -export interface GetDiskSnapshotResult { /** - *

                        An object containing information about the disk snapshot.

                        + *

                        The end of the time interval for which to get log data.

                        + * + *

                        Constraints:

                        + * + *
                          + *
                        • + *

                          Specified in Coordinated Universal Time (UTC).

                          + *
                        • + *
                        • + *

                          Specified in the Unix time format.

                          + * + *

                          For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify + * 1538427600 as the end time.

                          + *
                        • + *
                        + * + *

                        You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                        */ - diskSnapshot?: DiskSnapshot; -} + endTime?: Date; -export namespace GetDiskSnapshotResult { - export const filterSensitiveLog = (obj: GetDiskSnapshotResult): any => ({ - ...obj, - }); -} + /** + *

                        The name of the container service for which to get a container log.

                        + */ + serviceName: string | undefined; -export interface GetDiskSnapshotsRequest { /** - *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetDiskSnapshots request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                        + *

                        The start of the time interval for which to get log data.

                        + * + *

                        Constraints:

                        + * + *
                          + *
                        • + *

                          Specified in Coordinated Universal Time (UTC).

                          + *
                        • + *
                        • + *

                          Specified in the Unix time format.

                          + * + *

                          For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify + * 1538424000 as the start time.

                          + *
                        • + *
                        + * + *

                        You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                        */ - pageToken?: string; + startTime?: Date; + + /** + *

                        The name of the container that is either running or previously ran on the container + * service for which to return a log.

                        + */ + containerName: string | undefined; } -export namespace GetDiskSnapshotsRequest { - export const filterSensitiveLog = (obj: GetDiskSnapshotsRequest): any => ({ +export namespace GetContainerLogRequest { + export const filterSensitiveLog = (obj: GetContainerLogRequest): any => ({ ...obj, }); } -export interface GetDiskSnapshotsResult { +export interface GetContainerLogResult { /** - *

                        An array of objects containing information about all block storage disk snapshots.

                        + *

                        An array of objects that describe the log events of a container.

                        */ - diskSnapshots?: DiskSnapshot[]; + logEvents?: ContainerServiceLogEvent[]; /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        + * *

                        A next page token is not returned if there are no more results to display.

                        - *

                        To get the next page of results, perform another GetDiskSnapshots request and + * + *

                        To get the next page of results, perform another GetContainerLog request and * specify the next page token using the pageToken parameter.

                        */ nextPageToken?: string; } -export namespace GetDiskSnapshotsResult { - export const filterSensitiveLog = (obj: GetDiskSnapshotsResult): any => ({ - ...obj, - }); -} - -export interface GetDistributionBundlesRequest {} - -export namespace GetDistributionBundlesRequest { - export const filterSensitiveLog = (obj: GetDistributionBundlesRequest): any => ({ +export namespace GetContainerLogResult { + export const filterSensitiveLog = (obj: GetContainerLogResult): any => ({ ...obj, }); } -export interface GetDistributionBundlesResult { +export interface GetContainerServiceDeploymentsRequest { /** - *

                        An object that describes a distribution bundle.

                        + *

                        The name of the container service for which to return deployments.

                        */ - bundles?: DistributionBundle[]; + serviceName: string | undefined; } -export namespace GetDistributionBundlesResult { - export const filterSensitiveLog = (obj: GetDistributionBundlesResult): any => ({ +export namespace GetContainerServiceDeploymentsRequest { + export const filterSensitiveLog = (obj: GetContainerServiceDeploymentsRequest): any => ({ ...obj, }); } -export interface GetDistributionLatestCacheResetRequest { +export interface GetContainerServiceDeploymentsResult { /** - *

                        The name of the distribution for which to return the timestamp of the last cache - * reset.

                        - * - *

                        Use the GetDistributions action to get a list of distribution names that you - * can specify.

                        - * - *

                        When omitted, the response includes the latest cache reset timestamp of all your - * distributions.

                        + *

                        An array of objects that describe deployments for a container service.

                        */ - distributionName?: string; + deployments?: ContainerServiceDeployment[]; } -export namespace GetDistributionLatestCacheResetRequest { - export const filterSensitiveLog = (obj: GetDistributionLatestCacheResetRequest): any => ({ +export namespace GetContainerServiceDeploymentsResult { + export const filterSensitiveLog = (obj: GetContainerServiceDeploymentsResult): any => ({ ...obj, }); } -export interface GetDistributionLatestCacheResetResult { +export interface GetContainerServiceMetricDataRequest { /** - *

                        The status of the last cache reset.

                        + *

                        The name of the container service for which to get metric data.

                        */ - status?: string; + serviceName: string | undefined; /** - *

                        The timestamp of the last cache reset (e.g., 1479734909.17) in Unix time - * format.

                        + *

                        The metric for which you want to return information.

                        + * + *

                        Valid container service metric names are listed below, along with the most useful + * statistics to include in your request, and the published unit value.

                        + * + *
                          + *
                        • + *

                          + * CPUUtilization - The average percentage of compute units that are + * currently in use across all nodes of the container service. This metric identifies the + * processing power required to run containers on each node of the container service.

                          + *

                          Statistics: The most useful statistics are Maximum and + * Average.

                          + *

                          Unit: The published unit is Percent.

                          + *
                        • + *
                        • + *

                          + * MemoryUtilization - The average percentage of available memory that is + * currently in use across all nodes of the container service. This metric identifies the + * memory required to run containers on each node of the container service.

                          + *

                          Statistics: The most useful statistics are Maximum and + * Average.

                          + *

                          Unit: The published unit is Percent.

                          + *
                        • + *
                        */ - createTime?: Date; -} + metricName: ContainerServiceMetricName | string | undefined; -export namespace GetDistributionLatestCacheResetResult { - export const filterSensitiveLog = (obj: GetDistributionLatestCacheResetResult): any => ({ - ...obj, - }); -} + /** + *

                        The end time of the time period.

                        + */ + endTime: Date | undefined; -export interface GetDistributionMetricDataRequest { /** *

                        The statistic for the metric.

                        + * *

                        The following statistics are available:

                        + * *
                          *
                        • *

                          @@ -6072,9 +6895,10 @@ export interface GetDistributionMetricDataRequest { *

                        • *
                        • *

                          - * Average - The value of Sum / SampleCount during the specified period. By - * comparing this statistic with the Minimum and Maximum values, you can determine the full - * scope of a metric and how close the average use is to the Minimum and Maximum values. This + * Average - The value of Sum / SampleCount during + * the specified period. By comparing this statistic with the Minimum and + * Maximum values, you can determine the full scope of a metric and how close + * the average use is to the Minimum and Maximum values. This * comparison helps you to know when to increase or decrease your resources.

                          *
                        • *
                        • @@ -6087,147 +6911,21 @@ export interface GetDistributionMetricDataRequest { statistics: (MetricStatistic | string)[] | undefined; /** - *

                          The end of the time interval for which to get metric data.

                          - *

                          Constraints:

                          - *
                            - *
                          • - *

                            Specified in Coordinated Universal Time (UTC).

                            - *
                          • - *
                          • - *

                            Specified in the Unix time format.

                            - *

                            For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify - * 1538427600 as the end time.

                            - *
                          • - *
                          - *

                          You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                          - */ - endTime: Date | undefined; - - /** - *

                          The unit for the metric data request.

                          - * - *

                          Valid units depend on the metric data being requested. For the valid units with each - * available metric, see the metricName parameter.

                          - */ - unit: MetricUnit | string | undefined; - - /** - *

                          The metric for which you want to return information.

                          - * - *

                          Valid distribution metric names are listed below, along with the most useful - * statistics to include in your request, and the published unit - * value.

                          - * - *
                            - *
                          • - *

                            - * - * Requests - * - The total number of viewer - * requests received by your Lightsail distribution, for all HTTP methods, and for both - * HTTP and HTTPS requests.

                            - *

                            - * Statistics: The most useful statistic is Sum.

                            - *

                            - * Unit: The published unit is None.

                            - *
                          • - *
                          • - *

                            - * - * BytesDownloaded - * - The number of bytes - * downloaded by viewers for GET, HEAD, and OPTIONS requests.

                            - *

                            - * Statistics: The most useful statistic is Sum.

                            - *

                            - * Unit: The published unit is None.

                            - *
                          • - *
                          • - *

                            - * - * BytesUploaded - * - The number of bytes - * uploaded to your origin by your Lightsail distribution, using POST and PUT - * requests.

                            - *

                            - * Statistics: The most useful statistic is Sum.

                            - *

                            - * Unit: The published unit is None.

                            - *
                          • - *
                          • - *

                            - * - * TotalErrorRate - * - The percentage of all - * viewer requests for which the response's HTTP status code was 4xx or 5xx.

                            - *

                            - * Statistics: The most useful statistic is Average.

                            - *

                            - * Unit: The published unit is Percent.

                            - *
                          • - *
                          • - *

                            - * - * 4xxErrorRate - * - The percentage of all - * viewer requests for which the response's HTTP status cod was 4xx. In these cases, the - * client or client viewer may have made an error. For example, a status code of 404 (Not - * Found) means that the client requested an object that could not be found.

                            - *

                            - * Statistics: The most useful statistic is Average.

                            - *

                            - * Unit: The published unit is Percent.

                            - *
                          • - *
                          • - *

                            - * - * 5xxErrorRate - * - The percentage of all - * viewer requests for which the response's HTTP status code was 5xx. In these cases, the - * origin server did not satisfy the requests. For example, a status code of 503 (Service - * Unavailable) means that the origin server is currently unavailable.

                            - *

                            - * Statistics: The most useful statistic is Average.

                            - *

                            - * Unit: The published unit is Percent.

                            - *
                          • - *
                          - */ - metricName: DistributionMetricName | string | undefined; - - /** - *

                          The name of the distribution for which to get metric data.

                          - * - *

                          Use the GetDistributions action to get a list of distribution names that you - * can specify.

                          - */ - distributionName: string | undefined; - - /** - *

                          The granularity, in seconds, for the metric data points that will be returned.

                          + *

                          The granularity, in seconds, of the returned data points.

                          + * + *

                          All container service metric data is available in 5-minute (300 seconds) + * granularity.

                          */ period: number | undefined; /** - *

                          The start of the time interval for which to get metric data.

                          - *

                          Constraints:

                          - *
                            - *
                          • - *

                            Specified in Coordinated Universal Time (UTC).

                            - *
                          • - *
                          • - *

                            Specified in the Unix time format.

                            - *

                            For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify - * 1538424000 as the start time.

                            - *
                          • - *
                          - *

                          You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                          + *

                          The start time of the time period.

                          */ startTime: Date | undefined; } -export namespace GetDistributionMetricDataRequest { - export const filterSensitiveLog = (obj: GetDistributionMetricDataRequest): any => ({ +export namespace GetContainerServiceMetricDataRequest { + export const filterSensitiveLog = (obj: GetContainerServiceMetricDataRequest): any => ({ ...obj, }); } @@ -6237,9 +6935,9 @@ export namespace GetDistributionMetricDataRequest { */ export interface MetricDatapoint { /** - *

                          The sample count.

                          + *

                          The sum.

                          */ - sampleCount?: number; + sum?: number; /** *

                          The timestamp (e.g., 1479816991.349).

                          @@ -6252,14 +6950,14 @@ export interface MetricDatapoint { minimum?: number; /** - *

                          The sum.

                          + *

                          The unit.

                          */ - sum?: number; + unit?: MetricUnit | string; /** - *

                          The unit.

                          + *

                          The sample count.

                          */ - unit?: MetricUnit | string; + sampleCount?: number; /** *

                          The average.

                          @@ -6278,2881 +6976,1820 @@ export namespace MetricDatapoint { }); } -export interface GetDistributionMetricDataResult { +export interface GetContainerServiceMetricDataResult { /** - *

                          The name of the metric returned.

                          + *

                          An array of objects that describe the metric data returned.

                          */ - metricName?: DistributionMetricName | string; + metricData?: MetricDatapoint[]; /** - *

                          An array of objects that describe the metric data returned.

                          + *

                          The name of the metric returned.

                          */ - metricData?: MetricDatapoint[]; + metricName?: ContainerServiceMetricName | string; } -export namespace GetDistributionMetricDataResult { - export const filterSensitiveLog = (obj: GetDistributionMetricDataResult): any => ({ +export namespace GetContainerServiceMetricDataResult { + export const filterSensitiveLog = (obj: GetContainerServiceMetricDataResult): any => ({ ...obj, }); } -export interface GetDistributionsRequest { - /** - *

                          The name of the distribution for which to return information.

                          - * - *

                          Use the GetDistributions action to get a list of distribution names that you - * can specify.

                          - * - *

                          When omitted, the response includes all of your distributions in the AWS Region where - * the request is made.

                          - */ - distributionName?: string; +export interface GetContainerServicePowersRequest {} + +export namespace GetContainerServicePowersRequest { + export const filterSensitiveLog = (obj: GetContainerServicePowersRequest): any => ({ + ...obj, + }); +} +export interface GetContainerServicePowersResult { /** - *

                          The token to advance to the next page of results from your request.

                          - * - *

                          To get a page token, perform an initial GetDistributions request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                          + *

                          An array of objects that describe the powers that can be specified for a container + * service.

                          */ - pageToken?: string; + powers?: ContainerServicePower[]; } -export namespace GetDistributionsRequest { - export const filterSensitiveLog = (obj: GetDistributionsRequest): any => ({ +export namespace GetContainerServicePowersResult { + export const filterSensitiveLog = (obj: GetContainerServicePowersResult): any => ({ ...obj, }); } -export interface GetDistributionsResult { - /** - *

                          An array of objects that describe your distributions.

                          - */ - distributions?: LightsailDistribution[]; - +export interface GetContainerServicesRequest { /** - *

                          The token to advance to the next page of results from your request.

                          + *

                          The name of the container service for which to return information.

                          * - *

                          A next page token is not returned if there are no more results to display.

                          - *

                          To get the next page of results, perform another GetDistributions request and - * specify the next page token using the pageToken parameter.

                          + *

                          When omitted, the response includes all of your container services in the AWS Region + * where the request is made.

                          */ - nextPageToken?: string; + serviceName?: string; } -export namespace GetDistributionsResult { - export const filterSensitiveLog = (obj: GetDistributionsResult): any => ({ +export namespace GetContainerServicesRequest { + export const filterSensitiveLog = (obj: GetContainerServicesRequest): any => ({ ...obj, }); } -export interface GetDomainRequest { +export interface GetDiskRequest { /** - *

                          The domain name for which your want to return information about.

                          + *

                          The name of the disk (e.g., my-disk).

                          */ - domainName: string | undefined; + diskName: string | undefined; } -export namespace GetDomainRequest { - export const filterSensitiveLog = (obj: GetDomainRequest): any => ({ +export namespace GetDiskRequest { + export const filterSensitiveLog = (obj: GetDiskRequest): any => ({ ...obj, }); } -export interface GetDomainResult { +export interface GetDiskResult { /** - *

                          An array of key-value pairs containing information about your get domain request.

                          + *

                          An object containing information about the disk.

                          */ - domain?: Domain; + disk?: Disk; } -export namespace GetDomainResult { - export const filterSensitiveLog = (obj: GetDomainResult): any => ({ +export namespace GetDiskResult { + export const filterSensitiveLog = (obj: GetDiskResult): any => ({ ...obj, }); } -export interface GetDomainsRequest { +export interface GetDisksRequest { /** *

                          The token to advance to the next page of results from your request.

                          - *

                          To get a page token, perform an initial GetDomains request. If your results - * are paginated, the response will return a next page token that you can specify as the page - * token in a subsequent request.

                          + *

                          To get a page token, perform an initial GetDisks request. If your results are + * paginated, the response will return a next page token that you can specify as the page token + * in a subsequent request.

                          */ pageToken?: string; } -export namespace GetDomainsRequest { - export const filterSensitiveLog = (obj: GetDomainsRequest): any => ({ +export namespace GetDisksRequest { + export const filterSensitiveLog = (obj: GetDisksRequest): any => ({ ...obj, }); } -export interface GetDomainsResult { +export interface GetDisksResult { /** - *

                          An array of key-value pairs containing information about each of the domain entries in the - * user's account.

                          + *

                          The token to advance to the next page of results from your request.

                          + *

                          A next page token is not returned if there are no more results to display.

                          + *

                          To get the next page of results, perform another GetDisks request and specify + * the next page token using the pageToken parameter.

                          */ - domains?: Domain[]; + nextPageToken?: string; /** - *

                          The token to advance to the next page of resutls from your request.

                          - *

                          A next page token is not returned if there are no more results to display.

                          - *

                          To get the next page of results, perform another GetDomains request and - * specify the next page token using the pageToken parameter.

                          + *

                          An array of objects containing information about all block storage disks.

                          */ - nextPageToken?: string; + disks?: Disk[]; } -export namespace GetDomainsResult { - export const filterSensitiveLog = (obj: GetDomainsResult): any => ({ +export namespace GetDisksResult { + export const filterSensitiveLog = (obj: GetDisksResult): any => ({ ...obj, }); } -export interface GetExportSnapshotRecordsRequest { +export interface GetDiskSnapshotRequest { /** - *

                          The token to advance to the next page of results from your request.

                          - *

                          To get a page token, perform an initial GetExportSnapshotRecords request. If - * your results are paginated, the response will return a next page token that you can specify as - * the page token in a subsequent request.

                          + *

                          The name of the disk snapshot (e.g., my-disk-snapshot).

                          */ - pageToken?: string; + diskSnapshotName: string | undefined; } -export namespace GetExportSnapshotRecordsRequest { - export const filterSensitiveLog = (obj: GetExportSnapshotRecordsRequest): any => ({ +export namespace GetDiskSnapshotRequest { + export const filterSensitiveLog = (obj: GetDiskSnapshotRequest): any => ({ ...obj, }); } -export interface GetExportSnapshotRecordsResult { - /** - *

                          The token to advance to the next page of resutls from your request.

                          - *

                          A next page token is not returned if there are no more results to display.

                          - *

                          To get the next page of results, perform another GetExportSnapshotRecords - * request and specify the next page token using the pageToken parameter.

                          - */ - nextPageToken?: string; - +export interface GetDiskSnapshotResult { /** - *

                          A list of objects describing the export snapshot records.

                          + *

                          An object containing information about the disk snapshot.

                          */ - exportSnapshotRecords?: ExportSnapshotRecord[]; + diskSnapshot?: DiskSnapshot; } -export namespace GetExportSnapshotRecordsResult { - export const filterSensitiveLog = (obj: GetExportSnapshotRecordsResult): any => ({ +export namespace GetDiskSnapshotResult { + export const filterSensitiveLog = (obj: GetDiskSnapshotResult): any => ({ ...obj, }); } -export interface GetInstanceRequest { +export interface GetDiskSnapshotsRequest { /** - *

                          The name of the instance.

                          + *

                          The token to advance to the next page of results from your request.

                          + *

                          To get a page token, perform an initial GetDiskSnapshots request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                          */ - instanceName: string | undefined; + pageToken?: string; } -export namespace GetInstanceRequest { - export const filterSensitiveLog = (obj: GetInstanceRequest): any => ({ +export namespace GetDiskSnapshotsRequest { + export const filterSensitiveLog = (obj: GetDiskSnapshotsRequest): any => ({ ...obj, }); } -/** - *

                          Describes the hardware for the instance.

                          - */ -export interface InstanceHardware { +export interface GetDiskSnapshotsResult { /** - *

                          The amount of RAM in GB on the instance (e.g., 1.0).

                          + *

                          The token to advance to the next page of results from your request.

                          + *

                          A next page token is not returned if there are no more results to display.

                          + *

                          To get the next page of results, perform another GetDiskSnapshots request and + * specify the next page token using the pageToken parameter.

                          */ - ramSizeInGb?: number; + nextPageToken?: string; /** - *

                          The number of vCPUs the instance has.

                          + *

                          An array of objects containing information about all block storage disk snapshots.

                          */ - cpuCount?: number; + diskSnapshots?: DiskSnapshot[]; +} - /** - *

                          The disks attached to the instance.

                          - */ - disks?: Disk[]; +export namespace GetDiskSnapshotsResult { + export const filterSensitiveLog = (obj: GetDiskSnapshotsResult): any => ({ + ...obj, + }); } -export namespace InstanceHardware { - export const filterSensitiveLog = (obj: InstanceHardware): any => ({ +export interface GetDistributionBundlesRequest {} + +export namespace GetDistributionBundlesRequest { + export const filterSensitiveLog = (obj: GetDistributionBundlesRequest): any => ({ ...obj, }); } -/** - *

                          Describes the monthly data transfer in and out of your virtual private server (or - * instance).

                          - */ -export interface MonthlyTransfer { +export interface GetDistributionBundlesResult { /** - *

                          The amount allocated per month (in GB).

                          + *

                          An object that describes a distribution bundle.

                          */ - gbPerMonthAllocated?: number; + bundles?: DistributionBundle[]; } -export namespace MonthlyTransfer { - export const filterSensitiveLog = (obj: MonthlyTransfer): any => ({ +export namespace GetDistributionBundlesResult { + export const filterSensitiveLog = (obj: GetDistributionBundlesResult): any => ({ ...obj, }); } -export enum PortAccessType { - Private = "Private", - Public = "Public", -} - -/** - *

                          Describes information about ports for an Amazon Lightsail instance.

                          - */ -export interface InstancePortInfo { +export interface GetDistributionLatestCacheResetRequest { /** - *

                          The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to - * an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                          - *

                          For more information about CIDR block notation, see Classless - * Inter-Domain Routing on Wikipedia.

                          + *

                          The name of the distribution for which to return the timestamp of the last cache + * reset.

                          + *

                          Use the GetDistributions action to get a list of distribution names that you + * can specify.

                          + *

                          When omitted, the response includes the latest cache reset timestamp of all your + * distributions.

                          */ - cidrs?: string[]; + distributionName?: string; +} - /** - *

                          The common name of the port information.

                          - */ - commonName?: string; +export namespace GetDistributionLatestCacheResetRequest { + export const filterSensitiveLog = (obj: GetDistributionLatestCacheResetRequest): any => ({ + ...obj, + }); +} +export interface GetDistributionLatestCacheResetResult { /** - *

                          The type of access (Public or Private).

                          + *

                          The status of the last cache reset.

                          */ - accessType?: PortAccessType | string; + status?: string; /** - *

                          An alias that defines access for a preconfigured range of IP addresses.

                          - *

                          The only alias currently supported is lightsail-connect, which allows IP - * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your - * instance.

                          + *

                          The timestamp of the last cache reset (e.g., 1479734909.17) in Unix time + * format.

                          */ - cidrListAliases?: string[]; + createTime?: Date; +} + +export namespace GetDistributionLatestCacheResetResult { + export const filterSensitiveLog = (obj: GetDistributionLatestCacheResetResult): any => ({ + ...obj, + }); +} +export interface GetDistributionMetricDataRequest { /** - *

                          The first port in a range of open ports on an instance.

                          - *

                          Allowed ports:

                          + *

                          The end of the time interval for which to get metric data.

                          + *

                          Constraints:

                          *
                            *
                          • - *

                            TCP and UDP - 0 to 65535 - *

                            + *

                            Specified in Coordinated Universal Time (UTC).

                            *
                          • *
                          • - *

                            ICMP - The ICMP type. For example, specify 8 as the fromPort - * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP - * Ping. For more information, see Control Messages on Wikipedia.

                            + *

                            Specified in the Unix time format.

                            + *

                            For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify + * 1538427600 as the end time.

                            *
                          • *
                          + *

                          You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                          */ - fromPort?: number; + endTime: Date | undefined; /** - *

                          The location from which access is allowed. For example, Anywhere (0.0.0.0/0), - * or Custom if a specific IP address or range of IP addresses is allowed.

                          + *

                          The name of the distribution for which to get metric data.

                          + *

                          Use the GetDistributions action to get a list of distribution names that you + * can specify.

                          */ - accessFrom?: string; + distributionName: string | undefined; /** - *

                          The last port in a range of open ports on an instance.

                          - *

                          Allowed ports:

                          + *

                          The statistic for the metric.

                          + *

                          The following statistics are available:

                          *
                            *
                          • - *

                            TCP and UDP - 0 to 65535 - *

                            + *

                            + * Minimum - The lowest value observed during the specified period. Use this + * value to determine low volumes of activity for your application.

                            *
                          • *
                          • - *

                            ICMP - The ICMP code. For example, specify 8 as the fromPort - * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP - * Ping. For more information, see Control Messages on Wikipedia.

                            + *

                            + * Maximum - The highest value observed during the specified period. Use + * this value to determine high volumes of activity for your application.

                            + *
                          • + *
                          • + *

                            + * Sum - All values submitted for the matching metric added together. You + * can use this statistic to determine the total volume of a metric.

                            + *
                          • + *
                          • + *

                            + * Average - The value of Sum / SampleCount during the specified period. By + * comparing this statistic with the Minimum and Maximum values, you can determine the full + * scope of a metric and how close the average use is to the Minimum and Maximum values. This + * comparison helps you to know when to increase or decrease your resources.

                            + *
                          • + *
                          • + *

                            + * SampleCount - The count, or number, of data points used for the + * statistical calculation.

                            *
                          • *
                          */ - toPort?: number; + statistics: (MetricStatistic | string)[] | undefined; /** - *

                          The access direction (inbound or outbound).

                          - * - *

                          Lightsail currently supports only inbound access direction.

                          - *
                          + *

                          The unit for the metric data request.

                          + *

                          Valid units depend on the metric data being requested. For the valid units with each + * available metric, see the metricName parameter.

                          */ - accessDirection?: AccessDirection | string; + unit: MetricUnit | string | undefined; /** - *

                          The IP protocol name.

                          - *

                          The name can be one of the following:

                          + *

                          The metric for which you want to return information.

                          + *

                          Valid distribution metric names are listed below, along with the most useful + * statistics to include in your request, and the published unit + * value.

                          *
                            *
                          • *

                            - * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and - * error-checked delivery of streamed data between applications running on hosts - * communicating by an IP network. If you have an application that doesn't require reliable - * data stream service, use UDP instead.

                            + * + * Requests + * - The total number of viewer + * requests received by your Lightsail distribution, for all HTTP methods, and for both + * HTTP and HTTPS requests.

                            + *

                            + * Statistics: The most useful statistic is Sum.

                            + *

                            + * Unit: The published unit is None.

                            *
                          • *
                          • *

                            - * all - All transport layer protocol types. For more general information, - * see Transport layer on - * Wikipedia.

                            + * + * BytesDownloaded + * - The number of bytes + * downloaded by viewers for GET, HEAD, and OPTIONS requests.

                            + *

                            + * Statistics: The most useful statistic is Sum.

                            + *

                            + * Unit: The published unit is None.

                            *
                          • *
                          • *

                            - * udp - With User Datagram Protocol (UDP), computer applications can send - * messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior - * communications are not required to set up transmission channels or data paths. - * Applications that don't require reliable data stream service can use UDP, which provides a - * connectionless datagram service that emphasizes reduced latency over reliability. If you - * do require reliable data stream service, use TCP instead.

                            + * + * BytesUploaded + * - The number of bytes + * uploaded to your origin by your Lightsail distribution, using POST and PUT + * requests.

                            + *

                            + * Statistics: The most useful statistic is Sum.

                            + *

                            + * Unit: The published unit is None.

                            *
                          • *
                          • *

                            - * icmp - Internet Control Message Protocol (ICMP) is used to send error - * messages and operational information indicating success or failure when communicating with - * an instance. For example, an error is indicated when an instance could not be reached. - * When you specify icmp as the protocol, you must specify the ICMP - * type using the fromPort parameter, and ICMP code using the - * toPort parameter.

                            + * + * TotalErrorRate + * - The percentage of all + * viewer requests for which the response's HTTP status code was 4xx or 5xx.

                            + *

                            + * Statistics: The most useful statistic is Average.

                            + *

                            + * Unit: The published unit is Percent.

                            *
                          • - *
                          - */ - protocol?: NetworkProtocol | string; -} - -export namespace InstancePortInfo { - export const filterSensitiveLog = (obj: InstancePortInfo): any => ({ - ...obj, - }); -} - -/** - *

                          Describes monthly data transfer rates and port information for an instance.

                          - */ -export interface InstanceNetworking { - /** - *

                          An array of key-value pairs containing information about the ports on the instance.

                          + *
                        • + *

                          + * + * 4xxErrorRate + * - The percentage of all + * viewer requests for which the response's HTTP status cod was 4xx. In these cases, the + * client or client viewer may have made an error. For example, a status code of 404 (Not + * Found) means that the client requested an object that could not be found.

                          + *

                          + * Statistics: The most useful statistic is Average.

                          + *

                          + * Unit: The published unit is Percent.

                          + *
                        • + *
                        • + *

                          + * + * 5xxErrorRate + * - The percentage of all + * viewer requests for which the response's HTTP status code was 5xx. In these cases, the + * origin server did not satisfy the requests. For example, a status code of 503 (Service + * Unavailable) means that the origin server is currently unavailable.

                          + *

                          + * Statistics: The most useful statistic is Average.

                          + *

                          + * Unit: The published unit is Percent.

                          + *
                        • + *
                        */ - ports?: InstancePortInfo[]; + metricName: DistributionMetricName | string | undefined; /** - *

                        The amount of data in GB allocated for monthly data transfers.

                        + *

                        The granularity, in seconds, for the metric data points that will be returned.

                        */ - monthlyTransfer?: MonthlyTransfer; + period: number | undefined; + + /** + *

                        The start of the time interval for which to get metric data.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Specified in Coordinated Universal Time (UTC).

                          + *
                        • + *
                        • + *

                          Specified in the Unix time format.

                          + *

                          For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify + * 1538424000 as the start time.

                          + *
                        • + *
                        + *

                        You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

                        + */ + startTime: Date | undefined; } -export namespace InstanceNetworking { - export const filterSensitiveLog = (obj: InstanceNetworking): any => ({ +export namespace GetDistributionMetricDataRequest { + export const filterSensitiveLog = (obj: GetDistributionMetricDataRequest): any => ({ ...obj, }); } -/** - *

                        Describes the virtual private server (or instance) status.

                        - */ -export interface InstanceState { +export interface GetDistributionMetricDataResult { /** - *

                        The state of the instance (e.g., running or pending).

                        + *

                        The name of the metric returned.

                        */ - name?: string; + metricName?: DistributionMetricName | string; /** - *

                        The status code for the instance.

                        + *

                        An array of objects that describe the metric data returned.

                        */ - code?: number; + metricData?: MetricDatapoint[]; } -export namespace InstanceState { - export const filterSensitiveLog = (obj: InstanceState): any => ({ +export namespace GetDistributionMetricDataResult { + export const filterSensitiveLog = (obj: GetDistributionMetricDataResult): any => ({ ...obj, }); } -/** - *

                        Describes an instance (a virtual private server).

                        - */ -export interface Instance { - /** - *

                        An array of objects representing the add-ons enabled on the instance.

                        - */ - addOns?: AddOn[]; - +export interface GetDistributionsRequest { /** - *

                        The support code. Include this code in your email to support when you have questions about - * an instance or another resource in Lightsail. This code enables our support team to look up - * your Lightsail information more easily.

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetDistributions request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                        */ - supportCode?: string; + pageToken?: string; /** - *

                        The IPv6 address of the instance.

                        + *

                        The name of the distribution for which to return information.

                        + *

                        Use the GetDistributions action to get a list of distribution names that you + * can specify.

                        + *

                        When omitted, the response includes all of your distributions in the AWS Region where + * the request is made.

                        */ - ipv6Address?: string; + distributionName?: string; +} - /** - *

                        The public IP address of the instance.

                        - */ - publicIpAddress?: string; +export namespace GetDistributionsRequest { + export const filterSensitiveLog = (obj: GetDistributionsRequest): any => ({ + ...obj, + }); +} +export interface GetDistributionsResult { /** - *

                        Information about the public ports and monthly data transfer rates for the - * instance.

                        + *

                        An array of objects that describe your distributions.

                        */ - networking?: InstanceNetworking; + distributions?: LightsailDistribution[]; /** - *

                        The private IP address of the instance.

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        A next page token is not returned if there are no more results to display.

                        + *

                        To get the next page of results, perform another GetDistributions request and + * specify the next page token using the pageToken parameter.

                        */ - privateIpAddress?: string; + nextPageToken?: string; +} - /** - *

                        A Boolean value indicating whether this instance has a static IP assigned to it.

                        - */ - isStaticIp?: boolean; +export namespace GetDistributionsResult { + export const filterSensitiveLog = (obj: GetDistributionsResult): any => ({ + ...obj, + }); +} +export interface GetDomainRequest { /** - *

                        The bundle for the instance (e.g., micro_1_0).

                        + *

                        The domain name for which your want to return information about.

                        */ - bundleId?: string; + domainName: string | undefined; +} - /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        - */ - tags?: Tag[]; +export namespace GetDomainRequest { + export const filterSensitiveLog = (obj: GetDomainRequest): any => ({ + ...obj, + }); +} +export interface GetDomainResult { /** - *

                        The user name for connecting to the instance (e.g., ec2-user).

                        + *

                        An array of key-value pairs containing information about your get domain request.

                        */ - username?: string; + domain?: Domain; +} - /** - *

                        The blueprint ID (e.g., os_amlinux_2016_03).

                        - */ - blueprintId?: string; +export namespace GetDomainResult { + export const filterSensitiveLog = (obj: GetDomainResult): any => ({ + ...obj, + }); +} +export interface GetDomainsRequest { /** - *

                        The name of the SSH key being used to connect to the instance (e.g., - * LightsailDefaultKeyPair).

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetDomains request. If your results + * are paginated, the response will return a next page token that you can specify as the page + * token in a subsequent request.

                        */ - sshKeyName?: string; + pageToken?: string; +} - /** - *

                        The timestamp when the instance was created (e.g., 1479734909.17) in Unix - * time format.

                        - */ - createdAt?: Date; +export namespace GetDomainsRequest { + export const filterSensitiveLog = (obj: GetDomainsRequest): any => ({ + ...obj, + }); +} +export interface GetDomainsResult { /** - *

                        The region name and Availability Zone where the instance is located.

                        + *

                        An array of key-value pairs containing information about each of the domain entries in the + * user's account.

                        */ - location?: ResourceLocation; + domains?: Domain[]; /** - *

                        The status code and the state (e.g., running) for the instance.

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        A next page token is not returned if there are no more results to display.

                        + *

                        To get the next page of results, perform another GetDomains request and + * specify the next page token using the pageToken parameter.

                        */ - state?: InstanceState; + nextPageToken?: string; +} - /** - *

                        The friendly name of the blueprint (e.g., Amazon Linux).

                        - */ - blueprintName?: string; +export namespace GetDomainsResult { + export const filterSensitiveLog = (obj: GetDomainsResult): any => ({ + ...obj, + }); +} +export interface GetExportSnapshotRecordsRequest { /** - *

                        The type of resource (usually Instance).

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetExportSnapshotRecords request. If + * your results are paginated, the response will return a next page token that you can specify as + * the page token in a subsequent request.

                        */ - resourceType?: ResourceType | string; + pageToken?: string; +} - /** - *

                        The size of the vCPU and the amount of RAM for the instance.

                        - */ - hardware?: InstanceHardware; +export namespace GetExportSnapshotRecordsRequest { + export const filterSensitiveLog = (obj: GetExportSnapshotRecordsRequest): any => ({ + ...obj, + }); +} +export interface GetExportSnapshotRecordsResult { /** - *

                        The Amazon Resource Name (ARN) of the instance (e.g., - * arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        A next page token is not returned if there are no more results to display.

                        + *

                        To get the next page of results, perform another GetExportSnapshotRecords + * request and specify the next page token using the pageToken parameter.

                        */ - arn?: string; + nextPageToken?: string; /** - *

                        The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

                        + *

                        A list of objects describing the export snapshot records.

                        */ - name?: string; + exportSnapshotRecords?: ExportSnapshotRecord[]; } -export namespace Instance { - export const filterSensitiveLog = (obj: Instance): any => ({ +export namespace GetExportSnapshotRecordsResult { + export const filterSensitiveLog = (obj: GetExportSnapshotRecordsResult): any => ({ ...obj, }); } -export interface GetInstanceResult { +export interface GetInstanceRequest { /** - *

                        An array of key-value pairs containing information about the specified instance.

                        + *

                        The name of the instance.

                        */ - instance?: Instance; + instanceName: string | undefined; } -export namespace GetInstanceResult { - export const filterSensitiveLog = (obj: GetInstanceResult): any => ({ +export namespace GetInstanceRequest { + export const filterSensitiveLog = (obj: GetInstanceRequest): any => ({ ...obj, }); } -export enum InstanceAccessProtocol { - rdp = "rdp", - ssh = "ssh", -} +/** + *

                        Describes the hardware for the instance.

                        + */ +export interface InstanceHardware { + /** + *

                        The amount of RAM in GB on the instance (e.g., 1.0).

                        + */ + ramSizeInGb?: number; -export interface GetInstanceAccessDetailsRequest { /** - *

                        The protocol to use to connect to your instance. Defaults to ssh.

                        + *

                        The disks attached to the instance.

                        */ - protocol?: InstanceAccessProtocol | string; + disks?: Disk[]; /** - *

                        The name of the instance to access.

                        + *

                        The number of vCPUs the instance has.

                        */ - instanceName: string | undefined; + cpuCount?: number; } -export namespace GetInstanceAccessDetailsRequest { - export const filterSensitiveLog = (obj: GetInstanceAccessDetailsRequest): any => ({ +export namespace InstanceHardware { + export const filterSensitiveLog = (obj: InstanceHardware): any => ({ ...obj, }); } /** - *

                        Describes the public SSH host keys or the RDP certificate.

                        + *

                        Describes the monthly data transfer in and out of your virtual private server (or + * instance).

                        */ -export interface HostKeyAttributes { +export interface MonthlyTransfer { /** - *

                        The SHA-256 fingerprint of the returned SSH host key or RDP certificate.

                        + *

                        The amount allocated per month (in GB).

                        + */ + gbPerMonthAllocated?: number; +} + +export namespace MonthlyTransfer { + export const filterSensitiveLog = (obj: MonthlyTransfer): any => ({ + ...obj, + }); +} + +export enum PortAccessType { + Private = "Private", + Public = "Public", +} + +/** + *

                        Describes information about ports for an Amazon Lightsail instance.

                        + */ +export interface InstancePortInfo { + /** + *

                        The access direction (inbound or outbound).

                        + * + *

                        Lightsail currently supports only inbound access direction.

                        + *
                        + */ + accessDirection?: AccessDirection | string; + + /** + *

                        The location from which access is allowed. For example, Anywhere (0.0.0.0/0), + * or Custom if a specific IP address or range of IP addresses is allowed.

                        + */ + accessFrom?: string; + + /** + *

                        The type of access (Public or Private).

                        + */ + accessType?: PortAccessType | string; + + /** + *

                        An alias that defines access for a preconfigured range of IP addresses.

                        + *

                        The only alias currently supported is lightsail-connect, which allows IP + * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your + * instance.

                        + */ + cidrListAliases?: string[]; + + /** + *

                        The first port in a range of open ports on an instance.

                        + *

                        Allowed ports:

                        *
                          *
                        • - *

                          Example of an SHA-256 SSH fingerprint:

                          - *

                          - * SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o + *

                          TCP and UDP - 0 to 65535 *

                          *
                        • *
                        • - *

                          Example of an SHA-256 RDP fingerprint:

                          - *

                          - * 03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68 - *

                          + *

                          ICMP - The ICMP type. For example, specify 8 as the fromPort + * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP + * Ping. For more information, see Control Messages on Wikipedia.

                          *
                        • *
                        */ - fingerprintSHA256?: string; + fromPort?: number; /** - *

                        The public SSH host key or the RDP certificate.

                        + *

                        The common name of the port information.

                        */ - publicKey?: string; + commonName?: string; /** - *

                        The returned RDP certificate is valid after this point in time.

                        - *

                        This value is listed only for RDP certificates.

                        + *

                        The last port in a range of open ports on an instance.

                        + *

                        Allowed ports:

                        + *
                          + *
                        • + *

                          TCP and UDP - 0 to 65535 + *

                          + *
                        • + *
                        • + *

                          ICMP - The ICMP code. For example, specify 8 as the fromPort + * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP + * Ping. For more information, see Control Messages on Wikipedia.

                          + *
                        • + *
                        */ - notValidBefore?: Date; + toPort?: number; /** - *

                        The SHA-1 fingerprint of the returned SSH host key or RDP certificate.

                        + *

                        The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to + * an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                        + *

                        For more information about CIDR block notation, see Classless + * Inter-Domain Routing on Wikipedia.

                        + */ + cidrs?: string[]; + + /** + *

                        The IP protocol name.

                        + *

                        The name can be one of the following:

                        *
                          *
                        • - *

                          Example of an SHA-1 SSH fingerprint:

                          *

                          - * SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0 - *

                          + * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and + * error-checked delivery of streamed data between applications running on hosts + * communicating by an IP network. If you have an application that doesn't require reliable + * data stream service, use UDP instead.

                          *
                        • *
                        • - *

                          Example of an SHA-1 RDP fingerprint:

                          *

                          - * af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45 - *

                          + * all - All transport layer protocol types. For more general information, + * see Transport layer on + * Wikipedia.

                          + *
                        • + *
                        • + *

                          + * udp - With User Datagram Protocol (UDP), computer applications can send + * messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior + * communications are not required to set up transmission channels or data paths. + * Applications that don't require reliable data stream service can use UDP, which provides a + * connectionless datagram service that emphasizes reduced latency over reliability. If you + * do require reliable data stream service, use TCP instead.

                          + *
                        • + *
                        • + *

                          + * icmp - Internet Control Message Protocol (ICMP) is used to send error + * messages and operational information indicating success or failure when communicating with + * an instance. For example, an error is indicated when an instance could not be reached. + * When you specify icmp as the protocol, you must specify the ICMP + * type using the fromPort parameter, and ICMP code using the + * toPort parameter.

                          *
                        • *
                        */ - fingerprintSHA1?: string; + protocol?: NetworkProtocol | string; +} - /** - *

                        The returned RDP certificate is not valid after this point in time.

                        - *

                        This value is listed only for RDP certificates.

                        - */ - notValidAfter?: Date; +export namespace InstancePortInfo { + export const filterSensitiveLog = (obj: InstancePortInfo): any => ({ + ...obj, + }); +} +/** + *

                        Describes monthly data transfer rates and port information for an instance.

                        + */ +export interface InstanceNetworking { /** - *

                        The time that the SSH host key or RDP certificate was recorded by Lightsail.

                        + *

                        An array of key-value pairs containing information about the ports on the instance.

                        */ - witnessedAt?: Date; + ports?: InstancePortInfo[]; /** - *

                        The SSH host key algorithm or the RDP certificate format.

                        - *

                        For SSH host keys, the algorithm may be ssh-rsa, - * ecdsa-sha2-nistp256, ssh-ed25519, etc. For RDP certificates, the - * algorithm is always x509-cert.

                        + *

                        The amount of data in GB allocated for monthly data transfers.

                        */ - algorithm?: string; + monthlyTransfer?: MonthlyTransfer; } -export namespace HostKeyAttributes { - export const filterSensitiveLog = (obj: HostKeyAttributes): any => ({ +export namespace InstanceNetworking { + export const filterSensitiveLog = (obj: InstanceNetworking): any => ({ ...obj, }); } /** - *

                        The password data for the Windows Server-based instance, including the ciphertext and the - * key pair name.

                        + *

                        Describes the virtual private server (or instance) status.

                        */ -export interface PasswordData { +export interface InstanceState { /** - *

                        The name of the key pair that you used when creating your instance. If no key pair name - * was specified when creating the instance, Lightsail uses the default key pair - * (LightsailDefaultKeyPair).

                        - *

                        If you are using a custom key pair, you need to use your own means of decrypting your - * password using the ciphertext. Lightsail creates the ciphertext by encrypting - * your password with the public key part of this key pair.

                        + *

                        The status code for the instance.

                        */ - keyPairName?: string; + code?: number; /** - *

                        The encrypted password. Ciphertext will be an empty string if access to your new instance - * is not ready yet. When you create an instance, it can take up to 15 minutes for the instance - * to be ready.

                        - * - *

                        If you use the default key pair (LightsailDefaultKeyPair), the decrypted - * password will be available in the password field.

                        - *

                        If you are using a custom key pair, you need to use your own means of decryption.

                        - *

                        If you change the Administrator password on the instance, Lightsail will continue to - * return the original ciphertext value. When accessing the instance using RDP, you need to - * manually enter the Administrator password after changing it from the default.

                        - *
                        + *

                        The state of the instance (e.g., running or pending).

                        */ - ciphertext?: string; + name?: string; } -export namespace PasswordData { - export const filterSensitiveLog = (obj: PasswordData): any => ({ +export namespace InstanceState { + export const filterSensitiveLog = (obj: InstanceState): any => ({ ...obj, }); } /** - *

                        The parameters for gaining temporary access to one of your Amazon Lightsail - * instances.

                        + *

                        Describes an instance (a virtual private server).

                        */ -export interface InstanceAccessDetails { +export interface Instance { /** - *

                        The name of this Amazon Lightsail instance.

                        + *

                        The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

                        */ - instanceName?: string; + name?: string; /** - *

                        For SSH access, the public key to use when accessing your instance For OpenSSH clients - * (e.g., command line SSH), you should save this value to tempkey-cert.pub.

                        + *

                        Information about the public ports and monthly data transfer rates for the + * instance.

                        */ - certKey?: string; + networking?: InstanceNetworking; /** - *

                        Describes the public SSH host keys or the RDP certificate.

                        + *

                        The timestamp when the instance was created (e.g., 1479734909.17) in Unix + * time format.

                        */ - hostKeys?: HostKeyAttributes[]; + createdAt?: Date; /** - *

                        The protocol for these Amazon Lightsail instance access details.

                        + *

                        The size of the vCPU and the amount of RAM for the instance.

                        */ - protocol?: InstanceAccessProtocol | string; + hardware?: InstanceHardware; /** - *

                        The public IP address of the Amazon Lightsail instance.

                        + *

                        The Amazon Resource Name (ARN) of the instance (e.g., + * arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

                        */ - ipAddress?: string; + arn?: string; /** - *

                        For SSH access, the date on which the temporary keys expire.

                        + *

                        The user name for connecting to the instance (e.g., ec2-user).

                        */ - expiresAt?: Date; + username?: string; /** - *

                        The user name to use when logging in to the Amazon Lightsail instance.

                        + *

                        The support code. Include this code in your email to support when you have questions about + * an instance or another resource in Lightsail. This code enables our support team to look up + * your Lightsail information more easily.

                        */ - username?: string; + supportCode?: string; /** - *

                        For RDP access, the password for your Amazon Lightsail instance. Password will be an empty - * string if the password for your new instance is not ready yet. When you create an instance, it - * can take up to 15 minutes for the instance to be ready.

                        - * - *

                        If you create an instance using any key pair other than the default - * (LightsailDefaultKeyPair), password will always be an empty - * string.

                        - *

                        If you change the Administrator password on the instance, Lightsail will continue to - * return the original password value. When accessing the instance using RDP, you need to - * manually enter the Administrator password after changing it from the default.

                        - *
                        - */ - password?: string; - - /** - *

                        For a Windows Server-based instance, an object with the data you can use to retrieve your - * password. This is only needed if password is empty and the instance is not new - * (and therefore the password is not ready yet). When you create an instance, it can take up to - * 15 minutes for the instance to be ready.

                        - */ - passwordData?: PasswordData; - - /** - *

                        For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), - * you should save this value to tempkey).

                        - */ - privateKey?: string; -} - -export namespace InstanceAccessDetails { - export const filterSensitiveLog = (obj: InstanceAccessDetails): any => ({ - ...obj, - }); -} - -export interface GetInstanceAccessDetailsResult { - /** - *

                        An array of key-value pairs containing information about a get instance access - * request.

                        - */ - accessDetails?: InstanceAccessDetails; -} - -export namespace GetInstanceAccessDetailsResult { - export const filterSensitiveLog = (obj: GetInstanceAccessDetailsResult): any => ({ - ...obj, - }); -} - -export enum InstanceMetricName { - BurstCapacityPercentage = "BurstCapacityPercentage", - BurstCapacityTime = "BurstCapacityTime", - CPUUtilization = "CPUUtilization", - NetworkIn = "NetworkIn", - NetworkOut = "NetworkOut", - StatusCheckFailed = "StatusCheckFailed", - StatusCheckFailed_Instance = "StatusCheckFailed_Instance", - StatusCheckFailed_System = "StatusCheckFailed_System", -} - -export interface GetInstanceMetricDataRequest { - /** - *

                        The end time of the time period.

                        - */ - endTime: Date | undefined; - - /** - *

                        The metric for which you want to return information.

                        - *

                        Valid instance metric names are listed below, along with the most useful - * statistics to include in your request, and the published unit - * value.

                        - *
                          - *
                        • - *

                          - * - * BurstCapacityPercentage - * - The percentage - * of CPU performance available for your instance to burst above its baseline. Your instance - * continuously accrues and consumes burst capacity. Burst capacity stops accruing when your - * instance's BurstCapacityPercentage reaches 100%. For more information, see - * Viewing instance burst capacity in Amazon Lightsail.

                          - *

                          - * Statistics: The most useful statistics are Maximum and - * Average.

                          - *

                          - * Unit: The published unit is Percent.

                          - *
                        • - *
                        • - *

                          - * - * BurstCapacityTime - * - The available amount - * of time for your instance to burst at 100% CPU utilization. Your instance continuously - * accrues and consumes burst capacity. Burst capacity time stops accruing when your - * instance's BurstCapacityPercentage metric reaches 100%.

                          - *

                          Burst capacity time is consumed at the full rate only when your instance operates at - * 100% CPU utilization. For example, if your instance operates at 50% CPU utilization in the - * burstable zone for a 5-minute period, then it consumes CPU burst capacity minutes at a 50% - * rate in that period. Your instance consumed 2 minutes and 30 seconds of CPU burst capacity - * minutes in the 5-minute period. For more information, see Viewing instance burst capacity in Amazon Lightsail.

                          - *

                          - * Statistics: The most useful statistics are Maximum and - * Average.

                          - *

                          - * Unit: The published unit is Seconds.

                          - *
                        • - *
                        • - *

                          - * - * CPUUtilization - * - The percentage of - * allocated compute units that are currently in use on the instance. This metric identifies - * the processing power to run the applications on the instance. Tools in your operating - * system can show a lower percentage than Lightsail when the instance is not allocated a - * full processor core.

                          - *

                          - * Statistics: The most useful statistics are Maximum and - * Average.

                          - *

                          - * Unit: The published unit is Percent.

                          - *
                        • - *
                        • - *

                          - * - * NetworkIn - * - The number of bytes received - * on all network interfaces by the instance. This metric identifies the volume of incoming - * network traffic to the instance. The number reported is the number of bytes received - * during the period. Because this metric is reported in 5-minute intervals, divide the - * reported number by 300 to find Bytes/second.

                          - *

                          - * Statistics: The most useful statistic is Sum.

                          - *

                          - * Unit: The published unit is Bytes.

                          - *
                        • - *
                        • - *

                          - * - * NetworkOut - * - The number of bytes sent - * out on all network interfaces by the instance. This metric identifies the volume of - * outgoing network traffic from the instance. The number reported is the number of bytes - * sent during the period. Because this metric is reported in 5-minute intervals, divide the - * reported number by 300 to find Bytes/second.

                          - *

                          - * Statistics: The most useful statistic is Sum.

                          - *

                          - * Unit: The published unit is Bytes.

                          - *
                        • - *
                        • - *

                          - * - * StatusCheckFailed - * - Reports whether the - * instance passed or failed both the instance status check and the system status check. This - * metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute - * (60 seconds) granularity.

                          - *

                          - * Statistics: The most useful statistic is Sum.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * StatusCheckFailed_Instance - * - Reports - * whether the instance passed or failed the instance status check. This metric can be either - * 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) - * granularity.

                          - *

                          - * Statistics: The most useful statistic is Sum.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * StatusCheckFailed_System - * - Reports - * whether the instance passed or failed the system status check. This metric can be either 0 - * (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) - * granularity.

                          - *

                          - * Statistics: The most useful statistic is Sum.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        - */ - metricName: InstanceMetricName | string | undefined; - - /** - *

                        The unit for the metric data request. Valid units depend on the metric data being - * requested. For the valid units to specify with each available metric, see the - * metricName parameter.

                        - */ - unit: MetricUnit | string | undefined; - - /** - *

                        The granularity, in seconds, of the returned data points.

                        - *

                        The StatusCheckFailed, StatusCheckFailed_Instance, and - * StatusCheckFailed_System instance metric data is available in 1-minute (60 - * seconds) granularity. All other instance metric data is available in 5-minute (300 seconds) - * granularity.

                        - */ - period: number | undefined; - - /** - *

                        The start time of the time period.

                        - */ - startTime: Date | undefined; - - /** - *

                        The name of the instance for which you want to get metrics data.

                        - */ - instanceName: string | undefined; - - /** - *

                        The statistic for the metric.

                        - *

                        The following statistics are available:

                        - *
                          - *
                        • - *

                          - * Minimum - The lowest value observed during the specified period. Use this - * value to determine low volumes of activity for your application.

                          - *
                        • - *
                        • - *

                          - * Maximum - The highest value observed during the specified period. Use - * this value to determine high volumes of activity for your application.

                          - *
                        • - *
                        • - *

                          - * Sum - All values submitted for the matching metric added together. You - * can use this statistic to determine the total volume of a metric.

                          - *
                        • - *
                        • - *

                          - * Average - The value of Sum / SampleCount during the specified period. By - * comparing this statistic with the Minimum and Maximum values, you can determine the full - * scope of a metric and how close the average use is to the Minimum and Maximum values. This - * comparison helps you to know when to increase or decrease your resources.

                          - *
                        • - *
                        • - *

                          - * SampleCount - The count, or number, of data points used for the - * statistical calculation.

                          - *
                        • - *
                        - */ - statistics: (MetricStatistic | string)[] | undefined; -} - -export namespace GetInstanceMetricDataRequest { - export const filterSensitiveLog = (obj: GetInstanceMetricDataRequest): any => ({ - ...obj, - }); -} - -export interface GetInstanceMetricDataResult { - /** - *

                        The name of the metric returned.

                        - */ - metricName?: InstanceMetricName | string; - - /** - *

                        An array of objects that describe the metric data returned.

                        - */ - metricData?: MetricDatapoint[]; -} - -export namespace GetInstanceMetricDataResult { - export const filterSensitiveLog = (obj: GetInstanceMetricDataResult): any => ({ - ...obj, - }); -} - -export interface GetInstancePortStatesRequest { - /** - *

                        The name of the instance for which to return firewall port states.

                        - */ - instanceName: string | undefined; -} - -export namespace GetInstancePortStatesRequest { - export const filterSensitiveLog = (obj: GetInstancePortStatesRequest): any => ({ - ...obj, - }); -} - -export enum PortState { - Closed = "closed", - Open = "open", -} - -/** - *

                        Describes open ports on an instance, the IP addresses allowed to connect to the instance - * through the ports, and the protocol.

                        - */ -export interface InstancePortState { - /** - *

                        The last port in a range of open ports on an instance.

                        - *

                        Allowed ports:

                        - *
                          - *
                        • - *

                          TCP and UDP - 0 to 65535 - *

                          - *
                        • - *
                        • - *

                          ICMP - The ICMP code. For example, specify 8 as the fromPort - * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP - * Ping. For more information, see Control Messages on Wikipedia.

                          - *
                        • - *
                        - */ - toPort?: number; - - /** - *

                        Specifies whether the instance port is open or closed.

                        - * - *

                        The port state for Lightsail instances is always open.

                        - *
                        - */ - state?: PortState | string; - - /** - *

                        The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to - * an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                        - *

                        For more information about CIDR block notation, see Classless - * Inter-Domain Routing on Wikipedia.

                        - */ - cidrs?: string[]; - - /** - *

                        An alias that defines access for a preconfigured range of IP addresses.

                        - *

                        The only alias currently supported is lightsail-connect, which allows IP - * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your - * instance.

                        - */ - cidrListAliases?: string[]; - - /** - *

                        The IP protocol name.

                        - *

                        The name can be one of the following:

                        - *
                          - *
                        • - *

                          - * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and - * error-checked delivery of streamed data between applications running on hosts - * communicating by an IP network. If you have an application that doesn't require reliable - * data stream service, use UDP instead.

                          - *
                        • - *
                        • - *

                          - * all - All transport layer protocol types. For more general information, - * see Transport layer on - * Wikipedia.

                          - *
                        • - *
                        • - *

                          - * udp - With User Datagram Protocol (UDP), computer applications can send - * messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior - * communications are not required to set up transmission channels or data paths. - * Applications that don't require reliable data stream service can use UDP, which provides a - * connectionless datagram service that emphasizes reduced latency over reliability. If you - * do require reliable data stream service, use TCP instead.

                          - *
                        • - *
                        • - *

                          - * icmp - Internet Control Message Protocol (ICMP) is used to send error - * messages and operational information indicating success or failure when communicating with - * an instance. For example, an error is indicated when an instance could not be reached. - * When you specify icmp as the protocol, you must specify the ICMP - * type using the fromPort parameter, and ICMP code using the - * toPort parameter.

                          - *
                        • - *
                        - */ - protocol?: NetworkProtocol | string; - - /** - *

                        The first port in a range of open ports on an instance.

                        - *

                        Allowed ports:

                        - *
                          - *
                        • - *

                          TCP and UDP - 0 to 65535 - *

                          - *
                        • - *
                        • - *

                          ICMP - The ICMP type. For example, specify 8 as the fromPort - * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP - * Ping. For more information, see Control Messages on Wikipedia.

                          - *
                        • - *
                        - */ - fromPort?: number; -} - -export namespace InstancePortState { - export const filterSensitiveLog = (obj: InstancePortState): any => ({ - ...obj, - }); -} - -export interface GetInstancePortStatesResult { - /** - *

                        An array of objects that describe the firewall port states for the specified - * instance.

                        - */ - portStates?: InstancePortState[]; -} - -export namespace GetInstancePortStatesResult { - export const filterSensitiveLog = (obj: GetInstancePortStatesResult): any => ({ - ...obj, - }); -} - -export interface GetInstancesRequest { - /** - *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetInstances request. If your results - * are paginated, the response will return a next page token that you can specify as the page - * token in a subsequent request.

                        - */ - pageToken?: string; -} - -export namespace GetInstancesRequest { - export const filterSensitiveLog = (obj: GetInstancesRequest): any => ({ - ...obj, - }); -} - -export interface GetInstancesResult { - /** - *

                        The token to advance to the next page of resutls from your request.

                        - *

                        A next page token is not returned if there are no more results to display.

                        - *

                        To get the next page of results, perform another GetInstances request and - * specify the next page token using the pageToken parameter.

                        - */ - nextPageToken?: string; - - /** - *

                        An array of key-value pairs containing information about your instances.

                        - */ - instances?: Instance[]; -} - -export namespace GetInstancesResult { - export const filterSensitiveLog = (obj: GetInstancesResult): any => ({ - ...obj, - }); -} - -export interface GetInstanceSnapshotRequest { - /** - *

                        The name of the snapshot for which you are requesting information.

                        - */ - instanceSnapshotName: string | undefined; -} - -export namespace GetInstanceSnapshotRequest { - export const filterSensitiveLog = (obj: GetInstanceSnapshotRequest): any => ({ - ...obj, - }); -} - -export enum InstanceSnapshotState { - Available = "available", - Error = "error", - Pending = "pending", -} - -/** - *

                        Describes an instance snapshot.

                        - */ -export interface InstanceSnapshot { - /** - *

                        The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). A - * blueprint is a virtual private server (or instance) image used to create - * instances quickly.

                        - */ - fromBlueprintId?: string; - - /** - *

                        The instance from which the snapshot was created.

                        - */ - fromInstanceName?: string; - - /** - *

                        The timestamp when the snapshot was created (e.g., 1479907467.024).

                        - */ - createdAt?: Date; - - /** - *

                        The bundle ID from which you created the snapshot (e.g., micro_1_0).

                        - */ - fromBundleId?: string; - - /** - *

                        An array of disk objects containing information about all block storage disks.

                        - */ - fromAttachedDisks?: Disk[]; - - /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        - */ - tags?: Tag[]; - - /** - *

                        The region name and Availability Zone where you created the snapshot.

                        - */ - location?: ResourceLocation; - - /** - *

                        The state the snapshot is in.

                        - */ - state?: InstanceSnapshotState | string; - - /** - *

                        The size in GB of the SSD.

                        - */ - sizeInGb?: number; - - /** - *

                        The support code. Include this code in your email to support when you have questions about - * an instance or another resource in Lightsail. This code enables our support team to look up - * your Lightsail information more easily.

                        - */ - supportCode?: string; - - /** - *

                        The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., - * arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).

                        - */ - fromInstanceArn?: string; - - /** - *

                        A Boolean value indicating whether the snapshot was created from an automatic - * snapshot.

                        - */ - isFromAutoSnapshot?: boolean; - - /** - *

                        The progress of the snapshot.

                        - */ - progress?: string; - - /** - *

                        The Amazon Resource Name (ARN) of the snapshot (e.g., - * arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

                        - */ - arn?: string; - - /** - *

                        The name of the snapshot.

                        - */ - name?: string; - - /** - *

                        The type of resource (usually InstanceSnapshot).

                        - */ - resourceType?: ResourceType | string; -} - -export namespace InstanceSnapshot { - export const filterSensitiveLog = (obj: InstanceSnapshot): any => ({ - ...obj, - }); -} - -export interface GetInstanceSnapshotResult { - /** - *

                        An array of key-value pairs containing information about the results of your get instance - * snapshot request.

                        - */ - instanceSnapshot?: InstanceSnapshot; -} - -export namespace GetInstanceSnapshotResult { - export const filterSensitiveLog = (obj: GetInstanceSnapshotResult): any => ({ - ...obj, - }); -} - -export interface GetInstanceSnapshotsRequest { - /** - *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetInstanceSnapshots request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                        - */ - pageToken?: string; -} - -export namespace GetInstanceSnapshotsRequest { - export const filterSensitiveLog = (obj: GetInstanceSnapshotsRequest): any => ({ - ...obj, - }); -} - -export interface GetInstanceSnapshotsResult { - /** - *

                        The token to advance to the next page of resutls from your request.

                        - *

                        A next page token is not returned if there are no more results to display.

                        - *

                        To get the next page of results, perform another GetInstanceSnapshots request - * and specify the next page token using the pageToken parameter.

                        - */ - nextPageToken?: string; - - /** - *

                        An array of key-value pairs containing information about the results of your get instance - * snapshots request.

                        - */ - instanceSnapshots?: InstanceSnapshot[]; -} - -export namespace GetInstanceSnapshotsResult { - export const filterSensitiveLog = (obj: GetInstanceSnapshotsResult): any => ({ - ...obj, - }); -} - -export interface GetInstanceStateRequest { - /** - *

                        The name of the instance to get state information about.

                        - */ - instanceName: string | undefined; -} - -export namespace GetInstanceStateRequest { - export const filterSensitiveLog = (obj: GetInstanceStateRequest): any => ({ - ...obj, - }); -} - -export interface GetInstanceStateResult { - /** - *

                        The state of the instance.

                        - */ - state?: InstanceState; -} - -export namespace GetInstanceStateResult { - export const filterSensitiveLog = (obj: GetInstanceStateResult): any => ({ - ...obj, - }); -} - -export interface GetKeyPairRequest { - /** - *

                        The name of the key pair for which you are requesting information.

                        - */ - keyPairName: string | undefined; -} - -export namespace GetKeyPairRequest { - export const filterSensitiveLog = (obj: GetKeyPairRequest): any => ({ - ...obj, - }); -} - -export interface GetKeyPairResult { - /** - *

                        An array of key-value pairs containing information about the key pair.

                        - */ - keyPair?: KeyPair; -} - -export namespace GetKeyPairResult { - export const filterSensitiveLog = (obj: GetKeyPairResult): any => ({ - ...obj, - }); -} - -export interface GetKeyPairsRequest { - /** - *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetKeyPairs request. If your results - * are paginated, the response will return a next page token that you can specify as the page - * token in a subsequent request.

                        - */ - pageToken?: string; -} - -export namespace GetKeyPairsRequest { - export const filterSensitiveLog = (obj: GetKeyPairsRequest): any => ({ - ...obj, - }); -} - -export interface GetKeyPairsResult { - /** - *

                        An array of key-value pairs containing information about the key pairs.

                        - */ - keyPairs?: KeyPair[]; - - /** - *

                        The token to advance to the next page of resutls from your request.

                        - *

                        A next page token is not returned if there are no more results to display.

                        - *

                        To get the next page of results, perform another GetKeyPairs request and - * specify the next page token using the pageToken parameter.

                        - */ - nextPageToken?: string; -} - -export namespace GetKeyPairsResult { - export const filterSensitiveLog = (obj: GetKeyPairsResult): any => ({ - ...obj, - }); -} - -export interface GetLoadBalancerRequest { - /** - *

                        The name of the load balancer.

                        - */ - loadBalancerName: string | undefined; -} - -export namespace GetLoadBalancerRequest { - export const filterSensitiveLog = (obj: GetLoadBalancerRequest): any => ({ - ...obj, - }); -} - -export enum LoadBalancerAttributeName { - HealthCheckPath = "HealthCheckPath", - SessionStickinessEnabled = "SessionStickinessEnabled", - SessionStickiness_LB_CookieDurationSeconds = "SessionStickiness_LB_CookieDurationSeconds", -} - -export enum InstanceHealthState { - Draining = "draining", - Healthy = "healthy", - Initial = "initial", - Unavailable = "unavailable", - Unhealthy = "unhealthy", - Unused = "unused", -} - -export enum InstanceHealthReason { - InstanceDeregistrationInProgress = "Instance.DeregistrationInProgress", - InstanceFailedHealthChecks = "Instance.FailedHealthChecks", - InstanceInvalidState = "Instance.InvalidState", - InstanceIpUnusable = "Instance.IpUnusable", - InstanceNotInUse = "Instance.NotInUse", - InstanceNotRegistered = "Instance.NotRegistered", - InstanceResponseCodeMismatch = "Instance.ResponseCodeMismatch", - InstanceTimeout = "Instance.Timeout", - LbInitialHealthChecking = "Lb.InitialHealthChecking", - LbInternalError = "Lb.InternalError", - LbRegistrationInProgress = "Lb.RegistrationInProgress", -} - -/** - *

                        Describes information about the health of the instance.

                        - */ -export interface InstanceHealthSummary { - /** - *

                        The name of the Lightsail instance for which you are requesting health check - * data.

                        - */ - instanceName?: string; - - /** - *

                        Describes the overall instance health. Valid values are below.

                        - */ - instanceHealth?: InstanceHealthState | string; - - /** - *

                        More information about the instance health. If the instanceHealth is - * healthy, then an instanceHealthReason value is not - * provided.

                        - *

                        If - * instanceHealth - * is initial, - * the - * instanceHealthReason - * value can be one of the - * following:

                        - *
                          - *
                        • - *

                          - * - * Lb.RegistrationInProgress - * - The target - * instance is in the process of being registered with the load balancer.

                          - *
                        • - *
                        • - *

                          - * - * Lb.InitialHealthChecking - * - The - * Lightsail load balancer is still sending the target instance the minimum number of - * health checks required to determine its health status.

                          - *
                        • - *
                        - *

                        If - * instanceHealth - * is unhealthy, - * the - * instanceHealthReason - * value can be one of the - * following:

                        - *
                          - *
                        • - *

                          - * - * Instance.ResponseCodeMismatch - * - The - * health checks did not return an expected HTTP code.

                          - *
                        • - *
                        • - *

                          - * - * Instance.Timeout - * - The health check - * requests timed out.

                          - *
                        • - *
                        • - *

                          - * - * Instance.FailedHealthChecks - * - The health - * checks failed because the connection to the target instance timed out, the target instance - * response was malformed, or the target instance failed the health check for an unknown - * reason.

                          - *
                        • - *
                        • - *

                          - * - * Lb.InternalError - * - The health checks - * failed due to an internal error.

                          - *
                        • - *
                        - *

                        If - * instanceHealth - * is unused, - * the - * instanceHealthReason - * value can be one of the - * following:

                        - *
                          - *
                        • - *

                          - * - * Instance.NotRegistered - * - The target - * instance is not registered with the target group.

                          - *
                        • - *
                        • - *

                          - * - * Instance.NotInUse - * - The target group is - * not used by any load balancer, or the target instance is in an Availability Zone that is - * not enabled for its load balancer.

                          - *
                        • - *
                        • - *

                          - * - * Instance.IpUnusable - * - The target IP - * address is reserved for use by a Lightsail load balancer.

                          - *
                        • - *
                        • - *

                          - * - * Instance.InvalidState - * - The target is in - * the stopped or terminated state.

                          - *
                        • - *
                        - *

                        If - * instanceHealth - * is draining, - * the - * instanceHealthReason - * value can be one of the - * following:

                        - *
                          - *
                        • - *

                          - * - * Instance.DeregistrationInProgress - * - The - * target instance is in the process of being deregistered and the deregistration delay - * period has not expired.

                          - *
                        • - *
                        - */ - instanceHealthReason?: InstanceHealthReason | string; -} - -export namespace InstanceHealthSummary { - export const filterSensitiveLog = (obj: InstanceHealthSummary): any => ({ - ...obj, - }); -} - -export enum LoadBalancerProtocol { - HTTP = "HTTP", - HTTP_HTTPS = "HTTP_HTTPS", -} - -export enum LoadBalancerState { - Active = "active", - ActiveImpaired = "active_impaired", - Failed = "failed", - Provisioning = "provisioning", - Unknown = "unknown", -} - -/** - *

                        Provides a summary of SSL/TLS certificate metadata.

                        - */ -export interface LoadBalancerTlsCertificateSummary { - /** - *

                        When true, the SSL/TLS certificate is attached to the Lightsail load - * balancer.

                        - */ - isAttached?: boolean; - - /** - *

                        The name of the SSL/TLS certificate.

                        - */ - name?: string; -} - -export namespace LoadBalancerTlsCertificateSummary { - export const filterSensitiveLog = (obj: LoadBalancerTlsCertificateSummary): any => ({ - ...obj, - }); -} - -/** - *

                        Describes the Lightsail load balancer.

                        - */ -export interface LoadBalancer { - /** - *

                        An array of InstanceHealthSummary objects describing the health of the load - * balancer.

                        - */ - instanceHealthSummary?: InstanceHealthSummary[]; - - /** - *

                        The DNS name of your Lightsail load balancer.

                        - */ - dnsName?: string; - - /** - *

                        An array of LoadBalancerTlsCertificateSummary objects that provide additional information - * about the SSL/TLS certificates. For example, if true, the certificate is attached - * to the load balancer.

                        - */ - tlsCertificateSummaries?: LoadBalancerTlsCertificateSummary[]; - - /** - *

                        The name of the load balancer (e.g., my-load-balancer).

                        - */ - name?: string; - - /** - *

                        The Amazon Resource Name (ARN) of the load balancer.

                        - */ - arn?: string; - - /** - *

                        The resource type (e.g., LoadBalancer.

                        + *

                        The type of resource (usually Instance).

                        */ resourceType?: ResourceType | string; /** - *

                        The protocol you have enabled for your load balancer. Valid values are below.

                        - *

                        You can't just have HTTP_HTTPS, but you can have just - * HTTP.

                        - */ - protocol?: LoadBalancerProtocol | string; - - /** - *

                        The date when your load balancer was created.

                        - */ - createdAt?: Date; - - /** - *

                        The AWS Region where your load balancer was created (e.g., us-east-2a). - * Lightsail automatically creates your load balancer across Availability Zones.

                        - */ - location?: ResourceLocation; - - /** - *

                        A string to string map of the configuration options for your load balancer. Valid values - * are listed below.

                        - */ - configurationOptions?: { [key: string]: string }; - - /** - *

                        The status of your load balancer. Valid values are below.

                        - */ - state?: LoadBalancerState | string; - - /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        - */ - tags?: Tag[]; - - /** - *

                        The path you specified to perform your health checks. If no path is specified, the load - * balancer tries to make a request to the default (root) page.

                        - */ - healthCheckPath?: string; - - /** - *

                        The support code. Include this code in your email to support when you have questions about - * your Lightsail load balancer. This code enables our support team to look up your Lightsail - * information more easily.

                        - */ - supportCode?: string; - - /** - *

                        The port where the load balancer will direct traffic to your Lightsail instances. For - * HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.

                        - */ - instancePort?: number; - - /** - *

                        An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, - * use port 443.

                        - */ - publicPorts?: number[]; -} - -export namespace LoadBalancer { - export const filterSensitiveLog = (obj: LoadBalancer): any => ({ - ...obj, - }); -} + *

                        The status code and the state (e.g., running) for the instance.

                        + */ + state?: InstanceState; -export interface GetLoadBalancerResult { /** - *

                        An object containing information about your load balancer.

                        + *

                        The bundle for the instance (e.g., micro_1_0).

                        */ - loadBalancer?: LoadBalancer; -} - -export namespace GetLoadBalancerResult { - export const filterSensitiveLog = (obj: GetLoadBalancerResult): any => ({ - ...obj, - }); -} - -export enum LoadBalancerMetricName { - ClientTLSNegotiationErrorCount = "ClientTLSNegotiationErrorCount", - HTTPCode_Instance_2XX_Count = "HTTPCode_Instance_2XX_Count", - HTTPCode_Instance_3XX_Count = "HTTPCode_Instance_3XX_Count", - HTTPCode_Instance_4XX_Count = "HTTPCode_Instance_4XX_Count", - HTTPCode_Instance_5XX_Count = "HTTPCode_Instance_5XX_Count", - HTTPCode_LB_4XX_Count = "HTTPCode_LB_4XX_Count", - HTTPCode_LB_5XX_Count = "HTTPCode_LB_5XX_Count", - HealthyHostCount = "HealthyHostCount", - InstanceResponseTime = "InstanceResponseTime", - RejectedConnectionCount = "RejectedConnectionCount", - RequestCount = "RequestCount", - UnhealthyHostCount = "UnhealthyHostCount", -} + bundleId?: string; -export interface GetLoadBalancerMetricDataRequest { /** - *

                        The start time of the period.

                        + *

                        The friendly name of the blueprint (e.g., Amazon Linux).

                        */ - startTime: Date | undefined; + blueprintName?: string; /** - *

                        The end time of the period.

                        + *

                        The IPv6 address of the instance.

                        */ - endTime: Date | undefined; + ipv6Address?: string; /** - *

                        The statistic for the metric.

                        - *

                        The following statistics are available:

                        - *
                          - *
                        • - *

                          - * Minimum - The lowest value observed during the specified period. Use this - * value to determine low volumes of activity for your application.

                          - *
                        • - *
                        • - *

                          - * Maximum - The highest value observed during the specified period. Use - * this value to determine high volumes of activity for your application.

                          - *
                        • - *
                        • - *

                          - * Sum - All values submitted for the matching metric added together. You - * can use this statistic to determine the total volume of a metric.

                          - *
                        • - *
                        • - *

                          - * Average - The value of Sum / SampleCount during the specified period. By - * comparing this statistic with the Minimum and Maximum values, you can determine the full - * scope of a metric and how close the average use is to the Minimum and Maximum values. This - * comparison helps you to know when to increase or decrease your resources.

                          - *
                        • - *
                        • - *

                          - * SampleCount - The count, or number, of data points used for the - * statistical calculation.

                          - *
                        • - *
                        + *

                        The region name and Availability Zone where the instance is located.

                        */ - statistics: (MetricStatistic | string)[] | undefined; + location?: ResourceLocation; /** - *

                        The unit for the metric data request. Valid units depend on the metric data being - * requested. For the valid units with each available metric, see the metricName - * parameter.

                        + *

                        The public IP address of the instance.

                        */ - unit: MetricUnit | string | undefined; + publicIpAddress?: string; /** - *

                        The granularity, in seconds, of the returned data points.

                        + *

                        The name of the SSH key being used to connect to the instance (e.g., + * LightsailDefaultKeyPair).

                        */ - period: number | undefined; + sshKeyName?: string; /** - *

                        The metric for which you want to return information.

                        - *

                        Valid load balancer metric names are listed below, along with the most useful - * statistics to include in your request, and the published unit - * value.

                        - *
                          - *
                        • - *

                          - * - * ClientTLSNegotiationErrorCount - * - The - * number of TLS connections initiated by the client that did not establish a session with - * the load balancer due to a TLS error generated by the load balancer. Possible causes - * include a mismatch of ciphers or protocols.

                          - *

                          - * Statistics: The most useful statistic is Sum.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * HealthyHostCount - * - The number of target - * instances that are considered healthy.

                          - *

                          - * Statistics: The most useful statistic are Average, - * Minimum, and Maximum.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * HTTPCode_Instance_2XX_Count - * - The number - * of HTTP 2XX response codes generated by the target instances. This does not include any - * response codes generated by the load balancer.

                          - *

                          - * Statistics: The most useful statistic is Sum. Note that - * Minimum, Maximum, and Average all return - * 1.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * HTTPCode_Instance_3XX_Count - * - The number - * of HTTP 3XX response codes generated by the target instances. This does not include any - * response codes generated by the load balancer.

                          - *

                          - * Statistics: The most useful statistic is Sum. Note that - * Minimum, Maximum, and Average all return - * 1.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * HTTPCode_Instance_4XX_Count - * - The number - * of HTTP 4XX response codes generated by the target instances. This does not include any - * response codes generated by the load balancer.

                          - *

                          - * Statistics: The most useful statistic is Sum. Note that - * Minimum, Maximum, and Average all return - * 1.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * HTTPCode_Instance_5XX_Count - * - The number - * of HTTP 5XX response codes generated by the target instances. This does not include any - * response codes generated by the load balancer.

                          - *

                          - * Statistics: The most useful statistic is Sum. Note that - * Minimum, Maximum, and Average all return - * 1.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * HTTPCode_LB_4XX_Count - * - The number of - * HTTP 4XX client error codes that originated from the load balancer. Client errors are - * generated when requests are malformed or incomplete. These requests were not received by - * the target instance. This count does not include response codes generated by the target - * instances.

                          - *

                          - * Statistics: The most useful statistic is Sum. Note that - * Minimum, Maximum, and Average all return - * 1.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * HTTPCode_LB_5XX_Count - * - The number of - * HTTP 5XX server error codes that originated from the load balancer. This does not include - * any response codes generated by the target instance. This metric is reported if there are - * no healthy instances attached to the load balancer, or if the request rate exceeds the - * capacity of the instances (spillover) or the load balancer.

                          - *

                          - * Statistics: The most useful statistic is Sum. Note that - * Minimum, Maximum, and Average all return - * 1.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * InstanceResponseTime - * - The time elapsed, - * in seconds, after the request leaves the load balancer until a response from the target - * instance is received.

                          - *

                          - * Statistics: The most useful statistic is Average.

                          - *

                          - * Unit: The published unit is Seconds.

                          - *
                        • - *
                        • - *

                          - * - * RejectedConnectionCount - * - The number of - * connections that were rejected because the load balancer had reached its maximum number of - * connections.

                          - *

                          - * Statistics: The most useful statistic is Sum.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * RequestCount - * - The number of requests - * processed over IPv4. This count includes only the requests with a response generated by a - * target instance of the load balancer.

                          - *

                          - * Statistics: The most useful statistic is Sum. Note that - * Minimum, Maximum, and Average all return - * 1.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        • - *

                          - * - * UnhealthyHostCount - * - The number of - * target instances that are considered unhealthy.

                          - *

                          - * Statistics: The most useful statistic are Average, - * Minimum, and Maximum.

                          - *

                          - * Unit: The published unit is Count.

                          - *
                        • - *
                        + *

                        An array of objects representing the add-ons enabled on the instance.

                        */ - metricName: LoadBalancerMetricName | string | undefined; + addOns?: AddOn[]; /** - *

                        The name of the load balancer.

                        + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        */ - loadBalancerName: string | undefined; -} + tags?: Tag[]; -export namespace GetLoadBalancerMetricDataRequest { - export const filterSensitiveLog = (obj: GetLoadBalancerMetricDataRequest): any => ({ - ...obj, - }); -} + /** + *

                        A Boolean value indicating whether this instance has a static IP assigned to it.

                        + */ + isStaticIp?: boolean; -export interface GetLoadBalancerMetricDataResult { /** - *

                        An array of objects that describe the metric data returned.

                        + *

                        The blueprint ID (e.g., os_amlinux_2016_03).

                        */ - metricData?: MetricDatapoint[]; + blueprintId?: string; /** - *

                        The name of the metric returned.

                        + *

                        The private IP address of the instance.

                        */ - metricName?: LoadBalancerMetricName | string; + privateIpAddress?: string; } -export namespace GetLoadBalancerMetricDataResult { - export const filterSensitiveLog = (obj: GetLoadBalancerMetricDataResult): any => ({ +export namespace Instance { + export const filterSensitiveLog = (obj: Instance): any => ({ ...obj, }); } -export interface GetLoadBalancersRequest { +export interface GetInstanceResult { /** - *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetLoadBalancers request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                        + *

                        An array of key-value pairs containing information about the specified instance.

                        */ - pageToken?: string; + instance?: Instance; } -export namespace GetLoadBalancersRequest { - export const filterSensitiveLog = (obj: GetLoadBalancersRequest): any => ({ +export namespace GetInstanceResult { + export const filterSensitiveLog = (obj: GetInstanceResult): any => ({ ...obj, }); } -export interface GetLoadBalancersResult { - /** - *

                        An array of LoadBalancer objects describing your load balancers.

                        - */ - loadBalancers?: LoadBalancer[]; +export enum InstanceAccessProtocol { + rdp = "rdp", + ssh = "ssh", +} +export interface GetInstanceAccessDetailsRequest { /** - *

                        The token to advance to the next page of resutls from your request.

                        - *

                        A next page token is not returned if there are no more results to display.

                        - *

                        To get the next page of results, perform another GetLoadBalancers request and - * specify the next page token using the pageToken parameter.

                        + *

                        The name of the instance to access.

                        */ - nextPageToken?: string; -} - -export namespace GetLoadBalancersResult { - export const filterSensitiveLog = (obj: GetLoadBalancersResult): any => ({ - ...obj, - }); -} + instanceName: string | undefined; -export interface GetLoadBalancerTlsCertificatesRequest { /** - *

                        The name of the load balancer you associated with your SSL/TLS certificate.

                        + *

                        The protocol to use to connect to your instance. Defaults to ssh.

                        */ - loadBalancerName: string | undefined; + protocol?: InstanceAccessProtocol | string; } -export namespace GetLoadBalancerTlsCertificatesRequest { - export const filterSensitiveLog = (obj: GetLoadBalancerTlsCertificatesRequest): any => ({ +export namespace GetInstanceAccessDetailsRequest { + export const filterSensitiveLog = (obj: GetInstanceAccessDetailsRequest): any => ({ ...obj, }); } -export enum LoadBalancerTlsCertificateDomainStatus { - Failed = "FAILED", - PendingValidation = "PENDING_VALIDATION", - Success = "SUCCESS", -} - /** - *

                        Describes the validation record of each domain name in the SSL/TLS certificate.

                        + *

                        Describes the public SSH host keys or the RDP certificate.

                        */ -export interface LoadBalancerTlsCertificateDomainValidationRecord { - /** - *

                        A fully qualified domain name in the certificate. For example, - * example.com.

                        - */ - name?: string; - - /** - *

                        The domain name against which your SSL/TLS certificate was validated.

                        - */ - domainName?: string; - +export interface HostKeyAttributes { /** - *

                        The value for that type.

                        + *

                        The time that the SSH host key or RDP certificate was recorded by Lightsail.

                        */ - value?: string; + witnessedAt?: Date; /** - *

                        The validation status. Valid values are listed below.

                        + *

                        The returned RDP certificate is not valid after this point in time.

                        + *

                        This value is listed only for RDP certificates.

                        */ - validationStatus?: LoadBalancerTlsCertificateDomainStatus | string; + notValidAfter?: Date; /** - *

                        The type of validation record. For example, CNAME for domain - * validation.

                        + *

                        The SHA-1 fingerprint of the returned SSH host key or RDP certificate.

                        + *
                          + *
                        • + *

                          Example of an SHA-1 SSH fingerprint:

                          + *

                          + * SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0 + *

                          + *
                        • + *
                        • + *

                          Example of an SHA-1 RDP fingerprint:

                          + *

                          + * af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45 + *

                          + *
                        • + *
                        */ - type?: string; -} - -export namespace LoadBalancerTlsCertificateDomainValidationRecord { - export const filterSensitiveLog = (obj: LoadBalancerTlsCertificateDomainValidationRecord): any => ({ - ...obj, - }); -} - -export enum LoadBalancerTlsCertificateFailureReason { - AdditionalVerificationRequired = "ADDITIONAL_VERIFICATION_REQUIRED", - DomainNotAllowed = "DOMAIN_NOT_ALLOWED", - InvalidPublicDomain = "INVALID_PUBLIC_DOMAIN", - NoAvailableContacts = "NO_AVAILABLE_CONTACTS", - Other = "OTHER", -} + fingerprintSHA1?: string; -/** - *

                        Contains information about the domain names on an SSL/TLS certificate that you will use to - * validate domain ownership.

                        - */ -export interface LoadBalancerTlsCertificateDomainValidationOption { /** - *

                        The status of the domain validation. Valid values are listed below.

                        + *

                        The public SSH host key or the RDP certificate.

                        */ - validationStatus?: LoadBalancerTlsCertificateDomainStatus | string; + publicKey?: string; /** - *

                        The fully qualified domain name in the certificate request.

                        + *

                        The returned RDP certificate is valid after this point in time.

                        + *

                        This value is listed only for RDP certificates.

                        */ - domainName?: string; -} - -export namespace LoadBalancerTlsCertificateDomainValidationOption { - export const filterSensitiveLog = (obj: LoadBalancerTlsCertificateDomainValidationOption): any => ({ - ...obj, - }); -} - -export enum LoadBalancerTlsCertificateRenewalStatus { - Failed = "FAILED", - PendingAutoRenewal = "PENDING_AUTO_RENEWAL", - PendingValidation = "PENDING_VALIDATION", - Success = "SUCCESS", -} + notValidBefore?: Date; -/** - *

                        Contains information about the status of Lightsail's managed renewal for the - * certificate.

                        - * - * - * - * - *

                        The renewal status of the certificate.

                        - *

                        The following renewal status are possible:

                        - *
                          - *
                        • - *

                          - * - * PendingAutoRenewal - * - Lightsail is - * attempting to automatically validate the domain names in the certificate. No further - * action is required.

                          - *
                        • - *
                        • - *

                          - * - * PendingValidation - * - Lightsail couldn't - * automatically validate one or more domain names in the certificate. You must take action - * to validate these domain names or the certificate won't be renewed. If you used DNS - * validation, check to make sure your certificate's domain validation records exist in your - * domain's DNS, and that your certificate remains in use.

                          - *
                        • - *
                        • - *

                          - * - * Success - * - All domain names in the - * certificate are validated, and Lightsail renewed the certificate. No further action is - * required.

                          - *
                        • - *
                        • - *

                          - * - * Failed - * - One or more domain names were - * not validated before the certificate expired, and Lightsail did not renew the - * certificate. You can request a new certificate using the CreateCertificate - * action.

                          - *
                        • - *
                        - */ -export interface LoadBalancerTlsCertificateRenewalSummary { /** - *

                        Contains information about the validation of each domain name in the certificate, as it - * pertains to Lightsail's managed renewal. This is different from the initial validation that - * occurs as a result of the RequestCertificate request.

                        + *

                        The SSH host key algorithm or the RDP certificate format.

                        + *

                        For SSH host keys, the algorithm may be ssh-rsa, + * ecdsa-sha2-nistp256, ssh-ed25519, etc. For RDP certificates, the + * algorithm is always x509-cert.

                        */ - domainValidationOptions?: LoadBalancerTlsCertificateDomainValidationOption[]; + algorithm?: string; /** - *

                        The renewal status of the certificate.

                        - *

                        The following renewal status are possible:

                        + *

                        The SHA-256 fingerprint of the returned SSH host key or RDP certificate.

                        *
                          *
                        • + *

                          Example of an SHA-256 SSH fingerprint:

                          *

                          - * - * PendingAutoRenewal - * - Lightsail is - * attempting to automatically validate the domain names of the certificate. No further - * action is required.

                          - *
                        • - *
                        • - *

                          - * - * PendingValidation - * - Lightsail couldn't - * automatically validate one or more domain names of the certificate. You must take action - * to validate these domain names or the certificate won't be renewed. Check to make sure - * your certificate's domain validation records exist in your domain's DNS, and that your - * certificate remains in use.

                          - *
                        • - *
                        • - *

                          - * - * Success - * - All domain names in the - * certificate are validated, and Lightsail renewed the certificate. No further action is - * required.

                          + * SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o + *

                          *
                        • *
                        • + *

                          Example of an SHA-256 RDP fingerprint:

                          *

                          - * - * Failed - * - One or more domain names were - * not validated before the certificate expired, and Lightsail did not renew the - * certificate. You can request a new certificate using the CreateCertificate - * action.

                          + * 03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68 + *

                          *
                        • *
                        */ - renewalStatus?: LoadBalancerTlsCertificateRenewalStatus | string; + fingerprintSHA256?: string; } -export namespace LoadBalancerTlsCertificateRenewalSummary { - export const filterSensitiveLog = (obj: LoadBalancerTlsCertificateRenewalSummary): any => ({ +export namespace HostKeyAttributes { + export const filterSensitiveLog = (obj: HostKeyAttributes): any => ({ ...obj, }); } -export enum LoadBalancerTlsCertificateRevocationReason { - AACompromise = "A_A_COMPROMISE", - AffiliationChanged = "AFFILIATION_CHANGED", - CaCompromise = "CA_COMPROMISE", - CertificateHold = "CERTIFICATE_HOLD", - CessationOfOperation = "CESSATION_OF_OPERATION", - KeyCompromise = "KEY_COMPROMISE", - PrivilegeWithdrawn = "PRIVILEGE_WITHDRAWN", - RemoveFromCrl = "REMOVE_FROM_CRL", - Superceded = "SUPERCEDED", - Unspecified = "UNSPECIFIED", +/** + *

                        The password data for the Windows Server-based instance, including the ciphertext and the + * key pair name.

                        + */ +export interface PasswordData { + /** + *

                        The name of the key pair that you used when creating your instance. If no key pair name + * was specified when creating the instance, Lightsail uses the default key pair + * (LightsailDefaultKeyPair).

                        + *

                        If you are using a custom key pair, you need to use your own means of decrypting your + * password using the ciphertext. Lightsail creates the ciphertext by encrypting + * your password with the public key part of this key pair.

                        + */ + keyPairName?: string; + + /** + *

                        The encrypted password. Ciphertext will be an empty string if access to your new instance + * is not ready yet. When you create an instance, it can take up to 15 minutes for the instance + * to be ready.

                        + * + *

                        If you use the default key pair (LightsailDefaultKeyPair), the decrypted + * password will be available in the password field.

                        + *

                        If you are using a custom key pair, you need to use your own means of decryption.

                        + *

                        If you change the Administrator password on the instance, Lightsail will continue to + * return the original ciphertext value. When accessing the instance using RDP, you need to + * manually enter the Administrator password after changing it from the default.

                        + *
                        + */ + ciphertext?: string; } -export enum LoadBalancerTlsCertificateStatus { - Expired = "EXPIRED", - Failed = "FAILED", - Inactive = "INACTIVE", - Issued = "ISSUED", - PendingValidation = "PENDING_VALIDATION", - Revoked = "REVOKED", - Unknown = "UNKNOWN", - ValidationTimedOut = "VALIDATION_TIMED_OUT", +export namespace PasswordData { + export const filterSensitiveLog = (obj: PasswordData): any => ({ + ...obj, + }); } /** - *

                        Describes a load balancer SSL/TLS certificate.

                        - *

                        TLS is just an updated, more secure version of Secure Socket Layer (SSL).

                        + *

                        The parameters for gaining temporary access to one of your Amazon Lightsail + * instances.

                        */ -export interface LoadBalancerTlsCertificate { +export interface InstanceAccessDetails { /** - *

                        The AWS Region and Availability Zone where you created your certificate.

                        + *

                        The public IP address of the Amazon Lightsail instance.

                        */ - location?: ResourceLocation; + ipAddress?: string; /** - *

                        The validation status of the SSL/TLS certificate. Valid values are below.

                        + *

                        Describes the public SSH host keys or the RDP certificate.

                        */ - status?: LoadBalancerTlsCertificateStatus | string; + hostKeys?: HostKeyAttributes[]; /** - *

                        The serial number of the certificate.

                        + *

                        The user name to use when logging in to the Amazon Lightsail instance.

                        */ - serial?: string; + username?: string; /** - *

                        The load balancer name where your SSL/TLS certificate is attached.

                        + *

                        The protocol for these Amazon Lightsail instance access details.

                        */ - loadBalancerName?: string; + protocol?: InstanceAccessProtocol | string; /** - *

                        The support code. Include this code in your email to support when you have questions about - * your Lightsail load balancer or SSL/TLS certificate. This code enables our support team to - * look up your Lightsail information more easily.

                        + *

                        For SSH access, the date on which the temporary keys expire.

                        */ - supportCode?: string; + expiresAt?: Date; /** - *

                        The name of the SSL/TLS certificate (e.g., my-certificate).

                        + *

                        For SSH access, the public key to use when accessing your instance For OpenSSH clients + * (e.g., command line SSH), you should save this value to tempkey-cert.pub.

                        */ - name?: string; + certKey?: string; /** - *

                        An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the - * records.

                        + *

                        For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), + * you should save this value to tempkey).

                        */ - domainValidationRecords?: LoadBalancerTlsCertificateDomainValidationRecord[]; + privateKey?: string; /** - *

                        The algorithm that was used to sign the certificate.

                        + *

                        The name of this Amazon Lightsail instance.

                        */ - signatureAlgorithm?: string; + instanceName?: string; /** - *

                        The timestamp when the SSL/TLS certificate expires.

                        + *

                        For a Windows Server-based instance, an object with the data you can use to retrieve your + * password. This is only needed if password is empty and the instance is not new + * (and therefore the password is not ready yet). When you create an instance, it can take up to + * 15 minutes for the instance to be ready.

                        */ - notAfter?: Date; + passwordData?: PasswordData; /** - *

                        When true, the SSL/TLS certificate is attached to the Lightsail load - * balancer.

                        + *

                        For RDP access, the password for your Amazon Lightsail instance. Password will be an empty + * string if the password for your new instance is not ready yet. When you create an instance, it + * can take up to 15 minutes for the instance to be ready.

                        + * + *

                        If you create an instance using any key pair other than the default + * (LightsailDefaultKeyPair), password will always be an empty + * string.

                        + *

                        If you change the Administrator password on the instance, Lightsail will continue to + * return the original password value. When accessing the instance using RDP, you need to + * manually enter the Administrator password after changing it from the default.

                        + *
                        */ - isAttached?: boolean; + password?: string; +} + +export namespace InstanceAccessDetails { + export const filterSensitiveLog = (obj: InstanceAccessDetails): any => ({ + ...obj, + }); +} +export interface GetInstanceAccessDetailsResult { /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        + *

                        An array of key-value pairs containing information about a get instance access + * request.

                        */ - tags?: Tag[]; + accessDetails?: InstanceAccessDetails; +} - /** - *

                        The validation failure reason, if any, of the certificate.

                        - * - *

                        The following failure reasons are possible:

                        - *
                          - *
                        • - *

                          - * - * NO_AVAILABLE_CONTACTS - * - This failure - * applies to email validation, which is not available for Lightsail certificates.

                          - *
                        • - *
                        • - *

                          - * - * ADDITIONAL_VERIFICATION_REQUIRED - * - - * Lightsail requires additional information to process this certificate request. This can - * happen as a fraud-protection measure, such as when the domain ranks within the Alexa top - * 1000 websites. To provide the required information, use the AWS Support Center to contact - * AWS Support.

                          - * - *

                          You cannot request a certificate for Amazon-owned domain names such as those ending - * in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.

                          - *
                          - *
                        • - *
                        • - *

                          - * - * DOMAIN_NOT_ALLOWED - * - One or more of the - * domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the - * problem, search for your domain name on the VirusTotal website. If your domain - * is reported as suspicious, see Google Help for Hacked - * Websites to learn what you can do.

                          - *

                          If you believe that the result is a false positive, notify the organization that is - * reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and - * cannot remove your domain from a block list itself. After you correct the problem and the - * VirusTotal registry has been updated, request a new certificate.

                          - *

                          If you see this error and your domain is not included in the VirusTotal list, visit - * the AWS Support Center - * and create a case.

                          - *
                        • - *
                        • - *

                          - * - * INVALID_PUBLIC_DOMAIN - * - One or more of - * the domain names in the certificate request is not valid. Typically, this is because a - * domain name in the request is not a valid top-level domain. Try to request a certificate - * again, correcting any spelling errors or typos that were in the failed request, and ensure - * that all domain names in the request are for valid top-level domains. For example, you - * cannot request a certificate for example.invalidpublicdomain because - * invalidpublicdomain is not a valid top-level domain.

                          - *
                        • - *
                        • - *

                          - * - * OTHER - * - Typically, this failure occurs - * when there is a typographical error in one or more of the domain names in the certificate - * request. Try to request a certificate again, correcting any spelling errors or typos that - * were in the failed request.

                          - *
                        • - *
                        +export namespace GetInstanceAccessDetailsResult { + export const filterSensitiveLog = (obj: GetInstanceAccessDetailsResult): any => ({ + ...obj, + }); +} + +export enum InstanceMetricName { + BurstCapacityPercentage = "BurstCapacityPercentage", + BurstCapacityTime = "BurstCapacityTime", + CPUUtilization = "CPUUtilization", + NetworkIn = "NetworkIn", + NetworkOut = "NetworkOut", + StatusCheckFailed = "StatusCheckFailed", + StatusCheckFailed_Instance = "StatusCheckFailed_Instance", + StatusCheckFailed_System = "StatusCheckFailed_System", +} + +export interface GetInstanceMetricDataRequest { + /** + *

                        The name of the instance for which you want to get metrics data.

                        */ - failureReason?: LoadBalancerTlsCertificateFailureReason | string; + instanceName: string | undefined; /** - *

                        The domain name for your SSL/TLS certificate.

                        + *

                        The unit for the metric data request. Valid units depend on the metric data being + * requested. For the valid units to specify with each available metric, see the + * metricName parameter.

                        */ - domainName?: string; + unit: MetricUnit | string | undefined; /** - *

                        An array of strings that specify the alternate domains (e.g., example2.com) - * and subdomains (e.g., blog.example.com) for the certificate.

                        + *

                        The granularity, in seconds, of the returned data points.

                        + *

                        The StatusCheckFailed, StatusCheckFailed_Instance, and + * StatusCheckFailed_System instance metric data is available in 1-minute (60 + * seconds) granularity. All other instance metric data is available in 5-minute (300 seconds) + * granularity.

                        */ - subjectAlternativeNames?: string[]; + period: number | undefined; /** - *

                        The reason the certificate was revoked. This value is present only when the certificate - * status is REVOKED.

                        + *

                        The start time of the time period.

                        */ - revocationReason?: LoadBalancerTlsCertificateRevocationReason | string; + startTime: Date | undefined; /** - *

                        The timestamp when the certificate was revoked. This value is present only when the - * certificate status is REVOKED.

                        + *

                        The end time of the time period.

                        */ - revokedAt?: Date; + endTime: Date | undefined; /** - *

                        The resource type (e.g., LoadBalancerTlsCertificate).

                        + *

                        The metric for which you want to return information.

                        + *

                        Valid instance metric names are listed below, along with the most useful + * statistics to include in your request, and the published unit + * value.

                        *
                          *
                        • *

                          * - * Instance - * - A Lightsail instance (a - * virtual private server)

                          + * BurstCapacityPercentage + * - The percentage + * of CPU performance available for your instance to burst above its baseline. Your instance + * continuously accrues and consumes burst capacity. Burst capacity stops accruing when your + * instance's BurstCapacityPercentage reaches 100%. For more information, see + * Viewing instance burst capacity in Amazon Lightsail.

                          + *

                          + * Statistics: The most useful statistics are Maximum and + * Average.

                          + *

                          + * Unit: The published unit is Percent.

                          *
                        • *
                        • *

                          * - * StaticIp - * - A static IP address

                          + * BurstCapacityTime + * - The available amount + * of time for your instance to burst at 100% CPU utilization. Your instance continuously + * accrues and consumes burst capacity. Burst capacity time stops accruing when your + * instance's BurstCapacityPercentage metric reaches 100%.

                          + *

                          Burst capacity time is consumed at the full rate only when your instance operates at + * 100% CPU utilization. For example, if your instance operates at 50% CPU utilization in the + * burstable zone for a 5-minute period, then it consumes CPU burst capacity minutes at a 50% + * rate in that period. Your instance consumed 2 minutes and 30 seconds of CPU burst capacity + * minutes in the 5-minute period. For more information, see Viewing instance burst capacity in Amazon Lightsail.

                          + *

                          + * Statistics: The most useful statistics are Maximum and + * Average.

                          + *

                          + * Unit: The published unit is Seconds.

                          *
                        • *
                        • *

                          * - * KeyPair - * - The key pair used to connect - * to a Lightsail instance

                          + * CPUUtilization + * - The percentage of + * allocated compute units that are currently in use on the instance. This metric identifies + * the processing power to run the applications on the instance. Tools in your operating + * system can show a lower percentage than Lightsail when the instance is not allocated a + * full processor core.

                          + *

                          + * Statistics: The most useful statistics are Maximum and + * Average.

                          + *

                          + * Unit: The published unit is Percent.

                          *
                        • *
                        • *

                          * - * InstanceSnapshot - * - A Lightsail - * instance snapshot

                          + * NetworkIn + * - The number of bytes received + * on all network interfaces by the instance. This metric identifies the volume of incoming + * network traffic to the instance. The number reported is the number of bytes received + * during the period. Because this metric is reported in 5-minute intervals, divide the + * reported number by 300 to find Bytes/second.

                          + *

                          + * Statistics: The most useful statistic is Sum.

                          + *

                          + * Unit: The published unit is Bytes.

                          *
                        • *
                        • *

                          * - * Domain - * - A DNS zone

                          + * NetworkOut + * - The number of bytes sent + * out on all network interfaces by the instance. This metric identifies the volume of + * outgoing network traffic from the instance. The number reported is the number of bytes + * sent during the period. Because this metric is reported in 5-minute intervals, divide the + * reported number by 300 to find Bytes/second.

                          + *

                          + * Statistics: The most useful statistic is Sum.

                          + *

                          + * Unit: The published unit is Bytes.

                          *
                        • *
                        • *

                          * - * PeeredVpc - * - A peered VPC

                          + * StatusCheckFailed + * - Reports whether the + * instance passed or failed both the instance status check and the system status check. This + * metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute + * (60 seconds) granularity.

                          + *

                          + * Statistics: The most useful statistic is Sum.

                          + *

                          + * Unit: The published unit is Count.

                          *
                        • *
                        • *

                          * - * LoadBalancer - * - A Lightsail load - * balancer

                          + * StatusCheckFailed_Instance + * - Reports + * whether the instance passed or failed the instance status check. This metric can be either + * 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) + * granularity.

                          + *

                          + * Statistics: The most useful statistic is Sum.

                          + *

                          + * Unit: The published unit is Count.

                          *
                        • *
                        • *

                          * - * LoadBalancerTlsCertificate - * - An SSL/TLS - * certificate associated with a Lightsail load balancer

                          + * StatusCheckFailed_System + * - Reports + * whether the instance passed or failed the system status check. This metric can be either 0 + * (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) + * granularity.

                          + *

                          + * Statistics: The most useful statistic is Sum.

                          + *

                          + * Unit: The published unit is Count.

                          *
                        • + *
                        + */ + metricName: InstanceMetricName | string | undefined; + + /** + *

                        The statistic for the metric.

                        + *

                        The following statistics are available:

                        + *
                          *
                        • *

                          - * - * Disk - * - A Lightsail block storage - * disk

                          + * Minimum - The lowest value observed during the specified period. Use this + * value to determine low volumes of activity for your application.

                          *
                        • *
                        • *

                          - * - * DiskSnapshot - * - A block storage disk - * snapshot

                          + * Maximum - The highest value observed during the specified period. Use + * this value to determine high volumes of activity for your application.

                          + *
                        • + *
                        • + *

                          + * Sum - All values submitted for the matching metric added together. You + * can use this statistic to determine the total volume of a metric.

                          + *
                        • + *
                        • + *

                          + * Average - The value of Sum / SampleCount during the specified period. By + * comparing this statistic with the Minimum and Maximum values, you can determine the full + * scope of a metric and how close the average use is to the Minimum and Maximum values. This + * comparison helps you to know when to increase or decrease your resources.

                          + *
                        • + *
                        • + *

                          + * SampleCount - The count, or number, of data points used for the + * statistical calculation.

                          *
                        • *
                        */ - resourceType?: ResourceType | string; + statistics: (MetricStatistic | string)[] | undefined; +} + +export namespace GetInstanceMetricDataRequest { + export const filterSensitiveLog = (obj: GetInstanceMetricDataRequest): any => ({ + ...obj, + }); +} +export interface GetInstanceMetricDataResult { /** - *

                        The name of the entity that is associated with the public key contained in the - * certificate.

                        + *

                        The name of the metric returned.

                        */ - subject?: string; + metricName?: InstanceMetricName | string; /** - *

                        The algorithm used to generate the key pair (the public and private key).

                        + *

                        An array of objects that describe the metric data returned.

                        */ - keyAlgorithm?: string; + metricData?: MetricDatapoint[]; +} + +export namespace GetInstanceMetricDataResult { + export const filterSensitiveLog = (obj: GetInstanceMetricDataResult): any => ({ + ...obj, + }); +} +export interface GetInstancePortStatesRequest { /** - *

                        The Amazon Resource Name (ARN) of the SSL/TLS certificate.

                        + *

                        The name of the instance for which to return firewall port states.

                        */ - arn?: string; + instanceName: string | undefined; +} + +export namespace GetInstancePortStatesRequest { + export const filterSensitiveLog = (obj: GetInstancePortStatesRequest): any => ({ + ...obj, + }); +} + +export enum PortState { + Closed = "closed", + Open = "open", +} + +/** + *

                        Describes open ports on an instance, the IP addresses allowed to connect to the instance + * through the ports, and the protocol.

                        + */ +export interface InstancePortState { + /** + *

                        The IP protocol name.

                        + *

                        The name can be one of the following:

                        + *
                          + *
                        • + *

                          + * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and + * error-checked delivery of streamed data between applications running on hosts + * communicating by an IP network. If you have an application that doesn't require reliable + * data stream service, use UDP instead.

                          + *
                        • + *
                        • + *

                          + * all - All transport layer protocol types. For more general information, + * see Transport layer on + * Wikipedia.

                          + *
                        • + *
                        • + *

                          + * udp - With User Datagram Protocol (UDP), computer applications can send + * messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior + * communications are not required to set up transmission channels or data paths. + * Applications that don't require reliable data stream service can use UDP, which provides a + * connectionless datagram service that emphasizes reduced latency over reliability. If you + * do require reliable data stream service, use TCP instead.

                          + *
                        • + *
                        • + *

                          + * icmp - Internet Control Message Protocol (ICMP) is used to send error + * messages and operational information indicating success or failure when communicating with + * an instance. For example, an error is indicated when an instance could not be reached. + * When you specify icmp as the protocol, you must specify the ICMP + * type using the fromPort parameter, and ICMP code using the + * toPort parameter.

                          + *
                        • + *
                        + */ + protocol?: NetworkProtocol | string; /** - *

                        The time when the SSL/TLS certificate was issued.

                        + *

                        The last port in a range of open ports on an instance.

                        + *

                        Allowed ports:

                        + *
                          + *
                        • + *

                          TCP and UDP - 0 to 65535 + *

                          + *
                        • + *
                        • + *

                          ICMP - The ICMP code. For example, specify 8 as the fromPort + * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP + * Ping. For more information, see Control Messages on Wikipedia.

                          + *
                        • + *
                        */ - issuedAt?: Date; + toPort?: number; /** - *

                        An object that describes the status of the certificate renewal managed by - * Lightsail.

                        + *

                        The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to + * an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

                        + *

                        For more information about CIDR block notation, see Classless + * Inter-Domain Routing on Wikipedia.

                        */ - renewalSummary?: LoadBalancerTlsCertificateRenewalSummary; + cidrs?: string[]; /** - *

                        The issuer of the certificate.

                        + *

                        Specifies whether the instance port is open or closed.

                        + * + *

                        The port state for Lightsail instances is always open.

                        + *
                        */ - issuer?: string; + state?: PortState | string; /** - *

                        The time when you created your SSL/TLS certificate.

                        + *

                        The first port in a range of open ports on an instance.

                        + *

                        Allowed ports:

                        + *
                          + *
                        • + *

                          TCP and UDP - 0 to 65535 + *

                          + *
                        • + *
                        • + *

                          ICMP - The ICMP type. For example, specify 8 as the fromPort + * (ICMP type), and -1 as the toPort (ICMP code), to enable ICMP + * Ping. For more information, see Control Messages on Wikipedia.

                          + *
                        • + *
                        */ - createdAt?: Date; + fromPort?: number; /** - *

                        The timestamp when the SSL/TLS certificate is first valid.

                        + *

                        An alias that defines access for a preconfigured range of IP addresses.

                        + *

                        The only alias currently supported is lightsail-connect, which allows IP + * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your + * instance.

                        */ - notBefore?: Date; + cidrListAliases?: string[]; } -export namespace LoadBalancerTlsCertificate { - export const filterSensitiveLog = (obj: LoadBalancerTlsCertificate): any => ({ +export namespace InstancePortState { + export const filterSensitiveLog = (obj: InstancePortState): any => ({ ...obj, }); } -export interface GetLoadBalancerTlsCertificatesResult { +export interface GetInstancePortStatesResult { /** - *

                        An array of LoadBalancerTlsCertificate objects describing your SSL/TLS - * certificates.

                        + *

                        An array of objects that describe the firewall port states for the specified + * instance.

                        */ - tlsCertificates?: LoadBalancerTlsCertificate[]; + portStates?: InstancePortState[]; } -export namespace GetLoadBalancerTlsCertificatesResult { - export const filterSensitiveLog = (obj: GetLoadBalancerTlsCertificatesResult): any => ({ +export namespace GetInstancePortStatesResult { + export const filterSensitiveLog = (obj: GetInstancePortStatesResult): any => ({ ...obj, }); } -export interface GetOperationRequest { +export interface GetInstancesRequest { /** - *

                        A GUID used to identify the operation.

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetInstances request. If your results + * are paginated, the response will return a next page token that you can specify as the page + * token in a subsequent request.

                        */ - operationId: string | undefined; + pageToken?: string; } -export namespace GetOperationRequest { - export const filterSensitiveLog = (obj: GetOperationRequest): any => ({ +export namespace GetInstancesRequest { + export const filterSensitiveLog = (obj: GetInstancesRequest): any => ({ ...obj, }); } -export interface GetOperationResult { +export interface GetInstancesResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        An array of key-value pairs containing information about your instances.

                        */ - operation?: Operation; -} - -export namespace GetOperationResult { - export const filterSensitiveLog = (obj: GetOperationResult): any => ({ - ...obj, - }); -} + instances?: Instance[]; -export interface GetOperationsRequest { /** *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetOperations request. If your - * results are paginated, the response will return a next page token that you can specify as the - * page token in a subsequent request.

                        + *

                        A next page token is not returned if there are no more results to display.

                        + *

                        To get the next page of results, perform another GetInstances request and + * specify the next page token using the pageToken parameter.

                        */ - pageToken?: string; + nextPageToken?: string; } -export namespace GetOperationsRequest { - export const filterSensitiveLog = (obj: GetOperationsRequest): any => ({ +export namespace GetInstancesResult { + export const filterSensitiveLog = (obj: GetInstancesResult): any => ({ ...obj, }); } -export interface GetOperationsResult { - /** - *

                        The token to advance to the next page of resutls from your request.

                        - *

                        A next page token is not returned if there are no more results to display.

                        - *

                        To get the next page of results, perform another GetOperations request and - * specify the next page token using the pageToken parameter.

                        - */ - nextPageToken?: string; - +export interface GetInstanceSnapshotRequest { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The name of the snapshot for which you are requesting information.

                        */ - operations?: Operation[]; + instanceSnapshotName: string | undefined; } -export namespace GetOperationsResult { - export const filterSensitiveLog = (obj: GetOperationsResult): any => ({ +export namespace GetInstanceSnapshotRequest { + export const filterSensitiveLog = (obj: GetInstanceSnapshotRequest): any => ({ ...obj, }); } -export interface GetOperationsForResourceRequest { +export enum InstanceSnapshotState { + Available = "available", + Error = "error", + Pending = "pending", +} + +/** + *

                        Describes an instance snapshot.

                        + */ +export interface InstanceSnapshot { /** - *

                        The name of the resource for which you are requesting information.

                        + *

                        A Boolean value indicating whether the snapshot was created from an automatic + * snapshot.

                        */ - resourceName: string | undefined; + isFromAutoSnapshot?: boolean; /** - *

                        The token to advance to the next page of results from your request.

                        - *

                        To get a page token, perform an initial GetOperationsForResource request. If - * your results are paginated, the response will return a next page token that you can specify as - * the page token in a subsequent request.

                        + *

                        The instance from which the snapshot was created.

                        */ - pageToken?: string; -} + fromInstanceName?: string; -export namespace GetOperationsForResourceRequest { - export const filterSensitiveLog = (obj: GetOperationsForResourceRequest): any => ({ - ...obj, - }); -} + /** + *

                        The size in GB of the SSD.

                        + */ + sizeInGb?: number; -export interface GetOperationsForResourceResult { /** - *

                        (Deprecated) Returns the number of pages of results that remain.

                        - * - *

                        In releases prior to June 12, 2017, this parameter returned null by the - * API. It is now deprecated, and the API returns the next page token parameter - * instead.

                        - *
                        + *

                        The timestamp when the snapshot was created (e.g., 1479907467.024).

                        */ - nextPageCount?: string; + createdAt?: Date; /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        The state the snapshot is in.

                        */ - operations?: Operation[]; + state?: InstanceSnapshotState | string; /** - *

                        The token to advance to the next page of resutls from your request.

                        - *

                        A next page token is not returned if there are no more results to display.

                        - *

                        To get the next page of results, perform another GetOperationsForResource - * request and specify the next page token using the pageToken parameter.

                        + *

                        The region name and Availability Zone where you created the snapshot.

                        */ - nextPageToken?: string; -} + location?: ResourceLocation; -export namespace GetOperationsForResourceResult { - export const filterSensitiveLog = (obj: GetOperationsForResourceResult): any => ({ - ...obj, - }); -} + /** + *

                        The progress of the snapshot.

                        + */ + progress?: string; -export interface GetRegionsRequest { /** - *

                        A Boolean value indicating whether to also include Availability Zones in your get regions - * request. Availability Zones are indicated with a letter: e.g., us-east-2a.

                        + *

                        The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., + * arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).

                        */ - includeAvailabilityZones?: boolean; + fromInstanceArn?: string; /** - *

                        >A Boolean value indicating whether to also include Availability Zones for databases in - * your get regions request. Availability Zones are indicated with a letter (e.g., - * us-east-2a).

                        + *

                        The name of the snapshot.

                        */ - includeRelationalDatabaseAvailabilityZones?: boolean; -} + name?: string; -export namespace GetRegionsRequest { - export const filterSensitiveLog = (obj: GetRegionsRequest): any => ({ - ...obj, - }); -} + /** + *

                        The type of resource (usually InstanceSnapshot).

                        + */ + resourceType?: ResourceType | string; -/** - *

                        Describes the AWS Region.

                        - */ -export interface Region { /** - *

                        The display name (e.g., Ohio).

                        + *

                        The Amazon Resource Name (ARN) of the snapshot (e.g., + * arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

                        */ - displayName?: string; + arn?: string; /** - *

                        The Availability Zones for databases. Follows the format us-east-2a - * (case-sensitive).

                        + *

                        An array of disk objects containing information about all block storage disks.

                        */ - relationalDatabaseAvailabilityZones?: AvailabilityZone[]; + fromAttachedDisks?: Disk[]; /** - *

                        The continent code (e.g., NA, meaning North America).

                        + *

                        The bundle ID from which you created the snapshot (e.g., micro_1_0).

                        */ - continentCode?: string; + fromBundleId?: string; /** - *

                        The region name (e.g., us-east-2).

                        + *

                        The support code. Include this code in your email to support when you have questions about + * an instance or another resource in Lightsail. This code enables our support team to look up + * your Lightsail information more easily.

                        */ - name?: RegionName | string; + supportCode?: string; /** - *

                        The Availability Zones. Follows the format us-east-2a - * (case-sensitive).

                        + *

                        The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). A + * blueprint is a virtual private server (or instance) image used to create + * instances quickly.

                        */ - availabilityZones?: AvailabilityZone[]; + fromBlueprintId?: string; /** - *

                        The description of the AWS Region (e.g., This region is recommended to serve users - * in the eastern United States and eastern Canada).

                        + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        */ - description?: string; + tags?: Tag[]; } -export namespace Region { - export const filterSensitiveLog = (obj: Region): any => ({ +export namespace InstanceSnapshot { + export const filterSensitiveLog = (obj: InstanceSnapshot): any => ({ ...obj, }); } -export interface GetRegionsResult { +export interface GetInstanceSnapshotResult { /** - *

                        An array of key-value pairs containing information about your get regions request.

                        + *

                        An array of key-value pairs containing information about the results of your get instance + * snapshot request.

                        */ - regions?: Region[]; + instanceSnapshot?: InstanceSnapshot; } -export namespace GetRegionsResult { - export const filterSensitiveLog = (obj: GetRegionsResult): any => ({ +export namespace GetInstanceSnapshotResult { + export const filterSensitiveLog = (obj: GetInstanceSnapshotResult): any => ({ ...obj, }); } -export interface GetRelationalDatabaseRequest { +export interface GetInstanceSnapshotsRequest { /** - *

                        The name of the database that you are looking up.

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetInstanceSnapshots request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                        */ - relationalDatabaseName: string | undefined; + pageToken?: string; } -export namespace GetRelationalDatabaseRequest { - export const filterSensitiveLog = (obj: GetRelationalDatabaseRequest): any => ({ +export namespace GetInstanceSnapshotsRequest { + export const filterSensitiveLog = (obj: GetInstanceSnapshotsRequest): any => ({ ...obj, }); } -/** - *

                        Describes the hardware of a database.

                        - */ -export interface RelationalDatabaseHardware { +export interface GetInstanceSnapshotsResult { /** - *

                        The number of vCPUs for the database.

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        A next page token is not returned if there are no more results to display.

                        + *

                        To get the next page of results, perform another GetInstanceSnapshots request + * and specify the next page token using the pageToken parameter.

                        */ - cpuCount?: number; + nextPageToken?: string; /** - *

                        The amount of RAM in GB for the database.

                        + *

                        An array of key-value pairs containing information about the results of your get instance + * snapshots request.

                        */ - ramSizeInGb?: number; + instanceSnapshots?: InstanceSnapshot[]; +} + +export namespace GetInstanceSnapshotsResult { + export const filterSensitiveLog = (obj: GetInstanceSnapshotsResult): any => ({ + ...obj, + }); +} +export interface GetInstanceStateRequest { /** - *

                        The size of the disk for the database.

                        + *

                        The name of the instance to get state information about.

                        */ - diskSizeInGb?: number; + instanceName: string | undefined; } -export namespace RelationalDatabaseHardware { - export const filterSensitiveLog = (obj: RelationalDatabaseHardware): any => ({ +export namespace GetInstanceStateRequest { + export const filterSensitiveLog = (obj: GetInstanceStateRequest): any => ({ ...obj, }); } -/** - *

                        Describes an endpoint for a database.

                        - */ -export interface RelationalDatabaseEndpoint { +export interface GetInstanceStateResult { /** - *

                        Specifies the DNS address of the database.

                        + *

                        The state of the instance.

                        */ - address?: string; + state?: InstanceState; +} + +export namespace GetInstanceStateResult { + export const filterSensitiveLog = (obj: GetInstanceStateResult): any => ({ + ...obj, + }); +} +export interface GetKeyPairRequest { /** - *

                        Specifies the port that the database is listening on.

                        + *

                        The name of the key pair for which you are requesting information.

                        */ - port?: number; + keyPairName: string | undefined; } -export namespace RelationalDatabaseEndpoint { - export const filterSensitiveLog = (obj: RelationalDatabaseEndpoint): any => ({ +export namespace GetKeyPairRequest { + export const filterSensitiveLog = (obj: GetKeyPairRequest): any => ({ ...obj, }); } -/** - *

                        Describes a pending database maintenance action.

                        - */ -export interface PendingMaintenanceAction { +export interface GetKeyPairResult { /** - *

                        The type of pending database maintenance action.

                        + *

                        An array of key-value pairs containing information about the key pair.

                        */ - action?: string; + keyPair?: KeyPair; +} - /** - *

                        Additional detail about the pending database maintenance action.

                        - */ - description?: string; +export namespace GetKeyPairResult { + export const filterSensitiveLog = (obj: GetKeyPairResult): any => ({ + ...obj, + }); +} +export interface GetKeyPairsRequest { /** - *

                        The effective date of the pending database maintenance action.

                        + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetKeyPairs request. If your results + * are paginated, the response will return a next page token that you can specify as the page + * token in a subsequent request.

                        */ - currentApplyDate?: Date; + pageToken?: string; } -export namespace PendingMaintenanceAction { - export const filterSensitiveLog = (obj: PendingMaintenanceAction): any => ({ +export namespace GetKeyPairsRequest { + export const filterSensitiveLog = (obj: GetKeyPairsRequest): any => ({ ...obj, }); } diff --git a/clients/client-lightsail/models/models_1.ts b/clients/client-lightsail/models/models_1.ts index 4e50aacf4b8e..06080e268d68 100644 --- a/clients/client-lightsail/models/models_1.ts +++ b/clients/client-lightsail/models/models_1.ts @@ -1,23 +1,25 @@ import { AlarmState, + AvailabilityZone, CacheBehavior, CacheBehaviorPerPath, CacheSettings, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, + ContainerImage, + ContainerService, + ContainerServicePowerName, DomainEntry, InputOrigin, - LoadBalancerAttributeName, + KeyPair, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, Operation, - PendingMaintenanceAction, PortInfo, - RelationalDatabaseEndpoint, - RelationalDatabaseHardware, + RegionName, ResourceLocation, ResourceType, Tag, @@ -25,10 +27,1486 @@ import { } from "./models_0"; import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; +export interface GetKeyPairsResult { + /** + *

                        An array of key-value pairs containing information about the key pairs.

                        + */ + keyPairs?: KeyPair[]; + + /** + *

                        The token to advance to the next page of results from your request.

                        + *

                        A next page token is not returned if there are no more results to display.

                        + *

                        To get the next page of results, perform another GetKeyPairs request and + * specify the next page token using the pageToken parameter.

                        + */ + nextPageToken?: string; +} + +export namespace GetKeyPairsResult { + export const filterSensitiveLog = (obj: GetKeyPairsResult): any => ({ + ...obj, + }); +} + +export interface GetLoadBalancerRequest { + /** + *

                        The name of the load balancer.

                        + */ + loadBalancerName: string | undefined; +} + +export namespace GetLoadBalancerRequest { + export const filterSensitiveLog = (obj: GetLoadBalancerRequest): any => ({ + ...obj, + }); +} + +export enum LoadBalancerAttributeName { + HealthCheckPath = "HealthCheckPath", + SessionStickinessEnabled = "SessionStickinessEnabled", + SessionStickiness_LB_CookieDurationSeconds = "SessionStickiness_LB_CookieDurationSeconds", +} + +export enum InstanceHealthState { + Draining = "draining", + Healthy = "healthy", + Initial = "initial", + Unavailable = "unavailable", + Unhealthy = "unhealthy", + Unused = "unused", +} + +export enum InstanceHealthReason { + InstanceDeregistrationInProgress = "Instance.DeregistrationInProgress", + InstanceFailedHealthChecks = "Instance.FailedHealthChecks", + InstanceInvalidState = "Instance.InvalidState", + InstanceIpUnusable = "Instance.IpUnusable", + InstanceNotInUse = "Instance.NotInUse", + InstanceNotRegistered = "Instance.NotRegistered", + InstanceResponseCodeMismatch = "Instance.ResponseCodeMismatch", + InstanceTimeout = "Instance.Timeout", + LbInitialHealthChecking = "Lb.InitialHealthChecking", + LbInternalError = "Lb.InternalError", + LbRegistrationInProgress = "Lb.RegistrationInProgress", +} + +/** + *

                        Describes information about the health of the instance.

                        + */ +export interface InstanceHealthSummary { + /** + *

                        The name of the Lightsail instance for which you are requesting health check + * data.

                        + */ + instanceName?: string; + + /** + *

                        Describes the overall instance health. Valid values are below.

                        + */ + instanceHealth?: InstanceHealthState | string; + + /** + *

                        More information about the instance health. If the instanceHealth is + * healthy, then an instanceHealthReason value is not + * provided.

                        + *

                        If + * instanceHealth + * is initial, + * the + * instanceHealthReason + * value can be one of the + * following:

                        + *
                          + *
                        • + *

                          + * + * Lb.RegistrationInProgress + * - The target + * instance is in the process of being registered with the load balancer.

                          + *
                        • + *
                        • + *

                          + * + * Lb.InitialHealthChecking + * - The + * Lightsail load balancer is still sending the target instance the minimum number of + * health checks required to determine its health status.

                          + *
                        • + *
                        + *

                        If + * instanceHealth + * is unhealthy, + * the + * instanceHealthReason + * value can be one of the + * following:

                        + *
                          + *
                        • + *

                          + * + * Instance.ResponseCodeMismatch + * - The + * health checks did not return an expected HTTP code.

                          + *
                        • + *
                        • + *

                          + * + * Instance.Timeout + * - The health check + * requests timed out.

                          + *
                        • + *
                        • + *

                          + * + * Instance.FailedHealthChecks + * - The health + * checks failed because the connection to the target instance timed out, the target instance + * response was malformed, or the target instance failed the health check for an unknown + * reason.

                          + *
                        • + *
                        • + *

                          + * + * Lb.InternalError + * - The health checks + * failed due to an internal error.

                          + *
                        • + *
                        + *

                        If + * instanceHealth + * is unused, + * the + * instanceHealthReason + * value can be one of the + * following:

                        + *
                          + *
                        • + *

                          + * + * Instance.NotRegistered + * - The target + * instance is not registered with the target group.

                          + *
                        • + *
                        • + *

                          + * + * Instance.NotInUse + * - The target group is + * not used by any load balancer, or the target instance is in an Availability Zone that is + * not enabled for its load balancer.

                          + *
                        • + *
                        • + *

                          + * + * Instance.IpUnusable + * - The target IP + * address is reserved for use by a Lightsail load balancer.

                          + *
                        • + *
                        • + *

                          + * + * Instance.InvalidState + * - The target is in + * the stopped or terminated state.

                          + *
                        • + *
                        + *

                        If + * instanceHealth + * is draining, + * the + * instanceHealthReason + * value can be one of the + * following:

                        + *
                          + *
                        • + *

                          + * + * Instance.DeregistrationInProgress + * - The + * target instance is in the process of being deregistered and the deregistration delay + * period has not expired.

                          + *
                        • + *
                        + */ + instanceHealthReason?: InstanceHealthReason | string; +} + +export namespace InstanceHealthSummary { + export const filterSensitiveLog = (obj: InstanceHealthSummary): any => ({ + ...obj, + }); +} + +export enum LoadBalancerProtocol { + HTTP = "HTTP", + HTTP_HTTPS = "HTTP_HTTPS", +} + +export enum LoadBalancerState { + Active = "active", + ActiveImpaired = "active_impaired", + Failed = "failed", + Provisioning = "provisioning", + Unknown = "unknown", +} + +/** + *

                        Provides a summary of SSL/TLS certificate metadata.

                        + */ +export interface LoadBalancerTlsCertificateSummary { + /** + *

                        When true, the SSL/TLS certificate is attached to the Lightsail load + * balancer.

                        + */ + isAttached?: boolean; + + /** + *

                        The name of the SSL/TLS certificate.

                        + */ + name?: string; +} + +export namespace LoadBalancerTlsCertificateSummary { + export const filterSensitiveLog = (obj: LoadBalancerTlsCertificateSummary): any => ({ + ...obj, + }); +} + +/** + *

                        Describes the Lightsail load balancer.

                        + */ +export interface LoadBalancer { + /** + *

                        An array of LoadBalancerTlsCertificateSummary objects that provide additional information + * about the SSL/TLS certificates. For example, if true, the certificate is attached + * to the load balancer.

                        + */ + tlsCertificateSummaries?: LoadBalancerTlsCertificateSummary[]; + + /** + *

                        The port where the load balancer will direct traffic to your Lightsail instances. For + * HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.

                        + */ + instancePort?: number; + + /** + *

                        The date when your load balancer was created.

                        + */ + createdAt?: Date; + + /** + *

                        The protocol you have enabled for your load balancer. Valid values are below.

                        + *

                        You can't just have HTTP_HTTPS, but you can have just + * HTTP.

                        + */ + protocol?: LoadBalancerProtocol | string; + + /** + *

                        The path you specified to perform your health checks. If no path is specified, the load + * balancer tries to make a request to the default (root) page.

                        + */ + healthCheckPath?: string; + + /** + *

                        The resource type (e.g., LoadBalancer.

                        + */ + resourceType?: ResourceType | string; + + /** + *

                        The name of the load balancer (e.g., my-load-balancer).

                        + */ + name?: string; + + /** + *

                        The DNS name of your Lightsail load balancer.

                        + */ + dnsName?: string; + + /** + *

                        An array of InstanceHealthSummary objects describing the health of the load + * balancer.

                        + */ + instanceHealthSummary?: InstanceHealthSummary[]; + + /** + *

                        The status of your load balancer. Valid values are below.

                        + */ + state?: LoadBalancerState | string; + + /** + *

                        An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, + * use port 443.

                        + */ + publicPorts?: number[]; + + /** + *

                        The support code. Include this code in your email to support when you have questions about + * your Lightsail load balancer. This code enables our support team to look up your Lightsail + * information more easily.

                        + */ + supportCode?: string; + + /** + *

                        The Amazon Resource Name (ARN) of the load balancer.

                        + */ + arn?: string; + + /** + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        + */ + tags?: Tag[]; + + /** + *

                        The AWS Region where your load balancer was created (e.g., us-east-2a). + * Lightsail automatically creates your load balancer across Availability Zones.

                        + */ + location?: ResourceLocation; + + /** + *

                        A string to string map of the configuration options for your load balancer. Valid values + * are listed below.

                        + */ + configurationOptions?: { [key: string]: string }; +} + +export namespace LoadBalancer { + export const filterSensitiveLog = (obj: LoadBalancer): any => ({ + ...obj, + }); +} + +export interface GetLoadBalancerResult { + /** + *

                        An object containing information about your load balancer.

                        + */ + loadBalancer?: LoadBalancer; +} + +export namespace GetLoadBalancerResult { + export const filterSensitiveLog = (obj: GetLoadBalancerResult): any => ({ + ...obj, + }); +} + +export enum LoadBalancerMetricName { + ClientTLSNegotiationErrorCount = "ClientTLSNegotiationErrorCount", + HTTPCode_Instance_2XX_Count = "HTTPCode_Instance_2XX_Count", + HTTPCode_Instance_3XX_Count = "HTTPCode_Instance_3XX_Count", + HTTPCode_Instance_4XX_Count = "HTTPCode_Instance_4XX_Count", + HTTPCode_Instance_5XX_Count = "HTTPCode_Instance_5XX_Count", + HTTPCode_LB_4XX_Count = "HTTPCode_LB_4XX_Count", + HTTPCode_LB_5XX_Count = "HTTPCode_LB_5XX_Count", + HealthyHostCount = "HealthyHostCount", + InstanceResponseTime = "InstanceResponseTime", + RejectedConnectionCount = "RejectedConnectionCount", + RequestCount = "RequestCount", + UnhealthyHostCount = "UnhealthyHostCount", +} + +export interface GetLoadBalancerMetricDataRequest { + /** + *

                        The metric for which you want to return information.

                        + *

                        Valid load balancer metric names are listed below, along with the most useful + * statistics to include in your request, and the published unit + * value.

                        + *
                          + *
                        • + *

                          + * + * ClientTLSNegotiationErrorCount + * - The + * number of TLS connections initiated by the client that did not establish a session with + * the load balancer due to a TLS error generated by the load balancer. Possible causes + * include a mismatch of ciphers or protocols.

                          + *

                          + * Statistics: The most useful statistic is Sum.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * HealthyHostCount + * - The number of target + * instances that are considered healthy.

                          + *

                          + * Statistics: The most useful statistic are Average, + * Minimum, and Maximum.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * HTTPCode_Instance_2XX_Count + * - The number + * of HTTP 2XX response codes generated by the target instances. This does not include any + * response codes generated by the load balancer.

                          + *

                          + * Statistics: The most useful statistic is Sum. Note that + * Minimum, Maximum, and Average all return + * 1.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * HTTPCode_Instance_3XX_Count + * - The number + * of HTTP 3XX response codes generated by the target instances. This does not include any + * response codes generated by the load balancer.

                          + *

                          + * Statistics: The most useful statistic is Sum. Note that + * Minimum, Maximum, and Average all return + * 1.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * HTTPCode_Instance_4XX_Count + * - The number + * of HTTP 4XX response codes generated by the target instances. This does not include any + * response codes generated by the load balancer.

                          + *

                          + * Statistics: The most useful statistic is Sum. Note that + * Minimum, Maximum, and Average all return + * 1.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * HTTPCode_Instance_5XX_Count + * - The number + * of HTTP 5XX response codes generated by the target instances. This does not include any + * response codes generated by the load balancer.

                          + *

                          + * Statistics: The most useful statistic is Sum. Note that + * Minimum, Maximum, and Average all return + * 1.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * HTTPCode_LB_4XX_Count + * - The number of + * HTTP 4XX client error codes that originated from the load balancer. Client errors are + * generated when requests are malformed or incomplete. These requests were not received by + * the target instance. This count does not include response codes generated by the target + * instances.

                          + *

                          + * Statistics: The most useful statistic is Sum. Note that + * Minimum, Maximum, and Average all return + * 1.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * HTTPCode_LB_5XX_Count + * - The number of + * HTTP 5XX server error codes that originated from the load balancer. This does not include + * any response codes generated by the target instance. This metric is reported if there are + * no healthy instances attached to the load balancer, or if the request rate exceeds the + * capacity of the instances (spillover) or the load balancer.

                          + *

                          + * Statistics: The most useful statistic is Sum. Note that + * Minimum, Maximum, and Average all return + * 1.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * InstanceResponseTime + * - The time elapsed, + * in seconds, after the request leaves the load balancer until a response from the target + * instance is received.

                          + *

                          + * Statistics: The most useful statistic is Average.

                          + *

                          + * Unit: The published unit is Seconds.

                          + *
                        • + *
                        • + *

                          + * + * RejectedConnectionCount + * - The number of + * connections that were rejected because the load balancer had reached its maximum number of + * connections.

                          + *

                          + * Statistics: The most useful statistic is Sum.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * RequestCount + * - The number of requests + * processed over IPv4. This count includes only the requests with a response generated by a + * target instance of the load balancer.

                          + *

                          + * Statistics: The most useful statistic is Sum. Note that + * Minimum, Maximum, and Average all return + * 1.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        • + *

                          + * + * UnhealthyHostCount + * - The number of + * target instances that are considered unhealthy.

                          + *

                          + * Statistics: The most useful statistic are Average, + * Minimum, and Maximum.

                          + *

                          + * Unit: The published unit is Count.

                          + *
                        • + *
                        + */ + metricName: LoadBalancerMetricName | string | undefined; + + /** + *

                        The end time of the period.

                        + */ + endTime: Date | undefined; + + /** + *

                        The statistic for the metric.

                        + *

                        The following statistics are available:

                        + *
                          + *
                        • + *

                          + * Minimum - The lowest value observed during the specified period. Use this + * value to determine low volumes of activity for your application.

                          + *
                        • + *
                        • + *

                          + * Maximum - The highest value observed during the specified period. Use + * this value to determine high volumes of activity for your application.

                          + *
                        • + *
                        • + *

                          + * Sum - All values submitted for the matching metric added together. You + * can use this statistic to determine the total volume of a metric.

                          + *
                        • + *
                        • + *

                          + * Average - The value of Sum / SampleCount during the specified period. By + * comparing this statistic with the Minimum and Maximum values, you can determine the full + * scope of a metric and how close the average use is to the Minimum and Maximum values. This + * comparison helps you to know when to increase or decrease your resources.

                          + *
                        • + *
                        • + *

                          + * SampleCount - The count, or number, of data points used for the + * statistical calculation.

                          + *
                        • + *
                        + */ + statistics: (MetricStatistic | string)[] | undefined; + + /** + *

                        The start time of the period.

                        + */ + startTime: Date | undefined; + + /** + *

                        The granularity, in seconds, of the returned data points.

                        + */ + period: number | undefined; + + /** + *

                        The unit for the metric data request. Valid units depend on the metric data being + * requested. For the valid units with each available metric, see the metricName + * parameter.

                        + */ + unit: MetricUnit | string | undefined; + + /** + *

                        The name of the load balancer.

                        + */ + loadBalancerName: string | undefined; +} + +export namespace GetLoadBalancerMetricDataRequest { + export const filterSensitiveLog = (obj: GetLoadBalancerMetricDataRequest): any => ({ + ...obj, + }); +} + +export interface GetLoadBalancerMetricDataResult { + /** + *

                        The name of the metric returned.

                        + */ + metricName?: LoadBalancerMetricName | string; + + /** + *

                        An array of objects that describe the metric data returned.

                        + */ + metricData?: MetricDatapoint[]; +} + +export namespace GetLoadBalancerMetricDataResult { + export const filterSensitiveLog = (obj: GetLoadBalancerMetricDataResult): any => ({ + ...obj, + }); +} + +export interface GetLoadBalancersRequest { + /** + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetLoadBalancers request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                        + */ + pageToken?: string; +} + +export namespace GetLoadBalancersRequest { + export const filterSensitiveLog = (obj: GetLoadBalancersRequest): any => ({ + ...obj, + }); +} + +export interface GetLoadBalancersResult { + /** + *

                        An array of LoadBalancer objects describing your load balancers.

                        + */ + loadBalancers?: LoadBalancer[]; + + /** + *

                        The token to advance to the next page of results from your request.

                        + *

                        A next page token is not returned if there are no more results to display.

                        + *

                        To get the next page of results, perform another GetLoadBalancers request and + * specify the next page token using the pageToken parameter.

                        + */ + nextPageToken?: string; +} + +export namespace GetLoadBalancersResult { + export const filterSensitiveLog = (obj: GetLoadBalancersResult): any => ({ + ...obj, + }); +} + +export interface GetLoadBalancerTlsCertificatesRequest { + /** + *

                        The name of the load balancer you associated with your SSL/TLS certificate.

                        + */ + loadBalancerName: string | undefined; +} + +export namespace GetLoadBalancerTlsCertificatesRequest { + export const filterSensitiveLog = (obj: GetLoadBalancerTlsCertificatesRequest): any => ({ + ...obj, + }); +} + +export enum LoadBalancerTlsCertificateDomainStatus { + Failed = "FAILED", + PendingValidation = "PENDING_VALIDATION", + Success = "SUCCESS", +} + +/** + *

                        Describes the validation record of each domain name in the SSL/TLS certificate.

                        + */ +export interface LoadBalancerTlsCertificateDomainValidationRecord { + /** + *

                        The value for that type.

                        + */ + value?: string; + + /** + *

                        The domain name against which your SSL/TLS certificate was validated.

                        + */ + domainName?: string; + + /** + *

                        A fully qualified domain name in the certificate. For example, + * example.com.

                        + */ + name?: string; + + /** + *

                        The validation status. Valid values are listed below.

                        + */ + validationStatus?: LoadBalancerTlsCertificateDomainStatus | string; + + /** + *

                        The type of validation record. For example, CNAME for domain + * validation.

                        + */ + type?: string; +} + +export namespace LoadBalancerTlsCertificateDomainValidationRecord { + export const filterSensitiveLog = (obj: LoadBalancerTlsCertificateDomainValidationRecord): any => ({ + ...obj, + }); +} + +export enum LoadBalancerTlsCertificateFailureReason { + AdditionalVerificationRequired = "ADDITIONAL_VERIFICATION_REQUIRED", + DomainNotAllowed = "DOMAIN_NOT_ALLOWED", + InvalidPublicDomain = "INVALID_PUBLIC_DOMAIN", + NoAvailableContacts = "NO_AVAILABLE_CONTACTS", + Other = "OTHER", +} + +/** + *

                        Contains information about the domain names on an SSL/TLS certificate that you will use to + * validate domain ownership.

                        + */ +export interface LoadBalancerTlsCertificateDomainValidationOption { + /** + *

                        The status of the domain validation. Valid values are listed below.

                        + */ + validationStatus?: LoadBalancerTlsCertificateDomainStatus | string; + + /** + *

                        The fully qualified domain name in the certificate request.

                        + */ + domainName?: string; +} + +export namespace LoadBalancerTlsCertificateDomainValidationOption { + export const filterSensitiveLog = (obj: LoadBalancerTlsCertificateDomainValidationOption): any => ({ + ...obj, + }); +} + +export enum LoadBalancerTlsCertificateRenewalStatus { + Failed = "FAILED", + PendingAutoRenewal = "PENDING_AUTO_RENEWAL", + PendingValidation = "PENDING_VALIDATION", + Success = "SUCCESS", +} + +/** + *

                        Contains information about the status of Lightsail's managed renewal for the + * certificate.

                        + *

                        The renewal status of the certificate.

                        + *

                        The following renewal status are possible:

                        + *
                          + *
                        • + *

                          + * + * PendingAutoRenewal + * - Lightsail is + * attempting to automatically validate the domain names in the certificate. No further + * action is required.

                          + *
                        • + *
                        • + *

                          + * + * PendingValidation + * - Lightsail couldn't + * automatically validate one or more domain names in the certificate. You must take action + * to validate these domain names or the certificate won't be renewed. If you used DNS + * validation, check to make sure your certificate's domain validation records exist in your + * domain's DNS, and that your certificate remains in use.

                          + *
                        • + *
                        • + *

                          + * + * Success + * - All domain names in the + * certificate are validated, and Lightsail renewed the certificate. No further action is + * required.

                          + *
                        • + *
                        • + *

                          + * + * Failed + * - One or more domain names were + * not validated before the certificate expired, and Lightsail did not renew the + * certificate. You can request a new certificate using the CreateCertificate + * action.

                          + *
                        • + *
                        + */ +export interface LoadBalancerTlsCertificateRenewalSummary { + /** + *

                        The renewal status of the certificate.

                        + *

                        The following renewal status are possible:

                        + *
                          + *
                        • + *

                          + * + * PendingAutoRenewal + * - Lightsail is + * attempting to automatically validate the domain names of the certificate. No further + * action is required.

                          + *
                        • + *
                        • + *

                          + * + * PendingValidation + * - Lightsail couldn't + * automatically validate one or more domain names of the certificate. You must take action + * to validate these domain names or the certificate won't be renewed. Check to make sure + * your certificate's domain validation records exist in your domain's DNS, and that your + * certificate remains in use.

                          + *
                        • + *
                        • + *

                          + * + * Success + * - All domain names in the + * certificate are validated, and Lightsail renewed the certificate. No further action is + * required.

                          + *
                        • + *
                        • + *

                          + * + * Failed + * - One or more domain names were + * not validated before the certificate expired, and Lightsail did not renew the + * certificate. You can request a new certificate using the CreateCertificate + * action.

                          + *
                        • + *
                        + */ + renewalStatus?: LoadBalancerTlsCertificateRenewalStatus | string; + + /** + *

                        Contains information about the validation of each domain name in the certificate, as it + * pertains to Lightsail's managed renewal. This is different from the initial validation that + * occurs as a result of the RequestCertificate request.

                        + */ + domainValidationOptions?: LoadBalancerTlsCertificateDomainValidationOption[]; +} + +export namespace LoadBalancerTlsCertificateRenewalSummary { + export const filterSensitiveLog = (obj: LoadBalancerTlsCertificateRenewalSummary): any => ({ + ...obj, + }); +} + +export enum LoadBalancerTlsCertificateRevocationReason { + AACompromise = "A_A_COMPROMISE", + AffiliationChanged = "AFFILIATION_CHANGED", + CaCompromise = "CA_COMPROMISE", + CertificateHold = "CERTIFICATE_HOLD", + CessationOfOperation = "CESSATION_OF_OPERATION", + KeyCompromise = "KEY_COMPROMISE", + PrivilegeWithdrawn = "PRIVILEGE_WITHDRAWN", + RemoveFromCrl = "REMOVE_FROM_CRL", + Superceded = "SUPERCEDED", + Unspecified = "UNSPECIFIED", +} + +export enum LoadBalancerTlsCertificateStatus { + Expired = "EXPIRED", + Failed = "FAILED", + Inactive = "INACTIVE", + Issued = "ISSUED", + PendingValidation = "PENDING_VALIDATION", + Revoked = "REVOKED", + Unknown = "UNKNOWN", + ValidationTimedOut = "VALIDATION_TIMED_OUT", +} + +/** + *

                        Describes a load balancer SSL/TLS certificate.

                        + *

                        TLS is just an updated, more secure version of Secure Socket Layer (SSL).

                        + */ +export interface LoadBalancerTlsCertificate { + /** + *

                        The timestamp when the certificate was revoked. This value is present only when the + * certificate status is REVOKED.

                        + */ + revokedAt?: Date; + + /** + *

                        An array of strings that specify the alternate domains (e.g., example2.com) + * and subdomains (e.g., blog.example.com) for the certificate.

                        + */ + subjectAlternativeNames?: string[]; + + /** + *

                        The reason the certificate was revoked. This value is present only when the certificate + * status is REVOKED.

                        + */ + revocationReason?: LoadBalancerTlsCertificateRevocationReason | string; + + /** + *

                        The name of the entity that is associated with the public key contained in the + * certificate.

                        + */ + subject?: string; + + /** + *

                        The issuer of the certificate.

                        + */ + issuer?: string; + + /** + *

                        The algorithm used to generate the key pair (the public and private key).

                        + */ + keyAlgorithm?: string; + + /** + *

                        An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the + * records.

                        + */ + domainValidationRecords?: LoadBalancerTlsCertificateDomainValidationRecord[]; + + /** + *

                        The load balancer name where your SSL/TLS certificate is attached.

                        + */ + loadBalancerName?: string; + + /** + *

                        The time when you created your SSL/TLS certificate.

                        + */ + createdAt?: Date; + + /** + *

                        The time when the SSL/TLS certificate was issued.

                        + */ + issuedAt?: Date; + + /** + *

                        An object that describes the status of the certificate renewal managed by + * Lightsail.

                        + */ + renewalSummary?: LoadBalancerTlsCertificateRenewalSummary; + + /** + *

                        The timestamp when the SSL/TLS certificate expires.

                        + */ + notAfter?: Date; + + /** + *

                        The Amazon Resource Name (ARN) of the SSL/TLS certificate.

                        + */ + arn?: string; + + /** + *

                        The validation status of the SSL/TLS certificate. Valid values are below.

                        + */ + status?: LoadBalancerTlsCertificateStatus | string; + + /** + *

                        The AWS Region and Availability Zone where you created your certificate.

                        + */ + location?: ResourceLocation; + + /** + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        + */ + tags?: Tag[]; + + /** + *

                        The algorithm that was used to sign the certificate.

                        + */ + signatureAlgorithm?: string; + + /** + *

                        The validation failure reason, if any, of the certificate.

                        + * + *

                        The following failure reasons are possible:

                        + *
                          + *
                        • + *

                          + * + * NO_AVAILABLE_CONTACTS + * - This failure + * applies to email validation, which is not available for Lightsail certificates.

                          + *
                        • + *
                        • + *

                          + * + * ADDITIONAL_VERIFICATION_REQUIRED + * - + * Lightsail requires additional information to process this certificate request. This can + * happen as a fraud-protection measure, such as when the domain ranks within the Alexa top + * 1000 websites. To provide the required information, use the AWS Support Center to contact + * AWS Support.

                          + * + *

                          You cannot request a certificate for Amazon-owned domain names such as those ending + * in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.

                          + *
                          + *
                        • + *
                        • + *

                          + * + * DOMAIN_NOT_ALLOWED + * - One or more of the + * domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the + * problem, search for your domain name on the VirusTotal website. If your domain + * is reported as suspicious, see Google Help for Hacked + * Websites to learn what you can do.

                          + *

                          If you believe that the result is a false positive, notify the organization that is + * reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and + * cannot remove your domain from a block list itself. After you correct the problem and the + * VirusTotal registry has been updated, request a new certificate.

                          + *

                          If you see this error and your domain is not included in the VirusTotal list, visit + * the AWS Support Center + * and create a case.

                          + *
                        • + *
                        • + *

                          + * + * INVALID_PUBLIC_DOMAIN + * - One or more of + * the domain names in the certificate request is not valid. Typically, this is because a + * domain name in the request is not a valid top-level domain. Try to request a certificate + * again, correcting any spelling errors or typos that were in the failed request, and ensure + * that all domain names in the request are for valid top-level domains. For example, you + * cannot request a certificate for example.invalidpublicdomain because + * invalidpublicdomain is not a valid top-level domain.

                          + *
                        • + *
                        • + *

                          + * + * OTHER + * - Typically, this failure occurs + * when there is a typographical error in one or more of the domain names in the certificate + * request. Try to request a certificate again, correcting any spelling errors or typos that + * were in the failed request.

                          + *
                        • + *
                        + */ + failureReason?: LoadBalancerTlsCertificateFailureReason | string; + + /** + *

                        The domain name for your SSL/TLS certificate.

                        + */ + domainName?: string; + + /** + *

                        The timestamp when the SSL/TLS certificate is first valid.

                        + */ + notBefore?: Date; + + /** + *

                        The name of the SSL/TLS certificate (e.g., my-certificate).

                        + */ + name?: string; + + /** + *

                        The serial number of the certificate.

                        + */ + serial?: string; + + /** + *

                        The resource type (e.g., LoadBalancerTlsCertificate).

                        + *
                          + *
                        • + *

                          + * + * Instance + * - A Lightsail instance (a + * virtual private server)

                          + *
                        • + *
                        • + *

                          + * + * StaticIp + * - A static IP address

                          + *
                        • + *
                        • + *

                          + * + * KeyPair + * - The key pair used to connect + * to a Lightsail instance

                          + *
                        • + *
                        • + *

                          + * + * InstanceSnapshot + * - A Lightsail + * instance snapshot

                          + *
                        • + *
                        • + *

                          + * + * Domain + * - A DNS zone

                          + *
                        • + *
                        • + *

                          + * + * PeeredVpc + * - A peered VPC

                          + *
                        • + *
                        • + *

                          + * + * LoadBalancer + * - A Lightsail load + * balancer

                          + *
                        • + *
                        • + *

                          + * + * LoadBalancerTlsCertificate + * - An SSL/TLS + * certificate associated with a Lightsail load balancer

                          + *
                        • + *
                        • + *

                          + * + * Disk + * - A Lightsail block storage + * disk

                          + *
                        • + *
                        • + *

                          + * + * DiskSnapshot + * - A block storage disk + * snapshot

                          + *
                        • + *
                        + */ + resourceType?: ResourceType | string; + + /** + *

                        When true, the SSL/TLS certificate is attached to the Lightsail load + * balancer.

                        + */ + isAttached?: boolean; + + /** + *

                        The support code. Include this code in your email to support when you have questions about + * your Lightsail load balancer or SSL/TLS certificate. This code enables our support team to + * look up your Lightsail information more easily.

                        + */ + supportCode?: string; +} + +export namespace LoadBalancerTlsCertificate { + export const filterSensitiveLog = (obj: LoadBalancerTlsCertificate): any => ({ + ...obj, + }); +} + +export interface GetLoadBalancerTlsCertificatesResult { + /** + *

                        An array of LoadBalancerTlsCertificate objects describing your SSL/TLS + * certificates.

                        + */ + tlsCertificates?: LoadBalancerTlsCertificate[]; +} + +export namespace GetLoadBalancerTlsCertificatesResult { + export const filterSensitiveLog = (obj: GetLoadBalancerTlsCertificatesResult): any => ({ + ...obj, + }); +} + +export interface GetOperationRequest { + /** + *

                        A GUID used to identify the operation.

                        + */ + operationId: string | undefined; +} + +export namespace GetOperationRequest { + export const filterSensitiveLog = (obj: GetOperationRequest): any => ({ + ...obj, + }); +} + +export interface GetOperationResult { + /** + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        + */ + operation?: Operation; +} + +export namespace GetOperationResult { + export const filterSensitiveLog = (obj: GetOperationResult): any => ({ + ...obj, + }); +} + +export interface GetOperationsRequest { + /** + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetOperations request. If your + * results are paginated, the response will return a next page token that you can specify as the + * page token in a subsequent request.

                        + */ + pageToken?: string; +} + +export namespace GetOperationsRequest { + export const filterSensitiveLog = (obj: GetOperationsRequest): any => ({ + ...obj, + }); +} + +export interface GetOperationsResult { + /** + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        + */ + operations?: Operation[]; + + /** + *

                        The token to advance to the next page of results from your request.

                        + *

                        A next page token is not returned if there are no more results to display.

                        + *

                        To get the next page of results, perform another GetOperations request and + * specify the next page token using the pageToken parameter.

                        + */ + nextPageToken?: string; +} + +export namespace GetOperationsResult { + export const filterSensitiveLog = (obj: GetOperationsResult): any => ({ + ...obj, + }); +} + +export interface GetOperationsForResourceRequest { + /** + *

                        The name of the resource for which you are requesting information.

                        + */ + resourceName: string | undefined; + + /** + *

                        The token to advance to the next page of results from your request.

                        + *

                        To get a page token, perform an initial GetOperationsForResource request. If + * your results are paginated, the response will return a next page token that you can specify as + * the page token in a subsequent request.

                        + */ + pageToken?: string; +} + +export namespace GetOperationsForResourceRequest { + export const filterSensitiveLog = (obj: GetOperationsForResourceRequest): any => ({ + ...obj, + }); +} + +export interface GetOperationsForResourceResult { + /** + *

                        (Deprecated) Returns the number of pages of results that remain.

                        + * + *

                        In releases prior to June 12, 2017, this parameter returned null by the + * API. It is now deprecated, and the API returns the next page token parameter + * instead.

                        + *
                        + */ + nextPageCount?: string; + + /** + *

                        The token to advance to the next page of results from your request.

                        + *

                        A next page token is not returned if there are no more results to display.

                        + *

                        To get the next page of results, perform another GetOperationsForResource + * request and specify the next page token using the pageToken parameter.

                        + */ + nextPageToken?: string; + + /** + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        + */ + operations?: Operation[]; +} + +export namespace GetOperationsForResourceResult { + export const filterSensitiveLog = (obj: GetOperationsForResourceResult): any => ({ + ...obj, + }); +} + +export interface GetRegionsRequest { + /** + *

                        A Boolean value indicating whether to also include Availability Zones in your get regions + * request. Availability Zones are indicated with a letter: e.g., us-east-2a.

                        + */ + includeAvailabilityZones?: boolean; + + /** + *

                        A Boolean value indicating whether to also include Availability Zones for databases in + * your get regions request. Availability Zones are indicated with a letter (e.g., + * us-east-2a).

                        + */ + includeRelationalDatabaseAvailabilityZones?: boolean; +} + +export namespace GetRegionsRequest { + export const filterSensitiveLog = (obj: GetRegionsRequest): any => ({ + ...obj, + }); +} + +/** + *

                        Describes the AWS Region.

                        + */ +export interface Region { + /** + *

                        The Availability Zones. Follows the format us-east-2a + * (case-sensitive).

                        + */ + availabilityZones?: AvailabilityZone[]; + + /** + *

                        The region name (e.g., us-east-2).

                        + */ + name?: RegionName | string; + + /** + *

                        The display name (e.g., Ohio).

                        + */ + displayName?: string; + + /** + *

                        The continent code (e.g., NA, meaning North America).

                        + */ + continentCode?: string; + + /** + *

                        The Availability Zones for databases. Follows the format us-east-2a + * (case-sensitive).

                        + */ + relationalDatabaseAvailabilityZones?: AvailabilityZone[]; + + /** + *

                        The description of the AWS Region (e.g., This region is recommended to serve users + * in the eastern United States and eastern Canada).

                        + */ + description?: string; +} + +export namespace Region { + export const filterSensitiveLog = (obj: Region): any => ({ + ...obj, + }); +} + +export interface GetRegionsResult { + /** + *

                        An array of key-value pairs containing information about your get regions request.

                        + */ + regions?: Region[]; +} + +export namespace GetRegionsResult { + export const filterSensitiveLog = (obj: GetRegionsResult): any => ({ + ...obj, + }); +} + +export interface GetRelationalDatabaseRequest { + /** + *

                        The name of the database that you are looking up.

                        + */ + relationalDatabaseName: string | undefined; +} + +export namespace GetRelationalDatabaseRequest { + export const filterSensitiveLog = (obj: GetRelationalDatabaseRequest): any => ({ + ...obj, + }); +} + +/** + *

                        Describes the hardware of a database.

                        + */ +export interface RelationalDatabaseHardware { + /** + *

                        The size of the disk for the database.

                        + */ + diskSizeInGb?: number; + + /** + *

                        The amount of RAM in GB for the database.

                        + */ + ramSizeInGb?: number; + + /** + *

                        The number of vCPUs for the database.

                        + */ + cpuCount?: number; +} + +export namespace RelationalDatabaseHardware { + export const filterSensitiveLog = (obj: RelationalDatabaseHardware): any => ({ + ...obj, + }); +} + +/** + *

                        Describes an endpoint for a database.

                        + */ +export interface RelationalDatabaseEndpoint { + /** + *

                        Specifies the DNS address of the database.

                        + */ + address?: string; + + /** + *

                        Specifies the port that the database is listening on.

                        + */ + port?: number; +} + +export namespace RelationalDatabaseEndpoint { + export const filterSensitiveLog = (obj: RelationalDatabaseEndpoint): any => ({ + ...obj, + }); +} + +/** + *

                        Describes a pending database maintenance action.

                        + */ +export interface PendingMaintenanceAction { + /** + *

                        The effective date of the pending database maintenance action.

                        + */ + currentApplyDate?: Date; + + /** + *

                        Additional detail about the pending database maintenance action.

                        + */ + description?: string; + + /** + *

                        The type of pending database maintenance action.

                        + */ + action?: string; +} + +export namespace PendingMaintenanceAction { + export const filterSensitiveLog = (obj: PendingMaintenanceAction): any => ({ + ...obj, + }); +} + /** *

                        Describes a pending database value modification.

                        */ export interface PendingModifiedRelationalDatabaseValues { + /** + *

                        The password for the master user of the database.

                        + */ + masterUserPassword?: string; + /** *

                        A Boolean value indicating whether automated backup retention is enabled.

                        */ @@ -38,11 +1516,6 @@ export interface PendingModifiedRelationalDatabaseValues { *

                        The database engine version.

                        */ engineVersion?: string; - - /** - *

                        The password for the master user of the database.

                        - */ - masterUserPassword?: string; } export namespace PendingModifiedRelationalDatabaseValues { @@ -56,149 +1529,149 @@ export namespace PendingModifiedRelationalDatabaseValues { */ export interface RelationalDatabase { /** - *

                        Describes the secondary Availability Zone of a high availability database.

                        - *

                        The secondary database is used for failover support of a high availability + *

                        A Boolean value indicating whether automated backup retention is enabled for the * database.

                        */ - secondaryAvailabilityZone?: string; + backupRetentionEnabled?: boolean; /** - *

                        Describes pending database value modifications.

                        + *

                        The database software (for example, MySQL).

                        */ - pendingModifiedValues?: PendingModifiedRelationalDatabaseValues; + engine?: string; /** - *

                        The timestamp when the database was created. Formatted in Unix time.

                        + *

                        The daily time range during which automated backups are created for the database (for + * example, 16:00-16:30).

                        */ - createdAt?: Date; + preferredBackupWindow?: string; /** - *

                        The Amazon Resource Name (ARN) of the database.

                        + *

                        The database engine version (for example, 5.7.23).

                        */ - arn?: string; + engineVersion?: string; /** - *

                        The latest point in time to which the database can be restored. Formatted in Unix - * time.

                        + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        */ - latestRestorableTime?: Date; + tags?: Tag[]; /** - *

                        The weekly time range during which system maintenance can occur on the database.

                        - *

                        In the format ddd:hh24:mi-ddd:hh24:mi. For example, - * Tue:17:00-Tue:17:30.

                        + *

                        The master user name of the database.

                        */ - preferredMaintenanceWindow?: string; + masterUsername?: string; /** - *

                        The unique name of the database resource in Lightsail.

                        + *

                        Describes the current state of the database.

                        */ - name?: string; + state?: string; /** - *

                        Describes the current state of the database.

                        + *

                        The certificate associated with the database.

                        */ - state?: string; + caCertificateIdentifier?: string; /** - *

                        The Lightsail resource type for the database (for example, - * RelationalDatabase).

                        + *

                        A Boolean value indicating whether the database is publicly accessible.

                        */ - resourceType?: ResourceType | string; + publiclyAccessible?: boolean; /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        + *

                        Describes the hardware of the database.

                        */ - tags?: Tag[]; + hardware?: RelationalDatabaseHardware; /** - *

                        The Region name and Availability Zone where the database is located.

                        + *

                        The Amazon Resource Name (ARN) of the database.

                        */ - location?: ResourceLocation; + arn?: string; /** - *

                        The blueprint ID for the database. A blueprint describes the major engine version of a - * database.

                        + *

                        The name of the master database created when the Lightsail database resource is + * created.

                        */ - relationalDatabaseBlueprintId?: string; + masterDatabaseName?: string; /** - *

                        The master user name of the database.

                        + *

                        Describes the pending maintenance actions for the database.

                        */ - masterUsername?: string; + pendingMaintenanceActions?: PendingMaintenanceAction[]; /** - *

                        The database engine version (for example, 5.7.23).

                        + *

                        Describes pending database value modifications.

                        */ - engineVersion?: string; + pendingModifiedValues?: PendingModifiedRelationalDatabaseValues; /** - *

                        The name of the master database created when the Lightsail database resource is - * created.

                        + *

                        The blueprint ID for the database. A blueprint describes the major engine version of a + * database.

                        */ - masterDatabaseName?: string; + relationalDatabaseBlueprintId?: string; /** - *

                        The support code for the database. Include this code in your email to support when you - * have questions about a database in Lightsail. This code enables our support team to look up - * your Lightsail information more easily.

                        + *

                        The weekly time range during which system maintenance can occur on the database.

                        + *

                        In the format ddd:hh24:mi-ddd:hh24:mi. For example, + * Tue:17:00-Tue:17:30.

                        */ - supportCode?: string; + preferredMaintenanceWindow?: string; /** - *

                        The database software (for example, MySQL).

                        + *

                        Describes the secondary Availability Zone of a high availability database.

                        + *

                        The secondary database is used for failover support of a high availability + * database.

                        */ - engine?: string; + secondaryAvailabilityZone?: string; /** - *

                        A Boolean value indicating whether the database is publicly accessible.

                        + *

                        The timestamp when the database was created. Formatted in Unix time.

                        */ - publiclyAccessible?: boolean; + createdAt?: Date; /** - *

                        A Boolean value indicating whether automated backup retention is enabled for the - * database.

                        + *

                        The status of parameter updates for the database.

                        */ - backupRetentionEnabled?: boolean; + parameterApplyStatus?: string; /** - *

                        Describes the hardware of the database.

                        + *

                        The bundle ID for the database. A bundle describes the performance specifications for your + * database.

                        */ - hardware?: RelationalDatabaseHardware; + relationalDatabaseBundleId?: string; /** - *

                        Describes the pending maintenance actions for the database.

                        + *

                        The master endpoint for the database.

                        */ - pendingMaintenanceActions?: PendingMaintenanceAction[]; + masterEndpoint?: RelationalDatabaseEndpoint; /** - *

                        The certificate associated with the database.

                        + *

                        The support code for the database. Include this code in your email to support when you + * have questions about a database in Lightsail. This code enables our support team to look up + * your Lightsail information more easily.

                        */ - caCertificateIdentifier?: string; + supportCode?: string; /** - *

                        The status of parameter updates for the database.

                        + *

                        The Region name and Availability Zone where the database is located.

                        */ - parameterApplyStatus?: string; + location?: ResourceLocation; /** - *

                        The master endpoint for the database.

                        + *

                        The Lightsail resource type for the database (for example, + * RelationalDatabase).

                        */ - masterEndpoint?: RelationalDatabaseEndpoint; + resourceType?: ResourceType | string; /** - *

                        The daily time range during which automated backups are created for the database (for - * example, 16:00-16:30).

                        + *

                        The latest point in time to which the database can be restored. Formatted in Unix + * time.

                        */ - preferredBackupWindow?: string; + latestRestorableTime?: Date; /** - *

                        The bundle ID for the database. A bundle describes the performance specifications for your - * database.

                        + *

                        The unique name of the database resource in Lightsail.

                        */ - relationalDatabaseBundleId?: string; + name?: string; } export namespace RelationalDatabase { @@ -246,36 +1719,36 @@ export enum RelationalDatabaseEngine { */ export interface RelationalDatabaseBlueprint { /** - *

                        The description of the database engine for the database blueprint.

                        + *

                        The description of the database engine version for the database blueprint.

                        */ - engineDescription?: string; + engineVersionDescription?: string; /** - *

                        The ID for the database blueprint.

                        + *

                        A Boolean value indicating whether the engine version is the default for the database + * blueprint.

                        */ - blueprintId?: string; + isEngineDefault?: boolean; /** - *

                        The database engine version for the database blueprint (for example, - * 5.7.23).

                        + *

                        The ID for the database blueprint.

                        */ - engineVersion?: string; + blueprintId?: string; /** - *

                        A Boolean value indicating whether the engine version is the default for the database - * blueprint.

                        + *

                        The database software of the database blueprint (for example, MySQL).

                        */ - isEngineDefault?: boolean; + engine?: RelationalDatabaseEngine | string; /** - *

                        The description of the database engine version for the database blueprint.

                        + *

                        The description of the database engine for the database blueprint.

                        */ - engineVersionDescription?: string; + engineDescription?: string; /** - *

                        The database software of the database blueprint (for example, MySQL).

                        + *

                        The database engine version for the database blueprint (for example, + * 5.7.23).

                        */ - engine?: RelationalDatabaseEngine | string; + engineVersion?: string; } export namespace RelationalDatabaseBlueprint { @@ -286,18 +1759,18 @@ export namespace RelationalDatabaseBlueprint { export interface GetRelationalDatabaseBlueprintsResult { /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        An object describing the result of your get relational database blueprints request.

                        + */ + blueprints?: RelationalDatabaseBlueprint[]; + + /** + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another * GetRelationalDatabaseBlueprints request and specify the next page token using * the pageToken parameter.

                        */ nextPageToken?: string; - - /** - *

                        An object describing the result of your get relational database blueprints request.

                        - */ - blueprints?: RelationalDatabaseBlueprint[]; } export namespace GetRelationalDatabaseBlueprintsResult { @@ -328,14 +1801,19 @@ export namespace GetRelationalDatabaseBundlesRequest { */ export interface RelationalDatabaseBundle { /** - *

                        The amount of RAM in GB (for example, 2.0) for the database bundle.

                        + *

                        The cost of the database bundle in US currency.

                        */ - ramSizeInGb?: number; + price?: number; /** - *

                        The number of virtual CPUs (vCPUs) for the database bundle.

                        + *

                        The ID for the database bundle.

                        */ - cpuCount?: number; + bundleId?: string; + + /** + *

                        A Boolean value indicating whether the database bundle is encrypted.

                        + */ + isEncrypted?: boolean; /** *

                        The data transfer rate per month in GB for the database bundle.

                        @@ -348,24 +1826,19 @@ export interface RelationalDatabaseBundle { diskSizeInGb?: number; /** - *

                        A Boolean value indicating whether the database bundle is encrypted.

                        - */ - isEncrypted?: boolean; - - /** - *

                        The name for the database bundle.

                        + *

                        The number of virtual CPUs (vCPUs) for the database bundle.

                        */ - name?: string; + cpuCount?: number; /** - *

                        The ID for the database bundle.

                        + *

                        The amount of RAM in GB (for example, 2.0) for the database bundle.

                        */ - bundleId?: string; + ramSizeInGb?: number; /** - *

                        The cost of the database bundle in US currency.

                        + *

                        The name for the database bundle.

                        */ - price?: number; + name?: string; /** *

                        A Boolean value indicating whether the database bundle is active.

                        @@ -381,17 +1854,17 @@ export namespace RelationalDatabaseBundle { export interface GetRelationalDatabaseBundlesResult { /** - *

                        An object describing the result of your get relational database bundles request.

                        - */ - bundles?: RelationalDatabaseBundle[]; - - /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another GetRelationalDatabaseBundles * request and specify the next page token using the pageToken parameter.

                        */ nextPageToken?: string; + + /** + *

                        An object describing the result of your get relational database bundles request.

                        + */ + bundles?: RelationalDatabaseBundle[]; } export namespace GetRelationalDatabaseBundlesResult { @@ -401,6 +1874,11 @@ export namespace GetRelationalDatabaseBundlesResult { } export interface GetRelationalDatabaseEventsRequest { + /** + *

                        The name of the database from which to get events.

                        + */ + relationalDatabaseName: string | undefined; + /** *

                        The number of minutes in the past from which to retrieve events. For example, to get all * events from the past 2 hours, enter 120.

                        @@ -416,12 +1894,7 @@ export interface GetRelationalDatabaseEventsRequest { * If your results are paginated, the response will return a next page token that you can specify * as the page token in a subsequent request.

                        */ - pageToken?: string; - - /** - *

                        The name of the database from which to get events.

                        - */ - relationalDatabaseName: string | undefined; + pageToken?: string; } export namespace GetRelationalDatabaseEventsRequest { @@ -435,24 +1908,24 @@ export namespace GetRelationalDatabaseEventsRequest { */ export interface RelationalDatabaseEvent { /** - *

                        The category that the database event belongs to.

                        + *

                        The database that the database event relates to.

                        */ - eventCategories?: string[]; + resource?: string; /** - *

                        The message of the database event.

                        + *

                        The timestamp when the database event was created.

                        */ - message?: string; + createdAt?: Date; /** - *

                        The timestamp when the database event was created.

                        + *

                        The category that the database event belongs to.

                        */ - createdAt?: Date; + eventCategories?: string[]; /** - *

                        The database that the database event relates to.

                        + *

                        The message of the database event.

                        */ - resource?: string; + message?: string; } export namespace RelationalDatabaseEvent { @@ -463,7 +1936,7 @@ export namespace RelationalDatabaseEvent { export interface GetRelationalDatabaseEventsResult { /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another GetRelationalDatabaseEvents * request and specify the next page token using the pageToken parameter.

                        @@ -484,23 +1957,16 @@ export namespace GetRelationalDatabaseEventsResult { export interface GetRelationalDatabaseLogEventsRequest { /** - *

                        Parameter to specify if the log should start from head or tail. If true is - * specified, the log event starts from the head of the log. If false is specified, - * the log event starts from the tail of the log.

                        - * - *

                        For PostgreSQL, the default value of false is the only option - * available.

                        - *
                        + *

                        The name of your database for which to get log events.

                        */ - startFromHead?: boolean; + relationalDatabaseName: string | undefined; /** - *

                        The token to advance to the next or previous page of results from your request.

                        - *

                        To get a page token, perform an initial GetRelationalDatabaseLogEvents - * request. If your results are paginated, the response will return a next forward token and/or - * next backward token that you can specify as the page token in a subsequent request.

                        + *

                        The name of the log stream.

                        + *

                        Use the get relational database log streams operation to get a list of + * available log streams.

                        */ - pageToken?: string; + logStreamName: string | undefined; /** *

                        The end of the time interval from which to get log events.

                        @@ -520,16 +1986,23 @@ export interface GetRelationalDatabaseLogEventsRequest { endTime?: Date; /** - *

                        The name of the log stream.

                        - *

                        Use the get relational database log streams operation to get a list of - * available log streams.

                        + *

                        The token to advance to the next or previous page of results from your request.

                        + *

                        To get a page token, perform an initial GetRelationalDatabaseLogEvents + * request. If your results are paginated, the response will return a next forward token and/or + * next backward token that you can specify as the page token in a subsequent request.

                        */ - logStreamName: string | undefined; + pageToken?: string; /** - *

                        The name of your database for which to get log events.

                        + *

                        Parameter to specify if the log should start from head or tail. If true is + * specified, the log event starts from the head of the log. If false is specified, + * the log event starts from the tail of the log.

                        + * + *

                        For PostgreSQL, the default value of false is the only option + * available.

                        + *
                        */ - relationalDatabaseName: string | undefined; + startFromHead?: boolean; /** *

                        The start of the time interval from which to get log events.

                        @@ -559,14 +2032,14 @@ export namespace GetRelationalDatabaseLogEventsRequest { */ export interface LogEvent { /** - *

                        The message of the database log event.

                        + *

                        The timestamp when the database log event was created.

                        */ - message?: string; + createdAt?: Date; /** - *

                        The timestamp when the database log event was created.

                        + *

                        The message of the database log event.

                        */ - createdAt?: Date; + message?: string; } export namespace LogEvent { @@ -577,15 +2050,15 @@ export namespace LogEvent { export interface GetRelationalDatabaseLogEventsResult { /** - *

                        A token used for advancing to the next page of results from your get relational database - * log events request.

                        + *

                        An object describing the result of your get relational database log events request.

                        */ - nextForwardToken?: string; + resourceLogEvents?: LogEvent[]; /** - *

                        An object describing the result of your get relational database log events request.

                        + *

                        A token used for advancing to the next page of results from your get relational database + * log events request.

                        */ - resourceLogEvents?: LogEvent[]; + nextForwardToken?: string; /** *

                        A token used for advancing to the previous page of results from your get relational @@ -634,11 +2107,6 @@ export enum RelationalDatabasePasswordVersion { } export interface GetRelationalDatabaseMasterUserPasswordRequest { - /** - *

                        The name of your database for which to get the master user password.

                        - */ - relationalDatabaseName: string | undefined; - /** *

                        The password version to return.

                        *

                        Specifying CURRENT or PREVIOUS returns the current or previous @@ -650,6 +2118,11 @@ export interface GetRelationalDatabaseMasterUserPasswordRequest { *

                        */ passwordVersion?: RelationalDatabasePasswordVersion | string; + + /** + *

                        The name of your database for which to get the master user password.

                        + */ + relationalDatabaseName: string | undefined; } export namespace GetRelationalDatabaseMasterUserPasswordRequest { @@ -687,59 +2160,11 @@ export enum RelationalDatabaseMetricName { } export interface GetRelationalDatabaseMetricDataRequest { - /** - *

                        The granularity, in seconds, of the returned data points.

                        - *

                        All relational database metric data is available in 1-minute (60 seconds) - * granularity.

                        - */ - period: number | undefined; - - /** - *

                        The start of the time interval from which to get metric data.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Specified in Coordinated Universal Time (UTC).

                          - *
                        • - *
                        • - *

                          Specified in the Unix time format.

                          - *

                          For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you - * input 1538424000 as the start time.

                          - * - *
                        • - *
                        - */ - startTime: Date | undefined; - - /** - *

                        The unit for the metric data request. Valid units depend on the metric data being - * requested. For the valid units with each available metric, see the metricName - * parameter.

                        - */ - unit: MetricUnit | string | undefined; - /** *

                        The name of your database from which to get metric data.

                        */ relationalDatabaseName: string | undefined; - /** - *

                        The end of the time interval from which to get metric data.

                        - *

                        Constraints:

                        - *
                          - *
                        • - *

                          Specified in Coordinated Universal Time (UTC).

                          - *
                        • - *
                        • - *

                          Specified in the Unix time format.

                          - *

                          For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you - * input 1538424000 as the end time.

                          - * - *
                        • - *
                        - */ - endTime: Date | undefined; - /** *

                        The metric for which you want to return information.

                        *

                        Valid relational database metric names are listed below, along with the most useful @@ -821,6 +2246,54 @@ export interface GetRelationalDatabaseMetricDataRequest { */ metricName: RelationalDatabaseMetricName | string | undefined; + /** + *

                        The end of the time interval from which to get metric data.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Specified in Coordinated Universal Time (UTC).

                          + *
                        • + *
                        • + *

                          Specified in the Unix time format.

                          + *

                          For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you + * input 1538424000 as the end time.

                          + * + *
                        • + *
                        + */ + endTime: Date | undefined; + + /** + *

                        The start of the time interval from which to get metric data.

                        + *

                        Constraints:

                        + *
                          + *
                        • + *

                          Specified in Coordinated Universal Time (UTC).

                          + *
                        • + *
                        • + *

                          Specified in the Unix time format.

                          + *

                          For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you + * input 1538424000 as the start time.

                          + * + *
                        • + *
                        + */ + startTime: Date | undefined; + + /** + *

                        The granularity, in seconds, of the returned data points.

                        + *

                        All relational database metric data is available in 1-minute (60 seconds) + * granularity.

                        + */ + period: number | undefined; + + /** + *

                        The unit for the metric data request. Valid units depend on the metric data being + * requested. For the valid units with each available metric, see the metricName + * parameter.

                        + */ + unit: MetricUnit | string | undefined; + /** *

                        The statistic for the metric.

                        *

                        The following statistics are available:

                        @@ -865,14 +2338,14 @@ export namespace GetRelationalDatabaseMetricDataRequest { export interface GetRelationalDatabaseMetricDataResult { /** - *

                        The name of the metric returned.

                        + *

                        An array of objects that describe the metric data returned.

                        */ - metricName?: RelationalDatabaseMetricName | string; + metricData?: MetricDatapoint[]; /** - *

                        An array of objects that describe the metric data returned.

                        + *

                        The name of the metric returned.

                        */ - metricData?: MetricDatapoint[]; + metricName?: RelationalDatabaseMetricName | string; } export namespace GetRelationalDatabaseMetricDataResult { @@ -907,9 +2380,15 @@ export namespace GetRelationalDatabaseParametersRequest { */ export interface RelationalDatabaseParameter { /** - *

                        Specifies the valid range of values for the parameter.

                        + *

                        Indicates when parameter updates are applied.

                        + *

                        Can be immediate or pending-reboot.

                        */ - allowedValues?: string; + applyMethod?: string; + + /** + *

                        Specifies the name of the parameter.

                        + */ + parameterName?: string; /** *

                        A Boolean value indicating whether the parameter can be modified.

                        @@ -917,15 +2396,14 @@ export interface RelationalDatabaseParameter { isModifiable?: boolean; /** - *

                        Specifies the value of the parameter.

                        + *

                        Provides a description of the parameter.

                        */ - parameterValue?: string; + description?: string; /** - *

                        Indicates when parameter updates are applied.

                        - *

                        Can be immediate or pending-reboot.

                        + *

                        Specifies the valid range of values for the parameter.

                        */ - applyMethod?: string; + allowedValues?: string; /** *

                        Specifies the engine-specific parameter type.

                        @@ -933,19 +2411,14 @@ export interface RelationalDatabaseParameter { applyType?: string; /** - *

                        Provides a description of the parameter.

                        - */ - description?: string; - - /** - *

                        Specifies the name of the parameter.

                        + *

                        Specifies the valid data type for the parameter.

                        */ - parameterName?: string; + dataType?: string; /** - *

                        Specifies the valid data type for the parameter.

                        + *

                        Specifies the value of the parameter.

                        */ - dataType?: string; + parameterValue?: string; } export namespace RelationalDatabaseParameter { @@ -956,18 +2429,18 @@ export namespace RelationalDatabaseParameter { export interface GetRelationalDatabaseParametersResult { /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        An object describing the result of your get relational database parameters request.

                        + */ + parameters?: RelationalDatabaseParameter[]; + + /** + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another * GetRelationalDatabaseParameters request and specify the next page token using * the pageToken parameter.

                        */ nextPageToken?: string; - - /** - *

                        An object describing the result of your get relational database parameters request.

                        - */ - parameters?: RelationalDatabaseParameter[]; } export namespace GetRelationalDatabaseParametersResult { @@ -994,17 +2467,17 @@ export namespace GetRelationalDatabasesRequest { export interface GetRelationalDatabasesResult { /** - *

                        An object describing the result of your get relational databases request.

                        - */ - relationalDatabases?: RelationalDatabase[]; - - /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another GetRelationalDatabases * request and specify the next page token using the pageToken parameter.

                        */ nextPageToken?: string; + + /** + *

                        An object describing the result of your get relational databases request.

                        + */ + relationalDatabases?: RelationalDatabase[]; } export namespace GetRelationalDatabasesResult { @@ -1031,9 +2504,9 @@ export namespace GetRelationalDatabaseSnapshotRequest { */ export interface RelationalDatabaseSnapshot { /** - *

                        The timestamp when the database snapshot was created.

                        + *

                        The software of the database snapshot (for example, MySQL)

                        */ - createdAt?: Date; + engine?: string; /** *

                        The Lightsail resource type.

                        @@ -1041,77 +2514,77 @@ export interface RelationalDatabaseSnapshot { resourceType?: ResourceType | string; /** - *

                        The name of the database snapshot.

                        + *

                        The tag keys and optional values for the resource. For more information about tags in + * Lightsail, see the Lightsail + * Dev Guide.

                        */ - name?: string; + tags?: Tag[]; /** - *

                        The software of the database snapshot (for example, MySQL)

                        + *

                        The name of the source database from which the database snapshot was created.

                        */ - engine?: string; + fromRelationalDatabaseName?: string; /** - *

                        The Amazon Resource Name (ARN) of the database from which the database snapshot was - * created.

                        + *

                        The timestamp when the database snapshot was created.

                        */ - fromRelationalDatabaseArn?: string; + createdAt?: Date; /** - *

                        The support code for the database snapshot. Include this code in your email to support - * when you have questions about a database snapshot in Lightsail. This code enables our - * support team to look up your Lightsail information more easily.

                        + *

                        The Region name and Availability Zone where the database snapshot is located.

                        */ - supportCode?: string; + location?: ResourceLocation; /** - *

                        The state of the database snapshot.

                        + *

                        The database engine version for the database snapshot (for example, + * 5.7.23).

                        */ - state?: string; + engineVersion?: string; /** - *

                        The size of the disk in GB (for example, 32) for the database - * snapshot.

                        + *

                        The blueprint ID of the database from which the database snapshot was created. A blueprint + * describes the major engine version of a database.

                        */ - sizeInGb?: number; + fromRelationalDatabaseBlueprintId?: string; /** - *

                        The bundle ID of the database from which the database snapshot was created.

                        + *

                        The Amazon Resource Name (ARN) of the database snapshot.

                        */ - fromRelationalDatabaseBundleId?: string; + arn?: string; /** - *

                        The name of the source database from which the database snapshot was created.

                        + *

                        The support code for the database snapshot. Include this code in your email to support + * when you have questions about a database snapshot in Lightsail. This code enables our + * support team to look up your Lightsail information more easily.

                        */ - fromRelationalDatabaseName?: string; + supportCode?: string; /** - *

                        The database engine version for the database snapshot (for example, - * 5.7.23).

                        + *

                        The bundle ID of the database from which the database snapshot was created.

                        */ - engineVersion?: string; + fromRelationalDatabaseBundleId?: string; /** - *

                        The tag keys and optional values for the resource. For more information about tags in - * Lightsail, see the Lightsail - * Dev Guide.

                        + *

                        The name of the database snapshot.

                        */ - tags?: Tag[]; + name?: string; /** - *

                        The Amazon Resource Name (ARN) of the database snapshot.

                        + *

                        The state of the database snapshot.

                        */ - arn?: string; + state?: string; /** - *

                        The Region name and Availability Zone where the database snapshot is located.

                        + *

                        The Amazon Resource Name (ARN) of the database from which the database snapshot was + * created.

                        */ - location?: ResourceLocation; + fromRelationalDatabaseArn?: string; /** - *

                        The blueprint ID of the database from which the database snapshot was created. A blueprint - * describes the major engine version of a database.

                        + *

                        The size of the disk in GB (for example, 32) for the database + * snapshot.

                        */ - fromRelationalDatabaseBlueprintId?: string; + sizeInGb?: number; } export namespace RelationalDatabaseSnapshot { @@ -1151,7 +2624,7 @@ export namespace GetRelationalDatabaseSnapshotsRequest { export interface GetRelationalDatabaseSnapshotsResult { /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another * GetRelationalDatabaseSnapshots request and specify the next page token using @@ -1189,25 +2662,27 @@ export namespace GetStaticIpRequest { */ export interface StaticIp { /** - *

                        The resource type (usually StaticIp).

                        + *

                        The support code. Include this code in your email to support when you have questions about + * an instance or another resource in Lightsail. This code enables our support team to look up + * your Lightsail information more easily.

                        */ - resourceType?: ResourceType | string; + supportCode?: string; /** - *

                        The timestamp when the static IP was created (e.g., 1479735304.222).

                        + *

                        The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE).

                        */ - createdAt?: Date; + name?: string; /** - *

                        The region and Availability Zone where the static IP was created.

                        + *

                        The Amazon Resource Name (ARN) of the static IP (e.g., + * arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).

                        */ - location?: ResourceLocation; + arn?: string; /** - *

                        The instance where the static IP is attached (e.g., - * Amazon_Linux-1GB-Ohio-1).

                        + *

                        The region and Availability Zone where the static IP was created.

                        */ - attachedTo?: string; + location?: ResourceLocation; /** *

                        The static IP address.

                        @@ -1215,27 +2690,25 @@ export interface StaticIp { ipAddress?: string; /** - *

                        A Boolean value indicating whether the static IP is attached.

                        + *

                        The instance where the static IP is attached (e.g., + * Amazon_Linux-1GB-Ohio-1).

                        */ - isAttached?: boolean; + attachedTo?: string; /** - *

                        The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE).

                        + *

                        A Boolean value indicating whether the static IP is attached.

                        */ - name?: string; + isAttached?: boolean; /** - *

                        The Amazon Resource Name (ARN) of the static IP (e.g., - * arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).

                        + *

                        The timestamp when the static IP was created (e.g., 1479735304.222).

                        */ - arn?: string; + createdAt?: Date; /** - *

                        The support code. Include this code in your email to support when you have questions about - * an instance or another resource in Lightsail. This code enables our support team to look up - * your Lightsail information more easily.

                        + *

                        The resource type (usually StaticIp).

                        */ - supportCode?: string; + resourceType?: ResourceType | string; } export namespace StaticIp { @@ -1275,7 +2748,7 @@ export namespace GetStaticIpsRequest { export interface GetStaticIpsResult { /** - *

                        The token to advance to the next page of resutls from your request.

                        + *

                        The token to advance to the next page of results from your request.

                        *

                        A next page token is not returned if there are no more results to display.

                        *

                        To get the next page of results, perform another GetStaticIps request and * specify the next page token using the pageToken parameter.

                        @@ -1351,14 +2824,14 @@ export namespace IsVpcPeeredResult { export interface OpenInstancePublicPortsRequest { /** - *

                        The name of the instance for which to open ports.

                        + *

                        An object to describe the ports to open for the specified instance.

                        */ - instanceName: string | undefined; + portInfo: PortInfo | undefined; /** - *

                        An object to describe the ports to open for the specified instance.

                        + *

                        The name of the instance for which to open ports.

                        */ - portInfo: PortInfo | undefined; + instanceName: string | undefined; } export namespace OpenInstancePublicPortsRequest { @@ -1405,46 +2878,30 @@ export namespace PeerVpcResult { export interface PutAlarmRequest { /** - *

                        The number of data points that must be not within the specified threshold to trigger the - * alarm. If you are setting an "M out of N" alarm, this value (datapointsToAlarm) - * is the M.

                        + *

                        The arithmetic operation to use when comparing the specified statistic to the threshold. + * The specified statistic value is used as the first operand.

                        */ - datapointsToAlarm?: number; + comparisonOperator: ComparisonOperator | string | undefined; /** - *

                        Sets how this alarm will handle missing data points.

                        - *

                        An alarm can treat missing data in the following ways:

                        - *
                          - *
                        • - *

                          - * breaching - Assume the missing data is not within the threshold. Missing - * data counts towards the number of times the metric is not within the threshold.

                          - *
                        • - *
                        • - *

                          - * notBreaching - Assume the missing data is within the threshold. Missing - * data does not count towards the number of times the metric is not within the - * threshold.

                          - *
                        • - *
                        • - *

                          - * ignore - Ignore the missing data. Maintains the current alarm - * state.

                          - *
                        • - *
                        • - *

                          - * missing - Missing data is treated as missing.

                          - *
                        • - *
                        - *

                        If treatMissingData is not specified, the default behavior of - * missing is used.

                        + *

                        Indicates whether the alarm is enabled.

                        + *

                        Notifications are enabled by default if you don't specify this parameter.

                        */ - treatMissingData?: TreatMissingData | string; + notificationEnabled?: boolean; /** - *

                        The value against which the specified statistic is compared.

                        + *

                        The number of most recent periods over which data is compared to the specified threshold. + * If you are setting an "M out of N" alarm, this value (evaluationPeriods) is the + * N.

                        + *

                        If you are setting an alarm that requires that a number of consecutive data points be + * breaching to trigger the alarm, this value specifies the rolling period of time in which data + * points are evaluated.

                        + *

                        Each evaluation period is five minutes long. For example, specify an evaluation period of + * 24 to evaluate a metric over a rolling period of two hours.

                        + *

                        You can specify a minimum valuation period of 1 (5 minutes), and a maximum evaluation + * period of 288 (24 hours).

                        */ - threshold: number | undefined; + evaluationPeriods: number | undefined; /** *

                        The alarm states that trigger a notification.

                        @@ -1487,43 +2944,59 @@ export interface PutAlarmRequest { notificationTriggers?: (AlarmState | string)[]; /** - *

                        The name of the Lightsail resource that will be monitored.

                        - *

                        Instances, load balancers, and relational databases are the only Lightsail resources - * that can currently be monitored by alarms.

                        + *

                        The value against which the specified statistic is compared.

                        */ - monitoredResourceName: string | undefined; + threshold: number | undefined; /** - *

                        The number of most recent periods over which data is compared to the specified threshold. - * If you are setting an "M out of N" alarm, this value (evaluationPeriods) is the - * N.

                        - *

                        If you are setting an alarm that requires that a number of consecutive data points be - * breaching to trigger the alarm, this value specifies the rolling period of time in which data - * points are evaluated.

                        - *

                        Each evaluation period is five minutes long. For example, specify an evaluation period of - * 24 to evaluate a metric over a rolling period of two hours.

                        - *

                        You can specify a minimum valuation period of 1 (5 minutes), and a maximum evaluation - * period of 288 (24 hours).

                        + *

                        The number of data points that must be not within the specified threshold to trigger the + * alarm. If you are setting an "M out of N" alarm, this value (datapointsToAlarm) + * is the M.

                        */ - evaluationPeriods: number | undefined; + datapointsToAlarm?: number; /** - *

                        The arithmetic operation to use when comparing the specified statistic to the threshold. - * The specified statistic value is used as the first operand.

                        + *

                        The name for the alarm. Specify the name of an existing alarm to update, and overwrite the + * previous configuration of the alarm.

                        */ - comparisonOperator: ComparisonOperator | string | undefined; + alarmName: string | undefined; /** - *

                        Indicates whether the alarm is enabled.

                        - *

                        Notifications are enabled by default if you don't specify this parameter.

                        + *

                        Sets how this alarm will handle missing data points.

                        + *

                        An alarm can treat missing data in the following ways:

                        + *
                          + *
                        • + *

                          + * breaching - Assume the missing data is not within the threshold. Missing + * data counts towards the number of times the metric is not within the threshold.

                          + *
                        • + *
                        • + *

                          + * notBreaching - Assume the missing data is within the threshold. Missing + * data does not count towards the number of times the metric is not within the + * threshold.

                          + *
                        • + *
                        • + *

                          + * ignore - Ignore the missing data. Maintains the current alarm + * state.

                          + *
                        • + *
                        • + *

                          + * missing - Missing data is treated as missing.

                          + *
                        • + *
                        + *

                        If treatMissingData is not specified, the default behavior of + * missing is used.

                        */ - notificationEnabled?: boolean; + treatMissingData?: TreatMissingData | string; /** - *

                        The name for the alarm. Specify the name of an existing alarm to update, and overwrite the - * previous configuration of the alarm.

                        + *

                        The name of the Lightsail resource that will be monitored.

                        + *

                        Instances, load balancers, and relational databases are the only Lightsail resources + * that can currently be monitored by alarms.

                        */ - alarmName: string | undefined; + monitoredResourceName: string | undefined; /** *

                        The contact protocols to use for the alarm, such as Email, SMS @@ -1596,14 +3069,14 @@ export namespace PutAlarmResult { export interface PutInstancePublicPortsRequest { /** - *

                        The name of the instance for which to open ports.

                        + *

                        An array of objects to describe the ports to open for the specified instance.

                        */ - instanceName: string | undefined; + portInfos: PortInfo[] | undefined; /** - *

                        An array of objects to describe the ports to open for the specified instance.

                        + *

                        The name of the instance for which to open ports.

                        */ - portInfos: PortInfo[] | undefined; + instanceName: string | undefined; } export namespace PutInstancePublicPortsRequest { @@ -1653,29 +3126,90 @@ export namespace RebootInstanceResult { }); } -export interface RebootRelationalDatabaseRequest { +export interface RebootRelationalDatabaseRequest { + /** + *

                        The name of your database to reboot.

                        + */ + relationalDatabaseName: string | undefined; +} + +export namespace RebootRelationalDatabaseRequest { + export const filterSensitiveLog = (obj: RebootRelationalDatabaseRequest): any => ({ + ...obj, + }); +} + +export interface RebootRelationalDatabaseResult { + /** + *

                        An array of objects that describe the result of the action, such as the status of the + * request, the timestamp of the request, and the resources affected by the request.

                        + */ + operations?: Operation[]; +} + +export namespace RebootRelationalDatabaseResult { + export const filterSensitiveLog = (obj: RebootRelationalDatabaseResult): any => ({ + ...obj, + }); +} + +export interface RegisterContainerImageRequest { /** - *

                        The name of your database to reboot.

                        + *

                        The label for the container image when it's registered to the container service.

                        + * + *

                        Use a descriptive label that you can use to track the different versions of your + * registered container images.

                        + * + *

                        Use the GetContainerImages action to return the container images registered + * to a Lightsail container service. The label is the portion + * of the following image name example:

                        + *
                          + *
                        • + *

                          + * :container-service-1..1 + *

                          + *
                        • + *
                        + * + *

                        If the name of your container service is mycontainerservice, and the label + * that you specify is mystaticwebsite, then the name of the registered container + * image will be :mycontainerservice.mystaticwebsite.1.

                        + * + *

                        The number at the end of these image name examples represents the version of the + * registered container image. If you push and register another container image to the same + * Lightsail container service, with the same label, then the version number for the new + * registered container image will be 2. If you push and register another container + * image, the version number will be 3, and so on.

                        */ - relationalDatabaseName: string | undefined; + label: string | undefined; + + /** + *

                        The digest of the container image to be registered.

                        + */ + digest: string | undefined; + + /** + *

                        The name of the container service for which to register a container image.

                        + */ + serviceName: string | undefined; } -export namespace RebootRelationalDatabaseRequest { - export const filterSensitiveLog = (obj: RebootRelationalDatabaseRequest): any => ({ +export namespace RegisterContainerImageRequest { + export const filterSensitiveLog = (obj: RegisterContainerImageRequest): any => ({ ...obj, }); } -export interface RebootRelationalDatabaseResult { +export interface RegisterContainerImageResult { /** - *

                        An array of objects that describe the result of the action, such as the status of the - * request, the timestamp of the request, and the resources affected by the request.

                        + *

                        Describes a container image that is registered to an Amazon Lightsail container + * service.

                        */ - operations?: Operation[]; + containerImage?: ContainerImage; } -export namespace RebootRelationalDatabaseResult { - export const filterSensitiveLog = (obj: RebootRelationalDatabaseResult): any => ({ +export namespace RegisterContainerImageResult { + export const filterSensitiveLog = (obj: RegisterContainerImageResult): any => ({ ...obj, }); } @@ -1710,7 +3244,6 @@ export namespace ReleaseStaticIpResult { export interface ResetDistributionCacheRequest { /** *

                        The name of the distribution for which to reset cache.

                        - * *

                        Use the GetDistributions action to get a list of distribution names that you * can specify.

                        */ @@ -1901,6 +3434,11 @@ export namespace StopRelationalDatabaseResult { } export interface TagResourceRequest { + /** + *

                        The Amazon Resource Name (ARN) of the resource to which you want to add a tag.

                        + */ + resourceArn?: string; + /** *

                        The name of the resource to which you are adding tags.

                        */ @@ -1910,11 +3448,6 @@ export interface TagResourceRequest { *

                        The tag key and optional value.

                        */ tags: Tag[] | undefined; - - /** - *

                        The Amazon Resource Name (ARN) of the resource to which you want to add a tag.

                        - */ - resourceArn?: string; } export namespace TagResourceRequest { @@ -1938,11 +3471,6 @@ export namespace TagResourceResult { } export interface TestAlarmRequest { - /** - *

                        The name of the alarm to test.

                        - */ - alarmName: string | undefined; - /** *

                        The alarm state to test.

                        *

                        An alarm has the following possible states that can be tested:

                        @@ -1964,6 +3492,11 @@ export interface TestAlarmRequest { *
                      */ state: AlarmState | string | undefined; + + /** + *

                      The name of the alarm to test.

                      + */ + alarmName: string | undefined; } export namespace TestAlarmRequest { @@ -2010,9 +3543,9 @@ export namespace UnpeerVpcResult { export interface UntagResourceRequest { /** - *

                      The tag keys to delete from the specified resource.

                      + *

                      The Amazon Resource Name (ARN) of the resource from which you want to remove a tag.

                      */ - tagKeys: string[] | undefined; + resourceArn?: string; /** *

                      The name of the resource from which you are removing a tag.

                      @@ -2020,9 +3553,9 @@ export interface UntagResourceRequest { resourceName: string | undefined; /** - *

                      The Amazon Resource Name (ARN) of the resource from which you want to remove a tag.

                      + *

                      The tag keys to delete from the specified resource.

                      */ - resourceArn?: string; + tagKeys: string[] | undefined; } export namespace UntagResourceRequest { @@ -2045,33 +3578,85 @@ export namespace UntagResourceResult { }); } -export interface UpdateDistributionRequest { +export interface UpdateContainerServiceRequest { /** - *

                      An object that describes the origin resource for the distribution, such as a Lightsail - * instance or load balancer.

                      + *

                      A Boolean value to indicate whether the container service is disabled.

                      + */ + isDisabled?: boolean; + + /** + *

                      The power for the container service.

                      * - *

                      The distribution pulls, caches, and serves content from the origin.

                      + *

                      The power specifies the amount of memory, vCPUs, and base monthly cost of each node of the + * container service. The power and scale of a container service makes + * up its configured capacity. To determine the monthly price of your container service, multiply + * the base price of the power with the scale (the number of nodes) of + * the service.

                      + * + *

                      Use the GetContainerServicePowers action to view the specifications of each + * power option.

                      */ - origin?: InputOrigin; + power?: ContainerServicePowerName | string; /** - *

                      The name of the distribution to update.

                      + *

                      The scale for the container service.

                      * - *

                      Use the GetDistributions action to get a list of distribution names that you - * can specify.

                      + *

                      The scale specifies the allocated compute nodes of the container service. The + * power and scale of a container service makes up its configured + * capacity. To determine the monthly price of your container service, multiply the base price of + * the power with the scale (the number of nodes) of the + * service.

                      */ - distributionName: string | undefined; + scale?: number; /** - *

                      Indicates whether to enable the distribution.

                      + *

                      The public domain names to use with the container service, such as + * example.com and www.example.com.

                      + * + *

                      You can specify up to four public domain names for a container service. The domain names + * that you specify are used when you create a deployment with a container configured as the + * public endpoint of your container service.

                      + * + *

                      If you don't specify public domain names, then you can use the default domain of the + * container service.

                      + * + * + *

                      You must create and validate an SSL/TLS certificate before you can use public domain + * names with your container service. Use the CreateCertificate action to create a + * certificate for the public domain names you want to use with your container service.

                      + *
                      + * + *

                      You can specify public domain names using a string to array map as shown in the example + * later on this page.

                      */ - isEnabled?: boolean; + publicDomainNames?: { [key: string]: string[] }; /** - *

                      An array of objects that describe the per-path cache behavior for the distribution.

                      + *

                      The name of the container service to update.

                      */ - cacheBehaviors?: CacheBehaviorPerPath[]; + serviceName: string | undefined; +} + +export namespace UpdateContainerServiceRequest { + export const filterSensitiveLog = (obj: UpdateContainerServiceRequest): any => ({ + ...obj, + }); +} + +export interface UpdateContainerServiceResult { + /** + *

                      An object that describes a container service.

                      + */ + containerService?: ContainerService; +} + +export namespace UpdateContainerServiceResult { + export const filterSensitiveLog = (obj: UpdateContainerServiceResult): any => ({ + ...obj, + }); +} +export interface UpdateDistributionRequest { /** *

                      An object that describes the default cache behavior for the distribution.

                      */ @@ -2086,6 +3671,30 @@ export interface UpdateDistributionRequest { * */ cacheBehaviorSettings?: CacheSettings; + + /** + *

                      Indicates whether to enable the distribution.

                      + */ + isEnabled?: boolean; + + /** + *

                      The name of the distribution to update.

                      + *

                      Use the GetDistributions action to get a list of distribution names that you + * can specify.

                      + */ + distributionName: string | undefined; + + /** + *

                      An object that describes the origin resource for the distribution, such as a Lightsail + * instance or load balancer.

                      + *

                      The distribution pulls, caches, and serves content from the origin.

                      + */ + origin?: InputOrigin; + + /** + *

                      An array of objects that describe the per-path cache behavior for the distribution.

                      + */ + cacheBehaviors?: CacheBehaviorPerPath[]; } export namespace UpdateDistributionRequest { @@ -2109,20 +3718,19 @@ export namespace UpdateDistributionResult { } export interface UpdateDistributionBundleRequest { - /** - *

                      The name of the distribution for which to update the bundle.

                      - * - *

                      Use the GetDistributions action to get a list of distribution names that you - * can specify.

                      - */ - distributionName?: string; - /** *

                      The bundle ID of the new bundle to apply to your distribution.

                      *

                      Use the GetDistributionBundles action to get a list of distribution bundle * IDs that you can specify.

                      */ bundleId?: string; + + /** + *

                      The name of the distribution for which to update the bundle.

                      + *

                      Use the GetDistributions action to get a list of distribution names that you + * can specify.

                      + */ + distributionName?: string; } export namespace UpdateDistributionBundleRequest { @@ -2146,14 +3754,14 @@ export namespace UpdateDistributionBundleResult { export interface UpdateDomainEntryRequest { /** - *

                      The name of the domain recordset to update.

                      + *

                      An array of key-value pairs containing information about the domain entry.

                      */ - domainName: string | undefined; + domainEntry: DomainEntry | undefined; /** - *

                      An array of key-value pairs containing information about the domain entry.

                      + *

                      The name of the domain recordset to update.

                      */ - domainEntry: DomainEntry | undefined; + domainName: string | undefined; } export namespace UpdateDomainEntryRequest { @@ -2178,10 +3786,9 @@ export namespace UpdateDomainEntryResult { export interface UpdateLoadBalancerAttributeRequest { /** - *

                      The name of the load balancer that you want to modify (e.g., - * my-load-balancer.

                      + *

                      The name of the attribute you want to update. Valid values are below.

                      */ - loadBalancerName: string | undefined; + attributeName: LoadBalancerAttributeName | string | undefined; /** *

                      The value that you want to specify for the attribute name.

                      @@ -2189,9 +3796,10 @@ export interface UpdateLoadBalancerAttributeRequest { attributeValue: string | undefined; /** - *

                      The name of the attribute you want to update. Valid values are below.

                      + *

                      The name of the load balancer that you want to modify (e.g., + * my-load-balancer.

                      */ - attributeName: LoadBalancerAttributeName | string | undefined; + loadBalancerName: string | undefined; } export namespace UpdateLoadBalancerAttributeRequest { @@ -2215,6 +3823,47 @@ export namespace UpdateLoadBalancerAttributeResult { } export interface UpdateRelationalDatabaseRequest { + /** + *

                      When true, disables automated backup retention for your database.

                      + *

                      Disabling backup retention deletes all automated database backups. Before disabling this, + * you may want to create a snapshot of your database using the create relational database + * snapshot operation.

                      + *

                      Updates are applied during the next maintenance window because this can result in an + * outage.

                      + */ + disableBackupRetention?: boolean; + + /** + *

                      Specifies the accessibility options for your database. A value of true + * specifies a database that is available to resources outside of your Lightsail account. A + * value of false specifies a database that is available only to your Lightsail + * resources in the same region as your database.

                      + */ + publiclyAccessible?: boolean; + + /** + *

                      When true, applies changes immediately. When false, applies + * changes during the preferred maintenance window. Some changes may cause an outage.

                      + *

                      Default: false + *

                      + */ + applyImmediately?: boolean; + + /** + *

                      When true, the master user password is changed to a new strong password + * generated by Lightsail.

                      + *

                      Use the get relational database master user password operation to get the new + * password.

                      + */ + rotateMasterUserPassword?: boolean; + + /** + *

                      When true, enables automated backup retention for your database.

                      + *

                      Updates are applied during the next maintenance window because this can result in an + * outage.

                      + */ + enableBackupRetention?: boolean; + /** *

                      The weekly time range during which system maintenance can occur on your database.

                      *

                      The default is a 30-minute window selected at random from an 8-hour block of time for each @@ -2242,12 +3891,14 @@ export interface UpdateRelationalDatabaseRequest { preferredMaintenanceWindow?: string; /** - *

                      When true, applies changes immediately. When false, applies - * changes during the preferred maintenance window. Some changes may cause an outage.

                      - *

                      Default: false - *

                      + *

                      The name of your database to update.

                      */ - applyImmediately?: boolean; + relationalDatabaseName: string | undefined; + + /** + *

                      Indicates the certificate that needs to be associated with the database.

                      + */ + caCertificateIdentifier?: string; /** *

                      The daily time range during which automated backups are created for your database if @@ -2272,49 +3923,6 @@ export interface UpdateRelationalDatabaseRequest { */ preferredBackupWindow?: string; - /** - *

                      The name of your database to update.

                      - */ - relationalDatabaseName: string | undefined; - - /** - *

                      Specifies the accessibility options for your database. A value of true - * specifies a database that is available to resources outside of your Lightsail account. A - * value of false specifies a database that is available only to your Lightsail - * resources in the same region as your database.

                      - */ - publiclyAccessible?: boolean; - - /** - *

                      When true, enables automated backup retention for your database.

                      - *

                      Updates are applied during the next maintenance window because this can result in an - * outage.

                      - */ - enableBackupRetention?: boolean; - - /** - *

                      When true, the master user password is changed to a new strong password - * generated by Lightsail.

                      - *

                      Use the get relational database master user password operation to get the new - * password.

                      - */ - rotateMasterUserPassword?: boolean; - - /** - *

                      When true, disables automated backup retention for your database.

                      - *

                      Disabling backup retention deletes all automated database backups. Before disabling this, - * you may want to create a snapshot of your database using the create relational database - * snapshot operation.

                      - *

                      Updates are applied during the next maintenance window because this can result in an - * outage.

                      - */ - disableBackupRetention?: boolean; - - /** - *

                      Indicates the certificate that needs to be associated with the database.

                      - */ - caCertificateIdentifier?: string; - /** *

                      The password for the master user of your database. The password can include any printable * ASCII character except "/", """, or "@".

                      @@ -2346,14 +3954,14 @@ export namespace UpdateRelationalDatabaseResult { export interface UpdateRelationalDatabaseParametersRequest { /** - *

                      The name of your database for which to update parameters.

                      + *

                      The database parameters to update.

                      */ - relationalDatabaseName: string | undefined; + parameters: RelationalDatabaseParameter[] | undefined; /** - *

                      The database parameters to update.

                      + *

                      The name of your database for which to update parameters.

                      */ - parameters: RelationalDatabaseParameter[] | undefined; + relationalDatabaseName: string | undefined; } export namespace UpdateRelationalDatabaseParametersRequest { diff --git a/clients/client-lightsail/protocols/Aws_json1_1.ts b/clients/client-lightsail/protocols/Aws_json1_1.ts index 7784f4c1de3d..911bd73a5d4d 100644 --- a/clients/client-lightsail/protocols/Aws_json1_1.ts +++ b/clients/client-lightsail/protocols/Aws_json1_1.ts @@ -27,6 +27,18 @@ import { CreateContactMethodCommandInput, CreateContactMethodCommandOutput, } from "../commands/CreateContactMethodCommand"; +import { + CreateContainerServiceCommandInput, + CreateContainerServiceCommandOutput, +} from "../commands/CreateContainerServiceCommand"; +import { + CreateContainerServiceDeploymentCommandInput, + CreateContainerServiceDeploymentCommandOutput, +} from "../commands/CreateContainerServiceDeploymentCommand"; +import { + CreateContainerServiceRegistryLoginCommandInput, + CreateContainerServiceRegistryLoginCommandOutput, +} from "../commands/CreateContainerServiceRegistryLoginCommand"; import { CreateDiskCommandInput, CreateDiskCommandOutput } from "../commands/CreateDiskCommand"; import { CreateDiskFromSnapshotCommandInput, @@ -70,6 +82,14 @@ import { DeleteContactMethodCommandInput, DeleteContactMethodCommandOutput, } from "../commands/DeleteContactMethodCommand"; +import { + DeleteContainerImageCommandInput, + DeleteContainerImageCommandOutput, +} from "../commands/DeleteContainerImageCommand"; +import { + DeleteContainerServiceCommandInput, + DeleteContainerServiceCommandOutput, +} from "../commands/DeleteContainerServiceCommand"; import { DeleteDiskCommandInput, DeleteDiskCommandOutput } from "../commands/DeleteDiskCommand"; import { DeleteDiskSnapshotCommandInput, DeleteDiskSnapshotCommandOutput } from "../commands/DeleteDiskSnapshotCommand"; import { DeleteDistributionCommandInput, DeleteDistributionCommandOutput } from "../commands/DeleteDistributionCommand"; @@ -126,6 +146,28 @@ import { GetCloudFormationStackRecordsCommandOutput, } from "../commands/GetCloudFormationStackRecordsCommand"; import { GetContactMethodsCommandInput, GetContactMethodsCommandOutput } from "../commands/GetContactMethodsCommand"; +import { + GetContainerAPIMetadataCommandInput, + GetContainerAPIMetadataCommandOutput, +} from "../commands/GetContainerAPIMetadataCommand"; +import { GetContainerImagesCommandInput, GetContainerImagesCommandOutput } from "../commands/GetContainerImagesCommand"; +import { GetContainerLogCommandInput, GetContainerLogCommandOutput } from "../commands/GetContainerLogCommand"; +import { + GetContainerServiceDeploymentsCommandInput, + GetContainerServiceDeploymentsCommandOutput, +} from "../commands/GetContainerServiceDeploymentsCommand"; +import { + GetContainerServiceMetricDataCommandInput, + GetContainerServiceMetricDataCommandOutput, +} from "../commands/GetContainerServiceMetricDataCommand"; +import { + GetContainerServicePowersCommandInput, + GetContainerServicePowersCommandOutput, +} from "../commands/GetContainerServicePowersCommand"; +import { + GetContainerServicesCommandInput, + GetContainerServicesCommandOutput, +} from "../commands/GetContainerServicesCommand"; import { GetDiskCommandInput, GetDiskCommandOutput } from "../commands/GetDiskCommand"; import { GetDiskSnapshotCommandInput, GetDiskSnapshotCommandOutput } from "../commands/GetDiskSnapshotCommand"; import { GetDiskSnapshotsCommandInput, GetDiskSnapshotsCommandOutput } from "../commands/GetDiskSnapshotsCommand"; @@ -258,6 +300,10 @@ import { RebootRelationalDatabaseCommandInput, RebootRelationalDatabaseCommandOutput, } from "../commands/RebootRelationalDatabaseCommand"; +import { + RegisterContainerImageCommandInput, + RegisterContainerImageCommandOutput, +} from "../commands/RegisterContainerImageCommand"; import { ReleaseStaticIpCommandInput, ReleaseStaticIpCommandOutput } from "../commands/ReleaseStaticIpCommand"; import { ResetDistributionCacheCommandInput, @@ -281,6 +327,10 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T import { TestAlarmCommandInput, TestAlarmCommandOutput } from "../commands/TestAlarmCommand"; import { UnpeerVpcCommandInput, UnpeerVpcCommandOutput } from "../commands/UnpeerVpcCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; +import { + UpdateContainerServiceCommandInput, + UpdateContainerServiceCommandOutput, +} from "../commands/UpdateContainerServiceCommand"; import { UpdateDistributionBundleCommandInput, UpdateDistributionBundleCommandOutput, @@ -336,6 +386,18 @@ import { CloudFormationStackRecordSourceInfo, ContactMethod, ContactProtocol, + Container, + ContainerImage, + ContainerService, + ContainerServiceDeployment, + ContainerServiceDeploymentRequest, + ContainerServiceEndpoint, + ContainerServiceHealthCheckConfig, + ContainerServiceLogEvent, + ContainerServicePower, + ContainerServiceProtocol, + ContainerServiceRegistryLogin, + ContainerServicesListResult, CookieObject, CopySnapshotRequest, CopySnapshotResult, @@ -345,6 +407,12 @@ import { CreateCloudFormationStackResult, CreateContactMethodRequest, CreateContactMethodResult, + CreateContainerServiceDeploymentRequest, + CreateContainerServiceDeploymentResult, + CreateContainerServiceRegistryLoginRequest, + CreateContainerServiceRegistryLoginResult, + CreateContainerServiceRequest, + CreateContainerServiceResult, CreateDiskFromSnapshotRequest, CreateDiskFromSnapshotResult, CreateDiskRequest, @@ -383,6 +451,10 @@ import { DeleteCertificateResult, DeleteContactMethodRequest, DeleteContactMethodResult, + DeleteContainerImageRequest, + DeleteContainerImageResult, + DeleteContainerServiceRequest, + DeleteContainerServiceResult, DeleteDiskRequest, DeleteDiskResult, DeleteDiskSnapshotRequest, @@ -433,6 +505,7 @@ import { DownloadDefaultKeyPairResult, EnableAddOnRequest, EnableAddOnResult, + EndpointRequest, ExportSnapshotRecord, ExportSnapshotRecordSourceInfo, ExportSnapshotRequest, @@ -453,6 +526,19 @@ import { GetCloudFormationStackRecordsResult, GetContactMethodsRequest, GetContactMethodsResult, + GetContainerAPIMetadataRequest, + GetContainerAPIMetadataResult, + GetContainerImagesRequest, + GetContainerImagesResult, + GetContainerLogRequest, + GetContainerLogResult, + GetContainerServiceDeploymentsRequest, + GetContainerServiceDeploymentsResult, + GetContainerServiceMetricDataRequest, + GetContainerServiceMetricDataResult, + GetContainerServicePowersRequest, + GetContainerServicePowersResult, + GetContainerServicesRequest, GetDiskRequest, GetDiskResult, GetDiskSnapshotRequest, @@ -494,24 +580,6 @@ import { GetKeyPairRequest, GetKeyPairResult, GetKeyPairsRequest, - GetKeyPairsResult, - GetLoadBalancerMetricDataRequest, - GetLoadBalancerMetricDataResult, - GetLoadBalancerRequest, - GetLoadBalancerResult, - GetLoadBalancerTlsCertificatesRequest, - GetLoadBalancerTlsCertificatesResult, - GetLoadBalancersRequest, - GetLoadBalancersResult, - GetOperationRequest, - GetOperationResult, - GetOperationsForResourceRequest, - GetOperationsForResourceResult, - GetOperationsRequest, - GetOperationsResult, - GetRegionsRequest, - GetRegionsResult, - GetRelationalDatabaseRequest, HeaderEnum, HeaderObject, HostKeyAttributes, @@ -520,7 +588,6 @@ import { InstanceAccessDetails, InstanceEntry, InstanceHardware, - InstanceHealthSummary, InstanceNetworking, InstancePlatform, InstancePortInfo, @@ -531,13 +598,6 @@ import { InvalidInputException, KeyPair, LightsailDistribution, - LoadBalancer, - LoadBalancerAttributeName, - LoadBalancerTlsCertificate, - LoadBalancerTlsCertificateDomainValidationOption, - LoadBalancerTlsCertificateDomainValidationRecord, - LoadBalancerTlsCertificateRenewalSummary, - LoadBalancerTlsCertificateSummary, MetricDatapoint, MetricStatistic, MonitoredResourceInfo, @@ -547,12 +607,8 @@ import { OperationFailureException, Origin, PasswordData, - PendingMaintenanceAction, PortInfo, QueryStringObject, - Region, - RelationalDatabaseEndpoint, - RelationalDatabaseHardware, RenewalSummary, ResourceLocation, ResourceRecord, @@ -561,6 +617,23 @@ import { UnauthenticatedException, } from "../models/models_0"; import { + GetKeyPairsResult, + GetLoadBalancerMetricDataRequest, + GetLoadBalancerMetricDataResult, + GetLoadBalancerRequest, + GetLoadBalancerResult, + GetLoadBalancerTlsCertificatesRequest, + GetLoadBalancerTlsCertificatesResult, + GetLoadBalancersRequest, + GetLoadBalancersResult, + GetOperationRequest, + GetOperationResult, + GetOperationsForResourceRequest, + GetOperationsForResourceResult, + GetOperationsRequest, + GetOperationsResult, + GetRegionsRequest, + GetRegionsResult, GetRelationalDatabaseBlueprintsRequest, GetRelationalDatabaseBlueprintsResult, GetRelationalDatabaseBundlesRequest, @@ -577,6 +650,7 @@ import { GetRelationalDatabaseMetricDataResult, GetRelationalDatabaseParametersRequest, GetRelationalDatabaseParametersResult, + GetRelationalDatabaseRequest, GetRelationalDatabaseResult, GetRelationalDatabaseSnapshotRequest, GetRelationalDatabaseSnapshotResult, @@ -590,13 +664,22 @@ import { GetStaticIpsResult, ImportKeyPairRequest, ImportKeyPairResult, + InstanceHealthSummary, IsVpcPeeredRequest, IsVpcPeeredResult, + LoadBalancer, + LoadBalancerAttributeName, + LoadBalancerTlsCertificate, + LoadBalancerTlsCertificateDomainValidationOption, + LoadBalancerTlsCertificateDomainValidationRecord, + LoadBalancerTlsCertificateRenewalSummary, + LoadBalancerTlsCertificateSummary, LogEvent, OpenInstancePublicPortsRequest, OpenInstancePublicPortsResult, PeerVpcRequest, PeerVpcResult, + PendingMaintenanceAction, PendingModifiedRelationalDatabaseValues, PutAlarmRequest, PutAlarmResult, @@ -606,10 +689,15 @@ import { RebootInstanceResult, RebootRelationalDatabaseRequest, RebootRelationalDatabaseResult, + Region, + RegisterContainerImageRequest, + RegisterContainerImageResult, RelationalDatabase, RelationalDatabaseBlueprint, RelationalDatabaseBundle, + RelationalDatabaseEndpoint, RelationalDatabaseEvent, + RelationalDatabaseHardware, RelationalDatabaseParameter, RelationalDatabaseSnapshot, ReleaseStaticIpRequest, @@ -635,6 +723,8 @@ import { UnpeerVpcResult, UntagResourceRequest, UntagResourceResult, + UpdateContainerServiceRequest, + UpdateContainerServiceResult, UpdateDistributionBundleRequest, UpdateDistributionBundleResult, UpdateDistributionRequest, @@ -801,6 +891,45 @@ export const serializeAws_json1_1CreateContactMethodCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1CreateContainerServiceCommand = async ( + input: CreateContainerServiceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.CreateContainerService", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1CreateContainerServiceRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1CreateContainerServiceDeploymentCommand = async ( + input: CreateContainerServiceDeploymentCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.CreateContainerServiceDeployment", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1CreateContainerServiceDeploymentRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1CreateContainerServiceRegistryLoginCommand = async ( + input: CreateContainerServiceRegistryLoginCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.CreateContainerServiceRegistryLogin", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1CreateContainerServiceRegistryLoginRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1CreateDiskCommand = async ( input: CreateDiskCommandInput, context: __SerdeContext @@ -1048,6 +1177,32 @@ export const serializeAws_json1_1DeleteContactMethodCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DeleteContainerImageCommand = async ( + input: DeleteContainerImageCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.DeleteContainerImage", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DeleteContainerImageRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1DeleteContainerServiceCommand = async ( + input: DeleteContainerServiceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.DeleteContainerService", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DeleteContainerServiceRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DeleteDiskCommand = async ( input: DeleteDiskCommandInput, context: __SerdeContext @@ -1425,6 +1580,97 @@ export const serializeAws_json1_1GetContactMethodsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1GetContainerAPIMetadataCommand = async ( + input: GetContainerAPIMetadataCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.GetContainerAPIMetadata", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetContainerAPIMetadataRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1GetContainerImagesCommand = async ( + input: GetContainerImagesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.GetContainerImages", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetContainerImagesRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1GetContainerLogCommand = async ( + input: GetContainerLogCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.GetContainerLog", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetContainerLogRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1GetContainerServiceDeploymentsCommand = async ( + input: GetContainerServiceDeploymentsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.GetContainerServiceDeployments", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetContainerServiceDeploymentsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1GetContainerServiceMetricDataCommand = async ( + input: GetContainerServiceMetricDataCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.GetContainerServiceMetricData", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetContainerServiceMetricDataRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1GetContainerServicePowersCommand = async ( + input: GetContainerServicePowersCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.GetContainerServicePowers", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetContainerServicePowersRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +export const serializeAws_json1_1GetContainerServicesCommand = async ( + input: GetContainerServicesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.GetContainerServices", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetContainerServicesRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1GetDiskCommand = async ( input: GetDiskCommandInput, context: __SerdeContext @@ -2088,6 +2334,19 @@ export const serializeAws_json1_1RebootRelationalDatabaseCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1RegisterContainerImageCommand = async ( + input: RegisterContainerImageCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.RegisterContainerImage", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1RegisterContainerImageRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1ReleaseStaticIpCommand = async ( input: ReleaseStaticIpCommandInput, context: __SerdeContext @@ -2231,6 +2490,19 @@ export const serializeAws_json1_1UntagResourceCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1UpdateContainerServiceCommand = async ( + input: UpdateContainerServiceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "Lightsail_20161128.UpdateContainerService", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1UpdateContainerServiceRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1UpdateDistributionCommand = async ( input: UpdateDistributionCommandInput, context: __SerdeContext @@ -3410,27 +3682,27 @@ const deserializeAws_json1_1CreateContactMethodCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateDiskCommand = async ( +export const deserializeAws_json1_1CreateContainerServiceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateDiskCommandError(output, context); + return deserializeAws_json1_1CreateContainerServiceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateDiskResult(data, context); - const response: CreateDiskCommandOutput = { + contents = deserializeAws_json1_1CreateContainerServiceResult(data, context); + const response: CreateContainerServiceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateDiskCommandError = async ( +const deserializeAws_json1_1CreateContainerServiceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3448,14 +3720,6 @@ const deserializeAws_json1_1CreateDiskCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -3472,14 +3736,6 @@ const deserializeAws_json1_1CreateDiskCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -3513,27 +3769,27 @@ const deserializeAws_json1_1CreateDiskCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateDiskFromSnapshotCommand = async ( +export const deserializeAws_json1_1CreateContainerServiceDeploymentCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateDiskFromSnapshotCommandError(output, context); + return deserializeAws_json1_1CreateContainerServiceDeploymentCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateDiskFromSnapshotResult(data, context); - const response: CreateDiskFromSnapshotCommandOutput = { + contents = deserializeAws_json1_1CreateContainerServiceDeploymentResult(data, context); + const response: CreateContainerServiceDeploymentCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateDiskFromSnapshotCommandError = async ( +const deserializeAws_json1_1CreateContainerServiceDeploymentCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3551,14 +3807,6 @@ const deserializeAws_json1_1CreateDiskFromSnapshotCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -3575,14 +3823,6 @@ const deserializeAws_json1_1CreateDiskFromSnapshotCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -3616,27 +3856,27 @@ const deserializeAws_json1_1CreateDiskFromSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateDiskSnapshotCommand = async ( +export const deserializeAws_json1_1CreateContainerServiceRegistryLoginCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateDiskSnapshotCommandError(output, context); + return deserializeAws_json1_1CreateContainerServiceRegistryLoginCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateDiskSnapshotResult(data, context); - const response: CreateDiskSnapshotCommandOutput = { + contents = deserializeAws_json1_1CreateContainerServiceRegistryLoginResult(data, context); + const response: CreateContainerServiceRegistryLoginCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateDiskSnapshotCommandError = async ( +const deserializeAws_json1_1CreateContainerServiceRegistryLoginCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3654,16 +3894,8 @@ const deserializeAws_json1_1CreateDiskSnapshotCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; - case "InvalidInputException": - case "com.amazonaws.lightsail#InvalidInputException": + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": response = { ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), name: errorCode, @@ -3678,14 +3910,6 @@ const deserializeAws_json1_1CreateDiskSnapshotCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -3719,27 +3943,27 @@ const deserializeAws_json1_1CreateDiskSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateDistributionCommand = async ( +export const deserializeAws_json1_1CreateDiskCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateDistributionCommandError(output, context); + return deserializeAws_json1_1CreateDiskCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateDistributionResult(data, context); - const response: CreateDistributionCommandOutput = { + contents = deserializeAws_json1_1CreateDiskResult(data, context); + const response: CreateDiskCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateDistributionCommandError = async ( +const deserializeAws_json1_1CreateDiskCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3757,6 +3981,14 @@ const deserializeAws_json1_1CreateDistributionCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -3814,27 +4046,27 @@ const deserializeAws_json1_1CreateDistributionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateDomainCommand = async ( +export const deserializeAws_json1_1CreateDiskFromSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateDomainCommandError(output, context); + return deserializeAws_json1_1CreateDiskFromSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateDomainResult(data, context); - const response: CreateDomainCommandOutput = { + contents = deserializeAws_json1_1CreateDiskFromSnapshotResult(data, context); + const response: CreateDiskFromSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateDomainCommandError = async ( +const deserializeAws_json1_1CreateDiskFromSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3917,27 +4149,27 @@ const deserializeAws_json1_1CreateDomainCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateDomainEntryCommand = async ( +export const deserializeAws_json1_1CreateDiskSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateDomainEntryCommandError(output, context); + return deserializeAws_json1_1CreateDiskSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateDomainEntryResult(data, context); - const response: CreateDomainEntryCommandOutput = { + contents = deserializeAws_json1_1CreateDiskSnapshotResult(data, context); + const response: CreateDiskSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateDomainEntryCommandError = async ( +const deserializeAws_json1_1CreateDiskSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4020,27 +4252,27 @@ const deserializeAws_json1_1CreateDomainEntryCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateInstancesCommand = async ( +export const deserializeAws_json1_1CreateDistributionCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateInstancesCommandError(output, context); + return deserializeAws_json1_1CreateDistributionCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateInstancesResult(data, context); - const response: CreateInstancesCommandOutput = { + contents = deserializeAws_json1_1CreateDistributionResult(data, context); + const response: CreateDistributionCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateInstancesCommandError = async ( +const deserializeAws_json1_1CreateDistributionCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4058,14 +4290,6 @@ const deserializeAws_json1_1CreateInstancesCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -4123,27 +4347,27 @@ const deserializeAws_json1_1CreateInstancesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateInstancesFromSnapshotCommand = async ( +export const deserializeAws_json1_1CreateDomainCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateInstancesFromSnapshotCommandError(output, context); + return deserializeAws_json1_1CreateDomainCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateInstancesFromSnapshotResult(data, context); - const response: CreateInstancesFromSnapshotCommandOutput = { + contents = deserializeAws_json1_1CreateDomainResult(data, context); + const response: CreateDomainCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateInstancesFromSnapshotCommandError = async ( +const deserializeAws_json1_1CreateDomainCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4226,27 +4450,27 @@ const deserializeAws_json1_1CreateInstancesFromSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateInstanceSnapshotCommand = async ( +export const deserializeAws_json1_1CreateDomainEntryCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateInstanceSnapshotCommandError(output, context); + return deserializeAws_json1_1CreateDomainEntryCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateInstanceSnapshotResult(data, context); - const response: CreateInstanceSnapshotCommandOutput = { + contents = deserializeAws_json1_1CreateDomainEntryResult(data, context); + const response: CreateDomainEntryCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateInstanceSnapshotCommandError = async ( +const deserializeAws_json1_1CreateDomainEntryCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4329,27 +4553,27 @@ const deserializeAws_json1_1CreateInstanceSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateKeyPairCommand = async ( +export const deserializeAws_json1_1CreateInstancesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateKeyPairCommandError(output, context); + return deserializeAws_json1_1CreateInstancesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateKeyPairResult(data, context); - const response: CreateKeyPairCommandOutput = { + contents = deserializeAws_json1_1CreateInstancesResult(data, context); + const response: CreateInstancesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateKeyPairCommandError = async ( +const deserializeAws_json1_1CreateInstancesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4432,27 +4656,27 @@ const deserializeAws_json1_1CreateKeyPairCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateLoadBalancerCommand = async ( +export const deserializeAws_json1_1CreateInstancesFromSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateLoadBalancerCommandError(output, context); + return deserializeAws_json1_1CreateInstancesFromSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateLoadBalancerResult(data, context); - const response: CreateLoadBalancerCommandOutput = { + contents = deserializeAws_json1_1CreateInstancesFromSnapshotResult(data, context); + const response: CreateInstancesFromSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateLoadBalancerCommandError = async ( +const deserializeAws_json1_1CreateInstancesFromSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4535,27 +4759,27 @@ const deserializeAws_json1_1CreateLoadBalancerCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommand = async ( +export const deserializeAws_json1_1CreateInstanceSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommandError(output, context); + return deserializeAws_json1_1CreateInstanceSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateLoadBalancerTlsCertificateResult(data, context); - const response: CreateLoadBalancerTlsCertificateCommandOutput = { + contents = deserializeAws_json1_1CreateInstanceSnapshotResult(data, context); + const response: CreateInstanceSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommandError = async ( +const deserializeAws_json1_1CreateInstanceSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4638,27 +4862,27 @@ const deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateRelationalDatabaseCommand = async ( +export const deserializeAws_json1_1CreateKeyPairCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateRelationalDatabaseCommandError(output, context); + return deserializeAws_json1_1CreateKeyPairCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateRelationalDatabaseResult(data, context); - const response: CreateRelationalDatabaseCommandOutput = { + contents = deserializeAws_json1_1CreateKeyPairResult(data, context); + const response: CreateKeyPairCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateRelationalDatabaseCommandError = async ( +const deserializeAws_json1_1CreateKeyPairCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4741,27 +4965,27 @@ const deserializeAws_json1_1CreateRelationalDatabaseCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommand = async ( +export const deserializeAws_json1_1CreateLoadBalancerCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommandError(output, context); + return deserializeAws_json1_1CreateLoadBalancerCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotResult(data, context); - const response: CreateRelationalDatabaseFromSnapshotCommandOutput = { + contents = deserializeAws_json1_1CreateLoadBalancerResult(data, context); + const response: CreateLoadBalancerCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommandError = async ( +const deserializeAws_json1_1CreateLoadBalancerCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4844,27 +5068,27 @@ const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommandError = a return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommand = async ( +export const deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommandError(output, context); + return deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateRelationalDatabaseSnapshotResult(data, context); - const response: CreateRelationalDatabaseSnapshotCommandOutput = { + contents = deserializeAws_json1_1CreateLoadBalancerTlsCertificateResult(data, context); + const response: CreateLoadBalancerTlsCertificateCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommandError = async ( +const deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4947,27 +5171,27 @@ const deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteAlarmCommand = async ( +export const deserializeAws_json1_1CreateRelationalDatabaseCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteAlarmCommandError(output, context); + return deserializeAws_json1_1CreateRelationalDatabaseCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteAlarmResult(data, context); - const response: DeleteAlarmCommandOutput = { + contents = deserializeAws_json1_1CreateRelationalDatabaseResult(data, context); + const response: CreateRelationalDatabaseCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteAlarmCommandError = async ( +const deserializeAws_json1_1CreateRelationalDatabaseCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4985,6 +5209,14 @@ const deserializeAws_json1_1DeleteAlarmCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -5042,27 +5274,27 @@ const deserializeAws_json1_1DeleteAlarmCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteAutoSnapshotCommand = async ( +export const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteAutoSnapshotCommandError(output, context); + return deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteAutoSnapshotResult(data, context); - const response: DeleteAutoSnapshotCommandOutput = { + contents = deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotResult(data, context); + const response: CreateRelationalDatabaseFromSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteAutoSnapshotCommandError = async ( +const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5080,6 +5312,14 @@ const deserializeAws_json1_1DeleteAutoSnapshotCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -5137,27 +5377,27 @@ const deserializeAws_json1_1DeleteAutoSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteCertificateCommand = async ( +export const deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteCertificateCommandError(output, context); + return deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteCertificateResult(data, context); - const response: DeleteCertificateCommandOutput = { + contents = deserializeAws_json1_1CreateRelationalDatabaseSnapshotResult(data, context); + const response: CreateRelationalDatabaseSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteCertificateCommandError = async ( +const deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5175,6 +5415,14 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -5191,6 +5439,14 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -5224,27 +5480,27 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteContactMethodCommand = async ( +export const deserializeAws_json1_1DeleteAlarmCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteContactMethodCommandError(output, context); + return deserializeAws_json1_1DeleteAlarmCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteContactMethodResult(data, context); - const response: DeleteContactMethodCommandOutput = { + contents = deserializeAws_json1_1DeleteAlarmResult(data, context); + const response: DeleteAlarmCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteContactMethodCommandError = async ( +const deserializeAws_json1_1DeleteAlarmCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5319,27 +5575,27 @@ const deserializeAws_json1_1DeleteContactMethodCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteDiskCommand = async ( +export const deserializeAws_json1_1DeleteAutoSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteDiskCommandError(output, context); + return deserializeAws_json1_1DeleteAutoSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteDiskResult(data, context); - const response: DeleteDiskCommandOutput = { + contents = deserializeAws_json1_1DeleteAutoSnapshotResult(data, context); + const response: DeleteAutoSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteDiskCommandError = async ( +const deserializeAws_json1_1DeleteAutoSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5357,14 +5613,6 @@ const deserializeAws_json1_1DeleteDiskCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -5422,27 +5670,27 @@ const deserializeAws_json1_1DeleteDiskCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteDiskSnapshotCommand = async ( +export const deserializeAws_json1_1DeleteCertificateCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteDiskSnapshotCommandError(output, context); + return deserializeAws_json1_1DeleteCertificateCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteDiskSnapshotResult(data, context); - const response: DeleteDiskSnapshotCommandOutput = { + contents = deserializeAws_json1_1DeleteCertificateResult(data, context); + const response: DeleteCertificateCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteDiskSnapshotCommandError = async ( +const deserializeAws_json1_1DeleteCertificateCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5460,14 +5708,6 @@ const deserializeAws_json1_1DeleteDiskSnapshotCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -5484,14 +5724,6 @@ const deserializeAws_json1_1DeleteDiskSnapshotCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -5525,27 +5757,27 @@ const deserializeAws_json1_1DeleteDiskSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteDistributionCommand = async ( +export const deserializeAws_json1_1DeleteContactMethodCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteDistributionCommandError(output, context); + return deserializeAws_json1_1DeleteContactMethodCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteDistributionResult(data, context); - const response: DeleteDistributionCommandOutput = { + contents = deserializeAws_json1_1DeleteContactMethodResult(data, context); + const response: DeleteContactMethodCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteDistributionCommandError = async ( +const deserializeAws_json1_1DeleteContactMethodCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5620,27 +5852,27 @@ const deserializeAws_json1_1DeleteDistributionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteDomainCommand = async ( +export const deserializeAws_json1_1DeleteContainerImageCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteDomainCommandError(output, context); + return deserializeAws_json1_1DeleteContainerImageCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteDomainResult(data, context); - const response: DeleteDomainCommandOutput = { + contents = deserializeAws_json1_1DeleteContainerImageResult(data, context); + const response: DeleteContainerImageCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteDomainCommandError = async ( +const deserializeAws_json1_1DeleteContainerImageCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5658,14 +5890,6 @@ const deserializeAws_json1_1DeleteDomainCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -5682,14 +5906,6 @@ const deserializeAws_json1_1DeleteDomainCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -5723,27 +5939,27 @@ const deserializeAws_json1_1DeleteDomainCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteDomainEntryCommand = async ( +export const deserializeAws_json1_1DeleteContainerServiceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteDomainEntryCommandError(output, context); + return deserializeAws_json1_1DeleteContainerServiceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteDomainEntryResult(data, context); - const response: DeleteDomainEntryCommandOutput = { + contents = deserializeAws_json1_1DeleteContainerServiceResult(data, context); + const response: DeleteContainerServiceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteDomainEntryCommandError = async ( +const deserializeAws_json1_1DeleteContainerServiceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5761,14 +5977,6 @@ const deserializeAws_json1_1DeleteDomainEntryCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -5785,14 +5993,6 @@ const deserializeAws_json1_1DeleteDomainEntryCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -5826,27 +6026,27 @@ const deserializeAws_json1_1DeleteDomainEntryCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteInstanceCommand = async ( +export const deserializeAws_json1_1DeleteDiskCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteInstanceCommandError(output, context); + return deserializeAws_json1_1DeleteDiskCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteInstanceResult(data, context); - const response: DeleteInstanceCommandOutput = { + contents = deserializeAws_json1_1DeleteDiskResult(data, context); + const response: DeleteDiskCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteInstanceCommandError = async ( +const deserializeAws_json1_1DeleteDiskCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5929,27 +6129,27 @@ const deserializeAws_json1_1DeleteInstanceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteInstanceSnapshotCommand = async ( +export const deserializeAws_json1_1DeleteDiskSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteInstanceSnapshotCommandError(output, context); + return deserializeAws_json1_1DeleteDiskSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteInstanceSnapshotResult(data, context); - const response: DeleteInstanceSnapshotCommandOutput = { + contents = deserializeAws_json1_1DeleteDiskSnapshotResult(data, context); + const response: DeleteDiskSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteInstanceSnapshotCommandError = async ( +const deserializeAws_json1_1DeleteDiskSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6032,27 +6232,27 @@ const deserializeAws_json1_1DeleteInstanceSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteKeyPairCommand = async ( +export const deserializeAws_json1_1DeleteDistributionCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteKeyPairCommandError(output, context); + return deserializeAws_json1_1DeleteDistributionCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteKeyPairResult(data, context); - const response: DeleteKeyPairCommandOutput = { + contents = deserializeAws_json1_1DeleteDistributionResult(data, context); + const response: DeleteDistributionCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteKeyPairCommandError = async ( +const deserializeAws_json1_1DeleteDistributionCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6070,14 +6270,6 @@ const deserializeAws_json1_1DeleteKeyPairCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -6135,27 +6327,27 @@ const deserializeAws_json1_1DeleteKeyPairCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteKnownHostKeysCommand = async ( +export const deserializeAws_json1_1DeleteDomainCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteKnownHostKeysCommandError(output, context); + return deserializeAws_json1_1DeleteDomainCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteKnownHostKeysResult(data, context); - const response: DeleteKnownHostKeysCommandOutput = { + contents = deserializeAws_json1_1DeleteDomainResult(data, context); + const response: DeleteDomainCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteKnownHostKeysCommandError = async ( +const deserializeAws_json1_1DeleteDomainCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6238,27 +6430,27 @@ const deserializeAws_json1_1DeleteKnownHostKeysCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteLoadBalancerCommand = async ( +export const deserializeAws_json1_1DeleteDomainEntryCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteLoadBalancerCommandError(output, context); + return deserializeAws_json1_1DeleteDomainEntryCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteLoadBalancerResult(data, context); - const response: DeleteLoadBalancerCommandOutput = { + contents = deserializeAws_json1_1DeleteDomainEntryResult(data, context); + const response: DeleteDomainEntryCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteLoadBalancerCommandError = async ( +const deserializeAws_json1_1DeleteDomainEntryCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6341,27 +6533,27 @@ const deserializeAws_json1_1DeleteLoadBalancerCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommand = async ( +export const deserializeAws_json1_1DeleteInstanceCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommandError(output, context); + return deserializeAws_json1_1DeleteInstanceCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteLoadBalancerTlsCertificateResult(data, context); - const response: DeleteLoadBalancerTlsCertificateCommandOutput = { + contents = deserializeAws_json1_1DeleteInstanceResult(data, context); + const response: DeleteInstanceCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommandError = async ( +const deserializeAws_json1_1DeleteInstanceCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6444,27 +6636,27 @@ const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteRelationalDatabaseCommand = async ( +export const deserializeAws_json1_1DeleteInstanceSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteRelationalDatabaseCommandError(output, context); + return deserializeAws_json1_1DeleteInstanceSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteRelationalDatabaseResult(data, context); - const response: DeleteRelationalDatabaseCommandOutput = { + contents = deserializeAws_json1_1DeleteInstanceSnapshotResult(data, context); + const response: DeleteInstanceSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteRelationalDatabaseCommandError = async ( +const deserializeAws_json1_1DeleteInstanceSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6547,27 +6739,27 @@ const deserializeAws_json1_1DeleteRelationalDatabaseCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommand = async ( +export const deserializeAws_json1_1DeleteKeyPairCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommandError(output, context); + return deserializeAws_json1_1DeleteKeyPairCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteRelationalDatabaseSnapshotResult(data, context); - const response: DeleteRelationalDatabaseSnapshotCommandOutput = { + contents = deserializeAws_json1_1DeleteKeyPairResult(data, context); + const response: DeleteKeyPairCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommandError = async ( +const deserializeAws_json1_1DeleteKeyPairCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6650,27 +6842,27 @@ const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DetachCertificateFromDistributionCommand = async ( +export const deserializeAws_json1_1DeleteKnownHostKeysCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DetachCertificateFromDistributionCommandError(output, context); + return deserializeAws_json1_1DeleteKnownHostKeysCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DetachCertificateFromDistributionResult(data, context); - const response: DetachCertificateFromDistributionCommandOutput = { + contents = deserializeAws_json1_1DeleteKnownHostKeysResult(data, context); + const response: DeleteKnownHostKeysCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DetachCertificateFromDistributionCommandError = async ( +const deserializeAws_json1_1DeleteKnownHostKeysCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6688,6 +6880,14 @@ const deserializeAws_json1_1DetachCertificateFromDistributionCommandError = asyn $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -6745,27 +6945,27 @@ const deserializeAws_json1_1DetachCertificateFromDistributionCommandError = asyn return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DetachDiskCommand = async ( +export const deserializeAws_json1_1DeleteLoadBalancerCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DetachDiskCommandError(output, context); + return deserializeAws_json1_1DeleteLoadBalancerCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DetachDiskResult(data, context); - const response: DetachDiskCommandOutput = { + contents = deserializeAws_json1_1DeleteLoadBalancerResult(data, context); + const response: DeleteLoadBalancerCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DetachDiskCommandError = async ( +const deserializeAws_json1_1DeleteLoadBalancerCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6848,27 +7048,27 @@ const deserializeAws_json1_1DetachDiskCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DetachInstancesFromLoadBalancerCommand = async ( +export const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DetachInstancesFromLoadBalancerCommandError(output, context); + return deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DetachInstancesFromLoadBalancerResult(data, context); - const response: DetachInstancesFromLoadBalancerCommandOutput = { + contents = deserializeAws_json1_1DeleteLoadBalancerTlsCertificateResult(data, context); + const response: DeleteLoadBalancerTlsCertificateCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DetachInstancesFromLoadBalancerCommandError = async ( +const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6951,27 +7151,27 @@ const deserializeAws_json1_1DetachInstancesFromLoadBalancerCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DetachStaticIpCommand = async ( +export const deserializeAws_json1_1DeleteRelationalDatabaseCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DetachStaticIpCommandError(output, context); + return deserializeAws_json1_1DeleteRelationalDatabaseCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DetachStaticIpResult(data, context); - const response: DetachStaticIpCommandOutput = { + contents = deserializeAws_json1_1DeleteRelationalDatabaseResult(data, context); + const response: DeleteRelationalDatabaseCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DetachStaticIpCommandError = async ( +const deserializeAws_json1_1DeleteRelationalDatabaseCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7054,27 +7254,27 @@ const deserializeAws_json1_1DetachStaticIpCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DisableAddOnCommand = async ( +export const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DisableAddOnCommandError(output, context); + return deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DisableAddOnResult(data, context); - const response: DisableAddOnCommandOutput = { + contents = deserializeAws_json1_1DeleteRelationalDatabaseSnapshotResult(data, context); + const response: DeleteRelationalDatabaseSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DisableAddOnCommandError = async ( +const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7092,6 +7292,14 @@ const deserializeAws_json1_1DisableAddOnCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -7149,27 +7357,27 @@ const deserializeAws_json1_1DisableAddOnCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DownloadDefaultKeyPairCommand = async ( +export const deserializeAws_json1_1DetachCertificateFromDistributionCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DownloadDefaultKeyPairCommandError(output, context); + return deserializeAws_json1_1DetachCertificateFromDistributionCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DownloadDefaultKeyPairResult(data, context); - const response: DownloadDefaultKeyPairCommandOutput = { + contents = deserializeAws_json1_1DetachCertificateFromDistributionResult(data, context); + const response: DetachCertificateFromDistributionCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DownloadDefaultKeyPairCommandError = async ( +const deserializeAws_json1_1DetachCertificateFromDistributionCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7187,14 +7395,6 @@ const deserializeAws_json1_1DownloadDefaultKeyPairCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -7252,27 +7452,27 @@ const deserializeAws_json1_1DownloadDefaultKeyPairCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1EnableAddOnCommand = async ( +export const deserializeAws_json1_1DetachDiskCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1EnableAddOnCommandError(output, context); + return deserializeAws_json1_1DetachDiskCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1EnableAddOnResult(data, context); - const response: EnableAddOnCommandOutput = { + contents = deserializeAws_json1_1DetachDiskResult(data, context); + const response: DetachDiskCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1EnableAddOnCommandError = async ( +const deserializeAws_json1_1DetachDiskCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7290,6 +7490,14 @@ const deserializeAws_json1_1EnableAddOnCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -7347,27 +7555,27 @@ const deserializeAws_json1_1EnableAddOnCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1ExportSnapshotCommand = async ( +export const deserializeAws_json1_1DetachInstancesFromLoadBalancerCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1ExportSnapshotCommandError(output, context); + return deserializeAws_json1_1DetachInstancesFromLoadBalancerCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1ExportSnapshotResult(data, context); - const response: ExportSnapshotCommandOutput = { + contents = deserializeAws_json1_1DetachInstancesFromLoadBalancerResult(data, context); + const response: DetachInstancesFromLoadBalancerCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1ExportSnapshotCommandError = async ( +const deserializeAws_json1_1DetachInstancesFromLoadBalancerCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7450,27 +7658,27 @@ const deserializeAws_json1_1ExportSnapshotCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetActiveNamesCommand = async ( +export const deserializeAws_json1_1DetachStaticIpCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetActiveNamesCommandError(output, context); + return deserializeAws_json1_1DetachStaticIpCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetActiveNamesResult(data, context); - const response: GetActiveNamesCommandOutput = { + contents = deserializeAws_json1_1DetachStaticIpResult(data, context); + const response: DetachStaticIpCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetActiveNamesCommandError = async ( +const deserializeAws_json1_1DetachStaticIpCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7553,27 +7761,27 @@ const deserializeAws_json1_1GetActiveNamesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetAlarmsCommand = async ( +export const deserializeAws_json1_1DisableAddOnCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetAlarmsCommandError(output, context); + return deserializeAws_json1_1DisableAddOnCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetAlarmsResult(data, context); - const response: GetAlarmsCommandOutput = { + contents = deserializeAws_json1_1DisableAddOnResult(data, context); + const response: DisableAddOnCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetAlarmsCommandError = async ( +const deserializeAws_json1_1DisableAddOnCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7648,27 +7856,27 @@ const deserializeAws_json1_1GetAlarmsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetAutoSnapshotsCommand = async ( +export const deserializeAws_json1_1DownloadDefaultKeyPairCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetAutoSnapshotsCommandError(output, context); + return deserializeAws_json1_1DownloadDefaultKeyPairCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetAutoSnapshotsResult(data, context); - const response: GetAutoSnapshotsCommandOutput = { + contents = deserializeAws_json1_1DownloadDefaultKeyPairResult(data, context); + const response: DownloadDefaultKeyPairCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetAutoSnapshotsCommandError = async ( +const deserializeAws_json1_1DownloadDefaultKeyPairCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7686,6 +7894,14 @@ const deserializeAws_json1_1GetAutoSnapshotsCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -7743,27 +7959,27 @@ const deserializeAws_json1_1GetAutoSnapshotsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetBlueprintsCommand = async ( +export const deserializeAws_json1_1EnableAddOnCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetBlueprintsCommandError(output, context); + return deserializeAws_json1_1EnableAddOnCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetBlueprintsResult(data, context); - const response: GetBlueprintsCommandOutput = { + contents = deserializeAws_json1_1EnableAddOnResult(data, context); + const response: EnableAddOnCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetBlueprintsCommandError = async ( +const deserializeAws_json1_1EnableAddOnCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7781,14 +7997,6 @@ const deserializeAws_json1_1GetBlueprintsCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "AccountSetupInProgressException": - case "com.amazonaws.lightsail#AccountSetupInProgressException": - response = { - ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InvalidInputException": case "com.amazonaws.lightsail#InvalidInputException": response = { @@ -7846,27 +8054,27 @@ const deserializeAws_json1_1GetBlueprintsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetBundlesCommand = async ( +export const deserializeAws_json1_1ExportSnapshotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetBundlesCommandError(output, context); + return deserializeAws_json1_1ExportSnapshotCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetBundlesResult(data, context); - const response: GetBundlesCommandOutput = { + contents = deserializeAws_json1_1ExportSnapshotResult(data, context); + const response: ExportSnapshotCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetBundlesCommandError = async ( +const deserializeAws_json1_1ExportSnapshotCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7949,27 +8157,27 @@ const deserializeAws_json1_1GetBundlesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetCertificatesCommand = async ( +export const deserializeAws_json1_1GetActiveNamesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetCertificatesCommandError(output, context); + return deserializeAws_json1_1GetActiveNamesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetCertificatesResult(data, context); - const response: GetCertificatesCommandOutput = { + contents = deserializeAws_json1_1GetActiveNamesResult(data, context); + const response: GetActiveNamesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetCertificatesCommandError = async ( +const deserializeAws_json1_1GetActiveNamesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -7987,10 +8195,18 @@ const deserializeAws_json1_1GetCertificatesCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "InvalidInputException": - case "com.amazonaws.lightsail#InvalidInputException": + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": response = { - ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), name: errorCode, $metadata: deserializeMetadata(output), }; @@ -8003,6 +8219,14 @@ const deserializeAws_json1_1GetCertificatesCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -8036,27 +8260,217 @@ const deserializeAws_json1_1GetCertificatesCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetCloudFormationStackRecordsCommand = async ( +export const deserializeAws_json1_1GetAlarmsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetCloudFormationStackRecordsCommandError(output, context); + return deserializeAws_json1_1GetAlarmsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetCloudFormationStackRecordsResult(data, context); - const response: GetCloudFormationStackRecordsCommandOutput = { + contents = deserializeAws_json1_1GetAlarmsResult(data, context); + const response: GetAlarmsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async ( +const deserializeAws_json1_1GetAlarmsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetAutoSnapshotsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetAutoSnapshotsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetAutoSnapshotsResult(data, context); + const response: GetAutoSnapshotsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetAutoSnapshotsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetBlueprintsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetBlueprintsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetBlueprintsResult(data, context); + const response: GetBlueprintsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetBlueprintsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -8139,27 +8553,921 @@ const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetContactMethodsCommand = async ( +export const deserializeAws_json1_1GetBundlesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetContactMethodsCommandError(output, context); + return deserializeAws_json1_1GetBundlesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetContactMethodsResult(data, context); - const response: GetContactMethodsCommandOutput = { + contents = deserializeAws_json1_1GetBundlesResult(data, context); + const response: GetBundlesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetBundlesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetCertificatesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetCertificatesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetCertificatesResult(data, context); + const response: GetCertificatesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetCertificatesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetCloudFormationStackRecordsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetCloudFormationStackRecordsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetCloudFormationStackRecordsResult(data, context); + const response: GetCloudFormationStackRecordsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "AccountSetupInProgressException": + case "com.amazonaws.lightsail#AccountSetupInProgressException": + response = { + ...(await deserializeAws_json1_1AccountSetupInProgressExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetContactMethodsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContactMethodsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContactMethodsResult(data, context); + const response: GetContactMethodsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContactMethodsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OperationFailureException": + case "com.amazonaws.lightsail#OperationFailureException": + response = { + ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetContainerAPIMetadataCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerAPIMetadataCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerAPIMetadataResult(data, context); + const response: GetContainerAPIMetadataCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContainerAPIMetadataCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetContainerImagesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerImagesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerImagesResult(data, context); + const response: GetContainerImagesCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContainerImagesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetContainerLogCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerLogCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerLogResult(data, context); + const response: GetContainerLogCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContainerLogCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetContainerServiceDeploymentsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerServiceDeploymentsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerServiceDeploymentsResult(data, context); + const response: GetContainerServiceDeploymentsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContainerServiceDeploymentsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetContainerServiceMetricDataCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerServiceMetricDataCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerServiceMetricDataResult(data, context); + const response: GetContainerServiceMetricDataCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContainerServiceMetricDataCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetContainerServicePowersCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerServicePowersCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetContainerServicePowersResult(data, context); + const response: GetContainerServicePowersCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetContainerServicePowersCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetContainerServicesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetContainerServicesCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1ContainerServicesListResult(data, context); + const response: GetContainerServicesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetContactMethodsCommandError = async ( +const deserializeAws_json1_1GetContainerServicesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -8193,14 +9501,6 @@ const deserializeAws_json1_1GetContactMethodsCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "OperationFailureException": - case "com.amazonaws.lightsail#OperationFailureException": - response = { - ...(await deserializeAws_json1_1OperationFailureExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ServiceException": case "com.amazonaws.lightsail#ServiceException": response = { @@ -13447,6 +14747,93 @@ const deserializeAws_json1_1RebootRelationalDatabaseCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1RegisterContainerImageCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1RegisterContainerImageCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1RegisterContainerImageResult(data, context); + const response: RegisterContainerImageCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1RegisterContainerImageCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1ReleaseStaticIpCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -14556,6 +15943,93 @@ const deserializeAws_json1_1UntagResourceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1UpdateContainerServiceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1UpdateContainerServiceCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1UpdateContainerServiceResult(data, context); + const response: UpdateContainerServiceCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1UpdateContainerServiceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.lightsail#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidInputException": + case "com.amazonaws.lightsail#InvalidInputException": + response = { + ...(await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.lightsail#NotFoundException": + response = { + ...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceException": + case "com.amazonaws.lightsail#ServiceException": + response = { + ...(await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnauthenticatedException": + case "com.amazonaws.lightsail#UnauthenticatedException": + response = { + ...(await deserializeAws_json1_1UnauthenticatedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1UpdateDistributionCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -15408,6 +16882,70 @@ const serializeAws_json1_1ContactProtocolsList = ( return input.map((entry) => entry); }; +const serializeAws_json1_1Container = (input: Container, context: __SerdeContext): any => { + return { + ...(input.command !== undefined && { command: serializeAws_json1_1StringList(input.command, context) }), + ...(input.environment !== undefined && { + environment: serializeAws_json1_1Environment(input.environment, context), + }), + ...(input.image !== undefined && { image: input.image }), + ...(input.ports !== undefined && { ports: serializeAws_json1_1PortMap(input.ports, context) }), + }; +}; + +const serializeAws_json1_1ContainerMap = (input: { [key: string]: Container }, context: __SerdeContext): any => { + return Object.entries(input).reduce( + (acc: { [key: string]: Container }, [key, value]: [string, any]) => ({ + ...acc, + [key]: serializeAws_json1_1Container(value, context), + }), + {} + ); +}; + +const serializeAws_json1_1ContainerServiceDeploymentRequest = ( + input: ContainerServiceDeploymentRequest, + context: __SerdeContext +): any => { + return { + ...(input.containers !== undefined && { containers: serializeAws_json1_1ContainerMap(input.containers, context) }), + ...(input.publicEndpoint !== undefined && { + publicEndpoint: serializeAws_json1_1EndpointRequest(input.publicEndpoint, context), + }), + }; +}; + +const serializeAws_json1_1ContainerServiceHealthCheckConfig = ( + input: ContainerServiceHealthCheckConfig, + context: __SerdeContext +): any => { + return { + ...(input.healthyThreshold !== undefined && { healthyThreshold: input.healthyThreshold }), + ...(input.intervalSeconds !== undefined && { intervalSeconds: input.intervalSeconds }), + ...(input.path !== undefined && { path: input.path }), + ...(input.successCodes !== undefined && { successCodes: input.successCodes }), + ...(input.timeoutSeconds !== undefined && { timeoutSeconds: input.timeoutSeconds }), + ...(input.unhealthyThreshold !== undefined && { unhealthyThreshold: input.unhealthyThreshold }), + }; +}; + +const serializeAws_json1_1ContainerServicePublicDomains = ( + input: { [key: string]: string[] }, + context: __SerdeContext +): any => { + return Object.entries(input).reduce( + (acc: { [key: string]: string[] }, [key, value]: [string, any]) => ({ + ...acc, + [key]: serializeAws_json1_1ContainerServicePublicDomainsList(value, context), + }), + {} + ); +}; + +const serializeAws_json1_1ContainerServicePublicDomainsList = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + const serializeAws_json1_1CookieObject = (input: CookieObject, context: __SerdeContext): any => { return { ...(input.cookiesAllowList !== undefined && { @@ -15465,6 +17003,44 @@ const serializeAws_json1_1CreateContactMethodRequest = ( }; }; +const serializeAws_json1_1CreateContainerServiceDeploymentRequest = ( + input: CreateContainerServiceDeploymentRequest, + context: __SerdeContext +): any => { + return { + ...(input.containers !== undefined && { containers: serializeAws_json1_1ContainerMap(input.containers, context) }), + ...(input.publicEndpoint !== undefined && { + publicEndpoint: serializeAws_json1_1EndpointRequest(input.publicEndpoint, context), + }), + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + }; +}; + +const serializeAws_json1_1CreateContainerServiceRegistryLoginRequest = ( + input: CreateContainerServiceRegistryLoginRequest, + context: __SerdeContext +): any => { + return {}; +}; + +const serializeAws_json1_1CreateContainerServiceRequest = ( + input: CreateContainerServiceRequest, + context: __SerdeContext +): any => { + return { + ...(input.deployment !== undefined && { + deployment: serializeAws_json1_1ContainerServiceDeploymentRequest(input.deployment, context), + }), + ...(input.power !== undefined && { power: input.power }), + ...(input.publicDomainNames !== undefined && { + publicDomainNames: serializeAws_json1_1ContainerServicePublicDomains(input.publicDomainNames, context), + }), + ...(input.scale !== undefined && { scale: input.scale }), + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + ...(input.tags !== undefined && { tags: serializeAws_json1_1TagList(input.tags, context) }), + }; +}; + const serializeAws_json1_1CreateDiskFromSnapshotRequest = ( input: CreateDiskFromSnapshotRequest, context: __SerdeContext @@ -15733,6 +17309,25 @@ const serializeAws_json1_1DeleteContactMethodRequest = ( }; }; +const serializeAws_json1_1DeleteContainerImageRequest = ( + input: DeleteContainerImageRequest, + context: __SerdeContext +): any => { + return { + ...(input.image !== undefined && { image: input.image }), + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + }; +}; + +const serializeAws_json1_1DeleteContainerServiceRequest = ( + input: DeleteContainerServiceRequest, + context: __SerdeContext +): any => { + return { + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + }; +}; + const serializeAws_json1_1DeleteDiskRequest = (input: DeleteDiskRequest, context: __SerdeContext): any => { return { ...(input.diskName !== undefined && { diskName: input.diskName }), @@ -15939,8 +17534,28 @@ const serializeAws_json1_1EnableAddOnRequest = (input: EnableAddOnRequest, conte ...(input.addOnRequest !== undefined && { addOnRequest: serializeAws_json1_1AddOnRequest(input.addOnRequest, context), }), - ...(input.resourceName !== undefined && { resourceName: input.resourceName }), - }; + ...(input.resourceName !== undefined && { resourceName: input.resourceName }), + }; +}; + +const serializeAws_json1_1EndpointRequest = (input: EndpointRequest, context: __SerdeContext): any => { + return { + ...(input.containerName !== undefined && { containerName: input.containerName }), + ...(input.containerPort !== undefined && { containerPort: input.containerPort }), + ...(input.healthCheck !== undefined && { + healthCheck: serializeAws_json1_1ContainerServiceHealthCheckConfig(input.healthCheck, context), + }), + }; +}; + +const serializeAws_json1_1Environment = (input: { [key: string]: string }, context: __SerdeContext): any => { + return Object.entries(input).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); }; const serializeAws_json1_1ExportSnapshotRequest = (input: ExportSnapshotRequest, context: __SerdeContext): any => { @@ -16015,6 +17630,74 @@ const serializeAws_json1_1GetContactMethodsRequest = ( }; }; +const serializeAws_json1_1GetContainerAPIMetadataRequest = ( + input: GetContainerAPIMetadataRequest, + context: __SerdeContext +): any => { + return {}; +}; + +const serializeAws_json1_1GetContainerImagesRequest = ( + input: GetContainerImagesRequest, + context: __SerdeContext +): any => { + return { + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + }; +}; + +const serializeAws_json1_1GetContainerLogRequest = (input: GetContainerLogRequest, context: __SerdeContext): any => { + return { + ...(input.containerName !== undefined && { containerName: input.containerName }), + ...(input.endTime !== undefined && { endTime: Math.round(input.endTime.getTime() / 1000) }), + ...(input.filterPattern !== undefined && { filterPattern: input.filterPattern }), + ...(input.pageToken !== undefined && { pageToken: input.pageToken }), + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + ...(input.startTime !== undefined && { startTime: Math.round(input.startTime.getTime() / 1000) }), + }; +}; + +const serializeAws_json1_1GetContainerServiceDeploymentsRequest = ( + input: GetContainerServiceDeploymentsRequest, + context: __SerdeContext +): any => { + return { + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + }; +}; + +const serializeAws_json1_1GetContainerServiceMetricDataRequest = ( + input: GetContainerServiceMetricDataRequest, + context: __SerdeContext +): any => { + return { + ...(input.endTime !== undefined && { endTime: Math.round(input.endTime.getTime() / 1000) }), + ...(input.metricName !== undefined && { metricName: input.metricName }), + ...(input.period !== undefined && { period: input.period }), + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + ...(input.startTime !== undefined && { startTime: Math.round(input.startTime.getTime() / 1000) }), + ...(input.statistics !== undefined && { + statistics: serializeAws_json1_1MetricStatisticList(input.statistics, context), + }), + }; +}; + +const serializeAws_json1_1GetContainerServicePowersRequest = ( + input: GetContainerServicePowersRequest, + context: __SerdeContext +): any => { + return {}; +}; + +const serializeAws_json1_1GetContainerServicesRequest = ( + input: GetContainerServicesRequest, + context: __SerdeContext +): any => { + return { + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + }; +}; + const serializeAws_json1_1GetDiskRequest = (input: GetDiskRequest, context: __SerdeContext): any => { return { ...(input.diskName !== undefined && { diskName: input.diskName }), @@ -16476,6 +18159,19 @@ const serializeAws_json1_1PortInfoList = (input: PortInfo[], context: __SerdeCon return input.map((entry) => serializeAws_json1_1PortInfo(entry, context)); }; +const serializeAws_json1_1PortMap = ( + input: { [key: string]: ContainerServiceProtocol | string }, + context: __SerdeContext +): any => { + return Object.entries(input).reduce( + (acc: { [key: string]: ContainerServiceProtocol | string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + const serializeAws_json1_1PutAlarmRequest = (input: PutAlarmRequest, context: __SerdeContext): any => { return { ...(input.alarmName !== undefined && { alarmName: input.alarmName }), @@ -16530,6 +18226,17 @@ const serializeAws_json1_1RebootRelationalDatabaseRequest = ( }; }; +const serializeAws_json1_1RegisterContainerImageRequest = ( + input: RegisterContainerImageRequest, + context: __SerdeContext +): any => { + return { + ...(input.digest !== undefined && { digest: input.digest }), + ...(input.label !== undefined && { label: input.label }), + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + }; +}; + const serializeAws_json1_1RelationalDatabaseParameter = ( input: RelationalDatabaseParameter, context: __SerdeContext @@ -16665,6 +18372,21 @@ const serializeAws_json1_1UntagResourceRequest = (input: UntagResourceRequest, c }; }; +const serializeAws_json1_1UpdateContainerServiceRequest = ( + input: UpdateContainerServiceRequest, + context: __SerdeContext +): any => { + return { + ...(input.isDisabled !== undefined && { isDisabled: input.isDisabled }), + ...(input.power !== undefined && { power: input.power }), + ...(input.publicDomainNames !== undefined && { + publicDomainNames: serializeAws_json1_1ContainerServicePublicDomains(input.publicDomainNames, context), + }), + ...(input.scale !== undefined && { scale: input.scale }), + ...(input.serviceName !== undefined && { serviceName: input.serviceName }), + }; +}; + const serializeAws_json1_1UpdateDistributionBundleRequest = ( input: UpdateDistributionBundleRequest, context: __SerdeContext @@ -17080,149 +18802,409 @@ const deserializeAws_json1_1Certificate = (output: any, context: __SerdeContext) output.renewalSummary !== undefined && output.renewalSummary !== null ? deserializeAws_json1_1RenewalSummary(output.renewalSummary, context) : undefined, - requestFailureReason: - output.requestFailureReason !== undefined && output.requestFailureReason !== null - ? output.requestFailureReason + requestFailureReason: + output.requestFailureReason !== undefined && output.requestFailureReason !== null + ? output.requestFailureReason + : undefined, + revocationReason: + output.revocationReason !== undefined && output.revocationReason !== null ? output.revocationReason : undefined, + revokedAt: + output.revokedAt !== undefined && output.revokedAt !== null + ? new Date(Math.round(output.revokedAt * 1000)) + : undefined, + serialNumber: output.serialNumber !== undefined && output.serialNumber !== null ? output.serialNumber : undefined, + status: output.status !== undefined && output.status !== null ? output.status : undefined, + subjectAlternativeNames: + output.subjectAlternativeNames !== undefined && output.subjectAlternativeNames !== null + ? deserializeAws_json1_1SubjectAlternativeNameList(output.subjectAlternativeNames, context) + : undefined, + supportCode: output.supportCode !== undefined && output.supportCode !== null ? output.supportCode : undefined, + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_json1_1TagList(output.tags, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1CertificateSummary = (output: any, context: __SerdeContext): CertificateSummary => { + return { + certificateArn: + output.certificateArn !== undefined && output.certificateArn !== null ? output.certificateArn : undefined, + certificateDetail: + output.certificateDetail !== undefined && output.certificateDetail !== null + ? deserializeAws_json1_1Certificate(output.certificateDetail, context) + : undefined, + certificateName: + output.certificateName !== undefined && output.certificateName !== null ? output.certificateName : undefined, + domainName: output.domainName !== undefined && output.domainName !== null ? output.domainName : undefined, + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_json1_1TagList(output.tags, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1CertificateSummaryList = (output: any, context: __SerdeContext): CertificateSummary[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1CertificateSummary(entry, context)); +}; + +const deserializeAws_json1_1CloseInstancePublicPortsResult = ( + output: any, + context: __SerdeContext +): CloseInstancePublicPortsResult => { + return { + operation: + output.operation !== undefined && output.operation !== null + ? deserializeAws_json1_1Operation(output.operation, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1CloudFormationStackRecord = ( + output: any, + context: __SerdeContext +): CloudFormationStackRecord => { + return { + arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, + createdAt: + output.createdAt !== undefined && output.createdAt !== null + ? new Date(Math.round(output.createdAt * 1000)) + : undefined, + destinationInfo: + output.destinationInfo !== undefined && output.destinationInfo !== null + ? deserializeAws_json1_1DestinationInfo(output.destinationInfo, context) + : undefined, + location: + output.location !== undefined && output.location !== null + ? deserializeAws_json1_1ResourceLocation(output.location, context) + : undefined, + name: output.name !== undefined && output.name !== null ? output.name : undefined, + resourceType: output.resourceType !== undefined && output.resourceType !== null ? output.resourceType : undefined, + sourceInfo: + output.sourceInfo !== undefined && output.sourceInfo !== null + ? deserializeAws_json1_1CloudFormationStackRecordSourceInfoList(output.sourceInfo, context) + : undefined, + state: output.state !== undefined && output.state !== null ? output.state : undefined, + } as any; +}; + +const deserializeAws_json1_1CloudFormationStackRecordList = ( + output: any, + context: __SerdeContext +): CloudFormationStackRecord[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1CloudFormationStackRecord(entry, context)); +}; + +const deserializeAws_json1_1CloudFormationStackRecordSourceInfo = ( + output: any, + context: __SerdeContext +): CloudFormationStackRecordSourceInfo => { + return { + arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, + name: output.name !== undefined && output.name !== null ? output.name : undefined, + resourceType: output.resourceType !== undefined && output.resourceType !== null ? output.resourceType : undefined, + } as any; +}; + +const deserializeAws_json1_1CloudFormationStackRecordSourceInfoList = ( + output: any, + context: __SerdeContext +): CloudFormationStackRecordSourceInfo[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1CloudFormationStackRecordSourceInfo(entry, context)); +}; + +const deserializeAws_json1_1ContactMethod = (output: any, context: __SerdeContext): ContactMethod => { + return { + arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, + contactEndpoint: + output.contactEndpoint !== undefined && output.contactEndpoint !== null ? output.contactEndpoint : undefined, + createdAt: + output.createdAt !== undefined && output.createdAt !== null + ? new Date(Math.round(output.createdAt * 1000)) + : undefined, + location: + output.location !== undefined && output.location !== null + ? deserializeAws_json1_1ResourceLocation(output.location, context) + : undefined, + name: output.name !== undefined && output.name !== null ? output.name : undefined, + protocol: output.protocol !== undefined && output.protocol !== null ? output.protocol : undefined, + resourceType: output.resourceType !== undefined && output.resourceType !== null ? output.resourceType : undefined, + status: output.status !== undefined && output.status !== null ? output.status : undefined, + supportCode: output.supportCode !== undefined && output.supportCode !== null ? output.supportCode : undefined, + } as any; +}; + +const deserializeAws_json1_1ContactMethodsList = (output: any, context: __SerdeContext): ContactMethod[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ContactMethod(entry, context)); +}; + +const deserializeAws_json1_1ContactProtocolsList = ( + output: any, + context: __SerdeContext +): (ContactProtocol | string)[] => { + return (output || []).map((entry: any) => entry); +}; + +const deserializeAws_json1_1Container = (output: any, context: __SerdeContext): Container => { + return { + command: + output.command !== undefined && output.command !== null + ? deserializeAws_json1_1StringList(output.command, context) + : undefined, + environment: + output.environment !== undefined && output.environment !== null + ? deserializeAws_json1_1Environment(output.environment, context) + : undefined, + image: output.image !== undefined && output.image !== null ? output.image : undefined, + ports: + output.ports !== undefined && output.ports !== null + ? deserializeAws_json1_1PortMap(output.ports, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1ContainerImage = (output: any, context: __SerdeContext): ContainerImage => { + return { + createdAt: + output.createdAt !== undefined && output.createdAt !== null + ? new Date(Math.round(output.createdAt * 1000)) + : undefined, + digest: output.digest !== undefined && output.digest !== null ? output.digest : undefined, + image: output.image !== undefined && output.image !== null ? output.image : undefined, + } as any; +}; + +const deserializeAws_json1_1ContainerImageList = (output: any, context: __SerdeContext): ContainerImage[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ContainerImage(entry, context)); +}; + +const deserializeAws_json1_1ContainerMap = (output: any, context: __SerdeContext): { [key: string]: Container } => { + return Object.entries(output).reduce( + (acc: { [key: string]: Container }, [key, value]: [string, any]) => ({ + ...acc, + [key]: deserializeAws_json1_1Container(value, context), + }), + {} + ); +}; + +const deserializeAws_json1_1ContainerService = (output: any, context: __SerdeContext): ContainerService => { + return { + arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, + containerServiceName: + output.containerServiceName !== undefined && output.containerServiceName !== null + ? output.containerServiceName + : undefined, + createdAt: + output.createdAt !== undefined && output.createdAt !== null + ? new Date(Math.round(output.createdAt * 1000)) + : undefined, + currentDeployment: + output.currentDeployment !== undefined && output.currentDeployment !== null + ? deserializeAws_json1_1ContainerServiceDeployment(output.currentDeployment, context) + : undefined, + isDisabled: output.isDisabled !== undefined && output.isDisabled !== null ? output.isDisabled : undefined, + location: + output.location !== undefined && output.location !== null + ? deserializeAws_json1_1ResourceLocation(output.location, context) + : undefined, + nextDeployment: + output.nextDeployment !== undefined && output.nextDeployment !== null + ? deserializeAws_json1_1ContainerServiceDeployment(output.nextDeployment, context) : undefined, - revocationReason: - output.revocationReason !== undefined && output.revocationReason !== null ? output.revocationReason : undefined, - revokedAt: - output.revokedAt !== undefined && output.revokedAt !== null - ? new Date(Math.round(output.revokedAt * 1000)) + power: output.power !== undefined && output.power !== null ? output.power : undefined, + powerId: output.powerId !== undefined && output.powerId !== null ? output.powerId : undefined, + principalArn: output.principalArn !== undefined && output.principalArn !== null ? output.principalArn : undefined, + privateDomainName: + output.privateDomainName !== undefined && output.privateDomainName !== null + ? output.privateDomainName : undefined, - serialNumber: output.serialNumber !== undefined && output.serialNumber !== null ? output.serialNumber : undefined, - status: output.status !== undefined && output.status !== null ? output.status : undefined, - subjectAlternativeNames: - output.subjectAlternativeNames !== undefined && output.subjectAlternativeNames !== null - ? deserializeAws_json1_1SubjectAlternativeNameList(output.subjectAlternativeNames, context) + publicDomainNames: + output.publicDomainNames !== undefined && output.publicDomainNames !== null + ? deserializeAws_json1_1ContainerServicePublicDomains(output.publicDomainNames, context) : undefined, - supportCode: output.supportCode !== undefined && output.supportCode !== null ? output.supportCode : undefined, + resourceType: output.resourceType !== undefined && output.resourceType !== null ? output.resourceType : undefined, + scale: output.scale !== undefined && output.scale !== null ? output.scale : undefined, + state: output.state !== undefined && output.state !== null ? output.state : undefined, tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1TagList(output.tags, context) : undefined, + url: output.url !== undefined && output.url !== null ? output.url : undefined, } as any; }; -const deserializeAws_json1_1CertificateSummary = (output: any, context: __SerdeContext): CertificateSummary => { +const deserializeAws_json1_1ContainerServiceDeployment = ( + output: any, + context: __SerdeContext +): ContainerServiceDeployment => { return { - certificateArn: - output.certificateArn !== undefined && output.certificateArn !== null ? output.certificateArn : undefined, - certificateDetail: - output.certificateDetail !== undefined && output.certificateDetail !== null - ? deserializeAws_json1_1Certificate(output.certificateDetail, context) + containers: + output.containers !== undefined && output.containers !== null + ? deserializeAws_json1_1ContainerMap(output.containers, context) : undefined, - certificateName: - output.certificateName !== undefined && output.certificateName !== null ? output.certificateName : undefined, - domainName: output.domainName !== undefined && output.domainName !== null ? output.domainName : undefined, - tags: - output.tags !== undefined && output.tags !== null - ? deserializeAws_json1_1TagList(output.tags, context) + createdAt: + output.createdAt !== undefined && output.createdAt !== null + ? new Date(Math.round(output.createdAt * 1000)) : undefined, + publicEndpoint: + output.publicEndpoint !== undefined && output.publicEndpoint !== null + ? deserializeAws_json1_1ContainerServiceEndpoint(output.publicEndpoint, context) + : undefined, + state: output.state !== undefined && output.state !== null ? output.state : undefined, + version: output.version !== undefined && output.version !== null ? output.version : undefined, } as any; }; -const deserializeAws_json1_1CertificateSummaryList = (output: any, context: __SerdeContext): CertificateSummary[] => { - return (output || []).map((entry: any) => deserializeAws_json1_1CertificateSummary(entry, context)); +const deserializeAws_json1_1ContainerServiceDeploymentList = ( + output: any, + context: __SerdeContext +): ContainerServiceDeployment[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ContainerServiceDeployment(entry, context)); }; -const deserializeAws_json1_1CloseInstancePublicPortsResult = ( +const deserializeAws_json1_1ContainerServiceEndpoint = ( output: any, context: __SerdeContext -): CloseInstancePublicPortsResult => { +): ContainerServiceEndpoint => { return { - operation: - output.operation !== undefined && output.operation !== null - ? deserializeAws_json1_1Operation(output.operation, context) + containerName: + output.containerName !== undefined && output.containerName !== null ? output.containerName : undefined, + containerPort: + output.containerPort !== undefined && output.containerPort !== null ? output.containerPort : undefined, + healthCheck: + output.healthCheck !== undefined && output.healthCheck !== null + ? deserializeAws_json1_1ContainerServiceHealthCheckConfig(output.healthCheck, context) : undefined, } as any; }; -const deserializeAws_json1_1CloudFormationStackRecord = ( +const deserializeAws_json1_1ContainerServiceHealthCheckConfig = ( output: any, context: __SerdeContext -): CloudFormationStackRecord => { +): ContainerServiceHealthCheckConfig => { + return { + healthyThreshold: + output.healthyThreshold !== undefined && output.healthyThreshold !== null ? output.healthyThreshold : undefined, + intervalSeconds: + output.intervalSeconds !== undefined && output.intervalSeconds !== null ? output.intervalSeconds : undefined, + path: output.path !== undefined && output.path !== null ? output.path : undefined, + successCodes: output.successCodes !== undefined && output.successCodes !== null ? output.successCodes : undefined, + timeoutSeconds: + output.timeoutSeconds !== undefined && output.timeoutSeconds !== null ? output.timeoutSeconds : undefined, + unhealthyThreshold: + output.unhealthyThreshold !== undefined && output.unhealthyThreshold !== null + ? output.unhealthyThreshold + : undefined, + } as any; +}; + +const deserializeAws_json1_1ContainerServiceList = (output: any, context: __SerdeContext): ContainerService[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ContainerService(entry, context)); +}; + +const deserializeAws_json1_1ContainerServiceLogEvent = ( + output: any, + context: __SerdeContext +): ContainerServiceLogEvent => { return { - arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, createdAt: output.createdAt !== undefined && output.createdAt !== null ? new Date(Math.round(output.createdAt * 1000)) : undefined, - destinationInfo: - output.destinationInfo !== undefined && output.destinationInfo !== null - ? deserializeAws_json1_1DestinationInfo(output.destinationInfo, context) - : undefined, - location: - output.location !== undefined && output.location !== null - ? deserializeAws_json1_1ResourceLocation(output.location, context) - : undefined, - name: output.name !== undefined && output.name !== null ? output.name : undefined, - resourceType: output.resourceType !== undefined && output.resourceType !== null ? output.resourceType : undefined, - sourceInfo: - output.sourceInfo !== undefined && output.sourceInfo !== null - ? deserializeAws_json1_1CloudFormationStackRecordSourceInfoList(output.sourceInfo, context) - : undefined, - state: output.state !== undefined && output.state !== null ? output.state : undefined, + message: output.message !== undefined && output.message !== null ? output.message : undefined, } as any; }; -const deserializeAws_json1_1CloudFormationStackRecordList = ( +const deserializeAws_json1_1ContainerServiceLogEventList = ( output: any, context: __SerdeContext -): CloudFormationStackRecord[] => { - return (output || []).map((entry: any) => deserializeAws_json1_1CloudFormationStackRecord(entry, context)); +): ContainerServiceLogEvent[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ContainerServiceLogEvent(entry, context)); }; -const deserializeAws_json1_1CloudFormationStackRecordSourceInfo = ( +const deserializeAws_json1_1ContainerServiceMetadataEntry = ( output: any, context: __SerdeContext -): CloudFormationStackRecordSourceInfo => { - return { - arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, - name: output.name !== undefined && output.name !== null ? output.name : undefined, - resourceType: output.resourceType !== undefined && output.resourceType !== null ? output.resourceType : undefined, - } as any; +): { [key: string]: string } => { + return Object.entries(output).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); }; -const deserializeAws_json1_1CloudFormationStackRecordSourceInfoList = ( +const deserializeAws_json1_1ContainerServiceMetadataEntryList = ( output: any, context: __SerdeContext -): CloudFormationStackRecordSourceInfo[] => { - return (output || []).map((entry: any) => deserializeAws_json1_1CloudFormationStackRecordSourceInfo(entry, context)); +): { [key: string]: string }[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ContainerServiceMetadataEntry(entry, context)); }; -const deserializeAws_json1_1ContactMethod = (output: any, context: __SerdeContext): ContactMethod => { +const deserializeAws_json1_1ContainerServicePower = (output: any, context: __SerdeContext): ContainerServicePower => { return { - arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, - contactEndpoint: - output.contactEndpoint !== undefined && output.contactEndpoint !== null ? output.contactEndpoint : undefined, - createdAt: - output.createdAt !== undefined && output.createdAt !== null - ? new Date(Math.round(output.createdAt * 1000)) - : undefined, - location: - output.location !== undefined && output.location !== null - ? deserializeAws_json1_1ResourceLocation(output.location, context) - : undefined, + cpuCount: output.cpuCount !== undefined && output.cpuCount !== null ? output.cpuCount : undefined, + isActive: output.isActive !== undefined && output.isActive !== null ? output.isActive : undefined, name: output.name !== undefined && output.name !== null ? output.name : undefined, - protocol: output.protocol !== undefined && output.protocol !== null ? output.protocol : undefined, - resourceType: output.resourceType !== undefined && output.resourceType !== null ? output.resourceType : undefined, - status: output.status !== undefined && output.status !== null ? output.status : undefined, - supportCode: output.supportCode !== undefined && output.supportCode !== null ? output.supportCode : undefined, + powerId: output.powerId !== undefined && output.powerId !== null ? output.powerId : undefined, + price: output.price !== undefined && output.price !== null ? output.price : undefined, + ramSizeInGb: output.ramSizeInGb !== undefined && output.ramSizeInGb !== null ? output.ramSizeInGb : undefined, } as any; }; -const deserializeAws_json1_1ContactMethodsList = (output: any, context: __SerdeContext): ContactMethod[] => { - return (output || []).map((entry: any) => deserializeAws_json1_1ContactMethod(entry, context)); +const deserializeAws_json1_1ContainerServicePowerList = ( + output: any, + context: __SerdeContext +): ContainerServicePower[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ContainerServicePower(entry, context)); }; -const deserializeAws_json1_1ContactProtocolsList = ( +const deserializeAws_json1_1ContainerServicePublicDomains = ( output: any, context: __SerdeContext -): (ContactProtocol | string)[] => { +): { [key: string]: string[] } => { + return Object.entries(output).reduce( + (acc: { [key: string]: string[] }, [key, value]: [string, any]) => ({ + ...acc, + [key]: deserializeAws_json1_1ContainerServicePublicDomainsList(value, context), + }), + {} + ); +}; + +const deserializeAws_json1_1ContainerServicePublicDomainsList = (output: any, context: __SerdeContext): string[] => { return (output || []).map((entry: any) => entry); }; +const deserializeAws_json1_1ContainerServiceRegistryLogin = ( + output: any, + context: __SerdeContext +): ContainerServiceRegistryLogin => { + return { + expiresAt: + output.expiresAt !== undefined && output.expiresAt !== null + ? new Date(Math.round(output.expiresAt * 1000)) + : undefined, + password: output.password !== undefined && output.password !== null ? output.password : undefined, + registry: output.registry !== undefined && output.registry !== null ? output.registry : undefined, + username: output.username !== undefined && output.username !== null ? output.username : undefined, + } as any; +}; + +const deserializeAws_json1_1ContainerServicesListResult = ( + output: any, + context: __SerdeContext +): ContainerServicesListResult => { + return { + containerServices: + output.containerServices !== undefined && output.containerServices !== null + ? deserializeAws_json1_1ContainerServiceList(output.containerServices, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1CookieObject = (output: any, context: __SerdeContext): CookieObject => { return { cookiesAllowList: @@ -17282,6 +19264,42 @@ const deserializeAws_json1_1CreateContactMethodResult = ( } as any; }; +const deserializeAws_json1_1CreateContainerServiceDeploymentResult = ( + output: any, + context: __SerdeContext +): CreateContainerServiceDeploymentResult => { + return { + containerService: + output.containerService !== undefined && output.containerService !== null + ? deserializeAws_json1_1ContainerService(output.containerService, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1CreateContainerServiceRegistryLoginResult = ( + output: any, + context: __SerdeContext +): CreateContainerServiceRegistryLoginResult => { + return { + registryLogin: + output.registryLogin !== undefined && output.registryLogin !== null + ? deserializeAws_json1_1ContainerServiceRegistryLogin(output.registryLogin, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1CreateContainerServiceResult = ( + output: any, + context: __SerdeContext +): CreateContainerServiceResult => { + return { + containerService: + output.containerService !== undefined && output.containerService !== null + ? deserializeAws_json1_1ContainerService(output.containerService, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1CreateDiskFromSnapshotResult = ( output: any, context: __SerdeContext @@ -17507,6 +19525,20 @@ const deserializeAws_json1_1DeleteContactMethodResult = ( } as any; }; +const deserializeAws_json1_1DeleteContainerImageResult = ( + output: any, + context: __SerdeContext +): DeleteContainerImageResult => { + return {} as any; +}; + +const deserializeAws_json1_1DeleteContainerServiceResult = ( + output: any, + context: __SerdeContext +): DeleteContainerServiceResult => { + return {} as any; +}; + const deserializeAws_json1_1DeleteDiskResult = (output: any, context: __SerdeContext): DeleteDiskResult => { return { operations: @@ -17921,6 +19953,16 @@ const deserializeAws_json1_1EnableAddOnResult = (output: any, context: __SerdeCo } as any; }; +const deserializeAws_json1_1Environment = (output: any, context: __SerdeContext): { [key: string]: string } => { + return Object.entries(output).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + const deserializeAws_json1_1ExportSnapshotRecord = (output: any, context: __SerdeContext): ExportSnapshotRecord => { return { arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, @@ -18079,6 +20121,78 @@ const deserializeAws_json1_1GetContactMethodsResult = ( } as any; }; +const deserializeAws_json1_1GetContainerAPIMetadataResult = ( + output: any, + context: __SerdeContext +): GetContainerAPIMetadataResult => { + return { + metadata: + output.metadata !== undefined && output.metadata !== null + ? deserializeAws_json1_1ContainerServiceMetadataEntryList(output.metadata, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1GetContainerImagesResult = ( + output: any, + context: __SerdeContext +): GetContainerImagesResult => { + return { + containerImages: + output.containerImages !== undefined && output.containerImages !== null + ? deserializeAws_json1_1ContainerImageList(output.containerImages, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1GetContainerLogResult = (output: any, context: __SerdeContext): GetContainerLogResult => { + return { + logEvents: + output.logEvents !== undefined && output.logEvents !== null + ? deserializeAws_json1_1ContainerServiceLogEventList(output.logEvents, context) + : undefined, + nextPageToken: + output.nextPageToken !== undefined && output.nextPageToken !== null ? output.nextPageToken : undefined, + } as any; +}; + +const deserializeAws_json1_1GetContainerServiceDeploymentsResult = ( + output: any, + context: __SerdeContext +): GetContainerServiceDeploymentsResult => { + return { + deployments: + output.deployments !== undefined && output.deployments !== null + ? deserializeAws_json1_1ContainerServiceDeploymentList(output.deployments, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1GetContainerServiceMetricDataResult = ( + output: any, + context: __SerdeContext +): GetContainerServiceMetricDataResult => { + return { + metricData: + output.metricData !== undefined && output.metricData !== null + ? deserializeAws_json1_1MetricDatapointList(output.metricData, context) + : undefined, + metricName: output.metricName !== undefined && output.metricName !== null ? output.metricName : undefined, + } as any; +}; + +const deserializeAws_json1_1GetContainerServicePowersResult = ( + output: any, + context: __SerdeContext +): GetContainerServicePowersResult => { + return { + powers: + output.powers !== undefined && output.powers !== null + ? deserializeAws_json1_1ContainerServicePowerList(output.powers, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1GetDiskResult = (output: any, context: __SerdeContext): GetDiskResult => { return { disk: @@ -19377,6 +21491,19 @@ const deserializeAws_json1_1PortList = (output: any, context: __SerdeContext): n return (output || []).map((entry: any) => entry); }; +const deserializeAws_json1_1PortMap = ( + output: any, + context: __SerdeContext +): { [key: string]: ContainerServiceProtocol | string } => { + return Object.entries(output).reduce( + (acc: { [key: string]: ContainerServiceProtocol | string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + const deserializeAws_json1_1PutAlarmResult = (output: any, context: __SerdeContext): PutAlarmResult => { return { operations: @@ -19451,6 +21578,18 @@ const deserializeAws_json1_1RegionList = (output: any, context: __SerdeContext): return (output || []).map((entry: any) => deserializeAws_json1_1Region(entry, context)); }; +const deserializeAws_json1_1RegisterContainerImageResult = ( + output: any, + context: __SerdeContext +): RegisterContainerImageResult => { + return { + containerImage: + output.containerImage !== undefined && output.containerImage !== null + ? deserializeAws_json1_1ContainerImage(output.containerImage, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1RelationalDatabase = (output: any, context: __SerdeContext): RelationalDatabase => { return { arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, @@ -19937,6 +22076,18 @@ const deserializeAws_json1_1UntagResourceResult = (output: any, context: __Serde } as any; }; +const deserializeAws_json1_1UpdateContainerServiceResult = ( + output: any, + context: __SerdeContext +): UpdateContainerServiceResult => { + return { + containerService: + output.containerService !== undefined && output.containerService !== null + ? deserializeAws_json1_1ContainerService(output.containerService, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1UpdateDistributionBundleResult = ( output: any, context: __SerdeContext diff --git a/clients/client-personalize-runtime/models/models_0.ts b/clients/client-personalize-runtime/models/models_0.ts index c9271e01e093..0f650c5482b5 100644 --- a/clients/client-personalize-runtime/models/models_0.ts +++ b/clients/client-personalize-runtime/models/models_0.ts @@ -2,18 +2,6 @@ import { SENSITIVE_STRING, SmithyException as __SmithyException } from "@aws-sdk import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; export interface GetPersonalizedRankingRequest { - /** - *

                      The Amazon Resource Name (ARN) of a filter you created to include or exclude items from recommendations for a given user.

                      - */ - filterArn?: string; - - /** - *

                      The contextual metadata to use when getting recommendations. Contextual metadata includes - * any interaction information that might be relevant when getting a user's recommendations, such - * as the user's current location or device type.

                      - */ - context?: { [key: string]: string }; - /** *

                      The Amazon Resource Name (ARN) of the campaign to use for generating the personalized * ranking.

                      @@ -30,12 +18,41 @@ export interface GetPersonalizedRankingRequest { *

                      The user for which you want the campaign to provide a personalized ranking.

                      */ userId: string | undefined; + + /** + *

                      The contextual metadata to use when getting recommendations. Contextual metadata includes + * any interaction information that might be relevant when getting a user's recommendations, such + * as the user's current location or device type.

                      + */ + context?: { [key: string]: string }; + + /** + *

                      The Amazon Resource Name (ARN) of a filter you created to include items or exclude items from recommendations for a given user. + * For more information, see + * Filtering Recommendations.

                      + */ + filterArn?: string; + + /** + *

                      The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case) + * as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma. + *

                      + *

                      For filter expressions that use an INCLUDE element to include items, + * you must provide values for all parameters that are defined in the expression. For + * filters with expressions that use an EXCLUDE element to exclude items, you + * can omit the filter-values.In this case, Amazon Personalize doesn't use that portion of + * the expression to filter recommendations.

                      + *

                      For more information, see + * Filtering Recommendations.

                      + */ + filterValues?: { [key: string]: string }; } export namespace GetPersonalizedRankingRequest { export const filterSensitiveLog = (obj: GetPersonalizedRankingRequest): any => ({ ...obj, ...(obj.context && { context: SENSITIVE_STRING }), + ...(obj.filterValues && { filterValues: SENSITIVE_STRING }), }); } @@ -46,15 +63,15 @@ export namespace GetPersonalizedRankingRequest { */ export interface PredictedItem { /** - *

                      A numeric representation of the model's certainty that the item will be the next user - * selection. For more information on scoring logic, see how-scores-work.

                      + *

                      The recommended item ID.

                      */ - score?: number; + itemId?: string; /** - *

                      The recommended item ID.

                      + *

                      A numeric representation of the model's certainty that the item will be the next user + * selection. For more information on scoring logic, see how-scores-work.

                      */ - itemId?: string; + score?: number; } export namespace PredictedItem { @@ -112,6 +129,17 @@ export namespace ResourceNotFoundException { } export interface GetRecommendationsRequest { + /** + *

                      The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.

                      + */ + campaignArn: string | undefined; + + /** + *

                      The item ID to provide recommendations for.

                      + *

                      Required for RELATED_ITEMS recipe type.

                      + */ + itemId?: string; + /** *

                      The user ID to provide recommendations for.

                      *

                      Required for USER_PERSONALIZATION recipe type.

                      @@ -119,9 +147,9 @@ export interface GetRecommendationsRequest { userId?: string; /** - *

                      The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.

                      + *

                      The number of results to return. The default is 25. The maximum is 500.

                      */ - campaignArn: string | undefined; + numResults?: number; /** *

                      The contextual metadata to use when getting recommendations. Contextual metadata includes @@ -130,43 +158,47 @@ export interface GetRecommendationsRequest { */ context?: { [key: string]: string }; - /** - *

                      The number of results to return. The default is 25. The maximum is 500.

                      - */ - numResults?: number; - /** *

                      The ARN of the filter to apply to the returned recommendations. For more information, see - * Using Filters with Amazon Personalize.

                      + * Filtering Recommendations.

                      *

                      When using this parameter, be sure the filter resource is ACTIVE.

                      */ filterArn?: string; /** - *

                      The item ID to provide recommendations for.

                      - *

                      Required for RELATED_ITEMS recipe type.

                      + *

                      The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case) + * as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma. + *

                      + *

                      For filter expressions that use an INCLUDE element to include items, + * you must provide values for all parameters that are defined in the expression. For + * filters with expressions that use an EXCLUDE element to exclude items, you + * can omit the filter-values.In this case, Amazon Personalize doesn't use that portion of + * the expression to filter recommendations.

                      + *

                      For more information, see + * Filtering Recommendations.

                      */ - itemId?: string; + filterValues?: { [key: string]: string }; } export namespace GetRecommendationsRequest { export const filterSensitiveLog = (obj: GetRecommendationsRequest): any => ({ ...obj, ...(obj.context && { context: SENSITIVE_STRING }), + ...(obj.filterValues && { filterValues: SENSITIVE_STRING }), }); } export interface GetRecommendationsResponse { - /** - *

                      The ID of the recommendation.

                      - */ - recommendationId?: string; - /** *

                      A list of recommendations sorted in ascending order by prediction score. There can be a * maximum of 500 items in the list.

                      */ itemList?: PredictedItem[]; + + /** + *

                      The ID of the recommendation.

                      + */ + recommendationId?: string; } export namespace GetRecommendationsResponse { diff --git a/clients/client-personalize-runtime/protocols/Aws_restJson1.ts b/clients/client-personalize-runtime/protocols/Aws_restJson1.ts index e48557b95308..005bb9ca0174 100644 --- a/clients/client-personalize-runtime/protocols/Aws_restJson1.ts +++ b/clients/client-personalize-runtime/protocols/Aws_restJson1.ts @@ -26,6 +26,9 @@ export const serializeAws_restJson1GetPersonalizedRankingCommand = async ( ...(input.campaignArn !== undefined && { campaignArn: input.campaignArn }), ...(input.context !== undefined && { context: serializeAws_restJson1Context(input.context, context) }), ...(input.filterArn !== undefined && { filterArn: input.filterArn }), + ...(input.filterValues !== undefined && { + filterValues: serializeAws_restJson1FilterValues(input.filterValues, context), + }), ...(input.inputList !== undefined && { inputList: serializeAws_restJson1InputList(input.inputList, context) }), ...(input.userId !== undefined && { userId: input.userId }), }); @@ -54,6 +57,9 @@ export const serializeAws_restJson1GetRecommendationsCommand = async ( ...(input.campaignArn !== undefined && { campaignArn: input.campaignArn }), ...(input.context !== undefined && { context: serializeAws_restJson1Context(input.context, context) }), ...(input.filterArn !== undefined && { filterArn: input.filterArn }), + ...(input.filterValues !== undefined && { + filterValues: serializeAws_restJson1FilterValues(input.filterValues, context), + }), ...(input.itemId !== undefined && { itemId: input.itemId }), ...(input.numResults !== undefined && { numResults: input.numResults }), ...(input.userId !== undefined && { userId: input.userId }), @@ -248,6 +254,16 @@ const serializeAws_restJson1Context = (input: { [key: string]: string }, context ); }; +const serializeAws_restJson1FilterValues = (input: { [key: string]: string }, context: __SerdeContext): any => { + return Object.entries(input).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + const serializeAws_restJson1InputList = (input: string[], context: __SerdeContext): any => { return input.map((entry) => entry); }; diff --git a/clients/client-polly/Polly.ts b/clients/client-polly/Polly.ts index 29be5a63d7d1..921e9783cbcc 100644 --- a/clients/client-polly/Polly.ts +++ b/clients/client-polly/Polly.ts @@ -39,17 +39,20 @@ import { import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; /** - *

                      Amazon Polly is a web service that makes it easy to synthesize speech from text.

                      - *

                      The Amazon Polly service provides API operations for synthesizing high-quality speech from plain text and Speech Synthesis Markup Language (SSML), - * along with managing pronunciations lexicons that enable you to get the best results for your application domain.

                      + *

                      Amazon Polly is a web service that makes it easy to synthesize speech from + * text.

                      + *

                      The Amazon Polly service provides API operations for synthesizing high-quality speech + * from plain text and Speech Synthesis Markup Language (SSML), along with managing + * pronunciations lexicons that enable you to get the best results for your application + * domain.

                      */ export class Polly extends PollyClient { /** - *

                      Deletes the specified pronunciation lexicon stored in an AWS Region. - * A lexicon which has been deleted is not available for speech synthesis, - * nor is it possible to retrieve it using either the - * GetLexicon or ListLexicon APIs.

                      - *

                      For more information, see Managing Lexicons.

                      + *

                      Deletes the specified pronunciation lexicon stored in an AWS Region. A lexicon which + * has been deleted is not available for speech synthesis, nor is it possible to retrieve it + * using either the GetLexicon or ListLexicon APIs.

                      + *

                      For more information, see Managing + * Lexicons.

                      */ public deleteLexicon( args: DeleteLexiconCommandInput, @@ -85,22 +88,19 @@ export class Polly extends PollyClient { * Each voice speaks a specified language, is either male or female, and is identified by an ID, * which is the ASCII version of the voice name.

                      * - *

                      When synthesizing speech ( SynthesizeSpeech ), - * you provide the voice ID for the voice you want from the list of voices - * returned by DescribeVoices.

                      + *

                      When synthesizing speech ( SynthesizeSpeech ), you provide the voice ID + * for the voice you want from the list of voices returned by + * DescribeVoices.

                      * *

                      For example, you want your news reader application to read news in a specific language, - * but giving a user the option to choose the voice. - * Using the DescribeVoices operation you can provide the user with a list of available voices to select from.

                      + * but giving a user the option to choose the voice. Using the DescribeVoices + * operation you can provide the user with a list of available voices to select from.

                      * - *

                      - * You can optionally specify a language code - * to filter the available voices. - * For example, if you specify en-US, the operation returns a list of all - * available US English voices. - *

                      - *

                      This operation requires permissions to perform the - * polly:DescribeVoices action.

                      + *

                      You can optionally specify a language code to filter the available voices. For + * example, if you specify en-US, the operation returns a list of all available US + * English voices.

                      + *

                      This operation requires permissions to perform the polly:DescribeVoices + * action.

                      */ public describeVoices( args: DescribeVoicesCommandInput, @@ -132,8 +132,9 @@ export class Polly extends PollyClient { } /** - *

                      Returns the content of the specified pronunciation lexicon stored in an AWS Region. - * For more information, see Managing Lexicons.

                      + *

                      Returns the content of the specified pronunciation lexicon stored in an AWS Region. For + * more information, see Managing + * Lexicons.

                      */ public getLexicon(args: GetLexiconCommandInput, options?: __HttpHandlerOptions): Promise; public getLexicon(args: GetLexiconCommandInput, cb: (err: any, data?: GetLexiconCommandOutput) => void): void; @@ -159,9 +160,9 @@ export class Polly extends PollyClient { } /** - *

                      Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object - * contains information about the given speech synthesis task, including the status of the - * task, and a link to the S3 bucket containing the output of the task.

                      + *

                      Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object contains + * information about the given speech synthesis task, including the status of the task, and a + * link to the S3 bucket containing the output of the task.

                      */ public getSpeechSynthesisTask( args: GetSpeechSynthesisTaskCommandInput, @@ -193,8 +194,9 @@ export class Polly extends PollyClient { } /** - *

                      Returns a list of pronunciation lexicons stored in an AWS Region. - * For more information, see Managing Lexicons.

                      + *

                      Returns a list of pronunciation lexicons stored in an AWS Region. For more information, + * see Managing + * Lexicons.

                      */ public listLexicons( args: ListLexiconsCommandInput, @@ -223,8 +225,9 @@ export class Polly extends PollyClient { } /** - *

                      Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation - * can filter the tasks by their status, for example, allowing users to list only tasks that are completed.

                      + *

                      Returns a list of SpeechSynthesisTask objects ordered by their creation date. This + * operation can filter the tasks by their status, for example, allowing users to list only tasks + * that are completed.

                      */ public listSpeechSynthesisTasks( args: ListSpeechSynthesisTasksCommandInput, @@ -256,12 +259,12 @@ export class Polly extends PollyClient { } /** - *

                      Stores a pronunciation lexicon in an AWS Region. - * If a lexicon with the same name already exists in the region, - * it is overwritten by the new lexicon. - * Lexicon operations have eventual consistency, - * therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.

                      - *

                      For more information, see Managing Lexicons.

                      + *

                      Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same name + * already exists in the region, it is overwritten by the new lexicon. Lexicon operations have + * eventual consistency, therefore, it might take some time before the lexicon is available to + * the SynthesizeSpeech operation.

                      + *

                      For more information, see Managing + * Lexicons.

                      */ public putLexicon(args: PutLexiconCommandInput, options?: __HttpHandlerOptions): Promise; public putLexicon(args: PutLexiconCommandInput, cb: (err: any, data?: PutLexiconCommandOutput) => void): void; @@ -287,11 +290,12 @@ export class Polly extends PollyClient { } /** - *

                      Allows the creation of an asynchronous synthesis task, by starting a new SpeechSynthesisTask. This - * operation requires all the standard information needed for speech synthesis, plus the name of an Amazon S3 bucket - * for the service to store the output of the synthesis task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn). - * Once the synthesis task is created, this operation will return a SpeechSynthesisTask object, which will include an - * identifier of this task as well as the current status.

                      + *

                      Allows the creation of an asynchronous synthesis task, by starting a new + * SpeechSynthesisTask. This operation requires all the standard information + * needed for speech synthesis, plus the name of an Amazon S3 bucket for the service to store the + * output of the synthesis task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn). + * Once the synthesis task is created, this operation will return a SpeechSynthesisTask object, + * which will include an identifier of this task as well as the current status.

                      */ public startSpeechSynthesisTask( args: StartSpeechSynthesisTaskCommandInput, @@ -323,10 +327,11 @@ export class Polly extends PollyClient { } /** - *

                      Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. - * SSML input must be valid, well-formed SSML. - * Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. - * For more information, see How it Works.

                      + *

                      Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be + * valid, well-formed SSML. Some alphabets might not be available with all the voices (for + * example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. + * For more information, see How it + * Works.

                      */ public synthesizeSpeech( args: SynthesizeSpeechCommandInput, diff --git a/clients/client-polly/PollyClient.ts b/clients/client-polly/PollyClient.ts index 3175adc57843..f95b57e432cb 100644 --- a/clients/client-polly/PollyClient.ts +++ b/clients/client-polly/PollyClient.ts @@ -200,9 +200,12 @@ export type PollyClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHand HostHeaderResolvedConfig; /** - *

                      Amazon Polly is a web service that makes it easy to synthesize speech from text.

                      - *

                      The Amazon Polly service provides API operations for synthesizing high-quality speech from plain text and Speech Synthesis Markup Language (SSML), - * along with managing pronunciations lexicons that enable you to get the best results for your application domain.

                      + *

                      Amazon Polly is a web service that makes it easy to synthesize speech from + * text.

                      + *

                      The Amazon Polly service provides API operations for synthesizing high-quality speech + * from plain text and Speech Synthesis Markup Language (SSML), along with managing + * pronunciations lexicons that enable you to get the best results for your application + * domain.

                      */ export class PollyClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-polly/models/models_0.ts b/clients/client-polly/models/models_0.ts index 4cf04644dc26..045e63d52113 100644 --- a/clients/client-polly/models/models_0.ts +++ b/clients/client-polly/models/models_0.ts @@ -4,8 +4,7 @@ import { Readable } from "stream"; export interface DeleteLexiconInput { /** - *

                      The name of the lexicon to delete. - * Must be an existing lexicon in the region.

                      + *

                      The name of the lexicon to delete. Must be an existing lexicon in the region.

                      */ Name: string | undefined; } @@ -13,7 +12,6 @@ export interface DeleteLexiconInput { export namespace DeleteLexiconInput { export const filterSensitiveLog = (obj: DeleteLexiconInput): any => ({ ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), }); } @@ -26,9 +24,9 @@ export namespace DeleteLexiconOutput { } /** - *

                      Amazon Polly can't find the specified lexicon. - * This could be caused by a lexicon that is missing, its name is misspelled or specifying a lexicon - * that is in a different region.

                      + *

                      Amazon Polly can't find the specified lexicon. This could be caused by a lexicon that + * is missing, its name is misspelled or specifying a lexicon that is in a different + * region.

                      *

                      Verify that the lexicon exists, is in the region (see ListLexicons) * and that you spelled its name is spelled correctly. Then try again.

                      */ @@ -97,33 +95,32 @@ export type LanguageCode = export interface DescribeVoicesInput { /** - *

                      Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language. For instance, if - * you request all languages that use US English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US English, that voice will - * be included if you specify yes but not if you specify no.

                      + *

                      Specifies the engine (standard or neural) used by Amazon Polly + * when processing input text for speech synthesis.

                      */ - IncludeAdditionalLanguageCodes?: boolean; + Engine?: Engine | string; /** - *

                      Specifies the engine (standard or neural) used by Amazon Polly when processing input text for speech synthesis.

                      + *

                      The language identification tag (ISO 639 code for the language name-ISO 3166 country + * code) for filtering the list of voices returned. If you don't specify this optional parameter, + * all available voices are returned.

                      */ - Engine?: Engine | string; + LanguageCode?: LanguageCode | string; /** - *

                      An opaque pagination token returned from the previous - * DescribeVoices operation. If present, this indicates where to - * continue the listing.

                      + *

                      Boolean value indicating whether to return any bilingual voices that use the specified + * language as an additional language. For instance, if you request all languages that use US + * English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US + * English, that voice will be included if you specify yes but not if you specify + * no.

                      */ - NextToken?: string; + IncludeAdditionalLanguageCodes?: boolean; /** - *

                      - * - * The language identification tag (ISO 639 code for the language name-ISO 3166 country code) - * for filtering the list of voices returned. - * If you don't specify this optional parameter, all available voices are returned. - *

                      + *

                      An opaque pagination token returned from the previous DescribeVoices + * operation. If present, this indicates where to continue the listing.

                      */ - LanguageCode?: LanguageCode | string; + NextToken?: string; } export namespace DescribeVoicesInput { @@ -183,6 +180,7 @@ export type VoiceId = | "Mizuki" | "Naja" | "Nicole" + | "Olivia" | "Penelope" | "Raveena" | "Ricardo" @@ -202,44 +200,46 @@ export type VoiceId = */ export interface Voice { /** - *

                      Language code of the voice.

                      - */ - LanguageCode?: LanguageCode | string; - - /** - *

                      Human readable name of the language in English.

                      + *

                      Gender of the voice.

                      */ - LanguageName?: string; + Gender?: Gender | string; /** - *

                      Amazon Polly assigned voice ID. This is the ID that you specify - * when calling the SynthesizeSpeech operation.

                      + *

                      Amazon Polly assigned voice ID. This is the ID that you specify when calling the + * SynthesizeSpeech operation.

                      */ Id?: VoiceId | string; /** - *

                      Gender of the voice.

                      + *

                      Language code of the voice.

                      */ - Gender?: Gender | string; + LanguageCode?: LanguageCode | string; /** - *

                      Specifies which engines (standard or neural) that are supported by a given voice.

                      + *

                      Human readable name of the language in English.

                      */ - SupportedEngines?: (Engine | string)[]; + LanguageName?: string; /** - *

                      Name of the voice (for example, Salli, Kendra, etc.). - * This provides a human readable voice name that you might display - * in your application.

                      + *

                      Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable + * voice name that you might display in your application.

                      */ Name?: string; /** - *

                      Additional codes for languages available for the specified voice in addition to its default language.

                      - *

                      For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since - * Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code hi-IN.

                      + *

                      Additional codes for languages available for the specified voice in addition to its + * default language.

                      + *

                      For example, the default language for Aditi is Indian English (en-IN) because it was first + * used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, + * this parameter would show the code hi-IN.

                      */ AdditionalLanguageCodes?: (LanguageCode | string)[]; + + /** + *

                      Specifies which engines (standard or neural) that are supported + * by a given voice.

                      + */ + SupportedEngines?: (Engine | string)[]; } export namespace Voice { @@ -250,16 +250,15 @@ export namespace Voice { export interface DescribeVoicesOutput { /** - *

                      The pagination token to use in the next request to continue - * the listing of voices. NextToken is returned only if - * the response is truncated.

                      + *

                      A list of voices with their properties.

                      */ - NextToken?: string; + Voices?: Voice[]; /** - *

                      A list of voices with their properties.

                      + *

                      The pagination token to use in the next request to continue the listing of voices. + * NextToken is returned only if the response is truncated.

                      */ - Voices?: Voice[]; + NextToken?: string; } export namespace DescribeVoicesOutput { @@ -269,8 +268,8 @@ export namespace DescribeVoicesOutput { } /** - *

                      The NextToken is invalid. - * Verify that it's spelled correctly, and then try again.

                      + *

                      The NextToken is invalid. Verify that it's spelled correctly, and then try + * again.

                      */ export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer { name: "InvalidNextTokenException"; @@ -285,8 +284,8 @@ export namespace InvalidNextTokenException { } /** - *

                      This engine is not compatible with the voice that you have designated. Choose a new voice that is compatible with the engine or change the engine - * and restart the operation.

                      + *

                      This engine is not compatible with the voice that you have designated. Choose a new voice + * that is compatible with the engine or change the engine and restart the operation.

                      */ export interface EngineNotSupportedException extends __SmithyException, $MetadataBearer { name: "EngineNotSupportedException"; @@ -310,18 +309,18 @@ export interface GetLexiconInput { export namespace GetLexiconInput { export const filterSensitiveLog = (obj: GetLexiconInput): any => ({ ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), }); } /** - *

                      Provides lexicon name and lexicon content in string format. - * For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0.

                      + *

                      Provides lexicon name and lexicon content in string format. For more information, see + * Pronunciation Lexicon + * Specification (PLS) Version 1.0.

                      */ export interface Lexicon { /** - *

                      Lexicon content in string format. - * The content of a lexicon must be in PLS format.

                      + *

                      Lexicon content in string format. The content of a lexicon must be in PLS + * format.

                      */ Content?: string; @@ -334,27 +333,25 @@ export interface Lexicon { export namespace Lexicon { export const filterSensitiveLog = (obj: Lexicon): any => ({ ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), + ...(obj.Content && { Content: SENSITIVE_STRING }), }); } /** *

                      Contains metadata describing the lexicon such as the number of lexemes, language code, - * and so on. - * For more information, see Managing Lexicons.

                      + * and so on. For more information, see Managing + * Lexicons.

                      */ export interface LexiconAttributes { /** - *

                      Phonetic alphabet used in the lexicon. - * Valid values are ipa and x-sampa.

                      + *

                      Phonetic alphabet used in the lexicon. Valid values are ipa and + * x-sampa.

                      */ Alphabet?: string; /** - *

                      Language code that the lexicon applies to. - * A lexicon with a language code such as "en" would be - * applied to all English languages (en-GB, en-US, en-AUS, - * en-WLS, and so on.

                      + *

                      Language code that the lexicon applies to. A lexicon with a language code such as "en" + * would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

                      */ LanguageCode?: LanguageCode | string; @@ -369,14 +366,14 @@ export interface LexiconAttributes { LexiconArn?: string; /** - *

                      Total size of the lexicon, in characters.

                      + *

                      Number of lexemes in the lexicon.

                      */ - Size?: number; + LexemesCount?: number; /** - *

                      Number of lexemes in the lexicon.

                      + *

                      Total size of the lexicon, in characters.

                      */ - LexemesCount?: number; + Size?: number; } export namespace LexiconAttributes { @@ -387,16 +384,15 @@ export namespace LexiconAttributes { export interface GetLexiconOutput { /** - *

                      Metadata of the lexicon, including phonetic alphabetic used, language code, - * lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.

                      + *

                      Lexicon object that provides name and the string content of the lexicon.

                      */ - LexiconAttributes?: LexiconAttributes; + Lexicon?: Lexicon; /** - *

                      Lexicon object that provides name and the string content of the - * lexicon.

                      + *

                      Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon + * ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.

                      */ - Lexicon?: Lexicon; + LexiconAttributes?: LexiconAttributes; } export namespace GetLexiconOutput { @@ -450,106 +446,108 @@ export enum TextType { */ export interface SynthesisTask { /** - *

                      Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as - * Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

                      - *

                      If a bilingual voice is used and no language code is specified, Amazon Polly will use the default language - * of the bilingual voice. The default language for any voice is the one returned by the DescribeVoices - * operation for the LanguageCode parameter. For example, if no language code is specified, Aditi will use Indian English rather - * than Hindi.

                      + *

                      Specifies the engine (standard or neural) for Amazon Polly to + * use when processing input text for speech synthesis. Using a voice that is not supported for + * the engine selected will result in an error.

                      */ - LanguageCode?: LanguageCode | string; + Engine?: Engine | string; /** - *

                      The audio frequency specified in Hz.

                      - *

                      The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The - * default value for standard voices is "22050". The default value for neural voices is "24000".

                      - *

                      Valid values for pcm are "8000" and "16000" The default value is "16000".

                      + *

                      The Amazon Polly generated identifier for a speech synthesis task.

                      */ - SampleRate?: string; + TaskId?: string; /** - *

                      Pathway for the output speech file.

                      + *

                      Current status of the individual speech synthesis task.

                      */ - OutputUri?: string; + TaskStatus?: TaskStatus | string; /** - *

                      Reason for the current status of a specific speech synthesis task, including - * errors if the task has failed.

                      + *

                      Reason for the current status of a specific speech synthesis task, including errors if the + * task has failed.

                      */ TaskStatusReason?: string; /** - *

                      Number of billable characters synthesized.

                      + *

                      Pathway for the output speech file.

                      */ - RequestCharacters?: number; + OutputUri?: string; /** - *

                      Current status of the individual speech synthesis task.

                      + *

                      Timestamp for the time the synthesis task was started.

                      */ - TaskStatus?: TaskStatus | string; + CreationTime?: Date; /** - *

                      Specifies whether the input text is plain text or SSML. The default value is plain text.

                      + *

                      Number of billable characters synthesized.

                      */ - TextType?: TextType | string; + RequestCharacters?: number; /** - *

                      List of one or more pronunciation lexicon names you want the service - * to apply during synthesis. Lexicons are applied only if the language - * of the lexicon is the same as the language of the voice.

                      + *

                      ARN for the SNS topic optionally used for providing status notification for a speech + * synthesis task.

                      */ - LexiconNames?: string[]; + SnsTopicArn?: string; /** - *

                      ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.

                      + *

                      List of one or more pronunciation lexicon names you want the service to apply during + * synthesis. Lexicons are applied only if the language of the lexicon is the same as the + * language of the voice.

                      */ - SnsTopicArn?: string; + LexiconNames?: string[]; /** - *

                      The format in which the returned output will be encoded. For - * audio stream, this will be mp3, ogg_vorbis, or pcm. For speech - * marks, this will be json.

                      + *

                      The format in which the returned output will be encoded. For audio stream, this will be + * mp3, ogg_vorbis, or pcm. For speech marks, this will be json.

                      */ OutputFormat?: OutputFormat | string; /** - *

                      Timestamp for the time the synthesis task was started.

                      + *

                      The audio frequency specified in Hz.

                      + *

                      The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The + * default value for standard voices is "22050". The default value for neural voices is + * "24000".

                      + *

                      Valid values for pcm are "8000" and "16000" The default value is "16000".

                      */ - CreationTime?: Date; + SampleRate?: string; /** - *

                      Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine - * selected will result in an error.

                      + *

                      The type of speech marks returned for the input text.

                      */ - Engine?: Engine | string; + SpeechMarkTypes?: (SpeechMarkType | string)[]; /** - *

                      Voice ID to use for the synthesis.

                      + *

                      Specifies whether the input text is plain text or SSML. The default value is plain text. + *

                      */ - VoiceId?: VoiceId | string; + TextType?: TextType | string; /** - *

                      The Amazon Polly generated identifier for a speech synthesis task.

                      + *

                      Voice ID to use for the synthesis.

                      */ - TaskId?: string; + VoiceId?: VoiceId | string; /** - *

                      The type of speech marks returned for the input text.

                      + *

                      Optional language code for a synthesis task. This is only necessary if using a bilingual + * voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

                      + *

                      If a bilingual voice is used and no language code is specified, Amazon Polly will use the + * default language of the bilingual voice. The default language for any voice is the one + * returned by the DescribeVoices operation for the LanguageCode parameter. For example, + * if no language code is specified, Aditi will use Indian English rather than Hindi.

                      */ - SpeechMarkTypes?: (SpeechMarkType | string)[]; + LanguageCode?: LanguageCode | string; } export namespace SynthesisTask { export const filterSensitiveLog = (obj: SynthesisTask): any => ({ ...obj, - ...(obj.LexiconNames && { LexiconNames: SENSITIVE_STRING }), }); } export interface GetSpeechSynthesisTaskOutput { /** - *

                      SynthesisTask object that provides information from the requested task, - * including output format, creation time, task status, and so on.

                      + *

                      SynthesisTask object that provides information from the requested task, including output + * format, creation time, task status, and so on.

                      */ SynthesisTask?: SynthesisTask; } @@ -557,7 +555,6 @@ export interface GetSpeechSynthesisTaskOutput { export namespace GetSpeechSynthesisTaskOutput { export const filterSensitiveLog = (obj: GetSpeechSynthesisTaskOutput): any => ({ ...obj, - ...(obj.SynthesisTask && { SynthesisTask: SynthesisTask.filterSensitiveLog(obj.SynthesisTask) }), }); } @@ -592,8 +589,8 @@ export namespace SynthesisTaskNotFoundException { } /** - *

                      Amazon Polly can't find the specified lexicon. - * Verify that the lexicon's name is spelled correctly, and then try again.

                      + *

                      Amazon Polly can't find the specified lexicon. Verify that the lexicon's name is + * spelled correctly, and then try again.

                      */ export interface InvalidLexiconException extends __SmithyException, $MetadataBearer { name: "InvalidLexiconException"; @@ -624,7 +621,8 @@ export namespace InvalidS3BucketException { } /** - *

                      The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object key name.

                      + *

                      The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object key + * name.

                      */ export interface InvalidS3KeyException extends __SmithyException, $MetadataBearer { name: "InvalidS3KeyException"; @@ -654,7 +652,8 @@ export namespace InvalidSampleRateException { } /** - *

                      The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN and try again.

                      + *

                      The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN and try + * again.

                      */ export interface InvalidSnsTopicArnException extends __SmithyException, $MetadataBearer { name: "InvalidSnsTopicArnException"; @@ -669,8 +668,8 @@ export namespace InvalidSnsTopicArnException { } /** - *

                      The SSML you provided is invalid. - * Verify the SSML syntax, spelling of tags and values, and then try again.

                      + *

                      The SSML you provided is invalid. Verify the SSML syntax, spelling of tags and values, + * and then try again.

                      */ export interface InvalidSsmlException extends __SmithyException, $MetadataBearer { name: "InvalidSsmlException"; @@ -704,25 +703,25 @@ export namespace LanguageNotSupportedException { */ export interface LexiconDescription { /** - *

                      Provides lexicon metadata.

                      + *

                      Name of the lexicon.

                      */ - Attributes?: LexiconAttributes; + Name?: string; /** - *

                      Name of the lexicon.

                      + *

                      Provides lexicon metadata.

                      */ - Name?: string; + Attributes?: LexiconAttributes; } export namespace LexiconDescription { export const filterSensitiveLog = (obj: LexiconDescription): any => ({ ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), }); } /** - *

                      The maximum size of the specified lexicon would be exceeded by this operation.

                      + *

                      The maximum size of the specified lexicon would be exceeded by this + * operation.

                      */ export interface LexiconSizeExceededException extends __SmithyException, $MetadataBearer { name: "LexiconSizeExceededException"; @@ -738,9 +737,8 @@ export namespace LexiconSizeExceededException { export interface ListLexiconsInput { /** - *

                      An opaque pagination token returned from previous - * ListLexicons operation. If present, indicates where to - * continue the list of lexicons.

                      + *

                      An opaque pagination token returned from previous ListLexicons operation. + * If present, indicates where to continue the list of lexicons.

                      */ NextToken?: string; } @@ -753,22 +751,20 @@ export namespace ListLexiconsInput { export interface ListLexiconsOutput { /** - *

                      The pagination token to use in the next request to continue - * the listing of lexicons. NextToken is returned only if - * the response is truncated.

                      + *

                      A list of lexicon names and attributes.

                      */ - NextToken?: string; + Lexicons?: LexiconDescription[]; /** - *

                      A list of lexicon names and attributes.

                      + *

                      The pagination token to use in the next request to continue the listing of lexicons. + * NextToken is returned only if the response is truncated.

                      */ - Lexicons?: LexiconDescription[]; + NextToken?: string; } export namespace ListLexiconsOutput { export const filterSensitiveLog = (obj: ListLexiconsOutput): any => ({ ...obj, - ...(obj.Lexicons && { Lexicons: obj.Lexicons.map((item) => LexiconDescription.filterSensitiveLog(item)) }), }); } @@ -779,15 +775,15 @@ export interface ListSpeechSynthesisTasksInput { MaxResults?: number; /** - *

                      Status of the speech synthesis tasks returned in a List operation

                      + *

                      The pagination token to use in the next request to continue the listing of speech + * synthesis tasks.

                      */ - Status?: TaskStatus | string; + NextToken?: string; /** - *

                      The pagination token to use in the next request to continue the listing of speech synthesis - * tasks.

                      + *

                      Status of the speech synthesis tasks returned in a List operation

                      */ - NextToken?: string; + Status?: TaskStatus | string; } export namespace ListSpeechSynthesisTasksInput { @@ -798,16 +794,16 @@ export namespace ListSpeechSynthesisTasksInput { export interface ListSpeechSynthesisTasksOutput { /** - *

                      List of SynthesisTask objects that provides information from the specified task in the list request, - * including output format, creation time, task status, and so on.

                      + *

                      An opaque pagination token returned from the previous List operation in this request. If + * present, this indicates where to continue the listing.

                      */ - SynthesisTasks?: SynthesisTask[]; + NextToken?: string; /** - *

                      An opaque pagination token returned from the previous List operation - * in this request. If present, this indicates where to continue the listing.

                      + *

                      List of SynthesisTask objects that provides information from the specified task in the + * list request, including output format, creation time, task status, and so on.

                      */ - NextToken?: string; + SynthesisTasks?: SynthesisTask[]; } export namespace ListSpeechSynthesisTasksOutput { @@ -817,8 +813,8 @@ export namespace ListSpeechSynthesisTasksOutput { } /** - *

                      Speech marks are not supported for the OutputFormat selected. - * Speech marks are only available for content in json format.

                      + *

                      Speech marks are not supported for the OutputFormat selected. Speech marks + * are only available for content in json format.

                      */ export interface MarksNotSupportedForFormatException extends __SmithyException, $MetadataBearer { name: "MarksNotSupportedForFormatException"; @@ -864,10 +860,8 @@ export namespace MaxLexiconsNumberExceededException { export interface PutLexiconInput { /** - *

                      Name of the lexicon. The name must follow the regular express format - * [0-9A-Za-z]{1,20}. - * That is, the name is a case-sensitive alphanumeric string up to 20 characters long. - *

                      + *

                      Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. + * That is, the name is a case-sensitive alphanumeric string up to 20 characters long.

                      */ Name: string | undefined; @@ -880,7 +874,7 @@ export interface PutLexiconInput { export namespace PutLexiconInput { export const filterSensitiveLog = (obj: PutLexiconInput): any => ({ ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), + ...(obj.Content && { Content: SENSITIVE_STRING }), }); } @@ -893,8 +887,8 @@ export namespace PutLexiconOutput { } /** - *

                      The alphabet specified by the lexicon is not a supported alphabet. - * Valid values are x-sampa and ipa.

                      + *

                      The alphabet specified by the lexicon is not a supported alphabet. Valid values are + * x-sampa and ipa.

                      */ export interface UnsupportedPlsAlphabetException extends __SmithyException, $MetadataBearer { name: "UnsupportedPlsAlphabetException"; @@ -909,8 +903,9 @@ export namespace UnsupportedPlsAlphabetException { } /** - *

                      The language specified in the lexicon is unsupported. For a list of - * supported languages, see Lexicon Attributes.

                      + *

                      The language specified in the lexicon is unsupported. For a list of supported + * languages, see Lexicon + * Attributes.

                      */ export interface UnsupportedPlsLanguageException extends __SmithyException, $MetadataBearer { name: "UnsupportedPlsLanguageException"; @@ -941,89 +936,94 @@ export namespace SsmlMarksNotSupportedForTextTypeException { export interface StartSpeechSynthesisTaskInput { /** - *

                      Specifies whether the input text is plain text or SSML. The default value is plain text.

                      + *

                      Specifies the engine (standard or neural) for Amazon Polly to + * use when processing input text for speech synthesis. Using a voice that is not supported for + * the engine selected will result in an error.

                      */ - TextType?: TextType | string; + Engine?: Engine | string; /** - *

                      The Amazon S3 key prefix for the output speech file.

                      + *

                      Optional language code for the Speech Synthesis request. This is only necessary if using a + * bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi + * (hi-IN).

                      + *

                      If a bilingual voice is used and no language code is specified, Amazon Polly will use the + * default language of the bilingual voice. The default language for any voice is the one + * returned by the DescribeVoices operation for the LanguageCode parameter. For example, + * if no language code is specified, Aditi will use Indian English rather than Hindi.

                      */ - OutputS3KeyPrefix?: string; + LanguageCode?: LanguageCode | string; /** - *

                      Amazon S3 bucket name to which the output file will be saved.

                      + *

                      List of one or more pronunciation lexicon names you want the service to apply during + * synthesis. Lexicons are applied only if the language of the lexicon is the same as the + * language of the voice.

                      */ - OutputS3BucketName: string | undefined; + LexiconNames?: string[]; /** - *

                      Optional language code for the Speech Synthesis request. This is only necessary if using a bilingual voice, - * such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

                      - *

                      If a bilingual voice is used and no language code is specified, Amazon Polly will use the default language of the bilingual voice. - * The default language for any voice is the one returned by the DescribeVoices - * operation for the LanguageCode parameter. For example, if no language code is specified, Aditi will use Indian English rather than Hindi.

                      + *

                      The format in which the returned output will be encoded. For audio stream, this will be + * mp3, ogg_vorbis, or pcm. For speech marks, this will be json.

                      */ - LanguageCode?: LanguageCode | string; + OutputFormat: OutputFormat | string | undefined; /** - *

                      The type of speech marks returned for the input text.

                      + *

                      Amazon S3 bucket name to which the output file will be saved.

                      */ - SpeechMarkTypes?: (SpeechMarkType | string)[]; + OutputS3BucketName: string | undefined; + + /** + *

                      The Amazon S3 key prefix for the output speech file.

                      + */ + OutputS3KeyPrefix?: string; /** *

                      The audio frequency specified in Hz.

                      *

                      The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The - * default value for standard voices is "22050". The default value for neural voices is "24000".

                      + * default value for standard voices is "22050". The default value for neural voices is + * "24000".

                      *

                      Valid values for pcm are "8000" and "16000" The default value is "16000".

                      */ SampleRate?: string; /** - *

                      ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.

                      + *

                      ARN for the SNS topic optionally used for providing status notification for a speech + * synthesis task.

                      */ SnsTopicArn?: string; /** - *

                      Voice ID to use for the synthesis.

                      + *

                      The type of speech marks returned for the input text.

                      */ - VoiceId: VoiceId | string | undefined; + SpeechMarkTypes?: (SpeechMarkType | string)[]; /** - *

                      The input text to synthesize. If you specify - * ssml as the TextType, follow the SSML format for the input text.

                      + *

                      The input text to synthesize. If you specify ssml as the TextType, follow the SSML format + * for the input text.

                      */ Text: string | undefined; /** - *

                      Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine - * selected will result in an error.

                      - */ - Engine?: Engine | string; - - /** - *

                      The format in which the returned output will be encoded. For - * audio stream, this will be mp3, ogg_vorbis, or pcm. For speech - * marks, this will be json.

                      + *

                      Specifies whether the input text is plain text or SSML. The default value is plain text. + *

                      */ - OutputFormat: OutputFormat | string | undefined; + TextType?: TextType | string; /** - *

                      List of one or more pronunciation lexicon names you want the service - * to apply during synthesis. Lexicons are applied only if the language - * of the lexicon is the same as the language of the voice.

                      + *

                      Voice ID to use for the synthesis.

                      */ - LexiconNames?: string[]; + VoiceId: VoiceId | string | undefined; } export namespace StartSpeechSynthesisTaskInput { export const filterSensitiveLog = (obj: StartSpeechSynthesisTaskInput): any => ({ ...obj, - ...(obj.LexiconNames && { LexiconNames: SENSITIVE_STRING }), }); } export interface StartSpeechSynthesisTaskOutput { /** - *

                      SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.

                      + *

                      SynthesisTask object that provides information and attributes about a newly submitted + * speech synthesis task.

                      */ SynthesisTask?: SynthesisTask; } @@ -1031,15 +1031,16 @@ export interface StartSpeechSynthesisTaskOutput { export namespace StartSpeechSynthesisTaskOutput { export const filterSensitiveLog = (obj: StartSpeechSynthesisTaskOutput): any => ({ ...obj, - ...(obj.SynthesisTask && { SynthesisTask: SynthesisTask.filterSensitiveLog(obj.SynthesisTask) }), }); } /** - *

                      The value of the "Text" parameter is longer than the accepted limits. For the SynthesizeSpeech API, the limit for - * input text is a maximum of 6000 characters total, of which no more than 3000 can be billed characters. For the StartSpeechSynthesisTask API, the maximum - * is 200,000 characters, of which no more than 100,000 can be billed characters. - * SSML tags are not counted as billed characters.

                      + *

                      The value of the "Text" parameter is longer than the accepted limits. For the + * SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters + * total, of which no more than 3000 can be billed characters. For the + * StartSpeechSynthesisTask API, the maximum is 200,000 characters, of which no + * more than 100,000 can be billed characters. SSML tags are not counted as billed + * characters.

                      */ export interface TextLengthExceededException extends __SmithyException, $MetadataBearer { name: "TextLengthExceededException"; @@ -1055,128 +1056,130 @@ export namespace TextLengthExceededException { export interface SynthesizeSpeechInput { /** - *

                      Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine - * selected will result in an error.

                      + *

                      Specifies the engine (standard or neural) for Amazon Polly to + * use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available in standard-only, NTTS-only, and + * both standard and NTTS formats, see Available Voices.

                      + *

                      + * NTTS-only voices + *

                      + *

                      When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be + * set to neural. If the engine is not specified, or is set to standard, + * this will result in an error.

                      + *

                      Type: String

                      + *

                      Valid Values: standard | neural + *

                      + *

                      Required: Yes

                      + * + *

                      + * Standard voices + *

                      + *

                      For standard voices, this is not required; the engine parameter defaults to + * standard. If the engine is not specified, or is set to standard and + * an NTTS-only voice is selected, this will result in an error.

                      */ Engine?: Engine | string; /** - *

                      - * Voice ID to use for the synthesis. You can get a list of - * available voice IDs by calling the DescribeVoices operation. - *

                      + *

                      Optional language code for the Synthesize Speech request. This is only necessary if using + * a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi + * (hi-IN).

                      + *

                      If a bilingual voice is used and no language code is specified, Amazon Polly will use the + * default language of the bilingual voice. The default language for any voice is the one + * returned by the DescribeVoices operation for the LanguageCode parameter. For example, + * if no language code is specified, Aditi will use Indian English rather than Hindi.

                      */ - VoiceId: VoiceId | string | undefined; + LanguageCode?: LanguageCode | string; /** - *

                      - * Input text to synthesize. If you specify - * ssml as the TextType, follow the SSML format for the - * input text. - *

                      + *

                      List of one or more pronunciation lexicon names you want the service to apply during + * synthesis. Lexicons are applied only if the language of the lexicon is the same as the + * language of the voice. For information about storing lexicons, see PutLexicon.

                      */ - Text: string | undefined; + LexiconNames?: string[]; /** - *

                      - * The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. - * For speech marks, this will be json.

                      - *

                      When pcm is used, the content returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

                      + *

                      The format in which the returned output will be encoded. For audio stream, this will + * be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.

                      + *

                      When pcm is used, the content returned is audio/pcm in a signed 16-bit, 1 channel + * (mono), little-endian format.

                      */ OutputFormat: OutputFormat | string | undefined; /** - *

                      The type of speech marks returned for the input text.

                      + *

                      The audio frequency specified in Hz.

                      + *

                      The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The + * default value for standard voices is "22050". The default value for neural voices is + * "24000".

                      + *

                      Valid values for pcm are "8000" and "16000" The default value is "16000".

                      */ - SpeechMarkTypes?: (SpeechMarkType | string)[]; + SampleRate?: string; /** - *

                      Optional language code for the Synthesize Speech request. This is only necessary if using a bilingual voice, - * such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

                      - *

                      If a bilingual voice is used and no language code is specified, Amazon Polly will use the default language - * of the bilingual voice. The default language for any voice is the one returned by the DescribeVoices - * operation for the LanguageCode parameter. For example, if no language code is specified, Aditi will use Indian English rather than - * Hindi.

                      + *

                      The type of speech marks returned for the input text.

                      */ - LanguageCode?: LanguageCode | string; + SpeechMarkTypes?: (SpeechMarkType | string)[]; /** - *

                      List of one or more pronunciation lexicon names you want the service to apply - * during synthesis. Lexicons are applied only if the language of the lexicon is the same - * as the language of the voice. For information about storing lexicons, - * see PutLexicon.

                      + *

                      Input text to synthesize. If you specify ssml as the + * TextType, follow the SSML format for the input text.

                      */ - LexiconNames?: string[]; + Text: string | undefined; /** - *

                      - * Specifies whether the input text is plain text or SSML. The default value is plain text. - * For more information, see Using SSML.

                      + *

                      Specifies whether the input text is plain text or SSML. The default value is plain + * text. For more information, see Using SSML.

                      */ TextType?: TextType | string; /** - *

                      The audio frequency specified in Hz.

                      - *

                      The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The - * default value for standard voices is "22050". The default value for neural voices is "24000".

                      - *

                      Valid values for pcm are "8000" and "16000" The default value is "16000".

                      + *

                      Voice ID to use for the synthesis. You can get a list of available voice IDs by + * calling the DescribeVoices operation.

                      */ - SampleRate?: string; + VoiceId: VoiceId | string | undefined; } export namespace SynthesizeSpeechInput { export const filterSensitiveLog = (obj: SynthesizeSpeechInput): any => ({ ...obj, - ...(obj.LexiconNames && { LexiconNames: SENSITIVE_STRING }), }); } export interface SynthesizeSpeechOutput { /** - *

                      - * Stream containing the synthesized speech. - *

                      + *

                      Stream containing the synthesized speech.

                      */ AudioStream?: Readable | ReadableStream | Blob; /** - *

                      Number of characters synthesized.

                      - */ - RequestCharacters?: number; - - /** - *

                      - * Specifies the type audio stream. This should reflect the - * OutputFormat parameter in your request. - *

                      + *

                      Specifies the type audio stream. This should reflect the OutputFormat + * parameter in your request.

                      *
                        *
                      • - *

                        - * If you request mp3 as the OutputFormat, - * the ContentType returned is audio/mpeg. - *

                        + *

                        If you request mp3 as the OutputFormat, the + * ContentType returned is audio/mpeg.

                        *
                      • *
                      • - *

                        - * If you request ogg_vorbis as the OutputFormat, - * the ContentType returned is audio/ogg. - *

                        + *

                        If you request ogg_vorbis as the OutputFormat, the + * ContentType returned is audio/ogg.

                        *
                      • *
                      • *

                        If you request pcm as the OutputFormat, the - * ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), + * ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), * little-endian format.

                        *
                      • *
                      • - *

                        If you request json as the OutputFormat, the ContentType - * returned is audio/json.

                        + *

                        If you request json as the OutputFormat, the + * ContentType returned is audio/json.

                        *
                      • *
                      - *

                      - * - *

                      + *

                      */ ContentType?: string; + + /** + *

                      Number of characters synthesized.

                      + */ + RequestCharacters?: number; } export namespace SynthesizeSpeechOutput { diff --git a/clients/client-polly/protocols/Aws_restJson1.ts b/clients/client-polly/protocols/Aws_restJson1.ts index f6d73d323b61..3a9947e8279e 100644 --- a/clients/client-polly/protocols/Aws_restJson1.ts +++ b/clients/client-polly/protocols/Aws_restJson1.ts @@ -98,12 +98,12 @@ export const serializeAws_restJson1DescribeVoicesCommand = async ( }; let resolvedPath = "/v1/voices"; const query: any = { + ...(input.Engine !== undefined && { Engine: input.Engine }), + ...(input.LanguageCode !== undefined && { LanguageCode: input.LanguageCode }), ...(input.IncludeAdditionalLanguageCodes !== undefined && { IncludeAdditionalLanguageCodes: input.IncludeAdditionalLanguageCodes.toString(), }), - ...(input.Engine !== undefined && { Engine: input.Engine }), ...(input.NextToken !== undefined && { NextToken: input.NextToken }), - ...(input.LanguageCode !== undefined && { LanguageCode: input.LanguageCode }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -214,8 +214,8 @@ export const serializeAws_restJson1ListSpeechSynthesisTasksCommand = async ( let resolvedPath = "/v1/synthesisTasks"; const query: any = { ...(input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() }), - ...(input.Status !== undefined && { Status: input.Status }), ...(input.NextToken !== undefined && { NextToken: input.NextToken }), + ...(input.Status !== undefined && { Status: input.Status }), }; let body: any; const { hostname, protocol = "https", port } = await context.endpoint(); @@ -992,12 +992,12 @@ export const deserializeAws_restJson1SynthesizeSpeechCommand = async ( ContentType: undefined, RequestCharacters: undefined, }; - if (output.headers["x-amzn-requestcharacters"] !== undefined) { - contents.RequestCharacters = parseInt(output.headers["x-amzn-requestcharacters"], 10); - } if (output.headers["content-type"] !== undefined) { contents.ContentType = output.headers["content-type"]; } + if (output.headers["x-amzn-requestcharacters"] !== undefined) { + contents.RequestCharacters = parseInt(output.headers["x-amzn-requestcharacters"], 10); + } const data: any = output.body; contents.AudioStream = data; return Promise.resolve(contents); diff --git a/clients/client-robomaker/models/models_0.ts b/clients/client-robomaker/models/models_0.ts index febc65edc3b3..1ad73dd61ea5 100644 --- a/clients/client-robomaker/models/models_0.ts +++ b/clients/client-robomaker/models/models_0.ts @@ -118,14 +118,14 @@ export namespace ComputeResponse { */ export interface S3KeyOutput { /** - *

                      The etag for the object.

                      + *

                      The S3 key.

                      */ - etag?: string; + s3Key?: string; /** - *

                      The S3 key.

                      + *

                      The etag for the object.

                      */ - s3Key?: string; + etag?: string; } export namespace S3KeyOutput { @@ -139,9 +139,9 @@ export namespace S3KeyOutput { */ export interface DataSource { /** - *

                      The list of S3 keys identifying the data source files.

                      + *

                      The name of the data source.

                      */ - s3Keys?: S3KeyOutput[]; + name?: string; /** *

                      The S3 bucket where the data files are located.

                      @@ -149,9 +149,9 @@ export interface DataSource { s3Bucket?: string; /** - *

                      The name of the data source.

                      + *

                      The list of S3 keys identifying the data source files.

                      */ - name?: string; + s3Keys?: S3KeyOutput[]; } export namespace DataSource { @@ -215,11 +215,6 @@ export namespace LoggingConfig { *

                      Describes a network interface.

                      */ export interface NetworkInterface { - /** - *

                      The IPv4 public address of the network interface.

                      - */ - publicIpAddress?: string; - /** *

                      The ID of the network interface.

                      */ @@ -229,6 +224,11 @@ export interface NetworkInterface { *

                      The IPv4 address of the network interface within the subnet.

                      */ privateIpAddress?: string; + + /** + *

                      The IPv4 public address of the network interface.

                      + */ + publicIpAddress?: string; } export namespace NetworkInterface { @@ -262,6 +262,11 @@ export namespace OutputLocation { *

                      An object representing a port mapping.

                      */ export interface PortMapping { + /** + *

                      The port number on the simulation job instance to use as a remote connection point.

                      + */ + jobPort: number | undefined; + /** *

                      The port number on the application.

                      */ @@ -271,11 +276,6 @@ export interface PortMapping { *

                      A Boolean indicating whether to enable this port mapping on public IP.

                      */ enableOnPublicIp?: boolean; - - /** - *

                      The port number on the simulation job instance to use as a remote connection point.

                      - */ - jobPort: number | undefined; } export namespace PortMapping { @@ -304,24 +304,15 @@ export namespace PortForwardingConfig { *

                      Information about a launch configuration.

                      */ export interface LaunchConfig { - /** - *

                      Boolean indicating whether a streaming session will be configured for the application. If True, - * AWS RoboMaker will configure a connection so you can interact with your application as it is - * running in the simulation. You must configure and luanch the component. It must have a graphical - * user interface. - *

                      - */ - streamUI?: boolean; - /** *

                      The package name.

                      */ packageName: string | undefined; /** - *

                      The port forwarding configuration.

                      + *

                      The launch file name.

                      */ - portForwardingConfig?: PortForwardingConfig; + launchFile: string | undefined; /** *

                      The environment variables for the application launch.

                      @@ -329,9 +320,18 @@ export interface LaunchConfig { environmentVariables?: { [key: string]: string }; /** - *

                      The launch file name.

                      + *

                      The port forwarding configuration.

                      */ - launchFile: string | undefined; + portForwardingConfig?: PortForwardingConfig; + + /** + *

                      Boolean indicating whether a streaming session will be configured for the application. If True, + * AWS RoboMaker will configure a connection so you can interact with your application as it is + * running in the simulation. You must configure and luanch the component. It must have a graphical + * user interface. + *

                      + */ + streamUI?: boolean; } export namespace LaunchConfig { @@ -350,14 +350,14 @@ export interface RobotApplicationConfig { application: string | undefined; /** - *

                      The launch configuration for the robot application.

                      + *

                      The version of the robot application.

                      */ - launchConfig: LaunchConfig | undefined; + applicationVersion?: string; /** - *

                      The version of the robot application.

                      + *

                      The launch configuration for the robot application.

                      */ - applicationVersion?: string; + launchConfig: LaunchConfig | undefined; } export namespace RobotApplicationConfig { @@ -386,11 +386,6 @@ export namespace WorldConfig { *

                      Information about a simulation application configuration.

                      */ export interface SimulationApplicationConfig { - /** - *

                      The launch configuration for the simulation application.

                      - */ - launchConfig: LaunchConfig | undefined; - /** *

                      The application information for the simulation application.

                      */ @@ -401,6 +396,11 @@ export interface SimulationApplicationConfig { */ applicationVersion?: string; + /** + *

                      The launch configuration for the simulation application.

                      + */ + launchConfig: LaunchConfig | undefined; + /** *

                      A list of world configurations.

                      */ @@ -431,24 +431,24 @@ export enum SimulationJobStatus { */ export interface VPCConfigResponse { /** - *

                      The VPC ID associated with your simulation job.

                      + *

                      A list of subnet IDs associated with the simulation job.

                      */ - vpcId?: string; + subnets?: string[]; /** - *

                      A boolean indicating if a public IP was assigned.

                      + *

                      A list of security group IDs associated with the simulation job.

                      */ - assignPublicIp?: boolean; + securityGroups?: string[]; /** - *

                      A list of security group IDs associated with the simulation job.

                      + *

                      The VPC ID associated with your simulation job.

                      */ - securityGroups?: string[]; + vpcId?: string; /** - *

                      A list of subnet IDs associated with the simulation job.

                      + *

                      A boolean indicating if a public IP was assigned.

                      */ - subnets?: string[]; + assignPublicIp?: boolean; } export namespace VPCConfigResponse { @@ -462,19 +462,14 @@ export namespace VPCConfigResponse { */ export interface SimulationJob { /** - *

                      The logging configuration.

                      - */ - loggingConfig?: LoggingConfig; - - /** - *

                      The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

                      + *

                      The Amazon Resource Name (ARN) of the simulation job.

                      */ - maxJobDurationInSeconds?: number; + arn?: string; /** - *

                      A map that contains tag keys and tag values that are attached to the simulation job.

                      + *

                      The name of the simulation job.

                      */ - tags?: { [key: string]: string }; + name?: string; /** *

                      Status of the simulation job.

                      @@ -482,102 +477,107 @@ export interface SimulationJob { status?: SimulationJobStatus | string; /** - *

                      The failure code of the simulation job if it failed.

                      + *

                      The time, in milliseconds since the epoch, when the simulation job was last started.

                      */ - failureCode?: SimulationJobErrorCode | string; + lastStartedAt?: Date; /** - *

                      Compute information for the simulation job

                      + *

                      The time, in milliseconds since the epoch, when the simulation job was last updated.

                      */ - compute?: ComputeResponse; + lastUpdatedAt?: Date; /** - *

                      Location for output files generated by the simulation job.

                      + *

                      The failure behavior the simulation job.

                      + *
                      + *
                      Continue
                      + *
                      + *

                      Restart the simulation job in the same host instance.

                      + *
                      + *
                      Fail
                      + *
                      + *

                      Stop the simulation job and terminate the instance.

                      + *
                      + *
                      */ - outputLocation?: OutputLocation; + failureBehavior?: FailureBehavior | string; /** - *

                      The IAM role that allows the simulation instance to call the AWS APIs that - * are specified in its associated policies on your behalf. This is how credentials are passed in to your - * simulation job. - *

                      + *

                      The failure code of the simulation job if it failed.

                      */ - iamRole?: string; + failureCode?: SimulationJobErrorCode | string; /** - *

                      The simulation job execution duration in milliseconds.

                      + *

                      The reason why the simulation job failed.

                      */ - simulationTimeMillis?: number; + failureReason?: string; /** - *

                      VPC configuration information.

                      + *

                      A unique identifier for this SimulationJob request.

                      */ - vpcConfig?: VPCConfigResponse; + clientRequestToken?: string; /** - *

                      Information about a network interface.

                      + *

                      Location for output files generated by the simulation job.

                      */ - networkInterface?: NetworkInterface; + outputLocation?: OutputLocation; /** - *

                      The failure behavior the simulation job.

                      - *
                      - *
                      Continue
                      - *
                      - *

                      Restart the simulation job in the same host instance.

                      - *
                      - *
                      Fail
                      - *
                      - *

                      Stop the simulation job and terminate the instance.

                      - *
                      - *
                      + *

                      The logging configuration.

                      */ - failureBehavior?: FailureBehavior | string; + loggingConfig?: LoggingConfig; /** - *

                      The reason why the simulation job failed.

                      + *

                      The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

                      */ - failureReason?: string; + maxJobDurationInSeconds?: number; /** - *

                      The time, in milliseconds since the epoch, when the simulation job was last started.

                      + *

                      The simulation job execution duration in milliseconds.

                      */ - lastStartedAt?: Date; + simulationTimeMillis?: number; /** - *

                      The name of the simulation job.

                      + *

                      The IAM role that allows the simulation instance to call the AWS APIs that + * are specified in its associated policies on your behalf. This is how credentials are passed in to your + * simulation job. + *

                      */ - name?: string; + iamRole?: string; /** *

                      A list of robot applications.

                      */ robotApplications?: RobotApplicationConfig[]; + /** + *

                      A list of simulation applications.

                      + */ + simulationApplications?: SimulationApplicationConfig[]; + /** *

                      The data sources for the simulation job.

                      */ dataSources?: DataSource[]; /** - *

                      The Amazon Resource Name (ARN) of the simulation job.

                      + *

                      A map that contains tag keys and tag values that are attached to the simulation job.

                      */ - arn?: string; + tags?: { [key: string]: string }; /** - *

                      A list of simulation applications.

                      + *

                      VPC configuration information.

                      */ - simulationApplications?: SimulationApplicationConfig[]; + vpcConfig?: VPCConfigResponse; /** - *

                      A unique identifier for this SimulationJob request.

                      + *

                      Information about a network interface.

                      */ - clientRequestToken?: string; + networkInterface?: NetworkInterface; /** - *

                      The time, in milliseconds since the epoch, when the simulation job was last updated.

                      + *

                      Compute information for the simulation job

                      */ - lastUpdatedAt?: Date; + compute?: ComputeResponse; } export namespace SimulationJob { @@ -588,14 +588,14 @@ export namespace SimulationJob { export interface BatchDescribeSimulationJobResponse { /** - *

                      A list of unprocessed simulation job Amazon Resource Names (ARNs).

                      + *

                      A list of simulation jobs.

                      */ - unprocessedJobs?: string[]; + jobs?: SimulationJob[]; /** - *

                      A list of simulation jobs.

                      + *

                      A list of unprocessed simulation job Amazon Resource Names (ARNs).

                      */ - jobs?: SimulationJob[]; + unprocessedJobs?: string[]; } export namespace BatchDescribeSimulationJobResponse { @@ -623,17 +623,6 @@ export namespace ResourceNotFoundException { *

                      Information about the batch policy.

                      */ export interface BatchPolicy { - /** - *

                      The number of active simulation jobs create as part of the batch that - * can be in an active state at the same time. - *

                      - *

                      Active states include: Pending,Preparing, - * Running, Restarting, RunningFailed and - * Terminating. All other states are terminal states. - *

                      - */ - maxConcurrency?: number; - /** *

                      The amount of time, in seconds, to wait for the batch to complete. * @@ -648,6 +637,17 @@ export interface BatchPolicy { *

                      */ timeoutInSeconds?: number; + + /** + *

                      The number of active simulation jobs create as part of the batch that + * can be in an active state at the same time. + *

                      + *

                      Active states include: Pending,Preparing, + * Running, Restarting, RunningFailed and + * Terminating. All other states are terminal states. + *

                      + */ + maxConcurrency?: number; } export namespace BatchPolicy { @@ -807,24 +807,24 @@ export interface DeploymentLaunchConfig { packageName: string | undefined; /** - *

                      The deployment post-launch file. This file will be executed after the launch file.

                      + *

                      The deployment pre-launch file. This file will be executed prior to the launch file.

                      */ - postLaunchFile?: string; + preLaunchFile?: string; /** - *

                      The deployment pre-launch file. This file will be executed prior to the launch file.

                      + *

                      The launch file name.

                      */ - preLaunchFile?: string; + launchFile: string | undefined; /** - *

                      An array of key/value pairs specifying environment variables for the robot application

                      + *

                      The deployment post-launch file. This file will be executed after the launch file.

                      */ - environmentVariables?: { [key: string]: string }; + postLaunchFile?: string; /** - *

                      The launch file name.

                      + *

                      An array of key/value pairs specifying environment variables for the robot application

                      */ - launchFile: string | undefined; + environmentVariables?: { [key: string]: string }; } export namespace DeploymentLaunchConfig { @@ -838,14 +838,14 @@ export namespace DeploymentLaunchConfig { */ export interface DeploymentApplicationConfig { /** - *

                      The version of the application.

                      + *

                      The Amazon Resource Name (ARN) of the robot application.

                      */ - applicationVersion: string | undefined; + application: string | undefined; /** - *

                      The Amazon Resource Name (ARN) of the robot application.

                      + *

                      The version of the application.

                      */ - application: string | undefined; + applicationVersion: string | undefined; /** *

                      The launch configuration.

                      @@ -890,12 +890,7 @@ export namespace S3Object { */ export interface DeploymentConfig { /** - *

                      The download condition file.

                      - */ - downloadConditionFile?: S3Object; - - /** - *

                      The percentage of robots receiving the deployment at the same time.

                      + *

                      The percentage of robots receiving the deployment at the same time.

                      */ concurrentDeploymentPercentage?: number; @@ -909,6 +904,11 @@ export interface DeploymentConfig { * Choose a time between 1 minute and 7 days. The default is 5 hours.

                      */ robotDeploymentTimeoutInSeconds?: number; + + /** + *

                      The download condition file.

                      + */ + downloadConditionFile?: S3Object; } export namespace DeploymentConfig { @@ -924,24 +924,24 @@ export interface CreateDeploymentJobRequest { deploymentConfig?: DeploymentConfig; /** - *

                      The Amazon Resource Name (ARN) of the fleet to deploy.

                      + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      */ - fleet: string | undefined; + clientRequestToken?: string; /** - *

                      A map that contains tag keys and tag values that are attached to the deployment job.

                      + *

                      The Amazon Resource Name (ARN) of the fleet to deploy.

                      */ - tags?: { [key: string]: string }; + fleet: string | undefined; /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      The deployment application configuration.

                      */ - clientRequestToken?: string; + deploymentApplicationConfigs: DeploymentApplicationConfig[] | undefined; /** - *

                      The deployment application configuration.

                      + *

                      A map that contains tag keys and tag values that are attached to the deployment job.

                      */ - deploymentApplicationConfigs: DeploymentApplicationConfig[] | undefined; + tags?: { [key: string]: string }; } export namespace CreateDeploymentJobRequest { @@ -984,9 +984,9 @@ export enum DeploymentStatus { export interface CreateDeploymentJobResponse { /** - *

                      The deployment configuration.

                      + *

                      The Amazon Resource Name (ARN) of the deployment job.

                      */ - deploymentConfig?: DeploymentConfig; + arn?: string; /** *

                      The target fleet for the deployment job.

                      @@ -994,15 +994,20 @@ export interface CreateDeploymentJobResponse { fleet?: string; /** - *

                      The Amazon Resource Name (ARN) of the deployment job.

                      + *

                      The status of the deployment job.

                      */ - arn?: string; + status?: DeploymentStatus | string; /** *

                      The deployment application configuration.

                      */ deploymentApplicationConfigs?: DeploymentApplicationConfig[]; + /** + *

                      The failure reason of the deployment job if it failed.

                      + */ + failureReason?: string; + /** *

                      The failure code of the simulation job if it failed:

                      *
                      @@ -1069,24 +1074,19 @@ export interface CreateDeploymentJobResponse { failureCode?: DeploymentJobErrorCode | string; /** - *

                      The failure reason of the deployment job if it failed.

                      + *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      */ - failureReason?: string; + createdAt?: Date; /** - *

                      The status of the deployment job.

                      + *

                      The deployment configuration.

                      */ - status?: DeploymentStatus | string; + deploymentConfig?: DeploymentConfig; /** *

                      The list of all tags added to the deployment job.

                      */ tags?: { [key: string]: string }; - - /** - *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      - */ - createdAt?: Date; } export namespace CreateDeploymentJobResponse { @@ -1129,14 +1129,14 @@ export namespace LimitExceededException { export interface CreateFleetRequest { /** - *

                      A map that contains tag keys and tag values that are attached to the fleet.

                      + *

                      The name of the fleet.

                      */ - tags?: { [key: string]: string }; + name: string | undefined; /** - *

                      The name of the fleet.

                      + *

                      A map that contains tag keys and tag values that are attached to the fleet.

                      */ - name: string | undefined; + tags?: { [key: string]: string }; } export namespace CreateFleetRequest { @@ -1157,14 +1157,14 @@ export interface CreateFleetResponse { name?: string; /** - *

                      The list of all tags added to the fleet.

                      + *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      */ - tags?: { [key: string]: string }; + createdAt?: Date; /** - *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      + *

                      The list of all tags added to the fleet.

                      */ - createdAt?: Date; + tags?: { [key: string]: string }; } export namespace CreateFleetResponse { @@ -1175,9 +1175,9 @@ export namespace CreateFleetResponse { export interface CreateRobotRequest { /** - *

                      A map that contains tag keys and tag values that are attached to the robot.

                      + *

                      The name for the robot.

                      */ - tags?: { [key: string]: string }; + name: string | undefined; /** *

                      The target architecture of the robot.

                      @@ -1185,14 +1185,14 @@ export interface CreateRobotRequest { architecture: Architecture | string | undefined; /** - *

                      The name for the robot.

                      + *

                      The Greengrass group id.

                      */ - name: string | undefined; + greengrassGroupId: string | undefined; /** - *

                      The Greengrass group id.

                      + *

                      A map that contains tag keys and tag values that are attached to the robot.

                      */ - greengrassGroupId: string | undefined; + tags?: { [key: string]: string }; } export namespace CreateRobotRequest { @@ -1203,34 +1203,34 @@ export namespace CreateRobotRequest { export interface CreateRobotResponse { /** - *

                      The list of all tags added to the robot.

                      + *

                      The Amazon Resource Name (ARN) of the robot.

                      */ - tags?: { [key: string]: string }; + arn?: string; /** - *

                      The time, in milliseconds since the epoch, when the robot was created.

                      + *

                      The name of the robot.

                      */ - createdAt?: Date; + name?: string; /** - *

                      The target architecture of the robot.

                      + *

                      The time, in milliseconds since the epoch, when the robot was created.

                      */ - architecture?: Architecture | string; + createdAt?: Date; /** - *

                      The name of the robot.

                      + *

                      The Amazon Resource Name (ARN) of the Greengrass group associated with the robot.

                      */ - name?: string; + greengrassGroupId?: string; /** - *

                      The Amazon Resource Name (ARN) of the robot.

                      + *

                      The target architecture of the robot.

                      */ - arn?: string; + architecture?: Architecture | string; /** - *

                      The Amazon Resource Name (ARN) of the Greengrass group associated with the robot.

                      + *

                      The list of all tags added to the robot.

                      */ - greengrassGroupId?: string; + tags?: { [key: string]: string }; } export namespace CreateRobotResponse { @@ -1270,14 +1270,14 @@ export enum RobotSoftwareSuiteVersionType { */ export interface RobotSoftwareSuite { /** - *

                      The version of the robot software suite (ROS distribution).

                      + *

                      The name of the robot software suite (ROS distribution).

                      */ - version?: RobotSoftwareSuiteVersionType | string; + name?: RobotSoftwareSuiteType | string; /** - *

                      The name of the robot software suite (ROS distribution).

                      + *

                      The version of the robot software suite (ROS distribution).

                      */ - name?: RobotSoftwareSuiteType | string; + version?: RobotSoftwareSuiteVersionType | string; } export namespace RobotSoftwareSuite { @@ -1291,14 +1291,14 @@ export namespace RobotSoftwareSuite { */ export interface SourceConfig { /** - *

                      The s3 object key.

                      + *

                      The Amazon S3 bucket name.

                      */ - s3Key?: string; + s3Bucket?: string; /** - *

                      The Amazon S3 bucket name.

                      + *

                      The s3 object key.

                      */ - s3Bucket?: string; + s3Key?: string; /** *

                      The target processor architecture for the application.

                      @@ -1314,24 +1314,24 @@ export namespace SourceConfig { export interface CreateRobotApplicationRequest { /** - *

                      The robot software suite (ROS distribuition) used by the robot application.

                      + *

                      The name of the robot application.

                      */ - robotSoftwareSuite: RobotSoftwareSuite | undefined; + name: string | undefined; /** - *

                      A map that contains tag keys and tag values that are attached to the robot application.

                      + *

                      The sources of the robot application.

                      */ - tags?: { [key: string]: string }; + sources: SourceConfig[] | undefined; /** - *

                      The name of the robot application.

                      + *

                      The robot software suite (ROS distribuition) used by the robot application.

                      */ - name: string | undefined; + robotSoftwareSuite: RobotSoftwareSuite | undefined; /** - *

                      The sources of the robot application.

                      + *

                      A map that contains tag keys and tag values that are attached to the robot application.

                      */ - sources: SourceConfig[] | undefined; + tags?: { [key: string]: string }; } export namespace CreateRobotApplicationRequest { @@ -1345,14 +1345,14 @@ export namespace CreateRobotApplicationRequest { */ export interface Source { /** - *

                      The taget processor architecture for the application.

                      + *

                      The s3 bucket name.

                      */ - architecture?: Architecture | string; + s3Bucket?: string; /** - *

                      The s3 bucket name.

                      + *

                      The s3 object key.

                      */ - s3Bucket?: string; + s3Key?: string; /** *

                      A hash of the object specified by s3Bucket and s3Key.

                      @@ -1360,9 +1360,9 @@ export interface Source { etag?: string; /** - *

                      The s3 object key.

                      + *

                      The taget processor architecture for the application.

                      */ - s3Key?: string; + architecture?: Architecture | string; } export namespace Source { @@ -1372,11 +1372,6 @@ export namespace Source { } export interface CreateRobotApplicationResponse { - /** - *

                      The time, in milliseconds since the epoch, when the robot application was last updated.

                      - */ - lastUpdatedAt?: Date; - /** *

                      The Amazon Resource Name (ARN) of the robot application.

                      */ @@ -1387,6 +1382,11 @@ export interface CreateRobotApplicationResponse { */ name?: string; + /** + *

                      The version of the robot application.

                      + */ + version?: string; + /** *

                      The sources of the robot application.

                      */ @@ -1397,6 +1397,11 @@ export interface CreateRobotApplicationResponse { */ robotSoftwareSuite?: RobotSoftwareSuite; + /** + *

                      The time, in milliseconds since the epoch, when the robot application was last updated.

                      + */ + lastUpdatedAt?: Date; + /** *

                      The revision id of the robot application.

                      */ @@ -1406,11 +1411,6 @@ export interface CreateRobotApplicationResponse { *

                      The list of all tags added to the robot application.

                      */ tags?: { [key: string]: string }; - - /** - *

                      The version of the robot application.

                      - */ - version?: string; } export namespace CreateRobotApplicationResponse { @@ -1421,15 +1421,15 @@ export namespace CreateRobotApplicationResponse { export interface CreateRobotApplicationVersionRequest { /** - *

                      The current revision id for the robot application. If you provide a value and it - * matches the latest revision ID, a new version will be created.

                      + *

                      The application information for the robot application.

                      */ - currentRevisionId?: string; + application: string | undefined; /** - *

                      The application information for the robot application.

                      + *

                      The current revision id for the robot application. If you provide a value and it + * matches the latest revision ID, a new version will be created.

                      */ - application: string | undefined; + currentRevisionId?: string; } export namespace CreateRobotApplicationVersionRequest { @@ -1440,14 +1440,14 @@ export namespace CreateRobotApplicationVersionRequest { export interface CreateRobotApplicationVersionResponse { /** - *

                      The name of the robot application.

                      + *

                      The Amazon Resource Name (ARN) of the robot application.

                      */ - name?: string; + arn?: string; /** - *

                      The Amazon Resource Name (ARN) of the robot application.

                      + *

                      The name of the robot application.

                      */ - arn?: string; + name?: string; /** *

                      The version of the robot application.

                      @@ -1455,9 +1455,9 @@ export interface CreateRobotApplicationVersionResponse { version?: string; /** - *

                      The revision id of the robot application.

                      + *

                      The sources of the robot application.

                      */ - revisionId?: string; + sources?: Source[]; /** *

                      The robot software suite (ROS distribution) used by the robot application.

                      @@ -1470,9 +1470,9 @@ export interface CreateRobotApplicationVersionResponse { lastUpdatedAt?: Date; /** - *

                      The sources of the robot application.

                      + *

                      The revision id of the robot application.

                      */ - sources?: Source[]; + revisionId?: string; } export namespace CreateRobotApplicationVersionResponse { @@ -1490,14 +1490,14 @@ export enum RenderingEngineType { */ export interface RenderingEngine { /** - *

                      The version of the rendering engine.

                      + *

                      The name of the rendering engine.

                      */ - version?: string; + name?: RenderingEngineType | string; /** - *

                      The name of the rendering engine.

                      + *

                      The version of the rendering engine.

                      */ - name?: RenderingEngineType | string; + version?: string; } export namespace RenderingEngine { @@ -1516,14 +1516,14 @@ export enum SimulationSoftwareSuiteType { */ export interface SimulationSoftwareSuite { /** - *

                      The version of the simulation software suite.

                      + *

                      The name of the simulation software suite.

                      */ - version?: string; + name?: SimulationSoftwareSuiteType | string; /** - *

                      The name of the simulation software suite.

                      + *

                      The version of the simulation software suite.

                      */ - name?: SimulationSoftwareSuiteType | string; + version?: string; } export namespace SimulationSoftwareSuite { @@ -1534,34 +1534,34 @@ export namespace SimulationSoftwareSuite { export interface CreateSimulationApplicationRequest { /** - *

                      The robot software suite (ROS distribution) used by the simulation application.

                      + *

                      The name of the simulation application.

                      */ - robotSoftwareSuite: RobotSoftwareSuite | undefined; + name: string | undefined; /** - *

                      The name of the simulation application.

                      + *

                      The sources of the simulation application.

                      */ - name: string | undefined; + sources: SourceConfig[] | undefined; /** - *

                      A map that contains tag keys and tag values that are attached to the simulation application.

                      + *

                      The simulation software suite used by the simulation application.

                      */ - tags?: { [key: string]: string }; + simulationSoftwareSuite: SimulationSoftwareSuite | undefined; /** - *

                      The rendering engine for the simulation application.

                      + *

                      The robot software suite (ROS distribution) used by the simulation application.

                      */ - renderingEngine?: RenderingEngine; + robotSoftwareSuite: RobotSoftwareSuite | undefined; /** - *

                      The simulation software suite used by the simulation application.

                      + *

                      The rendering engine for the simulation application.

                      */ - simulationSoftwareSuite: SimulationSoftwareSuite | undefined; + renderingEngine?: RenderingEngine; /** - *

                      The sources of the simulation application.

                      + *

                      A map that contains tag keys and tag values that are attached to the simulation application.

                      */ - sources: SourceConfig[] | undefined; + tags?: { [key: string]: string }; } export namespace CreateSimulationApplicationRequest { @@ -1572,54 +1572,54 @@ export namespace CreateSimulationApplicationRequest { export interface CreateSimulationApplicationResponse { /** - *

                      The revision id of the simulation application.

                      - */ - revisionId?: string; - - /** - *

                      Information about the robot software suite (ROS distribution).

                      + *

                      The Amazon Resource Name (ARN) of the simulation application.

                      */ - robotSoftwareSuite?: RobotSoftwareSuite; + arn?: string; /** - *

                      The rendering engine for the simulation application.

                      + *

                      The name of the simulation application.

                      */ - renderingEngine?: RenderingEngine; + name?: string; /** - *

                      The time, in milliseconds since the epoch, when the simulation application was last updated.

                      + *

                      The version of the simulation application.

                      */ - lastUpdatedAt?: Date; + version?: string; /** *

                      The sources of the simulation application.

                      */ sources?: Source[]; - /** - *

                      The name of the simulation application.

                      - */ - name?: string; - /** *

                      The simulation software suite used by the simulation application.

                      */ simulationSoftwareSuite?: SimulationSoftwareSuite; /** - *

                      The list of all tags added to the simulation application.

                      + *

                      Information about the robot software suite (ROS distribution).

                      */ - tags?: { [key: string]: string }; + robotSoftwareSuite?: RobotSoftwareSuite; /** - *

                      The Amazon Resource Name (ARN) of the simulation application.

                      + *

                      The rendering engine for the simulation application.

                      */ - arn?: string; + renderingEngine?: RenderingEngine; /** - *

                      The version of the simulation application.

                      + *

                      The time, in milliseconds since the epoch, when the simulation application was last updated.

                      */ - version?: string; + lastUpdatedAt?: Date; + + /** + *

                      The revision id of the simulation application.

                      + */ + revisionId?: string; + + /** + *

                      The list of all tags added to the simulation application.

                      + */ + tags?: { [key: string]: string }; } export namespace CreateSimulationApplicationResponse { @@ -1649,9 +1649,14 @@ export namespace CreateSimulationApplicationVersionRequest { export interface CreateSimulationApplicationVersionResponse { /** - *

                      The revision ID of the simulation application.

                      + *

                      The Amazon Resource Name (ARN) of the simulation application.

                      */ - revisionId?: string; + arn?: string; + + /** + *

                      The name of the simulation application.

                      + */ + name?: string; /** *

                      The version of the simulation application.

                      @@ -1659,19 +1664,19 @@ export interface CreateSimulationApplicationVersionResponse { version?: string; /** - *

                      The simulation software suite used by the simulation application.

                      + *

                      The sources of the simulation application.

                      */ - simulationSoftwareSuite?: SimulationSoftwareSuite; + sources?: Source[]; /** - *

                      The name of the simulation application.

                      + *

                      The simulation software suite used by the simulation application.

                      */ - name?: string; + simulationSoftwareSuite?: SimulationSoftwareSuite; /** - *

                      The time, in milliseconds since the epoch, when the simulation application was last updated.

                      + *

                      Information about the robot software suite (ROS distribution).

                      */ - lastUpdatedAt?: Date; + robotSoftwareSuite?: RobotSoftwareSuite; /** *

                      The rendering engine for the simulation application.

                      @@ -1679,19 +1684,14 @@ export interface CreateSimulationApplicationVersionResponse { renderingEngine?: RenderingEngine; /** - *

                      The sources of the simulation application.

                      - */ - sources?: Source[]; - - /** - *

                      The Amazon Resource Name (ARN) of the simulation application.

                      + *

                      The time, in milliseconds since the epoch, when the simulation application was last updated.

                      */ - arn?: string; + lastUpdatedAt?: Date; /** - *

                      Information about the robot software suite (ROS distribution).

                      + *

                      The revision ID of the simulation application.

                      */ - robotSoftwareSuite?: RobotSoftwareSuite; + revisionId?: string; } export namespace CreateSimulationApplicationVersionResponse { @@ -1705,9 +1705,9 @@ export namespace CreateSimulationApplicationVersionResponse { */ export interface DataSourceConfig { /** - *

                      The list of S3 keys identifying the data source files.

                      + *

                      The name of the data source.

                      */ - s3Keys: string[] | undefined; + name: string | undefined; /** *

                      The S3 bucket where the data files are located.

                      @@ -1715,9 +1715,9 @@ export interface DataSourceConfig { s3Bucket: string | undefined; /** - *

                      The name of the data source.

                      + *

                      The list of S3 keys identifying the data source files.

                      */ - name: string | undefined; + s3Keys: string[] | undefined; } export namespace DataSourceConfig { @@ -1732,6 +1732,11 @@ export namespace DataSourceConfig { * security group and two subnet IDs.

                      */ export interface VPCConfig { + /** + *

                      A list of one or more subnet IDs in your VPC.

                      + */ + subnets: string[] | undefined; + /** *

                      A list of one or more security groups IDs in your VPC.

                      */ @@ -1741,11 +1746,6 @@ export interface VPCConfig { *

                      A boolean indicating whether to assign a public IP address.

                      */ assignPublicIp?: boolean; - - /** - *

                      A list of one or more subnet IDs in your VPC.

                      - */ - subnets: string[] | undefined; } export namespace VPCConfig { @@ -1756,36 +1756,14 @@ export namespace VPCConfig { export interface CreateSimulationJobRequest { /** - *

                      The robot application to use in the simulation job.

                      - */ - robotApplications?: RobotApplicationConfig[]; - - /** - *

                      Specify data sources to mount read-only files from S3 into your simulation. These files are - * available under /opt/robomaker/datasources/data_source_name. - *

                      - * - *

                      There is a limit of 100 files and a combined size of 25GB for all - * DataSourceConfig objects. - *

                      - *
                      - */ - dataSources?: DataSourceConfig[]; - - /** - *

                      The simulation application to use in the simulation job.

                      - */ - simulationApplications?: SimulationApplicationConfig[]; - - /** - *

                      Compute information for the simulation job.

                      + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      */ - compute?: Compute; + clientRequestToken?: string; /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      Location for output files generated by the simulation job.

                      */ - clientRequestToken?: string; + outputLocation?: OutputLocation; /** *

                      The logging configuration.

                      @@ -1799,11 +1777,6 @@ export interface CreateSimulationJobRequest { */ maxJobDurationInSeconds: number | undefined; - /** - *

                      A map that contains tag keys and tag values that are attached to the simulation job.

                      - */ - tags?: { [key: string]: string }; - /** *

                      The IAM role name that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials are passed in to your @@ -1812,11 +1785,6 @@ export interface CreateSimulationJobRequest { */ iamRole: string | undefined; - /** - *

                      Location for output files generated by the simulation job.

                      - */ - outputLocation?: OutputLocation; - /** *

                      The failure behavior the simulation job.

                      *
                      @@ -1832,11 +1800,43 @@ export interface CreateSimulationJobRequest { */ failureBehavior?: FailureBehavior | string; + /** + *

                      The robot application to use in the simulation job.

                      + */ + robotApplications?: RobotApplicationConfig[]; + + /** + *

                      The simulation application to use in the simulation job.

                      + */ + simulationApplications?: SimulationApplicationConfig[]; + + /** + *

                      Specify data sources to mount read-only files from S3 into your simulation. These files are + * available under /opt/robomaker/datasources/data_source_name. + *

                      + * + *

                      There is a limit of 100 files and a combined size of 25GB for all + * DataSourceConfig objects. + *

                      + *
                      + */ + dataSources?: DataSourceConfig[]; + + /** + *

                      A map that contains tag keys and tag values that are attached to the simulation job.

                      + */ + tags?: { [key: string]: string }; + /** *

                      If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. * These must belong to the same VPC. You must provide at least one security group and one subnet ID.

                      */ vpcConfig?: VPCConfig; + + /** + *

                      Compute information for the simulation job.

                      + */ + compute?: Compute; } export namespace CreateSimulationJobRequest { @@ -1852,24 +1852,24 @@ export interface CreateSimulationJobResponse { arn?: string; /** - *

                      The time, in milliseconds since the epoch, when the simulation job was last updated.

                      + *

                      The status of the simulation job.

                      */ - lastUpdatedAt?: Date; + status?: SimulationJobStatus | string; /** - *

                      The simulation application used by the simulation job.

                      + *

                      The time, in milliseconds since the epoch, when the simulation job was last started.

                      */ - simulationApplications?: SimulationApplicationConfig[]; + lastStartedAt?: Date; /** - *

                      The robot application used by the simulation job.

                      + *

                      The time, in milliseconds since the epoch, when the simulation job was last updated.

                      */ - robotApplications?: RobotApplicationConfig[]; + lastUpdatedAt?: Date; /** - *

                      The data sources for the simulation job.

                      + *

                      the failure behavior for the simulation job.

                      */ - dataSources?: DataSource[]; + failureBehavior?: FailureBehavior | string; /** *

                      The failure code of the simulation job if it failed:

                      @@ -1935,14 +1935,25 @@ export interface CreateSimulationJobResponse { failureCode?: SimulationJobErrorCode | string; /** - *

                      The list of all tags added to the simulation job.

                      + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      */ - tags?: { [key: string]: string }; + clientRequestToken?: string; /** - *

                      the failure behavior for the simulation job.

                      + *

                      Simulation job output files location.

                      */ - failureBehavior?: FailureBehavior | string; + outputLocation?: OutputLocation; + + /** + *

                      The logging configuration.

                      + */ + loggingConfig?: LoggingConfig; + + /** + *

                      The maximum simulation job duration in seconds. + *

                      + */ + maxJobDurationInSeconds?: number; /** *

                      The simulation job execution duration in milliseconds.

                      @@ -1956,45 +1967,34 @@ export interface CreateSimulationJobResponse { iamRole?: string; /** - *

                      Simulation job output files location.

                      - */ - outputLocation?: OutputLocation; - - /** - *

                      Information about the vpc configuration.

                      + *

                      The robot application used by the simulation job.

                      */ - vpcConfig?: VPCConfigResponse; + robotApplications?: RobotApplicationConfig[]; /** - *

                      The time, in milliseconds since the epoch, when the simulation job was last started.

                      + *

                      The simulation application used by the simulation job.

                      */ - lastStartedAt?: Date; + simulationApplications?: SimulationApplicationConfig[]; /** - *

                      The logging configuration.

                      + *

                      The data sources for the simulation job.

                      */ - loggingConfig?: LoggingConfig; + dataSources?: DataSource[]; /** - *

                      The status of the simulation job.

                      + *

                      The list of all tags added to the simulation job.

                      */ - status?: SimulationJobStatus | string; + tags?: { [key: string]: string }; /** - *

                      The maximum simulation job duration in seconds. - *

                      + *

                      Information about the vpc configuration.

                      */ - maxJobDurationInSeconds?: number; + vpcConfig?: VPCConfigResponse; /** *

                      Compute information for the simulation job.

                      */ compute?: ComputeResponse; - - /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      - */ - clientRequestToken?: string; } export namespace CreateSimulationJobResponse { @@ -2023,15 +2023,20 @@ export namespace ServiceUnavailableException { */ export interface SimulationJobRequest { /** - *

                      The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

                      + *

                      The output location.

                      */ - maxJobDurationInSeconds: number | undefined; + outputLocation?: OutputLocation; /** *

                      The logging configuration.

                      */ loggingConfig?: LoggingConfig; + /** + *

                      The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

                      + */ + maxJobDurationInSeconds: number | undefined; + /** *

                      The IAM role name that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials are passed in to your @@ -2041,68 +2046,63 @@ export interface SimulationJobRequest { iamRole?: string; /** - *

                      If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security - * group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one - * security group and two subnet IDs.

                      - */ - vpcConfig?: VPCConfig; - - /** - *

                      Specify data sources to mount read-only files from S3 into your simulation. These files are - * available under /opt/robomaker/datasources/data_source_name. - *

                      - * - *

                      There is a limit of 100 files and a combined size of 25GB for all - * DataSourceConfig objects. - *

                      - *
                      + *

                      The failure behavior the simulation job.

                      + *
                      + *
                      Continue
                      + *
                      + *

                      Restart the simulation job in the same host instance.

                      + *
                      + *
                      Fail
                      + *
                      + *

                      Stop the simulation job and terminate the instance.

                      + *
                      + *
                      */ - dataSources?: DataSourceConfig[]; + failureBehavior?: FailureBehavior | string; /** - *

                      The simulation applications to use in the simulation job.

                      + *

                      Boolean indicating whether to use default simulation tool applications.

                      */ - simulationApplications?: SimulationApplicationConfig[]; + useDefaultApplications?: boolean; /** - *

                      Compute information for the simulation job

                      + *

                      The robot applications to use in the simulation job.

                      */ - compute?: Compute; + robotApplications?: RobotApplicationConfig[]; /** - *

                      The robot applications to use in the simulation job.

                      + *

                      The simulation applications to use in the simulation job.

                      */ - robotApplications?: RobotApplicationConfig[]; + simulationApplications?: SimulationApplicationConfig[]; /** - *

                      The failure behavior the simulation job.

                      - *
                      - *
                      Continue
                      - *
                      - *

                      Restart the simulation job in the same host instance.

                      - *
                      - *
                      Fail
                      - *
                      - *

                      Stop the simulation job and terminate the instance.

                      - *
                      - *
                      + *

                      Specify data sources to mount read-only files from S3 into your simulation. These files are + * available under /opt/robomaker/datasources/data_source_name. + *

                      + * + *

                      There is a limit of 100 files and a combined size of 25GB for all + * DataSourceConfig objects. + *

                      + *
                      */ - failureBehavior?: FailureBehavior | string; + dataSources?: DataSourceConfig[]; /** - *

                      The output location.

                      + *

                      If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security + * group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one + * security group and two subnet IDs.

                      */ - outputLocation?: OutputLocation; + vpcConfig?: VPCConfig; /** - *

                      A map that contains tag keys and tag values that are attached to the simulation job request.

                      + *

                      Compute information for the simulation job

                      */ - tags?: { [key: string]: string }; + compute?: Compute; /** - *

                      Boolean indicating whether to use default simulation tool applications.

                      + *

                      A map that contains tag keys and tag values that are attached to the simulation job request.

                      */ - useDefaultApplications?: boolean; + tags?: { [key: string]: string }; } export namespace SimulationJobRequest { @@ -2113,19 +2113,19 @@ export namespace SimulationJobRequest { export interface CreateWorldExportJobRequest { /** - *

                      The output location.

                      + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      */ - outputLocation: OutputLocation | undefined; + clientRequestToken?: string; /** - *

                      A map that contains tag keys and tag values that are attached to the world export job.

                      + *

                      A list of Amazon Resource Names (arns) that correspond to worlds to export.

                      */ - tags?: { [key: string]: string }; + worlds: string[] | undefined; /** - *

                      A list of Amazon Resource Names (arns) that correspond to worlds to export.

                      + *

                      The output location.

                      */ - worlds: string[] | undefined; + outputLocation: OutputLocation | undefined; /** *

                      The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.

                      @@ -2133,9 +2133,9 @@ export interface CreateWorldExportJobRequest { iamRole: string | undefined; /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      A map that contains tag keys and tag values that are attached to the world export job.

                      */ - clientRequestToken?: string; + tags?: { [key: string]: string }; } export namespace CreateWorldExportJobRequest { @@ -2168,11 +2168,6 @@ export interface CreateWorldExportJobResponse { */ arn?: string; - /** - *

                      A map that contains tag keys and tag values that are attached to the world export job.

                      - */ - tags?: { [key: string]: string }; - /** *

                      The status of the world export job.

                      *
                      @@ -2206,28 +2201,11 @@ export interface CreateWorldExportJobResponse { */ status?: WorldExportJobStatus | string; - /** - *

                      The IAM role that the world export process uses to access the Amazon S3 bucket and - * put the export. - *

                      - */ - iamRole?: string; - - /** - *

                      The output location.

                      - */ - outputLocation?: OutputLocation; - /** *

                      The time, in milliseconds since the epoch, when the world export job was created.

                      */ createdAt?: Date; - /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      - */ - clientRequestToken?: string; - /** *

                      The failure code of the world export job if it failed:

                      *
                      @@ -2254,9 +2232,40 @@ export interface CreateWorldExportJobResponse { *
                      *

                      An input parameter in the request is not valid.

                      *
                      + *
                      AllWorldGenerationFailed
                      + *
                      + *

                      All of the worlds in the world generation job failed. This can happen if your + * worldCount is greater than 50 or less than 1. + *

                      + *
                      *
                      + *

                      For more information about troubleshooting WorldForge, see + * Troubleshooting Simulation WorldForge. + *

                      */ failureCode?: WorldExportJobErrorCode | string; + + /** + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + */ + clientRequestToken?: string; + + /** + *

                      The output location.

                      + */ + outputLocation?: OutputLocation; + + /** + *

                      The IAM role that the world export process uses to access the Amazon S3 bucket and + * put the export. + *

                      + */ + iamRole?: string; + + /** + *

                      A map that contains tag keys and tag values that are attached to the world export job.

                      + */ + tags?: { [key: string]: string }; } export namespace CreateWorldExportJobResponse { @@ -2314,6 +2323,11 @@ export interface CreateWorldGenerationJobRequest { *

                      A map that contains tag keys and tag values that are attached to the world generator job.

                      */ tags?: { [key: string]: string }; + + /** + *

                      A map that contains tag keys and tag values that are attached to the generated worlds.

                      + */ + worldTags?: { [key: string]: string }; } export namespace CreateWorldGenerationJobRequest { @@ -2347,16 +2361,6 @@ export interface CreateWorldGenerationJobResponse { */ arn?: string; - /** - *

                      The time, in milliseconds since the epoch, when the world generator job was created.

                      - */ - createdAt?: Date; - - /** - *

                      The Amazon Resource Name (arn) of the world template.

                      - */ - template?: string; - /** *

                      The status of the world generator job.

                      *
                      @@ -2395,9 +2399,9 @@ export interface CreateWorldGenerationJobResponse { status?: WorldGenerationJobStatus | string; /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      The time, in milliseconds since the epoch, when the world generator job was created.

                      */ - clientRequestToken?: string; + createdAt?: Date; /** *

                      The failure code of the world generator job if it failed:

                      @@ -2430,14 +2434,29 @@ export interface CreateWorldGenerationJobResponse { failureCode?: WorldGenerationJobErrorCode | string; /** - *

                      A map that contains tag keys and tag values that are attached to the world generator job.

                      + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      */ - tags?: { [key: string]: string }; + clientRequestToken?: string; + + /** + *

                      The Amazon Resource Name (arn) of the world template.

                      + */ + template?: string; /** *

                      Information about the world count.

                      */ worldCount?: WorldCount; + + /** + *

                      A map that contains tag keys and tag values that are attached to the world generator job.

                      + */ + tags?: { [key: string]: string }; + + /** + *

                      A map that contains tag keys and tag values that are attached to the generated worlds.

                      + */ + worldTags?: { [key: string]: string }; } export namespace CreateWorldGenerationJobResponse { @@ -2469,14 +2488,19 @@ export namespace TemplateLocation { export interface CreateWorldTemplateRequest { /** - *

                      The world template body.

                      + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      */ - templateBody?: string; + clientRequestToken?: string; /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      The name of the world template.

                      */ - clientRequestToken?: string; + name?: string; + + /** + *

                      The world template body.

                      + */ + templateBody?: string; /** *

                      The location of the world template.

                      @@ -2487,11 +2511,6 @@ export interface CreateWorldTemplateRequest { *

                      A map that contains tag keys and tag values that are attached to the world template.

                      */ tags?: { [key: string]: string }; - - /** - *

                      The name of the world template.

                      - */ - name?: string; } export namespace CreateWorldTemplateRequest { @@ -2502,19 +2521,19 @@ export namespace CreateWorldTemplateRequest { export interface CreateWorldTemplateResponse { /** - *

                      The time, in milliseconds since the epoch, when the world template was created.

                      + *

                      The Amazon Resource Name (ARN) of the world template.

                      */ - createdAt?: Date; + arn?: string; /** - *

                      The Amazon Resource Name (ARN) of the world template.

                      + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      */ - arn?: string; + clientRequestToken?: string; /** - *

                      A map that contains tag keys and tag values that are attached to the world template.

                      + *

                      The time, in milliseconds since the epoch, when the world template was created.

                      */ - tags?: { [key: string]: string }; + createdAt?: Date; /** *

                      The name of the world template.

                      @@ -2522,9 +2541,9 @@ export interface CreateWorldTemplateResponse { name?: string; /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      A map that contains tag keys and tag values that are attached to the world template.

                      */ - clientRequestToken?: string; + tags?: { [key: string]: string }; } export namespace CreateWorldTemplateResponse { @@ -2603,14 +2622,14 @@ export namespace DeleteRobotApplicationResponse { export interface DeleteSimulationApplicationRequest { /** - *

                      The version of the simulation application to delete.

                      + *

                      The application information for the simulation application to delete.

                      */ - applicationVersion?: string; + application: string | undefined; /** - *

                      The application information for the simulation application to delete.

                      + *

                      The version of the simulation application to delete.

                      */ - application: string | undefined; + applicationVersion?: string; } export namespace DeleteSimulationApplicationRequest { @@ -2653,9 +2672,9 @@ export namespace DeleteWorldTemplateResponse { */ export interface DeploymentJob { /** - *

                      The time, in milliseconds since the epoch, when the deployment job was created.

                      + *

                      The Amazon Resource Name (ARN) of the deployment job.

                      */ - createdAt?: Date; + arn?: string; /** *

                      The Amazon Resource Name (ARN) of the fleet.

                      @@ -2663,19 +2682,19 @@ export interface DeploymentJob { fleet?: string; /** - *

                      The deployment configuration.

                      + *

                      The status of the deployment job.

                      */ - deploymentConfig?: DeploymentConfig; + status?: DeploymentStatus | string; /** - *

                      The Amazon Resource Name (ARN) of the deployment job.

                      + *

                      The deployment application configuration.

                      */ - arn?: string; + deploymentApplicationConfigs?: DeploymentApplicationConfig[]; /** - *

                      The status of the deployment job.

                      + *

                      The deployment configuration.

                      */ - status?: DeploymentStatus | string; + deploymentConfig?: DeploymentConfig; /** *

                      A short description of the reason why the deployment job failed.

                      @@ -2688,9 +2707,9 @@ export interface DeploymentJob { failureCode?: DeploymentJobErrorCode | string; /** - *

                      The deployment application configuration.

                      + *

                      The time, in milliseconds since the epoch, when the deployment job was created.

                      */ - deploymentApplicationConfigs?: DeploymentApplicationConfig[]; + createdAt?: Date; } export namespace DeploymentJob { @@ -2701,14 +2720,14 @@ export namespace DeploymentJob { export interface DeregisterRobotRequest { /** - *

                      The Amazon Resource Name (ARN) of the robot.

                      + *

                      The Amazon Resource Name (ARN) of the fleet.

                      */ - robot: string | undefined; + fleet: string | undefined; /** - *

                      The Amazon Resource Name (ARN) of the fleet.

                      + *

                      The Amazon Resource Name (ARN) of the robot.

                      */ - fleet: string | undefined; + robot: string | undefined; } export namespace DeregisterRobotRequest { @@ -2793,6 +2812,12 @@ export interface ProgressDetail { */ currentProgress?: RobotDeploymentStep | string; + /** + *

                      Precentage of the step that is done. This currently only applies to the Downloading/Extracting + * step of the deployment. It is empty for other steps.

                      + */ + percentDone?: number; + /** *

                      Estimated amount of time in seconds remaining in the step. This currently only applies * to the Downloading/Extracting step of the deployment. It is empty for other steps.

                      @@ -2803,12 +2828,6 @@ export interface ProgressDetail { *

                      The Amazon Resource Name (ARN) of the deployment job.

                      */ targetResource?: string; - - /** - *

                      Precentage of the step that is done. This currently only applies to the Downloading/Extracting - * step of the deployment. It is empty for other steps.

                      - */ - percentDone?: number; } export namespace ProgressDetail { @@ -2832,9 +2851,9 @@ export enum RobotStatus { */ export interface RobotDeployment { /** - *

                      Information about how the deployment is progressing.

                      + *

                      The robot deployment Amazon Resource Name (ARN).

                      */ - progressDetail?: ProgressDetail; + arn?: string; /** *

                      The time, in milliseconds since the epoch, when the deployment was started.

                      @@ -2852,14 +2871,14 @@ export interface RobotDeployment { status?: RobotStatus | string; /** - *

                      A short description of the reason why the robot deployment failed.

                      + *

                      Information about how the deployment is progressing.

                      */ - failureReason?: string; + progressDetail?: ProgressDetail; /** - *

                      The robot deployment Amazon Resource Name (ARN).

                      + *

                      A short description of the reason why the robot deployment failed.

                      */ - arn?: string; + failureReason?: string; /** *

                      The robot deployment failure code.

                      @@ -2875,54 +2894,54 @@ export namespace RobotDeployment { export interface DescribeDeploymentJobResponse { /** - *

                      A list of robot deployment summaries.

                      + *

                      The Amazon Resource Name (ARN) of the deployment job.

                      */ - robotDeploymentSummary?: RobotDeployment[]; + arn?: string; /** - *

                      The deployment application configuration.

                      + *

                      The Amazon Resource Name (ARN) of the fleet.

                      */ - deploymentApplicationConfigs?: DeploymentApplicationConfig[]; + fleet?: string; /** - *

                      A short description of the reason why the deployment job failed.

                      + *

                      The status of the deployment job.

                      */ - failureReason?: string; + status?: DeploymentStatus | string; /** - *

                      The time, in milliseconds since the epoch, when the deployment job was created.

                      + *

                      The deployment configuration.

                      */ - createdAt?: Date; + deploymentConfig?: DeploymentConfig; /** - *

                      The list of all tags added to the specified deployment job.

                      + *

                      The deployment application configuration.

                      */ - tags?: { [key: string]: string }; + deploymentApplicationConfigs?: DeploymentApplicationConfig[]; /** - *

                      The deployment job failure code.

                      + *

                      A short description of the reason why the deployment job failed.

                      */ - failureCode?: DeploymentJobErrorCode | string; + failureReason?: string; /** - *

                      The status of the deployment job.

                      + *

                      The deployment job failure code.

                      */ - status?: DeploymentStatus | string; + failureCode?: DeploymentJobErrorCode | string; /** - *

                      The Amazon Resource Name (ARN) of the deployment job.

                      + *

                      The time, in milliseconds since the epoch, when the deployment job was created.

                      */ - arn?: string; + createdAt?: Date; /** - *

                      The deployment configuration.

                      + *

                      A list of robot deployment summaries.

                      */ - deploymentConfig?: DeploymentConfig; + robotDeploymentSummary?: RobotDeployment[]; /** - *

                      The Amazon Resource Name (ARN) of the fleet.

                      + *

                      The list of all tags added to the specified deployment job.

                      */ - fleet?: string; + tags?: { [key: string]: string }; } export namespace DescribeDeploymentJobResponse { @@ -2949,14 +2968,19 @@ export namespace DescribeFleetRequest { */ export interface Robot { /** - *

                      The Greengrass group associated with the robot.

                      + *

                      The Amazon Resource Name (ARN) of the robot.

                      + */ + arn?: string; + + /** + *

                      The name of the robot.

                      */ - greenGrassGroupId?: string; + name?: string; /** - *

                      The time, in milliseconds since the epoch, when the robot was created.

                      + *

                      The Amazon Resource Name (ARN) of the fleet.

                      */ - createdAt?: Date; + fleetArn?: string; /** *

                      The status of the robot.

                      @@ -2964,34 +2988,29 @@ export interface Robot { status?: RobotStatus | string; /** - *

                      The Amazon Resource Name (ARN) of the robot.

                      - */ - arn?: string; - - /** - *

                      The Amazon Resource Name (ARN) of the last deployment job.

                      + *

                      The Greengrass group associated with the robot.

                      */ - lastDeploymentJob?: string; + greenGrassGroupId?: string; /** - *

                      The time of the last deployment.

                      + *

                      The time, in milliseconds since the epoch, when the robot was created.

                      */ - lastDeploymentTime?: Date; + createdAt?: Date; /** - *

                      The Amazon Resource Name (ARN) of the fleet.

                      + *

                      The architecture of the robot.

                      */ - fleetArn?: string; + architecture?: Architecture | string; /** - *

                      The name of the robot.

                      + *

                      The Amazon Resource Name (ARN) of the last deployment job.

                      */ - name?: string; + lastDeploymentJob?: string; /** - *

                      The architecture of the robot.

                      + *

                      The time of the last deployment.

                      */ - architecture?: Architecture | string; + lastDeploymentTime?: Date; } export namespace Robot { @@ -3007,9 +3026,9 @@ export interface DescribeFleetResponse { name?: string; /** - *

                      The time of the last deployment.

                      + *

                      The Amazon Resource Name (ARN) of the fleet.

                      */ - lastDeploymentTime?: Date; + arn?: string; /** *

                      A list of robots.

                      @@ -3017,29 +3036,29 @@ export interface DescribeFleetResponse { robots?: Robot[]; /** - *

                      The Amazon Resource Name (ARN) of the last deployment job.

                      + *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      */ - lastDeploymentJob?: string; + createdAt?: Date; /** - *

                      The Amazon Resource Name (ARN) of the fleet.

                      + *

                      The status of the last deployment.

                      */ - arn?: string; + lastDeploymentStatus?: DeploymentStatus | string; /** - *

                      The list of all tags added to the specified fleet.

                      + *

                      The Amazon Resource Name (ARN) of the last deployment job.

                      */ - tags?: { [key: string]: string }; + lastDeploymentJob?: string; /** - *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      + *

                      The time of the last deployment.

                      */ - createdAt?: Date; + lastDeploymentTime?: Date; /** - *

                      The status of the last deployment.

                      + *

                      The list of all tags added to the specified fleet.

                      */ - lastDeploymentStatus?: DeploymentStatus | string; + tags?: { [key: string]: string }; } export namespace DescribeFleetResponse { @@ -3068,39 +3087,39 @@ export interface DescribeRobotResponse { arn?: string; /** - *

                      The time, in milliseconds since the epoch, when the robot was created.

                      + *

                      The name of the robot.

                      */ - createdAt?: Date; + name?: string; /** - *

                      The Greengrass group id.

                      + *

                      The Amazon Resource Name (ARN) of the fleet.

                      */ - greengrassGroupId?: string; + fleetArn?: string; /** - *

                      The Amazon Resource Name (ARN) of the last deployment job.

                      + *

                      The status of the fleet.

                      */ - lastDeploymentJob?: string; + status?: RobotStatus | string; /** - *

                      The name of the robot.

                      + *

                      The Greengrass group id.

                      */ - name?: string; + greengrassGroupId?: string; /** - *

                      The Amazon Resource Name (ARN) of the fleet.

                      + *

                      The time, in milliseconds since the epoch, when the robot was created.

                      */ - fleetArn?: string; + createdAt?: Date; /** - *

                      The status of the fleet.

                      + *

                      The target architecture of the robot application.

                      */ - status?: RobotStatus | string; + architecture?: Architecture | string; /** - *

                      The list of all tags added to the specified robot.

                      + *

                      The Amazon Resource Name (ARN) of the last deployment job.

                      */ - tags?: { [key: string]: string }; + lastDeploymentJob?: string; /** *

                      The time of the last deployment job.

                      @@ -3108,9 +3127,9 @@ export interface DescribeRobotResponse { lastDeploymentTime?: Date; /** - *

                      The target architecture of the robot application.

                      + *

                      The list of all tags added to the specified robot.

                      */ - architecture?: Architecture | string; + tags?: { [key: string]: string }; } export namespace DescribeRobotResponse { @@ -3121,14 +3140,14 @@ export namespace DescribeRobotResponse { export interface DescribeRobotApplicationRequest { /** - *

                      The version of the robot application to describe.

                      + *

                      The Amazon Resource Name (ARN) of the robot application.

                      */ - applicationVersion?: string; + application: string | undefined; /** - *

                      The Amazon Resource Name (ARN) of the robot application.

                      + *

                      The version of the robot application to describe.

                      */ - application: string | undefined; + applicationVersion?: string; } export namespace DescribeRobotApplicationRequest { @@ -3139,14 +3158,14 @@ export namespace DescribeRobotApplicationRequest { export interface DescribeRobotApplicationResponse { /** - *

                      The robot software suite (ROS distribution) used by the robot application.

                      + *

                      The Amazon Resource Name (ARN) of the robot application.

                      */ - robotSoftwareSuite?: RobotSoftwareSuite; + arn?: string; /** - *

                      The revision id of the robot application.

                      + *

                      The name of the robot application.

                      */ - revisionId?: string; + name?: string; /** *

                      The version of the robot application.

                      @@ -3154,19 +3173,19 @@ export interface DescribeRobotApplicationResponse { version?: string; /** - *

                      The Amazon Resource Name (ARN) of the robot application.

                      + *

                      The sources of the robot application.

                      */ - arn?: string; + sources?: Source[]; /** - *

                      The name of the robot application.

                      + *

                      The robot software suite (ROS distribution) used by the robot application.

                      */ - name?: string; + robotSoftwareSuite?: RobotSoftwareSuite; /** - *

                      The list of all tags added to the specified robot application.

                      + *

                      The revision id of the robot application.

                      */ - tags?: { [key: string]: string }; + revisionId?: string; /** *

                      The time, in milliseconds since the epoch, when the robot application was last updated.

                      @@ -3174,9 +3193,9 @@ export interface DescribeRobotApplicationResponse { lastUpdatedAt?: Date; /** - *

                      The sources of the robot application.

                      + *

                      The list of all tags added to the specified robot application.

                      */ - sources?: Source[]; + tags?: { [key: string]: string }; } export namespace DescribeRobotApplicationResponse { @@ -3187,14 +3206,14 @@ export namespace DescribeRobotApplicationResponse { export interface DescribeSimulationApplicationRequest { /** - *

                      The version of the simulation application to describe.

                      + *

                      The application information for the simulation application.

                      */ - applicationVersion?: string; + application: string | undefined; /** - *

                      The application information for the simulation application.

                      + *

                      The version of the simulation application to describe.

                      */ - application: string | undefined; + applicationVersion?: string; } export namespace DescribeSimulationApplicationRequest { @@ -3205,24 +3224,24 @@ export namespace DescribeSimulationApplicationRequest { export interface DescribeSimulationApplicationResponse { /** - *

                      The time, in milliseconds since the epoch, when the simulation application was last updated.

                      + *

                      The Amazon Resource Name (ARN) of the robot simulation application.

                      */ - lastUpdatedAt?: Date; + arn?: string; /** - *

                      The Amazon Resource Name (ARN) of the robot simulation application.

                      + *

                      The name of the simulation application.

                      */ - arn?: string; + name?: string; /** - *

                      The sources of the simulation application.

                      + *

                      The version of the simulation application.

                      */ - sources?: Source[]; + version?: string; /** - *

                      The rendering engine for the simulation application.

                      + *

                      The sources of the simulation application.

                      */ - renderingEngine?: RenderingEngine; + sources?: Source[]; /** *

                      The simulation software suite used by the simulation application.

                      @@ -3230,29 +3249,29 @@ export interface DescribeSimulationApplicationResponse { simulationSoftwareSuite?: SimulationSoftwareSuite; /** - *

                      The list of all tags added to the specified simulation application.

                      + *

                      Information about the robot software suite (ROS distribution).

                      */ - tags?: { [key: string]: string }; + robotSoftwareSuite?: RobotSoftwareSuite; /** - *

                      The revision id of the simulation application.

                      + *

                      The rendering engine for the simulation application.

                      */ - revisionId?: string; + renderingEngine?: RenderingEngine; /** - *

                      The version of the simulation application.

                      + *

                      The revision id of the simulation application.

                      */ - version?: string; + revisionId?: string; /** - *

                      The name of the simulation application.

                      + *

                      The time, in milliseconds since the epoch, when the simulation application was last updated.

                      */ - name?: string; + lastUpdatedAt?: Date; /** - *

                      Information about the robot software suite (ROS distribution).

                      + *

                      The list of all tags added to the specified simulation application.

                      */ - robotSoftwareSuite?: RobotSoftwareSuite; + tags?: { [key: string]: string }; } export namespace DescribeSimulationApplicationResponse { @@ -3280,36 +3299,15 @@ export interface DescribeSimulationJobResponse { */ arn?: string; - /** - *

                      A list of robot applications.

                      - */ - robotApplications?: RobotApplicationConfig[]; - - /** - *

                      The data sources for the simulation job.

                      - */ - dataSources?: DataSource[]; - - /** - *

                      Location for output files generated by the simulation job.

                      - */ - outputLocation?: OutputLocation; - /** *

                      The name of the simulation job.

                      */ name?: string; /** - *

                      The failure behavior for the simulation job.

                      - */ - failureBehavior?: FailureBehavior | string; - - /** - *

                      Details about why the simulation job failed. For more information - * about troubleshooting, see Troubleshooting.

                      + *

                      The status of the simulation job.

                      */ - failureReason?: string; + status?: SimulationJobStatus | string; /** *

                      The time, in milliseconds since the epoch, when the simulation job was last started.

                      @@ -3317,14 +3315,14 @@ export interface DescribeSimulationJobResponse { lastStartedAt?: Date; /** - *

                      The status of the simulation job.

                      + *

                      The time, in milliseconds since the epoch, when the simulation job was last updated.

                      */ - status?: SimulationJobStatus | string; + lastUpdatedAt?: Date; /** - *

                      A list of simulation applications.

                      + *

                      The failure behavior for the simulation job.

                      */ - simulationApplications?: SimulationApplicationConfig[]; + failureBehavior?: FailureBehavior | string; /** *

                      The failure code of the simulation job if it failed:

                      @@ -3390,20 +3388,20 @@ export interface DescribeSimulationJobResponse { failureCode?: SimulationJobErrorCode | string; /** - *

                      The IAM role that allows the simulation instance to call the AWS APIs that - * are specified in its associated policies on your behalf.

                      + *

                      Details about why the simulation job failed. For more information + * about troubleshooting, see Troubleshooting.

                      */ - iamRole?: string; + failureReason?: string; /** - *

                      The simulation job execution duration in milliseconds.

                      + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      */ - simulationTimeMillis?: number; + clientRequestToken?: string; /** - *

                      The VPC configuration.

                      + *

                      Location for output files generated by the simulation job.

                      */ - vpcConfig?: VPCConfigResponse; + outputLocation?: OutputLocation; /** *

                      The logging configuration.

                      @@ -3411,24 +3409,35 @@ export interface DescribeSimulationJobResponse { loggingConfig?: LoggingConfig; /** - *

                      The network interface information for the simulation job.

                      + *

                      The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or less.

                      */ - networkInterface?: NetworkInterface; + maxJobDurationInSeconds?: number; /** - *

                      The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or less.

                      + *

                      The simulation job execution duration in milliseconds.

                      */ - maxJobDurationInSeconds?: number; + simulationTimeMillis?: number; /** - *

                      Compute information for the simulation job.

                      + *

                      The IAM role that allows the simulation instance to call the AWS APIs that + * are specified in its associated policies on your behalf.

                      */ - compute?: ComputeResponse; + iamRole?: string; /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      A list of robot applications.

                      */ - clientRequestToken?: string; + robotApplications?: RobotApplicationConfig[]; + + /** + *

                      A list of simulation applications.

                      + */ + simulationApplications?: SimulationApplicationConfig[]; + + /** + *

                      The data sources for the simulation job.

                      + */ + dataSources?: DataSource[]; /** *

                      The list of all tags added to the specified simulation job.

                      @@ -3436,9 +3445,19 @@ export interface DescribeSimulationJobResponse { tags?: { [key: string]: string }; /** - *

                      The time, in milliseconds since the epoch, when the simulation job was last updated.

                      + *

                      The VPC configuration.

                      */ - lastUpdatedAt?: Date; + vpcConfig?: VPCConfigResponse; + + /** + *

                      The network interface information for the simulation job.

                      + */ + networkInterface?: NetworkInterface; + + /** + *

                      Compute information for the simulation job.

                      + */ + compute?: ComputeResponse; } export namespace DescribeSimulationJobResponse { @@ -3465,9 +3484,14 @@ export namespace DescribeSimulationJobBatchRequest { */ export interface SimulationJobSummary { /** - *

                      The status of the simulation job.

                      + *

                      The Amazon Resource Name (ARN) of the simulation job.

                      + */ + arn?: string; + + /** + *

                      The time, in milliseconds since the epoch, when the simulation job was last updated.

                      */ - status?: SimulationJobStatus | string; + lastUpdatedAt?: Date; /** *

                      The name of the simulation job.

                      @@ -3475,9 +3499,9 @@ export interface SimulationJobSummary { name?: string; /** - *

                      The Amazon Resource Name (ARN) of the simulation job.

                      + *

                      The status of the simulation job.

                      */ - arn?: string; + status?: SimulationJobStatus | string; /** *

                      A list of simulation job simulation application names.

                      @@ -3485,19 +3509,14 @@ export interface SimulationJobSummary { simulationApplicationNames?: string[]; /** - *

                      The names of the data sources.

                      - */ - dataSourceNames?: string[]; - - /** - *

                      The time, in milliseconds since the epoch, when the simulation job was last updated.

                      + *

                      A list of simulation job robot application names.

                      */ - lastUpdatedAt?: Date; + robotApplicationNames?: string[]; /** - *

                      A list of simulation job robot application names.

                      + *

                      The names of the data sources.

                      */ - robotApplicationNames?: string[]; + dataSourceNames?: string[]; } export namespace SimulationJobSummary { @@ -3511,9 +3530,9 @@ export namespace SimulationJobSummary { */ export interface FailedCreateSimulationJobRequest { /** - *

                      The failure code.

                      + *

                      The simulation job request.

                      */ - failureCode?: SimulationJobErrorCode | string; + request?: SimulationJobRequest; /** *

                      The failure reason of the simulation job request.

                      @@ -3521,9 +3540,9 @@ export interface FailedCreateSimulationJobRequest { failureReason?: string; /** - *

                      The simulation job request.

                      + *

                      The failure code.

                      */ - request?: SimulationJobRequest; + failureCode?: SimulationJobErrorCode | string; /** *

                      The time, in milliseconds since the epoch, when the simulation job batch failed.

                      @@ -3555,24 +3574,9 @@ export enum SimulationJobBatchStatus { export interface DescribeSimulationJobBatchResponse { /** - *

                      The reason the simulation job batch failed.

                      - */ - failureReason?: string; - - /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      - */ - clientRequestToken?: string; - - /** - *

                      The failure code of the simulation job batch.

                      - */ - failureCode?: SimulationJobBatchErrorCode | string; - - /** - *

                      A map that contains tag keys and tag values that are attached to the simulation job batch.

                      + *

                      The Amazon Resource Name (ARN) of the batch.

                      */ - tags?: { [key: string]: string }; + arn?: string; /** *

                      The status of the batch.

                      @@ -3630,12 +3634,19 @@ export interface DescribeSimulationJobBatchResponse { status?: SimulationJobBatchStatus | string; /** - *

                      A list of failed create simulation job requests. The request failed to - * be created into a simulation job. Failed requests do not - * have a simulation job ID. - *

                      + *

                      The time, in milliseconds since the epoch, when the simulation job batch was last updated.

                      */ - failedRequests?: FailedCreateSimulationJobRequest[]; + lastUpdatedAt?: Date; + + /** + *

                      The time, in milliseconds since the epoch, when the simulation job batch was created.

                      + */ + createdAt?: Date; + + /** + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + */ + clientRequestToken?: string; /** *

                      The batch policy.

                      @@ -3643,14 +3654,22 @@ export interface DescribeSimulationJobBatchResponse { batchPolicy?: BatchPolicy; /** - *

                      The Amazon Resource Name (ARN) of the batch.

                      + *

                      The failure code of the simulation job batch.

                      */ - arn?: string; + failureCode?: SimulationJobBatchErrorCode | string; /** - *

                      A list of created simulation job summaries.

                      + *

                      The reason the simulation job batch failed.

                      */ - createdRequests?: SimulationJobSummary[]; + failureReason?: string; + + /** + *

                      A list of failed create simulation job requests. The request failed to + * be created into a simulation job. Failed requests do not + * have a simulation job ID. + *

                      + */ + failedRequests?: FailedCreateSimulationJobRequest[]; /** *

                      A list of pending simulation job requests. These requests have @@ -3659,14 +3678,14 @@ export interface DescribeSimulationJobBatchResponse { pendingRequests?: SimulationJobRequest[]; /** - *

                      The time, in milliseconds since the epoch, when the simulation job batch was last updated.

                      + *

                      A list of created simulation job summaries.

                      */ - lastUpdatedAt?: Date; + createdRequests?: SimulationJobSummary[]; /** - *

                      The time, in milliseconds since the epoch, when the simulation job batch was created.

                      + *

                      A map that contains tag keys and tag values that are attached to the simulation job batch.

                      */ - createdAt?: Date; + tags?: { [key: string]: string }; } export namespace DescribeSimulationJobBatchResponse { @@ -3695,9 +3714,9 @@ export interface DescribeWorldResponse { arn?: string; /** - *

                      The time, in milliseconds since the epoch, when the world was created.

                      + *

                      The Amazon Resource Name (arn) of the world generation job that generated the world.

                      */ - createdAt?: Date; + generationJob?: string; /** *

                      The world template.

                      @@ -3705,14 +3724,14 @@ export interface DescribeWorldResponse { template?: string; /** - *

                      A map that contains tag keys and tag values that are attached to the world.

                      + *

                      The time, in milliseconds since the epoch, when the world was created.

                      */ - tags?: { [key: string]: string }; + createdAt?: Date; /** - *

                      The Amazon Resource Name (arn) of the world generation job that generated the world.

                      + *

                      A map that contains tag keys and tag values that are attached to the world.

                      */ - generationJob?: string; + tags?: { [key: string]: string }; } export namespace DescribeWorldResponse { @@ -3736,9 +3755,9 @@ export namespace DescribeWorldExportJobRequest { export interface DescribeWorldExportJobResponse { /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      The Amazon Resource Name (ARN) of the world export job.

                      */ - clientRequestToken?: string; + arn?: string; /** *

                      The status of the world export job.

                      @@ -3774,41 +3793,11 @@ export interface DescribeWorldExportJobResponse { */ status?: WorldExportJobStatus | string; - /** - *

                      A list of Amazon Resource Names (arns) that correspond to worlds to be exported.

                      - */ - worlds?: string[]; - - /** - *

                      The output location.

                      - */ - outputLocation?: OutputLocation; - - /** - *

                      The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.

                      - */ - iamRole?: string; - /** *

                      The time, in milliseconds since the epoch, when the world export job was created.

                      */ createdAt?: Date; - /** - *

                      A map that contains tag keys and tag values that are attached to the world export job.

                      - */ - tags?: { [key: string]: string }; - - /** - *

                      The reason why the world export job failed.

                      - */ - failureReason?: string; - - /** - *

                      The Amazon Resource Name (ARN) of the world export job.

                      - */ - arn?: string; - /** *

                      The failure code of the world export job if it failed:

                      *
                      @@ -3838,6 +3827,36 @@ export interface DescribeWorldExportJobResponse { *
                      */ failureCode?: WorldExportJobErrorCode | string; + + /** + *

                      The reason why the world export job failed.

                      + */ + failureReason?: string; + + /** + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + */ + clientRequestToken?: string; + + /** + *

                      A list of Amazon Resource Names (arns) that correspond to worlds to be exported.

                      + */ + worlds?: string[]; + + /** + *

                      The output location.

                      + */ + outputLocation?: OutputLocation; + + /** + *

                      The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.

                      + */ + iamRole?: string; + + /** + *

                      A map that contains tag keys and tag values that are attached to the world export job.

                      + */ + tags?: { [key: string]: string }; } export namespace DescribeWorldExportJobResponse { @@ -3863,18 +3882,6 @@ export namespace DescribeWorldGenerationJobRequest { *

                      Information about a failed world.

                      */ export interface WorldFailure { - /** - *

                      The number of failed worlds.

                      - */ - failureCount?: number; - - /** - *

                      The sample reason why the world failed. World errors are aggregated. A sample is used - * as the sampleFailureReason. - *

                      - */ - sampleFailureReason?: string; - /** *

                      The failure code of the world export job if it failed:

                      *
                      @@ -3904,111 +3911,78 @@ export interface WorldFailure { *
                      */ failureCode?: WorldGenerationJobErrorCode | string; -} - -export namespace WorldFailure { - export const filterSensitiveLog = (obj: WorldFailure): any => ({ - ...obj, - }); -} -/** - *

                      Information about worlds that failed.

                      - */ -export interface FailureSummary { /** - *

                      The worlds that failed.

                      + *

                      The sample reason why the world failed. World errors are aggregated. A sample is used + * as the sampleFailureReason. + *

                      */ - failures?: WorldFailure[]; + sampleFailureReason?: string; /** - *

                      The total number of failures.

                      + *

                      The number of failed worlds.

                      */ - totalFailureCount?: number; + failureCount?: number; } -export namespace FailureSummary { - export const filterSensitiveLog = (obj: FailureSummary): any => ({ +export namespace WorldFailure { + export const filterSensitiveLog = (obj: WorldFailure): any => ({ ...obj, }); } /** - *

                      Information about worlds that finished.

                      - */ -export interface FinishedWorldsSummary { - /** - *

                      The total number of finished worlds.

                      - */ - finishedCount?: number; - - /** - *

                      Information about worlds that failed.

                      - */ - failureSummary?: FailureSummary; - - /** - *

                      A list of worlds that succeeded.

                      - */ - succeededWorlds?: string[]; -} - -export namespace FinishedWorldsSummary { - export const filterSensitiveLog = (obj: FinishedWorldsSummary): any => ({ - ...obj, - }); -} - -export interface DescribeWorldGenerationJobResponse { - /** - *

                      The failure code of the world generation job if it failed:

                      - *
                      - *
                      InternalServiceError
                      - *
                      - *

                      Internal service error.

                      - *
                      - *
                      LimitExceeded
                      - *
                      - *

                      The requested resource exceeds the maximum number allowed, or the number of concurrent - * stream requests exceeds the maximum number allowed. - *

                      - *
                      - *
                      ResourceNotFound
                      - *
                      - *

                      The specified resource could not be found. - *

                      - *
                      - *
                      RequestThrottled
                      - *
                      - *

                      The request was throttled.

                      - *
                      - *
                      InvalidInput
                      - *
                      - *

                      An input parameter in the request is not valid.

                      - *
                      - *
                      + *

                      Information about worlds that failed.

                      + */ +export interface FailureSummary { + /** + *

                      The total number of failures.

                      */ - failureCode?: WorldGenerationJobErrorCode | string; + totalFailureCount?: number; /** - *

                      A map that contains tag keys and tag values that are attached to the world generation job.

                      + *

                      The worlds that failed.

                      */ - tags?: { [key: string]: string }; + failures?: WorldFailure[]; +} + +export namespace FailureSummary { + export const filterSensitiveLog = (obj: FailureSummary): any => ({ + ...obj, + }); +} +/** + *

                      Information about worlds that finished.

                      + */ +export interface FinishedWorldsSummary { /** - *

                      The Amazon Resource Name (arn) of the world template.

                      + *

                      The total number of finished worlds.

                      */ - template?: string; + finishedCount?: number; /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      A list of worlds that succeeded.

                      */ - clientRequestToken?: string; + succeededWorlds?: string[]; /** - *

                      The time, in milliseconds since the epoch, when the world generation job was created.

                      + *

                      Information about worlds that failed.

                      */ - createdAt?: Date; + failureSummary?: FailureSummary; +} + +export namespace FinishedWorldsSummary { + export const filterSensitiveLog = (obj: FinishedWorldsSummary): any => ({ + ...obj, + }); +} + +export interface DescribeWorldGenerationJobResponse { + /** + *

                      The Amazon Resource Name (ARN) of the world generation job.

                      + */ + arn?: string; /** *

                      The status of the world generation job:

                      @@ -4048,14 +4022,54 @@ export interface DescribeWorldGenerationJobResponse { status?: WorldGenerationJobStatus | string; /** - *

                      The Amazon Resource Name (ARN) of the world generation job.

                      + *

                      The time, in milliseconds since the epoch, when the world generation job was created.

                      */ - arn?: string; + createdAt?: Date; /** - *

                      Summary information about finished worlds.

                      + *

                      The failure code of the world generation job if it failed:

                      + *
                      + *
                      InternalServiceError
                      + *
                      + *

                      Internal service error.

                      + *
                      + *
                      LimitExceeded
                      + *
                      + *

                      The requested resource exceeds the maximum number allowed, or the number of concurrent + * stream requests exceeds the maximum number allowed. + *

                      + *
                      + *
                      ResourceNotFound
                      + *
                      + *

                      The specified resource could not be found. + *

                      + *
                      + *
                      RequestThrottled
                      + *
                      + *

                      The request was throttled.

                      + *
                      + *
                      InvalidInput
                      + *
                      + *

                      An input parameter in the request is not valid.

                      + *
                      + *
                      */ - finishedWorldsSummary?: FinishedWorldsSummary; + failureCode?: WorldGenerationJobErrorCode | string; + + /** + *

                      The reason why the world generation job failed.

                      + */ + failureReason?: string; + + /** + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + */ + clientRequestToken?: string; + + /** + *

                      The Amazon Resource Name (arn) of the world template.

                      + */ + template?: string; /** *

                      Information about the world count.

                      @@ -4063,9 +4077,19 @@ export interface DescribeWorldGenerationJobResponse { worldCount?: WorldCount; /** - *

                      The reason why the world generation job failed.

                      + *

                      Summary information about finished worlds.

                      */ - failureReason?: string; + finishedWorldsSummary?: FinishedWorldsSummary; + + /** + *

                      A map that contains tag keys and tag values that are attached to the world generation job.

                      + */ + tags?: { [key: string]: string }; + + /** + *

                      A map that contains tag keys and tag values that are attached to the generated worlds.

                      + */ + worldTags?: { [key: string]: string }; } export namespace DescribeWorldGenerationJobResponse { @@ -4089,9 +4113,9 @@ export namespace DescribeWorldTemplateRequest { export interface DescribeWorldTemplateResponse { /** - *

                      The time, in milliseconds since the epoch, when the world template was created.

                      + *

                      The Amazon Resource Name (ARN) of the world template.

                      */ - createdAt?: Date; + arn?: string; /** *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      @@ -4099,24 +4123,24 @@ export interface DescribeWorldTemplateResponse { clientRequestToken?: string; /** - *

                      A map that contains tag keys and tag values that are attached to the world template.

                      + *

                      The name of the world template.

                      */ - tags?: { [key: string]: string }; + name?: string; /** - *

                      The time, in milliseconds since the epoch, when the world template was last updated.

                      + *

                      The time, in milliseconds since the epoch, when the world template was created.

                      */ - lastUpdatedAt?: Date; + createdAt?: Date; /** - *

                      The name of the world template.

                      + *

                      The time, in milliseconds since the epoch, when the world template was last updated.

                      */ - name?: string; + lastUpdatedAt?: Date; /** - *

                      The Amazon Resource Name (ARN) of the world template.

                      + *

                      A map that contains tag keys and tag values that are attached to the world template.

                      */ - arn?: string; + tags?: { [key: string]: string }; } export namespace DescribeWorldTemplateResponse { @@ -4130,14 +4154,14 @@ export namespace DescribeWorldTemplateResponse { */ export interface Filter { /** - *

                      A list of values.

                      + *

                      The name of the filter.

                      */ - values?: string[]; + name?: string; /** - *

                      The name of the filter.

                      + *

                      A list of values.

                      */ - name?: string; + values?: string[]; } export namespace Filter { @@ -4151,24 +4175,24 @@ export namespace Filter { */ export interface Fleet { /** - *

                      The Amazon Resource Name (ARN) of the fleet.

                      + *

                      The name of the fleet.

                      */ - arn?: string; + name?: string; /** - *

                      The status of the last fleet deployment.

                      + *

                      The Amazon Resource Name (ARN) of the fleet.

                      */ - lastDeploymentStatus?: DeploymentStatus | string; + arn?: string; /** - *

                      The time of the last deployment.

                      + *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      */ - lastDeploymentTime?: Date; + createdAt?: Date; /** - *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      + *

                      The status of the last fleet deployment.

                      */ - createdAt?: Date; + lastDeploymentStatus?: DeploymentStatus | string; /** *

                      The Amazon Resource Name (ARN) of the last deployment job.

                      @@ -4176,9 +4200,9 @@ export interface Fleet { lastDeploymentJob?: string; /** - *

                      The name of the fleet.

                      + *

                      The time of the last deployment.

                      */ - name?: string; + lastDeploymentTime?: Date; } export namespace Fleet { @@ -4189,14 +4213,14 @@ export namespace Fleet { export interface GetWorldTemplateBodyRequest { /** - *

                      The Amazon Resource Name (arn) of the world generator job.

                      + *

                      The Amazon Resource Name (arn) of the world template.

                      */ - generationJob?: string; + template?: string; /** - *

                      The Amazon Resource Name (arn) of the world template.

                      + *

                      The Amazon Resource Name (arn) of the world generator job.

                      */ - template?: string; + generationJob?: string; } export namespace GetWorldTemplateBodyRequest { @@ -4219,17 +4243,6 @@ export namespace GetWorldTemplateBodyResponse { } export interface ListDeploymentJobsRequest { - /** - *

                      When this parameter is used, ListDeploymentJobs only returns - * maxResults results in a single page along with a nextToken response - * element. The remaining results of the initial request - * can be seen by sending another ListDeploymentJobs request with the returned - * nextToken value. - * This value can be between 1 and 200. If this parameter is not used, then ListDeploymentJobs - * returns up to 200 results and a nextToken value if applicable.

                      - */ - maxResults?: number; - /** *

                      Optional filters to limit results.

                      *

                      The filter names status and fleetName are supported. @@ -4248,6 +4261,17 @@ export interface ListDeploymentJobsRequest { *

                      */ nextToken?: string; + + /** + *

                      When this parameter is used, ListDeploymentJobs only returns + * maxResults results in a single page along with a nextToken response + * element. The remaining results of the initial request + * can be seen by sending another ListDeploymentJobs request with the returned + * nextToken value. + * This value can be between 1 and 200. If this parameter is not used, then ListDeploymentJobs + * returns up to 200 results and a nextToken value if applicable.

                      + */ + maxResults?: number; } export namespace ListDeploymentJobsRequest { @@ -4257,6 +4281,11 @@ export namespace ListDeploymentJobsRequest { } export interface ListDeploymentJobsResponse { + /** + *

                      A list of deployment jobs that meet the criteria of the request.

                      + */ + deploymentJobs?: DeploymentJob[]; + /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -4266,11 +4295,6 @@ export interface ListDeploymentJobsResponse { *

                      */ nextToken?: string; - - /** - *

                      A list of deployment jobs that meet the criteria of the request.

                      - */ - deploymentJobs?: DeploymentJob[]; } export namespace ListDeploymentJobsResponse { @@ -4343,6 +4367,11 @@ export namespace ListFleetsResponse { } export interface ListRobotApplicationsRequest { + /** + *

                      The version qualifier of the robot application.

                      + */ + versionQualifier?: string; + /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -4353,13 +4382,6 @@ export interface ListRobotApplicationsRequest { */ nextToken?: string; - /** - *

                      Optional filters to limit results.

                      - *

                      The filter name name is supported. - * When filtering, you must use the complete value of the filtered item. You can use up to three filters.

                      - */ - filters?: Filter[]; - /** *

                      When this parameter is used, ListRobotApplications only returns * maxResults results in a single page along with a nextToken response @@ -4372,9 +4394,11 @@ export interface ListRobotApplicationsRequest { maxResults?: number; /** - *

                      The version qualifier of the robot application.

                      + *

                      Optional filters to limit results.

                      + *

                      The filter name name is supported. + * When filtering, you must use the complete value of the filtered item. You can use up to three filters.

                      */ - versionQualifier?: string; + filters?: Filter[]; } export namespace ListRobotApplicationsRequest { @@ -4388,19 +4412,19 @@ export namespace ListRobotApplicationsRequest { */ export interface RobotApplicationSummary { /** - *

                      The Amazon Resource Name (ARN) of the robot.

                      + *

                      The name of the robot application.

                      */ - arn?: string; + name?: string; /** - *

                      Information about a robot software suite (ROS distribution).

                      + *

                      The Amazon Resource Name (ARN) of the robot.

                      */ - robotSoftwareSuite?: RobotSoftwareSuite; + arn?: string; /** - *

                      The name of the robot application.

                      + *

                      The version of the robot application.

                      */ - name?: string; + version?: string; /** *

                      The time, in milliseconds since the epoch, when the robot application was last updated.

                      @@ -4408,9 +4432,9 @@ export interface RobotApplicationSummary { lastUpdatedAt?: Date; /** - *

                      The version of the robot application.

                      + *

                      Information about a robot software suite (ROS distribution).

                      */ - version?: string; + robotSoftwareSuite?: RobotSoftwareSuite; } export namespace RobotApplicationSummary { @@ -4420,6 +4444,11 @@ export namespace RobotApplicationSummary { } export interface ListRobotApplicationsResponse { + /** + *

                      A list of robot application summaries that meet the criteria of the request.

                      + */ + robotApplicationSummaries?: RobotApplicationSummary[]; + /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -4429,11 +4458,6 @@ export interface ListRobotApplicationsResponse { *

                      */ nextToken?: string; - - /** - *

                      A list of robot application summaries that meet the criteria of the request.

                      - */ - robotApplicationSummaries?: RobotApplicationSummary[]; } export namespace ListRobotApplicationsResponse { @@ -4443,17 +4467,6 @@ export namespace ListRobotApplicationsResponse { } export interface ListRobotsRequest { - /** - *

                      When this parameter is used, ListRobots only returns - * maxResults results in a single page along with a nextToken response - * element. The remaining results of the initial request - * can be seen by sending another ListRobots request with the returned - * nextToken value. - * This value can be between 1 and 200. If this parameter is not used, then ListRobots - * returns up to 200 results and a nextToken value if applicable.

                      - */ - maxResults?: number; - /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -4462,7 +4475,18 @@ export interface ListRobotsRequest { * the previous response object's NextToken parameter is set to null. *

                      */ - nextToken?: string; + nextToken?: string; + + /** + *

                      When this parameter is used, ListRobots only returns + * maxResults results in a single page along with a nextToken response + * element. The remaining results of the initial request + * can be seen by sending another ListRobots request with the returned + * nextToken value. + * This value can be between 1 and 200. If this parameter is not used, then ListRobots + * returns up to 200 results and a nextToken value if applicable.

                      + */ + maxResults?: number; /** *

                      Optional filters to limit results.

                      @@ -4481,6 +4505,11 @@ export namespace ListRobotsRequest { } export interface ListRobotsResponse { + /** + *

                      A list of robots that meet the criteria of the request.

                      + */ + robots?: Robot[]; + /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -4490,11 +4519,6 @@ export interface ListRobotsResponse { *

                      */ nextToken?: string; - - /** - *

                      A list of robots that meet the criteria of the request.

                      - */ - robots?: Robot[]; } export namespace ListRobotsResponse { @@ -4504,13 +4528,6 @@ export namespace ListRobotsResponse { } export interface ListSimulationApplicationsRequest { - /** - *

                      Optional list of filters to limit results.

                      - *

                      The filter name name is supported. When filtering, you must use the complete - * value of the filtered item. You can use up to three filters.

                      - */ - filters?: Filter[]; - /** *

                      The version qualifier of the simulation application.

                      */ @@ -4536,6 +4553,13 @@ export interface ListSimulationApplicationsRequest { * returns up to 100 results and a nextToken value if applicable.

                      */ maxResults?: number; + + /** + *

                      Optional list of filters to limit results.

                      + *

                      The filter name name is supported. When filtering, you must use the complete + * value of the filtered item. You can use up to three filters.

                      + */ + filters?: Filter[]; } export namespace ListSimulationApplicationsRequest { @@ -4549,19 +4573,19 @@ export namespace ListSimulationApplicationsRequest { */ export interface SimulationApplicationSummary { /** - *

                      The version of the simulation application.

                      + *

                      The name of the simulation application.

                      */ - version?: string; + name?: string; /** - *

                      Information about a simulation software suite.

                      + *

                      The Amazon Resource Name (ARN) of the simulation application.

                      */ - simulationSoftwareSuite?: SimulationSoftwareSuite; + arn?: string; /** - *

                      The Amazon Resource Name (ARN) of the simulation application.

                      + *

                      The version of the simulation application.

                      */ - arn?: string; + version?: string; /** *

                      The time, in milliseconds since the epoch, when the simulation application was last updated.

                      @@ -4574,9 +4598,9 @@ export interface SimulationApplicationSummary { robotSoftwareSuite?: RobotSoftwareSuite; /** - *

                      The name of the simulation application.

                      + *

                      Information about a simulation software suite.

                      */ - name?: string; + simulationSoftwareSuite?: SimulationSoftwareSuite; } export namespace SimulationApplicationSummary { @@ -4586,6 +4610,11 @@ export namespace SimulationApplicationSummary { } export interface ListSimulationApplicationsResponse { + /** + *

                      A list of simulation application summaries that meet the criteria of the request.

                      + */ + simulationApplicationSummaries?: SimulationApplicationSummary[]; + /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -4595,11 +4624,6 @@ export interface ListSimulationApplicationsResponse { *

                      */ nextToken?: string; - - /** - *

                      A list of simulation application summaries that meet the criteria of the request.

                      - */ - simulationApplicationSummaries?: SimulationApplicationSummary[]; } export namespace ListSimulationApplicationsResponse { @@ -4619,11 +4643,6 @@ export interface ListSimulationJobBatchesRequest { */ nextToken?: string; - /** - *

                      Optional filters to limit results.

                      - */ - filters?: Filter[]; - /** *

                      When this parameter is used, ListSimulationJobBatches only returns * maxResults results in a single page along with a nextToken response @@ -4633,6 +4652,11 @@ export interface ListSimulationJobBatchesRequest { *

                      */ maxResults?: number; + + /** + *

                      Optional filters to limit results.

                      + */ + filters?: Filter[]; } export namespace ListSimulationJobBatchesRequest { @@ -4645,20 +4669,15 @@ export namespace ListSimulationJobBatchesRequest { *

                      Information about a simulation job batch.

                      */ export interface SimulationJobBatchSummary { - /** - *

                      The time, in milliseconds since the epoch, when the simulation job batch was last updated.

                      - */ - lastUpdatedAt?: Date; - /** *

                      The Amazon Resource Name (ARN) of the batch.

                      */ arn?: string; /** - *

                      The number of created simulation job requests.

                      + *

                      The time, in milliseconds since the epoch, when the simulation job batch was last updated.

                      */ - createdRequestCount?: number; + lastUpdatedAt?: Date; /** *

                      The time, in milliseconds since the epoch, when the simulation job batch was created.

                      @@ -4720,15 +4739,20 @@ export interface SimulationJobBatchSummary { */ status?: SimulationJobBatchStatus | string; + /** + *

                      The number of failed simulation job requests.

                      + */ + failedRequestCount?: number; + /** *

                      The number of pending simulation job requests.

                      */ pendingRequestCount?: number; /** - *

                      The number of failed simulation job requests.

                      + *

                      The number of created simulation job requests.

                      */ - failedRequestCount?: number; + createdRequestCount?: number; } export namespace SimulationJobBatchSummary { @@ -4738,6 +4762,11 @@ export namespace SimulationJobBatchSummary { } export interface ListSimulationJobBatchesResponse { + /** + *

                      A list of simulation job batch summaries.

                      + */ + simulationJobBatchSummaries?: SimulationJobBatchSummary[]; + /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -4747,11 +4776,6 @@ export interface ListSimulationJobBatchesResponse { *

                      */ nextToken?: string; - - /** - *

                      A list of simulation job batch summaries.

                      - */ - simulationJobBatchSummaries?: SimulationJobBatchSummary[]; } export namespace ListSimulationJobBatchesResponse { @@ -4762,14 +4786,14 @@ export namespace ListSimulationJobBatchesResponse { export interface ListSimulationJobsRequest { /** - *

                      Optional filters to limit results.

                      - *

                      The filter names status and simulationApplicationName - * and robotApplicationName are supported. - * When filtering, you must use the complete value of the filtered item. You can use up to three filters, - * but they must be for the same named item. For example, if you are looking for items with the status - * Preparing or the status Running.

                      + *

                      If the previous paginated request did not return all of the remaining results, + * the response object's nextToken parameter value is set to a token. To retrieve + * the next set of results, call ListSimulationJobs again and assign that token + * to the request object's nextToken parameter. If there are no remaining results, + * the previous response object's NextToken parameter is set to null. + *

                      */ - filters?: Filter[]; + nextToken?: string; /** *

                      When this parameter is used, ListSimulationJobs only returns @@ -4783,14 +4807,14 @@ export interface ListSimulationJobsRequest { maxResults?: number; /** - *

                      If the previous paginated request did not return all of the remaining results, - * the response object's nextToken parameter value is set to a token. To retrieve - * the next set of results, call ListSimulationJobs again and assign that token - * to the request object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null. - *

                      + *

                      Optional filters to limit results.

                      + *

                      The filter names status and simulationApplicationName + * and robotApplicationName are supported. + * When filtering, you must use the complete value of the filtered item. You can use up to three filters, + * but they must be for the same named item. For example, if you are looking for items with the status + * Preparing or the status Running.

                      */ - nextToken?: string; + filters?: Filter[]; } export namespace ListSimulationJobsRequest { @@ -4849,11 +4873,6 @@ export namespace ListTagsForResourceResponse { } export interface ListWorldExportJobsRequest { - /** - *

                      Optional filters to limit results. You can use generationJobId and templateId.

                      - */ - filters?: Filter[]; - /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -4875,6 +4894,11 @@ export interface ListWorldExportJobsRequest { *

                      */ maxResults?: number; + + /** + *

                      Optional filters to limit results. You can use generationJobId and templateId.

                      + */ + filters?: Filter[]; } export namespace ListWorldExportJobsRequest { @@ -4892,16 +4916,6 @@ export interface WorldExportJobSummary { */ arn?: string; - /** - *

                      The time, in milliseconds since the epoch, when the world export job was created.

                      - */ - createdAt?: Date; - - /** - *

                      A list of worlds.

                      - */ - worlds?: string[]; - /** *

                      The status of the world export job.

                      *
                      @@ -4934,6 +4948,16 @@ export interface WorldExportJobSummary { *
                      */ status?: WorldExportJobStatus | string; + + /** + *

                      The time, in milliseconds since the epoch, when the world export job was created.

                      + */ + createdAt?: Date; + + /** + *

                      A list of worlds.

                      + */ + worlds?: string[]; } export namespace WorldExportJobSummary { @@ -4943,6 +4967,11 @@ export namespace WorldExportJobSummary { } export interface ListWorldExportJobsResponse { + /** + *

                      Summary information for world export jobs.

                      + */ + worldExportJobSummaries: WorldExportJobSummary[] | undefined; + /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -4952,11 +4981,6 @@ export interface ListWorldExportJobsResponse { *

                      */ nextToken?: string; - - /** - *

                      Summary information for world export jobs.

                      - */ - worldExportJobSummaries: WorldExportJobSummary[] | undefined; } export namespace ListWorldExportJobsResponse { @@ -4966,6 +4990,16 @@ export namespace ListWorldExportJobsResponse { } export interface ListWorldGenerationJobsRequest { + /** + *

                      If the previous paginated request did not return all of the remaining results, + * the response object's nextToken parameter value is set to a token. To retrieve + * the next set of results, call ListWorldGenerationJobsRequest again and assign that token + * to the request object's nextToken parameter. If there are no remaining results, + * the previous response object's NextToken parameter is set to null. + *

                      + */ + nextToken?: string; + /** *

                      When this parameter is used, ListWorldGeneratorJobs only returns * maxResults results in a single page along with a nextToken response @@ -4982,16 +5016,6 @@ export interface ListWorldGenerationJobsRequest { *

                      Optional filters to limit results. You can use status and templateId.

                      */ filters?: Filter[]; - - /** - *

                      If the previous paginated request did not return all of the remaining results, - * the response object's nextToken parameter value is set to a token. To retrieve - * the next set of results, call ListWorldGenerationJobsRequest again and assign that token - * to the request object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null. - *

                      - */ - nextToken?: string; } export namespace ListWorldGenerationJobsRequest { @@ -5005,14 +5029,9 @@ export namespace ListWorldGenerationJobsRequest { */ export interface WorldGenerationJobSummary { /** - *

                      The number of worlds that were generated.

                      - */ - succeededWorldCount?: number; - - /** - *

                      The time, in milliseconds since the epoch, when the world generator job was created.

                      + *

                      The Amazon Resource Name (ARN) of the world generator job.

                      */ - createdAt?: Date; + arn?: string; /** *

                      The Amazon Resource Name (arn) of the world template.

                      @@ -5020,19 +5039,9 @@ export interface WorldGenerationJobSummary { template?: string; /** - *

                      The number of worlds that failed.

                      - */ - failedWorldCount?: number; - - /** - *

                      The Amazon Resource Name (ARN) of the world generator job.

                      - */ - arn?: string; - - /** - *

                      Information about the world count.

                      + *

                      The time, in milliseconds since the epoch, when the world generator job was created.

                      */ - worldCount?: WorldCount; + createdAt?: Date; /** *

                      The status of the world generator job:

                      @@ -5070,6 +5079,21 @@ export interface WorldGenerationJobSummary { *
                      */ status?: WorldGenerationJobStatus | string; + + /** + *

                      Information about the world count.

                      + */ + worldCount?: WorldCount; + + /** + *

                      The number of worlds that were generated.

                      + */ + succeededWorldCount?: number; + + /** + *

                      The number of worlds that failed.

                      + */ + failedWorldCount?: number; } export namespace WorldGenerationJobSummary { @@ -5079,6 +5103,11 @@ export namespace WorldGenerationJobSummary { } export interface ListWorldGenerationJobsResponse { + /** + *

                      Summary information for world generator jobs.

                      + */ + worldGenerationJobSummaries: WorldGenerationJobSummary[] | undefined; + /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -5088,11 +5117,6 @@ export interface ListWorldGenerationJobsResponse { *

                      */ nextToken?: string; - - /** - *

                      Summary information for world generator jobs.

                      - */ - worldGenerationJobSummaries: WorldGenerationJobSummary[] | undefined; } export namespace ListWorldGenerationJobsResponse { @@ -5102,6 +5126,16 @@ export namespace ListWorldGenerationJobsResponse { } export interface ListWorldsRequest { + /** + *

                      If the previous paginated request did not return all of the remaining results, + * the response object's nextToken parameter value is set to a token. To retrieve + * the next set of results, call ListWorlds again and assign that token + * to the request object's nextToken parameter. If there are no remaining results, + * the previous response object's NextToken parameter is set to null. + *

                      + */ + nextToken?: string; + /** *

                      When this parameter is used, ListWorlds only returns * maxResults results in a single page along with a nextToken response @@ -5114,16 +5148,6 @@ export interface ListWorldsRequest { */ maxResults?: number; - /** - *

                      If the previous paginated request did not return all of the remaining results, - * the response object's nextToken parameter value is set to a token. To retrieve - * the next set of results, call ListWorlds again and assign that token - * to the request object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null. - *

                      - */ - nextToken?: string; - /** *

                      Optional filters to limit results. You can use status.

                      */ @@ -5141,9 +5165,9 @@ export namespace ListWorldsRequest { */ export interface WorldSummary { /** - *

                      The Amazon Resource Name (arn) of the world template.

                      + *

                      The Amazon Resource Name (ARN) of the world.

                      */ - template?: string; + arn?: string; /** *

                      The time, in milliseconds since the epoch, when the world was created.

                      @@ -5156,9 +5180,9 @@ export interface WorldSummary { generationJob?: string; /** - *

                      The Amazon Resource Name (ARN) of the world.

                      + *

                      The Amazon Resource Name (arn) of the world template.

                      */ - arn?: string; + template?: string; } export namespace WorldSummary { @@ -5168,6 +5192,11 @@ export namespace WorldSummary { } export interface ListWorldsResponse { + /** + *

                      Summary information for worlds.

                      + */ + worldSummaries?: WorldSummary[]; + /** *

                      If the previous paginated request did not return all of the remaining results, * the response object's nextToken parameter value is set to a token. To retrieve @@ -5177,11 +5206,6 @@ export interface ListWorldsResponse { *

                      */ nextToken?: string; - - /** - *

                      Summary information for worlds.

                      - */ - worldSummaries?: WorldSummary[]; } export namespace ListWorldsResponse { @@ -5225,24 +5249,24 @@ export namespace ListWorldTemplatesRequest { */ export interface TemplateSummary { /** - *

                      The time, in milliseconds since the epoch, when the template was last updated.

                      + *

                      The Amazon Resource Name (ARN) of the template.

                      */ - lastUpdatedAt?: Date; + arn?: string; /** - *

                      The Amazon Resource Name (ARN) of the template.

                      + *

                      The time, in milliseconds since the epoch, when the template was created.

                      */ - arn?: string; + createdAt?: Date; /** - *

                      The name of the template.

                      + *

                      The time, in milliseconds since the epoch, when the template was last updated.

                      */ - name?: string; + lastUpdatedAt?: Date; /** - *

                      The time, in milliseconds since the epoch, when the template was created.

                      + *

                      The name of the template.

                      */ - createdAt?: Date; + name?: string; } export namespace TemplateSummary { @@ -5276,14 +5300,14 @@ export namespace ListWorldTemplatesResponse { export interface RegisterRobotRequest { /** - *

                      The Amazon Resource Name (ARN) of the robot.

                      + *

                      The Amazon Resource Name (ARN) of the fleet.

                      */ - robot: string | undefined; + fleet: string | undefined; /** - *

                      The Amazon Resource Name (ARN) of the fleet.

                      + *

                      The Amazon Resource Name (ARN) of the robot.

                      */ - fleet: string | undefined; + robot: string | undefined; } export namespace RegisterRobotRequest { @@ -5338,14 +5362,14 @@ export interface StartSimulationJobBatchRequest { clientRequestToken?: string; /** - *

                      A list of simulation job requests to create in the batch.

                      + *

                      The batch policy.

                      */ - createSimulationJobRequests: SimulationJobRequest[] | undefined; + batchPolicy?: BatchPolicy; /** - *

                      The batch policy.

                      + *

                      A list of simulation job requests to create in the batch.

                      */ - batchPolicy?: BatchPolicy; + createSimulationJobRequests: SimulationJobRequest[] | undefined; /** *

                      A map that contains tag keys and tag values that are attached to the deployment job batch.

                      @@ -5361,27 +5385,9 @@ export namespace StartSimulationJobBatchRequest { export interface StartSimulationJobBatchResponse { /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      - */ - clientRequestToken?: string; - - /** - *

                      The failure code if the simulation job batch failed.

                      - */ - failureCode?: SimulationJobBatchErrorCode | string; - - /** - *

                      A list of failed simulation job requests. The request failed to - * be created into a simulation job. Failed requests do not - * have a simulation job ID. - *

                      - */ - failedRequests?: FailedCreateSimulationJobRequest[]; - - /** - *

                      A map that contains tag keys and tag values that are attached to the deployment job batch.

                      + *

                      The Amazon Resource Name (arn) of the batch.

                      */ - tags?: { [key: string]: string }; + arn?: string; /** *

                      The status of the simulation job batch.

                      @@ -5439,15 +5445,38 @@ export interface StartSimulationJobBatchResponse { status?: SimulationJobBatchStatus | string; /** - *

                      The Amazon Resource Name (arn) of the batch.

                      + *

                      The time, in milliseconds since the epoch, when the simulation job batch was created.

                      */ - arn?: string; + createdAt?: Date; + + /** + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + */ + clientRequestToken?: string; /** *

                      The batch policy.

                      */ batchPolicy?: BatchPolicy; + /** + *

                      The failure code if the simulation job batch failed.

                      + */ + failureCode?: SimulationJobBatchErrorCode | string; + + /** + *

                      The reason the simulation job batch failed.

                      + */ + failureReason?: string; + + /** + *

                      A list of failed simulation job requests. The request failed to + * be created into a simulation job. Failed requests do not + * have a simulation job ID. + *

                      + */ + failedRequests?: FailedCreateSimulationJobRequest[]; + /** *

                      A list of pending simulation job requests. These requests have * not yet been created into simulation jobs.

                      @@ -5460,14 +5489,9 @@ export interface StartSimulationJobBatchResponse { createdRequests?: SimulationJobSummary[]; /** - *

                      The time, in milliseconds since the epoch, when the simulation job batch was created.

                      - */ - createdAt?: Date; - - /** - *

                      The reason the simulation job batch failed.

                      + *

                      A map that contains tag keys and tag values that are attached to the deployment job batch.

                      */ - failureReason?: string; + tags?: { [key: string]: string }; } export namespace StartSimulationJobBatchResponse { @@ -5478,14 +5502,14 @@ export namespace StartSimulationJobBatchResponse { export interface SyncDeploymentJobRequest { /** - *

                      The target fleet for the synchronization.

                      + *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      */ - fleet: string | undefined; + clientRequestToken?: string; /** - *

                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

                      + *

                      The target fleet for the synchronization.

                      */ - clientRequestToken?: string; + fleet: string | undefined; } export namespace SyncDeploymentJobRequest { @@ -5496,19 +5520,14 @@ export namespace SyncDeploymentJobRequest { export interface SyncDeploymentJobResponse { /** - *

                      Information about the deployment application configurations.

                      - */ - deploymentApplicationConfigs?: DeploymentApplicationConfig[]; - - /** - *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      + *

                      The Amazon Resource Name (ARN) of the synchronization request.

                      */ - createdAt?: Date; + arn?: string; /** - *

                      Information about the deployment configuration.

                      + *

                      The Amazon Resource Name (ARN) of the fleet.

                      */ - deploymentConfig?: DeploymentConfig; + fleet?: string; /** *

                      The status of the synchronization job.

                      @@ -5516,19 +5535,19 @@ export interface SyncDeploymentJobResponse { status?: DeploymentStatus | string; /** - *

                      The failure reason if the job fails.

                      + *

                      Information about the deployment configuration.

                      */ - failureReason?: string; + deploymentConfig?: DeploymentConfig; /** - *

                      The Amazon Resource Name (ARN) of the synchronization request.

                      + *

                      Information about the deployment application configurations.

                      */ - arn?: string; + deploymentApplicationConfigs?: DeploymentApplicationConfig[]; /** - *

                      The Amazon Resource Name (ARN) of the fleet.

                      + *

                      The failure reason if the job fails.

                      */ - fleet?: string; + failureReason?: string; /** *

                      The failure code if the job fails:

                      @@ -5592,6 +5611,11 @@ export interface SyncDeploymentJobResponse { *
                      */ failureCode?: DeploymentJobErrorCode | string; + + /** + *

                      The time, in milliseconds since the epoch, when the fleet was created.

                      + */ + createdAt?: Date; } export namespace SyncDeploymentJobResponse { @@ -5628,14 +5652,14 @@ export namespace TagResourceResponse { export interface UntagResourceRequest { /** - *

                      A map that contains tag keys and tag values that will be unattached from the resource.

                      + *

                      The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are removing tags.

                      */ - tagKeys: string[] | undefined; + resourceArn: string | undefined; /** - *

                      The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are removing tags.

                      + *

                      A map that contains tag keys and tag values that will be unattached from the resource.

                      */ - resourceArn: string | undefined; + tagKeys: string[] | undefined; } export namespace UntagResourceRequest { @@ -5659,9 +5683,9 @@ export interface UpdateRobotApplicationRequest { application: string | undefined; /** - *

                      The revision id for the robot application.

                      + *

                      The sources of the robot application.

                      */ - currentRevisionId?: string; + sources: SourceConfig[] | undefined; /** *

                      The robot software suite (ROS distribution) used by the robot application.

                      @@ -5669,9 +5693,9 @@ export interface UpdateRobotApplicationRequest { robotSoftwareSuite: RobotSoftwareSuite | undefined; /** - *

                      The sources of the robot application.

                      + *

                      The revision id for the robot application.

                      */ - sources: SourceConfig[] | undefined; + currentRevisionId?: string; } export namespace UpdateRobotApplicationRequest { @@ -5682,29 +5706,29 @@ export namespace UpdateRobotApplicationRequest { export interface UpdateRobotApplicationResponse { /** - *

                      The version of the robot application.

                      + *

                      The Amazon Resource Name (ARN) of the updated robot application.

                      */ - version?: string; + arn?: string; /** - *

                      The robot software suite (ROS distribution) used by the robot application.

                      + *

                      The name of the robot application.

                      */ - robotSoftwareSuite?: RobotSoftwareSuite; + name?: string; /** - *

                      The revision id of the robot application.

                      + *

                      The version of the robot application.

                      */ - revisionId?: string; + version?: string; /** - *

                      The Amazon Resource Name (ARN) of the updated robot application.

                      + *

                      The sources of the robot application.

                      */ - arn?: string; + sources?: Source[]; /** - *

                      The name of the robot application.

                      + *

                      The robot software suite (ROS distribution) used by the robot application.

                      */ - name?: string; + robotSoftwareSuite?: RobotSoftwareSuite; /** *

                      The time, in milliseconds since the epoch, when the robot application was last updated.

                      @@ -5712,9 +5736,9 @@ export interface UpdateRobotApplicationResponse { lastUpdatedAt?: Date; /** - *

                      The sources of the robot application.

                      + *

                      The revision id of the robot application.

                      */ - sources?: Source[]; + revisionId?: string; } export namespace UpdateRobotApplicationResponse { @@ -5725,34 +5749,34 @@ export namespace UpdateRobotApplicationResponse { export interface UpdateSimulationApplicationRequest { /** - *

                      The simulation software suite used by the simulation application.

                      + *

                      The application information for the simulation application.

                      */ - simulationSoftwareSuite: SimulationSoftwareSuite | undefined; + application: string | undefined; /** - *

                      Information about the robot software suite (ROS distribution).

                      + *

                      The sources of the simulation application.

                      */ - robotSoftwareSuite: RobotSoftwareSuite | undefined; + sources: SourceConfig[] | undefined; /** - *

                      The revision id for the robot application.

                      + *

                      The simulation software suite used by the simulation application.

                      */ - currentRevisionId?: string; + simulationSoftwareSuite: SimulationSoftwareSuite | undefined; /** - *

                      The application information for the simulation application.

                      + *

                      Information about the robot software suite (ROS distribution).

                      */ - application: string | undefined; + robotSoftwareSuite: RobotSoftwareSuite | undefined; /** - *

                      The sources of the simulation application.

                      + *

                      The rendering engine for the simulation application.

                      */ - sources: SourceConfig[] | undefined; + renderingEngine?: RenderingEngine; /** - *

                      The rendering engine for the simulation application.

                      + *

                      The revision id for the robot application.

                      */ - renderingEngine?: RenderingEngine; + currentRevisionId?: string; } export namespace UpdateSimulationApplicationRequest { @@ -5762,15 +5786,20 @@ export namespace UpdateSimulationApplicationRequest { } export interface UpdateSimulationApplicationResponse { + /** + *

                      The Amazon Resource Name (ARN) of the updated simulation application.

                      + */ + arn?: string; + /** *

                      The name of the simulation application.

                      */ name?: string; /** - *

                      The rendering engine for the simulation application.

                      + *

                      The version of the robot application.

                      */ - renderingEngine?: RenderingEngine; + version?: string; /** *

                      The sources of the simulation application.

                      @@ -5783,29 +5812,24 @@ export interface UpdateSimulationApplicationResponse { simulationSoftwareSuite?: SimulationSoftwareSuite; /** - *

                      The time, in milliseconds since the epoch, when the simulation application was last updated.

                      - */ - lastUpdatedAt?: Date; - - /** - *

                      The revision id of the simulation application.

                      + *

                      Information about the robot software suite (ROS distribution).

                      */ - revisionId?: string; + robotSoftwareSuite?: RobotSoftwareSuite; /** - *

                      The version of the robot application.

                      + *

                      The rendering engine for the simulation application.

                      */ - version?: string; + renderingEngine?: RenderingEngine; /** - *

                      The Amazon Resource Name (ARN) of the updated simulation application.

                      + *

                      The time, in milliseconds since the epoch, when the simulation application was last updated.

                      */ - arn?: string; + lastUpdatedAt?: Date; /** - *

                      Information about the robot software suite (ROS distribution).

                      + *

                      The revision id of the simulation application.

                      */ - robotSoftwareSuite?: RobotSoftwareSuite; + revisionId?: string; } export namespace UpdateSimulationApplicationResponse { @@ -5820,6 +5844,11 @@ export interface UpdateWorldTemplateRequest { */ template: string | undefined; + /** + *

                      The name of the template.

                      + */ + name?: string; + /** *

                      The world template body.

                      */ @@ -5829,11 +5858,6 @@ export interface UpdateWorldTemplateRequest { *

                      The location of the world template.

                      */ templateLocation?: TemplateLocation; - - /** - *

                      The name of the template.

                      - */ - name?: string; } export namespace UpdateWorldTemplateRequest { @@ -5844,9 +5868,9 @@ export namespace UpdateWorldTemplateRequest { export interface UpdateWorldTemplateResponse { /** - *

                      The time, in milliseconds since the epoch, when the world template was created.

                      + *

                      The Amazon Resource Name (arn) of the world template.

                      */ - createdAt?: Date; + arn?: string; /** *

                      The name of the world template.

                      @@ -5854,14 +5878,14 @@ export interface UpdateWorldTemplateResponse { name?: string; /** - *

                      The time, in milliseconds since the epoch, when the world template was last updated.

                      + *

                      The time, in milliseconds since the epoch, when the world template was created.

                      */ - lastUpdatedAt?: Date; + createdAt?: Date; /** - *

                      The Amazon Resource Name (arn) of the world template.

                      + *

                      The time, in milliseconds since the epoch, when the world template was last updated.

                      */ - arn?: string; + lastUpdatedAt?: Date; } export namespace UpdateWorldTemplateResponse { diff --git a/clients/client-robomaker/protocols/Aws_restJson1.ts b/clients/client-robomaker/protocols/Aws_restJson1.ts index 59193f20ef37..89648bc4dda4 100644 --- a/clients/client-robomaker/protocols/Aws_restJson1.ts +++ b/clients/client-robomaker/protocols/Aws_restJson1.ts @@ -699,6 +699,7 @@ export const serializeAws_restJson1CreateWorldGenerationJobCommand = async ( ...(input.tags !== undefined && { tags: serializeAws_restJson1TagMap(input.tags, context) }), ...(input.template !== undefined && { template: input.template }), ...(input.worldCount !== undefined && { worldCount: serializeAws_restJson1WorldCount(input.worldCount, context) }), + ...(input.worldTags !== undefined && { worldTags: serializeAws_restJson1TagMap(input.worldTags, context) }), }); const { hostname, protocol = "https", port } = await context.endpoint(); return new __HttpRequest({ @@ -3434,6 +3435,7 @@ export const deserializeAws_restJson1CreateWorldGenerationJobCommand = async ( tags: undefined, template: undefined, worldCount: undefined, + worldTags: undefined, }; const data: any = await parseBody(output.body, context); if (data.arn !== undefined && data.arn !== null) { @@ -3460,6 +3462,9 @@ export const deserializeAws_restJson1CreateWorldGenerationJobCommand = async ( if (data.worldCount !== undefined && data.worldCount !== null) { contents.worldCount = deserializeAws_restJson1WorldCount(data.worldCount, context); } + if (data.worldTags !== undefined && data.worldTags !== null) { + contents.worldTags = deserializeAws_restJson1TagMap(data.worldTags, context); + } return Promise.resolve(contents); }; @@ -5159,6 +5164,7 @@ export const deserializeAws_restJson1DescribeWorldGenerationJobCommand = async ( tags: undefined, template: undefined, worldCount: undefined, + worldTags: undefined, }; const data: any = await parseBody(output.body, context); if (data.arn !== undefined && data.arn !== null) { @@ -5191,6 +5197,9 @@ export const deserializeAws_restJson1DescribeWorldGenerationJobCommand = async ( if (data.worldCount !== undefined && data.worldCount !== null) { contents.worldCount = deserializeAws_restJson1WorldCount(data.worldCount, context); } + if (data.worldTags !== undefined && data.worldTags !== null) { + contents.worldTags = deserializeAws_restJson1TagMap(data.worldTags, context); + } return Promise.resolve(contents); }; diff --git a/clients/client-service-catalog-appregistry/.gitignore b/clients/client-service-catalog-appregistry/.gitignore new file mode 100644 index 000000000000..b41c05b597c4 --- /dev/null +++ b/clients/client-service-catalog-appregistry/.gitignore @@ -0,0 +1,14 @@ +/node_modules/ +/build/ +/coverage/ +/docs/ +/types/ +/dist/ +*.tsbuildinfo +*.tgz +*.log +package-lock.json + +*.d.ts +*.js +*.js.map diff --git a/clients/client-service-catalog-appregistry/.npmignore b/clients/client-service-catalog-appregistry/.npmignore new file mode 100644 index 000000000000..b7ff81137c4a --- /dev/null +++ b/clients/client-service-catalog-appregistry/.npmignore @@ -0,0 +1,4 @@ +/coverage/ +/docs/ +tsconfig.test.json +*.tsbuildinfo diff --git a/clients/client-service-catalog-appregistry/LICENSE b/clients/client-service-catalog-appregistry/LICENSE new file mode 100644 index 000000000000..dd65ae06be7a --- /dev/null +++ b/clients/client-service-catalog-appregistry/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/clients/client-service-catalog-appregistry/README.md b/clients/client-service-catalog-appregistry/README.md new file mode 100644 index 000000000000..f7c1c0fd46a3 --- /dev/null +++ b/clients/client-service-catalog-appregistry/README.md @@ -0,0 +1,6 @@ +# @aws-sdk/client-service-catalog-appregistry + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-service-catalog-appregistry/rc.svg)](https://www.npmjs.com/package/@aws-sdk/client-service-catalog-appregistry) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-service-catalog-appregistry.svg)](https://www.npmjs.com/package/@aws-sdk/client-service-catalog-appregistry) + +For SDK usage, please step to [SDK readme](https://github.com/aws/aws-sdk-js-v3). diff --git a/clients/client-service-catalog-appregistry/ServiceCatalogAppRegistry.ts b/clients/client-service-catalog-appregistry/ServiceCatalogAppRegistry.ts new file mode 100644 index 000000000000..f8b843b34019 --- /dev/null +++ b/clients/client-service-catalog-appregistry/ServiceCatalogAppRegistry.ts @@ -0,0 +1,599 @@ +import { ServiceCatalogAppRegistryClient } from "./ServiceCatalogAppRegistryClient"; +import { + AssociateAttributeGroupCommand, + AssociateAttributeGroupCommandInput, + AssociateAttributeGroupCommandOutput, +} from "./commands/AssociateAttributeGroupCommand"; +import { + AssociateResourceCommand, + AssociateResourceCommandInput, + AssociateResourceCommandOutput, +} from "./commands/AssociateResourceCommand"; +import { + CreateApplicationCommand, + CreateApplicationCommandInput, + CreateApplicationCommandOutput, +} from "./commands/CreateApplicationCommand"; +import { + CreateAttributeGroupCommand, + CreateAttributeGroupCommandInput, + CreateAttributeGroupCommandOutput, +} from "./commands/CreateAttributeGroupCommand"; +import { + DeleteApplicationCommand, + DeleteApplicationCommandInput, + DeleteApplicationCommandOutput, +} from "./commands/DeleteApplicationCommand"; +import { + DeleteAttributeGroupCommand, + DeleteAttributeGroupCommandInput, + DeleteAttributeGroupCommandOutput, +} from "./commands/DeleteAttributeGroupCommand"; +import { + DisassociateAttributeGroupCommand, + DisassociateAttributeGroupCommandInput, + DisassociateAttributeGroupCommandOutput, +} from "./commands/DisassociateAttributeGroupCommand"; +import { + DisassociateResourceCommand, + DisassociateResourceCommandInput, + DisassociateResourceCommandOutput, +} from "./commands/DisassociateResourceCommand"; +import { + GetApplicationCommand, + GetApplicationCommandInput, + GetApplicationCommandOutput, +} from "./commands/GetApplicationCommand"; +import { + GetAttributeGroupCommand, + GetAttributeGroupCommandInput, + GetAttributeGroupCommandOutput, +} from "./commands/GetAttributeGroupCommand"; +import { + ListApplicationsCommand, + ListApplicationsCommandInput, + ListApplicationsCommandOutput, +} from "./commands/ListApplicationsCommand"; +import { + ListAssociatedAttributeGroupsCommand, + ListAssociatedAttributeGroupsCommandInput, + ListAssociatedAttributeGroupsCommandOutput, +} from "./commands/ListAssociatedAttributeGroupsCommand"; +import { + ListAssociatedResourcesCommand, + ListAssociatedResourcesCommandInput, + ListAssociatedResourcesCommandOutput, +} from "./commands/ListAssociatedResourcesCommand"; +import { + ListAttributeGroupsCommand, + ListAttributeGroupsCommandInput, + ListAttributeGroupsCommandOutput, +} from "./commands/ListAttributeGroupsCommand"; +import { + UpdateApplicationCommand, + UpdateApplicationCommandInput, + UpdateApplicationCommandOutput, +} from "./commands/UpdateApplicationCommand"; +import { + UpdateAttributeGroupCommand, + UpdateAttributeGroupCommandInput, + UpdateAttributeGroupCommandOutput, +} from "./commands/UpdateAttributeGroupCommand"; +import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; + +/** + *

                      AWS Service Catalog AppRegistry enables organizations to understand the application context of their AWS resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.

                      + */ +export class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistryClient { + /** + *

                      Associates an attribute group with an application to augment the application's metadata with the group's attributes. This way applications can be described with user-defined details which are machine-readable (e.g. for third-party integrations).

                      + */ + public associateAttributeGroup( + args: AssociateAttributeGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public associateAttributeGroup( + args: AssociateAttributeGroupCommandInput, + cb: (err: any, data?: AssociateAttributeGroupCommandOutput) => void + ): void; + public associateAttributeGroup( + args: AssociateAttributeGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AssociateAttributeGroupCommandOutput) => void + ): void; + public associateAttributeGroup( + args: AssociateAttributeGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateAttributeGroupCommandOutput) => void), + cb?: (err: any, data?: AssociateAttributeGroupCommandOutput) => void + ): Promise | void { + const command = new AssociateAttributeGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Associates a resource with an application. Both the resource and the application can be specified either by ID or name.

                      + */ + public associateResource( + args: AssociateResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public associateResource( + args: AssociateResourceCommandInput, + cb: (err: any, data?: AssociateResourceCommandOutput) => void + ): void; + public associateResource( + args: AssociateResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AssociateResourceCommandOutput) => void + ): void; + public associateResource( + args: AssociateResourceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateResourceCommandOutput) => void), + cb?: (err: any, data?: AssociateResourceCommandOutput) => void + ): Promise | void { + const command = new AssociateResourceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.

                      + */ + public createApplication( + args: CreateApplicationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createApplication( + args: CreateApplicationCommandInput, + cb: (err: any, data?: CreateApplicationCommandOutput) => void + ): void; + public createApplication( + args: CreateApplicationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateApplicationCommandOutput) => void + ): void; + public createApplication( + args: CreateApplicationCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApplicationCommandOutput) => void), + cb?: (err: any, data?: CreateApplicationCommandOutput) => void + ): Promise | void { + const command = new CreateApplicationCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Creates a new attribute group as a container for user-defined attributes. This approach enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools.

                      + */ + public createAttributeGroup( + args: CreateAttributeGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createAttributeGroup( + args: CreateAttributeGroupCommandInput, + cb: (err: any, data?: CreateAttributeGroupCommandOutput) => void + ): void; + public createAttributeGroup( + args: CreateAttributeGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateAttributeGroupCommandOutput) => void + ): void; + public createAttributeGroup( + args: CreateAttributeGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAttributeGroupCommandOutput) => void), + cb?: (err: any, data?: CreateAttributeGroupCommandOutput) => void + ): Promise | void { + const command = new CreateAttributeGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Delete an application, specified either by its application ID or name.

                      + */ + public deleteApplication( + args: DeleteApplicationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteApplication( + args: DeleteApplicationCommandInput, + cb: (err: any, data?: DeleteApplicationCommandOutput) => void + ): void; + public deleteApplication( + args: DeleteApplicationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteApplicationCommandOutput) => void + ): void; + public deleteApplication( + args: DeleteApplicationCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationCommandOutput) => void), + cb?: (err: any, data?: DeleteApplicationCommandOutput) => void + ): Promise | void { + const command = new DeleteApplicationCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Deletes an attribute group, specified either by its attribute group ID or name.

                      + */ + public deleteAttributeGroup( + args: DeleteAttributeGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteAttributeGroup( + args: DeleteAttributeGroupCommandInput, + cb: (err: any, data?: DeleteAttributeGroupCommandOutput) => void + ): void; + public deleteAttributeGroup( + args: DeleteAttributeGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteAttributeGroupCommandOutput) => void + ): void; + public deleteAttributeGroup( + args: DeleteAttributeGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAttributeGroupCommandOutput) => void), + cb?: (err: any, data?: DeleteAttributeGroupCommandOutput) => void + ): Promise | void { + const command = new DeleteAttributeGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Disassociates an attribute group from an application to remove the extra attributes contained in the attribute group from the application's metadata. This operation reverts AssociateAttributeGroup.

                      + */ + public disassociateAttributeGroup( + args: DisassociateAttributeGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public disassociateAttributeGroup( + args: DisassociateAttributeGroupCommandInput, + cb: (err: any, data?: DisassociateAttributeGroupCommandOutput) => void + ): void; + public disassociateAttributeGroup( + args: DisassociateAttributeGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DisassociateAttributeGroupCommandOutput) => void + ): void; + public disassociateAttributeGroup( + args: DisassociateAttributeGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateAttributeGroupCommandOutput) => void), + cb?: (err: any, data?: DisassociateAttributeGroupCommandOutput) => void + ): Promise | void { + const command = new DisassociateAttributeGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.

                      + */ + public disassociateResource( + args: DisassociateResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public disassociateResource( + args: DisassociateResourceCommandInput, + cb: (err: any, data?: DisassociateResourceCommandOutput) => void + ): void; + public disassociateResource( + args: DisassociateResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DisassociateResourceCommandOutput) => void + ): void; + public disassociateResource( + args: DisassociateResourceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateResourceCommandOutput) => void), + cb?: (err: any, data?: DisassociateResourceCommandOutput) => void + ): Promise | void { + const command = new DisassociateResourceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Retrieves metadata information about one of your applications. The application can be specified either by its unique ID or by its name (which is unique within one account in one region at a given point in time). Specify by ID in automated workflows if you want to make sure that the exact same application is returned or a ResourceNotFoundException is thrown, avoiding the ABA addressing problem.

                      + */ + public getApplication( + args: GetApplicationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getApplication( + args: GetApplicationCommandInput, + cb: (err: any, data?: GetApplicationCommandOutput) => void + ): void; + public getApplication( + args: GetApplicationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetApplicationCommandOutput) => void + ): void; + public getApplication( + args: GetApplicationCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetApplicationCommandOutput) => void), + cb?: (err: any, data?: GetApplicationCommandOutput) => void + ): Promise | void { + const command = new GetApplicationCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Retrieves an attribute group, either by its name or its ID.

                      + */ + public getAttributeGroup( + args: GetAttributeGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getAttributeGroup( + args: GetAttributeGroupCommandInput, + cb: (err: any, data?: GetAttributeGroupCommandOutput) => void + ): void; + public getAttributeGroup( + args: GetAttributeGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetAttributeGroupCommandOutput) => void + ): void; + public getAttributeGroup( + args: GetAttributeGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAttributeGroupCommandOutput) => void), + cb?: (err: any, data?: GetAttributeGroupCommandOutput) => void + ): Promise | void { + const command = new GetAttributeGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Retrieves a list of all of your applications. Results are paginated.

                      + */ + public listApplications( + args: ListApplicationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listApplications( + args: ListApplicationsCommandInput, + cb: (err: any, data?: ListApplicationsCommandOutput) => void + ): void; + public listApplications( + args: ListApplicationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListApplicationsCommandOutput) => void + ): void; + public listApplications( + args: ListApplicationsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationsCommandOutput) => void), + cb?: (err: any, data?: ListApplicationsCommandOutput) => void + ): Promise | void { + const command = new ListApplicationsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Lists all attribute groups that are associated with specified application. Results are paginated.

                      + */ + public listAssociatedAttributeGroups( + args: ListAssociatedAttributeGroupsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAssociatedAttributeGroups( + args: ListAssociatedAttributeGroupsCommandInput, + cb: (err: any, data?: ListAssociatedAttributeGroupsCommandOutput) => void + ): void; + public listAssociatedAttributeGroups( + args: ListAssociatedAttributeGroupsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAssociatedAttributeGroupsCommandOutput) => void + ): void; + public listAssociatedAttributeGroups( + args: ListAssociatedAttributeGroupsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAssociatedAttributeGroupsCommandOutput) => void), + cb?: (err: any, data?: ListAssociatedAttributeGroupsCommandOutput) => void + ): Promise | void { + const command = new ListAssociatedAttributeGroupsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Lists all resources that are associated with specified application. Results are paginated.

                      + */ + public listAssociatedResources( + args: ListAssociatedResourcesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAssociatedResources( + args: ListAssociatedResourcesCommandInput, + cb: (err: any, data?: ListAssociatedResourcesCommandOutput) => void + ): void; + public listAssociatedResources( + args: ListAssociatedResourcesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAssociatedResourcesCommandOutput) => void + ): void; + public listAssociatedResources( + args: ListAssociatedResourcesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAssociatedResourcesCommandOutput) => void), + cb?: (err: any, data?: ListAssociatedResourcesCommandOutput) => void + ): Promise | void { + const command = new ListAssociatedResourcesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Lists all attribute groups which you have access to. Results are paginated.

                      + */ + public listAttributeGroups( + args: ListAttributeGroupsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAttributeGroups( + args: ListAttributeGroupsCommandInput, + cb: (err: any, data?: ListAttributeGroupsCommandOutput) => void + ): void; + public listAttributeGroups( + args: ListAttributeGroupsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAttributeGroupsCommandOutput) => void + ): void; + public listAttributeGroups( + args: ListAttributeGroupsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAttributeGroupsCommandOutput) => void), + cb?: (err: any, data?: ListAttributeGroupsCommandOutput) => void + ): Promise | void { + const command = new ListAttributeGroupsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Updates an existing application with new attributes.

                      + */ + public updateApplication( + args: UpdateApplicationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateApplication( + args: UpdateApplicationCommandInput, + cb: (err: any, data?: UpdateApplicationCommandOutput) => void + ): void; + public updateApplication( + args: UpdateApplicationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateApplicationCommandOutput) => void + ): void; + public updateApplication( + args: UpdateApplicationCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApplicationCommandOutput) => void), + cb?: (err: any, data?: UpdateApplicationCommandOutput) => void + ): Promise | void { + const command = new UpdateApplicationCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                      Updates an existing attribute group with new details.

                      + */ + public updateAttributeGroup( + args: UpdateAttributeGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateAttributeGroup( + args: UpdateAttributeGroupCommandInput, + cb: (err: any, data?: UpdateAttributeGroupCommandOutput) => void + ): void; + public updateAttributeGroup( + args: UpdateAttributeGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateAttributeGroupCommandOutput) => void + ): void; + public updateAttributeGroup( + args: UpdateAttributeGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAttributeGroupCommandOutput) => void), + cb?: (err: any, data?: UpdateAttributeGroupCommandOutput) => void + ): Promise | void { + const command = new UpdateAttributeGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } +} diff --git a/clients/client-service-catalog-appregistry/ServiceCatalogAppRegistryClient.ts b/clients/client-service-catalog-appregistry/ServiceCatalogAppRegistryClient.ts new file mode 100644 index 000000000000..3918b08f4a8e --- /dev/null +++ b/clients/client-service-catalog-appregistry/ServiceCatalogAppRegistryClient.ts @@ -0,0 +1,276 @@ +import { + AssociateAttributeGroupCommandInput, + AssociateAttributeGroupCommandOutput, +} from "./commands/AssociateAttributeGroupCommand"; +import { AssociateResourceCommandInput, AssociateResourceCommandOutput } from "./commands/AssociateResourceCommand"; +import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand"; +import { + CreateAttributeGroupCommandInput, + CreateAttributeGroupCommandOutput, +} from "./commands/CreateAttributeGroupCommand"; +import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand"; +import { + DeleteAttributeGroupCommandInput, + DeleteAttributeGroupCommandOutput, +} from "./commands/DeleteAttributeGroupCommand"; +import { + DisassociateAttributeGroupCommandInput, + DisassociateAttributeGroupCommandOutput, +} from "./commands/DisassociateAttributeGroupCommand"; +import { + DisassociateResourceCommandInput, + DisassociateResourceCommandOutput, +} from "./commands/DisassociateResourceCommand"; +import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand"; +import { GetAttributeGroupCommandInput, GetAttributeGroupCommandOutput } from "./commands/GetAttributeGroupCommand"; +import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand"; +import { + ListAssociatedAttributeGroupsCommandInput, + ListAssociatedAttributeGroupsCommandOutput, +} from "./commands/ListAssociatedAttributeGroupsCommand"; +import { + ListAssociatedResourcesCommandInput, + ListAssociatedResourcesCommandOutput, +} from "./commands/ListAssociatedResourcesCommand"; +import { + ListAttributeGroupsCommandInput, + ListAttributeGroupsCommandOutput, +} from "./commands/ListAttributeGroupsCommand"; +import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand"; +import { + UpdateAttributeGroupCommandInput, + UpdateAttributeGroupCommandOutput, +} from "./commands/UpdateAttributeGroupCommand"; +import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig"; +import { + EndpointsInputConfig, + EndpointsResolvedConfig, + RegionInputConfig, + RegionResolvedConfig, + resolveEndpointsConfig, + resolveRegionConfig, +} from "@aws-sdk/config-resolver"; +import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length"; +import { + HostHeaderInputConfig, + HostHeaderResolvedConfig, + getHostHeaderPlugin, + resolveHostHeaderConfig, +} from "@aws-sdk/middleware-host-header"; +import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; +import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry"; +import { + AwsAuthInputConfig, + AwsAuthResolvedConfig, + getAwsAuthPlugin, + resolveAwsAuthConfig, +} from "@aws-sdk/middleware-signing"; +import { + UserAgentInputConfig, + UserAgentResolvedConfig, + getUserAgentPlugin, + resolveUserAgentConfig, +} from "@aws-sdk/middleware-user-agent"; +import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http"; +import { + Client as __Client, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, +} from "@aws-sdk/smithy-client"; +import { + RegionInfoProvider, + Credentials as __Credentials, + Decoder as __Decoder, + Encoder as __Encoder, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + StreamCollector as __StreamCollector, + UrlParser as __UrlParser, +} from "@aws-sdk/types"; + +export type ServiceInputTypes = + | AssociateAttributeGroupCommandInput + | AssociateResourceCommandInput + | CreateApplicationCommandInput + | CreateAttributeGroupCommandInput + | DeleteApplicationCommandInput + | DeleteAttributeGroupCommandInput + | DisassociateAttributeGroupCommandInput + | DisassociateResourceCommandInput + | GetApplicationCommandInput + | GetAttributeGroupCommandInput + | ListApplicationsCommandInput + | ListAssociatedAttributeGroupsCommandInput + | ListAssociatedResourcesCommandInput + | ListAttributeGroupsCommandInput + | UpdateApplicationCommandInput + | UpdateAttributeGroupCommandInput; + +export type ServiceOutputTypes = + | AssociateAttributeGroupCommandOutput + | AssociateResourceCommandOutput + | CreateApplicationCommandOutput + | CreateAttributeGroupCommandOutput + | DeleteApplicationCommandOutput + | DeleteAttributeGroupCommandOutput + | DisassociateAttributeGroupCommandOutput + | DisassociateResourceCommandOutput + | GetApplicationCommandOutput + | GetAttributeGroupCommandOutput + | ListApplicationsCommandOutput + | ListAssociatedAttributeGroupsCommandOutput + | ListAssociatedResourcesCommandOutput + | ListAttributeGroupsCommandOutput + | UpdateApplicationCommandOutput + | UpdateAttributeGroupCommandOutput; + +export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandler; + + /** + * A constructor for a class implementing the @aws-sdk/types.Hash interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + */ + sha256?: __HashConstructor; + + /** + * The function that will be used to convert strings into HTTP endpoints. + */ + urlParser?: __UrlParser; + + /** + * A function that can calculate the length of a request body. + */ + bodyLengthChecker?: (body: any) => number | undefined; + + /** + * A function that converts a stream into an array of bytes. + */ + streamCollector?: __StreamCollector; + + /** + * The function that will be used to convert a base64-encoded string to a byte array + */ + base64Decoder?: __Decoder; + + /** + * The function that will be used to convert binary data to a base64-encoded string + */ + base64Encoder?: __Encoder; + + /** + * The function that will be used to convert a UTF8-encoded string to a byte array + */ + utf8Decoder?: __Decoder; + + /** + * The function that will be used to convert binary data to a UTF-8 encoded string + */ + utf8Encoder?: __Encoder; + + /** + * The string that will be used to populate default value in 'User-Agent' header + */ + defaultUserAgent?: string; + + /** + * The runtime environment + */ + runtime?: string; + + /** + * Disable dyanamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + + /** + * The service name with which to sign requests. + */ + signingName?: string; + + /** + * Default credentials provider; Not available in browser runtime + */ + credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; + + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + + /** + * Fetch related hostname, signing name or signing region with given region. + */ + regionInfoProvider?: RegionInfoProvider; +} + +export type ServiceCatalogAppRegistryClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & + ClientDefaults & + RegionInputConfig & + EndpointsInputConfig & + AwsAuthInputConfig & + RetryInputConfig & + UserAgentInputConfig & + HostHeaderInputConfig; + +export type ServiceCatalogAppRegistryClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RegionResolvedConfig & + EndpointsResolvedConfig & + AwsAuthResolvedConfig & + RetryResolvedConfig & + UserAgentResolvedConfig & + HostHeaderResolvedConfig; + +/** + *

                      AWS Service Catalog AppRegistry enables organizations to understand the application context of their AWS resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.

                      + */ +export class ServiceCatalogAppRegistryClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + ServiceCatalogAppRegistryClientResolvedConfig +> { + readonly config: ServiceCatalogAppRegistryClientResolvedConfig; + + constructor(configuration: ServiceCatalogAppRegistryClientConfig) { + let _config_0 = { + ...__ClientDefaultValues, + ...configuration, + }; + let _config_1 = resolveRegionConfig(_config_0); + let _config_2 = resolveEndpointsConfig(_config_1); + let _config_3 = resolveAwsAuthConfig(_config_2); + let _config_4 = resolveRetryConfig(_config_3); + let _config_5 = resolveUserAgentConfig(_config_4); + let _config_6 = resolveHostHeaderConfig(_config_5); + super(_config_6); + this.config = _config_6; + this.middlewareStack.use(getAwsAuthPlugin(this.config)); + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + } + + destroy(): void { + super.destroy(); + } +} diff --git a/clients/client-service-catalog-appregistry/commands/AssociateAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/AssociateAttributeGroupCommand.ts new file mode 100644 index 000000000000..1b13b955979a --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/AssociateAttributeGroupCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { AssociateAttributeGroupRequest, AssociateAttributeGroupResponse } from "../models/models_0"; +import { + deserializeAws_restJson1AssociateAttributeGroupCommand, + serializeAws_restJson1AssociateAttributeGroupCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type AssociateAttributeGroupCommandInput = AssociateAttributeGroupRequest; +export type AssociateAttributeGroupCommandOutput = AssociateAttributeGroupResponse & __MetadataBearer; + +export class AssociateAttributeGroupCommand extends $Command< + AssociateAttributeGroupCommandInput, + AssociateAttributeGroupCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: AssociateAttributeGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "AssociateAttributeGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: AssociateAttributeGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: AssociateAttributeGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: AssociateAttributeGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1AssociateAttributeGroupCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1AssociateAttributeGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/AssociateResourceCommand.ts b/clients/client-service-catalog-appregistry/commands/AssociateResourceCommand.ts new file mode 100644 index 000000000000..9988d60cd770 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/AssociateResourceCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { AssociateResourceRequest, AssociateResourceResponse } from "../models/models_0"; +import { + deserializeAws_restJson1AssociateResourceCommand, + serializeAws_restJson1AssociateResourceCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type AssociateResourceCommandInput = AssociateResourceRequest; +export type AssociateResourceCommandOutput = AssociateResourceResponse & __MetadataBearer; + +export class AssociateResourceCommand extends $Command< + AssociateResourceCommandInput, + AssociateResourceCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: AssociateResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "AssociateResourceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: AssociateResourceRequest.filterSensitiveLog, + outputFilterSensitiveLog: AssociateResourceResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: AssociateResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1AssociateResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1AssociateResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/CreateApplicationCommand.ts b/clients/client-service-catalog-appregistry/commands/CreateApplicationCommand.ts new file mode 100644 index 000000000000..69f37d676b95 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/CreateApplicationCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateApplicationCommand, + serializeAws_restJson1CreateApplicationCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateApplicationCommandInput = CreateApplicationRequest; +export type CreateApplicationCommandOutput = CreateApplicationResponse & __MetadataBearer; + +export class CreateApplicationCommand extends $Command< + CreateApplicationCommandInput, + CreateApplicationCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateApplicationCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "CreateApplicationCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateApplicationRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateApplicationResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateApplicationCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateApplicationCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/CreateAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/CreateAttributeGroupCommand.ts new file mode 100644 index 000000000000..58e495d57d6d --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/CreateAttributeGroupCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { CreateAttributeGroupRequest, CreateAttributeGroupResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateAttributeGroupCommand, + serializeAws_restJson1CreateAttributeGroupCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateAttributeGroupCommandInput = CreateAttributeGroupRequest; +export type CreateAttributeGroupCommandOutput = CreateAttributeGroupResponse & __MetadataBearer; + +export class CreateAttributeGroupCommand extends $Command< + CreateAttributeGroupCommandInput, + CreateAttributeGroupCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateAttributeGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "CreateAttributeGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateAttributeGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateAttributeGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateAttributeGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateAttributeGroupCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateAttributeGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/DeleteApplicationCommand.ts b/clients/client-service-catalog-appregistry/commands/DeleteApplicationCommand.ts new file mode 100644 index 000000000000..fefcb729338f --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/DeleteApplicationCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteApplicationCommand, + serializeAws_restJson1DeleteApplicationCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteApplicationCommandInput = DeleteApplicationRequest; +export type DeleteApplicationCommandOutput = DeleteApplicationResponse & __MetadataBearer; + +export class DeleteApplicationCommand extends $Command< + DeleteApplicationCommandInput, + DeleteApplicationCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteApplicationCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "DeleteApplicationCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteApplicationRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteApplicationResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteApplicationCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteApplicationCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/DeleteAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/DeleteAttributeGroupCommand.ts new file mode 100644 index 000000000000..bd87f6830330 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/DeleteAttributeGroupCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { DeleteAttributeGroupRequest, DeleteAttributeGroupResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteAttributeGroupCommand, + serializeAws_restJson1DeleteAttributeGroupCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteAttributeGroupCommandInput = DeleteAttributeGroupRequest; +export type DeleteAttributeGroupCommandOutput = DeleteAttributeGroupResponse & __MetadataBearer; + +export class DeleteAttributeGroupCommand extends $Command< + DeleteAttributeGroupCommandInput, + DeleteAttributeGroupCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteAttributeGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "DeleteAttributeGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteAttributeGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteAttributeGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteAttributeGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteAttributeGroupCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteAttributeGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/DisassociateAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/DisassociateAttributeGroupCommand.ts new file mode 100644 index 000000000000..eed0d8af1521 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/DisassociateAttributeGroupCommand.ts @@ -0,0 +1,89 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { DisassociateAttributeGroupRequest, DisassociateAttributeGroupResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DisassociateAttributeGroupCommand, + serializeAws_restJson1DisassociateAttributeGroupCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DisassociateAttributeGroupCommandInput = DisassociateAttributeGroupRequest; +export type DisassociateAttributeGroupCommandOutput = DisassociateAttributeGroupResponse & __MetadataBearer; + +export class DisassociateAttributeGroupCommand extends $Command< + DisassociateAttributeGroupCommandInput, + DisassociateAttributeGroupCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DisassociateAttributeGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "DisassociateAttributeGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DisassociateAttributeGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: DisassociateAttributeGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DisassociateAttributeGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DisassociateAttributeGroupCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1DisassociateAttributeGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/DisassociateResourceCommand.ts b/clients/client-service-catalog-appregistry/commands/DisassociateResourceCommand.ts new file mode 100644 index 000000000000..cef7257e2b6e --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/DisassociateResourceCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { DisassociateResourceRequest, DisassociateResourceResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DisassociateResourceCommand, + serializeAws_restJson1DisassociateResourceCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DisassociateResourceCommandInput = DisassociateResourceRequest; +export type DisassociateResourceCommandOutput = DisassociateResourceResponse & __MetadataBearer; + +export class DisassociateResourceCommand extends $Command< + DisassociateResourceCommandInput, + DisassociateResourceCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DisassociateResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "DisassociateResourceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DisassociateResourceRequest.filterSensitiveLog, + outputFilterSensitiveLog: DisassociateResourceResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DisassociateResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DisassociateResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DisassociateResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/GetApplicationCommand.ts b/clients/client-service-catalog-appregistry/commands/GetApplicationCommand.ts new file mode 100644 index 000000000000..59506211df11 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/GetApplicationCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0"; +import { + deserializeAws_restJson1GetApplicationCommand, + serializeAws_restJson1GetApplicationCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetApplicationCommandInput = GetApplicationRequest; +export type GetApplicationCommandOutput = GetApplicationResponse & __MetadataBearer; + +export class GetApplicationCommand extends $Command< + GetApplicationCommandInput, + GetApplicationCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetApplicationCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "GetApplicationCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetApplicationRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetApplicationResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1GetApplicationCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1GetApplicationCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/GetAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/GetAttributeGroupCommand.ts new file mode 100644 index 000000000000..df8c6f1924bc --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/GetAttributeGroupCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { GetAttributeGroupRequest, GetAttributeGroupResponse } from "../models/models_0"; +import { + deserializeAws_restJson1GetAttributeGroupCommand, + serializeAws_restJson1GetAttributeGroupCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type GetAttributeGroupCommandInput = GetAttributeGroupRequest; +export type GetAttributeGroupCommandOutput = GetAttributeGroupResponse & __MetadataBearer; + +export class GetAttributeGroupCommand extends $Command< + GetAttributeGroupCommandInput, + GetAttributeGroupCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetAttributeGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "GetAttributeGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetAttributeGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetAttributeGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetAttributeGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1GetAttributeGroupCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1GetAttributeGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/ListApplicationsCommand.ts b/clients/client-service-catalog-appregistry/commands/ListApplicationsCommand.ts new file mode 100644 index 000000000000..ccda2bae6325 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/ListApplicationsCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListApplicationsCommand, + serializeAws_restJson1ListApplicationsCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListApplicationsCommandInput = ListApplicationsRequest; +export type ListApplicationsCommandOutput = ListApplicationsResponse & __MetadataBearer; + +export class ListApplicationsCommand extends $Command< + ListApplicationsCommandInput, + ListApplicationsCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListApplicationsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "ListApplicationsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListApplicationsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListApplicationsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListApplicationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListApplicationsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListApplicationsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/ListAssociatedAttributeGroupsCommand.ts b/clients/client-service-catalog-appregistry/commands/ListAssociatedAttributeGroupsCommand.ts new file mode 100644 index 000000000000..f4203ec729b7 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/ListAssociatedAttributeGroupsCommand.ts @@ -0,0 +1,89 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { ListAssociatedAttributeGroupsRequest, ListAssociatedAttributeGroupsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAssociatedAttributeGroupsCommand, + serializeAws_restJson1ListAssociatedAttributeGroupsCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListAssociatedAttributeGroupsCommandInput = ListAssociatedAttributeGroupsRequest; +export type ListAssociatedAttributeGroupsCommandOutput = ListAssociatedAttributeGroupsResponse & __MetadataBearer; + +export class ListAssociatedAttributeGroupsCommand extends $Command< + ListAssociatedAttributeGroupsCommandInput, + ListAssociatedAttributeGroupsCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAssociatedAttributeGroupsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "ListAssociatedAttributeGroupsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAssociatedAttributeGroupsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAssociatedAttributeGroupsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListAssociatedAttributeGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListAssociatedAttributeGroupsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1ListAssociatedAttributeGroupsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/ListAssociatedResourcesCommand.ts b/clients/client-service-catalog-appregistry/commands/ListAssociatedResourcesCommand.ts new file mode 100644 index 000000000000..8ba1c433705d --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/ListAssociatedResourcesCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { ListAssociatedResourcesRequest, ListAssociatedResourcesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAssociatedResourcesCommand, + serializeAws_restJson1ListAssociatedResourcesCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListAssociatedResourcesCommandInput = ListAssociatedResourcesRequest; +export type ListAssociatedResourcesCommandOutput = ListAssociatedResourcesResponse & __MetadataBearer; + +export class ListAssociatedResourcesCommand extends $Command< + ListAssociatedResourcesCommandInput, + ListAssociatedResourcesCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAssociatedResourcesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "ListAssociatedResourcesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAssociatedResourcesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAssociatedResourcesResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListAssociatedResourcesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListAssociatedResourcesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListAssociatedResourcesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/ListAttributeGroupsCommand.ts b/clients/client-service-catalog-appregistry/commands/ListAttributeGroupsCommand.ts new file mode 100644 index 000000000000..82051ef3d356 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/ListAttributeGroupsCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { ListAttributeGroupsRequest, ListAttributeGroupsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAttributeGroupsCommand, + serializeAws_restJson1ListAttributeGroupsCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListAttributeGroupsCommandInput = ListAttributeGroupsRequest; +export type ListAttributeGroupsCommandOutput = ListAttributeGroupsResponse & __MetadataBearer; + +export class ListAttributeGroupsCommand extends $Command< + ListAttributeGroupsCommandInput, + ListAttributeGroupsCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAttributeGroupsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "ListAttributeGroupsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAttributeGroupsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAttributeGroupsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListAttributeGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListAttributeGroupsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListAttributeGroupsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/UpdateApplicationCommand.ts b/clients/client-service-catalog-appregistry/commands/UpdateApplicationCommand.ts new file mode 100644 index 000000000000..ccbb27f54d07 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/UpdateApplicationCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateApplicationCommand, + serializeAws_restJson1UpdateApplicationCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateApplicationCommandInput = UpdateApplicationRequest; +export type UpdateApplicationCommandOutput = UpdateApplicationResponse & __MetadataBearer; + +export class UpdateApplicationCommand extends $Command< + UpdateApplicationCommandInput, + UpdateApplicationCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateApplicationCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "UpdateApplicationCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateApplicationRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateApplicationResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateApplicationCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateApplicationCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/commands/UpdateAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/UpdateAttributeGroupCommand.ts new file mode 100644 index 000000000000..4b40dab4b006 --- /dev/null +++ b/clients/client-service-catalog-appregistry/commands/UpdateAttributeGroupCommand.ts @@ -0,0 +1,86 @@ +import { + ServiceCatalogAppRegistryClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../ServiceCatalogAppRegistryClient"; +import { UpdateAttributeGroupRequest, UpdateAttributeGroupResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateAttributeGroupCommand, + serializeAws_restJson1UpdateAttributeGroupCommand, +} from "../protocols/Aws_restJson1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateAttributeGroupCommandInput = UpdateAttributeGroupRequest; +export type UpdateAttributeGroupCommandOutput = UpdateAttributeGroupResponse & __MetadataBearer; + +export class UpdateAttributeGroupCommand extends $Command< + UpdateAttributeGroupCommandInput, + UpdateAttributeGroupCommandOutput, + ServiceCatalogAppRegistryClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateAttributeGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ServiceCatalogAppRegistryClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ServiceCatalogAppRegistryClient"; + const commandName = "UpdateAttributeGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateAttributeGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateAttributeGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateAttributeGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateAttributeGroupCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateAttributeGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-service-catalog-appregistry/endpoints.ts b/clients/client-service-catalog-appregistry/endpoints.ts new file mode 100644 index 000000000000..5c795aa68ca6 --- /dev/null +++ b/clients/client-service-catalog-appregistry/endpoints.ts @@ -0,0 +1,218 @@ +import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; + +// Partition default templates +const AWS_TEMPLATE = "servicecatalog.{region}.amazonaws.com"; +const AWS_CN_TEMPLATE = "servicecatalog.{region}.amazonaws.com.cn"; +const AWS_ISO_TEMPLATE = "servicecatalog.{region}.c2s.ic.gov"; +const AWS_ISO_B_TEMPLATE = "servicecatalog.{region}.sc2s.sgov.gov"; +const AWS_US_GOV_TEMPLATE = "servicecatalog.{region}.amazonaws.com"; + +// Partition regions +const AWS_REGIONS = new Set([ + "ap-east-1", + "ap-northeast-1", + "ap-northeast-2", + "ap-south-1", + "ap-southeast-1", + "ap-southeast-2", + "ca-central-1", + "eu-central-1", + "eu-north-1", + "eu-west-1", + "eu-west-2", + "eu-west-3", + "me-south-1", + "sa-east-1", + "us-east-1", + "us-east-2", + "us-west-1", + "us-west-2", +]); +const AWS_CN_REGIONS = new Set(["cn-north-1", "cn-northwest-1"]); +const AWS_ISO_REGIONS = new Set(["us-iso-east-1"]); +const AWS_ISO_B_REGIONS = new Set(["us-isob-east-1"]); +const AWS_US_GOV_REGIONS = new Set(["us-gov-east-1", "us-gov-west-1"]); + +export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, options?: any) => { + let regionInfo: RegionInfo | undefined = undefined; + switch (region) { + // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "servicecatalog.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "servicecatalog.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "servicecatalog.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "servicecatalog.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "servicecatalog.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "servicecatalog.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "servicecatalog.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "servicecatalog.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "servicecatalog.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "servicecatalog.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "servicecatalog.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "servicecatalog.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "servicecatalog.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1-fips": + regionInfo = { + hostname: "servicecatalog-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "servicecatalog.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2-fips": + regionInfo = { + hostname: "servicecatalog-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "servicecatalog.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1-fips": + regionInfo = { + hostname: "servicecatalog-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "servicecatalog.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-1-fips": + regionInfo = { + hostname: "servicecatalog-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "servicecatalog.us-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2-fips": + regionInfo = { + hostname: "servicecatalog-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + // Next, try to match partition endpoints. + default: + if (AWS_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_TEMPLATE.replace("{region}", region), + partition: "aws", + }; + } + if (AWS_CN_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_CN_TEMPLATE.replace("{region}", region), + partition: "aws-cn", + }; + } + if (AWS_ISO_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_ISO_TEMPLATE.replace("{region}", region), + partition: "aws-iso", + }; + } + if (AWS_ISO_B_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_ISO_B_TEMPLATE.replace("{region}", region), + partition: "aws-iso-b", + }; + } + if (AWS_US_GOV_REGIONS.has(region)) { + regionInfo = { + hostname: AWS_US_GOV_TEMPLATE.replace("{region}", region), + partition: "aws-us-gov", + }; + } + // Finally, assume it's an AWS partition endpoint. + if (regionInfo === undefined) { + regionInfo = { + hostname: AWS_TEMPLATE.replace("{region}", region), + partition: "aws", + }; + } + } + return Promise.resolve(regionInfo); +}; diff --git a/clients/client-service-catalog-appregistry/index.ts b/clients/client-service-catalog-appregistry/index.ts new file mode 100644 index 000000000000..3b5aea4dd8c8 --- /dev/null +++ b/clients/client-service-catalog-appregistry/index.ts @@ -0,0 +1,24 @@ +export * from "./ServiceCatalogAppRegistryClient"; +export * from "./ServiceCatalogAppRegistry"; +export * from "./commands/AssociateAttributeGroupCommand"; +export * from "./commands/AssociateResourceCommand"; +export * from "./commands/CreateApplicationCommand"; +export * from "./commands/CreateAttributeGroupCommand"; +export * from "./commands/DeleteApplicationCommand"; +export * from "./commands/DeleteAttributeGroupCommand"; +export * from "./commands/DisassociateAttributeGroupCommand"; +export * from "./commands/DisassociateResourceCommand"; +export * from "./commands/GetApplicationCommand"; +export * from "./commands/GetAttributeGroupCommand"; +export * from "./commands/ListApplicationsCommand"; +export * from "./pagination/ListApplicationsPaginator"; +export * from "./commands/ListAssociatedAttributeGroupsCommand"; +export * from "./pagination/ListAssociatedAttributeGroupsPaginator"; +export * from "./commands/ListAssociatedResourcesCommand"; +export * from "./pagination/ListAssociatedResourcesPaginator"; +export * from "./commands/ListAttributeGroupsCommand"; +export * from "./pagination/ListAttributeGroupsPaginator"; +export * from "./commands/UpdateApplicationCommand"; +export * from "./commands/UpdateAttributeGroupCommand"; +export * from "./pagination/Interfaces"; +export * from "./models/index"; diff --git a/clients/client-service-catalog-appregistry/models/index.ts b/clients/client-service-catalog-appregistry/models/index.ts new file mode 100644 index 000000000000..09c5d6e09b8c --- /dev/null +++ b/clients/client-service-catalog-appregistry/models/index.ts @@ -0,0 +1 @@ +export * from "./models_0"; diff --git a/clients/client-service-catalog-appregistry/models/models_0.ts b/clients/client-service-catalog-appregistry/models/models_0.ts new file mode 100644 index 000000000000..12180229dd86 --- /dev/null +++ b/clients/client-service-catalog-appregistry/models/models_0.ts @@ -0,0 +1,923 @@ +import { SENSITIVE_STRING, SmithyException as __SmithyException } from "@aws-sdk/smithy-client"; +import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; + +/** + *

                      Represents a Service Catalog AppRegistry application that is the top-level node in a hierarchy of related + * cloud resource abstractions.

                      + */ +export interface Application { + /** + *

                      The identifier of the application.

                      + */ + id?: string; + + /** + *

                      The Amazon resource name (ARN) that specifies the application across services.

                      + */ + arn?: string; + + /** + *

                      The name of the application. The name must be unique in the region in which you are creating the application.

                      + */ + name?: string; + + /** + *

                      The description of the application.

                      + */ + description?: string; + + /** + *

                      The ISO-8601 formatted timestamp of the moment when the application was created.

                      + */ + creationTime?: Date; + + /** + *

                      The ISO-8601 formatted timestamp of the moment when the application was last updated.

                      + */ + lastUpdateTime?: Date; + + /** + *

                      Key-value pairs you can use to associate with the application.

                      + */ + tags?: { [key: string]: string }; +} + +export namespace Application { + export const filterSensitiveLog = (obj: Application): any => ({ + ...obj, + }); +} + +/** + *

                      Summary of a Service Catalog AppRegistry application.

                      + */ +export interface ApplicationSummary { + /** + *

                      The identifier of the application.

                      + */ + id?: string; + + /** + *

                      The Amazon resource name (ARN) that specifies the application across services.

                      + */ + arn?: string; + + /** + *

                      The name of the application. The name must be unique in the region in which you are creating the application.

                      + */ + name?: string; + + /** + *

                      The description of the application.

                      + */ + description?: string; + + /** + *

                      The ISO-8601 formatted timestamp of the moment when the application was created.

                      + */ + creationTime?: Date; + + /** + *

                      The ISO-8601 formatted timestamp of the moment when the application was last updated.

                      + */ + lastUpdateTime?: Date; +} + +export namespace ApplicationSummary { + export const filterSensitiveLog = (obj: ApplicationSummary): any => ({ + ...obj, + }); +} + +export interface AssociateAttributeGroupRequest { + /** + *

                      The name or ID of the application.

                      + */ + application: string | undefined; + + /** + *

                      The name or ID of the attribute group that holds the attributes to describe the application.

                      + */ + attributeGroup: string | undefined; +} + +export namespace AssociateAttributeGroupRequest { + export const filterSensitiveLog = (obj: AssociateAttributeGroupRequest): any => ({ + ...obj, + }); +} + +export interface AssociateAttributeGroupResponse { + /** + *

                      The Amazon resource name (ARN) of the application that was augmented with attributes.

                      + */ + applicationArn?: string; + + /** + *

                      The Amazon resource name (ARN) of the attribute group that contains the application's new attributes.

                      + */ + attributeGroupArn?: string; +} + +export namespace AssociateAttributeGroupResponse { + export const filterSensitiveLog = (obj: AssociateAttributeGroupResponse): any => ({ + ...obj, + }); +} + +/** + *

                      The service is experiencing internal problems.

                      + */ +export interface InternalServerException extends __SmithyException, $MetadataBearer { + name: "InternalServerException"; + $fault: "server"; + message?: string; +} + +export namespace InternalServerException { + export const filterSensitiveLog = (obj: InternalServerException): any => ({ + ...obj, + }); +} + +/** + *

                      The specified resource does not exist.

                      + */ +export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { + name: "ResourceNotFoundException"; + $fault: "client"; + message?: string; +} + +export namespace ResourceNotFoundException { + export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({ + ...obj, + }); +} + +/** + *

                      The maximum number of resources per account has been reached.

                      + */ +export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer { + name: "ServiceQuotaExceededException"; + $fault: "client"; + message?: string; +} + +export namespace ServiceQuotaExceededException { + export const filterSensitiveLog = (obj: ServiceQuotaExceededException): any => ({ + ...obj, + }); +} + +/** + *

                      The request has invalid or missing parameters.

                      + */ +export interface ValidationException extends __SmithyException, $MetadataBearer { + name: "ValidationException"; + $fault: "client"; + message?: string; +} + +export namespace ValidationException { + export const filterSensitiveLog = (obj: ValidationException): any => ({ + ...obj, + }); +} + +export enum ResourceType { + CFN_STACK = "CFN_STACK", +} + +export interface AssociateResourceRequest { + /** + *

                      The name or ID of the application.

                      + */ + application: string | undefined; + + resourceType: ResourceType | string | undefined; + /** + *

                      The name or ID of the resource of which the application will be associated.

                      + */ + resource: string | undefined; +} + +export namespace AssociateResourceRequest { + export const filterSensitiveLog = (obj: AssociateResourceRequest): any => ({ + ...obj, + }); +} + +export interface AssociateResourceResponse { + /** + *

                      The Amazon resource name (ARN) of the application that was augmented with attributes.

                      + */ + applicationArn?: string; + + /** + *

                      The Amazon resource name (ARN) that specifies the resource.

                      + */ + resourceArn?: string; +} + +export namespace AssociateResourceResponse { + export const filterSensitiveLog = (obj: AssociateResourceResponse): any => ({ + ...obj, + }); +} + +/** + *

                      There was a conflict when processing the request (for example, a resource with the given name already + * exists within the account).

                      + */ +export interface ConflictException extends __SmithyException, $MetadataBearer { + name: "ConflictException"; + $fault: "client"; + message?: string; +} + +export namespace ConflictException { + export const filterSensitiveLog = (obj: ConflictException): any => ({ + ...obj, + }); +} + +/** + *

                      Represents a Service Catalog AppRegistry attribute group that is rich metadata which describes an application and its components.

                      + */ +export interface AttributeGroup { + /** + *

                      The globally unique attribute group identifier of the attribute group.

                      + */ + id?: string; + + /** + *

                      The Amazon resource name (ARN) that specifies the application across services.

                      + */ + arn?: string; + + /** + *

                      The name of the attribute group.

                      + */ + name?: string; + + /** + *

                      The description of the attribute group that the user provides.

                      + */ + description?: string; + + /** + *

                      The ISO-8601 formatted timestamp of the moment the attribute group was created.

                      + */ + creationTime?: Date; + + /** + *

                      The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group.

                      + */ + lastUpdateTime?: Date; + + /** + *

                      Key-value pairs you can use to associate with the attribute group.

                      + */ + tags?: { [key: string]: string }; +} + +export namespace AttributeGroup { + export const filterSensitiveLog = (obj: AttributeGroup): any => ({ + ...obj, + }); +} + +/** + *

                      Summary of a Service Catalog AppRegistry attribute group.

                      + */ +export interface AttributeGroupSummary { + /** + *

                      The globally unique attribute group identifier of the attribute group.

                      + */ + id?: string; + + /** + *

                      The Amazon resource name (ARN) that specifies the application across services.

                      + */ + arn?: string; + + /** + *

                      The name of the attribute group.

                      + */ + name?: string; + + /** + *

                      The description of the attribute group that the user provides.

                      + */ + description?: string; + + /** + *

                      The ISO-8601 formatted timestamp of the moment the attribute group was created.

                      + */ + creationTime?: Date; + + /** + *

                      The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group.

                      + */ + lastUpdateTime?: Date; +} + +export namespace AttributeGroupSummary { + export const filterSensitiveLog = (obj: AttributeGroupSummary): any => ({ + ...obj, + }); +} + +export interface CreateApplicationRequest { + /** + *

                      The name of the application. The name must be unique in the region in which you are creating the application.

                      + */ + name: string | undefined; + + /** + *

                      The description of the application.

                      + */ + description?: string; + + /** + *

                      Key-value pairs you can use to associate with the application.

                      + */ + tags?: { [key: string]: string }; + + /** + *

                      A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the clientToken, the same response is returned for each repeated request.

                      + */ + clientToken?: string; +} + +export namespace CreateApplicationRequest { + export const filterSensitiveLog = (obj: CreateApplicationRequest): any => ({ + ...obj, + }); +} + +export interface CreateApplicationResponse { + /** + *

                      The name or ID of the application.

                      + */ + application?: Application; +} + +export namespace CreateApplicationResponse { + export const filterSensitiveLog = (obj: CreateApplicationResponse): any => ({ + ...obj, + }); +} + +export interface CreateAttributeGroupRequest { + /** + *

                      The name of the attribute group.

                      + */ + name: string | undefined; + + /** + *

                      The description of the attribute group that the user provides.

                      + */ + description?: string; + + /** + *

                      A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.

                      + */ + attributes: string | undefined; + + /** + *

                      Key-value pairs you can use to associate with the attribute group.

                      + */ + tags?: { [key: string]: string }; + + /** + *

                      A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the + * clientToken, the same response is returned for each repeated request.

                      + */ + clientToken?: string; +} + +export namespace CreateAttributeGroupRequest { + export const filterSensitiveLog = (obj: CreateAttributeGroupRequest): any => ({ + ...obj, + }); +} + +export interface CreateAttributeGroupResponse { + /** + *

                      The name or ID of the attribute group that holds the attributes to describe the application.

                      + */ + attributeGroup?: AttributeGroup; +} + +export namespace CreateAttributeGroupResponse { + export const filterSensitiveLog = (obj: CreateAttributeGroupResponse): any => ({ + ...obj, + }); +} + +export interface DeleteApplicationRequest { + /** + *

                      The name or ID of the application.

                      + */ + application: string | undefined; +} + +export namespace DeleteApplicationRequest { + export const filterSensitiveLog = (obj: DeleteApplicationRequest): any => ({ + ...obj, + }); +} + +export interface DeleteApplicationResponse { + /** + *

                      The name or ID of the application.

                      + */ + application?: ApplicationSummary; +} + +export namespace DeleteApplicationResponse { + export const filterSensitiveLog = (obj: DeleteApplicationResponse): any => ({ + ...obj, + }); +} + +export interface DeleteAttributeGroupRequest { + /** + *

                      The name or ID of the attribute group that holds the attributes to describe the application.

                      + */ + attributeGroup: string | undefined; +} + +export namespace DeleteAttributeGroupRequest { + export const filterSensitiveLog = (obj: DeleteAttributeGroupRequest): any => ({ + ...obj, + }); +} + +export interface DeleteAttributeGroupResponse { + /** + *

                      The name or ID of the attribute group that holds the attributes to describe the application.

                      + */ + attributeGroup?: AttributeGroupSummary; +} + +export namespace DeleteAttributeGroupResponse { + export const filterSensitiveLog = (obj: DeleteAttributeGroupResponse): any => ({ + ...obj, + }); +} + +export interface DisassociateAttributeGroupRequest { + /** + *

                      The name or ID of the application.

                      + */ + application: string | undefined; + + /** + *

                      The name or ID of the attribute group that holds the attributes to describe the application.

                      + */ + attributeGroup: string | undefined; +} + +export namespace DisassociateAttributeGroupRequest { + export const filterSensitiveLog = (obj: DisassociateAttributeGroupRequest): any => ({ + ...obj, + }); +} + +export interface DisassociateAttributeGroupResponse { + /** + *

                      The Amazon resource name (ARN) of the application that was augmented with attributes.

                      + */ + applicationArn?: string; + + /** + *

                      The Amazon resource name (ARN) of the attribute group that contains the application's new attributes.

                      + */ + attributeGroupArn?: string; +} + +export namespace DisassociateAttributeGroupResponse { + export const filterSensitiveLog = (obj: DisassociateAttributeGroupResponse): any => ({ + ...obj, + }); +} + +export interface DisassociateResourceRequest { + /** + *

                      The name or ID of the application.

                      + */ + application: string | undefined; + + /** + *

                      The type of the resource that's being disassociated.

                      + */ + resourceType: ResourceType | string | undefined; + + /** + *

                      The name or ID of the resource of which the application will be associated.

                      + */ + resource: string | undefined; +} + +export namespace DisassociateResourceRequest { + export const filterSensitiveLog = (obj: DisassociateResourceRequest): any => ({ + ...obj, + }); +} + +export interface DisassociateResourceResponse { + /** + *

                      The Amazon resource name (ARN) of the application that was augmented with attributes.

                      + */ + applicationArn?: string; + + /** + *

                      The Amazon resource name (ARN) that specifies the resource.

                      + */ + resourceArn?: string; +} + +export namespace DisassociateResourceResponse { + export const filterSensitiveLog = (obj: DisassociateResourceResponse): any => ({ + ...obj, + }); +} + +export interface GetApplicationRequest { + /** + *

                      The name or ID of the application.

                      + */ + application: string | undefined; +} + +export namespace GetApplicationRequest { + export const filterSensitiveLog = (obj: GetApplicationRequest): any => ({ + ...obj, + }); +} + +export interface GetApplicationResponse { + /** + *

                      The identifier of the application.

                      + */ + id?: string; + + /** + *

                      The Amazon resource name (ARN) that specifies the application across services.

                      + */ + arn?: string; + + /** + *

                      The name of the application. The name must be unique in the region in which you are creating the application.

                      + */ + name?: string; + + /** + *

                      The description of the application.

                      + */ + description?: string; + + /** + *

                      The ISO-8601 formatted timestamp of the moment when the application was created.

                      + */ + creationTime?: Date; + + /** + *

                      The ISO-8601 formatted timestamp of the moment when the application was last updated.

                      + */ + lastUpdateTime?: Date; + + /** + *

                      The number of top-level resources that were registered as part of this application.

                      + */ + associatedResourceCount?: number; + + /** + *

                      Key-value pairs you can use to associate with the application.

                      + */ + tags?: { [key: string]: string }; +} + +export namespace GetApplicationResponse { + export const filterSensitiveLog = (obj: GetApplicationResponse): any => ({ + ...obj, + }); +} + +export interface GetAttributeGroupRequest { + /** + *

                      The name or ID of the attribute group that holds the attributes to describe the application.

                      + */ + attributeGroup: string | undefined; +} + +export namespace GetAttributeGroupRequest { + export const filterSensitiveLog = (obj: GetAttributeGroupRequest): any => ({ + ...obj, + }); +} + +export interface GetAttributeGroupResponse { + /** + *

                      The identifier of the application.

                      + */ + id?: string; + + /** + *

                      The Amazon resource name (ARN) that specifies the application across services.

                      + */ + arn?: string; + + /** + *

                      The name of the attribute group.

                      + */ + name?: string; + + /** + *

                      The description of the attribute group that the user provides.

                      + */ + description?: string; + + /** + *

                      A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.

                      + */ + attributes?: string; + + /** + *

                      The ISO-8601 formatted timestamp of the moment the attribute group was created.

                      + */ + creationTime?: Date; + + /** + *

                      The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group.

                      + */ + lastUpdateTime?: Date; + + /** + *

                      Key-value pairs you can use to associate with the attribute group.

                      + */ + tags?: { [key: string]: string }; +} + +export namespace GetAttributeGroupResponse { + export const filterSensitiveLog = (obj: GetAttributeGroupResponse): any => ({ + ...obj, + }); +} + +export interface ListApplicationsRequest { + /** + *

                      The token to use to get the next page of results after a previous API call.

                      + */ + nextToken?: string; + + /** + *

                      The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

                      + */ + maxResults?: number; +} + +export namespace ListApplicationsRequest { + export const filterSensitiveLog = (obj: ListApplicationsRequest): any => ({ + ...obj, + }); +} + +export interface ListApplicationsResponse { + /** + *

                      The name or ID of the application.

                      + */ + applications?: ApplicationSummary[]; + + /** + *

                      The token to use to get the next page of results after a previous API call.

                      + */ + nextToken?: string; +} + +export namespace ListApplicationsResponse { + export const filterSensitiveLog = (obj: ListApplicationsResponse): any => ({ + ...obj, + }); +} + +export interface ListAssociatedAttributeGroupsRequest { + /** + *

                      The name or ID of the application.

                      + */ + application: string | undefined; + + /** + *

                      The token to use to get the next page of results after a previous API call.

                      + */ + nextToken?: string; + + /** + *

                      The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

                      + */ + maxResults?: number; +} + +export namespace ListAssociatedAttributeGroupsRequest { + export const filterSensitiveLog = (obj: ListAssociatedAttributeGroupsRequest): any => ({ + ...obj, + }); +} + +export interface ListAssociatedAttributeGroupsResponse { + /** + *

                      A list of attribute group IDs.

                      + */ + attributeGroups?: string[]; + + /** + *

                      The token to use to get the next page of results after a previous API call.

                      + */ + nextToken?: string; +} + +export namespace ListAssociatedAttributeGroupsResponse { + export const filterSensitiveLog = (obj: ListAssociatedAttributeGroupsResponse): any => ({ + ...obj, + }); +} + +export interface ListAssociatedResourcesRequest { + /** + *

                      The name or ID of the application.

                      + */ + application: string | undefined; + + /** + *

                      The token to use to get the next page of results after a previous API call.

                      + */ + nextToken?: string; + + /** + *

                      The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

                      + */ + maxResults?: number; +} + +export namespace ListAssociatedResourcesRequest { + export const filterSensitiveLog = (obj: ListAssociatedResourcesRequest): any => ({ + ...obj, + }); +} + +/** + *

                      Information about the resource.

                      + */ +export interface ResourceInfo { + /** + *

                      The name of the resource.

                      + */ + name?: string; + + /** + *

                      The Amazon resource name (ARN) that specifies the application across services.

                      + */ + arn?: string; +} + +export namespace ResourceInfo { + export const filterSensitiveLog = (obj: ResourceInfo): any => ({ + ...obj, + }); +} + +export interface ListAssociatedResourcesResponse { + /** + *

                      The name or ID of the resource of which the application will be associated.

                      + */ + resources?: ResourceInfo[]; + + /** + *

                      The token to use to get the next page of results after a previous API call.

                      + */ + nextToken?: string; +} + +export namespace ListAssociatedResourcesResponse { + export const filterSensitiveLog = (obj: ListAssociatedResourcesResponse): any => ({ + ...obj, + }); +} + +export interface ListAttributeGroupsRequest { + /** + *

                      The token to use to get the next page of results after a previous API call.

                      + */ + nextToken?: string; + + /** + *

                      The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

                      + */ + maxResults?: number; +} + +export namespace ListAttributeGroupsRequest { + export const filterSensitiveLog = (obj: ListAttributeGroupsRequest): any => ({ + ...obj, + }); +} + +export interface ListAttributeGroupsResponse { + /** + *

                      A list of attribute group IDs.

                      + */ + attributeGroups?: AttributeGroupSummary[]; + + /** + *

                      The token to use to get the next page of results after a previous API call.

                      + */ + nextToken?: string; +} + +export namespace ListAttributeGroupsResponse { + export const filterSensitiveLog = (obj: ListAttributeGroupsResponse): any => ({ + ...obj, + }); +} + +export interface UpdateApplicationRequest { + /** + *

                      The name or ID of the application. The name must be unique in the region in which you are + * updating the attribute group.

                      + */ + application: string | undefined; + + /** + *

                      The anme of the application. The name must be unique in the region in which you are creating the application.

                      + */ + name?: string; + + /** + *

                      The description of the application.

                      + */ + description?: string; +} + +export namespace UpdateApplicationRequest { + export const filterSensitiveLog = (obj: UpdateApplicationRequest): any => ({ + ...obj, + }); +} + +export interface UpdateApplicationResponse { + /** + *

                      The name or ID of the application.

                      + */ + application?: Application; +} + +export namespace UpdateApplicationResponse { + export const filterSensitiveLog = (obj: UpdateApplicationResponse): any => ({ + ...obj, + }); +} + +export interface UpdateAttributeGroupRequest { + /** + *

                      The name or ID of the attribute group that holds the attributes to describe the application.

                      + */ + attributeGroup: string | undefined; + + /** + *

                      The new name of the attribute group. The name must be unique in the region in which you are + * updating the attribute group.

                      + */ + name?: string; + + /** + *

                      The description of the attribute group that the user provides.

                      + */ + description?: string; + + /** + *

                      A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.

                      + */ + attributes?: string; +} + +export namespace UpdateAttributeGroupRequest { + export const filterSensitiveLog = (obj: UpdateAttributeGroupRequest): any => ({ + ...obj, + }); +} + +export interface UpdateAttributeGroupResponse { + /** + *

                      The name or ID of the attribute group that holds the attributes to describe the application.

                      + */ + attributeGroup?: AttributeGroup; +} + +export namespace UpdateAttributeGroupResponse { + export const filterSensitiveLog = (obj: UpdateAttributeGroupResponse): any => ({ + ...obj, + }); +} diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json new file mode 100644 index 000000000000..89262cdc4570 --- /dev/null +++ b/clients/client-service-catalog-appregistry/package.json @@ -0,0 +1,85 @@ +{ + "name": "@aws-sdk/client-service-catalog-appregistry", + "description": "AWS SDK for JavaScript Service Catalog Appregistry Client for Node.js, Browser and React Native", + "version": "1.0.0-rc.1", + "scripts": { + "clean": "npm run remove-definitions && npm run remove-dist", + "build-documentation": "npm run clean && typedoc ./", + "prepublishOnly": "yarn build", + "pretest": "yarn build:cjs", + "remove-definitions": "rimraf ./types", + "remove-dist": "rimraf ./dist", + "remove-documentation": "rimraf ./docs", + "test": "yarn build && jest --coverage --passWithNoTests", + "build:cjs": "tsc -p tsconfig.json", + "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:cjs && yarn build:es" + }, + "main": "./dist/cjs/index.js", + "types": "./types/index.d.ts", + "module": "./dist/es/index.js", + "browser": { + "./runtimeConfig": "./runtimeConfig.browser" + }, + "react-native": { + "./runtimeConfig": "./runtimeConfig.native" + }, + "sideEffects": false, + "dependencies": { + "@aws-crypto/sha256-browser": "^1.0.0", + "@aws-crypto/sha256-js": "^1.0.0", + "@aws-sdk/config-resolver": "1.0.0-rc.5", + "@aws-sdk/credential-provider-node": "1.0.0-rc.5", + "@aws-sdk/fetch-http-handler": "1.0.0-rc.5", + "@aws-sdk/hash-node": "1.0.0-rc.5", + "@aws-sdk/invalid-dependency": "1.0.0-rc.3", + "@aws-sdk/middleware-content-length": "1.0.0-rc.5", + "@aws-sdk/middleware-host-header": "1.0.0-rc.5", + "@aws-sdk/middleware-logger": "1.0.0-rc.5", + "@aws-sdk/middleware-retry": "1.0.0-rc.5", + "@aws-sdk/middleware-serde": "1.0.0-rc.5", + "@aws-sdk/middleware-signing": "1.0.0-rc.5", + "@aws-sdk/middleware-stack": "1.0.0-rc.5", + "@aws-sdk/middleware-user-agent": "1.0.0-rc.5", + "@aws-sdk/node-config-provider": "1.0.0-rc.5", + "@aws-sdk/node-http-handler": "1.0.0-rc.5", + "@aws-sdk/protocol-http": "1.0.0-rc.5", + "@aws-sdk/smithy-client": "1.0.0-rc.5", + "@aws-sdk/url-parser-browser": "1.0.0-rc.5", + "@aws-sdk/url-parser-node": "1.0.0-rc.5", + "@aws-sdk/util-base64-browser": "1.0.0-rc.3", + "@aws-sdk/util-base64-node": "1.0.0-rc.3", + "@aws-sdk/util-body-length-browser": "1.0.0-rc.3", + "@aws-sdk/util-body-length-node": "1.0.0-rc.3", + "@aws-sdk/util-user-agent-browser": "1.0.0-rc.5", + "@aws-sdk/util-user-agent-node": "1.0.0-rc.5", + "@aws-sdk/util-utf8-browser": "1.0.0-rc.3", + "@aws-sdk/util-utf8-node": "1.0.0-rc.3", + "tslib": "^2.0.0", + "uuid": "^3.0.0" + }, + "devDependencies": { + "@aws-sdk/client-documentation-generator": "1.0.0-rc.3", + "@aws-sdk/types": "1.0.0-rc.3", + "@types/node": "^12.7.5", + "@types/uuid": "^3.0.0", + "jest": "^26.1.0", + "rimraf": "^3.0.0", + "typedoc": "^0.17.8", + "typescript": "~4.0.2" + }, + "engines": { + "node": ">=10.0.0" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/clients/client-service-catalog-appregistry", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "clients/client-service-catalog-appregistry" + } +} diff --git a/clients/client-service-catalog-appregistry/pagination/Interfaces.ts b/clients/client-service-catalog-appregistry/pagination/Interfaces.ts new file mode 100644 index 000000000000..9875c736ce5a --- /dev/null +++ b/clients/client-service-catalog-appregistry/pagination/Interfaces.ts @@ -0,0 +1,7 @@ +import { ServiceCatalogAppRegistry } from "../ServiceCatalogAppRegistry"; +import { ServiceCatalogAppRegistryClient } from "../ServiceCatalogAppRegistryClient"; +import { PaginationConfiguration } from "@aws-sdk/types"; + +export interface ServiceCatalogAppRegistryPaginationConfiguration extends PaginationConfiguration { + client: ServiceCatalogAppRegistry | ServiceCatalogAppRegistryClient; +} diff --git a/clients/client-service-catalog-appregistry/pagination/ListApplicationsPaginator.ts b/clients/client-service-catalog-appregistry/pagination/ListApplicationsPaginator.ts new file mode 100644 index 000000000000..142648e9d659 --- /dev/null +++ b/clients/client-service-catalog-appregistry/pagination/ListApplicationsPaginator.ts @@ -0,0 +1,51 @@ +import { ServiceCatalogAppRegistry } from "../ServiceCatalogAppRegistry"; +import { ServiceCatalogAppRegistryClient } from "../ServiceCatalogAppRegistryClient"; +import { + ListApplicationsCommand, + ListApplicationsCommandInput, + ListApplicationsCommandOutput, +} from "../commands/ListApplicationsCommand"; +import { ServiceCatalogAppRegistryPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: ServiceCatalogAppRegistryClient, + input: ListApplicationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListApplicationsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: ServiceCatalogAppRegistry, + input: ListApplicationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listApplications(input, ...args); +}; +export async function* listApplicationsPaginate( + config: ServiceCatalogAppRegistryPaginationConfiguration, + input: ListApplicationsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListApplicationsCommandOutput; + while (hasNext) { + input.nextToken = token; + input["maxResults"] = config.pageSize; + if (config.client instanceof ServiceCatalogAppRegistry) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ServiceCatalogAppRegistryClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected ServiceCatalogAppRegistry | ServiceCatalogAppRegistryClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-service-catalog-appregistry/pagination/ListAssociatedAttributeGroupsPaginator.ts b/clients/client-service-catalog-appregistry/pagination/ListAssociatedAttributeGroupsPaginator.ts new file mode 100644 index 000000000000..a7ffa4b90adb --- /dev/null +++ b/clients/client-service-catalog-appregistry/pagination/ListAssociatedAttributeGroupsPaginator.ts @@ -0,0 +1,51 @@ +import { ServiceCatalogAppRegistry } from "../ServiceCatalogAppRegistry"; +import { ServiceCatalogAppRegistryClient } from "../ServiceCatalogAppRegistryClient"; +import { + ListAssociatedAttributeGroupsCommand, + ListAssociatedAttributeGroupsCommandInput, + ListAssociatedAttributeGroupsCommandOutput, +} from "../commands/ListAssociatedAttributeGroupsCommand"; +import { ServiceCatalogAppRegistryPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: ServiceCatalogAppRegistryClient, + input: ListAssociatedAttributeGroupsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAssociatedAttributeGroupsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: ServiceCatalogAppRegistry, + input: ListAssociatedAttributeGroupsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAssociatedAttributeGroups(input, ...args); +}; +export async function* listAssociatedAttributeGroupsPaginate( + config: ServiceCatalogAppRegistryPaginationConfiguration, + input: ListAssociatedAttributeGroupsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAssociatedAttributeGroupsCommandOutput; + while (hasNext) { + input.nextToken = token; + input["maxResults"] = config.pageSize; + if (config.client instanceof ServiceCatalogAppRegistry) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ServiceCatalogAppRegistryClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected ServiceCatalogAppRegistry | ServiceCatalogAppRegistryClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-service-catalog-appregistry/pagination/ListAssociatedResourcesPaginator.ts b/clients/client-service-catalog-appregistry/pagination/ListAssociatedResourcesPaginator.ts new file mode 100644 index 000000000000..2dcc3df460bc --- /dev/null +++ b/clients/client-service-catalog-appregistry/pagination/ListAssociatedResourcesPaginator.ts @@ -0,0 +1,51 @@ +import { ServiceCatalogAppRegistry } from "../ServiceCatalogAppRegistry"; +import { ServiceCatalogAppRegistryClient } from "../ServiceCatalogAppRegistryClient"; +import { + ListAssociatedResourcesCommand, + ListAssociatedResourcesCommandInput, + ListAssociatedResourcesCommandOutput, +} from "../commands/ListAssociatedResourcesCommand"; +import { ServiceCatalogAppRegistryPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: ServiceCatalogAppRegistryClient, + input: ListAssociatedResourcesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAssociatedResourcesCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: ServiceCatalogAppRegistry, + input: ListAssociatedResourcesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAssociatedResources(input, ...args); +}; +export async function* listAssociatedResourcesPaginate( + config: ServiceCatalogAppRegistryPaginationConfiguration, + input: ListAssociatedResourcesCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAssociatedResourcesCommandOutput; + while (hasNext) { + input.nextToken = token; + input["maxResults"] = config.pageSize; + if (config.client instanceof ServiceCatalogAppRegistry) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ServiceCatalogAppRegistryClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected ServiceCatalogAppRegistry | ServiceCatalogAppRegistryClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-service-catalog-appregistry/pagination/ListAttributeGroupsPaginator.ts b/clients/client-service-catalog-appregistry/pagination/ListAttributeGroupsPaginator.ts new file mode 100644 index 000000000000..d8952061276e --- /dev/null +++ b/clients/client-service-catalog-appregistry/pagination/ListAttributeGroupsPaginator.ts @@ -0,0 +1,51 @@ +import { ServiceCatalogAppRegistry } from "../ServiceCatalogAppRegistry"; +import { ServiceCatalogAppRegistryClient } from "../ServiceCatalogAppRegistryClient"; +import { + ListAttributeGroupsCommand, + ListAttributeGroupsCommandInput, + ListAttributeGroupsCommandOutput, +} from "../commands/ListAttributeGroupsCommand"; +import { ServiceCatalogAppRegistryPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: ServiceCatalogAppRegistryClient, + input: ListAttributeGroupsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAttributeGroupsCommand(input, ...args)); +}; +const makePagedRequest = async ( + client: ServiceCatalogAppRegistry, + input: ListAttributeGroupsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAttributeGroups(input, ...args); +}; +export async function* listAttributeGroupsPaginate( + config: ServiceCatalogAppRegistryPaginationConfiguration, + input: ListAttributeGroupsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAttributeGroupsCommandOutput; + while (hasNext) { + input.nextToken = token; + input["maxResults"] = config.pageSize; + if (config.client instanceof ServiceCatalogAppRegistry) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ServiceCatalogAppRegistryClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected ServiceCatalogAppRegistry | ServiceCatalogAppRegistryClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-service-catalog-appregistry/protocols/Aws_restJson1.ts b/clients/client-service-catalog-appregistry/protocols/Aws_restJson1.ts new file mode 100644 index 000000000000..c6fcd63e187c --- /dev/null +++ b/clients/client-service-catalog-appregistry/protocols/Aws_restJson1.ts @@ -0,0 +1,2103 @@ +import { + AssociateAttributeGroupCommandInput, + AssociateAttributeGroupCommandOutput, +} from "../commands/AssociateAttributeGroupCommand"; +import { AssociateResourceCommandInput, AssociateResourceCommandOutput } from "../commands/AssociateResourceCommand"; +import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "../commands/CreateApplicationCommand"; +import { + CreateAttributeGroupCommandInput, + CreateAttributeGroupCommandOutput, +} from "../commands/CreateAttributeGroupCommand"; +import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "../commands/DeleteApplicationCommand"; +import { + DeleteAttributeGroupCommandInput, + DeleteAttributeGroupCommandOutput, +} from "../commands/DeleteAttributeGroupCommand"; +import { + DisassociateAttributeGroupCommandInput, + DisassociateAttributeGroupCommandOutput, +} from "../commands/DisassociateAttributeGroupCommand"; +import { + DisassociateResourceCommandInput, + DisassociateResourceCommandOutput, +} from "../commands/DisassociateResourceCommand"; +import { GetApplicationCommandInput, GetApplicationCommandOutput } from "../commands/GetApplicationCommand"; +import { GetAttributeGroupCommandInput, GetAttributeGroupCommandOutput } from "../commands/GetAttributeGroupCommand"; +import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand"; +import { + ListAssociatedAttributeGroupsCommandInput, + ListAssociatedAttributeGroupsCommandOutput, +} from "../commands/ListAssociatedAttributeGroupsCommand"; +import { + ListAssociatedResourcesCommandInput, + ListAssociatedResourcesCommandOutput, +} from "../commands/ListAssociatedResourcesCommand"; +import { + ListAttributeGroupsCommandInput, + ListAttributeGroupsCommandOutput, +} from "../commands/ListAttributeGroupsCommand"; +import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "../commands/UpdateApplicationCommand"; +import { + UpdateAttributeGroupCommandInput, + UpdateAttributeGroupCommandOutput, +} from "../commands/UpdateAttributeGroupCommand"; +import { + Application, + ApplicationSummary, + AttributeGroup, + AttributeGroupSummary, + ConflictException, + InternalServerException, + ResourceInfo, + ResourceNotFoundException, + ServiceQuotaExceededException, + ValidationException, +} from "../models/models_0"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { + SmithyException as __SmithyException, + extendedEncodeURIComponent as __extendedEncodeURIComponent, +} from "@aws-sdk/smithy-client"; +import { + Endpoint as __Endpoint, + MetadataBearer as __MetadataBearer, + ResponseMetadata as __ResponseMetadata, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; +import { v4 as generateIdempotencyToken } from "uuid"; + +export const serializeAws_restJson1AssociateAttributeGroupCommand = async ( + input: AssociateAttributeGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/applications/{application}/attribute-groups/{attributeGroup}"; + if (input.application !== undefined) { + const labelValue: string = input.application; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: application."); + } + resolvedPath = resolvedPath.replace("{application}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: application."); + } + if (input.attributeGroup !== undefined) { + const labelValue: string = input.attributeGroup; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: attributeGroup."); + } + resolvedPath = resolvedPath.replace("{attributeGroup}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: attributeGroup."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1AssociateResourceCommand = async ( + input: AssociateResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/applications/{application}/resources/{resourceType}/{resource}"; + if (input.application !== undefined) { + const labelValue: string = input.application; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: application."); + } + resolvedPath = resolvedPath.replace("{application}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: application."); + } + if (input.resourceType !== undefined) { + const labelValue: string = input.resourceType; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: resourceType."); + } + resolvedPath = resolvedPath.replace("{resourceType}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: resourceType."); + } + if (input.resource !== undefined) { + const labelValue: string = input.resource; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: resource."); + } + resolvedPath = resolvedPath.replace("{resource}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: resource."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateApplicationCommand = async ( + input: CreateApplicationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/applications"; + let body: any; + body = JSON.stringify({ + clientToken: input.clientToken ?? generateIdempotencyToken(), + ...(input.description !== undefined && { description: input.description }), + ...(input.name !== undefined && { name: input.name }), + ...(input.tags !== undefined && { tags: serializeAws_restJson1Tags(input.tags, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateAttributeGroupCommand = async ( + input: CreateAttributeGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/attribute-groups"; + let body: any; + body = JSON.stringify({ + ...(input.attributes !== undefined && { attributes: input.attributes }), + clientToken: input.clientToken ?? generateIdempotencyToken(), + ...(input.description !== undefined && { description: input.description }), + ...(input.name !== undefined && { name: input.name }), + ...(input.tags !== undefined && { tags: serializeAws_restJson1Tags(input.tags, context) }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteApplicationCommand = async ( + input: DeleteApplicationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/applications/{application}"; + if (input.application !== undefined) { + const labelValue: string = input.application; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: application."); + } + resolvedPath = resolvedPath.replace("{application}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: application."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteAttributeGroupCommand = async ( + input: DeleteAttributeGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/attribute-groups/{attributeGroup}"; + if (input.attributeGroup !== undefined) { + const labelValue: string = input.attributeGroup; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: attributeGroup."); + } + resolvedPath = resolvedPath.replace("{attributeGroup}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: attributeGroup."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DisassociateAttributeGroupCommand = async ( + input: DisassociateAttributeGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/applications/{application}/attribute-groups/{attributeGroup}"; + if (input.application !== undefined) { + const labelValue: string = input.application; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: application."); + } + resolvedPath = resolvedPath.replace("{application}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: application."); + } + if (input.attributeGroup !== undefined) { + const labelValue: string = input.attributeGroup; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: attributeGroup."); + } + resolvedPath = resolvedPath.replace("{attributeGroup}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: attributeGroup."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DisassociateResourceCommand = async ( + input: DisassociateResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/applications/{application}/resources/{resourceType}/{resource}"; + if (input.application !== undefined) { + const labelValue: string = input.application; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: application."); + } + resolvedPath = resolvedPath.replace("{application}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: application."); + } + if (input.resourceType !== undefined) { + const labelValue: string = input.resourceType; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: resourceType."); + } + resolvedPath = resolvedPath.replace("{resourceType}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: resourceType."); + } + if (input.resource !== undefined) { + const labelValue: string = input.resource; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: resource."); + } + resolvedPath = resolvedPath.replace("{resource}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: resource."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1GetApplicationCommand = async ( + input: GetApplicationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/applications/{application}"; + if (input.application !== undefined) { + const labelValue: string = input.application; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: application."); + } + resolvedPath = resolvedPath.replace("{application}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: application."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1GetAttributeGroupCommand = async ( + input: GetAttributeGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/attribute-groups/{attributeGroup}"; + if (input.attributeGroup !== undefined) { + const labelValue: string = input.attributeGroup; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: attributeGroup."); + } + resolvedPath = resolvedPath.replace("{attributeGroup}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: attributeGroup."); + } + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListApplicationsCommand = async ( + input: ListApplicationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/applications"; + const query: any = { + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListAssociatedAttributeGroupsCommand = async ( + input: ListAssociatedAttributeGroupsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/applications/{application}/attribute-groups"; + if (input.application !== undefined) { + const labelValue: string = input.application; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: application."); + } + resolvedPath = resolvedPath.replace("{application}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: application."); + } + const query: any = { + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListAssociatedResourcesCommand = async ( + input: ListAssociatedResourcesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/applications/{application}/resources"; + if (input.application !== undefined) { + const labelValue: string = input.application; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: application."); + } + resolvedPath = resolvedPath.replace("{application}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: application."); + } + const query: any = { + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListAttributeGroupsCommand = async ( + input: ListAttributeGroupsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "", + }; + let resolvedPath = "/attribute-groups"; + const query: any = { + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + }; + let body: any; + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1UpdateApplicationCommand = async ( + input: UpdateApplicationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/applications/{application}"; + if (input.application !== undefined) { + const labelValue: string = input.application; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: application."); + } + resolvedPath = resolvedPath.replace("{application}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: application."); + } + let body: any; + body = JSON.stringify({ + ...(input.description !== undefined && { description: input.description }), + ...(input.name !== undefined && { name: input.name }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PATCH", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1UpdateAttributeGroupCommand = async ( + input: UpdateAttributeGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: any = { + "Content-Type": "application/json", + }; + let resolvedPath = "/attribute-groups/{attributeGroup}"; + if (input.attributeGroup !== undefined) { + const labelValue: string = input.attributeGroup; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: attributeGroup."); + } + resolvedPath = resolvedPath.replace("{attributeGroup}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: attributeGroup."); + } + let body: any; + body = JSON.stringify({ + ...(input.attributes !== undefined && { attributes: input.attributes }), + ...(input.description !== undefined && { description: input.description }), + ...(input.name !== undefined && { name: input.name }), + }); + const { hostname, protocol = "https", port } = await context.endpoint(); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PATCH", + headers, + path: resolvedPath, + body, + }); +}; + +export const deserializeAws_restJson1AssociateAttributeGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1AssociateAttributeGroupCommandError(output, context); + } + const contents: AssociateAttributeGroupCommandOutput = { + $metadata: deserializeMetadata(output), + applicationArn: undefined, + attributeGroupArn: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.applicationArn !== undefined && data.applicationArn !== null) { + contents.applicationArn = data.applicationArn; + } + if (data.attributeGroupArn !== undefined && data.attributeGroupArn !== null) { + contents.attributeGroupArn = data.attributeGroupArn; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1AssociateAttributeGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1AssociateResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1AssociateResourceCommandError(output, context); + } + const contents: AssociateResourceCommandOutput = { + $metadata: deserializeMetadata(output), + applicationArn: undefined, + resourceArn: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.applicationArn !== undefined && data.applicationArn !== null) { + contents.applicationArn = data.applicationArn; + } + if (data.resourceArn !== undefined && data.resourceArn !== null) { + contents.resourceArn = data.resourceArn; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1AssociateResourceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.servicecatalogappregistry#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateApplicationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateApplicationCommandError(output, context); + } + const contents: CreateApplicationCommandOutput = { + $metadata: deserializeMetadata(output), + application: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.application !== undefined && data.application !== null) { + contents.application = deserializeAws_restJson1Application(data.application, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateApplicationCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.servicecatalogappregistry#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateAttributeGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateAttributeGroupCommandError(output, context); + } + const contents: CreateAttributeGroupCommandOutput = { + $metadata: deserializeMetadata(output), + attributeGroup: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.attributeGroup !== undefined && data.attributeGroup !== null) { + contents.attributeGroup = deserializeAws_restJson1AttributeGroup(data.attributeGroup, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateAttributeGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.servicecatalogappregistry#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteApplicationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteApplicationCommandError(output, context); + } + const contents: DeleteApplicationCommandOutput = { + $metadata: deserializeMetadata(output), + application: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.application !== undefined && data.application !== null) { + contents.application = deserializeAws_restJson1ApplicationSummary(data.application, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteApplicationCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteAttributeGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteAttributeGroupCommandError(output, context); + } + const contents: DeleteAttributeGroupCommandOutput = { + $metadata: deserializeMetadata(output), + attributeGroup: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.attributeGroup !== undefined && data.attributeGroup !== null) { + contents.attributeGroup = deserializeAws_restJson1AttributeGroupSummary(data.attributeGroup, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteAttributeGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DisassociateAttributeGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DisassociateAttributeGroupCommandError(output, context); + } + const contents: DisassociateAttributeGroupCommandOutput = { + $metadata: deserializeMetadata(output), + applicationArn: undefined, + attributeGroupArn: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.applicationArn !== undefined && data.applicationArn !== null) { + contents.applicationArn = data.applicationArn; + } + if (data.attributeGroupArn !== undefined && data.attributeGroupArn !== null) { + contents.attributeGroupArn = data.attributeGroupArn; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DisassociateAttributeGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DisassociateResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DisassociateResourceCommandError(output, context); + } + const contents: DisassociateResourceCommandOutput = { + $metadata: deserializeMetadata(output), + applicationArn: undefined, + resourceArn: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.applicationArn !== undefined && data.applicationArn !== null) { + contents.applicationArn = data.applicationArn; + } + if (data.resourceArn !== undefined && data.resourceArn !== null) { + contents.resourceArn = data.resourceArn; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DisassociateResourceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1GetApplicationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1GetApplicationCommandError(output, context); + } + const contents: GetApplicationCommandOutput = { + $metadata: deserializeMetadata(output), + arn: undefined, + associatedResourceCount: undefined, + creationTime: undefined, + description: undefined, + id: undefined, + lastUpdateTime: undefined, + name: undefined, + tags: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.arn !== undefined && data.arn !== null) { + contents.arn = data.arn; + } + if (data.associatedResourceCount !== undefined && data.associatedResourceCount !== null) { + contents.associatedResourceCount = data.associatedResourceCount; + } + if (data.creationTime !== undefined && data.creationTime !== null) { + contents.creationTime = new Date(data.creationTime); + } + if (data.description !== undefined && data.description !== null) { + contents.description = data.description; + } + if (data.id !== undefined && data.id !== null) { + contents.id = data.id; + } + if (data.lastUpdateTime !== undefined && data.lastUpdateTime !== null) { + contents.lastUpdateTime = new Date(data.lastUpdateTime); + } + if (data.name !== undefined && data.name !== null) { + contents.name = data.name; + } + if (data.tags !== undefined && data.tags !== null) { + contents.tags = deserializeAws_restJson1Tags(data.tags, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1GetApplicationCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1GetAttributeGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1GetAttributeGroupCommandError(output, context); + } + const contents: GetAttributeGroupCommandOutput = { + $metadata: deserializeMetadata(output), + arn: undefined, + attributes: undefined, + creationTime: undefined, + description: undefined, + id: undefined, + lastUpdateTime: undefined, + name: undefined, + tags: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.arn !== undefined && data.arn !== null) { + contents.arn = data.arn; + } + if (data.attributes !== undefined && data.attributes !== null) { + contents.attributes = data.attributes; + } + if (data.creationTime !== undefined && data.creationTime !== null) { + contents.creationTime = new Date(data.creationTime); + } + if (data.description !== undefined && data.description !== null) { + contents.description = data.description; + } + if (data.id !== undefined && data.id !== null) { + contents.id = data.id; + } + if (data.lastUpdateTime !== undefined && data.lastUpdateTime !== null) { + contents.lastUpdateTime = new Date(data.lastUpdateTime); + } + if (data.name !== undefined && data.name !== null) { + contents.name = data.name; + } + if (data.tags !== undefined && data.tags !== null) { + contents.tags = deserializeAws_restJson1Tags(data.tags, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1GetAttributeGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListApplicationsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListApplicationsCommandError(output, context); + } + const contents: ListApplicationsCommandOutput = { + $metadata: deserializeMetadata(output), + applications: undefined, + nextToken: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.applications !== undefined && data.applications !== null) { + contents.applications = deserializeAws_restJson1ApplicationSummaries(data.applications, context); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = data.nextToken; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListApplicationsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAssociatedAttributeGroupsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAssociatedAttributeGroupsCommandError(output, context); + } + const contents: ListAssociatedAttributeGroupsCommandOutput = { + $metadata: deserializeMetadata(output), + attributeGroups: undefined, + nextToken: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.attributeGroups !== undefined && data.attributeGroups !== null) { + contents.attributeGroups = deserializeAws_restJson1AttributeGroupIds(data.attributeGroups, context); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = data.nextToken; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAssociatedAttributeGroupsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAssociatedResourcesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAssociatedResourcesCommandError(output, context); + } + const contents: ListAssociatedResourcesCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + resources: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = data.nextToken; + } + if (data.resources !== undefined && data.resources !== null) { + contents.resources = deserializeAws_restJson1Resources(data.resources, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAssociatedResourcesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAttributeGroupsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAttributeGroupsCommandError(output, context); + } + const contents: ListAttributeGroupsCommandOutput = { + $metadata: deserializeMetadata(output), + attributeGroups: undefined, + nextToken: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.attributeGroups !== undefined && data.attributeGroups !== null) { + contents.attributeGroups = deserializeAws_restJson1AttributeGroupSummaries(data.attributeGroups, context); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = data.nextToken; + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAttributeGroupsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateApplicationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateApplicationCommandError(output, context); + } + const contents: UpdateApplicationCommandOutput = { + $metadata: deserializeMetadata(output), + application: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.application !== undefined && data.application !== null) { + contents.application = deserializeAws_restJson1Application(data.application, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateApplicationCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.servicecatalogappregistry#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateAttributeGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateAttributeGroupCommandError(output, context); + } + const contents: UpdateAttributeGroupCommandOutput = { + $metadata: deserializeMetadata(output), + attributeGroup: undefined, + }; + const data: any = await parseBody(output.body, context); + if (data.attributeGroup !== undefined && data.attributeGroup !== null) { + contents.attributeGroup = deserializeAws_restJson1AttributeGroup(data.attributeGroup, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateAttributeGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.servicecatalogappregistry#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.servicecatalogappregistry#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.servicecatalogappregistry#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +const deserializeAws_restJson1ConflictExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ConflictException = { + name: "ConflictException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = data.message; + } + return contents; +}; + +const deserializeAws_restJson1InternalServerExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: InternalServerException = { + name: "InternalServerException", + $fault: "server", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = data.message; + } + return contents; +}; + +const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ResourceNotFoundException = { + name: "ResourceNotFoundException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = data.message; + } + return contents; +}; + +const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ServiceQuotaExceededException = { + name: "ServiceQuotaExceededException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = data.message; + } + return contents; +}; + +const deserializeAws_restJson1ValidationExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ValidationException = { + name: "ValidationException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = data.message; + } + return contents; +}; + +const serializeAws_restJson1Tags = (input: { [key: string]: string }, context: __SerdeContext): any => { + return Object.entries(input).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + +const deserializeAws_restJson1Application = (output: any, context: __SerdeContext): Application => { + return { + arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, + creationTime: + output.creationTime !== undefined && output.creationTime !== null ? new Date(output.creationTime) : undefined, + description: output.description !== undefined && output.description !== null ? output.description : undefined, + id: output.id !== undefined && output.id !== null ? output.id : undefined, + lastUpdateTime: + output.lastUpdateTime !== undefined && output.lastUpdateTime !== null + ? new Date(output.lastUpdateTime) + : undefined, + name: output.name !== undefined && output.name !== null ? output.name : undefined, + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_restJson1Tags(output.tags, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1ApplicationSummaries = (output: any, context: __SerdeContext): ApplicationSummary[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1ApplicationSummary(entry, context)); +}; + +const deserializeAws_restJson1ApplicationSummary = (output: any, context: __SerdeContext): ApplicationSummary => { + return { + arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, + creationTime: + output.creationTime !== undefined && output.creationTime !== null ? new Date(output.creationTime) : undefined, + description: output.description !== undefined && output.description !== null ? output.description : undefined, + id: output.id !== undefined && output.id !== null ? output.id : undefined, + lastUpdateTime: + output.lastUpdateTime !== undefined && output.lastUpdateTime !== null + ? new Date(output.lastUpdateTime) + : undefined, + name: output.name !== undefined && output.name !== null ? output.name : undefined, + } as any; +}; + +const deserializeAws_restJson1AttributeGroup = (output: any, context: __SerdeContext): AttributeGroup => { + return { + arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, + creationTime: + output.creationTime !== undefined && output.creationTime !== null ? new Date(output.creationTime) : undefined, + description: output.description !== undefined && output.description !== null ? output.description : undefined, + id: output.id !== undefined && output.id !== null ? output.id : undefined, + lastUpdateTime: + output.lastUpdateTime !== undefined && output.lastUpdateTime !== null + ? new Date(output.lastUpdateTime) + : undefined, + name: output.name !== undefined && output.name !== null ? output.name : undefined, + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_restJson1Tags(output.tags, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AttributeGroupIds = (output: any, context: __SerdeContext): string[] => { + return (output || []).map((entry: any) => entry); +}; + +const deserializeAws_restJson1AttributeGroupSummaries = ( + output: any, + context: __SerdeContext +): AttributeGroupSummary[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1AttributeGroupSummary(entry, context)); +}; + +const deserializeAws_restJson1AttributeGroupSummary = (output: any, context: __SerdeContext): AttributeGroupSummary => { + return { + arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, + creationTime: + output.creationTime !== undefined && output.creationTime !== null ? new Date(output.creationTime) : undefined, + description: output.description !== undefined && output.description !== null ? output.description : undefined, + id: output.id !== undefined && output.id !== null ? output.id : undefined, + lastUpdateTime: + output.lastUpdateTime !== undefined && output.lastUpdateTime !== null + ? new Date(output.lastUpdateTime) + : undefined, + name: output.name !== undefined && output.name !== null ? output.name : undefined, + } as any; +}; + +const deserializeAws_restJson1ResourceInfo = (output: any, context: __SerdeContext): ResourceInfo => { + return { + arn: output.arn !== undefined && output.arn !== null ? output.arn : undefined, + name: output.name !== undefined && output.name !== null ? output.name : undefined, + } as any; +}; + +const deserializeAws_restJson1Resources = (output: any, context: __SerdeContext): ResourceInfo[] => { + return (output || []).map((entry: any) => deserializeAws_restJson1ResourceInfo(entry, context)); +}; + +const deserializeAws_restJson1Tags = (output: any, context: __SerdeContext): { [key: string]: string } => { + return Object.entries(output).reduce( + (acc: { [key: string]: string }, [key, value]: [string, any]) => ({ + ...acc, + [key]: value, + }), + {} + ); +}; + +const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ + httpStatusCode: output.statusCode, + httpHeaders: output.headers, + requestId: output.headers["x-amzn-requestid"], +}); + +// Collect low-level response body stream to Uint8Array. +const collectBody = (streamBody: any = new Uint8Array(), context: __SerdeContext): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } + return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()); +}; + +// Encode Uint8Array data into string with utf-8. +const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => + collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); + +const isSerializableHeaderValue = (value: any): boolean => + value !== undefined && + value !== "" && + (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && + (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); + +const parseBody = (streamBody: any, context: __SerdeContext): any => + collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + return JSON.parse(encoded); + } + return {}; + }); + +/** + * Load an error code for the aws.rest-json-1.1 protocol. + */ +const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string => { + const findKey = (object: any, key: string) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + + const sanitizeErrorCode = (rawValue: string): string => { + let cleanValue = rawValue; + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== undefined) { + return sanitizeErrorCode(output.headers[headerKey]); + } + + if (data.code !== undefined) { + return sanitizeErrorCode(data.code); + } + + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } + + return ""; +}; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts b/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts new file mode 100644 index 000000000000..b7fa43d9b405 --- /dev/null +++ b/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts @@ -0,0 +1,31 @@ +import packageInfo from "./package.json"; + +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; +import { invalidFunction } from "@aws-sdk/invalid-dependency"; +import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; +import { parseUrl } from "@aws-sdk/url-parser-browser"; +import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; +import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; +import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; +import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser"; +import { ClientDefaults } from "./ServiceCatalogAppRegistryClient"; +import { ClientSharedValues } from "./runtimeConfig.shared"; + +export const ClientDefaultValues: Required = { + ...ClientSharedValues, + runtime: "browser", + base64Decoder: fromBase64, + base64Encoder: toBase64, + bodyLengthChecker: calculateBodyLength, + credentialDefaultProvider: invalidFunction("Credential is missing") as any, + defaultUserAgent: defaultUserAgent(packageInfo.name, packageInfo.version), + maxAttempts: DEFAULT_MAX_ATTEMPTS, + region: invalidFunction("Region is missing") as any, + requestHandler: new FetchHttpHandler(), + sha256: Sha256, + streamCollector, + urlParser: parseUrl, + utf8Decoder: fromUtf8, + utf8Encoder: toUtf8, +}; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.native.ts b/clients/client-service-catalog-appregistry/runtimeConfig.native.ts new file mode 100644 index 000000000000..3450d900c5a0 --- /dev/null +++ b/clients/client-service-catalog-appregistry/runtimeConfig.native.ts @@ -0,0 +1,14 @@ +import packageInfo from "./package.json"; + +import { Sha256 } from "@aws-crypto/sha256-js"; +import { parseUrl } from "@aws-sdk/url-parser-node"; +import { ClientDefaults } from "./ServiceCatalogAppRegistryClient"; +import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; + +export const ClientDefaultValues: Required = { + ...BrowserDefaults, + runtime: "react-native", + defaultUserAgent: `aws-sdk-js-v3-react-native-${packageInfo.name}/${packageInfo.version}`, + sha256: Sha256, + urlParser: parseUrl, +}; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts b/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts new file mode 100644 index 000000000000..5b8ee8cc46e5 --- /dev/null +++ b/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts @@ -0,0 +1,10 @@ +import { defaultRegionInfoProvider } from "./endpoints"; +import { Logger as __Logger } from "@aws-sdk/types"; + +export const ClientSharedValues = { + apiVersion: "2020-06-24", + disableHostPrefix: false, + logger: {} as __Logger, + regionInfoProvider: defaultRegionInfoProvider, + signingName: "servicecatalog", +}; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.ts b/clients/client-service-catalog-appregistry/runtimeConfig.ts new file mode 100644 index 000000000000..eb621700c4f4 --- /dev/null +++ b/clients/client-service-catalog-appregistry/runtimeConfig.ts @@ -0,0 +1,33 @@ +import packageInfo from "./package.json"; + +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver"; +import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; +import { Hash } from "@aws-sdk/hash-node"; +import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; +import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; +import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; +import { parseUrl } from "@aws-sdk/url-parser-node"; +import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; +import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; +import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; +import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node"; +import { ClientDefaults } from "./ServiceCatalogAppRegistryClient"; +import { ClientSharedValues } from "./runtimeConfig.shared"; + +export const ClientDefaultValues: Required = { + ...ClientSharedValues, + runtime: "node", + base64Decoder: fromBase64, + base64Encoder: toBase64, + bodyLengthChecker: calculateBodyLength, + credentialDefaultProvider, + defaultUserAgent: defaultUserAgent(packageInfo.name, packageInfo.version), + maxAttempts: loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: new NodeHttpHandler(), + sha256: Hash.bind(null, "sha256"), + streamCollector, + urlParser: parseUrl, + utf8Decoder: fromUtf8, + utf8Encoder: toUtf8, +}; diff --git a/clients/client-service-catalog-appregistry/tsconfig.es.json b/clients/client-service-catalog-appregistry/tsconfig.es.json new file mode 100644 index 000000000000..30df5d2e6986 --- /dev/null +++ b/clients/client-service-catalog-appregistry/tsconfig.es.json @@ -0,0 +1,12 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "target": "es5", + "module": "esnext", + "moduleResolution": "node", + "declaration": false, + "declarationDir": null, + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], + "outDir": "dist/es" + } +} diff --git a/clients/client-service-catalog-appregistry/tsconfig.json b/clients/client-service-catalog-appregistry/tsconfig.json new file mode 100644 index 000000000000..3b440583a9a2 --- /dev/null +++ b/clients/client-service-catalog-appregistry/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "alwaysStrict": true, + "target": "ES2018", + "module": "commonjs", + "declaration": true, + "strict": true, + "sourceMap": true, + "downlevelIteration": true, + "importHelpers": true, + "noEmitHelpers": true, + "incremental": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "declarationDir": "./types", + "outDir": "dist/cjs" + }, + "typedocOptions": { + "exclude": "**/node_modules/**", + "excludedNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "mode": "file", + "out": "./docs", + "plugin": "@aws-sdk/client-documentation-generator" + } +} From cd5d888933a651e1c2445169837a9d6f20557a5e Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Fri, 13 Nov 2020 19:44:54 +0000 Subject: [PATCH 5/7] fix: use latest smithy-typescript for codegen Refs: https://github.com/aws/aws-sdk-js-v3/pull/1676#pullrequestreview-530333822 --- .../pagination/ListAnalyzedResourcesPaginator.ts | 2 +- .../client-accessanalyzer/pagination/ListAnalyzersPaginator.ts | 2 +- .../pagination/ListArchiveRulesPaginator.ts | 2 +- .../client-accessanalyzer/pagination/ListFindingsPaginator.ts | 2 +- .../pagination/ListCertificateAuthoritiesPaginator.ts | 2 +- clients/client-acm-pca/pagination/ListPermissionsPaginator.ts | 2 +- clients/client-acm-pca/pagination/ListTagsPaginator.ts | 2 +- clients/client-acm/pagination/ListCertificatesPaginator.ts | 2 +- .../pagination/ListBusinessReportSchedulesPaginator.ts | 2 +- .../pagination/ListConferenceProvidersPaginator.ts | 2 +- .../pagination/ListDeviceEventsPaginator.ts | 2 +- .../pagination/ListGatewayGroupsPaginator.ts | 2 +- .../pagination/ListGatewaysPaginator.ts | 2 +- .../client-alexa-for-business/pagination/ListSkillsPaginator.ts | 2 +- .../pagination/ListSkillsStoreCategoriesPaginator.ts | 2 +- .../pagination/ListSkillsStoreSkillsByCategoryPaginator.ts | 2 +- .../pagination/ListSmartHomeAppliancesPaginator.ts | 2 +- .../client-alexa-for-business/pagination/ListTagsPaginator.ts | 2 +- .../pagination/SearchAddressBooksPaginator.ts | 2 +- .../pagination/SearchContactsPaginator.ts | 2 +- .../pagination/SearchDevicesPaginator.ts | 2 +- .../pagination/SearchNetworkProfilesPaginator.ts | 2 +- .../pagination/SearchProfilesPaginator.ts | 2 +- .../pagination/SearchRoomsPaginator.ts | 2 +- .../pagination/SearchSkillGroupsPaginator.ts | 2 +- .../pagination/SearchUsersPaginator.ts | 2 +- clients/client-api-gateway/pagination/GetApiKeysPaginator.ts | 2 +- .../pagination/GetBasePathMappingsPaginator.ts | 2 +- .../pagination/GetClientCertificatesPaginator.ts | 2 +- .../client-api-gateway/pagination/GetDeploymentsPaginator.ts | 2 +- .../client-api-gateway/pagination/GetDomainNamesPaginator.ts | 2 +- clients/client-api-gateway/pagination/GetModelsPaginator.ts | 2 +- clients/client-api-gateway/pagination/GetResourcesPaginator.ts | 2 +- clients/client-api-gateway/pagination/GetRestApisPaginator.ts | 2 +- clients/client-api-gateway/pagination/GetUsagePaginator.ts | 2 +- .../client-api-gateway/pagination/GetUsagePlanKeysPaginator.ts | 2 +- clients/client-api-gateway/pagination/GetUsagePlansPaginator.ts | 2 +- clients/client-api-gateway/pagination/GetVpcLinksPaginator.ts | 2 +- .../client-app-mesh/pagination/ListGatewayRoutesPaginator.ts | 2 +- clients/client-app-mesh/pagination/ListMeshesPaginator.ts | 2 +- clients/client-app-mesh/pagination/ListRoutesPaginator.ts | 2 +- .../client-app-mesh/pagination/ListTagsForResourcePaginator.ts | 2 +- .../client-app-mesh/pagination/ListVirtualGatewaysPaginator.ts | 2 +- clients/client-app-mesh/pagination/ListVirtualNodesPaginator.ts | 2 +- .../client-app-mesh/pagination/ListVirtualRoutersPaginator.ts | 2 +- .../client-app-mesh/pagination/ListVirtualServicesPaginator.ts | 2 +- .../client-appconfig/pagination/ListApplicationsPaginator.ts | 2 +- .../pagination/ListConfigurationProfilesPaginator.ts | 2 +- .../pagination/ListDeploymentStrategiesPaginator.ts | 2 +- clients/client-appconfig/pagination/ListDeploymentsPaginator.ts | 2 +- .../client-appconfig/pagination/ListEnvironmentsPaginator.ts | 2 +- .../pagination/ListHostedConfigurationVersionsPaginator.ts | 2 +- .../pagination/DescribeConnectorProfilesPaginator.ts | 2 +- .../client-appflow/pagination/DescribeConnectorsPaginator.ts | 2 +- .../pagination/DescribeFlowExecutionRecordsPaginator.ts | 2 +- clients/client-appflow/pagination/ListFlowsPaginator.ts | 2 +- .../pagination/DescribeScalableTargetsPaginator.ts | 2 +- .../pagination/DescribeScalingActivitiesPaginator.ts | 2 +- .../pagination/DescribeScalingPoliciesPaginator.ts | 2 +- .../pagination/DescribeScheduledActionsPaginator.ts | 2 +- .../pagination/DescribeContinuousExportsPaginator.ts | 2 +- .../pagination/DescribeImportTasksPaginator.ts | 2 +- .../pagination/ListApplicationsPaginator.ts | 2 +- .../pagination/ListComponentsPaginator.ts | 2 +- .../pagination/ListConfigurationHistoryPaginator.ts | 2 +- .../pagination/ListLogPatternSetsPaginator.ts | 2 +- .../pagination/ListLogPatternsPaginator.ts | 2 +- .../pagination/ListProblemsPaginator.ts | 2 +- .../pagination/DescribeImagePermissionsPaginator.ts | 2 +- clients/client-appstream/pagination/DescribeImagesPaginator.ts | 2 +- clients/client-athena/pagination/GetQueryResultsPaginator.ts | 2 +- clients/client-athena/pagination/ListDataCatalogsPaginator.ts | 2 +- clients/client-athena/pagination/ListDatabasesPaginator.ts | 2 +- clients/client-athena/pagination/ListNamedQueriesPaginator.ts | 2 +- .../client-athena/pagination/ListQueryExecutionsPaginator.ts | 2 +- clients/client-athena/pagination/ListTableMetadataPaginator.ts | 2 +- .../client-athena/pagination/ListTagsForResourcePaginator.ts | 2 +- clients/client-athena/pagination/ListWorkGroupsPaginator.ts | 2 +- .../pagination/DescribeAutoScalingGroupsPaginator.ts | 2 +- .../pagination/DescribeAutoScalingInstancesPaginator.ts | 2 +- .../pagination/DescribeLaunchConfigurationsPaginator.ts | 2 +- .../pagination/DescribeNotificationConfigurationsPaginator.ts | 2 +- .../client-auto-scaling/pagination/DescribePoliciesPaginator.ts | 2 +- .../pagination/DescribeScalingActivitiesPaginator.ts | 2 +- .../pagination/DescribeScheduledActionsPaginator.ts | 2 +- clients/client-auto-scaling/pagination/DescribeTagsPaginator.ts | 2 +- clients/client-backup/pagination/ListBackupJobsPaginator.ts | 2 +- .../pagination/ListBackupPlanTemplatesPaginator.ts | 2 +- .../client-backup/pagination/ListBackupPlanVersionsPaginator.ts | 2 +- clients/client-backup/pagination/ListBackupPlansPaginator.ts | 2 +- .../client-backup/pagination/ListBackupSelectionsPaginator.ts | 2 +- clients/client-backup/pagination/ListBackupVaultsPaginator.ts | 2 +- clients/client-backup/pagination/ListCopyJobsPaginator.ts | 2 +- .../client-backup/pagination/ListProtectedResourcesPaginator.ts | 2 +- .../pagination/ListRecoveryPointsByBackupVaultPaginator.ts | 2 +- .../pagination/ListRecoveryPointsByResourcePaginator.ts | 2 +- clients/client-backup/pagination/ListRestoreJobsPaginator.ts | 2 +- clients/client-backup/pagination/ListTagsPaginator.ts | 2 +- .../pagination/DescribeComputeEnvironmentsPaginator.ts | 2 +- .../client-batch/pagination/DescribeJobDefinitionsPaginator.ts | 2 +- clients/client-batch/pagination/DescribeJobQueuesPaginator.ts | 2 +- clients/client-batch/pagination/ListJobsPaginator.ts | 2 +- clients/client-braket/pagination/SearchDevicesPaginator.ts | 2 +- clients/client-braket/pagination/SearchQuantumTasksPaginator.ts | 2 +- .../pagination/DescribeBudgetActionHistoriesPaginator.ts | 2 +- .../pagination/DescribeBudgetActionsForAccountPaginator.ts | 2 +- .../pagination/DescribeBudgetActionsForBudgetPaginator.ts | 2 +- clients/client-budgets/pagination/DescribeBudgetsPaginator.ts | 2 +- .../pagination/DescribeNotificationsForBudgetPaginator.ts | 2 +- .../pagination/DescribeSubscribersForNotificationPaginator.ts | 2 +- clients/client-chime/pagination/ListAccountsPaginator.ts | 2 +- clients/client-chime/pagination/ListAttendeesPaginator.ts | 2 +- clients/client-chime/pagination/ListBotsPaginator.ts | 2 +- clients/client-chime/pagination/ListMeetingsPaginator.ts | 2 +- .../client-chime/pagination/ListPhoneNumberOrdersPaginator.ts | 2 +- clients/client-chime/pagination/ListPhoneNumbersPaginator.ts | 2 +- clients/client-chime/pagination/ListProxySessionsPaginator.ts | 2 +- clients/client-chime/pagination/ListRoomMembershipsPaginator.ts | 2 +- clients/client-chime/pagination/ListRoomsPaginator.ts | 2 +- clients/client-chime/pagination/ListUsersPaginator.ts | 2 +- .../pagination/ListVoiceConnectorGroupsPaginator.ts | 2 +- clients/client-chime/pagination/ListVoiceConnectorsPaginator.ts | 2 +- .../pagination/DescribeEnvironmentMembershipsPaginator.ts | 2 +- clients/client-cloud9/pagination/ListEnvironmentsPaginator.ts | 2 +- .../pagination/ListAppliedSchemaArnsPaginator.ts | 2 +- .../pagination/ListAttachedIndicesPaginator.ts | 2 +- .../pagination/ListDevelopmentSchemaArnsPaginator.ts | 2 +- .../pagination/ListDirectoriesPaginator.ts | 2 +- .../pagination/ListFacetAttributesPaginator.ts | 2 +- .../client-clouddirectory/pagination/ListFacetNamesPaginator.ts | 2 +- clients/client-clouddirectory/pagination/ListIndexPaginator.ts | 2 +- .../pagination/ListManagedSchemaArnsPaginator.ts | 2 +- .../pagination/ListObjectAttributesPaginator.ts | 2 +- .../pagination/ListObjectChildrenPaginator.ts | 2 +- .../pagination/ListObjectParentPathsPaginator.ts | 2 +- .../pagination/ListObjectParentsPaginator.ts | 2 +- .../pagination/ListObjectPoliciesPaginator.ts | 2 +- .../pagination/ListPolicyAttachmentsPaginator.ts | 2 +- .../pagination/ListPublishedSchemaArnsPaginator.ts | 2 +- .../pagination/ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListTypedLinkFacetAttributesPaginator.ts | 2 +- .../pagination/ListTypedLinkFacetNamesPaginator.ts | 2 +- .../client-clouddirectory/pagination/LookupPolicyPaginator.ts | 2 +- .../pagination/DescribeAccountLimitsPaginator.ts | 2 +- .../pagination/DescribeStackEventsPaginator.ts | 2 +- .../pagination/DescribeStackResourceDriftsPaginator.ts | 2 +- .../client-cloudformation/pagination/DescribeStacksPaginator.ts | 2 +- .../client-cloudformation/pagination/ListChangeSetsPaginator.ts | 2 +- .../client-cloudformation/pagination/ListExportsPaginator.ts | 2 +- .../client-cloudformation/pagination/ListImportsPaginator.ts | 2 +- .../pagination/ListStackInstancesPaginator.ts | 2 +- .../pagination/ListStackResourcesPaginator.ts | 2 +- .../pagination/ListStackSetOperationResultsPaginator.ts | 2 +- .../pagination/ListStackSetOperationsPaginator.ts | 2 +- .../client-cloudformation/pagination/ListStackSetsPaginator.ts | 2 +- clients/client-cloudformation/pagination/ListStacksPaginator.ts | 2 +- .../pagination/ListTypeRegistrationsPaginator.ts | 2 +- .../pagination/ListTypeVersionsPaginator.ts | 2 +- clients/client-cloudformation/pagination/ListTypesPaginator.ts | 2 +- .../client-cloudhsm-v2/pagination/DescribeBackupsPaginator.ts | 2 +- .../client-cloudhsm-v2/pagination/DescribeClustersPaginator.ts | 2 +- clients/client-cloudhsm-v2/pagination/ListTagsPaginator.ts | 2 +- clients/client-cloudtrail/pagination/ListPublicKeysPaginator.ts | 2 +- clients/client-cloudtrail/pagination/ListTagsPaginator.ts | 2 +- clients/client-cloudtrail/pagination/ListTrailsPaginator.ts | 2 +- clients/client-cloudtrail/pagination/LookupEventsPaginator.ts | 2 +- .../pagination/DescribeDestinationsPaginator.ts | 2 +- .../pagination/DescribeLogGroupsPaginator.ts | 2 +- .../pagination/DescribeLogStreamsPaginator.ts | 2 +- .../pagination/DescribeMetricFiltersPaginator.ts | 2 +- .../pagination/DescribeSubscriptionFiltersPaginator.ts | 2 +- .../pagination/FilterLogEventsPaginator.ts | 2 +- .../client-cloudwatch-logs/pagination/GetLogEventsPaginator.ts | 2 +- .../pagination/DescribeAlarmHistoryPaginator.ts | 2 +- clients/client-cloudwatch/pagination/DescribeAlarmsPaginator.ts | 2 +- .../pagination/DescribeInsightRulesPaginator.ts | 2 +- clients/client-cloudwatch/pagination/GetMetricDataPaginator.ts | 2 +- clients/client-cloudwatch/pagination/ListDashboardsPaginator.ts | 2 +- clients/client-cloudwatch/pagination/ListMetricsPaginator.ts | 2 +- clients/client-codeartifact/pagination/ListDomainsPaginator.ts | 2 +- .../pagination/ListPackageVersionAssetsPaginator.ts | 2 +- .../pagination/ListPackageVersionsPaginator.ts | 2 +- clients/client-codeartifact/pagination/ListPackagesPaginator.ts | 2 +- .../pagination/ListRepositoriesInDomainPaginator.ts | 2 +- .../client-codeartifact/pagination/ListRepositoriesPaginator.ts | 2 +- .../pagination/DescribeCodeCoveragesPaginator.ts | 2 +- .../client-codebuild/pagination/DescribeTestCasesPaginator.ts | 2 +- .../pagination/ListBuildBatchesForProjectPaginator.ts | 2 +- .../client-codebuild/pagination/ListBuildBatchesPaginator.ts | 2 +- .../pagination/ListBuildsForProjectPaginator.ts | 2 +- clients/client-codebuild/pagination/ListBuildsPaginator.ts | 2 +- clients/client-codebuild/pagination/ListProjectsPaginator.ts | 2 +- .../client-codebuild/pagination/ListReportGroupsPaginator.ts | 2 +- .../pagination/ListReportsForReportGroupPaginator.ts | 2 +- clients/client-codebuild/pagination/ListReportsPaginator.ts | 2 +- .../client-codebuild/pagination/ListSharedProjectsPaginator.ts | 2 +- .../pagination/ListSharedReportGroupsPaginator.ts | 2 +- .../pagination/DescribeMergeConflictsPaginator.ts | 2 +- .../pagination/DescribePullRequestEventsPaginator.ts | 2 +- .../pagination/GetCommentReactionsPaginator.ts | 2 +- .../pagination/GetCommentsForComparedCommitPaginator.ts | 2 +- .../pagination/GetCommentsForPullRequestPaginator.ts | 2 +- clients/client-codecommit/pagination/GetDifferencesPaginator.ts | 2 +- .../client-codecommit/pagination/GetMergeConflictsPaginator.ts | 2 +- .../pagination/ListApprovalRuleTemplatesPaginator.ts | 2 +- ...ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.ts | 2 +- clients/client-codecommit/pagination/ListBranchesPaginator.ts | 2 +- .../client-codecommit/pagination/ListPullRequestsPaginator.ts | 2 +- .../ListRepositoriesForApprovalRuleTemplatePaginator.ts | 2 +- .../client-codecommit/pagination/ListRepositoriesPaginator.ts | 2 +- .../pagination/ListApplicationRevisionsPaginator.ts | 2 +- .../client-codedeploy/pagination/ListApplicationsPaginator.ts | 2 +- .../pagination/ListDeploymentConfigsPaginator.ts | 2 +- .../pagination/ListDeploymentGroupsPaginator.ts | 2 +- .../pagination/ListDeploymentInstancesPaginator.ts | 2 +- .../client-codedeploy/pagination/ListDeploymentsPaginator.ts | 2 +- .../pagination/ListCodeReviewsPaginator.ts | 2 +- .../pagination/ListRecommendationFeedbackPaginator.ts | 2 +- .../pagination/ListRecommendationsPaginator.ts | 2 +- .../pagination/ListRepositoryAssociationsPaginator.ts | 2 +- .../pagination/ListProfileTimesPaginator.ts | 2 +- .../pagination/ListProfilingGroupsPaginator.ts | 2 +- .../pagination/ListActionExecutionsPaginator.ts | 2 +- .../client-codepipeline/pagination/ListActionTypesPaginator.ts | 2 +- .../pagination/ListPipelineExecutionsPaginator.ts | 2 +- .../client-codepipeline/pagination/ListPipelinesPaginator.ts | 2 +- .../pagination/ListTagsForResourcePaginator.ts | 2 +- clients/client-codepipeline/pagination/ListWebhooksPaginator.ts | 2 +- .../pagination/ListConnectionsPaginator.ts | 2 +- .../pagination/ListHostsPaginator.ts | 2 +- .../pagination/ListEventTypesPaginator.ts | 2 +- .../pagination/ListNotificationRulesPaginator.ts | 2 +- .../pagination/ListTargetsPaginator.ts | 2 +- .../pagination/AdminListGroupsForUserPaginator.ts | 2 +- .../pagination/AdminListUserAuthEventsPaginator.ts | 2 +- .../pagination/ListGroupsPaginator.ts | 2 +- .../pagination/ListIdentityProvidersPaginator.ts | 2 +- .../pagination/ListResourceServersPaginator.ts | 2 +- .../pagination/ListUserPoolClientsPaginator.ts | 2 +- .../pagination/ListUsersInGroupPaginator.ts | 2 +- .../pagination/ListUsersPaginator.ts | 2 +- .../pagination/ListDocumentClassificationJobsPaginator.ts | 2 +- .../pagination/ListDocumentClassifiersPaginator.ts | 2 +- .../pagination/ListDominantLanguageDetectionJobsPaginator.ts | 2 +- .../pagination/ListEntitiesDetectionJobsPaginator.ts | 2 +- .../pagination/ListEntityRecognizersPaginator.ts | 2 +- .../pagination/ListKeyPhrasesDetectionJobsPaginator.ts | 2 +- .../pagination/ListSentimentDetectionJobsPaginator.ts | 2 +- .../pagination/ListTopicsDetectionJobsPaginator.ts | 2 +- .../pagination/DescribeRemediationExceptionsPaginator.ts | 2 +- .../pagination/DescribeRemediationExecutionStatusPaginator.ts | 2 +- .../pagination/GetResourceConfigHistoryPaginator.ts | 2 +- .../pagination/SelectAggregateResourceConfigPaginator.ts | 2 +- .../client-connect/pagination/GetCurrentMetricDataPaginator.ts | 2 +- clients/client-connect/pagination/GetMetricDataPaginator.ts | 2 +- clients/client-connect/pagination/ListContactFlowsPaginator.ts | 2 +- .../client-connect/pagination/ListHoursOfOperationsPaginator.ts | 2 +- clients/client-connect/pagination/ListPhoneNumbersPaginator.ts | 2 +- clients/client-connect/pagination/ListPromptsPaginator.ts | 2 +- clients/client-connect/pagination/ListQueuesPaginator.ts | 2 +- .../pagination/ListRoutingProfileQueuesPaginator.ts | 2 +- .../client-connect/pagination/ListRoutingProfilesPaginator.ts | 2 +- .../client-connect/pagination/ListSecurityProfilesPaginator.ts | 2 +- .../pagination/ListUserHierarchyGroupsPaginator.ts | 2 +- clients/client-connect/pagination/ListUsersPaginator.ts | 2 +- .../pagination/GetTranscriptPaginator.ts | 2 +- .../pagination/DescribeReportDefinitionsPaginator.ts | 2 +- .../pagination/GetSavingsPlansCoveragePaginator.ts | 2 +- .../pagination/GetSavingsPlansUtilizationDetailsPaginator.ts | 2 +- .../pagination/ListCostCategoryDefinitionsPaginator.ts | 2 +- .../client-data-pipeline/pagination/DescribeObjectsPaginator.ts | 2 +- .../client-data-pipeline/pagination/ListPipelinesPaginator.ts | 2 +- .../client-data-pipeline/pagination/QueryObjectsPaginator.ts | 2 +- .../DescribeApplicableIndividualAssessmentsPaginator.ts | 2 +- .../pagination/DescribeCertificatesPaginator.ts | 2 +- .../pagination/DescribeConnectionsPaginator.ts | 2 +- .../pagination/DescribeEndpointTypesPaginator.ts | 2 +- .../pagination/DescribeEndpointsPaginator.ts | 2 +- .../pagination/DescribeEventSubscriptionsPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- .../DescribeOrderableReplicationInstancesPaginator.ts | 2 +- .../pagination/DescribePendingMaintenanceActionsPaginator.ts | 2 +- .../pagination/DescribeReplicationInstanceTaskLogsPaginator.ts | 2 +- .../pagination/DescribeReplicationInstancesPaginator.ts | 2 +- .../pagination/DescribeReplicationSubnetGroupsPaginator.ts | 2 +- .../DescribeReplicationTaskAssessmentResultsPaginator.ts | 2 +- .../DescribeReplicationTaskAssessmentRunsPaginator.ts | 2 +- .../DescribeReplicationTaskIndividualAssessmentsPaginator.ts | 2 +- .../pagination/DescribeReplicationTasksPaginator.ts | 2 +- .../pagination/DescribeSchemasPaginator.ts | 2 +- .../pagination/DescribeTableStatisticsPaginator.ts | 2 +- clients/client-databrew/pagination/ListDatasetsPaginator.ts | 2 +- clients/client-databrew/pagination/ListJobRunsPaginator.ts | 2 +- clients/client-databrew/pagination/ListJobsPaginator.ts | 2 +- clients/client-databrew/pagination/ListProjectsPaginator.ts | 2 +- .../client-databrew/pagination/ListRecipeVersionsPaginator.ts | 2 +- clients/client-databrew/pagination/ListRecipesPaginator.ts | 2 +- clients/client-databrew/pagination/ListSchedulesPaginator.ts | 2 +- .../pagination/ListDataSetRevisionsPaginator.ts | 2 +- clients/client-dataexchange/pagination/ListDataSetsPaginator.ts | 2 +- clients/client-dataexchange/pagination/ListJobsPaginator.ts | 2 +- .../pagination/ListRevisionAssetsPaginator.ts | 2 +- clients/client-datasync/pagination/ListAgentsPaginator.ts | 2 +- clients/client-datasync/pagination/ListLocationsPaginator.ts | 2 +- .../client-datasync/pagination/ListTagsForResourcePaginator.ts | 2 +- .../client-datasync/pagination/ListTaskExecutionsPaginator.ts | 2 +- clients/client-datasync/pagination/ListTasksPaginator.ts | 2 +- clients/client-detective/pagination/ListGraphsPaginator.ts | 2 +- clients/client-detective/pagination/ListInvitationsPaginator.ts | 2 +- clients/client-detective/pagination/ListMembersPaginator.ts | 2 +- .../client-device-farm/pagination/GetOfferingStatusPaginator.ts | 2 +- clients/client-device-farm/pagination/ListArtifactsPaginator.ts | 2 +- .../client-device-farm/pagination/ListDevicePoolsPaginator.ts | 2 +- clients/client-device-farm/pagination/ListDevicesPaginator.ts | 2 +- clients/client-device-farm/pagination/ListJobsPaginator.ts | 2 +- .../pagination/ListOfferingTransactionsPaginator.ts | 2 +- clients/client-device-farm/pagination/ListOfferingsPaginator.ts | 2 +- clients/client-device-farm/pagination/ListProjectsPaginator.ts | 2 +- clients/client-device-farm/pagination/ListRunsPaginator.ts | 2 +- clients/client-device-farm/pagination/ListSamplesPaginator.ts | 2 +- clients/client-device-farm/pagination/ListSuitesPaginator.ts | 2 +- .../pagination/ListTestGridProjectsPaginator.ts | 2 +- .../pagination/ListTestGridSessionActionsPaginator.ts | 2 +- .../pagination/ListTestGridSessionArtifactsPaginator.ts | 2 +- .../pagination/ListTestGridSessionsPaginator.ts | 2 +- clients/client-device-farm/pagination/ListTestsPaginator.ts | 2 +- .../pagination/ListUniqueProblemsPaginator.ts | 2 +- clients/client-device-farm/pagination/ListUploadsPaginator.ts | 2 +- .../pagination/DescribeDomainControllersPaginator.ts | 2 +- .../client-docdb/pagination/DescribeCertificatesPaginator.ts | 2 +- .../pagination/DescribeDBClusterParameterGroupsPaginator.ts | 2 +- .../pagination/DescribeDBClusterParametersPaginator.ts | 2 +- .../pagination/DescribeDBClusterSnapshotsPaginator.ts | 2 +- clients/client-docdb/pagination/DescribeDBClustersPaginator.ts | 2 +- .../pagination/DescribeDBEngineVersionsPaginator.ts | 2 +- clients/client-docdb/pagination/DescribeDBInstancesPaginator.ts | 2 +- .../client-docdb/pagination/DescribeDBSubnetGroupsPaginator.ts | 2 +- clients/client-docdb/pagination/DescribeEventsPaginator.ts | 2 +- .../pagination/DescribeOrderableDBInstanceOptionsPaginator.ts | 2 +- .../pagination/DescribePendingMaintenanceActionsPaginator.ts | 2 +- .../pagination/ListContributorInsightsPaginator.ts | 2 +- clients/client-dynamodb/pagination/ListExportsPaginator.ts | 2 +- clients/client-dynamodb/pagination/ListTablesPaginator.ts | 2 +- clients/client-ebs/pagination/ListChangedBlocksPaginator.ts | 2 +- clients/client-ebs/pagination/ListSnapshotBlocksPaginator.ts | 2 +- .../pagination/DescribeCapacityReservationsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeCarrierGatewaysPaginator.ts | 2 +- .../pagination/DescribeClassicLinkInstancesPaginator.ts | 2 +- .../pagination/DescribeClientVpnAuthorizationRulesPaginator.ts | 2 +- .../pagination/DescribeClientVpnConnectionsPaginator.ts | 2 +- .../pagination/DescribeClientVpnEndpointsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeClientVpnRoutesPaginator.ts | 2 +- .../pagination/DescribeClientVpnTargetNetworksPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeCoipPoolsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeDhcpOptionsPaginator.ts | 2 +- .../pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts | 2 +- .../client-ec2/pagination/DescribeExportImageTasksPaginator.ts | 2 +- .../pagination/DescribeFastSnapshotRestoresPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeFleetsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeFlowLogsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeFpgaImagesPaginator.ts | 2 +- .../pagination/DescribeHostReservationOfferingsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeHostReservationsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeHostsPaginator.ts | 2 +- .../DescribeIamInstanceProfileAssociationsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeImportImageTasksPaginator.ts | 2 +- .../pagination/DescribeImportSnapshotTasksPaginator.ts | 2 +- .../pagination/DescribeInstanceCreditSpecificationsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeInstanceStatusPaginator.ts | 2 +- .../pagination/DescribeInstanceTypeOfferingsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeInstanceTypesPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeInstancesPaginator.ts | 2 +- .../client-ec2/pagination/DescribeInternetGatewaysPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeIpv6PoolsPaginator.ts | 2 +- .../pagination/DescribeLaunchTemplateVersionsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeLaunchTemplatesPaginator.ts | 2 +- ...tewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts | 2 +- .../DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts | 2 +- .../pagination/DescribeLocalGatewayRouteTablesPaginator.ts | 2 +- .../DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts | 2 +- .../DescribeLocalGatewayVirtualInterfacesPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeLocalGatewaysPaginator.ts | 2 +- .../pagination/DescribeManagedPrefixListsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeMovingAddressesPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeNatGatewaysPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeNetworkAclsPaginator.ts | 2 +- .../pagination/DescribeNetworkInterfacePermissionsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeNetworkInterfacesPaginator.ts | 2 +- clients/client-ec2/pagination/DescribePrefixListsPaginator.ts | 2 +- .../client-ec2/pagination/DescribePrincipalIdFormatPaginator.ts | 2 +- .../client-ec2/pagination/DescribePublicIpv4PoolsPaginator.ts | 2 +- .../DescribeReservedInstancesModificationsPaginator.ts | 2 +- .../pagination/DescribeReservedInstancesOfferingsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeRouteTablesPaginator.ts | 2 +- .../DescribeScheduledInstanceAvailabilityPaginator.ts | 2 +- .../pagination/DescribeScheduledInstancesPaginator.ts | 2 +- .../client-ec2/pagination/DescribeSecurityGroupsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeSnapshotsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeSpotFleetRequestsPaginator.ts | 2 +- .../pagination/DescribeSpotInstanceRequestsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeSpotPriceHistoryPaginator.ts | 2 +- .../pagination/DescribeStaleSecurityGroupsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeSubnetsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeTagsPaginator.ts | 2 +- .../pagination/DescribeTrafficMirrorFiltersPaginator.ts | 2 +- .../pagination/DescribeTrafficMirrorSessionsPaginator.ts | 2 +- .../pagination/DescribeTrafficMirrorTargetsPaginator.ts | 2 +- .../pagination/DescribeTransitGatewayAttachmentsPaginator.ts | 2 +- .../DescribeTransitGatewayMulticastDomainsPaginator.ts | 2 +- .../DescribeTransitGatewayPeeringAttachmentsPaginator.ts | 2 +- .../pagination/DescribeTransitGatewayRouteTablesPaginator.ts | 2 +- .../pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts | 2 +- .../client-ec2/pagination/DescribeTransitGatewaysPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeVolumeStatusPaginator.ts | 2 +- .../pagination/DescribeVolumesModificationsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeVolumesPaginator.ts | 2 +- .../pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts | 2 +- .../DescribeVpcEndpointConnectionNotificationsPaginator.ts | 2 +- .../pagination/DescribeVpcEndpointConnectionsPaginator.ts | 2 +- .../DescribeVpcEndpointServiceConfigurationsPaginator.ts | 2 +- .../DescribeVpcEndpointServicePermissionsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeVpcEndpointsPaginator.ts | 2 +- .../pagination/DescribeVpcPeeringConnectionsPaginator.ts | 2 +- clients/client-ec2/pagination/DescribeVpcsPaginator.ts | 2 +- .../pagination/GetAssociatedIpv6PoolCidrsPaginator.ts | 2 +- .../pagination/GetGroupsForCapacityReservationPaginator.ts | 2 +- .../pagination/GetManagedPrefixListAssociationsPaginator.ts | 2 +- .../pagination/GetManagedPrefixListEntriesPaginator.ts | 2 +- .../GetTransitGatewayAttachmentPropagationsPaginator.ts | 2 +- .../GetTransitGatewayMulticastDomainAssociationsPaginator.ts | 2 +- .../GetTransitGatewayPrefixListReferencesPaginator.ts | 2 +- .../GetTransitGatewayRouteTableAssociationsPaginator.ts | 2 +- .../GetTransitGatewayRouteTablePropagationsPaginator.ts | 2 +- .../client-ec2/pagination/SearchLocalGatewayRoutesPaginator.ts | 2 +- .../pagination/SearchTransitGatewayMulticastGroupsPaginator.ts | 2 +- .../client-ecr/pagination/DescribeImageScanFindingsPaginator.ts | 2 +- clients/client-ecr/pagination/DescribeImagesPaginator.ts | 2 +- clients/client-ecr/pagination/DescribeRepositoriesPaginator.ts | 2 +- .../client-ecr/pagination/GetLifecyclePolicyPreviewPaginator.ts | 2 +- clients/client-ecr/pagination/ListImagesPaginator.ts | 2 +- clients/client-ecs/pagination/ListAccountSettingsPaginator.ts | 2 +- clients/client-ecs/pagination/ListAttributesPaginator.ts | 2 +- clients/client-ecs/pagination/ListClustersPaginator.ts | 2 +- .../client-ecs/pagination/ListContainerInstancesPaginator.ts | 2 +- clients/client-ecs/pagination/ListServicesPaginator.ts | 2 +- .../pagination/ListTaskDefinitionFamiliesPaginator.ts | 2 +- clients/client-ecs/pagination/ListTaskDefinitionsPaginator.ts | 2 +- clients/client-ecs/pagination/ListTasksPaginator.ts | 2 +- clients/client-efs/pagination/DescribeAccessPointsPaginator.ts | 2 +- clients/client-efs/pagination/DescribeFileSystemsPaginator.ts | 2 +- clients/client-efs/pagination/DescribeTagsPaginator.ts | 2 +- clients/client-efs/pagination/ListTagsForResourcePaginator.ts | 2 +- clients/client-eks/pagination/ListClustersPaginator.ts | 2 +- clients/client-eks/pagination/ListFargateProfilesPaginator.ts | 2 +- clients/client-eks/pagination/ListNodegroupsPaginator.ts | 2 +- clients/client-eks/pagination/ListUpdatesPaginator.ts | 2 +- .../DescribeEnvironmentManagedActionHistoryPaginator.ts | 2 +- .../pagination/DescribeEventsPaginator.ts | 2 +- .../pagination/ListPlatformBranchesPaginator.ts | 2 +- .../pagination/ListPlatformVersionsPaginator.ts | 2 +- .../pagination/DescribeAcceleratorsPaginator.ts | 2 +- .../pagination/DescribeListenersPaginator.ts | 2 +- .../pagination/DescribeLoadBalancersPaginator.ts | 2 +- .../pagination/DescribeTargetGroupsPaginator.ts | 2 +- .../pagination/DescribeLoadBalancersPaginator.ts | 2 +- .../pagination/ListJobsByPipelinePaginator.ts | 2 +- .../pagination/ListJobsByStatusPaginator.ts | 2 +- .../pagination/ListPipelinesPaginator.ts | 2 +- .../pagination/ListPresetsPaginator.ts | 2 +- .../pagination/DescribeCacheClustersPaginator.ts | 2 +- .../pagination/DescribeCacheEngineVersionsPaginator.ts | 2 +- .../pagination/DescribeCacheParameterGroupsPaginator.ts | 2 +- .../pagination/DescribeCacheParametersPaginator.ts | 2 +- .../pagination/DescribeCacheSecurityGroupsPaginator.ts | 2 +- .../pagination/DescribeCacheSubnetGroupsPaginator.ts | 2 +- .../pagination/DescribeEngineDefaultParametersPaginator.ts | 2 +- .../client-elasticache/pagination/DescribeEventsPaginator.ts | 2 +- .../pagination/DescribeGlobalReplicationGroupsPaginator.ts | 2 +- .../pagination/DescribeReplicationGroupsPaginator.ts | 2 +- .../pagination/DescribeReservedCacheNodesOfferingsPaginator.ts | 2 +- .../pagination/DescribeReservedCacheNodesPaginator.ts | 2 +- .../pagination/DescribeServiceUpdatesPaginator.ts | 2 +- .../client-elasticache/pagination/DescribeSnapshotsPaginator.ts | 2 +- .../pagination/DescribeUpdateActionsPaginator.ts | 2 +- .../pagination/DescribeUserGroupsPaginator.ts | 2 +- clients/client-elasticache/pagination/DescribeUsersPaginator.ts | 2 +- .../DescribeInboundCrossClusterSearchConnectionsPaginator.ts | 2 +- .../DescribeOutboundCrossClusterSearchConnectionsPaginator.ts | 2 +- .../pagination/DescribePackagesPaginator.ts | 2 +- .../DescribeReservedElasticsearchInstanceOfferingsPaginator.ts | 2 +- .../DescribeReservedElasticsearchInstancesPaginator.ts | 2 +- .../pagination/GetPackageVersionHistoryPaginator.ts | 2 +- .../pagination/GetUpgradeHistoryPaginator.ts | 2 +- .../pagination/ListDomainsForPackagePaginator.ts | 2 +- .../pagination/ListElasticsearchInstanceTypesPaginator.ts | 2 +- .../pagination/ListElasticsearchVersionsPaginator.ts | 2 +- .../pagination/ListPackagesForDomainPaginator.ts | 2 +- clients/client-emr/pagination/ListBootstrapActionsPaginator.ts | 2 +- clients/client-emr/pagination/ListClustersPaginator.ts | 2 +- clients/client-emr/pagination/ListInstanceFleetsPaginator.ts | 2 +- clients/client-emr/pagination/ListInstanceGroupsPaginator.ts | 2 +- clients/client-emr/pagination/ListInstancesPaginator.ts | 2 +- .../client-emr/pagination/ListNotebookExecutionsPaginator.ts | 2 +- .../pagination/ListSecurityConfigurationsPaginator.ts | 2 +- clients/client-emr/pagination/ListStepsPaginator.ts | 2 +- clients/client-fms/pagination/ListComplianceStatusPaginator.ts | 2 +- clients/client-fms/pagination/ListMemberAccountsPaginator.ts | 2 +- clients/client-fms/pagination/ListPoliciesPaginator.ts | 2 +- .../client-forecast/pagination/ListDatasetGroupsPaginator.ts | 2 +- .../pagination/ListDatasetImportJobsPaginator.ts | 2 +- clients/client-forecast/pagination/ListDatasetsPaginator.ts | 2 +- .../pagination/ListForecastExportJobsPaginator.ts | 2 +- clients/client-forecast/pagination/ListForecastsPaginator.ts | 2 +- clients/client-forecast/pagination/ListPredictorsPaginator.ts | 2 +- .../pagination/DescribeModelVersionsPaginator.ts | 2 +- .../client-frauddetector/pagination/GetDetectorsPaginator.ts | 2 +- .../client-frauddetector/pagination/GetEntityTypesPaginator.ts | 2 +- .../client-frauddetector/pagination/GetEventTypesPaginator.ts | 2 +- .../pagination/GetExternalModelsPaginator.ts | 2 +- clients/client-frauddetector/pagination/GetLabelsPaginator.ts | 2 +- clients/client-frauddetector/pagination/GetModelsPaginator.ts | 2 +- clients/client-frauddetector/pagination/GetOutcomesPaginator.ts | 2 +- clients/client-frauddetector/pagination/GetRulesPaginator.ts | 2 +- .../client-frauddetector/pagination/GetVariablesPaginator.ts | 2 +- .../pagination/ListTagsForResourcePaginator.ts | 2 +- clients/client-fsx/pagination/DescribeBackupsPaginator.ts | 2 +- .../pagination/DescribeDataRepositoryTasksPaginator.ts | 2 +- .../client-fsx/pagination/DescribeFileSystemAliasesPaginator.ts | 2 +- clients/client-fsx/pagination/DescribeFileSystemsPaginator.ts | 2 +- .../pagination/DescribeFleetAttributesPaginator.ts | 2 +- .../pagination/DescribeFleetCapacityPaginator.ts | 2 +- .../client-gamelift/pagination/DescribeFleetEventsPaginator.ts | 2 +- .../pagination/DescribeFleetUtilizationPaginator.ts | 2 +- .../pagination/DescribeGameServerInstancesPaginator.ts | 2 +- .../pagination/DescribeGameSessionDetailsPaginator.ts | 2 +- .../pagination/DescribeGameSessionQueuesPaginator.ts | 2 +- .../client-gamelift/pagination/DescribeGameSessionsPaginator.ts | 2 +- .../client-gamelift/pagination/DescribeInstancesPaginator.ts | 2 +- .../pagination/DescribeMatchmakingConfigurationsPaginator.ts | 2 +- .../pagination/DescribeMatchmakingRuleSetsPaginator.ts | 2 +- .../pagination/DescribePlayerSessionsPaginator.ts | 2 +- .../pagination/DescribeScalingPoliciesPaginator.ts | 2 +- clients/client-gamelift/pagination/ListAliasesPaginator.ts | 2 +- clients/client-gamelift/pagination/ListBuildsPaginator.ts | 2 +- clients/client-gamelift/pagination/ListFleetsPaginator.ts | 2 +- .../client-gamelift/pagination/ListGameServerGroupsPaginator.ts | 2 +- clients/client-gamelift/pagination/ListGameServersPaginator.ts | 2 +- clients/client-gamelift/pagination/ListScriptsPaginator.ts | 2 +- .../client-gamelift/pagination/SearchGameSessionsPaginator.ts | 2 +- clients/client-glue/pagination/GetClassifiersPaginator.ts | 2 +- clients/client-glue/pagination/GetConnectionsPaginator.ts | 2 +- clients/client-glue/pagination/GetCrawlerMetricsPaginator.ts | 2 +- clients/client-glue/pagination/GetCrawlersPaginator.ts | 2 +- clients/client-glue/pagination/GetDatabasesPaginator.ts | 2 +- clients/client-glue/pagination/GetDevEndpointsPaginator.ts | 2 +- clients/client-glue/pagination/GetJobRunsPaginator.ts | 2 +- clients/client-glue/pagination/GetJobsPaginator.ts | 2 +- clients/client-glue/pagination/GetMLTaskRunsPaginator.ts | 2 +- clients/client-glue/pagination/GetMLTransformsPaginator.ts | 2 +- clients/client-glue/pagination/GetPartitionIndexesPaginator.ts | 2 +- clients/client-glue/pagination/GetPartitionsPaginator.ts | 2 +- .../pagination/GetSecurityConfigurationsPaginator.ts | 2 +- clients/client-glue/pagination/GetTableVersionsPaginator.ts | 2 +- clients/client-glue/pagination/GetTablesPaginator.ts | 2 +- clients/client-glue/pagination/GetTriggersPaginator.ts | 2 +- .../client-glue/pagination/GetUserDefinedFunctionsPaginator.ts | 2 +- clients/client-glue/pagination/GetWorkflowRunsPaginator.ts | 2 +- clients/client-glue/pagination/ListCrawlersPaginator.ts | 2 +- clients/client-glue/pagination/ListDevEndpointsPaginator.ts | 2 +- clients/client-glue/pagination/ListJobsPaginator.ts | 2 +- clients/client-glue/pagination/ListMLTransformsPaginator.ts | 2 +- clients/client-glue/pagination/ListTriggersPaginator.ts | 2 +- clients/client-glue/pagination/ListWorkflowsPaginator.ts | 2 +- clients/client-glue/pagination/SearchTablesPaginator.ts | 2 +- clients/client-groundstation/pagination/ListConfigsPaginator.ts | 2 +- .../client-groundstation/pagination/ListContactsPaginator.ts | 2 +- .../pagination/ListDataflowEndpointGroupsPaginator.ts | 2 +- .../pagination/ListGroundStationsPaginator.ts | 2 +- .../pagination/ListMissionProfilesPaginator.ts | 2 +- .../client-groundstation/pagination/ListSatellitesPaginator.ts | 2 +- .../client-guardduty/pagination/GetUsageStatisticsPaginator.ts | 2 +- clients/client-guardduty/pagination/ListDetectorsPaginator.ts | 2 +- clients/client-guardduty/pagination/ListFiltersPaginator.ts | 2 +- clients/client-guardduty/pagination/ListFindingsPaginator.ts | 2 +- clients/client-guardduty/pagination/ListIPSetsPaginator.ts | 2 +- clients/client-guardduty/pagination/ListInvitationsPaginator.ts | 2 +- clients/client-guardduty/pagination/ListMembersPaginator.ts | 2 +- .../pagination/ListOrganizationAdminAccountsPaginator.ts | 2 +- .../pagination/ListPublishingDestinationsPaginator.ts | 2 +- .../client-guardduty/pagination/ListThreatIntelSetsPaginator.ts | 2 +- .../DescribeAffectedAccountsForOrganizationPaginator.ts | 2 +- .../DescribeAffectedEntitiesForOrganizationPaginator.ts | 2 +- .../pagination/DescribeAffectedEntitiesPaginator.ts | 2 +- .../pagination/DescribeEventAggregatesPaginator.ts | 2 +- clients/client-health/pagination/DescribeEventTypesPaginator.ts | 2 +- .../pagination/DescribeEventsForOrganizationPaginator.ts | 2 +- clients/client-health/pagination/DescribeEventsPaginator.ts | 2 +- .../pagination/GetAccountAuthorizationDetailsPaginator.ts | 2 +- clients/client-iam/pagination/GetGroupPaginator.ts | 2 +- clients/client-iam/pagination/ListAccessKeysPaginator.ts | 2 +- clients/client-iam/pagination/ListAccountAliasesPaginator.ts | 2 +- .../client-iam/pagination/ListAttachedGroupPoliciesPaginator.ts | 2 +- .../client-iam/pagination/ListAttachedRolePoliciesPaginator.ts | 2 +- .../client-iam/pagination/ListAttachedUserPoliciesPaginator.ts | 2 +- clients/client-iam/pagination/ListEntitiesForPolicyPaginator.ts | 2 +- clients/client-iam/pagination/ListGroupPoliciesPaginator.ts | 2 +- clients/client-iam/pagination/ListGroupsForUserPaginator.ts | 2 +- clients/client-iam/pagination/ListGroupsPaginator.ts | 2 +- .../pagination/ListInstanceProfilesForRolePaginator.ts | 2 +- clients/client-iam/pagination/ListInstanceProfilesPaginator.ts | 2 +- clients/client-iam/pagination/ListMFADevicesPaginator.ts | 2 +- clients/client-iam/pagination/ListPoliciesPaginator.ts | 2 +- clients/client-iam/pagination/ListPolicyVersionsPaginator.ts | 2 +- clients/client-iam/pagination/ListRolePoliciesPaginator.ts | 2 +- clients/client-iam/pagination/ListRolesPaginator.ts | 2 +- clients/client-iam/pagination/ListSSHPublicKeysPaginator.ts | 2 +- .../client-iam/pagination/ListServerCertificatesPaginator.ts | 2 +- .../client-iam/pagination/ListSigningCertificatesPaginator.ts | 2 +- clients/client-iam/pagination/ListUserPoliciesPaginator.ts | 2 +- clients/client-iam/pagination/ListUsersPaginator.ts | 2 +- clients/client-iam/pagination/ListVirtualMFADevicesPaginator.ts | 2 +- clients/client-iam/pagination/SimulateCustomPolicyPaginator.ts | 2 +- .../client-iam/pagination/SimulatePrincipalPolicyPaginator.ts | 2 +- clients/client-identitystore/pagination/ListGroupsPaginator.ts | 2 +- clients/client-identitystore/pagination/ListUsersPaginator.ts | 2 +- .../pagination/ListComponentBuildVersionsPaginator.ts | 2 +- .../client-imagebuilder/pagination/ListComponentsPaginator.ts | 2 +- .../pagination/ListDistributionConfigurationsPaginator.ts | 2 +- .../pagination/ListImageBuildVersionsPaginator.ts | 2 +- .../pagination/ListImagePipelineImagesPaginator.ts | 2 +- .../pagination/ListImagePipelinesPaginator.ts | 2 +- .../client-imagebuilder/pagination/ListImageRecipesPaginator.ts | 2 +- clients/client-imagebuilder/pagination/ListImagesPaginator.ts | 2 +- .../pagination/ListInfrastructureConfigurationsPaginator.ts | 2 +- .../pagination/GetExclusionsPreviewPaginator.ts | 2 +- .../pagination/ListAssessmentRunAgentsPaginator.ts | 2 +- .../client-inspector/pagination/ListAssessmentRunsPaginator.ts | 2 +- .../pagination/ListAssessmentTargetsPaginator.ts | 2 +- .../pagination/ListAssessmentTemplatesPaginator.ts | 2 +- .../pagination/ListEventSubscriptionsPaginator.ts | 2 +- clients/client-inspector/pagination/ListExclusionsPaginator.ts | 2 +- clients/client-inspector/pagination/ListFindingsPaginator.ts | 2 +- .../client-inspector/pagination/ListRulesPackagesPaginator.ts | 2 +- clients/client-inspector/pagination/PreviewAgentsPaginator.ts | 2 +- .../pagination/ListPlacementsPaginator.ts | 2 +- .../pagination/ListProjectsPaginator.ts | 2 +- clients/client-iot/pagination/ListActiveViolationsPaginator.ts | 2 +- clients/client-iot/pagination/ListAttachedPoliciesPaginator.ts | 2 +- clients/client-iot/pagination/ListAuditFindingsPaginator.ts | 2 +- .../pagination/ListAuditMitigationActionsExecutionsPaginator.ts | 2 +- .../pagination/ListAuditMitigationActionsTasksPaginator.ts | 2 +- clients/client-iot/pagination/ListAuditSuppressionsPaginator.ts | 2 +- clients/client-iot/pagination/ListAuditTasksPaginator.ts | 2 +- clients/client-iot/pagination/ListAuthorizersPaginator.ts | 2 +- clients/client-iot/pagination/ListBillingGroupsPaginator.ts | 2 +- clients/client-iot/pagination/ListCACertificatesPaginator.ts | 2 +- clients/client-iot/pagination/ListCertificatesByCAPaginator.ts | 2 +- clients/client-iot/pagination/ListCertificatesPaginator.ts | 2 +- clients/client-iot/pagination/ListDimensionsPaginator.ts | 2 +- .../client-iot/pagination/ListDomainConfigurationsPaginator.ts | 2 +- clients/client-iot/pagination/ListIndicesPaginator.ts | 2 +- .../client-iot/pagination/ListJobExecutionsForJobPaginator.ts | 2 +- .../client-iot/pagination/ListJobExecutionsForThingPaginator.ts | 2 +- clients/client-iot/pagination/ListJobsPaginator.ts | 2 +- clients/client-iot/pagination/ListMitigationActionsPaginator.ts | 2 +- clients/client-iot/pagination/ListOTAUpdatesPaginator.ts | 2 +- .../client-iot/pagination/ListOutgoingCertificatesPaginator.ts | 2 +- clients/client-iot/pagination/ListPoliciesPaginator.ts | 2 +- clients/client-iot/pagination/ListPolicyPrincipalsPaginator.ts | 2 +- clients/client-iot/pagination/ListPrincipalPoliciesPaginator.ts | 2 +- clients/client-iot/pagination/ListPrincipalThingsPaginator.ts | 2 +- .../pagination/ListProvisioningTemplateVersionsPaginator.ts | 2 +- .../client-iot/pagination/ListProvisioningTemplatesPaginator.ts | 2 +- clients/client-iot/pagination/ListRoleAliasesPaginator.ts | 2 +- clients/client-iot/pagination/ListScheduledAuditsPaginator.ts | 2 +- .../pagination/ListSecurityProfilesForTargetPaginator.ts | 2 +- clients/client-iot/pagination/ListSecurityProfilesPaginator.ts | 2 +- clients/client-iot/pagination/ListStreamsPaginator.ts | 2 +- clients/client-iot/pagination/ListTagsForResourcePaginator.ts | 2 +- clients/client-iot/pagination/ListTargetsForPolicyPaginator.ts | 2 +- .../pagination/ListTargetsForSecurityProfilePaginator.ts | 2 +- .../client-iot/pagination/ListThingGroupsForThingPaginator.ts | 2 +- clients/client-iot/pagination/ListThingGroupsPaginator.ts | 2 +- clients/client-iot/pagination/ListThingPrincipalsPaginator.ts | 2 +- .../pagination/ListThingRegistrationTaskReportsPaginator.ts | 2 +- .../pagination/ListThingRegistrationTasksPaginator.ts | 2 +- clients/client-iot/pagination/ListThingTypesPaginator.ts | 2 +- .../client-iot/pagination/ListThingsInBillingGroupPaginator.ts | 2 +- .../client-iot/pagination/ListThingsInThingGroupPaginator.ts | 2 +- clients/client-iot/pagination/ListThingsPaginator.ts | 2 +- .../client-iot/pagination/ListTopicRuleDestinationsPaginator.ts | 2 +- clients/client-iot/pagination/ListTopicRulesPaginator.ts | 2 +- clients/client-iot/pagination/ListV2LoggingLevelsPaginator.ts | 2 +- clients/client-iot/pagination/ListViolationEventsPaginator.ts | 2 +- clients/client-iotanalytics/pagination/ListChannelsPaginator.ts | 2 +- .../pagination/ListDatasetContentsPaginator.ts | 2 +- clients/client-iotanalytics/pagination/ListDatasetsPaginator.ts | 2 +- .../client-iotanalytics/pagination/ListDatastoresPaginator.ts | 2 +- .../client-iotanalytics/pagination/ListPipelinesPaginator.ts | 2 +- .../pagination/ListTunnelsPaginator.ts | 2 +- .../pagination/GetAssetPropertyAggregatesPaginator.ts | 2 +- .../pagination/GetAssetPropertyValueHistoryPaginator.ts | 2 +- .../pagination/ListAccessPoliciesPaginator.ts | 2 +- .../client-iotsitewise/pagination/ListAssetModelsPaginator.ts | 2 +- clients/client-iotsitewise/pagination/ListAssetsPaginator.ts | 2 +- .../pagination/ListAssociatedAssetsPaginator.ts | 2 +- .../client-iotsitewise/pagination/ListDashboardsPaginator.ts | 2 +- clients/client-iotsitewise/pagination/ListGatewaysPaginator.ts | 2 +- clients/client-iotsitewise/pagination/ListPortalsPaginator.ts | 2 +- .../client-iotsitewise/pagination/ListProjectAssetsPaginator.ts | 2 +- clients/client-iotsitewise/pagination/ListProjectsPaginator.ts | 2 +- .../pagination/GetFlowTemplateRevisionsPaginator.ts | 2 +- .../pagination/GetSystemTemplateRevisionsPaginator.ts | 2 +- .../pagination/ListFlowExecutionMessagesPaginator.ts | 2 +- .../pagination/ListTagsForResourcePaginator.ts | 2 +- .../client-iotthingsgraph/pagination/SearchEntitiesPaginator.ts | 2 +- .../pagination/SearchFlowExecutionsPaginator.ts | 2 +- .../pagination/SearchFlowTemplatesPaginator.ts | 2 +- .../pagination/SearchSystemInstancesPaginator.ts | 2 +- .../pagination/SearchSystemTemplatesPaginator.ts | 2 +- .../client-iotthingsgraph/pagination/SearchThingsPaginator.ts | 2 +- clients/client-ivs/pagination/ListChannelsPaginator.ts | 2 +- clients/client-ivs/pagination/ListPlaybackKeyPairsPaginator.ts | 2 +- clients/client-ivs/pagination/ListStreamKeysPaginator.ts | 2 +- clients/client-ivs/pagination/ListStreamsPaginator.ts | 2 +- clients/client-ivs/pagination/ListTagsForResourcePaginator.ts | 2 +- .../client-kafka/pagination/ListClusterOperationsPaginator.ts | 2 +- clients/client-kafka/pagination/ListClustersPaginator.ts | 2 +- .../pagination/ListConfigurationRevisionsPaginator.ts | 2 +- clients/client-kafka/pagination/ListConfigurationsPaginator.ts | 2 +- clients/client-kafka/pagination/ListKafkaVersionsPaginator.ts | 2 +- clients/client-kafka/pagination/ListNodesPaginator.ts | 2 +- clients/client-kafka/pagination/ListScramSecretsPaginator.ts | 2 +- .../client-kendra/pagination/ListDataSourceSyncJobsPaginator.ts | 2 +- clients/client-kendra/pagination/ListDataSourcesPaginator.ts | 2 +- clients/client-kendra/pagination/ListIndicesPaginator.ts | 2 +- .../pagination/ListSignalingChannelsPaginator.ts | 2 +- clients/client-kinesis-video/pagination/ListStreamsPaginator.ts | 2 +- .../client-kinesis/pagination/ListStreamConsumersPaginator.ts | 2 +- clients/client-kms/pagination/ListAliasesPaginator.ts | 2 +- clients/client-kms/pagination/ListGrantsPaginator.ts | 2 +- clients/client-kms/pagination/ListKeyPoliciesPaginator.ts | 2 +- clients/client-kms/pagination/ListKeysPaginator.ts | 2 +- .../pagination/GetEffectivePermissionsForPathPaginator.ts | 2 +- .../client-lakeformation/pagination/ListPermissionsPaginator.ts | 2 +- .../client-lakeformation/pagination/ListResourcesPaginator.ts | 2 +- clients/client-lambda/pagination/ListAliasesPaginator.ts | 2 +- .../pagination/ListEventSourceMappingsPaginator.ts | 2 +- .../pagination/ListFunctionEventInvokeConfigsPaginator.ts | 2 +- clients/client-lambda/pagination/ListFunctionsPaginator.ts | 2 +- clients/client-lambda/pagination/ListLayerVersionsPaginator.ts | 2 +- clients/client-lambda/pagination/ListLayersPaginator.ts | 2 +- .../pagination/ListProvisionedConcurrencyConfigsPaginator.ts | 2 +- .../client-lambda/pagination/ListVersionsByFunctionPaginator.ts | 2 +- .../pagination/GetBotAliasesPaginator.ts | 2 +- .../pagination/GetBotChannelAssociationsPaginator.ts | 2 +- .../pagination/GetBotVersionsPaginator.ts | 2 +- .../pagination/GetBotsPaginator.ts | 2 +- .../pagination/GetBuiltinIntentsPaginator.ts | 2 +- .../pagination/GetBuiltinSlotTypesPaginator.ts | 2 +- .../pagination/GetIntentVersionsPaginator.ts | 2 +- .../pagination/GetIntentsPaginator.ts | 2 +- .../pagination/GetSlotTypeVersionsPaginator.ts | 2 +- .../pagination/GetSlotTypesPaginator.ts | 2 +- .../pagination/DescribeBatchPredictionsPaginator.ts | 2 +- .../pagination/DescribeDataSourcesPaginator.ts | 2 +- .../pagination/DescribeEvaluationsPaginator.ts | 2 +- .../pagination/DescribeMLModelsPaginator.ts | 2 +- clients/client-macie/pagination/ListMemberAccountsPaginator.ts | 2 +- clients/client-macie/pagination/ListS3ResourcesPaginator.ts | 2 +- clients/client-macie2/pagination/DescribeBucketsPaginator.ts | 2 +- clients/client-macie2/pagination/GetUsageStatisticsPaginator.ts | 2 +- .../client-macie2/pagination/ListClassificationJobsPaginator.ts | 2 +- .../pagination/ListCustomDataIdentifiersPaginator.ts | 2 +- .../client-macie2/pagination/ListFindingsFiltersPaginator.ts | 2 +- clients/client-macie2/pagination/ListFindingsPaginator.ts | 2 +- clients/client-macie2/pagination/ListInvitationsPaginator.ts | 2 +- clients/client-macie2/pagination/ListMembersPaginator.ts | 2 +- .../pagination/ListOrganizationAdminAccountsPaginator.ts | 2 +- .../pagination/ListInvitationsPaginator.ts | 2 +- .../client-managedblockchain/pagination/ListMembersPaginator.ts | 2 +- .../pagination/ListNetworksPaginator.ts | 2 +- .../client-managedblockchain/pagination/ListNodesPaginator.ts | 2 +- .../pagination/ListProposalVotesPaginator.ts | 2 +- .../pagination/ListProposalsPaginator.ts | 2 +- .../pagination/ListChangeSetsPaginator.ts | 2 +- .../pagination/ListEntitiesPaginator.ts | 2 +- .../client-mediaconnect/pagination/ListEntitlementsPaginator.ts | 2 +- clients/client-mediaconnect/pagination/ListFlowsPaginator.ts | 2 +- .../client-mediaconnect/pagination/ListOfferingsPaginator.ts | 2 +- .../client-mediaconnect/pagination/ListReservationsPaginator.ts | 2 +- .../pagination/DescribeEndpointsPaginator.ts | 2 +- .../client-mediaconvert/pagination/ListJobTemplatesPaginator.ts | 2 +- clients/client-mediaconvert/pagination/ListJobsPaginator.ts | 2 +- clients/client-mediaconvert/pagination/ListPresetsPaginator.ts | 2 +- clients/client-mediaconvert/pagination/ListQueuesPaginator.ts | 2 +- .../client-medialive/pagination/DescribeSchedulePaginator.ts | 2 +- clients/client-medialive/pagination/ListChannelsPaginator.ts | 2 +- .../pagination/ListInputDeviceTransfersPaginator.ts | 2 +- .../client-medialive/pagination/ListInputDevicesPaginator.ts | 2 +- .../pagination/ListInputSecurityGroupsPaginator.ts | 2 +- clients/client-medialive/pagination/ListInputsPaginator.ts | 2 +- .../pagination/ListMultiplexProgramsPaginator.ts | 2 +- clients/client-medialive/pagination/ListMultiplexesPaginator.ts | 2 +- clients/client-medialive/pagination/ListOfferingsPaginator.ts | 2 +- .../client-medialive/pagination/ListReservationsPaginator.ts | 2 +- .../client-mediapackage-vod/pagination/ListAssetsPaginator.ts | 2 +- .../pagination/ListPackagingConfigurationsPaginator.ts | 2 +- .../pagination/ListPackagingGroupsPaginator.ts | 2 +- clients/client-mediapackage/pagination/ListChannelsPaginator.ts | 2 +- .../client-mediapackage/pagination/ListHarvestJobsPaginator.ts | 2 +- .../pagination/ListOriginEndpointsPaginator.ts | 2 +- clients/client-mediastore/pagination/ListContainersPaginator.ts | 2 +- .../pagination/ListApplicationStatesPaginator.ts | 2 +- .../pagination/ListCreatedArtifactsPaginator.ts | 2 +- .../pagination/ListDiscoveredResourcesPaginator.ts | 2 +- .../pagination/ListMigrationTasksPaginator.ts | 2 +- .../pagination/ListProgressUpdateStreamsPaginator.ts | 2 +- .../pagination/DescribeHomeRegionControlsPaginator.ts | 2 +- clients/client-mobile/pagination/ListBundlesPaginator.ts | 2 +- clients/client-mobile/pagination/ListProjectsPaginator.ts | 2 +- clients/client-mq/pagination/ListBrokersPaginator.ts | 2 +- .../client-mturk/pagination/ListAssignmentsForHITPaginator.ts | 2 +- clients/client-mturk/pagination/ListBonusPaymentsPaginator.ts | 2 +- .../pagination/ListHITsForQualificationTypePaginator.ts | 2 +- clients/client-mturk/pagination/ListHITsPaginator.ts | 2 +- .../pagination/ListQualificationRequestsPaginator.ts | 2 +- .../client-mturk/pagination/ListQualificationTypesPaginator.ts | 2 +- .../pagination/ListReviewPolicyResultsForHITPaginator.ts | 2 +- clients/client-mturk/pagination/ListReviewableHITsPaginator.ts | 2 +- clients/client-mturk/pagination/ListWorkerBlocksPaginator.ts | 2 +- .../pagination/ListWorkersWithQualificationTypePaginator.ts | 2 +- .../pagination/DescribeDBClusterEndpointsPaginator.ts | 2 +- .../pagination/DescribeDBEngineVersionsPaginator.ts | 2 +- .../client-neptune/pagination/DescribeDBInstancesPaginator.ts | 2 +- .../pagination/DescribeDBParameterGroupsPaginator.ts | 2 +- .../client-neptune/pagination/DescribeDBParametersPaginator.ts | 2 +- .../pagination/DescribeDBSubnetGroupsPaginator.ts | 2 +- .../pagination/DescribeEngineDefaultParametersPaginator.ts | 2 +- .../pagination/DescribeEventSubscriptionsPaginator.ts | 2 +- clients/client-neptune/pagination/DescribeEventsPaginator.ts | 2 +- .../pagination/DescribeOrderableDBInstanceOptionsPaginator.ts | 2 +- .../pagination/DescribeGlobalNetworksPaginator.ts | 2 +- .../pagination/GetCustomerGatewayAssociationsPaginator.ts | 2 +- clients/client-networkmanager/pagination/GetDevicesPaginator.ts | 2 +- .../pagination/GetLinkAssociationsPaginator.ts | 2 +- clients/client-networkmanager/pagination/GetLinksPaginator.ts | 2 +- clients/client-networkmanager/pagination/GetSitesPaginator.ts | 2 +- .../pagination/GetTransitGatewayRegistrationsPaginator.ts | 2 +- .../client-opsworks/pagination/DescribeEcsClustersPaginator.ts | 2 +- .../client-opsworkscm/pagination/DescribeBackupsPaginator.ts | 2 +- clients/client-opsworkscm/pagination/DescribeEventsPaginator.ts | 2 +- .../client-opsworkscm/pagination/DescribeServersPaginator.ts | 2 +- .../pagination/ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListAWSServiceAccessForOrganizationPaginator.ts | 2 +- .../pagination/ListAccountsForParentPaginator.ts | 2 +- .../client-organizations/pagination/ListAccountsPaginator.ts | 2 +- .../client-organizations/pagination/ListChildrenPaginator.ts | 2 +- .../pagination/ListCreateAccountStatusPaginator.ts | 2 +- .../pagination/ListDelegatedAdministratorsPaginator.ts | 2 +- .../pagination/ListDelegatedServicesForAccountPaginator.ts | 2 +- .../pagination/ListHandshakesForAccountPaginator.ts | 2 +- .../pagination/ListHandshakesForOrganizationPaginator.ts | 2 +- .../pagination/ListOrganizationalUnitsForParentPaginator.ts | 2 +- clients/client-organizations/pagination/ListParentsPaginator.ts | 2 +- .../pagination/ListPoliciesForTargetPaginator.ts | 2 +- .../client-organizations/pagination/ListPoliciesPaginator.ts | 2 +- clients/client-organizations/pagination/ListRootsPaginator.ts | 2 +- .../pagination/ListTagsForResourcePaginator.ts | 2 +- .../pagination/ListTargetsForPolicyPaginator.ts | 2 +- clients/client-outposts/pagination/ListOutpostsPaginator.ts | 2 +- clients/client-outposts/pagination/ListSitesPaginator.ts | 2 +- .../pagination/ListBatchInferenceJobsPaginator.ts | 2 +- clients/client-personalize/pagination/ListCampaignsPaginator.ts | 2 +- .../client-personalize/pagination/ListDatasetGroupsPaginator.ts | 2 +- .../pagination/ListDatasetImportJobsPaginator.ts | 2 +- clients/client-personalize/pagination/ListDatasetsPaginator.ts | 2 +- .../client-personalize/pagination/ListEventTrackersPaginator.ts | 2 +- clients/client-personalize/pagination/ListRecipesPaginator.ts | 2 +- clients/client-personalize/pagination/ListSchemasPaginator.ts | 2 +- .../pagination/ListSolutionVersionsPaginator.ts | 2 +- clients/client-personalize/pagination/ListSolutionsPaginator.ts | 2 +- .../pagination/GetDedicatedIpsPaginator.ts | 2 +- .../pagination/ListConfigurationSetsPaginator.ts | 2 +- .../pagination/ListDedicatedIpPoolsPaginator.ts | 2 +- .../pagination/ListDeliverabilityTestReportsPaginator.ts | 2 +- .../pagination/ListDomainDeliverabilityCampaignsPaginator.ts | 2 +- .../pagination/ListEmailIdentitiesPaginator.ts | 2 +- .../pagination/ListSpeechSynthesisTasksPaginator.ts | 2 +- clients/client-pricing/pagination/DescribeServicesPaginator.ts | 2 +- .../client-pricing/pagination/GetAttributeValuesPaginator.ts | 2 +- clients/client-pricing/pagination/GetProductsPaginator.ts | 2 +- .../pagination/ListJournalKinesisStreamsForLedgerPaginator.ts | 2 +- .../pagination/ListJournalS3ExportsForLedgerPaginator.ts | 2 +- clients/client-qldb/pagination/ListJournalS3ExportsPaginator.ts | 2 +- clients/client-qldb/pagination/ListLedgersPaginator.ts | 2 +- clients/client-quicksight/pagination/ListAnalysesPaginator.ts | 2 +- .../pagination/ListDashboardVersionsPaginator.ts | 2 +- clients/client-quicksight/pagination/ListDashboardsPaginator.ts | 2 +- clients/client-quicksight/pagination/ListDataSetsPaginator.ts | 2 +- .../client-quicksight/pagination/ListDataSourcesPaginator.ts | 2 +- clients/client-quicksight/pagination/ListIngestionsPaginator.ts | 2 +- clients/client-quicksight/pagination/ListNamespacesPaginator.ts | 2 +- .../pagination/ListTemplateAliasesPaginator.ts | 2 +- .../pagination/ListTemplateVersionsPaginator.ts | 2 +- clients/client-quicksight/pagination/ListTemplatesPaginator.ts | 2 +- clients/client-quicksight/pagination/SearchAnalysesPaginator.ts | 2 +- .../client-quicksight/pagination/SearchDashboardsPaginator.ts | 2 +- clients/client-ram/pagination/GetResourcePoliciesPaginator.ts | 2 +- .../pagination/GetResourceShareAssociationsPaginator.ts | 2 +- .../pagination/GetResourceShareInvitationsPaginator.ts | 2 +- clients/client-ram/pagination/GetResourceSharesPaginator.ts | 2 +- .../pagination/ListPendingInvitationResourcesPaginator.ts | 2 +- clients/client-ram/pagination/ListPrincipalsPaginator.ts | 2 +- clients/client-ram/pagination/ListResourcesPaginator.ts | 2 +- clients/client-rds/pagination/DescribeCertificatesPaginator.ts | 2 +- .../pagination/DescribeCustomAvailabilityZonesPaginator.ts | 2 +- .../pagination/DescribeDBClusterBacktracksPaginator.ts | 2 +- .../pagination/DescribeDBClusterEndpointsPaginator.ts | 2 +- .../pagination/DescribeDBClusterParameterGroupsPaginator.ts | 2 +- .../pagination/DescribeDBClusterParametersPaginator.ts | 2 +- .../pagination/DescribeDBClusterSnapshotsPaginator.ts | 2 +- clients/client-rds/pagination/DescribeDBClustersPaginator.ts | 2 +- .../client-rds/pagination/DescribeDBEngineVersionsPaginator.ts | 2 +- .../pagination/DescribeDBInstanceAutomatedBackupsPaginator.ts | 2 +- clients/client-rds/pagination/DescribeDBInstancesPaginator.ts | 2 +- clients/client-rds/pagination/DescribeDBLogFilesPaginator.ts | 2 +- .../client-rds/pagination/DescribeDBParameterGroupsPaginator.ts | 2 +- clients/client-rds/pagination/DescribeDBParametersPaginator.ts | 2 +- clients/client-rds/pagination/DescribeDBProxiesPaginator.ts | 2 +- .../pagination/DescribeDBProxyTargetGroupsPaginator.ts | 2 +- .../client-rds/pagination/DescribeDBProxyTargetsPaginator.ts | 2 +- .../client-rds/pagination/DescribeDBSecurityGroupsPaginator.ts | 2 +- clients/client-rds/pagination/DescribeDBSnapshotsPaginator.ts | 2 +- .../client-rds/pagination/DescribeDBSubnetGroupsPaginator.ts | 2 +- .../pagination/DescribeEngineDefaultParametersPaginator.ts | 2 +- .../pagination/DescribeEventSubscriptionsPaginator.ts | 2 +- clients/client-rds/pagination/DescribeEventsPaginator.ts | 2 +- clients/client-rds/pagination/DescribeExportTasksPaginator.ts | 2 +- .../client-rds/pagination/DescribeGlobalClustersPaginator.ts | 2 +- .../client-rds/pagination/DescribeInstallationMediaPaginator.ts | 2 +- .../pagination/DescribeOptionGroupOptionsPaginator.ts | 2 +- clients/client-rds/pagination/DescribeOptionGroupsPaginator.ts | 2 +- .../pagination/DescribeOrderableDBInstanceOptionsPaginator.ts | 2 +- .../pagination/DescribePendingMaintenanceActionsPaginator.ts | 2 +- .../pagination/DescribeReservedDBInstancesOfferingsPaginator.ts | 2 +- .../pagination/DescribeReservedDBInstancesPaginator.ts | 2 +- clients/client-rds/pagination/DescribeSourceRegionsPaginator.ts | 2 +- .../client-redshift-data/pagination/DescribeTablePaginator.ts | 2 +- .../pagination/GetStatementResultPaginator.ts | 2 +- .../client-redshift-data/pagination/ListDatabasesPaginator.ts | 2 +- clients/client-redshift-data/pagination/ListSchemasPaginator.ts | 2 +- .../client-redshift-data/pagination/ListStatementsPaginator.ts | 2 +- clients/client-redshift-data/pagination/ListTablesPaginator.ts | 2 +- .../pagination/DescribeClusterParameterGroupsPaginator.ts | 2 +- .../pagination/DescribeClusterParametersPaginator.ts | 2 +- .../pagination/DescribeClusterSecurityGroupsPaginator.ts | 2 +- .../pagination/DescribeClusterSnapshotsPaginator.ts | 2 +- .../pagination/DescribeClusterSubnetGroupsPaginator.ts | 2 +- .../pagination/DescribeClusterVersionsPaginator.ts | 2 +- clients/client-redshift/pagination/DescribeClustersPaginator.ts | 2 +- .../pagination/DescribeDefaultClusterParametersPaginator.ts | 2 +- .../pagination/DescribeEventSubscriptionsPaginator.ts | 2 +- clients/client-redshift/pagination/DescribeEventsPaginator.ts | 2 +- .../pagination/DescribeHsmClientCertificatesPaginator.ts | 2 +- .../pagination/DescribeHsmConfigurationsPaginator.ts | 2 +- .../pagination/DescribeNodeConfigurationOptionsPaginator.ts | 2 +- .../pagination/DescribeOrderableClusterOptionsPaginator.ts | 2 +- .../pagination/DescribeReservedNodeOfferingsPaginator.ts | 2 +- .../pagination/DescribeReservedNodesPaginator.ts | 2 +- .../pagination/DescribeScheduledActionsPaginator.ts | 2 +- .../client-redshift/pagination/DescribeUsageLimitsPaginator.ts | 2 +- .../pagination/DescribeProjectVersionsPaginator.ts | 2 +- .../client-rekognition/pagination/DescribeProjectsPaginator.ts | 2 +- .../pagination/GetCelebrityRecognitionPaginator.ts | 2 +- .../pagination/GetContentModerationPaginator.ts | 2 +- .../client-rekognition/pagination/GetFaceDetectionPaginator.ts | 2 +- clients/client-rekognition/pagination/GetFaceSearchPaginator.ts | 2 +- .../client-rekognition/pagination/GetLabelDetectionPaginator.ts | 2 +- .../client-rekognition/pagination/GetPersonTrackingPaginator.ts | 2 +- .../pagination/GetSegmentDetectionPaginator.ts | 2 +- .../client-rekognition/pagination/GetTextDetectionPaginator.ts | 2 +- .../client-rekognition/pagination/ListCollectionsPaginator.ts | 2 +- clients/client-rekognition/pagination/ListFacesPaginator.ts | 2 +- .../pagination/ListStreamProcessorsPaginator.ts | 2 +- .../pagination/GetComplianceSummaryPaginator.ts | 2 +- .../pagination/GetResourcesPaginator.ts | 2 +- .../pagination/GetTagKeysPaginator.ts | 2 +- .../pagination/GetTagValuesPaginator.ts | 2 +- .../pagination/ListGroupResourcesPaginator.ts | 2 +- .../client-resource-groups/pagination/ListGroupsPaginator.ts | 2 +- .../pagination/SearchResourcesPaginator.ts | 2 +- .../client-robomaker/pagination/ListDeploymentJobsPaginator.ts | 2 +- clients/client-robomaker/pagination/ListFleetsPaginator.ts | 2 +- .../pagination/ListRobotApplicationsPaginator.ts | 2 +- clients/client-robomaker/pagination/ListRobotsPaginator.ts | 2 +- .../pagination/ListSimulationApplicationsPaginator.ts | 2 +- .../pagination/ListSimulationJobBatchesPaginator.ts | 2 +- .../client-robomaker/pagination/ListSimulationJobsPaginator.ts | 2 +- .../client-robomaker/pagination/ListWorldExportJobsPaginator.ts | 2 +- .../pagination/ListWorldGenerationJobsPaginator.ts | 2 +- .../client-robomaker/pagination/ListWorldTemplatesPaginator.ts | 2 +- clients/client-robomaker/pagination/ListWorldsPaginator.ts | 2 +- .../client-route-53-domains/pagination/ListDomainsPaginator.ts | 2 +- .../pagination/ListOperationsPaginator.ts | 2 +- .../pagination/ListResolverEndpointIpAddressesPaginator.ts | 2 +- .../pagination/ListResolverEndpointsPaginator.ts | 2 +- .../ListResolverQueryLogConfigAssociationsPaginator.ts | 2 +- .../pagination/ListResolverQueryLogConfigsPaginator.ts | 2 +- .../pagination/ListResolverRuleAssociationsPaginator.ts | 2 +- .../pagination/ListResolverRulesPaginator.ts | 2 +- .../pagination/ListTagsForResourcePaginator.ts | 2 +- .../client-s3-control/pagination/ListAccessPointsPaginator.ts | 2 +- clients/client-s3-control/pagination/ListJobsPaginator.ts | 2 +- .../pagination/ListRegionalBucketsPaginator.ts | 2 +- clients/client-s3/pagination/ListObjectsV2Paginator.ts | 2 +- clients/client-s3/pagination/ListPartsPaginator.ts | 2 +- clients/client-s3outposts/pagination/ListEndpointsPaginator.ts | 2 +- .../pagination/ListHumanLoopsPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListAlgorithmsPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListAppsPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListAutoMLJobsPaginator.ts | 2 +- .../pagination/ListCandidatesForAutoMLJobPaginator.ts | 2 +- .../pagination/ListCodeRepositoriesPaginator.ts | 2 +- .../client-sagemaker/pagination/ListCompilationJobsPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListDomainsPaginator.ts | 2 +- .../client-sagemaker/pagination/ListEndpointConfigsPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListEndpointsPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListExperimentsPaginator.ts | 2 +- .../client-sagemaker/pagination/ListFlowDefinitionsPaginator.ts | 2 +- .../client-sagemaker/pagination/ListHumanTaskUisPaginator.ts | 2 +- .../pagination/ListHyperParameterTuningJobsPaginator.ts | 2 +- .../client-sagemaker/pagination/ListImageVersionsPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListImagesPaginator.ts | 2 +- .../pagination/ListLabelingJobsForWorkteamPaginator.ts | 2 +- .../client-sagemaker/pagination/ListLabelingJobsPaginator.ts | 2 +- .../client-sagemaker/pagination/ListModelPackagesPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListModelsPaginator.ts | 2 +- .../pagination/ListMonitoringExecutionsPaginator.ts | 2 +- .../pagination/ListMonitoringSchedulesPaginator.ts | 2 +- .../pagination/ListNotebookInstanceLifecycleConfigsPaginator.ts | 2 +- .../pagination/ListNotebookInstancesPaginator.ts | 2 +- .../client-sagemaker/pagination/ListProcessingJobsPaginator.ts | 2 +- .../pagination/ListSubscribedWorkteamsPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListTagsPaginator.ts | 2 +- .../ListTrainingJobsForHyperParameterTuningJobPaginator.ts | 2 +- .../client-sagemaker/pagination/ListTrainingJobsPaginator.ts | 2 +- .../client-sagemaker/pagination/ListTransformJobsPaginator.ts | 2 +- .../client-sagemaker/pagination/ListTrialComponentsPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListTrialsPaginator.ts | 2 +- .../client-sagemaker/pagination/ListUserProfilesPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListWorkforcesPaginator.ts | 2 +- clients/client-sagemaker/pagination/ListWorkteamsPaginator.ts | 2 +- clients/client-sagemaker/pagination/SearchPaginator.ts | 2 +- clients/client-schemas/pagination/ListDiscoverersPaginator.ts | 2 +- clients/client-schemas/pagination/ListRegistriesPaginator.ts | 2 +- .../client-schemas/pagination/ListSchemaVersionsPaginator.ts | 2 +- clients/client-schemas/pagination/ListSchemasPaginator.ts | 2 +- clients/client-schemas/pagination/SearchSchemasPaginator.ts | 2 +- .../pagination/ListSecretVersionIdsPaginator.ts | 2 +- .../client-secrets-manager/pagination/ListSecretsPaginator.ts | 2 +- .../pagination/DescribeActionTargetsPaginator.ts | 2 +- .../client-securityhub/pagination/DescribeProductsPaginator.ts | 2 +- .../pagination/DescribeStandardsControlsPaginator.ts | 2 +- .../client-securityhub/pagination/DescribeStandardsPaginator.ts | 2 +- .../pagination/GetEnabledStandardsPaginator.ts | 2 +- clients/client-securityhub/pagination/GetFindingsPaginator.ts | 2 +- clients/client-securityhub/pagination/GetInsightsPaginator.ts | 2 +- .../pagination/ListEnabledProductsForImportPaginator.ts | 2 +- .../client-securityhub/pagination/ListInvitationsPaginator.ts | 2 +- clients/client-securityhub/pagination/ListMembersPaginator.ts | 2 +- .../pagination/ListApplicationDependenciesPaginator.ts | 2 +- .../pagination/ListApplicationVersionsPaginator.ts | 2 +- .../pagination/ListApplicationsPaginator.ts | 2 +- .../pagination/ListApplicationsPaginator.ts | 2 +- .../pagination/ListAssociatedAttributeGroupsPaginator.ts | 2 +- .../pagination/ListAssociatedResourcesPaginator.ts | 2 +- .../pagination/ListAttributeGroupsPaginator.ts | 2 +- .../pagination/GetProvisionedProductOutputsPaginator.ts | 2 +- .../pagination/ListAcceptedPortfolioSharesPaginator.ts | 2 +- .../pagination/ListBudgetsForResourcePaginator.ts | 2 +- .../pagination/ListConstraintsForPortfolioPaginator.ts | 2 +- .../pagination/ListLaunchPathsPaginator.ts | 2 +- .../pagination/ListOrganizationPortfolioAccessPaginator.ts | 2 +- .../pagination/ListPortfolioAccessPaginator.ts | 2 +- .../pagination/ListPortfoliosForProductPaginator.ts | 2 +- .../pagination/ListPortfoliosPaginator.ts | 2 +- .../pagination/ListPrincipalsForPortfolioPaginator.ts | 2 +- .../ListProvisioningArtifactsForServiceActionPaginator.ts | 2 +- .../pagination/ListResourcesForTagOptionPaginator.ts | 2 +- .../ListServiceActionsForProvisioningArtifactPaginator.ts | 2 +- .../pagination/ListServiceActionsPaginator.ts | 2 +- .../pagination/ListTagOptionsPaginator.ts | 2 +- .../pagination/SearchProductsAsAdminPaginator.ts | 2 +- .../pagination/SearchProductsPaginator.ts | 2 +- .../pagination/SearchProvisionedProductsPaginator.ts | 2 +- .../pagination/ListAWSDefaultServiceQuotasPaginator.ts | 2 +- .../ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.ts | 2 +- .../ListRequestedServiceQuotaChangeHistoryPaginator.ts | 2 +- .../ListServiceQuotaIncreaseRequestsInTemplatePaginator.ts | 2 +- .../pagination/ListServiceQuotasPaginator.ts | 2 +- .../client-service-quotas/pagination/ListServicesPaginator.ts | 2 +- .../pagination/GetInstancesHealthStatusPaginator.ts | 2 +- .../pagination/ListInstancesPaginator.ts | 2 +- .../pagination/ListNamespacesPaginator.ts | 2 +- .../pagination/ListOperationsPaginator.ts | 2 +- .../client-servicediscovery/pagination/ListServicesPaginator.ts | 2 +- .../pagination/ListCustomVerificationEmailTemplatesPaginator.ts | 2 +- clients/client-ses/pagination/ListIdentitiesPaginator.ts | 2 +- clients/client-sesv2/pagination/GetDedicatedIpsPaginator.ts | 2 +- .../client-sesv2/pagination/ListConfigurationSetsPaginator.ts | 2 +- clients/client-sesv2/pagination/ListContactListsPaginator.ts | 2 +- clients/client-sesv2/pagination/ListContactsPaginator.ts | 2 +- .../pagination/ListCustomVerificationEmailTemplatesPaginator.ts | 2 +- .../client-sesv2/pagination/ListDedicatedIpPoolsPaginator.ts | 2 +- .../pagination/ListDeliverabilityTestReportsPaginator.ts | 2 +- .../pagination/ListDomainDeliverabilityCampaignsPaginator.ts | 2 +- clients/client-sesv2/pagination/ListEmailIdentitiesPaginator.ts | 2 +- clients/client-sesv2/pagination/ListEmailTemplatesPaginator.ts | 2 +- clients/client-sesv2/pagination/ListImportJobsPaginator.ts | 2 +- .../pagination/ListSuppressedDestinationsPaginator.ts | 2 +- clients/client-sfn/pagination/GetExecutionHistoryPaginator.ts | 2 +- clients/client-sfn/pagination/ListActivitiesPaginator.ts | 2 +- clients/client-sfn/pagination/ListExecutionsPaginator.ts | 2 +- clients/client-sfn/pagination/ListStateMachinesPaginator.ts | 2 +- clients/client-shield/pagination/ListAttacksPaginator.ts | 2 +- clients/client-shield/pagination/ListProtectionsPaginator.ts | 2 +- clients/client-signer/pagination/ListSigningJobsPaginator.ts | 2 +- .../client-signer/pagination/ListSigningPlatformsPaginator.ts | 2 +- .../client-signer/pagination/ListSigningProfilesPaginator.ts | 2 +- clients/client-sms/pagination/GetConnectorsPaginator.ts | 2 +- clients/client-sms/pagination/GetReplicationJobsPaginator.ts | 2 +- clients/client-sms/pagination/GetReplicationRunsPaginator.ts | 2 +- clients/client-sms/pagination/GetServersPaginator.ts | 2 +- .../client-snowball/pagination/DescribeAddressesPaginator.ts | 2 +- clients/client-snowball/pagination/ListJobsPaginator.ts | 2 +- .../pagination/ListEndpointsByPlatformApplicationPaginator.ts | 2 +- .../client-sns/pagination/ListPlatformApplicationsPaginator.ts | 2 +- .../client-sns/pagination/ListSubscriptionsByTopicPaginator.ts | 2 +- clients/client-sns/pagination/ListSubscriptionsPaginator.ts | 2 +- clients/client-sns/pagination/ListTopicsPaginator.ts | 2 +- .../pagination/ListDeadLetterSourceQueuesPaginator.ts | 2 +- clients/client-sqs/pagination/ListQueuesPaginator.ts | 2 +- clients/client-ssm/pagination/DescribeActivationsPaginator.ts | 2 +- .../pagination/DescribeAssociationExecutionTargetsPaginator.ts | 2 +- .../pagination/DescribeAssociationExecutionsPaginator.ts | 2 +- .../pagination/DescribeAutomationExecutionsPaginator.ts | 2 +- .../pagination/DescribeAutomationStepExecutionsPaginator.ts | 2 +- .../client-ssm/pagination/DescribeAvailablePatchesPaginator.ts | 2 +- .../DescribeEffectiveInstanceAssociationsPaginator.ts | 2 +- .../DescribeEffectivePatchesForPatchBaselinePaginator.ts | 2 +- .../pagination/DescribeInstanceAssociationsStatusPaginator.ts | 2 +- .../pagination/DescribeInstanceInformationPaginator.ts | 2 +- .../DescribeInstancePatchStatesForPatchGroupPaginator.ts | 2 +- .../pagination/DescribeInstancePatchStatesPaginator.ts | 2 +- .../client-ssm/pagination/DescribeInstancePatchesPaginator.ts | 2 +- .../pagination/DescribeInventoryDeletionsPaginator.ts | 2 +- ...escribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts | 2 +- .../DescribeMaintenanceWindowExecutionTasksPaginator.ts | 2 +- .../pagination/DescribeMaintenanceWindowExecutionsPaginator.ts | 2 +- .../pagination/DescribeMaintenanceWindowSchedulePaginator.ts | 2 +- .../pagination/DescribeMaintenanceWindowTargetsPaginator.ts | 2 +- .../pagination/DescribeMaintenanceWindowTasksPaginator.ts | 2 +- .../pagination/DescribeMaintenanceWindowsForTargetPaginator.ts | 2 +- .../pagination/DescribeMaintenanceWindowsPaginator.ts | 2 +- clients/client-ssm/pagination/DescribeOpsItemsPaginator.ts | 2 +- clients/client-ssm/pagination/DescribeParametersPaginator.ts | 2 +- .../client-ssm/pagination/DescribePatchBaselinesPaginator.ts | 2 +- clients/client-ssm/pagination/DescribePatchGroupsPaginator.ts | 2 +- .../client-ssm/pagination/DescribePatchPropertiesPaginator.ts | 2 +- clients/client-ssm/pagination/DescribeSessionsPaginator.ts | 2 +- clients/client-ssm/pagination/GetInventoryPaginator.ts | 2 +- clients/client-ssm/pagination/GetInventorySchemaPaginator.ts | 2 +- clients/client-ssm/pagination/GetOpsSummaryPaginator.ts | 2 +- clients/client-ssm/pagination/GetParameterHistoryPaginator.ts | 2 +- clients/client-ssm/pagination/GetParametersByPathPaginator.ts | 2 +- .../client-ssm/pagination/ListAssociationVersionsPaginator.ts | 2 +- clients/client-ssm/pagination/ListAssociationsPaginator.ts | 2 +- .../client-ssm/pagination/ListCommandInvocationsPaginator.ts | 2 +- clients/client-ssm/pagination/ListCommandsPaginator.ts | 2 +- clients/client-ssm/pagination/ListComplianceItemsPaginator.ts | 2 +- .../client-ssm/pagination/ListComplianceSummariesPaginator.ts | 2 +- clients/client-ssm/pagination/ListDocumentVersionsPaginator.ts | 2 +- clients/client-ssm/pagination/ListDocumentsPaginator.ts | 2 +- .../pagination/ListResourceComplianceSummariesPaginator.ts | 2 +- clients/client-ssm/pagination/ListResourceDataSyncPaginator.ts | 2 +- .../pagination/ListAccountAssignmentCreationStatusPaginator.ts | 2 +- .../pagination/ListAccountAssignmentDeletionStatusPaginator.ts | 2 +- .../pagination/ListAccountAssignmentsPaginator.ts | 2 +- .../ListAccountsForProvisionedPermissionSetPaginator.ts | 2 +- clients/client-sso-admin/pagination/ListInstancesPaginator.ts | 2 +- .../pagination/ListManagedPoliciesInPermissionSetPaginator.ts | 2 +- .../pagination/ListPermissionSetProvisioningStatusPaginator.ts | 2 +- .../client-sso-admin/pagination/ListPermissionSetsPaginator.ts | 2 +- .../ListPermissionSetsProvisionedToAccountPaginator.ts | 2 +- .../client-sso-admin/pagination/ListTagsForResourcePaginator.ts | 2 +- clients/client-sso/pagination/ListAccountRolesPaginator.ts | 2 +- clients/client-sso/pagination/ListAccountsPaginator.ts | 2 +- .../pagination/DescribeTapeArchivesPaginator.ts | 2 +- .../pagination/DescribeTapeRecoveryPointsPaginator.ts | 2 +- .../client-storage-gateway/pagination/DescribeTapesPaginator.ts | 2 +- .../pagination/DescribeVTLDevicesPaginator.ts | 2 +- .../pagination/ListFileSharesPaginator.ts | 2 +- .../client-storage-gateway/pagination/ListGatewaysPaginator.ts | 2 +- .../pagination/ListTagsForResourcePaginator.ts | 2 +- .../client-storage-gateway/pagination/ListTapePoolsPaginator.ts | 2 +- clients/client-storage-gateway/pagination/ListTapesPaginator.ts | 2 +- .../client-storage-gateway/pagination/ListVolumesPaginator.ts | 2 +- clients/client-support/pagination/DescribeCasesPaginator.ts | 2 +- .../pagination/DescribeCommunicationsPaginator.ts | 2 +- .../pagination/GetWorkflowExecutionHistoryPaginator.ts | 2 +- clients/client-swf/pagination/ListActivityTypesPaginator.ts | 2 +- .../pagination/ListClosedWorkflowExecutionsPaginator.ts | 2 +- clients/client-swf/pagination/ListDomainsPaginator.ts | 2 +- .../pagination/ListOpenWorkflowExecutionsPaginator.ts | 2 +- clients/client-swf/pagination/ListWorkflowTypesPaginator.ts | 2 +- clients/client-swf/pagination/PollForDecisionTaskPaginator.ts | 2 +- .../pagination/DescribeCanariesLastRunPaginator.ts | 2 +- .../client-synthetics/pagination/DescribeCanariesPaginator.ts | 2 +- .../pagination/DescribeRuntimeVersionsPaginator.ts | 2 +- clients/client-synthetics/pagination/GetCanaryRunsPaginator.ts | 2 +- clients/client-timestream-query/pagination/QueryPaginator.ts | 2 +- .../pagination/ListDatabasesPaginator.ts | 2 +- .../client-timestream-write/pagination/ListTablesPaginator.ts | 2 +- .../client-transcribe/pagination/ListLanguageModelsPaginator.ts | 2 +- .../pagination/ListMedicalTranscriptionJobsPaginator.ts | 2 +- .../pagination/ListMedicalVocabulariesPaginator.ts | 2 +- .../pagination/ListTranscriptionJobsPaginator.ts | 2 +- .../client-transcribe/pagination/ListVocabulariesPaginator.ts | 2 +- .../pagination/ListVocabularyFiltersPaginator.ts | 2 +- .../client-transfer/pagination/ListSecurityPoliciesPaginator.ts | 2 +- clients/client-transfer/pagination/ListServersPaginator.ts | 2 +- .../client-transfer/pagination/ListTagsForResourcePaginator.ts | 2 +- clients/client-transfer/pagination/ListUsersPaginator.ts | 2 +- .../client-translate/pagination/ListTerminologiesPaginator.ts | 2 +- .../pagination/ListTextTranslationJobsPaginator.ts | 2 +- .../pagination/DescribeDocumentVersionsPaginator.ts | 2 +- .../pagination/DescribeFolderContentsPaginator.ts | 2 +- clients/client-workdocs/pagination/DescribeUsersPaginator.ts | 2 +- clients/client-worklink/pagination/ListDevicesPaginator.ts | 2 +- clients/client-worklink/pagination/ListDomainsPaginator.ts | 2 +- clients/client-worklink/pagination/ListFleetsPaginator.ts | 2 +- .../pagination/ListWebsiteAuthorizationProvidersPaginator.ts | 2 +- .../pagination/ListWebsiteCertificateAuthoritiesPaginator.ts | 2 +- clients/client-workmail/pagination/ListAliasesPaginator.ts | 2 +- clients/client-workmail/pagination/ListGroupMembersPaginator.ts | 2 +- clients/client-workmail/pagination/ListGroupsPaginator.ts | 2 +- .../pagination/ListMailboxExportJobsPaginator.ts | 2 +- .../pagination/ListMailboxPermissionsPaginator.ts | 2 +- .../client-workmail/pagination/ListOrganizationsPaginator.ts | 2 +- .../pagination/ListResourceDelegatesPaginator.ts | 2 +- clients/client-workmail/pagination/ListResourcesPaginator.ts | 2 +- clients/client-workmail/pagination/ListUsersPaginator.ts | 2 +- .../pagination/DescribeWorkspaceBundlesPaginator.ts | 2 +- .../pagination/DescribeWorkspaceDirectoriesPaginator.ts | 2 +- .../client-workspaces/pagination/DescribeWorkspacesPaginator.ts | 2 +- clients/client-xray/pagination/BatchGetTracesPaginator.ts | 2 +- clients/client-xray/pagination/GetGroupsPaginator.ts | 2 +- clients/client-xray/pagination/GetInsightEventsPaginator.ts | 2 +- clients/client-xray/pagination/GetInsightSummariesPaginator.ts | 2 +- clients/client-xray/pagination/GetSamplingRulesPaginator.ts | 2 +- .../pagination/GetSamplingStatisticSummariesPaginator.ts | 2 +- clients/client-xray/pagination/GetServiceGraphPaginator.ts | 2 +- .../pagination/GetTimeSeriesServiceStatisticsPaginator.ts | 2 +- clients/client-xray/pagination/GetTraceGraphPaginator.ts | 2 +- clients/client-xray/pagination/GetTraceSummariesPaginator.ts | 2 +- 1266 files changed, 1266 insertions(+), 1266 deletions(-) diff --git a/clients/client-accessanalyzer/pagination/ListAnalyzedResourcesPaginator.ts b/clients/client-accessanalyzer/pagination/ListAnalyzedResourcesPaginator.ts index b3a510716962..7eccc4c93dc4 100644 --- a/clients/client-accessanalyzer/pagination/ListAnalyzedResourcesPaginator.ts +++ b/clients/client-accessanalyzer/pagination/ListAnalyzedResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAnalyzedResourcesCommand(input, ...args)); + return await client.send(new ListAnalyzedResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: AccessAnalyzer, diff --git a/clients/client-accessanalyzer/pagination/ListAnalyzersPaginator.ts b/clients/client-accessanalyzer/pagination/ListAnalyzersPaginator.ts index 2842b555d56d..945be7217631 100644 --- a/clients/client-accessanalyzer/pagination/ListAnalyzersPaginator.ts +++ b/clients/client-accessanalyzer/pagination/ListAnalyzersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAnalyzersCommand(input, ...args)); + return await client.send(new ListAnalyzersCommand(input), ...args); }; const makePagedRequest = async ( client: AccessAnalyzer, diff --git a/clients/client-accessanalyzer/pagination/ListArchiveRulesPaginator.ts b/clients/client-accessanalyzer/pagination/ListArchiveRulesPaginator.ts index aa18c636c650..5a853d41b127 100644 --- a/clients/client-accessanalyzer/pagination/ListArchiveRulesPaginator.ts +++ b/clients/client-accessanalyzer/pagination/ListArchiveRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListArchiveRulesCommand(input, ...args)); + return await client.send(new ListArchiveRulesCommand(input), ...args); }; const makePagedRequest = async ( client: AccessAnalyzer, diff --git a/clients/client-accessanalyzer/pagination/ListFindingsPaginator.ts b/clients/client-accessanalyzer/pagination/ListFindingsPaginator.ts index 35ac8b465b9b..2c4cf39d8a5e 100644 --- a/clients/client-accessanalyzer/pagination/ListFindingsPaginator.ts +++ b/clients/client-accessanalyzer/pagination/ListFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsCommand(input, ...args)); + return await client.send(new ListFindingsCommand(input), ...args); }; const makePagedRequest = async ( client: AccessAnalyzer, diff --git a/clients/client-acm-pca/pagination/ListCertificateAuthoritiesPaginator.ts b/clients/client-acm-pca/pagination/ListCertificateAuthoritiesPaginator.ts index c3f32a8763cf..c31bbb0d117e 100644 --- a/clients/client-acm-pca/pagination/ListCertificateAuthoritiesPaginator.ts +++ b/clients/client-acm-pca/pagination/ListCertificateAuthoritiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCertificateAuthoritiesCommand(input, ...args)); + return await client.send(new ListCertificateAuthoritiesCommand(input), ...args); }; const makePagedRequest = async ( client: ACMPCA, diff --git a/clients/client-acm-pca/pagination/ListPermissionsPaginator.ts b/clients/client-acm-pca/pagination/ListPermissionsPaginator.ts index 9a987716516f..ca7bdfa84c52 100644 --- a/clients/client-acm-pca/pagination/ListPermissionsPaginator.ts +++ b/clients/client-acm-pca/pagination/ListPermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionsCommand(input, ...args)); + return await client.send(new ListPermissionsCommand(input), ...args); }; const makePagedRequest = async ( client: ACMPCA, diff --git a/clients/client-acm-pca/pagination/ListTagsPaginator.ts b/clients/client-acm-pca/pagination/ListTagsPaginator.ts index e82cf1ca9d56..f8b7800ab050 100644 --- a/clients/client-acm-pca/pagination/ListTagsPaginator.ts +++ b/clients/client-acm-pca/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input, ...args)); + return await client.send(new ListTagsCommand(input), ...args); }; const makePagedRequest = async ( client: ACMPCA, diff --git a/clients/client-acm/pagination/ListCertificatesPaginator.ts b/clients/client-acm/pagination/ListCertificatesPaginator.ts index fe8a979079d0..8adc7d44acd0 100644 --- a/clients/client-acm/pagination/ListCertificatesPaginator.ts +++ b/clients/client-acm/pagination/ListCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCertificatesCommand(input, ...args)); + return await client.send(new ListCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: ACM, diff --git a/clients/client-alexa-for-business/pagination/ListBusinessReportSchedulesPaginator.ts b/clients/client-alexa-for-business/pagination/ListBusinessReportSchedulesPaginator.ts index d332488b8db2..b1736282e117 100644 --- a/clients/client-alexa-for-business/pagination/ListBusinessReportSchedulesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListBusinessReportSchedulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBusinessReportSchedulesCommand(input, ...args)); + return await client.send(new ListBusinessReportSchedulesCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListConferenceProvidersPaginator.ts b/clients/client-alexa-for-business/pagination/ListConferenceProvidersPaginator.ts index 2c06c213f6b4..cc3091b9f50a 100644 --- a/clients/client-alexa-for-business/pagination/ListConferenceProvidersPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListConferenceProvidersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConferenceProvidersCommand(input, ...args)); + return await client.send(new ListConferenceProvidersCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListDeviceEventsPaginator.ts b/clients/client-alexa-for-business/pagination/ListDeviceEventsPaginator.ts index 74e1d2724210..8d44abece963 100644 --- a/clients/client-alexa-for-business/pagination/ListDeviceEventsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListDeviceEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeviceEventsCommand(input, ...args)); + return await client.send(new ListDeviceEventsCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListGatewayGroupsPaginator.ts b/clients/client-alexa-for-business/pagination/ListGatewayGroupsPaginator.ts index 895e8e2289f4..eb653c625376 100644 --- a/clients/client-alexa-for-business/pagination/ListGatewayGroupsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListGatewayGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewayGroupsCommand(input, ...args)); + return await client.send(new ListGatewayGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListGatewaysPaginator.ts b/clients/client-alexa-for-business/pagination/ListGatewaysPaginator.ts index 38bbae5ec879..0be913af896c 100644 --- a/clients/client-alexa-for-business/pagination/ListGatewaysPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewaysCommand(input, ...args)); + return await client.send(new ListGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListSkillsPaginator.ts b/clients/client-alexa-for-business/pagination/ListSkillsPaginator.ts index 6161663ece89..513ad7716286 100644 --- a/clients/client-alexa-for-business/pagination/ListSkillsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListSkillsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSkillsCommand(input, ...args)); + return await client.send(new ListSkillsCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListSkillsStoreCategoriesPaginator.ts b/clients/client-alexa-for-business/pagination/ListSkillsStoreCategoriesPaginator.ts index cc7843f76b65..803fb7b61d7f 100644 --- a/clients/client-alexa-for-business/pagination/ListSkillsStoreCategoriesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListSkillsStoreCategoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSkillsStoreCategoriesCommand(input, ...args)); + return await client.send(new ListSkillsStoreCategoriesCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListSkillsStoreSkillsByCategoryPaginator.ts b/clients/client-alexa-for-business/pagination/ListSkillsStoreSkillsByCategoryPaginator.ts index 905b0594f568..ab48882b4b79 100644 --- a/clients/client-alexa-for-business/pagination/ListSkillsStoreSkillsByCategoryPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListSkillsStoreSkillsByCategoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSkillsStoreSkillsByCategoryCommand(input, ...args)); + return await client.send(new ListSkillsStoreSkillsByCategoryCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListSmartHomeAppliancesPaginator.ts b/clients/client-alexa-for-business/pagination/ListSmartHomeAppliancesPaginator.ts index a8429fb52606..7f3a33a19c11 100644 --- a/clients/client-alexa-for-business/pagination/ListSmartHomeAppliancesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListSmartHomeAppliancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSmartHomeAppliancesCommand(input, ...args)); + return await client.send(new ListSmartHomeAppliancesCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/ListTagsPaginator.ts b/clients/client-alexa-for-business/pagination/ListTagsPaginator.ts index 0312f781fc6f..7c99123a8a7d 100644 --- a/clients/client-alexa-for-business/pagination/ListTagsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input, ...args)); + return await client.send(new ListTagsCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchAddressBooksPaginator.ts b/clients/client-alexa-for-business/pagination/SearchAddressBooksPaginator.ts index 2ad0f225f8ea..a31fd0b8ed06 100644 --- a/clients/client-alexa-for-business/pagination/SearchAddressBooksPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchAddressBooksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchAddressBooksCommand(input, ...args)); + return await client.send(new SearchAddressBooksCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchContactsPaginator.ts b/clients/client-alexa-for-business/pagination/SearchContactsPaginator.ts index 1767a5c5d4d5..971336fdd56e 100644 --- a/clients/client-alexa-for-business/pagination/SearchContactsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchContactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchContactsCommand(input, ...args)); + return await client.send(new SearchContactsCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchDevicesPaginator.ts b/clients/client-alexa-for-business/pagination/SearchDevicesPaginator.ts index 865235854f89..31eeef278a6e 100644 --- a/clients/client-alexa-for-business/pagination/SearchDevicesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchDevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchDevicesCommand(input, ...args)); + return await client.send(new SearchDevicesCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchNetworkProfilesPaginator.ts b/clients/client-alexa-for-business/pagination/SearchNetworkProfilesPaginator.ts index 8b3b7dce1ed3..c0fd3f75c21c 100644 --- a/clients/client-alexa-for-business/pagination/SearchNetworkProfilesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchNetworkProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchNetworkProfilesCommand(input, ...args)); + return await client.send(new SearchNetworkProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchProfilesPaginator.ts b/clients/client-alexa-for-business/pagination/SearchProfilesPaginator.ts index 456b455993eb..d15ad233eac2 100644 --- a/clients/client-alexa-for-business/pagination/SearchProfilesPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchProfilesCommand(input, ...args)); + return await client.send(new SearchProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchRoomsPaginator.ts b/clients/client-alexa-for-business/pagination/SearchRoomsPaginator.ts index 9bee4c72fb45..ebb9a3b8192b 100644 --- a/clients/client-alexa-for-business/pagination/SearchRoomsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchRoomsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchRoomsCommand(input, ...args)); + return await client.send(new SearchRoomsCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchSkillGroupsPaginator.ts b/clients/client-alexa-for-business/pagination/SearchSkillGroupsPaginator.ts index 65bb6042c125..50367f1fce58 100644 --- a/clients/client-alexa-for-business/pagination/SearchSkillGroupsPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchSkillGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchSkillGroupsCommand(input, ...args)); + return await client.send(new SearchSkillGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-alexa-for-business/pagination/SearchUsersPaginator.ts b/clients/client-alexa-for-business/pagination/SearchUsersPaginator.ts index 3640a4d33aab..e6d9831656ee 100644 --- a/clients/client-alexa-for-business/pagination/SearchUsersPaginator.ts +++ b/clients/client-alexa-for-business/pagination/SearchUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchUsersCommand(input, ...args)); + return await client.send(new SearchUsersCommand(input), ...args); }; const makePagedRequest = async ( client: AlexaForBusiness, diff --git a/clients/client-api-gateway/pagination/GetApiKeysPaginator.ts b/clients/client-api-gateway/pagination/GetApiKeysPaginator.ts index 60aa0ef760b6..5552bd3d58ce 100644 --- a/clients/client-api-gateway/pagination/GetApiKeysPaginator.ts +++ b/clients/client-api-gateway/pagination/GetApiKeysPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetApiKeysCommand(input, ...args)); + return await client.send(new GetApiKeysCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetBasePathMappingsPaginator.ts b/clients/client-api-gateway/pagination/GetBasePathMappingsPaginator.ts index f6a42796dbe9..3a61e8b220de 100644 --- a/clients/client-api-gateway/pagination/GetBasePathMappingsPaginator.ts +++ b/clients/client-api-gateway/pagination/GetBasePathMappingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBasePathMappingsCommand(input, ...args)); + return await client.send(new GetBasePathMappingsCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetClientCertificatesPaginator.ts b/clients/client-api-gateway/pagination/GetClientCertificatesPaginator.ts index 7d004a89f502..befdbe869951 100644 --- a/clients/client-api-gateway/pagination/GetClientCertificatesPaginator.ts +++ b/clients/client-api-gateway/pagination/GetClientCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetClientCertificatesCommand(input, ...args)); + return await client.send(new GetClientCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetDeploymentsPaginator.ts b/clients/client-api-gateway/pagination/GetDeploymentsPaginator.ts index 31c4359498e3..9ce33886afe5 100644 --- a/clients/client-api-gateway/pagination/GetDeploymentsPaginator.ts +++ b/clients/client-api-gateway/pagination/GetDeploymentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDeploymentsCommand(input, ...args)); + return await client.send(new GetDeploymentsCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetDomainNamesPaginator.ts b/clients/client-api-gateway/pagination/GetDomainNamesPaginator.ts index 5948f8b27805..1c8d33e12e37 100644 --- a/clients/client-api-gateway/pagination/GetDomainNamesPaginator.ts +++ b/clients/client-api-gateway/pagination/GetDomainNamesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDomainNamesCommand(input, ...args)); + return await client.send(new GetDomainNamesCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetModelsPaginator.ts b/clients/client-api-gateway/pagination/GetModelsPaginator.ts index 446116048dce..4b6da79f4519 100644 --- a/clients/client-api-gateway/pagination/GetModelsPaginator.ts +++ b/clients/client-api-gateway/pagination/GetModelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetModelsCommand(input, ...args)); + return await client.send(new GetModelsCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetResourcesPaginator.ts b/clients/client-api-gateway/pagination/GetResourcesPaginator.ts index 9452f3de0428..8e39d7e0df28 100644 --- a/clients/client-api-gateway/pagination/GetResourcesPaginator.ts +++ b/clients/client-api-gateway/pagination/GetResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourcesCommand(input, ...args)); + return await client.send(new GetResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetRestApisPaginator.ts b/clients/client-api-gateway/pagination/GetRestApisPaginator.ts index 56e675b0328c..6c49604aeb2d 100644 --- a/clients/client-api-gateway/pagination/GetRestApisPaginator.ts +++ b/clients/client-api-gateway/pagination/GetRestApisPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetRestApisCommand(input, ...args)); + return await client.send(new GetRestApisCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetUsagePaginator.ts b/clients/client-api-gateway/pagination/GetUsagePaginator.ts index 80a8d10715b7..64f757d5c852 100644 --- a/clients/client-api-gateway/pagination/GetUsagePaginator.ts +++ b/clients/client-api-gateway/pagination/GetUsagePaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsageCommand(input, ...args)); + return await client.send(new GetUsageCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetUsagePlanKeysPaginator.ts b/clients/client-api-gateway/pagination/GetUsagePlanKeysPaginator.ts index 4b8438ff8647..23fdf289e123 100644 --- a/clients/client-api-gateway/pagination/GetUsagePlanKeysPaginator.ts +++ b/clients/client-api-gateway/pagination/GetUsagePlanKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsagePlanKeysCommand(input, ...args)); + return await client.send(new GetUsagePlanKeysCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetUsagePlansPaginator.ts b/clients/client-api-gateway/pagination/GetUsagePlansPaginator.ts index 777e13bc65fb..82ef64affdb2 100644 --- a/clients/client-api-gateway/pagination/GetUsagePlansPaginator.ts +++ b/clients/client-api-gateway/pagination/GetUsagePlansPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsagePlansCommand(input, ...args)); + return await client.send(new GetUsagePlansCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-api-gateway/pagination/GetVpcLinksPaginator.ts b/clients/client-api-gateway/pagination/GetVpcLinksPaginator.ts index 8e553b1f371e..a52748a1fc17 100644 --- a/clients/client-api-gateway/pagination/GetVpcLinksPaginator.ts +++ b/clients/client-api-gateway/pagination/GetVpcLinksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetVpcLinksCommand(input, ...args)); + return await client.send(new GetVpcLinksCommand(input), ...args); }; const makePagedRequest = async ( client: APIGateway, diff --git a/clients/client-app-mesh/pagination/ListGatewayRoutesPaginator.ts b/clients/client-app-mesh/pagination/ListGatewayRoutesPaginator.ts index 23d816e37b29..29f4763c30a2 100644 --- a/clients/client-app-mesh/pagination/ListGatewayRoutesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListGatewayRoutesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewayRoutesCommand(input, ...args)); + return await client.send(new ListGatewayRoutesCommand(input), ...args); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListMeshesPaginator.ts b/clients/client-app-mesh/pagination/ListMeshesPaginator.ts index 9041dea34276..b74a76088d99 100644 --- a/clients/client-app-mesh/pagination/ListMeshesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListMeshesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMeshesCommand(input, ...args)); + return await client.send(new ListMeshesCommand(input), ...args); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListRoutesPaginator.ts b/clients/client-app-mesh/pagination/ListRoutesPaginator.ts index dca8e0962cf8..48b190f36c54 100644 --- a/clients/client-app-mesh/pagination/ListRoutesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListRoutesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoutesCommand(input, ...args)); + return await client.send(new ListRoutesCommand(input), ...args); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListTagsForResourcePaginator.ts b/clients/client-app-mesh/pagination/ListTagsForResourcePaginator.ts index f825720e3260..1fd84dfd1d85 100644 --- a/clients/client-app-mesh/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-app-mesh/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListVirtualGatewaysPaginator.ts b/clients/client-app-mesh/pagination/ListVirtualGatewaysPaginator.ts index 159c2ccee471..7155484a6512 100644 --- a/clients/client-app-mesh/pagination/ListVirtualGatewaysPaginator.ts +++ b/clients/client-app-mesh/pagination/ListVirtualGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualGatewaysCommand(input, ...args)); + return await client.send(new ListVirtualGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListVirtualNodesPaginator.ts b/clients/client-app-mesh/pagination/ListVirtualNodesPaginator.ts index 7b382c8eebe6..432938560677 100644 --- a/clients/client-app-mesh/pagination/ListVirtualNodesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListVirtualNodesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualNodesCommand(input, ...args)); + return await client.send(new ListVirtualNodesCommand(input), ...args); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListVirtualRoutersPaginator.ts b/clients/client-app-mesh/pagination/ListVirtualRoutersPaginator.ts index 2aa13ef8c063..b8a74867a295 100644 --- a/clients/client-app-mesh/pagination/ListVirtualRoutersPaginator.ts +++ b/clients/client-app-mesh/pagination/ListVirtualRoutersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualRoutersCommand(input, ...args)); + return await client.send(new ListVirtualRoutersCommand(input), ...args); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-app-mesh/pagination/ListVirtualServicesPaginator.ts b/clients/client-app-mesh/pagination/ListVirtualServicesPaginator.ts index 5c1df1de86dd..d9d58ee48cfb 100644 --- a/clients/client-app-mesh/pagination/ListVirtualServicesPaginator.ts +++ b/clients/client-app-mesh/pagination/ListVirtualServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualServicesCommand(input, ...args)); + return await client.send(new ListVirtualServicesCommand(input), ...args); }; const makePagedRequest = async ( client: AppMesh, diff --git a/clients/client-appconfig/pagination/ListApplicationsPaginator.ts b/clients/client-appconfig/pagination/ListApplicationsPaginator.ts index aab6c15f8184..58c9e24e749d 100644 --- a/clients/client-appconfig/pagination/ListApplicationsPaginator.ts +++ b/clients/client-appconfig/pagination/ListApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationsCommand(input, ...args)); + return await client.send(new ListApplicationsCommand(input), ...args); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListConfigurationProfilesPaginator.ts b/clients/client-appconfig/pagination/ListConfigurationProfilesPaginator.ts index 0fe2bbc37a4c..8ddda4f93d8e 100644 --- a/clients/client-appconfig/pagination/ListConfigurationProfilesPaginator.ts +++ b/clients/client-appconfig/pagination/ListConfigurationProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationProfilesCommand(input, ...args)); + return await client.send(new ListConfigurationProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListDeploymentStrategiesPaginator.ts b/clients/client-appconfig/pagination/ListDeploymentStrategiesPaginator.ts index 6d21d00b8760..1fee76dc170e 100644 --- a/clients/client-appconfig/pagination/ListDeploymentStrategiesPaginator.ts +++ b/clients/client-appconfig/pagination/ListDeploymentStrategiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentStrategiesCommand(input, ...args)); + return await client.send(new ListDeploymentStrategiesCommand(input), ...args); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListDeploymentsPaginator.ts b/clients/client-appconfig/pagination/ListDeploymentsPaginator.ts index 77f3462f9a21..306578397921 100644 --- a/clients/client-appconfig/pagination/ListDeploymentsPaginator.ts +++ b/clients/client-appconfig/pagination/ListDeploymentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentsCommand(input, ...args)); + return await client.send(new ListDeploymentsCommand(input), ...args); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListEnvironmentsPaginator.ts b/clients/client-appconfig/pagination/ListEnvironmentsPaginator.ts index 1db9fcca5ae4..bfd5b6e9b1a3 100644 --- a/clients/client-appconfig/pagination/ListEnvironmentsPaginator.ts +++ b/clients/client-appconfig/pagination/ListEnvironmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEnvironmentsCommand(input, ...args)); + return await client.send(new ListEnvironmentsCommand(input), ...args); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appconfig/pagination/ListHostedConfigurationVersionsPaginator.ts b/clients/client-appconfig/pagination/ListHostedConfigurationVersionsPaginator.ts index ea79808b3757..f09213116573 100644 --- a/clients/client-appconfig/pagination/ListHostedConfigurationVersionsPaginator.ts +++ b/clients/client-appconfig/pagination/ListHostedConfigurationVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHostedConfigurationVersionsCommand(input, ...args)); + return await client.send(new ListHostedConfigurationVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: AppConfig, diff --git a/clients/client-appflow/pagination/DescribeConnectorProfilesPaginator.ts b/clients/client-appflow/pagination/DescribeConnectorProfilesPaginator.ts index 9577614cbd3c..3fbd4606e96b 100644 --- a/clients/client-appflow/pagination/DescribeConnectorProfilesPaginator.ts +++ b/clients/client-appflow/pagination/DescribeConnectorProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeConnectorProfilesCommand(input, ...args)); + return await client.send(new DescribeConnectorProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: Appflow, diff --git a/clients/client-appflow/pagination/DescribeConnectorsPaginator.ts b/clients/client-appflow/pagination/DescribeConnectorsPaginator.ts index e4b40575f75f..c64ba4eae1a3 100644 --- a/clients/client-appflow/pagination/DescribeConnectorsPaginator.ts +++ b/clients/client-appflow/pagination/DescribeConnectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeConnectorsCommand(input, ...args)); + return await client.send(new DescribeConnectorsCommand(input), ...args); }; const makePagedRequest = async ( client: Appflow, diff --git a/clients/client-appflow/pagination/DescribeFlowExecutionRecordsPaginator.ts b/clients/client-appflow/pagination/DescribeFlowExecutionRecordsPaginator.ts index ef181745de15..0de5fec9d130 100644 --- a/clients/client-appflow/pagination/DescribeFlowExecutionRecordsPaginator.ts +++ b/clients/client-appflow/pagination/DescribeFlowExecutionRecordsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFlowExecutionRecordsCommand(input, ...args)); + return await client.send(new DescribeFlowExecutionRecordsCommand(input), ...args); }; const makePagedRequest = async ( client: Appflow, diff --git a/clients/client-appflow/pagination/ListFlowsPaginator.ts b/clients/client-appflow/pagination/ListFlowsPaginator.ts index a5ebe610481a..80a3cf669df8 100644 --- a/clients/client-appflow/pagination/ListFlowsPaginator.ts +++ b/clients/client-appflow/pagination/ListFlowsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFlowsCommand(input, ...args)); + return await client.send(new ListFlowsCommand(input), ...args); }; const makePagedRequest = async ( client: Appflow, diff --git a/clients/client-application-auto-scaling/pagination/DescribeScalableTargetsPaginator.ts b/clients/client-application-auto-scaling/pagination/DescribeScalableTargetsPaginator.ts index 30196730e559..1923b1b548f9 100644 --- a/clients/client-application-auto-scaling/pagination/DescribeScalableTargetsPaginator.ts +++ b/clients/client-application-auto-scaling/pagination/DescribeScalableTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalableTargetsCommand(input, ...args)); + return await client.send(new DescribeScalableTargetsCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationAutoScaling, diff --git a/clients/client-application-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts b/clients/client-application-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts index 451176f8d4e9..385e99be4d47 100644 --- a/clients/client-application-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts +++ b/clients/client-application-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalingActivitiesCommand(input, ...args)); + return await client.send(new DescribeScalingActivitiesCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationAutoScaling, diff --git a/clients/client-application-auto-scaling/pagination/DescribeScalingPoliciesPaginator.ts b/clients/client-application-auto-scaling/pagination/DescribeScalingPoliciesPaginator.ts index 4a53ec95f018..10cda54d9d34 100644 --- a/clients/client-application-auto-scaling/pagination/DescribeScalingPoliciesPaginator.ts +++ b/clients/client-application-auto-scaling/pagination/DescribeScalingPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalingPoliciesCommand(input, ...args)); + return await client.send(new DescribeScalingPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationAutoScaling, diff --git a/clients/client-application-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts b/clients/client-application-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts index 876eb4c40280..f54beebd1cb3 100644 --- a/clients/client-application-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts +++ b/clients/client-application-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledActionsCommand(input, ...args)); + return await client.send(new DescribeScheduledActionsCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationAutoScaling, diff --git a/clients/client-application-discovery-service/pagination/DescribeContinuousExportsPaginator.ts b/clients/client-application-discovery-service/pagination/DescribeContinuousExportsPaginator.ts index 1387444ca004..7b717861ba05 100644 --- a/clients/client-application-discovery-service/pagination/DescribeContinuousExportsPaginator.ts +++ b/clients/client-application-discovery-service/pagination/DescribeContinuousExportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeContinuousExportsCommand(input, ...args)); + return await client.send(new DescribeContinuousExportsCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationDiscoveryService, diff --git a/clients/client-application-discovery-service/pagination/DescribeImportTasksPaginator.ts b/clients/client-application-discovery-service/pagination/DescribeImportTasksPaginator.ts index deca11a067a5..7dbafc987831 100644 --- a/clients/client-application-discovery-service/pagination/DescribeImportTasksPaginator.ts +++ b/clients/client-application-discovery-service/pagination/DescribeImportTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImportTasksCommand(input, ...args)); + return await client.send(new DescribeImportTasksCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationDiscoveryService, diff --git a/clients/client-application-insights/pagination/ListApplicationsPaginator.ts b/clients/client-application-insights/pagination/ListApplicationsPaginator.ts index 093865c95d0c..68852c5ca343 100644 --- a/clients/client-application-insights/pagination/ListApplicationsPaginator.ts +++ b/clients/client-application-insights/pagination/ListApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationsCommand(input, ...args)); + return await client.send(new ListApplicationsCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListComponentsPaginator.ts b/clients/client-application-insights/pagination/ListComponentsPaginator.ts index ae244c0261f3..68baaa15c2e8 100644 --- a/clients/client-application-insights/pagination/ListComponentsPaginator.ts +++ b/clients/client-application-insights/pagination/ListComponentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComponentsCommand(input, ...args)); + return await client.send(new ListComponentsCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListConfigurationHistoryPaginator.ts b/clients/client-application-insights/pagination/ListConfigurationHistoryPaginator.ts index 13615d37eaab..e21592c23dbb 100644 --- a/clients/client-application-insights/pagination/ListConfigurationHistoryPaginator.ts +++ b/clients/client-application-insights/pagination/ListConfigurationHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationHistoryCommand(input, ...args)); + return await client.send(new ListConfigurationHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListLogPatternSetsPaginator.ts b/clients/client-application-insights/pagination/ListLogPatternSetsPaginator.ts index 8e9f7a02a1c7..7cde11b95b48 100644 --- a/clients/client-application-insights/pagination/ListLogPatternSetsPaginator.ts +++ b/clients/client-application-insights/pagination/ListLogPatternSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLogPatternSetsCommand(input, ...args)); + return await client.send(new ListLogPatternSetsCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListLogPatternsPaginator.ts b/clients/client-application-insights/pagination/ListLogPatternsPaginator.ts index 0802fa7d4e3b..853c873a7859 100644 --- a/clients/client-application-insights/pagination/ListLogPatternsPaginator.ts +++ b/clients/client-application-insights/pagination/ListLogPatternsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLogPatternsCommand(input, ...args)); + return await client.send(new ListLogPatternsCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-application-insights/pagination/ListProblemsPaginator.ts b/clients/client-application-insights/pagination/ListProblemsPaginator.ts index c719f5631854..d3073f2eeec0 100644 --- a/clients/client-application-insights/pagination/ListProblemsPaginator.ts +++ b/clients/client-application-insights/pagination/ListProblemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProblemsCommand(input, ...args)); + return await client.send(new ListProblemsCommand(input), ...args); }; const makePagedRequest = async ( client: ApplicationInsights, diff --git a/clients/client-appstream/pagination/DescribeImagePermissionsPaginator.ts b/clients/client-appstream/pagination/DescribeImagePermissionsPaginator.ts index feb9fa887bc5..ec9ff73039b0 100644 --- a/clients/client-appstream/pagination/DescribeImagePermissionsPaginator.ts +++ b/clients/client-appstream/pagination/DescribeImagePermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImagePermissionsCommand(input, ...args)); + return await client.send(new DescribeImagePermissionsCommand(input), ...args); }; const makePagedRequest = async ( client: AppStream, diff --git a/clients/client-appstream/pagination/DescribeImagesPaginator.ts b/clients/client-appstream/pagination/DescribeImagesPaginator.ts index 7756113ce676..cf197cec6f6b 100644 --- a/clients/client-appstream/pagination/DescribeImagesPaginator.ts +++ b/clients/client-appstream/pagination/DescribeImagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImagesCommand(input, ...args)); + return await client.send(new DescribeImagesCommand(input), ...args); }; const makePagedRequest = async ( client: AppStream, diff --git a/clients/client-athena/pagination/GetQueryResultsPaginator.ts b/clients/client-athena/pagination/GetQueryResultsPaginator.ts index 5ffb4acc6ead..6c93c0ef44a6 100644 --- a/clients/client-athena/pagination/GetQueryResultsPaginator.ts +++ b/clients/client-athena/pagination/GetQueryResultsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetQueryResultsCommand(input, ...args)); + return await client.send(new GetQueryResultsCommand(input), ...args); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListDataCatalogsPaginator.ts b/clients/client-athena/pagination/ListDataCatalogsPaginator.ts index 428a2236c49d..681ca81e76b1 100644 --- a/clients/client-athena/pagination/ListDataCatalogsPaginator.ts +++ b/clients/client-athena/pagination/ListDataCatalogsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataCatalogsCommand(input, ...args)); + return await client.send(new ListDataCatalogsCommand(input), ...args); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListDatabasesPaginator.ts b/clients/client-athena/pagination/ListDatabasesPaginator.ts index edc051b31488..c24bb88a3966 100644 --- a/clients/client-athena/pagination/ListDatabasesPaginator.ts +++ b/clients/client-athena/pagination/ListDatabasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatabasesCommand(input, ...args)); + return await client.send(new ListDatabasesCommand(input), ...args); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListNamedQueriesPaginator.ts b/clients/client-athena/pagination/ListNamedQueriesPaginator.ts index d31bf5d4e263..4fad359cfc9a 100644 --- a/clients/client-athena/pagination/ListNamedQueriesPaginator.ts +++ b/clients/client-athena/pagination/ListNamedQueriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNamedQueriesCommand(input, ...args)); + return await client.send(new ListNamedQueriesCommand(input), ...args); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListQueryExecutionsPaginator.ts b/clients/client-athena/pagination/ListQueryExecutionsPaginator.ts index 641fde0f0003..c3cf368ce987 100644 --- a/clients/client-athena/pagination/ListQueryExecutionsPaginator.ts +++ b/clients/client-athena/pagination/ListQueryExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQueryExecutionsCommand(input, ...args)); + return await client.send(new ListQueryExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListTableMetadataPaginator.ts b/clients/client-athena/pagination/ListTableMetadataPaginator.ts index 3bc480ea2ba2..1412a3a670f1 100644 --- a/clients/client-athena/pagination/ListTableMetadataPaginator.ts +++ b/clients/client-athena/pagination/ListTableMetadataPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTableMetadataCommand(input, ...args)); + return await client.send(new ListTableMetadataCommand(input), ...args); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListTagsForResourcePaginator.ts b/clients/client-athena/pagination/ListTagsForResourcePaginator.ts index efd6965bf8bd..19866daa3c88 100644 --- a/clients/client-athena/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-athena/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-athena/pagination/ListWorkGroupsPaginator.ts b/clients/client-athena/pagination/ListWorkGroupsPaginator.ts index 1f017b3fc7d3..980249be6bbf 100644 --- a/clients/client-athena/pagination/ListWorkGroupsPaginator.ts +++ b/clients/client-athena/pagination/ListWorkGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkGroupsCommand(input, ...args)); + return await client.send(new ListWorkGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Athena, diff --git a/clients/client-auto-scaling/pagination/DescribeAutoScalingGroupsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeAutoScalingGroupsPaginator.ts index 4e1aa82b7c1b..09544f89876d 100644 --- a/clients/client-auto-scaling/pagination/DescribeAutoScalingGroupsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeAutoScalingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAutoScalingGroupsCommand(input, ...args)); + return await client.send(new DescribeAutoScalingGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeAutoScalingInstancesPaginator.ts b/clients/client-auto-scaling/pagination/DescribeAutoScalingInstancesPaginator.ts index 9a125d24c064..5b7b705acbb2 100644 --- a/clients/client-auto-scaling/pagination/DescribeAutoScalingInstancesPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeAutoScalingInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAutoScalingInstancesCommand(input, ...args)); + return await client.send(new DescribeAutoScalingInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeLaunchConfigurationsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeLaunchConfigurationsPaginator.ts index 2a06955fd567..46f3f234ee37 100644 --- a/clients/client-auto-scaling/pagination/DescribeLaunchConfigurationsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeLaunchConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLaunchConfigurationsCommand(input, ...args)); + return await client.send(new DescribeLaunchConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeNotificationConfigurationsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeNotificationConfigurationsPaginator.ts index bce168376783..f7b6027a18ae 100644 --- a/clients/client-auto-scaling/pagination/DescribeNotificationConfigurationsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeNotificationConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNotificationConfigurationsCommand(input, ...args)); + return await client.send(new DescribeNotificationConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribePoliciesPaginator.ts b/clients/client-auto-scaling/pagination/DescribePoliciesPaginator.ts index cedf4142fd26..517a7fee1068 100644 --- a/clients/client-auto-scaling/pagination/DescribePoliciesPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribePoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePoliciesCommand(input, ...args)); + return await client.send(new DescribePoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts b/clients/client-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts index ee1a34125a33..1efa7da1f476 100644 --- a/clients/client-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeScalingActivitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalingActivitiesCommand(input, ...args)); + return await client.send(new DescribeScalingActivitiesCommand(input), ...args); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts index bcf644562034..e0d814676c90 100644 --- a/clients/client-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeScheduledActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledActionsCommand(input, ...args)); + return await client.send(new DescribeScheduledActionsCommand(input), ...args); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-auto-scaling/pagination/DescribeTagsPaginator.ts b/clients/client-auto-scaling/pagination/DescribeTagsPaginator.ts index e2c9a3868c1c..c2960c213c66 100644 --- a/clients/client-auto-scaling/pagination/DescribeTagsPaginator.ts +++ b/clients/client-auto-scaling/pagination/DescribeTagsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTagsCommand(input, ...args)); + return await client.send(new DescribeTagsCommand(input), ...args); }; const makePagedRequest = async ( client: AutoScaling, diff --git a/clients/client-backup/pagination/ListBackupJobsPaginator.ts b/clients/client-backup/pagination/ListBackupJobsPaginator.ts index 86e5da12a166..acd9ee444d4b 100644 --- a/clients/client-backup/pagination/ListBackupJobsPaginator.ts +++ b/clients/client-backup/pagination/ListBackupJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupJobsCommand(input, ...args)); + return await client.send(new ListBackupJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupPlanTemplatesPaginator.ts b/clients/client-backup/pagination/ListBackupPlanTemplatesPaginator.ts index 28420aae0e8a..16c6b463e24c 100644 --- a/clients/client-backup/pagination/ListBackupPlanTemplatesPaginator.ts +++ b/clients/client-backup/pagination/ListBackupPlanTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupPlanTemplatesCommand(input, ...args)); + return await client.send(new ListBackupPlanTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupPlanVersionsPaginator.ts b/clients/client-backup/pagination/ListBackupPlanVersionsPaginator.ts index 0f07656a9826..3468c342785a 100644 --- a/clients/client-backup/pagination/ListBackupPlanVersionsPaginator.ts +++ b/clients/client-backup/pagination/ListBackupPlanVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupPlanVersionsCommand(input, ...args)); + return await client.send(new ListBackupPlanVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupPlansPaginator.ts b/clients/client-backup/pagination/ListBackupPlansPaginator.ts index 62a584a2aa95..d336394f8d18 100644 --- a/clients/client-backup/pagination/ListBackupPlansPaginator.ts +++ b/clients/client-backup/pagination/ListBackupPlansPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupPlansCommand(input, ...args)); + return await client.send(new ListBackupPlansCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupSelectionsPaginator.ts b/clients/client-backup/pagination/ListBackupSelectionsPaginator.ts index c974e2b90dca..3c0d3f1ff063 100644 --- a/clients/client-backup/pagination/ListBackupSelectionsPaginator.ts +++ b/clients/client-backup/pagination/ListBackupSelectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupSelectionsCommand(input, ...args)); + return await client.send(new ListBackupSelectionsCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListBackupVaultsPaginator.ts b/clients/client-backup/pagination/ListBackupVaultsPaginator.ts index f835082a9ac1..a5b7d0201389 100644 --- a/clients/client-backup/pagination/ListBackupVaultsPaginator.ts +++ b/clients/client-backup/pagination/ListBackupVaultsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBackupVaultsCommand(input, ...args)); + return await client.send(new ListBackupVaultsCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListCopyJobsPaginator.ts b/clients/client-backup/pagination/ListCopyJobsPaginator.ts index 9eabf3247dc7..62960b32cb9f 100644 --- a/clients/client-backup/pagination/ListCopyJobsPaginator.ts +++ b/clients/client-backup/pagination/ListCopyJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCopyJobsCommand(input, ...args)); + return await client.send(new ListCopyJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListProtectedResourcesPaginator.ts b/clients/client-backup/pagination/ListProtectedResourcesPaginator.ts index d0793c9eba97..99ec02850088 100644 --- a/clients/client-backup/pagination/ListProtectedResourcesPaginator.ts +++ b/clients/client-backup/pagination/ListProtectedResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProtectedResourcesCommand(input, ...args)); + return await client.send(new ListProtectedResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListRecoveryPointsByBackupVaultPaginator.ts b/clients/client-backup/pagination/ListRecoveryPointsByBackupVaultPaginator.ts index 5d55398b489a..2697697803af 100644 --- a/clients/client-backup/pagination/ListRecoveryPointsByBackupVaultPaginator.ts +++ b/clients/client-backup/pagination/ListRecoveryPointsByBackupVaultPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecoveryPointsByBackupVaultCommand(input, ...args)); + return await client.send(new ListRecoveryPointsByBackupVaultCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListRecoveryPointsByResourcePaginator.ts b/clients/client-backup/pagination/ListRecoveryPointsByResourcePaginator.ts index cf1f45e4899b..e38d8b1fd17b 100644 --- a/clients/client-backup/pagination/ListRecoveryPointsByResourcePaginator.ts +++ b/clients/client-backup/pagination/ListRecoveryPointsByResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecoveryPointsByResourceCommand(input, ...args)); + return await client.send(new ListRecoveryPointsByResourceCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListRestoreJobsPaginator.ts b/clients/client-backup/pagination/ListRestoreJobsPaginator.ts index 3720b85fd653..e7c36595805c 100644 --- a/clients/client-backup/pagination/ListRestoreJobsPaginator.ts +++ b/clients/client-backup/pagination/ListRestoreJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRestoreJobsCommand(input, ...args)); + return await client.send(new ListRestoreJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-backup/pagination/ListTagsPaginator.ts b/clients/client-backup/pagination/ListTagsPaginator.ts index 0e1e4b89fb20..aeaca9c21127 100644 --- a/clients/client-backup/pagination/ListTagsPaginator.ts +++ b/clients/client-backup/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input, ...args)); + return await client.send(new ListTagsCommand(input), ...args); }; const makePagedRequest = async ( client: Backup, diff --git a/clients/client-batch/pagination/DescribeComputeEnvironmentsPaginator.ts b/clients/client-batch/pagination/DescribeComputeEnvironmentsPaginator.ts index bc2a2a4e3f07..e2d3738271de 100644 --- a/clients/client-batch/pagination/DescribeComputeEnvironmentsPaginator.ts +++ b/clients/client-batch/pagination/DescribeComputeEnvironmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeComputeEnvironmentsCommand(input, ...args)); + return await client.send(new DescribeComputeEnvironmentsCommand(input), ...args); }; const makePagedRequest = async ( client: Batch, diff --git a/clients/client-batch/pagination/DescribeJobDefinitionsPaginator.ts b/clients/client-batch/pagination/DescribeJobDefinitionsPaginator.ts index ff5c28487b78..21ccc024e551 100644 --- a/clients/client-batch/pagination/DescribeJobDefinitionsPaginator.ts +++ b/clients/client-batch/pagination/DescribeJobDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeJobDefinitionsCommand(input, ...args)); + return await client.send(new DescribeJobDefinitionsCommand(input), ...args); }; const makePagedRequest = async ( client: Batch, diff --git a/clients/client-batch/pagination/DescribeJobQueuesPaginator.ts b/clients/client-batch/pagination/DescribeJobQueuesPaginator.ts index c73b8c9cec4e..a32767ff891e 100644 --- a/clients/client-batch/pagination/DescribeJobQueuesPaginator.ts +++ b/clients/client-batch/pagination/DescribeJobQueuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeJobQueuesCommand(input, ...args)); + return await client.send(new DescribeJobQueuesCommand(input), ...args); }; const makePagedRequest = async ( client: Batch, diff --git a/clients/client-batch/pagination/ListJobsPaginator.ts b/clients/client-batch/pagination/ListJobsPaginator.ts index 1af80dcafce3..7b56b7d4b8a5 100644 --- a/clients/client-batch/pagination/ListJobsPaginator.ts +++ b/clients/client-batch/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input, ...args)); + return await client.send(new ListJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Batch, diff --git a/clients/client-braket/pagination/SearchDevicesPaginator.ts b/clients/client-braket/pagination/SearchDevicesPaginator.ts index 6630fcee72d0..122dc9c721f4 100644 --- a/clients/client-braket/pagination/SearchDevicesPaginator.ts +++ b/clients/client-braket/pagination/SearchDevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchDevicesCommand(input, ...args)); + return await client.send(new SearchDevicesCommand(input), ...args); }; const makePagedRequest = async ( client: Braket, diff --git a/clients/client-braket/pagination/SearchQuantumTasksPaginator.ts b/clients/client-braket/pagination/SearchQuantumTasksPaginator.ts index 65429c361110..b4e1961adb21 100644 --- a/clients/client-braket/pagination/SearchQuantumTasksPaginator.ts +++ b/clients/client-braket/pagination/SearchQuantumTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchQuantumTasksCommand(input, ...args)); + return await client.send(new SearchQuantumTasksCommand(input), ...args); }; const makePagedRequest = async ( client: Braket, diff --git a/clients/client-budgets/pagination/DescribeBudgetActionHistoriesPaginator.ts b/clients/client-budgets/pagination/DescribeBudgetActionHistoriesPaginator.ts index d7c012829357..be98c43df34a 100644 --- a/clients/client-budgets/pagination/DescribeBudgetActionHistoriesPaginator.ts +++ b/clients/client-budgets/pagination/DescribeBudgetActionHistoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBudgetActionHistoriesCommand(input, ...args)); + return await client.send(new DescribeBudgetActionHistoriesCommand(input), ...args); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeBudgetActionsForAccountPaginator.ts b/clients/client-budgets/pagination/DescribeBudgetActionsForAccountPaginator.ts index 3bb68cc225c5..c5990a5e55dc 100644 --- a/clients/client-budgets/pagination/DescribeBudgetActionsForAccountPaginator.ts +++ b/clients/client-budgets/pagination/DescribeBudgetActionsForAccountPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBudgetActionsForAccountCommand(input, ...args)); + return await client.send(new DescribeBudgetActionsForAccountCommand(input), ...args); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeBudgetActionsForBudgetPaginator.ts b/clients/client-budgets/pagination/DescribeBudgetActionsForBudgetPaginator.ts index 15e8a10e1375..4ce47f986411 100644 --- a/clients/client-budgets/pagination/DescribeBudgetActionsForBudgetPaginator.ts +++ b/clients/client-budgets/pagination/DescribeBudgetActionsForBudgetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBudgetActionsForBudgetCommand(input, ...args)); + return await client.send(new DescribeBudgetActionsForBudgetCommand(input), ...args); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeBudgetsPaginator.ts b/clients/client-budgets/pagination/DescribeBudgetsPaginator.ts index 67f77f47ef81..14c405d16f78 100644 --- a/clients/client-budgets/pagination/DescribeBudgetsPaginator.ts +++ b/clients/client-budgets/pagination/DescribeBudgetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBudgetsCommand(input, ...args)); + return await client.send(new DescribeBudgetsCommand(input), ...args); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeNotificationsForBudgetPaginator.ts b/clients/client-budgets/pagination/DescribeNotificationsForBudgetPaginator.ts index 61364535321c..089119772c6a 100644 --- a/clients/client-budgets/pagination/DescribeNotificationsForBudgetPaginator.ts +++ b/clients/client-budgets/pagination/DescribeNotificationsForBudgetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNotificationsForBudgetCommand(input, ...args)); + return await client.send(new DescribeNotificationsForBudgetCommand(input), ...args); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-budgets/pagination/DescribeSubscribersForNotificationPaginator.ts b/clients/client-budgets/pagination/DescribeSubscribersForNotificationPaginator.ts index c01488ff9c0f..691d5979f29d 100644 --- a/clients/client-budgets/pagination/DescribeSubscribersForNotificationPaginator.ts +++ b/clients/client-budgets/pagination/DescribeSubscribersForNotificationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSubscribersForNotificationCommand(input, ...args)); + return await client.send(new DescribeSubscribersForNotificationCommand(input), ...args); }; const makePagedRequest = async ( client: Budgets, diff --git a/clients/client-chime/pagination/ListAccountsPaginator.ts b/clients/client-chime/pagination/ListAccountsPaginator.ts index 39fe86e05c68..5b1f734cbf87 100644 --- a/clients/client-chime/pagination/ListAccountsPaginator.ts +++ b/clients/client-chime/pagination/ListAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsCommand(input, ...args)); + return await client.send(new ListAccountsCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListAttendeesPaginator.ts b/clients/client-chime/pagination/ListAttendeesPaginator.ts index 07ec7436a8b6..371306ef70a1 100644 --- a/clients/client-chime/pagination/ListAttendeesPaginator.ts +++ b/clients/client-chime/pagination/ListAttendeesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttendeesCommand(input, ...args)); + return await client.send(new ListAttendeesCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListBotsPaginator.ts b/clients/client-chime/pagination/ListBotsPaginator.ts index 2c89b581aec2..bf7f1a2c5073 100644 --- a/clients/client-chime/pagination/ListBotsPaginator.ts +++ b/clients/client-chime/pagination/ListBotsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBotsCommand(input, ...args)); + return await client.send(new ListBotsCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListMeetingsPaginator.ts b/clients/client-chime/pagination/ListMeetingsPaginator.ts index d8b2cb174377..04043d0be7ba 100644 --- a/clients/client-chime/pagination/ListMeetingsPaginator.ts +++ b/clients/client-chime/pagination/ListMeetingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMeetingsCommand(input, ...args)); + return await client.send(new ListMeetingsCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListPhoneNumberOrdersPaginator.ts b/clients/client-chime/pagination/ListPhoneNumberOrdersPaginator.ts index 2fab52f7dc01..71f3c2f7c5de 100644 --- a/clients/client-chime/pagination/ListPhoneNumberOrdersPaginator.ts +++ b/clients/client-chime/pagination/ListPhoneNumberOrdersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPhoneNumberOrdersCommand(input, ...args)); + return await client.send(new ListPhoneNumberOrdersCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListPhoneNumbersPaginator.ts b/clients/client-chime/pagination/ListPhoneNumbersPaginator.ts index a69a25af13b4..9a04303f6734 100644 --- a/clients/client-chime/pagination/ListPhoneNumbersPaginator.ts +++ b/clients/client-chime/pagination/ListPhoneNumbersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPhoneNumbersCommand(input, ...args)); + return await client.send(new ListPhoneNumbersCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListProxySessionsPaginator.ts b/clients/client-chime/pagination/ListProxySessionsPaginator.ts index 54662e9e770d..8dfc15fca4af 100644 --- a/clients/client-chime/pagination/ListProxySessionsPaginator.ts +++ b/clients/client-chime/pagination/ListProxySessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProxySessionsCommand(input, ...args)); + return await client.send(new ListProxySessionsCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListRoomMembershipsPaginator.ts b/clients/client-chime/pagination/ListRoomMembershipsPaginator.ts index e60252194302..2f1d984e414e 100644 --- a/clients/client-chime/pagination/ListRoomMembershipsPaginator.ts +++ b/clients/client-chime/pagination/ListRoomMembershipsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoomMembershipsCommand(input, ...args)); + return await client.send(new ListRoomMembershipsCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListRoomsPaginator.ts b/clients/client-chime/pagination/ListRoomsPaginator.ts index 713c3e4d8843..fe1e0732f759 100644 --- a/clients/client-chime/pagination/ListRoomsPaginator.ts +++ b/clients/client-chime/pagination/ListRoomsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoomsCommand(input, ...args)); + return await client.send(new ListRoomsCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListUsersPaginator.ts b/clients/client-chime/pagination/ListUsersPaginator.ts index fb2b5b1d6f60..79e060c21071 100644 --- a/clients/client-chime/pagination/ListUsersPaginator.ts +++ b/clients/client-chime/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input, ...args)); + return await client.send(new ListUsersCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListVoiceConnectorGroupsPaginator.ts b/clients/client-chime/pagination/ListVoiceConnectorGroupsPaginator.ts index 7f2c850177b5..11b707c0486a 100644 --- a/clients/client-chime/pagination/ListVoiceConnectorGroupsPaginator.ts +++ b/clients/client-chime/pagination/ListVoiceConnectorGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVoiceConnectorGroupsCommand(input, ...args)); + return await client.send(new ListVoiceConnectorGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-chime/pagination/ListVoiceConnectorsPaginator.ts b/clients/client-chime/pagination/ListVoiceConnectorsPaginator.ts index 218487355fd5..b34a14aea088 100644 --- a/clients/client-chime/pagination/ListVoiceConnectorsPaginator.ts +++ b/clients/client-chime/pagination/ListVoiceConnectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVoiceConnectorsCommand(input, ...args)); + return await client.send(new ListVoiceConnectorsCommand(input), ...args); }; const makePagedRequest = async ( client: Chime, diff --git a/clients/client-cloud9/pagination/DescribeEnvironmentMembershipsPaginator.ts b/clients/client-cloud9/pagination/DescribeEnvironmentMembershipsPaginator.ts index 423a6e6c2553..a1cd0d94d41f 100644 --- a/clients/client-cloud9/pagination/DescribeEnvironmentMembershipsPaginator.ts +++ b/clients/client-cloud9/pagination/DescribeEnvironmentMembershipsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEnvironmentMembershipsCommand(input, ...args)); + return await client.send(new DescribeEnvironmentMembershipsCommand(input), ...args); }; const makePagedRequest = async ( client: Cloud9, diff --git a/clients/client-cloud9/pagination/ListEnvironmentsPaginator.ts b/clients/client-cloud9/pagination/ListEnvironmentsPaginator.ts index 1fc58f8f30a7..deeea58faa07 100644 --- a/clients/client-cloud9/pagination/ListEnvironmentsPaginator.ts +++ b/clients/client-cloud9/pagination/ListEnvironmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEnvironmentsCommand(input, ...args)); + return await client.send(new ListEnvironmentsCommand(input), ...args); }; const makePagedRequest = async ( client: Cloud9, diff --git a/clients/client-clouddirectory/pagination/ListAppliedSchemaArnsPaginator.ts b/clients/client-clouddirectory/pagination/ListAppliedSchemaArnsPaginator.ts index d429ade5f4ae..e7f87e19b61b 100644 --- a/clients/client-clouddirectory/pagination/ListAppliedSchemaArnsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListAppliedSchemaArnsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAppliedSchemaArnsCommand(input, ...args)); + return await client.send(new ListAppliedSchemaArnsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListAttachedIndicesPaginator.ts b/clients/client-clouddirectory/pagination/ListAttachedIndicesPaginator.ts index a4ba64f72263..775b7fe64401 100644 --- a/clients/client-clouddirectory/pagination/ListAttachedIndicesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListAttachedIndicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedIndicesCommand(input, ...args)); + return await client.send(new ListAttachedIndicesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListDevelopmentSchemaArnsPaginator.ts b/clients/client-clouddirectory/pagination/ListDevelopmentSchemaArnsPaginator.ts index 16c983e85bf9..c9c66724890b 100644 --- a/clients/client-clouddirectory/pagination/ListDevelopmentSchemaArnsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListDevelopmentSchemaArnsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevelopmentSchemaArnsCommand(input, ...args)); + return await client.send(new ListDevelopmentSchemaArnsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListDirectoriesPaginator.ts b/clients/client-clouddirectory/pagination/ListDirectoriesPaginator.ts index 70b0ab1cf31f..9d2a14850554 100644 --- a/clients/client-clouddirectory/pagination/ListDirectoriesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListDirectoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDirectoriesCommand(input, ...args)); + return await client.send(new ListDirectoriesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListFacetAttributesPaginator.ts b/clients/client-clouddirectory/pagination/ListFacetAttributesPaginator.ts index 90458dd6de5c..ddfe855bdb82 100644 --- a/clients/client-clouddirectory/pagination/ListFacetAttributesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListFacetAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFacetAttributesCommand(input, ...args)); + return await client.send(new ListFacetAttributesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListFacetNamesPaginator.ts b/clients/client-clouddirectory/pagination/ListFacetNamesPaginator.ts index a2152931696b..5bf554c3d7f5 100644 --- a/clients/client-clouddirectory/pagination/ListFacetNamesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListFacetNamesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFacetNamesCommand(input, ...args)); + return await client.send(new ListFacetNamesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListIndexPaginator.ts b/clients/client-clouddirectory/pagination/ListIndexPaginator.ts index d409e6f5b191..d20cdaaf0de3 100644 --- a/clients/client-clouddirectory/pagination/ListIndexPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListIndexPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIndexCommand(input, ...args)); + return await client.send(new ListIndexCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListManagedSchemaArnsPaginator.ts b/clients/client-clouddirectory/pagination/ListManagedSchemaArnsPaginator.ts index 8e270716a4a9..2806a95b9c6a 100644 --- a/clients/client-clouddirectory/pagination/ListManagedSchemaArnsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListManagedSchemaArnsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListManagedSchemaArnsCommand(input, ...args)); + return await client.send(new ListManagedSchemaArnsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectAttributesPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectAttributesPaginator.ts index 4fdaa79c4412..8e928fcfde2d 100644 --- a/clients/client-clouddirectory/pagination/ListObjectAttributesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectAttributesCommand(input, ...args)); + return await client.send(new ListObjectAttributesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectChildrenPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectChildrenPaginator.ts index f1d972f9e170..02c31f4271ed 100644 --- a/clients/client-clouddirectory/pagination/ListObjectChildrenPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectChildrenPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectChildrenCommand(input, ...args)); + return await client.send(new ListObjectChildrenCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectParentPathsPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectParentPathsPaginator.ts index 7b82765c03cd..390987eaf351 100644 --- a/clients/client-clouddirectory/pagination/ListObjectParentPathsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectParentPathsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectParentPathsCommand(input, ...args)); + return await client.send(new ListObjectParentPathsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectParentsPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectParentsPaginator.ts index f06ec184d941..b85035bc0fa6 100644 --- a/clients/client-clouddirectory/pagination/ListObjectParentsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectParentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectParentsCommand(input, ...args)); + return await client.send(new ListObjectParentsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListObjectPoliciesPaginator.ts b/clients/client-clouddirectory/pagination/ListObjectPoliciesPaginator.ts index c697808b7117..3ebf186904ec 100644 --- a/clients/client-clouddirectory/pagination/ListObjectPoliciesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListObjectPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectPoliciesCommand(input, ...args)); + return await client.send(new ListObjectPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListPolicyAttachmentsPaginator.ts b/clients/client-clouddirectory/pagination/ListPolicyAttachmentsPaginator.ts index 9c857d71719d..5f1f441a0fab 100644 --- a/clients/client-clouddirectory/pagination/ListPolicyAttachmentsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListPolicyAttachmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPolicyAttachmentsCommand(input, ...args)); + return await client.send(new ListPolicyAttachmentsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListPublishedSchemaArnsPaginator.ts b/clients/client-clouddirectory/pagination/ListPublishedSchemaArnsPaginator.ts index ba630feeca1c..43d66b424241 100644 --- a/clients/client-clouddirectory/pagination/ListPublishedSchemaArnsPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListPublishedSchemaArnsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPublishedSchemaArnsCommand(input, ...args)); + return await client.send(new ListPublishedSchemaArnsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListTagsForResourcePaginator.ts b/clients/client-clouddirectory/pagination/ListTagsForResourcePaginator.ts index b22f2e14cd81..dcf4a2d6734e 100644 --- a/clients/client-clouddirectory/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-clouddirectory/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListTypedLinkFacetAttributesPaginator.ts b/clients/client-clouddirectory/pagination/ListTypedLinkFacetAttributesPaginator.ts index 909102dcc8bd..450226179f33 100644 --- a/clients/client-clouddirectory/pagination/ListTypedLinkFacetAttributesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListTypedLinkFacetAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypedLinkFacetAttributesCommand(input, ...args)); + return await client.send(new ListTypedLinkFacetAttributesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/ListTypedLinkFacetNamesPaginator.ts b/clients/client-clouddirectory/pagination/ListTypedLinkFacetNamesPaginator.ts index 3350b7a58a18..733f7d212568 100644 --- a/clients/client-clouddirectory/pagination/ListTypedLinkFacetNamesPaginator.ts +++ b/clients/client-clouddirectory/pagination/ListTypedLinkFacetNamesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypedLinkFacetNamesCommand(input, ...args)); + return await client.send(new ListTypedLinkFacetNamesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-clouddirectory/pagination/LookupPolicyPaginator.ts b/clients/client-clouddirectory/pagination/LookupPolicyPaginator.ts index 36e371f8b801..c5f57755677b 100644 --- a/clients/client-clouddirectory/pagination/LookupPolicyPaginator.ts +++ b/clients/client-clouddirectory/pagination/LookupPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new LookupPolicyCommand(input, ...args)); + return await client.send(new LookupPolicyCommand(input), ...args); }; const makePagedRequest = async ( client: CloudDirectory, diff --git a/clients/client-cloudformation/pagination/DescribeAccountLimitsPaginator.ts b/clients/client-cloudformation/pagination/DescribeAccountLimitsPaginator.ts index 8a562b62c604..49621f395b2f 100644 --- a/clients/client-cloudformation/pagination/DescribeAccountLimitsPaginator.ts +++ b/clients/client-cloudformation/pagination/DescribeAccountLimitsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAccountLimitsCommand(input, ...args)); + return await client.send(new DescribeAccountLimitsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/DescribeStackEventsPaginator.ts b/clients/client-cloudformation/pagination/DescribeStackEventsPaginator.ts index 81142edcd04f..f50ccbfdf84b 100644 --- a/clients/client-cloudformation/pagination/DescribeStackEventsPaginator.ts +++ b/clients/client-cloudformation/pagination/DescribeStackEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStackEventsCommand(input, ...args)); + return await client.send(new DescribeStackEventsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/DescribeStackResourceDriftsPaginator.ts b/clients/client-cloudformation/pagination/DescribeStackResourceDriftsPaginator.ts index db52da69e9cf..6210f41f70a3 100644 --- a/clients/client-cloudformation/pagination/DescribeStackResourceDriftsPaginator.ts +++ b/clients/client-cloudformation/pagination/DescribeStackResourceDriftsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStackResourceDriftsCommand(input, ...args)); + return await client.send(new DescribeStackResourceDriftsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/DescribeStacksPaginator.ts b/clients/client-cloudformation/pagination/DescribeStacksPaginator.ts index e5e6d594e7f3..9235c339ef47 100644 --- a/clients/client-cloudformation/pagination/DescribeStacksPaginator.ts +++ b/clients/client-cloudformation/pagination/DescribeStacksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStacksCommand(input, ...args)); + return await client.send(new DescribeStacksCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListChangeSetsPaginator.ts b/clients/client-cloudformation/pagination/ListChangeSetsPaginator.ts index 6bf8e59df6ed..27b8749c50ef 100644 --- a/clients/client-cloudformation/pagination/ListChangeSetsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListChangeSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChangeSetsCommand(input, ...args)); + return await client.send(new ListChangeSetsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListExportsPaginator.ts b/clients/client-cloudformation/pagination/ListExportsPaginator.ts index 4d19ff6a0533..d34c552e5d80 100644 --- a/clients/client-cloudformation/pagination/ListExportsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListExportsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListExportsCommand(input, ...args)); + return await client.send(new ListExportsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListImportsPaginator.ts b/clients/client-cloudformation/pagination/ListImportsPaginator.ts index 3b52f63e10a9..b711feea2548 100644 --- a/clients/client-cloudformation/pagination/ListImportsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListImportsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImportsCommand(input, ...args)); + return await client.send(new ListImportsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackInstancesPaginator.ts b/clients/client-cloudformation/pagination/ListStackInstancesPaginator.ts index 390354fa9f2e..3375bc793075 100644 --- a/clients/client-cloudformation/pagination/ListStackInstancesPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackInstancesCommand(input, ...args)); + return await client.send(new ListStackInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackResourcesPaginator.ts b/clients/client-cloudformation/pagination/ListStackResourcesPaginator.ts index 0adf9869dfbf..9ea73430f478 100644 --- a/clients/client-cloudformation/pagination/ListStackResourcesPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackResourcesCommand(input, ...args)); + return await client.send(new ListStackResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackSetOperationResultsPaginator.ts b/clients/client-cloudformation/pagination/ListStackSetOperationResultsPaginator.ts index 5882aca1e1b5..7fd1758fec7c 100644 --- a/clients/client-cloudformation/pagination/ListStackSetOperationResultsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackSetOperationResultsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackSetOperationResultsCommand(input, ...args)); + return await client.send(new ListStackSetOperationResultsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackSetOperationsPaginator.ts b/clients/client-cloudformation/pagination/ListStackSetOperationsPaginator.ts index f2dae1216758..02c90b4ec037 100644 --- a/clients/client-cloudformation/pagination/ListStackSetOperationsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackSetOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackSetOperationsCommand(input, ...args)); + return await client.send(new ListStackSetOperationsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStackSetsPaginator.ts b/clients/client-cloudformation/pagination/ListStackSetsPaginator.ts index 740de39c7b71..03804a756869 100644 --- a/clients/client-cloudformation/pagination/ListStackSetsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStackSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStackSetsCommand(input, ...args)); + return await client.send(new ListStackSetsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListStacksPaginator.ts b/clients/client-cloudformation/pagination/ListStacksPaginator.ts index 0923f1cff39d..37adf2b458a5 100644 --- a/clients/client-cloudformation/pagination/ListStacksPaginator.ts +++ b/clients/client-cloudformation/pagination/ListStacksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStacksCommand(input, ...args)); + return await client.send(new ListStacksCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListTypeRegistrationsPaginator.ts b/clients/client-cloudformation/pagination/ListTypeRegistrationsPaginator.ts index ccc27a7cc769..e821455af51b 100644 --- a/clients/client-cloudformation/pagination/ListTypeRegistrationsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListTypeRegistrationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypeRegistrationsCommand(input, ...args)); + return await client.send(new ListTypeRegistrationsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListTypeVersionsPaginator.ts b/clients/client-cloudformation/pagination/ListTypeVersionsPaginator.ts index 6b346bf0258c..ea48cac39267 100644 --- a/clients/client-cloudformation/pagination/ListTypeVersionsPaginator.ts +++ b/clients/client-cloudformation/pagination/ListTypeVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypeVersionsCommand(input, ...args)); + return await client.send(new ListTypeVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudformation/pagination/ListTypesPaginator.ts b/clients/client-cloudformation/pagination/ListTypesPaginator.ts index be21c1b63417..6af4b2280168 100644 --- a/clients/client-cloudformation/pagination/ListTypesPaginator.ts +++ b/clients/client-cloudformation/pagination/ListTypesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTypesCommand(input, ...args)); + return await client.send(new ListTypesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudFormation, diff --git a/clients/client-cloudhsm-v2/pagination/DescribeBackupsPaginator.ts b/clients/client-cloudhsm-v2/pagination/DescribeBackupsPaginator.ts index b6dbcd0461fb..b5c19831c52e 100644 --- a/clients/client-cloudhsm-v2/pagination/DescribeBackupsPaginator.ts +++ b/clients/client-cloudhsm-v2/pagination/DescribeBackupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBackupsCommand(input, ...args)); + return await client.send(new DescribeBackupsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudHSMV2, diff --git a/clients/client-cloudhsm-v2/pagination/DescribeClustersPaginator.ts b/clients/client-cloudhsm-v2/pagination/DescribeClustersPaginator.ts index c096a4f58f02..fc138316b401 100644 --- a/clients/client-cloudhsm-v2/pagination/DescribeClustersPaginator.ts +++ b/clients/client-cloudhsm-v2/pagination/DescribeClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClustersCommand(input, ...args)); + return await client.send(new DescribeClustersCommand(input), ...args); }; const makePagedRequest = async ( client: CloudHSMV2, diff --git a/clients/client-cloudhsm-v2/pagination/ListTagsPaginator.ts b/clients/client-cloudhsm-v2/pagination/ListTagsPaginator.ts index 3b6dc4e70a8e..a9a2335e8360 100644 --- a/clients/client-cloudhsm-v2/pagination/ListTagsPaginator.ts +++ b/clients/client-cloudhsm-v2/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input, ...args)); + return await client.send(new ListTagsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudHSMV2, diff --git a/clients/client-cloudtrail/pagination/ListPublicKeysPaginator.ts b/clients/client-cloudtrail/pagination/ListPublicKeysPaginator.ts index 6e5e108e82c1..8897885cbd3b 100644 --- a/clients/client-cloudtrail/pagination/ListPublicKeysPaginator.ts +++ b/clients/client-cloudtrail/pagination/ListPublicKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPublicKeysCommand(input, ...args)); + return await client.send(new ListPublicKeysCommand(input), ...args); }; const makePagedRequest = async ( client: CloudTrail, diff --git a/clients/client-cloudtrail/pagination/ListTagsPaginator.ts b/clients/client-cloudtrail/pagination/ListTagsPaginator.ts index 7f378fb0ae0a..926b6c5eaca1 100644 --- a/clients/client-cloudtrail/pagination/ListTagsPaginator.ts +++ b/clients/client-cloudtrail/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input, ...args)); + return await client.send(new ListTagsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudTrail, diff --git a/clients/client-cloudtrail/pagination/ListTrailsPaginator.ts b/clients/client-cloudtrail/pagination/ListTrailsPaginator.ts index 6b3e759c31f5..b87cd419b983 100644 --- a/clients/client-cloudtrail/pagination/ListTrailsPaginator.ts +++ b/clients/client-cloudtrail/pagination/ListTrailsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrailsCommand(input, ...args)); + return await client.send(new ListTrailsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudTrail, diff --git a/clients/client-cloudtrail/pagination/LookupEventsPaginator.ts b/clients/client-cloudtrail/pagination/LookupEventsPaginator.ts index 7c2d80de2506..32947eae49e7 100644 --- a/clients/client-cloudtrail/pagination/LookupEventsPaginator.ts +++ b/clients/client-cloudtrail/pagination/LookupEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new LookupEventsCommand(input, ...args)); + return await client.send(new LookupEventsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudTrail, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeDestinationsPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeDestinationsPaginator.ts index 6ec29a3cdf90..ea399cda4781 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeDestinationsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeDestinationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDestinationsCommand(input, ...args)); + return await client.send(new DescribeDestinationsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeLogGroupsPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeLogGroupsPaginator.ts index 8ef15e83daa5..ee07f017f1fc 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeLogGroupsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeLogGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLogGroupsCommand(input, ...args)); + return await client.send(new DescribeLogGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeLogStreamsPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeLogStreamsPaginator.ts index 35be16e6099f..9be7e4db33f6 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeLogStreamsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeLogStreamsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLogStreamsCommand(input, ...args)); + return await client.send(new DescribeLogStreamsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeMetricFiltersPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeMetricFiltersPaginator.ts index 3e78acb199a8..17b87ae63270 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeMetricFiltersPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeMetricFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMetricFiltersCommand(input, ...args)); + return await client.send(new DescribeMetricFiltersCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/DescribeSubscriptionFiltersPaginator.ts b/clients/client-cloudwatch-logs/pagination/DescribeSubscriptionFiltersPaginator.ts index 829caaf6da31..b610ac26c25c 100644 --- a/clients/client-cloudwatch-logs/pagination/DescribeSubscriptionFiltersPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/DescribeSubscriptionFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSubscriptionFiltersCommand(input, ...args)); + return await client.send(new DescribeSubscriptionFiltersCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/FilterLogEventsPaginator.ts b/clients/client-cloudwatch-logs/pagination/FilterLogEventsPaginator.ts index 7855dddb85b5..f9d6f1a928c1 100644 --- a/clients/client-cloudwatch-logs/pagination/FilterLogEventsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/FilterLogEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new FilterLogEventsCommand(input, ...args)); + return await client.send(new FilterLogEventsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch-logs/pagination/GetLogEventsPaginator.ts b/clients/client-cloudwatch-logs/pagination/GetLogEventsPaginator.ts index 0ef59e447171..2415dd5ccf55 100644 --- a/clients/client-cloudwatch-logs/pagination/GetLogEventsPaginator.ts +++ b/clients/client-cloudwatch-logs/pagination/GetLogEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLogEventsCommand(input, ...args)); + return await client.send(new GetLogEventsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatchLogs, diff --git a/clients/client-cloudwatch/pagination/DescribeAlarmHistoryPaginator.ts b/clients/client-cloudwatch/pagination/DescribeAlarmHistoryPaginator.ts index 251d4624b091..63e68a585153 100644 --- a/clients/client-cloudwatch/pagination/DescribeAlarmHistoryPaginator.ts +++ b/clients/client-cloudwatch/pagination/DescribeAlarmHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAlarmHistoryCommand(input, ...args)); + return await client.send(new DescribeAlarmHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/DescribeAlarmsPaginator.ts b/clients/client-cloudwatch/pagination/DescribeAlarmsPaginator.ts index 2f2ed35b22b8..d5b0c10d6590 100644 --- a/clients/client-cloudwatch/pagination/DescribeAlarmsPaginator.ts +++ b/clients/client-cloudwatch/pagination/DescribeAlarmsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAlarmsCommand(input, ...args)); + return await client.send(new DescribeAlarmsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/DescribeInsightRulesPaginator.ts b/clients/client-cloudwatch/pagination/DescribeInsightRulesPaginator.ts index 780a01fdb034..ccd9f28cf809 100644 --- a/clients/client-cloudwatch/pagination/DescribeInsightRulesPaginator.ts +++ b/clients/client-cloudwatch/pagination/DescribeInsightRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInsightRulesCommand(input, ...args)); + return await client.send(new DescribeInsightRulesCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/GetMetricDataPaginator.ts b/clients/client-cloudwatch/pagination/GetMetricDataPaginator.ts index 434d4fbf18bf..8de101fd8057 100644 --- a/clients/client-cloudwatch/pagination/GetMetricDataPaginator.ts +++ b/clients/client-cloudwatch/pagination/GetMetricDataPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMetricDataCommand(input, ...args)); + return await client.send(new GetMetricDataCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/ListDashboardsPaginator.ts b/clients/client-cloudwatch/pagination/ListDashboardsPaginator.ts index 14aa83226599..7ceadbe3914c 100644 --- a/clients/client-cloudwatch/pagination/ListDashboardsPaginator.ts +++ b/clients/client-cloudwatch/pagination/ListDashboardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDashboardsCommand(input, ...args)); + return await client.send(new ListDashboardsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-cloudwatch/pagination/ListMetricsPaginator.ts b/clients/client-cloudwatch/pagination/ListMetricsPaginator.ts index 35c8123b1c29..95d07a4b753c 100644 --- a/clients/client-cloudwatch/pagination/ListMetricsPaginator.ts +++ b/clients/client-cloudwatch/pagination/ListMetricsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMetricsCommand(input, ...args)); + return await client.send(new ListMetricsCommand(input), ...args); }; const makePagedRequest = async ( client: CloudWatch, diff --git a/clients/client-codeartifact/pagination/ListDomainsPaginator.ts b/clients/client-codeartifact/pagination/ListDomainsPaginator.ts index 05fd24549471..3db3bc0099f3 100644 --- a/clients/client-codeartifact/pagination/ListDomainsPaginator.ts +++ b/clients/client-codeartifact/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input, ...args)); + return await client.send(new ListDomainsCommand(input), ...args); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListPackageVersionAssetsPaginator.ts b/clients/client-codeartifact/pagination/ListPackageVersionAssetsPaginator.ts index 9a5f853d4a66..c0fb668e5335 100644 --- a/clients/client-codeartifact/pagination/ListPackageVersionAssetsPaginator.ts +++ b/clients/client-codeartifact/pagination/ListPackageVersionAssetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackageVersionAssetsCommand(input, ...args)); + return await client.send(new ListPackageVersionAssetsCommand(input), ...args); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListPackageVersionsPaginator.ts b/clients/client-codeartifact/pagination/ListPackageVersionsPaginator.ts index 30ee33b57d9f..956f3fb30cfc 100644 --- a/clients/client-codeartifact/pagination/ListPackageVersionsPaginator.ts +++ b/clients/client-codeartifact/pagination/ListPackageVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackageVersionsCommand(input, ...args)); + return await client.send(new ListPackageVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListPackagesPaginator.ts b/clients/client-codeartifact/pagination/ListPackagesPaginator.ts index 2f73b129024d..004d35b26a68 100644 --- a/clients/client-codeartifact/pagination/ListPackagesPaginator.ts +++ b/clients/client-codeartifact/pagination/ListPackagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackagesCommand(input, ...args)); + return await client.send(new ListPackagesCommand(input), ...args); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListRepositoriesInDomainPaginator.ts b/clients/client-codeartifact/pagination/ListRepositoriesInDomainPaginator.ts index c76736a03ab8..5f5ad56c1f96 100644 --- a/clients/client-codeartifact/pagination/ListRepositoriesInDomainPaginator.ts +++ b/clients/client-codeartifact/pagination/ListRepositoriesInDomainPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoriesInDomainCommand(input, ...args)); + return await client.send(new ListRepositoriesInDomainCommand(input), ...args); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codeartifact/pagination/ListRepositoriesPaginator.ts b/clients/client-codeartifact/pagination/ListRepositoriesPaginator.ts index bd749857bc71..b71731770a9b 100644 --- a/clients/client-codeartifact/pagination/ListRepositoriesPaginator.ts +++ b/clients/client-codeartifact/pagination/ListRepositoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoriesCommand(input, ...args)); + return await client.send(new ListRepositoriesCommand(input), ...args); }; const makePagedRequest = async ( client: Codeartifact, diff --git a/clients/client-codebuild/pagination/DescribeCodeCoveragesPaginator.ts b/clients/client-codebuild/pagination/DescribeCodeCoveragesPaginator.ts index 43d00bf10e17..389cf1cf639c 100644 --- a/clients/client-codebuild/pagination/DescribeCodeCoveragesPaginator.ts +++ b/clients/client-codebuild/pagination/DescribeCodeCoveragesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCodeCoveragesCommand(input, ...args)); + return await client.send(new DescribeCodeCoveragesCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/DescribeTestCasesPaginator.ts b/clients/client-codebuild/pagination/DescribeTestCasesPaginator.ts index 301bb6bf8abc..04b027abdb64 100644 --- a/clients/client-codebuild/pagination/DescribeTestCasesPaginator.ts +++ b/clients/client-codebuild/pagination/DescribeTestCasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTestCasesCommand(input, ...args)); + return await client.send(new DescribeTestCasesCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListBuildBatchesForProjectPaginator.ts b/clients/client-codebuild/pagination/ListBuildBatchesForProjectPaginator.ts index 8a0d354c6e7c..7aa72e544dee 100644 --- a/clients/client-codebuild/pagination/ListBuildBatchesForProjectPaginator.ts +++ b/clients/client-codebuild/pagination/ListBuildBatchesForProjectPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildBatchesForProjectCommand(input, ...args)); + return await client.send(new ListBuildBatchesForProjectCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListBuildBatchesPaginator.ts b/clients/client-codebuild/pagination/ListBuildBatchesPaginator.ts index 5fba0cca255f..585860d0ab83 100644 --- a/clients/client-codebuild/pagination/ListBuildBatchesPaginator.ts +++ b/clients/client-codebuild/pagination/ListBuildBatchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildBatchesCommand(input, ...args)); + return await client.send(new ListBuildBatchesCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListBuildsForProjectPaginator.ts b/clients/client-codebuild/pagination/ListBuildsForProjectPaginator.ts index c1a60d0e96d3..371756bd4fcf 100644 --- a/clients/client-codebuild/pagination/ListBuildsForProjectPaginator.ts +++ b/clients/client-codebuild/pagination/ListBuildsForProjectPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildsForProjectCommand(input, ...args)); + return await client.send(new ListBuildsForProjectCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListBuildsPaginator.ts b/clients/client-codebuild/pagination/ListBuildsPaginator.ts index 0c5be6a6d16a..e2de8c0850b9 100644 --- a/clients/client-codebuild/pagination/ListBuildsPaginator.ts +++ b/clients/client-codebuild/pagination/ListBuildsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildsCommand(input, ...args)); + return await client.send(new ListBuildsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListProjectsPaginator.ts b/clients/client-codebuild/pagination/ListProjectsPaginator.ts index 02297a3c7abb..1c2f804f6ac1 100644 --- a/clients/client-codebuild/pagination/ListProjectsPaginator.ts +++ b/clients/client-codebuild/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input, ...args)); + return await client.send(new ListProjectsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListReportGroupsPaginator.ts b/clients/client-codebuild/pagination/ListReportGroupsPaginator.ts index 64df6e85f120..0b3380cecc38 100644 --- a/clients/client-codebuild/pagination/ListReportGroupsPaginator.ts +++ b/clients/client-codebuild/pagination/ListReportGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReportGroupsCommand(input, ...args)); + return await client.send(new ListReportGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListReportsForReportGroupPaginator.ts b/clients/client-codebuild/pagination/ListReportsForReportGroupPaginator.ts index e38caa63b0b8..dbb9eef9580d 100644 --- a/clients/client-codebuild/pagination/ListReportsForReportGroupPaginator.ts +++ b/clients/client-codebuild/pagination/ListReportsForReportGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReportsForReportGroupCommand(input, ...args)); + return await client.send(new ListReportsForReportGroupCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListReportsPaginator.ts b/clients/client-codebuild/pagination/ListReportsPaginator.ts index 85de0485add9..5ff214df944d 100644 --- a/clients/client-codebuild/pagination/ListReportsPaginator.ts +++ b/clients/client-codebuild/pagination/ListReportsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReportsCommand(input, ...args)); + return await client.send(new ListReportsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListSharedProjectsPaginator.ts b/clients/client-codebuild/pagination/ListSharedProjectsPaginator.ts index 09da674f44d4..542b89e16b9b 100644 --- a/clients/client-codebuild/pagination/ListSharedProjectsPaginator.ts +++ b/clients/client-codebuild/pagination/ListSharedProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSharedProjectsCommand(input, ...args)); + return await client.send(new ListSharedProjectsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codebuild/pagination/ListSharedReportGroupsPaginator.ts b/clients/client-codebuild/pagination/ListSharedReportGroupsPaginator.ts index 03113ac37c5b..2d6ca9f43f50 100644 --- a/clients/client-codebuild/pagination/ListSharedReportGroupsPaginator.ts +++ b/clients/client-codebuild/pagination/ListSharedReportGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSharedReportGroupsCommand(input, ...args)); + return await client.send(new ListSharedReportGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeBuild, diff --git a/clients/client-codecommit/pagination/DescribeMergeConflictsPaginator.ts b/clients/client-codecommit/pagination/DescribeMergeConflictsPaginator.ts index 0cf3f9990fa3..9c674ede5acf 100644 --- a/clients/client-codecommit/pagination/DescribeMergeConflictsPaginator.ts +++ b/clients/client-codecommit/pagination/DescribeMergeConflictsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMergeConflictsCommand(input, ...args)); + return await client.send(new DescribeMergeConflictsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/DescribePullRequestEventsPaginator.ts b/clients/client-codecommit/pagination/DescribePullRequestEventsPaginator.ts index aed3c228e262..3c3e91ed46b6 100644 --- a/clients/client-codecommit/pagination/DescribePullRequestEventsPaginator.ts +++ b/clients/client-codecommit/pagination/DescribePullRequestEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePullRequestEventsCommand(input, ...args)); + return await client.send(new DescribePullRequestEventsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetCommentReactionsPaginator.ts b/clients/client-codecommit/pagination/GetCommentReactionsPaginator.ts index d49d833e9671..cb480a9ccec9 100644 --- a/clients/client-codecommit/pagination/GetCommentReactionsPaginator.ts +++ b/clients/client-codecommit/pagination/GetCommentReactionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCommentReactionsCommand(input, ...args)); + return await client.send(new GetCommentReactionsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetCommentsForComparedCommitPaginator.ts b/clients/client-codecommit/pagination/GetCommentsForComparedCommitPaginator.ts index bd43006c00a3..05473930a40d 100644 --- a/clients/client-codecommit/pagination/GetCommentsForComparedCommitPaginator.ts +++ b/clients/client-codecommit/pagination/GetCommentsForComparedCommitPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCommentsForComparedCommitCommand(input, ...args)); + return await client.send(new GetCommentsForComparedCommitCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetCommentsForPullRequestPaginator.ts b/clients/client-codecommit/pagination/GetCommentsForPullRequestPaginator.ts index fa201adabdc9..db603a6c9761 100644 --- a/clients/client-codecommit/pagination/GetCommentsForPullRequestPaginator.ts +++ b/clients/client-codecommit/pagination/GetCommentsForPullRequestPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCommentsForPullRequestCommand(input, ...args)); + return await client.send(new GetCommentsForPullRequestCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetDifferencesPaginator.ts b/clients/client-codecommit/pagination/GetDifferencesPaginator.ts index 23719dfc0aad..93d8448bb8bc 100644 --- a/clients/client-codecommit/pagination/GetDifferencesPaginator.ts +++ b/clients/client-codecommit/pagination/GetDifferencesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDifferencesCommand(input, ...args)); + return await client.send(new GetDifferencesCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/GetMergeConflictsPaginator.ts b/clients/client-codecommit/pagination/GetMergeConflictsPaginator.ts index d8fee488d216..e961c67c29a4 100644 --- a/clients/client-codecommit/pagination/GetMergeConflictsPaginator.ts +++ b/clients/client-codecommit/pagination/GetMergeConflictsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMergeConflictsCommand(input, ...args)); + return await client.send(new GetMergeConflictsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListApprovalRuleTemplatesPaginator.ts b/clients/client-codecommit/pagination/ListApprovalRuleTemplatesPaginator.ts index 97dd6d3607d7..2ab03a8c755d 100644 --- a/clients/client-codecommit/pagination/ListApprovalRuleTemplatesPaginator.ts +++ b/clients/client-codecommit/pagination/ListApprovalRuleTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApprovalRuleTemplatesCommand(input, ...args)); + return await client.send(new ListApprovalRuleTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.ts b/clients/client-codecommit/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.ts index 3061e793bc2f..41cda2329990 100644 --- a/clients/client-codecommit/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.ts +++ b/clients/client-codecommit/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociatedApprovalRuleTemplatesForRepositoryCommand(input, ...args)); + return await client.send(new ListAssociatedApprovalRuleTemplatesForRepositoryCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListBranchesPaginator.ts b/clients/client-codecommit/pagination/ListBranchesPaginator.ts index d712b396498c..17a16170e72f 100644 --- a/clients/client-codecommit/pagination/ListBranchesPaginator.ts +++ b/clients/client-codecommit/pagination/ListBranchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBranchesCommand(input, ...args)); + return await client.send(new ListBranchesCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListPullRequestsPaginator.ts b/clients/client-codecommit/pagination/ListPullRequestsPaginator.ts index 69e5971cf595..8ffb0a86f974 100644 --- a/clients/client-codecommit/pagination/ListPullRequestsPaginator.ts +++ b/clients/client-codecommit/pagination/ListPullRequestsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPullRequestsCommand(input, ...args)); + return await client.send(new ListPullRequestsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.ts b/clients/client-codecommit/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.ts index 45d7ee5c131b..92c966f8d549 100644 --- a/clients/client-codecommit/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.ts +++ b/clients/client-codecommit/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoriesForApprovalRuleTemplateCommand(input, ...args)); + return await client.send(new ListRepositoriesForApprovalRuleTemplateCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codecommit/pagination/ListRepositoriesPaginator.ts b/clients/client-codecommit/pagination/ListRepositoriesPaginator.ts index 4705c1b1ff14..2a53a60838ea 100644 --- a/clients/client-codecommit/pagination/ListRepositoriesPaginator.ts +++ b/clients/client-codecommit/pagination/ListRepositoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoriesCommand(input, ...args)); + return await client.send(new ListRepositoriesCommand(input), ...args); }; const makePagedRequest = async ( client: CodeCommit, diff --git a/clients/client-codedeploy/pagination/ListApplicationRevisionsPaginator.ts b/clients/client-codedeploy/pagination/ListApplicationRevisionsPaginator.ts index eb4101c3b9a8..1f593593050b 100644 --- a/clients/client-codedeploy/pagination/ListApplicationRevisionsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListApplicationRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationRevisionsCommand(input, ...args)); + return await client.send(new ListApplicationRevisionsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListApplicationsPaginator.ts b/clients/client-codedeploy/pagination/ListApplicationsPaginator.ts index 1de70d821d55..3601971e18a9 100644 --- a/clients/client-codedeploy/pagination/ListApplicationsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationsCommand(input, ...args)); + return await client.send(new ListApplicationsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListDeploymentConfigsPaginator.ts b/clients/client-codedeploy/pagination/ListDeploymentConfigsPaginator.ts index 647ca9efd280..00c5c35615e9 100644 --- a/clients/client-codedeploy/pagination/ListDeploymentConfigsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListDeploymentConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentConfigsCommand(input, ...args)); + return await client.send(new ListDeploymentConfigsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListDeploymentGroupsPaginator.ts b/clients/client-codedeploy/pagination/ListDeploymentGroupsPaginator.ts index 98714244e268..0c1f77e840b4 100644 --- a/clients/client-codedeploy/pagination/ListDeploymentGroupsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListDeploymentGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentGroupsCommand(input, ...args)); + return await client.send(new ListDeploymentGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListDeploymentInstancesPaginator.ts b/clients/client-codedeploy/pagination/ListDeploymentInstancesPaginator.ts index 2527c9fb642e..912a35ae38d8 100644 --- a/clients/client-codedeploy/pagination/ListDeploymentInstancesPaginator.ts +++ b/clients/client-codedeploy/pagination/ListDeploymentInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentInstancesCommand(input, ...args)); + return await client.send(new ListDeploymentInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codedeploy/pagination/ListDeploymentsPaginator.ts b/clients/client-codedeploy/pagination/ListDeploymentsPaginator.ts index 567b61a797fb..fde8865902b2 100644 --- a/clients/client-codedeploy/pagination/ListDeploymentsPaginator.ts +++ b/clients/client-codedeploy/pagination/ListDeploymentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentsCommand(input, ...args)); + return await client.send(new ListDeploymentsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeDeploy, diff --git a/clients/client-codeguru-reviewer/pagination/ListCodeReviewsPaginator.ts b/clients/client-codeguru-reviewer/pagination/ListCodeReviewsPaginator.ts index 30608b814d94..1673f821e348 100644 --- a/clients/client-codeguru-reviewer/pagination/ListCodeReviewsPaginator.ts +++ b/clients/client-codeguru-reviewer/pagination/ListCodeReviewsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCodeReviewsCommand(input, ...args)); + return await client.send(new ListCodeReviewsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeGuruReviewer, diff --git a/clients/client-codeguru-reviewer/pagination/ListRecommendationFeedbackPaginator.ts b/clients/client-codeguru-reviewer/pagination/ListRecommendationFeedbackPaginator.ts index 95dd55a4ee64..59a9a1a646d0 100644 --- a/clients/client-codeguru-reviewer/pagination/ListRecommendationFeedbackPaginator.ts +++ b/clients/client-codeguru-reviewer/pagination/ListRecommendationFeedbackPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecommendationFeedbackCommand(input, ...args)); + return await client.send(new ListRecommendationFeedbackCommand(input), ...args); }; const makePagedRequest = async ( client: CodeGuruReviewer, diff --git a/clients/client-codeguru-reviewer/pagination/ListRecommendationsPaginator.ts b/clients/client-codeguru-reviewer/pagination/ListRecommendationsPaginator.ts index 5df1ce1d5358..69858cde6fce 100644 --- a/clients/client-codeguru-reviewer/pagination/ListRecommendationsPaginator.ts +++ b/clients/client-codeguru-reviewer/pagination/ListRecommendationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecommendationsCommand(input, ...args)); + return await client.send(new ListRecommendationsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeGuruReviewer, diff --git a/clients/client-codeguru-reviewer/pagination/ListRepositoryAssociationsPaginator.ts b/clients/client-codeguru-reviewer/pagination/ListRepositoryAssociationsPaginator.ts index 51d3f525fd95..5242a408f738 100644 --- a/clients/client-codeguru-reviewer/pagination/ListRepositoryAssociationsPaginator.ts +++ b/clients/client-codeguru-reviewer/pagination/ListRepositoryAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRepositoryAssociationsCommand(input, ...args)); + return await client.send(new ListRepositoryAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeGuruReviewer, diff --git a/clients/client-codeguruprofiler/pagination/ListProfileTimesPaginator.ts b/clients/client-codeguruprofiler/pagination/ListProfileTimesPaginator.ts index 79efddb7a657..669a1602fcc3 100644 --- a/clients/client-codeguruprofiler/pagination/ListProfileTimesPaginator.ts +++ b/clients/client-codeguruprofiler/pagination/ListProfileTimesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProfileTimesCommand(input, ...args)); + return await client.send(new ListProfileTimesCommand(input), ...args); }; const makePagedRequest = async ( client: CodeGuruProfiler, diff --git a/clients/client-codeguruprofiler/pagination/ListProfilingGroupsPaginator.ts b/clients/client-codeguruprofiler/pagination/ListProfilingGroupsPaginator.ts index d564e6e7d952..b297b3b30864 100644 --- a/clients/client-codeguruprofiler/pagination/ListProfilingGroupsPaginator.ts +++ b/clients/client-codeguruprofiler/pagination/ListProfilingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProfilingGroupsCommand(input, ...args)); + return await client.send(new ListProfilingGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeGuruProfiler, diff --git a/clients/client-codepipeline/pagination/ListActionExecutionsPaginator.ts b/clients/client-codepipeline/pagination/ListActionExecutionsPaginator.ts index e56bbe3194e8..93d81dd8089b 100644 --- a/clients/client-codepipeline/pagination/ListActionExecutionsPaginator.ts +++ b/clients/client-codepipeline/pagination/ListActionExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActionExecutionsCommand(input, ...args)); + return await client.send(new ListActionExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListActionTypesPaginator.ts b/clients/client-codepipeline/pagination/ListActionTypesPaginator.ts index 574754b13f9b..74acde428d8a 100644 --- a/clients/client-codepipeline/pagination/ListActionTypesPaginator.ts +++ b/clients/client-codepipeline/pagination/ListActionTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActionTypesCommand(input, ...args)); + return await client.send(new ListActionTypesCommand(input), ...args); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListPipelineExecutionsPaginator.ts b/clients/client-codepipeline/pagination/ListPipelineExecutionsPaginator.ts index a8f3ff6482b7..0cf118b553c0 100644 --- a/clients/client-codepipeline/pagination/ListPipelineExecutionsPaginator.ts +++ b/clients/client-codepipeline/pagination/ListPipelineExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelineExecutionsCommand(input, ...args)); + return await client.send(new ListPipelineExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListPipelinesPaginator.ts b/clients/client-codepipeline/pagination/ListPipelinesPaginator.ts index 98c6a8deac4d..75a01d8cf0ea 100644 --- a/clients/client-codepipeline/pagination/ListPipelinesPaginator.ts +++ b/clients/client-codepipeline/pagination/ListPipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelinesCommand(input, ...args)); + return await client.send(new ListPipelinesCommand(input), ...args); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListTagsForResourcePaginator.ts b/clients/client-codepipeline/pagination/ListTagsForResourcePaginator.ts index db57ccedc6d7..c9ca6ac4a8aa 100644 --- a/clients/client-codepipeline/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-codepipeline/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codepipeline/pagination/ListWebhooksPaginator.ts b/clients/client-codepipeline/pagination/ListWebhooksPaginator.ts index 1e3a14ef7cf1..27e9ea8542f9 100644 --- a/clients/client-codepipeline/pagination/ListWebhooksPaginator.ts +++ b/clients/client-codepipeline/pagination/ListWebhooksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWebhooksCommand(input, ...args)); + return await client.send(new ListWebhooksCommand(input), ...args); }; const makePagedRequest = async ( client: CodePipeline, diff --git a/clients/client-codestar-connections/pagination/ListConnectionsPaginator.ts b/clients/client-codestar-connections/pagination/ListConnectionsPaginator.ts index d3596a82c869..6ff535e9f5b3 100644 --- a/clients/client-codestar-connections/pagination/ListConnectionsPaginator.ts +++ b/clients/client-codestar-connections/pagination/ListConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConnectionsCommand(input, ...args)); + return await client.send(new ListConnectionsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeStarConnections, diff --git a/clients/client-codestar-connections/pagination/ListHostsPaginator.ts b/clients/client-codestar-connections/pagination/ListHostsPaginator.ts index fcb2147c15d2..6b1347e2d6e2 100644 --- a/clients/client-codestar-connections/pagination/ListHostsPaginator.ts +++ b/clients/client-codestar-connections/pagination/ListHostsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHostsCommand(input, ...args)); + return await client.send(new ListHostsCommand(input), ...args); }; const makePagedRequest = async ( client: CodeStarConnections, diff --git a/clients/client-codestar-notifications/pagination/ListEventTypesPaginator.ts b/clients/client-codestar-notifications/pagination/ListEventTypesPaginator.ts index 99103d69323e..533d5da19a77 100644 --- a/clients/client-codestar-notifications/pagination/ListEventTypesPaginator.ts +++ b/clients/client-codestar-notifications/pagination/ListEventTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEventTypesCommand(input, ...args)); + return await client.send(new ListEventTypesCommand(input), ...args); }; const makePagedRequest = async ( client: CodestarNotifications, diff --git a/clients/client-codestar-notifications/pagination/ListNotificationRulesPaginator.ts b/clients/client-codestar-notifications/pagination/ListNotificationRulesPaginator.ts index 384f75dc0720..1b74a53ebfdf 100644 --- a/clients/client-codestar-notifications/pagination/ListNotificationRulesPaginator.ts +++ b/clients/client-codestar-notifications/pagination/ListNotificationRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNotificationRulesCommand(input, ...args)); + return await client.send(new ListNotificationRulesCommand(input), ...args); }; const makePagedRequest = async ( client: CodestarNotifications, diff --git a/clients/client-codestar-notifications/pagination/ListTargetsPaginator.ts b/clients/client-codestar-notifications/pagination/ListTargetsPaginator.ts index aafcef07093a..d9a36bc38e00 100644 --- a/clients/client-codestar-notifications/pagination/ListTargetsPaginator.ts +++ b/clients/client-codestar-notifications/pagination/ListTargetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTargetsCommand(input, ...args)); + return await client.send(new ListTargetsCommand(input), ...args); }; const makePagedRequest = async ( client: CodestarNotifications, diff --git a/clients/client-cognito-identity-provider/pagination/AdminListGroupsForUserPaginator.ts b/clients/client-cognito-identity-provider/pagination/AdminListGroupsForUserPaginator.ts index bcbecdb46e8f..6fb85dd4f084 100644 --- a/clients/client-cognito-identity-provider/pagination/AdminListGroupsForUserPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/AdminListGroupsForUserPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new AdminListGroupsForUserCommand(input, ...args)); + return await client.send(new AdminListGroupsForUserCommand(input), ...args); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/AdminListUserAuthEventsPaginator.ts b/clients/client-cognito-identity-provider/pagination/AdminListUserAuthEventsPaginator.ts index 431adfcd2273..1f92e7669b78 100644 --- a/clients/client-cognito-identity-provider/pagination/AdminListUserAuthEventsPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/AdminListUserAuthEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new AdminListUserAuthEventsCommand(input, ...args)); + return await client.send(new AdminListUserAuthEventsCommand(input), ...args); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListGroupsPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListGroupsPaginator.ts index 49dbc1d1a723..f273ff05ea13 100644 --- a/clients/client-cognito-identity-provider/pagination/ListGroupsPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input, ...args)); + return await client.send(new ListGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListIdentityProvidersPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListIdentityProvidersPaginator.ts index 081c86b38fe0..a6eb73bd5ced 100644 --- a/clients/client-cognito-identity-provider/pagination/ListIdentityProvidersPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListIdentityProvidersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIdentityProvidersCommand(input, ...args)); + return await client.send(new ListIdentityProvidersCommand(input), ...args); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListResourceServersPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListResourceServersPaginator.ts index bc24cc57c862..dfa6cb0f28f2 100644 --- a/clients/client-cognito-identity-provider/pagination/ListResourceServersPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListResourceServersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourceServersCommand(input, ...args)); + return await client.send(new ListResourceServersCommand(input), ...args); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListUserPoolClientsPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListUserPoolClientsPaginator.ts index f895aae59cbe..e518c8c269f7 100644 --- a/clients/client-cognito-identity-provider/pagination/ListUserPoolClientsPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListUserPoolClientsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUserPoolClientsCommand(input, ...args)); + return await client.send(new ListUserPoolClientsCommand(input), ...args); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListUsersInGroupPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListUsersInGroupPaginator.ts index 06f8baab704c..ab2b61df0edd 100644 --- a/clients/client-cognito-identity-provider/pagination/ListUsersInGroupPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListUsersInGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersInGroupCommand(input, ...args)); + return await client.send(new ListUsersInGroupCommand(input), ...args); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-cognito-identity-provider/pagination/ListUsersPaginator.ts b/clients/client-cognito-identity-provider/pagination/ListUsersPaginator.ts index f6d18e00f3b9..9e5ae9083baf 100644 --- a/clients/client-cognito-identity-provider/pagination/ListUsersPaginator.ts +++ b/clients/client-cognito-identity-provider/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input, ...args)); + return await client.send(new ListUsersCommand(input), ...args); }; const makePagedRequest = async ( client: CognitoIdentityProvider, diff --git a/clients/client-comprehend/pagination/ListDocumentClassificationJobsPaginator.ts b/clients/client-comprehend/pagination/ListDocumentClassificationJobsPaginator.ts index 813da081f215..fa1a60251010 100644 --- a/clients/client-comprehend/pagination/ListDocumentClassificationJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListDocumentClassificationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDocumentClassificationJobsCommand(input, ...args)); + return await client.send(new ListDocumentClassificationJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListDocumentClassifiersPaginator.ts b/clients/client-comprehend/pagination/ListDocumentClassifiersPaginator.ts index 0209b58139d3..17d007a1dda9 100644 --- a/clients/client-comprehend/pagination/ListDocumentClassifiersPaginator.ts +++ b/clients/client-comprehend/pagination/ListDocumentClassifiersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDocumentClassifiersCommand(input, ...args)); + return await client.send(new ListDocumentClassifiersCommand(input), ...args); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListDominantLanguageDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListDominantLanguageDetectionJobsPaginator.ts index cc11c06b28d2..cd27a27073cc 100644 --- a/clients/client-comprehend/pagination/ListDominantLanguageDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListDominantLanguageDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDominantLanguageDetectionJobsCommand(input, ...args)); + return await client.send(new ListDominantLanguageDetectionJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListEntitiesDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListEntitiesDetectionJobsPaginator.ts index f062f5d5e6da..23da0255706f 100644 --- a/clients/client-comprehend/pagination/ListEntitiesDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListEntitiesDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntitiesDetectionJobsCommand(input, ...args)); + return await client.send(new ListEntitiesDetectionJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListEntityRecognizersPaginator.ts b/clients/client-comprehend/pagination/ListEntityRecognizersPaginator.ts index dfabdef5f40b..02b341a2d46d 100644 --- a/clients/client-comprehend/pagination/ListEntityRecognizersPaginator.ts +++ b/clients/client-comprehend/pagination/ListEntityRecognizersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntityRecognizersCommand(input, ...args)); + return await client.send(new ListEntityRecognizersCommand(input), ...args); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListKeyPhrasesDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListKeyPhrasesDetectionJobsPaginator.ts index f6b70be95a9b..6108e73145be 100644 --- a/clients/client-comprehend/pagination/ListKeyPhrasesDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListKeyPhrasesDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListKeyPhrasesDetectionJobsCommand(input, ...args)); + return await client.send(new ListKeyPhrasesDetectionJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListSentimentDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListSentimentDetectionJobsPaginator.ts index b17a7d3364d0..ecab94b6c3ed 100644 --- a/clients/client-comprehend/pagination/ListSentimentDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListSentimentDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSentimentDetectionJobsCommand(input, ...args)); + return await client.send(new ListSentimentDetectionJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-comprehend/pagination/ListTopicsDetectionJobsPaginator.ts b/clients/client-comprehend/pagination/ListTopicsDetectionJobsPaginator.ts index cd13373185dd..5045a3c7e86e 100644 --- a/clients/client-comprehend/pagination/ListTopicsDetectionJobsPaginator.ts +++ b/clients/client-comprehend/pagination/ListTopicsDetectionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTopicsDetectionJobsCommand(input, ...args)); + return await client.send(new ListTopicsDetectionJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Comprehend, diff --git a/clients/client-config-service/pagination/DescribeRemediationExceptionsPaginator.ts b/clients/client-config-service/pagination/DescribeRemediationExceptionsPaginator.ts index 30c4632a94a6..c72db5c3d17a 100644 --- a/clients/client-config-service/pagination/DescribeRemediationExceptionsPaginator.ts +++ b/clients/client-config-service/pagination/DescribeRemediationExceptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRemediationExceptionsCommand(input, ...args)); + return await client.send(new DescribeRemediationExceptionsCommand(input), ...args); }; const makePagedRequest = async ( client: ConfigService, diff --git a/clients/client-config-service/pagination/DescribeRemediationExecutionStatusPaginator.ts b/clients/client-config-service/pagination/DescribeRemediationExecutionStatusPaginator.ts index a7a1a34228e8..e9583df6e934 100644 --- a/clients/client-config-service/pagination/DescribeRemediationExecutionStatusPaginator.ts +++ b/clients/client-config-service/pagination/DescribeRemediationExecutionStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRemediationExecutionStatusCommand(input, ...args)); + return await client.send(new DescribeRemediationExecutionStatusCommand(input), ...args); }; const makePagedRequest = async ( client: ConfigService, diff --git a/clients/client-config-service/pagination/GetResourceConfigHistoryPaginator.ts b/clients/client-config-service/pagination/GetResourceConfigHistoryPaginator.ts index aa5c6063fd2e..036dd75aa052 100644 --- a/clients/client-config-service/pagination/GetResourceConfigHistoryPaginator.ts +++ b/clients/client-config-service/pagination/GetResourceConfigHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourceConfigHistoryCommand(input, ...args)); + return await client.send(new GetResourceConfigHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: ConfigService, diff --git a/clients/client-config-service/pagination/SelectAggregateResourceConfigPaginator.ts b/clients/client-config-service/pagination/SelectAggregateResourceConfigPaginator.ts index 14b4408abb09..c54c740c977c 100644 --- a/clients/client-config-service/pagination/SelectAggregateResourceConfigPaginator.ts +++ b/clients/client-config-service/pagination/SelectAggregateResourceConfigPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SelectAggregateResourceConfigCommand(input, ...args)); + return await client.send(new SelectAggregateResourceConfigCommand(input), ...args); }; const makePagedRequest = async ( client: ConfigService, diff --git a/clients/client-connect/pagination/GetCurrentMetricDataPaginator.ts b/clients/client-connect/pagination/GetCurrentMetricDataPaginator.ts index b65dc3610779..4a14340fafa0 100644 --- a/clients/client-connect/pagination/GetCurrentMetricDataPaginator.ts +++ b/clients/client-connect/pagination/GetCurrentMetricDataPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCurrentMetricDataCommand(input, ...args)); + return await client.send(new GetCurrentMetricDataCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/GetMetricDataPaginator.ts b/clients/client-connect/pagination/GetMetricDataPaginator.ts index c2e6d2c1b3a2..8a00cd6f2d66 100644 --- a/clients/client-connect/pagination/GetMetricDataPaginator.ts +++ b/clients/client-connect/pagination/GetMetricDataPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMetricDataCommand(input, ...args)); + return await client.send(new GetMetricDataCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListContactFlowsPaginator.ts b/clients/client-connect/pagination/ListContactFlowsPaginator.ts index 65eac0fc7185..1d6fc968990b 100644 --- a/clients/client-connect/pagination/ListContactFlowsPaginator.ts +++ b/clients/client-connect/pagination/ListContactFlowsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContactFlowsCommand(input, ...args)); + return await client.send(new ListContactFlowsCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListHoursOfOperationsPaginator.ts b/clients/client-connect/pagination/ListHoursOfOperationsPaginator.ts index 9eea1e7ad84a..5f56dae51fd8 100644 --- a/clients/client-connect/pagination/ListHoursOfOperationsPaginator.ts +++ b/clients/client-connect/pagination/ListHoursOfOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHoursOfOperationsCommand(input, ...args)); + return await client.send(new ListHoursOfOperationsCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListPhoneNumbersPaginator.ts b/clients/client-connect/pagination/ListPhoneNumbersPaginator.ts index 3926ef92411b..ae99556ddcec 100644 --- a/clients/client-connect/pagination/ListPhoneNumbersPaginator.ts +++ b/clients/client-connect/pagination/ListPhoneNumbersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPhoneNumbersCommand(input, ...args)); + return await client.send(new ListPhoneNumbersCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListPromptsPaginator.ts b/clients/client-connect/pagination/ListPromptsPaginator.ts index e2607ebc058f..3d164b22fea7 100644 --- a/clients/client-connect/pagination/ListPromptsPaginator.ts +++ b/clients/client-connect/pagination/ListPromptsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPromptsCommand(input, ...args)); + return await client.send(new ListPromptsCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListQueuesPaginator.ts b/clients/client-connect/pagination/ListQueuesPaginator.ts index 7d6140fc573b..cca39ca67045 100644 --- a/clients/client-connect/pagination/ListQueuesPaginator.ts +++ b/clients/client-connect/pagination/ListQueuesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQueuesCommand(input, ...args)); + return await client.send(new ListQueuesCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListRoutingProfileQueuesPaginator.ts b/clients/client-connect/pagination/ListRoutingProfileQueuesPaginator.ts index f96d66797499..69a92b0fecfa 100644 --- a/clients/client-connect/pagination/ListRoutingProfileQueuesPaginator.ts +++ b/clients/client-connect/pagination/ListRoutingProfileQueuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoutingProfileQueuesCommand(input, ...args)); + return await client.send(new ListRoutingProfileQueuesCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListRoutingProfilesPaginator.ts b/clients/client-connect/pagination/ListRoutingProfilesPaginator.ts index ef4b4156055e..c736cf041c17 100644 --- a/clients/client-connect/pagination/ListRoutingProfilesPaginator.ts +++ b/clients/client-connect/pagination/ListRoutingProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoutingProfilesCommand(input, ...args)); + return await client.send(new ListRoutingProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListSecurityProfilesPaginator.ts b/clients/client-connect/pagination/ListSecurityProfilesPaginator.ts index 5759e3e0fa22..97c5e95bfaf8 100644 --- a/clients/client-connect/pagination/ListSecurityProfilesPaginator.ts +++ b/clients/client-connect/pagination/ListSecurityProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityProfilesCommand(input, ...args)); + return await client.send(new ListSecurityProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListUserHierarchyGroupsPaginator.ts b/clients/client-connect/pagination/ListUserHierarchyGroupsPaginator.ts index 3eb6cea2770d..44bf38eab6b1 100644 --- a/clients/client-connect/pagination/ListUserHierarchyGroupsPaginator.ts +++ b/clients/client-connect/pagination/ListUserHierarchyGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUserHierarchyGroupsCommand(input, ...args)); + return await client.send(new ListUserHierarchyGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connect/pagination/ListUsersPaginator.ts b/clients/client-connect/pagination/ListUsersPaginator.ts index 7b91edc15dea..362286c1d092 100644 --- a/clients/client-connect/pagination/ListUsersPaginator.ts +++ b/clients/client-connect/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input, ...args)); + return await client.send(new ListUsersCommand(input), ...args); }; const makePagedRequest = async ( client: Connect, diff --git a/clients/client-connectparticipant/pagination/GetTranscriptPaginator.ts b/clients/client-connectparticipant/pagination/GetTranscriptPaginator.ts index b730431db3af..e9eb346fbe55 100644 --- a/clients/client-connectparticipant/pagination/GetTranscriptPaginator.ts +++ b/clients/client-connectparticipant/pagination/GetTranscriptPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTranscriptCommand(input, ...args)); + return await client.send(new GetTranscriptCommand(input), ...args); }; const makePagedRequest = async ( client: ConnectParticipant, diff --git a/clients/client-cost-and-usage-report-service/pagination/DescribeReportDefinitionsPaginator.ts b/clients/client-cost-and-usage-report-service/pagination/DescribeReportDefinitionsPaginator.ts index 45522644d5df..5072b875e229 100644 --- a/clients/client-cost-and-usage-report-service/pagination/DescribeReportDefinitionsPaginator.ts +++ b/clients/client-cost-and-usage-report-service/pagination/DescribeReportDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReportDefinitionsCommand(input, ...args)); + return await client.send(new DescribeReportDefinitionsCommand(input), ...args); }; const makePagedRequest = async ( client: CostAndUsageReportService, diff --git a/clients/client-cost-explorer/pagination/GetSavingsPlansCoveragePaginator.ts b/clients/client-cost-explorer/pagination/GetSavingsPlansCoveragePaginator.ts index ebe6a0275372..72e5c802c52f 100644 --- a/clients/client-cost-explorer/pagination/GetSavingsPlansCoveragePaginator.ts +++ b/clients/client-cost-explorer/pagination/GetSavingsPlansCoveragePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSavingsPlansCoverageCommand(input, ...args)); + return await client.send(new GetSavingsPlansCoverageCommand(input), ...args); }; const makePagedRequest = async ( client: CostExplorer, diff --git a/clients/client-cost-explorer/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts b/clients/client-cost-explorer/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts index 45f07ec8a6a8..300fa5785da0 100644 --- a/clients/client-cost-explorer/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts +++ b/clients/client-cost-explorer/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSavingsPlansUtilizationDetailsCommand(input, ...args)); + return await client.send(new GetSavingsPlansUtilizationDetailsCommand(input), ...args); }; const makePagedRequest = async ( client: CostExplorer, diff --git a/clients/client-cost-explorer/pagination/ListCostCategoryDefinitionsPaginator.ts b/clients/client-cost-explorer/pagination/ListCostCategoryDefinitionsPaginator.ts index e59b3c527c02..167bdcaa2446 100644 --- a/clients/client-cost-explorer/pagination/ListCostCategoryDefinitionsPaginator.ts +++ b/clients/client-cost-explorer/pagination/ListCostCategoryDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCostCategoryDefinitionsCommand(input, ...args)); + return await client.send(new ListCostCategoryDefinitionsCommand(input), ...args); }; const makePagedRequest = async ( client: CostExplorer, diff --git a/clients/client-data-pipeline/pagination/DescribeObjectsPaginator.ts b/clients/client-data-pipeline/pagination/DescribeObjectsPaginator.ts index 1342959053e8..60170154eaf2 100644 --- a/clients/client-data-pipeline/pagination/DescribeObjectsPaginator.ts +++ b/clients/client-data-pipeline/pagination/DescribeObjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeObjectsCommand(input, ...args)); + return await client.send(new DescribeObjectsCommand(input), ...args); }; const makePagedRequest = async ( client: DataPipeline, diff --git a/clients/client-data-pipeline/pagination/ListPipelinesPaginator.ts b/clients/client-data-pipeline/pagination/ListPipelinesPaginator.ts index 2884c06f2a7b..62c917e29384 100644 --- a/clients/client-data-pipeline/pagination/ListPipelinesPaginator.ts +++ b/clients/client-data-pipeline/pagination/ListPipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelinesCommand(input, ...args)); + return await client.send(new ListPipelinesCommand(input), ...args); }; const makePagedRequest = async ( client: DataPipeline, diff --git a/clients/client-data-pipeline/pagination/QueryObjectsPaginator.ts b/clients/client-data-pipeline/pagination/QueryObjectsPaginator.ts index 385f2834d047..fe41204ced48 100644 --- a/clients/client-data-pipeline/pagination/QueryObjectsPaginator.ts +++ b/clients/client-data-pipeline/pagination/QueryObjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new QueryObjectsCommand(input, ...args)); + return await client.send(new QueryObjectsCommand(input), ...args); }; const makePagedRequest = async ( client: DataPipeline, diff --git a/clients/client-database-migration-service/pagination/DescribeApplicableIndividualAssessmentsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeApplicableIndividualAssessmentsPaginator.ts index bd1907c7b5c3..de94d30bdc55 100644 --- a/clients/client-database-migration-service/pagination/DescribeApplicableIndividualAssessmentsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeApplicableIndividualAssessmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeApplicableIndividualAssessmentsCommand(input, ...args)); + return await client.send(new DescribeApplicableIndividualAssessmentsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeCertificatesPaginator.ts b/clients/client-database-migration-service/pagination/DescribeCertificatesPaginator.ts index 96a6d78c94e6..fe307079984a 100644 --- a/clients/client-database-migration-service/pagination/DescribeCertificatesPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCertificatesCommand(input, ...args)); + return await client.send(new DescribeCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeConnectionsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeConnectionsPaginator.ts index 1e2a4bd454a9..61e0be2c00ff 100644 --- a/clients/client-database-migration-service/pagination/DescribeConnectionsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeConnectionsCommand(input, ...args)); + return await client.send(new DescribeConnectionsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeEndpointTypesPaginator.ts b/clients/client-database-migration-service/pagination/DescribeEndpointTypesPaginator.ts index e8a4702d446c..016c89e308d7 100644 --- a/clients/client-database-migration-service/pagination/DescribeEndpointTypesPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeEndpointTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEndpointTypesCommand(input, ...args)); + return await client.send(new DescribeEndpointTypesCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeEndpointsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeEndpointsPaginator.ts index ce09da114fd8..af4130f97309 100644 --- a/clients/client-database-migration-service/pagination/DescribeEndpointsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEndpointsCommand(input, ...args)); + return await client.send(new DescribeEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeEventSubscriptionsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeEventSubscriptionsPaginator.ts index e84ce1fc314b..0bcd22be3c2b 100644 --- a/clients/client-database-migration-service/pagination/DescribeEventSubscriptionsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventSubscriptionsCommand(input, ...args)); + return await client.send(new DescribeEventSubscriptionsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeEventsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeEventsPaginator.ts index 33e63d6e707e..5c8e1bb3a521 100644 --- a/clients/client-database-migration-service/pagination/DescribeEventsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input, ...args)); + return await client.send(new DescribeEventsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeOrderableReplicationInstancesPaginator.ts b/clients/client-database-migration-service/pagination/DescribeOrderableReplicationInstancesPaginator.ts index ba150951762f..70455c958315 100644 --- a/clients/client-database-migration-service/pagination/DescribeOrderableReplicationInstancesPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeOrderableReplicationInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableReplicationInstancesCommand(input, ...args)); + return await client.send(new DescribeOrderableReplicationInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribePendingMaintenanceActionsPaginator.ts b/clients/client-database-migration-service/pagination/DescribePendingMaintenanceActionsPaginator.ts index 011a752b86aa..3061150f2753 100644 --- a/clients/client-database-migration-service/pagination/DescribePendingMaintenanceActionsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribePendingMaintenanceActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePendingMaintenanceActionsCommand(input, ...args)); + return await client.send(new DescribePendingMaintenanceActionsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationInstanceTaskLogsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationInstanceTaskLogsPaginator.ts index 8dbdbd8da46f..8918895350a6 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationInstanceTaskLogsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationInstanceTaskLogsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationInstanceTaskLogsCommand(input, ...args)); + return await client.send(new DescribeReplicationInstanceTaskLogsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationInstancesPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationInstancesPaginator.ts index f49b399a229f..7d328a611f52 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationInstancesPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationInstancesCommand(input, ...args)); + return await client.send(new DescribeReplicationInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationSubnetGroupsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationSubnetGroupsPaginator.ts index 937209913a44..99ba5ed54c0d 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationSubnetGroupsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationSubnetGroupsCommand(input, ...args)); + return await client.send(new DescribeReplicationSubnetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentResultsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentResultsPaginator.ts index 4a1c71646ca1..228270fac4dc 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentResultsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentResultsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationTaskAssessmentResultsCommand(input, ...args)); + return await client.send(new DescribeReplicationTaskAssessmentResultsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentRunsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentRunsPaginator.ts index 90d5e1932191..5ee8a14f81e0 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentRunsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationTaskAssessmentRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationTaskAssessmentRunsCommand(input, ...args)); + return await client.send(new DescribeReplicationTaskAssessmentRunsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.ts index 93c4a51df55b..93cb58327d2c 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationTaskIndividualAssessmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationTaskIndividualAssessmentsCommand(input, ...args)); + return await client.send(new DescribeReplicationTaskIndividualAssessmentsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeReplicationTasksPaginator.ts b/clients/client-database-migration-service/pagination/DescribeReplicationTasksPaginator.ts index 6fe0fcc6ca5c..9b4890e06170 100644 --- a/clients/client-database-migration-service/pagination/DescribeReplicationTasksPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeReplicationTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationTasksCommand(input, ...args)); + return await client.send(new DescribeReplicationTasksCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeSchemasPaginator.ts b/clients/client-database-migration-service/pagination/DescribeSchemasPaginator.ts index 3be95233c5a4..cf7b05167b7f 100644 --- a/clients/client-database-migration-service/pagination/DescribeSchemasPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeSchemasPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSchemasCommand(input, ...args)); + return await client.send(new DescribeSchemasCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-database-migration-service/pagination/DescribeTableStatisticsPaginator.ts b/clients/client-database-migration-service/pagination/DescribeTableStatisticsPaginator.ts index 3bffc3b8735c..eebcb14fb381 100644 --- a/clients/client-database-migration-service/pagination/DescribeTableStatisticsPaginator.ts +++ b/clients/client-database-migration-service/pagination/DescribeTableStatisticsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTableStatisticsCommand(input, ...args)); + return await client.send(new DescribeTableStatisticsCommand(input), ...args); }; const makePagedRequest = async ( client: DatabaseMigrationService, diff --git a/clients/client-databrew/pagination/ListDatasetsPaginator.ts b/clients/client-databrew/pagination/ListDatasetsPaginator.ts index 38fdcbf912d2..8270106e0182 100644 --- a/clients/client-databrew/pagination/ListDatasetsPaginator.ts +++ b/clients/client-databrew/pagination/ListDatasetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetsCommand(input, ...args)); + return await client.send(new ListDatasetsCommand(input), ...args); }; const makePagedRequest = async ( client: DataBrew, diff --git a/clients/client-databrew/pagination/ListJobRunsPaginator.ts b/clients/client-databrew/pagination/ListJobRunsPaginator.ts index e43df9916ba2..df283e6f830d 100644 --- a/clients/client-databrew/pagination/ListJobRunsPaginator.ts +++ b/clients/client-databrew/pagination/ListJobRunsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobRunsCommand(input, ...args)); + return await client.send(new ListJobRunsCommand(input), ...args); }; const makePagedRequest = async ( client: DataBrew, diff --git a/clients/client-databrew/pagination/ListJobsPaginator.ts b/clients/client-databrew/pagination/ListJobsPaginator.ts index 719e36606aba..397baf3207d6 100644 --- a/clients/client-databrew/pagination/ListJobsPaginator.ts +++ b/clients/client-databrew/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input, ...args)); + return await client.send(new ListJobsCommand(input), ...args); }; const makePagedRequest = async ( client: DataBrew, diff --git a/clients/client-databrew/pagination/ListProjectsPaginator.ts b/clients/client-databrew/pagination/ListProjectsPaginator.ts index 64db82f213d2..d0eb182bcde8 100644 --- a/clients/client-databrew/pagination/ListProjectsPaginator.ts +++ b/clients/client-databrew/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input, ...args)); + return await client.send(new ListProjectsCommand(input), ...args); }; const makePagedRequest = async ( client: DataBrew, diff --git a/clients/client-databrew/pagination/ListRecipeVersionsPaginator.ts b/clients/client-databrew/pagination/ListRecipeVersionsPaginator.ts index 55cc3b846c27..8d992897c804 100644 --- a/clients/client-databrew/pagination/ListRecipeVersionsPaginator.ts +++ b/clients/client-databrew/pagination/ListRecipeVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecipeVersionsCommand(input, ...args)); + return await client.send(new ListRecipeVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: DataBrew, diff --git a/clients/client-databrew/pagination/ListRecipesPaginator.ts b/clients/client-databrew/pagination/ListRecipesPaginator.ts index 25793379224b..064b64644541 100644 --- a/clients/client-databrew/pagination/ListRecipesPaginator.ts +++ b/clients/client-databrew/pagination/ListRecipesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecipesCommand(input, ...args)); + return await client.send(new ListRecipesCommand(input), ...args); }; const makePagedRequest = async ( client: DataBrew, diff --git a/clients/client-databrew/pagination/ListSchedulesPaginator.ts b/clients/client-databrew/pagination/ListSchedulesPaginator.ts index 020577652440..526e9d087774 100644 --- a/clients/client-databrew/pagination/ListSchedulesPaginator.ts +++ b/clients/client-databrew/pagination/ListSchedulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSchedulesCommand(input, ...args)); + return await client.send(new ListSchedulesCommand(input), ...args); }; const makePagedRequest = async ( client: DataBrew, diff --git a/clients/client-dataexchange/pagination/ListDataSetRevisionsPaginator.ts b/clients/client-dataexchange/pagination/ListDataSetRevisionsPaginator.ts index aed80ab1bc3a..3823e8848fd2 100644 --- a/clients/client-dataexchange/pagination/ListDataSetRevisionsPaginator.ts +++ b/clients/client-dataexchange/pagination/ListDataSetRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSetRevisionsCommand(input, ...args)); + return await client.send(new ListDataSetRevisionsCommand(input), ...args); }; const makePagedRequest = async ( client: DataExchange, diff --git a/clients/client-dataexchange/pagination/ListDataSetsPaginator.ts b/clients/client-dataexchange/pagination/ListDataSetsPaginator.ts index 38bc71500b60..957e9c4bde37 100644 --- a/clients/client-dataexchange/pagination/ListDataSetsPaginator.ts +++ b/clients/client-dataexchange/pagination/ListDataSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSetsCommand(input, ...args)); + return await client.send(new ListDataSetsCommand(input), ...args); }; const makePagedRequest = async ( client: DataExchange, diff --git a/clients/client-dataexchange/pagination/ListJobsPaginator.ts b/clients/client-dataexchange/pagination/ListJobsPaginator.ts index da7873b8e4e0..6338c939ab8e 100644 --- a/clients/client-dataexchange/pagination/ListJobsPaginator.ts +++ b/clients/client-dataexchange/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input, ...args)); + return await client.send(new ListJobsCommand(input), ...args); }; const makePagedRequest = async ( client: DataExchange, diff --git a/clients/client-dataexchange/pagination/ListRevisionAssetsPaginator.ts b/clients/client-dataexchange/pagination/ListRevisionAssetsPaginator.ts index 8e228fc4f446..9ebdc6dac76a 100644 --- a/clients/client-dataexchange/pagination/ListRevisionAssetsPaginator.ts +++ b/clients/client-dataexchange/pagination/ListRevisionAssetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRevisionAssetsCommand(input, ...args)); + return await client.send(new ListRevisionAssetsCommand(input), ...args); }; const makePagedRequest = async ( client: DataExchange, diff --git a/clients/client-datasync/pagination/ListAgentsPaginator.ts b/clients/client-datasync/pagination/ListAgentsPaginator.ts index ce4e0008472b..9a15aa869a5d 100644 --- a/clients/client-datasync/pagination/ListAgentsPaginator.ts +++ b/clients/client-datasync/pagination/ListAgentsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAgentsCommand(input, ...args)); + return await client.send(new ListAgentsCommand(input), ...args); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-datasync/pagination/ListLocationsPaginator.ts b/clients/client-datasync/pagination/ListLocationsPaginator.ts index d8de67e57258..e3116763fd40 100644 --- a/clients/client-datasync/pagination/ListLocationsPaginator.ts +++ b/clients/client-datasync/pagination/ListLocationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLocationsCommand(input, ...args)); + return await client.send(new ListLocationsCommand(input), ...args); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-datasync/pagination/ListTagsForResourcePaginator.ts b/clients/client-datasync/pagination/ListTagsForResourcePaginator.ts index 4fba9cde78c8..13f4a07f5024 100644 --- a/clients/client-datasync/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-datasync/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-datasync/pagination/ListTaskExecutionsPaginator.ts b/clients/client-datasync/pagination/ListTaskExecutionsPaginator.ts index 2c0a59f312a3..7e0e591d9947 100644 --- a/clients/client-datasync/pagination/ListTaskExecutionsPaginator.ts +++ b/clients/client-datasync/pagination/ListTaskExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTaskExecutionsCommand(input, ...args)); + return await client.send(new ListTaskExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-datasync/pagination/ListTasksPaginator.ts b/clients/client-datasync/pagination/ListTasksPaginator.ts index 82a5e147674c..383ea63d203e 100644 --- a/clients/client-datasync/pagination/ListTasksPaginator.ts +++ b/clients/client-datasync/pagination/ListTasksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTasksCommand(input, ...args)); + return await client.send(new ListTasksCommand(input), ...args); }; const makePagedRequest = async ( client: DataSync, diff --git a/clients/client-detective/pagination/ListGraphsPaginator.ts b/clients/client-detective/pagination/ListGraphsPaginator.ts index fa88d6442cb5..37823af54d8f 100644 --- a/clients/client-detective/pagination/ListGraphsPaginator.ts +++ b/clients/client-detective/pagination/ListGraphsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGraphsCommand(input, ...args)); + return await client.send(new ListGraphsCommand(input), ...args); }; const makePagedRequest = async ( client: Detective, diff --git a/clients/client-detective/pagination/ListInvitationsPaginator.ts b/clients/client-detective/pagination/ListInvitationsPaginator.ts index dff37e8f3a7f..872afb17b054 100644 --- a/clients/client-detective/pagination/ListInvitationsPaginator.ts +++ b/clients/client-detective/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input, ...args)); + return await client.send(new ListInvitationsCommand(input), ...args); }; const makePagedRequest = async ( client: Detective, diff --git a/clients/client-detective/pagination/ListMembersPaginator.ts b/clients/client-detective/pagination/ListMembersPaginator.ts index 9f5fe72b9e6c..597d5fa1af73 100644 --- a/clients/client-detective/pagination/ListMembersPaginator.ts +++ b/clients/client-detective/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input, ...args)); + return await client.send(new ListMembersCommand(input), ...args); }; const makePagedRequest = async ( client: Detective, diff --git a/clients/client-device-farm/pagination/GetOfferingStatusPaginator.ts b/clients/client-device-farm/pagination/GetOfferingStatusPaginator.ts index 0a58cf3eb5d8..cf5c4216fc52 100644 --- a/clients/client-device-farm/pagination/GetOfferingStatusPaginator.ts +++ b/clients/client-device-farm/pagination/GetOfferingStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetOfferingStatusCommand(input, ...args)); + return await client.send(new GetOfferingStatusCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListArtifactsPaginator.ts b/clients/client-device-farm/pagination/ListArtifactsPaginator.ts index 5ae8b617b1d1..65ccb0d8c63e 100644 --- a/clients/client-device-farm/pagination/ListArtifactsPaginator.ts +++ b/clients/client-device-farm/pagination/ListArtifactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListArtifactsCommand(input, ...args)); + return await client.send(new ListArtifactsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListDevicePoolsPaginator.ts b/clients/client-device-farm/pagination/ListDevicePoolsPaginator.ts index 7eddeaf1b13b..07827e1adefc 100644 --- a/clients/client-device-farm/pagination/ListDevicePoolsPaginator.ts +++ b/clients/client-device-farm/pagination/ListDevicePoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevicePoolsCommand(input, ...args)); + return await client.send(new ListDevicePoolsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListDevicesPaginator.ts b/clients/client-device-farm/pagination/ListDevicesPaginator.ts index 7142348527ec..cd6db338b294 100644 --- a/clients/client-device-farm/pagination/ListDevicesPaginator.ts +++ b/clients/client-device-farm/pagination/ListDevicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevicesCommand(input, ...args)); + return await client.send(new ListDevicesCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListJobsPaginator.ts b/clients/client-device-farm/pagination/ListJobsPaginator.ts index 9f048fd7c9e0..cfd6d6ba72f0 100644 --- a/clients/client-device-farm/pagination/ListJobsPaginator.ts +++ b/clients/client-device-farm/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input, ...args)); + return await client.send(new ListJobsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListOfferingTransactionsPaginator.ts b/clients/client-device-farm/pagination/ListOfferingTransactionsPaginator.ts index 0e77abc9600f..bf330290f708 100644 --- a/clients/client-device-farm/pagination/ListOfferingTransactionsPaginator.ts +++ b/clients/client-device-farm/pagination/ListOfferingTransactionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOfferingTransactionsCommand(input, ...args)); + return await client.send(new ListOfferingTransactionsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListOfferingsPaginator.ts b/clients/client-device-farm/pagination/ListOfferingsPaginator.ts index 212ead91e6db..d21a8bd7033f 100644 --- a/clients/client-device-farm/pagination/ListOfferingsPaginator.ts +++ b/clients/client-device-farm/pagination/ListOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOfferingsCommand(input, ...args)); + return await client.send(new ListOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListProjectsPaginator.ts b/clients/client-device-farm/pagination/ListProjectsPaginator.ts index 7433899b664b..20d51a5e2911 100644 --- a/clients/client-device-farm/pagination/ListProjectsPaginator.ts +++ b/clients/client-device-farm/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input, ...args)); + return await client.send(new ListProjectsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListRunsPaginator.ts b/clients/client-device-farm/pagination/ListRunsPaginator.ts index 5c874a124bca..682b925d8d11 100644 --- a/clients/client-device-farm/pagination/ListRunsPaginator.ts +++ b/clients/client-device-farm/pagination/ListRunsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRunsCommand(input, ...args)); + return await client.send(new ListRunsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListSamplesPaginator.ts b/clients/client-device-farm/pagination/ListSamplesPaginator.ts index fb0da128967d..e6d443944580 100644 --- a/clients/client-device-farm/pagination/ListSamplesPaginator.ts +++ b/clients/client-device-farm/pagination/ListSamplesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSamplesCommand(input, ...args)); + return await client.send(new ListSamplesCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListSuitesPaginator.ts b/clients/client-device-farm/pagination/ListSuitesPaginator.ts index f10a6bd34cfb..f4c91500eeca 100644 --- a/clients/client-device-farm/pagination/ListSuitesPaginator.ts +++ b/clients/client-device-farm/pagination/ListSuitesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSuitesCommand(input, ...args)); + return await client.send(new ListSuitesCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestGridProjectsPaginator.ts b/clients/client-device-farm/pagination/ListTestGridProjectsPaginator.ts index c5669cf641ae..b64faf1f6231 100644 --- a/clients/client-device-farm/pagination/ListTestGridProjectsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestGridProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestGridProjectsCommand(input, ...args)); + return await client.send(new ListTestGridProjectsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestGridSessionActionsPaginator.ts b/clients/client-device-farm/pagination/ListTestGridSessionActionsPaginator.ts index 4dde9ee6f048..76fecdbc2d78 100644 --- a/clients/client-device-farm/pagination/ListTestGridSessionActionsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestGridSessionActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestGridSessionActionsCommand(input, ...args)); + return await client.send(new ListTestGridSessionActionsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestGridSessionArtifactsPaginator.ts b/clients/client-device-farm/pagination/ListTestGridSessionArtifactsPaginator.ts index c458a6218f5c..c62d82cbba27 100644 --- a/clients/client-device-farm/pagination/ListTestGridSessionArtifactsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestGridSessionArtifactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestGridSessionArtifactsCommand(input, ...args)); + return await client.send(new ListTestGridSessionArtifactsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestGridSessionsPaginator.ts b/clients/client-device-farm/pagination/ListTestGridSessionsPaginator.ts index 275de20d2e17..ed42c2aad4dd 100644 --- a/clients/client-device-farm/pagination/ListTestGridSessionsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestGridSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestGridSessionsCommand(input, ...args)); + return await client.send(new ListTestGridSessionsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListTestsPaginator.ts b/clients/client-device-farm/pagination/ListTestsPaginator.ts index 0e108abf0055..07b28007c66d 100644 --- a/clients/client-device-farm/pagination/ListTestsPaginator.ts +++ b/clients/client-device-farm/pagination/ListTestsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTestsCommand(input, ...args)); + return await client.send(new ListTestsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListUniqueProblemsPaginator.ts b/clients/client-device-farm/pagination/ListUniqueProblemsPaginator.ts index 5396929369a9..b9df24a95b7d 100644 --- a/clients/client-device-farm/pagination/ListUniqueProblemsPaginator.ts +++ b/clients/client-device-farm/pagination/ListUniqueProblemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUniqueProblemsCommand(input, ...args)); + return await client.send(new ListUniqueProblemsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-device-farm/pagination/ListUploadsPaginator.ts b/clients/client-device-farm/pagination/ListUploadsPaginator.ts index f4b5605a62cc..cce107ddae54 100644 --- a/clients/client-device-farm/pagination/ListUploadsPaginator.ts +++ b/clients/client-device-farm/pagination/ListUploadsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUploadsCommand(input, ...args)); + return await client.send(new ListUploadsCommand(input), ...args); }; const makePagedRequest = async ( client: DeviceFarm, diff --git a/clients/client-directory-service/pagination/DescribeDomainControllersPaginator.ts b/clients/client-directory-service/pagination/DescribeDomainControllersPaginator.ts index f3d482df0d65..50e5e538e308 100644 --- a/clients/client-directory-service/pagination/DescribeDomainControllersPaginator.ts +++ b/clients/client-directory-service/pagination/DescribeDomainControllersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDomainControllersCommand(input, ...args)); + return await client.send(new DescribeDomainControllersCommand(input), ...args); }; const makePagedRequest = async ( client: DirectoryService, diff --git a/clients/client-docdb/pagination/DescribeCertificatesPaginator.ts b/clients/client-docdb/pagination/DescribeCertificatesPaginator.ts index 5a14ad14dea0..f05489be56a8 100644 --- a/clients/client-docdb/pagination/DescribeCertificatesPaginator.ts +++ b/clients/client-docdb/pagination/DescribeCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCertificatesCommand(input, ...args)); + return await client.send(new DescribeCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBClusterParameterGroupsPaginator.ts b/clients/client-docdb/pagination/DescribeDBClusterParameterGroupsPaginator.ts index 87d4e8c0ea2b..9e7101ae35cb 100644 --- a/clients/client-docdb/pagination/DescribeDBClusterParameterGroupsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBClusterParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterParameterGroupsCommand(input, ...args)); + return await client.send(new DescribeDBClusterParameterGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBClusterParametersPaginator.ts b/clients/client-docdb/pagination/DescribeDBClusterParametersPaginator.ts index 02e359da96ae..bf6c33550602 100644 --- a/clients/client-docdb/pagination/DescribeDBClusterParametersPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBClusterParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterParametersCommand(input, ...args)); + return await client.send(new DescribeDBClusterParametersCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBClusterSnapshotsPaginator.ts b/clients/client-docdb/pagination/DescribeDBClusterSnapshotsPaginator.ts index 217efb25eb9a..81da0c7ea9b4 100644 --- a/clients/client-docdb/pagination/DescribeDBClusterSnapshotsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBClusterSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterSnapshotsCommand(input, ...args)); + return await client.send(new DescribeDBClusterSnapshotsCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBClustersPaginator.ts b/clients/client-docdb/pagination/DescribeDBClustersPaginator.ts index 256195b6e892..c7eba7f8933d 100644 --- a/clients/client-docdb/pagination/DescribeDBClustersPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClustersCommand(input, ...args)); + return await client.send(new DescribeDBClustersCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBEngineVersionsPaginator.ts b/clients/client-docdb/pagination/DescribeDBEngineVersionsPaginator.ts index c0845dc2c754..01adfd84816c 100644 --- a/clients/client-docdb/pagination/DescribeDBEngineVersionsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBEngineVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBEngineVersionsCommand(input, ...args)); + return await client.send(new DescribeDBEngineVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBInstancesPaginator.ts b/clients/client-docdb/pagination/DescribeDBInstancesPaginator.ts index f6161942bf00..8de281fd683d 100644 --- a/clients/client-docdb/pagination/DescribeDBInstancesPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBInstancesCommand(input, ...args)); + return await client.send(new DescribeDBInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeDBSubnetGroupsPaginator.ts b/clients/client-docdb/pagination/DescribeDBSubnetGroupsPaginator.ts index eb76923cb28b..7f93cc9401a8 100644 --- a/clients/client-docdb/pagination/DescribeDBSubnetGroupsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeDBSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSubnetGroupsCommand(input, ...args)); + return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeEventsPaginator.ts b/clients/client-docdb/pagination/DescribeEventsPaginator.ts index 2bc2c697f9e3..297c79b08125 100644 --- a/clients/client-docdb/pagination/DescribeEventsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input, ...args)); + return await client.send(new DescribeEventsCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts b/clients/client-docdb/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts index f503b2d08264..67870ec4802f 100644 --- a/clients/client-docdb/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +++ b/clients/client-docdb/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input, ...args)); + return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-docdb/pagination/DescribePendingMaintenanceActionsPaginator.ts b/clients/client-docdb/pagination/DescribePendingMaintenanceActionsPaginator.ts index cc12e196ccd3..09c40e959702 100644 --- a/clients/client-docdb/pagination/DescribePendingMaintenanceActionsPaginator.ts +++ b/clients/client-docdb/pagination/DescribePendingMaintenanceActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePendingMaintenanceActionsCommand(input, ...args)); + return await client.send(new DescribePendingMaintenanceActionsCommand(input), ...args); }; const makePagedRequest = async ( client: DocDB, diff --git a/clients/client-dynamodb/pagination/ListContributorInsightsPaginator.ts b/clients/client-dynamodb/pagination/ListContributorInsightsPaginator.ts index da3a3caec56f..8c0b0bd1bb28 100644 --- a/clients/client-dynamodb/pagination/ListContributorInsightsPaginator.ts +++ b/clients/client-dynamodb/pagination/ListContributorInsightsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContributorInsightsCommand(input, ...args)); + return await client.send(new ListContributorInsightsCommand(input), ...args); }; const makePagedRequest = async ( client: DynamoDB, diff --git a/clients/client-dynamodb/pagination/ListExportsPaginator.ts b/clients/client-dynamodb/pagination/ListExportsPaginator.ts index 6652d82125ca..11284e31be2b 100644 --- a/clients/client-dynamodb/pagination/ListExportsPaginator.ts +++ b/clients/client-dynamodb/pagination/ListExportsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListExportsCommand(input, ...args)); + return await client.send(new ListExportsCommand(input), ...args); }; const makePagedRequest = async ( client: DynamoDB, diff --git a/clients/client-dynamodb/pagination/ListTablesPaginator.ts b/clients/client-dynamodb/pagination/ListTablesPaginator.ts index 4daa76b58621..1d5752ece3f5 100644 --- a/clients/client-dynamodb/pagination/ListTablesPaginator.ts +++ b/clients/client-dynamodb/pagination/ListTablesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTablesCommand(input, ...args)); + return await client.send(new ListTablesCommand(input), ...args); }; const makePagedRequest = async ( client: DynamoDB, diff --git a/clients/client-ebs/pagination/ListChangedBlocksPaginator.ts b/clients/client-ebs/pagination/ListChangedBlocksPaginator.ts index 892c10358e8b..80944d3236d0 100644 --- a/clients/client-ebs/pagination/ListChangedBlocksPaginator.ts +++ b/clients/client-ebs/pagination/ListChangedBlocksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChangedBlocksCommand(input, ...args)); + return await client.send(new ListChangedBlocksCommand(input), ...args); }; const makePagedRequest = async ( client: EBS, diff --git a/clients/client-ebs/pagination/ListSnapshotBlocksPaginator.ts b/clients/client-ebs/pagination/ListSnapshotBlocksPaginator.ts index ff77b042e173..d87579d9ff16 100644 --- a/clients/client-ebs/pagination/ListSnapshotBlocksPaginator.ts +++ b/clients/client-ebs/pagination/ListSnapshotBlocksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSnapshotBlocksCommand(input, ...args)); + return await client.send(new ListSnapshotBlocksCommand(input), ...args); }; const makePagedRequest = async ( client: EBS, diff --git a/clients/client-ec2/pagination/DescribeCapacityReservationsPaginator.ts b/clients/client-ec2/pagination/DescribeCapacityReservationsPaginator.ts index 8c732a46878c..1cd1968fdea8 100644 --- a/clients/client-ec2/pagination/DescribeCapacityReservationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeCapacityReservationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCapacityReservationsCommand(input, ...args)); + return await client.send(new DescribeCapacityReservationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeCarrierGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeCarrierGatewaysPaginator.ts index e95ba57eb32b..bffc51368c46 100644 --- a/clients/client-ec2/pagination/DescribeCarrierGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeCarrierGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCarrierGatewaysCommand(input, ...args)); + return await client.send(new DescribeCarrierGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClassicLinkInstancesPaginator.ts b/clients/client-ec2/pagination/DescribeClassicLinkInstancesPaginator.ts index 04578e879066..fb29fb4e46c5 100644 --- a/clients/client-ec2/pagination/DescribeClassicLinkInstancesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClassicLinkInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClassicLinkInstancesCommand(input, ...args)); + return await client.send(new DescribeClassicLinkInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts index 5fb23a8673d1..2213ff81dcbf 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnAuthorizationRulesCommand(input, ...args)); + return await client.send(new DescribeClientVpnAuthorizationRulesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnConnectionsPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnConnectionsPaginator.ts index 908a362d07ad..86c0e96e7350 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnConnectionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnConnectionsCommand(input, ...args)); + return await client.send(new DescribeClientVpnConnectionsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnEndpointsPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnEndpointsPaginator.ts index 70fa3fb2d624..153ebfed2fb6 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnEndpointsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnEndpointsCommand(input, ...args)); + return await client.send(new DescribeClientVpnEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnRoutesPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnRoutesPaginator.ts index 8e693bf51363..a2f785fcaece 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnRoutesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnRoutesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnRoutesCommand(input, ...args)); + return await client.send(new DescribeClientVpnRoutesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeClientVpnTargetNetworksPaginator.ts b/clients/client-ec2/pagination/DescribeClientVpnTargetNetworksPaginator.ts index 807463dbbdf9..480e11952d75 100644 --- a/clients/client-ec2/pagination/DescribeClientVpnTargetNetworksPaginator.ts +++ b/clients/client-ec2/pagination/DescribeClientVpnTargetNetworksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClientVpnTargetNetworksCommand(input, ...args)); + return await client.send(new DescribeClientVpnTargetNetworksCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeCoipPoolsPaginator.ts b/clients/client-ec2/pagination/DescribeCoipPoolsPaginator.ts index 2868fab736c5..c532c9ecac17 100644 --- a/clients/client-ec2/pagination/DescribeCoipPoolsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeCoipPoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCoipPoolsCommand(input, ...args)); + return await client.send(new DescribeCoipPoolsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeDhcpOptionsPaginator.ts b/clients/client-ec2/pagination/DescribeDhcpOptionsPaginator.ts index 94f6e23ddc91..cd4a4cd39f44 100644 --- a/clients/client-ec2/pagination/DescribeDhcpOptionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeDhcpOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDhcpOptionsCommand(input, ...args)); + return await client.send(new DescribeDhcpOptionsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts index f23e82942d0c..40d7ff4a10ca 100644 --- a/clients/client-ec2/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEgressOnlyInternetGatewaysCommand(input, ...args)); + return await client.send(new DescribeEgressOnlyInternetGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeExportImageTasksPaginator.ts b/clients/client-ec2/pagination/DescribeExportImageTasksPaginator.ts index 92758656577c..fb8df78b0f5e 100644 --- a/clients/client-ec2/pagination/DescribeExportImageTasksPaginator.ts +++ b/clients/client-ec2/pagination/DescribeExportImageTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeExportImageTasksCommand(input, ...args)); + return await client.send(new DescribeExportImageTasksCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeFastSnapshotRestoresPaginator.ts b/clients/client-ec2/pagination/DescribeFastSnapshotRestoresPaginator.ts index c924e68c99ab..6a820a1c327f 100644 --- a/clients/client-ec2/pagination/DescribeFastSnapshotRestoresPaginator.ts +++ b/clients/client-ec2/pagination/DescribeFastSnapshotRestoresPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFastSnapshotRestoresCommand(input, ...args)); + return await client.send(new DescribeFastSnapshotRestoresCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeFleetsPaginator.ts b/clients/client-ec2/pagination/DescribeFleetsPaginator.ts index 75145e8633b8..03a25e5384b2 100644 --- a/clients/client-ec2/pagination/DescribeFleetsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeFleetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetsCommand(input, ...args)); + return await client.send(new DescribeFleetsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeFlowLogsPaginator.ts b/clients/client-ec2/pagination/DescribeFlowLogsPaginator.ts index 0200fd0f78b1..d8dc9977d6a4 100644 --- a/clients/client-ec2/pagination/DescribeFlowLogsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeFlowLogsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFlowLogsCommand(input, ...args)); + return await client.send(new DescribeFlowLogsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeFpgaImagesPaginator.ts b/clients/client-ec2/pagination/DescribeFpgaImagesPaginator.ts index 06d76711038c..3f3d1ee46a5e 100644 --- a/clients/client-ec2/pagination/DescribeFpgaImagesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeFpgaImagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFpgaImagesCommand(input, ...args)); + return await client.send(new DescribeFpgaImagesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeHostReservationOfferingsPaginator.ts b/clients/client-ec2/pagination/DescribeHostReservationOfferingsPaginator.ts index 5533412374ff..ccc274a7f117 100644 --- a/clients/client-ec2/pagination/DescribeHostReservationOfferingsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeHostReservationOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHostReservationOfferingsCommand(input, ...args)); + return await client.send(new DescribeHostReservationOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeHostReservationsPaginator.ts b/clients/client-ec2/pagination/DescribeHostReservationsPaginator.ts index fd57695f3bd9..ce4eee270c46 100644 --- a/clients/client-ec2/pagination/DescribeHostReservationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeHostReservationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHostReservationsCommand(input, ...args)); + return await client.send(new DescribeHostReservationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeHostsPaginator.ts b/clients/client-ec2/pagination/DescribeHostsPaginator.ts index 5d36c5fcec6c..66d134f9d080 100644 --- a/clients/client-ec2/pagination/DescribeHostsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeHostsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHostsCommand(input, ...args)); + return await client.send(new DescribeHostsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts b/clients/client-ec2/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts index a9f54e982b65..4885ab64a5df 100644 --- a/clients/client-ec2/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeIamInstanceProfileAssociationsCommand(input, ...args)); + return await client.send(new DescribeIamInstanceProfileAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeImportImageTasksPaginator.ts b/clients/client-ec2/pagination/DescribeImportImageTasksPaginator.ts index 51c6274bb64a..023076620bee 100644 --- a/clients/client-ec2/pagination/DescribeImportImageTasksPaginator.ts +++ b/clients/client-ec2/pagination/DescribeImportImageTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImportImageTasksCommand(input, ...args)); + return await client.send(new DescribeImportImageTasksCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeImportSnapshotTasksPaginator.ts b/clients/client-ec2/pagination/DescribeImportSnapshotTasksPaginator.ts index 989b296aefe0..c114fc456b6e 100644 --- a/clients/client-ec2/pagination/DescribeImportSnapshotTasksPaginator.ts +++ b/clients/client-ec2/pagination/DescribeImportSnapshotTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImportSnapshotTasksCommand(input, ...args)); + return await client.send(new DescribeImportSnapshotTasksCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstanceCreditSpecificationsPaginator.ts b/clients/client-ec2/pagination/DescribeInstanceCreditSpecificationsPaginator.ts index 64fbbf98a91c..faefee62286d 100644 --- a/clients/client-ec2/pagination/DescribeInstanceCreditSpecificationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstanceCreditSpecificationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceCreditSpecificationsCommand(input, ...args)); + return await client.send(new DescribeInstanceCreditSpecificationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstanceStatusPaginator.ts b/clients/client-ec2/pagination/DescribeInstanceStatusPaginator.ts index c3de02e7b7ea..1df3021f208b 100644 --- a/clients/client-ec2/pagination/DescribeInstanceStatusPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstanceStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceStatusCommand(input, ...args)); + return await client.send(new DescribeInstanceStatusCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstanceTypeOfferingsPaginator.ts b/clients/client-ec2/pagination/DescribeInstanceTypeOfferingsPaginator.ts index f608425caf96..354c55e78dba 100644 --- a/clients/client-ec2/pagination/DescribeInstanceTypeOfferingsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstanceTypeOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceTypeOfferingsCommand(input, ...args)); + return await client.send(new DescribeInstanceTypeOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstanceTypesPaginator.ts b/clients/client-ec2/pagination/DescribeInstanceTypesPaginator.ts index c7228156cbd5..ced1f6f0d888 100644 --- a/clients/client-ec2/pagination/DescribeInstanceTypesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstanceTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceTypesCommand(input, ...args)); + return await client.send(new DescribeInstanceTypesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInstancesPaginator.ts b/clients/client-ec2/pagination/DescribeInstancesPaginator.ts index f16a25deacd6..86fd0c45db6f 100644 --- a/clients/client-ec2/pagination/DescribeInstancesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancesCommand(input, ...args)); + return await client.send(new DescribeInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeInternetGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeInternetGatewaysPaginator.ts index c9fb9c30df67..39429945e7a5 100644 --- a/clients/client-ec2/pagination/DescribeInternetGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeInternetGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInternetGatewaysCommand(input, ...args)); + return await client.send(new DescribeInternetGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeIpv6PoolsPaginator.ts b/clients/client-ec2/pagination/DescribeIpv6PoolsPaginator.ts index f76f64672b7b..67a2f7861eeb 100644 --- a/clients/client-ec2/pagination/DescribeIpv6PoolsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeIpv6PoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeIpv6PoolsCommand(input, ...args)); + return await client.send(new DescribeIpv6PoolsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLaunchTemplateVersionsPaginator.ts b/clients/client-ec2/pagination/DescribeLaunchTemplateVersionsPaginator.ts index 41e4b5d79d48..a57e0c5b0624 100644 --- a/clients/client-ec2/pagination/DescribeLaunchTemplateVersionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLaunchTemplateVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLaunchTemplateVersionsCommand(input, ...args)); + return await client.send(new DescribeLaunchTemplateVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLaunchTemplatesPaginator.ts b/clients/client-ec2/pagination/DescribeLaunchTemplatesPaginator.ts index 5305a64653c6..0374f6a1d82f 100644 --- a/clients/client-ec2/pagination/DescribeLaunchTemplatesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLaunchTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLaunchTemplatesCommand(input, ...args)); + return await client.send(new DescribeLaunchTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts index a6e8db28af72..445c1edc7f22 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand(input, ...args)); + return await client.send(new DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts index 0f9a18fbd270..5c1a69f00113 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayRouteTableVpcAssociationsCommand(input, ...args)); + return await client.send(new DescribeLocalGatewayRouteTableVpcAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTablesPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTablesPaginator.ts index a0994bb2b1bf..decc569a8400 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayRouteTablesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayRouteTablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayRouteTablesCommand(input, ...args)); + return await client.send(new DescribeLocalGatewayRouteTablesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts index 600c36759b02..40edb2852afd 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayVirtualInterfaceGroupsCommand(input, ...args)); + return await client.send(new DescribeLocalGatewayVirtualInterfaceGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts index 98f7762ed4bd..0be3335be9eb 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewayVirtualInterfacesCommand(input, ...args)); + return await client.send(new DescribeLocalGatewayVirtualInterfacesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeLocalGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeLocalGatewaysPaginator.ts index 128c1b7d56bf..5bf1cc51788d 100644 --- a/clients/client-ec2/pagination/DescribeLocalGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeLocalGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLocalGatewaysCommand(input, ...args)); + return await client.send(new DescribeLocalGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeManagedPrefixListsPaginator.ts b/clients/client-ec2/pagination/DescribeManagedPrefixListsPaginator.ts index 0c5009ed025d..3f34c83b9899 100644 --- a/clients/client-ec2/pagination/DescribeManagedPrefixListsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeManagedPrefixListsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeManagedPrefixListsCommand(input, ...args)); + return await client.send(new DescribeManagedPrefixListsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeMovingAddressesPaginator.ts b/clients/client-ec2/pagination/DescribeMovingAddressesPaginator.ts index 77168094d492..940892013bf0 100644 --- a/clients/client-ec2/pagination/DescribeMovingAddressesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeMovingAddressesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMovingAddressesCommand(input, ...args)); + return await client.send(new DescribeMovingAddressesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeNatGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeNatGatewaysPaginator.ts index 0a5ca154945c..23311dc2dc16 100644 --- a/clients/client-ec2/pagination/DescribeNatGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeNatGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNatGatewaysCommand(input, ...args)); + return await client.send(new DescribeNatGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeNetworkAclsPaginator.ts b/clients/client-ec2/pagination/DescribeNetworkAclsPaginator.ts index a7a7d4b9825f..00e7bcba4e1a 100644 --- a/clients/client-ec2/pagination/DescribeNetworkAclsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeNetworkAclsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNetworkAclsCommand(input, ...args)); + return await client.send(new DescribeNetworkAclsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeNetworkInterfacePermissionsPaginator.ts b/clients/client-ec2/pagination/DescribeNetworkInterfacePermissionsPaginator.ts index 0c05bddd377b..299cb757da09 100644 --- a/clients/client-ec2/pagination/DescribeNetworkInterfacePermissionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeNetworkInterfacePermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNetworkInterfacePermissionsCommand(input, ...args)); + return await client.send(new DescribeNetworkInterfacePermissionsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeNetworkInterfacesPaginator.ts b/clients/client-ec2/pagination/DescribeNetworkInterfacesPaginator.ts index e9c355435475..a05e5dc84ea3 100644 --- a/clients/client-ec2/pagination/DescribeNetworkInterfacesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeNetworkInterfacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNetworkInterfacesCommand(input, ...args)); + return await client.send(new DescribeNetworkInterfacesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribePrefixListsPaginator.ts b/clients/client-ec2/pagination/DescribePrefixListsPaginator.ts index 5ef9558eb3b4..8b2339971ed2 100644 --- a/clients/client-ec2/pagination/DescribePrefixListsPaginator.ts +++ b/clients/client-ec2/pagination/DescribePrefixListsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePrefixListsCommand(input, ...args)); + return await client.send(new DescribePrefixListsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribePrincipalIdFormatPaginator.ts b/clients/client-ec2/pagination/DescribePrincipalIdFormatPaginator.ts index 04e65c72a590..28b3d7c66c9c 100644 --- a/clients/client-ec2/pagination/DescribePrincipalIdFormatPaginator.ts +++ b/clients/client-ec2/pagination/DescribePrincipalIdFormatPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePrincipalIdFormatCommand(input, ...args)); + return await client.send(new DescribePrincipalIdFormatCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribePublicIpv4PoolsPaginator.ts b/clients/client-ec2/pagination/DescribePublicIpv4PoolsPaginator.ts index 99235aab351e..b797c9f4bc01 100644 --- a/clients/client-ec2/pagination/DescribePublicIpv4PoolsPaginator.ts +++ b/clients/client-ec2/pagination/DescribePublicIpv4PoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePublicIpv4PoolsCommand(input, ...args)); + return await client.send(new DescribePublicIpv4PoolsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeReservedInstancesModificationsPaginator.ts b/clients/client-ec2/pagination/DescribeReservedInstancesModificationsPaginator.ts index 569af2ff528d..1a5cec6c4056 100644 --- a/clients/client-ec2/pagination/DescribeReservedInstancesModificationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeReservedInstancesModificationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedInstancesModificationsCommand(input, ...args)); + return await client.send(new DescribeReservedInstancesModificationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeReservedInstancesOfferingsPaginator.ts b/clients/client-ec2/pagination/DescribeReservedInstancesOfferingsPaginator.ts index cdb98fb3ebae..89899e1b6e4b 100644 --- a/clients/client-ec2/pagination/DescribeReservedInstancesOfferingsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeReservedInstancesOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedInstancesOfferingsCommand(input, ...args)); + return await client.send(new DescribeReservedInstancesOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeRouteTablesPaginator.ts b/clients/client-ec2/pagination/DescribeRouteTablesPaginator.ts index a4c82832a662..b1d15bc1c455 100644 --- a/clients/client-ec2/pagination/DescribeRouteTablesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeRouteTablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRouteTablesCommand(input, ...args)); + return await client.send(new DescribeRouteTablesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts b/clients/client-ec2/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts index d68d33d8a6ea..ef5b8b3cb832 100644 --- a/clients/client-ec2/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts +++ b/clients/client-ec2/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledInstanceAvailabilityCommand(input, ...args)); + return await client.send(new DescribeScheduledInstanceAvailabilityCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeScheduledInstancesPaginator.ts b/clients/client-ec2/pagination/DescribeScheduledInstancesPaginator.ts index 2c0fd000f3b6..6234d8bcdda4 100644 --- a/clients/client-ec2/pagination/DescribeScheduledInstancesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeScheduledInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledInstancesCommand(input, ...args)); + return await client.send(new DescribeScheduledInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSecurityGroupsPaginator.ts b/clients/client-ec2/pagination/DescribeSecurityGroupsPaginator.ts index 332ecf5594f2..6b7a22daa9d8 100644 --- a/clients/client-ec2/pagination/DescribeSecurityGroupsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSecurityGroupsCommand(input, ...args)); + return await client.send(new DescribeSecurityGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSnapshotsPaginator.ts b/clients/client-ec2/pagination/DescribeSnapshotsPaginator.ts index 7b402ea7799d..8f174468ce34 100644 --- a/clients/client-ec2/pagination/DescribeSnapshotsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSnapshotsCommand(input, ...args)); + return await client.send(new DescribeSnapshotsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSpotFleetRequestsPaginator.ts b/clients/client-ec2/pagination/DescribeSpotFleetRequestsPaginator.ts index 5ba4195cb126..22c6a1c14386 100644 --- a/clients/client-ec2/pagination/DescribeSpotFleetRequestsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSpotFleetRequestsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSpotFleetRequestsCommand(input, ...args)); + return await client.send(new DescribeSpotFleetRequestsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSpotInstanceRequestsPaginator.ts b/clients/client-ec2/pagination/DescribeSpotInstanceRequestsPaginator.ts index 3c5507691131..74734fad8ed6 100644 --- a/clients/client-ec2/pagination/DescribeSpotInstanceRequestsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSpotInstanceRequestsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSpotInstanceRequestsCommand(input, ...args)); + return await client.send(new DescribeSpotInstanceRequestsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSpotPriceHistoryPaginator.ts b/clients/client-ec2/pagination/DescribeSpotPriceHistoryPaginator.ts index 0e78fb977f55..7fc924ca2784 100644 --- a/clients/client-ec2/pagination/DescribeSpotPriceHistoryPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSpotPriceHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSpotPriceHistoryCommand(input, ...args)); + return await client.send(new DescribeSpotPriceHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeStaleSecurityGroupsPaginator.ts b/clients/client-ec2/pagination/DescribeStaleSecurityGroupsPaginator.ts index bbb6d6f5527c..a17d27d9cb9e 100644 --- a/clients/client-ec2/pagination/DescribeStaleSecurityGroupsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeStaleSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStaleSecurityGroupsCommand(input, ...args)); + return await client.send(new DescribeStaleSecurityGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeSubnetsPaginator.ts b/clients/client-ec2/pagination/DescribeSubnetsPaginator.ts index 66dfd01a32e8..3f789998e784 100644 --- a/clients/client-ec2/pagination/DescribeSubnetsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeSubnetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSubnetsCommand(input, ...args)); + return await client.send(new DescribeSubnetsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTagsPaginator.ts b/clients/client-ec2/pagination/DescribeTagsPaginator.ts index c73b19e719f3..8ea847803fba 100644 --- a/clients/client-ec2/pagination/DescribeTagsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTagsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTagsCommand(input, ...args)); + return await client.send(new DescribeTagsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTrafficMirrorFiltersPaginator.ts b/clients/client-ec2/pagination/DescribeTrafficMirrorFiltersPaginator.ts index 4aeaecd238bd..1e29d9579136 100644 --- a/clients/client-ec2/pagination/DescribeTrafficMirrorFiltersPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTrafficMirrorFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTrafficMirrorFiltersCommand(input, ...args)); + return await client.send(new DescribeTrafficMirrorFiltersCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTrafficMirrorSessionsPaginator.ts b/clients/client-ec2/pagination/DescribeTrafficMirrorSessionsPaginator.ts index cbd15aad62e5..aa8f95395bdf 100644 --- a/clients/client-ec2/pagination/DescribeTrafficMirrorSessionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTrafficMirrorSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTrafficMirrorSessionsCommand(input, ...args)); + return await client.send(new DescribeTrafficMirrorSessionsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTrafficMirrorTargetsPaginator.ts b/clients/client-ec2/pagination/DescribeTrafficMirrorTargetsPaginator.ts index e9f138e4cd34..34941217fc77 100644 --- a/clients/client-ec2/pagination/DescribeTrafficMirrorTargetsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTrafficMirrorTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTrafficMirrorTargetsCommand(input, ...args)); + return await client.send(new DescribeTrafficMirrorTargetsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayAttachmentsPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayAttachmentsPaginator.ts index 4b022c19844a..831fc3be8ce2 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayAttachmentsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayAttachmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayAttachmentsCommand(input, ...args)); + return await client.send(new DescribeTransitGatewayAttachmentsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts index 6566516a6b73..324418afa2d6 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayMulticastDomainsCommand(input, ...args)); + return await client.send(new DescribeTransitGatewayMulticastDomainsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts index bd33ec63ff8d..760aea6ea533 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayPeeringAttachmentsCommand(input, ...args)); + return await client.send(new DescribeTransitGatewayPeeringAttachmentsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayRouteTablesPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayRouteTablesPaginator.ts index da6f0d2b1bd3..3f99ba305f69 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayRouteTablesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayRouteTablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayRouteTablesCommand(input, ...args)); + return await client.send(new DescribeTransitGatewayRouteTablesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts index cbed15bc41ed..1e10620a95d3 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewayVpcAttachmentsCommand(input, ...args)); + return await client.send(new DescribeTransitGatewayVpcAttachmentsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeTransitGatewaysPaginator.ts b/clients/client-ec2/pagination/DescribeTransitGatewaysPaginator.ts index ffc7cdf43d7a..2b66845b75c4 100644 --- a/clients/client-ec2/pagination/DescribeTransitGatewaysPaginator.ts +++ b/clients/client-ec2/pagination/DescribeTransitGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTransitGatewaysCommand(input, ...args)); + return await client.send(new DescribeTransitGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVolumeStatusPaginator.ts b/clients/client-ec2/pagination/DescribeVolumeStatusPaginator.ts index 721d8d69ad40..514764ec372a 100644 --- a/clients/client-ec2/pagination/DescribeVolumeStatusPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVolumeStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVolumeStatusCommand(input, ...args)); + return await client.send(new DescribeVolumeStatusCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVolumesModificationsPaginator.ts b/clients/client-ec2/pagination/DescribeVolumesModificationsPaginator.ts index afaacb2b575c..f3dacb00b70d 100644 --- a/clients/client-ec2/pagination/DescribeVolumesModificationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVolumesModificationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVolumesModificationsCommand(input, ...args)); + return await client.send(new DescribeVolumesModificationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVolumesPaginator.ts b/clients/client-ec2/pagination/DescribeVolumesPaginator.ts index e2e5dc99703d..1960f183ac3b 100644 --- a/clients/client-ec2/pagination/DescribeVolumesPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVolumesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVolumesCommand(input, ...args)); + return await client.send(new DescribeVolumesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts b/clients/client-ec2/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts index f6f4237d3f57..2e9bd36d9ea3 100644 --- a/clients/client-ec2/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcClassicLinkDnsSupportCommand(input, ...args)); + return await client.send(new DescribeVpcClassicLinkDnsSupportCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts index fc76142ac0a6..5b39a742ba72 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointConnectionNotificationsCommand(input, ...args)); + return await client.send(new DescribeVpcEndpointConnectionNotificationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointConnectionsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointConnectionsPaginator.ts index b48be76869f3..867be7c4a860 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointConnectionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointConnectionsCommand(input, ...args)); + return await client.send(new DescribeVpcEndpointConnectionsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts index 9a10a6598be4..126e0746a0e4 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointServiceConfigurationsCommand(input, ...args)); + return await client.send(new DescribeVpcEndpointServiceConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts index 2aa069bdeaa4..17dc538207b7 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointServicePermissionsCommand(input, ...args)); + return await client.send(new DescribeVpcEndpointServicePermissionsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcEndpointsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcEndpointsPaginator.ts index c96e02834a57..7608fbf69de7 100644 --- a/clients/client-ec2/pagination/DescribeVpcEndpointsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcEndpointsCommand(input, ...args)); + return await client.send(new DescribeVpcEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcPeeringConnectionsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcPeeringConnectionsPaginator.ts index d780b8dd8d0d..081fc0d70245 100644 --- a/clients/client-ec2/pagination/DescribeVpcPeeringConnectionsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcPeeringConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcPeeringConnectionsCommand(input, ...args)); + return await client.send(new DescribeVpcPeeringConnectionsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/DescribeVpcsPaginator.ts b/clients/client-ec2/pagination/DescribeVpcsPaginator.ts index 40826a452778..499331aeba3a 100644 --- a/clients/client-ec2/pagination/DescribeVpcsPaginator.ts +++ b/clients/client-ec2/pagination/DescribeVpcsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVpcsCommand(input, ...args)); + return await client.send(new DescribeVpcsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts b/clients/client-ec2/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts index b5fcfc2038db..8ebe8d327e40 100644 --- a/clients/client-ec2/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts +++ b/clients/client-ec2/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAssociatedIpv6PoolCidrsCommand(input, ...args)); + return await client.send(new GetAssociatedIpv6PoolCidrsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetGroupsForCapacityReservationPaginator.ts b/clients/client-ec2/pagination/GetGroupsForCapacityReservationPaginator.ts index 854237f7381d..5eb50672749e 100644 --- a/clients/client-ec2/pagination/GetGroupsForCapacityReservationPaginator.ts +++ b/clients/client-ec2/pagination/GetGroupsForCapacityReservationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetGroupsForCapacityReservationCommand(input, ...args)); + return await client.send(new GetGroupsForCapacityReservationCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetManagedPrefixListAssociationsPaginator.ts b/clients/client-ec2/pagination/GetManagedPrefixListAssociationsPaginator.ts index 01a4a617e7e1..163938d798f2 100644 --- a/clients/client-ec2/pagination/GetManagedPrefixListAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/GetManagedPrefixListAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetManagedPrefixListAssociationsCommand(input, ...args)); + return await client.send(new GetManagedPrefixListAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetManagedPrefixListEntriesPaginator.ts b/clients/client-ec2/pagination/GetManagedPrefixListEntriesPaginator.ts index a5a7cf90b48c..fb11132e2b0b 100644 --- a/clients/client-ec2/pagination/GetManagedPrefixListEntriesPaginator.ts +++ b/clients/client-ec2/pagination/GetManagedPrefixListEntriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetManagedPrefixListEntriesCommand(input, ...args)); + return await client.send(new GetManagedPrefixListEntriesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts index 7aee478b1897..d77e881b140b 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayAttachmentPropagationsCommand(input, ...args)); + return await client.send(new GetTransitGatewayAttachmentPropagationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts index c340f4fb4dc7..f278ec669f9f 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayMulticastDomainAssociationsCommand(input, ...args)); + return await client.send(new GetTransitGatewayMulticastDomainAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts index 01b54401f5bf..2f0cf91613e9 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayPrefixListReferencesCommand(input, ...args)); + return await client.send(new GetTransitGatewayPrefixListReferencesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts index ef4416848c79..ea7504dc34d5 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayRouteTableAssociationsCommand(input, ...args)); + return await client.send(new GetTransitGatewayRouteTableAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts b/clients/client-ec2/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts index eaf8dfbaa3ca..b0ffea8855ff 100644 --- a/clients/client-ec2/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts +++ b/clients/client-ec2/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayRouteTablePropagationsCommand(input, ...args)); + return await client.send(new GetTransitGatewayRouteTablePropagationsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/SearchLocalGatewayRoutesPaginator.ts b/clients/client-ec2/pagination/SearchLocalGatewayRoutesPaginator.ts index f11493398aab..2b1ebd624678 100644 --- a/clients/client-ec2/pagination/SearchLocalGatewayRoutesPaginator.ts +++ b/clients/client-ec2/pagination/SearchLocalGatewayRoutesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchLocalGatewayRoutesCommand(input, ...args)); + return await client.send(new SearchLocalGatewayRoutesCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ec2/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts b/clients/client-ec2/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts index 4251f75fcbef..e05bee2832ea 100644 --- a/clients/client-ec2/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts +++ b/clients/client-ec2/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchTransitGatewayMulticastGroupsCommand(input, ...args)); + return await client.send(new SearchTransitGatewayMulticastGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: EC2, diff --git a/clients/client-ecr/pagination/DescribeImageScanFindingsPaginator.ts b/clients/client-ecr/pagination/DescribeImageScanFindingsPaginator.ts index 4b36fcb59d27..42e4aa215eda 100644 --- a/clients/client-ecr/pagination/DescribeImageScanFindingsPaginator.ts +++ b/clients/client-ecr/pagination/DescribeImageScanFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImageScanFindingsCommand(input, ...args)); + return await client.send(new DescribeImageScanFindingsCommand(input), ...args); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecr/pagination/DescribeImagesPaginator.ts b/clients/client-ecr/pagination/DescribeImagesPaginator.ts index 51ac78d0e5f3..0291f2896ad3 100644 --- a/clients/client-ecr/pagination/DescribeImagesPaginator.ts +++ b/clients/client-ecr/pagination/DescribeImagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeImagesCommand(input, ...args)); + return await client.send(new DescribeImagesCommand(input), ...args); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecr/pagination/DescribeRepositoriesPaginator.ts b/clients/client-ecr/pagination/DescribeRepositoriesPaginator.ts index 91bdeaf3fb6e..a6bda1c719bb 100644 --- a/clients/client-ecr/pagination/DescribeRepositoriesPaginator.ts +++ b/clients/client-ecr/pagination/DescribeRepositoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRepositoriesCommand(input, ...args)); + return await client.send(new DescribeRepositoriesCommand(input), ...args); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecr/pagination/GetLifecyclePolicyPreviewPaginator.ts b/clients/client-ecr/pagination/GetLifecyclePolicyPreviewPaginator.ts index baeec6e1d1d4..a63a56e60dde 100644 --- a/clients/client-ecr/pagination/GetLifecyclePolicyPreviewPaginator.ts +++ b/clients/client-ecr/pagination/GetLifecyclePolicyPreviewPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLifecyclePolicyPreviewCommand(input, ...args)); + return await client.send(new GetLifecyclePolicyPreviewCommand(input), ...args); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecr/pagination/ListImagesPaginator.ts b/clients/client-ecr/pagination/ListImagesPaginator.ts index 4a781da4911f..fd6144717c63 100644 --- a/clients/client-ecr/pagination/ListImagesPaginator.ts +++ b/clients/client-ecr/pagination/ListImagesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagesCommand(input, ...args)); + return await client.send(new ListImagesCommand(input), ...args); }; const makePagedRequest = async ( client: ECR, diff --git a/clients/client-ecs/pagination/ListAccountSettingsPaginator.ts b/clients/client-ecs/pagination/ListAccountSettingsPaginator.ts index e4747da52044..5276765cfa24 100644 --- a/clients/client-ecs/pagination/ListAccountSettingsPaginator.ts +++ b/clients/client-ecs/pagination/ListAccountSettingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountSettingsCommand(input, ...args)); + return await client.send(new ListAccountSettingsCommand(input), ...args); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListAttributesPaginator.ts b/clients/client-ecs/pagination/ListAttributesPaginator.ts index dc1d1acebe3a..06cbeb75816a 100644 --- a/clients/client-ecs/pagination/ListAttributesPaginator.ts +++ b/clients/client-ecs/pagination/ListAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttributesCommand(input, ...args)); + return await client.send(new ListAttributesCommand(input), ...args); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListClustersPaginator.ts b/clients/client-ecs/pagination/ListClustersPaginator.ts index 3b3fb2e7d7a8..0b6a5bfa573c 100644 --- a/clients/client-ecs/pagination/ListClustersPaginator.ts +++ b/clients/client-ecs/pagination/ListClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClustersCommand(input, ...args)); + return await client.send(new ListClustersCommand(input), ...args); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListContainerInstancesPaginator.ts b/clients/client-ecs/pagination/ListContainerInstancesPaginator.ts index ed743cc4fc67..74a2a0e9ebc6 100644 --- a/clients/client-ecs/pagination/ListContainerInstancesPaginator.ts +++ b/clients/client-ecs/pagination/ListContainerInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContainerInstancesCommand(input, ...args)); + return await client.send(new ListContainerInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListServicesPaginator.ts b/clients/client-ecs/pagination/ListServicesPaginator.ts index 3ad8c3d34aa7..ffa882a9404b 100644 --- a/clients/client-ecs/pagination/ListServicesPaginator.ts +++ b/clients/client-ecs/pagination/ListServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServicesCommand(input, ...args)); + return await client.send(new ListServicesCommand(input), ...args); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListTaskDefinitionFamiliesPaginator.ts b/clients/client-ecs/pagination/ListTaskDefinitionFamiliesPaginator.ts index dedc8d06dc18..c7ed15387f4f 100644 --- a/clients/client-ecs/pagination/ListTaskDefinitionFamiliesPaginator.ts +++ b/clients/client-ecs/pagination/ListTaskDefinitionFamiliesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTaskDefinitionFamiliesCommand(input, ...args)); + return await client.send(new ListTaskDefinitionFamiliesCommand(input), ...args); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListTaskDefinitionsPaginator.ts b/clients/client-ecs/pagination/ListTaskDefinitionsPaginator.ts index ba5311fc4e27..e93558bbb0bc 100644 --- a/clients/client-ecs/pagination/ListTaskDefinitionsPaginator.ts +++ b/clients/client-ecs/pagination/ListTaskDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTaskDefinitionsCommand(input, ...args)); + return await client.send(new ListTaskDefinitionsCommand(input), ...args); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-ecs/pagination/ListTasksPaginator.ts b/clients/client-ecs/pagination/ListTasksPaginator.ts index 56cdfbc1054d..3a0bb54a15cf 100644 --- a/clients/client-ecs/pagination/ListTasksPaginator.ts +++ b/clients/client-ecs/pagination/ListTasksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTasksCommand(input, ...args)); + return await client.send(new ListTasksCommand(input), ...args); }; const makePagedRequest = async ( client: ECS, diff --git a/clients/client-efs/pagination/DescribeAccessPointsPaginator.ts b/clients/client-efs/pagination/DescribeAccessPointsPaginator.ts index 141c94d324b8..20a1fc37e950 100644 --- a/clients/client-efs/pagination/DescribeAccessPointsPaginator.ts +++ b/clients/client-efs/pagination/DescribeAccessPointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAccessPointsCommand(input, ...args)); + return await client.send(new DescribeAccessPointsCommand(input), ...args); }; const makePagedRequest = async ( client: EFS, diff --git a/clients/client-efs/pagination/DescribeFileSystemsPaginator.ts b/clients/client-efs/pagination/DescribeFileSystemsPaginator.ts index 030e9de05190..5c77e524c272 100644 --- a/clients/client-efs/pagination/DescribeFileSystemsPaginator.ts +++ b/clients/client-efs/pagination/DescribeFileSystemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFileSystemsCommand(input, ...args)); + return await client.send(new DescribeFileSystemsCommand(input), ...args); }; const makePagedRequest = async ( client: EFS, diff --git a/clients/client-efs/pagination/DescribeTagsPaginator.ts b/clients/client-efs/pagination/DescribeTagsPaginator.ts index 4f78aa199060..0530f2d3b56e 100644 --- a/clients/client-efs/pagination/DescribeTagsPaginator.ts +++ b/clients/client-efs/pagination/DescribeTagsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTagsCommand(input, ...args)); + return await client.send(new DescribeTagsCommand(input), ...args); }; const makePagedRequest = async ( client: EFS, diff --git a/clients/client-efs/pagination/ListTagsForResourcePaginator.ts b/clients/client-efs/pagination/ListTagsForResourcePaginator.ts index 6d53121a0b7e..16f8abb70130 100644 --- a/clients/client-efs/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-efs/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: EFS, diff --git a/clients/client-eks/pagination/ListClustersPaginator.ts b/clients/client-eks/pagination/ListClustersPaginator.ts index 46e98aca1909..1529c5c7a2a9 100644 --- a/clients/client-eks/pagination/ListClustersPaginator.ts +++ b/clients/client-eks/pagination/ListClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClustersCommand(input, ...args)); + return await client.send(new ListClustersCommand(input), ...args); }; const makePagedRequest = async ( client: EKS, diff --git a/clients/client-eks/pagination/ListFargateProfilesPaginator.ts b/clients/client-eks/pagination/ListFargateProfilesPaginator.ts index 1b853837bd5d..d68cfa905572 100644 --- a/clients/client-eks/pagination/ListFargateProfilesPaginator.ts +++ b/clients/client-eks/pagination/ListFargateProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFargateProfilesCommand(input, ...args)); + return await client.send(new ListFargateProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: EKS, diff --git a/clients/client-eks/pagination/ListNodegroupsPaginator.ts b/clients/client-eks/pagination/ListNodegroupsPaginator.ts index 16db87b48609..1a807bd2f6f5 100644 --- a/clients/client-eks/pagination/ListNodegroupsPaginator.ts +++ b/clients/client-eks/pagination/ListNodegroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNodegroupsCommand(input, ...args)); + return await client.send(new ListNodegroupsCommand(input), ...args); }; const makePagedRequest = async ( client: EKS, diff --git a/clients/client-eks/pagination/ListUpdatesPaginator.ts b/clients/client-eks/pagination/ListUpdatesPaginator.ts index c77335b2f6ab..6bfd1a12433c 100644 --- a/clients/client-eks/pagination/ListUpdatesPaginator.ts +++ b/clients/client-eks/pagination/ListUpdatesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUpdatesCommand(input, ...args)); + return await client.send(new ListUpdatesCommand(input), ...args); }; const makePagedRequest = async ( client: EKS, diff --git a/clients/client-elastic-beanstalk/pagination/DescribeEnvironmentManagedActionHistoryPaginator.ts b/clients/client-elastic-beanstalk/pagination/DescribeEnvironmentManagedActionHistoryPaginator.ts index 38345a7a7774..d12190f340d8 100644 --- a/clients/client-elastic-beanstalk/pagination/DescribeEnvironmentManagedActionHistoryPaginator.ts +++ b/clients/client-elastic-beanstalk/pagination/DescribeEnvironmentManagedActionHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEnvironmentManagedActionHistoryCommand(input, ...args)); + return await client.send(new DescribeEnvironmentManagedActionHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticBeanstalk, diff --git a/clients/client-elastic-beanstalk/pagination/DescribeEventsPaginator.ts b/clients/client-elastic-beanstalk/pagination/DescribeEventsPaginator.ts index aa5cdb843532..474f84e65031 100644 --- a/clients/client-elastic-beanstalk/pagination/DescribeEventsPaginator.ts +++ b/clients/client-elastic-beanstalk/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input, ...args)); + return await client.send(new DescribeEventsCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticBeanstalk, diff --git a/clients/client-elastic-beanstalk/pagination/ListPlatformBranchesPaginator.ts b/clients/client-elastic-beanstalk/pagination/ListPlatformBranchesPaginator.ts index f70c736d07f5..fdce8eeddd6e 100644 --- a/clients/client-elastic-beanstalk/pagination/ListPlatformBranchesPaginator.ts +++ b/clients/client-elastic-beanstalk/pagination/ListPlatformBranchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlatformBranchesCommand(input, ...args)); + return await client.send(new ListPlatformBranchesCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticBeanstalk, diff --git a/clients/client-elastic-beanstalk/pagination/ListPlatformVersionsPaginator.ts b/clients/client-elastic-beanstalk/pagination/ListPlatformVersionsPaginator.ts index ca0390cd2aa8..f8268e266619 100644 --- a/clients/client-elastic-beanstalk/pagination/ListPlatformVersionsPaginator.ts +++ b/clients/client-elastic-beanstalk/pagination/ListPlatformVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlatformVersionsCommand(input, ...args)); + return await client.send(new ListPlatformVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticBeanstalk, diff --git a/clients/client-elastic-inference/pagination/DescribeAcceleratorsPaginator.ts b/clients/client-elastic-inference/pagination/DescribeAcceleratorsPaginator.ts index af6b0bb80157..c96cc0efaff6 100644 --- a/clients/client-elastic-inference/pagination/DescribeAcceleratorsPaginator.ts +++ b/clients/client-elastic-inference/pagination/DescribeAcceleratorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAcceleratorsCommand(input, ...args)); + return await client.send(new DescribeAcceleratorsCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticInference, diff --git a/clients/client-elastic-load-balancing-v2/pagination/DescribeListenersPaginator.ts b/clients/client-elastic-load-balancing-v2/pagination/DescribeListenersPaginator.ts index cf788f84d6fd..cfc1bb16f3bd 100644 --- a/clients/client-elastic-load-balancing-v2/pagination/DescribeListenersPaginator.ts +++ b/clients/client-elastic-load-balancing-v2/pagination/DescribeListenersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeListenersCommand(input, ...args)); + return await client.send(new DescribeListenersCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticLoadBalancingV2, diff --git a/clients/client-elastic-load-balancing-v2/pagination/DescribeLoadBalancersPaginator.ts b/clients/client-elastic-load-balancing-v2/pagination/DescribeLoadBalancersPaginator.ts index 96bdd0516554..704477db7b51 100644 --- a/clients/client-elastic-load-balancing-v2/pagination/DescribeLoadBalancersPaginator.ts +++ b/clients/client-elastic-load-balancing-v2/pagination/DescribeLoadBalancersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLoadBalancersCommand(input, ...args)); + return await client.send(new DescribeLoadBalancersCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticLoadBalancingV2, diff --git a/clients/client-elastic-load-balancing-v2/pagination/DescribeTargetGroupsPaginator.ts b/clients/client-elastic-load-balancing-v2/pagination/DescribeTargetGroupsPaginator.ts index 919e2111575b..3e0b1dd23774 100644 --- a/clients/client-elastic-load-balancing-v2/pagination/DescribeTargetGroupsPaginator.ts +++ b/clients/client-elastic-load-balancing-v2/pagination/DescribeTargetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTargetGroupsCommand(input, ...args)); + return await client.send(new DescribeTargetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticLoadBalancingV2, diff --git a/clients/client-elastic-load-balancing/pagination/DescribeLoadBalancersPaginator.ts b/clients/client-elastic-load-balancing/pagination/DescribeLoadBalancersPaginator.ts index 337a1985e807..cc91d801870d 100644 --- a/clients/client-elastic-load-balancing/pagination/DescribeLoadBalancersPaginator.ts +++ b/clients/client-elastic-load-balancing/pagination/DescribeLoadBalancersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeLoadBalancersCommand(input, ...args)); + return await client.send(new DescribeLoadBalancersCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticLoadBalancing, diff --git a/clients/client-elastic-transcoder/pagination/ListJobsByPipelinePaginator.ts b/clients/client-elastic-transcoder/pagination/ListJobsByPipelinePaginator.ts index 87f1131a5005..8dc5407ea76f 100644 --- a/clients/client-elastic-transcoder/pagination/ListJobsByPipelinePaginator.ts +++ b/clients/client-elastic-transcoder/pagination/ListJobsByPipelinePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsByPipelineCommand(input, ...args)); + return await client.send(new ListJobsByPipelineCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticTranscoder, diff --git a/clients/client-elastic-transcoder/pagination/ListJobsByStatusPaginator.ts b/clients/client-elastic-transcoder/pagination/ListJobsByStatusPaginator.ts index 625700d39aca..80ead62bf560 100644 --- a/clients/client-elastic-transcoder/pagination/ListJobsByStatusPaginator.ts +++ b/clients/client-elastic-transcoder/pagination/ListJobsByStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsByStatusCommand(input, ...args)); + return await client.send(new ListJobsByStatusCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticTranscoder, diff --git a/clients/client-elastic-transcoder/pagination/ListPipelinesPaginator.ts b/clients/client-elastic-transcoder/pagination/ListPipelinesPaginator.ts index d9050e59c31d..2ef0f9095676 100644 --- a/clients/client-elastic-transcoder/pagination/ListPipelinesPaginator.ts +++ b/clients/client-elastic-transcoder/pagination/ListPipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelinesCommand(input, ...args)); + return await client.send(new ListPipelinesCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticTranscoder, diff --git a/clients/client-elastic-transcoder/pagination/ListPresetsPaginator.ts b/clients/client-elastic-transcoder/pagination/ListPresetsPaginator.ts index adaa8ce3fd0b..eaafea0a9bf2 100644 --- a/clients/client-elastic-transcoder/pagination/ListPresetsPaginator.ts +++ b/clients/client-elastic-transcoder/pagination/ListPresetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPresetsCommand(input, ...args)); + return await client.send(new ListPresetsCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticTranscoder, diff --git a/clients/client-elasticache/pagination/DescribeCacheClustersPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheClustersPaginator.ts index e7717ec47319..122e7950e5a6 100644 --- a/clients/client-elasticache/pagination/DescribeCacheClustersPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheClustersCommand(input, ...args)); + return await client.send(new DescribeCacheClustersCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheEngineVersionsPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheEngineVersionsPaginator.ts index e5c69742fc56..ee998d3d6dcb 100644 --- a/clients/client-elasticache/pagination/DescribeCacheEngineVersionsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheEngineVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheEngineVersionsCommand(input, ...args)); + return await client.send(new DescribeCacheEngineVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheParameterGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheParameterGroupsPaginator.ts index 3d020ee77544..d30eabd708e4 100644 --- a/clients/client-elasticache/pagination/DescribeCacheParameterGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheParameterGroupsCommand(input, ...args)); + return await client.send(new DescribeCacheParameterGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheParametersPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheParametersPaginator.ts index ed2e4c80caa4..31895d44d754 100644 --- a/clients/client-elasticache/pagination/DescribeCacheParametersPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheParametersCommand(input, ...args)); + return await client.send(new DescribeCacheParametersCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheSecurityGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheSecurityGroupsPaginator.ts index cb302ee93e19..e2e005770d85 100644 --- a/clients/client-elasticache/pagination/DescribeCacheSecurityGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheSecurityGroupsCommand(input, ...args)); + return await client.send(new DescribeCacheSecurityGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeCacheSubnetGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeCacheSubnetGroupsPaginator.ts index 594ccbb2f78d..c6b842c64144 100644 --- a/clients/client-elasticache/pagination/DescribeCacheSubnetGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeCacheSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCacheSubnetGroupsCommand(input, ...args)); + return await client.send(new DescribeCacheSubnetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeEngineDefaultParametersPaginator.ts b/clients/client-elasticache/pagination/DescribeEngineDefaultParametersPaginator.ts index c8278bbb83e1..e37881d9484f 100644 --- a/clients/client-elasticache/pagination/DescribeEngineDefaultParametersPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeEngineDefaultParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEngineDefaultParametersCommand(input, ...args)); + return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeEventsPaginator.ts b/clients/client-elasticache/pagination/DescribeEventsPaginator.ts index ae47e7919bc6..a2d33774e47a 100644 --- a/clients/client-elasticache/pagination/DescribeEventsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input, ...args)); + return await client.send(new DescribeEventsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeGlobalReplicationGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeGlobalReplicationGroupsPaginator.ts index 03247f0e964b..059beab4dc8d 100644 --- a/clients/client-elasticache/pagination/DescribeGlobalReplicationGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeGlobalReplicationGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGlobalReplicationGroupsCommand(input, ...args)); + return await client.send(new DescribeGlobalReplicationGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeReplicationGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeReplicationGroupsPaginator.ts index eac8c9025200..1b6461b81154 100644 --- a/clients/client-elasticache/pagination/DescribeReplicationGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeReplicationGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReplicationGroupsCommand(input, ...args)); + return await client.send(new DescribeReplicationGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts b/clients/client-elasticache/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts index cad7840d5a48..2a1a97d33790 100644 --- a/clients/client-elasticache/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedCacheNodesOfferingsCommand(input, ...args)); + return await client.send(new DescribeReservedCacheNodesOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeReservedCacheNodesPaginator.ts b/clients/client-elasticache/pagination/DescribeReservedCacheNodesPaginator.ts index ef0fd7150cf6..1be4e9b0d247 100644 --- a/clients/client-elasticache/pagination/DescribeReservedCacheNodesPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeReservedCacheNodesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedCacheNodesCommand(input, ...args)); + return await client.send(new DescribeReservedCacheNodesCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeServiceUpdatesPaginator.ts b/clients/client-elasticache/pagination/DescribeServiceUpdatesPaginator.ts index 4963ad0ab113..83bd15b07f45 100644 --- a/clients/client-elasticache/pagination/DescribeServiceUpdatesPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeServiceUpdatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeServiceUpdatesCommand(input, ...args)); + return await client.send(new DescribeServiceUpdatesCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeSnapshotsPaginator.ts b/clients/client-elasticache/pagination/DescribeSnapshotsPaginator.ts index e83215c7cbc2..d79616375dc3 100644 --- a/clients/client-elasticache/pagination/DescribeSnapshotsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSnapshotsCommand(input, ...args)); + return await client.send(new DescribeSnapshotsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeUpdateActionsPaginator.ts b/clients/client-elasticache/pagination/DescribeUpdateActionsPaginator.ts index 360d91ce041d..a42ed7ea9af9 100644 --- a/clients/client-elasticache/pagination/DescribeUpdateActionsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeUpdateActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUpdateActionsCommand(input, ...args)); + return await client.send(new DescribeUpdateActionsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeUserGroupsPaginator.ts b/clients/client-elasticache/pagination/DescribeUserGroupsPaginator.ts index a85528182b61..c8f131161f6d 100644 --- a/clients/client-elasticache/pagination/DescribeUserGroupsPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeUserGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUserGroupsCommand(input, ...args)); + return await client.send(new DescribeUserGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticache/pagination/DescribeUsersPaginator.ts b/clients/client-elasticache/pagination/DescribeUsersPaginator.ts index caf445511687..ce355a93458f 100644 --- a/clients/client-elasticache/pagination/DescribeUsersPaginator.ts +++ b/clients/client-elasticache/pagination/DescribeUsersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUsersCommand(input, ...args)); + return await client.send(new DescribeUsersCommand(input), ...args); }; const makePagedRequest = async ( client: ElastiCache, diff --git a/clients/client-elasticsearch-service/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.ts index 531d25048f1b..a15af66d4578 100644 --- a/clients/client-elasticsearch-service/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInboundCrossClusterSearchConnectionsCommand(input, ...args)); + return await client.send(new DescribeInboundCrossClusterSearchConnectionsCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.ts index c9867b0aa3f1..04fb0a80e064 100644 --- a/clients/client-elasticsearch-service/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOutboundCrossClusterSearchConnectionsCommand(input, ...args)); + return await client.send(new DescribeOutboundCrossClusterSearchConnectionsCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/DescribePackagesPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribePackagesPaginator.ts index c2813c5679a9..324137f32910 100644 --- a/clients/client-elasticsearch-service/pagination/DescribePackagesPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribePackagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePackagesCommand(input, ...args)); + return await client.send(new DescribePackagesCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.ts index 7b15924b2d1e..5aa607d85d33 100644 --- a/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedElasticsearchInstanceOfferingsCommand(input, ...args)); + return await client.send(new DescribeReservedElasticsearchInstanceOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstancesPaginator.ts b/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstancesPaginator.ts index 70579b6e9e7b..b86eca935a8c 100644 --- a/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstancesPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/DescribeReservedElasticsearchInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedElasticsearchInstancesCommand(input, ...args)); + return await client.send(new DescribeReservedElasticsearchInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/GetPackageVersionHistoryPaginator.ts b/clients/client-elasticsearch-service/pagination/GetPackageVersionHistoryPaginator.ts index 35266c43bbd8..911c23162f50 100644 --- a/clients/client-elasticsearch-service/pagination/GetPackageVersionHistoryPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/GetPackageVersionHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetPackageVersionHistoryCommand(input, ...args)); + return await client.send(new GetPackageVersionHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/GetUpgradeHistoryPaginator.ts b/clients/client-elasticsearch-service/pagination/GetUpgradeHistoryPaginator.ts index 86059acabcb8..09c8ea869421 100644 --- a/clients/client-elasticsearch-service/pagination/GetUpgradeHistoryPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/GetUpgradeHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUpgradeHistoryCommand(input, ...args)); + return await client.send(new GetUpgradeHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/ListDomainsForPackagePaginator.ts b/clients/client-elasticsearch-service/pagination/ListDomainsForPackagePaginator.ts index f715ba55cac1..cd2fa373a0d8 100644 --- a/clients/client-elasticsearch-service/pagination/ListDomainsForPackagePaginator.ts +++ b/clients/client-elasticsearch-service/pagination/ListDomainsForPackagePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsForPackageCommand(input, ...args)); + return await client.send(new ListDomainsForPackageCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/ListElasticsearchInstanceTypesPaginator.ts b/clients/client-elasticsearch-service/pagination/ListElasticsearchInstanceTypesPaginator.ts index fdda45361183..44c9b71a6adf 100644 --- a/clients/client-elasticsearch-service/pagination/ListElasticsearchInstanceTypesPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/ListElasticsearchInstanceTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListElasticsearchInstanceTypesCommand(input, ...args)); + return await client.send(new ListElasticsearchInstanceTypesCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/ListElasticsearchVersionsPaginator.ts b/clients/client-elasticsearch-service/pagination/ListElasticsearchVersionsPaginator.ts index 0b70cf51041e..c5611935b024 100644 --- a/clients/client-elasticsearch-service/pagination/ListElasticsearchVersionsPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/ListElasticsearchVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListElasticsearchVersionsCommand(input, ...args)); + return await client.send(new ListElasticsearchVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-elasticsearch-service/pagination/ListPackagesForDomainPaginator.ts b/clients/client-elasticsearch-service/pagination/ListPackagesForDomainPaginator.ts index b276b66a3b82..2bc2f48726d4 100644 --- a/clients/client-elasticsearch-service/pagination/ListPackagesForDomainPaginator.ts +++ b/clients/client-elasticsearch-service/pagination/ListPackagesForDomainPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackagesForDomainCommand(input, ...args)); + return await client.send(new ListPackagesForDomainCommand(input), ...args); }; const makePagedRequest = async ( client: ElasticsearchService, diff --git a/clients/client-emr/pagination/ListBootstrapActionsPaginator.ts b/clients/client-emr/pagination/ListBootstrapActionsPaginator.ts index 05cf976224cd..13af6f340da8 100644 --- a/clients/client-emr/pagination/ListBootstrapActionsPaginator.ts +++ b/clients/client-emr/pagination/ListBootstrapActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBootstrapActionsCommand(input, ...args)); + return await client.send(new ListBootstrapActionsCommand(input), ...args); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListClustersPaginator.ts b/clients/client-emr/pagination/ListClustersPaginator.ts index d80da8e96d6d..2c30a4b41a11 100644 --- a/clients/client-emr/pagination/ListClustersPaginator.ts +++ b/clients/client-emr/pagination/ListClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClustersCommand(input, ...args)); + return await client.send(new ListClustersCommand(input), ...args); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListInstanceFleetsPaginator.ts b/clients/client-emr/pagination/ListInstanceFleetsPaginator.ts index 449543004136..4fb02dea1fb4 100644 --- a/clients/client-emr/pagination/ListInstanceFleetsPaginator.ts +++ b/clients/client-emr/pagination/ListInstanceFleetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstanceFleetsCommand(input, ...args)); + return await client.send(new ListInstanceFleetsCommand(input), ...args); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListInstanceGroupsPaginator.ts b/clients/client-emr/pagination/ListInstanceGroupsPaginator.ts index 634cf6753e09..3999a47baf86 100644 --- a/clients/client-emr/pagination/ListInstanceGroupsPaginator.ts +++ b/clients/client-emr/pagination/ListInstanceGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstanceGroupsCommand(input, ...args)); + return await client.send(new ListInstanceGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListInstancesPaginator.ts b/clients/client-emr/pagination/ListInstancesPaginator.ts index 580a8612e001..8938bd948699 100644 --- a/clients/client-emr/pagination/ListInstancesPaginator.ts +++ b/clients/client-emr/pagination/ListInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstancesCommand(input, ...args)); + return await client.send(new ListInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListNotebookExecutionsPaginator.ts b/clients/client-emr/pagination/ListNotebookExecutionsPaginator.ts index 0b790df8c1b9..d5df42fd835b 100644 --- a/clients/client-emr/pagination/ListNotebookExecutionsPaginator.ts +++ b/clients/client-emr/pagination/ListNotebookExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNotebookExecutionsCommand(input, ...args)); + return await client.send(new ListNotebookExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListSecurityConfigurationsPaginator.ts b/clients/client-emr/pagination/ListSecurityConfigurationsPaginator.ts index a08648268076..bd9496cc9bcc 100644 --- a/clients/client-emr/pagination/ListSecurityConfigurationsPaginator.ts +++ b/clients/client-emr/pagination/ListSecurityConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityConfigurationsCommand(input, ...args)); + return await client.send(new ListSecurityConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-emr/pagination/ListStepsPaginator.ts b/clients/client-emr/pagination/ListStepsPaginator.ts index 751e4e8e2ee4..db806160094e 100644 --- a/clients/client-emr/pagination/ListStepsPaginator.ts +++ b/clients/client-emr/pagination/ListStepsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStepsCommand(input, ...args)); + return await client.send(new ListStepsCommand(input), ...args); }; const makePagedRequest = async ( client: EMR, diff --git a/clients/client-fms/pagination/ListComplianceStatusPaginator.ts b/clients/client-fms/pagination/ListComplianceStatusPaginator.ts index 2b2b31e5d753..87fa267ac655 100644 --- a/clients/client-fms/pagination/ListComplianceStatusPaginator.ts +++ b/clients/client-fms/pagination/ListComplianceStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComplianceStatusCommand(input, ...args)); + return await client.send(new ListComplianceStatusCommand(input), ...args); }; const makePagedRequest = async ( client: FMS, diff --git a/clients/client-fms/pagination/ListMemberAccountsPaginator.ts b/clients/client-fms/pagination/ListMemberAccountsPaginator.ts index f5a3ed7d79bd..e797d218e707 100644 --- a/clients/client-fms/pagination/ListMemberAccountsPaginator.ts +++ b/clients/client-fms/pagination/ListMemberAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMemberAccountsCommand(input, ...args)); + return await client.send(new ListMemberAccountsCommand(input), ...args); }; const makePagedRequest = async ( client: FMS, diff --git a/clients/client-fms/pagination/ListPoliciesPaginator.ts b/clients/client-fms/pagination/ListPoliciesPaginator.ts index b732038dee1c..2a5439c6b1d2 100644 --- a/clients/client-fms/pagination/ListPoliciesPaginator.ts +++ b/clients/client-fms/pagination/ListPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesCommand(input, ...args)); + return await client.send(new ListPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: FMS, diff --git a/clients/client-forecast/pagination/ListDatasetGroupsPaginator.ts b/clients/client-forecast/pagination/ListDatasetGroupsPaginator.ts index b3ab4e1f49e0..2bade7f4e9fc 100644 --- a/clients/client-forecast/pagination/ListDatasetGroupsPaginator.ts +++ b/clients/client-forecast/pagination/ListDatasetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetGroupsCommand(input, ...args)); + return await client.send(new ListDatasetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListDatasetImportJobsPaginator.ts b/clients/client-forecast/pagination/ListDatasetImportJobsPaginator.ts index 8694b34c34f8..a53da6ae9958 100644 --- a/clients/client-forecast/pagination/ListDatasetImportJobsPaginator.ts +++ b/clients/client-forecast/pagination/ListDatasetImportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetImportJobsCommand(input, ...args)); + return await client.send(new ListDatasetImportJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListDatasetsPaginator.ts b/clients/client-forecast/pagination/ListDatasetsPaginator.ts index ddaec14f40c3..79e675e9acbb 100644 --- a/clients/client-forecast/pagination/ListDatasetsPaginator.ts +++ b/clients/client-forecast/pagination/ListDatasetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetsCommand(input, ...args)); + return await client.send(new ListDatasetsCommand(input), ...args); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListForecastExportJobsPaginator.ts b/clients/client-forecast/pagination/ListForecastExportJobsPaginator.ts index 514cbc47eb19..a1edf1ac1e2b 100644 --- a/clients/client-forecast/pagination/ListForecastExportJobsPaginator.ts +++ b/clients/client-forecast/pagination/ListForecastExportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListForecastExportJobsCommand(input, ...args)); + return await client.send(new ListForecastExportJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListForecastsPaginator.ts b/clients/client-forecast/pagination/ListForecastsPaginator.ts index bf666805ebf2..d6df656345ab 100644 --- a/clients/client-forecast/pagination/ListForecastsPaginator.ts +++ b/clients/client-forecast/pagination/ListForecastsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListForecastsCommand(input, ...args)); + return await client.send(new ListForecastsCommand(input), ...args); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-forecast/pagination/ListPredictorsPaginator.ts b/clients/client-forecast/pagination/ListPredictorsPaginator.ts index 14fa7989326f..a0fcdaf1b5bb 100644 --- a/clients/client-forecast/pagination/ListPredictorsPaginator.ts +++ b/clients/client-forecast/pagination/ListPredictorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPredictorsCommand(input, ...args)); + return await client.send(new ListPredictorsCommand(input), ...args); }; const makePagedRequest = async ( client: Forecast, diff --git a/clients/client-frauddetector/pagination/DescribeModelVersionsPaginator.ts b/clients/client-frauddetector/pagination/DescribeModelVersionsPaginator.ts index ba7fc87b1e18..1476ac62e012 100644 --- a/clients/client-frauddetector/pagination/DescribeModelVersionsPaginator.ts +++ b/clients/client-frauddetector/pagination/DescribeModelVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeModelVersionsCommand(input, ...args)); + return await client.send(new DescribeModelVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetDetectorsPaginator.ts b/clients/client-frauddetector/pagination/GetDetectorsPaginator.ts index ec4f374b1203..1c2c0330edf0 100644 --- a/clients/client-frauddetector/pagination/GetDetectorsPaginator.ts +++ b/clients/client-frauddetector/pagination/GetDetectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDetectorsCommand(input, ...args)); + return await client.send(new GetDetectorsCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetEntityTypesPaginator.ts b/clients/client-frauddetector/pagination/GetEntityTypesPaginator.ts index 67abdacac833..44ce8d949f98 100644 --- a/clients/client-frauddetector/pagination/GetEntityTypesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetEntityTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetEntityTypesCommand(input, ...args)); + return await client.send(new GetEntityTypesCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetEventTypesPaginator.ts b/clients/client-frauddetector/pagination/GetEventTypesPaginator.ts index 34ec778a5166..ee482fae45f3 100644 --- a/clients/client-frauddetector/pagination/GetEventTypesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetEventTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetEventTypesCommand(input, ...args)); + return await client.send(new GetEventTypesCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetExternalModelsPaginator.ts b/clients/client-frauddetector/pagination/GetExternalModelsPaginator.ts index 50089b32d42c..2cd1643a2939 100644 --- a/clients/client-frauddetector/pagination/GetExternalModelsPaginator.ts +++ b/clients/client-frauddetector/pagination/GetExternalModelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetExternalModelsCommand(input, ...args)); + return await client.send(new GetExternalModelsCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetLabelsPaginator.ts b/clients/client-frauddetector/pagination/GetLabelsPaginator.ts index 78abad957b3b..0d9af1249205 100644 --- a/clients/client-frauddetector/pagination/GetLabelsPaginator.ts +++ b/clients/client-frauddetector/pagination/GetLabelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLabelsCommand(input, ...args)); + return await client.send(new GetLabelsCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetModelsPaginator.ts b/clients/client-frauddetector/pagination/GetModelsPaginator.ts index 25a83583396a..1ebca44fd90b 100644 --- a/clients/client-frauddetector/pagination/GetModelsPaginator.ts +++ b/clients/client-frauddetector/pagination/GetModelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetModelsCommand(input, ...args)); + return await client.send(new GetModelsCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetOutcomesPaginator.ts b/clients/client-frauddetector/pagination/GetOutcomesPaginator.ts index 22d9d48928ac..a7d19f50da5d 100644 --- a/clients/client-frauddetector/pagination/GetOutcomesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetOutcomesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetOutcomesCommand(input, ...args)); + return await client.send(new GetOutcomesCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetRulesPaginator.ts b/clients/client-frauddetector/pagination/GetRulesPaginator.ts index df8b4d4470bc..35294280cba4 100644 --- a/clients/client-frauddetector/pagination/GetRulesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetRulesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetRulesCommand(input, ...args)); + return await client.send(new GetRulesCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/GetVariablesPaginator.ts b/clients/client-frauddetector/pagination/GetVariablesPaginator.ts index 239f59c24f6c..0cc4000066d5 100644 --- a/clients/client-frauddetector/pagination/GetVariablesPaginator.ts +++ b/clients/client-frauddetector/pagination/GetVariablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetVariablesCommand(input, ...args)); + return await client.send(new GetVariablesCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-frauddetector/pagination/ListTagsForResourcePaginator.ts b/clients/client-frauddetector/pagination/ListTagsForResourcePaginator.ts index 22b004259e6b..c62a86f966e0 100644 --- a/clients/client-frauddetector/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-frauddetector/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: FraudDetector, diff --git a/clients/client-fsx/pagination/DescribeBackupsPaginator.ts b/clients/client-fsx/pagination/DescribeBackupsPaginator.ts index bc79002e8599..ba46335c8871 100644 --- a/clients/client-fsx/pagination/DescribeBackupsPaginator.ts +++ b/clients/client-fsx/pagination/DescribeBackupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBackupsCommand(input, ...args)); + return await client.send(new DescribeBackupsCommand(input), ...args); }; const makePagedRequest = async ( client: FSx, diff --git a/clients/client-fsx/pagination/DescribeDataRepositoryTasksPaginator.ts b/clients/client-fsx/pagination/DescribeDataRepositoryTasksPaginator.ts index 85fa8c9f004b..060c2a76f695 100644 --- a/clients/client-fsx/pagination/DescribeDataRepositoryTasksPaginator.ts +++ b/clients/client-fsx/pagination/DescribeDataRepositoryTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDataRepositoryTasksCommand(input, ...args)); + return await client.send(new DescribeDataRepositoryTasksCommand(input), ...args); }; const makePagedRequest = async ( client: FSx, diff --git a/clients/client-fsx/pagination/DescribeFileSystemAliasesPaginator.ts b/clients/client-fsx/pagination/DescribeFileSystemAliasesPaginator.ts index d1abedc63ef7..dead880c78bb 100644 --- a/clients/client-fsx/pagination/DescribeFileSystemAliasesPaginator.ts +++ b/clients/client-fsx/pagination/DescribeFileSystemAliasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFileSystemAliasesCommand(input, ...args)); + return await client.send(new DescribeFileSystemAliasesCommand(input), ...args); }; const makePagedRequest = async ( client: FSx, diff --git a/clients/client-fsx/pagination/DescribeFileSystemsPaginator.ts b/clients/client-fsx/pagination/DescribeFileSystemsPaginator.ts index 832f61b100ed..55018ed345fc 100644 --- a/clients/client-fsx/pagination/DescribeFileSystemsPaginator.ts +++ b/clients/client-fsx/pagination/DescribeFileSystemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFileSystemsCommand(input, ...args)); + return await client.send(new DescribeFileSystemsCommand(input), ...args); }; const makePagedRequest = async ( client: FSx, diff --git a/clients/client-gamelift/pagination/DescribeFleetAttributesPaginator.ts b/clients/client-gamelift/pagination/DescribeFleetAttributesPaginator.ts index 39bae8c654a2..c1e36da1e6bf 100644 --- a/clients/client-gamelift/pagination/DescribeFleetAttributesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeFleetAttributesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetAttributesCommand(input, ...args)); + return await client.send(new DescribeFleetAttributesCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeFleetCapacityPaginator.ts b/clients/client-gamelift/pagination/DescribeFleetCapacityPaginator.ts index 2c90e8220dbe..5d5776d83cd8 100644 --- a/clients/client-gamelift/pagination/DescribeFleetCapacityPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeFleetCapacityPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetCapacityCommand(input, ...args)); + return await client.send(new DescribeFleetCapacityCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeFleetEventsPaginator.ts b/clients/client-gamelift/pagination/DescribeFleetEventsPaginator.ts index e7923cfbbe2e..71ed81a1bafc 100644 --- a/clients/client-gamelift/pagination/DescribeFleetEventsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeFleetEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetEventsCommand(input, ...args)); + return await client.send(new DescribeFleetEventsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeFleetUtilizationPaginator.ts b/clients/client-gamelift/pagination/DescribeFleetUtilizationPaginator.ts index 125e43f9e3ff..8e3a3cb07e69 100644 --- a/clients/client-gamelift/pagination/DescribeFleetUtilizationPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeFleetUtilizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFleetUtilizationCommand(input, ...args)); + return await client.send(new DescribeFleetUtilizationCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeGameServerInstancesPaginator.ts b/clients/client-gamelift/pagination/DescribeGameServerInstancesPaginator.ts index 33fe95900608..3f4b0be4edd0 100644 --- a/clients/client-gamelift/pagination/DescribeGameServerInstancesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeGameServerInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGameServerInstancesCommand(input, ...args)); + return await client.send(new DescribeGameServerInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeGameSessionDetailsPaginator.ts b/clients/client-gamelift/pagination/DescribeGameSessionDetailsPaginator.ts index 4fb7468c062d..e6dfbdc4f86e 100644 --- a/clients/client-gamelift/pagination/DescribeGameSessionDetailsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeGameSessionDetailsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGameSessionDetailsCommand(input, ...args)); + return await client.send(new DescribeGameSessionDetailsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeGameSessionQueuesPaginator.ts b/clients/client-gamelift/pagination/DescribeGameSessionQueuesPaginator.ts index a98d49ad1839..346323a4609b 100644 --- a/clients/client-gamelift/pagination/DescribeGameSessionQueuesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeGameSessionQueuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGameSessionQueuesCommand(input, ...args)); + return await client.send(new DescribeGameSessionQueuesCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeGameSessionsPaginator.ts b/clients/client-gamelift/pagination/DescribeGameSessionsPaginator.ts index e4ab76575564..3d95a978e231 100644 --- a/clients/client-gamelift/pagination/DescribeGameSessionsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeGameSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGameSessionsCommand(input, ...args)); + return await client.send(new DescribeGameSessionsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeInstancesPaginator.ts b/clients/client-gamelift/pagination/DescribeInstancesPaginator.ts index fc1e61d23c6e..2e1f05532acb 100644 --- a/clients/client-gamelift/pagination/DescribeInstancesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancesCommand(input, ...args)); + return await client.send(new DescribeInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeMatchmakingConfigurationsPaginator.ts b/clients/client-gamelift/pagination/DescribeMatchmakingConfigurationsPaginator.ts index a5721c22855b..3fcd25f6a6a5 100644 --- a/clients/client-gamelift/pagination/DescribeMatchmakingConfigurationsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeMatchmakingConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMatchmakingConfigurationsCommand(input, ...args)); + return await client.send(new DescribeMatchmakingConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeMatchmakingRuleSetsPaginator.ts b/clients/client-gamelift/pagination/DescribeMatchmakingRuleSetsPaginator.ts index 0a3a6748024f..4d7e60eb2200 100644 --- a/clients/client-gamelift/pagination/DescribeMatchmakingRuleSetsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeMatchmakingRuleSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMatchmakingRuleSetsCommand(input, ...args)); + return await client.send(new DescribeMatchmakingRuleSetsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribePlayerSessionsPaginator.ts b/clients/client-gamelift/pagination/DescribePlayerSessionsPaginator.ts index 28921c8f944b..37ed11692aec 100644 --- a/clients/client-gamelift/pagination/DescribePlayerSessionsPaginator.ts +++ b/clients/client-gamelift/pagination/DescribePlayerSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePlayerSessionsCommand(input, ...args)); + return await client.send(new DescribePlayerSessionsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/DescribeScalingPoliciesPaginator.ts b/clients/client-gamelift/pagination/DescribeScalingPoliciesPaginator.ts index 3f2b421fb586..0acbeff14708 100644 --- a/clients/client-gamelift/pagination/DescribeScalingPoliciesPaginator.ts +++ b/clients/client-gamelift/pagination/DescribeScalingPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScalingPoliciesCommand(input, ...args)); + return await client.send(new DescribeScalingPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListAliasesPaginator.ts b/clients/client-gamelift/pagination/ListAliasesPaginator.ts index cee8a210644b..2f7ef2ee1a02 100644 --- a/clients/client-gamelift/pagination/ListAliasesPaginator.ts +++ b/clients/client-gamelift/pagination/ListAliasesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAliasesCommand(input, ...args)); + return await client.send(new ListAliasesCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListBuildsPaginator.ts b/clients/client-gamelift/pagination/ListBuildsPaginator.ts index 7bd4f8e4297c..5c07baf04b17 100644 --- a/clients/client-gamelift/pagination/ListBuildsPaginator.ts +++ b/clients/client-gamelift/pagination/ListBuildsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBuildsCommand(input, ...args)); + return await client.send(new ListBuildsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListFleetsPaginator.ts b/clients/client-gamelift/pagination/ListFleetsPaginator.ts index 49d6d2a9a63b..5677055375ca 100644 --- a/clients/client-gamelift/pagination/ListFleetsPaginator.ts +++ b/clients/client-gamelift/pagination/ListFleetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFleetsCommand(input, ...args)); + return await client.send(new ListFleetsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListGameServerGroupsPaginator.ts b/clients/client-gamelift/pagination/ListGameServerGroupsPaginator.ts index 93a61313f32a..731ed9af8f08 100644 --- a/clients/client-gamelift/pagination/ListGameServerGroupsPaginator.ts +++ b/clients/client-gamelift/pagination/ListGameServerGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGameServerGroupsCommand(input, ...args)); + return await client.send(new ListGameServerGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListGameServersPaginator.ts b/clients/client-gamelift/pagination/ListGameServersPaginator.ts index b3b5848d16d5..cf8d748e2850 100644 --- a/clients/client-gamelift/pagination/ListGameServersPaginator.ts +++ b/clients/client-gamelift/pagination/ListGameServersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGameServersCommand(input, ...args)); + return await client.send(new ListGameServersCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/ListScriptsPaginator.ts b/clients/client-gamelift/pagination/ListScriptsPaginator.ts index bfee681aee09..cd7635d46d78 100644 --- a/clients/client-gamelift/pagination/ListScriptsPaginator.ts +++ b/clients/client-gamelift/pagination/ListScriptsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListScriptsCommand(input, ...args)); + return await client.send(new ListScriptsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-gamelift/pagination/SearchGameSessionsPaginator.ts b/clients/client-gamelift/pagination/SearchGameSessionsPaginator.ts index 47b12a567d4c..494239d101b7 100644 --- a/clients/client-gamelift/pagination/SearchGameSessionsPaginator.ts +++ b/clients/client-gamelift/pagination/SearchGameSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchGameSessionsCommand(input, ...args)); + return await client.send(new SearchGameSessionsCommand(input), ...args); }; const makePagedRequest = async ( client: GameLift, diff --git a/clients/client-glue/pagination/GetClassifiersPaginator.ts b/clients/client-glue/pagination/GetClassifiersPaginator.ts index bb6099e29c2b..9c9fbe13c538 100644 --- a/clients/client-glue/pagination/GetClassifiersPaginator.ts +++ b/clients/client-glue/pagination/GetClassifiersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetClassifiersCommand(input, ...args)); + return await client.send(new GetClassifiersCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetConnectionsPaginator.ts b/clients/client-glue/pagination/GetConnectionsPaginator.ts index 8e0f76ca1a47..48f539ec6ff2 100644 --- a/clients/client-glue/pagination/GetConnectionsPaginator.ts +++ b/clients/client-glue/pagination/GetConnectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetConnectionsCommand(input, ...args)); + return await client.send(new GetConnectionsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetCrawlerMetricsPaginator.ts b/clients/client-glue/pagination/GetCrawlerMetricsPaginator.ts index 102ee5bff2a6..b3c8c56b5ae8 100644 --- a/clients/client-glue/pagination/GetCrawlerMetricsPaginator.ts +++ b/clients/client-glue/pagination/GetCrawlerMetricsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCrawlerMetricsCommand(input, ...args)); + return await client.send(new GetCrawlerMetricsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetCrawlersPaginator.ts b/clients/client-glue/pagination/GetCrawlersPaginator.ts index 59ded1a6f1fa..09999d40c469 100644 --- a/clients/client-glue/pagination/GetCrawlersPaginator.ts +++ b/clients/client-glue/pagination/GetCrawlersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCrawlersCommand(input, ...args)); + return await client.send(new GetCrawlersCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetDatabasesPaginator.ts b/clients/client-glue/pagination/GetDatabasesPaginator.ts index bce9d330fed7..a6d3a39ea2f4 100644 --- a/clients/client-glue/pagination/GetDatabasesPaginator.ts +++ b/clients/client-glue/pagination/GetDatabasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDatabasesCommand(input, ...args)); + return await client.send(new GetDatabasesCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetDevEndpointsPaginator.ts b/clients/client-glue/pagination/GetDevEndpointsPaginator.ts index 4ee867bf4f9c..483d861f426b 100644 --- a/clients/client-glue/pagination/GetDevEndpointsPaginator.ts +++ b/clients/client-glue/pagination/GetDevEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDevEndpointsCommand(input, ...args)); + return await client.send(new GetDevEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetJobRunsPaginator.ts b/clients/client-glue/pagination/GetJobRunsPaginator.ts index d306a0af3141..9dba5f19b323 100644 --- a/clients/client-glue/pagination/GetJobRunsPaginator.ts +++ b/clients/client-glue/pagination/GetJobRunsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetJobRunsCommand(input, ...args)); + return await client.send(new GetJobRunsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetJobsPaginator.ts b/clients/client-glue/pagination/GetJobsPaginator.ts index 260de79fea86..e5720729db4d 100644 --- a/clients/client-glue/pagination/GetJobsPaginator.ts +++ b/clients/client-glue/pagination/GetJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetJobsCommand(input, ...args)); + return await client.send(new GetJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetMLTaskRunsPaginator.ts b/clients/client-glue/pagination/GetMLTaskRunsPaginator.ts index 4dd915286773..1953349814b3 100644 --- a/clients/client-glue/pagination/GetMLTaskRunsPaginator.ts +++ b/clients/client-glue/pagination/GetMLTaskRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMLTaskRunsCommand(input, ...args)); + return await client.send(new GetMLTaskRunsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetMLTransformsPaginator.ts b/clients/client-glue/pagination/GetMLTransformsPaginator.ts index a1ff00b93276..6bca154d384c 100644 --- a/clients/client-glue/pagination/GetMLTransformsPaginator.ts +++ b/clients/client-glue/pagination/GetMLTransformsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetMLTransformsCommand(input, ...args)); + return await client.send(new GetMLTransformsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetPartitionIndexesPaginator.ts b/clients/client-glue/pagination/GetPartitionIndexesPaginator.ts index 4e58b8a90ae4..544e6858eaa4 100644 --- a/clients/client-glue/pagination/GetPartitionIndexesPaginator.ts +++ b/clients/client-glue/pagination/GetPartitionIndexesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetPartitionIndexesCommand(input, ...args)); + return await client.send(new GetPartitionIndexesCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetPartitionsPaginator.ts b/clients/client-glue/pagination/GetPartitionsPaginator.ts index 6b0d7a1b43b3..61d6d0d0b422 100644 --- a/clients/client-glue/pagination/GetPartitionsPaginator.ts +++ b/clients/client-glue/pagination/GetPartitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetPartitionsCommand(input, ...args)); + return await client.send(new GetPartitionsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetSecurityConfigurationsPaginator.ts b/clients/client-glue/pagination/GetSecurityConfigurationsPaginator.ts index 4d004efe46f8..23f907a906e6 100644 --- a/clients/client-glue/pagination/GetSecurityConfigurationsPaginator.ts +++ b/clients/client-glue/pagination/GetSecurityConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSecurityConfigurationsCommand(input, ...args)); + return await client.send(new GetSecurityConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetTableVersionsPaginator.ts b/clients/client-glue/pagination/GetTableVersionsPaginator.ts index b652785c3e52..d2502c95982f 100644 --- a/clients/client-glue/pagination/GetTableVersionsPaginator.ts +++ b/clients/client-glue/pagination/GetTableVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTableVersionsCommand(input, ...args)); + return await client.send(new GetTableVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetTablesPaginator.ts b/clients/client-glue/pagination/GetTablesPaginator.ts index 782449f02f57..c1892b46c57b 100644 --- a/clients/client-glue/pagination/GetTablesPaginator.ts +++ b/clients/client-glue/pagination/GetTablesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTablesCommand(input, ...args)); + return await client.send(new GetTablesCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetTriggersPaginator.ts b/clients/client-glue/pagination/GetTriggersPaginator.ts index e19516a64570..1ee8a76ba698 100644 --- a/clients/client-glue/pagination/GetTriggersPaginator.ts +++ b/clients/client-glue/pagination/GetTriggersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTriggersCommand(input, ...args)); + return await client.send(new GetTriggersCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetUserDefinedFunctionsPaginator.ts b/clients/client-glue/pagination/GetUserDefinedFunctionsPaginator.ts index 3a5fe9aa0d59..cb5253e129c1 100644 --- a/clients/client-glue/pagination/GetUserDefinedFunctionsPaginator.ts +++ b/clients/client-glue/pagination/GetUserDefinedFunctionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUserDefinedFunctionsCommand(input, ...args)); + return await client.send(new GetUserDefinedFunctionsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/GetWorkflowRunsPaginator.ts b/clients/client-glue/pagination/GetWorkflowRunsPaginator.ts index ecf465d04f00..f1b07f77060f 100644 --- a/clients/client-glue/pagination/GetWorkflowRunsPaginator.ts +++ b/clients/client-glue/pagination/GetWorkflowRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetWorkflowRunsCommand(input, ...args)); + return await client.send(new GetWorkflowRunsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListCrawlersPaginator.ts b/clients/client-glue/pagination/ListCrawlersPaginator.ts index a2f4af431ae8..c1001e679dcf 100644 --- a/clients/client-glue/pagination/ListCrawlersPaginator.ts +++ b/clients/client-glue/pagination/ListCrawlersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCrawlersCommand(input, ...args)); + return await client.send(new ListCrawlersCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListDevEndpointsPaginator.ts b/clients/client-glue/pagination/ListDevEndpointsPaginator.ts index b171ecc4a363..2685e893cf58 100644 --- a/clients/client-glue/pagination/ListDevEndpointsPaginator.ts +++ b/clients/client-glue/pagination/ListDevEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevEndpointsCommand(input, ...args)); + return await client.send(new ListDevEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListJobsPaginator.ts b/clients/client-glue/pagination/ListJobsPaginator.ts index 0e84110b56b9..8f9f1a9369e1 100644 --- a/clients/client-glue/pagination/ListJobsPaginator.ts +++ b/clients/client-glue/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input, ...args)); + return await client.send(new ListJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListMLTransformsPaginator.ts b/clients/client-glue/pagination/ListMLTransformsPaginator.ts index bf16bb16fc3b..a364d807676d 100644 --- a/clients/client-glue/pagination/ListMLTransformsPaginator.ts +++ b/clients/client-glue/pagination/ListMLTransformsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMLTransformsCommand(input, ...args)); + return await client.send(new ListMLTransformsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListTriggersPaginator.ts b/clients/client-glue/pagination/ListTriggersPaginator.ts index 8cb6caa21bf8..aad82b88e13f 100644 --- a/clients/client-glue/pagination/ListTriggersPaginator.ts +++ b/clients/client-glue/pagination/ListTriggersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTriggersCommand(input, ...args)); + return await client.send(new ListTriggersCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/ListWorkflowsPaginator.ts b/clients/client-glue/pagination/ListWorkflowsPaginator.ts index 94b30f37b555..111706faa411 100644 --- a/clients/client-glue/pagination/ListWorkflowsPaginator.ts +++ b/clients/client-glue/pagination/ListWorkflowsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkflowsCommand(input, ...args)); + return await client.send(new ListWorkflowsCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-glue/pagination/SearchTablesPaginator.ts b/clients/client-glue/pagination/SearchTablesPaginator.ts index 35f956dd7384..8790750bbd13 100644 --- a/clients/client-glue/pagination/SearchTablesPaginator.ts +++ b/clients/client-glue/pagination/SearchTablesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchTablesCommand(input, ...args)); + return await client.send(new SearchTablesCommand(input), ...args); }; const makePagedRequest = async ( client: Glue, diff --git a/clients/client-groundstation/pagination/ListConfigsPaginator.ts b/clients/client-groundstation/pagination/ListConfigsPaginator.ts index 1d373715a08e..4c33bbce5d3f 100644 --- a/clients/client-groundstation/pagination/ListConfigsPaginator.ts +++ b/clients/client-groundstation/pagination/ListConfigsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigsCommand(input, ...args)); + return await client.send(new ListConfigsCommand(input), ...args); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListContactsPaginator.ts b/clients/client-groundstation/pagination/ListContactsPaginator.ts index 5dba07bef221..2ed00c72a441 100644 --- a/clients/client-groundstation/pagination/ListContactsPaginator.ts +++ b/clients/client-groundstation/pagination/ListContactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContactsCommand(input, ...args)); + return await client.send(new ListContactsCommand(input), ...args); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListDataflowEndpointGroupsPaginator.ts b/clients/client-groundstation/pagination/ListDataflowEndpointGroupsPaginator.ts index ee422ab9c4a7..e48cd04bacb7 100644 --- a/clients/client-groundstation/pagination/ListDataflowEndpointGroupsPaginator.ts +++ b/clients/client-groundstation/pagination/ListDataflowEndpointGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataflowEndpointGroupsCommand(input, ...args)); + return await client.send(new ListDataflowEndpointGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListGroundStationsPaginator.ts b/clients/client-groundstation/pagination/ListGroundStationsPaginator.ts index ce158bfaad9c..f3bab063846c 100644 --- a/clients/client-groundstation/pagination/ListGroundStationsPaginator.ts +++ b/clients/client-groundstation/pagination/ListGroundStationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroundStationsCommand(input, ...args)); + return await client.send(new ListGroundStationsCommand(input), ...args); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListMissionProfilesPaginator.ts b/clients/client-groundstation/pagination/ListMissionProfilesPaginator.ts index 243d38c65ce6..7207df6870bb 100644 --- a/clients/client-groundstation/pagination/ListMissionProfilesPaginator.ts +++ b/clients/client-groundstation/pagination/ListMissionProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMissionProfilesCommand(input, ...args)); + return await client.send(new ListMissionProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-groundstation/pagination/ListSatellitesPaginator.ts b/clients/client-groundstation/pagination/ListSatellitesPaginator.ts index afccb71627b5..8d1029491f5d 100644 --- a/clients/client-groundstation/pagination/ListSatellitesPaginator.ts +++ b/clients/client-groundstation/pagination/ListSatellitesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSatellitesCommand(input, ...args)); + return await client.send(new ListSatellitesCommand(input), ...args); }; const makePagedRequest = async ( client: GroundStation, diff --git a/clients/client-guardduty/pagination/GetUsageStatisticsPaginator.ts b/clients/client-guardduty/pagination/GetUsageStatisticsPaginator.ts index ce0612bb1cef..b01e22745413 100644 --- a/clients/client-guardduty/pagination/GetUsageStatisticsPaginator.ts +++ b/clients/client-guardduty/pagination/GetUsageStatisticsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsageStatisticsCommand(input, ...args)); + return await client.send(new GetUsageStatisticsCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListDetectorsPaginator.ts b/clients/client-guardduty/pagination/ListDetectorsPaginator.ts index 5ec5d968f517..f3582169c14a 100644 --- a/clients/client-guardduty/pagination/ListDetectorsPaginator.ts +++ b/clients/client-guardduty/pagination/ListDetectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDetectorsCommand(input, ...args)); + return await client.send(new ListDetectorsCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListFiltersPaginator.ts b/clients/client-guardduty/pagination/ListFiltersPaginator.ts index 942a1330bdbf..4938266e7c6a 100644 --- a/clients/client-guardduty/pagination/ListFiltersPaginator.ts +++ b/clients/client-guardduty/pagination/ListFiltersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFiltersCommand(input, ...args)); + return await client.send(new ListFiltersCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListFindingsPaginator.ts b/clients/client-guardduty/pagination/ListFindingsPaginator.ts index 96c5fad28b7f..536a1da8bbe0 100644 --- a/clients/client-guardduty/pagination/ListFindingsPaginator.ts +++ b/clients/client-guardduty/pagination/ListFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsCommand(input, ...args)); + return await client.send(new ListFindingsCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListIPSetsPaginator.ts b/clients/client-guardduty/pagination/ListIPSetsPaginator.ts index b82c0e642371..1e3c4781f6cf 100644 --- a/clients/client-guardduty/pagination/ListIPSetsPaginator.ts +++ b/clients/client-guardduty/pagination/ListIPSetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIPSetsCommand(input, ...args)); + return await client.send(new ListIPSetsCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListInvitationsPaginator.ts b/clients/client-guardduty/pagination/ListInvitationsPaginator.ts index 35931447808b..3490d8e2d293 100644 --- a/clients/client-guardduty/pagination/ListInvitationsPaginator.ts +++ b/clients/client-guardduty/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input, ...args)); + return await client.send(new ListInvitationsCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListMembersPaginator.ts b/clients/client-guardduty/pagination/ListMembersPaginator.ts index a4525eb43734..ea12e8dcc271 100644 --- a/clients/client-guardduty/pagination/ListMembersPaginator.ts +++ b/clients/client-guardduty/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input, ...args)); + return await client.send(new ListMembersCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListOrganizationAdminAccountsPaginator.ts b/clients/client-guardduty/pagination/ListOrganizationAdminAccountsPaginator.ts index 91cf87c851ec..5595b13d1e75 100644 --- a/clients/client-guardduty/pagination/ListOrganizationAdminAccountsPaginator.ts +++ b/clients/client-guardduty/pagination/ListOrganizationAdminAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationAdminAccountsCommand(input, ...args)); + return await client.send(new ListOrganizationAdminAccountsCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListPublishingDestinationsPaginator.ts b/clients/client-guardduty/pagination/ListPublishingDestinationsPaginator.ts index 1f5d0aa2d030..d6e5f42f8236 100644 --- a/clients/client-guardduty/pagination/ListPublishingDestinationsPaginator.ts +++ b/clients/client-guardduty/pagination/ListPublishingDestinationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPublishingDestinationsCommand(input, ...args)); + return await client.send(new ListPublishingDestinationsCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-guardduty/pagination/ListThreatIntelSetsPaginator.ts b/clients/client-guardduty/pagination/ListThreatIntelSetsPaginator.ts index 127c542c6f9b..5c0319352976 100644 --- a/clients/client-guardduty/pagination/ListThreatIntelSetsPaginator.ts +++ b/clients/client-guardduty/pagination/ListThreatIntelSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThreatIntelSetsCommand(input, ...args)); + return await client.send(new ListThreatIntelSetsCommand(input), ...args); }; const makePagedRequest = async ( client: GuardDuty, diff --git a/clients/client-health/pagination/DescribeAffectedAccountsForOrganizationPaginator.ts b/clients/client-health/pagination/DescribeAffectedAccountsForOrganizationPaginator.ts index 63eecdc82bb4..1b356d960f64 100644 --- a/clients/client-health/pagination/DescribeAffectedAccountsForOrganizationPaginator.ts +++ b/clients/client-health/pagination/DescribeAffectedAccountsForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAffectedAccountsForOrganizationCommand(input, ...args)); + return await client.send(new DescribeAffectedAccountsForOrganizationCommand(input), ...args); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeAffectedEntitiesForOrganizationPaginator.ts b/clients/client-health/pagination/DescribeAffectedEntitiesForOrganizationPaginator.ts index 29c114ff6e6a..0be3045c0020 100644 --- a/clients/client-health/pagination/DescribeAffectedEntitiesForOrganizationPaginator.ts +++ b/clients/client-health/pagination/DescribeAffectedEntitiesForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAffectedEntitiesForOrganizationCommand(input, ...args)); + return await client.send(new DescribeAffectedEntitiesForOrganizationCommand(input), ...args); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeAffectedEntitiesPaginator.ts b/clients/client-health/pagination/DescribeAffectedEntitiesPaginator.ts index 7e272be5bdd3..fa836fb57061 100644 --- a/clients/client-health/pagination/DescribeAffectedEntitiesPaginator.ts +++ b/clients/client-health/pagination/DescribeAffectedEntitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAffectedEntitiesCommand(input, ...args)); + return await client.send(new DescribeAffectedEntitiesCommand(input), ...args); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeEventAggregatesPaginator.ts b/clients/client-health/pagination/DescribeEventAggregatesPaginator.ts index baa5e64237f3..73fb8a57dcb1 100644 --- a/clients/client-health/pagination/DescribeEventAggregatesPaginator.ts +++ b/clients/client-health/pagination/DescribeEventAggregatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventAggregatesCommand(input, ...args)); + return await client.send(new DescribeEventAggregatesCommand(input), ...args); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeEventTypesPaginator.ts b/clients/client-health/pagination/DescribeEventTypesPaginator.ts index 15c3f300c688..f8b510b2091d 100644 --- a/clients/client-health/pagination/DescribeEventTypesPaginator.ts +++ b/clients/client-health/pagination/DescribeEventTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventTypesCommand(input, ...args)); + return await client.send(new DescribeEventTypesCommand(input), ...args); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeEventsForOrganizationPaginator.ts b/clients/client-health/pagination/DescribeEventsForOrganizationPaginator.ts index 3f4aea527f39..09d7e9091c34 100644 --- a/clients/client-health/pagination/DescribeEventsForOrganizationPaginator.ts +++ b/clients/client-health/pagination/DescribeEventsForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsForOrganizationCommand(input, ...args)); + return await client.send(new DescribeEventsForOrganizationCommand(input), ...args); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-health/pagination/DescribeEventsPaginator.ts b/clients/client-health/pagination/DescribeEventsPaginator.ts index d0213b91a9c4..9976d4db770d 100644 --- a/clients/client-health/pagination/DescribeEventsPaginator.ts +++ b/clients/client-health/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input, ...args)); + return await client.send(new DescribeEventsCommand(input), ...args); }; const makePagedRequest = async ( client: Health, diff --git a/clients/client-iam/pagination/GetAccountAuthorizationDetailsPaginator.ts b/clients/client-iam/pagination/GetAccountAuthorizationDetailsPaginator.ts index 8b3359226887..205d38656a82 100644 --- a/clients/client-iam/pagination/GetAccountAuthorizationDetailsPaginator.ts +++ b/clients/client-iam/pagination/GetAccountAuthorizationDetailsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAccountAuthorizationDetailsCommand(input, ...args)); + return await client.send(new GetAccountAuthorizationDetailsCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/GetGroupPaginator.ts b/clients/client-iam/pagination/GetGroupPaginator.ts index fc1305f59fdb..1378b3455abf 100644 --- a/clients/client-iam/pagination/GetGroupPaginator.ts +++ b/clients/client-iam/pagination/GetGroupPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetGroupCommand(input, ...args)); + return await client.send(new GetGroupCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAccessKeysPaginator.ts b/clients/client-iam/pagination/ListAccessKeysPaginator.ts index 921df1cf1748..2ca32329e1de 100644 --- a/clients/client-iam/pagination/ListAccessKeysPaginator.ts +++ b/clients/client-iam/pagination/ListAccessKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccessKeysCommand(input, ...args)); + return await client.send(new ListAccessKeysCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAccountAliasesPaginator.ts b/clients/client-iam/pagination/ListAccountAliasesPaginator.ts index 32776e37a46d..9e077e590c67 100644 --- a/clients/client-iam/pagination/ListAccountAliasesPaginator.ts +++ b/clients/client-iam/pagination/ListAccountAliasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountAliasesCommand(input, ...args)); + return await client.send(new ListAccountAliasesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAttachedGroupPoliciesPaginator.ts b/clients/client-iam/pagination/ListAttachedGroupPoliciesPaginator.ts index cf2b6a567b6f..6f00653925c7 100644 --- a/clients/client-iam/pagination/ListAttachedGroupPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListAttachedGroupPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedGroupPoliciesCommand(input, ...args)); + return await client.send(new ListAttachedGroupPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAttachedRolePoliciesPaginator.ts b/clients/client-iam/pagination/ListAttachedRolePoliciesPaginator.ts index c4e626fbad13..9b38ccfb68c5 100644 --- a/clients/client-iam/pagination/ListAttachedRolePoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListAttachedRolePoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedRolePoliciesCommand(input, ...args)); + return await client.send(new ListAttachedRolePoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListAttachedUserPoliciesPaginator.ts b/clients/client-iam/pagination/ListAttachedUserPoliciesPaginator.ts index 0a34e4c9abf3..b6d519554403 100644 --- a/clients/client-iam/pagination/ListAttachedUserPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListAttachedUserPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedUserPoliciesCommand(input, ...args)); + return await client.send(new ListAttachedUserPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListEntitiesForPolicyPaginator.ts b/clients/client-iam/pagination/ListEntitiesForPolicyPaginator.ts index 5333defe095e..821ca24af3f5 100644 --- a/clients/client-iam/pagination/ListEntitiesForPolicyPaginator.ts +++ b/clients/client-iam/pagination/ListEntitiesForPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntitiesForPolicyCommand(input, ...args)); + return await client.send(new ListEntitiesForPolicyCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListGroupPoliciesPaginator.ts b/clients/client-iam/pagination/ListGroupPoliciesPaginator.ts index ca2d61b8469e..a234ba194442 100644 --- a/clients/client-iam/pagination/ListGroupPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListGroupPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupPoliciesCommand(input, ...args)); + return await client.send(new ListGroupPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListGroupsForUserPaginator.ts b/clients/client-iam/pagination/ListGroupsForUserPaginator.ts index a8a7a7b0d9ed..c8428fbeee8b 100644 --- a/clients/client-iam/pagination/ListGroupsForUserPaginator.ts +++ b/clients/client-iam/pagination/ListGroupsForUserPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsForUserCommand(input, ...args)); + return await client.send(new ListGroupsForUserCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListGroupsPaginator.ts b/clients/client-iam/pagination/ListGroupsPaginator.ts index 774cbe886f01..7f9a421e7f1e 100644 --- a/clients/client-iam/pagination/ListGroupsPaginator.ts +++ b/clients/client-iam/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input, ...args)); + return await client.send(new ListGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListInstanceProfilesForRolePaginator.ts b/clients/client-iam/pagination/ListInstanceProfilesForRolePaginator.ts index f329f65c71b4..574d078f3212 100644 --- a/clients/client-iam/pagination/ListInstanceProfilesForRolePaginator.ts +++ b/clients/client-iam/pagination/ListInstanceProfilesForRolePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstanceProfilesForRoleCommand(input, ...args)); + return await client.send(new ListInstanceProfilesForRoleCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListInstanceProfilesPaginator.ts b/clients/client-iam/pagination/ListInstanceProfilesPaginator.ts index 204a82874529..225d01b40bb0 100644 --- a/clients/client-iam/pagination/ListInstanceProfilesPaginator.ts +++ b/clients/client-iam/pagination/ListInstanceProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstanceProfilesCommand(input, ...args)); + return await client.send(new ListInstanceProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListMFADevicesPaginator.ts b/clients/client-iam/pagination/ListMFADevicesPaginator.ts index 034f500c44e0..1483d57a33cf 100644 --- a/clients/client-iam/pagination/ListMFADevicesPaginator.ts +++ b/clients/client-iam/pagination/ListMFADevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMFADevicesCommand(input, ...args)); + return await client.send(new ListMFADevicesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListPoliciesPaginator.ts b/clients/client-iam/pagination/ListPoliciesPaginator.ts index dbfbb9cc265b..1dde80e61f26 100644 --- a/clients/client-iam/pagination/ListPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesCommand(input, ...args)); + return await client.send(new ListPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListPolicyVersionsPaginator.ts b/clients/client-iam/pagination/ListPolicyVersionsPaginator.ts index f6d51fb20db0..bbfd5a2b5f54 100644 --- a/clients/client-iam/pagination/ListPolicyVersionsPaginator.ts +++ b/clients/client-iam/pagination/ListPolicyVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPolicyVersionsCommand(input, ...args)); + return await client.send(new ListPolicyVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListRolePoliciesPaginator.ts b/clients/client-iam/pagination/ListRolePoliciesPaginator.ts index c89fa75a8e51..c2e02fb50f22 100644 --- a/clients/client-iam/pagination/ListRolePoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListRolePoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRolePoliciesCommand(input, ...args)); + return await client.send(new ListRolePoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListRolesPaginator.ts b/clients/client-iam/pagination/ListRolesPaginator.ts index 74c33d5aeb31..c04d01489bb2 100644 --- a/clients/client-iam/pagination/ListRolesPaginator.ts +++ b/clients/client-iam/pagination/ListRolesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRolesCommand(input, ...args)); + return await client.send(new ListRolesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListSSHPublicKeysPaginator.ts b/clients/client-iam/pagination/ListSSHPublicKeysPaginator.ts index 94b8d3093021..06ce00c92aa5 100644 --- a/clients/client-iam/pagination/ListSSHPublicKeysPaginator.ts +++ b/clients/client-iam/pagination/ListSSHPublicKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSSHPublicKeysCommand(input, ...args)); + return await client.send(new ListSSHPublicKeysCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListServerCertificatesPaginator.ts b/clients/client-iam/pagination/ListServerCertificatesPaginator.ts index 07bbee76ba70..9a4d5a3ca21d 100644 --- a/clients/client-iam/pagination/ListServerCertificatesPaginator.ts +++ b/clients/client-iam/pagination/ListServerCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServerCertificatesCommand(input, ...args)); + return await client.send(new ListServerCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListSigningCertificatesPaginator.ts b/clients/client-iam/pagination/ListSigningCertificatesPaginator.ts index b2ba4c583f49..b4dca3d2d81c 100644 --- a/clients/client-iam/pagination/ListSigningCertificatesPaginator.ts +++ b/clients/client-iam/pagination/ListSigningCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSigningCertificatesCommand(input, ...args)); + return await client.send(new ListSigningCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListUserPoliciesPaginator.ts b/clients/client-iam/pagination/ListUserPoliciesPaginator.ts index 9e055a172b5e..2cda0f2fdeb3 100644 --- a/clients/client-iam/pagination/ListUserPoliciesPaginator.ts +++ b/clients/client-iam/pagination/ListUserPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUserPoliciesCommand(input, ...args)); + return await client.send(new ListUserPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListUsersPaginator.ts b/clients/client-iam/pagination/ListUsersPaginator.ts index 293c723109de..365029b00695 100644 --- a/clients/client-iam/pagination/ListUsersPaginator.ts +++ b/clients/client-iam/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input, ...args)); + return await client.send(new ListUsersCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/ListVirtualMFADevicesPaginator.ts b/clients/client-iam/pagination/ListVirtualMFADevicesPaginator.ts index dd0e159b5117..2d49ddd3d1e6 100644 --- a/clients/client-iam/pagination/ListVirtualMFADevicesPaginator.ts +++ b/clients/client-iam/pagination/ListVirtualMFADevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVirtualMFADevicesCommand(input, ...args)); + return await client.send(new ListVirtualMFADevicesCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/SimulateCustomPolicyPaginator.ts b/clients/client-iam/pagination/SimulateCustomPolicyPaginator.ts index f5602d9761a4..9d310ec61ae7 100644 --- a/clients/client-iam/pagination/SimulateCustomPolicyPaginator.ts +++ b/clients/client-iam/pagination/SimulateCustomPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SimulateCustomPolicyCommand(input, ...args)); + return await client.send(new SimulateCustomPolicyCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-iam/pagination/SimulatePrincipalPolicyPaginator.ts b/clients/client-iam/pagination/SimulatePrincipalPolicyPaginator.ts index 68c42643edfd..f24ec3153363 100644 --- a/clients/client-iam/pagination/SimulatePrincipalPolicyPaginator.ts +++ b/clients/client-iam/pagination/SimulatePrincipalPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SimulatePrincipalPolicyCommand(input, ...args)); + return await client.send(new SimulatePrincipalPolicyCommand(input), ...args); }; const makePagedRequest = async ( client: IAM, diff --git a/clients/client-identitystore/pagination/ListGroupsPaginator.ts b/clients/client-identitystore/pagination/ListGroupsPaginator.ts index b47ee881d7f7..bd9b4d7053eb 100644 --- a/clients/client-identitystore/pagination/ListGroupsPaginator.ts +++ b/clients/client-identitystore/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input, ...args)); + return await client.send(new ListGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Identitystore, diff --git a/clients/client-identitystore/pagination/ListUsersPaginator.ts b/clients/client-identitystore/pagination/ListUsersPaginator.ts index d5bdf0cd771c..dba88288588c 100644 --- a/clients/client-identitystore/pagination/ListUsersPaginator.ts +++ b/clients/client-identitystore/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input, ...args)); + return await client.send(new ListUsersCommand(input), ...args); }; const makePagedRequest = async ( client: Identitystore, diff --git a/clients/client-imagebuilder/pagination/ListComponentBuildVersionsPaginator.ts b/clients/client-imagebuilder/pagination/ListComponentBuildVersionsPaginator.ts index d1e893ed5693..583788ed585b 100644 --- a/clients/client-imagebuilder/pagination/ListComponentBuildVersionsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListComponentBuildVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComponentBuildVersionsCommand(input, ...args)); + return await client.send(new ListComponentBuildVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListComponentsPaginator.ts b/clients/client-imagebuilder/pagination/ListComponentsPaginator.ts index c0079e29ff83..21061fbc5860 100644 --- a/clients/client-imagebuilder/pagination/ListComponentsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListComponentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComponentsCommand(input, ...args)); + return await client.send(new ListComponentsCommand(input), ...args); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts b/clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts index 7900b78a81a5..d00828db323e 100644 --- a/clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListDistributionConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDistributionConfigurationsCommand(input, ...args)); + return await client.send(new ListDistributionConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImageBuildVersionsPaginator.ts b/clients/client-imagebuilder/pagination/ListImageBuildVersionsPaginator.ts index 46d23cd7cb6e..5d7258a7b804 100644 --- a/clients/client-imagebuilder/pagination/ListImageBuildVersionsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImageBuildVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImageBuildVersionsCommand(input, ...args)); + return await client.send(new ListImageBuildVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImagePipelineImagesPaginator.ts b/clients/client-imagebuilder/pagination/ListImagePipelineImagesPaginator.ts index 4ff24bbbf207..098efbba6857 100644 --- a/clients/client-imagebuilder/pagination/ListImagePipelineImagesPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImagePipelineImagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagePipelineImagesCommand(input, ...args)); + return await client.send(new ListImagePipelineImagesCommand(input), ...args); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImagePipelinesPaginator.ts b/clients/client-imagebuilder/pagination/ListImagePipelinesPaginator.ts index fbfe546ae5de..c6058bb9c857 100644 --- a/clients/client-imagebuilder/pagination/ListImagePipelinesPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImagePipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagePipelinesCommand(input, ...args)); + return await client.send(new ListImagePipelinesCommand(input), ...args); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImageRecipesPaginator.ts b/clients/client-imagebuilder/pagination/ListImageRecipesPaginator.ts index 43aec5aa7067..492a1a1f6252 100644 --- a/clients/client-imagebuilder/pagination/ListImageRecipesPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImageRecipesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImageRecipesCommand(input, ...args)); + return await client.send(new ListImageRecipesCommand(input), ...args); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListImagesPaginator.ts b/clients/client-imagebuilder/pagination/ListImagesPaginator.ts index a0ff17b8c183..302e4fc62ff3 100644 --- a/clients/client-imagebuilder/pagination/ListImagesPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListImagesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagesCommand(input, ...args)); + return await client.send(new ListImagesCommand(input), ...args); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-imagebuilder/pagination/ListInfrastructureConfigurationsPaginator.ts b/clients/client-imagebuilder/pagination/ListInfrastructureConfigurationsPaginator.ts index 5a14dda05919..ee026faf3560 100644 --- a/clients/client-imagebuilder/pagination/ListInfrastructureConfigurationsPaginator.ts +++ b/clients/client-imagebuilder/pagination/ListInfrastructureConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInfrastructureConfigurationsCommand(input, ...args)); + return await client.send(new ListInfrastructureConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: Imagebuilder, diff --git a/clients/client-inspector/pagination/GetExclusionsPreviewPaginator.ts b/clients/client-inspector/pagination/GetExclusionsPreviewPaginator.ts index 791c60966365..31bdbff619d9 100644 --- a/clients/client-inspector/pagination/GetExclusionsPreviewPaginator.ts +++ b/clients/client-inspector/pagination/GetExclusionsPreviewPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetExclusionsPreviewCommand(input, ...args)); + return await client.send(new GetExclusionsPreviewCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListAssessmentRunAgentsPaginator.ts b/clients/client-inspector/pagination/ListAssessmentRunAgentsPaginator.ts index 6b6b12132d66..4b4f2a0b3693 100644 --- a/clients/client-inspector/pagination/ListAssessmentRunAgentsPaginator.ts +++ b/clients/client-inspector/pagination/ListAssessmentRunAgentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssessmentRunAgentsCommand(input, ...args)); + return await client.send(new ListAssessmentRunAgentsCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListAssessmentRunsPaginator.ts b/clients/client-inspector/pagination/ListAssessmentRunsPaginator.ts index 5016527d7231..c90e76c5ff3c 100644 --- a/clients/client-inspector/pagination/ListAssessmentRunsPaginator.ts +++ b/clients/client-inspector/pagination/ListAssessmentRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssessmentRunsCommand(input, ...args)); + return await client.send(new ListAssessmentRunsCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListAssessmentTargetsPaginator.ts b/clients/client-inspector/pagination/ListAssessmentTargetsPaginator.ts index 25ac97ed551b..fa865af027ed 100644 --- a/clients/client-inspector/pagination/ListAssessmentTargetsPaginator.ts +++ b/clients/client-inspector/pagination/ListAssessmentTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssessmentTargetsCommand(input, ...args)); + return await client.send(new ListAssessmentTargetsCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListAssessmentTemplatesPaginator.ts b/clients/client-inspector/pagination/ListAssessmentTemplatesPaginator.ts index 5282f81ed601..ae5bbb912731 100644 --- a/clients/client-inspector/pagination/ListAssessmentTemplatesPaginator.ts +++ b/clients/client-inspector/pagination/ListAssessmentTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssessmentTemplatesCommand(input, ...args)); + return await client.send(new ListAssessmentTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListEventSubscriptionsPaginator.ts b/clients/client-inspector/pagination/ListEventSubscriptionsPaginator.ts index 6c4938062988..9fd6d36da91a 100644 --- a/clients/client-inspector/pagination/ListEventSubscriptionsPaginator.ts +++ b/clients/client-inspector/pagination/ListEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEventSubscriptionsCommand(input, ...args)); + return await client.send(new ListEventSubscriptionsCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListExclusionsPaginator.ts b/clients/client-inspector/pagination/ListExclusionsPaginator.ts index 272c1640e26b..cf1c735b3400 100644 --- a/clients/client-inspector/pagination/ListExclusionsPaginator.ts +++ b/clients/client-inspector/pagination/ListExclusionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListExclusionsCommand(input, ...args)); + return await client.send(new ListExclusionsCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListFindingsPaginator.ts b/clients/client-inspector/pagination/ListFindingsPaginator.ts index d386e7d3f83c..653e45ae76ac 100644 --- a/clients/client-inspector/pagination/ListFindingsPaginator.ts +++ b/clients/client-inspector/pagination/ListFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsCommand(input, ...args)); + return await client.send(new ListFindingsCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/ListRulesPackagesPaginator.ts b/clients/client-inspector/pagination/ListRulesPackagesPaginator.ts index afb3ddc80169..9fbe520eac9b 100644 --- a/clients/client-inspector/pagination/ListRulesPackagesPaginator.ts +++ b/clients/client-inspector/pagination/ListRulesPackagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRulesPackagesCommand(input, ...args)); + return await client.send(new ListRulesPackagesCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-inspector/pagination/PreviewAgentsPaginator.ts b/clients/client-inspector/pagination/PreviewAgentsPaginator.ts index 2699237c91db..49c36194d994 100644 --- a/clients/client-inspector/pagination/PreviewAgentsPaginator.ts +++ b/clients/client-inspector/pagination/PreviewAgentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new PreviewAgentsCommand(input, ...args)); + return await client.send(new PreviewAgentsCommand(input), ...args); }; const makePagedRequest = async ( client: Inspector, diff --git a/clients/client-iot-1click-projects/pagination/ListPlacementsPaginator.ts b/clients/client-iot-1click-projects/pagination/ListPlacementsPaginator.ts index 112553d7a06e..2c8ab9edd778 100644 --- a/clients/client-iot-1click-projects/pagination/ListPlacementsPaginator.ts +++ b/clients/client-iot-1click-projects/pagination/ListPlacementsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlacementsCommand(input, ...args)); + return await client.send(new ListPlacementsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT1ClickProjects, diff --git a/clients/client-iot-1click-projects/pagination/ListProjectsPaginator.ts b/clients/client-iot-1click-projects/pagination/ListProjectsPaginator.ts index 2eae9a134106..c7742de36957 100644 --- a/clients/client-iot-1click-projects/pagination/ListProjectsPaginator.ts +++ b/clients/client-iot-1click-projects/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input, ...args)); + return await client.send(new ListProjectsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT1ClickProjects, diff --git a/clients/client-iot/pagination/ListActiveViolationsPaginator.ts b/clients/client-iot/pagination/ListActiveViolationsPaginator.ts index 9596cddf2d57..2fb7e593b971 100644 --- a/clients/client-iot/pagination/ListActiveViolationsPaginator.ts +++ b/clients/client-iot/pagination/ListActiveViolationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActiveViolationsCommand(input, ...args)); + return await client.send(new ListActiveViolationsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAttachedPoliciesPaginator.ts b/clients/client-iot/pagination/ListAttachedPoliciesPaginator.ts index f2b1dbc0146b..89738e8daffe 100644 --- a/clients/client-iot/pagination/ListAttachedPoliciesPaginator.ts +++ b/clients/client-iot/pagination/ListAttachedPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttachedPoliciesCommand(input, ...args)); + return await client.send(new ListAttachedPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditFindingsPaginator.ts b/clients/client-iot/pagination/ListAuditFindingsPaginator.ts index fc8ddbe35427..8f7f355f05ad 100644 --- a/clients/client-iot/pagination/ListAuditFindingsPaginator.ts +++ b/clients/client-iot/pagination/ListAuditFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditFindingsCommand(input, ...args)); + return await client.send(new ListAuditFindingsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditMitigationActionsExecutionsPaginator.ts b/clients/client-iot/pagination/ListAuditMitigationActionsExecutionsPaginator.ts index 3de613c18d45..b81d1449a979 100644 --- a/clients/client-iot/pagination/ListAuditMitigationActionsExecutionsPaginator.ts +++ b/clients/client-iot/pagination/ListAuditMitigationActionsExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditMitigationActionsExecutionsCommand(input, ...args)); + return await client.send(new ListAuditMitigationActionsExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditMitigationActionsTasksPaginator.ts b/clients/client-iot/pagination/ListAuditMitigationActionsTasksPaginator.ts index 7e89a7358259..a1572241c1a7 100644 --- a/clients/client-iot/pagination/ListAuditMitigationActionsTasksPaginator.ts +++ b/clients/client-iot/pagination/ListAuditMitigationActionsTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditMitigationActionsTasksCommand(input, ...args)); + return await client.send(new ListAuditMitigationActionsTasksCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditSuppressionsPaginator.ts b/clients/client-iot/pagination/ListAuditSuppressionsPaginator.ts index 646907095ced..8f85fe5cdd23 100644 --- a/clients/client-iot/pagination/ListAuditSuppressionsPaginator.ts +++ b/clients/client-iot/pagination/ListAuditSuppressionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditSuppressionsCommand(input, ...args)); + return await client.send(new ListAuditSuppressionsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuditTasksPaginator.ts b/clients/client-iot/pagination/ListAuditTasksPaginator.ts index 1637c418998b..cc71f14202b1 100644 --- a/clients/client-iot/pagination/ListAuditTasksPaginator.ts +++ b/clients/client-iot/pagination/ListAuditTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuditTasksCommand(input, ...args)); + return await client.send(new ListAuditTasksCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListAuthorizersPaginator.ts b/clients/client-iot/pagination/ListAuthorizersPaginator.ts index 9976faaf9cee..3cf425512f0f 100644 --- a/clients/client-iot/pagination/ListAuthorizersPaginator.ts +++ b/clients/client-iot/pagination/ListAuthorizersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAuthorizersCommand(input, ...args)); + return await client.send(new ListAuthorizersCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListBillingGroupsPaginator.ts b/clients/client-iot/pagination/ListBillingGroupsPaginator.ts index 2b832ab6df49..545db15c0b98 100644 --- a/clients/client-iot/pagination/ListBillingGroupsPaginator.ts +++ b/clients/client-iot/pagination/ListBillingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBillingGroupsCommand(input, ...args)); + return await client.send(new ListBillingGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListCACertificatesPaginator.ts b/clients/client-iot/pagination/ListCACertificatesPaginator.ts index 9150f47c0a05..73e8312b2d71 100644 --- a/clients/client-iot/pagination/ListCACertificatesPaginator.ts +++ b/clients/client-iot/pagination/ListCACertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCACertificatesCommand(input, ...args)); + return await client.send(new ListCACertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListCertificatesByCAPaginator.ts b/clients/client-iot/pagination/ListCertificatesByCAPaginator.ts index d3e655cce32f..e3135650e0ca 100644 --- a/clients/client-iot/pagination/ListCertificatesByCAPaginator.ts +++ b/clients/client-iot/pagination/ListCertificatesByCAPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCertificatesByCACommand(input, ...args)); + return await client.send(new ListCertificatesByCACommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListCertificatesPaginator.ts b/clients/client-iot/pagination/ListCertificatesPaginator.ts index 8e793d8524dd..4a40a4edd0a2 100644 --- a/clients/client-iot/pagination/ListCertificatesPaginator.ts +++ b/clients/client-iot/pagination/ListCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCertificatesCommand(input, ...args)); + return await client.send(new ListCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListDimensionsPaginator.ts b/clients/client-iot/pagination/ListDimensionsPaginator.ts index b0dcc3b5c1f2..4c20cc442077 100644 --- a/clients/client-iot/pagination/ListDimensionsPaginator.ts +++ b/clients/client-iot/pagination/ListDimensionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDimensionsCommand(input, ...args)); + return await client.send(new ListDimensionsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListDomainConfigurationsPaginator.ts b/clients/client-iot/pagination/ListDomainConfigurationsPaginator.ts index e58b443345d4..8eff604fe48d 100644 --- a/clients/client-iot/pagination/ListDomainConfigurationsPaginator.ts +++ b/clients/client-iot/pagination/ListDomainConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainConfigurationsCommand(input, ...args)); + return await client.send(new ListDomainConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListIndicesPaginator.ts b/clients/client-iot/pagination/ListIndicesPaginator.ts index 68fcf2c84d46..af06f59b17c9 100644 --- a/clients/client-iot/pagination/ListIndicesPaginator.ts +++ b/clients/client-iot/pagination/ListIndicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIndicesCommand(input, ...args)); + return await client.send(new ListIndicesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListJobExecutionsForJobPaginator.ts b/clients/client-iot/pagination/ListJobExecutionsForJobPaginator.ts index 281bf0dd34e7..bfc8791702b6 100644 --- a/clients/client-iot/pagination/ListJobExecutionsForJobPaginator.ts +++ b/clients/client-iot/pagination/ListJobExecutionsForJobPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobExecutionsForJobCommand(input, ...args)); + return await client.send(new ListJobExecutionsForJobCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListJobExecutionsForThingPaginator.ts b/clients/client-iot/pagination/ListJobExecutionsForThingPaginator.ts index bd74f537ee2a..9647cc5d3212 100644 --- a/clients/client-iot/pagination/ListJobExecutionsForThingPaginator.ts +++ b/clients/client-iot/pagination/ListJobExecutionsForThingPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobExecutionsForThingCommand(input, ...args)); + return await client.send(new ListJobExecutionsForThingCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListJobsPaginator.ts b/clients/client-iot/pagination/ListJobsPaginator.ts index 086af19bd9bf..c4dcae921a35 100644 --- a/clients/client-iot/pagination/ListJobsPaginator.ts +++ b/clients/client-iot/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input, ...args)); + return await client.send(new ListJobsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListMitigationActionsPaginator.ts b/clients/client-iot/pagination/ListMitigationActionsPaginator.ts index 15f46bddb0a9..e991ae80f4ac 100644 --- a/clients/client-iot/pagination/ListMitigationActionsPaginator.ts +++ b/clients/client-iot/pagination/ListMitigationActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMitigationActionsCommand(input, ...args)); + return await client.send(new ListMitigationActionsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListOTAUpdatesPaginator.ts b/clients/client-iot/pagination/ListOTAUpdatesPaginator.ts index 161c39383d5d..11f9b32a1db9 100644 --- a/clients/client-iot/pagination/ListOTAUpdatesPaginator.ts +++ b/clients/client-iot/pagination/ListOTAUpdatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOTAUpdatesCommand(input, ...args)); + return await client.send(new ListOTAUpdatesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListOutgoingCertificatesPaginator.ts b/clients/client-iot/pagination/ListOutgoingCertificatesPaginator.ts index d844c9477eed..29025e4a2019 100644 --- a/clients/client-iot/pagination/ListOutgoingCertificatesPaginator.ts +++ b/clients/client-iot/pagination/ListOutgoingCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOutgoingCertificatesCommand(input, ...args)); + return await client.send(new ListOutgoingCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListPoliciesPaginator.ts b/clients/client-iot/pagination/ListPoliciesPaginator.ts index d2bbb1e2a385..97b0b1f2ab22 100644 --- a/clients/client-iot/pagination/ListPoliciesPaginator.ts +++ b/clients/client-iot/pagination/ListPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesCommand(input, ...args)); + return await client.send(new ListPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListPolicyPrincipalsPaginator.ts b/clients/client-iot/pagination/ListPolicyPrincipalsPaginator.ts index 0276ed4e5a2e..43f36bf17b16 100644 --- a/clients/client-iot/pagination/ListPolicyPrincipalsPaginator.ts +++ b/clients/client-iot/pagination/ListPolicyPrincipalsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPolicyPrincipalsCommand(input, ...args)); + return await client.send(new ListPolicyPrincipalsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListPrincipalPoliciesPaginator.ts b/clients/client-iot/pagination/ListPrincipalPoliciesPaginator.ts index 52b5c88eacba..4d3112137a76 100644 --- a/clients/client-iot/pagination/ListPrincipalPoliciesPaginator.ts +++ b/clients/client-iot/pagination/ListPrincipalPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPrincipalPoliciesCommand(input, ...args)); + return await client.send(new ListPrincipalPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListPrincipalThingsPaginator.ts b/clients/client-iot/pagination/ListPrincipalThingsPaginator.ts index cf6bced2cc37..9507cc6049e0 100644 --- a/clients/client-iot/pagination/ListPrincipalThingsPaginator.ts +++ b/clients/client-iot/pagination/ListPrincipalThingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPrincipalThingsCommand(input, ...args)); + return await client.send(new ListPrincipalThingsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListProvisioningTemplateVersionsPaginator.ts b/clients/client-iot/pagination/ListProvisioningTemplateVersionsPaginator.ts index 97cad69d98b6..7d43a2eb108a 100644 --- a/clients/client-iot/pagination/ListProvisioningTemplateVersionsPaginator.ts +++ b/clients/client-iot/pagination/ListProvisioningTemplateVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProvisioningTemplateVersionsCommand(input, ...args)); + return await client.send(new ListProvisioningTemplateVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListProvisioningTemplatesPaginator.ts b/clients/client-iot/pagination/ListProvisioningTemplatesPaginator.ts index 1c3310b8fe56..8012e04c51a3 100644 --- a/clients/client-iot/pagination/ListProvisioningTemplatesPaginator.ts +++ b/clients/client-iot/pagination/ListProvisioningTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProvisioningTemplatesCommand(input, ...args)); + return await client.send(new ListProvisioningTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListRoleAliasesPaginator.ts b/clients/client-iot/pagination/ListRoleAliasesPaginator.ts index eb219fae5535..1677b47cae60 100644 --- a/clients/client-iot/pagination/ListRoleAliasesPaginator.ts +++ b/clients/client-iot/pagination/ListRoleAliasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRoleAliasesCommand(input, ...args)); + return await client.send(new ListRoleAliasesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListScheduledAuditsPaginator.ts b/clients/client-iot/pagination/ListScheduledAuditsPaginator.ts index 6c6dc57be3ef..f125b1fe175f 100644 --- a/clients/client-iot/pagination/ListScheduledAuditsPaginator.ts +++ b/clients/client-iot/pagination/ListScheduledAuditsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListScheduledAuditsCommand(input, ...args)); + return await client.send(new ListScheduledAuditsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListSecurityProfilesForTargetPaginator.ts b/clients/client-iot/pagination/ListSecurityProfilesForTargetPaginator.ts index 4f8144e75e05..bbcc5b2f2f0c 100644 --- a/clients/client-iot/pagination/ListSecurityProfilesForTargetPaginator.ts +++ b/clients/client-iot/pagination/ListSecurityProfilesForTargetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityProfilesForTargetCommand(input, ...args)); + return await client.send(new ListSecurityProfilesForTargetCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListSecurityProfilesPaginator.ts b/clients/client-iot/pagination/ListSecurityProfilesPaginator.ts index 5c7fc9974d37..2a97c2bdbce9 100644 --- a/clients/client-iot/pagination/ListSecurityProfilesPaginator.ts +++ b/clients/client-iot/pagination/ListSecurityProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityProfilesCommand(input, ...args)); + return await client.send(new ListSecurityProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListStreamsPaginator.ts b/clients/client-iot/pagination/ListStreamsPaginator.ts index 813726ec1036..6485a80d2bc6 100644 --- a/clients/client-iot/pagination/ListStreamsPaginator.ts +++ b/clients/client-iot/pagination/ListStreamsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamsCommand(input, ...args)); + return await client.send(new ListStreamsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTagsForResourcePaginator.ts b/clients/client-iot/pagination/ListTagsForResourcePaginator.ts index 94663f053fec..3bb48286b4fb 100644 --- a/clients/client-iot/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-iot/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTargetsForPolicyPaginator.ts b/clients/client-iot/pagination/ListTargetsForPolicyPaginator.ts index dd5b60ec09ad..073fd93de4b3 100644 --- a/clients/client-iot/pagination/ListTargetsForPolicyPaginator.ts +++ b/clients/client-iot/pagination/ListTargetsForPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTargetsForPolicyCommand(input, ...args)); + return await client.send(new ListTargetsForPolicyCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTargetsForSecurityProfilePaginator.ts b/clients/client-iot/pagination/ListTargetsForSecurityProfilePaginator.ts index 051b9337319c..0b356124be73 100644 --- a/clients/client-iot/pagination/ListTargetsForSecurityProfilePaginator.ts +++ b/clients/client-iot/pagination/ListTargetsForSecurityProfilePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTargetsForSecurityProfileCommand(input, ...args)); + return await client.send(new ListTargetsForSecurityProfileCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingGroupsForThingPaginator.ts b/clients/client-iot/pagination/ListThingGroupsForThingPaginator.ts index 6a3b534ab2f3..7fa10b51a409 100644 --- a/clients/client-iot/pagination/ListThingGroupsForThingPaginator.ts +++ b/clients/client-iot/pagination/ListThingGroupsForThingPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingGroupsForThingCommand(input, ...args)); + return await client.send(new ListThingGroupsForThingCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingGroupsPaginator.ts b/clients/client-iot/pagination/ListThingGroupsPaginator.ts index 42fb4c4b6a70..9462aab8dc72 100644 --- a/clients/client-iot/pagination/ListThingGroupsPaginator.ts +++ b/clients/client-iot/pagination/ListThingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingGroupsCommand(input, ...args)); + return await client.send(new ListThingGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingPrincipalsPaginator.ts b/clients/client-iot/pagination/ListThingPrincipalsPaginator.ts index fe310fad1295..4b13b964698e 100644 --- a/clients/client-iot/pagination/ListThingPrincipalsPaginator.ts +++ b/clients/client-iot/pagination/ListThingPrincipalsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingPrincipalsCommand(input, ...args)); + return await client.send(new ListThingPrincipalsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingRegistrationTaskReportsPaginator.ts b/clients/client-iot/pagination/ListThingRegistrationTaskReportsPaginator.ts index 42f2aad8736b..7e5c1bf4a03a 100644 --- a/clients/client-iot/pagination/ListThingRegistrationTaskReportsPaginator.ts +++ b/clients/client-iot/pagination/ListThingRegistrationTaskReportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingRegistrationTaskReportsCommand(input, ...args)); + return await client.send(new ListThingRegistrationTaskReportsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingRegistrationTasksPaginator.ts b/clients/client-iot/pagination/ListThingRegistrationTasksPaginator.ts index 5757627f8b5c..51d0bec1fc3d 100644 --- a/clients/client-iot/pagination/ListThingRegistrationTasksPaginator.ts +++ b/clients/client-iot/pagination/ListThingRegistrationTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingRegistrationTasksCommand(input, ...args)); + return await client.send(new ListThingRegistrationTasksCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingTypesPaginator.ts b/clients/client-iot/pagination/ListThingTypesPaginator.ts index 1652ade624d5..8f5c15b557e1 100644 --- a/clients/client-iot/pagination/ListThingTypesPaginator.ts +++ b/clients/client-iot/pagination/ListThingTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingTypesCommand(input, ...args)); + return await client.send(new ListThingTypesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingsInBillingGroupPaginator.ts b/clients/client-iot/pagination/ListThingsInBillingGroupPaginator.ts index 29f8ea6f4f91..1e02d9b1b1db 100644 --- a/clients/client-iot/pagination/ListThingsInBillingGroupPaginator.ts +++ b/clients/client-iot/pagination/ListThingsInBillingGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingsInBillingGroupCommand(input, ...args)); + return await client.send(new ListThingsInBillingGroupCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingsInThingGroupPaginator.ts b/clients/client-iot/pagination/ListThingsInThingGroupPaginator.ts index ad3c86ea5d82..40925abac516 100644 --- a/clients/client-iot/pagination/ListThingsInThingGroupPaginator.ts +++ b/clients/client-iot/pagination/ListThingsInThingGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingsInThingGroupCommand(input, ...args)); + return await client.send(new ListThingsInThingGroupCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListThingsPaginator.ts b/clients/client-iot/pagination/ListThingsPaginator.ts index 88ca75182994..79498a345c2f 100644 --- a/clients/client-iot/pagination/ListThingsPaginator.ts +++ b/clients/client-iot/pagination/ListThingsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListThingsCommand(input, ...args)); + return await client.send(new ListThingsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTopicRuleDestinationsPaginator.ts b/clients/client-iot/pagination/ListTopicRuleDestinationsPaginator.ts index 9004d565f993..24d512039fc6 100644 --- a/clients/client-iot/pagination/ListTopicRuleDestinationsPaginator.ts +++ b/clients/client-iot/pagination/ListTopicRuleDestinationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTopicRuleDestinationsCommand(input, ...args)); + return await client.send(new ListTopicRuleDestinationsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListTopicRulesPaginator.ts b/clients/client-iot/pagination/ListTopicRulesPaginator.ts index e2496d39ab7b..b7281bfbbbbd 100644 --- a/clients/client-iot/pagination/ListTopicRulesPaginator.ts +++ b/clients/client-iot/pagination/ListTopicRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTopicRulesCommand(input, ...args)); + return await client.send(new ListTopicRulesCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListV2LoggingLevelsPaginator.ts b/clients/client-iot/pagination/ListV2LoggingLevelsPaginator.ts index 318834ce961e..03d2496b6ca0 100644 --- a/clients/client-iot/pagination/ListV2LoggingLevelsPaginator.ts +++ b/clients/client-iot/pagination/ListV2LoggingLevelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListV2LoggingLevelsCommand(input, ...args)); + return await client.send(new ListV2LoggingLevelsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iot/pagination/ListViolationEventsPaginator.ts b/clients/client-iot/pagination/ListViolationEventsPaginator.ts index 1a213a743704..c7d2ba25a46b 100644 --- a/clients/client-iot/pagination/ListViolationEventsPaginator.ts +++ b/clients/client-iot/pagination/ListViolationEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListViolationEventsCommand(input, ...args)); + return await client.send(new ListViolationEventsCommand(input), ...args); }; const makePagedRequest = async ( client: IoT, diff --git a/clients/client-iotanalytics/pagination/ListChannelsPaginator.ts b/clients/client-iotanalytics/pagination/ListChannelsPaginator.ts index b351b20597b7..6be58a9daf66 100644 --- a/clients/client-iotanalytics/pagination/ListChannelsPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChannelsCommand(input, ...args)); + return await client.send(new ListChannelsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotanalytics/pagination/ListDatasetContentsPaginator.ts b/clients/client-iotanalytics/pagination/ListDatasetContentsPaginator.ts index e2cbb5163bd7..959b41935e9b 100644 --- a/clients/client-iotanalytics/pagination/ListDatasetContentsPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListDatasetContentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetContentsCommand(input, ...args)); + return await client.send(new ListDatasetContentsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotanalytics/pagination/ListDatasetsPaginator.ts b/clients/client-iotanalytics/pagination/ListDatasetsPaginator.ts index 71a79109b936..5ab05e56df35 100644 --- a/clients/client-iotanalytics/pagination/ListDatasetsPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListDatasetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetsCommand(input, ...args)); + return await client.send(new ListDatasetsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotanalytics/pagination/ListDatastoresPaginator.ts b/clients/client-iotanalytics/pagination/ListDatastoresPaginator.ts index d1b41738116b..6096718d7592 100644 --- a/clients/client-iotanalytics/pagination/ListDatastoresPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListDatastoresPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatastoresCommand(input, ...args)); + return await client.send(new ListDatastoresCommand(input), ...args); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotanalytics/pagination/ListPipelinesPaginator.ts b/clients/client-iotanalytics/pagination/ListPipelinesPaginator.ts index 079102aaac69..8e08738eacf4 100644 --- a/clients/client-iotanalytics/pagination/ListPipelinesPaginator.ts +++ b/clients/client-iotanalytics/pagination/ListPipelinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPipelinesCommand(input, ...args)); + return await client.send(new ListPipelinesCommand(input), ...args); }; const makePagedRequest = async ( client: IoTAnalytics, diff --git a/clients/client-iotsecuretunneling/pagination/ListTunnelsPaginator.ts b/clients/client-iotsecuretunneling/pagination/ListTunnelsPaginator.ts index 7a232c83ee29..d4a6fd2e30b9 100644 --- a/clients/client-iotsecuretunneling/pagination/ListTunnelsPaginator.ts +++ b/clients/client-iotsecuretunneling/pagination/ListTunnelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTunnelsCommand(input, ...args)); + return await client.send(new ListTunnelsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSecureTunneling, diff --git a/clients/client-iotsitewise/pagination/GetAssetPropertyAggregatesPaginator.ts b/clients/client-iotsitewise/pagination/GetAssetPropertyAggregatesPaginator.ts index 80bc6e56abe1..a83b87034b9f 100644 --- a/clients/client-iotsitewise/pagination/GetAssetPropertyAggregatesPaginator.ts +++ b/clients/client-iotsitewise/pagination/GetAssetPropertyAggregatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAssetPropertyAggregatesCommand(input, ...args)); + return await client.send(new GetAssetPropertyAggregatesCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/GetAssetPropertyValueHistoryPaginator.ts b/clients/client-iotsitewise/pagination/GetAssetPropertyValueHistoryPaginator.ts index 5c57cdb22df8..7d854c9c2590 100644 --- a/clients/client-iotsitewise/pagination/GetAssetPropertyValueHistoryPaginator.ts +++ b/clients/client-iotsitewise/pagination/GetAssetPropertyValueHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAssetPropertyValueHistoryCommand(input, ...args)); + return await client.send(new GetAssetPropertyValueHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListAccessPoliciesPaginator.ts b/clients/client-iotsitewise/pagination/ListAccessPoliciesPaginator.ts index 3403c21ab3d0..5e03417cd334 100644 --- a/clients/client-iotsitewise/pagination/ListAccessPoliciesPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListAccessPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccessPoliciesCommand(input, ...args)); + return await client.send(new ListAccessPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListAssetModelsPaginator.ts b/clients/client-iotsitewise/pagination/ListAssetModelsPaginator.ts index ecbf51ac11e5..ba2355dfdc3f 100644 --- a/clients/client-iotsitewise/pagination/ListAssetModelsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListAssetModelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssetModelsCommand(input, ...args)); + return await client.send(new ListAssetModelsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListAssetsPaginator.ts b/clients/client-iotsitewise/pagination/ListAssetsPaginator.ts index d714e94a0fff..7a65d31a3994 100644 --- a/clients/client-iotsitewise/pagination/ListAssetsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListAssetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssetsCommand(input, ...args)); + return await client.send(new ListAssetsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListAssociatedAssetsPaginator.ts b/clients/client-iotsitewise/pagination/ListAssociatedAssetsPaginator.ts index b13fdea1c3d6..e909bca3fab5 100644 --- a/clients/client-iotsitewise/pagination/ListAssociatedAssetsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListAssociatedAssetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociatedAssetsCommand(input, ...args)); + return await client.send(new ListAssociatedAssetsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListDashboardsPaginator.ts b/clients/client-iotsitewise/pagination/ListDashboardsPaginator.ts index 74909ef50946..e7f1b426f0b2 100644 --- a/clients/client-iotsitewise/pagination/ListDashboardsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListDashboardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDashboardsCommand(input, ...args)); + return await client.send(new ListDashboardsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListGatewaysPaginator.ts b/clients/client-iotsitewise/pagination/ListGatewaysPaginator.ts index c7fcf0e577c7..8a8d9487570d 100644 --- a/clients/client-iotsitewise/pagination/ListGatewaysPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewaysCommand(input, ...args)); + return await client.send(new ListGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListPortalsPaginator.ts b/clients/client-iotsitewise/pagination/ListPortalsPaginator.ts index 32febfd11c6a..233e86a4ad22 100644 --- a/clients/client-iotsitewise/pagination/ListPortalsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListPortalsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPortalsCommand(input, ...args)); + return await client.send(new ListPortalsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListProjectAssetsPaginator.ts b/clients/client-iotsitewise/pagination/ListProjectAssetsPaginator.ts index ecc077d4b0c3..4839174fde6f 100644 --- a/clients/client-iotsitewise/pagination/ListProjectAssetsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListProjectAssetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectAssetsCommand(input, ...args)); + return await client.send(new ListProjectAssetsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotsitewise/pagination/ListProjectsPaginator.ts b/clients/client-iotsitewise/pagination/ListProjectsPaginator.ts index 81d6763ad983..b2c0f5762514 100644 --- a/clients/client-iotsitewise/pagination/ListProjectsPaginator.ts +++ b/clients/client-iotsitewise/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input, ...args)); + return await client.send(new ListProjectsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTSiteWise, diff --git a/clients/client-iotthingsgraph/pagination/GetFlowTemplateRevisionsPaginator.ts b/clients/client-iotthingsgraph/pagination/GetFlowTemplateRevisionsPaginator.ts index 0dde1f6639d2..5856c25fe4d9 100644 --- a/clients/client-iotthingsgraph/pagination/GetFlowTemplateRevisionsPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/GetFlowTemplateRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetFlowTemplateRevisionsCommand(input, ...args)); + return await client.send(new GetFlowTemplateRevisionsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/GetSystemTemplateRevisionsPaginator.ts b/clients/client-iotthingsgraph/pagination/GetSystemTemplateRevisionsPaginator.ts index 0925fbb36a3e..e7e23e8c13e2 100644 --- a/clients/client-iotthingsgraph/pagination/GetSystemTemplateRevisionsPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/GetSystemTemplateRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSystemTemplateRevisionsCommand(input, ...args)); + return await client.send(new GetSystemTemplateRevisionsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/ListFlowExecutionMessagesPaginator.ts b/clients/client-iotthingsgraph/pagination/ListFlowExecutionMessagesPaginator.ts index f46f6e01e315..19cb89fba50f 100644 --- a/clients/client-iotthingsgraph/pagination/ListFlowExecutionMessagesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/ListFlowExecutionMessagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFlowExecutionMessagesCommand(input, ...args)); + return await client.send(new ListFlowExecutionMessagesCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/ListTagsForResourcePaginator.ts b/clients/client-iotthingsgraph/pagination/ListTagsForResourcePaginator.ts index ade108aa7184..1bc10b94f1b3 100644 --- a/clients/client-iotthingsgraph/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-iotthingsgraph/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchEntitiesPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchEntitiesPaginator.ts index 240c64061be5..ec100d208638 100644 --- a/clients/client-iotthingsgraph/pagination/SearchEntitiesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchEntitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchEntitiesCommand(input, ...args)); + return await client.send(new SearchEntitiesCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchFlowExecutionsPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchFlowExecutionsPaginator.ts index d3e4ee97ed22..0f75d33195dc 100644 --- a/clients/client-iotthingsgraph/pagination/SearchFlowExecutionsPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchFlowExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchFlowExecutionsCommand(input, ...args)); + return await client.send(new SearchFlowExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchFlowTemplatesPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchFlowTemplatesPaginator.ts index 9cbc92845db8..9ba0258d65e5 100644 --- a/clients/client-iotthingsgraph/pagination/SearchFlowTemplatesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchFlowTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchFlowTemplatesCommand(input, ...args)); + return await client.send(new SearchFlowTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchSystemInstancesPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchSystemInstancesPaginator.ts index 573e48c6c2fe..28b1269a52ae 100644 --- a/clients/client-iotthingsgraph/pagination/SearchSystemInstancesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchSystemInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchSystemInstancesCommand(input, ...args)); + return await client.send(new SearchSystemInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchSystemTemplatesPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchSystemTemplatesPaginator.ts index 1889ae05d757..4da6fe4bdac3 100644 --- a/clients/client-iotthingsgraph/pagination/SearchSystemTemplatesPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchSystemTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchSystemTemplatesCommand(input, ...args)); + return await client.send(new SearchSystemTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-iotthingsgraph/pagination/SearchThingsPaginator.ts b/clients/client-iotthingsgraph/pagination/SearchThingsPaginator.ts index 3b0d3085e49b..0fd58c43140b 100644 --- a/clients/client-iotthingsgraph/pagination/SearchThingsPaginator.ts +++ b/clients/client-iotthingsgraph/pagination/SearchThingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchThingsCommand(input, ...args)); + return await client.send(new SearchThingsCommand(input), ...args); }; const makePagedRequest = async ( client: IoTThingsGraph, diff --git a/clients/client-ivs/pagination/ListChannelsPaginator.ts b/clients/client-ivs/pagination/ListChannelsPaginator.ts index 3923a417917a..64759c6b2372 100644 --- a/clients/client-ivs/pagination/ListChannelsPaginator.ts +++ b/clients/client-ivs/pagination/ListChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChannelsCommand(input, ...args)); + return await client.send(new ListChannelsCommand(input), ...args); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-ivs/pagination/ListPlaybackKeyPairsPaginator.ts b/clients/client-ivs/pagination/ListPlaybackKeyPairsPaginator.ts index b5ce03de3be1..891b12a17359 100644 --- a/clients/client-ivs/pagination/ListPlaybackKeyPairsPaginator.ts +++ b/clients/client-ivs/pagination/ListPlaybackKeyPairsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlaybackKeyPairsCommand(input, ...args)); + return await client.send(new ListPlaybackKeyPairsCommand(input), ...args); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-ivs/pagination/ListStreamKeysPaginator.ts b/clients/client-ivs/pagination/ListStreamKeysPaginator.ts index be1a0742c237..f6d247f68315 100644 --- a/clients/client-ivs/pagination/ListStreamKeysPaginator.ts +++ b/clients/client-ivs/pagination/ListStreamKeysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamKeysCommand(input, ...args)); + return await client.send(new ListStreamKeysCommand(input), ...args); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-ivs/pagination/ListStreamsPaginator.ts b/clients/client-ivs/pagination/ListStreamsPaginator.ts index 02faa5545fbe..3713d9484345 100644 --- a/clients/client-ivs/pagination/ListStreamsPaginator.ts +++ b/clients/client-ivs/pagination/ListStreamsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamsCommand(input, ...args)); + return await client.send(new ListStreamsCommand(input), ...args); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-ivs/pagination/ListTagsForResourcePaginator.ts b/clients/client-ivs/pagination/ListTagsForResourcePaginator.ts index 24cd9129a80a..f3c81e07afc5 100644 --- a/clients/client-ivs/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-ivs/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: Ivs, diff --git a/clients/client-kafka/pagination/ListClusterOperationsPaginator.ts b/clients/client-kafka/pagination/ListClusterOperationsPaginator.ts index 01f1b04fbc6e..e25381b5d7d8 100644 --- a/clients/client-kafka/pagination/ListClusterOperationsPaginator.ts +++ b/clients/client-kafka/pagination/ListClusterOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClusterOperationsCommand(input, ...args)); + return await client.send(new ListClusterOperationsCommand(input), ...args); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListClustersPaginator.ts b/clients/client-kafka/pagination/ListClustersPaginator.ts index b42d0c1bdf72..540734d37b8e 100644 --- a/clients/client-kafka/pagination/ListClustersPaginator.ts +++ b/clients/client-kafka/pagination/ListClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClustersCommand(input, ...args)); + return await client.send(new ListClustersCommand(input), ...args); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListConfigurationRevisionsPaginator.ts b/clients/client-kafka/pagination/ListConfigurationRevisionsPaginator.ts index 7891470cb757..2ae2e4446693 100644 --- a/clients/client-kafka/pagination/ListConfigurationRevisionsPaginator.ts +++ b/clients/client-kafka/pagination/ListConfigurationRevisionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationRevisionsCommand(input, ...args)); + return await client.send(new ListConfigurationRevisionsCommand(input), ...args); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListConfigurationsPaginator.ts b/clients/client-kafka/pagination/ListConfigurationsPaginator.ts index 7a9043ef138e..925daf54a3af 100644 --- a/clients/client-kafka/pagination/ListConfigurationsPaginator.ts +++ b/clients/client-kafka/pagination/ListConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationsCommand(input, ...args)); + return await client.send(new ListConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListKafkaVersionsPaginator.ts b/clients/client-kafka/pagination/ListKafkaVersionsPaginator.ts index 214a0ec837e8..2c59a2a60711 100644 --- a/clients/client-kafka/pagination/ListKafkaVersionsPaginator.ts +++ b/clients/client-kafka/pagination/ListKafkaVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListKafkaVersionsCommand(input, ...args)); + return await client.send(new ListKafkaVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListNodesPaginator.ts b/clients/client-kafka/pagination/ListNodesPaginator.ts index b527d8b462fa..ee45276bd695 100644 --- a/clients/client-kafka/pagination/ListNodesPaginator.ts +++ b/clients/client-kafka/pagination/ListNodesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNodesCommand(input, ...args)); + return await client.send(new ListNodesCommand(input), ...args); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kafka/pagination/ListScramSecretsPaginator.ts b/clients/client-kafka/pagination/ListScramSecretsPaginator.ts index 284570f6ad15..ad6ca80320f2 100644 --- a/clients/client-kafka/pagination/ListScramSecretsPaginator.ts +++ b/clients/client-kafka/pagination/ListScramSecretsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListScramSecretsCommand(input, ...args)); + return await client.send(new ListScramSecretsCommand(input), ...args); }; const makePagedRequest = async ( client: Kafka, diff --git a/clients/client-kendra/pagination/ListDataSourceSyncJobsPaginator.ts b/clients/client-kendra/pagination/ListDataSourceSyncJobsPaginator.ts index 00e370a6d4f4..7ac33df9416a 100644 --- a/clients/client-kendra/pagination/ListDataSourceSyncJobsPaginator.ts +++ b/clients/client-kendra/pagination/ListDataSourceSyncJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSourceSyncJobsCommand(input, ...args)); + return await client.send(new ListDataSourceSyncJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Kendra, diff --git a/clients/client-kendra/pagination/ListDataSourcesPaginator.ts b/clients/client-kendra/pagination/ListDataSourcesPaginator.ts index f800990072a2..5cbe6b47ff5e 100644 --- a/clients/client-kendra/pagination/ListDataSourcesPaginator.ts +++ b/clients/client-kendra/pagination/ListDataSourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSourcesCommand(input, ...args)); + return await client.send(new ListDataSourcesCommand(input), ...args); }; const makePagedRequest = async ( client: Kendra, diff --git a/clients/client-kendra/pagination/ListIndicesPaginator.ts b/clients/client-kendra/pagination/ListIndicesPaginator.ts index 2ec4e24ade03..fc293450a68f 100644 --- a/clients/client-kendra/pagination/ListIndicesPaginator.ts +++ b/clients/client-kendra/pagination/ListIndicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIndicesCommand(input, ...args)); + return await client.send(new ListIndicesCommand(input), ...args); }; const makePagedRequest = async ( client: Kendra, diff --git a/clients/client-kinesis-video/pagination/ListSignalingChannelsPaginator.ts b/clients/client-kinesis-video/pagination/ListSignalingChannelsPaginator.ts index 7ad14ae295c1..5416edba434b 100644 --- a/clients/client-kinesis-video/pagination/ListSignalingChannelsPaginator.ts +++ b/clients/client-kinesis-video/pagination/ListSignalingChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSignalingChannelsCommand(input, ...args)); + return await client.send(new ListSignalingChannelsCommand(input), ...args); }; const makePagedRequest = async ( client: KinesisVideo, diff --git a/clients/client-kinesis-video/pagination/ListStreamsPaginator.ts b/clients/client-kinesis-video/pagination/ListStreamsPaginator.ts index 9b6a3d7aad64..cd8c50c2b2e9 100644 --- a/clients/client-kinesis-video/pagination/ListStreamsPaginator.ts +++ b/clients/client-kinesis-video/pagination/ListStreamsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamsCommand(input, ...args)); + return await client.send(new ListStreamsCommand(input), ...args); }; const makePagedRequest = async ( client: KinesisVideo, diff --git a/clients/client-kinesis/pagination/ListStreamConsumersPaginator.ts b/clients/client-kinesis/pagination/ListStreamConsumersPaginator.ts index e06348b83b12..855bd80c09ec 100644 --- a/clients/client-kinesis/pagination/ListStreamConsumersPaginator.ts +++ b/clients/client-kinesis/pagination/ListStreamConsumersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamConsumersCommand(input, ...args)); + return await client.send(new ListStreamConsumersCommand(input), ...args); }; const makePagedRequest = async ( client: Kinesis, diff --git a/clients/client-kms/pagination/ListAliasesPaginator.ts b/clients/client-kms/pagination/ListAliasesPaginator.ts index 90d254b2a4cb..2b9153b4abe3 100644 --- a/clients/client-kms/pagination/ListAliasesPaginator.ts +++ b/clients/client-kms/pagination/ListAliasesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAliasesCommand(input, ...args)); + return await client.send(new ListAliasesCommand(input), ...args); }; const makePagedRequest = async ( client: KMS, diff --git a/clients/client-kms/pagination/ListGrantsPaginator.ts b/clients/client-kms/pagination/ListGrantsPaginator.ts index 31deb36d1c5f..fdbe496da693 100644 --- a/clients/client-kms/pagination/ListGrantsPaginator.ts +++ b/clients/client-kms/pagination/ListGrantsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGrantsCommand(input, ...args)); + return await client.send(new ListGrantsCommand(input), ...args); }; const makePagedRequest = async ( client: KMS, diff --git a/clients/client-kms/pagination/ListKeyPoliciesPaginator.ts b/clients/client-kms/pagination/ListKeyPoliciesPaginator.ts index 97351ba21ce0..69931d7a4022 100644 --- a/clients/client-kms/pagination/ListKeyPoliciesPaginator.ts +++ b/clients/client-kms/pagination/ListKeyPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListKeyPoliciesCommand(input, ...args)); + return await client.send(new ListKeyPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: KMS, diff --git a/clients/client-kms/pagination/ListKeysPaginator.ts b/clients/client-kms/pagination/ListKeysPaginator.ts index 8f3970c25c29..3806797f92bf 100644 --- a/clients/client-kms/pagination/ListKeysPaginator.ts +++ b/clients/client-kms/pagination/ListKeysPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListKeysCommand(input, ...args)); + return await client.send(new ListKeysCommand(input), ...args); }; const makePagedRequest = async ( client: KMS, diff --git a/clients/client-lakeformation/pagination/GetEffectivePermissionsForPathPaginator.ts b/clients/client-lakeformation/pagination/GetEffectivePermissionsForPathPaginator.ts index 3930e2c476c4..0591360e405f 100644 --- a/clients/client-lakeformation/pagination/GetEffectivePermissionsForPathPaginator.ts +++ b/clients/client-lakeformation/pagination/GetEffectivePermissionsForPathPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetEffectivePermissionsForPathCommand(input, ...args)); + return await client.send(new GetEffectivePermissionsForPathCommand(input), ...args); }; const makePagedRequest = async ( client: LakeFormation, diff --git a/clients/client-lakeformation/pagination/ListPermissionsPaginator.ts b/clients/client-lakeformation/pagination/ListPermissionsPaginator.ts index 27f70262b944..dbecd068d55e 100644 --- a/clients/client-lakeformation/pagination/ListPermissionsPaginator.ts +++ b/clients/client-lakeformation/pagination/ListPermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionsCommand(input, ...args)); + return await client.send(new ListPermissionsCommand(input), ...args); }; const makePagedRequest = async ( client: LakeFormation, diff --git a/clients/client-lakeformation/pagination/ListResourcesPaginator.ts b/clients/client-lakeformation/pagination/ListResourcesPaginator.ts index 907e11239dbc..6ef7921bb2ba 100644 --- a/clients/client-lakeformation/pagination/ListResourcesPaginator.ts +++ b/clients/client-lakeformation/pagination/ListResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourcesCommand(input, ...args)); + return await client.send(new ListResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: LakeFormation, diff --git a/clients/client-lambda/pagination/ListAliasesPaginator.ts b/clients/client-lambda/pagination/ListAliasesPaginator.ts index 0ad7d20ac4e4..0ee838372d9c 100644 --- a/clients/client-lambda/pagination/ListAliasesPaginator.ts +++ b/clients/client-lambda/pagination/ListAliasesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAliasesCommand(input, ...args)); + return await client.send(new ListAliasesCommand(input), ...args); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListEventSourceMappingsPaginator.ts b/clients/client-lambda/pagination/ListEventSourceMappingsPaginator.ts index 49a0c1bd22e9..5294b86315bc 100644 --- a/clients/client-lambda/pagination/ListEventSourceMappingsPaginator.ts +++ b/clients/client-lambda/pagination/ListEventSourceMappingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEventSourceMappingsCommand(input, ...args)); + return await client.send(new ListEventSourceMappingsCommand(input), ...args); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListFunctionEventInvokeConfigsPaginator.ts b/clients/client-lambda/pagination/ListFunctionEventInvokeConfigsPaginator.ts index 6ce34bb997d4..db487127a322 100644 --- a/clients/client-lambda/pagination/ListFunctionEventInvokeConfigsPaginator.ts +++ b/clients/client-lambda/pagination/ListFunctionEventInvokeConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFunctionEventInvokeConfigsCommand(input, ...args)); + return await client.send(new ListFunctionEventInvokeConfigsCommand(input), ...args); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListFunctionsPaginator.ts b/clients/client-lambda/pagination/ListFunctionsPaginator.ts index b21f90d127ed..a11a7c865d91 100644 --- a/clients/client-lambda/pagination/ListFunctionsPaginator.ts +++ b/clients/client-lambda/pagination/ListFunctionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFunctionsCommand(input, ...args)); + return await client.send(new ListFunctionsCommand(input), ...args); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListLayerVersionsPaginator.ts b/clients/client-lambda/pagination/ListLayerVersionsPaginator.ts index 405a0ea10d77..a6c0b1779396 100644 --- a/clients/client-lambda/pagination/ListLayerVersionsPaginator.ts +++ b/clients/client-lambda/pagination/ListLayerVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLayerVersionsCommand(input, ...args)); + return await client.send(new ListLayerVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListLayersPaginator.ts b/clients/client-lambda/pagination/ListLayersPaginator.ts index 25a9cf99118d..e845a72a8741 100644 --- a/clients/client-lambda/pagination/ListLayersPaginator.ts +++ b/clients/client-lambda/pagination/ListLayersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLayersCommand(input, ...args)); + return await client.send(new ListLayersCommand(input), ...args); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListProvisionedConcurrencyConfigsPaginator.ts b/clients/client-lambda/pagination/ListProvisionedConcurrencyConfigsPaginator.ts index c770dc611837..23bfb9f6b654 100644 --- a/clients/client-lambda/pagination/ListProvisionedConcurrencyConfigsPaginator.ts +++ b/clients/client-lambda/pagination/ListProvisionedConcurrencyConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProvisionedConcurrencyConfigsCommand(input, ...args)); + return await client.send(new ListProvisionedConcurrencyConfigsCommand(input), ...args); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lambda/pagination/ListVersionsByFunctionPaginator.ts b/clients/client-lambda/pagination/ListVersionsByFunctionPaginator.ts index d2a45864f49c..fc8f14b43b25 100644 --- a/clients/client-lambda/pagination/ListVersionsByFunctionPaginator.ts +++ b/clients/client-lambda/pagination/ListVersionsByFunctionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVersionsByFunctionCommand(input, ...args)); + return await client.send(new ListVersionsByFunctionCommand(input), ...args); }; const makePagedRequest = async ( client: Lambda, diff --git a/clients/client-lex-model-building-service/pagination/GetBotAliasesPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBotAliasesPaginator.ts index 49d456ec46d9..eb64d21f70b1 100644 --- a/clients/client-lex-model-building-service/pagination/GetBotAliasesPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBotAliasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBotAliasesCommand(input, ...args)); + return await client.send(new GetBotAliasesCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBotChannelAssociationsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBotChannelAssociationsPaginator.ts index b181785cb5f3..595a9b5d9389 100644 --- a/clients/client-lex-model-building-service/pagination/GetBotChannelAssociationsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBotChannelAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBotChannelAssociationsCommand(input, ...args)); + return await client.send(new GetBotChannelAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBotVersionsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBotVersionsPaginator.ts index 9db6caed331b..2fb8b7c7f4e5 100644 --- a/clients/client-lex-model-building-service/pagination/GetBotVersionsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBotVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBotVersionsCommand(input, ...args)); + return await client.send(new GetBotVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBotsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBotsPaginator.ts index 6dfd005c271a..dd58550a67ef 100644 --- a/clients/client-lex-model-building-service/pagination/GetBotsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBotsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBotsCommand(input, ...args)); + return await client.send(new GetBotsCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBuiltinIntentsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBuiltinIntentsPaginator.ts index da161753ce73..b73fb97c2ec6 100644 --- a/clients/client-lex-model-building-service/pagination/GetBuiltinIntentsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBuiltinIntentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBuiltinIntentsCommand(input, ...args)); + return await client.send(new GetBuiltinIntentsCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetBuiltinSlotTypesPaginator.ts b/clients/client-lex-model-building-service/pagination/GetBuiltinSlotTypesPaginator.ts index 3aa795fcfd82..15d8113f79d9 100644 --- a/clients/client-lex-model-building-service/pagination/GetBuiltinSlotTypesPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetBuiltinSlotTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetBuiltinSlotTypesCommand(input, ...args)); + return await client.send(new GetBuiltinSlotTypesCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetIntentVersionsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetIntentVersionsPaginator.ts index f0e79da7d1ae..ebb2aa1b915d 100644 --- a/clients/client-lex-model-building-service/pagination/GetIntentVersionsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetIntentVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetIntentVersionsCommand(input, ...args)); + return await client.send(new GetIntentVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetIntentsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetIntentsPaginator.ts index 30c8284864d0..458b406deaab 100644 --- a/clients/client-lex-model-building-service/pagination/GetIntentsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetIntentsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetIntentsCommand(input, ...args)); + return await client.send(new GetIntentsCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetSlotTypeVersionsPaginator.ts b/clients/client-lex-model-building-service/pagination/GetSlotTypeVersionsPaginator.ts index 38bacccb3484..0aff29813ab8 100644 --- a/clients/client-lex-model-building-service/pagination/GetSlotTypeVersionsPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetSlotTypeVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSlotTypeVersionsCommand(input, ...args)); + return await client.send(new GetSlotTypeVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-lex-model-building-service/pagination/GetSlotTypesPaginator.ts b/clients/client-lex-model-building-service/pagination/GetSlotTypesPaginator.ts index 599823a16d4c..cb086b2c8bc4 100644 --- a/clients/client-lex-model-building-service/pagination/GetSlotTypesPaginator.ts +++ b/clients/client-lex-model-building-service/pagination/GetSlotTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSlotTypesCommand(input, ...args)); + return await client.send(new GetSlotTypesCommand(input), ...args); }; const makePagedRequest = async ( client: LexModelBuildingService, diff --git a/clients/client-machine-learning/pagination/DescribeBatchPredictionsPaginator.ts b/clients/client-machine-learning/pagination/DescribeBatchPredictionsPaginator.ts index 8011bf18a1dd..88d206edc8ae 100644 --- a/clients/client-machine-learning/pagination/DescribeBatchPredictionsPaginator.ts +++ b/clients/client-machine-learning/pagination/DescribeBatchPredictionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBatchPredictionsCommand(input, ...args)); + return await client.send(new DescribeBatchPredictionsCommand(input), ...args); }; const makePagedRequest = async ( client: MachineLearning, diff --git a/clients/client-machine-learning/pagination/DescribeDataSourcesPaginator.ts b/clients/client-machine-learning/pagination/DescribeDataSourcesPaginator.ts index d59e02285c1a..f5bc1c32e419 100644 --- a/clients/client-machine-learning/pagination/DescribeDataSourcesPaginator.ts +++ b/clients/client-machine-learning/pagination/DescribeDataSourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDataSourcesCommand(input, ...args)); + return await client.send(new DescribeDataSourcesCommand(input), ...args); }; const makePagedRequest = async ( client: MachineLearning, diff --git a/clients/client-machine-learning/pagination/DescribeEvaluationsPaginator.ts b/clients/client-machine-learning/pagination/DescribeEvaluationsPaginator.ts index 1b673082f9c0..956837cce0bc 100644 --- a/clients/client-machine-learning/pagination/DescribeEvaluationsPaginator.ts +++ b/clients/client-machine-learning/pagination/DescribeEvaluationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEvaluationsCommand(input, ...args)); + return await client.send(new DescribeEvaluationsCommand(input), ...args); }; const makePagedRequest = async ( client: MachineLearning, diff --git a/clients/client-machine-learning/pagination/DescribeMLModelsPaginator.ts b/clients/client-machine-learning/pagination/DescribeMLModelsPaginator.ts index 069a17c04a8d..a2dcad89fefd 100644 --- a/clients/client-machine-learning/pagination/DescribeMLModelsPaginator.ts +++ b/clients/client-machine-learning/pagination/DescribeMLModelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMLModelsCommand(input, ...args)); + return await client.send(new DescribeMLModelsCommand(input), ...args); }; const makePagedRequest = async ( client: MachineLearning, diff --git a/clients/client-macie/pagination/ListMemberAccountsPaginator.ts b/clients/client-macie/pagination/ListMemberAccountsPaginator.ts index 5c920fec69ee..fb108e60d665 100644 --- a/clients/client-macie/pagination/ListMemberAccountsPaginator.ts +++ b/clients/client-macie/pagination/ListMemberAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMemberAccountsCommand(input, ...args)); + return await client.send(new ListMemberAccountsCommand(input), ...args); }; const makePagedRequest = async ( client: Macie, diff --git a/clients/client-macie/pagination/ListS3ResourcesPaginator.ts b/clients/client-macie/pagination/ListS3ResourcesPaginator.ts index 240144005ab8..2da27a433826 100644 --- a/clients/client-macie/pagination/ListS3ResourcesPaginator.ts +++ b/clients/client-macie/pagination/ListS3ResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListS3ResourcesCommand(input, ...args)); + return await client.send(new ListS3ResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: Macie, diff --git a/clients/client-macie2/pagination/DescribeBucketsPaginator.ts b/clients/client-macie2/pagination/DescribeBucketsPaginator.ts index 08be65f23737..8a7abef6c08a 100644 --- a/clients/client-macie2/pagination/DescribeBucketsPaginator.ts +++ b/clients/client-macie2/pagination/DescribeBucketsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBucketsCommand(input, ...args)); + return await client.send(new DescribeBucketsCommand(input), ...args); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/GetUsageStatisticsPaginator.ts b/clients/client-macie2/pagination/GetUsageStatisticsPaginator.ts index a4143c450e9a..ea99c724532b 100644 --- a/clients/client-macie2/pagination/GetUsageStatisticsPaginator.ts +++ b/clients/client-macie2/pagination/GetUsageStatisticsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetUsageStatisticsCommand(input, ...args)); + return await client.send(new GetUsageStatisticsCommand(input), ...args); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListClassificationJobsPaginator.ts b/clients/client-macie2/pagination/ListClassificationJobsPaginator.ts index 2a2d2f28cf76..14ec44b1336b 100644 --- a/clients/client-macie2/pagination/ListClassificationJobsPaginator.ts +++ b/clients/client-macie2/pagination/ListClassificationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClassificationJobsCommand(input, ...args)); + return await client.send(new ListClassificationJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListCustomDataIdentifiersPaginator.ts b/clients/client-macie2/pagination/ListCustomDataIdentifiersPaginator.ts index ef1598f9ee22..b914ed2bfa0d 100644 --- a/clients/client-macie2/pagination/ListCustomDataIdentifiersPaginator.ts +++ b/clients/client-macie2/pagination/ListCustomDataIdentifiersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCustomDataIdentifiersCommand(input, ...args)); + return await client.send(new ListCustomDataIdentifiersCommand(input), ...args); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListFindingsFiltersPaginator.ts b/clients/client-macie2/pagination/ListFindingsFiltersPaginator.ts index 22eeb0f6fbe4..dfc9885ee8ec 100644 --- a/clients/client-macie2/pagination/ListFindingsFiltersPaginator.ts +++ b/clients/client-macie2/pagination/ListFindingsFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsFiltersCommand(input, ...args)); + return await client.send(new ListFindingsFiltersCommand(input), ...args); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListFindingsPaginator.ts b/clients/client-macie2/pagination/ListFindingsPaginator.ts index e2ddf1e40ee8..4200434d5039 100644 --- a/clients/client-macie2/pagination/ListFindingsPaginator.ts +++ b/clients/client-macie2/pagination/ListFindingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFindingsCommand(input, ...args)); + return await client.send(new ListFindingsCommand(input), ...args); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListInvitationsPaginator.ts b/clients/client-macie2/pagination/ListInvitationsPaginator.ts index fd40387a887a..f87b46ba2b53 100644 --- a/clients/client-macie2/pagination/ListInvitationsPaginator.ts +++ b/clients/client-macie2/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input, ...args)); + return await client.send(new ListInvitationsCommand(input), ...args); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListMembersPaginator.ts b/clients/client-macie2/pagination/ListMembersPaginator.ts index acd9a972088e..9336c4ed967b 100644 --- a/clients/client-macie2/pagination/ListMembersPaginator.ts +++ b/clients/client-macie2/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input, ...args)); + return await client.send(new ListMembersCommand(input), ...args); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-macie2/pagination/ListOrganizationAdminAccountsPaginator.ts b/clients/client-macie2/pagination/ListOrganizationAdminAccountsPaginator.ts index 8a3a1fc393b2..a0c2ff27271e 100644 --- a/clients/client-macie2/pagination/ListOrganizationAdminAccountsPaginator.ts +++ b/clients/client-macie2/pagination/ListOrganizationAdminAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationAdminAccountsCommand(input, ...args)); + return await client.send(new ListOrganizationAdminAccountsCommand(input), ...args); }; const makePagedRequest = async ( client: Macie2, diff --git a/clients/client-managedblockchain/pagination/ListInvitationsPaginator.ts b/clients/client-managedblockchain/pagination/ListInvitationsPaginator.ts index 43bccce77df5..6a295b1c7fe8 100644 --- a/clients/client-managedblockchain/pagination/ListInvitationsPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input, ...args)); + return await client.send(new ListInvitationsCommand(input), ...args); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListMembersPaginator.ts b/clients/client-managedblockchain/pagination/ListMembersPaginator.ts index dd22e923e220..6854a0ea5492 100644 --- a/clients/client-managedblockchain/pagination/ListMembersPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input, ...args)); + return await client.send(new ListMembersCommand(input), ...args); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListNetworksPaginator.ts b/clients/client-managedblockchain/pagination/ListNetworksPaginator.ts index 403e844e4494..3813e44f5e2b 100644 --- a/clients/client-managedblockchain/pagination/ListNetworksPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListNetworksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNetworksCommand(input, ...args)); + return await client.send(new ListNetworksCommand(input), ...args); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListNodesPaginator.ts b/clients/client-managedblockchain/pagination/ListNodesPaginator.ts index 299bd9dbe6b8..b16416f4b553 100644 --- a/clients/client-managedblockchain/pagination/ListNodesPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListNodesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNodesCommand(input, ...args)); + return await client.send(new ListNodesCommand(input), ...args); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListProposalVotesPaginator.ts b/clients/client-managedblockchain/pagination/ListProposalVotesPaginator.ts index fd28bbbfb33e..6adbf0d9550e 100644 --- a/clients/client-managedblockchain/pagination/ListProposalVotesPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListProposalVotesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProposalVotesCommand(input, ...args)); + return await client.send(new ListProposalVotesCommand(input), ...args); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-managedblockchain/pagination/ListProposalsPaginator.ts b/clients/client-managedblockchain/pagination/ListProposalsPaginator.ts index 42835ebcf09b..23867676d3a9 100644 --- a/clients/client-managedblockchain/pagination/ListProposalsPaginator.ts +++ b/clients/client-managedblockchain/pagination/ListProposalsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProposalsCommand(input, ...args)); + return await client.send(new ListProposalsCommand(input), ...args); }; const makePagedRequest = async ( client: ManagedBlockchain, diff --git a/clients/client-marketplace-catalog/pagination/ListChangeSetsPaginator.ts b/clients/client-marketplace-catalog/pagination/ListChangeSetsPaginator.ts index a69a1bf8b560..90933a269e84 100644 --- a/clients/client-marketplace-catalog/pagination/ListChangeSetsPaginator.ts +++ b/clients/client-marketplace-catalog/pagination/ListChangeSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChangeSetsCommand(input, ...args)); + return await client.send(new ListChangeSetsCommand(input), ...args); }; const makePagedRequest = async ( client: MarketplaceCatalog, diff --git a/clients/client-marketplace-catalog/pagination/ListEntitiesPaginator.ts b/clients/client-marketplace-catalog/pagination/ListEntitiesPaginator.ts index 3d7c900b790b..5d122df14cf6 100644 --- a/clients/client-marketplace-catalog/pagination/ListEntitiesPaginator.ts +++ b/clients/client-marketplace-catalog/pagination/ListEntitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntitiesCommand(input, ...args)); + return await client.send(new ListEntitiesCommand(input), ...args); }; const makePagedRequest = async ( client: MarketplaceCatalog, diff --git a/clients/client-mediaconnect/pagination/ListEntitlementsPaginator.ts b/clients/client-mediaconnect/pagination/ListEntitlementsPaginator.ts index b4e43f90b405..d790fa8e52f2 100644 --- a/clients/client-mediaconnect/pagination/ListEntitlementsPaginator.ts +++ b/clients/client-mediaconnect/pagination/ListEntitlementsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEntitlementsCommand(input, ...args)); + return await client.send(new ListEntitlementsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaConnect, diff --git a/clients/client-mediaconnect/pagination/ListFlowsPaginator.ts b/clients/client-mediaconnect/pagination/ListFlowsPaginator.ts index 598eeae8e79a..3a0eee5fd67e 100644 --- a/clients/client-mediaconnect/pagination/ListFlowsPaginator.ts +++ b/clients/client-mediaconnect/pagination/ListFlowsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFlowsCommand(input, ...args)); + return await client.send(new ListFlowsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaConnect, diff --git a/clients/client-mediaconnect/pagination/ListOfferingsPaginator.ts b/clients/client-mediaconnect/pagination/ListOfferingsPaginator.ts index 5b43048947a8..3e9acc134c96 100644 --- a/clients/client-mediaconnect/pagination/ListOfferingsPaginator.ts +++ b/clients/client-mediaconnect/pagination/ListOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOfferingsCommand(input, ...args)); + return await client.send(new ListOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaConnect, diff --git a/clients/client-mediaconnect/pagination/ListReservationsPaginator.ts b/clients/client-mediaconnect/pagination/ListReservationsPaginator.ts index 24ccbaf52e02..df89103ee39e 100644 --- a/clients/client-mediaconnect/pagination/ListReservationsPaginator.ts +++ b/clients/client-mediaconnect/pagination/ListReservationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReservationsCommand(input, ...args)); + return await client.send(new ListReservationsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaConnect, diff --git a/clients/client-mediaconvert/pagination/DescribeEndpointsPaginator.ts b/clients/client-mediaconvert/pagination/DescribeEndpointsPaginator.ts index 9705d4a263dd..71a3c25aade7 100644 --- a/clients/client-mediaconvert/pagination/DescribeEndpointsPaginator.ts +++ b/clients/client-mediaconvert/pagination/DescribeEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEndpointsCommand(input, ...args)); + return await client.send(new DescribeEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-mediaconvert/pagination/ListJobTemplatesPaginator.ts b/clients/client-mediaconvert/pagination/ListJobTemplatesPaginator.ts index 23bd6ddcb803..7a6c8ddede20 100644 --- a/clients/client-mediaconvert/pagination/ListJobTemplatesPaginator.ts +++ b/clients/client-mediaconvert/pagination/ListJobTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobTemplatesCommand(input, ...args)); + return await client.send(new ListJobTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-mediaconvert/pagination/ListJobsPaginator.ts b/clients/client-mediaconvert/pagination/ListJobsPaginator.ts index 41f8d20b9f86..7b45a3cc6c06 100644 --- a/clients/client-mediaconvert/pagination/ListJobsPaginator.ts +++ b/clients/client-mediaconvert/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input, ...args)); + return await client.send(new ListJobsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-mediaconvert/pagination/ListPresetsPaginator.ts b/clients/client-mediaconvert/pagination/ListPresetsPaginator.ts index 9e9bb409c312..4d2564022c94 100644 --- a/clients/client-mediaconvert/pagination/ListPresetsPaginator.ts +++ b/clients/client-mediaconvert/pagination/ListPresetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPresetsCommand(input, ...args)); + return await client.send(new ListPresetsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-mediaconvert/pagination/ListQueuesPaginator.ts b/clients/client-mediaconvert/pagination/ListQueuesPaginator.ts index 96df2c5c4a19..d94ea42057e1 100644 --- a/clients/client-mediaconvert/pagination/ListQueuesPaginator.ts +++ b/clients/client-mediaconvert/pagination/ListQueuesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQueuesCommand(input, ...args)); + return await client.send(new ListQueuesCommand(input), ...args); }; const makePagedRequest = async ( client: MediaConvert, diff --git a/clients/client-medialive/pagination/DescribeSchedulePaginator.ts b/clients/client-medialive/pagination/DescribeSchedulePaginator.ts index 282c3012e21d..cd1322ad39e0 100644 --- a/clients/client-medialive/pagination/DescribeSchedulePaginator.ts +++ b/clients/client-medialive/pagination/DescribeSchedulePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduleCommand(input, ...args)); + return await client.send(new DescribeScheduleCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListChannelsPaginator.ts b/clients/client-medialive/pagination/ListChannelsPaginator.ts index ae4bcebe3197..25cbefae0614 100644 --- a/clients/client-medialive/pagination/ListChannelsPaginator.ts +++ b/clients/client-medialive/pagination/ListChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChannelsCommand(input, ...args)); + return await client.send(new ListChannelsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListInputDeviceTransfersPaginator.ts b/clients/client-medialive/pagination/ListInputDeviceTransfersPaginator.ts index ba78c7c41ea1..b0b5077efa5a 100644 --- a/clients/client-medialive/pagination/ListInputDeviceTransfersPaginator.ts +++ b/clients/client-medialive/pagination/ListInputDeviceTransfersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInputDeviceTransfersCommand(input, ...args)); + return await client.send(new ListInputDeviceTransfersCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListInputDevicesPaginator.ts b/clients/client-medialive/pagination/ListInputDevicesPaginator.ts index a5dfb1eb4c7a..380041ecfb39 100644 --- a/clients/client-medialive/pagination/ListInputDevicesPaginator.ts +++ b/clients/client-medialive/pagination/ListInputDevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInputDevicesCommand(input, ...args)); + return await client.send(new ListInputDevicesCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListInputSecurityGroupsPaginator.ts b/clients/client-medialive/pagination/ListInputSecurityGroupsPaginator.ts index 6accb94757e7..0140f698f8fb 100644 --- a/clients/client-medialive/pagination/ListInputSecurityGroupsPaginator.ts +++ b/clients/client-medialive/pagination/ListInputSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInputSecurityGroupsCommand(input, ...args)); + return await client.send(new ListInputSecurityGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListInputsPaginator.ts b/clients/client-medialive/pagination/ListInputsPaginator.ts index c30b9fedf92c..71b8df299775 100644 --- a/clients/client-medialive/pagination/ListInputsPaginator.ts +++ b/clients/client-medialive/pagination/ListInputsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInputsCommand(input, ...args)); + return await client.send(new ListInputsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListMultiplexProgramsPaginator.ts b/clients/client-medialive/pagination/ListMultiplexProgramsPaginator.ts index f3caf4750216..4c4ce70a8728 100644 --- a/clients/client-medialive/pagination/ListMultiplexProgramsPaginator.ts +++ b/clients/client-medialive/pagination/ListMultiplexProgramsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMultiplexProgramsCommand(input, ...args)); + return await client.send(new ListMultiplexProgramsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListMultiplexesPaginator.ts b/clients/client-medialive/pagination/ListMultiplexesPaginator.ts index 431359701e02..70cd31ed7c63 100644 --- a/clients/client-medialive/pagination/ListMultiplexesPaginator.ts +++ b/clients/client-medialive/pagination/ListMultiplexesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMultiplexesCommand(input, ...args)); + return await client.send(new ListMultiplexesCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListOfferingsPaginator.ts b/clients/client-medialive/pagination/ListOfferingsPaginator.ts index a71353ac4a21..e7ef7bfb7ef6 100644 --- a/clients/client-medialive/pagination/ListOfferingsPaginator.ts +++ b/clients/client-medialive/pagination/ListOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOfferingsCommand(input, ...args)); + return await client.send(new ListOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-medialive/pagination/ListReservationsPaginator.ts b/clients/client-medialive/pagination/ListReservationsPaginator.ts index 116ca265a310..5923f1e937b0 100644 --- a/clients/client-medialive/pagination/ListReservationsPaginator.ts +++ b/clients/client-medialive/pagination/ListReservationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReservationsCommand(input, ...args)); + return await client.send(new ListReservationsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaLive, diff --git a/clients/client-mediapackage-vod/pagination/ListAssetsPaginator.ts b/clients/client-mediapackage-vod/pagination/ListAssetsPaginator.ts index a9b6ea343816..99dc93f53ed7 100644 --- a/clients/client-mediapackage-vod/pagination/ListAssetsPaginator.ts +++ b/clients/client-mediapackage-vod/pagination/ListAssetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssetsCommand(input, ...args)); + return await client.send(new ListAssetsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaPackageVod, diff --git a/clients/client-mediapackage-vod/pagination/ListPackagingConfigurationsPaginator.ts b/clients/client-mediapackage-vod/pagination/ListPackagingConfigurationsPaginator.ts index ecd14347a1e5..0a0c3d1b2084 100644 --- a/clients/client-mediapackage-vod/pagination/ListPackagingConfigurationsPaginator.ts +++ b/clients/client-mediapackage-vod/pagination/ListPackagingConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackagingConfigurationsCommand(input, ...args)); + return await client.send(new ListPackagingConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaPackageVod, diff --git a/clients/client-mediapackage-vod/pagination/ListPackagingGroupsPaginator.ts b/clients/client-mediapackage-vod/pagination/ListPackagingGroupsPaginator.ts index cdc010f3f736..7f9bcb531cd2 100644 --- a/clients/client-mediapackage-vod/pagination/ListPackagingGroupsPaginator.ts +++ b/clients/client-mediapackage-vod/pagination/ListPackagingGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPackagingGroupsCommand(input, ...args)); + return await client.send(new ListPackagingGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaPackageVod, diff --git a/clients/client-mediapackage/pagination/ListChannelsPaginator.ts b/clients/client-mediapackage/pagination/ListChannelsPaginator.ts index 429591e217c2..d407c37372cc 100644 --- a/clients/client-mediapackage/pagination/ListChannelsPaginator.ts +++ b/clients/client-mediapackage/pagination/ListChannelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChannelsCommand(input, ...args)); + return await client.send(new ListChannelsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaPackage, diff --git a/clients/client-mediapackage/pagination/ListHarvestJobsPaginator.ts b/clients/client-mediapackage/pagination/ListHarvestJobsPaginator.ts index 7fbc0fa1da76..f4f3526b5a0f 100644 --- a/clients/client-mediapackage/pagination/ListHarvestJobsPaginator.ts +++ b/clients/client-mediapackage/pagination/ListHarvestJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHarvestJobsCommand(input, ...args)); + return await client.send(new ListHarvestJobsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaPackage, diff --git a/clients/client-mediapackage/pagination/ListOriginEndpointsPaginator.ts b/clients/client-mediapackage/pagination/ListOriginEndpointsPaginator.ts index 8081c60b45a7..0c59b9b37361 100644 --- a/clients/client-mediapackage/pagination/ListOriginEndpointsPaginator.ts +++ b/clients/client-mediapackage/pagination/ListOriginEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOriginEndpointsCommand(input, ...args)); + return await client.send(new ListOriginEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: MediaPackage, diff --git a/clients/client-mediastore/pagination/ListContainersPaginator.ts b/clients/client-mediastore/pagination/ListContainersPaginator.ts index e90d3c22e088..0575c076f646 100644 --- a/clients/client-mediastore/pagination/ListContainersPaginator.ts +++ b/clients/client-mediastore/pagination/ListContainersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContainersCommand(input, ...args)); + return await client.send(new ListContainersCommand(input), ...args); }; const makePagedRequest = async ( client: MediaStore, diff --git a/clients/client-migration-hub/pagination/ListApplicationStatesPaginator.ts b/clients/client-migration-hub/pagination/ListApplicationStatesPaginator.ts index a474c79a6af9..1aa3ba4959f3 100644 --- a/clients/client-migration-hub/pagination/ListApplicationStatesPaginator.ts +++ b/clients/client-migration-hub/pagination/ListApplicationStatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationStatesCommand(input, ...args)); + return await client.send(new ListApplicationStatesCommand(input), ...args); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migration-hub/pagination/ListCreatedArtifactsPaginator.ts b/clients/client-migration-hub/pagination/ListCreatedArtifactsPaginator.ts index 02275fc7e8b4..588a72a70507 100644 --- a/clients/client-migration-hub/pagination/ListCreatedArtifactsPaginator.ts +++ b/clients/client-migration-hub/pagination/ListCreatedArtifactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCreatedArtifactsCommand(input, ...args)); + return await client.send(new ListCreatedArtifactsCommand(input), ...args); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migration-hub/pagination/ListDiscoveredResourcesPaginator.ts b/clients/client-migration-hub/pagination/ListDiscoveredResourcesPaginator.ts index 7e6504bd4276..c5963b4e0955 100644 --- a/clients/client-migration-hub/pagination/ListDiscoveredResourcesPaginator.ts +++ b/clients/client-migration-hub/pagination/ListDiscoveredResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDiscoveredResourcesCommand(input, ...args)); + return await client.send(new ListDiscoveredResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migration-hub/pagination/ListMigrationTasksPaginator.ts b/clients/client-migration-hub/pagination/ListMigrationTasksPaginator.ts index 926b63f74bcb..c441f898c373 100644 --- a/clients/client-migration-hub/pagination/ListMigrationTasksPaginator.ts +++ b/clients/client-migration-hub/pagination/ListMigrationTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMigrationTasksCommand(input, ...args)); + return await client.send(new ListMigrationTasksCommand(input), ...args); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migration-hub/pagination/ListProgressUpdateStreamsPaginator.ts b/clients/client-migration-hub/pagination/ListProgressUpdateStreamsPaginator.ts index e033194149cb..c30b3f95e5bd 100644 --- a/clients/client-migration-hub/pagination/ListProgressUpdateStreamsPaginator.ts +++ b/clients/client-migration-hub/pagination/ListProgressUpdateStreamsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProgressUpdateStreamsCommand(input, ...args)); + return await client.send(new ListProgressUpdateStreamsCommand(input), ...args); }; const makePagedRequest = async ( client: MigrationHub, diff --git a/clients/client-migrationhub-config/pagination/DescribeHomeRegionControlsPaginator.ts b/clients/client-migrationhub-config/pagination/DescribeHomeRegionControlsPaginator.ts index 60f30ed2c58d..1645bc7a1b8c 100644 --- a/clients/client-migrationhub-config/pagination/DescribeHomeRegionControlsPaginator.ts +++ b/clients/client-migrationhub-config/pagination/DescribeHomeRegionControlsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHomeRegionControlsCommand(input, ...args)); + return await client.send(new DescribeHomeRegionControlsCommand(input), ...args); }; const makePagedRequest = async ( client: MigrationHubConfig, diff --git a/clients/client-mobile/pagination/ListBundlesPaginator.ts b/clients/client-mobile/pagination/ListBundlesPaginator.ts index 8658944c060e..861d356642a1 100644 --- a/clients/client-mobile/pagination/ListBundlesPaginator.ts +++ b/clients/client-mobile/pagination/ListBundlesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBundlesCommand(input, ...args)); + return await client.send(new ListBundlesCommand(input), ...args); }; const makePagedRequest = async ( client: Mobile, diff --git a/clients/client-mobile/pagination/ListProjectsPaginator.ts b/clients/client-mobile/pagination/ListProjectsPaginator.ts index 137a0df0e82c..8a484a6c7448 100644 --- a/clients/client-mobile/pagination/ListProjectsPaginator.ts +++ b/clients/client-mobile/pagination/ListProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProjectsCommand(input, ...args)); + return await client.send(new ListProjectsCommand(input), ...args); }; const makePagedRequest = async ( client: Mobile, diff --git a/clients/client-mq/pagination/ListBrokersPaginator.ts b/clients/client-mq/pagination/ListBrokersPaginator.ts index 3dab9efdfd0e..ed1ba72dd533 100644 --- a/clients/client-mq/pagination/ListBrokersPaginator.ts +++ b/clients/client-mq/pagination/ListBrokersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBrokersCommand(input, ...args)); + return await client.send(new ListBrokersCommand(input), ...args); }; const makePagedRequest = async ( client: Mq, diff --git a/clients/client-mturk/pagination/ListAssignmentsForHITPaginator.ts b/clients/client-mturk/pagination/ListAssignmentsForHITPaginator.ts index 0a6cff8a6e36..4b7c75691e64 100644 --- a/clients/client-mturk/pagination/ListAssignmentsForHITPaginator.ts +++ b/clients/client-mturk/pagination/ListAssignmentsForHITPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssignmentsForHITCommand(input, ...args)); + return await client.send(new ListAssignmentsForHITCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListBonusPaymentsPaginator.ts b/clients/client-mturk/pagination/ListBonusPaymentsPaginator.ts index c3918c8ca24b..26a50d0b4219 100644 --- a/clients/client-mturk/pagination/ListBonusPaymentsPaginator.ts +++ b/clients/client-mturk/pagination/ListBonusPaymentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBonusPaymentsCommand(input, ...args)); + return await client.send(new ListBonusPaymentsCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListHITsForQualificationTypePaginator.ts b/clients/client-mturk/pagination/ListHITsForQualificationTypePaginator.ts index 4837bead4e19..e00562c19d86 100644 --- a/clients/client-mturk/pagination/ListHITsForQualificationTypePaginator.ts +++ b/clients/client-mturk/pagination/ListHITsForQualificationTypePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHITsForQualificationTypeCommand(input, ...args)); + return await client.send(new ListHITsForQualificationTypeCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListHITsPaginator.ts b/clients/client-mturk/pagination/ListHITsPaginator.ts index 882f58714652..43a9835d2a8a 100644 --- a/clients/client-mturk/pagination/ListHITsPaginator.ts +++ b/clients/client-mturk/pagination/ListHITsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHITsCommand(input, ...args)); + return await client.send(new ListHITsCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListQualificationRequestsPaginator.ts b/clients/client-mturk/pagination/ListQualificationRequestsPaginator.ts index e7817107d3a7..e7dd079e0819 100644 --- a/clients/client-mturk/pagination/ListQualificationRequestsPaginator.ts +++ b/clients/client-mturk/pagination/ListQualificationRequestsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQualificationRequestsCommand(input, ...args)); + return await client.send(new ListQualificationRequestsCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListQualificationTypesPaginator.ts b/clients/client-mturk/pagination/ListQualificationTypesPaginator.ts index 74b935066022..089f818480b9 100644 --- a/clients/client-mturk/pagination/ListQualificationTypesPaginator.ts +++ b/clients/client-mturk/pagination/ListQualificationTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQualificationTypesCommand(input, ...args)); + return await client.send(new ListQualificationTypesCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListReviewPolicyResultsForHITPaginator.ts b/clients/client-mturk/pagination/ListReviewPolicyResultsForHITPaginator.ts index 5cce8c9ea3e6..d553a155d293 100644 --- a/clients/client-mturk/pagination/ListReviewPolicyResultsForHITPaginator.ts +++ b/clients/client-mturk/pagination/ListReviewPolicyResultsForHITPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReviewPolicyResultsForHITCommand(input, ...args)); + return await client.send(new ListReviewPolicyResultsForHITCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListReviewableHITsPaginator.ts b/clients/client-mturk/pagination/ListReviewableHITsPaginator.ts index c42d416ad48a..ad593bd02999 100644 --- a/clients/client-mturk/pagination/ListReviewableHITsPaginator.ts +++ b/clients/client-mturk/pagination/ListReviewableHITsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListReviewableHITsCommand(input, ...args)); + return await client.send(new ListReviewableHITsCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListWorkerBlocksPaginator.ts b/clients/client-mturk/pagination/ListWorkerBlocksPaginator.ts index 33b16a322a8e..0ed22f1623db 100644 --- a/clients/client-mturk/pagination/ListWorkerBlocksPaginator.ts +++ b/clients/client-mturk/pagination/ListWorkerBlocksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkerBlocksCommand(input, ...args)); + return await client.send(new ListWorkerBlocksCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-mturk/pagination/ListWorkersWithQualificationTypePaginator.ts b/clients/client-mturk/pagination/ListWorkersWithQualificationTypePaginator.ts index 1c6a8c58ec74..c0cca6bdb1ad 100644 --- a/clients/client-mturk/pagination/ListWorkersWithQualificationTypePaginator.ts +++ b/clients/client-mturk/pagination/ListWorkersWithQualificationTypePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkersWithQualificationTypeCommand(input, ...args)); + return await client.send(new ListWorkersWithQualificationTypeCommand(input), ...args); }; const makePagedRequest = async ( client: MTurk, diff --git a/clients/client-neptune/pagination/DescribeDBClusterEndpointsPaginator.ts b/clients/client-neptune/pagination/DescribeDBClusterEndpointsPaginator.ts index 9f184e1bb1f8..5c1a5a849f1d 100644 --- a/clients/client-neptune/pagination/DescribeDBClusterEndpointsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBClusterEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterEndpointsCommand(input, ...args)); + return await client.send(new DescribeDBClusterEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBEngineVersionsPaginator.ts b/clients/client-neptune/pagination/DescribeDBEngineVersionsPaginator.ts index 2ba5cee68e48..368f22574d37 100644 --- a/clients/client-neptune/pagination/DescribeDBEngineVersionsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBEngineVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBEngineVersionsCommand(input, ...args)); + return await client.send(new DescribeDBEngineVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBInstancesPaginator.ts b/clients/client-neptune/pagination/DescribeDBInstancesPaginator.ts index 766b4fb83c07..565208285eb5 100644 --- a/clients/client-neptune/pagination/DescribeDBInstancesPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBInstancesCommand(input, ...args)); + return await client.send(new DescribeDBInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBParameterGroupsPaginator.ts b/clients/client-neptune/pagination/DescribeDBParameterGroupsPaginator.ts index d073ff99eb3e..cc567f17aa9e 100644 --- a/clients/client-neptune/pagination/DescribeDBParameterGroupsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBParameterGroupsCommand(input, ...args)); + return await client.send(new DescribeDBParameterGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBParametersPaginator.ts b/clients/client-neptune/pagination/DescribeDBParametersPaginator.ts index 9bf7a1add234..53cee158170b 100644 --- a/clients/client-neptune/pagination/DescribeDBParametersPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBParametersCommand(input, ...args)); + return await client.send(new DescribeDBParametersCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeDBSubnetGroupsPaginator.ts b/clients/client-neptune/pagination/DescribeDBSubnetGroupsPaginator.ts index 54cad66b4e8b..9e6848db8b86 100644 --- a/clients/client-neptune/pagination/DescribeDBSubnetGroupsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeDBSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSubnetGroupsCommand(input, ...args)); + return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeEngineDefaultParametersPaginator.ts b/clients/client-neptune/pagination/DescribeEngineDefaultParametersPaginator.ts index 80286dd36e7f..b74940d97962 100644 --- a/clients/client-neptune/pagination/DescribeEngineDefaultParametersPaginator.ts +++ b/clients/client-neptune/pagination/DescribeEngineDefaultParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEngineDefaultParametersCommand(input, ...args)); + return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeEventSubscriptionsPaginator.ts b/clients/client-neptune/pagination/DescribeEventSubscriptionsPaginator.ts index 1ceab35f8244..a17fbf352f9e 100644 --- a/clients/client-neptune/pagination/DescribeEventSubscriptionsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventSubscriptionsCommand(input, ...args)); + return await client.send(new DescribeEventSubscriptionsCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeEventsPaginator.ts b/clients/client-neptune/pagination/DescribeEventsPaginator.ts index 475601dca2ab..7001a84f92b7 100644 --- a/clients/client-neptune/pagination/DescribeEventsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input, ...args)); + return await client.send(new DescribeEventsCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-neptune/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts b/clients/client-neptune/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts index e9bd9f0c19eb..62ccb5cc37dd 100644 --- a/clients/client-neptune/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +++ b/clients/client-neptune/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input, ...args)); + return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args); }; const makePagedRequest = async ( client: Neptune, diff --git a/clients/client-networkmanager/pagination/DescribeGlobalNetworksPaginator.ts b/clients/client-networkmanager/pagination/DescribeGlobalNetworksPaginator.ts index 6d981c1ef6c0..7d504e3ebc95 100644 --- a/clients/client-networkmanager/pagination/DescribeGlobalNetworksPaginator.ts +++ b/clients/client-networkmanager/pagination/DescribeGlobalNetworksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGlobalNetworksCommand(input, ...args)); + return await client.send(new DescribeGlobalNetworksCommand(input), ...args); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetCustomerGatewayAssociationsPaginator.ts b/clients/client-networkmanager/pagination/GetCustomerGatewayAssociationsPaginator.ts index 52abfb960fc4..03db5e80c550 100644 --- a/clients/client-networkmanager/pagination/GetCustomerGatewayAssociationsPaginator.ts +++ b/clients/client-networkmanager/pagination/GetCustomerGatewayAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCustomerGatewayAssociationsCommand(input, ...args)); + return await client.send(new GetCustomerGatewayAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetDevicesPaginator.ts b/clients/client-networkmanager/pagination/GetDevicesPaginator.ts index d4794bb4da17..93b457a0705a 100644 --- a/clients/client-networkmanager/pagination/GetDevicesPaginator.ts +++ b/clients/client-networkmanager/pagination/GetDevicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDevicesCommand(input, ...args)); + return await client.send(new GetDevicesCommand(input), ...args); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetLinkAssociationsPaginator.ts b/clients/client-networkmanager/pagination/GetLinkAssociationsPaginator.ts index 79328e2dd7b5..4dd7755bfc6c 100644 --- a/clients/client-networkmanager/pagination/GetLinkAssociationsPaginator.ts +++ b/clients/client-networkmanager/pagination/GetLinkAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLinkAssociationsCommand(input, ...args)); + return await client.send(new GetLinkAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetLinksPaginator.ts b/clients/client-networkmanager/pagination/GetLinksPaginator.ts index baa13b1f95fb..9772257675c7 100644 --- a/clients/client-networkmanager/pagination/GetLinksPaginator.ts +++ b/clients/client-networkmanager/pagination/GetLinksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLinksCommand(input, ...args)); + return await client.send(new GetLinksCommand(input), ...args); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetSitesPaginator.ts b/clients/client-networkmanager/pagination/GetSitesPaginator.ts index 23eb6616e1a6..fce1a69ac501 100644 --- a/clients/client-networkmanager/pagination/GetSitesPaginator.ts +++ b/clients/client-networkmanager/pagination/GetSitesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSitesCommand(input, ...args)); + return await client.send(new GetSitesCommand(input), ...args); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-networkmanager/pagination/GetTransitGatewayRegistrationsPaginator.ts b/clients/client-networkmanager/pagination/GetTransitGatewayRegistrationsPaginator.ts index de0bf615ffbe..c56eecc5b6c3 100644 --- a/clients/client-networkmanager/pagination/GetTransitGatewayRegistrationsPaginator.ts +++ b/clients/client-networkmanager/pagination/GetTransitGatewayRegistrationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTransitGatewayRegistrationsCommand(input, ...args)); + return await client.send(new GetTransitGatewayRegistrationsCommand(input), ...args); }; const makePagedRequest = async ( client: NetworkManager, diff --git a/clients/client-opsworks/pagination/DescribeEcsClustersPaginator.ts b/clients/client-opsworks/pagination/DescribeEcsClustersPaginator.ts index c5516c9ea4b2..b62a3dd3c0e5 100644 --- a/clients/client-opsworks/pagination/DescribeEcsClustersPaginator.ts +++ b/clients/client-opsworks/pagination/DescribeEcsClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEcsClustersCommand(input, ...args)); + return await client.send(new DescribeEcsClustersCommand(input), ...args); }; const makePagedRequest = async ( client: OpsWorks, diff --git a/clients/client-opsworkscm/pagination/DescribeBackupsPaginator.ts b/clients/client-opsworkscm/pagination/DescribeBackupsPaginator.ts index 61dcb081478f..0f573e4b150d 100644 --- a/clients/client-opsworkscm/pagination/DescribeBackupsPaginator.ts +++ b/clients/client-opsworkscm/pagination/DescribeBackupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeBackupsCommand(input, ...args)); + return await client.send(new DescribeBackupsCommand(input), ...args); }; const makePagedRequest = async ( client: OpsWorksCM, diff --git a/clients/client-opsworkscm/pagination/DescribeEventsPaginator.ts b/clients/client-opsworkscm/pagination/DescribeEventsPaginator.ts index 9d3bea109fc1..d1526508cb96 100644 --- a/clients/client-opsworkscm/pagination/DescribeEventsPaginator.ts +++ b/clients/client-opsworkscm/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input, ...args)); + return await client.send(new DescribeEventsCommand(input), ...args); }; const makePagedRequest = async ( client: OpsWorksCM, diff --git a/clients/client-opsworkscm/pagination/DescribeServersPaginator.ts b/clients/client-opsworkscm/pagination/DescribeServersPaginator.ts index ec3c42d08d87..2df990fdae32 100644 --- a/clients/client-opsworkscm/pagination/DescribeServersPaginator.ts +++ b/clients/client-opsworkscm/pagination/DescribeServersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeServersCommand(input, ...args)); + return await client.send(new DescribeServersCommand(input), ...args); }; const makePagedRequest = async ( client: OpsWorksCM, diff --git a/clients/client-opsworkscm/pagination/ListTagsForResourcePaginator.ts b/clients/client-opsworkscm/pagination/ListTagsForResourcePaginator.ts index 66c13b5d82ba..3dad7ae0c9cd 100644 --- a/clients/client-opsworkscm/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-opsworkscm/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: OpsWorksCM, diff --git a/clients/client-organizations/pagination/ListAWSServiceAccessForOrganizationPaginator.ts b/clients/client-organizations/pagination/ListAWSServiceAccessForOrganizationPaginator.ts index 62f85da9a972..baa417369653 100644 --- a/clients/client-organizations/pagination/ListAWSServiceAccessForOrganizationPaginator.ts +++ b/clients/client-organizations/pagination/ListAWSServiceAccessForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAWSServiceAccessForOrganizationCommand(input, ...args)); + return await client.send(new ListAWSServiceAccessForOrganizationCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListAccountsForParentPaginator.ts b/clients/client-organizations/pagination/ListAccountsForParentPaginator.ts index e85285720dbb..4b75904716e1 100644 --- a/clients/client-organizations/pagination/ListAccountsForParentPaginator.ts +++ b/clients/client-organizations/pagination/ListAccountsForParentPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsForParentCommand(input, ...args)); + return await client.send(new ListAccountsForParentCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListAccountsPaginator.ts b/clients/client-organizations/pagination/ListAccountsPaginator.ts index 6bf4b3908bc6..7e5aecf4fc73 100644 --- a/clients/client-organizations/pagination/ListAccountsPaginator.ts +++ b/clients/client-organizations/pagination/ListAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsCommand(input, ...args)); + return await client.send(new ListAccountsCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListChildrenPaginator.ts b/clients/client-organizations/pagination/ListChildrenPaginator.ts index ec9608fec7a0..989746e0b451 100644 --- a/clients/client-organizations/pagination/ListChildrenPaginator.ts +++ b/clients/client-organizations/pagination/ListChildrenPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListChildrenCommand(input, ...args)); + return await client.send(new ListChildrenCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListCreateAccountStatusPaginator.ts b/clients/client-organizations/pagination/ListCreateAccountStatusPaginator.ts index a85664be8b0f..d3486d43913b 100644 --- a/clients/client-organizations/pagination/ListCreateAccountStatusPaginator.ts +++ b/clients/client-organizations/pagination/ListCreateAccountStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCreateAccountStatusCommand(input, ...args)); + return await client.send(new ListCreateAccountStatusCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListDelegatedAdministratorsPaginator.ts b/clients/client-organizations/pagination/ListDelegatedAdministratorsPaginator.ts index 51c67f50b8bd..8d5888f37198 100644 --- a/clients/client-organizations/pagination/ListDelegatedAdministratorsPaginator.ts +++ b/clients/client-organizations/pagination/ListDelegatedAdministratorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDelegatedAdministratorsCommand(input, ...args)); + return await client.send(new ListDelegatedAdministratorsCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListDelegatedServicesForAccountPaginator.ts b/clients/client-organizations/pagination/ListDelegatedServicesForAccountPaginator.ts index 9f75fc1aaffc..10fbd6862889 100644 --- a/clients/client-organizations/pagination/ListDelegatedServicesForAccountPaginator.ts +++ b/clients/client-organizations/pagination/ListDelegatedServicesForAccountPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDelegatedServicesForAccountCommand(input, ...args)); + return await client.send(new ListDelegatedServicesForAccountCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListHandshakesForAccountPaginator.ts b/clients/client-organizations/pagination/ListHandshakesForAccountPaginator.ts index b55dab08ff76..a9752bbdc858 100644 --- a/clients/client-organizations/pagination/ListHandshakesForAccountPaginator.ts +++ b/clients/client-organizations/pagination/ListHandshakesForAccountPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHandshakesForAccountCommand(input, ...args)); + return await client.send(new ListHandshakesForAccountCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListHandshakesForOrganizationPaginator.ts b/clients/client-organizations/pagination/ListHandshakesForOrganizationPaginator.ts index a1a2af9013c9..c60662afcf4c 100644 --- a/clients/client-organizations/pagination/ListHandshakesForOrganizationPaginator.ts +++ b/clients/client-organizations/pagination/ListHandshakesForOrganizationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHandshakesForOrganizationCommand(input, ...args)); + return await client.send(new ListHandshakesForOrganizationCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListOrganizationalUnitsForParentPaginator.ts b/clients/client-organizations/pagination/ListOrganizationalUnitsForParentPaginator.ts index 6aaffb6a14f4..5b783d099a22 100644 --- a/clients/client-organizations/pagination/ListOrganizationalUnitsForParentPaginator.ts +++ b/clients/client-organizations/pagination/ListOrganizationalUnitsForParentPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationalUnitsForParentCommand(input, ...args)); + return await client.send(new ListOrganizationalUnitsForParentCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListParentsPaginator.ts b/clients/client-organizations/pagination/ListParentsPaginator.ts index b1ab6aaf4660..4807feb9e80b 100644 --- a/clients/client-organizations/pagination/ListParentsPaginator.ts +++ b/clients/client-organizations/pagination/ListParentsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListParentsCommand(input, ...args)); + return await client.send(new ListParentsCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListPoliciesForTargetPaginator.ts b/clients/client-organizations/pagination/ListPoliciesForTargetPaginator.ts index c73662240bd9..4d0d493ac626 100644 --- a/clients/client-organizations/pagination/ListPoliciesForTargetPaginator.ts +++ b/clients/client-organizations/pagination/ListPoliciesForTargetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesForTargetCommand(input, ...args)); + return await client.send(new ListPoliciesForTargetCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListPoliciesPaginator.ts b/clients/client-organizations/pagination/ListPoliciesPaginator.ts index 18079a29d6b8..e2233ae27be7 100644 --- a/clients/client-organizations/pagination/ListPoliciesPaginator.ts +++ b/clients/client-organizations/pagination/ListPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPoliciesCommand(input, ...args)); + return await client.send(new ListPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListRootsPaginator.ts b/clients/client-organizations/pagination/ListRootsPaginator.ts index 98ce7dd7a35c..ea32531c0b23 100644 --- a/clients/client-organizations/pagination/ListRootsPaginator.ts +++ b/clients/client-organizations/pagination/ListRootsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRootsCommand(input, ...args)); + return await client.send(new ListRootsCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListTagsForResourcePaginator.ts b/clients/client-organizations/pagination/ListTagsForResourcePaginator.ts index fd936481bd51..3219950f1f72 100644 --- a/clients/client-organizations/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-organizations/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-organizations/pagination/ListTargetsForPolicyPaginator.ts b/clients/client-organizations/pagination/ListTargetsForPolicyPaginator.ts index 5d16f789c062..bf117a9d7d17 100644 --- a/clients/client-organizations/pagination/ListTargetsForPolicyPaginator.ts +++ b/clients/client-organizations/pagination/ListTargetsForPolicyPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTargetsForPolicyCommand(input, ...args)); + return await client.send(new ListTargetsForPolicyCommand(input), ...args); }; const makePagedRequest = async ( client: Organizations, diff --git a/clients/client-outposts/pagination/ListOutpostsPaginator.ts b/clients/client-outposts/pagination/ListOutpostsPaginator.ts index ce1153bfe350..ad0a23ff85b1 100644 --- a/clients/client-outposts/pagination/ListOutpostsPaginator.ts +++ b/clients/client-outposts/pagination/ListOutpostsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOutpostsCommand(input, ...args)); + return await client.send(new ListOutpostsCommand(input), ...args); }; const makePagedRequest = async ( client: Outposts, diff --git a/clients/client-outposts/pagination/ListSitesPaginator.ts b/clients/client-outposts/pagination/ListSitesPaginator.ts index 4e994ac6c540..a24149f68b32 100644 --- a/clients/client-outposts/pagination/ListSitesPaginator.ts +++ b/clients/client-outposts/pagination/ListSitesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSitesCommand(input, ...args)); + return await client.send(new ListSitesCommand(input), ...args); }; const makePagedRequest = async ( client: Outposts, diff --git a/clients/client-personalize/pagination/ListBatchInferenceJobsPaginator.ts b/clients/client-personalize/pagination/ListBatchInferenceJobsPaginator.ts index 8b0ceb77ffd0..c47413f66b01 100644 --- a/clients/client-personalize/pagination/ListBatchInferenceJobsPaginator.ts +++ b/clients/client-personalize/pagination/ListBatchInferenceJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBatchInferenceJobsCommand(input, ...args)); + return await client.send(new ListBatchInferenceJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListCampaignsPaginator.ts b/clients/client-personalize/pagination/ListCampaignsPaginator.ts index edd1b2568e0f..89abf876fc97 100644 --- a/clients/client-personalize/pagination/ListCampaignsPaginator.ts +++ b/clients/client-personalize/pagination/ListCampaignsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCampaignsCommand(input, ...args)); + return await client.send(new ListCampaignsCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListDatasetGroupsPaginator.ts b/clients/client-personalize/pagination/ListDatasetGroupsPaginator.ts index 0acf0780ddfc..1f82588ccc28 100644 --- a/clients/client-personalize/pagination/ListDatasetGroupsPaginator.ts +++ b/clients/client-personalize/pagination/ListDatasetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetGroupsCommand(input, ...args)); + return await client.send(new ListDatasetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListDatasetImportJobsPaginator.ts b/clients/client-personalize/pagination/ListDatasetImportJobsPaginator.ts index f74507a1574b..9725f0d33730 100644 --- a/clients/client-personalize/pagination/ListDatasetImportJobsPaginator.ts +++ b/clients/client-personalize/pagination/ListDatasetImportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetImportJobsCommand(input, ...args)); + return await client.send(new ListDatasetImportJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListDatasetsPaginator.ts b/clients/client-personalize/pagination/ListDatasetsPaginator.ts index bceffa460790..f454be47d5cb 100644 --- a/clients/client-personalize/pagination/ListDatasetsPaginator.ts +++ b/clients/client-personalize/pagination/ListDatasetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatasetsCommand(input, ...args)); + return await client.send(new ListDatasetsCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListEventTrackersPaginator.ts b/clients/client-personalize/pagination/ListEventTrackersPaginator.ts index fb3325dcac45..3fd6af798d2c 100644 --- a/clients/client-personalize/pagination/ListEventTrackersPaginator.ts +++ b/clients/client-personalize/pagination/ListEventTrackersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEventTrackersCommand(input, ...args)); + return await client.send(new ListEventTrackersCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListRecipesPaginator.ts b/clients/client-personalize/pagination/ListRecipesPaginator.ts index 83a7fdebf0df..a8ef4b17338e 100644 --- a/clients/client-personalize/pagination/ListRecipesPaginator.ts +++ b/clients/client-personalize/pagination/ListRecipesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRecipesCommand(input, ...args)); + return await client.send(new ListRecipesCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListSchemasPaginator.ts b/clients/client-personalize/pagination/ListSchemasPaginator.ts index dbeae359f911..5e8f8eec4697 100644 --- a/clients/client-personalize/pagination/ListSchemasPaginator.ts +++ b/clients/client-personalize/pagination/ListSchemasPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSchemasCommand(input, ...args)); + return await client.send(new ListSchemasCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListSolutionVersionsPaginator.ts b/clients/client-personalize/pagination/ListSolutionVersionsPaginator.ts index 2203a2d183b3..3ed6e1dbbf61 100644 --- a/clients/client-personalize/pagination/ListSolutionVersionsPaginator.ts +++ b/clients/client-personalize/pagination/ListSolutionVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSolutionVersionsCommand(input, ...args)); + return await client.send(new ListSolutionVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-personalize/pagination/ListSolutionsPaginator.ts b/clients/client-personalize/pagination/ListSolutionsPaginator.ts index 2a6fe8c2b986..bc58de1dd25e 100644 --- a/clients/client-personalize/pagination/ListSolutionsPaginator.ts +++ b/clients/client-personalize/pagination/ListSolutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSolutionsCommand(input, ...args)); + return await client.send(new ListSolutionsCommand(input), ...args); }; const makePagedRequest = async ( client: Personalize, diff --git a/clients/client-pinpoint-email/pagination/GetDedicatedIpsPaginator.ts b/clients/client-pinpoint-email/pagination/GetDedicatedIpsPaginator.ts index 554dedc13ea0..19a795533547 100644 --- a/clients/client-pinpoint-email/pagination/GetDedicatedIpsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/GetDedicatedIpsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDedicatedIpsCommand(input, ...args)); + return await client.send(new GetDedicatedIpsCommand(input), ...args); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListConfigurationSetsPaginator.ts b/clients/client-pinpoint-email/pagination/ListConfigurationSetsPaginator.ts index 243f585d68fd..520a83582aa1 100644 --- a/clients/client-pinpoint-email/pagination/ListConfigurationSetsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListConfigurationSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationSetsCommand(input, ...args)); + return await client.send(new ListConfigurationSetsCommand(input), ...args); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListDedicatedIpPoolsPaginator.ts b/clients/client-pinpoint-email/pagination/ListDedicatedIpPoolsPaginator.ts index 0feaa05600d4..990cda51d011 100644 --- a/clients/client-pinpoint-email/pagination/ListDedicatedIpPoolsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListDedicatedIpPoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDedicatedIpPoolsCommand(input, ...args)); + return await client.send(new ListDedicatedIpPoolsCommand(input), ...args); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListDeliverabilityTestReportsPaginator.ts b/clients/client-pinpoint-email/pagination/ListDeliverabilityTestReportsPaginator.ts index c5d1f3a391a7..d11800e97f13 100644 --- a/clients/client-pinpoint-email/pagination/ListDeliverabilityTestReportsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListDeliverabilityTestReportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeliverabilityTestReportsCommand(input, ...args)); + return await client.send(new ListDeliverabilityTestReportsCommand(input), ...args); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListDomainDeliverabilityCampaignsPaginator.ts b/clients/client-pinpoint-email/pagination/ListDomainDeliverabilityCampaignsPaginator.ts index f75cc4400723..630ef13d4922 100644 --- a/clients/client-pinpoint-email/pagination/ListDomainDeliverabilityCampaignsPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListDomainDeliverabilityCampaignsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainDeliverabilityCampaignsCommand(input, ...args)); + return await client.send(new ListDomainDeliverabilityCampaignsCommand(input), ...args); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-pinpoint-email/pagination/ListEmailIdentitiesPaginator.ts b/clients/client-pinpoint-email/pagination/ListEmailIdentitiesPaginator.ts index bb95cbc08b0d..c7ab9c2262e8 100644 --- a/clients/client-pinpoint-email/pagination/ListEmailIdentitiesPaginator.ts +++ b/clients/client-pinpoint-email/pagination/ListEmailIdentitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEmailIdentitiesCommand(input, ...args)); + return await client.send(new ListEmailIdentitiesCommand(input), ...args); }; const makePagedRequest = async ( client: PinpointEmail, diff --git a/clients/client-polly/pagination/ListSpeechSynthesisTasksPaginator.ts b/clients/client-polly/pagination/ListSpeechSynthesisTasksPaginator.ts index 2c815b5b1d33..e21d799e9e11 100644 --- a/clients/client-polly/pagination/ListSpeechSynthesisTasksPaginator.ts +++ b/clients/client-polly/pagination/ListSpeechSynthesisTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSpeechSynthesisTasksCommand(input, ...args)); + return await client.send(new ListSpeechSynthesisTasksCommand(input), ...args); }; const makePagedRequest = async ( client: Polly, diff --git a/clients/client-pricing/pagination/DescribeServicesPaginator.ts b/clients/client-pricing/pagination/DescribeServicesPaginator.ts index 12346eb97e7a..eee2e4ae6a17 100644 --- a/clients/client-pricing/pagination/DescribeServicesPaginator.ts +++ b/clients/client-pricing/pagination/DescribeServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeServicesCommand(input, ...args)); + return await client.send(new DescribeServicesCommand(input), ...args); }; const makePagedRequest = async ( client: Pricing, diff --git a/clients/client-pricing/pagination/GetAttributeValuesPaginator.ts b/clients/client-pricing/pagination/GetAttributeValuesPaginator.ts index 46c6d2a51b76..536bc5f784fc 100644 --- a/clients/client-pricing/pagination/GetAttributeValuesPaginator.ts +++ b/clients/client-pricing/pagination/GetAttributeValuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetAttributeValuesCommand(input, ...args)); + return await client.send(new GetAttributeValuesCommand(input), ...args); }; const makePagedRequest = async ( client: Pricing, diff --git a/clients/client-pricing/pagination/GetProductsPaginator.ts b/clients/client-pricing/pagination/GetProductsPaginator.ts index 670d0550a4da..936e612edf25 100644 --- a/clients/client-pricing/pagination/GetProductsPaginator.ts +++ b/clients/client-pricing/pagination/GetProductsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetProductsCommand(input, ...args)); + return await client.send(new GetProductsCommand(input), ...args); }; const makePagedRequest = async ( client: Pricing, diff --git a/clients/client-qldb/pagination/ListJournalKinesisStreamsForLedgerPaginator.ts b/clients/client-qldb/pagination/ListJournalKinesisStreamsForLedgerPaginator.ts index bb74993a0143..14cb8f37ab76 100644 --- a/clients/client-qldb/pagination/ListJournalKinesisStreamsForLedgerPaginator.ts +++ b/clients/client-qldb/pagination/ListJournalKinesisStreamsForLedgerPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJournalKinesisStreamsForLedgerCommand(input, ...args)); + return await client.send(new ListJournalKinesisStreamsForLedgerCommand(input), ...args); }; const makePagedRequest = async ( client: QLDB, diff --git a/clients/client-qldb/pagination/ListJournalS3ExportsForLedgerPaginator.ts b/clients/client-qldb/pagination/ListJournalS3ExportsForLedgerPaginator.ts index 97a283fd9ef1..547f7cf4bc08 100644 --- a/clients/client-qldb/pagination/ListJournalS3ExportsForLedgerPaginator.ts +++ b/clients/client-qldb/pagination/ListJournalS3ExportsForLedgerPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJournalS3ExportsForLedgerCommand(input, ...args)); + return await client.send(new ListJournalS3ExportsForLedgerCommand(input), ...args); }; const makePagedRequest = async ( client: QLDB, diff --git a/clients/client-qldb/pagination/ListJournalS3ExportsPaginator.ts b/clients/client-qldb/pagination/ListJournalS3ExportsPaginator.ts index a468d0cc26f0..548018f5716f 100644 --- a/clients/client-qldb/pagination/ListJournalS3ExportsPaginator.ts +++ b/clients/client-qldb/pagination/ListJournalS3ExportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJournalS3ExportsCommand(input, ...args)); + return await client.send(new ListJournalS3ExportsCommand(input), ...args); }; const makePagedRequest = async ( client: QLDB, diff --git a/clients/client-qldb/pagination/ListLedgersPaginator.ts b/clients/client-qldb/pagination/ListLedgersPaginator.ts index 1c2e22669be6..982838f72cac 100644 --- a/clients/client-qldb/pagination/ListLedgersPaginator.ts +++ b/clients/client-qldb/pagination/ListLedgersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLedgersCommand(input, ...args)); + return await client.send(new ListLedgersCommand(input), ...args); }; const makePagedRequest = async ( client: QLDB, diff --git a/clients/client-quicksight/pagination/ListAnalysesPaginator.ts b/clients/client-quicksight/pagination/ListAnalysesPaginator.ts index e61bd8c42bb8..8c18470a5f03 100644 --- a/clients/client-quicksight/pagination/ListAnalysesPaginator.ts +++ b/clients/client-quicksight/pagination/ListAnalysesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAnalysesCommand(input, ...args)); + return await client.send(new ListAnalysesCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListDashboardVersionsPaginator.ts b/clients/client-quicksight/pagination/ListDashboardVersionsPaginator.ts index 1418eb10d7a7..6d7bd619f418 100644 --- a/clients/client-quicksight/pagination/ListDashboardVersionsPaginator.ts +++ b/clients/client-quicksight/pagination/ListDashboardVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDashboardVersionsCommand(input, ...args)); + return await client.send(new ListDashboardVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListDashboardsPaginator.ts b/clients/client-quicksight/pagination/ListDashboardsPaginator.ts index 067707d6bf44..e2607bb9f149 100644 --- a/clients/client-quicksight/pagination/ListDashboardsPaginator.ts +++ b/clients/client-quicksight/pagination/ListDashboardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDashboardsCommand(input, ...args)); + return await client.send(new ListDashboardsCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListDataSetsPaginator.ts b/clients/client-quicksight/pagination/ListDataSetsPaginator.ts index b4988c08c86e..91fd3d207d83 100644 --- a/clients/client-quicksight/pagination/ListDataSetsPaginator.ts +++ b/clients/client-quicksight/pagination/ListDataSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSetsCommand(input, ...args)); + return await client.send(new ListDataSetsCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListDataSourcesPaginator.ts b/clients/client-quicksight/pagination/ListDataSourcesPaginator.ts index 128036462936..72b765acf28e 100644 --- a/clients/client-quicksight/pagination/ListDataSourcesPaginator.ts +++ b/clients/client-quicksight/pagination/ListDataSourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDataSourcesCommand(input, ...args)); + return await client.send(new ListDataSourcesCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListIngestionsPaginator.ts b/clients/client-quicksight/pagination/ListIngestionsPaginator.ts index 337ff6b86867..4235918952bc 100644 --- a/clients/client-quicksight/pagination/ListIngestionsPaginator.ts +++ b/clients/client-quicksight/pagination/ListIngestionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIngestionsCommand(input, ...args)); + return await client.send(new ListIngestionsCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListNamespacesPaginator.ts b/clients/client-quicksight/pagination/ListNamespacesPaginator.ts index a1d97827f9bd..56ff3f8e5de6 100644 --- a/clients/client-quicksight/pagination/ListNamespacesPaginator.ts +++ b/clients/client-quicksight/pagination/ListNamespacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNamespacesCommand(input, ...args)); + return await client.send(new ListNamespacesCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListTemplateAliasesPaginator.ts b/clients/client-quicksight/pagination/ListTemplateAliasesPaginator.ts index aadebda214a0..d6eaf26df6b0 100644 --- a/clients/client-quicksight/pagination/ListTemplateAliasesPaginator.ts +++ b/clients/client-quicksight/pagination/ListTemplateAliasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTemplateAliasesCommand(input, ...args)); + return await client.send(new ListTemplateAliasesCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListTemplateVersionsPaginator.ts b/clients/client-quicksight/pagination/ListTemplateVersionsPaginator.ts index a075b649c60d..16f28c387c4c 100644 --- a/clients/client-quicksight/pagination/ListTemplateVersionsPaginator.ts +++ b/clients/client-quicksight/pagination/ListTemplateVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTemplateVersionsCommand(input, ...args)); + return await client.send(new ListTemplateVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/ListTemplatesPaginator.ts b/clients/client-quicksight/pagination/ListTemplatesPaginator.ts index 264ad65cc715..e5331c97c6a3 100644 --- a/clients/client-quicksight/pagination/ListTemplatesPaginator.ts +++ b/clients/client-quicksight/pagination/ListTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTemplatesCommand(input, ...args)); + return await client.send(new ListTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/SearchAnalysesPaginator.ts b/clients/client-quicksight/pagination/SearchAnalysesPaginator.ts index ad942b8c6c84..6cd8b666f40d 100644 --- a/clients/client-quicksight/pagination/SearchAnalysesPaginator.ts +++ b/clients/client-quicksight/pagination/SearchAnalysesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchAnalysesCommand(input, ...args)); + return await client.send(new SearchAnalysesCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-quicksight/pagination/SearchDashboardsPaginator.ts b/clients/client-quicksight/pagination/SearchDashboardsPaginator.ts index d1359eddd8ae..5e53b6ff4f32 100644 --- a/clients/client-quicksight/pagination/SearchDashboardsPaginator.ts +++ b/clients/client-quicksight/pagination/SearchDashboardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchDashboardsCommand(input, ...args)); + return await client.send(new SearchDashboardsCommand(input), ...args); }; const makePagedRequest = async ( client: QuickSight, diff --git a/clients/client-ram/pagination/GetResourcePoliciesPaginator.ts b/clients/client-ram/pagination/GetResourcePoliciesPaginator.ts index d14f39fb19d6..7f7da67e6ce0 100644 --- a/clients/client-ram/pagination/GetResourcePoliciesPaginator.ts +++ b/clients/client-ram/pagination/GetResourcePoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourcePoliciesCommand(input, ...args)); + return await client.send(new GetResourcePoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/GetResourceShareAssociationsPaginator.ts b/clients/client-ram/pagination/GetResourceShareAssociationsPaginator.ts index f3844d2f76eb..da5fade7ade8 100644 --- a/clients/client-ram/pagination/GetResourceShareAssociationsPaginator.ts +++ b/clients/client-ram/pagination/GetResourceShareAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourceShareAssociationsCommand(input, ...args)); + return await client.send(new GetResourceShareAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/GetResourceShareInvitationsPaginator.ts b/clients/client-ram/pagination/GetResourceShareInvitationsPaginator.ts index 67b76650b3fa..65f7622fa3d3 100644 --- a/clients/client-ram/pagination/GetResourceShareInvitationsPaginator.ts +++ b/clients/client-ram/pagination/GetResourceShareInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourceShareInvitationsCommand(input, ...args)); + return await client.send(new GetResourceShareInvitationsCommand(input), ...args); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/GetResourceSharesPaginator.ts b/clients/client-ram/pagination/GetResourceSharesPaginator.ts index fdf2f8ed45f4..38a472719139 100644 --- a/clients/client-ram/pagination/GetResourceSharesPaginator.ts +++ b/clients/client-ram/pagination/GetResourceSharesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourceSharesCommand(input, ...args)); + return await client.send(new GetResourceSharesCommand(input), ...args); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/ListPendingInvitationResourcesPaginator.ts b/clients/client-ram/pagination/ListPendingInvitationResourcesPaginator.ts index 109919f3bc62..99344f20fa11 100644 --- a/clients/client-ram/pagination/ListPendingInvitationResourcesPaginator.ts +++ b/clients/client-ram/pagination/ListPendingInvitationResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPendingInvitationResourcesCommand(input, ...args)); + return await client.send(new ListPendingInvitationResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/ListPrincipalsPaginator.ts b/clients/client-ram/pagination/ListPrincipalsPaginator.ts index 4da20b2ce5ed..878d975eb26c 100644 --- a/clients/client-ram/pagination/ListPrincipalsPaginator.ts +++ b/clients/client-ram/pagination/ListPrincipalsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPrincipalsCommand(input, ...args)); + return await client.send(new ListPrincipalsCommand(input), ...args); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-ram/pagination/ListResourcesPaginator.ts b/clients/client-ram/pagination/ListResourcesPaginator.ts index 34c52685bf5b..1a7e65b5a0cc 100644 --- a/clients/client-ram/pagination/ListResourcesPaginator.ts +++ b/clients/client-ram/pagination/ListResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourcesCommand(input, ...args)); + return await client.send(new ListResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: RAM, diff --git a/clients/client-rds/pagination/DescribeCertificatesPaginator.ts b/clients/client-rds/pagination/DescribeCertificatesPaginator.ts index 84a154b08c25..d401c6bf88ba 100644 --- a/clients/client-rds/pagination/DescribeCertificatesPaginator.ts +++ b/clients/client-rds/pagination/DescribeCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCertificatesCommand(input, ...args)); + return await client.send(new DescribeCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeCustomAvailabilityZonesPaginator.ts b/clients/client-rds/pagination/DescribeCustomAvailabilityZonesPaginator.ts index 6771eff3d71e..75730d2f9baf 100644 --- a/clients/client-rds/pagination/DescribeCustomAvailabilityZonesPaginator.ts +++ b/clients/client-rds/pagination/DescribeCustomAvailabilityZonesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCustomAvailabilityZonesCommand(input, ...args)); + return await client.send(new DescribeCustomAvailabilityZonesCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterBacktracksPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterBacktracksPaginator.ts index 2bd41d8499aa..669e42a9df8e 100644 --- a/clients/client-rds/pagination/DescribeDBClusterBacktracksPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterBacktracksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterBacktracksCommand(input, ...args)); + return await client.send(new DescribeDBClusterBacktracksCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterEndpointsPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterEndpointsPaginator.ts index f6543c84f305..890ab375c679 100644 --- a/clients/client-rds/pagination/DescribeDBClusterEndpointsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterEndpointsCommand(input, ...args)); + return await client.send(new DescribeDBClusterEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterParameterGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterParameterGroupsPaginator.ts index e3e70b46f80f..3847c7966b78 100644 --- a/clients/client-rds/pagination/DescribeDBClusterParameterGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterParameterGroupsCommand(input, ...args)); + return await client.send(new DescribeDBClusterParameterGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterParametersPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterParametersPaginator.ts index 325ec297d8a7..dc58f778da21 100644 --- a/clients/client-rds/pagination/DescribeDBClusterParametersPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterParametersCommand(input, ...args)); + return await client.send(new DescribeDBClusterParametersCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClusterSnapshotsPaginator.ts b/clients/client-rds/pagination/DescribeDBClusterSnapshotsPaginator.ts index 6e93e944df7b..1fcfa357aa8b 100644 --- a/clients/client-rds/pagination/DescribeDBClusterSnapshotsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClusterSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClusterSnapshotsCommand(input, ...args)); + return await client.send(new DescribeDBClusterSnapshotsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBClustersPaginator.ts b/clients/client-rds/pagination/DescribeDBClustersPaginator.ts index 24fc1a1c021c..407c561ca1b3 100644 --- a/clients/client-rds/pagination/DescribeDBClustersPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBClustersCommand(input, ...args)); + return await client.send(new DescribeDBClustersCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBEngineVersionsPaginator.ts b/clients/client-rds/pagination/DescribeDBEngineVersionsPaginator.ts index e75130c6c567..44b101261e63 100644 --- a/clients/client-rds/pagination/DescribeDBEngineVersionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBEngineVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBEngineVersionsCommand(input, ...args)); + return await client.send(new DescribeDBEngineVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBInstanceAutomatedBackupsPaginator.ts b/clients/client-rds/pagination/DescribeDBInstanceAutomatedBackupsPaginator.ts index 7bdd2194f9ef..5f176da4cbbd 100644 --- a/clients/client-rds/pagination/DescribeDBInstanceAutomatedBackupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBInstanceAutomatedBackupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBInstanceAutomatedBackupsCommand(input, ...args)); + return await client.send(new DescribeDBInstanceAutomatedBackupsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBInstancesPaginator.ts b/clients/client-rds/pagination/DescribeDBInstancesPaginator.ts index 2f5d5dd99aef..02197abf54cb 100644 --- a/clients/client-rds/pagination/DescribeDBInstancesPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBInstancesCommand(input, ...args)); + return await client.send(new DescribeDBInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBLogFilesPaginator.ts b/clients/client-rds/pagination/DescribeDBLogFilesPaginator.ts index 6c643cee474b..b415d81d563d 100644 --- a/clients/client-rds/pagination/DescribeDBLogFilesPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBLogFilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBLogFilesCommand(input, ...args)); + return await client.send(new DescribeDBLogFilesCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBParameterGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBParameterGroupsPaginator.ts index ea2bb6b0c87a..cdf1f08582ea 100644 --- a/clients/client-rds/pagination/DescribeDBParameterGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBParameterGroupsCommand(input, ...args)); + return await client.send(new DescribeDBParameterGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBParametersPaginator.ts b/clients/client-rds/pagination/DescribeDBParametersPaginator.ts index d12a998f6281..9f08f0c1e7f1 100644 --- a/clients/client-rds/pagination/DescribeDBParametersPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBParametersCommand(input, ...args)); + return await client.send(new DescribeDBParametersCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBProxiesPaginator.ts b/clients/client-rds/pagination/DescribeDBProxiesPaginator.ts index 7891d3ad4932..69800114a9f6 100644 --- a/clients/client-rds/pagination/DescribeDBProxiesPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBProxiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBProxiesCommand(input, ...args)); + return await client.send(new DescribeDBProxiesCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBProxyTargetGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBProxyTargetGroupsPaginator.ts index ae49ce82ec1f..bb308d5e2f7d 100644 --- a/clients/client-rds/pagination/DescribeDBProxyTargetGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBProxyTargetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBProxyTargetGroupsCommand(input, ...args)); + return await client.send(new DescribeDBProxyTargetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBProxyTargetsPaginator.ts b/clients/client-rds/pagination/DescribeDBProxyTargetsPaginator.ts index 425798b0973c..37cf345cea1e 100644 --- a/clients/client-rds/pagination/DescribeDBProxyTargetsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBProxyTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBProxyTargetsCommand(input, ...args)); + return await client.send(new DescribeDBProxyTargetsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBSecurityGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBSecurityGroupsPaginator.ts index d8945ab0af4c..60b30bc8b94b 100644 --- a/clients/client-rds/pagination/DescribeDBSecurityGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSecurityGroupsCommand(input, ...args)); + return await client.send(new DescribeDBSecurityGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBSnapshotsPaginator.ts b/clients/client-rds/pagination/DescribeDBSnapshotsPaginator.ts index b0caaa2e2ac7..d7e648e9f6bf 100644 --- a/clients/client-rds/pagination/DescribeDBSnapshotsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSnapshotsCommand(input, ...args)); + return await client.send(new DescribeDBSnapshotsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeDBSubnetGroupsPaginator.ts b/clients/client-rds/pagination/DescribeDBSubnetGroupsPaginator.ts index 6067e6608c03..0349c79e5d57 100644 --- a/clients/client-rds/pagination/DescribeDBSubnetGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeDBSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDBSubnetGroupsCommand(input, ...args)); + return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeEngineDefaultParametersPaginator.ts b/clients/client-rds/pagination/DescribeEngineDefaultParametersPaginator.ts index 8ecaff878b99..8d1218e88a5a 100644 --- a/clients/client-rds/pagination/DescribeEngineDefaultParametersPaginator.ts +++ b/clients/client-rds/pagination/DescribeEngineDefaultParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEngineDefaultParametersCommand(input, ...args)); + return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeEventSubscriptionsPaginator.ts b/clients/client-rds/pagination/DescribeEventSubscriptionsPaginator.ts index 6dfb9dad54d3..911c9b2a27c0 100644 --- a/clients/client-rds/pagination/DescribeEventSubscriptionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventSubscriptionsCommand(input, ...args)); + return await client.send(new DescribeEventSubscriptionsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeEventsPaginator.ts b/clients/client-rds/pagination/DescribeEventsPaginator.ts index d5398ac2bcab..6eccfb951e24 100644 --- a/clients/client-rds/pagination/DescribeEventsPaginator.ts +++ b/clients/client-rds/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input, ...args)); + return await client.send(new DescribeEventsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeExportTasksPaginator.ts b/clients/client-rds/pagination/DescribeExportTasksPaginator.ts index 7ee45ca47875..1794cf6f5c6e 100644 --- a/clients/client-rds/pagination/DescribeExportTasksPaginator.ts +++ b/clients/client-rds/pagination/DescribeExportTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeExportTasksCommand(input, ...args)); + return await client.send(new DescribeExportTasksCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeGlobalClustersPaginator.ts b/clients/client-rds/pagination/DescribeGlobalClustersPaginator.ts index d8b42339eb9c..1371fae1254e 100644 --- a/clients/client-rds/pagination/DescribeGlobalClustersPaginator.ts +++ b/clients/client-rds/pagination/DescribeGlobalClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeGlobalClustersCommand(input, ...args)); + return await client.send(new DescribeGlobalClustersCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeInstallationMediaPaginator.ts b/clients/client-rds/pagination/DescribeInstallationMediaPaginator.ts index 14223360b3a1..8106de0c45bd 100644 --- a/clients/client-rds/pagination/DescribeInstallationMediaPaginator.ts +++ b/clients/client-rds/pagination/DescribeInstallationMediaPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstallationMediaCommand(input, ...args)); + return await client.send(new DescribeInstallationMediaCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeOptionGroupOptionsPaginator.ts b/clients/client-rds/pagination/DescribeOptionGroupOptionsPaginator.ts index 198d28b10169..8f48a4f42e99 100644 --- a/clients/client-rds/pagination/DescribeOptionGroupOptionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeOptionGroupOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOptionGroupOptionsCommand(input, ...args)); + return await client.send(new DescribeOptionGroupOptionsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeOptionGroupsPaginator.ts b/clients/client-rds/pagination/DescribeOptionGroupsPaginator.ts index b46ab9e13e02..b1902b1e3a22 100644 --- a/clients/client-rds/pagination/DescribeOptionGroupsPaginator.ts +++ b/clients/client-rds/pagination/DescribeOptionGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOptionGroupsCommand(input, ...args)); + return await client.send(new DescribeOptionGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts b/clients/client-rds/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts index fabff73ea588..956f2123e282 100644 --- a/clients/client-rds/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input, ...args)); + return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribePendingMaintenanceActionsPaginator.ts b/clients/client-rds/pagination/DescribePendingMaintenanceActionsPaginator.ts index f1a3b3cea610..ba1bfc445ae6 100644 --- a/clients/client-rds/pagination/DescribePendingMaintenanceActionsPaginator.ts +++ b/clients/client-rds/pagination/DescribePendingMaintenanceActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePendingMaintenanceActionsCommand(input, ...args)); + return await client.send(new DescribePendingMaintenanceActionsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeReservedDBInstancesOfferingsPaginator.ts b/clients/client-rds/pagination/DescribeReservedDBInstancesOfferingsPaginator.ts index 4db1b61d2a94..e72b9a7b9238 100644 --- a/clients/client-rds/pagination/DescribeReservedDBInstancesOfferingsPaginator.ts +++ b/clients/client-rds/pagination/DescribeReservedDBInstancesOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedDBInstancesOfferingsCommand(input, ...args)); + return await client.send(new DescribeReservedDBInstancesOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeReservedDBInstancesPaginator.ts b/clients/client-rds/pagination/DescribeReservedDBInstancesPaginator.ts index 2be71ee67e8b..efe0d5d8728c 100644 --- a/clients/client-rds/pagination/DescribeReservedDBInstancesPaginator.ts +++ b/clients/client-rds/pagination/DescribeReservedDBInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedDBInstancesCommand(input, ...args)); + return await client.send(new DescribeReservedDBInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-rds/pagination/DescribeSourceRegionsPaginator.ts b/clients/client-rds/pagination/DescribeSourceRegionsPaginator.ts index ed4d30ad892c..81f9bdcabd4f 100644 --- a/clients/client-rds/pagination/DescribeSourceRegionsPaginator.ts +++ b/clients/client-rds/pagination/DescribeSourceRegionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSourceRegionsCommand(input, ...args)); + return await client.send(new DescribeSourceRegionsCommand(input), ...args); }; const makePagedRequest = async ( client: RDS, diff --git a/clients/client-redshift-data/pagination/DescribeTablePaginator.ts b/clients/client-redshift-data/pagination/DescribeTablePaginator.ts index 0c30f4774427..8d4c7b7124c9 100644 --- a/clients/client-redshift-data/pagination/DescribeTablePaginator.ts +++ b/clients/client-redshift-data/pagination/DescribeTablePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTableCommand(input, ...args)); + return await client.send(new DescribeTableCommand(input), ...args); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/GetStatementResultPaginator.ts b/clients/client-redshift-data/pagination/GetStatementResultPaginator.ts index 833ee515195a..e56ad82d1622 100644 --- a/clients/client-redshift-data/pagination/GetStatementResultPaginator.ts +++ b/clients/client-redshift-data/pagination/GetStatementResultPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetStatementResultCommand(input, ...args)); + return await client.send(new GetStatementResultCommand(input), ...args); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/ListDatabasesPaginator.ts b/clients/client-redshift-data/pagination/ListDatabasesPaginator.ts index 46c30c436033..9c1bb275381a 100644 --- a/clients/client-redshift-data/pagination/ListDatabasesPaginator.ts +++ b/clients/client-redshift-data/pagination/ListDatabasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatabasesCommand(input, ...args)); + return await client.send(new ListDatabasesCommand(input), ...args); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/ListSchemasPaginator.ts b/clients/client-redshift-data/pagination/ListSchemasPaginator.ts index 8c138a38b4b7..6bf45288b630 100644 --- a/clients/client-redshift-data/pagination/ListSchemasPaginator.ts +++ b/clients/client-redshift-data/pagination/ListSchemasPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSchemasCommand(input, ...args)); + return await client.send(new ListSchemasCommand(input), ...args); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/ListStatementsPaginator.ts b/clients/client-redshift-data/pagination/ListStatementsPaginator.ts index 65315ee6174c..b7f4f6269603 100644 --- a/clients/client-redshift-data/pagination/ListStatementsPaginator.ts +++ b/clients/client-redshift-data/pagination/ListStatementsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStatementsCommand(input, ...args)); + return await client.send(new ListStatementsCommand(input), ...args); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift-data/pagination/ListTablesPaginator.ts b/clients/client-redshift-data/pagination/ListTablesPaginator.ts index e63aae8cd179..9f7c1d106aad 100644 --- a/clients/client-redshift-data/pagination/ListTablesPaginator.ts +++ b/clients/client-redshift-data/pagination/ListTablesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTablesCommand(input, ...args)); + return await client.send(new ListTablesCommand(input), ...args); }; const makePagedRequest = async ( client: RedshiftData, diff --git a/clients/client-redshift/pagination/DescribeClusterParameterGroupsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterParameterGroupsPaginator.ts index 8d80d4411c93..bcef1465715b 100644 --- a/clients/client-redshift/pagination/DescribeClusterParameterGroupsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterParameterGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterParameterGroupsCommand(input, ...args)); + return await client.send(new DescribeClusterParameterGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterParametersPaginator.ts b/clients/client-redshift/pagination/DescribeClusterParametersPaginator.ts index 3719dfc5ca07..c27f7717ab21 100644 --- a/clients/client-redshift/pagination/DescribeClusterParametersPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterParametersCommand(input, ...args)); + return await client.send(new DescribeClusterParametersCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterSecurityGroupsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterSecurityGroupsPaginator.ts index 9d56498bdf38..c208fff76578 100644 --- a/clients/client-redshift/pagination/DescribeClusterSecurityGroupsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterSecurityGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterSecurityGroupsCommand(input, ...args)); + return await client.send(new DescribeClusterSecurityGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterSnapshotsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterSnapshotsPaginator.ts index a6ddf4fb78c7..0b6144370aa8 100644 --- a/clients/client-redshift/pagination/DescribeClusterSnapshotsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterSnapshotsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterSnapshotsCommand(input, ...args)); + return await client.send(new DescribeClusterSnapshotsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterSubnetGroupsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterSubnetGroupsPaginator.ts index 0e7b14c0ea13..a4cd508137d6 100644 --- a/clients/client-redshift/pagination/DescribeClusterSubnetGroupsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterSubnetGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterSubnetGroupsCommand(input, ...args)); + return await client.send(new DescribeClusterSubnetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClusterVersionsPaginator.ts b/clients/client-redshift/pagination/DescribeClusterVersionsPaginator.ts index 7cdb7b168fc3..5d4c0ca9955a 100644 --- a/clients/client-redshift/pagination/DescribeClusterVersionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClusterVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClusterVersionsCommand(input, ...args)); + return await client.send(new DescribeClusterVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeClustersPaginator.ts b/clients/client-redshift/pagination/DescribeClustersPaginator.ts index 541c0deddeb9..4c512ccce7d7 100644 --- a/clients/client-redshift/pagination/DescribeClustersPaginator.ts +++ b/clients/client-redshift/pagination/DescribeClustersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeClustersCommand(input, ...args)); + return await client.send(new DescribeClustersCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeDefaultClusterParametersPaginator.ts b/clients/client-redshift/pagination/DescribeDefaultClusterParametersPaginator.ts index 6e1d2363a534..376d8b3397a8 100644 --- a/clients/client-redshift/pagination/DescribeDefaultClusterParametersPaginator.ts +++ b/clients/client-redshift/pagination/DescribeDefaultClusterParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDefaultClusterParametersCommand(input, ...args)); + return await client.send(new DescribeDefaultClusterParametersCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeEventSubscriptionsPaginator.ts b/clients/client-redshift/pagination/DescribeEventSubscriptionsPaginator.ts index 9f14c5ee1ceb..d50504957779 100644 --- a/clients/client-redshift/pagination/DescribeEventSubscriptionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeEventSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventSubscriptionsCommand(input, ...args)); + return await client.send(new DescribeEventSubscriptionsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeEventsPaginator.ts b/clients/client-redshift/pagination/DescribeEventsPaginator.ts index 65c996f1e5fa..e5bdb3c52999 100644 --- a/clients/client-redshift/pagination/DescribeEventsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEventsCommand(input, ...args)); + return await client.send(new DescribeEventsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeHsmClientCertificatesPaginator.ts b/clients/client-redshift/pagination/DescribeHsmClientCertificatesPaginator.ts index fb390cb09e6c..e46964f83296 100644 --- a/clients/client-redshift/pagination/DescribeHsmClientCertificatesPaginator.ts +++ b/clients/client-redshift/pagination/DescribeHsmClientCertificatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHsmClientCertificatesCommand(input, ...args)); + return await client.send(new DescribeHsmClientCertificatesCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeHsmConfigurationsPaginator.ts b/clients/client-redshift/pagination/DescribeHsmConfigurationsPaginator.ts index c099a4ed822a..0e42960a98df 100644 --- a/clients/client-redshift/pagination/DescribeHsmConfigurationsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeHsmConfigurationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeHsmConfigurationsCommand(input, ...args)); + return await client.send(new DescribeHsmConfigurationsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeNodeConfigurationOptionsPaginator.ts b/clients/client-redshift/pagination/DescribeNodeConfigurationOptionsPaginator.ts index cdf9f7af1930..1de42db75be7 100644 --- a/clients/client-redshift/pagination/DescribeNodeConfigurationOptionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeNodeConfigurationOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeNodeConfigurationOptionsCommand(input, ...args)); + return await client.send(new DescribeNodeConfigurationOptionsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeOrderableClusterOptionsPaginator.ts b/clients/client-redshift/pagination/DescribeOrderableClusterOptionsPaginator.ts index 651e25846745..02e24dfce3af 100644 --- a/clients/client-redshift/pagination/DescribeOrderableClusterOptionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeOrderableClusterOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOrderableClusterOptionsCommand(input, ...args)); + return await client.send(new DescribeOrderableClusterOptionsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeReservedNodeOfferingsPaginator.ts b/clients/client-redshift/pagination/DescribeReservedNodeOfferingsPaginator.ts index 9885babab942..f9ea46e0cebd 100644 --- a/clients/client-redshift/pagination/DescribeReservedNodeOfferingsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeReservedNodeOfferingsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedNodeOfferingsCommand(input, ...args)); + return await client.send(new DescribeReservedNodeOfferingsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeReservedNodesPaginator.ts b/clients/client-redshift/pagination/DescribeReservedNodesPaginator.ts index a6e0e21bb0da..2e5a3931b242 100644 --- a/clients/client-redshift/pagination/DescribeReservedNodesPaginator.ts +++ b/clients/client-redshift/pagination/DescribeReservedNodesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeReservedNodesCommand(input, ...args)); + return await client.send(new DescribeReservedNodesCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeScheduledActionsPaginator.ts b/clients/client-redshift/pagination/DescribeScheduledActionsPaginator.ts index d1e096695155..43033885026d 100644 --- a/clients/client-redshift/pagination/DescribeScheduledActionsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeScheduledActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeScheduledActionsCommand(input, ...args)); + return await client.send(new DescribeScheduledActionsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-redshift/pagination/DescribeUsageLimitsPaginator.ts b/clients/client-redshift/pagination/DescribeUsageLimitsPaginator.ts index e0b75b37a425..835e4317dd10 100644 --- a/clients/client-redshift/pagination/DescribeUsageLimitsPaginator.ts +++ b/clients/client-redshift/pagination/DescribeUsageLimitsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUsageLimitsCommand(input, ...args)); + return await client.send(new DescribeUsageLimitsCommand(input), ...args); }; const makePagedRequest = async ( client: Redshift, diff --git a/clients/client-rekognition/pagination/DescribeProjectVersionsPaginator.ts b/clients/client-rekognition/pagination/DescribeProjectVersionsPaginator.ts index ed4386180065..bb21eebf5bf5 100644 --- a/clients/client-rekognition/pagination/DescribeProjectVersionsPaginator.ts +++ b/clients/client-rekognition/pagination/DescribeProjectVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeProjectVersionsCommand(input, ...args)); + return await client.send(new DescribeProjectVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/DescribeProjectsPaginator.ts b/clients/client-rekognition/pagination/DescribeProjectsPaginator.ts index 0c5919473e59..02f6f7e9c9e6 100644 --- a/clients/client-rekognition/pagination/DescribeProjectsPaginator.ts +++ b/clients/client-rekognition/pagination/DescribeProjectsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeProjectsCommand(input, ...args)); + return await client.send(new DescribeProjectsCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetCelebrityRecognitionPaginator.ts b/clients/client-rekognition/pagination/GetCelebrityRecognitionPaginator.ts index ea4081ad2fdb..f83e014dbaf9 100644 --- a/clients/client-rekognition/pagination/GetCelebrityRecognitionPaginator.ts +++ b/clients/client-rekognition/pagination/GetCelebrityRecognitionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCelebrityRecognitionCommand(input, ...args)); + return await client.send(new GetCelebrityRecognitionCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetContentModerationPaginator.ts b/clients/client-rekognition/pagination/GetContentModerationPaginator.ts index d3a3da6cc5ca..bc2e88a51315 100644 --- a/clients/client-rekognition/pagination/GetContentModerationPaginator.ts +++ b/clients/client-rekognition/pagination/GetContentModerationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetContentModerationCommand(input, ...args)); + return await client.send(new GetContentModerationCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetFaceDetectionPaginator.ts b/clients/client-rekognition/pagination/GetFaceDetectionPaginator.ts index f705c4441b1c..bc590249429a 100644 --- a/clients/client-rekognition/pagination/GetFaceDetectionPaginator.ts +++ b/clients/client-rekognition/pagination/GetFaceDetectionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetFaceDetectionCommand(input, ...args)); + return await client.send(new GetFaceDetectionCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetFaceSearchPaginator.ts b/clients/client-rekognition/pagination/GetFaceSearchPaginator.ts index 5f17c1b05ee9..2da6f0049602 100644 --- a/clients/client-rekognition/pagination/GetFaceSearchPaginator.ts +++ b/clients/client-rekognition/pagination/GetFaceSearchPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetFaceSearchCommand(input, ...args)); + return await client.send(new GetFaceSearchCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetLabelDetectionPaginator.ts b/clients/client-rekognition/pagination/GetLabelDetectionPaginator.ts index cfaf6a476cc2..830e04d9fdb5 100644 --- a/clients/client-rekognition/pagination/GetLabelDetectionPaginator.ts +++ b/clients/client-rekognition/pagination/GetLabelDetectionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetLabelDetectionCommand(input, ...args)); + return await client.send(new GetLabelDetectionCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetPersonTrackingPaginator.ts b/clients/client-rekognition/pagination/GetPersonTrackingPaginator.ts index 0a90ce3c821f..738ac209113a 100644 --- a/clients/client-rekognition/pagination/GetPersonTrackingPaginator.ts +++ b/clients/client-rekognition/pagination/GetPersonTrackingPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetPersonTrackingCommand(input, ...args)); + return await client.send(new GetPersonTrackingCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetSegmentDetectionPaginator.ts b/clients/client-rekognition/pagination/GetSegmentDetectionPaginator.ts index 46f0f7cabaa1..0a4bd338f25c 100644 --- a/clients/client-rekognition/pagination/GetSegmentDetectionPaginator.ts +++ b/clients/client-rekognition/pagination/GetSegmentDetectionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSegmentDetectionCommand(input, ...args)); + return await client.send(new GetSegmentDetectionCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/GetTextDetectionPaginator.ts b/clients/client-rekognition/pagination/GetTextDetectionPaginator.ts index b4dea4f30ddf..e9fb582cfb8f 100644 --- a/clients/client-rekognition/pagination/GetTextDetectionPaginator.ts +++ b/clients/client-rekognition/pagination/GetTextDetectionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTextDetectionCommand(input, ...args)); + return await client.send(new GetTextDetectionCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/ListCollectionsPaginator.ts b/clients/client-rekognition/pagination/ListCollectionsPaginator.ts index 060f1e1e059c..d4e64dec8133 100644 --- a/clients/client-rekognition/pagination/ListCollectionsPaginator.ts +++ b/clients/client-rekognition/pagination/ListCollectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCollectionsCommand(input, ...args)); + return await client.send(new ListCollectionsCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/ListFacesPaginator.ts b/clients/client-rekognition/pagination/ListFacesPaginator.ts index 111536913b4f..daf311ed1451 100644 --- a/clients/client-rekognition/pagination/ListFacesPaginator.ts +++ b/clients/client-rekognition/pagination/ListFacesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFacesCommand(input, ...args)); + return await client.send(new ListFacesCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-rekognition/pagination/ListStreamProcessorsPaginator.ts b/clients/client-rekognition/pagination/ListStreamProcessorsPaginator.ts index 9765bb0dad07..08715e4ee306 100644 --- a/clients/client-rekognition/pagination/ListStreamProcessorsPaginator.ts +++ b/clients/client-rekognition/pagination/ListStreamProcessorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStreamProcessorsCommand(input, ...args)); + return await client.send(new ListStreamProcessorsCommand(input), ...args); }; const makePagedRequest = async ( client: Rekognition, diff --git a/clients/client-resource-groups-tagging-api/pagination/GetComplianceSummaryPaginator.ts b/clients/client-resource-groups-tagging-api/pagination/GetComplianceSummaryPaginator.ts index 84616d7364ce..6b9cc618717b 100644 --- a/clients/client-resource-groups-tagging-api/pagination/GetComplianceSummaryPaginator.ts +++ b/clients/client-resource-groups-tagging-api/pagination/GetComplianceSummaryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetComplianceSummaryCommand(input, ...args)); + return await client.send(new GetComplianceSummaryCommand(input), ...args); }; const makePagedRequest = async ( client: ResourceGroupsTaggingAPI, diff --git a/clients/client-resource-groups-tagging-api/pagination/GetResourcesPaginator.ts b/clients/client-resource-groups-tagging-api/pagination/GetResourcesPaginator.ts index eef049e2271a..a107fb1e8bb2 100644 --- a/clients/client-resource-groups-tagging-api/pagination/GetResourcesPaginator.ts +++ b/clients/client-resource-groups-tagging-api/pagination/GetResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetResourcesCommand(input, ...args)); + return await client.send(new GetResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: ResourceGroupsTaggingAPI, diff --git a/clients/client-resource-groups-tagging-api/pagination/GetTagKeysPaginator.ts b/clients/client-resource-groups-tagging-api/pagination/GetTagKeysPaginator.ts index 8ba1791dd39d..422e6e4ae916 100644 --- a/clients/client-resource-groups-tagging-api/pagination/GetTagKeysPaginator.ts +++ b/clients/client-resource-groups-tagging-api/pagination/GetTagKeysPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTagKeysCommand(input, ...args)); + return await client.send(new GetTagKeysCommand(input), ...args); }; const makePagedRequest = async ( client: ResourceGroupsTaggingAPI, diff --git a/clients/client-resource-groups-tagging-api/pagination/GetTagValuesPaginator.ts b/clients/client-resource-groups-tagging-api/pagination/GetTagValuesPaginator.ts index 6c96e0f29974..3ad80162459c 100644 --- a/clients/client-resource-groups-tagging-api/pagination/GetTagValuesPaginator.ts +++ b/clients/client-resource-groups-tagging-api/pagination/GetTagValuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTagValuesCommand(input, ...args)); + return await client.send(new GetTagValuesCommand(input), ...args); }; const makePagedRequest = async ( client: ResourceGroupsTaggingAPI, diff --git a/clients/client-resource-groups/pagination/ListGroupResourcesPaginator.ts b/clients/client-resource-groups/pagination/ListGroupResourcesPaginator.ts index dce3d6578897..a36ba712e473 100644 --- a/clients/client-resource-groups/pagination/ListGroupResourcesPaginator.ts +++ b/clients/client-resource-groups/pagination/ListGroupResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupResourcesCommand(input, ...args)); + return await client.send(new ListGroupResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: ResourceGroups, diff --git a/clients/client-resource-groups/pagination/ListGroupsPaginator.ts b/clients/client-resource-groups/pagination/ListGroupsPaginator.ts index 1fbc1a152268..d4df0457650a 100644 --- a/clients/client-resource-groups/pagination/ListGroupsPaginator.ts +++ b/clients/client-resource-groups/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input, ...args)); + return await client.send(new ListGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ResourceGroups, diff --git a/clients/client-resource-groups/pagination/SearchResourcesPaginator.ts b/clients/client-resource-groups/pagination/SearchResourcesPaginator.ts index 83d2fe88790f..900f4c083069 100644 --- a/clients/client-resource-groups/pagination/SearchResourcesPaginator.ts +++ b/clients/client-resource-groups/pagination/SearchResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchResourcesCommand(input, ...args)); + return await client.send(new SearchResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: ResourceGroups, diff --git a/clients/client-robomaker/pagination/ListDeploymentJobsPaginator.ts b/clients/client-robomaker/pagination/ListDeploymentJobsPaginator.ts index a0ab25c1c417..ac64040b4c11 100644 --- a/clients/client-robomaker/pagination/ListDeploymentJobsPaginator.ts +++ b/clients/client-robomaker/pagination/ListDeploymentJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeploymentJobsCommand(input, ...args)); + return await client.send(new ListDeploymentJobsCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListFleetsPaginator.ts b/clients/client-robomaker/pagination/ListFleetsPaginator.ts index b9880cf0306c..85a967696e92 100644 --- a/clients/client-robomaker/pagination/ListFleetsPaginator.ts +++ b/clients/client-robomaker/pagination/ListFleetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFleetsCommand(input, ...args)); + return await client.send(new ListFleetsCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListRobotApplicationsPaginator.ts b/clients/client-robomaker/pagination/ListRobotApplicationsPaginator.ts index 3e213e007155..9165197d7512 100644 --- a/clients/client-robomaker/pagination/ListRobotApplicationsPaginator.ts +++ b/clients/client-robomaker/pagination/ListRobotApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRobotApplicationsCommand(input, ...args)); + return await client.send(new ListRobotApplicationsCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListRobotsPaginator.ts b/clients/client-robomaker/pagination/ListRobotsPaginator.ts index ca66924972d0..f413852646c9 100644 --- a/clients/client-robomaker/pagination/ListRobotsPaginator.ts +++ b/clients/client-robomaker/pagination/ListRobotsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRobotsCommand(input, ...args)); + return await client.send(new ListRobotsCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListSimulationApplicationsPaginator.ts b/clients/client-robomaker/pagination/ListSimulationApplicationsPaginator.ts index 08fa1bca63d6..1dc2b34151bf 100644 --- a/clients/client-robomaker/pagination/ListSimulationApplicationsPaginator.ts +++ b/clients/client-robomaker/pagination/ListSimulationApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSimulationApplicationsCommand(input, ...args)); + return await client.send(new ListSimulationApplicationsCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListSimulationJobBatchesPaginator.ts b/clients/client-robomaker/pagination/ListSimulationJobBatchesPaginator.ts index 419703c80009..15bdc7fb2db5 100644 --- a/clients/client-robomaker/pagination/ListSimulationJobBatchesPaginator.ts +++ b/clients/client-robomaker/pagination/ListSimulationJobBatchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSimulationJobBatchesCommand(input, ...args)); + return await client.send(new ListSimulationJobBatchesCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListSimulationJobsPaginator.ts b/clients/client-robomaker/pagination/ListSimulationJobsPaginator.ts index c713f1bbf88b..08d4b91bb083 100644 --- a/clients/client-robomaker/pagination/ListSimulationJobsPaginator.ts +++ b/clients/client-robomaker/pagination/ListSimulationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSimulationJobsCommand(input, ...args)); + return await client.send(new ListSimulationJobsCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListWorldExportJobsPaginator.ts b/clients/client-robomaker/pagination/ListWorldExportJobsPaginator.ts index 05dc76a0b94d..6f34215f2646 100644 --- a/clients/client-robomaker/pagination/ListWorldExportJobsPaginator.ts +++ b/clients/client-robomaker/pagination/ListWorldExportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorldExportJobsCommand(input, ...args)); + return await client.send(new ListWorldExportJobsCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListWorldGenerationJobsPaginator.ts b/clients/client-robomaker/pagination/ListWorldGenerationJobsPaginator.ts index 5a8a88e70df7..f9b47b977f23 100644 --- a/clients/client-robomaker/pagination/ListWorldGenerationJobsPaginator.ts +++ b/clients/client-robomaker/pagination/ListWorldGenerationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorldGenerationJobsCommand(input, ...args)); + return await client.send(new ListWorldGenerationJobsCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListWorldTemplatesPaginator.ts b/clients/client-robomaker/pagination/ListWorldTemplatesPaginator.ts index fe0c04672cff..6de8490a8f11 100644 --- a/clients/client-robomaker/pagination/ListWorldTemplatesPaginator.ts +++ b/clients/client-robomaker/pagination/ListWorldTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorldTemplatesCommand(input, ...args)); + return await client.send(new ListWorldTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-robomaker/pagination/ListWorldsPaginator.ts b/clients/client-robomaker/pagination/ListWorldsPaginator.ts index 83ff6fda6447..c7b44f0688b2 100644 --- a/clients/client-robomaker/pagination/ListWorldsPaginator.ts +++ b/clients/client-robomaker/pagination/ListWorldsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorldsCommand(input, ...args)); + return await client.send(new ListWorldsCommand(input), ...args); }; const makePagedRequest = async ( client: RoboMaker, diff --git a/clients/client-route-53-domains/pagination/ListDomainsPaginator.ts b/clients/client-route-53-domains/pagination/ListDomainsPaginator.ts index 2744b8ad7c53..bcac6ef39fa4 100644 --- a/clients/client-route-53-domains/pagination/ListDomainsPaginator.ts +++ b/clients/client-route-53-domains/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input, ...args)); + return await client.send(new ListDomainsCommand(input), ...args); }; const makePagedRequest = async ( client: Route53Domains, diff --git a/clients/client-route-53-domains/pagination/ListOperationsPaginator.ts b/clients/client-route-53-domains/pagination/ListOperationsPaginator.ts index 39076f7b4255..1d889b28b196 100644 --- a/clients/client-route-53-domains/pagination/ListOperationsPaginator.ts +++ b/clients/client-route-53-domains/pagination/ListOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOperationsCommand(input, ...args)); + return await client.send(new ListOperationsCommand(input), ...args); }; const makePagedRequest = async ( client: Route53Domains, diff --git a/clients/client-route53resolver/pagination/ListResolverEndpointIpAddressesPaginator.ts b/clients/client-route53resolver/pagination/ListResolverEndpointIpAddressesPaginator.ts index 0e421e5703f9..ecde21331693 100644 --- a/clients/client-route53resolver/pagination/ListResolverEndpointIpAddressesPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverEndpointIpAddressesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverEndpointIpAddressesCommand(input, ...args)); + return await client.send(new ListResolverEndpointIpAddressesCommand(input), ...args); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverEndpointsPaginator.ts b/clients/client-route53resolver/pagination/ListResolverEndpointsPaginator.ts index 54980c8496f3..26a6e3a750f6 100644 --- a/clients/client-route53resolver/pagination/ListResolverEndpointsPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverEndpointsCommand(input, ...args)); + return await client.send(new ListResolverEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverQueryLogConfigAssociationsPaginator.ts b/clients/client-route53resolver/pagination/ListResolverQueryLogConfigAssociationsPaginator.ts index 4cbe1c5c7b82..b4bbfe0c12c9 100644 --- a/clients/client-route53resolver/pagination/ListResolverQueryLogConfigAssociationsPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverQueryLogConfigAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverQueryLogConfigAssociationsCommand(input, ...args)); + return await client.send(new ListResolverQueryLogConfigAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverQueryLogConfigsPaginator.ts b/clients/client-route53resolver/pagination/ListResolverQueryLogConfigsPaginator.ts index 56682297c28b..a87c321f428b 100644 --- a/clients/client-route53resolver/pagination/ListResolverQueryLogConfigsPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverQueryLogConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverQueryLogConfigsCommand(input, ...args)); + return await client.send(new ListResolverQueryLogConfigsCommand(input), ...args); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverRuleAssociationsPaginator.ts b/clients/client-route53resolver/pagination/ListResolverRuleAssociationsPaginator.ts index 0f237a2e5831..ac3deabbada1 100644 --- a/clients/client-route53resolver/pagination/ListResolverRuleAssociationsPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverRuleAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverRuleAssociationsCommand(input, ...args)); + return await client.send(new ListResolverRuleAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListResolverRulesPaginator.ts b/clients/client-route53resolver/pagination/ListResolverRulesPaginator.ts index 4be438554294..e2d3a369bec0 100644 --- a/clients/client-route53resolver/pagination/ListResolverRulesPaginator.ts +++ b/clients/client-route53resolver/pagination/ListResolverRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResolverRulesCommand(input, ...args)); + return await client.send(new ListResolverRulesCommand(input), ...args); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-route53resolver/pagination/ListTagsForResourcePaginator.ts b/clients/client-route53resolver/pagination/ListTagsForResourcePaginator.ts index 269a4ca849e8..fcb7e2e7baf5 100644 --- a/clients/client-route53resolver/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-route53resolver/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: Route53Resolver, diff --git a/clients/client-s3-control/pagination/ListAccessPointsPaginator.ts b/clients/client-s3-control/pagination/ListAccessPointsPaginator.ts index eba77f0652e1..177f5fb1e17f 100644 --- a/clients/client-s3-control/pagination/ListAccessPointsPaginator.ts +++ b/clients/client-s3-control/pagination/ListAccessPointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccessPointsCommand(input, ...args)); + return await client.send(new ListAccessPointsCommand(input), ...args); }; const makePagedRequest = async ( client: S3Control, diff --git a/clients/client-s3-control/pagination/ListJobsPaginator.ts b/clients/client-s3-control/pagination/ListJobsPaginator.ts index 8bd11a961a44..5a06e626669f 100644 --- a/clients/client-s3-control/pagination/ListJobsPaginator.ts +++ b/clients/client-s3-control/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input, ...args)); + return await client.send(new ListJobsCommand(input), ...args); }; const makePagedRequest = async ( client: S3Control, diff --git a/clients/client-s3-control/pagination/ListRegionalBucketsPaginator.ts b/clients/client-s3-control/pagination/ListRegionalBucketsPaginator.ts index fc1aea724d09..7df5f0dff4e2 100644 --- a/clients/client-s3-control/pagination/ListRegionalBucketsPaginator.ts +++ b/clients/client-s3-control/pagination/ListRegionalBucketsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRegionalBucketsCommand(input, ...args)); + return await client.send(new ListRegionalBucketsCommand(input), ...args); }; const makePagedRequest = async ( client: S3Control, diff --git a/clients/client-s3/pagination/ListObjectsV2Paginator.ts b/clients/client-s3/pagination/ListObjectsV2Paginator.ts index 51f21bacec9c..47f78c3d3b7a 100644 --- a/clients/client-s3/pagination/ListObjectsV2Paginator.ts +++ b/clients/client-s3/pagination/ListObjectsV2Paginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListObjectsV2Command(input, ...args)); + return await client.send(new ListObjectsV2Command(input), ...args); }; const makePagedRequest = async ( client: S3, diff --git a/clients/client-s3/pagination/ListPartsPaginator.ts b/clients/client-s3/pagination/ListPartsPaginator.ts index 9bde67c66a9e..8d9aa65dbc71 100644 --- a/clients/client-s3/pagination/ListPartsPaginator.ts +++ b/clients/client-s3/pagination/ListPartsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPartsCommand(input, ...args)); + return await client.send(new ListPartsCommand(input), ...args); }; const makePagedRequest = async ( client: S3, diff --git a/clients/client-s3outposts/pagination/ListEndpointsPaginator.ts b/clients/client-s3outposts/pagination/ListEndpointsPaginator.ts index 1f160122103c..853093c52a76 100644 --- a/clients/client-s3outposts/pagination/ListEndpointsPaginator.ts +++ b/clients/client-s3outposts/pagination/ListEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEndpointsCommand(input, ...args)); + return await client.send(new ListEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: S3Outposts, diff --git a/clients/client-sagemaker-a2i-runtime/pagination/ListHumanLoopsPaginator.ts b/clients/client-sagemaker-a2i-runtime/pagination/ListHumanLoopsPaginator.ts index 992d7e14f968..9b24b107107f 100644 --- a/clients/client-sagemaker-a2i-runtime/pagination/ListHumanLoopsPaginator.ts +++ b/clients/client-sagemaker-a2i-runtime/pagination/ListHumanLoopsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHumanLoopsCommand(input, ...args)); + return await client.send(new ListHumanLoopsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMakerA2IRuntime, diff --git a/clients/client-sagemaker/pagination/ListAlgorithmsPaginator.ts b/clients/client-sagemaker/pagination/ListAlgorithmsPaginator.ts index 5c4bdef9de0d..d6dd5f1c9d73 100644 --- a/clients/client-sagemaker/pagination/ListAlgorithmsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListAlgorithmsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAlgorithmsCommand(input, ...args)); + return await client.send(new ListAlgorithmsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListAppsPaginator.ts b/clients/client-sagemaker/pagination/ListAppsPaginator.ts index 571de167048f..4321508c1b8e 100644 --- a/clients/client-sagemaker/pagination/ListAppsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListAppsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAppsCommand(input, ...args)); + return await client.send(new ListAppsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListAutoMLJobsPaginator.ts b/clients/client-sagemaker/pagination/ListAutoMLJobsPaginator.ts index d9bd0fb0178c..09cce034b48a 100644 --- a/clients/client-sagemaker/pagination/ListAutoMLJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListAutoMLJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAutoMLJobsCommand(input, ...args)); + return await client.send(new ListAutoMLJobsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListCandidatesForAutoMLJobPaginator.ts b/clients/client-sagemaker/pagination/ListCandidatesForAutoMLJobPaginator.ts index 6f3b8116ada3..2a1509348f54 100644 --- a/clients/client-sagemaker/pagination/ListCandidatesForAutoMLJobPaginator.ts +++ b/clients/client-sagemaker/pagination/ListCandidatesForAutoMLJobPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCandidatesForAutoMLJobCommand(input, ...args)); + return await client.send(new ListCandidatesForAutoMLJobCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListCodeRepositoriesPaginator.ts b/clients/client-sagemaker/pagination/ListCodeRepositoriesPaginator.ts index cb39eb195ba3..4c3b951358a1 100644 --- a/clients/client-sagemaker/pagination/ListCodeRepositoriesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListCodeRepositoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCodeRepositoriesCommand(input, ...args)); + return await client.send(new ListCodeRepositoriesCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListCompilationJobsPaginator.ts b/clients/client-sagemaker/pagination/ListCompilationJobsPaginator.ts index e3fb59c8c682..46295a34a2d2 100644 --- a/clients/client-sagemaker/pagination/ListCompilationJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListCompilationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCompilationJobsCommand(input, ...args)); + return await client.send(new ListCompilationJobsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListDomainsPaginator.ts b/clients/client-sagemaker/pagination/ListDomainsPaginator.ts index 7a54ee6b4c6b..2c0096732f1d 100644 --- a/clients/client-sagemaker/pagination/ListDomainsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input, ...args)); + return await client.send(new ListDomainsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListEndpointConfigsPaginator.ts b/clients/client-sagemaker/pagination/ListEndpointConfigsPaginator.ts index c3f35421c9f8..617d06a8cfcb 100644 --- a/clients/client-sagemaker/pagination/ListEndpointConfigsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListEndpointConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEndpointConfigsCommand(input, ...args)); + return await client.send(new ListEndpointConfigsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListEndpointsPaginator.ts b/clients/client-sagemaker/pagination/ListEndpointsPaginator.ts index 71414c99b0bc..57ea3864b4bd 100644 --- a/clients/client-sagemaker/pagination/ListEndpointsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListEndpointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEndpointsCommand(input, ...args)); + return await client.send(new ListEndpointsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListExperimentsPaginator.ts b/clients/client-sagemaker/pagination/ListExperimentsPaginator.ts index 17157154f983..6e55d003a517 100644 --- a/clients/client-sagemaker/pagination/ListExperimentsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListExperimentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListExperimentsCommand(input, ...args)); + return await client.send(new ListExperimentsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListFlowDefinitionsPaginator.ts b/clients/client-sagemaker/pagination/ListFlowDefinitionsPaginator.ts index 5051c8e6df9f..8b90e2841083 100644 --- a/clients/client-sagemaker/pagination/ListFlowDefinitionsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListFlowDefinitionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFlowDefinitionsCommand(input, ...args)); + return await client.send(new ListFlowDefinitionsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListHumanTaskUisPaginator.ts b/clients/client-sagemaker/pagination/ListHumanTaskUisPaginator.ts index 587595096024..af2cd435ef53 100644 --- a/clients/client-sagemaker/pagination/ListHumanTaskUisPaginator.ts +++ b/clients/client-sagemaker/pagination/ListHumanTaskUisPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHumanTaskUisCommand(input, ...args)); + return await client.send(new ListHumanTaskUisCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListHyperParameterTuningJobsPaginator.ts b/clients/client-sagemaker/pagination/ListHyperParameterTuningJobsPaginator.ts index 1a6dc68cecf7..546391ade59c 100644 --- a/clients/client-sagemaker/pagination/ListHyperParameterTuningJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListHyperParameterTuningJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListHyperParameterTuningJobsCommand(input, ...args)); + return await client.send(new ListHyperParameterTuningJobsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListImageVersionsPaginator.ts b/clients/client-sagemaker/pagination/ListImageVersionsPaginator.ts index 8dda85217574..759cd7c97987 100644 --- a/clients/client-sagemaker/pagination/ListImageVersionsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListImageVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImageVersionsCommand(input, ...args)); + return await client.send(new ListImageVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListImagesPaginator.ts b/clients/client-sagemaker/pagination/ListImagesPaginator.ts index 8d74d58c53d2..d6e6eb814dbd 100644 --- a/clients/client-sagemaker/pagination/ListImagesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListImagesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImagesCommand(input, ...args)); + return await client.send(new ListImagesCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListLabelingJobsForWorkteamPaginator.ts b/clients/client-sagemaker/pagination/ListLabelingJobsForWorkteamPaginator.ts index 419679649983..87e42cbbd402 100644 --- a/clients/client-sagemaker/pagination/ListLabelingJobsForWorkteamPaginator.ts +++ b/clients/client-sagemaker/pagination/ListLabelingJobsForWorkteamPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLabelingJobsForWorkteamCommand(input, ...args)); + return await client.send(new ListLabelingJobsForWorkteamCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListLabelingJobsPaginator.ts b/clients/client-sagemaker/pagination/ListLabelingJobsPaginator.ts index 8410cf747e7e..f9641e13c41c 100644 --- a/clients/client-sagemaker/pagination/ListLabelingJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListLabelingJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLabelingJobsCommand(input, ...args)); + return await client.send(new ListLabelingJobsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListModelPackagesPaginator.ts b/clients/client-sagemaker/pagination/ListModelPackagesPaginator.ts index 08cbdab29198..f50d0f42ec9a 100644 --- a/clients/client-sagemaker/pagination/ListModelPackagesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListModelPackagesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListModelPackagesCommand(input, ...args)); + return await client.send(new ListModelPackagesCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListModelsPaginator.ts b/clients/client-sagemaker/pagination/ListModelsPaginator.ts index 8c1933984461..6802d4115a87 100644 --- a/clients/client-sagemaker/pagination/ListModelsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListModelsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListModelsCommand(input, ...args)); + return await client.send(new ListModelsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListMonitoringExecutionsPaginator.ts b/clients/client-sagemaker/pagination/ListMonitoringExecutionsPaginator.ts index b9be253e7581..6b80fa93fe6e 100644 --- a/clients/client-sagemaker/pagination/ListMonitoringExecutionsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListMonitoringExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMonitoringExecutionsCommand(input, ...args)); + return await client.send(new ListMonitoringExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListMonitoringSchedulesPaginator.ts b/clients/client-sagemaker/pagination/ListMonitoringSchedulesPaginator.ts index c73eaed9c419..e4f60af03825 100644 --- a/clients/client-sagemaker/pagination/ListMonitoringSchedulesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListMonitoringSchedulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMonitoringSchedulesCommand(input, ...args)); + return await client.send(new ListMonitoringSchedulesCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListNotebookInstanceLifecycleConfigsPaginator.ts b/clients/client-sagemaker/pagination/ListNotebookInstanceLifecycleConfigsPaginator.ts index babaff43eb27..ce66ae16ac45 100644 --- a/clients/client-sagemaker/pagination/ListNotebookInstanceLifecycleConfigsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListNotebookInstanceLifecycleConfigsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNotebookInstanceLifecycleConfigsCommand(input, ...args)); + return await client.send(new ListNotebookInstanceLifecycleConfigsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListNotebookInstancesPaginator.ts b/clients/client-sagemaker/pagination/ListNotebookInstancesPaginator.ts index b0ce0d0ceaec..0b37c650e100 100644 --- a/clients/client-sagemaker/pagination/ListNotebookInstancesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListNotebookInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNotebookInstancesCommand(input, ...args)); + return await client.send(new ListNotebookInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListProcessingJobsPaginator.ts b/clients/client-sagemaker/pagination/ListProcessingJobsPaginator.ts index 0b636b0862e7..7808395f8e6d 100644 --- a/clients/client-sagemaker/pagination/ListProcessingJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListProcessingJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProcessingJobsCommand(input, ...args)); + return await client.send(new ListProcessingJobsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListSubscribedWorkteamsPaginator.ts b/clients/client-sagemaker/pagination/ListSubscribedWorkteamsPaginator.ts index 11af1cd016d6..3056bcf3eb56 100644 --- a/clients/client-sagemaker/pagination/ListSubscribedWorkteamsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListSubscribedWorkteamsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSubscribedWorkteamsCommand(input, ...args)); + return await client.send(new ListSubscribedWorkteamsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTagsPaginator.ts b/clients/client-sagemaker/pagination/ListTagsPaginator.ts index 283741834eca..71254dd36bff 100644 --- a/clients/client-sagemaker/pagination/ListTagsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTagsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsCommand(input, ...args)); + return await client.send(new ListTagsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.ts b/clients/client-sagemaker/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.ts index 84a33e5e2de3..4c1f2afdf604 100644 --- a/clients/client-sagemaker/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrainingJobsForHyperParameterTuningJobCommand(input, ...args)); + return await client.send(new ListTrainingJobsForHyperParameterTuningJobCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTrainingJobsPaginator.ts b/clients/client-sagemaker/pagination/ListTrainingJobsPaginator.ts index f5b4c26243ed..5bac6752ee65 100644 --- a/clients/client-sagemaker/pagination/ListTrainingJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTrainingJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrainingJobsCommand(input, ...args)); + return await client.send(new ListTrainingJobsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTransformJobsPaginator.ts b/clients/client-sagemaker/pagination/ListTransformJobsPaginator.ts index ca32686007ae..5759bfcdd7ff 100644 --- a/clients/client-sagemaker/pagination/ListTransformJobsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTransformJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTransformJobsCommand(input, ...args)); + return await client.send(new ListTransformJobsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTrialComponentsPaginator.ts b/clients/client-sagemaker/pagination/ListTrialComponentsPaginator.ts index b1e04d2c9541..16f8e133cc5b 100644 --- a/clients/client-sagemaker/pagination/ListTrialComponentsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTrialComponentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrialComponentsCommand(input, ...args)); + return await client.send(new ListTrialComponentsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListTrialsPaginator.ts b/clients/client-sagemaker/pagination/ListTrialsPaginator.ts index 8c2188214520..e4ad3791c6a5 100644 --- a/clients/client-sagemaker/pagination/ListTrialsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListTrialsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTrialsCommand(input, ...args)); + return await client.send(new ListTrialsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListUserProfilesPaginator.ts b/clients/client-sagemaker/pagination/ListUserProfilesPaginator.ts index c0acfacb151e..473fab833208 100644 --- a/clients/client-sagemaker/pagination/ListUserProfilesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListUserProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUserProfilesCommand(input, ...args)); + return await client.send(new ListUserProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListWorkforcesPaginator.ts b/clients/client-sagemaker/pagination/ListWorkforcesPaginator.ts index 3d8d23c2fe6c..0106b8fd77ee 100644 --- a/clients/client-sagemaker/pagination/ListWorkforcesPaginator.ts +++ b/clients/client-sagemaker/pagination/ListWorkforcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkforcesCommand(input, ...args)); + return await client.send(new ListWorkforcesCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/ListWorkteamsPaginator.ts b/clients/client-sagemaker/pagination/ListWorkteamsPaginator.ts index e2742e9b3ba2..6b2d3a924d15 100644 --- a/clients/client-sagemaker/pagination/ListWorkteamsPaginator.ts +++ b/clients/client-sagemaker/pagination/ListWorkteamsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkteamsCommand(input, ...args)); + return await client.send(new ListWorkteamsCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-sagemaker/pagination/SearchPaginator.ts b/clients/client-sagemaker/pagination/SearchPaginator.ts index 29b3bab3b470..16f145acac4a 100644 --- a/clients/client-sagemaker/pagination/SearchPaginator.ts +++ b/clients/client-sagemaker/pagination/SearchPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchCommand(input, ...args)); + return await client.send(new SearchCommand(input), ...args); }; const makePagedRequest = async ( client: SageMaker, diff --git a/clients/client-schemas/pagination/ListDiscoverersPaginator.ts b/clients/client-schemas/pagination/ListDiscoverersPaginator.ts index 2460ce12b975..57deed29aa0b 100644 --- a/clients/client-schemas/pagination/ListDiscoverersPaginator.ts +++ b/clients/client-schemas/pagination/ListDiscoverersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDiscoverersCommand(input, ...args)); + return await client.send(new ListDiscoverersCommand(input), ...args); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-schemas/pagination/ListRegistriesPaginator.ts b/clients/client-schemas/pagination/ListRegistriesPaginator.ts index b7eb22a33cdc..7c33fdd97634 100644 --- a/clients/client-schemas/pagination/ListRegistriesPaginator.ts +++ b/clients/client-schemas/pagination/ListRegistriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRegistriesCommand(input, ...args)); + return await client.send(new ListRegistriesCommand(input), ...args); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-schemas/pagination/ListSchemaVersionsPaginator.ts b/clients/client-schemas/pagination/ListSchemaVersionsPaginator.ts index 956a12228d2b..f7b4f8d46066 100644 --- a/clients/client-schemas/pagination/ListSchemaVersionsPaginator.ts +++ b/clients/client-schemas/pagination/ListSchemaVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSchemaVersionsCommand(input, ...args)); + return await client.send(new ListSchemaVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-schemas/pagination/ListSchemasPaginator.ts b/clients/client-schemas/pagination/ListSchemasPaginator.ts index 6a86c9975775..af8141769c92 100644 --- a/clients/client-schemas/pagination/ListSchemasPaginator.ts +++ b/clients/client-schemas/pagination/ListSchemasPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSchemasCommand(input, ...args)); + return await client.send(new ListSchemasCommand(input), ...args); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-schemas/pagination/SearchSchemasPaginator.ts b/clients/client-schemas/pagination/SearchSchemasPaginator.ts index 52c0c492002f..b7c0a3974dfd 100644 --- a/clients/client-schemas/pagination/SearchSchemasPaginator.ts +++ b/clients/client-schemas/pagination/SearchSchemasPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchSchemasCommand(input, ...args)); + return await client.send(new SearchSchemasCommand(input), ...args); }; const makePagedRequest = async ( client: Schemas, diff --git a/clients/client-secrets-manager/pagination/ListSecretVersionIdsPaginator.ts b/clients/client-secrets-manager/pagination/ListSecretVersionIdsPaginator.ts index 102a6ae03f15..3a01c035ec25 100644 --- a/clients/client-secrets-manager/pagination/ListSecretVersionIdsPaginator.ts +++ b/clients/client-secrets-manager/pagination/ListSecretVersionIdsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecretVersionIdsCommand(input, ...args)); + return await client.send(new ListSecretVersionIdsCommand(input), ...args); }; const makePagedRequest = async ( client: SecretsManager, diff --git a/clients/client-secrets-manager/pagination/ListSecretsPaginator.ts b/clients/client-secrets-manager/pagination/ListSecretsPaginator.ts index 42fd5be28b7c..0da48712fd91 100644 --- a/clients/client-secrets-manager/pagination/ListSecretsPaginator.ts +++ b/clients/client-secrets-manager/pagination/ListSecretsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecretsCommand(input, ...args)); + return await client.send(new ListSecretsCommand(input), ...args); }; const makePagedRequest = async ( client: SecretsManager, diff --git a/clients/client-securityhub/pagination/DescribeActionTargetsPaginator.ts b/clients/client-securityhub/pagination/DescribeActionTargetsPaginator.ts index da698143308d..ae2f527fb505 100644 --- a/clients/client-securityhub/pagination/DescribeActionTargetsPaginator.ts +++ b/clients/client-securityhub/pagination/DescribeActionTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeActionTargetsCommand(input, ...args)); + return await client.send(new DescribeActionTargetsCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/DescribeProductsPaginator.ts b/clients/client-securityhub/pagination/DescribeProductsPaginator.ts index f8c80eded936..721e21524a58 100644 --- a/clients/client-securityhub/pagination/DescribeProductsPaginator.ts +++ b/clients/client-securityhub/pagination/DescribeProductsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeProductsCommand(input, ...args)); + return await client.send(new DescribeProductsCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/DescribeStandardsControlsPaginator.ts b/clients/client-securityhub/pagination/DescribeStandardsControlsPaginator.ts index 9d03e072a2b2..e094c2cbd81e 100644 --- a/clients/client-securityhub/pagination/DescribeStandardsControlsPaginator.ts +++ b/clients/client-securityhub/pagination/DescribeStandardsControlsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStandardsControlsCommand(input, ...args)); + return await client.send(new DescribeStandardsControlsCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/DescribeStandardsPaginator.ts b/clients/client-securityhub/pagination/DescribeStandardsPaginator.ts index cdda45c7aefc..c28a7006c51f 100644 --- a/clients/client-securityhub/pagination/DescribeStandardsPaginator.ts +++ b/clients/client-securityhub/pagination/DescribeStandardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeStandardsCommand(input, ...args)); + return await client.send(new DescribeStandardsCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/GetEnabledStandardsPaginator.ts b/clients/client-securityhub/pagination/GetEnabledStandardsPaginator.ts index 3df3936ec850..693bd7077323 100644 --- a/clients/client-securityhub/pagination/GetEnabledStandardsPaginator.ts +++ b/clients/client-securityhub/pagination/GetEnabledStandardsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetEnabledStandardsCommand(input, ...args)); + return await client.send(new GetEnabledStandardsCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/GetFindingsPaginator.ts b/clients/client-securityhub/pagination/GetFindingsPaginator.ts index 908253b4f7b0..5af103e23b36 100644 --- a/clients/client-securityhub/pagination/GetFindingsPaginator.ts +++ b/clients/client-securityhub/pagination/GetFindingsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetFindingsCommand(input, ...args)); + return await client.send(new GetFindingsCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/GetInsightsPaginator.ts b/clients/client-securityhub/pagination/GetInsightsPaginator.ts index 7047f6ba91cf..f529e18d29fb 100644 --- a/clients/client-securityhub/pagination/GetInsightsPaginator.ts +++ b/clients/client-securityhub/pagination/GetInsightsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInsightsCommand(input, ...args)); + return await client.send(new GetInsightsCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/ListEnabledProductsForImportPaginator.ts b/clients/client-securityhub/pagination/ListEnabledProductsForImportPaginator.ts index 39cb836bea17..f5c57cc9eeba 100644 --- a/clients/client-securityhub/pagination/ListEnabledProductsForImportPaginator.ts +++ b/clients/client-securityhub/pagination/ListEnabledProductsForImportPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEnabledProductsForImportCommand(input, ...args)); + return await client.send(new ListEnabledProductsForImportCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/ListInvitationsPaginator.ts b/clients/client-securityhub/pagination/ListInvitationsPaginator.ts index 5d2bde56caff..02bd12bf8713 100644 --- a/clients/client-securityhub/pagination/ListInvitationsPaginator.ts +++ b/clients/client-securityhub/pagination/ListInvitationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInvitationsCommand(input, ...args)); + return await client.send(new ListInvitationsCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-securityhub/pagination/ListMembersPaginator.ts b/clients/client-securityhub/pagination/ListMembersPaginator.ts index 3243e3074bd5..462f35266cfa 100644 --- a/clients/client-securityhub/pagination/ListMembersPaginator.ts +++ b/clients/client-securityhub/pagination/ListMembersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMembersCommand(input, ...args)); + return await client.send(new ListMembersCommand(input), ...args); }; const makePagedRequest = async ( client: SecurityHub, diff --git a/clients/client-serverlessapplicationrepository/pagination/ListApplicationDependenciesPaginator.ts b/clients/client-serverlessapplicationrepository/pagination/ListApplicationDependenciesPaginator.ts index 2049c7c53dba..fb6ceeda1b23 100644 --- a/clients/client-serverlessapplicationrepository/pagination/ListApplicationDependenciesPaginator.ts +++ b/clients/client-serverlessapplicationrepository/pagination/ListApplicationDependenciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationDependenciesCommand(input, ...args)); + return await client.send(new ListApplicationDependenciesCommand(input), ...args); }; const makePagedRequest = async ( client: ServerlessApplicationRepository, diff --git a/clients/client-serverlessapplicationrepository/pagination/ListApplicationVersionsPaginator.ts b/clients/client-serverlessapplicationrepository/pagination/ListApplicationVersionsPaginator.ts index 6d4c51ba61e7..debcb9369a87 100644 --- a/clients/client-serverlessapplicationrepository/pagination/ListApplicationVersionsPaginator.ts +++ b/clients/client-serverlessapplicationrepository/pagination/ListApplicationVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationVersionsCommand(input, ...args)); + return await client.send(new ListApplicationVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: ServerlessApplicationRepository, diff --git a/clients/client-serverlessapplicationrepository/pagination/ListApplicationsPaginator.ts b/clients/client-serverlessapplicationrepository/pagination/ListApplicationsPaginator.ts index 5a3dbe4e0466..2f50d45b5080 100644 --- a/clients/client-serverlessapplicationrepository/pagination/ListApplicationsPaginator.ts +++ b/clients/client-serverlessapplicationrepository/pagination/ListApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationsCommand(input, ...args)); + return await client.send(new ListApplicationsCommand(input), ...args); }; const makePagedRequest = async ( client: ServerlessApplicationRepository, diff --git a/clients/client-service-catalog-appregistry/pagination/ListApplicationsPaginator.ts b/clients/client-service-catalog-appregistry/pagination/ListApplicationsPaginator.ts index 142648e9d659..af3d52b3941d 100644 --- a/clients/client-service-catalog-appregistry/pagination/ListApplicationsPaginator.ts +++ b/clients/client-service-catalog-appregistry/pagination/ListApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListApplicationsCommand(input, ...args)); + return await client.send(new ListApplicationsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalogAppRegistry, diff --git a/clients/client-service-catalog-appregistry/pagination/ListAssociatedAttributeGroupsPaginator.ts b/clients/client-service-catalog-appregistry/pagination/ListAssociatedAttributeGroupsPaginator.ts index a7ffa4b90adb..74f7f308afcd 100644 --- a/clients/client-service-catalog-appregistry/pagination/ListAssociatedAttributeGroupsPaginator.ts +++ b/clients/client-service-catalog-appregistry/pagination/ListAssociatedAttributeGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociatedAttributeGroupsCommand(input, ...args)); + return await client.send(new ListAssociatedAttributeGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalogAppRegistry, diff --git a/clients/client-service-catalog-appregistry/pagination/ListAssociatedResourcesPaginator.ts b/clients/client-service-catalog-appregistry/pagination/ListAssociatedResourcesPaginator.ts index 2dcc3df460bc..cde22de65203 100644 --- a/clients/client-service-catalog-appregistry/pagination/ListAssociatedResourcesPaginator.ts +++ b/clients/client-service-catalog-appregistry/pagination/ListAssociatedResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociatedResourcesCommand(input, ...args)); + return await client.send(new ListAssociatedResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalogAppRegistry, diff --git a/clients/client-service-catalog-appregistry/pagination/ListAttributeGroupsPaginator.ts b/clients/client-service-catalog-appregistry/pagination/ListAttributeGroupsPaginator.ts index d8952061276e..39cbe0f8cd16 100644 --- a/clients/client-service-catalog-appregistry/pagination/ListAttributeGroupsPaginator.ts +++ b/clients/client-service-catalog-appregistry/pagination/ListAttributeGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttributeGroupsCommand(input, ...args)); + return await client.send(new ListAttributeGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalogAppRegistry, diff --git a/clients/client-service-catalog/pagination/GetProvisionedProductOutputsPaginator.ts b/clients/client-service-catalog/pagination/GetProvisionedProductOutputsPaginator.ts index 39a0291e0455..d48ff970e6a4 100644 --- a/clients/client-service-catalog/pagination/GetProvisionedProductOutputsPaginator.ts +++ b/clients/client-service-catalog/pagination/GetProvisionedProductOutputsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetProvisionedProductOutputsCommand(input, ...args)); + return await client.send(new GetProvisionedProductOutputsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListAcceptedPortfolioSharesPaginator.ts b/clients/client-service-catalog/pagination/ListAcceptedPortfolioSharesPaginator.ts index 1c542556f121..8041151905ef 100644 --- a/clients/client-service-catalog/pagination/ListAcceptedPortfolioSharesPaginator.ts +++ b/clients/client-service-catalog/pagination/ListAcceptedPortfolioSharesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAcceptedPortfolioSharesCommand(input, ...args)); + return await client.send(new ListAcceptedPortfolioSharesCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListBudgetsForResourcePaginator.ts b/clients/client-service-catalog/pagination/ListBudgetsForResourcePaginator.ts index 8b88a7e5d5fc..81846b3a581a 100644 --- a/clients/client-service-catalog/pagination/ListBudgetsForResourcePaginator.ts +++ b/clients/client-service-catalog/pagination/ListBudgetsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListBudgetsForResourceCommand(input, ...args)); + return await client.send(new ListBudgetsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListConstraintsForPortfolioPaginator.ts b/clients/client-service-catalog/pagination/ListConstraintsForPortfolioPaginator.ts index 01c3618d78ea..2627e880d2be 100644 --- a/clients/client-service-catalog/pagination/ListConstraintsForPortfolioPaginator.ts +++ b/clients/client-service-catalog/pagination/ListConstraintsForPortfolioPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConstraintsForPortfolioCommand(input, ...args)); + return await client.send(new ListConstraintsForPortfolioCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListLaunchPathsPaginator.ts b/clients/client-service-catalog/pagination/ListLaunchPathsPaginator.ts index b9e962b92d2e..dd1a886341b5 100644 --- a/clients/client-service-catalog/pagination/ListLaunchPathsPaginator.ts +++ b/clients/client-service-catalog/pagination/ListLaunchPathsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLaunchPathsCommand(input, ...args)); + return await client.send(new ListLaunchPathsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListOrganizationPortfolioAccessPaginator.ts b/clients/client-service-catalog/pagination/ListOrganizationPortfolioAccessPaginator.ts index e09e77b9626c..d56175fbe33b 100644 --- a/clients/client-service-catalog/pagination/ListOrganizationPortfolioAccessPaginator.ts +++ b/clients/client-service-catalog/pagination/ListOrganizationPortfolioAccessPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationPortfolioAccessCommand(input, ...args)); + return await client.send(new ListOrganizationPortfolioAccessCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListPortfolioAccessPaginator.ts b/clients/client-service-catalog/pagination/ListPortfolioAccessPaginator.ts index 95d26c8258f3..e9131cdf3fe7 100644 --- a/clients/client-service-catalog/pagination/ListPortfolioAccessPaginator.ts +++ b/clients/client-service-catalog/pagination/ListPortfolioAccessPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPortfolioAccessCommand(input, ...args)); + return await client.send(new ListPortfolioAccessCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListPortfoliosForProductPaginator.ts b/clients/client-service-catalog/pagination/ListPortfoliosForProductPaginator.ts index 5ca7dd86c6d4..064dcba47045 100644 --- a/clients/client-service-catalog/pagination/ListPortfoliosForProductPaginator.ts +++ b/clients/client-service-catalog/pagination/ListPortfoliosForProductPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPortfoliosForProductCommand(input, ...args)); + return await client.send(new ListPortfoliosForProductCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListPortfoliosPaginator.ts b/clients/client-service-catalog/pagination/ListPortfoliosPaginator.ts index 0e6077dbf379..238f9ea36423 100644 --- a/clients/client-service-catalog/pagination/ListPortfoliosPaginator.ts +++ b/clients/client-service-catalog/pagination/ListPortfoliosPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPortfoliosCommand(input, ...args)); + return await client.send(new ListPortfoliosCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListPrincipalsForPortfolioPaginator.ts b/clients/client-service-catalog/pagination/ListPrincipalsForPortfolioPaginator.ts index d334eda5bc89..48f14e5b6fba 100644 --- a/clients/client-service-catalog/pagination/ListPrincipalsForPortfolioPaginator.ts +++ b/clients/client-service-catalog/pagination/ListPrincipalsForPortfolioPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPrincipalsForPortfolioCommand(input, ...args)); + return await client.send(new ListPrincipalsForPortfolioCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListProvisioningArtifactsForServiceActionPaginator.ts b/clients/client-service-catalog/pagination/ListProvisioningArtifactsForServiceActionPaginator.ts index 1b712ce32a90..abc60ea3c61e 100644 --- a/clients/client-service-catalog/pagination/ListProvisioningArtifactsForServiceActionPaginator.ts +++ b/clients/client-service-catalog/pagination/ListProvisioningArtifactsForServiceActionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProvisioningArtifactsForServiceActionCommand(input, ...args)); + return await client.send(new ListProvisioningArtifactsForServiceActionCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListResourcesForTagOptionPaginator.ts b/clients/client-service-catalog/pagination/ListResourcesForTagOptionPaginator.ts index d2b1b1825527..44869c1c91b3 100644 --- a/clients/client-service-catalog/pagination/ListResourcesForTagOptionPaginator.ts +++ b/clients/client-service-catalog/pagination/ListResourcesForTagOptionPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourcesForTagOptionCommand(input, ...args)); + return await client.send(new ListResourcesForTagOptionCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListServiceActionsForProvisioningArtifactPaginator.ts b/clients/client-service-catalog/pagination/ListServiceActionsForProvisioningArtifactPaginator.ts index 9d661530b96e..4cef7ddcee69 100644 --- a/clients/client-service-catalog/pagination/ListServiceActionsForProvisioningArtifactPaginator.ts +++ b/clients/client-service-catalog/pagination/ListServiceActionsForProvisioningArtifactPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServiceActionsForProvisioningArtifactCommand(input, ...args)); + return await client.send(new ListServiceActionsForProvisioningArtifactCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListServiceActionsPaginator.ts b/clients/client-service-catalog/pagination/ListServiceActionsPaginator.ts index 050e8db750c1..5a16f60ba8dc 100644 --- a/clients/client-service-catalog/pagination/ListServiceActionsPaginator.ts +++ b/clients/client-service-catalog/pagination/ListServiceActionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServiceActionsCommand(input, ...args)); + return await client.send(new ListServiceActionsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/ListTagOptionsPaginator.ts b/clients/client-service-catalog/pagination/ListTagOptionsPaginator.ts index 855c4ffe6f9f..4a6849904d84 100644 --- a/clients/client-service-catalog/pagination/ListTagOptionsPaginator.ts +++ b/clients/client-service-catalog/pagination/ListTagOptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagOptionsCommand(input, ...args)); + return await client.send(new ListTagOptionsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/SearchProductsAsAdminPaginator.ts b/clients/client-service-catalog/pagination/SearchProductsAsAdminPaginator.ts index f1a911e03a60..23f3e5566c5e 100644 --- a/clients/client-service-catalog/pagination/SearchProductsAsAdminPaginator.ts +++ b/clients/client-service-catalog/pagination/SearchProductsAsAdminPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchProductsAsAdminCommand(input, ...args)); + return await client.send(new SearchProductsAsAdminCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/SearchProductsPaginator.ts b/clients/client-service-catalog/pagination/SearchProductsPaginator.ts index a3afd37b55b3..f9ced6ef84c3 100644 --- a/clients/client-service-catalog/pagination/SearchProductsPaginator.ts +++ b/clients/client-service-catalog/pagination/SearchProductsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchProductsCommand(input, ...args)); + return await client.send(new SearchProductsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-catalog/pagination/SearchProvisionedProductsPaginator.ts b/clients/client-service-catalog/pagination/SearchProvisionedProductsPaginator.ts index a113f8bd7e49..8828018d4d96 100644 --- a/clients/client-service-catalog/pagination/SearchProvisionedProductsPaginator.ts +++ b/clients/client-service-catalog/pagination/SearchProvisionedProductsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new SearchProvisionedProductsCommand(input, ...args)); + return await client.send(new SearchProvisionedProductsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceCatalog, diff --git a/clients/client-service-quotas/pagination/ListAWSDefaultServiceQuotasPaginator.ts b/clients/client-service-quotas/pagination/ListAWSDefaultServiceQuotasPaginator.ts index 9f7c520f89cd..6870da351da7 100644 --- a/clients/client-service-quotas/pagination/ListAWSDefaultServiceQuotasPaginator.ts +++ b/clients/client-service-quotas/pagination/ListAWSDefaultServiceQuotasPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAWSDefaultServiceQuotasCommand(input, ...args)); + return await client.send(new ListAWSDefaultServiceQuotasCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.ts b/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.ts index 183701134c74..dac99971c3b4 100644 --- a/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.ts +++ b/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRequestedServiceQuotaChangeHistoryByQuotaCommand(input, ...args)); + return await client.send(new ListRequestedServiceQuotaChangeHistoryByQuotaCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.ts b/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.ts index 7c665b55006d..dd9e125da4d4 100644 --- a/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.ts +++ b/clients/client-service-quotas/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListRequestedServiceQuotaChangeHistoryCommand(input, ...args)); + return await client.send(new ListRequestedServiceQuotaChangeHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.ts b/clients/client-service-quotas/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.ts index 170585a4a2b8..805b2a5c1a39 100644 --- a/clients/client-service-quotas/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.ts +++ b/clients/client-service-quotas/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServiceQuotaIncreaseRequestsInTemplateCommand(input, ...args)); + return await client.send(new ListServiceQuotaIncreaseRequestsInTemplateCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListServiceQuotasPaginator.ts b/clients/client-service-quotas/pagination/ListServiceQuotasPaginator.ts index 3845b8769999..4f67036952b7 100644 --- a/clients/client-service-quotas/pagination/ListServiceQuotasPaginator.ts +++ b/clients/client-service-quotas/pagination/ListServiceQuotasPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServiceQuotasCommand(input, ...args)); + return await client.send(new ListServiceQuotasCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-service-quotas/pagination/ListServicesPaginator.ts b/clients/client-service-quotas/pagination/ListServicesPaginator.ts index 743225150642..b50066f902fb 100644 --- a/clients/client-service-quotas/pagination/ListServicesPaginator.ts +++ b/clients/client-service-quotas/pagination/ListServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServicesCommand(input, ...args)); + return await client.send(new ListServicesCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceQuotas, diff --git a/clients/client-servicediscovery/pagination/GetInstancesHealthStatusPaginator.ts b/clients/client-servicediscovery/pagination/GetInstancesHealthStatusPaginator.ts index 225b1311464c..b7e6b771ecbc 100644 --- a/clients/client-servicediscovery/pagination/GetInstancesHealthStatusPaginator.ts +++ b/clients/client-servicediscovery/pagination/GetInstancesHealthStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInstancesHealthStatusCommand(input, ...args)); + return await client.send(new GetInstancesHealthStatusCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-servicediscovery/pagination/ListInstancesPaginator.ts b/clients/client-servicediscovery/pagination/ListInstancesPaginator.ts index 2e7757628027..fb3d3fbb0e3d 100644 --- a/clients/client-servicediscovery/pagination/ListInstancesPaginator.ts +++ b/clients/client-servicediscovery/pagination/ListInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstancesCommand(input, ...args)); + return await client.send(new ListInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-servicediscovery/pagination/ListNamespacesPaginator.ts b/clients/client-servicediscovery/pagination/ListNamespacesPaginator.ts index b61df7c69b04..5486d369a359 100644 --- a/clients/client-servicediscovery/pagination/ListNamespacesPaginator.ts +++ b/clients/client-servicediscovery/pagination/ListNamespacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListNamespacesCommand(input, ...args)); + return await client.send(new ListNamespacesCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-servicediscovery/pagination/ListOperationsPaginator.ts b/clients/client-servicediscovery/pagination/ListOperationsPaginator.ts index fe0cb84cfe91..3f516e3a4166 100644 --- a/clients/client-servicediscovery/pagination/ListOperationsPaginator.ts +++ b/clients/client-servicediscovery/pagination/ListOperationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOperationsCommand(input, ...args)); + return await client.send(new ListOperationsCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-servicediscovery/pagination/ListServicesPaginator.ts b/clients/client-servicediscovery/pagination/ListServicesPaginator.ts index 576d6455024c..c092b871d250 100644 --- a/clients/client-servicediscovery/pagination/ListServicesPaginator.ts +++ b/clients/client-servicediscovery/pagination/ListServicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServicesCommand(input, ...args)); + return await client.send(new ListServicesCommand(input), ...args); }; const makePagedRequest = async ( client: ServiceDiscovery, diff --git a/clients/client-ses/pagination/ListCustomVerificationEmailTemplatesPaginator.ts b/clients/client-ses/pagination/ListCustomVerificationEmailTemplatesPaginator.ts index 3dac8c41b6c8..7ee0d2b20241 100644 --- a/clients/client-ses/pagination/ListCustomVerificationEmailTemplatesPaginator.ts +++ b/clients/client-ses/pagination/ListCustomVerificationEmailTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCustomVerificationEmailTemplatesCommand(input, ...args)); + return await client.send(new ListCustomVerificationEmailTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: SES, diff --git a/clients/client-ses/pagination/ListIdentitiesPaginator.ts b/clients/client-ses/pagination/ListIdentitiesPaginator.ts index 499e275c864c..34188b99016c 100644 --- a/clients/client-ses/pagination/ListIdentitiesPaginator.ts +++ b/clients/client-ses/pagination/ListIdentitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListIdentitiesCommand(input, ...args)); + return await client.send(new ListIdentitiesCommand(input), ...args); }; const makePagedRequest = async ( client: SES, diff --git a/clients/client-sesv2/pagination/GetDedicatedIpsPaginator.ts b/clients/client-sesv2/pagination/GetDedicatedIpsPaginator.ts index aa08a91c9a51..679cb1b01de1 100644 --- a/clients/client-sesv2/pagination/GetDedicatedIpsPaginator.ts +++ b/clients/client-sesv2/pagination/GetDedicatedIpsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetDedicatedIpsCommand(input, ...args)); + return await client.send(new GetDedicatedIpsCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListConfigurationSetsPaginator.ts b/clients/client-sesv2/pagination/ListConfigurationSetsPaginator.ts index 195cf39df42e..2e0518dffa7c 100644 --- a/clients/client-sesv2/pagination/ListConfigurationSetsPaginator.ts +++ b/clients/client-sesv2/pagination/ListConfigurationSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListConfigurationSetsCommand(input, ...args)); + return await client.send(new ListConfigurationSetsCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListContactListsPaginator.ts b/clients/client-sesv2/pagination/ListContactListsPaginator.ts index 47f222e703f4..a1d063b87ff2 100644 --- a/clients/client-sesv2/pagination/ListContactListsPaginator.ts +++ b/clients/client-sesv2/pagination/ListContactListsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContactListsCommand(input, ...args)); + return await client.send(new ListContactListsCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListContactsPaginator.ts b/clients/client-sesv2/pagination/ListContactsPaginator.ts index 18b6a52e1ac1..be71ae10c081 100644 --- a/clients/client-sesv2/pagination/ListContactsPaginator.ts +++ b/clients/client-sesv2/pagination/ListContactsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListContactsCommand(input, ...args)); + return await client.send(new ListContactsCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListCustomVerificationEmailTemplatesPaginator.ts b/clients/client-sesv2/pagination/ListCustomVerificationEmailTemplatesPaginator.ts index 513e7aafa356..7b637239102c 100644 --- a/clients/client-sesv2/pagination/ListCustomVerificationEmailTemplatesPaginator.ts +++ b/clients/client-sesv2/pagination/ListCustomVerificationEmailTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCustomVerificationEmailTemplatesCommand(input, ...args)); + return await client.send(new ListCustomVerificationEmailTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListDedicatedIpPoolsPaginator.ts b/clients/client-sesv2/pagination/ListDedicatedIpPoolsPaginator.ts index ecd31293ad58..ee3ef0bf0c24 100644 --- a/clients/client-sesv2/pagination/ListDedicatedIpPoolsPaginator.ts +++ b/clients/client-sesv2/pagination/ListDedicatedIpPoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDedicatedIpPoolsCommand(input, ...args)); + return await client.send(new ListDedicatedIpPoolsCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListDeliverabilityTestReportsPaginator.ts b/clients/client-sesv2/pagination/ListDeliverabilityTestReportsPaginator.ts index acad00a12273..f22a73f119c3 100644 --- a/clients/client-sesv2/pagination/ListDeliverabilityTestReportsPaginator.ts +++ b/clients/client-sesv2/pagination/ListDeliverabilityTestReportsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeliverabilityTestReportsCommand(input, ...args)); + return await client.send(new ListDeliverabilityTestReportsCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListDomainDeliverabilityCampaignsPaginator.ts b/clients/client-sesv2/pagination/ListDomainDeliverabilityCampaignsPaginator.ts index e77f2408e08b..eeb1ace350ad 100644 --- a/clients/client-sesv2/pagination/ListDomainDeliverabilityCampaignsPaginator.ts +++ b/clients/client-sesv2/pagination/ListDomainDeliverabilityCampaignsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainDeliverabilityCampaignsCommand(input, ...args)); + return await client.send(new ListDomainDeliverabilityCampaignsCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListEmailIdentitiesPaginator.ts b/clients/client-sesv2/pagination/ListEmailIdentitiesPaginator.ts index 77b8362f3d02..1b1016b23170 100644 --- a/clients/client-sesv2/pagination/ListEmailIdentitiesPaginator.ts +++ b/clients/client-sesv2/pagination/ListEmailIdentitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEmailIdentitiesCommand(input, ...args)); + return await client.send(new ListEmailIdentitiesCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListEmailTemplatesPaginator.ts b/clients/client-sesv2/pagination/ListEmailTemplatesPaginator.ts index 50ce0f08023f..daedfbc9ff39 100644 --- a/clients/client-sesv2/pagination/ListEmailTemplatesPaginator.ts +++ b/clients/client-sesv2/pagination/ListEmailTemplatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEmailTemplatesCommand(input, ...args)); + return await client.send(new ListEmailTemplatesCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListImportJobsPaginator.ts b/clients/client-sesv2/pagination/ListImportJobsPaginator.ts index 7f55766bce8e..7b7b71082755 100644 --- a/clients/client-sesv2/pagination/ListImportJobsPaginator.ts +++ b/clients/client-sesv2/pagination/ListImportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListImportJobsCommand(input, ...args)); + return await client.send(new ListImportJobsCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sesv2/pagination/ListSuppressedDestinationsPaginator.ts b/clients/client-sesv2/pagination/ListSuppressedDestinationsPaginator.ts index 8b0bcc6922d5..80f21362353d 100644 --- a/clients/client-sesv2/pagination/ListSuppressedDestinationsPaginator.ts +++ b/clients/client-sesv2/pagination/ListSuppressedDestinationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSuppressedDestinationsCommand(input, ...args)); + return await client.send(new ListSuppressedDestinationsCommand(input), ...args); }; const makePagedRequest = async ( client: SESv2, diff --git a/clients/client-sfn/pagination/GetExecutionHistoryPaginator.ts b/clients/client-sfn/pagination/GetExecutionHistoryPaginator.ts index 9f3d277fef2b..0605b6bbd37e 100644 --- a/clients/client-sfn/pagination/GetExecutionHistoryPaginator.ts +++ b/clients/client-sfn/pagination/GetExecutionHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetExecutionHistoryCommand(input, ...args)); + return await client.send(new GetExecutionHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: SFN, diff --git a/clients/client-sfn/pagination/ListActivitiesPaginator.ts b/clients/client-sfn/pagination/ListActivitiesPaginator.ts index 536c7e482791..dfb641cd996c 100644 --- a/clients/client-sfn/pagination/ListActivitiesPaginator.ts +++ b/clients/client-sfn/pagination/ListActivitiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActivitiesCommand(input, ...args)); + return await client.send(new ListActivitiesCommand(input), ...args); }; const makePagedRequest = async ( client: SFN, diff --git a/clients/client-sfn/pagination/ListExecutionsPaginator.ts b/clients/client-sfn/pagination/ListExecutionsPaginator.ts index 7dee4cf40db9..b42787a21d12 100644 --- a/clients/client-sfn/pagination/ListExecutionsPaginator.ts +++ b/clients/client-sfn/pagination/ListExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListExecutionsCommand(input, ...args)); + return await client.send(new ListExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: SFN, diff --git a/clients/client-sfn/pagination/ListStateMachinesPaginator.ts b/clients/client-sfn/pagination/ListStateMachinesPaginator.ts index ca42a2b7af42..d6c19925b03e 100644 --- a/clients/client-sfn/pagination/ListStateMachinesPaginator.ts +++ b/clients/client-sfn/pagination/ListStateMachinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListStateMachinesCommand(input, ...args)); + return await client.send(new ListStateMachinesCommand(input), ...args); }; const makePagedRequest = async ( client: SFN, diff --git a/clients/client-shield/pagination/ListAttacksPaginator.ts b/clients/client-shield/pagination/ListAttacksPaginator.ts index 56843949212a..1d51b242101d 100644 --- a/clients/client-shield/pagination/ListAttacksPaginator.ts +++ b/clients/client-shield/pagination/ListAttacksPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAttacksCommand(input, ...args)); + return await client.send(new ListAttacksCommand(input), ...args); }; const makePagedRequest = async ( client: Shield, diff --git a/clients/client-shield/pagination/ListProtectionsPaginator.ts b/clients/client-shield/pagination/ListProtectionsPaginator.ts index 8865fd538b5f..ab650694e354 100644 --- a/clients/client-shield/pagination/ListProtectionsPaginator.ts +++ b/clients/client-shield/pagination/ListProtectionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListProtectionsCommand(input, ...args)); + return await client.send(new ListProtectionsCommand(input), ...args); }; const makePagedRequest = async ( client: Shield, diff --git a/clients/client-signer/pagination/ListSigningJobsPaginator.ts b/clients/client-signer/pagination/ListSigningJobsPaginator.ts index e0f92d9af288..2069ac5e919e 100644 --- a/clients/client-signer/pagination/ListSigningJobsPaginator.ts +++ b/clients/client-signer/pagination/ListSigningJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSigningJobsCommand(input, ...args)); + return await client.send(new ListSigningJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Signer, diff --git a/clients/client-signer/pagination/ListSigningPlatformsPaginator.ts b/clients/client-signer/pagination/ListSigningPlatformsPaginator.ts index 7cfcfd3491f5..0eb90af25bcb 100644 --- a/clients/client-signer/pagination/ListSigningPlatformsPaginator.ts +++ b/clients/client-signer/pagination/ListSigningPlatformsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSigningPlatformsCommand(input, ...args)); + return await client.send(new ListSigningPlatformsCommand(input), ...args); }; const makePagedRequest = async ( client: Signer, diff --git a/clients/client-signer/pagination/ListSigningProfilesPaginator.ts b/clients/client-signer/pagination/ListSigningProfilesPaginator.ts index 9fd8e80927c9..42b5522ce730 100644 --- a/clients/client-signer/pagination/ListSigningProfilesPaginator.ts +++ b/clients/client-signer/pagination/ListSigningProfilesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSigningProfilesCommand(input, ...args)); + return await client.send(new ListSigningProfilesCommand(input), ...args); }; const makePagedRequest = async ( client: Signer, diff --git a/clients/client-sms/pagination/GetConnectorsPaginator.ts b/clients/client-sms/pagination/GetConnectorsPaginator.ts index da94783ca737..48d221e1d763 100644 --- a/clients/client-sms/pagination/GetConnectorsPaginator.ts +++ b/clients/client-sms/pagination/GetConnectorsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetConnectorsCommand(input, ...args)); + return await client.send(new GetConnectorsCommand(input), ...args); }; const makePagedRequest = async ( client: SMS, diff --git a/clients/client-sms/pagination/GetReplicationJobsPaginator.ts b/clients/client-sms/pagination/GetReplicationJobsPaginator.ts index 45e5abce35a8..8fb6a4346eef 100644 --- a/clients/client-sms/pagination/GetReplicationJobsPaginator.ts +++ b/clients/client-sms/pagination/GetReplicationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetReplicationJobsCommand(input, ...args)); + return await client.send(new GetReplicationJobsCommand(input), ...args); }; const makePagedRequest = async ( client: SMS, diff --git a/clients/client-sms/pagination/GetReplicationRunsPaginator.ts b/clients/client-sms/pagination/GetReplicationRunsPaginator.ts index fd223f2516fc..677c185e5194 100644 --- a/clients/client-sms/pagination/GetReplicationRunsPaginator.ts +++ b/clients/client-sms/pagination/GetReplicationRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetReplicationRunsCommand(input, ...args)); + return await client.send(new GetReplicationRunsCommand(input), ...args); }; const makePagedRequest = async ( client: SMS, diff --git a/clients/client-sms/pagination/GetServersPaginator.ts b/clients/client-sms/pagination/GetServersPaginator.ts index f476a4c24e5d..9e6efb52fcee 100644 --- a/clients/client-sms/pagination/GetServersPaginator.ts +++ b/clients/client-sms/pagination/GetServersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetServersCommand(input, ...args)); + return await client.send(new GetServersCommand(input), ...args); }; const makePagedRequest = async ( client: SMS, diff --git a/clients/client-snowball/pagination/DescribeAddressesPaginator.ts b/clients/client-snowball/pagination/DescribeAddressesPaginator.ts index 94dba25d8f6c..2c1558f42473 100644 --- a/clients/client-snowball/pagination/DescribeAddressesPaginator.ts +++ b/clients/client-snowball/pagination/DescribeAddressesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAddressesCommand(input, ...args)); + return await client.send(new DescribeAddressesCommand(input), ...args); }; const makePagedRequest = async ( client: Snowball, diff --git a/clients/client-snowball/pagination/ListJobsPaginator.ts b/clients/client-snowball/pagination/ListJobsPaginator.ts index da397fb7af7e..b4051a5ed337 100644 --- a/clients/client-snowball/pagination/ListJobsPaginator.ts +++ b/clients/client-snowball/pagination/ListJobsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListJobsCommand(input, ...args)); + return await client.send(new ListJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Snowball, diff --git a/clients/client-sns/pagination/ListEndpointsByPlatformApplicationPaginator.ts b/clients/client-sns/pagination/ListEndpointsByPlatformApplicationPaginator.ts index 06ea5dcf6f9b..e09a857248df 100644 --- a/clients/client-sns/pagination/ListEndpointsByPlatformApplicationPaginator.ts +++ b/clients/client-sns/pagination/ListEndpointsByPlatformApplicationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListEndpointsByPlatformApplicationCommand(input, ...args)); + return await client.send(new ListEndpointsByPlatformApplicationCommand(input), ...args); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sns/pagination/ListPlatformApplicationsPaginator.ts b/clients/client-sns/pagination/ListPlatformApplicationsPaginator.ts index 6eded61a1e44..1d525ce8dfff 100644 --- a/clients/client-sns/pagination/ListPlatformApplicationsPaginator.ts +++ b/clients/client-sns/pagination/ListPlatformApplicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPlatformApplicationsCommand(input, ...args)); + return await client.send(new ListPlatformApplicationsCommand(input), ...args); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sns/pagination/ListSubscriptionsByTopicPaginator.ts b/clients/client-sns/pagination/ListSubscriptionsByTopicPaginator.ts index b48406aa7c9c..d9a17c01e182 100644 --- a/clients/client-sns/pagination/ListSubscriptionsByTopicPaginator.ts +++ b/clients/client-sns/pagination/ListSubscriptionsByTopicPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSubscriptionsByTopicCommand(input, ...args)); + return await client.send(new ListSubscriptionsByTopicCommand(input), ...args); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sns/pagination/ListSubscriptionsPaginator.ts b/clients/client-sns/pagination/ListSubscriptionsPaginator.ts index 46475e92fbdd..58ba054a5913 100644 --- a/clients/client-sns/pagination/ListSubscriptionsPaginator.ts +++ b/clients/client-sns/pagination/ListSubscriptionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSubscriptionsCommand(input, ...args)); + return await client.send(new ListSubscriptionsCommand(input), ...args); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sns/pagination/ListTopicsPaginator.ts b/clients/client-sns/pagination/ListTopicsPaginator.ts index b94e0d353079..7d34339d3e2c 100644 --- a/clients/client-sns/pagination/ListTopicsPaginator.ts +++ b/clients/client-sns/pagination/ListTopicsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTopicsCommand(input, ...args)); + return await client.send(new ListTopicsCommand(input), ...args); }; const makePagedRequest = async ( client: SNS, diff --git a/clients/client-sqs/pagination/ListDeadLetterSourceQueuesPaginator.ts b/clients/client-sqs/pagination/ListDeadLetterSourceQueuesPaginator.ts index 82a94df09717..fe77d08b3147 100644 --- a/clients/client-sqs/pagination/ListDeadLetterSourceQueuesPaginator.ts +++ b/clients/client-sqs/pagination/ListDeadLetterSourceQueuesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDeadLetterSourceQueuesCommand(input, ...args)); + return await client.send(new ListDeadLetterSourceQueuesCommand(input), ...args); }; const makePagedRequest = async ( client: SQS, diff --git a/clients/client-sqs/pagination/ListQueuesPaginator.ts b/clients/client-sqs/pagination/ListQueuesPaginator.ts index 7c7e06dcb591..65fee0efcbd8 100644 --- a/clients/client-sqs/pagination/ListQueuesPaginator.ts +++ b/clients/client-sqs/pagination/ListQueuesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListQueuesCommand(input, ...args)); + return await client.send(new ListQueuesCommand(input), ...args); }; const makePagedRequest = async ( client: SQS, diff --git a/clients/client-ssm/pagination/DescribeActivationsPaginator.ts b/clients/client-ssm/pagination/DescribeActivationsPaginator.ts index 811bc3afbfc6..993c60c57cfe 100644 --- a/clients/client-ssm/pagination/DescribeActivationsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeActivationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeActivationsCommand(input, ...args)); + return await client.send(new DescribeActivationsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAssociationExecutionTargetsPaginator.ts b/clients/client-ssm/pagination/DescribeAssociationExecutionTargetsPaginator.ts index f9a606f7e106..1e4859621ed6 100644 --- a/clients/client-ssm/pagination/DescribeAssociationExecutionTargetsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAssociationExecutionTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAssociationExecutionTargetsCommand(input, ...args)); + return await client.send(new DescribeAssociationExecutionTargetsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAssociationExecutionsPaginator.ts b/clients/client-ssm/pagination/DescribeAssociationExecutionsPaginator.ts index 3ce5389b4404..873ed78e4ef8 100644 --- a/clients/client-ssm/pagination/DescribeAssociationExecutionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAssociationExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAssociationExecutionsCommand(input, ...args)); + return await client.send(new DescribeAssociationExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAutomationExecutionsPaginator.ts b/clients/client-ssm/pagination/DescribeAutomationExecutionsPaginator.ts index c729f7abb0ab..9f1d48a6dbd5 100644 --- a/clients/client-ssm/pagination/DescribeAutomationExecutionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAutomationExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAutomationExecutionsCommand(input, ...args)); + return await client.send(new DescribeAutomationExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAutomationStepExecutionsPaginator.ts b/clients/client-ssm/pagination/DescribeAutomationStepExecutionsPaginator.ts index f6aeaf30fc21..4a978137dbf9 100644 --- a/clients/client-ssm/pagination/DescribeAutomationStepExecutionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAutomationStepExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAutomationStepExecutionsCommand(input, ...args)); + return await client.send(new DescribeAutomationStepExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeAvailablePatchesPaginator.ts b/clients/client-ssm/pagination/DescribeAvailablePatchesPaginator.ts index ea1d624333ce..733d5233c591 100644 --- a/clients/client-ssm/pagination/DescribeAvailablePatchesPaginator.ts +++ b/clients/client-ssm/pagination/DescribeAvailablePatchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeAvailablePatchesCommand(input, ...args)); + return await client.send(new DescribeAvailablePatchesCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeEffectiveInstanceAssociationsPaginator.ts b/clients/client-ssm/pagination/DescribeEffectiveInstanceAssociationsPaginator.ts index 3d18f674f4f7..d31409db6542 100644 --- a/clients/client-ssm/pagination/DescribeEffectiveInstanceAssociationsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeEffectiveInstanceAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEffectiveInstanceAssociationsCommand(input, ...args)); + return await client.send(new DescribeEffectiveInstanceAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.ts b/clients/client-ssm/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.ts index ddb408a6d77f..ea1c8623e317 100644 --- a/clients/client-ssm/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.ts +++ b/clients/client-ssm/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeEffectivePatchesForPatchBaselineCommand(input, ...args)); + return await client.send(new DescribeEffectivePatchesForPatchBaselineCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstanceAssociationsStatusPaginator.ts b/clients/client-ssm/pagination/DescribeInstanceAssociationsStatusPaginator.ts index b6b5def12653..28b534b47d2c 100644 --- a/clients/client-ssm/pagination/DescribeInstanceAssociationsStatusPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstanceAssociationsStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceAssociationsStatusCommand(input, ...args)); + return await client.send(new DescribeInstanceAssociationsStatusCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstanceInformationPaginator.ts b/clients/client-ssm/pagination/DescribeInstanceInformationPaginator.ts index 11bdf4453e68..d67153c4227a 100644 --- a/clients/client-ssm/pagination/DescribeInstanceInformationPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstanceInformationPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstanceInformationCommand(input, ...args)); + return await client.send(new DescribeInstanceInformationCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.ts b/clients/client-ssm/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.ts index 3d38234b9365..482f806d411e 100644 --- a/clients/client-ssm/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancePatchStatesForPatchGroupCommand(input, ...args)); + return await client.send(new DescribeInstancePatchStatesForPatchGroupCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstancePatchStatesPaginator.ts b/clients/client-ssm/pagination/DescribeInstancePatchStatesPaginator.ts index e77a21cfe961..4baf63797d28 100644 --- a/clients/client-ssm/pagination/DescribeInstancePatchStatesPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstancePatchStatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancePatchStatesCommand(input, ...args)); + return await client.send(new DescribeInstancePatchStatesCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInstancePatchesPaginator.ts b/clients/client-ssm/pagination/DescribeInstancePatchesPaginator.ts index 61de83f247d9..76a722fb481d 100644 --- a/clients/client-ssm/pagination/DescribeInstancePatchesPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInstancePatchesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInstancePatchesCommand(input, ...args)); + return await client.send(new DescribeInstancePatchesCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeInventoryDeletionsPaginator.ts b/clients/client-ssm/pagination/DescribeInventoryDeletionsPaginator.ts index 418362ebfbb5..0c19cbdd2641 100644 --- a/clients/client-ssm/pagination/DescribeInventoryDeletionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeInventoryDeletionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeInventoryDeletionsCommand(input, ...args)); + return await client.send(new DescribeInventoryDeletionsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts index 260798a3d37a..e0f963653fd7 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowExecutionTaskInvocationsCommand(input, ...args)); + return await client.send(new DescribeMaintenanceWindowExecutionTaskInvocationsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.ts index 2dd9961e9c9d..31336d7df64c 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowExecutionTasksCommand(input, ...args)); + return await client.send(new DescribeMaintenanceWindowExecutionTasksCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionsPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionsPaginator.ts index 782869919ee9..7a36e5e72d5d 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowExecutionsCommand(input, ...args)); + return await client.send(new DescribeMaintenanceWindowExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowSchedulePaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowSchedulePaginator.ts index 8c750e229542..0089a21c566d 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowSchedulePaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowSchedulePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowScheduleCommand(input, ...args)); + return await client.send(new DescribeMaintenanceWindowScheduleCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowTargetsPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowTargetsPaginator.ts index a8c5f70c3897..2da73dffb91c 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowTargetsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowTargetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowTargetsCommand(input, ...args)); + return await client.send(new DescribeMaintenanceWindowTargetsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowTasksPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowTasksPaginator.ts index 3f2baa2275f9..154ebd41ef46 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowTasksPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowTasksPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowTasksCommand(input, ...args)); + return await client.send(new DescribeMaintenanceWindowTasksCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowsForTargetPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowsForTargetPaginator.ts index 3828af7240a6..676ef75b5b2e 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowsForTargetPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowsForTargetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowsForTargetCommand(input, ...args)); + return await client.send(new DescribeMaintenanceWindowsForTargetCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeMaintenanceWindowsPaginator.ts b/clients/client-ssm/pagination/DescribeMaintenanceWindowsPaginator.ts index 8f89240bb86a..109fe29c2f4f 100644 --- a/clients/client-ssm/pagination/DescribeMaintenanceWindowsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeMaintenanceWindowsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeMaintenanceWindowsCommand(input, ...args)); + return await client.send(new DescribeMaintenanceWindowsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeOpsItemsPaginator.ts b/clients/client-ssm/pagination/DescribeOpsItemsPaginator.ts index 59ae6e8d1c9a..20d388121c46 100644 --- a/clients/client-ssm/pagination/DescribeOpsItemsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeOpsItemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeOpsItemsCommand(input, ...args)); + return await client.send(new DescribeOpsItemsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeParametersPaginator.ts b/clients/client-ssm/pagination/DescribeParametersPaginator.ts index 9414123c6052..6fba0edff4d0 100644 --- a/clients/client-ssm/pagination/DescribeParametersPaginator.ts +++ b/clients/client-ssm/pagination/DescribeParametersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeParametersCommand(input, ...args)); + return await client.send(new DescribeParametersCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribePatchBaselinesPaginator.ts b/clients/client-ssm/pagination/DescribePatchBaselinesPaginator.ts index 32f527cf9a9d..37bc71ffa0a9 100644 --- a/clients/client-ssm/pagination/DescribePatchBaselinesPaginator.ts +++ b/clients/client-ssm/pagination/DescribePatchBaselinesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePatchBaselinesCommand(input, ...args)); + return await client.send(new DescribePatchBaselinesCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribePatchGroupsPaginator.ts b/clients/client-ssm/pagination/DescribePatchGroupsPaginator.ts index 9cbea15a97c2..ed13a57e7981 100644 --- a/clients/client-ssm/pagination/DescribePatchGroupsPaginator.ts +++ b/clients/client-ssm/pagination/DescribePatchGroupsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePatchGroupsCommand(input, ...args)); + return await client.send(new DescribePatchGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribePatchPropertiesPaginator.ts b/clients/client-ssm/pagination/DescribePatchPropertiesPaginator.ts index 3d7a23eee256..be26c4db4b27 100644 --- a/clients/client-ssm/pagination/DescribePatchPropertiesPaginator.ts +++ b/clients/client-ssm/pagination/DescribePatchPropertiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribePatchPropertiesCommand(input, ...args)); + return await client.send(new DescribePatchPropertiesCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/DescribeSessionsPaginator.ts b/clients/client-ssm/pagination/DescribeSessionsPaginator.ts index 1358797ad40b..5af3c967ea55 100644 --- a/clients/client-ssm/pagination/DescribeSessionsPaginator.ts +++ b/clients/client-ssm/pagination/DescribeSessionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeSessionsCommand(input, ...args)); + return await client.send(new DescribeSessionsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetInventoryPaginator.ts b/clients/client-ssm/pagination/GetInventoryPaginator.ts index 09b6b4026cb0..7b0f52ba43a7 100644 --- a/clients/client-ssm/pagination/GetInventoryPaginator.ts +++ b/clients/client-ssm/pagination/GetInventoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInventoryCommand(input, ...args)); + return await client.send(new GetInventoryCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetInventorySchemaPaginator.ts b/clients/client-ssm/pagination/GetInventorySchemaPaginator.ts index 9e8c468a842a..ca30a7ef4f8d 100644 --- a/clients/client-ssm/pagination/GetInventorySchemaPaginator.ts +++ b/clients/client-ssm/pagination/GetInventorySchemaPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInventorySchemaCommand(input, ...args)); + return await client.send(new GetInventorySchemaCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetOpsSummaryPaginator.ts b/clients/client-ssm/pagination/GetOpsSummaryPaginator.ts index 9403dc8080ac..8507c274c427 100644 --- a/clients/client-ssm/pagination/GetOpsSummaryPaginator.ts +++ b/clients/client-ssm/pagination/GetOpsSummaryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetOpsSummaryCommand(input, ...args)); + return await client.send(new GetOpsSummaryCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetParameterHistoryPaginator.ts b/clients/client-ssm/pagination/GetParameterHistoryPaginator.ts index b34fe654f5ba..5cf30a11e75b 100644 --- a/clients/client-ssm/pagination/GetParameterHistoryPaginator.ts +++ b/clients/client-ssm/pagination/GetParameterHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetParameterHistoryCommand(input, ...args)); + return await client.send(new GetParameterHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/GetParametersByPathPaginator.ts b/clients/client-ssm/pagination/GetParametersByPathPaginator.ts index 69c5fae40c5b..ef369865e9df 100644 --- a/clients/client-ssm/pagination/GetParametersByPathPaginator.ts +++ b/clients/client-ssm/pagination/GetParametersByPathPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetParametersByPathCommand(input, ...args)); + return await client.send(new GetParametersByPathCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListAssociationVersionsPaginator.ts b/clients/client-ssm/pagination/ListAssociationVersionsPaginator.ts index 3840513be32d..07fa4a03e6bd 100644 --- a/clients/client-ssm/pagination/ListAssociationVersionsPaginator.ts +++ b/clients/client-ssm/pagination/ListAssociationVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociationVersionsCommand(input, ...args)); + return await client.send(new ListAssociationVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListAssociationsPaginator.ts b/clients/client-ssm/pagination/ListAssociationsPaginator.ts index 58b62bc60001..2f5b1fc2f00e 100644 --- a/clients/client-ssm/pagination/ListAssociationsPaginator.ts +++ b/clients/client-ssm/pagination/ListAssociationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAssociationsCommand(input, ...args)); + return await client.send(new ListAssociationsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListCommandInvocationsPaginator.ts b/clients/client-ssm/pagination/ListCommandInvocationsPaginator.ts index 9d114a4add2c..ce3fdc616e26 100644 --- a/clients/client-ssm/pagination/ListCommandInvocationsPaginator.ts +++ b/clients/client-ssm/pagination/ListCommandInvocationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCommandInvocationsCommand(input, ...args)); + return await client.send(new ListCommandInvocationsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListCommandsPaginator.ts b/clients/client-ssm/pagination/ListCommandsPaginator.ts index c2f3822a5223..1fdccdfa035a 100644 --- a/clients/client-ssm/pagination/ListCommandsPaginator.ts +++ b/clients/client-ssm/pagination/ListCommandsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListCommandsCommand(input, ...args)); + return await client.send(new ListCommandsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListComplianceItemsPaginator.ts b/clients/client-ssm/pagination/ListComplianceItemsPaginator.ts index fb4340b57f56..f1f910128573 100644 --- a/clients/client-ssm/pagination/ListComplianceItemsPaginator.ts +++ b/clients/client-ssm/pagination/ListComplianceItemsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComplianceItemsCommand(input, ...args)); + return await client.send(new ListComplianceItemsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListComplianceSummariesPaginator.ts b/clients/client-ssm/pagination/ListComplianceSummariesPaginator.ts index f8d33735fff6..cb501800d19e 100644 --- a/clients/client-ssm/pagination/ListComplianceSummariesPaginator.ts +++ b/clients/client-ssm/pagination/ListComplianceSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListComplianceSummariesCommand(input, ...args)); + return await client.send(new ListComplianceSummariesCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListDocumentVersionsPaginator.ts b/clients/client-ssm/pagination/ListDocumentVersionsPaginator.ts index 117df81a49c8..57a815089fbf 100644 --- a/clients/client-ssm/pagination/ListDocumentVersionsPaginator.ts +++ b/clients/client-ssm/pagination/ListDocumentVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDocumentVersionsCommand(input, ...args)); + return await client.send(new ListDocumentVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListDocumentsPaginator.ts b/clients/client-ssm/pagination/ListDocumentsPaginator.ts index ee8f7e3348b9..b200c4566ab8 100644 --- a/clients/client-ssm/pagination/ListDocumentsPaginator.ts +++ b/clients/client-ssm/pagination/ListDocumentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDocumentsCommand(input, ...args)); + return await client.send(new ListDocumentsCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListResourceComplianceSummariesPaginator.ts b/clients/client-ssm/pagination/ListResourceComplianceSummariesPaginator.ts index 489c9ccfa964..00e2f293d596 100644 --- a/clients/client-ssm/pagination/ListResourceComplianceSummariesPaginator.ts +++ b/clients/client-ssm/pagination/ListResourceComplianceSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourceComplianceSummariesCommand(input, ...args)); + return await client.send(new ListResourceComplianceSummariesCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-ssm/pagination/ListResourceDataSyncPaginator.ts b/clients/client-ssm/pagination/ListResourceDataSyncPaginator.ts index a288358da04c..909537636351 100644 --- a/clients/client-ssm/pagination/ListResourceDataSyncPaginator.ts +++ b/clients/client-ssm/pagination/ListResourceDataSyncPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourceDataSyncCommand(input, ...args)); + return await client.send(new ListResourceDataSyncCommand(input), ...args); }; const makePagedRequest = async ( client: SSM, diff --git a/clients/client-sso-admin/pagination/ListAccountAssignmentCreationStatusPaginator.ts b/clients/client-sso-admin/pagination/ListAccountAssignmentCreationStatusPaginator.ts index aa492267fcc6..7ef0fb4223e2 100644 --- a/clients/client-sso-admin/pagination/ListAccountAssignmentCreationStatusPaginator.ts +++ b/clients/client-sso-admin/pagination/ListAccountAssignmentCreationStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountAssignmentCreationStatusCommand(input, ...args)); + return await client.send(new ListAccountAssignmentCreationStatusCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListAccountAssignmentDeletionStatusPaginator.ts b/clients/client-sso-admin/pagination/ListAccountAssignmentDeletionStatusPaginator.ts index e95c90afa66a..9803a7055e2d 100644 --- a/clients/client-sso-admin/pagination/ListAccountAssignmentDeletionStatusPaginator.ts +++ b/clients/client-sso-admin/pagination/ListAccountAssignmentDeletionStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountAssignmentDeletionStatusCommand(input, ...args)); + return await client.send(new ListAccountAssignmentDeletionStatusCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListAccountAssignmentsPaginator.ts b/clients/client-sso-admin/pagination/ListAccountAssignmentsPaginator.ts index c6cd633bcd2d..85d9c9f893a3 100644 --- a/clients/client-sso-admin/pagination/ListAccountAssignmentsPaginator.ts +++ b/clients/client-sso-admin/pagination/ListAccountAssignmentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountAssignmentsCommand(input, ...args)); + return await client.send(new ListAccountAssignmentsCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListAccountsForProvisionedPermissionSetPaginator.ts b/clients/client-sso-admin/pagination/ListAccountsForProvisionedPermissionSetPaginator.ts index 77a1247a7830..6694e9410eda 100644 --- a/clients/client-sso-admin/pagination/ListAccountsForProvisionedPermissionSetPaginator.ts +++ b/clients/client-sso-admin/pagination/ListAccountsForProvisionedPermissionSetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsForProvisionedPermissionSetCommand(input, ...args)); + return await client.send(new ListAccountsForProvisionedPermissionSetCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListInstancesPaginator.ts b/clients/client-sso-admin/pagination/ListInstancesPaginator.ts index 070b85ad18c1..b5f1c8c853cf 100644 --- a/clients/client-sso-admin/pagination/ListInstancesPaginator.ts +++ b/clients/client-sso-admin/pagination/ListInstancesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListInstancesCommand(input, ...args)); + return await client.send(new ListInstancesCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListManagedPoliciesInPermissionSetPaginator.ts b/clients/client-sso-admin/pagination/ListManagedPoliciesInPermissionSetPaginator.ts index c0814c2ab045..3b8115dd3045 100644 --- a/clients/client-sso-admin/pagination/ListManagedPoliciesInPermissionSetPaginator.ts +++ b/clients/client-sso-admin/pagination/ListManagedPoliciesInPermissionSetPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListManagedPoliciesInPermissionSetCommand(input, ...args)); + return await client.send(new ListManagedPoliciesInPermissionSetCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListPermissionSetProvisioningStatusPaginator.ts b/clients/client-sso-admin/pagination/ListPermissionSetProvisioningStatusPaginator.ts index 278b663329bc..6ec9b74bcc29 100644 --- a/clients/client-sso-admin/pagination/ListPermissionSetProvisioningStatusPaginator.ts +++ b/clients/client-sso-admin/pagination/ListPermissionSetProvisioningStatusPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionSetProvisioningStatusCommand(input, ...args)); + return await client.send(new ListPermissionSetProvisioningStatusCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListPermissionSetsPaginator.ts b/clients/client-sso-admin/pagination/ListPermissionSetsPaginator.ts index 31128150db28..6c7a7a600a59 100644 --- a/clients/client-sso-admin/pagination/ListPermissionSetsPaginator.ts +++ b/clients/client-sso-admin/pagination/ListPermissionSetsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionSetsCommand(input, ...args)); + return await client.send(new ListPermissionSetsCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListPermissionSetsProvisionedToAccountPaginator.ts b/clients/client-sso-admin/pagination/ListPermissionSetsProvisionedToAccountPaginator.ts index 45d92263faef..ea99b1b6c5df 100644 --- a/clients/client-sso-admin/pagination/ListPermissionSetsProvisionedToAccountPaginator.ts +++ b/clients/client-sso-admin/pagination/ListPermissionSetsProvisionedToAccountPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListPermissionSetsProvisionedToAccountCommand(input, ...args)); + return await client.send(new ListPermissionSetsProvisionedToAccountCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso-admin/pagination/ListTagsForResourcePaginator.ts b/clients/client-sso-admin/pagination/ListTagsForResourcePaginator.ts index 9e9c73b2f58d..2cee4dd9fa60 100644 --- a/clients/client-sso-admin/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-sso-admin/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: SSOAdmin, diff --git a/clients/client-sso/pagination/ListAccountRolesPaginator.ts b/clients/client-sso/pagination/ListAccountRolesPaginator.ts index d89c66e7cf26..85b7a11e894e 100644 --- a/clients/client-sso/pagination/ListAccountRolesPaginator.ts +++ b/clients/client-sso/pagination/ListAccountRolesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountRolesCommand(input, ...args)); + return await client.send(new ListAccountRolesCommand(input), ...args); }; const makePagedRequest = async ( client: SSO, diff --git a/clients/client-sso/pagination/ListAccountsPaginator.ts b/clients/client-sso/pagination/ListAccountsPaginator.ts index 8c077c499c08..08c5b0c943ff 100644 --- a/clients/client-sso/pagination/ListAccountsPaginator.ts +++ b/clients/client-sso/pagination/ListAccountsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAccountsCommand(input, ...args)); + return await client.send(new ListAccountsCommand(input), ...args); }; const makePagedRequest = async ( client: SSO, diff --git a/clients/client-storage-gateway/pagination/DescribeTapeArchivesPaginator.ts b/clients/client-storage-gateway/pagination/DescribeTapeArchivesPaginator.ts index 7deeb3510449..ffbcc29afc37 100644 --- a/clients/client-storage-gateway/pagination/DescribeTapeArchivesPaginator.ts +++ b/clients/client-storage-gateway/pagination/DescribeTapeArchivesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTapeArchivesCommand(input, ...args)); + return await client.send(new DescribeTapeArchivesCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/DescribeTapeRecoveryPointsPaginator.ts b/clients/client-storage-gateway/pagination/DescribeTapeRecoveryPointsPaginator.ts index f397d3c613f9..67be5b05386d 100644 --- a/clients/client-storage-gateway/pagination/DescribeTapeRecoveryPointsPaginator.ts +++ b/clients/client-storage-gateway/pagination/DescribeTapeRecoveryPointsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTapeRecoveryPointsCommand(input, ...args)); + return await client.send(new DescribeTapeRecoveryPointsCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/DescribeTapesPaginator.ts b/clients/client-storage-gateway/pagination/DescribeTapesPaginator.ts index 241595f12cbd..f19b4e9d8523 100644 --- a/clients/client-storage-gateway/pagination/DescribeTapesPaginator.ts +++ b/clients/client-storage-gateway/pagination/DescribeTapesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeTapesCommand(input, ...args)); + return await client.send(new DescribeTapesCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/DescribeVTLDevicesPaginator.ts b/clients/client-storage-gateway/pagination/DescribeVTLDevicesPaginator.ts index f1c350c1ae60..6d6c310f8865 100644 --- a/clients/client-storage-gateway/pagination/DescribeVTLDevicesPaginator.ts +++ b/clients/client-storage-gateway/pagination/DescribeVTLDevicesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeVTLDevicesCommand(input, ...args)); + return await client.send(new DescribeVTLDevicesCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListFileSharesPaginator.ts b/clients/client-storage-gateway/pagination/ListFileSharesPaginator.ts index 718aa6a9f380..765326d3ae1d 100644 --- a/clients/client-storage-gateway/pagination/ListFileSharesPaginator.ts +++ b/clients/client-storage-gateway/pagination/ListFileSharesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFileSharesCommand(input, ...args)); + return await client.send(new ListFileSharesCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListGatewaysPaginator.ts b/clients/client-storage-gateway/pagination/ListGatewaysPaginator.ts index 57cd3b171919..9e7c2848ad36 100644 --- a/clients/client-storage-gateway/pagination/ListGatewaysPaginator.ts +++ b/clients/client-storage-gateway/pagination/ListGatewaysPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGatewaysCommand(input, ...args)); + return await client.send(new ListGatewaysCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListTagsForResourcePaginator.ts b/clients/client-storage-gateway/pagination/ListTagsForResourcePaginator.ts index cfd33d4ee4df..e8dd30f992f7 100644 --- a/clients/client-storage-gateway/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-storage-gateway/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListTapePoolsPaginator.ts b/clients/client-storage-gateway/pagination/ListTapePoolsPaginator.ts index 3e507b003ae1..af6a30c71a22 100644 --- a/clients/client-storage-gateway/pagination/ListTapePoolsPaginator.ts +++ b/clients/client-storage-gateway/pagination/ListTapePoolsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTapePoolsCommand(input, ...args)); + return await client.send(new ListTapePoolsCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListTapesPaginator.ts b/clients/client-storage-gateway/pagination/ListTapesPaginator.ts index aeff836452a5..d98f69c6ea95 100644 --- a/clients/client-storage-gateway/pagination/ListTapesPaginator.ts +++ b/clients/client-storage-gateway/pagination/ListTapesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTapesCommand(input, ...args)); + return await client.send(new ListTapesCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-storage-gateway/pagination/ListVolumesPaginator.ts b/clients/client-storage-gateway/pagination/ListVolumesPaginator.ts index cd45c6ec42bc..7d3cab5e940d 100644 --- a/clients/client-storage-gateway/pagination/ListVolumesPaginator.ts +++ b/clients/client-storage-gateway/pagination/ListVolumesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVolumesCommand(input, ...args)); + return await client.send(new ListVolumesCommand(input), ...args); }; const makePagedRequest = async ( client: StorageGateway, diff --git a/clients/client-support/pagination/DescribeCasesPaginator.ts b/clients/client-support/pagination/DescribeCasesPaginator.ts index 431933758c9b..787f17a25abd 100644 --- a/clients/client-support/pagination/DescribeCasesPaginator.ts +++ b/clients/client-support/pagination/DescribeCasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCasesCommand(input, ...args)); + return await client.send(new DescribeCasesCommand(input), ...args); }; const makePagedRequest = async ( client: Support, diff --git a/clients/client-support/pagination/DescribeCommunicationsPaginator.ts b/clients/client-support/pagination/DescribeCommunicationsPaginator.ts index cb4bf9e91b60..beda157da4a6 100644 --- a/clients/client-support/pagination/DescribeCommunicationsPaginator.ts +++ b/clients/client-support/pagination/DescribeCommunicationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCommunicationsCommand(input, ...args)); + return await client.send(new DescribeCommunicationsCommand(input), ...args); }; const makePagedRequest = async ( client: Support, diff --git a/clients/client-swf/pagination/GetWorkflowExecutionHistoryPaginator.ts b/clients/client-swf/pagination/GetWorkflowExecutionHistoryPaginator.ts index 64204bc3f694..1c66e3306550 100644 --- a/clients/client-swf/pagination/GetWorkflowExecutionHistoryPaginator.ts +++ b/clients/client-swf/pagination/GetWorkflowExecutionHistoryPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetWorkflowExecutionHistoryCommand(input, ...args)); + return await client.send(new GetWorkflowExecutionHistoryCommand(input), ...args); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListActivityTypesPaginator.ts b/clients/client-swf/pagination/ListActivityTypesPaginator.ts index 998bd917befd..462d56448236 100644 --- a/clients/client-swf/pagination/ListActivityTypesPaginator.ts +++ b/clients/client-swf/pagination/ListActivityTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListActivityTypesCommand(input, ...args)); + return await client.send(new ListActivityTypesCommand(input), ...args); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListClosedWorkflowExecutionsPaginator.ts b/clients/client-swf/pagination/ListClosedWorkflowExecutionsPaginator.ts index 372659615a66..79b9674d3d95 100644 --- a/clients/client-swf/pagination/ListClosedWorkflowExecutionsPaginator.ts +++ b/clients/client-swf/pagination/ListClosedWorkflowExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListClosedWorkflowExecutionsCommand(input, ...args)); + return await client.send(new ListClosedWorkflowExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListDomainsPaginator.ts b/clients/client-swf/pagination/ListDomainsPaginator.ts index 915c41073cf0..99d415a9ade0 100644 --- a/clients/client-swf/pagination/ListDomainsPaginator.ts +++ b/clients/client-swf/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input, ...args)); + return await client.send(new ListDomainsCommand(input), ...args); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListOpenWorkflowExecutionsPaginator.ts b/clients/client-swf/pagination/ListOpenWorkflowExecutionsPaginator.ts index a496b1190afb..e8dee4bbc6e0 100644 --- a/clients/client-swf/pagination/ListOpenWorkflowExecutionsPaginator.ts +++ b/clients/client-swf/pagination/ListOpenWorkflowExecutionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOpenWorkflowExecutionsCommand(input, ...args)); + return await client.send(new ListOpenWorkflowExecutionsCommand(input), ...args); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/ListWorkflowTypesPaginator.ts b/clients/client-swf/pagination/ListWorkflowTypesPaginator.ts index 1dc39e8d9e11..4b68388db200 100644 --- a/clients/client-swf/pagination/ListWorkflowTypesPaginator.ts +++ b/clients/client-swf/pagination/ListWorkflowTypesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWorkflowTypesCommand(input, ...args)); + return await client.send(new ListWorkflowTypesCommand(input), ...args); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-swf/pagination/PollForDecisionTaskPaginator.ts b/clients/client-swf/pagination/PollForDecisionTaskPaginator.ts index ae3219ba849a..08237fa8287e 100644 --- a/clients/client-swf/pagination/PollForDecisionTaskPaginator.ts +++ b/clients/client-swf/pagination/PollForDecisionTaskPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new PollForDecisionTaskCommand(input, ...args)); + return await client.send(new PollForDecisionTaskCommand(input), ...args); }; const makePagedRequest = async ( client: SWF, diff --git a/clients/client-synthetics/pagination/DescribeCanariesLastRunPaginator.ts b/clients/client-synthetics/pagination/DescribeCanariesLastRunPaginator.ts index 5703a5a7f700..b5292bd8c04c 100644 --- a/clients/client-synthetics/pagination/DescribeCanariesLastRunPaginator.ts +++ b/clients/client-synthetics/pagination/DescribeCanariesLastRunPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCanariesLastRunCommand(input, ...args)); + return await client.send(new DescribeCanariesLastRunCommand(input), ...args); }; const makePagedRequest = async ( client: Synthetics, diff --git a/clients/client-synthetics/pagination/DescribeCanariesPaginator.ts b/clients/client-synthetics/pagination/DescribeCanariesPaginator.ts index 0d55f75386f6..9d1db84597f7 100644 --- a/clients/client-synthetics/pagination/DescribeCanariesPaginator.ts +++ b/clients/client-synthetics/pagination/DescribeCanariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeCanariesCommand(input, ...args)); + return await client.send(new DescribeCanariesCommand(input), ...args); }; const makePagedRequest = async ( client: Synthetics, diff --git a/clients/client-synthetics/pagination/DescribeRuntimeVersionsPaginator.ts b/clients/client-synthetics/pagination/DescribeRuntimeVersionsPaginator.ts index 62157611ac14..6af7a71050aa 100644 --- a/clients/client-synthetics/pagination/DescribeRuntimeVersionsPaginator.ts +++ b/clients/client-synthetics/pagination/DescribeRuntimeVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeRuntimeVersionsCommand(input, ...args)); + return await client.send(new DescribeRuntimeVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: Synthetics, diff --git a/clients/client-synthetics/pagination/GetCanaryRunsPaginator.ts b/clients/client-synthetics/pagination/GetCanaryRunsPaginator.ts index c41acb8384a8..2b8e2fe031a5 100644 --- a/clients/client-synthetics/pagination/GetCanaryRunsPaginator.ts +++ b/clients/client-synthetics/pagination/GetCanaryRunsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetCanaryRunsCommand(input, ...args)); + return await client.send(new GetCanaryRunsCommand(input), ...args); }; const makePagedRequest = async ( client: Synthetics, diff --git a/clients/client-timestream-query/pagination/QueryPaginator.ts b/clients/client-timestream-query/pagination/QueryPaginator.ts index 06c343979f97..c9196dd812e2 100644 --- a/clients/client-timestream-query/pagination/QueryPaginator.ts +++ b/clients/client-timestream-query/pagination/QueryPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new QueryCommand(input, ...args)); + return await client.send(new QueryCommand(input), ...args); }; const makePagedRequest = async ( client: TimestreamQuery, diff --git a/clients/client-timestream-write/pagination/ListDatabasesPaginator.ts b/clients/client-timestream-write/pagination/ListDatabasesPaginator.ts index 6d625c917189..7f8a954a5c55 100644 --- a/clients/client-timestream-write/pagination/ListDatabasesPaginator.ts +++ b/clients/client-timestream-write/pagination/ListDatabasesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDatabasesCommand(input, ...args)); + return await client.send(new ListDatabasesCommand(input), ...args); }; const makePagedRequest = async ( client: TimestreamWrite, diff --git a/clients/client-timestream-write/pagination/ListTablesPaginator.ts b/clients/client-timestream-write/pagination/ListTablesPaginator.ts index e040e3809111..413b4d547fe4 100644 --- a/clients/client-timestream-write/pagination/ListTablesPaginator.ts +++ b/clients/client-timestream-write/pagination/ListTablesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTablesCommand(input, ...args)); + return await client.send(new ListTablesCommand(input), ...args); }; const makePagedRequest = async ( client: TimestreamWrite, diff --git a/clients/client-transcribe/pagination/ListLanguageModelsPaginator.ts b/clients/client-transcribe/pagination/ListLanguageModelsPaginator.ts index 9e09850bbc9e..7f7c72069f9b 100644 --- a/clients/client-transcribe/pagination/ListLanguageModelsPaginator.ts +++ b/clients/client-transcribe/pagination/ListLanguageModelsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListLanguageModelsCommand(input, ...args)); + return await client.send(new ListLanguageModelsCommand(input), ...args); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListMedicalTranscriptionJobsPaginator.ts b/clients/client-transcribe/pagination/ListMedicalTranscriptionJobsPaginator.ts index 39ecd1f05579..0769edac49ca 100644 --- a/clients/client-transcribe/pagination/ListMedicalTranscriptionJobsPaginator.ts +++ b/clients/client-transcribe/pagination/ListMedicalTranscriptionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMedicalTranscriptionJobsCommand(input, ...args)); + return await client.send(new ListMedicalTranscriptionJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListMedicalVocabulariesPaginator.ts b/clients/client-transcribe/pagination/ListMedicalVocabulariesPaginator.ts index 1d36e03e0313..f177cdfff4aa 100644 --- a/clients/client-transcribe/pagination/ListMedicalVocabulariesPaginator.ts +++ b/clients/client-transcribe/pagination/ListMedicalVocabulariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMedicalVocabulariesCommand(input, ...args)); + return await client.send(new ListMedicalVocabulariesCommand(input), ...args); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListTranscriptionJobsPaginator.ts b/clients/client-transcribe/pagination/ListTranscriptionJobsPaginator.ts index 2d757510e6d7..60263761f499 100644 --- a/clients/client-transcribe/pagination/ListTranscriptionJobsPaginator.ts +++ b/clients/client-transcribe/pagination/ListTranscriptionJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTranscriptionJobsCommand(input, ...args)); + return await client.send(new ListTranscriptionJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListVocabulariesPaginator.ts b/clients/client-transcribe/pagination/ListVocabulariesPaginator.ts index 3bccd9221b70..c1c2664a444a 100644 --- a/clients/client-transcribe/pagination/ListVocabulariesPaginator.ts +++ b/clients/client-transcribe/pagination/ListVocabulariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVocabulariesCommand(input, ...args)); + return await client.send(new ListVocabulariesCommand(input), ...args); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transcribe/pagination/ListVocabularyFiltersPaginator.ts b/clients/client-transcribe/pagination/ListVocabularyFiltersPaginator.ts index 0f0304acc0ad..6b0f4a8e03f0 100644 --- a/clients/client-transcribe/pagination/ListVocabularyFiltersPaginator.ts +++ b/clients/client-transcribe/pagination/ListVocabularyFiltersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListVocabularyFiltersCommand(input, ...args)); + return await client.send(new ListVocabularyFiltersCommand(input), ...args); }; const makePagedRequest = async ( client: Transcribe, diff --git a/clients/client-transfer/pagination/ListSecurityPoliciesPaginator.ts b/clients/client-transfer/pagination/ListSecurityPoliciesPaginator.ts index 1431452c8ffd..a0a507299a87 100644 --- a/clients/client-transfer/pagination/ListSecurityPoliciesPaginator.ts +++ b/clients/client-transfer/pagination/ListSecurityPoliciesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListSecurityPoliciesCommand(input, ...args)); + return await client.send(new ListSecurityPoliciesCommand(input), ...args); }; const makePagedRequest = async ( client: Transfer, diff --git a/clients/client-transfer/pagination/ListServersPaginator.ts b/clients/client-transfer/pagination/ListServersPaginator.ts index dee17103f119..9da61ce4a107 100644 --- a/clients/client-transfer/pagination/ListServersPaginator.ts +++ b/clients/client-transfer/pagination/ListServersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListServersCommand(input, ...args)); + return await client.send(new ListServersCommand(input), ...args); }; const makePagedRequest = async ( client: Transfer, diff --git a/clients/client-transfer/pagination/ListTagsForResourcePaginator.ts b/clients/client-transfer/pagination/ListTagsForResourcePaginator.ts index 8d59aa01f605..0112bed50a1a 100644 --- a/clients/client-transfer/pagination/ListTagsForResourcePaginator.ts +++ b/clients/client-transfer/pagination/ListTagsForResourcePaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTagsForResourceCommand(input, ...args)); + return await client.send(new ListTagsForResourceCommand(input), ...args); }; const makePagedRequest = async ( client: Transfer, diff --git a/clients/client-transfer/pagination/ListUsersPaginator.ts b/clients/client-transfer/pagination/ListUsersPaginator.ts index 219df40a634f..b150b545b4be 100644 --- a/clients/client-transfer/pagination/ListUsersPaginator.ts +++ b/clients/client-transfer/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input, ...args)); + return await client.send(new ListUsersCommand(input), ...args); }; const makePagedRequest = async ( client: Transfer, diff --git a/clients/client-translate/pagination/ListTerminologiesPaginator.ts b/clients/client-translate/pagination/ListTerminologiesPaginator.ts index 002484c0208d..c92d18a71afc 100644 --- a/clients/client-translate/pagination/ListTerminologiesPaginator.ts +++ b/clients/client-translate/pagination/ListTerminologiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTerminologiesCommand(input, ...args)); + return await client.send(new ListTerminologiesCommand(input), ...args); }; const makePagedRequest = async ( client: Translate, diff --git a/clients/client-translate/pagination/ListTextTranslationJobsPaginator.ts b/clients/client-translate/pagination/ListTextTranslationJobsPaginator.ts index 708b0a926f5f..92b6b00141e3 100644 --- a/clients/client-translate/pagination/ListTextTranslationJobsPaginator.ts +++ b/clients/client-translate/pagination/ListTextTranslationJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListTextTranslationJobsCommand(input, ...args)); + return await client.send(new ListTextTranslationJobsCommand(input), ...args); }; const makePagedRequest = async ( client: Translate, diff --git a/clients/client-workdocs/pagination/DescribeDocumentVersionsPaginator.ts b/clients/client-workdocs/pagination/DescribeDocumentVersionsPaginator.ts index 728a2fb4b313..fc9ae4dc5b67 100644 --- a/clients/client-workdocs/pagination/DescribeDocumentVersionsPaginator.ts +++ b/clients/client-workdocs/pagination/DescribeDocumentVersionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeDocumentVersionsCommand(input, ...args)); + return await client.send(new DescribeDocumentVersionsCommand(input), ...args); }; const makePagedRequest = async ( client: WorkDocs, diff --git a/clients/client-workdocs/pagination/DescribeFolderContentsPaginator.ts b/clients/client-workdocs/pagination/DescribeFolderContentsPaginator.ts index 7763ca7b04dd..3367fdc91c25 100644 --- a/clients/client-workdocs/pagination/DescribeFolderContentsPaginator.ts +++ b/clients/client-workdocs/pagination/DescribeFolderContentsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeFolderContentsCommand(input, ...args)); + return await client.send(new DescribeFolderContentsCommand(input), ...args); }; const makePagedRequest = async ( client: WorkDocs, diff --git a/clients/client-workdocs/pagination/DescribeUsersPaginator.ts b/clients/client-workdocs/pagination/DescribeUsersPaginator.ts index 5abe5fa6a08f..bf8bcffeb5ae 100644 --- a/clients/client-workdocs/pagination/DescribeUsersPaginator.ts +++ b/clients/client-workdocs/pagination/DescribeUsersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeUsersCommand(input, ...args)); + return await client.send(new DescribeUsersCommand(input), ...args); }; const makePagedRequest = async ( client: WorkDocs, diff --git a/clients/client-worklink/pagination/ListDevicesPaginator.ts b/clients/client-worklink/pagination/ListDevicesPaginator.ts index f784635b46c8..d9950f2e5826 100644 --- a/clients/client-worklink/pagination/ListDevicesPaginator.ts +++ b/clients/client-worklink/pagination/ListDevicesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDevicesCommand(input, ...args)); + return await client.send(new ListDevicesCommand(input), ...args); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-worklink/pagination/ListDomainsPaginator.ts b/clients/client-worklink/pagination/ListDomainsPaginator.ts index 4c0459ab5447..3f36cd1f1322 100644 --- a/clients/client-worklink/pagination/ListDomainsPaginator.ts +++ b/clients/client-worklink/pagination/ListDomainsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListDomainsCommand(input, ...args)); + return await client.send(new ListDomainsCommand(input), ...args); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-worklink/pagination/ListFleetsPaginator.ts b/clients/client-worklink/pagination/ListFleetsPaginator.ts index 24ec17a30ef4..689a8721667f 100644 --- a/clients/client-worklink/pagination/ListFleetsPaginator.ts +++ b/clients/client-worklink/pagination/ListFleetsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListFleetsCommand(input, ...args)); + return await client.send(new ListFleetsCommand(input), ...args); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-worklink/pagination/ListWebsiteAuthorizationProvidersPaginator.ts b/clients/client-worklink/pagination/ListWebsiteAuthorizationProvidersPaginator.ts index 6feca6ada6cd..8d78d7b99672 100644 --- a/clients/client-worklink/pagination/ListWebsiteAuthorizationProvidersPaginator.ts +++ b/clients/client-worklink/pagination/ListWebsiteAuthorizationProvidersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWebsiteAuthorizationProvidersCommand(input, ...args)); + return await client.send(new ListWebsiteAuthorizationProvidersCommand(input), ...args); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-worklink/pagination/ListWebsiteCertificateAuthoritiesPaginator.ts b/clients/client-worklink/pagination/ListWebsiteCertificateAuthoritiesPaginator.ts index a5b9e0e821bd..b241ecd2bf28 100644 --- a/clients/client-worklink/pagination/ListWebsiteCertificateAuthoritiesPaginator.ts +++ b/clients/client-worklink/pagination/ListWebsiteCertificateAuthoritiesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListWebsiteCertificateAuthoritiesCommand(input, ...args)); + return await client.send(new ListWebsiteCertificateAuthoritiesCommand(input), ...args); }; const makePagedRequest = async ( client: WorkLink, diff --git a/clients/client-workmail/pagination/ListAliasesPaginator.ts b/clients/client-workmail/pagination/ListAliasesPaginator.ts index 97d10243822d..64e7505a994b 100644 --- a/clients/client-workmail/pagination/ListAliasesPaginator.ts +++ b/clients/client-workmail/pagination/ListAliasesPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListAliasesCommand(input, ...args)); + return await client.send(new ListAliasesCommand(input), ...args); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListGroupMembersPaginator.ts b/clients/client-workmail/pagination/ListGroupMembersPaginator.ts index 7d09719372b2..75d8f95a58cb 100644 --- a/clients/client-workmail/pagination/ListGroupMembersPaginator.ts +++ b/clients/client-workmail/pagination/ListGroupMembersPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupMembersCommand(input, ...args)); + return await client.send(new ListGroupMembersCommand(input), ...args); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListGroupsPaginator.ts b/clients/client-workmail/pagination/ListGroupsPaginator.ts index c43b78c6c093..a17211434f33 100644 --- a/clients/client-workmail/pagination/ListGroupsPaginator.ts +++ b/clients/client-workmail/pagination/ListGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListGroupsCommand(input, ...args)); + return await client.send(new ListGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListMailboxExportJobsPaginator.ts b/clients/client-workmail/pagination/ListMailboxExportJobsPaginator.ts index 009c799a47f7..746b052468cc 100644 --- a/clients/client-workmail/pagination/ListMailboxExportJobsPaginator.ts +++ b/clients/client-workmail/pagination/ListMailboxExportJobsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMailboxExportJobsCommand(input, ...args)); + return await client.send(new ListMailboxExportJobsCommand(input), ...args); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListMailboxPermissionsPaginator.ts b/clients/client-workmail/pagination/ListMailboxPermissionsPaginator.ts index 09cf5b591385..c94edd70b6c7 100644 --- a/clients/client-workmail/pagination/ListMailboxPermissionsPaginator.ts +++ b/clients/client-workmail/pagination/ListMailboxPermissionsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListMailboxPermissionsCommand(input, ...args)); + return await client.send(new ListMailboxPermissionsCommand(input), ...args); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListOrganizationsPaginator.ts b/clients/client-workmail/pagination/ListOrganizationsPaginator.ts index 6be8299e53a4..87b18a42efff 100644 --- a/clients/client-workmail/pagination/ListOrganizationsPaginator.ts +++ b/clients/client-workmail/pagination/ListOrganizationsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListOrganizationsCommand(input, ...args)); + return await client.send(new ListOrganizationsCommand(input), ...args); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListResourceDelegatesPaginator.ts b/clients/client-workmail/pagination/ListResourceDelegatesPaginator.ts index 722972c004df..45ccb7d47d0d 100644 --- a/clients/client-workmail/pagination/ListResourceDelegatesPaginator.ts +++ b/clients/client-workmail/pagination/ListResourceDelegatesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourceDelegatesCommand(input, ...args)); + return await client.send(new ListResourceDelegatesCommand(input), ...args); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListResourcesPaginator.ts b/clients/client-workmail/pagination/ListResourcesPaginator.ts index f5efac46336a..913057337601 100644 --- a/clients/client-workmail/pagination/ListResourcesPaginator.ts +++ b/clients/client-workmail/pagination/ListResourcesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListResourcesCommand(input, ...args)); + return await client.send(new ListResourcesCommand(input), ...args); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workmail/pagination/ListUsersPaginator.ts b/clients/client-workmail/pagination/ListUsersPaginator.ts index b81f885cb7e2..2f60c843b19c 100644 --- a/clients/client-workmail/pagination/ListUsersPaginator.ts +++ b/clients/client-workmail/pagination/ListUsersPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new ListUsersCommand(input, ...args)); + return await client.send(new ListUsersCommand(input), ...args); }; const makePagedRequest = async ( client: WorkMail, diff --git a/clients/client-workspaces/pagination/DescribeWorkspaceBundlesPaginator.ts b/clients/client-workspaces/pagination/DescribeWorkspaceBundlesPaginator.ts index 15314038f185..208a2ad76364 100644 --- a/clients/client-workspaces/pagination/DescribeWorkspaceBundlesPaginator.ts +++ b/clients/client-workspaces/pagination/DescribeWorkspaceBundlesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeWorkspaceBundlesCommand(input, ...args)); + return await client.send(new DescribeWorkspaceBundlesCommand(input), ...args); }; const makePagedRequest = async ( client: WorkSpaces, diff --git a/clients/client-workspaces/pagination/DescribeWorkspaceDirectoriesPaginator.ts b/clients/client-workspaces/pagination/DescribeWorkspaceDirectoriesPaginator.ts index 0046a340d384..4a8ddeedf240 100644 --- a/clients/client-workspaces/pagination/DescribeWorkspaceDirectoriesPaginator.ts +++ b/clients/client-workspaces/pagination/DescribeWorkspaceDirectoriesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeWorkspaceDirectoriesCommand(input, ...args)); + return await client.send(new DescribeWorkspaceDirectoriesCommand(input), ...args); }; const makePagedRequest = async ( client: WorkSpaces, diff --git a/clients/client-workspaces/pagination/DescribeWorkspacesPaginator.ts b/clients/client-workspaces/pagination/DescribeWorkspacesPaginator.ts index d2d85414e8c0..0c69cf25ff8b 100644 --- a/clients/client-workspaces/pagination/DescribeWorkspacesPaginator.ts +++ b/clients/client-workspaces/pagination/DescribeWorkspacesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new DescribeWorkspacesCommand(input, ...args)); + return await client.send(new DescribeWorkspacesCommand(input), ...args); }; const makePagedRequest = async ( client: WorkSpaces, diff --git a/clients/client-xray/pagination/BatchGetTracesPaginator.ts b/clients/client-xray/pagination/BatchGetTracesPaginator.ts index 4eb4a25f6e46..8ba9f5385021 100644 --- a/clients/client-xray/pagination/BatchGetTracesPaginator.ts +++ b/clients/client-xray/pagination/BatchGetTracesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new BatchGetTracesCommand(input, ...args)); + return await client.send(new BatchGetTracesCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetGroupsPaginator.ts b/clients/client-xray/pagination/GetGroupsPaginator.ts index 18afa9199054..7bce6b7d9919 100644 --- a/clients/client-xray/pagination/GetGroupsPaginator.ts +++ b/clients/client-xray/pagination/GetGroupsPaginator.ts @@ -10,7 +10,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetGroupsCommand(input, ...args)); + return await client.send(new GetGroupsCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetInsightEventsPaginator.ts b/clients/client-xray/pagination/GetInsightEventsPaginator.ts index 4b2f0ebc1348..c61074caa2f8 100644 --- a/clients/client-xray/pagination/GetInsightEventsPaginator.ts +++ b/clients/client-xray/pagination/GetInsightEventsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInsightEventsCommand(input, ...args)); + return await client.send(new GetInsightEventsCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetInsightSummariesPaginator.ts b/clients/client-xray/pagination/GetInsightSummariesPaginator.ts index 333e4fb23a43..a27971e2331d 100644 --- a/clients/client-xray/pagination/GetInsightSummariesPaginator.ts +++ b/clients/client-xray/pagination/GetInsightSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetInsightSummariesCommand(input, ...args)); + return await client.send(new GetInsightSummariesCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetSamplingRulesPaginator.ts b/clients/client-xray/pagination/GetSamplingRulesPaginator.ts index a233a0f84588..9f952f52e791 100644 --- a/clients/client-xray/pagination/GetSamplingRulesPaginator.ts +++ b/clients/client-xray/pagination/GetSamplingRulesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSamplingRulesCommand(input, ...args)); + return await client.send(new GetSamplingRulesCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetSamplingStatisticSummariesPaginator.ts b/clients/client-xray/pagination/GetSamplingStatisticSummariesPaginator.ts index 839bdc17cb7a..e8730d16c54a 100644 --- a/clients/client-xray/pagination/GetSamplingStatisticSummariesPaginator.ts +++ b/clients/client-xray/pagination/GetSamplingStatisticSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetSamplingStatisticSummariesCommand(input, ...args)); + return await client.send(new GetSamplingStatisticSummariesCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetServiceGraphPaginator.ts b/clients/client-xray/pagination/GetServiceGraphPaginator.ts index b2e1f38110b6..396e8f4c94ce 100644 --- a/clients/client-xray/pagination/GetServiceGraphPaginator.ts +++ b/clients/client-xray/pagination/GetServiceGraphPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetServiceGraphCommand(input, ...args)); + return await client.send(new GetServiceGraphCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetTimeSeriesServiceStatisticsPaginator.ts b/clients/client-xray/pagination/GetTimeSeriesServiceStatisticsPaginator.ts index 821ae06a4262..1bf4cd89b5f0 100644 --- a/clients/client-xray/pagination/GetTimeSeriesServiceStatisticsPaginator.ts +++ b/clients/client-xray/pagination/GetTimeSeriesServiceStatisticsPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTimeSeriesServiceStatisticsCommand(input, ...args)); + return await client.send(new GetTimeSeriesServiceStatisticsCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetTraceGraphPaginator.ts b/clients/client-xray/pagination/GetTraceGraphPaginator.ts index ef47f876fc12..906437e3cf43 100644 --- a/clients/client-xray/pagination/GetTraceGraphPaginator.ts +++ b/clients/client-xray/pagination/GetTraceGraphPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTraceGraphCommand(input, ...args)); + return await client.send(new GetTraceGraphCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, diff --git a/clients/client-xray/pagination/GetTraceSummariesPaginator.ts b/clients/client-xray/pagination/GetTraceSummariesPaginator.ts index fe142b0a243d..499cbd9bb8be 100644 --- a/clients/client-xray/pagination/GetTraceSummariesPaginator.ts +++ b/clients/client-xray/pagination/GetTraceSummariesPaginator.ts @@ -14,7 +14,7 @@ const makePagedClientRequest = async ( ...args: any ): Promise => { // @ts-ignore - return await client.send(new GetTraceSummariesCommand(input, ...args)); + return await client.send(new GetTraceSummariesCommand(input), ...args); }; const makePagedRequest = async ( client: XRay, From 92ef49cedb11d90113fbb8a439cd15e5af676b7c Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Fri, 13 Nov 2020 19:46:44 +0000 Subject: [PATCH 6/7] chore: update models as of 11/13 --- .../elastic-load-balancing-v2.2015-12-01.json | 45 +- .../aws-models/shield.2016-06-02.json | 1132 ++++++++++++++--- .../aws-models/textract.2018-06-27.json | 420 +++--- 3 files changed, 1241 insertions(+), 356 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json index 1e20f2b1525c..1641cc0bc38d 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json @@ -756,7 +756,7 @@ "Protocol": { "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

                      The protocol for connections from clients to the load balancer. For Application Load\n Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the\n supported protocols are TCP, TLS, UDP, and TCP_UDP. You cannot specify a protocol for a\n Gateway Load Balancer.

                      " + "smithy.api#documentation": "

                      The protocol for connections from clients to the load balancer. \n For Application Load Balancers, the supported protocols are HTTP and HTTPS. \n For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. \n You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. \n You cannot specify a protocol for a Gateway Load Balancer.

                      " } }, "Port": { @@ -881,7 +881,7 @@ "SubnetMappings": { "target": "com.amazonaws.elasticloadbalancingv2#SubnetMappings", "traits": { - "smithy.api#documentation": "

                      The IDs of the public subnets. You can specify only one subnet per Availability Zone. \n You must specify either subnets or subnet mappings.

                      \n

                      [Application Load Balancers] You must specify subnets from at least two Availability\n Zones. You cannot specify Elastic IP addresses for your subnets.

                      \n

                      [Application Load Balancers on Outposts] You must specify one Outpost subnet.

                      \n

                      [Application Load Balancers on Local Zones] You can specify subnets from one or more Local\n Zones.

                      \n

                      [Network Load Balancers] You can specify subnets from one or more Availability Zones.\n You can specify one Elastic IP address per subnet if you need static IP addresses for\n your internet-facing load balancer. For internal load balancers, you can specify one \n private IP address per subnet from the IPv4 range of the subnet.

                      \n

                      [Gateway Load Balancers] You can specify subnets from one or more Availability\n Zones. You cannot specify Elastic IP addresses for your subnets.

                      " + "smithy.api#documentation": "

                      The IDs of the public subnets. You can specify only one subnet per Availability Zone. \n You must specify either subnets or subnet mappings.

                      \n

                      [Application Load Balancers] You must specify subnets from at least two Availability\n Zones. You cannot specify Elastic IP addresses for your subnets.

                      \n

                      [Application Load Balancers on Outposts] You must specify one Outpost subnet.

                      \n

                      [Application Load Balancers on Local Zones] You can specify subnets from one or more Local\n Zones.

                      \n

                      [Network Load Balancers] You can specify subnets from one or more Availability Zones. You\n can specify one Elastic IP address per subnet if you need static IP addresses for your\n internet-facing load balancer. For internal load balancers, you can specify one private IP\n address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you\n can specify one IPv6 address per subnet.

                      \n

                      [Gateway Load Balancers] You can specify subnets from one or more Availability\n Zones. You cannot specify Elastic IP addresses for your subnets.

                      " } }, "SecurityGroups": { @@ -911,7 +911,7 @@ "IpAddressType": { "target": "com.amazonaws.elasticloadbalancingv2#IpAddressType", "traits": { - "smithy.api#documentation": "

                      [Application Load Balancers] The type of IP addresses used by the subnets for your load\n balancer. The possible values are ipv4 (for IPv4 addresses) and\n dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use\n ipv4.

                      " + "smithy.api#documentation": "

                      The type of IP addresses used by the subnets for your load balancer. \n The possible values are ipv4 (for IPv4 addresses) and \n dualstack (for IPv4 and IPv6 addresses). \n Internal load balancers must use ipv4.

                      " } }, "CustomerOwnedIpv4Pool": { @@ -2380,6 +2380,9 @@ "smithy.api#documentation": "

                      Information about an HTTP method condition.

                      \n

                      HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the\n HTTP Method Registry.\n You can also define custom HTTP methods.

                      " } }, + "com.amazonaws.elasticloadbalancingv2#IPv6Address": { + "type": "string" + }, "com.amazonaws.elasticloadbalancingv2#IncompatibleProtocolsException": { "type": "structure", "members": { @@ -2714,6 +2717,12 @@ "traits": { "smithy.api#documentation": "

                      [Network Load Balancers] The private IPv4 address for an internal load balancer.

                      " } + }, + "IPv6Address": { + "target": "com.amazonaws.elasticloadbalancingv2#IPv6Address", + "traits": { + "smithy.api#documentation": "

                      [Network Load Balancers] The IPv6 address.

                      " + } } }, "traits": { @@ -2741,7 +2750,7 @@ "Key": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerAttributeKey", "traits": { - "smithy.api#documentation": "

                      The name of the attribute.

                      \n\n

                      The following attribute is supported by all load balancers:

                      \n
                        \n
                      • \n

                        \n deletion_protection.enabled - Indicates whether deletion protection is enabled.\n The value is true or false. The default is false.

                        \n
                      • \n
                      \n\n

                      The following attributes are supported by both Application Load Balancers and Network Load Balancers:

                      \n
                        \n
                      • \n

                        \n access_logs.s3.enabled - Indicates whether access logs are enabled. \n The value is true or false. The default is false.

                        \n
                      • \n
                      • \n

                        \n access_logs.s3.bucket - The name of the S3 bucket for the access logs. This\n attribute is required if access logs are enabled. The bucket must exist in the same region\n as the load balancer and have a bucket policy that grants Elastic Load Balancing\n permissions to write to the bucket.

                        \n
                      • \n
                      • \n

                        \n access_logs.s3.prefix - The prefix for the location in the S3 bucket for the access logs.

                        \n
                      • \n
                      \n\n

                      The following attributes are supported by only Application Load Balancers:

                      \n
                        \n
                      • \n

                        \n idle_timeout.timeout_seconds - The idle timeout value, in seconds. The valid range \n is 1-4000 seconds. The default is 60 seconds.

                        \n
                      • \n
                      • \n

                        \n routing.http.desync_mitigation_mode - Determines how the load balancer handles requests that \n might pose a security risk to your application. The possible values are monitor, \n defensive, and strictest. The default is defensive.

                        \n
                      • \n
                      • \n

                        \n routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP headers \n with invalid header fields are removed by the load balancer (true) or routed to targets \n (false). The default is false.

                        \n
                      • \n
                      • \n

                        \n routing.http2.enabled - Indicates whether HTTP/2 is enabled. The value is\n true or false. The default is true. Elastic Load Balancing \n requires that message header names contain only alphanumeric characters and hyphens.

                        \n
                      • \n
                      \n\n

                      The following attribute is supported by Network Load Balancers and Gateway Load Balancers:

                      \n
                        \n
                      • \n

                        \n load_balancing.cross_zone.enabled - Indicates whether cross-zone load balancing is enabled. \n The value is true or false. The default is false.

                        \n
                      • \n
                      " + "smithy.api#documentation": "

                      The name of the attribute.

                      \n\n

                      The following attribute is supported by all load balancers:

                      \n
                        \n
                      • \n

                        \n deletion_protection.enabled - Indicates whether deletion protection is enabled.\n The value is true or false. The default is false.

                        \n
                      • \n
                      \n\n

                      The following attributes are supported by both Application Load Balancers and Network Load Balancers:

                      \n
                        \n
                      • \n

                        \n access_logs.s3.enabled - Indicates whether access logs are enabled. \n The value is true or false. The default is false.

                        \n
                      • \n
                      • \n

                        \n access_logs.s3.bucket - The name of the S3 bucket for the access logs. This\n attribute is required if access logs are enabled. The bucket must exist in the same region\n as the load balancer and have a bucket policy that grants Elastic Load Balancing\n permissions to write to the bucket.

                        \n
                      • \n
                      • \n

                        \n access_logs.s3.prefix - The prefix for the location in the S3 bucket for the access logs.

                        \n
                      • \n
                      \n\n

                      The following attributes are supported by only Application Load Balancers:

                      \n
                        \n
                      • \n

                        \n idle_timeout.timeout_seconds - The idle timeout value, in seconds. The valid range \n is 1-4000 seconds. The default is 60 seconds.

                        \n
                      • \n
                      • \n

                        \n routing.http.desync_mitigation_mode - Determines how the load balancer handles requests that \n might pose a security risk to your application. The possible values are monitor, \n defensive, and strictest. The default is defensive.

                        \n
                      • \n
                      • \n

                        \n routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP headers \n with invalid header fields are removed by the load balancer (true) or routed to targets \n (false). The default is false.

                        \n
                      • \n
                      • \n

                        \n routing.http2.enabled - Indicates whether HTTP/2 is enabled. The value is\n true or false. The default is true. Elastic Load Balancing \n requires that message header names contain only alphanumeric characters and hyphens.

                        \n
                      • \n
                      • \n

                        \n waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load balancer \n to route requests to targets if it is unable to forward the request to AWS WAF. The value is \n true or false. The default is false.

                        \n
                      • \n
                      \n\n

                      The following attribute is supported by Network Load Balancers and Gateway Load Balancers:

                      \n
                        \n
                      • \n

                        \n load_balancing.cross_zone.enabled - Indicates whether cross-zone load balancing is enabled. \n The value is true or false. The default is false.

                        \n
                      • \n
                      " } }, "Value": { @@ -3001,7 +3010,7 @@ "Protocol": { "target": "com.amazonaws.elasticloadbalancingv2#ProtocolEnum", "traits": { - "smithy.api#documentation": "

                      The protocol for connections from clients to the load balancer. \n Application Load Balancers support the HTTP and HTTPS protocols. \n Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. \n You cannot specify a protocol for a Gateway Load Balancer.

                      " + "smithy.api#documentation": "

                      The protocol for connections from clients to the load balancer. \n Application Load Balancers support the HTTP and HTTPS protocols. \n Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. \n You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. \n You cannot specify a protocol for a Gateway Load Balancer.

                      " } }, "SslPolicy": { @@ -3953,7 +3962,7 @@ "IpAddressType": { "target": "com.amazonaws.elasticloadbalancingv2#IpAddressType", "traits": { - "smithy.api#documentation": "

                      The IP address type. The possible values are ipv4 (for IPv4 addresses) and\n dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use\n ipv4.

                      ", + "smithy.api#documentation": "

                      The IP address type. The possible values are ipv4 (for IPv4 addresses) \n and dualstack (for IPv4 and IPv6 addresses). Internal load balancers must \n use ipv4. You can’t specify dualstack for a load balancer with \n a UDP or TCP_UDP listener.

                      ", "smithy.api#required": {} } } @@ -4114,13 +4123,19 @@ "Subnets": { "target": "com.amazonaws.elasticloadbalancingv2#Subnets", "traits": { - "smithy.api#documentation": "

                      The IDs of the public subnets. You must specify subnets from at least two Availability Zones.\n You can specify only one subnet per Availability Zone. You must specify either subnets or\n subnet mappings.

                      " + "smithy.api#documentation": "

                      The IDs of the public subnets. You can specify only one subnet per Availability Zone. \n You must specify either subnets or subnet mappings.

                      \n

                      [Application Load Balancers] You must specify subnets from at least two Availability\n Zones.

                      \n

                      [Application Load Balancers on Outposts] You must specify one Outpost subnet.

                      \n

                      [Application Load Balancers on Local Zones] You can specify subnets from one or more Local\n Zones.

                      \n

                      [Network Load Balancers] You can specify subnets from one or more Availability\n Zones.

                      " } }, "SubnetMappings": { "target": "com.amazonaws.elasticloadbalancingv2#SubnetMappings", "traits": { - "smithy.api#documentation": "

                      The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must \n specify either subnets or subnet mappings.

                      \n

                      [Application Load Balancers] You must specify subnets from at least two Availability Zones.\n You cannot specify Elastic IP addresses for your subnets.

                      \n

                      [Network Load Balancers] You can specify subnets from one or more Availability Zones. If you \n need static IP addresses for your internet-facing load balancer, you can specify one Elastic IP \n address per subnet. For internal load balancers, you can specify one private IP address per \n subnet from the IPv4 range of the subnet.

                      " + "smithy.api#documentation": "

                      The IDs of the public subnets. You can specify only one subnet per Availability Zone. \n You must specify either subnets or subnet mappings.

                      \n

                      [Application Load Balancers] You must specify subnets from at least two Availability\n Zones. You cannot specify Elastic IP addresses for your subnets.

                      \n

                      [Application Load Balancers on Outposts] You must specify one Outpost subnet.

                      \n

                      [Application Load Balancers on Local Zones] You can specify subnets from one or more Local\n Zones.

                      \n

                      [Network Load Balancers] You can specify subnets from one or more Availability Zones. You\n can specify one Elastic IP address per subnet if you need static IP addresses for your\n internet-facing load balancer. For internal load balancers, you can specify one private IP\n address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you\n can specify one IPv6 address per subnet.

                      " + } + }, + "IpAddressType": { + "target": "com.amazonaws.elasticloadbalancingv2#IpAddressType", + "traits": { + "smithy.api#documentation": "

                      [Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. \n The possible values are ipv4 (for IPv4 addresses) and \n dualstack (for IPv4 and IPv6 addresses). \n You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.\n Internal load balancers must use ipv4.

                      " } } } @@ -4133,6 +4148,12 @@ "traits": { "smithy.api#documentation": "

                      Information about the subnets.

                      " } + }, + "IpAddressType": { + "target": "com.amazonaws.elasticloadbalancingv2#IpAddressType", + "traits": { + "smithy.api#documentation": "

                      [Network Load Balancers] The IP address type.

                      " + } } } }, @@ -4232,6 +4253,12 @@ "traits": { "smithy.api#documentation": "

                      [Network Load Balancers] The private IPv4 address for an internal load balancer.

                      " } + }, + "IPv6Address": { + "target": "com.amazonaws.elasticloadbalancingv2#IPv6Address", + "traits": { + "smithy.api#documentation": "

                      [Network Load Balancers] The IPv6 address.

                      " + } } }, "traits": { @@ -4518,7 +4545,7 @@ "Key": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupAttributeKey", "traits": { - "smithy.api#documentation": "

                      The name of the attribute.

                      \n\n

                      The following attribute is supported by all load balancers:

                      \n
                        \n
                      • \n

                        \n deregistration_delay.timeout_seconds - The amount of time, in seconds,\n for Elastic Load Balancing to wait before changing the state of a deregistering target from\n draining to unused. The range is 0-3600 seconds. The default\n value is 300 seconds. If the target is a Lambda function, this attribute is not supported.

                        \n
                      • \n
                      \n\n

                      The following attributes are supported by both Application Load Balancers and Network Load Balancers:

                      \n
                        \n
                      • \n

                        \n stickiness.enabled - Indicates whether sticky sessions are enabled. \n The value is true or false. The default is false.

                        \n
                      • \n
                      • \n

                        \n stickiness.type - The type of sticky sessions. The possible values are \n lb_cookie for Application Load Balancers or source_ip for\n Network Load Balancers.

                        \n
                      • \n
                      \n\n

                      The following attributes are supported only if the load balancer is an Application Load Balancer\n and the target is an instance or an IP address:

                      \n
                        \n
                      • \n

                        \n load_balancing.algorithm.type - The load balancing algorithm determines\n how the load balancer selects targets when routing requests. The value is round_robin \n or least_outstanding_requests. The default is round_robin.

                        \n
                      • \n
                      • \n

                        \n slow_start.duration_seconds - The time period, in seconds, during which a \n newly registered target receives an increasing share of the traffic to the target group. \n After this time period ends, the target receives its full share of traffic. \n The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled).

                        \n
                      • \n
                      • \n

                        \n stickiness.lb_cookie.duration_seconds - The time period, in seconds, during which \n requests from a client should be routed to the same target. After this time period expires, the load \n balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The \n default value is 1 day (86400 seconds).

                        \n
                      • \n
                      \n\n

                      The following attribute is supported only if the load balancer is an Application Load Balancer \n and the target is a Lambda function:

                      \n
                        \n
                      • \n

                        \n lambda.multi_value_headers.enabled - Indicates whether the request and\n response headers that are exchanged between the load balancer and the Lambda function include\n arrays of values or strings. The value is true or false. The\n default is false. If the value is false and the request contains\n a duplicate header field name or query parameter key, the load balancer uses the last\n value sent by the client.

                        \n
                      • \n
                      \n\n

                      The following attribute is supported only by Network Load Balancers:

                      \n
                        \n
                      • \n

                        \n proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version 2 is enabled.\n The value is true or false. The default is false.

                        \n
                      • \n
                      " + "smithy.api#documentation": "

                      The name of the attribute.

                      \n\n

                      The following attribute is supported by all load balancers:

                      \n
                        \n
                      • \n

                        \n deregistration_delay.timeout_seconds - The amount of time, in seconds,\n for Elastic Load Balancing to wait before changing the state of a deregistering target from\n draining to unused. The range is 0-3600 seconds. The default\n value is 300 seconds. If the target is a Lambda function, this attribute is not supported.

                        \n
                      • \n
                      \n\n

                      The following attributes are supported by both Application Load Balancers and Network Load Balancers:

                      \n
                        \n
                      • \n

                        \n stickiness.enabled - Indicates whether sticky sessions are enabled. \n The value is true or false. The default is false.

                        \n
                      • \n
                      • \n

                        \n stickiness.type - The type of sticky sessions. The possible values are \n lb_cookie for Application Load Balancers or source_ip for\n Network Load Balancers.

                        \n
                      • \n
                      \n\n

                      The following attributes are supported only if the load balancer is an Application Load Balancer\n and the target is an instance or an IP address:

                      \n
                        \n
                      • \n

                        \n load_balancing.algorithm.type - The load balancing algorithm determines\n how the load balancer selects targets when routing requests. The value is round_robin \n or least_outstanding_requests. The default is round_robin.

                        \n
                      • \n
                      • \n

                        \n slow_start.duration_seconds - The time period, in seconds, during which a \n newly registered target receives an increasing share of the traffic to the target group. \n After this time period ends, the target receives its full share of traffic. \n The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled).

                        \n
                      • \n
                      • \n

                        \n stickiness.lb_cookie.duration_seconds - The time period, in seconds, during which \n requests from a client should be routed to the same target. After this time period expires, the load \n balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The \n default value is 1 day (86400 seconds).

                        \n
                      • \n
                      \n\n

                      The following attribute is supported only if the load balancer is an Application Load Balancer \n and the target is a Lambda function:

                      \n
                        \n
                      • \n

                        \n lambda.multi_value_headers.enabled - Indicates whether the request and\n response headers that are exchanged between the load balancer and the Lambda function include\n arrays of values or strings. The value is true or false. The\n default is false. If the value is false and the request contains\n a duplicate header field name or query parameter key, the load balancer uses the last\n value sent by the client.

                        \n
                      • \n
                      \n\n

                      The following attributes are supported only by Network Load Balancers:

                      \n
                        \n
                      • \n

                        \n deregistration_delay.connection_termination.enabled - Indicates whether \n the load balancer terminates connections at the end of the deregistration timeout. The value is \n true or false. The default is false.

                        \n
                      • \n
                      • \n

                        \n proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version 2 is enabled.\n The value is true or false. The default is false.

                        \n
                      • \n
                      " } }, "Value": { diff --git a/codegen/sdk-codegen/aws-models/shield.2016-06-02.json b/codegen/sdk-codegen/aws-models/shield.2016-06-02.json index 6cb8861081f7..033738c2c27d 100644 --- a/codegen/sdk-codegen/aws-models/shield.2016-06-02.json +++ b/codegen/sdk-codegen/aws-models/shield.2016-06-02.json @@ -48,18 +48,27 @@ { "target": "com.amazonaws.shield#CreateProtection" }, + { + "target": "com.amazonaws.shield#CreateProtectionGroup" + }, { "target": "com.amazonaws.shield#CreateSubscription" }, { "target": "com.amazonaws.shield#DeleteProtection" }, + { + "target": "com.amazonaws.shield#DeleteProtectionGroup" + }, { "target": "com.amazonaws.shield#DeleteSubscription" }, { "target": "com.amazonaws.shield#DescribeAttack" }, + { + "target": "com.amazonaws.shield#DescribeAttackStatistics" + }, { "target": "com.amazonaws.shield#DescribeDRTAccess" }, @@ -69,6 +78,9 @@ { "target": "com.amazonaws.shield#DescribeProtection" }, + { + "target": "com.amazonaws.shield#DescribeProtectionGroup" + }, { "target": "com.amazonaws.shield#DescribeSubscription" }, @@ -93,12 +105,21 @@ { "target": "com.amazonaws.shield#ListAttacks" }, + { + "target": "com.amazonaws.shield#ListProtectionGroups" + }, { "target": "com.amazonaws.shield#ListProtections" }, + { + "target": "com.amazonaws.shield#ListResourcesInProtectionGroup" + }, { "target": "com.amazonaws.shield#UpdateEmergencyContactSettings" }, + { + "target": "com.amazonaws.shield#UpdateProtectionGroup" + }, { "target": "com.amazonaws.shield#UpdateSubscription" } @@ -279,17 +300,17 @@ "com.amazonaws.shield#AssociateHealthCheckRequest": { "type": "structure", "members": { - "HealthCheckArn": { - "target": "com.amazonaws.shield#HealthCheckArn", + "ProtectionId": { + "target": "com.amazonaws.shield#ProtectionId", "traits": { - "smithy.api#documentation": "

                      The Amazon Resource Name (ARN) of the health check to associate with the protection.

                      ", + "smithy.api#documentation": "

                      The unique identifier (ID) for the Protection object to add the health check association to.

                      ", "smithy.api#required": {} } }, - "ProtectionId": { - "target": "com.amazonaws.shield#ProtectionId", + "HealthCheckArn": { + "target": "com.amazonaws.shield#HealthCheckArn", "traits": { - "smithy.api#documentation": "

                      The unique identifier (ID) for the Protection object to add the health check association to.

                      ", + "smithy.api#documentation": "

                      The Amazon Resource Name (ARN) of the health check to associate with the protection.

                      ", "smithy.api#required": {} } } @@ -347,16 +368,10 @@ "com.amazonaws.shield#AttackDetail": { "type": "structure", "members": { - "SubResources": { - "target": "com.amazonaws.shield#SubResourceSummaryList", - "traits": { - "smithy.api#documentation": "

                      If applicable, additional detail about the resource being attacked, for example, IP\n address or URL.

                      " - } - }, - "AttackProperties": { - "target": "com.amazonaws.shield#AttackProperties", + "AttackId": { + "target": "com.amazonaws.shield#AttackId", "traits": { - "smithy.api#documentation": "

                      The array of AttackProperty objects.

                      " + "smithy.api#documentation": "

                      The unique identifier (ID) of the attack.

                      " } }, "ResourceArn": { @@ -365,22 +380,22 @@ "smithy.api#documentation": "

                      The ARN (Amazon Resource Name) of the resource that was attacked.

                      " } }, - "EndTime": { - "target": "com.amazonaws.shield#AttackTimestamp", + "SubResources": { + "target": "com.amazonaws.shield#SubResourceSummaryList", "traits": { - "smithy.api#documentation": "

                      The time the attack ended, in Unix time in seconds. For more information see timestamp.

                      " + "smithy.api#documentation": "

                      If applicable, additional detail about the resource being attacked, for example, IP address or URL.

                      " } }, - "AttackId": { - "target": "com.amazonaws.shield#AttackId", + "StartTime": { + "target": "com.amazonaws.shield#AttackTimestamp", "traits": { - "smithy.api#documentation": "

                      The unique identifier (ID) of the attack.

                      " + "smithy.api#documentation": "

                      The time the attack started, in Unix time in seconds. For more information see timestamp.

                      " } }, - "Mitigations": { - "target": "com.amazonaws.shield#MitigationList", + "EndTime": { + "target": "com.amazonaws.shield#AttackTimestamp", "traits": { - "smithy.api#documentation": "

                      List of mitigation actions taken for the attack.

                      " + "smithy.api#documentation": "

                      The time the attack ended, in Unix time in seconds. For more information see timestamp.

                      " } }, "AttackCounters": { @@ -389,10 +404,16 @@ "smithy.api#documentation": "

                      List of counters that describe the attack for the specified time period.

                      " } }, - "StartTime": { - "target": "com.amazonaws.shield#AttackTimestamp", + "AttackProperties": { + "target": "com.amazonaws.shield#AttackProperties", "traits": { - "smithy.api#documentation": "

                      The time the attack started, in Unix time in seconds. For more information see timestamp.

                      " + "smithy.api#documentation": "

                      The array of AttackProperty objects.

                      " + } + }, + "Mitigations": { + "target": "com.amazonaws.shield#MitigationList", + "traits": { + "smithy.api#documentation": "

                      List of mitigation actions taken for the attack.

                      " } } }, @@ -434,28 +455,28 @@ "com.amazonaws.shield#AttackProperty": { "type": "structure", "members": { - "Unit": { - "target": "com.amazonaws.shield#Unit", - "traits": { - "smithy.api#documentation": "

                      The unit of the Value of the contributions.

                      " - } - }, "AttackLayer": { "target": "com.amazonaws.shield#AttackLayer", "traits": { "smithy.api#documentation": "

                      The type of distributed denial of service (DDoS) event that was observed.\n NETWORK indicates layer 3 and layer 4 events and APPLICATION\n indicates layer 7 events.

                      " } }, + "AttackPropertyIdentifier": { + "target": "com.amazonaws.shield#AttackPropertyIdentifier", + "traits": { + "smithy.api#documentation": "

                      Defines the DDoS attack property information that is provided. The\n WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE\n values are valid only for WordPress reflective pingback DDoS attacks.

                      " + } + }, "TopContributors": { "target": "com.amazonaws.shield#TopContributors", "traits": { - "smithy.api#documentation": "

                      The array of Contributor objects that includes the top five contributors to an attack.

                      " + "smithy.api#documentation": "

                      The array of contributor objects that includes the top five contributors to an attack.

                      " } }, - "AttackPropertyIdentifier": { - "target": "com.amazonaws.shield#AttackPropertyIdentifier", + "Unit": { + "target": "com.amazonaws.shield#Unit", "traits": { - "smithy.api#documentation": "

                      Defines the DDoS attack property information that is provided. The\n WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE\n values are valid only for WordPress reflective pingback DDoS attacks.

                      " + "smithy.api#documentation": "

                      The unit of the Value of the contributions.

                      " } }, "Total": { @@ -508,6 +529,33 @@ ] } }, + "com.amazonaws.shield#AttackStatisticsDataItem": { + "type": "structure", + "members": { + "AttackVolume": { + "target": "com.amazonaws.shield#AttackVolume", + "traits": { + "smithy.api#documentation": "

                      Information about the volume of attacks during the time period. If the accompanying AttackCount is zero, this setting might be empty.

                      " + } + }, + "AttackCount": { + "target": "com.amazonaws.shield#Long", + "traits": { + "smithy.api#documentation": "

                      The number of attacks detected during the time period. This is always present, but might be zero.

                      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

                      A single attack statistics data record. This is returned by DescribeAttackStatistics along with a time range indicating the time period that the attack statistics apply to.

                      " + } + }, + "com.amazonaws.shield#AttackStatisticsDataList": { + "type": "list", + "member": { + "target": "com.amazonaws.shield#AttackStatisticsDataItem" + } + }, "com.amazonaws.shield#AttackSummaries": { "type": "list", "member": { @@ -523,18 +571,6 @@ "smithy.api#documentation": "

                      The unique identifier (ID) of the attack.

                      " } }, - "EndTime": { - "target": "com.amazonaws.shield#AttackTimestamp", - "traits": { - "smithy.api#documentation": "

                      The end time of the attack, in Unix time in seconds. For more information see timestamp.

                      " - } - }, - "AttackVectors": { - "target": "com.amazonaws.shield#AttackVectorDescriptionList", - "traits": { - "smithy.api#documentation": "

                      The list of attacks for a specified time period.

                      " - } - }, "ResourceArn": { "target": "com.amazonaws.shield#String", "traits": { @@ -546,6 +582,18 @@ "traits": { "smithy.api#documentation": "

                      The start time of the attack, in Unix time in seconds. For more information see timestamp.

                      " } + }, + "EndTime": { + "target": "com.amazonaws.shield#AttackTimestamp", + "traits": { + "smithy.api#documentation": "

                      The end time of the attack, in Unix time in seconds. For more information see timestamp.

                      " + } + }, + "AttackVectors": { + "target": "com.amazonaws.shield#AttackVectorDescriptionList", + "traits": { + "smithy.api#documentation": "

                      The list of attacks for a specified time period.

                      " + } } }, "traits": { @@ -576,6 +624,47 @@ "target": "com.amazonaws.shield#AttackVectorDescription" } }, + "com.amazonaws.shield#AttackVolume": { + "type": "structure", + "members": { + "BitsPerSecond": { + "target": "com.amazonaws.shield#AttackVolumeStatistics", + "traits": { + "smithy.api#documentation": "

                      A statistics object that uses bits per second as the unit. This is included for network level attacks.

                      " + } + }, + "PacketsPerSecond": { + "target": "com.amazonaws.shield#AttackVolumeStatistics", + "traits": { + "smithy.api#documentation": "

                      A statistics object that uses packets per second as the unit. This is included for network level attacks.

                      " + } + }, + "RequestsPerSecond": { + "target": "com.amazonaws.shield#AttackVolumeStatistics", + "traits": { + "smithy.api#documentation": "

                      A statistics object that uses requests per second as the unit. This is included for application level attacks, and is only available for accounts that are subscribed to Shield Advanced.

                      " + } + } + }, + "traits": { + "smithy.api#documentation": "

                      Information about the volume of attacks during the time period, included in an AttackStatisticsDataItem. If the accompanying AttackCount in the statistics object is zero, this setting might be empty.

                      " + } + }, + "com.amazonaws.shield#AttackVolumeStatistics": { + "type": "structure", + "members": { + "Max": { + "target": "com.amazonaws.shield#Double", + "traits": { + "smithy.api#documentation": "

                      The maximum attack volume observed for the given unit.

                      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

                      Statistics objects for the various data types in AttackVolume.

                      " + } + }, "com.amazonaws.shield#AutoRenew": { "type": "string", "traits": { @@ -656,22 +745,96 @@ "smithy.api#documentation": "

                      Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon\n CloudFront distribution, Elastic Load Balancing load balancer, AWS Global Accelerator accelerator, Elastic IP Address, or an Amazon Route 53 hosted zone.

                      \n

                      You can add protection to only a single resource with each CreateProtection request. If you want to add protection to multiple resources at once, use the AWS WAF console. For more information see Getting Started with AWS Shield Advanced and Add AWS Shield Advanced Protection to more AWS Resources.

                      " } }, - "com.amazonaws.shield#CreateProtectionRequest": { + "com.amazonaws.shield#CreateProtectionGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.shield#CreateProtectionGroupRequest" + }, + "output": { + "target": "com.amazonaws.shield#CreateProtectionGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.shield#InternalErrorException" + }, + { + "target": "com.amazonaws.shield#InvalidParameterException" + }, + { + "target": "com.amazonaws.shield#LimitsExceededException" + }, + { + "target": "com.amazonaws.shield#OptimisticLockException" + }, + { + "target": "com.amazonaws.shield#ResourceAlreadyExistsException" + }, + { + "target": "com.amazonaws.shield#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                      Creates a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

                      " + } + }, + "com.amazonaws.shield#CreateProtectionGroupRequest": { "type": "structure", "members": { - "ResourceArn": { - "target": "com.amazonaws.shield#ResourceArn", + "ProtectionGroupId": { + "target": "com.amazonaws.shield#ProtectionGroupId", "traits": { - "smithy.api#documentation": "

                      The ARN (Amazon Resource Name) of the resource to be protected.

                      \n

                      The ARN should be in one of the following formats:

                      \n
                        \n
                      • \n

                        For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id\n \n

                        \n
                      • \n
                      • \n

                        For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name\n \n

                        \n
                      • \n
                      • \n

                        For an AWS CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id\n \n

                        \n
                      • \n
                      • \n

                        For an AWS Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id\n \n

                        \n
                      • \n
                      • \n

                        For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id\n \n

                        \n
                      • \n
                      • \n

                        For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id\n \n

                        \n
                      • \n
                      ", + "smithy.api#documentation": "

                      The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                      ", + "smithy.api#required": {} + } + }, + "Aggregation": { + "target": "com.amazonaws.shield#ProtectionGroupAggregation", + "traits": { + "smithy.api#documentation": "

                      Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.

                      \n
                        \n
                      • \n

                        Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

                        \n
                      • \n
                      • \n

                        Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

                        \n
                      • \n
                      • \n

                        Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.

                        \n
                      • \n
                      ", + "smithy.api#required": {} + } + }, + "Pattern": { + "target": "com.amazonaws.shield#ProtectionGroupPattern", + "traits": { + "smithy.api#documentation": "

                      The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

                      ", "smithy.api#required": {} } }, + "ResourceType": { + "target": "com.amazonaws.shield#ProtectedResourceType", + "traits": { + "smithy.api#documentation": "

                      The resource type to include in the protection group. All protected resources of this type are included in the protection group. Newly protected resources of this type are automatically added to the group. \n You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

                      " + } + }, + "Members": { + "target": "com.amazonaws.shield#ProtectionGroupMembers", + "traits": { + "smithy.api#documentation": "

                      The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

                      " + } + } + } + }, + "com.amazonaws.shield#CreateProtectionGroupResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.shield#CreateProtectionRequest": { + "type": "structure", + "members": { "Name": { "target": "com.amazonaws.shield#ProtectionName", "traits": { "smithy.api#documentation": "

                      Friendly name for the Protection you are creating.

                      ", "smithy.api#required": {} } + }, + "ResourceArn": { + "target": "com.amazonaws.shield#ResourceArn", + "traits": { + "smithy.api#documentation": "

                      The ARN (Amazon Resource Name) of the resource to be protected.

                      \n

                      The ARN should be in one of the following formats:

                      \n
                        \n
                      • \n

                        For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id\n \n

                        \n
                      • \n
                      • \n

                        For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name\n \n

                        \n
                      • \n
                      • \n

                        For an AWS CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id\n \n

                        \n
                      • \n
                      • \n

                        For an AWS Global Accelerator accelerator: arn:aws:globalaccelerator::account-id:accelerator/accelerator-id\n \n

                        \n
                      • \n
                      • \n

                        For Amazon Route 53: arn:aws:route53:::hostedzone/hosted-zone-id\n \n

                        \n
                      • \n
                      • \n

                        For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id\n \n

                        \n
                      • \n
                      ", + "smithy.api#required": {} + } } } }, @@ -737,6 +900,45 @@ "smithy.api#documentation": "

                      Deletes an AWS Shield Advanced Protection.

                      " } }, + "com.amazonaws.shield#DeleteProtectionGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.shield#DeleteProtectionGroupRequest" + }, + "output": { + "target": "com.amazonaws.shield#DeleteProtectionGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.shield#InternalErrorException" + }, + { + "target": "com.amazonaws.shield#OptimisticLockException" + }, + { + "target": "com.amazonaws.shield#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                      Removes the specified protection group.

                      " + } + }, + "com.amazonaws.shield#DeleteProtectionGroupRequest": { + "type": "structure", + "members": { + "ProtectionGroupId": { + "target": "com.amazonaws.shield#ProtectionGroupId", + "traits": { + "smithy.api#documentation": "

                      The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.shield#DeleteProtectionGroupResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.shield#DeleteProtectionRequest": { "type": "structure", "members": { @@ -834,35 +1036,74 @@ } } }, - "com.amazonaws.shield#DescribeDRTAccess": { + "com.amazonaws.shield#DescribeAttackStatistics": { "type": "operation", "input": { - "target": "com.amazonaws.shield#DescribeDRTAccessRequest" + "target": "com.amazonaws.shield#DescribeAttackStatisticsRequest" }, "output": { - "target": "com.amazonaws.shield#DescribeDRTAccessResponse" + "target": "com.amazonaws.shield#DescribeAttackStatisticsResponse" }, "errors": [ { "target": "com.amazonaws.shield#InternalErrorException" - }, - { - "target": "com.amazonaws.shield#ResourceNotFoundException" } ], "traits": { - "smithy.api#documentation": "

                      Returns the current role and list of Amazon S3 log buckets used by the DDoS Response Team (DRT) to access your AWS account while assisting with attack mitigation.

                      " + "smithy.api#documentation": "

                      Provides information about the number and type of attacks AWS Shield has detected in the last year for all resources that belong to your account, regardless of whether you've defined Shield protections for them. This operation is available to Shield customers as well as to Shield Advanced customers.

                      \n

                      The operation returns data for the time range of midnight UTC, one year ago, to midnight UTC, today. For example, if the current time is 2020-10-26 15:39:32 PDT, equal to 2020-10-26 22:39:32 UTC, then the time range for the attack data returned is from 2019-10-26 00:00:00 UTC to 2020-10-26 00:00:00 UTC.

                      \n

                      The time range indicates the period covered by the attack statistics data items.

                      " } }, - "com.amazonaws.shield#DescribeDRTAccessRequest": { + "com.amazonaws.shield#DescribeAttackStatisticsRequest": { "type": "structure", "members": {} }, - "com.amazonaws.shield#DescribeDRTAccessResponse": { + "com.amazonaws.shield#DescribeAttackStatisticsResponse": { "type": "structure", "members": { - "RoleArn": { - "target": "com.amazonaws.shield#RoleArn", + "TimeRange": { + "target": "com.amazonaws.shield#TimeRange", + "traits": { + "smithy.api#required": {} + } + }, + "DataItems": { + "target": "com.amazonaws.shield#AttackStatisticsDataList", + "traits": { + "smithy.api#documentation": "

                      The data that describes the attacks detected during the time period.

                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.shield#DescribeDRTAccess": { + "type": "operation", + "input": { + "target": "com.amazonaws.shield#DescribeDRTAccessRequest" + }, + "output": { + "target": "com.amazonaws.shield#DescribeDRTAccessResponse" + }, + "errors": [ + { + "target": "com.amazonaws.shield#InternalErrorException" + }, + { + "target": "com.amazonaws.shield#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                      Returns the current role and list of Amazon S3 log buckets used by the DDoS Response Team (DRT) to access your AWS account while assisting with attack mitigation.

                      " + } + }, + "com.amazonaws.shield#DescribeDRTAccessRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.shield#DescribeDRTAccessResponse": { + "type": "structure", + "members": { + "RoleArn": { + "target": "com.amazonaws.shield#RoleArn", "traits": { "smithy.api#documentation": "

                      The Amazon Resource Name (ARN) of the role the DRT used to access your AWS account.

                      " } @@ -933,20 +1174,64 @@ "smithy.api#documentation": "

                      Lists the details of a Protection object.

                      " } }, - "com.amazonaws.shield#DescribeProtectionRequest": { + "com.amazonaws.shield#DescribeProtectionGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.shield#DescribeProtectionGroupRequest" + }, + "output": { + "target": "com.amazonaws.shield#DescribeProtectionGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.shield#InternalErrorException" + }, + { + "target": "com.amazonaws.shield#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                      Returns the specification for the specified protection group.

                      " + } + }, + "com.amazonaws.shield#DescribeProtectionGroupRequest": { "type": "structure", "members": { - "ResourceArn": { - "target": "com.amazonaws.shield#ResourceArn", + "ProtectionGroupId": { + "target": "com.amazonaws.shield#ProtectionGroupId", "traits": { - "smithy.api#documentation": "

                      The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is\n described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.

                      " + "smithy.api#documentation": "

                      The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                      ", + "smithy.api#required": {} } - }, + } + } + }, + "com.amazonaws.shield#DescribeProtectionGroupResponse": { + "type": "structure", + "members": { + "ProtectionGroup": { + "target": "com.amazonaws.shield#ProtectionGroup", + "traits": { + "smithy.api#documentation": "

                      A grouping of protected resources that you and AWS Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.shield#DescribeProtectionRequest": { + "type": "structure", + "members": { "ProtectionId": { "target": "com.amazonaws.shield#ProtectionId", "traits": { "smithy.api#documentation": "

                      The unique identifier (ID) for the Protection object that is\n described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.

                      " } + }, + "ResourceArn": { + "target": "com.amazonaws.shield#ResourceArn", + "traits": { + "smithy.api#documentation": "

                      The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is\n described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.

                      " + } } } }, @@ -1144,17 +1429,17 @@ "com.amazonaws.shield#DisassociateHealthCheckRequest": { "type": "structure", "members": { - "HealthCheckArn": { - "target": "com.amazonaws.shield#HealthCheckArn", + "ProtectionId": { + "target": "com.amazonaws.shield#ProtectionId", "traits": { - "smithy.api#documentation": "

                      The Amazon Resource Name (ARN) of the health check that is associated with the protection.

                      ", + "smithy.api#documentation": "

                      The unique identifier (ID) for the Protection object to remove the health check association from.

                      ", "smithy.api#required": {} } }, - "ProtectionId": { - "target": "com.amazonaws.shield#ProtectionId", + "HealthCheckArn": { + "target": "com.amazonaws.shield#HealthCheckArn", "traits": { - "smithy.api#documentation": "

                      The unique identifier (ID) for the Protection object to remove the health check association from.

                      ", + "smithy.api#documentation": "

                      The Amazon Resource Name (ARN) of the health check that is associated with the protection.

                      ", "smithy.api#required": {} } } @@ -1188,12 +1473,6 @@ "com.amazonaws.shield#EmergencyContact": { "type": "structure", "members": { - "PhoneNumber": { - "target": "com.amazonaws.shield#PhoneNumber", - "traits": { - "smithy.api#documentation": "

                      The phone number for the contact.

                      " - } - }, "EmailAddress": { "target": "com.amazonaws.shield#EmailAddress", "traits": { @@ -1201,6 +1480,12 @@ "smithy.api#required": {} } }, + "PhoneNumber": { + "target": "com.amazonaws.shield#PhoneNumber", + "traits": { + "smithy.api#documentation": "

                      The phone number for the contact.

                      " + } + }, "ContactNotes": { "target": "com.amazonaws.shield#ContactNotes", "traits": { @@ -1357,10 +1642,22 @@ "members": { "message": { "target": "com.amazonaws.shield#errorMessage" + }, + "reason": { + "target": "com.amazonaws.shield#ValidationExceptionReason", + "traits": { + "smithy.api#documentation": "

                      Additional information about the exception.

                      " + } + }, + "fields": { + "target": "com.amazonaws.shield#ValidationExceptionFieldList", + "traits": { + "smithy.api#documentation": "

                      Fields that caused the exception.

                      " + } } }, "traits": { - "smithy.api#documentation": "

                      Exception that indicates that the parameters passed to the API are invalid.

                      ", + "smithy.api#documentation": "

                      Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties.

                      ", "smithy.api#error": "client" } }, @@ -1379,17 +1676,17 @@ "com.amazonaws.shield#Limit": { "type": "structure", "members": { - "Max": { - "target": "com.amazonaws.shield#Long", - "traits": { - "smithy.api#documentation": "

                      The maximum number of protections that can be created for the specified Type.

                      " - } - }, "Type": { "target": "com.amazonaws.shield#String", "traits": { "smithy.api#documentation": "

                      The type of protection.

                      " } + }, + "Max": { + "target": "com.amazonaws.shield#Long", + "traits": { + "smithy.api#documentation": "

                      The maximum number of protections that can be created for the specified Type.

                      " + } } }, "traits": { @@ -1414,11 +1711,11 @@ "message": { "target": "com.amazonaws.shield#errorMessage" }, - "Limit": { - "target": "com.amazonaws.shield#LimitNumber" - }, "Type": { "target": "com.amazonaws.shield#LimitType" + }, + "Limit": { + "target": "com.amazonaws.shield#LimitNumber" } }, "traits": { @@ -1458,34 +1755,34 @@ "com.amazonaws.shield#ListAttacksRequest": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.shield#Token", - "traits": { - "smithy.api#documentation": "

                      The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. Pass null if this is the first call.

                      " - } - }, "ResourceArns": { "target": "com.amazonaws.shield#ResourceArnFilterList", "traits": { "smithy.api#documentation": "

                      The ARN (Amazon Resource Name) of the resource that was attacked. If this is left\n blank, all applicable resources for this account will be included.

                      " } }, + "StartTime": { + "target": "com.amazonaws.shield#TimeRange", + "traits": { + "smithy.api#documentation": "

                      The start of the time period for the attacks. This is a timestamp type. The sample request above indicates a number type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.

                      " + } + }, "EndTime": { "target": "com.amazonaws.shield#TimeRange", "traits": { "smithy.api#documentation": "

                      The end of the time period for the attacks. This is a timestamp type. The sample request above indicates a number type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.

                      " } }, - "MaxResults": { - "target": "com.amazonaws.shield#MaxResults", + "NextToken": { + "target": "com.amazonaws.shield#Token", "traits": { - "smithy.api#documentation": "

                      The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned.

                      \n

                      This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the number of AttackSummary objects returned could be less than MaxResults, even if there are still more AttackSummary objects yet to return. If there are more AttackSummary objects to return, AWS WAF will always also return a NextToken.

                      " + "smithy.api#documentation": "

                      The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. Pass null if this is the first call.

                      " } }, - "StartTime": { - "target": "com.amazonaws.shield#TimeRange", + "MaxResults": { + "target": "com.amazonaws.shield#MaxResults", "traits": { - "smithy.api#documentation": "

                      The start of the time period for the attacks. This is a timestamp type. The sample request above indicates a number type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.

                      " + "smithy.api#documentation": "

                      The maximum number of AttackSummary objects to return. If you leave this blank, \n Shield Advanced returns the first 20 results.

                      \n

                      This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

                      " } } } @@ -1502,7 +1799,70 @@ "NextToken": { "target": "com.amazonaws.shield#Token", "traits": { - "smithy.api#documentation": "

                      The token returned by a previous call to indicate that there is more data available.\n If not null, more results are available. Pass this value for the NextMarker\n parameter in a subsequent call to ListAttacks to retrieve the next set of\n items.

                      \n

                      AWS WAF might return the list of AttackSummary objects in batches smaller than the number specified by MaxResults. If there are more AttackSummary objects to return, AWS WAF will always also return a NextToken.

                      " + "smithy.api#documentation": "

                      The token returned by a previous call to indicate that there is more data available.\n If not null, more results are available. Pass this value for the NextMarker\n parameter in a subsequent call to ListAttacks to retrieve the next set of\n items.

                      \n

                      Shield Advanced might return the list of AttackSummary objects in batches smaller than the number specified by MaxResults. If there are more attack summary objects to return, Shield Advanced will always also return a NextToken.

                      " + } + } + } + }, + "com.amazonaws.shield#ListProtectionGroups": { + "type": "operation", + "input": { + "target": "com.amazonaws.shield#ListProtectionGroupsRequest" + }, + "output": { + "target": "com.amazonaws.shield#ListProtectionGroupsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.shield#InternalErrorException" + }, + { + "target": "com.amazonaws.shield#InvalidPaginationTokenException" + }, + { + "target": "com.amazonaws.shield#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                      Retrieves the ProtectionGroup objects for the account.

                      ", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.shield#ListProtectionGroupsRequest": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.shield#Token", + "traits": { + "smithy.api#documentation": "

                      The next token value from a previous call to ListProtectionGroups. Pass null if this is the first call.

                      " + } + }, + "MaxResults": { + "target": "com.amazonaws.shield#MaxResults", + "traits": { + "smithy.api#documentation": "

                      The maximum number of ProtectionGroup objects to return. If you leave this blank, \n Shield Advanced returns the first 20 results.

                      \n

                      This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

                      " + } + } + } + }, + "com.amazonaws.shield#ListProtectionGroupsResponse": { + "type": "structure", + "members": { + "ProtectionGroups": { + "target": "com.amazonaws.shield#ProtectionGroups", + "traits": { + "smithy.api#documentation": "

                      ", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.shield#Token", + "traits": { + "smithy.api#documentation": "

                      If you specify a value for MaxResults and you have more protection groups than the value of MaxResults, AWS Shield Advanced returns this token that you can use in your next request, to get the next batch of objects.

                      " } } } @@ -1548,7 +1908,7 @@ "MaxResults": { "target": "com.amazonaws.shield#MaxResults", "traits": { - "smithy.api#documentation": "

                      The maximum number of Protection objects to be returned. If this is\n left blank the first 20 results will be returned.

                      \n

                      This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the number of Protection objects returned could be less than MaxResults, even if there are still more Protection objects yet to return. If there are more Protection objects to return, AWS WAF will always also return a NextToken.

                      " + "smithy.api#documentation": "

                      The maximum number of Protection objects to return. If you leave this blank, \n Shield Advanced returns the first 20 results.

                      \n

                      This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

                      " } } } @@ -1565,37 +1925,107 @@ "NextToken": { "target": "com.amazonaws.shield#Token", "traits": { - "smithy.api#documentation": "

                      If you specify a value for MaxResults and you have more Protections than the value of MaxResults, AWS Shield Advanced returns a NextToken value in the response that allows you to list another group of Protections. For the second and subsequent ListProtections requests, specify the value of NextToken from the previous response to get information about another batch of Protections.

                      \n

                      AWS WAF might return the list of Protection objects in batches smaller than the number specified by MaxResults. If there are more Protection objects to return, AWS WAF will always also return a NextToken.

                      " + "smithy.api#documentation": "

                      If you specify a value for MaxResults and you have more Protections than the value of MaxResults, AWS Shield Advanced returns a NextToken value in the response that allows you to list another group of Protections. For the second and subsequent ListProtections requests, specify the value of NextToken from the previous response to get information about another batch of Protections.

                      \n

                      Shield Advanced might return the list of Protection objects in batches smaller than the number specified by MaxResults. If there are more Protection objects to return, Shield Advanced will always also return a NextToken.

                      " } } } }, - "com.amazonaws.shield#LockedSubscriptionException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.shield#errorMessage" - } + "com.amazonaws.shield#ListResourcesInProtectionGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.shield#ListResourcesInProtectionGroupRequest" + }, + "output": { + "target": "com.amazonaws.shield#ListResourcesInProtectionGroupResponse" }, + "errors": [ + { + "target": "com.amazonaws.shield#InternalErrorException" + }, + { + "target": "com.amazonaws.shield#InvalidPaginationTokenException" + }, + { + "target": "com.amazonaws.shield#ResourceNotFoundException" + } + ], "traits": { - "smithy.api#documentation": "

                      You are trying to update a subscription that has not yet completed the 1-year commitment. You can change the AutoRenew parameter during the last 30 days of your subscription. This exception indicates that you are attempting to change AutoRenew prior to that period.

                      ", - "smithy.api#error": "client" + "smithy.api#documentation": "

                      Retrieves the resources that are included in the protection group.

                      ", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } } }, - "com.amazonaws.shield#LogBucket": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 3, - "max": 63 + "com.amazonaws.shield#ListResourcesInProtectionGroupRequest": { + "type": "structure", + "members": { + "ProtectionGroupId": { + "target": "com.amazonaws.shield#ProtectionGroupId", + "traits": { + "smithy.api#documentation": "

                      The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                      ", + "smithy.api#required": {} + } }, - "smithy.api#pattern": "^([a-z]|(\\d(?!\\d{0,2}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})))([a-z\\d]|(\\.(?!(\\.|-)))|(-(?!\\.))){1,61}[a-z\\d]$" + "NextToken": { + "target": "com.amazonaws.shield#Token", + "traits": { + "smithy.api#documentation": "

                      The next token value from a previous call to ListResourcesInProtectionGroup. Pass null if this is the first call.

                      " + } + }, + "MaxResults": { + "target": "com.amazonaws.shield#MaxResults", + "traits": { + "smithy.api#documentation": "

                      The maximum number of resource ARN objects to return. If you leave this blank, \n Shield Advanced returns the first 20 results.

                      \n

                      This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

                      " + } + } } }, - "com.amazonaws.shield#LogBucketList": { - "type": "list", - "member": { - "target": "com.amazonaws.shield#LogBucket" + "com.amazonaws.shield#ListResourcesInProtectionGroupResponse": { + "type": "structure", + "members": { + "ResourceArns": { + "target": "com.amazonaws.shield#ResourceArnList", + "traits": { + "smithy.api#documentation": "

                      The Amazon Resource Names (ARNs) of the resources that are included in the protection group.

                      ", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.shield#Token", + "traits": { + "smithy.api#documentation": "

                      If you specify a value for MaxResults and you have more resources in the protection group than the value of MaxResults, AWS Shield Advanced returns this token that you can use in your next request, to get the next batch of objects.

                      " + } + } + } + }, + "com.amazonaws.shield#LockedSubscriptionException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.shield#errorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

                      You are trying to update a subscription that has not yet completed the 1-year commitment. You can change the AutoRenew parameter during the last 30 days of your subscription. This exception indicates that you are attempting to change AutoRenew prior to that period.

                      ", + "smithy.api#error": "client" + } + }, + "com.amazonaws.shield#LogBucket": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 63 + }, + "smithy.api#pattern": "^([a-z]|(\\d(?!\\d{0,2}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})))([a-z\\d]|(\\.(?!(\\.|-)))|(-(?!\\.))){1,61}[a-z\\d]$" + } + }, + "com.amazonaws.shield#LogBucketList": { + "type": "list", + "member": { + "target": "com.amazonaws.shield#LogBucket" }, "traits": { "smithy.api#length": { @@ -1690,13 +2120,50 @@ ] } }, + "com.amazonaws.shield#ProtectedResourceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CLOUDFRONT_DISTRIBUTION", + "name": "CLOUDFRONT_DISTRIBUTION" + }, + { + "value": "ROUTE_53_HOSTED_ZONE", + "name": "ROUTE_53_HOSTED_ZONE" + }, + { + "value": "ELASTIC_IP_ALLOCATION", + "name": "ELASTIC_IP_ALLOCATION" + }, + { + "value": "CLASSIC_LOAD_BALANCER", + "name": "CLASSIC_LOAD_BALANCER" + }, + { + "value": "APPLICATION_LOAD_BALANCER", + "name": "APPLICATION_LOAD_BALANCER" + }, + { + "value": "GLOBAL_ACCELERATOR", + "name": "GLOBAL_ACCELERATOR" + } + ] + } + }, "com.amazonaws.shield#Protection": { "type": "structure", "members": { - "HealthCheckIds": { - "target": "com.amazonaws.shield#HealthCheckIds", + "Id": { + "target": "com.amazonaws.shield#ProtectionId", "traits": { - "smithy.api#documentation": "

                      The unique identifier (ID) for the Route 53 health check that's associated with the protection.

                      " + "smithy.api#documentation": "

                      The unique identifier (ID) of the protection.

                      " + } + }, + "Name": { + "target": "com.amazonaws.shield#ProtectionName", + "traits": { + "smithy.api#documentation": "

                      The name of the protection. For example, My CloudFront distributions.

                      " } }, "ResourceArn": { @@ -1705,21 +2172,175 @@ "smithy.api#documentation": "

                      The ARN (Amazon Resource Name) of the AWS resource that is protected.

                      " } }, - "Name": { - "target": "com.amazonaws.shield#ProtectionName", + "HealthCheckIds": { + "target": "com.amazonaws.shield#HealthCheckIds", "traits": { - "smithy.api#documentation": "

                      The friendly name of the protection. For example, My CloudFront distributions.

                      " + "smithy.api#documentation": "

                      The unique identifier (ID) for the Route 53 health check that's associated with the protection.

                      " + } + } + }, + "traits": { + "smithy.api#documentation": "

                      An object that represents a resource that is under DDoS protection.

                      " + } + }, + "com.amazonaws.shield#ProtectionGroup": { + "type": "structure", + "members": { + "ProtectionGroupId": { + "target": "com.amazonaws.shield#ProtectionGroupId", + "traits": { + "smithy.api#documentation": "

                      The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                      ", + "smithy.api#required": {} } }, - "Id": { - "target": "com.amazonaws.shield#ProtectionId", + "Aggregation": { + "target": "com.amazonaws.shield#ProtectionGroupAggregation", "traits": { - "smithy.api#documentation": "

                      The unique identifier (ID) of the protection.

                      " + "smithy.api#documentation": "

                      Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.

                      \n
                        \n
                      • \n

                        Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

                        \n
                      • \n
                      • \n

                        Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

                        \n
                      • \n
                      • \n

                        Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.

                        \n
                      • \n
                      ", + "smithy.api#required": {} + } + }, + "Pattern": { + "target": "com.amazonaws.shield#ProtectionGroupPattern", + "traits": { + "smithy.api#documentation": "

                      The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

                      ", + "smithy.api#required": {} + } + }, + "ResourceType": { + "target": "com.amazonaws.shield#ProtectedResourceType", + "traits": { + "smithy.api#documentation": "

                      The resource type to include in the protection group. All protected resources of this type are included in the protection group. \n You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

                      " + } + }, + "Members": { + "target": "com.amazonaws.shield#ProtectionGroupMembers", + "traits": { + "smithy.api#documentation": "

                      The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

                      ", + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

                      An object that represents a resource that is under DDoS protection.

                      " + "smithy.api#documentation": "

                      A grouping of protected resources that you and AWS Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

                      " + } + }, + "com.amazonaws.shield#ProtectionGroupAggregation": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SUM", + "name": "SUM" + }, + { + "value": "MEAN", + "name": "MEAN" + }, + { + "value": "MAX", + "name": "MAX" + } + ] + } + }, + "com.amazonaws.shield#ProtectionGroupArbitraryPatternLimits": { + "type": "structure", + "members": { + "MaxMembers": { + "target": "com.amazonaws.shield#Long", + "traits": { + "smithy.api#documentation": "

                      The maximum number of resources you can specify for a single arbitrary pattern in a protection group.

                      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

                      Limits settings on protection groups with arbitrary pattern type.

                      " + } + }, + "com.amazonaws.shield#ProtectionGroupId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 36 + }, + "smithy.api#pattern": "[a-zA-Z0-9\\\\-]*" + } + }, + "com.amazonaws.shield#ProtectionGroupLimits": { + "type": "structure", + "members": { + "MaxProtectionGroups": { + "target": "com.amazonaws.shield#Long", + "traits": { + "smithy.api#documentation": "

                      The maximum number of protection groups that you can have at one time.

                      ", + "smithy.api#required": {} + } + }, + "PatternTypeLimits": { + "target": "com.amazonaws.shield#ProtectionGroupPatternTypeLimits", + "traits": { + "smithy.api#documentation": "

                      Limits settings by pattern type in the protection groups for your subscription.

                      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

                      Limits settings on protection groups for your subscription.

                      " + } + }, + "com.amazonaws.shield#ProtectionGroupMembers": { + "type": "list", + "member": { + "target": "com.amazonaws.shield#ResourceArn" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10000 + } + } + }, + "com.amazonaws.shield#ProtectionGroupPattern": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ALL", + "name": "ALL" + }, + { + "value": "ARBITRARY", + "name": "ARBITRARY" + }, + { + "value": "BY_RESOURCE_TYPE", + "name": "BY_RESOURCE_TYPE" + } + ] + } + }, + "com.amazonaws.shield#ProtectionGroupPatternTypeLimits": { + "type": "structure", + "members": { + "ArbitraryPatternLimits": { + "target": "com.amazonaws.shield#ProtectionGroupArbitraryPatternLimits", + "traits": { + "smithy.api#documentation": "

                      Limits settings on protection groups with arbitrary pattern type.

                      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

                      Limits settings by pattern type in the protection groups for your subscription.

                      " + } + }, + "com.amazonaws.shield#ProtectionGroups": { + "type": "list", + "member": { + "target": "com.amazonaws.shield#ProtectionGroup" } }, "com.amazonaws.shield#ProtectionId": { @@ -1732,6 +2353,21 @@ "smithy.api#pattern": "[a-zA-Z0-9\\\\-]*" } }, + "com.amazonaws.shield#ProtectionLimits": { + "type": "structure", + "members": { + "ProtectedResourceTypeLimits": { + "target": "com.amazonaws.shield#Limits", + "traits": { + "smithy.api#documentation": "

                      The maximum number of resource types that you can specify in a protection.

                      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

                      Limits settings on protections for your subscription.

                      " + } + }, "com.amazonaws.shield#ProtectionName": { "type": "string", "traits": { @@ -1753,10 +2389,16 @@ "members": { "message": { "target": "com.amazonaws.shield#errorMessage" + }, + "resourceType": { + "target": "com.amazonaws.shield#String", + "traits": { + "smithy.api#documentation": "

                      The type of resource that already exists.

                      " + } } }, "traits": { - "smithy.api#documentation": "

                      Exception indicating the specified resource already exists.

                      ", + "smithy.api#documentation": "

                      Exception indicating the specified resource already exists. If available, this exception includes details in additional properties.

                      ", "smithy.api#error": "client" } }, @@ -1776,15 +2418,27 @@ "target": "com.amazonaws.shield#ResourceArn" } }, + "com.amazonaws.shield#ResourceArnList": { + "type": "list", + "member": { + "target": "com.amazonaws.shield#ResourceArn" + } + }, "com.amazonaws.shield#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.shield#errorMessage" + }, + "resourceType": { + "target": "com.amazonaws.shield#String", + "traits": { + "smithy.api#documentation": "

                      Type of resource.

                      " + } } }, "traits": { - "smithy.api#documentation": "

                      Exception indicating the specified resource does not exist.

                      ", + "smithy.api#documentation": "

                      Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties.

                      ", "smithy.api#error": "client" } }, @@ -1810,18 +2464,18 @@ "smithy.api#documentation": "

                      The SubResource type.

                      " } }, - "AttackVectors": { - "target": "com.amazonaws.shield#SummarizedAttackVectorList", - "traits": { - "smithy.api#documentation": "

                      The list of attack types and associated counters.

                      " - } - }, "Id": { "target": "com.amazonaws.shield#String", "traits": { "smithy.api#documentation": "

                      The unique identifier (ID) of the SubResource.

                      " } }, + "AttackVectors": { + "target": "com.amazonaws.shield#SummarizedAttackVectorList", + "traits": { + "smithy.api#documentation": "

                      The list of attack types and associated counters.

                      " + } + }, "Counters": { "target": "com.amazonaws.shield#SummarizedCounterList", "traits": { @@ -1863,39 +2517,68 @@ "smithy.api#documentation": "

                      The start time of the subscription, in Unix time in seconds. For more information see timestamp.

                      " } }, + "EndTime": { + "target": "com.amazonaws.shield#Timestamp", + "traits": { + "smithy.api#documentation": "

                      The date and time your subscription will end.

                      " + } + }, + "TimeCommitmentInSeconds": { + "target": "com.amazonaws.shield#DurationInSeconds", + "traits": { + "smithy.api#documentation": "

                      The length, in seconds, of the AWS Shield Advanced subscription for the account.

                      " + } + }, "AutoRenew": { "target": "com.amazonaws.shield#AutoRenew", "traits": { "smithy.api#documentation": "

                      If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.

                      \n

                      When you initally create a subscription, AutoRenew is set to ENABLED. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.

                      " } }, + "Limits": { + "target": "com.amazonaws.shield#Limits", + "traits": { + "smithy.api#documentation": "

                      Specifies how many protections of a given type you can create.

                      " + } + }, "ProactiveEngagementStatus": { "target": "com.amazonaws.shield#ProactiveEngagementStatus", "traits": { "smithy.api#documentation": "

                      If ENABLED, the DDoS Response Team (DRT) will use email and phone to notify contacts about escalations to the DRT and to initiate proactive customer support.

                      \n

                      If PENDING, you have requested proactive engagement and the request is pending. The status changes to ENABLED when your request is fully processed.

                      \n

                      If DISABLED, the DRT will not proactively notify contacts about escalations or to initiate proactive customer support.

                      " } }, - "Limits": { - "target": "com.amazonaws.shield#Limits", + "SubscriptionLimits": { + "target": "com.amazonaws.shield#SubscriptionLimits", "traits": { - "smithy.api#documentation": "

                      Specifies how many protections of a given type you can create.

                      " + "smithy.api#documentation": "

                      Limits settings for your subscription.

                      ", + "smithy.api#required": {} } - }, - "EndTime": { - "target": "com.amazonaws.shield#Timestamp", + } + }, + "traits": { + "smithy.api#documentation": "

                      Information about the AWS Shield Advanced subscription for an account.

                      " + } + }, + "com.amazonaws.shield#SubscriptionLimits": { + "type": "structure", + "members": { + "ProtectionLimits": { + "target": "com.amazonaws.shield#ProtectionLimits", "traits": { - "smithy.api#documentation": "

                      The date and time your subscription will end.

                      " + "smithy.api#documentation": "

                      Limits settings on protections for your subscription.

                      ", + "smithy.api#required": {} } }, - "TimeCommitmentInSeconds": { - "target": "com.amazonaws.shield#DurationInSeconds", + "ProtectionGroupLimits": { + "target": "com.amazonaws.shield#ProtectionGroupLimits", "traits": { - "smithy.api#documentation": "

                      The length, in seconds, of the AWS Shield Advanced subscription for the account.

                      " + "smithy.api#documentation": "

                      Limits settings on protection groups for your subscription.

                      ", + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

                      Information about the AWS Shield Advanced subscription for an account.

                      " + "smithy.api#documentation": "

                      Limits settings for your subscription.

                      " } }, "com.amazonaws.shield#SubscriptionState": { @@ -1943,16 +2626,10 @@ "com.amazonaws.shield#SummarizedCounter": { "type": "structure", "members": { - "Unit": { + "Name": { "target": "com.amazonaws.shield#String", "traits": { - "smithy.api#documentation": "

                      The unit of the counters.

                      " - } - }, - "Sum": { - "target": "com.amazonaws.shield#Double", - "traits": { - "smithy.api#documentation": "

                      The total of counter values for a specified time period.

                      " + "smithy.api#documentation": "

                      The counter name.

                      " } }, "Max": { @@ -1967,16 +2644,22 @@ "smithy.api#documentation": "

                      The average value of the counter for a specified time period.

                      " } }, + "Sum": { + "target": "com.amazonaws.shield#Double", + "traits": { + "smithy.api#documentation": "

                      The total of counter values for a specified time period.

                      " + } + }, "N": { "target": "com.amazonaws.shield#Integer", "traits": { "smithy.api#documentation": "

                      The number of counters for a specified time period.

                      " } }, - "Name": { + "Unit": { "target": "com.amazonaws.shield#String", "traits": { - "smithy.api#documentation": "

                      The counter name.

                      " + "smithy.api#documentation": "

                      The unit of the counters.

                      " } } }, @@ -1993,21 +2676,21 @@ "com.amazonaws.shield#TimeRange": { "type": "structure", "members": { - "ToExclusive": { + "FromInclusive": { "target": "com.amazonaws.shield#AttackTimestamp", "traits": { - "smithy.api#documentation": "

                      The end time, in Unix time in seconds. For more information see timestamp.

                      " + "smithy.api#documentation": "

                      The start time, in Unix time in seconds. For more information see timestamp.

                      " } }, - "FromInclusive": { + "ToExclusive": { "target": "com.amazonaws.shield#AttackTimestamp", "traits": { - "smithy.api#documentation": "

                      The start time, in Unix time in seconds. For more information see timestamp.

                      " + "smithy.api#documentation": "

                      The end time, in Unix time in seconds. For more information see timestamp.

                      " } } }, "traits": { - "smithy.api#documentation": "

                      The time range.

                      " + "smithy.api#documentation": "

                      The time range.

                      " } }, "com.amazonaws.shield#Timestamp": { @@ -2093,6 +2776,74 @@ "type": "structure", "members": {} }, + "com.amazonaws.shield#UpdateProtectionGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.shield#UpdateProtectionGroupRequest" + }, + "output": { + "target": "com.amazonaws.shield#UpdateProtectionGroupResponse" + }, + "errors": [ + { + "target": "com.amazonaws.shield#InternalErrorException" + }, + { + "target": "com.amazonaws.shield#InvalidParameterException" + }, + { + "target": "com.amazonaws.shield#OptimisticLockException" + }, + { + "target": "com.amazonaws.shield#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

                      Updates an existing protection group. A protection group is a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

                      " + } + }, + "com.amazonaws.shield#UpdateProtectionGroupRequest": { + "type": "structure", + "members": { + "ProtectionGroupId": { + "target": "com.amazonaws.shield#ProtectionGroupId", + "traits": { + "smithy.api#documentation": "

                      The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                      ", + "smithy.api#required": {} + } + }, + "Aggregation": { + "target": "com.amazonaws.shield#ProtectionGroupAggregation", + "traits": { + "smithy.api#documentation": "

                      Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.

                      \n
                        \n
                      • \n

                        Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

                        \n
                      • \n
                      • \n

                        Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

                        \n
                      • \n
                      • \n

                        Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.

                        \n
                      • \n
                      ", + "smithy.api#required": {} + } + }, + "Pattern": { + "target": "com.amazonaws.shield#ProtectionGroupPattern", + "traits": { + "smithy.api#documentation": "

                      The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

                      ", + "smithy.api#required": {} + } + }, + "ResourceType": { + "target": "com.amazonaws.shield#ProtectedResourceType", + "traits": { + "smithy.api#documentation": "

                      The resource type to include in the protection group. All protected resources of this type are included in the protection group. \n You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

                      " + } + }, + "Members": { + "target": "com.amazonaws.shield#ProtectionGroupMembers", + "traits": { + "smithy.api#documentation": "

                      The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

                      " + } + } + } + }, + "com.amazonaws.shield#UpdateProtectionGroupResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.shield#UpdateSubscription": { "type": "operation", "input": { @@ -2137,6 +2888,49 @@ "type": "structure", "members": {} }, + "com.amazonaws.shield#ValidationExceptionField": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.shield#String", + "traits": { + "smithy.api#documentation": "

                      The name of the parameter that failed validation.

                      ", + "smithy.api#required": {} + } + }, + "message": { + "target": "com.amazonaws.shield#String", + "traits": { + "smithy.api#documentation": "

                      The message describing why the parameter failed validation.

                      ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

                      Provides information about a particular parameter passed inside a request that resulted in an exception.

                      " + } + }, + "com.amazonaws.shield#ValidationExceptionFieldList": { + "type": "list", + "member": { + "target": "com.amazonaws.shield#ValidationExceptionField" + } + }, + "com.amazonaws.shield#ValidationExceptionReason": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "FIELD_VALIDATION_FAILED", + "name": "FIELD_VALIDATION_FAILED" + }, + { + "value": "OTHER", + "name": "OTHER" + } + ] + } + }, "com.amazonaws.shield#errorMessage": { "type": "string" } diff --git a/codegen/sdk-codegen/aws-models/textract.2018-06-27.json b/codegen/sdk-codegen/aws-models/textract.2018-06-27.json index 4882e38b636f..99db0258cd1c 100644 --- a/codegen/sdk-codegen/aws-models/textract.2018-06-27.json +++ b/codegen/sdk-codegen/aws-models/textract.2018-06-27.json @@ -98,28 +98,28 @@ "smithy.api#required": {} } }, - "HumanLoopConfig": { - "target": "com.amazonaws.textract#HumanLoopConfig", - "traits": { - "smithy.api#documentation": "

                      Sets the configuration for the human in the loop workflow for analyzing documents.

                      " - } - }, "FeatureTypes": { "target": "com.amazonaws.textract#FeatureTypes", "traits": { "smithy.api#documentation": "

                      A list of the types of analysis to perform. Add TABLES to the list to return information\n about the tables that are detected in the input document. Add FORMS to return detected form data. \n To perform both types of analysis, add TABLES and FORMS to\n FeatureTypes. All lines and words detected in the document are included in\n the response (including text that isn't related to the value of FeatureTypes).

                      ", "smithy.api#required": {} } + }, + "HumanLoopConfig": { + "target": "com.amazonaws.textract#HumanLoopConfig", + "traits": { + "smithy.api#documentation": "

                      Sets the configuration for the human in the loop workflow for analyzing documents.

                      " + } } } }, "com.amazonaws.textract#AnalyzeDocumentResponse": { "type": "structure", "members": { - "AnalyzeDocumentModelVersion": { - "target": "com.amazonaws.textract#String", + "DocumentMetadata": { + "target": "com.amazonaws.textract#DocumentMetadata", "traits": { - "smithy.api#documentation": "

                      The version of the model used to analyze the document.

                      " + "smithy.api#documentation": "

                      Metadata about the analyzed document. An example is the number of pages.

                      " } }, "Blocks": { @@ -134,10 +134,10 @@ "smithy.api#documentation": "

                      Shows the results of the human in the loop evaluation.

                      " } }, - "DocumentMetadata": { - "target": "com.amazonaws.textract#DocumentMetadata", + "AnalyzeDocumentModelVersion": { + "target": "com.amazonaws.textract#String", "traits": { - "smithy.api#documentation": "

                      Metadata about the analyzed document. An example is the number of pages.

                      " + "smithy.api#documentation": "

                      The version of the model used to analyze the document.

                      " } } } @@ -160,16 +160,16 @@ "com.amazonaws.textract#Block": { "type": "structure", "members": { - "EntityTypes": { - "target": "com.amazonaws.textract#EntityTypes", + "BlockType": { + "target": "com.amazonaws.textract#BlockType", "traits": { - "smithy.api#documentation": "

                      The type of entity. The following can be returned:

                      \n
                        \n
                      • \n

                        \n KEY - An identifier for a field on the document.

                        \n
                      • \n
                      • \n

                        \n VALUE - The field text.

                        \n
                      • \n
                      \n

                      \n EntityTypes isn't returned by DetectDocumentText and\n GetDocumentTextDetection.

                      " + "smithy.api#documentation": "

                      The type of text item that's recognized. In operations for text detection, the following\n types are returned:

                      \n
                        \n
                      • \n

                        \n PAGE - Contains a list of the LINE Block objects\n that are detected on a document page.

                        \n
                      • \n
                      • \n

                        \n WORD - A word detected on a document page. A word is one or\n more ISO basic Latin script characters that aren't separated by spaces.

                        \n
                      • \n
                      • \n

                        \n LINE - A string of tab-delimited, contiguous words that are\n detected on a document page.

                        \n
                      • \n
                      \n

                      In text analysis operations, the following types are returned:

                      \n
                        \n
                      • \n

                        \n PAGE - Contains a list of child Block objects\n that are detected on a document page.

                        \n
                      • \n
                      • \n

                        \n KEY_VALUE_SET - Stores the KEY and VALUE Block\n objects for linked text that's detected on a document page. Use the\n EntityType field to determine if a KEY_VALUE_SET object is a KEY\n Block object or a VALUE Block object.

                        \n
                      • \n
                      • \n

                        \n WORD - A word that's detected on a document page. A word is\n one or more ISO basic Latin script characters that aren't separated by spaces.

                        \n
                      • \n
                      • \n

                        \n LINE - A string of tab-delimited, contiguous words that are\n detected on a document page.

                        \n
                      • \n
                      • \n

                        \n TABLE - A table that's detected on a document page. A table\n is grid-based information with two or more rows or columns, with a cell span of one\n row and one column each.

                        \n
                      • \n
                      • \n

                        \n CELL - A cell within a detected table. The cell is the parent\n of the block that contains the text in the cell.

                        \n
                      • \n
                      • \n

                        \n SELECTION_ELEMENT - A selection element such as an option\n button (radio button) or a check box that's detected on a document page. Use the\n value of SelectionStatus to determine the status of the selection\n element.

                        \n
                      • \n
                      " } }, - "RowIndex": { - "target": "com.amazonaws.textract#UInteger", + "Confidence": { + "target": "com.amazonaws.textract#Percent", "traits": { - "smithy.api#documentation": "

                      The row in which a table cell is located. The first row position is 1.\n RowIndex isn't returned by DetectDocumentText and\n GetDocumentTextDetection.

                      " + "smithy.api#documentation": "

                      The confidence score that Amazon Textract has in the accuracy of the recognized text and\n the accuracy of the geometry points around the recognized text.

                      " } }, "Text": { @@ -178,40 +178,46 @@ "smithy.api#documentation": "

                      The word or line of text that's recognized by Amazon Textract.

                      " } }, - "RowSpan": { + "TextType": { + "target": "com.amazonaws.textract#TextType", + "traits": { + "smithy.api#documentation": "

                      The kind of text that Amazon Textract has detected. Can check for handwritten text and printed text.

                      " + } + }, + "RowIndex": { "target": "com.amazonaws.textract#UInteger", "traits": { - "smithy.api#documentation": "

                      The number of rows that a table cell spans. Currently this value is always 1, even\n if the number of rows spanned is greater than 1. RowSpan isn't returned by\n DetectDocumentText and GetDocumentTextDetection.

                      " + "smithy.api#documentation": "

                      The row in which a table cell is located. The first row position is 1.\n RowIndex isn't returned by DetectDocumentText and\n GetDocumentTextDetection.

                      " } }, - "BlockType": { - "target": "com.amazonaws.textract#BlockType", + "ColumnIndex": { + "target": "com.amazonaws.textract#UInteger", "traits": { - "smithy.api#documentation": "

                      The type of text item that's recognized. In operations for text detection, the following\n types are returned:

                      \n
                        \n
                      • \n

                        \n PAGE - Contains a list of the LINE Block objects\n that are detected on a document page.

                        \n
                      • \n
                      • \n

                        \n WORD - A word detected on a document page. A word is one or\n more ISO basic Latin script characters that aren't separated by spaces.

                        \n
                      • \n
                      • \n

                        \n LINE - A string of tab-delimited, contiguous words that are\n detected on a document page.

                        \n
                      • \n
                      \n

                      In text analysis operations, the following types are returned:

                      \n
                        \n
                      • \n

                        \n PAGE - Contains a list of child Block objects\n that are detected on a document page.

                        \n
                      • \n
                      • \n

                        \n KEY_VALUE_SET - Stores the KEY and VALUE Block\n objects for linked text that's detected on a document page. Use the\n EntityType field to determine if a KEY_VALUE_SET object is a KEY\n Block object or a VALUE Block object.

                        \n
                      • \n
                      • \n

                        \n WORD - A word that's detected on a document page. A word is\n one or more ISO basic Latin script characters that aren't separated by spaces.

                        \n
                      • \n
                      • \n

                        \n LINE - A string of tab-delimited, contiguous words that are\n detected on a document page.

                        \n
                      • \n
                      • \n

                        \n TABLE - A table that's detected on a document page. A table\n is grid-based information with two or more rows or columns, with a cell span of one\n row and one column each.

                        \n
                      • \n
                      • \n

                        \n CELL - A cell within a detected table. The cell is the parent\n of the block that contains the text in the cell.

                        \n
                      • \n
                      • \n

                        \n SELECTION_ELEMENT - A selection element such as an option\n button (radio button) or a check box that's detected on a document page. Use the\n value of SelectionStatus to determine the status of the selection\n element.

                        \n
                      • \n
                      " + "smithy.api#documentation": "

                      The column in which a table cell appears. The first column position is 1.\n ColumnIndex isn't returned by DetectDocumentText and\n GetDocumentTextDetection.

                      " } }, - "Id": { - "target": "com.amazonaws.textract#NonEmptyString", + "RowSpan": { + "target": "com.amazonaws.textract#UInteger", "traits": { - "smithy.api#documentation": "

                      The identifier for the recognized text. The identifier is only unique for a single\n operation.

                      " + "smithy.api#documentation": "

                      The number of rows that a table cell spans. Currently this value is always 1, even\n if the number of rows spanned is greater than 1. RowSpan isn't returned by\n DetectDocumentText and GetDocumentTextDetection.

                      " } }, - "Geometry": { - "target": "com.amazonaws.textract#Geometry", + "ColumnSpan": { + "target": "com.amazonaws.textract#UInteger", "traits": { - "smithy.api#documentation": "

                      The location of the recognized text on the image. It includes an axis-aligned, coarse\n bounding box that surrounds the text, and a finer-grain polygon for more accurate spatial\n information.

                      " + "smithy.api#documentation": "

                      The number of columns that a table cell spans. Currently this value is always 1, even\n if the number of columns spanned is greater than 1. ColumnSpan isn't returned by\n DetectDocumentText and GetDocumentTextDetection.

                      " } }, - "SelectionStatus": { - "target": "com.amazonaws.textract#SelectionStatus", + "Geometry": { + "target": "com.amazonaws.textract#Geometry", "traits": { - "smithy.api#documentation": "

                      The selection status of a selection element, such as an option button or check box.

                      " + "smithy.api#documentation": "

                      The location of the recognized text on the image. It includes an axis-aligned, coarse\n bounding box that surrounds the text, and a finer-grain polygon for more accurate spatial\n information.

                      " } }, - "ColumnSpan": { - "target": "com.amazonaws.textract#UInteger", + "Id": { + "target": "com.amazonaws.textract#NonEmptyString", "traits": { - "smithy.api#documentation": "

                      The number of columns that a table cell spans. Currently this value is always 1, even\n if the number of columns spanned is greater than 1. ColumnSpan isn't returned by\n DetectDocumentText and GetDocumentTextDetection.

                      " + "smithy.api#documentation": "

                      The identifier for the recognized text. The identifier is only unique for a single\n operation.

                      " } }, "Relationships": { @@ -220,22 +226,22 @@ "smithy.api#documentation": "

                      A list of child blocks of the current block. For example, a LINE object has child blocks\n for each WORD block that's part of the line of text. There aren't Relationship objects in\n the list for relationships that don't exist, such as when the current block has no child\n blocks. The list size can be the following:

                      \n
                        \n
                      • \n

                        0 - The block has no child blocks.

                        \n
                      • \n
                      • \n

                        1 - The block has child blocks.

                        \n
                      • \n
                      " } }, - "Page": { - "target": "com.amazonaws.textract#UInteger", + "EntityTypes": { + "target": "com.amazonaws.textract#EntityTypes", "traits": { - "smithy.api#documentation": "

                      The page on which a block was detected. Page is returned by asynchronous\n operations. Page values greater than 1 are only returned for multipage documents that are\n in PDF format. A scanned image (JPEG/PNG), even if it contains multiple document pages, is\n considered to be a single-page document. The value of Page is always 1.\n Synchronous operations don't return Page because every input document is\n considered to be a single-page document.

                      " + "smithy.api#documentation": "

                      The type of entity. The following can be returned:

                      \n
                        \n
                      • \n

                        \n KEY - An identifier for a field on the document.

                        \n
                      • \n
                      • \n

                        \n VALUE - The field text.

                        \n
                      • \n
                      \n

                      \n EntityTypes isn't returned by DetectDocumentText and\n GetDocumentTextDetection.

                      " } }, - "Confidence": { - "target": "com.amazonaws.textract#Percent", + "SelectionStatus": { + "target": "com.amazonaws.textract#SelectionStatus", "traits": { - "smithy.api#documentation": "

                      The confidence score that Amazon Textract has in the accuracy of the recognized text and\n the accuracy of the geometry points around the recognized text.

                      " + "smithy.api#documentation": "

                      The selection status of a selection element, such as an option button or check box.

                      " } }, - "ColumnIndex": { + "Page": { "target": "com.amazonaws.textract#UInteger", "traits": { - "smithy.api#documentation": "

                      The column in which a table cell appears. The first column position is 1.\n ColumnIndex isn't returned by DetectDocumentText and\n GetDocumentTextDetection.

                      " + "smithy.api#documentation": "

                      The page on which a block was detected. Page is returned by asynchronous\n operations. Page values greater than 1 are only returned for multipage documents that are\n in PDF format. A scanned image (JPEG/PNG), even if it contains multiple document pages, is\n considered to be a single-page document. The value of Page is always 1.\n Synchronous operations don't return Page because every input document is\n considered to be a single-page document.

                      " } } }, @@ -287,28 +293,28 @@ "com.amazonaws.textract#BoundingBox": { "type": "structure", "members": { - "Top": { + "Width": { "target": "com.amazonaws.textract#Float", "traits": { - "smithy.api#documentation": "

                      The top coordinate of the bounding box as a ratio of overall document page\n height.

                      " + "smithy.api#documentation": "

                      The width of the bounding box as a ratio of the overall document page\n width.

                      " } }, - "Left": { + "Height": { "target": "com.amazonaws.textract#Float", "traits": { - "smithy.api#documentation": "

                      The left coordinate of the bounding box as a ratio of overall document page\n width.

                      " + "smithy.api#documentation": "

                      The height of the bounding box as a ratio of the overall document page\n height.

                      " } }, - "Height": { + "Left": { "target": "com.amazonaws.textract#Float", "traits": { - "smithy.api#documentation": "

                      The height of the bounding box as a ratio of the overall document page\n height.

                      " + "smithy.api#documentation": "

                      The left coordinate of the bounding box as a ratio of overall document page\n width.

                      " } }, - "Width": { + "Top": { "target": "com.amazonaws.textract#Float", "traits": { - "smithy.api#documentation": "

                      The width of the bounding box as a ratio of the overall document page\n width.

                      " + "smithy.api#documentation": "

                      The top coordinate of the bounding box as a ratio of overall document page\n height.

                      " } } }, @@ -415,34 +421,34 @@ "smithy.api#documentation": "

                      Metadata about the document. It contains the number of pages that are detected in the\n document.

                      " } }, - "DetectDocumentTextModelVersion": { - "target": "com.amazonaws.textract#String", - "traits": { - "smithy.api#documentation": "

                      " - } - }, "Blocks": { "target": "com.amazonaws.textract#BlockList", "traits": { "smithy.api#documentation": "

                      An array of Block objects that contain the text that's detected in the\n document.

                      " } + }, + "DetectDocumentTextModelVersion": { + "target": "com.amazonaws.textract#String", + "traits": { + "smithy.api#documentation": "

                      " + } } } }, "com.amazonaws.textract#Document": { "type": "structure", "members": { - "S3Object": { - "target": "com.amazonaws.textract#S3Object", - "traits": { - "smithy.api#documentation": "

                      Identifies an S3 object as the document source. The maximum size of a document that's\n stored in an S3 bucket is 5 MB.

                      " - } - }, "Bytes": { "target": "com.amazonaws.textract#ImageBlob", "traits": { "smithy.api#documentation": "

                      A blob of base64-encoded document bytes. The maximum size of a document that's provided\n in a blob of bytes is 5 MB. The document bytes must be in PNG or JPEG format.

                      \n

                      If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode\n image bytes passed using the Bytes field.

                      " } + }, + "S3Object": { + "target": "com.amazonaws.textract#S3Object", + "traits": { + "smithy.api#documentation": "

                      Identifies an S3 object as the document source. The maximum size of a document that's\n stored in an S3 bucket is 5 MB.

                      " + } } }, "traits": { @@ -488,7 +494,7 @@ } }, "traits": { - "smithy.api#documentation": "

                      The document can't be processed because it's too large. The maximum document size for\n synchronous operations 5 MB. The maximum document size for asynchronous operations is 500\n MB for PDF files.

                      ", + "smithy.api#documentation": "

                      The document can't be processed because it's too large. The maximum document size for\n synchronous operations 10 MB. The maximum document size for asynchronous operations is 500\n MB for PDF files.

                      ", "smithy.api#error": "client" } }, @@ -607,10 +613,11 @@ "com.amazonaws.textract#GetDocumentAnalysisRequest": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.textract#PaginationToken", + "JobId": { + "target": "com.amazonaws.textract#JobId", "traits": { - "smithy.api#documentation": "

                      If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination\n token in the response. You can use this pagination token to retrieve the next set of blocks.

                      " + "smithy.api#documentation": "

                      A unique identifier for the text-detection job. The JobId is returned from\n StartDocumentAnalysis. A JobId value is only valid for 7 days.

                      ", + "smithy.api#required": {} } }, "MaxResults": { @@ -619,11 +626,10 @@ "smithy.api#documentation": "

                      The maximum number of results to return per paginated call. The largest value that you\n can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results\n is returned. The default value is 1,000.

                      " } }, - "JobId": { - "target": "com.amazonaws.textract#JobId", + "NextToken": { + "target": "com.amazonaws.textract#PaginationToken", "traits": { - "smithy.api#documentation": "

                      A unique identifier for the text-detection job. The JobId is returned from\n StartDocumentAnalysis. A JobId value is only valid for 7 days.

                      ", - "smithy.api#required": {} + "smithy.api#documentation": "

                      If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination\n token in the response. You can use this pagination token to retrieve the next set of blocks.

                      " } } } @@ -631,10 +637,10 @@ "com.amazonaws.textract#GetDocumentAnalysisResponse": { "type": "structure", "members": { - "Blocks": { - "target": "com.amazonaws.textract#BlockList", + "DocumentMetadata": { + "target": "com.amazonaws.textract#DocumentMetadata", "traits": { - "smithy.api#documentation": "

                      The results of the text-analysis operation.

                      " + "smithy.api#documentation": "

                      Information about a document that Amazon Textract processed. DocumentMetadata is\n returned in every page of paginated responses from an Amazon Textract video operation.

                      " } }, "JobStatus": { @@ -643,10 +649,16 @@ "smithy.api#documentation": "

                      The current status of the text detection job.

                      " } }, - "AnalyzeDocumentModelVersion": { - "target": "com.amazonaws.textract#String", + "NextToken": { + "target": "com.amazonaws.textract#PaginationToken", "traits": { - "smithy.api#documentation": "

                      " + "smithy.api#documentation": "

                      If the response is truncated, Amazon Textract returns this token. You can use this token in\n the subsequent request to retrieve the next set of text detection results.

                      " + } + }, + "Blocks": { + "target": "com.amazonaws.textract#BlockList", + "traits": { + "smithy.api#documentation": "

                      The results of the text-analysis operation.

                      " } }, "Warnings": { @@ -661,16 +673,10 @@ "smithy.api#documentation": "

                      Returns if the detection job could not be completed. Contains explanation for what error occured.

                      " } }, - "NextToken": { - "target": "com.amazonaws.textract#PaginationToken", - "traits": { - "smithy.api#documentation": "

                      If the response is truncated, Amazon Textract returns this token. You can use this token in\n the subsequent request to retrieve the next set of text detection results.

                      " - } - }, - "DocumentMetadata": { - "target": "com.amazonaws.textract#DocumentMetadata", + "AnalyzeDocumentModelVersion": { + "target": "com.amazonaws.textract#String", "traits": { - "smithy.api#documentation": "

                      Information about a document that Amazon Textract processed. DocumentMetadata is\n returned in every page of paginated responses from an Amazon Textract video operation.

                      " + "smithy.api#documentation": "

                      " } } } @@ -720,45 +726,33 @@ "smithy.api#required": {} } }, - "NextToken": { - "target": "com.amazonaws.textract#PaginationToken", - "traits": { - "smithy.api#documentation": "

                      If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination\n token in the response. You can use this pagination token to retrieve the next set of blocks.

                      " - } - }, "MaxResults": { "target": "com.amazonaws.textract#MaxResults", "traits": { "smithy.api#documentation": "

                      The maximum number of results to return per paginated call. The largest value you can\n specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is\n returned. The default value is 1,000.

                      " } + }, + "NextToken": { + "target": "com.amazonaws.textract#PaginationToken", + "traits": { + "smithy.api#documentation": "

                      If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination\n token in the response. You can use this pagination token to retrieve the next set of blocks.

                      " + } } } }, "com.amazonaws.textract#GetDocumentTextDetectionResponse": { "type": "structure", "members": { - "DetectDocumentTextModelVersion": { - "target": "com.amazonaws.textract#String", - "traits": { - "smithy.api#documentation": "

                      " - } - }, "DocumentMetadata": { "target": "com.amazonaws.textract#DocumentMetadata", "traits": { "smithy.api#documentation": "

                      Information about a document that Amazon Textract processed. DocumentMetadata is\n returned in every page of paginated responses from an Amazon Textract video operation.

                      " } }, - "Warnings": { - "target": "com.amazonaws.textract#Warnings", - "traits": { - "smithy.api#documentation": "

                      A list of warnings that occurred during the text-detection operation for the\n document.

                      " - } - }, - "StatusMessage": { - "target": "com.amazonaws.textract#StatusMessage", + "JobStatus": { + "target": "com.amazonaws.textract#JobStatus", "traits": { - "smithy.api#documentation": "

                      Returns if the detection job could not be completed. Contains explanation for what error occured.

                      " + "smithy.api#documentation": "

                      The current status of the text detection job.

                      " } }, "NextToken": { @@ -767,27 +761,39 @@ "smithy.api#documentation": "

                      If the response is truncated, Amazon Textract returns this token. You can use this token in\n the subsequent request to retrieve the next set of text-detection results.

                      " } }, - "JobStatus": { - "target": "com.amazonaws.textract#JobStatus", - "traits": { - "smithy.api#documentation": "

                      The current status of the text detection job.

                      " - } - }, "Blocks": { "target": "com.amazonaws.textract#BlockList", "traits": { "smithy.api#documentation": "

                      The results of the text-detection operation.

                      " } + }, + "Warnings": { + "target": "com.amazonaws.textract#Warnings", + "traits": { + "smithy.api#documentation": "

                      A list of warnings that occurred during the text-detection operation for the\n document.

                      " + } + }, + "StatusMessage": { + "target": "com.amazonaws.textract#StatusMessage", + "traits": { + "smithy.api#documentation": "

                      Returns if the detection job could not be completed. Contains explanation for what error occured.

                      " + } + }, + "DetectDocumentTextModelVersion": { + "target": "com.amazonaws.textract#String", + "traits": { + "smithy.api#documentation": "

                      " + } } } }, "com.amazonaws.textract#HumanLoopActivationOutput": { "type": "structure", "members": { - "HumanLoopActivationConditionsEvaluationResults": { - "target": "com.amazonaws.textract#SynthesizedJsonHumanLoopActivationConditionsEvaluationResults", + "HumanLoopArn": { + "target": "com.amazonaws.textract#HumanLoopArn", "traits": { - "smithy.api#documentation": "

                      Shows the result of condition evaluations, including those conditions which activated a human review.

                      " + "smithy.api#documentation": "

                      The Amazon Resource Name (ARN) of the HumanLoop created.

                      " } }, "HumanLoopActivationReasons": { @@ -796,10 +802,10 @@ "smithy.api#documentation": "

                      Shows if and why human review was needed.

                      " } }, - "HumanLoopArn": { - "target": "com.amazonaws.textract#HumanLoopArn", + "HumanLoopActivationConditionsEvaluationResults": { + "target": "com.amazonaws.textract#SynthesizedJsonHumanLoopActivationConditionsEvaluationResults", "traits": { - "smithy.api#documentation": "

                      The Amazon Resource Name (ARN) of the HumanLoop created.

                      " + "smithy.api#documentation": "

                      Shows the result of condition evaluations, including those conditions which activated a human review.

                      " } } }, @@ -833,12 +839,6 @@ "com.amazonaws.textract#HumanLoopConfig": { "type": "structure", "members": { - "DataAttributes": { - "target": "com.amazonaws.textract#HumanLoopDataAttributes", - "traits": { - "smithy.api#documentation": "

                      Sets attributes of the input data.

                      " - } - }, "HumanLoopName": { "target": "com.amazonaws.textract#HumanLoopName", "traits": { @@ -852,6 +852,12 @@ "smithy.api#documentation": "

                      The Amazon Resource Name (ARN) of the flow definition.

                      ", "smithy.api#required": {} } + }, + "DataAttributes": { + "target": "com.amazonaws.textract#HumanLoopDataAttributes", + "traits": { + "smithy.api#documentation": "

                      Sets attributes of the input data.

                      " + } } }, "traits": { @@ -885,29 +891,29 @@ "com.amazonaws.textract#HumanLoopQuotaExceededException": { "type": "structure", "members": { - "Code": { - "target": "com.amazonaws.textract#String" - }, "ResourceType": { "target": "com.amazonaws.textract#String", "traits": { "smithy.api#documentation": "

                      The resource type.

                      " } }, - "Message": { - "target": "com.amazonaws.textract#String" - }, - "ServiceCode": { + "QuotaCode": { "target": "com.amazonaws.textract#String", "traits": { - "smithy.api#documentation": "

                      The service code.

                      " + "smithy.api#documentation": "

                      The quota code.

                      " } }, - "QuotaCode": { + "ServiceCode": { "target": "com.amazonaws.textract#String", "traits": { - "smithy.api#documentation": "

                      The quota code.

                      " + "smithy.api#documentation": "

                      The service code.

                      " } + }, + "Message": { + "target": "com.amazonaws.textract#String" + }, + "Code": { + "target": "com.amazonaws.textract#String" } }, "traits": { @@ -976,14 +982,29 @@ "smithy.api#error": "client" } }, - "com.amazonaws.textract#InvalidParameterException": { + "com.amazonaws.textract#InvalidKMSKeyException": { "type": "structure", "members": { - "Code": { + "Message": { "target": "com.amazonaws.textract#String" }, + "Code": { + "target": "com.amazonaws.textract#String" + } + }, + "traits": { + "smithy.api#documentation": "

                      Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key\n was entered incorrectly.

                      ", + "smithy.api#error": "client" + } + }, + "com.amazonaws.textract#InvalidParameterException": { + "type": "structure", + "members": { "Message": { "target": "com.amazonaws.textract#String" + }, + "Code": { + "target": "com.amazonaws.textract#String" } }, "traits": { @@ -1049,13 +1070,23 @@ "smithy.api#pattern": "[a-zA-Z0-9_.\\-:]+" } }, + "com.amazonaws.textract#KMSKeyId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" + } + }, "com.amazonaws.textract#LimitExceededException": { "type": "structure", "members": { - "Code": { + "Message": { "target": "com.amazonaws.textract#String" }, - "Message": { + "Code": { "target": "com.amazonaws.textract#String" } }, @@ -1151,16 +1182,16 @@ "com.amazonaws.textract#Point": { "type": "structure", "members": { - "Y": { + "X": { "target": "com.amazonaws.textract#Float", "traits": { - "smithy.api#documentation": "

                      The value of the Y coordinate for a point on a Polygon.

                      " + "smithy.api#documentation": "

                      The value of the X coordinate for a point on a Polygon.

                      " } }, - "X": { + "Y": { "target": "com.amazonaws.textract#Float", "traits": { - "smithy.api#documentation": "

                      The value of the X coordinate for a point on a Polygon.

                      " + "smithy.api#documentation": "

                      The value of the Y coordinate for a point on a Polygon.

                      " } } }, @@ -1257,6 +1288,12 @@ "com.amazonaws.textract#S3Object": { "type": "structure", "members": { + "Bucket": { + "target": "com.amazonaws.textract#S3Bucket", + "traits": { + "smithy.api#documentation": "

                      The name of the S3 bucket.

                      " + } + }, "Name": { "target": "com.amazonaws.textract#S3ObjectName", "traits": { @@ -1268,12 +1305,6 @@ "traits": { "smithy.api#documentation": "

                      If the bucket has versioning enabled, you can specify the object version.

                      " } - }, - "Bucket": { - "target": "com.amazonaws.textract#S3Bucket", - "traits": { - "smithy.api#documentation": "

                      The name of the S3 bucket.

                      " - } } }, "traits": { @@ -1349,6 +1380,9 @@ { "target": "com.amazonaws.textract#InternalServerError" }, + { + "target": "com.amazonaws.textract#InvalidKMSKeyException" + }, { "target": "com.amazonaws.textract#InvalidParameterException" }, @@ -1375,12 +1409,6 @@ "com.amazonaws.textract#StartDocumentAnalysisRequest": { "type": "structure", "members": { - "NotificationChannel": { - "target": "com.amazonaws.textract#NotificationChannel", - "traits": { - "smithy.api#documentation": "

                      The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the\n operation to.

                      " - } - }, "DocumentLocation": { "target": "com.amazonaws.textract#DocumentLocation", "traits": { @@ -1388,17 +1416,29 @@ "smithy.api#required": {} } }, + "FeatureTypes": { + "target": "com.amazonaws.textract#FeatureTypes", + "traits": { + "smithy.api#documentation": "

                      A list of the types of analysis to perform. Add TABLES to the list to return information\n about the tables that are detected in the input document. Add FORMS to return detected\n form data. To perform both types of analysis, add TABLES\n and FORMS to FeatureTypes. All lines and words detected in the document are\n included in the response (including text that isn't related to the value of\n FeatureTypes).

                      ", + "smithy.api#required": {} + } + }, "ClientRequestToken": { "target": "com.amazonaws.textract#ClientRequestToken", "traits": { "smithy.api#documentation": "

                      The idempotent token that you use to identify the start request. If you use the same\n token with multiple StartDocumentAnalysis requests, the same\n JobId is returned. Use ClientRequestToken to prevent the same\n job from being accidentally started more than once. For more information, see\n Calling Amazon Textract Asynchronous Operations.

                      " } }, - "FeatureTypes": { - "target": "com.amazonaws.textract#FeatureTypes", + "JobTag": { + "target": "com.amazonaws.textract#JobTag", "traits": { - "smithy.api#documentation": "

                      A list of the types of analysis to perform. Add TABLES to the list to return information\n about the tables that are detected in the input document. Add FORMS to return detected\n form data. To perform both types of analysis, add TABLES\n and FORMS to FeatureTypes. All lines and words detected in the document are\n included in the response (including text that isn't related to the value of\n FeatureTypes).

                      ", - "smithy.api#required": {} + "smithy.api#documentation": "

                      An identifier that you specify that's included in the completion notification published\n to the Amazon SNS topic. For example, you can use JobTag to identify the type of\n document that the completion notification corresponds to (such as a tax form or a\n receipt).

                      " + } + }, + "NotificationChannel": { + "target": "com.amazonaws.textract#NotificationChannel", + "traits": { + "smithy.api#documentation": "

                      The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the\n operation to.

                      " } }, "OutputConfig": { @@ -1407,10 +1447,10 @@ "smithy.api#documentation": "

                      Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save\n the results internally to be accessed by the GetDocumentAnalysis operation.

                      " } }, - "JobTag": { - "target": "com.amazonaws.textract#JobTag", + "KMSKeyId": { + "target": "com.amazonaws.textract#KMSKeyId", "traits": { - "smithy.api#documentation": "

                      An identifier that you specify that's included in the completion notification published\n to the Amazon SNS topic. For example, you can use JobTag to identify the type of\n document that the completion notification corresponds to (such as a tax form or a\n receipt).

                      " + "smithy.api#documentation": "

                      The KMS key used to encrypt the inference results. This can be \n in either Key ID or Key Alias format. When a KMS key is provided, the \n KMS key will be used for server-side encryption of the objects in the \n customer bucket. When this parameter is not enabled, the result will \n be encrypted server side,using SSE-S3.

                      " } } } @@ -1450,6 +1490,9 @@ { "target": "com.amazonaws.textract#InternalServerError" }, + { + "target": "com.amazonaws.textract#InvalidKMSKeyException" + }, { "target": "com.amazonaws.textract#InvalidParameterException" }, @@ -1476,10 +1519,11 @@ "com.amazonaws.textract#StartDocumentTextDetectionRequest": { "type": "structure", "members": { - "JobTag": { - "target": "com.amazonaws.textract#JobTag", + "DocumentLocation": { + "target": "com.amazonaws.textract#DocumentLocation", "traits": { - "smithy.api#documentation": "

                      An identifier that you specify that's included in the completion notification published\n to the Amazon SNS topic. For example, you can use JobTag to identify the type of\n document that the completion notification corresponds to (such as a tax form or a\n receipt).

                      " + "smithy.api#documentation": "

                      The location of the document to be processed.

                      ", + "smithy.api#required": {} } }, "ClientRequestToken": { @@ -1488,10 +1532,10 @@ "smithy.api#documentation": "

                      The idempotent token that's used to identify the start request. If you use the same\n token with multiple StartDocumentTextDetection requests, the same\n JobId is returned. Use ClientRequestToken to prevent the same\n job from being accidentally started more than once. For more information, see\n Calling Amazon Textract Asynchronous Operations.

                      " } }, - "OutputConfig": { - "target": "com.amazonaws.textract#OutputConfig", + "JobTag": { + "target": "com.amazonaws.textract#JobTag", "traits": { - "smithy.api#documentation": "

                      Sets if the output will go to a customer defined bucket. By default Amazon Textract will\n save the results internally to be accessed with the GetDocumentTextDetection operation.

                      " + "smithy.api#documentation": "

                      An identifier that you specify that's included in the completion notification published\n to the Amazon SNS topic. For example, you can use JobTag to identify the type of\n document that the completion notification corresponds to (such as a tax form or a\n receipt).

                      " } }, "NotificationChannel": { @@ -1500,11 +1544,16 @@ "smithy.api#documentation": "

                      The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the\n operation to.

                      " } }, - "DocumentLocation": { - "target": "com.amazonaws.textract#DocumentLocation", + "OutputConfig": { + "target": "com.amazonaws.textract#OutputConfig", "traits": { - "smithy.api#documentation": "

                      The location of the document to be processed.

                      ", - "smithy.api#required": {} + "smithy.api#documentation": "

                      Sets if the output will go to a customer defined bucket. By default Amazon Textract will\n save the results internally to be accessed with the GetDocumentTextDetection operation.

                      " + } + }, + "KMSKeyId": { + "target": "com.amazonaws.textract#KMSKeyId", + "traits": { + "smithy.api#documentation": "

                      The KMS key used to encrypt the inference results. This can be \n in either Key ID or Key Alias format. When a KMS key is provided, the \n KMS key will be used for server-side encryption of the objects in the \n customer bucket. When this parameter is not enabled, the result will \n be encrypted server side,using SSE-S3.

                      " } } } @@ -1536,6 +1585,21 @@ "smithy.api#mediaType": "application/json" } }, + "com.amazonaws.textract#TextType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "HANDWRITING", + "name": "HANDWRITING" + }, + { + "value": "PRINTED", + "name": "PRINTED" + } + ] + } + }, "com.amazonaws.textract#Textract": { "type": "service", "version": "2018-06-27", @@ -1616,17 +1680,17 @@ "com.amazonaws.textract#Warning": { "type": "structure", "members": { - "Pages": { - "target": "com.amazonaws.textract#Pages", - "traits": { - "smithy.api#documentation": "

                      A list of the pages that the warning applies to.

                      " - } - }, "ErrorCode": { "target": "com.amazonaws.textract#ErrorCode", "traits": { "smithy.api#documentation": "

                      The error code for the warning.

                      " } + }, + "Pages": { + "target": "com.amazonaws.textract#Pages", + "traits": { + "smithy.api#documentation": "

                      A list of the pages that the warning applies to.

                      " + } } }, "traits": { From 6e0fa2846084d973e2b39596bbddc41758d7db31 Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Fri, 13 Nov 2020 19:49:40 +0000 Subject: [PATCH 7/7] chore: update clients as of 11/13 --- .../models/models_0.ts | 104 +- .../protocols/Aws_query.ts | 14 + clients/client-shield/Shield.ts | 261 +++++ clients/client-shield/ShieldClient.ts | 42 + .../commands/CreateProtectionGroupCommand.ts | 82 ++ .../commands/DeleteProtectionGroupCommand.ts | 82 ++ .../DescribeAttackStatisticsCommand.ts | 82 ++ .../DescribeProtectionGroupCommand.ts | 82 ++ .../commands/ListProtectionGroupsCommand.ts | 82 ++ .../ListResourcesInProtectionGroupCommand.ts | 88 ++ .../commands/UpdateProtectionGroupCommand.ts | 82 ++ clients/client-shield/index.ts | 9 + clients/client-shield/models/models_0.ts | 822 ++++++++++--- .../ListProtectionGroupsPaginator.ts | 51 + ...ListResourcesInProtectionGroupPaginator.ts | 51 + .../client-shield/protocols/Aws_json1_1.ts | 1017 ++++++++++++++++- clients/client-textract/models/models_0.ts | 424 ++++--- .../client-textract/protocols/Aws_json1_1.ts | 42 + 18 files changed, 3030 insertions(+), 387 deletions(-) create mode 100644 clients/client-shield/commands/CreateProtectionGroupCommand.ts create mode 100644 clients/client-shield/commands/DeleteProtectionGroupCommand.ts create mode 100644 clients/client-shield/commands/DescribeAttackStatisticsCommand.ts create mode 100644 clients/client-shield/commands/DescribeProtectionGroupCommand.ts create mode 100644 clients/client-shield/commands/ListProtectionGroupsCommand.ts create mode 100644 clients/client-shield/commands/ListResourcesInProtectionGroupCommand.ts create mode 100644 clients/client-shield/commands/UpdateProtectionGroupCommand.ts create mode 100644 clients/client-shield/pagination/ListProtectionGroupsPaginator.ts create mode 100644 clients/client-shield/pagination/ListResourcesInProtectionGroupPaginator.ts diff --git a/clients/client-elastic-load-balancing-v2/models/models_0.ts b/clients/client-elastic-load-balancing-v2/models/models_0.ts index ed483061a637..0de6f8033b25 100644 --- a/clients/client-elastic-load-balancing-v2/models/models_0.ts +++ b/clients/client-elastic-load-balancing-v2/models/models_0.ts @@ -655,6 +655,11 @@ export interface LoadBalancerAddress { *

                      [Network Load Balancers] The private IPv4 address for an internal load balancer.

                      */ PrivateIPv4Address?: string; + + /** + *

                      [Network Load Balancers] The IPv6 address.

                      + */ + IPv6Address?: string; } export namespace LoadBalancerAddress { @@ -742,10 +747,11 @@ export interface CreateListenerInput { LoadBalancerArn: string | undefined; /** - *

                      The protocol for connections from clients to the load balancer. For Application Load - * Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the - * supported protocols are TCP, TLS, UDP, and TCP_UDP. You cannot specify a protocol for a - * Gateway Load Balancer.

                      + *

                      The protocol for connections from clients to the load balancer. + * For Application Load Balancers, the supported protocols are HTTP and HTTPS. + * For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. + * You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. + * You cannot specify a protocol for a Gateway Load Balancer.

                      */ Protocol?: ProtocolEnum | string; @@ -1096,6 +1102,11 @@ export interface SubnetMapping { *

                      [Network Load Balancers] The private IPv4 address for an internal load balancer.

                      */ PrivateIPv4Address?: string; + + /** + *

                      [Network Load Balancers] The IPv6 address.

                      + */ + IPv6Address?: string; } export namespace SubnetMapping { @@ -1142,10 +1153,11 @@ export interface CreateLoadBalancerInput { *

                      [Application Load Balancers on Outposts] You must specify one Outpost subnet.

                      *

                      [Application Load Balancers on Local Zones] You can specify subnets from one or more Local * Zones.

                      - *

                      [Network Load Balancers] You can specify subnets from one or more Availability Zones. - * You can specify one Elastic IP address per subnet if you need static IP addresses for - * your internet-facing load balancer. For internal load balancers, you can specify one - * private IP address per subnet from the IPv4 range of the subnet.

                      + *

                      [Network Load Balancers] You can specify subnets from one or more Availability Zones. You + * can specify one Elastic IP address per subnet if you need static IP addresses for your + * internet-facing load balancer. For internal load balancers, you can specify one private IP + * address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you + * can specify one IPv6 address per subnet.

                      *

                      [Gateway Load Balancers] You can specify subnets from one or more Availability * Zones. You cannot specify Elastic IP addresses for your subnets.

                      */ @@ -1181,10 +1193,10 @@ export interface CreateLoadBalancerInput { Type?: LoadBalancerTypeEnum | string; /** - *

                      [Application Load Balancers] The type of IP addresses used by the subnets for your load - * balancer. The possible values are ipv4 (for IPv4 addresses) and - * dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use - * ipv4.

                      + *

                      The type of IP addresses used by the subnets for your load balancer. + * The possible values are ipv4 (for IPv4 addresses) and + * dualstack (for IPv4 and IPv6 addresses). + * Internal load balancers must use ipv4.

                      */ IpAddressType?: IpAddressType | string; @@ -2659,6 +2671,12 @@ export interface LoadBalancerAttribute { * true or false. The default is true. Elastic Load Balancing * requires that message header names contain only alphanumeric characters and hyphens.

                      *
                    • + *
                    • + *

                      + * waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load balancer + * to route requests to targets if it is unable to forward the request to AWS WAF. The value is + * true or false. The default is false.

                      + *
                    • *
                    * *

                    The following attribute is supported by Network Load Balancers and Gateway Load Balancers:

                    @@ -2995,10 +3013,16 @@ export interface TargetGroupAttribute { *
                  • *
                  * - *

                  The following attribute is supported only by Network Load Balancers:

                  + *

                  The following attributes are supported only by Network Load Balancers:

                  *
                    *
                  • *

                    + * deregistration_delay.connection_termination.enabled - Indicates whether + * the load balancer terminates connections at the end of the deregistration timeout. The value is + * true or false. The default is false.

                    + *
                  • + *
                  • + *

                    * proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version 2 is enabled. * The value is true or false. The default is false.

                    *
                  • @@ -3310,6 +3334,7 @@ export interface ModifyListenerInput { *

                    The protocol for connections from clients to the load balancer. * Application Load Balancers support the HTTP and HTTPS protocols. * Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. + * You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. * You cannot specify a protocol for a Gateway Load Balancer.

                    */ Protocol?: ProtocolEnum | string; @@ -3658,9 +3683,10 @@ export interface SetIpAddressTypeInput { LoadBalancerArn: string | undefined; /** - *

                    The IP address type. The possible values are ipv4 (for IPv4 addresses) and - * dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use - * ipv4.

                    + *

                    The IP address type. The possible values are ipv4 (for IPv4 addresses) + * and dualstack (for IPv4 and IPv6 addresses). Internal load balancers must + * use ipv4. You can’t specify dualstack for a load balancer with + * a UDP or TCP_UDP listener.

                    */ IpAddressType: IpAddressType | string | undefined; } @@ -3769,23 +3795,42 @@ export interface SetSubnetsInput { LoadBalancerArn: string | undefined; /** - *

                    The IDs of the public subnets. You must specify subnets from at least two Availability Zones. - * You can specify only one subnet per Availability Zone. You must specify either subnets or - * subnet mappings.

                    + *

                    The IDs of the public subnets. You can specify only one subnet per Availability Zone. + * You must specify either subnets or subnet mappings.

                    + *

                    [Application Load Balancers] You must specify subnets from at least two Availability + * Zones.

                    + *

                    [Application Load Balancers on Outposts] You must specify one Outpost subnet.

                    + *

                    [Application Load Balancers on Local Zones] You can specify subnets from one or more Local + * Zones.

                    + *

                    [Network Load Balancers] You can specify subnets from one or more Availability + * Zones.

                    */ Subnets?: string[]; /** - *

                    The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must - * specify either subnets or subnet mappings.

                    - *

                    [Application Load Balancers] You must specify subnets from at least two Availability Zones. - * You cannot specify Elastic IP addresses for your subnets.

                    - *

                    [Network Load Balancers] You can specify subnets from one or more Availability Zones. If you - * need static IP addresses for your internet-facing load balancer, you can specify one Elastic IP - * address per subnet. For internal load balancers, you can specify one private IP address per - * subnet from the IPv4 range of the subnet.

                    + *

                    The IDs of the public subnets. You can specify only one subnet per Availability Zone. + * You must specify either subnets or subnet mappings.

                    + *

                    [Application Load Balancers] You must specify subnets from at least two Availability + * Zones. You cannot specify Elastic IP addresses for your subnets.

                    + *

                    [Application Load Balancers on Outposts] You must specify one Outpost subnet.

                    + *

                    [Application Load Balancers on Local Zones] You can specify subnets from one or more Local + * Zones.

                    + *

                    [Network Load Balancers] You can specify subnets from one or more Availability Zones. You + * can specify one Elastic IP address per subnet if you need static IP addresses for your + * internet-facing load balancer. For internal load balancers, you can specify one private IP + * address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you + * can specify one IPv6 address per subnet.

                    */ SubnetMappings?: SubnetMapping[]; + + /** + *

                    [Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. + * The possible values are ipv4 (for IPv4 addresses) and + * dualstack (for IPv4 and IPv6 addresses). + * You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener. + * Internal load balancers must use ipv4.

                    + */ + IpAddressType?: IpAddressType | string; } export namespace SetSubnetsInput { @@ -3799,6 +3844,11 @@ export interface SetSubnetsOutput { *

                    Information about the subnets.

                    */ AvailabilityZones?: AvailabilityZone[]; + + /** + *

                    [Network Load Balancers] The IP address type.

                    + */ + IpAddressType?: IpAddressType | string; } export namespace SetSubnetsOutput { diff --git a/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts b/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts index 78d21f02d420..0df3aa88d5e0 100644 --- a/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts +++ b/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts @@ -5355,6 +5355,9 @@ const serializeAws_querySetSubnetsInput = (input: SetSubnetsInput, context: __Se entries[loc] = value; }); } + if (input.IpAddressType !== undefined) { + entries["IpAddressType"] = input.IpAddressType; + } return entries; }; @@ -5391,6 +5394,9 @@ const serializeAws_querySubnetMapping = (input: SubnetMapping, context: __SerdeC if (input.PrivateIPv4Address !== undefined) { entries["PrivateIPv4Address"] = input.PrivateIPv4Address; } + if (input.IPv6Address !== undefined) { + entries["IPv6Address"] = input.IPv6Address; + } return entries; }; @@ -6622,6 +6628,7 @@ const deserializeAws_queryLoadBalancerAddress = (output: any, context: __SerdeCo IpAddress: undefined, AllocationId: undefined, PrivateIPv4Address: undefined, + IPv6Address: undefined, }; if (output["IpAddress"] !== undefined) { contents.IpAddress = output["IpAddress"]; @@ -6632,6 +6639,9 @@ const deserializeAws_queryLoadBalancerAddress = (output: any, context: __SerdeCo if (output["PrivateIPv4Address"] !== undefined) { contents.PrivateIPv4Address = output["PrivateIPv4Address"]; } + if (output["IPv6Address"] !== undefined) { + contents.IPv6Address = output["IPv6Address"]; + } return contents; }; @@ -7066,6 +7076,7 @@ const deserializeAws_querySetSecurityGroupsOutput = (output: any, context: __Ser const deserializeAws_querySetSubnetsOutput = (output: any, context: __SerdeContext): SetSubnetsOutput => { let contents: any = { AvailabilityZones: undefined, + IpAddressType: undefined, }; if (output.AvailabilityZones === "") { contents.AvailabilityZones = []; @@ -7076,6 +7087,9 @@ const deserializeAws_querySetSubnetsOutput = (output: any, context: __SerdeConte context ); } + if (output["IpAddressType"] !== undefined) { + contents.IpAddressType = output["IpAddressType"]; + } return contents; }; diff --git a/clients/client-shield/Shield.ts b/clients/client-shield/Shield.ts index 86399a634805..04a7e8df52dd 100644 --- a/clients/client-shield/Shield.ts +++ b/clients/client-shield/Shield.ts @@ -24,6 +24,11 @@ import { CreateProtectionCommandInput, CreateProtectionCommandOutput, } from "./commands/CreateProtectionCommand"; +import { + CreateProtectionGroupCommand, + CreateProtectionGroupCommandInput, + CreateProtectionGroupCommandOutput, +} from "./commands/CreateProtectionGroupCommand"; import { CreateSubscriptionCommand, CreateSubscriptionCommandInput, @@ -34,6 +39,11 @@ import { DeleteProtectionCommandInput, DeleteProtectionCommandOutput, } from "./commands/DeleteProtectionCommand"; +import { + DeleteProtectionGroupCommand, + DeleteProtectionGroupCommandInput, + DeleteProtectionGroupCommandOutput, +} from "./commands/DeleteProtectionGroupCommand"; import { DeleteSubscriptionCommand, DeleteSubscriptionCommandInput, @@ -44,6 +54,11 @@ import { DescribeAttackCommandInput, DescribeAttackCommandOutput, } from "./commands/DescribeAttackCommand"; +import { + DescribeAttackStatisticsCommand, + DescribeAttackStatisticsCommandInput, + DescribeAttackStatisticsCommandOutput, +} from "./commands/DescribeAttackStatisticsCommand"; import { DescribeDRTAccessCommand, DescribeDRTAccessCommandInput, @@ -59,6 +74,11 @@ import { DescribeProtectionCommandInput, DescribeProtectionCommandOutput, } from "./commands/DescribeProtectionCommand"; +import { + DescribeProtectionGroupCommand, + DescribeProtectionGroupCommandInput, + DescribeProtectionGroupCommandOutput, +} from "./commands/DescribeProtectionGroupCommand"; import { DescribeSubscriptionCommand, DescribeSubscriptionCommandInput, @@ -95,16 +115,31 @@ import { GetSubscriptionStateCommandOutput, } from "./commands/GetSubscriptionStateCommand"; import { ListAttacksCommand, ListAttacksCommandInput, ListAttacksCommandOutput } from "./commands/ListAttacksCommand"; +import { + ListProtectionGroupsCommand, + ListProtectionGroupsCommandInput, + ListProtectionGroupsCommandOutput, +} from "./commands/ListProtectionGroupsCommand"; import { ListProtectionsCommand, ListProtectionsCommandInput, ListProtectionsCommandOutput, } from "./commands/ListProtectionsCommand"; +import { + ListResourcesInProtectionGroupCommand, + ListResourcesInProtectionGroupCommandInput, + ListResourcesInProtectionGroupCommandOutput, +} from "./commands/ListResourcesInProtectionGroupCommand"; import { UpdateEmergencyContactSettingsCommand, UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSettingsCommandOutput, } from "./commands/UpdateEmergencyContactSettingsCommand"; +import { + UpdateProtectionGroupCommand, + UpdateProtectionGroupCommandInput, + UpdateProtectionGroupCommandOutput, +} from "./commands/UpdateProtectionGroupCommand"; import { UpdateSubscriptionCommand, UpdateSubscriptionCommandInput, @@ -294,6 +329,38 @@ export class Shield extends ShieldClient { } } + /** + *

                    Creates a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

                    + */ + public createProtectionGroup( + args: CreateProtectionGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createProtectionGroup( + args: CreateProtectionGroupCommandInput, + cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void + ): void; + public createProtectionGroup( + args: CreateProtectionGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void + ): void; + public createProtectionGroup( + args: CreateProtectionGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProtectionGroupCommandOutput) => void), + cb?: (err: any, data?: CreateProtectionGroupCommandOutput) => void + ): Promise | void { + const command = new CreateProtectionGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                    Activates AWS Shield Advanced for an account.

                    * @@ -360,6 +427,38 @@ export class Shield extends ShieldClient { } } + /** + *

                    Removes the specified protection group.

                    + */ + public deleteProtectionGroup( + args: DeleteProtectionGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteProtectionGroup( + args: DeleteProtectionGroupCommandInput, + cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void + ): void; + public deleteProtectionGroup( + args: DeleteProtectionGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void + ): void; + public deleteProtectionGroup( + args: DeleteProtectionGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProtectionGroupCommandOutput) => void), + cb?: (err: any, data?: DeleteProtectionGroupCommandOutput) => void + ): Promise | void { + const command = new DeleteProtectionGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                    Removes AWS Shield Advanced from an account. AWS Shield Advanced requires a 1-year subscription commitment. You cannot delete a subscription prior to the completion of that commitment.

                    */ @@ -424,6 +523,40 @@ export class Shield extends ShieldClient { } } + /** + *

                    Provides information about the number and type of attacks AWS Shield has detected in the last year for all resources that belong to your account, regardless of whether you've defined Shield protections for them. This operation is available to Shield customers as well as to Shield Advanced customers.

                    + *

                    The operation returns data for the time range of midnight UTC, one year ago, to midnight UTC, today. For example, if the current time is 2020-10-26 15:39:32 PDT, equal to 2020-10-26 22:39:32 UTC, then the time range for the attack data returned is from 2019-10-26 00:00:00 UTC to 2020-10-26 00:00:00 UTC.

                    + *

                    The time range indicates the period covered by the attack statistics data items.

                    + */ + public describeAttackStatistics( + args: DescribeAttackStatisticsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeAttackStatistics( + args: DescribeAttackStatisticsCommandInput, + cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void + ): void; + public describeAttackStatistics( + args: DescribeAttackStatisticsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void + ): void; + public describeAttackStatistics( + args: DescribeAttackStatisticsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAttackStatisticsCommandOutput) => void), + cb?: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void + ): Promise | void { + const command = new DescribeAttackStatisticsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                    Returns the current role and list of Amazon S3 log buckets used by the DDoS Response Team (DRT) to access your AWS account while assisting with attack mitigation.

                    */ @@ -520,6 +653,38 @@ export class Shield extends ShieldClient { } } + /** + *

                    Returns the specification for the specified protection group.

                    + */ + public describeProtectionGroup( + args: DescribeProtectionGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeProtectionGroup( + args: DescribeProtectionGroupCommandInput, + cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void + ): void; + public describeProtectionGroup( + args: DescribeProtectionGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void + ): void; + public describeProtectionGroup( + args: DescribeProtectionGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProtectionGroupCommandOutput) => void), + cb?: (err: any, data?: DescribeProtectionGroupCommandOutput) => void + ): Promise | void { + const command = new DescribeProtectionGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                    Provides details about the AWS Shield Advanced subscription for an account.

                    */ @@ -774,6 +939,38 @@ export class Shield extends ShieldClient { } } + /** + *

                    Retrieves the ProtectionGroup objects for the account.

                    + */ + public listProtectionGroups( + args: ListProtectionGroupsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listProtectionGroups( + args: ListProtectionGroupsCommandInput, + cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void + ): void; + public listProtectionGroups( + args: ListProtectionGroupsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void + ): void; + public listProtectionGroups( + args: ListProtectionGroupsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProtectionGroupsCommandOutput) => void), + cb?: (err: any, data?: ListProtectionGroupsCommandOutput) => void + ): Promise | void { + const command = new ListProtectionGroupsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                    Lists all Protection objects for the account.

                    */ @@ -806,6 +1003,38 @@ export class Shield extends ShieldClient { } } + /** + *

                    Retrieves the resources that are included in the protection group.

                    + */ + public listResourcesInProtectionGroup( + args: ListResourcesInProtectionGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listResourcesInProtectionGroup( + args: ListResourcesInProtectionGroupCommandInput, + cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void + ): void; + public listResourcesInProtectionGroup( + args: ListResourcesInProtectionGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void + ): void; + public listResourcesInProtectionGroup( + args: ListResourcesInProtectionGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void), + cb?: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void + ): Promise | void { + const command = new ListResourcesInProtectionGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                    Updates the details of the list of email addresses and phone numbers that the DDoS Response Team (DRT) can use to contact you if you have proactive engagement enabled, for escalations to the DRT and to initiate proactive customer support.

                    */ @@ -838,6 +1067,38 @@ export class Shield extends ShieldClient { } } + /** + *

                    Updates an existing protection group. A protection group is a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

                    + */ + public updateProtectionGroup( + args: UpdateProtectionGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateProtectionGroup( + args: UpdateProtectionGroupCommandInput, + cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void + ): void; + public updateProtectionGroup( + args: UpdateProtectionGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void + ): void; + public updateProtectionGroup( + args: UpdateProtectionGroupCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateProtectionGroupCommandOutput) => void), + cb?: (err: any, data?: UpdateProtectionGroupCommandOutput) => void + ): Promise | void { + const command = new UpdateProtectionGroupCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                    Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.

                    */ diff --git a/clients/client-shield/ShieldClient.ts b/clients/client-shield/ShieldClient.ts index 47619e490e5a..360624e0309b 100644 --- a/clients/client-shield/ShieldClient.ts +++ b/clients/client-shield/ShieldClient.ts @@ -12,16 +12,32 @@ import { AssociateProactiveEngagementDetailsCommandOutput, } from "./commands/AssociateProactiveEngagementDetailsCommand"; import { CreateProtectionCommandInput, CreateProtectionCommandOutput } from "./commands/CreateProtectionCommand"; +import { + CreateProtectionGroupCommandInput, + CreateProtectionGroupCommandOutput, +} from "./commands/CreateProtectionGroupCommand"; import { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from "./commands/CreateSubscriptionCommand"; import { DeleteProtectionCommandInput, DeleteProtectionCommandOutput } from "./commands/DeleteProtectionCommand"; +import { + DeleteProtectionGroupCommandInput, + DeleteProtectionGroupCommandOutput, +} from "./commands/DeleteProtectionGroupCommand"; import { DeleteSubscriptionCommandInput, DeleteSubscriptionCommandOutput } from "./commands/DeleteSubscriptionCommand"; import { DescribeAttackCommandInput, DescribeAttackCommandOutput } from "./commands/DescribeAttackCommand"; +import { + DescribeAttackStatisticsCommandInput, + DescribeAttackStatisticsCommandOutput, +} from "./commands/DescribeAttackStatisticsCommand"; import { DescribeDRTAccessCommandInput, DescribeDRTAccessCommandOutput } from "./commands/DescribeDRTAccessCommand"; import { DescribeEmergencyContactSettingsCommandInput, DescribeEmergencyContactSettingsCommandOutput, } from "./commands/DescribeEmergencyContactSettingsCommand"; import { DescribeProtectionCommandInput, DescribeProtectionCommandOutput } from "./commands/DescribeProtectionCommand"; +import { + DescribeProtectionGroupCommandInput, + DescribeProtectionGroupCommandOutput, +} from "./commands/DescribeProtectionGroupCommand"; import { DescribeSubscriptionCommandInput, DescribeSubscriptionCommandOutput, @@ -51,11 +67,23 @@ import { GetSubscriptionStateCommandOutput, } from "./commands/GetSubscriptionStateCommand"; import { ListAttacksCommandInput, ListAttacksCommandOutput } from "./commands/ListAttacksCommand"; +import { + ListProtectionGroupsCommandInput, + ListProtectionGroupsCommandOutput, +} from "./commands/ListProtectionGroupsCommand"; import { ListProtectionsCommandInput, ListProtectionsCommandOutput } from "./commands/ListProtectionsCommand"; +import { + ListResourcesInProtectionGroupCommandInput, + ListResourcesInProtectionGroupCommandOutput, +} from "./commands/ListResourcesInProtectionGroupCommand"; import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSettingsCommandOutput, } from "./commands/UpdateEmergencyContactSettingsCommand"; +import { + UpdateProtectionGroupCommandInput, + UpdateProtectionGroupCommandOutput, +} from "./commands/UpdateProtectionGroupCommand"; import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "./commands/UpdateSubscriptionCommand"; import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig"; import { @@ -112,13 +140,17 @@ export type ServiceInputTypes = | AssociateHealthCheckCommandInput | AssociateProactiveEngagementDetailsCommandInput | CreateProtectionCommandInput + | CreateProtectionGroupCommandInput | CreateSubscriptionCommandInput | DeleteProtectionCommandInput + | DeleteProtectionGroupCommandInput | DeleteSubscriptionCommandInput | DescribeAttackCommandInput + | DescribeAttackStatisticsCommandInput | DescribeDRTAccessCommandInput | DescribeEmergencyContactSettingsCommandInput | DescribeProtectionCommandInput + | DescribeProtectionGroupCommandInput | DescribeSubscriptionCommandInput | DisableProactiveEngagementCommandInput | DisassociateDRTLogBucketCommandInput @@ -127,8 +159,11 @@ export type ServiceInputTypes = | EnableProactiveEngagementCommandInput | GetSubscriptionStateCommandInput | ListAttacksCommandInput + | ListProtectionGroupsCommandInput | ListProtectionsCommandInput + | ListResourcesInProtectionGroupCommandInput | UpdateEmergencyContactSettingsCommandInput + | UpdateProtectionGroupCommandInput | UpdateSubscriptionCommandInput; export type ServiceOutputTypes = @@ -137,13 +172,17 @@ export type ServiceOutputTypes = | AssociateHealthCheckCommandOutput | AssociateProactiveEngagementDetailsCommandOutput | CreateProtectionCommandOutput + | CreateProtectionGroupCommandOutput | CreateSubscriptionCommandOutput | DeleteProtectionCommandOutput + | DeleteProtectionGroupCommandOutput | DeleteSubscriptionCommandOutput | DescribeAttackCommandOutput + | DescribeAttackStatisticsCommandOutput | DescribeDRTAccessCommandOutput | DescribeEmergencyContactSettingsCommandOutput | DescribeProtectionCommandOutput + | DescribeProtectionGroupCommandOutput | DescribeSubscriptionCommandOutput | DisableProactiveEngagementCommandOutput | DisassociateDRTLogBucketCommandOutput @@ -152,8 +191,11 @@ export type ServiceOutputTypes = | EnableProactiveEngagementCommandOutput | GetSubscriptionStateCommandOutput | ListAttacksCommandOutput + | ListProtectionGroupsCommandOutput | ListProtectionsCommandOutput + | ListResourcesInProtectionGroupCommandOutput | UpdateEmergencyContactSettingsCommandOutput + | UpdateProtectionGroupCommandOutput | UpdateSubscriptionCommandOutput; export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { diff --git a/clients/client-shield/commands/CreateProtectionGroupCommand.ts b/clients/client-shield/commands/CreateProtectionGroupCommand.ts new file mode 100644 index 000000000000..8cbb807c5910 --- /dev/null +++ b/clients/client-shield/commands/CreateProtectionGroupCommand.ts @@ -0,0 +1,82 @@ +import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient"; +import { CreateProtectionGroupRequest, CreateProtectionGroupResponse } from "../models/models_0"; +import { + deserializeAws_json1_1CreateProtectionGroupCommand, + serializeAws_json1_1CreateProtectionGroupCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type CreateProtectionGroupCommandInput = CreateProtectionGroupRequest; +export type CreateProtectionGroupCommandOutput = CreateProtectionGroupResponse & __MetadataBearer; + +export class CreateProtectionGroupCommand extends $Command< + CreateProtectionGroupCommandInput, + CreateProtectionGroupCommandOutput, + ShieldClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateProtectionGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ShieldClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ShieldClient"; + const commandName = "CreateProtectionGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateProtectionGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateProtectionGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateProtectionGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1CreateProtectionGroupCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1CreateProtectionGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-shield/commands/DeleteProtectionGroupCommand.ts b/clients/client-shield/commands/DeleteProtectionGroupCommand.ts new file mode 100644 index 000000000000..e69a022d8ab7 --- /dev/null +++ b/clients/client-shield/commands/DeleteProtectionGroupCommand.ts @@ -0,0 +1,82 @@ +import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient"; +import { DeleteProtectionGroupRequest, DeleteProtectionGroupResponse } from "../models/models_0"; +import { + deserializeAws_json1_1DeleteProtectionGroupCommand, + serializeAws_json1_1DeleteProtectionGroupCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DeleteProtectionGroupCommandInput = DeleteProtectionGroupRequest; +export type DeleteProtectionGroupCommandOutput = DeleteProtectionGroupResponse & __MetadataBearer; + +export class DeleteProtectionGroupCommand extends $Command< + DeleteProtectionGroupCommandInput, + DeleteProtectionGroupCommandOutput, + ShieldClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteProtectionGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ShieldClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ShieldClient"; + const commandName = "DeleteProtectionGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteProtectionGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteProtectionGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteProtectionGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DeleteProtectionGroupCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DeleteProtectionGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-shield/commands/DescribeAttackStatisticsCommand.ts b/clients/client-shield/commands/DescribeAttackStatisticsCommand.ts new file mode 100644 index 000000000000..b2161ca3c3b9 --- /dev/null +++ b/clients/client-shield/commands/DescribeAttackStatisticsCommand.ts @@ -0,0 +1,82 @@ +import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient"; +import { DescribeAttackStatisticsRequest, DescribeAttackStatisticsResponse } from "../models/models_0"; +import { + deserializeAws_json1_1DescribeAttackStatisticsCommand, + serializeAws_json1_1DescribeAttackStatisticsCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeAttackStatisticsCommandInput = DescribeAttackStatisticsRequest; +export type DescribeAttackStatisticsCommandOutput = DescribeAttackStatisticsResponse & __MetadataBearer; + +export class DescribeAttackStatisticsCommand extends $Command< + DescribeAttackStatisticsCommandInput, + DescribeAttackStatisticsCommandOutput, + ShieldClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeAttackStatisticsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ShieldClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ShieldClient"; + const commandName = "DescribeAttackStatisticsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeAttackStatisticsRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeAttackStatisticsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeAttackStatisticsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DescribeAttackStatisticsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DescribeAttackStatisticsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-shield/commands/DescribeProtectionGroupCommand.ts b/clients/client-shield/commands/DescribeProtectionGroupCommand.ts new file mode 100644 index 000000000000..509b5b3202e6 --- /dev/null +++ b/clients/client-shield/commands/DescribeProtectionGroupCommand.ts @@ -0,0 +1,82 @@ +import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient"; +import { DescribeProtectionGroupRequest, DescribeProtectionGroupResponse } from "../models/models_0"; +import { + deserializeAws_json1_1DescribeProtectionGroupCommand, + serializeAws_json1_1DescribeProtectionGroupCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type DescribeProtectionGroupCommandInput = DescribeProtectionGroupRequest; +export type DescribeProtectionGroupCommandOutput = DescribeProtectionGroupResponse & __MetadataBearer; + +export class DescribeProtectionGroupCommand extends $Command< + DescribeProtectionGroupCommandInput, + DescribeProtectionGroupCommandOutput, + ShieldClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeProtectionGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ShieldClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ShieldClient"; + const commandName = "DescribeProtectionGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeProtectionGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeProtectionGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeProtectionGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DescribeProtectionGroupCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DescribeProtectionGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-shield/commands/ListProtectionGroupsCommand.ts b/clients/client-shield/commands/ListProtectionGroupsCommand.ts new file mode 100644 index 000000000000..a09ff0517678 --- /dev/null +++ b/clients/client-shield/commands/ListProtectionGroupsCommand.ts @@ -0,0 +1,82 @@ +import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient"; +import { ListProtectionGroupsRequest, ListProtectionGroupsResponse } from "../models/models_0"; +import { + deserializeAws_json1_1ListProtectionGroupsCommand, + serializeAws_json1_1ListProtectionGroupsCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListProtectionGroupsCommandInput = ListProtectionGroupsRequest; +export type ListProtectionGroupsCommandOutput = ListProtectionGroupsResponse & __MetadataBearer; + +export class ListProtectionGroupsCommand extends $Command< + ListProtectionGroupsCommandInput, + ListProtectionGroupsCommandOutput, + ShieldClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListProtectionGroupsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ShieldClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ShieldClient"; + const commandName = "ListProtectionGroupsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListProtectionGroupsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListProtectionGroupsResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListProtectionGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1ListProtectionGroupsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1ListProtectionGroupsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-shield/commands/ListResourcesInProtectionGroupCommand.ts b/clients/client-shield/commands/ListResourcesInProtectionGroupCommand.ts new file mode 100644 index 000000000000..422aeaf522e5 --- /dev/null +++ b/clients/client-shield/commands/ListResourcesInProtectionGroupCommand.ts @@ -0,0 +1,88 @@ +import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient"; +import { ListResourcesInProtectionGroupRequest, ListResourcesInProtectionGroupResponse } from "../models/models_0"; +import { + deserializeAws_json1_1ListResourcesInProtectionGroupCommand, + serializeAws_json1_1ListResourcesInProtectionGroupCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type ListResourcesInProtectionGroupCommandInput = ListResourcesInProtectionGroupRequest; +export type ListResourcesInProtectionGroupCommandOutput = ListResourcesInProtectionGroupResponse & __MetadataBearer; + +export class ListResourcesInProtectionGroupCommand extends $Command< + ListResourcesInProtectionGroupCommandInput, + ListResourcesInProtectionGroupCommandOutput, + ShieldClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListResourcesInProtectionGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ShieldClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ShieldClient"; + const commandName = "ListResourcesInProtectionGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListResourcesInProtectionGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListResourcesInProtectionGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: ListResourcesInProtectionGroupCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_json1_1ListResourcesInProtectionGroupCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1ListResourcesInProtectionGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-shield/commands/UpdateProtectionGroupCommand.ts b/clients/client-shield/commands/UpdateProtectionGroupCommand.ts new file mode 100644 index 000000000000..5f62e18ac781 --- /dev/null +++ b/clients/client-shield/commands/UpdateProtectionGroupCommand.ts @@ -0,0 +1,82 @@ +import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient"; +import { UpdateProtectionGroupRequest, UpdateProtectionGroupResponse } from "../models/models_0"; +import { + deserializeAws_json1_1UpdateProtectionGroupCommand, + serializeAws_json1_1UpdateProtectionGroupCommand, +} from "../protocols/Aws_json1_1"; +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + MiddlewareStack, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +export type UpdateProtectionGroupCommandInput = UpdateProtectionGroupRequest; +export type UpdateProtectionGroupCommandOutput = UpdateProtectionGroupResponse & __MetadataBearer; + +export class UpdateProtectionGroupCommand extends $Command< + UpdateProtectionGroupCommandInput, + UpdateProtectionGroupCommandOutput, + ShieldClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateProtectionGroupCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ShieldClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ShieldClient"; + const commandName = "UpdateProtectionGroupCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateProtectionGroupRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateProtectionGroupResponse.filterSensitiveLog, + }; + + if (typeof logger.info === "function") { + logger.info({ + clientName, + commandName, + }); + } + + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateProtectionGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1UpdateProtectionGroupCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1UpdateProtectionGroupCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-shield/index.ts b/clients/client-shield/index.ts index 5fee981be847..8011b18518df 100644 --- a/clients/client-shield/index.ts +++ b/clients/client-shield/index.ts @@ -5,13 +5,17 @@ export * from "./commands/AssociateDRTRoleCommand"; export * from "./commands/AssociateHealthCheckCommand"; export * from "./commands/AssociateProactiveEngagementDetailsCommand"; export * from "./commands/CreateProtectionCommand"; +export * from "./commands/CreateProtectionGroupCommand"; export * from "./commands/CreateSubscriptionCommand"; export * from "./commands/DeleteProtectionCommand"; +export * from "./commands/DeleteProtectionGroupCommand"; export * from "./commands/DeleteSubscriptionCommand"; export * from "./commands/DescribeAttackCommand"; +export * from "./commands/DescribeAttackStatisticsCommand"; export * from "./commands/DescribeDRTAccessCommand"; export * from "./commands/DescribeEmergencyContactSettingsCommand"; export * from "./commands/DescribeProtectionCommand"; +export * from "./commands/DescribeProtectionGroupCommand"; export * from "./commands/DescribeSubscriptionCommand"; export * from "./commands/DisableProactiveEngagementCommand"; export * from "./commands/DisassociateDRTLogBucketCommand"; @@ -21,9 +25,14 @@ export * from "./commands/EnableProactiveEngagementCommand"; export * from "./commands/GetSubscriptionStateCommand"; export * from "./commands/ListAttacksCommand"; export * from "./pagination/ListAttacksPaginator"; +export * from "./commands/ListProtectionGroupsCommand"; +export * from "./pagination/ListProtectionGroupsPaginator"; export * from "./commands/ListProtectionsCommand"; export * from "./pagination/ListProtectionsPaginator"; +export * from "./commands/ListResourcesInProtectionGroupCommand"; +export * from "./pagination/ListResourcesInProtectionGroupPaginator"; export * from "./commands/UpdateEmergencyContactSettingsCommand"; +export * from "./commands/UpdateProtectionGroupCommand"; export * from "./commands/UpdateSubscriptionCommand"; export * from "./pagination/Interfaces"; export * from "./models/index"; diff --git a/clients/client-shield/models/models_0.ts b/clients/client-shield/models/models_0.ts index 0499acf98e9d..43739088b9a7 100644 --- a/clients/client-shield/models/models_0.ts +++ b/clients/client-shield/models/models_0.ts @@ -84,12 +84,47 @@ export namespace InvalidOperationException { } /** - *

                    Exception that indicates that the parameters passed to the API are invalid.

                    + *

                    Provides information about a particular parameter passed inside a request that resulted in an exception.

                    + */ +export interface ValidationExceptionField { + /** + *

                    The name of the parameter that failed validation.

                    + */ + name: string | undefined; + + /** + *

                    The message describing why the parameter failed validation.

                    + */ + message: string | undefined; +} + +export namespace ValidationExceptionField { + export const filterSensitiveLog = (obj: ValidationExceptionField): any => ({ + ...obj, + }); +} + +export enum ValidationExceptionReason { + FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED", + OTHER = "OTHER", +} + +/** + *

                    Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties.

                    */ export interface InvalidParameterException extends __SmithyException, $MetadataBearer { name: "InvalidParameterException"; $fault: "client"; message?: string; + /** + *

                    Additional information about the exception.

                    + */ + reason?: ValidationExceptionReason | string; + + /** + *

                    Fields that caused the exception.

                    + */ + fields?: ValidationExceptionField[]; } export namespace InvalidParameterException { @@ -109,8 +144,8 @@ export interface LimitsExceededException extends __SmithyException, $MetadataBea name: "LimitsExceededException"; $fault: "client"; message?: string; - Limit?: number; Type?: string; + Limit?: number; } export namespace LimitsExceededException { @@ -151,12 +186,16 @@ export namespace OptimisticLockException { } /** - *

                    Exception indicating the specified resource does not exist.

                    + *

                    Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties.

                    */ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { name: "ResourceNotFoundException"; $fault: "client"; message?: string; + /** + *

                    Type of resource.

                    + */ + resourceType?: string; } export namespace ResourceNotFoundException { @@ -189,14 +228,14 @@ export namespace AssociateDRTRoleResponse { export interface AssociateHealthCheckRequest { /** - *

                    The Amazon Resource Name (ARN) of the health check to associate with the protection.

                    + *

                    The unique identifier (ID) for the Protection object to add the health check association to.

                    */ - HealthCheckArn: string | undefined; + ProtectionId: string | undefined; /** - *

                    The unique identifier (ID) for the Protection object to add the health check association to.

                    + *

                    The Amazon Resource Name (ARN) of the health check to associate with the protection.

                    */ - ProtectionId: string | undefined; + HealthCheckArn: string | undefined; } export namespace AssociateHealthCheckRequest { @@ -218,14 +257,14 @@ export namespace AssociateHealthCheckResponse { */ export interface EmergencyContact { /** - *

                    The phone number for the contact.

                    + *

                    The email address for the contact.

                    */ - PhoneNumber?: string; + EmailAddress: string | undefined; /** - *

                    The email address for the contact.

                    + *

                    The phone number for the contact.

                    */ - EmailAddress: string | undefined; + PhoneNumber?: string; /** *

                    Additional notes regarding the contact.

                    @@ -269,14 +308,9 @@ export namespace AssociateProactiveEngagementDetailsResponse { */ export interface SummarizedCounter { /** - *

                    The unit of the counters.

                    - */ - Unit?: string; - - /** - *

                    The total of counter values for a specified time period.

                    + *

                    The counter name.

                    */ - Sum?: number; + Name?: string; /** *

                    The maximum value of the counter for a specified time period.

                    @@ -288,15 +322,20 @@ export interface SummarizedCounter { */ Average?: number; + /** + *

                    The total of counter values for a specified time period.

                    + */ + Sum?: number; + /** *

                    The number of counters for a specified time period.

                    */ N?: number; /** - *

                    The counter name.

                    + *

                    The unit of the counters.

                    */ - Name?: string; + Unit?: string; } export namespace SummarizedCounter { @@ -353,11 +392,6 @@ export enum Unit { *

                    Details of the described attack.

                    */ export interface AttackProperty { - /** - *

                    The unit of the Value of the contributions.

                    - */ - Unit?: Unit | string; - /** *

                    The type of distributed denial of service (DDoS) event that was observed. * NETWORK indicates layer 3 and layer 4 events and APPLICATION @@ -365,11 +399,6 @@ export interface AttackProperty { */ AttackLayer?: AttackLayer | string; - /** - *

                    The array of Contributor objects that includes the top five contributors to an attack.

                    - */ - TopContributors?: Contributor[]; - /** *

                    Defines the DDoS attack property information that is provided. The * WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE @@ -377,6 +406,16 @@ export interface AttackProperty { */ AttackPropertyIdentifier?: AttackPropertyIdentifier | string; + /** + *

                    The array of contributor objects that includes the top five contributors to an attack.

                    + */ + TopContributors?: Contributor[]; + + /** + *

                    The unit of the Value of the contributions.

                    + */ + Unit?: Unit | string; + /** *

                    The total contributions made to this attack by all contributors, not just the five listed in the TopContributors list.

                    */ @@ -441,14 +480,14 @@ export interface SubResourceSummary { Type?: SubResourceType | string; /** - *

                    The list of attack types and associated counters.

                    + *

                    The unique identifier (ID) of the SubResource.

                    */ - AttackVectors?: SummarizedAttackVector[]; + Id?: string; /** - *

                    The unique identifier (ID) of the SubResource.

                    + *

                    The list of attack types and associated counters.

                    */ - Id?: string; + AttackVectors?: SummarizedAttackVector[]; /** *

                    The counters that describe the details of the attack.

                    @@ -467,20 +506,24 @@ export namespace SubResourceSummary { */ export interface AttackDetail { /** - *

                    If applicable, additional detail about the resource being attacked, for example, IP - * address or URL.

                    + *

                    The unique identifier (ID) of the attack.

                    */ - SubResources?: SubResourceSummary[]; + AttackId?: string; /** - *

                    The array of AttackProperty objects.

                    + *

                    The ARN (Amazon Resource Name) of the resource that was attacked.

                    */ - AttackProperties?: AttackProperty[]; + ResourceArn?: string; /** - *

                    The ARN (Amazon Resource Name) of the resource that was attacked.

                    + *

                    If applicable, additional detail about the resource being attacked, for example, IP address or URL.

                    */ - ResourceArn?: string; + SubResources?: SubResourceSummary[]; + + /** + *

                    The time the attack started, in Unix time in seconds. For more information see timestamp.

                    + */ + StartTime?: Date; /** *

                    The time the attack ended, in Unix time in seconds. For more information see timestamp.

                    @@ -488,28 +531,86 @@ export interface AttackDetail { EndTime?: Date; /** - *

                    The unique identifier (ID) of the attack.

                    + *

                    List of counters that describe the attack for the specified time period.

                    */ - AttackId?: string; + AttackCounters?: SummarizedCounter[]; + + /** + *

                    The array of AttackProperty objects.

                    + */ + AttackProperties?: AttackProperty[]; /** *

                    List of mitigation actions taken for the attack.

                    */ Mitigations?: Mitigation[]; +} + +export namespace AttackDetail { + export const filterSensitiveLog = (obj: AttackDetail): any => ({ + ...obj, + }); +} +/** + *

                    Statistics objects for the various data types in AttackVolume.

                    + */ +export interface AttackVolumeStatistics { /** - *

                    List of counters that describe the attack for the specified time period.

                    + *

                    The maximum attack volume observed for the given unit.

                    */ - AttackCounters?: SummarizedCounter[]; + Max: number | undefined; +} +export namespace AttackVolumeStatistics { + export const filterSensitiveLog = (obj: AttackVolumeStatistics): any => ({ + ...obj, + }); +} + +/** + *

                    Information about the volume of attacks during the time period, included in an AttackStatisticsDataItem. If the accompanying AttackCount in the statistics object is zero, this setting might be empty.

                    + */ +export interface AttackVolume { /** - *

                    The time the attack started, in Unix time in seconds. For more information see timestamp.

                    + *

                    A statistics object that uses bits per second as the unit. This is included for network level attacks.

                    */ - StartTime?: Date; + BitsPerSecond?: AttackVolumeStatistics; + + /** + *

                    A statistics object that uses packets per second as the unit. This is included for network level attacks.

                    + */ + PacketsPerSecond?: AttackVolumeStatistics; + + /** + *

                    A statistics object that uses requests per second as the unit. This is included for application level attacks, and is only available for accounts that are subscribed to Shield Advanced.

                    + */ + RequestsPerSecond?: AttackVolumeStatistics; } -export namespace AttackDetail { - export const filterSensitiveLog = (obj: AttackDetail): any => ({ +export namespace AttackVolume { + export const filterSensitiveLog = (obj: AttackVolume): any => ({ + ...obj, + }); +} + +/** + *

                    A single attack statistics data record. This is returned by DescribeAttackStatistics along with a time range indicating the time period that the attack statistics apply to.

                    + */ +export interface AttackStatisticsDataItem { + /** + *

                    Information about the volume of attacks during the time period. If the accompanying AttackCount is zero, this setting might be empty.

                    + */ + AttackVolume?: AttackVolume; + + /** + *

                    The number of attacks detected during the time period. This is always present, but might be zero.

                    + */ + AttackCount: number | undefined; +} + +export namespace AttackStatisticsDataItem { + export const filterSensitiveLog = (obj: AttackStatisticsDataItem): any => ({ ...obj, }); } @@ -596,24 +697,24 @@ export interface AttackSummary { AttackId?: string; /** - *

                    The end time of the attack, in Unix time in seconds. For more information see timestamp.

                    + *

                    The ARN (Amazon Resource Name) of the resource that was attacked.

                    */ - EndTime?: Date; + ResourceArn?: string; /** - *

                    The list of attacks for a specified time period.

                    + *

                    The start time of the attack, in Unix time in seconds. For more information see timestamp.

                    */ - AttackVectors?: AttackVectorDescription[]; + StartTime?: Date; /** - *

                    The ARN (Amazon Resource Name) of the resource that was attacked.

                    + *

                    The end time of the attack, in Unix time in seconds. For more information see timestamp.

                    */ - ResourceArn?: string; + EndTime?: Date; /** - *

                    The start time of the attack, in Unix time in seconds. For more information see timestamp.

                    + *

                    The list of attacks for a specified time period.

                    */ - StartTime?: Date; + AttackVectors?: AttackVectorDescription[]; } export namespace AttackSummary { @@ -628,6 +729,11 @@ export enum AutoRenew { } export interface CreateProtectionRequest { + /** + *

                    Friendly name for the Protection you are creating.

                    + */ + Name: string | undefined; + /** *

                    The ARN (Amazon Resource Name) of the resource to be protected.

                    *

                    The ARN should be in one of the following formats:

                    @@ -665,11 +771,6 @@ export interface CreateProtectionRequest { *
                  */ ResourceArn: string | undefined; - - /** - *

                  Friendly name for the Protection you are creating.

                  - */ - Name: string | undefined; } export namespace CreateProtectionRequest { @@ -707,12 +808,16 @@ export namespace InvalidResourceException { } /** - *

                  Exception indicating the specified resource already exists.

                  + *

                  Exception indicating the specified resource already exists. If available, this exception includes details in additional properties.

                  */ export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer { name: "ResourceAlreadyExistsException"; $fault: "client"; message?: string; + /** + *

                  The type of resource that already exists.

                  + */ + resourceType?: string; } export namespace ResourceAlreadyExistsException { @@ -721,6 +826,80 @@ export namespace ResourceAlreadyExistsException { }); } +export enum ProtectionGroupAggregation { + MAX = "MAX", + MEAN = "MEAN", + SUM = "SUM", +} + +export enum ProtectionGroupPattern { + ALL = "ALL", + ARBITRARY = "ARBITRARY", + BY_RESOURCE_TYPE = "BY_RESOURCE_TYPE", +} + +export enum ProtectedResourceType { + APPLICATION_LOAD_BALANCER = "APPLICATION_LOAD_BALANCER", + CLASSIC_LOAD_BALANCER = "CLASSIC_LOAD_BALANCER", + CLOUDFRONT_DISTRIBUTION = "CLOUDFRONT_DISTRIBUTION", + ELASTIC_IP_ALLOCATION = "ELASTIC_IP_ALLOCATION", + GLOBAL_ACCELERATOR = "GLOBAL_ACCELERATOR", + ROUTE_53_HOSTED_ZONE = "ROUTE_53_HOSTED_ZONE", +} + +export interface CreateProtectionGroupRequest { + /** + *

                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                  + */ + ProtectionGroupId: string | undefined; + + /** + *

                  Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.

                  + *
                    + *
                  • + *

                    Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

                    + *
                  • + *
                  • + *

                    Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

                    + *
                  • + *
                  • + *

                    Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.

                    + *
                  • + *
                  + */ + Aggregation: ProtectionGroupAggregation | string | undefined; + + /** + *

                  The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

                  + */ + Pattern: ProtectionGroupPattern | string | undefined; + + /** + *

                  The resource type to include in the protection group. All protected resources of this type are included in the protection group. Newly protected resources of this type are automatically added to the group. + * You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

                  + */ + ResourceType?: ProtectedResourceType | string; + + /** + *

                  The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

                  + */ + Members?: string[]; +} + +export namespace CreateProtectionGroupRequest { + export const filterSensitiveLog = (obj: CreateProtectionGroupRequest): any => ({ + ...obj, + }); +} + +export interface CreateProtectionGroupResponse {} + +export namespace CreateProtectionGroupResponse { + export const filterSensitiveLog = (obj: CreateProtectionGroupResponse): any => ({ + ...obj, + }); +} + export interface CreateSubscriptionRequest {} export namespace CreateSubscriptionRequest { @@ -759,6 +938,27 @@ export namespace DeleteProtectionResponse { }); } +export interface DeleteProtectionGroupRequest { + /** + *

                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                  + */ + ProtectionGroupId: string | undefined; +} + +export namespace DeleteProtectionGroupRequest { + export const filterSensitiveLog = (obj: DeleteProtectionGroupRequest): any => ({ + ...obj, + }); +} + +export interface DeleteProtectionGroupResponse {} + +export namespace DeleteProtectionGroupResponse { + export const filterSensitiveLog = (obj: DeleteProtectionGroupResponse): any => ({ + ...obj, + }); +} + export interface DeleteSubscriptionRequest {} export namespace DeleteSubscriptionRequest { @@ -816,39 +1016,86 @@ export namespace DescribeAttackResponse { }); } -export interface DescribeDRTAccessRequest {} +export interface DescribeAttackStatisticsRequest {} -export namespace DescribeDRTAccessRequest { - export const filterSensitiveLog = (obj: DescribeDRTAccessRequest): any => ({ +export namespace DescribeAttackStatisticsRequest { + export const filterSensitiveLog = (obj: DescribeAttackStatisticsRequest): any => ({ ...obj, }); } -export interface DescribeDRTAccessResponse { +/** + *

                  The time range.

                  + */ +export interface TimeRange { /** - *

                  The Amazon Resource Name (ARN) of the role the DRT used to access your AWS account.

                  + *

                  The start time, in Unix time in seconds. For more information see timestamp.

                  */ - RoleArn?: string; + FromInclusive?: Date; /** - *

                  The list of Amazon S3 buckets accessed by the DRT.

                  + *

                  The end time, in Unix time in seconds. For more information see timestamp.

                  */ - LogBucketList?: string[]; + ToExclusive?: Date; } -export namespace DescribeDRTAccessResponse { - export const filterSensitiveLog = (obj: DescribeDRTAccessResponse): any => ({ +export namespace TimeRange { + export const filterSensitiveLog = (obj: TimeRange): any => ({ ...obj, }); } -export interface DescribeEmergencyContactSettingsRequest {} +export interface DescribeAttackStatisticsResponse { + /** + *

                  The time range.

                  + */ + TimeRange: TimeRange | undefined; -export namespace DescribeEmergencyContactSettingsRequest { - export const filterSensitiveLog = (obj: DescribeEmergencyContactSettingsRequest): any => ({ - ...obj, - }); -} + /** + *

                  The data that describes the attacks detected during the time period.

                  + */ + DataItems: AttackStatisticsDataItem[] | undefined; +} + +export namespace DescribeAttackStatisticsResponse { + export const filterSensitiveLog = (obj: DescribeAttackStatisticsResponse): any => ({ + ...obj, + }); +} + +export interface DescribeDRTAccessRequest {} + +export namespace DescribeDRTAccessRequest { + export const filterSensitiveLog = (obj: DescribeDRTAccessRequest): any => ({ + ...obj, + }); +} + +export interface DescribeDRTAccessResponse { + /** + *

                  The Amazon Resource Name (ARN) of the role the DRT used to access your AWS account.

                  + */ + RoleArn?: string; + + /** + *

                  The list of Amazon S3 buckets accessed by the DRT.

                  + */ + LogBucketList?: string[]; +} + +export namespace DescribeDRTAccessResponse { + export const filterSensitiveLog = (obj: DescribeDRTAccessResponse): any => ({ + ...obj, + }); +} + +export interface DescribeEmergencyContactSettingsRequest {} + +export namespace DescribeEmergencyContactSettingsRequest { + export const filterSensitiveLog = (obj: DescribeEmergencyContactSettingsRequest): any => ({ + ...obj, + }); +} export interface DescribeEmergencyContactSettingsResponse { /** @@ -865,16 +1112,16 @@ export namespace DescribeEmergencyContactSettingsResponse { export interface DescribeProtectionRequest { /** - *

                  The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is + *

                  The unique identifier (ID) for the Protection object that is * described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.

                  */ - ResourceArn?: string; + ProtectionId?: string; /** - *

                  The unique identifier (ID) for the Protection object that is + *

                  The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is * described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.

                  */ - ProtectionId?: string; + ResourceArn?: string; } export namespace DescribeProtectionRequest { @@ -888,24 +1135,24 @@ export namespace DescribeProtectionRequest { */ export interface Protection { /** - *

                  The unique identifier (ID) for the Route 53 health check that's associated with the protection.

                  + *

                  The unique identifier (ID) of the protection.

                  */ - HealthCheckIds?: string[]; + Id?: string; /** - *

                  The ARN (Amazon Resource Name) of the AWS resource that is protected.

                  + *

                  The name of the protection. For example, My CloudFront distributions.

                  */ - ResourceArn?: string; + Name?: string; /** - *

                  The friendly name of the protection. For example, My CloudFront distributions.

                  + *

                  The ARN (Amazon Resource Name) of the AWS resource that is protected.

                  */ - Name?: string; + ResourceArn?: string; /** - *

                  The unique identifier (ID) of the protection.

                  + *

                  The unique identifier (ID) for the Route 53 health check that's associated with the protection.

                  */ - Id?: string; + HealthCheckIds?: string[]; } export namespace Protection { @@ -927,6 +1174,80 @@ export namespace DescribeProtectionResponse { }); } +export interface DescribeProtectionGroupRequest { + /** + *

                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                  + */ + ProtectionGroupId: string | undefined; +} + +export namespace DescribeProtectionGroupRequest { + export const filterSensitiveLog = (obj: DescribeProtectionGroupRequest): any => ({ + ...obj, + }); +} + +/** + *

                  A grouping of protected resources that you and AWS Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

                  + */ +export interface ProtectionGroup { + /** + *

                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                  + */ + ProtectionGroupId: string | undefined; + + /** + *

                  Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.

                  + *
                    + *
                  • + *

                    Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

                    + *
                  • + *
                  • + *

                    Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

                    + *
                  • + *
                  • + *

                    Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.

                    + *
                  • + *
                  + */ + Aggregation: ProtectionGroupAggregation | string | undefined; + + /** + *

                  The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

                  + */ + Pattern: ProtectionGroupPattern | string | undefined; + + /** + *

                  The resource type to include in the protection group. All protected resources of this type are included in the protection group. + * You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

                  + */ + ResourceType?: ProtectedResourceType | string; + + /** + *

                  The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

                  + */ + Members: string[] | undefined; +} + +export namespace ProtectionGroup { + export const filterSensitiveLog = (obj: ProtectionGroup): any => ({ + ...obj, + }); +} + +export interface DescribeProtectionGroupResponse { + /** + *

                  A grouping of protected resources that you and AWS Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

                  + */ + ProtectionGroup: ProtectionGroup | undefined; +} + +export namespace DescribeProtectionGroupResponse { + export const filterSensitiveLog = (obj: DescribeProtectionGroupResponse): any => ({ + ...obj, + }); +} + export interface DescribeSubscriptionRequest {} export namespace DescribeSubscriptionRequest { @@ -940,14 +1261,14 @@ export namespace DescribeSubscriptionRequest { */ export interface Limit { /** - *

                  The maximum number of protections that can be created for the specified Type.

                  + *

                  The type of protection.

                  */ - Max?: number; + Type?: string; /** - *

                  The type of protection.

                  + *

                  The maximum number of protections that can be created for the specified Type.

                  */ - Type?: string; + Max?: number; } export namespace Limit { @@ -962,6 +1283,96 @@ export enum ProactiveEngagementStatus { PENDING = "PENDING", } +/** + *

                  Limits settings on protection groups with arbitrary pattern type.

                  + */ +export interface ProtectionGroupArbitraryPatternLimits { + /** + *

                  The maximum number of resources you can specify for a single arbitrary pattern in a protection group.

                  + */ + MaxMembers: number | undefined; +} + +export namespace ProtectionGroupArbitraryPatternLimits { + export const filterSensitiveLog = (obj: ProtectionGroupArbitraryPatternLimits): any => ({ + ...obj, + }); +} + +/** + *

                  Limits settings by pattern type in the protection groups for your subscription.

                  + */ +export interface ProtectionGroupPatternTypeLimits { + /** + *

                  Limits settings on protection groups with arbitrary pattern type.

                  + */ + ArbitraryPatternLimits: ProtectionGroupArbitraryPatternLimits | undefined; +} + +export namespace ProtectionGroupPatternTypeLimits { + export const filterSensitiveLog = (obj: ProtectionGroupPatternTypeLimits): any => ({ + ...obj, + }); +} + +/** + *

                  Limits settings on protection groups for your subscription.

                  + */ +export interface ProtectionGroupLimits { + /** + *

                  The maximum number of protection groups that you can have at one time.

                  + */ + MaxProtectionGroups: number | undefined; + + /** + *

                  Limits settings by pattern type in the protection groups for your subscription.

                  + */ + PatternTypeLimits: ProtectionGroupPatternTypeLimits | undefined; +} + +export namespace ProtectionGroupLimits { + export const filterSensitiveLog = (obj: ProtectionGroupLimits): any => ({ + ...obj, + }); +} + +/** + *

                  Limits settings on protections for your subscription.

                  + */ +export interface ProtectionLimits { + /** + *

                  The maximum number of resource types that you can specify in a protection.

                  + */ + ProtectedResourceTypeLimits: Limit[] | undefined; +} + +export namespace ProtectionLimits { + export const filterSensitiveLog = (obj: ProtectionLimits): any => ({ + ...obj, + }); +} + +/** + *

                  Limits settings for your subscription.

                  + */ +export interface SubscriptionLimits { + /** + *

                  Limits settings on protections for your subscription.

                  + */ + ProtectionLimits: ProtectionLimits | undefined; + + /** + *

                  Limits settings on protection groups for your subscription.

                  + */ + ProtectionGroupLimits: ProtectionGroupLimits | undefined; +} + +export namespace SubscriptionLimits { + export const filterSensitiveLog = (obj: SubscriptionLimits): any => ({ + ...obj, + }); +} + /** *

                  Information about the AWS Shield Advanced subscription for an account.

                  */ @@ -972,17 +1383,20 @@ export interface Subscription { StartTime?: Date; /** - *

                  If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.

                  - *

                  When you initally create a subscription, AutoRenew is set to ENABLED. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.

                  + *

                  The date and time your subscription will end.

                  */ - AutoRenew?: AutoRenew | string; + EndTime?: Date; /** - *

                  If ENABLED, the DDoS Response Team (DRT) will use email and phone to notify contacts about escalations to the DRT and to initiate proactive customer support.

                  - *

                  If PENDING, you have requested proactive engagement and the request is pending. The status changes to ENABLED when your request is fully processed.

                  - *

                  If DISABLED, the DRT will not proactively notify contacts about escalations or to initiate proactive customer support.

                  + *

                  The length, in seconds, of the AWS Shield Advanced subscription for the account.

                  */ - ProactiveEngagementStatus?: ProactiveEngagementStatus | string; + TimeCommitmentInSeconds?: number; + + /** + *

                  If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.

                  + *

                  When you initally create a subscription, AutoRenew is set to ENABLED. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.

                  + */ + AutoRenew?: AutoRenew | string; /** *

                  Specifies how many protections of a given type you can create.

                  @@ -990,14 +1404,16 @@ export interface Subscription { Limits?: Limit[]; /** - *

                  The date and time your subscription will end.

                  + *

                  If ENABLED, the DDoS Response Team (DRT) will use email and phone to notify contacts about escalations to the DRT and to initiate proactive customer support.

                  + *

                  If PENDING, you have requested proactive engagement and the request is pending. The status changes to ENABLED when your request is fully processed.

                  + *

                  If DISABLED, the DRT will not proactively notify contacts about escalations or to initiate proactive customer support.

                  */ - EndTime?: Date; + ProactiveEngagementStatus?: ProactiveEngagementStatus | string; /** - *

                  The length, in seconds, of the AWS Shield Advanced subscription for the account.

                  + *

                  Limits settings for your subscription.

                  */ - TimeCommitmentInSeconds?: number; + SubscriptionLimits: SubscriptionLimits | undefined; } export namespace Subscription { @@ -1074,14 +1490,14 @@ export namespace DisassociateDRTRoleResponse { export interface DisassociateHealthCheckRequest { /** - *

                  The Amazon Resource Name (ARN) of the health check that is associated with the protection.

                  + *

                  The unique identifier (ID) for the Protection object to remove the health check association from.

                  */ - HealthCheckArn: string | undefined; + ProtectionId: string | undefined; /** - *

                  The unique identifier (ID) for the Protection object to remove the health check association from.

                  + *

                  The Amazon Resource Name (ARN) of the health check that is associated with the protection.

                  */ - ProtectionId: string | undefined; + HealthCheckArn: string | undefined; } export namespace DisassociateHealthCheckRequest { @@ -1140,54 +1556,34 @@ export namespace GetSubscriptionStateResponse { }); } -/** - *

                  The time range.

                  - */ -export interface TimeRange { - /** - *

                  The end time, in Unix time in seconds. For more information see timestamp.

                  - */ - ToExclusive?: Date; - - /** - *

                  The start time, in Unix time in seconds. For more information see timestamp.

                  - */ - FromInclusive?: Date; -} - -export namespace TimeRange { - export const filterSensitiveLog = (obj: TimeRange): any => ({ - ...obj, - }); -} - export interface ListAttacksRequest { - /** - *

                  The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. Pass null if this is the first call.

                  - */ - NextToken?: string; - /** *

                  The ARN (Amazon Resource Name) of the resource that was attacked. If this is left * blank, all applicable resources for this account will be included.

                  */ ResourceArns?: string[]; + /** + *

                  The start of the time period for the attacks. This is a timestamp type. The sample request above indicates a number type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.

                  + */ + StartTime?: TimeRange; + /** *

                  The end of the time period for the attacks. This is a timestamp type. The sample request above indicates a number type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.

                  */ EndTime?: TimeRange; /** - *

                  The maximum number of AttackSummary objects to be returned. If this is left blank, the first 20 results will be returned.

                  - *

                  This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the number of AttackSummary objects returned could be less than MaxResults, even if there are still more AttackSummary objects yet to return. If there are more AttackSummary objects to return, AWS WAF will always also return a NextToken.

                  + *

                  The ListAttacksRequest.NextMarker value from a previous call to ListAttacksRequest. Pass null if this is the first call.

                  */ - MaxResults?: number; + NextToken?: string; /** - *

                  The start of the time period for the attacks. This is a timestamp type. The sample request above indicates a number type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.

                  + *

                  The maximum number of AttackSummary objects to return. If you leave this blank, + * Shield Advanced returns the first 20 results.

                  + *

                  This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

                  */ - StartTime?: TimeRange; + MaxResults?: number; } export namespace ListAttacksRequest { @@ -1207,7 +1603,7 @@ export interface ListAttacksResponse { * If not null, more results are available. Pass this value for the NextMarker * parameter in a subsequent call to ListAttacks to retrieve the next set of * items.

                  - *

                  AWS WAF might return the list of AttackSummary objects in batches smaller than the number specified by MaxResults. If there are more AttackSummary objects to return, AWS WAF will always also return a NextToken.

                  + *

                  Shield Advanced might return the list of AttackSummary objects in batches smaller than the number specified by MaxResults. If there are more attack summary objects to return, Shield Advanced will always also return a NextToken.

                  */ NextToken?: string; } @@ -1233,6 +1629,44 @@ export namespace InvalidPaginationTokenException { }); } +export interface ListProtectionGroupsRequest { + /** + *

                  The next token value from a previous call to ListProtectionGroups. Pass null if this is the first call.

                  + */ + NextToken?: string; + + /** + *

                  The maximum number of ProtectionGroup objects to return. If you leave this blank, + * Shield Advanced returns the first 20 results.

                  + *

                  This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

                  + */ + MaxResults?: number; +} + +export namespace ListProtectionGroupsRequest { + export const filterSensitiveLog = (obj: ListProtectionGroupsRequest): any => ({ + ...obj, + }); +} + +export interface ListProtectionGroupsResponse { + /** + *

                  + */ + ProtectionGroups: ProtectionGroup[] | undefined; + + /** + *

                  If you specify a value for MaxResults and you have more protection groups than the value of MaxResults, AWS Shield Advanced returns this token that you can use in your next request, to get the next batch of objects.

                  + */ + NextToken?: string; +} + +export namespace ListProtectionGroupsResponse { + export const filterSensitiveLog = (obj: ListProtectionGroupsResponse): any => ({ + ...obj, + }); +} + export interface ListProtectionsRequest { /** *

                  The ListProtectionsRequest.NextToken value from a previous call to ListProtections. Pass null if this is the first call.

                  @@ -1240,9 +1674,9 @@ export interface ListProtectionsRequest { NextToken?: string; /** - *

                  The maximum number of Protection objects to be returned. If this is - * left blank the first 20 results will be returned.

                  - *

                  This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the number of Protection objects returned could be less than MaxResults, even if there are still more Protection objects yet to return. If there are more Protection objects to return, AWS WAF will always also return a NextToken.

                  + *

                  The maximum number of Protection objects to return. If you leave this blank, + * Shield Advanced returns the first 20 results.

                  + *

                  This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

                  */ MaxResults?: number; } @@ -1261,7 +1695,7 @@ export interface ListProtectionsResponse { /** *

                  If you specify a value for MaxResults and you have more Protections than the value of MaxResults, AWS Shield Advanced returns a NextToken value in the response that allows you to list another group of Protections. For the second and subsequent ListProtections requests, specify the value of NextToken from the previous response to get information about another batch of Protections.

                  - *

                  AWS WAF might return the list of Protection objects in batches smaller than the number specified by MaxResults. If there are more Protection objects to return, AWS WAF will always also return a NextToken.

                  + *

                  Shield Advanced might return the list of Protection objects in batches smaller than the number specified by MaxResults. If there are more Protection objects to return, Shield Advanced will always also return a NextToken.

                  */ NextToken?: string; } @@ -1272,6 +1706,49 @@ export namespace ListProtectionsResponse { }); } +export interface ListResourcesInProtectionGroupRequest { + /** + *

                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                  + */ + ProtectionGroupId: string | undefined; + + /** + *

                  The next token value from a previous call to ListResourcesInProtectionGroup. Pass null if this is the first call.

                  + */ + NextToken?: string; + + /** + *

                  The maximum number of resource ARN objects to return. If you leave this blank, + * Shield Advanced returns the first 20 results.

                  + *

                  This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

                  + */ + MaxResults?: number; +} + +export namespace ListResourcesInProtectionGroupRequest { + export const filterSensitiveLog = (obj: ListResourcesInProtectionGroupRequest): any => ({ + ...obj, + }); +} + +export interface ListResourcesInProtectionGroupResponse { + /** + *

                  The Amazon Resource Names (ARNs) of the resources that are included in the protection group.

                  + */ + ResourceArns: string[] | undefined; + + /** + *

                  If you specify a value for MaxResults and you have more resources in the protection group than the value of MaxResults, AWS Shield Advanced returns this token that you can use in your next request, to get the next batch of objects.

                  + */ + NextToken?: string; +} + +export namespace ListResourcesInProtectionGroupResponse { + export const filterSensitiveLog = (obj: ListResourcesInProtectionGroupResponse): any => ({ + ...obj, + }); +} + export interface UpdateEmergencyContactSettingsRequest { /** *

                  A list of email addresses and phone numbers that the DDoS Response Team (DRT) can use to contact you if you have proactive engagement enabled, for escalations to the DRT and to initiate proactive customer support.

                  @@ -1294,6 +1771,59 @@ export namespace UpdateEmergencyContactSettingsResponse { }); } +export interface UpdateProtectionGroupRequest { + /** + *

                  The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.

                  + */ + ProtectionGroupId: string | undefined; + + /** + *

                  Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.

                  + *
                    + *
                  • + *

                    Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.

                    + *
                  • + *
                  • + *

                    Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.

                    + *
                  • + *
                  • + *

                    Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.

                    + *
                  • + *
                  + */ + Aggregation: ProtectionGroupAggregation | string | undefined; + + /** + *

                  The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.

                  + */ + Pattern: ProtectionGroupPattern | string | undefined; + + /** + *

                  The resource type to include in the protection group. All protected resources of this type are included in the protection group. + * You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

                  + */ + ResourceType?: ProtectedResourceType | string; + + /** + *

                  The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern to ARBITRARY and you must not set it for any other Pattern setting.

                  + */ + Members?: string[]; +} + +export namespace UpdateProtectionGroupRequest { + export const filterSensitiveLog = (obj: UpdateProtectionGroupRequest): any => ({ + ...obj, + }); +} + +export interface UpdateProtectionGroupResponse {} + +export namespace UpdateProtectionGroupResponse { + export const filterSensitiveLog = (obj: UpdateProtectionGroupResponse): any => ({ + ...obj, + }); +} + export interface UpdateSubscriptionRequest { /** *

                  When you initally create a subscription, AutoRenew is set to ENABLED. If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.

                  diff --git a/clients/client-shield/pagination/ListProtectionGroupsPaginator.ts b/clients/client-shield/pagination/ListProtectionGroupsPaginator.ts new file mode 100644 index 000000000000..539f15179061 --- /dev/null +++ b/clients/client-shield/pagination/ListProtectionGroupsPaginator.ts @@ -0,0 +1,51 @@ +import { Shield } from "../Shield"; +import { ShieldClient } from "../ShieldClient"; +import { + ListProtectionGroupsCommand, + ListProtectionGroupsCommandInput, + ListProtectionGroupsCommandOutput, +} from "../commands/ListProtectionGroupsCommand"; +import { ShieldPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: ShieldClient, + input: ListProtectionGroupsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListProtectionGroupsCommand(input), ...args); +}; +const makePagedRequest = async ( + client: Shield, + input: ListProtectionGroupsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listProtectionGroups(input, ...args); +}; +export async function* listProtectionGroupsPaginate( + config: ShieldPaginationConfiguration, + input: ListProtectionGroupsCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListProtectionGroupsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof Shield) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ShieldClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Shield | ShieldClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-shield/pagination/ListResourcesInProtectionGroupPaginator.ts b/clients/client-shield/pagination/ListResourcesInProtectionGroupPaginator.ts new file mode 100644 index 000000000000..6629a2b12896 --- /dev/null +++ b/clients/client-shield/pagination/ListResourcesInProtectionGroupPaginator.ts @@ -0,0 +1,51 @@ +import { Shield } from "../Shield"; +import { ShieldClient } from "../ShieldClient"; +import { + ListResourcesInProtectionGroupCommand, + ListResourcesInProtectionGroupCommandInput, + ListResourcesInProtectionGroupCommandOutput, +} from "../commands/ListResourcesInProtectionGroupCommand"; +import { ShieldPaginationConfiguration } from "./Interfaces"; +import { Paginator } from "@aws-sdk/types"; + +const makePagedClientRequest = async ( + client: ShieldClient, + input: ListResourcesInProtectionGroupCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListResourcesInProtectionGroupCommand(input), ...args); +}; +const makePagedRequest = async ( + client: Shield, + input: ListResourcesInProtectionGroupCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listResourcesInProtectionGroup(input, ...args); +}; +export async function* listResourcesInProtectionGroupPaginate( + config: ShieldPaginationConfiguration, + input: ListResourcesInProtectionGroupCommandInput, + ...additionalArguments: any +): Paginator { + let token: string | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListResourcesInProtectionGroupCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof Shield) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ShieldClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Shield | ShieldClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-shield/protocols/Aws_json1_1.ts b/clients/client-shield/protocols/Aws_json1_1.ts index 7defe0355f68..e46b4d5b7462 100644 --- a/clients/client-shield/protocols/Aws_json1_1.ts +++ b/clients/client-shield/protocols/Aws_json1_1.ts @@ -12,16 +12,32 @@ import { AssociateProactiveEngagementDetailsCommandOutput, } from "../commands/AssociateProactiveEngagementDetailsCommand"; import { CreateProtectionCommandInput, CreateProtectionCommandOutput } from "../commands/CreateProtectionCommand"; +import { + CreateProtectionGroupCommandInput, + CreateProtectionGroupCommandOutput, +} from "../commands/CreateProtectionGroupCommand"; import { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from "../commands/CreateSubscriptionCommand"; import { DeleteProtectionCommandInput, DeleteProtectionCommandOutput } from "../commands/DeleteProtectionCommand"; +import { + DeleteProtectionGroupCommandInput, + DeleteProtectionGroupCommandOutput, +} from "../commands/DeleteProtectionGroupCommand"; import { DeleteSubscriptionCommandInput, DeleteSubscriptionCommandOutput } from "../commands/DeleteSubscriptionCommand"; import { DescribeAttackCommandInput, DescribeAttackCommandOutput } from "../commands/DescribeAttackCommand"; +import { + DescribeAttackStatisticsCommandInput, + DescribeAttackStatisticsCommandOutput, +} from "../commands/DescribeAttackStatisticsCommand"; import { DescribeDRTAccessCommandInput, DescribeDRTAccessCommandOutput } from "../commands/DescribeDRTAccessCommand"; import { DescribeEmergencyContactSettingsCommandInput, DescribeEmergencyContactSettingsCommandOutput, } from "../commands/DescribeEmergencyContactSettingsCommand"; import { DescribeProtectionCommandInput, DescribeProtectionCommandOutput } from "../commands/DescribeProtectionCommand"; +import { + DescribeProtectionGroupCommandInput, + DescribeProtectionGroupCommandOutput, +} from "../commands/DescribeProtectionGroupCommand"; import { DescribeSubscriptionCommandInput, DescribeSubscriptionCommandOutput, @@ -51,11 +67,23 @@ import { GetSubscriptionStateCommandOutput, } from "../commands/GetSubscriptionStateCommand"; import { ListAttacksCommandInput, ListAttacksCommandOutput } from "../commands/ListAttacksCommand"; +import { + ListProtectionGroupsCommandInput, + ListProtectionGroupsCommandOutput, +} from "../commands/ListProtectionGroupsCommand"; import { ListProtectionsCommandInput, ListProtectionsCommandOutput } from "../commands/ListProtectionsCommand"; +import { + ListResourcesInProtectionGroupCommandInput, + ListResourcesInProtectionGroupCommandOutput, +} from "../commands/ListResourcesInProtectionGroupCommand"; import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSettingsCommandOutput, } from "../commands/UpdateEmergencyContactSettingsCommand"; +import { + UpdateProtectionGroupCommandInput, + UpdateProtectionGroupCommandOutput, +} from "../commands/UpdateProtectionGroupCommand"; import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "../commands/UpdateSubscriptionCommand"; import { AccessDeniedException, @@ -70,23 +98,34 @@ import { AssociateProactiveEngagementDetailsResponse, AttackDetail, AttackProperty, + AttackStatisticsDataItem, AttackSummary, AttackVectorDescription, + AttackVolume, + AttackVolumeStatistics, Contributor, + CreateProtectionGroupRequest, + CreateProtectionGroupResponse, CreateProtectionRequest, CreateProtectionResponse, CreateSubscriptionRequest, CreateSubscriptionResponse, + DeleteProtectionGroupRequest, + DeleteProtectionGroupResponse, DeleteProtectionRequest, DeleteProtectionResponse, DeleteSubscriptionRequest, DeleteSubscriptionResponse, DescribeAttackRequest, DescribeAttackResponse, + DescribeAttackStatisticsRequest, + DescribeAttackStatisticsResponse, DescribeDRTAccessRequest, DescribeDRTAccessResponse, DescribeEmergencyContactSettingsRequest, DescribeEmergencyContactSettingsResponse, + DescribeProtectionGroupRequest, + DescribeProtectionGroupResponse, DescribeProtectionRequest, DescribeProtectionResponse, DescribeSubscriptionRequest, @@ -113,24 +152,37 @@ import { LimitsExceededException, ListAttacksRequest, ListAttacksResponse, + ListProtectionGroupsRequest, + ListProtectionGroupsResponse, ListProtectionsRequest, ListProtectionsResponse, + ListResourcesInProtectionGroupRequest, + ListResourcesInProtectionGroupResponse, LockedSubscriptionException, Mitigation, NoAssociatedRoleException, OptimisticLockException, Protection, + ProtectionGroup, + ProtectionGroupArbitraryPatternLimits, + ProtectionGroupLimits, + ProtectionGroupPatternTypeLimits, + ProtectionLimits, ResourceAlreadyExistsException, ResourceNotFoundException, SubResourceSummary, Subscription, + SubscriptionLimits, SummarizedAttackVector, SummarizedCounter, TimeRange, UpdateEmergencyContactSettingsRequest, UpdateEmergencyContactSettingsResponse, + UpdateProtectionGroupRequest, + UpdateProtectionGroupResponse, UpdateSubscriptionRequest, UpdateSubscriptionResponse, + ValidationExceptionField, } from "../models/models_0"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client"; @@ -207,6 +259,19 @@ export const serializeAws_json1_1CreateProtectionCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1CreateProtectionGroupCommand = async ( + input: CreateProtectionGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSShield_20160616.CreateProtectionGroup", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1CreateProtectionGroupRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1CreateSubscriptionCommand = async ( input: CreateSubscriptionCommandInput, context: __SerdeContext @@ -233,6 +298,19 @@ export const serializeAws_json1_1DeleteProtectionCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DeleteProtectionGroupCommand = async ( + input: DeleteProtectionGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSShield_20160616.DeleteProtectionGroup", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DeleteProtectionGroupRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DeleteSubscriptionCommand = async ( input: DeleteSubscriptionCommandInput, context: __SerdeContext @@ -259,6 +337,19 @@ export const serializeAws_json1_1DescribeAttackCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DescribeAttackStatisticsCommand = async ( + input: DescribeAttackStatisticsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSShield_20160616.DescribeAttackStatistics", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DescribeAttackStatisticsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DescribeDRTAccessCommand = async ( input: DescribeDRTAccessCommandInput, context: __SerdeContext @@ -298,6 +389,19 @@ export const serializeAws_json1_1DescribeProtectionCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DescribeProtectionGroupCommand = async ( + input: DescribeProtectionGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSShield_20160616.DescribeProtectionGroup", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DescribeProtectionGroupRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DescribeSubscriptionCommand = async ( input: DescribeSubscriptionCommandInput, context: __SerdeContext @@ -402,6 +506,19 @@ export const serializeAws_json1_1ListAttacksCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1ListProtectionGroupsCommand = async ( + input: ListProtectionGroupsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSShield_20160616.ListProtectionGroups", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1ListProtectionGroupsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1ListProtectionsCommand = async ( input: ListProtectionsCommandInput, context: __SerdeContext @@ -415,6 +532,19 @@ export const serializeAws_json1_1ListProtectionsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1ListResourcesInProtectionGroupCommand = async ( + input: ListResourcesInProtectionGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSShield_20160616.ListResourcesInProtectionGroup", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1ListResourcesInProtectionGroupRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1UpdateEmergencyContactSettingsCommand = async ( input: UpdateEmergencyContactSettingsCommandInput, context: __SerdeContext @@ -428,6 +558,19 @@ export const serializeAws_json1_1UpdateEmergencyContactSettingsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1UpdateProtectionGroupCommand = async ( + input: UpdateProtectionGroupCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "Content-Type": "application/x-amz-json-1.1", + "X-Amz-Target": "AWSShield_20160616.UpdateProtectionGroup", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1UpdateProtectionGroupRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1UpdateSubscriptionCommand = async ( input: UpdateSubscriptionCommandInput, context: __SerdeContext @@ -924,6 +1067,101 @@ const deserializeAws_json1_1CreateProtectionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1CreateProtectionGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1CreateProtectionGroupCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1CreateProtectionGroupResponse(data, context); + const response: CreateProtectionGroupCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1CreateProtectionGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalErrorException": + case "com.amazonaws.shield#InternalErrorException": + response = { + ...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidParameterException": + case "com.amazonaws.shield#InvalidParameterException": + response = { + ...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "LimitsExceededException": + case "com.amazonaws.shield#LimitsExceededException": + response = { + ...(await deserializeAws_json1_1LimitsExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OptimisticLockException": + case "com.amazonaws.shield#OptimisticLockException": + response = { + ...(await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceAlreadyExistsException": + case "com.amazonaws.shield#ResourceAlreadyExistsException": + response = { + ...(await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.shield#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1CreateSubscriptionCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1058,6 +1296,77 @@ const deserializeAws_json1_1DeleteProtectionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1DeleteProtectionGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DeleteProtectionGroupCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DeleteProtectionGroupResponse(data, context); + const response: DeleteProtectionGroupCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DeleteProtectionGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalErrorException": + case "com.amazonaws.shield#InternalErrorException": + response = { + ...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OptimisticLockException": + case "com.amazonaws.shield#OptimisticLockException": + response = { + ...(await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.shield#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1DeleteSubscriptionCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1192,27 +1501,27 @@ const deserializeAws_json1_1DescribeAttackCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DescribeDRTAccessCommand = async ( +export const deserializeAws_json1_1DescribeAttackStatisticsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DescribeDRTAccessCommandError(output, context); + return deserializeAws_json1_1DescribeAttackStatisticsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DescribeDRTAccessResponse(data, context); - const response: DescribeDRTAccessCommandOutput = { + contents = deserializeAws_json1_1DescribeAttackStatisticsResponse(data, context); + const response: DescribeAttackStatisticsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DescribeDRTAccessCommandError = async ( +const deserializeAws_json1_1DescribeAttackStatisticsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1230,14 +1539,6 @@ const deserializeAws_json1_1DescribeDRTAccessCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "ResourceNotFoundException": - case "com.amazonaws.shield#ResourceNotFoundException": - response = { - ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.code || parsedBody.Code || errorCode; @@ -1255,27 +1556,27 @@ const deserializeAws_json1_1DescribeDRTAccessCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DescribeEmergencyContactSettingsCommand = async ( +export const deserializeAws_json1_1DescribeDRTAccessCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError(output, context); + return deserializeAws_json1_1DescribeDRTAccessCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DescribeEmergencyContactSettingsResponse(data, context); - const response: DescribeEmergencyContactSettingsCommandOutput = { + contents = deserializeAws_json1_1DescribeDRTAccessResponse(data, context); + const response: DescribeDRTAccessCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError = async ( +const deserializeAws_json1_1DescribeDRTAccessCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1318,12 +1619,75 @@ const deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError = async return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DescribeProtectionCommand = async ( +export const deserializeAws_json1_1DescribeEmergencyContactSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DescribeProtectionCommandError(output, context); + return deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DescribeEmergencyContactSettingsResponse(data, context); + const response: DescribeEmergencyContactSettingsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalErrorException": + case "com.amazonaws.shield#InternalErrorException": + response = { + ...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.shield#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1DescribeProtectionCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DescribeProtectionCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; @@ -1389,6 +1753,69 @@ const deserializeAws_json1_1DescribeProtectionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1DescribeProtectionGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DescribeProtectionGroupCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DescribeProtectionGroupResponse(data, context); + const response: DescribeProtectionGroupCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DescribeProtectionGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalErrorException": + case "com.amazonaws.shield#InternalErrorException": + response = { + ...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.shield#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1DescribeSubscriptionCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2005,6 +2432,77 @@ const deserializeAws_json1_1ListAttacksCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1ListProtectionGroupsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1ListProtectionGroupsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1ListProtectionGroupsResponse(data, context); + const response: ListProtectionGroupsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1ListProtectionGroupsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalErrorException": + case "com.amazonaws.shield#InternalErrorException": + response = { + ...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidPaginationTokenException": + case "com.amazonaws.shield#InvalidPaginationTokenException": + response = { + ...(await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.shield#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1ListProtectionsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2076,6 +2574,77 @@ const deserializeAws_json1_1ListProtectionsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1ListResourcesInProtectionGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1ListResourcesInProtectionGroupCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1ListResourcesInProtectionGroupResponse(data, context); + const response: ListResourcesInProtectionGroupCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1ListResourcesInProtectionGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalErrorException": + case "com.amazonaws.shield#InternalErrorException": + response = { + ...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidPaginationTokenException": + case "com.amazonaws.shield#InvalidPaginationTokenException": + response = { + ...(await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.shield#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1UpdateEmergencyContactSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2155,6 +2724,85 @@ const deserializeAws_json1_1UpdateEmergencyContactSettingsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1UpdateProtectionGroupCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1UpdateProtectionGroupCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1UpdateProtectionGroupResponse(data, context); + const response: UpdateProtectionGroupCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1UpdateProtectionGroupCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode: string = "UnknownError"; + const errorTypeParts: String = parsedOutput.body["__type"].split("#"); + errorCode = errorTypeParts[1] === undefined ? errorTypeParts[0] : errorTypeParts[1]; + switch (errorCode) { + case "InternalErrorException": + case "com.amazonaws.shield#InternalErrorException": + response = { + ...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidParameterException": + case "com.amazonaws.shield#InvalidParameterException": + response = { + ...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OptimisticLockException": + case "com.amazonaws.shield#OptimisticLockException": + response = { + ...(await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.shield#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1UpdateSubscriptionCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2473,6 +3121,19 @@ const serializeAws_json1_1AssociateProactiveEngagementDetailsRequest = ( }; }; +const serializeAws_json1_1CreateProtectionGroupRequest = ( + input: CreateProtectionGroupRequest, + context: __SerdeContext +): any => { + return { + ...(input.Aggregation !== undefined && { Aggregation: input.Aggregation }), + ...(input.Members !== undefined && { Members: serializeAws_json1_1ProtectionGroupMembers(input.Members, context) }), + ...(input.Pattern !== undefined && { Pattern: input.Pattern }), + ...(input.ProtectionGroupId !== undefined && { ProtectionGroupId: input.ProtectionGroupId }), + ...(input.ResourceType !== undefined && { ResourceType: input.ResourceType }), + }; +}; + const serializeAws_json1_1CreateProtectionRequest = (input: CreateProtectionRequest, context: __SerdeContext): any => { return { ...(input.Name !== undefined && { Name: input.Name }), @@ -2487,6 +3148,15 @@ const serializeAws_json1_1CreateSubscriptionRequest = ( return {}; }; +const serializeAws_json1_1DeleteProtectionGroupRequest = ( + input: DeleteProtectionGroupRequest, + context: __SerdeContext +): any => { + return { + ...(input.ProtectionGroupId !== undefined && { ProtectionGroupId: input.ProtectionGroupId }), + }; +}; + const serializeAws_json1_1DeleteProtectionRequest = (input: DeleteProtectionRequest, context: __SerdeContext): any => { return { ...(input.ProtectionId !== undefined && { ProtectionId: input.ProtectionId }), @@ -2506,6 +3176,13 @@ const serializeAws_json1_1DescribeAttackRequest = (input: DescribeAttackRequest, }; }; +const serializeAws_json1_1DescribeAttackStatisticsRequest = ( + input: DescribeAttackStatisticsRequest, + context: __SerdeContext +): any => { + return {}; +}; + const serializeAws_json1_1DescribeDRTAccessRequest = ( input: DescribeDRTAccessRequest, context: __SerdeContext @@ -2520,6 +3197,15 @@ const serializeAws_json1_1DescribeEmergencyContactSettingsRequest = ( return {}; }; +const serializeAws_json1_1DescribeProtectionGroupRequest = ( + input: DescribeProtectionGroupRequest, + context: __SerdeContext +): any => { + return { + ...(input.ProtectionGroupId !== undefined && { ProtectionGroupId: input.ProtectionGroupId }), + }; +}; + const serializeAws_json1_1DescribeProtectionRequest = ( input: DescribeProtectionRequest, context: __SerdeContext @@ -2608,6 +3294,16 @@ const serializeAws_json1_1ListAttacksRequest = (input: ListAttacksRequest, conte }; }; +const serializeAws_json1_1ListProtectionGroupsRequest = ( + input: ListProtectionGroupsRequest, + context: __SerdeContext +): any => { + return { + ...(input.MaxResults !== undefined && { MaxResults: input.MaxResults }), + ...(input.NextToken !== undefined && { NextToken: input.NextToken }), + }; +}; + const serializeAws_json1_1ListProtectionsRequest = (input: ListProtectionsRequest, context: __SerdeContext): any => { return { ...(input.MaxResults !== undefined && { MaxResults: input.MaxResults }), @@ -2615,6 +3311,21 @@ const serializeAws_json1_1ListProtectionsRequest = (input: ListProtectionsReques }; }; +const serializeAws_json1_1ListResourcesInProtectionGroupRequest = ( + input: ListResourcesInProtectionGroupRequest, + context: __SerdeContext +): any => { + return { + ...(input.MaxResults !== undefined && { MaxResults: input.MaxResults }), + ...(input.NextToken !== undefined && { NextToken: input.NextToken }), + ...(input.ProtectionGroupId !== undefined && { ProtectionGroupId: input.ProtectionGroupId }), + }; +}; + +const serializeAws_json1_1ProtectionGroupMembers = (input: string[], context: __SerdeContext): any => { + return input.map((entry) => entry); +}; + const serializeAws_json1_1ResourceArnFilterList = (input: string[], context: __SerdeContext): any => { return input.map((entry) => entry); }; @@ -2637,6 +3348,19 @@ const serializeAws_json1_1UpdateEmergencyContactSettingsRequest = ( }; }; +const serializeAws_json1_1UpdateProtectionGroupRequest = ( + input: UpdateProtectionGroupRequest, + context: __SerdeContext +): any => { + return { + ...(input.Aggregation !== undefined && { Aggregation: input.Aggregation }), + ...(input.Members !== undefined && { Members: serializeAws_json1_1ProtectionGroupMembers(input.Members, context) }), + ...(input.Pattern !== undefined && { Pattern: input.Pattern }), + ...(input.ProtectionGroupId !== undefined && { ProtectionGroupId: input.ProtectionGroupId }), + ...(input.ResourceType !== undefined && { ResourceType: input.ResourceType }), + }; +}; + const serializeAws_json1_1UpdateSubscriptionRequest = ( input: UpdateSubscriptionRequest, context: __SerdeContext @@ -2738,6 +3462,26 @@ const deserializeAws_json1_1AttackProperty = (output: any, context: __SerdeConte } as any; }; +const deserializeAws_json1_1AttackStatisticsDataItem = ( + output: any, + context: __SerdeContext +): AttackStatisticsDataItem => { + return { + AttackCount: output.AttackCount !== undefined && output.AttackCount !== null ? output.AttackCount : undefined, + AttackVolume: + output.AttackVolume !== undefined && output.AttackVolume !== null + ? deserializeAws_json1_1AttackVolume(output.AttackVolume, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1AttackStatisticsDataList = ( + output: any, + context: __SerdeContext +): AttackStatisticsDataItem[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1AttackStatisticsDataItem(entry, context)); +}; + const deserializeAws_json1_1AttackSummaries = (output: any, context: __SerdeContext): AttackSummary[] => { return (output || []).map((entry: any) => deserializeAws_json1_1AttackSummary(entry, context)); }; @@ -2775,6 +3519,29 @@ const deserializeAws_json1_1AttackVectorDescriptionList = ( return (output || []).map((entry: any) => deserializeAws_json1_1AttackVectorDescription(entry, context)); }; +const deserializeAws_json1_1AttackVolume = (output: any, context: __SerdeContext): AttackVolume => { + return { + BitsPerSecond: + output.BitsPerSecond !== undefined && output.BitsPerSecond !== null + ? deserializeAws_json1_1AttackVolumeStatistics(output.BitsPerSecond, context) + : undefined, + PacketsPerSecond: + output.PacketsPerSecond !== undefined && output.PacketsPerSecond !== null + ? deserializeAws_json1_1AttackVolumeStatistics(output.PacketsPerSecond, context) + : undefined, + RequestsPerSecond: + output.RequestsPerSecond !== undefined && output.RequestsPerSecond !== null + ? deserializeAws_json1_1AttackVolumeStatistics(output.RequestsPerSecond, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1AttackVolumeStatistics = (output: any, context: __SerdeContext): AttackVolumeStatistics => { + return { + Max: output.Max !== undefined && output.Max !== null ? output.Max : undefined, + } as any; +}; + const deserializeAws_json1_1Contributor = (output: any, context: __SerdeContext): Contributor => { return { Name: output.Name !== undefined && output.Name !== null ? output.Name : undefined, @@ -2782,6 +3549,13 @@ const deserializeAws_json1_1Contributor = (output: any, context: __SerdeContext) } as any; }; +const deserializeAws_json1_1CreateProtectionGroupResponse = ( + output: any, + context: __SerdeContext +): CreateProtectionGroupResponse => { + return {} as any; +}; + const deserializeAws_json1_1CreateProtectionResponse = ( output: any, context: __SerdeContext @@ -2798,6 +3572,13 @@ const deserializeAws_json1_1CreateSubscriptionResponse = ( return {} as any; }; +const deserializeAws_json1_1DeleteProtectionGroupResponse = ( + output: any, + context: __SerdeContext +): DeleteProtectionGroupResponse => { + return {} as any; +}; + const deserializeAws_json1_1DeleteProtectionResponse = ( output: any, context: __SerdeContext @@ -2821,6 +3602,22 @@ const deserializeAws_json1_1DescribeAttackResponse = (output: any, context: __Se } as any; }; +const deserializeAws_json1_1DescribeAttackStatisticsResponse = ( + output: any, + context: __SerdeContext +): DescribeAttackStatisticsResponse => { + return { + DataItems: + output.DataItems !== undefined && output.DataItems !== null + ? deserializeAws_json1_1AttackStatisticsDataList(output.DataItems, context) + : undefined, + TimeRange: + output.TimeRange !== undefined && output.TimeRange !== null + ? deserializeAws_json1_1TimeRange(output.TimeRange, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1DescribeDRTAccessResponse = ( output: any, context: __SerdeContext @@ -2846,6 +3643,18 @@ const deserializeAws_json1_1DescribeEmergencyContactSettingsResponse = ( } as any; }; +const deserializeAws_json1_1DescribeProtectionGroupResponse = ( + output: any, + context: __SerdeContext +): DescribeProtectionGroupResponse => { + return { + ProtectionGroup: + output.ProtectionGroup !== undefined && output.ProtectionGroup !== null + ? deserializeAws_json1_1ProtectionGroup(output.ProtectionGroup, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1DescribeProtectionResponse = ( output: any, context: __SerdeContext @@ -2962,7 +3771,12 @@ const deserializeAws_json1_1InvalidParameterException = ( context: __SerdeContext ): InvalidParameterException => { return { + fields: + output.fields !== undefined && output.fields !== null + ? deserializeAws_json1_1ValidationExceptionFieldList(output.fields, context) + : undefined, message: output.message !== undefined && output.message !== null ? output.message : undefined, + reason: output.reason !== undefined && output.reason !== null ? output.reason : undefined, } as any; }; @@ -3007,6 +3821,19 @@ const deserializeAws_json1_1ListAttacksResponse = (output: any, context: __Serde } as any; }; +const deserializeAws_json1_1ListProtectionGroupsResponse = ( + output: any, + context: __SerdeContext +): ListProtectionGroupsResponse => { + return { + NextToken: output.NextToken !== undefined && output.NextToken !== null ? output.NextToken : undefined, + ProtectionGroups: + output.ProtectionGroups !== undefined && output.ProtectionGroups !== null + ? deserializeAws_json1_1ProtectionGroups(output.ProtectionGroups, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1ListProtectionsResponse = ( output: any, context: __SerdeContext @@ -3020,6 +3847,19 @@ const deserializeAws_json1_1ListProtectionsResponse = ( } as any; }; +const deserializeAws_json1_1ListResourcesInProtectionGroupResponse = ( + output: any, + context: __SerdeContext +): ListResourcesInProtectionGroupResponse => { + return { + NextToken: output.NextToken !== undefined && output.NextToken !== null ? output.NextToken : undefined, + ResourceArns: + output.ResourceArns !== undefined && output.ResourceArns !== null + ? deserializeAws_json1_1ResourceArnList(output.ResourceArns, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1LockedSubscriptionException = ( output: any, context: __SerdeContext @@ -3074,6 +3914,73 @@ const deserializeAws_json1_1Protection = (output: any, context: __SerdeContext): } as any; }; +const deserializeAws_json1_1ProtectionGroup = (output: any, context: __SerdeContext): ProtectionGroup => { + return { + Aggregation: output.Aggregation !== undefined && output.Aggregation !== null ? output.Aggregation : undefined, + Members: + output.Members !== undefined && output.Members !== null + ? deserializeAws_json1_1ProtectionGroupMembers(output.Members, context) + : undefined, + Pattern: output.Pattern !== undefined && output.Pattern !== null ? output.Pattern : undefined, + ProtectionGroupId: + output.ProtectionGroupId !== undefined && output.ProtectionGroupId !== null + ? output.ProtectionGroupId + : undefined, + ResourceType: output.ResourceType !== undefined && output.ResourceType !== null ? output.ResourceType : undefined, + } as any; +}; + +const deserializeAws_json1_1ProtectionGroupArbitraryPatternLimits = ( + output: any, + context: __SerdeContext +): ProtectionGroupArbitraryPatternLimits => { + return { + MaxMembers: output.MaxMembers !== undefined && output.MaxMembers !== null ? output.MaxMembers : undefined, + } as any; +}; + +const deserializeAws_json1_1ProtectionGroupLimits = (output: any, context: __SerdeContext): ProtectionGroupLimits => { + return { + MaxProtectionGroups: + output.MaxProtectionGroups !== undefined && output.MaxProtectionGroups !== null + ? output.MaxProtectionGroups + : undefined, + PatternTypeLimits: + output.PatternTypeLimits !== undefined && output.PatternTypeLimits !== null + ? deserializeAws_json1_1ProtectionGroupPatternTypeLimits(output.PatternTypeLimits, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1ProtectionGroupMembers = (output: any, context: __SerdeContext): string[] => { + return (output || []).map((entry: any) => entry); +}; + +const deserializeAws_json1_1ProtectionGroupPatternTypeLimits = ( + output: any, + context: __SerdeContext +): ProtectionGroupPatternTypeLimits => { + return { + ArbitraryPatternLimits: + output.ArbitraryPatternLimits !== undefined && output.ArbitraryPatternLimits !== null + ? deserializeAws_json1_1ProtectionGroupArbitraryPatternLimits(output.ArbitraryPatternLimits, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1ProtectionGroups = (output: any, context: __SerdeContext): ProtectionGroup[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ProtectionGroup(entry, context)); +}; + +const deserializeAws_json1_1ProtectionLimits = (output: any, context: __SerdeContext): ProtectionLimits => { + return { + ProtectedResourceTypeLimits: + output.ProtectedResourceTypeLimits !== undefined && output.ProtectedResourceTypeLimits !== null + ? deserializeAws_json1_1Limits(output.ProtectedResourceTypeLimits, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1Protections = (output: any, context: __SerdeContext): Protection[] => { return (output || []).map((entry: any) => deserializeAws_json1_1Protection(entry, context)); }; @@ -3084,15 +3991,21 @@ const deserializeAws_json1_1ResourceAlreadyExistsException = ( ): ResourceAlreadyExistsException => { return { message: output.message !== undefined && output.message !== null ? output.message : undefined, + resourceType: output.resourceType !== undefined && output.resourceType !== null ? output.resourceType : undefined, } as any; }; +const deserializeAws_json1_1ResourceArnList = (output: any, context: __SerdeContext): string[] => { + return (output || []).map((entry: any) => entry); +}; + const deserializeAws_json1_1ResourceNotFoundException = ( output: any, context: __SerdeContext ): ResourceNotFoundException => { return { message: output.message !== undefined && output.message !== null ? output.message : undefined, + resourceType: output.resourceType !== undefined && output.resourceType !== null ? output.resourceType : undefined, } as any; }; @@ -3132,6 +4045,10 @@ const deserializeAws_json1_1Subscription = (output: any, context: __SerdeContext output.StartTime !== undefined && output.StartTime !== null ? new Date(Math.round(output.StartTime * 1000)) : undefined, + SubscriptionLimits: + output.SubscriptionLimits !== undefined && output.SubscriptionLimits !== null + ? deserializeAws_json1_1SubscriptionLimits(output.SubscriptionLimits, context) + : undefined, TimeCommitmentInSeconds: output.TimeCommitmentInSeconds !== undefined && output.TimeCommitmentInSeconds !== null ? output.TimeCommitmentInSeconds @@ -3139,6 +4056,19 @@ const deserializeAws_json1_1Subscription = (output: any, context: __SerdeContext } as any; }; +const deserializeAws_json1_1SubscriptionLimits = (output: any, context: __SerdeContext): SubscriptionLimits => { + return { + ProtectionGroupLimits: + output.ProtectionGroupLimits !== undefined && output.ProtectionGroupLimits !== null + ? deserializeAws_json1_1ProtectionGroupLimits(output.ProtectionGroupLimits, context) + : undefined, + ProtectionLimits: + output.ProtectionLimits !== undefined && output.ProtectionLimits !== null + ? deserializeAws_json1_1ProtectionLimits(output.ProtectionLimits, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1SummarizedAttackVector = (output: any, context: __SerdeContext): SummarizedAttackVector => { return { VectorCounters: @@ -3171,6 +4101,19 @@ const deserializeAws_json1_1SummarizedCounterList = (output: any, context: __Ser return (output || []).map((entry: any) => deserializeAws_json1_1SummarizedCounter(entry, context)); }; +const deserializeAws_json1_1TimeRange = (output: any, context: __SerdeContext): TimeRange => { + return { + FromInclusive: + output.FromInclusive !== undefined && output.FromInclusive !== null + ? new Date(Math.round(output.FromInclusive * 1000)) + : undefined, + ToExclusive: + output.ToExclusive !== undefined && output.ToExclusive !== null + ? new Date(Math.round(output.ToExclusive * 1000)) + : undefined, + } as any; +}; + const deserializeAws_json1_1TopContributors = (output: any, context: __SerdeContext): Contributor[] => { return (output || []).map((entry: any) => deserializeAws_json1_1Contributor(entry, context)); }; @@ -3182,6 +4125,13 @@ const deserializeAws_json1_1UpdateEmergencyContactSettingsResponse = ( return {} as any; }; +const deserializeAws_json1_1UpdateProtectionGroupResponse = ( + output: any, + context: __SerdeContext +): UpdateProtectionGroupResponse => { + return {} as any; +}; + const deserializeAws_json1_1UpdateSubscriptionResponse = ( output: any, context: __SerdeContext @@ -3189,6 +4139,23 @@ const deserializeAws_json1_1UpdateSubscriptionResponse = ( return {} as any; }; +const deserializeAws_json1_1ValidationExceptionField = ( + output: any, + context: __SerdeContext +): ValidationExceptionField => { + return { + message: output.message !== undefined && output.message !== null ? output.message : undefined, + name: output.name !== undefined && output.name !== null ? output.name : undefined, + } as any; +}; + +const deserializeAws_json1_1ValidationExceptionFieldList = ( + output: any, + context: __SerdeContext +): ValidationExceptionField[] => { + return (output || []).map((entry: any) => deserializeAws_json1_1ValidationExceptionField(entry, context)); +}; + const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ httpStatusCode: output.statusCode, httpHeaders: output.headers, diff --git a/clients/client-textract/models/models_0.ts b/clients/client-textract/models/models_0.ts index a7a32dc706f0..ffad30c7ba43 100644 --- a/clients/client-textract/models/models_0.ts +++ b/clients/client-textract/models/models_0.ts @@ -33,6 +33,11 @@ export namespace AccessDeniedException { *

                  */ export interface S3Object { + /** + *

                  The name of the S3 bucket.

                  + */ + Bucket?: string; + /** *

                  The file name of the input document. Synchronous operations can use image files that are * in JPEG or PNG format. Asynchronous operations also support PDF format files.

                  @@ -43,11 +48,6 @@ export interface S3Object { *

                  If the bucket has versioning enabled, you can specify the object version.

                  */ Version?: string; - - /** - *

                  The name of the S3 bucket.

                  - */ - Bucket?: string; } export namespace S3Object { @@ -76,12 +76,6 @@ export namespace S3Object { * to access the S3 object.

                  */ export interface Document { - /** - *

                  Identifies an S3 object as the document source. The maximum size of a document that's - * stored in an S3 bucket is 5 MB.

                  - */ - S3Object?: S3Object; - /** *

                  A blob of base64-encoded document bytes. The maximum size of a document that's provided * in a blob of bytes is 5 MB. The document bytes must be in PNG or JPEG format.

                  @@ -89,6 +83,12 @@ export interface Document { * image bytes passed using the Bytes field.

                  */ Bytes?: Uint8Array; + + /** + *

                  Identifies an S3 object as the document source. The maximum size of a document that's + * stored in an S3 bucket is 5 MB.

                  + */ + S3Object?: S3Object; } export namespace Document { @@ -129,11 +129,6 @@ export namespace HumanLoopDataAttributes { * of the image before review.

                  */ export interface HumanLoopConfig { - /** - *

                  Sets attributes of the input data.

                  - */ - DataAttributes?: HumanLoopDataAttributes; - /** *

                  The name of the human workflow used for this image. This should be kept unique within a region.

                  */ @@ -143,6 +138,11 @@ export interface HumanLoopConfig { *

                  The Amazon Resource Name (ARN) of the flow definition.

                  */ FlowDefinitionArn: string | undefined; + + /** + *

                  Sets attributes of the input data.

                  + */ + DataAttributes?: HumanLoopDataAttributes; } export namespace HumanLoopConfig { @@ -161,11 +161,6 @@ export interface AnalyzeDocumentRequest { */ Document: Document | undefined; - /** - *

                  Sets the configuration for the human in the loop workflow for analyzing documents.

                  - */ - HumanLoopConfig?: HumanLoopConfig; - /** *

                  A list of the types of analysis to perform. Add TABLES to the list to return information * about the tables that are detected in the input document. Add FORMS to return detected form data. @@ -174,6 +169,11 @@ export interface AnalyzeDocumentRequest { * the response (including text that isn't related to the value of FeatureTypes).

                  */ FeatureTypes: (FeatureType | string)[] | undefined; + + /** + *

                  Sets the configuration for the human in the loop workflow for analyzing documents.

                  + */ + HumanLoopConfig?: HumanLoopConfig; } export namespace AnalyzeDocumentRequest { @@ -213,16 +213,10 @@ export enum EntityType { */ export interface BoundingBox { /** - *

                  The top coordinate of the bounding box as a ratio of overall document page - * height.

                  - */ - Top?: number; - - /** - *

                  The left coordinate of the bounding box as a ratio of overall document page + *

                  The width of the bounding box as a ratio of the overall document page * width.

                  */ - Left?: number; + Width?: number; /** *

                  The height of the bounding box as a ratio of the overall document page @@ -231,10 +225,16 @@ export interface BoundingBox { Height?: number; /** - *

                  The width of the bounding box as a ratio of the overall document page + *

                  The left coordinate of the bounding box as a ratio of overall document page * width.

                  */ - Width?: number; + Left?: number; + + /** + *

                  The top coordinate of the bounding box as a ratio of overall document page + * height.

                  + */ + Top?: number; } export namespace BoundingBox { @@ -256,14 +256,14 @@ export namespace BoundingBox { */ export interface Point { /** - *

                  The value of the Y coordinate for a point on a Polygon.

                  + *

                  The value of the X coordinate for a point on a Polygon.

                  */ - Y?: number; + X?: number; /** - *

                  The value of the X coordinate for a point on a Polygon.

                  + *

                  The value of the Y coordinate for a point on a Polygon.

                  */ - X?: number; + Y?: number; } export namespace Point { @@ -337,6 +337,11 @@ export enum SelectionStatus { SELECTED = "SELECTED", } +export enum TextType { + HANDWRITING = "HANDWRITING", + PRINTED = "PRINTED", +} + /** *

                  A Block represents items that are recognized in a document within a group * of pixels close to each other. The information returned in a Block object @@ -352,43 +357,6 @@ export enum SelectionStatus { *

                  For more information, see How Amazon Textract Works.

                  */ export interface Block { - /** - *

                  The type of entity. The following can be returned:

                  - *
                    - *
                  • - *

                    - * KEY - An identifier for a field on the document.

                    - *
                  • - *
                  • - *

                    - * VALUE - The field text.

                    - *
                  • - *
                  - *

                  - * EntityTypes isn't returned by DetectDocumentText and - * GetDocumentTextDetection.

                  - */ - EntityTypes?: (EntityType | string)[]; - - /** - *

                  The row in which a table cell is located. The first row position is 1. - * RowIndex isn't returned by DetectDocumentText and - * GetDocumentTextDetection.

                  - */ - RowIndex?: number; - - /** - *

                  The word or line of text that's recognized by Amazon Textract.

                  - */ - Text?: string; - - /** - *

                  The number of rows that a table cell spans. Currently this value is always 1, even - * if the number of rows spanned is greater than 1. RowSpan isn't returned by - * DetectDocumentText and GetDocumentTextDetection.

                  - */ - RowSpan?: number; - /** *

                  The type of text item that's recognized. In operations for text detection, the following * types are returned:

                  @@ -456,22 +424,41 @@ export interface Block { BlockType?: BlockType | string; /** - *

                  The identifier for the recognized text. The identifier is only unique for a single - * operation.

                  + *

                  The confidence score that Amazon Textract has in the accuracy of the recognized text and + * the accuracy of the geometry points around the recognized text.

                  */ - Id?: string; + Confidence?: number; /** - *

                  The location of the recognized text on the image. It includes an axis-aligned, coarse - * bounding box that surrounds the text, and a finer-grain polygon for more accurate spatial - * information.

                  + *

                  The word or line of text that's recognized by Amazon Textract.

                  */ - Geometry?: Geometry; + Text?: string; /** - *

                  The selection status of a selection element, such as an option button or check box.

                  + *

                  The kind of text that Amazon Textract has detected. Can check for handwritten text and printed text.

                  */ - SelectionStatus?: SelectionStatus | string; + TextType?: TextType | string; + + /** + *

                  The row in which a table cell is located. The first row position is 1. + * RowIndex isn't returned by DetectDocumentText and + * GetDocumentTextDetection.

                  + */ + RowIndex?: number; + + /** + *

                  The column in which a table cell appears. The first column position is 1. + * ColumnIndex isn't returned by DetectDocumentText and + * GetDocumentTextDetection.

                  + */ + ColumnIndex?: number; + + /** + *

                  The number of rows that a table cell spans. Currently this value is always 1, even + * if the number of rows spanned is greater than 1. RowSpan isn't returned by + * DetectDocumentText and GetDocumentTextDetection.

                  + */ + RowSpan?: number; /** *

                  The number of columns that a table cell spans. Currently this value is always 1, even @@ -480,6 +467,19 @@ export interface Block { */ ColumnSpan?: number; + /** + *

                  The location of the recognized text on the image. It includes an axis-aligned, coarse + * bounding box that surrounds the text, and a finer-grain polygon for more accurate spatial + * information.

                  + */ + Geometry?: Geometry; + + /** + *

                  The identifier for the recognized text. The identifier is only unique for a single + * operation.

                  + */ + Id?: string; + /** *

                  A list of child blocks of the current block. For example, a LINE object has child blocks * for each WORD block that's part of the line of text. There aren't Relationship objects in @@ -496,6 +496,29 @@ export interface Block { */ Relationships?: Relationship[]; + /** + *

                  The type of entity. The following can be returned:

                  + *
                    + *
                  • + *

                    + * KEY - An identifier for a field on the document.

                    + *
                  • + *
                  • + *

                    + * VALUE - The field text.

                    + *
                  • + *
                  + *

                  + * EntityTypes isn't returned by DetectDocumentText and + * GetDocumentTextDetection.

                  + */ + EntityTypes?: (EntityType | string)[]; + + /** + *

                  The selection status of a selection element, such as an option button or check box.

                  + */ + SelectionStatus?: SelectionStatus | string; + /** *

                  The page on which a block was detected. Page is returned by asynchronous * operations. Page values greater than 1 are only returned for multipage documents that are @@ -505,19 +528,6 @@ export interface Block { * considered to be a single-page document.

                  */ Page?: number; - - /** - *

                  The confidence score that Amazon Textract has in the accuracy of the recognized text and - * the accuracy of the geometry points around the recognized text.

                  - */ - Confidence?: number; - - /** - *

                  The column in which a table cell appears. The first column position is 1. - * ColumnIndex isn't returned by DetectDocumentText and - * GetDocumentTextDetection.

                  - */ - ColumnIndex?: number; } export namespace Block { @@ -548,9 +558,9 @@ export namespace DocumentMetadata { */ export interface HumanLoopActivationOutput { /** - *

                  Shows the result of condition evaluations, including those conditions which activated a human review.

                  + *

                  The Amazon Resource Name (ARN) of the HumanLoop created.

                  */ - HumanLoopActivationConditionsEvaluationResults?: __LazyJsonString | string; + HumanLoopArn?: string; /** *

                  Shows if and why human review was needed.

                  @@ -558,9 +568,9 @@ export interface HumanLoopActivationOutput { HumanLoopActivationReasons?: string[]; /** - *

                  The Amazon Resource Name (ARN) of the HumanLoop created.

                  + *

                  Shows the result of condition evaluations, including those conditions which activated a human review.

                  */ - HumanLoopArn?: string; + HumanLoopActivationConditionsEvaluationResults?: __LazyJsonString | string; } export namespace HumanLoopActivationOutput { @@ -571,9 +581,9 @@ export namespace HumanLoopActivationOutput { export interface AnalyzeDocumentResponse { /** - *

                  The version of the model used to analyze the document.

                  + *

                  Metadata about the analyzed document. An example is the number of pages.

                  */ - AnalyzeDocumentModelVersion?: string; + DocumentMetadata?: DocumentMetadata; /** *

                  The items that are detected and analyzed by AnalyzeDocument.

                  @@ -586,9 +596,9 @@ export interface AnalyzeDocumentResponse { HumanLoopActivationOutput?: HumanLoopActivationOutput; /** - *

                  Metadata about the analyzed document. An example is the number of pages.

                  + *

                  The version of the model used to analyze the document.

                  */ - DocumentMetadata?: DocumentMetadata; + AnalyzeDocumentModelVersion?: string; } export namespace AnalyzeDocumentResponse { @@ -616,7 +626,7 @@ export namespace BadDocumentException { /** *

                  The document can't be processed because it's too large. The maximum document size for - * synchronous operations 5 MB. The maximum document size for asynchronous operations is 500 + * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500 * MB for PDF files.

                  */ export interface DocumentTooLargeException extends __SmithyException, $MetadataBearer { @@ -638,22 +648,23 @@ export namespace DocumentTooLargeException { export interface HumanLoopQuotaExceededException extends __SmithyException, $MetadataBearer { name: "HumanLoopQuotaExceededException"; $fault: "client"; - Code?: string; /** *

                  The resource type.

                  */ ResourceType?: string; - Message?: string; /** - *

                  The service code.

                  + *

                  The quota code.

                  */ - ServiceCode?: string; + QuotaCode?: string; /** - *

                  The quota code.

                  + *

                  The service code.

                  */ - QuotaCode?: string; + ServiceCode?: string; + + Message?: string; + Code?: string; } export namespace HumanLoopQuotaExceededException { @@ -688,8 +699,8 @@ export namespace InternalServerError { export interface InvalidParameterException extends __SmithyException, $MetadataBearer { name: "InvalidParameterException"; $fault: "client"; - Code?: string; Message?: string; + Code?: string; } export namespace InvalidParameterException { @@ -791,16 +802,16 @@ export interface DetectDocumentTextResponse { */ DocumentMetadata?: DocumentMetadata; - /** - *

                  - */ - DetectDocumentTextModelVersion?: string; - /** *

                  An array of Block objects that contain the text that's detected in the * document.

                  */ Blocks?: Block[]; + + /** + *

                  + */ + DetectDocumentTextModelVersion?: string; } export namespace DetectDocumentTextResponse { @@ -830,10 +841,10 @@ export namespace DocumentLocation { export interface GetDocumentAnalysisRequest { /** - *

                  If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination - * token in the response. You can use this pagination token to retrieve the next set of blocks.

                  + *

                  A unique identifier for the text-detection job. The JobId is returned from + * StartDocumentAnalysis. A JobId value is only valid for 7 days.

                  */ - NextToken?: string; + JobId: string | undefined; /** *

                  The maximum number of results to return per paginated call. The largest value that you @@ -843,10 +854,10 @@ export interface GetDocumentAnalysisRequest { MaxResults?: number; /** - *

                  A unique identifier for the text-detection job. The JobId is returned from - * StartDocumentAnalysis. A JobId value is only valid for 7 days.

                  + *

                  If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination + * token in the response. You can use this pagination token to retrieve the next set of blocks.

                  */ - JobId: string | undefined; + NextToken?: string; } export namespace GetDocumentAnalysisRequest { @@ -867,14 +878,14 @@ export enum JobStatus { */ export interface Warning { /** - *

                  A list of the pages that the warning applies to.

                  + *

                  The error code for the warning.

                  */ - Pages?: number[]; + ErrorCode?: string; /** - *

                  The error code for the warning.

                  + *

                  A list of the pages that the warning applies to.

                  */ - ErrorCode?: string; + Pages?: number[]; } export namespace Warning { @@ -885,9 +896,10 @@ export namespace Warning { export interface GetDocumentAnalysisResponse { /** - *

                  The results of the text-analysis operation.

                  + *

                  Information about a document that Amazon Textract processed. DocumentMetadata is + * returned in every page of paginated responses from an Amazon Textract video operation.

                  */ - Blocks?: Block[]; + DocumentMetadata?: DocumentMetadata; /** *

                  The current status of the text detection job.

                  @@ -895,9 +907,15 @@ export interface GetDocumentAnalysisResponse { JobStatus?: JobStatus | string; /** - *

                  + *

                  If the response is truncated, Amazon Textract returns this token. You can use this token in + * the subsequent request to retrieve the next set of text detection results.

                  */ - AnalyzeDocumentModelVersion?: string; + NextToken?: string; + + /** + *

                  The results of the text-analysis operation.

                  + */ + Blocks?: Block[]; /** *

                  A list of warnings that occurred during the document-analysis operation.

                  @@ -910,16 +928,9 @@ export interface GetDocumentAnalysisResponse { StatusMessage?: string; /** - *

                  If the response is truncated, Amazon Textract returns this token. You can use this token in - * the subsequent request to retrieve the next set of text detection results.

                  - */ - NextToken?: string; - - /** - *

                  Information about a document that Amazon Textract processed. DocumentMetadata is - * returned in every page of paginated responses from an Amazon Textract video operation.

                  + *

                  */ - DocumentMetadata?: DocumentMetadata; + AnalyzeDocumentModelVersion?: string; } export namespace GetDocumentAnalysisResponse { @@ -952,18 +963,18 @@ export interface GetDocumentTextDetectionRequest { */ JobId: string | undefined; - /** - *

                  If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination - * token in the response. You can use this pagination token to retrieve the next set of blocks.

                  - */ - NextToken?: string; - /** *

                  The maximum number of results to return per paginated call. The largest value you can * specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is * returned. The default value is 1,000.

                  */ MaxResults?: number; + + /** + *

                  If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination + * token in the response. You can use this pagination token to retrieve the next set of blocks.

                  + */ + NextToken?: string; } export namespace GetDocumentTextDetectionRequest { @@ -973,11 +984,6 @@ export namespace GetDocumentTextDetectionRequest { } export interface GetDocumentTextDetectionResponse { - /** - *

                  - */ - DetectDocumentTextModelVersion?: string; - /** *

                  Information about a document that Amazon Textract processed. DocumentMetadata is * returned in every page of paginated responses from an Amazon Textract video operation.

                  @@ -985,15 +991,9 @@ export interface GetDocumentTextDetectionResponse { DocumentMetadata?: DocumentMetadata; /** - *

                  A list of warnings that occurred during the text-detection operation for the - * document.

                  - */ - Warnings?: Warning[]; - - /** - *

                  Returns if the detection job could not be completed. Contains explanation for what error occured.

                  + *

                  The current status of the text detection job.

                  */ - StatusMessage?: string; + JobStatus?: JobStatus | string; /** *

                  If the response is truncated, Amazon Textract returns this token. You can use this token in @@ -1002,14 +1002,25 @@ export interface GetDocumentTextDetectionResponse { NextToken?: string; /** - *

                  The current status of the text detection job.

                  + *

                  The results of the text-detection operation.

                  */ - JobStatus?: JobStatus | string; + Blocks?: Block[]; /** - *

                  The results of the text-detection operation.

                  + *

                  A list of warnings that occurred during the text-detection operation for the + * document.

                  */ - Blocks?: Block[]; + Warnings?: Warning[]; + + /** + *

                  Returns if the detection job could not be completed. Contains explanation for what error occured.

                  + */ + StatusMessage?: string; + + /** + *

                  + */ + DetectDocumentTextModelVersion?: string; } export namespace GetDocumentTextDetectionResponse { @@ -1036,6 +1047,23 @@ export namespace IdempotentParameterMismatchException { }); } +/** + *

                  Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key + * was entered incorrectly.

                  + */ +export interface InvalidKMSKeyException extends __SmithyException, $MetadataBearer { + name: "InvalidKMSKeyException"; + $fault: "client"; + Message?: string; + Code?: string; +} + +export namespace InvalidKMSKeyException { + export const filterSensitiveLog = (obj: InvalidKMSKeyException): any => ({ + ...obj, + }); +} + /** *

                  An Amazon Textract service limit was exceeded. For example, if you start too many * asynchronous jobs concurrently, calls to start operations @@ -1046,8 +1074,8 @@ export namespace IdempotentParameterMismatchException { export interface LimitExceededException extends __SmithyException, $MetadataBearer { name: "LimitExceededException"; $fault: "client"; - Code?: string; Message?: string; + Code?: string; } export namespace LimitExceededException { @@ -1104,15 +1132,19 @@ export namespace OutputConfig { export interface StartDocumentAnalysisRequest { /** - *

                  The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the - * operation to.

                  + *

                  The location of the document to be processed.

                  */ - NotificationChannel?: NotificationChannel; + DocumentLocation: DocumentLocation | undefined; /** - *

                  The location of the document to be processed.

                  + *

                  A list of the types of analysis to perform. Add TABLES to the list to return information + * about the tables that are detected in the input document. Add FORMS to return detected + * form data. To perform both types of analysis, add TABLES + * and FORMS to FeatureTypes. All lines and words detected in the document are + * included in the response (including text that isn't related to the value of + * FeatureTypes).

                  */ - DocumentLocation: DocumentLocation | undefined; + FeatureTypes: (FeatureType | string)[] | undefined; /** *

                  The idempotent token that you use to identify the start request. If you use the same @@ -1124,14 +1156,18 @@ export interface StartDocumentAnalysisRequest { ClientRequestToken?: string; /** - *

                  A list of the types of analysis to perform. Add TABLES to the list to return information - * about the tables that are detected in the input document. Add FORMS to return detected - * form data. To perform both types of analysis, add TABLES - * and FORMS to FeatureTypes. All lines and words detected in the document are - * included in the response (including text that isn't related to the value of - * FeatureTypes).

                  + *

                  An identifier that you specify that's included in the completion notification published + * to the Amazon SNS topic. For example, you can use JobTag to identify the type of + * document that the completion notification corresponds to (such as a tax form or a + * receipt).

                  */ - FeatureTypes: (FeatureType | string)[] | undefined; + JobTag?: string; + + /** + *

                  The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the + * operation to.

                  + */ + NotificationChannel?: NotificationChannel; /** *

                  Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save @@ -1140,12 +1176,13 @@ export interface StartDocumentAnalysisRequest { OutputConfig?: OutputConfig; /** - *

                  An identifier that you specify that's included in the completion notification published - * to the Amazon SNS topic. For example, you can use JobTag to identify the type of - * document that the completion notification corresponds to (such as a tax form or a - * receipt).

                  + *

                  The KMS key used to encrypt the inference results. This can be + * in either Key ID or Key Alias format. When a KMS key is provided, the + * KMS key will be used for server-side encryption of the objects in the + * customer bucket. When this parameter is not enabled, the result will + * be encrypted server side,using SSE-S3.

                  */ - JobTag?: string; + KMSKeyId?: string; } export namespace StartDocumentAnalysisRequest { @@ -1171,12 +1208,9 @@ export namespace StartDocumentAnalysisResponse { export interface StartDocumentTextDetectionRequest { /** - *

                  An identifier that you specify that's included in the completion notification published - * to the Amazon SNS topic. For example, you can use JobTag to identify the type of - * document that the completion notification corresponds to (such as a tax form or a - * receipt).

                  + *

                  The location of the document to be processed.

                  */ - JobTag?: string; + DocumentLocation: DocumentLocation | undefined; /** *

                  The idempotent token that's used to identify the start request. If you use the same @@ -1188,10 +1222,12 @@ export interface StartDocumentTextDetectionRequest { ClientRequestToken?: string; /** - *

                  Sets if the output will go to a customer defined bucket. By default Amazon Textract will - * save the results internally to be accessed with the GetDocumentTextDetection operation.

                  + *

                  An identifier that you specify that's included in the completion notification published + * to the Amazon SNS topic. For example, you can use JobTag to identify the type of + * document that the completion notification corresponds to (such as a tax form or a + * receipt).

                  */ - OutputConfig?: OutputConfig; + JobTag?: string; /** *

                  The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the @@ -1200,9 +1236,19 @@ export interface StartDocumentTextDetectionRequest { NotificationChannel?: NotificationChannel; /** - *

                  The location of the document to be processed.

                  + *

                  Sets if the output will go to a customer defined bucket. By default Amazon Textract will + * save the results internally to be accessed with the GetDocumentTextDetection operation.

                  */ - DocumentLocation: DocumentLocation | undefined; + OutputConfig?: OutputConfig; + + /** + *

                  The KMS key used to encrypt the inference results. This can be + * in either Key ID or Key Alias format. When a KMS key is provided, the + * KMS key will be used for server-side encryption of the objects in the + * customer bucket. When this parameter is not enabled, the result will + * be encrypted server side,using SSE-S3.

                  + */ + KMSKeyId?: string; } export namespace StartDocumentTextDetectionRequest { diff --git a/clients/client-textract/protocols/Aws_json1_1.ts b/clients/client-textract/protocols/Aws_json1_1.ts index 9f0484bda4ad..e0761e1ce2d8 100644 --- a/clients/client-textract/protocols/Aws_json1_1.ts +++ b/clients/client-textract/protocols/Aws_json1_1.ts @@ -44,6 +44,7 @@ import { IdempotentParameterMismatchException, InternalServerError, InvalidJobIdException, + InvalidKMSKeyException, InvalidParameterException, InvalidS3ObjectException, LimitExceededException, @@ -671,6 +672,14 @@ const deserializeAws_json1_1StartDocumentAnalysisCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "InvalidKMSKeyException": + case "com.amazonaws.textract#InvalidKMSKeyException": + response = { + ...(await deserializeAws_json1_1InvalidKMSKeyExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidParameterException": case "com.amazonaws.textract#InvalidParameterException": response = { @@ -806,6 +815,14 @@ const deserializeAws_json1_1StartDocumentTextDetectionCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "InvalidKMSKeyException": + case "com.amazonaws.textract#InvalidKMSKeyException": + response = { + ...(await deserializeAws_json1_1InvalidKMSKeyExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InvalidParameterException": case "com.amazonaws.textract#InvalidParameterException": response = { @@ -976,6 +993,21 @@ const deserializeAws_json1_1InvalidJobIdExceptionResponse = async ( return contents; }; +const deserializeAws_json1_1InvalidKMSKeyExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_1InvalidKMSKeyException(body, context); + const contents: InvalidKMSKeyException = { + name: "InvalidKMSKeyException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + const deserializeAws_json1_1InvalidParameterExceptionResponse = async ( parsedOutput: any, context: __SerdeContext @@ -1186,6 +1218,7 @@ const serializeAws_json1_1StartDocumentAnalysisRequest = ( FeatureTypes: serializeAws_json1_1FeatureTypes(input.FeatureTypes, context), }), ...(input.JobTag !== undefined && { JobTag: input.JobTag }), + ...(input.KMSKeyId !== undefined && { KMSKeyId: input.KMSKeyId }), ...(input.NotificationChannel !== undefined && { NotificationChannel: serializeAws_json1_1NotificationChannel(input.NotificationChannel, context), }), @@ -1205,6 +1238,7 @@ const serializeAws_json1_1StartDocumentTextDetectionRequest = ( DocumentLocation: serializeAws_json1_1DocumentLocation(input.DocumentLocation, context), }), ...(input.JobTag !== undefined && { JobTag: input.JobTag }), + ...(input.KMSKeyId !== undefined && { KMSKeyId: input.KMSKeyId }), ...(input.NotificationChannel !== undefined && { NotificationChannel: serializeAws_json1_1NotificationChannel(input.NotificationChannel, context), }), @@ -1277,6 +1311,7 @@ const deserializeAws_json1_1Block = (output: any, context: __SerdeContext): Bloc SelectionStatus: output.SelectionStatus !== undefined && output.SelectionStatus !== null ? output.SelectionStatus : undefined, Text: output.Text !== undefined && output.Text !== null ? output.Text : undefined, + TextType: output.TextType !== undefined && output.TextType !== null ? output.TextType : undefined, } as any; }; @@ -1465,6 +1500,13 @@ const deserializeAws_json1_1InvalidJobIdException = (output: any, context: __Ser } as any; }; +const deserializeAws_json1_1InvalidKMSKeyException = (output: any, context: __SerdeContext): InvalidKMSKeyException => { + return { + Code: output.Code !== undefined && output.Code !== null ? output.Code : undefined, + Message: output.Message !== undefined && output.Message !== null ? output.Message : undefined, + } as any; +}; + const deserializeAws_json1_1InvalidParameterException = ( output: any, context: __SerdeContext